UNPKG

@skriptfabrik/n8n-nodes-moco

Version:
14 lines (13 loc) 1.12 kB
import type { IExecuteFunctions, ILoadOptionsFunctions, IPollFunctions, IDataObject, IHttpRequestMethods } from 'n8n-workflow'; export declare function createUTCStringFromNodeParameter(this: IExecuteFunctions | IPollFunctions | ILoadOptionsFunctions, parameterName: string, itemIndex?: number): string | undefined; export declare function createParametersFromNodeParameter(this: IExecuteFunctions | IPollFunctions | ILoadOptionsFunctions, parameterName: string, itemIndex: number | undefined, fields: string[]): IDataObject; export declare function mocoApiRequest(this: ILoadOptionsFunctions | IPollFunctions | IExecuteFunctions, itemIndex: number | undefined, method: IHttpRequestMethods, url: string, options?: { impersonateUserId?: string; body?: IDataObject; qs?: IDataObject; }): Promise<IDataObject>; export declare function mocoApiRequestAllItems(this: IExecuteFunctions | IPollFunctions | ILoadOptionsFunctions, itemIndex: number | undefined, method: IHttpRequestMethods, url: string, options?: { impersonateUserId?: string; body?: IDataObject; qs?: IDataObject; }): Promise<IDataObject[]>;