sigo-entities 1.2.551 → 1.2.552
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/REPORTE_ESTRUCTURA_2026-08-31.md +215 -215
- package/__tests__/datos-transportista.test.mjs +34 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -0
- package/dist/index.mjs +342 -335
- package/package.json +2 -2
- package/.claude/settings.local.json +0 -8
package/dist/index.mjs
CHANGED
|
@@ -28556,7 +28556,7 @@ import { IsArray as IsArray187, IsNotEmpty as IsNotEmpty307, IsNumber as IsNumbe
|
|
|
28556
28556
|
|
|
28557
28557
|
// src/logistica/salida almacen/shared/dto/datos-transportista-dto.ts
|
|
28558
28558
|
import { Expose as Expose494 } from "class-transformer";
|
|
28559
|
-
import { IsString as IsString375, Length as Length235 } from "class-validator";
|
|
28559
|
+
import { IsOptional as IsOptional35, IsString as IsString375, Length as Length235 } from "class-validator";
|
|
28560
28560
|
var DatosTransportistaDTO = class {
|
|
28561
28561
|
Identificacion = "";
|
|
28562
28562
|
Nombres = "";
|
|
@@ -28564,6 +28564,7 @@ var DatosTransportistaDTO = class {
|
|
|
28564
28564
|
PlacaVehiculo = "";
|
|
28565
28565
|
Licencia = "";
|
|
28566
28566
|
RUCEmpresa = "";
|
|
28567
|
+
RazonSocialEmpresa = "";
|
|
28567
28568
|
};
|
|
28568
28569
|
__decorateClass([
|
|
28569
28570
|
IsString375({ message: "debe ser un texto" }),
|
|
@@ -28595,6 +28596,12 @@ __decorateClass([
|
|
|
28595
28596
|
Length235(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
28596
28597
|
Expose494()
|
|
28597
28598
|
], DatosTransportistaDTO.prototype, "RUCEmpresa", 2);
|
|
28599
|
+
__decorateClass([
|
|
28600
|
+
IsOptional35(),
|
|
28601
|
+
IsString375({ message: "debe ser un texto" }),
|
|
28602
|
+
Length235(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
28603
|
+
Expose494()
|
|
28604
|
+
], DatosTransportistaDTO.prototype, "RazonSocialEmpresa", 2);
|
|
28598
28605
|
|
|
28599
28606
|
// src/logistica/salida almacen/shared/dto/datos-transportista-chile-dto.ts
|
|
28600
28607
|
import { Expose as Expose495 } from "class-transformer";
|
|
@@ -29679,7 +29686,7 @@ import {
|
|
|
29679
29686
|
IsDefined as IsDefined190,
|
|
29680
29687
|
IsNotEmpty as IsNotEmpty315,
|
|
29681
29688
|
IsNumber as IsNumber336,
|
|
29682
|
-
IsOptional as
|
|
29689
|
+
IsOptional as IsOptional36,
|
|
29683
29690
|
IsString as IsString383,
|
|
29684
29691
|
IsUUID as IsUUID3,
|
|
29685
29692
|
Length as Length243,
|
|
@@ -29917,7 +29924,7 @@ __decorateClass([
|
|
|
29917
29924
|
], DevolucionTRENTITY.prototype, "UsuarioAprobacion", 2);
|
|
29918
29925
|
__decorateClass([
|
|
29919
29926
|
Expose505(),
|
|
29920
|
-
|
|
29927
|
+
IsOptional36(),
|
|
29921
29928
|
Type350(() => Date),
|
|
29922
29929
|
IsDate114({ message: "debe ser una fecha" })
|
|
29923
29930
|
], DevolucionTRENTITY.prototype, "FechaAprobacion", 2);
|
|
@@ -31863,7 +31870,7 @@ __decorateClass([
|
|
|
31863
31870
|
|
|
31864
31871
|
// src/logistica/procesos/navisionpreorden/shared/dto/accepted-dto.ts
|
|
31865
31872
|
import { Expose as Expose540, Type as Type373, Transform as Transform70 } from "class-transformer";
|
|
31866
|
-
import { IsDate as IsDate123, IsNumber as IsNumber363, IsOptional as
|
|
31873
|
+
import { IsDate as IsDate123, IsNumber as IsNumber363, IsOptional as IsOptional37, IsString as IsString414, Min as Min283 } from "class-validator";
|
|
31867
31874
|
var AcceptedDto = class {
|
|
31868
31875
|
IdDate = 0;
|
|
31869
31876
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31875,88 +31882,88 @@ var AcceptedDto = class {
|
|
|
31875
31882
|
FullName = "";
|
|
31876
31883
|
};
|
|
31877
31884
|
__decorateClass([
|
|
31878
|
-
|
|
31885
|
+
IsOptional37(),
|
|
31879
31886
|
IsNumber363({}, { message: "debe ser un n\xFAmero" }),
|
|
31880
31887
|
Min283(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31881
31888
|
Expose540()
|
|
31882
31889
|
], AcceptedDto.prototype, "IdDate", 2);
|
|
31883
31890
|
__decorateClass([
|
|
31884
|
-
|
|
31891
|
+
IsOptional37(),
|
|
31885
31892
|
Transform70(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31886
31893
|
IsDate123({ message: "debe ser una fecha" }),
|
|
31887
31894
|
Type373(() => Date),
|
|
31888
31895
|
Expose540()
|
|
31889
31896
|
], AcceptedDto.prototype, "Date", 2);
|
|
31890
31897
|
__decorateClass([
|
|
31891
|
-
|
|
31898
|
+
IsOptional37(),
|
|
31892
31899
|
IsNumber363({}, { message: "debe ser un n\xFAmero" }),
|
|
31893
31900
|
Type373(() => Number),
|
|
31894
31901
|
Expose540()
|
|
31895
31902
|
], AcceptedDto.prototype, "IdUser", 2);
|
|
31896
31903
|
__decorateClass([
|
|
31897
|
-
|
|
31904
|
+
IsOptional37(),
|
|
31898
31905
|
IsString414({ message: "debe ser texto" }),
|
|
31899
31906
|
Expose540()
|
|
31900
31907
|
], AcceptedDto.prototype, "User", 2);
|
|
31901
31908
|
__decorateClass([
|
|
31902
|
-
|
|
31909
|
+
IsOptional37(),
|
|
31903
31910
|
IsString414({ message: "debe ser texto" }),
|
|
31904
31911
|
Expose540()
|
|
31905
31912
|
], AcceptedDto.prototype, "LastName", 2);
|
|
31906
31913
|
__decorateClass([
|
|
31907
|
-
|
|
31914
|
+
IsOptional37(),
|
|
31908
31915
|
IsString414({ message: "debe ser texto" }),
|
|
31909
31916
|
Expose540()
|
|
31910
31917
|
], AcceptedDto.prototype, "Name", 2);
|
|
31911
31918
|
__decorateClass([
|
|
31912
|
-
|
|
31919
|
+
IsOptional37(),
|
|
31913
31920
|
IsString414({ message: "debe ser texto" }),
|
|
31914
31921
|
Expose540()
|
|
31915
31922
|
], AcceptedDto.prototype, "Perfil", 2);
|
|
31916
31923
|
__decorateClass([
|
|
31917
|
-
|
|
31924
|
+
IsOptional37(),
|
|
31918
31925
|
IsString414({ message: "debe ser texto" }),
|
|
31919
31926
|
Expose540()
|
|
31920
31927
|
], AcceptedDto.prototype, "FullName", 2);
|
|
31921
31928
|
|
|
31922
31929
|
// src/logistica/procesos/navisionpreorden/shared/dto/albaran-dto.ts
|
|
31923
31930
|
import { Expose as Expose545, Transform as Transform73, Type as Type375 } from "class-transformer";
|
|
31924
|
-
import { IsNumber as IsNumber366, IsOptional as
|
|
31931
|
+
import { IsNumber as IsNumber366, IsOptional as IsOptional42, IsString as IsString419, IsArray as IsArray204, ValidateNested as ValidateNested341 } from "class-validator";
|
|
31925
31932
|
|
|
31926
31933
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-albaran-dto.ts
|
|
31927
31934
|
import { Expose as Expose541, Transform as Transform71 } from "class-transformer";
|
|
31928
|
-
import { IsOptional as
|
|
31935
|
+
import { IsOptional as IsOptional38, IsString as IsString415 } from "class-validator";
|
|
31929
31936
|
var DetalleAlbaranDTO = class {
|
|
31930
31937
|
Field = "";
|
|
31931
31938
|
Code = "";
|
|
31932
31939
|
};
|
|
31933
31940
|
__decorateClass([
|
|
31934
|
-
|
|
31941
|
+
IsOptional38(),
|
|
31935
31942
|
IsString415({ message: "debe ser texto" }),
|
|
31936
31943
|
Transform71(({ value }) => value?.toUpperCase().trim()),
|
|
31937
31944
|
Expose541()
|
|
31938
31945
|
], DetalleAlbaranDTO.prototype, "Field", 2);
|
|
31939
31946
|
__decorateClass([
|
|
31940
|
-
|
|
31947
|
+
IsOptional38(),
|
|
31941
31948
|
IsString415({ message: "debe ser texto" }),
|
|
31942
31949
|
Expose541()
|
|
31943
31950
|
], DetalleAlbaranDTO.prototype, "Code", 2);
|
|
31944
31951
|
|
|
31945
31952
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-date-registry-dto.ts
|
|
31946
31953
|
import { Expose as Expose542, Transform as Transform72 } from "class-transformer";
|
|
31947
|
-
import { IsOptional as
|
|
31954
|
+
import { IsOptional as IsOptional39, IsString as IsString416, IsNumber as IsNumber364 } from "class-validator";
|
|
31948
31955
|
var dateToISOStringOrEmpty = (value) => value instanceof Date ? value.toISOString() : "";
|
|
31949
31956
|
var NavisionDateRegistryDto = class {
|
|
31950
31957
|
IdDate = 0;
|
|
31951
31958
|
Date = "";
|
|
31952
31959
|
};
|
|
31953
31960
|
__decorateClass([
|
|
31954
|
-
|
|
31961
|
+
IsOptional39(),
|
|
31955
31962
|
IsNumber364({}, { message: "debe ser un n\xFAmero" }),
|
|
31956
31963
|
Expose542()
|
|
31957
31964
|
], NavisionDateRegistryDto.prototype, "IdDate", 2);
|
|
31958
31965
|
__decorateClass([
|
|
31959
|
-
|
|
31966
|
+
IsOptional39(),
|
|
31960
31967
|
IsString416({ message: "debe ser texto" }),
|
|
31961
31968
|
Transform72(({ value }) => dateToISOStringOrEmpty(value)),
|
|
31962
31969
|
Expose542()
|
|
@@ -31966,7 +31973,7 @@ var NavisionRegistryDateDto = class extends NavisionDateRegistryDto {
|
|
|
31966
31973
|
|
|
31967
31974
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-user-registry-dto.ts
|
|
31968
31975
|
import { Expose as Expose543 } from "class-transformer";
|
|
31969
|
-
import { IsOptional as
|
|
31976
|
+
import { IsOptional as IsOptional40, IsString as IsString417, IsNumber as IsNumber365 } from "class-validator";
|
|
31970
31977
|
var NavisionUserRegistryDto = class {
|
|
31971
31978
|
IdUser = 0;
|
|
31972
31979
|
User = "";
|
|
@@ -31975,34 +31982,34 @@ var NavisionUserRegistryDto = class {
|
|
|
31975
31982
|
Perfil = "";
|
|
31976
31983
|
};
|
|
31977
31984
|
__decorateClass([
|
|
31978
|
-
|
|
31985
|
+
IsOptional40(),
|
|
31979
31986
|
IsNumber365({}, { message: "debe ser un n\xFAmero" }),
|
|
31980
31987
|
Expose543()
|
|
31981
31988
|
], NavisionUserRegistryDto.prototype, "IdUser", 2);
|
|
31982
31989
|
__decorateClass([
|
|
31983
|
-
|
|
31990
|
+
IsOptional40(),
|
|
31984
31991
|
IsString417({ message: "debe ser texto" }),
|
|
31985
31992
|
Expose543()
|
|
31986
31993
|
], NavisionUserRegistryDto.prototype, "User", 2);
|
|
31987
31994
|
__decorateClass([
|
|
31988
|
-
|
|
31995
|
+
IsOptional40(),
|
|
31989
31996
|
IsString417({ message: "debe ser texto" }),
|
|
31990
31997
|
Expose543()
|
|
31991
31998
|
], NavisionUserRegistryDto.prototype, "LastName", 2);
|
|
31992
31999
|
__decorateClass([
|
|
31993
|
-
|
|
32000
|
+
IsOptional40(),
|
|
31994
32001
|
IsString417({ message: "debe ser texto" }),
|
|
31995
32002
|
Expose543()
|
|
31996
32003
|
], NavisionUserRegistryDto.prototype, "Name", 2);
|
|
31997
32004
|
__decorateClass([
|
|
31998
|
-
|
|
32005
|
+
IsOptional40(),
|
|
31999
32006
|
IsString417({ message: "debe ser texto" }),
|
|
32000
32007
|
Expose543()
|
|
32001
32008
|
], NavisionUserRegistryDto.prototype, "Perfil", 2);
|
|
32002
32009
|
|
|
32003
32010
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-bitacora-file-dto.ts
|
|
32004
32011
|
import { Expose as Expose544, Type as Type374 } from "class-transformer";
|
|
32005
|
-
import { IsOptional as
|
|
32012
|
+
import { IsOptional as IsOptional41, IsString as IsString418, ValidateNested as ValidateNested340 } from "class-validator";
|
|
32006
32013
|
var NavisionBitacoraFileDto = class {
|
|
32007
32014
|
Action = "";
|
|
32008
32015
|
Date = new NavisionDateRegistryDto();
|
|
@@ -32010,24 +32017,24 @@ var NavisionBitacoraFileDto = class {
|
|
|
32010
32017
|
Description = "";
|
|
32011
32018
|
};
|
|
32012
32019
|
__decorateClass([
|
|
32013
|
-
|
|
32020
|
+
IsOptional41(),
|
|
32014
32021
|
IsString418({ message: "debe ser texto" }),
|
|
32015
32022
|
Expose544()
|
|
32016
32023
|
], NavisionBitacoraFileDto.prototype, "Action", 2);
|
|
32017
32024
|
__decorateClass([
|
|
32018
|
-
|
|
32025
|
+
IsOptional41(),
|
|
32019
32026
|
Type374(() => NavisionDateRegistryDto),
|
|
32020
32027
|
ValidateNested340(),
|
|
32021
32028
|
Expose544()
|
|
32022
32029
|
], NavisionBitacoraFileDto.prototype, "Date", 2);
|
|
32023
32030
|
__decorateClass([
|
|
32024
|
-
|
|
32031
|
+
IsOptional41(),
|
|
32025
32032
|
Type374(() => NavisionUserRegistryDto),
|
|
32026
32033
|
ValidateNested340(),
|
|
32027
32034
|
Expose544()
|
|
32028
32035
|
], NavisionBitacoraFileDto.prototype, "User", 2);
|
|
32029
32036
|
__decorateClass([
|
|
32030
|
-
|
|
32037
|
+
IsOptional41(),
|
|
32031
32038
|
IsString418({ message: "debe ser texto" }),
|
|
32032
32039
|
Expose544()
|
|
32033
32040
|
], NavisionBitacoraFileDto.prototype, "Description", 2);
|
|
@@ -32046,58 +32053,58 @@ var AlbaranDto = class {
|
|
|
32046
32053
|
Bitacora = [];
|
|
32047
32054
|
};
|
|
32048
32055
|
__decorateClass([
|
|
32049
|
-
|
|
32056
|
+
IsOptional42(),
|
|
32050
32057
|
IsString419({ message: "debe ser texto" }),
|
|
32051
32058
|
Expose545()
|
|
32052
32059
|
], AlbaranDto.prototype, "Code", 2);
|
|
32053
32060
|
__decorateClass([
|
|
32054
|
-
|
|
32061
|
+
IsOptional42(),
|
|
32055
32062
|
IsString419({ message: "debe ser texto" }),
|
|
32056
32063
|
Transform73(({ value }) => value?.toUpperCase().trim()),
|
|
32057
32064
|
Expose545()
|
|
32058
32065
|
], AlbaranDto.prototype, "Name", 2);
|
|
32059
32066
|
__decorateClass([
|
|
32060
|
-
|
|
32067
|
+
IsOptional42(),
|
|
32061
32068
|
IsString419({ message: "debe ser texto" }),
|
|
32062
32069
|
Expose545()
|
|
32063
32070
|
], AlbaranDto.prototype, "FileName", 2);
|
|
32064
32071
|
__decorateClass([
|
|
32065
|
-
|
|
32072
|
+
IsOptional42(),
|
|
32066
32073
|
IsString419({ message: "debe ser texto" }),
|
|
32067
32074
|
Transform73(({ value }) => value?.toUpperCase().trim()),
|
|
32068
32075
|
Expose545()
|
|
32069
32076
|
], AlbaranDto.prototype, "Extension", 2);
|
|
32070
32077
|
__decorateClass([
|
|
32071
|
-
|
|
32078
|
+
IsOptional42(),
|
|
32072
32079
|
IsString419({ message: "debe ser texto" }),
|
|
32073
32080
|
Expose545()
|
|
32074
32081
|
], AlbaranDto.prototype, "LoadName", 2);
|
|
32075
32082
|
__decorateClass([
|
|
32076
|
-
|
|
32083
|
+
IsOptional42(),
|
|
32077
32084
|
IsNumber366({}, { message: "debe ser un n\xFAmero" }),
|
|
32078
32085
|
Transform73(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
32079
32086
|
Expose545()
|
|
32080
32087
|
], AlbaranDto.prototype, "Status", 2);
|
|
32081
32088
|
__decorateClass([
|
|
32082
|
-
|
|
32089
|
+
IsOptional42(),
|
|
32083
32090
|
Type375(() => DetalleAlbaranDTO),
|
|
32084
32091
|
ValidateNested341(),
|
|
32085
32092
|
Expose545()
|
|
32086
32093
|
], AlbaranDto.prototype, "Detalle", 2);
|
|
32087
32094
|
__decorateClass([
|
|
32088
|
-
|
|
32095
|
+
IsOptional42(),
|
|
32089
32096
|
Type375(() => NavisionDateRegistryDto),
|
|
32090
32097
|
ValidateNested341(),
|
|
32091
32098
|
Expose545()
|
|
32092
32099
|
], AlbaranDto.prototype, "Dates", 2);
|
|
32093
32100
|
__decorateClass([
|
|
32094
|
-
|
|
32101
|
+
IsOptional42(),
|
|
32095
32102
|
Type375(() => NavisionUserRegistryDto),
|
|
32096
32103
|
ValidateNested341(),
|
|
32097
32104
|
Expose545()
|
|
32098
32105
|
], AlbaranDto.prototype, "Users", 2);
|
|
32099
32106
|
__decorateClass([
|
|
32100
|
-
|
|
32107
|
+
IsOptional42(),
|
|
32101
32108
|
IsArray204({ message: "debe ser un array" }),
|
|
32102
32109
|
Type375(() => NavisionBitacoraFileDto),
|
|
32103
32110
|
ValidateNested341({ each: true }),
|
|
@@ -32106,7 +32113,7 @@ __decorateClass([
|
|
|
32106
32113
|
|
|
32107
32114
|
// src/logistica/procesos/navisionpreorden/shared/dto/closed-dto.ts
|
|
32108
32115
|
import { Expose as Expose546, Type as Type376, Transform as Transform74 } from "class-transformer";
|
|
32109
|
-
import { IsDate as IsDate124, IsNumber as IsNumber367, IsOptional as
|
|
32116
|
+
import { IsDate as IsDate124, IsNumber as IsNumber367, IsOptional as IsOptional43, IsString as IsString420, Min as Min285 } from "class-validator";
|
|
32110
32117
|
var ClosedDto = class {
|
|
32111
32118
|
IdDate = 0;
|
|
32112
32119
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32118,53 +32125,53 @@ var ClosedDto = class {
|
|
|
32118
32125
|
FullName = "";
|
|
32119
32126
|
};
|
|
32120
32127
|
__decorateClass([
|
|
32121
|
-
|
|
32128
|
+
IsOptional43(),
|
|
32122
32129
|
IsNumber367({}, { message: "debe ser un n\xFAmero" }),
|
|
32123
32130
|
Min285(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32124
32131
|
Expose546()
|
|
32125
32132
|
], ClosedDto.prototype, "IdDate", 2);
|
|
32126
32133
|
__decorateClass([
|
|
32127
|
-
|
|
32134
|
+
IsOptional43(),
|
|
32128
32135
|
Transform74(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32129
32136
|
IsDate124({ message: "debe ser una fecha" }),
|
|
32130
32137
|
Type376(() => Date),
|
|
32131
32138
|
Expose546()
|
|
32132
32139
|
], ClosedDto.prototype, "Date", 2);
|
|
32133
32140
|
__decorateClass([
|
|
32134
|
-
|
|
32141
|
+
IsOptional43(),
|
|
32135
32142
|
IsNumber367({}, { message: "debe ser un n\xFAmero" }),
|
|
32136
32143
|
Type376(() => Number),
|
|
32137
32144
|
Expose546()
|
|
32138
32145
|
], ClosedDto.prototype, "IdUser", 2);
|
|
32139
32146
|
__decorateClass([
|
|
32140
|
-
|
|
32147
|
+
IsOptional43(),
|
|
32141
32148
|
IsString420({ message: "debe ser texto" }),
|
|
32142
32149
|
Expose546()
|
|
32143
32150
|
], ClosedDto.prototype, "User", 2);
|
|
32144
32151
|
__decorateClass([
|
|
32145
|
-
|
|
32152
|
+
IsOptional43(),
|
|
32146
32153
|
IsString420({ message: "debe ser texto" }),
|
|
32147
32154
|
Expose546()
|
|
32148
32155
|
], ClosedDto.prototype, "LastName", 2);
|
|
32149
32156
|
__decorateClass([
|
|
32150
|
-
|
|
32157
|
+
IsOptional43(),
|
|
32151
32158
|
IsString420({ message: "debe ser texto" }),
|
|
32152
32159
|
Expose546()
|
|
32153
32160
|
], ClosedDto.prototype, "Name", 2);
|
|
32154
32161
|
__decorateClass([
|
|
32155
|
-
|
|
32162
|
+
IsOptional43(),
|
|
32156
32163
|
IsString420({ message: "debe ser texto" }),
|
|
32157
32164
|
Expose546()
|
|
32158
32165
|
], ClosedDto.prototype, "Perfil", 2);
|
|
32159
32166
|
__decorateClass([
|
|
32160
|
-
|
|
32167
|
+
IsOptional43(),
|
|
32161
32168
|
IsString420({ message: "debe ser texto" }),
|
|
32162
32169
|
Expose546()
|
|
32163
32170
|
], ClosedDto.prototype, "FullName", 2);
|
|
32164
32171
|
|
|
32165
32172
|
// src/logistica/procesos/navisionpreorden/shared/dto/emision-dto.ts
|
|
32166
32173
|
import { Expose as Expose547, Type as Type377, Transform as Transform75 } from "class-transformer";
|
|
32167
|
-
import { IsDate as IsDate125, IsNumber as IsNumber368, IsOptional as
|
|
32174
|
+
import { IsDate as IsDate125, IsNumber as IsNumber368, IsOptional as IsOptional44, IsString as IsString421, Min as Min286 } from "class-validator";
|
|
32168
32175
|
var EmisionDto = class {
|
|
32169
32176
|
IdDate = 0;
|
|
32170
32177
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32176,46 +32183,46 @@ var EmisionDto = class {
|
|
|
32176
32183
|
FullName = "";
|
|
32177
32184
|
};
|
|
32178
32185
|
__decorateClass([
|
|
32179
|
-
|
|
32186
|
+
IsOptional44(),
|
|
32180
32187
|
IsNumber368({}, { message: "debe ser un n\xFAmero" }),
|
|
32181
32188
|
Min286(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32182
32189
|
Expose547()
|
|
32183
32190
|
], EmisionDto.prototype, "IdDate", 2);
|
|
32184
32191
|
__decorateClass([
|
|
32185
|
-
|
|
32192
|
+
IsOptional44(),
|
|
32186
32193
|
Transform75(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32187
32194
|
IsDate125({ message: "debe ser una fecha" }),
|
|
32188
32195
|
Type377(() => Date),
|
|
32189
32196
|
Expose547()
|
|
32190
32197
|
], EmisionDto.prototype, "Date", 2);
|
|
32191
32198
|
__decorateClass([
|
|
32192
|
-
|
|
32199
|
+
IsOptional44(),
|
|
32193
32200
|
IsNumber368({}, { message: "debe ser un n\xFAmero" }),
|
|
32194
32201
|
Type377(() => Number),
|
|
32195
32202
|
Expose547()
|
|
32196
32203
|
], EmisionDto.prototype, "IdUser", 2);
|
|
32197
32204
|
__decorateClass([
|
|
32198
|
-
|
|
32205
|
+
IsOptional44(),
|
|
32199
32206
|
IsString421({ message: "debe ser texto" }),
|
|
32200
32207
|
Expose547()
|
|
32201
32208
|
], EmisionDto.prototype, "User", 2);
|
|
32202
32209
|
__decorateClass([
|
|
32203
|
-
|
|
32210
|
+
IsOptional44(),
|
|
32204
32211
|
IsString421({ message: "debe ser texto" }),
|
|
32205
32212
|
Expose547()
|
|
32206
32213
|
], EmisionDto.prototype, "LastName", 2);
|
|
32207
32214
|
__decorateClass([
|
|
32208
|
-
|
|
32215
|
+
IsOptional44(),
|
|
32209
32216
|
IsString421({ message: "debe ser texto" }),
|
|
32210
32217
|
Expose547()
|
|
32211
32218
|
], EmisionDto.prototype, "Name", 2);
|
|
32212
32219
|
__decorateClass([
|
|
32213
|
-
|
|
32220
|
+
IsOptional44(),
|
|
32214
32221
|
IsString421({ message: "debe ser texto" }),
|
|
32215
32222
|
Expose547()
|
|
32216
32223
|
], EmisionDto.prototype, "Perfil", 2);
|
|
32217
32224
|
__decorateClass([
|
|
32218
|
-
|
|
32225
|
+
IsOptional44(),
|
|
32219
32226
|
IsString421({ message: "debe ser texto" }),
|
|
32220
32227
|
Expose547()
|
|
32221
32228
|
], EmisionDto.prototype, "FullName", 2);
|
|
@@ -32225,7 +32232,7 @@ import { Expose as Expose553 } from "class-transformer";
|
|
|
32225
32232
|
|
|
32226
32233
|
// src/logistica/procesos/navisionpreorden/shared/dto/factura-dto.ts
|
|
32227
32234
|
import { Expose as Expose548, Type as Type378, Transform as Transform76 } from "class-transformer";
|
|
32228
|
-
import { IsDate as IsDate126, IsNumber as IsNumber369, IsOptional as
|
|
32235
|
+
import { IsDate as IsDate126, IsNumber as IsNumber369, IsOptional as IsOptional45, IsString as IsString422, Min as Min287 } from "class-validator";
|
|
32229
32236
|
var FacturaDto = class {
|
|
32230
32237
|
IdDate = 0;
|
|
32231
32238
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32237,46 +32244,46 @@ var FacturaDto = class {
|
|
|
32237
32244
|
FullName = "";
|
|
32238
32245
|
};
|
|
32239
32246
|
__decorateClass([
|
|
32240
|
-
|
|
32247
|
+
IsOptional45(),
|
|
32241
32248
|
IsNumber369({}, { message: "debe ser un n\xFAmero" }),
|
|
32242
32249
|
Min287(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32243
32250
|
Expose548()
|
|
32244
32251
|
], FacturaDto.prototype, "IdDate", 2);
|
|
32245
32252
|
__decorateClass([
|
|
32246
|
-
|
|
32253
|
+
IsOptional45(),
|
|
32247
32254
|
Transform76(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32248
32255
|
IsDate126({ message: "debe ser una fecha" }),
|
|
32249
32256
|
Type378(() => Date),
|
|
32250
32257
|
Expose548()
|
|
32251
32258
|
], FacturaDto.prototype, "Date", 2);
|
|
32252
32259
|
__decorateClass([
|
|
32253
|
-
|
|
32260
|
+
IsOptional45(),
|
|
32254
32261
|
IsNumber369({}, { message: "debe ser un n\xFAmero" }),
|
|
32255
32262
|
Type378(() => Number),
|
|
32256
32263
|
Expose548()
|
|
32257
32264
|
], FacturaDto.prototype, "IdUser", 2);
|
|
32258
32265
|
__decorateClass([
|
|
32259
|
-
|
|
32266
|
+
IsOptional45(),
|
|
32260
32267
|
IsString422({ message: "debe ser texto" }),
|
|
32261
32268
|
Expose548()
|
|
32262
32269
|
], FacturaDto.prototype, "User", 2);
|
|
32263
32270
|
__decorateClass([
|
|
32264
|
-
|
|
32271
|
+
IsOptional45(),
|
|
32265
32272
|
IsString422({ message: "debe ser texto" }),
|
|
32266
32273
|
Expose548()
|
|
32267
32274
|
], FacturaDto.prototype, "LastName", 2);
|
|
32268
32275
|
__decorateClass([
|
|
32269
|
-
|
|
32276
|
+
IsOptional45(),
|
|
32270
32277
|
IsString422({ message: "debe ser texto" }),
|
|
32271
32278
|
Expose548()
|
|
32272
32279
|
], FacturaDto.prototype, "Name", 2);
|
|
32273
32280
|
__decorateClass([
|
|
32274
|
-
|
|
32281
|
+
IsOptional45(),
|
|
32275
32282
|
IsString422({ message: "debe ser texto" }),
|
|
32276
32283
|
Expose548()
|
|
32277
32284
|
], FacturaDto.prototype, "Perfil", 2);
|
|
32278
32285
|
__decorateClass([
|
|
32279
|
-
|
|
32286
|
+
IsOptional45(),
|
|
32280
32287
|
IsString422({ message: "debe ser texto" }),
|
|
32281
32288
|
Expose548()
|
|
32282
32289
|
], FacturaDto.prototype, "FullName", 2);
|
|
@@ -32286,7 +32293,7 @@ import { ValidateNested as ValidateNested342 } from "class-validator";
|
|
|
32286
32293
|
|
|
32287
32294
|
// src/logistica/procesos/navisionpreorden/shared/dto/orden-dto.ts
|
|
32288
32295
|
import { Expose as Expose549, Type as Type379, Transform as Transform77 } from "class-transformer";
|
|
32289
|
-
import { IsDate as IsDate127, IsNumber as IsNumber370, IsOptional as
|
|
32296
|
+
import { IsDate as IsDate127, IsNumber as IsNumber370, IsOptional as IsOptional46, IsString as IsString423, Min as Min288 } from "class-validator";
|
|
32290
32297
|
var OrdenDto = class {
|
|
32291
32298
|
IdDate = 0;
|
|
32292
32299
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32298,53 +32305,53 @@ var OrdenDto = class {
|
|
|
32298
32305
|
FullName = "";
|
|
32299
32306
|
};
|
|
32300
32307
|
__decorateClass([
|
|
32301
|
-
|
|
32308
|
+
IsOptional46(),
|
|
32302
32309
|
IsNumber370({}, { message: "debe ser un n\xFAmero" }),
|
|
32303
32310
|
Min288(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32304
32311
|
Expose549()
|
|
32305
32312
|
], OrdenDto.prototype, "IdDate", 2);
|
|
32306
32313
|
__decorateClass([
|
|
32307
|
-
|
|
32314
|
+
IsOptional46(),
|
|
32308
32315
|
Transform77(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32309
32316
|
IsDate127({ message: "debe ser una fecha" }),
|
|
32310
32317
|
Type379(() => Date),
|
|
32311
32318
|
Expose549()
|
|
32312
32319
|
], OrdenDto.prototype, "Date", 2);
|
|
32313
32320
|
__decorateClass([
|
|
32314
|
-
|
|
32321
|
+
IsOptional46(),
|
|
32315
32322
|
IsNumber370({}, { message: "debe ser un n\xFAmero" }),
|
|
32316
32323
|
Type379(() => Number),
|
|
32317
32324
|
Expose549()
|
|
32318
32325
|
], OrdenDto.prototype, "IdUser", 2);
|
|
32319
32326
|
__decorateClass([
|
|
32320
|
-
|
|
32327
|
+
IsOptional46(),
|
|
32321
32328
|
IsString423({ message: "debe ser texto" }),
|
|
32322
32329
|
Expose549()
|
|
32323
32330
|
], OrdenDto.prototype, "User", 2);
|
|
32324
32331
|
__decorateClass([
|
|
32325
|
-
|
|
32332
|
+
IsOptional46(),
|
|
32326
32333
|
IsString423({ message: "debe ser texto" }),
|
|
32327
32334
|
Expose549()
|
|
32328
32335
|
], OrdenDto.prototype, "LastName", 2);
|
|
32329
32336
|
__decorateClass([
|
|
32330
|
-
|
|
32337
|
+
IsOptional46(),
|
|
32331
32338
|
IsString423({ message: "debe ser texto" }),
|
|
32332
32339
|
Expose549()
|
|
32333
32340
|
], OrdenDto.prototype, "Name", 2);
|
|
32334
32341
|
__decorateClass([
|
|
32335
|
-
|
|
32342
|
+
IsOptional46(),
|
|
32336
32343
|
IsString423({ message: "debe ser texto" }),
|
|
32337
32344
|
Expose549()
|
|
32338
32345
|
], OrdenDto.prototype, "Perfil", 2);
|
|
32339
32346
|
__decorateClass([
|
|
32340
|
-
|
|
32347
|
+
IsOptional46(),
|
|
32341
32348
|
IsString423({ message: "debe ser texto" }),
|
|
32342
32349
|
Expose549()
|
|
32343
32350
|
], OrdenDto.prototype, "FullName", 2);
|
|
32344
32351
|
|
|
32345
32352
|
// src/logistica/procesos/navisionpreorden/shared/dto/pre-accepted-dto.ts
|
|
32346
32353
|
import { Expose as Expose550, Type as Type380, Transform as Transform78 } from "class-transformer";
|
|
32347
|
-
import { IsDate as IsDate128, IsNumber as IsNumber371, IsOptional as
|
|
32354
|
+
import { IsDate as IsDate128, IsNumber as IsNumber371, IsOptional as IsOptional47, IsString as IsString424, Min as Min289 } from "class-validator";
|
|
32348
32355
|
var PreAcceptedDto = class {
|
|
32349
32356
|
IdDate = 0;
|
|
32350
32357
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32356,53 +32363,53 @@ var PreAcceptedDto = class {
|
|
|
32356
32363
|
FullName = "";
|
|
32357
32364
|
};
|
|
32358
32365
|
__decorateClass([
|
|
32359
|
-
|
|
32366
|
+
IsOptional47(),
|
|
32360
32367
|
IsNumber371({}, { message: "debe ser un n\xFAmero" }),
|
|
32361
32368
|
Min289(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32362
32369
|
Expose550()
|
|
32363
32370
|
], PreAcceptedDto.prototype, "IdDate", 2);
|
|
32364
32371
|
__decorateClass([
|
|
32365
|
-
|
|
32372
|
+
IsOptional47(),
|
|
32366
32373
|
Transform78(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32367
32374
|
IsDate128({ message: "debe ser una fecha" }),
|
|
32368
32375
|
Type380(() => Date),
|
|
32369
32376
|
Expose550()
|
|
32370
32377
|
], PreAcceptedDto.prototype, "Date", 2);
|
|
32371
32378
|
__decorateClass([
|
|
32372
|
-
|
|
32379
|
+
IsOptional47(),
|
|
32373
32380
|
IsNumber371({}, { message: "debe ser un n\xFAmero" }),
|
|
32374
32381
|
Type380(() => Number),
|
|
32375
32382
|
Expose550()
|
|
32376
32383
|
], PreAcceptedDto.prototype, "IdUser", 2);
|
|
32377
32384
|
__decorateClass([
|
|
32378
|
-
|
|
32385
|
+
IsOptional47(),
|
|
32379
32386
|
IsString424({ message: "debe ser texto" }),
|
|
32380
32387
|
Expose550()
|
|
32381
32388
|
], PreAcceptedDto.prototype, "User", 2);
|
|
32382
32389
|
__decorateClass([
|
|
32383
|
-
|
|
32390
|
+
IsOptional47(),
|
|
32384
32391
|
IsString424({ message: "debe ser texto" }),
|
|
32385
32392
|
Expose550()
|
|
32386
32393
|
], PreAcceptedDto.prototype, "LastName", 2);
|
|
32387
32394
|
__decorateClass([
|
|
32388
|
-
|
|
32395
|
+
IsOptional47(),
|
|
32389
32396
|
IsString424({ message: "debe ser texto" }),
|
|
32390
32397
|
Expose550()
|
|
32391
32398
|
], PreAcceptedDto.prototype, "Name", 2);
|
|
32392
32399
|
__decorateClass([
|
|
32393
|
-
|
|
32400
|
+
IsOptional47(),
|
|
32394
32401
|
IsString424({ message: "debe ser texto" }),
|
|
32395
32402
|
Expose550()
|
|
32396
32403
|
], PreAcceptedDto.prototype, "Perfil", 2);
|
|
32397
32404
|
__decorateClass([
|
|
32398
|
-
|
|
32405
|
+
IsOptional47(),
|
|
32399
32406
|
IsString424({ message: "debe ser texto" }),
|
|
32400
32407
|
Expose550()
|
|
32401
32408
|
], PreAcceptedDto.prototype, "FullName", 2);
|
|
32402
32409
|
|
|
32403
32410
|
// src/logistica/procesos/navisionpreorden/shared/dto/registry-dto.ts
|
|
32404
32411
|
import { Expose as Expose551, Type as Type381, Transform as Transform79 } from "class-transformer";
|
|
32405
|
-
import { IsDate as IsDate129, IsNumber as IsNumber372, IsOptional as
|
|
32412
|
+
import { IsDate as IsDate129, IsNumber as IsNumber372, IsOptional as IsOptional48, IsString as IsString425, Min as Min290 } from "class-validator";
|
|
32406
32413
|
var RegistryDto = class {
|
|
32407
32414
|
IdDate = 0;
|
|
32408
32415
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32414,46 +32421,46 @@ var RegistryDto = class {
|
|
|
32414
32421
|
FullName = "";
|
|
32415
32422
|
};
|
|
32416
32423
|
__decorateClass([
|
|
32417
|
-
|
|
32424
|
+
IsOptional48(),
|
|
32418
32425
|
IsNumber372({}, { message: "debe ser un n\xFAmero" }),
|
|
32419
32426
|
Min290(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32420
32427
|
Expose551()
|
|
32421
32428
|
], RegistryDto.prototype, "IdDate", 2);
|
|
32422
32429
|
__decorateClass([
|
|
32423
|
-
|
|
32430
|
+
IsOptional48(),
|
|
32424
32431
|
Transform79(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32425
32432
|
IsDate129({ message: "debe ser una fecha" }),
|
|
32426
32433
|
Type381(() => Date),
|
|
32427
32434
|
Expose551()
|
|
32428
32435
|
], RegistryDto.prototype, "Date", 2);
|
|
32429
32436
|
__decorateClass([
|
|
32430
|
-
|
|
32437
|
+
IsOptional48(),
|
|
32431
32438
|
IsNumber372({}, { message: "debe ser un n\xFAmero" }),
|
|
32432
32439
|
Type381(() => Number),
|
|
32433
32440
|
Expose551()
|
|
32434
32441
|
], RegistryDto.prototype, "IdUser", 2);
|
|
32435
32442
|
__decorateClass([
|
|
32436
|
-
|
|
32443
|
+
IsOptional48(),
|
|
32437
32444
|
IsString425({ message: "debe ser texto" }),
|
|
32438
32445
|
Expose551()
|
|
32439
32446
|
], RegistryDto.prototype, "User", 2);
|
|
32440
32447
|
__decorateClass([
|
|
32441
|
-
|
|
32448
|
+
IsOptional48(),
|
|
32442
32449
|
IsString425({ message: "debe ser texto" }),
|
|
32443
32450
|
Expose551()
|
|
32444
32451
|
], RegistryDto.prototype, "LastName", 2);
|
|
32445
32452
|
__decorateClass([
|
|
32446
|
-
|
|
32453
|
+
IsOptional48(),
|
|
32447
32454
|
IsString425({ message: "debe ser texto" }),
|
|
32448
32455
|
Expose551()
|
|
32449
32456
|
], RegistryDto.prototype, "Name", 2);
|
|
32450
32457
|
__decorateClass([
|
|
32451
|
-
|
|
32458
|
+
IsOptional48(),
|
|
32452
32459
|
IsString425({ message: "debe ser texto" }),
|
|
32453
32460
|
Expose551()
|
|
32454
32461
|
], RegistryDto.prototype, "Perfil", 2);
|
|
32455
32462
|
__decorateClass([
|
|
32456
|
-
|
|
32463
|
+
IsOptional48(),
|
|
32457
32464
|
IsString425({ message: "debe ser texto" }),
|
|
32458
32465
|
Expose551()
|
|
32459
32466
|
], RegistryDto.prototype, "FullName", 2);
|
|
@@ -32463,7 +32470,7 @@ import { Type as Type383 } from "class-transformer";
|
|
|
32463
32470
|
|
|
32464
32471
|
// src/logistica/procesos/navisionpreorden/shared/dto/update-dto.ts
|
|
32465
32472
|
import { Expose as Expose552, Type as Type382, Transform as Transform80 } from "class-transformer";
|
|
32466
|
-
import { IsDate as IsDate130, IsNumber as IsNumber373, IsOptional as
|
|
32473
|
+
import { IsDate as IsDate130, IsNumber as IsNumber373, IsOptional as IsOptional49, IsString as IsString426, Min as Min291 } from "class-validator";
|
|
32467
32474
|
var UpdateDto = class {
|
|
32468
32475
|
IdDate = 0;
|
|
32469
32476
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -32475,46 +32482,46 @@ var UpdateDto = class {
|
|
|
32475
32482
|
FullName = "";
|
|
32476
32483
|
};
|
|
32477
32484
|
__decorateClass([
|
|
32478
|
-
|
|
32485
|
+
IsOptional49(),
|
|
32479
32486
|
IsNumber373({}, { message: "debe ser un n\xFAmero" }),
|
|
32480
32487
|
Min291(0, { message: "el valor m\xEDnimo es 0" }),
|
|
32481
32488
|
Expose552()
|
|
32482
32489
|
], UpdateDto.prototype, "IdDate", 2);
|
|
32483
32490
|
__decorateClass([
|
|
32484
|
-
|
|
32491
|
+
IsOptional49(),
|
|
32485
32492
|
Transform80(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
32486
32493
|
IsDate130({ message: "debe ser una fecha" }),
|
|
32487
32494
|
Type382(() => Date),
|
|
32488
32495
|
Expose552()
|
|
32489
32496
|
], UpdateDto.prototype, "Date", 2);
|
|
32490
32497
|
__decorateClass([
|
|
32491
|
-
|
|
32498
|
+
IsOptional49(),
|
|
32492
32499
|
IsNumber373({}, { message: "debe ser un n\xFAmero" }),
|
|
32493
32500
|
Type382(() => Number),
|
|
32494
32501
|
Expose552()
|
|
32495
32502
|
], UpdateDto.prototype, "IdUser", 2);
|
|
32496
32503
|
__decorateClass([
|
|
32497
|
-
|
|
32504
|
+
IsOptional49(),
|
|
32498
32505
|
IsString426({ message: "debe ser texto" }),
|
|
32499
32506
|
Expose552()
|
|
32500
32507
|
], UpdateDto.prototype, "User", 2);
|
|
32501
32508
|
__decorateClass([
|
|
32502
|
-
|
|
32509
|
+
IsOptional49(),
|
|
32503
32510
|
IsString426({ message: "debe ser texto" }),
|
|
32504
32511
|
Expose552()
|
|
32505
32512
|
], UpdateDto.prototype, "LastName", 2);
|
|
32506
32513
|
__decorateClass([
|
|
32507
|
-
|
|
32514
|
+
IsOptional49(),
|
|
32508
32515
|
IsString426({ message: "debe ser texto" }),
|
|
32509
32516
|
Expose552()
|
|
32510
32517
|
], UpdateDto.prototype, "Name", 2);
|
|
32511
32518
|
__decorateClass([
|
|
32512
|
-
|
|
32519
|
+
IsOptional49(),
|
|
32513
32520
|
IsString426({ message: "debe ser texto" }),
|
|
32514
32521
|
Expose552()
|
|
32515
32522
|
], UpdateDto.prototype, "Perfil", 2);
|
|
32516
32523
|
__decorateClass([
|
|
32517
|
-
|
|
32524
|
+
IsOptional49(),
|
|
32518
32525
|
IsString426({ message: "debe ser texto" }),
|
|
32519
32526
|
Expose552()
|
|
32520
32527
|
], UpdateDto.prototype, "FullName", 2);
|
|
@@ -32934,7 +32941,7 @@ __decorateClass([
|
|
|
32934
32941
|
|
|
32935
32942
|
// src/logistica/procesos/navisionpreorden/shared/dto/almacen-dto.ts
|
|
32936
32943
|
import { Expose as Expose566 } from "class-transformer";
|
|
32937
|
-
import { IsNumber as IsNumber376, IsOptional as
|
|
32944
|
+
import { IsNumber as IsNumber376, IsOptional as IsOptional51, IsString as IsString438 } from "class-validator";
|
|
32938
32945
|
var AlmacenDto = class {
|
|
32939
32946
|
Codigo = "";
|
|
32940
32947
|
Almacen = "";
|
|
@@ -32946,17 +32953,17 @@ __decorateClass([
|
|
|
32946
32953
|
Expose566()
|
|
32947
32954
|
], AlmacenDto.prototype, "Codigo", 2);
|
|
32948
32955
|
__decorateClass([
|
|
32949
|
-
|
|
32956
|
+
IsOptional51(),
|
|
32950
32957
|
IsString438({ message: "debe ser texto" }),
|
|
32951
32958
|
Expose566()
|
|
32952
32959
|
], AlmacenDto.prototype, "Almacen", 2);
|
|
32953
32960
|
__decorateClass([
|
|
32954
|
-
|
|
32961
|
+
IsOptional51(),
|
|
32955
32962
|
IsString438({ message: "debe ser texto" }),
|
|
32956
32963
|
Expose566()
|
|
32957
32964
|
], AlmacenDto.prototype, "Direccion", 2);
|
|
32958
32965
|
__decorateClass([
|
|
32959
|
-
|
|
32966
|
+
IsOptional51(),
|
|
32960
32967
|
IsNumber376({}, { message: "debe ser un n\xFAmero" }),
|
|
32961
32968
|
Expose566()
|
|
32962
32969
|
], AlmacenDto.prototype, "ID_Almacen", 2);
|
|
@@ -33238,7 +33245,7 @@ __decorateClass([
|
|
|
33238
33245
|
|
|
33239
33246
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-producto-dto.ts
|
|
33240
33247
|
import { Expose as Expose594, Type as Type397 } from "class-transformer";
|
|
33241
|
-
import { IsOptional as
|
|
33248
|
+
import { IsOptional as IsOptional58, ValidateNested as ValidateNested355 } from "class-validator";
|
|
33242
33249
|
|
|
33243
33250
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-dto.ts
|
|
33244
33251
|
import { Expose as Expose577 } from "class-transformer";
|
|
@@ -33288,33 +33295,33 @@ __decorateClass([
|
|
|
33288
33295
|
|
|
33289
33296
|
// src/logistica/procesos/navisionpreorden/shared/dto/equipo-serie-dto.ts
|
|
33290
33297
|
import { Expose as Expose581, Type as Type392 } from "class-transformer";
|
|
33291
|
-
import { IsOptional as
|
|
33298
|
+
import { IsOptional as IsOptional56, IsString as IsString452, IsNumber as IsNumber384, IsNotEmpty as IsNotEmpty372, ValidateNested as ValidateNested351 } from "class-validator";
|
|
33292
33299
|
|
|
33293
33300
|
// src/logistica/procesos/navisionpreorden/shared/dto/estado-serie-dto.ts
|
|
33294
33301
|
import { Expose as Expose578 } from "class-transformer";
|
|
33295
|
-
import { IsOptional as
|
|
33302
|
+
import { IsOptional as IsOptional53, IsString as IsString449, IsNumber as IsNumber382 } from "class-validator";
|
|
33296
33303
|
var EstadoSerieDto = class {
|
|
33297
33304
|
ID_Estado = 0;
|
|
33298
33305
|
Nombre = "";
|
|
33299
33306
|
};
|
|
33300
33307
|
__decorateClass([
|
|
33301
|
-
|
|
33308
|
+
IsOptional53(),
|
|
33302
33309
|
IsNumber382({}, { message: "debe ser un n\xFAmero" }),
|
|
33303
33310
|
Expose578()
|
|
33304
33311
|
], EstadoSerieDto.prototype, "ID_Estado", 2);
|
|
33305
33312
|
__decorateClass([
|
|
33306
|
-
|
|
33313
|
+
IsOptional53(),
|
|
33307
33314
|
IsString449({ message: "debe ser texto" }),
|
|
33308
33315
|
Expose578()
|
|
33309
33316
|
], EstadoSerieDto.prototype, "Nombre", 2);
|
|
33310
33317
|
|
|
33311
33318
|
// src/logistica/procesos/navisionpreorden/shared/dto/validado-serie-dto.ts
|
|
33312
33319
|
import { Expose as Expose580, Type as Type391 } from "class-transformer";
|
|
33313
|
-
import { IsOptional as
|
|
33320
|
+
import { IsOptional as IsOptional55, ValidateNested as ValidateNested350, IsDate as IsDate131 } from "class-validator";
|
|
33314
33321
|
|
|
33315
33322
|
// src/logistica/procesos/navisionpreorden/shared/dto/validado-usuario-serie-dto.ts
|
|
33316
33323
|
import { Expose as Expose579 } from "class-transformer";
|
|
33317
|
-
import { IsOptional as
|
|
33324
|
+
import { IsOptional as IsOptional54, IsString as IsString450, IsNumber as IsNumber383 } from "class-validator";
|
|
33318
33325
|
var ValidadoUsuarioSerieDto = class {
|
|
33319
33326
|
ID_Usuario = 0;
|
|
33320
33327
|
NumeroDocumentoIdentidad = "";
|
|
@@ -33323,27 +33330,27 @@ var ValidadoUsuarioSerieDto = class {
|
|
|
33323
33330
|
Nombres = "";
|
|
33324
33331
|
};
|
|
33325
33332
|
__decorateClass([
|
|
33326
|
-
|
|
33333
|
+
IsOptional54(),
|
|
33327
33334
|
IsNumber383({}, { message: "debe ser un n\xFAmero" }),
|
|
33328
33335
|
Expose579()
|
|
33329
33336
|
], ValidadoUsuarioSerieDto.prototype, "ID_Usuario", 2);
|
|
33330
33337
|
__decorateClass([
|
|
33331
|
-
|
|
33338
|
+
IsOptional54(),
|
|
33332
33339
|
IsString450({ message: "debe ser texto" }),
|
|
33333
33340
|
Expose579()
|
|
33334
33341
|
], ValidadoUsuarioSerieDto.prototype, "NumeroDocumentoIdentidad", 2);
|
|
33335
33342
|
__decorateClass([
|
|
33336
|
-
|
|
33343
|
+
IsOptional54(),
|
|
33337
33344
|
IsString450({ message: "debe ser texto" }),
|
|
33338
33345
|
Expose579()
|
|
33339
33346
|
], ValidadoUsuarioSerieDto.prototype, "ApellidoPaterno", 2);
|
|
33340
33347
|
__decorateClass([
|
|
33341
|
-
|
|
33348
|
+
IsOptional54(),
|
|
33342
33349
|
IsString450({ message: "debe ser texto" }),
|
|
33343
33350
|
Expose579()
|
|
33344
33351
|
], ValidadoUsuarioSerieDto.prototype, "ApellidoMaterno", 2);
|
|
33345
33352
|
__decorateClass([
|
|
33346
|
-
|
|
33353
|
+
IsOptional54(),
|
|
33347
33354
|
IsString450({ message: "debe ser texto" }),
|
|
33348
33355
|
Expose579()
|
|
33349
33356
|
], ValidadoUsuarioSerieDto.prototype, "Nombres", 2);
|
|
@@ -33354,13 +33361,13 @@ var ValidadoSerieDto = class {
|
|
|
33354
33361
|
Usuario = new ValidadoUsuarioSerieDto();
|
|
33355
33362
|
};
|
|
33356
33363
|
__decorateClass([
|
|
33357
|
-
|
|
33364
|
+
IsOptional55(),
|
|
33358
33365
|
IsDate131({ message: "debe ser una fecha" }),
|
|
33359
33366
|
Type391(() => Date),
|
|
33360
33367
|
Expose580()
|
|
33361
33368
|
], ValidadoSerieDto.prototype, "Fecha", 2);
|
|
33362
33369
|
__decorateClass([
|
|
33363
|
-
|
|
33370
|
+
IsOptional55(),
|
|
33364
33371
|
ValidateNested350(),
|
|
33365
33372
|
Type391(() => ValidadoUsuarioSerieDto),
|
|
33366
33373
|
Expose580()
|
|
@@ -33381,7 +33388,7 @@ var EquipoSerieDto = class {
|
|
|
33381
33388
|
Estado;
|
|
33382
33389
|
};
|
|
33383
33390
|
__decorateClass([
|
|
33384
|
-
|
|
33391
|
+
IsOptional56(),
|
|
33385
33392
|
IsNumber384({}, { message: "debe ser un n\xFAmero" }),
|
|
33386
33393
|
Expose581()
|
|
33387
33394
|
], EquipoSerieDto.prototype, "Posicion", 2);
|
|
@@ -33391,17 +33398,17 @@ __decorateClass([
|
|
|
33391
33398
|
Expose581()
|
|
33392
33399
|
], EquipoSerieDto.prototype, "Collection", 2);
|
|
33393
33400
|
__decorateClass([
|
|
33394
|
-
|
|
33401
|
+
IsOptional56(),
|
|
33395
33402
|
IsString452({ message: "debe ser texto" }),
|
|
33396
33403
|
Expose581()
|
|
33397
33404
|
], EquipoSerieDto.prototype, "NroDocumento", 2);
|
|
33398
33405
|
__decorateClass([
|
|
33399
|
-
|
|
33406
|
+
IsOptional56(),
|
|
33400
33407
|
IsString452({ message: "debe ser texto" }),
|
|
33401
33408
|
Expose581()
|
|
33402
33409
|
], EquipoSerieDto.prototype, "Orden", 2);
|
|
33403
33410
|
__decorateClass([
|
|
33404
|
-
|
|
33411
|
+
IsOptional56(),
|
|
33405
33412
|
IsString452({ message: "debe ser texto" }),
|
|
33406
33413
|
Expose581()
|
|
33407
33414
|
], EquipoSerieDto.prototype, "NroContable", 2);
|
|
@@ -33411,28 +33418,28 @@ __decorateClass([
|
|
|
33411
33418
|
Expose581()
|
|
33412
33419
|
], EquipoSerieDto.prototype, "Serie", 2);
|
|
33413
33420
|
__decorateClass([
|
|
33414
|
-
|
|
33421
|
+
IsOptional56(),
|
|
33415
33422
|
IsString452({ message: "debe ser texto" }),
|
|
33416
33423
|
Expose581()
|
|
33417
33424
|
], EquipoSerieDto.prototype, "MAC", 2);
|
|
33418
33425
|
__decorateClass([
|
|
33419
|
-
|
|
33426
|
+
IsOptional56(),
|
|
33420
33427
|
IsString452({ message: "debe ser texto" }),
|
|
33421
33428
|
Expose581()
|
|
33422
33429
|
], EquipoSerieDto.prototype, "Marca", 2);
|
|
33423
33430
|
__decorateClass([
|
|
33424
|
-
|
|
33431
|
+
IsOptional56(),
|
|
33425
33432
|
IsString452({ message: "debe ser texto" }),
|
|
33426
33433
|
Expose581()
|
|
33427
33434
|
], EquipoSerieDto.prototype, "Modelo", 2);
|
|
33428
33435
|
__decorateClass([
|
|
33429
|
-
|
|
33436
|
+
IsOptional56(),
|
|
33430
33437
|
ValidateNested351(),
|
|
33431
33438
|
Type392(() => ValidadoSerieDto),
|
|
33432
33439
|
Expose581()
|
|
33433
33440
|
], EquipoSerieDto.prototype, "Validado", 2);
|
|
33434
33441
|
__decorateClass([
|
|
33435
|
-
|
|
33442
|
+
IsOptional56(),
|
|
33436
33443
|
ValidateNested351(),
|
|
33437
33444
|
Type392(() => EstadoSerieDto),
|
|
33438
33445
|
Expose581()
|
|
@@ -33465,7 +33472,7 @@ __decorateClass([
|
|
|
33465
33472
|
], FechaEntregaDto.prototype, "Date", 2);
|
|
33466
33473
|
|
|
33467
33474
|
// src/logistica/procesos/navisionpreorden/shared/dto/producto-dto.ts
|
|
33468
|
-
import { IsArray as IsArray205, IsBoolean as IsBoolean56, IsNumber as IsNumber387, IsOptional as
|
|
33475
|
+
import { IsArray as IsArray205, IsBoolean as IsBoolean56, IsNumber as IsNumber387, IsOptional as IsOptional57, IsString as IsString460, ValidateNested as ValidateNested352 } from "class-validator";
|
|
33469
33476
|
|
|
33470
33477
|
// src/logistica/procesos/navisionpreorden/shared/dto/recepcion-dto.ts
|
|
33471
33478
|
import { Expose as Expose583 } from "class-transformer";
|
|
@@ -33673,12 +33680,12 @@ __decorateClass([
|
|
|
33673
33680
|
Expose589()
|
|
33674
33681
|
], ProductoDto.prototype, "IGV", 2);
|
|
33675
33682
|
__decorateClass([
|
|
33676
|
-
|
|
33683
|
+
IsOptional57(),
|
|
33677
33684
|
IsBoolean56({ message: "debe ser true o false" }),
|
|
33678
33685
|
Expose589()
|
|
33679
33686
|
], ProductoDto.prototype, "esFraccion", 2);
|
|
33680
33687
|
__decorateClass([
|
|
33681
|
-
|
|
33688
|
+
IsOptional57(),
|
|
33682
33689
|
IsNumber387({}, { message: "debe ser un n\xFAmero" }),
|
|
33683
33690
|
Expose589()
|
|
33684
33691
|
], ProductoDto.prototype, "CantidadComparativo", 2);
|
|
@@ -33703,19 +33710,19 @@ __decorateClass([
|
|
|
33703
33710
|
Expose589()
|
|
33704
33711
|
], ProductoDto.prototype, "CantidadDisponible", 2);
|
|
33705
33712
|
__decorateClass([
|
|
33706
|
-
|
|
33713
|
+
IsOptional57(),
|
|
33707
33714
|
IsArray205({ message: "debe ser un array" }),
|
|
33708
33715
|
Type394(() => RecepcionDto),
|
|
33709
33716
|
ValidateNested352({ each: true }),
|
|
33710
33717
|
Expose589()
|
|
33711
33718
|
], ProductoDto.prototype, "Recepcion", 2);
|
|
33712
33719
|
__decorateClass([
|
|
33713
|
-
|
|
33720
|
+
IsOptional57(),
|
|
33714
33721
|
IsString460({ message: "debe ser texto" }),
|
|
33715
33722
|
Expose589()
|
|
33716
33723
|
], ProductoDto.prototype, "Ind_SB", 2);
|
|
33717
33724
|
__decorateClass([
|
|
33718
|
-
|
|
33725
|
+
IsOptional57(),
|
|
33719
33726
|
IsArray205({ message: "debe ser un array" }),
|
|
33720
33727
|
Type394(() => EquipoSerieDto),
|
|
33721
33728
|
ValidateNested352({ each: true }),
|
|
@@ -33864,7 +33871,7 @@ var DetalleProductoDto = class {
|
|
|
33864
33871
|
Producto = new ProductoDto();
|
|
33865
33872
|
};
|
|
33866
33873
|
__decorateClass([
|
|
33867
|
-
|
|
33874
|
+
IsOptional58(),
|
|
33868
33875
|
Type397(() => RequerimientoDto),
|
|
33869
33876
|
ValidateNested355(),
|
|
33870
33877
|
Expose594()
|
|
@@ -33971,7 +33978,7 @@ __decorateClass([
|
|
|
33971
33978
|
], IconoDto.prototype, "Status", 2);
|
|
33972
33979
|
|
|
33973
33980
|
// src/logistica/procesos/navisionpreorden/shared/dto/statu-dto.ts
|
|
33974
|
-
import { IsBoolean as IsBoolean58, ValidateNested as ValidateNested358, IsOptional as
|
|
33981
|
+
import { IsBoolean as IsBoolean58, ValidateNested as ValidateNested358, IsOptional as IsOptional60, IsNumber as IsNumber392, IsString as IsString472 } from "class-validator";
|
|
33975
33982
|
|
|
33976
33983
|
// src/logistica/procesos/navisionpreorden/shared/dto/nav-dto.ts
|
|
33977
33984
|
import { Expose as Expose599 } from "class-transformer";
|
|
@@ -34013,7 +34020,7 @@ __decorateClass([
|
|
|
34013
34020
|
|
|
34014
34021
|
// src/logistica/procesos/navisionpreorden/shared/dto/solicitud-dto.ts
|
|
34015
34022
|
import { Expose as Expose601 } from "class-transformer";
|
|
34016
|
-
import { IsNumber as IsNumber391, IsOptional as
|
|
34023
|
+
import { IsNumber as IsNumber391, IsOptional as IsOptional59, IsString as IsString471, Min as Min298 } from "class-validator";
|
|
34017
34024
|
var SolicitudDto = class {
|
|
34018
34025
|
IdStatus = 0;
|
|
34019
34026
|
Status = "";
|
|
@@ -34024,7 +34031,7 @@ __decorateClass([
|
|
|
34024
34031
|
Expose601()
|
|
34025
34032
|
], SolicitudDto.prototype, "IdStatus", 2);
|
|
34026
34033
|
__decorateClass([
|
|
34027
|
-
|
|
34034
|
+
IsOptional59(),
|
|
34028
34035
|
IsString471({ message: "debe ser texto" }),
|
|
34029
34036
|
Expose601()
|
|
34030
34037
|
], SolicitudDto.prototype, "Status", 2);
|
|
@@ -34044,56 +34051,56 @@ var StatuDto = class {
|
|
|
34044
34051
|
Status = "";
|
|
34045
34052
|
};
|
|
34046
34053
|
__decorateClass([
|
|
34047
|
-
|
|
34054
|
+
IsOptional60(),
|
|
34048
34055
|
Type400(() => NavDto),
|
|
34049
34056
|
ValidateNested358(),
|
|
34050
34057
|
Expose602()
|
|
34051
34058
|
], StatuDto.prototype, "Nav", 2);
|
|
34052
34059
|
__decorateClass([
|
|
34053
|
-
|
|
34060
|
+
IsOptional60(),
|
|
34054
34061
|
Type400(() => SolicitudDto),
|
|
34055
34062
|
ValidateNested358(),
|
|
34056
34063
|
Expose602()
|
|
34057
34064
|
], StatuDto.prototype, "Solicitud", 2);
|
|
34058
34065
|
__decorateClass([
|
|
34059
|
-
|
|
34066
|
+
IsOptional60(),
|
|
34060
34067
|
Type400(() => IconoDto),
|
|
34061
34068
|
ValidateNested358(),
|
|
34062
34069
|
Expose602()
|
|
34063
34070
|
], StatuDto.prototype, "Icono", 2);
|
|
34064
34071
|
__decorateClass([
|
|
34065
|
-
|
|
34072
|
+
IsOptional60(),
|
|
34066
34073
|
IsBoolean58({ message: "debe ser true o false" }),
|
|
34067
34074
|
Expose602()
|
|
34068
34075
|
], StatuDto.prototype, "Digitalizado", 2);
|
|
34069
34076
|
__decorateClass([
|
|
34070
|
-
|
|
34077
|
+
IsOptional60(),
|
|
34071
34078
|
IsBoolean58({ message: "debe ser true o false" }),
|
|
34072
34079
|
Expose602()
|
|
34073
34080
|
], StatuDto.prototype, "AsociarOrdenCompra", 2);
|
|
34074
34081
|
__decorateClass([
|
|
34075
|
-
|
|
34082
|
+
IsOptional60(),
|
|
34076
34083
|
IsBoolean58({ message: "debe ser true o false" }),
|
|
34077
34084
|
Expose602()
|
|
34078
34085
|
], StatuDto.prototype, "FactorCambio", 2);
|
|
34079
34086
|
__decorateClass([
|
|
34080
|
-
|
|
34087
|
+
IsOptional60(),
|
|
34081
34088
|
IsBoolean58({ message: "debe ser true o false" }),
|
|
34082
34089
|
Expose602()
|
|
34083
34090
|
], StatuDto.prototype, "PreOrden", 2);
|
|
34084
34091
|
__decorateClass([
|
|
34085
|
-
|
|
34092
|
+
IsOptional60(),
|
|
34086
34093
|
Type400(() => ProcedenciaDto),
|
|
34087
34094
|
ValidateNested358(),
|
|
34088
34095
|
Expose602()
|
|
34089
34096
|
], StatuDto.prototype, "Procedencia", 2);
|
|
34090
34097
|
__decorateClass([
|
|
34091
|
-
|
|
34098
|
+
IsOptional60(),
|
|
34092
34099
|
IsNumber392({}, { message: "debe ser un n\xFAmero" }),
|
|
34093
34100
|
Expose602()
|
|
34094
34101
|
], StatuDto.prototype, "IdStatus", 2);
|
|
34095
34102
|
__decorateClass([
|
|
34096
|
-
|
|
34103
|
+
IsOptional60(),
|
|
34097
34104
|
IsString472({ message: "debe ser texto" }),
|
|
34098
34105
|
Expose602()
|
|
34099
34106
|
], StatuDto.prototype, "Status", 2);
|
|
@@ -34269,7 +34276,7 @@ __decorateClass([
|
|
|
34269
34276
|
|
|
34270
34277
|
// src/logistica/procesos/navisionpreorden/shared/dto/file-dto.ts
|
|
34271
34278
|
import { Expose as Expose607, Type as Type405 } from "class-transformer";
|
|
34272
|
-
import { IsArray as IsArray210, IsOptional as
|
|
34279
|
+
import { IsArray as IsArray210, IsOptional as IsOptional61, ValidateNested as ValidateNested363 } from "class-validator";
|
|
34273
34280
|
|
|
34274
34281
|
// src/logistica/procesos/navisionpreorden/shared/dto/pedido-compra-dto.ts
|
|
34275
34282
|
import { Expose as Expose606 } from "class-transformer";
|
|
@@ -34338,42 +34345,42 @@ var FileDto = class {
|
|
|
34338
34345
|
AnexosAlbaran = [];
|
|
34339
34346
|
};
|
|
34340
34347
|
__decorateClass([
|
|
34341
|
-
|
|
34348
|
+
IsOptional61(),
|
|
34342
34349
|
IsArray210({ message: "debe ser un array" }),
|
|
34343
34350
|
Type405(() => AnexoPreOrdenDto),
|
|
34344
34351
|
ValidateNested363({ each: true }),
|
|
34345
34352
|
Expose607()
|
|
34346
34353
|
], FileDto.prototype, "AnexoPreOrden", 2);
|
|
34347
34354
|
__decorateClass([
|
|
34348
|
-
|
|
34355
|
+
IsOptional61(),
|
|
34349
34356
|
IsArray210({ message: "debe ser un array" }),
|
|
34350
34357
|
Type405(() => ComparativoDto),
|
|
34351
34358
|
ValidateNested363({ each: true }),
|
|
34352
34359
|
Expose607()
|
|
34353
34360
|
], FileDto.prototype, "Comparativo", 2);
|
|
34354
34361
|
__decorateClass([
|
|
34355
|
-
|
|
34362
|
+
IsOptional61(),
|
|
34356
34363
|
IsArray210({ message: "debe ser un array" }),
|
|
34357
34364
|
Type405(() => CotizacionDto),
|
|
34358
34365
|
ValidateNested363({ each: true }),
|
|
34359
34366
|
Expose607()
|
|
34360
34367
|
], FileDto.prototype, "Cotizacion", 2);
|
|
34361
34368
|
__decorateClass([
|
|
34362
|
-
|
|
34369
|
+
IsOptional61(),
|
|
34363
34370
|
IsArray210({ message: "debe ser un array" }),
|
|
34364
34371
|
Type405(() => PedidoCompraDto),
|
|
34365
34372
|
ValidateNested363({ each: true }),
|
|
34366
34373
|
Expose607()
|
|
34367
34374
|
], FileDto.prototype, "PedidoCompra", 2);
|
|
34368
34375
|
__decorateClass([
|
|
34369
|
-
|
|
34376
|
+
IsOptional61(),
|
|
34370
34377
|
IsArray210({ message: "debe ser un array" }),
|
|
34371
34378
|
Type405(() => AlbaranDto),
|
|
34372
34379
|
ValidateNested363({ each: true }),
|
|
34373
34380
|
Expose607()
|
|
34374
34381
|
], FileDto.prototype, "Albaran", 2);
|
|
34375
34382
|
__decorateClass([
|
|
34376
|
-
|
|
34383
|
+
IsOptional61(),
|
|
34377
34384
|
IsArray210({ message: "debe ser un array" }),
|
|
34378
34385
|
Type405(() => AlbaranDto),
|
|
34379
34386
|
ValidateNested363({ each: true }),
|
|
@@ -34415,7 +34422,7 @@ __decorateClass([
|
|
|
34415
34422
|
], FlujoDto.prototype, "Aprobacion", 2);
|
|
34416
34423
|
|
|
34417
34424
|
// src/logistica/procesos/navisionpreorden/shared/navisionpreorden-entity.ts
|
|
34418
|
-
import { IsArray as IsArray214, IsBoolean as IsBoolean60, IsDate as IsDate133, IsNotEmpty as IsNotEmpty399, IsNumber as IsNumber397, IsOptional as
|
|
34425
|
+
import { IsArray as IsArray214, IsBoolean as IsBoolean60, IsDate as IsDate133, IsNotEmpty as IsNotEmpty399, IsNumber as IsNumber397, IsOptional as IsOptional62, IsString as IsString483, Min as Min302, ValidateNested as ValidateNested367 } from "class-validator";
|
|
34419
34426
|
|
|
34420
34427
|
// src/logistica/procesos/navisionpreorden/shared/dto/contabilizado-dto.ts
|
|
34421
34428
|
import { Expose as Expose609 } from "class-transformer";
|
|
@@ -34837,10 +34844,10 @@ __decorateClass([
|
|
|
34837
34844
|
Type409(() => AprobacionDto),
|
|
34838
34845
|
ValidateNested367(),
|
|
34839
34846
|
Expose614(),
|
|
34840
|
-
|
|
34847
|
+
IsOptional62()
|
|
34841
34848
|
], NavisionpreordenEntity.prototype, "Aprobacion", 2);
|
|
34842
34849
|
__decorateClass([
|
|
34843
|
-
|
|
34850
|
+
IsOptional62(),
|
|
34844
34851
|
IsString483({ message: "debe ser texto" }),
|
|
34845
34852
|
Expose614()
|
|
34846
34853
|
], NavisionpreordenEntity.prototype, "PDFTipoPedido", 2);
|
|
@@ -34849,12 +34856,12 @@ __decorateClass([
|
|
|
34849
34856
|
Expose614()
|
|
34850
34857
|
], NavisionpreordenEntity.prototype, "isSinRq", 2);
|
|
34851
34858
|
__decorateClass([
|
|
34852
|
-
|
|
34859
|
+
IsOptional62(),
|
|
34853
34860
|
IsString483({ message: "debe ser texto" }),
|
|
34854
34861
|
Expose614()
|
|
34855
34862
|
], NavisionpreordenEntity.prototype, "PDF", 2);
|
|
34856
34863
|
__decorateClass([
|
|
34857
|
-
|
|
34864
|
+
IsOptional62(),
|
|
34858
34865
|
IsString483({ message: "debe ser texto" }),
|
|
34859
34866
|
Expose614()
|
|
34860
34867
|
], NavisionpreordenEntity.prototype, "PDFComparativo", 2);
|
|
@@ -34883,17 +34890,17 @@ __decorateClass([
|
|
|
34883
34890
|
Expose614()
|
|
34884
34891
|
], NavisionpreordenEntity.prototype, "Bitacora", 2);
|
|
34885
34892
|
__decorateClass([
|
|
34886
|
-
|
|
34893
|
+
IsOptional62(),
|
|
34887
34894
|
Type409(() => TipoCompraDto),
|
|
34888
34895
|
ValidateNested367(),
|
|
34889
34896
|
Expose614()
|
|
34890
34897
|
], NavisionpreordenEntity.prototype, "TipoCompra", 2);
|
|
34891
34898
|
__decorateClass([
|
|
34892
|
-
|
|
34899
|
+
IsOptional62(),
|
|
34893
34900
|
Expose614()
|
|
34894
34901
|
], NavisionpreordenEntity.prototype, "Compliance", 2);
|
|
34895
34902
|
__decorateClass([
|
|
34896
|
-
|
|
34903
|
+
IsOptional62(),
|
|
34897
34904
|
IsBoolean60({ message: "debe ser true o false" }),
|
|
34898
34905
|
Expose614()
|
|
34899
34906
|
], NavisionpreordenEntity.prototype, "isCompliance", 2);
|
|
@@ -34903,84 +34910,84 @@ __decorateClass([
|
|
|
34903
34910
|
Expose614()
|
|
34904
34911
|
], NavisionpreordenEntity.prototype, "Files", 2);
|
|
34905
34912
|
__decorateClass([
|
|
34906
|
-
|
|
34913
|
+
IsOptional62(),
|
|
34907
34914
|
Type409(() => FlujoDto),
|
|
34908
34915
|
ValidateNested367(),
|
|
34909
34916
|
Expose614()
|
|
34910
34917
|
], NavisionpreordenEntity.prototype, "Flujo", 2);
|
|
34911
34918
|
__decorateClass([
|
|
34912
|
-
|
|
34919
|
+
IsOptional62(),
|
|
34913
34920
|
Type409(() => DatosNavDto),
|
|
34914
34921
|
ValidateNested367(),
|
|
34915
34922
|
Expose614()
|
|
34916
34923
|
], NavisionpreordenEntity.prototype, "DatosNav", 2);
|
|
34917
34924
|
__decorateClass([
|
|
34918
|
-
|
|
34925
|
+
IsOptional62(),
|
|
34919
34926
|
IsArray214({ message: "debe ser un array" }),
|
|
34920
34927
|
Expose614()
|
|
34921
34928
|
], NavisionpreordenEntity.prototype, "FacturaAsociada", 2);
|
|
34922
34929
|
__decorateClass([
|
|
34923
|
-
|
|
34930
|
+
IsOptional62(),
|
|
34924
34931
|
Expose614()
|
|
34925
34932
|
], NavisionpreordenEntity.prototype, "NavisionPreOrdenMock", 2);
|
|
34926
34933
|
__decorateClass([
|
|
34927
|
-
|
|
34934
|
+
IsOptional62(),
|
|
34928
34935
|
IsNumber397({}, { message: "debe ser un n\xFAmero" }),
|
|
34929
34936
|
Expose614()
|
|
34930
34937
|
], NavisionpreordenEntity.prototype, "Importe", 2);
|
|
34931
34938
|
__decorateClass([
|
|
34932
|
-
|
|
34939
|
+
IsOptional62(),
|
|
34933
34940
|
IsNumber397({}, { message: "debe ser un n\xFAmero" }),
|
|
34934
34941
|
Expose614()
|
|
34935
34942
|
], NavisionpreordenEntity.prototype, "ImporteIGV", 2);
|
|
34936
34943
|
__decorateClass([
|
|
34937
|
-
|
|
34944
|
+
IsOptional62(),
|
|
34938
34945
|
IsNumber397({}, { message: "debe ser un n\xFAmero" }),
|
|
34939
34946
|
Expose614()
|
|
34940
34947
|
], NavisionpreordenEntity.prototype, "Total", 2);
|
|
34941
34948
|
__decorateClass([
|
|
34942
|
-
|
|
34949
|
+
IsOptional62(),
|
|
34943
34950
|
Transform85(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
34944
34951
|
IsDate133({ message: "debe ser una fecha" }),
|
|
34945
34952
|
Type409(() => Date),
|
|
34946
34953
|
Expose614()
|
|
34947
34954
|
], NavisionpreordenEntity.prototype, "DateRegistry", 2);
|
|
34948
34955
|
__decorateClass([
|
|
34949
|
-
|
|
34956
|
+
IsOptional62(),
|
|
34950
34957
|
IsString483({ message: "debe ser texto" }),
|
|
34951
34958
|
Expose614()
|
|
34952
34959
|
], NavisionpreordenEntity.prototype, "UserRegistry", 2);
|
|
34953
34960
|
__decorateClass([
|
|
34954
|
-
|
|
34961
|
+
IsOptional62(),
|
|
34955
34962
|
Transform85(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
34956
34963
|
IsDate133({ message: "debe ser una fecha" }),
|
|
34957
34964
|
Type409(() => Date),
|
|
34958
34965
|
Expose614()
|
|
34959
34966
|
], NavisionpreordenEntity.prototype, "DateAccepted", 2);
|
|
34960
34967
|
__decorateClass([
|
|
34961
|
-
|
|
34968
|
+
IsOptional62(),
|
|
34962
34969
|
IsString483({ message: "debe ser texto" }),
|
|
34963
34970
|
Expose614()
|
|
34964
34971
|
], NavisionpreordenEntity.prototype, "UserAccepted", 2);
|
|
34965
34972
|
__decorateClass([
|
|
34966
|
-
|
|
34973
|
+
IsOptional62(),
|
|
34967
34974
|
Expose614()
|
|
34968
34975
|
], NavisionpreordenEntity.prototype, "DatosContrato", 2);
|
|
34969
34976
|
__decorateClass([
|
|
34970
|
-
|
|
34977
|
+
IsOptional62(),
|
|
34971
34978
|
Type409(() => EnviarNavDto),
|
|
34972
34979
|
ValidateNested367(),
|
|
34973
34980
|
Expose614()
|
|
34974
34981
|
], NavisionpreordenEntity.prototype, "enviarNav", 2);
|
|
34975
34982
|
__decorateClass([
|
|
34976
|
-
|
|
34983
|
+
IsOptional62(),
|
|
34977
34984
|
IsArray214({ message: "debe ser un array" }),
|
|
34978
34985
|
Type409(() => MovimientosRecepcionDto),
|
|
34979
34986
|
ValidateNested367({ each: true }),
|
|
34980
34987
|
Expose614()
|
|
34981
34988
|
], NavisionpreordenEntity.prototype, "MovimientosRecepcion", 2);
|
|
34982
34989
|
__decorateClass([
|
|
34983
|
-
|
|
34990
|
+
IsOptional62(),
|
|
34984
34991
|
IsBoolean60({ message: "debe ser true o false" }),
|
|
34985
34992
|
Expose614()
|
|
34986
34993
|
], NavisionpreordenEntity.prototype, "isModelSIGO", 2);
|
|
@@ -35342,7 +35349,7 @@ import {
|
|
|
35342
35349
|
IsDefined as IsDefined199,
|
|
35343
35350
|
IsNotEmpty as IsNotEmpty405,
|
|
35344
35351
|
IsNumber as IsNumber400,
|
|
35345
|
-
IsOptional as
|
|
35352
|
+
IsOptional as IsOptional63,
|
|
35346
35353
|
IsString as IsString490,
|
|
35347
35354
|
Length as Length276,
|
|
35348
35355
|
Min as Min304,
|
|
@@ -35421,7 +35428,7 @@ __decorateClass([
|
|
|
35421
35428
|
IsString490({ message: "debe ser un texto" }),
|
|
35422
35429
|
Length276(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
|
|
35423
35430
|
Expose622(),
|
|
35424
|
-
|
|
35431
|
+
IsOptional63()
|
|
35425
35432
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
35426
35433
|
__decorateClass([
|
|
35427
35434
|
IsString490({ message: "debe ser un texto" }),
|
|
@@ -35904,7 +35911,7 @@ __decorateClass([
|
|
|
35904
35911
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
35905
35912
|
|
|
35906
35913
|
// src/configuracion/empresa/shared/index.ts
|
|
35907
|
-
import { IsArray as IsArray222, IsBoolean as IsBoolean64, IsNotEmpty as IsNotEmpty414, IsNumber as IsNumber409, IsOptional as
|
|
35914
|
+
import { IsArray as IsArray222, IsBoolean as IsBoolean64, IsNotEmpty as IsNotEmpty414, IsNumber as IsNumber409, IsOptional as IsOptional64, IsString as IsString501, Length as Length286, Min as Min313, ValidateNested as ValidateNested378 } from "class-validator";
|
|
35908
35915
|
var EmpresaENTITY = class {
|
|
35909
35916
|
ID_Empresa = 0;
|
|
35910
35917
|
Pais = new CodigoNombreDTO();
|
|
@@ -36017,7 +36024,7 @@ __decorateClass([
|
|
|
36017
36024
|
Type421(() => DatosGIADTO),
|
|
36018
36025
|
IsNotEmpty414({ message: "es requerido" }),
|
|
36019
36026
|
Expose633(),
|
|
36020
|
-
|
|
36027
|
+
IsOptional64(),
|
|
36021
36028
|
ValidateNested378()
|
|
36022
36029
|
], EmpresaENTITY.prototype, "DatosGIA", 2);
|
|
36023
36030
|
__decorateClass([
|
|
@@ -37349,11 +37356,11 @@ __decorateClass([
|
|
|
37349
37356
|
|
|
37350
37357
|
// src/configuracion/theme-config-user/shared/theme-config-user-entity.ts
|
|
37351
37358
|
import { Expose as Expose659, Type as Type440 } from "class-transformer";
|
|
37352
|
-
import { IsNumber as IsNumber425, IsString as IsString526, IsOptional as
|
|
37359
|
+
import { IsNumber as IsNumber425, IsString as IsString526, IsOptional as IsOptional66, ValidateNested as ValidateNested392, IsArray as IsArray227 } from "class-validator";
|
|
37353
37360
|
|
|
37354
37361
|
// src/configuracion/theme-config-user/shared/dto/favorito-dto.ts
|
|
37355
37362
|
import { Expose as Expose658 } from "class-transformer";
|
|
37356
|
-
import { IsString as IsString525, IsNumber as IsNumber424, IsOptional as
|
|
37363
|
+
import { IsString as IsString525, IsNumber as IsNumber424, IsOptional as IsOptional65 } from "class-validator";
|
|
37357
37364
|
var FavoritoDTO = class {
|
|
37358
37365
|
id = "";
|
|
37359
37366
|
titulo = "";
|
|
@@ -37374,7 +37381,7 @@ __decorateClass([
|
|
|
37374
37381
|
Expose658()
|
|
37375
37382
|
], FavoritoDTO.prototype, "ruta", 2);
|
|
37376
37383
|
__decorateClass([
|
|
37377
|
-
|
|
37384
|
+
IsOptional65(),
|
|
37378
37385
|
IsString525(),
|
|
37379
37386
|
Expose658()
|
|
37380
37387
|
], FavoritoDTO.prototype, "icono", 2);
|
|
@@ -37405,7 +37412,7 @@ __decorateClass([
|
|
|
37405
37412
|
Expose659()
|
|
37406
37413
|
], ThemeConfigUserENTITY.prototype, "Color", 2);
|
|
37407
37414
|
__decorateClass([
|
|
37408
|
-
|
|
37415
|
+
IsOptional66(),
|
|
37409
37416
|
IsString526(),
|
|
37410
37417
|
Expose659()
|
|
37411
37418
|
], ThemeConfigUserENTITY.prototype, "Language", 2);
|
|
@@ -37415,7 +37422,7 @@ __decorateClass([
|
|
|
37415
37422
|
Expose659()
|
|
37416
37423
|
], ThemeConfigUserENTITY.prototype, "Estado", 2);
|
|
37417
37424
|
__decorateClass([
|
|
37418
|
-
|
|
37425
|
+
IsOptional66(),
|
|
37419
37426
|
IsArray227(),
|
|
37420
37427
|
ValidateNested392({ each: true }),
|
|
37421
37428
|
Type440(() => FavoritoDTO),
|
|
@@ -37752,7 +37759,7 @@ import {
|
|
|
37752
37759
|
ValidateNested as ValidateNested396,
|
|
37753
37760
|
IsDate as IsDate145,
|
|
37754
37761
|
Length as Length312,
|
|
37755
|
-
IsOptional as
|
|
37762
|
+
IsOptional as IsOptional68,
|
|
37756
37763
|
IsArray as IsArray228
|
|
37757
37764
|
} from "class-validator";
|
|
37758
37765
|
|
|
@@ -37824,7 +37831,7 @@ __decorateClass([
|
|
|
37824
37831
|
|
|
37825
37832
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
37826
37833
|
import { Expose as Expose672, Transform as Transform91 } from "class-transformer";
|
|
37827
|
-
import { IsEnum as IsEnum17, IsNotEmpty as IsNotEmpty435, IsNumber as IsNumber433, IsOptional as
|
|
37834
|
+
import { IsEnum as IsEnum17, IsNotEmpty as IsNotEmpty435, IsNumber as IsNumber433, IsOptional as IsOptional67, IsString as IsString539, Length as Length309, Min as Min327 } from "class-validator";
|
|
37828
37835
|
var InventarioValDTO = class {
|
|
37829
37836
|
Descripcion = "";
|
|
37830
37837
|
LoteSAP = "";
|
|
@@ -37838,13 +37845,13 @@ var InventarioValDTO = class {
|
|
|
37838
37845
|
};
|
|
37839
37846
|
__decorateClass([
|
|
37840
37847
|
IsString539({ message: "debe ser un texto" }),
|
|
37841
|
-
|
|
37848
|
+
IsOptional67(),
|
|
37842
37849
|
Length309(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
37843
37850
|
Expose672()
|
|
37844
37851
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
37845
37852
|
__decorateClass([
|
|
37846
37853
|
IsString539({ message: "debe ser un texto" }),
|
|
37847
|
-
|
|
37854
|
+
IsOptional67(),
|
|
37848
37855
|
Length309(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
37849
37856
|
Expose672()
|
|
37850
37857
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
@@ -37856,7 +37863,7 @@ __decorateClass([
|
|
|
37856
37863
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
37857
37864
|
__decorateClass([
|
|
37858
37865
|
IsString539({ message: "debe ser un texto" }),
|
|
37859
|
-
|
|
37866
|
+
IsOptional67(),
|
|
37860
37867
|
Length309(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
37861
37868
|
Expose672()
|
|
37862
37869
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
@@ -37865,7 +37872,7 @@ __decorateClass([
|
|
|
37865
37872
|
Transform91(({ value }) => value ? String(value) : value),
|
|
37866
37873
|
Length309(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
37867
37874
|
Expose672(),
|
|
37868
|
-
|
|
37875
|
+
IsOptional67()
|
|
37869
37876
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
37870
37877
|
__decorateClass([
|
|
37871
37878
|
IsNumber433({}, { message: "debe ser un numero" }),
|
|
@@ -37884,7 +37891,7 @@ __decorateClass([
|
|
|
37884
37891
|
__decorateClass([
|
|
37885
37892
|
IsString539({ message: "debe ser un texto" }),
|
|
37886
37893
|
Length309(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
37887
|
-
|
|
37894
|
+
IsOptional67(),
|
|
37888
37895
|
Expose672()
|
|
37889
37896
|
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
37890
37897
|
|
|
@@ -38015,14 +38022,14 @@ __decorateClass([
|
|
|
38015
38022
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
38016
38023
|
__decorateClass([
|
|
38017
38024
|
IsString542({ message: "debe ser un texto" }),
|
|
38018
|
-
|
|
38025
|
+
IsOptional68(),
|
|
38019
38026
|
Length312(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
38020
38027
|
Expose675()
|
|
38021
38028
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
38022
38029
|
__decorateClass([
|
|
38023
38030
|
IsString542({ message: "debe ser un texto" }),
|
|
38024
38031
|
Length312(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
38025
|
-
|
|
38032
|
+
IsOptional68(),
|
|
38026
38033
|
Expose675()
|
|
38027
38034
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
38028
38035
|
__decorateClass([
|
|
@@ -38047,7 +38054,7 @@ __decorateClass([
|
|
|
38047
38054
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
38048
38055
|
__decorateClass([
|
|
38049
38056
|
IsString542({ message: "debe ser un texto" }),
|
|
38050
|
-
|
|
38057
|
+
IsOptional68(),
|
|
38051
38058
|
Length312(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
38052
38059
|
Expose675()
|
|
38053
38060
|
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
@@ -38065,12 +38072,12 @@ __decorateClass([
|
|
|
38065
38072
|
IsString542({ message: "debe ser un texto" }),
|
|
38066
38073
|
Length312(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
38067
38074
|
Expose675(),
|
|
38068
|
-
|
|
38075
|
+
IsOptional68()
|
|
38069
38076
|
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
38070
38077
|
__decorateClass([
|
|
38071
38078
|
IsString542({ message: "debe ser un texto" }),
|
|
38072
38079
|
Length312(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
38073
|
-
|
|
38080
|
+
IsOptional68(),
|
|
38074
38081
|
Expose675()
|
|
38075
38082
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
38076
38083
|
__decorateClass([
|
|
@@ -38186,7 +38193,7 @@ __decorateClass([
|
|
|
38186
38193
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
38187
38194
|
__decorateClass([
|
|
38188
38195
|
IsString542({ message: "debe ser un texto" }),
|
|
38189
|
-
|
|
38196
|
+
IsOptional68(),
|
|
38190
38197
|
Expose675()
|
|
38191
38198
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
38192
38199
|
__decorateClass([
|
|
@@ -38261,7 +38268,7 @@ __decorateClass([
|
|
|
38261
38268
|
|
|
38262
38269
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
38263
38270
|
import { Expose as Expose680, Type as Type446 } from "class-transformer";
|
|
38264
|
-
import { IsArray as IsArray229, IsNotEmpty as IsNotEmpty443, IsNumber as IsNumber441, IsString as IsString547, Length as Length317, Min as Min335, ValidateNested as ValidateNested397, IsDate as IsDate147, IsOptional as
|
|
38271
|
+
import { IsArray as IsArray229, IsNotEmpty as IsNotEmpty443, IsNumber as IsNumber441, IsString as IsString547, Length as Length317, Min as Min335, ValidateNested as ValidateNested397, IsDate as IsDate147, IsOptional as IsOptional69 } from "class-validator";
|
|
38265
38272
|
|
|
38266
38273
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
38267
38274
|
import { Expose as Expose676 } from "class-transformer";
|
|
@@ -38519,7 +38526,7 @@ __decorateClass([
|
|
|
38519
38526
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
38520
38527
|
__decorateClass([
|
|
38521
38528
|
IsString547({ message: "debe ser un texto" }),
|
|
38522
|
-
|
|
38529
|
+
IsOptional69(),
|
|
38523
38530
|
Length317(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
38524
38531
|
Expose680()
|
|
38525
38532
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|
|
@@ -41393,7 +41400,7 @@ __decorateClass([
|
|
|
41393
41400
|
|
|
41394
41401
|
// src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
|
|
41395
41402
|
import { Expose as Expose717 } from "class-transformer";
|
|
41396
|
-
import { IsNumber as IsNumber459, IsOptional as
|
|
41403
|
+
import { IsNumber as IsNumber459, IsOptional as IsOptional70, IsString as IsString580 } from "class-validator";
|
|
41397
41404
|
import "reflect-metadata";
|
|
41398
41405
|
var ValorizacionPeruTOADTO = class {
|
|
41399
41406
|
pbBase = 0;
|
|
@@ -41407,35 +41414,35 @@ var ValorizacionPeruTOADTO = class {
|
|
|
41407
41414
|
__decorateClass([
|
|
41408
41415
|
Expose717(),
|
|
41409
41416
|
IsNumber459(),
|
|
41410
|
-
|
|
41417
|
+
IsOptional70()
|
|
41411
41418
|
], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
|
|
41412
41419
|
__decorateClass([
|
|
41413
41420
|
Expose717(),
|
|
41414
41421
|
IsNumber459(),
|
|
41415
|
-
|
|
41422
|
+
IsOptional70()
|
|
41416
41423
|
], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
|
|
41417
41424
|
__decorateClass([
|
|
41418
41425
|
Expose717(),
|
|
41419
|
-
|
|
41426
|
+
IsOptional70()
|
|
41420
41427
|
], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
|
|
41421
41428
|
__decorateClass([
|
|
41422
41429
|
Expose717(),
|
|
41423
|
-
|
|
41430
|
+
IsOptional70()
|
|
41424
41431
|
], ValorizacionPeruTOADTO.prototype, "quantities", 2);
|
|
41425
41432
|
__decorateClass([
|
|
41426
41433
|
Expose717(),
|
|
41427
41434
|
IsString580(),
|
|
41428
|
-
|
|
41435
|
+
IsOptional70()
|
|
41429
41436
|
], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
|
|
41430
41437
|
__decorateClass([
|
|
41431
41438
|
Expose717(),
|
|
41432
41439
|
IsString580(),
|
|
41433
|
-
|
|
41440
|
+
IsOptional70()
|
|
41434
41441
|
], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
|
|
41435
41442
|
__decorateClass([
|
|
41436
41443
|
Expose717(),
|
|
41437
41444
|
IsString580(),
|
|
41438
|
-
|
|
41445
|
+
IsOptional70()
|
|
41439
41446
|
], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
|
|
41440
41447
|
|
|
41441
41448
|
// src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
|
|
@@ -41481,7 +41488,7 @@ import "reflect-metadata";
|
|
|
41481
41488
|
|
|
41482
41489
|
// src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
|
|
41483
41490
|
import { Expose as Expose719, Type as Type460 } from "class-transformer";
|
|
41484
|
-
import { IsDate as IsDate154, IsNumber as IsNumber460, IsOptional as
|
|
41491
|
+
import { IsDate as IsDate154, IsNumber as IsNumber460, IsOptional as IsOptional71, IsString as IsString582, ValidateNested as ValidateNested406 } from "class-validator";
|
|
41485
41492
|
var AjusteReprocesoDTO = class {
|
|
41486
41493
|
PB;
|
|
41487
41494
|
MO;
|
|
@@ -41497,58 +41504,58 @@ var AjusteReprocesoDTO = class {
|
|
|
41497
41504
|
};
|
|
41498
41505
|
__decorateClass([
|
|
41499
41506
|
Expose719(),
|
|
41500
|
-
|
|
41507
|
+
IsOptional71(),
|
|
41501
41508
|
IsNumber460()
|
|
41502
41509
|
], AjusteReprocesoDTO.prototype, "PB", 2);
|
|
41503
41510
|
__decorateClass([
|
|
41504
41511
|
Expose719(),
|
|
41505
|
-
|
|
41512
|
+
IsOptional71(),
|
|
41506
41513
|
IsNumber460()
|
|
41507
41514
|
], AjusteReprocesoDTO.prototype, "MO", 2);
|
|
41508
41515
|
__decorateClass([
|
|
41509
41516
|
Expose719(),
|
|
41510
|
-
|
|
41517
|
+
IsOptional71(),
|
|
41511
41518
|
IsNumber460()
|
|
41512
41519
|
], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
|
|
41513
41520
|
__decorateClass([
|
|
41514
41521
|
Expose719(),
|
|
41515
|
-
|
|
41522
|
+
IsOptional71(),
|
|
41516
41523
|
IsString582()
|
|
41517
41524
|
], AjusteReprocesoDTO.prototype, "tecnico", 2);
|
|
41518
41525
|
__decorateClass([
|
|
41519
41526
|
Expose719(),
|
|
41520
|
-
|
|
41527
|
+
IsOptional71(),
|
|
41521
41528
|
IsString582()
|
|
41522
41529
|
], AjusteReprocesoDTO.prototype, "id_recurso", 2);
|
|
41523
41530
|
__decorateClass([
|
|
41524
41531
|
Expose719(),
|
|
41525
|
-
|
|
41532
|
+
IsOptional71(),
|
|
41526
41533
|
ValidateNested406(),
|
|
41527
41534
|
Type460(() => EECCDBTOADTO)
|
|
41528
41535
|
], AjusteReprocesoDTO.prototype, "EECC", 2);
|
|
41529
41536
|
__decorateClass([
|
|
41530
41537
|
Expose719(),
|
|
41531
|
-
|
|
41538
|
+
IsOptional71(),
|
|
41532
41539
|
IsNumber460()
|
|
41533
41540
|
], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
|
|
41534
41541
|
__decorateClass([
|
|
41535
41542
|
Expose719(),
|
|
41536
|
-
|
|
41543
|
+
IsOptional71(),
|
|
41537
41544
|
IsString582()
|
|
41538
41545
|
], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
|
|
41539
41546
|
__decorateClass([
|
|
41540
41547
|
Expose719(),
|
|
41541
|
-
|
|
41548
|
+
IsOptional71(),
|
|
41542
41549
|
IsString582()
|
|
41543
41550
|
], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
|
|
41544
41551
|
__decorateClass([
|
|
41545
41552
|
Expose719(),
|
|
41546
|
-
|
|
41553
|
+
IsOptional71(),
|
|
41547
41554
|
IsNumber460()
|
|
41548
41555
|
], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
|
|
41549
41556
|
__decorateClass([
|
|
41550
41557
|
Expose719(),
|
|
41551
|
-
|
|
41558
|
+
IsOptional71(),
|
|
41552
41559
|
IsDate154(),
|
|
41553
41560
|
Type460(() => Date)
|
|
41554
41561
|
], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
|
|
@@ -43211,7 +43218,7 @@ import { Expose as Expose741, Transform as Transform102, Type as Type467 } from
|
|
|
43211
43218
|
|
|
43212
43219
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
43213
43220
|
import { Expose as Expose733, Transform as Transform98 } from "class-transformer";
|
|
43214
|
-
import { IsDate as IsDate159, IsDefined as IsDefined229, IsNumber as IsNumber470, IsOptional as
|
|
43221
|
+
import { IsDate as IsDate159, IsDefined as IsDefined229, IsNumber as IsNumber470, IsOptional as IsOptional73, IsString as IsString595 } from "class-validator";
|
|
43215
43222
|
|
|
43216
43223
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
43217
43224
|
function formatDateOnnetFibra(date) {
|
|
@@ -43277,13 +43284,13 @@ __decorateClass([
|
|
|
43277
43284
|
Expose733()
|
|
43278
43285
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
43279
43286
|
__decorateClass([
|
|
43280
|
-
|
|
43287
|
+
IsOptional73(),
|
|
43281
43288
|
Transform98(({ value }) => value ? String(value) : ""),
|
|
43282
43289
|
IsString595({ message: "El campo lt debe ser una cadena de texto" }),
|
|
43283
43290
|
Expose733()
|
|
43284
43291
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
43285
43292
|
__decorateClass([
|
|
43286
|
-
|
|
43293
|
+
IsOptional73(),
|
|
43287
43294
|
IsNumber470({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
43288
43295
|
Transform98(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
43289
43296
|
Expose733()
|
|
@@ -43294,7 +43301,7 @@ __decorateClass([
|
|
|
43294
43301
|
Expose733()
|
|
43295
43302
|
], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
|
|
43296
43303
|
__decorateClass([
|
|
43297
|
-
|
|
43304
|
+
IsOptional73(),
|
|
43298
43305
|
IsNumber470({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
43299
43306
|
Transform98(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
43300
43307
|
Expose733()
|
|
@@ -43330,13 +43337,13 @@ __decorateClass([
|
|
|
43330
43337
|
Expose733()
|
|
43331
43338
|
], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
|
|
43332
43339
|
__decorateClass([
|
|
43333
|
-
|
|
43340
|
+
IsOptional73(),
|
|
43334
43341
|
IsString595({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
43335
43342
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43336
43343
|
Expose733()
|
|
43337
43344
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
43338
43345
|
__decorateClass([
|
|
43339
|
-
|
|
43346
|
+
IsOptional73(),
|
|
43340
43347
|
IsString595({ message: "El campo olt debe ser una cadena de texto" }),
|
|
43341
43348
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43342
43349
|
Expose733()
|
|
@@ -43392,7 +43399,7 @@ __decorateClass([
|
|
|
43392
43399
|
Expose733()
|
|
43393
43400
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
43394
43401
|
__decorateClass([
|
|
43395
|
-
|
|
43402
|
+
IsOptional73(),
|
|
43396
43403
|
Transform98(({ value }) => formatDateOnnetFibra(value)),
|
|
43397
43404
|
IsDate159({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
43398
43405
|
Expose733()
|
|
@@ -43413,30 +43420,30 @@ __decorateClass([
|
|
|
43413
43420
|
Expose733()
|
|
43414
43421
|
], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
|
|
43415
43422
|
__decorateClass([
|
|
43416
|
-
|
|
43423
|
+
IsOptional73(),
|
|
43417
43424
|
IsString595({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
43418
43425
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43419
43426
|
Expose733()
|
|
43420
43427
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
43421
43428
|
__decorateClass([
|
|
43422
|
-
|
|
43429
|
+
IsOptional73(),
|
|
43423
43430
|
IsString595({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
|
|
43424
43431
|
Expose733()
|
|
43425
43432
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
43426
43433
|
__decorateClass([
|
|
43427
|
-
|
|
43434
|
+
IsOptional73({ message: "El campo cliente es opcional" }),
|
|
43428
43435
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43429
43436
|
IsString595({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
43430
43437
|
Expose733()
|
|
43431
43438
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
43432
43439
|
__decorateClass([
|
|
43433
|
-
|
|
43440
|
+
IsOptional73({ message: "El campo comuna es opcional" }),
|
|
43434
43441
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43435
43442
|
IsString595({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
43436
43443
|
Expose733()
|
|
43437
43444
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
43438
43445
|
__decorateClass([
|
|
43439
|
-
|
|
43446
|
+
IsOptional73({ message: "El campo pep es opcional" }),
|
|
43440
43447
|
IsString595({ message: "El campo pep debe ser una cadena de texto" }),
|
|
43441
43448
|
Transform98(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43442
43449
|
Expose733()
|
|
@@ -43446,38 +43453,38 @@ __decorateClass([
|
|
|
43446
43453
|
Expose733()
|
|
43447
43454
|
], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
|
|
43448
43455
|
__decorateClass([
|
|
43449
|
-
|
|
43456
|
+
IsOptional73({ message: "El campo proyecto es opcional" }),
|
|
43450
43457
|
IsString595({ message: "El campo proyecto debe ser una cadena de texto" }),
|
|
43451
43458
|
Expose733()
|
|
43452
43459
|
], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
|
|
43453
43460
|
__decorateClass([
|
|
43454
|
-
|
|
43461
|
+
IsOptional73({ message: "El campo producto es opcional" }),
|
|
43455
43462
|
IsString595({ message: "El campo producto debe ser una cadena de texto" }),
|
|
43456
43463
|
Expose733()
|
|
43457
43464
|
], BitacoraDeOrdenesDTO.prototype, "producto", 2);
|
|
43458
43465
|
__decorateClass([
|
|
43459
|
-
|
|
43466
|
+
IsOptional73({ message: "El campo sub_tipo_orden es opcional" }),
|
|
43460
43467
|
IsString595({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
|
|
43461
43468
|
Expose733()
|
|
43462
43469
|
], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
|
|
43463
43470
|
__decorateClass([
|
|
43464
|
-
|
|
43471
|
+
IsOptional73({ message: "El campo nombre_tecnico es opcional" }),
|
|
43465
43472
|
IsString595({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
|
|
43466
43473
|
Expose733()
|
|
43467
43474
|
], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
|
|
43468
43475
|
__decorateClass([
|
|
43469
|
-
|
|
43476
|
+
IsOptional73(),
|
|
43470
43477
|
IsNumber470({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
43471
43478
|
Transform98(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
43472
43479
|
Expose733()
|
|
43473
43480
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
43474
43481
|
__decorateClass([
|
|
43475
|
-
|
|
43482
|
+
IsOptional73({ message: "El campo sintoma es opcional" }),
|
|
43476
43483
|
IsNumber470({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
|
|
43477
43484
|
Expose733()
|
|
43478
43485
|
], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
|
|
43479
43486
|
__decorateClass([
|
|
43480
|
-
|
|
43487
|
+
IsOptional73({ message: "El campo mensaje_contingencia es opcional" }),
|
|
43481
43488
|
IsString595({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
|
|
43482
43489
|
Expose733()
|
|
43483
43490
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
@@ -43632,7 +43639,7 @@ import { IsArray as IsArray237, IsDefined as IsDefined235, IsString as IsString6
|
|
|
43632
43639
|
|
|
43633
43640
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
43634
43641
|
import { Expose as Expose736, Transform as Transform100, Type as Type465 } from "class-transformer";
|
|
43635
|
-
import { IsDefined as IsDefined232, IsNumber as IsNumber473, IsOptional as
|
|
43642
|
+
import { IsDefined as IsDefined232, IsNumber as IsNumber473, IsOptional as IsOptional74, IsString as IsString598 } from "class-validator";
|
|
43636
43643
|
var DetalleOrdenRealDTO = class {
|
|
43637
43644
|
descripcion = "";
|
|
43638
43645
|
tipo = "";
|
|
@@ -43679,7 +43686,7 @@ __decorateClass([
|
|
|
43679
43686
|
Expose736()
|
|
43680
43687
|
], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
|
|
43681
43688
|
__decorateClass([
|
|
43682
|
-
|
|
43689
|
+
IsOptional74({ message: "El campo tecnico es requerido" }),
|
|
43683
43690
|
IsString598({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
43684
43691
|
Transform100(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43685
43692
|
Expose736()
|
|
@@ -43694,14 +43701,14 @@ __decorateClass([
|
|
|
43694
43701
|
Expose736()
|
|
43695
43702
|
], DetalleOrdenRealDTO.prototype, "cantidad", 2);
|
|
43696
43703
|
__decorateClass([
|
|
43697
|
-
|
|
43704
|
+
IsOptional74({ message: "El campo contrato es opcional" }),
|
|
43698
43705
|
IsString598({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
43699
43706
|
Transform100(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
43700
43707
|
Expose736()
|
|
43701
43708
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
43702
43709
|
__decorateClass([
|
|
43703
43710
|
Type465(() => CodigoNombreDTO),
|
|
43704
|
-
|
|
43711
|
+
IsOptional74(),
|
|
43705
43712
|
Transform100(({ value }) => value ?? new CodigoNombreDTO()),
|
|
43706
43713
|
Expose736()
|
|
43707
43714
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
@@ -47329,7 +47336,7 @@ __decorateClass([
|
|
|
47329
47336
|
|
|
47330
47337
|
// src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
|
|
47331
47338
|
import { Expose as Expose763, Type as Type485 } from "class-transformer";
|
|
47332
|
-
import { IsDate as IsDate173, IsDefined as IsDefined259, IsNumber as IsNumber498, IsOptional as
|
|
47339
|
+
import { IsDate as IsDate173, IsDefined as IsDefined259, IsNumber as IsNumber498, IsOptional as IsOptional76, IsString as IsString625 } from "class-validator";
|
|
47333
47340
|
var OrdenesInstalacionDTO = class {
|
|
47334
47341
|
EMPRESA = "";
|
|
47335
47342
|
FECHA_INGRESO = /* @__PURE__ */ new Date();
|
|
@@ -47518,25 +47525,25 @@ __decorateClass([
|
|
|
47518
47525
|
__decorateClass([
|
|
47519
47526
|
Expose763(),
|
|
47520
47527
|
ForceString(),
|
|
47521
|
-
|
|
47528
|
+
IsOptional76(),
|
|
47522
47529
|
IsString625()
|
|
47523
47530
|
], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
|
|
47524
47531
|
__decorateClass([
|
|
47525
47532
|
Expose763(),
|
|
47526
47533
|
ForceString(),
|
|
47527
|
-
|
|
47534
|
+
IsOptional76(),
|
|
47528
47535
|
IsString625()
|
|
47529
47536
|
], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
|
|
47530
47537
|
__decorateClass([
|
|
47531
47538
|
Expose763(),
|
|
47532
47539
|
ForceString(),
|
|
47533
|
-
|
|
47540
|
+
IsOptional76(),
|
|
47534
47541
|
IsString625()
|
|
47535
47542
|
], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
47536
47543
|
|
|
47537
47544
|
// src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
|
|
47538
47545
|
import { Expose as Expose764 } from "class-transformer";
|
|
47539
|
-
import { IsDefined as IsDefined260, IsNumber as IsNumber499, IsOptional as
|
|
47546
|
+
import { IsDefined as IsDefined260, IsNumber as IsNumber499, IsOptional as IsOptional77, IsString as IsString626 } from "class-validator";
|
|
47540
47547
|
var ReclamosDistribuidorDTO = class {
|
|
47541
47548
|
FECHA = /* @__PURE__ */ new Date(0);
|
|
47542
47549
|
PERMISOR = 0;
|
|
@@ -47694,7 +47701,7 @@ __decorateClass([
|
|
|
47694
47701
|
__decorateClass([
|
|
47695
47702
|
Expose764(),
|
|
47696
47703
|
ForceString(),
|
|
47697
|
-
|
|
47704
|
+
IsOptional77(),
|
|
47698
47705
|
IsString626()
|
|
47699
47706
|
], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
|
|
47700
47707
|
__decorateClass([
|
|
@@ -48155,7 +48162,7 @@ __decorateClass([
|
|
|
48155
48162
|
], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
|
|
48156
48163
|
|
|
48157
48164
|
// src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
|
|
48158
|
-
import { IsDate as IsDate176, IsDefined as IsDefined263, IsNumber as IsNumber502, IsOptional as
|
|
48165
|
+
import { IsDate as IsDate176, IsDefined as IsDefined263, IsNumber as IsNumber502, IsOptional as IsOptional78, IsString as IsString629 } from "class-validator";
|
|
48159
48166
|
import { Expose as Expose767, Type as Type486 } from "class-transformer";
|
|
48160
48167
|
var TUVESOrdReclMatDescargadoDTO = class {
|
|
48161
48168
|
EMPRESA = "";
|
|
@@ -48345,19 +48352,19 @@ __decorateClass([
|
|
|
48345
48352
|
__decorateClass([
|
|
48346
48353
|
Expose767(),
|
|
48347
48354
|
ForceString(),
|
|
48348
|
-
|
|
48355
|
+
IsOptional78(),
|
|
48349
48356
|
IsString629()
|
|
48350
48357
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
|
|
48351
48358
|
__decorateClass([
|
|
48352
48359
|
Expose767(),
|
|
48353
48360
|
ForceString(),
|
|
48354
|
-
|
|
48361
|
+
IsOptional78(),
|
|
48355
48362
|
IsString629()
|
|
48356
48363
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
|
|
48357
48364
|
__decorateClass([
|
|
48358
48365
|
Expose767(),
|
|
48359
48366
|
ForceString(),
|
|
48360
|
-
|
|
48367
|
+
IsOptional78(),
|
|
48361
48368
|
IsString629()
|
|
48362
48369
|
], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
48363
48370
|
|
|
@@ -49276,7 +49283,7 @@ __decorateClass([
|
|
|
49276
49283
|
|
|
49277
49284
|
// src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
|
|
49278
49285
|
import { Expose as Expose776 } from "class-transformer";
|
|
49279
|
-
import { IsNumber as IsNumber510, IsOptional as
|
|
49286
|
+
import { IsNumber as IsNumber510, IsOptional as IsOptional79 } from "class-validator";
|
|
49280
49287
|
import "reflect-metadata";
|
|
49281
49288
|
var ValorizacionSomacylDTO = class {
|
|
49282
49289
|
pbBase = 0;
|
|
@@ -49285,12 +49292,12 @@ var ValorizacionSomacylDTO = class {
|
|
|
49285
49292
|
__decorateClass([
|
|
49286
49293
|
Expose776(),
|
|
49287
49294
|
IsNumber510(),
|
|
49288
|
-
|
|
49295
|
+
IsOptional79()
|
|
49289
49296
|
], ValorizacionSomacylDTO.prototype, "pbBase", 2);
|
|
49290
49297
|
__decorateClass([
|
|
49291
49298
|
Expose776(),
|
|
49292
49299
|
IsNumber510(),
|
|
49293
|
-
|
|
49300
|
+
IsOptional79()
|
|
49294
49301
|
], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
|
|
49295
49302
|
|
|
49296
49303
|
// src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl.ts
|
|
@@ -52869,7 +52876,7 @@ __decorateClass([
|
|
|
52869
52876
|
|
|
52870
52877
|
// src/operativa/procesos/claro_peru9112/shared/dto/valorizacion-peru9112-claro-dto.ts
|
|
52871
52878
|
import { Expose as Expose811 } from "class-transformer";
|
|
52872
|
-
import { IsNumber as IsNumber530, IsOptional as
|
|
52879
|
+
import { IsNumber as IsNumber530, IsOptional as IsOptional80, IsString as IsString668 } from "class-validator";
|
|
52873
52880
|
import "reflect-metadata";
|
|
52874
52881
|
var ValorizacionPeru9112ClaroDTO = class {
|
|
52875
52882
|
pbBase = 0;
|
|
@@ -52883,35 +52890,35 @@ var ValorizacionPeru9112ClaroDTO = class {
|
|
|
52883
52890
|
__decorateClass([
|
|
52884
52891
|
Expose811(),
|
|
52885
52892
|
IsNumber530(),
|
|
52886
|
-
|
|
52893
|
+
IsOptional80()
|
|
52887
52894
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbBase", 2);
|
|
52888
52895
|
__decorateClass([
|
|
52889
52896
|
Expose811(),
|
|
52890
52897
|
IsNumber530(),
|
|
52891
|
-
|
|
52898
|
+
IsOptional80()
|
|
52892
52899
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbAdicional", 2);
|
|
52893
52900
|
__decorateClass([
|
|
52894
52901
|
Expose811(),
|
|
52895
|
-
|
|
52902
|
+
IsOptional80()
|
|
52896
52903
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbByMaterial", 2);
|
|
52897
52904
|
__decorateClass([
|
|
52898
52905
|
Expose811(),
|
|
52899
|
-
|
|
52906
|
+
IsOptional80()
|
|
52900
52907
|
], ValorizacionPeru9112ClaroDTO.prototype, "quantities", 2);
|
|
52901
52908
|
__decorateClass([
|
|
52902
52909
|
Expose811(),
|
|
52903
52910
|
IsString668(),
|
|
52904
|
-
|
|
52911
|
+
IsOptional80()
|
|
52905
52912
|
], ValorizacionPeru9112ClaroDTO.prototype, "TABLA", 2);
|
|
52906
52913
|
__decorateClass([
|
|
52907
52914
|
Expose811(),
|
|
52908
52915
|
IsString668(),
|
|
52909
|
-
|
|
52916
|
+
IsOptional80()
|
|
52910
52917
|
], ValorizacionPeru9112ClaroDTO.prototype, "Actividad", 2);
|
|
52911
52918
|
__decorateClass([
|
|
52912
52919
|
Expose811(),
|
|
52913
52920
|
IsString668(),
|
|
52914
|
-
|
|
52921
|
+
IsOptional80()
|
|
52915
52922
|
], ValorizacionPeru9112ClaroDTO.prototype, "PAQUETE", 2);
|
|
52916
52923
|
|
|
52917
52924
|
// src/operativa/procesos/claro_peru9112/shared/dto/estado-proceso-val-peru9112-claro.ts
|
|
@@ -53644,7 +53651,7 @@ __decorateClass([
|
|
|
53644
53651
|
|
|
53645
53652
|
// src/operativa/procesos/btalppluz_order2/shared/index.ts
|
|
53646
53653
|
import { Expose as Expose818, Type as Type503 } from "class-transformer";
|
|
53647
|
-
import { IsDefined as IsDefined305, IsString as IsString675, IsNumber as IsNumber534, IsDate as IsDate195, IsEnum as IsEnum58, IsArray as IsArray256, IsOptional as
|
|
53654
|
+
import { IsDefined as IsDefined305, IsString as IsString675, IsNumber as IsNumber534, IsDate as IsDate195, IsEnum as IsEnum58, IsArray as IsArray256, IsOptional as IsOptional82, ValidateNested as ValidateNested434 } from "class-validator";
|
|
53648
53655
|
import "reflect-metadata";
|
|
53649
53656
|
|
|
53650
53657
|
// src/operativa/procesos/btalppluz_order2/shared/dto/liquidacion-bt-alp-pluz-order2-dto.ts
|
|
@@ -53956,7 +53963,7 @@ __decorateClass([
|
|
|
53956
53963
|
|
|
53957
53964
|
// src/operativa/procesos/btalppluz_order2/shared/dto/cuadrilla-bt-alp-pluz-order2-dto.ts
|
|
53958
53965
|
import { Expose as Expose816 } from "class-transformer";
|
|
53959
|
-
import { IsBoolean as IsBoolean73, IsDefined as IsDefined303, IsEnum as IsEnum57, IsNumber as IsNumber533, IsOptional as
|
|
53966
|
+
import { IsBoolean as IsBoolean73, IsDefined as IsDefined303, IsEnum as IsEnum57, IsNumber as IsNumber533, IsOptional as IsOptional81, IsString as IsString673 } from "class-validator";
|
|
53960
53967
|
import "reflect-metadata";
|
|
53961
53968
|
var CuadrillaBtAlpPluzOrder2DTO = class {
|
|
53962
53969
|
Codigo = "";
|
|
@@ -54003,27 +54010,27 @@ __decorateClass([
|
|
|
54003
54010
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "PesoPersonal", 2);
|
|
54004
54011
|
__decorateClass([
|
|
54005
54012
|
Expose816(),
|
|
54006
|
-
|
|
54013
|
+
IsOptional81(),
|
|
54007
54014
|
IsBoolean73()
|
|
54008
54015
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "EsJefe", 2);
|
|
54009
54016
|
__decorateClass([
|
|
54010
54017
|
Expose816(),
|
|
54011
|
-
|
|
54018
|
+
IsOptional81(),
|
|
54012
54019
|
IsBoolean73()
|
|
54013
54020
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "EsJefeSuplente", 2);
|
|
54014
54021
|
__decorateClass([
|
|
54015
54022
|
Expose816(),
|
|
54016
|
-
|
|
54023
|
+
IsOptional81(),
|
|
54017
54024
|
IsEnum57(OrigenIntegrante)
|
|
54018
54025
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "Origen", 2);
|
|
54019
54026
|
__decorateClass([
|
|
54020
54027
|
Expose816(),
|
|
54021
|
-
|
|
54028
|
+
IsOptional81(),
|
|
54022
54029
|
IsString673()
|
|
54023
54030
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "CodigoCuadrillaOrigen", 2);
|
|
54024
54031
|
__decorateClass([
|
|
54025
54032
|
Expose816(),
|
|
54026
|
-
|
|
54033
|
+
IsOptional81(),
|
|
54027
54034
|
IsString673()
|
|
54028
54035
|
], CuadrillaBtAlpPluzOrder2DTO.prototype, "IdRecurso", 2);
|
|
54029
54036
|
|
|
@@ -54742,12 +54749,12 @@ __decorateClass([
|
|
|
54742
54749
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla", 2);
|
|
54743
54750
|
__decorateClass([
|
|
54744
54751
|
Expose818(),
|
|
54745
|
-
|
|
54752
|
+
IsOptional82(),
|
|
54746
54753
|
IsString675()
|
|
54747
54754
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla_fecha_key", 2);
|
|
54748
54755
|
__decorateClass([
|
|
54749
54756
|
Expose818(),
|
|
54750
|
-
|
|
54757
|
+
IsOptional82(),
|
|
54751
54758
|
IsNumber534()
|
|
54752
54759
|
], BtAlpPluzOrder2ENTITY.prototype, "cuadrilla_id_asistencia", 2);
|
|
54753
54760
|
|
|
@@ -54829,12 +54836,12 @@ __decorateClass([
|
|
|
54829
54836
|
|
|
54830
54837
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/index.ts
|
|
54831
54838
|
import { Expose as Expose826, Type as Type511 } from "class-transformer";
|
|
54832
|
-
import { IsArray as IsArray261, IsBoolean as IsBoolean77, IsDate as IsDate199, IsDefined as IsDefined313, IsNotEmpty as IsNotEmpty468, IsOptional as
|
|
54839
|
+
import { IsArray as IsArray261, IsBoolean as IsBoolean77, IsDate as IsDate199, IsDefined as IsDefined313, IsNotEmpty as IsNotEmpty468, IsOptional as IsOptional85, IsString as IsString682, ValidateNested as ValidateNested441 } from "class-validator";
|
|
54833
54840
|
import "reflect-metadata";
|
|
54834
54841
|
|
|
54835
54842
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/pendiente-vereda-dto.ts
|
|
54836
54843
|
import { Expose as Expose820, Type as Type505 } from "class-transformer";
|
|
54837
|
-
import { IsBoolean as IsBoolean75, IsDate as IsDate196, IsDefined as IsDefined307, IsOptional as
|
|
54844
|
+
import { IsBoolean as IsBoolean75, IsDate as IsDate196, IsDefined as IsDefined307, IsOptional as IsOptional83, IsString as IsString677 } from "class-validator";
|
|
54838
54845
|
import "reflect-metadata";
|
|
54839
54846
|
var PendienteVeredaDTO = class {
|
|
54840
54847
|
asunto_orden_mantenimiento = "";
|
|
@@ -54885,13 +54892,13 @@ __decorateClass([
|
|
|
54885
54892
|
], PendienteVeredaDTO.prototype, "status_de_usuario", 2);
|
|
54886
54893
|
__decorateClass([
|
|
54887
54894
|
Expose820(),
|
|
54888
|
-
|
|
54895
|
+
IsOptional83(),
|
|
54889
54896
|
IsDate196(),
|
|
54890
54897
|
Type505(() => Date)
|
|
54891
54898
|
], PendienteVeredaDTO.prototype, "fecha_de_creacion", 2);
|
|
54892
54899
|
__decorateClass([
|
|
54893
54900
|
Expose820(),
|
|
54894
|
-
|
|
54901
|
+
IsOptional83(),
|
|
54895
54902
|
IsDate196(),
|
|
54896
54903
|
Type505(() => Date)
|
|
54897
54904
|
], PendienteVeredaDTO.prototype, "plazo_legal_fecha_hora", 2);
|
|
@@ -54967,7 +54974,7 @@ __decorateClass([
|
|
|
54967
54974
|
], PendienteVeredaDTO.prototype, "sed", 2);
|
|
54968
54975
|
__decorateClass([
|
|
54969
54976
|
Expose820(),
|
|
54970
|
-
|
|
54977
|
+
IsOptional83(),
|
|
54971
54978
|
IsDate196(),
|
|
54972
54979
|
Type505(() => Date)
|
|
54973
54980
|
], PendienteVeredaDTO.prototype, "fecha_vencimiento", 2);
|
|
@@ -55189,7 +55196,7 @@ __decorateClass([
|
|
|
55189
55196
|
|
|
55190
55197
|
// src/operativa/procesos/btalppluz_vereda_asignacion/shared/dto/formulario-civil-vereda-dto.ts
|
|
55191
55198
|
import { Expose as Expose823, Type as Type508 } from "class-transformer";
|
|
55192
|
-
import { IsArray as IsArray260, IsDate as IsDate197, IsDefined as IsDefined310, IsIn as IsIn9, IsInt, IsNumber as IsNumber538, IsOptional as
|
|
55199
|
+
import { IsArray as IsArray260, IsDate as IsDate197, IsDefined as IsDefined310, IsIn as IsIn9, IsInt, IsNumber as IsNumber538, IsOptional as IsOptional84, IsString as IsString680, Max as Max17, MaxLength as MaxLength10, Min as Min355, ValidateNested as ValidateNested438 } from "class-validator";
|
|
55193
55200
|
import "reflect-metadata";
|
|
55194
55201
|
var PASOS_WORKFLOW_VEREDA = {
|
|
55195
55202
|
TOMADO_EN_CARGA: { paso: "TOMADO_EN_CARGA", orden: 1 },
|
|
@@ -55376,7 +55383,7 @@ __decorateClass([
|
|
|
55376
55383
|
], FormularioCivilVeredaDTO.prototype, "workflow", 2);
|
|
55377
55384
|
__decorateClass([
|
|
55378
55385
|
Expose823(),
|
|
55379
|
-
|
|
55386
|
+
IsOptional84(),
|
|
55380
55387
|
ValidateNested438(),
|
|
55381
55388
|
Type508(() => MetradosVeredaDTO)
|
|
55382
55389
|
], FormularioCivilVeredaDTO.prototype, "metrados", 2);
|
|
@@ -55387,13 +55394,13 @@ __decorateClass([
|
|
|
55387
55394
|
], FormularioCivilVeredaDTO.prototype, "observaciones", 2);
|
|
55388
55395
|
__decorateClass([
|
|
55389
55396
|
Expose823(),
|
|
55390
|
-
|
|
55397
|
+
IsOptional84(),
|
|
55391
55398
|
ValidateNested438(),
|
|
55392
55399
|
Type508(() => PendienteOriginalVeredaDTO)
|
|
55393
55400
|
], FormularioCivilVeredaDTO.prototype, "pendiente_original", 2);
|
|
55394
55401
|
__decorateClass([
|
|
55395
55402
|
Expose823(),
|
|
55396
|
-
|
|
55403
|
+
IsOptional84(),
|
|
55397
55404
|
IsDate197(),
|
|
55398
55405
|
Type508(() => Date)
|
|
55399
55406
|
], FormularioCivilVeredaDTO.prototype, "fecha_actualizacion", 2);
|
|
@@ -55678,31 +55685,31 @@ __decorateClass([
|
|
|
55678
55685
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "documentacion", 2);
|
|
55679
55686
|
__decorateClass([
|
|
55680
55687
|
Expose826(),
|
|
55681
|
-
|
|
55688
|
+
IsOptional85(),
|
|
55682
55689
|
ValidateNested441(),
|
|
55683
55690
|
Type511(() => DesmonteVeredaDTO)
|
|
55684
55691
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "desmonte", 2);
|
|
55685
55692
|
__decorateClass([
|
|
55686
55693
|
Expose826(),
|
|
55687
|
-
|
|
55694
|
+
IsOptional85(),
|
|
55688
55695
|
IsDate199(),
|
|
55689
55696
|
Type511(() => Date)
|
|
55690
55697
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "fecha_envio", 2);
|
|
55691
55698
|
__decorateClass([
|
|
55692
55699
|
Expose826(),
|
|
55693
|
-
|
|
55700
|
+
IsOptional85(),
|
|
55694
55701
|
ValidateNested441(),
|
|
55695
55702
|
Type511(() => UsuarioDTO)
|
|
55696
55703
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "usuario_envio", 2);
|
|
55697
55704
|
__decorateClass([
|
|
55698
55705
|
Expose826(),
|
|
55699
|
-
|
|
55706
|
+
IsOptional85(),
|
|
55700
55707
|
ValidateNested441(),
|
|
55701
55708
|
Type511(() => RevisionVeredaDTO)
|
|
55702
55709
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "revision", 2);
|
|
55703
55710
|
__decorateClass([
|
|
55704
55711
|
Expose826(),
|
|
55705
|
-
|
|
55712
|
+
IsOptional85(),
|
|
55706
55713
|
ValidateNested441(),
|
|
55707
55714
|
Type511(() => CierreSsamVeredaDTO)
|
|
55708
55715
|
], BtAlpPluzVeredaAsignacionENTITY.prototype, "cierre_ssam", 2);
|
|
@@ -55763,7 +55770,7 @@ __decorateClass([
|
|
|
55763
55770
|
], LoginDto.prototype, "password", 2);
|
|
55764
55771
|
|
|
55765
55772
|
// src/v2/dtos/PayloadToken.ts
|
|
55766
|
-
import { IsArray as IsArray264, IsDefined as IsDefined318, IsEnum as IsEnum60, IsObject as IsObject15, IsOptional as
|
|
55773
|
+
import { IsArray as IsArray264, IsDefined as IsDefined318, IsEnum as IsEnum60, IsObject as IsObject15, IsOptional as IsOptional86, ValidateNested as ValidateNested443 } from "class-validator";
|
|
55767
55774
|
import { Expose as Expose831, Type as Type513 } from "class-transformer";
|
|
55768
55775
|
|
|
55769
55776
|
// src/v2/dtos/AuthUser.ts
|
|
@@ -55867,7 +55874,7 @@ __decorateClass([
|
|
|
55867
55874
|
Expose831()
|
|
55868
55875
|
], PayloadTokenDto.prototype, "user", 2);
|
|
55869
55876
|
__decorateClass([
|
|
55870
|
-
|
|
55877
|
+
IsOptional86(),
|
|
55871
55878
|
ValidateNested443(),
|
|
55872
55879
|
Type513(() => AuthUserDto),
|
|
55873
55880
|
Expose831()
|
|
@@ -56884,11 +56891,11 @@ __decorateClass([
|
|
|
56884
56891
|
|
|
56885
56892
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
56886
56893
|
import { Expose as Expose857, Type as Type522 } from "class-transformer";
|
|
56887
|
-
import { IsArray as IsArray274, IsDefined as IsDefined338, IsNumber as IsNumber544, IsOptional as
|
|
56894
|
+
import { IsArray as IsArray274, IsDefined as IsDefined338, IsNumber as IsNumber544, IsOptional as IsOptional88, IsString as IsString710, ValidateNested as ValidateNested451 } from "class-validator";
|
|
56888
56895
|
|
|
56889
56896
|
// src/v2/shared-dto/FavoritoDTO.ts
|
|
56890
56897
|
import { Expose as Expose856 } from "class-transformer";
|
|
56891
|
-
import { IsString as IsString709, IsNumber as IsNumber543, IsOptional as
|
|
56898
|
+
import { IsString as IsString709, IsNumber as IsNumber543, IsOptional as IsOptional87 } from "class-validator";
|
|
56892
56899
|
var FavoritoDTO2 = class {
|
|
56893
56900
|
id = "";
|
|
56894
56901
|
titulo = "";
|
|
@@ -56909,7 +56916,7 @@ __decorateClass([
|
|
|
56909
56916
|
Expose856()
|
|
56910
56917
|
], FavoritoDTO2.prototype, "ruta", 2);
|
|
56911
56918
|
__decorateClass([
|
|
56912
|
-
|
|
56919
|
+
IsOptional87(),
|
|
56913
56920
|
IsString709(),
|
|
56914
56921
|
Expose856()
|
|
56915
56922
|
], FavoritoDTO2.prototype, "icono", 2);
|
|
@@ -56943,7 +56950,7 @@ __decorateClass([
|
|
|
56943
56950
|
Expose857()
|
|
56944
56951
|
], CreateThemeConfigUserDto.prototype, "Color", 2);
|
|
56945
56952
|
__decorateClass([
|
|
56946
|
-
|
|
56953
|
+
IsOptional88(),
|
|
56947
56954
|
IsString710({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
56948
56955
|
Expose857()
|
|
56949
56956
|
], CreateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -56954,7 +56961,7 @@ __decorateClass([
|
|
|
56954
56961
|
Expose857()
|
|
56955
56962
|
], CreateThemeConfigUserDto.prototype, "Estado", 2);
|
|
56956
56963
|
__decorateClass([
|
|
56957
|
-
|
|
56964
|
+
IsOptional88(),
|
|
56958
56965
|
IsArray274({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
56959
56966
|
ValidateNested451({ each: true }),
|
|
56960
56967
|
Type522(() => FavoritoDTO2),
|
|
@@ -56963,7 +56970,7 @@ __decorateClass([
|
|
|
56963
56970
|
|
|
56964
56971
|
// src/v2/dtos/UpdateThemeConfigUser.ts
|
|
56965
56972
|
import { Expose as Expose858, Type as Type523 } from "class-transformer";
|
|
56966
|
-
import { IsArray as IsArray275, IsDefined as IsDefined339, IsNumber as IsNumber545, IsOptional as
|
|
56973
|
+
import { IsArray as IsArray275, IsDefined as IsDefined339, IsNumber as IsNumber545, IsOptional as IsOptional89, IsString as IsString711, ValidateNested as ValidateNested452 } from "class-validator";
|
|
56967
56974
|
var UpdateThemeConfigUserDto = class {
|
|
56968
56975
|
ID_Theme;
|
|
56969
56976
|
Identificacion;
|
|
@@ -56988,7 +56995,7 @@ __decorateClass([
|
|
|
56988
56995
|
Expose858()
|
|
56989
56996
|
], UpdateThemeConfigUserDto.prototype, "Color", 2);
|
|
56990
56997
|
__decorateClass([
|
|
56991
|
-
|
|
56998
|
+
IsOptional89(),
|
|
56992
56999
|
IsString711({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
56993
57000
|
Expose858()
|
|
56994
57001
|
], UpdateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -56999,7 +57006,7 @@ __decorateClass([
|
|
|
56999
57006
|
Expose858()
|
|
57000
57007
|
], UpdateThemeConfigUserDto.prototype, "Estado", 2);
|
|
57001
57008
|
__decorateClass([
|
|
57002
|
-
|
|
57009
|
+
IsOptional89(),
|
|
57003
57010
|
IsArray275({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
57004
57011
|
ValidateNested452({ each: true }),
|
|
57005
57012
|
Type523(() => FavoritoDTO2),
|
|
@@ -57008,7 +57015,7 @@ __decorateClass([
|
|
|
57008
57015
|
|
|
57009
57016
|
// src/v2/dtos/CreateWarehouseExitATC.ts
|
|
57010
57017
|
import { Expose as Expose859, Transform as Transform129 } from "class-transformer";
|
|
57011
|
-
import { IsDefined as IsDefined340, IsNotEmpty as IsNotEmpty480, IsOptional as
|
|
57018
|
+
import { IsDefined as IsDefined340, IsNotEmpty as IsNotEmpty480, IsOptional as IsOptional90, IsString as IsString712, MaxLength as MaxLength11 } from "class-validator";
|
|
57012
57019
|
var trimUpper = ({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value;
|
|
57013
57020
|
var CreateWarehouseExitATCDto = class {
|
|
57014
57021
|
personalIdentification;
|
|
@@ -57043,14 +57050,14 @@ __decorateClass([
|
|
|
57043
57050
|
Expose859()
|
|
57044
57051
|
], CreateWarehouseExitATCDto.prototype, "movementCode", 2);
|
|
57045
57052
|
__decorateClass([
|
|
57046
|
-
|
|
57053
|
+
IsOptional90(),
|
|
57047
57054
|
IsString712({ message: "La orden de trabajo debe ser una cadena de texto" }),
|
|
57048
57055
|
MaxLength11(100, { message: "La orden de trabajo no debe superar los 100 caracteres" }),
|
|
57049
57056
|
Transform129(trimUpper),
|
|
57050
57057
|
Expose859()
|
|
57051
57058
|
], CreateWarehouseExitATCDto.prototype, "workOrder", 2);
|
|
57052
57059
|
__decorateClass([
|
|
57053
|
-
|
|
57060
|
+
IsOptional90(),
|
|
57054
57061
|
IsString712({ message: "Las observaciones deben ser una cadena de texto" }),
|
|
57055
57062
|
MaxLength11(300, { message: "Las observaciones no deben superar los 300 caracteres" }),
|
|
57056
57063
|
Transform129(trimUpper),
|
|
@@ -57059,7 +57066,7 @@ __decorateClass([
|
|
|
57059
57066
|
|
|
57060
57067
|
// src/v2/dtos/AddDetailWarehouseExitATC.ts
|
|
57061
57068
|
import { Expose as Expose860, Transform as Transform130, Type as Type524 } from "class-transformer";
|
|
57062
|
-
import { IsDefined as IsDefined341, IsNotEmpty as IsNotEmpty481, IsNumber as IsNumber546, IsOptional as
|
|
57069
|
+
import { IsDefined as IsDefined341, IsNotEmpty as IsNotEmpty481, IsNumber as IsNumber546, IsOptional as IsOptional91, IsString as IsString713, MaxLength as MaxLength12, Min as Min357 } from "class-validator";
|
|
57063
57070
|
var AddDetailWarehouseExitATCDto = class {
|
|
57064
57071
|
keyCode;
|
|
57065
57072
|
searchCode;
|
|
@@ -57086,7 +57093,7 @@ __decorateClass([
|
|
|
57086
57093
|
Expose860()
|
|
57087
57094
|
], AddDetailWarehouseExitATCDto.prototype, "quantity", 2);
|
|
57088
57095
|
__decorateClass([
|
|
57089
|
-
|
|
57096
|
+
IsOptional91(),
|
|
57090
57097
|
IsString713({ message: "Las notas deben ser una cadena de texto" }),
|
|
57091
57098
|
MaxLength12(300, { message: "Las notas no deben superar los 300 caracteres" }),
|
|
57092
57099
|
Transform130(({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value),
|
|
@@ -57101,7 +57108,7 @@ import {
|
|
|
57101
57108
|
IsDefined as IsDefined342,
|
|
57102
57109
|
IsNotEmpty as IsNotEmpty482,
|
|
57103
57110
|
IsNumber as IsNumber547,
|
|
57104
|
-
IsOptional as
|
|
57111
|
+
IsOptional as IsOptional92,
|
|
57105
57112
|
IsString as IsString714,
|
|
57106
57113
|
MaxLength as MaxLength13,
|
|
57107
57114
|
Min as Min358,
|
|
@@ -57150,7 +57157,7 @@ __decorateClass([
|
|
|
57150
57157
|
Expose861()
|
|
57151
57158
|
], ShiftTransferLineDto.prototype, "quantity", 2);
|
|
57152
57159
|
__decorateClass([
|
|
57153
|
-
|
|
57160
|
+
IsOptional92(),
|
|
57154
57161
|
IsArray276({ message: "Las series deben ser una lista" }),
|
|
57155
57162
|
IsString714({ each: true, message: "Cada serie debe ser una cadena de texto" }),
|
|
57156
57163
|
Expose861()
|
|
@@ -57169,7 +57176,7 @@ __decorateClass([
|
|
|
57169
57176
|
Expose861()
|
|
57170
57177
|
], CreateShiftTransferDto.prototype, "lines", 2);
|
|
57171
57178
|
__decorateClass([
|
|
57172
|
-
|
|
57179
|
+
IsOptional92(),
|
|
57173
57180
|
IsString714({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
57174
57181
|
MaxLength13(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
57175
57182
|
Transform131(trimUpper2),
|
|
@@ -57182,7 +57189,7 @@ import {
|
|
|
57182
57189
|
IsDefined as IsDefined343,
|
|
57183
57190
|
IsInt as IsInt2,
|
|
57184
57191
|
IsNumber as IsNumber548,
|
|
57185
|
-
IsOptional as
|
|
57192
|
+
IsOptional as IsOptional93,
|
|
57186
57193
|
IsString as IsString715,
|
|
57187
57194
|
MaxLength as MaxLength14,
|
|
57188
57195
|
Min as Min359
|
|
@@ -57201,7 +57208,7 @@ __decorateClass([
|
|
|
57201
57208
|
Expose862()
|
|
57202
57209
|
], AddInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
57203
57210
|
__decorateClass([
|
|
57204
|
-
|
|
57211
|
+
IsOptional93(),
|
|
57205
57212
|
IsString715({ message: "La serie debe ser una cadena de texto" }),
|
|
57206
57213
|
Transform132(trim),
|
|
57207
57214
|
Expose862()
|
|
@@ -57214,7 +57221,7 @@ __decorateClass([
|
|
|
57214
57221
|
Expose862()
|
|
57215
57222
|
], AddInventorySomacylOrderDto.prototype, "cantidad", 2);
|
|
57216
57223
|
__decorateClass([
|
|
57217
|
-
|
|
57224
|
+
IsOptional93(),
|
|
57218
57225
|
IsString715({ message: "La serie del contador retirado debe ser una cadena de texto" }),
|
|
57219
57226
|
MaxLength14(50, { message: "La serie del contador retirado no debe superar los 50 caracteres" }),
|
|
57220
57227
|
Transform132(trim),
|
|
@@ -57248,7 +57255,7 @@ __decorateClass([
|
|
|
57248
57255
|
|
|
57249
57256
|
// src/v2/dtos/DeleteInventorySomacylOrder.ts
|
|
57250
57257
|
import { Expose as Expose864, Transform as Transform133, Type as Type527 } from "class-transformer";
|
|
57251
|
-
import { IsDefined as IsDefined345, IsInt as IsInt3, IsOptional as
|
|
57258
|
+
import { IsDefined as IsDefined345, IsInt as IsInt3, IsOptional as IsOptional94, IsString as IsString716 } from "class-validator";
|
|
57252
57259
|
var DeleteInventorySomacylOrderDto = class {
|
|
57253
57260
|
ID_Stock;
|
|
57254
57261
|
invsn;
|
|
@@ -57260,7 +57267,7 @@ __decorateClass([
|
|
|
57260
57267
|
Expose864()
|
|
57261
57268
|
], DeleteInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
57262
57269
|
__decorateClass([
|
|
57263
|
-
|
|
57270
|
+
IsOptional94(),
|
|
57264
57271
|
IsString716({ message: "La serie debe ser una cadena de texto" }),
|
|
57265
57272
|
Transform133(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
57266
57273
|
Expose864()
|
|
@@ -57268,7 +57275,7 @@ __decorateClass([
|
|
|
57268
57275
|
|
|
57269
57276
|
// src/v2/dtos/FinalizeSomacylOrder.ts
|
|
57270
57277
|
import { Expose as Expose865, Transform as Transform134 } from "class-transformer";
|
|
57271
|
-
import { IsDefined as IsDefined346, IsIn as IsIn11, IsNotEmpty as IsNotEmpty483, IsOptional as
|
|
57278
|
+
import { IsDefined as IsDefined346, IsIn as IsIn11, IsNotEmpty as IsNotEmpty483, IsOptional as IsOptional95, IsString as IsString717, MaxLength as MaxLength15, ValidateIf as ValidateIf12 } from "class-validator";
|
|
57272
57279
|
var estadosFinalizacion = ["Finalizada" /* FINALIZADA */, "No Finalizada" /* NO_FINALIZADA */];
|
|
57273
57280
|
var motivosNoFinalizado = Object.values(ReasonNoFinalizedSomacyl).filter((e) => e !== "" /* INICIAL */);
|
|
57274
57281
|
var trim2 = ({ value }) => typeof value === "string" ? value.trim() : value;
|
|
@@ -57338,7 +57345,7 @@ __decorateClass([
|
|
|
57338
57345
|
Expose865()
|
|
57339
57346
|
], FinalizeSomacylOrderDto.prototype, "observaciones", 2);
|
|
57340
57347
|
__decorateClass([
|
|
57341
|
-
|
|
57348
|
+
IsOptional95(),
|
|
57342
57349
|
IsString717({ message: "El n\xFAmero de precinto debe ser una cadena de texto" }),
|
|
57343
57350
|
MaxLength15(50, { message: "El n\xFAmero de precinto no debe superar los 50 caracteres" }),
|
|
57344
57351
|
Transform134(trim2),
|
|
@@ -57347,7 +57354,7 @@ __decorateClass([
|
|
|
57347
57354
|
|
|
57348
57355
|
// src/v2/dtos/UploadFileSomacylOrder.ts
|
|
57349
57356
|
import { Expose as Expose866, Transform as Transform135 } from "class-transformer";
|
|
57350
|
-
import { IsDefined as IsDefined347, IsEnum as IsEnum67, IsOptional as
|
|
57357
|
+
import { IsDefined as IsDefined347, IsEnum as IsEnum67, IsOptional as IsOptional96, IsString as IsString718, MaxLength as MaxLength16 } from "class-validator";
|
|
57351
57358
|
var UploadFileSomacylOrderDto = class {
|
|
57352
57359
|
posicion;
|
|
57353
57360
|
observacion;
|
|
@@ -57360,7 +57367,7 @@ __decorateClass([
|
|
|
57360
57367
|
Expose866()
|
|
57361
57368
|
], UploadFileSomacylOrderDto.prototype, "posicion", 2);
|
|
57362
57369
|
__decorateClass([
|
|
57363
|
-
|
|
57370
|
+
IsOptional96(),
|
|
57364
57371
|
IsString718({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
57365
57372
|
MaxLength16(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
57366
57373
|
Transform135(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
@@ -57431,7 +57438,7 @@ __decorateClass([
|
|
|
57431
57438
|
|
|
57432
57439
|
// src/v2/dtos/CorrectRejectedValuation.ts
|
|
57433
57440
|
import { Expose as Expose870, Type as Type529 } from "class-transformer";
|
|
57434
|
-
import { IsArray as IsArray278, IsDefined as IsDefined351, IsInt as IsInt6, IsOptional as
|
|
57441
|
+
import { IsArray as IsArray278, IsDefined as IsDefined351, IsInt as IsInt6, IsOptional as IsOptional97, Min as Min362, ValidateNested as ValidateNested455 } from "class-validator";
|
|
57435
57442
|
var CorrectRejectedValuationDto = class {
|
|
57436
57443
|
ID_Valorizacion = 0;
|
|
57437
57444
|
Anexos;
|
|
@@ -57443,7 +57450,7 @@ __decorateClass([
|
|
|
57443
57450
|
Expose870()
|
|
57444
57451
|
], CorrectRejectedValuationDto.prototype, "ID_Valorizacion", 2);
|
|
57445
57452
|
__decorateClass([
|
|
57446
|
-
|
|
57453
|
+
IsOptional97(),
|
|
57447
57454
|
IsArray278({ message: "Los anexos deben ser un arreglo" }),
|
|
57448
57455
|
Type529(() => FilesDocDTO),
|
|
57449
57456
|
ValidateNested455({ each: true }),
|
|
@@ -57460,7 +57467,7 @@ import {
|
|
|
57460
57467
|
IsInt as IsInt7,
|
|
57461
57468
|
IsNotEmpty as IsNotEmpty485,
|
|
57462
57469
|
IsNumber as IsNumber549,
|
|
57463
|
-
IsOptional as
|
|
57470
|
+
IsOptional as IsOptional98,
|
|
57464
57471
|
IsString as IsString720,
|
|
57465
57472
|
Length as Length353,
|
|
57466
57473
|
Min as Min363,
|
|
@@ -57514,12 +57521,12 @@ __decorateClass([
|
|
|
57514
57521
|
Expose871()
|
|
57515
57522
|
], PreLiquidateMaterialDto.prototype, "Cantidad", 2);
|
|
57516
57523
|
__decorateClass([
|
|
57517
|
-
|
|
57524
|
+
IsOptional98(),
|
|
57518
57525
|
IsNumber549({}, { message: "La cantidad informada debe ser un n\xFAmero" }),
|
|
57519
57526
|
Expose871()
|
|
57520
57527
|
], PreLiquidateMaterialDto.prototype, "CantidadInformada", 2);
|
|
57521
57528
|
__decorateClass([
|
|
57522
|
-
|
|
57529
|
+
IsOptional98(),
|
|
57523
57530
|
IsNumber549({}, { message: "El ID del stock personal debe ser un n\xFAmero" }),
|
|
57524
57531
|
Expose871()
|
|
57525
57532
|
], PreLiquidateMaterialDto.prototype, "ID_StockPersonal", 2);
|
|
@@ -57530,7 +57537,7 @@ __decorateClass([
|
|
|
57530
57537
|
Expose871()
|
|
57531
57538
|
], PreLiquidateMaterialDto.prototype, "UnidadMedida", 2);
|
|
57532
57539
|
__decorateClass([
|
|
57533
|
-
|
|
57540
|
+
IsOptional98(),
|
|
57534
57541
|
Type530(() => CodigoDescripcionDTO),
|
|
57535
57542
|
ValidateNested456(),
|
|
57536
57543
|
Expose871()
|
|
@@ -57558,7 +57565,7 @@ __decorateClass([
|
|
|
57558
57565
|
Expose871()
|
|
57559
57566
|
], PreLiquidateLineDto.prototype, "Cantidad", 2);
|
|
57560
57567
|
__decorateClass([
|
|
57561
|
-
|
|
57568
|
+
IsOptional98(),
|
|
57562
57569
|
IsIn14(BAREMO_SUBCONTRATA_TYPES, { message: `El tipo de baremo debe ser uno de: ${BAREMO_SUBCONTRATA_TYPES.join(", ")}` }),
|
|
57563
57570
|
Expose871()
|
|
57564
57571
|
], PreLiquidateLineDto.prototype, "TipoBaremoSubcontrata", 2);
|
|
@@ -57631,7 +57638,7 @@ __decorateClass([
|
|
|
57631
57638
|
Expose871()
|
|
57632
57639
|
], PreLiquidateValuationDto.prototype, "Tipo", 2);
|
|
57633
57640
|
__decorateClass([
|
|
57634
|
-
|
|
57641
|
+
IsOptional98(),
|
|
57635
57642
|
IsInt7({ message: "El ID de la valorizaci\xF3n rechazada debe ser un n\xFAmero entero" }),
|
|
57636
57643
|
Min363(1, { message: "El ID de la valorizaci\xF3n rechazada no es v\xE1lido" }),
|
|
57637
57644
|
Expose871()
|
|
@@ -57658,7 +57665,7 @@ import {
|
|
|
57658
57665
|
IsDefined as IsDefined353,
|
|
57659
57666
|
IsNotEmpty as IsNotEmpty486,
|
|
57660
57667
|
IsNumber as IsNumber550,
|
|
57661
|
-
IsOptional as
|
|
57668
|
+
IsOptional as IsOptional99,
|
|
57662
57669
|
IsString as IsString721,
|
|
57663
57670
|
Matches as Matches6,
|
|
57664
57671
|
Min as Min364,
|
|
@@ -57711,7 +57718,7 @@ __decorateClass([
|
|
|
57711
57718
|
Expose872()
|
|
57712
57719
|
], PreLiquidateValuationCHILE9512Dto.prototype, "ID_Operacion", 2);
|
|
57713
57720
|
__decorateClass([
|
|
57714
|
-
|
|
57721
|
+
IsOptional99(),
|
|
57715
57722
|
IsString721({ message: "El c\xF3digo del parte diario debe ser una cadena de texto" }),
|
|
57716
57723
|
Matches6(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
57717
57724
|
Expose872()
|
|
@@ -57733,7 +57740,7 @@ import {
|
|
|
57733
57740
|
IsInt as IsInt8,
|
|
57734
57741
|
IsNotEmpty as IsNotEmpty487,
|
|
57735
57742
|
IsNumber as IsNumber551,
|
|
57736
|
-
IsOptional as
|
|
57743
|
+
IsOptional as IsOptional100,
|
|
57737
57744
|
IsPositive,
|
|
57738
57745
|
IsString as IsString722,
|
|
57739
57746
|
Matches as Matches7,
|
|
@@ -57855,13 +57862,13 @@ __decorateClass([
|
|
|
57855
57862
|
Expose873()
|
|
57856
57863
|
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "ID_Operacion", 2);
|
|
57857
57864
|
__decorateClass([
|
|
57858
|
-
|
|
57865
|
+
IsOptional100(),
|
|
57859
57866
|
IsString722({ message: "El c\xF3digo del parte diario debe ser una cadena de texto" }),
|
|
57860
57867
|
Matches7(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
57861
57868
|
Expose873()
|
|
57862
57869
|
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "CodigoParteDiario", 2);
|
|
57863
57870
|
__decorateClass([
|
|
57864
|
-
|
|
57871
|
+
IsOptional100(),
|
|
57865
57872
|
Type532(() => Number),
|
|
57866
57873
|
IsNumber551({}, { message: "La valorizaci\xF3n rechazada debe ser un n\xFAmero" }),
|
|
57867
57874
|
Expose873()
|
|
@@ -58362,7 +58369,7 @@ __decorateClass([
|
|
|
58362
58369
|
|
|
58363
58370
|
// src/v2/entities/ThemeConfigUser.ts
|
|
58364
58371
|
import { Expose as Expose886, Type as Type536 } from "class-transformer";
|
|
58365
|
-
import { IsNumber as IsNumber553, IsString as IsString732, ValidateNested as ValidateNested462, IsArray as IsArray287, IsOptional as
|
|
58372
|
+
import { IsNumber as IsNumber553, IsString as IsString732, ValidateNested as ValidateNested462, IsArray as IsArray287, IsOptional as IsOptional101, IsDefined as IsDefined364, IsBoolean as IsBoolean92 } from "class-validator";
|
|
58366
58373
|
var ThemeConfigUserEntity = class {
|
|
58367
58374
|
_id;
|
|
58368
58375
|
active = true;
|
|
@@ -58374,7 +58381,7 @@ var ThemeConfigUserEntity = class {
|
|
|
58374
58381
|
Favoritos = [];
|
|
58375
58382
|
};
|
|
58376
58383
|
__decorateClass([
|
|
58377
|
-
|
|
58384
|
+
IsOptional101(),
|
|
58378
58385
|
Expose886()
|
|
58379
58386
|
], ThemeConfigUserEntity.prototype, "_id", 2);
|
|
58380
58387
|
__decorateClass([
|
|
@@ -58395,7 +58402,7 @@ __decorateClass([
|
|
|
58395
58402
|
Expose886()
|
|
58396
58403
|
], ThemeConfigUserEntity.prototype, "Color", 2);
|
|
58397
58404
|
__decorateClass([
|
|
58398
|
-
|
|
58405
|
+
IsOptional101(),
|
|
58399
58406
|
IsString732(),
|
|
58400
58407
|
Expose886()
|
|
58401
58408
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
@@ -58405,7 +58412,7 @@ __decorateClass([
|
|
|
58405
58412
|
Expose886()
|
|
58406
58413
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
58407
58414
|
__decorateClass([
|
|
58408
|
-
|
|
58415
|
+
IsOptional101(),
|
|
58409
58416
|
IsArray287(),
|
|
58410
58417
|
ValidateNested462({ each: true }),
|
|
58411
58418
|
Type536(() => FavoritoDTO2),
|