sigo-entities 1.0.59 → 1.0.60
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/dist/index.mjs +29 -24
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -14335,6 +14335,7 @@ __decorateClass([
|
|
|
14335
14335
|
var import_class_transformer258 = require("class-transformer");
|
|
14336
14336
|
var import_class_validator259 = require("class-validator");
|
|
14337
14337
|
var BaremoAlemaniaENTITY = class {
|
|
14338
|
+
_id;
|
|
14338
14339
|
foreignKey = "";
|
|
14339
14340
|
Obra = "";
|
|
14340
14341
|
Cluster = "";
|
|
@@ -14368,6 +14369,10 @@ var BaremoAlemaniaENTITY = class {
|
|
|
14368
14369
|
PagosEC = [];
|
|
14369
14370
|
Cancelado = false;
|
|
14370
14371
|
};
|
|
14372
|
+
__decorateClass([
|
|
14373
|
+
(0, import_class_validator259.IsOptional)(),
|
|
14374
|
+
(0, import_class_transformer258.Expose)()
|
|
14375
|
+
], BaremoAlemaniaENTITY.prototype, "_id", 2);
|
|
14371
14376
|
__decorateClass([
|
|
14372
14377
|
(0, import_class_validator259.IsString)({ message: "debe ser un texto" }),
|
|
14373
14378
|
(0, import_class_validator259.IsNotEmpty)({ message: "es requerido" }),
|
package/dist/index.mjs
CHANGED
|
@@ -13960,8 +13960,9 @@ __decorateClass([
|
|
|
13960
13960
|
|
|
13961
13961
|
// src/programados/Reportes/ReporteProduccion/Alemania/Baremo/Shared/index.ts
|
|
13962
13962
|
import { Expose as Expose256, Type as Type171 } from "class-transformer";
|
|
13963
|
-
import { IsArray as IsArray92, IsBoolean as IsBoolean19, IsDefined as IsDefined26, IsNotEmpty as IsNotEmpty211, IsNumber as IsNumber174, IsString as IsString199, Min as Min138, ValidateNested as ValidateNested156 } from "class-validator";
|
|
13963
|
+
import { IsArray as IsArray92, IsBoolean as IsBoolean19, IsDefined as IsDefined26, IsNotEmpty as IsNotEmpty211, IsNumber as IsNumber174, IsOptional as IsOptional7, IsString as IsString199, Min as Min138, ValidateNested as ValidateNested156 } from "class-validator";
|
|
13964
13964
|
var BaremoAlemaniaENTITY = class {
|
|
13965
|
+
_id;
|
|
13965
13966
|
foreignKey = "";
|
|
13966
13967
|
Obra = "";
|
|
13967
13968
|
Cluster = "";
|
|
@@ -13995,6 +13996,10 @@ var BaremoAlemaniaENTITY = class {
|
|
|
13995
13996
|
PagosEC = [];
|
|
13996
13997
|
Cancelado = false;
|
|
13997
13998
|
};
|
|
13999
|
+
__decorateClass([
|
|
14000
|
+
IsOptional7(),
|
|
14001
|
+
Expose256()
|
|
14002
|
+
], BaremoAlemaniaENTITY.prototype, "_id", 2);
|
|
13998
14003
|
__decorateClass([
|
|
13999
14004
|
IsString199({ message: "debe ser un texto" }),
|
|
14000
14005
|
IsNotEmpty211({ message: "es requerido" }),
|
|
@@ -14181,7 +14186,7 @@ __decorateClass([
|
|
|
14181
14186
|
|
|
14182
14187
|
// src/programados/Reportes/ReporteProduccion/Chile/Baremos/index.ts
|
|
14183
14188
|
import { Expose as Expose262, Type as Type172 } from "class-transformer";
|
|
14184
|
-
import { IsArray as IsArray93, IsBoolean as IsBoolean21, IsNotEmpty as IsNotEmpty217, IsNumber as IsNumber176, IsOptional as
|
|
14189
|
+
import { IsArray as IsArray93, IsBoolean as IsBoolean21, IsNotEmpty as IsNotEmpty217, IsNumber as IsNumber176, IsOptional as IsOptional8, IsString as IsString205, Min as Min139, ValidateNested as ValidateNested157 } from "class-validator";
|
|
14185
14190
|
|
|
14186
14191
|
// src/programados/Reportes/ReporteProduccion/Chile/Baremos/dto/periodo-dto.ts
|
|
14187
14192
|
import { Expose as Expose257 } from "class-transformer";
|
|
@@ -14364,7 +14369,7 @@ var BaremosChileENTITY = class {
|
|
|
14364
14369
|
};
|
|
14365
14370
|
__decorateClass([
|
|
14366
14371
|
Expose262(),
|
|
14367
|
-
|
|
14372
|
+
IsOptional8()
|
|
14368
14373
|
], BaremosChileENTITY.prototype, "_id", 2);
|
|
14369
14374
|
__decorateClass([
|
|
14370
14375
|
IsString205({ message: "debe ser un texto" }),
|
|
@@ -14516,7 +14521,7 @@ __decorateClass([
|
|
|
14516
14521
|
|
|
14517
14522
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/index.ts
|
|
14518
14523
|
import { Expose as Expose271, Type as Type176 } from "class-transformer";
|
|
14519
|
-
import { IsArray as IsArray96, IsBoolean as IsBoolean23, IsNotEmpty as IsNotEmpty226, IsNumber as IsNumber180, IsOptional as
|
|
14524
|
+
import { IsArray as IsArray96, IsBoolean as IsBoolean23, IsNotEmpty as IsNotEmpty226, IsNumber as IsNumber180, IsOptional as IsOptional9, IsString as IsString214, Min as Min141, ValidateNested as ValidateNested161 } from "class-validator";
|
|
14520
14525
|
|
|
14521
14526
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/cambios-estados-pagos-produccion-dto.ts
|
|
14522
14527
|
import { Expose as Expose263, Transform as Transform18, Type as Type173 } from "class-transformer";
|
|
@@ -14919,7 +14924,7 @@ var BaremosColombiaENTITY = class {
|
|
|
14919
14924
|
};
|
|
14920
14925
|
__decorateClass([
|
|
14921
14926
|
Expose271(),
|
|
14922
|
-
|
|
14927
|
+
IsOptional9()
|
|
14923
14928
|
], BaremosColombiaENTITY.prototype, "_id", 2);
|
|
14924
14929
|
__decorateClass([
|
|
14925
14930
|
IsString214({ message: "debe ser un texto" }),
|
|
@@ -15773,7 +15778,7 @@ import { Expose as Expose288, Type as Type186 } from "class-transformer";
|
|
|
15773
15778
|
|
|
15774
15779
|
// src/programados/Reportes/RptProduccionCurso_Baremos_Fases/shared/dto/prod-curso-baremo-fases-ultimo-estado-interno-dto.ts
|
|
15775
15780
|
import { Expose as Expose283, Type as Type184 } from "class-transformer";
|
|
15776
|
-
import { IsArray as IsArray101, IsBoolean as IsBoolean27, IsDate as IsDate79, IsNotEmpty as IsNotEmpty238, IsNumber as IsNumber185, IsOptional as
|
|
15781
|
+
import { IsArray as IsArray101, IsBoolean as IsBoolean27, IsDate as IsDate79, IsNotEmpty as IsNotEmpty238, IsNumber as IsNumber185, IsOptional as IsOptional10, IsString as IsString226, ValidateNested as ValidateNested168 } from "class-validator";
|
|
15777
15782
|
var ProdCursoBaremoFasesUltimoEstadoInternoDTO = class {
|
|
15778
15783
|
IsDebug = false;
|
|
15779
15784
|
ID_EstadoInterno = 0;
|
|
@@ -15795,7 +15800,7 @@ var ProdCursoBaremoFasesUltimoEstadoInternoDTO = class {
|
|
|
15795
15800
|
};
|
|
15796
15801
|
__decorateClass([
|
|
15797
15802
|
IsBoolean27({ message: "IsDebug debe ser un valor booleano" }),
|
|
15798
|
-
|
|
15803
|
+
IsOptional10(),
|
|
15799
15804
|
Expose283()
|
|
15800
15805
|
], ProdCursoBaremoFasesUltimoEstadoInternoDTO.prototype, "IsDebug", 2);
|
|
15801
15806
|
__decorateClass([
|
|
@@ -19793,7 +19798,7 @@ __decorateClass([
|
|
|
19793
19798
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
19794
19799
|
|
|
19795
19800
|
// src/configuracion/empresa/shared/index.ts
|
|
19796
|
-
import { IsArray as IsArray129, IsBoolean as IsBoolean36, IsNotEmpty as IsNotEmpty293, IsNumber as IsNumber228, IsOptional as
|
|
19801
|
+
import { IsArray as IsArray129, IsBoolean as IsBoolean36, IsNotEmpty as IsNotEmpty293, IsNumber as IsNumber228, IsOptional as IsOptional11, IsString as IsString280, Length as Length221, Min as Min182, ValidateNested as ValidateNested208 } from "class-validator";
|
|
19797
19802
|
var EmpresaENTITY = class {
|
|
19798
19803
|
ID_Empresa = 0;
|
|
19799
19804
|
Pais = new PaisStockPersonalDTO();
|
|
@@ -19906,7 +19911,7 @@ __decorateClass([
|
|
|
19906
19911
|
Type224(() => DatosGIADTO),
|
|
19907
19912
|
IsNotEmpty293({ message: "es requerido" }),
|
|
19908
19913
|
Expose344(),
|
|
19909
|
-
|
|
19914
|
+
IsOptional11(),
|
|
19910
19915
|
ValidateNested208()
|
|
19911
19916
|
], EmpresaENTITY.prototype, "DatosGIA", 2);
|
|
19912
19917
|
__decorateClass([
|
|
@@ -21048,7 +21053,7 @@ import {
|
|
|
21048
21053
|
ValidateNested as ValidateNested218,
|
|
21049
21054
|
IsDate as IsDate101,
|
|
21050
21055
|
Length as Length246,
|
|
21051
|
-
IsOptional as
|
|
21056
|
+
IsOptional as IsOptional13,
|
|
21052
21057
|
IsArray as IsArray134
|
|
21053
21058
|
} from "class-validator";
|
|
21054
21059
|
|
|
@@ -21120,7 +21125,7 @@ __decorateClass([
|
|
|
21120
21125
|
|
|
21121
21126
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
21122
21127
|
import { Expose as Expose368 } from "class-transformer";
|
|
21123
|
-
import { IsEnum as IsEnum9, IsNotEmpty as IsNotEmpty316, IsNumber as IsNumber242, IsOptional as
|
|
21128
|
+
import { IsEnum as IsEnum9, IsNotEmpty as IsNotEmpty316, IsNumber as IsNumber242, IsOptional as IsOptional12, IsString as IsString303, Length as Length243, Min as Min195 } from "class-validator";
|
|
21124
21129
|
var InventarioValDTO = class {
|
|
21125
21130
|
Descripcion = "";
|
|
21126
21131
|
LoteSAP = "";
|
|
@@ -21134,13 +21139,13 @@ var InventarioValDTO = class {
|
|
|
21134
21139
|
};
|
|
21135
21140
|
__decorateClass([
|
|
21136
21141
|
IsString303({ message: "debe ser un texto" }),
|
|
21137
|
-
|
|
21142
|
+
IsOptional12(),
|
|
21138
21143
|
Length243(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
21139
21144
|
Expose368()
|
|
21140
21145
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
21141
21146
|
__decorateClass([
|
|
21142
21147
|
IsString303({ message: "debe ser un texto" }),
|
|
21143
|
-
|
|
21148
|
+
IsOptional12(),
|
|
21144
21149
|
Length243(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
21145
21150
|
Expose368()
|
|
21146
21151
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
@@ -21152,7 +21157,7 @@ __decorateClass([
|
|
|
21152
21157
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
21153
21158
|
__decorateClass([
|
|
21154
21159
|
IsString303({ message: "debe ser un texto" }),
|
|
21155
|
-
|
|
21160
|
+
IsOptional12(),
|
|
21156
21161
|
Length243(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
21157
21162
|
Expose368()
|
|
21158
21163
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
@@ -21160,7 +21165,7 @@ __decorateClass([
|
|
|
21160
21165
|
IsString303({ message: "debe ser un texto" }),
|
|
21161
21166
|
Length243(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
21162
21167
|
Expose368(),
|
|
21163
|
-
|
|
21168
|
+
IsOptional12()
|
|
21164
21169
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
21165
21170
|
__decorateClass([
|
|
21166
21171
|
IsNumber242({}, { message: "debe ser un numero" }),
|
|
@@ -21179,7 +21184,7 @@ __decorateClass([
|
|
|
21179
21184
|
__decorateClass([
|
|
21180
21185
|
IsString303({ message: "debe ser un texto" }),
|
|
21181
21186
|
Length243(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
21182
|
-
|
|
21187
|
+
IsOptional12(),
|
|
21183
21188
|
Expose368()
|
|
21184
21189
|
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
21185
21190
|
|
|
@@ -21310,14 +21315,14 @@ __decorateClass([
|
|
|
21310
21315
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
21311
21316
|
__decorateClass([
|
|
21312
21317
|
IsString306({ message: "debe ser un texto" }),
|
|
21313
|
-
|
|
21318
|
+
IsOptional13(),
|
|
21314
21319
|
Length246(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
21315
21320
|
Expose371()
|
|
21316
21321
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
21317
21322
|
__decorateClass([
|
|
21318
21323
|
IsString306({ message: "debe ser un texto" }),
|
|
21319
21324
|
Length246(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
21320
|
-
|
|
21325
|
+
IsOptional13(),
|
|
21321
21326
|
Expose371()
|
|
21322
21327
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
21323
21328
|
__decorateClass([
|
|
@@ -21342,7 +21347,7 @@ __decorateClass([
|
|
|
21342
21347
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
21343
21348
|
__decorateClass([
|
|
21344
21349
|
IsString306({ message: "debe ser un texto" }),
|
|
21345
|
-
|
|
21350
|
+
IsOptional13(),
|
|
21346
21351
|
Length246(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
21347
21352
|
Expose371()
|
|
21348
21353
|
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
@@ -21360,12 +21365,12 @@ __decorateClass([
|
|
|
21360
21365
|
IsString306({ message: "debe ser un texto" }),
|
|
21361
21366
|
Length246(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
21362
21367
|
Expose371(),
|
|
21363
|
-
|
|
21368
|
+
IsOptional13()
|
|
21364
21369
|
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
21365
21370
|
__decorateClass([
|
|
21366
21371
|
IsString306({ message: "debe ser un texto" }),
|
|
21367
21372
|
Length246(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
21368
|
-
|
|
21373
|
+
IsOptional13(),
|
|
21369
21374
|
Expose371()
|
|
21370
21375
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
21371
21376
|
__decorateClass([
|
|
@@ -21481,7 +21486,7 @@ __decorateClass([
|
|
|
21481
21486
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
21482
21487
|
__decorateClass([
|
|
21483
21488
|
IsString306({ message: "debe ser un texto" }),
|
|
21484
|
-
|
|
21489
|
+
IsOptional13(),
|
|
21485
21490
|
Expose371()
|
|
21486
21491
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
21487
21492
|
__decorateClass([
|
|
@@ -21556,7 +21561,7 @@ __decorateClass([
|
|
|
21556
21561
|
|
|
21557
21562
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
21558
21563
|
import { Expose as Expose376, Type as Type241 } from "class-transformer";
|
|
21559
|
-
import { IsArray as IsArray135, IsNotEmpty as IsNotEmpty324, IsNumber as IsNumber250, IsString as IsString311, Length as Length251, Min as Min203, ValidateNested as ValidateNested219, IsDate as IsDate103, IsOptional as
|
|
21564
|
+
import { IsArray as IsArray135, IsNotEmpty as IsNotEmpty324, IsNumber as IsNumber250, IsString as IsString311, Length as Length251, Min as Min203, ValidateNested as ValidateNested219, IsDate as IsDate103, IsOptional as IsOptional14 } from "class-validator";
|
|
21560
21565
|
|
|
21561
21566
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
21562
21567
|
import { Expose as Expose372 } from "class-transformer";
|
|
@@ -21813,7 +21818,7 @@ __decorateClass([
|
|
|
21813
21818
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
21814
21819
|
__decorateClass([
|
|
21815
21820
|
IsString311({ message: "debe ser un texto" }),
|
|
21816
|
-
|
|
21821
|
+
IsOptional14(),
|
|
21817
21822
|
Length251(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
21818
21823
|
Expose376()
|
|
21819
21824
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|