sigo-entities 1.2.117 → 1.2.118
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 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +3 -13
- package/dist/index.mjs +46 -58
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6817,7 +6817,6 @@ declare class OrderStockENTITY {
|
|
|
6817
6817
|
quantity: number;
|
|
6818
6818
|
invpool: string;
|
|
6819
6819
|
numero_de_peticion: string;
|
|
6820
|
-
stock_quantity_employee: StockQuantityEmployeeDTO[];
|
|
6821
6820
|
state_consumption: StateInventory;
|
|
6822
6821
|
state_replacement: StateInventory;
|
|
6823
6822
|
ID_StockPersonal: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -6817,7 +6817,6 @@ declare class OrderStockENTITY {
|
|
|
6817
6817
|
quantity: number;
|
|
6818
6818
|
invpool: string;
|
|
6819
6819
|
numero_de_peticion: string;
|
|
6820
|
-
stock_quantity_employee: StockQuantityEmployeeDTO[];
|
|
6821
6820
|
state_consumption: StateInventory;
|
|
6822
6821
|
state_replacement: StateInventory;
|
|
6823
6822
|
ID_StockPersonal: number;
|
package/dist/index.js
CHANGED
|
@@ -20170,7 +20170,6 @@ __decorateClass([
|
|
|
20170
20170
|
// src/programados/Reportes/ReporteProduccion/Alemania/Resumen/shared/dto/detalle-alemania-dto.ts
|
|
20171
20171
|
var import_class_transformer359 = require("class-transformer");
|
|
20172
20172
|
var import_class_validator360 = require("class-validator");
|
|
20173
|
-
var import_procesos = require("src/programados/procesos");
|
|
20174
20173
|
|
|
20175
20174
|
// src/programados/Reportes/ReporteProduccion/Alemania/Resumen/shared/dto/ultimo-estado-cliente-dto.ts
|
|
20176
20175
|
var import_class_transformer358 = require("class-transformer");
|
|
@@ -20434,7 +20433,7 @@ __decorateClass([
|
|
|
20434
20433
|
], DetalleAlemaniaDTO.prototype, "ActaFinal", 2);
|
|
20435
20434
|
__decorateClass([
|
|
20436
20435
|
(0, import_class_validator360.IsDefined)({ message: "El campo Historico es obligatorio" }),
|
|
20437
|
-
(0, import_class_transformer359.Type)(() =>
|
|
20436
|
+
(0, import_class_transformer359.Type)(() => HistoricoDTO),
|
|
20438
20437
|
(0, import_class_transformer359.Expose)(),
|
|
20439
20438
|
(0, import_class_validator360.IsArray)(),
|
|
20440
20439
|
(0, import_class_validator360.ValidateNested)({ each: true })
|
|
@@ -21044,7 +21043,6 @@ __decorateClass([
|
|
|
21044
21043
|
], ResumenProcessPartesDiariosDTO.prototype, "Valorizaciones", 2);
|
|
21045
21044
|
|
|
21046
21045
|
// src/programados/Reportes/ReporteProduccion/Alemania/Resumen/shared/index.ts
|
|
21047
|
-
var import_procesos2 = require("src/programados/procesos");
|
|
21048
21046
|
var ResumemENTITY = class {
|
|
21049
21047
|
ID_incidencia = 0;
|
|
21050
21048
|
ID_MacroObra = 0;
|
|
@@ -21079,7 +21077,7 @@ var ResumemENTITY = class {
|
|
|
21079
21077
|
GranTotalGeneral = 0;
|
|
21080
21078
|
CoeficienteMaterial = 0;
|
|
21081
21079
|
Facturacion = new ResumenProcessFacturacionDTO();
|
|
21082
|
-
DetalleChile = new
|
|
21080
|
+
DetalleChile = new DetalleChileAlemaniaObraDTO();
|
|
21083
21081
|
};
|
|
21084
21082
|
__decorateClass([
|
|
21085
21083
|
(0, import_class_validator374.IsDefined)({ message: "El campo ID_incidencia es obligatorio" }),
|
|
@@ -21283,7 +21281,7 @@ __decorateClass([
|
|
|
21283
21281
|
], ResumemENTITY.prototype, "Facturacion", 2);
|
|
21284
21282
|
__decorateClass([
|
|
21285
21283
|
(0, import_class_validator374.IsDefined)({ message: "El campo DetalleChile es obligatorio" }),
|
|
21286
|
-
(0, import_class_transformer373.Type)(() =>
|
|
21284
|
+
(0, import_class_transformer373.Type)(() => DetalleChileAlemaniaObraDTO),
|
|
21287
21285
|
(0, import_class_transformer373.Expose)(),
|
|
21288
21286
|
(0, import_class_validator374.ValidateNested)()
|
|
21289
21287
|
], ResumemENTITY.prototype, "DetalleChile", 2);
|
|
@@ -36193,7 +36191,6 @@ var OrderStockENTITY = class {
|
|
|
36193
36191
|
quantity;
|
|
36194
36192
|
invpool = "";
|
|
36195
36193
|
numero_de_peticion;
|
|
36196
|
-
stock_quantity_employee = [];
|
|
36197
36194
|
state_consumption;
|
|
36198
36195
|
state_replacement;
|
|
36199
36196
|
ID_StockPersonal = 0;
|
|
@@ -36235,13 +36232,6 @@ __decorateClass([
|
|
|
36235
36232
|
(0, import_class_validator571.IsDefined)({ message: "El campo N\xFAmero de Petici\xF3n es obligatorio." }),
|
|
36236
36233
|
(0, import_class_validator571.IsString)()
|
|
36237
36234
|
], OrderStockENTITY.prototype, "numero_de_peticion", 2);
|
|
36238
|
-
__decorateClass([
|
|
36239
|
-
(0, import_class_validator571.IsDefined)({ message: "El campo stock_quantity_employee es obligatorio" }),
|
|
36240
|
-
(0, import_class_validator571.IsArray)({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
|
|
36241
|
-
(0, import_class_validator571.ValidateNested)({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
|
|
36242
|
-
(0, import_class_transformer570.Type)(() => StockQuantityEmployeeDTO),
|
|
36243
|
-
(0, import_class_transformer570.Expose)()
|
|
36244
|
-
], OrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
36245
36235
|
__decorateClass([
|
|
36246
36236
|
(0, import_class_validator571.IsDefined)({ message: "El campo estado consumo es obligatorio." }),
|
|
36247
36237
|
(0, import_class_transformer570.Expose)(),
|
package/dist/index.mjs
CHANGED
|
@@ -19676,7 +19676,6 @@ __decorateClass([
|
|
|
19676
19676
|
// src/programados/Reportes/ReporteProduccion/Alemania/Resumen/shared/dto/detalle-alemania-dto.ts
|
|
19677
19677
|
import { Expose as Expose357, Type as Type251 } from "class-transformer";
|
|
19678
19678
|
import { IsArray as IsArray134, IsDate as IsDate80, IsString as IsString265, Length as Length195, ValidateNested as ValidateNested229, MinLength as MinLength40, IsDefined as IsDefined103 } from "class-validator";
|
|
19679
|
-
import { HistoricoDTO as HistoricoDTO2 } from "src/programados/procesos";
|
|
19680
19679
|
|
|
19681
19680
|
// src/programados/Reportes/ReporteProduccion/Alemania/Resumen/shared/dto/ultimo-estado-cliente-dto.ts
|
|
19682
19681
|
import { Expose as Expose356, Type as Type250 } from "class-transformer";
|
|
@@ -19948,7 +19947,7 @@ __decorateClass([
|
|
|
19948
19947
|
], DetalleAlemaniaDTO.prototype, "ActaFinal", 2);
|
|
19949
19948
|
__decorateClass([
|
|
19950
19949
|
IsDefined103({ message: "El campo Historico es obligatorio" }),
|
|
19951
|
-
Type251(() =>
|
|
19950
|
+
Type251(() => HistoricoDTO),
|
|
19952
19951
|
Expose357(),
|
|
19953
19952
|
IsArray134(),
|
|
19954
19953
|
ValidateNested229({ each: true })
|
|
@@ -20558,7 +20557,6 @@ __decorateClass([
|
|
|
20558
20557
|
], ResumenProcessPartesDiariosDTO.prototype, "Valorizaciones", 2);
|
|
20559
20558
|
|
|
20560
20559
|
// src/programados/Reportes/ReporteProduccion/Alemania/Resumen/shared/index.ts
|
|
20561
|
-
import { DetalleChileAlemaniaObraDTO as DetalleChileAlemaniaObraDTO2 } from "src/programados/procesos";
|
|
20562
20560
|
var ResumemENTITY = class {
|
|
20563
20561
|
ID_incidencia = 0;
|
|
20564
20562
|
ID_MacroObra = 0;
|
|
@@ -20593,7 +20591,7 @@ var ResumemENTITY = class {
|
|
|
20593
20591
|
GranTotalGeneral = 0;
|
|
20594
20592
|
CoeficienteMaterial = 0;
|
|
20595
20593
|
Facturacion = new ResumenProcessFacturacionDTO();
|
|
20596
|
-
DetalleChile = new
|
|
20594
|
+
DetalleChile = new DetalleChileAlemaniaObraDTO();
|
|
20597
20595
|
};
|
|
20598
20596
|
__decorateClass([
|
|
20599
20597
|
IsDefined116({ message: "El campo ID_incidencia es obligatorio" }),
|
|
@@ -20797,7 +20795,7 @@ __decorateClass([
|
|
|
20797
20795
|
], ResumemENTITY.prototype, "Facturacion", 2);
|
|
20798
20796
|
__decorateClass([
|
|
20799
20797
|
IsDefined116({ message: "El campo DetalleChile es obligatorio" }),
|
|
20800
|
-
Type260(() =>
|
|
20798
|
+
Type260(() => DetalleChileAlemaniaObraDTO),
|
|
20801
20799
|
Expose371(),
|
|
20802
20800
|
ValidateNested235()
|
|
20803
20801
|
], ResumemENTITY.prototype, "DetalleChile", 2);
|
|
@@ -35828,17 +35826,15 @@ __decorateClass([
|
|
|
35828
35826
|
], Peru9112FibramasENTITY.prototype, "EECC", 2);
|
|
35829
35827
|
|
|
35830
35828
|
// src/operativa/procesos/order stock/shared/index.ts
|
|
35831
|
-
import { Expose as Expose568
|
|
35829
|
+
import { Expose as Expose568 } from "class-transformer";
|
|
35832
35830
|
import {
|
|
35833
|
-
IsArray as IsArray197,
|
|
35834
35831
|
IsDefined as IsDefined172,
|
|
35835
35832
|
IsEnum as IsEnum25,
|
|
35836
35833
|
IsNotEmpty as IsNotEmpty379,
|
|
35837
35834
|
IsNumber as IsNumber376,
|
|
35838
35835
|
IsString as IsString464,
|
|
35839
35836
|
IsUUID as IsUUID8,
|
|
35840
|
-
MaxLength as MaxLength3
|
|
35841
|
-
ValidateNested as ValidateNested330
|
|
35837
|
+
MaxLength as MaxLength3
|
|
35842
35838
|
} from "class-validator";
|
|
35843
35839
|
var OrderStockENTITY = class {
|
|
35844
35840
|
_id;
|
|
@@ -35848,7 +35844,6 @@ var OrderStockENTITY = class {
|
|
|
35848
35844
|
quantity;
|
|
35849
35845
|
invpool = "";
|
|
35850
35846
|
numero_de_peticion;
|
|
35851
|
-
stock_quantity_employee = [];
|
|
35852
35847
|
state_consumption;
|
|
35853
35848
|
state_replacement;
|
|
35854
35849
|
ID_StockPersonal = 0;
|
|
@@ -35890,13 +35885,6 @@ __decorateClass([
|
|
|
35890
35885
|
IsDefined172({ message: "El campo N\xFAmero de Petici\xF3n es obligatorio." }),
|
|
35891
35886
|
IsString464()
|
|
35892
35887
|
], OrderStockENTITY.prototype, "numero_de_peticion", 2);
|
|
35893
|
-
__decorateClass([
|
|
35894
|
-
IsDefined172({ message: "El campo stock_quantity_employee es obligatorio" }),
|
|
35895
|
-
IsArray197({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
|
|
35896
|
-
ValidateNested330({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
|
|
35897
|
-
Type371(() => StockQuantityEmployeeDTO),
|
|
35898
|
-
Expose568()
|
|
35899
|
-
], OrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
35900
35888
|
__decorateClass([
|
|
35901
35889
|
IsDefined172({ message: "El campo estado consumo es obligatorio." }),
|
|
35902
35890
|
Expose568(),
|
|
@@ -35914,8 +35902,8 @@ __decorateClass([
|
|
|
35914
35902
|
], OrderStockENTITY.prototype, "ID_StockPersonal", 2);
|
|
35915
35903
|
|
|
35916
35904
|
// src/operativa/procesos/TOA orden liquidacion/shared/index.ts
|
|
35917
|
-
import { Expose as Expose569, Type as
|
|
35918
|
-
import { IsArray as
|
|
35905
|
+
import { Expose as Expose569, Type as Type371 } from "class-transformer";
|
|
35906
|
+
import { IsArray as IsArray197, IsDefined as IsDefined173, IsEnum as IsEnum26, IsNumber as IsNumber377, IsObject as IsObject10, IsString as IsString465, IsUUID as IsUUID9, ValidateNested as ValidateNested330 } from "class-validator";
|
|
35919
35907
|
var TOAOrdenLiquidacionENTITY = class {
|
|
35920
35908
|
_id;
|
|
35921
35909
|
tecnico;
|
|
@@ -35946,61 +35934,61 @@ __decorateClass([
|
|
|
35946
35934
|
], TOAOrdenLiquidacionENTITY.prototype, "_id", 2);
|
|
35947
35935
|
__decorateClass([
|
|
35948
35936
|
Expose569({ name: "T\xE9cnico" }),
|
|
35949
|
-
|
|
35937
|
+
Type371(() => String),
|
|
35950
35938
|
IsDefined173({ message: "El campo T\xE9cnico es obligatorio." }),
|
|
35951
35939
|
IsString465()
|
|
35952
35940
|
], TOAOrdenLiquidacionENTITY.prototype, "tecnico", 2);
|
|
35953
35941
|
__decorateClass([
|
|
35954
35942
|
Expose569({ name: "ID Recurso" }),
|
|
35955
|
-
|
|
35943
|
+
Type371(() => String),
|
|
35956
35944
|
IsDefined173({ message: "El campo ID Recurso es obligatorio." }),
|
|
35957
35945
|
IsString465()
|
|
35958
35946
|
], TOAOrdenLiquidacionENTITY.prototype, "id_recurso", 2);
|
|
35959
35947
|
__decorateClass([
|
|
35960
35948
|
Expose569({ name: "N\xFAmero OT" }),
|
|
35961
|
-
|
|
35949
|
+
Type371(() => Number),
|
|
35962
35950
|
IsDefined173({ message: "El campo N\xFAmero OT es obligatorio." }),
|
|
35963
35951
|
IsNumber377()
|
|
35964
35952
|
], TOAOrdenLiquidacionENTITY.prototype, "numero_ot", 2);
|
|
35965
35953
|
__decorateClass([
|
|
35966
35954
|
Expose569({ name: "Subtipo de Actividad" }),
|
|
35967
|
-
|
|
35955
|
+
Type371(() => String),
|
|
35968
35956
|
IsDefined173({ message: "El campo Subtipo de Actividad es obligatorio." }),
|
|
35969
35957
|
IsString465()
|
|
35970
35958
|
], TOAOrdenLiquidacionENTITY.prototype, "subtipo_de_actividad", 2);
|
|
35971
35959
|
__decorateClass([
|
|
35972
35960
|
Expose569({ name: "N\xFAmero de Petici\xF3n" }),
|
|
35973
|
-
|
|
35961
|
+
Type371(() => String),
|
|
35974
35962
|
IsDefined173({ message: "El campo N\xFAmero de Petici\xF3n es obligatorio." }),
|
|
35975
35963
|
IsString465()
|
|
35976
35964
|
], TOAOrdenLiquidacionENTITY.prototype, "numero_de_peticion", 2);
|
|
35977
35965
|
__decorateClass([
|
|
35978
35966
|
Expose569({ name: "Localidad" }),
|
|
35979
|
-
|
|
35967
|
+
Type371(() => String),
|
|
35980
35968
|
IsDefined173({ message: "El campo Localidad es obligatorio." }),
|
|
35981
35969
|
IsString465()
|
|
35982
35970
|
], TOAOrdenLiquidacionENTITY.prototype, "localidad", 2);
|
|
35983
35971
|
__decorateClass([
|
|
35984
35972
|
Expose569({ name: "Direcci\xF3n" }),
|
|
35985
|
-
|
|
35973
|
+
Type371(() => String),
|
|
35986
35974
|
IsDefined173({ message: "El campo Direcci\xF3n es obligatorio." }),
|
|
35987
35975
|
IsString465()
|
|
35988
35976
|
], TOAOrdenLiquidacionENTITY.prototype, "direccion", 2);
|
|
35989
35977
|
__decorateClass([
|
|
35990
35978
|
Expose569({ name: "Zona de Trabajo" }),
|
|
35991
|
-
|
|
35979
|
+
Type371(() => String),
|
|
35992
35980
|
IsDefined173({ message: "El campo Zona de Trabajo es obligatorio." }),
|
|
35993
35981
|
IsString465()
|
|
35994
35982
|
], TOAOrdenLiquidacionENTITY.prototype, "zona_de_trabajo", 2);
|
|
35995
35983
|
__decorateClass([
|
|
35996
35984
|
Expose569({ name: "Nombre Cliente" }),
|
|
35997
|
-
|
|
35985
|
+
Type371(() => String),
|
|
35998
35986
|
IsDefined173({ message: "El campo Nombre Cliente es obligatorio." }),
|
|
35999
35987
|
IsString465()
|
|
36000
35988
|
], TOAOrdenLiquidacionENTITY.prototype, "nombre_cliente", 2);
|
|
36001
35989
|
__decorateClass([
|
|
36002
35990
|
Expose569({ name: "Estado actividad" }),
|
|
36003
|
-
|
|
35991
|
+
Type371(() => String),
|
|
36004
35992
|
IsDefined173({ message: "El campo Estado actividad es obligatorio." }),
|
|
36005
35993
|
IsString465()
|
|
36006
35994
|
], TOAOrdenLiquidacionENTITY.prototype, "estado_actividad", 2);
|
|
@@ -36011,25 +35999,25 @@ __decorateClass([
|
|
|
36011
35999
|
], TOAOrdenLiquidacionENTITY.prototype, "estado_interno", 2);
|
|
36012
36000
|
__decorateClass([
|
|
36013
36001
|
Expose569({ name: "C\xF3digo de Cliente" }),
|
|
36014
|
-
|
|
36002
|
+
Type371(() => Number),
|
|
36015
36003
|
IsDefined173({ message: "El campo C\xF3digo de Cliente es obligatorio." }),
|
|
36016
36004
|
IsNumber377()
|
|
36017
36005
|
], TOAOrdenLiquidacionENTITY.prototype, "codigo_de_cliente", 2);
|
|
36018
36006
|
__decorateClass([
|
|
36019
36007
|
Expose569({ name: "Actividad Gpon" }),
|
|
36020
|
-
|
|
36008
|
+
Type371(() => String),
|
|
36021
36009
|
IsDefined173({ message: "El campo Actividad Gpon es obligatorio." }),
|
|
36022
36010
|
IsString465()
|
|
36023
36011
|
], TOAOrdenLiquidacionENTITY.prototype, "actividad_gpon", 2);
|
|
36024
36012
|
__decorateClass([
|
|
36025
36013
|
Expose569({ name: "Nombre Distrito" }),
|
|
36026
|
-
|
|
36014
|
+
Type371(() => String),
|
|
36027
36015
|
IsDefined173({ message: "El campo Nombre Distrito es obligatorio." }),
|
|
36028
36016
|
IsString465()
|
|
36029
36017
|
], TOAOrdenLiquidacionENTITY.prototype, "nombre_distrito", 2);
|
|
36030
36018
|
__decorateClass([
|
|
36031
36019
|
Expose569({ name: "N\xFAmero Tel\xE9fono" }),
|
|
36032
|
-
|
|
36020
|
+
Type371(() => String),
|
|
36033
36021
|
IsDefined173({ message: "El campo N\xFAmero Tel\xE9fono es obligatorio." }),
|
|
36034
36022
|
IsString465()
|
|
36035
36023
|
], TOAOrdenLiquidacionENTITY.prototype, "numero_telefono", 2);
|
|
@@ -36037,38 +36025,38 @@ __decorateClass([
|
|
|
36037
36025
|
Expose569({ name: "Segmento" }),
|
|
36038
36026
|
IsDefined173({ message: "El campo Segmento es obligatorio." }),
|
|
36039
36027
|
IsObject10(),
|
|
36040
|
-
|
|
36041
|
-
|
|
36028
|
+
ValidateNested330(),
|
|
36029
|
+
Type371(() => ToaSegmentoDTO)
|
|
36042
36030
|
], TOAOrdenLiquidacionENTITY.prototype, "segmento", 2);
|
|
36043
36031
|
__decorateClass([
|
|
36044
36032
|
Expose569({ name: "Nombre de Provincia" }),
|
|
36045
|
-
|
|
36033
|
+
Type371(() => String),
|
|
36046
36034
|
IsDefined173({ message: "El campo Nombre de Provincia es obligatorio." }),
|
|
36047
36035
|
IsString465()
|
|
36048
36036
|
], TOAOrdenLiquidacionENTITY.prototype, "nombre_de_provincia", 2);
|
|
36049
36037
|
__decorateClass([
|
|
36050
36038
|
Expose569({ name: "Departamento" }),
|
|
36051
|
-
|
|
36039
|
+
Type371(() => String),
|
|
36052
36040
|
IsDefined173({ message: "El campo Departamento es obligatorio." }),
|
|
36053
36041
|
IsString465()
|
|
36054
36042
|
], TOAOrdenLiquidacionENTITY.prototype, "departamento", 2);
|
|
36055
36043
|
__decorateClass([
|
|
36056
36044
|
Expose569({ name: "Reiterada TDI" }),
|
|
36057
|
-
|
|
36045
|
+
Type371(() => String),
|
|
36058
36046
|
IsDefined173({ message: "El campo Reiterada TDI es obligatorio." }),
|
|
36059
36047
|
IsString465()
|
|
36060
36048
|
], TOAOrdenLiquidacionENTITY.prototype, "reiterada_tdi", 2);
|
|
36061
36049
|
__decorateClass([
|
|
36062
36050
|
Expose569({ name: "Inventario" }),
|
|
36063
36051
|
IsDefined173({ message: "El campo inventario es obligatorio." }),
|
|
36064
|
-
|
|
36065
|
-
|
|
36066
|
-
|
|
36052
|
+
IsArray197(),
|
|
36053
|
+
ValidateNested330({ each: true }),
|
|
36054
|
+
Type371(() => MaterialestoaDTO)
|
|
36067
36055
|
], TOAOrdenLiquidacionENTITY.prototype, "inventario", 2);
|
|
36068
36056
|
|
|
36069
36057
|
// src/operativa/procesos/TOA orden liquidacion_db/shared/index.ts
|
|
36070
|
-
import { Expose as Expose570, Type as
|
|
36071
|
-
import { IsArray as
|
|
36058
|
+
import { Expose as Expose570, Type as Type372 } from "class-transformer";
|
|
36059
|
+
import { IsArray as IsArray198, IsDefined as IsDefined174, IsEnum as IsEnum27, IsNumber as IsNumber378, IsObject as IsObject11, IsString as IsString466, IsUUID as IsUUID10, ValidateNested as ValidateNested331 } from "class-validator";
|
|
36072
36060
|
var TOAOrdenLiquidacionENTITYDB = class {
|
|
36073
36061
|
_id = "";
|
|
36074
36062
|
tecnico = "";
|
|
@@ -36170,15 +36158,15 @@ __decorateClass([
|
|
|
36170
36158
|
__decorateClass([
|
|
36171
36159
|
Expose570(),
|
|
36172
36160
|
IsDefined174({ message: "El campo N\xFAmero Tel\xE9fono es obligatorio." }),
|
|
36173
|
-
|
|
36161
|
+
Type372(() => String),
|
|
36174
36162
|
IsString466()
|
|
36175
36163
|
], TOAOrdenLiquidacionENTITYDB.prototype, "numero_telefono", 2);
|
|
36176
36164
|
__decorateClass([
|
|
36177
36165
|
Expose570(),
|
|
36178
36166
|
IsDefined174({ message: "El campo Segmento es obligatorio." }),
|
|
36179
36167
|
IsObject11(),
|
|
36180
|
-
|
|
36181
|
-
|
|
36168
|
+
ValidateNested331(),
|
|
36169
|
+
Type372(() => ToaSegmentoDBDTO)
|
|
36182
36170
|
], TOAOrdenLiquidacionENTITYDB.prototype, "segmento", 2);
|
|
36183
36171
|
__decorateClass([
|
|
36184
36172
|
Expose570(),
|
|
@@ -36198,14 +36186,14 @@ __decorateClass([
|
|
|
36198
36186
|
__decorateClass([
|
|
36199
36187
|
Expose570(),
|
|
36200
36188
|
IsDefined174({ message: "El campo inventario es obligatorio." }),
|
|
36201
|
-
|
|
36202
|
-
|
|
36203
|
-
|
|
36189
|
+
IsArray198(),
|
|
36190
|
+
ValidateNested331({ each: true }),
|
|
36191
|
+
Type372(() => MaterialestoaDBDTO)
|
|
36204
36192
|
], TOAOrdenLiquidacionENTITYDB.prototype, "inventario", 2);
|
|
36205
36193
|
|
|
36206
36194
|
// src/operativa/procesos/TOA Claro order stock/shared/index.ts
|
|
36207
|
-
import { Expose as Expose571, Type as
|
|
36208
|
-
import { IsArray as
|
|
36195
|
+
import { Expose as Expose571, Type as Type373 } from "class-transformer";
|
|
36196
|
+
import { IsArray as IsArray199, IsDefined as IsDefined175, IsEnum as IsEnum28, IsNotEmpty as IsNotEmpty380, IsNumber as IsNumber379, IsString as IsString467, IsUUID as IsUUID11, MaxLength as MaxLength4, ValidateNested as ValidateNested332 } from "class-validator";
|
|
36209
36197
|
var TOAClaroOrderStockENTITY = class {
|
|
36210
36198
|
_id;
|
|
36211
36199
|
id_recurso;
|
|
@@ -36257,9 +36245,9 @@ __decorateClass([
|
|
|
36257
36245
|
], TOAClaroOrderStockENTITY.prototype, "numero_de_peticion", 2);
|
|
36258
36246
|
__decorateClass([
|
|
36259
36247
|
IsDefined175({ message: "El campo stock_quantity_employee es obligatorio" }),
|
|
36260
|
-
|
|
36261
|
-
|
|
36262
|
-
|
|
36248
|
+
IsArray199({ message: "El campo stock_quantity_employee debe ser un arreglo" }),
|
|
36249
|
+
ValidateNested332({ each: true, message: "Cada elemento del campo stock_quantity_employee debe ser una instancia v\xE1lida" }),
|
|
36250
|
+
Type373(() => StockQuantityEmployeeDTO),
|
|
36263
36251
|
Expose571()
|
|
36264
36252
|
], TOAClaroOrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
36265
36253
|
__decorateClass([
|
|
@@ -36300,8 +36288,8 @@ __decorateClass([
|
|
|
36300
36288
|
], CodigoNombreMinLengthDto.prototype, "nombre", 2);
|
|
36301
36289
|
|
|
36302
36290
|
// src/v2/entities/Delegacion.ts
|
|
36303
|
-
import { Expose as Expose574, Type as
|
|
36304
|
-
import { IsDefined as IsDefined178, IsObject as IsObject12, IsString as IsString469, MinLength as MinLength49, ValidateNested as
|
|
36291
|
+
import { Expose as Expose574, Type as Type374 } from "class-transformer";
|
|
36292
|
+
import { IsDefined as IsDefined178, IsObject as IsObject12, IsString as IsString469, MinLength as MinLength49, ValidateNested as ValidateNested333 } from "class-validator";
|
|
36305
36293
|
|
|
36306
36294
|
// src/v2/entities/Base.ts
|
|
36307
36295
|
import { Expose as Expose573 } from "class-transformer";
|
|
@@ -36329,9 +36317,9 @@ var DelegacionEntity = class extends BaseEntity {
|
|
|
36329
36317
|
};
|
|
36330
36318
|
__decorateClass([
|
|
36331
36319
|
IsDefined178({ message: 'La propiedad "pais" es obligatoria.' }),
|
|
36332
|
-
|
|
36320
|
+
Type374(() => CodigoNombreMinLengthDto),
|
|
36333
36321
|
IsObject12({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
|
|
36334
|
-
|
|
36322
|
+
ValidateNested333({ message: 'La propiedad "pais" no es v\xE1lida.' }),
|
|
36335
36323
|
Expose574()
|
|
36336
36324
|
], DelegacionEntity.prototype, "pais", 2);
|
|
36337
36325
|
__decorateClass([
|