sigo-entities 1.2.526 → 1.2.528
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +480 -479
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6882,7 +6882,7 @@ __decorateClass([
|
|
|
6882
6882
|
|
|
6883
6883
|
// src/programados/procesos/reservaManoObra/shared/dto/detalle-chile-dto.ts
|
|
6884
6884
|
import { IsDefined as IsDefined41, IsNumber as IsNumber100, IsString as IsString115, Min as Min87, MinLength as MinLength11, ValidateNested as ValidateNested82 } from "class-validator";
|
|
6885
|
-
import { Expose as Expose141, Type as Type91 } from "class-transformer";
|
|
6885
|
+
import { Expose as Expose141, Transform as Transform26, Type as Type91 } from "class-transformer";
|
|
6886
6886
|
var DetalleChileValorizacionMODTO = class {
|
|
6887
6887
|
Codigo = "";
|
|
6888
6888
|
Linea = "";
|
|
@@ -7053,7 +7053,8 @@ __decorateClass([
|
|
|
7053
7053
|
IsDefined41({ message: "es requerido" }),
|
|
7054
7054
|
IsString115({ message: "debe ser un texto" }),
|
|
7055
7055
|
MinLength11(0, { message: "debe tener al menos 0 caracter" }),
|
|
7056
|
-
Expose141()
|
|
7056
|
+
Expose141(),
|
|
7057
|
+
Transform26(({ value }) => typeof value === "number" ? String(value) : value)
|
|
7057
7058
|
], DetalleChileValorizacionMODTO.prototype, "Origen", 2);
|
|
7058
7059
|
__decorateClass([
|
|
7059
7060
|
IsDefined41({ message: "es requerido" }),
|
|
@@ -7866,7 +7867,7 @@ __decorateClass([
|
|
|
7866
7867
|
], ProduccionDTO.prototype, "CentroCostos", 2);
|
|
7867
7868
|
|
|
7868
7869
|
// src/programados/procesos/trabajo/shared/dto/detalle-chile-dto.ts
|
|
7869
|
-
import { Expose as Expose158, Transform as
|
|
7870
|
+
import { Expose as Expose158, Transform as Transform27, Type as Type104 } from "class-transformer";
|
|
7870
7871
|
import { IsDefined as IsDefined52, IsNotEmpty as IsNotEmpty108, IsNumber as IsNumber113, IsString as IsString128, Length as Length92, Min as Min96, MinLength as MinLength17, ValidateNested as ValidateNested93 } from "class-validator";
|
|
7871
7872
|
var DetalleChileDTO = class {
|
|
7872
7873
|
Codigo = "";
|
|
@@ -8023,7 +8024,7 @@ __decorateClass([
|
|
|
8023
8024
|
], DetalleChileDTO.prototype, "CanUOApr", 2);
|
|
8024
8025
|
__decorateClass([
|
|
8025
8026
|
IsDefined52({ message: "es requerido" }),
|
|
8026
|
-
|
|
8027
|
+
Transform27(({ value }) => {
|
|
8027
8028
|
const num = Number(value);
|
|
8028
8029
|
return isNaN(num) ? value : num;
|
|
8029
8030
|
}),
|
|
@@ -8392,7 +8393,7 @@ __decorateClass([
|
|
|
8392
8393
|
], SubManoObraDTO.prototype, "Cantidad", 2);
|
|
8393
8394
|
|
|
8394
8395
|
// src/programados/procesos/trabajo/shared/dto/ubicacion-dto.ts
|
|
8395
|
-
import { Expose as Expose166, Transform as
|
|
8396
|
+
import { Expose as Expose166, Transform as Transform28, Type as Type108 } from "class-transformer";
|
|
8396
8397
|
import { IsNotEmpty as IsNotEmpty115, IsString as IsString135, Length as Length98, MinLength as MinLength21, ValidateNested as ValidateNested97 } from "class-validator";
|
|
8397
8398
|
var UbicacionDTO = class {
|
|
8398
8399
|
Direccion = "";
|
|
@@ -8409,7 +8410,7 @@ __decorateClass([
|
|
|
8409
8410
|
Expose166()
|
|
8410
8411
|
], UbicacionDTO.prototype, "Direccion", 2);
|
|
8411
8412
|
__decorateClass([
|
|
8412
|
-
|
|
8413
|
+
Transform28(({ value }) => value === null ? "" : value),
|
|
8413
8414
|
IsString135({ message: "debe ser un texto" }),
|
|
8414
8415
|
MinLength21(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
8415
8416
|
Expose166()
|
|
@@ -8421,7 +8422,7 @@ __decorateClass([
|
|
|
8421
8422
|
ValidateNested97()
|
|
8422
8423
|
], UbicacionDTO.prototype, "Coordenadas", 2);
|
|
8423
8424
|
__decorateClass([
|
|
8424
|
-
|
|
8425
|
+
Transform28(({ value }) => value === null ? "" : value),
|
|
8425
8426
|
IsString135({ message: "debe ser un texto" }),
|
|
8426
8427
|
MinLength21(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
8427
8428
|
Expose166()
|
|
@@ -8823,7 +8824,7 @@ __decorateClass([
|
|
|
8823
8824
|
], ValorizacionesDTO.prototype, "Estado", 2);
|
|
8824
8825
|
|
|
8825
8826
|
// src/programados/procesos/trabajo/shared/dto/personal-trabajo-dto.ts
|
|
8826
|
-
import { Expose as Expose170, Transform as
|
|
8827
|
+
import { Expose as Expose170, Transform as Transform29 } from "class-transformer";
|
|
8827
8828
|
import { IsNumber as IsNumber121, IsString as IsString138, Length as Length101, MinLength as MinLength23 } from "class-validator";
|
|
8828
8829
|
var PersonalTrabajoDTO = class {
|
|
8829
8830
|
Identificacion = "";
|
|
@@ -8838,7 +8839,7 @@ __decorateClass([
|
|
|
8838
8839
|
Expose170()
|
|
8839
8840
|
], PersonalTrabajoDTO.prototype, "Identificacion", 2);
|
|
8840
8841
|
__decorateClass([
|
|
8841
|
-
|
|
8842
|
+
Transform29(({ value }) => value === "" ? 0 : value),
|
|
8842
8843
|
IsNumber121({}, { message: "debe ser un numero" }),
|
|
8843
8844
|
Expose170()
|
|
8844
8845
|
], PersonalTrabajoDTO.prototype, "IdPersonal", 2);
|
|
@@ -16323,7 +16324,7 @@ __decorateClass([
|
|
|
16323
16324
|
], TotalGeneralObraDTO.prototype, "ResumenAvance", 2);
|
|
16324
16325
|
|
|
16325
16326
|
// src/programados/procesos/obra/shared/dto/ubicacion-dto.ts
|
|
16326
|
-
import { Expose as Expose301, Transform as
|
|
16327
|
+
import { Expose as Expose301, Transform as Transform30, Type as Type209 } from "class-transformer";
|
|
16327
16328
|
import { IsNotEmpty as IsNotEmpty201, IsString as IsString230, Length as Length154, ValidateNested as ValidateNested191 } from "class-validator";
|
|
16328
16329
|
var UbicacionObraDTO = class {
|
|
16329
16330
|
Direccion = "";
|
|
@@ -16340,7 +16341,7 @@ __decorateClass([
|
|
|
16340
16341
|
Expose301()
|
|
16341
16342
|
], UbicacionObraDTO.prototype, "Direccion", 2);
|
|
16342
16343
|
__decorateClass([
|
|
16343
|
-
|
|
16344
|
+
Transform30(({ value }) => value === null ? "" : value),
|
|
16344
16345
|
IsString230({ message: "debe ser un texto" }),
|
|
16345
16346
|
Length154(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
16346
16347
|
Expose301()
|
|
@@ -16352,7 +16353,7 @@ __decorateClass([
|
|
|
16352
16353
|
ValidateNested191()
|
|
16353
16354
|
], UbicacionObraDTO.prototype, "Coordenadas", 2);
|
|
16354
16355
|
__decorateClass([
|
|
16355
|
-
|
|
16356
|
+
Transform30(({ value }) => value === null ? "" : value),
|
|
16356
16357
|
IsString230({ message: "debe ser un texto" }),
|
|
16357
16358
|
Length154(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
16358
16359
|
Expose301()
|
|
@@ -16964,7 +16965,7 @@ import { Expose as Expose317, Type as Type221 } from "class-transformer";
|
|
|
16964
16965
|
import { IsArray as IsArray125, IsNotEmpty as IsNotEmpty214, ValidateNested as ValidateNested203 } from "class-validator";
|
|
16965
16966
|
|
|
16966
16967
|
// src/programados/procesos/obra/alemania/shared/detalle-chile-alemania-obra-dto.ts
|
|
16967
|
-
import { Expose as Expose316, Transform as
|
|
16968
|
+
import { Expose as Expose316, Transform as Transform31, Type as Type220 } from "class-transformer";
|
|
16968
16969
|
import { IsArray as IsArray124, IsDate as IsDate61, IsNotEmpty as IsNotEmpty213, IsNumber as IsNumber219, IsString as IsString236, Length as Length158, Min as Min168, ValidateNested as ValidateNested202, MinLength as MinLength39 } from "class-validator";
|
|
16969
16970
|
var DetalleChileAlemaniaObraDTO = class {
|
|
16970
16971
|
codigoCalc = "";
|
|
@@ -17120,7 +17121,7 @@ __decorateClass([
|
|
|
17120
17121
|
IsNumber219({}, { message: "debe ser un numero" }),
|
|
17121
17122
|
Expose316(),
|
|
17122
17123
|
Min168(0),
|
|
17123
|
-
|
|
17124
|
+
Transform31(({ value }) => Number(value))
|
|
17124
17125
|
], DetalleChileAlemaniaObraDTO.prototype, "CostoTotal", 2);
|
|
17125
17126
|
__decorateClass([
|
|
17126
17127
|
Type220(() => HistoricoDTO),
|
|
@@ -18763,11 +18764,11 @@ __decorateClass([
|
|
|
18763
18764
|
], GomENTITY.prototype, "Anexos", 2);
|
|
18764
18765
|
|
|
18765
18766
|
// src/programados/procesos/cubicacion/shared/index.ts
|
|
18766
|
-
import { Expose as Expose346, Transform as
|
|
18767
|
+
import { Expose as Expose346, Transform as Transform34, Type as Type242 } from "class-transformer";
|
|
18767
18768
|
import { IsArray as IsArray138, IsDate as IsDate70, IsDefined as IsDefined101, IsEnum as IsEnum6, IsNumber as IsNumber241, IsString as IsString254, Min as Min189, MinLength as MinLength43, ValidateNested as ValidateNested221 } from "class-validator";
|
|
18768
18769
|
|
|
18769
18770
|
// src/programados/procesos/cubicacion/shared/dto/cabecera-cubicaje-dto.ts
|
|
18770
|
-
import { Expose as Expose344, Transform as
|
|
18771
|
+
import { Expose as Expose344, Transform as Transform32, Type as Type241 } from "class-transformer";
|
|
18771
18772
|
import { IsDate as IsDate69, IsDefined as IsDefined99, IsNumber as IsNumber239, IsString as IsString252, Min as Min187, MinLength as MinLength41 } from "class-validator";
|
|
18772
18773
|
var CabeceraCubicajeDTO = class {
|
|
18773
18774
|
codigoCalc = "";
|
|
@@ -18813,14 +18814,14 @@ __decorateClass([
|
|
|
18813
18814
|
Expose344()
|
|
18814
18815
|
], CabeceraCubicajeDTO.prototype, "nombre", 2);
|
|
18815
18816
|
__decorateClass([
|
|
18816
|
-
|
|
18817
|
+
Transform32(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
18817
18818
|
IsDefined99({ message: "es requerido" }),
|
|
18818
18819
|
IsString252({ message: "debe ser un texto" }),
|
|
18819
18820
|
MinLength41(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
18820
18821
|
Expose344()
|
|
18821
18822
|
], CabeceraCubicajeDTO.prototype, "contrato", 2);
|
|
18822
18823
|
__decorateClass([
|
|
18823
|
-
|
|
18824
|
+
Transform32(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
18824
18825
|
IsDefined99({ message: "es requerido" }),
|
|
18825
18826
|
IsString252({ message: "debe ser un texto" }),
|
|
18826
18827
|
MinLength41(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
@@ -18833,7 +18834,7 @@ __decorateClass([
|
|
|
18833
18834
|
Expose344()
|
|
18834
18835
|
], CabeceraCubicajeDTO.prototype, "numoe", 2);
|
|
18835
18836
|
__decorateClass([
|
|
18836
|
-
|
|
18837
|
+
Transform32(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
18837
18838
|
IsDefined99({ message: "es requerido" }),
|
|
18838
18839
|
IsString252({ message: "debe ser un texto" }),
|
|
18839
18840
|
MinLength41(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
@@ -18934,7 +18935,7 @@ __decorateClass([
|
|
|
18934
18935
|
], CabeceraCubicajeDTO.prototype, "CostoTotal", 2);
|
|
18935
18936
|
|
|
18936
18937
|
// src/programados/procesos/cubicacion/shared/dto/detalle-cubicaje-dto.ts
|
|
18937
|
-
import { Expose as Expose345, Transform as
|
|
18938
|
+
import { Expose as Expose345, Transform as Transform33 } from "class-transformer";
|
|
18938
18939
|
import { IsNumber as IsNumber240, IsString as IsString253, MinLength as MinLength42, Min as Min188, IsDefined as IsDefined100 } from "class-validator";
|
|
18939
18940
|
var DetalleCubicajeDTO = class {
|
|
18940
18941
|
codigo = "";
|
|
@@ -18995,19 +18996,19 @@ __decorateClass([
|
|
|
18995
18996
|
Expose345()
|
|
18996
18997
|
], DetalleCubicajeDTO.prototype, "plano", 2);
|
|
18997
18998
|
__decorateClass([
|
|
18998
|
-
|
|
18999
|
+
Transform33(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
18999
19000
|
IsString253({ message: "debe ser un texto" }),
|
|
19000
19001
|
MinLength42(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
19001
19002
|
Expose345()
|
|
19002
19003
|
], DetalleCubicajeDTO.prototype, "codesp", 2);
|
|
19003
19004
|
__decorateClass([
|
|
19004
|
-
|
|
19005
|
+
Transform33(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
19005
19006
|
IsString253({ message: "debe ser un texto" }),
|
|
19006
19007
|
MinLength42(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
19007
19008
|
Expose345()
|
|
19008
19009
|
], DetalleCubicajeDTO.prototype, "codact", 2);
|
|
19009
19010
|
__decorateClass([
|
|
19010
|
-
|
|
19011
|
+
Transform33(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
19011
19012
|
IsString253({ message: "debe ser un texto" }),
|
|
19012
19013
|
MinLength42(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
19013
19014
|
Expose345()
|
|
@@ -19018,13 +19019,13 @@ __decorateClass([
|
|
|
19018
19019
|
Expose345()
|
|
19019
19020
|
], DetalleCubicajeDTO.prototype, "tarea", 2);
|
|
19020
19021
|
__decorateClass([
|
|
19021
|
-
|
|
19022
|
+
Transform33(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
19022
19023
|
IsString253({ message: "debe ser un texto" }),
|
|
19023
19024
|
MinLength42(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
19024
19025
|
Expose345()
|
|
19025
19026
|
], DetalleCubicajeDTO.prototype, "codmo", 2);
|
|
19026
19027
|
__decorateClass([
|
|
19027
|
-
|
|
19028
|
+
Transform33(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
19028
19029
|
IsString253({ message: "debe ser un texto" }),
|
|
19029
19030
|
MinLength42(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
19030
19031
|
Expose345()
|
|
@@ -19117,7 +19118,7 @@ __decorateClass([
|
|
|
19117
19118
|
], CubicacionENTITY.prototype, "Accion", 2);
|
|
19118
19119
|
__decorateClass([
|
|
19119
19120
|
IsDefined101({ message: "es requerido" }),
|
|
19120
|
-
|
|
19121
|
+
Transform34(({ value }) => typeof value === "string" ? value.replaceAll(" ", "") : value),
|
|
19121
19122
|
IsDate70({ message: "debe ser una fecha" }),
|
|
19122
19123
|
Type242(() => Date),
|
|
19123
19124
|
Expose346()
|
|
@@ -19885,7 +19886,7 @@ __decorateClass([
|
|
|
19885
19886
|
], VigenciaKeyDTO.prototype, "FechaFin", 2);
|
|
19886
19887
|
|
|
19887
19888
|
// src/programados/procesos/precioContratistaMaterial/shared/dto/material-precio-contratista-dto.ts
|
|
19888
|
-
import { Expose as Expose367, Transform as
|
|
19889
|
+
import { Expose as Expose367, Transform as Transform35, Type as Type257 } from "class-transformer";
|
|
19889
19890
|
import { IsArray as IsArray144, IsNumber as IsNumber250, IsString as IsString264, Length as Length167, Min as Min192, ValidateNested as ValidateNested234, IsBoolean as IsBoolean30, IsDate as IsDate75, IsDefined as IsDefined116 } from "class-validator";
|
|
19890
19891
|
var MaterialPrecioContratistaDTO = class {
|
|
19891
19892
|
ID_Item = 0;
|
|
@@ -19974,14 +19975,14 @@ __decorateClass([
|
|
|
19974
19975
|
Expose367()
|
|
19975
19976
|
], MaterialPrecioContratistaDTO.prototype, "Tipo", 2);
|
|
19976
19977
|
__decorateClass([
|
|
19977
|
-
|
|
19978
|
+
Transform35(({ value }) => Number(value)),
|
|
19978
19979
|
IsDefined116({ message: "El campo Valor es obligatorio" }),
|
|
19979
19980
|
Expose367(),
|
|
19980
19981
|
IsNumber250({}, { message: "debe ser un numero" }),
|
|
19981
19982
|
Min192(0, { message: "el valor m\xEDnimo es 0" })
|
|
19982
19983
|
], MaterialPrecioContratistaDTO.prototype, "Valor", 2);
|
|
19983
19984
|
__decorateClass([
|
|
19984
|
-
|
|
19985
|
+
Transform35(({ value }) => Number(value)),
|
|
19985
19986
|
IsDefined116({ message: "El Prioridad Valor es obligatorio" }),
|
|
19986
19987
|
Expose367(),
|
|
19987
19988
|
IsNumber250({}, { message: "debe ser un numero" }),
|
|
@@ -19994,7 +19995,7 @@ __decorateClass([
|
|
|
19994
19995
|
Expose367()
|
|
19995
19996
|
], MaterialPrecioContratistaDTO.prototype, "CodigoSAP", 2);
|
|
19996
19997
|
__decorateClass([
|
|
19997
|
-
|
|
19998
|
+
Transform35(({ value }) => Number(value)),
|
|
19998
19999
|
IsDefined116({ message: "El Precio Valor es obligatorio" }),
|
|
19999
20000
|
Expose367(),
|
|
20000
20001
|
IsNumber250({}, { message: "debe ser un numero" }),
|
|
@@ -20612,7 +20613,7 @@ import { IsArray as IsArray148, IsDate as IsDate80, IsNotEmpty as IsNotEmpty241,
|
|
|
20612
20613
|
import { Expose as Expose375, Type as Type264 } from "class-transformer";
|
|
20613
20614
|
|
|
20614
20615
|
// src/programados/procesos/precioContratistaIssue/shared/dto/vigenciaIssue-dto.ts
|
|
20615
|
-
import { Expose as Expose374, Transform as
|
|
20616
|
+
import { Expose as Expose374, Transform as Transform36, Type as Type263 } from "class-transformer";
|
|
20616
20617
|
import { IsNotEmpty as IsNotEmpty240, IsDate as IsDate79, IsNumber as IsNumber255, Min as Min197 } from "class-validator";
|
|
20617
20618
|
var VigenciaIssueDTO = class {
|
|
20618
20619
|
Precio = 0;
|
|
@@ -20625,13 +20626,13 @@ __decorateClass([
|
|
|
20625
20626
|
Min197(0)
|
|
20626
20627
|
], VigenciaIssueDTO.prototype, "Precio", 2);
|
|
20627
20628
|
__decorateClass([
|
|
20628
|
-
|
|
20629
|
+
Transform36(({ value }) => value ? new Date(value) : /* @__PURE__ */ new Date(0)),
|
|
20629
20630
|
IsDate79({ message: "debe ser una fecha" }),
|
|
20630
20631
|
Type263(() => Date),
|
|
20631
20632
|
Expose374()
|
|
20632
20633
|
], VigenciaIssueDTO.prototype, "FechaInicio", 2);
|
|
20633
20634
|
__decorateClass([
|
|
20634
|
-
|
|
20635
|
+
Transform36(({ value }) => value ? new Date(value) : /* @__PURE__ */ new Date(0)),
|
|
20635
20636
|
IsDate79({ message: "debe ser una fecha" }),
|
|
20636
20637
|
Type263(() => Date),
|
|
20637
20638
|
IsNotEmpty240({ message: "es requerido" }),
|
|
@@ -20764,7 +20765,7 @@ __decorateClass([
|
|
|
20764
20765
|
], ReplanteoReservasDTO.prototype, "ManoObra", 2);
|
|
20765
20766
|
|
|
20766
20767
|
// src/programados/procesos/replanteo/shared/dto/replanteo-foto-dto.ts
|
|
20767
|
-
import { Expose as Expose380, Transform as
|
|
20768
|
+
import { Expose as Expose380, Transform as Transform37, Type as Type268 } from "class-transformer";
|
|
20768
20769
|
import { IsDate as IsDate81, IsDefined as IsDefined122, IsNumber as IsNumber259, IsString as IsString273, Min as Min201 } from "class-validator";
|
|
20769
20770
|
var ReplanteoFotoDTO = class extends ReplanteoReservasDTO {
|
|
20770
20771
|
ID_Reserva = 0;
|
|
@@ -20790,7 +20791,7 @@ __decorateClass([
|
|
|
20790
20791
|
Expose380()
|
|
20791
20792
|
], ReplanteoFotoDTO.prototype, "Huella", 2);
|
|
20792
20793
|
__decorateClass([
|
|
20793
|
-
|
|
20794
|
+
Transform37(transformToDateIfEmpty),
|
|
20794
20795
|
IsDate81({ message: "debe ser una fecha" }),
|
|
20795
20796
|
Type268(() => Date),
|
|
20796
20797
|
Expose380()
|
|
@@ -21276,7 +21277,7 @@ import { Expose as Expose388, Type as Type276 } from "class-transformer";
|
|
|
21276
21277
|
import { IsNotEmpty as IsNotEmpty250, IsArray as IsArray154, ValidateNested as ValidateNested251 } from "class-validator";
|
|
21277
21278
|
|
|
21278
21279
|
// src/programados/mantenimientos/mano obra global/shared/dto/mano-obra-baremo-dto.ts
|
|
21279
|
-
import { Expose as Expose386, Transform as
|
|
21280
|
+
import { Expose as Expose386, Transform as Transform38, Type as Type274 } from "class-transformer";
|
|
21280
21281
|
import { IsNumber as IsNumber265, Min as Min207, IsNotEmpty as IsNotEmpty248, ValidateNested as ValidateNested249 } from "class-validator";
|
|
21281
21282
|
var ManoObraBaremoDTO = class {
|
|
21282
21283
|
ID_ManoObraBaremo = 0;
|
|
@@ -21299,21 +21300,21 @@ __decorateClass([
|
|
|
21299
21300
|
ValidateNested249()
|
|
21300
21301
|
], ManoObraBaremoDTO.prototype, "Especialidad", 2);
|
|
21301
21302
|
__decorateClass([
|
|
21302
|
-
|
|
21303
|
+
Transform38(({ value }) => isNaN(Number(value)) ? value : Number(value)),
|
|
21303
21304
|
IsNumber265({}, { message: "debe ser un numero" }),
|
|
21304
21305
|
IsNotEmpty248({ message: "es requerido" }),
|
|
21305
21306
|
Min207(0),
|
|
21306
21307
|
Expose386()
|
|
21307
21308
|
], ManoObraBaremoDTO.prototype, "PuntoBaremo", 2);
|
|
21308
21309
|
__decorateClass([
|
|
21309
|
-
|
|
21310
|
+
Transform38(({ value }) => isNaN(Number(value)) ? value : Number(value)),
|
|
21310
21311
|
IsNumber265({}, { message: "debe ser un numero" }),
|
|
21311
21312
|
IsNotEmpty248({ message: "es requerido" }),
|
|
21312
21313
|
Min207(0),
|
|
21313
21314
|
Expose386()
|
|
21314
21315
|
], ManoObraBaremoDTO.prototype, "PuntoBaremoContratista", 2);
|
|
21315
21316
|
__decorateClass([
|
|
21316
|
-
|
|
21317
|
+
Transform38(({ value }) => isNaN(Number(value)) ? value : Number(value)),
|
|
21317
21318
|
IsNumber265({}, { message: "debe ser un numero" }),
|
|
21318
21319
|
IsNotEmpty248({ message: "es requerido" }),
|
|
21319
21320
|
Min207(0),
|
|
@@ -21366,7 +21367,7 @@ __decorateClass([
|
|
|
21366
21367
|
], DetalleManoObraChileDTO.prototype, "ManoObraBaremo", 2);
|
|
21367
21368
|
|
|
21368
21369
|
// src/programados/mantenimientos/mano obra global/shared/dto/add-mo-pcontrata-mo.ts
|
|
21369
|
-
import { Expose as Expose389, Transform as
|
|
21370
|
+
import { Expose as Expose389, Transform as Transform39 } from "class-transformer";
|
|
21370
21371
|
import { IsBoolean as IsBoolean32, IsDefined as IsDefined127, IsNumber as IsNumber267, IsString as IsString278, Length as Length178 } from "class-validator";
|
|
21371
21372
|
var AddMOPContrataMODTO = class {
|
|
21372
21373
|
CodigoMO = "";
|
|
@@ -21382,7 +21383,7 @@ __decorateClass([
|
|
|
21382
21383
|
], AddMOPContrataMODTO.prototype, "CodigoMO", 2);
|
|
21383
21384
|
__decorateClass([
|
|
21384
21385
|
IsDefined127({ message: "El campo newPrecio es obligatorio" }),
|
|
21385
|
-
|
|
21386
|
+
Transform39(({ value }) => isNaN(Number(value)) ? 0 : Number(value)),
|
|
21386
21387
|
IsNumber267({}, { message: "debe ser un numero" }),
|
|
21387
21388
|
Expose389()
|
|
21388
21389
|
], AddMOPContrataMODTO.prototype, "NewPrecio", 2);
|
|
@@ -21507,7 +21508,7 @@ __decorateClass([
|
|
|
21507
21508
|
], AreaGomCentroCostosDTO.prototype, "Descripcion", 2);
|
|
21508
21509
|
|
|
21509
21510
|
// src/programados/mantenimientos/centro costos/shared/index.ts
|
|
21510
|
-
import { Expose as Expose392, Type as Type278, Transform as
|
|
21511
|
+
import { Expose as Expose392, Type as Type278, Transform as Transform40 } from "class-transformer";
|
|
21511
21512
|
import { IsDefined as IsDefined129, IsNumber as IsNumber269, IsString as IsString281, Length as Length181, Min as Min210, ValidateNested as ValidateNested253 } from "class-validator";
|
|
21512
21513
|
var CentroCostosENTITY = class {
|
|
21513
21514
|
ID_CentroCostos = 0;
|
|
@@ -21545,7 +21546,7 @@ __decorateClass([
|
|
|
21545
21546
|
ValidateNested253()
|
|
21546
21547
|
], CentroCostosENTITY.prototype, "Delegacion", 2);
|
|
21547
21548
|
__decorateClass([
|
|
21548
|
-
|
|
21549
|
+
Transform40(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
21549
21550
|
IsDefined129({ message: "El campo Codigo es obligatorio" }),
|
|
21550
21551
|
IsString281({ message: "debe ser un texto" }),
|
|
21551
21552
|
Length181(1, 75, { message: "debe tener entre 1 y 75 caracteres" }),
|
|
@@ -21681,7 +21682,7 @@ __decorateClass([
|
|
|
21681
21682
|
], RM_ZonasActividadENTITY.prototype, "Bitacora", 2);
|
|
21682
21683
|
|
|
21683
21684
|
// src/programados/mantenimientos/rm-material/shared/index.ts
|
|
21684
|
-
import { Expose as Expose396, Transform as
|
|
21685
|
+
import { Expose as Expose396, Transform as Transform41, Type as Type280 } from "class-transformer";
|
|
21685
21686
|
import { IsDefined as IsDefined130, IsNotEmpty as IsNotEmpty254, IsNumber as IsNumber272, IsString as IsString285, Length as Length185, Min as Min212, ValidateNested as ValidateNested255 } from "class-validator";
|
|
21686
21687
|
var RM_MaterialENTITY = class {
|
|
21687
21688
|
ID_RM_Material = 0;
|
|
@@ -21737,7 +21738,7 @@ __decorateClass([
|
|
|
21737
21738
|
Expose396()
|
|
21738
21739
|
], RM_MaterialENTITY.prototype, "Proveedor", 2);
|
|
21739
21740
|
__decorateClass([
|
|
21740
|
-
|
|
21741
|
+
Transform41(({ value }) => Number(value)),
|
|
21741
21742
|
IsDefined130({ message: "El campo Precio es obligatorio" }),
|
|
21742
21743
|
IsNumber272({}, { message: "debe ser un numero" }),
|
|
21743
21744
|
Expose396(),
|
|
@@ -21750,7 +21751,7 @@ __decorateClass([
|
|
|
21750
21751
|
Expose396()
|
|
21751
21752
|
], RM_MaterialENTITY.prototype, "Tipo_Moneda", 2);
|
|
21752
21753
|
__decorateClass([
|
|
21753
|
-
|
|
21754
|
+
Transform41(({ value }) => Number(value)),
|
|
21754
21755
|
IsDefined130({ message: "El campo Valor_Moneda es obligatorio" }),
|
|
21755
21756
|
IsNumber272({}, { message: "debe ser un numero" }),
|
|
21756
21757
|
Expose396(),
|
|
@@ -22165,7 +22166,7 @@ __decorateClass([
|
|
|
22165
22166
|
], RM_ComunaENTITY.prototype, "Estado", 2);
|
|
22166
22167
|
|
|
22167
22168
|
// src/programados/mantenimientos/rm mano obra/shared/index.ts
|
|
22168
|
-
import { Expose as Expose403, Transform as
|
|
22169
|
+
import { Expose as Expose403, Transform as Transform42, Type as Type287 } from "class-transformer";
|
|
22169
22170
|
import { IsDefined as IsDefined131, IsNumber as IsNumber279, IsString as IsString292, Length as Length192, Min as Min219, ValidateNested as ValidateNested261 } from "class-validator";
|
|
22170
22171
|
var RM_ManoObraENTITY = class {
|
|
22171
22172
|
ID_RM_ManoObra = 0;
|
|
@@ -22210,7 +22211,7 @@ __decorateClass([
|
|
|
22210
22211
|
Expose403()
|
|
22211
22212
|
], RM_ManoObraENTITY.prototype, "Especialidad", 2);
|
|
22212
22213
|
__decorateClass([
|
|
22213
|
-
|
|
22214
|
+
Transform42(({ value }) => Number(value)),
|
|
22214
22215
|
IsDefined131({ message: "El campo Puntos_Baremos es obligatorio" }),
|
|
22215
22216
|
IsNumber279({}, { message: "debe ser un numero" }),
|
|
22216
22217
|
Expose403(),
|
|
@@ -22242,7 +22243,7 @@ __decorateClass([
|
|
|
22242
22243
|
], RM_ManoObraENTITY.prototype, "Estado", 2);
|
|
22243
22244
|
|
|
22244
22245
|
// src/programados/mantenimientos/rm paquetizado/shared/index.ts
|
|
22245
|
-
import { Expose as Expose404, Transform as
|
|
22246
|
+
import { Expose as Expose404, Transform as Transform43, Type as Type288 } from "class-transformer";
|
|
22246
22247
|
import { IsDefined as IsDefined132, IsNumber as IsNumber280, IsString as IsString293, Length as Length193, Min as Min220, ValidateNested as ValidateNested262 } from "class-validator";
|
|
22247
22248
|
var RM_PaquetizadoENTITY = class {
|
|
22248
22249
|
ID_RM_Paquetizado = 0;
|
|
@@ -22276,35 +22277,35 @@ __decorateClass([
|
|
|
22276
22277
|
Expose404()
|
|
22277
22278
|
], RM_PaquetizadoENTITY.prototype, "LLAVE", 2);
|
|
22278
22279
|
__decorateClass([
|
|
22279
|
-
|
|
22280
|
+
Transform43(({ value }) => Number(value)),
|
|
22280
22281
|
IsDefined132({ message: "El campo Total_PB es obligatorio" }),
|
|
22281
22282
|
IsNumber280({}, { message: "debe ser un numero" }),
|
|
22282
22283
|
Expose404(),
|
|
22283
22284
|
Min220(0)
|
|
22284
22285
|
], RM_PaquetizadoENTITY.prototype, "Total_PB", 2);
|
|
22285
22286
|
__decorateClass([
|
|
22286
|
-
|
|
22287
|
+
Transform43(({ value }) => Number(value)),
|
|
22287
22288
|
IsDefined132({ message: "El campo Total_Ctta es obligatorio" }),
|
|
22288
22289
|
IsNumber280({}, { message: "debe ser un numero" }),
|
|
22289
22290
|
Expose404(),
|
|
22290
22291
|
Min220(0)
|
|
22291
22292
|
], RM_PaquetizadoENTITY.prototype, "Total_Ctta", 2);
|
|
22292
22293
|
__decorateClass([
|
|
22293
|
-
|
|
22294
|
+
Transform43(({ value }) => Number(value)),
|
|
22294
22295
|
IsDefined132({ message: "El campo zona_10 es obligatorio" }),
|
|
22295
22296
|
IsNumber280({}, { message: "debe ser un numero" }),
|
|
22296
22297
|
Expose404(),
|
|
22297
22298
|
Min220(0)
|
|
22298
22299
|
], RM_PaquetizadoENTITY.prototype, "zona_10", 2);
|
|
22299
22300
|
__decorateClass([
|
|
22300
|
-
|
|
22301
|
+
Transform43(({ value }) => Number(value)),
|
|
22301
22302
|
IsDefined132({ message: "El campo zona_14 es obligatorio" }),
|
|
22302
22303
|
IsNumber280({}, { message: "debe ser un numero" }),
|
|
22303
22304
|
Expose404(),
|
|
22304
22305
|
Min220(0)
|
|
22305
22306
|
], RM_PaquetizadoENTITY.prototype, "zona_14", 2);
|
|
22306
22307
|
__decorateClass([
|
|
22307
|
-
|
|
22308
|
+
Transform43(({ value }) => Number(value)),
|
|
22308
22309
|
IsDefined132({ message: "El campo Total_MAT es obligatorio" }),
|
|
22309
22310
|
IsNumber280({}, { message: "debe ser un numero" }),
|
|
22310
22311
|
Expose404(),
|
|
@@ -22330,7 +22331,7 @@ __decorateClass([
|
|
|
22330
22331
|
], RM_PaquetizadoENTITY.prototype, "Estado", 2);
|
|
22331
22332
|
|
|
22332
22333
|
// src/programados/mantenimientos/rm actividad/shared/index.ts
|
|
22333
|
-
import { Expose as Expose405, Transform as
|
|
22334
|
+
import { Expose as Expose405, Transform as Transform44, Type as Type289 } from "class-transformer";
|
|
22334
22335
|
import { IsDefined as IsDefined133, IsNumber as IsNumber281, IsString as IsString294, Length as Length194, Min as Min221, ValidateNested as ValidateNested263 } from "class-validator";
|
|
22335
22336
|
var RM_ActividadENTITY = class {
|
|
22336
22337
|
ID_RM_Actividad = 0;
|
|
@@ -22360,7 +22361,7 @@ __decorateClass([
|
|
|
22360
22361
|
Expose405()
|
|
22361
22362
|
], RM_ActividadENTITY.prototype, "Descripcion", 2);
|
|
22362
22363
|
__decorateClass([
|
|
22363
|
-
|
|
22364
|
+
Transform44(({ value }) => Number(value)),
|
|
22364
22365
|
IsDefined133({ message: "El campo Precio_EECC es obligatorio" }),
|
|
22365
22366
|
IsNumber281({}, { message: "debe ser un numero" }),
|
|
22366
22367
|
Expose405(),
|
|
@@ -22786,7 +22787,7 @@ __decorateClass([
|
|
|
22786
22787
|
], PrecioUOMaterialesDTO.prototype, "valorMarkup", 2);
|
|
22787
22788
|
|
|
22788
22789
|
// src/programados/mantenimientos/uo-materiales/shared/dto/uo-material-excel-dto.ts
|
|
22789
|
-
import { Expose as Expose413, Transform as
|
|
22790
|
+
import { Expose as Expose413, Transform as Transform46, Type as Type295 } from "class-transformer";
|
|
22790
22791
|
import { IsDefined as IsDefined140, IsNumber as IsNumber288, IsString as IsString302, Length as Length201, Min as Min227, IsNotEmpty as IsNotEmpty265, IsDate as IsDate85 } from "class-validator";
|
|
22791
22792
|
var UOMaterialesExcelDTO = class {
|
|
22792
22793
|
Version = "";
|
|
@@ -22806,13 +22807,13 @@ __decorateClass([
|
|
|
22806
22807
|
Expose413()
|
|
22807
22808
|
], UOMaterialesExcelDTO.prototype, "Version", 2);
|
|
22808
22809
|
__decorateClass([
|
|
22809
|
-
|
|
22810
|
+
Transform46(({ value }) => value ? new Date(value) : /* @__PURE__ */ new Date(0)),
|
|
22810
22811
|
IsDate85({ message: "debe ser una fecha" }),
|
|
22811
22812
|
Type295(() => Date),
|
|
22812
22813
|
Expose413()
|
|
22813
22814
|
], UOMaterialesExcelDTO.prototype, "FechaInicio", 2);
|
|
22814
22815
|
__decorateClass([
|
|
22815
|
-
|
|
22816
|
+
Transform46(({ value }) => value ? new Date(value) : /* @__PURE__ */ new Date(0)),
|
|
22816
22817
|
IsDate85({ message: "debe ser una fecha" }),
|
|
22817
22818
|
Type295(() => Date),
|
|
22818
22819
|
IsNotEmpty265({ message: "es requerido" }),
|
|
@@ -23517,7 +23518,7 @@ __decorateClass([
|
|
|
23517
23518
|
], FechasValorizacionBaremoDTO.prototype, "FechaProduccion", 2);
|
|
23518
23519
|
|
|
23519
23520
|
// src/programados/Reportes/ReporteProduccion/Alemania/Baremo/Shared/dto/uomateriales-baremo-dto.ts
|
|
23520
|
-
import { Expose as Expose428, Transform as
|
|
23521
|
+
import { Expose as Expose428, Transform as Transform47 } from "class-transformer";
|
|
23521
23522
|
import { IsDefined as IsDefined145, IsNumber as IsNumber295, IsString as IsString316 } from "class-validator";
|
|
23522
23523
|
var UOMaterialesBaremoDTO = class {
|
|
23523
23524
|
Plano = "";
|
|
@@ -23535,19 +23536,19 @@ __decorateClass([
|
|
|
23535
23536
|
IsDefined145({ message: "es requerido" }),
|
|
23536
23537
|
IsNumber295({}, { message: "debe ser un numero" }),
|
|
23537
23538
|
Expose428(),
|
|
23538
|
-
|
|
23539
|
+
Transform47(({ value }) => value ?? 0)
|
|
23539
23540
|
], UOMaterialesBaremoDTO.prototype, "CanUOCub", 2);
|
|
23540
23541
|
__decorateClass([
|
|
23541
23542
|
IsDefined145({ message: "es requerido" }),
|
|
23542
23543
|
IsNumber295({}, { message: "debe ser un numero" }),
|
|
23543
23544
|
Expose428(),
|
|
23544
|
-
|
|
23545
|
+
Transform47(({ value }) => value ?? 0)
|
|
23545
23546
|
], UOMaterialesBaremoDTO.prototype, "CanUOInf", 2);
|
|
23546
23547
|
__decorateClass([
|
|
23547
23548
|
IsDefined145({ message: "es requerido" }),
|
|
23548
23549
|
IsNumber295({}, { message: "debe ser un numero" }),
|
|
23549
23550
|
Expose428(),
|
|
23550
|
-
|
|
23551
|
+
Transform47(({ value }) => value ?? 0)
|
|
23551
23552
|
], UOMaterialesBaremoDTO.prototype, "TotalUO", 2);
|
|
23552
23553
|
__decorateClass([
|
|
23553
23554
|
IsDefined145({ message: "es requerido" }),
|
|
@@ -24451,7 +24452,7 @@ __decorateClass([
|
|
|
24451
24452
|
], ResumenProcessEstado_ObraDTO.prototype, "Fecha", 2);
|
|
24452
24453
|
|
|
24453
24454
|
// src/programados/Reportes/ReporteProduccion/Chile/ResumenProcess/dto/resumen_process_fecha_facturacion_generada-dto.ts
|
|
24454
|
-
import { Expose as Expose438, Transform as
|
|
24455
|
+
import { Expose as Expose438, Transform as Transform48 } from "class-transformer";
|
|
24455
24456
|
import { IsDate as IsDate94, IsDefined as IsDefined155, IsNumber as IsNumber301, IsString as IsString326 } from "class-validator";
|
|
24456
24457
|
var ResumenProcessFechaFacturageneradaDTO = class {
|
|
24457
24458
|
fecha = /* @__PURE__ */ new Date(0);
|
|
@@ -24462,7 +24463,7 @@ var ResumenProcessFechaFacturageneradaDTO = class {
|
|
|
24462
24463
|
};
|
|
24463
24464
|
__decorateClass([
|
|
24464
24465
|
Expose438(),
|
|
24465
|
-
|
|
24466
|
+
Transform48(({ value }) => value instanceof Date ? new Date(value) : /* @__PURE__ */ new Date(0)),
|
|
24466
24467
|
IsDate94()
|
|
24467
24468
|
], ResumenProcessFechaFacturageneradaDTO.prototype, "fecha", 2);
|
|
24468
24469
|
__decorateClass([
|
|
@@ -24472,19 +24473,19 @@ __decorateClass([
|
|
|
24472
24473
|
], ResumenProcessFechaFacturageneradaDTO.prototype, "Usuario", 2);
|
|
24473
24474
|
__decorateClass([
|
|
24474
24475
|
Expose438(),
|
|
24475
|
-
|
|
24476
|
+
Transform48(convertTypeNumber),
|
|
24476
24477
|
IsDefined155({ message: "El campo Anio es obligatorio." }),
|
|
24477
24478
|
IsNumber301()
|
|
24478
24479
|
], ResumenProcessFechaFacturageneradaDTO.prototype, "Anio", 2);
|
|
24479
24480
|
__decorateClass([
|
|
24480
24481
|
Expose438(),
|
|
24481
|
-
|
|
24482
|
+
Transform48(convertTypeNumber),
|
|
24482
24483
|
IsDefined155({ message: "El campo Mes es obligatorio." }),
|
|
24483
24484
|
IsNumber301()
|
|
24484
24485
|
], ResumenProcessFechaFacturageneradaDTO.prototype, "Mes", 2);
|
|
24485
24486
|
__decorateClass([
|
|
24486
24487
|
Expose438(),
|
|
24487
|
-
|
|
24488
|
+
Transform48(convertTypeNumber),
|
|
24488
24489
|
IsDefined155({ message: "El campo Dia es obligatorio." }),
|
|
24489
24490
|
IsNumber301()
|
|
24490
24491
|
], ResumenProcessFechaFacturageneradaDTO.prototype, "Dia", 2);
|
|
@@ -25026,7 +25027,7 @@ import { Expose as Expose457, Type as Type318 } from "class-transformer";
|
|
|
25026
25027
|
import { IsArray as IsArray169, IsBoolean as IsBoolean39, IsDefined as IsDefined173, IsNotEmpty as IsNotEmpty281, IsNumber as IsNumber308, IsOptional as IsOptional28, IsString as IsString344, ValidateNested as ValidateNested287 } from "class-validator";
|
|
25027
25028
|
|
|
25028
25029
|
// src/programados/Reportes/ReporteProduccion/Chile/BaremoProcess/dto/baremo_process_fechas-dto.ts
|
|
25029
|
-
import { Expose as Expose447, Transform as
|
|
25030
|
+
import { Expose as Expose447, Transform as Transform50 } from "class-transformer";
|
|
25030
25031
|
import { IsDate as IsDate98 } from "class-validator";
|
|
25031
25032
|
var BaremoProcessFechasDTO = class {
|
|
25032
25033
|
Registro = "";
|
|
@@ -25036,22 +25037,22 @@ var BaremoProcessFechasDTO = class {
|
|
|
25036
25037
|
};
|
|
25037
25038
|
__decorateClass([
|
|
25038
25039
|
Expose447(),
|
|
25039
|
-
|
|
25040
|
+
Transform50(({ value }) => value instanceof Date ? new Date(value) : /* @__PURE__ */ new Date(0)),
|
|
25040
25041
|
IsDate98()
|
|
25041
25042
|
], BaremoProcessFechasDTO.prototype, "Registro", 2);
|
|
25042
25043
|
__decorateClass([
|
|
25043
25044
|
Expose447(),
|
|
25044
|
-
|
|
25045
|
+
Transform50(({ value }) => value instanceof Date ? new Date(value) : /* @__PURE__ */ new Date(0)),
|
|
25045
25046
|
IsDate98()
|
|
25046
25047
|
], BaremoProcessFechasDTO.prototype, "Preliquidacion", 2);
|
|
25047
25048
|
__decorateClass([
|
|
25048
25049
|
Expose447(),
|
|
25049
|
-
|
|
25050
|
+
Transform50(({ value }) => value instanceof Date ? new Date(value) : /* @__PURE__ */ new Date(0)),
|
|
25050
25051
|
IsDate98()
|
|
25051
25052
|
], BaremoProcessFechasDTO.prototype, "Liquidacion", 2);
|
|
25052
25053
|
__decorateClass([
|
|
25053
25054
|
Expose447(),
|
|
25054
|
-
|
|
25055
|
+
Transform50(({ value }) => value instanceof Date ? new Date(value) : /* @__PURE__ */ new Date(0)),
|
|
25055
25056
|
IsDate98()
|
|
25056
25057
|
], BaremoProcessFechasDTO.prototype, "Produccion", 2);
|
|
25057
25058
|
|
|
@@ -28070,7 +28071,7 @@ __decorateClass([
|
|
|
28070
28071
|
], StockPersonalEquiposENTITY.prototype, "Equipos", 2);
|
|
28071
28072
|
|
|
28072
28073
|
// src/logistica/atencion ordenes liquidadas/shared/index.ts
|
|
28073
|
-
import { Expose as Expose485, Transform as
|
|
28074
|
+
import { Expose as Expose485, Transform as Transform52 } from "class-transformer";
|
|
28074
28075
|
import { IsDate as IsDate110, IsEnum as IsEnum11, IsNotEmpty as IsNotEmpty303, IsNumber as IsNumber325, IsString as IsString372, Length as Length233, Max as Max8, Min as Min247 } from "class-validator";
|
|
28075
28076
|
var AtencionOrdenesLiquidadasENTITY = class {
|
|
28076
28077
|
ID_AtencionOrdenesLiquidadas = 0;
|
|
@@ -28111,7 +28112,7 @@ __decorateClass([
|
|
|
28111
28112
|
], AtencionOrdenesLiquidadasENTITY.prototype, "LoteSAP", 2);
|
|
28112
28113
|
__decorateClass([
|
|
28113
28114
|
Expose485(),
|
|
28114
|
-
|
|
28115
|
+
Transform52(({ value }) => value ? String(value) : value),
|
|
28115
28116
|
IsString372({ message: "debe ser un texto" }),
|
|
28116
28117
|
Length233(0, 30, { message: "debe tener entre 0 y 30 caracteres" })
|
|
28117
28118
|
], AtencionOrdenesLiquidadasENTITY.prototype, "NumeroSerie", 2);
|
|
@@ -28158,7 +28159,7 @@ __decorateClass([
|
|
|
28158
28159
|
], AtencionOrdenesLiquidadasENTITY.prototype, "Fuente", 2);
|
|
28159
28160
|
|
|
28160
28161
|
// src/logistica/salida almacen/shared/index.ts
|
|
28161
|
-
import { Expose as Expose489, Transform as
|
|
28162
|
+
import { Expose as Expose489, Transform as Transform53, Type as Type337 } from "class-transformer";
|
|
28162
28163
|
import { IsArray as IsArray184, IsNotEmpty as IsNotEmpty305, IsNumber as IsNumber327, IsString as IsString376, Length as Length237, Max as Max10, Min as Min249, ValidateNested as ValidateNested305 } from "class-validator";
|
|
28163
28164
|
|
|
28164
28165
|
// src/logistica/salida almacen/shared/dto/datos-transportista-dto.ts
|
|
@@ -28460,7 +28461,7 @@ __decorateClass([
|
|
|
28460
28461
|
], SalidaAlmacenENTITY.prototype, "ZonaTrabajo", 2);
|
|
28461
28462
|
__decorateClass([
|
|
28462
28463
|
IsString376({ message: "debe ser un texto" }),
|
|
28463
|
-
|
|
28464
|
+
Transform53(trimAndUpperCaseString),
|
|
28464
28465
|
Length237(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
28465
28466
|
Expose489()
|
|
28466
28467
|
], SalidaAlmacenENTITY.prototype, "Observaciones", 2);
|
|
@@ -28472,13 +28473,13 @@ __decorateClass([
|
|
|
28472
28473
|
], SalidaAlmacenENTITY.prototype, "MovimientoAlmacen", 2);
|
|
28473
28474
|
__decorateClass([
|
|
28474
28475
|
IsString376({ message: "debe ser un texto" }),
|
|
28475
|
-
|
|
28476
|
+
Transform53(trimAndUpperCaseString),
|
|
28476
28477
|
Length237(0, 75, { message: "debe tener entre 0 y 75 caracteres" }),
|
|
28477
28478
|
Expose489()
|
|
28478
28479
|
], SalidaAlmacenENTITY.prototype, "NroGuia", 2);
|
|
28479
28480
|
__decorateClass([
|
|
28480
28481
|
IsString376({ message: "debe ser un texto" }),
|
|
28481
|
-
|
|
28482
|
+
Transform53(trimAndUpperCaseString),
|
|
28482
28483
|
Length237(0, 200, { message: "debe tener entre 0 y 200 caracteres" }),
|
|
28483
28484
|
Expose489()
|
|
28484
28485
|
], SalidaAlmacenENTITY.prototype, "OrdenCompra", 2);
|
|
@@ -28984,7 +28985,7 @@ __decorateClass([
|
|
|
28984
28985
|
|
|
28985
28986
|
// src/logistica/movimiento almacen/shared/index.ts
|
|
28986
28987
|
import { IsNotEmpty as IsNotEmpty309, IsNumber as IsNumber331, IsString as IsString379, Length as Length240, Min as Min253, ValidateNested as ValidateNested309 } from "class-validator";
|
|
28987
|
-
import { Expose as Expose493, Transform as
|
|
28988
|
+
import { Expose as Expose493, Transform as Transform54, Type as Type341 } from "class-transformer";
|
|
28988
28989
|
var MovimientoAlmacenENTITY = class {
|
|
28989
28990
|
ID_MovimientoAlmacen = 0;
|
|
28990
28991
|
Codigo = "";
|
|
@@ -29004,13 +29005,13 @@ __decorateClass([
|
|
|
29004
29005
|
__decorateClass([
|
|
29005
29006
|
IsString379({ message: "debe ser un texto" }),
|
|
29006
29007
|
Length240(0, 10, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
29007
|
-
|
|
29008
|
+
Transform54(({ value }) => typeof value === "string" ? value.toUpperCase() : value),
|
|
29008
29009
|
Expose493()
|
|
29009
29010
|
], MovimientoAlmacenENTITY.prototype, "Codigo", 2);
|
|
29010
29011
|
__decorateClass([
|
|
29011
29012
|
IsString379({ message: "debe ser un texto" }),
|
|
29012
29013
|
Length240(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
29013
|
-
|
|
29014
|
+
Transform54(({ value }) => typeof value === "string" ? value.toUpperCase() : value),
|
|
29014
29015
|
Expose493()
|
|
29015
29016
|
], MovimientoAlmacenENTITY.prototype, "Descripcion", 2);
|
|
29016
29017
|
__decorateClass([
|
|
@@ -29088,7 +29089,7 @@ __decorateClass([
|
|
|
29088
29089
|
// src/logistica/devolucion almacen/shared/index.ts
|
|
29089
29090
|
import {
|
|
29090
29091
|
Expose as Expose496,
|
|
29091
|
-
Transform as
|
|
29092
|
+
Transform as Transform55,
|
|
29092
29093
|
Type as Type344
|
|
29093
29094
|
} from "class-transformer";
|
|
29094
29095
|
import {
|
|
@@ -29212,7 +29213,7 @@ __decorateClass([
|
|
|
29212
29213
|
Expose496()
|
|
29213
29214
|
], DevolucionAlmacenENTITY.prototype, "NroGuia", 2);
|
|
29214
29215
|
__decorateClass([
|
|
29215
|
-
|
|
29216
|
+
Transform55(({ value }) => typeof value === "string" && value.length > 100 ? value.slice(0, 100) : value),
|
|
29216
29217
|
IsString380({ message: "debe ser un texto" }),
|
|
29217
29218
|
Length241(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
29218
29219
|
Expose496()
|
|
@@ -29279,7 +29280,7 @@ __decorateClass([
|
|
|
29279
29280
|
], DevolucionAlmacenENTITY.prototype, "Estado", 2);
|
|
29280
29281
|
|
|
29281
29282
|
// src/logistica/items/shared/index.ts
|
|
29282
|
-
import { Expose as Expose502, Transform as
|
|
29283
|
+
import { Expose as Expose502, Transform as Transform56, Type as Type348 } from "class-transformer";
|
|
29283
29284
|
import { IsArray as IsArray189, IsNotEmpty as IsNotEmpty317, IsNumber as IsNumber336, IsString as IsString386, Length as Length247, Min as Min258, ValidateNested as ValidateNested316, IsBoolean as IsBoolean50, IsIn as IsIn8 } from "class-validator";
|
|
29284
29285
|
|
|
29285
29286
|
// src/logistica/items/shared/dto/cliente-dto.ts
|
|
@@ -29542,19 +29543,19 @@ __decorateClass([
|
|
|
29542
29543
|
__decorateClass([
|
|
29543
29544
|
IsString386({ message: "debe ser un texto" }),
|
|
29544
29545
|
Length247(0, 30, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
29545
|
-
|
|
29546
|
+
Transform56(({ value }) => value?.toUpperCase().trim()),
|
|
29546
29547
|
Expose502()
|
|
29547
29548
|
], ItemENTITY.prototype, "Codigo", 2);
|
|
29548
29549
|
__decorateClass([
|
|
29549
29550
|
IsString386({ message: "debe ser un texto" }),
|
|
29550
29551
|
Length247(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
29551
|
-
|
|
29552
|
+
Transform56(({ value }) => value?.toUpperCase().trim()),
|
|
29552
29553
|
Expose502()
|
|
29553
29554
|
], ItemENTITY.prototype, "Nombre", 2);
|
|
29554
29555
|
__decorateClass([
|
|
29555
29556
|
IsString386({ message: "debe ser un texto" }),
|
|
29556
29557
|
Length247(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
29557
|
-
|
|
29558
|
+
Transform56(({ value }) => value?.toUpperCase().trim()),
|
|
29558
29559
|
Expose502()
|
|
29559
29560
|
], ItemENTITY.prototype, "Descripcion", 2);
|
|
29560
29561
|
__decorateClass([
|
|
@@ -29574,7 +29575,7 @@ __decorateClass([
|
|
|
29574
29575
|
__decorateClass([
|
|
29575
29576
|
IsString386({ message: "debe ser un texto" }),
|
|
29576
29577
|
Length247(0, 4, { message: "debe tener entre 0 y 4 caracteres" }),
|
|
29577
|
-
|
|
29578
|
+
Transform56(({ value }) => value?.toUpperCase().trim(), { toClassOnly: true }),
|
|
29578
29579
|
IsIn8(["S", "B", ""], { message: 'solo puede ser "S", "B" o vac\xEDo' }),
|
|
29579
29580
|
Expose502()
|
|
29580
29581
|
], ItemENTITY.prototype, "Ind_SB", 2);
|
|
@@ -29614,14 +29615,14 @@ __decorateClass([
|
|
|
29614
29615
|
], ItemENTITY.prototype, "Tipo", 2);
|
|
29615
29616
|
__decorateClass([
|
|
29616
29617
|
Expose502(),
|
|
29617
|
-
|
|
29618
|
+
Transform56(({ value }) => Number(value)),
|
|
29618
29619
|
IsNumber336({}, { message: "debe ser un numero" }),
|
|
29619
29620
|
IsNotEmpty317({ message: "es requerido" }),
|
|
29620
29621
|
Min258(0, { message: "el valor m\xEDnimo es 0" })
|
|
29621
29622
|
], ItemENTITY.prototype, "Valor", 2);
|
|
29622
29623
|
__decorateClass([
|
|
29623
29624
|
Expose502(),
|
|
29624
|
-
|
|
29625
|
+
Transform56(({ value }) => Number(value)),
|
|
29625
29626
|
IsNumber336({}, { message: "debe ser un numero" }),
|
|
29626
29627
|
IsNotEmpty317({ message: "es requerido" }),
|
|
29627
29628
|
Min258(0, { message: "el valor m\xEDnimo es 0" })
|
|
@@ -29634,7 +29635,7 @@ __decorateClass([
|
|
|
29634
29635
|
__decorateClass([
|
|
29635
29636
|
IsString386({ message: "debe ser un texto" }),
|
|
29636
29637
|
Length247(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
29637
|
-
|
|
29638
|
+
Transform56(({ value }) => value?.toUpperCase().trim()),
|
|
29638
29639
|
Expose502()
|
|
29639
29640
|
], ItemENTITY.prototype, "CodigoSAP", 2);
|
|
29640
29641
|
__decorateClass([
|
|
@@ -30013,7 +30014,7 @@ __decorateClass([
|
|
|
30013
30014
|
], StockAlmacenEquiposENTITY.prototype, "Equipos", 2);
|
|
30014
30015
|
|
|
30015
30016
|
// src/logistica/transaccion folios/shared/index.ts
|
|
30016
|
-
import { Transform as
|
|
30017
|
+
import { Transform as Transform57, Expose as Expose510, Type as Type352 } from "class-transformer";
|
|
30017
30018
|
|
|
30018
30019
|
// src/logistica/transaccion folios/shared/dto/transacciones-dto.ts
|
|
30019
30020
|
import { Expose as Expose509 } from "class-transformer";
|
|
@@ -30095,21 +30096,21 @@ __decorateClass([
|
|
|
30095
30096
|
Expose510()
|
|
30096
30097
|
], TransaccionFoliosENTITY.prototype, "Vigencia_Final", 2);
|
|
30097
30098
|
__decorateClass([
|
|
30098
|
-
|
|
30099
|
+
Transform57(({ value }) => Number(value)),
|
|
30099
30100
|
IsDefined186({ message: "El campo FolioInicial es obligatorio" }),
|
|
30100
30101
|
Expose510(),
|
|
30101
30102
|
IsNumber342({}, { message: "debe ser un numero" }),
|
|
30102
30103
|
Min264(1, { message: "el valor m\xEDnimo es 1" })
|
|
30103
30104
|
], TransaccionFoliosENTITY.prototype, "FolioInicial", 2);
|
|
30104
30105
|
__decorateClass([
|
|
30105
|
-
|
|
30106
|
+
Transform57(({ value }) => Number(value)),
|
|
30106
30107
|
IsDefined186({ message: "El campo FolioFinal es obligatorio" }),
|
|
30107
30108
|
Expose510(),
|
|
30108
30109
|
IsNumber342({}, { message: "debe ser un numero" }),
|
|
30109
30110
|
Min264(1, { message: "el valor m\xEDnimo es 1" })
|
|
30110
30111
|
], TransaccionFoliosENTITY.prototype, "FolioFinal", 2);
|
|
30111
30112
|
__decorateClass([
|
|
30112
|
-
|
|
30113
|
+
Transform57(({ value }) => Number(value)),
|
|
30113
30114
|
IsDefined186({ message: "El campo NumeroInterno es obligatorio" }),
|
|
30114
30115
|
Expose510(),
|
|
30115
30116
|
IsNumber342({}, { message: "debe ser un numero" }),
|
|
@@ -30140,7 +30141,7 @@ __decorateClass([
|
|
|
30140
30141
|
], TransaccionFoliosENTITY.prototype, "Bitacora", 2);
|
|
30141
30142
|
|
|
30142
30143
|
// src/logistica/tipo movimiento almacen/shared/index.ts
|
|
30143
|
-
import { Expose as Expose511, Transform as
|
|
30144
|
+
import { Expose as Expose511, Transform as Transform58, Type as Type353 } from "class-transformer";
|
|
30144
30145
|
import { IsNotEmpty as IsNotEmpty324, IsNumber as IsNumber343, IsString as IsString394, Length as Length254, Min as Min265, ValidateNested as ValidateNested321 } from "class-validator";
|
|
30145
30146
|
var TipoMovimientoAlmacenENTITY = class {
|
|
30146
30147
|
ID_TipoMovimientoAlmacen = 0;
|
|
@@ -30160,14 +30161,14 @@ __decorateClass([
|
|
|
30160
30161
|
IsString394({ message: "debe ser un texto" }),
|
|
30161
30162
|
IsNotEmpty324({ message: "es requerido" }),
|
|
30162
30163
|
Length254(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
30163
|
-
|
|
30164
|
+
Transform58(({ value }) => value?.toUpperCase().trim()),
|
|
30164
30165
|
Expose511()
|
|
30165
30166
|
], TipoMovimientoAlmacenENTITY.prototype, "Nombre", 2);
|
|
30166
30167
|
__decorateClass([
|
|
30167
30168
|
IsString394({ message: "debe ser un texto" }),
|
|
30168
30169
|
IsNotEmpty324({ message: "es requerido" }),
|
|
30169
30170
|
Length254(1, 120, { message: "debe tener entre 1 y 120 caracteres" }),
|
|
30170
|
-
|
|
30171
|
+
Transform58(({ value }) => value?.toUpperCase().trim()),
|
|
30171
30172
|
Expose511()
|
|
30172
30173
|
], TipoMovimientoAlmacenENTITY.prototype, "Descripcion", 2);
|
|
30173
30174
|
__decorateClass([
|
|
@@ -30247,7 +30248,7 @@ __decorateClass([
|
|
|
30247
30248
|
], UbicacionAlmacenDTO.prototype, "Referencia", 2);
|
|
30248
30249
|
|
|
30249
30250
|
// src/logistica/almacen/shared/index.ts
|
|
30250
|
-
import { Expose as Expose515, Transform as
|
|
30251
|
+
import { Expose as Expose515, Transform as Transform59, Type as Type355 } from "class-transformer";
|
|
30251
30252
|
import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray194, IsNotEmpty as IsNotEmpty327, IsNumber as IsNumber345, IsString as IsString396, Length as Length256, Min as Min267, ValidateNested as ValidateNested323 } from "class-validator";
|
|
30252
30253
|
var AlmacenENTITY = class {
|
|
30253
30254
|
ID_Almacen = 0;
|
|
@@ -30295,13 +30296,13 @@ __decorateClass([
|
|
|
30295
30296
|
__decorateClass([
|
|
30296
30297
|
IsString396({ message: "debe ser un texto" }),
|
|
30297
30298
|
Length256(1, 75, { message: "debe tener entre 1 y 75 caracteres" }),
|
|
30298
|
-
|
|
30299
|
+
Transform59(({ value }) => value?.toUpperCase().trim()),
|
|
30299
30300
|
Expose515()
|
|
30300
30301
|
], AlmacenENTITY.prototype, "Codigo", 2);
|
|
30301
30302
|
__decorateClass([
|
|
30302
30303
|
IsString396({ message: "debe ser un texto" }),
|
|
30303
30304
|
Length256(1, 200, { message: "debe tener entre 1 y 200 caracteres" }),
|
|
30304
|
-
|
|
30305
|
+
Transform59(({ value }) => value?.toUpperCase().trim()),
|
|
30305
30306
|
Expose515()
|
|
30306
30307
|
], AlmacenENTITY.prototype, "Nombre", 2);
|
|
30307
30308
|
__decorateClass([
|
|
@@ -30333,7 +30334,7 @@ __decorateClass([
|
|
|
30333
30334
|
], AlmacenENTITY.prototype, "Bitacora", 2);
|
|
30334
30335
|
|
|
30335
30336
|
// src/logistica/bodega/shared/index.ts
|
|
30336
|
-
import { Expose as Expose517, Transform as
|
|
30337
|
+
import { Expose as Expose517, Transform as Transform60, Type as Type357 } from "class-transformer";
|
|
30337
30338
|
import { IsArray as IsArray196, IsNotEmpty as IsNotEmpty329, IsNumber as IsNumber347, IsString as IsString398, Length as Length257, Min as Min269, ValidateNested as ValidateNested325 } from "class-validator";
|
|
30338
30339
|
|
|
30339
30340
|
// src/logistica/bodega/shared/dto/atiende-bodega-dto.ts
|
|
@@ -30403,19 +30404,19 @@ __decorateClass([
|
|
|
30403
30404
|
__decorateClass([
|
|
30404
30405
|
IsString398({ message: "debe ser un texto" }),
|
|
30405
30406
|
Length257(1, 75, { message: "debe tener entre 1 y 75 caracteres" }),
|
|
30406
|
-
|
|
30407
|
+
Transform60(({ value }) => value?.toUpperCase().trim()),
|
|
30407
30408
|
Expose517()
|
|
30408
30409
|
], BodegaENTITY.prototype, "Codigo", 2);
|
|
30409
30410
|
__decorateClass([
|
|
30410
30411
|
IsString398({ message: "debe ser un texto" }),
|
|
30411
30412
|
Length257(1, 200, { message: "debe tener entre 1 y 200 caracteres" }),
|
|
30412
|
-
|
|
30413
|
+
Transform60(({ value }) => value?.toUpperCase().trim()),
|
|
30413
30414
|
Expose517()
|
|
30414
30415
|
], BodegaENTITY.prototype, "Nombre", 2);
|
|
30415
30416
|
__decorateClass([
|
|
30416
30417
|
IsString398({ message: "debe ser un texto" }),
|
|
30417
30418
|
Length257(1, 200, { message: "debe tener entre 1 y 200 caracteres" }),
|
|
30418
|
-
|
|
30419
|
+
Transform60(({ value }) => value?.toUpperCase().trim()),
|
|
30419
30420
|
Expose517()
|
|
30420
30421
|
], BodegaENTITY.prototype, "Descripcion", 2);
|
|
30421
30422
|
__decorateClass([
|
|
@@ -30446,7 +30447,7 @@ __decorateClass([
|
|
|
30446
30447
|
], BodegaENTITY.prototype, "Bitacora", 2);
|
|
30447
30448
|
|
|
30448
30449
|
// src/logistica/autoinventario/shared/index.ts
|
|
30449
|
-
import { Expose as Expose519, Transform as
|
|
30450
|
+
import { Expose as Expose519, Transform as Transform61, Type as Type358 } from "class-transformer";
|
|
30450
30451
|
|
|
30451
30452
|
// src/logistica/autoinventario/shared/dto/equipos-AI-dto.ts
|
|
30452
30453
|
import { Expose as Expose518 } from "class-transformer";
|
|
@@ -30551,7 +30552,7 @@ __decorateClass([
|
|
|
30551
30552
|
Expose519()
|
|
30552
30553
|
], AutoInventarioENTITY.prototype, "Observacion", 2);
|
|
30553
30554
|
__decorateClass([
|
|
30554
|
-
|
|
30555
|
+
Transform61(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
30555
30556
|
IsDate118({ message: "debe ser una fecha" }),
|
|
30556
30557
|
IsNotEmpty331({ message: "es requerido" }),
|
|
30557
30558
|
Expose519()
|
|
@@ -30578,7 +30579,7 @@ __decorateClass([
|
|
|
30578
30579
|
], AutoInventarioENTITY.prototype, "Estado", 2);
|
|
30579
30580
|
|
|
30580
30581
|
// src/logistica/unidad medida/shared/index.ts
|
|
30581
|
-
import { Expose as Expose520, Transform as
|
|
30582
|
+
import { Expose as Expose520, Transform as Transform62, Type as Type359 } from "class-transformer";
|
|
30582
30583
|
import { IsNotEmpty as IsNotEmpty332, IsNumber as IsNumber349, IsString as IsString401, Length as Length260, Min as Min271, ValidateNested as ValidateNested327 } from "class-validator";
|
|
30583
30584
|
var UnidadMedidaENTITY = class {
|
|
30584
30585
|
ID_UnidadMedida = 0;
|
|
@@ -30598,13 +30599,13 @@ __decorateClass([
|
|
|
30598
30599
|
IsString401({ message: "debe ser un texto" }),
|
|
30599
30600
|
IsNotEmpty332({ message: "es requerido" }),
|
|
30600
30601
|
Length260(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
30601
|
-
|
|
30602
|
+
Transform62(({ value }) => value?.toUpperCase().trim()),
|
|
30602
30603
|
Expose520()
|
|
30603
30604
|
], UnidadMedidaENTITY.prototype, "Nombre", 2);
|
|
30604
30605
|
__decorateClass([
|
|
30605
30606
|
IsString401({ message: "debe ser un texto" }),
|
|
30606
30607
|
IsNotEmpty332({ message: "es requerido" }),
|
|
30607
|
-
|
|
30608
|
+
Transform62(({ value }) => value?.toUpperCase().trim()),
|
|
30608
30609
|
Expose520()
|
|
30609
30610
|
], UnidadMedidaENTITY.prototype, "Descripcion", 2);
|
|
30610
30611
|
__decorateClass([
|
|
@@ -30627,7 +30628,7 @@ __decorateClass([
|
|
|
30627
30628
|
], UnidadMedidaENTITY.prototype, "Estado", 2);
|
|
30628
30629
|
|
|
30629
30630
|
// src/logistica/gran familia item/shared/index.ts
|
|
30630
|
-
import { Expose as Expose521, Transform as
|
|
30631
|
+
import { Expose as Expose521, Transform as Transform63, Type as Type360 } from "class-transformer";
|
|
30631
30632
|
import { IsArray as IsArray198, IsNotEmpty as IsNotEmpty333, IsNumber as IsNumber350, IsString as IsString402, Length as Length261, Min as Min272, ValidateNested as ValidateNested328 } from "class-validator";
|
|
30632
30633
|
var GranFamiliaItemENTITY = class {
|
|
30633
30634
|
ID_GranFamiliaItem = 0;
|
|
@@ -30647,14 +30648,14 @@ __decorateClass([
|
|
|
30647
30648
|
__decorateClass([
|
|
30648
30649
|
IsString402({ message: "debe ser un texto" }),
|
|
30649
30650
|
Length261(1, 200, { message: "debe tener entre 1 y 200 caracteres" }),
|
|
30650
|
-
|
|
30651
|
+
Transform63(({ value }) => value?.toUpperCase().trim()),
|
|
30651
30652
|
IsNotEmpty333({ message: "es requerido" }),
|
|
30652
30653
|
Expose521()
|
|
30653
30654
|
], GranFamiliaItemENTITY.prototype, "Nombre", 2);
|
|
30654
30655
|
__decorateClass([
|
|
30655
30656
|
IsString402({ message: "debe ser un texto" }),
|
|
30656
30657
|
Length261(1, 200, { message: "debe tener entre 1 y 200 caracteres" }),
|
|
30657
|
-
|
|
30658
|
+
Transform63(({ value }) => value?.toUpperCase().trim()),
|
|
30658
30659
|
IsNotEmpty333({ message: "es requerido" }),
|
|
30659
30660
|
Expose521()
|
|
30660
30661
|
], GranFamiliaItemENTITY.prototype, "Descripcion", 2);
|
|
@@ -30685,7 +30686,7 @@ __decorateClass([
|
|
|
30685
30686
|
], GranFamiliaItemENTITY.prototype, "Bitacora", 2);
|
|
30686
30687
|
|
|
30687
30688
|
// src/logistica/tipo almacen/shared/index.ts
|
|
30688
|
-
import { Expose as Expose522, Transform as
|
|
30689
|
+
import { Expose as Expose522, Transform as Transform64, Type as Type361 } from "class-transformer";
|
|
30689
30690
|
import { IsNotEmpty as IsNotEmpty334, IsNumber as IsNumber351, IsString as IsString403, Min as Min273, ValidateNested as ValidateNested329 } from "class-validator";
|
|
30690
30691
|
var TipoAlmacenENTITY = class {
|
|
30691
30692
|
ID_TipoAlmacen = 0;
|
|
@@ -30704,12 +30705,12 @@ __decorateClass([
|
|
|
30704
30705
|
__decorateClass([
|
|
30705
30706
|
IsString403({ message: "debe ser un texto" }),
|
|
30706
30707
|
Expose522(),
|
|
30707
|
-
|
|
30708
|
+
Transform64(({ value }) => value?.toUpperCase().trim())
|
|
30708
30709
|
], TipoAlmacenENTITY.prototype, "Nombre", 2);
|
|
30709
30710
|
__decorateClass([
|
|
30710
30711
|
IsString403({ message: "debe ser un texto" }),
|
|
30711
30712
|
Expose522(),
|
|
30712
|
-
|
|
30713
|
+
Transform64(({ value }) => value?.toUpperCase().trim())
|
|
30713
30714
|
], TipoAlmacenENTITY.prototype, "Descripcion", 2);
|
|
30714
30715
|
__decorateClass([
|
|
30715
30716
|
Type361(() => EstadoDTO),
|
|
@@ -30731,7 +30732,7 @@ __decorateClass([
|
|
|
30731
30732
|
], TipoAlmacenENTITY.prototype, "Delegacion", 2);
|
|
30732
30733
|
|
|
30733
30734
|
// src/logistica/tipo stock/shared/index.ts
|
|
30734
|
-
import { Expose as Expose523, Transform as
|
|
30735
|
+
import { Expose as Expose523, Transform as Transform65, Type as Type362 } from "class-transformer";
|
|
30735
30736
|
import { IsNotEmpty as IsNotEmpty335, IsNumber as IsNumber352, IsString as IsString404, Length as Length262, Min as Min274, ValidateNested as ValidateNested330 } from "class-validator";
|
|
30736
30737
|
var TipoStockENTITY = class {
|
|
30737
30738
|
ID_TipoStock = 0;
|
|
@@ -30750,13 +30751,13 @@ __decorateClass([
|
|
|
30750
30751
|
__decorateClass([
|
|
30751
30752
|
IsString404({ message: "debe ser un texto" }),
|
|
30752
30753
|
Length262(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
30753
|
-
|
|
30754
|
+
Transform65(({ value }) => value?.toUpperCase().trim()),
|
|
30754
30755
|
Expose523()
|
|
30755
30756
|
], TipoStockENTITY.prototype, "Nombre", 2);
|
|
30756
30757
|
__decorateClass([
|
|
30757
30758
|
IsString404({ message: "debe ser un texto" }),
|
|
30758
30759
|
Length262(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
30759
|
-
|
|
30760
|
+
Transform65(({ value }) => value?.toUpperCase().trim()),
|
|
30760
30761
|
Expose523()
|
|
30761
30762
|
], TipoStockENTITY.prototype, "Descripcion", 2);
|
|
30762
30763
|
__decorateClass([
|
|
@@ -30779,7 +30780,7 @@ __decorateClass([
|
|
|
30779
30780
|
], TipoStockENTITY.prototype, "Delegacion", 2);
|
|
30780
30781
|
|
|
30781
30782
|
// src/logistica/almacen extra/shared/index.ts
|
|
30782
|
-
import { Expose as Expose524, Transform as
|
|
30783
|
+
import { Expose as Expose524, Transform as Transform66, Type as Type363 } from "class-transformer";
|
|
30783
30784
|
import { IsNotEmpty as IsNotEmpty336, IsNumber as IsNumber353, IsString as IsString405, Length as Length263, Min as Min275, ValidateNested as ValidateNested331 } from "class-validator";
|
|
30784
30785
|
var AlmacenExtraENTITY = class {
|
|
30785
30786
|
ID_AlmacenExtra = 0;
|
|
@@ -30852,13 +30853,13 @@ __decorateClass([
|
|
|
30852
30853
|
Expose524()
|
|
30853
30854
|
], AlmacenExtraENTITY.prototype, "Country", 2);
|
|
30854
30855
|
__decorateClass([
|
|
30855
|
-
|
|
30856
|
+
Transform66(({ value }) => isNaN(Number(value)) ? 0 : Number(value)),
|
|
30856
30857
|
IsNumber353({}, { message: "debe ser una coordenada" }),
|
|
30857
30858
|
IsNotEmpty336({ message: "es requerido" }),
|
|
30858
30859
|
Expose524()
|
|
30859
30860
|
], AlmacenExtraENTITY.prototype, "Latitude", 2);
|
|
30860
30861
|
__decorateClass([
|
|
30861
|
-
|
|
30862
|
+
Transform66(({ value }) => isNaN(Number(value)) ? 0 : Number(value)),
|
|
30862
30863
|
IsNumber353({}, { message: "debe ser una coordenada" }),
|
|
30863
30864
|
IsNotEmpty336({ message: "es requerido" }),
|
|
30864
30865
|
Expose524()
|
|
@@ -31218,7 +31219,7 @@ __decorateClass([
|
|
|
31218
31219
|
], AprobacionDto.prototype, "Nivel", 2);
|
|
31219
31220
|
|
|
31220
31221
|
// src/logistica/procesos/navisionpreorden/shared/dto/accepted-dto.ts
|
|
31221
|
-
import { Expose as Expose531, Type as Type367, Transform as
|
|
31222
|
+
import { Expose as Expose531, Type as Type367, Transform as Transform67 } from "class-transformer";
|
|
31222
31223
|
import { IsDate as IsDate121, IsNumber as IsNumber359, IsOptional as IsOptional31, IsString as IsString411, Min as Min279 } from "class-validator";
|
|
31223
31224
|
var AcceptedDto = class {
|
|
31224
31225
|
IdDate = 0;
|
|
@@ -31238,7 +31239,7 @@ __decorateClass([
|
|
|
31238
31239
|
], AcceptedDto.prototype, "IdDate", 2);
|
|
31239
31240
|
__decorateClass([
|
|
31240
31241
|
IsOptional31(),
|
|
31241
|
-
|
|
31242
|
+
Transform67(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31242
31243
|
IsDate121({ message: "debe ser una fecha" }),
|
|
31243
31244
|
Type367(() => Date),
|
|
31244
31245
|
Expose531()
|
|
@@ -31276,11 +31277,11 @@ __decorateClass([
|
|
|
31276
31277
|
], AcceptedDto.prototype, "FullName", 2);
|
|
31277
31278
|
|
|
31278
31279
|
// src/logistica/procesos/navisionpreorden/shared/dto/albaran-dto.ts
|
|
31279
|
-
import { Expose as Expose536, Transform as
|
|
31280
|
+
import { Expose as Expose536, Transform as Transform70, Type as Type369 } from "class-transformer";
|
|
31280
31281
|
import { IsNumber as IsNumber362, IsOptional as IsOptional36, IsString as IsString416, IsArray as IsArray200, ValidateNested as ValidateNested335 } from "class-validator";
|
|
31281
31282
|
|
|
31282
31283
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-albaran-dto.ts
|
|
31283
|
-
import { Expose as Expose532, Transform as
|
|
31284
|
+
import { Expose as Expose532, Transform as Transform68 } from "class-transformer";
|
|
31284
31285
|
import { IsOptional as IsOptional32, IsString as IsString412 } from "class-validator";
|
|
31285
31286
|
var DetalleAlbaranDTO = class {
|
|
31286
31287
|
Field = "";
|
|
@@ -31289,7 +31290,7 @@ var DetalleAlbaranDTO = class {
|
|
|
31289
31290
|
__decorateClass([
|
|
31290
31291
|
IsOptional32(),
|
|
31291
31292
|
IsString412({ message: "debe ser texto" }),
|
|
31292
|
-
|
|
31293
|
+
Transform68(({ value }) => value?.toUpperCase().trim()),
|
|
31293
31294
|
Expose532()
|
|
31294
31295
|
], DetalleAlbaranDTO.prototype, "Field", 2);
|
|
31295
31296
|
__decorateClass([
|
|
@@ -31299,7 +31300,7 @@ __decorateClass([
|
|
|
31299
31300
|
], DetalleAlbaranDTO.prototype, "Code", 2);
|
|
31300
31301
|
|
|
31301
31302
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-date-registry-dto.ts
|
|
31302
|
-
import { Expose as Expose533, Transform as
|
|
31303
|
+
import { Expose as Expose533, Transform as Transform69 } from "class-transformer";
|
|
31303
31304
|
import { IsOptional as IsOptional33, IsString as IsString413, IsNumber as IsNumber360 } from "class-validator";
|
|
31304
31305
|
var dateToISOStringOrEmpty = (value) => value instanceof Date ? value.toISOString() : "";
|
|
31305
31306
|
var NavisionDateRegistryDto = class {
|
|
@@ -31314,7 +31315,7 @@ __decorateClass([
|
|
|
31314
31315
|
__decorateClass([
|
|
31315
31316
|
IsOptional33(),
|
|
31316
31317
|
IsString413({ message: "debe ser texto" }),
|
|
31317
|
-
|
|
31318
|
+
Transform69(({ value }) => dateToISOStringOrEmpty(value)),
|
|
31318
31319
|
Expose533()
|
|
31319
31320
|
], NavisionDateRegistryDto.prototype, "Date", 2);
|
|
31320
31321
|
var NavisionRegistryDateDto = class extends NavisionDateRegistryDto {
|
|
@@ -31409,7 +31410,7 @@ __decorateClass([
|
|
|
31409
31410
|
__decorateClass([
|
|
31410
31411
|
IsOptional36(),
|
|
31411
31412
|
IsString416({ message: "debe ser texto" }),
|
|
31412
|
-
|
|
31413
|
+
Transform70(({ value }) => value?.toUpperCase().trim()),
|
|
31413
31414
|
Expose536()
|
|
31414
31415
|
], AlbaranDto.prototype, "Name", 2);
|
|
31415
31416
|
__decorateClass([
|
|
@@ -31420,7 +31421,7 @@ __decorateClass([
|
|
|
31420
31421
|
__decorateClass([
|
|
31421
31422
|
IsOptional36(),
|
|
31422
31423
|
IsString416({ message: "debe ser texto" }),
|
|
31423
|
-
|
|
31424
|
+
Transform70(({ value }) => value?.toUpperCase().trim()),
|
|
31424
31425
|
Expose536()
|
|
31425
31426
|
], AlbaranDto.prototype, "Extension", 2);
|
|
31426
31427
|
__decorateClass([
|
|
@@ -31431,7 +31432,7 @@ __decorateClass([
|
|
|
31431
31432
|
__decorateClass([
|
|
31432
31433
|
IsOptional36(),
|
|
31433
31434
|
IsNumber362({}, { message: "debe ser un n\xFAmero" }),
|
|
31434
|
-
|
|
31435
|
+
Transform70(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
31435
31436
|
Expose536()
|
|
31436
31437
|
], AlbaranDto.prototype, "Status", 2);
|
|
31437
31438
|
__decorateClass([
|
|
@@ -31461,7 +31462,7 @@ __decorateClass([
|
|
|
31461
31462
|
], AlbaranDto.prototype, "Bitacora", 2);
|
|
31462
31463
|
|
|
31463
31464
|
// src/logistica/procesos/navisionpreorden/shared/dto/closed-dto.ts
|
|
31464
|
-
import { Expose as Expose537, Type as Type370, Transform as
|
|
31465
|
+
import { Expose as Expose537, Type as Type370, Transform as Transform71 } from "class-transformer";
|
|
31465
31466
|
import { IsDate as IsDate122, IsNumber as IsNumber363, IsOptional as IsOptional37, IsString as IsString417, Min as Min281 } from "class-validator";
|
|
31466
31467
|
var ClosedDto = class {
|
|
31467
31468
|
IdDate = 0;
|
|
@@ -31481,7 +31482,7 @@ __decorateClass([
|
|
|
31481
31482
|
], ClosedDto.prototype, "IdDate", 2);
|
|
31482
31483
|
__decorateClass([
|
|
31483
31484
|
IsOptional37(),
|
|
31484
|
-
|
|
31485
|
+
Transform71(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31485
31486
|
IsDate122({ message: "debe ser una fecha" }),
|
|
31486
31487
|
Type370(() => Date),
|
|
31487
31488
|
Expose537()
|
|
@@ -31519,7 +31520,7 @@ __decorateClass([
|
|
|
31519
31520
|
], ClosedDto.prototype, "FullName", 2);
|
|
31520
31521
|
|
|
31521
31522
|
// src/logistica/procesos/navisionpreorden/shared/dto/emision-dto.ts
|
|
31522
|
-
import { Expose as Expose538, Type as Type371, Transform as
|
|
31523
|
+
import { Expose as Expose538, Type as Type371, Transform as Transform72 } from "class-transformer";
|
|
31523
31524
|
import { IsDate as IsDate123, IsNumber as IsNumber364, IsOptional as IsOptional38, IsString as IsString418, Min as Min282 } from "class-validator";
|
|
31524
31525
|
var EmisionDto = class {
|
|
31525
31526
|
IdDate = 0;
|
|
@@ -31539,7 +31540,7 @@ __decorateClass([
|
|
|
31539
31540
|
], EmisionDto.prototype, "IdDate", 2);
|
|
31540
31541
|
__decorateClass([
|
|
31541
31542
|
IsOptional38(),
|
|
31542
|
-
|
|
31543
|
+
Transform72(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31543
31544
|
IsDate123({ message: "debe ser una fecha" }),
|
|
31544
31545
|
Type371(() => Date),
|
|
31545
31546
|
Expose538()
|
|
@@ -31580,7 +31581,7 @@ __decorateClass([
|
|
|
31580
31581
|
import { Expose as Expose544 } from "class-transformer";
|
|
31581
31582
|
|
|
31582
31583
|
// src/logistica/procesos/navisionpreorden/shared/dto/factura-dto.ts
|
|
31583
|
-
import { Expose as Expose539, Type as Type372, Transform as
|
|
31584
|
+
import { Expose as Expose539, Type as Type372, Transform as Transform73 } from "class-transformer";
|
|
31584
31585
|
import { IsDate as IsDate124, IsNumber as IsNumber365, IsOptional as IsOptional39, IsString as IsString419, Min as Min283 } from "class-validator";
|
|
31585
31586
|
var FacturaDto = class {
|
|
31586
31587
|
IdDate = 0;
|
|
@@ -31600,7 +31601,7 @@ __decorateClass([
|
|
|
31600
31601
|
], FacturaDto.prototype, "IdDate", 2);
|
|
31601
31602
|
__decorateClass([
|
|
31602
31603
|
IsOptional39(),
|
|
31603
|
-
|
|
31604
|
+
Transform73(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31604
31605
|
IsDate124({ message: "debe ser una fecha" }),
|
|
31605
31606
|
Type372(() => Date),
|
|
31606
31607
|
Expose539()
|
|
@@ -31641,7 +31642,7 @@ __decorateClass([
|
|
|
31641
31642
|
import { ValidateNested as ValidateNested336 } from "class-validator";
|
|
31642
31643
|
|
|
31643
31644
|
// src/logistica/procesos/navisionpreorden/shared/dto/orden-dto.ts
|
|
31644
|
-
import { Expose as Expose540, Type as Type373, Transform as
|
|
31645
|
+
import { Expose as Expose540, Type as Type373, Transform as Transform74 } from "class-transformer";
|
|
31645
31646
|
import { IsDate as IsDate125, IsNumber as IsNumber366, IsOptional as IsOptional40, IsString as IsString420, Min as Min284 } from "class-validator";
|
|
31646
31647
|
var OrdenDto = class {
|
|
31647
31648
|
IdDate = 0;
|
|
@@ -31661,7 +31662,7 @@ __decorateClass([
|
|
|
31661
31662
|
], OrdenDto.prototype, "IdDate", 2);
|
|
31662
31663
|
__decorateClass([
|
|
31663
31664
|
IsOptional40(),
|
|
31664
|
-
|
|
31665
|
+
Transform74(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31665
31666
|
IsDate125({ message: "debe ser una fecha" }),
|
|
31666
31667
|
Type373(() => Date),
|
|
31667
31668
|
Expose540()
|
|
@@ -31699,7 +31700,7 @@ __decorateClass([
|
|
|
31699
31700
|
], OrdenDto.prototype, "FullName", 2);
|
|
31700
31701
|
|
|
31701
31702
|
// src/logistica/procesos/navisionpreorden/shared/dto/pre-accepted-dto.ts
|
|
31702
|
-
import { Expose as Expose541, Type as Type374, Transform as
|
|
31703
|
+
import { Expose as Expose541, Type as Type374, Transform as Transform75 } from "class-transformer";
|
|
31703
31704
|
import { IsDate as IsDate126, IsNumber as IsNumber367, IsOptional as IsOptional41, IsString as IsString421, Min as Min285 } from "class-validator";
|
|
31704
31705
|
var PreAcceptedDto = class {
|
|
31705
31706
|
IdDate = 0;
|
|
@@ -31719,7 +31720,7 @@ __decorateClass([
|
|
|
31719
31720
|
], PreAcceptedDto.prototype, "IdDate", 2);
|
|
31720
31721
|
__decorateClass([
|
|
31721
31722
|
IsOptional41(),
|
|
31722
|
-
|
|
31723
|
+
Transform75(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31723
31724
|
IsDate126({ message: "debe ser una fecha" }),
|
|
31724
31725
|
Type374(() => Date),
|
|
31725
31726
|
Expose541()
|
|
@@ -31757,7 +31758,7 @@ __decorateClass([
|
|
|
31757
31758
|
], PreAcceptedDto.prototype, "FullName", 2);
|
|
31758
31759
|
|
|
31759
31760
|
// src/logistica/procesos/navisionpreorden/shared/dto/registry-dto.ts
|
|
31760
|
-
import { Expose as Expose542, Type as Type375, Transform as
|
|
31761
|
+
import { Expose as Expose542, Type as Type375, Transform as Transform76 } from "class-transformer";
|
|
31761
31762
|
import { IsDate as IsDate127, IsNumber as IsNumber368, IsOptional as IsOptional42, IsString as IsString422, Min as Min286 } from "class-validator";
|
|
31762
31763
|
var RegistryDto = class {
|
|
31763
31764
|
IdDate = 0;
|
|
@@ -31777,7 +31778,7 @@ __decorateClass([
|
|
|
31777
31778
|
], RegistryDto.prototype, "IdDate", 2);
|
|
31778
31779
|
__decorateClass([
|
|
31779
31780
|
IsOptional42(),
|
|
31780
|
-
|
|
31781
|
+
Transform76(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31781
31782
|
IsDate127({ message: "debe ser una fecha" }),
|
|
31782
31783
|
Type375(() => Date),
|
|
31783
31784
|
Expose542()
|
|
@@ -31818,7 +31819,7 @@ __decorateClass([
|
|
|
31818
31819
|
import { Type as Type377 } from "class-transformer";
|
|
31819
31820
|
|
|
31820
31821
|
// src/logistica/procesos/navisionpreorden/shared/dto/update-dto.ts
|
|
31821
|
-
import { Expose as Expose543, Type as Type376, Transform as
|
|
31822
|
+
import { Expose as Expose543, Type as Type376, Transform as Transform77 } from "class-transformer";
|
|
31822
31823
|
import { IsDate as IsDate128, IsNumber as IsNumber369, IsOptional as IsOptional43, IsString as IsString423, Min as Min287 } from "class-validator";
|
|
31823
31824
|
var UpdateDto = class {
|
|
31824
31825
|
IdDate = 0;
|
|
@@ -31838,7 +31839,7 @@ __decorateClass([
|
|
|
31838
31839
|
], UpdateDto.prototype, "IdDate", 2);
|
|
31839
31840
|
__decorateClass([
|
|
31840
31841
|
IsOptional43(),
|
|
31841
|
-
|
|
31842
|
+
Transform77(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31842
31843
|
IsDate128({ message: "debe ser una fecha" }),
|
|
31843
31844
|
Type376(() => Date),
|
|
31844
31845
|
Expose543()
|
|
@@ -32388,7 +32389,7 @@ __decorateClass([
|
|
|
32388
32389
|
], EmpresaPersonalDatosTrabajoDTO.prototype, "Propia", 2);
|
|
32389
32390
|
|
|
32390
32391
|
// src/logistica/procesos/navisionpreorden/shared/dto/personal-logistica-dto.ts
|
|
32391
|
-
import { Expose as Expose561, Transform as
|
|
32392
|
+
import { Expose as Expose561, Transform as Transform78, Type as Type381 } from "class-transformer";
|
|
32392
32393
|
import { IsNumber as IsNumber373, IsString as IsString439, ValidateNested as ValidateNested340 } from "class-validator";
|
|
32393
32394
|
var NavisionPersonalLogisticaDTO = class {
|
|
32394
32395
|
Codigo = "";
|
|
@@ -32407,7 +32408,7 @@ __decorateClass([
|
|
|
32407
32408
|
], NavisionPersonalLogisticaDTO.prototype, "Codigo", 2);
|
|
32408
32409
|
__decorateClass([
|
|
32409
32410
|
Expose561(),
|
|
32410
|
-
|
|
32411
|
+
Transform78(({ value }) => {
|
|
32411
32412
|
const num = Number(value);
|
|
32412
32413
|
return isNaN(num) ? 0 : num;
|
|
32413
32414
|
}),
|
|
@@ -32415,7 +32416,7 @@ __decorateClass([
|
|
|
32415
32416
|
], NavisionPersonalLogisticaDTO.prototype, "IdPersonal", 2);
|
|
32416
32417
|
__decorateClass([
|
|
32417
32418
|
Expose561(),
|
|
32418
|
-
|
|
32419
|
+
Transform78(({ value }) => {
|
|
32419
32420
|
const num = Number(value);
|
|
32420
32421
|
return isNaN(num) ? 0 : num;
|
|
32421
32422
|
}),
|
|
@@ -32448,7 +32449,7 @@ __decorateClass([
|
|
|
32448
32449
|
], NavisionPersonalLogisticaDTO.prototype, "Firma", 2);
|
|
32449
32450
|
|
|
32450
32451
|
// src/logistica/procesos/navisionpreorden/shared/dto/tipo-movimiento-almacen-datos-trabajo-dto.ts
|
|
32451
|
-
import { Expose as Expose562, Transform as
|
|
32452
|
+
import { Expose as Expose562, Transform as Transform79 } from "class-transformer";
|
|
32452
32453
|
import { IsNumber as IsNumber374, IsString as IsString440, Min as Min288 } from "class-validator";
|
|
32453
32454
|
var TipoMovimientoAlmacenDatosTrabajoDTO = class {
|
|
32454
32455
|
ID_TipoMovimientoAlmacen = 0;
|
|
@@ -32456,7 +32457,7 @@ var TipoMovimientoAlmacenDatosTrabajoDTO = class {
|
|
|
32456
32457
|
};
|
|
32457
32458
|
__decorateClass([
|
|
32458
32459
|
Expose562(),
|
|
32459
|
-
|
|
32460
|
+
Transform79(({ value }) => Number(value)),
|
|
32460
32461
|
IsNumber374({}, { message: "debe ser un numero" }),
|
|
32461
32462
|
Min288(0, { message: "el valor m\xEDnimo es 0" })
|
|
32462
32463
|
], TipoMovimientoAlmacenDatosTrabajoDTO.prototype, "ID_TipoMovimientoAlmacen", 2);
|
|
@@ -32466,7 +32467,7 @@ __decorateClass([
|
|
|
32466
32467
|
], TipoMovimientoAlmacenDatosTrabajoDTO.prototype, "Nombre", 2);
|
|
32467
32468
|
|
|
32468
32469
|
// src/logistica/procesos/navisionpreorden/shared/dto/tipo-stock-stock-personal-datos-trabajo-dto.ts
|
|
32469
|
-
import { Expose as Expose563, Transform as
|
|
32470
|
+
import { Expose as Expose563, Transform as Transform80 } from "class-transformer";
|
|
32470
32471
|
import { IsNumber as IsNumber375, IsString as IsString441, Min as Min289 } from "class-validator";
|
|
32471
32472
|
var TipoStockStockPersonalDatosTrabajoDTO = class {
|
|
32472
32473
|
ID_TipoStock = 0;
|
|
@@ -32474,7 +32475,7 @@ var TipoStockStockPersonalDatosTrabajoDTO = class {
|
|
|
32474
32475
|
};
|
|
32475
32476
|
__decorateClass([
|
|
32476
32477
|
Expose563(),
|
|
32477
|
-
|
|
32478
|
+
Transform80(({ value }) => Number(value)),
|
|
32478
32479
|
IsNumber375({}, { message: "debe ser un numero" }),
|
|
32479
32480
|
Min289(0, { message: "el valor m\xEDnimo es 0" })
|
|
32480
32481
|
], TipoStockStockPersonalDatosTrabajoDTO.prototype, "ID_TipoStock", 2);
|
|
@@ -32484,7 +32485,7 @@ __decorateClass([
|
|
|
32484
32485
|
], TipoStockStockPersonalDatosTrabajoDTO.prototype, "Nombre", 2);
|
|
32485
32486
|
|
|
32486
32487
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-movimiento-almacen-dto.ts
|
|
32487
|
-
import { Expose as Expose564, Transform as
|
|
32488
|
+
import { Expose as Expose564, Transform as Transform81, Type as Type382 } from "class-transformer";
|
|
32488
32489
|
import { IsNotEmpty as IsNotEmpty364, IsNumber as IsNumber376, IsString as IsString442, ValidateNested as ValidateNested341 } from "class-validator";
|
|
32489
32490
|
var NavisionMovimientoAlmacenDTO = class {
|
|
32490
32491
|
ID_MovimientoAlmacen = 0;
|
|
@@ -32493,7 +32494,7 @@ var NavisionMovimientoAlmacenDTO = class {
|
|
|
32493
32494
|
TipoStock = new TipoStockStockPersonalDatosTrabajoDTO();
|
|
32494
32495
|
};
|
|
32495
32496
|
__decorateClass([
|
|
32496
|
-
|
|
32497
|
+
Transform81(({ value }) => Number(value)),
|
|
32497
32498
|
IsNumber376({}, { message: "debe ser un n\xFAmero" }),
|
|
32498
32499
|
Expose564()
|
|
32499
32500
|
], NavisionMovimientoAlmacenDTO.prototype, "ID_MovimientoAlmacen", 2);
|
|
@@ -34076,7 +34077,7 @@ __decorateClass([
|
|
|
34076
34077
|
], TipoOperacionDto.prototype, "TipoOperacion", 2);
|
|
34077
34078
|
|
|
34078
34079
|
// src/logistica/procesos/navisionpreorden/shared/navisionpreorden-entity.ts
|
|
34079
|
-
import { Type as Type403, Transform as
|
|
34080
|
+
import { Type as Type403, Transform as Transform82 } from "class-transformer";
|
|
34080
34081
|
var NavisionpreordenEntity = class {
|
|
34081
34082
|
ID_NavisionpreordenEntity = 0;
|
|
34082
34083
|
IdPreOrden = 0;
|
|
@@ -34296,7 +34297,7 @@ __decorateClass([
|
|
|
34296
34297
|
], NavisionpreordenEntity.prototype, "Total", 2);
|
|
34297
34298
|
__decorateClass([
|
|
34298
34299
|
IsOptional56(),
|
|
34299
|
-
|
|
34300
|
+
Transform82(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
34300
34301
|
IsDate131({ message: "debe ser una fecha" }),
|
|
34301
34302
|
Type403(() => Date),
|
|
34302
34303
|
Expose605()
|
|
@@ -34308,7 +34309,7 @@ __decorateClass([
|
|
|
34308
34309
|
], NavisionpreordenEntity.prototype, "UserRegistry", 2);
|
|
34309
34310
|
__decorateClass([
|
|
34310
34311
|
IsOptional56(),
|
|
34311
|
-
|
|
34312
|
+
Transform82(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
34312
34313
|
IsDate131({ message: "debe ser una fecha" }),
|
|
34313
34314
|
Type403(() => Date),
|
|
34314
34315
|
Expose605()
|
|
@@ -34687,7 +34688,7 @@ __decorateClass([
|
|
|
34687
34688
|
], RecursosPersonalDTO.prototype, "InicioActividad", 2);
|
|
34688
34689
|
|
|
34689
34690
|
// src/configuracion/personal/shared/index.ts
|
|
34690
|
-
import { Expose as Expose613, Transform as
|
|
34691
|
+
import { Expose as Expose613, Transform as Transform83, Type as Type409 } from "class-transformer";
|
|
34691
34692
|
import {
|
|
34692
34693
|
ArrayNotEmpty as ArrayNotEmpty5,
|
|
34693
34694
|
IsArray as IsArray213,
|
|
@@ -34790,7 +34791,7 @@ __decorateClass([
|
|
|
34790
34791
|
ValidateNested366()
|
|
34791
34792
|
], PersonalENTITY.prototype, "TipoDocumento", 2);
|
|
34792
34793
|
__decorateClass([
|
|
34793
|
-
|
|
34794
|
+
Transform83(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
34794
34795
|
IsString487({ message: "debe ser un texto" }),
|
|
34795
34796
|
IsNotEmpty402({ message: "es requerido" }),
|
|
34796
34797
|
Length274(1, 41, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
@@ -35842,7 +35843,7 @@ __decorateClass([
|
|
|
35842
35843
|
], ContratistasDTO.prototype, "Estado", 2);
|
|
35843
35844
|
|
|
35844
35845
|
// src/configuracion/usuarios/shared/index.ts
|
|
35845
|
-
import { Expose as Expose635, Transform as
|
|
35846
|
+
import { Expose as Expose635, Transform as Transform84, Type as Type424 } from "class-transformer";
|
|
35846
35847
|
import { IsArray as IsArray220, IsBoolean as IsBoolean64, IsNotEmpty as IsNotEmpty421, IsNumber as IsNumber412, IsString as IsString508, Length as Length294, Min as Min315, ValidateNested as ValidateNested376, IsEmail as IsEmail3, IsEnum as IsEnum13 } from "class-validator";
|
|
35847
35848
|
var UsuarioENTITY = class {
|
|
35848
35849
|
IdUsuario = 0;
|
|
@@ -35920,7 +35921,7 @@ __decorateClass([
|
|
|
35920
35921
|
ValidateNested376()
|
|
35921
35922
|
], UsuarioENTITY.prototype, "TipoDocumento", 2);
|
|
35922
35923
|
__decorateClass([
|
|
35923
|
-
|
|
35924
|
+
Transform84(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
35924
35925
|
IsString508({ message: "debe ser un texto" }),
|
|
35925
35926
|
IsNotEmpty421({ message: "es requerido" }),
|
|
35926
35927
|
Length294(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
|
|
@@ -36070,7 +36071,7 @@ __decorateClass([
|
|
|
36070
36071
|
], UsuarioENTITY.prototype, "Contratistas", 2);
|
|
36071
36072
|
|
|
36072
36073
|
// src/configuracion/tipo opcion sistema/shared/index.ts
|
|
36073
|
-
import { Expose as Expose636, Transform as
|
|
36074
|
+
import { Expose as Expose636, Transform as Transform85, Type as Type425 } from "class-transformer";
|
|
36074
36075
|
import { IsDefined as IsDefined194, IsNumber as IsNumber413, IsString as IsString509, Length as Length295, Min as Min316, ValidateNested as ValidateNested377 } from "class-validator";
|
|
36075
36076
|
var TipoOpcionSistemaENTITY = class {
|
|
36076
36077
|
IdTipoOpcion = 0;
|
|
@@ -36099,7 +36100,7 @@ __decorateClass([
|
|
|
36099
36100
|
], TipoOpcionSistemaENTITY.prototype, "Descripcion", 2);
|
|
36100
36101
|
__decorateClass([
|
|
36101
36102
|
IsDefined194({ message: "El campo Padre es obligatorio" }),
|
|
36102
|
-
|
|
36103
|
+
Transform85(({ value }) => Number(value)),
|
|
36103
36104
|
Expose636(),
|
|
36104
36105
|
IsNumber413({}, { message: "debe ser un numero" }),
|
|
36105
36106
|
Min316(0, { message: "el valor m\xEDnimo es 0" })
|
|
@@ -36198,7 +36199,7 @@ __decorateClass([
|
|
|
36198
36199
|
import { IsDate as IsDate141, IsEnum as IsEnum15, IsNotEmpty as IsNotEmpty425, IsString as IsString513, Length as Length299, ValidateNested as ValidateNested379 } from "class-validator";
|
|
36199
36200
|
|
|
36200
36201
|
// src/configuracion/notificaciones/shared/dto/data-adicional-dto.ts
|
|
36201
|
-
import { Expose as Expose639, Transform as
|
|
36202
|
+
import { Expose as Expose639, Transform as Transform86 } from "class-transformer";
|
|
36202
36203
|
import { IsDate as IsDate140, IsEnum as IsEnum14, IsNotEmpty as IsNotEmpty424, IsString as IsString512, Length as Length298 } from "class-validator";
|
|
36203
36204
|
var OperacionDataAdicional = /* @__PURE__ */ ((OperacionDataAdicional2) => {
|
|
36204
36205
|
OperacionDataAdicional2["CREAR"] = "crear";
|
|
@@ -36229,7 +36230,7 @@ __decorateClass([
|
|
|
36229
36230
|
Expose639()
|
|
36230
36231
|
], DataAdicionalDTO.prototype, "operacion", 2);
|
|
36231
36232
|
__decorateClass([
|
|
36232
|
-
|
|
36233
|
+
Transform86(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
36233
36234
|
IsDate140({ message: "debe ser una fecha" }),
|
|
36234
36235
|
IsNotEmpty424({ message: "es requerido" }),
|
|
36235
36236
|
Expose639()
|
|
@@ -36241,7 +36242,7 @@ __decorateClass([
|
|
|
36241
36242
|
], DataAdicionalDTO.prototype, "localName", 2);
|
|
36242
36243
|
|
|
36243
36244
|
// src/configuracion/notificaciones/shared/index.ts
|
|
36244
|
-
import { Expose as Expose640, Transform as
|
|
36245
|
+
import { Expose as Expose640, Transform as Transform87, Type as Type427 } from "class-transformer";
|
|
36245
36246
|
var TipoNotificacion = /* @__PURE__ */ ((TipoNotificacion2) => {
|
|
36246
36247
|
TipoNotificacion2["INFO"] = "info";
|
|
36247
36248
|
TipoNotificacion2["ERROR"] = "error";
|
|
@@ -36284,7 +36285,7 @@ __decorateClass([
|
|
|
36284
36285
|
Expose640()
|
|
36285
36286
|
], NotificacionesENTITY.prototype, "titulo", 2);
|
|
36286
36287
|
__decorateClass([
|
|
36287
|
-
|
|
36288
|
+
Transform87(({ value }) => typeof value === "string" ? value.substring(0, 400) : value),
|
|
36288
36289
|
IsString513({ message: "debe ser un texto" }),
|
|
36289
36290
|
Length299(1, 400, { message: "debe tener entre 1 y 400 caracteres" }),
|
|
36290
36291
|
Expose640()
|
|
@@ -36306,13 +36307,13 @@ __decorateClass([
|
|
|
36306
36307
|
ValidateNested379()
|
|
36307
36308
|
], NotificacionesENTITY.prototype, "dataAdicional", 2);
|
|
36308
36309
|
__decorateClass([
|
|
36309
|
-
|
|
36310
|
+
Transform87(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
36310
36311
|
IsDate141({ message: "debe ser una fecha" }),
|
|
36311
36312
|
IsNotEmpty425({ message: "es requerido" }),
|
|
36312
36313
|
Expose640()
|
|
36313
36314
|
], NotificacionesENTITY.prototype, "fechaCreacion", 2);
|
|
36314
36315
|
__decorateClass([
|
|
36315
|
-
|
|
36316
|
+
Transform87(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
36316
36317
|
IsDate141({ message: "debe ser una fecha" }),
|
|
36317
36318
|
IsNotEmpty425({ message: "es requerido" }),
|
|
36318
36319
|
Expose640()
|
|
@@ -37177,7 +37178,7 @@ __decorateClass([
|
|
|
37177
37178
|
], EmpresaValDTO.prototype, "TipoEmpresa", 2);
|
|
37178
37179
|
|
|
37179
37180
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
37180
|
-
import { Expose as Expose663, Transform as
|
|
37181
|
+
import { Expose as Expose663, Transform as Transform88 } from "class-transformer";
|
|
37181
37182
|
import { IsEnum as IsEnum17, IsNotEmpty as IsNotEmpty432, IsNumber as IsNumber429, IsOptional as IsOptional61, IsString as IsString536, Length as Length307, Min as Min323 } from "class-validator";
|
|
37182
37183
|
var InventarioValDTO = class {
|
|
37183
37184
|
Descripcion = "";
|
|
@@ -37216,7 +37217,7 @@ __decorateClass([
|
|
|
37216
37217
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
37217
37218
|
__decorateClass([
|
|
37218
37219
|
IsString536({ message: "debe ser un texto" }),
|
|
37219
|
-
|
|
37220
|
+
Transform88(({ value }) => value ? String(value) : value),
|
|
37220
37221
|
Length307(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
37221
37222
|
Expose663(),
|
|
37222
37223
|
IsOptional61()
|
|
@@ -37658,7 +37659,7 @@ __decorateClass([
|
|
|
37658
37659
|
], ProductosServiciosLiqDTO.prototype, "Cantidad", 2);
|
|
37659
37660
|
|
|
37660
37661
|
// src/operativa/procesos/liquidadas_toa/shared/dto/inventario-liq-dto.ts
|
|
37661
|
-
import { Expose as Expose668, Transform as
|
|
37662
|
+
import { Expose as Expose668, Transform as Transform89 } from "class-transformer";
|
|
37662
37663
|
import { IsEnum as IsEnum18, IsNotEmpty as IsNotEmpty437, IsNumber as IsNumber434, IsString as IsString541, Length as Length312, Min as Min328 } from "class-validator";
|
|
37663
37664
|
var InventarioLiqDTO = class {
|
|
37664
37665
|
Descripcion = "";
|
|
@@ -37695,7 +37696,7 @@ __decorateClass([
|
|
|
37695
37696
|
], InventarioLiqDTO.prototype, "CodigoSAP", 2);
|
|
37696
37697
|
__decorateClass([
|
|
37697
37698
|
IsString541({ message: "debe ser un texto" }),
|
|
37698
|
-
|
|
37699
|
+
Transform89(({ value }) => value ? String(value) : value),
|
|
37699
37700
|
Length312(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
37700
37701
|
Expose668()
|
|
37701
37702
|
], InventarioLiqDTO.prototype, "NumeroSerie", 2);
|
|
@@ -39268,7 +39269,7 @@ var ISheetsJsonChileTdC = class {
|
|
|
39268
39269
|
};
|
|
39269
39270
|
|
|
39270
39271
|
// src/operativa/procesos/toa_claro/shared/index.ts
|
|
39271
|
-
import { Expose as Expose699, Transform as
|
|
39272
|
+
import { Expose as Expose699, Transform as Transform91, Type as Type452 } from "class-transformer";
|
|
39272
39273
|
import { IsNotEmpty as IsNotEmpty452, IsNumber as IsNumber448, IsString as IsString569, Length as Length337, Min as Min339, IsDate as IsDate150, ValidateNested as ValidateNested398, IsEnum as IsEnum21, IsDefined as IsDefined202, IsArray as IsArray228, IsUUID as IsUUID4 } from "class-validator";
|
|
39273
39274
|
|
|
39274
39275
|
// src/operativa/procesos/toa_claro/shared/dto/direccion toa dto.ts
|
|
@@ -39597,7 +39598,7 @@ __decorateClass([
|
|
|
39597
39598
|
Expose699()
|
|
39598
39599
|
], ToaClaroENTITY.prototype, "_id", 2);
|
|
39599
39600
|
__decorateClass([
|
|
39600
|
-
|
|
39601
|
+
Transform91(({ value }) => "TOA_CLARO" /* TOA_CLARO */),
|
|
39601
39602
|
IsEnum21(SistemaRecurso, { message: "debe ser un valor v\xE1lido de enum SistemaRecurso" }),
|
|
39602
39603
|
Expose699()
|
|
39603
39604
|
], ToaClaroENTITY.prototype, "Sistema", 2);
|
|
@@ -39934,7 +39935,7 @@ import { IsArray as IsArray229, IsDefined as IsDefined205, IsString as IsString5
|
|
|
39934
39935
|
import { Expose as Expose702, Type as Type453 } from "class-transformer";
|
|
39935
39936
|
|
|
39936
39937
|
// src/operativa/procesos/toa_claro/data_scraper/dto/items-orden-scraper-claro-vtr-dto.ts
|
|
39937
|
-
import { Expose as Expose700, Transform as
|
|
39938
|
+
import { Expose as Expose700, Transform as Transform92 } from "class-transformer";
|
|
39938
39939
|
import { IsDefined as IsDefined203, IsNumber as IsNumber449, IsString as IsString570 } from "class-validator";
|
|
39939
39940
|
var ItemsOrdenScraperClaroVTRDTO = class {
|
|
39940
39941
|
id = "";
|
|
@@ -39959,7 +39960,7 @@ __decorateClass([
|
|
|
39959
39960
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "accion", 2);
|
|
39960
39961
|
__decorateClass([
|
|
39961
39962
|
Expose700(),
|
|
39962
|
-
|
|
39963
|
+
Transform92(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
39963
39964
|
IsDefined203({ message: "El campo OCSIdCompra es requerido" }),
|
|
39964
39965
|
IsString570({ message: "El campo OCSIdCompra debe ser una cadena de texto" })
|
|
39965
39966
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "OCSIdCompra", 2);
|
|
@@ -39979,7 +39980,7 @@ __decorateClass([
|
|
|
39979
39980
|
IsNumber449({}, { message: "El campo cantidad debe ser un n\xFAmero" })
|
|
39980
39981
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "cantidad", 2);
|
|
39981
39982
|
__decorateClass([
|
|
39982
|
-
|
|
39983
|
+
Transform92(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
39983
39984
|
Expose700(),
|
|
39984
39985
|
IsDefined203({ message: "El campo ServiceId es requerido" }),
|
|
39985
39986
|
IsString570({ message: "El campo ServiceId debe ser una cadena de texto" })
|
|
@@ -39990,7 +39991,7 @@ __decorateClass([
|
|
|
39990
39991
|
IsString570({ message: "El campo estado debe ser una cadena de texto" })
|
|
39991
39992
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "estado", 2);
|
|
39992
39993
|
__decorateClass([
|
|
39993
|
-
|
|
39994
|
+
Transform92(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
39994
39995
|
Expose700(),
|
|
39995
39996
|
IsDefined203({ message: "El campo serial es requerido" }),
|
|
39996
39997
|
IsString570({ message: "El campo serial debe ser una cadena de texto" })
|
|
@@ -40820,7 +40821,7 @@ __decorateClass([
|
|
|
40820
40821
|
], EstadoProcesoValPeruDTO.prototype, "Fecha", 2);
|
|
40821
40822
|
|
|
40822
40823
|
// src/operativa/procesos/toa_movistar_db/shared/index.ts
|
|
40823
|
-
import { Expose as Expose717, Transform as
|
|
40824
|
+
import { Expose as Expose717, Transform as Transform93, Type as Type455 } from "class-transformer";
|
|
40824
40825
|
import {
|
|
40825
40826
|
IsDefined as IsDefined216,
|
|
40826
40827
|
IsString as IsString586,
|
|
@@ -41531,7 +41532,7 @@ __decorateClass([
|
|
|
41531
41532
|
], Peru9112TOAENTITYDB.prototype, "EECC", 2);
|
|
41532
41533
|
__decorateClass([
|
|
41533
41534
|
Expose717(),
|
|
41534
|
-
|
|
41535
|
+
Transform93(({ value }) => {
|
|
41535
41536
|
if (!value || Object.keys(value).length === 0) {
|
|
41536
41537
|
return {};
|
|
41537
41538
|
}
|
|
@@ -41545,7 +41546,7 @@ __decorateClass([
|
|
|
41545
41546
|
], Peru9112TOAENTITYDB.prototype, "AjusteReproceso", 2);
|
|
41546
41547
|
__decorateClass([
|
|
41547
41548
|
Expose717(),
|
|
41548
|
-
|
|
41549
|
+
Transform93(({ value }) => {
|
|
41549
41550
|
if (!value || Object.keys(value).length === 0) {
|
|
41550
41551
|
return {};
|
|
41551
41552
|
}
|
|
@@ -42561,10 +42562,10 @@ var Colombia9612TOAENTITY = class extends Chile9512TOAENTITY {
|
|
|
42561
42562
|
};
|
|
42562
42563
|
|
|
42563
42564
|
// src/operativa/procesos/onnet_fibra/shared/index.ts
|
|
42564
|
-
import { Expose as Expose732, Transform as
|
|
42565
|
+
import { Expose as Expose732, Transform as Transform99, Type as Type461 } from "class-transformer";
|
|
42565
42566
|
|
|
42566
42567
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
42567
|
-
import { Expose as Expose724, Transform as
|
|
42568
|
+
import { Expose as Expose724, Transform as Transform95 } from "class-transformer";
|
|
42568
42569
|
import { IsDate as IsDate157, IsDefined as IsDefined223, IsNumber as IsNumber466, IsOptional as IsOptional67, IsString as IsString592 } from "class-validator";
|
|
42569
42570
|
|
|
42570
42571
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
@@ -42632,14 +42633,14 @@ __decorateClass([
|
|
|
42632
42633
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
42633
42634
|
__decorateClass([
|
|
42634
42635
|
IsOptional67(),
|
|
42635
|
-
|
|
42636
|
+
Transform95(({ value }) => value ? String(value) : ""),
|
|
42636
42637
|
IsString592({ message: "El campo lt debe ser una cadena de texto" }),
|
|
42637
42638
|
Expose724()
|
|
42638
42639
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
42639
42640
|
__decorateClass([
|
|
42640
42641
|
IsOptional67(),
|
|
42641
42642
|
IsNumber466({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
42642
|
-
|
|
42643
|
+
Transform95(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
42643
42644
|
Expose724()
|
|
42644
42645
|
], BitacoraDeOrdenesDTO.prototype, "id_orden_mantenimiento_anexo", 2);
|
|
42645
42646
|
__decorateClass([
|
|
@@ -42650,7 +42651,7 @@ __decorateClass([
|
|
|
42650
42651
|
__decorateClass([
|
|
42651
42652
|
IsOptional67(),
|
|
42652
42653
|
IsNumber466({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
42653
|
-
|
|
42654
|
+
Transform95(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
42654
42655
|
Expose724()
|
|
42655
42656
|
], BitacoraDeOrdenesDTO.prototype, "cantidad_clientes_afectados", 2);
|
|
42656
42657
|
__decorateClass([
|
|
@@ -42686,13 +42687,13 @@ __decorateClass([
|
|
|
42686
42687
|
__decorateClass([
|
|
42687
42688
|
IsOptional67(),
|
|
42688
42689
|
IsString592({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
42689
|
-
|
|
42690
|
+
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42690
42691
|
Expose724()
|
|
42691
42692
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
42692
42693
|
__decorateClass([
|
|
42693
42694
|
IsOptional67(),
|
|
42694
42695
|
IsString592({ message: "El campo olt debe ser una cadena de texto" }),
|
|
42695
|
-
|
|
42696
|
+
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42696
42697
|
Expose724()
|
|
42697
42698
|
], BitacoraDeOrdenesDTO.prototype, "olt", 2);
|
|
42698
42699
|
__decorateClass([
|
|
@@ -42747,7 +42748,7 @@ __decorateClass([
|
|
|
42747
42748
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
42748
42749
|
__decorateClass([
|
|
42749
42750
|
IsOptional67(),
|
|
42750
|
-
|
|
42751
|
+
Transform95(({ value }) => formatDateOnnetFibra(value)),
|
|
42751
42752
|
IsDate157({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
42752
42753
|
Expose724()
|
|
42753
42754
|
], BitacoraDeOrdenesDTO.prototype, "fecha_instalacion", 2);
|
|
@@ -42769,7 +42770,7 @@ __decorateClass([
|
|
|
42769
42770
|
__decorateClass([
|
|
42770
42771
|
IsOptional67(),
|
|
42771
42772
|
IsString592({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
42772
|
-
|
|
42773
|
+
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42773
42774
|
Expose724()
|
|
42774
42775
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
42775
42776
|
__decorateClass([
|
|
@@ -42779,20 +42780,20 @@ __decorateClass([
|
|
|
42779
42780
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
42780
42781
|
__decorateClass([
|
|
42781
42782
|
IsOptional67({ message: "El campo cliente es opcional" }),
|
|
42782
|
-
|
|
42783
|
+
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42783
42784
|
IsString592({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
42784
42785
|
Expose724()
|
|
42785
42786
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
42786
42787
|
__decorateClass([
|
|
42787
42788
|
IsOptional67({ message: "El campo comuna es opcional" }),
|
|
42788
|
-
|
|
42789
|
+
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42789
42790
|
IsString592({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
42790
42791
|
Expose724()
|
|
42791
42792
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
42792
42793
|
__decorateClass([
|
|
42793
42794
|
IsOptional67({ message: "El campo pep es opcional" }),
|
|
42794
42795
|
IsString592({ message: "El campo pep debe ser una cadena de texto" }),
|
|
42795
|
-
|
|
42796
|
+
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42796
42797
|
Expose724()
|
|
42797
42798
|
], BitacoraDeOrdenesDTO.prototype, "pep", 2);
|
|
42798
42799
|
__decorateClass([
|
|
@@ -42822,7 +42823,7 @@ __decorateClass([
|
|
|
42822
42823
|
__decorateClass([
|
|
42823
42824
|
IsOptional67(),
|
|
42824
42825
|
IsNumber466({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
42825
|
-
|
|
42826
|
+
Transform95(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
42826
42827
|
Expose724()
|
|
42827
42828
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
42828
42829
|
__decorateClass([
|
|
@@ -42837,7 +42838,7 @@ __decorateClass([
|
|
|
42837
42838
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
42838
42839
|
|
|
42839
42840
|
// src/operativa/procesos/onnet_fibra/shared/dto/estado_de_pago.ts
|
|
42840
|
-
import { Expose as Expose725, Transform as
|
|
42841
|
+
import { Expose as Expose725, Transform as Transform96 } from "class-transformer";
|
|
42841
42842
|
import { IsDate as IsDate158, IsDefined as IsDefined224, IsNumber as IsNumber467, IsString as IsString593 } from "class-validator";
|
|
42842
42843
|
var EstadoDePagoDTO = class {
|
|
42843
42844
|
capacidad_cable = "";
|
|
@@ -42865,7 +42866,7 @@ __decorateClass([
|
|
|
42865
42866
|
Expose725()
|
|
42866
42867
|
], EstadoDePagoDTO.prototype, "estado", 2);
|
|
42867
42868
|
__decorateClass([
|
|
42868
|
-
|
|
42869
|
+
Transform96(({ value }) => formatDateOnnetFibra(value)),
|
|
42869
42870
|
IsDate158({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
42870
42871
|
Expose725()
|
|
42871
42872
|
], EstadoDePagoDTO.prototype, "fecha_crea", 2);
|
|
@@ -42880,7 +42881,7 @@ __decorateClass([
|
|
|
42880
42881
|
Expose725()
|
|
42881
42882
|
], EstadoDePagoDTO.prototype, "id_orden_mantenimiento", 2);
|
|
42882
42883
|
__decorateClass([
|
|
42883
|
-
|
|
42884
|
+
Transform96(({ value }) => formatDateOnnetFibra(value)),
|
|
42884
42885
|
IsDate158({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
42885
42886
|
Expose725()
|
|
42886
42887
|
], EstadoDePagoDTO.prototype, "fecha_validador", 2);
|
|
@@ -42985,7 +42986,7 @@ import { Expose as Expose730, Type as Type460 } from "class-transformer";
|
|
|
42985
42986
|
import { IsArray as IsArray233, IsDefined as IsDefined229, IsString as IsString598, ValidateNested as ValidateNested405 } from "class-validator";
|
|
42986
42987
|
|
|
42987
42988
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
42988
|
-
import { Expose as Expose727, Transform as
|
|
42989
|
+
import { Expose as Expose727, Transform as Transform97, Type as Type459 } from "class-transformer";
|
|
42989
42990
|
import { IsDefined as IsDefined226, IsNumber as IsNumber469, IsOptional as IsOptional68, IsString as IsString595 } from "class-validator";
|
|
42990
42991
|
var DetalleOrdenRealDTO = class {
|
|
42991
42992
|
descripcion = "";
|
|
@@ -43003,25 +43004,25 @@ var DetalleOrdenRealDTO = class {
|
|
|
43003
43004
|
__decorateClass([
|
|
43004
43005
|
IsDefined226({ message: "El campo descripcion es requerido" }),
|
|
43005
43006
|
IsString595({ message: "El campo descripcion debe ser una cadena de texto" }),
|
|
43006
|
-
|
|
43007
|
+
Transform97(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43007
43008
|
Expose727()
|
|
43008
43009
|
], DetalleOrdenRealDTO.prototype, "descripcion", 2);
|
|
43009
43010
|
__decorateClass([
|
|
43010
43011
|
IsDefined226({ message: "El campo tipo es requerido" }),
|
|
43011
43012
|
IsString595({ message: "El campo tipo debe ser una cadena de texto" }),
|
|
43012
|
-
|
|
43013
|
+
Transform97(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43013
43014
|
Expose727()
|
|
43014
43015
|
], DetalleOrdenRealDTO.prototype, "tipo", 2);
|
|
43015
43016
|
__decorateClass([
|
|
43016
43017
|
IsDefined226({ message: "El campo tipo_material es requerido" }),
|
|
43017
43018
|
IsString595({ message: "El campo tipo_material debe ser una cadena de texto" }),
|
|
43018
|
-
|
|
43019
|
+
Transform97(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43019
43020
|
Expose727()
|
|
43020
43021
|
], DetalleOrdenRealDTO.prototype, "tipo_material", 2);
|
|
43021
43022
|
__decorateClass([
|
|
43022
43023
|
IsDefined226({ message: "El campo codigo es requerido" }),
|
|
43023
43024
|
IsString595({ message: "El campo codigo debe ser una cadena de texto" }),
|
|
43024
|
-
|
|
43025
|
+
Transform97(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43025
43026
|
Expose727()
|
|
43026
43027
|
], DetalleOrdenRealDTO.prototype, "codigo", 2);
|
|
43027
43028
|
__decorateClass([
|
|
@@ -43035,12 +43036,12 @@ __decorateClass([
|
|
|
43035
43036
|
__decorateClass([
|
|
43036
43037
|
IsOptional68({ message: "El campo tecnico es requerido" }),
|
|
43037
43038
|
IsString595({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
43038
|
-
|
|
43039
|
+
Transform97(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43039
43040
|
Expose727()
|
|
43040
43041
|
], DetalleOrdenRealDTO.prototype, "tecnico", 2);
|
|
43041
43042
|
__decorateClass([
|
|
43042
43043
|
IsString595({ message: "El campo unidad debe ser una cadena de texto" }),
|
|
43043
|
-
|
|
43044
|
+
Transform97(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43044
43045
|
Expose727()
|
|
43045
43046
|
], DetalleOrdenRealDTO.prototype, "unidad", 2);
|
|
43046
43047
|
__decorateClass([
|
|
@@ -43050,18 +43051,18 @@ __decorateClass([
|
|
|
43050
43051
|
__decorateClass([
|
|
43051
43052
|
IsOptional68({ message: "El campo contrato es opcional" }),
|
|
43052
43053
|
IsString595({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
43053
|
-
|
|
43054
|
+
Transform97(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43054
43055
|
Expose727()
|
|
43055
43056
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
43056
43057
|
__decorateClass([
|
|
43057
43058
|
Type459(() => CodigoNombreDTO),
|
|
43058
43059
|
IsOptional68(),
|
|
43059
|
-
|
|
43060
|
+
Transform97(({ value }) => value ?? new CodigoNombreDTO()),
|
|
43060
43061
|
Expose727()
|
|
43061
43062
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
43062
43063
|
|
|
43063
43064
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/orden_detail_maintenance.ts
|
|
43064
|
-
import { Expose as Expose728, Transform as
|
|
43065
|
+
import { Expose as Expose728, Transform as Transform98 } from "class-transformer";
|
|
43065
43066
|
import { IsDate as IsDate159, IsDefined as IsDefined227, IsNumber as IsNumber470, IsString as IsString596 } from "class-validator";
|
|
43066
43067
|
var OrdenDetailMaintenanceDTO = class {
|
|
43067
43068
|
tipo = "";
|
|
@@ -43112,7 +43113,7 @@ __decorateClass([
|
|
|
43112
43113
|
Expose728()
|
|
43113
43114
|
], OrdenDetailMaintenanceDTO.prototype, "estado", 2);
|
|
43114
43115
|
__decorateClass([
|
|
43115
|
-
|
|
43116
|
+
Transform98(({ value }) => formatDateOnnetFibra(value)),
|
|
43116
43117
|
IsDate159({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
43117
43118
|
Expose728()
|
|
43118
43119
|
], OrdenDetailMaintenanceDTO.prototype, "fecha_crea", 2);
|
|
@@ -43467,12 +43468,12 @@ __decorateClass([
|
|
|
43467
43468
|
Expose732()
|
|
43468
43469
|
], OnnetFibraENTITY.prototype, "LlaveRegla", 2);
|
|
43469
43470
|
__decorateClass([
|
|
43470
|
-
|
|
43471
|
+
Transform99(({ value }) => value === void 0 || value === null ? 0 : value),
|
|
43471
43472
|
IsNumber473({}, { message: "El campo MO debe ser numero" }),
|
|
43472
43473
|
Expose732()
|
|
43473
43474
|
], OnnetFibraENTITY.prototype, "MO", 2);
|
|
43474
43475
|
__decorateClass([
|
|
43475
|
-
|
|
43476
|
+
Transform99(({ value }) => value === void 0 || value === null ? 0 : value),
|
|
43476
43477
|
IsNumber473({}, { message: "El campo PB debe ser numero" }),
|
|
43477
43478
|
Expose732()
|
|
43478
43479
|
], OnnetFibraENTITY.prototype, "PB", 2);
|
|
@@ -43620,7 +43621,7 @@ __decorateClass([
|
|
|
43620
43621
|
], RequestNumberTTLENTITY.prototype, "createdAt", 2);
|
|
43621
43622
|
|
|
43622
43623
|
// src/operativa/procesos/win_order/shared/index.ts
|
|
43623
|
-
import { Expose as Expose738, Transform as
|
|
43624
|
+
import { Expose as Expose738, Transform as Transform101, Type as Type467 } from "class-transformer";
|
|
43624
43625
|
import {
|
|
43625
43626
|
IsDefined as IsDefined237,
|
|
43626
43627
|
IsString as IsString606,
|
|
@@ -43809,7 +43810,7 @@ import {
|
|
|
43809
43810
|
import "reflect-metadata";
|
|
43810
43811
|
|
|
43811
43812
|
// src/operativa/procesos/win_order_db/shared/dto/index.ts
|
|
43812
|
-
import { Expose as Expose736, Transform as
|
|
43813
|
+
import { Expose as Expose736, Transform as Transform100 } from "class-transformer";
|
|
43813
43814
|
import {
|
|
43814
43815
|
IsDefined as IsDefined235,
|
|
43815
43816
|
IsString as IsString604,
|
|
@@ -43904,7 +43905,7 @@ var MaterialeswinDBDTO = class {
|
|
|
43904
43905
|
__decorateClass([
|
|
43905
43906
|
Expose736(),
|
|
43906
43907
|
IsDefined235({ message: "El campo key es obligatorio." }),
|
|
43907
|
-
|
|
43908
|
+
Transform100(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
|
|
43908
43909
|
IsString604()
|
|
43909
43910
|
], MaterialeswinDBDTO.prototype, "key", 2);
|
|
43910
43911
|
__decorateClass([
|
|
@@ -44305,7 +44306,7 @@ __decorateClass([
|
|
|
44305
44306
|
], Peru9112WinENTITY.prototype, "estado", 2);
|
|
44306
44307
|
__decorateClass([
|
|
44307
44308
|
Expose738({ name: "Estado Interno" }),
|
|
44308
|
-
|
|
44309
|
+
Transform101(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
|
|
44309
44310
|
IsDefined237({ message: "El campo estado interno es obligatorio." }),
|
|
44310
44311
|
IsEnum29(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
44311
44312
|
], Peru9112WinENTITY.prototype, "estado_interno", 2);
|
|
@@ -44407,7 +44408,7 @@ __decorateClass([
|
|
|
44407
44408
|
], Peru9112WinENTITY.prototype, "producto", 2);
|
|
44408
44409
|
|
|
44409
44410
|
// src/operativa/procesos/fibramas_order/shared/index.ts
|
|
44410
|
-
import { Expose as Expose742, Transform as
|
|
44411
|
+
import { Expose as Expose742, Transform as Transform103, Type as Type471 } from "class-transformer";
|
|
44411
44412
|
import {
|
|
44412
44413
|
IsDefined as IsDefined241,
|
|
44413
44414
|
IsString as IsString610,
|
|
@@ -44497,7 +44498,7 @@ import {
|
|
|
44497
44498
|
import "reflect-metadata";
|
|
44498
44499
|
|
|
44499
44500
|
// src/operativa/procesos/fibramas_order_db/shared/dto/index.ts
|
|
44500
|
-
import { Expose as Expose740, Transform as
|
|
44501
|
+
import { Expose as Expose740, Transform as Transform102 } from "class-transformer";
|
|
44501
44502
|
import {
|
|
44502
44503
|
IsDefined as IsDefined239,
|
|
44503
44504
|
IsString as IsString608,
|
|
@@ -44518,7 +44519,7 @@ var MaterialesFibramasDBDTO = class {
|
|
|
44518
44519
|
__decorateClass([
|
|
44519
44520
|
Expose740(),
|
|
44520
44521
|
IsDefined239({ message: "El campo key es obligatorio." }),
|
|
44521
|
-
|
|
44522
|
+
Transform102(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
|
|
44522
44523
|
IsString608()
|
|
44523
44524
|
], MaterialesFibramasDBDTO.prototype, "key", 2);
|
|
44524
44525
|
__decorateClass([
|
|
@@ -44832,7 +44833,7 @@ __decorateClass([
|
|
|
44832
44833
|
], Peru9112FibramasENTITY.prototype, "estado_del_servicio", 2);
|
|
44833
44834
|
__decorateClass([
|
|
44834
44835
|
Expose742({ name: "Estado Interno" }),
|
|
44835
|
-
|
|
44836
|
+
Transform103(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
|
|
44836
44837
|
IsDefined241({ message: "El campo estado interno es obligatorio." }),
|
|
44837
44838
|
IsEnum33(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
44838
44839
|
], Peru9112FibramasENTITY.prototype, "estado_interno", 2);
|
|
@@ -45100,7 +45101,7 @@ __decorateClass([
|
|
|
45100
45101
|
// src/operativa/procesos/TOA orden liquidacion/shared/index.ts
|
|
45101
45102
|
import { Expose as Expose745, Type as Type472 } from "class-transformer";
|
|
45102
45103
|
import { IsArray as IsArray239, IsDefined as IsDefined244, IsEnum as IsEnum36, IsNotEmpty as IsNotEmpty458, IsNumber as IsNumber485, IsObject as IsObject10, IsString as IsString613, IsUUID as IsUUID12, Matches as Matches5, ValidateNested as ValidateNested412 } from "class-validator";
|
|
45103
|
-
import { Transform as
|
|
45104
|
+
import { Transform as Transform104 } from "class-transformer";
|
|
45104
45105
|
import { IsDate as IsDate167, Length as Length338 } from "class-validator";
|
|
45105
45106
|
var ContestoEnum = /* @__PURE__ */ ((ContestoEnum2) => {
|
|
45106
45107
|
ContestoEnum2["SI"] = "SI";
|
|
@@ -45135,7 +45136,7 @@ __decorateClass([
|
|
|
45135
45136
|
IsEnum36(StateInternalOrderTOA, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrderTOA).join(", ")}.` })
|
|
45136
45137
|
], UsuarioLiqDTO.prototype, "estado_interno", 2);
|
|
45137
45138
|
__decorateClass([
|
|
45138
|
-
|
|
45139
|
+
Transform104(transformToDateIfEmpty),
|
|
45139
45140
|
Expose745(),
|
|
45140
45141
|
IsDate167(),
|
|
45141
45142
|
Type472(() => Date)
|
|
@@ -50102,7 +50103,7 @@ var StateMifibra = /* @__PURE__ */ ((StateMifibra2) => {
|
|
|
50102
50103
|
})(StateMifibra || {});
|
|
50103
50104
|
|
|
50104
50105
|
// src/operativa/procesos/mifibra_db/shared/dto/liq-pen-dto.ts
|
|
50105
|
-
import { Expose as Expose788, Transform as
|
|
50106
|
+
import { Expose as Expose788, Transform as Transform109 } from "class-transformer";
|
|
50106
50107
|
import { IsString as IsString652 } from "class-validator";
|
|
50107
50108
|
var transformToString = ({ value }) => value !== null && value !== void 0 ? String(value) : "";
|
|
50108
50109
|
var RawLiqPenDTO = class {
|
|
@@ -50177,347 +50178,347 @@ var RawLiqPenDTO = class {
|
|
|
50177
50178
|
};
|
|
50178
50179
|
__decorateClass([
|
|
50179
50180
|
Expose788(),
|
|
50180
|
-
|
|
50181
|
+
Transform109(transformToString),
|
|
50181
50182
|
IsString652()
|
|
50182
50183
|
], RawLiqPenDTO.prototype, "filial", 2);
|
|
50183
50184
|
__decorateClass([
|
|
50184
50185
|
Expose788(),
|
|
50185
|
-
|
|
50186
|
+
Transform109(transformToString),
|
|
50186
50187
|
IsString652()
|
|
50187
50188
|
], RawLiqPenDTO.prototype, "tipo_orden", 2);
|
|
50188
50189
|
__decorateClass([
|
|
50189
50190
|
Expose788(),
|
|
50190
|
-
|
|
50191
|
+
Transform109(transformToString),
|
|
50191
50192
|
IsString652()
|
|
50192
50193
|
], RawLiqPenDTO.prototype, "motivo", 2);
|
|
50193
50194
|
__decorateClass([
|
|
50194
50195
|
Expose788(),
|
|
50195
|
-
|
|
50196
|
+
Transform109(transformToString),
|
|
50196
50197
|
IsString652()
|
|
50197
50198
|
], RawLiqPenDTO.prototype, "lugar_averia", 2);
|
|
50198
50199
|
__decorateClass([
|
|
50199
50200
|
Expose788(),
|
|
50200
|
-
|
|
50201
|
+
Transform109(transformToString),
|
|
50201
50202
|
IsString652()
|
|
50202
50203
|
], RawLiqPenDTO.prototype, "causa", 2);
|
|
50203
50204
|
__decorateClass([
|
|
50204
50205
|
Expose788(),
|
|
50205
|
-
|
|
50206
|
+
Transform109(transformToString),
|
|
50206
50207
|
IsString652()
|
|
50207
50208
|
], RawLiqPenDTO.prototype, "sub_causa", 2);
|
|
50208
50209
|
__decorateClass([
|
|
50209
50210
|
Expose788(),
|
|
50210
|
-
|
|
50211
|
+
Transform109(transformToString),
|
|
50211
50212
|
IsString652()
|
|
50212
50213
|
], RawLiqPenDTO.prototype, "solucion", 2);
|
|
50213
50214
|
__decorateClass([
|
|
50214
50215
|
Expose788(),
|
|
50215
|
-
|
|
50216
|
+
Transform109(transformToString),
|
|
50216
50217
|
IsString652()
|
|
50217
50218
|
], RawLiqPenDTO.prototype, "detalle", 2);
|
|
50218
50219
|
__decorateClass([
|
|
50219
50220
|
Expose788(),
|
|
50220
|
-
|
|
50221
|
+
Transform109(transformToString),
|
|
50221
50222
|
IsString652()
|
|
50222
50223
|
], RawLiqPenDTO.prototype, "servicio", 2);
|
|
50223
50224
|
__decorateClass([
|
|
50224
50225
|
Expose788(),
|
|
50225
|
-
|
|
50226
|
+
Transform109(transformToString),
|
|
50226
50227
|
IsString652()
|
|
50227
50228
|
], RawLiqPenDTO.prototype, "estado_servicio", 2);
|
|
50228
50229
|
__decorateClass([
|
|
50229
50230
|
Expose788(),
|
|
50230
|
-
|
|
50231
|
+
Transform109(transformToString),
|
|
50231
50232
|
IsString652()
|
|
50232
50233
|
], RawLiqPenDTO.prototype, "tarifa_servicio", 2);
|
|
50233
50234
|
__decorateClass([
|
|
50234
50235
|
Expose788(),
|
|
50235
|
-
|
|
50236
|
+
Transform109(transformToString),
|
|
50236
50237
|
IsString652()
|
|
50237
50238
|
], RawLiqPenDTO.prototype, "precio_servicio", 2);
|
|
50238
50239
|
__decorateClass([
|
|
50239
50240
|
Expose788(),
|
|
50240
|
-
|
|
50241
|
+
Transform109(transformToString),
|
|
50241
50242
|
IsString652()
|
|
50242
50243
|
], RawLiqPenDTO.prototype, "tarifa_atencion_os", 2);
|
|
50243
50244
|
__decorateClass([
|
|
50244
50245
|
Expose788(),
|
|
50245
|
-
|
|
50246
|
+
Transform109(transformToString),
|
|
50246
50247
|
IsString652()
|
|
50247
50248
|
], RawLiqPenDTO.prototype, "abonado", 2);
|
|
50248
50249
|
__decorateClass([
|
|
50249
50250
|
Expose788(),
|
|
50250
|
-
|
|
50251
|
+
Transform109(transformToString),
|
|
50251
50252
|
IsString652()
|
|
50252
50253
|
], RawLiqPenDTO.prototype, "categoria", 2);
|
|
50253
50254
|
__decorateClass([
|
|
50254
50255
|
Expose788(),
|
|
50255
|
-
|
|
50256
|
+
Transform109(transformToString),
|
|
50256
50257
|
IsString652()
|
|
50257
50258
|
], RawLiqPenDTO.prototype, "nro_os", 2);
|
|
50258
50259
|
__decorateClass([
|
|
50259
50260
|
Expose788(),
|
|
50260
|
-
|
|
50261
|
+
Transform109(transformToString),
|
|
50261
50262
|
IsString652()
|
|
50262
50263
|
], RawLiqPenDTO.prototype, "zona_hash", 2);
|
|
50263
50264
|
__decorateClass([
|
|
50264
50265
|
Expose788(),
|
|
50265
|
-
|
|
50266
|
+
Transform109(transformToString),
|
|
50266
50267
|
IsString652()
|
|
50267
50268
|
], RawLiqPenDTO.prototype, "fecha_recepcion", 2);
|
|
50268
50269
|
__decorateClass([
|
|
50269
50270
|
Expose788(),
|
|
50270
|
-
|
|
50271
|
+
Transform109(transformToString),
|
|
50271
50272
|
IsString652()
|
|
50272
50273
|
], RawLiqPenDTO.prototype, "hora", 2);
|
|
50273
50274
|
__decorateClass([
|
|
50274
50275
|
Expose788(),
|
|
50275
|
-
|
|
50276
|
+
Transform109(transformToString),
|
|
50276
50277
|
IsString652()
|
|
50277
50278
|
], RawLiqPenDTO.prototype, "fecha_atencion", 2);
|
|
50278
50279
|
__decorateClass([
|
|
50279
50280
|
Expose788(),
|
|
50280
|
-
|
|
50281
|
+
Transform109(transformToString),
|
|
50281
50282
|
IsString652()
|
|
50282
50283
|
], RawLiqPenDTO.prototype, "hora_i", 2);
|
|
50283
50284
|
__decorateClass([
|
|
50284
50285
|
Expose788(),
|
|
50285
|
-
|
|
50286
|
+
Transform109(transformToString),
|
|
50286
50287
|
IsString652()
|
|
50287
50288
|
], RawLiqPenDTO.prototype, "hora_f", 2);
|
|
50288
50289
|
__decorateClass([
|
|
50289
50290
|
Expose788(),
|
|
50290
|
-
|
|
50291
|
+
Transform109(transformToString),
|
|
50291
50292
|
IsString652()
|
|
50292
50293
|
], RawLiqPenDTO.prototype, "estado_os", 2);
|
|
50293
50294
|
__decorateClass([
|
|
50294
50295
|
Expose788(),
|
|
50295
|
-
|
|
50296
|
+
Transform109(transformToString),
|
|
50296
50297
|
IsString652()
|
|
50297
50298
|
], RawLiqPenDTO.prototype, "nombres_tecnico_ejecutor", 2);
|
|
50298
50299
|
__decorateClass([
|
|
50299
50300
|
Expose788(),
|
|
50300
|
-
|
|
50301
|
+
Transform109(transformToString),
|
|
50301
50302
|
IsString652()
|
|
50302
50303
|
], RawLiqPenDTO.prototype, "nombre_vendedor", 2);
|
|
50303
50304
|
__decorateClass([
|
|
50304
50305
|
Expose788(),
|
|
50305
|
-
|
|
50306
|
+
Transform109(transformToString),
|
|
50306
50307
|
IsString652()
|
|
50307
50308
|
], RawLiqPenDTO.prototype, "observaciones", 2);
|
|
50308
50309
|
__decorateClass([
|
|
50309
50310
|
Expose788(),
|
|
50310
|
-
|
|
50311
|
+
Transform109(transformToString),
|
|
50311
50312
|
IsString652()
|
|
50312
50313
|
], RawLiqPenDTO.prototype, "plano", 2);
|
|
50313
50314
|
__decorateClass([
|
|
50314
50315
|
Expose788(),
|
|
50315
|
-
|
|
50316
|
+
Transform109(transformToString),
|
|
50316
50317
|
IsString652()
|
|
50317
50318
|
], RawLiqPenDTO.prototype, "provincia", 2);
|
|
50318
50319
|
__decorateClass([
|
|
50319
50320
|
Expose788(),
|
|
50320
|
-
|
|
50321
|
+
Transform109(transformToString),
|
|
50321
50322
|
IsString652()
|
|
50322
50323
|
], RawLiqPenDTO.prototype, "distrito", 2);
|
|
50323
50324
|
__decorateClass([
|
|
50324
50325
|
Expose788(),
|
|
50325
|
-
|
|
50326
|
+
Transform109(transformToString),
|
|
50326
50327
|
IsString652()
|
|
50327
50328
|
], RawLiqPenDTO.prototype, "nombres_tecnico_responsable", 2);
|
|
50328
50329
|
__decorateClass([
|
|
50329
50330
|
Expose788(),
|
|
50330
|
-
|
|
50331
|
+
Transform109(transformToString),
|
|
50331
50332
|
IsString652()
|
|
50332
50333
|
], RawLiqPenDTO.prototype, "observaciones_tecnico", 2);
|
|
50333
50334
|
__decorateClass([
|
|
50334
50335
|
Expose788(),
|
|
50335
|
-
|
|
50336
|
+
Transform109(transformToString),
|
|
50336
50337
|
IsString652()
|
|
50337
50338
|
], RawLiqPenDTO.prototype, "zona", 2);
|
|
50338
50339
|
__decorateClass([
|
|
50339
50340
|
Expose788(),
|
|
50340
|
-
|
|
50341
|
+
Transform109(transformToString),
|
|
50341
50342
|
IsString652()
|
|
50342
50343
|
], RawLiqPenDTO.prototype, "nap", 2);
|
|
50343
50344
|
__decorateClass([
|
|
50344
50345
|
Expose788(),
|
|
50345
|
-
|
|
50346
|
+
Transform109(transformToString),
|
|
50346
50347
|
IsString652()
|
|
50347
50348
|
], RawLiqPenDTO.prototype, "borne", 2);
|
|
50348
50349
|
__decorateClass([
|
|
50349
50350
|
Expose788(),
|
|
50350
|
-
|
|
50351
|
+
Transform109(transformToString),
|
|
50351
50352
|
IsString652()
|
|
50352
50353
|
], RawLiqPenDTO.prototype, "cant_visitas_tec", 2);
|
|
50353
50354
|
__decorateClass([
|
|
50354
50355
|
Expose788(),
|
|
50355
|
-
|
|
50356
|
+
Transform109(transformToString),
|
|
50356
50357
|
IsString652()
|
|
50357
50358
|
], RawLiqPenDTO.prototype, "usuario_ing", 2);
|
|
50358
50359
|
__decorateClass([
|
|
50359
50360
|
Expose788(),
|
|
50360
|
-
|
|
50361
|
+
Transform109(transformToString),
|
|
50361
50362
|
IsString652()
|
|
50362
50363
|
], RawLiqPenDTO.prototype, "fecha_ing", 2);
|
|
50363
50364
|
__decorateClass([
|
|
50364
50365
|
Expose788(),
|
|
50365
|
-
|
|
50366
|
+
Transform109(transformToString),
|
|
50366
50367
|
IsString652()
|
|
50367
50368
|
], RawLiqPenDTO.prototype, "hora_ing", 2);
|
|
50368
50369
|
__decorateClass([
|
|
50369
50370
|
Expose788(),
|
|
50370
|
-
|
|
50371
|
+
Transform109(transformToString),
|
|
50371
50372
|
IsString652()
|
|
50372
50373
|
], RawLiqPenDTO.prototype, "fecha_ejecucion", 2);
|
|
50373
50374
|
__decorateClass([
|
|
50374
50375
|
Expose788(),
|
|
50375
|
-
|
|
50376
|
+
Transform109(transformToString),
|
|
50376
50377
|
IsString652()
|
|
50377
50378
|
], RawLiqPenDTO.prototype, "usuario_mod", 2);
|
|
50378
50379
|
__decorateClass([
|
|
50379
50380
|
Expose788(),
|
|
50380
|
-
|
|
50381
|
+
Transform109(transformToString),
|
|
50381
50382
|
IsString652()
|
|
50382
50383
|
], RawLiqPenDTO.prototype, "fecha_mod", 2);
|
|
50383
50384
|
__decorateClass([
|
|
50384
50385
|
Expose788(),
|
|
50385
|
-
|
|
50386
|
+
Transform109(transformToString),
|
|
50386
50387
|
IsString652()
|
|
50387
50388
|
], RawLiqPenDTO.prototype, "hora_mod", 2);
|
|
50388
50389
|
__decorateClass([
|
|
50389
50390
|
Expose788(),
|
|
50390
|
-
|
|
50391
|
+
Transform109(transformToString),
|
|
50391
50392
|
IsString652()
|
|
50392
50393
|
], RawLiqPenDTO.prototype, "fecha_inscripcion", 2);
|
|
50393
50394
|
__decorateClass([
|
|
50394
50395
|
Expose788(),
|
|
50395
|
-
|
|
50396
|
+
Transform109(transformToString),
|
|
50396
50397
|
IsString652()
|
|
50397
50398
|
], RawLiqPenDTO.prototype, "canal_atencion", 2);
|
|
50398
50399
|
__decorateClass([
|
|
50399
50400
|
Expose788(),
|
|
50400
|
-
|
|
50401
|
+
Transform109(transformToString),
|
|
50401
50402
|
IsString652()
|
|
50402
50403
|
], RawLiqPenDTO.prototype, "fecha_asignacion", 2);
|
|
50403
50404
|
__decorateClass([
|
|
50404
50405
|
Expose788(),
|
|
50405
|
-
|
|
50406
|
+
Transform109(transformToString),
|
|
50406
50407
|
IsString652()
|
|
50407
50408
|
], RawLiqPenDTO.prototype, "fecha_atencion_os", 2);
|
|
50408
50409
|
__decorateClass([
|
|
50409
50410
|
Expose788(),
|
|
50410
|
-
|
|
50411
|
+
Transform109(transformToString),
|
|
50411
50412
|
IsString652()
|
|
50412
50413
|
], RawLiqPenDTO.prototype, "detalle_material", 2);
|
|
50413
50414
|
__decorateClass([
|
|
50414
50415
|
Expose788(),
|
|
50415
|
-
|
|
50416
|
+
Transform109(transformToString),
|
|
50416
50417
|
IsString652()
|
|
50417
50418
|
], RawLiqPenDTO.prototype, "series_descargadas", 2);
|
|
50418
50419
|
__decorateClass([
|
|
50419
50420
|
Expose788(),
|
|
50420
|
-
|
|
50421
|
+
Transform109(transformToString),
|
|
50421
50422
|
IsString652()
|
|
50422
50423
|
], RawLiqPenDTO.prototype, "llave", 2);
|
|
50423
50424
|
__decorateClass([
|
|
50424
50425
|
Expose788(),
|
|
50425
|
-
|
|
50426
|
+
Transform109(transformToString),
|
|
50426
50427
|
IsString652()
|
|
50427
50428
|
], RawLiqPenDTO.prototype, "fecha_instalacion", 2);
|
|
50428
50429
|
__decorateClass([
|
|
50429
50430
|
Expose788(),
|
|
50430
|
-
|
|
50431
|
+
Transform109(transformToString),
|
|
50431
50432
|
IsString652()
|
|
50432
50433
|
], RawLiqPenDTO.prototype, "f_carga", 2);
|
|
50433
50434
|
__decorateClass([
|
|
50434
50435
|
Expose788(),
|
|
50435
|
-
|
|
50436
|
+
Transform109(transformToString),
|
|
50436
50437
|
IsString652()
|
|
50437
50438
|
], RawLiqPenDTO.prototype, "fecha_registro", 2);
|
|
50438
50439
|
__decorateClass([
|
|
50439
50440
|
Expose788(),
|
|
50440
|
-
|
|
50441
|
+
Transform109(transformToString),
|
|
50441
50442
|
IsString652()
|
|
50442
50443
|
], RawLiqPenDTO.prototype, "fecha_resuelto", 2);
|
|
50443
50444
|
__decorateClass([
|
|
50444
50445
|
Expose788(),
|
|
50445
|
-
|
|
50446
|
+
Transform109(transformToString),
|
|
50446
50447
|
IsString652()
|
|
50447
50448
|
], RawLiqPenDTO.prototype, "fecha_instalacion_abonado", 2);
|
|
50448
50449
|
__decorateClass([
|
|
50449
50450
|
Expose788(),
|
|
50450
|
-
|
|
50451
|
+
Transform109(transformToString),
|
|
50451
50452
|
IsString652()
|
|
50452
50453
|
], RawLiqPenDTO.prototype, "usuario_ingreso", 2);
|
|
50453
50454
|
__decorateClass([
|
|
50454
50455
|
Expose788(),
|
|
50455
|
-
|
|
50456
|
+
Transform109(transformToString),
|
|
50456
50457
|
IsString652()
|
|
50457
50458
|
], RawLiqPenDTO.prototype, "area_tecnico_ejecutor", 2);
|
|
50458
50459
|
__decorateClass([
|
|
50459
50460
|
Expose788(),
|
|
50460
|
-
|
|
50461
|
+
Transform109(transformToString),
|
|
50461
50462
|
IsString652()
|
|
50462
50463
|
], RawLiqPenDTO.prototype, "horario_atencion_os", 2);
|
|
50463
50464
|
__decorateClass([
|
|
50464
50465
|
Expose788(),
|
|
50465
|
-
|
|
50466
|
+
Transform109(transformToString),
|
|
50466
50467
|
IsString652()
|
|
50467
50468
|
], RawLiqPenDTO.prototype, "tecnico_ejecutor_instalacion", 2);
|
|
50468
50469
|
__decorateClass([
|
|
50469
50470
|
Expose788(),
|
|
50470
|
-
|
|
50471
|
+
Transform109(transformToString),
|
|
50471
50472
|
IsString652()
|
|
50472
50473
|
], RawLiqPenDTO.prototype, "obs_visita_tecnico", 2);
|
|
50473
50474
|
__decorateClass([
|
|
50474
50475
|
Expose788(),
|
|
50475
|
-
|
|
50476
|
+
Transform109(transformToString),
|
|
50476
50477
|
IsString652()
|
|
50477
50478
|
], RawLiqPenDTO.prototype, "accesorio1", 2);
|
|
50478
50479
|
__decorateClass([
|
|
50479
50480
|
Expose788(),
|
|
50480
|
-
|
|
50481
|
+
Transform109(transformToString),
|
|
50481
50482
|
IsString652()
|
|
50482
50483
|
], RawLiqPenDTO.prototype, "accesorio2", 2);
|
|
50483
50484
|
__decorateClass([
|
|
50484
50485
|
Expose788(),
|
|
50485
|
-
|
|
50486
|
+
Transform109(transformToString),
|
|
50486
50487
|
IsString652()
|
|
50487
50488
|
], RawLiqPenDTO.prototype, "accesorio3", 2);
|
|
50488
50489
|
__decorateClass([
|
|
50489
50490
|
Expose788(),
|
|
50490
|
-
|
|
50491
|
+
Transform109(transformToString),
|
|
50491
50492
|
IsString652()
|
|
50492
50493
|
], RawLiqPenDTO.prototype, "accesorio4", 2);
|
|
50493
50494
|
__decorateClass([
|
|
50494
50495
|
Expose788(),
|
|
50495
|
-
|
|
50496
|
+
Transform109(transformToString),
|
|
50496
50497
|
IsString652()
|
|
50497
50498
|
], RawLiqPenDTO.prototype, "observacion", 2);
|
|
50498
50499
|
__decorateClass([
|
|
50499
50500
|
Expose788(),
|
|
50500
|
-
|
|
50501
|
+
Transform109(transformToString),
|
|
50501
50502
|
IsString652()
|
|
50502
50503
|
], RawLiqPenDTO.prototype, "usuario_observacion", 2);
|
|
50503
50504
|
__decorateClass([
|
|
50504
50505
|
Expose788(),
|
|
50505
|
-
|
|
50506
|
+
Transform109(transformToString),
|
|
50506
50507
|
IsString652()
|
|
50507
50508
|
], RawLiqPenDTO.prototype, "fecha_observacion", 2);
|
|
50508
50509
|
__decorateClass([
|
|
50509
50510
|
Expose788(),
|
|
50510
|
-
|
|
50511
|
+
Transform109(transformToString),
|
|
50511
50512
|
IsString652()
|
|
50512
50513
|
], RawLiqPenDTO.prototype, "motivo_observacion", 2);
|
|
50513
50514
|
__decorateClass([
|
|
50514
50515
|
Expose788(),
|
|
50515
|
-
|
|
50516
|
+
Transform109(transformToString),
|
|
50516
50517
|
IsString652()
|
|
50517
50518
|
], RawLiqPenDTO.prototype, "submotivo_observacion", 2);
|
|
50518
50519
|
|
|
50519
50520
|
// src/operativa/procesos/mifibra_db/shared/dto/parte-diario-dto.ts
|
|
50520
|
-
import { Expose as Expose789, Transform as
|
|
50521
|
+
import { Expose as Expose789, Transform as Transform110 } from "class-transformer";
|
|
50521
50522
|
import { IsString as IsString653 } from "class-validator";
|
|
50522
50523
|
var transformToString2 = ({ value }) => value !== null && value !== void 0 ? String(value) : "";
|
|
50523
50524
|
var RawParteDiarioDTO = class {
|
|
@@ -50546,112 +50547,112 @@ var RawParteDiarioDTO = class {
|
|
|
50546
50547
|
};
|
|
50547
50548
|
__decorateClass([
|
|
50548
50549
|
Expose789(),
|
|
50549
|
-
|
|
50550
|
+
Transform110(transformToString2),
|
|
50550
50551
|
IsString653()
|
|
50551
50552
|
], RawParteDiarioDTO.prototype, "tecnico", 2);
|
|
50552
50553
|
__decorateClass([
|
|
50553
50554
|
Expose789(),
|
|
50554
|
-
|
|
50555
|
+
Transform110(transformToString2),
|
|
50555
50556
|
IsString653()
|
|
50556
50557
|
], RawParteDiarioDTO.prototype, "tipo_movimiento", 2);
|
|
50557
50558
|
__decorateClass([
|
|
50558
50559
|
Expose789(),
|
|
50559
|
-
|
|
50560
|
+
Transform110(transformToString2),
|
|
50560
50561
|
IsString653()
|
|
50561
50562
|
], RawParteDiarioDTO.prototype, "tipo_de_os", 2);
|
|
50562
50563
|
__decorateClass([
|
|
50563
50564
|
Expose789(),
|
|
50564
|
-
|
|
50565
|
+
Transform110(transformToString2),
|
|
50565
50566
|
IsString653()
|
|
50566
50567
|
], RawParteDiarioDTO.prototype, "servicio", 2);
|
|
50567
50568
|
__decorateClass([
|
|
50568
50569
|
Expose789(),
|
|
50569
|
-
|
|
50570
|
+
Transform110(transformToString2),
|
|
50570
50571
|
IsString653()
|
|
50571
50572
|
], RawParteDiarioDTO.prototype, "documento", 2);
|
|
50572
50573
|
__decorateClass([
|
|
50573
50574
|
Expose789(),
|
|
50574
|
-
|
|
50575
|
+
Transform110(transformToString2),
|
|
50575
50576
|
IsString653()
|
|
50576
50577
|
], RawParteDiarioDTO.prototype, "codigo_abonado", 2);
|
|
50577
50578
|
__decorateClass([
|
|
50578
50579
|
Expose789(),
|
|
50579
|
-
|
|
50580
|
+
Transform110(transformToString2),
|
|
50580
50581
|
IsString653()
|
|
50581
50582
|
], RawParteDiarioDTO.prototype, "fecha_movimiento", 2);
|
|
50582
50583
|
__decorateClass([
|
|
50583
50584
|
Expose789(),
|
|
50584
|
-
|
|
50585
|
+
Transform110(transformToString2),
|
|
50585
50586
|
IsString653()
|
|
50586
50587
|
], RawParteDiarioDTO.prototype, "codigo_unico", 2);
|
|
50587
50588
|
__decorateClass([
|
|
50588
50589
|
Expose789(),
|
|
50589
|
-
|
|
50590
|
+
Transform110(transformToString2),
|
|
50590
50591
|
IsString653()
|
|
50591
50592
|
], RawParteDiarioDTO.prototype, "material", 2);
|
|
50592
50593
|
__decorateClass([
|
|
50593
50594
|
Expose789(),
|
|
50594
|
-
|
|
50595
|
+
Transform110(transformToString2),
|
|
50595
50596
|
IsString653()
|
|
50596
50597
|
], RawParteDiarioDTO.prototype, "num_serie", 2);
|
|
50597
50598
|
__decorateClass([
|
|
50598
50599
|
Expose789(),
|
|
50599
|
-
|
|
50600
|
+
Transform110(transformToString2),
|
|
50600
50601
|
IsString653()
|
|
50601
50602
|
], RawParteDiarioDTO.prototype, "mac", 2);
|
|
50602
50603
|
__decorateClass([
|
|
50603
50604
|
Expose789(),
|
|
50604
|
-
|
|
50605
|
+
Transform110(transformToString2),
|
|
50605
50606
|
IsString653()
|
|
50606
50607
|
], RawParteDiarioDTO.prototype, "plano", 2);
|
|
50607
50608
|
__decorateClass([
|
|
50608
50609
|
Expose789(),
|
|
50609
|
-
|
|
50610
|
+
Transform110(transformToString2),
|
|
50610
50611
|
IsString653()
|
|
50611
50612
|
], RawParteDiarioDTO.prototype, "zona", 2);
|
|
50612
50613
|
__decorateClass([
|
|
50613
50614
|
Expose789(),
|
|
50614
|
-
|
|
50615
|
+
Transform110(transformToString2),
|
|
50615
50616
|
IsString653()
|
|
50616
50617
|
], RawParteDiarioDTO.prototype, "ingreso", 2);
|
|
50617
50618
|
__decorateClass([
|
|
50618
50619
|
Expose789(),
|
|
50619
|
-
|
|
50620
|
+
Transform110(transformToString2),
|
|
50620
50621
|
IsString653()
|
|
50621
50622
|
], RawParteDiarioDTO.prototype, "salida", 2);
|
|
50622
50623
|
__decorateClass([
|
|
50623
50624
|
Expose789(),
|
|
50624
|
-
|
|
50625
|
+
Transform110(transformToString2),
|
|
50625
50626
|
IsString653()
|
|
50626
50627
|
], RawParteDiarioDTO.prototype, "precio_valorizado", 2);
|
|
50627
50628
|
__decorateClass([
|
|
50628
50629
|
Expose789(),
|
|
50629
|
-
|
|
50630
|
+
Transform110(transformToString2),
|
|
50630
50631
|
IsString653()
|
|
50631
50632
|
], RawParteDiarioDTO.prototype, "nombre_filial", 2);
|
|
50632
50633
|
__decorateClass([
|
|
50633
50634
|
Expose789(),
|
|
50634
|
-
|
|
50635
|
+
Transform110(transformToString2),
|
|
50635
50636
|
IsString653()
|
|
50636
50637
|
], RawParteDiarioDTO.prototype, "usuario_ingreso", 2);
|
|
50637
50638
|
__decorateClass([
|
|
50638
50639
|
Expose789(),
|
|
50639
|
-
|
|
50640
|
+
Transform110(transformToString2),
|
|
50640
50641
|
IsString653()
|
|
50641
50642
|
], RawParteDiarioDTO.prototype, "fecha_ingreso", 2);
|
|
50642
50643
|
__decorateClass([
|
|
50643
50644
|
Expose789(),
|
|
50644
|
-
|
|
50645
|
+
Transform110(transformToString2),
|
|
50645
50646
|
IsString653()
|
|
50646
50647
|
], RawParteDiarioDTO.prototype, "categoria", 2);
|
|
50647
50648
|
__decorateClass([
|
|
50648
50649
|
Expose789(),
|
|
50649
|
-
|
|
50650
|
+
Transform110(transformToString2),
|
|
50650
50651
|
IsString653()
|
|
50651
50652
|
], RawParteDiarioDTO.prototype, "segmento", 2);
|
|
50652
50653
|
__decorateClass([
|
|
50653
50654
|
Expose789(),
|
|
50654
|
-
|
|
50655
|
+
Transform110(transformToString2),
|
|
50655
50656
|
IsString653()
|
|
50656
50657
|
], RawParteDiarioDTO.prototype, "area", 2);
|
|
50657
50658
|
|
|
@@ -51102,7 +51103,7 @@ var StateBantel = /* @__PURE__ */ ((StateBantel2) => {
|
|
|
51102
51103
|
})(StateBantel || {});
|
|
51103
51104
|
|
|
51104
51105
|
// src/operativa/procesos/bantel/shared/dto/liq-pen-dto.ts
|
|
51105
|
-
import { Expose as Expose792, Transform as
|
|
51106
|
+
import { Expose as Expose792, Transform as Transform112 } from "class-transformer";
|
|
51106
51107
|
import { IsString as IsString656 } from "class-validator";
|
|
51107
51108
|
var transformToString3 = ({ value }) => value !== null && value !== void 0 ? String(value) : "";
|
|
51108
51109
|
var RawLiqPenBantelDTO = class {
|
|
@@ -51177,347 +51178,347 @@ var RawLiqPenBantelDTO = class {
|
|
|
51177
51178
|
};
|
|
51178
51179
|
__decorateClass([
|
|
51179
51180
|
Expose792(),
|
|
51180
|
-
|
|
51181
|
+
Transform112(transformToString3),
|
|
51181
51182
|
IsString656()
|
|
51182
51183
|
], RawLiqPenBantelDTO.prototype, "filial", 2);
|
|
51183
51184
|
__decorateClass([
|
|
51184
51185
|
Expose792(),
|
|
51185
|
-
|
|
51186
|
+
Transform112(transformToString3),
|
|
51186
51187
|
IsString656()
|
|
51187
51188
|
], RawLiqPenBantelDTO.prototype, "tipo_orden", 2);
|
|
51188
51189
|
__decorateClass([
|
|
51189
51190
|
Expose792(),
|
|
51190
|
-
|
|
51191
|
+
Transform112(transformToString3),
|
|
51191
51192
|
IsString656()
|
|
51192
51193
|
], RawLiqPenBantelDTO.prototype, "motivo", 2);
|
|
51193
51194
|
__decorateClass([
|
|
51194
51195
|
Expose792(),
|
|
51195
|
-
|
|
51196
|
+
Transform112(transformToString3),
|
|
51196
51197
|
IsString656()
|
|
51197
51198
|
], RawLiqPenBantelDTO.prototype, "lugar_averia", 2);
|
|
51198
51199
|
__decorateClass([
|
|
51199
51200
|
Expose792(),
|
|
51200
|
-
|
|
51201
|
+
Transform112(transformToString3),
|
|
51201
51202
|
IsString656()
|
|
51202
51203
|
], RawLiqPenBantelDTO.prototype, "causa", 2);
|
|
51203
51204
|
__decorateClass([
|
|
51204
51205
|
Expose792(),
|
|
51205
|
-
|
|
51206
|
+
Transform112(transformToString3),
|
|
51206
51207
|
IsString656()
|
|
51207
51208
|
], RawLiqPenBantelDTO.prototype, "sub_causa", 2);
|
|
51208
51209
|
__decorateClass([
|
|
51209
51210
|
Expose792(),
|
|
51210
|
-
|
|
51211
|
+
Transform112(transformToString3),
|
|
51211
51212
|
IsString656()
|
|
51212
51213
|
], RawLiqPenBantelDTO.prototype, "solucion", 2);
|
|
51213
51214
|
__decorateClass([
|
|
51214
51215
|
Expose792(),
|
|
51215
|
-
|
|
51216
|
+
Transform112(transformToString3),
|
|
51216
51217
|
IsString656()
|
|
51217
51218
|
], RawLiqPenBantelDTO.prototype, "detalle", 2);
|
|
51218
51219
|
__decorateClass([
|
|
51219
51220
|
Expose792(),
|
|
51220
|
-
|
|
51221
|
+
Transform112(transformToString3),
|
|
51221
51222
|
IsString656()
|
|
51222
51223
|
], RawLiqPenBantelDTO.prototype, "servicio", 2);
|
|
51223
51224
|
__decorateClass([
|
|
51224
51225
|
Expose792(),
|
|
51225
|
-
|
|
51226
|
+
Transform112(transformToString3),
|
|
51226
51227
|
IsString656()
|
|
51227
51228
|
], RawLiqPenBantelDTO.prototype, "estado_servicio", 2);
|
|
51228
51229
|
__decorateClass([
|
|
51229
51230
|
Expose792(),
|
|
51230
|
-
|
|
51231
|
+
Transform112(transformToString3),
|
|
51231
51232
|
IsString656()
|
|
51232
51233
|
], RawLiqPenBantelDTO.prototype, "tarifa_servicio", 2);
|
|
51233
51234
|
__decorateClass([
|
|
51234
51235
|
Expose792(),
|
|
51235
|
-
|
|
51236
|
+
Transform112(transformToString3),
|
|
51236
51237
|
IsString656()
|
|
51237
51238
|
], RawLiqPenBantelDTO.prototype, "precio_servicio", 2);
|
|
51238
51239
|
__decorateClass([
|
|
51239
51240
|
Expose792(),
|
|
51240
|
-
|
|
51241
|
+
Transform112(transformToString3),
|
|
51241
51242
|
IsString656()
|
|
51242
51243
|
], RawLiqPenBantelDTO.prototype, "tarifa_atencion_os", 2);
|
|
51243
51244
|
__decorateClass([
|
|
51244
51245
|
Expose792(),
|
|
51245
|
-
|
|
51246
|
+
Transform112(transformToString3),
|
|
51246
51247
|
IsString656()
|
|
51247
51248
|
], RawLiqPenBantelDTO.prototype, "abonado", 2);
|
|
51248
51249
|
__decorateClass([
|
|
51249
51250
|
Expose792(),
|
|
51250
|
-
|
|
51251
|
+
Transform112(transformToString3),
|
|
51251
51252
|
IsString656()
|
|
51252
51253
|
], RawLiqPenBantelDTO.prototype, "categoria", 2);
|
|
51253
51254
|
__decorateClass([
|
|
51254
51255
|
Expose792(),
|
|
51255
|
-
|
|
51256
|
+
Transform112(transformToString3),
|
|
51256
51257
|
IsString656()
|
|
51257
51258
|
], RawLiqPenBantelDTO.prototype, "nro_os", 2);
|
|
51258
51259
|
__decorateClass([
|
|
51259
51260
|
Expose792(),
|
|
51260
|
-
|
|
51261
|
+
Transform112(transformToString3),
|
|
51261
51262
|
IsString656()
|
|
51262
51263
|
], RawLiqPenBantelDTO.prototype, "zona_hash", 2);
|
|
51263
51264
|
__decorateClass([
|
|
51264
51265
|
Expose792(),
|
|
51265
|
-
|
|
51266
|
+
Transform112(transformToString3),
|
|
51266
51267
|
IsString656()
|
|
51267
51268
|
], RawLiqPenBantelDTO.prototype, "fecha_recepcion", 2);
|
|
51268
51269
|
__decorateClass([
|
|
51269
51270
|
Expose792(),
|
|
51270
|
-
|
|
51271
|
+
Transform112(transformToString3),
|
|
51271
51272
|
IsString656()
|
|
51272
51273
|
], RawLiqPenBantelDTO.prototype, "hora", 2);
|
|
51273
51274
|
__decorateClass([
|
|
51274
51275
|
Expose792(),
|
|
51275
|
-
|
|
51276
|
+
Transform112(transformToString3),
|
|
51276
51277
|
IsString656()
|
|
51277
51278
|
], RawLiqPenBantelDTO.prototype, "fecha_atencion", 2);
|
|
51278
51279
|
__decorateClass([
|
|
51279
51280
|
Expose792(),
|
|
51280
|
-
|
|
51281
|
+
Transform112(transformToString3),
|
|
51281
51282
|
IsString656()
|
|
51282
51283
|
], RawLiqPenBantelDTO.prototype, "hora_i", 2);
|
|
51283
51284
|
__decorateClass([
|
|
51284
51285
|
Expose792(),
|
|
51285
|
-
|
|
51286
|
+
Transform112(transformToString3),
|
|
51286
51287
|
IsString656()
|
|
51287
51288
|
], RawLiqPenBantelDTO.prototype, "hora_f", 2);
|
|
51288
51289
|
__decorateClass([
|
|
51289
51290
|
Expose792(),
|
|
51290
|
-
|
|
51291
|
+
Transform112(transformToString3),
|
|
51291
51292
|
IsString656()
|
|
51292
51293
|
], RawLiqPenBantelDTO.prototype, "estado_os", 2);
|
|
51293
51294
|
__decorateClass([
|
|
51294
51295
|
Expose792(),
|
|
51295
|
-
|
|
51296
|
+
Transform112(transformToString3),
|
|
51296
51297
|
IsString656()
|
|
51297
51298
|
], RawLiqPenBantelDTO.prototype, "nombres_tecnico_ejecutor", 2);
|
|
51298
51299
|
__decorateClass([
|
|
51299
51300
|
Expose792(),
|
|
51300
|
-
|
|
51301
|
+
Transform112(transformToString3),
|
|
51301
51302
|
IsString656()
|
|
51302
51303
|
], RawLiqPenBantelDTO.prototype, "nombre_vendedor", 2);
|
|
51303
51304
|
__decorateClass([
|
|
51304
51305
|
Expose792(),
|
|
51305
|
-
|
|
51306
|
+
Transform112(transformToString3),
|
|
51306
51307
|
IsString656()
|
|
51307
51308
|
], RawLiqPenBantelDTO.prototype, "observaciones", 2);
|
|
51308
51309
|
__decorateClass([
|
|
51309
51310
|
Expose792(),
|
|
51310
|
-
|
|
51311
|
+
Transform112(transformToString3),
|
|
51311
51312
|
IsString656()
|
|
51312
51313
|
], RawLiqPenBantelDTO.prototype, "plano", 2);
|
|
51313
51314
|
__decorateClass([
|
|
51314
51315
|
Expose792(),
|
|
51315
|
-
|
|
51316
|
+
Transform112(transformToString3),
|
|
51316
51317
|
IsString656()
|
|
51317
51318
|
], RawLiqPenBantelDTO.prototype, "provincia", 2);
|
|
51318
51319
|
__decorateClass([
|
|
51319
51320
|
Expose792(),
|
|
51320
|
-
|
|
51321
|
+
Transform112(transformToString3),
|
|
51321
51322
|
IsString656()
|
|
51322
51323
|
], RawLiqPenBantelDTO.prototype, "distrito", 2);
|
|
51323
51324
|
__decorateClass([
|
|
51324
51325
|
Expose792(),
|
|
51325
|
-
|
|
51326
|
+
Transform112(transformToString3),
|
|
51326
51327
|
IsString656()
|
|
51327
51328
|
], RawLiqPenBantelDTO.prototype, "nombres_tecnico_responsable", 2);
|
|
51328
51329
|
__decorateClass([
|
|
51329
51330
|
Expose792(),
|
|
51330
|
-
|
|
51331
|
+
Transform112(transformToString3),
|
|
51331
51332
|
IsString656()
|
|
51332
51333
|
], RawLiqPenBantelDTO.prototype, "observaciones_tecnico", 2);
|
|
51333
51334
|
__decorateClass([
|
|
51334
51335
|
Expose792(),
|
|
51335
|
-
|
|
51336
|
+
Transform112(transformToString3),
|
|
51336
51337
|
IsString656()
|
|
51337
51338
|
], RawLiqPenBantelDTO.prototype, "zona", 2);
|
|
51338
51339
|
__decorateClass([
|
|
51339
51340
|
Expose792(),
|
|
51340
|
-
|
|
51341
|
+
Transform112(transformToString3),
|
|
51341
51342
|
IsString656()
|
|
51342
51343
|
], RawLiqPenBantelDTO.prototype, "nap", 2);
|
|
51343
51344
|
__decorateClass([
|
|
51344
51345
|
Expose792(),
|
|
51345
|
-
|
|
51346
|
+
Transform112(transformToString3),
|
|
51346
51347
|
IsString656()
|
|
51347
51348
|
], RawLiqPenBantelDTO.prototype, "borne", 2);
|
|
51348
51349
|
__decorateClass([
|
|
51349
51350
|
Expose792(),
|
|
51350
|
-
|
|
51351
|
+
Transform112(transformToString3),
|
|
51351
51352
|
IsString656()
|
|
51352
51353
|
], RawLiqPenBantelDTO.prototype, "cant_visitas_tec", 2);
|
|
51353
51354
|
__decorateClass([
|
|
51354
51355
|
Expose792(),
|
|
51355
|
-
|
|
51356
|
+
Transform112(transformToString3),
|
|
51356
51357
|
IsString656()
|
|
51357
51358
|
], RawLiqPenBantelDTO.prototype, "usuario_ing", 2);
|
|
51358
51359
|
__decorateClass([
|
|
51359
51360
|
Expose792(),
|
|
51360
|
-
|
|
51361
|
+
Transform112(transformToString3),
|
|
51361
51362
|
IsString656()
|
|
51362
51363
|
], RawLiqPenBantelDTO.prototype, "fecha_ing", 2);
|
|
51363
51364
|
__decorateClass([
|
|
51364
51365
|
Expose792(),
|
|
51365
|
-
|
|
51366
|
+
Transform112(transformToString3),
|
|
51366
51367
|
IsString656()
|
|
51367
51368
|
], RawLiqPenBantelDTO.prototype, "hora_ing", 2);
|
|
51368
51369
|
__decorateClass([
|
|
51369
51370
|
Expose792(),
|
|
51370
|
-
|
|
51371
|
+
Transform112(transformToString3),
|
|
51371
51372
|
IsString656()
|
|
51372
51373
|
], RawLiqPenBantelDTO.prototype, "fecha_ejecucion", 2);
|
|
51373
51374
|
__decorateClass([
|
|
51374
51375
|
Expose792(),
|
|
51375
|
-
|
|
51376
|
+
Transform112(transformToString3),
|
|
51376
51377
|
IsString656()
|
|
51377
51378
|
], RawLiqPenBantelDTO.prototype, "usuario_mod", 2);
|
|
51378
51379
|
__decorateClass([
|
|
51379
51380
|
Expose792(),
|
|
51380
|
-
|
|
51381
|
+
Transform112(transformToString3),
|
|
51381
51382
|
IsString656()
|
|
51382
51383
|
], RawLiqPenBantelDTO.prototype, "fecha_mod", 2);
|
|
51383
51384
|
__decorateClass([
|
|
51384
51385
|
Expose792(),
|
|
51385
|
-
|
|
51386
|
+
Transform112(transformToString3),
|
|
51386
51387
|
IsString656()
|
|
51387
51388
|
], RawLiqPenBantelDTO.prototype, "hora_mod", 2);
|
|
51388
51389
|
__decorateClass([
|
|
51389
51390
|
Expose792(),
|
|
51390
|
-
|
|
51391
|
+
Transform112(transformToString3),
|
|
51391
51392
|
IsString656()
|
|
51392
51393
|
], RawLiqPenBantelDTO.prototype, "fecha_inscripcion", 2);
|
|
51393
51394
|
__decorateClass([
|
|
51394
51395
|
Expose792(),
|
|
51395
|
-
|
|
51396
|
+
Transform112(transformToString3),
|
|
51396
51397
|
IsString656()
|
|
51397
51398
|
], RawLiqPenBantelDTO.prototype, "canal_atencion", 2);
|
|
51398
51399
|
__decorateClass([
|
|
51399
51400
|
Expose792(),
|
|
51400
|
-
|
|
51401
|
+
Transform112(transformToString3),
|
|
51401
51402
|
IsString656()
|
|
51402
51403
|
], RawLiqPenBantelDTO.prototype, "fecha_asignacion", 2);
|
|
51403
51404
|
__decorateClass([
|
|
51404
51405
|
Expose792(),
|
|
51405
|
-
|
|
51406
|
+
Transform112(transformToString3),
|
|
51406
51407
|
IsString656()
|
|
51407
51408
|
], RawLiqPenBantelDTO.prototype, "fecha_atencion_os", 2);
|
|
51408
51409
|
__decorateClass([
|
|
51409
51410
|
Expose792(),
|
|
51410
|
-
|
|
51411
|
+
Transform112(transformToString3),
|
|
51411
51412
|
IsString656()
|
|
51412
51413
|
], RawLiqPenBantelDTO.prototype, "detalle_material", 2);
|
|
51413
51414
|
__decorateClass([
|
|
51414
51415
|
Expose792(),
|
|
51415
|
-
|
|
51416
|
+
Transform112(transformToString3),
|
|
51416
51417
|
IsString656()
|
|
51417
51418
|
], RawLiqPenBantelDTO.prototype, "series_descargadas", 2);
|
|
51418
51419
|
__decorateClass([
|
|
51419
51420
|
Expose792(),
|
|
51420
|
-
|
|
51421
|
+
Transform112(transformToString3),
|
|
51421
51422
|
IsString656()
|
|
51422
51423
|
], RawLiqPenBantelDTO.prototype, "llave", 2);
|
|
51423
51424
|
__decorateClass([
|
|
51424
51425
|
Expose792(),
|
|
51425
|
-
|
|
51426
|
+
Transform112(transformToString3),
|
|
51426
51427
|
IsString656()
|
|
51427
51428
|
], RawLiqPenBantelDTO.prototype, "fecha_instalacion", 2);
|
|
51428
51429
|
__decorateClass([
|
|
51429
51430
|
Expose792(),
|
|
51430
|
-
|
|
51431
|
+
Transform112(transformToString3),
|
|
51431
51432
|
IsString656()
|
|
51432
51433
|
], RawLiqPenBantelDTO.prototype, "f_carga", 2);
|
|
51433
51434
|
__decorateClass([
|
|
51434
51435
|
Expose792(),
|
|
51435
|
-
|
|
51436
|
+
Transform112(transformToString3),
|
|
51436
51437
|
IsString656()
|
|
51437
51438
|
], RawLiqPenBantelDTO.prototype, "fecha_registro", 2);
|
|
51438
51439
|
__decorateClass([
|
|
51439
51440
|
Expose792(),
|
|
51440
|
-
|
|
51441
|
+
Transform112(transformToString3),
|
|
51441
51442
|
IsString656()
|
|
51442
51443
|
], RawLiqPenBantelDTO.prototype, "fecha_resuelto", 2);
|
|
51443
51444
|
__decorateClass([
|
|
51444
51445
|
Expose792(),
|
|
51445
|
-
|
|
51446
|
+
Transform112(transformToString3),
|
|
51446
51447
|
IsString656()
|
|
51447
51448
|
], RawLiqPenBantelDTO.prototype, "fecha_instalacion_abonado", 2);
|
|
51448
51449
|
__decorateClass([
|
|
51449
51450
|
Expose792(),
|
|
51450
|
-
|
|
51451
|
+
Transform112(transformToString3),
|
|
51451
51452
|
IsString656()
|
|
51452
51453
|
], RawLiqPenBantelDTO.prototype, "usuario_ingreso", 2);
|
|
51453
51454
|
__decorateClass([
|
|
51454
51455
|
Expose792(),
|
|
51455
|
-
|
|
51456
|
+
Transform112(transformToString3),
|
|
51456
51457
|
IsString656()
|
|
51457
51458
|
], RawLiqPenBantelDTO.prototype, "area_tecnico_ejecutor", 2);
|
|
51458
51459
|
__decorateClass([
|
|
51459
51460
|
Expose792(),
|
|
51460
|
-
|
|
51461
|
+
Transform112(transformToString3),
|
|
51461
51462
|
IsString656()
|
|
51462
51463
|
], RawLiqPenBantelDTO.prototype, "horario_atencion_os", 2);
|
|
51463
51464
|
__decorateClass([
|
|
51464
51465
|
Expose792(),
|
|
51465
|
-
|
|
51466
|
+
Transform112(transformToString3),
|
|
51466
51467
|
IsString656()
|
|
51467
51468
|
], RawLiqPenBantelDTO.prototype, "tecnico_ejecutor_instalacion", 2);
|
|
51468
51469
|
__decorateClass([
|
|
51469
51470
|
Expose792(),
|
|
51470
|
-
|
|
51471
|
+
Transform112(transformToString3),
|
|
51471
51472
|
IsString656()
|
|
51472
51473
|
], RawLiqPenBantelDTO.prototype, "obs_visita_tecnico", 2);
|
|
51473
51474
|
__decorateClass([
|
|
51474
51475
|
Expose792(),
|
|
51475
|
-
|
|
51476
|
+
Transform112(transformToString3),
|
|
51476
51477
|
IsString656()
|
|
51477
51478
|
], RawLiqPenBantelDTO.prototype, "accesorio1", 2);
|
|
51478
51479
|
__decorateClass([
|
|
51479
51480
|
Expose792(),
|
|
51480
|
-
|
|
51481
|
+
Transform112(transformToString3),
|
|
51481
51482
|
IsString656()
|
|
51482
51483
|
], RawLiqPenBantelDTO.prototype, "accesorio2", 2);
|
|
51483
51484
|
__decorateClass([
|
|
51484
51485
|
Expose792(),
|
|
51485
|
-
|
|
51486
|
+
Transform112(transformToString3),
|
|
51486
51487
|
IsString656()
|
|
51487
51488
|
], RawLiqPenBantelDTO.prototype, "accesorio3", 2);
|
|
51488
51489
|
__decorateClass([
|
|
51489
51490
|
Expose792(),
|
|
51490
|
-
|
|
51491
|
+
Transform112(transformToString3),
|
|
51491
51492
|
IsString656()
|
|
51492
51493
|
], RawLiqPenBantelDTO.prototype, "accesorio4", 2);
|
|
51493
51494
|
__decorateClass([
|
|
51494
51495
|
Expose792(),
|
|
51495
|
-
|
|
51496
|
+
Transform112(transformToString3),
|
|
51496
51497
|
IsString656()
|
|
51497
51498
|
], RawLiqPenBantelDTO.prototype, "observacion", 2);
|
|
51498
51499
|
__decorateClass([
|
|
51499
51500
|
Expose792(),
|
|
51500
|
-
|
|
51501
|
+
Transform112(transformToString3),
|
|
51501
51502
|
IsString656()
|
|
51502
51503
|
], RawLiqPenBantelDTO.prototype, "usuario_observacion", 2);
|
|
51503
51504
|
__decorateClass([
|
|
51504
51505
|
Expose792(),
|
|
51505
|
-
|
|
51506
|
+
Transform112(transformToString3),
|
|
51506
51507
|
IsString656()
|
|
51507
51508
|
], RawLiqPenBantelDTO.prototype, "fecha_observacion", 2);
|
|
51508
51509
|
__decorateClass([
|
|
51509
51510
|
Expose792(),
|
|
51510
|
-
|
|
51511
|
+
Transform112(transformToString3),
|
|
51511
51512
|
IsString656()
|
|
51512
51513
|
], RawLiqPenBantelDTO.prototype, "motivo_observacion", 2);
|
|
51513
51514
|
__decorateClass([
|
|
51514
51515
|
Expose792(),
|
|
51515
|
-
|
|
51516
|
+
Transform112(transformToString3),
|
|
51516
51517
|
IsString656()
|
|
51517
51518
|
], RawLiqPenBantelDTO.prototype, "submotivo_observacion", 2);
|
|
51518
51519
|
|
|
51519
51520
|
// src/operativa/procesos/bantel/shared/dto/parte-diario-dto.ts
|
|
51520
|
-
import { Expose as Expose793, Transform as
|
|
51521
|
+
import { Expose as Expose793, Transform as Transform113 } from "class-transformer";
|
|
51521
51522
|
import { IsString as IsString657 } from "class-validator";
|
|
51522
51523
|
var transformToString4 = ({ value }) => value !== null && value !== void 0 ? String(value) : "";
|
|
51523
51524
|
var RawParteDiarioBantelDTO = class {
|
|
@@ -51546,112 +51547,112 @@ var RawParteDiarioBantelDTO = class {
|
|
|
51546
51547
|
};
|
|
51547
51548
|
__decorateClass([
|
|
51548
51549
|
Expose793(),
|
|
51549
|
-
|
|
51550
|
+
Transform113(transformToString4),
|
|
51550
51551
|
IsString657()
|
|
51551
51552
|
], RawParteDiarioBantelDTO.prototype, "tecnico", 2);
|
|
51552
51553
|
__decorateClass([
|
|
51553
51554
|
Expose793(),
|
|
51554
|
-
|
|
51555
|
+
Transform113(transformToString4),
|
|
51555
51556
|
IsString657()
|
|
51556
51557
|
], RawParteDiarioBantelDTO.prototype, "tipo_movimiento", 2);
|
|
51557
51558
|
__decorateClass([
|
|
51558
51559
|
Expose793(),
|
|
51559
|
-
|
|
51560
|
+
Transform113(transformToString4),
|
|
51560
51561
|
IsString657()
|
|
51561
51562
|
], RawParteDiarioBantelDTO.prototype, "tipo_de_os", 2);
|
|
51562
51563
|
__decorateClass([
|
|
51563
51564
|
Expose793(),
|
|
51564
|
-
|
|
51565
|
+
Transform113(transformToString4),
|
|
51565
51566
|
IsString657()
|
|
51566
51567
|
], RawParteDiarioBantelDTO.prototype, "servicio", 2);
|
|
51567
51568
|
__decorateClass([
|
|
51568
51569
|
Expose793(),
|
|
51569
|
-
|
|
51570
|
+
Transform113(transformToString4),
|
|
51570
51571
|
IsString657()
|
|
51571
51572
|
], RawParteDiarioBantelDTO.prototype, "documento", 2);
|
|
51572
51573
|
__decorateClass([
|
|
51573
51574
|
Expose793(),
|
|
51574
|
-
|
|
51575
|
+
Transform113(transformToString4),
|
|
51575
51576
|
IsString657()
|
|
51576
51577
|
], RawParteDiarioBantelDTO.prototype, "codigo_abonado", 2);
|
|
51577
51578
|
__decorateClass([
|
|
51578
51579
|
Expose793(),
|
|
51579
|
-
|
|
51580
|
+
Transform113(transformToString4),
|
|
51580
51581
|
IsString657()
|
|
51581
51582
|
], RawParteDiarioBantelDTO.prototype, "fecha_movimiento", 2);
|
|
51582
51583
|
__decorateClass([
|
|
51583
51584
|
Expose793(),
|
|
51584
|
-
|
|
51585
|
+
Transform113(transformToString4),
|
|
51585
51586
|
IsString657()
|
|
51586
51587
|
], RawParteDiarioBantelDTO.prototype, "codigo_unico", 2);
|
|
51587
51588
|
__decorateClass([
|
|
51588
51589
|
Expose793(),
|
|
51589
|
-
|
|
51590
|
+
Transform113(transformToString4),
|
|
51590
51591
|
IsString657()
|
|
51591
51592
|
], RawParteDiarioBantelDTO.prototype, "material", 2);
|
|
51592
51593
|
__decorateClass([
|
|
51593
51594
|
Expose793(),
|
|
51594
|
-
|
|
51595
|
+
Transform113(transformToString4),
|
|
51595
51596
|
IsString657()
|
|
51596
51597
|
], RawParteDiarioBantelDTO.prototype, "num_serie", 2);
|
|
51597
51598
|
__decorateClass([
|
|
51598
51599
|
Expose793(),
|
|
51599
|
-
|
|
51600
|
+
Transform113(transformToString4),
|
|
51600
51601
|
IsString657()
|
|
51601
51602
|
], RawParteDiarioBantelDTO.prototype, "mac", 2);
|
|
51602
51603
|
__decorateClass([
|
|
51603
51604
|
Expose793(),
|
|
51604
|
-
|
|
51605
|
+
Transform113(transformToString4),
|
|
51605
51606
|
IsString657()
|
|
51606
51607
|
], RawParteDiarioBantelDTO.prototype, "plano", 2);
|
|
51607
51608
|
__decorateClass([
|
|
51608
51609
|
Expose793(),
|
|
51609
|
-
|
|
51610
|
+
Transform113(transformToString4),
|
|
51610
51611
|
IsString657()
|
|
51611
51612
|
], RawParteDiarioBantelDTO.prototype, "zona", 2);
|
|
51612
51613
|
__decorateClass([
|
|
51613
51614
|
Expose793(),
|
|
51614
|
-
|
|
51615
|
+
Transform113(transformToString4),
|
|
51615
51616
|
IsString657()
|
|
51616
51617
|
], RawParteDiarioBantelDTO.prototype, "ingreso", 2);
|
|
51617
51618
|
__decorateClass([
|
|
51618
51619
|
Expose793(),
|
|
51619
|
-
|
|
51620
|
+
Transform113(transformToString4),
|
|
51620
51621
|
IsString657()
|
|
51621
51622
|
], RawParteDiarioBantelDTO.prototype, "salida", 2);
|
|
51622
51623
|
__decorateClass([
|
|
51623
51624
|
Expose793(),
|
|
51624
|
-
|
|
51625
|
+
Transform113(transformToString4),
|
|
51625
51626
|
IsString657()
|
|
51626
51627
|
], RawParteDiarioBantelDTO.prototype, "precio_valorizado", 2);
|
|
51627
51628
|
__decorateClass([
|
|
51628
51629
|
Expose793(),
|
|
51629
|
-
|
|
51630
|
+
Transform113(transformToString4),
|
|
51630
51631
|
IsString657()
|
|
51631
51632
|
], RawParteDiarioBantelDTO.prototype, "nombre_filial", 2);
|
|
51632
51633
|
__decorateClass([
|
|
51633
51634
|
Expose793(),
|
|
51634
|
-
|
|
51635
|
+
Transform113(transformToString4),
|
|
51635
51636
|
IsString657()
|
|
51636
51637
|
], RawParteDiarioBantelDTO.prototype, "usuario_ingreso", 2);
|
|
51637
51638
|
__decorateClass([
|
|
51638
51639
|
Expose793(),
|
|
51639
|
-
|
|
51640
|
+
Transform113(transformToString4),
|
|
51640
51641
|
IsString657()
|
|
51641
51642
|
], RawParteDiarioBantelDTO.prototype, "fecha_ingreso", 2);
|
|
51642
51643
|
__decorateClass([
|
|
51643
51644
|
Expose793(),
|
|
51644
|
-
|
|
51645
|
+
Transform113(transformToString4),
|
|
51645
51646
|
IsString657()
|
|
51646
51647
|
], RawParteDiarioBantelDTO.prototype, "categoria", 2);
|
|
51647
51648
|
__decorateClass([
|
|
51648
51649
|
Expose793(),
|
|
51649
|
-
|
|
51650
|
+
Transform113(transformToString4),
|
|
51650
51651
|
IsString657()
|
|
51651
51652
|
], RawParteDiarioBantelDTO.prototype, "segmento", 2);
|
|
51652
51653
|
__decorateClass([
|
|
51653
51654
|
Expose793(),
|
|
51654
|
-
|
|
51655
|
+
Transform113(transformToString4),
|
|
51655
51656
|
IsString657()
|
|
51656
51657
|
], RawParteDiarioBantelDTO.prototype, "area", 2);
|
|
51657
51658
|
|
|
@@ -54128,20 +54129,20 @@ __decorateClass([
|
|
|
54128
54129
|
], BtAlpPluzOrderStockENTITY.prototype, "stock_quantity_employee", 2);
|
|
54129
54130
|
|
|
54130
54131
|
// src/v2/dtos/CodeName.ts
|
|
54131
|
-
import { Expose as Expose811, Transform as
|
|
54132
|
+
import { Expose as Expose811, Transform as Transform114 } from "class-transformer";
|
|
54132
54133
|
import { IsDefined as IsDefined301, IsString as IsString674, MinLength as MinLength56 } from "class-validator";
|
|
54133
54134
|
var CodeNameDto = class {
|
|
54134
54135
|
code;
|
|
54135
54136
|
name;
|
|
54136
54137
|
};
|
|
54137
54138
|
__decorateClass([
|
|
54138
|
-
|
|
54139
|
+
Transform114(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54139
54140
|
IsDefined301({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
54140
54141
|
IsString674({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
54141
54142
|
Expose811()
|
|
54142
54143
|
], CodeNameDto.prototype, "code", 2);
|
|
54143
54144
|
__decorateClass([
|
|
54144
|
-
|
|
54145
|
+
Transform114(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54145
54146
|
IsDefined301({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
54146
54147
|
IsString674({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
54147
54148
|
Expose811()
|
|
@@ -54156,20 +54157,20 @@ __decorateClass([
|
|
|
54156
54157
|
], CodeNameMinLengthDto.prototype, "name", 2);
|
|
54157
54158
|
|
|
54158
54159
|
// src/v2/dtos/Login.ts
|
|
54159
|
-
import { Expose as Expose812, Transform as
|
|
54160
|
+
import { Expose as Expose812, Transform as Transform115 } from "class-transformer";
|
|
54160
54161
|
import { IsDefined as IsDefined302, IsEmail as IsEmail5, Length as Length341 } from "class-validator";
|
|
54161
54162
|
var LoginDto = class {
|
|
54162
54163
|
email = "";
|
|
54163
54164
|
password = "";
|
|
54164
54165
|
};
|
|
54165
54166
|
__decorateClass([
|
|
54166
|
-
|
|
54167
|
+
Transform115(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
54167
54168
|
IsDefined302({ message: "Debe proporcionar un email" }),
|
|
54168
54169
|
IsEmail5({}, { message: "El email es inv\xE1lido" }),
|
|
54169
54170
|
Expose812()
|
|
54170
54171
|
], LoginDto.prototype, "email", 2);
|
|
54171
54172
|
__decorateClass([
|
|
54172
|
-
|
|
54173
|
+
Transform115(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54173
54174
|
IsDefined302({ message: "Debe proporcionar una contrase\xF1a" }),
|
|
54174
54175
|
Length341(8, 20, { message: "La contrase\xF1a debe tener entre 8 y 20 caracteres" }),
|
|
54175
54176
|
Expose812()
|
|
@@ -54181,7 +54182,7 @@ import { Expose as Expose815, Type as Type500 } from "class-transformer";
|
|
|
54181
54182
|
|
|
54182
54183
|
// src/v2/dtos/AuthUser.ts
|
|
54183
54184
|
import { IsBoolean as IsBoolean73, IsDefined as IsDefined303, IsEmail as IsEmail6, IsString as IsString675, IsUUID as IsUUID24, ValidateIf as ValidateIf7 } from "class-validator";
|
|
54184
|
-
import { Expose as Expose813, Transform as
|
|
54185
|
+
import { Expose as Expose813, Transform as Transform116 } from "class-transformer";
|
|
54185
54186
|
var AuthUserDto = class {
|
|
54186
54187
|
email;
|
|
54187
54188
|
paternalLastName;
|
|
@@ -54194,29 +54195,29 @@ var AuthUserDto = class {
|
|
|
54194
54195
|
__decorateClass([
|
|
54195
54196
|
IsDefined303({ message: "El correo es requerido" }),
|
|
54196
54197
|
IsEmail6({}, { message: "El correo es invalido" }),
|
|
54197
|
-
|
|
54198
|
+
Transform116(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
54198
54199
|
Expose813()
|
|
54199
54200
|
], AuthUserDto.prototype, "email", 2);
|
|
54200
54201
|
__decorateClass([
|
|
54201
|
-
|
|
54202
|
+
Transform116(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54202
54203
|
IsDefined303({ message: "El apellido paterno es requerido" }),
|
|
54203
54204
|
IsString675({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
54204
54205
|
Expose813()
|
|
54205
54206
|
], AuthUserDto.prototype, "paternalLastName", 2);
|
|
54206
54207
|
__decorateClass([
|
|
54207
|
-
|
|
54208
|
+
Transform116(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54208
54209
|
IsDefined303({ message: "El apellido materno es requerido" }),
|
|
54209
54210
|
IsString675({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
54210
54211
|
Expose813()
|
|
54211
54212
|
], AuthUserDto.prototype, "maternalLastName", 2);
|
|
54212
54213
|
__decorateClass([
|
|
54213
|
-
|
|
54214
|
+
Transform116(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54214
54215
|
IsDefined303({ message: "El nombre es requerido" }),
|
|
54215
54216
|
IsString675({ message: "El nombre debe ser una cadena de texto" }),
|
|
54216
54217
|
Expose813()
|
|
54217
54218
|
], AuthUserDto.prototype, "firstNames", 2);
|
|
54218
54219
|
__decorateClass([
|
|
54219
|
-
|
|
54220
|
+
Transform116(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54220
54221
|
IsDefined303({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
54221
54222
|
IsString675({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
54222
54223
|
Expose813()
|
|
@@ -54234,7 +54235,7 @@ __decorateClass([
|
|
|
54234
54235
|
], AuthUserDto.prototype, "profileId", 2);
|
|
54235
54236
|
|
|
54236
54237
|
// src/v2/dtos/Profile.ts
|
|
54237
|
-
import { Expose as Expose814, Transform as
|
|
54238
|
+
import { Expose as Expose814, Transform as Transform117 } from "class-transformer";
|
|
54238
54239
|
import { IsDefined as IsDefined304, IsString as IsString676, Length as Length342 } from "class-validator";
|
|
54239
54240
|
var ProfileDto = class {
|
|
54240
54241
|
name;
|
|
@@ -54242,14 +54243,14 @@ var ProfileDto = class {
|
|
|
54242
54243
|
};
|
|
54243
54244
|
__decorateClass([
|
|
54244
54245
|
IsDefined304({ message: "El campo nombre es requerido" }),
|
|
54245
|
-
|
|
54246
|
+
Transform117(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54246
54247
|
IsString676({ message: "debe ser una cadena de texto" }),
|
|
54247
54248
|
Length342(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
54248
54249
|
Expose814()
|
|
54249
54250
|
], ProfileDto.prototype, "name", 2);
|
|
54250
54251
|
__decorateClass([
|
|
54251
54252
|
IsDefined304({ message: "El campo descripci\xF3n es requerido" }),
|
|
54252
|
-
|
|
54253
|
+
Transform117(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54253
54254
|
IsString676({ message: "debe ser una cadena de texto" }),
|
|
54254
54255
|
Length342(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
54255
54256
|
Expose814()
|
|
@@ -54332,13 +54333,13 @@ __decorateClass([
|
|
|
54332
54333
|
], PayloadTokenDto.prototype, "employmentType", 2);
|
|
54333
54334
|
|
|
54334
54335
|
// src/v2/dtos/SelectCrew.ts
|
|
54335
|
-
import { Expose as Expose816, Transform as
|
|
54336
|
+
import { Expose as Expose816, Transform as Transform118 } from "class-transformer";
|
|
54336
54337
|
import { IsDefined as IsDefined306, IsNotEmpty as IsNotEmpty464, IsString as IsString677 } from "class-validator";
|
|
54337
54338
|
var SelectCrewDto = class {
|
|
54338
54339
|
crewCode = "";
|
|
54339
54340
|
};
|
|
54340
54341
|
__decorateClass([
|
|
54341
|
-
|
|
54342
|
+
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54342
54343
|
IsDefined306({ message: "Debe proporcionar el c\xF3digo de la cuadrilla" }),
|
|
54343
54344
|
IsString677({ message: "El c\xF3digo de la cuadrilla debe ser una cadena de texto" }),
|
|
54344
54345
|
IsNotEmpty464({ message: "Debe proporcionar el c\xF3digo de la cuadrilla" }),
|
|
@@ -54425,13 +54426,13 @@ __decorateClass([
|
|
|
54425
54426
|
], ResponseSignInDto.prototype, "tags", 2);
|
|
54426
54427
|
|
|
54427
54428
|
// src/v2/dtos/ForgotPassword.ts
|
|
54428
|
-
import { Expose as Expose819, Transform as
|
|
54429
|
+
import { Expose as Expose819, Transform as Transform119 } from "class-transformer";
|
|
54429
54430
|
import { IsDefined as IsDefined309, IsEmail as IsEmail7 } from "class-validator";
|
|
54430
54431
|
var ForgotPasswordDto = class {
|
|
54431
54432
|
email = "";
|
|
54432
54433
|
};
|
|
54433
54434
|
__decorateClass([
|
|
54434
|
-
|
|
54435
|
+
Transform119(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
54435
54436
|
IsDefined309({ message: "Debe proporcionar un email" }),
|
|
54436
54437
|
IsEmail7({}, { message: "El email es inv\xE1lido" }),
|
|
54437
54438
|
Expose819()
|
|
@@ -54468,7 +54469,7 @@ __decorateClass([
|
|
|
54468
54469
|
], ResetPasswordDto.prototype, "token", 2);
|
|
54469
54470
|
|
|
54470
54471
|
// src/v2/dtos/CreateProfile.ts
|
|
54471
|
-
import { Expose as Expose821, Transform as
|
|
54472
|
+
import { Expose as Expose821, Transform as Transform120 } from "class-transformer";
|
|
54472
54473
|
import { IsArray as IsArray257, IsDefined as IsDefined310, IsString as IsString681, Length as Length344, MinLength as MinLength60, IsUUID as IsUUID27 } from "class-validator";
|
|
54473
54474
|
var CreateProfileDto = class {
|
|
54474
54475
|
_id;
|
|
@@ -54483,14 +54484,14 @@ __decorateClass([
|
|
|
54483
54484
|
], CreateProfileDto.prototype, "_id", 2);
|
|
54484
54485
|
__decorateClass([
|
|
54485
54486
|
IsDefined310({ message: "El campo nombre es requerido" }),
|
|
54486
|
-
|
|
54487
|
+
Transform120(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54487
54488
|
IsString681({ message: "debe ser una cadena de texto" }),
|
|
54488
54489
|
Length344(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
54489
54490
|
Expose821()
|
|
54490
54491
|
], CreateProfileDto.prototype, "name", 2);
|
|
54491
54492
|
__decorateClass([
|
|
54492
54493
|
IsDefined310({ message: "El campo descripci\xF3n es requerido" }),
|
|
54493
|
-
|
|
54494
|
+
Transform120(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54494
54495
|
IsString681({ message: "debe ser una cadena de texto" }),
|
|
54495
54496
|
Length344(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
54496
54497
|
Expose821()
|
|
@@ -54504,7 +54505,7 @@ __decorateClass([
|
|
|
54504
54505
|
], CreateProfileDto.prototype, "systemOptions", 2);
|
|
54505
54506
|
|
|
54506
54507
|
// src/v2/dtos/UpdateProfile.ts
|
|
54507
|
-
import { Expose as Expose822, Transform as
|
|
54508
|
+
import { Expose as Expose822, Transform as Transform121 } from "class-transformer";
|
|
54508
54509
|
import { IsArray as IsArray258, IsDefined as IsDefined311, IsString as IsString682, Length as Length345, MinLength as MinLength61, IsBoolean as IsBoolean77 } from "class-validator";
|
|
54509
54510
|
var UpdateProfileDto = class {
|
|
54510
54511
|
active;
|
|
@@ -54519,14 +54520,14 @@ __decorateClass([
|
|
|
54519
54520
|
], UpdateProfileDto.prototype, "active", 2);
|
|
54520
54521
|
__decorateClass([
|
|
54521
54522
|
IsDefined311({ message: "El campo nombre es requerido" }),
|
|
54522
|
-
|
|
54523
|
+
Transform121(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54523
54524
|
IsString682({ message: "debe ser una cadena de texto" }),
|
|
54524
54525
|
Length345(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
54525
54526
|
Expose822()
|
|
54526
54527
|
], UpdateProfileDto.prototype, "name", 2);
|
|
54527
54528
|
__decorateClass([
|
|
54528
54529
|
IsDefined311({ message: "El campo descripci\xF3n es requerido" }),
|
|
54529
|
-
|
|
54530
|
+
Transform121(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
54530
54531
|
IsString682({ message: "debe ser una cadena de texto" }),
|
|
54531
54532
|
Length345(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
54532
54533
|
Expose822()
|
|
@@ -54942,7 +54943,7 @@ __decorateClass([
|
|
|
54942
54943
|
|
|
54943
54944
|
// src/v2/dtos/CreateUser.ts
|
|
54944
54945
|
import { IsArray as IsArray264, IsBoolean as IsBoolean83, IsDefined as IsDefined322, IsEmail as IsEmail12, IsString as IsString693, IsUUID as IsUUID37, ValidateIf as ValidateIf9, ValidateNested as ValidateNested435 } from "class-validator";
|
|
54945
|
-
import { Expose as Expose833, Transform as
|
|
54946
|
+
import { Expose as Expose833, Transform as Transform125, Type as Type505 } from "class-transformer";
|
|
54946
54947
|
|
|
54947
54948
|
// src/v2/dtos/ResourceSystemDto.ts
|
|
54948
54949
|
import { Expose as Expose832, Type as Type504 } from "class-transformer";
|
|
@@ -55013,35 +55014,35 @@ __decorateClass([
|
|
|
55013
55014
|
__decorateClass([
|
|
55014
55015
|
IsDefined322({ message: "El correo es requerido" }),
|
|
55015
55016
|
IsEmail12({}, { message: "El correo es invalido" }),
|
|
55016
|
-
|
|
55017
|
+
Transform125(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
55017
55018
|
Expose833()
|
|
55018
55019
|
], CreateUserDto.prototype, "email", 2);
|
|
55019
55020
|
__decorateClass([
|
|
55020
|
-
|
|
55021
|
+
Transform125(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55021
55022
|
IsDefined322({ message: "La contrase\xF1a es requerida" }),
|
|
55022
55023
|
IsString693({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
55023
55024
|
Expose833()
|
|
55024
55025
|
], CreateUserDto.prototype, "password", 2);
|
|
55025
55026
|
__decorateClass([
|
|
55026
|
-
|
|
55027
|
+
Transform125(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55027
55028
|
IsDefined322({ message: "El apellido paterno es requerido" }),
|
|
55028
55029
|
IsString693({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
55029
55030
|
Expose833()
|
|
55030
55031
|
], CreateUserDto.prototype, "paternalLastName", 2);
|
|
55031
55032
|
__decorateClass([
|
|
55032
|
-
|
|
55033
|
+
Transform125(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55033
55034
|
IsDefined322({ message: "El apellido materno es requerido" }),
|
|
55034
55035
|
IsString693({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
55035
55036
|
Expose833()
|
|
55036
55037
|
], CreateUserDto.prototype, "maternalLastName", 2);
|
|
55037
55038
|
__decorateClass([
|
|
55038
|
-
|
|
55039
|
+
Transform125(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55039
55040
|
IsDefined322({ message: "El nombre es requerido" }),
|
|
55040
55041
|
IsString693({ message: "El nombre debe ser una cadena de texto" }),
|
|
55041
55042
|
Expose833()
|
|
55042
55043
|
], CreateUserDto.prototype, "firstNames", 2);
|
|
55043
55044
|
__decorateClass([
|
|
55044
|
-
|
|
55045
|
+
Transform125(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55045
55046
|
IsDefined322({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
55046
55047
|
IsString693({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
55047
55048
|
Expose833()
|
|
@@ -55419,7 +55420,7 @@ __decorateClass([
|
|
|
55419
55420
|
], UpdateThemeConfigUserDto.prototype, "Favoritos", 2);
|
|
55420
55421
|
|
|
55421
55422
|
// src/v2/dtos/CreateWarehouseExitATC.ts
|
|
55422
|
-
import { Expose as Expose843, Transform as
|
|
55423
|
+
import { Expose as Expose843, Transform as Transform126 } from "class-transformer";
|
|
55423
55424
|
import { IsDefined as IsDefined327, IsNotEmpty as IsNotEmpty475, IsOptional as IsOptional81, IsString as IsString703, MaxLength as MaxLength10 } from "class-validator";
|
|
55424
55425
|
var trimUpper = ({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value;
|
|
55425
55426
|
var CreateWarehouseExitATCDto = class {
|
|
@@ -55458,19 +55459,19 @@ __decorateClass([
|
|
|
55458
55459
|
IsOptional81(),
|
|
55459
55460
|
IsString703({ message: "La orden de trabajo debe ser una cadena de texto" }),
|
|
55460
55461
|
MaxLength10(100, { message: "La orden de trabajo no debe superar los 100 caracteres" }),
|
|
55461
|
-
|
|
55462
|
+
Transform126(trimUpper),
|
|
55462
55463
|
Expose843()
|
|
55463
55464
|
], CreateWarehouseExitATCDto.prototype, "workOrder", 2);
|
|
55464
55465
|
__decorateClass([
|
|
55465
55466
|
IsOptional81(),
|
|
55466
55467
|
IsString703({ message: "Las observaciones deben ser una cadena de texto" }),
|
|
55467
55468
|
MaxLength10(300, { message: "Las observaciones no deben superar los 300 caracteres" }),
|
|
55468
|
-
|
|
55469
|
+
Transform126(trimUpper),
|
|
55469
55470
|
Expose843()
|
|
55470
55471
|
], CreateWarehouseExitATCDto.prototype, "observations", 2);
|
|
55471
55472
|
|
|
55472
55473
|
// src/v2/dtos/AddDetailWarehouseExitATC.ts
|
|
55473
|
-
import { Expose as Expose844, Transform as
|
|
55474
|
+
import { Expose as Expose844, Transform as Transform127, Type as Type511 } from "class-transformer";
|
|
55474
55475
|
import { IsDefined as IsDefined328, IsNotEmpty as IsNotEmpty476, IsNumber as IsNumber539, IsOptional as IsOptional82, IsString as IsString704, MaxLength as MaxLength11, Min as Min352 } from "class-validator";
|
|
55475
55476
|
var AddDetailWarehouseExitATCDto = class {
|
|
55476
55477
|
keyCode;
|
|
@@ -55501,12 +55502,12 @@ __decorateClass([
|
|
|
55501
55502
|
IsOptional82(),
|
|
55502
55503
|
IsString704({ message: "Las notas deben ser una cadena de texto" }),
|
|
55503
55504
|
MaxLength11(300, { message: "Las notas no deben superar los 300 caracteres" }),
|
|
55504
|
-
|
|
55505
|
+
Transform127(({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value),
|
|
55505
55506
|
Expose844()
|
|
55506
55507
|
], AddDetailWarehouseExitATCDto.prototype, "notes", 2);
|
|
55507
55508
|
|
|
55508
55509
|
// src/v2/dtos/AddInventorySomacylOrder.ts
|
|
55509
|
-
import { Expose as Expose845, Transform as
|
|
55510
|
+
import { Expose as Expose845, Transform as Transform128, Type as Type512 } from "class-transformer";
|
|
55510
55511
|
import {
|
|
55511
55512
|
IsDefined as IsDefined329,
|
|
55512
55513
|
IsInt,
|
|
@@ -55532,7 +55533,7 @@ __decorateClass([
|
|
|
55532
55533
|
__decorateClass([
|
|
55533
55534
|
IsOptional83(),
|
|
55534
55535
|
IsString705({ message: "La serie debe ser una cadena de texto" }),
|
|
55535
|
-
|
|
55536
|
+
Transform128(trim),
|
|
55536
55537
|
Expose845()
|
|
55537
55538
|
], AddInventorySomacylOrderDto.prototype, "invsn", 2);
|
|
55538
55539
|
__decorateClass([
|
|
@@ -55546,7 +55547,7 @@ __decorateClass([
|
|
|
55546
55547
|
IsOptional83(),
|
|
55547
55548
|
IsString705({ message: "La serie del contador retirado debe ser una cadena de texto" }),
|
|
55548
55549
|
MaxLength12(50, { message: "La serie del contador retirado no debe superar los 50 caracteres" }),
|
|
55549
|
-
|
|
55550
|
+
Transform128(trim),
|
|
55550
55551
|
Expose845()
|
|
55551
55552
|
], AddInventorySomacylOrderDto.prototype, "serieContadorRetirado", 2);
|
|
55552
55553
|
|
|
@@ -55576,7 +55577,7 @@ __decorateClass([
|
|
|
55576
55577
|
], DeleteFileSomacylOrderDto.prototype, "posicion", 2);
|
|
55577
55578
|
|
|
55578
55579
|
// src/v2/dtos/DeleteInventorySomacylOrder.ts
|
|
55579
|
-
import { Expose as Expose847, Transform as
|
|
55580
|
+
import { Expose as Expose847, Transform as Transform129, Type as Type513 } from "class-transformer";
|
|
55580
55581
|
import { IsDefined as IsDefined331, IsInt as IsInt2, IsOptional as IsOptional84, IsString as IsString706 } from "class-validator";
|
|
55581
55582
|
var DeleteInventorySomacylOrderDto = class {
|
|
55582
55583
|
ID_Stock;
|
|
@@ -55591,12 +55592,12 @@ __decorateClass([
|
|
|
55591
55592
|
__decorateClass([
|
|
55592
55593
|
IsOptional84(),
|
|
55593
55594
|
IsString706({ message: "La serie debe ser una cadena de texto" }),
|
|
55594
|
-
|
|
55595
|
+
Transform129(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55595
55596
|
Expose847()
|
|
55596
55597
|
], DeleteInventorySomacylOrderDto.prototype, "invsn", 2);
|
|
55597
55598
|
|
|
55598
55599
|
// src/v2/dtos/FinalizeSomacylOrder.ts
|
|
55599
|
-
import { Expose as Expose848, Transform as
|
|
55600
|
+
import { Expose as Expose848, Transform as Transform130 } from "class-transformer";
|
|
55600
55601
|
import { IsDefined as IsDefined332, IsIn as IsIn9, IsNotEmpty as IsNotEmpty477, IsString as IsString707, MaxLength as MaxLength13, ValidateIf as ValidateIf10 } from "class-validator";
|
|
55601
55602
|
var estadosFinalizacion = ["Finalizada" /* FINALIZADA */, "No Finalizada" /* NO_FINALIZADA */];
|
|
55602
55603
|
var motivosNoFinalizado = Object.values(ReasonNoFinalizedSomacyl).filter((e) => e !== "" /* INICIAL */);
|
|
@@ -55635,7 +55636,7 @@ __decorateClass([
|
|
|
55635
55636
|
IsString707({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
55636
55637
|
IsNotEmpty477({ message: "La observaci\xF3n es requerida" }),
|
|
55637
55638
|
MaxLength13(500, { message: "La observaci\xF3n no debe superar los 500 caracteres" }),
|
|
55638
|
-
|
|
55639
|
+
Transform130(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55639
55640
|
Expose848()
|
|
55640
55641
|
], FinalizeSomacylOrderDto.prototype, "observaciones_en_legados", 2);
|
|
55641
55642
|
__decorateClass([
|
|
@@ -55644,7 +55645,7 @@ __decorateClass([
|
|
|
55644
55645
|
IsString707({ message: "La lectura del contador retirado debe ser una cadena de texto" }),
|
|
55645
55646
|
IsNotEmpty477({ message: "La lectura del contador retirado es requerida" }),
|
|
55646
55647
|
MaxLength13(50, { message: "La lectura del contador retirado no debe superar los 50 caracteres" }),
|
|
55647
|
-
|
|
55648
|
+
Transform130(trim2),
|
|
55648
55649
|
Expose848()
|
|
55649
55650
|
], FinalizeSomacylOrderDto.prototype, "lecturaContadorRetirado", 2);
|
|
55650
55651
|
__decorateClass([
|
|
@@ -55653,7 +55654,7 @@ __decorateClass([
|
|
|
55653
55654
|
IsString707({ message: "La lectura del contador instalado debe ser una cadena de texto" }),
|
|
55654
55655
|
IsNotEmpty477({ message: "La lectura del contador instalado es requerida" }),
|
|
55655
55656
|
MaxLength13(50, { message: "La lectura del contador instalado no debe superar los 50 caracteres" }),
|
|
55656
|
-
|
|
55657
|
+
Transform130(trim2),
|
|
55657
55658
|
Expose848()
|
|
55658
55659
|
], FinalizeSomacylOrderDto.prototype, "lecturaContadorInstalado", 2);
|
|
55659
55660
|
__decorateClass([
|
|
@@ -55662,12 +55663,12 @@ __decorateClass([
|
|
|
55662
55663
|
IsString707({ message: "Las observaciones deben ser una cadena de texto" }),
|
|
55663
55664
|
IsNotEmpty477({ message: "Las observaciones son requeridas" }),
|
|
55664
55665
|
MaxLength13(500, { message: "Las observaciones no deben superar los 500 caracteres" }),
|
|
55665
|
-
|
|
55666
|
+
Transform130(trim2),
|
|
55666
55667
|
Expose848()
|
|
55667
55668
|
], FinalizeSomacylOrderDto.prototype, "observaciones", 2);
|
|
55668
55669
|
|
|
55669
55670
|
// src/v2/dtos/UploadFileSomacylOrder.ts
|
|
55670
|
-
import { Expose as Expose849, Transform as
|
|
55671
|
+
import { Expose as Expose849, Transform as Transform131 } from "class-transformer";
|
|
55671
55672
|
import { IsDefined as IsDefined333, IsEnum as IsEnum67, IsOptional as IsOptional85, IsString as IsString708, MaxLength as MaxLength14 } from "class-validator";
|
|
55672
55673
|
var UploadFileSomacylOrderDto = class {
|
|
55673
55674
|
posicion;
|
|
@@ -55684,12 +55685,12 @@ __decorateClass([
|
|
|
55684
55685
|
IsOptional85(),
|
|
55685
55686
|
IsString708({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
55686
55687
|
MaxLength14(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
55687
|
-
|
|
55688
|
+
Transform131(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55688
55689
|
Expose849()
|
|
55689
55690
|
], UploadFileSomacylOrderDto.prototype, "observacion", 2);
|
|
55690
55691
|
|
|
55691
55692
|
// src/v2/dtos/HomePassRef.ts
|
|
55692
|
-
import { Expose as Expose850, Transform as
|
|
55693
|
+
import { Expose as Expose850, Transform as Transform132 } from "class-transformer";
|
|
55693
55694
|
import { IsDefined as IsDefined334, IsIn as IsIn10, IsInt as IsInt3, IsNotEmpty as IsNotEmpty478, IsString as IsString709, Min as Min354 } from "class-validator";
|
|
55694
55695
|
var HOME_PASS_CLIENT_TYPES = ["Residential", "Business"];
|
|
55695
55696
|
var HomePassRefDto = class {
|
|
@@ -55709,7 +55710,7 @@ __decorateClass([
|
|
|
55709
55710
|
Expose850()
|
|
55710
55711
|
], HomePassRefDto.prototype, "ClientType", 2);
|
|
55711
55712
|
__decorateClass([
|
|
55712
|
-
|
|
55713
|
+
Transform132(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
55713
55714
|
IsDefined334({ message: "El Home_ID es requerido" }),
|
|
55714
55715
|
IsString709({ message: "El Home_ID debe ser una cadena de texto" }),
|
|
55715
55716
|
IsNotEmpty478({ message: "El Home_ID es requerido" }),
|
|
@@ -55772,7 +55773,7 @@ __decorateClass([
|
|
|
55772
55773
|
], CorrectRejectedValuationDto.prototype, "Anexos", 2);
|
|
55773
55774
|
|
|
55774
55775
|
// src/v2/dtos/PreLiquidateValuation.ts
|
|
55775
|
-
import { Expose as Expose854, Transform as
|
|
55776
|
+
import { Expose as Expose854, Transform as Transform133, Type as Type516 } from "class-transformer";
|
|
55776
55777
|
import {
|
|
55777
55778
|
ArrayMinSize as ArrayMinSize3,
|
|
55778
55779
|
IsArray as IsArray269,
|
|
@@ -55814,7 +55815,7 @@ var PreLiquidateMaterialDto = class {
|
|
|
55814
55815
|
Motivo;
|
|
55815
55816
|
};
|
|
55816
55817
|
__decorateClass([
|
|
55817
|
-
|
|
55818
|
+
Transform133(trim3),
|
|
55818
55819
|
IsDefined338({ message: "El c\xF3digo del material es requerido" }),
|
|
55819
55820
|
IsString710({ message: "El c\xF3digo del material debe ser una cadena de texto" }),
|
|
55820
55821
|
IsNotEmpty479({ message: "El c\xF3digo del material es requerido" }),
|
|
@@ -55866,7 +55867,7 @@ var PreLiquidateLineDto = class {
|
|
|
55866
55867
|
Anexos = [];
|
|
55867
55868
|
};
|
|
55868
55869
|
__decorateClass([
|
|
55869
|
-
|
|
55870
|
+
Transform133(trim3),
|
|
55870
55871
|
IsDefined338({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
55871
55872
|
IsString710({ message: "La l\xEDnea (LineaCodigoCub) debe ser una cadena de texto" }),
|
|
55872
55873
|
IsNotEmpty479({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
@@ -55913,14 +55914,14 @@ var PreLiquidateNewLaborDto = class {
|
|
|
55913
55914
|
Cantidad = 0;
|
|
55914
55915
|
};
|
|
55915
55916
|
__decorateClass([
|
|
55916
|
-
|
|
55917
|
+
Transform133(trim3),
|
|
55917
55918
|
IsDefined338({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
55918
55919
|
IsString710({ message: "La l\xEDnea (LineaCodigoCub) debe ser una cadena de texto" }),
|
|
55919
55920
|
IsNotEmpty479({ message: "La l\xEDnea (LineaCodigoCub) es requerida" }),
|
|
55920
55921
|
Expose854()
|
|
55921
55922
|
], PreLiquidateNewLaborDto.prototype, "LineaCodigoCub", 2);
|
|
55922
55923
|
__decorateClass([
|
|
55923
|
-
|
|
55924
|
+
Transform133(trim3),
|
|
55924
55925
|
IsDefined338({ message: "La especialidad es requerida" }),
|
|
55925
55926
|
IsString710({ message: "La especialidad debe ser una cadena de texto" }),
|
|
55926
55927
|
IsNotEmpty479({ message: "La especialidad es requerida" }),
|
|
@@ -55940,7 +55941,7 @@ var PreLiquidateValuationDto = class {
|
|
|
55940
55941
|
Lineas = [];
|
|
55941
55942
|
};
|
|
55942
55943
|
__decorateClass([
|
|
55943
|
-
|
|
55944
|
+
Transform133(trim3),
|
|
55944
55945
|
IsDefined338({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
55945
55946
|
IsString710({ message: "El ID de la operaci\xF3n debe ser una cadena de texto" }),
|
|
55946
55947
|
IsNotEmpty479({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
@@ -55972,7 +55973,7 @@ __decorateClass([
|
|
|
55972
55973
|
], PreLiquidateValuationDto.prototype, "Lineas", 2);
|
|
55973
55974
|
|
|
55974
55975
|
// src/v2/dtos/PreLiquidateValuationCHILE9512.ts
|
|
55975
|
-
import { Expose as Expose855, Transform as
|
|
55976
|
+
import { Expose as Expose855, Transform as Transform134, Type as Type517 } from "class-transformer";
|
|
55976
55977
|
import {
|
|
55977
55978
|
ArrayMinSize as ArrayMinSize4,
|
|
55978
55979
|
IsArray as IsArray270,
|
|
@@ -55993,7 +55994,7 @@ var PreLiquidateLineCHILE9512Dto = class {
|
|
|
55993
55994
|
Anexos = [];
|
|
55994
55995
|
};
|
|
55995
55996
|
__decorateClass([
|
|
55996
|
-
|
|
55997
|
+
Transform134(trim4),
|
|
55997
55998
|
IsDefined339({ message: "Seleccione una Valorizacion" }),
|
|
55998
55999
|
IsString711({ message: "Seleccione una Valorizacion" }),
|
|
55999
56000
|
IsNotEmpty480({ message: "Seleccione una Valorizacion" }),
|
|
@@ -56025,7 +56026,7 @@ var PreLiquidateValuationCHILE9512Dto = class {
|
|
|
56025
56026
|
Lineas = [];
|
|
56026
56027
|
};
|
|
56027
56028
|
__decorateClass([
|
|
56028
|
-
|
|
56029
|
+
Transform134(trim4),
|
|
56029
56030
|
IsDefined339({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
56030
56031
|
IsString711({ message: "El ID de la operaci\xF3n debe ser una cadena de texto" }),
|
|
56031
56032
|
IsNotEmpty480({ message: "El ID de la operaci\xF3n es requerido" }),
|
|
@@ -56132,13 +56133,13 @@ __decorateClass([
|
|
|
56132
56133
|
], SaveDailyReportDto.prototype, "Fotos", 2);
|
|
56133
56134
|
|
|
56134
56135
|
// src/v2/dtos/SearchJobWorkOrder.ts
|
|
56135
|
-
import { Expose as Expose858, Transform as
|
|
56136
|
+
import { Expose as Expose858, Transform as Transform135 } from "class-transformer";
|
|
56136
56137
|
import { IsDefined as IsDefined342, IsString as IsString713, Matches as Matches8, MinLength as MinLength64 } from "class-validator";
|
|
56137
56138
|
var SearchJobWorkOrderDto = class {
|
|
56138
56139
|
OrdenTrabajo = "";
|
|
56139
56140
|
};
|
|
56140
56141
|
__decorateClass([
|
|
56141
|
-
|
|
56142
|
+
Transform135(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56142
56143
|
IsDefined342({ message: "Ingrese una Orden de Trabajo" }),
|
|
56143
56144
|
IsString713({ message: "Ingrese una Orden de Trabajo" }),
|
|
56144
56145
|
MinLength64(5, { message: "Orden de Trabajo debe tener al menos 5 caracteres" }),
|
|
@@ -56194,7 +56195,7 @@ __decorateClass([
|
|
|
56194
56195
|
|
|
56195
56196
|
// src/v2/entities/User.ts
|
|
56196
56197
|
import { IsArray as IsArray272, IsBoolean as IsBoolean85, IsDefined as IsDefined345, IsEmail as IsEmail13, IsString as IsString715, IsUUID as IsUUID42, ValidateIf as ValidateIf11, ValidateNested as ValidateNested446 } from "class-validator";
|
|
56197
|
-
import { Expose as Expose861, Transform as
|
|
56198
|
+
import { Expose as Expose861, Transform as Transform136, Type as Type519 } from "class-transformer";
|
|
56198
56199
|
var UserEntity = class extends BaseEntity {
|
|
56199
56200
|
email;
|
|
56200
56201
|
password;
|
|
@@ -56211,35 +56212,35 @@ var UserEntity = class extends BaseEntity {
|
|
|
56211
56212
|
__decorateClass([
|
|
56212
56213
|
IsDefined345({ message: "El correo es requerido" }),
|
|
56213
56214
|
IsEmail13({}, { message: "El correo es invalido" }),
|
|
56214
|
-
|
|
56215
|
+
Transform136(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
56215
56216
|
Expose861()
|
|
56216
56217
|
], UserEntity.prototype, "email", 2);
|
|
56217
56218
|
__decorateClass([
|
|
56218
|
-
|
|
56219
|
+
Transform136(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56219
56220
|
IsDefined345({ message: "La contrase\xF1a es requerida" }),
|
|
56220
56221
|
IsString715({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
56221
56222
|
Expose861()
|
|
56222
56223
|
], UserEntity.prototype, "password", 2);
|
|
56223
56224
|
__decorateClass([
|
|
56224
|
-
|
|
56225
|
+
Transform136(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56225
56226
|
IsDefined345({ message: "El apellido paterno es requerido" }),
|
|
56226
56227
|
IsString715({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
56227
56228
|
Expose861()
|
|
56228
56229
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
56229
56230
|
__decorateClass([
|
|
56230
|
-
|
|
56231
|
+
Transform136(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56231
56232
|
IsDefined345({ message: "El apellido materno es requerido" }),
|
|
56232
56233
|
IsString715({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
56233
56234
|
Expose861()
|
|
56234
56235
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
56235
56236
|
__decorateClass([
|
|
56236
|
-
|
|
56237
|
+
Transform136(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56237
56238
|
IsDefined345({ message: "El nombre es requerido" }),
|
|
56238
56239
|
IsString715({ message: "El nombre debe ser una cadena de texto" }),
|
|
56239
56240
|
Expose861()
|
|
56240
56241
|
], UserEntity.prototype, "firstNames", 2);
|
|
56241
56242
|
__decorateClass([
|
|
56242
|
-
|
|
56243
|
+
Transform136(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56243
56244
|
IsDefined345({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
56244
56245
|
IsString715({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
56245
56246
|
Expose861()
|
|
@@ -56277,7 +56278,7 @@ __decorateClass([
|
|
|
56277
56278
|
], UserEntity.prototype, "resourceSystem", 2);
|
|
56278
56279
|
|
|
56279
56280
|
// src/v2/entities/Profile.ts
|
|
56280
|
-
import { Expose as Expose862, Transform as
|
|
56281
|
+
import { Expose as Expose862, Transform as Transform137 } from "class-transformer";
|
|
56281
56282
|
import { IsArray as IsArray273, IsDefined as IsDefined346, IsString as IsString716, Length as Length351, MinLength as MinLength65 } from "class-validator";
|
|
56282
56283
|
var ProfileEntity = class extends BaseEntity {
|
|
56283
56284
|
name;
|
|
@@ -56286,14 +56287,14 @@ var ProfileEntity = class extends BaseEntity {
|
|
|
56286
56287
|
};
|
|
56287
56288
|
__decorateClass([
|
|
56288
56289
|
IsDefined346({ message: "El campo nombre es requerido" }),
|
|
56289
|
-
|
|
56290
|
+
Transform137(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56290
56291
|
IsString716({ message: "debe ser una cadena de texto" }),
|
|
56291
56292
|
Length351(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
56292
56293
|
Expose862()
|
|
56293
56294
|
], ProfileEntity.prototype, "name", 2);
|
|
56294
56295
|
__decorateClass([
|
|
56295
56296
|
IsDefined346({ message: "El campo descripci\xF3n es requerido" }),
|
|
56296
|
-
|
|
56297
|
+
Transform137(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
56297
56298
|
IsString716({ message: "debe ser una cadena de texto" }),
|
|
56298
56299
|
Length351(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
56299
56300
|
Expose862()
|