import { IExecuteFunctions } from 'n8n-core'; import { JsonObject, INodeProperties } from 'n8n-workflow'; export interface PaywiseApiError { response?: { body: { message: string; errors?: Record; status?: number; code?: string; }; statusCode?: number; statusMessage?: string; headers?: Record; }; message: string; code?: string; stack?: string; } export interface IPaywiseCredentials { baseUrl: string; caseManagementApiSubpath?: string; partnerApiSubpath?: string; } export interface IResourceFunctions { [key: string]: (this: IExecuteFunctions) => Promise; } export interface IResourceDescription { operations: INodeProperties[]; properties: INodeProperties[]; }