sigo-entities 1.2.562 → 1.2.564
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 +13 -7
- package/dist/index.d.ts +13 -7
- package/dist/index.js +223 -207
- package/dist/index.mjs +170 -154
- 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 {
|
|
@@ -10748,15 +10749,16 @@ declare class PendienteOriginalVeredaDTO {
|
|
|
10748
10749
|
tipo_piso: string;
|
|
10749
10750
|
m2_jardin: number;
|
|
10750
10751
|
}
|
|
10751
|
-
/** Lo que registra la cuadrilla en la PWA. Al asignar: workflow [], metrados
|
|
10752
|
+
/** Lo que registra la cuadrilla en la PWA. Al asignar: workflow [], metrados en 0, observaciones "", fecha_actualizacion FECHA_VACIA_VEREDA */
|
|
10752
10753
|
declare class FormularioCivilVeredaDTO {
|
|
10753
10754
|
workflow: WorkflowPasoVeredaDTO[];
|
|
10754
|
-
/**
|
|
10755
|
-
metrados: MetradosVeredaDTO
|
|
10755
|
+
/** En 0 hasta que se guardan; se sabe que se guardaron por fecha_actualizacion (fechaRegistradaVereda) */
|
|
10756
|
+
metrados: MetradosVeredaDTO;
|
|
10756
10757
|
observaciones: string;
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10758
|
+
/** Vacía (id_gis "") mientras no se define su origen */
|
|
10759
|
+
pendiente_original: PendienteOriginalVeredaDTO;
|
|
10760
|
+
/** Última vez que la PWA guardó el formulario; FECHA_VACIA_VEREDA si nunca */
|
|
10761
|
+
fecha_actualizacion: Date;
|
|
10760
10762
|
}
|
|
10761
10763
|
/** Body de PUT workflow/:_id (PWA). orden, fecha_registro y usuario los completa el backend */
|
|
10762
10764
|
declare class WorkflowVeredaDTO {
|
|
@@ -11671,7 +11673,11 @@ declare class ReportAutoInventoryDto {
|
|
|
11671
11673
|
declare class AutoInventoryStatusDto {
|
|
11672
11674
|
/** Día del autoinventario (AAAAMMDD) en la zona horaria del país del usuario */
|
|
11673
11675
|
KeyFecha: string;
|
|
11674
|
-
/**
|
|
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 */
|
|
11675
11681
|
mustReport: boolean;
|
|
11676
11682
|
/** Dentro del horario de reporte (fuera de producción siempre true) */
|
|
11677
11683
|
inSchedule: boolean;
|
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 {
|
|
@@ -10748,15 +10749,16 @@ declare class PendienteOriginalVeredaDTO {
|
|
|
10748
10749
|
tipo_piso: string;
|
|
10749
10750
|
m2_jardin: number;
|
|
10750
10751
|
}
|
|
10751
|
-
/** Lo que registra la cuadrilla en la PWA. Al asignar: workflow [], metrados
|
|
10752
|
+
/** Lo que registra la cuadrilla en la PWA. Al asignar: workflow [], metrados en 0, observaciones "", fecha_actualizacion FECHA_VACIA_VEREDA */
|
|
10752
10753
|
declare class FormularioCivilVeredaDTO {
|
|
10753
10754
|
workflow: WorkflowPasoVeredaDTO[];
|
|
10754
|
-
/**
|
|
10755
|
-
metrados: MetradosVeredaDTO
|
|
10755
|
+
/** En 0 hasta que se guardan; se sabe que se guardaron por fecha_actualizacion (fechaRegistradaVereda) */
|
|
10756
|
+
metrados: MetradosVeredaDTO;
|
|
10756
10757
|
observaciones: string;
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10758
|
+
/** Vacía (id_gis "") mientras no se define su origen */
|
|
10759
|
+
pendiente_original: PendienteOriginalVeredaDTO;
|
|
10760
|
+
/** Última vez que la PWA guardó el formulario; FECHA_VACIA_VEREDA si nunca */
|
|
10761
|
+
fecha_actualizacion: Date;
|
|
10760
10762
|
}
|
|
10761
10763
|
/** Body de PUT workflow/:_id (PWA). orden, fecha_registro y usuario los completa el backend */
|
|
10762
10764
|
declare class WorkflowVeredaDTO {
|
|
@@ -11671,7 +11673,11 @@ declare class ReportAutoInventoryDto {
|
|
|
11671
11673
|
declare class AutoInventoryStatusDto {
|
|
11672
11674
|
/** Día del autoinventario (AAAAMMDD) en la zona horaria del país del usuario */
|
|
11673
11675
|
KeyFecha: string;
|
|
11674
|
-
/**
|
|
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 */
|
|
11675
11681
|
mustReport: boolean;
|
|
11676
11682
|
/** Dentro del horario de reporte (fuera de producción siempre true) */
|
|
11677
11683
|
inSchedule: boolean;
|
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");
|
|
@@ -55876,9 +55882,50 @@ __decorateClass([
|
|
|
55876
55882
|
], ObservarVeredaDTO.prototype, "motivo", 2);
|
|
55877
55883
|
|
|
55878
55884
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/formulario-civil-vereda-dto.ts
|
|
55885
|
+
var import_class_transformer853 = require("class-transformer");
|
|
55886
|
+
var import_class_validator830 = require("class-validator");
|
|
55887
|
+
var import_reflect_metadata81 = require("reflect-metadata");
|
|
55888
|
+
|
|
55889
|
+
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/desmonte-vereda-dto.ts
|
|
55879
55890
|
var import_class_transformer852 = require("class-transformer");
|
|
55880
55891
|
var import_class_validator829 = require("class-validator");
|
|
55881
55892
|
var import_reflect_metadata80 = require("reflect-metadata");
|
|
55893
|
+
var FECHA_VACIA_VEREDA = () => /* @__PURE__ */ new Date(0);
|
|
55894
|
+
var fechaRegistradaVereda = (fecha) => !!fecha && new Date(fecha).getTime() > 0;
|
|
55895
|
+
var tieneArchivoVereda = (archivo) => !!archivo?.Ruta && !!archivo.Filename;
|
|
55896
|
+
var DesmonteVeredaBodyDTO = class {
|
|
55897
|
+
tiene_desmonte = false;
|
|
55898
|
+
foto = new FilesDocDTO();
|
|
55899
|
+
};
|
|
55900
|
+
__decorateClass([
|
|
55901
|
+
(0, import_class_transformer852.Expose)(),
|
|
55902
|
+
(0, import_class_validator829.IsDefined)({ message: "es requerido" }),
|
|
55903
|
+
(0, import_class_validator829.IsBoolean)({ message: "es requerido" })
|
|
55904
|
+
], DesmonteVeredaBodyDTO.prototype, "tiene_desmonte", 2);
|
|
55905
|
+
__decorateClass([
|
|
55906
|
+
(0, import_class_transformer852.Expose)(),
|
|
55907
|
+
(0, import_class_validator829.IsDefined)(),
|
|
55908
|
+
(0, import_class_validator829.ValidateNested)(),
|
|
55909
|
+
(0, import_class_transformer852.Type)(() => FilesDocDTO),
|
|
55910
|
+
(0, import_class_validator829.ValidateBy)({
|
|
55911
|
+
name: "fotoDesmonteVereda",
|
|
55912
|
+
validator: {
|
|
55913
|
+
validate: (foto, args) => !(args?.object).tiene_desmonte || tieneArchivoVereda(foto),
|
|
55914
|
+
defaultMessage: () => "Adjunte la foto del desmonte"
|
|
55915
|
+
}
|
|
55916
|
+
})
|
|
55917
|
+
], DesmonteVeredaBodyDTO.prototype, "foto", 2);
|
|
55918
|
+
var DesmonteVeredaDTO = class extends DesmonteVeredaBodyDTO {
|
|
55919
|
+
fecha = FECHA_VACIA_VEREDA();
|
|
55920
|
+
};
|
|
55921
|
+
__decorateClass([
|
|
55922
|
+
(0, import_class_transformer852.Expose)(),
|
|
55923
|
+
(0, import_class_validator829.IsDefined)(),
|
|
55924
|
+
(0, import_class_validator829.IsDate)(),
|
|
55925
|
+
(0, import_class_transformer852.Type)(() => Date)
|
|
55926
|
+
], DesmonteVeredaDTO.prototype, "fecha", 2);
|
|
55927
|
+
|
|
55928
|
+
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/formulario-civil-vereda-dto.ts
|
|
55882
55929
|
var PASOS_WORKFLOW_VEREDA = {
|
|
55883
55930
|
INICIO_DE_TRABAJO: { paso: "INICIO_DE_TRABAJO", orden: 1 },
|
|
55884
55931
|
CERRADO: { paso: "CERRADO", orden: 2 }
|
|
@@ -55899,51 +55946,51 @@ var WorkflowPasoVeredaDTO = class {
|
|
|
55899
55946
|
usuario = new UsuarioDTO();
|
|
55900
55947
|
};
|
|
55901
55948
|
__decorateClass([
|
|
55902
|
-
(0,
|
|
55903
|
-
(0,
|
|
55904
|
-
(0,
|
|
55905
|
-
(0,
|
|
55949
|
+
(0, import_class_transformer853.Expose)(),
|
|
55950
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55951
|
+
(0, import_class_validator830.IsString)(),
|
|
55952
|
+
(0, import_class_validator830.IsIn)(PASOS)
|
|
55906
55953
|
], WorkflowPasoVeredaDTO.prototype, "paso", 2);
|
|
55907
55954
|
__decorateClass([
|
|
55908
|
-
(0,
|
|
55909
|
-
(0,
|
|
55910
|
-
(0,
|
|
55911
|
-
(0,
|
|
55912
|
-
(0,
|
|
55955
|
+
(0, import_class_transformer853.Expose)(),
|
|
55956
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55957
|
+
(0, import_class_validator830.IsInt)(),
|
|
55958
|
+
(0, import_class_validator830.Min)(1),
|
|
55959
|
+
(0, import_class_validator830.Max)(2)
|
|
55913
55960
|
], WorkflowPasoVeredaDTO.prototype, "orden", 2);
|
|
55914
55961
|
__decorateClass([
|
|
55915
|
-
(0,
|
|
55916
|
-
(0,
|
|
55917
|
-
(0,
|
|
55918
|
-
(0,
|
|
55962
|
+
(0, import_class_transformer853.Expose)(),
|
|
55963
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55964
|
+
(0, import_class_validator830.IsDate)(),
|
|
55965
|
+
(0, import_class_transformer853.Type)(() => Date)
|
|
55919
55966
|
], WorkflowPasoVeredaDTO.prototype, "fecha", 2);
|
|
55920
55967
|
__decorateClass([
|
|
55921
|
-
(0,
|
|
55922
|
-
(0,
|
|
55923
|
-
(0,
|
|
55924
|
-
(0,
|
|
55968
|
+
(0, import_class_transformer853.Expose)(),
|
|
55969
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55970
|
+
(0, import_class_validator830.IsDate)(),
|
|
55971
|
+
(0, import_class_transformer853.Type)(() => Date)
|
|
55925
55972
|
], WorkflowPasoVeredaDTO.prototype, "fecha_registro", 2);
|
|
55926
55973
|
__decorateClass([
|
|
55927
|
-
(0,
|
|
55928
|
-
(0,
|
|
55929
|
-
(0,
|
|
55974
|
+
(0, import_class_transformer853.Expose)(),
|
|
55975
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55976
|
+
(0, import_class_validator830.IsNumber)()
|
|
55930
55977
|
], WorkflowPasoVeredaDTO.prototype, "latitud", 2);
|
|
55931
55978
|
__decorateClass([
|
|
55932
|
-
(0,
|
|
55933
|
-
(0,
|
|
55934
|
-
(0,
|
|
55979
|
+
(0, import_class_transformer853.Expose)(),
|
|
55980
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55981
|
+
(0, import_class_validator830.IsNumber)()
|
|
55935
55982
|
], WorkflowPasoVeredaDTO.prototype, "longitud", 2);
|
|
55936
55983
|
__decorateClass([
|
|
55937
|
-
(0,
|
|
55938
|
-
(0,
|
|
55939
|
-
(0,
|
|
55940
|
-
(0,
|
|
55984
|
+
(0, import_class_transformer853.Expose)(),
|
|
55985
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55986
|
+
(0, import_class_validator830.IsNumber)(),
|
|
55987
|
+
(0, import_class_validator830.Min)(0)
|
|
55941
55988
|
], WorkflowPasoVeredaDTO.prototype, "precision_m", 2);
|
|
55942
55989
|
__decorateClass([
|
|
55943
|
-
(0,
|
|
55944
|
-
(0,
|
|
55945
|
-
(0,
|
|
55946
|
-
(0,
|
|
55990
|
+
(0, import_class_transformer853.Expose)(),
|
|
55991
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55992
|
+
(0, import_class_validator830.ValidateNested)(),
|
|
55993
|
+
(0, import_class_transformer853.Type)(() => UsuarioDTO)
|
|
55947
55994
|
], WorkflowPasoVeredaDTO.prototype, "usuario", 2);
|
|
55948
55995
|
var MetradosVeredaDTO = class {
|
|
55949
55996
|
pano_ancho_m = 0;
|
|
@@ -55956,52 +56003,52 @@ var MetradosVeredaDTO = class {
|
|
|
55956
56003
|
m2_jardin = 0;
|
|
55957
56004
|
};
|
|
55958
56005
|
__decorateClass([
|
|
55959
|
-
(0,
|
|
55960
|
-
(0,
|
|
55961
|
-
(0,
|
|
55962
|
-
(0,
|
|
56006
|
+
(0, import_class_transformer853.Expose)(),
|
|
56007
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56008
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56009
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
55963
56010
|
], MetradosVeredaDTO.prototype, "pano_ancho_m", 2);
|
|
55964
56011
|
__decorateClass([
|
|
55965
|
-
(0,
|
|
55966
|
-
(0,
|
|
55967
|
-
(0,
|
|
55968
|
-
(0,
|
|
56012
|
+
(0, import_class_transformer853.Expose)(),
|
|
56013
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56014
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56015
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
55969
56016
|
], MetradosVeredaDTO.prototype, "pano_largo_m", 2);
|
|
55970
56017
|
__decorateClass([
|
|
55971
|
-
(0,
|
|
55972
|
-
(0,
|
|
55973
|
-
(0,
|
|
55974
|
-
(0,
|
|
56018
|
+
(0, import_class_transformer853.Expose)(),
|
|
56019
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56020
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56021
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
55975
56022
|
], MetradosVeredaDTO.prototype, "pano_espesor_cm", 2);
|
|
55976
56023
|
__decorateClass([
|
|
55977
|
-
(0,
|
|
55978
|
-
(0,
|
|
55979
|
-
(0,
|
|
55980
|
-
(0,
|
|
56024
|
+
(0, import_class_transformer853.Expose)(),
|
|
56025
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56026
|
+
(0, import_class_validator830.IsInt)(MSG_ENTERO),
|
|
56027
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
55981
56028
|
], MetradosVeredaDTO.prototype, "cantidad_panos", 2);
|
|
55982
56029
|
__decorateClass([
|
|
55983
|
-
(0,
|
|
55984
|
-
(0,
|
|
55985
|
-
(0,
|
|
55986
|
-
(0,
|
|
56030
|
+
(0, import_class_transformer853.Expose)(),
|
|
56031
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56032
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56033
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
55987
56034
|
], MetradosVeredaDTO.prototype, "m2_vereda_reparada", 2);
|
|
55988
56035
|
__decorateClass([
|
|
55989
|
-
(0,
|
|
55990
|
-
(0,
|
|
55991
|
-
(0,
|
|
55992
|
-
(0,
|
|
56036
|
+
(0, import_class_transformer853.Expose)(),
|
|
56037
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56038
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56039
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
55993
56040
|
], MetradosVeredaDTO.prototype, "m2_vereda_asfalto", 2);
|
|
55994
56041
|
__decorateClass([
|
|
55995
|
-
(0,
|
|
55996
|
-
(0,
|
|
55997
|
-
(0,
|
|
55998
|
-
(0,
|
|
56042
|
+
(0, import_class_transformer853.Expose)(),
|
|
56043
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56044
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56045
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
55999
56046
|
], MetradosVeredaDTO.prototype, "m2_piso_especial", 2);
|
|
56000
56047
|
__decorateClass([
|
|
56001
|
-
(0,
|
|
56002
|
-
(0,
|
|
56003
|
-
(0,
|
|
56004
|
-
(0,
|
|
56048
|
+
(0, import_class_transformer853.Expose)(),
|
|
56049
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56050
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56051
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
56005
56052
|
], MetradosVeredaDTO.prototype, "m2_jardin", 2);
|
|
56006
56053
|
var PendienteOriginalVeredaDTO = class {
|
|
56007
56054
|
id_gis = "";
|
|
@@ -56012,75 +56059,75 @@ var PendienteOriginalVeredaDTO = class {
|
|
|
56012
56059
|
m2_jardin = 0;
|
|
56013
56060
|
};
|
|
56014
56061
|
__decorateClass([
|
|
56015
|
-
(0,
|
|
56016
|
-
(0,
|
|
56017
|
-
(0,
|
|
56062
|
+
(0, import_class_transformer853.Expose)(),
|
|
56063
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56064
|
+
(0, import_class_validator830.IsString)()
|
|
56018
56065
|
], PendienteOriginalVeredaDTO.prototype, "id_gis", 2);
|
|
56019
56066
|
__decorateClass([
|
|
56020
|
-
(0,
|
|
56021
|
-
(0,
|
|
56022
|
-
(0,
|
|
56023
|
-
(0,
|
|
56067
|
+
(0, import_class_transformer853.Expose)(),
|
|
56068
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56069
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56070
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
56024
56071
|
], PendienteOriginalVeredaDTO.prototype, "pano_ancho_m", 2);
|
|
56025
56072
|
__decorateClass([
|
|
56026
|
-
(0,
|
|
56027
|
-
(0,
|
|
56028
|
-
(0,
|
|
56029
|
-
(0,
|
|
56073
|
+
(0, import_class_transformer853.Expose)(),
|
|
56074
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56075
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56076
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
56030
56077
|
], PendienteOriginalVeredaDTO.prototype, "pano_largo_m", 2);
|
|
56031
56078
|
__decorateClass([
|
|
56032
|
-
(0,
|
|
56033
|
-
(0,
|
|
56034
|
-
(0,
|
|
56035
|
-
(0,
|
|
56079
|
+
(0, import_class_transformer853.Expose)(),
|
|
56080
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56081
|
+
(0, import_class_validator830.IsInt)(MSG_ENTERO),
|
|
56082
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
56036
56083
|
], PendienteOriginalVeredaDTO.prototype, "cantidad_panos", 2);
|
|
56037
56084
|
__decorateClass([
|
|
56038
|
-
(0,
|
|
56039
|
-
(0,
|
|
56040
|
-
(0,
|
|
56085
|
+
(0, import_class_transformer853.Expose)(),
|
|
56086
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56087
|
+
(0, import_class_validator830.IsString)()
|
|
56041
56088
|
], PendienteOriginalVeredaDTO.prototype, "tipo_piso", 2);
|
|
56042
56089
|
__decorateClass([
|
|
56043
|
-
(0,
|
|
56044
|
-
(0,
|
|
56045
|
-
(0,
|
|
56046
|
-
(0,
|
|
56090
|
+
(0, import_class_transformer853.Expose)(),
|
|
56091
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56092
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56093
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
56047
56094
|
], PendienteOriginalVeredaDTO.prototype, "m2_jardin", 2);
|
|
56048
56095
|
var FormularioCivilVeredaDTO = class {
|
|
56049
56096
|
workflow = [];
|
|
56050
|
-
metrados =
|
|
56097
|
+
metrados = new MetradosVeredaDTO();
|
|
56051
56098
|
observaciones = "";
|
|
56052
|
-
pendiente_original =
|
|
56053
|
-
fecha_actualizacion =
|
|
56099
|
+
pendiente_original = new PendienteOriginalVeredaDTO();
|
|
56100
|
+
fecha_actualizacion = FECHA_VACIA_VEREDA();
|
|
56054
56101
|
};
|
|
56055
56102
|
__decorateClass([
|
|
56056
|
-
(0,
|
|
56057
|
-
(0,
|
|
56058
|
-
(0,
|
|
56059
|
-
(0,
|
|
56060
|
-
(0,
|
|
56103
|
+
(0, import_class_transformer853.Expose)(),
|
|
56104
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56105
|
+
(0, import_class_validator830.IsArray)(),
|
|
56106
|
+
(0, import_class_validator830.ValidateNested)({ each: true }),
|
|
56107
|
+
(0, import_class_transformer853.Type)(() => WorkflowPasoVeredaDTO)
|
|
56061
56108
|
], FormularioCivilVeredaDTO.prototype, "workflow", 2);
|
|
56062
56109
|
__decorateClass([
|
|
56063
|
-
(0,
|
|
56064
|
-
(0,
|
|
56065
|
-
(0,
|
|
56066
|
-
(0,
|
|
56110
|
+
(0, import_class_transformer853.Expose)(),
|
|
56111
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56112
|
+
(0, import_class_validator830.ValidateNested)(),
|
|
56113
|
+
(0, import_class_transformer853.Type)(() => MetradosVeredaDTO)
|
|
56067
56114
|
], FormularioCivilVeredaDTO.prototype, "metrados", 2);
|
|
56068
56115
|
__decorateClass([
|
|
56069
|
-
(0,
|
|
56070
|
-
(0,
|
|
56071
|
-
(0,
|
|
56116
|
+
(0, import_class_transformer853.Expose)(),
|
|
56117
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56118
|
+
(0, import_class_validator830.IsString)()
|
|
56072
56119
|
], FormularioCivilVeredaDTO.prototype, "observaciones", 2);
|
|
56073
56120
|
__decorateClass([
|
|
56074
|
-
(0,
|
|
56075
|
-
(0,
|
|
56076
|
-
(0,
|
|
56077
|
-
(0,
|
|
56121
|
+
(0, import_class_transformer853.Expose)(),
|
|
56122
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56123
|
+
(0, import_class_validator830.ValidateNested)(),
|
|
56124
|
+
(0, import_class_transformer853.Type)(() => PendienteOriginalVeredaDTO)
|
|
56078
56125
|
], FormularioCivilVeredaDTO.prototype, "pendiente_original", 2);
|
|
56079
56126
|
__decorateClass([
|
|
56080
|
-
(0,
|
|
56081
|
-
(0,
|
|
56082
|
-
(0,
|
|
56083
|
-
(0,
|
|
56127
|
+
(0, import_class_transformer853.Expose)(),
|
|
56128
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56129
|
+
(0, import_class_validator830.IsDate)(),
|
|
56130
|
+
(0, import_class_transformer853.Type)(() => Date)
|
|
56084
56131
|
], FormularioCivilVeredaDTO.prototype, "fecha_actualizacion", 2);
|
|
56085
56132
|
var WorkflowVeredaDTO = class {
|
|
56086
56133
|
paso = "";
|
|
@@ -56090,54 +56137,54 @@ var WorkflowVeredaDTO = class {
|
|
|
56090
56137
|
precision_m = 0;
|
|
56091
56138
|
};
|
|
56092
56139
|
__decorateClass([
|
|
56093
|
-
(0,
|
|
56094
|
-
(0,
|
|
56095
|
-
(0,
|
|
56096
|
-
(0,
|
|
56140
|
+
(0, import_class_transformer853.Expose)(),
|
|
56141
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56142
|
+
(0, import_class_validator830.IsString)(),
|
|
56143
|
+
(0, import_class_validator830.IsIn)(PASOS)
|
|
56097
56144
|
], WorkflowVeredaDTO.prototype, "paso", 2);
|
|
56098
56145
|
__decorateClass([
|
|
56099
|
-
(0,
|
|
56100
|
-
(0,
|
|
56101
|
-
(0,
|
|
56102
|
-
(0,
|
|
56146
|
+
(0, import_class_transformer853.Expose)(),
|
|
56147
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56148
|
+
(0, import_class_validator830.IsDate)(),
|
|
56149
|
+
(0, import_class_transformer853.Type)(() => Date)
|
|
56103
56150
|
], WorkflowVeredaDTO.prototype, "fecha", 2);
|
|
56104
56151
|
__decorateClass([
|
|
56105
|
-
(0,
|
|
56106
|
-
(0,
|
|
56107
|
-
(0,
|
|
56152
|
+
(0, import_class_transformer853.Expose)(),
|
|
56153
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56154
|
+
(0, import_class_validator830.IsNumber)()
|
|
56108
56155
|
], WorkflowVeredaDTO.prototype, "latitud", 2);
|
|
56109
56156
|
__decorateClass([
|
|
56110
|
-
(0,
|
|
56111
|
-
(0,
|
|
56112
|
-
(0,
|
|
56157
|
+
(0, import_class_transformer853.Expose)(),
|
|
56158
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56159
|
+
(0, import_class_validator830.IsNumber)()
|
|
56113
56160
|
], WorkflowVeredaDTO.prototype, "longitud", 2);
|
|
56114
56161
|
__decorateClass([
|
|
56115
|
-
(0,
|
|
56116
|
-
(0,
|
|
56117
|
-
(0,
|
|
56118
|
-
(0,
|
|
56162
|
+
(0, import_class_transformer853.Expose)(),
|
|
56163
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56164
|
+
(0, import_class_validator830.IsNumber)(),
|
|
56165
|
+
(0, import_class_validator830.Min)(0)
|
|
56119
56166
|
], WorkflowVeredaDTO.prototype, "precision_m", 2);
|
|
56120
56167
|
var FormularioVeredaDTO = class {
|
|
56121
56168
|
metrados = new MetradosVeredaDTO();
|
|
56122
56169
|
observaciones = "";
|
|
56123
56170
|
};
|
|
56124
56171
|
__decorateClass([
|
|
56125
|
-
(0,
|
|
56126
|
-
(0,
|
|
56127
|
-
(0,
|
|
56128
|
-
(0,
|
|
56172
|
+
(0, import_class_transformer853.Expose)(),
|
|
56173
|
+
(0, import_class_validator830.IsDefined)({ message: "es requerido" }),
|
|
56174
|
+
(0, import_class_validator830.ValidateNested)(),
|
|
56175
|
+
(0, import_class_transformer853.Type)(() => MetradosVeredaDTO)
|
|
56129
56176
|
], FormularioVeredaDTO.prototype, "metrados", 2);
|
|
56130
56177
|
__decorateClass([
|
|
56131
|
-
(0,
|
|
56132
|
-
(0,
|
|
56133
|
-
(0,
|
|
56134
|
-
(0,
|
|
56178
|
+
(0, import_class_transformer853.Expose)(),
|
|
56179
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56180
|
+
(0, import_class_validator830.IsString)(),
|
|
56181
|
+
(0, import_class_validator830.MaxLength)(500, { message: "m\xE1ximo 500 caracteres" })
|
|
56135
56182
|
], FormularioVeredaDTO.prototype, "observaciones", 2);
|
|
56136
56183
|
|
|
56137
56184
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/revision-cierre-vereda-dto.ts
|
|
56138
|
-
var
|
|
56139
|
-
var
|
|
56140
|
-
var
|
|
56185
|
+
var import_class_transformer854 = require("class-transformer");
|
|
56186
|
+
var import_class_validator831 = require("class-validator");
|
|
56187
|
+
var import_reflect_metadata82 = require("reflect-metadata");
|
|
56141
56188
|
var ACCIONES_REVISION_VEREDA = ["OBSERVAR", "APROBAR"];
|
|
56142
56189
|
var RevisionVeredaDTO = class {
|
|
56143
56190
|
accion = "";
|
|
@@ -56146,28 +56193,28 @@ var RevisionVeredaDTO = class {
|
|
|
56146
56193
|
fecha = /* @__PURE__ */ new Date();
|
|
56147
56194
|
};
|
|
56148
56195
|
__decorateClass([
|
|
56149
|
-
(0,
|
|
56150
|
-
(0,
|
|
56151
|
-
(0,
|
|
56152
|
-
(0,
|
|
56196
|
+
(0, import_class_transformer854.Expose)(),
|
|
56197
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56198
|
+
(0, import_class_validator831.IsString)(),
|
|
56199
|
+
(0, import_class_validator831.IsIn)(ACCIONES_REVISION_VEREDA)
|
|
56153
56200
|
], RevisionVeredaDTO.prototype, "accion", 2);
|
|
56154
56201
|
__decorateClass([
|
|
56155
|
-
(0,
|
|
56156
|
-
(0,
|
|
56157
|
-
(0,
|
|
56158
|
-
(0,
|
|
56202
|
+
(0, import_class_transformer854.Expose)(),
|
|
56203
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56204
|
+
(0, import_class_validator831.IsString)(),
|
|
56205
|
+
(0, import_class_validator831.Length)(0, 300)
|
|
56159
56206
|
], RevisionVeredaDTO.prototype, "motivo", 2);
|
|
56160
56207
|
__decorateClass([
|
|
56161
|
-
(0,
|
|
56162
|
-
(0,
|
|
56163
|
-
(0,
|
|
56164
|
-
(0,
|
|
56208
|
+
(0, import_class_transformer854.Expose)(),
|
|
56209
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56210
|
+
(0, import_class_validator831.ValidateNested)(),
|
|
56211
|
+
(0, import_class_transformer854.Type)(() => UsuarioDTO)
|
|
56165
56212
|
], RevisionVeredaDTO.prototype, "usuario", 2);
|
|
56166
56213
|
__decorateClass([
|
|
56167
|
-
(0,
|
|
56168
|
-
(0,
|
|
56169
|
-
(0,
|
|
56170
|
-
(0,
|
|
56214
|
+
(0, import_class_transformer854.Expose)(),
|
|
56215
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56216
|
+
(0, import_class_validator831.IsDate)(),
|
|
56217
|
+
(0, import_class_transformer854.Type)(() => Date)
|
|
56171
56218
|
], RevisionVeredaDTO.prototype, "fecha", 2);
|
|
56172
56219
|
var CierreSsamVeredaDTO = class {
|
|
56173
56220
|
fecha = /* @__PURE__ */ new Date();
|
|
@@ -56177,74 +56224,35 @@ var CierreSsamVeredaDTO = class {
|
|
|
56177
56224
|
fecha_registro = /* @__PURE__ */ new Date();
|
|
56178
56225
|
};
|
|
56179
56226
|
__decorateClass([
|
|
56180
|
-
(0,
|
|
56181
|
-
(0,
|
|
56182
|
-
(0,
|
|
56183
|
-
(0,
|
|
56227
|
+
(0, import_class_transformer854.Expose)(),
|
|
56228
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56229
|
+
(0, import_class_validator831.IsDate)(),
|
|
56230
|
+
(0, import_class_transformer854.Type)(() => Date)
|
|
56184
56231
|
], CierreSsamVeredaDTO.prototype, "fecha", 2);
|
|
56185
56232
|
__decorateClass([
|
|
56186
|
-
(0,
|
|
56187
|
-
(0,
|
|
56188
|
-
(0,
|
|
56189
|
-
(0,
|
|
56233
|
+
(0, import_class_transformer854.Expose)(),
|
|
56234
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56235
|
+
(0, import_class_validator831.IsString)(),
|
|
56236
|
+
(0, import_class_validator831.Length)(1, 100)
|
|
56190
56237
|
], CierreSsamVeredaDTO.prototype, "constancia", 2);
|
|
56191
|
-
__decorateClass([
|
|
56192
|
-
(0, import_class_transformer853.Expose)(),
|
|
56193
|
-
(0, import_class_validator830.IsDefined)(),
|
|
56194
|
-
(0, import_class_validator830.IsString)(),
|
|
56195
|
-
(0, import_class_validator830.Length)(0, 300)
|
|
56196
|
-
], CierreSsamVeredaDTO.prototype, "observacion", 2);
|
|
56197
|
-
__decorateClass([
|
|
56198
|
-
(0, import_class_transformer853.Expose)(),
|
|
56199
|
-
(0, import_class_validator830.IsDefined)(),
|
|
56200
|
-
(0, import_class_validator830.ValidateNested)(),
|
|
56201
|
-
(0, import_class_transformer853.Type)(() => UsuarioDTO)
|
|
56202
|
-
], CierreSsamVeredaDTO.prototype, "usuario", 2);
|
|
56203
|
-
__decorateClass([
|
|
56204
|
-
(0, import_class_transformer853.Expose)(),
|
|
56205
|
-
(0, import_class_validator830.IsDefined)(),
|
|
56206
|
-
(0, import_class_validator830.IsDate)(),
|
|
56207
|
-
(0, import_class_transformer853.Type)(() => Date)
|
|
56208
|
-
], CierreSsamVeredaDTO.prototype, "fecha_registro", 2);
|
|
56209
|
-
|
|
56210
|
-
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/desmonte-vereda-dto.ts
|
|
56211
|
-
var import_class_transformer854 = require("class-transformer");
|
|
56212
|
-
var import_class_validator831 = require("class-validator");
|
|
56213
|
-
var import_reflect_metadata82 = require("reflect-metadata");
|
|
56214
|
-
var FECHA_VACIA_VEREDA = () => /* @__PURE__ */ new Date(0);
|
|
56215
|
-
var fechaRegistradaVereda = (fecha) => !!fecha && new Date(fecha).getTime() > 0;
|
|
56216
|
-
var tieneArchivoVereda = (archivo) => !!archivo?.Ruta && !!archivo.Filename;
|
|
56217
|
-
var DesmonteVeredaBodyDTO = class {
|
|
56218
|
-
tiene_desmonte = false;
|
|
56219
|
-
foto = new FilesDocDTO();
|
|
56220
|
-
};
|
|
56221
56238
|
__decorateClass([
|
|
56222
56239
|
(0, import_class_transformer854.Expose)(),
|
|
56223
|
-
(0, import_class_validator831.IsDefined)(
|
|
56224
|
-
(0, import_class_validator831.
|
|
56225
|
-
|
|
56240
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56241
|
+
(0, import_class_validator831.IsString)(),
|
|
56242
|
+
(0, import_class_validator831.Length)(0, 300)
|
|
56243
|
+
], CierreSsamVeredaDTO.prototype, "observacion", 2);
|
|
56226
56244
|
__decorateClass([
|
|
56227
56245
|
(0, import_class_transformer854.Expose)(),
|
|
56228
56246
|
(0, import_class_validator831.IsDefined)(),
|
|
56229
56247
|
(0, import_class_validator831.ValidateNested)(),
|
|
56230
|
-
(0, import_class_transformer854.Type)(() =>
|
|
56231
|
-
|
|
56232
|
-
name: "fotoDesmonteVereda",
|
|
56233
|
-
validator: {
|
|
56234
|
-
validate: (foto, args) => !(args?.object).tiene_desmonte || tieneArchivoVereda(foto),
|
|
56235
|
-
defaultMessage: () => "Adjunte la foto del desmonte"
|
|
56236
|
-
}
|
|
56237
|
-
})
|
|
56238
|
-
], DesmonteVeredaBodyDTO.prototype, "foto", 2);
|
|
56239
|
-
var DesmonteVeredaDTO = class extends DesmonteVeredaBodyDTO {
|
|
56240
|
-
fecha = FECHA_VACIA_VEREDA();
|
|
56241
|
-
};
|
|
56248
|
+
(0, import_class_transformer854.Type)(() => UsuarioDTO)
|
|
56249
|
+
], CierreSsamVeredaDTO.prototype, "usuario", 2);
|
|
56242
56250
|
__decorateClass([
|
|
56243
56251
|
(0, import_class_transformer854.Expose)(),
|
|
56244
56252
|
(0, import_class_validator831.IsDefined)(),
|
|
56245
56253
|
(0, import_class_validator831.IsDate)(),
|
|
56246
56254
|
(0, import_class_transformer854.Type)(() => Date)
|
|
56247
|
-
],
|
|
56255
|
+
], CierreSsamVeredaDTO.prototype, "fecha_registro", 2);
|
|
56248
56256
|
|
|
56249
56257
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/datos-vereda-dto.ts
|
|
56250
56258
|
var import_class_transformer855 = require("class-transformer");
|
|
@@ -58865,6 +58873,8 @@ __decorateClass([
|
|
|
58865
58873
|
var import_class_transformer911 = require("class-transformer");
|
|
58866
58874
|
var AutoInventoryStatusDto = class {
|
|
58867
58875
|
KeyFecha;
|
|
58876
|
+
assigned;
|
|
58877
|
+
reported;
|
|
58868
58878
|
mustReport;
|
|
58869
58879
|
inSchedule;
|
|
58870
58880
|
schedule;
|
|
@@ -58872,6 +58882,12 @@ var AutoInventoryStatusDto = class {
|
|
|
58872
58882
|
__decorateClass([
|
|
58873
58883
|
(0, import_class_transformer911.Expose)()
|
|
58874
58884
|
], AutoInventoryStatusDto.prototype, "KeyFecha", 2);
|
|
58885
|
+
__decorateClass([
|
|
58886
|
+
(0, import_class_transformer911.Expose)()
|
|
58887
|
+
], AutoInventoryStatusDto.prototype, "assigned", 2);
|
|
58888
|
+
__decorateClass([
|
|
58889
|
+
(0, import_class_transformer911.Expose)()
|
|
58890
|
+
], AutoInventoryStatusDto.prototype, "reported", 2);
|
|
58875
58891
|
__decorateClass([
|
|
58876
58892
|
(0, import_class_transformer911.Expose)()
|
|
58877
58893
|
], AutoInventoryStatusDto.prototype, "mustReport", 2);
|
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";
|
|
@@ -55257,9 +55263,50 @@ __decorateClass([
|
|
|
55257
55263
|
], ObservarVeredaDTO.prototype, "motivo", 2);
|
|
55258
55264
|
|
|
55259
55265
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/formulario-civil-vereda-dto.ts
|
|
55266
|
+
import { Expose as Expose825, Type as Type509 } from "class-transformer";
|
|
55267
|
+
import { IsArray as IsArray260, IsDate as IsDate198, IsDefined as IsDefined312, IsIn as IsIn10, IsInt, IsNumber as IsNumber538, IsString as IsString681, Max as Max17, MaxLength as MaxLength10, Min as Min355, ValidateNested as ValidateNested439 } from "class-validator";
|
|
55268
|
+
import "reflect-metadata";
|
|
55269
|
+
|
|
55270
|
+
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/desmonte-vereda-dto.ts
|
|
55260
55271
|
import { Expose as Expose824, Type as Type508 } from "class-transformer";
|
|
55261
|
-
import {
|
|
55272
|
+
import { IsBoolean as IsBoolean76, IsDate as IsDate197, IsDefined as IsDefined311, ValidateBy, ValidateNested as ValidateNested438 } from "class-validator";
|
|
55262
55273
|
import "reflect-metadata";
|
|
55274
|
+
var FECHA_VACIA_VEREDA = () => /* @__PURE__ */ new Date(0);
|
|
55275
|
+
var fechaRegistradaVereda = (fecha) => !!fecha && new Date(fecha).getTime() > 0;
|
|
55276
|
+
var tieneArchivoVereda = (archivo) => !!archivo?.Ruta && !!archivo.Filename;
|
|
55277
|
+
var DesmonteVeredaBodyDTO = class {
|
|
55278
|
+
tiene_desmonte = false;
|
|
55279
|
+
foto = new FilesDocDTO();
|
|
55280
|
+
};
|
|
55281
|
+
__decorateClass([
|
|
55282
|
+
Expose824(),
|
|
55283
|
+
IsDefined311({ message: "es requerido" }),
|
|
55284
|
+
IsBoolean76({ message: "es requerido" })
|
|
55285
|
+
], DesmonteVeredaBodyDTO.prototype, "tiene_desmonte", 2);
|
|
55286
|
+
__decorateClass([
|
|
55287
|
+
Expose824(),
|
|
55288
|
+
IsDefined311(),
|
|
55289
|
+
ValidateNested438(),
|
|
55290
|
+
Type508(() => FilesDocDTO),
|
|
55291
|
+
ValidateBy({
|
|
55292
|
+
name: "fotoDesmonteVereda",
|
|
55293
|
+
validator: {
|
|
55294
|
+
validate: (foto, args) => !(args?.object).tiene_desmonte || tieneArchivoVereda(foto),
|
|
55295
|
+
defaultMessage: () => "Adjunte la foto del desmonte"
|
|
55296
|
+
}
|
|
55297
|
+
})
|
|
55298
|
+
], DesmonteVeredaBodyDTO.prototype, "foto", 2);
|
|
55299
|
+
var DesmonteVeredaDTO = class extends DesmonteVeredaBodyDTO {
|
|
55300
|
+
fecha = FECHA_VACIA_VEREDA();
|
|
55301
|
+
};
|
|
55302
|
+
__decorateClass([
|
|
55303
|
+
Expose824(),
|
|
55304
|
+
IsDefined311(),
|
|
55305
|
+
IsDate197(),
|
|
55306
|
+
Type508(() => Date)
|
|
55307
|
+
], DesmonteVeredaDTO.prototype, "fecha", 2);
|
|
55308
|
+
|
|
55309
|
+
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/formulario-civil-vereda-dto.ts
|
|
55263
55310
|
var PASOS_WORKFLOW_VEREDA = {
|
|
55264
55311
|
INICIO_DE_TRABAJO: { paso: "INICIO_DE_TRABAJO", orden: 1 },
|
|
55265
55312
|
CERRADO: { paso: "CERRADO", orden: 2 }
|
|
@@ -55280,51 +55327,51 @@ var WorkflowPasoVeredaDTO = class {
|
|
|
55280
55327
|
usuario = new UsuarioDTO();
|
|
55281
55328
|
};
|
|
55282
55329
|
__decorateClass([
|
|
55283
|
-
|
|
55284
|
-
|
|
55330
|
+
Expose825(),
|
|
55331
|
+
IsDefined312(),
|
|
55285
55332
|
IsString681(),
|
|
55286
55333
|
IsIn10(PASOS)
|
|
55287
55334
|
], WorkflowPasoVeredaDTO.prototype, "paso", 2);
|
|
55288
55335
|
__decorateClass([
|
|
55289
|
-
|
|
55290
|
-
|
|
55336
|
+
Expose825(),
|
|
55337
|
+
IsDefined312(),
|
|
55291
55338
|
IsInt(),
|
|
55292
55339
|
Min355(1),
|
|
55293
55340
|
Max17(2)
|
|
55294
55341
|
], WorkflowPasoVeredaDTO.prototype, "orden", 2);
|
|
55295
55342
|
__decorateClass([
|
|
55296
|
-
|
|
55297
|
-
|
|
55298
|
-
|
|
55299
|
-
|
|
55343
|
+
Expose825(),
|
|
55344
|
+
IsDefined312(),
|
|
55345
|
+
IsDate198(),
|
|
55346
|
+
Type509(() => Date)
|
|
55300
55347
|
], WorkflowPasoVeredaDTO.prototype, "fecha", 2);
|
|
55301
55348
|
__decorateClass([
|
|
55302
|
-
|
|
55303
|
-
|
|
55304
|
-
|
|
55305
|
-
|
|
55349
|
+
Expose825(),
|
|
55350
|
+
IsDefined312(),
|
|
55351
|
+
IsDate198(),
|
|
55352
|
+
Type509(() => Date)
|
|
55306
55353
|
], WorkflowPasoVeredaDTO.prototype, "fecha_registro", 2);
|
|
55307
55354
|
__decorateClass([
|
|
55308
|
-
|
|
55309
|
-
|
|
55355
|
+
Expose825(),
|
|
55356
|
+
IsDefined312(),
|
|
55310
55357
|
IsNumber538()
|
|
55311
55358
|
], WorkflowPasoVeredaDTO.prototype, "latitud", 2);
|
|
55312
55359
|
__decorateClass([
|
|
55313
|
-
|
|
55314
|
-
|
|
55360
|
+
Expose825(),
|
|
55361
|
+
IsDefined312(),
|
|
55315
55362
|
IsNumber538()
|
|
55316
55363
|
], WorkflowPasoVeredaDTO.prototype, "longitud", 2);
|
|
55317
55364
|
__decorateClass([
|
|
55318
|
-
|
|
55319
|
-
|
|
55365
|
+
Expose825(),
|
|
55366
|
+
IsDefined312(),
|
|
55320
55367
|
IsNumber538(),
|
|
55321
55368
|
Min355(0)
|
|
55322
55369
|
], WorkflowPasoVeredaDTO.prototype, "precision_m", 2);
|
|
55323
55370
|
__decorateClass([
|
|
55324
|
-
|
|
55325
|
-
|
|
55326
|
-
|
|
55327
|
-
|
|
55371
|
+
Expose825(),
|
|
55372
|
+
IsDefined312(),
|
|
55373
|
+
ValidateNested439(),
|
|
55374
|
+
Type509(() => UsuarioDTO)
|
|
55328
55375
|
], WorkflowPasoVeredaDTO.prototype, "usuario", 2);
|
|
55329
55376
|
var MetradosVeredaDTO = class {
|
|
55330
55377
|
pano_ancho_m = 0;
|
|
@@ -55337,50 +55384,50 @@ var MetradosVeredaDTO = class {
|
|
|
55337
55384
|
m2_jardin = 0;
|
|
55338
55385
|
};
|
|
55339
55386
|
__decorateClass([
|
|
55340
|
-
|
|
55341
|
-
|
|
55387
|
+
Expose825(),
|
|
55388
|
+
IsDefined312(),
|
|
55342
55389
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55343
55390
|
Min355(0, MSG_MIN_0)
|
|
55344
55391
|
], MetradosVeredaDTO.prototype, "pano_ancho_m", 2);
|
|
55345
55392
|
__decorateClass([
|
|
55346
|
-
|
|
55347
|
-
|
|
55393
|
+
Expose825(),
|
|
55394
|
+
IsDefined312(),
|
|
55348
55395
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55349
55396
|
Min355(0, MSG_MIN_0)
|
|
55350
55397
|
], MetradosVeredaDTO.prototype, "pano_largo_m", 2);
|
|
55351
55398
|
__decorateClass([
|
|
55352
|
-
|
|
55353
|
-
|
|
55399
|
+
Expose825(),
|
|
55400
|
+
IsDefined312(),
|
|
55354
55401
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55355
55402
|
Min355(0, MSG_MIN_0)
|
|
55356
55403
|
], MetradosVeredaDTO.prototype, "pano_espesor_cm", 2);
|
|
55357
55404
|
__decorateClass([
|
|
55358
|
-
|
|
55359
|
-
|
|
55405
|
+
Expose825(),
|
|
55406
|
+
IsDefined312(),
|
|
55360
55407
|
IsInt(MSG_ENTERO),
|
|
55361
55408
|
Min355(0, MSG_MIN_0)
|
|
55362
55409
|
], MetradosVeredaDTO.prototype, "cantidad_panos", 2);
|
|
55363
55410
|
__decorateClass([
|
|
55364
|
-
|
|
55365
|
-
|
|
55411
|
+
Expose825(),
|
|
55412
|
+
IsDefined312(),
|
|
55366
55413
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55367
55414
|
Min355(0, MSG_MIN_0)
|
|
55368
55415
|
], MetradosVeredaDTO.prototype, "m2_vereda_reparada", 2);
|
|
55369
55416
|
__decorateClass([
|
|
55370
|
-
|
|
55371
|
-
|
|
55417
|
+
Expose825(),
|
|
55418
|
+
IsDefined312(),
|
|
55372
55419
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55373
55420
|
Min355(0, MSG_MIN_0)
|
|
55374
55421
|
], MetradosVeredaDTO.prototype, "m2_vereda_asfalto", 2);
|
|
55375
55422
|
__decorateClass([
|
|
55376
|
-
|
|
55377
|
-
|
|
55423
|
+
Expose825(),
|
|
55424
|
+
IsDefined312(),
|
|
55378
55425
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55379
55426
|
Min355(0, MSG_MIN_0)
|
|
55380
55427
|
], MetradosVeredaDTO.prototype, "m2_piso_especial", 2);
|
|
55381
55428
|
__decorateClass([
|
|
55382
|
-
|
|
55383
|
-
|
|
55429
|
+
Expose825(),
|
|
55430
|
+
IsDefined312(),
|
|
55384
55431
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55385
55432
|
Min355(0, MSG_MIN_0)
|
|
55386
55433
|
], MetradosVeredaDTO.prototype, "m2_jardin", 2);
|
|
@@ -55393,75 +55440,75 @@ var PendienteOriginalVeredaDTO = class {
|
|
|
55393
55440
|
m2_jardin = 0;
|
|
55394
55441
|
};
|
|
55395
55442
|
__decorateClass([
|
|
55396
|
-
|
|
55397
|
-
|
|
55443
|
+
Expose825(),
|
|
55444
|
+
IsDefined312(),
|
|
55398
55445
|
IsString681()
|
|
55399
55446
|
], PendienteOriginalVeredaDTO.prototype, "id_gis", 2);
|
|
55400
55447
|
__decorateClass([
|
|
55401
|
-
|
|
55402
|
-
|
|
55448
|
+
Expose825(),
|
|
55449
|
+
IsDefined312(),
|
|
55403
55450
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55404
55451
|
Min355(0, MSG_MIN_0)
|
|
55405
55452
|
], PendienteOriginalVeredaDTO.prototype, "pano_ancho_m", 2);
|
|
55406
55453
|
__decorateClass([
|
|
55407
|
-
|
|
55408
|
-
|
|
55454
|
+
Expose825(),
|
|
55455
|
+
IsDefined312(),
|
|
55409
55456
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55410
55457
|
Min355(0, MSG_MIN_0)
|
|
55411
55458
|
], PendienteOriginalVeredaDTO.prototype, "pano_largo_m", 2);
|
|
55412
55459
|
__decorateClass([
|
|
55413
|
-
|
|
55414
|
-
|
|
55460
|
+
Expose825(),
|
|
55461
|
+
IsDefined312(),
|
|
55415
55462
|
IsInt(MSG_ENTERO),
|
|
55416
55463
|
Min355(0, MSG_MIN_0)
|
|
55417
55464
|
], PendienteOriginalVeredaDTO.prototype, "cantidad_panos", 2);
|
|
55418
55465
|
__decorateClass([
|
|
55419
|
-
|
|
55420
|
-
|
|
55466
|
+
Expose825(),
|
|
55467
|
+
IsDefined312(),
|
|
55421
55468
|
IsString681()
|
|
55422
55469
|
], PendienteOriginalVeredaDTO.prototype, "tipo_piso", 2);
|
|
55423
55470
|
__decorateClass([
|
|
55424
|
-
|
|
55425
|
-
|
|
55471
|
+
Expose825(),
|
|
55472
|
+
IsDefined312(),
|
|
55426
55473
|
IsNumber538(DECIMALES_2, MSG_NUMERO),
|
|
55427
55474
|
Min355(0, MSG_MIN_0)
|
|
55428
55475
|
], PendienteOriginalVeredaDTO.prototype, "m2_jardin", 2);
|
|
55429
55476
|
var FormularioCivilVeredaDTO = class {
|
|
55430
55477
|
workflow = [];
|
|
55431
|
-
metrados =
|
|
55478
|
+
metrados = new MetradosVeredaDTO();
|
|
55432
55479
|
observaciones = "";
|
|
55433
|
-
pendiente_original =
|
|
55434
|
-
fecha_actualizacion =
|
|
55480
|
+
pendiente_original = new PendienteOriginalVeredaDTO();
|
|
55481
|
+
fecha_actualizacion = FECHA_VACIA_VEREDA();
|
|
55435
55482
|
};
|
|
55436
55483
|
__decorateClass([
|
|
55437
|
-
|
|
55438
|
-
|
|
55484
|
+
Expose825(),
|
|
55485
|
+
IsDefined312(),
|
|
55439
55486
|
IsArray260(),
|
|
55440
|
-
|
|
55441
|
-
|
|
55487
|
+
ValidateNested439({ each: true }),
|
|
55488
|
+
Type509(() => WorkflowPasoVeredaDTO)
|
|
55442
55489
|
], FormularioCivilVeredaDTO.prototype, "workflow", 2);
|
|
55443
55490
|
__decorateClass([
|
|
55444
|
-
|
|
55445
|
-
|
|
55446
|
-
|
|
55447
|
-
|
|
55491
|
+
Expose825(),
|
|
55492
|
+
IsDefined312(),
|
|
55493
|
+
ValidateNested439(),
|
|
55494
|
+
Type509(() => MetradosVeredaDTO)
|
|
55448
55495
|
], FormularioCivilVeredaDTO.prototype, "metrados", 2);
|
|
55449
55496
|
__decorateClass([
|
|
55450
|
-
|
|
55451
|
-
|
|
55497
|
+
Expose825(),
|
|
55498
|
+
IsDefined312(),
|
|
55452
55499
|
IsString681()
|
|
55453
55500
|
], FormularioCivilVeredaDTO.prototype, "observaciones", 2);
|
|
55454
55501
|
__decorateClass([
|
|
55455
|
-
|
|
55456
|
-
|
|
55457
|
-
|
|
55458
|
-
|
|
55502
|
+
Expose825(),
|
|
55503
|
+
IsDefined312(),
|
|
55504
|
+
ValidateNested439(),
|
|
55505
|
+
Type509(() => PendienteOriginalVeredaDTO)
|
|
55459
55506
|
], FormularioCivilVeredaDTO.prototype, "pendiente_original", 2);
|
|
55460
55507
|
__decorateClass([
|
|
55461
|
-
|
|
55462
|
-
|
|
55463
|
-
|
|
55464
|
-
|
|
55508
|
+
Expose825(),
|
|
55509
|
+
IsDefined312(),
|
|
55510
|
+
IsDate198(),
|
|
55511
|
+
Type509(() => Date)
|
|
55465
55512
|
], FormularioCivilVeredaDTO.prototype, "fecha_actualizacion", 2);
|
|
55466
55513
|
var WorkflowVeredaDTO = class {
|
|
55467
55514
|
paso = "";
|
|
@@ -55471,30 +55518,30 @@ var WorkflowVeredaDTO = class {
|
|
|
55471
55518
|
precision_m = 0;
|
|
55472
55519
|
};
|
|
55473
55520
|
__decorateClass([
|
|
55474
|
-
|
|
55475
|
-
|
|
55521
|
+
Expose825(),
|
|
55522
|
+
IsDefined312(),
|
|
55476
55523
|
IsString681(),
|
|
55477
55524
|
IsIn10(PASOS)
|
|
55478
55525
|
], WorkflowVeredaDTO.prototype, "paso", 2);
|
|
55479
55526
|
__decorateClass([
|
|
55480
|
-
|
|
55481
|
-
|
|
55482
|
-
|
|
55483
|
-
|
|
55527
|
+
Expose825(),
|
|
55528
|
+
IsDefined312(),
|
|
55529
|
+
IsDate198(),
|
|
55530
|
+
Type509(() => Date)
|
|
55484
55531
|
], WorkflowVeredaDTO.prototype, "fecha", 2);
|
|
55485
55532
|
__decorateClass([
|
|
55486
|
-
|
|
55487
|
-
|
|
55533
|
+
Expose825(),
|
|
55534
|
+
IsDefined312(),
|
|
55488
55535
|
IsNumber538()
|
|
55489
55536
|
], WorkflowVeredaDTO.prototype, "latitud", 2);
|
|
55490
55537
|
__decorateClass([
|
|
55491
|
-
|
|
55492
|
-
|
|
55538
|
+
Expose825(),
|
|
55539
|
+
IsDefined312(),
|
|
55493
55540
|
IsNumber538()
|
|
55494
55541
|
], WorkflowVeredaDTO.prototype, "longitud", 2);
|
|
55495
55542
|
__decorateClass([
|
|
55496
|
-
|
|
55497
|
-
|
|
55543
|
+
Expose825(),
|
|
55544
|
+
IsDefined312(),
|
|
55498
55545
|
IsNumber538(),
|
|
55499
55546
|
Min355(0)
|
|
55500
55547
|
], WorkflowVeredaDTO.prototype, "precision_m", 2);
|
|
@@ -55503,21 +55550,21 @@ var FormularioVeredaDTO = class {
|
|
|
55503
55550
|
observaciones = "";
|
|
55504
55551
|
};
|
|
55505
55552
|
__decorateClass([
|
|
55506
|
-
|
|
55507
|
-
|
|
55508
|
-
|
|
55509
|
-
|
|
55553
|
+
Expose825(),
|
|
55554
|
+
IsDefined312({ message: "es requerido" }),
|
|
55555
|
+
ValidateNested439(),
|
|
55556
|
+
Type509(() => MetradosVeredaDTO)
|
|
55510
55557
|
], FormularioVeredaDTO.prototype, "metrados", 2);
|
|
55511
55558
|
__decorateClass([
|
|
55512
|
-
|
|
55513
|
-
|
|
55559
|
+
Expose825(),
|
|
55560
|
+
IsDefined312(),
|
|
55514
55561
|
IsString681(),
|
|
55515
55562
|
MaxLength10(500, { message: "m\xE1ximo 500 caracteres" })
|
|
55516
55563
|
], FormularioVeredaDTO.prototype, "observaciones", 2);
|
|
55517
55564
|
|
|
55518
55565
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/revision-cierre-vereda-dto.ts
|
|
55519
|
-
import { Expose as
|
|
55520
|
-
import { IsDate as
|
|
55566
|
+
import { Expose as Expose826, Type as Type510 } from "class-transformer";
|
|
55567
|
+
import { IsDate as IsDate199, IsDefined as IsDefined313, IsIn as IsIn11, IsString as IsString682, Length as Length344, ValidateNested as ValidateNested440 } from "class-validator";
|
|
55521
55568
|
import "reflect-metadata";
|
|
55522
55569
|
var ACCIONES_REVISION_VEREDA = ["OBSERVAR", "APROBAR"];
|
|
55523
55570
|
var RevisionVeredaDTO = class {
|
|
@@ -55527,28 +55574,28 @@ var RevisionVeredaDTO = class {
|
|
|
55527
55574
|
fecha = /* @__PURE__ */ new Date();
|
|
55528
55575
|
};
|
|
55529
55576
|
__decorateClass([
|
|
55530
|
-
|
|
55531
|
-
|
|
55577
|
+
Expose826(),
|
|
55578
|
+
IsDefined313(),
|
|
55532
55579
|
IsString682(),
|
|
55533
55580
|
IsIn11(ACCIONES_REVISION_VEREDA)
|
|
55534
55581
|
], RevisionVeredaDTO.prototype, "accion", 2);
|
|
55535
55582
|
__decorateClass([
|
|
55536
|
-
|
|
55537
|
-
|
|
55583
|
+
Expose826(),
|
|
55584
|
+
IsDefined313(),
|
|
55538
55585
|
IsString682(),
|
|
55539
55586
|
Length344(0, 300)
|
|
55540
55587
|
], RevisionVeredaDTO.prototype, "motivo", 2);
|
|
55541
55588
|
__decorateClass([
|
|
55542
|
-
|
|
55543
|
-
|
|
55544
|
-
|
|
55545
|
-
|
|
55589
|
+
Expose826(),
|
|
55590
|
+
IsDefined313(),
|
|
55591
|
+
ValidateNested440(),
|
|
55592
|
+
Type510(() => UsuarioDTO)
|
|
55546
55593
|
], RevisionVeredaDTO.prototype, "usuario", 2);
|
|
55547
55594
|
__decorateClass([
|
|
55548
|
-
|
|
55549
|
-
|
|
55550
|
-
|
|
55551
|
-
|
|
55595
|
+
Expose826(),
|
|
55596
|
+
IsDefined313(),
|
|
55597
|
+
IsDate199(),
|
|
55598
|
+
Type510(() => Date)
|
|
55552
55599
|
], RevisionVeredaDTO.prototype, "fecha", 2);
|
|
55553
55600
|
var CierreSsamVeredaDTO = class {
|
|
55554
55601
|
fecha = /* @__PURE__ */ new Date();
|
|
@@ -55558,74 +55605,35 @@ var CierreSsamVeredaDTO = class {
|
|
|
55558
55605
|
fecha_registro = /* @__PURE__ */ new Date();
|
|
55559
55606
|
};
|
|
55560
55607
|
__decorateClass([
|
|
55561
|
-
|
|
55562
|
-
|
|
55563
|
-
|
|
55564
|
-
|
|
55608
|
+
Expose826(),
|
|
55609
|
+
IsDefined313(),
|
|
55610
|
+
IsDate199(),
|
|
55611
|
+
Type510(() => Date)
|
|
55565
55612
|
], CierreSsamVeredaDTO.prototype, "fecha", 2);
|
|
55566
55613
|
__decorateClass([
|
|
55567
|
-
|
|
55568
|
-
|
|
55614
|
+
Expose826(),
|
|
55615
|
+
IsDefined313(),
|
|
55569
55616
|
IsString682(),
|
|
55570
55617
|
Length344(1, 100)
|
|
55571
55618
|
], CierreSsamVeredaDTO.prototype, "constancia", 2);
|
|
55572
55619
|
__decorateClass([
|
|
55573
|
-
|
|
55574
|
-
|
|
55620
|
+
Expose826(),
|
|
55621
|
+
IsDefined313(),
|
|
55575
55622
|
IsString682(),
|
|
55576
55623
|
Length344(0, 300)
|
|
55577
55624
|
], CierreSsamVeredaDTO.prototype, "observacion", 2);
|
|
55578
|
-
__decorateClass([
|
|
55579
|
-
Expose825(),
|
|
55580
|
-
IsDefined312(),
|
|
55581
|
-
ValidateNested439(),
|
|
55582
|
-
Type509(() => UsuarioDTO)
|
|
55583
|
-
], CierreSsamVeredaDTO.prototype, "usuario", 2);
|
|
55584
|
-
__decorateClass([
|
|
55585
|
-
Expose825(),
|
|
55586
|
-
IsDefined312(),
|
|
55587
|
-
IsDate198(),
|
|
55588
|
-
Type509(() => Date)
|
|
55589
|
-
], CierreSsamVeredaDTO.prototype, "fecha_registro", 2);
|
|
55590
|
-
|
|
55591
|
-
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/desmonte-vereda-dto.ts
|
|
55592
|
-
import { Expose as Expose826, Type as Type510 } from "class-transformer";
|
|
55593
|
-
import { IsBoolean as IsBoolean76, IsDate as IsDate199, IsDefined as IsDefined313, ValidateBy, ValidateNested as ValidateNested440 } from "class-validator";
|
|
55594
|
-
import "reflect-metadata";
|
|
55595
|
-
var FECHA_VACIA_VEREDA = () => /* @__PURE__ */ new Date(0);
|
|
55596
|
-
var fechaRegistradaVereda = (fecha) => !!fecha && new Date(fecha).getTime() > 0;
|
|
55597
|
-
var tieneArchivoVereda = (archivo) => !!archivo?.Ruta && !!archivo.Filename;
|
|
55598
|
-
var DesmonteVeredaBodyDTO = class {
|
|
55599
|
-
tiene_desmonte = false;
|
|
55600
|
-
foto = new FilesDocDTO();
|
|
55601
|
-
};
|
|
55602
|
-
__decorateClass([
|
|
55603
|
-
Expose826(),
|
|
55604
|
-
IsDefined313({ message: "es requerido" }),
|
|
55605
|
-
IsBoolean76({ message: "es requerido" })
|
|
55606
|
-
], DesmonteVeredaBodyDTO.prototype, "tiene_desmonte", 2);
|
|
55607
55625
|
__decorateClass([
|
|
55608
55626
|
Expose826(),
|
|
55609
55627
|
IsDefined313(),
|
|
55610
55628
|
ValidateNested440(),
|
|
55611
|
-
Type510(() =>
|
|
55612
|
-
|
|
55613
|
-
name: "fotoDesmonteVereda",
|
|
55614
|
-
validator: {
|
|
55615
|
-
validate: (foto, args) => !(args?.object).tiene_desmonte || tieneArchivoVereda(foto),
|
|
55616
|
-
defaultMessage: () => "Adjunte la foto del desmonte"
|
|
55617
|
-
}
|
|
55618
|
-
})
|
|
55619
|
-
], DesmonteVeredaBodyDTO.prototype, "foto", 2);
|
|
55620
|
-
var DesmonteVeredaDTO = class extends DesmonteVeredaBodyDTO {
|
|
55621
|
-
fecha = FECHA_VACIA_VEREDA();
|
|
55622
|
-
};
|
|
55629
|
+
Type510(() => UsuarioDTO)
|
|
55630
|
+
], CierreSsamVeredaDTO.prototype, "usuario", 2);
|
|
55623
55631
|
__decorateClass([
|
|
55624
55632
|
Expose826(),
|
|
55625
55633
|
IsDefined313(),
|
|
55626
55634
|
IsDate199(),
|
|
55627
55635
|
Type510(() => Date)
|
|
55628
|
-
],
|
|
55636
|
+
], CierreSsamVeredaDTO.prototype, "fecha_registro", 2);
|
|
55629
55637
|
|
|
55630
55638
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/datos-vereda-dto.ts
|
|
55631
55639
|
import { Expose as Expose827, Type as Type511 } from "class-transformer";
|
|
@@ -58338,6 +58346,8 @@ __decorateClass([
|
|
|
58338
58346
|
import { Expose as Expose882 } from "class-transformer";
|
|
58339
58347
|
var AutoInventoryStatusDto = class {
|
|
58340
58348
|
KeyFecha;
|
|
58349
|
+
assigned;
|
|
58350
|
+
reported;
|
|
58341
58351
|
mustReport;
|
|
58342
58352
|
inSchedule;
|
|
58343
58353
|
schedule;
|
|
@@ -58345,6 +58355,12 @@ var AutoInventoryStatusDto = class {
|
|
|
58345
58355
|
__decorateClass([
|
|
58346
58356
|
Expose882()
|
|
58347
58357
|
], AutoInventoryStatusDto.prototype, "KeyFecha", 2);
|
|
58358
|
+
__decorateClass([
|
|
58359
|
+
Expose882()
|
|
58360
|
+
], AutoInventoryStatusDto.prototype, "assigned", 2);
|
|
58361
|
+
__decorateClass([
|
|
58362
|
+
Expose882()
|
|
58363
|
+
], AutoInventoryStatusDto.prototype, "reported", 2);
|
|
58348
58364
|
__decorateClass([
|
|
58349
58365
|
Expose882()
|
|
58350
58366
|
], AutoInventoryStatusDto.prototype, "mustReport", 2);
|