@fiado/type-kit 3.230.0 → 3.231.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.
@@ -8,6 +8,12 @@ export interface RetailUserValidationDto {
8
8
  retailUserId: string;
9
9
  cognitoSub: string;
10
10
  retailerId: string;
11
+ /**
12
+ * Nombre de display del usuario retail (DEC-SKF1-021: etiqueta de conveniencia, la identidad real
13
+ * vive en RBAC). `null` si no se capturó. Lo consume el snapshot de venta del wizard para congelar
14
+ * quién vendió, sin tener que resolver el usuario en cada lectura del BO.
15
+ */
16
+ displayName: string | null;
11
17
  homeStoreId: string;
12
18
  employmentType: EmploymentTypeEnum;
13
19
  commissionTier: string;
@@ -7,6 +7,12 @@ export interface StoreValidationDto {
7
7
  storeId: string;
8
8
  retailerId: string;
9
9
  zoneId: string | null;
10
+ /**
11
+ * Nombre de la zona, resuelto por retail-org contra su propia tabla. `null` si la tienda no está
12
+ * acotada a una zona o si la zona ya no existe. Lo consume el snapshot de venta del wizard, que
13
+ * congela el contexto comercial y no puede resolver un `zoneId` de otro dominio.
14
+ */
15
+ zoneName: string | null;
10
16
  code: string;
11
17
  name: string;
12
18
  status: StoreStatusEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.230.0",
3
+ "version": "3.231.0",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -9,6 +9,12 @@ export interface RetailUserValidationDto {
9
9
  retailUserId: string;
10
10
  cognitoSub: string;
11
11
  retailerId: string;
12
+ /**
13
+ * Nombre de display del usuario retail (DEC-SKF1-021: etiqueta de conveniencia, la identidad real
14
+ * vive en RBAC). `null` si no se capturó. Lo consume el snapshot de venta del wizard para congelar
15
+ * quién vendió, sin tener que resolver el usuario en cada lectura del BO.
16
+ */
17
+ displayName: string | null;
12
18
  homeStoreId: string;
13
19
  employmentType: EmploymentTypeEnum;
14
20
  commissionTier: string;
@@ -8,6 +8,12 @@ export interface StoreValidationDto {
8
8
  storeId: string;
9
9
  retailerId: string;
10
10
  zoneId: string | null;
11
+ /**
12
+ * Nombre de la zona, resuelto por retail-org contra su propia tabla. `null` si la tienda no está
13
+ * acotada a una zona o si la zona ya no existe. Lo consume el snapshot de venta del wizard, que
14
+ * congela el contexto comercial y no puede resolver un `zoneId` de otro dominio.
15
+ */
16
+ zoneName: string | null;
11
17
  code: string;
12
18
  name: string;
13
19
  status: StoreStatusEnum;