import * as factory from '../factory'; import { ISearchedEvent } from './event/factory'; import { IProjectionSearchConditions, ISearchResult, IUnset, Service } from '../service'; /** * イベントサービス */ export declare class EventService extends Service { /** * イベント作成 */ create(params: factory.event.ICreateParams[]): Promise[]>; /** * イベント作成(NO_CONTENT) */ createWithNoResponse(params: factory.event.ICreateParams[]): Promise; /** * 特定の追加特性をキーにして、なければ作成する(複数対応) */ createManyIfNotExist(params: { attributes: factory.event.ICreateParams[]; filter: { /** * キーにする追加特性name */ name: string; }; }): Promise; /** * イベント検索 */ search(params: factory.event.ISearchConditions & IProjectionSearchConditions): Promise[]>>; /** * イベント取得 */ findById(params: { id: string; }): Promise>; /** * イベント更新 */ update(params: { id: string; attributes: factory.event.IUpdateParams & IUnset; }): Promise; /** * イベント削除 */ deleteById(params: { id: string; }): Promise; /** * イベント部分更新 */ updatePartially(params: { id: string; attributes: { typeOf: T; eventStatus?: factory.eventStatusType; onUpdated?: { sendEmailMessage?: factory.action.transfer.send.message.email.IAttributes[]; }; }; }): Promise; /** * 興行オファー検索 */ searchTicketOffers(params: { limit?: number; page?: number; id: string; availableAt?: { id?: string; }; onlyValid?: boolean; }): Promise; /** * イベントに対する座席検索 */ searchSeats(params: { id: string; } & factory.place.seat.ISearchConditions): Promise>; }