@fiado/type-kit 1.4.38 → 1.4.40
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/productCatalog/enums/ProductSubtypeEnum.d.ts +2 -2
- package/bin/productCatalog/enums/ProductSubtypeEnum.js +36 -36
- package/bin/productCatalog/index.d.ts +1 -0
- package/bin/productCatalog/index.js +1 -0
- package/package.json +1 -1
- package/src/productCatalog/enums/ProductSubtypeEnum.ts +2 -2
- package/src/productCatalog/index.ts +2 -1
- package/src/transaction/dtos/Product.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum ProductSubtypeEnum {
|
|
2
2
|
POMELO_PURCHASE = "PURCHASE",
|
|
3
3
|
POMELO_WITHDRAWAL = "WITHDRAWAL",
|
|
4
4
|
POMELO_EXTRACASH = "EXTRACASH",
|
|
@@ -6,7 +6,7 @@ export declare enum ProductTypeEnum {
|
|
|
6
6
|
POMELO_PAYMENT = "PAYMENT",
|
|
7
7
|
POMELO_REVERSAL_PURCHASE = "REVERSAL_PURCHASE",
|
|
8
8
|
POMELO_REVERSAL_WITHDRAWAL = "REVERSAL_WITHDRAWAL",
|
|
9
|
-
|
|
9
|
+
POMELO_REVERSAL_EXTRACASH = "REVERASL_EXTRACASH",
|
|
10
10
|
POMELO_BALANCE_INQUIRY = "BALANCE_INQUIRY",
|
|
11
11
|
POMELO_REVERSAL_REFUND = "REVERSAL_REFUND",
|
|
12
12
|
POMELO_REVERSAL_PAYMENT = "REVERSAL_PAYMENT",
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
3
|
+
exports.ProductSubtypeEnum = void 0;
|
|
4
|
+
var ProductSubtypeEnum;
|
|
5
|
+
(function (ProductSubtypeEnum) {
|
|
6
6
|
//POMELO
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
ProductSubtypeEnum["POMELO_PURCHASE"] = "PURCHASE";
|
|
8
|
+
ProductSubtypeEnum["POMELO_WITHDRAWAL"] = "WITHDRAWAL";
|
|
9
|
+
ProductSubtypeEnum["POMELO_EXTRACASH"] = "EXTRACASH";
|
|
10
|
+
ProductSubtypeEnum["POMELO_REFUND"] = "REFUND";
|
|
11
|
+
ProductSubtypeEnum["POMELO_PAYMENT"] = "PAYMENT";
|
|
12
|
+
ProductSubtypeEnum["POMELO_REVERSAL_PURCHASE"] = "REVERSAL_PURCHASE";
|
|
13
|
+
ProductSubtypeEnum["POMELO_REVERSAL_WITHDRAWAL"] = "REVERSAL_WITHDRAWAL";
|
|
14
|
+
ProductSubtypeEnum["POMELO_REVERSAL_EXTRACASH"] = "REVERASL_EXTRACASH";
|
|
15
|
+
ProductSubtypeEnum["POMELO_BALANCE_INQUIRY"] = "BALANCE_INQUIRY";
|
|
16
|
+
ProductSubtypeEnum["POMELO_REVERSAL_REFUND"] = "REVERSAL_REFUND";
|
|
17
|
+
ProductSubtypeEnum["POMELO_REVERSAL_PAYMENT"] = "REVERSAL_PAYMENT";
|
|
18
|
+
ProductSubtypeEnum["POMELO_REVERSAL_BALANCE_INQUIRY"] = "REVERSAL_BALANCE_INQUIRY";
|
|
19
19
|
//STP_SA
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
ProductSubtypeEnum["STPSA_SA_ACH_IN"] = "SA_ACH_IN";
|
|
21
|
+
ProductSubtypeEnum["STPSA_SA_ACH_OUT"] = "SA_ACH_OUT";
|
|
22
|
+
ProductSubtypeEnum["STPSA_SA_ACH_OUT_IFPE"] = "SA_ACH_OUT_IFPE";
|
|
23
|
+
ProductSubtypeEnum["STPSA_SA_DEVOLUCION"] = "SA_DEVOLUCION";
|
|
24
24
|
//STP_IFPE
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
ProductSubtypeEnum["STPIFPE_ACH_IN"] = "ACH_IN";
|
|
26
|
+
ProductSubtypeEnum["STPIFPE_ACH_OUT"] = "ACH_OUT";
|
|
27
|
+
ProductSubtypeEnum["STPIFPE_DEVOLUCION"] = "DEVOLUCION";
|
|
28
|
+
ProductSubtypeEnum["STPIFPE_DIMO"] = "DIMO";
|
|
29
29
|
//STP_SERV_SA
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
ProductSubtypeEnum["STPSERVSA_RECARGA"] = "RECARGA";
|
|
31
|
+
ProductSubtypeEnum["STPSERVSA_GOBIERNO"] = "GOBIERNO";
|
|
32
|
+
ProductSubtypeEnum["STPSERVSA_TELEFONIA"] = "TELEFONIA";
|
|
33
|
+
ProductSubtypeEnum["STPSERVSA_TRANSPORTE_Y_ENTREGAS"] = "TRANSPORTE_Y_ENTREGAS";
|
|
34
|
+
ProductSubtypeEnum["STPSERVSA_AGUA"] = "AGUA";
|
|
35
|
+
ProductSubtypeEnum["STPSERVSA_TV"] = "TV";
|
|
36
|
+
ProductSubtypeEnum["STPSERVSA_GAS_Y_LUZ"] = "GAS_Y_LUZ";
|
|
37
37
|
//P2P
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
ProductSubtypeEnum["P2P_SELF"] = "SELF";
|
|
39
|
+
ProductSubtypeEnum["P2P_OTHER"] = "OTHER";
|
|
40
40
|
//BBVA
|
|
41
|
-
|
|
41
|
+
ProductSubtypeEnum["BBVA_RST"] = "RST";
|
|
42
42
|
//PCONFIADO
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
})(
|
|
43
|
+
ProductSubtypeEnum["PCONFIADO_PROV"] = "PROV";
|
|
44
|
+
ProductSubtypeEnum["PCONFIADO_REV_PROV"] = "REV_PROV";
|
|
45
|
+
})(ProductSubtypeEnum || (exports.ProductSubtypeEnum = ProductSubtypeEnum = {}));
|
|
@@ -18,3 +18,4 @@ __exportStar(require("./dtos/GetProductCatalogResponse"), exports);
|
|
|
18
18
|
__exportStar(require("./dtos/CreateProductCatalogRequest"), exports);
|
|
19
19
|
__exportStar(require("./enums/ProductTaxFeeTypeEnum"), exports);
|
|
20
20
|
__exportStar(require("./enums/ProductTypeEnum"), exports);
|
|
21
|
+
__exportStar(require("./enums/ProductSubtypeEnum"), exports);
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export enum
|
|
1
|
+
export enum ProductSubtypeEnum {
|
|
2
2
|
|
|
3
3
|
//POMELO
|
|
4
4
|
POMELO_PURCHASE = "PURCHASE",
|
|
@@ -8,7 +8,7 @@ export enum ProductTypeEnum {
|
|
|
8
8
|
POMELO_PAYMENT = "PAYMENT",
|
|
9
9
|
POMELO_REVERSAL_PURCHASE = "REVERSAL_PURCHASE",
|
|
10
10
|
POMELO_REVERSAL_WITHDRAWAL = "REVERSAL_WITHDRAWAL",
|
|
11
|
-
|
|
11
|
+
POMELO_REVERSAL_EXTRACASH = "REVERASL_EXTRACASH",
|
|
12
12
|
POMELO_BALANCE_INQUIRY = "BALANCE_INQUIRY",
|
|
13
13
|
POMELO_REVERSAL_REFUND = "REVERSAL_REFUND",
|
|
14
14
|
POMELO_REVERSAL_PAYMENT = "REVERSAL_PAYMENT",
|
|
@@ -2,4 +2,5 @@ export * from './dtos/GetProductCatalogResponse';
|
|
|
2
2
|
export * from './dtos/CreateProductCatalogRequest';
|
|
3
3
|
|
|
4
4
|
export * from './enums/ProductTaxFeeTypeEnum';
|
|
5
|
-
export * from './enums/ProductTypeEnum';
|
|
5
|
+
export * from './enums/ProductTypeEnum';
|
|
6
|
+
export * from './enums/ProductSubtypeEnum';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {IsNotEmpty, IsOptional, IsString, ValidateNested} from "class-validator";
|
|
2
2
|
import {ProductTypeEnum} from "../../productCatalog";
|
|
3
3
|
import {ProductDetail} from "./ProductDetail";
|
|
4
4
|
|