@fiado/type-kit 3.441.0 → 3.443.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/bin/productCatalog/enums/ProductSubtypeEnum.d.ts +2 -1
- package/bin/productCatalog/enums/ProductSubtypeEnum.js +2 -0
- package/bin/productCatalog/enums/ProductTypeEnum.d.ts +9 -1
- package/bin/productCatalog/enums/ProductTypeEnum.js +8 -0
- package/bin/remittance/dtos/RemittanceBackofficeTransaction.d.ts +2 -0
- package/bin/remittance/dtos/RemittanceBackofficeUserView.d.ts +2 -0
- package/package.json +1 -1
- package/src/productCatalog/enums/ProductSubtypeEnum.ts +3 -0
- package/src/productCatalog/enums/ProductTypeEnum.ts +9 -1
- package/src/remittance/dtos/RemittanceBackofficeTransaction.ts +2 -0
- package/src/remittance/dtos/RemittanceBackofficeUserView.ts +2 -0
|
@@ -75,4 +75,6 @@ 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
|
+
//STORE
|
|
79
|
+
ProductSubtypeEnum["STORE_PHONE"] = "PHONE";
|
|
78
80
|
})(ProductSubtypeEnum || (exports.ProductSubtypeEnum = ProductSubtypeEnum = {}));
|
|
@@ -40,5 +40,13 @@ export declare enum ProductTypeEnum {
|
|
|
40
40
|
* FUERA del switch de `CreateTransactionManager`: el camino por defecto es el que escribe el par
|
|
41
41
|
* de asientos FiadoTx + PagoConFiadoTx.
|
|
42
42
|
*/
|
|
43
|
-
SUREKEEP = "SUREKEEP"
|
|
43
|
+
SUREKEEP = "SUREKEEP",
|
|
44
|
+
/**
|
|
45
|
+
* Compra de un producto físico en tienda/catálogo Fiado (ej. venta de celulares vía
|
|
46
|
+
* cell-phone-sales-business). Cobro en crédito (USD, pocket FiadoInc) o débito (MXN,
|
|
47
|
+
* PagoConfiado) según el país — ambos casos caen en el camino por defecto de
|
|
48
|
+
* `CreateTransactionManager` (no está en su switch), que ya arma `credit`/`debit` de forma
|
|
49
|
+
* data-driven por monto, no por este type.
|
|
50
|
+
*/
|
|
51
|
+
STORE = "STORE"
|
|
44
52
|
}
|
|
@@ -45,4 +45,12 @@ var ProductTypeEnum;
|
|
|
45
45
|
* de asientos FiadoTx + PagoConFiadoTx.
|
|
46
46
|
*/
|
|
47
47
|
ProductTypeEnum["SUREKEEP"] = "SUREKEEP";
|
|
48
|
+
/**
|
|
49
|
+
* Compra de un producto físico en tienda/catálogo Fiado (ej. venta de celulares vía
|
|
50
|
+
* cell-phone-sales-business). Cobro en crédito (USD, pocket FiadoInc) o débito (MXN,
|
|
51
|
+
* PagoConfiado) según el país — ambos casos caen en el camino por defecto de
|
|
52
|
+
* `CreateTransactionManager` (no está en su switch), que ya arma `credit`/`debit` de forma
|
|
53
|
+
* data-driven por monto, no por este type.
|
|
54
|
+
*/
|
|
55
|
+
ProductTypeEnum["STORE"] = "STORE";
|
|
48
56
|
})(ProductTypeEnum || (exports.ProductTypeEnum = ProductTypeEnum = {}));
|
|
@@ -16,6 +16,8 @@ export declare class RemittanceBackofficeTransaction {
|
|
|
16
16
|
* viene de directory. `null` si el usuario aún no tiene `fullName` snapshotteado.
|
|
17
17
|
*/
|
|
18
18
|
senderName?: string | null;
|
|
19
|
+
/** Teléfono del remitente en Fiado (snapshot del usuario de remesas). */
|
|
20
|
+
senderPhone?: string | null;
|
|
19
21
|
beneficiaryId: string;
|
|
20
22
|
beneficiaryName: string;
|
|
21
23
|
countryISO: string;
|
|
@@ -12,6 +12,8 @@ export declare class RemittanceBackofficeUserView {
|
|
|
12
12
|
city?: string | null;
|
|
13
13
|
/** Estado/provincia del usuario (RemittanceUser.addressState). `null` si no está poblada. */
|
|
14
14
|
state?: string | null;
|
|
15
|
+
/** Teléfono del usuario en Fiado (el mismo que se registró en UniTeller; el sync lo mantiene alineado con directory). */
|
|
16
|
+
cellPhone?: string | null;
|
|
15
17
|
status: string;
|
|
16
18
|
remitterStatus?: string;
|
|
17
19
|
remitterLevel?: string;
|
package/package.json
CHANGED
|
@@ -40,5 +40,13 @@ export enum ProductTypeEnum {
|
|
|
40
40
|
* FUERA del switch de `CreateTransactionManager`: el camino por defecto es el que escribe el par
|
|
41
41
|
* de asientos FiadoTx + PagoConFiadoTx.
|
|
42
42
|
*/
|
|
43
|
-
SUREKEEP = "SUREKEEP"
|
|
43
|
+
SUREKEEP = "SUREKEEP",
|
|
44
|
+
/**
|
|
45
|
+
* Compra de un producto físico en tienda/catálogo Fiado (ej. venta de celulares vía
|
|
46
|
+
* cell-phone-sales-business). Cobro en crédito (USD, pocket FiadoInc) o débito (MXN,
|
|
47
|
+
* PagoConfiado) según el país — ambos casos caen en el camino por defecto de
|
|
48
|
+
* `CreateTransactionManager` (no está en su switch), que ya arma `credit`/`debit` de forma
|
|
49
|
+
* data-driven por monto, no por este type.
|
|
50
|
+
*/
|
|
51
|
+
STORE = "STORE"
|
|
44
52
|
}
|
|
@@ -17,6 +17,8 @@ export class RemittanceBackofficeTransaction {
|
|
|
17
17
|
* viene de directory. `null` si el usuario aún no tiene `fullName` snapshotteado.
|
|
18
18
|
*/
|
|
19
19
|
senderName?: string | null;
|
|
20
|
+
/** Teléfono del remitente en Fiado (snapshot del usuario de remesas). */
|
|
21
|
+
senderPhone?: string | null;
|
|
20
22
|
beneficiaryId!: string;
|
|
21
23
|
beneficiaryName!: string;
|
|
22
24
|
countryISO!: string;
|
|
@@ -12,6 +12,8 @@ export class RemittanceBackofficeUserView {
|
|
|
12
12
|
city?: string | null;
|
|
13
13
|
/** Estado/provincia del usuario (RemittanceUser.addressState). `null` si no está poblada. */
|
|
14
14
|
state?: string | null;
|
|
15
|
+
/** Teléfono del usuario en Fiado (el mismo que se registró en UniTeller; el sync lo mantiene alineado con directory). */
|
|
16
|
+
cellPhone?: string | null;
|
|
15
17
|
status!: string;
|
|
16
18
|
remitterStatus?: string;
|
|
17
19
|
remitterLevel?: string;
|