n8n-nodes-base
Version:
Base nodes of n8n
24 lines • 1.73 kB
TypeScript
import type { IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription } from 'n8n-workflow';
export declare class Magento2 implements INodeType {
description: INodeTypeDescription;
methods: {
loadOptions: {
getCountries(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getStores(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getWebsites(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getCustomAttributes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getSystemAttributes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getProductTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getAttributeSets(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getFilterableCustomerAttributes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getProductAttributes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getFilterableProductAttributes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getSortableProductAttributes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
getOrderAttributes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
};
};
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
}
//# sourceMappingURL=Magento2.node.d.ts.map