@chevre/factory 4.200.0 → 4.203.0
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.
- package/lib/factory/action/authorize/offer/seatReservation.d.ts +1 -1
- package/lib/factory/action/interact/confirm/moneyTransfer.d.ts +9 -4
- package/lib/factory/action/interact/confirm/pay.d.ts +7 -14
- package/lib/factory/action/interact/confirm/registerService.d.ts +14 -7
- package/lib/factory/action/interact/confirm/reservation.d.ts +4 -1
- package/lib/factory/action/trade/pay.d.ts +1 -1
- package/lib/factory/assetTransaction/reserve.d.ts +17 -1
- package/package.json +1 -1
|
@@ -77,7 +77,7 @@ export declare type IObject<T extends WebAPIFactory.Identifier> = {
|
|
|
77
77
|
* Chevre進行中取引
|
|
78
78
|
*/
|
|
79
79
|
pendingTransaction?: IPendingTransaction;
|
|
80
|
-
} & IObjectWithoutDetail<T>;
|
|
80
|
+
} & Omit<IObjectWithoutDetail<T>, 'acceptedOffer'>;
|
|
81
81
|
export interface IPurpose {
|
|
82
82
|
typeOf: TransactionType.PlaceOrder;
|
|
83
83
|
id: string;
|
|
@@ -2,8 +2,9 @@ import * as AccountFactory from '../../../account';
|
|
|
2
2
|
import * as ActionFactory from '../../../action';
|
|
3
3
|
import { ActionType } from '../../../actionType';
|
|
4
4
|
import * as MoneyTransferTransactionFactory from '../../../assetTransaction/moneyTransfer';
|
|
5
|
+
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
5
6
|
import { IMonetaryAmount } from '../../../monetaryAmount';
|
|
6
|
-
import
|
|
7
|
+
import { ISimpleOrder } from '../../../order';
|
|
7
8
|
import { IPropertyValue } from '../../../propertyValue';
|
|
8
9
|
import { TransactionType } from '../../../transactionType';
|
|
9
10
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
@@ -51,16 +52,20 @@ export import IFromLocationBeforeStart = MoneyTransferTransactionFactory.IFromLo
|
|
|
51
52
|
export declare type ILocation = IAnonymousLocation | IPaymentMethodLocation | IPaymentCard;
|
|
52
53
|
export interface IObject {
|
|
53
54
|
pendingTransaction: IPendingTransaction;
|
|
55
|
+
typeOf: AssetTransactionType.MoneyTransfer;
|
|
56
|
+
}
|
|
57
|
+
export interface IPotentialActions {
|
|
58
|
+
}
|
|
59
|
+
export interface IResult {
|
|
54
60
|
}
|
|
55
|
-
export declare type IResult = any;
|
|
56
|
-
export declare type IPotentialActions = any;
|
|
57
61
|
export interface ITransactionPurpose {
|
|
58
62
|
typeOf: TransactionType;
|
|
59
63
|
id: string;
|
|
60
64
|
}
|
|
61
|
-
export declare type IPurpose = ITransactionPurpose |
|
|
65
|
+
export declare type IPurpose = ITransactionPurpose | ISimpleOrder;
|
|
62
66
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.ConfirmAction, IObject, IResult> {
|
|
63
67
|
typeOf: ActionType.ConfirmAction;
|
|
68
|
+
potentialActions?: IPotentialActions;
|
|
64
69
|
purpose: IPurpose;
|
|
65
70
|
/**
|
|
66
71
|
* 金額
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import { ActionType } from '../../../actionType';
|
|
3
|
-
import
|
|
3
|
+
import { IPaymentMethod, ISimpleOrder } from '../../../order';
|
|
4
4
|
import * as MovieTicketFactory from '../../../paymentMethod/paymentCard/movieTicket';
|
|
5
5
|
import { IInstrument } from '../../authorize/paymentMethod/any';
|
|
6
|
-
import * as PayActionFactory from '../../trade/pay';
|
|
7
6
|
export import IMovieTicket = MovieTicketFactory.IMovieTicket;
|
|
8
7
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
9
8
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
10
|
-
export declare type IPurpose =
|
|
9
|
+
export declare type IPurpose = ISimpleOrder;
|
|
11
10
|
export declare enum ObjectType {
|
|
12
11
|
PaymentMethod = "PaymentMethod"
|
|
13
12
|
}
|
|
@@ -16,29 +15,23 @@ export interface IPaymentService {
|
|
|
16
15
|
/**
|
|
17
16
|
* 決済方法
|
|
18
17
|
*/
|
|
19
|
-
paymentMethod:
|
|
18
|
+
paymentMethod: IPaymentMethod;
|
|
20
19
|
/**
|
|
21
20
|
* ムビチケリスト
|
|
22
21
|
*/
|
|
23
22
|
movieTickets?: IMovieTicket[];
|
|
24
23
|
}
|
|
25
24
|
export declare type IObject = IPaymentService[];
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*/
|
|
25
|
+
export interface IPotentialActions {
|
|
26
|
+
}
|
|
29
27
|
export interface IResult {
|
|
30
|
-
/**
|
|
31
|
-
* クレジットカード売上結果
|
|
32
|
-
*/
|
|
33
|
-
creditCardSales?: PayActionFactory.ICreditCardSales[];
|
|
34
|
-
seatInfoSyncIn?: any;
|
|
35
|
-
seatInfoSyncResult?: any;
|
|
36
28
|
}
|
|
37
29
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.ConfirmAction, IObject, IResult> {
|
|
38
30
|
instrument?: IInstrument;
|
|
31
|
+
potentialActions?: IPotentialActions;
|
|
39
32
|
purpose: IPurpose;
|
|
40
33
|
}
|
|
41
34
|
/**
|
|
42
|
-
*
|
|
35
|
+
* 決済確定アクションインターフェース
|
|
43
36
|
*/
|
|
44
37
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import { ActionType } from '../../../actionType';
|
|
3
|
-
import * as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare type
|
|
8
|
-
|
|
3
|
+
import * as RegisterServiceFactory from '../../../assetTransaction/registerService';
|
|
4
|
+
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
5
|
+
import { ISimpleOrder } from '../../../order';
|
|
6
|
+
import * as OrderProgramMembershipFactory from '../../../task/orderProgramMembership';
|
|
7
|
+
export declare type IObject = RegisterServiceFactory.IConfirmParams & {
|
|
8
|
+
typeOf: AssetTransactionType.RegisterService;
|
|
9
|
+
};
|
|
10
|
+
export interface IResult {
|
|
11
|
+
}
|
|
12
|
+
export declare type IPurpose = ISimpleOrder;
|
|
13
|
+
export interface IPotentialActions {
|
|
14
|
+
orderProgramMembership?: OrderProgramMembershipFactory.IAttributes[];
|
|
15
|
+
}
|
|
9
16
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.ConfirmAction, IObject, IResult> {
|
|
10
17
|
potentialActions?: IPotentialActions;
|
|
11
18
|
purpose: IPurpose;
|
|
12
19
|
}
|
|
13
20
|
/**
|
|
14
|
-
*
|
|
21
|
+
* サービス登録確定アクションインターフェース
|
|
15
22
|
*/
|
|
16
23
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -2,6 +2,7 @@ import * as COA from '@motionpicture/coa-service';
|
|
|
2
2
|
import * as ActionFactory from '../../../action';
|
|
3
3
|
import * as ReserveTransactionFactory from '../../../assetTransaction/reserve';
|
|
4
4
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
5
|
+
import { ISimpleOrder } from '../../../order';
|
|
5
6
|
import * as WebAPIFactory from '../../../service/webAPI';
|
|
6
7
|
import * as ConfirmActionFactory from '../confirm';
|
|
7
8
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
@@ -10,6 +11,7 @@ export declare type IObject4Chevre = ReserveTransactionFactory.IConfirmParams &
|
|
|
10
11
|
typeOf: AssetTransactionType.Reserve;
|
|
11
12
|
};
|
|
12
13
|
export declare type IObject<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObject4COA : IObject4Chevre;
|
|
14
|
+
export declare type IPurpose = ISimpleOrder;
|
|
13
15
|
export interface IResult {
|
|
14
16
|
}
|
|
15
17
|
export interface IPotentialActions {
|
|
@@ -17,8 +19,9 @@ export interface IPotentialActions {
|
|
|
17
19
|
export declare type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
|
|
18
20
|
export interface IAttributes<T extends WebAPIFactory.Identifier> extends ConfirmActionFactory.IAttributes<IObject<T>, IResult> {
|
|
19
21
|
agent: IAgent;
|
|
20
|
-
potentialActions?: IPotentialActions;
|
|
21
22
|
instrument?: IInstrument<T>;
|
|
23
|
+
potentialActions?: IPotentialActions;
|
|
24
|
+
purpose: IPurpose;
|
|
22
25
|
}
|
|
23
26
|
/**
|
|
24
27
|
* 予約確定アクションインターフェース
|
|
@@ -88,6 +88,7 @@ export interface IPotentialActions {
|
|
|
88
88
|
informPayment?: IInformPayment[];
|
|
89
89
|
}
|
|
90
90
|
export interface IInstrument {
|
|
91
|
+
typeOf: string;
|
|
91
92
|
seatInfoSyncIn?: any;
|
|
92
93
|
}
|
|
93
94
|
/**
|
|
@@ -98,7 +99,6 @@ export interface IResult {
|
|
|
98
99
|
* クレジットカード売上結果
|
|
99
100
|
*/
|
|
100
101
|
creditCardSales?: ICreditCardSales[];
|
|
101
|
-
seatInfoSyncIn?: any;
|
|
102
102
|
seatInfoSyncResult?: any;
|
|
103
103
|
}
|
|
104
104
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.PayAction, IObject, IResult> {
|
|
@@ -124,16 +124,32 @@ export interface IAcceptedTicketOfferWithoutDetail {
|
|
|
124
124
|
addOn?: IAcceptedAddOn[];
|
|
125
125
|
paymentMethod?: IAcceptedPaymentMethod;
|
|
126
126
|
additionalProperty?: IPropertyValue<string>[];
|
|
127
|
+
priceSpecification?: {
|
|
128
|
+
appliesToMovieTicket?: {
|
|
129
|
+
/**
|
|
130
|
+
* 適用MovieTicket購入番号
|
|
131
|
+
*/
|
|
132
|
+
identifier?: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
127
135
|
}
|
|
128
136
|
/**
|
|
129
137
|
* 受け入れられたチケットオファー
|
|
130
138
|
*/
|
|
131
|
-
export declare type IAcceptedTicketOffer = IAcceptedTicketOfferWithoutDetail & ITicketOffer & {
|
|
139
|
+
export declare type IAcceptedTicketOffer = Omit<IAcceptedTicketOfferWithoutDetail, 'priceSpecification'> & ITicketOffer & {
|
|
132
140
|
itemOffered?: IAcceptedTicketOfferItemOffered;
|
|
133
141
|
};
|
|
134
142
|
export interface IAcceptedOffer4object {
|
|
135
143
|
id: string;
|
|
136
144
|
itemOffered: IAcceptedTicketOfferItemOffered4object;
|
|
145
|
+
priceSpecification?: {
|
|
146
|
+
appliesToMovieTicket?: {
|
|
147
|
+
/**
|
|
148
|
+
* 適用MovieTicket購入番号
|
|
149
|
+
*/
|
|
150
|
+
identifier?: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
137
153
|
}
|
|
138
154
|
/**
|
|
139
155
|
* 確定時予約インターフェース
|