n8n-nodes-a2a
Version:
n8n community node for A2A (Account to Account) transfers, account management, and Google Agent2Agent protocol communication with advanced features including file upload, custom JSON fields, custom requests, and streaming support
145 lines • 3.82 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.accountFields = exports.accountOperations = void 0;
exports.accountOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['account'],
},
},
options: [
{
name: 'Get',
value: 'get',
description: 'Get account details',
action: 'Get an account',
},
{
name: 'Get Balance',
value: 'getBalance',
description: 'Get account balance',
action: 'Get account balance',
},
{
name: 'Get Many',
value: 'getMany',
description: 'Get multiple accounts',
action: 'Get many accounts',
},
{
name: 'Get Transactions',
value: 'getTransactions',
description: 'Get account transaction history',
action: 'Get account transactions',
},
],
default: 'get',
},
];
exports.accountFields = [
{
displayName: 'Account ID',
name: 'accountId',
type: 'string',
required: true,
displayOptions: {
show: {
resource: ['account'],
operation: ['get', 'getBalance', 'getTransactions'],
},
},
default: '',
description: 'The ID of the account',
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
displayOptions: {
show: {
resource: ['account'],
operation: ['getMany'],
},
},
default: 50,
description: 'Max number of results to return',
typeOptions: {
minValue: 1,
},
},
{
displayName: 'Account Type',
name: 'accountType',
type: 'options',
displayOptions: {
show: {
resource: ['account'],
operation: ['getMany'],
},
},
options: [
{
name: 'All',
value: '',
},
{
name: 'Checking',
value: 'checking',
},
{
name: 'Savings',
value: 'savings',
},
],
default: '',
description: 'Filter accounts by type',
},
{
displayName: 'Start Date',
name: 'startDate',
type: 'dateTime',
displayOptions: {
show: {
resource: ['account'],
operation: ['getTransactions'],
},
},
default: '',
description: 'Start date for transaction history',
},
{
displayName: 'End Date',
name: 'endDate',
type: 'dateTime',
displayOptions: {
show: {
resource: ['account'],
operation: ['getTransactions'],
},
},
default: '',
description: 'End date for transaction history',
},
{
displayName: 'Transaction Limit',
name: 'transactionLimit',
type: 'number',
displayOptions: {
show: {
resource: ['account'],
operation: ['getTransactions'],
},
},
default: 100,
description: 'Maximum number of transactions to return',
typeOptions: {
minValue: 1,
},
},
];
//# sourceMappingURL=AccountDescription.js.map