@fiado/type-kit 1.1.21 → 1.1.22
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/.idea/sonarlint/issuestore/5/9/5993b7cd868ca0f67fff0860484d2de906467a5c +0 -0
- package/.idea/sonarlint/issuestore/d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80 +0 -0
- package/.idea/sonarlint/issuestore/index.pb +5 -1
- package/.idea/sonarlint/securityhotspotstore/5/9/5993b7cd868ca0f67fff0860484d2de906467a5c +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80 +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +5 -1
- package/bin/group/dtos/GroupDirectoryRelationsResponse.d.ts +1 -0
- package/bin/productCatalog/dtos/CreateProductCatalogRequest.d.ts +4 -0
- package/bin/productCatalog/dtos/GetProductCatalogResponse.d.ts +4 -0
- package/bin/productCatalog/dtos/GetProductCatalogResponse.js +13 -0
- package/bin/productCatalog/enums/ProductTypeEnum.d.ts +9 -0
- package/bin/productCatalog/enums/ProductTypeEnum.js +13 -0
- package/bin/productCatalog/index.d.ts +1 -1
- package/bin/productCatalog/index.js +1 -1
- package/package.json +1 -1
- package/src/group/dtos/GroupDirectoryRelationsResponse.ts +1 -0
- package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +4 -0
- package/src/productCatalog/dtos/GetProductCatalogResponse.ts +10 -0
- package/src/productCatalog/enums/ProductTypeEnum.ts +9 -0
- package/src/productCatalog/index.ts +2 -2
- package/src/productCatalog/dtos/GetProductCatalogRequest.ts +0 -6
|
File without changes
|
|
File without changes
|
|
@@ -139,4 +139,8 @@ K
|
|
|
139
139
|
c
|
|
140
140
|
3src/productCatalog/dtos/GetProductCatalogRequest.ts,1/6/16863f8a5d6b34f47d8d39b36f6b7608e1db454d
|
|
141
141
|
f
|
|
142
|
-
6src/productCatalog/dtos/CreateProductCatalogRequest.ts,2/9/2983524a17882775f03310e18fd052a958d44d3b
|
|
142
|
+
6src/productCatalog/dtos/CreateProductCatalogRequest.ts,2/9/2983524a17882775f03310e18fd052a958d44d3b
|
|
143
|
+
a
|
|
144
|
+
1src/group/dtos/GroupDirectoryRelationsResponse.ts,d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80
|
|
145
|
+
[
|
|
146
|
+
+src/productCatalog/enums/ProductTypeEnum.ts,5/9/5993b7cd868ca0f67fff0860484d2de906467a5c
|
|
File without changes
|
|
File without changes
|
|
@@ -139,4 +139,8 @@ K
|
|
|
139
139
|
c
|
|
140
140
|
3src/productCatalog/dtos/GetProductCatalogRequest.ts,1/6/16863f8a5d6b34f47d8d39b36f6b7608e1db454d
|
|
141
141
|
f
|
|
142
|
-
6src/productCatalog/dtos/CreateProductCatalogRequest.ts,2/9/2983524a17882775f03310e18fd052a958d44d3b
|
|
142
|
+
6src/productCatalog/dtos/CreateProductCatalogRequest.ts,2/9/2983524a17882775f03310e18fd052a958d44d3b
|
|
143
|
+
a
|
|
144
|
+
1src/group/dtos/GroupDirectoryRelationsResponse.ts,d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80
|
|
145
|
+
[
|
|
146
|
+
+src/productCatalog/enums/ProductTypeEnum.ts,5/9/5993b7cd868ca0f67fff0860484d2de906467a5c
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { CountryId } from "../../country";
|
|
2
2
|
import { ProductTaxFeeTypeEnum } from "../enums/ProductTaxFeeTypeEnum";
|
|
3
|
+
import { ProductTypeEnum } from "../enums/ProductTypeEnum";
|
|
3
4
|
export declare class CreateProductCatalogRequest {
|
|
4
5
|
id: string;
|
|
6
|
+
description: string;
|
|
7
|
+
displayName: string;
|
|
8
|
+
type: ProductTypeEnum;
|
|
5
9
|
currencyId: CountryId;
|
|
6
10
|
feeType: ProductTaxFeeTypeEnum;
|
|
7
11
|
fee: number;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { CountryId } from "../../country";
|
|
2
2
|
import { ProductTaxFeeTypeEnum } from "../enums/ProductTaxFeeTypeEnum";
|
|
3
|
+
import { ProductTypeEnum } from "../enums/ProductTypeEnum";
|
|
3
4
|
export default class GetProductCatalogResponse {
|
|
4
5
|
id: string;
|
|
6
|
+
description: string;
|
|
7
|
+
displayName: string;
|
|
8
|
+
type: ProductTypeEnum;
|
|
5
9
|
currencyId: CountryId;
|
|
6
10
|
feeType: ProductTaxFeeTypeEnum;
|
|
7
11
|
fee: number;
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
const country_1 = require("../../country");
|
|
13
13
|
const ProductTaxFeeTypeEnum_1 = require("../enums/ProductTaxFeeTypeEnum");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
+
const ProductTypeEnum_1 = require("../enums/ProductTypeEnum");
|
|
15
16
|
class GetProductCatalogResponse {
|
|
16
17
|
}
|
|
17
18
|
exports.default = GetProductCatalogResponse;
|
|
@@ -19,6 +20,18 @@ __decorate([
|
|
|
19
20
|
(0, class_validator_1.IsString)(),
|
|
20
21
|
__metadata("design:type", String)
|
|
21
22
|
], GetProductCatalogResponse.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], GetProductCatalogResponse.prototype, "description", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], GetProductCatalogResponse.prototype, "displayName", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsEnum)(ProductTypeEnum_1.ProductTypeEnum),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], GetProductCatalogResponse.prototype, "type", void 0);
|
|
22
35
|
__decorate([
|
|
23
36
|
(0, class_validator_1.IsEnum)(country_1.CountryId),
|
|
24
37
|
__metadata("design:type", String)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProductTypeEnum = void 0;
|
|
4
|
+
var ProductTypeEnum;
|
|
5
|
+
(function (ProductTypeEnum) {
|
|
6
|
+
ProductTypeEnum["INTERNAL"] = "INTERNAL";
|
|
7
|
+
ProductTypeEnum["CREDIT_CARD"] = "TDC";
|
|
8
|
+
ProductTypeEnum["DEBIT_CARD"] = "TDD";
|
|
9
|
+
ProductTypeEnum["ATM"] = "ATM";
|
|
10
|
+
ProductTypeEnum["P2P"] = "P2P";
|
|
11
|
+
ProductTypeEnum["BANK_TRANSFER"] = "TRF";
|
|
12
|
+
ProductTypeEnum["SERVICE_PAYMENT"] = "SRV";
|
|
13
|
+
})(ProductTypeEnum || (exports.ProductTypeEnum = ProductTypeEnum = {}));
|
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./dtos/GetProductCatalogRequest"), exports);
|
|
18
17
|
__exportStar(require("./dtos/GetProductCatalogResponse"), exports);
|
|
19
18
|
__exportStar(require("./dtos/CreateProductCatalogRequest"), exports);
|
|
20
19
|
__exportStar(require("./enums/ProductTaxFeeTypeEnum"), exports);
|
|
20
|
+
__exportStar(require("./enums/ProductTypeEnum"), exports);
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import {CountryId} from "../../country";
|
|
2
2
|
import {ProductTaxFeeTypeEnum} from "../enums/ProductTaxFeeTypeEnum";
|
|
3
|
+
import {ProductTypeEnum} from "../enums/ProductTypeEnum";
|
|
3
4
|
|
|
4
5
|
export class CreateProductCatalogRequest {
|
|
5
6
|
id: string;
|
|
7
|
+
description: string;
|
|
8
|
+
displayName: string;
|
|
9
|
+
type: ProductTypeEnum;
|
|
6
10
|
currencyId: CountryId;
|
|
7
11
|
feeType: ProductTaxFeeTypeEnum;
|
|
8
12
|
fee: number;
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import {CountryId} from "../../country";
|
|
2
2
|
import {ProductTaxFeeTypeEnum} from "../enums/ProductTaxFeeTypeEnum";
|
|
3
3
|
import {IsEnum, IsNumber, IsString} from "class-validator";
|
|
4
|
+
import {ProductTypeEnum} from "../enums/ProductTypeEnum";
|
|
4
5
|
|
|
5
6
|
export default class GetProductCatalogResponse {
|
|
6
7
|
@IsString()
|
|
7
8
|
id: string;
|
|
8
9
|
|
|
10
|
+
@IsString()
|
|
11
|
+
description: string;
|
|
12
|
+
|
|
13
|
+
@IsString()
|
|
14
|
+
displayName: string;
|
|
15
|
+
|
|
16
|
+
@IsEnum(ProductTypeEnum)
|
|
17
|
+
type: ProductTypeEnum;
|
|
18
|
+
|
|
9
19
|
@IsEnum(CountryId)
|
|
10
20
|
currencyId: CountryId;
|
|
11
21
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './dtos/GetProductCatalogRequest';
|
|
2
1
|
export * from './dtos/GetProductCatalogResponse';
|
|
3
2
|
export * from './dtos/CreateProductCatalogRequest';
|
|
4
3
|
|
|
5
|
-
export * from './enums/ProductTaxFeeTypeEnum';
|
|
4
|
+
export * from './enums/ProductTaxFeeTypeEnum';
|
|
5
|
+
export * from './enums/ProductTypeEnum';
|