sigo-entities 1.2.563 → 1.2.565
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/dist/index.d.mts +7 -9
- package/dist/index.d.ts +7 -9
- package/dist/index.js +11 -5
- package/dist/index.mjs +11 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -7156,6 +7156,7 @@ declare class UsuariosAutoinventarioENTITY {
|
|
|
7156
7156
|
KeyFecha: string;
|
|
7157
7157
|
Identificacion: string;
|
|
7158
7158
|
Reportado: boolean;
|
|
7159
|
+
Asignado: boolean;
|
|
7159
7160
|
}
|
|
7160
7161
|
|
|
7161
7162
|
declare class TipoEspecialidadMOENTITY {
|
|
@@ -11668,19 +11669,16 @@ declare class ReportAutoInventoryDto {
|
|
|
11668
11669
|
Lineas: ReportAutoInventoryLineDto[];
|
|
11669
11670
|
}
|
|
11670
11671
|
|
|
11671
|
-
/** Respuesta de GET processes/autoInventory/status: si el usuario
|
|
11672
|
+
/** Respuesta de GET processes/autoInventory/status: si el usuario está asignado hoy y si ya reportó (sin horario) */
|
|
11672
11673
|
declare class AutoInventoryStatusDto {
|
|
11673
11674
|
/** Día del autoinventario (AAAAMMDD) en la zona horaria del país del usuario */
|
|
11674
11675
|
KeyFecha: string;
|
|
11675
|
-
/**
|
|
11676
|
+
/** Tiene registro de hoy en sigo_db.usersAutoinventory con Asignado true (si lo desasignan el registro queda con false) */
|
|
11677
|
+
assigned: boolean;
|
|
11678
|
+
/** Ya reportó el autoinventario de hoy (Reportado del registro) */
|
|
11679
|
+
reported: boolean;
|
|
11680
|
+
/** Debe reportar hoy: assigned && !reported */
|
|
11676
11681
|
mustReport: boolean;
|
|
11677
|
-
/** Dentro del horario de reporte (fuera de producción siempre true) */
|
|
11678
|
-
inSchedule: boolean;
|
|
11679
|
-
/** Horario [start, end) en horas del país; null si el país no tiene horario configurado */
|
|
11680
|
-
schedule: {
|
|
11681
|
-
start: number;
|
|
11682
|
-
end: number;
|
|
11683
|
-
} | null;
|
|
11684
11682
|
}
|
|
11685
11683
|
|
|
11686
11684
|
declare function validateCustom<T extends object>(plain: unknown, cls: ClassConstructor<T>, UnprocessableEntityException: ClassConstructor<Error>, groups?: string[]): Promise<T>;
|
package/dist/index.d.ts
CHANGED
|
@@ -7156,6 +7156,7 @@ declare class UsuariosAutoinventarioENTITY {
|
|
|
7156
7156
|
KeyFecha: string;
|
|
7157
7157
|
Identificacion: string;
|
|
7158
7158
|
Reportado: boolean;
|
|
7159
|
+
Asignado: boolean;
|
|
7159
7160
|
}
|
|
7160
7161
|
|
|
7161
7162
|
declare class TipoEspecialidadMOENTITY {
|
|
@@ -11668,19 +11669,16 @@ declare class ReportAutoInventoryDto {
|
|
|
11668
11669
|
Lineas: ReportAutoInventoryLineDto[];
|
|
11669
11670
|
}
|
|
11670
11671
|
|
|
11671
|
-
/** Respuesta de GET processes/autoInventory/status: si el usuario
|
|
11672
|
+
/** Respuesta de GET processes/autoInventory/status: si el usuario está asignado hoy y si ya reportó (sin horario) */
|
|
11672
11673
|
declare class AutoInventoryStatusDto {
|
|
11673
11674
|
/** Día del autoinventario (AAAAMMDD) en la zona horaria del país del usuario */
|
|
11674
11675
|
KeyFecha: string;
|
|
11675
|
-
/**
|
|
11676
|
+
/** Tiene registro de hoy en sigo_db.usersAutoinventory con Asignado true (si lo desasignan el registro queda con false) */
|
|
11677
|
+
assigned: boolean;
|
|
11678
|
+
/** Ya reportó el autoinventario de hoy (Reportado del registro) */
|
|
11679
|
+
reported: boolean;
|
|
11680
|
+
/** Debe reportar hoy: assigned && !reported */
|
|
11676
11681
|
mustReport: boolean;
|
|
11677
|
-
/** Dentro del horario de reporte (fuera de producción siempre true) */
|
|
11678
|
-
inSchedule: boolean;
|
|
11679
|
-
/** Horario [start, end) en horas del país; null si el país no tiene horario configurado */
|
|
11680
|
-
schedule: {
|
|
11681
|
-
start: number;
|
|
11682
|
-
end: number;
|
|
11683
|
-
} | null;
|
|
11684
11682
|
}
|
|
11685
11683
|
|
|
11686
11684
|
declare function validateCustom<T extends object>(plain: unknown, cls: ClassConstructor<T>, UnprocessableEntityException: ClassConstructor<Error>, groups?: string[]): Promise<T>;
|
package/dist/index.js
CHANGED
|
@@ -37807,6 +37807,7 @@ var UsuariosAutoinventarioENTITY = class {
|
|
|
37807
37807
|
KeyFecha = "";
|
|
37808
37808
|
Identificacion = "";
|
|
37809
37809
|
Reportado = false;
|
|
37810
|
+
Asignado = true;
|
|
37810
37811
|
};
|
|
37811
37812
|
__decorateClass([
|
|
37812
37813
|
(0, import_class_validator654.IsString)({ message: "debe ser un texto" }),
|
|
@@ -37823,6 +37824,11 @@ __decorateClass([
|
|
|
37823
37824
|
(0, import_class_validator654.IsNotEmpty)({ message: "es requerido" }),
|
|
37824
37825
|
(0, import_class_transformer677.Expose)()
|
|
37825
37826
|
], UsuariosAutoinventarioENTITY.prototype, "Reportado", 2);
|
|
37827
|
+
__decorateClass([
|
|
37828
|
+
(0, import_class_validator654.IsBoolean)({ message: "debe ser un booleano" }),
|
|
37829
|
+
(0, import_class_validator654.IsNotEmpty)({ message: "es requerido" }),
|
|
37830
|
+
(0, import_class_transformer677.Expose)()
|
|
37831
|
+
], UsuariosAutoinventarioENTITY.prototype, "Asignado", 2);
|
|
37826
37832
|
|
|
37827
37833
|
// src/configuracion/tipo especialidad mo/shared/index.ts
|
|
37828
37834
|
var import_class_transformer678 = require("class-transformer");
|
|
@@ -58867,22 +58873,22 @@ __decorateClass([
|
|
|
58867
58873
|
var import_class_transformer911 = require("class-transformer");
|
|
58868
58874
|
var AutoInventoryStatusDto = class {
|
|
58869
58875
|
KeyFecha;
|
|
58876
|
+
assigned;
|
|
58877
|
+
reported;
|
|
58870
58878
|
mustReport;
|
|
58871
|
-
inSchedule;
|
|
58872
|
-
schedule;
|
|
58873
58879
|
};
|
|
58874
58880
|
__decorateClass([
|
|
58875
58881
|
(0, import_class_transformer911.Expose)()
|
|
58876
58882
|
], AutoInventoryStatusDto.prototype, "KeyFecha", 2);
|
|
58877
58883
|
__decorateClass([
|
|
58878
58884
|
(0, import_class_transformer911.Expose)()
|
|
58879
|
-
], AutoInventoryStatusDto.prototype, "
|
|
58885
|
+
], AutoInventoryStatusDto.prototype, "assigned", 2);
|
|
58880
58886
|
__decorateClass([
|
|
58881
58887
|
(0, import_class_transformer911.Expose)()
|
|
58882
|
-
], AutoInventoryStatusDto.prototype, "
|
|
58888
|
+
], AutoInventoryStatusDto.prototype, "reported", 2);
|
|
58883
58889
|
__decorateClass([
|
|
58884
58890
|
(0, import_class_transformer911.Expose)()
|
|
58885
|
-
], AutoInventoryStatusDto.prototype, "
|
|
58891
|
+
], AutoInventoryStatusDto.prototype, "mustReport", 2);
|
|
58886
58892
|
|
|
58887
58893
|
// src/v2/entities/Delegation.ts
|
|
58888
58894
|
var import_class_transformer913 = require("class-transformer");
|
package/dist/index.mjs
CHANGED
|
@@ -36988,6 +36988,7 @@ var UsuariosAutoinventarioENTITY = class {
|
|
|
36988
36988
|
KeyFecha = "";
|
|
36989
36989
|
Identificacion = "";
|
|
36990
36990
|
Reportado = false;
|
|
36991
|
+
Asignado = true;
|
|
36991
36992
|
};
|
|
36992
36993
|
__decorateClass([
|
|
36993
36994
|
IsString517({ message: "debe ser un texto" }),
|
|
@@ -37004,6 +37005,11 @@ __decorateClass([
|
|
|
37004
37005
|
IsNotEmpty429({ message: "es requerido" }),
|
|
37005
37006
|
Expose650()
|
|
37006
37007
|
], UsuariosAutoinventarioENTITY.prototype, "Reportado", 2);
|
|
37008
|
+
__decorateClass([
|
|
37009
|
+
IsBoolean66({ message: "debe ser un booleano" }),
|
|
37010
|
+
IsNotEmpty429({ message: "es requerido" }),
|
|
37011
|
+
Expose650()
|
|
37012
|
+
], UsuariosAutoinventarioENTITY.prototype, "Asignado", 2);
|
|
37007
37013
|
|
|
37008
37014
|
// src/configuracion/tipo especialidad mo/shared/index.ts
|
|
37009
37015
|
import { Expose as Expose651, Type as Type434 } from "class-transformer";
|
|
@@ -58340,22 +58346,22 @@ __decorateClass([
|
|
|
58340
58346
|
import { Expose as Expose882 } from "class-transformer";
|
|
58341
58347
|
var AutoInventoryStatusDto = class {
|
|
58342
58348
|
KeyFecha;
|
|
58349
|
+
assigned;
|
|
58350
|
+
reported;
|
|
58343
58351
|
mustReport;
|
|
58344
|
-
inSchedule;
|
|
58345
|
-
schedule;
|
|
58346
58352
|
};
|
|
58347
58353
|
__decorateClass([
|
|
58348
58354
|
Expose882()
|
|
58349
58355
|
], AutoInventoryStatusDto.prototype, "KeyFecha", 2);
|
|
58350
58356
|
__decorateClass([
|
|
58351
58357
|
Expose882()
|
|
58352
|
-
], AutoInventoryStatusDto.prototype, "
|
|
58358
|
+
], AutoInventoryStatusDto.prototype, "assigned", 2);
|
|
58353
58359
|
__decorateClass([
|
|
58354
58360
|
Expose882()
|
|
58355
|
-
], AutoInventoryStatusDto.prototype, "
|
|
58361
|
+
], AutoInventoryStatusDto.prototype, "reported", 2);
|
|
58356
58362
|
__decorateClass([
|
|
58357
58363
|
Expose882()
|
|
58358
|
-
], AutoInventoryStatusDto.prototype, "
|
|
58364
|
+
], AutoInventoryStatusDto.prototype, "mustReport", 2);
|
|
58359
58365
|
|
|
58360
58366
|
// src/v2/entities/Delegation.ts
|
|
58361
58367
|
import { Expose as Expose884 } from "class-transformer";
|