import * as S from 'ufc-schema'; /** 按页获取你希望的所有的对象 */ export declare function getAllByPage>(fetcher: ({ pageSize, pageNum, }: { pageSize: number; pageNum: number; }) => Promise<{ data: any; meta: S.Meta; }>, { pageNum: startPageNum, pageSize, totalNum, }?: { pageNum?: number; pageSize?: number; totalNum?: number; }): Promise; export interface PagedQueryParams { searchText?: string; name?: string; pageNum?: number; pageSize?: number; totalNum?: number; startDate?: string; startDateTime?: string; endDate?: string; endDateTime?: string; tenantId?: S.Id; creatorId?: S.Id; } export interface WorkOrderPagedQueryParams extends PagedQueryParams { status?: S.WorkOrderStatus; exceptionHandled?: boolean; exceptionCode?: string; } export interface InquiryPagedQueryParams extends PagedQueryParams { type?: S.InquiryOrderType; status?: S.InquiryOrderStatus[] | S.InquiryOrderStatus; damage?: boolean; hasUnhandledFeedback?: boolean; contractState?: 'DE_UPLOA' | 'NOT_UNLOAD' | 'UPLOADED'; timeoutOrder?: boolean; urgent?: boolean; dateFilterType?: 'BY_CREATE_TIME' | 'BY_LAST_DELIVER_TIME'; sort?: 'BY_URGENT_ORDER_TYPE_DELIVER' | 'BY_UPDATE_TIME_DESC' | 'BY_DELIVER_TIME_ASC'; handleProcessId?: string; preFileHandle?: boolean; withCreatorInfo?: boolean; withCustomer?: boolean; withDeliver?: boolean; withDispatchUserInfo?: boolean; withDispatchUsers?: boolean; withFilePreHandle?: boolean; withItemIds?: boolean; withItemMaterialSpu?: boolean; withItemPrintFileIds?: boolean; withItemPrintFiles?: boolean; withItems?: boolean; withPostHandleProcessRecords?: boolean; withPrice?: boolean; withProductInfo?: boolean; withProductProgress?: boolean; withSynergy?: boolean; withProductRemark?: boolean; } export interface InquiryCountPagedQueryParams { type?: S.InquiryOrderType; endDate?: string; startDate?: string; searchText?: string; timeoutOrder?: boolean; urgent?: boolean; damage?: boolean; dateFilterType?: 'BY_CREATE_TIME' | 'BY_LAST_DELIVER_TIME'; status?: S.InquiryOrderStatus | S.InquiryOrderStatus[]; statuses?: S.InquiryOrderStatus[]; canAutoQuote?: boolean; autoQuoted?: boolean; }