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