@keystrokehq/mx_technologies 0.1.2 → 0.1.4
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/actions/cancel-partner-account.cjs +1 -1
- package/dist/actions/cancel-partner-account.cjs.map +1 -1
- package/dist/actions/cancel-partner-account.d.cts +16 -2
- package/dist/actions/cancel-partner-account.d.mts +16 -2
- package/dist/actions/cancel-partner-account.mjs +1 -1
- 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 +17 -3
- package/dist/actions/create-account.d.mts +17 -3
- 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 +1 -1
- package/dist/actions/create-audience-api-credentials.cjs.map +1 -1
- package/dist/actions/create-audience-api-credentials.d.cts +16 -2
- package/dist/actions/create-audience-api-credentials.d.mts +16 -2
- package/dist/actions/create-audience-api-credentials.mjs +1 -1
- package/dist/actions/create-audience-api-credentials.mjs.map +1 -1
- package/dist/actions/create-member.cjs +3 -3
- package/dist/actions/create-member.cjs.map +1 -1
- package/dist/actions/create-member.d.cts +19 -4
- package/dist/actions/create-member.d.mts +19 -4
- package/dist/actions/create-member.mjs +3 -3
- package/dist/actions/create-member.mjs.map +1 -1
- package/dist/actions/create-partner-account.cjs +2 -2
- package/dist/actions/create-partner-account.cjs.map +1 -1
- package/dist/actions/create-partner-account.d.cts +17 -3
- package/dist/actions/create-partner-account.d.mts +17 -3
- package/dist/actions/create-partner-account.mjs +2 -2
- 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 +17 -3
- package/dist/actions/fetch-rewards.d.mts +17 -3
- 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 +1 -1
- package/dist/actions/get-configurable-widget-url.cjs.map +1 -1
- package/dist/actions/get-configurable-widget-url.d.cts +16 -2
- package/dist/actions/get-configurable-widget-url.d.cts.map +1 -1
- package/dist/actions/get-configurable-widget-url.d.mts +16 -2
- package/dist/actions/get-configurable-widget-url.d.mts.map +1 -1
- package/dist/actions/get-configurable-widget-url.mjs +1 -1
- package/dist/actions/get-configurable-widget-url.mjs.map +1 -1
- package/dist/actions/list-account-numbers-by-member.cjs +3 -3
- package/dist/actions/list-account-numbers-by-member.cjs.map +1 -1
- package/dist/actions/list-account-numbers-by-member.d.cts +18 -4
- package/dist/actions/list-account-numbers-by-member.d.mts +18 -4
- package/dist/actions/list-account-numbers-by-member.mjs +3 -3
- package/dist/actions/list-account-numbers-by-member.mjs.map +1 -1
- package/dist/actions/list-account-owners.cjs +3 -3
- package/dist/actions/list-account-owners.cjs.map +1 -1
- package/dist/actions/list-account-owners.d.cts +18 -4
- package/dist/actions/list-account-owners.d.mts +18 -4
- package/dist/actions/list-account-owners.mjs +3 -3
- package/dist/actions/list-account-owners.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +3 -3
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +18 -4
- package/dist/actions/list-accounts.d.mts +18 -4
- package/dist/actions/list-accounts.mjs +3 -3
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-budgets.cjs +3 -3
- package/dist/actions/list-budgets.cjs.map +1 -1
- package/dist/actions/list-budgets.d.cts +18 -4
- package/dist/actions/list-budgets.d.mts +18 -4
- package/dist/actions/list-budgets.mjs +3 -3
- package/dist/actions/list-budgets.mjs.map +1 -1
- package/dist/actions/list-categories.cjs +3 -3
- package/dist/actions/list-categories.cjs.map +1 -1
- package/dist/actions/list-categories.d.cts +18 -4
- package/dist/actions/list-categories.d.mts +18 -4
- package/dist/actions/list-categories.mjs +3 -3
- package/dist/actions/list-categories.mjs.map +1 -1
- package/dist/actions/list-challenges.cjs +2 -2
- package/dist/actions/list-challenges.cjs.map +1 -1
- package/dist/actions/list-challenges.d.cts +17 -3
- package/dist/actions/list-challenges.d.mts +17 -3
- package/dist/actions/list-challenges.mjs +2 -2
- package/dist/actions/list-challenges.mjs.map +1 -1
- package/dist/actions/list-favorite-institutions.cjs +2 -2
- package/dist/actions/list-favorite-institutions.cjs.map +1 -1
- package/dist/actions/list-favorite-institutions.d.cts +17 -3
- package/dist/actions/list-favorite-institutions.d.mts +17 -3
- package/dist/actions/list-favorite-institutions.mjs +2 -2
- package/dist/actions/list-favorite-institutions.mjs.map +1 -1
- package/dist/actions/list-goals.cjs +2 -2
- package/dist/actions/list-goals.cjs.map +1 -1
- package/dist/actions/list-goals.d.cts +17 -3
- package/dist/actions/list-goals.d.mts +17 -3
- package/dist/actions/list-goals.mjs +2 -2
- 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 +18 -4
- package/dist/actions/list-institution-credentials.d.mts +18 -4
- 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 +3 -3
- package/dist/actions/list-institutions.cjs.map +1 -1
- package/dist/actions/list-institutions.d.cts +18 -4
- package/dist/actions/list-institutions.d.mts +18 -4
- package/dist/actions/list-institutions.mjs +3 -3
- package/dist/actions/list-institutions.mjs.map +1 -1
- package/dist/actions/list-member-accounts.cjs +3 -3
- package/dist/actions/list-member-accounts.cjs.map +1 -1
- package/dist/actions/list-member-accounts.d.cts +18 -4
- package/dist/actions/list-member-accounts.d.mts +18 -4
- package/dist/actions/list-member-accounts.mjs +3 -3
- package/dist/actions/list-member-accounts.mjs.map +1 -1
- package/dist/actions/list-members.cjs +3 -3
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +18 -4
- package/dist/actions/list-members.d.mts +18 -4
- package/dist/actions/list-members.mjs +3 -3
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-rewards.cjs +3 -3
- package/dist/actions/list-rewards.cjs.map +1 -1
- package/dist/actions/list-rewards.d.cts +18 -4
- package/dist/actions/list-rewards.d.mts +18 -4
- package/dist/actions/list-rewards.mjs +3 -3
- package/dist/actions/list-rewards.mjs.map +1 -1
- package/dist/actions/list-statements-by-member.cjs +3 -3
- package/dist/actions/list-statements-by-member.cjs.map +1 -1
- package/dist/actions/list-statements-by-member.d.cts +18 -4
- package/dist/actions/list-statements-by-member.d.mts +18 -4
- package/dist/actions/list-statements-by-member.mjs +3 -3
- package/dist/actions/list-statements-by-member.mjs.map +1 -1
- package/dist/actions/list-taggings.cjs +2 -2
- package/dist/actions/list-taggings.cjs.map +1 -1
- package/dist/actions/list-taggings.d.cts +17 -3
- package/dist/actions/list-taggings.d.mts +17 -3
- package/dist/actions/list-taggings.mjs +2 -2
- package/dist/actions/list-taggings.mjs.map +1 -1
- package/dist/actions/list-tags.d.cts +15 -1
- package/dist/actions/list-tags.d.mts +15 -1
- package/dist/actions/list-transactions-by-member.cjs +7 -7
- package/dist/actions/list-transactions-by-member.cjs.map +1 -1
- package/dist/actions/list-transactions-by-member.d.cts +22 -8
- package/dist/actions/list-transactions-by-member.d.mts +22 -8
- package/dist/actions/list-transactions-by-member.mjs +7 -7
- package/dist/actions/list-transactions-by-member.mjs.map +1 -1
- package/dist/actions/list-transactions.cjs +7 -7
- package/dist/actions/list-transactions.cjs.map +1 -1
- package/dist/actions/list-transactions.d.cts +22 -8
- package/dist/actions/list-transactions.d.mts +22 -8
- package/dist/actions/list-transactions.mjs +7 -7
- package/dist/actions/list-transactions.mjs.map +1 -1
- package/dist/actions/list-users.cjs +3 -3
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +18 -4
- package/dist/actions/list-users.d.mts +18 -4
- package/dist/actions/list-users.mjs +3 -3
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/read-account.cjs +1 -1
- package/dist/actions/read-account.cjs.map +1 -1
- package/dist/actions/read-account.d.cts +16 -2
- package/dist/actions/read-account.d.mts +16 -2
- package/dist/actions/read-account.mjs +1 -1
- package/dist/actions/read-account.mjs.map +1 -1
- package/dist/actions/read-category.cjs +1 -1
- package/dist/actions/read-category.cjs.map +1 -1
- package/dist/actions/read-category.d.cts +16 -2
- package/dist/actions/read-category.d.mts +16 -2
- package/dist/actions/read-category.mjs +1 -1
- package/dist/actions/read-category.mjs.map +1 -1
- package/dist/actions/read-fdx-account.d.cts +15 -1
- package/dist/actions/read-fdx-account.d.mts +15 -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 +16 -2
- package/dist/actions/read-institution.d.mts +16 -2
- 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 +22 -8
- package/dist/actions/read-transaction-by-account.d.mts +22 -8
- 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 +17 -3
- package/dist/actions/read-transaction-rule.d.mts +17 -3
- 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 +16 -2
- package/dist/actions/read-transaction.d.mts +16 -2
- 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 +17 -3
- package/dist/actions/update-transaction-rules.d.mts +17 -3
- 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 +17 -3
- package/dist/actions/update-transaction.d.mts +17 -3
- 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 +16 -2
- package/dist/actions/update-users-taggings.d.mts +16 -2
- package/dist/actions/update-users-taggings.mjs +1 -1
- package/dist/actions/update-users-taggings.mjs.map +1 -1
- package/dist/app.cjs +8 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +10 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +10 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ declare const MxTechnologiesListAccountNumbersByMemberOutput: z.ZodObject<{
|
|
|
13
13
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
account_numbers: z.ZodArray<z.ZodObject<{
|
|
18
18
|
guid: z.ZodNullable<z.ZodString>;
|
|
19
19
|
user_guid: z.ZodNullable<z.ZodString>;
|
|
@@ -27,14 +27,28 @@ declare const MxTechnologiesListAccountNumbersByMemberOutput: z.ZodObject<{
|
|
|
27
27
|
passed_validation: z.ZodNullable<z.ZodBoolean>;
|
|
28
28
|
institution_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
loan_reference_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const mxTechnologiesListAccountNumbersByMember: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
user_guid: string;
|
|
34
34
|
member_guid: string;
|
|
35
35
|
page?: number | undefined;
|
|
36
36
|
records_per_page?: number | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
username: z.ZodString;
|
|
43
|
+
password: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
45
|
+
connectionId: z.ZodString;
|
|
46
|
+
entityId: z.ZodString;
|
|
47
|
+
instanceId: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
username: z.ZodString;
|
|
50
|
+
password: z.ZodString;
|
|
51
|
+
}, z.core.$strip>>]>;
|
|
38
52
|
//#endregion
|
|
39
53
|
export { mxTechnologiesListAccountNumbersByMember };
|
|
40
54
|
//# sourceMappingURL=list-account-numbers-by-member.d.cts.map
|
|
@@ -13,7 +13,7 @@ declare const MxTechnologiesListAccountNumbersByMemberOutput: z.ZodObject<{
|
|
|
13
13
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
account_numbers: z.ZodArray<z.ZodObject<{
|
|
18
18
|
guid: z.ZodNullable<z.ZodString>;
|
|
19
19
|
user_guid: z.ZodNullable<z.ZodString>;
|
|
@@ -27,14 +27,28 @@ declare const MxTechnologiesListAccountNumbersByMemberOutput: z.ZodObject<{
|
|
|
27
27
|
passed_validation: z.ZodNullable<z.ZodBoolean>;
|
|
28
28
|
institution_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
loan_reference_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const mxTechnologiesListAccountNumbersByMember: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
user_guid: string;
|
|
34
34
|
member_guid: string;
|
|
35
35
|
page?: number | undefined;
|
|
36
36
|
records_per_page?: number | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
username: z.ZodString;
|
|
43
|
+
password: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
45
|
+
connectionId: z.ZodString;
|
|
46
|
+
entityId: z.ZodString;
|
|
47
|
+
instanceId: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
username: z.ZodString;
|
|
50
|
+
password: z.ZodString;
|
|
51
|
+
}, z.core.$strip>>]>;
|
|
38
52
|
//#endregion
|
|
39
53
|
export { mxTechnologiesListAccountNumbersByMember };
|
|
40
54
|
//# sourceMappingURL=list-account-numbers-by-member.d.mts.map
|
|
@@ -12,7 +12,7 @@ const MxTechnologiesListAccountNumbersByMember_PaginationSchema = z.object({
|
|
|
12
12
|
total_pages: z.number().int().describe("Total pages available.").nullable(),
|
|
13
13
|
current_page: z.number().int().describe("Current page number.").nullable(),
|
|
14
14
|
total_entries: z.number().int().describe("Total records available.").nullable()
|
|
15
|
-
}).describe("Paging information for list endpoints.");
|
|
15
|
+
}).passthrough().describe("Paging information for list endpoints.");
|
|
16
16
|
const MxTechnologiesListAccountNumbersByMember_AccountNumberSchema = z.object({
|
|
17
17
|
guid: z.string().describe("MX GUID of the account-number record.").nullable(),
|
|
18
18
|
user_guid: z.string().describe("MX GUID of the related user.").nullable(),
|
|
@@ -26,7 +26,7 @@ const MxTechnologiesListAccountNumbersByMember_AccountNumberSchema = z.object({
|
|
|
26
26
|
passed_validation: z.boolean().describe("Indicates MX validity checks passed.").nullable(),
|
|
27
27
|
institution_number: z.string().describe("Canadian institution number (3 digits).").nullable().optional(),
|
|
28
28
|
loan_reference_number: z.string().describe("Student-loan reference number.").nullable().optional()
|
|
29
|
-
}).describe("Schema for an account number record.");
|
|
29
|
+
}).passthrough().describe("Schema for an account number record.");
|
|
30
30
|
const mxTechnologiesListAccountNumbersByMember = action("MX_TECHNOLOGIES_LIST_ACCOUNT_NUMBERS_BY_MEMBER", {
|
|
31
31
|
slug: "mx_technologies-list-account-numbers-by-member",
|
|
32
32
|
name: "List Account Numbers by Member",
|
|
@@ -35,7 +35,7 @@ const mxTechnologiesListAccountNumbersByMember = action("MX_TECHNOLOGIES_LIST_AC
|
|
|
35
35
|
output: z.object({
|
|
36
36
|
pagination: MxTechnologiesListAccountNumbersByMember_PaginationSchema.nullable(),
|
|
37
37
|
account_numbers: z.array(MxTechnologiesListAccountNumbersByMember_AccountNumberSchema).describe("List of account-number records.")
|
|
38
|
-
}).describe("Response schema for listing account numbers by member.")
|
|
38
|
+
}).passthrough().describe("Response schema for listing account numbers by member.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { mxTechnologiesListAccountNumbersByMember };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-account-numbers-by-member.mjs","names":[],"sources":["../../src/actions/list-account-numbers-by-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountNumbersByMemberInput = z.object({\n page: z.number().int().describe(\"Page number of results (>=1).\").optional(),\n user_guid: z.string().describe(\"MX user GUID (must start with 'USR-').\"),\n member_guid: z.string().describe(\"MX member GUID (must start with 'MBR-').\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000).\").optional(),\n}).describe(\"Request schema for listing account numbers by member.\");\nconst MxTechnologiesListAccountNumbersByMember_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"Records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total records available.\").nullable(),\n}).describe(\"Paging information for list endpoints.\");\nconst MxTechnologiesListAccountNumbersByMember_AccountNumberSchema = z.object({\n guid: z.string().describe(\"MX GUID of the account-number record.\").nullable(),\n user_guid: z.string().describe(\"MX GUID of the related user.\").nullable(),\n member_guid: z.string().describe(\"MX GUID of the related member.\").nullable(),\n account_guid: z.string().describe(\"MX GUID of the related account.\").nullable(),\n account_number: z.string().describe(\"Bank account number.\").nullable(),\n loan_guarantor: z.string().describe(\"Student-loan guarantor.\").nullable().optional(),\n routing_number: z.string().describe(\"US routing number.\").nullable().optional(),\n transit_number: z.string().describe(\"Canadian branch transit number (5 digits).\").nullable().optional(),\n sequence_number: z.string().describe(\"Student-loan sequence number.\").nullable().optional(),\n passed_validation: z.boolean().describe(\"Indicates MX validity checks passed.\").nullable(),\n institution_number: z.string().describe(\"Canadian institution number (3 digits).\").nullable().optional(),\n loan_reference_number: z.string().describe(\"Student-loan reference number.\").nullable().optional(),\n}).describe(\"Schema for an account number record.\");\nexport const MxTechnologiesListAccountNumbersByMemberOutput = z.object({\n pagination: MxTechnologiesListAccountNumbersByMember_PaginationSchema.nullable(),\n account_numbers: z.array(MxTechnologiesListAccountNumbersByMember_AccountNumberSchema).describe(\"List of account-number records.\"),\n}).describe(\"Response schema for listing account numbers by member.\");\n\nexport const mxTechnologiesListAccountNumbersByMember = action(\"MX_TECHNOLOGIES_LIST_ACCOUNT_NUMBERS_BY_MEMBER\", {\n slug: \"mx_technologies-list-account-numbers-by-member\",\n name: \"List Account Numbers by Member\",\n description: \"Tool to list account numbers for a specific member. Use after obtaining user and member GUIDs.\",\n input: MxTechnologiesListAccountNumbersByMemberInput,\n output: MxTechnologiesListAccountNumbersByMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,4DAA4D,EAAE,OAAO;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"list-account-numbers-by-member.mjs","names":[],"sources":["../../src/actions/list-account-numbers-by-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountNumbersByMemberInput = z.object({\n page: z.number().int().describe(\"Page number of results (>=1).\").optional(),\n user_guid: z.string().describe(\"MX user GUID (must start with 'USR-').\"),\n member_guid: z.string().describe(\"MX member GUID (must start with 'MBR-').\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000).\").optional(),\n}).describe(\"Request schema for listing account numbers by member.\");\nconst MxTechnologiesListAccountNumbersByMember_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"Records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total records available.\").nullable(),\n}).passthrough().describe(\"Paging information for list endpoints.\");\nconst MxTechnologiesListAccountNumbersByMember_AccountNumberSchema = z.object({\n guid: z.string().describe(\"MX GUID of the account-number record.\").nullable(),\n user_guid: z.string().describe(\"MX GUID of the related user.\").nullable(),\n member_guid: z.string().describe(\"MX GUID of the related member.\").nullable(),\n account_guid: z.string().describe(\"MX GUID of the related account.\").nullable(),\n account_number: z.string().describe(\"Bank account number.\").nullable(),\n loan_guarantor: z.string().describe(\"Student-loan guarantor.\").nullable().optional(),\n routing_number: z.string().describe(\"US routing number.\").nullable().optional(),\n transit_number: z.string().describe(\"Canadian branch transit number (5 digits).\").nullable().optional(),\n sequence_number: z.string().describe(\"Student-loan sequence number.\").nullable().optional(),\n passed_validation: z.boolean().describe(\"Indicates MX validity checks passed.\").nullable(),\n institution_number: z.string().describe(\"Canadian institution number (3 digits).\").nullable().optional(),\n loan_reference_number: z.string().describe(\"Student-loan reference number.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an account number record.\");\nexport const MxTechnologiesListAccountNumbersByMemberOutput = z.object({\n pagination: MxTechnologiesListAccountNumbersByMember_PaginationSchema.nullable(),\n account_numbers: z.array(MxTechnologiesListAccountNumbersByMember_AccountNumberSchema).describe(\"List of account-number records.\"),\n}).passthrough().describe(\"Response schema for listing account numbers by member.\");\n\nexport const mxTechnologiesListAccountNumbersByMember = action(\"MX_TECHNOLOGIES_LIST_ACCOUNT_NUMBERS_BY_MEMBER\", {\n slug: \"mx_technologies-list-account-numbers-by-member\",\n name: \"List Account Numbers by Member\",\n description: \"Tool to list account numbers for a specific member. Use after obtaining user and member GUIDs.\",\n input: MxTechnologiesListAccountNumbersByMemberInput,\n output: MxTechnologiesListAccountNumbersByMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,4DAA4D,EAAE,OAAO;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,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CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,YAAY,0DAA0D,SAAS;EAC/E,iBAAiB,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,iCAAiC;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const MxTechnologiesListAccountOwners_PaginationSchema = zod.z.object({
|
|
|
12
12
|
total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
13
13
|
current_page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
14
14
|
total_entries: zod.z.number().int().describe("Total number of records available.").nullable()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const MxTechnologiesListAccountOwners_AccountOwnerSchema = zod.z.object({
|
|
17
17
|
city: zod.z.string().describe("Owner's city.").nullable().optional(),
|
|
18
18
|
guid: zod.z.string().describe("MX-defined unique identifier for the account owner.").nullable(),
|
|
@@ -28,11 +28,11 @@ const MxTechnologiesListAccountOwners_AccountOwnerSchema = zod.z.object({
|
|
|
28
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
30
|
account_guid: zod.z.string().describe("MX-defined account GUID tied to this owner.").nullable()
|
|
31
|
-
}).describe("Account owner information as returned by the MX Platform API.");
|
|
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 = 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});\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}).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}).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,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,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;
|
|
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,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,C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C,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,YAAY,iDAAiD,SAAS;CACtE,gBAAgBA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,gCAAgC;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const MxTechnologiesListAccountOwnersOutput: z.ZodObject<{
|
|
|
13
13
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
account_owners: z.ZodArray<z.ZodObject<{
|
|
18
18
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
guid: z.ZodNullable<z.ZodString>;
|
|
@@ -29,14 +29,28 @@ declare const MxTechnologiesListAccountOwnersOutput: z.ZodObject<{
|
|
|
29
29
|
member_guid: z.ZodNullable<z.ZodString>;
|
|
30
30
|
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
account_guid: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const mxTechnologiesListAccountOwners: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
user_guid: string;
|
|
36
36
|
member_guid: string;
|
|
37
37
|
page?: number | undefined;
|
|
38
38
|
records_per_page?: number | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
47
|
+
connectionId: z.ZodString;
|
|
48
|
+
entityId: z.ZodString;
|
|
49
|
+
instanceId: z.ZodString;
|
|
50
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
+
username: z.ZodString;
|
|
52
|
+
password: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
40
54
|
//#endregion
|
|
41
55
|
export { mxTechnologiesListAccountOwners };
|
|
42
56
|
//# sourceMappingURL=list-account-owners.d.cts.map
|
|
@@ -13,7 +13,7 @@ declare const MxTechnologiesListAccountOwnersOutput: z.ZodObject<{
|
|
|
13
13
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
14
14
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
17
|
account_owners: z.ZodArray<z.ZodObject<{
|
|
18
18
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
guid: z.ZodNullable<z.ZodString>;
|
|
@@ -29,14 +29,28 @@ declare const MxTechnologiesListAccountOwnersOutput: z.ZodObject<{
|
|
|
29
29
|
member_guid: z.ZodNullable<z.ZodString>;
|
|
30
30
|
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
account_guid: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const mxTechnologiesListAccountOwners: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
user_guid: string;
|
|
36
36
|
member_guid: string;
|
|
37
37
|
page?: number | undefined;
|
|
38
38
|
records_per_page?: number | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
39
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
47
|
+
connectionId: z.ZodString;
|
|
48
|
+
entityId: z.ZodString;
|
|
49
|
+
instanceId: z.ZodString;
|
|
50
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
+
username: z.ZodString;
|
|
52
|
+
password: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
40
54
|
//#endregion
|
|
41
55
|
export { mxTechnologiesListAccountOwners };
|
|
42
56
|
//# sourceMappingURL=list-account-owners.d.mts.map
|
|
@@ -12,7 +12,7 @@ const MxTechnologiesListAccountOwners_PaginationSchema = z.object({
|
|
|
12
12
|
total_pages: z.number().int().describe("Total number of pages available.").nullable(),
|
|
13
13
|
current_page: z.number().int().describe("Current page number.").nullable(),
|
|
14
14
|
total_entries: z.number().int().describe("Total number of records available.").nullable()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const MxTechnologiesListAccountOwners_AccountOwnerSchema = z.object({
|
|
17
17
|
city: z.string().describe("Owner's city.").nullable().optional(),
|
|
18
18
|
guid: z.string().describe("MX-defined unique identifier for the account owner.").nullable(),
|
|
@@ -28,7 +28,7 @@ const MxTechnologiesListAccountOwners_AccountOwnerSchema = z.object({
|
|
|
28
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
30
|
account_guid: z.string().describe("MX-defined account GUID tied to this owner.").nullable()
|
|
31
|
-
}).describe("Account owner information as returned by the MX Platform API.");
|
|
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 = 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});\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}).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}).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,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC;
|
|
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,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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AAC,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"}
|
|
@@ -25,17 +25,17 @@ const MxTechnologiesListAccounts_AccountSchema = zod.z.object({
|
|
|
25
25
|
institution_guid: zod.z.string().describe("MX institution GUID linked to the account.").nullable().optional(),
|
|
26
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
30
|
per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
|
|
31
31
|
total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
32
32
|
current_page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
33
33
|
total_entries: zod.z.number().int().describe("Total number of entries available.").nullable()
|
|
34
|
-
});
|
|
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 = 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});\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});\nexport const MxTechnologiesListAccountsOutput = z.object({\n accounts: z.array(MxTechnologiesListAccounts_AccountSchema).describe(\"List of account objects.\"),\n pagination: MxTechnologiesListAccounts_PaginationSchema.nullable(),\n}).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,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC5H,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA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C,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;
|
|
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,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,kBAAkBA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
|
|
29
29
|
institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
available_balance: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
member_is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
34
34
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
38
|
-
}, z.core.$
|
|
39
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const mxTechnologiesListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
user_guid: string;
|
|
42
42
|
page?: number | undefined;
|
|
@@ -44,7 +44,21 @@ declare const mxTechnologiesListAccounts: import("@keystrokehq/action").Workflow
|
|
|
44
44
|
is_manual?: boolean | undefined;
|
|
45
45
|
records_per_page?: number | undefined;
|
|
46
46
|
member_is_managed_by_user?: boolean | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
55
|
+
connectionId: z.ZodString;
|
|
56
|
+
entityId: z.ZodString;
|
|
57
|
+
instanceId: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
username: z.ZodString;
|
|
60
|
+
password: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>]>;
|
|
48
62
|
//#endregion
|
|
49
63
|
export { mxTechnologiesListAccounts };
|
|
50
64
|
//# sourceMappingURL=list-accounts.d.cts.map
|
|
@@ -29,14 +29,14 @@ declare const MxTechnologiesListAccountsOutput: z.ZodObject<{
|
|
|
29
29
|
institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
available_balance: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
member_is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
pagination: z.ZodNullable<z.ZodObject<{
|
|
34
34
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
total_pages: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
current_page: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
total_entries: z.ZodNullable<z.ZodNumber>;
|
|
38
|
-
}, z.core.$
|
|
39
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const mxTechnologiesListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
user_guid: string;
|
|
42
42
|
page?: number | undefined;
|
|
@@ -44,7 +44,21 @@ declare const mxTechnologiesListAccounts: import("@keystrokehq/action").Workflow
|
|
|
44
44
|
is_manual?: boolean | undefined;
|
|
45
45
|
records_per_page?: number | undefined;
|
|
46
46
|
member_is_managed_by_user?: boolean | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"mx_technologies", z.ZodObject<{
|
|
55
|
+
connectionId: z.ZodString;
|
|
56
|
+
entityId: z.ZodString;
|
|
57
|
+
instanceId: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
username: z.ZodString;
|
|
60
|
+
password: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>]>;
|
|
48
62
|
//#endregion
|
|
49
63
|
export { mxTechnologiesListAccounts };
|
|
50
64
|
//# sourceMappingURL=list-accounts.d.mts.map
|
|
@@ -25,13 +25,13 @@ const MxTechnologiesListAccounts_AccountSchema = z.object({
|
|
|
25
25
|
institution_guid: z.string().describe("MX institution GUID linked to the account.").nullable().optional(),
|
|
26
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
30
|
per_page: z.number().int().describe("Number of records per page.").nullable(),
|
|
31
31
|
total_pages: z.number().int().describe("Total number of pages available.").nullable(),
|
|
32
32
|
current_page: z.number().int().describe("Current page number.").nullable(),
|
|
33
33
|
total_entries: z.number().int().describe("Total number of entries available.").nullable()
|
|
34
|
-
});
|
|
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 = 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});\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});\nexport const MxTechnologiesListAccountsOutput = z.object({\n accounts: z.array(MxTechnologiesListAccounts_AccountSchema).describe(\"List of account objects.\"),\n pagination: MxTechnologiesListAccounts_PaginationSchema.nullable(),\n}).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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AAS;CAClF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;
|
|
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,C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C,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8C,EAAE,OAAO;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,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"}
|
|
@@ -23,17 +23,17 @@ const MxTechnologiesListBudgets_BudgetSchema = zod.z.object({
|
|
|
23
23
|
transaction_total: zod.z.number().describe("Cumulative amount of transactions under this budget for the current month.").nullable(),
|
|
24
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
28
|
per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
|
|
29
29
|
total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
30
30
|
current_page: zod.z.number().int().describe("Current page number.").nullable(),
|
|
31
31
|
total_entries: zod.z.number().int().describe("Total number of budgets available.").nullable()
|
|
32
|
-
}).describe("Pagination details for list responses.");
|
|
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",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-budgets.cjs","names":["z","action"],"sources":["../../src/actions/list-budgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListBudgetsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results. Defaults to 1 if not specified.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user. Obtain this from the List Users endpoint.\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to 25 if not specified.\").optional(),\n}).describe(\"Request parameters for listing budgets for a user.\");\nconst MxTechnologiesListBudgets_BudgetSchema = z.object({\n guid: z.string().describe(\"Unique MX-defined budget GUID (e.g., BGT-...).\").nullable(),\n name: z.string().describe(\"User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment').\").nullable(),\n amount: z.number().describe(\"Target monthly spending limit set by the user for this category.\").nullable(),\n metadata: z.string().describe(\"Partner-defined freeform metadata string.\").nullable().optional(),\n revision: z.number().int().describe(\"Revision number for optimistic concurrency control.\").nullable(),\n user_guid: z.string().describe(\"MX-defined user GUID who owns this budget.\").nullable(),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was last updated.\").nullable(),\n is_exceeded: z.boolean().describe(\"True if spending has exceeded the budget amount.\").nullable(),\n parent_guid: z.string().describe(\"GUID of the parent budget if this is a sub-budget.\").nullable().optional(),\n is_off_track: z.boolean().describe(\"True if current spending rate suggests the budget will be exceeded.\").nullable(),\n category_guid: z.string().describe(\"MX-defined GUID of the category this budget applies to.\").nullable(),\n percent_spent: z.number().describe(\"Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0.\").nullable(),\n transaction_total: z.number().describe(\"Cumulative amount of transactions under this budget for the current month.\").nullable(),\n projected_spending: z.number().describe(\"Projected total spending for this budget based on current spending patterns.\").nullable(),\n off_track_percentage: z.number().describe(\"Off-track percentage threshold (deprecated field).\").nullable().optional(),\n}).describe(\"Budget object representing a spending budget for a specific category.\");\nconst MxTechnologiesListBudgets_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 budgets available.\").nullable(),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListBudgetsOutput = z.object({\n budgets: z.array(MxTechnologiesListBudgets_BudgetSchema).describe(\"List of budget objects for the user. Empty list if no budgets exist.\"),\n pagination: MxTechnologiesListBudgets_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing budgets.\");\n\nexport const mxTechnologiesListBudgets = action(\"MX_TECHNOLOGIES_LIST_BUDGETS\", {\n slug: \"mx_technologies-list-budgets\",\n name: \"List budgets\",\n description: \"List all budgets for a specific MX user. Budgets track spending limits for categories. Prerequisites: Obtain a valid user_guid from the List Users endpoint first. Note: Budgets are automatically generated based on transaction history or can be manually created. If a user has no budgets, an empty list is returned.\",\n input: MxTechnologiesListBudgetsInput,\n output: MxTechnologiesListBudgetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACvH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACzI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC9H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACjI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uEAAuE;
|
|
1
|
+
{"version":3,"file":"list-budgets.cjs","names":["z","action"],"sources":["../../src/actions/list-budgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListBudgetsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results. Defaults to 1 if not specified.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user. Obtain this from the List Users endpoint.\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to 25 if not specified.\").optional(),\n}).describe(\"Request parameters for listing budgets for a user.\");\nconst MxTechnologiesListBudgets_BudgetSchema = z.object({\n guid: z.string().describe(\"Unique MX-defined budget GUID (e.g., BGT-...).\").nullable(),\n name: z.string().describe(\"User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment').\").nullable(),\n amount: z.number().describe(\"Target monthly spending limit set by the user for this category.\").nullable(),\n metadata: z.string().describe(\"Partner-defined freeform metadata string.\").nullable().optional(),\n revision: z.number().int().describe(\"Revision number for optimistic concurrency control.\").nullable(),\n user_guid: z.string().describe(\"MX-defined user GUID who owns this budget.\").nullable(),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was last updated.\").nullable(),\n is_exceeded: z.boolean().describe(\"True if spending has exceeded the budget amount.\").nullable(),\n parent_guid: z.string().describe(\"GUID of the parent budget if this is a sub-budget.\").nullable().optional(),\n is_off_track: z.boolean().describe(\"True if current spending rate suggests the budget will be exceeded.\").nullable(),\n category_guid: z.string().describe(\"MX-defined GUID of the category this budget applies to.\").nullable(),\n percent_spent: z.number().describe(\"Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0.\").nullable(),\n transaction_total: z.number().describe(\"Cumulative amount of transactions under this budget for the current month.\").nullable(),\n projected_spending: z.number().describe(\"Projected total spending for this budget based on current spending patterns.\").nullable(),\n off_track_percentage: z.number().describe(\"Off-track percentage threshold (deprecated field).\").nullable().optional(),\n}).passthrough().describe(\"Budget object representing a spending budget for a specific category.\");\nconst MxTechnologiesListBudgets_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 budgets available.\").nullable(),\n}).passthrough().describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListBudgetsOutput = z.object({\n budgets: z.array(MxTechnologiesListBudgets_BudgetSchema).describe(\"List of budget objects for the user. Empty list if no budgets exist.\"),\n pagination: MxTechnologiesListBudgets_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing budgets.\");\n\nexport const mxTechnologiesListBudgets = action(\"MX_TECHNOLOGIES_LIST_BUDGETS\", {\n slug: \"mx_technologies-list-budgets\",\n name: \"List budgets\",\n description: \"List all budgets for a specific MX user. Budgets track spending limits for categories. Prerequisites: Obtain a valid user_guid from the List Users endpoint first. Note: Budgets are automatically generated based on transaction history or can be manually created. If a user has no budgets, an empty list is returned.\",\n input: MxTechnologiesListBudgetsInput,\n output: MxTechnologiesListBudgetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACvH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC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