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>
This commit is contained in:
73
dist/nodes/Strike/descriptions/AccountDescription.js
vendored
Normal file
73
dist/nodes/Strike/descriptions/AccountDescription.js
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
"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'],
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user