sigo-entities 1.2.543 → 1.2.545
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/.claude/settings.local.json +8 -0
- package/README.md +25 -25
- package/dist/index.d.mts +39 -2
- package/dist/index.d.ts +39 -2
- package/dist/index.js +134 -32
- package/dist/index.mjs +149 -52
- package/package.json +1 -1
- package/.claude/CLAUDE.md +0 -70
- package/.claude/settings.json +0 -21
- package/.claude/skills/mdl-administracion/SKILL.md +0 -60
- package/.claude/skills/mdl-configuracion/SKILL.md +0 -49
- package/.claude/skills/ope-im/SKILL.md +0 -71
- package/.claude/skills/ope-logistica/SKILL.md +0 -60
- package/.claude/skills/ope-pex/SKILL.md +0 -106
- package/.claude/skills/shared-dtos/SKILL.md +0 -76
- package/__tests__/asistenciaCuadrilla.test.mjs +0 -67
- package/__tests__/mongoJsonSchema.test.mjs +0 -39
- package/__tests__/replanteo.test.mjs +0 -44
package/dist/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __export(index_exports, {
|
|
|
35
35
|
AcceptedDto: () => AcceptedDto,
|
|
36
36
|
AccesortiosBantelDTO: () => AccesortiosBantelDTO,
|
|
37
37
|
AccesortiosMifibraDBDTO: () => AccesortiosMifibraDBDTO,
|
|
38
|
+
AccionValidacion: () => AccionValidacion,
|
|
38
39
|
ActaFinalCubicacionDTO: () => ActaFinalCubicacionDTO,
|
|
39
40
|
ActaFinalCubicacionSharedDTO: () => ActaFinalCubicacionSharedDTO,
|
|
40
41
|
ActividadZonasActividadDTO: () => ActividadZonasActividadDTO,
|
|
@@ -121,6 +122,7 @@ __export(index_exports, {
|
|
|
121
122
|
CambioEstadoFacturadoRequest: () => CambioEstadoFacturadoRequest,
|
|
122
123
|
CambioEstadoFaseRequest: () => CambioEstadoFaseRequest,
|
|
123
124
|
CambiosEstadosFaseLiberacionPagosDTO: () => CambiosEstadosFaseLiberacionPagosDTO,
|
|
125
|
+
CamposExtraValidacion: () => CamposExtraValidacion,
|
|
124
126
|
CargoPersonalENTITY: () => CargoPersonalENTITY,
|
|
125
127
|
CategoriaDto: () => CategoriaDto,
|
|
126
128
|
CausacionCubicacionColombiaDTO: () => CausacionCubicacionColombiaDTO,
|
|
@@ -401,6 +403,7 @@ __export(index_exports, {
|
|
|
401
403
|
ForgotPasswordDto: () => ForgotPasswordDto,
|
|
402
404
|
FormaPagoDto: () => FormaPagoDto,
|
|
403
405
|
FormularioCivilVeredaDTO: () => FormularioCivilVeredaDTO,
|
|
406
|
+
FormularioVeredaDTO: () => FormularioVeredaDTO,
|
|
404
407
|
FotoDTO: () => FotoDTO,
|
|
405
408
|
FotosDTO: () => FotosDTO,
|
|
406
409
|
FotosDetailMaintenanceDTO: () => FotosDetailMaintenanceDTO,
|
|
@@ -553,6 +556,7 @@ __export(index_exports, {
|
|
|
553
556
|
NavisionRegistryDateDto: () => NavisionRegistryDateDto,
|
|
554
557
|
NavisionUserRegistryDto: () => NavisionUserRegistryDto,
|
|
555
558
|
NavisionpreordenEntity: () => NavisionpreordenEntity,
|
|
559
|
+
NivelValidacion: () => NivelValidacion,
|
|
556
560
|
NodoDocDTO: () => NodoDocDTO,
|
|
557
561
|
NombreDescripcionDTO: () => NombreDescripcionDTO,
|
|
558
562
|
NotasDTO: () => NotasDTO,
|
|
@@ -978,6 +982,7 @@ __export(index_exports, {
|
|
|
978
982
|
VigenciaPCMODTO: () => VigenciaPCMODTO,
|
|
979
983
|
WBEDTO: () => WBEDTO,
|
|
980
984
|
WorkflowPasoVeredaDTO: () => WorkflowPasoVeredaDTO,
|
|
985
|
+
WorkflowVeredaDTO: () => WorkflowVeredaDTO,
|
|
981
986
|
ZonaTrabajoCuadrillaDTO: () => ZonaTrabajoCuadrillaDTO,
|
|
982
987
|
ZonaTrabajoDTO: () => ZonaTrabajoDTO,
|
|
983
988
|
ZonaTrabajoENTITY: () => ZonaTrabajoENTITY,
|
|
@@ -1369,11 +1374,40 @@ function withConditionalAlternatives(schema, rule) {
|
|
|
1369
1374
|
return alternatives.length ? { anyOf: [...alternatives, schema] } : schema;
|
|
1370
1375
|
}
|
|
1371
1376
|
|
|
1377
|
+
// src/shared/enums/MongoValidation.ts
|
|
1378
|
+
var CamposExtraValidacion = /* @__PURE__ */ ((CamposExtraValidacion2) => {
|
|
1379
|
+
CamposExtraValidacion2["RECHAZAR"] = "rechazar";
|
|
1380
|
+
CamposExtraValidacion2["PERMITIR"] = "permitir";
|
|
1381
|
+
return CamposExtraValidacion2;
|
|
1382
|
+
})(CamposExtraValidacion || {});
|
|
1383
|
+
var NivelValidacion = /* @__PURE__ */ ((NivelValidacion2) => {
|
|
1384
|
+
NivelValidacion2["STRICT"] = "strict";
|
|
1385
|
+
NivelValidacion2["MODERATE"] = "moderate";
|
|
1386
|
+
return NivelValidacion2;
|
|
1387
|
+
})(NivelValidacion || {});
|
|
1388
|
+
var AccionValidacion = /* @__PURE__ */ ((AccionValidacion2) => {
|
|
1389
|
+
AccionValidacion2["ERROR"] = "error";
|
|
1390
|
+
AccionValidacion2["WARN"] = "warn";
|
|
1391
|
+
return AccionValidacion2;
|
|
1392
|
+
})(AccionValidacion || {});
|
|
1393
|
+
|
|
1394
|
+
// src/shared/utils/mongoJsonSchema/options.ts
|
|
1395
|
+
var ID_SCHEMA = { bsonType: ["objectId", "string"] };
|
|
1396
|
+
function rejectsExtraFields(options) {
|
|
1397
|
+
return options?.camposExtra === "rechazar" /* RECHAZAR */;
|
|
1398
|
+
}
|
|
1399
|
+
function closeObject(schema, isRoot) {
|
|
1400
|
+
const properties = isRoot && !schema.properties._id ? { _id: ID_SCHEMA, ...schema.properties } : schema.properties;
|
|
1401
|
+
return { ...schema, properties, additionalProperties: false };
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1372
1404
|
// src/shared/utils/mongoJsonSchema/index.ts
|
|
1373
|
-
function entityToMongoJsonSchema(entity) {
|
|
1374
|
-
|
|
1405
|
+
function entityToMongoJsonSchema(entity, options) {
|
|
1406
|
+
const closed = rejectsExtraFields(options);
|
|
1407
|
+
const schema = buildObjectSchema(entity, [], closed);
|
|
1408
|
+
return closed ? closeObject(schema, true) : schema;
|
|
1375
1409
|
}
|
|
1376
|
-
function buildObjectSchema(entity, stack) {
|
|
1410
|
+
function buildObjectSchema(entity, stack, closed) {
|
|
1377
1411
|
if (stack.includes(entity)) return { bsonType: "object" };
|
|
1378
1412
|
const storage = (0, import_class_validator4.getMetadataStorage)();
|
|
1379
1413
|
const metadatas = storage.getTargetValidationMetadatas(entity, "", false, false);
|
|
@@ -1386,7 +1420,7 @@ function buildObjectSchema(entity, stack) {
|
|
|
1386
1420
|
const conditional = evaluateConditional(propertyMetadatas, property);
|
|
1387
1421
|
if (conditional?.unconstrained) continue;
|
|
1388
1422
|
if (!conditional || conditional.required) required.push(property);
|
|
1389
|
-
const propertySchema = buildPropertySchema(entity, property, propertyMetadatas, defaults[property], nextStack);
|
|
1423
|
+
const propertySchema = buildPropertySchema(entity, property, propertyMetadatas, defaults[property], nextStack, closed);
|
|
1390
1424
|
properties[property] = conditional ? withConditionalAlternatives(propertySchema, conditional) : propertySchema;
|
|
1391
1425
|
}
|
|
1392
1426
|
const schema = { bsonType: "object" };
|
|
@@ -1394,7 +1428,7 @@ function buildObjectSchema(entity, stack) {
|
|
|
1394
1428
|
schema.properties = properties;
|
|
1395
1429
|
return schema;
|
|
1396
1430
|
}
|
|
1397
|
-
function buildPropertySchema(entity, property, metadatas, defaultValue, stack) {
|
|
1431
|
+
function buildPropertySchema(entity, property, metadatas, defaultValue, stack, closed) {
|
|
1398
1432
|
const validators = metadatas.filter((m) => m.type !== "nestedValidation" && m.type !== "conditionalValidation");
|
|
1399
1433
|
const nested = metadatas.find((m) => m.type === "nestedValidation");
|
|
1400
1434
|
const ownValidators = validators.filter((m) => !m.each);
|
|
@@ -1403,18 +1437,22 @@ function buildPropertySchema(entity, property, metadatas, defaultValue, stack) {
|
|
|
1403
1437
|
if (!isArray) {
|
|
1404
1438
|
const nestedType = nested ? resolveNestedType(entity, property, false, defaultValue) : void 0;
|
|
1405
1439
|
if (!nestedType) return schema;
|
|
1406
|
-
const objectSchema =
|
|
1440
|
+
const objectSchema = buildNestedSchema(nestedType, stack, closed);
|
|
1407
1441
|
return { ...schema, ...objectSchema };
|
|
1408
1442
|
}
|
|
1409
1443
|
const eachValidators = validators.filter((m) => m.each);
|
|
1410
1444
|
const itemConstraints = applyConstraints(eachValidators);
|
|
1411
1445
|
const itemType = nested ? resolveNestedType(entity, property, true, void 0) : void 0;
|
|
1412
|
-
const itemObjectSchema = itemType ?
|
|
1446
|
+
const itemObjectSchema = itemType ? buildNestedSchema(itemType, stack, closed) : {};
|
|
1413
1447
|
const items = { ...itemConstraints, ...itemObjectSchema };
|
|
1414
1448
|
schema.bsonType = "array";
|
|
1415
1449
|
if (Object.keys(items).length) schema.items = items;
|
|
1416
1450
|
return schema;
|
|
1417
1451
|
}
|
|
1452
|
+
function buildNestedSchema(entity, stack, closed) {
|
|
1453
|
+
const schema = buildObjectSchema(entity, stack, closed);
|
|
1454
|
+
return closed && schema.properties ? closeObject(schema, false) : schema;
|
|
1455
|
+
}
|
|
1418
1456
|
function resolveNestedType(entity, property, isArray, defaultValue) {
|
|
1419
1457
|
const sample = isArray ? [{}] : {};
|
|
1420
1458
|
let resolved;
|
|
@@ -55688,6 +55726,9 @@ var PASOS_WORKFLOW_VEREDA = {
|
|
|
55688
55726
|
};
|
|
55689
55727
|
var PASOS = Object.values(PASOS_WORKFLOW_VEREDA).map((item) => item.paso);
|
|
55690
55728
|
var DECIMALES_2 = { maxDecimalPlaces: 2 };
|
|
55729
|
+
var MSG_NUMERO = { message: "debe ser un n\xFAmero con m\xE1ximo 2 decimales" };
|
|
55730
|
+
var MSG_ENTERO = { message: "debe ser un n\xFAmero entero" };
|
|
55731
|
+
var MSG_MIN_0 = { message: "no puede ser negativo" };
|
|
55691
55732
|
var WorkflowPasoVeredaDTO = class {
|
|
55692
55733
|
paso = "";
|
|
55693
55734
|
orden = 0;
|
|
@@ -55758,50 +55799,50 @@ var MetradosVeredaDTO = class {
|
|
|
55758
55799
|
__decorateClass([
|
|
55759
55800
|
(0, import_class_transformer850.Expose)(),
|
|
55760
55801
|
(0, import_class_validator827.IsDefined)(),
|
|
55761
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55762
|
-
(0, import_class_validator827.Min)(0)
|
|
55802
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55803
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55763
55804
|
], MetradosVeredaDTO.prototype, "pano_ancho_m", 2);
|
|
55764
55805
|
__decorateClass([
|
|
55765
55806
|
(0, import_class_transformer850.Expose)(),
|
|
55766
55807
|
(0, import_class_validator827.IsDefined)(),
|
|
55767
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55768
|
-
(0, import_class_validator827.Min)(0)
|
|
55808
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55809
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55769
55810
|
], MetradosVeredaDTO.prototype, "pano_largo_m", 2);
|
|
55770
55811
|
__decorateClass([
|
|
55771
55812
|
(0, import_class_transformer850.Expose)(),
|
|
55772
55813
|
(0, import_class_validator827.IsDefined)(),
|
|
55773
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55774
|
-
(0, import_class_validator827.Min)(0)
|
|
55814
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55815
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55775
55816
|
], MetradosVeredaDTO.prototype, "pano_espesor_cm", 2);
|
|
55776
55817
|
__decorateClass([
|
|
55777
55818
|
(0, import_class_transformer850.Expose)(),
|
|
55778
55819
|
(0, import_class_validator827.IsDefined)(),
|
|
55779
|
-
(0, import_class_validator827.IsInt)(),
|
|
55780
|
-
(0, import_class_validator827.Min)(0)
|
|
55820
|
+
(0, import_class_validator827.IsInt)(MSG_ENTERO),
|
|
55821
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55781
55822
|
], MetradosVeredaDTO.prototype, "cantidad_panos", 2);
|
|
55782
55823
|
__decorateClass([
|
|
55783
55824
|
(0, import_class_transformer850.Expose)(),
|
|
55784
55825
|
(0, import_class_validator827.IsDefined)(),
|
|
55785
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55786
|
-
(0, import_class_validator827.Min)(0)
|
|
55826
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55827
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55787
55828
|
], MetradosVeredaDTO.prototype, "m2_vereda_reparada", 2);
|
|
55788
55829
|
__decorateClass([
|
|
55789
55830
|
(0, import_class_transformer850.Expose)(),
|
|
55790
55831
|
(0, import_class_validator827.IsDefined)(),
|
|
55791
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55792
|
-
(0, import_class_validator827.Min)(0)
|
|
55832
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55833
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55793
55834
|
], MetradosVeredaDTO.prototype, "m2_vereda_asfalto", 2);
|
|
55794
55835
|
__decorateClass([
|
|
55795
55836
|
(0, import_class_transformer850.Expose)(),
|
|
55796
55837
|
(0, import_class_validator827.IsDefined)(),
|
|
55797
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55798
|
-
(0, import_class_validator827.Min)(0)
|
|
55838
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55839
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55799
55840
|
], MetradosVeredaDTO.prototype, "m2_piso_especial", 2);
|
|
55800
55841
|
__decorateClass([
|
|
55801
55842
|
(0, import_class_transformer850.Expose)(),
|
|
55802
55843
|
(0, import_class_validator827.IsDefined)(),
|
|
55803
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55804
|
-
(0, import_class_validator827.Min)(0)
|
|
55844
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55845
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55805
55846
|
], MetradosVeredaDTO.prototype, "m2_jardin", 2);
|
|
55806
55847
|
var PendienteOriginalVeredaDTO = class {
|
|
55807
55848
|
id_gis = "";
|
|
@@ -55819,20 +55860,20 @@ __decorateClass([
|
|
|
55819
55860
|
__decorateClass([
|
|
55820
55861
|
(0, import_class_transformer850.Expose)(),
|
|
55821
55862
|
(0, import_class_validator827.IsDefined)(),
|
|
55822
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55823
|
-
(0, import_class_validator827.Min)(0)
|
|
55863
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55864
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55824
55865
|
], PendienteOriginalVeredaDTO.prototype, "pano_ancho_m", 2);
|
|
55825
55866
|
__decorateClass([
|
|
55826
55867
|
(0, import_class_transformer850.Expose)(),
|
|
55827
55868
|
(0, import_class_validator827.IsDefined)(),
|
|
55828
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55829
|
-
(0, import_class_validator827.Min)(0)
|
|
55869
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55870
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55830
55871
|
], PendienteOriginalVeredaDTO.prototype, "pano_largo_m", 2);
|
|
55831
55872
|
__decorateClass([
|
|
55832
55873
|
(0, import_class_transformer850.Expose)(),
|
|
55833
55874
|
(0, import_class_validator827.IsDefined)(),
|
|
55834
|
-
(0, import_class_validator827.IsInt)(),
|
|
55835
|
-
(0, import_class_validator827.Min)(0)
|
|
55875
|
+
(0, import_class_validator827.IsInt)(MSG_ENTERO),
|
|
55876
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55836
55877
|
], PendienteOriginalVeredaDTO.prototype, "cantidad_panos", 2);
|
|
55837
55878
|
__decorateClass([
|
|
55838
55879
|
(0, import_class_transformer850.Expose)(),
|
|
@@ -55842,8 +55883,8 @@ __decorateClass([
|
|
|
55842
55883
|
__decorateClass([
|
|
55843
55884
|
(0, import_class_transformer850.Expose)(),
|
|
55844
55885
|
(0, import_class_validator827.IsDefined)(),
|
|
55845
|
-
(0, import_class_validator827.IsNumber)(DECIMALES_2),
|
|
55846
|
-
(0, import_class_validator827.Min)(0)
|
|
55886
|
+
(0, import_class_validator827.IsNumber)(DECIMALES_2, MSG_NUMERO),
|
|
55887
|
+
(0, import_class_validator827.Min)(0, MSG_MIN_0)
|
|
55847
55888
|
], PendienteOriginalVeredaDTO.prototype, "m2_jardin", 2);
|
|
55848
55889
|
var FormularioCivilVeredaDTO = class {
|
|
55849
55890
|
workflow = [];
|
|
@@ -55882,6 +55923,57 @@ __decorateClass([
|
|
|
55882
55923
|
(0, import_class_validator827.IsDate)(),
|
|
55883
55924
|
(0, import_class_transformer850.Type)(() => Date)
|
|
55884
55925
|
], FormularioCivilVeredaDTO.prototype, "fecha_actualizacion", 2);
|
|
55926
|
+
var WorkflowVeredaDTO = class {
|
|
55927
|
+
paso = "";
|
|
55928
|
+
fecha = /* @__PURE__ */ new Date();
|
|
55929
|
+
latitud = 0;
|
|
55930
|
+
longitud = 0;
|
|
55931
|
+
precision_m = 0;
|
|
55932
|
+
};
|
|
55933
|
+
__decorateClass([
|
|
55934
|
+
(0, import_class_transformer850.Expose)(),
|
|
55935
|
+
(0, import_class_validator827.IsDefined)(),
|
|
55936
|
+
(0, import_class_validator827.IsString)(),
|
|
55937
|
+
(0, import_class_validator827.IsIn)(PASOS)
|
|
55938
|
+
], WorkflowVeredaDTO.prototype, "paso", 2);
|
|
55939
|
+
__decorateClass([
|
|
55940
|
+
(0, import_class_transformer850.Expose)(),
|
|
55941
|
+
(0, import_class_validator827.IsDefined)(),
|
|
55942
|
+
(0, import_class_validator827.IsDate)(),
|
|
55943
|
+
(0, import_class_transformer850.Type)(() => Date)
|
|
55944
|
+
], WorkflowVeredaDTO.prototype, "fecha", 2);
|
|
55945
|
+
__decorateClass([
|
|
55946
|
+
(0, import_class_transformer850.Expose)(),
|
|
55947
|
+
(0, import_class_validator827.IsDefined)(),
|
|
55948
|
+
(0, import_class_validator827.IsNumber)()
|
|
55949
|
+
], WorkflowVeredaDTO.prototype, "latitud", 2);
|
|
55950
|
+
__decorateClass([
|
|
55951
|
+
(0, import_class_transformer850.Expose)(),
|
|
55952
|
+
(0, import_class_validator827.IsDefined)(),
|
|
55953
|
+
(0, import_class_validator827.IsNumber)()
|
|
55954
|
+
], WorkflowVeredaDTO.prototype, "longitud", 2);
|
|
55955
|
+
__decorateClass([
|
|
55956
|
+
(0, import_class_transformer850.Expose)(),
|
|
55957
|
+
(0, import_class_validator827.IsDefined)(),
|
|
55958
|
+
(0, import_class_validator827.IsNumber)(),
|
|
55959
|
+
(0, import_class_validator827.Min)(0)
|
|
55960
|
+
], WorkflowVeredaDTO.prototype, "precision_m", 2);
|
|
55961
|
+
var FormularioVeredaDTO = class {
|
|
55962
|
+
metrados = new MetradosVeredaDTO();
|
|
55963
|
+
observaciones = "";
|
|
55964
|
+
};
|
|
55965
|
+
__decorateClass([
|
|
55966
|
+
(0, import_class_transformer850.Expose)(),
|
|
55967
|
+
(0, import_class_validator827.IsDefined)({ message: "es requerido" }),
|
|
55968
|
+
(0, import_class_validator827.ValidateNested)(),
|
|
55969
|
+
(0, import_class_transformer850.Type)(() => MetradosVeredaDTO)
|
|
55970
|
+
], FormularioVeredaDTO.prototype, "metrados", 2);
|
|
55971
|
+
__decorateClass([
|
|
55972
|
+
(0, import_class_transformer850.Expose)(),
|
|
55973
|
+
(0, import_class_validator827.IsDefined)(),
|
|
55974
|
+
(0, import_class_validator827.IsString)(),
|
|
55975
|
+
(0, import_class_validator827.MaxLength)(500, { message: "m\xE1ximo 500 caracteres" })
|
|
55976
|
+
], FormularioVeredaDTO.prototype, "observaciones", 2);
|
|
55885
55977
|
|
|
55886
55978
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/revision-cierre-vereda-dto.ts
|
|
55887
55979
|
var import_class_transformer851 = require("class-transformer");
|
|
@@ -55976,7 +56068,12 @@ var STATUS_SAP_ASIGNABLES_VEREDA = ["ASI", "INI"];
|
|
|
55976
56068
|
var ACCIONES_BITACORA_VEREDA = {
|
|
55977
56069
|
ASIGNAR: "ASIGNAR_VEREDA",
|
|
55978
56070
|
REASIGNAR: "REASIGNAR_VEREDA",
|
|
55979
|
-
ANULAR: "ANULAR_VEREDA"
|
|
56071
|
+
ANULAR: "ANULAR_VEREDA",
|
|
56072
|
+
WORKFLOW: "WORKFLOW_VEREDA",
|
|
56073
|
+
FORMULARIO: "FORMULARIO_VEREDA",
|
|
56074
|
+
UPLOAD_FILE: "UPLOAD_FILE_VEREDA",
|
|
56075
|
+
DELETE_FILE: "DELETE_FILE_VEREDA",
|
|
56076
|
+
LIQUIDAR: "LIQUIDAR_VEREDA"
|
|
55980
56077
|
};
|
|
55981
56078
|
var BtAlpPluzVeredaAsignacionENTITY = class {
|
|
55982
56079
|
_id = "";
|
|
@@ -58682,6 +58779,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
58682
58779
|
AcceptedDto,
|
|
58683
58780
|
AccesortiosBantelDTO,
|
|
58684
58781
|
AccesortiosMifibraDBDTO,
|
|
58782
|
+
AccionValidacion,
|
|
58685
58783
|
ActaFinalCubicacionDTO,
|
|
58686
58784
|
ActaFinalCubicacionSharedDTO,
|
|
58687
58785
|
ActividadZonasActividadDTO,
|
|
@@ -58768,6 +58866,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
58768
58866
|
CambioEstadoFacturadoRequest,
|
|
58769
58867
|
CambioEstadoFaseRequest,
|
|
58770
58868
|
CambiosEstadosFaseLiberacionPagosDTO,
|
|
58869
|
+
CamposExtraValidacion,
|
|
58771
58870
|
CargoPersonalENTITY,
|
|
58772
58871
|
CategoriaDto,
|
|
58773
58872
|
CausacionCubicacionColombiaDTO,
|
|
@@ -59048,6 +59147,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
59048
59147
|
ForgotPasswordDto,
|
|
59049
59148
|
FormaPagoDto,
|
|
59050
59149
|
FormularioCivilVeredaDTO,
|
|
59150
|
+
FormularioVeredaDTO,
|
|
59051
59151
|
FotoDTO,
|
|
59052
59152
|
FotosDTO,
|
|
59053
59153
|
FotosDetailMaintenanceDTO,
|
|
@@ -59200,6 +59300,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
59200
59300
|
NavisionRegistryDateDto,
|
|
59201
59301
|
NavisionUserRegistryDto,
|
|
59202
59302
|
NavisionpreordenEntity,
|
|
59303
|
+
NivelValidacion,
|
|
59203
59304
|
NodoDocDTO,
|
|
59204
59305
|
NombreDescripcionDTO,
|
|
59205
59306
|
NotasDTO,
|
|
@@ -59625,6 +59726,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
59625
59726
|
VigenciaPCMODTO,
|
|
59626
59727
|
WBEDTO,
|
|
59627
59728
|
WorkflowPasoVeredaDTO,
|
|
59729
|
+
WorkflowVeredaDTO,
|
|
59628
59730
|
ZonaTrabajoCuadrillaDTO,
|
|
59629
59731
|
ZonaTrabajoDTO,
|
|
59630
59732
|
ZonaTrabajoENTITY,
|