@chevre/factory 4.293.0 → 4.294.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.
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import * as CheckMovieTicketActionFactory from '../../../action/check/paymentMethod/movieTicket';
|
|
3
|
-
import { ITotalPaymentDue } from '../../../action/trade/pay';
|
|
4
|
-
import * as MoneyTransferActionFactory from '../../../action/transfer/moneyTransfer';
|
|
3
|
+
import { IMovieTicket, ITotalPaymentDue } from '../../../action/trade/pay';
|
|
5
4
|
import { ActionType } from '../../../actionType';
|
|
6
5
|
import * as PayTransactionFactory from '../../../assetTransaction/pay';
|
|
7
6
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
8
7
|
import { IPaymentMethodIssuedThrough } from '../../../order';
|
|
9
8
|
import * as CreditCardFactory from '../../../paymentMethod/paymentCard/creditCard';
|
|
10
|
-
import * as MovieTicketFactory from '../../../paymentMethod/paymentCard/movieTicket';
|
|
11
9
|
import { PaymentStatusType } from '../../../paymentStatusType';
|
|
12
10
|
import { IPropertyValue } from '../../../propertyValue';
|
|
13
11
|
import { TransactionType } from '../../../transactionType';
|
|
@@ -29,13 +27,8 @@ export interface IObjectPendingTransaction {
|
|
|
29
27
|
id?: string;
|
|
30
28
|
transactionNumber?: string;
|
|
31
29
|
}
|
|
32
|
-
export declare type IPaymentCard = MoneyTransferActionFactory.IPaymentCard;
|
|
33
30
|
export import ITokenizedPaymentCard = PayTransactionFactory.ITokenizedPaymentCard;
|
|
34
31
|
export import IFromLocation = PayTransactionFactory.IFromLocation;
|
|
35
|
-
/**
|
|
36
|
-
* 転送先
|
|
37
|
-
*/
|
|
38
|
-
export declare type IToLocation = IPaymentCard;
|
|
39
32
|
export import IPurchaseNumberAuthResult = CheckMovieTicketActionFactory.IPurchaseNumberAuthResult;
|
|
40
33
|
export import IUnauthorizedCardOfMember = CreditCardFactory.IUnauthorizedCardOfMember;
|
|
41
34
|
export import IUncheckedCardRaw = CreditCardFactory.IUncheckedCardRaw;
|
|
@@ -44,7 +37,6 @@ export import IUncheckedCardTokenized = CreditCardFactory.IUncheckedCardTokenize
|
|
|
44
37
|
* クレジットカード決済承認アクションに必要なクレジットカード情報
|
|
45
38
|
*/
|
|
46
39
|
export declare type ICreditCard = IUncheckedCardRaw | IUncheckedCardTokenized | IUnauthorizedCardOfMember;
|
|
47
|
-
export import IMovieTicket = MovieTicketFactory.IMovieTicket;
|
|
48
40
|
/**
|
|
49
41
|
* 承認対象
|
|
50
42
|
*/
|
|
@@ -85,18 +77,14 @@ export interface IObject {
|
|
|
85
77
|
*/
|
|
86
78
|
id: string;
|
|
87
79
|
};
|
|
88
|
-
notes?: string;
|
|
89
80
|
/**
|
|
90
|
-
* 進行中取引(
|
|
81
|
+
* 進行中取引(ペイメントカード決済)
|
|
91
82
|
*/
|
|
92
83
|
pendingTransaction?: IObjectPendingTransaction;
|
|
93
84
|
/**
|
|
94
85
|
* 転送元(PaymentCard決済)
|
|
95
86
|
*/
|
|
96
87
|
fromLocation?: IFromLocation;
|
|
97
|
-
/**
|
|
98
|
-
* 転送先(PaymentCard決済)
|
|
99
|
-
*/
|
|
100
88
|
/**
|
|
101
89
|
* 支払い方法(CreditCard決済)
|
|
102
90
|
*/
|
|
@@ -110,7 +98,6 @@ export interface IObject {
|
|
|
110
98
|
*/
|
|
111
99
|
movieTickets?: IMovieTicket[];
|
|
112
100
|
}
|
|
113
|
-
export declare type IPaymentServiceOutput = IMovieTicket[];
|
|
114
101
|
export interface IResult {
|
|
115
102
|
/**
|
|
116
103
|
* The identifier for the account the payment will be applied to.
|
|
@@ -146,26 +133,6 @@ export interface IResult {
|
|
|
146
133
|
additionalProperty?: IPropertyValue<string>[];
|
|
147
134
|
typeOf: ResultType;
|
|
148
135
|
issuedThrough: IPaymentMethodIssuedThrough;
|
|
149
|
-
/**
|
|
150
|
-
* 転送元(PaymentCard決済)
|
|
151
|
-
*/
|
|
152
|
-
fromLocation?: IFromLocation;
|
|
153
|
-
/**
|
|
154
|
-
* 転送先(PaymentCard決済)
|
|
155
|
-
*/
|
|
156
|
-
toLocation?: IToLocation;
|
|
157
|
-
/**
|
|
158
|
-
* CreditCard決済の場合
|
|
159
|
-
*/
|
|
160
|
-
entryTranArgs?: PayTransactionFactory.IEntryTranArgs;
|
|
161
|
-
/**
|
|
162
|
-
* CreditCard決済の場合
|
|
163
|
-
*/
|
|
164
|
-
execTranResult?: PayTransactionFactory.IExecTranResult;
|
|
165
|
-
/**
|
|
166
|
-
* 承認時のムビチケ認証レスポンス(MovieTicket決済)
|
|
167
|
-
*/
|
|
168
|
-
purchaseNumberAuthResult?: IPurchaseNumberAuthResult;
|
|
169
136
|
}
|
|
170
137
|
export interface IPurpose {
|
|
171
138
|
typeOf: TransactionType;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as surfrock from '@surfrock/sdk';
|
|
2
2
|
import * as ActionFactory from '../../../action';
|
|
3
3
|
import { OrganizationType } from '../../../organizationType';
|
|
4
|
-
import { IServiceOutput as IMovieTicketServiceOutput } from '../../../paymentMethod/paymentCard/movieTicket';
|
|
4
|
+
import { IMovieTicket as IMovieTicketPaymentCard, IServiceOutput as IMovieTicketServiceOutput } from '../../../paymentMethod/paymentCard/movieTicket';
|
|
5
5
|
import * as CheckActionFactory from '../../check';
|
|
6
6
|
import * as PayActionFactory from '../../trade/pay';
|
|
7
7
|
export declare type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
8
8
|
export declare type IPurchaseNumberAuthIn = surfrock.service.auth.factory.IPurchaseNumberAuthIn;
|
|
9
9
|
export declare type IPurchaseNumberAuthResult = surfrock.service.auth.factory.IPurchaseNumberAuthResult;
|
|
10
|
-
export declare type IMovieTicket = Omit<
|
|
10
|
+
export declare type IMovieTicket = Omit<IMovieTicketPaymentCard, 'project' | 'serviceOutput'> & {
|
|
11
11
|
serviceOutput: Pick<IMovieTicketServiceOutput, 'reservationFor'>;
|
|
12
12
|
};
|
|
13
13
|
export interface IPaymentService extends Pick<PayActionFactory.IPaymentService, 'id' | 'typeOf' | 'paymentMethod'> {
|
|
@@ -75,7 +75,7 @@ export interface IPaymentMethod {
|
|
|
75
75
|
*/
|
|
76
76
|
additionalProperty: IPropertyValue<string>[];
|
|
77
77
|
}
|
|
78
|
-
export declare type IMovieTicket =
|
|
78
|
+
export declare type IMovieTicket = Pick<IMovieTicketPaymentCard, 'accessCode' | 'category' | 'identifier' | 'serviceOutput' | 'serviceType' | 'typeOf'>;
|
|
79
79
|
export interface IPaymentService {
|
|
80
80
|
typeOf: PaymentServiceType;
|
|
81
81
|
/**
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as GMO from '@motionpicture/gmo-service';
|
|
2
|
-
import { IAction as IPayAction, IAttributes as IPayActionAttributes, ILocation, IOrderAsPayPurpose, IPayPurpose, IPendingTransaction, IRecipient as IPayRecipient, ITotalPaymentDue } from '../action/trade/pay';
|
|
2
|
+
import { IAction as IPayAction, IAttributes as IPayActionAttributes, ILocation, IMovieTicket, IOrderAsPayPurpose, IPayPurpose, IPendingTransaction, IRecipient as IPayRecipient, ITotalPaymentDue } from '../action/trade/pay';
|
|
3
3
|
import * as AssetTransactionFactory from '../assetTransaction';
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { IUnauthorizedCardOfMember, IUncheckedCardRaw, IUncheckedCardTokenized } from '../paymentMethod/paymentCard/creditCard';
|
|
7
|
-
import { IMovieTicket } from '../paymentMethod/paymentCard/movieTicket';
|
|
8
7
|
import { IOnPaymentStatusChanged } from '../project';
|
|
9
8
|
import { IPropertyValue } from '../propertyValue';
|
|
10
9
|
import { PaymentServiceType } from '../service/paymentService';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
2
2
|
import { IPaymentMethod } from '../paymentMethod';
|
|
3
|
-
export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | '
|
|
3
|
+
export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'validThrough'>;
|
|
4
4
|
/**
|
|
5
5
|
* payment card interface
|
|
6
6
|
*/
|