@chevre/domain
Version:
Chevre Domain Library for Node.js
22 lines (21 loc) • 655 B
TypeScript
/**
* COA予約取引サービス
*/
import type * as COA from '@motionpicture/coa-service';
import * as factory from '../../factory';
import { IProcessConfirmCOAReserveResult } from './reserveCOA/factory';
interface IConfirmRepo {
reserveService: COA.service.Reserve;
}
type IConfirmOperation<T> = (repos: IConfirmRepo) => Promise<T>;
/**
* 取引確定
*/
declare function confirm(params: {
project: {
id: string;
};
object: factory.action.interact.confirm.reservation.IObject4COA;
purpose: factory.action.interact.confirm.reservation.IPurpose;
}): IConfirmOperation<IProcessConfirmCOAReserveResult>;
export { confirm };