@chevre/factory 4.190.0 → 4.191.0-alpha.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/CHANGELOG.md +1488 -0
- package/lib/factory/action/interact/confirm/moneyTransfer.d.ts +3 -17
- package/lib/factory/action/transfer/moneyTransfer.d.ts +2 -13
- package/lib/factory/assetTransaction/moneyTransfer.d.ts +52 -0
- package/lib/factory/transaction/moneyTransfer.d.ts +7 -16
- package/package.json +1 -1
|
@@ -4,7 +4,6 @@ import ActionType from '../../../actionType';
|
|
|
4
4
|
import * as MoneyTransferTransactionFactory from '../../../assetTransaction/moneyTransfer';
|
|
5
5
|
import { IMonetaryAmount } from '../../../monetaryAmount';
|
|
6
6
|
import * as OrderFactory from '../../../order';
|
|
7
|
-
import { PermitType } from '../../../permit';
|
|
8
7
|
import { IPropertyValue } from '../../../propertyValue';
|
|
9
8
|
import TransactionType from '../../../transactionType';
|
|
10
9
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
@@ -44,21 +43,8 @@ export interface IPaymentMethodLocation {
|
|
|
44
43
|
*/
|
|
45
44
|
additionalProperty: IPropertyValue<string>[];
|
|
46
45
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*/
|
|
50
|
-
export interface IPaymentCard {
|
|
51
|
-
typeOf: PermitType;
|
|
52
|
-
identifier: string;
|
|
53
|
-
accessCode?: string;
|
|
54
|
-
hasNoPermit?: boolean;
|
|
55
|
-
issuedThrough: {
|
|
56
|
-
/**
|
|
57
|
-
* カード発行サービスID
|
|
58
|
-
*/
|
|
59
|
-
id: string;
|
|
60
|
-
};
|
|
61
|
-
}
|
|
46
|
+
export import IPaymentCard = MoneyTransferTransactionFactory.IPaymentCard;
|
|
47
|
+
export import IFromLocationBeforeStart = MoneyTransferTransactionFactory.IFromLocationBeforeStart;
|
|
62
48
|
/**
|
|
63
49
|
* 転送元あるいは転送先の場所インターフェース
|
|
64
50
|
*/
|
|
@@ -83,7 +69,7 @@ export interface IAttributes extends ActionFactory.IAttributes<ActionType.Confir
|
|
|
83
69
|
/**
|
|
84
70
|
* 転送元
|
|
85
71
|
*/
|
|
86
|
-
fromLocation: ILocation;
|
|
72
|
+
fromLocation: ILocation | IFromLocationBeforeStart;
|
|
87
73
|
/**
|
|
88
74
|
* 転送先
|
|
89
75
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as AccountFactory from '../../account';
|
|
2
2
|
import * as ActionFactory from '../../action';
|
|
3
3
|
import ActionType from '../../actionType';
|
|
4
|
+
import * as MoneyTransferTransactionFactory from '../../assetTransaction/moneyTransfer';
|
|
4
5
|
import AssetTransactionType from '../../assetTransactionType';
|
|
5
6
|
import { IMonetaryAmount } from '../../monetaryAmount';
|
|
6
|
-
import { PermitType } from '../../permit';
|
|
7
7
|
/**
|
|
8
8
|
* 進行中取引インターフェース
|
|
9
9
|
*/
|
|
@@ -22,18 +22,7 @@ export import IAnonymousLocation = AccountFactory.action.moneyTransfer.IAnonymou
|
|
|
22
22
|
/**
|
|
23
23
|
* ペイメントカードインターフェース
|
|
24
24
|
*/
|
|
25
|
-
export
|
|
26
|
-
typeOf: PermitType;
|
|
27
|
-
identifier: string;
|
|
28
|
-
accessCode?: string;
|
|
29
|
-
hasNoPermit?: boolean;
|
|
30
|
-
issuedThrough: {
|
|
31
|
-
/**
|
|
32
|
-
* カード発行サービスID
|
|
33
|
-
*/
|
|
34
|
-
id: string;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
25
|
+
export import IPaymentCard = MoneyTransferTransactionFactory.IPaymentCard;
|
|
37
26
|
/**
|
|
38
27
|
* 転送元あるいは転送先の場所インターフェース
|
|
39
28
|
*/
|
|
@@ -3,10 +3,40 @@ import * as TransactionFactory from '../assetTransaction';
|
|
|
3
3
|
import AssetTransactionType from '../assetTransactionType';
|
|
4
4
|
import { IExtendId } from '../autoGenerated';
|
|
5
5
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
6
|
+
import { OrderType } from '../order';
|
|
7
|
+
import { PermitType } from '../permit';
|
|
6
8
|
export declare type IAgent = any;
|
|
7
9
|
export declare type IRecipient = IMoneyTransferRecipient;
|
|
8
10
|
export declare type IFromLocation = ILocation;
|
|
9
11
|
export declare type IToLocation = ILocation;
|
|
12
|
+
/**
|
|
13
|
+
* ペイメントカードインターフェース
|
|
14
|
+
*/
|
|
15
|
+
export interface IPaymentCard {
|
|
16
|
+
typeOf: PermitType;
|
|
17
|
+
identifier: string;
|
|
18
|
+
accessCode?: string;
|
|
19
|
+
hasNoPermit?: boolean;
|
|
20
|
+
issuedThrough: {
|
|
21
|
+
/**
|
|
22
|
+
* カード発行サービスID
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* トークン化されたペイメントカードンターフェース
|
|
29
|
+
*/
|
|
30
|
+
export declare type ITokenizedPaymentCard = string;
|
|
31
|
+
/**
|
|
32
|
+
* 転送元としての注文インターフェース
|
|
33
|
+
*/
|
|
34
|
+
export interface IOrderAsFromLocation {
|
|
35
|
+
typeOf: OrderType;
|
|
36
|
+
confirmationNumber: string;
|
|
37
|
+
orderNumber: string;
|
|
38
|
+
}
|
|
39
|
+
export declare type IFromLocationBeforeStart = IOrderAsFromLocation | IPaymentCard | ITokenizedPaymentCard;
|
|
10
40
|
/**
|
|
11
41
|
* 取引対象物インターフェース
|
|
12
42
|
*/
|
|
@@ -30,9 +60,31 @@ export interface IObject {
|
|
|
30
60
|
pendingTransaction?: IPendingTransaction;
|
|
31
61
|
}
|
|
32
62
|
export declare type IObjectWithoutDetail = IObject;
|
|
63
|
+
export interface IObjectBeforeStart {
|
|
64
|
+
/**
|
|
65
|
+
* 金額
|
|
66
|
+
*/
|
|
67
|
+
amount: IMonetaryAmount;
|
|
68
|
+
/**
|
|
69
|
+
* 転送元
|
|
70
|
+
*/
|
|
71
|
+
fromLocation: IFromLocation | IFromLocationBeforeStart;
|
|
72
|
+
/**
|
|
73
|
+
* 転送先
|
|
74
|
+
*/
|
|
75
|
+
toLocation: IToLocation;
|
|
76
|
+
/**
|
|
77
|
+
* 取引説明
|
|
78
|
+
*/
|
|
79
|
+
description?: string;
|
|
80
|
+
pendingTransaction?: IPendingTransaction;
|
|
81
|
+
}
|
|
33
82
|
export interface IStartParamsWithoutDetail extends TransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObjectWithoutDetail> {
|
|
34
83
|
recipient: IRecipient;
|
|
35
84
|
}
|
|
85
|
+
export interface IStartParamsBeforeStart extends TransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObjectBeforeStart> {
|
|
86
|
+
recipient: IRecipient;
|
|
87
|
+
}
|
|
36
88
|
export interface IStartParams extends TransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObject> {
|
|
37
89
|
recipient: IRecipient;
|
|
38
90
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as waiter from '@waiter/factory';
|
|
2
2
|
import { IAction as IAuthorizeAction, IAttributes as IAuthorizeActionAttributes } from '../action/authorize';
|
|
3
|
-
import { IAttributes as IMoneyTransferActionAttributes
|
|
3
|
+
import { IAttributes as IMoneyTransferActionAttributes } from '../action/interact/confirm/moneyTransfer';
|
|
4
|
+
import * as MoneyTransferAssetTransactionFactory from '../assetTransaction/moneyTransfer';
|
|
4
5
|
import AssetTransactionType from '../assetTransactionType';
|
|
5
6
|
import { IExtendId } from '../autoGenerated';
|
|
6
7
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
7
|
-
import * as OrderFactory from '../order';
|
|
8
8
|
import { IPerson } from '../person';
|
|
9
9
|
import { IProject } from '../project';
|
|
10
10
|
import * as TransactionFactory from '../transaction';
|
|
@@ -12,19 +12,10 @@ import TransactionType from '../transactionType';
|
|
|
12
12
|
export declare type IAgent = TransactionFactory.IAgent;
|
|
13
13
|
export declare type IRecipient = IPerson | TransactionFactory.ISeller;
|
|
14
14
|
export import ISeller = TransactionFactory.ISeller;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
/**
|
|
20
|
-
* 転送元としての注文インターフェース
|
|
21
|
-
*/
|
|
22
|
-
export interface IOrderAsFromLocation {
|
|
23
|
-
typeOf: OrderFactory.OrderType;
|
|
24
|
-
confirmationNumber: string;
|
|
25
|
-
orderNumber: string;
|
|
26
|
-
}
|
|
27
|
-
export declare type IFromLocationBeforeStart = IOrderAsFromLocation | IPaymentCard | ITokenizedPaymentCard;
|
|
15
|
+
export import IPaymentCard = MoneyTransferAssetTransactionFactory.IPaymentCard;
|
|
16
|
+
export import ITokenizedPaymentCard = MoneyTransferAssetTransactionFactory.ITokenizedPaymentCard;
|
|
17
|
+
export import IOrderAsFromLocation = MoneyTransferAssetTransactionFactory.IOrderAsFromLocation;
|
|
18
|
+
export import IFromLocationBeforeStart = MoneyTransferAssetTransactionFactory.IFromLocationBeforeStart;
|
|
28
19
|
export declare type IFromLocation = IPaymentCard;
|
|
29
20
|
export declare type IToLocation = IPaymentCard;
|
|
30
21
|
export interface IObjectPendingTransaction {
|
|
@@ -103,7 +94,7 @@ export interface IObject {
|
|
|
103
94
|
/**
|
|
104
95
|
* 転送元
|
|
105
96
|
*/
|
|
106
|
-
fromLocation:
|
|
97
|
+
fromLocation: IFromLocationBeforeStart;
|
|
107
98
|
/**
|
|
108
99
|
* 転送先
|
|
109
100
|
*/
|