UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

26 lines (25 loc) 1.14 kB
import type { ActionRepo } from '../../../repo/action'; import type { CredentialsRepo } from '../../../repo/credentials'; import type { EventRepo } from '../../../repo/event'; import type { PaymentServiceRepo } from '../../../repo/paymentService'; import type { PaymentServiceProviderRepo } from '../../../repo/paymentServiceProvider'; import type { SellerPaymentAcceptedRepo } from '../../../repo/sellerPaymentAccepted'; import * as factory from '../../../factory'; import { Settings } from '../../../settings'; import { ICheckResult } from './processPurchaseNumberAuth'; interface ICheckOperationRepos { action: ActionRepo; credentials: CredentialsRepo; event: EventRepo; paymentAccepted: SellerPaymentAcceptedRepo; paymentService: PaymentServiceRepo; paymentServiceProvider: PaymentServiceProviderRepo; } type ICheckOperation<T> = (repos: ICheckOperationRepos, settings: Settings) => Promise<T>; /** * 決済カード認証 */ declare function checkMovieTicket(params: factory.action.check.paymentMethod.movieTicket.IAttributes): ICheckOperation<{ result: ICheckResult; }>; export { checkMovieTicket };