Files
n8n-nodes-strike/dist/nodes/Strike/descriptions/AccountDescription.js
Martien 5605b9b49a Initial commit: n8n Strike API node
- Add Strike API credentials configuration
- Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates)
- Add comprehensive operation descriptions for all resources
- Include CLAUDE.MD documentation
- Set up build configuration with TypeScript, ESLint, and Prettier

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 11:00:38 +01:00

74 lines
2.0 KiB
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 Profile',
value: 'getProfile',
description: 'Get account profile by ID',
action: 'Get account profile',
},
{
name: 'Get Profile by Handle',
value: 'getProfileByHandle',
description: 'Get account profile by handle',
action: 'Get account profile by handle',
},
{
name: 'Get Limits',
value: 'getLimits',
description: 'Get account limits',
action: 'Get account limits',
},
],
default: 'getLimits',
},
];
exports.accountFields = [
// ----------------------------------
// account:getProfile
// ----------------------------------
{
displayName: 'Account ID',
name: 'accountId',
type: 'string',
required: true,
default: '',
description: 'The ID of the account',
displayOptions: {
show: {
resource: ['account'],
operation: ['getProfile'],
},
},
},
// ----------------------------------
// account:getProfileByHandle
// ----------------------------------
{
displayName: 'Handle',
name: 'handle',
type: 'string',
required: true,
default: '',
description: 'The handle of the account (username)',
displayOptions: {
show: {
resource: ['account'],
operation: ['getProfileByHandle'],
},
},
},
];