@pixelinfinito/n8n-nodes-vendus
Version:
Vendus API integration for n8n - Invoicing and business management automation
22 lines (21 loc) • 1.35 kB
TypeScript
import { INodeType, INodeTypeDescription, ILoadOptionsFunctions, INodePropertyOptions, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
export declare class Vendus implements INodeType {
description: INodeTypeDescription;
methods: {
loadOptions: {
getProductCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getProductBrands(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getProductUnits(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getStores(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getPaymentMethods(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getDocumentTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getPriceGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getClients(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getSuppliers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getProducts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
};
};
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
private static getOperationDefinition;
private static buildRequestBody;
}