import { IParticipantAsProject } from '../../../action'; import { IConfirmParams } from '../../../assetTransaction/reserve'; import { AssetTransactionType } from '../../../assetTransactionType'; import { ISimpleOrder } from '../../../order'; import { IRecipe, IUpdReserveArgs } from '../../../recipe/confirmCOAReserve'; import { IAction as IBaseAction, IAttributes as IBaseAttributes } from '../confirm'; export { IRecipe as IConfirmCOAReserveRecipe }; export type IAgent = IParticipantAsProject; export type IObject4COA = IUpdReserveArgs & { /** * 取引番号は必須 */ transactionNumber: string; typeOf: AssetTransactionType.COAReserveTransaction; }; export type IObject4Chevre = Pick & { /** * 取引番号は必須 */ transactionNumber: string; typeOf: AssetTransactionType.Reserve; }; export type IObject = IObject4COA | IObject4Chevre; export type IPurpose = ISimpleOrder; export interface IResult { } export interface IAttributes extends IBaseAttributes { agent: IAgent; purpose: IPurpose; } /** * 予約取引確定アクション */ export type IAction = IBaseAction;