@fiado/type-kit 3.569.0 → 3.570.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/_test_/unit/collection/disbursementType.test.ts +3 -2
- package/_test_/unit/productCatalog/enums/ProductSubtypeEnum.test.ts +9 -0
- package/bin/collection/enums/DisbursementType.d.ts +6 -3
- package/bin/collection/enums/DisbursementType.js +5 -2
- package/bin/productCatalog/enums/ProductSubtypeEnum.d.ts +1 -0
- package/bin/productCatalog/enums/ProductSubtypeEnum.js +2 -0
- package/package.json +1 -1
- package/src/collection/enums/DisbursementType.ts +5 -2
- package/src/productCatalog/enums/ProductSubtypeEnum.ts +2 -0
|
@@ -3,8 +3,8 @@ import { Collection } from '../../../src/index';
|
|
|
3
3
|
import { DisbursementType } from '../../../src/collection/index';
|
|
4
4
|
|
|
5
5
|
describe('DisbursementType', () => {
|
|
6
|
-
it('
|
|
7
|
-
expect(Object.values(DisbursementType)).toEqual(['MEX_BONUS']);
|
|
6
|
+
it('trae los productos de bono y comisión de vendedor', () => {
|
|
7
|
+
expect(Object.values(DisbursementType)).toEqual(['MEX_BONUS', 'MEX_SELLER_COMMISSION']);
|
|
8
8
|
});
|
|
9
9
|
|
|
10
10
|
it('cada clave es igual a su valor', () => {
|
|
@@ -15,5 +15,6 @@ describe('DisbursementType', () => {
|
|
|
15
15
|
|
|
16
16
|
it('sale por el index raíz', () => {
|
|
17
17
|
expect(Collection.DisbursementType.MEX_BONUS).toBe('MEX_BONUS');
|
|
18
|
+
expect(Collection.DisbursementType.MEX_SELLER_COMMISSION).toBe('MEX_SELLER_COMMISSION');
|
|
18
19
|
});
|
|
19
20
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
import { ProductSubtypeEnum } from '../../../../src/productCatalog/enums/ProductSubtypeEnum';
|
|
3
|
+
|
|
4
|
+
describe('ProductSubtypeEnum SureKeep', () => {
|
|
5
|
+
it('trae los subtipos de bono y comisión de vendedor', () => {
|
|
6
|
+
expect(ProductSubtypeEnum.SUREKEEP_BONUS_MX).toBe('BONUS_MX');
|
|
7
|
+
expect(ProductSubtypeEnum.SUREKEEP_SELLER_COMMISSION_MX).toBe('SELLER_COMMISSION_MX');
|
|
8
|
+
});
|
|
9
|
+
});
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Producto con el que el motor de cobro deposita una dispersión.
|
|
3
|
+
* El detalle para la persona va en `concept`.
|
|
4
4
|
*/
|
|
5
5
|
export declare enum DisbursementType {
|
|
6
|
-
|
|
6
|
+
/** Bono. */
|
|
7
|
+
MEX_BONUS = "MEX_BONUS",
|
|
8
|
+
/** Comisión de vendedor. */
|
|
9
|
+
MEX_SELLER_COMMISSION = "MEX_SELLER_COMMISSION"
|
|
7
10
|
}
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DisbursementType = void 0;
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Producto con el que el motor de cobro deposita una dispersión.
|
|
6
|
+
* El detalle para la persona va en `concept`.
|
|
7
7
|
*/
|
|
8
8
|
var DisbursementType;
|
|
9
9
|
(function (DisbursementType) {
|
|
10
|
+
/** Bono. */
|
|
10
11
|
DisbursementType["MEX_BONUS"] = "MEX_BONUS";
|
|
12
|
+
/** Comisión de vendedor. */
|
|
13
|
+
DisbursementType["MEX_SELLER_COMMISSION"] = "MEX_SELLER_COMMISSION";
|
|
11
14
|
})(DisbursementType || (exports.DisbursementType = DisbursementType = {}));
|
|
@@ -59,6 +59,7 @@ export declare enum ProductSubtypeEnum {
|
|
|
59
59
|
*/
|
|
60
60
|
SP_CASH_IN_CASH_IN_OXXO = "CASH_IN_OXXO",
|
|
61
61
|
SUREKEEP_BONUS_MX = "BONUS_MX",
|
|
62
|
+
SUREKEEP_SELLER_COMMISSION_MX = "SELLER_COMMISSION_MX",
|
|
62
63
|
STORE_PHONE = "PHONE",
|
|
63
64
|
REFUND_PCF_DICTAMEN_PROCEDE = "DICTAMEN_PROCEDE",
|
|
64
65
|
REFUND_PCF_AUTO_T2_SIN_2FA = "AUTO_T2_SIN_2FA",
|
|
@@ -75,6 +75,8 @@ var ProductSubtypeEnum;
|
|
|
75
75
|
ProductSubtypeEnum["SP_CASH_IN_CASH_IN_OXXO"] = "CASH_IN_OXXO";
|
|
76
76
|
//SUREKEEP
|
|
77
77
|
ProductSubtypeEnum["SUREKEEP_BONUS_MX"] = "BONUS_MX";
|
|
78
|
+
// Comisión de vendedor de SureKeep abonada a la wallet.
|
|
79
|
+
ProductSubtypeEnum["SUREKEEP_SELLER_COMMISSION_MX"] = "SELLER_COMMISSION_MX";
|
|
78
80
|
//STORE
|
|
79
81
|
ProductSubtypeEnum["STORE_PHONE"] = "PHONE";
|
|
80
82
|
// REFUND_PCF
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Producto con el que el motor de cobro deposita una dispersión.
|
|
3
|
+
* El detalle para la persona va en `concept`.
|
|
4
4
|
*/
|
|
5
5
|
export enum DisbursementType {
|
|
6
|
+
/** Bono. */
|
|
6
7
|
MEX_BONUS = 'MEX_BONUS',
|
|
8
|
+
/** Comisión de vendedor. */
|
|
9
|
+
MEX_SELLER_COMMISSION = 'MEX_SELLER_COMMISSION',
|
|
7
10
|
}
|