@chevre/factory 4.289.0-alpha.5 → 4.289.0-alpha.6
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/account/action/moneyTransfer.d.ts +2 -2
- package/lib/account/transaction/deposit.d.ts +1 -1
- package/lib/account/transaction/transfer.d.ts +2 -2
- package/lib/account/transaction/withdraw.d.ts +1 -1
- package/lib/account.d.ts +0 -15
- package/lib/account.js +11 -12
- package/lib/permit.d.ts +1 -1
- package/package.json +1 -1
|
@@ -22,8 +22,8 @@ export interface IAccount {
|
|
|
22
22
|
typeOf: AccountType.Account;
|
|
23
23
|
/**
|
|
24
24
|
* 通貨
|
|
25
|
+
* 不要なので廃止(2023-02-16~)
|
|
25
26
|
*/
|
|
26
|
-
accountType: string;
|
|
27
27
|
/**
|
|
28
28
|
* 口座番号
|
|
29
29
|
*/
|
|
@@ -55,7 +55,7 @@ export interface IPurpose {
|
|
|
55
55
|
*/
|
|
56
56
|
transactionNumber: string;
|
|
57
57
|
}
|
|
58
|
-
export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | '
|
|
58
|
+
export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'value'>;
|
|
59
59
|
export interface IAttributes extends Pick<ActionFactory.IAttributes<ActionType.MoneyTransfer, never, never>, 'project' | 'description'> {
|
|
60
60
|
agent: IAgent;
|
|
61
61
|
recipient?: IRecipient;
|
|
@@ -18,11 +18,11 @@ export interface IObject extends TransactionFactory.IObject {
|
|
|
18
18
|
/**
|
|
19
19
|
* 転送元
|
|
20
20
|
*/
|
|
21
|
-
fromLocation: IAccount
|
|
21
|
+
fromLocation: Pick<IAccount, 'accountNumber' | 'name' | 'typeOf'>;
|
|
22
22
|
/**
|
|
23
23
|
* 転送先
|
|
24
24
|
*/
|
|
25
|
-
toLocation: IAccount
|
|
25
|
+
toLocation: Pick<IAccount, 'accountNumber' | 'name' | 'typeOf'>;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* 転送取引
|
package/lib/account.d.ts
CHANGED
|
@@ -10,16 +10,6 @@ import * as WithdrawTransactionFactory from './account/transaction/withdraw';
|
|
|
10
10
|
/**
|
|
11
11
|
* 口座ステータスタイプ
|
|
12
12
|
*/
|
|
13
|
-
export declare enum AccountStatusType {
|
|
14
|
-
/**
|
|
15
|
-
* 開設済
|
|
16
|
-
*/
|
|
17
|
-
Opened = "Opened",
|
|
18
|
-
/**
|
|
19
|
-
* 解約済
|
|
20
|
-
*/
|
|
21
|
-
Closed = "Closed"
|
|
22
|
-
}
|
|
23
13
|
export declare namespace action {
|
|
24
14
|
export import moneyTransfer = MoneyTransferActionFactory;
|
|
25
15
|
}
|
|
@@ -92,10 +82,6 @@ export interface IAccount {
|
|
|
92
82
|
* 口座閉鎖日時
|
|
93
83
|
*/
|
|
94
84
|
closeDate?: Date;
|
|
95
|
-
/**
|
|
96
|
-
* 口座ステータス
|
|
97
|
-
*/
|
|
98
|
-
status: AccountStatusType;
|
|
99
85
|
}
|
|
100
86
|
/**
|
|
101
87
|
* ソート条件
|
|
@@ -134,7 +120,6 @@ export interface ISearchConditions {
|
|
|
134
120
|
$lte?: Date;
|
|
135
121
|
};
|
|
136
122
|
project?: IProjectSearchConditions;
|
|
137
|
-
statuses?: AccountStatusType[];
|
|
138
123
|
typeOf?: {
|
|
139
124
|
$eq?: string;
|
|
140
125
|
$in?: string[];
|
package/lib/account.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transactionType = exports.transaction = exports.action =
|
|
3
|
+
exports.transactionType = exports.transaction = exports.action = void 0;
|
|
4
4
|
var transactionType_1 = require("./account/transactionType");
|
|
5
5
|
var MoneyTransferActionFactory = require("./account/action/moneyTransfer");
|
|
6
6
|
var DepositTransactionFactory = require("./account/transaction/deposit");
|
|
@@ -9,17 +9,16 @@ var WithdrawTransactionFactory = require("./account/transaction/withdraw");
|
|
|
9
9
|
/**
|
|
10
10
|
* 口座ステータスタイプ
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
})(AccountStatusType = exports.AccountStatusType || (exports.AccountStatusType = {}));
|
|
12
|
+
// export enum AccountStatusType {
|
|
13
|
+
// /**
|
|
14
|
+
// * 開設済
|
|
15
|
+
// */
|
|
16
|
+
// Opened = 'Opened',
|
|
17
|
+
// /**
|
|
18
|
+
// * 解約済
|
|
19
|
+
// */
|
|
20
|
+
// Closed = 'Closed'
|
|
21
|
+
// }
|
|
23
22
|
var action;
|
|
24
23
|
(function (action) {
|
|
25
24
|
action.moneyTransfer = MoneyTransferActionFactory;
|
package/lib/permit.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare enum PermitType {
|
|
|
9
9
|
Permit = "Permit"
|
|
10
10
|
}
|
|
11
11
|
export declare type IIssuedThrough = Pick<IProduct, 'id' | 'project' | 'serviceType' | 'typeOf'>;
|
|
12
|
-
export declare type IPaymentAccount = Pick<IAccount, 'project' | 'typeOf' | 'accountNumber'
|
|
12
|
+
export declare type IPaymentAccount = Pick<IAccount, 'project' | 'typeOf' | 'accountNumber'>;
|
|
13
13
|
export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
|
|
14
14
|
export declare type IDepositAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'maxValue' | 'minValue'>;
|
|
15
15
|
export declare type IPaymentAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'maxValue' | 'minValue'>;
|