@fiado/type-kit 3.592.0 → 3.593.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.
@@ -134,6 +134,24 @@ describe('respuestas de la revisión', () => {
134
134
  };
135
135
  expect(movements.movementsTo).toBe('2026-10-25T00:00:00.000Z');
136
136
  });
137
+
138
+ it('GetCatalogReconciliationResponse separa tiendas abortadas de las inexistentes', () => {
139
+ const inventory: GetCatalogReconciliationResponse = {
140
+ runId: 'run-i',
141
+ retailerId: 'r-1',
142
+ entity: ReconciliationEntityEnum.INVENTORY,
143
+ status: ReconciliationRunStatusEnum.COMPLETE,
144
+ trigger: ReconciliationTriggerEnum.MANUAL,
145
+ startedAt: '2026-10-25T10:00:00.000Z',
146
+ pagesProcessed: 3,
147
+ storesPending: 0,
148
+ storesAborted: 2,
149
+ storesNotFound: 1,
150
+ counts: { seen: 0, created: 0, updated: 0, deactivated: 0, reactivated: 0, skipped: 0 },
151
+ };
152
+ expect(inventory.storesAborted).toBe(2);
153
+ expect(inventory.storesNotFound).toBe(1);
154
+ });
137
155
  });
138
156
 
139
157
  describe('revisión con excludeExtraneousValues', () => {
@@ -31,6 +31,10 @@ export interface GetCatalogReconciliationResponse {
31
31
  storeId?: string;
32
32
  /** Tiendas de inventario que faltan por cerrar. */
33
33
  storesPending?: number;
34
+ /** Tiendas de inventario cerradas como ABORTED (reintentos agotados, renglón sin id, etc.). */
35
+ storesAborted?: number;
36
+ /** Tiendas cerradas porque no existen en el retailer (404 STORE_NOT_FOUND); no cuentan en storesAborted. */
37
+ storesNotFound?: number;
34
38
  /** Inicio ISO de la ventana revisada en movimientos. */
35
39
  movementsFrom?: string;
36
40
  /** Fin ISO de la ventana revisada en movimientos. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.592.0",
3
+ "version": "3.593.0",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -33,6 +33,10 @@ export interface GetCatalogReconciliationResponse {
33
33
  storeId?: string;
34
34
  /** Tiendas de inventario que faltan por cerrar. */
35
35
  storesPending?: number;
36
+ /** Tiendas de inventario cerradas como ABORTED (reintentos agotados, renglón sin id, etc.). */
37
+ storesAborted?: number;
38
+ /** Tiendas cerradas porque no existen en el retailer (404 STORE_NOT_FOUND); no cuentan en storesAborted. */
39
+ storesNotFound?: number;
36
40
  /** Inicio ISO de la ventana revisada en movimientos. */
37
41
  movementsFrom?: string;
38
42
  /** Fin ISO de la ventana revisada en movimientos. */