n8n-nodes-feishu-lark
Version:
n8n custom nodes for n8n to interact with Feishu/Lark, including Lark Bot, Lark MCP, and Lark Trigger.
19 lines (18 loc) • 1.16 kB
TypeScript
import { IDataObject, IExecuteFunctions, IWebhookFunctions } from 'n8n-workflow';
declare class NodeUtils {
static getNodeFixedCollection(data: IDataObject, collectionName: string): IDataObject[];
static getNodeFixedCollectionList(data: IDataObject, collectionName: string, propertyName: string): any[];
static buildUploadFileData(this: IExecuteFunctions, inputDataFieldName: string, index?: number): Promise<{
value: Buffer<ArrayBufferLike>;
options: {
filename: string | undefined;
filelength: string | undefined;
contentType: string;
};
}>;
static getNodeJsonData(data: IExecuteFunctions, propertyName: string, index: number, failValue?: any): any;
static getObjectData(context: IExecuteFunctions, index: number, propertyName?: string, failValue?: any): IDataObject | any;
static getArrayData<T>(context: IExecuteFunctions, propertyName: string, index: number, validator: (val: unknown) => val is T, failValue?: any): T[];
static getNodeParameter(context: IExecuteFunctions | IWebhookFunctions, propertyName: string, failValue?: any): any;
}
export default NodeUtils;