UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

14 lines (13 loc) 740 B
import type { TaskRepo } from '../../../repo/task'; import type { TransactionRepo } from '../../../repo/transaction'; import * as factory from '../../../factory'; import { Settings } from '../../../settings'; declare function onOrderInTransit(params: { order: Pick<factory.order.IOrder, 'id' | 'orderNumber' | 'broker' | 'confirmationNumber' | 'customer' | 'dateReturned' | 'name' | 'orderDate' | 'orderedItem' | 'paymentMethods' | 'previousOrderStatus' | 'price' | 'priceCurrency' | 'project' | 'returner' | 'seller' | 'typeOf'> & { orderStatus: factory.orderStatus.OrderInTransit; }; }): (repos: { task: TaskRepo; transaction: TransactionRepo; }, settings: Settings) => Promise<void>; export { onOrderInTransit };