@fiado/type-kit 1.2.41 → 1.2.43
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/bin/account/dtos/GetAccountBalanceResponse.d.ts +1 -0
- package/bin/account/dtos/GetAccountBalanceResponse.js +5 -0
- package/bin/transaction/index.d.ts +7 -1
- package/bin/transaction/index.js +7 -1
- package/package.json +1 -1
- package/src/account/dtos/GetAccountBalanceResponse.ts +5 -1
- package/src/transaction/index.ts +7 -1
|
@@ -33,6 +33,11 @@ __decorate([
|
|
|
33
33
|
}),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], GetAccountBalanceResponse.prototype, "directoryId", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_validator_1.IsNumber)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], GetAccountBalanceResponse.prototype, "accountLevel", void 0);
|
|
36
41
|
__decorate([
|
|
37
42
|
(0, class_validator_1.IsString)(),
|
|
38
43
|
__metadata("design:type", String)
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export * from './dtos/TransactionCreateRequest';
|
|
2
2
|
export * from './dtos/TransactionCreateResponse';
|
|
3
|
-
export * from './dtos/TransactionGetResponse';
|
|
4
3
|
export * from './dtos/TransactionGetDetailResponse';
|
|
4
|
+
export * from './dtos/TransactionGetResponse';
|
|
5
|
+
export * from './dtos/Credit';
|
|
6
|
+
export * from './dtos/Debit';
|
|
7
|
+
export * from './dtos/Notional';
|
|
8
|
+
export * from './dtos/Product';
|
|
9
|
+
export * from './dtos/ProductDetail';
|
|
10
|
+
export * from './dtos/Total';
|
|
5
11
|
export * from './enums/OperationEnum';
|
|
6
12
|
export * from './enums/TransactionSourceEnum';
|
|
7
13
|
export * from './enums/TransactionStatusEnum';
|
package/bin/transaction/index.js
CHANGED
|
@@ -17,8 +17,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
//dtos
|
|
18
18
|
__exportStar(require("./dtos/TransactionCreateRequest"), exports);
|
|
19
19
|
__exportStar(require("./dtos/TransactionCreateResponse"), exports);
|
|
20
|
-
__exportStar(require("./dtos/TransactionGetResponse"), exports);
|
|
21
20
|
__exportStar(require("./dtos/TransactionGetDetailResponse"), exports);
|
|
21
|
+
__exportStar(require("./dtos/TransactionGetResponse"), exports);
|
|
22
|
+
__exportStar(require("./dtos/Credit"), exports);
|
|
23
|
+
__exportStar(require("./dtos/Debit"), exports);
|
|
24
|
+
__exportStar(require("./dtos/Notional"), exports);
|
|
25
|
+
__exportStar(require("./dtos/Product"), exports);
|
|
26
|
+
__exportStar(require("./dtos/ProductDetail"), exports);
|
|
27
|
+
__exportStar(require("./dtos/Total"), exports);
|
|
22
28
|
//enums
|
|
23
29
|
__exportStar(require("./enums/OperationEnum"), exports);
|
|
24
30
|
__exportStar(require("./enums/TransactionSourceEnum"), exports);
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {IsNumber, IsString, Matches, ValidateNested} from "class-validator";
|
|
1
|
+
import {IsNumber, IsOptional, IsString, Matches, ValidateNested} from "class-validator";
|
|
2
2
|
import {regexUuidV4} from "../../helpers/constans/regex";
|
|
3
3
|
import AccountInfo from "./AccountInfo";
|
|
4
4
|
|
|
@@ -17,6 +17,10 @@ export class GetAccountBalanceResponse {
|
|
|
17
17
|
})
|
|
18
18
|
directoryId: string;
|
|
19
19
|
|
|
20
|
+
@IsOptional()
|
|
21
|
+
@IsNumber()
|
|
22
|
+
accountLevel?: number;
|
|
23
|
+
|
|
20
24
|
@IsString()
|
|
21
25
|
currencyId: string;
|
|
22
26
|
|
package/src/transaction/index.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
//dtos
|
|
2
2
|
export * from './dtos/TransactionCreateRequest';
|
|
3
3
|
export * from './dtos/TransactionCreateResponse';
|
|
4
|
-
export * from './dtos/TransactionGetResponse';
|
|
5
4
|
export * from './dtos/TransactionGetDetailResponse';
|
|
5
|
+
export * from './dtos/TransactionGetResponse';
|
|
6
|
+
export * from './dtos/Credit';
|
|
7
|
+
export * from './dtos/Debit';
|
|
8
|
+
export * from './dtos/Notional';
|
|
9
|
+
export * from './dtos/Product';
|
|
10
|
+
export * from './dtos/ProductDetail';
|
|
11
|
+
export * from './dtos/Total';
|
|
6
12
|
|
|
7
13
|
|
|
8
14
|
//enums
|