@keystrokehq/mx_technologies 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-partner-account.cjs +1 -0
- package/dist/actions/cancel-partner-account.cjs.map +1 -1
- package/dist/actions/cancel-partner-account.d.cts +3 -5
- package/dist/actions/cancel-partner-account.d.cts.map +1 -1
- package/dist/actions/cancel-partner-account.d.mts +3 -5
- package/dist/actions/cancel-partner-account.d.mts.map +1 -1
- package/dist/actions/cancel-partner-account.mjs +1 -0
- package/dist/actions/cancel-partner-account.mjs.map +1 -1
- package/dist/actions/create-account.cjs +1 -0
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +3 -14
- package/dist/actions/create-account.d.cts.map +1 -1
- package/dist/actions/create-account.d.mts +3 -14
- package/dist/actions/create-account.d.mts.map +1 -1
- package/dist/actions/create-account.mjs +1 -0
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/create-audience-api-credentials.cjs +1 -0
- package/dist/actions/create-audience-api-credentials.cjs.map +1 -1
- package/dist/actions/create-audience-api-credentials.d.cts +3 -4
- package/dist/actions/create-audience-api-credentials.d.cts.map +1 -1
- package/dist/actions/create-audience-api-credentials.d.mts +3 -4
- package/dist/actions/create-audience-api-credentials.d.mts.map +1 -1
- package/dist/actions/create-audience-api-credentials.mjs +1 -0
- package/dist/actions/create-audience-api-credentials.mjs.map +1 -1
- package/dist/actions/create-member.cjs +1 -0
- package/dist/actions/create-member.cjs.map +1 -1
- package/dist/actions/create-member.d.cts +3 -18
- package/dist/actions/create-member.d.cts.map +1 -1
- package/dist/actions/create-member.d.mts +3 -18
- package/dist/actions/create-member.d.mts.map +1 -1
- package/dist/actions/create-member.mjs +1 -0
- package/dist/actions/create-member.mjs.map +1 -1
- package/dist/actions/create-partner-account.cjs +1 -0
- package/dist/actions/create-partner-account.cjs.map +1 -1
- package/dist/actions/create-partner-account.d.cts +3 -6
- package/dist/actions/create-partner-account.d.cts.map +1 -1
- package/dist/actions/create-partner-account.d.mts +3 -6
- package/dist/actions/create-partner-account.d.mts.map +1 -1
- package/dist/actions/create-partner-account.mjs +1 -0
- package/dist/actions/create-partner-account.mjs.map +1 -1
- package/dist/actions/fetch-rewards.cjs +1 -0
- package/dist/actions/fetch-rewards.cjs.map +1 -1
- package/dist/actions/fetch-rewards.d.cts +3 -4
- package/dist/actions/fetch-rewards.d.cts.map +1 -1
- package/dist/actions/fetch-rewards.d.mts +3 -4
- package/dist/actions/fetch-rewards.d.mts.map +1 -1
- package/dist/actions/fetch-rewards.mjs +1 -0
- package/dist/actions/fetch-rewards.mjs.map +1 -1
- package/dist/actions/get-configurable-widget-url.cjs +1 -0
- package/dist/actions/get-configurable-widget-url.cjs.map +1 -1
- package/dist/actions/get-configurable-widget-url.d.cts +3 -19
- package/dist/actions/get-configurable-widget-url.d.cts.map +1 -1
- package/dist/actions/get-configurable-widget-url.d.mts +3 -19
- package/dist/actions/get-configurable-widget-url.d.mts.map +1 -1
- package/dist/actions/get-configurable-widget-url.mjs +1 -0
- package/dist/actions/get-configurable-widget-url.mjs.map +1 -1
- package/dist/actions/list-account-numbers-by-member.cjs +1 -0
- package/dist/actions/list-account-numbers-by-member.cjs.map +1 -1
- package/dist/actions/list-account-numbers-by-member.d.cts +3 -6
- package/dist/actions/list-account-numbers-by-member.d.cts.map +1 -1
- package/dist/actions/list-account-numbers-by-member.d.mts +3 -6
- package/dist/actions/list-account-numbers-by-member.d.mts.map +1 -1
- package/dist/actions/list-account-numbers-by-member.mjs +1 -0
- package/dist/actions/list-account-numbers-by-member.mjs.map +1 -1
- package/dist/actions/list-account-owners.cjs +1 -0
- package/dist/actions/list-account-owners.cjs.map +1 -1
- package/dist/actions/list-account-owners.d.cts +3 -6
- package/dist/actions/list-account-owners.d.cts.map +1 -1
- package/dist/actions/list-account-owners.d.mts +3 -6
- package/dist/actions/list-account-owners.d.mts.map +1 -1
- package/dist/actions/list-account-owners.mjs +1 -0
- package/dist/actions/list-account-owners.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +1 -0
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +3 -8
- package/dist/actions/list-accounts.d.cts.map +1 -1
- package/dist/actions/list-accounts.d.mts +3 -8
- package/dist/actions/list-accounts.d.mts.map +1 -1
- package/dist/actions/list-accounts.mjs +1 -0
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-budgets.cjs +1 -0
- package/dist/actions/list-budgets.cjs.map +1 -1
- package/dist/actions/list-budgets.d.cts +3 -5
- package/dist/actions/list-budgets.d.cts.map +1 -1
- package/dist/actions/list-budgets.d.mts +3 -5
- package/dist/actions/list-budgets.d.mts.map +1 -1
- package/dist/actions/list-budgets.mjs +1 -0
- package/dist/actions/list-budgets.mjs.map +1 -1
- package/dist/actions/list-categories.cjs +1 -0
- package/dist/actions/list-categories.cjs.map +1 -1
- package/dist/actions/list-categories.d.cts +3 -5
- package/dist/actions/list-categories.d.cts.map +1 -1
- package/dist/actions/list-categories.d.mts +3 -5
- package/dist/actions/list-categories.d.mts.map +1 -1
- package/dist/actions/list-categories.mjs +1 -0
- package/dist/actions/list-categories.mjs.map +1 -1
- package/dist/actions/list-challenges.cjs +1 -0
- package/dist/actions/list-challenges.cjs.map +1 -1
- package/dist/actions/list-challenges.d.cts +3 -6
- package/dist/actions/list-challenges.d.cts.map +1 -1
- package/dist/actions/list-challenges.d.mts +3 -6
- package/dist/actions/list-challenges.d.mts.map +1 -1
- package/dist/actions/list-challenges.mjs +1 -0
- package/dist/actions/list-challenges.mjs.map +1 -1
- package/dist/actions/list-favorite-institutions.cjs +1 -0
- package/dist/actions/list-favorite-institutions.cjs.map +1 -1
- package/dist/actions/list-favorite-institutions.d.cts +3 -5
- package/dist/actions/list-favorite-institutions.d.cts.map +1 -1
- package/dist/actions/list-favorite-institutions.d.mts +3 -5
- package/dist/actions/list-favorite-institutions.d.mts.map +1 -1
- package/dist/actions/list-favorite-institutions.mjs +1 -0
- package/dist/actions/list-favorite-institutions.mjs.map +1 -1
- package/dist/actions/list-goals.cjs +1 -0
- package/dist/actions/list-goals.cjs.map +1 -1
- package/dist/actions/list-goals.d.cts +3 -5
- package/dist/actions/list-goals.d.cts.map +1 -1
- package/dist/actions/list-goals.d.mts +3 -5
- package/dist/actions/list-goals.d.mts.map +1 -1
- package/dist/actions/list-goals.mjs +1 -0
- package/dist/actions/list-goals.mjs.map +1 -1
- package/dist/actions/list-institution-credentials.cjs +1 -0
- package/dist/actions/list-institution-credentials.cjs.map +1 -1
- package/dist/actions/list-institution-credentials.d.cts +3 -5
- package/dist/actions/list-institution-credentials.d.cts.map +1 -1
- package/dist/actions/list-institution-credentials.d.mts +3 -5
- package/dist/actions/list-institution-credentials.d.mts.map +1 -1
- package/dist/actions/list-institution-credentials.mjs +1 -0
- package/dist/actions/list-institution-credentials.mjs.map +1 -1
- package/dist/actions/list-institutions.cjs +1 -0
- package/dist/actions/list-institutions.cjs.map +1 -1
- package/dist/actions/list-institutions.d.cts +3 -7
- package/dist/actions/list-institutions.d.cts.map +1 -1
- package/dist/actions/list-institutions.d.mts +3 -7
- package/dist/actions/list-institutions.d.mts.map +1 -1
- package/dist/actions/list-institutions.mjs +1 -0
- package/dist/actions/list-institutions.mjs.map +1 -1
- package/dist/actions/list-member-accounts.cjs +1 -0
- package/dist/actions/list-member-accounts.cjs.map +1 -1
- package/dist/actions/list-member-accounts.d.cts +3 -7
- package/dist/actions/list-member-accounts.d.cts.map +1 -1
- package/dist/actions/list-member-accounts.d.mts +3 -7
- package/dist/actions/list-member-accounts.d.mts.map +1 -1
- package/dist/actions/list-member-accounts.mjs +1 -0
- package/dist/actions/list-member-accounts.mjs.map +1 -1
- package/dist/actions/list-members.cjs +1 -0
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +3 -6
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +3 -6
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +1 -0
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-rewards.cjs +1 -0
- package/dist/actions/list-rewards.cjs.map +1 -1
- package/dist/actions/list-rewards.d.cts +3 -6
- package/dist/actions/list-rewards.d.cts.map +1 -1
- package/dist/actions/list-rewards.d.mts +3 -6
- package/dist/actions/list-rewards.d.mts.map +1 -1
- package/dist/actions/list-rewards.mjs +1 -0
- package/dist/actions/list-rewards.mjs.map +1 -1
- package/dist/actions/list-statements-by-member.cjs +1 -0
- package/dist/actions/list-statements-by-member.cjs.map +1 -1
- package/dist/actions/list-statements-by-member.d.cts +3 -6
- package/dist/actions/list-statements-by-member.d.cts.map +1 -1
- package/dist/actions/list-statements-by-member.d.mts +3 -6
- package/dist/actions/list-statements-by-member.d.mts.map +1 -1
- package/dist/actions/list-statements-by-member.mjs +1 -0
- package/dist/actions/list-statements-by-member.mjs.map +1 -1
- package/dist/actions/list-taggings.cjs +1 -0
- package/dist/actions/list-taggings.cjs.map +1 -1
- package/dist/actions/list-taggings.d.cts +3 -5
- package/dist/actions/list-taggings.d.cts.map +1 -1
- package/dist/actions/list-taggings.d.mts +3 -5
- package/dist/actions/list-taggings.d.mts.map +1 -1
- package/dist/actions/list-taggings.mjs +1 -0
- package/dist/actions/list-taggings.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +1 -0
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +3 -5
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +3 -5
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +1 -0
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-transactions-by-member.cjs +1 -0
- package/dist/actions/list-transactions-by-member.cjs.map +1 -1
- package/dist/actions/list-transactions-by-member.d.cts +3 -15
- package/dist/actions/list-transactions-by-member.d.cts.map +1 -1
- package/dist/actions/list-transactions-by-member.d.mts +3 -15
- package/dist/actions/list-transactions-by-member.d.mts.map +1 -1
- package/dist/actions/list-transactions-by-member.mjs +1 -0
- package/dist/actions/list-transactions-by-member.mjs.map +1 -1
- package/dist/actions/list-transactions.cjs +1 -0
- package/dist/actions/list-transactions.cjs.map +1 -1
- package/dist/actions/list-transactions.d.cts +3 -13
- package/dist/actions/list-transactions.d.cts.map +1 -1
- package/dist/actions/list-transactions.d.mts +3 -13
- package/dist/actions/list-transactions.d.mts.map +1 -1
- package/dist/actions/list-transactions.mjs +1 -0
- package/dist/actions/list-transactions.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -7
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -7
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/read-account.cjs +1 -0
- package/dist/actions/read-account.cjs.map +1 -1
- package/dist/actions/read-account.d.cts +3 -4
- package/dist/actions/read-account.d.cts.map +1 -1
- package/dist/actions/read-account.d.mts +3 -4
- package/dist/actions/read-account.d.mts.map +1 -1
- package/dist/actions/read-account.mjs +1 -0
- package/dist/actions/read-account.mjs.map +1 -1
- package/dist/actions/read-category.cjs +1 -0
- package/dist/actions/read-category.cjs.map +1 -1
- package/dist/actions/read-category.d.cts +3 -3
- package/dist/actions/read-category.d.cts.map +1 -1
- package/dist/actions/read-category.d.mts +3 -3
- package/dist/actions/read-category.d.mts.map +1 -1
- package/dist/actions/read-category.mjs +1 -0
- package/dist/actions/read-category.mjs.map +1 -1
- package/dist/actions/read-fdx-account.cjs +1 -0
- package/dist/actions/read-fdx-account.cjs.map +1 -1
- package/dist/actions/read-fdx-account.d.cts +3 -3
- package/dist/actions/read-fdx-account.d.cts.map +1 -1
- package/dist/actions/read-fdx-account.d.mts +3 -3
- package/dist/actions/read-fdx-account.d.mts.map +1 -1
- package/dist/actions/read-fdx-account.mjs +1 -0
- package/dist/actions/read-fdx-account.mjs.map +1 -1
- package/dist/actions/read-institution.cjs +1 -0
- package/dist/actions/read-institution.cjs.map +1 -1
- package/dist/actions/read-institution.d.cts +3 -3
- package/dist/actions/read-institution.d.cts.map +1 -1
- package/dist/actions/read-institution.d.mts +3 -3
- package/dist/actions/read-institution.d.mts.map +1 -1
- package/dist/actions/read-institution.mjs +1 -0
- package/dist/actions/read-institution.mjs.map +1 -1
- package/dist/actions/read-transaction-by-account.cjs +1 -0
- package/dist/actions/read-transaction-by-account.cjs.map +1 -1
- package/dist/actions/read-transaction-by-account.d.cts +3 -8
- package/dist/actions/read-transaction-by-account.d.cts.map +1 -1
- package/dist/actions/read-transaction-by-account.d.mts +3 -8
- package/dist/actions/read-transaction-by-account.d.mts.map +1 -1
- package/dist/actions/read-transaction-by-account.mjs +1 -0
- package/dist/actions/read-transaction-by-account.mjs.map +1 -1
- package/dist/actions/read-transaction-rule.cjs +1 -0
- package/dist/actions/read-transaction-rule.cjs.map +1 -1
- package/dist/actions/read-transaction-rule.d.cts +3 -4
- package/dist/actions/read-transaction-rule.d.cts.map +1 -1
- package/dist/actions/read-transaction-rule.d.mts +3 -4
- package/dist/actions/read-transaction-rule.d.mts.map +1 -1
- package/dist/actions/read-transaction-rule.mjs +1 -0
- package/dist/actions/read-transaction-rule.mjs.map +1 -1
- package/dist/actions/read-transaction.cjs +1 -0
- package/dist/actions/read-transaction.cjs.map +1 -1
- package/dist/actions/read-transaction.d.cts +3 -4
- package/dist/actions/read-transaction.d.cts.map +1 -1
- package/dist/actions/read-transaction.d.mts +3 -4
- package/dist/actions/read-transaction.d.mts.map +1 -1
- package/dist/actions/read-transaction.mjs +1 -0
- package/dist/actions/read-transaction.mjs.map +1 -1
- package/dist/actions/update-transaction-rules.cjs +1 -0
- package/dist/actions/update-transaction-rules.cjs.map +1 -1
- package/dist/actions/update-transaction-rules.d.cts +3 -9
- package/dist/actions/update-transaction-rules.d.cts.map +1 -1
- package/dist/actions/update-transaction-rules.d.mts +3 -9
- package/dist/actions/update-transaction-rules.d.mts.map +1 -1
- package/dist/actions/update-transaction-rules.mjs +1 -0
- package/dist/actions/update-transaction-rules.mjs.map +1 -1
- package/dist/actions/update-transaction.cjs +1 -0
- package/dist/actions/update-transaction.cjs.map +1 -1
- package/dist/actions/update-transaction.d.cts +3 -10
- package/dist/actions/update-transaction.d.cts.map +1 -1
- package/dist/actions/update-transaction.d.mts +3 -10
- package/dist/actions/update-transaction.d.mts.map +1 -1
- package/dist/actions/update-transaction.mjs +1 -0
- package/dist/actions/update-transaction.mjs.map +1 -1
- package/dist/actions/update-users-taggings.cjs +1 -0
- package/dist/actions/update-users-taggings.cjs.map +1 -1
- package/dist/actions/update-users-taggings.d.cts +3 -7
- package/dist/actions/update-users-taggings.d.cts.map +1 -1
- package/dist/actions/update-users-taggings.d.mts +3 -7
- package/dist/actions/update-users-taggings.d.mts.map +1 -1
- package/dist/actions/update-users-taggings.mjs +1 -0
- package/dist/actions/update-users-taggings.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-fdx-account.mjs","names":[],"sources":["../../src/actions/read-fdx-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesReadFdxAccountInput = z.object({\n accountId: z.string().describe(\"The FDX account identifier to retrieve. For FDX endpoints, this is typically an opaque string like 'acct-1234abcd'. For MX Platform fallback, use an MX account GUID starting with 'ACC-' or 'ACT-'.\"),\n}).describe(\"Request parameters for reading a specific FDX account via the MX Data Access FDX 4.6 API.\");\nconst MxTechnologiesReadFdxAccount_FdxAccountBalanceSchema = z.object({\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable().optional(),\n balanceAsOf: z.string().describe(\"Date/time when balance was calculated.\").nullable().optional(),\n balanceType: z.string().describe(\"Type of balance (e.g., 'CURRENT', 'AVAILABLE').\").nullable().optional(),\n balanceAmount: z.number().describe(\"The balance amount.\").nullable().optional(),\n}).passthrough().describe(\"Balance information for an FDX account.\");\nexport const MxTechnologiesReadFdxAccountOutput = z.object({\n status: z.string().describe(\"Account status (e.g., 'OPEN', 'CLOSED', 'PENDINGOPEN').\").nullable().optional(),\n balances: z.array(MxTechnologiesReadFdxAccount_FdxAccountBalanceSchema).describe(\"List of balance objects for the account.\").nullable().optional(),\n currency: z.string().describe(\"ISO 4217 currency code for the account.\").nullable().optional(),\n nickname: z.string().describe(\"User-assigned nickname for the account.\").nullable().optional(),\n accountId: z.string().describe(\"Unique identifier for the account.\").nullable().optional(),\n openedDate: z.string().describe(\"Date the account was opened.\").nullable().optional(),\n accountType: z.string().describe(\"Account type category (e.g., 'DEPOSIT', 'LOAN', 'INVESTMENT', 'INSURANCE', 'ANNUITY').\").nullable().optional(),\n productName: z.string().describe(\"Product name for the account.\").nullable().optional(),\n fiAttributes: z.array(z.record(z.string(), z.unknown())).describe(\"Financial institution-specific attributes.\").nullable().optional(),\n interestRate: z.number().describe(\"Interest rate (as decimal, e.g., 0.05 for 5%).\").nullable().optional(),\n accountNumber: z.string().describe(\"Account number (may be masked).\").nullable().optional(),\n accountSubType: z.string().describe(\"More specific account type (e.g., 'CHECKING', 'SAVINGS', 'CREDIT_CARD').\").nullable().optional(),\n currentBalance: z.number().describe(\"Current balance of the account.\").nullable().optional(),\n availableBalance: z.number().describe(\"Available balance for withdrawals.\").nullable().optional(),\n interestRateType: z.string().describe(\"Type of interest rate (e.g., 'FIXED', 'VARIABLE').\").nullable().optional(),\n lastActivityDate: z.string().describe(\"Date of last account activity.\").nullable().optional(),\n accountNumberDisplay: z.string().describe(\"Display version of account number.\").nullable().optional(),\n}).passthrough().describe(\"FDX 4.6 Account resource response. Contains account details conforming to the FDX specification.\\nFields use camelCase per FDX standard. Additional fields beyond those listed are allowed.\");\n\nexport const mxTechnologiesReadFdxAccount = action(\"MX_TECHNOLOGIES_READ_FDX_ACCOUNT\", {\n slug: \"mx_technologies-read-fdx-account\",\n name: \"Read FDX account\",\n description: \"Retrieve details for a specific account using the FDX 4.6 standard API. This action fetches comprehensive account information including balances, status, and account attributes. It requires an FDX account identifier. AUTHENTICATION: This endpoint requires OAuth Bearer token authentication obtained from the MX Data Access OAuth flow. Basic Auth credentials for the MX Platform API will not work with FDX endpoints. FALLBACK: If FDX endpoints fail and the account_id looks like an MX Platform GUID (starts with 'ACC-' or 'ACT-'), the action will attempt to use the MX Platform API to retrieve the account instead.\",\n input: MxTechnologiesReadFdxAccountInput,\n output: MxTechnologiesReadFdxAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-fdx-account.mjs","names":[],"sources":["../../src/actions/read-fdx-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesReadFdxAccountInput = z.object({\n accountId: z.string().describe(\"The FDX account identifier to retrieve. For FDX endpoints, this is typically an opaque string like 'acct-1234abcd'. For MX Platform fallback, use an MX account GUID starting with 'ACC-' or 'ACT-'.\"),\n}).describe(\"Request parameters for reading a specific FDX account via the MX Data Access FDX 4.6 API.\");\nconst MxTechnologiesReadFdxAccount_FdxAccountBalanceSchema = z.object({\n currency: z.string().describe(\"ISO 4217 currency code.\").nullable().optional(),\n balanceAsOf: z.string().describe(\"Date/time when balance was calculated.\").nullable().optional(),\n balanceType: z.string().describe(\"Type of balance (e.g., 'CURRENT', 'AVAILABLE').\").nullable().optional(),\n balanceAmount: z.number().describe(\"The balance amount.\").nullable().optional(),\n}).passthrough().describe(\"Balance information for an FDX account.\");\nexport const MxTechnologiesReadFdxAccountOutput = z.object({\n status: z.string().describe(\"Account status (e.g., 'OPEN', 'CLOSED', 'PENDINGOPEN').\").nullable().optional(),\n balances: z.array(MxTechnologiesReadFdxAccount_FdxAccountBalanceSchema).describe(\"List of balance objects for the account.\").nullable().optional(),\n currency: z.string().describe(\"ISO 4217 currency code for the account.\").nullable().optional(),\n nickname: z.string().describe(\"User-assigned nickname for the account.\").nullable().optional(),\n accountId: z.string().describe(\"Unique identifier for the account.\").nullable().optional(),\n openedDate: z.string().describe(\"Date the account was opened.\").nullable().optional(),\n accountType: z.string().describe(\"Account type category (e.g., 'DEPOSIT', 'LOAN', 'INVESTMENT', 'INSURANCE', 'ANNUITY').\").nullable().optional(),\n productName: z.string().describe(\"Product name for the account.\").nullable().optional(),\n fiAttributes: z.array(z.record(z.string(), z.unknown())).describe(\"Financial institution-specific attributes.\").nullable().optional(),\n interestRate: z.number().describe(\"Interest rate (as decimal, e.g., 0.05 for 5%).\").nullable().optional(),\n accountNumber: z.string().describe(\"Account number (may be masked).\").nullable().optional(),\n accountSubType: z.string().describe(\"More specific account type (e.g., 'CHECKING', 'SAVINGS', 'CREDIT_CARD').\").nullable().optional(),\n currentBalance: z.number().describe(\"Current balance of the account.\").nullable().optional(),\n availableBalance: z.number().describe(\"Available balance for withdrawals.\").nullable().optional(),\n interestRateType: z.string().describe(\"Type of interest rate (e.g., 'FIXED', 'VARIABLE').\").nullable().optional(),\n lastActivityDate: z.string().describe(\"Date of last account activity.\").nullable().optional(),\n accountNumberDisplay: z.string().describe(\"Display version of account number.\").nullable().optional(),\n}).passthrough().describe(\"FDX 4.6 Account resource response. Contains account details conforming to the FDX specification.\\nFields use camelCase per FDX standard. Additional fields beyond those listed are allowed.\");\n\nexport const mxTechnologiesReadFdxAccount: AppAction<\n typeof MxTechnologiesReadFdxAccountInput,\n typeof MxTechnologiesReadFdxAccountOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_READ_FDX_ACCOUNT\", {\n slug: \"mx_technologies-read-fdx-account\",\n name: \"Read FDX account\",\n description: \"Retrieve details for a specific account using the FDX 4.6 standard API. This action fetches comprehensive account information including balances, status, and account attributes. It requires an FDX account identifier. AUTHENTICATION: This endpoint requires OAuth Bearer token authentication obtained from the MX Data Access OAuth flow. Basic Auth credentials for the MX Platform API will not work with FDX endpoints. FALLBACK: If FDX endpoints fail and the account_id looks like an MX Platform GUID (starts with 'ACC-' or 'ACT-'), the action will attempt to use the MX Platform API to retrieve the account instead.\",\n input: MxTechnologiesReadFdxAccountInput,\n output: MxTechnologiesReadFdxAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO,EACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EACvO,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,uDAAuD,EAAE,OAAO;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAqBnE,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA7BgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CA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AE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6LAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-institution.cjs","names":["z","action"],"sources":["../../src/actions/read-institution.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesReadInstitutionInput = z.object({\n institution_code: z.string().describe(\"A unique identifier for each institution, defined by MX.\"),\n}).describe(\"Request parameters for retrieving a specific institution by code.\");\nexport const MxTechnologiesReadInstitutionOutput = z.object({\n url: z.string().describe(\"The URL for an institution's website.\").nullable().optional(),\n code: z.string().describe(\"The code identifying a financial institution.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier for the institution. Defined by MX.\").nullable().optional(),\n name: z.string().describe(\"The name of the institution.\").nullable().optional(),\n is_hidden: z.boolean().describe(\"If the institution is available for creating new member connections, this field will be `false`. Otherwise, this field will be `true`.\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the institution was created, represented in ISO 8601 format with a timestamp.\").nullable().optional(),\n small_logo_url: z.string().describe(\"The URL for a 50px X 50px logo for each `institution`. A generic logo is returned for institutions that don't have one.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"If true, this indicates that the institution supports OAuth and that you have been properly registered for OAuth with that institution.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"The URL for a 100px X 100px logo for each `institution`. A generic logo is returned for institutions that don't have one.\").nullable().optional(),\n iso_country_code: z.string().describe(\"The ISO country code associated with the institution.\").nullable().optional(),\n instructional_text: z.string().describe(\"Render this text when end users are asked for their credentials, as it helps end users provide the correct credentials when creating a new member. May contain `<a></a>` tags to link to explanatory material.\").nullable().optional(),\n supported_products: z.array(z.string()).describe(\"List of products supported by the institution.\").nullable().optional(),\n forgot_password_url: z.string().describe(\"URL for the forgot password page of the institution.\").nullable().optional(),\n forgot_username_url: z.string().describe(\"URL for the forgot username page of the institution.\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Indicates whether the institution is disabled by the client.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"This indicates whether the institution supports tax documents.\").nullable().optional(),\n trouble_signing_in_url: z.string().describe(\"The URL of the institution for helping users troubleshoot any other sign-in issue.\").nullable().optional(),\n instructional_text_steps: z.array(z.string()).describe(\"An array of instructional steps that may contain html elements.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a specific institution.\");\n\nexport const mxTechnologiesReadInstitution = action(\"MX_TECHNOLOGIES_READ_INSTITUTION\", {\n slug: \"mx_technologies-read-institution\",\n name: \"Read institution\",\n description: \"Tool to retrieve details for a specific institution by code. Use when you need to get information about a particular financial institution using its unique code.\",\n input: MxTechnologiesReadInstitutionInput,\n output: MxTechnologiesReadInstitutionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-institution.cjs","names":["z","action"],"sources":["../../src/actions/read-institution.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesReadInstitutionInput = z.object({\n institution_code: z.string().describe(\"A unique identifier for each institution, defined by MX.\"),\n}).describe(\"Request parameters for retrieving a specific institution by code.\");\nexport const MxTechnologiesReadInstitutionOutput = z.object({\n url: z.string().describe(\"The URL for an institution's website.\").nullable().optional(),\n code: z.string().describe(\"The code identifying a financial institution.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier for the institution. Defined by MX.\").nullable().optional(),\n name: z.string().describe(\"The name of the institution.\").nullable().optional(),\n is_hidden: z.boolean().describe(\"If the institution is available for creating new member connections, this field will be `false`. Otherwise, this field will be `true`.\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the institution was created, represented in ISO 8601 format with a timestamp.\").nullable().optional(),\n small_logo_url: z.string().describe(\"The URL for a 50px X 50px logo for each `institution`. A generic logo is returned for institutions that don't have one.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"If true, this indicates that the institution supports OAuth and that you have been properly registered for OAuth with that institution.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"The URL for a 100px X 100px logo for each `institution`. A generic logo is returned for institutions that don't have one.\").nullable().optional(),\n iso_country_code: z.string().describe(\"The ISO country code associated with the institution.\").nullable().optional(),\n instructional_text: z.string().describe(\"Render this text when end users are asked for their credentials, as it helps end users provide the correct credentials when creating a new member. May contain `<a></a>` tags to link to explanatory material.\").nullable().optional(),\n supported_products: z.array(z.string()).describe(\"List of products supported by the institution.\").nullable().optional(),\n forgot_password_url: z.string().describe(\"URL for the forgot password page of the institution.\").nullable().optional(),\n forgot_username_url: z.string().describe(\"URL for the forgot username page of the institution.\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Indicates whether the institution is disabled by the client.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"This indicates whether the institution supports tax documents.\").nullable().optional(),\n trouble_signing_in_url: z.string().describe(\"The URL of the institution for helping users troubleshoot any other sign-in issue.\").nullable().optional(),\n instructional_text_steps: z.array(z.string()).describe(\"An array of instructional steps that may contain html elements.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a specific institution.\");\n\nexport const mxTechnologiesReadInstitution: AppAction<\n typeof MxTechnologiesReadInstitutionInput,\n typeof MxTechnologiesReadInstitutionOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_READ_INSTITUTION\", {\n slug: \"mx_technologies-read-institution\",\n name: \"Read institution\",\n description: \"Tool to retrieve details for a specific institution by code. Use when you need to get information about a particular financial institution using its unique code.\",\n input: MxTechnologiesRe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,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9Q,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,0BAA0BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/read-institution.d.ts
|
|
@@ -24,9 +26,7 @@ declare const MxTechnologiesReadInstitutionOutput: z.ZodObject<{
|
|
|
24
26
|
trouble_signing_in_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
instructional_text_steps: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const mxTechnologiesReadInstitution:
|
|
28
|
-
institution_code: string;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const mxTechnologiesReadInstitution: AppAction<typeof MxTechnologiesReadInstitutionInput, typeof MxTechnologiesReadInstitutionOutput, typeof mxTechnologies.credential>;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { mxTechnologiesReadInstitution };
|
|
32
32
|
//# sourceMappingURL=read-institution.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-institution.d.cts","names":[],"sources":["../../src/actions/read-institution.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-institution.d.cts","names":[],"sources":["../../src/actions/read-institution.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAqBnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/read-institution.d.ts
|
|
@@ -24,9 +26,7 @@ declare const MxTechnologiesReadInstitutionOutput: z.ZodObject<{
|
|
|
24
26
|
trouble_signing_in_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
instructional_text_steps: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const mxTechnologiesReadInstitution:
|
|
28
|
-
institution_code: string;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const mxTechnologiesReadInstitution: AppAction<typeof MxTechnologiesReadInstitutionInput, typeof MxTechnologiesReadInstitutionOutput, typeof mxTechnologies.credential>;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { mxTechnologiesReadInstitution };
|
|
32
32
|
//# sourceMappingURL=read-institution.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-institution.d.mts","names":[],"sources":["../../src/actions/read-institution.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-institution.d.mts","names":[],"sources":["../../src/actions/read-institution.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAqBnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-institution.mjs","names":[],"sources":["../../src/actions/read-institution.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesReadInstitutionInput = z.object({\n institution_code: z.string().describe(\"A unique identifier for each institution, defined by MX.\"),\n}).describe(\"Request parameters for retrieving a specific institution by code.\");\nexport const MxTechnologiesReadInstitutionOutput = z.object({\n url: z.string().describe(\"The URL for an institution's website.\").nullable().optional(),\n code: z.string().describe(\"The code identifying a financial institution.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier for the institution. Defined by MX.\").nullable().optional(),\n name: z.string().describe(\"The name of the institution.\").nullable().optional(),\n is_hidden: z.boolean().describe(\"If the institution is available for creating new member connections, this field will be `false`. Otherwise, this field will be `true`.\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the institution was created, represented in ISO 8601 format with a timestamp.\").nullable().optional(),\n small_logo_url: z.string().describe(\"The URL for a 50px X 50px logo for each `institution`. A generic logo is returned for institutions that don't have one.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"If true, this indicates that the institution supports OAuth and that you have been properly registered for OAuth with that institution.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"The URL for a 100px X 100px logo for each `institution`. A generic logo is returned for institutions that don't have one.\").nullable().optional(),\n iso_country_code: z.string().describe(\"The ISO country code associated with the institution.\").nullable().optional(),\n instructional_text: z.string().describe(\"Render this text when end users are asked for their credentials, as it helps end users provide the correct credentials when creating a new member. May contain `<a></a>` tags to link to explanatory material.\").nullable().optional(),\n supported_products: z.array(z.string()).describe(\"List of products supported by the institution.\").nullable().optional(),\n forgot_password_url: z.string().describe(\"URL for the forgot password page of the institution.\").nullable().optional(),\n forgot_username_url: z.string().describe(\"URL for the forgot username page of the institution.\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Indicates whether the institution is disabled by the client.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"This indicates whether the institution supports tax documents.\").nullable().optional(),\n trouble_signing_in_url: z.string().describe(\"The URL of the institution for helping users troubleshoot any other sign-in issue.\").nullable().optional(),\n instructional_text_steps: z.array(z.string()).describe(\"An array of instructional steps that may contain html elements.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a specific institution.\");\n\nexport const mxTechnologiesReadInstitution = action(\"MX_TECHNOLOGIES_READ_INSTITUTION\", {\n slug: \"mx_technologies-read-institution\",\n name: \"Read institution\",\n description: \"Tool to retrieve details for a specific institution by code. Use when you need to get information about a particular financial institution using its unique code.\",\n input: MxTechnologiesReadInstitutionInput,\n output: MxTechnologiesReadInstitutionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-institution.mjs","names":[],"sources":["../../src/actions/read-institution.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesReadInstitutionInput = z.object({\n institution_code: z.string().describe(\"A unique identifier for each institution, defined by MX.\"),\n}).describe(\"Request parameters for retrieving a specific institution by code.\");\nexport const MxTechnologiesReadInstitutionOutput = z.object({\n url: z.string().describe(\"The URL for an institution's website.\").nullable().optional(),\n code: z.string().describe(\"The code identifying a financial institution.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier for the institution. Defined by MX.\").nullable().optional(),\n name: z.string().describe(\"The name of the institution.\").nullable().optional(),\n is_hidden: z.boolean().describe(\"If the institution is available for creating new member connections, this field will be `false`. Otherwise, this field will be `true`.\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the institution was created, represented in ISO 8601 format with a timestamp.\").nullable().optional(),\n small_logo_url: z.string().describe(\"The URL for a 50px X 50px logo for each `institution`. A generic logo is returned for institutions that don't have one.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"If true, this indicates that the institution supports OAuth and that you have been properly registered for OAuth with that institution.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"The URL for a 100px X 100px logo for each `institution`. A generic logo is returned for institutions that don't have one.\").nullable().optional(),\n iso_country_code: z.string().describe(\"The ISO country code associated with the institution.\").nullable().optional(),\n instructional_text: z.string().describe(\"Render this text when end users are asked for their credentials, as it helps end users provide the correct credentials when creating a new member. May contain `<a></a>` tags to link to explanatory material.\").nullable().optional(),\n supported_products: z.array(z.string()).describe(\"List of products supported by the institution.\").nullable().optional(),\n forgot_password_url: z.string().describe(\"URL for the forgot password page of the institution.\").nullable().optional(),\n forgot_username_url: z.string().describe(\"URL for the forgot username page of the institution.\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Indicates whether the institution is disabled by the client.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"This indicates whether the institution supports tax documents.\").nullable().optional(),\n trouble_signing_in_url: z.string().describe(\"The URL of the institution for helping users troubleshoot any other sign-in issue.\").nullable().optional(),\n instructional_text_steps: z.array(z.string()).describe(\"An array of instructional steps that may contain html elements.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a specific institution.\");\n\nexport const mxTechnologiesReadInstitution: AppAction<\n typeof MxTechnologiesReadInstitutionInput,\n typeof MxTechnologiesReadInstitutionOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_READ_INSTITUTION\", {\n slug: \"mx_technologies-read-institution\",\n name: \"Read institution\",\n description: \"Tool to retrieve details for a specific institution by code. Use when you need to get information about a particular financial institution using its unique code.\",\n input: MxTechnologiesReadInstitutionInput,\n output: MxTechnologiesReadInstitutionOutput,\n});\n"],"mappings":";;;AA8BA,MAAa,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCgD,EAAE,OAAO,EACzD,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,EAClG,CAAC,CAAC,CAAC,SAAS,mEA8BH;CACP,QA9BiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,gBAAgB,EAA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","action"],"sources":["../../src/actions/read-transaction-by-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesReadTransactionByAccountInput = z.object({\n includes: z.string().describe(\"Comma-separated list of optional enhancements: 'repeating_transactions' (identifies recurring patterns), 'merchants' (enriches with merchant name), 'classifications' (provides transaction type insights), 'geolocations' (provides geographic metadata). Example: 'repeating_transactions,merchants,classifications,geolocations'\").optional(),\n Accept_Version: z.string().default(\"v20250224\").describe(\"MX Platform API version (e.g., 'v20250224'). This header is required for API calls.\").optional(),\n user_identifier: z.string().describe(\"Use either the user `id` you defined or the MX-defined user `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n member_identifier: z.string().describe(\"Use either the member `id` you defined or the MX-defined member `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n account_identifier: z.string().describe(\"Use either the account `id` you defined or the MX-defined account `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n transaction_identifier: z.string().describe(\"Use either the transaction `id` you defined or the MX-defined transaction `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n}).describe(\"Request parameters for retrieving a specific transaction by account.\");\nconst MxTechnologiesReadTransactionByAccount_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"The number of records delivered with each page.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages available.\").nullable().optional(),\n current_page: z.number().int().describe(\"The page delivered by the current response.\").nullable().optional(),\n total_entries: z.number().int().describe(\"The total number of records available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for list responses.\");\nconst MxTechnologiesReadTransactionByAccount_MerchantSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the merchant.\").nullable().optional(),\n name: z.string().describe(\"Name of the merchant.\").nullable().optional(),\n logo_url: z.string().describe(\"URL to the merchant's logo image.\").nullable().optional(),\n website_url: z.string().describe(\"URL to the merchant's website.\").nullable().optional(),\n}).passthrough().describe(\"Enhanced merchant information.\");\nconst MxTechnologiesReadTransactionByAccount_GeolocationSchema = z.object({\n city: z.string().describe(\"City where the transaction occurred.\").nullable().optional(),\n state: z.string().describe(\"State or province where the transaction occurred.\").nullable().optional(),\n country: z.string().describe(\"Country where the transaction occurred.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal/ZIP code of the transaction location.\").nullable().optional(),\n}).passthrough().describe(\"Geographic location information.\");\nconst MxTechnologiesReadTransactionByAccount_ClassificationSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the classification.\").nullable().optional(),\n parent_class: z.string().describe(\"Parent classification category of the transaction.\").nullable().optional(),\n}).passthrough().describe(\"Transaction classification information.\");\nconst MxTechnologiesReadTransactionByAccount_RepeatingTransactionSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the repeating transaction pattern.\").nullable().optional(),\n recurrence_type: z.string().describe(\"How often the transaction recurs (e.g., 'MONTHLY', 'WEEKLY').\").nullable().optional(),\n repeating_transaction_type: z.string().describe(\"Type of repeating transaction (e.g., 'SUBSCRIPTION', 'BILL').\").nullable().optional(),\n}).passthrough().describe(\"Repeating transaction pattern information.\");\nconst MxTechnologiesReadTransactionByAccount_TransactionSchema = z.object({\n id: z.string().describe(\"Partner-defined transaction identifier.\").nullable().optional(),\n date: z.string().describe(\"The posted date of the transaction in YYYY-MM-DD format.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier (GUID) for this transaction.\").nullable().optional(),\n memo: z.string().describe(\"Additional memo or notes associated with the transaction.\").nullable().optional(),\n type: z.string().describe(\"Transaction type: 'CREDIT' for money in, 'DEBIT' for money out.\").nullable().optional(),\n amount: z.number().describe(\"Monetary amount of the transaction. Positive for credits, negative for debits.\").nullable().optional(),\n is_fee: z.boolean().describe(\"True if this transaction is identified as a fee.\").nullable().optional(),\n status: z.string().describe(\"Transaction status: 'POSTED' for completed or 'PENDING' for pending transactions.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier.\").nullable().optional(),\n category: z.string().describe(\"MX-assigned category name for this transaction (e.g., 'Groceries', 'Gas').\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the transaction location, if available.\").nullable().optional(),\n merchant: MxTechnologiesReadTransactionByAccount_MerchantSchema.nullable().optional(),\n metadata: z.string().describe(\"Partner-stored additional information for the transaction.\").nullable().optional(),\n is_income: z.boolean().describe(\"True if this transaction is classified as income.\").nullable().optional(),\n is_manual: z.boolean().describe(\"True if this transaction was manually created by the user.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the transaction location, if available.\").nullable().optional(),\n posted_at: z.string().describe(\"ISO 8601 timestamp when the transaction was posted to the account.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the user who owns this transaction.\").nullable().optional(),\n account_id: z.string().describe(\"Partner-defined account identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in MX.\").nullable().optional(),\n is_expense: z.boolean().describe(\"True if this transaction is classified as an expense.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was last updated.\").nullable().optional(),\n description: z.string().describe(\"MX-cleansed and enhanced transaction description.\").nullable().optional(),\n geolocation: MxTechnologiesReadTransactionByAccount_GeolocationSchema.nullable().optional(),\n is_bill_pay: z.boolean().describe(\"True if this transaction is identified as a bill payment.\").nullable().optional(),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\").nullable().optional(),\n account_guid: z.string().describe(\"The unique identifier (GUID) for the account.\").nullable().optional(),\n is_recurring: z.boolean().describe(\"True if this is a recurring transaction. Deprecated - use repeating_transaction instead.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier (GUID) for the transaction category.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR').\").nullable().optional(),\n merchant_guid: z.string().describe(\"The unique identifier (GUID) for the merchant, if identified.\").nullable().optional(),\n transacted_at: z.string().describe(\"ISO 8601 timestamp when the transaction actually occurred.\").nullable().optional(),\n classification: MxTechnologiesReadTransactionByAccount_ClassificationSchema.nullable().optional(),\n localized_memo: z.string().describe(\"Localized transaction memo based on user's locale.\").nullable().optional(),\n is_subscription: z.boolean().describe(\"True if this transaction is a subscription payment.\").nullable().optional(),\n is_international: z.boolean().describe(\"True if this is an international transaction.\").nullable().optional(),\n is_overdraft_fee: z.boolean().describe(\"True if this transaction is an overdraft fee.\").nullable().optional(),\n is_direct_deposit: z.boolean().describe(\"True if this transaction is identified as a direct deposit.\").nullable().optional(),\n is_payroll_advance: z.boolean().describe(\"True if this transaction is a payroll advance.\").nullable().optional(),\n top_level_category: z.string().describe(\"Parent/top-level category name (e.g., 'Food & Dining' for 'Groceries').\").nullable().optional(),\n check_number_string: z.string().describe(\"Check number as a string, if this transaction is a check.\").nullable().optional(),\n original_description: z.string().describe(\"Original, raw transaction description from the financial institution.\").nullable().optional(),\n localized_description: z.string().describe(\"Localized transaction description based on user's locale.\").nullable().optional(),\n repeating_transaction: MxTechnologiesReadTransactionByAccount_RepeatingTransactionSchema.nullable().optional(),\n merchant_category_code: z.number().int().describe(\"ISO 18245 Merchant Category Code (MCC) for merchant classification.\").nullable().optional(),\n merchant_location_guid: z.string().describe(\"The unique identifier (GUID) for the specific merchant location.\").nullable().optional(),\n extended_transaction_type: z.string().describe(\"Extended transaction type information.\").nullable().optional(),\n member_is_managed_by_user: z.boolean().describe(\"True if the member connection is managed by the user.\").nullable().optional(),\n}).passthrough().describe(\"Transaction object as returned by MX Platform API.\");\nexport const MxTechnologiesReadTransactionByAccountOutput = z.object({\n pagination: MxTechnologiesReadTransactionByAccount_PaginationSchema.nullable().optional(),\n transactions: z.array(MxTechnologiesReadTransactionByAccount_TransactionSchema).describe(\"Array containing the requested transaction object.\"),\n}).passthrough().describe(\"Response schema for reading a specific transaction by account.\");\n\nexport const mxTechnologiesReadTransactionByAccount = action(\"MX_TECHNOLOGIES_READ_TRANSACTION_BY_ACCOUNT\", {\n slug: \"mx_technologies-read-transaction-by-account\",\n name: \"Read transaction by account\",\n description: \"Tool to retrieve details for a specific transaction by account. Use when you need to fetch information about a particular transaction using user, member, account, and transaction identifiers. Supports optional enhancements like merchant details, geolocations, classifications, and repeating transaction patterns.\",\n input: MxTechnologiesReadTransactionByAccountInput,\n output: MxTechnologiesReadTransactionByAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qUAAqU,CAAC,CAAC,SAAS;CAC9W,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACzJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACtJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC5J,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CAC/J,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;AAC7K,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,YAAY,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,oDAAoD;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"read-transaction-by-account.cjs","names":["z","action"],"sources":["../../src/actions/read-transaction-by-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesReadTransactionByAccountInput = z.object({\n includes: z.string().describe(\"Comma-separated list of optional enhancements: 'repeating_transactions' (identifies recurring patterns), 'merchants' (enriches with merchant name), 'classifications' (provides transaction type insights), 'geolocations' (provides geographic metadata). Example: 'repeating_transactions,merchants,classifications,geolocations'\").optional(),\n Accept_Version: z.string().default(\"v20250224\").describe(\"MX Platform API version (e.g., 'v20250224'). This header is required for API calls.\").optional(),\n user_identifier: z.string().describe(\"Use either the user `id` you defined or the MX-defined user `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n member_identifier: z.string().describe(\"Use either the member `id` you defined or the MX-defined member `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n account_identifier: z.string().describe(\"Use either the account `id` you defined or the MX-defined account `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n transaction_identifier: z.string().describe(\"Use either the transaction `id` you defined or the MX-defined transaction `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n}).describe(\"Request parameters for retrieving a specific transaction by account.\");\nconst MxTechnologiesReadTransactionByAccount_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"The number of records delivered with each page.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages available.\").nullable().optional(),\n current_page: z.number().int().describe(\"The page delivered by the current response.\").nullable().optional(),\n total_entries: z.number().int().describe(\"The total number of records available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for list responses.\");\nconst MxTechnologiesReadTransactionByAccount_MerchantSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the merchant.\").nullable().optional(),\n name: z.string().describe(\"Name of the merchant.\").nullable().optional(),\n logo_url: z.string().describe(\"URL to the merchant's logo image.\").nullable().optional(),\n website_url: z.string().describe(\"URL to the merchant's website.\").nullable().optional(),\n}).passthrough().describe(\"Enhanced merchant information.\");\nconst MxTechnologiesReadTransactionByAccount_GeolocationSchema = z.object({\n city: z.string().describe(\"City where the transaction occurred.\").nullable().optional(),\n state: z.string().describe(\"State or province where the transaction occurred.\").nullable().optional(),\n country: z.string().describe(\"Country where the transaction occurred.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal/ZIP code of the transaction location.\").nullable().optional(),\n}).passthrough().describe(\"Geographic location information.\");\nconst MxTechnologiesReadTransactionByAccount_ClassificationSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the classification.\").nullable().optional(),\n parent_class: z.string().describe(\"Parent classification category of the transaction.\").nullable().optional(),\n}).passthrough().describe(\"Transaction classification information.\");\nconst MxTechnologiesReadTransactionByAccount_RepeatingTransactionSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the repeating transaction pattern.\").nullable().optional(),\n recurrence_type: z.string().describe(\"How often the transaction recurs (e.g., 'MONTHLY', 'WEEKLY').\").nullable().optional(),\n repeating_transaction_type: z.string().describe(\"Type of repeating transaction (e.g., 'SUBSCRIPTION', 'BILL').\").nullable().optional(),\n}).passthrough().describe(\"Repeating transaction pattern information.\");\nconst MxTechnologiesReadTransactionByAccount_TransactionSchema = z.object({\n id: z.string().describe(\"Partner-defined transaction identifier.\").nullable().optional(),\n date: z.string().describe(\"The posted date of the transaction in YYYY-MM-DD format.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier (GUID) for this transaction.\").nullable().optional(),\n memo: z.string().describe(\"Additional memo or notes associated with the transaction.\").nullable().optional(),\n type: z.string().describe(\"Transaction type: 'CREDIT' for money in, 'DEBIT' for money out.\").nullable().optional(),\n amount: z.number().describe(\"Monetary amount of the transaction. Positive for credits, negative for debits.\").nullable().optional(),\n is_fee: z.boolean().describe(\"True if this transaction is identified as a fee.\").nullable().optional(),\n status: z.string().describe(\"Transaction status: 'POSTED' for completed or 'PENDING' for pending transactions.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier.\").nullable().optional(),\n category: z.string().describe(\"MX-assigned category name for this transaction (e.g., 'Groceries', 'Gas').\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the transaction location, if available.\").nullable().optional(),\n merchant: MxTechnologiesReadTransactionByAccount_MerchantSchema.nullable().optional(),\n metadata: z.string().describe(\"Partner-stored additional information for the transaction.\").nullable().optional(),\n is_income: z.boolean().describe(\"True if this transaction is classified as income.\").nullable().optional(),\n is_manual: z.boolean().describe(\"True if this transaction was manually created by the user.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the transaction location, if available.\").nullable().optional(),\n posted_at: z.string().describe(\"ISO 8601 timestamp when the transaction was posted to the account.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the user who owns this transaction.\").nullable().optional(),\n account_id: z.string().describe(\"Partner-defined account identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in MX.\").nullable().optional(),\n is_expense: z.boolean().describe(\"True if this transaction is classified as an expense.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was last updated.\").nullable().optional(),\n description: z.string().describe(\"MX-cleansed and enhanced transaction description.\").nullable().optional(),\n geolocation: MxTechnologiesReadTransactionByAccount_GeolocationSchema.nullable().optional(),\n is_bill_pay: z.boolean().describe(\"True if this transaction is identified as a bill payment.\").nullable().optional(),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\").nullable().optional(),\n account_guid: z.string().describe(\"The unique identifier (GUID) for the account.\").nullable().optional(),\n is_recurring: z.boolean().describe(\"True if this is a recurring transaction. Deprecated - use repeating_transaction instead.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier (GUID) for the transaction category.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR').\").nullable().optional(),\n merchant_guid: z.string().describe(\"The unique identifier (GUID) for the merchant, if identified.\").nullable().optional(),\n transacted_at: z.string().describe(\"ISO 8601 timestamp when the transaction actually occurred.\").nullable().optional(),\n classification: MxTechnologiesReadTransactionByAccount_ClassificationSchema.nullable().optional(),\n localized_memo: z.string().describe(\"Localized transaction memo based on user's locale.\").nullable().optional(),\n is_subscription: z.boolean().describe(\"True if this transaction is a subscription payment.\").nullable().optional(),\n is_international: z.boolean().describe(\"True if this is an international transaction.\").nullable().optional(),\n is_overdraft_fee: z.boolean().describe(\"True if this transaction is an overdraft fee.\").nullable().optional(),\n is_direct_deposit: z.boolean().describe(\"True if this transaction is identified as a direct deposit.\").nullable().optional(),\n is_payroll_advance: z.boolean().describe(\"True if this transaction is a payroll advance.\").nullable().optional(),\n top_level_category: z.string().describe(\"Parent/top-level category name (e.g., 'Food & Dining' for 'Groceries').\").nullable().optional(),\n check_number_string: z.string().describe(\"Check number as a string, if this transaction is a check.\").nullable().optional(),\n original_description: z.string().describe(\"Original, raw transaction description from the financial institution.\").nullable().optional(),\n localized_description: z.string().describe(\"Localized transaction description based on user's locale.\").nullable().optional(),\n repeating_transaction: MxTechnologiesReadTransactionByAccount_RepeatingTransactionSchema.nullable().optional(),\n merchant_category_code: z.number().int().describe(\"ISO 18245 Merchant Category Code (MCC) for merchant classification.\").nullable().optional(),\n merchant_location_guid: z.string().describe(\"The unique identifier (GUID) for the specific merchant location.\").nullable().optional(),\n extended_transaction_type: z.string().describe(\"Extended transaction type information.\").nullable().optional(),\n member_is_managed_by_user: z.boolean().describe(\"True if the member connection is managed by the user.\").nullable().optional(),\n}).passthrough().describe(\"Transaction object as returned by MX Platform API.\");\nexport const MxTechnologiesReadTransactionByAccountOutput = z.object({\n pagination: MxTechnologiesReadTransactionByAccount_PaginationSchema.nullable().optional(),\n transactions: z.array(MxTechnologiesReadTransactionByAccount_TransactionSchema).describe(\"Array containing the requested transaction object.\"),\n}).passthrough().describe(\"Response schema for reading a specific transaction by account.\");\n\nexport const mxTechnologiesReadTransactionByAccount: AppAction<\n typeof MxTechnologiesReadTransactionByAccountInput,\n typeof MxTechnologiesReadTransactionByAccountOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_READ_TRANSACTION_BY_ACCOUNT\", {\n slug: \"mx_technologies-read-transaction-by-account\",\n name: \"Read transaction by account\",\n description: \"Tool to retrieve details for a specific transaction by account. Use when you need to fetch information about a particular transaction using user, member, account, and transaction identifiers. Supports optional enhancements like merchant details, geolocations, classifications, and repeating transaction patterns.\",\n input: MxTechnologiesReadTransactionByAccountInput,\n output: MxTechnologiesReadTransactionByAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qUAAqU,CAAC,CAAC,SAAS;CAC9W,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACzJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACtJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC5J,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CAC/J,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA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,SAAS;CACvI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,uBAAuB,kEAAkE,SAAS,CAAC,CAAC,SAAS;CAC7G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,YAAY,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,oDAAoD;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,yCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/read-transaction-by-account.d.ts
|
|
@@ -84,14 +86,7 @@ declare const MxTechnologiesReadTransactionByAccountOutput: z.ZodObject<{
|
|
|
84
86
|
member_is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
85
87
|
}, z.core.$loose>>;
|
|
86
88
|
}, z.core.$loose>;
|
|
87
|
-
declare const mxTechnologiesReadTransactionByAccount:
|
|
88
|
-
user_identifier: string;
|
|
89
|
-
member_identifier: string;
|
|
90
|
-
account_identifier: string;
|
|
91
|
-
transaction_identifier: string;
|
|
92
|
-
includes?: string | undefined;
|
|
93
|
-
Accept_Version?: string | undefined;
|
|
94
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
89
|
+
declare const mxTechnologiesReadTransactionByAccount: AppAction<typeof MxTechnologiesReadTransactionByAccountInput, typeof MxTechnologiesReadTransactionByAccountOutput, typeof mxTechnologies.credential>;
|
|
95
90
|
//#endregion
|
|
96
91
|
export { mxTechnologiesReadTransactionByAccount };
|
|
97
92
|
//# sourceMappingURL=read-transaction-by-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-transaction-by-account.d.cts","names":[],"sources":["../../src/actions/read-transaction-by-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-transaction-by-account.d.cts","names":[],"sources":["../../src/actions/read-transaction-by-account.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAqF3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/read-transaction-by-account.d.ts
|
|
@@ -84,14 +86,7 @@ declare const MxTechnologiesReadTransactionByAccountOutput: z.ZodObject<{
|
|
|
84
86
|
member_is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
85
87
|
}, z.core.$loose>>;
|
|
86
88
|
}, z.core.$loose>;
|
|
87
|
-
declare const mxTechnologiesReadTransactionByAccount:
|
|
88
|
-
user_identifier: string;
|
|
89
|
-
member_identifier: string;
|
|
90
|
-
account_identifier: string;
|
|
91
|
-
transaction_identifier: string;
|
|
92
|
-
includes?: string | undefined;
|
|
93
|
-
Accept_Version?: string | undefined;
|
|
94
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
89
|
+
declare const mxTechnologiesReadTransactionByAccount: AppAction<typeof MxTechnologiesReadTransactionByAccountInput, typeof MxTechnologiesReadTransactionByAccountOutput, typeof mxTechnologies.credential>;
|
|
95
90
|
//#endregion
|
|
96
91
|
export { mxTechnologiesReadTransactionByAccount };
|
|
97
92
|
//# sourceMappingURL=read-transaction-by-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-transaction-by-account.d.mts","names":[],"sources":["../../src/actions/read-transaction-by-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-transaction-by-account.d.mts","names":[],"sources":["../../src/actions/read-transaction-by-account.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAqF3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-transaction-by-account.mjs","names":[],"sources":["../../src/actions/read-transaction-by-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesReadTransactionByAccountInput = z.object({\n includes: z.string().describe(\"Comma-separated list of optional enhancements: 'repeating_transactions' (identifies recurring patterns), 'merchants' (enriches with merchant name), 'classifications' (provides transaction type insights), 'geolocations' (provides geographic metadata). Example: 'repeating_transactions,merchants,classifications,geolocations'\").optional(),\n Accept_Version: z.string().default(\"v20250224\").describe(\"MX Platform API version (e.g., 'v20250224'). This header is required for API calls.\").optional(),\n user_identifier: z.string().describe(\"Use either the user `id` you defined or the MX-defined user `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n member_identifier: z.string().describe(\"Use either the member `id` you defined or the MX-defined member `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n account_identifier: z.string().describe(\"Use either the account `id` you defined or the MX-defined account `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n transaction_identifier: z.string().describe(\"Use either the transaction `id` you defined or the MX-defined transaction `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n}).describe(\"Request parameters for retrieving a specific transaction by account.\");\nconst MxTechnologiesReadTransactionByAccount_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"The number of records delivered with each page.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages available.\").nullable().optional(),\n current_page: z.number().int().describe(\"The page delivered by the current response.\").nullable().optional(),\n total_entries: z.number().int().describe(\"The total number of records available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for list responses.\");\nconst MxTechnologiesReadTransactionByAccount_MerchantSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the merchant.\").nullable().optional(),\n name: z.string().describe(\"Name of the merchant.\").nullable().optional(),\n logo_url: z.string().describe(\"URL to the merchant's logo image.\").nullable().optional(),\n website_url: z.string().describe(\"URL to the merchant's website.\").nullable().optional(),\n}).passthrough().describe(\"Enhanced merchant information.\");\nconst MxTechnologiesReadTransactionByAccount_GeolocationSchema = z.object({\n city: z.string().describe(\"City where the transaction occurred.\").nullable().optional(),\n state: z.string().describe(\"State or province where the transaction occurred.\").nullable().optional(),\n country: z.string().describe(\"Country where the transaction occurred.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal/ZIP code of the transaction location.\").nullable().optional(),\n}).passthrough().describe(\"Geographic location information.\");\nconst MxTechnologiesReadTransactionByAccount_ClassificationSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the classification.\").nullable().optional(),\n parent_class: z.string().describe(\"Parent classification category of the transaction.\").nullable().optional(),\n}).passthrough().describe(\"Transaction classification information.\");\nconst MxTechnologiesReadTransactionByAccount_RepeatingTransactionSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the repeating transaction pattern.\").nullable().optional(),\n recurrence_type: z.string().describe(\"How often the transaction recurs (e.g., 'MONTHLY', 'WEEKLY').\").nullable().optional(),\n repeating_transaction_type: z.string().describe(\"Type of repeating transaction (e.g., 'SUBSCRIPTION', 'BILL').\").nullable().optional(),\n}).passthrough().describe(\"Repeating transaction pattern information.\");\nconst MxTechnologiesReadTransactionByAccount_TransactionSchema = z.object({\n id: z.string().describe(\"Partner-defined transaction identifier.\").nullable().optional(),\n date: z.string().describe(\"The posted date of the transaction in YYYY-MM-DD format.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier (GUID) for this transaction.\").nullable().optional(),\n memo: z.string().describe(\"Additional memo or notes associated with the transaction.\").nullable().optional(),\n type: z.string().describe(\"Transaction type: 'CREDIT' for money in, 'DEBIT' for money out.\").nullable().optional(),\n amount: z.number().describe(\"Monetary amount of the transaction. Positive for credits, negative for debits.\").nullable().optional(),\n is_fee: z.boolean().describe(\"True if this transaction is identified as a fee.\").nullable().optional(),\n status: z.string().describe(\"Transaction status: 'POSTED' for completed or 'PENDING' for pending transactions.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier.\").nullable().optional(),\n category: z.string().describe(\"MX-assigned category name for this transaction (e.g., 'Groceries', 'Gas').\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the transaction location, if available.\").nullable().optional(),\n merchant: MxTechnologiesReadTransactionByAccount_MerchantSchema.nullable().optional(),\n metadata: z.string().describe(\"Partner-stored additional information for the transaction.\").nullable().optional(),\n is_income: z.boolean().describe(\"True if this transaction is classified as income.\").nullable().optional(),\n is_manual: z.boolean().describe(\"True if this transaction was manually created by the user.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the transaction location, if available.\").nullable().optional(),\n posted_at: z.string().describe(\"ISO 8601 timestamp when the transaction was posted to the account.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the user who owns this transaction.\").nullable().optional(),\n account_id: z.string().describe(\"Partner-defined account identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in MX.\").nullable().optional(),\n is_expense: z.boolean().describe(\"True if this transaction is classified as an expense.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was last updated.\").nullable().optional(),\n description: z.string().describe(\"MX-cleansed and enhanced transaction description.\").nullable().optional(),\n geolocation: MxTechnologiesReadTransactionByAccount_GeolocationSchema.nullable().optional(),\n is_bill_pay: z.boolean().describe(\"True if this transaction is identified as a bill payment.\").nullable().optional(),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\").nullable().optional(),\n account_guid: z.string().describe(\"The unique identifier (GUID) for the account.\").nullable().optional(),\n is_recurring: z.boolean().describe(\"True if this is a recurring transaction. Deprecated - use repeating_transaction instead.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier (GUID) for the transaction category.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR').\").nullable().optional(),\n merchant_guid: z.string().describe(\"The unique identifier (GUID) for the merchant, if identified.\").nullable().optional(),\n transacted_at: z.string().describe(\"ISO 8601 timestamp when the transaction actually occurred.\").nullable().optional(),\n classification: MxTechnologiesReadTransactionByAccount_ClassificationSchema.nullable().optional(),\n localized_memo: z.string().describe(\"Localized transaction memo based on user's locale.\").nullable().optional(),\n is_subscription: z.boolean().describe(\"True if this transaction is a subscription payment.\").nullable().optional(),\n is_international: z.boolean().describe(\"True if this is an international transaction.\").nullable().optional(),\n is_overdraft_fee: z.boolean().describe(\"True if this transaction is an overdraft fee.\").nullable().optional(),\n is_direct_deposit: z.boolean().describe(\"True if this transaction is identified as a direct deposit.\").nullable().optional(),\n is_payroll_advance: z.boolean().describe(\"True if this transaction is a payroll advance.\").nullable().optional(),\n top_level_category: z.string().describe(\"Parent/top-level category name (e.g., 'Food & Dining' for 'Groceries').\").nullable().optional(),\n check_number_string: z.string().describe(\"Check number as a string, if this transaction is a check.\").nullable().optional(),\n original_description: z.string().describe(\"Original, raw transaction description from the financial institution.\").nullable().optional(),\n localized_description: z.string().describe(\"Localized transaction description based on user's locale.\").nullable().optional(),\n repeating_transaction: MxTechnologiesReadTransactionByAccount_RepeatingTransactionSchema.nullable().optional(),\n merchant_category_code: z.number().int().describe(\"ISO 18245 Merchant Category Code (MCC) for merchant classification.\").nullable().optional(),\n merchant_location_guid: z.string().describe(\"The unique identifier (GUID) for the specific merchant location.\").nullable().optional(),\n extended_transaction_type: z.string().describe(\"Extended transaction type information.\").nullable().optional(),\n member_is_managed_by_user: z.boolean().describe(\"True if the member connection is managed by the user.\").nullable().optional(),\n}).passthrough().describe(\"Transaction object as returned by MX Platform API.\");\nexport const MxTechnologiesReadTransactionByAccountOutput = z.object({\n pagination: MxTechnologiesReadTransactionByAccount_PaginationSchema.nullable().optional(),\n transactions: z.array(MxTechnologiesReadTransactionByAccount_TransactionSchema).describe(\"Array containing the requested transaction object.\"),\n}).passthrough().describe(\"Response schema for reading a specific transaction by account.\");\n\nexport const mxTechnologiesReadTransactionByAccount = action(\"MX_TECHNOLOGIES_READ_TRANSACTION_BY_ACCOUNT\", {\n slug: \"mx_technologies-read-transaction-by-account\",\n name: \"Read transaction by account\",\n description: \"Tool to retrieve details for a specific transaction by account. Use when you need to fetch information about a particular transaction using user, member, account, and transaction identifiers. Supports optional enhancements like merchant details, geolocations, classifications, and repeating transaction patterns.\",\n input: MxTechnologiesReadTransactionByAccountInput,\n output: MxTechnologiesReadTransactionByAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qUAAqU,CAAC,CAAC,SAAS;CAC9W,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACzJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CACtJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC5J,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CAC/J,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;AAC7K,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,0DAA0D,EAAE,OAAO;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,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AAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,uBAAuB,kEAAkE,SAAS,CAAC,CAAC,SAAS;CAC7G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAM9E,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,YAAY,wDAAwD,SAAS,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,oDAAoD;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"read-transaction-by-account.mjs","names":[],"sources":["../../src/actions/read-transaction-by-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesReadTransactionByAccountInput = z.object({\n includes: z.string().describe(\"Comma-separated list of optional enhancements: 'repeating_transactions' (identifies recurring patterns), 'merchants' (enriches with merchant name), 'classifications' (provides transaction type insights), 'geolocations' (provides geographic metadata). Example: 'repeating_transactions,merchants,classifications,geolocations'\").optional(),\n Accept_Version: z.string().default(\"v20250224\").describe(\"MX Platform API version (e.g., 'v20250224'). This header is required for API calls.\").optional(),\n user_identifier: z.string().describe(\"Use either the user `id` you defined or the MX-defined user `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n member_identifier: z.string().describe(\"Use either the member `id` you defined or the MX-defined member `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n account_identifier: z.string().describe(\"Use either the account `id` you defined or the MX-defined account `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n transaction_identifier: z.string().describe(\"Use either the transaction `id` you defined or the MX-defined transaction `guid`. See MX-Defined GUIDs vs IDs Defined by You.\"),\n}).describe(\"Request parameters for retrieving a specific transaction by account.\");\nconst MxTechnologiesReadTransactionByAccount_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"The number of records delivered with each page.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages available.\").nullable().optional(),\n current_page: z.number().int().describe(\"The page delivered by the current response.\").nullable().optional(),\n total_entries: z.number().int().describe(\"The total number of records available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination details for list responses.\");\nconst MxTechnologiesReadTransactionByAccount_MerchantSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the merchant.\").nullable().optional(),\n name: z.string().describe(\"Name of the merchant.\").nullable().optional(),\n logo_url: z.string().describe(\"URL to the merchant's logo image.\").nullable().optional(),\n website_url: z.string().describe(\"URL to the merchant's website.\").nullable().optional(),\n}).passthrough().describe(\"Enhanced merchant information.\");\nconst MxTechnologiesReadTransactionByAccount_GeolocationSchema = z.object({\n city: z.string().describe(\"City where the transaction occurred.\").nullable().optional(),\n state: z.string().describe(\"State or province where the transaction occurred.\").nullable().optional(),\n country: z.string().describe(\"Country where the transaction occurred.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal/ZIP code of the transaction location.\").nullable().optional(),\n}).passthrough().describe(\"Geographic location information.\");\nconst MxTechnologiesReadTransactionByAccount_ClassificationSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the classification.\").nullable().optional(),\n parent_class: z.string().describe(\"Parent classification category of the transaction.\").nullable().optional(),\n}).passthrough().describe(\"Transaction classification information.\");\nconst MxTechnologiesReadTransactionByAccount_RepeatingTransactionSchema = z.object({\n guid: z.string().describe(\"Unique identifier (GUID) of the repeating transaction pattern.\").nullable().optional(),\n recurrence_type: z.string().describe(\"How often the transaction recurs (e.g., 'MONTHLY', 'WEEKLY').\").nullable().optional(),\n repeating_transaction_type: z.string().describe(\"Type of repeating transaction (e.g., 'SUBSCRIPTION', 'BILL').\").nullable().optional(),\n}).passthrough().describe(\"Repeating transaction pattern information.\");\nconst MxTechnologiesReadTransactionByAccount_TransactionSchema = z.object({\n id: z.string().describe(\"Partner-defined transaction identifier.\").nullable().optional(),\n date: z.string().describe(\"The posted date of the transaction in YYYY-MM-DD format.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier (GUID) for this transaction.\").nullable().optional(),\n memo: z.string().describe(\"Additional memo or notes associated with the transaction.\").nullable().optional(),\n type: z.string().describe(\"Transaction type: 'CREDIT' for money in, 'DEBIT' for money out.\").nullable().optional(),\n amount: z.number().describe(\"Monetary amount of the transaction. Positive for credits, negative for debits.\").nullable().optional(),\n is_fee: z.boolean().describe(\"True if this transaction is identified as a fee.\").nullable().optional(),\n status: z.string().describe(\"Transaction status: 'POSTED' for completed or 'PENDING' for pending transactions.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier.\").nullable().optional(),\n category: z.string().describe(\"MX-assigned category name for this transaction (e.g., 'Groceries', 'Gas').\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the transaction location, if available.\").nullable().optional(),\n merchant: MxTechnologiesReadTransactionByAccount_MerchantSchema.nullable().optional(),\n metadata: z.string().describe(\"Partner-stored additional information for the transaction.\").nullable().optional(),\n is_income: z.boolean().describe(\"True if this transaction is classified as income.\").nullable().optional(),\n is_manual: z.boolean().describe(\"True if this transaction was manually created by the user.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the transaction location, if available.\").nullable().optional(),\n posted_at: z.string().describe(\"ISO 8601 timestamp when the transaction was posted to the account.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the user who owns this transaction.\").nullable().optional(),\n account_id: z.string().describe(\"Partner-defined account identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in MX.\").nullable().optional(),\n is_expense: z.boolean().describe(\"True if this transaction is classified as an expense.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was last updated.\").nullable().optional(),\n description: z.string().describe(\"MX-cleansed and enhanced transaction description.\").nullable().optional(),\n geolocation: MxTechnologiesReadTransactionByAccount_GeolocationSchema.nullable().optional(),\n is_bill_pay: z.boolean().describe(\"True if this transaction is identified as a bill payment.\").nullable().optional(),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\").nullable().optional(),\n account_guid: z.string().describe(\"The unique identifier (GUID) for the account.\").nullable().optional(),\n is_recurring: z.boolean().describe(\"True if this is a recurring transaction. Deprecated - use repeating_transaction instead.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier (GUID) for the transaction category.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR').\").nullable().optional(),\n merchant_guid: z.string().describe(\"The unique identifier (GUID) for the merchant, if identified.\").nullable().optional(),\n transacted_at: z.string().describe(\"ISO 8601 timestamp when the transaction actually occurred.\").nullable().optional(),\n classification: MxTechnologiesReadTransactionByAccount_ClassificationSchema.nullable().optional(),\n localized_memo: z.string().describe(\"Localized transaction memo based on user's locale.\").nullable().optional(),\n is_subscription: z.boolean().describe(\"True if this transaction is a subscription payment.\").nullable().optional(),\n is_international: z.boolean().describe(\"True if this is an international transaction.\").nullable().optional(),\n is_overdraft_fee: z.boolean().describe(\"True if this transaction is an overdraft fee.\").nullable().optional(),\n is_direct_deposit: z.boolean().describe(\"True if this transaction is identified as a direct deposit.\").nullable().optional(),\n is_payroll_advance: z.boolean().describe(\"True if this transaction is a payroll advance.\").nullable().optional(),\n top_level_category: z.string().describe(\"Parent/top-level category name (e.g., 'Food & Dining' for 'Groceries').\").nullable().optional(),\n check_number_string: z.string().describe(\"Check number as a string, if this transaction is a check.\").nullable().optional(),\n original_description: z.string().describe(\"Original, raw transaction description from the financial institution.\").nullable().optional(),\n localized_description: z.string().describe(\"Localized transaction description based on user's locale.\").nullable().optional(),\n repeating_transaction: MxTechnologiesReadTransactionByAccount_RepeatingTransactionSchema.nullable().optional(),\n merchant_category_code: z.number().int().describe(\"ISO 18245 Merchant Category Code (MCC) for merchant classification.\").nullable().optional(),\n merchant_location_guid: z.string().describe(\"The unique identifier (GUID) for the specific merchant location.\").nullable().optional(),\n extended_transaction_type: z.string().describe(\"Extended transaction type information.\").nullable().optional(),\n member_is_managed_by_user: z.boolean().describe(\"True if the member connection is managed by the user.\").nullable().optional(),\n}).passthrough().describe(\"Transaction object as returned by MX Platform API.\");\nexport const MxTechnologiesReadTransactionByAccountOutput = z.object({\n pagination: MxTechnologiesReadTransactionByAccount_PaginationSchema.nullable().optional(),\n transactions: z.array(MxTechnologiesReadTransactionByAccount_TransactionSchema).describe(\"Array containing the requested transaction object.\"),\n}).passthrough().describe(\"Response schema for reading a specific transaction by account.\");\n\nexport const mxTechnologiesReadTransactionByAccount: AppAction<\n typeof MxTechnologiesReadTransactionByAccountInput,\n typeof MxTechnologiesReadTransactionByAccountOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_READ_TRANSACTION_BY_ACCOUNT\", {\n slug: \"mx_technologies-read-transaction-by-account\",\n name: \"Read transaction by account\",\n description: \"Tool to retrieve details for a specific transaction by account. Use when you need to fetch information about a particular transaction using user, member, account, and transaction identifiers. Supports optional enhancements like merchant details, geolocations, classifications, and repeating transaction patterns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,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,uBAAuB,kEAAkE,SAAS,CAAC,CAAC,SAAS;CAC7G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAM9E,MAAa,yCAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0D,EAAE,OAAO;EACnE,YAAY,wDAAwD,SAAS,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,oDAAoD;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-transaction-rule.cjs","names":["z","action"],"sources":["../../src/actions/read-transaction-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesReadTransactionRuleInput = z.object({\n user_guid: z.string().describe(\"The unique identifier for a `user`, beginning with the prefix `USR-`.\"),\n transaction_rule_guid: z.string().describe(\"The unique id for a `transaction_rule`, beginning with the prefix `UTR-`.\"),\n}).describe(\"Request parameters for retrieving a specific transaction rule.\");\nconst MxTechnologiesReadTransactionRule_TransactionRuleSchema = z.object({\n guid: z.string().describe(\"A unique identifier for the `transaction_rule`. Defined by MX.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier for the user. Defined by MX.\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the resource was created, represented in ISO 8601 format with a timestamp.\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time the resource was last updated in ISO 8601 format with a timestamp.\").nullable().optional(),\n description: z.string().describe(\"The matched transaction's `description` will be updated to the string provided here.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier for the category. Defined by MX.\").nullable().optional(),\n match_description: z.string().describe(\"A string used to find a transaction to which the rule will be applied. Transaction matching is based on a comparison of `match_description` to a transaction's cleansed description.\").nullable().optional(),\n}).passthrough().describe(\"Transaction rule details as returned by MX.\");\nexport const MxTechnologiesReadTransactionRuleOutput = z.object({\n transaction_rule: MxTechnologiesReadTransactionRule_TransactionRuleSchema.nullable(),\n}).passthrough().describe(\"Response schema for retrieving a specific transaction rule.\");\n\nexport const mxTechnologiesReadTransactionRule = action(\"MX_TECHNOLOGIES_READ_TRANSACTION_RULE\", {\n slug: \"mx_technologies-read-transaction-rule\",\n name: \"Read transaction rule\",\n description: \"Tool to retrieve details for a specific transaction rule by its GUID. Use when you need to fetch information about a particular transaction rule for a user.\",\n input: MxTechnologiesReadTransactionRuleInput,\n output: MxTechnologiesReadTransactionRuleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-transaction-rule.cjs","names":["z","action"],"sources":["../../src/actions/read-transaction-rule.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesReadTransactionRuleInput = z.object({\n user_guid: z.string().describe(\"The unique identifier for a `user`, beginning with the prefix `USR-`.\"),\n transaction_rule_guid: z.string().describe(\"The unique id for a `transaction_rule`, beginning with the prefix `UTR-`.\"),\n}).describe(\"Request parameters for retrieving a specific transaction rule.\");\nconst MxTechnologiesReadTransactionRule_TransactionRuleSchema = z.object({\n guid: z.string().describe(\"A unique identifier for the `transaction_rule`. Defined by MX.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier for the user. Defined by MX.\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the resource was created, represented in ISO 8601 format with a timestamp.\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time the resource was last updated in ISO 8601 format with a timestamp.\").nullable().optional(),\n description: z.string().describe(\"The matched transaction's `description` will be updated to the string provided here.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier for the category. Defined by MX.\").nullable().optional(),\n match_description: z.string().describe(\"A string used to find a transaction to which the rule will be applied. Transaction matching is based on a comparison of `match_description` to a transaction's cleansed description.\").nullable().optional(),\n}).passthrough().describe(\"Transaction rule details as returned by MX.\");\nexport const MxTechnologiesReadTransactionRuleOutput = z.object({\n transaction_rule: MxTechnologiesReadTransactionRule_TransactionRuleSchema.nullable(),\n}).passthrough().describe(\"Response schema for retrieving a specific transaction rule.\");\n\nexport const mxTechnologiesReadTransactionRule: AppAction<\n typeof MxTechnologiesReadTransactionRuleInput,\n typeof MxTechnologiesReadTransactionRuleOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_READ_TRANSACTION_RULE\", {\n slug: \"mx_technologies-read-transaction-rule\",\n name: \"Read transaction rule\",\n description: \"Tool to retrieve details for a specific transaction rule by its GUID. Use when you need to fetch information about a particular transaction rule for a user.\",\n input: MxTechnologiesReadTransactionRuleInput,\n output: MxTechnologiesReadTransactionRuleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACtG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AACxH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrP,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,kBAAkB,wDAAwD,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/read-transaction-rule.d.ts
|
|
@@ -16,10 +18,7 @@ declare const MxTechnologiesReadTransactionRuleOutput: z.ZodObject<{
|
|
|
16
18
|
match_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const mxTechnologiesReadTransactionRule:
|
|
20
|
-
user_guid: string;
|
|
21
|
-
transaction_rule_guid: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const mxTechnologiesReadTransactionRule: AppAction<typeof MxTechnologiesReadTransactionRuleInput, typeof MxTechnologiesReadTransactionRuleOutput, typeof mxTechnologies.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { mxTechnologiesReadTransactionRule };
|
|
25
24
|
//# sourceMappingURL=read-transaction-rule.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-transaction-rule.d.cts","names":[],"sources":["../../src/actions/read-transaction-rule.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-transaction-rule.d.cts","names":[],"sources":["../../src/actions/read-transaction-rule.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAatC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/read-transaction-rule.d.ts
|
|
@@ -16,10 +18,7 @@ declare const MxTechnologiesReadTransactionRuleOutput: z.ZodObject<{
|
|
|
16
18
|
match_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const mxTechnologiesReadTransactionRule:
|
|
20
|
-
user_guid: string;
|
|
21
|
-
transaction_rule_guid: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const mxTechnologiesReadTransactionRule: AppAction<typeof MxTechnologiesReadTransactionRuleInput, typeof MxTechnologiesReadTransactionRuleOutput, typeof mxTechnologies.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { mxTechnologiesReadTransactionRule };
|
|
25
24
|
//# sourceMappingURL=read-transaction-rule.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-transaction-rule.d.mts","names":[],"sources":["../../src/actions/read-transaction-rule.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-transaction-rule.d.mts","names":[],"sources":["../../src/actions/read-transaction-rule.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAatC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-transaction-rule.mjs","names":[],"sources":["../../src/actions/read-transaction-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesReadTransactionRuleInput = z.object({\n user_guid: z.string().describe(\"The unique identifier for a `user`, beginning with the prefix `USR-`.\"),\n transaction_rule_guid: z.string().describe(\"The unique id for a `transaction_rule`, beginning with the prefix `UTR-`.\"),\n}).describe(\"Request parameters for retrieving a specific transaction rule.\");\nconst MxTechnologiesReadTransactionRule_TransactionRuleSchema = z.object({\n guid: z.string().describe(\"A unique identifier for the `transaction_rule`. Defined by MX.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier for the user. Defined by MX.\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the resource was created, represented in ISO 8601 format with a timestamp.\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time the resource was last updated in ISO 8601 format with a timestamp.\").nullable().optional(),\n description: z.string().describe(\"The matched transaction's `description` will be updated to the string provided here.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier for the category. Defined by MX.\").nullable().optional(),\n match_description: z.string().describe(\"A string used to find a transaction to which the rule will be applied. Transaction matching is based on a comparison of `match_description` to a transaction's cleansed description.\").nullable().optional(),\n}).passthrough().describe(\"Transaction rule details as returned by MX.\");\nexport const MxTechnologiesReadTransactionRuleOutput = z.object({\n transaction_rule: MxTechnologiesReadTransactionRule_TransactionRuleSchema.nullable(),\n}).passthrough().describe(\"Response schema for retrieving a specific transaction rule.\");\n\nexport const mxTechnologiesReadTransactionRule = action(\"MX_TECHNOLOGIES_READ_TRANSACTION_RULE\", {\n slug: \"mx_technologies-read-transaction-rule\",\n name: \"Read transaction rule\",\n description: \"Tool to retrieve details for a specific transaction rule by its GUID. Use when you need to fetch information about a particular transaction rule for a user.\",\n input: MxTechnologiesReadTransactionRuleInput,\n output: MxTechnologiesReadTransactionRuleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-transaction-rule.mjs","names":[],"sources":["../../src/actions/read-transaction-rule.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesReadTransactionRuleInput = z.object({\n user_guid: z.string().describe(\"The unique identifier for a `user`, beginning with the prefix `USR-`.\"),\n transaction_rule_guid: z.string().describe(\"The unique id for a `transaction_rule`, beginning with the prefix `UTR-`.\"),\n}).describe(\"Request parameters for retrieving a specific transaction rule.\");\nconst MxTechnologiesReadTransactionRule_TransactionRuleSchema = z.object({\n guid: z.string().describe(\"A unique identifier for the `transaction_rule`. Defined by MX.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier for the user. Defined by MX.\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the resource was created, represented in ISO 8601 format with a timestamp.\").nullable().optional(),\n updated_at: z.string().describe(\"The date and time the resource was last updated in ISO 8601 format with a timestamp.\").nullable().optional(),\n description: z.string().describe(\"The matched transaction's `description` will be updated to the string provided here.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier for the category. Defined by MX.\").nullable().optional(),\n match_description: z.string().describe(\"A string used to find a transaction to which the rule will be applied. Transaction matching is based on a comparison of `match_description` to a transaction's cleansed description.\").nullable().optional(),\n}).passthrough().describe(\"Transaction rule details as returned by MX.\");\nexport const MxTechnologiesReadTransactionRuleOutput = z.object({\n transaction_rule: MxTechnologiesReadTransactionRule_TransactionRuleSchema.nullable(),\n}).passthrough().describe(\"Response schema for retrieving a specific transaction rule.\");\n\nexport const mxTechnologiesReadTransactionRule: AppAction<\n typeof MxTechnologiesReadTransactionRuleInput,\n typeof MxTechnologiesReadTransactionRuleOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_READ_TRANSACTION_RULE\", {\n slug: \"mx_technologies-read-transaction-rule\",\n name: \"Read transaction rule\",\n description: \"Tool to retrieve details for a specific transaction rule by its GUID. Use when you need to fetch information about a particular transaction rule for a user.\",\n input: MxTechnologiesReadTransactionRuleInput,\n output: MxTechnologiesReadTransactionRuleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACtG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AACxH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrP,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,oCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqD,EAAE,OAAO,EAC9D,kBAAkB,wDAAwD,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-transaction.cjs","names":["z","action"],"sources":["../../src/actions/read-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesReadTransactionInput = z.object({\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user, starting with 'USR-'.\"),\n transaction_guid: z.string().describe(\"The unique identifier (GUID) of the transaction, starting with 'TRN-'.\"),\n}).describe(\"Request parameters for retrieving a specific transaction.\");\nexport const MxTechnologiesReadTransactionOutput = z.object({\n id: z.string().describe(\"Partner-defined transaction identifier.\").nullable().optional(),\n date: z.string().describe(\"The posted date of the transaction in YYYY-MM-DD format.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier (GUID) for this transaction.\").nullable().optional(),\n memo: z.string().describe(\"Additional memo or notes associated with the transaction.\").nullable().optional(),\n type: z.string().describe(\"Transaction type: 'CREDIT' for money in, 'DEBIT' for money out.\").nullable().optional(),\n amount: z.number().describe(\"Monetary amount of the transaction. Positive for credits, negative for debits.\").nullable().optional(),\n is_fee: z.boolean().describe(\"True if this transaction is identified as a fee.\").nullable().optional(),\n status: z.string().describe(\"Transaction status: 'POSTED' for completed or 'PENDING' for pending transactions.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier.\").nullable().optional(),\n category: z.string().describe(\"MX-assigned category name for this transaction (e.g., 'Groceries', 'Gas').\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the transaction location, if available.\").nullable().optional(),\n metadata: z.string().describe(\"Partner-stored additional information for the transaction.\").nullable().optional(),\n is_hidden: z.boolean().describe(\"True if this transaction is hidden from the user.\").nullable().optional(),\n is_income: z.boolean().describe(\"True if this transaction is classified as income.\").nullable().optional(),\n is_manual: z.boolean().describe(\"True if this transaction was manually created by the user.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the transaction location, if available.\").nullable().optional(),\n posted_at: z.string().describe(\"ISO 8601 timestamp when the transaction was posted to the account.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the user who owns this transaction.\").nullable().optional(),\n account_id: z.string().describe(\"Partner-defined account identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in MX.\").nullable().optional(),\n is_expense: z.boolean().describe(\"True if this transaction is classified as an expense.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was last updated.\").nullable().optional(),\n description: z.string().describe(\"MX-cleansed and enhanced transaction description.\").nullable().optional(),\n is_bill_pay: z.boolean().describe(\"True if this transaction is identified as a bill payment.\").nullable().optional(),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member (financial institution connection) this transaction belongs to.\").nullable().optional(),\n account_guid: z.string().describe(\"The unique identifier (GUID) for the account this transaction belongs to.\").nullable().optional(),\n is_recurring: z.boolean().describe(\"True if this is a recurring transaction. Deprecated - use repeating_transactions instead.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier (GUID) for the transaction category.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR').\").nullable().optional(),\n merchant_guid: z.string().describe(\"The unique identifier (GUID) for the merchant, if identified.\").nullable().optional(),\n transacted_at: z.string().describe(\"ISO 8601 timestamp when the transaction actually occurred.\").nullable().optional(),\n localized_memo: z.string().describe(\"Localized transaction memo based on user's locale.\").nullable().optional(),\n is_subscription: z.boolean().describe(\"True if this transaction is a subscription payment.\").nullable().optional(),\n is_international: z.boolean().describe(\"True if this is an international transaction.\").nullable().optional(),\n is_overdraft_fee: z.boolean().describe(\"True if this transaction is an overdraft fee.\").nullable().optional(),\n is_direct_deposit: z.boolean().describe(\"True if this transaction is identified as a direct deposit.\").nullable().optional(),\n is_payroll_advance: z.boolean().describe(\"True if this transaction is a payroll advance.\").nullable().optional(),\n top_level_category: z.string().describe(\"Parent/top-level category name (e.g., 'Food & Dining' for 'Groceries').\").nullable().optional(),\n check_number_string: z.string().describe(\"Check number as a string, if this transaction is a check.\").nullable().optional(),\n original_description: z.string().describe(\"Original, raw transaction description from the financial institution.\").nullable().optional(),\n localized_description: z.string().describe(\"Localized transaction description based on user's locale.\").nullable().optional(),\n merchant_category_code: z.number().int().describe(\"ISO 18245 Merchant Category Code (MCC) for merchant classification.\").nullable().optional(),\n merchant_location_guid: z.string().describe(\"The unique identifier (GUID) for the specific merchant location.\").nullable().optional(),\n extended_transaction_type: z.string().describe(\"Extended transaction type classification.\").nullable().optional(),\n member_is_managed_by_user: z.boolean().describe(\"True if the member connection is managed by the user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a specific transaction.\");\n\nexport const mxTechnologiesReadTransaction = action(\"MX_TECHNOLOGIES_READ_TRANSACTION\", {\n slug: \"mx_technologies-read-transaction\",\n name: \"Read transaction\",\n description: \"Tool to retrieve details for a specific transaction by its GUID. Use when you need to fetch information about a particular transaction for a user.\",\n input: MxTechnologiesReadTransactionInput,\n output: MxTechnologiesReadTransactionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAChH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAA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cjs","names":["z","action"],"sources":["../../src/actions/read-transaction.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesReadTransactionInput = z.object({\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user, starting with 'USR-'.\"),\n transaction_guid: z.string().describe(\"The unique identifier (GUID) of the transaction, starting with 'TRN-'.\"),\n}).describe(\"Request parameters for retrieving a specific transaction.\");\nexport const MxTechnologiesReadTransactionOutput = z.object({\n id: z.string().describe(\"Partner-defined transaction identifier.\").nullable().optional(),\n date: z.string().describe(\"The posted date of the transaction in YYYY-MM-DD format.\").nullable().optional(),\n guid: z.string().describe(\"The unique identifier (GUID) for this transaction.\").nullable().optional(),\n memo: z.string().describe(\"Additional memo or notes associated with the transaction.\").nullable().optional(),\n type: z.string().describe(\"Transaction type: 'CREDIT' for money in, 'DEBIT' for money out.\").nullable().optional(),\n amount: z.number().describe(\"Monetary amount of the transaction. Positive for credits, negative for debits.\").nullable().optional(),\n is_fee: z.boolean().describe(\"True if this transaction is identified as a fee.\").nullable().optional(),\n status: z.string().describe(\"Transaction status: 'POSTED' for completed or 'PENDING' for pending transactions.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user identifier.\").nullable().optional(),\n category: z.string().describe(\"MX-assigned category name for this transaction (e.g., 'Groceries', 'Gas').\").nullable().optional(),\n latitude: z.number().describe(\"Latitude coordinate of the transaction location, if available.\").nullable().optional(),\n metadata: z.string().describe(\"Partner-stored additional information for the transaction.\").nullable().optional(),\n is_hidden: z.boolean().describe(\"True if this transaction is hidden from the user.\").nullable().optional(),\n is_income: z.boolean().describe(\"True if this transaction is classified as income.\").nullable().optional(),\n is_manual: z.boolean().describe(\"True if this transaction was manually created by the user.\").nullable().optional(),\n longitude: z.number().describe(\"Longitude coordinate of the transaction location, if available.\").nullable().optional(),\n posted_at: z.string().describe(\"ISO 8601 timestamp when the transaction was posted to the account.\").nullable().optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the user who owns this transaction.\").nullable().optional(),\n account_id: z.string().describe(\"Partner-defined account identifier.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in MX.\").nullable().optional(),\n is_expense: z.boolean().describe(\"True if this transaction is classified as an expense.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the transaction record was last updated.\").nullable().optional(),\n description: z.string().describe(\"MX-cleansed and enhanced transaction description.\").nullable().optional(),\n is_bill_pay: z.boolean().describe(\"True if this transaction is identified as a bill payment.\").nullable().optional(),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member (financial institution connection) this transaction belongs to.\").nullable().optional(),\n account_guid: z.string().describe(\"The unique identifier (GUID) for the account this transaction belongs to.\").nullable().optional(),\n is_recurring: z.boolean().describe(\"True if this is a recurring transaction. Deprecated - use repeating_transactions instead.\").nullable().optional(),\n category_guid: z.string().describe(\"The unique identifier (GUID) for the transaction category.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR').\").nullable().optional(),\n merchant_guid: z.string().describe(\"The unique identifier (GUID) for the merchant, if identified.\").nullable().optional(),\n transacted_at: z.string().describe(\"ISO 8601 timestamp when the transaction actually occurred.\").nullable().optional(),\n localized_memo: z.string().describe(\"Localized transaction memo based on user's locale.\").nullable().optional(),\n is_subscription: z.boolean().describe(\"True if this transaction is a subscription payment.\").nullable().optional(),\n is_international: z.boolean().describe(\"True if this is an international transaction.\").nullable().optional(),\n is_overdraft_fee: z.boolean().describe(\"True if this transaction is an overdraft fee.\").nullable().optional(),\n is_direct_deposit: z.boolean().describe(\"True if this transaction is identified as a direct deposit.\").nullable().optional(),\n is_payroll_advance: z.boolean().describe(\"True if this transaction is a payroll advance.\").nullable().optional(),\n top_level_category: z.string().describe(\"Parent/top-level category name (e.g., 'Food & Dining' for 'Groceries').\").nullable().optional(),\n check_number_string: z.string().describe(\"Check number as a string, if this transaction is a check.\").nullable().optional(),\n original_description: z.string().describe(\"Original, raw transaction description from the financial institution.\").nullable().optional(),\n localized_description: z.string().describe(\"Localized transaction description based on user's locale.\").nullable().optional(),\n merchant_category_code: z.number().int().describe(\"ISO 18245 Merchant Category Code (MCC) for merchant classification.\").nullable().optional(),\n merchant_location_guid: z.string().describe(\"The unique identifier (GUID) for the specific merchant location.\").nullable().optional(),\n extended_transaction_type: z.string().describe(\"Extended transaction type classification.\").nullable().optional(),\n member_is_managed_by_user: z.boolean().describe(\"True if the member connection is managed by the user.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a specific transaction.\");\n\nexport const mxTechnologiesReadTransaction: AppAction<\n typeof MxTechnologiesReadTransactionInput,\n typeof MxTechnologiesReadTransactionOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_READ_TRANSACTION\", {\n slug: \"mx_technologies-read-transaction\",\n name: \"Read transaction\",\n description: \"Tool to retrieve details for a specific transaction by its GUID. Use when you need to fetch information about a particular transaction for a user.\",\n input: MxTechnologiesReadTransactionInput,\n output: MxTechnologiesReadTransactionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AAChH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC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wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mxTechnologies } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/read-transaction.d.ts
|
|
@@ -52,10 +54,7 @@ declare const MxTechnologiesReadTransactionOutput: z.ZodObject<{
|
|
|
52
54
|
extended_transaction_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
55
|
member_is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
54
56
|
}, z.core.$loose>;
|
|
55
|
-
declare const mxTechnologiesReadTransaction:
|
|
56
|
-
user_guid: string;
|
|
57
|
-
transaction_guid: string;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
57
|
+
declare const mxTechnologiesReadTransaction: AppAction<typeof MxTechnologiesReadTransactionInput, typeof MxTechnologiesReadTransactionOutput, typeof mxTechnologies.credential>;
|
|
59
58
|
//#endregion
|
|
60
59
|
export { mxTechnologiesReadTransaction };
|
|
61
60
|
//# sourceMappingURL=read-transaction.d.cts.map
|