@keystrokehq/mx_technologies 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/cancel-partner-account.cjs +3 -3
  4. package/dist/actions/cancel-partner-account.cjs.map +1 -1
  5. package/dist/actions/cancel-partner-account.d.cts +16 -3
  6. package/dist/actions/cancel-partner-account.d.cts.map +1 -1
  7. package/dist/actions/cancel-partner-account.d.mts +16 -3
  8. package/dist/actions/cancel-partner-account.d.mts.map +1 -1
  9. package/dist/actions/cancel-partner-account.mjs +3 -3
  10. package/dist/actions/cancel-partner-account.mjs.map +1 -1
  11. package/dist/actions/create-account.cjs.map +1 -1
  12. package/dist/actions/create-account.d.cts +68 -3
  13. package/dist/actions/create-account.d.cts.map +1 -1
  14. package/dist/actions/create-account.d.mts +68 -3
  15. package/dist/actions/create-account.d.mts.map +1 -1
  16. package/dist/actions/create-account.mjs.map +1 -1
  17. package/dist/actions/create-audience-api-credentials.cjs +2 -2
  18. package/dist/actions/create-audience-api-credentials.cjs.map +1 -1
  19. package/dist/actions/create-audience-api-credentials.d.cts +12 -3
  20. package/dist/actions/create-audience-api-credentials.d.cts.map +1 -1
  21. package/dist/actions/create-audience-api-credentials.d.mts +12 -3
  22. package/dist/actions/create-audience-api-credentials.d.mts.map +1 -1
  23. package/dist/actions/create-audience-api-credentials.mjs +2 -2
  24. package/dist/actions/create-audience-api-credentials.mjs.map +1 -1
  25. package/dist/actions/create-member.cjs +3 -3
  26. package/dist/actions/create-member.cjs.map +1 -1
  27. package/dist/actions/create-member.d.cts +54 -3
  28. package/dist/actions/create-member.d.cts.map +1 -1
  29. package/dist/actions/create-member.d.mts +54 -3
  30. package/dist/actions/create-member.d.mts.map +1 -1
  31. package/dist/actions/create-member.mjs +3 -3
  32. package/dist/actions/create-member.mjs.map +1 -1
  33. package/dist/actions/create-partner-account.cjs +2 -2
  34. package/dist/actions/create-partner-account.cjs.map +1 -1
  35. package/dist/actions/create-partner-account.d.cts +21 -3
  36. package/dist/actions/create-partner-account.d.cts.map +1 -1
  37. package/dist/actions/create-partner-account.d.mts +21 -3
  38. package/dist/actions/create-partner-account.d.mts.map +1 -1
  39. package/dist/actions/create-partner-account.mjs +2 -2
  40. package/dist/actions/create-partner-account.mjs.map +1 -1
  41. package/dist/actions/fetch-rewards.cjs.map +1 -1
  42. package/dist/actions/fetch-rewards.d.cts +29 -3
  43. package/dist/actions/fetch-rewards.d.cts.map +1 -1
  44. package/dist/actions/fetch-rewards.d.mts +29 -3
  45. package/dist/actions/fetch-rewards.d.mts.map +1 -1
  46. package/dist/actions/fetch-rewards.mjs.map +1 -1
  47. package/dist/actions/get-configurable-widget-url.cjs +1 -1
  48. package/dist/actions/get-configurable-widget-url.cjs.map +1 -1
  49. package/dist/actions/get-configurable-widget-url.d.cts +43 -3
  50. package/dist/actions/get-configurable-widget-url.d.cts.map +1 -1
  51. package/dist/actions/get-configurable-widget-url.d.mts +43 -3
  52. package/dist/actions/get-configurable-widget-url.d.mts.map +1 -1
  53. package/dist/actions/get-configurable-widget-url.mjs +1 -1
  54. package/dist/actions/get-configurable-widget-url.mjs.map +1 -1
  55. package/dist/actions/list-account-numbers-by-member.cjs +10 -10
  56. package/dist/actions/list-account-numbers-by-member.cjs.map +1 -1
  57. package/dist/actions/list-account-numbers-by-member.d.cts +34 -3
  58. package/dist/actions/list-account-numbers-by-member.d.cts.map +1 -1
  59. package/dist/actions/list-account-numbers-by-member.d.mts +34 -3
  60. package/dist/actions/list-account-numbers-by-member.d.mts.map +1 -1
  61. package/dist/actions/list-account-numbers-by-member.mjs +10 -10
  62. package/dist/actions/list-account-numbers-by-member.mjs.map +1 -1
  63. package/dist/actions/list-account-owners.cjs +8 -8
  64. package/dist/actions/list-account-owners.cjs.map +1 -1
  65. package/dist/actions/list-account-owners.d.cts +36 -3
  66. package/dist/actions/list-account-owners.d.cts.map +1 -1
  67. package/dist/actions/list-account-owners.d.mts +36 -3
  68. package/dist/actions/list-account-owners.d.mts.map +1 -1
  69. package/dist/actions/list-account-owners.mjs +8 -8
  70. package/dist/actions/list-account-owners.mjs.map +1 -1
  71. package/dist/actions/list-accounts.cjs +8 -8
  72. package/dist/actions/list-accounts.cjs.map +1 -1
  73. package/dist/actions/list-accounts.d.cts +44 -3
  74. package/dist/actions/list-accounts.d.cts.map +1 -1
  75. package/dist/actions/list-accounts.d.mts +44 -3
  76. package/dist/actions/list-accounts.d.mts.map +1 -1
  77. package/dist/actions/list-accounts.mjs +8 -8
  78. package/dist/actions/list-accounts.mjs.map +1 -1
  79. package/dist/actions/list-budgets.cjs +17 -17
  80. package/dist/actions/list-budgets.cjs.map +1 -1
  81. package/dist/actions/list-budgets.d.cts +36 -3
  82. package/dist/actions/list-budgets.d.cts.map +1 -1
  83. package/dist/actions/list-budgets.d.mts +36 -3
  84. package/dist/actions/list-budgets.d.mts.map +1 -1
  85. package/dist/actions/list-budgets.mjs +17 -17
  86. package/dist/actions/list-budgets.mjs.map +1 -1
  87. package/dist/actions/list-categories.cjs +8 -8
  88. package/dist/actions/list-categories.cjs.map +1 -1
  89. package/dist/actions/list-categories.d.cts +28 -3
  90. package/dist/actions/list-categories.d.cts.map +1 -1
  91. package/dist/actions/list-categories.d.mts +28 -3
  92. package/dist/actions/list-categories.d.mts.map +1 -1
  93. package/dist/actions/list-categories.mjs +8 -8
  94. package/dist/actions/list-categories.mjs.map +1 -1
  95. package/dist/actions/list-challenges.cjs +4 -4
  96. package/dist/actions/list-challenges.cjs.map +1 -1
  97. package/dist/actions/list-challenges.d.cts +29 -3
  98. package/dist/actions/list-challenges.d.cts.map +1 -1
  99. package/dist/actions/list-challenges.d.mts +29 -3
  100. package/dist/actions/list-challenges.d.mts.map +1 -1
  101. package/dist/actions/list-challenges.mjs +4 -4
  102. package/dist/actions/list-challenges.mjs.map +1 -1
  103. package/dist/actions/list-favorite-institutions.cjs +6 -6
  104. package/dist/actions/list-favorite-institutions.cjs.map +1 -1
  105. package/dist/actions/list-favorite-institutions.d.cts +35 -3
  106. package/dist/actions/list-favorite-institutions.d.cts.map +1 -1
  107. package/dist/actions/list-favorite-institutions.d.mts +35 -3
  108. package/dist/actions/list-favorite-institutions.d.mts.map +1 -1
  109. package/dist/actions/list-favorite-institutions.mjs +6 -6
  110. package/dist/actions/list-favorite-institutions.mjs.map +1 -1
  111. package/dist/actions/list-goals.cjs +4 -4
  112. package/dist/actions/list-goals.cjs.map +1 -1
  113. package/dist/actions/list-goals.d.cts +37 -3
  114. package/dist/actions/list-goals.d.cts.map +1 -1
  115. package/dist/actions/list-goals.d.mts +37 -3
  116. package/dist/actions/list-goals.d.mts.map +1 -1
  117. package/dist/actions/list-goals.mjs +4 -4
  118. package/dist/actions/list-goals.mjs.map +1 -1
  119. package/dist/actions/list-institution-credentials.cjs.map +1 -1
  120. package/dist/actions/list-institution-credentials.d.cts +25 -3
  121. package/dist/actions/list-institution-credentials.d.cts.map +1 -1
  122. package/dist/actions/list-institution-credentials.d.mts +25 -3
  123. package/dist/actions/list-institution-credentials.d.mts.map +1 -1
  124. package/dist/actions/list-institution-credentials.mjs.map +1 -1
  125. package/dist/actions/list-institutions.cjs +17 -17
  126. package/dist/actions/list-institutions.cjs.map +1 -1
  127. package/dist/actions/list-institutions.d.cts +45 -3
  128. package/dist/actions/list-institutions.d.cts.map +1 -1
  129. package/dist/actions/list-institutions.d.mts +45 -3
  130. package/dist/actions/list-institutions.d.mts.map +1 -1
  131. package/dist/actions/list-institutions.mjs +17 -17
  132. package/dist/actions/list-institutions.mjs.map +1 -1
  133. package/dist/actions/list-member-accounts.cjs +4 -4
  134. package/dist/actions/list-member-accounts.cjs.map +1 -1
  135. package/dist/actions/list-member-accounts.d.cts +57 -3
  136. package/dist/actions/list-member-accounts.d.cts.map +1 -1
  137. package/dist/actions/list-member-accounts.d.mts +57 -3
  138. package/dist/actions/list-member-accounts.d.mts.map +1 -1
  139. package/dist/actions/list-member-accounts.mjs +4 -4
  140. package/dist/actions/list-member-accounts.mjs.map +1 -1
  141. package/dist/actions/list-members.cjs +4 -4
  142. package/dist/actions/list-members.cjs.map +1 -1
  143. package/dist/actions/list-members.d.cts +47 -3
  144. package/dist/actions/list-members.d.cts.map +1 -1
  145. package/dist/actions/list-members.d.mts +47 -3
  146. package/dist/actions/list-members.d.mts.map +1 -1
  147. package/dist/actions/list-members.mjs +4 -4
  148. package/dist/actions/list-members.mjs.map +1 -1
  149. package/dist/actions/list-rewards.cjs +4 -4
  150. package/dist/actions/list-rewards.cjs.map +1 -1
  151. package/dist/actions/list-rewards.d.cts +32 -3
  152. package/dist/actions/list-rewards.d.cts.map +1 -1
  153. package/dist/actions/list-rewards.d.mts +32 -3
  154. package/dist/actions/list-rewards.d.mts.map +1 -1
  155. package/dist/actions/list-rewards.mjs +4 -4
  156. package/dist/actions/list-rewards.mjs.map +1 -1
  157. package/dist/actions/list-statements-by-member.cjs +4 -4
  158. package/dist/actions/list-statements-by-member.cjs.map +1 -1
  159. package/dist/actions/list-statements-by-member.d.cts +30 -3
  160. package/dist/actions/list-statements-by-member.d.cts.map +1 -1
  161. package/dist/actions/list-statements-by-member.d.mts +30 -3
  162. package/dist/actions/list-statements-by-member.d.mts.map +1 -1
  163. package/dist/actions/list-statements-by-member.mjs +4 -4
  164. package/dist/actions/list-statements-by-member.mjs.map +1 -1
  165. package/dist/actions/list-taggings.cjs +4 -4
  166. package/dist/actions/list-taggings.cjs.map +1 -1
  167. package/dist/actions/list-taggings.d.cts +25 -3
  168. package/dist/actions/list-taggings.d.cts.map +1 -1
  169. package/dist/actions/list-taggings.d.mts +25 -3
  170. package/dist/actions/list-taggings.d.mts.map +1 -1
  171. package/dist/actions/list-taggings.mjs +4 -4
  172. package/dist/actions/list-taggings.mjs.map +1 -1
  173. package/dist/actions/list-tags.cjs +4 -4
  174. package/dist/actions/list-tags.cjs.map +1 -1
  175. package/dist/actions/list-tags.d.cts +23 -3
  176. package/dist/actions/list-tags.d.cts.map +1 -1
  177. package/dist/actions/list-tags.d.mts +23 -3
  178. package/dist/actions/list-tags.d.mts.map +1 -1
  179. package/dist/actions/list-tags.mjs +4 -4
  180. package/dist/actions/list-tags.mjs.map +1 -1
  181. package/dist/actions/list-transactions-by-member.cjs +40 -40
  182. package/dist/actions/list-transactions-by-member.cjs.map +1 -1
  183. package/dist/actions/list-transactions-by-member.d.cts +108 -3
  184. package/dist/actions/list-transactions-by-member.d.cts.map +1 -1
  185. package/dist/actions/list-transactions-by-member.d.mts +108 -3
  186. package/dist/actions/list-transactions-by-member.d.mts.map +1 -1
  187. package/dist/actions/list-transactions-by-member.mjs +40 -40
  188. package/dist/actions/list-transactions-by-member.mjs.map +1 -1
  189. package/dist/actions/list-transactions.cjs +4 -4
  190. package/dist/actions/list-transactions.cjs.map +1 -1
  191. package/dist/actions/list-transactions.d.cts +107 -3
  192. package/dist/actions/list-transactions.d.cts.map +1 -1
  193. package/dist/actions/list-transactions.d.mts +107 -3
  194. package/dist/actions/list-transactions.d.mts.map +1 -1
  195. package/dist/actions/list-transactions.mjs +4 -4
  196. package/dist/actions/list-transactions.mjs.map +1 -1
  197. package/dist/actions/list-users.cjs +4 -4
  198. package/dist/actions/list-users.cjs.map +1 -1
  199. package/dist/actions/list-users.d.cts +43 -3
  200. package/dist/actions/list-users.d.cts.map +1 -1
  201. package/dist/actions/list-users.d.mts +43 -3
  202. package/dist/actions/list-users.d.mts.map +1 -1
  203. package/dist/actions/list-users.mjs +4 -4
  204. package/dist/actions/list-users.mjs.map +1 -1
  205. package/dist/actions/read-account.cjs +3 -3
  206. package/dist/actions/read-account.cjs.map +1 -1
  207. package/dist/actions/read-account.d.cts +52 -3
  208. package/dist/actions/read-account.d.cts.map +1 -1
  209. package/dist/actions/read-account.d.mts +52 -3
  210. package/dist/actions/read-account.d.mts.map +1 -1
  211. package/dist/actions/read-account.mjs +3 -3
  212. package/dist/actions/read-account.mjs.map +1 -1
  213. package/dist/actions/read-category.cjs +4 -4
  214. package/dist/actions/read-category.cjs.map +1 -1
  215. package/dist/actions/read-category.d.cts +16 -3
  216. package/dist/actions/read-category.d.cts.map +1 -1
  217. package/dist/actions/read-category.d.mts +16 -3
  218. package/dist/actions/read-category.d.mts.map +1 -1
  219. package/dist/actions/read-category.mjs +4 -4
  220. package/dist/actions/read-category.mjs.map +1 -1
  221. package/dist/actions/read-fdx-account.cjs.map +1 -1
  222. package/dist/actions/read-fdx-account.d.cts +30 -3
  223. package/dist/actions/read-fdx-account.d.cts.map +1 -1
  224. package/dist/actions/read-fdx-account.d.mts +30 -3
  225. package/dist/actions/read-fdx-account.d.mts.map +1 -1
  226. package/dist/actions/read-fdx-account.mjs.map +1 -1
  227. package/dist/actions/read-institution.cjs.map +1 -1
  228. package/dist/actions/read-institution.d.cts +26 -3
  229. package/dist/actions/read-institution.d.cts.map +1 -1
  230. package/dist/actions/read-institution.d.mts +26 -3
  231. package/dist/actions/read-institution.d.mts.map +1 -1
  232. package/dist/actions/read-institution.mjs.map +1 -1
  233. package/dist/actions/read-transaction-by-account.cjs.map +1 -1
  234. package/dist/actions/read-transaction-by-account.d.cts +91 -3
  235. package/dist/actions/read-transaction-by-account.d.cts.map +1 -1
  236. package/dist/actions/read-transaction-by-account.d.mts +91 -3
  237. package/dist/actions/read-transaction-by-account.d.mts.map +1 -1
  238. package/dist/actions/read-transaction-by-account.mjs.map +1 -1
  239. package/dist/actions/read-transaction-rule.cjs.map +1 -1
  240. package/dist/actions/read-transaction-rule.d.cts +19 -3
  241. package/dist/actions/read-transaction-rule.d.cts.map +1 -1
  242. package/dist/actions/read-transaction-rule.d.mts +19 -3
  243. package/dist/actions/read-transaction-rule.d.mts.map +1 -1
  244. package/dist/actions/read-transaction-rule.mjs.map +1 -1
  245. package/dist/actions/read-transaction.cjs.map +1 -1
  246. package/dist/actions/read-transaction.d.cts +55 -3
  247. package/dist/actions/read-transaction.d.cts.map +1 -1
  248. package/dist/actions/read-transaction.d.mts +55 -3
  249. package/dist/actions/read-transaction.d.mts.map +1 -1
  250. package/dist/actions/read-transaction.mjs.map +1 -1
  251. package/dist/actions/update-transaction-rules.cjs.map +1 -1
  252. package/dist/actions/update-transaction-rules.d.cts +29 -3
  253. package/dist/actions/update-transaction-rules.d.cts.map +1 -1
  254. package/dist/actions/update-transaction-rules.d.mts +29 -3
  255. package/dist/actions/update-transaction-rules.d.mts.map +1 -1
  256. package/dist/actions/update-transaction-rules.mjs.map +1 -1
  257. package/dist/actions/update-transaction.cjs.map +1 -1
  258. package/dist/actions/update-transaction.d.cts +74 -3
  259. package/dist/actions/update-transaction.d.cts.map +1 -1
  260. package/dist/actions/update-transaction.d.mts +74 -3
  261. package/dist/actions/update-transaction.d.mts.map +1 -1
  262. package/dist/actions/update-transaction.mjs.map +1 -1
  263. package/dist/actions/update-users-taggings.cjs.map +1 -1
  264. package/dist/actions/update-users-taggings.d.cts +23 -3
  265. package/dist/actions/update-users-taggings.d.cts.map +1 -1
  266. package/dist/actions/update-users-taggings.d.mts +23 -3
  267. package/dist/actions/update-users-taggings.d.mts.map +1 -1
  268. package/dist/actions/update-users-taggings.mjs.map +1 -1
  269. package/dist/catalog.cjs +13 -1
  270. package/dist/catalog.cjs.map +1 -1
  271. package/dist/catalog.d.cts +12 -0
  272. package/dist/catalog.d.mts +12 -0
  273. package/dist/catalog.mjs +13 -1
  274. package/dist/catalog.mjs.map +1 -1
  275. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-member.cjs","names":["z","action"],"sources":["../../src/actions/create-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateMemberInput: z.ZodTypeAny = z.object({\n member: z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the member. If not provided, MX generates one.\").optional(),\n is_oauth: z.boolean().describe(\"Set to true for OAuth-based connections. When true, credentials are not required and oauth_window_uri will be returned.\").optional(),\n metadata: z.string().describe(\"Free-form string metadata to store with the member (max 256 characters).\").optional(),\n credentials: z.array(z.object({\n guid: z.string().describe(\"Credential GUID obtained from the List Institution Credentials endpoint (e.g., 'CRD-1ec152cd-e628-ac04-c4f0-f09a32b7c982').\"),\n value: z.string().describe(\"End-user's credential value (e.g., username or password). For MX Bank test institution, use 'mxuser' for LOGIN and 'password' for PASSWORD.\"),\n}).describe(\"Institution credential for non-OAuth member connections.\")).describe(\"List of credential objects for non-OAuth members. Each credential has a 'guid' (from List Institution Credentials) and 'value' (user input). Required unless is_oauth=true.\").optional(),\n institution_code: z.string().describe(\"MX institution code identifying the financial institution (e.g., 'mxbank' for test, or real codes like 'chase', 'wells_fargo'). Obtain from List Institutions endpoint.\"),\n skip_aggregation: z.boolean().describe(\"If true, skip the automatic aggregation that normally starts when member is created.\").optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"If true, disable background aggregation for this member.\").optional(),\n}).describe(\"Member creation payload containing institution_code and credentials (for non-OAuth) or is_oauth flag (for OAuth flows).\"),\n user_guid: z.string().describe(\"The MX user GUID prefixed with 'USR-' (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54'). Obtain from List Users or Create User endpoints.\"),\n x_callback_payload: z.string().describe(\"Base64-encoded payload to echo in member webhooks (max 1024 characters). Sent as X-CALLBACK-PAYLOAD header.\").optional(),\n client_redirect_url: z.string().describe(\"URL for OAuth redirect after authentication completes. Required for OAuth members.\").optional(),\n}).describe(\"Request schema for creating a member (connection between user and financial institution).\");\nconst MxTechnologiesCreateMember_MemberResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Partner-defined member identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b').\"),\n name: z.string().describe(\"Name of the member/institution connection.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user ID, if available.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether this is an OAuth-based connection.\").nullable().optional(),\n metadata: z.string().describe(\"Free-form metadata stored with the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether the member was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"GUID of the user this member belongs to.\"),\n aggregated_at: z.string().describe(\"ISO 8601 timestamp of last aggregation attempt.\").nullable().optional(),\n institution_code: z.string().describe(\"Code of the connected financial institution.\"),\n oauth_window_uri: z.string().describe(\"URI for OAuth authentication window. Present only for OAuth members.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status code (e.g., 'CONNECTED', 'CHALLENGED', 'DENIED').\").nullable().optional(),\n is_managed_by_user: z.boolean().describe(\"Whether the member is managed by the user.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"ISO 8601 timestamp of last successful aggregation.\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled for this member.\").nullable().optional(),\n}).describe(\"Response schema for a member object returned by the MX API.\");\nexport const MxTechnologiesCreateMemberOutput: z.ZodTypeAny = z.object({\n member: MxTechnologiesCreateMember_MemberResponseSchema.nullable(),\n}).describe(\"Response schema for CREATE_MEMBER action containing the newly created member.\");\n\nexport const mxTechnologiesCreateMember = action(\"MX_TECHNOLOGIES_CREATE_MEMBER\", {\n slug: \"mx_technologies-create-member\",\n name: \"Create member\",\n description: \"Create a member to connect a user to a financial institution. A member represents the relationship between an MX user and a financial institution. For non-OAuth institutions, provide credentials obtained from List Institution Credentials. For OAuth institutions, set is_oauth=true and use the returned oauth_window_uri. Prerequisites: - user_guid from List Users or Create User - institution_code from List Institutions - credentials from List Institution Credentials (for non-OAuth) Test credentials for MX Bank (mxbank): username='mxuser', password='password'\",\n input: MxTechnologiesCreateMemberInput,\n output: MxTechnologiesCreateMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO;EACjB,IAAIA,IAAAA,EA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AAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,QAAQ,gDAAgD,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-member.cjs","names":["z","action"],"sources":["../../src/actions/create-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateMemberInput = z.object({\n member: z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the member. If not provided, MX generates one.\").optional(),\n is_oauth: z.boolean().describe(\"Set to true for OAuth-based connections. When true, credentials are not required and oauth_window_uri will be returned.\").optional(),\n metadata: z.string().describe(\"Free-form string metadata to store with the member (max 256 characters).\").optional(),\n credentials: z.array(z.object({\n guid: z.string().describe(\"Credential GUID obtained from the List Institution Credentials endpoint (e.g., 'CRD-1ec152cd-e628-ac04-c4f0-f09a32b7c982').\"),\n value: z.string().describe(\"End-user's credential value (e.g., username or password). For MX Bank test institution, use 'mxuser' for LOGIN and 'password' for PASSWORD.\"),\n}).describe(\"Institution credential for non-OAuth member connections.\")).describe(\"List of credential objects for non-OAuth members. Each credential has a 'guid' (from List Institution Credentials) and 'value' (user input). Required unless is_oauth=true.\").optional(),\n institution_code: z.string().describe(\"MX institution code identifying the financial institution (e.g., 'mxbank' for test, or real codes like 'chase', 'wells_fargo'). Obtain from List Institutions endpoint.\"),\n skip_aggregation: z.boolean().describe(\"If true, skip the automatic aggregation that normally starts when member is created.\").optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"If true, disable background aggregation for this member.\").optional(),\n}).describe(\"Member creation payload containing institution_code and credentials (for non-OAuth) or is_oauth flag (for OAuth flows).\"),\n user_guid: z.string().describe(\"The MX user GUID prefixed with 'USR-' (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54'). Obtain from List Users or Create User endpoints.\"),\n x_callback_payload: z.string().describe(\"Base64-encoded payload to echo in member webhooks (max 1024 characters). Sent as X-CALLBACK-PAYLOAD header.\").optional(),\n client_redirect_url: z.string().describe(\"URL for OAuth redirect after authentication completes. Required for OAuth members.\").optional(),\n}).describe(\"Request schema for creating a member (connection between user and financial institution).\");\nconst MxTechnologiesCreateMember_MemberResponseSchema = z.object({\n id: z.string().describe(\"Partner-defined member identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b').\").nullable(),\n name: z.string().describe(\"Name of the member/institution connection.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user ID, if available.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether this is an OAuth-based connection.\").nullable().optional(),\n metadata: z.string().describe(\"Free-form metadata stored with the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether the member was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"GUID of the user this member belongs to.\").nullable(),\n aggregated_at: z.string().describe(\"ISO 8601 timestamp of last aggregation attempt.\").nullable().optional(),\n institution_code: z.string().describe(\"Code of the connected financial institution.\").nullable(),\n oauth_window_uri: z.string().describe(\"URI for OAuth authentication window. Present only for OAuth members.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status code (e.g., 'CONNECTED', 'CHALLENGED', 'DENIED').\").nullable().optional(),\n is_managed_by_user: z.boolean().describe(\"Whether the member is managed by the user.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"ISO 8601 timestamp of last successful aggregation.\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled for this member.\").nullable().optional(),\n}).describe(\"Response schema for a member object returned by the MX API.\");\nexport const MxTechnologiesCreateMemberOutput = z.object({\n member: MxTechnologiesCreateMember_MemberResponseSchema.nullable(),\n}).describe(\"Response schema for CREATE_MEMBER action containing the newly created member.\");\n\nexport const mxTechnologiesCreateMember = action(\"MX_TECHNOLOGIES_CREATE_MEMBER\", {\n slug: \"mx_technologies-create-member\",\n name: \"Create member\",\n description: \"Create a member to connect a user to a financial institution. A member represents the relationship between an MX user and a financial institution. For non-OAuth institutions, provide credentials obtained from List Institution Credentials. For OAuth institutions, set is_oauth=true and use the returned oauth_window_uri. Prerequisites: - user_guid from List Users or Create User - institution_code from List Institutions - credentials from List Institution Credentials (for non-OAuth) Test credentials for MX Bank (mxbank): username='mxuser', password='password'\",\n input: MxTechnologiesCreateMemberInput,\n output: MxTechnologiesCreateMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO;EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EACnK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACnH,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAC9B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;GACvJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;EAC1K,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EACxQ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;EAC/M,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACxI,oCAAoCA,IAAAA,EAAE,QAAQ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,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,oCAAoCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQ,gDAAgD,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,60 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-member.d.ts
4
- declare const MxTechnologiesCreateMemberInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCreateMemberOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCreateMember: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCreateMemberInput: z.ZodObject<{
5
+ member: z.ZodObject<{
6
+ id: z.ZodOptional<z.ZodString>;
7
+ is_oauth: z.ZodOptional<z.ZodBoolean>;
8
+ metadata: z.ZodOptional<z.ZodString>;
9
+ credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
10
+ guid: z.ZodString;
11
+ value: z.ZodString;
12
+ }, z.core.$strip>>>;
13
+ institution_code: z.ZodString;
14
+ skip_aggregation: z.ZodOptional<z.ZodBoolean>;
15
+ background_aggregation_is_disabled: z.ZodOptional<z.ZodBoolean>;
16
+ }, z.core.$strip>;
17
+ user_guid: z.ZodString;
18
+ x_callback_payload: z.ZodOptional<z.ZodString>;
19
+ client_redirect_url: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ declare const MxTechnologiesCreateMemberOutput: z.ZodObject<{
22
+ member: z.ZodNullable<z.ZodObject<{
23
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ guid: z.ZodNullable<z.ZodString>;
25
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ is_oauth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30
+ user_guid: z.ZodNullable<z.ZodString>;
31
+ aggregated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ institution_code: z.ZodNullable<z.ZodString>;
33
+ oauth_window_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ is_being_aggregated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ successfully_aggregated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ background_aggregation_is_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
+ }, z.core.$strip>>;
40
+ }, z.core.$strip>;
41
+ declare const mxTechnologiesCreateMember: import("@keystrokehq/action").WorkflowActionDefinition<{
42
+ member: {
43
+ institution_code: string;
44
+ id?: string | undefined;
45
+ is_oauth?: boolean | undefined;
46
+ metadata?: string | undefined;
47
+ credentials?: {
48
+ guid: string;
49
+ value: string;
50
+ }[] | undefined;
51
+ skip_aggregation?: boolean | undefined;
52
+ background_aggregation_is_disabled?: boolean | undefined;
53
+ };
54
+ user_guid: string;
55
+ x_callback_payload?: string | undefined;
56
+ client_redirect_url?: string | undefined;
57
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
58
  //#endregion
8
59
  export { mxTechnologiesCreateMember };
9
60
  //# sourceMappingURL=create-member.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-member.d.cts","names":[],"sources":["../../src/actions/create-member.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAgBwD;AAAA,cAmB3F,gCAAA,EAAkC,CAAA,CAAE,UAE2C;AAAA,cAE/E,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-member.d.cts","names":[],"sources":["../../src/actions/create-member.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,60 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-member.d.ts
4
- declare const MxTechnologiesCreateMemberInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCreateMemberOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCreateMember: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCreateMemberInput: z.ZodObject<{
5
+ member: z.ZodObject<{
6
+ id: z.ZodOptional<z.ZodString>;
7
+ is_oauth: z.ZodOptional<z.ZodBoolean>;
8
+ metadata: z.ZodOptional<z.ZodString>;
9
+ credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
10
+ guid: z.ZodString;
11
+ value: z.ZodString;
12
+ }, z.core.$strip>>>;
13
+ institution_code: z.ZodString;
14
+ skip_aggregation: z.ZodOptional<z.ZodBoolean>;
15
+ background_aggregation_is_disabled: z.ZodOptional<z.ZodBoolean>;
16
+ }, z.core.$strip>;
17
+ user_guid: z.ZodString;
18
+ x_callback_payload: z.ZodOptional<z.ZodString>;
19
+ client_redirect_url: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ declare const MxTechnologiesCreateMemberOutput: z.ZodObject<{
22
+ member: z.ZodNullable<z.ZodObject<{
23
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ guid: z.ZodNullable<z.ZodString>;
25
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ is_oauth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30
+ user_guid: z.ZodNullable<z.ZodString>;
31
+ aggregated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ institution_code: z.ZodNullable<z.ZodString>;
33
+ oauth_window_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ is_being_aggregated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ successfully_aggregated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ background_aggregation_is_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
+ }, z.core.$strip>>;
40
+ }, z.core.$strip>;
41
+ declare const mxTechnologiesCreateMember: import("@keystrokehq/action").WorkflowActionDefinition<{
42
+ member: {
43
+ institution_code: string;
44
+ id?: string | undefined;
45
+ is_oauth?: boolean | undefined;
46
+ metadata?: string | undefined;
47
+ credentials?: {
48
+ guid: string;
49
+ value: string;
50
+ }[] | undefined;
51
+ skip_aggregation?: boolean | undefined;
52
+ background_aggregation_is_disabled?: boolean | undefined;
53
+ };
54
+ user_guid: string;
55
+ x_callback_payload?: string | undefined;
56
+ client_redirect_url?: string | undefined;
57
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
58
  //#endregion
8
59
  export { mxTechnologiesCreateMember };
9
60
  //# sourceMappingURL=create-member.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-member.d.mts","names":[],"sources":["../../src/actions/create-member.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAgBwD;AAAA,cAmB3F,gCAAA,EAAkC,CAAA,CAAE,UAE2C;AAAA,cAE/E,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-member.d.mts","names":[],"sources":["../../src/actions/create-member.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -20,15 +20,15 @@ const MxTechnologiesCreateMemberInput = z.object({
20
20
  }).describe("Request schema for creating a member (connection between user and financial institution).");
21
21
  const MxTechnologiesCreateMember_MemberResponseSchema = z.object({
22
22
  id: z.string().describe("Partner-defined member identifier, if provided during creation.").nullable().optional(),
23
- guid: z.string().describe("MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b')."),
23
+ guid: z.string().describe("MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b').").nullable(),
24
24
  name: z.string().describe("Name of the member/institution connection.").nullable().optional(),
25
25
  user_id: z.string().describe("Partner-defined user ID, if available.").nullable().optional(),
26
26
  is_oauth: z.boolean().describe("Whether this is an OAuth-based connection.").nullable().optional(),
27
27
  metadata: z.string().describe("Free-form metadata stored with the member.").nullable().optional(),
28
28
  is_manual: z.boolean().describe("Whether the member was manually created.").nullable().optional(),
29
- user_guid: z.string().describe("GUID of the user this member belongs to."),
29
+ user_guid: z.string().describe("GUID of the user this member belongs to.").nullable(),
30
30
  aggregated_at: z.string().describe("ISO 8601 timestamp of last aggregation attempt.").nullable().optional(),
31
- institution_code: z.string().describe("Code of the connected financial institution."),
31
+ institution_code: z.string().describe("Code of the connected financial institution.").nullable(),
32
32
  oauth_window_uri: z.string().describe("URI for OAuth authentication window. Present only for OAuth members.").nullable().optional(),
33
33
  connection_status: z.string().describe("Current connection status code (e.g., 'CONNECTED', 'CHALLENGED', 'DENIED').").nullable().optional(),
34
34
  is_managed_by_user: z.boolean().describe("Whether the member is managed by the user.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"create-member.mjs","names":[],"sources":["../../src/actions/create-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateMemberInput: z.ZodTypeAny = z.object({\n member: z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the member. If not provided, MX generates one.\").optional(),\n is_oauth: z.boolean().describe(\"Set to true for OAuth-based connections. When true, credentials are not required and oauth_window_uri will be returned.\").optional(),\n metadata: z.string().describe(\"Free-form string metadata to store with the member (max 256 characters).\").optional(),\n credentials: z.array(z.object({\n guid: z.string().describe(\"Credential GUID obtained from the List Institution Credentials endpoint (e.g., 'CRD-1ec152cd-e628-ac04-c4f0-f09a32b7c982').\"),\n value: z.string().describe(\"End-user's credential value (e.g., username or password). For MX Bank test institution, use 'mxuser' for LOGIN and 'password' for PASSWORD.\"),\n}).describe(\"Institution credential for non-OAuth member connections.\")).describe(\"List of credential objects for non-OAuth members. Each credential has a 'guid' (from List Institution Credentials) and 'value' (user input). Required unless is_oauth=true.\").optional(),\n institution_code: z.string().describe(\"MX institution code identifying the financial institution (e.g., 'mxbank' for test, or real codes like 'chase', 'wells_fargo'). Obtain from List Institutions endpoint.\"),\n skip_aggregation: z.boolean().describe(\"If true, skip the automatic aggregation that normally starts when member is created.\").optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"If true, disable background aggregation for this member.\").optional(),\n}).describe(\"Member creation payload containing institution_code and credentials (for non-OAuth) or is_oauth flag (for OAuth flows).\"),\n user_guid: z.string().describe(\"The MX user GUID prefixed with 'USR-' (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54'). Obtain from List Users or Create User endpoints.\"),\n x_callback_payload: z.string().describe(\"Base64-encoded payload to echo in member webhooks (max 1024 characters). Sent as X-CALLBACK-PAYLOAD header.\").optional(),\n client_redirect_url: z.string().describe(\"URL for OAuth redirect after authentication completes. Required for OAuth members.\").optional(),\n}).describe(\"Request schema for creating a member (connection between user and financial institution).\");\nconst MxTechnologiesCreateMember_MemberResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Partner-defined member identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b').\"),\n name: z.string().describe(\"Name of the member/institution connection.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user ID, if available.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether this is an OAuth-based connection.\").nullable().optional(),\n metadata: z.string().describe(\"Free-form metadata stored with the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether the member was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"GUID of the user this member belongs to.\"),\n aggregated_at: z.string().describe(\"ISO 8601 timestamp of last aggregation attempt.\").nullable().optional(),\n institution_code: z.string().describe(\"Code of the connected financial institution.\"),\n oauth_window_uri: z.string().describe(\"URI for OAuth authentication window. Present only for OAuth members.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status code (e.g., 'CONNECTED', 'CHALLENGED', 'DENIED').\").nullable().optional(),\n is_managed_by_user: z.boolean().describe(\"Whether the member is managed by the user.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"ISO 8601 timestamp of last successful aggregation.\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled for this member.\").nullable().optional(),\n}).describe(\"Response schema for a member object returned by the MX API.\");\nexport const MxTechnologiesCreateMemberOutput: z.ZodTypeAny = z.object({\n member: MxTechnologiesCreateMember_MemberResponseSchema.nullable(),\n}).describe(\"Response schema for CREATE_MEMBER action containing the newly created member.\");\n\nexport const mxTechnologiesCreateMember = action(\"MX_TECHNOLOGIES_CREATE_MEMBER\", {\n slug: \"mx_technologies-create-member\",\n name: \"Create member\",\n description: \"Create a member to connect a user to a financial institution. A member represents the relationship between an MX user and a financial institution. For non-OAuth institutions, provide credentials obtained from List Institution Credentials. For OAuth institutions, set is_oauth=true and use the returned oauth_window_uri. Prerequisites: - user_guid from List Users or Create User - institution_code from List Institutions - credentials from List Institution Credentials (for non-OAuth) Test credentials for MX Bank (mxbank): username='mxuser', password='password'\",\n input: MxTechnologiesCreateMemberInput,\n output: MxTechnologiesCreateMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,QAAQ,EAAE,OAAO;EACjB,IAAI,EAAE,OAAO,CAA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create-member.mjs","names":[],"sources":["../../src/actions/create-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateMemberInput = z.object({\n member: z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the member. If not provided, MX generates one.\").optional(),\n is_oauth: z.boolean().describe(\"Set to true for OAuth-based connections. When true, credentials are not required and oauth_window_uri will be returned.\").optional(),\n metadata: z.string().describe(\"Free-form string metadata to store with the member (max 256 characters).\").optional(),\n credentials: z.array(z.object({\n guid: z.string().describe(\"Credential GUID obtained from the List Institution Credentials endpoint (e.g., 'CRD-1ec152cd-e628-ac04-c4f0-f09a32b7c982').\"),\n value: z.string().describe(\"End-user's credential value (e.g., username or password). For MX Bank test institution, use 'mxuser' for LOGIN and 'password' for PASSWORD.\"),\n}).describe(\"Institution credential for non-OAuth member connections.\")).describe(\"List of credential objects for non-OAuth members. Each credential has a 'guid' (from List Institution Credentials) and 'value' (user input). Required unless is_oauth=true.\").optional(),\n institution_code: z.string().describe(\"MX institution code identifying the financial institution (e.g., 'mxbank' for test, or real codes like 'chase', 'wells_fargo'). Obtain from List Institutions endpoint.\"),\n skip_aggregation: z.boolean().describe(\"If true, skip the automatic aggregation that normally starts when member is created.\").optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"If true, disable background aggregation for this member.\").optional(),\n}).describe(\"Member creation payload containing institution_code and credentials (for non-OAuth) or is_oauth flag (for OAuth flows).\"),\n user_guid: z.string().describe(\"The MX user GUID prefixed with 'USR-' (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54'). Obtain from List Users or Create User endpoints.\"),\n x_callback_payload: z.string().describe(\"Base64-encoded payload to echo in member webhooks (max 1024 characters). Sent as X-CALLBACK-PAYLOAD header.\").optional(),\n client_redirect_url: z.string().describe(\"URL for OAuth redirect after authentication completes. Required for OAuth members.\").optional(),\n}).describe(\"Request schema for creating a member (connection between user and financial institution).\");\nconst MxTechnologiesCreateMember_MemberResponseSchema = z.object({\n id: z.string().describe(\"Partner-defined member identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b').\").nullable(),\n name: z.string().describe(\"Name of the member/institution connection.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user ID, if available.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether this is an OAuth-based connection.\").nullable().optional(),\n metadata: z.string().describe(\"Free-form metadata stored with the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether the member was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"GUID of the user this member belongs to.\").nullable(),\n aggregated_at: z.string().describe(\"ISO 8601 timestamp of last aggregation attempt.\").nullable().optional(),\n institution_code: z.string().describe(\"Code of the connected financial institution.\").nullable(),\n oauth_window_uri: z.string().describe(\"URI for OAuth authentication window. Present only for OAuth members.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status code (e.g., 'CONNECTED', 'CHALLENGED', 'DENIED').\").nullable().optional(),\n is_managed_by_user: z.boolean().describe(\"Whether the member is managed by the user.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"ISO 8601 timestamp of last successful aggregation.\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled for this member.\").nullable().optional(),\n}).describe(\"Response schema for a member object returned by the MX API.\");\nexport const MxTechnologiesCreateMemberOutput = z.object({\n member: MxTechnologiesCreateMember_MemberResponseSchema.nullable(),\n}).describe(\"Response schema for CREATE_MEMBER action containing the newly created member.\");\n\nexport const mxTechnologiesCreateMember = action(\"MX_TECHNOLOGIES_CREATE_MEMBER\", {\n slug: \"mx_technologies-create-member\",\n name: \"Create member\",\n description: \"Create a member to connect a user to a financial institution. A member represents the relationship between an MX user and a financial institution. For non-OAuth institutions, provide credentials obtained from List Institution Credentials. For OAuth institutions, set is_oauth=true and use the returned oauth_window_uri. Prerequisites: - user_guid from List Users or Create User - institution_code from List Institutions - credentials from List Institution Credentials (for non-OAuth) Test credentials for MX Bank (mxbank): username='mxuser', password='password'\",\n input: MxTechnologiesCreateMemberInput,\n output: MxTechnologiesCreateMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO;EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EACnK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACnH,aAAa,EAAE,MAAM,EAAE,OAAO;GAC9B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;GACvJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;EAC1K,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EACxQ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;EAC/M,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACxI,oCAAoC,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,SAAS,yHAAyH;CACnI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CAC3K,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAChK,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAi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oCAAoC,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAKzE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,gDAAgD,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
@@ -9,10 +9,10 @@ const MxTechnologiesCreatePartnerAccountInput = zod.z.object({
9
9
  }).describe("Request schema for creating a new user (partner account) in MX.");
10
10
  const MxTechnologiesCreatePartnerAccount_UserResponseSchema = zod.z.object({
11
11
  id: zod.z.string().describe("Partner-defined identifier, if provided during creation.").nullable().optional(),
12
- guid: zod.z.string().describe("MX-generated unique identifier for the user (starts with 'USR-')."),
12
+ guid: zod.z.string().describe("MX-generated unique identifier for the user (starts with 'USR-').").nullable(),
13
13
  email: zod.z.string().describe("User's email address.").nullable().optional(),
14
14
  metadata: zod.z.string().describe("Custom metadata stored with the user.").nullable().optional(),
15
- is_disabled: zod.z.boolean().describe("Whether the user account is disabled.")
15
+ is_disabled: zod.z.boolean().describe("Whether the user account is disabled.").nullable()
16
16
  }).describe("User object returned by MX API.");
17
17
  const MxTechnologiesCreatePartnerAccountOutput = zod.z.object({ user: MxTechnologiesCreatePartnerAccount_UserResponseSchema.nullable() }).describe("Response schema for creating a new user (partner account) in MX.");
18
18
  const mxTechnologiesCreatePartnerAccount = require_action.action("MX_TECHNOLOGIES_CREATE_PARTNER_ACCOUNT", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-partner-account.cjs","names":["z","action"],"sources":["../../src/actions/create-partner-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreatePartnerAccountInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the user. Use this to map between your system and MX. If not provided, MX will generate a GUID.\").optional(),\n email: z.string().describe(\"Email address for the user. Used for identification and communication.\").optional(),\n metadata: z.string().describe(\"Custom metadata as a JSON string. Store additional user info like creation date, name, or custom fields. Do not include sensitive information.\").optional(),\n is_disabled: z.boolean().describe(\"Set to true to create the user in a disabled state. Defaults to false.\").optional(),\n}).describe(\"Request schema for creating a new user (partner account) in MX.\");\nconst MxTechnologiesCreatePartnerAccount_UserResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Partner-defined identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the user (starts with 'USR-').\"),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored with the user.\").nullable().optional(),\n is_disabled: z.boolean().describe(\"Whether the user account is disabled.\"),\n}).describe(\"User object returned by MX API.\");\nexport const MxTechnologiesCreatePartnerAccountOutput: z.ZodTypeAny = z.object({\n user: MxTechnologiesCreatePartnerAccount_UserResponseSchema.nullable(),\n}).describe(\"Response schema for creating a new user (partner account) in MX.\");\n\nexport const mxTechnologiesCreatePartnerAccount = action(\"MX_TECHNOLOGIES_CREATE_PARTNER_ACCOUNT\", {\n slug: \"mx_technologies-create-partner-account\",\n name: \"Create Partner Account\",\n description: \"Create a new user (partner account) in the MX Platform. Users represent end-users in your application and are required before creating members, accounts, or accessing financial data. Use this tool to provision a new user record in MX.\",\n input: MxTechnologiesCreatePartnerAccountInput,\n output: MxTechnologiesCreatePartnerAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC1K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACzL,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;AAC3E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,2CAAyDA,IAAAA,EAAE,OAAO,EAC7E,MAAM,sDAAsD,SAAS,EACvE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-partner-account.cjs","names":["z","action"],"sources":["../../src/actions/create-partner-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreatePartnerAccountInput = z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the user. Use this to map between your system and MX. If not provided, MX will generate a GUID.\").optional(),\n email: z.string().describe(\"Email address for the user. Used for identification and communication.\").optional(),\n metadata: z.string().describe(\"Custom metadata as a JSON string. Store additional user info like creation date, name, or custom fields. Do not include sensitive information.\").optional(),\n is_disabled: z.boolean().describe(\"Set to true to create the user in a disabled state. Defaults to false.\").optional(),\n}).describe(\"Request schema for creating a new user (partner account) in MX.\");\nconst MxTechnologiesCreatePartnerAccount_UserResponseSchema = z.object({\n id: z.string().describe(\"Partner-defined identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the user (starts with 'USR-').\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored with the user.\").nullable().optional(),\n is_disabled: z.boolean().describe(\"Whether the user account is disabled.\").nullable(),\n}).describe(\"User object returned by MX API.\");\nexport const MxTechnologiesCreatePartnerAccountOutput = z.object({\n user: MxTechnologiesCreatePartnerAccount_UserResponseSchema.nullable(),\n}).describe(\"Response schema for creating a new user (partner account) in MX.\");\n\nexport const mxTechnologiesCreatePartnerAccount = action(\"MX_TECHNOLOGIES_CREATE_PARTNER_ACCOUNT\", {\n slug: \"mx_technologies-create-partner-account\",\n name: \"Create Partner Account\",\n description: \"Create a new user (partner account) in the MX Platform. Users represent end-users in your application and are required before creating members, accounts, or accessing financial data. Use this tool to provision a new user record in MX.\",\n input: MxTechnologiesCreatePartnerAccountInput,\n output: MxTechnologiesCreatePartnerAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC1K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACzL,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAM,sDAAsD,SAAS,EACvE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-partner-account.d.ts
4
- declare const MxTechnologiesCreatePartnerAccountInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCreatePartnerAccountOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCreatePartnerAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCreatePartnerAccountInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ metadata: z.ZodOptional<z.ZodString>;
8
+ is_disabled: z.ZodOptional<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const MxTechnologiesCreatePartnerAccountOutput: z.ZodObject<{
11
+ user: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ guid: z.ZodNullable<z.ZodString>;
14
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ is_disabled: z.ZodNullable<z.ZodBoolean>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ declare const mxTechnologiesCreatePartnerAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ id?: string | undefined;
21
+ email?: string | undefined;
22
+ metadata?: string | undefined;
23
+ is_disabled?: boolean | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { mxTechnologiesCreatePartnerAccount };
9
27
  //# sourceMappingURL=create-partner-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-partner-account.d.cts","names":[],"sources":["../../src/actions/create-partner-account.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAKsB;AAAA,cAQjE,wCAAA,EAA0C,CAAA,CAAE,UAEsB;AAAA,cAElE,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-partner-account.d.cts","names":[],"sources":["../../src/actions/create-partner-account.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;cAavC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;cAIxC,kCAAA,gCAAkC,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-partner-account.d.ts
4
- declare const MxTechnologiesCreatePartnerAccountInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCreatePartnerAccountOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCreatePartnerAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCreatePartnerAccountInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ metadata: z.ZodOptional<z.ZodString>;
8
+ is_disabled: z.ZodOptional<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const MxTechnologiesCreatePartnerAccountOutput: z.ZodObject<{
11
+ user: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ guid: z.ZodNullable<z.ZodString>;
14
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ is_disabled: z.ZodNullable<z.ZodBoolean>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ declare const mxTechnologiesCreatePartnerAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ id?: string | undefined;
21
+ email?: string | undefined;
22
+ metadata?: string | undefined;
23
+ is_disabled?: boolean | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { mxTechnologiesCreatePartnerAccount };
9
27
  //# sourceMappingURL=create-partner-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-partner-account.d.mts","names":[],"sources":["../../src/actions/create-partner-account.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAKsB;AAAA,cAQjE,wCAAA,EAA0C,CAAA,CAAE,UAEsB;AAAA,cAElE,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-partner-account.d.mts","names":[],"sources":["../../src/actions/create-partner-account.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;cAavC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;cAIxC,kCAAA,gCAAkC,wBAAA"}
@@ -9,10 +9,10 @@ const MxTechnologiesCreatePartnerAccountInput = z.object({
9
9
  }).describe("Request schema for creating a new user (partner account) in MX.");
10
10
  const MxTechnologiesCreatePartnerAccount_UserResponseSchema = z.object({
11
11
  id: z.string().describe("Partner-defined identifier, if provided during creation.").nullable().optional(),
12
- guid: z.string().describe("MX-generated unique identifier for the user (starts with 'USR-')."),
12
+ guid: z.string().describe("MX-generated unique identifier for the user (starts with 'USR-').").nullable(),
13
13
  email: z.string().describe("User's email address.").nullable().optional(),
14
14
  metadata: z.string().describe("Custom metadata stored with the user.").nullable().optional(),
15
- is_disabled: z.boolean().describe("Whether the user account is disabled.")
15
+ is_disabled: z.boolean().describe("Whether the user account is disabled.").nullable()
16
16
  }).describe("User object returned by MX API.");
17
17
  const mxTechnologiesCreatePartnerAccount = action("MX_TECHNOLOGIES_CREATE_PARTNER_ACCOUNT", {
18
18
  slug: "mx_technologies-create-partner-account",
@@ -1 +1 @@
1
- {"version":3,"file":"create-partner-account.mjs","names":[],"sources":["../../src/actions/create-partner-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreatePartnerAccountInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the user. Use this to map between your system and MX. If not provided, MX will generate a GUID.\").optional(),\n email: z.string().describe(\"Email address for the user. Used for identification and communication.\").optional(),\n metadata: z.string().describe(\"Custom metadata as a JSON string. Store additional user info like creation date, name, or custom fields. Do not include sensitive information.\").optional(),\n is_disabled: z.boolean().describe(\"Set to true to create the user in a disabled state. Defaults to false.\").optional(),\n}).describe(\"Request schema for creating a new user (partner account) in MX.\");\nconst MxTechnologiesCreatePartnerAccount_UserResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Partner-defined identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the user (starts with 'USR-').\"),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored with the user.\").nullable().optional(),\n is_disabled: z.boolean().describe(\"Whether the user account is disabled.\"),\n}).describe(\"User object returned by MX API.\");\nexport const MxTechnologiesCreatePartnerAccountOutput: z.ZodTypeAny = z.object({\n user: MxTechnologiesCreatePartnerAccount_UserResponseSchema.nullable(),\n}).describe(\"Response schema for creating a new user (partner account) in MX.\");\n\nexport const mxTechnologiesCreatePartnerAccount = action(\"MX_TECHNOLOGIES_CREATE_PARTNER_ACCOUNT\", {\n slug: \"mx_technologies-create-partner-account\",\n name: \"Create Partner Account\",\n description: \"Create a new user (partner account) in the MX Platform. Users represent end-users in your application and are required before creating members, accounts, or accessing financial data. Use this tool to provision a new user record in MX.\",\n input: MxTechnologiesCreatePartnerAccountInput,\n output: MxTechnologiesCreatePartnerAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC1K,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACzL,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,wDAAsE,EAAE,OAAO;CACnF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;AAC3E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAK7C,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToE,EAAE,OAAO,EAC7E,MAAM,sDAAsD,SAAS,EACvE,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-partner-account.mjs","names":[],"sources":["../../src/actions/create-partner-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreatePartnerAccountInput = z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the user. Use this to map between your system and MX. If not provided, MX will generate a GUID.\").optional(),\n email: z.string().describe(\"Email address for the user. Used for identification and communication.\").optional(),\n metadata: z.string().describe(\"Custom metadata as a JSON string. Store additional user info like creation date, name, or custom fields. Do not include sensitive information.\").optional(),\n is_disabled: z.boolean().describe(\"Set to true to create the user in a disabled state. Defaults to false.\").optional(),\n}).describe(\"Request schema for creating a new user (partner account) in MX.\");\nconst MxTechnologiesCreatePartnerAccount_UserResponseSchema = z.object({\n id: z.string().describe(\"Partner-defined identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the user (starts with 'USR-').\").nullable(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n metadata: z.string().describe(\"Custom metadata stored with the user.\").nullable().optional(),\n is_disabled: z.boolean().describe(\"Whether the user account is disabled.\").nullable(),\n}).describe(\"User object returned by MX API.\");\nexport const MxTechnologiesCreatePartnerAccountOutput = z.object({\n user: MxTechnologiesCreatePartnerAccount_UserResponseSchema.nullable(),\n}).describe(\"Response schema for creating a new user (partner account) in MX.\");\n\nexport const mxTechnologiesCreatePartnerAccount = action(\"MX_TECHNOLOGIES_CREATE_PARTNER_ACCOUNT\", {\n slug: \"mx_technologies-create-partner-account\",\n name: \"Create Partner Account\",\n description: \"Create a new user (partner account) in the MX Platform. Users represent end-users in your application and are required before creating members, accounts, or accessing financial data. Use this tool to provision a new user record in MX.\",\n input: MxTechnologiesCreatePartnerAccountInput,\n output: MxTechnologiesCreatePartnerAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC1K,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACzL,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAK7C,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,MAAM,sDAAsD,SAAS,EACvE,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-rewards.cjs","names":["z","action"],"sources":["../../src/actions/fetch-rewards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesFetchRewardsInput: z.ZodTypeAny = z.object({\n user_guid: z.string().describe(\"The unique user identifier. Use either the MX-defined user GUID (prefixed with 'USR-') or your partner-defined user ID.\"),\n member_guid: z.string().describe(\"The unique member identifier (prefixed with 'MBR-'). Obtain this from the List Members endpoint.\"),\n}).describe(\"Request parameters for initiating rewards aggregation for a member.\");\nconst MxTechnologiesFetchRewards_MemberSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Partner-defined member identifier.\").nullable().optional(),\n guid: z.string().describe(\"MX-defined member GUID (prefixed with 'MBR-').\").nullable().optional(),\n name: z.string().describe(\"Human-readable member name (typically institution name).\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier associated with this member.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether the member uses OAuth for authentication.\").nullable().optional(),\n metadata: z.string().describe(\"Freeform metadata stored for the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether this member was created manually.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID associated with this member.\").nullable().optional(),\n aggregated_at: z.string().describe(\"When the most recent aggregation job started (ISO 8601).\").nullable().optional(),\n institution_code: z.string().describe(\"MX-defined institution code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX-defined institution GUID.\").nullable().optional(),\n connection_status: z.string().describe(\"Current aggregation state. Values include: CREATED, PREVENTED, DENIED, CHALLENGED, REJECTED, LOCKED, DISABLED, IMPEDED, RECONNECTED, DEGRADED, DISCONNECTED, DISCONTINUED, CLOSED, DELAYED, FAILED, RESUMED, UPDATED, IMPAIRED, CONNECTED, EXPIRED.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n most_recent_job_guid: z.string().describe(\"GUID of the most recent aggregation job.\").nullable().optional(),\n connection_status_message: z.string().describe(\"User-facing message to guide through connection/aggregation.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"When the member was last successfully aggregated (ISO 8601).\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled.\").nullable().optional(),\n}).describe(\"Member object returned when rewards aggregation is initiated.\");\nexport const MxTechnologiesFetchRewardsOutput: z.ZodTypeAny = z.object({\n member: MxTechnologiesFetchRewards_MemberSchema.nullable().optional(),\n}).describe(\"Response schema for fetch rewards action. Returns the member object with updated aggregation status.\");\n\nexport const mxTechnologiesFetchRewards = action(\"MX_TECHNOLOGIES_FETCH_REWARDS\", {\n slug: \"mx_technologies-fetch-rewards\",\n name: \"Fetch rewards\",\n description: \"Initiate rewards aggregation for a specific member. This triggers an async job to gather rewards data (points, miles, etc.) from the member's financial institution. Use List Rewards to retrieve the results after aggregation completes.\",\n input: MxTechnologiesFetchRewardsInput,\n output: MxTechnologiesFetchRewardsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH;CACxJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACrI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,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AoCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAElH,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-rewards.cjs","names":["z","action"],"sources":["../../src/actions/fetch-rewards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesFetchRewardsInput = z.object({\n user_guid: z.string().describe(\"The unique user identifier. Use either the MX-defined user GUID (prefixed with 'USR-') or your partner-defined user ID.\"),\n member_guid: z.string().describe(\"The unique member identifier (prefixed with 'MBR-'). Obtain this from the List Members endpoint.\"),\n}).describe(\"Request parameters for initiating rewards aggregation for a member.\");\nconst MxTechnologiesFetchRewards_MemberSchema = z.object({\n id: z.string().describe(\"Partner-defined member identifier.\").nullable().optional(),\n guid: z.string().describe(\"MX-defined member GUID (prefixed with 'MBR-').\").nullable().optional(),\n name: z.string().describe(\"Human-readable member name (typically institution name).\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier associated with this member.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether the member uses OAuth for authentication.\").nullable().optional(),\n metadata: z.string().describe(\"Freeform metadata stored for the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether this member was created manually.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID associated with this member.\").nullable().optional(),\n aggregated_at: z.string().describe(\"When the most recent aggregation job started (ISO 8601).\").nullable().optional(),\n institution_code: z.string().describe(\"MX-defined institution code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX-defined institution GUID.\").nullable().optional(),\n connection_status: z.string().describe(\"Current aggregation state. Values include: CREATED, PREVENTED, DENIED, CHALLENGED, REJECTED, LOCKED, DISABLED, IMPEDED, RECONNECTED, DEGRADED, DISCONNECTED, DISCONTINUED, CLOSED, DELAYED, FAILED, RESUMED, UPDATED, IMPAIRED, CONNECTED, EXPIRED.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n most_recent_job_guid: z.string().describe(\"GUID of the most recent aggregation job.\").nullable().optional(),\n connection_status_message: z.string().describe(\"User-facing message to guide through connection/aggregation.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"When the member was last successfully aggregated (ISO 8601).\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled.\").nullable().optional(),\n}).describe(\"Member object returned when rewards aggregation is initiated.\");\nexport const MxTechnologiesFetchRewardsOutput = z.object({\n member: MxTechnologiesFetchRewards_MemberSchema.nullable().optional(),\n}).describe(\"Response schema for fetch rewards action. Returns the member object with updated aggregation status.\");\n\nexport const mxTechnologiesFetchRewards = action(\"MX_TECHNOLOGIES_FETCH_REWARDS\", {\n slug: \"mx_technologies-fetch-rewards\",\n name: \"Fetch rewards\",\n description: \"Initiate rewards aggregation for a specific member. This triggers an async job to gather rewards data (points, miles, etc.) from the member's financial institution. Use List Rewards to retrieve the results after aggregation completes.\",\n input: MxTechnologiesFetchRewardsInput,\n output: MxTechnologiesFetchRewardsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH;CACxJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACrI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC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AAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,oCAAoCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAElH,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/fetch-rewards.d.ts
4
- declare const MxTechnologiesFetchRewardsInput: z.ZodTypeAny;
5
- declare const MxTechnologiesFetchRewardsOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesFetchRewards: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesFetchRewardsInput: z.ZodObject<{
5
+ user_guid: z.ZodString;
6
+ member_guid: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const MxTechnologiesFetchRewardsOutput: z.ZodObject<{
9
+ member: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ is_oauth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ user_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ aggregated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ institution_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ is_being_aggregated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ most_recent_job_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ connection_status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ successfully_aggregated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ background_aggregation_is_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ }, z.core.$strip>>>;
28
+ }, z.core.$strip>;
29
+ declare const mxTechnologiesFetchRewards: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ user_guid: string;
31
+ member_guid: string;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { mxTechnologiesFetchRewards };
9
35
  //# sourceMappingURL=fetch-rewards.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-rewards.d.cts","names":[],"sources":["../../src/actions/fetch-rewards.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGkC;AAAA,cAoBrE,gCAAA,EAAkC,CAAA,CAAE,UAEkE;AAAA,cAEtG,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"fetch-rewards.d.cts","names":[],"sources":["../../src/actions/fetch-rewards.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAuB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/fetch-rewards.d.ts
4
- declare const MxTechnologiesFetchRewardsInput: z.ZodTypeAny;
5
- declare const MxTechnologiesFetchRewardsOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesFetchRewards: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesFetchRewardsInput: z.ZodObject<{
5
+ user_guid: z.ZodString;
6
+ member_guid: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const MxTechnologiesFetchRewardsOutput: z.ZodObject<{
9
+ member: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ is_oauth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ user_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ aggregated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ institution_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ is_being_aggregated: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ most_recent_job_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ connection_status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ successfully_aggregated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ background_aggregation_is_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ }, z.core.$strip>>>;
28
+ }, z.core.$strip>;
29
+ declare const mxTechnologiesFetchRewards: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ user_guid: string;
31
+ member_guid: string;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { mxTechnologiesFetchRewards };
9
35
  //# sourceMappingURL=fetch-rewards.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-rewards.d.mts","names":[],"sources":["../../src/actions/fetch-rewards.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGkC;AAAA,cAoBrE,gCAAA,EAAkC,CAAA,CAAE,UAEkE;AAAA,cAEtG,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"fetch-rewards.d.mts","names":[],"sources":["../../src/actions/fetch-rewards.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAuB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-rewards.mjs","names":[],"sources":["../../src/actions/fetch-rewards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesFetchRewardsInput: z.ZodTypeAny = z.object({\n user_guid: z.string().describe(\"The unique user identifier. Use either the MX-defined user GUID (prefixed with 'USR-') or your partner-defined user ID.\"),\n member_guid: z.string().describe(\"The unique member identifier (prefixed with 'MBR-'). Obtain this from the List Members endpoint.\"),\n}).describe(\"Request parameters for initiating rewards aggregation for a member.\");\nconst MxTechnologiesFetchRewards_MemberSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Partner-defined member identifier.\").nullable().optional(),\n guid: z.string().describe(\"MX-defined member GUID (prefixed with 'MBR-').\").nullable().optional(),\n name: z.string().describe(\"Human-readable member name (typically institution name).\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier associated with this member.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether the member uses OAuth for authentication.\").nullable().optional(),\n metadata: z.string().describe(\"Freeform metadata stored for the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether this member was created manually.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID associated with this member.\").nullable().optional(),\n aggregated_at: z.string().describe(\"When the most recent aggregation job started (ISO 8601).\").nullable().optional(),\n institution_code: z.string().describe(\"MX-defined institution code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX-defined institution GUID.\").nullable().optional(),\n connection_status: z.string().describe(\"Current aggregation state. Values include: CREATED, PREVENTED, DENIED, CHALLENGED, REJECTED, LOCKED, DISABLED, IMPEDED, RECONNECTED, DEGRADED, DISCONNECTED, DISCONTINUED, CLOSED, DELAYED, FAILED, RESUMED, UPDATED, IMPAIRED, CONNECTED, EXPIRED.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n most_recent_job_guid: z.string().describe(\"GUID of the most recent aggregation job.\").nullable().optional(),\n connection_status_message: z.string().describe(\"User-facing message to guide through connection/aggregation.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"When the member was last successfully aggregated (ISO 8601).\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled.\").nullable().optional(),\n}).describe(\"Member object returned when rewards aggregation is initiated.\");\nexport const MxTechnologiesFetchRewardsOutput: z.ZodTypeAny = z.object({\n member: MxTechnologiesFetchRewards_MemberSchema.nullable().optional(),\n}).describe(\"Response schema for fetch rewards action. Returns the member object with updated aggregation status.\");\n\nexport const mxTechnologiesFetchRewards = action(\"MX_TECHNOLOGIES_FETCH_REWARDS\", {\n slug: \"mx_technologies-fetch-rewards\",\n name: \"Fetch rewards\",\n description: \"Initiate rewards aggregation for a specific member. This triggers an async job to gather rewards data (points, miles, etc.) from the member's financial institution. Use List Rewards to retrieve the results after aggregation completes.\",\n input: MxTechnologiesFetchRewardsInput,\n output: MxTechnologiesFetchRewardsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH;CACxJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACrI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAA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rewards.mjs","names":[],"sources":["../../src/actions/fetch-rewards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesFetchRewardsInput = z.object({\n user_guid: z.string().describe(\"The unique user identifier. Use either the MX-defined user GUID (prefixed with 'USR-') or your partner-defined user ID.\"),\n member_guid: z.string().describe(\"The unique member identifier (prefixed with 'MBR-'). Obtain this from the List Members endpoint.\"),\n}).describe(\"Request parameters for initiating rewards aggregation for a member.\");\nconst MxTechnologiesFetchRewards_MemberSchema = z.object({\n id: z.string().describe(\"Partner-defined member identifier.\").nullable().optional(),\n guid: z.string().describe(\"MX-defined member GUID (prefixed with 'MBR-').\").nullable().optional(),\n name: z.string().describe(\"Human-readable member name (typically institution name).\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier associated with this member.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether the member uses OAuth for authentication.\").nullable().optional(),\n metadata: z.string().describe(\"Freeform metadata stored for the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether this member was created manually.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID associated with this member.\").nullable().optional(),\n aggregated_at: z.string().describe(\"When the most recent aggregation job started (ISO 8601).\").nullable().optional(),\n institution_code: z.string().describe(\"MX-defined institution code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX-defined institution GUID.\").nullable().optional(),\n connection_status: z.string().describe(\"Current aggregation state. Values include: CREATED, PREVENTED, DENIED, CHALLENGED, REJECTED, LOCKED, DISABLED, IMPEDED, RECONNECTED, DEGRADED, DISCONNECTED, DISCONTINUED, CLOSED, DELAYED, FAILED, RESUMED, UPDATED, IMPAIRED, CONNECTED, EXPIRED.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n most_recent_job_guid: z.string().describe(\"GUID of the most recent aggregation job.\").nullable().optional(),\n connection_status_message: z.string().describe(\"User-facing message to guide through connection/aggregation.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"When the member was last successfully aggregated (ISO 8601).\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled.\").nullable().optional(),\n}).describe(\"Member object returned when rewards aggregation is initiated.\");\nexport const MxTechnologiesFetchRewardsOutput = z.object({\n member: MxTechnologiesFetchRewards_MemberSchema.nullable().optional(),\n}).describe(\"Response schema for fetch rewards action. Returns the member object with updated aggregation status.\");\n\nexport const mxTechnologiesFetchRewards = action(\"MX_TECHNOLOGIES_FETCH_REWARDS\", {\n slug: \"mx_technologies-fetch-rewards\",\n name: \"Fetch rewards\",\n description: \"Initiate rewards aggregation for a specific member. This triggers an async job to gather rewards data (points, miles, etc.) from the member's financial institution. Use List Rewards to retrieve the results after aggregation completes.\",\n input: MxTechnologiesFetchRewardsInput,\n output: MxTechnologiesFetchRewardsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH;CACxJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACrI,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAU,EAAE,OAAO,CAAC,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,CAAC,CAAC,CAAC,SAAS,sGAOF;AACV,CAAC"}
@@ -20,7 +20,7 @@ const MxTechnologiesGetConfigurableWidgetUrlInput = zod.z.object({
20
20
  data_request: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional data aggregation request object for specifying products or additional data options.").optional()
21
21
  }).describe("Request parameters for retrieving a configurable widget URL.");
22
22
  const MxTechnologiesGetConfigurableWidgetUrlOutput = zod.z.object({
23
- url: zod.z.string().describe("Single-use widget URL. Expires after 10 minutes or immediately upon first use. Always request a fresh URL when loading the widget."),
23
+ url: zod.z.string().describe("Single-use widget URL. Expires after 10 minutes or immediately upon first use. Always request a fresh URL when loading the widget.").nullable(),
24
24
  guid: zod.z.string().describe("Unique identifier for this widget URL request.").nullable().optional(),
25
25
  user_guid: zod.z.string().describe("The MX user GUID for whom the widget URL was generated.").nullable().optional(),
26
26
  widget_type: zod.z.string().describe("The widget type that was requested (e.g., 'connect_widget').").nullable().optional()
@@ -1 +1 @@
1
- {"version":3,"file":"get-configurable-widget-url.cjs","names":["z","action"],"sources":["../../src/actions/get-configurable-widget-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesGetConfigurableWidgetUrlInput: z.ZodTypeAny = z.object({\n config: z.object({\n mode: z.string().describe(\"Widget mode. For connect_widget: 'verification' enables microdeposits flow, 'aggregation' for standard aggregation.\").optional(),\n type: z.string().describe(\"Widget type. Valid values: 'connect_widget' (account linking), 'connections_widget' (manage connections), 'transactions_widget' (view transactions), 'pulse_widget' (financial pulse), 'budget_widget' (budgeting), 'goals_widget' (savings goals), 'debts_widget' (debt management), 'spending_widget' (spending analysis), 'accounts_widget' (accounts overview), 'mini_pulse_widget' (mini financial pulse)\"),\n use_cases: z.array(z.string()).describe(\"Array of use cases to associate with members created in the widget. Valid values: 'PFM' (Personal Financial Management), 'MONEY_MOVEMENT' (payment/transfer use case).\").optional(),\n include_identity: z.boolean().describe(\"Set to true to include identity verification data in aggregation.\").optional(),\n is_mobile_webview: z.boolean().describe(\"Set to true when rendering content in a mobile WebView. Affects how widget events are sent.\").optional(),\n ui_message_version: z.number().int().describe(\"UI message version for postMessage events. Use 4 for the latest message format.\").optional(),\n current_member_guid: z.string().describe(\"Existing member GUID to reconnect/update. Must start with 'MBR-' prefix.\").optional(),\n include_transactions: z.boolean().describe(\"Set to true to include transaction data. Default is true for most widget types.\").optional(),\n disable_background_agg: z.boolean().describe(\"Set to true to disable automatic background aggregation (normally runs every 24 hours).\").optional(),\n current_institution_code: z.string().describe(\"Institution code to preselect in the widget. Skips institution search.\").optional(),\n disable_institution_search: z.boolean().describe(\"Set to true to disable the institution search feature in the widget.\").optional(),\n ui_message_webview_url_scheme: z.string().describe(\"Custom URL scheme for webview messaging. Default is 'mx'.\").optional(),\n}).passthrough().describe(\"Widget configuration options. At minimum, must specify the widget 'type'.\"),\n user_guid: z.string().describe(\"The unique MX user GUID. Must start with 'USR-' prefix (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54').\"),\n data_request: z.record(z.string(), z.unknown()).describe(\"Optional data aggregation request object for specifying products or additional data options.\").optional(),\n}).describe(\"Request parameters for retrieving a configurable widget URL.\");\nexport const MxTechnologiesGetConfigurableWidgetUrlOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Single-use widget URL. Expires after 10 minutes or immediately upon first use. Always request a fresh URL when loading the widget.\"),\n guid: z.string().describe(\"Unique identifier for this widget URL request.\").nullable().optional(),\n user_guid: z.string().describe(\"The MX user GUID for whom the widget URL was generated.\").nullable().optional(),\n widget_type: z.string().describe(\"The widget type that was requested (e.g., 'connect_widget').\").nullable().optional(),\n}).describe(\"Response schema for retrieving a configurable widget URL.\");\n\nexport const mxTechnologiesGetConfigurableWidgetUrl = action(\"MX_TECHNOLOGIES_GET_CONFIGURABLE_WIDGET_URL\", {\n slug: \"mx_technologies-get-configurable-widget-url\",\n name: \"Get configurable widget URL\",\n description: \"Retrieve a configurable widget URL for embedding MX widgets (Connect, Transactions, Pulse, etc.). Use this tool to generate a single-use URL for displaying MX widgets to end users. The URL expires after 10 minutes or immediately upon first use, so always request a fresh URL when loading the widget. Requires a valid user_guid (obtained from list_users or create_user actions).\",\n input: MxTechnologiesGetConfigurableWidgetUrlInput,\n output: MxTechnologiesGetConfigurableWidgetUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,QAAQA,IAAAA,EAAE,OAAO;EACjB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC1J,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gZAAgZ;EAC1a,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;EAC3N,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACrH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EAChJ,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC1I,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC9H,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACvI,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACjJ,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACjI,4BAA4BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAClI,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC3I,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CAC7J,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-configurable-widget-url.cjs","names":["z","action"],"sources":["../../src/actions/get-configurable-widget-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesGetConfigurableWidgetUrlInput = z.object({\n config: z.object({\n mode: z.string().describe(\"Widget mode. For connect_widget: 'verification' enables microdeposits flow, 'aggregation' for standard aggregation.\").optional(),\n type: z.string().describe(\"Widget type. Valid values: 'connect_widget' (account linking), 'connections_widget' (manage connections), 'transactions_widget' (view transactions), 'pulse_widget' (financial pulse), 'budget_widget' (budgeting), 'goals_widget' (savings goals), 'debts_widget' (debt management), 'spending_widget' (spending analysis), 'accounts_widget' (accounts overview), 'mini_pulse_widget' (mini financial pulse)\"),\n use_cases: z.array(z.string()).describe(\"Array of use cases to associate with members created in the widget. Valid values: 'PFM' (Personal Financial Management), 'MONEY_MOVEMENT' (payment/transfer use case).\").optional(),\n include_identity: z.boolean().describe(\"Set to true to include identity verification data in aggregation.\").optional(),\n is_mobile_webview: z.boolean().describe(\"Set to true when rendering content in a mobile WebView. Affects how widget events are sent.\").optional(),\n ui_message_version: z.number().int().describe(\"UI message version for postMessage events. Use 4 for the latest message format.\").optional(),\n current_member_guid: z.string().describe(\"Existing member GUID to reconnect/update. Must start with 'MBR-' prefix.\").optional(),\n include_transactions: z.boolean().describe(\"Set to true to include transaction data. Default is true for most widget types.\").optional(),\n disable_background_agg: z.boolean().describe(\"Set to true to disable automatic background aggregation (normally runs every 24 hours).\").optional(),\n current_institution_code: z.string().describe(\"Institution code to preselect in the widget. Skips institution search.\").optional(),\n disable_institution_search: z.boolean().describe(\"Set to true to disable the institution search feature in the widget.\").optional(),\n ui_message_webview_url_scheme: z.string().describe(\"Custom URL scheme for webview messaging. Default is 'mx'.\").optional(),\n}).passthrough().describe(\"Widget configuration options. At minimum, must specify the widget 'type'.\"),\n user_guid: z.string().describe(\"The unique MX user GUID. Must start with 'USR-' prefix (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54').\"),\n data_request: z.record(z.string(), z.unknown()).describe(\"Optional data aggregation request object for specifying products or additional data options.\").optional(),\n}).describe(\"Request parameters for retrieving a configurable widget URL.\");\nexport const MxTechnologiesGetConfigurableWidgetUrlOutput = z.object({\n url: z.string().describe(\"Single-use widget URL. Expires after 10 minutes or immediately upon first use. Always request a fresh URL when loading the widget.\").nullable(),\n guid: z.string().describe(\"Unique identifier for this widget URL request.\").nullable().optional(),\n user_guid: z.string().describe(\"The MX user GUID for whom the widget URL was generated.\").nullable().optional(),\n widget_type: z.string().describe(\"The widget type that was requested (e.g., 'connect_widget').\").nullable().optional(),\n}).describe(\"Response schema for retrieving a configurable widget URL.\");\n\nexport const mxTechnologiesGetConfigurableWidgetUrl = action(\"MX_TECHNOLOGIES_GET_CONFIGURABLE_WIDGET_URL\", {\n slug: \"mx_technologies-get-configurable-widget-url\",\n name: \"Get configurable widget URL\",\n description: \"Retrieve a configurable widget URL for embedding MX widgets (Connect, Transactions, Pulse, etc.). Use this tool to generate a single-use URL for displaying MX widgets to end users. The URL expires after 10 minutes or immediately upon first use, so always request a fresh URL when loading the widget. Requires a valid user_guid (obtained from list_users or create_user actions).\",\n input: MxTechnologiesGetConfigurableWidgetUrlInput,\n output: MxTechnologiesGetConfigurableWidgetUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAO;EACjB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC1J,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gZAAgZ;EAC1a,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;EAC3N,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACrH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EAChJ,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC1I,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC9H,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACvI,wBAAwBA,IAAAA,EAAE,Q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