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:
2025-12-10 11:00:38 +01:00
commit 5605b9b49a
8925 changed files with 1417728 additions and 0 deletions

View File

@ -0,0 +1,24 @@
/**
* Contains all the data which is needed to execute a workflow and so also to
* restart it again if it fails.
* RunData, ExecuteData and WaitForExecution contain often the same data.
*
*/
import type { IRunExecutionDataV0 } from './run-execution-data.v0';
import { type IRunExecutionDataV1 } from './run-execution-data.v1';
/**
* All the versions of the interface.
* !!! Only used at the data access layer to handle records saved under older versions. !!!
* !!! All other code should use the current version, below. !!!
*/
export type IRunExecutionDataAll = IRunExecutionDataV0 | IRunExecutionDataV1;
declare const __brand: unique symbol;
/**
* Current version of IRunExecutionData.
*/
export type IRunExecutionData = IRunExecutionDataV1 & {
[__brand]: 'Use createRunExecutionData factory instead of constructing manually';
};
export declare function migrateRunExecutionData(data: IRunExecutionDataAll): IRunExecutionData;
export {};
//# sourceMappingURL=run-execution-data.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"run-execution-data.d.ts","sourceRoot":"","sources":["../../../src/run-execution-data/run-execution-data.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE3F;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,GAAG,mBAAmB,CAAC;AAE7E,QAAA,MAAM,OAAO,eAAkB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG;IACrD,CAAC,OAAO,CAAC,EAAE,qEAAqE,CAAC;CACjF,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,oBAAoB,GAAG,iBAAiB,CAerF"}

View File

@ -0,0 +1,34 @@
/**
* Contains all the data which is needed to execute a workflow and so also to
* restart it again if it fails.
* RunData, ExecuteData and WaitForExecution contain often the same data.
*
*/
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "./run-execution-data.v1"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.migrateRunExecutionData = migrateRunExecutionData;
const run_execution_data_v1_1 = require("./run-execution-data.v1");
const __brand = Symbol('brand');
function migrateRunExecutionData(data) {
switch (data.version) {
case 0:
case undefined: // Missing version means version 0
data = (0, run_execution_data_v1_1.runExecutionDataV0ToV1)(data);
// Fall through to subsequent versions as they're added.
}
if (data.version !== 1) {
throw new Error(`Unsupported IRunExecutionData version: ${data.version}`);
}
return data;
}
});
//# sourceMappingURL=run-execution-data.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"run-execution-data.js","sourceRoot":"","sources":["../../../src/run-execution-data/run-execution-data.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;;;;;;;;;;;IAqBH,0DAeC;IAjCD,mEAA2F;IAS3F,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;IAShC,SAAgB,uBAAuB,CAAC,IAA0B;QACjE,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;YACtB,KAAK,CAAC,CAAC;YACP,KAAK,SAAS,EAAE,kCAAkC;gBACjD,IAAI,GAAG,IAAA,8CAAsB,EAAC,IAAI,CAAC,CAAC;YACrC,wDAAwD;QACzD,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,KAAK,CAAC,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CACd,0CAA2C,IAA6B,CAAC,OAAO,EAAE,CAClF,CAAC;QACH,CAAC;QAED,OAAO,IAAyB,CAAC;IAClC,CAAC"}

View File

@ -0,0 +1,38 @@
import type { ExecutionError, IExecuteContextData, IExecuteData, IExecutionContext, IPinData, IRunData, ITaskMetadata, IWaitingForExecution, IWaitingForExecutionSource, IWorkflowExecutionDataProcess, RelatedExecution, StartNodeData } from '..';
export interface IRunExecutionDataV0 {
version?: 0;
startData?: {
startNodes?: StartNodeData[];
destinationNode?: string;
originalDestinationNode?: string;
runNodeFilter?: string[];
};
resultData: {
error?: ExecutionError;
runData: IRunData;
pinData?: IPinData;
lastNodeExecuted?: string;
metadata?: Record<string, string>;
};
executionData?: {
contextData: IExecuteContextData;
runtimeData?: IExecutionContext;
nodeExecutionStack: IExecuteData[];
metadata: {
[key: string]: ITaskMetadata[];
};
waitingExecution: IWaitingForExecution;
waitingExecutionSource: IWaitingForExecutionSource | null;
};
parentExecution?: RelatedExecution;
/**
* This is used to prevent breaking change
* for waiting executions started before signature validation was added
*/
validateSignature?: boolean;
waitTill?: Date;
pushRef?: string;
/** Data needed for a worker to run a manual execution. */
manualData?: Pick<IWorkflowExecutionDataProcess, 'dirtyNodeNames' | 'triggerToStartFrom' | 'userId'>;
}
//# sourceMappingURL=run-execution-data.v0.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"run-execution-data.v0.d.ts","sourceRoot":"","sources":["../../../src/run-execution-data/run-execution-data.v0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,6BAA6B,EAC7B,gBAAgB,EAChB,aAAa,EACb,MAAM,IAAI,CAAC;AAEZ,MAAM,WAAW,mBAAmB;IACnC,OAAO,CAAC,EAAE,CAAC,CAAC;IACZ,SAAS,CAAC,EAAE;QACX,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;QAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;KACzB,CAAC;IACF,UAAU,EAAE;QACX,KAAK,CAAC,EAAE,cAAc,CAAC;QACvB,OAAO,EAAE,QAAQ,CAAC;QAClB,OAAO,CAAC,EAAE,QAAQ,CAAC;QACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KAClC,CAAC;IACF,aAAa,CAAC,EAAE;QACf,WAAW,EAAE,mBAAmB,CAAC;QACjC,WAAW,CAAC,EAAE,iBAAiB,CAAC;QAChC,kBAAkB,EAAE,YAAY,EAAE,CAAC;QACnC,QAAQ,EAAE;YAET,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,EAAE,CAAC;SAC/B,CAAC;QACF,gBAAgB,EAAE,oBAAoB,CAAC;QACvC,sBAAsB,EAAE,0BAA0B,GAAG,IAAI,CAAC;KAC1D,CAAC;IACF,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,IAAI,CAChB,6BAA6B,EAC7B,gBAAgB,GAAG,oBAAoB,GAAG,QAAQ,CAClD,CAAC;CACF"}

View File

@ -0,0 +1,13 @@
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
});
//# sourceMappingURL=run-execution-data.v0.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"run-execution-data.v0.js","sourceRoot":"","sources":["../../../src/run-execution-data/run-execution-data.v0.ts"],"names":[],"mappings":""}

View File

@ -0,0 +1,40 @@
import type { ExecutionError, IDestinationNode, IExecuteContextData, IExecuteData, IExecutionContext, IPinData, IRunData, ITaskMetadata, IWaitingForExecution, IWaitingForExecutionSource, IWorkflowExecutionDataProcess, RelatedExecution, StartNodeData } from '..';
import type { IRunExecutionDataV0 } from './run-execution-data.v0';
export interface IRunExecutionDataV1 {
version: 1;
startData?: {
startNodes?: StartNodeData[];
destinationNode?: IDestinationNode;
originalDestinationNode?: IDestinationNode;
runNodeFilter?: string[];
};
resultData: {
error?: ExecutionError;
runData: IRunData;
pinData?: IPinData;
lastNodeExecuted?: string;
metadata?: Record<string, string>;
};
executionData?: {
contextData: IExecuteContextData;
runtimeData?: IExecutionContext;
nodeExecutionStack: IExecuteData[];
metadata: {
[key: string]: ITaskMetadata[];
};
waitingExecution: IWaitingForExecution;
waitingExecutionSource: IWaitingForExecutionSource | null;
};
parentExecution?: RelatedExecution;
/**
* This is used to prevent breaking change
* for waiting executions started before signature validation was added
*/
validateSignature?: boolean;
waitTill?: Date;
pushRef?: string;
/** Data needed for a worker to run a manual execution. */
manualData?: Pick<IWorkflowExecutionDataProcess, 'dirtyNodeNames' | 'triggerToStartFrom' | 'userId'>;
}
export declare function runExecutionDataV0ToV1(data: IRunExecutionDataV0): IRunExecutionDataV1;
//# sourceMappingURL=run-execution-data.v1.d.ts.map

View File

@ -0,0 +1 @@
{"version":3,"file":"run-execution-data.v1.d.ts","sourceRoot":"","sources":["../../../src/run-execution-data/run-execution-data.v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,6BAA6B,EAC7B,gBAAgB,EAChB,aAAa,EACb,MAAM,IAAI,CAAC;AACZ,OAAO,KA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(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.runExecutionDataV0ToV1 = runExecutionDataV0ToV1;
function runExecutionDataV0ToV1(data) {
const destinationNodeV0 = data.startData?.destinationNode;
const originalDestinationNodeV0 = data.startData?.originalDestinationNode;
return {
...data,
version: 1,
startData: {
...data.startData,
destinationNode: destinationNodeV0
? {
nodeName: destinationNodeV0,
mode: 'inclusive',
}
: undefined,
originalDestinationNode: originalDestinationNodeV0
? {
nodeName: originalDestinationNodeV0,
mode: 'inclusive',
}
: undefined,
},
};
}
});
//# sourceMappingURL=run-execution-data.v1.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"run-execution-data.v1.js","sourceRoot":"","sources":["../../../src/run-execution-data/run-execution-data.v1.ts"],"names":[],"mappings":";;;;;;;;;;;IA4DA,wDAuBC;IAvBD,SAAgB,sBAAsB,CAAC,IAAyB;QAC/D,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC;QAC1D,MAAM,yBAAyB,GAAG,IAAI,CAAC,SAAS,EAAE,uBAAuB,CAAC;QAE1E,OAAO;YACN,GAAG,IAAI;YACP,OAAO,EAAE,CAAC;YACV,SAAS,EAAE;gBACV,GAAG,IAAI,CAAC,SAAS;gBACjB,eAAe,EAAE,iBAAiB;oBACjC,CAAC,CAAC;wBACA,QAAQ,EAAE,iBAAiB;wBAC3B,IAAI,EAAE,WAAW;qBACjB;oBACF,CAAC,CAAC,SAAS;gBACZ,uBAAuB,EAAE,yBAAyB;oBACjD,CAAC,CAAC;wBACA,QAAQ,EAAE,yBAAyB;wBACnC,IAAI,EAAE,WAAW;qBACjB;oBACF,CAAC,CAAC,SAAS;aACZ;SACD,CAAC;IACH,CAAC"}