import * as factory from '../factory'; import { ISearchResult, Service } from '../service'; export declare type IOfferCatalogAsSearchResult = Omit & { numberOfItems?: number; }; export declare type IItemListElement = Pick & { sortIndex?: number; }; export declare type ICreateResult = Omit; /** * オファーカタログサービス */ export declare class OfferCatalogService extends Service { /** * オファーカタログ作成 */ create(params: factory.offerCatalog.IOfferCatalog): Promise; /** * オファーカタログ検索 * レスポンス最適化(2023-02-28~) */ search(params: factory.offerCatalog.ISearchConditions): Promise>; /** * オファーカタログ更新 */ update(params: factory.offerCatalog.IOfferCatalog): Promise; /** * オファーカタログ複数更新 */ updateMany(params: { id: { $in: string[]; }; $push: { itemListElement: { $each: factory.offerCatalog.IItemListElement[]; }; }; $pull: { itemListElement: { $elemMatch: { id: { $in: string[]; }; }; }; }; }): Promise; /** * オファーカタログ削除 */ deleteById(params: { id: string; }): Promise; searchItemListElement(params: { id: string; limit?: number; page?: number; }): Promise>; }