sigo-entities 1.2.485 → 1.2.486
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/REPORTE_ESTRUCTURA_2026-08-31.md +215 -215
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +18 -0
- package/dist/index.mjs +328 -310
- package/package.json +2 -2
- package/.claude/CLAUDE.md +0 -70
- package/.claude/settings.json +0 -21
- package/.claude/skills/mdl-administracion/SKILL.md +0 -60
- package/.claude/skills/mdl-configuracion/SKILL.md +0 -49
- package/.claude/skills/ope-im/SKILL.md +0 -71
- package/.claude/skills/ope-logistica/SKILL.md +0 -60
- package/.claude/skills/ope-pex/SKILL.md +0 -106
- package/.claude/skills/shared-dtos/SKILL.md +0 -76
package/dist/index.mjs
CHANGED
|
@@ -7142,10 +7142,13 @@ __decorateClass([
|
|
|
7142
7142
|
|
|
7143
7143
|
// src/programados/procesos/reservaManoObraRegularizacion/shared/requestDto/asignacion-regularizar-dto.ts
|
|
7144
7144
|
import { Expose as Expose144 } from "class-transformer";
|
|
7145
|
-
import { IsDefined as IsDefined44, IsNumber as IsNumber101, IsString as IsString117, Min as Min89, MinLength as MinLength16 } from "class-validator";
|
|
7145
|
+
import { IsDefined as IsDefined44, IsNumber as IsNumber101, IsOptional as IsOptional6, IsString as IsString117, Min as Min89, MinLength as MinLength16 } from "class-validator";
|
|
7146
7146
|
var AsignacionRegularizarDTO = class {
|
|
7147
7147
|
LineaCodigoCub;
|
|
7148
7148
|
CantidadMOAssign;
|
|
7149
|
+
ID_ManoObra;
|
|
7150
|
+
ID_Amap;
|
|
7151
|
+
CodigoBarra;
|
|
7149
7152
|
};
|
|
7150
7153
|
__decorateClass([
|
|
7151
7154
|
IsDefined44({ message: "es obligatorio" }),
|
|
@@ -7159,10 +7162,25 @@ __decorateClass([
|
|
|
7159
7162
|
Min89(0, { message: "el valor minimo es 0" }),
|
|
7160
7163
|
Expose144()
|
|
7161
7164
|
], AsignacionRegularizarDTO.prototype, "CantidadMOAssign", 2);
|
|
7165
|
+
__decorateClass([
|
|
7166
|
+
IsOptional6(),
|
|
7167
|
+
IsNumber101({}, { message: "debe ser un numero" }),
|
|
7168
|
+
Expose144()
|
|
7169
|
+
], AsignacionRegularizarDTO.prototype, "ID_ManoObra", 2);
|
|
7170
|
+
__decorateClass([
|
|
7171
|
+
IsOptional6(),
|
|
7172
|
+
IsNumber101({}, { message: "debe ser un numero" }),
|
|
7173
|
+
Expose144()
|
|
7174
|
+
], AsignacionRegularizarDTO.prototype, "ID_Amap", 2);
|
|
7175
|
+
__decorateClass([
|
|
7176
|
+
IsOptional6(),
|
|
7177
|
+
IsString117({ message: "debe ser un texto" }),
|
|
7178
|
+
Expose144()
|
|
7179
|
+
], AsignacionRegularizarDTO.prototype, "CodigoBarra", 2);
|
|
7162
7180
|
|
|
7163
7181
|
// src/programados/procesos/reservaManoObraRegularizacion/shared/requestDto/regularizar-obra-job-request-dto.ts
|
|
7164
7182
|
import { Expose as Expose145, Type as Type93 } from "class-transformer";
|
|
7165
|
-
import { IsArray as IsArray44, IsDefined as IsDefined45, IsNumber as IsNumber102, IsOptional as
|
|
7183
|
+
import { IsArray as IsArray44, IsDefined as IsDefined45, IsNumber as IsNumber102, IsOptional as IsOptional7, IsString as IsString118, Min as Min90, ValidateNested as ValidateNested85 } from "class-validator";
|
|
7166
7184
|
var RegularizarObraJobRequestDTO = class {
|
|
7167
7185
|
ID_GOM;
|
|
7168
7186
|
CodigoPeriodo;
|
|
@@ -7195,7 +7213,7 @@ __decorateClass([
|
|
|
7195
7213
|
Expose145()
|
|
7196
7214
|
], RegularizarObraJobRequestDTO.prototype, "Valorizaciones", 2);
|
|
7197
7215
|
__decorateClass([
|
|
7198
|
-
|
|
7216
|
+
IsOptional7(),
|
|
7199
7217
|
IsString118({ message: "debe ser un texto" }),
|
|
7200
7218
|
Expose145()
|
|
7201
7219
|
], RegularizarObraJobRequestDTO.prototype, "Observaciones", 2);
|
|
@@ -7881,7 +7899,7 @@ __decorateClass([
|
|
|
7881
7899
|
|
|
7882
7900
|
// src/programados/procesos/trabajo/shared/dto/materiales-dto.ts
|
|
7883
7901
|
import { Expose as Expose158, Type as Type103 } from "class-transformer";
|
|
7884
|
-
import { IsNotEmpty as IsNotEmpty111, IsNumber as IsNumber112, IsOptional as
|
|
7902
|
+
import { IsNotEmpty as IsNotEmpty111, IsNumber as IsNumber112, IsOptional as IsOptional8, IsString as IsString128, Length as Length94, MinLength as MinLength20, ValidateNested as ValidateNested93 } from "class-validator";
|
|
7885
7903
|
var MaterialesDTO = class {
|
|
7886
7904
|
Codigo = "";
|
|
7887
7905
|
CodigoLlave = "";
|
|
@@ -7910,7 +7928,7 @@ __decorateClass([
|
|
|
7910
7928
|
Expose158()
|
|
7911
7929
|
], MaterialesDTO.prototype, "CodigoLlave", 2);
|
|
7912
7930
|
__decorateClass([
|
|
7913
|
-
|
|
7931
|
+
IsOptional8(),
|
|
7914
7932
|
IsNumber112({}, { message: "debe ser un numero" }),
|
|
7915
7933
|
Expose158()
|
|
7916
7934
|
], MaterialesDTO.prototype, "ID_StockPersonal", 2);
|
|
@@ -9410,7 +9428,7 @@ import { IsDate as IsDate44, IsNotEmpty as IsNotEmpty127, IsNumber as IsNumber12
|
|
|
9410
9428
|
|
|
9411
9429
|
// src/programados/procesos/trabajoMacroObra/shared/periodo-dto.ts
|
|
9412
9430
|
import { Expose as Expose178 } from "class-transformer";
|
|
9413
|
-
import { IsDate as IsDate43, IsNotEmpty as IsNotEmpty126, IsNumber as IsNumber126, IsOptional as
|
|
9431
|
+
import { IsDate as IsDate43, IsNotEmpty as IsNotEmpty126, IsNumber as IsNumber126, IsOptional as IsOptional9, IsString as IsString140, Length as Length105, ValidateIf as ValidateIf2 } from "class-validator";
|
|
9414
9432
|
var PeriodoDTO2 = class {
|
|
9415
9433
|
ID_Periodo = 0;
|
|
9416
9434
|
Codigo = "";
|
|
@@ -9436,12 +9454,12 @@ __decorateClass([
|
|
|
9436
9454
|
Expose178()
|
|
9437
9455
|
], PeriodoDTO2.prototype, "FechaInicio", 2);
|
|
9438
9456
|
__decorateClass([
|
|
9439
|
-
|
|
9457
|
+
IsOptional9(),
|
|
9440
9458
|
ValidateIf2((o) => o.FechaFin !== null && o.FechaFin !== "" && o.FechaFin !== void 0),
|
|
9441
9459
|
Expose178()
|
|
9442
9460
|
], PeriodoDTO2.prototype, "FechaFin", 2);
|
|
9443
9461
|
__decorateClass([
|
|
9444
|
-
|
|
9462
|
+
IsOptional9(),
|
|
9445
9463
|
ValidateIf2((o) => o.FechaMaxima !== null && o.FechaMaxima !== "" && o.FechaMaxima !== void 0),
|
|
9446
9464
|
Expose178()
|
|
9447
9465
|
], PeriodoDTO2.prototype, "FechaMaxima", 2);
|
|
@@ -11525,7 +11543,7 @@ import {
|
|
|
11525
11543
|
IsArray as IsArray75,
|
|
11526
11544
|
IsDefined as IsDefined64,
|
|
11527
11545
|
IsNumber as IsNumber155,
|
|
11528
|
-
IsOptional as
|
|
11546
|
+
IsOptional as IsOptional10,
|
|
11529
11547
|
IsString as IsString169,
|
|
11530
11548
|
MinLength as MinLength31,
|
|
11531
11549
|
ValidateNested as ValidateNested130
|
|
@@ -11761,14 +11779,14 @@ __decorateClass([
|
|
|
11761
11779
|
Type144(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO),
|
|
11762
11780
|
IsArray75(),
|
|
11763
11781
|
Expose215(),
|
|
11764
|
-
|
|
11782
|
+
IsOptional10(),
|
|
11765
11783
|
ValidateNested130({ each: true })
|
|
11766
11784
|
], ResumenAvanceDataGranTotal.prototype, "ValorizacionesByPeriodos", 2);
|
|
11767
11785
|
__decorateClass([
|
|
11768
11786
|
Type144(() => ResumenAvanceDataGranTotalEmpresasChileDTO),
|
|
11769
11787
|
IsArray75(),
|
|
11770
11788
|
Expose215(),
|
|
11771
|
-
|
|
11789
|
+
IsOptional10(),
|
|
11772
11790
|
ValidateNested130({ each: true })
|
|
11773
11791
|
], ResumenAvanceDataGranTotal.prototype, "Empresas", 2);
|
|
11774
11792
|
__decorateClass([
|
|
@@ -13145,7 +13163,7 @@ import {
|
|
|
13145
13163
|
IsArray as IsArray89,
|
|
13146
13164
|
IsDefined as IsDefined70,
|
|
13147
13165
|
IsNumber as IsNumber171,
|
|
13148
|
-
IsOptional as
|
|
13166
|
+
IsOptional as IsOptional14,
|
|
13149
13167
|
IsString as IsString187,
|
|
13150
13168
|
Min as Min134,
|
|
13151
13169
|
MinLength as MinLength33,
|
|
@@ -13211,14 +13229,14 @@ __decorateClass([
|
|
|
13211
13229
|
Type163(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosPeruDTO),
|
|
13212
13230
|
IsArray89(),
|
|
13213
13231
|
Expose241(),
|
|
13214
|
-
|
|
13232
|
+
IsOptional14(),
|
|
13215
13233
|
ValidateNested149({ each: true })
|
|
13216
13234
|
], ResumenAvanceDataGranTotalPeruDTO.prototype, "ValorizacionesByPeriodos", 2);
|
|
13217
13235
|
__decorateClass([
|
|
13218
13236
|
Type163(() => ResumenAvanceDataGranTotalEmpresasPeruDTO),
|
|
13219
13237
|
IsArray89(),
|
|
13220
13238
|
Expose241(),
|
|
13221
|
-
|
|
13239
|
+
IsOptional14(),
|
|
13222
13240
|
ValidateNested149({ each: true })
|
|
13223
13241
|
], ResumenAvanceDataGranTotalPeruDTO.prototype, "Empresas", 2);
|
|
13224
13242
|
__decorateClass([
|
|
@@ -13789,7 +13807,7 @@ import {
|
|
|
13789
13807
|
IsArray as IsArray97,
|
|
13790
13808
|
IsDefined as IsDefined76,
|
|
13791
13809
|
IsNumber as IsNumber187,
|
|
13792
|
-
IsOptional as
|
|
13810
|
+
IsOptional as IsOptional18,
|
|
13793
13811
|
IsString as IsString200,
|
|
13794
13812
|
Min as Min147,
|
|
13795
13813
|
MinLength as MinLength35,
|
|
@@ -14036,14 +14054,14 @@ __decorateClass([
|
|
|
14036
14054
|
Type175(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosAlemaniaDTO),
|
|
14037
14055
|
IsArray97(),
|
|
14038
14056
|
Expose260(),
|
|
14039
|
-
|
|
14057
|
+
IsOptional18(),
|
|
14040
14058
|
ValidateNested159({ each: true })
|
|
14041
14059
|
], ResumenAvanceDataGranTotalAlemaniaDTO.prototype, "ValorizacionesByPeriodos", 2);
|
|
14042
14060
|
__decorateClass([
|
|
14043
14061
|
Type175(() => ResumenAvanceDataGranTotalEmpresasAlemaniaDTO),
|
|
14044
14062
|
IsArray97(),
|
|
14045
14063
|
Expose260(),
|
|
14046
|
-
|
|
14064
|
+
IsOptional18(),
|
|
14047
14065
|
ValidateNested159({ each: true })
|
|
14048
14066
|
], ResumenAvanceDataGranTotalAlemaniaDTO.prototype, "Empresas", 2);
|
|
14049
14067
|
__decorateClass([
|
|
@@ -15009,7 +15027,7 @@ import { ValidateNested as ValidateNested184 } from "class-validator";
|
|
|
15009
15027
|
|
|
15010
15028
|
// src/programados/procesos/macroobra/colombia/dto/data-gran-total/resumen-avance_data-gran-total-colombia-dto.ts
|
|
15011
15029
|
import { Expose as Expose282, Type as Type192 } from "class-transformer";
|
|
15012
|
-
import { IsArray as IsArray108, IsDefined as IsDefined82, IsNumber as IsNumber201, IsOptional as
|
|
15030
|
+
import { IsArray as IsArray108, IsDefined as IsDefined82, IsNumber as IsNumber201, IsOptional as IsOptional19, IsString as IsString216, Min as Min155, MinLength as MinLength37, ValidateNested as ValidateNested175 } from "class-validator";
|
|
15013
15031
|
|
|
15014
15032
|
// src/programados/procesos/macroobra/colombia/dto/data-gran-total/resumen-avance-data-gran-total-empresas-colombia-dto.ts
|
|
15015
15033
|
import { Expose as Expose279 } from "class-transformer";
|
|
@@ -15251,14 +15269,14 @@ __decorateClass([
|
|
|
15251
15269
|
Type192(() => ResumenAvanceDataGranTotalValorizacionesByPeriodosColombiaDTO),
|
|
15252
15270
|
IsArray108(),
|
|
15253
15271
|
Expose282(),
|
|
15254
|
-
|
|
15272
|
+
IsOptional19(),
|
|
15255
15273
|
ValidateNested175({ each: true })
|
|
15256
15274
|
], ResumenAvanceDataGranTotalColombiaDTO.prototype, "ValorizacionesByPeriodos", 2);
|
|
15257
15275
|
__decorateClass([
|
|
15258
15276
|
Type192(() => ResumenAvanceDataGranTotalEmpresasColombiaDTO),
|
|
15259
15277
|
IsArray108(),
|
|
15260
15278
|
Expose282(),
|
|
15261
|
-
|
|
15279
|
+
IsOptional19(),
|
|
15262
15280
|
ValidateNested175({ each: true })
|
|
15263
15281
|
], ResumenAvanceDataGranTotalColombiaDTO.prototype, "Empresas", 2);
|
|
15264
15282
|
__decorateClass([
|
|
@@ -16279,7 +16297,7 @@ __decorateClass([
|
|
|
16279
16297
|
|
|
16280
16298
|
// src/programados/procesos/obra/shared/requestDto/update-estado-interno-obra-request-dto.ts
|
|
16281
16299
|
import { Expose as Expose301 } from "class-transformer";
|
|
16282
|
-
import { IsNotEmpty as IsNotEmpty202, IsNumber as IsNumber210, IsOptional as
|
|
16300
|
+
import { IsNotEmpty as IsNotEmpty202, IsNumber as IsNumber210, IsOptional as IsOptional20, IsString as IsString229 } from "class-validator";
|
|
16283
16301
|
var UpdateEstadoInternoObraRequestDTO = class {
|
|
16284
16302
|
ID_Obra = "";
|
|
16285
16303
|
ID_EstadoInternoPadre = 0;
|
|
@@ -16298,12 +16316,12 @@ __decorateClass([
|
|
|
16298
16316
|
], UpdateEstadoInternoObraRequestDTO.prototype, "ID_EstadoInternoPadre", 2);
|
|
16299
16317
|
__decorateClass([
|
|
16300
16318
|
IsNumber210({}, { message: "debe ser un n\xFAmero" }),
|
|
16301
|
-
|
|
16319
|
+
IsOptional20(),
|
|
16302
16320
|
Expose301()
|
|
16303
16321
|
], UpdateEstadoInternoObraRequestDTO.prototype, "ID_SubEstadoInterno", 2);
|
|
16304
16322
|
__decorateClass([
|
|
16305
16323
|
IsString229({ message: "debe ser un texto" }),
|
|
16306
|
-
|
|
16324
|
+
IsOptional20(),
|
|
16307
16325
|
Expose301()
|
|
16308
16326
|
], UpdateEstadoInternoObraRequestDTO.prototype, "Observacion", 2);
|
|
16309
16327
|
|
|
@@ -19207,7 +19225,7 @@ __decorateClass([
|
|
|
19207
19225
|
], DetalleAtipicaPeruDTO.prototype, "Material", 2);
|
|
19208
19226
|
|
|
19209
19227
|
// src/programados/procesos/cubicacion/peru/index.ts
|
|
19210
|
-
import { IsDefined as IsDefined103, IsOptional as
|
|
19228
|
+
import { IsDefined as IsDefined103, IsOptional as IsOptional21, ValidateNested as ValidateNested226 } from "class-validator";
|
|
19211
19229
|
var CubicacionPeru9112ENTITY = class extends CubicacionENTITY {
|
|
19212
19230
|
cabecera = new CabeceraCubicajePeruDTO();
|
|
19213
19231
|
DetallePeru = new DetallePeruDTO();
|
|
@@ -19228,7 +19246,7 @@ __decorateClass([
|
|
|
19228
19246
|
Type247(() => DetalleAtipicaPeruDTO),
|
|
19229
19247
|
ValidateNested226(),
|
|
19230
19248
|
Expose353(),
|
|
19231
|
-
|
|
19249
|
+
IsOptional21()
|
|
19232
19250
|
], CubicacionPeru9112ENTITY.prototype, "DetalleAtipica", 2);
|
|
19233
19251
|
|
|
19234
19252
|
// src/programados/procesos/cubicacion/colombia/index.ts
|
|
@@ -23103,7 +23121,7 @@ import {
|
|
|
23103
23121
|
IsDefined as IsDefined139,
|
|
23104
23122
|
IsNotEmpty as IsNotEmpty278,
|
|
23105
23123
|
IsNumber as IsNumber291,
|
|
23106
|
-
IsOptional as
|
|
23124
|
+
IsOptional as IsOptional22,
|
|
23107
23125
|
IsString as IsString312,
|
|
23108
23126
|
Min as Min230,
|
|
23109
23127
|
MinLength as MinLength47,
|
|
@@ -23149,7 +23167,7 @@ var BaremoAlemaniaENTITY = class {
|
|
|
23149
23167
|
UOMateriales = new UOMaterialesBaremoDTO();
|
|
23150
23168
|
};
|
|
23151
23169
|
__decorateClass([
|
|
23152
|
-
|
|
23170
|
+
IsOptional22(),
|
|
23153
23171
|
Expose422()
|
|
23154
23172
|
], BaremoAlemaniaENTITY.prototype, "_id", 2);
|
|
23155
23173
|
__decorateClass([
|
|
@@ -24563,7 +24581,7 @@ __decorateClass([
|
|
|
24563
24581
|
|
|
24564
24582
|
// src/programados/Reportes/ReporteProduccion/Chile/Baremos/index.ts
|
|
24565
24583
|
import { Expose as Expose450, Type as Type312 } from "class-transformer";
|
|
24566
|
-
import { IsArray as IsArray167, IsBoolean as IsBoolean38, IsDefined as IsDefined166, IsNotEmpty as IsNotEmpty281, IsNumber as IsNumber303, IsOptional as
|
|
24584
|
+
import { IsArray as IsArray167, IsBoolean as IsBoolean38, IsDefined as IsDefined166, IsNotEmpty as IsNotEmpty281, IsNumber as IsNumber303, IsOptional as IsOptional24, IsString as IsString339, ValidateNested as ValidateNested282 } from "class-validator";
|
|
24567
24585
|
|
|
24568
24586
|
// src/programados/Reportes/ReporteProduccion/Chile/BaremoProcess/dto/baremo_process_fechas-dto.ts
|
|
24569
24587
|
import { Expose as Expose440, Transform as Transform48 } from "class-transformer";
|
|
@@ -24956,7 +24974,7 @@ var BaremosChileENTITY = class {
|
|
|
24956
24974
|
};
|
|
24957
24975
|
__decorateClass([
|
|
24958
24976
|
Expose450(),
|
|
24959
|
-
|
|
24977
|
+
IsOptional24()
|
|
24960
24978
|
], BaremosChileENTITY.prototype, "_id", 2);
|
|
24961
24979
|
__decorateClass([
|
|
24962
24980
|
Expose450(),
|
|
@@ -25799,7 +25817,7 @@ import {
|
|
|
25799
25817
|
IsDefined as IsDefined172,
|
|
25800
25818
|
IsNotEmpty as IsNotEmpty283,
|
|
25801
25819
|
IsNumber as IsNumber307,
|
|
25802
|
-
IsOptional as
|
|
25820
|
+
IsOptional as IsOptional25,
|
|
25803
25821
|
IsString as IsString345,
|
|
25804
25822
|
ValidateNested as ValidateNested286
|
|
25805
25823
|
} from "class-validator";
|
|
@@ -25854,7 +25872,7 @@ var BaremosColombiaENTITY = class {
|
|
|
25854
25872
|
};
|
|
25855
25873
|
__decorateClass([
|
|
25856
25874
|
Expose456(),
|
|
25857
|
-
|
|
25875
|
+
IsOptional25()
|
|
25858
25876
|
], BaremosColombiaENTITY.prototype, "_id", 2);
|
|
25859
25877
|
__decorateClass([
|
|
25860
25878
|
Expose456(),
|
|
@@ -26798,7 +26816,7 @@ import { Expose as Expose473, Type as Type326 } from "class-transformer";
|
|
|
26798
26816
|
|
|
26799
26817
|
// src/programados/Reportes/RptProduccionCurso_Baremos_Fases/shared/dto/prod-curso-baremo-fases-ultimo-estado-interno-dto.ts
|
|
26800
26818
|
import { Expose as Expose468, Type as Type324 } from "class-transformer";
|
|
26801
|
-
import { IsArray as IsArray176, IsBoolean as IsBoolean45, IsDate as IsDate104, IsNotEmpty as IsNotEmpty295, IsNumber as IsNumber312, IsOptional as
|
|
26819
|
+
import { IsArray as IsArray176, IsBoolean as IsBoolean45, IsDate as IsDate104, IsNotEmpty as IsNotEmpty295, IsNumber as IsNumber312, IsOptional as IsOptional26, IsString as IsString357, ValidateNested as ValidateNested293 } from "class-validator";
|
|
26802
26820
|
var ProdCursoBaremoFasesUltimoEstadoInternoDTO = class {
|
|
26803
26821
|
IsDebug = false;
|
|
26804
26822
|
ID_EstadoInterno = 0;
|
|
@@ -26820,7 +26838,7 @@ var ProdCursoBaremoFasesUltimoEstadoInternoDTO = class {
|
|
|
26820
26838
|
};
|
|
26821
26839
|
__decorateClass([
|
|
26822
26840
|
IsBoolean45({ message: "IsDebug debe ser un valor booleano" }),
|
|
26823
|
-
|
|
26841
|
+
IsOptional26(),
|
|
26824
26842
|
Expose468()
|
|
26825
26843
|
], ProdCursoBaremoFasesUltimoEstadoInternoDTO.prototype, "IsDebug", 2);
|
|
26826
26844
|
__decorateClass([
|
|
@@ -30759,7 +30777,7 @@ __decorateClass([
|
|
|
30759
30777
|
|
|
30760
30778
|
// src/logistica/procesos/navisionpreorden/shared/dto/accepted-dto.ts
|
|
30761
30779
|
import { Expose as Expose524, Type as Type361, Transform as Transform65 } from "class-transformer";
|
|
30762
|
-
import { IsDate as IsDate119, IsNumber as IsNumber354, IsOptional as
|
|
30780
|
+
import { IsDate as IsDate119, IsNumber as IsNumber354, IsOptional as IsOptional27, IsString as IsString406, Min as Min276 } from "class-validator";
|
|
30763
30781
|
var AcceptedDto = class {
|
|
30764
30782
|
IdDate = 0;
|
|
30765
30783
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -30771,88 +30789,88 @@ var AcceptedDto = class {
|
|
|
30771
30789
|
FullName = "";
|
|
30772
30790
|
};
|
|
30773
30791
|
__decorateClass([
|
|
30774
|
-
|
|
30792
|
+
IsOptional27(),
|
|
30775
30793
|
IsNumber354({}, { message: "debe ser un n\xFAmero" }),
|
|
30776
30794
|
Min276(0, { message: "el valor m\xEDnimo es 0" }),
|
|
30777
30795
|
Expose524()
|
|
30778
30796
|
], AcceptedDto.prototype, "IdDate", 2);
|
|
30779
30797
|
__decorateClass([
|
|
30780
|
-
|
|
30798
|
+
IsOptional27(),
|
|
30781
30799
|
Transform65(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
30782
30800
|
IsDate119({ message: "debe ser una fecha" }),
|
|
30783
30801
|
Type361(() => Date),
|
|
30784
30802
|
Expose524()
|
|
30785
30803
|
], AcceptedDto.prototype, "Date", 2);
|
|
30786
30804
|
__decorateClass([
|
|
30787
|
-
|
|
30805
|
+
IsOptional27(),
|
|
30788
30806
|
IsNumber354({}, { message: "debe ser un n\xFAmero" }),
|
|
30789
30807
|
Type361(() => Number),
|
|
30790
30808
|
Expose524()
|
|
30791
30809
|
], AcceptedDto.prototype, "IdUser", 2);
|
|
30792
30810
|
__decorateClass([
|
|
30793
|
-
|
|
30811
|
+
IsOptional27(),
|
|
30794
30812
|
IsString406({ message: "debe ser texto" }),
|
|
30795
30813
|
Expose524()
|
|
30796
30814
|
], AcceptedDto.prototype, "User", 2);
|
|
30797
30815
|
__decorateClass([
|
|
30798
|
-
|
|
30816
|
+
IsOptional27(),
|
|
30799
30817
|
IsString406({ message: "debe ser texto" }),
|
|
30800
30818
|
Expose524()
|
|
30801
30819
|
], AcceptedDto.prototype, "LastName", 2);
|
|
30802
30820
|
__decorateClass([
|
|
30803
|
-
|
|
30821
|
+
IsOptional27(),
|
|
30804
30822
|
IsString406({ message: "debe ser texto" }),
|
|
30805
30823
|
Expose524()
|
|
30806
30824
|
], AcceptedDto.prototype, "Name", 2);
|
|
30807
30825
|
__decorateClass([
|
|
30808
|
-
|
|
30826
|
+
IsOptional27(),
|
|
30809
30827
|
IsString406({ message: "debe ser texto" }),
|
|
30810
30828
|
Expose524()
|
|
30811
30829
|
], AcceptedDto.prototype, "Perfil", 2);
|
|
30812
30830
|
__decorateClass([
|
|
30813
|
-
|
|
30831
|
+
IsOptional27(),
|
|
30814
30832
|
IsString406({ message: "debe ser texto" }),
|
|
30815
30833
|
Expose524()
|
|
30816
30834
|
], AcceptedDto.prototype, "FullName", 2);
|
|
30817
30835
|
|
|
30818
30836
|
// src/logistica/procesos/navisionpreorden/shared/dto/albaran-dto.ts
|
|
30819
30837
|
import { Expose as Expose529, Transform as Transform68, Type as Type363 } from "class-transformer";
|
|
30820
|
-
import { IsNumber as IsNumber357, IsOptional as
|
|
30838
|
+
import { IsNumber as IsNumber357, IsOptional as IsOptional32, IsString as IsString411, IsArray as IsArray198, ValidateNested as ValidateNested330 } from "class-validator";
|
|
30821
30839
|
|
|
30822
30840
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-albaran-dto.ts
|
|
30823
30841
|
import { Expose as Expose525, Transform as Transform66 } from "class-transformer";
|
|
30824
|
-
import { IsOptional as
|
|
30842
|
+
import { IsOptional as IsOptional28, IsString as IsString407 } from "class-validator";
|
|
30825
30843
|
var DetalleAlbaranDTO = class {
|
|
30826
30844
|
Field = "";
|
|
30827
30845
|
Code = "";
|
|
30828
30846
|
};
|
|
30829
30847
|
__decorateClass([
|
|
30830
|
-
|
|
30848
|
+
IsOptional28(),
|
|
30831
30849
|
IsString407({ message: "debe ser texto" }),
|
|
30832
30850
|
Transform66(({ value }) => value?.toUpperCase().trim()),
|
|
30833
30851
|
Expose525()
|
|
30834
30852
|
], DetalleAlbaranDTO.prototype, "Field", 2);
|
|
30835
30853
|
__decorateClass([
|
|
30836
|
-
|
|
30854
|
+
IsOptional28(),
|
|
30837
30855
|
IsString407({ message: "debe ser texto" }),
|
|
30838
30856
|
Expose525()
|
|
30839
30857
|
], DetalleAlbaranDTO.prototype, "Code", 2);
|
|
30840
30858
|
|
|
30841
30859
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-date-registry-dto.ts
|
|
30842
30860
|
import { Expose as Expose526, Transform as Transform67 } from "class-transformer";
|
|
30843
|
-
import { IsOptional as
|
|
30861
|
+
import { IsOptional as IsOptional29, IsString as IsString408, IsNumber as IsNumber355 } from "class-validator";
|
|
30844
30862
|
var dateToISOStringOrEmpty = (value) => value instanceof Date ? value.toISOString() : "";
|
|
30845
30863
|
var NavisionDateRegistryDto = class {
|
|
30846
30864
|
IdDate = 0;
|
|
30847
30865
|
Date = "";
|
|
30848
30866
|
};
|
|
30849
30867
|
__decorateClass([
|
|
30850
|
-
|
|
30868
|
+
IsOptional29(),
|
|
30851
30869
|
IsNumber355({}, { message: "debe ser un n\xFAmero" }),
|
|
30852
30870
|
Expose526()
|
|
30853
30871
|
], NavisionDateRegistryDto.prototype, "IdDate", 2);
|
|
30854
30872
|
__decorateClass([
|
|
30855
|
-
|
|
30873
|
+
IsOptional29(),
|
|
30856
30874
|
IsString408({ message: "debe ser texto" }),
|
|
30857
30875
|
Transform67(({ value }) => dateToISOStringOrEmpty(value)),
|
|
30858
30876
|
Expose526()
|
|
@@ -30862,7 +30880,7 @@ var NavisionRegistryDateDto = class extends NavisionDateRegistryDto {
|
|
|
30862
30880
|
|
|
30863
30881
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-user-registry-dto.ts
|
|
30864
30882
|
import { Expose as Expose527 } from "class-transformer";
|
|
30865
|
-
import { IsOptional as
|
|
30883
|
+
import { IsOptional as IsOptional30, IsString as IsString409, IsNumber as IsNumber356 } from "class-validator";
|
|
30866
30884
|
var NavisionUserRegistryDto = class {
|
|
30867
30885
|
IdUser = 0;
|
|
30868
30886
|
User = "";
|
|
@@ -30871,34 +30889,34 @@ var NavisionUserRegistryDto = class {
|
|
|
30871
30889
|
Perfil = "";
|
|
30872
30890
|
};
|
|
30873
30891
|
__decorateClass([
|
|
30874
|
-
|
|
30892
|
+
IsOptional30(),
|
|
30875
30893
|
IsNumber356({}, { message: "debe ser un n\xFAmero" }),
|
|
30876
30894
|
Expose527()
|
|
30877
30895
|
], NavisionUserRegistryDto.prototype, "IdUser", 2);
|
|
30878
30896
|
__decorateClass([
|
|
30879
|
-
|
|
30897
|
+
IsOptional30(),
|
|
30880
30898
|
IsString409({ message: "debe ser texto" }),
|
|
30881
30899
|
Expose527()
|
|
30882
30900
|
], NavisionUserRegistryDto.prototype, "User", 2);
|
|
30883
30901
|
__decorateClass([
|
|
30884
|
-
|
|
30902
|
+
IsOptional30(),
|
|
30885
30903
|
IsString409({ message: "debe ser texto" }),
|
|
30886
30904
|
Expose527()
|
|
30887
30905
|
], NavisionUserRegistryDto.prototype, "LastName", 2);
|
|
30888
30906
|
__decorateClass([
|
|
30889
|
-
|
|
30907
|
+
IsOptional30(),
|
|
30890
30908
|
IsString409({ message: "debe ser texto" }),
|
|
30891
30909
|
Expose527()
|
|
30892
30910
|
], NavisionUserRegistryDto.prototype, "Name", 2);
|
|
30893
30911
|
__decorateClass([
|
|
30894
|
-
|
|
30912
|
+
IsOptional30(),
|
|
30895
30913
|
IsString409({ message: "debe ser texto" }),
|
|
30896
30914
|
Expose527()
|
|
30897
30915
|
], NavisionUserRegistryDto.prototype, "Perfil", 2);
|
|
30898
30916
|
|
|
30899
30917
|
// src/logistica/procesos/navisionpreorden/shared/dto/navision-bitacora-file-dto.ts
|
|
30900
30918
|
import { Expose as Expose528, Type as Type362 } from "class-transformer";
|
|
30901
|
-
import { IsOptional as
|
|
30919
|
+
import { IsOptional as IsOptional31, IsString as IsString410, ValidateNested as ValidateNested329 } from "class-validator";
|
|
30902
30920
|
var NavisionBitacoraFileDto = class {
|
|
30903
30921
|
Action = "";
|
|
30904
30922
|
Date = new NavisionDateRegistryDto();
|
|
@@ -30906,24 +30924,24 @@ var NavisionBitacoraFileDto = class {
|
|
|
30906
30924
|
Description = "";
|
|
30907
30925
|
};
|
|
30908
30926
|
__decorateClass([
|
|
30909
|
-
|
|
30927
|
+
IsOptional31(),
|
|
30910
30928
|
IsString410({ message: "debe ser texto" }),
|
|
30911
30929
|
Expose528()
|
|
30912
30930
|
], NavisionBitacoraFileDto.prototype, "Action", 2);
|
|
30913
30931
|
__decorateClass([
|
|
30914
|
-
|
|
30932
|
+
IsOptional31(),
|
|
30915
30933
|
Type362(() => NavisionDateRegistryDto),
|
|
30916
30934
|
ValidateNested329(),
|
|
30917
30935
|
Expose528()
|
|
30918
30936
|
], NavisionBitacoraFileDto.prototype, "Date", 2);
|
|
30919
30937
|
__decorateClass([
|
|
30920
|
-
|
|
30938
|
+
IsOptional31(),
|
|
30921
30939
|
Type362(() => NavisionUserRegistryDto),
|
|
30922
30940
|
ValidateNested329(),
|
|
30923
30941
|
Expose528()
|
|
30924
30942
|
], NavisionBitacoraFileDto.prototype, "User", 2);
|
|
30925
30943
|
__decorateClass([
|
|
30926
|
-
|
|
30944
|
+
IsOptional31(),
|
|
30927
30945
|
IsString410({ message: "debe ser texto" }),
|
|
30928
30946
|
Expose528()
|
|
30929
30947
|
], NavisionBitacoraFileDto.prototype, "Description", 2);
|
|
@@ -30942,58 +30960,58 @@ var AlbaranDto = class {
|
|
|
30942
30960
|
Bitacora = [];
|
|
30943
30961
|
};
|
|
30944
30962
|
__decorateClass([
|
|
30945
|
-
|
|
30963
|
+
IsOptional32(),
|
|
30946
30964
|
IsString411({ message: "debe ser texto" }),
|
|
30947
30965
|
Expose529()
|
|
30948
30966
|
], AlbaranDto.prototype, "Code", 2);
|
|
30949
30967
|
__decorateClass([
|
|
30950
|
-
|
|
30968
|
+
IsOptional32(),
|
|
30951
30969
|
IsString411({ message: "debe ser texto" }),
|
|
30952
30970
|
Transform68(({ value }) => value?.toUpperCase().trim()),
|
|
30953
30971
|
Expose529()
|
|
30954
30972
|
], AlbaranDto.prototype, "Name", 2);
|
|
30955
30973
|
__decorateClass([
|
|
30956
|
-
|
|
30974
|
+
IsOptional32(),
|
|
30957
30975
|
IsString411({ message: "debe ser texto" }),
|
|
30958
30976
|
Expose529()
|
|
30959
30977
|
], AlbaranDto.prototype, "FileName", 2);
|
|
30960
30978
|
__decorateClass([
|
|
30961
|
-
|
|
30979
|
+
IsOptional32(),
|
|
30962
30980
|
IsString411({ message: "debe ser texto" }),
|
|
30963
30981
|
Transform68(({ value }) => value?.toUpperCase().trim()),
|
|
30964
30982
|
Expose529()
|
|
30965
30983
|
], AlbaranDto.prototype, "Extension", 2);
|
|
30966
30984
|
__decorateClass([
|
|
30967
|
-
|
|
30985
|
+
IsOptional32(),
|
|
30968
30986
|
IsString411({ message: "debe ser texto" }),
|
|
30969
30987
|
Expose529()
|
|
30970
30988
|
], AlbaranDto.prototype, "LoadName", 2);
|
|
30971
30989
|
__decorateClass([
|
|
30972
|
-
|
|
30990
|
+
IsOptional32(),
|
|
30973
30991
|
IsNumber357({}, { message: "debe ser un n\xFAmero" }),
|
|
30974
30992
|
Transform68(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
30975
30993
|
Expose529()
|
|
30976
30994
|
], AlbaranDto.prototype, "Status", 2);
|
|
30977
30995
|
__decorateClass([
|
|
30978
|
-
|
|
30996
|
+
IsOptional32(),
|
|
30979
30997
|
Type363(() => DetalleAlbaranDTO),
|
|
30980
30998
|
ValidateNested330(),
|
|
30981
30999
|
Expose529()
|
|
30982
31000
|
], AlbaranDto.prototype, "Detalle", 2);
|
|
30983
31001
|
__decorateClass([
|
|
30984
|
-
|
|
31002
|
+
IsOptional32(),
|
|
30985
31003
|
Type363(() => NavisionDateRegistryDto),
|
|
30986
31004
|
ValidateNested330(),
|
|
30987
31005
|
Expose529()
|
|
30988
31006
|
], AlbaranDto.prototype, "Dates", 2);
|
|
30989
31007
|
__decorateClass([
|
|
30990
|
-
|
|
31008
|
+
IsOptional32(),
|
|
30991
31009
|
Type363(() => NavisionUserRegistryDto),
|
|
30992
31010
|
ValidateNested330(),
|
|
30993
31011
|
Expose529()
|
|
30994
31012
|
], AlbaranDto.prototype, "Users", 2);
|
|
30995
31013
|
__decorateClass([
|
|
30996
|
-
|
|
31014
|
+
IsOptional32(),
|
|
30997
31015
|
IsArray198({ message: "debe ser un array" }),
|
|
30998
31016
|
Type363(() => NavisionBitacoraFileDto),
|
|
30999
31017
|
ValidateNested330({ each: true }),
|
|
@@ -31002,7 +31020,7 @@ __decorateClass([
|
|
|
31002
31020
|
|
|
31003
31021
|
// src/logistica/procesos/navisionpreorden/shared/dto/closed-dto.ts
|
|
31004
31022
|
import { Expose as Expose530, Type as Type364, Transform as Transform69 } from "class-transformer";
|
|
31005
|
-
import { IsDate as IsDate120, IsNumber as IsNumber358, IsOptional as
|
|
31023
|
+
import { IsDate as IsDate120, IsNumber as IsNumber358, IsOptional as IsOptional33, IsString as IsString412, Min as Min278 } from "class-validator";
|
|
31006
31024
|
var ClosedDto = class {
|
|
31007
31025
|
IdDate = 0;
|
|
31008
31026
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31014,53 +31032,53 @@ var ClosedDto = class {
|
|
|
31014
31032
|
FullName = "";
|
|
31015
31033
|
};
|
|
31016
31034
|
__decorateClass([
|
|
31017
|
-
|
|
31035
|
+
IsOptional33(),
|
|
31018
31036
|
IsNumber358({}, { message: "debe ser un n\xFAmero" }),
|
|
31019
31037
|
Min278(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31020
31038
|
Expose530()
|
|
31021
31039
|
], ClosedDto.prototype, "IdDate", 2);
|
|
31022
31040
|
__decorateClass([
|
|
31023
|
-
|
|
31041
|
+
IsOptional33(),
|
|
31024
31042
|
Transform69(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31025
31043
|
IsDate120({ message: "debe ser una fecha" }),
|
|
31026
31044
|
Type364(() => Date),
|
|
31027
31045
|
Expose530()
|
|
31028
31046
|
], ClosedDto.prototype, "Date", 2);
|
|
31029
31047
|
__decorateClass([
|
|
31030
|
-
|
|
31048
|
+
IsOptional33(),
|
|
31031
31049
|
IsNumber358({}, { message: "debe ser un n\xFAmero" }),
|
|
31032
31050
|
Type364(() => Number),
|
|
31033
31051
|
Expose530()
|
|
31034
31052
|
], ClosedDto.prototype, "IdUser", 2);
|
|
31035
31053
|
__decorateClass([
|
|
31036
|
-
|
|
31054
|
+
IsOptional33(),
|
|
31037
31055
|
IsString412({ message: "debe ser texto" }),
|
|
31038
31056
|
Expose530()
|
|
31039
31057
|
], ClosedDto.prototype, "User", 2);
|
|
31040
31058
|
__decorateClass([
|
|
31041
|
-
|
|
31059
|
+
IsOptional33(),
|
|
31042
31060
|
IsString412({ message: "debe ser texto" }),
|
|
31043
31061
|
Expose530()
|
|
31044
31062
|
], ClosedDto.prototype, "LastName", 2);
|
|
31045
31063
|
__decorateClass([
|
|
31046
|
-
|
|
31064
|
+
IsOptional33(),
|
|
31047
31065
|
IsString412({ message: "debe ser texto" }),
|
|
31048
31066
|
Expose530()
|
|
31049
31067
|
], ClosedDto.prototype, "Name", 2);
|
|
31050
31068
|
__decorateClass([
|
|
31051
|
-
|
|
31069
|
+
IsOptional33(),
|
|
31052
31070
|
IsString412({ message: "debe ser texto" }),
|
|
31053
31071
|
Expose530()
|
|
31054
31072
|
], ClosedDto.prototype, "Perfil", 2);
|
|
31055
31073
|
__decorateClass([
|
|
31056
|
-
|
|
31074
|
+
IsOptional33(),
|
|
31057
31075
|
IsString412({ message: "debe ser texto" }),
|
|
31058
31076
|
Expose530()
|
|
31059
31077
|
], ClosedDto.prototype, "FullName", 2);
|
|
31060
31078
|
|
|
31061
31079
|
// src/logistica/procesos/navisionpreorden/shared/dto/emision-dto.ts
|
|
31062
31080
|
import { Expose as Expose531, Type as Type365, Transform as Transform70 } from "class-transformer";
|
|
31063
|
-
import { IsDate as IsDate121, IsNumber as IsNumber359, IsOptional as
|
|
31081
|
+
import { IsDate as IsDate121, IsNumber as IsNumber359, IsOptional as IsOptional34, IsString as IsString413, Min as Min279 } from "class-validator";
|
|
31064
31082
|
var EmisionDto = class {
|
|
31065
31083
|
IdDate = 0;
|
|
31066
31084
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31072,46 +31090,46 @@ var EmisionDto = class {
|
|
|
31072
31090
|
FullName = "";
|
|
31073
31091
|
};
|
|
31074
31092
|
__decorateClass([
|
|
31075
|
-
|
|
31093
|
+
IsOptional34(),
|
|
31076
31094
|
IsNumber359({}, { message: "debe ser un n\xFAmero" }),
|
|
31077
31095
|
Min279(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31078
31096
|
Expose531()
|
|
31079
31097
|
], EmisionDto.prototype, "IdDate", 2);
|
|
31080
31098
|
__decorateClass([
|
|
31081
|
-
|
|
31099
|
+
IsOptional34(),
|
|
31082
31100
|
Transform70(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31083
31101
|
IsDate121({ message: "debe ser una fecha" }),
|
|
31084
31102
|
Type365(() => Date),
|
|
31085
31103
|
Expose531()
|
|
31086
31104
|
], EmisionDto.prototype, "Date", 2);
|
|
31087
31105
|
__decorateClass([
|
|
31088
|
-
|
|
31106
|
+
IsOptional34(),
|
|
31089
31107
|
IsNumber359({}, { message: "debe ser un n\xFAmero" }),
|
|
31090
31108
|
Type365(() => Number),
|
|
31091
31109
|
Expose531()
|
|
31092
31110
|
], EmisionDto.prototype, "IdUser", 2);
|
|
31093
31111
|
__decorateClass([
|
|
31094
|
-
|
|
31112
|
+
IsOptional34(),
|
|
31095
31113
|
IsString413({ message: "debe ser texto" }),
|
|
31096
31114
|
Expose531()
|
|
31097
31115
|
], EmisionDto.prototype, "User", 2);
|
|
31098
31116
|
__decorateClass([
|
|
31099
|
-
|
|
31117
|
+
IsOptional34(),
|
|
31100
31118
|
IsString413({ message: "debe ser texto" }),
|
|
31101
31119
|
Expose531()
|
|
31102
31120
|
], EmisionDto.prototype, "LastName", 2);
|
|
31103
31121
|
__decorateClass([
|
|
31104
|
-
|
|
31122
|
+
IsOptional34(),
|
|
31105
31123
|
IsString413({ message: "debe ser texto" }),
|
|
31106
31124
|
Expose531()
|
|
31107
31125
|
], EmisionDto.prototype, "Name", 2);
|
|
31108
31126
|
__decorateClass([
|
|
31109
|
-
|
|
31127
|
+
IsOptional34(),
|
|
31110
31128
|
IsString413({ message: "debe ser texto" }),
|
|
31111
31129
|
Expose531()
|
|
31112
31130
|
], EmisionDto.prototype, "Perfil", 2);
|
|
31113
31131
|
__decorateClass([
|
|
31114
|
-
|
|
31132
|
+
IsOptional34(),
|
|
31115
31133
|
IsString413({ message: "debe ser texto" }),
|
|
31116
31134
|
Expose531()
|
|
31117
31135
|
], EmisionDto.prototype, "FullName", 2);
|
|
@@ -31121,7 +31139,7 @@ import { Expose as Expose537 } from "class-transformer";
|
|
|
31121
31139
|
|
|
31122
31140
|
// src/logistica/procesos/navisionpreorden/shared/dto/factura-dto.ts
|
|
31123
31141
|
import { Expose as Expose532, Type as Type366, Transform as Transform71 } from "class-transformer";
|
|
31124
|
-
import { IsDate as IsDate122, IsNumber as IsNumber360, IsOptional as
|
|
31142
|
+
import { IsDate as IsDate122, IsNumber as IsNumber360, IsOptional as IsOptional35, IsString as IsString414, Min as Min280 } from "class-validator";
|
|
31125
31143
|
var FacturaDto = class {
|
|
31126
31144
|
IdDate = 0;
|
|
31127
31145
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31133,46 +31151,46 @@ var FacturaDto = class {
|
|
|
31133
31151
|
FullName = "";
|
|
31134
31152
|
};
|
|
31135
31153
|
__decorateClass([
|
|
31136
|
-
|
|
31154
|
+
IsOptional35(),
|
|
31137
31155
|
IsNumber360({}, { message: "debe ser un n\xFAmero" }),
|
|
31138
31156
|
Min280(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31139
31157
|
Expose532()
|
|
31140
31158
|
], FacturaDto.prototype, "IdDate", 2);
|
|
31141
31159
|
__decorateClass([
|
|
31142
|
-
|
|
31160
|
+
IsOptional35(),
|
|
31143
31161
|
Transform71(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31144
31162
|
IsDate122({ message: "debe ser una fecha" }),
|
|
31145
31163
|
Type366(() => Date),
|
|
31146
31164
|
Expose532()
|
|
31147
31165
|
], FacturaDto.prototype, "Date", 2);
|
|
31148
31166
|
__decorateClass([
|
|
31149
|
-
|
|
31167
|
+
IsOptional35(),
|
|
31150
31168
|
IsNumber360({}, { message: "debe ser un n\xFAmero" }),
|
|
31151
31169
|
Type366(() => Number),
|
|
31152
31170
|
Expose532()
|
|
31153
31171
|
], FacturaDto.prototype, "IdUser", 2);
|
|
31154
31172
|
__decorateClass([
|
|
31155
|
-
|
|
31173
|
+
IsOptional35(),
|
|
31156
31174
|
IsString414({ message: "debe ser texto" }),
|
|
31157
31175
|
Expose532()
|
|
31158
31176
|
], FacturaDto.prototype, "User", 2);
|
|
31159
31177
|
__decorateClass([
|
|
31160
|
-
|
|
31178
|
+
IsOptional35(),
|
|
31161
31179
|
IsString414({ message: "debe ser texto" }),
|
|
31162
31180
|
Expose532()
|
|
31163
31181
|
], FacturaDto.prototype, "LastName", 2);
|
|
31164
31182
|
__decorateClass([
|
|
31165
|
-
|
|
31183
|
+
IsOptional35(),
|
|
31166
31184
|
IsString414({ message: "debe ser texto" }),
|
|
31167
31185
|
Expose532()
|
|
31168
31186
|
], FacturaDto.prototype, "Name", 2);
|
|
31169
31187
|
__decorateClass([
|
|
31170
|
-
|
|
31188
|
+
IsOptional35(),
|
|
31171
31189
|
IsString414({ message: "debe ser texto" }),
|
|
31172
31190
|
Expose532()
|
|
31173
31191
|
], FacturaDto.prototype, "Perfil", 2);
|
|
31174
31192
|
__decorateClass([
|
|
31175
|
-
|
|
31193
|
+
IsOptional35(),
|
|
31176
31194
|
IsString414({ message: "debe ser texto" }),
|
|
31177
31195
|
Expose532()
|
|
31178
31196
|
], FacturaDto.prototype, "FullName", 2);
|
|
@@ -31182,7 +31200,7 @@ import { ValidateNested as ValidateNested331 } from "class-validator";
|
|
|
31182
31200
|
|
|
31183
31201
|
// src/logistica/procesos/navisionpreorden/shared/dto/orden-dto.ts
|
|
31184
31202
|
import { Expose as Expose533, Type as Type367, Transform as Transform72 } from "class-transformer";
|
|
31185
|
-
import { IsDate as IsDate123, IsNumber as IsNumber361, IsOptional as
|
|
31203
|
+
import { IsDate as IsDate123, IsNumber as IsNumber361, IsOptional as IsOptional36, IsString as IsString415, Min as Min281 } from "class-validator";
|
|
31186
31204
|
var OrdenDto = class {
|
|
31187
31205
|
IdDate = 0;
|
|
31188
31206
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31194,53 +31212,53 @@ var OrdenDto = class {
|
|
|
31194
31212
|
FullName = "";
|
|
31195
31213
|
};
|
|
31196
31214
|
__decorateClass([
|
|
31197
|
-
|
|
31215
|
+
IsOptional36(),
|
|
31198
31216
|
IsNumber361({}, { message: "debe ser un n\xFAmero" }),
|
|
31199
31217
|
Min281(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31200
31218
|
Expose533()
|
|
31201
31219
|
], OrdenDto.prototype, "IdDate", 2);
|
|
31202
31220
|
__decorateClass([
|
|
31203
|
-
|
|
31221
|
+
IsOptional36(),
|
|
31204
31222
|
Transform72(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31205
31223
|
IsDate123({ message: "debe ser una fecha" }),
|
|
31206
31224
|
Type367(() => Date),
|
|
31207
31225
|
Expose533()
|
|
31208
31226
|
], OrdenDto.prototype, "Date", 2);
|
|
31209
31227
|
__decorateClass([
|
|
31210
|
-
|
|
31228
|
+
IsOptional36(),
|
|
31211
31229
|
IsNumber361({}, { message: "debe ser un n\xFAmero" }),
|
|
31212
31230
|
Type367(() => Number),
|
|
31213
31231
|
Expose533()
|
|
31214
31232
|
], OrdenDto.prototype, "IdUser", 2);
|
|
31215
31233
|
__decorateClass([
|
|
31216
|
-
|
|
31234
|
+
IsOptional36(),
|
|
31217
31235
|
IsString415({ message: "debe ser texto" }),
|
|
31218
31236
|
Expose533()
|
|
31219
31237
|
], OrdenDto.prototype, "User", 2);
|
|
31220
31238
|
__decorateClass([
|
|
31221
|
-
|
|
31239
|
+
IsOptional36(),
|
|
31222
31240
|
IsString415({ message: "debe ser texto" }),
|
|
31223
31241
|
Expose533()
|
|
31224
31242
|
], OrdenDto.prototype, "LastName", 2);
|
|
31225
31243
|
__decorateClass([
|
|
31226
|
-
|
|
31244
|
+
IsOptional36(),
|
|
31227
31245
|
IsString415({ message: "debe ser texto" }),
|
|
31228
31246
|
Expose533()
|
|
31229
31247
|
], OrdenDto.prototype, "Name", 2);
|
|
31230
31248
|
__decorateClass([
|
|
31231
|
-
|
|
31249
|
+
IsOptional36(),
|
|
31232
31250
|
IsString415({ message: "debe ser texto" }),
|
|
31233
31251
|
Expose533()
|
|
31234
31252
|
], OrdenDto.prototype, "Perfil", 2);
|
|
31235
31253
|
__decorateClass([
|
|
31236
|
-
|
|
31254
|
+
IsOptional36(),
|
|
31237
31255
|
IsString415({ message: "debe ser texto" }),
|
|
31238
31256
|
Expose533()
|
|
31239
31257
|
], OrdenDto.prototype, "FullName", 2);
|
|
31240
31258
|
|
|
31241
31259
|
// src/logistica/procesos/navisionpreorden/shared/dto/pre-accepted-dto.ts
|
|
31242
31260
|
import { Expose as Expose534, Type as Type368, Transform as Transform73 } from "class-transformer";
|
|
31243
|
-
import { IsDate as IsDate124, IsNumber as IsNumber362, IsOptional as
|
|
31261
|
+
import { IsDate as IsDate124, IsNumber as IsNumber362, IsOptional as IsOptional37, IsString as IsString416, Min as Min282 } from "class-validator";
|
|
31244
31262
|
var PreAcceptedDto = class {
|
|
31245
31263
|
IdDate = 0;
|
|
31246
31264
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31252,53 +31270,53 @@ var PreAcceptedDto = class {
|
|
|
31252
31270
|
FullName = "";
|
|
31253
31271
|
};
|
|
31254
31272
|
__decorateClass([
|
|
31255
|
-
|
|
31273
|
+
IsOptional37(),
|
|
31256
31274
|
IsNumber362({}, { message: "debe ser un n\xFAmero" }),
|
|
31257
31275
|
Min282(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31258
31276
|
Expose534()
|
|
31259
31277
|
], PreAcceptedDto.prototype, "IdDate", 2);
|
|
31260
31278
|
__decorateClass([
|
|
31261
|
-
|
|
31279
|
+
IsOptional37(),
|
|
31262
31280
|
Transform73(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31263
31281
|
IsDate124({ message: "debe ser una fecha" }),
|
|
31264
31282
|
Type368(() => Date),
|
|
31265
31283
|
Expose534()
|
|
31266
31284
|
], PreAcceptedDto.prototype, "Date", 2);
|
|
31267
31285
|
__decorateClass([
|
|
31268
|
-
|
|
31286
|
+
IsOptional37(),
|
|
31269
31287
|
IsNumber362({}, { message: "debe ser un n\xFAmero" }),
|
|
31270
31288
|
Type368(() => Number),
|
|
31271
31289
|
Expose534()
|
|
31272
31290
|
], PreAcceptedDto.prototype, "IdUser", 2);
|
|
31273
31291
|
__decorateClass([
|
|
31274
|
-
|
|
31292
|
+
IsOptional37(),
|
|
31275
31293
|
IsString416({ message: "debe ser texto" }),
|
|
31276
31294
|
Expose534()
|
|
31277
31295
|
], PreAcceptedDto.prototype, "User", 2);
|
|
31278
31296
|
__decorateClass([
|
|
31279
|
-
|
|
31297
|
+
IsOptional37(),
|
|
31280
31298
|
IsString416({ message: "debe ser texto" }),
|
|
31281
31299
|
Expose534()
|
|
31282
31300
|
], PreAcceptedDto.prototype, "LastName", 2);
|
|
31283
31301
|
__decorateClass([
|
|
31284
|
-
|
|
31302
|
+
IsOptional37(),
|
|
31285
31303
|
IsString416({ message: "debe ser texto" }),
|
|
31286
31304
|
Expose534()
|
|
31287
31305
|
], PreAcceptedDto.prototype, "Name", 2);
|
|
31288
31306
|
__decorateClass([
|
|
31289
|
-
|
|
31307
|
+
IsOptional37(),
|
|
31290
31308
|
IsString416({ message: "debe ser texto" }),
|
|
31291
31309
|
Expose534()
|
|
31292
31310
|
], PreAcceptedDto.prototype, "Perfil", 2);
|
|
31293
31311
|
__decorateClass([
|
|
31294
|
-
|
|
31312
|
+
IsOptional37(),
|
|
31295
31313
|
IsString416({ message: "debe ser texto" }),
|
|
31296
31314
|
Expose534()
|
|
31297
31315
|
], PreAcceptedDto.prototype, "FullName", 2);
|
|
31298
31316
|
|
|
31299
31317
|
// src/logistica/procesos/navisionpreorden/shared/dto/registry-dto.ts
|
|
31300
31318
|
import { Expose as Expose535, Type as Type369, Transform as Transform74 } from "class-transformer";
|
|
31301
|
-
import { IsDate as IsDate125, IsNumber as IsNumber363, IsOptional as
|
|
31319
|
+
import { IsDate as IsDate125, IsNumber as IsNumber363, IsOptional as IsOptional38, IsString as IsString417, Min as Min283 } from "class-validator";
|
|
31302
31320
|
var RegistryDto = class {
|
|
31303
31321
|
IdDate = 0;
|
|
31304
31322
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31310,46 +31328,46 @@ var RegistryDto = class {
|
|
|
31310
31328
|
FullName = "";
|
|
31311
31329
|
};
|
|
31312
31330
|
__decorateClass([
|
|
31313
|
-
|
|
31331
|
+
IsOptional38(),
|
|
31314
31332
|
IsNumber363({}, { message: "debe ser un n\xFAmero" }),
|
|
31315
31333
|
Min283(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31316
31334
|
Expose535()
|
|
31317
31335
|
], RegistryDto.prototype, "IdDate", 2);
|
|
31318
31336
|
__decorateClass([
|
|
31319
|
-
|
|
31337
|
+
IsOptional38(),
|
|
31320
31338
|
Transform74(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31321
31339
|
IsDate125({ message: "debe ser una fecha" }),
|
|
31322
31340
|
Type369(() => Date),
|
|
31323
31341
|
Expose535()
|
|
31324
31342
|
], RegistryDto.prototype, "Date", 2);
|
|
31325
31343
|
__decorateClass([
|
|
31326
|
-
|
|
31344
|
+
IsOptional38(),
|
|
31327
31345
|
IsNumber363({}, { message: "debe ser un n\xFAmero" }),
|
|
31328
31346
|
Type369(() => Number),
|
|
31329
31347
|
Expose535()
|
|
31330
31348
|
], RegistryDto.prototype, "IdUser", 2);
|
|
31331
31349
|
__decorateClass([
|
|
31332
|
-
|
|
31350
|
+
IsOptional38(),
|
|
31333
31351
|
IsString417({ message: "debe ser texto" }),
|
|
31334
31352
|
Expose535()
|
|
31335
31353
|
], RegistryDto.prototype, "User", 2);
|
|
31336
31354
|
__decorateClass([
|
|
31337
|
-
|
|
31355
|
+
IsOptional38(),
|
|
31338
31356
|
IsString417({ message: "debe ser texto" }),
|
|
31339
31357
|
Expose535()
|
|
31340
31358
|
], RegistryDto.prototype, "LastName", 2);
|
|
31341
31359
|
__decorateClass([
|
|
31342
|
-
|
|
31360
|
+
IsOptional38(),
|
|
31343
31361
|
IsString417({ message: "debe ser texto" }),
|
|
31344
31362
|
Expose535()
|
|
31345
31363
|
], RegistryDto.prototype, "Name", 2);
|
|
31346
31364
|
__decorateClass([
|
|
31347
|
-
|
|
31365
|
+
IsOptional38(),
|
|
31348
31366
|
IsString417({ message: "debe ser texto" }),
|
|
31349
31367
|
Expose535()
|
|
31350
31368
|
], RegistryDto.prototype, "Perfil", 2);
|
|
31351
31369
|
__decorateClass([
|
|
31352
|
-
|
|
31370
|
+
IsOptional38(),
|
|
31353
31371
|
IsString417({ message: "debe ser texto" }),
|
|
31354
31372
|
Expose535()
|
|
31355
31373
|
], RegistryDto.prototype, "FullName", 2);
|
|
@@ -31359,7 +31377,7 @@ import { Type as Type371 } from "class-transformer";
|
|
|
31359
31377
|
|
|
31360
31378
|
// src/logistica/procesos/navisionpreorden/shared/dto/update-dto.ts
|
|
31361
31379
|
import { Expose as Expose536, Type as Type370, Transform as Transform75 } from "class-transformer";
|
|
31362
|
-
import { IsDate as IsDate126, IsNumber as IsNumber364, IsOptional as
|
|
31380
|
+
import { IsDate as IsDate126, IsNumber as IsNumber364, IsOptional as IsOptional39, IsString as IsString418, Min as Min284 } from "class-validator";
|
|
31363
31381
|
var UpdateDto = class {
|
|
31364
31382
|
IdDate = 0;
|
|
31365
31383
|
Date = /* @__PURE__ */ new Date();
|
|
@@ -31371,46 +31389,46 @@ var UpdateDto = class {
|
|
|
31371
31389
|
FullName = "";
|
|
31372
31390
|
};
|
|
31373
31391
|
__decorateClass([
|
|
31374
|
-
|
|
31392
|
+
IsOptional39(),
|
|
31375
31393
|
IsNumber364({}, { message: "debe ser un n\xFAmero" }),
|
|
31376
31394
|
Min284(0, { message: "el valor m\xEDnimo es 0" }),
|
|
31377
31395
|
Expose536()
|
|
31378
31396
|
], UpdateDto.prototype, "IdDate", 2);
|
|
31379
31397
|
__decorateClass([
|
|
31380
|
-
|
|
31398
|
+
IsOptional39(),
|
|
31381
31399
|
Transform75(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
31382
31400
|
IsDate126({ message: "debe ser una fecha" }),
|
|
31383
31401
|
Type370(() => Date),
|
|
31384
31402
|
Expose536()
|
|
31385
31403
|
], UpdateDto.prototype, "Date", 2);
|
|
31386
31404
|
__decorateClass([
|
|
31387
|
-
|
|
31405
|
+
IsOptional39(),
|
|
31388
31406
|
IsNumber364({}, { message: "debe ser un n\xFAmero" }),
|
|
31389
31407
|
Type370(() => Number),
|
|
31390
31408
|
Expose536()
|
|
31391
31409
|
], UpdateDto.prototype, "IdUser", 2);
|
|
31392
31410
|
__decorateClass([
|
|
31393
|
-
|
|
31411
|
+
IsOptional39(),
|
|
31394
31412
|
IsString418({ message: "debe ser texto" }),
|
|
31395
31413
|
Expose536()
|
|
31396
31414
|
], UpdateDto.prototype, "User", 2);
|
|
31397
31415
|
__decorateClass([
|
|
31398
|
-
|
|
31416
|
+
IsOptional39(),
|
|
31399
31417
|
IsString418({ message: "debe ser texto" }),
|
|
31400
31418
|
Expose536()
|
|
31401
31419
|
], UpdateDto.prototype, "LastName", 2);
|
|
31402
31420
|
__decorateClass([
|
|
31403
|
-
|
|
31421
|
+
IsOptional39(),
|
|
31404
31422
|
IsString418({ message: "debe ser texto" }),
|
|
31405
31423
|
Expose536()
|
|
31406
31424
|
], UpdateDto.prototype, "Name", 2);
|
|
31407
31425
|
__decorateClass([
|
|
31408
|
-
|
|
31426
|
+
IsOptional39(),
|
|
31409
31427
|
IsString418({ message: "debe ser texto" }),
|
|
31410
31428
|
Expose536()
|
|
31411
31429
|
], UpdateDto.prototype, "Perfil", 2);
|
|
31412
31430
|
__decorateClass([
|
|
31413
|
-
|
|
31431
|
+
IsOptional39(),
|
|
31414
31432
|
IsString418({ message: "debe ser texto" }),
|
|
31415
31433
|
Expose536()
|
|
31416
31434
|
], UpdateDto.prototype, "FullName", 2);
|
|
@@ -31830,7 +31848,7 @@ __decorateClass([
|
|
|
31830
31848
|
|
|
31831
31849
|
// src/logistica/procesos/navisionpreorden/shared/dto/almacen-dto.ts
|
|
31832
31850
|
import { Expose as Expose550 } from "class-transformer";
|
|
31833
|
-
import { IsNumber as IsNumber367, IsOptional as
|
|
31851
|
+
import { IsNumber as IsNumber367, IsOptional as IsOptional41, IsString as IsString430 } from "class-validator";
|
|
31834
31852
|
var AlmacenDto = class {
|
|
31835
31853
|
Codigo = "";
|
|
31836
31854
|
Almacen = "";
|
|
@@ -31842,17 +31860,17 @@ __decorateClass([
|
|
|
31842
31860
|
Expose550()
|
|
31843
31861
|
], AlmacenDto.prototype, "Codigo", 2);
|
|
31844
31862
|
__decorateClass([
|
|
31845
|
-
|
|
31863
|
+
IsOptional41(),
|
|
31846
31864
|
IsString430({ message: "debe ser texto" }),
|
|
31847
31865
|
Expose550()
|
|
31848
31866
|
], AlmacenDto.prototype, "Almacen", 2);
|
|
31849
31867
|
__decorateClass([
|
|
31850
|
-
|
|
31868
|
+
IsOptional41(),
|
|
31851
31869
|
IsString430({ message: "debe ser texto" }),
|
|
31852
31870
|
Expose550()
|
|
31853
31871
|
], AlmacenDto.prototype, "Direccion", 2);
|
|
31854
31872
|
__decorateClass([
|
|
31855
|
-
|
|
31873
|
+
IsOptional41(),
|
|
31856
31874
|
IsNumber367({}, { message: "debe ser un n\xFAmero" }),
|
|
31857
31875
|
Expose550()
|
|
31858
31876
|
], AlmacenDto.prototype, "ID_Almacen", 2);
|
|
@@ -32134,7 +32152,7 @@ __decorateClass([
|
|
|
32134
32152
|
|
|
32135
32153
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-producto-dto.ts
|
|
32136
32154
|
import { Expose as Expose578, Type as Type385 } from "class-transformer";
|
|
32137
|
-
import { IsOptional as
|
|
32155
|
+
import { IsOptional as IsOptional48, ValidateNested as ValidateNested344 } from "class-validator";
|
|
32138
32156
|
|
|
32139
32157
|
// src/logistica/procesos/navisionpreorden/shared/dto/detalle-dto.ts
|
|
32140
32158
|
import { Expose as Expose561 } from "class-transformer";
|
|
@@ -32184,33 +32202,33 @@ __decorateClass([
|
|
|
32184
32202
|
|
|
32185
32203
|
// src/logistica/procesos/navisionpreorden/shared/dto/equipo-serie-dto.ts
|
|
32186
32204
|
import { Expose as Expose565, Type as Type380 } from "class-transformer";
|
|
32187
|
-
import { IsOptional as
|
|
32205
|
+
import { IsOptional as IsOptional46, IsString as IsString444, IsNumber as IsNumber375, IsNotEmpty as IsNotEmpty369, ValidateNested as ValidateNested340 } from "class-validator";
|
|
32188
32206
|
|
|
32189
32207
|
// src/logistica/procesos/navisionpreorden/shared/dto/estado-serie-dto.ts
|
|
32190
32208
|
import { Expose as Expose562 } from "class-transformer";
|
|
32191
|
-
import { IsOptional as
|
|
32209
|
+
import { IsOptional as IsOptional43, IsString as IsString441, IsNumber as IsNumber373 } from "class-validator";
|
|
32192
32210
|
var EstadoSerieDto = class {
|
|
32193
32211
|
ID_Estado = 0;
|
|
32194
32212
|
Nombre = "";
|
|
32195
32213
|
};
|
|
32196
32214
|
__decorateClass([
|
|
32197
|
-
|
|
32215
|
+
IsOptional43(),
|
|
32198
32216
|
IsNumber373({}, { message: "debe ser un n\xFAmero" }),
|
|
32199
32217
|
Expose562()
|
|
32200
32218
|
], EstadoSerieDto.prototype, "ID_Estado", 2);
|
|
32201
32219
|
__decorateClass([
|
|
32202
|
-
|
|
32220
|
+
IsOptional43(),
|
|
32203
32221
|
IsString441({ message: "debe ser texto" }),
|
|
32204
32222
|
Expose562()
|
|
32205
32223
|
], EstadoSerieDto.prototype, "Nombre", 2);
|
|
32206
32224
|
|
|
32207
32225
|
// src/logistica/procesos/navisionpreorden/shared/dto/validado-serie-dto.ts
|
|
32208
32226
|
import { Expose as Expose564, Type as Type379 } from "class-transformer";
|
|
32209
|
-
import { IsOptional as
|
|
32227
|
+
import { IsOptional as IsOptional45, ValidateNested as ValidateNested339, IsDate as IsDate127 } from "class-validator";
|
|
32210
32228
|
|
|
32211
32229
|
// src/logistica/procesos/navisionpreorden/shared/dto/validado-usuario-serie-dto.ts
|
|
32212
32230
|
import { Expose as Expose563 } from "class-transformer";
|
|
32213
|
-
import { IsOptional as
|
|
32231
|
+
import { IsOptional as IsOptional44, IsString as IsString442, IsNumber as IsNumber374 } from "class-validator";
|
|
32214
32232
|
var ValidadoUsuarioSerieDto = class {
|
|
32215
32233
|
ID_Usuario = 0;
|
|
32216
32234
|
NumeroDocumentoIdentidad = "";
|
|
@@ -32219,27 +32237,27 @@ var ValidadoUsuarioSerieDto = class {
|
|
|
32219
32237
|
Nombres = "";
|
|
32220
32238
|
};
|
|
32221
32239
|
__decorateClass([
|
|
32222
|
-
|
|
32240
|
+
IsOptional44(),
|
|
32223
32241
|
IsNumber374({}, { message: "debe ser un n\xFAmero" }),
|
|
32224
32242
|
Expose563()
|
|
32225
32243
|
], ValidadoUsuarioSerieDto.prototype, "ID_Usuario", 2);
|
|
32226
32244
|
__decorateClass([
|
|
32227
|
-
|
|
32245
|
+
IsOptional44(),
|
|
32228
32246
|
IsString442({ message: "debe ser texto" }),
|
|
32229
32247
|
Expose563()
|
|
32230
32248
|
], ValidadoUsuarioSerieDto.prototype, "NumeroDocumentoIdentidad", 2);
|
|
32231
32249
|
__decorateClass([
|
|
32232
|
-
|
|
32250
|
+
IsOptional44(),
|
|
32233
32251
|
IsString442({ message: "debe ser texto" }),
|
|
32234
32252
|
Expose563()
|
|
32235
32253
|
], ValidadoUsuarioSerieDto.prototype, "ApellidoPaterno", 2);
|
|
32236
32254
|
__decorateClass([
|
|
32237
|
-
|
|
32255
|
+
IsOptional44(),
|
|
32238
32256
|
IsString442({ message: "debe ser texto" }),
|
|
32239
32257
|
Expose563()
|
|
32240
32258
|
], ValidadoUsuarioSerieDto.prototype, "ApellidoMaterno", 2);
|
|
32241
32259
|
__decorateClass([
|
|
32242
|
-
|
|
32260
|
+
IsOptional44(),
|
|
32243
32261
|
IsString442({ message: "debe ser texto" }),
|
|
32244
32262
|
Expose563()
|
|
32245
32263
|
], ValidadoUsuarioSerieDto.prototype, "Nombres", 2);
|
|
@@ -32250,13 +32268,13 @@ var ValidadoSerieDto = class {
|
|
|
32250
32268
|
Usuario = new ValidadoUsuarioSerieDto();
|
|
32251
32269
|
};
|
|
32252
32270
|
__decorateClass([
|
|
32253
|
-
|
|
32271
|
+
IsOptional45(),
|
|
32254
32272
|
IsDate127({ message: "debe ser una fecha" }),
|
|
32255
32273
|
Type379(() => Date),
|
|
32256
32274
|
Expose564()
|
|
32257
32275
|
], ValidadoSerieDto.prototype, "Fecha", 2);
|
|
32258
32276
|
__decorateClass([
|
|
32259
|
-
|
|
32277
|
+
IsOptional45(),
|
|
32260
32278
|
ValidateNested339(),
|
|
32261
32279
|
Type379(() => ValidadoUsuarioSerieDto),
|
|
32262
32280
|
Expose564()
|
|
@@ -32277,7 +32295,7 @@ var EquipoSerieDto = class {
|
|
|
32277
32295
|
Estado;
|
|
32278
32296
|
};
|
|
32279
32297
|
__decorateClass([
|
|
32280
|
-
|
|
32298
|
+
IsOptional46(),
|
|
32281
32299
|
IsNumber375({}, { message: "debe ser un n\xFAmero" }),
|
|
32282
32300
|
Expose565()
|
|
32283
32301
|
], EquipoSerieDto.prototype, "Posicion", 2);
|
|
@@ -32287,17 +32305,17 @@ __decorateClass([
|
|
|
32287
32305
|
Expose565()
|
|
32288
32306
|
], EquipoSerieDto.prototype, "Collection", 2);
|
|
32289
32307
|
__decorateClass([
|
|
32290
|
-
|
|
32308
|
+
IsOptional46(),
|
|
32291
32309
|
IsString444({ message: "debe ser texto" }),
|
|
32292
32310
|
Expose565()
|
|
32293
32311
|
], EquipoSerieDto.prototype, "NroDocumento", 2);
|
|
32294
32312
|
__decorateClass([
|
|
32295
|
-
|
|
32313
|
+
IsOptional46(),
|
|
32296
32314
|
IsString444({ message: "debe ser texto" }),
|
|
32297
32315
|
Expose565()
|
|
32298
32316
|
], EquipoSerieDto.prototype, "Orden", 2);
|
|
32299
32317
|
__decorateClass([
|
|
32300
|
-
|
|
32318
|
+
IsOptional46(),
|
|
32301
32319
|
IsString444({ message: "debe ser texto" }),
|
|
32302
32320
|
Expose565()
|
|
32303
32321
|
], EquipoSerieDto.prototype, "NroContable", 2);
|
|
@@ -32307,28 +32325,28 @@ __decorateClass([
|
|
|
32307
32325
|
Expose565()
|
|
32308
32326
|
], EquipoSerieDto.prototype, "Serie", 2);
|
|
32309
32327
|
__decorateClass([
|
|
32310
|
-
|
|
32328
|
+
IsOptional46(),
|
|
32311
32329
|
IsString444({ message: "debe ser texto" }),
|
|
32312
32330
|
Expose565()
|
|
32313
32331
|
], EquipoSerieDto.prototype, "MAC", 2);
|
|
32314
32332
|
__decorateClass([
|
|
32315
|
-
|
|
32333
|
+
IsOptional46(),
|
|
32316
32334
|
IsString444({ message: "debe ser texto" }),
|
|
32317
32335
|
Expose565()
|
|
32318
32336
|
], EquipoSerieDto.prototype, "Marca", 2);
|
|
32319
32337
|
__decorateClass([
|
|
32320
|
-
|
|
32338
|
+
IsOptional46(),
|
|
32321
32339
|
IsString444({ message: "debe ser texto" }),
|
|
32322
32340
|
Expose565()
|
|
32323
32341
|
], EquipoSerieDto.prototype, "Modelo", 2);
|
|
32324
32342
|
__decorateClass([
|
|
32325
|
-
|
|
32343
|
+
IsOptional46(),
|
|
32326
32344
|
ValidateNested340(),
|
|
32327
32345
|
Type380(() => ValidadoSerieDto),
|
|
32328
32346
|
Expose565()
|
|
32329
32347
|
], EquipoSerieDto.prototype, "Validado", 2);
|
|
32330
32348
|
__decorateClass([
|
|
32331
|
-
|
|
32349
|
+
IsOptional46(),
|
|
32332
32350
|
ValidateNested340(),
|
|
32333
32351
|
Type380(() => EstadoSerieDto),
|
|
32334
32352
|
Expose565()
|
|
@@ -32361,7 +32379,7 @@ __decorateClass([
|
|
|
32361
32379
|
], FechaEntregaDto.prototype, "Date", 2);
|
|
32362
32380
|
|
|
32363
32381
|
// src/logistica/procesos/navisionpreorden/shared/dto/producto-dto.ts
|
|
32364
|
-
import { IsArray as IsArray199, IsBoolean as IsBoolean54, IsNumber as IsNumber378, IsOptional as
|
|
32382
|
+
import { IsArray as IsArray199, IsBoolean as IsBoolean54, IsNumber as IsNumber378, IsOptional as IsOptional47, IsString as IsString452, ValidateNested as ValidateNested341 } from "class-validator";
|
|
32365
32383
|
|
|
32366
32384
|
// src/logistica/procesos/navisionpreorden/shared/dto/recepcion-dto.ts
|
|
32367
32385
|
import { Expose as Expose567 } from "class-transformer";
|
|
@@ -32569,12 +32587,12 @@ __decorateClass([
|
|
|
32569
32587
|
Expose573()
|
|
32570
32588
|
], ProductoDto.prototype, "IGV", 2);
|
|
32571
32589
|
__decorateClass([
|
|
32572
|
-
|
|
32590
|
+
IsOptional47(),
|
|
32573
32591
|
IsBoolean54({ message: "debe ser true o false" }),
|
|
32574
32592
|
Expose573()
|
|
32575
32593
|
], ProductoDto.prototype, "esFraccion", 2);
|
|
32576
32594
|
__decorateClass([
|
|
32577
|
-
|
|
32595
|
+
IsOptional47(),
|
|
32578
32596
|
IsNumber378({}, { message: "debe ser un n\xFAmero" }),
|
|
32579
32597
|
Expose573()
|
|
32580
32598
|
], ProductoDto.prototype, "CantidadComparativo", 2);
|
|
@@ -32599,19 +32617,19 @@ __decorateClass([
|
|
|
32599
32617
|
Expose573()
|
|
32600
32618
|
], ProductoDto.prototype, "CantidadDisponible", 2);
|
|
32601
32619
|
__decorateClass([
|
|
32602
|
-
|
|
32620
|
+
IsOptional47(),
|
|
32603
32621
|
IsArray199({ message: "debe ser un array" }),
|
|
32604
32622
|
Type382(() => RecepcionDto),
|
|
32605
32623
|
ValidateNested341({ each: true }),
|
|
32606
32624
|
Expose573()
|
|
32607
32625
|
], ProductoDto.prototype, "Recepcion", 2);
|
|
32608
32626
|
__decorateClass([
|
|
32609
|
-
|
|
32627
|
+
IsOptional47(),
|
|
32610
32628
|
IsString452({ message: "debe ser texto" }),
|
|
32611
32629
|
Expose573()
|
|
32612
32630
|
], ProductoDto.prototype, "Ind_SB", 2);
|
|
32613
32631
|
__decorateClass([
|
|
32614
|
-
|
|
32632
|
+
IsOptional47(),
|
|
32615
32633
|
IsArray199({ message: "debe ser un array" }),
|
|
32616
32634
|
Type382(() => EquipoSerieDto),
|
|
32617
32635
|
ValidateNested341({ each: true }),
|
|
@@ -32760,7 +32778,7 @@ var DetalleProductoDto = class {
|
|
|
32760
32778
|
Producto = new ProductoDto();
|
|
32761
32779
|
};
|
|
32762
32780
|
__decorateClass([
|
|
32763
|
-
|
|
32781
|
+
IsOptional48(),
|
|
32764
32782
|
Type385(() => RequerimientoDto),
|
|
32765
32783
|
ValidateNested344(),
|
|
32766
32784
|
Expose578()
|
|
@@ -32867,7 +32885,7 @@ __decorateClass([
|
|
|
32867
32885
|
], IconoDto.prototype, "Status", 2);
|
|
32868
32886
|
|
|
32869
32887
|
// src/logistica/procesos/navisionpreorden/shared/dto/statu-dto.ts
|
|
32870
|
-
import { IsBoolean as IsBoolean56, ValidateNested as ValidateNested347, IsOptional as
|
|
32888
|
+
import { IsBoolean as IsBoolean56, ValidateNested as ValidateNested347, IsOptional as IsOptional50, IsNumber as IsNumber383, IsString as IsString464 } from "class-validator";
|
|
32871
32889
|
|
|
32872
32890
|
// src/logistica/procesos/navisionpreorden/shared/dto/nav-dto.ts
|
|
32873
32891
|
import { Expose as Expose583 } from "class-transformer";
|
|
@@ -32909,7 +32927,7 @@ __decorateClass([
|
|
|
32909
32927
|
|
|
32910
32928
|
// src/logistica/procesos/navisionpreorden/shared/dto/solicitud-dto.ts
|
|
32911
32929
|
import { Expose as Expose585 } from "class-transformer";
|
|
32912
|
-
import { IsNumber as IsNumber382, IsOptional as
|
|
32930
|
+
import { IsNumber as IsNumber382, IsOptional as IsOptional49, IsString as IsString463, Min as Min291 } from "class-validator";
|
|
32913
32931
|
var SolicitudDto = class {
|
|
32914
32932
|
IdStatus = 0;
|
|
32915
32933
|
Status = "";
|
|
@@ -32920,7 +32938,7 @@ __decorateClass([
|
|
|
32920
32938
|
Expose585()
|
|
32921
32939
|
], SolicitudDto.prototype, "IdStatus", 2);
|
|
32922
32940
|
__decorateClass([
|
|
32923
|
-
|
|
32941
|
+
IsOptional49(),
|
|
32924
32942
|
IsString463({ message: "debe ser texto" }),
|
|
32925
32943
|
Expose585()
|
|
32926
32944
|
], SolicitudDto.prototype, "Status", 2);
|
|
@@ -32940,56 +32958,56 @@ var StatuDto = class {
|
|
|
32940
32958
|
Status = "";
|
|
32941
32959
|
};
|
|
32942
32960
|
__decorateClass([
|
|
32943
|
-
|
|
32961
|
+
IsOptional50(),
|
|
32944
32962
|
Type388(() => NavDto),
|
|
32945
32963
|
ValidateNested347(),
|
|
32946
32964
|
Expose586()
|
|
32947
32965
|
], StatuDto.prototype, "Nav", 2);
|
|
32948
32966
|
__decorateClass([
|
|
32949
|
-
|
|
32967
|
+
IsOptional50(),
|
|
32950
32968
|
Type388(() => SolicitudDto),
|
|
32951
32969
|
ValidateNested347(),
|
|
32952
32970
|
Expose586()
|
|
32953
32971
|
], StatuDto.prototype, "Solicitud", 2);
|
|
32954
32972
|
__decorateClass([
|
|
32955
|
-
|
|
32973
|
+
IsOptional50(),
|
|
32956
32974
|
Type388(() => IconoDto),
|
|
32957
32975
|
ValidateNested347(),
|
|
32958
32976
|
Expose586()
|
|
32959
32977
|
], StatuDto.prototype, "Icono", 2);
|
|
32960
32978
|
__decorateClass([
|
|
32961
|
-
|
|
32979
|
+
IsOptional50(),
|
|
32962
32980
|
IsBoolean56({ message: "debe ser true o false" }),
|
|
32963
32981
|
Expose586()
|
|
32964
32982
|
], StatuDto.prototype, "Digitalizado", 2);
|
|
32965
32983
|
__decorateClass([
|
|
32966
|
-
|
|
32984
|
+
IsOptional50(),
|
|
32967
32985
|
IsBoolean56({ message: "debe ser true o false" }),
|
|
32968
32986
|
Expose586()
|
|
32969
32987
|
], StatuDto.prototype, "AsociarOrdenCompra", 2);
|
|
32970
32988
|
__decorateClass([
|
|
32971
|
-
|
|
32989
|
+
IsOptional50(),
|
|
32972
32990
|
IsBoolean56({ message: "debe ser true o false" }),
|
|
32973
32991
|
Expose586()
|
|
32974
32992
|
], StatuDto.prototype, "FactorCambio", 2);
|
|
32975
32993
|
__decorateClass([
|
|
32976
|
-
|
|
32994
|
+
IsOptional50(),
|
|
32977
32995
|
IsBoolean56({ message: "debe ser true o false" }),
|
|
32978
32996
|
Expose586()
|
|
32979
32997
|
], StatuDto.prototype, "PreOrden", 2);
|
|
32980
32998
|
__decorateClass([
|
|
32981
|
-
|
|
32999
|
+
IsOptional50(),
|
|
32982
33000
|
Type388(() => ProcedenciaDto),
|
|
32983
33001
|
ValidateNested347(),
|
|
32984
33002
|
Expose586()
|
|
32985
33003
|
], StatuDto.prototype, "Procedencia", 2);
|
|
32986
33004
|
__decorateClass([
|
|
32987
|
-
|
|
33005
|
+
IsOptional50(),
|
|
32988
33006
|
IsNumber383({}, { message: "debe ser un n\xFAmero" }),
|
|
32989
33007
|
Expose586()
|
|
32990
33008
|
], StatuDto.prototype, "IdStatus", 2);
|
|
32991
33009
|
__decorateClass([
|
|
32992
|
-
|
|
33010
|
+
IsOptional50(),
|
|
32993
33011
|
IsString464({ message: "debe ser texto" }),
|
|
32994
33012
|
Expose586()
|
|
32995
33013
|
], StatuDto.prototype, "Status", 2);
|
|
@@ -33165,7 +33183,7 @@ __decorateClass([
|
|
|
33165
33183
|
|
|
33166
33184
|
// src/logistica/procesos/navisionpreorden/shared/dto/file-dto.ts
|
|
33167
33185
|
import { Expose as Expose591, Type as Type393 } from "class-transformer";
|
|
33168
|
-
import { IsArray as IsArray204, IsOptional as
|
|
33186
|
+
import { IsArray as IsArray204, IsOptional as IsOptional51, ValidateNested as ValidateNested352 } from "class-validator";
|
|
33169
33187
|
|
|
33170
33188
|
// src/logistica/procesos/navisionpreorden/shared/dto/pedido-compra-dto.ts
|
|
33171
33189
|
import { Expose as Expose590 } from "class-transformer";
|
|
@@ -33234,42 +33252,42 @@ var FileDto = class {
|
|
|
33234
33252
|
AnexosAlbaran = [];
|
|
33235
33253
|
};
|
|
33236
33254
|
__decorateClass([
|
|
33237
|
-
|
|
33255
|
+
IsOptional51(),
|
|
33238
33256
|
IsArray204({ message: "debe ser un array" }),
|
|
33239
33257
|
Type393(() => AnexoPreOrdenDto),
|
|
33240
33258
|
ValidateNested352({ each: true }),
|
|
33241
33259
|
Expose591()
|
|
33242
33260
|
], FileDto.prototype, "AnexoPreOrden", 2);
|
|
33243
33261
|
__decorateClass([
|
|
33244
|
-
|
|
33262
|
+
IsOptional51(),
|
|
33245
33263
|
IsArray204({ message: "debe ser un array" }),
|
|
33246
33264
|
Type393(() => ComparativoDto),
|
|
33247
33265
|
ValidateNested352({ each: true }),
|
|
33248
33266
|
Expose591()
|
|
33249
33267
|
], FileDto.prototype, "Comparativo", 2);
|
|
33250
33268
|
__decorateClass([
|
|
33251
|
-
|
|
33269
|
+
IsOptional51(),
|
|
33252
33270
|
IsArray204({ message: "debe ser un array" }),
|
|
33253
33271
|
Type393(() => CotizacionDto),
|
|
33254
33272
|
ValidateNested352({ each: true }),
|
|
33255
33273
|
Expose591()
|
|
33256
33274
|
], FileDto.prototype, "Cotizacion", 2);
|
|
33257
33275
|
__decorateClass([
|
|
33258
|
-
|
|
33276
|
+
IsOptional51(),
|
|
33259
33277
|
IsArray204({ message: "debe ser un array" }),
|
|
33260
33278
|
Type393(() => PedidoCompraDto),
|
|
33261
33279
|
ValidateNested352({ each: true }),
|
|
33262
33280
|
Expose591()
|
|
33263
33281
|
], FileDto.prototype, "PedidoCompra", 2);
|
|
33264
33282
|
__decorateClass([
|
|
33265
|
-
|
|
33283
|
+
IsOptional51(),
|
|
33266
33284
|
IsArray204({ message: "debe ser un array" }),
|
|
33267
33285
|
Type393(() => AlbaranDto),
|
|
33268
33286
|
ValidateNested352({ each: true }),
|
|
33269
33287
|
Expose591()
|
|
33270
33288
|
], FileDto.prototype, "Albaran", 2);
|
|
33271
33289
|
__decorateClass([
|
|
33272
|
-
|
|
33290
|
+
IsOptional51(),
|
|
33273
33291
|
IsArray204({ message: "debe ser un array" }),
|
|
33274
33292
|
Type393(() => AlbaranDto),
|
|
33275
33293
|
ValidateNested352({ each: true }),
|
|
@@ -33311,7 +33329,7 @@ __decorateClass([
|
|
|
33311
33329
|
], FlujoDto.prototype, "Aprobacion", 2);
|
|
33312
33330
|
|
|
33313
33331
|
// src/logistica/procesos/navisionpreorden/shared/navisionpreorden-entity.ts
|
|
33314
|
-
import { IsArray as IsArray208, IsBoolean as IsBoolean58, IsDate as IsDate129, IsNotEmpty as IsNotEmpty396, IsNumber as IsNumber388, IsOptional as
|
|
33332
|
+
import { IsArray as IsArray208, IsBoolean as IsBoolean58, IsDate as IsDate129, IsNotEmpty as IsNotEmpty396, IsNumber as IsNumber388, IsOptional as IsOptional52, IsString as IsString475, Min as Min295, ValidateNested as ValidateNested356 } from "class-validator";
|
|
33315
33333
|
|
|
33316
33334
|
// src/logistica/procesos/navisionpreorden/shared/dto/contabilizado-dto.ts
|
|
33317
33335
|
import { Expose as Expose593 } from "class-transformer";
|
|
@@ -33733,10 +33751,10 @@ __decorateClass([
|
|
|
33733
33751
|
Type397(() => AprobacionDto),
|
|
33734
33752
|
ValidateNested356(),
|
|
33735
33753
|
Expose598(),
|
|
33736
|
-
|
|
33754
|
+
IsOptional52()
|
|
33737
33755
|
], NavisionpreordenEntity.prototype, "Aprobacion", 2);
|
|
33738
33756
|
__decorateClass([
|
|
33739
|
-
|
|
33757
|
+
IsOptional52(),
|
|
33740
33758
|
IsString475({ message: "debe ser texto" }),
|
|
33741
33759
|
Expose598()
|
|
33742
33760
|
], NavisionpreordenEntity.prototype, "PDFTipoPedido", 2);
|
|
@@ -33745,12 +33763,12 @@ __decorateClass([
|
|
|
33745
33763
|
Expose598()
|
|
33746
33764
|
], NavisionpreordenEntity.prototype, "isSinRq", 2);
|
|
33747
33765
|
__decorateClass([
|
|
33748
|
-
|
|
33766
|
+
IsOptional52(),
|
|
33749
33767
|
IsString475({ message: "debe ser texto" }),
|
|
33750
33768
|
Expose598()
|
|
33751
33769
|
], NavisionpreordenEntity.prototype, "PDF", 2);
|
|
33752
33770
|
__decorateClass([
|
|
33753
|
-
|
|
33771
|
+
IsOptional52(),
|
|
33754
33772
|
IsString475({ message: "debe ser texto" }),
|
|
33755
33773
|
Expose598()
|
|
33756
33774
|
], NavisionpreordenEntity.prototype, "PDFComparativo", 2);
|
|
@@ -33779,17 +33797,17 @@ __decorateClass([
|
|
|
33779
33797
|
Expose598()
|
|
33780
33798
|
], NavisionpreordenEntity.prototype, "Bitacora", 2);
|
|
33781
33799
|
__decorateClass([
|
|
33782
|
-
|
|
33800
|
+
IsOptional52(),
|
|
33783
33801
|
Type397(() => TipoCompraDto),
|
|
33784
33802
|
ValidateNested356(),
|
|
33785
33803
|
Expose598()
|
|
33786
33804
|
], NavisionpreordenEntity.prototype, "TipoCompra", 2);
|
|
33787
33805
|
__decorateClass([
|
|
33788
|
-
|
|
33806
|
+
IsOptional52(),
|
|
33789
33807
|
Expose598()
|
|
33790
33808
|
], NavisionpreordenEntity.prototype, "Compliance", 2);
|
|
33791
33809
|
__decorateClass([
|
|
33792
|
-
|
|
33810
|
+
IsOptional52(),
|
|
33793
33811
|
IsBoolean58({ message: "debe ser true o false" }),
|
|
33794
33812
|
Expose598()
|
|
33795
33813
|
], NavisionpreordenEntity.prototype, "isCompliance", 2);
|
|
@@ -33799,84 +33817,84 @@ __decorateClass([
|
|
|
33799
33817
|
Expose598()
|
|
33800
33818
|
], NavisionpreordenEntity.prototype, "Files", 2);
|
|
33801
33819
|
__decorateClass([
|
|
33802
|
-
|
|
33820
|
+
IsOptional52(),
|
|
33803
33821
|
Type397(() => FlujoDto),
|
|
33804
33822
|
ValidateNested356(),
|
|
33805
33823
|
Expose598()
|
|
33806
33824
|
], NavisionpreordenEntity.prototype, "Flujo", 2);
|
|
33807
33825
|
__decorateClass([
|
|
33808
|
-
|
|
33826
|
+
IsOptional52(),
|
|
33809
33827
|
Type397(() => DatosNavDto),
|
|
33810
33828
|
ValidateNested356(),
|
|
33811
33829
|
Expose598()
|
|
33812
33830
|
], NavisionpreordenEntity.prototype, "DatosNav", 2);
|
|
33813
33831
|
__decorateClass([
|
|
33814
|
-
|
|
33832
|
+
IsOptional52(),
|
|
33815
33833
|
IsArray208({ message: "debe ser un array" }),
|
|
33816
33834
|
Expose598()
|
|
33817
33835
|
], NavisionpreordenEntity.prototype, "FacturaAsociada", 2);
|
|
33818
33836
|
__decorateClass([
|
|
33819
|
-
|
|
33837
|
+
IsOptional52(),
|
|
33820
33838
|
Expose598()
|
|
33821
33839
|
], NavisionpreordenEntity.prototype, "NavisionPreOrdenMock", 2);
|
|
33822
33840
|
__decorateClass([
|
|
33823
|
-
|
|
33841
|
+
IsOptional52(),
|
|
33824
33842
|
IsNumber388({}, { message: "debe ser un n\xFAmero" }),
|
|
33825
33843
|
Expose598()
|
|
33826
33844
|
], NavisionpreordenEntity.prototype, "Importe", 2);
|
|
33827
33845
|
__decorateClass([
|
|
33828
|
-
|
|
33846
|
+
IsOptional52(),
|
|
33829
33847
|
IsNumber388({}, { message: "debe ser un n\xFAmero" }),
|
|
33830
33848
|
Expose598()
|
|
33831
33849
|
], NavisionpreordenEntity.prototype, "ImporteIGV", 2);
|
|
33832
33850
|
__decorateClass([
|
|
33833
|
-
|
|
33851
|
+
IsOptional52(),
|
|
33834
33852
|
IsNumber388({}, { message: "debe ser un n\xFAmero" }),
|
|
33835
33853
|
Expose598()
|
|
33836
33854
|
], NavisionpreordenEntity.prototype, "Total", 2);
|
|
33837
33855
|
__decorateClass([
|
|
33838
|
-
|
|
33856
|
+
IsOptional52(),
|
|
33839
33857
|
Transform80(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
33840
33858
|
IsDate129({ message: "debe ser una fecha" }),
|
|
33841
33859
|
Type397(() => Date),
|
|
33842
33860
|
Expose598()
|
|
33843
33861
|
], NavisionpreordenEntity.prototype, "DateRegistry", 2);
|
|
33844
33862
|
__decorateClass([
|
|
33845
|
-
|
|
33863
|
+
IsOptional52(),
|
|
33846
33864
|
IsString475({ message: "debe ser texto" }),
|
|
33847
33865
|
Expose598()
|
|
33848
33866
|
], NavisionpreordenEntity.prototype, "UserRegistry", 2);
|
|
33849
33867
|
__decorateClass([
|
|
33850
|
-
|
|
33868
|
+
IsOptional52(),
|
|
33851
33869
|
Transform80(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
33852
33870
|
IsDate129({ message: "debe ser una fecha" }),
|
|
33853
33871
|
Type397(() => Date),
|
|
33854
33872
|
Expose598()
|
|
33855
33873
|
], NavisionpreordenEntity.prototype, "DateAccepted", 2);
|
|
33856
33874
|
__decorateClass([
|
|
33857
|
-
|
|
33875
|
+
IsOptional52(),
|
|
33858
33876
|
IsString475({ message: "debe ser texto" }),
|
|
33859
33877
|
Expose598()
|
|
33860
33878
|
], NavisionpreordenEntity.prototype, "UserAccepted", 2);
|
|
33861
33879
|
__decorateClass([
|
|
33862
|
-
|
|
33880
|
+
IsOptional52(),
|
|
33863
33881
|
Expose598()
|
|
33864
33882
|
], NavisionpreordenEntity.prototype, "DatosContrato", 2);
|
|
33865
33883
|
__decorateClass([
|
|
33866
|
-
|
|
33884
|
+
IsOptional52(),
|
|
33867
33885
|
Type397(() => EnviarNavDto),
|
|
33868
33886
|
ValidateNested356(),
|
|
33869
33887
|
Expose598()
|
|
33870
33888
|
], NavisionpreordenEntity.prototype, "enviarNav", 2);
|
|
33871
33889
|
__decorateClass([
|
|
33872
|
-
|
|
33890
|
+
IsOptional52(),
|
|
33873
33891
|
IsArray208({ message: "debe ser un array" }),
|
|
33874
33892
|
Type397(() => MovimientosRecepcionDto),
|
|
33875
33893
|
ValidateNested356({ each: true }),
|
|
33876
33894
|
Expose598()
|
|
33877
33895
|
], NavisionpreordenEntity.prototype, "MovimientosRecepcion", 2);
|
|
33878
33896
|
__decorateClass([
|
|
33879
|
-
|
|
33897
|
+
IsOptional52(),
|
|
33880
33898
|
IsBoolean58({ message: "debe ser true o false" }),
|
|
33881
33899
|
Expose598()
|
|
33882
33900
|
], NavisionpreordenEntity.prototype, "isModelSIGO", 2);
|
|
@@ -34236,7 +34254,7 @@ import {
|
|
|
34236
34254
|
IsDefined as IsDefined186,
|
|
34237
34255
|
IsNotEmpty as IsNotEmpty402,
|
|
34238
34256
|
IsNumber as IsNumber391,
|
|
34239
|
-
IsOptional as
|
|
34257
|
+
IsOptional as IsOptional53,
|
|
34240
34258
|
IsString as IsString482,
|
|
34241
34259
|
Length as Length274,
|
|
34242
34260
|
Min as Min297,
|
|
@@ -34315,7 +34333,7 @@ __decorateClass([
|
|
|
34315
34333
|
IsString482({ message: "debe ser un texto" }),
|
|
34316
34334
|
Length274(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
|
|
34317
34335
|
Expose606(),
|
|
34318
|
-
|
|
34336
|
+
IsOptional53()
|
|
34319
34337
|
], PersonalENTITY.prototype, "ApellidoMaterno", 2);
|
|
34320
34338
|
__decorateClass([
|
|
34321
34339
|
IsString482({ message: "debe ser un texto" }),
|
|
@@ -34798,7 +34816,7 @@ __decorateClass([
|
|
|
34798
34816
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
34799
34817
|
|
|
34800
34818
|
// src/configuracion/empresa/shared/index.ts
|
|
34801
|
-
import { IsArray as IsArray216, IsBoolean as IsBoolean62, IsNotEmpty as IsNotEmpty411, IsNumber as IsNumber400, IsOptional as
|
|
34819
|
+
import { IsArray as IsArray216, IsBoolean as IsBoolean62, IsNotEmpty as IsNotEmpty411, IsNumber as IsNumber400, IsOptional as IsOptional54, IsString as IsString493, Length as Length284, Min as Min306, ValidateNested as ValidateNested367 } from "class-validator";
|
|
34802
34820
|
var EmpresaENTITY = class {
|
|
34803
34821
|
ID_Empresa = 0;
|
|
34804
34822
|
Pais = new CodigoNombreDTO();
|
|
@@ -34911,7 +34929,7 @@ __decorateClass([
|
|
|
34911
34929
|
Type409(() => DatosGIADTO),
|
|
34912
34930
|
IsNotEmpty411({ message: "es requerido" }),
|
|
34913
34931
|
Expose617(),
|
|
34914
|
-
|
|
34932
|
+
IsOptional54(),
|
|
34915
34933
|
ValidateNested367()
|
|
34916
34934
|
], EmpresaENTITY.prototype, "DatosGIA", 2);
|
|
34917
34935
|
__decorateClass([
|
|
@@ -36244,11 +36262,11 @@ __decorateClass([
|
|
|
36244
36262
|
|
|
36245
36263
|
// src/configuracion/theme-config-user/shared/theme-config-user-entity.ts
|
|
36246
36264
|
import { Expose as Expose643, Type as Type428 } from "class-transformer";
|
|
36247
|
-
import { IsNumber as IsNumber416, IsString as IsString518, IsOptional as
|
|
36265
|
+
import { IsNumber as IsNumber416, IsString as IsString518, IsOptional as IsOptional56, ValidateNested as ValidateNested381, IsArray as IsArray221 } from "class-validator";
|
|
36248
36266
|
|
|
36249
36267
|
// src/configuracion/theme-config-user/shared/dto/favorito-dto.ts
|
|
36250
36268
|
import { Expose as Expose642 } from "class-transformer";
|
|
36251
|
-
import { IsString as IsString517, IsNumber as IsNumber415, IsOptional as
|
|
36269
|
+
import { IsString as IsString517, IsNumber as IsNumber415, IsOptional as IsOptional55 } from "class-validator";
|
|
36252
36270
|
var FavoritoDTO = class {
|
|
36253
36271
|
id = "";
|
|
36254
36272
|
titulo = "";
|
|
@@ -36269,7 +36287,7 @@ __decorateClass([
|
|
|
36269
36287
|
Expose642()
|
|
36270
36288
|
], FavoritoDTO.prototype, "ruta", 2);
|
|
36271
36289
|
__decorateClass([
|
|
36272
|
-
|
|
36290
|
+
IsOptional55(),
|
|
36273
36291
|
IsString517(),
|
|
36274
36292
|
Expose642()
|
|
36275
36293
|
], FavoritoDTO.prototype, "icono", 2);
|
|
@@ -36300,7 +36318,7 @@ __decorateClass([
|
|
|
36300
36318
|
Expose643()
|
|
36301
36319
|
], ThemeConfigUserENTITY.prototype, "Color", 2);
|
|
36302
36320
|
__decorateClass([
|
|
36303
|
-
|
|
36321
|
+
IsOptional56(),
|
|
36304
36322
|
IsString518(),
|
|
36305
36323
|
Expose643()
|
|
36306
36324
|
], ThemeConfigUserENTITY.prototype, "Language", 2);
|
|
@@ -36310,7 +36328,7 @@ __decorateClass([
|
|
|
36310
36328
|
Expose643()
|
|
36311
36329
|
], ThemeConfigUserENTITY.prototype, "Estado", 2);
|
|
36312
36330
|
__decorateClass([
|
|
36313
|
-
|
|
36331
|
+
IsOptional56(),
|
|
36314
36332
|
IsArray221(),
|
|
36315
36333
|
ValidateNested381({ each: true }),
|
|
36316
36334
|
Type428(() => FavoritoDTO),
|
|
@@ -36647,7 +36665,7 @@ import {
|
|
|
36647
36665
|
ValidateNested as ValidateNested385,
|
|
36648
36666
|
IsDate as IsDate141,
|
|
36649
36667
|
Length as Length310,
|
|
36650
|
-
IsOptional as
|
|
36668
|
+
IsOptional as IsOptional58,
|
|
36651
36669
|
IsArray as IsArray222
|
|
36652
36670
|
} from "class-validator";
|
|
36653
36671
|
|
|
@@ -36719,7 +36737,7 @@ __decorateClass([
|
|
|
36719
36737
|
|
|
36720
36738
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
36721
36739
|
import { Expose as Expose656, Transform as Transform86 } from "class-transformer";
|
|
36722
|
-
import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty432, IsNumber as IsNumber424, IsOptional as
|
|
36740
|
+
import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty432, IsNumber as IsNumber424, IsOptional as IsOptional57, IsString as IsString531, Length as Length307, Min as Min320 } from "class-validator";
|
|
36723
36741
|
var InventarioValDTO = class {
|
|
36724
36742
|
Descripcion = "";
|
|
36725
36743
|
LoteSAP = "";
|
|
@@ -36733,13 +36751,13 @@ var InventarioValDTO = class {
|
|
|
36733
36751
|
};
|
|
36734
36752
|
__decorateClass([
|
|
36735
36753
|
IsString531({ message: "debe ser un texto" }),
|
|
36736
|
-
|
|
36754
|
+
IsOptional57(),
|
|
36737
36755
|
Length307(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
36738
36756
|
Expose656()
|
|
36739
36757
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
36740
36758
|
__decorateClass([
|
|
36741
36759
|
IsString531({ message: "debe ser un texto" }),
|
|
36742
|
-
|
|
36760
|
+
IsOptional57(),
|
|
36743
36761
|
Length307(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
36744
36762
|
Expose656()
|
|
36745
36763
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
@@ -36751,7 +36769,7 @@ __decorateClass([
|
|
|
36751
36769
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
36752
36770
|
__decorateClass([
|
|
36753
36771
|
IsString531({ message: "debe ser un texto" }),
|
|
36754
|
-
|
|
36772
|
+
IsOptional57(),
|
|
36755
36773
|
Length307(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
36756
36774
|
Expose656()
|
|
36757
36775
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
@@ -36760,7 +36778,7 @@ __decorateClass([
|
|
|
36760
36778
|
Transform86(({ value }) => value ? String(value) : value),
|
|
36761
36779
|
Length307(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
36762
36780
|
Expose656(),
|
|
36763
|
-
|
|
36781
|
+
IsOptional57()
|
|
36764
36782
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
36765
36783
|
__decorateClass([
|
|
36766
36784
|
IsNumber424({}, { message: "debe ser un numero" }),
|
|
@@ -36779,7 +36797,7 @@ __decorateClass([
|
|
|
36779
36797
|
__decorateClass([
|
|
36780
36798
|
IsString531({ message: "debe ser un texto" }),
|
|
36781
36799
|
Length307(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
36782
|
-
|
|
36800
|
+
IsOptional57(),
|
|
36783
36801
|
Expose656()
|
|
36784
36802
|
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
36785
36803
|
|
|
@@ -36910,14 +36928,14 @@ __decorateClass([
|
|
|
36910
36928
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
36911
36929
|
__decorateClass([
|
|
36912
36930
|
IsString534({ message: "debe ser un texto" }),
|
|
36913
|
-
|
|
36931
|
+
IsOptional58(),
|
|
36914
36932
|
Length310(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
36915
36933
|
Expose659()
|
|
36916
36934
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
36917
36935
|
__decorateClass([
|
|
36918
36936
|
IsString534({ message: "debe ser un texto" }),
|
|
36919
36937
|
Length310(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
36920
|
-
|
|
36938
|
+
IsOptional58(),
|
|
36921
36939
|
Expose659()
|
|
36922
36940
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
36923
36941
|
__decorateClass([
|
|
@@ -36942,7 +36960,7 @@ __decorateClass([
|
|
|
36942
36960
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
36943
36961
|
__decorateClass([
|
|
36944
36962
|
IsString534({ message: "debe ser un texto" }),
|
|
36945
|
-
|
|
36963
|
+
IsOptional58(),
|
|
36946
36964
|
Length310(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
36947
36965
|
Expose659()
|
|
36948
36966
|
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
@@ -36960,12 +36978,12 @@ __decorateClass([
|
|
|
36960
36978
|
IsString534({ message: "debe ser un texto" }),
|
|
36961
36979
|
Length310(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
36962
36980
|
Expose659(),
|
|
36963
|
-
|
|
36981
|
+
IsOptional58()
|
|
36964
36982
|
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
36965
36983
|
__decorateClass([
|
|
36966
36984
|
IsString534({ message: "debe ser un texto" }),
|
|
36967
36985
|
Length310(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
36968
|
-
|
|
36986
|
+
IsOptional58(),
|
|
36969
36987
|
Expose659()
|
|
36970
36988
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
36971
36989
|
__decorateClass([
|
|
@@ -37081,7 +37099,7 @@ __decorateClass([
|
|
|
37081
37099
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
37082
37100
|
__decorateClass([
|
|
37083
37101
|
IsString534({ message: "debe ser un texto" }),
|
|
37084
|
-
|
|
37102
|
+
IsOptional58(),
|
|
37085
37103
|
Expose659()
|
|
37086
37104
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
37087
37105
|
__decorateClass([
|
|
@@ -37156,7 +37174,7 @@ __decorateClass([
|
|
|
37156
37174
|
|
|
37157
37175
|
// src/operativa/procesos/liquidadas_toa/shared/index.ts
|
|
37158
37176
|
import { Expose as Expose664, Type as Type434 } from "class-transformer";
|
|
37159
|
-
import { IsArray as IsArray223, IsNotEmpty as IsNotEmpty440, IsNumber as IsNumber432, IsString as IsString539, Length as Length315, Min as Min328, ValidateNested as ValidateNested386, IsDate as IsDate143, IsOptional as
|
|
37177
|
+
import { IsArray as IsArray223, IsNotEmpty as IsNotEmpty440, IsNumber as IsNumber432, IsString as IsString539, Length as Length315, Min as Min328, ValidateNested as ValidateNested386, IsDate as IsDate143, IsOptional as IsOptional59 } from "class-validator";
|
|
37160
37178
|
|
|
37161
37179
|
// src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
|
|
37162
37180
|
import { Expose as Expose660 } from "class-transformer";
|
|
@@ -37414,7 +37432,7 @@ __decorateClass([
|
|
|
37414
37432
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
37415
37433
|
__decorateClass([
|
|
37416
37434
|
IsString539({ message: "debe ser un texto" }),
|
|
37417
|
-
|
|
37435
|
+
IsOptional59(),
|
|
37418
37436
|
Length315(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
37419
37437
|
Expose664()
|
|
37420
37438
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|
|
@@ -40288,7 +40306,7 @@ __decorateClass([
|
|
|
40288
40306
|
|
|
40289
40307
|
// src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
|
|
40290
40308
|
import { Expose as Expose701 } from "class-transformer";
|
|
40291
|
-
import { IsNumber as IsNumber450, IsOptional as
|
|
40309
|
+
import { IsNumber as IsNumber450, IsOptional as IsOptional60, IsString as IsString572 } from "class-validator";
|
|
40292
40310
|
import "reflect-metadata";
|
|
40293
40311
|
var ValorizacionPeruTOADTO = class {
|
|
40294
40312
|
pbBase = 0;
|
|
@@ -40302,35 +40320,35 @@ var ValorizacionPeruTOADTO = class {
|
|
|
40302
40320
|
__decorateClass([
|
|
40303
40321
|
Expose701(),
|
|
40304
40322
|
IsNumber450(),
|
|
40305
|
-
|
|
40323
|
+
IsOptional60()
|
|
40306
40324
|
], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
|
|
40307
40325
|
__decorateClass([
|
|
40308
40326
|
Expose701(),
|
|
40309
40327
|
IsNumber450(),
|
|
40310
|
-
|
|
40328
|
+
IsOptional60()
|
|
40311
40329
|
], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
|
|
40312
40330
|
__decorateClass([
|
|
40313
40331
|
Expose701(),
|
|
40314
|
-
|
|
40332
|
+
IsOptional60()
|
|
40315
40333
|
], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
|
|
40316
40334
|
__decorateClass([
|
|
40317
40335
|
Expose701(),
|
|
40318
|
-
|
|
40336
|
+
IsOptional60()
|
|
40319
40337
|
], ValorizacionPeruTOADTO.prototype, "quantities", 2);
|
|
40320
40338
|
__decorateClass([
|
|
40321
40339
|
Expose701(),
|
|
40322
40340
|
IsString572(),
|
|
40323
|
-
|
|
40341
|
+
IsOptional60()
|
|
40324
40342
|
], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
|
|
40325
40343
|
__decorateClass([
|
|
40326
40344
|
Expose701(),
|
|
40327
40345
|
IsString572(),
|
|
40328
|
-
|
|
40346
|
+
IsOptional60()
|
|
40329
40347
|
], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
|
|
40330
40348
|
__decorateClass([
|
|
40331
40349
|
Expose701(),
|
|
40332
40350
|
IsString572(),
|
|
40333
|
-
|
|
40351
|
+
IsOptional60()
|
|
40334
40352
|
], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
|
|
40335
40353
|
|
|
40336
40354
|
// src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
|
|
@@ -40376,7 +40394,7 @@ import "reflect-metadata";
|
|
|
40376
40394
|
|
|
40377
40395
|
// src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
|
|
40378
40396
|
import { Expose as Expose703, Type as Type448 } from "class-transformer";
|
|
40379
|
-
import { IsDate as IsDate150, IsNumber as IsNumber451, IsOptional as
|
|
40397
|
+
import { IsDate as IsDate150, IsNumber as IsNumber451, IsOptional as IsOptional61, IsString as IsString574, ValidateNested as ValidateNested395 } from "class-validator";
|
|
40380
40398
|
var AjusteReprocesoDTO = class {
|
|
40381
40399
|
PB;
|
|
40382
40400
|
MO;
|
|
@@ -40392,58 +40410,58 @@ var AjusteReprocesoDTO = class {
|
|
|
40392
40410
|
};
|
|
40393
40411
|
__decorateClass([
|
|
40394
40412
|
Expose703(),
|
|
40395
|
-
|
|
40413
|
+
IsOptional61(),
|
|
40396
40414
|
IsNumber451()
|
|
40397
40415
|
], AjusteReprocesoDTO.prototype, "PB", 2);
|
|
40398
40416
|
__decorateClass([
|
|
40399
40417
|
Expose703(),
|
|
40400
|
-
|
|
40418
|
+
IsOptional61(),
|
|
40401
40419
|
IsNumber451()
|
|
40402
40420
|
], AjusteReprocesoDTO.prototype, "MO", 2);
|
|
40403
40421
|
__decorateClass([
|
|
40404
40422
|
Expose703(),
|
|
40405
|
-
|
|
40423
|
+
IsOptional61(),
|
|
40406
40424
|
IsNumber451()
|
|
40407
40425
|
], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
|
|
40408
40426
|
__decorateClass([
|
|
40409
40427
|
Expose703(),
|
|
40410
|
-
|
|
40428
|
+
IsOptional61(),
|
|
40411
40429
|
IsString574()
|
|
40412
40430
|
], AjusteReprocesoDTO.prototype, "tecnico", 2);
|
|
40413
40431
|
__decorateClass([
|
|
40414
40432
|
Expose703(),
|
|
40415
|
-
|
|
40433
|
+
IsOptional61(),
|
|
40416
40434
|
IsString574()
|
|
40417
40435
|
], AjusteReprocesoDTO.prototype, "id_recurso", 2);
|
|
40418
40436
|
__decorateClass([
|
|
40419
40437
|
Expose703(),
|
|
40420
|
-
|
|
40438
|
+
IsOptional61(),
|
|
40421
40439
|
ValidateNested395(),
|
|
40422
40440
|
Type448(() => EECCDBTOADTO)
|
|
40423
40441
|
], AjusteReprocesoDTO.prototype, "EECC", 2);
|
|
40424
40442
|
__decorateClass([
|
|
40425
40443
|
Expose703(),
|
|
40426
|
-
|
|
40444
|
+
IsOptional61(),
|
|
40427
40445
|
IsNumber451()
|
|
40428
40446
|
], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
|
|
40429
40447
|
__decorateClass([
|
|
40430
40448
|
Expose703(),
|
|
40431
|
-
|
|
40449
|
+
IsOptional61(),
|
|
40432
40450
|
IsString574()
|
|
40433
40451
|
], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
|
|
40434
40452
|
__decorateClass([
|
|
40435
40453
|
Expose703(),
|
|
40436
|
-
|
|
40454
|
+
IsOptional61(),
|
|
40437
40455
|
IsString574()
|
|
40438
40456
|
], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
|
|
40439
40457
|
__decorateClass([
|
|
40440
40458
|
Expose703(),
|
|
40441
|
-
|
|
40459
|
+
IsOptional61(),
|
|
40442
40460
|
IsNumber451()
|
|
40443
40461
|
], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
|
|
40444
40462
|
__decorateClass([
|
|
40445
40463
|
Expose703(),
|
|
40446
|
-
|
|
40464
|
+
IsOptional61(),
|
|
40447
40465
|
IsDate150(),
|
|
40448
40466
|
Type448(() => Date)
|
|
40449
40467
|
], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
|
|
@@ -42106,7 +42124,7 @@ import { Expose as Expose725, Transform as Transform97, Type as Type455 } from "
|
|
|
42106
42124
|
|
|
42107
42125
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
42108
42126
|
import { Expose as Expose717, Transform as Transform93 } from "class-transformer";
|
|
42109
|
-
import { IsDate as IsDate155, IsDefined as IsDefined216, IsNumber as IsNumber461, IsOptional as
|
|
42127
|
+
import { IsDate as IsDate155, IsDefined as IsDefined216, IsNumber as IsNumber461, IsOptional as IsOptional63, IsString as IsString587 } from "class-validator";
|
|
42110
42128
|
|
|
42111
42129
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
42112
42130
|
function formatDateOnnetFibra(date) {
|
|
@@ -42172,13 +42190,13 @@ __decorateClass([
|
|
|
42172
42190
|
Expose717()
|
|
42173
42191
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
42174
42192
|
__decorateClass([
|
|
42175
|
-
|
|
42193
|
+
IsOptional63(),
|
|
42176
42194
|
Transform93(({ value }) => value ? String(value) : ""),
|
|
42177
42195
|
IsString587({ message: "El campo lt debe ser una cadena de texto" }),
|
|
42178
42196
|
Expose717()
|
|
42179
42197
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
42180
42198
|
__decorateClass([
|
|
42181
|
-
|
|
42199
|
+
IsOptional63(),
|
|
42182
42200
|
IsNumber461({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
42183
42201
|
Transform93(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
42184
42202
|
Expose717()
|
|
@@ -42189,7 +42207,7 @@ __decorateClass([
|
|
|
42189
42207
|
Expose717()
|
|
42190
42208
|
], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
|
|
42191
42209
|
__decorateClass([
|
|
42192
|
-
|
|
42210
|
+
IsOptional63(),
|
|
42193
42211
|
IsNumber461({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
42194
42212
|
Transform93(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
42195
42213
|
Expose717()
|
|
@@ -42225,13 +42243,13 @@ __decorateClass([
|
|
|
42225
42243
|
Expose717()
|
|
42226
42244
|
], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
|
|
42227
42245
|
__decorateClass([
|
|
42228
|
-
|
|
42246
|
+
IsOptional63(),
|
|
42229
42247
|
IsString587({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
42230
42248
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42231
42249
|
Expose717()
|
|
42232
42250
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
42233
42251
|
__decorateClass([
|
|
42234
|
-
|
|
42252
|
+
IsOptional63(),
|
|
42235
42253
|
IsString587({ message: "El campo olt debe ser una cadena de texto" }),
|
|
42236
42254
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42237
42255
|
Expose717()
|
|
@@ -42287,7 +42305,7 @@ __decorateClass([
|
|
|
42287
42305
|
Expose717()
|
|
42288
42306
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
42289
42307
|
__decorateClass([
|
|
42290
|
-
|
|
42308
|
+
IsOptional63(),
|
|
42291
42309
|
Transform93(({ value }) => formatDateOnnetFibra(value)),
|
|
42292
42310
|
IsDate155({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
42293
42311
|
Expose717()
|
|
@@ -42308,30 +42326,30 @@ __decorateClass([
|
|
|
42308
42326
|
Expose717()
|
|
42309
42327
|
], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
|
|
42310
42328
|
__decorateClass([
|
|
42311
|
-
|
|
42329
|
+
IsOptional63(),
|
|
42312
42330
|
IsString587({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
42313
42331
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42314
42332
|
Expose717()
|
|
42315
42333
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
42316
42334
|
__decorateClass([
|
|
42317
|
-
|
|
42335
|
+
IsOptional63(),
|
|
42318
42336
|
IsString587({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
|
|
42319
42337
|
Expose717()
|
|
42320
42338
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
42321
42339
|
__decorateClass([
|
|
42322
|
-
|
|
42340
|
+
IsOptional63({ message: "El campo cliente es opcional" }),
|
|
42323
42341
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42324
42342
|
IsString587({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
42325
42343
|
Expose717()
|
|
42326
42344
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
42327
42345
|
__decorateClass([
|
|
42328
|
-
|
|
42346
|
+
IsOptional63({ message: "El campo comuna es opcional" }),
|
|
42329
42347
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42330
42348
|
IsString587({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
42331
42349
|
Expose717()
|
|
42332
42350
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
42333
42351
|
__decorateClass([
|
|
42334
|
-
|
|
42352
|
+
IsOptional63({ message: "El campo pep es opcional" }),
|
|
42335
42353
|
IsString587({ message: "El campo pep debe ser una cadena de texto" }),
|
|
42336
42354
|
Transform93(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42337
42355
|
Expose717()
|
|
@@ -42341,38 +42359,38 @@ __decorateClass([
|
|
|
42341
42359
|
Expose717()
|
|
42342
42360
|
], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
|
|
42343
42361
|
__decorateClass([
|
|
42344
|
-
|
|
42362
|
+
IsOptional63({ message: "El campo proyecto es opcional" }),
|
|
42345
42363
|
IsString587({ message: "El campo proyecto debe ser una cadena de texto" }),
|
|
42346
42364
|
Expose717()
|
|
42347
42365
|
], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
|
|
42348
42366
|
__decorateClass([
|
|
42349
|
-
|
|
42367
|
+
IsOptional63({ message: "El campo producto es opcional" }),
|
|
42350
42368
|
IsString587({ message: "El campo producto debe ser una cadena de texto" }),
|
|
42351
42369
|
Expose717()
|
|
42352
42370
|
], BitacoraDeOrdenesDTO.prototype, "producto", 2);
|
|
42353
42371
|
__decorateClass([
|
|
42354
|
-
|
|
42372
|
+
IsOptional63({ message: "El campo sub_tipo_orden es opcional" }),
|
|
42355
42373
|
IsString587({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
|
|
42356
42374
|
Expose717()
|
|
42357
42375
|
], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
|
|
42358
42376
|
__decorateClass([
|
|
42359
|
-
|
|
42377
|
+
IsOptional63({ message: "El campo nombre_tecnico es opcional" }),
|
|
42360
42378
|
IsString587({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
|
|
42361
42379
|
Expose717()
|
|
42362
42380
|
], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
|
|
42363
42381
|
__decorateClass([
|
|
42364
|
-
|
|
42382
|
+
IsOptional63(),
|
|
42365
42383
|
IsNumber461({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
42366
42384
|
Transform93(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
42367
42385
|
Expose717()
|
|
42368
42386
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
42369
42387
|
__decorateClass([
|
|
42370
|
-
|
|
42388
|
+
IsOptional63({ message: "El campo sintoma es opcional" }),
|
|
42371
42389
|
IsNumber461({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
|
|
42372
42390
|
Expose717()
|
|
42373
42391
|
], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
|
|
42374
42392
|
__decorateClass([
|
|
42375
|
-
|
|
42393
|
+
IsOptional63({ message: "El campo mensaje_contingencia es opcional" }),
|
|
42376
42394
|
IsString587({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
|
|
42377
42395
|
Expose717()
|
|
42378
42396
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
@@ -42527,7 +42545,7 @@ import { IsArray as IsArray231, IsDefined as IsDefined222, IsString as IsString5
|
|
|
42527
42545
|
|
|
42528
42546
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
42529
42547
|
import { Expose as Expose720, Transform as Transform95, Type as Type453 } from "class-transformer";
|
|
42530
|
-
import { IsDefined as IsDefined219, IsNumber as IsNumber464, IsOptional as
|
|
42548
|
+
import { IsDefined as IsDefined219, IsNumber as IsNumber464, IsOptional as IsOptional64, IsString as IsString590 } from "class-validator";
|
|
42531
42549
|
var DetalleOrdenRealDTO = class {
|
|
42532
42550
|
descripcion = "";
|
|
42533
42551
|
tipo = "";
|
|
@@ -42574,7 +42592,7 @@ __decorateClass([
|
|
|
42574
42592
|
Expose720()
|
|
42575
42593
|
], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
|
|
42576
42594
|
__decorateClass([
|
|
42577
|
-
|
|
42595
|
+
IsOptional64({ message: "El campo tecnico es requerido" }),
|
|
42578
42596
|
IsString590({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
42579
42597
|
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42580
42598
|
Expose720()
|
|
@@ -42589,14 +42607,14 @@ __decorateClass([
|
|
|
42589
42607
|
Expose720()
|
|
42590
42608
|
], DetalleOrdenRealDTO.prototype, "cantidad", 2);
|
|
42591
42609
|
__decorateClass([
|
|
42592
|
-
|
|
42610
|
+
IsOptional64({ message: "El campo contrato es opcional" }),
|
|
42593
42611
|
IsString590({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
42594
42612
|
Transform95(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
42595
42613
|
Expose720()
|
|
42596
42614
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
42597
42615
|
__decorateClass([
|
|
42598
42616
|
Type453(() => CodigoNombreDTO),
|
|
42599
|
-
|
|
42617
|
+
IsOptional64(),
|
|
42600
42618
|
Transform95(({ value }) => value ?? new CodigoNombreDTO()),
|
|
42601
42619
|
Expose720()
|
|
42602
42620
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
@@ -46224,7 +46242,7 @@ __decorateClass([
|
|
|
46224
46242
|
|
|
46225
46243
|
// src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
|
|
46226
46244
|
import { Expose as Expose747, Type as Type473 } from "class-transformer";
|
|
46227
|
-
import { IsDate as IsDate169, IsDefined as IsDefined246, IsNumber as IsNumber489, IsOptional as
|
|
46245
|
+
import { IsDate as IsDate169, IsDefined as IsDefined246, IsNumber as IsNumber489, IsOptional as IsOptional66, IsString as IsString617 } from "class-validator";
|
|
46228
46246
|
var OrdenesInstalacionDTO = class {
|
|
46229
46247
|
EMPRESA = "";
|
|
46230
46248
|
FECHA_INGRESO = /* @__PURE__ */ new Date();
|
|
@@ -46413,25 +46431,25 @@ __decorateClass([
|
|
|
46413
46431
|
__decorateClass([
|
|
46414
46432
|
Expose747(),
|
|
46415
46433
|
ForceString(),
|
|
46416
|
-
|
|
46434
|
+
IsOptional66(),
|
|
46417
46435
|
IsString617()
|
|
46418
46436
|
], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
|
|
46419
46437
|
__decorateClass([
|
|
46420
46438
|
Expose747(),
|
|
46421
46439
|
ForceString(),
|
|
46422
|
-
|
|
46440
|
+
IsOptional66(),
|
|
46423
46441
|
IsString617()
|
|
46424
46442
|
], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
|
|
46425
46443
|
__decorateClass([
|
|
46426
46444
|
Expose747(),
|
|
46427
46445
|
ForceString(),
|
|
46428
|
-
|
|
46446
|
+
IsOptional66(),
|
|
46429
46447
|
IsString617()
|
|
46430
46448
|
], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
46431
46449
|
|
|
46432
46450
|
// src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
|
|
46433
46451
|
import { Expose as Expose748 } from "class-transformer";
|
|
46434
|
-
import { IsDefined as IsDefined247, IsNumber as IsNumber490, IsOptional as
|
|
46452
|
+
import { IsDefined as IsDefined247, IsNumber as IsNumber490, IsOptional as IsOptional67, IsString as IsString618 } from "class-validator";
|
|
46435
46453
|
var ReclamosDistribuidorDTO = class {
|
|
46436
46454
|
FECHA = /* @__PURE__ */ new Date(0);
|
|
46437
46455
|
PERMISOR = 0;
|
|
@@ -46589,7 +46607,7 @@ __decorateClass([
|
|
|
46589
46607
|
__decorateClass([
|
|
46590
46608
|
Expose748(),
|
|
46591
46609
|
ForceString(),
|
|
46592
|
-
|
|
46610
|
+
IsOptional67(),
|
|
46593
46611
|
IsString618()
|
|
46594
46612
|
], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
|
|
46595
46613
|
__decorateClass([
|
|
@@ -47050,7 +47068,7 @@ __decorateClass([
|
|
|
47050
47068
|
], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
|
|
47051
47069
|
|
|
47052
47070
|
// src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
|
|
47053
|
-
import { IsDate as IsDate172, IsDefined as IsDefined250, IsNumber as IsNumber493, IsOptional as
|
|
47071
|
+
import { IsDate as IsDate172, IsDefined as IsDefined250, IsNumber as IsNumber493, IsOptional as IsOptional68, IsString as IsString621 } from "class-validator";
|
|
47054
47072
|
import { Expose as Expose751, Type as Type474 } from "class-transformer";
|
|
47055
47073
|
var TUVESOrdReclMatDescargadoDTO = class {
|
|
47056
47074
|
EMPRESA = "";
|
|
@@ -47240,19 +47258,19 @@ __decorateClass([
|
|
|
47240
47258
|
__decorateClass([
|
|
47241
47259
|
Expose751(),
|
|
47242
47260
|
ForceString(),
|
|
47243
|
-
|
|
47261
|
+
IsOptional68(),
|
|
47244
47262
|
IsString621()
|
|
47245
47263
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
|
|
47246
47264
|
__decorateClass([
|
|
47247
47265
|
Expose751(),
|
|
47248
47266
|
ForceString(),
|
|
47249
|
-
|
|
47267
|
+
IsOptional68(),
|
|
47250
47268
|
IsString621()
|
|
47251
47269
|
], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
|
|
47252
47270
|
__decorateClass([
|
|
47253
47271
|
Expose751(),
|
|
47254
47272
|
ForceString(),
|
|
47255
|
-
|
|
47273
|
+
IsOptional68(),
|
|
47256
47274
|
IsString621()
|
|
47257
47275
|
], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
|
|
47258
47276
|
|
|
@@ -48171,7 +48189,7 @@ __decorateClass([
|
|
|
48171
48189
|
|
|
48172
48190
|
// src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
|
|
48173
48191
|
import { Expose as Expose760 } from "class-transformer";
|
|
48174
|
-
import { IsNumber as IsNumber501, IsOptional as
|
|
48192
|
+
import { IsNumber as IsNumber501, IsOptional as IsOptional69 } from "class-validator";
|
|
48175
48193
|
import "reflect-metadata";
|
|
48176
48194
|
var ValorizacionSomacylDTO = class {
|
|
48177
48195
|
pbBase = 0;
|
|
@@ -48180,12 +48198,12 @@ var ValorizacionSomacylDTO = class {
|
|
|
48180
48198
|
__decorateClass([
|
|
48181
48199
|
Expose760(),
|
|
48182
48200
|
IsNumber501(),
|
|
48183
|
-
|
|
48201
|
+
IsOptional69()
|
|
48184
48202
|
], ValorizacionSomacylDTO.prototype, "pbBase", 2);
|
|
48185
48203
|
__decorateClass([
|
|
48186
48204
|
Expose760(),
|
|
48187
48205
|
IsNumber501(),
|
|
48188
|
-
|
|
48206
|
+
IsOptional69()
|
|
48189
48207
|
], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
|
|
48190
48208
|
|
|
48191
48209
|
// src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl.ts
|
|
@@ -51739,7 +51757,7 @@ __decorateClass([
|
|
|
51739
51757
|
|
|
51740
51758
|
// src/operativa/procesos/claro_peru9112/shared/dto/valorizacion-peru9112-claro-dto.ts
|
|
51741
51759
|
import { Expose as Expose794 } from "class-transformer";
|
|
51742
|
-
import { IsNumber as IsNumber521, IsOptional as
|
|
51760
|
+
import { IsNumber as IsNumber521, IsOptional as IsOptional70, IsString as IsString659 } from "class-validator";
|
|
51743
51761
|
import "reflect-metadata";
|
|
51744
51762
|
var ValorizacionPeru9112ClaroDTO = class {
|
|
51745
51763
|
pbBase = 0;
|
|
@@ -51753,35 +51771,35 @@ var ValorizacionPeru9112ClaroDTO = class {
|
|
|
51753
51771
|
__decorateClass([
|
|
51754
51772
|
Expose794(),
|
|
51755
51773
|
IsNumber521(),
|
|
51756
|
-
|
|
51774
|
+
IsOptional70()
|
|
51757
51775
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbBase", 2);
|
|
51758
51776
|
__decorateClass([
|
|
51759
51777
|
Expose794(),
|
|
51760
51778
|
IsNumber521(),
|
|
51761
|
-
|
|
51779
|
+
IsOptional70()
|
|
51762
51780
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbAdicional", 2);
|
|
51763
51781
|
__decorateClass([
|
|
51764
51782
|
Expose794(),
|
|
51765
|
-
|
|
51783
|
+
IsOptional70()
|
|
51766
51784
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbByMaterial", 2);
|
|
51767
51785
|
__decorateClass([
|
|
51768
51786
|
Expose794(),
|
|
51769
|
-
|
|
51787
|
+
IsOptional70()
|
|
51770
51788
|
], ValorizacionPeru9112ClaroDTO.prototype, "quantities", 2);
|
|
51771
51789
|
__decorateClass([
|
|
51772
51790
|
Expose794(),
|
|
51773
51791
|
IsString659(),
|
|
51774
|
-
|
|
51792
|
+
IsOptional70()
|
|
51775
51793
|
], ValorizacionPeru9112ClaroDTO.prototype, "TABLA", 2);
|
|
51776
51794
|
__decorateClass([
|
|
51777
51795
|
Expose794(),
|
|
51778
51796
|
IsString659(),
|
|
51779
|
-
|
|
51797
|
+
IsOptional70()
|
|
51780
51798
|
], ValorizacionPeru9112ClaroDTO.prototype, "Actividad", 2);
|
|
51781
51799
|
__decorateClass([
|
|
51782
51800
|
Expose794(),
|
|
51783
51801
|
IsString659(),
|
|
51784
|
-
|
|
51802
|
+
IsOptional70()
|
|
51785
51803
|
], ValorizacionPeru9112ClaroDTO.prototype, "PAQUETE", 2);
|
|
51786
51804
|
|
|
51787
51805
|
// src/operativa/procesos/claro_peru9112/shared/dto/estado-proceso-val-peru9112-claro.ts
|
|
@@ -54160,11 +54178,11 @@ __decorateClass([
|
|
|
54160
54178
|
|
|
54161
54179
|
// src/v2/dtos/CreateThemeConfigUser.ts
|
|
54162
54180
|
import { Expose as Expose829, Type as Type502 } from "class-transformer";
|
|
54163
|
-
import { IsArray as IsArray262, IsDefined as IsDefined313, IsNumber as IsNumber530, IsOptional as
|
|
54181
|
+
import { IsArray as IsArray262, IsDefined as IsDefined313, IsNumber as IsNumber530, IsOptional as IsOptional72, IsString as IsString691, ValidateNested as ValidateNested433 } from "class-validator";
|
|
54164
54182
|
|
|
54165
54183
|
// src/v2/shared-dto/FavoritoDTO.ts
|
|
54166
54184
|
import { Expose as Expose828 } from "class-transformer";
|
|
54167
|
-
import { IsString as IsString690, IsNumber as IsNumber529, IsOptional as
|
|
54185
|
+
import { IsString as IsString690, IsNumber as IsNumber529, IsOptional as IsOptional71 } from "class-validator";
|
|
54168
54186
|
var FavoritoDTO2 = class {
|
|
54169
54187
|
id = "";
|
|
54170
54188
|
titulo = "";
|
|
@@ -54185,7 +54203,7 @@ __decorateClass([
|
|
|
54185
54203
|
Expose828()
|
|
54186
54204
|
], FavoritoDTO2.prototype, "ruta", 2);
|
|
54187
54205
|
__decorateClass([
|
|
54188
|
-
|
|
54206
|
+
IsOptional71(),
|
|
54189
54207
|
IsString690(),
|
|
54190
54208
|
Expose828()
|
|
54191
54209
|
], FavoritoDTO2.prototype, "icono", 2);
|
|
@@ -54219,7 +54237,7 @@ __decorateClass([
|
|
|
54219
54237
|
Expose829()
|
|
54220
54238
|
], CreateThemeConfigUserDto.prototype, "Color", 2);
|
|
54221
54239
|
__decorateClass([
|
|
54222
|
-
|
|
54240
|
+
IsOptional72(),
|
|
54223
54241
|
IsString691({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
54224
54242
|
Expose829()
|
|
54225
54243
|
], CreateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -54230,7 +54248,7 @@ __decorateClass([
|
|
|
54230
54248
|
Expose829()
|
|
54231
54249
|
], CreateThemeConfigUserDto.prototype, "Estado", 2);
|
|
54232
54250
|
__decorateClass([
|
|
54233
|
-
|
|
54251
|
+
IsOptional72(),
|
|
54234
54252
|
IsArray262({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
54235
54253
|
ValidateNested433({ each: true }),
|
|
54236
54254
|
Type502(() => FavoritoDTO2),
|
|
@@ -54239,7 +54257,7 @@ __decorateClass([
|
|
|
54239
54257
|
|
|
54240
54258
|
// src/v2/dtos/UpdateThemeConfigUser.ts
|
|
54241
54259
|
import { Expose as Expose830, Type as Type503 } from "class-transformer";
|
|
54242
|
-
import { IsArray as IsArray263, IsDefined as IsDefined314, IsNumber as IsNumber531, IsOptional as
|
|
54260
|
+
import { IsArray as IsArray263, IsDefined as IsDefined314, IsNumber as IsNumber531, IsOptional as IsOptional73, IsString as IsString692, ValidateNested as ValidateNested434 } from "class-validator";
|
|
54243
54261
|
var UpdateThemeConfigUserDto = class {
|
|
54244
54262
|
ID_Theme;
|
|
54245
54263
|
Identificacion;
|
|
@@ -54264,7 +54282,7 @@ __decorateClass([
|
|
|
54264
54282
|
Expose830()
|
|
54265
54283
|
], UpdateThemeConfigUserDto.prototype, "Color", 2);
|
|
54266
54284
|
__decorateClass([
|
|
54267
|
-
|
|
54285
|
+
IsOptional73(),
|
|
54268
54286
|
IsString692({ message: 'La propiedad "Language" debe ser una cadena de texto.' }),
|
|
54269
54287
|
Expose830()
|
|
54270
54288
|
], UpdateThemeConfigUserDto.prototype, "Language", 2);
|
|
@@ -54275,7 +54293,7 @@ __decorateClass([
|
|
|
54275
54293
|
Expose830()
|
|
54276
54294
|
], UpdateThemeConfigUserDto.prototype, "Estado", 2);
|
|
54277
54295
|
__decorateClass([
|
|
54278
|
-
|
|
54296
|
+
IsOptional73(),
|
|
54279
54297
|
IsArray263({ message: 'La propiedad "Favoritos" debe ser un arreglo.' }),
|
|
54280
54298
|
ValidateNested434({ each: true }),
|
|
54281
54299
|
Type503(() => FavoritoDTO2),
|
|
@@ -54612,7 +54630,7 @@ __decorateClass([
|
|
|
54612
54630
|
|
|
54613
54631
|
// src/v2/entities/ThemeConfigUser.ts
|
|
54614
54632
|
import { Expose as Expose839, Type as Type506 } from "class-transformer";
|
|
54615
|
-
import { IsNumber as IsNumber533, IsString as IsString700, ValidateNested as ValidateNested437, IsArray as IsArray268, IsOptional as
|
|
54633
|
+
import { IsNumber as IsNumber533, IsString as IsString700, ValidateNested as ValidateNested437, IsArray as IsArray268, IsOptional as IsOptional74, IsDefined as IsDefined321, IsBoolean as IsBoolean84 } from "class-validator";
|
|
54616
54634
|
var ThemeConfigUserEntity = class {
|
|
54617
54635
|
_id;
|
|
54618
54636
|
active = true;
|
|
@@ -54624,7 +54642,7 @@ var ThemeConfigUserEntity = class {
|
|
|
54624
54642
|
Favoritos = [];
|
|
54625
54643
|
};
|
|
54626
54644
|
__decorateClass([
|
|
54627
|
-
|
|
54645
|
+
IsOptional74(),
|
|
54628
54646
|
Expose839()
|
|
54629
54647
|
], ThemeConfigUserEntity.prototype, "_id", 2);
|
|
54630
54648
|
__decorateClass([
|
|
@@ -54645,7 +54663,7 @@ __decorateClass([
|
|
|
54645
54663
|
Expose839()
|
|
54646
54664
|
], ThemeConfigUserEntity.prototype, "Color", 2);
|
|
54647
54665
|
__decorateClass([
|
|
54648
|
-
|
|
54666
|
+
IsOptional74(),
|
|
54649
54667
|
IsString700(),
|
|
54650
54668
|
Expose839()
|
|
54651
54669
|
], ThemeConfigUserEntity.prototype, "Language", 2);
|
|
@@ -54655,7 +54673,7 @@ __decorateClass([
|
|
|
54655
54673
|
Expose839()
|
|
54656
54674
|
], ThemeConfigUserEntity.prototype, "Estado", 2);
|
|
54657
54675
|
__decorateClass([
|
|
54658
|
-
|
|
54676
|
+
IsOptional74(),
|
|
54659
54677
|
IsArray268(),
|
|
54660
54678
|
ValidateNested437({ each: true }),
|
|
54661
54679
|
Type506(() => FavoritoDTO2),
|