UNPKG

n8n-nodes-feishu-lark

Version:

n8n custom nodes for n8n to interact with Feishu/Lark, including Lark Bot, Lark MCP, and Lark Trigger.

71 lines (70 loc) 3.85 kB
import { FormFieldsParameter, IDataObject, IExecuteFunctions, INodeExecutionData, IWebhookFunctions } from 'n8n-workflow'; import { FileType } from '../help/type/enums'; import { FormTriggerData, SendAndWaitConfig } from '../help/type'; export declare function larkApiRequestSheetList(this: IExecuteFunctions, spreadsheetId: string): Promise<IDataObject[]>; export declare function larkApiRequestCalendarEventList(this: IExecuteFunctions, options: IDataObject): Promise<IDataObject[]>; export declare function larkApiRequestCalendarList(this: IExecuteFunctions): Promise<IDataObject[]>; export declare function larkApiRequestBaseRoleList(this: IExecuteFunctions, options: IDataObject): Promise<IDataObject[]>; export declare function larkApiRequestTableFieldList(this: IExecuteFunctions, options: IDataObject): Promise<IDataObject[]>; export declare function larkApiRequestTableViewList(this: IExecuteFunctions, options: IDataObject): Promise<IDataObject[]>; export declare function larkApiRequestTableList(this: IExecuteFunctions, appToken: string): Promise<IDataObject[]>; export declare function larkApiRequestMessageResourceData(this: IExecuteFunctions, options: { type: string; messageId: string; key: string; }): Promise<String>; export declare function getFileList(this: IExecuteFunctions, type: FileType[], order_by?: string, direction?: string, user_id_type?: string, folderToken?: string): Promise<IDataObject[]>; export declare function sanitizeCustomCss(css: string | undefined): string | undefined; export declare function createDescriptionMetadata(description: string): string; export declare function prepareFormData({ formTitle, formDescription, formSubmittedHeader, formSubmittedText, redirectUrl, formFields, testRun, query, instanceId, useResponseData, appendAttribution, buttonLabel, customCss, }: { formTitle: string; formDescription: string; formSubmittedText: string | undefined; redirectUrl: string | undefined; formFields: FormFieldsParameter; testRun: boolean; query: IDataObject; instanceId?: string; useResponseData?: boolean; appendAttribution?: boolean; buttonLabel?: string; formSubmittedHeader?: string; customCss?: string; }): FormTriggerData; export declare function getResolvables(expression: string): string[]; export declare function resolveRawData(context: IWebhookFunctions, rawData: string): string; export declare function addFormResponseDataToReturnItem(returnItem: INodeExecutionData, formFields: FormFieldsParameter, bodyData: IDataObject): void; export declare function prepareFormReturnItem(context: IWebhookFunctions, formFields: FormFieldsParameter, mode: 'test' | 'production', useWorkflowTimezone?: boolean): Promise<INodeExecutionData>; export declare function sendAndWaitWebhook(this: IWebhookFunctions): Promise<{ noWebhookResponse: boolean; webhookResponse?: undefined; workflowData?: undefined; } | { webhookResponse: string; workflowData: { json: { data: { text: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[]; }; }; }[][]; noWebhookResponse?: undefined; } | { webhookResponse: string; workflowData: INodeExecutionData[][]; noWebhookResponse?: undefined; } | { webhookResponse: string; workflowData: { json: { data: { approved: boolean; }; }; }[][]; noWebhookResponse?: undefined; }>; export declare function escapeHtml(text: string): string; export declare function getSendAndWaitConfig(context: IExecuteFunctions): SendAndWaitConfig; export declare function createSendAndWaitMessageBody(context: IExecuteFunctions): string; export declare function configureWaitTillDate(context: IExecuteFunctions): Date;