import type { Connection, FilterQuery, mongo } from 'mongoose'; import { ICustomerType } from './mongoose/schemas/customerType'; import { factory } from '../factory'; type IKeyOfProjection = keyof ICustomerType; /** * カスタマータイプリポジトリ */ export declare class CustomerTypeRepo { private readonly customerTypeModel; constructor(connection: Connection); static CREATE_MONGO_CONDITIONS(params: factory.categoryCode.ISearchConditions): FilterQuery[]; /** * 検索 */ projectFields(params: factory.categoryCode.ISearchConditions, inclusion: IKeyOfProjection[]): Promise; saveManyByCodeValue(params: { attributes: ICustomerType; upsert?: boolean; }[]): Promise; } export {};