@keystrokehq/mx_technologies 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-partner-account.cjs +4 -4
- package/dist/actions/cancel-partner-account.cjs.map +1 -1
- package/dist/actions/cancel-partner-account.d.cts +16 -3
- package/dist/actions/cancel-partner-account.d.cts.map +1 -1
- package/dist/actions/cancel-partner-account.d.mts +16 -3
- package/dist/actions/cancel-partner-account.d.mts.map +1 -1
- package/dist/actions/cancel-partner-account.mjs +4 -4
- package/dist/actions/cancel-partner-account.mjs.map +1 -1
- package/dist/actions/create-account.cjs +2 -2
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +68 -3
- package/dist/actions/create-account.d.cts.map +1 -1
- package/dist/actions/create-account.d.mts +68 -3
- package/dist/actions/create-account.d.mts.map +1 -1
- package/dist/actions/create-account.mjs +2 -2
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/create-audience-api-credentials.cjs +3 -3
- package/dist/actions/create-audience-api-credentials.cjs.map +1 -1
- package/dist/actions/create-audience-api-credentials.d.cts +12 -3
- package/dist/actions/create-audience-api-credentials.d.cts.map +1 -1
- package/dist/actions/create-audience-api-credentials.d.mts +12 -3
- package/dist/actions/create-audience-api-credentials.d.mts.map +1 -1
- package/dist/actions/create-audience-api-credentials.mjs +3 -3
- package/dist/actions/create-audience-api-credentials.mjs.map +1 -1
- package/dist/actions/create-member.cjs +6 -6
- package/dist/actions/create-member.cjs.map +1 -1
- package/dist/actions/create-member.d.cts +55 -3
- package/dist/actions/create-member.d.cts.map +1 -1
- package/dist/actions/create-member.d.mts +55 -3
- package/dist/actions/create-member.d.mts.map +1 -1
- package/dist/actions/create-member.mjs +6 -6
- package/dist/actions/create-member.mjs.map +1 -1
- package/dist/actions/create-partner-account.cjs +4 -4
- package/dist/actions/create-partner-account.cjs.map +1 -1
- package/dist/actions/create-partner-account.d.cts +21 -3
- package/dist/actions/create-partner-account.d.cts.map +1 -1
- package/dist/actions/create-partner-account.d.mts +21 -3
- package/dist/actions/create-partner-account.d.mts.map +1 -1
- package/dist/actions/create-partner-account.mjs +4 -4
- package/dist/actions/create-partner-account.mjs.map +1 -1
- package/dist/actions/fetch-rewards.cjs +2 -2
- package/dist/actions/fetch-rewards.cjs.map +1 -1
- package/dist/actions/fetch-rewards.d.cts +29 -3
- package/dist/actions/fetch-rewards.d.cts.map +1 -1
- package/dist/actions/fetch-rewards.d.mts +29 -3
- package/dist/actions/fetch-rewards.d.mts.map +1 -1
- package/dist/actions/fetch-rewards.mjs +2 -2
- package/dist/actions/fetch-rewards.mjs.map +1 -1
- package/dist/actions/get-configurable-widget-url.cjs +2 -2
- package/dist/actions/get-configurable-widget-url.cjs.map +1 -1
- package/dist/actions/get-configurable-widget-url.d.cts +43 -3
- package/dist/actions/get-configurable-widget-url.d.cts.map +1 -1
- package/dist/actions/get-configurable-widget-url.d.mts +43 -3
- package/dist/actions/get-configurable-widget-url.d.mts.map +1 -1
- package/dist/actions/get-configurable-widget-url.mjs +2 -2
- package/dist/actions/get-configurable-widget-url.mjs.map +1 -1
- package/dist/actions/list-account-numbers-by-member.cjs +13 -13
- package/dist/actions/list-account-numbers-by-member.cjs.map +1 -1
- package/dist/actions/list-account-numbers-by-member.d.cts +34 -3
- package/dist/actions/list-account-numbers-by-member.d.cts.map +1 -1
- package/dist/actions/list-account-numbers-by-member.d.mts +34 -3
- package/dist/actions/list-account-numbers-by-member.d.mts.map +1 -1
- package/dist/actions/list-account-numbers-by-member.mjs +13 -13
- package/dist/actions/list-account-numbers-by-member.mjs.map +1 -1
- package/dist/actions/list-account-owners.cjs +11 -11
- package/dist/actions/list-account-owners.cjs.map +1 -1
- package/dist/actions/list-account-owners.d.cts +36 -3
- package/dist/actions/list-account-owners.d.cts.map +1 -1
- package/dist/actions/list-account-owners.d.mts +36 -3
- package/dist/actions/list-account-owners.d.mts.map +1 -1
- package/dist/actions/list-account-owners.mjs +11 -11
- package/dist/actions/list-account-owners.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +11 -11
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +44 -3
- package/dist/actions/list-accounts.d.cts.map +1 -1
- package/dist/actions/list-accounts.d.mts +44 -3
- package/dist/actions/list-accounts.d.mts.map +1 -1
- package/dist/actions/list-accounts.mjs +11 -11
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-budgets.cjs +20 -20
- package/dist/actions/list-budgets.cjs.map +1 -1
- package/dist/actions/list-budgets.d.cts +36 -3
- package/dist/actions/list-budgets.d.cts.map +1 -1
- package/dist/actions/list-budgets.d.mts +36 -3
- package/dist/actions/list-budgets.d.mts.map +1 -1
- package/dist/actions/list-budgets.mjs +20 -20
- package/dist/actions/list-budgets.mjs.map +1 -1
- package/dist/actions/list-categories.cjs +11 -11
- package/dist/actions/list-categories.cjs.map +1 -1
- package/dist/actions/list-categories.d.cts +28 -3
- package/dist/actions/list-categories.d.cts.map +1 -1
- package/dist/actions/list-categories.d.mts +28 -3
- package/dist/actions/list-categories.d.mts.map +1 -1
- package/dist/actions/list-categories.mjs +11 -11
- package/dist/actions/list-categories.mjs.map +1 -1
- package/dist/actions/list-challenges.cjs +6 -6
- package/dist/actions/list-challenges.cjs.map +1 -1
- package/dist/actions/list-challenges.d.cts +29 -3
- package/dist/actions/list-challenges.d.cts.map +1 -1
- package/dist/actions/list-challenges.d.mts +29 -3
- package/dist/actions/list-challenges.d.mts.map +1 -1
- package/dist/actions/list-challenges.mjs +6 -6
- package/dist/actions/list-challenges.mjs.map +1 -1
- package/dist/actions/list-favorite-institutions.cjs +8 -8
- package/dist/actions/list-favorite-institutions.cjs.map +1 -1
- package/dist/actions/list-favorite-institutions.d.cts +35 -3
- package/dist/actions/list-favorite-institutions.d.cts.map +1 -1
- package/dist/actions/list-favorite-institutions.d.mts +35 -3
- package/dist/actions/list-favorite-institutions.d.mts.map +1 -1
- package/dist/actions/list-favorite-institutions.mjs +8 -8
- package/dist/actions/list-favorite-institutions.mjs.map +1 -1
- package/dist/actions/list-goals.cjs +6 -6
- package/dist/actions/list-goals.cjs.map +1 -1
- package/dist/actions/list-goals.d.cts +37 -3
- package/dist/actions/list-goals.d.cts.map +1 -1
- package/dist/actions/list-goals.d.mts +37 -3
- package/dist/actions/list-goals.d.mts.map +1 -1
- package/dist/actions/list-goals.mjs +6 -6
- package/dist/actions/list-goals.mjs.map +1 -1
- package/dist/actions/list-institution-credentials.cjs +3 -3
- package/dist/actions/list-institution-credentials.cjs.map +1 -1
- package/dist/actions/list-institution-credentials.d.cts +25 -3
- package/dist/actions/list-institution-credentials.d.cts.map +1 -1
- package/dist/actions/list-institution-credentials.d.mts +25 -3
- package/dist/actions/list-institution-credentials.d.mts.map +1 -1
- package/dist/actions/list-institution-credentials.mjs +3 -3
- package/dist/actions/list-institution-credentials.mjs.map +1 -1
- package/dist/actions/list-institutions.cjs +20 -20
- package/dist/actions/list-institutions.cjs.map +1 -1
- package/dist/actions/list-institutions.d.cts +45 -3
- package/dist/actions/list-institutions.d.cts.map +1 -1
- package/dist/actions/list-institutions.d.mts +45 -3
- package/dist/actions/list-institutions.d.mts.map +1 -1
- package/dist/actions/list-institutions.mjs +20 -20
- package/dist/actions/list-institutions.mjs.map +1 -1
- package/dist/actions/list-member-accounts.cjs +7 -7
- package/dist/actions/list-member-accounts.cjs.map +1 -1
- package/dist/actions/list-member-accounts.d.cts +57 -3
- package/dist/actions/list-member-accounts.d.cts.map +1 -1
- package/dist/actions/list-member-accounts.d.mts +57 -3
- package/dist/actions/list-member-accounts.d.mts.map +1 -1
- package/dist/actions/list-member-accounts.mjs +7 -7
- package/dist/actions/list-member-accounts.mjs.map +1 -1
- package/dist/actions/list-members.cjs +7 -7
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +47 -3
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +47 -3
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +7 -7
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-rewards.cjs +7 -7
- package/dist/actions/list-rewards.cjs.map +1 -1
- package/dist/actions/list-rewards.d.cts +32 -3
- package/dist/actions/list-rewards.d.cts.map +1 -1
- package/dist/actions/list-rewards.d.mts +32 -3
- package/dist/actions/list-rewards.d.mts.map +1 -1
- package/dist/actions/list-rewards.mjs +7 -7
- package/dist/actions/list-rewards.mjs.map +1 -1
- package/dist/actions/list-statements-by-member.cjs +7 -7
- package/dist/actions/list-statements-by-member.cjs.map +1 -1
- package/dist/actions/list-statements-by-member.d.cts +30 -3
- package/dist/actions/list-statements-by-member.d.cts.map +1 -1
- package/dist/actions/list-statements-by-member.d.mts +30 -3
- package/dist/actions/list-statements-by-member.d.mts.map +1 -1
- package/dist/actions/list-statements-by-member.mjs +7 -7
- package/dist/actions/list-statements-by-member.mjs.map +1 -1
- package/dist/actions/list-taggings.cjs +6 -6
- package/dist/actions/list-taggings.cjs.map +1 -1
- package/dist/actions/list-taggings.d.cts +25 -3
- package/dist/actions/list-taggings.d.cts.map +1 -1
- package/dist/actions/list-taggings.d.mts +25 -3
- package/dist/actions/list-taggings.d.mts.map +1 -1
- package/dist/actions/list-taggings.mjs +6 -6
- package/dist/actions/list-taggings.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +4 -4
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +23 -3
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +23 -3
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +4 -4
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-transactions-by-member.cjs +47 -47
- package/dist/actions/list-transactions-by-member.cjs.map +1 -1
- package/dist/actions/list-transactions-by-member.d.cts +108 -3
- package/dist/actions/list-transactions-by-member.d.cts.map +1 -1
- package/dist/actions/list-transactions-by-member.d.mts +108 -3
- package/dist/actions/list-transactions-by-member.d.mts.map +1 -1
- package/dist/actions/list-transactions-by-member.mjs +47 -47
- package/dist/actions/list-transactions-by-member.mjs.map +1 -1
- package/dist/actions/list-transactions.cjs +11 -11
- package/dist/actions/list-transactions.cjs.map +1 -1
- package/dist/actions/list-transactions.d.cts +107 -3
- package/dist/actions/list-transactions.d.cts.map +1 -1
- package/dist/actions/list-transactions.d.mts +107 -3
- package/dist/actions/list-transactions.d.mts.map +1 -1
- package/dist/actions/list-transactions.mjs +11 -11
- package/dist/actions/list-transactions.mjs.map +1 -1
- package/dist/actions/list-users.cjs +7 -7
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +43 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +43 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +7 -7
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/read-account.cjs +4 -4
- package/dist/actions/read-account.cjs.map +1 -1
- package/dist/actions/read-account.d.cts +52 -3
- package/dist/actions/read-account.d.cts.map +1 -1
- package/dist/actions/read-account.d.mts +52 -3
- package/dist/actions/read-account.d.mts.map +1 -1
- package/dist/actions/read-account.mjs +4 -4
- package/dist/actions/read-account.mjs.map +1 -1
- package/dist/actions/read-category.cjs +5 -5
- package/dist/actions/read-category.cjs.map +1 -1
- package/dist/actions/read-category.d.cts +16 -3
- package/dist/actions/read-category.d.cts.map +1 -1
- package/dist/actions/read-category.d.mts +16 -3
- package/dist/actions/read-category.d.mts.map +1 -1
- package/dist/actions/read-category.mjs +5 -5
- package/dist/actions/read-category.mjs.map +1 -1
- package/dist/actions/read-fdx-account.cjs.map +1 -1
- package/dist/actions/read-fdx-account.d.cts +30 -3
- package/dist/actions/read-fdx-account.d.cts.map +1 -1
- package/dist/actions/read-fdx-account.d.mts +30 -3
- package/dist/actions/read-fdx-account.d.mts.map +1 -1
- package/dist/actions/read-fdx-account.mjs.map +1 -1
- package/dist/actions/read-institution.cjs +1 -1
- package/dist/actions/read-institution.cjs.map +1 -1
- package/dist/actions/read-institution.d.cts +26 -3
- package/dist/actions/read-institution.d.cts.map +1 -1
- package/dist/actions/read-institution.d.mts +26 -3
- package/dist/actions/read-institution.d.mts.map +1 -1
- package/dist/actions/read-institution.mjs +1 -1
- package/dist/actions/read-institution.mjs.map +1 -1
- package/dist/actions/read-transaction-by-account.cjs +7 -7
- package/dist/actions/read-transaction-by-account.cjs.map +1 -1
- package/dist/actions/read-transaction-by-account.d.cts +91 -3
- package/dist/actions/read-transaction-by-account.d.cts.map +1 -1
- package/dist/actions/read-transaction-by-account.d.mts +91 -3
- package/dist/actions/read-transaction-by-account.d.mts.map +1 -1
- package/dist/actions/read-transaction-by-account.mjs +7 -7
- package/dist/actions/read-transaction-by-account.mjs.map +1 -1
- package/dist/actions/read-transaction-rule.cjs +2 -2
- package/dist/actions/read-transaction-rule.cjs.map +1 -1
- package/dist/actions/read-transaction-rule.d.cts +19 -3
- package/dist/actions/read-transaction-rule.d.cts.map +1 -1
- package/dist/actions/read-transaction-rule.d.mts +19 -3
- package/dist/actions/read-transaction-rule.d.mts.map +1 -1
- package/dist/actions/read-transaction-rule.mjs +2 -2
- package/dist/actions/read-transaction-rule.mjs.map +1 -1
- package/dist/actions/read-transaction.cjs +1 -1
- package/dist/actions/read-transaction.cjs.map +1 -1
- package/dist/actions/read-transaction.d.cts +55 -3
- package/dist/actions/read-transaction.d.cts.map +1 -1
- package/dist/actions/read-transaction.d.mts +55 -3
- package/dist/actions/read-transaction.d.mts.map +1 -1
- package/dist/actions/read-transaction.mjs +1 -1
- package/dist/actions/read-transaction.mjs.map +1 -1
- package/dist/actions/update-transaction-rules.cjs +2 -2
- package/dist/actions/update-transaction-rules.cjs.map +1 -1
- package/dist/actions/update-transaction-rules.d.cts +29 -3
- package/dist/actions/update-transaction-rules.d.cts.map +1 -1
- package/dist/actions/update-transaction-rules.d.mts +29 -3
- package/dist/actions/update-transaction-rules.d.mts.map +1 -1
- package/dist/actions/update-transaction-rules.mjs +2 -2
- package/dist/actions/update-transaction-rules.mjs.map +1 -1
- package/dist/actions/update-transaction.cjs +2 -2
- package/dist/actions/update-transaction.cjs.map +1 -1
- package/dist/actions/update-transaction.d.cts +74 -3
- package/dist/actions/update-transaction.d.cts.map +1 -1
- package/dist/actions/update-transaction.d.mts +74 -3
- package/dist/actions/update-transaction.d.mts.map +1 -1
- package/dist/actions/update-transaction.mjs +2 -2
- package/dist/actions/update-transaction.mjs.map +1 -1
- package/dist/actions/update-users-taggings.cjs +1 -1
- package/dist/actions/update-users-taggings.cjs.map +1 -1
- package/dist/actions/update-users-taggings.d.cts +23 -3
- package/dist/actions/update-users-taggings.d.cts.map +1 -1
- package/dist/actions/update-users-taggings.d.mts +23 -3
- package/dist/actions/update-users-taggings.d.mts.map +1 -1
- package/dist/actions/update-users-taggings.mjs +1 -1
- package/dist/actions/update-users-taggings.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -8,31 +8,31 @@ const MxTechnologiesListAccountOwnersInput = zod.z.object({
|
|
|
8
8
|
records_per_page: zod.z.number().int().describe("Number of records per page (10-1000). Defaults to 25 if not provided.").optional()
|
|
9
9
|
}).describe("Request model for listing account owners associated with a member.");
|
|
10
10
|
const MxTechnologiesListAccountOwners_PaginationSchema = zod.z.object({
|
|
11
|
-
per_page: zod.z.number().int().describe("Number of records per page."),
|
|
12
|
-
total_pages: zod.z.number().int().describe("Total number of pages available."),
|
|
13
|
-
current_page: zod.z.number().int().describe("Current page number."),
|
|
14
|
-
total_entries: zod.z.number().int().describe("Total number of records available.")
|
|
15
|
-
});
|
|
11
|
+
per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
|
|
12
|
+
total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
13
|
+
current_page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
14
|
+
total_entries: zod.z.number().int().describe("Total number of records available.").nullable()
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const MxTechnologiesListAccountOwners_AccountOwnerSchema = zod.z.object({
|
|
17
17
|
city: zod.z.string().describe("Owner's city.").nullable().optional(),
|
|
18
|
-
guid: zod.z.string().describe("MX-defined unique identifier for the account owner."),
|
|
18
|
+
guid: zod.z.string().describe("MX-defined unique identifier for the account owner.").nullable(),
|
|
19
19
|
email: zod.z.string().describe("Owner's email address.").nullable().optional(),
|
|
20
20
|
phone: zod.z.string().describe("Owner's phone number.").nullable().optional(),
|
|
21
21
|
state: zod.z.string().describe("Owner's state or region.").nullable().optional(),
|
|
22
22
|
address: zod.z.string().describe("Owner's street address.").nullable().optional(),
|
|
23
23
|
country: zod.z.string().describe("Owner's country code.").nullable().optional(),
|
|
24
24
|
last_name: zod.z.string().describe("Owner's last name.").nullable().optional(),
|
|
25
|
-
user_guid: zod.z.string().describe("MX-defined user GUID associated with this owner."),
|
|
25
|
+
user_guid: zod.z.string().describe("MX-defined user GUID associated with this owner.").nullable(),
|
|
26
26
|
first_name: zod.z.string().describe("Owner's first name.").nullable().optional(),
|
|
27
27
|
owner_name: zod.z.string().describe("Full owner name as reported by the institution.").nullable().optional(),
|
|
28
|
-
member_guid: zod.z.string().describe("MX-defined member GUID associated with this owner."),
|
|
28
|
+
member_guid: zod.z.string().describe("MX-defined member GUID associated with this owner.").nullable(),
|
|
29
29
|
postal_code: zod.z.string().describe("Owner's postal or ZIP code.").nullable().optional(),
|
|
30
|
-
account_guid: zod.z.string().describe("MX-defined account GUID tied to this owner.")
|
|
31
|
-
}).describe("Account owner information as returned by the MX Platform API.");
|
|
30
|
+
account_guid: zod.z.string().describe("MX-defined account GUID tied to this owner.").nullable()
|
|
31
|
+
}).passthrough().describe("Account owner information as returned by the MX Platform API.");
|
|
32
32
|
const MxTechnologiesListAccountOwnersOutput = zod.z.object({
|
|
33
33
|
pagination: MxTechnologiesListAccountOwners_PaginationSchema.nullable(),
|
|
34
34
|
account_owners: zod.z.array(MxTechnologiesListAccountOwners_AccountOwnerSchema).describe("List of account owner objects.")
|
|
35
|
-
}).describe("Response model for listing account owners.");
|
|
35
|
+
}).passthrough().describe("Response model for listing account owners.");
|
|
36
36
|
const mxTechnologiesListAccountOwners = require_action.action("MX_TECHNOLOGIES_LIST_ACCOUNT_OWNERS", {
|
|
37
37
|
slug: "mx_technologies-list-account-owners",
|
|
38
38
|
name: "List account owners",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-account-owners.cjs","names":["z","action"],"sources":["../../src/actions/list-account-owners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountOwnersInput
|
|
1
|
+
{"version":3,"file":"list-account-owners.cjs","names":["z","action"],"sources":["../../src/actions/list-account-owners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountOwnersInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (1-indexed). Defaults to 1 if not provided.\").optional(),\n user_guid: z.string().describe(\"MX-defined unique user identifier. Must start with 'USR-' prefix.\"),\n member_guid: z.string().describe(\"MX-defined unique member identifier. Must start with 'MBR-' or 'MEM-' prefix.\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to 25 if not provided.\").optional(),\n}).describe(\"Request model for listing account owners associated with a member.\");\nconst MxTechnologiesListAccountOwners_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();\nconst MxTechnologiesListAccountOwners_AccountOwnerSchema = z.object({\n city: z.string().describe(\"Owner's city.\").nullable().optional(),\n guid: z.string().describe(\"MX-defined unique identifier for the account owner.\").nullable(),\n email: z.string().describe(\"Owner's email address.\").nullable().optional(),\n phone: z.string().describe(\"Owner's phone number.\").nullable().optional(),\n state: z.string().describe(\"Owner's state or region.\").nullable().optional(),\n address: z.string().describe(\"Owner's street address.\").nullable().optional(),\n country: z.string().describe(\"Owner's country code.\").nullable().optional(),\n last_name: z.string().describe(\"Owner's last name.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID associated with this owner.\").nullable(),\n first_name: z.string().describe(\"Owner's first name.\").nullable().optional(),\n owner_name: z.string().describe(\"Full owner name as reported by the institution.\").nullable().optional(),\n member_guid: z.string().describe(\"MX-defined member GUID associated with this owner.\").nullable(),\n postal_code: z.string().describe(\"Owner's postal or ZIP code.\").nullable().optional(),\n account_guid: z.string().describe(\"MX-defined account GUID tied to this owner.\").nullable(),\n}).passthrough().describe(\"Account owner information as returned by the MX Platform API.\");\nexport const MxTechnologiesListAccountOwnersOutput = z.object({\n pagination: MxTechnologiesListAccountOwners_PaginationSchema.nullable(),\n account_owners: z.array(MxTechnologiesListAccountOwners_AccountOwnerSchema).describe(\"List of account owner objects.\"),\n}).passthrough().describe(\"Response model for listing account owners.\");\n\nexport const mxTechnologiesListAccountOwners = action(\"MX_TECHNOLOGIES_LIST_ACCOUNT_OWNERS\", {\n slug: \"mx_technologies-list-account-owners\",\n name: \"List account owners\",\n description: \"Tool to list account owners for a specific member. Returns identity information (name, address, contact details) for all account owners associated with the member's accounts. Requires user_guid and member_guid. Use this to retrieve account holder identity data for verification or compliance purposes.\",\n input: MxTechnologiesListAccountOwnersInput,\n output: MxTechnologiesListAccountOwnersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,S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
2
2
|
|
|
3
3
|
//#region src/actions/list-account-owners.d.ts
|
|
4
|
-
declare const MxTechnologiesListAccountOwnersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MxTechnologiesListAccountOwnersInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
user_guid: z.ZodString;
|
|
7
|
+
member_guid: z.ZodString;
|
|
8
|
+
records_per_page: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MxTechnologiesListAccountOwnersOutput: z.ZodObject<{
|
|
11
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
account_owners: z.ZodArray<z.ZodObject<{
|
|
18
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
guid: z.ZodNullable<z.ZodString>;
|
|
20
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
user_guid: z.ZodNullable<z.ZodString>;
|
|
27
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
owner_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
member_guid: z.ZodNullable<z.ZodString>;
|
|
30
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
account_guid: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
|
+
declare const mxTechnologiesListAccountOwners: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
|
+
user_guid: string;
|
|
36
|
+
member_guid: string;
|
|
37
|
+
page?: number | undefined;
|
|
38
|
+
records_per_page?: number | undefined;
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { mxTechnologiesListAccountOwners };
|
|
9
42
|
//# sourceMappingURL=list-account-owners.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-account-owners.d.cts","names":[],"sources":["../../src/actions/list-account-owners.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"list-account-owners.d.cts","names":[],"sources":["../../src/actions/list-account-owners.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cA4BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-account-owners.d.ts
|
|
4
|
-
declare const MxTechnologiesListAccountOwnersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MxTechnologiesListAccountOwnersInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
user_guid: z.ZodString;
|
|
7
|
+
member_guid: z.ZodString;
|
|
8
|
+
records_per_page: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MxTechnologiesListAccountOwnersOutput: z.ZodObject<{
|
|
11
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
account_owners: z.ZodArray<z.ZodObject<{
|
|
18
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
guid: z.ZodNullable<z.ZodString>;
|
|
20
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
user_guid: z.ZodNullable<z.ZodString>;
|
|
27
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
owner_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
member_guid: z.ZodNullable<z.ZodString>;
|
|
30
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
account_guid: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
|
+
declare const mxTechnologiesListAccountOwners: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
|
+
user_guid: string;
|
|
36
|
+
member_guid: string;
|
|
37
|
+
page?: number | undefined;
|
|
38
|
+
records_per_page?: number | undefined;
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
40
|
//#endregion
|
|
8
41
|
export { mxTechnologiesListAccountOwners };
|
|
9
42
|
//# sourceMappingURL=list-account-owners.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-account-owners.d.mts","names":[],"sources":["../../src/actions/list-account-owners.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"list-account-owners.d.mts","names":[],"sources":["../../src/actions/list-account-owners.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cA4BpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -8,27 +8,27 @@ const MxTechnologiesListAccountOwnersInput = z.object({
|
|
|
8
8
|
records_per_page: z.number().int().describe("Number of records per page (10-1000). Defaults to 25 if not provided.").optional()
|
|
9
9
|
}).describe("Request model for listing account owners associated with a member.");
|
|
10
10
|
const MxTechnologiesListAccountOwners_PaginationSchema = z.object({
|
|
11
|
-
per_page: z.number().int().describe("Number of records per page."),
|
|
12
|
-
total_pages: z.number().int().describe("Total number of pages available."),
|
|
13
|
-
current_page: z.number().int().describe("Current page number."),
|
|
14
|
-
total_entries: z.number().int().describe("Total number of records available.")
|
|
15
|
-
});
|
|
11
|
+
per_page: z.number().int().describe("Number of records per page.").nullable(),
|
|
12
|
+
total_pages: z.number().int().describe("Total number of pages available.").nullable(),
|
|
13
|
+
current_page: z.number().int().describe("Current page number.").nullable(),
|
|
14
|
+
total_entries: z.number().int().describe("Total number of records available.").nullable()
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const MxTechnologiesListAccountOwners_AccountOwnerSchema = z.object({
|
|
17
17
|
city: z.string().describe("Owner's city.").nullable().optional(),
|
|
18
|
-
guid: z.string().describe("MX-defined unique identifier for the account owner."),
|
|
18
|
+
guid: z.string().describe("MX-defined unique identifier for the account owner.").nullable(),
|
|
19
19
|
email: z.string().describe("Owner's email address.").nullable().optional(),
|
|
20
20
|
phone: z.string().describe("Owner's phone number.").nullable().optional(),
|
|
21
21
|
state: z.string().describe("Owner's state or region.").nullable().optional(),
|
|
22
22
|
address: z.string().describe("Owner's street address.").nullable().optional(),
|
|
23
23
|
country: z.string().describe("Owner's country code.").nullable().optional(),
|
|
24
24
|
last_name: z.string().describe("Owner's last name.").nullable().optional(),
|
|
25
|
-
user_guid: z.string().describe("MX-defined user GUID associated with this owner."),
|
|
25
|
+
user_guid: z.string().describe("MX-defined user GUID associated with this owner.").nullable(),
|
|
26
26
|
first_name: z.string().describe("Owner's first name.").nullable().optional(),
|
|
27
27
|
owner_name: z.string().describe("Full owner name as reported by the institution.").nullable().optional(),
|
|
28
|
-
member_guid: z.string().describe("MX-defined member GUID associated with this owner."),
|
|
28
|
+
member_guid: z.string().describe("MX-defined member GUID associated with this owner.").nullable(),
|
|
29
29
|
postal_code: z.string().describe("Owner's postal or ZIP code.").nullable().optional(),
|
|
30
|
-
account_guid: z.string().describe("MX-defined account GUID tied to this owner.")
|
|
31
|
-
}).describe("Account owner information as returned by the MX Platform API.");
|
|
30
|
+
account_guid: z.string().describe("MX-defined account GUID tied to this owner.").nullable()
|
|
31
|
+
}).passthrough().describe("Account owner information as returned by the MX Platform API.");
|
|
32
32
|
const mxTechnologiesListAccountOwners = action("MX_TECHNOLOGIES_LIST_ACCOUNT_OWNERS", {
|
|
33
33
|
slug: "mx_technologies-list-account-owners",
|
|
34
34
|
name: "List account owners",
|
|
@@ -37,7 +37,7 @@ const mxTechnologiesListAccountOwners = action("MX_TECHNOLOGIES_LIST_ACCOUNT_OWN
|
|
|
37
37
|
output: z.object({
|
|
38
38
|
pagination: MxTechnologiesListAccountOwners_PaginationSchema.nullable(),
|
|
39
39
|
account_owners: z.array(MxTechnologiesListAccountOwners_AccountOwnerSchema).describe("List of account owner objects.")
|
|
40
|
-
}).describe("Response model for listing account owners.")
|
|
40
|
+
}).passthrough().describe("Response model for listing account owners.")
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { mxTechnologiesListAccountOwners };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-account-owners.mjs","names":[],"sources":["../../src/actions/list-account-owners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountOwnersInput
|
|
1
|
+
{"version":3,"file":"list-account-owners.mjs","names":[],"sources":["../../src/actions/list-account-owners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountOwnersInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (1-indexed). Defaults to 1 if not provided.\").optional(),\n user_guid: z.string().describe(\"MX-defined unique user identifier. Must start with 'USR-' prefix.\"),\n member_guid: z.string().describe(\"MX-defined unique member identifier. Must start with 'MBR-' or 'MEM-' prefix.\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to 25 if not provided.\").optional(),\n}).describe(\"Request model for listing account owners associated with a member.\");\nconst MxTechnologiesListAccountOwners_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();\nconst MxTechnologiesListAccountOwners_AccountOwnerSchema = z.object({\n city: z.string().describe(\"Owner's city.\").nullable().optional(),\n guid: z.string().describe(\"MX-defined unique identifier for the account owner.\").nullable(),\n email: z.string().describe(\"Owner's email address.\").nullable().optional(),\n phone: z.string().describe(\"Owner's phone number.\").nullable().optional(),\n state: z.string().describe(\"Owner's state or region.\").nullable().optional(),\n address: z.string().describe(\"Owner's street address.\").nullable().optional(),\n country: z.string().describe(\"Owner's country code.\").nullable().optional(),\n last_name: z.string().describe(\"Owner's last name.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID associated with this owner.\").nullable(),\n first_name: z.string().describe(\"Owner's first name.\").nullable().optional(),\n owner_name: z.string().describe(\"Full owner name as reported by the institution.\").nullable().optional(),\n member_guid: z.string().describe(\"MX-defined member GUID associated with this owner.\").nullable(),\n postal_code: z.string().describe(\"Owner's postal or ZIP code.\").nullable().optional(),\n account_guid: z.string().describe(\"MX-defined account GUID tied to this owner.\").nullable(),\n}).passthrough().describe(\"Account owner information as returned by the MX Platform API.\");\nexport const MxTechnologiesListAccountOwnersOutput = z.object({\n pagination: MxTechnologiesListAccountOwners_PaginationSchema.nullable(),\n account_owners: z.array(MxTechnologiesListAccountOwners_AccountOwnerSchema).describe(\"List of account owner objects.\"),\n}).passthrough().describe(\"Response model for listing account owners.\");\n\nexport const mxTechnologiesListAccountOwners = action(\"MX_TECHNOLOGIES_LIST_ACCOUNT_OWNERS\", {\n slug: \"mx_technologies-list-account-owners\",\n name: \"List account owners\",\n description: \"Tool to list account owners for a specific member. Returns identity information (name, address, contact details) for all account owners associated with the member's accounts. Requires user_guid and member_guid. Use this to retrieve account holder identity data for verification or compliance purposes.\",\n input: MxTechnologiesListAccountOwnersInput,\n output: MxTechnologiesListAccountOwnersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAChH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmD,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,C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,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAMzF,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,YAAY,iDAAiD,SAAS;EACtE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,gCAAgC;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -10,32 +10,32 @@ const MxTechnologiesListAccountsInput = zod.z.object({
|
|
|
10
10
|
member_is_managed_by_user: zod.z.boolean().describe("Only include accounts whose member is managed by the user.").optional()
|
|
11
11
|
}).describe("Request parameters for listing all accounts under a specific user.");
|
|
12
12
|
const MxTechnologiesListAccounts_AccountSchema = zod.z.object({
|
|
13
|
-
guid: zod.z.string().describe("MX account GUID."),
|
|
13
|
+
guid: zod.z.string().describe("MX account GUID.").nullable(),
|
|
14
14
|
name: zod.z.string().describe("Name of the account.").nullable().optional(),
|
|
15
15
|
type: zod.z.string().describe("General account type.").nullable().optional(),
|
|
16
|
-
balance: zod.z.number().describe("Current total balance of the account."),
|
|
16
|
+
balance: zod.z.number().describe("Current total balance of the account.").nullable(),
|
|
17
17
|
subtype: zod.z.string().describe("Specific account subtype.").nullable().optional(),
|
|
18
18
|
is_closed: zod.z.boolean().describe("Flag indicating if account is closed.").nullable().optional(),
|
|
19
19
|
is_manual: zod.z.boolean().describe("Flag indicating if account was manually created.").nullable().optional(),
|
|
20
|
-
user_guid: zod.z.string().describe("MX user GUID owning the account."),
|
|
20
|
+
user_guid: zod.z.string().describe("MX user GUID owning the account.").nullable(),
|
|
21
21
|
created_at: zod.z.string().describe("ISO 8601 timestamp when account was created.").nullable().optional(),
|
|
22
22
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when account was last updated.").nullable().optional(),
|
|
23
23
|
member_guid: zod.z.string().describe("MX member GUID owning the account.").nullable().optional(),
|
|
24
24
|
currency_code: zod.z.string().describe("ISO 4217 currency code.").nullable().optional(),
|
|
25
25
|
institution_guid: zod.z.string().describe("MX institution GUID linked to the account.").nullable().optional(),
|
|
26
|
-
available_balance: zod.z.number().describe("Available balance for spending."),
|
|
26
|
+
available_balance: zod.z.number().describe("Available balance for spending.").nullable(),
|
|
27
27
|
member_is_managed_by_user: zod.z.boolean().describe("Flag if account's member is managed by the user.").nullable().optional()
|
|
28
|
-
});
|
|
28
|
+
}).passthrough();
|
|
29
29
|
const MxTechnologiesListAccounts_PaginationSchema = zod.z.object({
|
|
30
|
-
per_page: zod.z.number().int().describe("Number of records per page."),
|
|
31
|
-
total_pages: zod.z.number().int().describe("Total number of pages available."),
|
|
32
|
-
current_page: zod.z.number().int().describe("Current page number."),
|
|
33
|
-
total_entries: zod.z.number().int().describe("Total number of entries available.")
|
|
34
|
-
});
|
|
30
|
+
per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
|
|
31
|
+
total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
32
|
+
current_page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
33
|
+
total_entries: zod.z.number().int().describe("Total number of entries available.").nullable()
|
|
34
|
+
}).passthrough();
|
|
35
35
|
const MxTechnologiesListAccountsOutput = zod.z.object({
|
|
36
36
|
accounts: zod.z.array(MxTechnologiesListAccounts_AccountSchema).describe("List of account objects."),
|
|
37
37
|
pagination: MxTechnologiesListAccounts_PaginationSchema.nullable()
|
|
38
|
-
}).describe("Response schema for listing user accounts.");
|
|
38
|
+
}).passthrough().describe("Response schema for listing user accounts.");
|
|
39
39
|
const mxTechnologiesListAccounts = require_action.action("MX_TECHNOLOGIES_LIST_ACCOUNTS", {
|
|
40
40
|
slug: "mx_technologies-list-accounts",
|
|
41
41
|
name: "List accounts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountsInput
|
|
1
|
+
{"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountsInput = z.object({\n page: z.number().int().describe(\"Page number of results to return (1-based).\").optional(),\n use_case: z.array(z.enum([\"PFM\", \"MONEY_MOVEMENT\"])).describe(\"Filter accounts by member use cases: 'PFM' and/or 'MONEY_MOVEMENT'.\").optional(),\n is_manual: z.boolean().describe(\"Only include accounts that were manually created.\").optional(),\n user_guid: z.string().describe(\"MX user GUID (must start with 'USR-').\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to MX default of 25.\").optional(),\n member_is_managed_by_user: z.boolean().describe(\"Only include accounts whose member is managed by the user.\").optional(),\n}).describe(\"Request parameters for listing all accounts under a specific user.\");\nconst MxTechnologiesListAccounts_AccountSchema = z.object({\n guid: z.string().describe(\"MX account GUID.\").nullable(),\n name: z.string().describe(\"Name of the account.\").nullable().optional(),\n type: z.string().describe(\"General account type.\").nullable().optional(),\n balance: z.number().describe(\"Current total balance of the account.\").nullable(),\n subtype: z.string().describe(\"Specific account subtype.\").nullable().optional(),\n is_closed: z.boolean().describe(\"Flag indicating if account is closed.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Flag indicating if account was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"MX user GUID owning the account.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when account was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when account was last updated.\").nullable().optional(),\n member_guid: z.string().describe(\"MX member GUID owning the account.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID linked to the account.\").nullable().optional(),\n available_balance: z.number().describe(\"Available balance for spending.\").nullable(),\n member_is_managed_by_user: z.boolean().describe(\"Flag if account's member is managed by the user.\").nullable().optional(),\n}).passthrough();\nconst MxTechnologiesListAccounts_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();\nexport const MxTechnologiesListAccountsOutput = z.object({\n accounts: z.array(MxTechnologiesListAccounts_AccountSchema).describe(\"List of account objects.\"),\n pagination: MxTechnologiesListAccounts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing user accounts.\");\n\nexport const mxTechnologiesListAccounts = action(\"MX_TECHNOLOGIES_LIST_ACCOUNTS\", {\n slug: \"mx_technologies-list-accounts\",\n name: \"List accounts\",\n description: \"Tool to list all accounts for a user. Use after confirming the user GUID.\",\n input: MxTechnologiesListAccountsInput,\n output: MxTechnologiesListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,WAA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}
|
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-accounts.d.ts
|
|
4
|
-
declare const MxTechnologiesListAccountsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MxTechnologiesListAccountsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
use_case: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7
|
+
PFM: "PFM";
|
|
8
|
+
MONEY_MOVEMENT: "MONEY_MOVEMENT";
|
|
9
|
+
}>>>;
|
|
10
|
+
is_manual: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
user_guid: z.ZodString;
|
|
12
|
+
records_per_page: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
member_is_managed_by_user: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const MxTechnologiesListAccountsOutput: z.ZodObject<{
|
|
16
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
17
|
+
guid: z.ZodNullable<z.ZodString>;
|
|
18
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
balance: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
subtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
is_closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
+
is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
+
user_guid: z.ZodNullable<z.ZodString>;
|
|
25
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
member_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
available_balance: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
member_is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
34
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
declare const mxTechnologiesListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
|
+
user_guid: string;
|
|
42
|
+
page?: number | undefined;
|
|
43
|
+
use_case?: ("PFM" | "MONEY_MOVEMENT")[] | undefined;
|
|
44
|
+
is_manual?: boolean | undefined;
|
|
45
|
+
records_per_page?: number | undefined;
|
|
46
|
+
member_is_managed_by_user?: boolean | undefined;
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { mxTechnologiesListAccounts };
|
|
9
50
|
//# sourceMappingURL=list-accounts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-accounts.d.cts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-accounts.d.cts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cA+B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-accounts.d.ts
|
|
4
|
-
declare const MxTechnologiesListAccountsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MxTechnologiesListAccountsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
use_case: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7
|
+
PFM: "PFM";
|
|
8
|
+
MONEY_MOVEMENT: "MONEY_MOVEMENT";
|
|
9
|
+
}>>>;
|
|
10
|
+
is_manual: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
user_guid: z.ZodString;
|
|
12
|
+
records_per_page: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
member_is_managed_by_user: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const MxTechnologiesListAccountsOutput: z.ZodObject<{
|
|
16
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
17
|
+
guid: z.ZodNullable<z.ZodString>;
|
|
18
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
balance: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
subtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
is_closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
+
is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
+
user_guid: z.ZodNullable<z.ZodString>;
|
|
25
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
member_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
available_balance: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
member_is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
34
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
declare const mxTechnologiesListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
|
+
user_guid: string;
|
|
42
|
+
page?: number | undefined;
|
|
43
|
+
use_case?: ("PFM" | "MONEY_MOVEMENT")[] | undefined;
|
|
44
|
+
is_manual?: boolean | undefined;
|
|
45
|
+
records_per_page?: number | undefined;
|
|
46
|
+
member_is_managed_by_user?: boolean | undefined;
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { mxTechnologiesListAccounts };
|
|
9
50
|
//# sourceMappingURL=list-accounts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-accounts.d.mts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-accounts.d.mts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cA+B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -10,28 +10,28 @@ const MxTechnologiesListAccountsInput = z.object({
|
|
|
10
10
|
member_is_managed_by_user: z.boolean().describe("Only include accounts whose member is managed by the user.").optional()
|
|
11
11
|
}).describe("Request parameters for listing all accounts under a specific user.");
|
|
12
12
|
const MxTechnologiesListAccounts_AccountSchema = z.object({
|
|
13
|
-
guid: z.string().describe("MX account GUID."),
|
|
13
|
+
guid: z.string().describe("MX account GUID.").nullable(),
|
|
14
14
|
name: z.string().describe("Name of the account.").nullable().optional(),
|
|
15
15
|
type: z.string().describe("General account type.").nullable().optional(),
|
|
16
|
-
balance: z.number().describe("Current total balance of the account."),
|
|
16
|
+
balance: z.number().describe("Current total balance of the account.").nullable(),
|
|
17
17
|
subtype: z.string().describe("Specific account subtype.").nullable().optional(),
|
|
18
18
|
is_closed: z.boolean().describe("Flag indicating if account is closed.").nullable().optional(),
|
|
19
19
|
is_manual: z.boolean().describe("Flag indicating if account was manually created.").nullable().optional(),
|
|
20
|
-
user_guid: z.string().describe("MX user GUID owning the account."),
|
|
20
|
+
user_guid: z.string().describe("MX user GUID owning the account.").nullable(),
|
|
21
21
|
created_at: z.string().describe("ISO 8601 timestamp when account was created.").nullable().optional(),
|
|
22
22
|
updated_at: z.string().describe("ISO 8601 timestamp when account was last updated.").nullable().optional(),
|
|
23
23
|
member_guid: z.string().describe("MX member GUID owning the account.").nullable().optional(),
|
|
24
24
|
currency_code: z.string().describe("ISO 4217 currency code.").nullable().optional(),
|
|
25
25
|
institution_guid: z.string().describe("MX institution GUID linked to the account.").nullable().optional(),
|
|
26
|
-
available_balance: z.number().describe("Available balance for spending."),
|
|
26
|
+
available_balance: z.number().describe("Available balance for spending.").nullable(),
|
|
27
27
|
member_is_managed_by_user: z.boolean().describe("Flag if account's member is managed by the user.").nullable().optional()
|
|
28
|
-
});
|
|
28
|
+
}).passthrough();
|
|
29
29
|
const MxTechnologiesListAccounts_PaginationSchema = z.object({
|
|
30
|
-
per_page: z.number().int().describe("Number of records per page."),
|
|
31
|
-
total_pages: z.number().int().describe("Total number of pages available."),
|
|
32
|
-
current_page: z.number().int().describe("Current page number."),
|
|
33
|
-
total_entries: z.number().int().describe("Total number of entries available.")
|
|
34
|
-
});
|
|
30
|
+
per_page: z.number().int().describe("Number of records per page.").nullable(),
|
|
31
|
+
total_pages: z.number().int().describe("Total number of pages available.").nullable(),
|
|
32
|
+
current_page: z.number().int().describe("Current page number.").nullable(),
|
|
33
|
+
total_entries: z.number().int().describe("Total number of entries available.").nullable()
|
|
34
|
+
}).passthrough();
|
|
35
35
|
const mxTechnologiesListAccounts = action("MX_TECHNOLOGIES_LIST_ACCOUNTS", {
|
|
36
36
|
slug: "mx_technologies-list-accounts",
|
|
37
37
|
name: "List accounts",
|
|
@@ -40,7 +40,7 @@ const mxTechnologiesListAccounts = action("MX_TECHNOLOGIES_LIST_ACCOUNTS", {
|
|
|
40
40
|
output: z.object({
|
|
41
41
|
accounts: z.array(MxTechnologiesListAccounts_AccountSchema).describe("List of account objects."),
|
|
42
42
|
pagination: MxTechnologiesListAccounts_PaginationSchema.nullable()
|
|
43
|
-
}).describe("Response schema for listing user accounts.")
|
|
43
|
+
}).passthrough().describe("Response schema for listing user accounts.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { mxTechnologiesListAccounts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountsInput
|
|
1
|
+
{"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountsInput = z.object({\n page: z.number().int().describe(\"Page number of results to return (1-based).\").optional(),\n use_case: z.array(z.enum([\"PFM\", \"MONEY_MOVEMENT\"])).describe(\"Filter accounts by member use cases: 'PFM' and/or 'MONEY_MOVEMENT'.\").optional(),\n is_manual: z.boolean().describe(\"Only include accounts that were manually created.\").optional(),\n user_guid: z.string().describe(\"MX user GUID (must start with 'USR-').\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to MX default of 25.\").optional(),\n member_is_managed_by_user: z.boolean().describe(\"Only include accounts whose member is managed by the user.\").optional(),\n}).describe(\"Request parameters for listing all accounts under a specific user.\");\nconst MxTechnologiesListAccounts_AccountSchema = z.object({\n guid: z.string().describe(\"MX account GUID.\").nullable(),\n name: z.string().describe(\"Name of the account.\").nullable().optional(),\n type: z.string().describe(\"General account type.\").nullable().optional(),\n balance: z.number().describe(\"Current total balance of the account.\").nullable(),\n subtype: z.string().describe(\"Specific account subtype.\").nullable().optional(),\n is_closed: z.boolean().describe(\"Flag indicating if account is closed.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Flag indicating if account was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"MX user GUID owning the account.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when account was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when account was last updated.\").nullable().optional(),\n member_guid: z.string().describe(\"MX member GUID owning the account.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID linked to the account.\").nullable().optional(),\n available_balance: z.number().describe(\"Available balance for spending.\").nullable(),\n member_is_managed_by_user: z.boolean().describe(\"Flag if account's member is managed by the user.\").nullable().optional(),\n}).passthrough();\nconst MxTechnologiesListAccounts_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();\nexport const MxTechnologiesListAccountsOutput = z.object({\n accounts: z.array(MxTechnologiesListAccounts_AccountSchema).describe(\"List of account objects.\"),\n pagination: MxTechnologiesListAccounts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing user accounts.\");\n\nexport const mxTechnologiesListAccounts = action(\"MX_TECHNOLOGIES_LIST_ACCOUNTS\", {\n slug: \"mx_technologies-list-accounts\",\n name: \"List accounts\",\n description: \"Tool to list all accounts for a user. Use after confirming the user GUID.\",\n input: MxTechnologiesListAccountsInput,\n output: MxTechnologiesListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC5H,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,C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AAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,UAAU,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0BAA0B;EAC/F,YAAY,4CAA4C,SAAS;CACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -7,33 +7,33 @@ const MxTechnologiesListBudgetsInput = zod.z.object({
|
|
|
7
7
|
records_per_page: zod.z.number().int().describe("Number of records per page (10-1000). Defaults to 25 if not specified.").optional()
|
|
8
8
|
}).describe("Request parameters for listing budgets for a user.");
|
|
9
9
|
const MxTechnologiesListBudgets_BudgetSchema = zod.z.object({
|
|
10
|
-
guid: zod.z.string().describe("Unique MX-defined budget GUID (e.g., BGT-...)."),
|
|
11
|
-
name: zod.z.string().describe("User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment')."),
|
|
12
|
-
amount: zod.z.number().describe("Target monthly spending limit set by the user for this category."),
|
|
10
|
+
guid: zod.z.string().describe("Unique MX-defined budget GUID (e.g., BGT-...).").nullable(),
|
|
11
|
+
name: zod.z.string().describe("User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment').").nullable(),
|
|
12
|
+
amount: zod.z.number().describe("Target monthly spending limit set by the user for this category.").nullable(),
|
|
13
13
|
metadata: zod.z.string().describe("Partner-defined freeform metadata string.").nullable().optional(),
|
|
14
|
-
revision: zod.z.number().int().describe("Revision number for optimistic concurrency control."),
|
|
15
|
-
user_guid: zod.z.string().describe("MX-defined user GUID who owns this budget."),
|
|
16
|
-
created_at: zod.z.string().describe("Timestamp (ISO 8601) when the budget was created."),
|
|
17
|
-
updated_at: zod.z.string().describe("Timestamp (ISO 8601) when the budget was last updated."),
|
|
18
|
-
is_exceeded: zod.z.boolean().describe("True if spending has exceeded the budget amount."),
|
|
14
|
+
revision: zod.z.number().int().describe("Revision number for optimistic concurrency control.").nullable(),
|
|
15
|
+
user_guid: zod.z.string().describe("MX-defined user GUID who owns this budget.").nullable(),
|
|
16
|
+
created_at: zod.z.string().describe("Timestamp (ISO 8601) when the budget was created.").nullable(),
|
|
17
|
+
updated_at: zod.z.string().describe("Timestamp (ISO 8601) when the budget was last updated.").nullable(),
|
|
18
|
+
is_exceeded: zod.z.boolean().describe("True if spending has exceeded the budget amount.").nullable(),
|
|
19
19
|
parent_guid: zod.z.string().describe("GUID of the parent budget if this is a sub-budget.").nullable().optional(),
|
|
20
|
-
is_off_track: zod.z.boolean().describe("True if current spending rate suggests the budget will be exceeded."),
|
|
21
|
-
category_guid: zod.z.string().describe("MX-defined GUID of the category this budget applies to."),
|
|
22
|
-
percent_spent: zod.z.number().describe("Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0."),
|
|
23
|
-
transaction_total: zod.z.number().describe("Cumulative amount of transactions under this budget for the current month."),
|
|
24
|
-
projected_spending: zod.z.number().describe("Projected total spending for this budget based on current spending patterns."),
|
|
20
|
+
is_off_track: zod.z.boolean().describe("True if current spending rate suggests the budget will be exceeded.").nullable(),
|
|
21
|
+
category_guid: zod.z.string().describe("MX-defined GUID of the category this budget applies to.").nullable(),
|
|
22
|
+
percent_spent: zod.z.number().describe("Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0.").nullable(),
|
|
23
|
+
transaction_total: zod.z.number().describe("Cumulative amount of transactions under this budget for the current month.").nullable(),
|
|
24
|
+
projected_spending: zod.z.number().describe("Projected total spending for this budget based on current spending patterns.").nullable(),
|
|
25
25
|
off_track_percentage: zod.z.number().describe("Off-track percentage threshold (deprecated field).").nullable().optional()
|
|
26
|
-
}).describe("Budget object representing a spending budget for a specific category.");
|
|
26
|
+
}).passthrough().describe("Budget object representing a spending budget for a specific category.");
|
|
27
27
|
const MxTechnologiesListBudgets_PaginationSchema = zod.z.object({
|
|
28
|
-
per_page: zod.z.number().int().describe("Number of records per page."),
|
|
29
|
-
total_pages: zod.z.number().int().describe("Total number of pages available."),
|
|
30
|
-
current_page: zod.z.number().int().describe("Current page number."),
|
|
31
|
-
total_entries: zod.z.number().int().describe("Total number of budgets available.")
|
|
32
|
-
}).describe("Pagination details for list responses.");
|
|
28
|
+
per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
|
|
29
|
+
total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
30
|
+
current_page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
31
|
+
total_entries: zod.z.number().int().describe("Total number of budgets available.").nullable()
|
|
32
|
+
}).passthrough().describe("Pagination details for list responses.");
|
|
33
33
|
const MxTechnologiesListBudgetsOutput = zod.z.object({
|
|
34
34
|
budgets: zod.z.array(MxTechnologiesListBudgets_BudgetSchema).describe("List of budget objects for the user. Empty list if no budgets exist."),
|
|
35
35
|
pagination: MxTechnologiesListBudgets_PaginationSchema.nullable()
|
|
36
|
-
}).describe("Response schema for listing budgets.");
|
|
36
|
+
}).passthrough().describe("Response schema for listing budgets.");
|
|
37
37
|
const mxTechnologiesListBudgets = require_action.action("MX_TECHNOLOGIES_LIST_BUDGETS", {
|
|
38
38
|
slug: "mx_technologies-list-budgets",
|
|
39
39
|
name: "List budgets",
|