UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

65 lines (64 loc) 3.52 kB
import * as surfrock from '@surfrock/sdk'; import * as factory from '../../../factory'; import { IMinimizedIndividualEvent } from '../../../factory/event'; type IEvent4seatInfoSync = Pick<IMinimizedIndividualEvent<factory.eventType.ScreeningEvent>, 'id' | 'coaInfo' | 'startDate'> & { location: Pick<factory.event.event.ILocation, 'branchCode'>; offers: { offeredThrough?: factory.event.screeningEvent.IOfferedThrough | factory.event.screeningEvent.IOffer4COA['offeredThrough']; }; superEvent: { workPerformed: { identifier: string; }; }; }; declare function createSeatInfoSyncIn(params: { paymentMethodType: string; paymentMethodId: string; movieTickets: factory.action.trade.pay.IMovieTicket[]; event: IEvent4seatInfoSync; purpose: factory.assetTransaction.pay.IOrderAsPurpose; credentials: { kgygishCd: string; stCd: string; }; }): surfrock.factory.service.seat.seatInfoSync.ISeatInfoSyncIn; declare function createStartingPayAction(params: factory.action.trade.pay.IAttributes): factory.action.trade.pay.IAttributes; interface IProcessPurchaseNumberAuthResult { purchaseNumberAuthIn?: factory.action.check.paymentMethod.movieTicket.IPurchaseNumberAuthIn; purchaseNumberAuthResult?: factory.action.check.paymentMethod.movieTicket.IPurchaseNumberAuthResult; } interface IProcessSeatInfoSyncResult { seatInfoSyncIn?: factory.action.trade.pay.ISeatInfoSyncIn; seatInfoSyncResult?: factory.action.trade.pay.ISeatInfoSyncResult | factory.action.trade.refund.ISeatInfoSyncResultAsError; } interface IProcessSeatInfoSyncCancelResult { seatInfoSyncCancelIn?: factory.action.trade.refund.ISeatInfoSyncCancelIn; seatInfoSyncCancelResult?: factory.action.trade.refund.ISeatInfoSyncCancelResult; } declare function processPurchaseNumberAuthResult2checkRecipe(params: { processPurchaseNumberAuthResult: IProcessPurchaseNumberAuthResult; project: { id: string; }; }): factory.action.check.paymentMethod.movieTicket.IRecipe; declare function processSeatInfoSyncResult2payRecipe(params: { processSeatInfoSyncResult: IProcessSeatInfoSyncResult; project: { id: string; }; }): factory.action.trade.pay.IPayMovieTicketRecipe; declare function processSeatInfoSyncResult2refundRecipe(params: { processSeatInfoSyncResult?: IProcessSeatInfoSyncResult; processSeatInfoSyncCancelResult?: IProcessSeatInfoSyncCancelResult; project: { id: string; }; }): factory.action.trade.refund.IRefundMovieTicketRecipe; declare enum MovieticketReserveRequestErrorMessage { AlreadyPaid = "\u65E2\u306B\u5B58\u5728\u3059\u308B\u8208\u884C\u30B7\u30B9\u30C6\u30E0\u5EA7\u5E2D\u4E88\u7D04\u756A\u53F7\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F\u3002", NotFound = "\u5B58\u5728\u3057\u306A\u3044\u8208\u884C\u4F1A\u793E\u30B7\u30B9\u30C6\u30E0\u5EA7\u5E2D\u4E88\u7D04\u756A\u53F7\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F\u3002", ReservationResult19 = "ReservationResult 19", CancellationPeriodPassed = "\u5EA7\u5E2D\u4E88\u7D04\u53D6\u6D88\u53EF\u80FD\u671F\u9593\u3092\u904E\u304E\u3066\u3044\u307E\u3059\u3002" } export { createSeatInfoSyncIn, createStartingPayAction, processPurchaseNumberAuthResult2checkRecipe, processSeatInfoSyncResult2payRecipe, processSeatInfoSyncResult2refundRecipe, MovieticketReserveRequestErrorMessage, IEvent4seatInfoSync, IProcessPurchaseNumberAuthResult, IProcessSeatInfoSyncResult, IProcessSeatInfoSyncCancelResult };