@chevre/factory 4.215.0 → 4.216.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,16 +1,12 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import * as OrderFactory from '../../../order';
|
|
3
|
-
import { OrganizationType } from '../../../organizationType';
|
|
4
3
|
import { IAttributes as IRefundActionAttributes } from '../../transfer/return/paymentMethod';
|
|
5
4
|
import { IAttributes as ICancelActionAttributes } from '../../transfer/return/reservation';
|
|
6
5
|
import * as ReturnActionFactory from '../return';
|
|
7
6
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
|
|
8
7
|
import * as ReturnMoneyTransferActionFactory from './moneyTransfer';
|
|
9
8
|
import * as ReturnPointAwardActionFactory from './pointAward';
|
|
10
|
-
export
|
|
11
|
-
id: string;
|
|
12
|
-
typeOf: OrganizationType.Project;
|
|
13
|
-
}
|
|
9
|
+
export declare type IAgent = ActionFactory.IParticipant;
|
|
14
10
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
15
11
|
/**
|
|
16
12
|
* 返却対象は注文
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IAttributes as IMoneyTransferActionAttributes, ILocation, IPendingTransaction, IRecipient as IMoneyTransferRecipient } from '../action/transfer/moneyTransfer';
|
|
1
|
+
import { IAgent as IMoneyTransferAgent, IAttributes as IMoneyTransferActionAttributes, ILocation, IPendingTransaction, IRecipient as IMoneyTransferRecipient } from '../action/transfer/moneyTransfer';
|
|
2
2
|
import * as TransactionFactory from '../assetTransaction';
|
|
3
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
4
|
import { IExtendId } from '../autoGenerated';
|
|
5
5
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
6
6
|
import { OrderType } from '../order';
|
|
7
7
|
import { PermitType } from '../permit';
|
|
8
|
-
export declare type IAgent =
|
|
8
|
+
export declare type IAgent = IMoneyTransferAgent;
|
|
9
9
|
export declare type IRecipient = IMoneyTransferRecipient;
|
|
10
10
|
export declare type IFromLocation = ILocation;
|
|
11
11
|
export declare type IToLocation = ILocation;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* ペイメントカード
|
|
14
14
|
*/
|
|
15
15
|
export interface IPaymentCard {
|
|
16
16
|
typeOf: PermitType;
|
|
@@ -29,7 +29,7 @@ export interface IPaymentCard {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare type ITokenizedPaymentCard = string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* 転送元としての注文
|
|
33
33
|
*/
|
|
34
34
|
export interface IOrderAsFromLocation {
|
|
35
35
|
typeOf: OrderType;
|
|
@@ -39,7 +39,7 @@ export interface IOrderAsFromLocation {
|
|
|
39
39
|
export declare type IFromLocationBeforeStart = IOrderAsFromLocation | IPaymentCard | ITokenizedPaymentCard;
|
|
40
40
|
export declare type IToLocationBeforeStart = IOrderAsFromLocation | IPaymentCard;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* 取引対象物
|
|
43
43
|
*/
|
|
44
44
|
export interface IObject {
|
|
45
45
|
/**
|
|
@@ -105,12 +105,12 @@ export interface IPotentialActions {
|
|
|
105
105
|
*/
|
|
106
106
|
moneyTransfer: IMoneyTransferActionAttributes[];
|
|
107
107
|
}
|
|
108
|
-
export declare type ITransaction = IExtendId<IAttributes>;
|
|
109
|
-
/**
|
|
110
|
-
* 転送取引インターフェース
|
|
111
|
-
*/
|
|
112
108
|
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
113
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* 転送取引
|
|
112
|
+
*/
|
|
113
|
+
export declare type ITransaction = IExtendId<IAttributes>;
|
|
114
114
|
export interface ISearchConditions extends TransactionFactory.ISearchConditions<AssetTransactionType.MoneyTransfer> {
|
|
115
115
|
object?: {
|
|
116
116
|
fromLocation?: {
|
|
@@ -4,8 +4,9 @@ import * as TransactionFactory from '../assetTransaction';
|
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { IOnPaymentStatusChanged } from '../project';
|
|
7
|
+
import { ISeller } from '../seller';
|
|
7
8
|
import { PaymentServiceType } from '../service/paymentService';
|
|
8
|
-
export declare type IAgent =
|
|
9
|
+
export declare type IAgent = ISeller;
|
|
9
10
|
export declare type IRecipient = IRefundRecipient;
|
|
10
11
|
export interface IObjectWithoutDetail {
|
|
11
12
|
typeOf: PaymentServiceType;
|
|
@@ -25,7 +26,7 @@ export interface IPotentialActionsParams {
|
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* 確定パラメーター
|
|
29
30
|
*/
|
|
30
31
|
export interface IConfirmParams {
|
|
31
32
|
id?: string;
|
|
@@ -37,7 +38,7 @@ export declare type IResult = any;
|
|
|
37
38
|
export declare type IError = any;
|
|
38
39
|
export declare type IAnyPaymentMethod = AvailablePaymentMethodType;
|
|
39
40
|
/**
|
|
40
|
-
*
|
|
41
|
+
* 取引対象物
|
|
41
42
|
*/
|
|
42
43
|
export interface IObject {
|
|
43
44
|
typeOf: PaymentServiceType;
|
|
@@ -57,7 +58,7 @@ export interface IPotentialActions {
|
|
|
57
58
|
}
|
|
58
59
|
export declare type ITransaction = IExtendId<IAttributes>;
|
|
59
60
|
/**
|
|
60
|
-
*
|
|
61
|
+
* 返金取引
|
|
61
62
|
*/
|
|
62
63
|
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
63
64
|
}
|