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:
48
dist/nodes/Strike/descriptions/RatesDescription.js
vendored
Normal file
48
dist/nodes/Strike/descriptions/RatesDescription.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ratesFields = exports.ratesOperations = void 0;
|
||||
exports.ratesOperations = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
type: 'options',
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['rates'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Get Ticker',
|
||||
value: 'getTicker',
|
||||
description: 'Get current exchange rates',
|
||||
action: 'Get exchange rates',
|
||||
},
|
||||
],
|
||||
default: 'getTicker',
|
||||
},
|
||||
];
|
||||
exports.ratesFields = [
|
||||
// ----------------------------------
|
||||
// rates:getTicker
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Currency Pair',
|
||||
name: 'currencyPair',
|
||||
type: 'options',
|
||||
options: [
|
||||
{ name: 'BTC/USD', value: 'BTCUSD' },
|
||||
{ name: 'BTC/EUR', value: 'BTCEUR' },
|
||||
{ name: 'BTC/GBP', value: 'BTCGBP' },
|
||||
],
|
||||
default: 'BTCUSD',
|
||||
description: 'Currency pair for the ticker',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['rates'],
|
||||
operation: ['getTicker'],
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user