@chevre/domain
Version:
Chevre Domain Library for Node.js
19 lines (18 loc) • 765 B
TypeScript
/**
* 汎用決済サービス
*/
import * as factory from '../../../factory';
import type { AccountingReportRepo } from '../../../repo/accountingReport';
import type { ActionRepo } from '../../../repo/action';
import type { TaskRepo } from '../../../repo/task';
/**
* 返金後のアクション
*/
declare function onRefundActionCompletedOrFailed(refundAction: Pick<factory.action.trade.refund.IAction, 'id' | 'object' | 'potentialActions' | 'project' | 'purpose' | 'typeOf'> & {
actionStatus: factory.actionStatusType.CompletedActionStatus | factory.actionStatusType.FailedActionStatus;
}): (repos: {
action: ActionRepo;
accountingReport: AccountingReportRepo;
task: TaskRepo;
}) => Promise<void>;
export { onRefundActionCompletedOrFailed };