@chevre/domain
Version:
Chevre Domain Library for Node.js
43 lines (42 loc) • 1.15 kB
TypeScript
import type { ActionRepo } from '../../repo/action';
import type { AssetTransactionRepo } from '../../repo/assetTransaction';
import type { AuthorizationRepo } from '../../repo/authorization';
import type { ReservationRepo } from '../../repo/reservation';
import type { SettingRepo } from '../../repo/setting';
import type { TaskRepo } from '../../repo/task';
interface ICheckInReservationParams {
project: {
id: string;
};
object: {
/**
* 予約IDで発券
*/
ids?: string[];
/**
* 予約番号で発券
*/
reservationNumbers?: string[];
};
purpose: {
/**
* 承認コード
*/
code: string;
};
instrument: {
orderNumber?: string;
};
options: {
retryOnReservationNotFound: boolean;
};
}
export declare function checkInReservation(params: ICheckInReservationParams): (repos: {
action: ActionRepo;
assetTransaction: AssetTransactionRepo;
code: AuthorizationRepo;
reservation: ReservationRepo;
setting: SettingRepo;
task: TaskRepo;
}) => Promise<void>;
export {};