sigo-entities 1.0.99 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +3 -19
- package/dist/index.mjs +60 -76
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -700,7 +700,6 @@ declare class EstadoInternoENTITY {
|
|
|
700
700
|
UsuarioEdicion: UsuarioEdicionDTO;
|
|
701
701
|
Anexos: Array<any>;
|
|
702
702
|
Pais: CodigoNombreDTO;
|
|
703
|
-
Bitacora: BitacoraDTO[];
|
|
704
703
|
}
|
|
705
704
|
|
|
706
705
|
declare class AgenciasDTO {
|
|
@@ -3604,7 +3603,6 @@ declare class AlmacenExtraENTITY {
|
|
|
3604
3603
|
Pais: CodigoNombreDTO;
|
|
3605
3604
|
Delegacion: CodigoNombreDTO;
|
|
3606
3605
|
Estado: EstadoDTO;
|
|
3607
|
-
Bitacora: BitacoraDTO[];
|
|
3608
3606
|
}
|
|
3609
3607
|
|
|
3610
3608
|
declare class OptionCatalogoDTO {
|
package/dist/index.d.ts
CHANGED
|
@@ -700,7 +700,6 @@ declare class EstadoInternoENTITY {
|
|
|
700
700
|
UsuarioEdicion: UsuarioEdicionDTO;
|
|
701
701
|
Anexos: Array<any>;
|
|
702
702
|
Pais: CodigoNombreDTO;
|
|
703
|
-
Bitacora: BitacoraDTO[];
|
|
704
703
|
}
|
|
705
704
|
|
|
706
705
|
declare class AgenciasDTO {
|
|
@@ -3604,7 +3603,6 @@ declare class AlmacenExtraENTITY {
|
|
|
3604
3603
|
Pais: CodigoNombreDTO;
|
|
3605
3604
|
Delegacion: CodigoNombreDTO;
|
|
3606
3605
|
Estado: EstadoDTO;
|
|
3607
|
-
Bitacora: BitacoraDTO[];
|
|
3608
3606
|
}
|
|
3609
3607
|
|
|
3610
3608
|
declare class OptionCatalogoDTO {
|
package/dist/index.js
CHANGED
|
@@ -26,8 +26,8 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
// src/index.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var src_exports = {};
|
|
30
|
+
__export(src_exports, {
|
|
31
31
|
ActaFinalCubicacionDTO: () => ActaFinalCubicacionDTO,
|
|
32
32
|
ActaFinalCubicacionSharedDTO: () => ActaFinalCubicacionSharedDTO,
|
|
33
33
|
ActividadZonasActividadDTO: () => ActividadZonasActividadDTO,
|
|
@@ -438,7 +438,7 @@ __export(index_exports, {
|
|
|
438
438
|
validateAndFormatData: () => validateAndFormatData,
|
|
439
439
|
validateArrayBody: () => validateArrayBody
|
|
440
440
|
});
|
|
441
|
-
module.exports = __toCommonJS(
|
|
441
|
+
module.exports = __toCommonJS(src_exports);
|
|
442
442
|
var import_reflect_metadata = require("reflect-metadata");
|
|
443
443
|
|
|
444
444
|
// src/administracion/mail structure/shared/dto/destinatario-dto.ts
|
|
@@ -3857,7 +3857,6 @@ var EstadoInternoENTITY = class {
|
|
|
3857
3857
|
UsuarioEdicion = new UsuarioEdicionDTO();
|
|
3858
3858
|
Anexos = [];
|
|
3859
3859
|
Pais = new CodigoNombreDTO();
|
|
3860
|
-
Bitacora = [];
|
|
3861
3860
|
};
|
|
3862
3861
|
__decorateClass([
|
|
3863
3862
|
(0, import_class_validator86.IsNumber)({}, { message: "debe ser un numero" }),
|
|
@@ -3937,13 +3936,6 @@ __decorateClass([
|
|
|
3937
3936
|
(0, import_class_transformer85.Expose)(),
|
|
3938
3937
|
(0, import_class_validator86.ValidateNested)()
|
|
3939
3938
|
], EstadoInternoENTITY.prototype, "Pais", 2);
|
|
3940
|
-
__decorateClass([
|
|
3941
|
-
(0, import_class_transformer85.Type)(() => BitacoraDTO),
|
|
3942
|
-
(0, import_class_validator86.IsNotEmpty)({ message: "es requerido" }),
|
|
3943
|
-
(0, import_class_transformer85.Expose)(),
|
|
3944
|
-
(0, import_class_validator86.IsArray)(),
|
|
3945
|
-
(0, import_class_validator86.ValidateNested)({ each: true })
|
|
3946
|
-
], EstadoInternoENTITY.prototype, "Bitacora", 2);
|
|
3947
3939
|
|
|
3948
3940
|
// src/administracion/precio especialidad/shared/dto/agencias-dto.ts
|
|
3949
3941
|
var import_class_validator87 = require("class-validator");
|
|
@@ -19673,7 +19665,6 @@ var AlmacenExtraENTITY = class {
|
|
|
19673
19665
|
Pais = new CodigoNombreDTO();
|
|
19674
19666
|
Delegacion = new CodigoNombreDTO();
|
|
19675
19667
|
Estado = new EstadoDTO();
|
|
19676
|
-
Bitacora = [];
|
|
19677
19668
|
};
|
|
19678
19669
|
__decorateClass([
|
|
19679
19670
|
(0, import_class_transformer337.Expose)(),
|
|
@@ -19759,13 +19750,6 @@ __decorateClass([
|
|
|
19759
19750
|
(0, import_class_transformer337.Expose)(),
|
|
19760
19751
|
(0, import_class_validator338.ValidateNested)()
|
|
19761
19752
|
], AlmacenExtraENTITY.prototype, "Estado", 2);
|
|
19762
|
-
__decorateClass([
|
|
19763
|
-
(0, import_class_transformer337.Type)(() => BitacoraDTO),
|
|
19764
|
-
(0, import_class_validator338.IsNotEmpty)({ message: "es requerido" }),
|
|
19765
|
-
(0, import_class_transformer337.Expose)(),
|
|
19766
|
-
(0, import_class_validator338.IsArray)(),
|
|
19767
|
-
(0, import_class_validator338.ValidateNested)({ each: true })
|
|
19768
|
-
], AlmacenExtraENTITY.prototype, "Bitacora", 2);
|
|
19769
19753
|
|
|
19770
19754
|
// src/configuracion/personal/shared/dto/datos-area-personal-dto.ts
|
|
19771
19755
|
var import_class_transformer339 = require("class-transformer");
|
package/dist/index.mjs
CHANGED
|
@@ -3428,7 +3428,6 @@ var EstadoInternoENTITY = class {
|
|
|
3428
3428
|
UsuarioEdicion = new UsuarioEdicionDTO();
|
|
3429
3429
|
Anexos = [];
|
|
3430
3430
|
Pais = new CodigoNombreDTO();
|
|
3431
|
-
Bitacora = [];
|
|
3432
3431
|
};
|
|
3433
3432
|
__decorateClass([
|
|
3434
3433
|
IsNumber53({}, { message: "debe ser un numero" }),
|
|
@@ -3508,13 +3507,6 @@ __decorateClass([
|
|
|
3508
3507
|
Expose83(),
|
|
3509
3508
|
ValidateNested42()
|
|
3510
3509
|
], EstadoInternoENTITY.prototype, "Pais", 2);
|
|
3511
|
-
__decorateClass([
|
|
3512
|
-
Type47(() => BitacoraDTO),
|
|
3513
|
-
IsNotEmpty70({ message: "es requerido" }),
|
|
3514
|
-
Expose83(),
|
|
3515
|
-
IsArray19(),
|
|
3516
|
-
ValidateNested42({ each: true })
|
|
3517
|
-
], EstadoInternoENTITY.prototype, "Bitacora", 2);
|
|
3518
3510
|
|
|
3519
3511
|
// src/administracion/precio especialidad/shared/dto/agencias-dto.ts
|
|
3520
3512
|
import { IsArray as IsArray20, IsNotEmpty as IsNotEmpty71, IsNumber as IsNumber54, IsString as IsString69, Length as Length61, Min as Min45, ValidateNested as ValidateNested43 } from "class-validator";
|
|
@@ -19286,7 +19278,7 @@ __decorateClass([
|
|
|
19286
19278
|
|
|
19287
19279
|
// src/logistica/almacen extra/shared/index.ts
|
|
19288
19280
|
import { Expose as Expose335, Transform as Transform26, Type as Type219 } from "class-transformer";
|
|
19289
|
-
import {
|
|
19281
|
+
import { IsNotEmpty as IsNotEmpty281, IsNumber as IsNumber223, IsString as IsString272, Length as Length210, Min as Min179, ValidateNested as ValidateNested200 } from "class-validator";
|
|
19290
19282
|
var AlmacenExtraENTITY = class {
|
|
19291
19283
|
ID_AlmacenExtra = 0;
|
|
19292
19284
|
Almacen = new AlmacenLogisticaDTO();
|
|
@@ -19302,7 +19294,6 @@ var AlmacenExtraENTITY = class {
|
|
|
19302
19294
|
Pais = new CodigoNombreDTO();
|
|
19303
19295
|
Delegacion = new CodigoNombreDTO();
|
|
19304
19296
|
Estado = new EstadoDTO();
|
|
19305
|
-
Bitacora = [];
|
|
19306
19297
|
};
|
|
19307
19298
|
__decorateClass([
|
|
19308
19299
|
Expose335(),
|
|
@@ -19388,13 +19379,6 @@ __decorateClass([
|
|
|
19388
19379
|
Expose335(),
|
|
19389
19380
|
ValidateNested200()
|
|
19390
19381
|
], AlmacenExtraENTITY.prototype, "Estado", 2);
|
|
19391
|
-
__decorateClass([
|
|
19392
|
-
Type219(() => BitacoraDTO),
|
|
19393
|
-
IsNotEmpty281({ message: "es requerido" }),
|
|
19394
|
-
Expose335(),
|
|
19395
|
-
IsArray120(),
|
|
19396
|
-
ValidateNested200({ each: true })
|
|
19397
|
-
], AlmacenExtraENTITY.prototype, "Bitacora", 2);
|
|
19398
19382
|
|
|
19399
19383
|
// src/configuracion/personal/shared/dto/datos-area-personal-dto.ts
|
|
19400
19384
|
import { Expose as Expose337, Type as Type220 } from "class-transformer";
|
|
@@ -19444,7 +19428,7 @@ __decorateClass([
|
|
|
19444
19428
|
|
|
19445
19429
|
// src/configuracion/personal/shared/dto/datos-generales-personal-dto.ts
|
|
19446
19430
|
import { Expose as Expose338, Type as Type221 } from "class-transformer";
|
|
19447
|
-
import { IsArray as
|
|
19431
|
+
import { IsArray as IsArray120, IsNotEmpty as IsNotEmpty283, IsString as IsString274, Length as Length212, ValidateNested as ValidateNested202 } from "class-validator";
|
|
19448
19432
|
var DatosGeneralesPersonalDTO = class {
|
|
19449
19433
|
Direccion = "";
|
|
19450
19434
|
Genero = new OptionCatalogoDTO();
|
|
@@ -19469,7 +19453,7 @@ __decorateClass([
|
|
|
19469
19453
|
], DatosGeneralesPersonalDTO.prototype, "Email", 2);
|
|
19470
19454
|
__decorateClass([
|
|
19471
19455
|
IsNotEmpty283({ message: "es requerido" }),
|
|
19472
|
-
|
|
19456
|
+
IsArray120({ message: "debe ser un array" }),
|
|
19473
19457
|
IsString274({ each: true, message: "debe ser un string" }),
|
|
19474
19458
|
Expose338()
|
|
19475
19459
|
], DatosGeneralesPersonalDTO.prototype, "Telefono", 2);
|
|
@@ -19566,7 +19550,7 @@ __decorateClass([
|
|
|
19566
19550
|
import { Expose as Expose342, Type as Type224 } from "class-transformer";
|
|
19567
19551
|
import {
|
|
19568
19552
|
ArrayNotEmpty as ArrayNotEmpty3,
|
|
19569
|
-
IsArray as
|
|
19553
|
+
IsArray as IsArray121,
|
|
19570
19554
|
IsBoolean as IsBoolean33,
|
|
19571
19555
|
IsDate as IsDate91,
|
|
19572
19556
|
IsDefined as IsDefined32,
|
|
@@ -19715,7 +19699,7 @@ __decorateClass([
|
|
|
19715
19699
|
Type224(() => BitacoraAntiguaDTO),
|
|
19716
19700
|
IsNotEmpty286({ message: "es requerido" }),
|
|
19717
19701
|
Expose342(),
|
|
19718
|
-
|
|
19702
|
+
IsArray121(),
|
|
19719
19703
|
ValidateNested204({ each: true })
|
|
19720
19704
|
], PersonalENTITY.prototype, "Bitacora", 2);
|
|
19721
19705
|
__decorateClass([
|
|
@@ -19740,7 +19724,7 @@ __decorateClass([
|
|
|
19740
19724
|
IsNotEmpty286({ message: "es requerido" }),
|
|
19741
19725
|
ArrayNotEmpty3({ message: "no puede estar vac\xEDo" }),
|
|
19742
19726
|
Expose342(),
|
|
19743
|
-
|
|
19727
|
+
IsArray121(),
|
|
19744
19728
|
ValidateNested204({ each: true })
|
|
19745
19729
|
], PersonalENTITY.prototype, "EmpresasUsuario", 2);
|
|
19746
19730
|
__decorateClass([
|
|
@@ -19752,13 +19736,13 @@ __decorateClass([
|
|
|
19752
19736
|
IsDefined32({ message: "es requerido" }),
|
|
19753
19737
|
Type224(() => RecursosPersonalDTO),
|
|
19754
19738
|
Expose342(),
|
|
19755
|
-
|
|
19739
|
+
IsArray121(),
|
|
19756
19740
|
ValidateNested204({ each: true })
|
|
19757
19741
|
], PersonalENTITY.prototype, "RecursosPersonal", 2);
|
|
19758
19742
|
|
|
19759
19743
|
// src/configuracion/perfiles/shared/index.ts
|
|
19760
19744
|
import { Expose as Expose343, Type as Type225 } from "class-transformer";
|
|
19761
|
-
import { IsArray as
|
|
19745
|
+
import { IsArray as IsArray122, IsNotEmpty as IsNotEmpty287, IsNumber as IsNumber226, IsString as IsString279, Length as Length216, Min as Min181, ValidateNested as ValidateNested205 } from "class-validator";
|
|
19762
19746
|
var PerfilesENTITY = class {
|
|
19763
19747
|
ID_Perfil = 0;
|
|
19764
19748
|
Codigo = "";
|
|
@@ -19801,7 +19785,7 @@ __decorateClass([
|
|
|
19801
19785
|
], PerfilesENTITY.prototype, "Delegacion", 2);
|
|
19802
19786
|
__decorateClass([
|
|
19803
19787
|
IsNotEmpty287({ message: "es requerido" }),
|
|
19804
|
-
|
|
19788
|
+
IsArray122({ message: "debe ser un array" }),
|
|
19805
19789
|
IsNumber226({}, { each: true, message: "debe ser un numero" }),
|
|
19806
19790
|
Expose343()
|
|
19807
19791
|
], PerfilesENTITY.prototype, "Sistemas", 2);
|
|
@@ -19815,7 +19799,7 @@ __decorateClass([
|
|
|
19815
19799
|
Expose343(),
|
|
19816
19800
|
Type225(() => BitacoraAntiguaDTO),
|
|
19817
19801
|
IsNotEmpty287({ message: "es requerido" }),
|
|
19818
|
-
|
|
19802
|
+
IsArray122(),
|
|
19819
19803
|
ValidateNested205({ each: true })
|
|
19820
19804
|
], PerfilesENTITY.prototype, "Bitacora", 2);
|
|
19821
19805
|
|
|
@@ -19859,7 +19843,7 @@ __decorateClass([
|
|
|
19859
19843
|
|
|
19860
19844
|
// src/configuracion/opcion sistema/shared/index.ts
|
|
19861
19845
|
import { Expose as Expose346, Type as Type226 } from "class-transformer";
|
|
19862
|
-
import { IsArray as
|
|
19846
|
+
import { IsArray as IsArray123, IsNotEmpty as IsNotEmpty289, IsNumber as IsNumber229, IsString as IsString282, Length as Length219, Min as Min184, ValidateNested as ValidateNested206 } from "class-validator";
|
|
19863
19847
|
var OpcionSistemaENTITY = class {
|
|
19864
19848
|
IdOpcionSistema = 0;
|
|
19865
19849
|
Sistema = new SistemaDto();
|
|
@@ -19937,7 +19921,7 @@ __decorateClass([
|
|
|
19937
19921
|
Expose346(),
|
|
19938
19922
|
Type226(() => BitacoraOpcionSitemaDTO),
|
|
19939
19923
|
IsNotEmpty289({ message: "es requerido" }),
|
|
19940
|
-
|
|
19924
|
+
IsArray123(),
|
|
19941
19925
|
ValidateNested206({ each: true })
|
|
19942
19926
|
], OpcionSistemaENTITY.prototype, "Bitacora", 2);
|
|
19943
19927
|
|
|
@@ -19946,7 +19930,7 @@ import { Expose as Expose353, Type as Type230 } from "class-transformer";
|
|
|
19946
19930
|
|
|
19947
19931
|
// src/configuracion/empresa/shared/dto/datos-generales-dto.ts
|
|
19948
19932
|
import { Expose as Expose347, Type as Type227 } from "class-transformer";
|
|
19949
|
-
import { IsArray as
|
|
19933
|
+
import { IsArray as IsArray124, IsNotEmpty as IsNotEmpty290, IsString as IsString283, ValidateNested as ValidateNested207 } from "class-validator";
|
|
19950
19934
|
var DatosGeneralesDTO = class {
|
|
19951
19935
|
Ubicacion = new UbicacionAlmacenDTO();
|
|
19952
19936
|
CorreoElectronico = [];
|
|
@@ -19960,13 +19944,13 @@ __decorateClass([
|
|
|
19960
19944
|
], DatosGeneralesDTO.prototype, "Ubicacion", 2);
|
|
19961
19945
|
__decorateClass([
|
|
19962
19946
|
IsNotEmpty290({ message: "es requerido" }),
|
|
19963
|
-
|
|
19947
|
+
IsArray124({ message: "debe ser un array" }),
|
|
19964
19948
|
IsString283({ each: true, message: "debe ser un string" }),
|
|
19965
19949
|
Expose347()
|
|
19966
19950
|
], DatosGeneralesDTO.prototype, "CorreoElectronico", 2);
|
|
19967
19951
|
__decorateClass([
|
|
19968
19952
|
IsNotEmpty290({ message: "es requerido" }),
|
|
19969
|
-
|
|
19953
|
+
IsArray124({ message: "debe ser un array" }),
|
|
19970
19954
|
IsString283({ each: true, message: "debe ser un string" }),
|
|
19971
19955
|
Expose347()
|
|
19972
19956
|
], DatosGeneralesDTO.prototype, "Telefono", 2);
|
|
@@ -20056,7 +20040,7 @@ __decorateClass([
|
|
|
20056
20040
|
|
|
20057
20041
|
// src/configuracion/empresa/shared/dto/representante-legal-dto.ts
|
|
20058
20042
|
import { Expose as Expose351, Type as Type229 } from "class-transformer";
|
|
20059
|
-
import { IsArray as
|
|
20043
|
+
import { IsArray as IsArray125, IsNotEmpty as IsNotEmpty293, IsNumber as IsNumber232, IsString as IsString287, Length as Length223, Min as Min187, ValidateNested as ValidateNested209 } from "class-validator";
|
|
20060
20044
|
var RepresentanteLegalDTO = class {
|
|
20061
20045
|
ID_Persona = 0;
|
|
20062
20046
|
TipoDocumentoIdentidad = new TipoDocumentoIdentidadDTO();
|
|
@@ -20101,13 +20085,13 @@ __decorateClass([
|
|
|
20101
20085
|
], RepresentanteLegalDTO.prototype, "Nombres", 2);
|
|
20102
20086
|
__decorateClass([
|
|
20103
20087
|
IsNotEmpty293({ message: "es requerido" }),
|
|
20104
|
-
|
|
20088
|
+
IsArray125({ message: "debe ser un array" }),
|
|
20105
20089
|
IsString287({ each: true, message: "debe ser un string" }),
|
|
20106
20090
|
Expose351()
|
|
20107
20091
|
], RepresentanteLegalDTO.prototype, "CorreoElectronico", 2);
|
|
20108
20092
|
__decorateClass([
|
|
20109
20093
|
IsNotEmpty293({ message: "es requerido" }),
|
|
20110
|
-
|
|
20094
|
+
IsArray125({ message: "debe ser un array" }),
|
|
20111
20095
|
IsString287({ each: true, message: "debe ser un string" }),
|
|
20112
20096
|
Expose351()
|
|
20113
20097
|
], RepresentanteLegalDTO.prototype, "Telefono", 2);
|
|
@@ -20132,7 +20116,7 @@ __decorateClass([
|
|
|
20132
20116
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
20133
20117
|
|
|
20134
20118
|
// src/configuracion/empresa/shared/index.ts
|
|
20135
|
-
import { IsArray as
|
|
20119
|
+
import { IsArray as IsArray126, IsBoolean as IsBoolean35, IsNotEmpty as IsNotEmpty295, IsNumber as IsNumber234, IsOptional as IsOptional11, IsString as IsString289, Length as Length225, Min as Min189, ValidateNested as ValidateNested210 } from "class-validator";
|
|
20136
20120
|
var EmpresaENTITY = class {
|
|
20137
20121
|
ID_Empresa = 0;
|
|
20138
20122
|
Pais = new PaisStockPersonalDTO();
|
|
@@ -20175,7 +20159,7 @@ __decorateClass([
|
|
|
20175
20159
|
Type230(() => GrupoEmpresaDTO),
|
|
20176
20160
|
IsNotEmpty295({ message: "es requerido" }),
|
|
20177
20161
|
Expose353(),
|
|
20178
|
-
|
|
20162
|
+
IsArray126(),
|
|
20179
20163
|
ValidateNested210({ each: true })
|
|
20180
20164
|
], EmpresaENTITY.prototype, "GrupoEmpresa", 2);
|
|
20181
20165
|
__decorateClass([
|
|
@@ -20198,7 +20182,7 @@ __decorateClass([
|
|
|
20198
20182
|
Type230(() => LoteDTO),
|
|
20199
20183
|
IsNotEmpty295({ message: "es requerido" }),
|
|
20200
20184
|
Expose353(),
|
|
20201
|
-
|
|
20185
|
+
IsArray126(),
|
|
20202
20186
|
ValidateNested210({ each: true })
|
|
20203
20187
|
], EmpresaENTITY.prototype, "Lotes", 2);
|
|
20204
20188
|
__decorateClass([
|
|
@@ -20238,7 +20222,7 @@ __decorateClass([
|
|
|
20238
20222
|
Type230(() => CodigoNombreDTO),
|
|
20239
20223
|
IsNotEmpty295({ message: "es requerido" }),
|
|
20240
20224
|
Expose353(),
|
|
20241
|
-
|
|
20225
|
+
IsArray126(),
|
|
20242
20226
|
ValidateNested210({ each: true })
|
|
20243
20227
|
], EmpresaENTITY.prototype, "Delegacion", 2);
|
|
20244
20228
|
__decorateClass([
|
|
@@ -20258,7 +20242,7 @@ __decorateClass([
|
|
|
20258
20242
|
Type230(() => BitacoraDTO),
|
|
20259
20243
|
IsNotEmpty295({ message: "es requerido" }),
|
|
20260
20244
|
Expose353(),
|
|
20261
|
-
|
|
20245
|
+
IsArray126(),
|
|
20262
20246
|
ValidateNested210({ each: true })
|
|
20263
20247
|
], EmpresaENTITY.prototype, "Bitacora", 2);
|
|
20264
20248
|
|
|
@@ -20589,7 +20573,7 @@ __decorateClass([
|
|
|
20589
20573
|
], DelegacionZonalesDTO.prototype, "Delegacion", 2);
|
|
20590
20574
|
|
|
20591
20575
|
// src/configuracion/usuarios/shared/dto/zonales-dto.ts
|
|
20592
|
-
import { IsNotEmpty as IsNotEmpty304, ValidateNested as ValidateNested213, IsString as IsString298, IsNumber as IsNumber240, Length as Length234, Min as Min194, IsDate as IsDate95, IsArray as
|
|
20576
|
+
import { IsNotEmpty as IsNotEmpty304, ValidateNested as ValidateNested213, IsString as IsString298, IsNumber as IsNumber240, Length as Length234, Min as Min194, IsDate as IsDate95, IsArray as IsArray127 } from "class-validator";
|
|
20593
20577
|
var ZonalesDTO = class {
|
|
20594
20578
|
IdPais = 0;
|
|
20595
20579
|
Pais = "";
|
|
@@ -20651,7 +20635,7 @@ __decorateClass([
|
|
|
20651
20635
|
Type238(() => DelegacionZonalesDTO),
|
|
20652
20636
|
IsNotEmpty304({ message: "es requerido" }),
|
|
20653
20637
|
Expose363(),
|
|
20654
|
-
|
|
20638
|
+
IsArray127(),
|
|
20655
20639
|
ValidateNested213({ each: true })
|
|
20656
20640
|
], ZonalesDTO.prototype, "Delegacion", 2);
|
|
20657
20641
|
|
|
@@ -20745,7 +20729,7 @@ __decorateClass([
|
|
|
20745
20729
|
|
|
20746
20730
|
// src/configuracion/usuarios/shared/index.ts
|
|
20747
20731
|
import { Expose as Expose365, Type as Type240 } from "class-transformer";
|
|
20748
|
-
import { IsArray as
|
|
20732
|
+
import { IsArray as IsArray128, IsBoolean as IsBoolean36, IsNotEmpty as IsNotEmpty306, IsNumber as IsNumber242, IsString as IsString300, Length as Length236, Min as Min196, ValidateNested as ValidateNested214, IsEmail as IsEmail3, IsEnum as IsEnum9 } from "class-validator";
|
|
20749
20733
|
var UsuarioENTITY = class {
|
|
20750
20734
|
IdUsuario = 0;
|
|
20751
20735
|
User = "";
|
|
@@ -20860,7 +20844,7 @@ __decorateClass([
|
|
|
20860
20844
|
Type240(() => ProfileDTO),
|
|
20861
20845
|
IsNotEmpty306({ message: "es requerido" }),
|
|
20862
20846
|
Expose365(),
|
|
20863
|
-
|
|
20847
|
+
IsArray128(),
|
|
20864
20848
|
ValidateNested214({ each: true })
|
|
20865
20849
|
], UsuarioENTITY.prototype, "Profile", 2);
|
|
20866
20850
|
__decorateClass([
|
|
@@ -20897,14 +20881,14 @@ __decorateClass([
|
|
|
20897
20881
|
Type240(() => HistoricoEmpresasDTO),
|
|
20898
20882
|
IsNotEmpty306({ message: "es requerido" }),
|
|
20899
20883
|
Expose365(),
|
|
20900
|
-
|
|
20884
|
+
IsArray128(),
|
|
20901
20885
|
ValidateNested214({ each: true })
|
|
20902
20886
|
], UsuarioENTITY.prototype, "HistoricoEmpresas", 2);
|
|
20903
20887
|
__decorateClass([
|
|
20904
20888
|
Type240(() => ZonaTrabajoDTO),
|
|
20905
20889
|
IsNotEmpty306({ message: "es requerido" }),
|
|
20906
20890
|
Expose365(),
|
|
20907
|
-
|
|
20891
|
+
IsArray128(),
|
|
20908
20892
|
ValidateNested214({ each: true })
|
|
20909
20893
|
], UsuarioENTITY.prototype, "ZonaTrabajo", 2);
|
|
20910
20894
|
__decorateClass([
|
|
@@ -20915,7 +20899,7 @@ __decorateClass([
|
|
|
20915
20899
|
Type240(() => BitacoraDTO),
|
|
20916
20900
|
IsNotEmpty306({ message: "es requerido" }),
|
|
20917
20901
|
Expose365(),
|
|
20918
|
-
|
|
20902
|
+
IsArray128(),
|
|
20919
20903
|
ValidateNested214({ each: true })
|
|
20920
20904
|
], UsuarioENTITY.prototype, "Bitacora", 2);
|
|
20921
20905
|
__decorateClass([
|
|
@@ -20932,35 +20916,35 @@ __decorateClass([
|
|
|
20932
20916
|
Type240(() => AlmacenLogisticaDTO),
|
|
20933
20917
|
IsNotEmpty306({ message: "es requerido" }),
|
|
20934
20918
|
Expose365(),
|
|
20935
|
-
|
|
20919
|
+
IsArray128(),
|
|
20936
20920
|
ValidateNested214({ each: true })
|
|
20937
20921
|
], UsuarioENTITY.prototype, "Almacen", 2);
|
|
20938
20922
|
__decorateClass([
|
|
20939
20923
|
Type240(() => AlmacenUsuarioGIADTO),
|
|
20940
20924
|
IsNotEmpty306({ message: "es requerido" }),
|
|
20941
20925
|
Expose365(),
|
|
20942
|
-
|
|
20926
|
+
IsArray128(),
|
|
20943
20927
|
ValidateNested214({ each: true })
|
|
20944
20928
|
], UsuarioENTITY.prototype, "AlmacenGIA", 2);
|
|
20945
20929
|
__decorateClass([
|
|
20946
20930
|
Type240(() => CodigoNombreDTO),
|
|
20947
20931
|
IsNotEmpty306({ message: "es requerido" }),
|
|
20948
20932
|
Expose365(),
|
|
20949
|
-
|
|
20933
|
+
IsArray128(),
|
|
20950
20934
|
ValidateNested214({ each: true })
|
|
20951
20935
|
], UsuarioENTITY.prototype, "PaisesGestion", 2);
|
|
20952
20936
|
__decorateClass([
|
|
20953
20937
|
Type240(() => PermisosAppDTO),
|
|
20954
20938
|
IsNotEmpty306({ message: "es requerido" }),
|
|
20955
20939
|
Expose365(),
|
|
20956
|
-
|
|
20940
|
+
IsArray128(),
|
|
20957
20941
|
ValidateNested214({ each: true })
|
|
20958
20942
|
], UsuarioENTITY.prototype, "PermisosApp", 2);
|
|
20959
20943
|
__decorateClass([
|
|
20960
20944
|
Type240(() => ZonalesDTO),
|
|
20961
20945
|
IsNotEmpty306({ message: "es requerido" }),
|
|
20962
20946
|
Expose365(),
|
|
20963
|
-
|
|
20947
|
+
IsArray128(),
|
|
20964
20948
|
ValidateNested214({ each: true })
|
|
20965
20949
|
], UsuarioENTITY.prototype, "Zonales", 2);
|
|
20966
20950
|
__decorateClass([
|
|
@@ -20972,7 +20956,7 @@ __decorateClass([
|
|
|
20972
20956
|
|
|
20973
20957
|
// src/configuracion/tipo opcion sistema/shared/index.ts
|
|
20974
20958
|
import { Expose as Expose366, Type as Type241 } from "class-transformer";
|
|
20975
|
-
import { IsArray as
|
|
20959
|
+
import { IsArray as IsArray129, IsNotEmpty as IsNotEmpty307, IsNumber as IsNumber243, IsString as IsString301, Length as Length237, Min as Min197, ValidateNested as ValidateNested215 } from "class-validator";
|
|
20976
20960
|
var TipoOpcionSistemaENTITY = class {
|
|
20977
20961
|
IdTipoOpcion = 0;
|
|
20978
20962
|
TipoOpcion = "";
|
|
@@ -21009,7 +20993,7 @@ __decorateClass([
|
|
|
21009
20993
|
Expose366(),
|
|
21010
20994
|
Type241(() => BitacoraOpcionSitemaDTO),
|
|
21011
20995
|
IsNotEmpty307({ message: "es requerido" }),
|
|
21012
|
-
|
|
20996
|
+
IsArray129(),
|
|
21013
20997
|
ValidateNested215({ each: true })
|
|
21014
20998
|
], TipoOpcionSistemaENTITY.prototype, "Bitacora", 2);
|
|
21015
20999
|
__decorateClass([
|
|
@@ -21041,7 +21025,7 @@ __decorateClass([
|
|
|
21041
21025
|
|
|
21042
21026
|
// src/configuracion/sistema/shared/index.ts
|
|
21043
21027
|
import { Expose as Expose368, Type as Type242 } from "class-transformer";
|
|
21044
|
-
import { IsArray as
|
|
21028
|
+
import { IsArray as IsArray130, IsNotEmpty as IsNotEmpty309, IsNumber as IsNumber245, IsString as IsString303, Length as Length239, Min as Min199, ValidateNested as ValidateNested216 } from "class-validator";
|
|
21045
21029
|
var SistemaENTITY = class {
|
|
21046
21030
|
IdSistema = 0;
|
|
21047
21031
|
Sistema = "";
|
|
@@ -21092,7 +21076,7 @@ __decorateClass([
|
|
|
21092
21076
|
Expose368(),
|
|
21093
21077
|
Type242(() => BitacoraOpcionSitemaDTO),
|
|
21094
21078
|
IsNotEmpty309({ message: "es requerido" }),
|
|
21095
|
-
|
|
21079
|
+
IsArray130(),
|
|
21096
21080
|
ValidateNested216({ each: true })
|
|
21097
21081
|
], SistemaENTITY.prototype, "Bitacora", 2);
|
|
21098
21082
|
__decorateClass([
|
|
@@ -21388,7 +21372,7 @@ import {
|
|
|
21388
21372
|
IsDate as IsDate99,
|
|
21389
21373
|
Length as Length250,
|
|
21390
21374
|
IsOptional as IsOptional13,
|
|
21391
|
-
IsArray as
|
|
21375
|
+
IsArray as IsArray131
|
|
21392
21376
|
} from "class-validator";
|
|
21393
21377
|
|
|
21394
21378
|
// src/operativa/procesos/valorizadas_toa/shared/dto/cliente-contratista-dto.ts
|
|
@@ -21827,21 +21811,21 @@ __decorateClass([
|
|
|
21827
21811
|
Type246(() => ProductosServiciosValDTO),
|
|
21828
21812
|
IsNotEmpty321({ message: "es requerido" }),
|
|
21829
21813
|
Expose380(),
|
|
21830
|
-
|
|
21814
|
+
IsArray131(),
|
|
21831
21815
|
ValidateNested220()
|
|
21832
21816
|
], ValorizadaTOAENTITY.prototype, "ProductosServicios_Actuales", 2);
|
|
21833
21817
|
__decorateClass([
|
|
21834
21818
|
Type246(() => ProductosServiciosValDTO),
|
|
21835
21819
|
IsNotEmpty321({ message: "es requerido" }),
|
|
21836
21820
|
Expose380(),
|
|
21837
|
-
|
|
21821
|
+
IsArray131(),
|
|
21838
21822
|
ValidateNested220()
|
|
21839
21823
|
], ValorizadaTOAENTITY.prototype, "ProductosServicios_Contratados", 2);
|
|
21840
21824
|
__decorateClass([
|
|
21841
21825
|
Type246(() => InventarioValDTO),
|
|
21842
21826
|
IsNotEmpty321({ message: "es requerido" }),
|
|
21843
21827
|
Expose380(),
|
|
21844
|
-
|
|
21828
|
+
IsArray131(),
|
|
21845
21829
|
ValidateNested220()
|
|
21846
21830
|
], ValorizadaTOAENTITY.prototype, "Inventario", 2);
|
|
21847
21831
|
__decorateClass([
|
|
@@ -21895,7 +21879,7 @@ __decorateClass([
|
|
|
21895
21879
|
|
|
21896
21880
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
21897
21881
|
import { Expose as Expose385, Type as Type247 } from "class-transformer";
|
|
21898
|
-
import { IsArray as
|
|
21882
|
+
import { IsArray as IsArray132, IsNotEmpty as IsNotEmpty326, IsNumber as IsNumber256, IsString as IsString320, Length as Length255, Min as Min210, ValidateNested as ValidateNested221, IsDate as IsDate101, IsOptional as IsOptional14 } from "class-validator";
|
|
21899
21883
|
|
|
21900
21884
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
21901
21885
|
import { Expose as Expose381 } from "class-transformer";
|
|
@@ -22212,7 +22196,7 @@ __decorateClass([
|
|
|
22212
22196
|
Expose385()
|
|
22213
22197
|
], LiquidadaTOAENTITY.prototype, "Telefono", 2);
|
|
22214
22198
|
__decorateClass([
|
|
22215
|
-
|
|
22199
|
+
IsArray132(),
|
|
22216
22200
|
IsString320({ each: true }),
|
|
22217
22201
|
IsNotEmpty326({ each: true, message: "cada tag es requerido" }),
|
|
22218
22202
|
Expose385()
|
|
@@ -22411,21 +22395,21 @@ __decorateClass([
|
|
|
22411
22395
|
Type247(() => ProductosServiciosLiqDTO),
|
|
22412
22396
|
IsNotEmpty326({ message: "es requerido" }),
|
|
22413
22397
|
Expose385(),
|
|
22414
|
-
|
|
22398
|
+
IsArray132(),
|
|
22415
22399
|
ValidateNested221({ each: true })
|
|
22416
22400
|
], LiquidadaTOAENTITY.prototype, "ProductosServicios_Actuales", 2);
|
|
22417
22401
|
__decorateClass([
|
|
22418
22402
|
Type247(() => ProductosServiciosLiqDTO),
|
|
22419
22403
|
IsNotEmpty326({ message: "es requerido" }),
|
|
22420
22404
|
Expose385(),
|
|
22421
|
-
|
|
22405
|
+
IsArray132(),
|
|
22422
22406
|
ValidateNested221({ each: true })
|
|
22423
22407
|
], LiquidadaTOAENTITY.prototype, "ProductosServicios_Contratados", 2);
|
|
22424
22408
|
__decorateClass([
|
|
22425
22409
|
Type247(() => InventarioLiqDTO),
|
|
22426
22410
|
IsNotEmpty326({ message: "es requerido" }),
|
|
22427
22411
|
Expose385(),
|
|
22428
|
-
|
|
22412
|
+
IsArray132(),
|
|
22429
22413
|
ValidateNested221({ each: true })
|
|
22430
22414
|
], LiquidadaTOAENTITY.prototype, "Inventario", 2);
|
|
22431
22415
|
__decorateClass([
|
|
@@ -22448,7 +22432,7 @@ __decorateClass([
|
|
|
22448
22432
|
Type247(() => BitacoraLiqDTO),
|
|
22449
22433
|
IsNotEmpty326({ message: "es requerido" }),
|
|
22450
22434
|
Expose385(),
|
|
22451
|
-
|
|
22435
|
+
IsArray132(),
|
|
22452
22436
|
ValidateNested221({ each: true })
|
|
22453
22437
|
], LiquidadaTOAENTITY.prototype, "Bitacora", 2);
|
|
22454
22438
|
|
|
@@ -22458,7 +22442,7 @@ var BaremosTOAENTITY = class {
|
|
|
22458
22442
|
|
|
22459
22443
|
// src/operativa/procesos/baremos_toa/chile/index.ts
|
|
22460
22444
|
import { Expose as Expose388, Type as Type249 } from "class-transformer";
|
|
22461
|
-
import { IsArray as
|
|
22445
|
+
import { IsArray as IsArray133, IsNotEmpty as IsNotEmpty329, IsNumber as IsNumber259, IsString as IsString322, Length as Length257, Min as Min213, ValidateNested as ValidateNested223 } from "class-validator";
|
|
22462
22446
|
|
|
22463
22447
|
// src/operativa/procesos/baremos_toa/chile/dto/vigencia-dto.ts
|
|
22464
22448
|
import { Expose as Expose387, Type as Type248 } from "class-transformer";
|
|
@@ -22602,7 +22586,7 @@ __decorateClass([
|
|
|
22602
22586
|
Type249(() => VigenciaBaremosDTO),
|
|
22603
22587
|
IsNotEmpty329({ message: "es requerido" }),
|
|
22604
22588
|
Expose388(),
|
|
22605
|
-
|
|
22589
|
+
IsArray133(),
|
|
22606
22590
|
ValidateNested223({ each: true })
|
|
22607
22591
|
], BaremosTOAChileENTITY.prototype, "Vigencia", 2);
|
|
22608
22592
|
|
|
@@ -23128,7 +23112,7 @@ __decorateClass([
|
|
|
23128
23112
|
], UbicacionTdCDTO.prototype, "Latitud", 2);
|
|
23129
23113
|
|
|
23130
23114
|
// src/operativa/procesos/tdc/chile/index.ts
|
|
23131
|
-
import { IsArray as
|
|
23115
|
+
import { IsArray as IsArray134, IsNotEmpty as IsNotEmpty336, IsNumber as IsNumber261, IsString as IsString337, Length as Length272, Min as Min215, ValidateNested as ValidateNested226 } from "class-validator";
|
|
23132
23116
|
var ChileTdCENTITY = class {
|
|
23133
23117
|
ID = 0;
|
|
23134
23118
|
Orden = "";
|
|
@@ -23222,7 +23206,7 @@ __decorateClass([
|
|
|
23222
23206
|
Type254(() => CumplimientoDTO),
|
|
23223
23207
|
IsNotEmpty336({ message: "es requerido" }),
|
|
23224
23208
|
Expose404(),
|
|
23225
|
-
|
|
23209
|
+
IsArray134(),
|
|
23226
23210
|
ValidateNested226({ each: true })
|
|
23227
23211
|
], ChileTdCENTITY.prototype, "Cumplimiento", 2);
|
|
23228
23212
|
__decorateClass([
|
|
@@ -23257,14 +23241,14 @@ __decorateClass([
|
|
|
23257
23241
|
Type254(() => CoordenadasTdCDTO),
|
|
23258
23242
|
IsNotEmpty336({ message: "es requerido" }),
|
|
23259
23243
|
Expose404(),
|
|
23260
|
-
|
|
23244
|
+
IsArray134(),
|
|
23261
23245
|
ValidateNested226({ each: true })
|
|
23262
23246
|
], ChileTdCENTITY.prototype, "Coordenadas", 2);
|
|
23263
23247
|
__decorateClass([
|
|
23264
23248
|
Type254(() => InventarioDTO),
|
|
23265
23249
|
IsNotEmpty336({ message: "es requerido" }),
|
|
23266
23250
|
Expose404(),
|
|
23267
|
-
|
|
23251
|
+
IsArray134(),
|
|
23268
23252
|
ValidateNested226({ each: true })
|
|
23269
23253
|
], ChileTdCENTITY.prototype, "Inventario", 2);
|
|
23270
23254
|
|
|
@@ -26311,7 +26295,7 @@ __decorateClass([
|
|
|
26311
26295
|
|
|
26312
26296
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detail-maintenance-order-dto.ts
|
|
26313
26297
|
import { Expose as Expose418, Type as Type261 } from "class-transformer";
|
|
26314
|
-
import { IsArray as
|
|
26298
|
+
import { IsArray as IsArray135, IsDefined as IsDefined39, IsString as IsString350, ValidateNested as ValidateNested230 } from "class-validator";
|
|
26315
26299
|
|
|
26316
26300
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
26317
26301
|
import { Expose as Expose415, Transform as Transform32 } from "class-transformer";
|
|
@@ -26674,7 +26658,7 @@ __decorateClass([
|
|
|
26674
26658
|
], DetailMaintenanceOrderDTO.prototype, "causa", 2);
|
|
26675
26659
|
__decorateClass([
|
|
26676
26660
|
IsDefined39({ message: "El campo anexos es requerido" }),
|
|
26677
|
-
|
|
26661
|
+
IsArray135({ message: "El campo anexos debe ser un arreglo" }),
|
|
26678
26662
|
Type261(() => AnexosDetailMantenanceOrderDTO),
|
|
26679
26663
|
ValidateNested230({ each: true, message: "Cada elemento de anexos debe ser un objeto AnexosDetailMantenanceOrderDTO" }),
|
|
26680
26664
|
Expose418()
|
|
@@ -26686,7 +26670,7 @@ __decorateClass([
|
|
|
26686
26670
|
], DetailMaintenanceOrderDTO.prototype, "planta", 2);
|
|
26687
26671
|
__decorateClass([
|
|
26688
26672
|
IsDefined39({ message: "El campo detalleOrdenReal es requerido" }),
|
|
26689
|
-
|
|
26673
|
+
IsArray135({ message: "El campo detalleOrdenReal debe ser un arreglo" }),
|
|
26690
26674
|
Type261(() => DetalleOrdenRealDTO),
|
|
26691
26675
|
ValidateNested230({ each: true, message: "Cada elemento de detalleOrdenReal debe ser un objeto DetalleOrdenRealDTO" }),
|
|
26692
26676
|
Expose418()
|
|
@@ -26723,14 +26707,14 @@ __decorateClass([
|
|
|
26723
26707
|
], DetailMaintenanceOrderDTO.prototype, "sintoma", 2);
|
|
26724
26708
|
__decorateClass([
|
|
26725
26709
|
IsDefined39({ message: "El campo orden es requerido" }),
|
|
26726
|
-
|
|
26710
|
+
IsArray135({ message: "El campo orden debe ser un arreglo" }),
|
|
26727
26711
|
Type261(() => OrdenDetailMaintenanceDTO),
|
|
26728
26712
|
ValidateNested230({ each: true, message: "Cada elemento de orden debe ser un objeto OrdenDetailMaintenanceDTO" }),
|
|
26729
26713
|
Expose418()
|
|
26730
26714
|
], DetailMaintenanceOrderDTO.prototype, "orden", 2);
|
|
26731
26715
|
__decorateClass([
|
|
26732
26716
|
IsDefined39({ message: "El campo fotos es requerido" }),
|
|
26733
|
-
|
|
26717
|
+
IsArray135({ message: "El campo fotos debe ser un arreglo" }),
|
|
26734
26718
|
Type261(() => FotosDetailMaintenanceDTO),
|
|
26735
26719
|
ValidateNested230({ each: true, message: "Cada elemento de fotos debe ser un objeto FotosDetailMaintenanceDTO" }),
|
|
26736
26720
|
Expose418()
|