sigo-entities 1.2.558 → 1.2.559
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 +42 -24
- package/dist/index.d.ts +42 -24
- package/dist/index.js +233 -212
- package/dist/index.mjs +187 -170
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -270,6 +270,7 @@ __export(index_exports, {
|
|
|
270
270
|
DeleteBaremoFaseDTO: () => DeleteBaremoFaseDTO,
|
|
271
271
|
DeleteFileSomacylOrderDto: () => DeleteFileSomacylOrderDto,
|
|
272
272
|
DeleteInventorySomacylOrderDto: () => DeleteInventorySomacylOrderDto,
|
|
273
|
+
DesmonteVeredaBodyDTO: () => DesmonteVeredaBodyDTO,
|
|
273
274
|
DesmonteVeredaDTO: () => DesmonteVeredaDTO,
|
|
274
275
|
DestinatarioDTO: () => DestinatarioDTO,
|
|
275
276
|
DetailMaintenanceOrderDTO: () => DetailMaintenanceOrderDTO,
|
|
@@ -385,6 +386,7 @@ __export(index_exports, {
|
|
|
385
386
|
EstadoTOADTO: () => EstadoTOADTO,
|
|
386
387
|
Estado_Model_MO: () => Estado_Model_MO,
|
|
387
388
|
EstadosTuvesEnum: () => EstadosTuvesEnum,
|
|
389
|
+
FECHA_VACIA_VEREDA: () => FECHA_VACIA_VEREDA,
|
|
388
390
|
FacturaDto: () => FacturaDto,
|
|
389
391
|
FacturaGeneradaDTO: () => FacturaGeneradaDTO,
|
|
390
392
|
FacturacionDTO: () => FacturacionDTO,
|
|
@@ -1015,6 +1017,7 @@ __export(index_exports, {
|
|
|
1015
1017
|
convertTypeNumber: () => convertTypeNumber,
|
|
1016
1018
|
entityToMongoJsonSchema: () => entityToMongoJsonSchema,
|
|
1017
1019
|
enumToArray: () => enumToArray,
|
|
1020
|
+
fechaRegistradaVereda: () => fechaRegistradaVereda,
|
|
1018
1021
|
getFirstError: () => getFirstError,
|
|
1019
1022
|
hydrate: () => hydrate,
|
|
1020
1023
|
itemsCanalizacion: () => itemsCanalizacion,
|
|
@@ -1022,6 +1025,7 @@ __export(index_exports, {
|
|
|
1022
1025
|
itemsCantidadMaxima: () => itemsCantidadMaxima,
|
|
1023
1026
|
latLngDTO: () => latLngDTO,
|
|
1024
1027
|
removeUndefined: () => removeUndefined,
|
|
1028
|
+
tieneArchivoVereda: () => tieneArchivoVereda,
|
|
1025
1029
|
transformToDateIfEmpty: () => transformToDateIfEmpty,
|
|
1026
1030
|
trimAndUpperCaseString: () => trimAndUpperCaseString,
|
|
1027
1031
|
validateAndFormatData: () => validateAndFormatData,
|
|
@@ -55872,9 +55876,44 @@ __decorateClass([
|
|
|
55872
55876
|
], ObservarVeredaDTO.prototype, "motivo", 2);
|
|
55873
55877
|
|
|
55874
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
|
|
55875
55884
|
var import_class_transformer852 = require("class-transformer");
|
|
55876
55885
|
var import_class_validator829 = require("class-validator");
|
|
55877
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.ValidateIf)((o) => o.tiene_desmonte),
|
|
55902
|
+
(0, import_class_validator829.IsDefined)({ message: "Adjunte la foto del desmonte" }),
|
|
55903
|
+
(0, import_class_validator829.ValidateNested)(),
|
|
55904
|
+
(0, import_class_transformer852.Type)(() => FilesDocDTO)
|
|
55905
|
+
], DesmonteVeredaBodyDTO.prototype, "foto", 2);
|
|
55906
|
+
var DesmonteVeredaDTO = class extends DesmonteVeredaBodyDTO {
|
|
55907
|
+
fecha = FECHA_VACIA_VEREDA();
|
|
55908
|
+
};
|
|
55909
|
+
__decorateClass([
|
|
55910
|
+
(0, import_class_transformer852.Expose)(),
|
|
55911
|
+
(0, import_class_validator829.IsDefined)(),
|
|
55912
|
+
(0, import_class_validator829.IsDate)(),
|
|
55913
|
+
(0, import_class_transformer852.Type)(() => Date)
|
|
55914
|
+
], DesmonteVeredaDTO.prototype, "fecha", 2);
|
|
55915
|
+
|
|
55916
|
+
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/formulario-civil-vereda-dto.ts
|
|
55878
55917
|
var PASOS_WORKFLOW_VEREDA = {
|
|
55879
55918
|
INICIO_DE_TRABAJO: { paso: "INICIO_DE_TRABAJO", orden: 1 },
|
|
55880
55919
|
CERRADO: { paso: "CERRADO", orden: 2 }
|
|
@@ -55895,51 +55934,51 @@ var WorkflowPasoVeredaDTO = class {
|
|
|
55895
55934
|
usuario = new UsuarioDTO();
|
|
55896
55935
|
};
|
|
55897
55936
|
__decorateClass([
|
|
55898
|
-
(0,
|
|
55899
|
-
(0,
|
|
55900
|
-
(0,
|
|
55901
|
-
(0,
|
|
55937
|
+
(0, import_class_transformer853.Expose)(),
|
|
55938
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55939
|
+
(0, import_class_validator830.IsString)(),
|
|
55940
|
+
(0, import_class_validator830.IsIn)(PASOS)
|
|
55902
55941
|
], WorkflowPasoVeredaDTO.prototype, "paso", 2);
|
|
55903
55942
|
__decorateClass([
|
|
55904
|
-
(0,
|
|
55905
|
-
(0,
|
|
55906
|
-
(0,
|
|
55907
|
-
(0,
|
|
55908
|
-
(0,
|
|
55943
|
+
(0, import_class_transformer853.Expose)(),
|
|
55944
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55945
|
+
(0, import_class_validator830.IsInt)(),
|
|
55946
|
+
(0, import_class_validator830.Min)(1),
|
|
55947
|
+
(0, import_class_validator830.Max)(2)
|
|
55909
55948
|
], WorkflowPasoVeredaDTO.prototype, "orden", 2);
|
|
55910
55949
|
__decorateClass([
|
|
55911
|
-
(0,
|
|
55912
|
-
(0,
|
|
55913
|
-
(0,
|
|
55914
|
-
(0,
|
|
55950
|
+
(0, import_class_transformer853.Expose)(),
|
|
55951
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55952
|
+
(0, import_class_validator830.IsDate)(),
|
|
55953
|
+
(0, import_class_transformer853.Type)(() => Date)
|
|
55915
55954
|
], WorkflowPasoVeredaDTO.prototype, "fecha", 2);
|
|
55916
55955
|
__decorateClass([
|
|
55917
|
-
(0,
|
|
55918
|
-
(0,
|
|
55919
|
-
(0,
|
|
55920
|
-
(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)
|
|
55921
55960
|
], WorkflowPasoVeredaDTO.prototype, "fecha_registro", 2);
|
|
55922
55961
|
__decorateClass([
|
|
55923
|
-
(0,
|
|
55924
|
-
(0,
|
|
55925
|
-
(0,
|
|
55962
|
+
(0, import_class_transformer853.Expose)(),
|
|
55963
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55964
|
+
(0, import_class_validator830.IsNumber)()
|
|
55926
55965
|
], WorkflowPasoVeredaDTO.prototype, "latitud", 2);
|
|
55927
55966
|
__decorateClass([
|
|
55928
|
-
(0,
|
|
55929
|
-
(0,
|
|
55930
|
-
(0,
|
|
55967
|
+
(0, import_class_transformer853.Expose)(),
|
|
55968
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55969
|
+
(0, import_class_validator830.IsNumber)()
|
|
55931
55970
|
], WorkflowPasoVeredaDTO.prototype, "longitud", 2);
|
|
55932
55971
|
__decorateClass([
|
|
55933
|
-
(0,
|
|
55934
|
-
(0,
|
|
55935
|
-
(0,
|
|
55936
|
-
(0,
|
|
55972
|
+
(0, import_class_transformer853.Expose)(),
|
|
55973
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55974
|
+
(0, import_class_validator830.IsNumber)(),
|
|
55975
|
+
(0, import_class_validator830.Min)(0)
|
|
55937
55976
|
], WorkflowPasoVeredaDTO.prototype, "precision_m", 2);
|
|
55938
55977
|
__decorateClass([
|
|
55939
|
-
(0,
|
|
55940
|
-
(0,
|
|
55941
|
-
(0,
|
|
55942
|
-
(0,
|
|
55978
|
+
(0, import_class_transformer853.Expose)(),
|
|
55979
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55980
|
+
(0, import_class_validator830.ValidateNested)(),
|
|
55981
|
+
(0, import_class_transformer853.Type)(() => UsuarioDTO)
|
|
55943
55982
|
], WorkflowPasoVeredaDTO.prototype, "usuario", 2);
|
|
55944
55983
|
var MetradosVeredaDTO = class {
|
|
55945
55984
|
pano_ancho_m = 0;
|
|
@@ -55952,52 +55991,52 @@ var MetradosVeredaDTO = class {
|
|
|
55952
55991
|
m2_jardin = 0;
|
|
55953
55992
|
};
|
|
55954
55993
|
__decorateClass([
|
|
55955
|
-
(0,
|
|
55956
|
-
(0,
|
|
55957
|
-
(0,
|
|
55958
|
-
(0,
|
|
55994
|
+
(0, import_class_transformer853.Expose)(),
|
|
55995
|
+
(0, import_class_validator830.IsDefined)(),
|
|
55996
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55997
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
55959
55998
|
], MetradosVeredaDTO.prototype, "pano_ancho_m", 2);
|
|
55960
55999
|
__decorateClass([
|
|
55961
|
-
(0,
|
|
55962
|
-
(0,
|
|
55963
|
-
(0,
|
|
55964
|
-
(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)
|
|
55965
56004
|
], MetradosVeredaDTO.prototype, "pano_largo_m", 2);
|
|
55966
56005
|
__decorateClass([
|
|
55967
|
-
(0,
|
|
55968
|
-
(0,
|
|
55969
|
-
(0,
|
|
55970
|
-
(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)
|
|
55971
56010
|
], MetradosVeredaDTO.prototype, "pano_espesor_cm", 2);
|
|
55972
56011
|
__decorateClass([
|
|
55973
|
-
(0,
|
|
55974
|
-
(0,
|
|
55975
|
-
(0,
|
|
55976
|
-
(0,
|
|
56012
|
+
(0, import_class_transformer853.Expose)(),
|
|
56013
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56014
|
+
(0, import_class_validator830.IsInt)(MSG_ENTERO),
|
|
56015
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
55977
56016
|
], MetradosVeredaDTO.prototype, "cantidad_panos", 2);
|
|
55978
56017
|
__decorateClass([
|
|
55979
|
-
(0,
|
|
55980
|
-
(0,
|
|
55981
|
-
(0,
|
|
55982
|
-
(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)
|
|
55983
56022
|
], MetradosVeredaDTO.prototype, "m2_vereda_reparada", 2);
|
|
55984
56023
|
__decorateClass([
|
|
55985
|
-
(0,
|
|
55986
|
-
(0,
|
|
55987
|
-
(0,
|
|
55988
|
-
(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)
|
|
55989
56028
|
], MetradosVeredaDTO.prototype, "m2_vereda_asfalto", 2);
|
|
55990
56029
|
__decorateClass([
|
|
55991
|
-
(0,
|
|
55992
|
-
(0,
|
|
55993
|
-
(0,
|
|
55994
|
-
(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)
|
|
55995
56034
|
], MetradosVeredaDTO.prototype, "m2_piso_especial", 2);
|
|
55996
56035
|
__decorateClass([
|
|
55997
|
-
(0,
|
|
55998
|
-
(0,
|
|
55999
|
-
(0,
|
|
56000
|
-
(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)
|
|
56001
56040
|
], MetradosVeredaDTO.prototype, "m2_jardin", 2);
|
|
56002
56041
|
var PendienteOriginalVeredaDTO = class {
|
|
56003
56042
|
id_gis = "";
|
|
@@ -56008,75 +56047,75 @@ var PendienteOriginalVeredaDTO = class {
|
|
|
56008
56047
|
m2_jardin = 0;
|
|
56009
56048
|
};
|
|
56010
56049
|
__decorateClass([
|
|
56011
|
-
(0,
|
|
56012
|
-
(0,
|
|
56013
|
-
(0,
|
|
56050
|
+
(0, import_class_transformer853.Expose)(),
|
|
56051
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56052
|
+
(0, import_class_validator830.IsString)()
|
|
56014
56053
|
], PendienteOriginalVeredaDTO.prototype, "id_gis", 2);
|
|
56015
56054
|
__decorateClass([
|
|
56016
|
-
(0,
|
|
56017
|
-
(0,
|
|
56018
|
-
(0,
|
|
56019
|
-
(0,
|
|
56055
|
+
(0, import_class_transformer853.Expose)(),
|
|
56056
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56057
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56058
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
56020
56059
|
], PendienteOriginalVeredaDTO.prototype, "pano_ancho_m", 2);
|
|
56021
56060
|
__decorateClass([
|
|
56022
|
-
(0,
|
|
56023
|
-
(0,
|
|
56024
|
-
(0,
|
|
56025
|
-
(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)
|
|
56026
56065
|
], PendienteOriginalVeredaDTO.prototype, "pano_largo_m", 2);
|
|
56027
56066
|
__decorateClass([
|
|
56028
|
-
(0,
|
|
56029
|
-
(0,
|
|
56030
|
-
(0,
|
|
56031
|
-
(0,
|
|
56067
|
+
(0, import_class_transformer853.Expose)(),
|
|
56068
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56069
|
+
(0, import_class_validator830.IsInt)(MSG_ENTERO),
|
|
56070
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
56032
56071
|
], PendienteOriginalVeredaDTO.prototype, "cantidad_panos", 2);
|
|
56033
56072
|
__decorateClass([
|
|
56034
|
-
(0,
|
|
56035
|
-
(0,
|
|
56036
|
-
(0,
|
|
56073
|
+
(0, import_class_transformer853.Expose)(),
|
|
56074
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56075
|
+
(0, import_class_validator830.IsString)()
|
|
56037
56076
|
], PendienteOriginalVeredaDTO.prototype, "tipo_piso", 2);
|
|
56038
56077
|
__decorateClass([
|
|
56039
|
-
(0,
|
|
56040
|
-
(0,
|
|
56041
|
-
(0,
|
|
56042
|
-
(0,
|
|
56078
|
+
(0, import_class_transformer853.Expose)(),
|
|
56079
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56080
|
+
(0, import_class_validator830.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
56081
|
+
(0, import_class_validator830.Min)(0, MSG_MIN_0)
|
|
56043
56082
|
], PendienteOriginalVeredaDTO.prototype, "m2_jardin", 2);
|
|
56044
56083
|
var FormularioCivilVeredaDTO = class {
|
|
56045
56084
|
workflow = [];
|
|
56046
|
-
metrados =
|
|
56085
|
+
metrados = new MetradosVeredaDTO();
|
|
56047
56086
|
observaciones = "";
|
|
56048
|
-
pendiente_original =
|
|
56049
|
-
fecha_actualizacion =
|
|
56087
|
+
pendiente_original = new PendienteOriginalVeredaDTO();
|
|
56088
|
+
fecha_actualizacion = FECHA_VACIA_VEREDA();
|
|
56050
56089
|
};
|
|
56051
56090
|
__decorateClass([
|
|
56052
|
-
(0,
|
|
56053
|
-
(0,
|
|
56054
|
-
(0,
|
|
56055
|
-
(0,
|
|
56056
|
-
(0,
|
|
56091
|
+
(0, import_class_transformer853.Expose)(),
|
|
56092
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56093
|
+
(0, import_class_validator830.IsArray)(),
|
|
56094
|
+
(0, import_class_validator830.ValidateNested)({ each: true }),
|
|
56095
|
+
(0, import_class_transformer853.Type)(() => WorkflowPasoVeredaDTO)
|
|
56057
56096
|
], FormularioCivilVeredaDTO.prototype, "workflow", 2);
|
|
56058
56097
|
__decorateClass([
|
|
56059
|
-
(0,
|
|
56060
|
-
(0,
|
|
56061
|
-
(0,
|
|
56062
|
-
(0,
|
|
56098
|
+
(0, import_class_transformer853.Expose)(),
|
|
56099
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56100
|
+
(0, import_class_validator830.ValidateNested)(),
|
|
56101
|
+
(0, import_class_transformer853.Type)(() => MetradosVeredaDTO)
|
|
56063
56102
|
], FormularioCivilVeredaDTO.prototype, "metrados", 2);
|
|
56064
56103
|
__decorateClass([
|
|
56065
|
-
(0,
|
|
56066
|
-
(0,
|
|
56067
|
-
(0,
|
|
56104
|
+
(0, import_class_transformer853.Expose)(),
|
|
56105
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56106
|
+
(0, import_class_validator830.IsString)()
|
|
56068
56107
|
], FormularioCivilVeredaDTO.prototype, "observaciones", 2);
|
|
56069
56108
|
__decorateClass([
|
|
56070
|
-
(0,
|
|
56071
|
-
(0,
|
|
56072
|
-
(0,
|
|
56073
|
-
(0,
|
|
56109
|
+
(0, import_class_transformer853.Expose)(),
|
|
56110
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56111
|
+
(0, import_class_validator830.ValidateNested)(),
|
|
56112
|
+
(0, import_class_transformer853.Type)(() => PendienteOriginalVeredaDTO)
|
|
56074
56113
|
], FormularioCivilVeredaDTO.prototype, "pendiente_original", 2);
|
|
56075
56114
|
__decorateClass([
|
|
56076
|
-
(0,
|
|
56077
|
-
(0,
|
|
56078
|
-
(0,
|
|
56079
|
-
(0,
|
|
56115
|
+
(0, import_class_transformer853.Expose)(),
|
|
56116
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56117
|
+
(0, import_class_validator830.IsDate)(),
|
|
56118
|
+
(0, import_class_transformer853.Type)(() => Date)
|
|
56080
56119
|
], FormularioCivilVeredaDTO.prototype, "fecha_actualizacion", 2);
|
|
56081
56120
|
var WorkflowVeredaDTO = class {
|
|
56082
56121
|
paso = "";
|
|
@@ -56086,143 +56125,122 @@ var WorkflowVeredaDTO = class {
|
|
|
56086
56125
|
precision_m = 0;
|
|
56087
56126
|
};
|
|
56088
56127
|
__decorateClass([
|
|
56089
|
-
(0,
|
|
56090
|
-
(0,
|
|
56091
|
-
(0,
|
|
56092
|
-
(0,
|
|
56128
|
+
(0, import_class_transformer853.Expose)(),
|
|
56129
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56130
|
+
(0, import_class_validator830.IsString)(),
|
|
56131
|
+
(0, import_class_validator830.IsIn)(PASOS)
|
|
56093
56132
|
], WorkflowVeredaDTO.prototype, "paso", 2);
|
|
56094
56133
|
__decorateClass([
|
|
56095
|
-
(0,
|
|
56096
|
-
(0,
|
|
56097
|
-
(0,
|
|
56098
|
-
(0,
|
|
56134
|
+
(0, import_class_transformer853.Expose)(),
|
|
56135
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56136
|
+
(0, import_class_validator830.IsDate)(),
|
|
56137
|
+
(0, import_class_transformer853.Type)(() => Date)
|
|
56099
56138
|
], WorkflowVeredaDTO.prototype, "fecha", 2);
|
|
56100
56139
|
__decorateClass([
|
|
56101
|
-
(0,
|
|
56102
|
-
(0,
|
|
56103
|
-
(0,
|
|
56140
|
+
(0, import_class_transformer853.Expose)(),
|
|
56141
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56142
|
+
(0, import_class_validator830.IsNumber)()
|
|
56104
56143
|
], WorkflowVeredaDTO.prototype, "latitud", 2);
|
|
56105
56144
|
__decorateClass([
|
|
56106
|
-
(0,
|
|
56107
|
-
(0,
|
|
56108
|
-
(0,
|
|
56145
|
+
(0, import_class_transformer853.Expose)(),
|
|
56146
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56147
|
+
(0, import_class_validator830.IsNumber)()
|
|
56109
56148
|
], WorkflowVeredaDTO.prototype, "longitud", 2);
|
|
56110
56149
|
__decorateClass([
|
|
56111
|
-
(0,
|
|
56112
|
-
(0,
|
|
56113
|
-
(0,
|
|
56114
|
-
(0,
|
|
56150
|
+
(0, import_class_transformer853.Expose)(),
|
|
56151
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56152
|
+
(0, import_class_validator830.IsNumber)(),
|
|
56153
|
+
(0, import_class_validator830.Min)(0)
|
|
56115
56154
|
], WorkflowVeredaDTO.prototype, "precision_m", 2);
|
|
56116
56155
|
var FormularioVeredaDTO = class {
|
|
56117
56156
|
metrados = new MetradosVeredaDTO();
|
|
56118
56157
|
observaciones = "";
|
|
56119
56158
|
};
|
|
56120
56159
|
__decorateClass([
|
|
56121
|
-
(0,
|
|
56122
|
-
(0,
|
|
56123
|
-
(0,
|
|
56124
|
-
(0,
|
|
56160
|
+
(0, import_class_transformer853.Expose)(),
|
|
56161
|
+
(0, import_class_validator830.IsDefined)({ message: "es requerido" }),
|
|
56162
|
+
(0, import_class_validator830.ValidateNested)(),
|
|
56163
|
+
(0, import_class_transformer853.Type)(() => MetradosVeredaDTO)
|
|
56125
56164
|
], FormularioVeredaDTO.prototype, "metrados", 2);
|
|
56126
56165
|
__decorateClass([
|
|
56127
|
-
(0,
|
|
56128
|
-
(0,
|
|
56129
|
-
(0,
|
|
56130
|
-
(0,
|
|
56166
|
+
(0, import_class_transformer853.Expose)(),
|
|
56167
|
+
(0, import_class_validator830.IsDefined)(),
|
|
56168
|
+
(0, import_class_validator830.IsString)(),
|
|
56169
|
+
(0, import_class_validator830.MaxLength)(500, { message: "m\xE1ximo 500 caracteres" })
|
|
56131
56170
|
], FormularioVeredaDTO.prototype, "observaciones", 2);
|
|
56132
56171
|
|
|
56133
56172
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/revision-cierre-vereda-dto.ts
|
|
56134
|
-
var
|
|
56135
|
-
var
|
|
56136
|
-
var
|
|
56173
|
+
var import_class_transformer854 = require("class-transformer");
|
|
56174
|
+
var import_class_validator831 = require("class-validator");
|
|
56175
|
+
var import_reflect_metadata82 = require("reflect-metadata");
|
|
56137
56176
|
var ACCIONES_REVISION_VEREDA = ["OBSERVAR", "APROBAR"];
|
|
56138
56177
|
var RevisionVeredaDTO = class {
|
|
56139
56178
|
accion = "";
|
|
56140
56179
|
motivo = "";
|
|
56141
56180
|
usuario = new UsuarioDTO();
|
|
56142
|
-
fecha =
|
|
56181
|
+
fecha = FECHA_VACIA_VEREDA();
|
|
56143
56182
|
};
|
|
56144
56183
|
__decorateClass([
|
|
56145
|
-
(0,
|
|
56146
|
-
(0,
|
|
56147
|
-
(0,
|
|
56148
|
-
(0,
|
|
56184
|
+
(0, import_class_transformer854.Expose)(),
|
|
56185
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56186
|
+
(0, import_class_validator831.IsString)(),
|
|
56187
|
+
(0, import_class_validator831.IsIn)(["", ...ACCIONES_REVISION_VEREDA])
|
|
56149
56188
|
], RevisionVeredaDTO.prototype, "accion", 2);
|
|
56150
56189
|
__decorateClass([
|
|
56151
|
-
(0,
|
|
56152
|
-
(0,
|
|
56153
|
-
(0,
|
|
56154
|
-
(0,
|
|
56190
|
+
(0, import_class_transformer854.Expose)(),
|
|
56191
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56192
|
+
(0, import_class_validator831.IsString)(),
|
|
56193
|
+
(0, import_class_validator831.Length)(0, 300)
|
|
56155
56194
|
], RevisionVeredaDTO.prototype, "motivo", 2);
|
|
56156
56195
|
__decorateClass([
|
|
56157
|
-
(0,
|
|
56158
|
-
(0,
|
|
56159
|
-
(0,
|
|
56160
|
-
(0,
|
|
56196
|
+
(0, import_class_transformer854.Expose)(),
|
|
56197
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56198
|
+
(0, import_class_validator831.ValidateNested)(),
|
|
56199
|
+
(0, import_class_transformer854.Type)(() => UsuarioDTO)
|
|
56161
56200
|
], RevisionVeredaDTO.prototype, "usuario", 2);
|
|
56162
56201
|
__decorateClass([
|
|
56163
|
-
(0,
|
|
56164
|
-
(0,
|
|
56165
|
-
(0,
|
|
56166
|
-
(0,
|
|
56202
|
+
(0, import_class_transformer854.Expose)(),
|
|
56203
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56204
|
+
(0, import_class_validator831.IsDate)(),
|
|
56205
|
+
(0, import_class_transformer854.Type)(() => Date)
|
|
56167
56206
|
], RevisionVeredaDTO.prototype, "fecha", 2);
|
|
56168
56207
|
var CierreSsamVeredaDTO = class {
|
|
56169
|
-
fecha =
|
|
56208
|
+
fecha = FECHA_VACIA_VEREDA();
|
|
56170
56209
|
constancia = "";
|
|
56171
56210
|
observacion = "";
|
|
56172
56211
|
usuario = new UsuarioDTO();
|
|
56173
|
-
fecha_registro =
|
|
56212
|
+
fecha_registro = FECHA_VACIA_VEREDA();
|
|
56174
56213
|
};
|
|
56175
56214
|
__decorateClass([
|
|
56176
|
-
(0,
|
|
56177
|
-
(0,
|
|
56178
|
-
(0,
|
|
56179
|
-
(0,
|
|
56215
|
+
(0, import_class_transformer854.Expose)(),
|
|
56216
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56217
|
+
(0, import_class_validator831.IsDate)(),
|
|
56218
|
+
(0, import_class_transformer854.Type)(() => Date)
|
|
56180
56219
|
], CierreSsamVeredaDTO.prototype, "fecha", 2);
|
|
56181
56220
|
__decorateClass([
|
|
56182
|
-
(0,
|
|
56183
|
-
(0,
|
|
56184
|
-
(0,
|
|
56185
|
-
(0,
|
|
56221
|
+
(0, import_class_transformer854.Expose)(),
|
|
56222
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56223
|
+
(0, import_class_validator831.IsString)(),
|
|
56224
|
+
(0, import_class_validator831.Length)(0, 100)
|
|
56186
56225
|
], CierreSsamVeredaDTO.prototype, "constancia", 2);
|
|
56187
56226
|
__decorateClass([
|
|
56188
|
-
(0,
|
|
56189
|
-
(0,
|
|
56190
|
-
(0,
|
|
56191
|
-
(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)(0, 300)
|
|
56192
56231
|
], CierreSsamVeredaDTO.prototype, "observacion", 2);
|
|
56193
|
-
__decorateClass([
|
|
56194
|
-
(0, import_class_transformer853.Expose)(),
|
|
56195
|
-
(0, import_class_validator830.IsDefined)(),
|
|
56196
|
-
(0, import_class_validator830.ValidateNested)(),
|
|
56197
|
-
(0, import_class_transformer853.Type)(() => UsuarioDTO)
|
|
56198
|
-
], CierreSsamVeredaDTO.prototype, "usuario", 2);
|
|
56199
|
-
__decorateClass([
|
|
56200
|
-
(0, import_class_transformer853.Expose)(),
|
|
56201
|
-
(0, import_class_validator830.IsDefined)(),
|
|
56202
|
-
(0, import_class_validator830.IsDate)(),
|
|
56203
|
-
(0, import_class_transformer853.Type)(() => Date)
|
|
56204
|
-
], CierreSsamVeredaDTO.prototype, "fecha_registro", 2);
|
|
56205
|
-
|
|
56206
|
-
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/desmonte-vereda-dto.ts
|
|
56207
|
-
var import_class_transformer854 = require("class-transformer");
|
|
56208
|
-
var import_class_validator831 = require("class-validator");
|
|
56209
|
-
var import_reflect_metadata82 = require("reflect-metadata");
|
|
56210
|
-
var DesmonteVeredaDTO = class {
|
|
56211
|
-
tiene_desmonte = false;
|
|
56212
|
-
foto = null;
|
|
56213
|
-
};
|
|
56214
56232
|
__decorateClass([
|
|
56215
56233
|
(0, import_class_transformer854.Expose)(),
|
|
56216
|
-
(0, import_class_validator831.IsDefined)(
|
|
56217
|
-
(0, import_class_validator831.
|
|
56218
|
-
|
|
56234
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56235
|
+
(0, import_class_validator831.ValidateNested)(),
|
|
56236
|
+
(0, import_class_transformer854.Type)(() => UsuarioDTO)
|
|
56237
|
+
], CierreSsamVeredaDTO.prototype, "usuario", 2);
|
|
56219
56238
|
__decorateClass([
|
|
56220
56239
|
(0, import_class_transformer854.Expose)(),
|
|
56221
|
-
(0, import_class_validator831.
|
|
56222
|
-
(0, import_class_validator831.
|
|
56223
|
-
(0,
|
|
56224
|
-
|
|
56225
|
-
], DesmonteVeredaDTO.prototype, "foto", 2);
|
|
56240
|
+
(0, import_class_validator831.IsDefined)(),
|
|
56241
|
+
(0, import_class_validator831.IsDate)(),
|
|
56242
|
+
(0, import_class_transformer854.Type)(() => Date)
|
|
56243
|
+
], CierreSsamVeredaDTO.prototype, "fecha_registro", 2);
|
|
56226
56244
|
|
|
56227
56245
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/datos-vereda-dto.ts
|
|
56228
56246
|
var import_class_transformer855 = require("class-transformer");
|
|
@@ -56236,7 +56254,7 @@ var LIMITES_PANOS_VEREDA = { MIN: 1, MAX: 99 };
|
|
|
56236
56254
|
var MSG_PANOS = { message: `debe ser un n\xFAmero entero de ${LIMITES_PANOS_VEREDA.MIN} a ${LIMITES_PANOS_VEREDA.MAX}` };
|
|
56237
56255
|
var DatosVeredaBodyDTO = class {
|
|
56238
56256
|
orden_electrica = "";
|
|
56239
|
-
fecha_ejecucion_electrica =
|
|
56257
|
+
fecha_ejecucion_electrica = FECHA_VACIA_VEREDA();
|
|
56240
56258
|
promedio_panos = 0;
|
|
56241
56259
|
direccion = "";
|
|
56242
56260
|
distrito = "";
|
|
@@ -56248,7 +56266,7 @@ __decorateClass([
|
|
|
56248
56266
|
], DatosVeredaBodyDTO.prototype, "orden_electrica", 2);
|
|
56249
56267
|
__decorateClass([
|
|
56250
56268
|
(0, import_class_transformer855.Expose)(),
|
|
56251
|
-
(0, import_class_validator832.
|
|
56269
|
+
(0, import_class_validator832.IsDefined)(),
|
|
56252
56270
|
(0, import_class_validator832.IsDate)(),
|
|
56253
56271
|
(0, import_class_transformer855.Type)(() => Date)
|
|
56254
56272
|
], DatosVeredaBodyDTO.prototype, "fecha_ejecucion_electrica", 2);
|
|
@@ -56392,7 +56410,7 @@ var BtAlpPluzVeredaAsignacionENTITY = class {
|
|
|
56392
56410
|
ticket_averia_sc_udf = "";
|
|
56393
56411
|
area = "";
|
|
56394
56412
|
origen = ORIGENES_ASIGNACION_VEREDA.BANDEJA;
|
|
56395
|
-
datos_vereda =
|
|
56413
|
+
datos_vereda = new DatosVeredaDTO();
|
|
56396
56414
|
pendiente = new PendienteVeredaDTO();
|
|
56397
56415
|
cuadrilla = new CuadrillaVeredaDTO();
|
|
56398
56416
|
estado = new EstadoDTO();
|
|
@@ -56403,12 +56421,12 @@ var BtAlpPluzVeredaAsignacionENTITY = class {
|
|
|
56403
56421
|
motivo_anulacion = "";
|
|
56404
56422
|
formulario_civil = new FormularioCivilVeredaDTO();
|
|
56405
56423
|
documentacion = [];
|
|
56406
|
-
desmonte =
|
|
56424
|
+
desmonte = new DesmonteVeredaDTO();
|
|
56407
56425
|
materiales = [];
|
|
56408
|
-
fecha_envio =
|
|
56409
|
-
usuario_envio =
|
|
56410
|
-
revision =
|
|
56411
|
-
cierre_ssam =
|
|
56426
|
+
fecha_envio = FECHA_VACIA_VEREDA();
|
|
56427
|
+
usuario_envio = new UsuarioDTO();
|
|
56428
|
+
revision = new RevisionVeredaDTO();
|
|
56429
|
+
cierre_ssam = new CierreSsamVeredaDTO();
|
|
56412
56430
|
bitacora = [];
|
|
56413
56431
|
};
|
|
56414
56432
|
__decorateClass([
|
|
@@ -56443,8 +56461,7 @@ __decorateClass([
|
|
|
56443
56461
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "origen", 2);
|
|
56444
56462
|
__decorateClass([
|
|
56445
56463
|
(0, import_class_transformer857.Expose)(),
|
|
56446
|
-
(0,
|
|
56447
|
-
(0, import_class_validator834.IsOptional)(),
|
|
56464
|
+
(0, import_class_validator834.IsDefined)(),
|
|
56448
56465
|
(0, import_class_validator834.ValidateNested)(),
|
|
56449
56466
|
(0, import_class_transformer857.Type)(() => DatosVeredaDTO)
|
|
56450
56467
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "datos_vereda", 2);
|
|
@@ -56508,7 +56525,7 @@ __decorateClass([
|
|
|
56508
56525
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "documentacion", 2);
|
|
56509
56526
|
__decorateClass([
|
|
56510
56527
|
(0, import_class_transformer857.Expose)(),
|
|
56511
|
-
(0, import_class_validator834.
|
|
56528
|
+
(0, import_class_validator834.IsDefined)(),
|
|
56512
56529
|
(0, import_class_validator834.ValidateNested)(),
|
|
56513
56530
|
(0, import_class_transformer857.Type)(() => DesmonteVeredaDTO)
|
|
56514
56531
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "desmonte", 2);
|
|
@@ -56521,25 +56538,25 @@ __decorateClass([
|
|
|
56521
56538
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "materiales", 2);
|
|
56522
56539
|
__decorateClass([
|
|
56523
56540
|
(0, import_class_transformer857.Expose)(),
|
|
56524
|
-
(0, import_class_validator834.
|
|
56541
|
+
(0, import_class_validator834.IsDefined)(),
|
|
56525
56542
|
(0, import_class_validator834.IsDate)(),
|
|
56526
56543
|
(0, import_class_transformer857.Type)(() => Date)
|
|
56527
56544
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "fecha_envio", 2);
|
|
56528
56545
|
__decorateClass([
|
|
56529
56546
|
(0, import_class_transformer857.Expose)(),
|
|
56530
|
-
(0, import_class_validator834.
|
|
56547
|
+
(0, import_class_validator834.IsDefined)(),
|
|
56531
56548
|
(0, import_class_validator834.ValidateNested)(),
|
|
56532
56549
|
(0, import_class_transformer857.Type)(() => UsuarioDTO)
|
|
56533
56550
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "usuario_envio", 2);
|
|
56534
56551
|
__decorateClass([
|
|
56535
56552
|
(0, import_class_transformer857.Expose)(),
|
|
56536
|
-
(0, import_class_validator834.
|
|
56553
|
+
(0, import_class_validator834.IsDefined)(),
|
|
56537
56554
|
(0, import_class_validator834.ValidateNested)(),
|
|
56538
56555
|
(0, import_class_transformer857.Type)(() => RevisionVeredaDTO)
|
|
56539
56556
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "revision", 2);
|
|
56540
56557
|
__decorateClass([
|
|
56541
56558
|
(0, import_class_transformer857.Expose)(),
|
|
56542
|
-
(0, import_class_validator834.
|
|
56559
|
+
(0, import_class_validator834.IsDefined)(),
|
|
56543
56560
|
(0, import_class_validator834.ValidateNested)(),
|
|
56544
56561
|
(0, import_class_transformer857.Type)(() => CierreSsamVeredaDTO)
|
|
56545
56562
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "cierre_ssam", 2);
|
|
@@ -59567,6 +59584,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
59567
59584
|
DeleteBaremoFaseDTO,
|
|
59568
59585
|
DeleteFileSomacylOrderDto,
|
|
59569
59586
|
DeleteInventorySomacylOrderDto,
|
|
59587
|
+
DesmonteVeredaBodyDTO,
|
|
59570
59588
|
DesmonteVeredaDTO,
|
|
59571
59589
|
DestinatarioDTO,
|
|
59572
59590
|
DetailMaintenanceOrderDTO,
|
|
@@ -59682,6 +59700,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
59682
59700
|
EstadoTOADTO,
|
|
59683
59701
|
Estado_Model_MO,
|
|
59684
59702
|
EstadosTuvesEnum,
|
|
59703
|
+
FECHA_VACIA_VEREDA,
|
|
59685
59704
|
FacturaDto,
|
|
59686
59705
|
FacturaGeneradaDTO,
|
|
59687
59706
|
FacturacionDTO,
|
|
@@ -60312,6 +60331,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
60312
60331
|
convertTypeNumber,
|
|
60313
60332
|
entityToMongoJsonSchema,
|
|
60314
60333
|
enumToArray,
|
|
60334
|
+
fechaRegistradaVereda,
|
|
60315
60335
|
getFirstError,
|
|
60316
60336
|
hydrate,
|
|
60317
60337
|
itemsCanalizacion,
|
|
@@ -60319,6 +60339,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
60319
60339
|
itemsCantidadMaxima,
|
|
60320
60340
|
latLngDTO,
|
|
60321
60341
|
removeUndefined,
|
|
60342
|
+
tieneArchivoVereda,
|
|
60322
60343
|
transformToDateIfEmpty,
|
|
60323
60344
|
trimAndUpperCaseString,
|
|
60324
60345
|
validateAndFormatData,
|