UNPKG

n8n-nodes-larkbase-v3

Version:

n8n node to connect with Larkbase API with UTF-8 support, date filtering, array filter values, text field processing, improved field type handling, pagination fixes, advanced data type conversion, proper date filtering with ExactDate format, updated node

31 lines (30 loc) 1.05 kB
import { IExecuteFunctions, IDataObject } from 'n8n-workflow'; export interface IFilterCondition { field_name: string; operator: string; value: string | number | boolean | string[] | number[] | any[]; } export interface IFilter { conditions: IFilterCondition[]; conjunction: 'and' | 'or'; } export interface ISort { field_name: string; order: 'desc' | 'asc'; } export interface IDateFilter { field_name: string; start_date: string; end_date: string; } export interface IBatchSearchOptions { page_size?: number; page_token?: string; view_id?: string; filter?: IFilter; sort?: ISort[]; field_names?: string[]; date_filter?: IDateFilter[]; } export declare function batchSearch(this: IExecuteFunctions, accessToken: string, appToken: string, tableId: string, options: IBatchSearchOptions): Promise<IDataObject>; export declare function batchSearchAll(this: IExecuteFunctions, accessToken: string, appToken: string, tableId: string, options: IBatchSearchOptions): Promise<IDataObject[]>;