sigo-entities 1.2.550 → 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/__tests__/datos-transportista.test.mjs +34 -0
- package/dist/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +31 -23
- package/dist/index.mjs +426 -418
- package/package.json +1 -1
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,11 +55770,11 @@ __decorateClass([
|
|
|
55763
55770
|
], LoginDto.prototype, "password", 2);
|
|
55764
55771
|
|
|
55765
55772
|
// src/v2/dtos/PayloadToken.ts
|
|
55766
|
-
import { 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
|
|
55770
|
-
import { IsBoolean as IsBoolean78, IsDefined as IsDefined316, IsEmail as IsEmail7, IsString as IsString684, IsUUID as IsUUID25
|
|
55777
|
+
import { IsArray as IsArray262, IsBoolean as IsBoolean78, IsDefined as IsDefined316, IsEmail as IsEmail7, IsString as IsString684, IsUUID as IsUUID25 } from "class-validator";
|
|
55771
55778
|
import { Expose as Expose829, Transform as Transform119 } from "class-transformer";
|
|
55772
55779
|
var AuthUserDto = class {
|
|
55773
55780
|
email;
|
|
@@ -55776,7 +55783,7 @@ var AuthUserDto = class {
|
|
|
55776
55783
|
firstNames;
|
|
55777
55784
|
identification;
|
|
55778
55785
|
root;
|
|
55779
|
-
|
|
55786
|
+
profileIds;
|
|
55780
55787
|
};
|
|
55781
55788
|
__decorateClass([
|
|
55782
55789
|
IsDefined316({ message: "El correo es requerido" }),
|
|
@@ -55814,11 +55821,11 @@ __decorateClass([
|
|
|
55814
55821
|
Expose829()
|
|
55815
55822
|
], AuthUserDto.prototype, "root", 2);
|
|
55816
55823
|
__decorateClass([
|
|
55817
|
-
IsDefined316({ message: "El campo
|
|
55818
|
-
|
|
55819
|
-
IsUUID25("4", { message: "
|
|
55824
|
+
IsDefined316({ message: "El campo Perfiles es obligatorio" }),
|
|
55825
|
+
IsArray262({ message: "El campo Perfiles debe ser un array" }),
|
|
55826
|
+
IsUUID25("4", { each: true, message: "Cada perfil debe ser un UUID v4 v\xE1lido." }),
|
|
55820
55827
|
Expose829()
|
|
55821
|
-
], AuthUserDto.prototype, "
|
|
55828
|
+
], AuthUserDto.prototype, "profileIds", 2);
|
|
55822
55829
|
|
|
55823
55830
|
// src/v2/dtos/Profile.ts
|
|
55824
55831
|
import { Expose as Expose830, Transform as Transform120 } from "class-transformer";
|
|
@@ -55853,7 +55860,7 @@ var EmploymentType = /* @__PURE__ */ ((EmploymentType2) => {
|
|
|
55853
55860
|
var PayloadTokenDto = class {
|
|
55854
55861
|
user;
|
|
55855
55862
|
manager;
|
|
55856
|
-
|
|
55863
|
+
profiles = [];
|
|
55857
55864
|
company;
|
|
55858
55865
|
stockroom;
|
|
55859
55866
|
warehouse;
|
|
@@ -55867,16 +55874,17 @@ __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()
|
|
55874
55881
|
], PayloadTokenDto.prototype, "manager", 2);
|
|
55875
55882
|
__decorateClass([
|
|
55876
|
-
|
|
55883
|
+
IsArray264({ message: "Los perfiles deben ser un array" }),
|
|
55884
|
+
ValidateNested443({ each: true }),
|
|
55877
55885
|
Type513(() => ProfileDto),
|
|
55878
55886
|
Expose831()
|
|
55879
|
-
], PayloadTokenDto.prototype, "
|
|
55887
|
+
], PayloadTokenDto.prototype, "profiles", 2);
|
|
55880
55888
|
__decorateClass([
|
|
55881
55889
|
IsDefined318({ message: "La empresa es requerida" }),
|
|
55882
55890
|
Type513(() => CodeNameDto),
|
|
@@ -55933,7 +55941,7 @@ __decorateClass([
|
|
|
55933
55941
|
], SelectCrewDto.prototype, "crewCode", 2);
|
|
55934
55942
|
|
|
55935
55943
|
// src/v2/dtos/ResponseSignIn.ts
|
|
55936
|
-
import { IsArray as
|
|
55944
|
+
import { IsArray as IsArray265, IsDefined as IsDefined321, IsObject as IsObject16, IsString as IsString688, MinLength as MinLength58, ValidateNested as ValidateNested444 } from "class-validator";
|
|
55937
55945
|
import { Expose as Expose834, Type as Type514 } from "class-transformer";
|
|
55938
55946
|
|
|
55939
55947
|
// src/v2/entities/SystemOption.ts
|
|
@@ -55999,13 +56007,13 @@ __decorateClass([
|
|
|
55999
56007
|
Expose834()
|
|
56000
56008
|
], ResponseSignInDto.prototype, "auth", 2);
|
|
56001
56009
|
__decorateClass([
|
|
56002
|
-
|
|
56010
|
+
IsArray265({ message: "La propiedad debe ser un arreglo" }),
|
|
56003
56011
|
ValidateNested444({ each: true, message: "Cada elemento de la propiedad debe ser una instancia v\xE1lida" }),
|
|
56004
56012
|
Type514(() => SystemOptionEntity),
|
|
56005
56013
|
Expose834()
|
|
56006
56014
|
], ResponseSignInDto.prototype, "dataSystemOptions", 2);
|
|
56007
56015
|
__decorateClass([
|
|
56008
|
-
|
|
56016
|
+
IsArray265({ message: "Tags debe ser un arreglo" }),
|
|
56009
56017
|
IsString688({ each: true, message: "Cada elemento de tags debe ser una cadena de texto v\xE1lida" }),
|
|
56010
56018
|
MinLength58(1, { each: true, message: "Cada tag debe tener al menos un car\xE1cter" }),
|
|
56011
56019
|
Expose834()
|
|
@@ -56056,7 +56064,7 @@ __decorateClass([
|
|
|
56056
56064
|
|
|
56057
56065
|
// src/v2/dtos/CreateProfile.ts
|
|
56058
56066
|
import { Expose as Expose837, Transform as Transform123 } from "class-transformer";
|
|
56059
|
-
import { IsArray as
|
|
56067
|
+
import { IsArray as IsArray266, IsDefined as IsDefined323, IsString as IsString690, Length as Length348, MinLength as MinLength60, IsUUID as IsUUID28 } from "class-validator";
|
|
56060
56068
|
var CreateProfileDto = class {
|
|
56061
56069
|
_id;
|
|
56062
56070
|
name;
|
|
@@ -56084,7 +56092,7 @@ __decorateClass([
|
|
|
56084
56092
|
], CreateProfileDto.prototype, "description", 2);
|
|
56085
56093
|
__decorateClass([
|
|
56086
56094
|
IsDefined323({ message: "El campo opciones de sistema es requerido" }),
|
|
56087
|
-
|
|
56095
|
+
IsArray266({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
56088
56096
|
IsString690({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
56089
56097
|
MinLength60(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
56090
56098
|
Expose837()
|
|
@@ -56092,7 +56100,7 @@ __decorateClass([
|
|
|
56092
56100
|
|
|
56093
56101
|
// src/v2/dtos/UpdateProfile.ts
|
|
56094
56102
|
import { Expose as Expose838, Transform as Transform124 } from "class-transformer";
|
|
56095
|
-
import { IsArray as
|
|
56103
|
+
import { IsArray as IsArray267, IsDefined as IsDefined324, IsString as IsString691, Length as Length349, MinLength as MinLength61, IsBoolean as IsBoolean82 } from "class-validator";
|
|
56096
56104
|
var UpdateProfileDto = class {
|
|
56097
56105
|
active;
|
|
56098
56106
|
name;
|
|
@@ -56120,7 +56128,7 @@ __decorateClass([
|
|
|
56120
56128
|
], UpdateProfileDto.prototype, "description", 2);
|
|
56121
56129
|
__decorateClass([
|
|
56122
56130
|
IsDefined324({ message: "El campo opciones de sistema es requerido" }),
|
|
56123
|
-
|
|
56131
|
+
IsArray267({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
56124
56132
|
IsString691({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
56125
56133
|
MinLength61(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
56126
56134
|
Expose838()
|
|
@@ -56145,22 +56153,22 @@ __decorateClass([
|
|
|
56145
56153
|
], CompanyDto.prototype, "countryId", 2);
|
|
56146
56154
|
|
|
56147
56155
|
// src/v2/dtos/UpdateUser.ts
|
|
56148
|
-
import {
|
|
56156
|
+
import { IsArray as IsArray269, IsDefined as IsDefined326, IsUUID as IsUUID31 } from "class-validator";
|
|
56149
56157
|
import { Expose as Expose840 } from "class-transformer";
|
|
56150
56158
|
var UpdateUserDto = class {
|
|
56151
|
-
|
|
56159
|
+
profileIds;
|
|
56152
56160
|
};
|
|
56153
56161
|
__decorateClass([
|
|
56154
|
-
IsDefined326({ message: "El campo
|
|
56155
|
-
|
|
56156
|
-
IsUUID31("4", { message: "
|
|
56162
|
+
IsDefined326({ message: "El campo Perfiles es obligatorio" }),
|
|
56163
|
+
IsArray269({ message: "El campo Perfiles debe ser un array" }),
|
|
56164
|
+
IsUUID31("4", { each: true, message: "Cada perfil debe ser un UUID v4 v\xE1lido." }),
|
|
56157
56165
|
Expose840()
|
|
56158
|
-
], UpdateUserDto.prototype, "
|
|
56166
|
+
], UpdateUserDto.prototype, "profileIds", 2);
|
|
56159
56167
|
|
|
56160
56168
|
// src/v2/dtos/DocumentRequirement.ts
|
|
56161
56169
|
import { Expose as Expose841, Type as Type516 } from "class-transformer";
|
|
56162
56170
|
import {
|
|
56163
|
-
IsArray as
|
|
56171
|
+
IsArray as IsArray270,
|
|
56164
56172
|
IsBoolean as IsBoolean85,
|
|
56165
56173
|
IsDefined as IsDefined327,
|
|
56166
56174
|
IsEnum as IsEnum62,
|
|
@@ -56205,7 +56213,7 @@ __decorateClass([
|
|
|
56205
56213
|
], _DocumentRequirementDto.prototype, "label", 2);
|
|
56206
56214
|
__decorateClass([
|
|
56207
56215
|
IsDefined327({ message: "Las extensiones de archivo aceptadas son requeridas" }),
|
|
56208
|
-
|
|
56216
|
+
IsArray270({ message: "Las extensiones de archivo aceptadas deben ser un arreglo" }),
|
|
56209
56217
|
IsEnum62(FileExtension, {
|
|
56210
56218
|
each: true,
|
|
56211
56219
|
message: "Cada extensi\xF3n de archivo debe ser una extensi\xF3n v\xE1lida"
|
|
@@ -56214,7 +56222,7 @@ __decorateClass([
|
|
|
56214
56222
|
], _DocumentRequirementDto.prototype, "acceptedFileExtensions", 2);
|
|
56215
56223
|
__decorateClass([
|
|
56216
56224
|
IsDefined327({ message: "Los hijos son requeridos" }),
|
|
56217
|
-
|
|
56225
|
+
IsArray270({ message: "Los hijos deben ser un arreglo" }),
|
|
56218
56226
|
Type516(() => _DocumentRequirementDto),
|
|
56219
56227
|
ValidateNested446({ each: true }),
|
|
56220
56228
|
Expose841()
|
|
@@ -56369,7 +56377,7 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
56369
56377
|
|
|
56370
56378
|
// src/v2/dtos/CreateCompany.ts
|
|
56371
56379
|
import { Expose as Expose846 } from "class-transformer";
|
|
56372
|
-
import { IsArray as
|
|
56380
|
+
import { IsArray as IsArray271, IsBoolean as IsBoolean86, IsDefined as IsDefined332, IsEmail as IsEmail11, IsEnum as IsEnum63, IsNotEmpty as IsNotEmpty477, IsString as IsString699, IsUUID as IsUUID36 } from "class-validator";
|
|
56373
56381
|
var CreateCompanyDto = class {
|
|
56374
56382
|
_id;
|
|
56375
56383
|
companyType;
|
|
@@ -56430,13 +56438,13 @@ __decorateClass([
|
|
|
56430
56438
|
], CreateCompanyDto.prototype, "address", 2);
|
|
56431
56439
|
__decorateClass([
|
|
56432
56440
|
IsDefined332({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
56433
|
-
|
|
56441
|
+
IsArray271({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
56434
56442
|
IsEmail11({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
56435
56443
|
Expose846()
|
|
56436
56444
|
], CreateCompanyDto.prototype, "emails", 2);
|
|
56437
56445
|
__decorateClass([
|
|
56438
56446
|
IsDefined332({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
56439
|
-
|
|
56447
|
+
IsArray271({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
56440
56448
|
IsString699({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
56441
56449
|
IsNotEmpty477({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
56442
56450
|
Expose846()
|
|
@@ -56449,7 +56457,7 @@ __decorateClass([
|
|
|
56449
56457
|
|
|
56450
56458
|
// src/v2/dtos/UpdateCompany.ts
|
|
56451
56459
|
import { Expose as Expose847 } from "class-transformer";
|
|
56452
|
-
import { IsArray as
|
|
56460
|
+
import { IsArray as IsArray272, IsBoolean as IsBoolean87, IsDefined as IsDefined333, IsEmail as IsEmail12, IsEnum as IsEnum64, IsNotEmpty as IsNotEmpty478, IsString as IsString700, IsUUID as IsUUID37 } from "class-validator";
|
|
56453
56461
|
var UpdateCompanyDto = class {
|
|
56454
56462
|
_id;
|
|
56455
56463
|
companyType;
|
|
@@ -56510,13 +56518,13 @@ __decorateClass([
|
|
|
56510
56518
|
], UpdateCompanyDto.prototype, "address", 2);
|
|
56511
56519
|
__decorateClass([
|
|
56512
56520
|
IsDefined333({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
56513
|
-
|
|
56521
|
+
IsArray272({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
56514
56522
|
IsEmail12({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
56515
56523
|
Expose847()
|
|
56516
56524
|
], UpdateCompanyDto.prototype, "emails", 2);
|
|
56517
56525
|
__decorateClass([
|
|
56518
56526
|
IsDefined333({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
56519
|
-
|
|
56527
|
+
IsArray272({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
56520
56528
|
IsString700({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
56521
56529
|
IsNotEmpty478({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
56522
56530
|
Expose847()
|
|
@@ -56528,7 +56536,7 @@ __decorateClass([
|
|
|
56528
56536
|
], UpdateCompanyDto.prototype, "countryId", 2);
|
|
56529
56537
|
|
|
56530
56538
|
// src/v2/dtos/CreateUser.ts
|
|
56531
|
-
import { IsArray as
|
|
56539
|
+
import { IsArray as IsArray273, IsBoolean as IsBoolean88, IsDefined as IsDefined335, IsEmail as IsEmail13, IsString as IsString702, IsUUID as IsUUID38, ValidateNested as ValidateNested447 } from "class-validator";
|
|
56532
56540
|
import { Expose as Expose849, Transform as Transform128, Type as Type518 } from "class-transformer";
|
|
56533
56541
|
|
|
56534
56542
|
// src/v2/dtos/ResourceSystemDto.ts
|
|
@@ -56589,7 +56597,7 @@ var CreateUserDto = class {
|
|
|
56589
56597
|
companies;
|
|
56590
56598
|
delegationIds;
|
|
56591
56599
|
root;
|
|
56592
|
-
|
|
56600
|
+
profileIds;
|
|
56593
56601
|
resourceSystem;
|
|
56594
56602
|
};
|
|
56595
56603
|
__decorateClass([
|
|
@@ -56635,14 +56643,14 @@ __decorateClass([
|
|
|
56635
56643
|
], CreateUserDto.prototype, "identification", 2);
|
|
56636
56644
|
__decorateClass([
|
|
56637
56645
|
IsDefined335({ message: "El campo empresas es requerido" }),
|
|
56638
|
-
|
|
56646
|
+
IsArray273({ message: "El campo empresas debe ser un array" }),
|
|
56639
56647
|
Type518(() => CompanyDto),
|
|
56640
56648
|
ValidateNested447({ each: true }),
|
|
56641
56649
|
Expose849()
|
|
56642
56650
|
], CreateUserDto.prototype, "companies", 2);
|
|
56643
56651
|
__decorateClass([
|
|
56644
56652
|
IsDefined335({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
56645
|
-
|
|
56653
|
+
IsArray273({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
56646
56654
|
IsUUID38("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
56647
56655
|
Expose849()
|
|
56648
56656
|
], CreateUserDto.prototype, "delegationIds", 2);
|
|
@@ -56652,16 +56660,16 @@ __decorateClass([
|
|
|
56652
56660
|
Expose849()
|
|
56653
56661
|
], CreateUserDto.prototype, "root", 2);
|
|
56654
56662
|
__decorateClass([
|
|
56655
|
-
IsDefined335({ message: "El campo
|
|
56656
|
-
|
|
56657
|
-
IsUUID38("4", { message: "
|
|
56663
|
+
IsDefined335({ message: "El campo Perfiles es obligatorio" }),
|
|
56664
|
+
IsArray273({ message: "El campo Perfiles debe ser un array" }),
|
|
56665
|
+
IsUUID38("4", { each: true, message: "Cada perfil debe ser un UUID v4 v\xE1lido." }),
|
|
56658
56666
|
Expose849()
|
|
56659
|
-
], CreateUserDto.prototype, "
|
|
56667
|
+
], CreateUserDto.prototype, "profileIds", 2);
|
|
56660
56668
|
__decorateClass([
|
|
56661
56669
|
IsDefined335({ message: "Resurso sistema es obligatoria" }),
|
|
56662
56670
|
Type518(() => ResourceSystemDto),
|
|
56663
56671
|
ValidateNested447({ each: true }),
|
|
56664
|
-
|
|
56672
|
+
IsArray273({ message: "Recurso sistema debe ser un array" }),
|
|
56665
56673
|
Expose849()
|
|
56666
56674
|
], CreateUserDto.prototype, "resourceSystem", 2);
|
|
56667
56675
|
|
|
@@ -56883,11 +56891,11 @@ __decorateClass([
|
|
|
56883
56891
|
|
|
56884
56892
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
56885
56893
|
import { Expose as Expose857, Type as Type522 } from "class-transformer";
|
|
56886
|
-
import { IsArray as
|
|
56894
|
+
import { IsArray as IsArray274, IsDefined as IsDefined338, IsNumber as IsNumber544, IsOptional as IsOptional88, IsString as IsString710, ValidateNested as ValidateNested451 } from "class-validator";
|
|
56887
56895
|
|
|
56888
56896
|
// src/v2/shared-dto/FavoritoDTO.ts
|
|
56889
56897
|
import { Expose as Expose856 } from "class-transformer";
|
|
56890
|
-
import { IsString as IsString709, IsNumber as IsNumber543, IsOptional as
|
|
56898
|
+
import { IsString as IsString709, IsNumber as IsNumber543, IsOptional as IsOptional87 } from "class-validator";
|
|
56891
56899
|
var FavoritoDTO2 = class {
|
|
56892
56900
|
id = "";
|
|
56893
56901
|
titulo = "";
|
|
@@ -56908,7 +56916,7 @@ __decorateClass([
|
|
|
56908
56916
|
Expose856()
|
|
56909
56917
|
], FavoritoDTO2.prototype, "ruta", 2);
|
|
56910
56918
|
__decorateClass([
|
|
56911
|
-
|
|
56919
|
+
IsOptional87(),
|
|
56912
56920
|
IsString709(),
|
|
56913
56921
|
Expose856()
|
|
56914
56922
|
], FavoritoDTO2.prototype, "icono", 2);
|
|
@@ -56942,7 +56950,7 @@ __decorateClass([
|
|
|
56942
56950
|
Expose857()
|
|
56943
56951
|
], CreateThemeConfigUserDto.prototype, "Color", 2);
|
|
56944
56952
|
__decorateClass([
|
|
56945
|
-
|
|
56953
|
+
IsOptional88(),
|
|
56946
56954
|
IsString710({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
56947
56955
|
Expose857()
|
|
56948
56956
|
], CreateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -56953,8 +56961,8 @@ __decorateClass([
|
|
|
56953
56961
|
Expose857()
|
|
56954
56962
|
], CreateThemeConfigUserDto.prototype, "Estado", 2);
|
|
56955
56963
|
__decorateClass([
|
|
56956
|
-
|
|
56957
|
-
|
|
56964
|
+
IsOptional88(),
|
|
56965
|
+
IsArray274({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
56958
56966
|
ValidateNested451({ each: true }),
|
|
56959
56967
|
Type522(() => FavoritoDTO2),
|
|
56960
56968
|
Expose857()
|
|
@@ -56962,7 +56970,7 @@ __decorateClass([
|
|
|
56962
56970
|
|
|
56963
56971
|
// src/v2/dtos/UpdateThemeConfigUser.ts
|
|
56964
56972
|
import { Expose as Expose858, Type as Type523 } from "class-transformer";
|
|
56965
|
-
import { IsArray as
|
|
56973
|
+
import { IsArray as IsArray275, IsDefined as IsDefined339, IsNumber as IsNumber545, IsOptional as IsOptional89, IsString as IsString711, ValidateNested as ValidateNested452 } from "class-validator";
|
|
56966
56974
|
var UpdateThemeConfigUserDto = class {
|
|
56967
56975
|
ID_Theme;
|
|
56968
56976
|
Identificacion;
|
|
@@ -56987,7 +56995,7 @@ __decorateClass([
|
|
|
56987
56995
|
Expose858()
|
|
56988
56996
|
], UpdateThemeConfigUserDto.prototype, "Color", 2);
|
|
56989
56997
|
__decorateClass([
|
|
56990
|
-
|
|
56998
|
+
IsOptional89(),
|
|
56991
56999
|
IsString711({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
56992
57000
|
Expose858()
|
|
56993
57001
|
], UpdateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -56998,8 +57006,8 @@ __decorateClass([
|
|
|
56998
57006
|
Expose858()
|
|
56999
57007
|
], UpdateThemeConfigUserDto.prototype, "Estado", 2);
|
|
57000
57008
|
__decorateClass([
|
|
57001
|
-
|
|
57002
|
-
|
|
57009
|
+
IsOptional89(),
|
|
57010
|
+
IsArray275({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
57003
57011
|
ValidateNested452({ each: true }),
|
|
57004
57012
|
Type523(() => FavoritoDTO2),
|
|
57005
57013
|
Expose858()
|
|
@@ -57007,7 +57015,7 @@ __decorateClass([
|
|
|
57007
57015
|
|
|
57008
57016
|
// src/v2/dtos/CreateWarehouseExitATC.ts
|
|
57009
57017
|
import { Expose as Expose859, Transform as Transform129 } from "class-transformer";
|
|
57010
|
-
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";
|
|
57011
57019
|
var trimUpper = ({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value;
|
|
57012
57020
|
var CreateWarehouseExitATCDto = class {
|
|
57013
57021
|
personalIdentification;
|
|
@@ -57042,14 +57050,14 @@ __decorateClass([
|
|
|
57042
57050
|
Expose859()
|
|
57043
57051
|
], CreateWarehouseExitATCDto.prototype, "movementCode", 2);
|
|
57044
57052
|
__decorateClass([
|
|
57045
|
-
|
|
57053
|
+
IsOptional90(),
|
|
57046
57054
|
IsString712({ message: "La orden de trabajo debe ser una cadena de texto" }),
|
|
57047
57055
|
MaxLength11(100, { message: "La orden de trabajo no debe superar los 100 caracteres" }),
|
|
57048
57056
|
Transform129(trimUpper),
|
|
57049
57057
|
Expose859()
|
|
57050
57058
|
], CreateWarehouseExitATCDto.prototype, "workOrder", 2);
|
|
57051
57059
|
__decorateClass([
|
|
57052
|
-
|
|
57060
|
+
IsOptional90(),
|
|
57053
57061
|
IsString712({ message: "Las observaciones deben ser una cadena de texto" }),
|
|
57054
57062
|
MaxLength11(300, { message: "Las observaciones no deben superar los 300 caracteres" }),
|
|
57055
57063
|
Transform129(trimUpper),
|
|
@@ -57058,7 +57066,7 @@ __decorateClass([
|
|
|
57058
57066
|
|
|
57059
57067
|
// src/v2/dtos/AddDetailWarehouseExitATC.ts
|
|
57060
57068
|
import { Expose as Expose860, Transform as Transform130, Type as Type524 } from "class-transformer";
|
|
57061
|
-
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";
|
|
57062
57070
|
var AddDetailWarehouseExitATCDto = class {
|
|
57063
57071
|
keyCode;
|
|
57064
57072
|
searchCode;
|
|
@@ -57085,7 +57093,7 @@ __decorateClass([
|
|
|
57085
57093
|
Expose860()
|
|
57086
57094
|
], AddDetailWarehouseExitATCDto.prototype, "quantity", 2);
|
|
57087
57095
|
__decorateClass([
|
|
57088
|
-
|
|
57096
|
+
IsOptional91(),
|
|
57089
57097
|
IsString713({ message: "Las notas deben ser una cadena de texto" }),
|
|
57090
57098
|
MaxLength12(300, { message: "Las notas no deben superar los 300 caracteres" }),
|
|
57091
57099
|
Transform130(({ value }) => typeof value === "string" ? value.trim().toUpperCase() : value),
|
|
@@ -57096,11 +57104,11 @@ __decorateClass([
|
|
|
57096
57104
|
import { Expose as Expose861, Transform as Transform131, Type as Type525 } from "class-transformer";
|
|
57097
57105
|
import {
|
|
57098
57106
|
ArrayMinSize as ArrayMinSize4,
|
|
57099
|
-
IsArray as
|
|
57107
|
+
IsArray as IsArray276,
|
|
57100
57108
|
IsDefined as IsDefined342,
|
|
57101
57109
|
IsNotEmpty as IsNotEmpty482,
|
|
57102
57110
|
IsNumber as IsNumber547,
|
|
57103
|
-
IsOptional as
|
|
57111
|
+
IsOptional as IsOptional92,
|
|
57104
57112
|
IsString as IsString714,
|
|
57105
57113
|
MaxLength as MaxLength13,
|
|
57106
57114
|
Min as Min358,
|
|
@@ -57149,8 +57157,8 @@ __decorateClass([
|
|
|
57149
57157
|
Expose861()
|
|
57150
57158
|
], ShiftTransferLineDto.prototype, "quantity", 2);
|
|
57151
57159
|
__decorateClass([
|
|
57152
|
-
|
|
57153
|
-
|
|
57160
|
+
IsOptional92(),
|
|
57161
|
+
IsArray276({ message: "Las series deben ser una lista" }),
|
|
57154
57162
|
IsString714({ each: true, message: "Cada serie debe ser una cadena de texto" }),
|
|
57155
57163
|
Expose861()
|
|
57156
57164
|
], ShiftTransferLineDto.prototype, "series", 2);
|
|
@@ -57160,7 +57168,7 @@ var CreateShiftTransferDto = class {
|
|
|
57160
57168
|
};
|
|
57161
57169
|
__decorateClass([
|
|
57162
57170
|
IsDefined342({ message: "El detalle es requerido" }),
|
|
57163
|
-
|
|
57171
|
+
IsArray276({ message: "El detalle debe ser una lista" }),
|
|
57164
57172
|
ArrayMinSize4(1, { message: "El detalle es requerido" }),
|
|
57165
57173
|
HasLineWithQuantity({ message: "Debe entregar al menos un material con cantidad mayor a 0" }),
|
|
57166
57174
|
ValidateNested453({ each: true }),
|
|
@@ -57168,7 +57176,7 @@ __decorateClass([
|
|
|
57168
57176
|
Expose861()
|
|
57169
57177
|
], CreateShiftTransferDto.prototype, "lines", 2);
|
|
57170
57178
|
__decorateClass([
|
|
57171
|
-
|
|
57179
|
+
IsOptional92(),
|
|
57172
57180
|
IsString714({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
57173
57181
|
MaxLength13(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
57174
57182
|
Transform131(trimUpper2),
|
|
@@ -57181,7 +57189,7 @@ import {
|
|
|
57181
57189
|
IsDefined as IsDefined343,
|
|
57182
57190
|
IsInt as IsInt2,
|
|
57183
57191
|
IsNumber as IsNumber548,
|
|
57184
|
-
IsOptional as
|
|
57192
|
+
IsOptional as IsOptional93,
|
|
57185
57193
|
IsString as IsString715,
|
|
57186
57194
|
MaxLength as MaxLength14,
|
|
57187
57195
|
Min as Min359
|
|
@@ -57200,7 +57208,7 @@ __decorateClass([
|
|
|
57200
57208
|
Expose862()
|
|
57201
57209
|
], AddInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
57202
57210
|
__decorateClass([
|
|
57203
|
-
|
|
57211
|
+
IsOptional93(),
|
|
57204
57212
|
IsString715({ message: "La serie debe ser una cadena de texto" }),
|
|
57205
57213
|
Transform132(trim),
|
|
57206
57214
|
Expose862()
|
|
@@ -57213,7 +57221,7 @@ __decorateClass([
|
|
|
57213
57221
|
Expose862()
|
|
57214
57222
|
], AddInventorySomacylOrderDto.prototype, "cantidad", 2);
|
|
57215
57223
|
__decorateClass([
|
|
57216
|
-
|
|
57224
|
+
IsOptional93(),
|
|
57217
57225
|
IsString715({ message: "La serie del contador retirado debe ser una cadena de texto" }),
|
|
57218
57226
|
MaxLength14(50, { message: "La serie del contador retirado no debe superar los 50 caracteres" }),
|
|
57219
57227
|
Transform132(trim),
|
|
@@ -57247,7 +57255,7 @@ __decorateClass([
|
|
|
57247
57255
|
|
|
57248
57256
|
// src/v2/dtos/DeleteInventorySomacylOrder.ts
|
|
57249
57257
|
import { Expose as Expose864, Transform as Transform133, Type as Type527 } from "class-transformer";
|
|
57250
|
-
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";
|
|
57251
57259
|
var DeleteInventorySomacylOrderDto = class {
|
|
57252
57260
|
ID_Stock;
|
|
57253
57261
|
invsn;
|
|
@@ -57259,7 +57267,7 @@ __decorateClass([
|
|
|
57259
57267
|
Expose864()
|
|
57260
57268
|
], DeleteInventorySomacylOrderDto.prototype, "ID_Stock", 2);
|
|
57261
57269
|
__decorateClass([
|
|
57262
|
-
|
|
57270
|
+
IsOptional94(),
|
|
57263
57271
|
IsString716({ message: "La serie debe ser una cadena de texto" }),
|
|
57264
57272
|
Transform133(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
57265
57273
|
Expose864()
|
|
@@ -57267,7 +57275,7 @@ __decorateClass([
|
|
|
57267
57275
|
|
|
57268
57276
|
// src/v2/dtos/FinalizeSomacylOrder.ts
|
|
57269
57277
|
import { Expose as Expose865, Transform as Transform134 } from "class-transformer";
|
|
57270
|
-
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";
|
|
57271
57279
|
var estadosFinalizacion = ["Finalizada" /* FINALIZADA */, "No Finalizada" /* NO_FINALIZADA */];
|
|
57272
57280
|
var motivosNoFinalizado = Object.values(ReasonNoFinalizedSomacyl).filter((e) => e !== "" /* INICIAL */);
|
|
57273
57281
|
var trim2 = ({ value }) => typeof value === "string" ? value.trim() : value;
|
|
@@ -57337,7 +57345,7 @@ __decorateClass([
|
|
|
57337
57345
|
Expose865()
|
|
57338
57346
|
], FinalizeSomacylOrderDto.prototype, "observaciones", 2);
|
|
57339
57347
|
__decorateClass([
|
|
57340
|
-
|
|
57348
|
+
IsOptional95(),
|
|
57341
57349
|
IsString717({ message: "El n\xFAmero de precinto debe ser una cadena de texto" }),
|
|
57342
57350
|
MaxLength15(50, { message: "El n\xFAmero de precinto no debe superar los 50 caracteres" }),
|
|
57343
57351
|
Transform134(trim2),
|
|
@@ -57346,7 +57354,7 @@ __decorateClass([
|
|
|
57346
57354
|
|
|
57347
57355
|
// src/v2/dtos/UploadFileSomacylOrder.ts
|
|
57348
57356
|
import { Expose as Expose866, Transform as Transform135 } from "class-transformer";
|
|
57349
|
-
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";
|
|
57350
57358
|
var UploadFileSomacylOrderDto = class {
|
|
57351
57359
|
posicion;
|
|
57352
57360
|
observacion;
|
|
@@ -57359,7 +57367,7 @@ __decorateClass([
|
|
|
57359
57367
|
Expose866()
|
|
57360
57368
|
], UploadFileSomacylOrderDto.prototype, "posicion", 2);
|
|
57361
57369
|
__decorateClass([
|
|
57362
|
-
|
|
57370
|
+
IsOptional96(),
|
|
57363
57371
|
IsString718({ message: "La observaci\xF3n debe ser una cadena de texto" }),
|
|
57364
57372
|
MaxLength16(300, { message: "La observaci\xF3n no debe superar los 300 caracteres" }),
|
|
57365
57373
|
Transform135(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
@@ -57396,7 +57404,7 @@ __decorateClass([
|
|
|
57396
57404
|
|
|
57397
57405
|
// src/v2/dtos/UpdateHomePassAnexos.ts
|
|
57398
57406
|
import { Expose as Expose868, Type as Type528 } from "class-transformer";
|
|
57399
|
-
import { IsArray as
|
|
57407
|
+
import { IsArray as IsArray277, IsDefined as IsDefined349, IsInt as IsInt5, Min as Min361, ValidateNested as ValidateNested454 } from "class-validator";
|
|
57400
57408
|
var UpdateHomePassAnexosDto = class extends HomePassRefDto {
|
|
57401
57409
|
ID_Trabajo = 0;
|
|
57402
57410
|
Anexos = [];
|
|
@@ -57409,7 +57417,7 @@ __decorateClass([
|
|
|
57409
57417
|
], UpdateHomePassAnexosDto.prototype, "ID_Trabajo", 2);
|
|
57410
57418
|
__decorateClass([
|
|
57411
57419
|
IsDefined349({ message: "Los anexos son requeridos" }),
|
|
57412
|
-
|
|
57420
|
+
IsArray277({ message: "Los anexos deben ser un arreglo" }),
|
|
57413
57421
|
Type528(() => FilesDocDTO),
|
|
57414
57422
|
ValidateNested454({ each: true }),
|
|
57415
57423
|
Expose868()
|
|
@@ -57430,7 +57438,7 @@ __decorateClass([
|
|
|
57430
57438
|
|
|
57431
57439
|
// src/v2/dtos/CorrectRejectedValuation.ts
|
|
57432
57440
|
import { Expose as Expose870, Type as Type529 } from "class-transformer";
|
|
57433
|
-
import { IsArray as
|
|
57441
|
+
import { IsArray as IsArray278, IsDefined as IsDefined351, IsInt as IsInt6, IsOptional as IsOptional97, Min as Min362, ValidateNested as ValidateNested455 } from "class-validator";
|
|
57434
57442
|
var CorrectRejectedValuationDto = class {
|
|
57435
57443
|
ID_Valorizacion = 0;
|
|
57436
57444
|
Anexos;
|
|
@@ -57442,8 +57450,8 @@ __decorateClass([
|
|
|
57442
57450
|
Expose870()
|
|
57443
57451
|
], CorrectRejectedValuationDto.prototype, "ID_Valorizacion", 2);
|
|
57444
57452
|
__decorateClass([
|
|
57445
|
-
|
|
57446
|
-
|
|
57453
|
+
IsOptional97(),
|
|
57454
|
+
IsArray278({ message: "Los anexos deben ser un arreglo" }),
|
|
57447
57455
|
Type529(() => FilesDocDTO),
|
|
57448
57456
|
ValidateNested455({ each: true }),
|
|
57449
57457
|
Expose870()
|
|
@@ -57453,13 +57461,13 @@ __decorateClass([
|
|
|
57453
57461
|
import { Expose as Expose871, Transform as Transform137, Type as Type530 } from "class-transformer";
|
|
57454
57462
|
import {
|
|
57455
57463
|
ArrayMinSize as ArrayMinSize5,
|
|
57456
|
-
IsArray as
|
|
57464
|
+
IsArray as IsArray279,
|
|
57457
57465
|
IsDefined as IsDefined352,
|
|
57458
57466
|
IsIn as IsIn14,
|
|
57459
57467
|
IsInt as IsInt7,
|
|
57460
57468
|
IsNotEmpty as IsNotEmpty485,
|
|
57461
57469
|
IsNumber as IsNumber549,
|
|
57462
|
-
IsOptional as
|
|
57470
|
+
IsOptional as IsOptional98,
|
|
57463
57471
|
IsString as IsString720,
|
|
57464
57472
|
Length as Length353,
|
|
57465
57473
|
Min as Min363,
|
|
@@ -57513,12 +57521,12 @@ __decorateClass([
|
|
|
57513
57521
|
Expose871()
|
|
57514
57522
|
], PreLiquidateMaterialDto.prototype, "Cantidad", 2);
|
|
57515
57523
|
__decorateClass([
|
|
57516
|
-
|
|
57524
|
+
IsOptional98(),
|
|
57517
57525
|
IsNumber549({}, { message: "La cantidad informada debe ser un n\xFAmero" }),
|
|
57518
57526
|
Expose871()
|
|
57519
57527
|
], PreLiquidateMaterialDto.prototype, "CantidadInformada", 2);
|
|
57520
57528
|
__decorateClass([
|
|
57521
|
-
|
|
57529
|
+
IsOptional98(),
|
|
57522
57530
|
IsNumber549({}, { message: "El ID del stock personal debe ser un n\xFAmero" }),
|
|
57523
57531
|
Expose871()
|
|
57524
57532
|
], PreLiquidateMaterialDto.prototype, "ID_StockPersonal", 2);
|
|
@@ -57529,7 +57537,7 @@ __decorateClass([
|
|
|
57529
57537
|
Expose871()
|
|
57530
57538
|
], PreLiquidateMaterialDto.prototype, "UnidadMedida", 2);
|
|
57531
57539
|
__decorateClass([
|
|
57532
|
-
|
|
57540
|
+
IsOptional98(),
|
|
57533
57541
|
Type530(() => CodigoDescripcionDTO),
|
|
57534
57542
|
ValidateNested456(),
|
|
57535
57543
|
Expose871()
|
|
@@ -57557,7 +57565,7 @@ __decorateClass([
|
|
|
57557
57565
|
Expose871()
|
|
57558
57566
|
], PreLiquidateLineDto.prototype, "Cantidad", 2);
|
|
57559
57567
|
__decorateClass([
|
|
57560
|
-
|
|
57568
|
+
IsOptional98(),
|
|
57561
57569
|
IsIn14(BAREMO_SUBCONTRATA_TYPES, { message: `El tipo de baremo debe ser uno de: ${BAREMO_SUBCONTRATA_TYPES.join(", ")}` }),
|
|
57562
57570
|
Expose871()
|
|
57563
57571
|
], PreLiquidateLineDto.prototype, "TipoBaremoSubcontrata", 2);
|
|
@@ -57568,19 +57576,19 @@ __decorateClass([
|
|
|
57568
57576
|
Expose871()
|
|
57569
57577
|
], PreLiquidateLineDto.prototype, "HomePass", 2);
|
|
57570
57578
|
__decorateClass([
|
|
57571
|
-
|
|
57579
|
+
IsArray279({ message: "Los materiales instalados deben ser un arreglo" }),
|
|
57572
57580
|
Type530(() => PreLiquidateMaterialDto),
|
|
57573
57581
|
ValidateNested456({ each: true }),
|
|
57574
57582
|
Expose871()
|
|
57575
57583
|
], PreLiquidateLineDto.prototype, "MaterialesInstalados", 2);
|
|
57576
57584
|
__decorateClass([
|
|
57577
|
-
|
|
57585
|
+
IsArray279({ message: "Los materiales retirados deben ser un arreglo" }),
|
|
57578
57586
|
Type530(() => PreLiquidateMaterialDto),
|
|
57579
57587
|
ValidateNested456({ each: true }),
|
|
57580
57588
|
Expose871()
|
|
57581
57589
|
], PreLiquidateLineDto.prototype, "MaterialesRetirados", 2);
|
|
57582
57590
|
__decorateClass([
|
|
57583
|
-
|
|
57591
|
+
IsArray279({ message: "Los anexos deben ser un arreglo" }),
|
|
57584
57592
|
Type530(() => FilesDocDTO),
|
|
57585
57593
|
ValidateNested456({ each: true }),
|
|
57586
57594
|
Expose871()
|
|
@@ -57630,19 +57638,19 @@ __decorateClass([
|
|
|
57630
57638
|
Expose871()
|
|
57631
57639
|
], PreLiquidateValuationDto.prototype, "Tipo", 2);
|
|
57632
57640
|
__decorateClass([
|
|
57633
|
-
|
|
57641
|
+
IsOptional98(),
|
|
57634
57642
|
IsInt7({ message: "El ID de la valorizaci\xF3n rechazada debe ser un n\xFAmero entero" }),
|
|
57635
57643
|
Min363(1, { message: "El ID de la valorizaci\xF3n rechazada no es v\xE1lido" }),
|
|
57636
57644
|
Expose871()
|
|
57637
57645
|
], PreLiquidateValuationDto.prototype, "ID_ValorizacionRechazadaMetraje", 2);
|
|
57638
57646
|
__decorateClass([
|
|
57639
|
-
|
|
57647
|
+
IsArray279({ message: "La MO no reservada debe ser un arreglo" }),
|
|
57640
57648
|
Type530(() => PreLiquidateNewLaborDto),
|
|
57641
57649
|
ValidateNested456({ each: true }),
|
|
57642
57650
|
Expose871()
|
|
57643
57651
|
], PreLiquidateValuationDto.prototype, "NuevasMO", 2);
|
|
57644
57652
|
__decorateClass([
|
|
57645
|
-
|
|
57653
|
+
IsArray279({ message: "Las l\xEDneas deben ser un arreglo" }),
|
|
57646
57654
|
ArrayMinSize5(1, { message: "\xA1No se agreg\xF3 asignaciones!" }),
|
|
57647
57655
|
Type530(() => PreLiquidateLineDto),
|
|
57648
57656
|
ValidateNested456({ each: true }),
|
|
@@ -57653,11 +57661,11 @@ __decorateClass([
|
|
|
57653
57661
|
import { Expose as Expose872, Transform as Transform138, Type as Type531 } from "class-transformer";
|
|
57654
57662
|
import {
|
|
57655
57663
|
ArrayMinSize as ArrayMinSize6,
|
|
57656
|
-
IsArray as
|
|
57664
|
+
IsArray as IsArray280,
|
|
57657
57665
|
IsDefined as IsDefined353,
|
|
57658
57666
|
IsNotEmpty as IsNotEmpty486,
|
|
57659
57667
|
IsNumber as IsNumber550,
|
|
57660
|
-
IsOptional as
|
|
57668
|
+
IsOptional as IsOptional99,
|
|
57661
57669
|
IsString as IsString721,
|
|
57662
57670
|
Matches as Matches6,
|
|
57663
57671
|
Min as Min364,
|
|
@@ -57692,7 +57700,7 @@ __decorateClass([
|
|
|
57692
57700
|
Expose872()
|
|
57693
57701
|
], PreLiquidateLineCHILE9512Dto.prototype, "CantidadUO", 2);
|
|
57694
57702
|
__decorateClass([
|
|
57695
|
-
|
|
57703
|
+
IsArray280({ message: "Los anexos deben ser un arreglo" }),
|
|
57696
57704
|
Type531(() => FilesDocDTO),
|
|
57697
57705
|
ValidateNested457({ each: true }),
|
|
57698
57706
|
Expose872()
|
|
@@ -57710,13 +57718,13 @@ __decorateClass([
|
|
|
57710
57718
|
Expose872()
|
|
57711
57719
|
], PreLiquidateValuationCHILE9512Dto.prototype, "ID_Operacion", 2);
|
|
57712
57720
|
__decorateClass([
|
|
57713
|
-
|
|
57721
|
+
IsOptional99(),
|
|
57714
57722
|
IsString721({ message: "El c\xF3digo del parte diario debe ser una cadena de texto" }),
|
|
57715
57723
|
Matches6(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
57716
57724
|
Expose872()
|
|
57717
57725
|
], PreLiquidateValuationCHILE9512Dto.prototype, "CodigoParteDiario", 2);
|
|
57718
57726
|
__decorateClass([
|
|
57719
|
-
|
|
57727
|
+
IsArray280({ message: "Las l\xEDneas deben ser un arreglo" }),
|
|
57720
57728
|
ArrayMinSize6(1, { message: "No ha agregado ninguna Valorizaci\xF3n." }),
|
|
57721
57729
|
Type531(() => PreLiquidateLineCHILE9512Dto),
|
|
57722
57730
|
ValidateNested457({ each: true }),
|
|
@@ -57727,12 +57735,12 @@ __decorateClass([
|
|
|
57727
57735
|
import { Expose as Expose873, Transform as Transform139, Type as Type532 } from "class-transformer";
|
|
57728
57736
|
import {
|
|
57729
57737
|
ArrayMinSize as ArrayMinSize7,
|
|
57730
|
-
IsArray as
|
|
57738
|
+
IsArray as IsArray281,
|
|
57731
57739
|
IsDefined as IsDefined354,
|
|
57732
57740
|
IsInt as IsInt8,
|
|
57733
57741
|
IsNotEmpty as IsNotEmpty487,
|
|
57734
57742
|
IsNumber as IsNumber551,
|
|
57735
|
-
IsOptional as
|
|
57743
|
+
IsOptional as IsOptional100,
|
|
57736
57744
|
IsPositive,
|
|
57737
57745
|
IsString as IsString722,
|
|
57738
57746
|
Matches as Matches7,
|
|
@@ -57817,25 +57825,25 @@ __decorateClass([
|
|
|
57817
57825
|
Expose873()
|
|
57818
57826
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "CantidadMO", 2);
|
|
57819
57827
|
__decorateClass([
|
|
57820
|
-
|
|
57828
|
+
IsArray281({ message: "La Sub MO debe ser un arreglo" }),
|
|
57821
57829
|
Type532(() => PreLiquidateSubMOCOLOMBIA9612Dto),
|
|
57822
57830
|
ValidateNested458({ each: true }),
|
|
57823
57831
|
Expose873()
|
|
57824
57832
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "SubManoObra", 2);
|
|
57825
57833
|
__decorateClass([
|
|
57826
|
-
|
|
57834
|
+
IsArray281({ message: "Los materiales instalados deben ser un arreglo" }),
|
|
57827
57835
|
Type532(() => PreLiquidateInstalledMaterialCOLOMBIA9612Dto),
|
|
57828
57836
|
ValidateNested458({ each: true }),
|
|
57829
57837
|
Expose873()
|
|
57830
57838
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "MaterialesInstalados", 2);
|
|
57831
57839
|
__decorateClass([
|
|
57832
|
-
|
|
57840
|
+
IsArray281({ message: "Los materiales retirados deben ser un arreglo" }),
|
|
57833
57841
|
Type532(() => PreLiquidateRemovedMaterialCOLOMBIA9612Dto),
|
|
57834
57842
|
ValidateNested458({ each: true }),
|
|
57835
57843
|
Expose873()
|
|
57836
57844
|
], PreLiquidateLineCOLOMBIA9612Dto.prototype, "MaterialesRetirados", 2);
|
|
57837
57845
|
__decorateClass([
|
|
57838
|
-
|
|
57846
|
+
IsArray281({ message: "Los anexos deben ser un arreglo" }),
|
|
57839
57847
|
Type532(() => FilesDocDTO),
|
|
57840
57848
|
ValidateNested458({ each: true }),
|
|
57841
57849
|
Expose873()
|
|
@@ -57854,19 +57862,19 @@ __decorateClass([
|
|
|
57854
57862
|
Expose873()
|
|
57855
57863
|
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "ID_Operacion", 2);
|
|
57856
57864
|
__decorateClass([
|
|
57857
|
-
|
|
57865
|
+
IsOptional100(),
|
|
57858
57866
|
IsString722({ message: "El c\xF3digo del parte diario debe ser una cadena de texto" }),
|
|
57859
57867
|
Matches7(/^\d{8}$/, { message: "El c\xF3digo del parte diario debe tener el formato YYYYMMDD" }),
|
|
57860
57868
|
Expose873()
|
|
57861
57869
|
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "CodigoParteDiario", 2);
|
|
57862
57870
|
__decorateClass([
|
|
57863
|
-
|
|
57871
|
+
IsOptional100(),
|
|
57864
57872
|
Type532(() => Number),
|
|
57865
57873
|
IsNumber551({}, { message: "La valorizaci\xF3n rechazada debe ser un n\xFAmero" }),
|
|
57866
57874
|
Expose873()
|
|
57867
57875
|
], PreLiquidateValuationCOLOMBIA9612Dto.prototype, "ID_ValorizacionRechazadaMetraje", 2);
|
|
57868
57876
|
__decorateClass([
|
|
57869
|
-
|
|
57877
|
+
IsArray281({ message: "Las l\xEDneas deben ser un arreglo" }),
|
|
57870
57878
|
ArrayMinSize7(1, { message: "No ha agregado ninguna Valorizaci\xF3n." }),
|
|
57871
57879
|
Type532(() => PreLiquidateLineCOLOMBIA9612Dto),
|
|
57872
57880
|
ValidateNested458({ each: true }),
|
|
@@ -57889,7 +57897,7 @@ __decorateClass([
|
|
|
57889
57897
|
import { Expose as Expose875, Type as Type533 } from "class-transformer";
|
|
57890
57898
|
import {
|
|
57891
57899
|
ArrayMinSize as ArrayMinSize8,
|
|
57892
|
-
IsArray as
|
|
57900
|
+
IsArray as IsArray282,
|
|
57893
57901
|
IsDate as IsDate201,
|
|
57894
57902
|
IsDefined as IsDefined356,
|
|
57895
57903
|
IsString as IsString723,
|
|
@@ -57947,12 +57955,12 @@ __decorateClass([
|
|
|
57947
57955
|
Expose875()
|
|
57948
57956
|
], SaveDailyReportDto.prototype, "Novedad", 2);
|
|
57949
57957
|
__decorateClass([
|
|
57950
|
-
|
|
57958
|
+
IsArray282({ message: "El personal debe ser un arreglo" }),
|
|
57951
57959
|
IsString723({ each: true, message: "Cada personal debe ser una identificaci\xF3n" }),
|
|
57952
57960
|
Expose875()
|
|
57953
57961
|
], SaveDailyReportDto.prototype, "Personal", 2);
|
|
57954
57962
|
__decorateClass([
|
|
57955
|
-
|
|
57963
|
+
IsArray282({ message: "Las fotos deben ser un arreglo" }),
|
|
57956
57964
|
ArrayMinSize8(2, { message: "Fotos es requerido. Al menos debe adjuntar dos fotos." }),
|
|
57957
57965
|
Type533(() => SaveDailyReportPhotoDto),
|
|
57958
57966
|
ValidateNested459({ each: true }),
|
|
@@ -58078,7 +58086,7 @@ __decorateClass([
|
|
|
58078
58086
|
], DelegationEntity.prototype, "name", 2);
|
|
58079
58087
|
|
|
58080
58088
|
// src/v2/entities/User.ts
|
|
58081
|
-
import { IsArray as
|
|
58089
|
+
import { IsArray as IsArray283, IsBoolean as IsBoolean90, IsDefined as IsDefined360, IsEmail as IsEmail14, IsString as IsString726, IsUUID as IsUUID43, ValidateNested as ValidateNested460 } from "class-validator";
|
|
58082
58090
|
import { Expose as Expose880, Transform as Transform141, Type as Type534 } from "class-transformer";
|
|
58083
58091
|
var UserEntity = class extends BaseEntity {
|
|
58084
58092
|
email;
|
|
@@ -58090,7 +58098,7 @@ var UserEntity = class extends BaseEntity {
|
|
|
58090
58098
|
companies;
|
|
58091
58099
|
delegationIds;
|
|
58092
58100
|
root;
|
|
58093
|
-
|
|
58101
|
+
profileIds;
|
|
58094
58102
|
resourceSystem;
|
|
58095
58103
|
};
|
|
58096
58104
|
__decorateClass([
|
|
@@ -58131,14 +58139,14 @@ __decorateClass([
|
|
|
58131
58139
|
], UserEntity.prototype, "identification", 2);
|
|
58132
58140
|
__decorateClass([
|
|
58133
58141
|
IsDefined360({ message: "El campo empresas es requerido" }),
|
|
58134
|
-
|
|
58142
|
+
IsArray283({ message: "El campo empresas debe ser un array" }),
|
|
58135
58143
|
Type534(() => CompanyDto),
|
|
58136
58144
|
ValidateNested460({ each: true }),
|
|
58137
58145
|
Expose880()
|
|
58138
58146
|
], UserEntity.prototype, "companies", 2);
|
|
58139
58147
|
__decorateClass([
|
|
58140
58148
|
IsDefined360({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
58141
|
-
|
|
58149
|
+
IsArray283({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
58142
58150
|
IsUUID43("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
58143
58151
|
Expose880()
|
|
58144
58152
|
], UserEntity.prototype, "delegationIds", 2);
|
|
@@ -58148,22 +58156,22 @@ __decorateClass([
|
|
|
58148
58156
|
Expose880()
|
|
58149
58157
|
], UserEntity.prototype, "root", 2);
|
|
58150
58158
|
__decorateClass([
|
|
58151
|
-
IsDefined360({ message: "El campo
|
|
58152
|
-
|
|
58153
|
-
IsUUID43("4", { message: "
|
|
58159
|
+
IsDefined360({ message: "El campo Perfiles es obligatorio" }),
|
|
58160
|
+
IsArray283({ message: "El campo Perfiles debe ser un array" }),
|
|
58161
|
+
IsUUID43("4", { each: true, message: "Cada perfil debe ser un UUID v4 v\xE1lido." }),
|
|
58154
58162
|
Expose880()
|
|
58155
|
-
], UserEntity.prototype, "
|
|
58163
|
+
], UserEntity.prototype, "profileIds", 2);
|
|
58156
58164
|
__decorateClass([
|
|
58157
58165
|
IsDefined360({ message: "Resurso sistema es obligatoria" }),
|
|
58158
58166
|
Type534(() => ResourceSystemDto),
|
|
58159
58167
|
ValidateNested460({ each: true }),
|
|
58160
|
-
|
|
58168
|
+
IsArray283({ message: "Recurso sistema debe ser un array" }),
|
|
58161
58169
|
Expose880()
|
|
58162
58170
|
], UserEntity.prototype, "resourceSystem", 2);
|
|
58163
58171
|
|
|
58164
58172
|
// src/v2/entities/Profile.ts
|
|
58165
58173
|
import { Expose as Expose881, Transform as Transform142 } from "class-transformer";
|
|
58166
|
-
import { IsArray as
|
|
58174
|
+
import { IsArray as IsArray284, IsDefined as IsDefined361, IsString as IsString727, Length as Length355, MinLength as MinLength65 } from "class-validator";
|
|
58167
58175
|
var ProfileEntity = class extends BaseEntity {
|
|
58168
58176
|
name;
|
|
58169
58177
|
description;
|
|
@@ -58185,7 +58193,7 @@ __decorateClass([
|
|
|
58185
58193
|
], ProfileEntity.prototype, "description", 2);
|
|
58186
58194
|
__decorateClass([
|
|
58187
58195
|
IsDefined361({ message: "El campo opciones de sistema es requerido" }),
|
|
58188
|
-
|
|
58196
|
+
IsArray284({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
58189
58197
|
IsString727({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
58190
58198
|
MinLength65(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
58191
58199
|
Expose881()
|
|
@@ -58213,7 +58221,7 @@ __decorateClass([
|
|
|
58213
58221
|
|
|
58214
58222
|
// src/v2/entities/Company.ts
|
|
58215
58223
|
import { Expose as Expose883 } from "class-transformer";
|
|
58216
|
-
import { IsArray as
|
|
58224
|
+
import { IsArray as IsArray285, IsBoolean as IsBoolean91, IsDefined as IsDefined363, IsEmail as IsEmail15, IsEnum as IsEnum68, IsNotEmpty as IsNotEmpty491, IsString as IsString729, IsUUID as IsUUID44 } from "class-validator";
|
|
58217
58225
|
var CompanyEntity = class extends BaseEntity {
|
|
58218
58226
|
companyType;
|
|
58219
58227
|
identification;
|
|
@@ -58268,13 +58276,13 @@ __decorateClass([
|
|
|
58268
58276
|
], CompanyEntity.prototype, "address", 2);
|
|
58269
58277
|
__decorateClass([
|
|
58270
58278
|
IsDefined363({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
58271
|
-
|
|
58279
|
+
IsArray285({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
58272
58280
|
IsEmail15({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
58273
58281
|
Expose883()
|
|
58274
58282
|
], CompanyEntity.prototype, "emails", 2);
|
|
58275
58283
|
__decorateClass([
|
|
58276
58284
|
IsDefined363({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
58277
|
-
|
|
58285
|
+
IsArray285({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
58278
58286
|
IsString729({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
58279
58287
|
IsNotEmpty491({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
58280
58288
|
Expose883()
|
|
@@ -58287,7 +58295,7 @@ __decorateClass([
|
|
|
58287
58295
|
|
|
58288
58296
|
// src/v2/entities/ThemeConfigCountry.ts
|
|
58289
58297
|
import { Expose as Expose885, Type as Type535 } from "class-transformer";
|
|
58290
|
-
import { IsNumber as IsNumber552, IsString as IsString731, ValidateNested as ValidateNested461, IsArray as
|
|
58298
|
+
import { IsNumber as IsNumber552, IsString as IsString731, ValidateNested as ValidateNested461, IsArray as IsArray286 } from "class-validator";
|
|
58291
58299
|
|
|
58292
58300
|
// src/v2/shared-dto/ThemeCountryManualDTO.ts
|
|
58293
58301
|
import { Expose as Expose884 } from "class-transformer";
|
|
@@ -58343,7 +58351,7 @@ __decorateClass([
|
|
|
58343
58351
|
Expose885()
|
|
58344
58352
|
], ThemeConfigCountryEntity.prototype, "ImgLogoNavBar", 2);
|
|
58345
58353
|
__decorateClass([
|
|
58346
|
-
|
|
58354
|
+
IsArray286(),
|
|
58347
58355
|
Type535(() => ThemeCountryManualDTO2),
|
|
58348
58356
|
ValidateNested461({ each: true }),
|
|
58349
58357
|
Expose885()
|
|
@@ -58361,7 +58369,7 @@ __decorateClass([
|
|
|
58361
58369
|
|
|
58362
58370
|
// src/v2/entities/ThemeConfigUser.ts
|
|
58363
58371
|
import { Expose as Expose886, Type as Type536 } from "class-transformer";
|
|
58364
|
-
import { IsNumber as IsNumber553, IsString as IsString732, ValidateNested as ValidateNested462, IsArray 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";
|
|
58365
58373
|
var ThemeConfigUserEntity = class {
|
|
58366
58374
|
_id;
|
|
58367
58375
|
active = true;
|
|
@@ -58373,7 +58381,7 @@ var ThemeConfigUserEntity = class {
|
|
|
58373
58381
|
Favoritos = [];
|
|
58374
58382
|
};
|
|
58375
58383
|
__decorateClass([
|
|
58376
|
-
|
|
58384
|
+
IsOptional101(),
|
|
58377
58385
|
Expose886()
|
|
58378
58386
|
], ThemeConfigUserEntity.prototype, "_id", 2);
|
|
58379
58387
|
__decorateClass([
|
|
@@ -58394,7 +58402,7 @@ __decorateClass([
|
|
|
58394
58402
|
Expose886()
|
|
58395
58403
|
], ThemeConfigUserEntity.prototype, "Color", 2);
|
|
58396
58404
|
__decorateClass([
|
|
58397
|
-
|
|
58405
|
+
IsOptional101(),
|
|
58398
58406
|
IsString732(),
|
|
58399
58407
|
Expose886()
|
|
58400
58408
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
@@ -58404,8 +58412,8 @@ __decorateClass([
|
|
|
58404
58412
|
Expose886()
|
|
58405
58413
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
58406
58414
|
__decorateClass([
|
|
58407
|
-
|
|
58408
|
-
|
|
58415
|
+
IsOptional101(),
|
|
58416
|
+
IsArray287(),
|
|
58409
58417
|
ValidateNested462({ each: true }),
|
|
58410
58418
|
Type536(() => FavoritoDTO2),
|
|
58411
58419
|
Expose886()
|