UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

35 lines (34 loc) 802 B
import type { ReservationRepo } from '../../../repo/reservation'; import type { SettingRepo } from '../../../repo/setting'; import type { TaskRepo } from '../../../repo/task'; export declare function onReservationCheckedIn(params: { project: { id: string; }; object: { /** * 予約IDで発券 */ ids?: string[]; /** * 予約番号で発券 */ reservationNumbers?: string[]; reservedTicket: { dateIssued?: Date; }; }; purpose: { /** * 承認コード */ code: string; }; instrument: { orderNumber?: string; }; }): (repos: { reservation: ReservationRepo; setting: SettingRepo; task: TaskRepo; }) => Promise<void>;