@keystrokehq/mx_technologies 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-partner-account.cjs +1 -0
- package/dist/actions/cancel-partner-account.cjs.map +1 -1
- package/dist/actions/cancel-partner-account.d.cts +3 -19
- package/dist/actions/cancel-partner-account.d.cts.map +1 -1
- package/dist/actions/cancel-partner-account.d.mts +3 -19
- package/dist/actions/cancel-partner-account.d.mts.map +1 -1
- package/dist/actions/cancel-partner-account.mjs +1 -0
- package/dist/actions/cancel-partner-account.mjs.map +1 -1
- package/dist/actions/create-account.cjs +1 -0
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +3 -28
- package/dist/actions/create-account.d.cts.map +1 -1
- package/dist/actions/create-account.d.mts +3 -28
- package/dist/actions/create-account.d.mts.map +1 -1
- package/dist/actions/create-account.mjs +1 -0
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/create-audience-api-credentials.cjs +1 -0
- package/dist/actions/create-audience-api-credentials.cjs.map +1 -1
- package/dist/actions/create-audience-api-credentials.d.cts +3 -18
- package/dist/actions/create-audience-api-credentials.d.cts.map +1 -1
- package/dist/actions/create-audience-api-credentials.d.mts +3 -18
- package/dist/actions/create-audience-api-credentials.d.mts.map +1 -1
- package/dist/actions/create-audience-api-credentials.mjs +1 -0
- package/dist/actions/create-audience-api-credentials.mjs.map +1 -1
- package/dist/actions/create-member.cjs +1 -0
- package/dist/actions/create-member.cjs.map +1 -1
- package/dist/actions/create-member.d.cts +3 -32
- package/dist/actions/create-member.d.cts.map +1 -1
- package/dist/actions/create-member.d.mts +3 -32
- package/dist/actions/create-member.d.mts.map +1 -1
- package/dist/actions/create-member.mjs +1 -0
- package/dist/actions/create-member.mjs.map +1 -1
- package/dist/actions/create-partner-account.cjs +1 -0
- package/dist/actions/create-partner-account.cjs.map +1 -1
- package/dist/actions/create-partner-account.d.cts +3 -20
- package/dist/actions/create-partner-account.d.cts.map +1 -1
- package/dist/actions/create-partner-account.d.mts +3 -20
- package/dist/actions/create-partner-account.d.mts.map +1 -1
- package/dist/actions/create-partner-account.mjs +1 -0
- package/dist/actions/create-partner-account.mjs.map +1 -1
- package/dist/actions/fetch-rewards.cjs +1 -0
- package/dist/actions/fetch-rewards.cjs.map +1 -1
- package/dist/actions/fetch-rewards.d.cts +3 -18
- package/dist/actions/fetch-rewards.d.cts.map +1 -1
- package/dist/actions/fetch-rewards.d.mts +3 -18
- package/dist/actions/fetch-rewards.d.mts.map +1 -1
- package/dist/actions/fetch-rewards.mjs +1 -0
- package/dist/actions/fetch-rewards.mjs.map +1 -1
- package/dist/actions/get-configurable-widget-url.cjs +1 -0
- package/dist/actions/get-configurable-widget-url.cjs.map +1 -1
- package/dist/actions/get-configurable-widget-url.d.cts +3 -33
- package/dist/actions/get-configurable-widget-url.d.cts.map +1 -1
- package/dist/actions/get-configurable-widget-url.d.mts +3 -33
- package/dist/actions/get-configurable-widget-url.d.mts.map +1 -1
- package/dist/actions/get-configurable-widget-url.mjs +1 -0
- package/dist/actions/get-configurable-widget-url.mjs.map +1 -1
- package/dist/actions/list-account-numbers-by-member.cjs +1 -0
- package/dist/actions/list-account-numbers-by-member.cjs.map +1 -1
- package/dist/actions/list-account-numbers-by-member.d.cts +3 -20
- package/dist/actions/list-account-numbers-by-member.d.cts.map +1 -1
- package/dist/actions/list-account-numbers-by-member.d.mts +3 -20
- package/dist/actions/list-account-numbers-by-member.d.mts.map +1 -1
- package/dist/actions/list-account-numbers-by-member.mjs +1 -0
- package/dist/actions/list-account-numbers-by-member.mjs.map +1 -1
- package/dist/actions/list-account-owners.cjs +1 -0
- package/dist/actions/list-account-owners.cjs.map +1 -1
- package/dist/actions/list-account-owners.d.cts +3 -20
- package/dist/actions/list-account-owners.d.cts.map +1 -1
- package/dist/actions/list-account-owners.d.mts +3 -20
- package/dist/actions/list-account-owners.d.mts.map +1 -1
- package/dist/actions/list-account-owners.mjs +1 -0
- package/dist/actions/list-account-owners.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +1 -0
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +3 -22
- package/dist/actions/list-accounts.d.cts.map +1 -1
- package/dist/actions/list-accounts.d.mts +3 -22
- package/dist/actions/list-accounts.d.mts.map +1 -1
- package/dist/actions/list-accounts.mjs +1 -0
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-budgets.cjs +1 -0
- package/dist/actions/list-budgets.cjs.map +1 -1
- package/dist/actions/list-budgets.d.cts +3 -19
- package/dist/actions/list-budgets.d.cts.map +1 -1
- package/dist/actions/list-budgets.d.mts +3 -19
- package/dist/actions/list-budgets.d.mts.map +1 -1
- package/dist/actions/list-budgets.mjs +1 -0
- package/dist/actions/list-budgets.mjs.map +1 -1
- package/dist/actions/list-categories.cjs +1 -0
- package/dist/actions/list-categories.cjs.map +1 -1
- package/dist/actions/list-categories.d.cts +3 -19
- package/dist/actions/list-categories.d.cts.map +1 -1
- package/dist/actions/list-categories.d.mts +3 -19
- package/dist/actions/list-categories.d.mts.map +1 -1
- package/dist/actions/list-categories.mjs +1 -0
- package/dist/actions/list-categories.mjs.map +1 -1
- package/dist/actions/list-challenges.cjs +1 -0
- package/dist/actions/list-challenges.cjs.map +1 -1
- package/dist/actions/list-challenges.d.cts +3 -20
- package/dist/actions/list-challenges.d.cts.map +1 -1
- package/dist/actions/list-challenges.d.mts +3 -20
- package/dist/actions/list-challenges.d.mts.map +1 -1
- package/dist/actions/list-challenges.mjs +1 -0
- package/dist/actions/list-challenges.mjs.map +1 -1
- package/dist/actions/list-favorite-institutions.cjs +1 -0
- package/dist/actions/list-favorite-institutions.cjs.map +1 -1
- package/dist/actions/list-favorite-institutions.d.cts +3 -19
- package/dist/actions/list-favorite-institutions.d.cts.map +1 -1
- package/dist/actions/list-favorite-institutions.d.mts +3 -19
- package/dist/actions/list-favorite-institutions.d.mts.map +1 -1
- package/dist/actions/list-favorite-institutions.mjs +1 -0
- package/dist/actions/list-favorite-institutions.mjs.map +1 -1
- package/dist/actions/list-goals.cjs +1 -0
- package/dist/actions/list-goals.cjs.map +1 -1
- package/dist/actions/list-goals.d.cts +3 -19
- package/dist/actions/list-goals.d.cts.map +1 -1
- package/dist/actions/list-goals.d.mts +3 -19
- package/dist/actions/list-goals.d.mts.map +1 -1
- package/dist/actions/list-goals.mjs +1 -0
- package/dist/actions/list-goals.mjs.map +1 -1
- package/dist/actions/list-institution-credentials.cjs +1 -0
- package/dist/actions/list-institution-credentials.cjs.map +1 -1
- package/dist/actions/list-institution-credentials.d.cts +3 -19
- package/dist/actions/list-institution-credentials.d.cts.map +1 -1
- package/dist/actions/list-institution-credentials.d.mts +3 -19
- package/dist/actions/list-institution-credentials.d.mts.map +1 -1
- package/dist/actions/list-institution-credentials.mjs +1 -0
- package/dist/actions/list-institution-credentials.mjs.map +1 -1
- package/dist/actions/list-institutions.cjs +1 -0
- package/dist/actions/list-institutions.cjs.map +1 -1
- package/dist/actions/list-institutions.d.cts +3 -21
- package/dist/actions/list-institutions.d.cts.map +1 -1
- package/dist/actions/list-institutions.d.mts +3 -21
- package/dist/actions/list-institutions.d.mts.map +1 -1
- package/dist/actions/list-institutions.mjs +1 -0
- package/dist/actions/list-institutions.mjs.map +1 -1
- package/dist/actions/list-member-accounts.cjs +1 -0
- package/dist/actions/list-member-accounts.cjs.map +1 -1
- package/dist/actions/list-member-accounts.d.cts +3 -21
- package/dist/actions/list-member-accounts.d.cts.map +1 -1
- package/dist/actions/list-member-accounts.d.mts +3 -21
- package/dist/actions/list-member-accounts.d.mts.map +1 -1
- package/dist/actions/list-member-accounts.mjs +1 -0
- package/dist/actions/list-member-accounts.mjs.map +1 -1
- package/dist/actions/list-members.cjs +1 -0
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +3 -20
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +3 -20
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +1 -0
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-rewards.cjs +1 -0
- package/dist/actions/list-rewards.cjs.map +1 -1
- package/dist/actions/list-rewards.d.cts +3 -20
- package/dist/actions/list-rewards.d.cts.map +1 -1
- package/dist/actions/list-rewards.d.mts +3 -20
- package/dist/actions/list-rewards.d.mts.map +1 -1
- package/dist/actions/list-rewards.mjs +1 -0
- package/dist/actions/list-rewards.mjs.map +1 -1
- package/dist/actions/list-statements-by-member.cjs +1 -0
- package/dist/actions/list-statements-by-member.cjs.map +1 -1
- package/dist/actions/list-statements-by-member.d.cts +3 -20
- package/dist/actions/list-statements-by-member.d.cts.map +1 -1
- package/dist/actions/list-statements-by-member.d.mts +3 -20
- package/dist/actions/list-statements-by-member.d.mts.map +1 -1
- package/dist/actions/list-statements-by-member.mjs +1 -0
- package/dist/actions/list-statements-by-member.mjs.map +1 -1
- package/dist/actions/list-taggings.cjs +1 -0
- package/dist/actions/list-taggings.cjs.map +1 -1
- package/dist/actions/list-taggings.d.cts +3 -19
- package/dist/actions/list-taggings.d.cts.map +1 -1
- package/dist/actions/list-taggings.d.mts +3 -19
- package/dist/actions/list-taggings.d.mts.map +1 -1
- package/dist/actions/list-taggings.mjs +1 -0
- package/dist/actions/list-taggings.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +1 -0
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +3 -19
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +3 -19
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +1 -0
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-transactions-by-member.cjs +1 -0
- package/dist/actions/list-transactions-by-member.cjs.map +1 -1
- package/dist/actions/list-transactions-by-member.d.cts +3 -29
- package/dist/actions/list-transactions-by-member.d.cts.map +1 -1
- package/dist/actions/list-transactions-by-member.d.mts +3 -29
- package/dist/actions/list-transactions-by-member.d.mts.map +1 -1
- package/dist/actions/list-transactions-by-member.mjs +1 -0
- package/dist/actions/list-transactions-by-member.mjs.map +1 -1
- package/dist/actions/list-transactions.cjs +1 -0
- package/dist/actions/list-transactions.cjs.map +1 -1
- package/dist/actions/list-transactions.d.cts +3 -27
- package/dist/actions/list-transactions.d.cts.map +1 -1
- package/dist/actions/list-transactions.d.mts +3 -27
- package/dist/actions/list-transactions.d.mts.map +1 -1
- package/dist/actions/list-transactions.mjs +1 -0
- package/dist/actions/list-transactions.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -21
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -21
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/read-account.cjs +1 -0
- package/dist/actions/read-account.cjs.map +1 -1
- package/dist/actions/read-account.d.cts +3 -18
- package/dist/actions/read-account.d.cts.map +1 -1
- package/dist/actions/read-account.d.mts +3 -18
- package/dist/actions/read-account.d.mts.map +1 -1
- package/dist/actions/read-account.mjs +1 -0
- package/dist/actions/read-account.mjs.map +1 -1
- package/dist/actions/read-category.cjs +1 -0
- package/dist/actions/read-category.cjs.map +1 -1
- package/dist/actions/read-category.d.cts +3 -17
- package/dist/actions/read-category.d.cts.map +1 -1
- package/dist/actions/read-category.d.mts +3 -17
- package/dist/actions/read-category.d.mts.map +1 -1
- package/dist/actions/read-category.mjs +1 -0
- package/dist/actions/read-category.mjs.map +1 -1
- package/dist/actions/read-fdx-account.cjs +1 -0
- package/dist/actions/read-fdx-account.cjs.map +1 -1
- package/dist/actions/read-fdx-account.d.cts +3 -17
- package/dist/actions/read-fdx-account.d.cts.map +1 -1
- package/dist/actions/read-fdx-account.d.mts +3 -17
- package/dist/actions/read-fdx-account.d.mts.map +1 -1
- package/dist/actions/read-fdx-account.mjs +1 -0
- package/dist/actions/read-fdx-account.mjs.map +1 -1
- package/dist/actions/read-institution.cjs +1 -0
- package/dist/actions/read-institution.cjs.map +1 -1
- package/dist/actions/read-institution.d.cts +3 -17
- package/dist/actions/read-institution.d.cts.map +1 -1
- package/dist/actions/read-institution.d.mts +3 -17
- package/dist/actions/read-institution.d.mts.map +1 -1
- package/dist/actions/read-institution.mjs +1 -0
- package/dist/actions/read-institution.mjs.map +1 -1
- package/dist/actions/read-transaction-by-account.cjs +1 -0
- package/dist/actions/read-transaction-by-account.cjs.map +1 -1
- package/dist/actions/read-transaction-by-account.d.cts +3 -22
- package/dist/actions/read-transaction-by-account.d.cts.map +1 -1
- package/dist/actions/read-transaction-by-account.d.mts +3 -22
- package/dist/actions/read-transaction-by-account.d.mts.map +1 -1
- package/dist/actions/read-transaction-by-account.mjs +1 -0
- package/dist/actions/read-transaction-by-account.mjs.map +1 -1
- package/dist/actions/read-transaction-rule.cjs +1 -0
- package/dist/actions/read-transaction-rule.cjs.map +1 -1
- package/dist/actions/read-transaction-rule.d.cts +3 -18
- package/dist/actions/read-transaction-rule.d.cts.map +1 -1
- package/dist/actions/read-transaction-rule.d.mts +3 -18
- package/dist/actions/read-transaction-rule.d.mts.map +1 -1
- package/dist/actions/read-transaction-rule.mjs +1 -0
- package/dist/actions/read-transaction-rule.mjs.map +1 -1
- package/dist/actions/read-transaction.cjs +1 -0
- package/dist/actions/read-transaction.cjs.map +1 -1
- package/dist/actions/read-transaction.d.cts +3 -18
- package/dist/actions/read-transaction.d.cts.map +1 -1
- package/dist/actions/read-transaction.d.mts +3 -18
- package/dist/actions/read-transaction.d.mts.map +1 -1
- package/dist/actions/read-transaction.mjs +1 -0
- package/dist/actions/read-transaction.mjs.map +1 -1
- package/dist/actions/update-transaction-rules.cjs +1 -0
- package/dist/actions/update-transaction-rules.cjs.map +1 -1
- package/dist/actions/update-transaction-rules.d.cts +3 -23
- package/dist/actions/update-transaction-rules.d.cts.map +1 -1
- package/dist/actions/update-transaction-rules.d.mts +3 -23
- package/dist/actions/update-transaction-rules.d.mts.map +1 -1
- package/dist/actions/update-transaction-rules.mjs +1 -0
- package/dist/actions/update-transaction-rules.mjs.map +1 -1
- package/dist/actions/update-transaction.cjs +1 -0
- package/dist/actions/update-transaction.cjs.map +1 -1
- package/dist/actions/update-transaction.d.cts +3 -24
- package/dist/actions/update-transaction.d.cts.map +1 -1
- package/dist/actions/update-transaction.d.mts +3 -24
- package/dist/actions/update-transaction.d.mts.map +1 -1
- package/dist/actions/update-transaction.mjs +1 -0
- package/dist/actions/update-transaction.mjs.map +1 -1
- package/dist/actions/update-users-taggings.cjs +1 -0
- package/dist/actions/update-users-taggings.cjs.map +1 -1
- package/dist/actions/update-users-taggings.d.cts +3 -21
- package/dist/actions/update-users-taggings.d.cts.map +1 -1
- package/dist/actions/update-users-taggings.d.mts +3 -21
- package/dist/actions/update-users-taggings.d.mts.map +1 -1
- package/dist/actions/update-users-taggings.mjs +1 -0
- package/dist/actions/update-users-taggings.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- 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.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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-categories.cjs","names":["z","action"],"sources":["../../src/actions/list-categories.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const 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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response schema for listing categories.\");\n\nexport const mxTechnologiesListCategories: AppAction<\n typeof MxTechnologiesListCategoriesInput,\n typeof MxTechnologiesListCategoriesOutput,\n typeof mxTechnologies.credential\n> = 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":";;;;AAMA,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,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,YAAYA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oDAAoD;CAC9H,YAAY,8CAA8C,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-categories.d.ts
|
|
@@ -24,25 +26,7 @@ declare const MxTechnologiesListCategoriesOutput: z.ZodObject<{
|
|
|
24
26
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const mxTechnologiesListCategories:
|
|
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<"mx_technologies", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
username: z.ZodString;
|
|
37
|
-
password: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
username: z.ZodString;
|
|
44
|
-
password: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const mxTechnologiesListCategories: AppAction<typeof MxTechnologiesListCategoriesInput, typeof MxTechnologiesListCategoriesOutput, typeof mxTechnologies.credential>;
|
|
46
30
|
//#endregion
|
|
47
31
|
export { mxTechnologiesListCategories };
|
|
48
32
|
//# sourceMappingURL=list-categories.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-categories.d.cts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-categories.d.cts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAqBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-categories.d.ts
|
|
@@ -24,25 +26,7 @@ declare const MxTechnologiesListCategoriesOutput: z.ZodObject<{
|
|
|
24
26
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const mxTechnologiesListCategories:
|
|
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<"mx_technologies", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
username: z.ZodString;
|
|
37
|
-
password: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
username: z.ZodString;
|
|
44
|
-
password: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const mxTechnologiesListCategories: AppAction<typeof MxTechnologiesListCategoriesInput, typeof MxTechnologiesListCategoriesOutput, typeof mxTechnologies.credential>;
|
|
46
30
|
//#endregion
|
|
47
31
|
export { mxTechnologiesListCategories };
|
|
48
32
|
//# sourceMappingURL=list-categories.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-categories.d.mts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-categories.d.mts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAqBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-categories.mjs","names":[],"sources":["../../src/actions/list-categories.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const 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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response schema for listing categories.\");\n\nexport const mxTechnologiesListCategories: AppAction<\n typeof MxTechnologiesListCategoriesInput,\n typeof MxTechnologiesListCategoriesOutput,\n typeof mxTechnologies.credential\n> = 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":";;;;AAMA,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,C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AC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-challenges.cjs","names":["z","action"],"sources":["../../src/actions/list-challenges.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const 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}).passthrough().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}).passthrough().describe(\"Response schema for listing MFA challenges.\");\n\nexport const mxTechnologiesListChallenges: AppAction<\n typeof MxTechnologiesListChallengesInput,\n typeof MxTechnologiesListChallengesOutput,\n typeof mxTechnologies.credential\n> = 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":";;;;AAMA,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+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,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAc;CAAe,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpF,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,CAAC,CAAC,SAAS;CAC7F,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,YAAY,CAAC,CAAC,SAAS,kPAAkP;AAC5Q,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,YAAYA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uDAAuD,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-challenges.d.ts
|
|
@@ -24,26 +26,7 @@ declare const MxTechnologiesListChallengesOutput: z.ZodObject<{
|
|
|
24
26
|
image_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const mxTechnologiesListChallenges:
|
|
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<"mx_technologies", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
username: z.ZodString;
|
|
38
|
-
password: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
username: z.ZodString;
|
|
45
|
-
password: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const mxTechnologiesListChallenges: AppAction<typeof MxTechnologiesListChallengesInput, typeof MxTechnologiesListChallengesOutput, typeof mxTechnologies.credential>;
|
|
47
30
|
//#endregion
|
|
48
31
|
export { mxTechnologiesListChallenges };
|
|
49
32
|
//# sourceMappingURL=list-challenges.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-challenges.d.cts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-challenges.d.cts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAejC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-challenges.d.ts
|
|
@@ -24,26 +26,7 @@ declare const MxTechnologiesListChallengesOutput: z.ZodObject<{
|
|
|
24
26
|
image_options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
25
27
|
}, z.core.$loose>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const mxTechnologiesListChallenges:
|
|
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<"mx_technologies", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
username: z.ZodString;
|
|
38
|
-
password: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
username: z.ZodString;
|
|
45
|
-
password: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const mxTechnologiesListChallenges: AppAction<typeof MxTechnologiesListChallengesInput, typeof MxTechnologiesListChallengesOutput, typeof mxTechnologies.credential>;
|
|
47
30
|
//#endregion
|
|
48
31
|
export { mxTechnologiesListChallenges };
|
|
49
32
|
//# sourceMappingURL=list-challenges.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-challenges.d.mts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-challenges.d.mts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAejC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-challenges.mjs","names":[],"sources":["../../src/actions/list-challenges.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const 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}).passthrough().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}).passthrough().describe(\"Response schema for listing MFA challenges.\");\n\nexport const mxTechnologiesListChallenges: AppAction<\n typeof MxTechnologiesListChallengesInput,\n typeof MxTechnologiesListChallengesOutput,\n typeof mxTechnologies.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,kPAAkP;AAK5Q,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbgD,EAAE,OAAO,EACzD,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uDAAuD,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-favorite-institutions.cjs","names":["z","action"],"sources":["../../src/actions/list-favorite-institutions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const 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}).passthrough().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}).passthrough().describe(\"Response schema for listing favorite institutions.\");\n\nexport const mxTechnologiesListFavoriteInstitutions: AppAction<\n typeof MxTechnologiesListFavoriteInstitutionsInput,\n typeof MxTechnologiesListFavoriteInstitutionsOutput,\n typeof mxTechnologies.credential\n> = 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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AAC,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,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,yCAITC,eAAAA,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-favorite-institutions.d.ts
|
|
@@ -31,25 +33,7 @@ declare const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodObject<{
|
|
|
31
33
|
supports_account_identification: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
34
|
}, z.core.$loose>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const mxTechnologiesListFavoriteInstitutions:
|
|
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<"mx_technologies", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
username: z.ZodString;
|
|
44
|
-
password: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
username: z.ZodString;
|
|
51
|
-
password: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
36
|
+
declare const mxTechnologiesListFavoriteInstitutions: AppAction<typeof MxTechnologiesListFavoriteInstitutionsInput, typeof MxTechnologiesListFavoriteInstitutionsOutput, typeof mxTechnologies.credential>;
|
|
53
37
|
//#endregion
|
|
54
38
|
export { mxTechnologiesListFavoriteInstitutions };
|
|
55
39
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-favorite-institutions.d.cts","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cA4B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-favorite-institutions.d.ts
|
|
@@ -31,25 +33,7 @@ declare const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodObject<{
|
|
|
31
33
|
supports_account_identification: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
34
|
}, z.core.$loose>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const mxTechnologiesListFavoriteInstitutions:
|
|
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<"mx_technologies", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
username: z.ZodString;
|
|
44
|
-
password: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
username: z.ZodString;
|
|
51
|
-
password: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
36
|
+
declare const mxTechnologiesListFavoriteInstitutions: AppAction<typeof MxTechnologiesListFavoriteInstitutionsInput, typeof MxTechnologiesListFavoriteInstitutionsOutput, typeof mxTechnologies.credential>;
|
|
53
37
|
//#endregion
|
|
54
38
|
export { mxTechnologiesListFavoriteInstitutions };
|
|
55
39
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"list-favorite-institutions.d.mts","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;cA4B3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-favorite-institutions.mjs","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const 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}).passthrough().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}).passthrough().describe(\"Response schema for listing favorite institutions.\");\n\nexport const mxTechnologiesListFavoriteInstitutions: AppAction<\n typeof MxTechnologiesListFavoriteInstitutionsInput,\n typeof MxTechnologiesListFavoriteInstitutionsOutput,\n typeof mxTechnologies.credential\n> = 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":";;;;AAMA,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,CA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E,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,yCAIT,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0D,EAAE,OAAO;EACnE,YAAY,wDAAwD,SAAS;EAC7E,cAAc,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uCAAuC;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-goals.cjs","names":["z","action"],"sources":["../../src/actions/list-goals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListGoalsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1. Defaults to 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user (e.g., 'USR-...').\"),\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 goals for a user.\");\nconst MxTechnologiesListGoals_GoalSchema = z.object({\n guid: z.string().describe(\"MX-defined goal GUID (e.g., 'GOL-...').\").nullable().optional(),\n name: z.string().describe(\"User-defined name for the goal.\").nullable().optional(),\n metadata: z.string().describe(\"Partner-defined freeform metadata (recommended to use JSON format).\").nullable().optional(),\n position: z.number().int().describe(\"Priority position of the goal.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID (e.g., 'USR-...').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the goal was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the goal was last updated.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the goal has been completed.\").nullable().optional(),\n account_guid: z.string().describe(\"GUID of the account linked to this goal.\").nullable().optional(),\n target_amount: z.number().describe(\"Target amount to achieve for the goal.\").nullable().optional(),\n current_amount: z.number().describe(\"Current amount saved toward the goal.\").nullable().optional(),\n goal_type_name: z.string().describe(\"Type/category of the goal (e.g., 'Emergency Fund', 'Vacation').\").nullable().optional(),\n has_been_spent: z.boolean().describe(\"Whether the goal amount has been spent.\").nullable().optional(),\n meta_type_name: z.string().describe(\"Meta type classification for the goal.\").nullable().optional(),\n track_type_name: z.string().describe(\"Tracking type for the goal progress.\").nullable().optional(),\n targeted_to_complete_at: z.string().describe(\"Target completion date (ISO 8601) set by the user.\").nullable().optional(),\n projected_to_complete_at: z.string().describe(\"Projected completion date (ISO 8601) based on saving rate.\").nullable().optional(),\n}).passthrough().describe(\"Goal object representing a user's financial goal.\");\nconst MxTechnologiesListGoals_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}).passthrough().describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListGoalsOutput = z.object({\n goals: z.array(MxTechnologiesListGoals_GoalSchema).describe(\"List of goal objects for the user.\"),\n pagination: MxTechnologiesListGoals_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing goals.\");\n\nexport const mxTechnologiesListGoals = action(\"MX_TECHNOLOGIES_LIST_GOALS\", {\n slug: \"mx_technologies-list-goals\",\n name: \"List goals\",\n description: \"List all financial goals for a specific MX user. Use this to retrieve a paginated list of the user's savings goals, including target amounts, progress, and completion dates. Requires a valid user GUID obtained from the LIST_USERS action.\",\n input: MxTechnologiesListGoalsInput,\n output: MxTechnologiesListGoalsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-goals.cjs","names":["z","action"],"sources":["../../src/actions/list-goals.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesListGoalsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1. Defaults to 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user (e.g., 'USR-...').\"),\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 goals for a user.\");\nconst MxTechnologiesListGoals_GoalSchema = z.object({\n guid: z.string().describe(\"MX-defined goal GUID (e.g., 'GOL-...').\").nullable().optional(),\n name: z.string().describe(\"User-defined name for the goal.\").nullable().optional(),\n metadata: z.string().describe(\"Partner-defined freeform metadata (recommended to use JSON format).\").nullable().optional(),\n position: z.number().int().describe(\"Priority position of the goal.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID (e.g., 'USR-...').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the goal was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the goal was last updated.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the goal has been completed.\").nullable().optional(),\n account_guid: z.string().describe(\"GUID of the account linked to this goal.\").nullable().optional(),\n target_amount: z.number().describe(\"Target amount to achieve for the goal.\").nullable().optional(),\n current_amount: z.number().describe(\"Current amount saved toward the goal.\").nullable().optional(),\n goal_type_name: z.string().describe(\"Type/category of the goal (e.g., 'Emergency Fund', 'Vacation').\").nullable().optional(),\n has_been_spent: z.boolean().describe(\"Whether the goal amount has been spent.\").nullable().optional(),\n meta_type_name: z.string().describe(\"Meta type classification for the goal.\").nullable().optional(),\n track_type_name: z.string().describe(\"Tracking type for the goal progress.\").nullable().optional(),\n targeted_to_complete_at: z.string().describe(\"Target completion date (ISO 8601) set by the user.\").nullable().optional(),\n projected_to_complete_at: z.string().describe(\"Projected completion date (ISO 8601) based on saving rate.\").nullable().optional(),\n}).passthrough().describe(\"Goal object representing a user's financial goal.\");\nconst MxTechnologiesListGoals_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}).passthrough().describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListGoalsOutput = z.object({\n goals: z.array(MxTechnologiesListGoals_GoalSchema).describe(\"List of goal objects for the user.\"),\n pagination: MxTechnologiesListGoals_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing goals.\");\n\nexport const mxTechnologiesListGoals: AppAction<\n typeof MxTechnologiesListGoalsInput,\n typeof MxTechnologiesListGoalsOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_LIST_GOALS\", {\n slug: \"mx_technologies-list-goals\",\n name: \"List goals\",\n description: \"List all financial goals for a specific MX user. Use this to retrieve a paginated list of the user's savings goals, including target amounts, progress, and completion dates. Requires a valid user GUID obtained from the LIST_USERS action.\",\n input: MxTechnologiesListGoalsInput,\n output: MxTechnologiesListGoalsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CA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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-goals.d.ts
|
|
@@ -33,25 +35,7 @@ declare const MxTechnologiesListGoalsOutput: z.ZodObject<{
|
|
|
33
35
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
34
36
|
}, z.core.$loose>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const mxTechnologiesListGoals:
|
|
37
|
-
user_guid: string;
|
|
38
|
-
page?: number | undefined;
|
|
39
|
-
records_per_page?: number | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
username: z.ZodString;
|
|
46
|
-
password: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
username: z.ZodString;
|
|
53
|
-
password: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const mxTechnologiesListGoals: AppAction<typeof MxTechnologiesListGoalsInput, typeof MxTechnologiesListGoalsOutput, typeof mxTechnologies.credential>;
|
|
55
39
|
//#endregion
|
|
56
40
|
export { mxTechnologiesListGoals };
|
|
57
41
|
//# sourceMappingURL=list-goals.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-goals.d.cts","names":[],"sources":["../../src/actions/list-goals.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-goals.d.cts","names":[],"sources":["../../src/actions/list-goals.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cA8B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-goals.d.ts
|
|
@@ -33,25 +35,7 @@ declare const MxTechnologiesListGoalsOutput: z.ZodObject<{
|
|
|
33
35
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
34
36
|
}, z.core.$loose>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const mxTechnologiesListGoals:
|
|
37
|
-
user_guid: string;
|
|
38
|
-
page?: number | undefined;
|
|
39
|
-
records_per_page?: number | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
username: z.ZodString;
|
|
46
|
-
password: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
username: z.ZodString;
|
|
53
|
-
password: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const mxTechnologiesListGoals: AppAction<typeof MxTechnologiesListGoalsInput, typeof MxTechnologiesListGoalsOutput, typeof mxTechnologies.credential>;
|
|
55
39
|
//#endregion
|
|
56
40
|
export { mxTechnologiesListGoals };
|
|
57
41
|
//# sourceMappingURL=list-goals.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-goals.d.mts","names":[],"sources":["../../src/actions/list-goals.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-goals.d.mts","names":[],"sources":["../../src/actions/list-goals.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cA8B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-goals.mjs","names":[],"sources":["../../src/actions/list-goals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListGoalsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1. Defaults to 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user (e.g., 'USR-...').\"),\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 goals for a user.\");\nconst MxTechnologiesListGoals_GoalSchema = z.object({\n guid: z.string().describe(\"MX-defined goal GUID (e.g., 'GOL-...').\").nullable().optional(),\n name: z.string().describe(\"User-defined name for the goal.\").nullable().optional(),\n metadata: z.string().describe(\"Partner-defined freeform metadata (recommended to use JSON format).\").nullable().optional(),\n position: z.number().int().describe(\"Priority position of the goal.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID (e.g., 'USR-...').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the goal was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the goal was last updated.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the goal has been completed.\").nullable().optional(),\n account_guid: z.string().describe(\"GUID of the account linked to this goal.\").nullable().optional(),\n target_amount: z.number().describe(\"Target amount to achieve for the goal.\").nullable().optional(),\n current_amount: z.number().describe(\"Current amount saved toward the goal.\").nullable().optional(),\n goal_type_name: z.string().describe(\"Type/category of the goal (e.g., 'Emergency Fund', 'Vacation').\").nullable().optional(),\n has_been_spent: z.boolean().describe(\"Whether the goal amount has been spent.\").nullable().optional(),\n meta_type_name: z.string().describe(\"Meta type classification for the goal.\").nullable().optional(),\n track_type_name: z.string().describe(\"Tracking type for the goal progress.\").nullable().optional(),\n targeted_to_complete_at: z.string().describe(\"Target completion date (ISO 8601) set by the user.\").nullable().optional(),\n projected_to_complete_at: z.string().describe(\"Projected completion date (ISO 8601) based on saving rate.\").nullable().optional(),\n}).passthrough().describe(\"Goal object representing a user's financial goal.\");\nconst MxTechnologiesListGoals_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}).passthrough().describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListGoalsOutput = z.object({\n goals: z.array(MxTechnologiesListGoals_GoalSchema).describe(\"List of goal objects for the user.\"),\n pagination: MxTechnologiesListGoals_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing goals.\");\n\nexport const mxTechnologiesListGoals = action(\"MX_TECHNOLOGIES_LIST_GOALS\", {\n slug: \"mx_technologies-list-goals\",\n name: \"List goals\",\n description: \"List all financial goals for a specific MX user. Use this to retrieve a paginated list of the user's savings goals, including target amounts, progress, and completion dates. Requires a valid user GUID obtained from the LIST_USERS action.\",\n input: MxTechnologiesListGoalsInput,\n output: MxTechnologiesListGoalsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-goals.mjs","names":[],"sources":["../../src/actions/list-goals.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesListGoalsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1. Defaults to 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user (e.g., 'USR-...').\"),\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 goals for a user.\");\nconst MxTechnologiesListGoals_GoalSchema = z.object({\n guid: z.string().describe(\"MX-defined goal GUID (e.g., 'GOL-...').\").nullable().optional(),\n name: z.string().describe(\"User-defined name for the goal.\").nullable().optional(),\n metadata: z.string().describe(\"Partner-defined freeform metadata (recommended to use JSON format).\").nullable().optional(),\n position: z.number().int().describe(\"Priority position of the goal.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID (e.g., 'USR-...').\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the goal was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the goal was last updated.\").nullable().optional(),\n is_complete: z.boolean().describe(\"Whether the goal has been completed.\").nullable().optional(),\n account_guid: z.string().describe(\"GUID of the account linked to this goal.\").nullable().optional(),\n target_amount: z.number().describe(\"Target amount to achieve for the goal.\").nullable().optional(),\n current_amount: z.number().describe(\"Current amount saved toward the goal.\").nullable().optional(),\n goal_type_name: z.string().describe(\"Type/category of the goal (e.g., 'Emergency Fund', 'Vacation').\").nullable().optional(),\n has_been_spent: z.boolean().describe(\"Whether the goal amount has been spent.\").nullable().optional(),\n meta_type_name: z.string().describe(\"Meta type classification for the goal.\").nullable().optional(),\n track_type_name: z.string().describe(\"Tracking type for the goal progress.\").nullable().optional(),\n targeted_to_complete_at: z.string().describe(\"Target completion date (ISO 8601) set by the user.\").nullable().optional(),\n projected_to_complete_at: z.string().describe(\"Projected completion date (ISO 8601) based on saving rate.\").nullable().optional(),\n}).passthrough().describe(\"Goal object representing a user's financial goal.\");\nconst MxTechnologiesListGoals_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}).passthrough().describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListGoalsOutput = z.object({\n goals: z.array(MxTechnologiesListGoals_GoalSchema).describe(\"List of goal objects for the user.\"),\n pagination: MxTechnologiesListGoals_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing goals.\");\n\nexport const mxTechnologiesListGoals: AppAction<\n typeof MxTechnologiesListGoalsInput,\n typeof MxTechnologiesListGoalsOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_LIST_GOALS\", {\n slug: \"mx_technologies-list-goals\",\n name: \"List goals\",\n description: \"List all financial goals for a specific MX user. Use this to retrieve a paginated list of the user's savings goals, including target amounts, progress, and completion dates. Requires a valid user GUID obtained from the LIST_USERS action.\",\n input: MxTechnologiesListGoalsInput,\n output: MxTechnologiesListGoalsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC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