UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

23 lines (22 loc) 738 B
import type { AccountingReportRepo } from '../../repo/accountingReport'; import type { ActionRepo } from '../../repo/action'; import type { OrderRepo } from '../../repo/order'; import type { TaskRepo } from '../../repo/task'; import * as factory from '../../factory'; import { IExternalOrder } from './onOrderStatusChanged'; /** * 注文取引なしに注文を作成する */ declare function placeOrderWithoutTransaction(params: { agent?: factory.action.trade.order.IAgent; project: { id: string; }; object: IExternalOrder; }): (repos: { accountingReport: AccountingReportRepo; action: ActionRepo; order: OrderRepo; task: TaskRepo; }) => Promise<void>; export { placeOrderWithoutTransaction };