@keystrokehq/mx_technologies 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/cancel-partner-account.cjs +3 -3
  4. package/dist/actions/cancel-partner-account.cjs.map +1 -1
  5. package/dist/actions/cancel-partner-account.d.cts +16 -3
  6. package/dist/actions/cancel-partner-account.d.cts.map +1 -1
  7. package/dist/actions/cancel-partner-account.d.mts +16 -3
  8. package/dist/actions/cancel-partner-account.d.mts.map +1 -1
  9. package/dist/actions/cancel-partner-account.mjs +3 -3
  10. package/dist/actions/cancel-partner-account.mjs.map +1 -1
  11. package/dist/actions/create-account.cjs.map +1 -1
  12. package/dist/actions/create-account.d.cts +68 -3
  13. package/dist/actions/create-account.d.cts.map +1 -1
  14. package/dist/actions/create-account.d.mts +68 -3
  15. package/dist/actions/create-account.d.mts.map +1 -1
  16. package/dist/actions/create-account.mjs.map +1 -1
  17. package/dist/actions/create-audience-api-credentials.cjs +2 -2
  18. package/dist/actions/create-audience-api-credentials.cjs.map +1 -1
  19. package/dist/actions/create-audience-api-credentials.d.cts +12 -3
  20. package/dist/actions/create-audience-api-credentials.d.cts.map +1 -1
  21. package/dist/actions/create-audience-api-credentials.d.mts +12 -3
  22. package/dist/actions/create-audience-api-credentials.d.mts.map +1 -1
  23. package/dist/actions/create-audience-api-credentials.mjs +2 -2
  24. package/dist/actions/create-audience-api-credentials.mjs.map +1 -1
  25. package/dist/actions/create-member.cjs +3 -3
  26. package/dist/actions/create-member.cjs.map +1 -1
  27. package/dist/actions/create-member.d.cts +54 -3
  28. package/dist/actions/create-member.d.cts.map +1 -1
  29. package/dist/actions/create-member.d.mts +54 -3
  30. package/dist/actions/create-member.d.mts.map +1 -1
  31. package/dist/actions/create-member.mjs +3 -3
  32. package/dist/actions/create-member.mjs.map +1 -1
  33. package/dist/actions/create-partner-account.cjs +2 -2
  34. package/dist/actions/create-partner-account.cjs.map +1 -1
  35. package/dist/actions/create-partner-account.d.cts +21 -3
  36. package/dist/actions/create-partner-account.d.cts.map +1 -1
  37. package/dist/actions/create-partner-account.d.mts +21 -3
  38. package/dist/actions/create-partner-account.d.mts.map +1 -1
  39. package/dist/actions/create-partner-account.mjs +2 -2
  40. package/dist/actions/create-partner-account.mjs.map +1 -1
  41. package/dist/actions/fetch-rewards.cjs.map +1 -1
  42. package/dist/actions/fetch-rewards.d.cts +29 -3
  43. package/dist/actions/fetch-rewards.d.cts.map +1 -1
  44. package/dist/actions/fetch-rewards.d.mts +29 -3
  45. package/dist/actions/fetch-rewards.d.mts.map +1 -1
  46. package/dist/actions/fetch-rewards.mjs.map +1 -1
  47. package/dist/actions/get-configurable-widget-url.cjs +1 -1
  48. package/dist/actions/get-configurable-widget-url.cjs.map +1 -1
  49. package/dist/actions/get-configurable-widget-url.d.cts +43 -3
  50. package/dist/actions/get-configurable-widget-url.d.cts.map +1 -1
  51. package/dist/actions/get-configurable-widget-url.d.mts +43 -3
  52. package/dist/actions/get-configurable-widget-url.d.mts.map +1 -1
  53. package/dist/actions/get-configurable-widget-url.mjs +1 -1
  54. package/dist/actions/get-configurable-widget-url.mjs.map +1 -1
  55. package/dist/actions/list-account-numbers-by-member.cjs +10 -10
  56. package/dist/actions/list-account-numbers-by-member.cjs.map +1 -1
  57. package/dist/actions/list-account-numbers-by-member.d.cts +34 -3
  58. package/dist/actions/list-account-numbers-by-member.d.cts.map +1 -1
  59. package/dist/actions/list-account-numbers-by-member.d.mts +34 -3
  60. package/dist/actions/list-account-numbers-by-member.d.mts.map +1 -1
  61. package/dist/actions/list-account-numbers-by-member.mjs +10 -10
  62. package/dist/actions/list-account-numbers-by-member.mjs.map +1 -1
  63. package/dist/actions/list-account-owners.cjs +8 -8
  64. package/dist/actions/list-account-owners.cjs.map +1 -1
  65. package/dist/actions/list-account-owners.d.cts +36 -3
  66. package/dist/actions/list-account-owners.d.cts.map +1 -1
  67. package/dist/actions/list-account-owners.d.mts +36 -3
  68. package/dist/actions/list-account-owners.d.mts.map +1 -1
  69. package/dist/actions/list-account-owners.mjs +8 -8
  70. package/dist/actions/list-account-owners.mjs.map +1 -1
  71. package/dist/actions/list-accounts.cjs +8 -8
  72. package/dist/actions/list-accounts.cjs.map +1 -1
  73. package/dist/actions/list-accounts.d.cts +44 -3
  74. package/dist/actions/list-accounts.d.cts.map +1 -1
  75. package/dist/actions/list-accounts.d.mts +44 -3
  76. package/dist/actions/list-accounts.d.mts.map +1 -1
  77. package/dist/actions/list-accounts.mjs +8 -8
  78. package/dist/actions/list-accounts.mjs.map +1 -1
  79. package/dist/actions/list-budgets.cjs +17 -17
  80. package/dist/actions/list-budgets.cjs.map +1 -1
  81. package/dist/actions/list-budgets.d.cts +36 -3
  82. package/dist/actions/list-budgets.d.cts.map +1 -1
  83. package/dist/actions/list-budgets.d.mts +36 -3
  84. package/dist/actions/list-budgets.d.mts.map +1 -1
  85. package/dist/actions/list-budgets.mjs +17 -17
  86. package/dist/actions/list-budgets.mjs.map +1 -1
  87. package/dist/actions/list-categories.cjs +8 -8
  88. package/dist/actions/list-categories.cjs.map +1 -1
  89. package/dist/actions/list-categories.d.cts +28 -3
  90. package/dist/actions/list-categories.d.cts.map +1 -1
  91. package/dist/actions/list-categories.d.mts +28 -3
  92. package/dist/actions/list-categories.d.mts.map +1 -1
  93. package/dist/actions/list-categories.mjs +8 -8
  94. package/dist/actions/list-categories.mjs.map +1 -1
  95. package/dist/actions/list-challenges.cjs +4 -4
  96. package/dist/actions/list-challenges.cjs.map +1 -1
  97. package/dist/actions/list-challenges.d.cts +29 -3
  98. package/dist/actions/list-challenges.d.cts.map +1 -1
  99. package/dist/actions/list-challenges.d.mts +29 -3
  100. package/dist/actions/list-challenges.d.mts.map +1 -1
  101. package/dist/actions/list-challenges.mjs +4 -4
  102. package/dist/actions/list-challenges.mjs.map +1 -1
  103. package/dist/actions/list-favorite-institutions.cjs +6 -6
  104. package/dist/actions/list-favorite-institutions.cjs.map +1 -1
  105. package/dist/actions/list-favorite-institutions.d.cts +35 -3
  106. package/dist/actions/list-favorite-institutions.d.cts.map +1 -1
  107. package/dist/actions/list-favorite-institutions.d.mts +35 -3
  108. package/dist/actions/list-favorite-institutions.d.mts.map +1 -1
  109. package/dist/actions/list-favorite-institutions.mjs +6 -6
  110. package/dist/actions/list-favorite-institutions.mjs.map +1 -1
  111. package/dist/actions/list-goals.cjs +4 -4
  112. package/dist/actions/list-goals.cjs.map +1 -1
  113. package/dist/actions/list-goals.d.cts +37 -3
  114. package/dist/actions/list-goals.d.cts.map +1 -1
  115. package/dist/actions/list-goals.d.mts +37 -3
  116. package/dist/actions/list-goals.d.mts.map +1 -1
  117. package/dist/actions/list-goals.mjs +4 -4
  118. package/dist/actions/list-goals.mjs.map +1 -1
  119. package/dist/actions/list-institution-credentials.cjs.map +1 -1
  120. package/dist/actions/list-institution-credentials.d.cts +25 -3
  121. package/dist/actions/list-institution-credentials.d.cts.map +1 -1
  122. package/dist/actions/list-institution-credentials.d.mts +25 -3
  123. package/dist/actions/list-institution-credentials.d.mts.map +1 -1
  124. package/dist/actions/list-institution-credentials.mjs.map +1 -1
  125. package/dist/actions/list-institutions.cjs +17 -17
  126. package/dist/actions/list-institutions.cjs.map +1 -1
  127. package/dist/actions/list-institutions.d.cts +45 -3
  128. package/dist/actions/list-institutions.d.cts.map +1 -1
  129. package/dist/actions/list-institutions.d.mts +45 -3
  130. package/dist/actions/list-institutions.d.mts.map +1 -1
  131. package/dist/actions/list-institutions.mjs +17 -17
  132. package/dist/actions/list-institutions.mjs.map +1 -1
  133. package/dist/actions/list-member-accounts.cjs +4 -4
  134. package/dist/actions/list-member-accounts.cjs.map +1 -1
  135. package/dist/actions/list-member-accounts.d.cts +57 -3
  136. package/dist/actions/list-member-accounts.d.cts.map +1 -1
  137. package/dist/actions/list-member-accounts.d.mts +57 -3
  138. package/dist/actions/list-member-accounts.d.mts.map +1 -1
  139. package/dist/actions/list-member-accounts.mjs +4 -4
  140. package/dist/actions/list-member-accounts.mjs.map +1 -1
  141. package/dist/actions/list-members.cjs +4 -4
  142. package/dist/actions/list-members.cjs.map +1 -1
  143. package/dist/actions/list-members.d.cts +47 -3
  144. package/dist/actions/list-members.d.cts.map +1 -1
  145. package/dist/actions/list-members.d.mts +47 -3
  146. package/dist/actions/list-members.d.mts.map +1 -1
  147. package/dist/actions/list-members.mjs +4 -4
  148. package/dist/actions/list-members.mjs.map +1 -1
  149. package/dist/actions/list-rewards.cjs +4 -4
  150. package/dist/actions/list-rewards.cjs.map +1 -1
  151. package/dist/actions/list-rewards.d.cts +32 -3
  152. package/dist/actions/list-rewards.d.cts.map +1 -1
  153. package/dist/actions/list-rewards.d.mts +32 -3
  154. package/dist/actions/list-rewards.d.mts.map +1 -1
  155. package/dist/actions/list-rewards.mjs +4 -4
  156. package/dist/actions/list-rewards.mjs.map +1 -1
  157. package/dist/actions/list-statements-by-member.cjs +4 -4
  158. package/dist/actions/list-statements-by-member.cjs.map +1 -1
  159. package/dist/actions/list-statements-by-member.d.cts +30 -3
  160. package/dist/actions/list-statements-by-member.d.cts.map +1 -1
  161. package/dist/actions/list-statements-by-member.d.mts +30 -3
  162. package/dist/actions/list-statements-by-member.d.mts.map +1 -1
  163. package/dist/actions/list-statements-by-member.mjs +4 -4
  164. package/dist/actions/list-statements-by-member.mjs.map +1 -1
  165. package/dist/actions/list-taggings.cjs +4 -4
  166. package/dist/actions/list-taggings.cjs.map +1 -1
  167. package/dist/actions/list-taggings.d.cts +25 -3
  168. package/dist/actions/list-taggings.d.cts.map +1 -1
  169. package/dist/actions/list-taggings.d.mts +25 -3
  170. package/dist/actions/list-taggings.d.mts.map +1 -1
  171. package/dist/actions/list-taggings.mjs +4 -4
  172. package/dist/actions/list-taggings.mjs.map +1 -1
  173. package/dist/actions/list-tags.cjs +4 -4
  174. package/dist/actions/list-tags.cjs.map +1 -1
  175. package/dist/actions/list-tags.d.cts +23 -3
  176. package/dist/actions/list-tags.d.cts.map +1 -1
  177. package/dist/actions/list-tags.d.mts +23 -3
  178. package/dist/actions/list-tags.d.mts.map +1 -1
  179. package/dist/actions/list-tags.mjs +4 -4
  180. package/dist/actions/list-tags.mjs.map +1 -1
  181. package/dist/actions/list-transactions-by-member.cjs +40 -40
  182. package/dist/actions/list-transactions-by-member.cjs.map +1 -1
  183. package/dist/actions/list-transactions-by-member.d.cts +108 -3
  184. package/dist/actions/list-transactions-by-member.d.cts.map +1 -1
  185. package/dist/actions/list-transactions-by-member.d.mts +108 -3
  186. package/dist/actions/list-transactions-by-member.d.mts.map +1 -1
  187. package/dist/actions/list-transactions-by-member.mjs +40 -40
  188. package/dist/actions/list-transactions-by-member.mjs.map +1 -1
  189. package/dist/actions/list-transactions.cjs +4 -4
  190. package/dist/actions/list-transactions.cjs.map +1 -1
  191. package/dist/actions/list-transactions.d.cts +107 -3
  192. package/dist/actions/list-transactions.d.cts.map +1 -1
  193. package/dist/actions/list-transactions.d.mts +107 -3
  194. package/dist/actions/list-transactions.d.mts.map +1 -1
  195. package/dist/actions/list-transactions.mjs +4 -4
  196. package/dist/actions/list-transactions.mjs.map +1 -1
  197. package/dist/actions/list-users.cjs +4 -4
  198. package/dist/actions/list-users.cjs.map +1 -1
  199. package/dist/actions/list-users.d.cts +43 -3
  200. package/dist/actions/list-users.d.cts.map +1 -1
  201. package/dist/actions/list-users.d.mts +43 -3
  202. package/dist/actions/list-users.d.mts.map +1 -1
  203. package/dist/actions/list-users.mjs +4 -4
  204. package/dist/actions/list-users.mjs.map +1 -1
  205. package/dist/actions/read-account.cjs +3 -3
  206. package/dist/actions/read-account.cjs.map +1 -1
  207. package/dist/actions/read-account.d.cts +52 -3
  208. package/dist/actions/read-account.d.cts.map +1 -1
  209. package/dist/actions/read-account.d.mts +52 -3
  210. package/dist/actions/read-account.d.mts.map +1 -1
  211. package/dist/actions/read-account.mjs +3 -3
  212. package/dist/actions/read-account.mjs.map +1 -1
  213. package/dist/actions/read-category.cjs +4 -4
  214. package/dist/actions/read-category.cjs.map +1 -1
  215. package/dist/actions/read-category.d.cts +16 -3
  216. package/dist/actions/read-category.d.cts.map +1 -1
  217. package/dist/actions/read-category.d.mts +16 -3
  218. package/dist/actions/read-category.d.mts.map +1 -1
  219. package/dist/actions/read-category.mjs +4 -4
  220. package/dist/actions/read-category.mjs.map +1 -1
  221. package/dist/actions/read-fdx-account.cjs.map +1 -1
  222. package/dist/actions/read-fdx-account.d.cts +30 -3
  223. package/dist/actions/read-fdx-account.d.cts.map +1 -1
  224. package/dist/actions/read-fdx-account.d.mts +30 -3
  225. package/dist/actions/read-fdx-account.d.mts.map +1 -1
  226. package/dist/actions/read-fdx-account.mjs.map +1 -1
  227. package/dist/actions/read-institution.cjs.map +1 -1
  228. package/dist/actions/read-institution.d.cts +26 -3
  229. package/dist/actions/read-institution.d.cts.map +1 -1
  230. package/dist/actions/read-institution.d.mts +26 -3
  231. package/dist/actions/read-institution.d.mts.map +1 -1
  232. package/dist/actions/read-institution.mjs.map +1 -1
  233. package/dist/actions/read-transaction-by-account.cjs.map +1 -1
  234. package/dist/actions/read-transaction-by-account.d.cts +91 -3
  235. package/dist/actions/read-transaction-by-account.d.cts.map +1 -1
  236. package/dist/actions/read-transaction-by-account.d.mts +91 -3
  237. package/dist/actions/read-transaction-by-account.d.mts.map +1 -1
  238. package/dist/actions/read-transaction-by-account.mjs.map +1 -1
  239. package/dist/actions/read-transaction-rule.cjs.map +1 -1
  240. package/dist/actions/read-transaction-rule.d.cts +19 -3
  241. package/dist/actions/read-transaction-rule.d.cts.map +1 -1
  242. package/dist/actions/read-transaction-rule.d.mts +19 -3
  243. package/dist/actions/read-transaction-rule.d.mts.map +1 -1
  244. package/dist/actions/read-transaction-rule.mjs.map +1 -1
  245. package/dist/actions/read-transaction.cjs.map +1 -1
  246. package/dist/actions/read-transaction.d.cts +55 -3
  247. package/dist/actions/read-transaction.d.cts.map +1 -1
  248. package/dist/actions/read-transaction.d.mts +55 -3
  249. package/dist/actions/read-transaction.d.mts.map +1 -1
  250. package/dist/actions/read-transaction.mjs.map +1 -1
  251. package/dist/actions/update-transaction-rules.cjs.map +1 -1
  252. package/dist/actions/update-transaction-rules.d.cts +29 -3
  253. package/dist/actions/update-transaction-rules.d.cts.map +1 -1
  254. package/dist/actions/update-transaction-rules.d.mts +29 -3
  255. package/dist/actions/update-transaction-rules.d.mts.map +1 -1
  256. package/dist/actions/update-transaction-rules.mjs.map +1 -1
  257. package/dist/actions/update-transaction.cjs.map +1 -1
  258. package/dist/actions/update-transaction.d.cts +74 -3
  259. package/dist/actions/update-transaction.d.cts.map +1 -1
  260. package/dist/actions/update-transaction.d.mts +74 -3
  261. package/dist/actions/update-transaction.d.mts.map +1 -1
  262. package/dist/actions/update-transaction.mjs.map +1 -1
  263. package/dist/actions/update-users-taggings.cjs.map +1 -1
  264. package/dist/actions/update-users-taggings.d.cts +23 -3
  265. package/dist/actions/update-users-taggings.d.cts.map +1 -1
  266. package/dist/actions/update-users-taggings.d.mts +23 -3
  267. package/dist/actions/update-users-taggings.d.mts.map +1 -1
  268. package/dist/actions/update-users-taggings.mjs.map +1 -1
  269. package/dist/catalog.cjs +13 -1
  270. package/dist/catalog.cjs.map +1 -1
  271. package/dist/catalog.d.cts +12 -0
  272. package/dist/catalog.d.mts +12 -0
  273. package/dist/catalog.mjs +13 -1
  274. package/dist/catalog.mjs.map +1 -1
  275. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-categories.cjs","names":["z","action"],"sources":["../../src/actions/list-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListCategoriesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page (10-1000). Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing categories associated with a user.\");\nconst MxTechnologiesListCategories_CategorySchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"The unique identifier (GUID) of the category.\"),\n name: z.string().describe(\"The name of the category.\"),\n metadata: z.string().describe(\"Client-specific meta information for the category. Null for default categories.\").nullable().optional(),\n is_income: z.boolean().describe(\"Whether this category represents income.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when custom category was created (null for defaults).\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is a default MX category.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when custom category was last updated (null for defaults).\").nullable().optional(),\n parent_guid: z.string().describe(\"GUID of the parent category, if this is a sub-category.\").nullable().optional(),\n}).describe(\"Category object as returned by MX.\");\nconst MxTechnologiesListCategories_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of entries available.\"),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListCategoriesOutput: z.ZodTypeAny = z.object({\n categories: z.array(MxTechnologiesListCategories_CategorySchema).describe(\"List of this user's default and custom categories.\"),\n pagination: MxTechnologiesListCategories_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing categories.\");\n\nexport const mxTechnologiesListCategories = action(\"MX_TECHNOLOGIES_LIST_CATEGORIES\", {\n slug: \"mx_technologies-list-categories\",\n name: \"List categories\",\n description: \"Tool to list all categories for a user. Use when you need to fetch both default and custom categories for a given user GUID.\",\n input: MxTechnologiesListCategoriesInput,\n output: MxTechnologiesListCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,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,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,YAAYA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oDAAoD;CAC9H,YAAY,8CAA8C,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-categories.cjs","names":["z","action"],"sources":["../../src/actions/list-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListCategoriesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page (10-1000). Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing categories associated with a user.\");\nconst MxTechnologiesListCategories_CategorySchema = z.object({\n guid: z.string().describe(\"The unique identifier (GUID) of the category.\").nullable(),\n name: z.string().describe(\"The name of the category.\").nullable(),\n metadata: z.string().describe(\"Client-specific meta information for the category. Null for default categories.\").nullable().optional(),\n is_income: z.boolean().describe(\"Whether this category represents income.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when custom category was created (null for defaults).\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is a default MX category.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when custom category was last updated (null for defaults).\").nullable().optional(),\n parent_guid: z.string().describe(\"GUID of the parent category, if this is a sub-category.\").nullable().optional(),\n}).describe(\"Category object as returned by MX.\");\nconst MxTechnologiesListCategories_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total number of entries available.\").nullable(),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListCategoriesOutput = z.object({\n categories: z.array(MxTechnologiesListCategories_CategorySchema).describe(\"List of this user's default and custom categories.\"),\n pagination: MxTechnologiesListCategories_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing categories.\");\n\nexport const mxTechnologiesListCategories = action(\"MX_TECHNOLOGIES_LIST_CATEGORIES\", {\n slug: \"mx_technologies-list-categories\",\n name: \"List categories\",\n description: \"Tool to list all categories for a user. Use when you need to fetch both default and custom categories for a given user GUID.\",\n input: MxTechnologiesListCategoriesInput,\n output: MxTechnologiesListCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,YAA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ListCategoriesInput: z.ZodTypeAny;
5
- declare const MxTechnologiesListCategoriesOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesListCategories: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesListCategoriesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ user_guid: z.ZodString;
7
+ records_per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
8
+ }, z.core.$strip>;
9
+ declare const MxTechnologiesListCategoriesOutput: z.ZodObject<{
10
+ categories: z.ZodArray<z.ZodObject<{
11
+ guid: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ is_income: z.ZodNullable<z.ZodBoolean>;
15
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ is_default: z.ZodNullable<z.ZodBoolean>;
17
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ parent_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>>;
20
+ pagination: z.ZodNullable<z.ZodObject<{
21
+ per_page: z.ZodNullable<z.ZodNumber>;
22
+ total_pages: z.ZodNullable<z.ZodNumber>;
23
+ current_page: z.ZodNullable<z.ZodNumber>;
24
+ total_entries: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ declare const mxTechnologiesListCategories: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ user_guid: string;
29
+ page?: number | undefined;
30
+ records_per_page?: number | undefined;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { mxTechnologiesListCategories };
9
34
  //# sourceMappingURL=list-categories.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-categories.d.cts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAI8B;AAAA,cAiBnE,kCAAA,EAAoC,CAAA,CAAE,UAGG;AAAA,cAEzC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-categories.d.cts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAqBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,34 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-categories.d.ts
4
- declare const MxTechnologiesListCategoriesInput: z.ZodTypeAny;
5
- declare const MxTechnologiesListCategoriesOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesListCategories: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesListCategoriesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ user_guid: z.ZodString;
7
+ records_per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
8
+ }, z.core.$strip>;
9
+ declare const MxTechnologiesListCategoriesOutput: z.ZodObject<{
10
+ categories: z.ZodArray<z.ZodObject<{
11
+ guid: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ is_income: z.ZodNullable<z.ZodBoolean>;
15
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ is_default: z.ZodNullable<z.ZodBoolean>;
17
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ parent_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>>;
20
+ pagination: z.ZodNullable<z.ZodObject<{
21
+ per_page: z.ZodNullable<z.ZodNumber>;
22
+ total_pages: z.ZodNullable<z.ZodNumber>;
23
+ current_page: z.ZodNullable<z.ZodNumber>;
24
+ total_entries: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ declare const mxTechnologiesListCategories: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ user_guid: string;
29
+ page?: number | undefined;
30
+ records_per_page?: number | undefined;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
32
  //#endregion
8
33
  export { mxTechnologiesListCategories };
9
34
  //# sourceMappingURL=list-categories.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-categories.d.mts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAI8B;AAAA,cAiBnE,kCAAA,EAAoC,CAAA,CAAE,UAGG;AAAA,cAEzC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-categories.d.mts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAqBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -7,20 +7,20 @@ const MxTechnologiesListCategoriesInput = z.object({
7
7
  records_per_page: z.number().int().default(25).describe("Number of records per page (10-1000). Defaults to 25.").optional()
8
8
  }).describe("Request parameters for listing categories associated with a user.");
9
9
  const MxTechnologiesListCategories_CategorySchema = z.object({
10
- guid: z.string().describe("The unique identifier (GUID) of the category."),
11
- name: z.string().describe("The name of the category."),
10
+ guid: z.string().describe("The unique identifier (GUID) of the category.").nullable(),
11
+ name: z.string().describe("The name of the category.").nullable(),
12
12
  metadata: z.string().describe("Client-specific meta information for the category. Null for default categories.").nullable().optional(),
13
- is_income: z.boolean().describe("Whether this category represents income."),
13
+ is_income: z.boolean().describe("Whether this category represents income.").nullable(),
14
14
  created_at: z.string().describe("ISO 8601 timestamp when custom category was created (null for defaults).").nullable().optional(),
15
- is_default: z.boolean().describe("Whether this is a default MX category."),
15
+ is_default: z.boolean().describe("Whether this is a default MX category.").nullable(),
16
16
  updated_at: z.string().describe("ISO 8601 timestamp when custom category was last updated (null for defaults).").nullable().optional(),
17
17
  parent_guid: z.string().describe("GUID of the parent category, if this is a sub-category.").nullable().optional()
18
18
  }).describe("Category object as returned by MX.");
19
19
  const MxTechnologiesListCategories_PaginationSchema = z.object({
20
- per_page: z.number().int().describe("Number of records per page."),
21
- total_pages: z.number().int().describe("Total number of pages available."),
22
- current_page: z.number().int().describe("Current page number."),
23
- total_entries: z.number().int().describe("Total number of entries available.")
20
+ per_page: z.number().int().describe("Number of records per page.").nullable(),
21
+ total_pages: z.number().int().describe("Total number of pages available.").nullable(),
22
+ current_page: z.number().int().describe("Current page number.").nullable(),
23
+ total_entries: z.number().int().describe("Total number of entries available.").nullable()
24
24
  }).describe("Pagination details for list responses.");
25
25
  const mxTechnologiesListCategories = action("MX_TECHNOLOGIES_LIST_CATEGORIES", {
26
26
  slug: "mx_technologies-list-categories",
@@ -1 +1 @@
1
- {"version":3,"file":"list-categories.mjs","names":[],"sources":["../../src/actions/list-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListCategoriesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page (10-1000). Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing categories associated with a user.\");\nconst MxTechnologiesListCategories_CategorySchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"The unique identifier (GUID) of the category.\"),\n name: z.string().describe(\"The name of the category.\"),\n metadata: z.string().describe(\"Client-specific meta information for the category. Null for default categories.\").nullable().optional(),\n is_income: z.boolean().describe(\"Whether this category represents income.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when custom category was created (null for defaults).\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is a default MX category.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when custom category was last updated (null for defaults).\").nullable().optional(),\n parent_guid: z.string().describe(\"GUID of the parent category, if this is a sub-category.\").nullable().optional(),\n}).describe(\"Category object as returned by MX.\");\nconst MxTechnologiesListCategories_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of entries available.\"),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListCategoriesOutput: z.ZodTypeAny = z.object({\n categories: z.array(MxTechnologiesListCategories_CategorySchema).describe(\"List of this user's default and custom categories.\"),\n pagination: MxTechnologiesListCategories_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing categories.\");\n\nexport const mxTechnologiesListCategories = action(\"MX_TECHNOLOGIES_LIST_CATEGORIES\", {\n slug: \"mx_technologies-list-categories\",\n name: \"List categories\",\n description: \"Tool to list all categories for a user. Use when you need to fetch both default and custom categories for a given user GUID.\",\n input: MxTechnologiesListCategoriesInput,\n output: MxTechnologiesListCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,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AAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,YAAY,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oDAAoD;EAC9H,YAAY,8CAA8C,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-categories.mjs","names":[],"sources":["../../src/actions/list-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListCategoriesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page (10-1000). Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing categories associated with a user.\");\nconst MxTechnologiesListCategories_CategorySchema = z.object({\n guid: z.string().describe(\"The unique identifier (GUID) of the category.\").nullable(),\n name: z.string().describe(\"The name of the category.\").nullable(),\n metadata: z.string().describe(\"Client-specific meta information for the category. Null for default categories.\").nullable().optional(),\n is_income: z.boolean().describe(\"Whether this category represents income.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when custom category was created (null for defaults).\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is a default MX category.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when custom category was last updated (null for defaults).\").nullable().optional(),\n parent_guid: z.string().describe(\"GUID of the parent category, if this is a sub-category.\").nullable().optional(),\n}).describe(\"Category object as returned by MX.\");\nconst MxTechnologiesListCategories_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total number of entries available.\").nullable(),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListCategoriesOutput = z.object({\n categories: z.array(MxTechnologiesListCategories_CategorySchema).describe(\"List of this user's default and custom categories.\"),\n pagination: MxTechnologiesListCategories_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing categories.\");\n\nexport const mxTechnologiesListCategories = action(\"MX_TECHNOLOGIES_LIST_CATEGORIES\", {\n slug: \"mx_technologies-list-categories\",\n name: \"List categories\",\n description: \"Tool to list all categories for a user. Use when you need to fetch both default and custom categories for a given user GUID.\",\n input: MxTechnologiesListCategoriesInput,\n output: MxTechnologiesListCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,YAAY,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oDAAoD;EAC9H,YAAY,8CAA8C,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -8,17 +8,17 @@ const MxTechnologiesListChallengesInput = zod.z.object({
8
8
  records_per_page: zod.z.number().int().default(25).describe("Number of records per page; valid range 10–1000 (default 25).").optional()
9
9
  }).describe("Request parameters for listing MFA challenges for a specific member.");
10
10
  const MxTechnologiesListChallenges_ChallengeSchema = zod.z.object({
11
- guid: zod.z.string().describe("Globally unique identifier for the challenge."),
11
+ guid: zod.z.string().describe("Globally unique identifier for the challenge.").nullable(),
12
12
  type: zod.z.enum([
13
13
  "TEXT",
14
14
  "OPTIONS",
15
15
  "TOKEN",
16
16
  "IMAGE_DATA",
17
17
  "IMAGE_OPTIONS"
18
- ]).describe("Type of challenge; controls which conditional fields are present."),
19
- label: zod.z.string().describe("Human-readable prompt presented to the user."),
18
+ ]).describe("Type of challenge; controls which conditional fields are present.").nullable(),
19
+ label: zod.z.string().describe("Human-readable prompt presented to the user.").nullable(),
20
20
  options: zod.z.array(zod.z.string()).describe("List of selectable responses when type is 'OPTIONS'.").nullable().optional(),
21
- field_name: zod.z.string().describe("Non-unique key identifying this challenge field."),
21
+ field_name: zod.z.string().describe("Non-unique key identifying this challenge field.").nullable(),
22
22
  image_data: zod.z.string().describe("Base64-encoded image when type is 'IMAGE_DATA'.").nullable().optional(),
23
23
  image_options: zod.z.array(zod.z.string()).describe("List of encoded images when type is 'IMAGE_OPTIONS'.").nullable().optional()
24
24
  }).describe("A single MFA challenge prompt returned by the MX Platform.\n\nConditional fields appear only for certain types:\n - options: when type == 'OPTIONS'\n - image_data: when type == 'IMAGE_DATA'\n - image_options: when type == 'IMAGE_OPTIONS'");
@@ -1 +1 @@
1
- {"version":3,"file":"list-challenges.cjs","names":["z","action"],"sources":["../../src/actions/list-challenges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListChallengesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results, must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the MX user (prefix 'USR-').\"),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page; valid range 10–1000 (default 25).\").optional(),\n}).describe(\"Request parameters for listing MFA challenges for a specific member.\");\nconst MxTechnologiesListChallenges_ChallengeSchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"Globally unique identifier for the challenge.\"),\n type: z.enum([\"TEXT\", \"OPTIONS\", \"TOKEN\", \"IMAGE_DATA\", \"IMAGE_OPTIONS\"]).describe(\"Type of challenge; controls which conditional fields are present.\"),\n label: z.string().describe(\"Human-readable prompt presented to the user.\"),\n options: z.array(z.string()).describe(\"List of selectable responses when type is 'OPTIONS'.\").nullable().optional(),\n field_name: z.string().describe(\"Non-unique key identifying this challenge field.\"),\n image_data: z.string().describe(\"Base64-encoded image when type is 'IMAGE_DATA'.\").nullable().optional(),\n image_options: z.array(z.string()).describe(\"List of encoded images when type is 'IMAGE_OPTIONS'.\").nullable().optional(),\n}).describe(\"A single MFA challenge prompt returned by the MX Platform.\\n\\nConditional fields appear only for certain types:\\n - options: when type == 'OPTIONS'\\n - image_data: when type == 'IMAGE_DATA'\\n - image_options: when type == 'IMAGE_OPTIONS'\");\nexport const MxTechnologiesListChallengesOutput: z.ZodTypeAny = z.object({\n challenges: z.array(MxTechnologiesListChallenges_ChallengeSchema).describe(\"List of challenge objects to present to the end user.\"),\n}).describe(\"Response schema for listing MFA challenges.\");\n\nexport const mxTechnologiesListChallenges = action(\"MX_TECHNOLOGIES_LIST_CHALLENGES\", {\n slug: \"mx_technologies-list-challenges\",\n name: \"List challenges\",\n description: \"Tool to list MFA challenges for a member. Use when the member is in CHALLENGED state to retrieve prompts to answer.\",\n input: MxTechnologiesListChallengesInput,\n output: MxTechnologiesListChallengesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAc;CAAe,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACtJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACzE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,kPAAkP;AAC9P,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,YAAYA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uDAAuD,EACpI,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-challenges.cjs","names":["z","action"],"sources":["../../src/actions/list-challenges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListChallengesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results, must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the MX user (prefix 'USR-').\"),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page; valid range 10–1000 (default 25).\").optional(),\n}).describe(\"Request parameters for listing MFA challenges for a specific member.\");\nconst MxTechnologiesListChallenges_ChallengeSchema = z.object({\n guid: z.string().describe(\"Globally unique identifier for the challenge.\").nullable(),\n type: z.enum([\"TEXT\", \"OPTIONS\", \"TOKEN\", \"IMAGE_DATA\", \"IMAGE_OPTIONS\"]).describe(\"Type of challenge; controls which conditional fields are present.\").nullable(),\n label: z.string().describe(\"Human-readable prompt presented to the user.\").nullable(),\n options: z.array(z.string()).describe(\"List of selectable responses when type is 'OPTIONS'.\").nullable().optional(),\n field_name: z.string().describe(\"Non-unique key identifying this challenge field.\").nullable(),\n image_data: z.string().describe(\"Base64-encoded image when type is 'IMAGE_DATA'.\").nullable().optional(),\n image_options: z.array(z.string()).describe(\"List of encoded images when type is 'IMAGE_OPTIONS'.\").nullable().optional(),\n}).describe(\"A single MFA challenge prompt returned by the MX Platform.\\n\\nConditional fields appear only for certain types:\\n - options: when type == 'OPTIONS'\\n - image_data: when type == 'IMAGE_DATA'\\n - image_options: when type == 'IMAGE_OPTIONS'\");\nexport const MxTechnologiesListChallengesOutput = z.object({\n challenges: z.array(MxTechnologiesListChallenges_ChallengeSchema).describe(\"List of challenge objects to present to the end user.\"),\n}).describe(\"Response schema for listing MFA challenges.\");\n\nexport const mxTechnologiesListChallenges = action(\"MX_TECHNOLOGIES_LIST_CHALLENGES\", {\n slug: \"mx_technologies-list-challenges\",\n name: \"List challenges\",\n description: \"Tool to list MFA challenges for a member. Use when the member is in CHALLENGED state to retrieve prompts to answer.\",\n input: MxTechnologiesListChallengesInput,\n output: MxTechnologiesListChallengesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA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O;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-challenges.d.ts
4
- declare const MxTechnologiesListChallengesInput: z.ZodTypeAny;
5
- declare const MxTechnologiesListChallengesOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesListChallenges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesListChallengesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ user_guid: z.ZodString;
7
+ member_guid: z.ZodString;
8
+ records_per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
9
+ }, z.core.$strip>;
10
+ declare const MxTechnologiesListChallengesOutput: z.ZodObject<{
11
+ challenges: z.ZodArray<z.ZodObject<{
12
+ guid: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodNullable<z.ZodEnum<{
14
+ TEXT: "TEXT";
15
+ OPTIONS: "OPTIONS";
16
+ TOKEN: "TOKEN";
17
+ IMAGE_DATA: "IMAGE_DATA";
18
+ IMAGE_OPTIONS: "IMAGE_OPTIONS";
19
+ }>>;
20
+ label: z.ZodNullable<z.ZodString>;
21
+ options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
+ field_name: z.ZodNullable<z.ZodString>;
23
+ image_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ image_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ declare const mxTechnologiesListChallenges: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ user_guid: string;
29
+ member_guid: string;
30
+ page?: number | undefined;
31
+ records_per_page?: number | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { mxTechnologiesListChallenges };
9
35
  //# sourceMappingURL=list-challenges.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-challenges.d.cts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKiC;AAAA,cAUtE,kCAAA,EAAoC,CAAA,CAAE,UAEO;AAAA,cAE7C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-challenges.d.cts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAejC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-challenges.d.ts
4
- declare const MxTechnologiesListChallengesInput: z.ZodTypeAny;
5
- declare const MxTechnologiesListChallengesOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesListChallenges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesListChallengesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ user_guid: z.ZodString;
7
+ member_guid: z.ZodString;
8
+ records_per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
9
+ }, z.core.$strip>;
10
+ declare const MxTechnologiesListChallengesOutput: z.ZodObject<{
11
+ challenges: z.ZodArray<z.ZodObject<{
12
+ guid: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodNullable<z.ZodEnum<{
14
+ TEXT: "TEXT";
15
+ OPTIONS: "OPTIONS";
16
+ TOKEN: "TOKEN";
17
+ IMAGE_DATA: "IMAGE_DATA";
18
+ IMAGE_OPTIONS: "IMAGE_OPTIONS";
19
+ }>>;
20
+ label: z.ZodNullable<z.ZodString>;
21
+ options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
+ field_name: z.ZodNullable<z.ZodString>;
23
+ image_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ image_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ declare const mxTechnologiesListChallenges: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ user_guid: string;
29
+ member_guid: string;
30
+ page?: number | undefined;
31
+ records_per_page?: number | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { mxTechnologiesListChallenges };
9
35
  //# sourceMappingURL=list-challenges.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-challenges.d.mts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKiC;AAAA,cAUtE,kCAAA,EAAoC,CAAA,CAAE,UAEO;AAAA,cAE7C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-challenges.d.mts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAejC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -8,17 +8,17 @@ const MxTechnologiesListChallengesInput = z.object({
8
8
  records_per_page: z.number().int().default(25).describe("Number of records per page; valid range 10–1000 (default 25).").optional()
9
9
  }).describe("Request parameters for listing MFA challenges for a specific member.");
10
10
  const MxTechnologiesListChallenges_ChallengeSchema = z.object({
11
- guid: z.string().describe("Globally unique identifier for the challenge."),
11
+ guid: z.string().describe("Globally unique identifier for the challenge.").nullable(),
12
12
  type: z.enum([
13
13
  "TEXT",
14
14
  "OPTIONS",
15
15
  "TOKEN",
16
16
  "IMAGE_DATA",
17
17
  "IMAGE_OPTIONS"
18
- ]).describe("Type of challenge; controls which conditional fields are present."),
19
- label: z.string().describe("Human-readable prompt presented to the user."),
18
+ ]).describe("Type of challenge; controls which conditional fields are present.").nullable(),
19
+ label: z.string().describe("Human-readable prompt presented to the user.").nullable(),
20
20
  options: z.array(z.string()).describe("List of selectable responses when type is 'OPTIONS'.").nullable().optional(),
21
- field_name: z.string().describe("Non-unique key identifying this challenge field."),
21
+ field_name: z.string().describe("Non-unique key identifying this challenge field.").nullable(),
22
22
  image_data: z.string().describe("Base64-encoded image when type is 'IMAGE_DATA'.").nullable().optional(),
23
23
  image_options: z.array(z.string()).describe("List of encoded images when type is 'IMAGE_OPTIONS'.").nullable().optional()
24
24
  }).describe("A single MFA challenge prompt returned by the MX Platform.\n\nConditional fields appear only for certain types:\n - options: when type == 'OPTIONS'\n - image_data: when type == 'IMAGE_DATA'\n - image_options: when type == 'IMAGE_OPTIONS'");
@@ -1 +1 @@
1
- {"version":3,"file":"list-challenges.mjs","names":[],"sources":["../../src/actions/list-challenges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListChallengesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results, must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the MX user (prefix 'USR-').\"),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page; valid range 10–1000 (default 25).\").optional(),\n}).describe(\"Request parameters for listing MFA challenges for a specific member.\");\nconst MxTechnologiesListChallenges_ChallengeSchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"Globally unique identifier for the challenge.\"),\n type: z.enum([\"TEXT\", \"OPTIONS\", \"TOKEN\", \"IMAGE_DATA\", \"IMAGE_OPTIONS\"]).describe(\"Type of challenge; controls which conditional fields are present.\"),\n label: z.string().describe(\"Human-readable prompt presented to the user.\"),\n options: z.array(z.string()).describe(\"List of selectable responses when type is 'OPTIONS'.\").nullable().optional(),\n field_name: z.string().describe(\"Non-unique key identifying this challenge field.\"),\n image_data: z.string().describe(\"Base64-encoded image when type is 'IMAGE_DATA'.\").nullable().optional(),\n image_options: z.array(z.string()).describe(\"List of encoded images when type is 'IMAGE_OPTIONS'.\").nullable().optional(),\n}).describe(\"A single MFA challenge prompt returned by the MX Platform.\\n\\nConditional fields appear only for certain types:\\n - options: when type == 'OPTIONS'\\n - image_data: when type == 'IMAGE_DATA'\\n - image_options: when type == 'IMAGE_OPTIONS'\");\nexport const MxTechnologiesListChallengesOutput: z.ZodTypeAny = z.object({\n challenges: z.array(MxTechnologiesListChallenges_ChallengeSchema).describe(\"List of challenge objects to present to the end user.\"),\n}).describe(\"Response schema for listing MFA challenges.\");\n\nexport const mxTechnologiesListChallenges = action(\"MX_TECHNOLOGIES_LIST_CHALLENGES\", {\n slug: \"mx_technologies-list-challenges\",\n name: \"List challenges\",\n description: \"Tool to list MFA challenges for a member. Use when the member is in CHALLENGED state to retrieve prompts to answer.\",\n input: MxTechnologiesListChallengesInput,\n output: MxTechnologiesListChallengesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAc;CAAe,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACtJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACzE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,kPAAkP;AAK9P,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uDAAuD,EACpI,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-challenges.mjs","names":[],"sources":["../../src/actions/list-challenges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListChallengesInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results, must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the MX user (prefix 'USR-').\"),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page; valid range 10–1000 (default 25).\").optional(),\n}).describe(\"Request parameters for listing MFA challenges for a specific member.\");\nconst MxTechnologiesListChallenges_ChallengeSchema = z.object({\n guid: z.string().describe(\"Globally unique identifier for the challenge.\").nullable(),\n type: z.enum([\"TEXT\", \"OPTIONS\", \"TOKEN\", \"IMAGE_DATA\", \"IMAGE_OPTIONS\"]).describe(\"Type of challenge; controls which conditional fields are present.\").nullable(),\n label: z.string().describe(\"Human-readable prompt presented to the user.\").nullable(),\n options: z.array(z.string()).describe(\"List of selectable responses when type is 'OPTIONS'.\").nullable().optional(),\n field_name: z.string().describe(\"Non-unique key identifying this challenge field.\").nullable(),\n image_data: z.string().describe(\"Base64-encoded image when type is 'IMAGE_DATA'.\").nullable().optional(),\n image_options: z.array(z.string()).describe(\"List of encoded images when type is 'IMAGE_OPTIONS'.\").nullable().optional(),\n}).describe(\"A single MFA challenge prompt returned by the MX Platform.\\n\\nConditional fields appear only for certain types:\\n - options: when type == 'OPTIONS'\\n - image_data: when type == 'IMAGE_DATA'\\n - image_options: when type == 'IMAGE_OPTIONS'\");\nexport const MxTechnologiesListChallengesOutput = z.object({\n challenges: z.array(MxTechnologiesListChallenges_ChallengeSchema).describe(\"List of challenge objects to present to the end user.\"),\n}).describe(\"Response schema for listing MFA challenges.\");\n\nexport const mxTechnologiesListChallenges = action(\"MX_TECHNOLOGIES_LIST_CHALLENGES\", {\n slug: \"mx_technologies-list-challenges\",\n name: \"List challenges\",\n description: \"Tool to list MFA challenges for a member. Use when the member is in CHALLENGED state to retrieve prompts to answer.\",\n input: MxTechnologiesListChallengesInput,\n output: MxTechnologiesListChallengesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAc;CAAe,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,kPAAkP;AAK9P,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uDAAuD,EACpI,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -7,16 +7,16 @@ const MxTechnologiesListFavoriteInstitutionsInput = zod.z.object({
7
7
  records_per_page: zod.z.number().int().default(25).describe("Number of records per page. Valid range: 10-1000. Defaults to 25.").optional()
8
8
  }).describe("Request parameters for listing partner favorite institutions.");
9
9
  const MxTechnologiesListFavoriteInstitutions_PaginationSchema = zod.z.object({
10
- per_page: zod.z.number().int().describe("Number of records per page."),
11
- total_pages: zod.z.number().int().describe("Total number of pages available."),
12
- current_page: zod.z.number().int().describe("Current page number."),
13
- total_entries: zod.z.number().int().describe("Total number of records available.")
10
+ per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
11
+ total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
12
+ current_page: zod.z.number().int().describe("Current page number.").nullable(),
13
+ total_entries: zod.z.number().int().describe("Total number of records available.").nullable()
14
14
  }).describe("Pagination details for list responses.");
15
15
  const MxTechnologiesListFavoriteInstitutions_InstitutionSchema = zod.z.object({
16
16
  url: zod.z.string().describe("URL of the institution's login page.").nullable().optional(),
17
- code: zod.z.string().describe("Unique MX-defined institution code (e.g., 'chase', 'wells_fargo')."),
17
+ code: zod.z.string().describe("Unique MX-defined institution code (e.g., 'chase', 'wells_fargo').").nullable(),
18
18
  guid: zod.z.string().describe("Unique MX GUID for the institution (e.g., 'INS-123456').").nullable().optional(),
19
- name: zod.z.string().describe("Display name of the financial institution."),
19
+ name: zod.z.string().describe("Display name of the financial institution.").nullable(),
20
20
  is_hidden: zod.z.boolean().describe("Whether the institution is hidden from end users.").nullable().optional(),
21
21
  small_logo_url: zod.z.string().describe("URL to the small-sized logo image of the institution.").nullable().optional(),
22
22
  supports_oauth: zod.z.boolean().describe("Whether the institution supports OAuth-based connections.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"list-favorite-institutions.cjs","names":["z","action"],"sources":["../../src/actions/list-favorite-institutions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListFavoriteInstitutionsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be >= 1. Defaults to 1.\").optional(),\n iso_country_code: z.array(z.string()).describe(\"Filter institutions by ISO country codes. Supported values: 'US' (United States), 'CA' (Canada), 'MX' (Mexico).\").optional(),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page. Valid range: 10-1000. Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing partner favorite institutions.\");\nconst MxTechnologiesListFavoriteInstitutions_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of records available.\"),\n}).describe(\"Pagination details for list responses.\");\nconst MxTechnologiesListFavoriteInstitutions_InstitutionSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the institution's login page.\").nullable().optional(),\n code: z.string().describe(\"Unique MX-defined institution code (e.g., 'chase', 'wells_fargo').\"),\n guid: z.string().describe(\"Unique MX GUID for the institution (e.g., 'INS-123456').\").nullable().optional(),\n name: z.string().describe(\"Display name of the financial institution.\"),\n is_hidden: z.boolean().describe(\"Whether the institution is hidden from end users.\").nullable().optional(),\n small_logo_url: z.string().describe(\"URL to the small-sized logo image of the institution.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"Whether the institution supports OAuth-based connections.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"URL to the medium-sized logo image of the institution.\").nullable().optional(),\n iso_country_code: z.string().describe(\"ISO country code where institution operates (US, CA, MX).\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Whether the institution is disabled for this partner's account.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"Whether institution supports tax document retrieval.\").nullable().optional(),\n supports_account_statement: z.boolean().describe(\"Whether institution supports account statements.\").nullable().optional(),\n supports_transaction_history: z.boolean().describe(\"Whether institution supports transaction history retrieval.\").nullable().optional(),\n supports_account_verification: z.boolean().describe(\"Whether institution supports account verification.\").nullable().optional(),\n supports_account_identification: z.boolean().describe(\"Whether institution supports account identification.\").nullable().optional(),\n}).passthrough().describe(\"Institution object representing a financial institution in MX's database.\");\nexport const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodTypeAny = z.object({\n pagination: MxTechnologiesListFavoriteInstitutions_PaginationSchema.nullable(),\n institutions: z.array(MxTechnologiesListFavoriteInstitutions_InstitutionSchema).describe(\"List of favorite institution objects.\"),\n}).describe(\"Response schema for listing favorite institutions.\");\n\nexport const mxTechnologiesListFavoriteInstitutions = action(\"MX_TECHNOLOGIES_LIST_FAVORITE_INSTITUTIONS\", {\n slug: \"mx_technologies-list-favorite-institutions\",\n name: \"List favorite institutions\",\n description: \"List the partner's favorite financial institutions, sorted by popularity. Use this tool to retrieve institutions that have been pre-configured as favorites for the partner account. Results are paginated and can be filtered by country. Note: Favorite institutions must be configured by MX - contact MX support to set up favorites.\",\n input: MxTechnologiesListFavoriteInstitutionsInput,\n output: MxTechnologiesListFavoriteInstitutionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC3K,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,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C,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,8BAA8BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,+BAA+BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,iCAAiCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AACrG,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,YAAY,wDAAwD,SAAS;CAC7E,cAAcA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uCAAuC;AAClI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,yCAAyCC,eAAAA,OAAO,8CAA8C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-favorite-institutions.cjs","names":["z","action"],"sources":["../../src/actions/list-favorite-institutions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListFavoriteInstitutionsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be >= 1. Defaults to 1.\").optional(),\n iso_country_code: z.array(z.string()).describe(\"Filter institutions by ISO country codes. Supported values: 'US' (United States), 'CA' (Canada), 'MX' (Mexico).\").optional(),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page. Valid range: 10-1000. Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing partner favorite institutions.\");\nconst MxTechnologiesListFavoriteInstitutions_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total number of records available.\").nullable(),\n}).describe(\"Pagination details for list responses.\");\nconst MxTechnologiesListFavoriteInstitutions_InstitutionSchema = z.object({\n url: z.string().describe(\"URL of the institution's login page.\").nullable().optional(),\n code: z.string().describe(\"Unique MX-defined institution code (e.g., 'chase', 'wells_fargo').\").nullable(),\n guid: z.string().describe(\"Unique MX GUID for the institution (e.g., 'INS-123456').\").nullable().optional(),\n name: z.string().describe(\"Display name of the financial institution.\").nullable(),\n is_hidden: z.boolean().describe(\"Whether the institution is hidden from end users.\").nullable().optional(),\n small_logo_url: z.string().describe(\"URL to the small-sized logo image of the institution.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"Whether the institution supports OAuth-based connections.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"URL to the medium-sized logo image of the institution.\").nullable().optional(),\n iso_country_code: z.string().describe(\"ISO country code where institution operates (US, CA, MX).\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Whether the institution is disabled for this partner's account.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"Whether institution supports tax document retrieval.\").nullable().optional(),\n supports_account_statement: z.boolean().describe(\"Whether institution supports account statements.\").nullable().optional(),\n supports_transaction_history: z.boolean().describe(\"Whether institution supports transaction history retrieval.\").nullable().optional(),\n supports_account_verification: z.boolean().describe(\"Whether institution supports account verification.\").nullable().optional(),\n supports_account_identification: z.boolean().describe(\"Whether institution supports account identification.\").nullable().optional(),\n}).passthrough().describe(\"Institution object representing a financial institution in MX's database.\");\nexport const MxTechnologiesListFavoriteInstitutionsOutput = z.object({\n pagination: MxTechnologiesListFavoriteInstitutions_PaginationSchema.nullable(),\n institutions: z.array(MxTechnologiesListFavoriteInstitutions_InstitutionSchema).describe(\"List of favorite institution objects.\"),\n}).describe(\"Response schema for listing favorite institutions.\");\n\nexport const mxTechnologiesListFavoriteInstitutions = action(\"MX_TECHNOLOGIES_LIST_FAVORITE_INSTITUTIONS\", {\n slug: \"mx_technologies-list-favorite-institutions\",\n name: \"List favorite institutions\",\n description: \"List the partner's favorite financial institutions, sorted by popularity. Use this tool to retrieve institutions that have been pre-configured as favorites for the partner account. Results are paginated and can be filtered by country. Note: Favorite institutions must be configured by MX - contact MX support to set up favorites.\",\n input: MxTechnologiesListFavoriteInstitutionsInput,\n output: MxTechnologiesListFavoriteInstitutionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC3K,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,O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Q,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,iCAAiCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AACrG,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,YAAY,wDAAwD,SAAS;CAC7E,cAAcA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uCAAuC;AAClI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,yCAAyCC,eAAAA,OAAO,8CAA8C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-favorite-institutions.d.ts
4
- declare const MxTechnologiesListFavoriteInstitutionsInput: z.ZodTypeAny;
5
- declare const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesListFavoriteInstitutions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesListFavoriteInstitutionsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ iso_country_code: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ records_per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
8
+ }, z.core.$strip>;
9
+ declare const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodObject<{
10
+ pagination: z.ZodNullable<z.ZodObject<{
11
+ per_page: z.ZodNullable<z.ZodNumber>;
12
+ total_pages: z.ZodNullable<z.ZodNumber>;
13
+ current_page: z.ZodNullable<z.ZodNumber>;
14
+ total_entries: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$strip>>;
16
+ institutions: z.ZodArray<z.ZodObject<{
17
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ code: z.ZodNullable<z.ZodString>;
19
+ guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ name: z.ZodNullable<z.ZodString>;
21
+ is_hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ small_logo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ supports_oauth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ medium_logo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ iso_country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ is_disabled_by_client: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ supports_tax_document: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ supports_account_statement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ supports_transaction_history: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30
+ supports_account_verification: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ supports_account_identification: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ }, z.core.$loose>>;
33
+ }, z.core.$strip>;
34
+ declare const mxTechnologiesListFavoriteInstitutions: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ page?: number | undefined;
36
+ iso_country_code?: string[] | undefined;
37
+ records_per_page?: number | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { mxTechnologiesListFavoriteInstitutions };
9
41
  //# sourceMappingURL=list-favorite-institutions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-favorite-institutions.d.cts","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAIgB;AAAA,cAwB/D,4CAAA,EAA8C,CAAA,CAAE,UAGI;AAAA,cAEpD,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-favorite-institutions.d.cts","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cA4B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK5C,sCAAA,gCAAsC,wBAAA"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-favorite-institutions.d.ts
4
- declare const MxTechnologiesListFavoriteInstitutionsInput: z.ZodTypeAny;
5
- declare const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesListFavoriteInstitutions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesListFavoriteInstitutionsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ iso_country_code: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ records_per_page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
8
+ }, z.core.$strip>;
9
+ declare const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodObject<{
10
+ pagination: z.ZodNullable<z.ZodObject<{
11
+ per_page: z.ZodNullable<z.ZodNumber>;
12
+ total_pages: z.ZodNullable<z.ZodNumber>;
13
+ current_page: z.ZodNullable<z.ZodNumber>;
14
+ total_entries: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$strip>>;
16
+ institutions: z.ZodArray<z.ZodObject<{
17
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ code: z.ZodNullable<z.ZodString>;
19
+ guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ name: z.ZodNullable<z.ZodString>;
21
+ is_hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ small_logo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ supports_oauth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ medium_logo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ iso_country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ is_disabled_by_client: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ supports_tax_document: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ supports_account_statement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ supports_transaction_history: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30
+ supports_account_verification: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ supports_account_identification: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ }, z.core.$loose>>;
33
+ }, z.core.$strip>;
34
+ declare const mxTechnologiesListFavoriteInstitutions: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ page?: number | undefined;
36
+ iso_country_code?: string[] | undefined;
37
+ records_per_page?: number | undefined;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { mxTechnologiesListFavoriteInstitutions };
9
41
  //# sourceMappingURL=list-favorite-institutions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-favorite-institutions.d.mts","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAIgB;AAAA,cAwB/D,4CAAA,EAA8C,CAAA,CAAE,UAGI;AAAA,cAEpD,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-favorite-institutions.d.mts","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cA4B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK5C,sCAAA,gCAAsC,wBAAA"}
@@ -7,16 +7,16 @@ const MxTechnologiesListFavoriteInstitutionsInput = z.object({
7
7
  records_per_page: z.number().int().default(25).describe("Number of records per page. Valid range: 10-1000. Defaults to 25.").optional()
8
8
  }).describe("Request parameters for listing partner favorite institutions.");
9
9
  const MxTechnologiesListFavoriteInstitutions_PaginationSchema = z.object({
10
- per_page: z.number().int().describe("Number of records per page."),
11
- total_pages: z.number().int().describe("Total number of pages available."),
12
- current_page: z.number().int().describe("Current page number."),
13
- total_entries: z.number().int().describe("Total number of records available.")
10
+ per_page: z.number().int().describe("Number of records per page.").nullable(),
11
+ total_pages: z.number().int().describe("Total number of pages available.").nullable(),
12
+ current_page: z.number().int().describe("Current page number.").nullable(),
13
+ total_entries: z.number().int().describe("Total number of records available.").nullable()
14
14
  }).describe("Pagination details for list responses.");
15
15
  const MxTechnologiesListFavoriteInstitutions_InstitutionSchema = z.object({
16
16
  url: z.string().describe("URL of the institution's login page.").nullable().optional(),
17
- code: z.string().describe("Unique MX-defined institution code (e.g., 'chase', 'wells_fargo')."),
17
+ code: z.string().describe("Unique MX-defined institution code (e.g., 'chase', 'wells_fargo').").nullable(),
18
18
  guid: z.string().describe("Unique MX GUID for the institution (e.g., 'INS-123456').").nullable().optional(),
19
- name: z.string().describe("Display name of the financial institution."),
19
+ name: z.string().describe("Display name of the financial institution.").nullable(),
20
20
  is_hidden: z.boolean().describe("Whether the institution is hidden from end users.").nullable().optional(),
21
21
  small_logo_url: z.string().describe("URL to the small-sized logo image of the institution.").nullable().optional(),
22
22
  supports_oauth: z.boolean().describe("Whether the institution supports OAuth-based connections.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"list-favorite-institutions.mjs","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListFavoriteInstitutionsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be >= 1. Defaults to 1.\").optional(),\n iso_country_code: z.array(z.string()).describe(\"Filter institutions by ISO country codes. Supported values: 'US' (United States), 'CA' (Canada), 'MX' (Mexico).\").optional(),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page. Valid range: 10-1000. Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing partner favorite institutions.\");\nconst MxTechnologiesListFavoriteInstitutions_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of records available.\"),\n}).describe(\"Pagination details for list responses.\");\nconst MxTechnologiesListFavoriteInstitutions_InstitutionSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the institution's login page.\").nullable().optional(),\n code: z.string().describe(\"Unique MX-defined institution code (e.g., 'chase', 'wells_fargo').\"),\n guid: z.string().describe(\"Unique MX GUID for the institution (e.g., 'INS-123456').\").nullable().optional(),\n name: z.string().describe(\"Display name of the financial institution.\"),\n is_hidden: z.boolean().describe(\"Whether the institution is hidden from end users.\").nullable().optional(),\n small_logo_url: z.string().describe(\"URL to the small-sized logo image of the institution.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"Whether the institution supports OAuth-based connections.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"URL to the medium-sized logo image of the institution.\").nullable().optional(),\n iso_country_code: z.string().describe(\"ISO country code where institution operates (US, CA, MX).\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Whether the institution is disabled for this partner's account.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"Whether institution supports tax document retrieval.\").nullable().optional(),\n supports_account_statement: z.boolean().describe(\"Whether institution supports account statements.\").nullable().optional(),\n supports_transaction_history: z.boolean().describe(\"Whether institution supports transaction history retrieval.\").nullable().optional(),\n supports_account_verification: z.boolean().describe(\"Whether institution supports account verification.\").nullable().optional(),\n supports_account_identification: z.boolean().describe(\"Whether institution supports account identification.\").nullable().optional(),\n}).passthrough().describe(\"Institution object representing a financial institution in MX's database.\");\nexport const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodTypeAny = z.object({\n pagination: MxTechnologiesListFavoriteInstitutions_PaginationSchema.nullable(),\n institutions: z.array(MxTechnologiesListFavoriteInstitutions_InstitutionSchema).describe(\"List of favorite institution objects.\"),\n}).describe(\"Response schema for listing favorite institutions.\");\n\nexport const mxTechnologiesListFavoriteInstitutions = action(\"MX_TECHNOLOGIES_LIST_FAVORITE_INSTITUTIONS\", {\n slug: \"mx_technologies-list-favorite-institutions\",\n name: \"List favorite institutions\",\n description: \"List the partner's favorite financial institutions, sorted by popularity. Use this tool to retrieve institutions that have been pre-configured as favorites for the partner account. Results are paginated and can be filtered by country. Note: Favorite institutions must be configured by MX - contact MX support to set up favorites.\",\n input: MxTechnologiesListFavoriteInstitutionsInput,\n output: MxTechnologiesListFavoriteInstitutionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4D,EAAE,OAAO;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC3K,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,S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,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,8BAA8B,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,+BAA+B,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAMrG,MAAa,yCAAyC,OAAO,8CAA8C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwE,EAAE,OAAO;EACjF,YAAY,wDAAwD,SAAS;EAC7E,cAAc,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uCAAuC;CAClI,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-favorite-institutions.mjs","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListFavoriteInstitutionsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be >= 1. Defaults to 1.\").optional(),\n iso_country_code: z.array(z.string()).describe(\"Filter institutions by ISO country codes. Supported values: 'US' (United States), 'CA' (Canada), 'MX' (Mexico).\").optional(),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page. Valid range: 10-1000. Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing partner favorite institutions.\");\nconst MxTechnologiesListFavoriteInstitutions_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total number of records available.\").nullable(),\n}).describe(\"Pagination details for list responses.\");\nconst MxTechnologiesListFavoriteInstitutions_InstitutionSchema = z.object({\n url: z.string().describe(\"URL of the institution's login page.\").nullable().optional(),\n code: z.string().describe(\"Unique MX-defined institution code (e.g., 'chase', 'wells_fargo').\").nullable(),\n guid: z.string().describe(\"Unique MX GUID for the institution (e.g., 'INS-123456').\").nullable().optional(),\n name: z.string().describe(\"Display name of the financial institution.\").nullable(),\n is_hidden: z.boolean().describe(\"Whether the institution is hidden from end users.\").nullable().optional(),\n small_logo_url: z.string().describe(\"URL to the small-sized logo image of the institution.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"Whether the institution supports OAuth-based connections.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"URL to the medium-sized logo image of the institution.\").nullable().optional(),\n iso_country_code: z.string().describe(\"ISO country code where institution operates (US, CA, MX).\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Whether the institution is disabled for this partner's account.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"Whether institution supports tax document retrieval.\").nullable().optional(),\n supports_account_statement: z.boolean().describe(\"Whether institution supports account statements.\").nullable().optional(),\n supports_transaction_history: z.boolean().describe(\"Whether institution supports transaction history retrieval.\").nullable().optional(),\n supports_account_verification: z.boolean().describe(\"Whether institution supports account verification.\").nullable().optional(),\n supports_account_identification: z.boolean().describe(\"Whether institution supports account identification.\").nullable().optional(),\n}).passthrough().describe(\"Institution object representing a financial institution in MX's database.\");\nexport const MxTechnologiesListFavoriteInstitutionsOutput = z.object({\n pagination: MxTechnologiesListFavoriteInstitutions_PaginationSchema.nullable(),\n institutions: z.array(MxTechnologiesListFavoriteInstitutions_InstitutionSchema).describe(\"List of favorite institution objects.\"),\n}).describe(\"Response schema for listing favorite institutions.\");\n\nexport const mxTechnologiesListFavoriteInstitutions = action(\"MX_TECHNOLOGIES_LIST_FAVORITE_INSTITUTIONS\", {\n slug: \"mx_technologies-list-favorite-institutions\",\n name: \"List favorite institutions\",\n description: \"List the partner's favorite financial institutions, sorted by popularity. Use this tool to retrieve institutions that have been pre-configured as favorites for the partner account. Results are paginated and can be filtered by country. Note: Favorite institutions must be configured by MX - contact MX support to set up favorites.\",\n input: MxTechnologiesListFavoriteInstitutionsInput,\n output: MxTechnologiesListFavoriteInstitutionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC3K,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,0DAA0D,EAAE,OAAO;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,2DAA2D,EAAE,OAAO;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EA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C,CAAC,SAAS,2EAA2E;AAMrG,MAAa,yCAAyC,OAAO,8CAA8C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,YAAY,wDAAwD,SAAS;EAC7E,cAAc,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uCAAuC;CAClI,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -26,10 +26,10 @@ const MxTechnologiesListGoals_GoalSchema = zod.z.object({
26
26
  projected_to_complete_at: zod.z.string().describe("Projected completion date (ISO 8601) based on saving rate.").nullable().optional()
27
27
  }).passthrough().describe("Goal object representing a user's financial goal.");
28
28
  const MxTechnologiesListGoals_PaginationSchema = zod.z.object({
29
- per_page: zod.z.number().int().describe("Number of records per page."),
30
- total_pages: zod.z.number().int().describe("Total number of pages available."),
31
- current_page: zod.z.number().int().describe("Current page number."),
32
- total_entries: zod.z.number().int().describe("Total number of entries available.")
29
+ per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
30
+ total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
31
+ current_page: zod.z.number().int().describe("Current page number.").nullable(),
32
+ total_entries: zod.z.number().int().describe("Total number of entries available.").nullable()
33
33
  }).describe("Pagination details for list responses.");
34
34
  const MxTechnologiesListGoalsOutput = zod.z.object({
35
35
  goals: zod.z.array(MxTechnologiesListGoals_GoalSchema).describe("List of goal objects for the user."),