sigo-entities 1.2.556 → 1.2.557
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/CLAUDE.md +70 -0
- package/.claude/settings.json +21 -0
- package/.claude/skills/mdl-administracion/SKILL.md +60 -0
- package/.claude/skills/mdl-configuracion/SKILL.md +49 -0
- package/.claude/skills/ope-im/SKILL.md +71 -0
- package/.claude/skills/ope-logistica/SKILL.md +60 -0
- package/.claude/skills/ope-pex/SKILL.md +106 -0
- package/.claude/skills/shared-dtos/SKILL.md +76 -0
- package/README.md +25 -25
- package/__tests__/altasNvtReapertura.test.mjs +58 -0
- package/__tests__/asistenciaCuadrilla.test.mjs +67 -0
- package/__tests__/mongoJsonSchema.test.mjs +66 -0
- package/__tests__/replanteo.test.mjs +44 -0
- package/dist/index.d.mts +37 -1
- package/dist/index.d.ts +37 -1
- package/dist/index.js +1505 -1399
- package/dist/index.mjs +1365 -1264
- package/package.json +1 -1
- package/.claude/settings.local.json +0 -8
package/dist/index.mjs
CHANGED
|
@@ -54897,8 +54897,8 @@ __decorateClass([
|
|
|
54897
54897
|
], BtAlpPluzOrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
54898
54898
|
|
|
54899
54899
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/index.ts
|
|
54900
|
-
import { Expose as
|
|
54901
|
-
import { IsArray as IsArray261, IsBoolean as IsBoolean77, IsDate as
|
|
54900
|
+
import { Expose as Expose828, Transform as Transform117, Type as Type512 } from "class-transformer";
|
|
54901
|
+
import { IsArray as IsArray261, IsBoolean as IsBoolean77, IsDate as IsDate200, IsDefined as IsDefined315, IsIn as IsIn12, IsNotEmpty as IsNotEmpty469, IsOptional as IsOptional87, IsString as IsString684, ValidateNested as ValidateNested442 } from "class-validator";
|
|
54902
54902
|
import "reflect-metadata";
|
|
54903
54903
|
|
|
54904
54904
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/pendiente-vereda-dto.ts
|
|
@@ -55609,6 +55609,85 @@ __decorateClass([
|
|
|
55609
55609
|
Type510(() => FilesDocDTO)
|
|
55610
55610
|
], DesmonteVeredaDTO.prototype, "foto", 2);
|
|
55611
55611
|
|
|
55612
|
+
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/datos-vereda-dto.ts
|
|
55613
|
+
import { Expose as Expose827, Type as Type511 } from "class-transformer";
|
|
55614
|
+
import { IsDate as IsDate199, IsDefined as IsDefined314, IsInt as IsInt2, IsNotEmpty as IsNotEmpty468, IsNumber as IsNumber539, IsOptional as IsOptional86, IsString as IsString683, Max as Max18, Min as Min356, ValidateNested as ValidateNested441 } from "class-validator";
|
|
55615
|
+
import "reflect-metadata";
|
|
55616
|
+
var ORIGENES_ASIGNACION_VEREDA = {
|
|
55617
|
+
BANDEJA: "BANDEJA",
|
|
55618
|
+
POR_ORDEN: "POR_ORDEN"
|
|
55619
|
+
};
|
|
55620
|
+
var LIMITES_PANOS_VEREDA = { MIN: 1, MAX: 99 };
|
|
55621
|
+
var MSG_PANOS = { message: `debe ser un n\xFAmero entero de ${LIMITES_PANOS_VEREDA.MIN} a ${LIMITES_PANOS_VEREDA.MAX}` };
|
|
55622
|
+
var DatosVeredaBodyDTO = class {
|
|
55623
|
+
orden_electrica = "";
|
|
55624
|
+
fecha_ejecucion_electrica = null;
|
|
55625
|
+
promedio_panos = 0;
|
|
55626
|
+
direccion = "";
|
|
55627
|
+
distrito = "";
|
|
55628
|
+
};
|
|
55629
|
+
__decorateClass([
|
|
55630
|
+
Expose827(),
|
|
55631
|
+
IsDefined314(),
|
|
55632
|
+
IsString683()
|
|
55633
|
+
], DatosVeredaBodyDTO.prototype, "orden_electrica", 2);
|
|
55634
|
+
__decorateClass([
|
|
55635
|
+
Expose827(),
|
|
55636
|
+
IsOptional86(),
|
|
55637
|
+
IsDate199(),
|
|
55638
|
+
Type511(() => Date)
|
|
55639
|
+
], DatosVeredaBodyDTO.prototype, "fecha_ejecucion_electrica", 2);
|
|
55640
|
+
__decorateClass([
|
|
55641
|
+
Expose827(),
|
|
55642
|
+
IsDefined314(),
|
|
55643
|
+
IsInt2(MSG_PANOS),
|
|
55644
|
+
Min356(LIMITES_PANOS_VEREDA.MIN, MSG_PANOS),
|
|
55645
|
+
Max18(LIMITES_PANOS_VEREDA.MAX, MSG_PANOS)
|
|
55646
|
+
], DatosVeredaBodyDTO.prototype, "promedio_panos", 2);
|
|
55647
|
+
__decorateClass([
|
|
55648
|
+
Expose827(),
|
|
55649
|
+
IsDefined314(),
|
|
55650
|
+
IsString683(),
|
|
55651
|
+
IsNotEmpty468({ message: "es requerido" })
|
|
55652
|
+
], DatosVeredaBodyDTO.prototype, "direccion", 2);
|
|
55653
|
+
__decorateClass([
|
|
55654
|
+
Expose827(),
|
|
55655
|
+
IsDefined314(),
|
|
55656
|
+
IsString683(),
|
|
55657
|
+
IsNotEmpty468({ message: "es requerido" })
|
|
55658
|
+
], DatosVeredaBodyDTO.prototype, "distrito", 2);
|
|
55659
|
+
var DatosVeredaDTO = class extends DatosVeredaBodyDTO {
|
|
55660
|
+
croquis = new FilesDocDTO();
|
|
55661
|
+
};
|
|
55662
|
+
__decorateClass([
|
|
55663
|
+
Expose827(),
|
|
55664
|
+
IsDefined314(),
|
|
55665
|
+
ValidateNested441(),
|
|
55666
|
+
Type511(() => FilesDocDTO)
|
|
55667
|
+
], DatosVeredaDTO.prototype, "croquis", 2);
|
|
55668
|
+
var AsignarOrdenVeredaDTO = class {
|
|
55669
|
+
orden = "";
|
|
55670
|
+
ID_Cuadrilla = 0;
|
|
55671
|
+
datos_vereda = new DatosVeredaBodyDTO();
|
|
55672
|
+
};
|
|
55673
|
+
__decorateClass([
|
|
55674
|
+
Expose827(),
|
|
55675
|
+
IsDefined314(),
|
|
55676
|
+
IsString683(),
|
|
55677
|
+
IsNotEmpty468({ message: "es requerido" })
|
|
55678
|
+
], AsignarOrdenVeredaDTO.prototype, "orden", 2);
|
|
55679
|
+
__decorateClass([
|
|
55680
|
+
Expose827(),
|
|
55681
|
+
IsDefined314(),
|
|
55682
|
+
IsNumber539({}, { message: "debe ser un numero" })
|
|
55683
|
+
], AsignarOrdenVeredaDTO.prototype, "ID_Cuadrilla", 2);
|
|
55684
|
+
__decorateClass([
|
|
55685
|
+
Expose827(),
|
|
55686
|
+
IsDefined314({ message: "es requerido" }),
|
|
55687
|
+
ValidateNested441(),
|
|
55688
|
+
Type511(() => DatosVeredaBodyDTO)
|
|
55689
|
+
], AsignarOrdenVeredaDTO.prototype, "datos_vereda", 2);
|
|
55690
|
+
|
|
55612
55691
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/index.ts
|
|
55613
55692
|
var ESTADOS_ASIGNACION_VEREDA = {
|
|
55614
55693
|
ASIGNADA: { ID_Estado: 1, Nombre: "ASIGNADA" },
|
|
@@ -55628,6 +55707,7 @@ var AREAS_ASIGNABLES_VEREDA = ["Vereda"];
|
|
|
55628
55707
|
var STATUS_SAP_ASIGNABLES_VEREDA = ["ASI", "INI"];
|
|
55629
55708
|
var ACCIONES_BITACORA_VEREDA = {
|
|
55630
55709
|
ASIGNAR: "ASIGNAR_VEREDA",
|
|
55710
|
+
ASIGNAR_POR_ORDEN: "ASIGNAR_POR_ORDEN_VEREDA",
|
|
55631
55711
|
REASIGNAR: "REASIGNAR_VEREDA",
|
|
55632
55712
|
ANULAR: "ANULAR_VEREDA",
|
|
55633
55713
|
WORKFLOW: "WORKFLOW_VEREDA",
|
|
@@ -55644,6 +55724,8 @@ var BtAlpPluzVeredaAsignacionENTITY = class {
|
|
|
55644
55724
|
orden = "";
|
|
55645
55725
|
ticket_averia_sc_udf = "";
|
|
55646
55726
|
area = "";
|
|
55727
|
+
origen = ORIGENES_ASIGNACION_VEREDA.BANDEJA;
|
|
55728
|
+
datos_vereda = null;
|
|
55647
55729
|
pendiente = new PendienteVeredaDTO();
|
|
55648
55730
|
cuadrilla = new CuadrillaVeredaDTO();
|
|
55649
55731
|
estado = new EstadoDTO();
|
|
@@ -55662,142 +55744,156 @@ var BtAlpPluzVeredaAsignacionENTITY = class {
|
|
|
55662
55744
|
bitacora = [];
|
|
55663
55745
|
};
|
|
55664
55746
|
__decorateClass([
|
|
55665
|
-
|
|
55666
|
-
|
|
55667
|
-
|
|
55668
|
-
|
|
55747
|
+
Expose828(),
|
|
55748
|
+
IsDefined315(),
|
|
55749
|
+
IsString684(),
|
|
55750
|
+
IsNotEmpty469()
|
|
55669
55751
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "_id", 2);
|
|
55670
55752
|
__decorateClass([
|
|
55671
|
-
|
|
55672
|
-
|
|
55673
|
-
|
|
55674
|
-
|
|
55753
|
+
Expose828(),
|
|
55754
|
+
IsDefined315(),
|
|
55755
|
+
IsString684(),
|
|
55756
|
+
IsNotEmpty469()
|
|
55675
55757
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "orden", 2);
|
|
55676
55758
|
__decorateClass([
|
|
55677
|
-
|
|
55678
|
-
|
|
55679
|
-
|
|
55759
|
+
Expose828(),
|
|
55760
|
+
IsDefined315(),
|
|
55761
|
+
IsString684()
|
|
55680
55762
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "ticket_averia_sc_udf", 2);
|
|
55681
55763
|
__decorateClass([
|
|
55682
|
-
|
|
55683
|
-
|
|
55684
|
-
|
|
55685
|
-
|
|
55764
|
+
Expose828(),
|
|
55765
|
+
IsDefined315(),
|
|
55766
|
+
IsString684(),
|
|
55767
|
+
IsNotEmpty469()
|
|
55686
55768
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "area", 2);
|
|
55687
55769
|
__decorateClass([
|
|
55688
|
-
|
|
55689
|
-
|
|
55690
|
-
|
|
55691
|
-
|
|
55770
|
+
Expose828(),
|
|
55771
|
+
Transform117(({ value }) => value ?? ORIGENES_ASIGNACION_VEREDA.BANDEJA),
|
|
55772
|
+
IsDefined315(),
|
|
55773
|
+
IsString684(),
|
|
55774
|
+
IsIn12(Object.values(ORIGENES_ASIGNACION_VEREDA))
|
|
55775
|
+
], BtAlpPluzVeredaAsignacionENTITY.prototype, "origen", 2);
|
|
55776
|
+
__decorateClass([
|
|
55777
|
+
Expose828(),
|
|
55778
|
+
Transform117(({ value }) => value ?? null),
|
|
55779
|
+
IsOptional87(),
|
|
55780
|
+
ValidateNested442(),
|
|
55781
|
+
Type512(() => DatosVeredaDTO)
|
|
55782
|
+
], BtAlpPluzVeredaAsignacionENTITY.prototype, "datos_vereda", 2);
|
|
55783
|
+
__decorateClass([
|
|
55784
|
+
Expose828(),
|
|
55785
|
+
IsDefined315(),
|
|
55786
|
+
ValidateNested442(),
|
|
55787
|
+
Type512(() => PendienteVeredaDTO)
|
|
55692
55788
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "pendiente", 2);
|
|
55693
55789
|
__decorateClass([
|
|
55694
|
-
|
|
55695
|
-
|
|
55696
|
-
|
|
55697
|
-
|
|
55790
|
+
Expose828(),
|
|
55791
|
+
IsDefined315(),
|
|
55792
|
+
ValidateNested442(),
|
|
55793
|
+
Type512(() => CuadrillaVeredaDTO)
|
|
55698
55794
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "cuadrilla", 2);
|
|
55699
55795
|
__decorateClass([
|
|
55700
|
-
|
|
55701
|
-
|
|
55702
|
-
|
|
55703
|
-
|
|
55796
|
+
Expose828(),
|
|
55797
|
+
IsDefined315(),
|
|
55798
|
+
ValidateNested442(),
|
|
55799
|
+
Type512(() => EstadoDTO)
|
|
55704
55800
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "estado", 2);
|
|
55705
55801
|
__decorateClass([
|
|
55706
|
-
|
|
55707
|
-
|
|
55802
|
+
Expose828(),
|
|
55803
|
+
IsDefined315(),
|
|
55708
55804
|
IsBoolean77()
|
|
55709
55805
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "activa", 2);
|
|
55710
55806
|
__decorateClass([
|
|
55711
|
-
|
|
55712
|
-
|
|
55713
|
-
|
|
55714
|
-
|
|
55807
|
+
Expose828(),
|
|
55808
|
+
IsDefined315(),
|
|
55809
|
+
IsDate200(),
|
|
55810
|
+
Type512(() => Date)
|
|
55715
55811
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "fecha_asignacion", 2);
|
|
55716
55812
|
__decorateClass([
|
|
55717
|
-
|
|
55718
|
-
|
|
55719
|
-
|
|
55720
|
-
|
|
55813
|
+
Expose828(),
|
|
55814
|
+
IsDefined315(),
|
|
55815
|
+
ValidateNested442(),
|
|
55816
|
+
Type512(() => UsuarioDTO)
|
|
55721
55817
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "usuario_asignacion", 2);
|
|
55722
55818
|
__decorateClass([
|
|
55723
|
-
|
|
55724
|
-
|
|
55725
|
-
|
|
55819
|
+
Expose828(),
|
|
55820
|
+
IsDefined315(),
|
|
55821
|
+
IsString684()
|
|
55726
55822
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "observacion_asignacion", 2);
|
|
55727
55823
|
__decorateClass([
|
|
55728
|
-
|
|
55729
|
-
|
|
55730
|
-
|
|
55824
|
+
Expose828(),
|
|
55825
|
+
IsDefined315(),
|
|
55826
|
+
IsString684()
|
|
55731
55827
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "motivo_anulacion", 2);
|
|
55732
55828
|
__decorateClass([
|
|
55733
|
-
|
|
55734
|
-
|
|
55735
|
-
|
|
55736
|
-
|
|
55829
|
+
Expose828(),
|
|
55830
|
+
IsDefined315(),
|
|
55831
|
+
ValidateNested442(),
|
|
55832
|
+
Type512(() => FormularioCivilVeredaDTO)
|
|
55737
55833
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "formulario_civil", 2);
|
|
55738
55834
|
__decorateClass([
|
|
55739
|
-
|
|
55740
|
-
|
|
55835
|
+
Expose828(),
|
|
55836
|
+
IsDefined315(),
|
|
55741
55837
|
IsArray261(),
|
|
55742
|
-
|
|
55743
|
-
|
|
55838
|
+
ValidateNested442({ each: true }),
|
|
55839
|
+
Type512(() => FilesDocDTO)
|
|
55744
55840
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "documentacion", 2);
|
|
55745
55841
|
__decorateClass([
|
|
55746
|
-
|
|
55747
|
-
|
|
55748
|
-
|
|
55749
|
-
|
|
55842
|
+
Expose828(),
|
|
55843
|
+
IsOptional87(),
|
|
55844
|
+
ValidateNested442(),
|
|
55845
|
+
Type512(() => DesmonteVeredaDTO)
|
|
55750
55846
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "desmonte", 2);
|
|
55751
55847
|
__decorateClass([
|
|
55752
|
-
|
|
55753
|
-
|
|
55754
|
-
|
|
55755
|
-
|
|
55848
|
+
Expose828(),
|
|
55849
|
+
IsOptional87(),
|
|
55850
|
+
IsDate200(),
|
|
55851
|
+
Type512(() => Date)
|
|
55756
55852
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "fecha_envio", 2);
|
|
55757
55853
|
__decorateClass([
|
|
55758
|
-
|
|
55759
|
-
|
|
55760
|
-
|
|
55761
|
-
|
|
55854
|
+
Expose828(),
|
|
55855
|
+
IsOptional87(),
|
|
55856
|
+
ValidateNested442(),
|
|
55857
|
+
Type512(() => UsuarioDTO)
|
|
55762
55858
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "usuario_envio", 2);
|
|
55763
55859
|
__decorateClass([
|
|
55764
|
-
|
|
55765
|
-
|
|
55766
|
-
|
|
55767
|
-
|
|
55860
|
+
Expose828(),
|
|
55861
|
+
IsOptional87(),
|
|
55862
|
+
ValidateNested442(),
|
|
55863
|
+
Type512(() => RevisionVeredaDTO)
|
|
55768
55864
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "revision", 2);
|
|
55769
55865
|
__decorateClass([
|
|
55770
|
-
|
|
55771
|
-
|
|
55772
|
-
|
|
55773
|
-
|
|
55866
|
+
Expose828(),
|
|
55867
|
+
IsOptional87(),
|
|
55868
|
+
ValidateNested442(),
|
|
55869
|
+
Type512(() => CierreSsamVeredaDTO)
|
|
55774
55870
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "cierre_ssam", 2);
|
|
55775
55871
|
__decorateClass([
|
|
55776
|
-
|
|
55777
|
-
|
|
55872
|
+
Expose828(),
|
|
55873
|
+
IsDefined315(),
|
|
55778
55874
|
IsArray261(),
|
|
55779
|
-
|
|
55780
|
-
|
|
55875
|
+
ValidateNested442({ each: true }),
|
|
55876
|
+
Type512(() => BitacoraDTO)
|
|
55781
55877
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "bitacora", 2);
|
|
55782
55878
|
|
|
55783
55879
|
// src/v2/dtos/CodeName.ts
|
|
55784
|
-
import { Expose as
|
|
55785
|
-
import { IsDefined as
|
|
55880
|
+
import { Expose as Expose829, Transform as Transform118 } from "class-transformer";
|
|
55881
|
+
import { IsDefined as IsDefined316, IsString as IsString685, MinLength as MinLength57 } from "class-validator";
|
|
55786
55882
|
var CodeNameDto = class {
|
|
55787
55883
|
code;
|
|
55788
55884
|
name;
|
|
55789
55885
|
};
|
|
55790
55886
|
__decorateClass([
|
|
55791
|
-
|
|
55792
|
-
|
|
55793
|
-
|
|
55794
|
-
|
|
55887
|
+
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55888
|
+
IsDefined316({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
55889
|
+
IsString685({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
55890
|
+
Expose829()
|
|
55795
55891
|
], CodeNameDto.prototype, "code", 2);
|
|
55796
55892
|
__decorateClass([
|
|
55797
|
-
|
|
55798
|
-
|
|
55799
|
-
|
|
55800
|
-
|
|
55893
|
+
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55894
|
+
IsDefined316({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
55895
|
+
IsString685({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
55896
|
+
Expose829()
|
|
55801
55897
|
], CodeNameDto.prototype, "name", 2);
|
|
55802
55898
|
var CodeNameMinLengthDto = class extends CodeNameDto {
|
|
55803
55899
|
};
|
|
@@ -55809,32 +55905,32 @@ __decorateClass([
|
|
|
55809
55905
|
], CodeNameMinLengthDto.prototype, "name", 2);
|
|
55810
55906
|
|
|
55811
55907
|
// src/v2/dtos/Login.ts
|
|
55812
|
-
import { Expose as
|
|
55813
|
-
import { IsDefined as
|
|
55908
|
+
import { Expose as Expose830, Transform as Transform119 } from "class-transformer";
|
|
55909
|
+
import { IsDefined as IsDefined317, IsEmail as IsEmail6, Length as Length345 } from "class-validator";
|
|
55814
55910
|
var LoginDto = class {
|
|
55815
55911
|
email = "";
|
|
55816
55912
|
password = "";
|
|
55817
55913
|
};
|
|
55818
55914
|
__decorateClass([
|
|
55819
|
-
|
|
55820
|
-
|
|
55915
|
+
Transform119(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
55916
|
+
IsDefined317({ message: "Debe proporcionar un email" }),
|
|
55821
55917
|
IsEmail6({}, { message: "El email es inv\xE1lido" }),
|
|
55822
|
-
|
|
55918
|
+
Expose830()
|
|
55823
55919
|
], LoginDto.prototype, "email", 2);
|
|
55824
55920
|
__decorateClass([
|
|
55825
|
-
|
|
55826
|
-
|
|
55921
|
+
Transform119(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55922
|
+
IsDefined317({ message: "Debe proporcionar una contrase\xF1a" }),
|
|
55827
55923
|
Length345(8, 20, { message: "La contrase\xF1a debe tener entre 8 y 20 caracteres" }),
|
|
55828
|
-
|
|
55924
|
+
Expose830()
|
|
55829
55925
|
], LoginDto.prototype, "password", 2);
|
|
55830
55926
|
|
|
55831
55927
|
// src/v2/dtos/PayloadToken.ts
|
|
55832
|
-
import { IsArray as IsArray264, IsDefined as
|
|
55833
|
-
import { Expose as
|
|
55928
|
+
import { IsArray as IsArray264, IsDefined as IsDefined320, IsEnum as IsEnum60, IsObject as IsObject15, IsOptional as IsOptional88, ValidateNested as ValidateNested444 } from "class-validator";
|
|
55929
|
+
import { Expose as Expose833, Type as Type514 } from "class-transformer";
|
|
55834
55930
|
|
|
55835
55931
|
// src/v2/dtos/AuthUser.ts
|
|
55836
|
-
import { IsArray as IsArray262, IsBoolean as IsBoolean78, IsDefined as
|
|
55837
|
-
import { Expose as
|
|
55932
|
+
import { IsArray as IsArray262, IsBoolean as IsBoolean78, IsDefined as IsDefined318, IsEmail as IsEmail7, IsString as IsString686, IsUUID as IsUUID25 } from "class-validator";
|
|
55933
|
+
import { Expose as Expose831, Transform as Transform120 } from "class-transformer";
|
|
55838
55934
|
var AuthUserDto = class {
|
|
55839
55935
|
email;
|
|
55840
55936
|
paternalLastName;
|
|
@@ -55845,67 +55941,67 @@ var AuthUserDto = class {
|
|
|
55845
55941
|
profileIds;
|
|
55846
55942
|
};
|
|
55847
55943
|
__decorateClass([
|
|
55848
|
-
|
|
55944
|
+
IsDefined318({ message: "El correo es requerido" }),
|
|
55849
55945
|
IsEmail7({}, { message: "El correo es invalido" }),
|
|
55850
|
-
|
|
55851
|
-
|
|
55946
|
+
Transform120(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
55947
|
+
Expose831()
|
|
55852
55948
|
], AuthUserDto.prototype, "email", 2);
|
|
55853
55949
|
__decorateClass([
|
|
55854
|
-
|
|
55855
|
-
|
|
55856
|
-
|
|
55857
|
-
|
|
55950
|
+
Transform120(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55951
|
+
IsDefined318({ message: "El apellido paterno es requerido" }),
|
|
55952
|
+
IsString686({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
55953
|
+
Expose831()
|
|
55858
55954
|
], AuthUserDto.prototype, "paternalLastName", 2);
|
|
55859
55955
|
__decorateClass([
|
|
55860
|
-
|
|
55861
|
-
|
|
55862
|
-
|
|
55863
|
-
|
|
55956
|
+
Transform120(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55957
|
+
IsDefined318({ message: "El apellido materno es requerido" }),
|
|
55958
|
+
IsString686({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
55959
|
+
Expose831()
|
|
55864
55960
|
], AuthUserDto.prototype, "maternalLastName", 2);
|
|
55865
55961
|
__decorateClass([
|
|
55866
|
-
|
|
55867
|
-
|
|
55868
|
-
|
|
55869
|
-
|
|
55962
|
+
Transform120(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55963
|
+
IsDefined318({ message: "El nombre es requerido" }),
|
|
55964
|
+
IsString686({ message: "El nombre debe ser una cadena de texto" }),
|
|
55965
|
+
Expose831()
|
|
55870
55966
|
], AuthUserDto.prototype, "firstNames", 2);
|
|
55871
55967
|
__decorateClass([
|
|
55872
|
-
|
|
55873
|
-
|
|
55874
|
-
|
|
55875
|
-
|
|
55968
|
+
Transform120(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55969
|
+
IsDefined318({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
55970
|
+
IsString686({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
55971
|
+
Expose831()
|
|
55876
55972
|
], AuthUserDto.prototype, "identification", 2);
|
|
55877
55973
|
__decorateClass([
|
|
55878
|
-
|
|
55974
|
+
IsDefined318({ message: 'La propiedad "root" es obligatoria.' }),
|
|
55879
55975
|
IsBoolean78({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
55880
|
-
|
|
55976
|
+
Expose831()
|
|
55881
55977
|
], AuthUserDto.prototype, "root", 2);
|
|
55882
55978
|
__decorateClass([
|
|
55883
|
-
|
|
55979
|
+
IsDefined318({ message: "El campo Perfiles es obligatorio" }),
|
|
55884
55980
|
IsArray262({ message: "El campo Perfiles debe ser un array" }),
|
|
55885
55981
|
IsUUID25("4", { each: true, message: "Cada perfil debe ser un UUID v4 v\xE1lido." }),
|
|
55886
|
-
|
|
55982
|
+
Expose831()
|
|
55887
55983
|
], AuthUserDto.prototype, "profileIds", 2);
|
|
55888
55984
|
|
|
55889
55985
|
// src/v2/dtos/Profile.ts
|
|
55890
|
-
import { Expose as
|
|
55891
|
-
import { IsDefined as
|
|
55986
|
+
import { Expose as Expose832, Transform as Transform121 } from "class-transformer";
|
|
55987
|
+
import { IsDefined as IsDefined319, IsString as IsString687, Length as Length346 } from "class-validator";
|
|
55892
55988
|
var ProfileDto = class {
|
|
55893
55989
|
name;
|
|
55894
55990
|
description;
|
|
55895
55991
|
};
|
|
55896
55992
|
__decorateClass([
|
|
55897
|
-
|
|
55898
|
-
|
|
55899
|
-
|
|
55993
|
+
IsDefined319({ message: "El campo nombre es requerido" }),
|
|
55994
|
+
Transform121(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55995
|
+
IsString687({ message: "debe ser una cadena de texto" }),
|
|
55900
55996
|
Length346(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
55901
|
-
|
|
55997
|
+
Expose832()
|
|
55902
55998
|
], ProfileDto.prototype, "name", 2);
|
|
55903
55999
|
__decorateClass([
|
|
55904
|
-
|
|
55905
|
-
|
|
55906
|
-
|
|
56000
|
+
IsDefined319({ message: "El campo descripci\xF3n es requerido" }),
|
|
56001
|
+
Transform121(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56002
|
+
IsString687({ message: "debe ser una cadena de texto" }),
|
|
55907
56003
|
Length346(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
55908
|
-
|
|
56004
|
+
Expose832()
|
|
55909
56005
|
], ProfileDto.prototype, "description", 2);
|
|
55910
56006
|
|
|
55911
56007
|
// src/v2/enums/EmploymentType.ts
|
|
@@ -55928,84 +56024,84 @@ var PayloadTokenDto = class {
|
|
|
55928
56024
|
employmentType;
|
|
55929
56025
|
};
|
|
55930
56026
|
__decorateClass([
|
|
55931
|
-
|
|
55932
|
-
|
|
55933
|
-
|
|
56027
|
+
ValidateNested444(),
|
|
56028
|
+
Type514(() => AuthUserDto),
|
|
56029
|
+
Expose833()
|
|
55934
56030
|
], PayloadTokenDto.prototype, "user", 2);
|
|
55935
56031
|
__decorateClass([
|
|
55936
|
-
|
|
55937
|
-
|
|
55938
|
-
|
|
55939
|
-
|
|
56032
|
+
IsOptional88(),
|
|
56033
|
+
ValidateNested444(),
|
|
56034
|
+
Type514(() => AuthUserDto),
|
|
56035
|
+
Expose833()
|
|
55940
56036
|
], PayloadTokenDto.prototype, "manager", 2);
|
|
55941
56037
|
__decorateClass([
|
|
55942
56038
|
IsArray264({ message: "Los perfiles deben ser un array" }),
|
|
55943
|
-
|
|
55944
|
-
|
|
55945
|
-
|
|
56039
|
+
ValidateNested444({ each: true }),
|
|
56040
|
+
Type514(() => ProfileDto),
|
|
56041
|
+
Expose833()
|
|
55946
56042
|
], PayloadTokenDto.prototype, "profiles", 2);
|
|
55947
56043
|
__decorateClass([
|
|
55948
|
-
|
|
55949
|
-
|
|
55950
|
-
|
|
56044
|
+
IsDefined320({ message: "La empresa es requerida" }),
|
|
56045
|
+
Type514(() => CodeNameDto),
|
|
56046
|
+
ValidateNested444(),
|
|
55951
56047
|
IsObject15(),
|
|
55952
|
-
|
|
56048
|
+
Expose833()
|
|
55953
56049
|
], PayloadTokenDto.prototype, "company", 2);
|
|
55954
56050
|
__decorateClass([
|
|
55955
|
-
|
|
55956
|
-
|
|
55957
|
-
|
|
56051
|
+
IsDefined320({ message: "La bodega es requerido" }),
|
|
56052
|
+
Type514(() => CodeNameDto),
|
|
56053
|
+
ValidateNested444(),
|
|
55958
56054
|
IsObject15(),
|
|
55959
|
-
|
|
56055
|
+
Expose833()
|
|
55960
56056
|
], PayloadTokenDto.prototype, "stockroom", 2);
|
|
55961
56057
|
__decorateClass([
|
|
55962
|
-
|
|
55963
|
-
|
|
55964
|
-
|
|
56058
|
+
IsDefined320({ message: "El almac\xE9n es requerido" }),
|
|
56059
|
+
Type514(() => CodeNameDto),
|
|
56060
|
+
ValidateNested444(),
|
|
55965
56061
|
IsObject15(),
|
|
55966
|
-
|
|
56062
|
+
Expose833()
|
|
55967
56063
|
], PayloadTokenDto.prototype, "warehouse", 2);
|
|
55968
56064
|
__decorateClass([
|
|
55969
|
-
|
|
55970
|
-
|
|
55971
|
-
|
|
56065
|
+
IsDefined320({ message: "debe proporcionar el pa\xEDs" }),
|
|
56066
|
+
ValidateNested444(),
|
|
56067
|
+
Type514(() => CodeNameMinLengthDto),
|
|
55972
56068
|
IsObject15(),
|
|
55973
|
-
|
|
56069
|
+
Expose833()
|
|
55974
56070
|
], PayloadTokenDto.prototype, "country", 2);
|
|
55975
56071
|
__decorateClass([
|
|
55976
|
-
|
|
55977
|
-
|
|
55978
|
-
|
|
56072
|
+
IsDefined320({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
56073
|
+
ValidateNested444(),
|
|
56074
|
+
Type514(() => CodeNameMinLengthDto),
|
|
55979
56075
|
IsObject15(),
|
|
55980
|
-
|
|
56076
|
+
Expose833()
|
|
55981
56077
|
], PayloadTokenDto.prototype, "delegation", 2);
|
|
55982
56078
|
__decorateClass([
|
|
55983
|
-
|
|
56079
|
+
IsDefined320({ message: "Debe proporcionar el tipo de empleado" }),
|
|
55984
56080
|
IsEnum60(EmploymentType, { message: "El tipo de empleado no es v\xE1lido" }),
|
|
55985
|
-
|
|
56081
|
+
Expose833()
|
|
55986
56082
|
], PayloadTokenDto.prototype, "employmentType", 2);
|
|
55987
56083
|
|
|
55988
56084
|
// src/v2/dtos/SelectCrew.ts
|
|
55989
|
-
import { Expose as
|
|
55990
|
-
import { IsDefined as
|
|
56085
|
+
import { Expose as Expose834, Transform as Transform122 } from "class-transformer";
|
|
56086
|
+
import { IsDefined as IsDefined321, IsNotEmpty as IsNotEmpty470, IsString as IsString688 } from "class-validator";
|
|
55991
56087
|
var SelectCrewDto = class {
|
|
55992
56088
|
crewCode = "";
|
|
55993
56089
|
};
|
|
55994
56090
|
__decorateClass([
|
|
55995
|
-
|
|
55996
|
-
|
|
55997
|
-
|
|
55998
|
-
|
|
55999
|
-
|
|
56091
|
+
Transform122(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56092
|
+
IsDefined321({ message: "Debe proporcionar el c\xF3digo de la cuadrilla" }),
|
|
56093
|
+
IsString688({ message: "El c\xF3digo de la cuadrilla debe ser una cadena de texto" }),
|
|
56094
|
+
IsNotEmpty470({ message: "Debe proporcionar el c\xF3digo de la cuadrilla" }),
|
|
56095
|
+
Expose834()
|
|
56000
56096
|
], SelectCrewDto.prototype, "crewCode", 2);
|
|
56001
56097
|
|
|
56002
56098
|
// src/v2/dtos/ResponseSignIn.ts
|
|
56003
|
-
import { IsArray as IsArray265, IsDefined as
|
|
56004
|
-
import { Expose as
|
|
56099
|
+
import { IsArray as IsArray265, IsDefined as IsDefined323, IsObject as IsObject16, IsString as IsString690, MinLength as MinLength59, ValidateNested as ValidateNested445 } from "class-validator";
|
|
56100
|
+
import { Expose as Expose836, Type as Type515 } from "class-transformer";
|
|
56005
56101
|
|
|
56006
56102
|
// src/v2/entities/SystemOption.ts
|
|
56007
|
-
import { Expose as
|
|
56008
|
-
import { IsBoolean as IsBoolean80, IsDefined as
|
|
56103
|
+
import { Expose as Expose835 } from "class-transformer";
|
|
56104
|
+
import { IsBoolean as IsBoolean80, IsDefined as IsDefined322, IsNotEmpty as IsNotEmpty471, IsString as IsString689, IsUUID as IsUUID27 } from "class-validator";
|
|
56009
56105
|
var SystemOptionEntity = class {
|
|
56010
56106
|
_id;
|
|
56011
56107
|
key;
|
|
@@ -56017,39 +56113,39 @@ var SystemOptionEntity = class {
|
|
|
56017
56113
|
root;
|
|
56018
56114
|
};
|
|
56019
56115
|
__decorateClass([
|
|
56020
|
-
|
|
56116
|
+
IsDefined322({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56021
56117
|
IsUUID27("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56022
|
-
|
|
56118
|
+
Expose835()
|
|
56023
56119
|
], SystemOptionEntity.prototype, "_id", 2);
|
|
56024
56120
|
__decorateClass([
|
|
56025
|
-
|
|
56026
|
-
|
|
56027
|
-
|
|
56121
|
+
IsNotEmpty471({ message: "Key no puede estar vac\xEDo" }),
|
|
56122
|
+
IsString689({ message: "Key debe ser una cadena de texto" }),
|
|
56123
|
+
Expose835()
|
|
56028
56124
|
], SystemOptionEntity.prototype, "key", 2);
|
|
56029
56125
|
__decorateClass([
|
|
56030
|
-
|
|
56031
|
-
|
|
56126
|
+
IsString689({ message: "Nombre debe ser una cadena de texto" }),
|
|
56127
|
+
Expose835()
|
|
56032
56128
|
], SystemOptionEntity.prototype, "name", 2);
|
|
56033
56129
|
__decorateClass([
|
|
56034
|
-
|
|
56035
|
-
|
|
56036
|
-
|
|
56130
|
+
IsNotEmpty471({ message: "Prefijo no puede estar vac\xEDo" }),
|
|
56131
|
+
IsString689({ message: "Prefijo debe ser una cadena de texto" }),
|
|
56132
|
+
Expose835()
|
|
56037
56133
|
], SystemOptionEntity.prototype, "prefix", 2);
|
|
56038
56134
|
__decorateClass([
|
|
56039
|
-
|
|
56040
|
-
|
|
56135
|
+
IsString689({ message: "M\xE9todo debe ser una cadena de texto" }),
|
|
56136
|
+
Expose835()
|
|
56041
56137
|
], SystemOptionEntity.prototype, "method", 2);
|
|
56042
56138
|
__decorateClass([
|
|
56043
|
-
|
|
56044
|
-
|
|
56139
|
+
IsString689({ message: "Padre debe ser una cadena de texto" }),
|
|
56140
|
+
Expose835()
|
|
56045
56141
|
], SystemOptionEntity.prototype, "father", 2);
|
|
56046
56142
|
__decorateClass([
|
|
56047
|
-
|
|
56048
|
-
|
|
56143
|
+
IsString689({ message: "Padre debe ser una cadena de texto" }),
|
|
56144
|
+
Expose835()
|
|
56049
56145
|
], SystemOptionEntity.prototype, "route", 2);
|
|
56050
56146
|
__decorateClass([
|
|
56051
56147
|
IsBoolean80({ message: "Root debe ser booleano" }),
|
|
56052
|
-
|
|
56148
|
+
Expose835()
|
|
56053
56149
|
], SystemOptionEntity.prototype, "root", 2);
|
|
56054
56150
|
|
|
56055
56151
|
// src/v2/dtos/ResponseSignIn.ts
|
|
@@ -56059,42 +56155,42 @@ var ResponseSignInDto = class {
|
|
|
56059
56155
|
tags = [];
|
|
56060
56156
|
};
|
|
56061
56157
|
__decorateClass([
|
|
56062
|
-
|
|
56158
|
+
IsDefined323({ message: "El usuario es requerido" }),
|
|
56063
56159
|
IsObject16({ message: "El usuario debe ser un objeto" }),
|
|
56064
|
-
|
|
56065
|
-
|
|
56066
|
-
|
|
56160
|
+
ValidateNested445(),
|
|
56161
|
+
Type515(() => PayloadTokenDto),
|
|
56162
|
+
Expose836()
|
|
56067
56163
|
], ResponseSignInDto.prototype, "auth", 2);
|
|
56068
56164
|
__decorateClass([
|
|
56069
56165
|
IsArray265({ message: "La propiedad debe ser un arreglo" }),
|
|
56070
|
-
|
|
56071
|
-
|
|
56072
|
-
|
|
56166
|
+
ValidateNested445({ each: true, message: "Cada elemento de la propiedad debe ser una instancia v\xE1lida" }),
|
|
56167
|
+
Type515(() => SystemOptionEntity),
|
|
56168
|
+
Expose836()
|
|
56073
56169
|
], ResponseSignInDto.prototype, "dataSystemOptions", 2);
|
|
56074
56170
|
__decorateClass([
|
|
56075
56171
|
IsArray265({ message: "Tags debe ser un arreglo" }),
|
|
56076
|
-
|
|
56172
|
+
IsString690({ each: true, message: "Cada elemento de tags debe ser una cadena de texto v\xE1lida" }),
|
|
56077
56173
|
MinLength59(1, { each: true, message: "Cada tag debe tener al menos un car\xE1cter" }),
|
|
56078
|
-
|
|
56174
|
+
Expose836()
|
|
56079
56175
|
], ResponseSignInDto.prototype, "tags", 2);
|
|
56080
56176
|
|
|
56081
56177
|
// src/v2/dtos/ForgotPassword.ts
|
|
56082
|
-
import { Expose as
|
|
56083
|
-
import { IsDefined as
|
|
56178
|
+
import { Expose as Expose837, Transform as Transform123 } from "class-transformer";
|
|
56179
|
+
import { IsDefined as IsDefined324, IsEmail as IsEmail8 } from "class-validator";
|
|
56084
56180
|
var ForgotPasswordDto = class {
|
|
56085
56181
|
email = "";
|
|
56086
56182
|
};
|
|
56087
56183
|
__decorateClass([
|
|
56088
|
-
|
|
56089
|
-
|
|
56184
|
+
Transform123(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
56185
|
+
IsDefined324({ message: "Debe proporcionar un email" }),
|
|
56090
56186
|
IsEmail8({}, { message: "El email es inv\xE1lido" }),
|
|
56091
|
-
|
|
56187
|
+
Expose837()
|
|
56092
56188
|
], ForgotPasswordDto.prototype, "email", 2);
|
|
56093
56189
|
|
|
56094
56190
|
// src/v2/dtos/ResetPassword.ts
|
|
56095
|
-
import { Expose as
|
|
56191
|
+
import { Expose as Expose838 } from "class-transformer";
|
|
56096
56192
|
import {
|
|
56097
|
-
IsString as
|
|
56193
|
+
IsString as IsString691,
|
|
56098
56194
|
MinLength as MinLength60,
|
|
56099
56195
|
IsStrongPassword
|
|
56100
56196
|
} from "class-validator";
|
|
@@ -56104,26 +56200,26 @@ var ResetPasswordDto = class {
|
|
|
56104
56200
|
token = "";
|
|
56105
56201
|
};
|
|
56106
56202
|
__decorateClass([
|
|
56107
|
-
|
|
56203
|
+
IsString691(),
|
|
56108
56204
|
MinLength60(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
56109
56205
|
IsStrongPassword({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
56110
|
-
|
|
56206
|
+
Expose838()
|
|
56111
56207
|
], ResetPasswordDto.prototype, "password", 2);
|
|
56112
56208
|
__decorateClass([
|
|
56113
|
-
|
|
56209
|
+
IsString691(),
|
|
56114
56210
|
MinLength60(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
56115
56211
|
IsStrongPassword({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
56116
|
-
|
|
56212
|
+
Expose838()
|
|
56117
56213
|
], ResetPasswordDto.prototype, "confirmPassword", 2);
|
|
56118
56214
|
__decorateClass([
|
|
56119
|
-
|
|
56215
|
+
IsString691(),
|
|
56120
56216
|
MinLength60(50),
|
|
56121
|
-
|
|
56217
|
+
Expose838()
|
|
56122
56218
|
], ResetPasswordDto.prototype, "token", 2);
|
|
56123
56219
|
|
|
56124
56220
|
// src/v2/dtos/CreateProfile.ts
|
|
56125
|
-
import { Expose as
|
|
56126
|
-
import { IsArray as IsArray266, IsDefined as
|
|
56221
|
+
import { Expose as Expose839, Transform as Transform124 } from "class-transformer";
|
|
56222
|
+
import { IsArray as IsArray266, IsDefined as IsDefined325, IsString as IsString692, Length as Length348, MinLength as MinLength61, IsUUID as IsUUID28 } from "class-validator";
|
|
56127
56223
|
var CreateProfileDto = class {
|
|
56128
56224
|
_id;
|
|
56129
56225
|
name;
|
|
@@ -56131,35 +56227,35 @@ var CreateProfileDto = class {
|
|
|
56131
56227
|
systemOptions;
|
|
56132
56228
|
};
|
|
56133
56229
|
__decorateClass([
|
|
56134
|
-
|
|
56230
|
+
IsDefined325({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56135
56231
|
IsUUID28("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56136
|
-
|
|
56232
|
+
Expose839()
|
|
56137
56233
|
], CreateProfileDto.prototype, "_id", 2);
|
|
56138
56234
|
__decorateClass([
|
|
56139
|
-
|
|
56140
|
-
|
|
56141
|
-
|
|
56235
|
+
IsDefined325({ message: "El campo nombre es requerido" }),
|
|
56236
|
+
Transform124(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56237
|
+
IsString692({ message: "debe ser una cadena de texto" }),
|
|
56142
56238
|
Length348(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
56143
|
-
|
|
56239
|
+
Expose839()
|
|
56144
56240
|
], CreateProfileDto.prototype, "name", 2);
|
|
56145
56241
|
__decorateClass([
|
|
56146
|
-
|
|
56147
|
-
|
|
56148
|
-
|
|
56242
|
+
IsDefined325({ message: "El campo descripci\xF3n es requerido" }),
|
|
56243
|
+
Transform124(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56244
|
+
IsString692({ message: "debe ser una cadena de texto" }),
|
|
56149
56245
|
Length348(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
56150
|
-
|
|
56246
|
+
Expose839()
|
|
56151
56247
|
], CreateProfileDto.prototype, "description", 2);
|
|
56152
56248
|
__decorateClass([
|
|
56153
|
-
|
|
56249
|
+
IsDefined325({ message: "El campo opciones de sistema es requerido" }),
|
|
56154
56250
|
IsArray266({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
56155
|
-
|
|
56251
|
+
IsString692({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
56156
56252
|
MinLength61(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
56157
|
-
|
|
56253
|
+
Expose839()
|
|
56158
56254
|
], CreateProfileDto.prototype, "systemOptions", 2);
|
|
56159
56255
|
|
|
56160
56256
|
// src/v2/dtos/UpdateProfile.ts
|
|
56161
|
-
import { Expose as
|
|
56162
|
-
import { IsArray as IsArray267, IsDefined as
|
|
56257
|
+
import { Expose as Expose840, Transform as Transform125 } from "class-transformer";
|
|
56258
|
+
import { IsArray as IsArray267, IsDefined as IsDefined326, IsString as IsString693, Length as Length349, MinLength as MinLength62, IsBoolean as IsBoolean82 } from "class-validator";
|
|
56163
56259
|
var UpdateProfileDto = class {
|
|
56164
56260
|
active;
|
|
56165
56261
|
name;
|
|
@@ -56167,75 +56263,75 @@ var UpdateProfileDto = class {
|
|
|
56167
56263
|
systemOptions;
|
|
56168
56264
|
};
|
|
56169
56265
|
__decorateClass([
|
|
56170
|
-
|
|
56266
|
+
IsDefined326({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
56171
56267
|
IsBoolean82({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
56172
|
-
|
|
56268
|
+
Expose840()
|
|
56173
56269
|
], UpdateProfileDto.prototype, "active", 2);
|
|
56174
56270
|
__decorateClass([
|
|
56175
|
-
|
|
56176
|
-
|
|
56177
|
-
|
|
56271
|
+
IsDefined326({ message: "El campo nombre es requerido" }),
|
|
56272
|
+
Transform125(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56273
|
+
IsString693({ message: "debe ser una cadena de texto" }),
|
|
56178
56274
|
Length349(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
56179
|
-
|
|
56275
|
+
Expose840()
|
|
56180
56276
|
], UpdateProfileDto.prototype, "name", 2);
|
|
56181
56277
|
__decorateClass([
|
|
56182
|
-
|
|
56183
|
-
|
|
56184
|
-
|
|
56278
|
+
IsDefined326({ message: "El campo descripci\xF3n es requerido" }),
|
|
56279
|
+
Transform125(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56280
|
+
IsString693({ message: "debe ser una cadena de texto" }),
|
|
56185
56281
|
Length349(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
56186
|
-
|
|
56282
|
+
Expose840()
|
|
56187
56283
|
], UpdateProfileDto.prototype, "description", 2);
|
|
56188
56284
|
__decorateClass([
|
|
56189
|
-
|
|
56285
|
+
IsDefined326({ message: "El campo opciones de sistema es requerido" }),
|
|
56190
56286
|
IsArray267({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
56191
|
-
|
|
56287
|
+
IsString693({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
56192
56288
|
MinLength62(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
56193
|
-
|
|
56289
|
+
Expose840()
|
|
56194
56290
|
], UpdateProfileDto.prototype, "systemOptions", 2);
|
|
56195
56291
|
|
|
56196
56292
|
// src/v2/dtos/Company.ts
|
|
56197
|
-
import { Expose as
|
|
56198
|
-
import { IsDefined as
|
|
56293
|
+
import { Expose as Expose841 } from "class-transformer";
|
|
56294
|
+
import { IsDefined as IsDefined327, IsUUID as IsUUID30 } from "class-validator";
|
|
56199
56295
|
var CompanyDto = class {
|
|
56200
56296
|
_id;
|
|
56201
56297
|
countryId;
|
|
56202
56298
|
};
|
|
56203
56299
|
__decorateClass([
|
|
56204
|
-
|
|
56300
|
+
IsDefined327({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56205
56301
|
IsUUID30("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56206
|
-
|
|
56302
|
+
Expose841()
|
|
56207
56303
|
], CompanyDto.prototype, "_id", 2);
|
|
56208
56304
|
__decorateClass([
|
|
56209
|
-
|
|
56305
|
+
IsDefined327({ message: "El campo pa\xEDs es requerido" }),
|
|
56210
56306
|
IsUUID30("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
56211
|
-
|
|
56307
|
+
Expose841()
|
|
56212
56308
|
], CompanyDto.prototype, "countryId", 2);
|
|
56213
56309
|
|
|
56214
56310
|
// src/v2/dtos/UpdateUser.ts
|
|
56215
|
-
import { IsArray as IsArray269, IsDefined as
|
|
56216
|
-
import { Expose as
|
|
56311
|
+
import { IsArray as IsArray269, IsDefined as IsDefined328, IsUUID as IsUUID31 } from "class-validator";
|
|
56312
|
+
import { Expose as Expose842 } from "class-transformer";
|
|
56217
56313
|
var UpdateUserDto = class {
|
|
56218
56314
|
profileIds;
|
|
56219
56315
|
};
|
|
56220
56316
|
__decorateClass([
|
|
56221
|
-
|
|
56317
|
+
IsDefined328({ message: "El campo Perfiles es obligatorio" }),
|
|
56222
56318
|
IsArray269({ message: "El campo Perfiles debe ser un array" }),
|
|
56223
56319
|
IsUUID31("4", { each: true, message: "Cada perfil debe ser un UUID v4 v\xE1lido." }),
|
|
56224
|
-
|
|
56320
|
+
Expose842()
|
|
56225
56321
|
], UpdateUserDto.prototype, "profileIds", 2);
|
|
56226
56322
|
|
|
56227
56323
|
// src/v2/dtos/DocumentRequirement.ts
|
|
56228
|
-
import { Expose as
|
|
56324
|
+
import { Expose as Expose843, Type as Type517 } from "class-transformer";
|
|
56229
56325
|
import {
|
|
56230
56326
|
IsArray as IsArray270,
|
|
56231
56327
|
IsBoolean as IsBoolean85,
|
|
56232
|
-
IsDefined as
|
|
56328
|
+
IsDefined as IsDefined329,
|
|
56233
56329
|
IsEnum as IsEnum62,
|
|
56234
|
-
IsNotEmpty as
|
|
56235
|
-
IsNumber as
|
|
56236
|
-
IsString as
|
|
56237
|
-
Min as
|
|
56238
|
-
ValidateNested as
|
|
56330
|
+
IsNotEmpty as IsNotEmpty473,
|
|
56331
|
+
IsNumber as IsNumber540,
|
|
56332
|
+
IsString as IsString696,
|
|
56333
|
+
Min as Min357,
|
|
56334
|
+
ValidateNested as ValidateNested447
|
|
56239
56335
|
} from "class-validator";
|
|
56240
56336
|
|
|
56241
56337
|
// src/v2/enums/FileExtension.ts
|
|
@@ -56259,61 +56355,61 @@ var _DocumentRequirementDto = class _DocumentRequirementDto {
|
|
|
56259
56355
|
maxFileSize;
|
|
56260
56356
|
};
|
|
56261
56357
|
__decorateClass([
|
|
56262
|
-
|
|
56263
|
-
|
|
56264
|
-
|
|
56265
|
-
|
|
56358
|
+
IsDefined329({ message: "El id es requerido" }),
|
|
56359
|
+
IsString696({ message: "El id debe ser una cadena de texto" }),
|
|
56360
|
+
IsNotEmpty473({ message: "El id no debe estar vac\xEDo" }),
|
|
56361
|
+
Expose843()
|
|
56266
56362
|
], _DocumentRequirementDto.prototype, "id", 2);
|
|
56267
56363
|
__decorateClass([
|
|
56268
|
-
|
|
56269
|
-
|
|
56270
|
-
|
|
56271
|
-
|
|
56364
|
+
IsDefined329({ message: "La etiqueta es requerida" }),
|
|
56365
|
+
IsString696({ message: "La etiqueta debe ser una cadena de texto" }),
|
|
56366
|
+
IsNotEmpty473({ message: "La etiqueta no debe estar vac\xEDa" }),
|
|
56367
|
+
Expose843()
|
|
56272
56368
|
], _DocumentRequirementDto.prototype, "label", 2);
|
|
56273
56369
|
__decorateClass([
|
|
56274
|
-
|
|
56370
|
+
IsDefined329({ message: "Las extensiones de archivo aceptadas son requeridas" }),
|
|
56275
56371
|
IsArray270({ message: "Las extensiones de archivo aceptadas deben ser un arreglo" }),
|
|
56276
56372
|
IsEnum62(FileExtension, {
|
|
56277
56373
|
each: true,
|
|
56278
56374
|
message: "Cada extensi\xF3n de archivo debe ser una extensi\xF3n v\xE1lida"
|
|
56279
56375
|
}),
|
|
56280
|
-
|
|
56376
|
+
Expose843()
|
|
56281
56377
|
], _DocumentRequirementDto.prototype, "acceptedFileExtensions", 2);
|
|
56282
56378
|
__decorateClass([
|
|
56283
|
-
|
|
56379
|
+
IsDefined329({ message: "Los hijos son requeridos" }),
|
|
56284
56380
|
IsArray270({ message: "Los hijos deben ser un arreglo" }),
|
|
56285
|
-
|
|
56286
|
-
|
|
56287
|
-
|
|
56381
|
+
Type517(() => _DocumentRequirementDto),
|
|
56382
|
+
ValidateNested447({ each: true }),
|
|
56383
|
+
Expose843()
|
|
56288
56384
|
], _DocumentRequirementDto.prototype, "children", 2);
|
|
56289
56385
|
__decorateClass([
|
|
56290
|
-
|
|
56291
|
-
|
|
56292
|
-
|
|
56293
|
-
|
|
56386
|
+
IsDefined329({ message: "El n\xFAmero m\xEDnimo de archivos es requerido" }),
|
|
56387
|
+
IsNumber540({}, { message: "El n\xFAmero m\xEDnimo de archivos debe ser un n\xFAmero" }),
|
|
56388
|
+
Min357(0, { message: "El n\xFAmero m\xEDnimo de archivos debe ser mayor o igual a $constraint1" }),
|
|
56389
|
+
Expose843()
|
|
56294
56390
|
], _DocumentRequirementDto.prototype, "minFiles", 2);
|
|
56295
56391
|
__decorateClass([
|
|
56296
|
-
|
|
56297
|
-
|
|
56298
|
-
|
|
56299
|
-
|
|
56392
|
+
IsDefined329({ message: "El n\xFAmero m\xE1ximo de archivos es requerido" }),
|
|
56393
|
+
IsNumber540({}, { message: "El n\xFAmero m\xE1ximo de archivos debe ser un n\xFAmero" }),
|
|
56394
|
+
Min357(1, { message: "El n\xFAmero m\xE1ximo de archivos debe ser mayor o igual a $constraint1" }),
|
|
56395
|
+
Expose843()
|
|
56300
56396
|
], _DocumentRequirementDto.prototype, "maxFiles", 2);
|
|
56301
56397
|
__decorateClass([
|
|
56302
|
-
|
|
56398
|
+
IsDefined329({ message: "La propiedad de requiere metadatos es requerida" }),
|
|
56303
56399
|
IsBoolean85({ message: "La propiedad de requiere metadatos debe ser un booleano" }),
|
|
56304
|
-
|
|
56400
|
+
Expose843()
|
|
56305
56401
|
], _DocumentRequirementDto.prototype, "requiresMetadata", 2);
|
|
56306
56402
|
__decorateClass([
|
|
56307
|
-
|
|
56308
|
-
|
|
56309
|
-
|
|
56310
|
-
|
|
56403
|
+
IsDefined329({ message: "El tama\xF1o m\xE1ximo de archivo es requerido" }),
|
|
56404
|
+
IsNumber540({}, { message: "El tama\xF1o m\xE1ximo de archivo debe ser un n\xFAmero" }),
|
|
56405
|
+
Min357(0, { message: "El tama\xF1o m\xE1ximo de archivo debe ser mayor o igual a $constraint1" }),
|
|
56406
|
+
Expose843()
|
|
56311
56407
|
], _DocumentRequirementDto.prototype, "maxFileSize", 2);
|
|
56312
56408
|
var DocumentRequirementDto = _DocumentRequirementDto;
|
|
56313
56409
|
|
|
56314
56410
|
// src/v2/dtos/CreateDelegation.ts
|
|
56315
|
-
import { Expose as
|
|
56316
|
-
import { IsDefined as
|
|
56411
|
+
import { Expose as Expose844 } from "class-transformer";
|
|
56412
|
+
import { IsDefined as IsDefined330, IsNotEmpty as IsNotEmpty474, IsString as IsString697, IsUUID as IsUUID32 } from "class-validator";
|
|
56317
56413
|
var CreateDelegationDto = class {
|
|
56318
56414
|
_id;
|
|
56319
56415
|
countryId;
|
|
@@ -56321,31 +56417,31 @@ var CreateDelegationDto = class {
|
|
|
56321
56417
|
name;
|
|
56322
56418
|
};
|
|
56323
56419
|
__decorateClass([
|
|
56324
|
-
|
|
56420
|
+
IsDefined330({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56325
56421
|
IsUUID32("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56326
|
-
|
|
56422
|
+
Expose844()
|
|
56327
56423
|
], CreateDelegationDto.prototype, "_id", 2);
|
|
56328
56424
|
__decorateClass([
|
|
56329
|
-
|
|
56425
|
+
IsDefined330({ message: "El campo pa\xEDs es obligatorio" }),
|
|
56330
56426
|
IsUUID32("4", { message: "El campo pa\xEDs debe ser un UUID v4 v\xE1lido." }),
|
|
56331
|
-
|
|
56427
|
+
Expose844()
|
|
56332
56428
|
], CreateDelegationDto.prototype, "countryId", 2);
|
|
56333
56429
|
__decorateClass([
|
|
56334
|
-
|
|
56335
|
-
|
|
56336
|
-
|
|
56337
|
-
|
|
56430
|
+
IsDefined330({ message: "El campo c\xF3digo es obligatorio." }),
|
|
56431
|
+
IsString697({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
56432
|
+
IsNotEmpty474({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
56433
|
+
Expose844()
|
|
56338
56434
|
], CreateDelegationDto.prototype, "code", 2);
|
|
56339
56435
|
__decorateClass([
|
|
56340
|
-
|
|
56341
|
-
|
|
56342
|
-
|
|
56343
|
-
|
|
56436
|
+
IsDefined330({ message: "El campo nombre es obligatorio." }),
|
|
56437
|
+
IsString697({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
56438
|
+
IsNotEmpty474({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
56439
|
+
Expose844()
|
|
56344
56440
|
], CreateDelegationDto.prototype, "name", 2);
|
|
56345
56441
|
|
|
56346
56442
|
// src/v2/dtos/UpdateDelegation.ts
|
|
56347
|
-
import { Expose as
|
|
56348
|
-
import { IsDefined as
|
|
56443
|
+
import { Expose as Expose845 } from "class-transformer";
|
|
56444
|
+
import { IsDefined as IsDefined331, IsNotEmpty as IsNotEmpty475, IsString as IsString698, IsUUID as IsUUID33 } from "class-validator";
|
|
56349
56445
|
var UpdateDelegationDto = class {
|
|
56350
56446
|
_id;
|
|
56351
56447
|
countryId;
|
|
@@ -56353,78 +56449,78 @@ var UpdateDelegationDto = class {
|
|
|
56353
56449
|
name;
|
|
56354
56450
|
};
|
|
56355
56451
|
__decorateClass([
|
|
56356
|
-
|
|
56452
|
+
IsDefined331({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56357
56453
|
IsUUID33("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56358
|
-
|
|
56454
|
+
Expose845()
|
|
56359
56455
|
], UpdateDelegationDto.prototype, "_id", 2);
|
|
56360
56456
|
__decorateClass([
|
|
56361
|
-
|
|
56457
|
+
IsDefined331({ message: "El campo pa\xEDs es obligatorio" }),
|
|
56362
56458
|
IsUUID33("4", { message: "El campo pa\xEDs debe ser un UUID v4 v\xE1lido." }),
|
|
56363
|
-
|
|
56459
|
+
Expose845()
|
|
56364
56460
|
], UpdateDelegationDto.prototype, "countryId", 2);
|
|
56365
56461
|
__decorateClass([
|
|
56366
|
-
|
|
56367
|
-
|
|
56368
|
-
|
|
56369
|
-
|
|
56462
|
+
IsDefined331({ message: "El campo c\xF3digo es obligatorio." }),
|
|
56463
|
+
IsString698({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
56464
|
+
IsNotEmpty475({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
56465
|
+
Expose845()
|
|
56370
56466
|
], UpdateDelegationDto.prototype, "code", 2);
|
|
56371
56467
|
__decorateClass([
|
|
56372
|
-
|
|
56373
|
-
|
|
56374
|
-
|
|
56375
|
-
|
|
56468
|
+
IsDefined331({ message: "El campo nombre es obligatorio." }),
|
|
56469
|
+
IsString698({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
56470
|
+
IsNotEmpty475({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
56471
|
+
Expose845()
|
|
56376
56472
|
], UpdateDelegationDto.prototype, "name", 2);
|
|
56377
56473
|
|
|
56378
56474
|
// src/v2/dtos/CreateCountry.ts
|
|
56379
|
-
import { Expose as
|
|
56380
|
-
import { IsDefined as
|
|
56475
|
+
import { Expose as Expose846 } from "class-transformer";
|
|
56476
|
+
import { IsDefined as IsDefined332, IsNotEmpty as IsNotEmpty476, IsString as IsString699, IsUUID as IsUUID34 } from "class-validator";
|
|
56381
56477
|
var CreateCountryDto = class {
|
|
56382
56478
|
_id;
|
|
56383
56479
|
code;
|
|
56384
56480
|
name;
|
|
56385
56481
|
};
|
|
56386
56482
|
__decorateClass([
|
|
56387
|
-
|
|
56483
|
+
IsDefined332({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56388
56484
|
IsUUID34("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56389
|
-
|
|
56485
|
+
Expose846()
|
|
56390
56486
|
], CreateCountryDto.prototype, "_id", 2);
|
|
56391
56487
|
__decorateClass([
|
|
56392
|
-
|
|
56393
|
-
|
|
56394
|
-
|
|
56395
|
-
|
|
56488
|
+
IsDefined332({ message: "El campo c\xF3digo es obligatorio." }),
|
|
56489
|
+
IsString699({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
56490
|
+
IsNotEmpty476({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
56491
|
+
Expose846()
|
|
56396
56492
|
], CreateCountryDto.prototype, "code", 2);
|
|
56397
56493
|
__decorateClass([
|
|
56398
|
-
|
|
56399
|
-
|
|
56400
|
-
|
|
56401
|
-
|
|
56494
|
+
IsDefined332({ message: "El campo nombre es obligatorio." }),
|
|
56495
|
+
IsString699({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
56496
|
+
IsNotEmpty476({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
56497
|
+
Expose846()
|
|
56402
56498
|
], CreateCountryDto.prototype, "name", 2);
|
|
56403
56499
|
|
|
56404
56500
|
// src/v2/dtos/UpdateCountry.ts
|
|
56405
|
-
import { Expose as
|
|
56406
|
-
import { IsDefined as
|
|
56501
|
+
import { Expose as Expose847 } from "class-transformer";
|
|
56502
|
+
import { IsDefined as IsDefined333, IsNotEmpty as IsNotEmpty477, IsString as IsString700, IsUUID as IsUUID35 } from "class-validator";
|
|
56407
56503
|
var UpdateCountryDto = class {
|
|
56408
56504
|
_id;
|
|
56409
56505
|
code;
|
|
56410
56506
|
name;
|
|
56411
56507
|
};
|
|
56412
56508
|
__decorateClass([
|
|
56413
|
-
|
|
56509
|
+
IsDefined333({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56414
56510
|
IsUUID35("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56415
|
-
|
|
56511
|
+
Expose847()
|
|
56416
56512
|
], UpdateCountryDto.prototype, "_id", 2);
|
|
56417
56513
|
__decorateClass([
|
|
56418
|
-
|
|
56419
|
-
|
|
56420
|
-
|
|
56421
|
-
|
|
56514
|
+
IsDefined333({ message: "El campo c\xF3digo es obligatorio." }),
|
|
56515
|
+
IsString700({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
56516
|
+
IsNotEmpty477({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
56517
|
+
Expose847()
|
|
56422
56518
|
], UpdateCountryDto.prototype, "code", 2);
|
|
56423
56519
|
__decorateClass([
|
|
56424
|
-
|
|
56425
|
-
|
|
56426
|
-
|
|
56427
|
-
|
|
56520
|
+
IsDefined333({ message: "El campo nombre es obligatorio." }),
|
|
56521
|
+
IsString700({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
56522
|
+
IsNotEmpty477({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
56523
|
+
Expose847()
|
|
56428
56524
|
], UpdateCountryDto.prototype, "name", 2);
|
|
56429
56525
|
|
|
56430
56526
|
// src/v2/enums/CompanyType.ts
|
|
@@ -56435,8 +56531,8 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
56435
56531
|
})(CompanyType || {});
|
|
56436
56532
|
|
|
56437
56533
|
// src/v2/dtos/CreateCompany.ts
|
|
56438
|
-
import { Expose as
|
|
56439
|
-
import { IsArray as IsArray271, IsBoolean as IsBoolean86, IsDefined as
|
|
56534
|
+
import { Expose as Expose848 } from "class-transformer";
|
|
56535
|
+
import { IsArray as IsArray271, IsBoolean as IsBoolean86, IsDefined as IsDefined334, IsEmail as IsEmail11, IsEnum as IsEnum63, IsNotEmpty as IsNotEmpty478, IsString as IsString701, IsUUID as IsUUID36 } from "class-validator";
|
|
56440
56536
|
var CreateCompanyDto = class {
|
|
56441
56537
|
_id;
|
|
56442
56538
|
companyType;
|
|
@@ -56451,72 +56547,72 @@ var CreateCompanyDto = class {
|
|
|
56451
56547
|
countryId;
|
|
56452
56548
|
};
|
|
56453
56549
|
__decorateClass([
|
|
56454
|
-
|
|
56550
|
+
IsDefined334({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56455
56551
|
IsUUID36("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56456
|
-
|
|
56552
|
+
Expose848()
|
|
56457
56553
|
], CreateCompanyDto.prototype, "_id", 2);
|
|
56458
56554
|
__decorateClass([
|
|
56459
|
-
|
|
56555
|
+
IsDefined334({ message: "El tipo de empresa es requerido" }),
|
|
56460
56556
|
IsEnum63(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
56461
|
-
|
|
56557
|
+
Expose848()
|
|
56462
56558
|
], CreateCompanyDto.prototype, "companyType", 2);
|
|
56463
56559
|
__decorateClass([
|
|
56464
|
-
|
|
56465
|
-
|
|
56466
|
-
|
|
56467
|
-
|
|
56560
|
+
IsDefined334({ message: "La identificaci\xF3n es requerida" }),
|
|
56561
|
+
IsString701({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
56562
|
+
IsNotEmpty478({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
56563
|
+
Expose848()
|
|
56468
56564
|
], CreateCompanyDto.prototype, "identification", 2);
|
|
56469
56565
|
__decorateClass([
|
|
56470
|
-
|
|
56471
|
-
|
|
56472
|
-
|
|
56473
|
-
|
|
56566
|
+
IsDefined334({ message: "El c\xF3digo es requerido" }),
|
|
56567
|
+
IsString701({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
56568
|
+
IsNotEmpty478({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
56569
|
+
Expose848()
|
|
56474
56570
|
], CreateCompanyDto.prototype, "code", 2);
|
|
56475
56571
|
__decorateClass([
|
|
56476
|
-
|
|
56477
|
-
|
|
56478
|
-
|
|
56479
|
-
|
|
56572
|
+
IsDefined334({ message: "El nombre legal es requerido" }),
|
|
56573
|
+
IsString701({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
56574
|
+
IsNotEmpty478({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
56575
|
+
Expose848()
|
|
56480
56576
|
], CreateCompanyDto.prototype, "legalName", 2);
|
|
56481
56577
|
__decorateClass([
|
|
56482
|
-
|
|
56483
|
-
|
|
56484
|
-
|
|
56485
|
-
|
|
56578
|
+
IsDefined334({ message: "El nombre comercial es requerido" }),
|
|
56579
|
+
IsString701({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
56580
|
+
IsNotEmpty478({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
56581
|
+
Expose848()
|
|
56486
56582
|
], CreateCompanyDto.prototype, "tradeName", 2);
|
|
56487
56583
|
__decorateClass([
|
|
56488
|
-
|
|
56584
|
+
IsDefined334({ message: "La propiedad es propia es requerida" }),
|
|
56489
56585
|
IsBoolean86({ message: "La propiedad es propia debe ser un booleano" }),
|
|
56490
|
-
|
|
56586
|
+
Expose848()
|
|
56491
56587
|
], CreateCompanyDto.prototype, "isOwn", 2);
|
|
56492
56588
|
__decorateClass([
|
|
56493
|
-
|
|
56494
|
-
|
|
56495
|
-
|
|
56496
|
-
|
|
56589
|
+
IsDefined334({ message: "La direcci\xF3n es requerida" }),
|
|
56590
|
+
IsString701({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
56591
|
+
IsNotEmpty478({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
56592
|
+
Expose848()
|
|
56497
56593
|
], CreateCompanyDto.prototype, "address", 2);
|
|
56498
56594
|
__decorateClass([
|
|
56499
|
-
|
|
56595
|
+
IsDefined334({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
56500
56596
|
IsArray271({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
56501
56597
|
IsEmail11({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
56502
|
-
|
|
56598
|
+
Expose848()
|
|
56503
56599
|
], CreateCompanyDto.prototype, "emails", 2);
|
|
56504
56600
|
__decorateClass([
|
|
56505
|
-
|
|
56601
|
+
IsDefined334({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
56506
56602
|
IsArray271({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
56507
|
-
|
|
56508
|
-
|
|
56509
|
-
|
|
56603
|
+
IsString701({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
56604
|
+
IsNotEmpty478({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
56605
|
+
Expose848()
|
|
56510
56606
|
], CreateCompanyDto.prototype, "phones", 2);
|
|
56511
56607
|
__decorateClass([
|
|
56512
|
-
|
|
56608
|
+
IsDefined334({ message: "El campo pa\xEDs es requerido" }),
|
|
56513
56609
|
IsUUID36("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
56514
|
-
|
|
56610
|
+
Expose848()
|
|
56515
56611
|
], CreateCompanyDto.prototype, "countryId", 2);
|
|
56516
56612
|
|
|
56517
56613
|
// src/v2/dtos/UpdateCompany.ts
|
|
56518
|
-
import { Expose as
|
|
56519
|
-
import { IsArray as IsArray272, IsBoolean as IsBoolean87, IsDefined as
|
|
56614
|
+
import { Expose as Expose849 } from "class-transformer";
|
|
56615
|
+
import { IsArray as IsArray272, IsBoolean as IsBoolean87, IsDefined as IsDefined335, IsEmail as IsEmail12, IsEnum as IsEnum64, IsNotEmpty as IsNotEmpty479, IsString as IsString702, IsUUID as IsUUID37 } from "class-validator";
|
|
56520
56616
|
var UpdateCompanyDto = class {
|
|
56521
56617
|
_id;
|
|
56522
56618
|
companyType;
|
|
@@ -56531,76 +56627,76 @@ var UpdateCompanyDto = class {
|
|
|
56531
56627
|
countryId;
|
|
56532
56628
|
};
|
|
56533
56629
|
__decorateClass([
|
|
56534
|
-
|
|
56630
|
+
IsDefined335({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56535
56631
|
IsUUID37("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56536
|
-
|
|
56632
|
+
Expose849()
|
|
56537
56633
|
], UpdateCompanyDto.prototype, "_id", 2);
|
|
56538
56634
|
__decorateClass([
|
|
56539
|
-
|
|
56635
|
+
IsDefined335({ message: "El tipo de empresa es requerido" }),
|
|
56540
56636
|
IsEnum64(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
56541
|
-
|
|
56637
|
+
Expose849()
|
|
56542
56638
|
], UpdateCompanyDto.prototype, "companyType", 2);
|
|
56543
56639
|
__decorateClass([
|
|
56544
|
-
|
|
56545
|
-
|
|
56546
|
-
|
|
56547
|
-
|
|
56640
|
+
IsDefined335({ message: "La identificaci\xF3n es requerida" }),
|
|
56641
|
+
IsString702({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
56642
|
+
IsNotEmpty479({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
56643
|
+
Expose849()
|
|
56548
56644
|
], UpdateCompanyDto.prototype, "identification", 2);
|
|
56549
56645
|
__decorateClass([
|
|
56550
|
-
|
|
56551
|
-
|
|
56552
|
-
|
|
56553
|
-
|
|
56646
|
+
IsDefined335({ message: "El c\xF3digo es requerido" }),
|
|
56647
|
+
IsString702({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
56648
|
+
IsNotEmpty479({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
56649
|
+
Expose849()
|
|
56554
56650
|
], UpdateCompanyDto.prototype, "code", 2);
|
|
56555
56651
|
__decorateClass([
|
|
56556
|
-
|
|
56557
|
-
|
|
56558
|
-
|
|
56559
|
-
|
|
56652
|
+
IsDefined335({ message: "El nombre legal es requerido" }),
|
|
56653
|
+
IsString702({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
56654
|
+
IsNotEmpty479({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
56655
|
+
Expose849()
|
|
56560
56656
|
], UpdateCompanyDto.prototype, "legalName", 2);
|
|
56561
56657
|
__decorateClass([
|
|
56562
|
-
|
|
56563
|
-
|
|
56564
|
-
|
|
56565
|
-
|
|
56658
|
+
IsDefined335({ message: "El nombre comercial es requerido" }),
|
|
56659
|
+
IsString702({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
56660
|
+
IsNotEmpty479({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
56661
|
+
Expose849()
|
|
56566
56662
|
], UpdateCompanyDto.prototype, "tradeName", 2);
|
|
56567
56663
|
__decorateClass([
|
|
56568
|
-
|
|
56664
|
+
IsDefined335({ message: "La propiedad es propia es requerida" }),
|
|
56569
56665
|
IsBoolean87({ message: "La propiedad es propia debe ser un booleano" }),
|
|
56570
|
-
|
|
56666
|
+
Expose849()
|
|
56571
56667
|
], UpdateCompanyDto.prototype, "isOwn", 2);
|
|
56572
56668
|
__decorateClass([
|
|
56573
|
-
|
|
56574
|
-
|
|
56575
|
-
|
|
56576
|
-
|
|
56669
|
+
IsDefined335({ message: "La direcci\xF3n es requerida" }),
|
|
56670
|
+
IsString702({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
56671
|
+
IsNotEmpty479({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
56672
|
+
Expose849()
|
|
56577
56673
|
], UpdateCompanyDto.prototype, "address", 2);
|
|
56578
56674
|
__decorateClass([
|
|
56579
|
-
|
|
56675
|
+
IsDefined335({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
56580
56676
|
IsArray272({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
56581
56677
|
IsEmail12({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
56582
|
-
|
|
56678
|
+
Expose849()
|
|
56583
56679
|
], UpdateCompanyDto.prototype, "emails", 2);
|
|
56584
56680
|
__decorateClass([
|
|
56585
|
-
|
|
56681
|
+
IsDefined335({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
56586
56682
|
IsArray272({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
56587
|
-
|
|
56588
|
-
|
|
56589
|
-
|
|
56683
|
+
IsString702({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
56684
|
+
IsNotEmpty479({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
56685
|
+
Expose849()
|
|
56590
56686
|
], UpdateCompanyDto.prototype, "phones", 2);
|
|
56591
56687
|
__decorateClass([
|
|
56592
|
-
|
|
56688
|
+
IsDefined335({ message: "El campo pa\xEDs es requerido" }),
|
|
56593
56689
|
IsUUID37("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
56594
|
-
|
|
56690
|
+
Expose849()
|
|
56595
56691
|
], UpdateCompanyDto.prototype, "countryId", 2);
|
|
56596
56692
|
|
|
56597
56693
|
// src/v2/dtos/CreateUser.ts
|
|
56598
|
-
import { IsArray as IsArray273, IsBoolean as IsBoolean88, IsDefined as
|
|
56599
|
-
import { Expose as
|
|
56694
|
+
import { IsArray as IsArray273, IsBoolean as IsBoolean88, IsDefined as IsDefined337, IsEmail as IsEmail13, IsString as IsString704, IsUUID as IsUUID38, ValidateNested as ValidateNested448 } from "class-validator";
|
|
56695
|
+
import { Expose as Expose851, Transform as Transform129, Type as Type519 } from "class-transformer";
|
|
56600
56696
|
|
|
56601
56697
|
// src/v2/dtos/ResourceSystemDto.ts
|
|
56602
|
-
import { Expose as
|
|
56603
|
-
import { IsDate as
|
|
56698
|
+
import { Expose as Expose850, Type as Type518 } from "class-transformer";
|
|
56699
|
+
import { IsDate as IsDate201, IsDefined as IsDefined336, IsEnum as IsEnum65, IsString as IsString703, MinLength as MinLength63 } from "class-validator";
|
|
56604
56700
|
|
|
56605
56701
|
// src/v2/enums/SystemResource.ts
|
|
56606
56702
|
var SystemResource = /* @__PURE__ */ ((SystemResource2) => {
|
|
@@ -56627,21 +56723,21 @@ var ResourceSystemDto = class {
|
|
|
56627
56723
|
startDateActivity;
|
|
56628
56724
|
};
|
|
56629
56725
|
__decorateClass([
|
|
56630
|
-
|
|
56631
|
-
|
|
56726
|
+
IsDefined336({ message: "ID Recurso es obligatoria" }),
|
|
56727
|
+
IsString703({ message: "ID Recurso debe ser una cadena de texto" }),
|
|
56632
56728
|
MinLength63(1, { message: "La longitud ID Recurso debe ser m\xEDnimo 1" }),
|
|
56633
|
-
|
|
56729
|
+
Expose850()
|
|
56634
56730
|
], ResourceSystemDto.prototype, "resource_id", 2);
|
|
56635
56731
|
__decorateClass([
|
|
56636
|
-
|
|
56732
|
+
IsDefined336({ message: "Sistema es obligatoria" }),
|
|
56637
56733
|
IsEnum65(SystemResource, { message: `El campo system debe ser uno de: ${Object.values(SystemResource).join(", ")}.` }),
|
|
56638
|
-
|
|
56734
|
+
Expose850()
|
|
56639
56735
|
], ResourceSystemDto.prototype, "system", 2);
|
|
56640
56736
|
__decorateClass([
|
|
56641
|
-
|
|
56642
|
-
|
|
56643
|
-
|
|
56644
|
-
|
|
56737
|
+
IsDefined336({ message: "Fecha inicio actividad es obligatoria" }),
|
|
56738
|
+
IsDate201({ message: "Fecha inicio actividad debe ser una fecha" }),
|
|
56739
|
+
Type518(() => Date),
|
|
56740
|
+
Expose850()
|
|
56645
56741
|
], ResourceSystemDto.prototype, "startDateActivity", 2);
|
|
56646
56742
|
|
|
56647
56743
|
// src/v2/dtos/CreateUser.ts
|
|
@@ -56660,143 +56756,143 @@ var CreateUserDto = class {
|
|
|
56660
56756
|
resourceSystem;
|
|
56661
56757
|
};
|
|
56662
56758
|
__decorateClass([
|
|
56663
|
-
|
|
56759
|
+
IsDefined337({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56664
56760
|
IsUUID38("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56665
|
-
|
|
56761
|
+
Expose851()
|
|
56666
56762
|
], CreateUserDto.prototype, "_id", 2);
|
|
56667
56763
|
__decorateClass([
|
|
56668
|
-
|
|
56764
|
+
IsDefined337({ message: "El correo es requerido" }),
|
|
56669
56765
|
IsEmail13({}, { message: "El correo es invalido" }),
|
|
56670
|
-
|
|
56671
|
-
|
|
56766
|
+
Transform129(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
56767
|
+
Expose851()
|
|
56672
56768
|
], CreateUserDto.prototype, "email", 2);
|
|
56673
56769
|
__decorateClass([
|
|
56674
|
-
|
|
56675
|
-
|
|
56676
|
-
|
|
56677
|
-
|
|
56770
|
+
Transform129(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56771
|
+
IsDefined337({ message: "La contrase\xF1a es requerida" }),
|
|
56772
|
+
IsString704({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
56773
|
+
Expose851()
|
|
56678
56774
|
], CreateUserDto.prototype, "password", 2);
|
|
56679
56775
|
__decorateClass([
|
|
56680
|
-
|
|
56681
|
-
|
|
56682
|
-
|
|
56683
|
-
|
|
56776
|
+
Transform129(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56777
|
+
IsDefined337({ message: "El apellido paterno es requerido" }),
|
|
56778
|
+
IsString704({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
56779
|
+
Expose851()
|
|
56684
56780
|
], CreateUserDto.prototype, "paternalLastName", 2);
|
|
56685
56781
|
__decorateClass([
|
|
56686
|
-
|
|
56687
|
-
|
|
56688
|
-
|
|
56689
|
-
|
|
56782
|
+
Transform129(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56783
|
+
IsDefined337({ message: "El apellido materno es requerido" }),
|
|
56784
|
+
IsString704({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
56785
|
+
Expose851()
|
|
56690
56786
|
], CreateUserDto.prototype, "maternalLastName", 2);
|
|
56691
56787
|
__decorateClass([
|
|
56692
|
-
|
|
56693
|
-
|
|
56694
|
-
|
|
56695
|
-
|
|
56788
|
+
Transform129(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56789
|
+
IsDefined337({ message: "El nombre es requerido" }),
|
|
56790
|
+
IsString704({ message: "El nombre debe ser una cadena de texto" }),
|
|
56791
|
+
Expose851()
|
|
56696
56792
|
], CreateUserDto.prototype, "firstNames", 2);
|
|
56697
56793
|
__decorateClass([
|
|
56698
|
-
|
|
56699
|
-
|
|
56700
|
-
|
|
56701
|
-
|
|
56794
|
+
Transform129(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56795
|
+
IsDefined337({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
56796
|
+
IsString704({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
56797
|
+
Expose851()
|
|
56702
56798
|
], CreateUserDto.prototype, "identification", 2);
|
|
56703
56799
|
__decorateClass([
|
|
56704
|
-
|
|
56800
|
+
IsDefined337({ message: "El campo empresas es requerido" }),
|
|
56705
56801
|
IsArray273({ message: "El campo empresas debe ser un array" }),
|
|
56706
|
-
|
|
56707
|
-
|
|
56708
|
-
|
|
56802
|
+
Type519(() => CompanyDto),
|
|
56803
|
+
ValidateNested448({ each: true }),
|
|
56804
|
+
Expose851()
|
|
56709
56805
|
], CreateUserDto.prototype, "companies", 2);
|
|
56710
56806
|
__decorateClass([
|
|
56711
|
-
|
|
56807
|
+
IsDefined337({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
56712
56808
|
IsArray273({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
56713
56809
|
IsUUID38("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
56714
|
-
|
|
56810
|
+
Expose851()
|
|
56715
56811
|
], CreateUserDto.prototype, "delegationIds", 2);
|
|
56716
56812
|
__decorateClass([
|
|
56717
|
-
|
|
56813
|
+
IsDefined337({ message: 'La propiedad "root" es obligatoria.' }),
|
|
56718
56814
|
IsBoolean88({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
56719
|
-
|
|
56815
|
+
Expose851()
|
|
56720
56816
|
], CreateUserDto.prototype, "root", 2);
|
|
56721
56817
|
__decorateClass([
|
|
56722
|
-
|
|
56818
|
+
IsDefined337({ message: "El campo Perfiles es obligatorio" }),
|
|
56723
56819
|
IsArray273({ message: "El campo Perfiles debe ser un array" }),
|
|
56724
56820
|
IsUUID38("4", { each: true, message: "Cada perfil debe ser un UUID v4 v\xE1lido." }),
|
|
56725
|
-
|
|
56821
|
+
Expose851()
|
|
56726
56822
|
], CreateUserDto.prototype, "profileIds", 2);
|
|
56727
56823
|
__decorateClass([
|
|
56728
|
-
|
|
56729
|
-
|
|
56730
|
-
|
|
56824
|
+
IsDefined337({ message: "Resurso sistema es obligatoria" }),
|
|
56825
|
+
Type519(() => ResourceSystemDto),
|
|
56826
|
+
ValidateNested448({ each: true }),
|
|
56731
56827
|
IsArray273({ message: "Recurso sistema debe ser un array" }),
|
|
56732
|
-
|
|
56828
|
+
Expose851()
|
|
56733
56829
|
], CreateUserDto.prototype, "resourceSystem", 2);
|
|
56734
56830
|
|
|
56735
56831
|
// src/v2/dtos/CreateThemeConfigCountry.ts
|
|
56736
|
-
import { Expose as
|
|
56737
|
-
import { IsDefined as
|
|
56832
|
+
import { Expose as Expose856, Type as Type521 } from "class-transformer";
|
|
56833
|
+
import { IsDefined as IsDefined338, IsNumber as IsNumber542, IsString as IsString709, IsUUID as IsUUID39, ValidateNested as ValidateNested450 } from "class-validator";
|
|
56738
56834
|
|
|
56739
56835
|
// src/v2/shared-dto/EstadoDTO.ts
|
|
56740
|
-
import { Expose as
|
|
56741
|
-
import { IsNumber as
|
|
56836
|
+
import { Expose as Expose852 } from "class-transformer";
|
|
56837
|
+
import { IsNumber as IsNumber541, IsString as IsString705, IsNotEmpty as IsNotEmpty480, Length as Length350 } from "class-validator";
|
|
56742
56838
|
var EstadoDTO2 = class {
|
|
56743
56839
|
ID_Estado = 1;
|
|
56744
56840
|
Nombre = "ACTIVO";
|
|
56745
56841
|
};
|
|
56746
56842
|
__decorateClass([
|
|
56747
|
-
|
|
56748
|
-
|
|
56749
|
-
|
|
56843
|
+
IsNumber541({}, { message: "debe ser un numero" }),
|
|
56844
|
+
IsNotEmpty480({ message: "es requerido" }),
|
|
56845
|
+
Expose852()
|
|
56750
56846
|
], EstadoDTO2.prototype, "ID_Estado", 2);
|
|
56751
56847
|
__decorateClass([
|
|
56752
|
-
|
|
56753
|
-
|
|
56848
|
+
IsString705({ message: "debe ser un texto" }),
|
|
56849
|
+
IsNotEmpty480({ message: "es requerido" }),
|
|
56754
56850
|
Length350(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
|
|
56755
|
-
|
|
56851
|
+
Expose852()
|
|
56756
56852
|
], EstadoDTO2.prototype, "Nombre", 2);
|
|
56757
56853
|
|
|
56758
56854
|
// src/v2/shared-dto/CodigoNombreDTO.ts
|
|
56759
|
-
import { Expose as
|
|
56760
|
-
import { IsString as
|
|
56855
|
+
import { Expose as Expose853 } from "class-transformer";
|
|
56856
|
+
import { IsString as IsString706, Length as Length351 } from "class-validator";
|
|
56761
56857
|
var CodigoNombreDTO4 = class {
|
|
56762
56858
|
Codigo = "";
|
|
56763
56859
|
Nombre = "";
|
|
56764
56860
|
};
|
|
56765
56861
|
__decorateClass([
|
|
56766
|
-
|
|
56862
|
+
IsString706({ message: "debe ser un texto" }),
|
|
56767
56863
|
Length351(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
56768
|
-
|
|
56864
|
+
Expose853()
|
|
56769
56865
|
], CodigoNombreDTO4.prototype, "Codigo", 2);
|
|
56770
56866
|
__decorateClass([
|
|
56771
|
-
|
|
56867
|
+
IsString706({ message: "debe ser un texto" }),
|
|
56772
56868
|
Length351(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
56773
|
-
|
|
56869
|
+
Expose853()
|
|
56774
56870
|
], CodigoNombreDTO4.prototype, "Nombre", 2);
|
|
56775
56871
|
|
|
56776
56872
|
// src/v2/shared-dto/ImgLogoNavBarDTO.ts
|
|
56777
|
-
import { Expose as
|
|
56778
|
-
import { IsString as
|
|
56873
|
+
import { Expose as Expose855 } from "class-transformer";
|
|
56874
|
+
import { IsString as IsString708, ValidateNested as ValidateNested449 } from "class-validator";
|
|
56779
56875
|
|
|
56780
56876
|
// src/v2/shared-dto/CoordenadasDTO.ts
|
|
56781
|
-
import { Expose as
|
|
56782
|
-
import { IsString as
|
|
56877
|
+
import { Expose as Expose854 } from "class-transformer";
|
|
56878
|
+
import { IsString as IsString707, Length as Length352 } from "class-validator";
|
|
56783
56879
|
var CoordenadasDTO2 = class {
|
|
56784
56880
|
X = "";
|
|
56785
56881
|
Y = "";
|
|
56786
56882
|
};
|
|
56787
56883
|
__decorateClass([
|
|
56788
|
-
|
|
56884
|
+
IsString707({ message: "debe ser un texto" }),
|
|
56789
56885
|
Length352(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
|
|
56790
|
-
|
|
56886
|
+
Expose854()
|
|
56791
56887
|
], CoordenadasDTO2.prototype, "X", 2);
|
|
56792
56888
|
__decorateClass([
|
|
56793
|
-
|
|
56889
|
+
IsString707({ message: "debe ser un texto" }),
|
|
56794
56890
|
Length352(0, 30, { message: "debe tener entre 0 y 30 caracteres" }),
|
|
56795
|
-
|
|
56891
|
+
Expose854()
|
|
56796
56892
|
], CoordenadasDTO2.prototype, "Y", 2);
|
|
56797
56893
|
|
|
56798
56894
|
// src/v2/shared-dto/ImgLogoNavBarDTO.ts
|
|
56799
|
-
import { Type as
|
|
56895
|
+
import { Type as Type520 } from "class-transformer";
|
|
56800
56896
|
var ImgLogoNavBarDTO2 = class {
|
|
56801
56897
|
Coordenadas = new CoordenadasDTO2();
|
|
56802
56898
|
Estado = "";
|
|
@@ -56805,25 +56901,25 @@ var ImgLogoNavBarDTO2 = class {
|
|
|
56805
56901
|
img = "";
|
|
56806
56902
|
};
|
|
56807
56903
|
__decorateClass([
|
|
56808
|
-
|
|
56809
|
-
|
|
56810
|
-
|
|
56904
|
+
ValidateNested449(),
|
|
56905
|
+
Type520(() => CoordenadasDTO2),
|
|
56906
|
+
Expose855()
|
|
56811
56907
|
], ImgLogoNavBarDTO2.prototype, "Coordenadas", 2);
|
|
56812
56908
|
__decorateClass([
|
|
56813
|
-
|
|
56814
|
-
|
|
56909
|
+
IsString708(),
|
|
56910
|
+
Expose855()
|
|
56815
56911
|
], ImgLogoNavBarDTO2.prototype, "Estado", 2);
|
|
56816
56912
|
__decorateClass([
|
|
56817
|
-
|
|
56818
|
-
|
|
56913
|
+
IsString708(),
|
|
56914
|
+
Expose855()
|
|
56819
56915
|
], ImgLogoNavBarDTO2.prototype, "Fecha", 2);
|
|
56820
56916
|
__decorateClass([
|
|
56821
|
-
|
|
56822
|
-
|
|
56917
|
+
IsString708(),
|
|
56918
|
+
Expose855()
|
|
56823
56919
|
], ImgLogoNavBarDTO2.prototype, "Ruta", 2);
|
|
56824
56920
|
__decorateClass([
|
|
56825
|
-
|
|
56826
|
-
|
|
56921
|
+
IsString708(),
|
|
56922
|
+
Expose855()
|
|
56827
56923
|
], ImgLogoNavBarDTO2.prototype, "img", 2);
|
|
56828
56924
|
|
|
56829
56925
|
// src/v2/dtos/CreateThemeConfigCountry.ts
|
|
@@ -56839,56 +56935,56 @@ var CreateThemeConfigCountryDto = class {
|
|
|
56839
56935
|
Pais;
|
|
56840
56936
|
};
|
|
56841
56937
|
__decorateClass([
|
|
56842
|
-
|
|
56938
|
+
IsDefined338({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56843
56939
|
IsUUID39("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56844
|
-
|
|
56940
|
+
Expose856()
|
|
56845
56941
|
], CreateThemeConfigCountryDto.prototype, "_id", 2);
|
|
56846
56942
|
__decorateClass([
|
|
56847
|
-
|
|
56848
|
-
|
|
56849
|
-
|
|
56943
|
+
IsDefined338({ message: 'La propiedad "ID_TemeCountry" es obligatoria.' }),
|
|
56944
|
+
IsNumber542({}, { message: 'La propiedad "ID_TemeCountry" debe ser un n\xFAmero.' }),
|
|
56945
|
+
Expose856()
|
|
56850
56946
|
], CreateThemeConfigCountryDto.prototype, "ID_TemeCountry", 2);
|
|
56851
56947
|
__decorateClass([
|
|
56852
|
-
|
|
56853
|
-
|
|
56854
|
-
|
|
56948
|
+
IsDefined338({ message: 'La propiedad "Color" es obligatoria.' }),
|
|
56949
|
+
IsString709({ message: 'La propiedad "Color" debe ser una cadena de texto.' }),
|
|
56950
|
+
Expose856()
|
|
56855
56951
|
], CreateThemeConfigCountryDto.prototype, "Color", 2);
|
|
56856
56952
|
__decorateClass([
|
|
56857
|
-
|
|
56858
|
-
|
|
56859
|
-
|
|
56953
|
+
IsDefined338({ message: 'La propiedad "TextFooterLeft" es obligatoria.' }),
|
|
56954
|
+
IsString709({ message: 'La propiedad "TextFooterLeft" debe ser una cadena de texto.' }),
|
|
56955
|
+
Expose856()
|
|
56860
56956
|
], CreateThemeConfigCountryDto.prototype, "TextFooterLeft", 2);
|
|
56861
56957
|
__decorateClass([
|
|
56862
|
-
|
|
56863
|
-
|
|
56864
|
-
|
|
56958
|
+
IsDefined338({ message: 'La propiedad "TextFooterRight" es obligatoria.' }),
|
|
56959
|
+
IsString709({ message: 'La propiedad "TextFooterRight" debe ser una cadena de texto.' }),
|
|
56960
|
+
Expose856()
|
|
56865
56961
|
], CreateThemeConfigCountryDto.prototype, "TextFooterRight", 2);
|
|
56866
56962
|
__decorateClass([
|
|
56867
|
-
|
|
56868
|
-
|
|
56869
|
-
|
|
56870
|
-
|
|
56963
|
+
IsDefined338({ message: 'La propiedad "ImgLogoNavBar" es obligatoria.' }),
|
|
56964
|
+
ValidateNested450(),
|
|
56965
|
+
Type521(() => ImgLogoNavBarDTO2),
|
|
56966
|
+
Expose856()
|
|
56871
56967
|
], CreateThemeConfigCountryDto.prototype, "ImgLogoNavBar", 2);
|
|
56872
56968
|
__decorateClass([
|
|
56873
|
-
|
|
56874
|
-
|
|
56969
|
+
IsDefined338({ message: 'La propiedad "Manuales" es obligatoria.' }),
|
|
56970
|
+
Expose856()
|
|
56875
56971
|
], CreateThemeConfigCountryDto.prototype, "Manuales", 2);
|
|
56876
56972
|
__decorateClass([
|
|
56877
|
-
|
|
56878
|
-
|
|
56879
|
-
|
|
56880
|
-
|
|
56973
|
+
IsDefined338({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
56974
|
+
ValidateNested450(),
|
|
56975
|
+
Type521(() => EstadoDTO2),
|
|
56976
|
+
Expose856()
|
|
56881
56977
|
], CreateThemeConfigCountryDto.prototype, "Estado", 2);
|
|
56882
56978
|
__decorateClass([
|
|
56883
|
-
|
|
56884
|
-
|
|
56885
|
-
|
|
56886
|
-
|
|
56979
|
+
IsDefined338({ message: 'La propiedad "Pais" es obligatoria.' }),
|
|
56980
|
+
ValidateNested450(),
|
|
56981
|
+
Type521(() => CodigoNombreDTO4),
|
|
56982
|
+
Expose856()
|
|
56887
56983
|
], CreateThemeConfigCountryDto.prototype, "Pais", 2);
|
|
56888
56984
|
|
|
56889
56985
|
// src/v2/dtos/UpdateThemeConfigCountry.ts
|
|
56890
|
-
import { Expose as
|
|
56891
|
-
import { IsDefined as
|
|
56986
|
+
import { Expose as Expose857, Type as Type522 } from "class-transformer";
|
|
56987
|
+
import { IsDefined as IsDefined339, IsNumber as IsNumber543, IsString as IsString710, IsUUID as IsUUID40, ValidateNested as ValidateNested451 } from "class-validator";
|
|
56892
56988
|
var UpdateThemeConfigCountryDto = class {
|
|
56893
56989
|
_id;
|
|
56894
56990
|
ID_TemeCountry;
|
|
@@ -56901,60 +56997,60 @@ var UpdateThemeConfigCountryDto = class {
|
|
|
56901
56997
|
Pais;
|
|
56902
56998
|
};
|
|
56903
56999
|
__decorateClass([
|
|
56904
|
-
|
|
57000
|
+
IsDefined339({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
56905
57001
|
IsUUID40("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
56906
|
-
|
|
57002
|
+
Expose857()
|
|
56907
57003
|
], UpdateThemeConfigCountryDto.prototype, "_id", 2);
|
|
56908
57004
|
__decorateClass([
|
|
56909
|
-
|
|
56910
|
-
|
|
56911
|
-
|
|
57005
|
+
IsDefined339({ message: 'La propiedad "ID_TemeCountry" es obligatoria.' }),
|
|
57006
|
+
IsNumber543({}, { message: 'La propiedad "ID_TemeCountry" debe ser un n\xFAmero.' }),
|
|
57007
|
+
Expose857()
|
|
56912
57008
|
], UpdateThemeConfigCountryDto.prototype, "ID_TemeCountry", 2);
|
|
56913
57009
|
__decorateClass([
|
|
56914
|
-
|
|
56915
|
-
|
|
56916
|
-
|
|
57010
|
+
IsDefined339({ message: 'La propiedad "Color" es obligatoria.' }),
|
|
57011
|
+
IsString710({ message: 'La propiedad "Color" debe ser una cadena de texto.' }),
|
|
57012
|
+
Expose857()
|
|
56917
57013
|
], UpdateThemeConfigCountryDto.prototype, "Color", 2);
|
|
56918
57014
|
__decorateClass([
|
|
56919
|
-
|
|
56920
|
-
|
|
56921
|
-
|
|
57015
|
+
IsDefined339({ message: 'La propiedad "TextFooterLeft" es obligatoria.' }),
|
|
57016
|
+
IsString710({ message: 'La propiedad "TextFooterLeft" debe ser una cadena de texto.' }),
|
|
57017
|
+
Expose857()
|
|
56922
57018
|
], UpdateThemeConfigCountryDto.prototype, "TextFooterLeft", 2);
|
|
56923
57019
|
__decorateClass([
|
|
56924
|
-
|
|
56925
|
-
|
|
56926
|
-
|
|
57020
|
+
IsDefined339({ message: 'La propiedad "TextFooterRight" es obligatoria.' }),
|
|
57021
|
+
IsString710({ message: 'La propiedad "TextFooterRight" debe ser una cadena de texto.' }),
|
|
57022
|
+
Expose857()
|
|
56927
57023
|
], UpdateThemeConfigCountryDto.prototype, "TextFooterRight", 2);
|
|
56928
57024
|
__decorateClass([
|
|
56929
|
-
|
|
56930
|
-
|
|
56931
|
-
|
|
56932
|
-
|
|
57025
|
+
IsDefined339({ message: 'La propiedad "ImgLogoNavBar" es obligatoria.' }),
|
|
57026
|
+
ValidateNested451(),
|
|
57027
|
+
Type522(() => ImgLogoNavBarDTO2),
|
|
57028
|
+
Expose857()
|
|
56933
57029
|
], UpdateThemeConfigCountryDto.prototype, "ImgLogoNavBar", 2);
|
|
56934
57030
|
__decorateClass([
|
|
56935
|
-
|
|
56936
|
-
|
|
57031
|
+
IsDefined339({ message: 'La propiedad "Manuales" es obligatoria.' }),
|
|
57032
|
+
Expose857()
|
|
56937
57033
|
], UpdateThemeConfigCountryDto.prototype, "Manuales", 2);
|
|
56938
57034
|
__decorateClass([
|
|
56939
|
-
|
|
56940
|
-
|
|
56941
|
-
|
|
56942
|
-
|
|
57035
|
+
IsDefined339({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
57036
|
+
ValidateNested451(),
|
|
57037
|
+
Type522(() => EstadoDTO2),
|
|
57038
|
+
Expose857()
|
|
56943
57039
|
], UpdateThemeConfigCountryDto.prototype, "Estado", 2);
|
|
56944
57040
|
__decorateClass([
|
|
56945
|
-
|
|
56946
|
-
|
|
56947
|
-
|
|
56948
|
-
|
|
57041
|
+
IsDefined339({ message: 'La propiedad "Pais" es obligatoria.' }),
|
|
57042
|
+
ValidateNested451(),
|
|
57043
|
+
Type522(() => CodigoNombreDTO4),
|
|
57044
|
+
Expose857()
|
|
56949
57045
|
], UpdateThemeConfigCountryDto.prototype, "Pais", 2);
|
|
56950
57046
|
|
|
56951
57047
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
56952
|
-
import { Expose as
|
|
56953
|
-
import { IsArray as IsArray274, IsDefined as
|
|
57048
|
+
import { Expose as Expose859, Type as Type523 } from "class-transformer";
|
|
57049
|
+
import { IsArray as IsArray274, IsDefined as IsDefined340, IsNumber as IsNumber545, IsOptional as IsOptional90, IsString as IsString712, ValidateNested as ValidateNested452 } from "class-validator";
|
|
56954
57050
|
|
|
56955
57051
|
// src/v2/shared-dto/FavoritoDTO.ts
|
|
56956
|
-
import { Expose as
|
|
56957
|
-
import { IsString as
|
|
57052
|
+
import { Expose as Expose858 } from "class-transformer";
|
|
57053
|
+
import { IsString as IsString711, IsNumber as IsNumber544, IsOptional as IsOptional89 } from "class-validator";
|
|
56958
57054
|
var FavoritoDTO2 = class {
|
|
56959
57055
|
id = "";
|
|
56960
57056
|
titulo = "";
|
|
@@ -56963,25 +57059,25 @@ var FavoritoDTO2 = class {
|
|
|
56963
57059
|
orden = 0;
|
|
56964
57060
|
};
|
|
56965
57061
|
__decorateClass([
|
|
56966
|
-
|
|
56967
|
-
|
|
57062
|
+
IsString711(),
|
|
57063
|
+
Expose858()
|
|
56968
57064
|
], FavoritoDTO2.prototype, "id", 2);
|
|
56969
57065
|
__decorateClass([
|
|
56970
|
-
|
|
56971
|
-
|
|
57066
|
+
IsString711(),
|
|
57067
|
+
Expose858()
|
|
56972
57068
|
], FavoritoDTO2.prototype, "titulo", 2);
|
|
56973
57069
|
__decorateClass([
|
|
56974
|
-
|
|
56975
|
-
|
|
57070
|
+
IsString711(),
|
|
57071
|
+
Expose858()
|
|
56976
57072
|
], FavoritoDTO2.prototype, "ruta", 2);
|
|
56977
57073
|
__decorateClass([
|
|
56978
|
-
|
|
56979
|
-
|
|
56980
|
-
|
|
57074
|
+
IsOptional89(),
|
|
57075
|
+
IsString711(),
|
|
57076
|
+
Expose858()
|
|
56981
57077
|
], FavoritoDTO2.prototype, "icono", 2);
|
|
56982
57078
|
__decorateClass([
|
|
56983
|
-
|
|
56984
|
-
|
|
57079
|
+
IsNumber544(),
|
|
57080
|
+
Expose858()
|
|
56985
57081
|
], FavoritoDTO2.prototype, "orden", 2);
|
|
56986
57082
|
|
|
56987
57083
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
@@ -56994,42 +57090,42 @@ var CreateThemeConfigUserDto = class {
|
|
|
56994
57090
|
Favoritos;
|
|
56995
57091
|
};
|
|
56996
57092
|
__decorateClass([
|
|
56997
|
-
|
|
56998
|
-
|
|
56999
|
-
|
|
57093
|
+
IsDefined340({ message: 'La propiedad "ID_Theme" es obligatoria.' }),
|
|
57094
|
+
IsNumber545({}, { message: 'La propiedad "ID_Theme" debe ser un n\xFAmero.' }),
|
|
57095
|
+
Expose859()
|
|
57000
57096
|
], CreateThemeConfigUserDto.prototype, "ID_Theme", 2);
|
|
57001
57097
|
__decorateClass([
|
|
57002
|
-
|
|
57003
|
-
|
|
57004
|
-
|
|
57098
|
+
IsDefined340({ message: 'La propiedad "Identificacion" es obligatoria.' }),
|
|
57099
|
+
IsString712({ message: 'La propiedad "Identificacion" debe ser una cadena de texto.' }),
|
|
57100
|
+
Expose859()
|
|
57005
57101
|
], CreateThemeConfigUserDto.prototype, "Identificacion", 2);
|
|
57006
57102
|
__decorateClass([
|
|
57007
|
-
|
|
57008
|
-
|
|
57009
|
-
|
|
57103
|
+
IsDefined340({ message: 'La propiedad "Color" es obligatoria.' }),
|
|
57104
|
+
IsString712({ message: 'La propiedad "Color" debe ser una cadena de texto.' }),
|
|
57105
|
+
Expose859()
|
|
57010
57106
|
], CreateThemeConfigUserDto.prototype, "Color", 2);
|
|
57011
57107
|
__decorateClass([
|
|
57012
|
-
|
|
57013
|
-
|
|
57014
|
-
|
|
57108
|
+
IsOptional90(),
|
|
57109
|
+
IsString712({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
57110
|
+
Expose859()
|
|
57015
57111
|
], CreateThemeConfigUserDto.prototype, "Language", 2);
|
|
57016
57112
|
__decorateClass([
|
|
57017
|
-
|
|
57018
|
-
|
|
57019
|
-
|
|
57020
|
-
|
|
57113
|
+
IsDefined340({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
57114
|
+
ValidateNested452(),
|
|
57115
|
+
Type523(() => EstadoDTO2),
|
|
57116
|
+
Expose859()
|
|
57021
57117
|
], CreateThemeConfigUserDto.prototype, "Estado", 2);
|
|
57022
57118
|
__decorateClass([
|
|
57023
|
-
|
|
57119
|
+
IsOptional90(),
|
|
57024
57120
|
IsArray274({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
57025
|
-
|
|
57026
|
-
|
|
57027
|
-
|
|
57121
|
+
ValidateNested452({ each: true }),
|
|
57122
|
+
Type523(() => FavoritoDTO2),
|
|
57123
|
+
Expose859()
|
|
57028
57124
|
], CreateThemeConfigUserDto.prototype, "Favoritos", 2);
|
|
57029
57125
|
|
|
57030
57126
|
// src/v2/dtos/UpdateThemeConfigUser.ts
|
|
57031
|
-
import { Expose as
|
|
57032
|
-
import { IsArray as IsArray275, IsDefined as
|
|
57127
|
+
import { Expose as Expose860, Type as Type524 } from "class-transformer";
|
|
57128
|
+
import { IsArray as IsArray275, IsDefined as IsDefined341, IsNumber as IsNumber546, IsOptional as IsOptional91, IsString as IsString713, ValidateNested as ValidateNested453 } from "class-validator";
|
|
57033
57129
|
var UpdateThemeConfigUserDto = class {
|
|
57034
57130
|
ID_Theme;
|
|
57035
57131
|
Identificacion;
|
|
@@ -57039,42 +57135,42 @@ var UpdateThemeConfigUserDto = class {
|
|
|
57039
57135
|
Favoritos;
|
|
57040
57136
|
};
|
|
57041
57137
|
__decorateClass([
|
|
57042
|
-
|
|
57043
|
-
|
|
57044
|
-
|
|
57138
|
+
IsDefined341({ message: 'La propiedad "ID_Theme" es obligatoria.' }),
|
|
57139
|
+
IsNumber546({}, { message: 'La propiedad "ID_Theme" debe ser un n\xFAmero.' }),
|
|
57140
|
+
Expose860()
|
|
57045
57141
|
], UpdateThemeConfigUserDto.prototype, "ID_Theme", 2);
|
|
57046
57142
|
__decorateClass([
|
|
57047
|
-
|
|
57048
|
-
|
|
57049
|
-
|
|
57143
|
+
IsDefined341({ message: 'La propiedad "Identificacion" es obligatoria.' }),
|
|
57144
|
+
IsString713({ message: 'La propiedad "Identificacion" debe ser una cadena de texto.' }),
|
|
57145
|
+
Expose860()
|
|
57050
57146
|
], UpdateThemeConfigUserDto.prototype, "Identificacion", 2);
|
|
57051
57147
|
__decorateClass([
|
|
57052
|
-
|
|
57053
|
-
|
|
57054
|
-
|
|
57148
|
+
IsDefined341({ message: 'La propiedad "Color" es obligatoria.' }),
|
|
57149
|
+
IsString713({ message: 'La propiedad "Color" debe ser una cadena de texto.' }),
|
|
57150
|
+
Expose860()
|
|
57055
57151
|
], UpdateThemeConfigUserDto.prototype, "Color", 2);
|
|
57056
57152
|
__decorateClass([
|
|
57057
|
-
|
|
57058
|
-
|
|
57059
|
-
|
|
57153
|
+
IsOptional91(),
|
|
57154
|
+
IsString713({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
57155
|
+
Expose860()
|
|
57060
57156
|
], UpdateThemeConfigUserDto.prototype, "Language", 2);
|
|
57061
57157
|
__decorateClass([
|
|
57062
|
-
|
|
57063
|
-
|
|
57064
|
-
|
|
57065
|
-
|
|
57158
|
+
IsDefined341({ message: 'La propiedad "Estado" es obligatoria.' }),
|
|
57159
|
+
ValidateNested453(),
|
|
57160
|
+
Type524(() => EstadoDTO2),
|
|
57161
|
+
Expose860()
|
|
57066
57162
|
], UpdateThemeConfigUserDto.prototype, "Estado", 2);
|
|
57067
57163
|
__decorateClass([
|
|
57068
|
-
|
|
57164
|
+
IsOptional91(),
|
|
57069
57165
|
IsArray275({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
57070
|
-
|
|
57071
|
-
|
|
57072
|
-
|
|
57166
|
+
ValidateNested453({ each: true }),
|
|
57167
|
+
Type524(() => FavoritoDTO2),
|
|
57168
|
+
Expose860()
|
|
57073
57169
|
], UpdateThemeConfigUserDto.prototype, "Favoritos", 2);
|
|
57074
57170
|
|
|
57075
57171
|
// src/v2/dtos/CreateWarehouseExitATC.ts
|
|
57076
|
-
import { Expose as
|
|
57077
|
-
import { IsDefined as
|
|
57172
|
+
import { Expose as Expose861, Transform as Transform130 } from "class-transformer";
|
|
57173
|
+
import { IsDefined as IsDefined342, IsNotEmpty as IsNotEmpty481, IsOptional as IsOptional92, IsString as IsString714, MaxLength as MaxLength11 } from "class-validator";
|
|
57078
57174
|
var trimUpper = ({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value;
|
|
57079
57175
|
var CreateWarehouseExitATCDto = class {
|
|
57080
57176
|
personalIdentification;
|
|
@@ -57085,47 +57181,47 @@ var CreateWarehouseExitATCDto = class {
|
|
|
57085
57181
|
observations;
|
|
57086
57182
|
};
|
|
57087
57183
|
__decorateClass([
|
|
57088
|
-
|
|
57089
|
-
|
|
57090
|
-
|
|
57091
|
-
|
|
57184
|
+
IsDefined342({ message: "El personal es requerido" }),
|
|
57185
|
+
IsString714({ message: "El personal debe ser una cadena de texto" }),
|
|
57186
|
+
IsNotEmpty481({ message: "El personal es requerido" }),
|
|
57187
|
+
Expose861()
|
|
57092
57188
|
], CreateWarehouseExitATCDto.prototype, "personalIdentification", 2);
|
|
57093
57189
|
__decorateClass([
|
|
57094
|
-
|
|
57095
|
-
|
|
57096
|
-
|
|
57097
|
-
|
|
57190
|
+
IsDefined342({ message: "El almac\xE9n es requerido" }),
|
|
57191
|
+
IsString714({ message: "El almac\xE9n debe ser una cadena de texto" }),
|
|
57192
|
+
IsNotEmpty481({ message: "El almac\xE9n es requerido" }),
|
|
57193
|
+
Expose861()
|
|
57098
57194
|
], CreateWarehouseExitATCDto.prototype, "storeCode", 2);
|
|
57099
57195
|
__decorateClass([
|
|
57100
|
-
|
|
57101
|
-
|
|
57102
|
-
|
|
57103
|
-
|
|
57196
|
+
IsDefined342({ message: "La bodega es requerida" }),
|
|
57197
|
+
IsString714({ message: "La bodega debe ser una cadena de texto" }),
|
|
57198
|
+
IsNotEmpty481({ message: "La bodega es requerida" }),
|
|
57199
|
+
Expose861()
|
|
57104
57200
|
], CreateWarehouseExitATCDto.prototype, "stockroomCode", 2);
|
|
57105
57201
|
__decorateClass([
|
|
57106
|
-
|
|
57107
|
-
|
|
57108
|
-
|
|
57109
|
-
|
|
57202
|
+
IsDefined342({ message: "El movimiento es requerido" }),
|
|
57203
|
+
IsString714({ message: "El movimiento debe ser una cadena de texto" }),
|
|
57204
|
+
IsNotEmpty481({ message: "El movimiento es requerido" }),
|
|
57205
|
+
Expose861()
|
|
57110
57206
|
], CreateWarehouseExitATCDto.prototype, "movementCode", 2);
|
|
57111
57207
|
__decorateClass([
|
|
57112
|
-
|
|
57113
|
-
|
|
57208
|
+
IsOptional92(),
|
|
57209
|
+
IsString714({ message: "La orden de trabajo debe ser una cadena de texto" }),
|
|
57114
57210
|
MaxLength11(100, { message: "La orden de trabajo no debe superar los 100 caracteres" }),
|
|
57115
|
-
|
|
57116
|
-
|
|
57211
|
+
Transform130(trimUpper),
|
|
57212
|
+
Expose861()
|
|
57117
57213
|
], CreateWarehouseExitATCDto.prototype, "workOrder", 2);
|
|
57118
57214
|
__decorateClass([
|
|
57119
|
-
|
|
57120
|
-
|
|
57215
|
+
IsOptional92(),
|
|
57216
|
+
IsString714({ message: "Las observaciones deben ser una cadena de texto" }),
|
|
57121
57217
|
MaxLength11(300, { message: "Las observaciones no deben superar los 300 caracteres" }),
|
|
57122
|
-
|
|
57123
|
-
|
|
57218
|
+
Transform130(trimUpper),
|
|
57219
|
+
Expose861()
|
|
57124
57220
|
], CreateWarehouseExitATCDto.prototype, "observations", 2);
|
|
57125
57221
|
|
|
57126
57222
|
// src/v2/dtos/AddDetailWarehouseExitATC.ts
|
|
57127
|
-
import { Expose as
|
|
57128
|
-
import { IsDefined as
|
|
57223
|
+
import { Expose as Expose862, Transform as Transform131, Type as Type525 } from "class-transformer";
|
|
57224
|
+
import { IsDefined as IsDefined343, IsNotEmpty as IsNotEmpty482, IsNumber as IsNumber547, IsOptional as IsOptional93, IsString as IsString715, MaxLength as MaxLength12, Min as Min358 } from "class-validator";
|
|
57129
57225
|
var AddDetailWarehouseExitATCDto = class {
|
|
57130
57226
|
keyCode;
|
|
57131
57227
|
searchCode;
|
|
@@ -57133,46 +57229,46 @@ var AddDetailWarehouseExitATCDto = class {
|
|
|
57133
57229
|
notes;
|
|
57134
57230
|
};
|
|
57135
57231
|
__decorateClass([
|
|
57136
|
-
|
|
57137
|
-
|
|
57138
|
-
|
|
57139
|
-
|
|
57232
|
+
IsDefined343({ message: "El material es requerido" }),
|
|
57233
|
+
IsString715({ message: "El material debe ser una cadena de texto" }),
|
|
57234
|
+
IsNotEmpty482({ message: "El material es requerido" }),
|
|
57235
|
+
Expose862()
|
|
57140
57236
|
], AddDetailWarehouseExitATCDto.prototype, "keyCode", 2);
|
|
57141
57237
|
__decorateClass([
|
|
57142
|
-
|
|
57143
|
-
|
|
57144
|
-
|
|
57145
|
-
|
|
57238
|
+
IsDefined343({ message: "El c\xF3digo de b\xFAsqueda es requerido" }),
|
|
57239
|
+
IsString715({ message: "El c\xF3digo de b\xFAsqueda debe ser una cadena de texto" }),
|
|
57240
|
+
IsNotEmpty482({ message: "El c\xF3digo de b\xFAsqueda es requerido" }),
|
|
57241
|
+
Expose862()
|
|
57146
57242
|
], AddDetailWarehouseExitATCDto.prototype, "searchCode", 2);
|
|
57147
57243
|
__decorateClass([
|
|
57148
|
-
|
|
57149
|
-
|
|
57150
|
-
|
|
57151
|
-
|
|
57152
|
-
|
|
57244
|
+
IsDefined343({ message: "La cantidad es requerida" }),
|
|
57245
|
+
Type525(() => Number),
|
|
57246
|
+
IsNumber547({ maxDecimalPlaces: 2 }, { message: "La cantidad debe ser un n\xFAmero con m\xE1ximo 2 decimales" }),
|
|
57247
|
+
Min358(0.01, { message: "La cantidad debe ser mayor a 0" }),
|
|
57248
|
+
Expose862()
|
|
57153
57249
|
], AddDetailWarehouseExitATCDto.prototype, "quantity", 2);
|
|
57154
57250
|
__decorateClass([
|
|
57155
|
-
|
|
57156
|
-
|
|
57251
|
+
IsOptional93(),
|
|
57252
|
+
IsString715({ message: "Las notas deben ser una cadena de texto" }),
|
|
57157
57253
|
MaxLength12(300, { message: "Las notas no deben superar los 300 caracteres" }),
|
|
57158
|
-
|
|
57159
|
-
|
|
57254
|
+
Transform131(({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value),
|
|
57255
|
+
Expose862()
|
|
57160
57256
|
], AddDetailWarehouseExitATCDto.prototype, "notes", 2);
|
|
57161
57257
|
|
|
57162
57258
|
// src/v2/dtos/CreateShiftTransfer.ts
|
|
57163
|
-
import { Expose as
|
|
57259
|
+
import { Expose as Expose863, Transform as Transform132, Type as Type526 } from "class-transformer";
|
|
57164
57260
|
import {
|
|
57165
57261
|
ArrayMinSize as ArrayMinSize4,
|
|
57166
57262
|
IsArray as IsArray276,
|
|
57167
|
-
IsDefined as
|
|
57168
|
-
IsNotEmpty as
|
|
57169
|
-
IsNumber as
|
|
57170
|
-
IsOptional as
|
|
57171
|
-
IsString as
|
|
57263
|
+
IsDefined as IsDefined344,
|
|
57264
|
+
IsNotEmpty as IsNotEmpty483,
|
|
57265
|
+
IsNumber as IsNumber548,
|
|
57266
|
+
IsOptional as IsOptional94,
|
|
57267
|
+
IsString as IsString716,
|
|
57172
57268
|
MaxLength as MaxLength13,
|
|
57173
|
-
Min as
|
|
57269
|
+
Min as Min359,
|
|
57174
57270
|
registerDecorator as registerDecorator2,
|
|
57175
|
-
ValidateNested as
|
|
57271
|
+
ValidateNested as ValidateNested454
|
|
57176
57272
|
} from "class-validator";
|
|
57177
57273
|
var trimUpper2 = ({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value;
|
|
57178
57274
|
function HasLineWithQuantity(validationOptions) {
|
|
@@ -57197,61 +57293,61 @@ var ShiftTransferLineDto = class {
|
|
|
57197
57293
|
series;
|
|
57198
57294
|
};
|
|
57199
57295
|
__decorateClass([
|
|
57200
|
-
|
|
57201
|
-
|
|
57202
|
-
|
|
57203
|
-
|
|
57296
|
+
IsDefined344({ message: "El material es requerido" }),
|
|
57297
|
+
IsString716({ message: "El material debe ser una cadena de texto" }),
|
|
57298
|
+
IsNotEmpty483({ message: "El material es requerido" }),
|
|
57299
|
+
Expose863()
|
|
57204
57300
|
], ShiftTransferLineDto.prototype, "keyCode", 2);
|
|
57205
57301
|
__decorateClass([
|
|
57206
|
-
|
|
57207
|
-
|
|
57208
|
-
|
|
57209
|
-
|
|
57302
|
+
IsDefined344({ message: "El c\xF3digo de b\xFAsqueda es requerido" }),
|
|
57303
|
+
IsString716({ message: "El c\xF3digo de b\xFAsqueda debe ser una cadena de texto" }),
|
|
57304
|
+
IsNotEmpty483({ message: "El c\xF3digo de b\xFAsqueda es requerido" }),
|
|
57305
|
+
Expose863()
|
|
57210
57306
|
], ShiftTransferLineDto.prototype, "searchCode", 2);
|
|
57211
57307
|
__decorateClass([
|
|
57212
|
-
|
|
57213
|
-
|
|
57214
|
-
|
|
57215
|
-
|
|
57216
|
-
|
|
57308
|
+
IsDefined344({ message: "La cantidad es requerida" }),
|
|
57309
|
+
Type526(() => Number),
|
|
57310
|
+
IsNumber548({ maxDecimalPlaces: 2, allowNaN: false }, { message: "La cantidad es requerida (m\xE1ximo 2 decimales)" }),
|
|
57311
|
+
Min359(0, { message: "La cantidad no puede ser negativa" }),
|
|
57312
|
+
Expose863()
|
|
57217
57313
|
], ShiftTransferLineDto.prototype, "quantity", 2);
|
|
57218
57314
|
__decorateClass([
|
|
57219
|
-
|
|
57315
|
+
IsOptional94(),
|
|
57220
57316
|
IsArray276({ message: "Las series deben ser una lista" }),
|
|
57221
|
-
|
|
57222
|
-
|
|
57317
|
+
IsString716({ each: true, message: "Cada serie debe ser una cadena de texto" }),
|
|
57318
|
+
Expose863()
|
|
57223
57319
|
], ShiftTransferLineDto.prototype, "series", 2);
|
|
57224
57320
|
var CreateShiftTransferDto = class {
|
|
57225
57321
|
lines;
|
|
57226
57322
|
observations;
|
|
57227
57323
|
};
|
|
57228
57324
|
__decorateClass([
|
|
57229
|
-
|
|
57325
|
+
IsDefined344({ message: "El detalle es requerido" }),
|
|
57230
57326
|
IsArray276({ message: "El detalle debe ser una lista" }),
|
|
57231
57327
|
ArrayMinSize4(1, { message: "El detalle es requerido" }),
|
|
57232
57328
|
HasLineWithQuantity({ message: "Debe entregar al menos un material con cantidad mayor a 0" }),
|
|
57233
|
-
|
|
57234
|
-
|
|
57235
|
-
|
|
57329
|
+
ValidateNested454({ each: true }),
|
|
57330
|
+
Type526(() => ShiftTransferLineDto),
|
|
57331
|
+
Expose863()
|
|
57236
57332
|
], CreateShiftTransferDto.prototype, "lines", 2);
|
|
57237
57333
|
__decorateClass([
|
|
57238
|
-
|
|
57239
|
-
|
|
57334
|
+
IsOptional94(),
|
|
57335
|
+
IsString716({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
57240
57336
|
MaxLength13(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
57241
|
-
|
|
57242
|
-
|
|
57337
|
+
Transform132(trimUpper2),
|
|
57338
|
+
Expose863()
|
|
57243
57339
|
], CreateShiftTransferDto.prototype, "observations", 2);
|
|
57244
57340
|
|
|
57245
57341
|
// src/v2/dtos/AddInventorySomacylOrder.ts
|
|
57246
|
-
import { Expose as
|
|
57342
|
+
import { Expose as Expose864, Transform as Transform133, Type as Type527 } from "class-transformer";
|
|
57247
57343
|
import {
|
|
57248
|
-
IsDefined as
|
|
57249
|
-
IsInt as
|
|
57250
|
-
IsNumber as
|
|
57251
|
-
IsOptional as
|
|
57252
|
-
IsString as
|
|
57344
|
+
IsDefined as IsDefined345,
|
|
57345
|
+
IsInt as IsInt3,
|
|
57346
|
+
IsNumber as IsNumber549,
|
|
57347
|
+
IsOptional as IsOptional95,
|
|
57348
|
+
IsString as IsString717,
|
|
57253
57349
|
MaxLength as MaxLength14,
|
|
57254
|
-
Min as
|
|
57350
|
+
Min as Min360
|
|
57255
57351
|
} from "class-validator";
|
|
57256
57352
|
var trim = ({ value }) => typeof value === "string" ? value.trim() : value;
|
|
57257
57353
|
var AddInventorySomacylOrderDto = class {
|
|
@@ -57261,35 +57357,35 @@ var AddInventorySomacylOrderDto = class {
|
|
|
57261
57357
|
serieContadorRetirado;
|
|
57262
57358
|
};
|
|
57263
57359
|
__decorateClass([
|
|
57264
|
-
|
|
57265
|
-
|
|
57266
|
-
|
|
57267
|
-
|
|
57360
|
+
IsDefined345({ message: "El ID_Stock es requerido" }),
|
|
57361
|
+
Type527(() => Number),
|
|
57362
|
+
IsInt3({ message: "El ID_Stock debe ser un n\xFAmero entero" }),
|
|
57363
|
+
Expose864()
|
|
57268
57364
|
], AddInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
57269
57365
|
__decorateClass([
|
|
57270
|
-
|
|
57271
|
-
|
|
57272
|
-
|
|
57273
|
-
|
|
57366
|
+
IsOptional95(),
|
|
57367
|
+
IsString717({ message: "La serie debe ser una cadena de texto" }),
|
|
57368
|
+
Transform133(trim),
|
|
57369
|
+
Expose864()
|
|
57274
57370
|
], AddInventorySomacylOrderDto.prototype, "invsn", 2);
|
|
57275
57371
|
__decorateClass([
|
|
57276
|
-
|
|
57277
|
-
|
|
57278
|
-
|
|
57279
|
-
|
|
57280
|
-
|
|
57372
|
+
IsDefined345({ message: "La cantidad es requerida" }),
|
|
57373
|
+
Type527(() => Number),
|
|
57374
|
+
IsNumber549({ maxDecimalPlaces: 2 }, { message: "La cantidad debe ser un n\xFAmero con m\xE1ximo 2 decimales" }),
|
|
57375
|
+
Min360(1, { message: "La cantidad debe ser mayor o igual a 1" }),
|
|
57376
|
+
Expose864()
|
|
57281
57377
|
], AddInventorySomacylOrderDto.prototype, "cantidad", 2);
|
|
57282
57378
|
__decorateClass([
|
|
57283
|
-
|
|
57284
|
-
|
|
57379
|
+
IsOptional95(),
|
|
57380
|
+
IsString717({ message: "La serie del contador retirado debe ser una cadena de texto" }),
|
|
57285
57381
|
MaxLength14(50, { message: "La serie del contador retirado no debe superar los 50 caracteres" }),
|
|
57286
|
-
|
|
57287
|
-
|
|
57382
|
+
Transform133(trim),
|
|
57383
|
+
Expose864()
|
|
57288
57384
|
], AddInventorySomacylOrderDto.prototype, "serieContadorRetirado", 2);
|
|
57289
57385
|
|
|
57290
57386
|
// src/v2/dtos/DeleteFileSomacylOrder.ts
|
|
57291
|
-
import { Expose as
|
|
57292
|
-
import { IsDefined as
|
|
57387
|
+
import { Expose as Expose865 } from "class-transformer";
|
|
57388
|
+
import { IsDefined as IsDefined346, IsEnum as IsEnum66 } from "class-validator";
|
|
57293
57389
|
|
|
57294
57390
|
// src/v2/enums/SomacylPhotoPosition.ts
|
|
57295
57391
|
var SomacylPhotoPosition = /* @__PURE__ */ ((SomacylPhotoPosition2) => {
|
|
@@ -57305,36 +57401,36 @@ var DeleteFileSomacylOrderDto = class {
|
|
|
57305
57401
|
posicion;
|
|
57306
57402
|
};
|
|
57307
57403
|
__decorateClass([
|
|
57308
|
-
|
|
57404
|
+
IsDefined346({ message: "La posici\xF3n de la foto es requerida" }),
|
|
57309
57405
|
IsEnum66(SomacylPhotoPosition, {
|
|
57310
57406
|
message: `La posici\xF3n de la foto debe ser una de: ${Object.values(SomacylPhotoPosition).join(", ")}`
|
|
57311
57407
|
}),
|
|
57312
|
-
|
|
57408
|
+
Expose865()
|
|
57313
57409
|
], DeleteFileSomacylOrderDto.prototype, "posicion", 2);
|
|
57314
57410
|
|
|
57315
57411
|
// src/v2/dtos/DeleteInventorySomacylOrder.ts
|
|
57316
|
-
import { Expose as
|
|
57317
|
-
import { IsDefined as
|
|
57412
|
+
import { Expose as Expose866, Transform as Transform134, Type as Type528 } from "class-transformer";
|
|
57413
|
+
import { IsDefined as IsDefined347, IsInt as IsInt4, IsOptional as IsOptional96, IsString as IsString718 } from "class-validator";
|
|
57318
57414
|
var DeleteInventorySomacylOrderDto = class {
|
|
57319
57415
|
ID_Stock;
|
|
57320
57416
|
invsn;
|
|
57321
57417
|
};
|
|
57322
57418
|
__decorateClass([
|
|
57323
|
-
|
|
57324
|
-
|
|
57325
|
-
|
|
57326
|
-
|
|
57419
|
+
IsDefined347({ message: "El ID_Stock es requerido" }),
|
|
57420
|
+
Type528(() => Number),
|
|
57421
|
+
IsInt4({ message: "El ID_Stock debe ser un n\xFAmero entero" }),
|
|
57422
|
+
Expose866()
|
|
57327
57423
|
], DeleteInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
57328
57424
|
__decorateClass([
|
|
57329
|
-
|
|
57330
|
-
|
|
57331
|
-
|
|
57332
|
-
|
|
57425
|
+
IsOptional96(),
|
|
57426
|
+
IsString718({ message: "La serie debe ser una cadena de texto" }),
|
|
57427
|
+
Transform134(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
57428
|
+
Expose866()
|
|
57333
57429
|
], DeleteInventorySomacylOrderDto.prototype, "invsn", 2);
|
|
57334
57430
|
|
|
57335
57431
|
// src/v2/dtos/FinalizeSomacylOrder.ts
|
|
57336
|
-
import { Expose as
|
|
57337
|
-
import { IsDefined as
|
|
57432
|
+
import { Expose as Expose867, Transform as Transform135 } from "class-transformer";
|
|
57433
|
+
import { IsDefined as IsDefined348, IsIn as IsIn13, IsNotEmpty as IsNotEmpty484, IsOptional as IsOptional97, IsString as IsString719, MaxLength as MaxLength15, ValidateIf as ValidateIf13 } from "class-validator";
|
|
57338
57434
|
var estadosFinalizacion = ["Finalizada" /* FINALIZADA */, "No Finalizada" /* NO_FINALIZADA */];
|
|
57339
57435
|
var motivosNoFinalizado = Object.values(ReasonNoFinalizedSomacyl).filter((e) => e !== "" /* INICIAL */);
|
|
57340
57436
|
var trim2 = ({ value }) => typeof value === "string" ? value.trim() : value;
|
|
@@ -57351,91 +57447,91 @@ var FinalizeSomacylOrderDto = class {
|
|
|
57351
57447
|
numPrecinto;
|
|
57352
57448
|
};
|
|
57353
57449
|
__decorateClass([
|
|
57354
|
-
|
|
57355
|
-
|
|
57356
|
-
|
|
57450
|
+
IsDefined348({ message: "El estado es requerido" }),
|
|
57451
|
+
IsIn13(estadosFinalizacion, { message: `El estado debe ser uno de: ${estadosFinalizacion.join(", ")}` }),
|
|
57452
|
+
Expose867()
|
|
57357
57453
|
], FinalizeSomacylOrderDto.prototype, "estado_interno", 2);
|
|
57358
57454
|
__decorateClass([
|
|
57359
57455
|
ValidateIf13((o) => o.estado_interno === "No Finalizada" /* NO_FINALIZADA */),
|
|
57360
|
-
|
|
57361
|
-
|
|
57362
|
-
|
|
57456
|
+
IsDefined348({ message: "El motivo de no finalizado es requerido" }),
|
|
57457
|
+
IsIn13(motivosNoFinalizado, { message: `El motivo de no finalizado debe ser uno de: ${motivosNoFinalizado.join(", ")}` }),
|
|
57458
|
+
Expose867()
|
|
57363
57459
|
], FinalizeSomacylOrderDto.prototype, "motivo_no_finalizado", 2);
|
|
57364
57460
|
__decorateClass([
|
|
57365
57461
|
ValidateIf13((o) => o.estado_interno === "No Finalizada" /* NO_FINALIZADA */),
|
|
57366
|
-
|
|
57367
|
-
|
|
57368
|
-
|
|
57462
|
+
IsDefined348({ message: "La clasificaci\xF3n de incidencia es requerida" }),
|
|
57463
|
+
IsIn13(clasificacionesNoFinalizado, { message: `La clasificaci\xF3n de incidencia debe ser una de: ${clasificacionesNoFinalizado.join(", ")}` }),
|
|
57464
|
+
Expose867()
|
|
57369
57465
|
], FinalizeSomacylOrderDto.prototype, "clasificacion_incidencia", 2);
|
|
57370
57466
|
__decorateClass([
|
|
57371
57467
|
ValidateIf13((o) => o.estado_interno === "No Finalizada" /* NO_FINALIZADA */),
|
|
57372
|
-
|
|
57373
|
-
|
|
57374
|
-
|
|
57468
|
+
IsDefined348({ message: "La observaci\xF3n es requerida" }),
|
|
57469
|
+
IsString719({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
57470
|
+
IsNotEmpty484({ message: "La observaci\xF3n es requerida" }),
|
|
57375
57471
|
MaxLength15(500, { message: "La observaci\xF3n no debe superar los 500 caracteres" }),
|
|
57376
|
-
|
|
57377
|
-
|
|
57472
|
+
Transform135(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
57473
|
+
Expose867()
|
|
57378
57474
|
], FinalizeSomacylOrderDto.prototype, "observaciones_en_legados", 2);
|
|
57379
57475
|
__decorateClass([
|
|
57380
57476
|
ValidateIf13(isFinalizada),
|
|
57381
|
-
|
|
57382
|
-
|
|
57383
|
-
|
|
57477
|
+
IsDefined348({ message: "La lectura del contador retirado es requerida" }),
|
|
57478
|
+
IsString719({ message: "La lectura del contador retirado debe ser una cadena de texto" }),
|
|
57479
|
+
IsNotEmpty484({ message: "La lectura del contador retirado es requerida" }),
|
|
57384
57480
|
MaxLength15(50, { message: "La lectura del contador retirado no debe superar los 50 caracteres" }),
|
|
57385
|
-
|
|
57386
|
-
|
|
57481
|
+
Transform135(trim2),
|
|
57482
|
+
Expose867()
|
|
57387
57483
|
], FinalizeSomacylOrderDto.prototype, "lecturaContadorRetirado", 2);
|
|
57388
57484
|
__decorateClass([
|
|
57389
57485
|
ValidateIf13(isFinalizada),
|
|
57390
|
-
|
|
57391
|
-
|
|
57392
|
-
|
|
57486
|
+
IsDefined348({ message: "La lectura del contador instalado es requerida" }),
|
|
57487
|
+
IsString719({ message: "La lectura del contador instalado debe ser una cadena de texto" }),
|
|
57488
|
+
IsNotEmpty484({ message: "La lectura del contador instalado es requerida" }),
|
|
57393
57489
|
MaxLength15(50, { message: "La lectura del contador instalado no debe superar los 50 caracteres" }),
|
|
57394
|
-
|
|
57395
|
-
|
|
57490
|
+
Transform135(trim2),
|
|
57491
|
+
Expose867()
|
|
57396
57492
|
], FinalizeSomacylOrderDto.prototype, "lecturaContadorInstalado", 2);
|
|
57397
57493
|
__decorateClass([
|
|
57398
57494
|
ValidateIf13(isFinalizada),
|
|
57399
|
-
|
|
57400
|
-
|
|
57401
|
-
|
|
57495
|
+
IsDefined348({ message: "Las observaciones son requeridas" }),
|
|
57496
|
+
IsString719({ message: "Las observaciones deben ser una cadena de texto" }),
|
|
57497
|
+
IsNotEmpty484({ message: "Las observaciones son requeridas" }),
|
|
57402
57498
|
MaxLength15(500, { message: "Las observaciones no deben superar los 500 caracteres" }),
|
|
57403
|
-
|
|
57404
|
-
|
|
57499
|
+
Transform135(trim2),
|
|
57500
|
+
Expose867()
|
|
57405
57501
|
], FinalizeSomacylOrderDto.prototype, "observaciones", 2);
|
|
57406
57502
|
__decorateClass([
|
|
57407
|
-
|
|
57408
|
-
|
|
57503
|
+
IsOptional97(),
|
|
57504
|
+
IsString719({ message: "El n\xFAmero de precinto debe ser una cadena de texto" }),
|
|
57409
57505
|
MaxLength15(50, { message: "El n\xFAmero de precinto no debe superar los 50 caracteres" }),
|
|
57410
|
-
|
|
57411
|
-
|
|
57506
|
+
Transform135(trim2),
|
|
57507
|
+
Expose867()
|
|
57412
57508
|
], FinalizeSomacylOrderDto.prototype, "numPrecinto", 2);
|
|
57413
57509
|
|
|
57414
57510
|
// src/v2/dtos/UploadFileSomacylOrder.ts
|
|
57415
|
-
import { Expose as
|
|
57416
|
-
import { IsDefined as
|
|
57511
|
+
import { Expose as Expose868, Transform as Transform136 } from "class-transformer";
|
|
57512
|
+
import { IsDefined as IsDefined349, IsEnum as IsEnum67, IsOptional as IsOptional98, IsString as IsString720, MaxLength as MaxLength16 } from "class-validator";
|
|
57417
57513
|
var UploadFileSomacylOrderDto = class {
|
|
57418
57514
|
posicion;
|
|
57419
57515
|
observacion;
|
|
57420
57516
|
};
|
|
57421
57517
|
__decorateClass([
|
|
57422
|
-
|
|
57518
|
+
IsDefined349({ message: "La posici\xF3n de la foto es requerida" }),
|
|
57423
57519
|
IsEnum67(SomacylPhotoPosition, {
|
|
57424
57520
|
message: `La posici\xF3n de la foto debe ser una de: ${Object.values(SomacylPhotoPosition).join(", ")}`
|
|
57425
57521
|
}),
|
|
57426
|
-
|
|
57522
|
+
Expose868()
|
|
57427
57523
|
], UploadFileSomacylOrderDto.prototype, "posicion", 2);
|
|
57428
57524
|
__decorateClass([
|
|
57429
|
-
|
|
57430
|
-
|
|
57525
|
+
IsOptional98(),
|
|
57526
|
+
IsString720({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
57431
57527
|
MaxLength16(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
57432
|
-
|
|
57433
|
-
|
|
57528
|
+
Transform136(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
57529
|
+
Expose868()
|
|
57434
57530
|
], UploadFileSomacylOrderDto.prototype, "observacion", 2);
|
|
57435
57531
|
|
|
57436
57532
|
// src/v2/dtos/HomePassRef.ts
|
|
57437
|
-
import { Expose as
|
|
57438
|
-
import { IsDefined as
|
|
57533
|
+
import { Expose as Expose869, Transform as Transform137 } from "class-transformer";
|
|
57534
|
+
import { IsDefined as IsDefined350, IsIn as IsIn14, IsInt as IsInt5, IsNotEmpty as IsNotEmpty485, IsString as IsString721, Min as Min361 } from "class-validator";
|
|
57439
57535
|
var HOME_PASS_CLIENT_TYPES = ["Residential", "Business"];
|
|
57440
57536
|
var HomePassRefDto = class {
|
|
57441
57537
|
ID_AddressList = 0;
|
|
@@ -57443,94 +57539,94 @@ var HomePassRefDto = class {
|
|
|
57443
57539
|
Home_ID = "";
|
|
57444
57540
|
};
|
|
57445
57541
|
__decorateClass([
|
|
57446
|
-
|
|
57447
|
-
|
|
57448
|
-
|
|
57449
|
-
|
|
57542
|
+
IsDefined350({ message: "El ID de la address list es requerido" }),
|
|
57543
|
+
IsInt5({ message: "El ID de la address list debe ser un n\xFAmero entero" }),
|
|
57544
|
+
Min361(1, { message: "El ID de la address list no es v\xE1lido" }),
|
|
57545
|
+
Expose869()
|
|
57450
57546
|
], HomePassRefDto.prototype, "ID_AddressList", 2);
|
|
57451
57547
|
__decorateClass([
|
|
57452
|
-
|
|
57453
|
-
|
|
57454
|
-
|
|
57548
|
+
IsDefined350({ message: "El tipo de cliente es requerido" }),
|
|
57549
|
+
IsIn14(HOME_PASS_CLIENT_TYPES, { message: `El tipo de cliente debe ser uno de: ${HOME_PASS_CLIENT_TYPES.join(", ")}` }),
|
|
57550
|
+
Expose869()
|
|
57455
57551
|
], HomePassRefDto.prototype, "ClientType", 2);
|
|
57456
57552
|
__decorateClass([
|
|
57457
|
-
|
|
57458
|
-
|
|
57459
|
-
|
|
57460
|
-
|
|
57461
|
-
|
|
57553
|
+
Transform137(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
57554
|
+
IsDefined350({ message: "El Home_ID es requerido" }),
|
|
57555
|
+
IsString721({ message: "El Home_ID debe ser una cadena de texto" }),
|
|
57556
|
+
IsNotEmpty485({ message: "El Home_ID es requerido" }),
|
|
57557
|
+
Expose869()
|
|
57462
57558
|
], HomePassRefDto.prototype, "Home_ID", 2);
|
|
57463
57559
|
|
|
57464
57560
|
// src/v2/dtos/UpdateHomePassAnexos.ts
|
|
57465
|
-
import { Expose as
|
|
57466
|
-
import { IsArray as IsArray277, IsDefined as
|
|
57561
|
+
import { Expose as Expose870, Type as Type529 } from "class-transformer";
|
|
57562
|
+
import { IsArray as IsArray277, IsDefined as IsDefined351, IsInt as IsInt6, Min as Min362, ValidateNested as ValidateNested455 } from "class-validator";
|
|
57467
57563
|
var UpdateHomePassAnexosDto = class extends HomePassRefDto {
|
|
57468
57564
|
ID_Trabajo = 0;
|
|
57469
57565
|
Anexos = [];
|
|
57470
57566
|
};
|
|
57471
57567
|
__decorateClass([
|
|
57472
|
-
|
|
57473
|
-
|
|
57474
|
-
|
|
57475
|
-
|
|
57568
|
+
IsDefined351({ message: "El ID del trabajo es requerido" }),
|
|
57569
|
+
IsInt6({ message: "El ID del trabajo debe ser un n\xFAmero entero" }),
|
|
57570
|
+
Min362(1, { message: "El ID del trabajo no es v\xE1lido" }),
|
|
57571
|
+
Expose870()
|
|
57476
57572
|
], UpdateHomePassAnexosDto.prototype, "ID_Trabajo", 2);
|
|
57477
57573
|
__decorateClass([
|
|
57478
|
-
|
|
57574
|
+
IsDefined351({ message: "Los anexos son requeridos" }),
|
|
57479
57575
|
IsArray277({ message: "Los anexos deben ser un arreglo" }),
|
|
57480
|
-
|
|
57481
|
-
|
|
57482
|
-
|
|
57576
|
+
Type529(() => FilesDocDTO),
|
|
57577
|
+
ValidateNested455({ each: true }),
|
|
57578
|
+
Expose870()
|
|
57483
57579
|
], UpdateHomePassAnexosDto.prototype, "Anexos", 2);
|
|
57484
57580
|
|
|
57485
57581
|
// src/v2/dtos/ChangeHomePassState.ts
|
|
57486
|
-
import { Expose as
|
|
57487
|
-
import { IsDefined as
|
|
57582
|
+
import { Expose as Expose871 } from "class-transformer";
|
|
57583
|
+
import { IsDefined as IsDefined352, IsIn as IsIn15 } from "class-validator";
|
|
57488
57584
|
var HOME_PASS_STATE_TYPES = ["OC", "ASPH", "SOP"];
|
|
57489
57585
|
var ChangeHomePassStateDto = class extends HomePassRefDto {
|
|
57490
57586
|
type = "OC";
|
|
57491
57587
|
};
|
|
57492
57588
|
__decorateClass([
|
|
57493
|
-
|
|
57494
|
-
|
|
57495
|
-
|
|
57589
|
+
IsDefined352({ message: "El tipo de cierre es requerido" }),
|
|
57590
|
+
IsIn15(HOME_PASS_STATE_TYPES, { message: `El tipo de cierre debe ser uno de: ${HOME_PASS_STATE_TYPES.join(", ")}` }),
|
|
57591
|
+
Expose871()
|
|
57496
57592
|
], ChangeHomePassStateDto.prototype, "type", 2);
|
|
57497
57593
|
|
|
57498
57594
|
// src/v2/dtos/CorrectRejectedValuation.ts
|
|
57499
|
-
import { Expose as
|
|
57500
|
-
import { IsArray as IsArray278, IsDefined as
|
|
57595
|
+
import { Expose as Expose872, Type as Type530 } from "class-transformer";
|
|
57596
|
+
import { IsArray as IsArray278, IsDefined as IsDefined353, IsInt as IsInt7, IsOptional as IsOptional99, Min as Min363, ValidateNested as ValidateNested456 } from "class-validator";
|
|
57501
57597
|
var CorrectRejectedValuationDto = class {
|
|
57502
57598
|
ID_Valorizacion = 0;
|
|
57503
57599
|
Anexos;
|
|
57504
57600
|
};
|
|
57505
57601
|
__decorateClass([
|
|
57506
|
-
|
|
57507
|
-
|
|
57508
|
-
|
|
57509
|
-
|
|
57602
|
+
IsDefined353({ message: "El ID de la valorizaci\xF3n es requerido" }),
|
|
57603
|
+
IsInt7({ message: "El ID de la valorizaci\xF3n debe ser un n\xFAmero entero" }),
|
|
57604
|
+
Min363(1, { message: "El ID de la valorizaci\xF3n no es v\xE1lido" }),
|
|
57605
|
+
Expose872()
|
|
57510
57606
|
], CorrectRejectedValuationDto.prototype, "ID_Valorizacion", 2);
|
|
57511
57607
|
__decorateClass([
|
|
57512
|
-
|
|
57608
|
+
IsOptional99(),
|
|
57513
57609
|
IsArray278({ message: "Los anexos deben ser un arreglo" }),
|
|
57514
|
-
|
|
57515
|
-
|
|
57516
|
-
|
|
57610
|
+
Type530(() => FilesDocDTO),
|
|
57611
|
+
ValidateNested456({ each: true }),
|
|
57612
|
+
Expose872()
|
|
57517
57613
|
], CorrectRejectedValuationDto.prototype, "Anexos", 2);
|
|
57518
57614
|
|
|
57519
57615
|
// src/v2/dtos/PreLiquidateValuation.ts
|
|
57520
|
-
import { Expose as
|
|
57616
|
+
import { Expose as Expose873, Transform as Transform138, Type as Type531 } from "class-transformer";
|
|
57521
57617
|
import {
|
|
57522
57618
|
ArrayMinSize as ArrayMinSize5,
|
|
57523
57619
|
IsArray as IsArray279,
|
|
57524
|
-
IsDefined as
|
|
57525
|
-
IsIn as
|
|
57526
|
-
IsInt as
|
|
57527
|
-
IsNotEmpty as
|
|
57528
|
-
IsNumber as
|
|
57529
|
-
IsOptional as
|
|
57530
|
-
IsString as
|
|
57620
|
+
IsDefined as IsDefined354,
|
|
57621
|
+
IsIn as IsIn16,
|
|
57622
|
+
IsInt as IsInt8,
|
|
57623
|
+
IsNotEmpty as IsNotEmpty486,
|
|
57624
|
+
IsNumber as IsNumber550,
|
|
57625
|
+
IsOptional as IsOptional100,
|
|
57626
|
+
IsString as IsString722,
|
|
57531
57627
|
Length as Length353,
|
|
57532
|
-
Min as
|
|
57533
|
-
ValidateNested as
|
|
57628
|
+
Min as Min364,
|
|
57629
|
+
ValidateNested as ValidateNested457
|
|
57534
57630
|
} from "class-validator";
|
|
57535
57631
|
var PRE_LIQUIDATE_TYPES = ["Troncal", "Residential", "Business"];
|
|
57536
57632
|
var BAREMO_SUBCONTRATA_TYPES = ["", "Asphalt", "Trenching"];
|
|
@@ -57540,13 +57636,13 @@ var PreLiquidateUnitDto = class {
|
|
|
57540
57636
|
Nombre = "";
|
|
57541
57637
|
};
|
|
57542
57638
|
__decorateClass([
|
|
57543
|
-
|
|
57544
|
-
|
|
57639
|
+
IsNumber550({}, { message: "El ID de la unidad de medida debe ser un n\xFAmero" }),
|
|
57640
|
+
Expose873()
|
|
57545
57641
|
], PreLiquidateUnitDto.prototype, "ID_UnidadMedida", 2);
|
|
57546
57642
|
__decorateClass([
|
|
57547
|
-
|
|
57643
|
+
IsString722({ message: "La unidad de medida debe ser una cadena de texto" }),
|
|
57548
57644
|
Length353(0, 50, { message: "La unidad de medida debe tener como m\xE1ximo 50 caracteres" }),
|
|
57549
|
-
|
|
57645
|
+
Expose873()
|
|
57550
57646
|
], PreLiquidateUnitDto.prototype, "Nombre", 2);
|
|
57551
57647
|
var PreLiquidateMaterialDto = class {
|
|
57552
57648
|
Codigo = "";
|
|
@@ -57559,47 +57655,47 @@ var PreLiquidateMaterialDto = class {
|
|
|
57559
57655
|
Motivo;
|
|
57560
57656
|
};
|
|
57561
57657
|
__decorateClass([
|
|
57562
|
-
|
|
57563
|
-
|
|
57564
|
-
|
|
57565
|
-
|
|
57566
|
-
|
|
57658
|
+
Transform138(trim3),
|
|
57659
|
+
IsDefined354({ message: "El c\xF3digo del material es requerido" }),
|
|
57660
|
+
IsString722({ message: "El c\xF3digo del material debe ser una cadena de texto" }),
|
|
57661
|
+
IsNotEmpty486({ message: "El c\xF3digo del material es requerido" }),
|
|
57662
|
+
Expose873()
|
|
57567
57663
|
], PreLiquidateMaterialDto.prototype, "Codigo", 2);
|
|
57568
57664
|
__decorateClass([
|
|
57569
|
-
|
|
57570
|
-
|
|
57665
|
+
IsString722({ message: "El c\xF3digo llave del material debe ser una cadena de texto" }),
|
|
57666
|
+
Expose873()
|
|
57571
57667
|
], PreLiquidateMaterialDto.prototype, "CodigoLlave", 2);
|
|
57572
57668
|
__decorateClass([
|
|
57573
|
-
|
|
57574
|
-
|
|
57669
|
+
IsString722({ message: "La descripci\xF3n del material debe ser una cadena de texto" }),
|
|
57670
|
+
Expose873()
|
|
57575
57671
|
], PreLiquidateMaterialDto.prototype, "Descripcion", 2);
|
|
57576
57672
|
__decorateClass([
|
|
57577
|
-
|
|
57578
|
-
|
|
57579
|
-
|
|
57580
|
-
|
|
57673
|
+
IsDefined354({ message: "La cantidad del material es requerida" }),
|
|
57674
|
+
IsNumber550({}, { message: "La cantidad del material debe ser un n\xFAmero" }),
|
|
57675
|
+
Min364(0, { message: "La cantidad del material no puede ser negativa" }),
|
|
57676
|
+
Expose873()
|
|
57581
57677
|
], PreLiquidateMaterialDto.prototype, "Cantidad", 2);
|
|
57582
57678
|
__decorateClass([
|
|
57583
|
-
|
|
57584
|
-
|
|
57585
|
-
|
|
57679
|
+
IsOptional100(),
|
|
57680
|
+
IsNumber550({}, { message: "La cantidad informada debe ser un n\xFAmero" }),
|
|
57681
|
+
Expose873()
|
|
57586
57682
|
], PreLiquidateMaterialDto.prototype, "CantidadInformada", 2);
|
|
57587
57683
|
__decorateClass([
|
|
57588
|
-
|
|
57589
|
-
|
|
57590
|
-
|
|
57684
|
+
IsOptional100(),
|
|
57685
|
+
IsNumber550({}, { message: "El ID del stock personal debe ser un n\xFAmero" }),
|
|
57686
|
+
Expose873()
|
|
57591
57687
|
], PreLiquidateMaterialDto.prototype, "ID_StockPersonal", 2);
|
|
57592
57688
|
__decorateClass([
|
|
57593
|
-
|
|
57594
|
-
|
|
57595
|
-
|
|
57596
|
-
|
|
57689
|
+
IsDefined354({ message: "La unidad de medida del material es requerida" }),
|
|
57690
|
+
Type531(() => PreLiquidateUnitDto),
|
|
57691
|
+
ValidateNested457(),
|
|
57692
|
+
Expose873()
|
|
57597
57693
|
], PreLiquidateMaterialDto.prototype, "UnidadMedida", 2);
|
|
57598
57694
|
__decorateClass([
|
|
57599
|
-
|
|
57600
|
-
|
|
57601
|
-
|
|
57602
|
-
|
|
57695
|
+
IsOptional100(),
|
|
57696
|
+
Type531(() => CodigoDescripcionDTO),
|
|
57697
|
+
ValidateNested457(),
|
|
57698
|
+
Expose873()
|
|
57603
57699
|
], PreLiquidateMaterialDto.prototype, "Motivo", 2);
|
|
57604
57700
|
var PreLiquidateLineDto = class {
|
|
57605
57701
|
LineaCodigoCub = "";
|
|
@@ -57611,46 +57707,46 @@ var PreLiquidateLineDto = class {
|
|
|
57611
57707
|
Anexos = [];
|
|
57612
57708
|
};
|
|
57613
57709
|
__decorateClass([
|
|
57614
|
-
|
|
57615
|
-
|
|
57616
|
-
|
|
57617
|
-
|
|
57618
|
-
|
|
57710
|
+
Transform138(trim3),
|
|
57711
|
+
IsDefined354({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
57712
|
+
IsString722({ message: "La l\xEDnea (LineaCodigoCub) debe ser una cadena de texto" }),
|
|
57713
|
+
IsNotEmpty486({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
57714
|
+
Expose873()
|
|
57619
57715
|
], PreLiquidateLineDto.prototype, "LineaCodigoCub", 2);
|
|
57620
57716
|
__decorateClass([
|
|
57621
|
-
|
|
57622
|
-
|
|
57623
|
-
|
|
57624
|
-
|
|
57717
|
+
IsDefined354({ message: "La cantidad es requerida" }),
|
|
57718
|
+
IsNumber550({}, { message: "La cantidad debe ser un n\xFAmero" }),
|
|
57719
|
+
Min364(0.1, { message: "Ingrese una cantidad mayor a 0" }),
|
|
57720
|
+
Expose873()
|
|
57625
57721
|
], PreLiquidateLineDto.prototype, "Cantidad", 2);
|
|
57626
57722
|
__decorateClass([
|
|
57627
|
-
|
|
57628
|
-
|
|
57629
|
-
|
|
57723
|
+
IsOptional100(),
|
|
57724
|
+
IsIn16(BAREMO_SUBCONTRATA_TYPES, { message: `El tipo de baremo debe ser uno de: ${BAREMO_SUBCONTRATA_TYPES.join(", ")}` }),
|
|
57725
|
+
Expose873()
|
|
57630
57726
|
], PreLiquidateLineDto.prototype, "TipoBaremoSubcontrata", 2);
|
|
57631
57727
|
__decorateClass([
|
|
57632
|
-
|
|
57633
|
-
|
|
57634
|
-
|
|
57635
|
-
|
|
57728
|
+
IsDefined354({ message: "El HomePass es requerido" }),
|
|
57729
|
+
Type531(() => HomePassDTO),
|
|
57730
|
+
ValidateNested457(),
|
|
57731
|
+
Expose873()
|
|
57636
57732
|
], PreLiquidateLineDto.prototype, "HomePass", 2);
|
|
57637
57733
|
__decorateClass([
|
|
57638
57734
|
IsArray279({ message: "Los materiales instalados deben ser un arreglo" }),
|
|
57639
|
-
|
|
57640
|
-
|
|
57641
|
-
|
|
57735
|
+
Type531(() => PreLiquidateMaterialDto),
|
|
57736
|
+
ValidateNested457({ each: true }),
|
|
57737
|
+
Expose873()
|
|
57642
57738
|
], PreLiquidateLineDto.prototype, "MaterialesInstalados", 2);
|
|
57643
57739
|
__decorateClass([
|
|
57644
57740
|
IsArray279({ message: "Los materiales retirados deben ser un arreglo" }),
|
|
57645
|
-
|
|
57646
|
-
|
|
57647
|
-
|
|
57741
|
+
Type531(() => PreLiquidateMaterialDto),
|
|
57742
|
+
ValidateNested457({ each: true }),
|
|
57743
|
+
Expose873()
|
|
57648
57744
|
], PreLiquidateLineDto.prototype, "MaterialesRetirados", 2);
|
|
57649
57745
|
__decorateClass([
|
|
57650
57746
|
IsArray279({ message: "Los anexos deben ser un arreglo" }),
|
|
57651
|
-
|
|
57652
|
-
|
|
57653
|
-
|
|
57747
|
+
Type531(() => FilesDocDTO),
|
|
57748
|
+
ValidateNested457({ each: true }),
|
|
57749
|
+
Expose873()
|
|
57654
57750
|
], PreLiquidateLineDto.prototype, "Anexos", 2);
|
|
57655
57751
|
var PreLiquidateNewLaborDto = class {
|
|
57656
57752
|
LineaCodigoCub = "";
|
|
@@ -57658,24 +57754,24 @@ var PreLiquidateNewLaborDto = class {
|
|
|
57658
57754
|
Cantidad = 0;
|
|
57659
57755
|
};
|
|
57660
57756
|
__decorateClass([
|
|
57661
|
-
|
|
57662
|
-
|
|
57663
|
-
|
|
57664
|
-
|
|
57665
|
-
|
|
57757
|
+
Transform138(trim3),
|
|
57758
|
+
IsDefined354({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
57759
|
+
IsString722({ message: "La l\xEDnea (LineaCodigoCub) debe ser una cadena de texto" }),
|
|
57760
|
+
IsNotEmpty486({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
57761
|
+
Expose873()
|
|
57666
57762
|
], PreLiquidateNewLaborDto.prototype, "LineaCodigoCub", 2);
|
|
57667
57763
|
__decorateClass([
|
|
57668
|
-
|
|
57669
|
-
|
|
57670
|
-
|
|
57671
|
-
|
|
57672
|
-
|
|
57764
|
+
Transform138(trim3),
|
|
57765
|
+
IsDefined354({ message: "La especialidad es requerida" }),
|
|
57766
|
+
IsString722({ message: "La especialidad debe ser una cadena de texto" }),
|
|
57767
|
+
IsNotEmpty486({ message: "La especialidad es requerida" }),
|
|
57768
|
+
Expose873()
|
|
57673
57769
|
], PreLiquidateNewLaborDto.prototype, "EspecialidadCodigo", 2);
|
|
57674
57770
|
__decorateClass([
|
|
57675
|
-
|
|
57676
|
-
|
|
57677
|
-
|
|
57678
|
-
|
|
57771
|
+
IsDefined354({ message: "La cantidad es requerida" }),
|
|
57772
|
+
IsNumber550({}, { message: "La cantidad debe ser un n\xFAmero" }),
|
|
57773
|
+
Min364(0.1, { message: "Ingrese una cantidad mayor a 0" }),
|
|
57774
|
+
Expose873()
|
|
57679
57775
|
], PreLiquidateNewLaborDto.prototype, "Cantidad", 2);
|
|
57680
57776
|
var PreLiquidateValuationDto = class {
|
|
57681
57777
|
ID_Operacion = "";
|
|
@@ -57685,50 +57781,50 @@ var PreLiquidateValuationDto = class {
|
|
|
57685
57781
|
Lineas = [];
|
|
57686
57782
|
};
|
|
57687
57783
|
__decorateClass([
|
|
57688
|
-
|
|
57689
|
-
|
|
57690
|
-
|
|
57691
|
-
|
|
57692
|
-
|
|
57784
|
+
Transform138(trim3),
|
|
57785
|
+
IsDefined354({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
57786
|
+
IsString722({ message: "El ID de la operaci\xF3n debe ser una cadena de texto" }),
|
|
57787
|
+
IsNotEmpty486({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
57788
|
+
Expose873()
|
|
57693
57789
|
], PreLiquidateValuationDto.prototype, "ID_Operacion", 2);
|
|
57694
57790
|
__decorateClass([
|
|
57695
|
-
|
|
57696
|
-
|
|
57697
|
-
|
|
57791
|
+
IsDefined354({ message: "El tipo de preliquidaci\xF3n es requerido" }),
|
|
57792
|
+
IsIn16(PRE_LIQUIDATE_TYPES, { message: `El tipo de preliquidaci\xF3n debe ser uno de: ${PRE_LIQUIDATE_TYPES.join(", ")}` }),
|
|
57793
|
+
Expose873()
|
|
57698
57794
|
], PreLiquidateValuationDto.prototype, "Tipo", 2);
|
|
57699
57795
|
__decorateClass([
|
|
57700
|
-
|
|
57701
|
-
|
|
57702
|
-
|
|
57703
|
-
|
|
57796
|
+
IsOptional100(),
|
|
57797
|
+
IsInt8({ message: "El ID de la valorizaci\xF3n rechazada debe ser un n\xFAmero entero" }),
|
|
57798
|
+
Min364(1, { message: "El ID de la valorizaci\xF3n rechazada no es v\xE1lido" }),
|
|
57799
|
+
Expose873()
|
|
57704
57800
|
], PreLiquidateValuationDto.prototype, "ID_ValorizacionRechazadaMetraje", 2);
|
|
57705
57801
|
__decorateClass([
|
|
57706
57802
|
IsArray279({ message: "La MO no reservada debe ser un arreglo" }),
|
|
57707
|
-
|
|
57708
|
-
|
|
57709
|
-
|
|
57803
|
+
Type531(() => PreLiquidateNewLaborDto),
|
|
57804
|
+
ValidateNested457({ each: true }),
|
|
57805
|
+
Expose873()
|
|
57710
57806
|
], PreLiquidateValuationDto.prototype, "NuevasMO", 2);
|
|
57711
57807
|
__decorateClass([
|
|
57712
57808
|
IsArray279({ message: "Las l\xEDneas deben ser un arreglo" }),
|
|
57713
57809
|
ArrayMinSize5(1, { message: "\xA1No se agreg\xF3 asignaciones!" }),
|
|
57714
|
-
|
|
57715
|
-
|
|
57716
|
-
|
|
57810
|
+
Type531(() => PreLiquidateLineDto),
|
|
57811
|
+
ValidateNested457({ each: true }),
|
|
57812
|
+
Expose873()
|
|
57717
57813
|
], PreLiquidateValuationDto.prototype, "Lineas", 2);
|
|
57718
57814
|
|
|
57719
57815
|
// src/v2/dtos/PreLiquidateValuationCHILE9512.ts
|
|
57720
|
-
import { Expose as
|
|
57816
|
+
import { Expose as Expose874, Transform as Transform139, Type as Type532 } from "class-transformer";
|
|
57721
57817
|
import {
|
|
57722
57818
|
ArrayMinSize as ArrayMinSize6,
|
|
57723
57819
|
IsArray as IsArray280,
|
|
57724
|
-
IsDefined as
|
|
57725
|
-
IsNotEmpty as
|
|
57726
|
-
IsNumber as
|
|
57727
|
-
IsOptional as
|
|
57728
|
-
IsString as
|
|
57820
|
+
IsDefined as IsDefined355,
|
|
57821
|
+
IsNotEmpty as IsNotEmpty487,
|
|
57822
|
+
IsNumber as IsNumber551,
|
|
57823
|
+
IsOptional as IsOptional101,
|
|
57824
|
+
IsString as IsString723,
|
|
57729
57825
|
Matches as Matches6,
|
|
57730
|
-
Min as
|
|
57731
|
-
ValidateNested as
|
|
57826
|
+
Min as Min365,
|
|
57827
|
+
ValidateNested as ValidateNested458
|
|
57732
57828
|
} from "class-validator";
|
|
57733
57829
|
var trim4 = ({ value }) => typeof value === "string" ? value.trim() : value;
|
|
57734
57830
|
var PreLiquidateLineCHILE9512Dto = class {
|
|
@@ -57738,31 +57834,31 @@ var PreLiquidateLineCHILE9512Dto = class {
|
|
|
57738
57834
|
Anexos = [];
|
|
57739
57835
|
};
|
|
57740
57836
|
__decorateClass([
|
|
57741
|
-
|
|
57742
|
-
|
|
57743
|
-
|
|
57744
|
-
|
|
57745
|
-
|
|
57837
|
+
Transform139(trim4),
|
|
57838
|
+
IsDefined355({ message: "Seleccione una Valorizacion" }),
|
|
57839
|
+
IsString723({ message: "Seleccione una Valorizacion" }),
|
|
57840
|
+
IsNotEmpty487({ message: "Seleccione una Valorizacion" }),
|
|
57841
|
+
Expose874()
|
|
57746
57842
|
], PreLiquidateLineCHILE9512Dto.prototype, "LineaCodigoCub", 2);
|
|
57747
57843
|
__decorateClass([
|
|
57748
|
-
|
|
57749
|
-
|
|
57750
|
-
|
|
57751
|
-
|
|
57752
|
-
|
|
57844
|
+
Type532(() => Number),
|
|
57845
|
+
IsDefined355({ message: "Ingrese una cantidad MO a Preliquidar" }),
|
|
57846
|
+
IsNumber551({}, { message: "Ingrese una cantidad MO a Preliquidar" }),
|
|
57847
|
+
Min365(0, { message: "Ingrese una cantidad MO a Preliquidar mayor o igual a 0" }),
|
|
57848
|
+
Expose874()
|
|
57753
57849
|
], PreLiquidateLineCHILE9512Dto.prototype, "CantidadMO", 2);
|
|
57754
57850
|
__decorateClass([
|
|
57755
|
-
|
|
57756
|
-
|
|
57757
|
-
|
|
57758
|
-
|
|
57759
|
-
|
|
57851
|
+
Type532(() => Number),
|
|
57852
|
+
IsDefined355({ message: "Ingrese una cantidad UO a Preliquidar" }),
|
|
57853
|
+
IsNumber551({}, { message: "Ingrese una cantidad UO a Preliquidar" }),
|
|
57854
|
+
Min365(0, { message: "Ingrese una cantidad UO a Preliquidar mayor o igual a 0" }),
|
|
57855
|
+
Expose874()
|
|
57760
57856
|
], PreLiquidateLineCHILE9512Dto.prototype, "CantidadUO", 2);
|
|
57761
57857
|
__decorateClass([
|
|
57762
57858
|
IsArray280({ message: "Los anexos deben ser un arreglo" }),
|
|
57763
|
-
|
|
57764
|
-
|
|
57765
|
-
|
|
57859
|
+
Type532(() => FilesDocDTO),
|
|
57860
|
+
ValidateNested458({ each: true }),
|
|
57861
|
+
Expose874()
|
|
57766
57862
|
], PreLiquidateLineCHILE9512Dto.prototype, "Anexos", 2);
|
|
57767
57863
|
var PreLiquidateValuationCHILE9512Dto = class {
|
|
57768
57864
|
ID_Operacion = "";
|
|
@@ -57770,41 +57866,41 @@ var PreLiquidateValuationCHILE9512Dto = class {
|
|
|
57770
57866
|
Lineas = [];
|
|
57771
57867
|
};
|
|
57772
57868
|
__decorateClass([
|
|
57773
|
-
|
|
57774
|
-
|
|
57775
|
-
|
|
57776
|
-
|
|
57777
|
-
|
|
57869
|
+
Transform139(trim4),
|
|
57870
|
+
IsDefined355({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
57871
|
+
IsString723({ message: "El ID de la operaci\xF3n debe ser una cadena de texto" }),
|
|
57872
|
+
IsNotEmpty487({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
57873
|
+
Expose874()
|
|
57778
57874
|
], PreLiquidateValuationCHILE9512Dto.prototype, "ID_Operacion", 2);
|
|
57779
57875
|
__decorateClass([
|
|
57780
|
-
|
|
57781
|
-
|
|
57876
|
+
IsOptional101(),
|
|
57877
|
+
IsString723({ message: "El c\xF3digo del parte diario debe ser una cadena de texto" }),
|
|
57782
57878
|
Matches6(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
57783
|
-
|
|
57879
|
+
Expose874()
|
|
57784
57880
|
], PreLiquidateValuationCHILE9512Dto.prototype, "CodigoParteDiario", 2);
|
|
57785
57881
|
__decorateClass([
|
|
57786
57882
|
IsArray280({ message: "Las l\xEDneas deben ser un arreglo" }),
|
|
57787
57883
|
ArrayMinSize6(1, { message: "No ha agregado ninguna Valorizaci\xF3n." }),
|
|
57788
|
-
|
|
57789
|
-
|
|
57790
|
-
|
|
57884
|
+
Type532(() => PreLiquidateLineCHILE9512Dto),
|
|
57885
|
+
ValidateNested458({ each: true }),
|
|
57886
|
+
Expose874()
|
|
57791
57887
|
], PreLiquidateValuationCHILE9512Dto.prototype, "Lineas", 2);
|
|
57792
57888
|
|
|
57793
57889
|
// src/v2/dtos/PreLiquidateValuationCOLOMBIA9612.ts
|
|
57794
|
-
import { Expose as
|
|
57890
|
+
import { Expose as Expose875, Transform as Transform140, Type as Type533 } from "class-transformer";
|
|
57795
57891
|
import {
|
|
57796
57892
|
ArrayMinSize as ArrayMinSize7,
|
|
57797
57893
|
IsArray as IsArray281,
|
|
57798
|
-
IsDefined as
|
|
57799
|
-
IsInt as
|
|
57800
|
-
IsNotEmpty as
|
|
57801
|
-
IsNumber as
|
|
57802
|
-
IsOptional as
|
|
57894
|
+
IsDefined as IsDefined356,
|
|
57895
|
+
IsInt as IsInt9,
|
|
57896
|
+
IsNotEmpty as IsNotEmpty488,
|
|
57897
|
+
IsNumber as IsNumber552,
|
|
57898
|
+
IsOptional as IsOptional102,
|
|
57803
57899
|
IsPositive,
|
|
57804
|
-
IsString as
|
|
57900
|
+
IsString as IsString724,
|
|
57805
57901
|
Matches as Matches7,
|
|
57806
|
-
Min as
|
|
57807
|
-
ValidateNested as
|
|
57902
|
+
Min as Min366,
|
|
57903
|
+
ValidateNested as ValidateNested459
|
|
57808
57904
|
} from "class-validator";
|
|
57809
57905
|
var trim5 = ({ value }) => typeof value === "string" ? value.trim() : value;
|
|
57810
57906
|
var PreLiquidateSubMOCOLOMBIA9612Dto = class {
|
|
@@ -57812,54 +57908,54 @@ var PreLiquidateSubMOCOLOMBIA9612Dto = class {
|
|
|
57812
57908
|
Cantidad = 0;
|
|
57813
57909
|
};
|
|
57814
57910
|
__decorateClass([
|
|
57815
|
-
|
|
57816
|
-
|
|
57817
|
-
|
|
57818
|
-
|
|
57819
|
-
|
|
57911
|
+
Transform140(trim5),
|
|
57912
|
+
IsDefined356({ message: "Seleccione una Sub MO" }),
|
|
57913
|
+
IsString724({ message: "Seleccione una Sub MO" }),
|
|
57914
|
+
IsNotEmpty488({ message: "Seleccione una Sub MO" }),
|
|
57915
|
+
Expose875()
|
|
57820
57916
|
], PreLiquidateSubMOCOLOMBIA9612Dto.prototype, "Codigo", 2);
|
|
57821
57917
|
__decorateClass([
|
|
57822
|
-
|
|
57823
|
-
|
|
57824
|
-
|
|
57918
|
+
Type533(() => Number),
|
|
57919
|
+
IsDefined356({ message: "Ingrese la cantidad de la Sub MO" }),
|
|
57920
|
+
IsInt9({ message: "La cantidad de la Sub MO debe ser un n\xFAmero entero" }),
|
|
57825
57921
|
IsPositive({ message: "La cantidad de la Sub MO debe ser mayor a 0" }),
|
|
57826
|
-
|
|
57922
|
+
Expose875()
|
|
57827
57923
|
], PreLiquidateSubMOCOLOMBIA9612Dto.prototype, "Cantidad", 2);
|
|
57828
57924
|
var PreLiquidateInstalledMaterialCOLOMBIA9612Dto = class {
|
|
57829
57925
|
ID_StockPersonal = 0;
|
|
57830
57926
|
Cantidad = 0;
|
|
57831
57927
|
};
|
|
57832
57928
|
__decorateClass([
|
|
57833
|
-
|
|
57834
|
-
|
|
57835
|
-
|
|
57836
|
-
|
|
57837
|
-
|
|
57929
|
+
Type533(() => Number),
|
|
57930
|
+
IsDefined356({ message: "Seleccione un material" }),
|
|
57931
|
+
IsNumber552({}, { message: "Seleccione un material" }),
|
|
57932
|
+
Min366(1, { message: "Seleccione un material" }),
|
|
57933
|
+
Expose875()
|
|
57838
57934
|
], PreLiquidateInstalledMaterialCOLOMBIA9612Dto.prototype, "ID_StockPersonal", 2);
|
|
57839
57935
|
__decorateClass([
|
|
57840
|
-
|
|
57841
|
-
|
|
57842
|
-
|
|
57936
|
+
Type533(() => Number),
|
|
57937
|
+
IsDefined356({ message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57938
|
+
IsNumber552({}, { message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57843
57939
|
IsPositive({ message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57844
|
-
|
|
57940
|
+
Expose875()
|
|
57845
57941
|
], PreLiquidateInstalledMaterialCOLOMBIA9612Dto.prototype, "Cantidad", 2);
|
|
57846
57942
|
var PreLiquidateRemovedMaterialCOLOMBIA9612Dto = class {
|
|
57847
57943
|
Codigo = "";
|
|
57848
57944
|
Cantidad = 0;
|
|
57849
57945
|
};
|
|
57850
57946
|
__decorateClass([
|
|
57851
|
-
|
|
57852
|
-
|
|
57853
|
-
|
|
57854
|
-
|
|
57855
|
-
|
|
57947
|
+
Transform140(trim5),
|
|
57948
|
+
IsDefined356({ message: "Seleccione un material" }),
|
|
57949
|
+
IsString724({ message: "Seleccione un material" }),
|
|
57950
|
+
IsNotEmpty488({ message: "Seleccione un material" }),
|
|
57951
|
+
Expose875()
|
|
57856
57952
|
], PreLiquidateRemovedMaterialCOLOMBIA9612Dto.prototype, "Codigo", 2);
|
|
57857
57953
|
__decorateClass([
|
|
57858
|
-
|
|
57859
|
-
|
|
57860
|
-
|
|
57954
|
+
Type533(() => Number),
|
|
57955
|
+
IsDefined356({ message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57956
|
+
IsNumber552({}, { message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57861
57957
|
IsPositive({ message: "Hay cantidades vacias o con valor 0 en lista de Materiales" }),
|
|
57862
|
-
|
|
57958
|
+
Expose875()
|
|
57863
57959
|
], PreLiquidateRemovedMaterialCOLOMBIA9612Dto.prototype, "Cantidad", 2);
|
|
57864
57960
|
var PreLiquidateLineCOLOMBIA9612Dto = class {
|
|
57865
57961
|
LineaCodigoCub = "";
|
|
@@ -57870,42 +57966,42 @@ var PreLiquidateLineCOLOMBIA9612Dto = class {
|
|
|
57870
57966
|
Anexos = [];
|
|
57871
57967
|
};
|
|
57872
57968
|
__decorateClass([
|
|
57873
|
-
|
|
57874
|
-
|
|
57875
|
-
|
|
57876
|
-
|
|
57877
|
-
|
|
57969
|
+
Transform140(trim5),
|
|
57970
|
+
IsDefined356({ message: "Seleccione una Valorizacion" }),
|
|
57971
|
+
IsString724({ message: "Seleccione una Valorizacion" }),
|
|
57972
|
+
IsNotEmpty488({ message: "Seleccione una Valorizacion" }),
|
|
57973
|
+
Expose875()
|
|
57878
57974
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "LineaCodigoCub", 2);
|
|
57879
57975
|
__decorateClass([
|
|
57880
|
-
|
|
57881
|
-
|
|
57882
|
-
|
|
57883
|
-
|
|
57884
|
-
|
|
57976
|
+
Type533(() => Number),
|
|
57977
|
+
IsDefined356({ message: "Ingrese una cantidad MO a Preliquidar" }),
|
|
57978
|
+
IsNumber552({}, { message: "Ingrese una cantidad MO a Preliquidar" }),
|
|
57979
|
+
Min366(0, { message: "Ingrese una cantidad MO a Preliquidar mayor o igual a 0" }),
|
|
57980
|
+
Expose875()
|
|
57885
57981
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "CantidadMO", 2);
|
|
57886
57982
|
__decorateClass([
|
|
57887
57983
|
IsArray281({ message: "La Sub MO debe ser un arreglo" }),
|
|
57888
|
-
|
|
57889
|
-
|
|
57890
|
-
|
|
57984
|
+
Type533(() => PreLiquidateSubMOCOLOMBIA9612Dto),
|
|
57985
|
+
ValidateNested459({ each: true }),
|
|
57986
|
+
Expose875()
|
|
57891
57987
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "SubManoObra", 2);
|
|
57892
57988
|
__decorateClass([
|
|
57893
57989
|
IsArray281({ message: "Los materiales instalados deben ser un arreglo" }),
|
|
57894
|
-
|
|
57895
|
-
|
|
57896
|
-
|
|
57990
|
+
Type533(() => PreLiquidateInstalledMaterialCOLOMBIA9612Dto),
|
|
57991
|
+
ValidateNested459({ each: true }),
|
|
57992
|
+
Expose875()
|
|
57897
57993
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "MaterialesInstalados", 2);
|
|
57898
57994
|
__decorateClass([
|
|
57899
57995
|
IsArray281({ message: "Los materiales retirados deben ser un arreglo" }),
|
|
57900
|
-
|
|
57901
|
-
|
|
57902
|
-
|
|
57996
|
+
Type533(() => PreLiquidateRemovedMaterialCOLOMBIA9612Dto),
|
|
57997
|
+
ValidateNested459({ each: true }),
|
|
57998
|
+
Expose875()
|
|
57903
57999
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "MaterialesRetirados", 2);
|
|
57904
58000
|
__decorateClass([
|
|
57905
58001
|
IsArray281({ message: "Los anexos deben ser un arreglo" }),
|
|
57906
|
-
|
|
57907
|
-
|
|
57908
|
-
|
|
58002
|
+
Type533(() => FilesDocDTO),
|
|
58003
|
+
ValidateNested459({ each: true }),
|
|
58004
|
+
Expose875()
|
|
57909
58005
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "Anexos", 2);
|
|
57910
58006
|
var PreLiquidateValuationCOLOMBIA9612Dto = class {
|
|
57911
58007
|
ID_Operacion = "";
|
|
@@ -57914,57 +58010,57 @@ var PreLiquidateValuationCOLOMBIA9612Dto = class {
|
|
|
57914
58010
|
Lineas = [];
|
|
57915
58011
|
};
|
|
57916
58012
|
__decorateClass([
|
|
57917
|
-
|
|
57918
|
-
|
|
57919
|
-
|
|
57920
|
-
|
|
57921
|
-
|
|
58013
|
+
Transform140(trim5),
|
|
58014
|
+
IsDefined356({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
58015
|
+
IsString724({ message: "El ID de la operaci\xF3n debe ser una cadena de texto" }),
|
|
58016
|
+
IsNotEmpty488({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
58017
|
+
Expose875()
|
|
57922
58018
|
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "ID_Operacion", 2);
|
|
57923
58019
|
__decorateClass([
|
|
57924
|
-
|
|
57925
|
-
|
|
58020
|
+
IsOptional102(),
|
|
58021
|
+
IsString724({ message: "El c\xF3digo del parte diario debe ser una cadena de texto" }),
|
|
57926
58022
|
Matches7(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
57927
|
-
|
|
58023
|
+
Expose875()
|
|
57928
58024
|
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "CodigoParteDiario", 2);
|
|
57929
58025
|
__decorateClass([
|
|
57930
|
-
|
|
57931
|
-
|
|
57932
|
-
|
|
57933
|
-
|
|
58026
|
+
IsOptional102(),
|
|
58027
|
+
Type533(() => Number),
|
|
58028
|
+
IsNumber552({}, { message: "La valorizaci\xF3n rechazada debe ser un n\xFAmero" }),
|
|
58029
|
+
Expose875()
|
|
57934
58030
|
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "ID_ValorizacionRechazadaMetraje", 2);
|
|
57935
58031
|
__decorateClass([
|
|
57936
58032
|
IsArray281({ message: "Las l\xEDneas deben ser un arreglo" }),
|
|
57937
58033
|
ArrayMinSize7(1, { message: "No ha agregado ninguna Valorizaci\xF3n." }),
|
|
57938
|
-
|
|
57939
|
-
|
|
57940
|
-
|
|
58034
|
+
Type533(() => PreLiquidateLineCOLOMBIA9612Dto),
|
|
58035
|
+
ValidateNested459({ each: true }),
|
|
58036
|
+
Expose875()
|
|
57941
58037
|
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "Lineas", 2);
|
|
57942
58038
|
|
|
57943
58039
|
// src/v2/dtos/ChangeJobState.ts
|
|
57944
|
-
import { Expose as
|
|
57945
|
-
import { IsDefined as
|
|
58040
|
+
import { Expose as Expose876 } from "class-transformer";
|
|
58041
|
+
import { IsDefined as IsDefined357, IsIn as IsIn17 } from "class-validator";
|
|
57946
58042
|
var ChangeJobStateDto = class {
|
|
57947
58043
|
type = "OC";
|
|
57948
58044
|
};
|
|
57949
58045
|
__decorateClass([
|
|
57950
|
-
|
|
57951
|
-
|
|
57952
|
-
|
|
58046
|
+
IsDefined357({ message: "El tipo de cierre es requerido" }),
|
|
58047
|
+
IsIn17(HOME_PASS_STATE_TYPES, { message: `El tipo de cierre debe ser uno de: ${HOME_PASS_STATE_TYPES.join(", ")}` }),
|
|
58048
|
+
Expose876()
|
|
57953
58049
|
], ChangeJobStateDto.prototype, "type", 2);
|
|
57954
58050
|
|
|
57955
58051
|
// src/v2/dtos/SaveDailyReport.ts
|
|
57956
|
-
import { Expose as
|
|
58052
|
+
import { Expose as Expose877, Type as Type534 } from "class-transformer";
|
|
57957
58053
|
import {
|
|
57958
58054
|
ArrayMinSize as ArrayMinSize8,
|
|
57959
58055
|
IsArray as IsArray282,
|
|
57960
|
-
IsDate as
|
|
57961
|
-
IsDefined as
|
|
57962
|
-
IsString as
|
|
58056
|
+
IsDate as IsDate202,
|
|
58057
|
+
IsDefined as IsDefined358,
|
|
58058
|
+
IsString as IsString725,
|
|
57963
58059
|
Length as Length354,
|
|
57964
58060
|
Matches as Matches8,
|
|
57965
58061
|
MaxLength as MaxLength17,
|
|
57966
58062
|
MinLength as MinLength64,
|
|
57967
|
-
ValidateNested as
|
|
58063
|
+
ValidateNested as ValidateNested460
|
|
57968
58064
|
} from "class-validator";
|
|
57969
58065
|
var SaveDailyReportPhotoDto = class {
|
|
57970
58066
|
Ruta = "";
|
|
@@ -57973,26 +58069,26 @@ var SaveDailyReportPhotoDto = class {
|
|
|
57973
58069
|
Fecha = /* @__PURE__ */ new Date();
|
|
57974
58070
|
};
|
|
57975
58071
|
__decorateClass([
|
|
57976
|
-
|
|
57977
|
-
|
|
58072
|
+
IsDefined358({ message: "La ruta de la foto es requerida" }),
|
|
58073
|
+
IsString725({ message: "La ruta de la foto debe ser un texto" }),
|
|
57978
58074
|
Length354(1, 500, { message: "La ruta de la foto debe tener entre 1 y 500 caracteres" }),
|
|
57979
|
-
|
|
58075
|
+
Expose877()
|
|
57980
58076
|
], SaveDailyReportPhotoDto.prototype, "Ruta", 2);
|
|
57981
58077
|
__decorateClass([
|
|
57982
|
-
|
|
57983
|
-
|
|
58078
|
+
IsDefined358({ message: "El nombre de la foto es requerido" }),
|
|
58079
|
+
IsString725({ message: "El nombre de la foto debe ser un texto" }),
|
|
57984
58080
|
Length354(1, 500, { message: "El nombre de la foto debe tener entre 1 y 500 caracteres" }),
|
|
57985
|
-
|
|
58081
|
+
Expose877()
|
|
57986
58082
|
], SaveDailyReportPhotoDto.prototype, "img", 2);
|
|
57987
58083
|
__decorateClass([
|
|
57988
|
-
|
|
57989
|
-
|
|
57990
|
-
|
|
58084
|
+
Type534(() => CoordenadasDTO),
|
|
58085
|
+
ValidateNested460(),
|
|
58086
|
+
Expose877()
|
|
57991
58087
|
], SaveDailyReportPhotoDto.prototype, "Coordenadas", 2);
|
|
57992
58088
|
__decorateClass([
|
|
57993
|
-
|
|
57994
|
-
|
|
57995
|
-
|
|
58089
|
+
Type534(() => Date),
|
|
58090
|
+
IsDate202({ message: "La fecha de la foto no es v\xE1lida" }),
|
|
58091
|
+
Expose877()
|
|
57996
58092
|
], SaveDailyReportPhotoDto.prototype, "Fecha", 2);
|
|
57997
58093
|
var SaveDailyReportDto = class {
|
|
57998
58094
|
Codigo = "";
|
|
@@ -58001,49 +58097,49 @@ var SaveDailyReportDto = class {
|
|
|
58001
58097
|
Fotos = [];
|
|
58002
58098
|
};
|
|
58003
58099
|
__decorateClass([
|
|
58004
|
-
|
|
58100
|
+
IsDefined358({ message: "El c\xF3digo del parte diario es requerido" }),
|
|
58005
58101
|
Matches8(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
58006
|
-
|
|
58102
|
+
Expose877()
|
|
58007
58103
|
], SaveDailyReportDto.prototype, "Codigo", 2);
|
|
58008
58104
|
__decorateClass([
|
|
58009
|
-
|
|
58010
|
-
|
|
58105
|
+
IsDefined358({ message: "Ingrese una Novedad (al menos 5 caracteres)" }),
|
|
58106
|
+
IsString725({ message: "La novedad debe ser un texto" }),
|
|
58011
58107
|
MinLength64(5, { message: "Debe tener al menos 5 caracteres" }),
|
|
58012
58108
|
MaxLength17(300, { message: "La novedad debe tener como m\xE1ximo 300 caracteres" }),
|
|
58013
58109
|
Matches8(/^[a-zA-Z0-9 ñÑ.]*$/, { message: "S\xF3lo se permiten letras, n\xFAmeros, espacios y puntos" }),
|
|
58014
|
-
|
|
58110
|
+
Expose877()
|
|
58015
58111
|
], SaveDailyReportDto.prototype, "Novedad", 2);
|
|
58016
58112
|
__decorateClass([
|
|
58017
58113
|
IsArray282({ message: "El personal debe ser un arreglo" }),
|
|
58018
|
-
|
|
58019
|
-
|
|
58114
|
+
IsString725({ each: true, message: "Cada personal debe ser una identificaci\xF3n" }),
|
|
58115
|
+
Expose877()
|
|
58020
58116
|
], SaveDailyReportDto.prototype, "Personal", 2);
|
|
58021
58117
|
__decorateClass([
|
|
58022
58118
|
IsArray282({ message: "Las fotos deben ser un arreglo" }),
|
|
58023
58119
|
ArrayMinSize8(2, { message: "Fotos es requerido. Al menos debe adjuntar dos fotos." }),
|
|
58024
|
-
|
|
58025
|
-
|
|
58026
|
-
|
|
58120
|
+
Type534(() => SaveDailyReportPhotoDto),
|
|
58121
|
+
ValidateNested460({ each: true }),
|
|
58122
|
+
Expose877()
|
|
58027
58123
|
], SaveDailyReportDto.prototype, "Fotos", 2);
|
|
58028
58124
|
|
|
58029
58125
|
// src/v2/dtos/SearchJobWorkOrder.ts
|
|
58030
|
-
import { Expose as
|
|
58031
|
-
import { IsDefined as
|
|
58126
|
+
import { Expose as Expose878, Transform as Transform141 } from "class-transformer";
|
|
58127
|
+
import { IsDefined as IsDefined359, IsString as IsString726, Matches as Matches9, MinLength as MinLength65 } from "class-validator";
|
|
58032
58128
|
var SearchJobWorkOrderDto = class {
|
|
58033
58129
|
OrdenTrabajo = "";
|
|
58034
58130
|
};
|
|
58035
58131
|
__decorateClass([
|
|
58036
|
-
|
|
58037
|
-
|
|
58038
|
-
|
|
58132
|
+
Transform141(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58133
|
+
IsDefined359({ message: "Ingrese una Orden de Trabajo" }),
|
|
58134
|
+
IsString726({ message: "Ingrese una Orden de Trabajo" }),
|
|
58039
58135
|
MinLength65(5, { message: "Orden de Trabajo debe tener al menos 5 caracteres" }),
|
|
58040
58136
|
Matches9(/^[a-zA-Z0-9\s-]+$/, { message: "Orden de Trabajo solo puede contener letras, n\xFAmeros, guiones y espacios" }),
|
|
58041
|
-
|
|
58137
|
+
Expose878()
|
|
58042
58138
|
], SearchJobWorkOrderDto.prototype, "OrdenTrabajo", 2);
|
|
58043
58139
|
|
|
58044
58140
|
// src/v2/dtos/SearchDateRange.ts
|
|
58045
|
-
import { Expose as
|
|
58046
|
-
import { IsDateString, IsNotEmpty as
|
|
58141
|
+
import { Expose as Expose879 } from "class-transformer";
|
|
58142
|
+
import { IsDateString, IsNotEmpty as IsNotEmpty489, registerDecorator as registerDecorator3 } from "class-validator";
|
|
58047
58143
|
function IsNotAfter(property, validationOptions) {
|
|
58048
58144
|
return function(object, propertyName) {
|
|
58049
58145
|
registerDecorator3({
|
|
@@ -58086,30 +58182,30 @@ var SearchDateRangeDto = class {
|
|
|
58086
58182
|
to;
|
|
58087
58183
|
};
|
|
58088
58184
|
__decorateClass([
|
|
58089
|
-
|
|
58185
|
+
IsNotEmpty489({ message: "La fecha desde es requerida" }),
|
|
58090
58186
|
IsDateString({}, { message: "La fecha desde no es v\xE1lida" }),
|
|
58091
58187
|
IsNotAfter("to", { message: "La fecha desde no puede ser mayor a la fecha hasta" }),
|
|
58092
|
-
|
|
58188
|
+
Expose879()
|
|
58093
58189
|
], SearchDateRangeDto.prototype, "from", 2);
|
|
58094
58190
|
__decorateClass([
|
|
58095
|
-
|
|
58191
|
+
IsNotEmpty489({ message: "La fecha hasta es requerida" }),
|
|
58096
58192
|
IsDateString({}, { message: "La fecha hasta no es v\xE1lida" }),
|
|
58097
58193
|
MaxDaysFrom("from", MAX_SEARCH_RANGE_DAYS, { message: `El rango no puede superar las 2 semanas (${MAX_SEARCH_RANGE_DAYS} d\xEDas)` }),
|
|
58098
|
-
|
|
58194
|
+
Expose879()
|
|
58099
58195
|
], SearchDateRangeDto.prototype, "to", 2);
|
|
58100
58196
|
|
|
58101
58197
|
// src/v2/dtos/ReportAutoInventory.ts
|
|
58102
|
-
import { Expose as
|
|
58198
|
+
import { Expose as Expose880, Type as Type535 } from "class-transformer";
|
|
58103
58199
|
import {
|
|
58104
58200
|
ArrayMinSize as ArrayMinSize9,
|
|
58105
58201
|
IsArray as IsArray283,
|
|
58106
|
-
IsDefined as
|
|
58107
|
-
IsInt as
|
|
58108
|
-
IsNumber as
|
|
58109
|
-
IsString as
|
|
58202
|
+
IsDefined as IsDefined360,
|
|
58203
|
+
IsInt as IsInt10,
|
|
58204
|
+
IsNumber as IsNumber553,
|
|
58205
|
+
IsString as IsString727,
|
|
58110
58206
|
MaxLength as MaxLength18,
|
|
58111
|
-
Min as
|
|
58112
|
-
ValidateNested as
|
|
58207
|
+
Min as Min367,
|
|
58208
|
+
ValidateNested as ValidateNested461
|
|
58113
58209
|
} from "class-validator";
|
|
58114
58210
|
var ReportAutoInventoryLineDto = class {
|
|
58115
58211
|
ID_StockPersonal;
|
|
@@ -58119,35 +58215,35 @@ var ReportAutoInventoryLineDto = class {
|
|
|
58119
58215
|
Files = [];
|
|
58120
58216
|
};
|
|
58121
58217
|
__decorateClass([
|
|
58122
|
-
|
|
58123
|
-
|
|
58124
|
-
|
|
58125
|
-
|
|
58126
|
-
|
|
58218
|
+
IsDefined360({ message: "La l\xEDnea de stock es requerida" }),
|
|
58219
|
+
Type535(() => Number),
|
|
58220
|
+
IsInt10({ message: "La l\xEDnea de stock no es v\xE1lida" }),
|
|
58221
|
+
Min367(1, { message: "La l\xEDnea de stock no es v\xE1lida" }),
|
|
58222
|
+
Expose880()
|
|
58127
58223
|
], ReportAutoInventoryLineDto.prototype, "ID_StockPersonal", 2);
|
|
58128
58224
|
__decorateClass([
|
|
58129
|
-
|
|
58130
|
-
|
|
58131
|
-
|
|
58132
|
-
|
|
58133
|
-
|
|
58225
|
+
IsDefined360({ message: "La cantidad es requerida" }),
|
|
58226
|
+
Type535(() => Number),
|
|
58227
|
+
IsNumber553({ maxDecimalPlaces: 2 }, { message: "La cantidad admite hasta 2 decimales" }),
|
|
58228
|
+
Min367(0, { message: "Ingrese una cantidad mayor o igual a 0" }),
|
|
58229
|
+
Expose880()
|
|
58134
58230
|
], ReportAutoInventoryLineDto.prototype, "Cantidad", 2);
|
|
58135
58231
|
__decorateClass([
|
|
58136
|
-
|
|
58232
|
+
IsString727({ message: "La observaci\xF3n debe ser texto" }),
|
|
58137
58233
|
MaxLength18(200, { message: "La observaci\xF3n admite hasta 200 caracteres" }),
|
|
58138
|
-
|
|
58234
|
+
Expose880()
|
|
58139
58235
|
], ReportAutoInventoryLineDto.prototype, "Observacion", 2);
|
|
58140
58236
|
__decorateClass([
|
|
58141
58237
|
IsArray283(),
|
|
58142
|
-
|
|
58143
|
-
|
|
58144
|
-
|
|
58238
|
+
ValidateNested461({ each: true }),
|
|
58239
|
+
Type535(() => EquiposAIDTO),
|
|
58240
|
+
Expose880()
|
|
58145
58241
|
], ReportAutoInventoryLineDto.prototype, "Equipos", 2);
|
|
58146
58242
|
__decorateClass([
|
|
58147
58243
|
IsArray283(),
|
|
58148
|
-
|
|
58149
|
-
|
|
58150
|
-
|
|
58244
|
+
ValidateNested461({ each: true }),
|
|
58245
|
+
Type535(() => FilesDocDTO),
|
|
58246
|
+
Expose880()
|
|
58151
58247
|
], ReportAutoInventoryLineDto.prototype, "Files", 2);
|
|
58152
58248
|
var ReportAutoInventoryDto = class {
|
|
58153
58249
|
Lineas = [];
|
|
@@ -58155,13 +58251,13 @@ var ReportAutoInventoryDto = class {
|
|
|
58155
58251
|
__decorateClass([
|
|
58156
58252
|
IsArray283(),
|
|
58157
58253
|
ArrayMinSize9(1, { message: "No hay l\xEDneas para reportar" }),
|
|
58158
|
-
|
|
58159
|
-
|
|
58160
|
-
|
|
58254
|
+
ValidateNested461({ each: true }),
|
|
58255
|
+
Type535(() => ReportAutoInventoryLineDto),
|
|
58256
|
+
Expose880()
|
|
58161
58257
|
], ReportAutoInventoryDto.prototype, "Lineas", 2);
|
|
58162
58258
|
|
|
58163
58259
|
// src/v2/dtos/AutoInventoryStatus.ts
|
|
58164
|
-
import { Expose as
|
|
58260
|
+
import { Expose as Expose881 } from "class-transformer";
|
|
58165
58261
|
var AutoInventoryStatusDto = class {
|
|
58166
58262
|
KeyFecha;
|
|
58167
58263
|
mustReport;
|
|
@@ -58169,38 +58265,38 @@ var AutoInventoryStatusDto = class {
|
|
|
58169
58265
|
schedule;
|
|
58170
58266
|
};
|
|
58171
58267
|
__decorateClass([
|
|
58172
|
-
|
|
58268
|
+
Expose881()
|
|
58173
58269
|
], AutoInventoryStatusDto.prototype, "KeyFecha", 2);
|
|
58174
58270
|
__decorateClass([
|
|
58175
|
-
|
|
58271
|
+
Expose881()
|
|
58176
58272
|
], AutoInventoryStatusDto.prototype, "mustReport", 2);
|
|
58177
58273
|
__decorateClass([
|
|
58178
|
-
|
|
58274
|
+
Expose881()
|
|
58179
58275
|
], AutoInventoryStatusDto.prototype, "inSchedule", 2);
|
|
58180
58276
|
__decorateClass([
|
|
58181
|
-
|
|
58277
|
+
Expose881()
|
|
58182
58278
|
], AutoInventoryStatusDto.prototype, "schedule", 2);
|
|
58183
58279
|
|
|
58184
58280
|
// src/v2/entities/Delegation.ts
|
|
58185
|
-
import { Expose as
|
|
58186
|
-
import { IsDefined as
|
|
58281
|
+
import { Expose as Expose883 } from "class-transformer";
|
|
58282
|
+
import { IsDefined as IsDefined362, IsNotEmpty as IsNotEmpty490, IsString as IsString728, IsUUID as IsUUID42 } from "class-validator";
|
|
58187
58283
|
|
|
58188
58284
|
// src/v2/entities/Base.ts
|
|
58189
|
-
import { Expose as
|
|
58190
|
-
import { IsBoolean as IsBoolean89, IsDefined as
|
|
58285
|
+
import { Expose as Expose882 } from "class-transformer";
|
|
58286
|
+
import { IsBoolean as IsBoolean89, IsDefined as IsDefined361, IsUUID as IsUUID41 } from "class-validator";
|
|
58191
58287
|
var BaseEntity = class {
|
|
58192
58288
|
_id;
|
|
58193
58289
|
active;
|
|
58194
58290
|
};
|
|
58195
58291
|
__decorateClass([
|
|
58196
|
-
|
|
58292
|
+
IsDefined361({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
58197
58293
|
IsUUID41("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
58198
|
-
|
|
58294
|
+
Expose882()
|
|
58199
58295
|
], BaseEntity.prototype, "_id", 2);
|
|
58200
58296
|
__decorateClass([
|
|
58201
|
-
|
|
58297
|
+
IsDefined361({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
58202
58298
|
IsBoolean89({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
58203
|
-
|
|
58299
|
+
Expose882()
|
|
58204
58300
|
], BaseEntity.prototype, "active", 2);
|
|
58205
58301
|
|
|
58206
58302
|
// src/v2/entities/Delegation.ts
|
|
@@ -58210,26 +58306,26 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
58210
58306
|
name;
|
|
58211
58307
|
};
|
|
58212
58308
|
__decorateClass([
|
|
58213
|
-
|
|
58309
|
+
IsDefined362({ message: "El campo pais es obligatorio" }),
|
|
58214
58310
|
IsUUID42("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
58215
|
-
|
|
58311
|
+
Expose883()
|
|
58216
58312
|
], DelegationEntity.prototype, "countryId", 2);
|
|
58217
58313
|
__decorateClass([
|
|
58218
|
-
|
|
58219
|
-
|
|
58220
|
-
|
|
58221
|
-
|
|
58314
|
+
IsDefined362({ message: "El campo c\xF3digo es obligatorio." }),
|
|
58315
|
+
IsString728({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
58316
|
+
IsNotEmpty490({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
58317
|
+
Expose883()
|
|
58222
58318
|
], DelegationEntity.prototype, "code", 2);
|
|
58223
58319
|
__decorateClass([
|
|
58224
|
-
|
|
58225
|
-
|
|
58226
|
-
|
|
58227
|
-
|
|
58320
|
+
IsDefined362({ message: "El campo nombre es obligatorio." }),
|
|
58321
|
+
IsString728({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
58322
|
+
IsNotEmpty490({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
58323
|
+
Expose883()
|
|
58228
58324
|
], DelegationEntity.prototype, "name", 2);
|
|
58229
58325
|
|
|
58230
58326
|
// src/v2/entities/User.ts
|
|
58231
|
-
import { IsArray as IsArray284, IsBoolean as IsBoolean90, IsDefined as
|
|
58232
|
-
import { Expose as
|
|
58327
|
+
import { IsArray as IsArray284, IsBoolean as IsBoolean90, IsDefined as IsDefined363, IsEmail as IsEmail14, IsString as IsString729, IsUUID as IsUUID43, ValidateNested as ValidateNested462 } from "class-validator";
|
|
58328
|
+
import { Expose as Expose884, Transform as Transform142, Type as Type536 } from "class-transformer";
|
|
58233
58329
|
var UserEntity = class extends BaseEntity {
|
|
58234
58330
|
email;
|
|
58235
58331
|
password;
|
|
@@ -58244,126 +58340,126 @@ var UserEntity = class extends BaseEntity {
|
|
|
58244
58340
|
resourceSystem;
|
|
58245
58341
|
};
|
|
58246
58342
|
__decorateClass([
|
|
58247
|
-
|
|
58343
|
+
IsDefined363({ message: "El correo es requerido" }),
|
|
58248
58344
|
IsEmail14({}, { message: "El correo es invalido" }),
|
|
58249
|
-
|
|
58250
|
-
|
|
58345
|
+
Transform142(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
58346
|
+
Expose884()
|
|
58251
58347
|
], UserEntity.prototype, "email", 2);
|
|
58252
58348
|
__decorateClass([
|
|
58253
|
-
|
|
58254
|
-
|
|
58255
|
-
|
|
58256
|
-
|
|
58349
|
+
Transform142(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58350
|
+
IsDefined363({ message: "La contrase\xF1a es requerida" }),
|
|
58351
|
+
IsString729({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
58352
|
+
Expose884()
|
|
58257
58353
|
], UserEntity.prototype, "password", 2);
|
|
58258
58354
|
__decorateClass([
|
|
58259
|
-
|
|
58260
|
-
|
|
58261
|
-
|
|
58262
|
-
|
|
58355
|
+
Transform142(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58356
|
+
IsDefined363({ message: "El apellido paterno es requerido" }),
|
|
58357
|
+
IsString729({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
58358
|
+
Expose884()
|
|
58263
58359
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
58264
58360
|
__decorateClass([
|
|
58265
|
-
|
|
58266
|
-
|
|
58267
|
-
|
|
58268
|
-
|
|
58361
|
+
Transform142(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58362
|
+
IsDefined363({ message: "El apellido materno es requerido" }),
|
|
58363
|
+
IsString729({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
58364
|
+
Expose884()
|
|
58269
58365
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
58270
58366
|
__decorateClass([
|
|
58271
|
-
|
|
58272
|
-
|
|
58273
|
-
|
|
58274
|
-
|
|
58367
|
+
Transform142(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58368
|
+
IsDefined363({ message: "El nombre es requerido" }),
|
|
58369
|
+
IsString729({ message: "El nombre debe ser una cadena de texto" }),
|
|
58370
|
+
Expose884()
|
|
58275
58371
|
], UserEntity.prototype, "firstNames", 2);
|
|
58276
58372
|
__decorateClass([
|
|
58277
|
-
|
|
58278
|
-
|
|
58279
|
-
|
|
58280
|
-
|
|
58373
|
+
Transform142(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58374
|
+
IsDefined363({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
58375
|
+
IsString729({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
58376
|
+
Expose884()
|
|
58281
58377
|
], UserEntity.prototype, "identification", 2);
|
|
58282
58378
|
__decorateClass([
|
|
58283
|
-
|
|
58379
|
+
IsDefined363({ message: "El campo empresas es requerido" }),
|
|
58284
58380
|
IsArray284({ message: "El campo empresas debe ser un array" }),
|
|
58285
|
-
|
|
58286
|
-
|
|
58287
|
-
|
|
58381
|
+
Type536(() => CompanyDto),
|
|
58382
|
+
ValidateNested462({ each: true }),
|
|
58383
|
+
Expose884()
|
|
58288
58384
|
], UserEntity.prototype, "companies", 2);
|
|
58289
58385
|
__decorateClass([
|
|
58290
|
-
|
|
58386
|
+
IsDefined363({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
58291
58387
|
IsArray284({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
58292
58388
|
IsUUID43("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
58293
|
-
|
|
58389
|
+
Expose884()
|
|
58294
58390
|
], UserEntity.prototype, "delegationIds", 2);
|
|
58295
58391
|
__decorateClass([
|
|
58296
|
-
|
|
58392
|
+
IsDefined363({ message: 'La propiedad "root" es obligatoria.' }),
|
|
58297
58393
|
IsBoolean90({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
58298
|
-
|
|
58394
|
+
Expose884()
|
|
58299
58395
|
], UserEntity.prototype, "root", 2);
|
|
58300
58396
|
__decorateClass([
|
|
58301
|
-
|
|
58397
|
+
IsDefined363({ message: "El campo Perfiles es obligatorio" }),
|
|
58302
58398
|
IsArray284({ message: "El campo Perfiles debe ser un array" }),
|
|
58303
58399
|
IsUUID43("4", { each: true, message: "Cada perfil debe ser un UUID v4 v\xE1lido." }),
|
|
58304
|
-
|
|
58400
|
+
Expose884()
|
|
58305
58401
|
], UserEntity.prototype, "profileIds", 2);
|
|
58306
58402
|
__decorateClass([
|
|
58307
|
-
|
|
58308
|
-
|
|
58309
|
-
|
|
58403
|
+
IsDefined363({ message: "Resurso sistema es obligatoria" }),
|
|
58404
|
+
Type536(() => ResourceSystemDto),
|
|
58405
|
+
ValidateNested462({ each: true }),
|
|
58310
58406
|
IsArray284({ message: "Recurso sistema debe ser un array" }),
|
|
58311
|
-
|
|
58407
|
+
Expose884()
|
|
58312
58408
|
], UserEntity.prototype, "resourceSystem", 2);
|
|
58313
58409
|
|
|
58314
58410
|
// src/v2/entities/Profile.ts
|
|
58315
|
-
import { Expose as
|
|
58316
|
-
import { IsArray as IsArray285, IsDefined as
|
|
58411
|
+
import { Expose as Expose885, Transform as Transform143 } from "class-transformer";
|
|
58412
|
+
import { IsArray as IsArray285, IsDefined as IsDefined364, IsString as IsString730, Length as Length355, MinLength as MinLength66 } from "class-validator";
|
|
58317
58413
|
var ProfileEntity = class extends BaseEntity {
|
|
58318
58414
|
name;
|
|
58319
58415
|
description;
|
|
58320
58416
|
systemOptions;
|
|
58321
58417
|
};
|
|
58322
58418
|
__decorateClass([
|
|
58323
|
-
|
|
58324
|
-
|
|
58325
|
-
|
|
58419
|
+
IsDefined364({ message: "El campo nombre es requerido" }),
|
|
58420
|
+
Transform143(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58421
|
+
IsString730({ message: "debe ser una cadena de texto" }),
|
|
58326
58422
|
Length355(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
58327
|
-
|
|
58423
|
+
Expose885()
|
|
58328
58424
|
], ProfileEntity.prototype, "name", 2);
|
|
58329
58425
|
__decorateClass([
|
|
58330
|
-
|
|
58331
|
-
|
|
58332
|
-
|
|
58426
|
+
IsDefined364({ message: "El campo descripci\xF3n es requerido" }),
|
|
58427
|
+
Transform143(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
58428
|
+
IsString730({ message: "debe ser una cadena de texto" }),
|
|
58333
58429
|
Length355(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
58334
|
-
|
|
58430
|
+
Expose885()
|
|
58335
58431
|
], ProfileEntity.prototype, "description", 2);
|
|
58336
58432
|
__decorateClass([
|
|
58337
|
-
|
|
58433
|
+
IsDefined364({ message: "El campo opciones de sistema es requerido" }),
|
|
58338
58434
|
IsArray285({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
58339
|
-
|
|
58435
|
+
IsString730({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
58340
58436
|
MinLength66(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
58341
|
-
|
|
58437
|
+
Expose885()
|
|
58342
58438
|
], ProfileEntity.prototype, "systemOptions", 2);
|
|
58343
58439
|
|
|
58344
58440
|
// src/v2/entities/Country.ts
|
|
58345
|
-
import { Expose as
|
|
58346
|
-
import { IsDefined as
|
|
58441
|
+
import { Expose as Expose886 } from "class-transformer";
|
|
58442
|
+
import { IsDefined as IsDefined365, IsNotEmpty as IsNotEmpty491, IsString as IsString731 } from "class-validator";
|
|
58347
58443
|
var CountryEntity = class extends BaseEntity {
|
|
58348
58444
|
code;
|
|
58349
58445
|
name;
|
|
58350
58446
|
};
|
|
58351
58447
|
__decorateClass([
|
|
58352
|
-
|
|
58353
|
-
|
|
58354
|
-
|
|
58355
|
-
|
|
58448
|
+
IsDefined365({ message: "El campo c\xF3digo es obligatorio." }),
|
|
58449
|
+
IsString731({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
58450
|
+
IsNotEmpty491({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
58451
|
+
Expose886()
|
|
58356
58452
|
], CountryEntity.prototype, "code", 2);
|
|
58357
58453
|
__decorateClass([
|
|
58358
|
-
|
|
58359
|
-
|
|
58360
|
-
|
|
58361
|
-
|
|
58454
|
+
IsDefined365({ message: "El campo nombre es obligatorio." }),
|
|
58455
|
+
IsString731({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
58456
|
+
IsNotEmpty491({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
58457
|
+
Expose886()
|
|
58362
58458
|
], CountryEntity.prototype, "name", 2);
|
|
58363
58459
|
|
|
58364
58460
|
// src/v2/entities/Company.ts
|
|
58365
|
-
import { Expose as
|
|
58366
|
-
import { IsArray as IsArray286, IsBoolean as IsBoolean91, IsDefined as
|
|
58461
|
+
import { Expose as Expose887 } from "class-transformer";
|
|
58462
|
+
import { IsArray as IsArray286, IsBoolean as IsBoolean91, IsDefined as IsDefined366, IsEmail as IsEmail15, IsEnum as IsEnum68, IsNotEmpty as IsNotEmpty492, IsString as IsString732, IsUUID as IsUUID44 } from "class-validator";
|
|
58367
58463
|
var CompanyEntity = class extends BaseEntity {
|
|
58368
58464
|
companyType;
|
|
58369
58465
|
identification;
|
|
@@ -58377,87 +58473,87 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
58377
58473
|
countryId;
|
|
58378
58474
|
};
|
|
58379
58475
|
__decorateClass([
|
|
58380
|
-
|
|
58476
|
+
IsDefined366({ message: "El tipo de empresa es requerido" }),
|
|
58381
58477
|
IsEnum68(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
58382
|
-
|
|
58478
|
+
Expose887()
|
|
58383
58479
|
], CompanyEntity.prototype, "companyType", 2);
|
|
58384
58480
|
__decorateClass([
|
|
58385
|
-
|
|
58386
|
-
|
|
58387
|
-
|
|
58388
|
-
|
|
58481
|
+
IsDefined366({ message: "La identificaci\xF3n es requerida" }),
|
|
58482
|
+
IsString732({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
58483
|
+
IsNotEmpty492({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
58484
|
+
Expose887()
|
|
58389
58485
|
], CompanyEntity.prototype, "identification", 2);
|
|
58390
58486
|
__decorateClass([
|
|
58391
|
-
|
|
58392
|
-
|
|
58393
|
-
|
|
58394
|
-
|
|
58487
|
+
IsDefined366({ message: "El c\xF3digo es requerido" }),
|
|
58488
|
+
IsString732({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
58489
|
+
IsNotEmpty492({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
58490
|
+
Expose887()
|
|
58395
58491
|
], CompanyEntity.prototype, "code", 2);
|
|
58396
58492
|
__decorateClass([
|
|
58397
|
-
|
|
58398
|
-
|
|
58399
|
-
|
|
58400
|
-
|
|
58493
|
+
IsDefined366({ message: "El nombre legal es requerido" }),
|
|
58494
|
+
IsString732({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
58495
|
+
IsNotEmpty492({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
58496
|
+
Expose887()
|
|
58401
58497
|
], CompanyEntity.prototype, "legalName", 2);
|
|
58402
58498
|
__decorateClass([
|
|
58403
|
-
|
|
58404
|
-
|
|
58405
|
-
|
|
58406
|
-
|
|
58499
|
+
IsDefined366({ message: "El nombre comercial es requerido" }),
|
|
58500
|
+
IsString732({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
58501
|
+
IsNotEmpty492({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
58502
|
+
Expose887()
|
|
58407
58503
|
], CompanyEntity.prototype, "tradeName", 2);
|
|
58408
58504
|
__decorateClass([
|
|
58409
|
-
|
|
58505
|
+
IsDefined366({ message: "La propiedad es propia es requerida" }),
|
|
58410
58506
|
IsBoolean91({ message: "La propiedad es propia debe ser un booleano" }),
|
|
58411
|
-
|
|
58507
|
+
Expose887()
|
|
58412
58508
|
], CompanyEntity.prototype, "isOwn", 2);
|
|
58413
58509
|
__decorateClass([
|
|
58414
|
-
|
|
58415
|
-
|
|
58416
|
-
|
|
58417
|
-
|
|
58510
|
+
IsDefined366({ message: "La direcci\xF3n es requerida" }),
|
|
58511
|
+
IsString732({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
58512
|
+
IsNotEmpty492({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
58513
|
+
Expose887()
|
|
58418
58514
|
], CompanyEntity.prototype, "address", 2);
|
|
58419
58515
|
__decorateClass([
|
|
58420
|
-
|
|
58516
|
+
IsDefined366({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
58421
58517
|
IsArray286({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
58422
58518
|
IsEmail15({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
58423
|
-
|
|
58519
|
+
Expose887()
|
|
58424
58520
|
], CompanyEntity.prototype, "emails", 2);
|
|
58425
58521
|
__decorateClass([
|
|
58426
|
-
|
|
58522
|
+
IsDefined366({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
58427
58523
|
IsArray286({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
58428
|
-
|
|
58429
|
-
|
|
58430
|
-
|
|
58524
|
+
IsString732({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
58525
|
+
IsNotEmpty492({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
58526
|
+
Expose887()
|
|
58431
58527
|
], CompanyEntity.prototype, "phones", 2);
|
|
58432
58528
|
__decorateClass([
|
|
58433
|
-
|
|
58529
|
+
IsDefined366({ message: "El campo pa\xEDs es requerido" }),
|
|
58434
58530
|
IsUUID44("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
58435
|
-
|
|
58531
|
+
Expose887()
|
|
58436
58532
|
], CompanyEntity.prototype, "countryId", 2);
|
|
58437
58533
|
|
|
58438
58534
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
58439
|
-
import { Expose as
|
|
58440
|
-
import { IsNumber as
|
|
58535
|
+
import { Expose as Expose889, Type as Type537 } from "class-transformer";
|
|
58536
|
+
import { IsNumber as IsNumber554, IsString as IsString734, ValidateNested as ValidateNested463, IsArray as IsArray287 } from "class-validator";
|
|
58441
58537
|
|
|
58442
58538
|
// src/v2/shared-dto/ThemeCountryManualDTO.ts
|
|
58443
|
-
import { Expose as
|
|
58444
|
-
import { IsString as
|
|
58539
|
+
import { Expose as Expose888 } from "class-transformer";
|
|
58540
|
+
import { IsString as IsString733 } from "class-validator";
|
|
58445
58541
|
var ThemeCountryManualDTO2 = class {
|
|
58446
58542
|
Codigo = "";
|
|
58447
58543
|
Delegacion = "";
|
|
58448
58544
|
Ruta = "";
|
|
58449
58545
|
};
|
|
58450
58546
|
__decorateClass([
|
|
58451
|
-
|
|
58452
|
-
|
|
58547
|
+
IsString733(),
|
|
58548
|
+
Expose888()
|
|
58453
58549
|
], ThemeCountryManualDTO2.prototype, "Codigo", 2);
|
|
58454
58550
|
__decorateClass([
|
|
58455
|
-
|
|
58456
|
-
|
|
58551
|
+
IsString733(),
|
|
58552
|
+
Expose888()
|
|
58457
58553
|
], ThemeCountryManualDTO2.prototype, "Delegacion", 2);
|
|
58458
58554
|
__decorateClass([
|
|
58459
|
-
|
|
58460
|
-
|
|
58555
|
+
IsString733(),
|
|
58556
|
+
Expose888()
|
|
58461
58557
|
], ThemeCountryManualDTO2.prototype, "Ruta", 2);
|
|
58462
58558
|
|
|
58463
58559
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
@@ -58472,46 +58568,46 @@ var ThemeConfigCountryEntity = class extends BaseEntity {
|
|
|
58472
58568
|
Pais = new CodigoNombreDTO4();
|
|
58473
58569
|
};
|
|
58474
58570
|
__decorateClass([
|
|
58475
|
-
|
|
58476
|
-
|
|
58571
|
+
IsNumber554(),
|
|
58572
|
+
Expose889()
|
|
58477
58573
|
], ThemeConfigCountryEntity.prototype, "ID_TemeCountry", 2);
|
|
58478
58574
|
__decorateClass([
|
|
58479
|
-
|
|
58480
|
-
|
|
58575
|
+
IsString734(),
|
|
58576
|
+
Expose889()
|
|
58481
58577
|
], ThemeConfigCountryEntity.prototype, "Color", 2);
|
|
58482
58578
|
__decorateClass([
|
|
58483
|
-
|
|
58484
|
-
|
|
58579
|
+
IsString734(),
|
|
58580
|
+
Expose889()
|
|
58485
58581
|
], ThemeConfigCountryEntity.prototype, "TextFooterLeft", 2);
|
|
58486
58582
|
__decorateClass([
|
|
58487
|
-
|
|
58488
|
-
|
|
58583
|
+
IsString734(),
|
|
58584
|
+
Expose889()
|
|
58489
58585
|
], ThemeConfigCountryEntity.prototype, "TextFooterRight", 2);
|
|
58490
58586
|
__decorateClass([
|
|
58491
|
-
|
|
58492
|
-
|
|
58493
|
-
|
|
58587
|
+
ValidateNested463(),
|
|
58588
|
+
Type537(() => ImgLogoNavBarDTO2),
|
|
58589
|
+
Expose889()
|
|
58494
58590
|
], ThemeConfigCountryEntity.prototype, "ImgLogoNavBar", 2);
|
|
58495
58591
|
__decorateClass([
|
|
58496
58592
|
IsArray287(),
|
|
58497
|
-
|
|
58498
|
-
|
|
58499
|
-
|
|
58593
|
+
Type537(() => ThemeCountryManualDTO2),
|
|
58594
|
+
ValidateNested463({ each: true }),
|
|
58595
|
+
Expose889()
|
|
58500
58596
|
], ThemeConfigCountryEntity.prototype, "Manuales", 2);
|
|
58501
58597
|
__decorateClass([
|
|
58502
|
-
|
|
58503
|
-
|
|
58504
|
-
|
|
58598
|
+
ValidateNested463(),
|
|
58599
|
+
Type537(() => EstadoDTO2),
|
|
58600
|
+
Expose889()
|
|
58505
58601
|
], ThemeConfigCountryEntity.prototype, "Estado", 2);
|
|
58506
58602
|
__decorateClass([
|
|
58507
|
-
|
|
58508
|
-
|
|
58509
|
-
|
|
58603
|
+
ValidateNested463(),
|
|
58604
|
+
Type537(() => CodigoNombreDTO4),
|
|
58605
|
+
Expose889()
|
|
58510
58606
|
], ThemeConfigCountryEntity.prototype, "Pais", 2);
|
|
58511
58607
|
|
|
58512
58608
|
// src/v2/entities/ThemeConfigUser.ts
|
|
58513
|
-
import { Expose as
|
|
58514
|
-
import { IsNumber as
|
|
58609
|
+
import { Expose as Expose890, Type as Type538 } from "class-transformer";
|
|
58610
|
+
import { IsNumber as IsNumber555, IsString as IsString735, ValidateNested as ValidateNested464, IsArray as IsArray288, IsOptional as IsOptional103, IsDefined as IsDefined367, IsBoolean as IsBoolean92 } from "class-validator";
|
|
58515
58611
|
var ThemeConfigUserEntity = class {
|
|
58516
58612
|
_id;
|
|
58517
58613
|
active = true;
|
|
@@ -58523,42 +58619,42 @@ var ThemeConfigUserEntity = class {
|
|
|
58523
58619
|
Favoritos = [];
|
|
58524
58620
|
};
|
|
58525
58621
|
__decorateClass([
|
|
58526
|
-
|
|
58527
|
-
|
|
58622
|
+
IsOptional103(),
|
|
58623
|
+
Expose890()
|
|
58528
58624
|
], ThemeConfigUserEntity.prototype, "_id", 2);
|
|
58529
58625
|
__decorateClass([
|
|
58530
|
-
|
|
58626
|
+
IsDefined367({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
58531
58627
|
IsBoolean92({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
58532
|
-
|
|
58628
|
+
Expose890()
|
|
58533
58629
|
], ThemeConfigUserEntity.prototype, "active", 2);
|
|
58534
58630
|
__decorateClass([
|
|
58535
|
-
|
|
58536
|
-
|
|
58631
|
+
IsNumber555(),
|
|
58632
|
+
Expose890()
|
|
58537
58633
|
], ThemeConfigUserEntity.prototype, "ID_Theme", 2);
|
|
58538
58634
|
__decorateClass([
|
|
58539
|
-
|
|
58540
|
-
|
|
58635
|
+
IsString735(),
|
|
58636
|
+
Expose890()
|
|
58541
58637
|
], ThemeConfigUserEntity.prototype, "Identificacion", 2);
|
|
58542
58638
|
__decorateClass([
|
|
58543
|
-
|
|
58544
|
-
|
|
58639
|
+
IsString735(),
|
|
58640
|
+
Expose890()
|
|
58545
58641
|
], ThemeConfigUserEntity.prototype, "Color", 2);
|
|
58546
58642
|
__decorateClass([
|
|
58547
|
-
|
|
58548
|
-
|
|
58549
|
-
|
|
58643
|
+
IsOptional103(),
|
|
58644
|
+
IsString735(),
|
|
58645
|
+
Expose890()
|
|
58550
58646
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
58551
58647
|
__decorateClass([
|
|
58552
|
-
|
|
58553
|
-
|
|
58554
|
-
|
|
58648
|
+
ValidateNested464(),
|
|
58649
|
+
Type538(() => EstadoDTO2),
|
|
58650
|
+
Expose890()
|
|
58555
58651
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
58556
58652
|
__decorateClass([
|
|
58557
|
-
|
|
58653
|
+
IsOptional103(),
|
|
58558
58654
|
IsArray288(),
|
|
58559
|
-
|
|
58560
|
-
|
|
58561
|
-
|
|
58655
|
+
ValidateNested464({ each: true }),
|
|
58656
|
+
Type538(() => FavoritoDTO2),
|
|
58657
|
+
Expose890()
|
|
58562
58658
|
], ThemeConfigUserEntity.prototype, "Favoritos", 2);
|
|
58563
58659
|
|
|
58564
58660
|
// src/v2/utils/validateCustom.ts
|
|
@@ -58691,6 +58787,7 @@ export {
|
|
|
58691
58787
|
AsignacionGomDTO,
|
|
58692
58788
|
AsignacionGomDTO_Old,
|
|
58693
58789
|
AsignacionRegularizarDTO,
|
|
58790
|
+
AsignarOrdenVeredaDTO,
|
|
58694
58791
|
AsignarVeredaDTO,
|
|
58695
58792
|
AsistenciaCuadrillaENTITY,
|
|
58696
58793
|
AsistenciaENTITY,
|
|
@@ -58875,6 +58972,8 @@ export {
|
|
|
58875
58972
|
DatosTransportistaChileDTO,
|
|
58876
58973
|
DatosTransportistaDTO,
|
|
58877
58974
|
DatosUnidadObraMaterialDTO,
|
|
58975
|
+
DatosVeredaBodyDTO,
|
|
58976
|
+
DatosVeredaDTO,
|
|
58878
58977
|
DelegacionDTO,
|
|
58879
58978
|
DelegacionDto,
|
|
58880
58979
|
DelegacionENTITY,
|
|
@@ -59093,6 +59192,7 @@ export {
|
|
|
59093
59192
|
KeyDTO,
|
|
59094
59193
|
KeyIntegracionENTITY,
|
|
59095
59194
|
KitConsumoMaterialENTITY,
|
|
59195
|
+
LIMITES_PANOS_VEREDA,
|
|
59096
59196
|
LiberacionDePagosAlemaniaENTITY,
|
|
59097
59197
|
LiquidacionBtAlpPluzOrder2DTO,
|
|
59098
59198
|
LiquidadaTOAENTITY,
|
|
@@ -59183,6 +59283,7 @@ export {
|
|
|
59183
59283
|
NombreDescripcionDTO,
|
|
59184
59284
|
NotasDTO,
|
|
59185
59285
|
NotificacionesENTITY,
|
|
59286
|
+
ORIGENES_ASIGNACION_VEREDA,
|
|
59186
59287
|
OTBYESPECIALIDADGEMEINDEENTITY,
|
|
59187
59288
|
OTDTO,
|
|
59188
59289
|
OTENTITY,
|