@chevre/factory 9.5.0-alpha.7 → 9.5.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,10 +3,10 @@ import { IAcceptedPaymentMethodOfferAsInstrument, IPaymentMethodTicketAsInstrume
|
|
|
3
3
|
import { ActionType } from '../../actionType';
|
|
4
4
|
import { IAgent, IObjectWithoutDetail, IPaymentMethodWithoutDetail } from '../../assetTransaction/pay';
|
|
5
5
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
6
|
-
import {
|
|
6
|
+
import { IExecTran3dsResult, IExecTranResult, IRecipe } from '../../recipe/publishPaymentUrl';
|
|
7
7
|
import { TransactionType } from '../../transactionType';
|
|
8
8
|
import { IAttributes as IBaseAttributes } from '../accept';
|
|
9
|
-
export {
|
|
9
|
+
export { IExecTran3dsResult, IExecTranResult, IAgent, IRecipe };
|
|
10
10
|
export type IPaymentMethod = Pick<IPaymentMethodWithoutDetail, 'amount' | 'creditCard' | 'identifier' | 'method'>;
|
|
11
11
|
/**
|
|
12
12
|
* 採用する決済方法
|
|
@@ -24,7 +24,6 @@ export interface IObject {
|
|
|
24
24
|
}
|
|
25
25
|
export interface IResult {
|
|
26
26
|
paymentMethodId: string;
|
|
27
|
-
paymentUrl: string;
|
|
28
27
|
}
|
|
29
28
|
export interface IPurpose {
|
|
30
29
|
typeOf: TransactionType.PlaceOrder;
|
|
@@ -115,7 +115,6 @@ export interface IPaymentServiceAsObject {
|
|
|
115
115
|
id: string;
|
|
116
116
|
paymentMethod: IPaymentMethod;
|
|
117
117
|
pendingTransaction?: never;
|
|
118
|
-
accountsReceivablesByServiceType?: never;
|
|
119
118
|
/**
|
|
120
119
|
* 既存決済カード認証アクション(2024-12-13~)
|
|
121
120
|
* PaymentServiceType.MovieTicketのみ
|
|
@@ -123,7 +122,11 @@ export interface IPaymentServiceAsObject {
|
|
|
123
122
|
checkedAction?: {
|
|
124
123
|
id: string;
|
|
125
124
|
};
|
|
126
|
-
|
|
125
|
+
/**
|
|
126
|
+
* 関連注文情報
|
|
127
|
+
* 2025-11-24移行必須化
|
|
128
|
+
*/
|
|
129
|
+
serviceOutput: IInvoiceAsPaymentServiceOutput;
|
|
127
130
|
}
|
|
128
131
|
export type IObject = IPaymentServiceAsObject;
|
|
129
132
|
export interface IPaymentMethodWithoutDetail extends Pick<IPaymentMethod, 'accountId' | 'additionalProperty' | 'creditCard' | 'description' | 'identifier' | 'method' | 'movieTickets' | 'name'> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActionType } from '../actionType';
|
|
2
|
-
import {
|
|
2
|
+
import { IReservationForLegacy } from '../assetTransaction/reserve';
|
|
3
3
|
import { IProvider, IUnderName } from '../reservation';
|
|
4
4
|
import { IReservation as IEventReservation } from '../reservation/event';
|
|
5
5
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
@@ -7,24 +7,33 @@ import { ReservationType } from '../reservationType';
|
|
|
7
7
|
import { ISubReservationReservedTicket } from '../assetTransaction/reserve';
|
|
8
8
|
type IProject = IEventReservation['project'];
|
|
9
9
|
export type IMaskedUnderName = Pick<IUnderName, 'id' | 'typeOf'>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
/**
|
|
11
|
+
* 確定予約通知におけるチケット
|
|
12
|
+
*/
|
|
13
|
+
export type IReservedTicket4inform = Pick<ISubReservationReservedTicket, 'dateIssued' | 'dateUsed' | 'identifier' | 'issuedBy' | 'ticketNumber' | 'ticketToken' | 'ticketedSeat' | 'typeOf'> & {
|
|
14
|
+
ticketType?: never;
|
|
15
|
+
};
|
|
16
|
+
export type ISubReservation4inform = Pick<IEventReservation, 'id' | 'modifiedTime' | 'additionalTicketText' | 'subReservation' | 'typeOf'> & {
|
|
17
|
+
reservedTicket: IReservedTicket4inform;
|
|
18
|
+
price?: never;
|
|
19
|
+
priceCurrency?: never;
|
|
20
|
+
additionalProperty?: never;
|
|
21
|
+
programMembershipUsed?: never;
|
|
13
22
|
};
|
|
14
23
|
/**
|
|
15
24
|
* 確定予約通知
|
|
16
25
|
*/
|
|
17
26
|
export interface IReservationPackage4informConfirmed {
|
|
18
27
|
bookingTime: Date;
|
|
19
|
-
issuedThrough: IIssuedThrough;
|
|
20
28
|
project: IProject;
|
|
21
29
|
provider: IProvider;
|
|
22
30
|
reservationFor: IReservationForLegacy;
|
|
23
31
|
reservationNumber: string;
|
|
24
32
|
reservationStatus: ReservationStatusType.ReservationConfirmed;
|
|
25
33
|
subReservation: ISubReservation4inform[];
|
|
26
|
-
underName?: IMaskedUnderName;
|
|
27
34
|
typeOf: ReservationType.ReservationPackage;
|
|
35
|
+
issuedThrough?: never;
|
|
36
|
+
underName?: never;
|
|
28
37
|
}
|
|
29
38
|
/**
|
|
30
39
|
* 予約取消通知
|
|
@@ -3,9 +3,19 @@ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSect
|
|
|
3
3
|
export type IEntryTranArgs = GMOFactory.service.credit.IEntryTranArgs;
|
|
4
4
|
export type IEntryTranResult = GMOFactory.service.credit.IEntryTranResult;
|
|
5
5
|
export type IExecTranArgs = GMOFactory.service.credit.IExecTranArgs;
|
|
6
|
-
export type IExecTranResult = GMOFactory.service.credit.IExecTranResult
|
|
6
|
+
export type IExecTranResult = GMOFactory.service.credit.IExecTranResult & {
|
|
7
|
+
/**
|
|
8
|
+
* IExecTran3dsResultの場合にのみ存在
|
|
9
|
+
*/
|
|
10
|
+
redirectUrl?: never;
|
|
11
|
+
};
|
|
7
12
|
export type IExecTran3dsArgs = GMOFactory.service.credit.IExecTran3dsArgs;
|
|
8
|
-
export type IExecTran3dsResult = GMOFactory.service.credit.IExecTran3dsResult
|
|
13
|
+
export type IExecTran3dsResult = GMOFactory.service.credit.IExecTran3dsResult & {
|
|
14
|
+
/**
|
|
15
|
+
* IExecTranResultの場合にのみ存在
|
|
16
|
+
*/
|
|
17
|
+
acsUrl?: never;
|
|
18
|
+
};
|
|
9
19
|
export interface IDirectionEntryTran extends IBaseHowToDirection {
|
|
10
20
|
beforeMedia?: IEntryTranArgs;
|
|
11
21
|
afterMedia?: IEntryTranResult;
|