sigo-entities 1.2.278 → 1.2.279

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -30512,30 +30512,35 @@ var FileDto = class {
30512
30512
  Albaran = [];
30513
30513
  };
30514
30514
  __decorateClass([
30515
+ (0, import_class_validator537.IsOptional)(),
30515
30516
  (0, import_class_validator537.IsArray)({ message: "debe ser un array" }),
30516
30517
  (0, import_class_transformer555.Type)(() => AnexoPreOrdenDto),
30517
30518
  (0, import_class_validator537.ValidateNested)({ each: true }),
30518
30519
  (0, import_class_transformer554.Expose)()
30519
30520
  ], FileDto.prototype, "AnexoPreOrden", 2);
30520
30521
  __decorateClass([
30522
+ (0, import_class_validator537.IsOptional)(),
30521
30523
  (0, import_class_validator537.IsArray)({ message: "debe ser un array" }),
30522
30524
  (0, import_class_transformer555.Type)(() => ComparativoDto),
30523
30525
  (0, import_class_validator537.ValidateNested)({ each: true }),
30524
30526
  (0, import_class_transformer554.Expose)()
30525
30527
  ], FileDto.prototype, "Comparativo", 2);
30526
30528
  __decorateClass([
30529
+ (0, import_class_validator537.IsOptional)(),
30527
30530
  (0, import_class_validator537.IsArray)({ message: "debe ser un array" }),
30528
30531
  (0, import_class_transformer555.Type)(() => CotizacionDto),
30529
30532
  (0, import_class_validator537.ValidateNested)({ each: true }),
30530
30533
  (0, import_class_transformer554.Expose)()
30531
30534
  ], FileDto.prototype, "Cotizacion", 2);
30532
30535
  __decorateClass([
30536
+ (0, import_class_validator537.IsOptional)(),
30533
30537
  (0, import_class_validator537.IsArray)({ message: "debe ser un array" }),
30534
30538
  (0, import_class_transformer555.Type)(() => PedidoCompraDto),
30535
30539
  (0, import_class_validator537.ValidateNested)({ each: true }),
30536
30540
  (0, import_class_transformer554.Expose)()
30537
30541
  ], FileDto.prototype, "PedidoCompra", 2);
30538
30542
  __decorateClass([
30543
+ (0, import_class_validator537.IsOptional)(),
30539
30544
  (0, import_class_validator537.IsArray)({ message: "debe ser un array" }),
30540
30545
  (0, import_class_transformer555.Type)(() => AlbaranDto),
30541
30546
  (0, import_class_validator537.ValidateNested)({ each: true }),
@@ -30993,10 +30998,12 @@ __decorateClass([
30993
30998
  (0, import_class_transformer565.Expose)()
30994
30999
  ], NavisionpreordenEntity.prototype, "isSinRq", 2);
30995
31000
  __decorateClass([
31001
+ (0, import_class_validator544.IsOptional)(),
30996
31002
  (0, import_class_validator544.IsString)({ message: "debe ser texto" }),
30997
31003
  (0, import_class_transformer565.Expose)()
30998
31004
  ], NavisionpreordenEntity.prototype, "PDF", 2);
30999
31005
  __decorateClass([
31006
+ (0, import_class_validator544.IsOptional)(),
31000
31007
  (0, import_class_validator544.IsString)({ message: "debe ser texto" }),
31001
31008
  (0, import_class_transformer565.Expose)()
31002
31009
  ], NavisionpreordenEntity.prototype, "PDFComparativo", 2);
@@ -31048,6 +31055,7 @@ __decorateClass([
31048
31055
  (0, import_class_transformer565.Expose)()
31049
31056
  ], NavisionpreordenEntity.prototype, "DatosNav", 2);
31050
31057
  __decorateClass([
31058
+ (0, import_class_validator544.IsOptional)(),
31051
31059
  (0, import_class_transformer566.Type)(() => EnviarNavDto),
31052
31060
  (0, import_class_validator544.ValidateNested)(),
31053
31061
  (0, import_class_transformer565.Expose)()
@@ -31060,8 +31068,8 @@ __decorateClass([
31060
31068
  (0, import_class_transformer565.Expose)()
31061
31069
  ], NavisionpreordenEntity.prototype, "MovimientosRecepcion", 2);
31062
31070
  __decorateClass([
31071
+ (0, import_class_validator544.IsOptional)(),
31063
31072
  (0, import_class_validator544.IsBoolean)({ message: "debe ser true o false" }),
31064
- (0, import_class_validator544.IsNotEmpty)({ message: "es requerido" }),
31065
31073
  (0, import_class_transformer565.Expose)()
31066
31074
  ], NavisionpreordenEntity.prototype, "isModelSIGO", 2);
31067
31075
 
package/dist/index.mjs CHANGED
@@ -29860,7 +29860,7 @@ __decorateClass([
29860
29860
 
29861
29861
  // src/logistica/procesos/navisionpreorden/shared/dto/file-dto.ts
29862
29862
  import { Expose as Expose534 } from "class-transformer";
29863
- import { IsArray as IsArray183, ValidateNested as ValidateNested313 } from "class-validator";
29863
+ import { IsArray as IsArray183, IsOptional as IsOptional33, ValidateNested as ValidateNested313 } from "class-validator";
29864
29864
 
29865
29865
  // src/logistica/procesos/navisionpreorden/shared/dto/pedido-compra-dto.ts
29866
29866
  import { Expose as Expose533 } from "class-transformer";
@@ -29929,30 +29929,35 @@ var FileDto = class {
29929
29929
  Albaran = [];
29930
29930
  };
29931
29931
  __decorateClass([
29932
+ IsOptional33(),
29932
29933
  IsArray183({ message: "debe ser un array" }),
29933
29934
  Type351(() => AnexoPreOrdenDto),
29934
29935
  ValidateNested313({ each: true }),
29935
29936
  Expose534()
29936
29937
  ], FileDto.prototype, "AnexoPreOrden", 2);
29937
29938
  __decorateClass([
29939
+ IsOptional33(),
29938
29940
  IsArray183({ message: "debe ser un array" }),
29939
29941
  Type351(() => ComparativoDto),
29940
29942
  ValidateNested313({ each: true }),
29941
29943
  Expose534()
29942
29944
  ], FileDto.prototype, "Comparativo", 2);
29943
29945
  __decorateClass([
29946
+ IsOptional33(),
29944
29947
  IsArray183({ message: "debe ser un array" }),
29945
29948
  Type351(() => CotizacionDto),
29946
29949
  ValidateNested313({ each: true }),
29947
29950
  Expose534()
29948
29951
  ], FileDto.prototype, "Cotizacion", 2);
29949
29952
  __decorateClass([
29953
+ IsOptional33(),
29950
29954
  IsArray183({ message: "debe ser un array" }),
29951
29955
  Type351(() => PedidoCompraDto),
29952
29956
  ValidateNested313({ each: true }),
29953
29957
  Expose534()
29954
29958
  ], FileDto.prototype, "PedidoCompra", 2);
29955
29959
  __decorateClass([
29960
+ IsOptional33(),
29956
29961
  IsArray183({ message: "debe ser un array" }),
29957
29962
  Type351(() => AlbaranDto),
29958
29963
  ValidateNested313({ each: true }),
@@ -29994,7 +29999,7 @@ __decorateClass([
29994
29999
  ], FlujoDto.prototype, "Aprobacion", 2);
29995
30000
 
29996
30001
  // src/logistica/procesos/navisionpreorden/shared/navisionpreorden-entity.ts
29997
- import { IsArray as IsArray187, IsBoolean as IsBoolean49, IsNotEmpty as IsNotEmpty388, IsNumber as IsNumber342, IsString as IsString430, Min as Min269, ValidateNested as ValidateNested317 } from "class-validator";
30002
+ import { IsArray as IsArray187, IsBoolean as IsBoolean49, IsNotEmpty as IsNotEmpty388, IsNumber as IsNumber342, IsOptional as IsOptional34, IsString as IsString430, Min as Min269, ValidateNested as ValidateNested317 } from "class-validator";
29998
30003
 
29999
30004
  // src/logistica/procesos/navisionpreorden/shared/dto/contabilizado-dto.ts
30000
30005
  import { Expose as Expose536 } from "class-transformer";
@@ -30410,10 +30415,12 @@ __decorateClass([
30410
30415
  Expose541()
30411
30416
  ], NavisionpreordenEntity.prototype, "isSinRq", 2);
30412
30417
  __decorateClass([
30418
+ IsOptional34(),
30413
30419
  IsString430({ message: "debe ser texto" }),
30414
30420
  Expose541()
30415
30421
  ], NavisionpreordenEntity.prototype, "PDF", 2);
30416
30422
  __decorateClass([
30423
+ IsOptional34(),
30417
30424
  IsString430({ message: "debe ser texto" }),
30418
30425
  Expose541()
30419
30426
  ], NavisionpreordenEntity.prototype, "PDFComparativo", 2);
@@ -30465,6 +30472,7 @@ __decorateClass([
30465
30472
  Expose541()
30466
30473
  ], NavisionpreordenEntity.prototype, "DatosNav", 2);
30467
30474
  __decorateClass([
30475
+ IsOptional34(),
30468
30476
  Type355(() => EnviarNavDto),
30469
30477
  ValidateNested317(),
30470
30478
  Expose541()
@@ -30477,8 +30485,8 @@ __decorateClass([
30477
30485
  Expose541()
30478
30486
  ], NavisionpreordenEntity.prototype, "MovimientosRecepcion", 2);
30479
30487
  __decorateClass([
30488
+ IsOptional34(),
30480
30489
  IsBoolean49({ message: "debe ser true o false" }),
30481
- IsNotEmpty388({ message: "es requerido" }),
30482
30490
  Expose541()
30483
30491
  ], NavisionpreordenEntity.prototype, "isModelSIGO", 2);
30484
30492
 
@@ -30837,7 +30845,7 @@ import {
30837
30845
  IsDefined as IsDefined153,
30838
30846
  IsNotEmpty as IsNotEmpty394,
30839
30847
  IsNumber as IsNumber345,
30840
- IsOptional as IsOptional33,
30848
+ IsOptional as IsOptional35,
30841
30849
  IsString as IsString437,
30842
30850
  Length as Length267,
30843
30851
  Min as Min271,
@@ -30916,7 +30924,7 @@ __decorateClass([
30916
30924
  IsString437({ message: "debe ser un texto" }),
30917
30925
  Length267(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
30918
30926
  Expose549(),
30919
- IsOptional33()
30927
+ IsOptional35()
30920
30928
  ], PersonalENTITY.prototype, "ApellidoMaterno", 2);
30921
30929
  __decorateClass([
30922
30930
  IsString437({ message: "debe ser un texto" }),
@@ -31399,7 +31407,7 @@ __decorateClass([
31399
31407
  ], TipoEmpresaDTO.prototype, "Nombre", 2);
31400
31408
 
31401
31409
  // src/configuracion/empresa/shared/index.ts
31402
- import { IsArray as IsArray195, IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty403, IsNumber as IsNumber354, IsOptional as IsOptional34, IsString as IsString448, Length as Length277, Min as Min280, ValidateNested as ValidateNested328 } from "class-validator";
31410
+ import { IsArray as IsArray195, IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty403, IsNumber as IsNumber354, IsOptional as IsOptional36, IsString as IsString448, Length as Length277, Min as Min280, ValidateNested as ValidateNested328 } from "class-validator";
31403
31411
  var EmpresaENTITY = class {
31404
31412
  ID_Empresa = 0;
31405
31413
  Pais = new CodigoNombreDTO();
@@ -31512,7 +31520,7 @@ __decorateClass([
31512
31520
  Type367(() => DatosGIADTO),
31513
31521
  IsNotEmpty403({ message: "es requerido" }),
31514
31522
  Expose560(),
31515
- IsOptional34(),
31523
+ IsOptional36(),
31516
31524
  ValidateNested328()
31517
31525
  ], EmpresaENTITY.prototype, "DatosGIA", 2);
31518
31526
  __decorateClass([
@@ -32853,7 +32861,7 @@ import {
32853
32861
  ValidateNested as ValidateNested341,
32854
32862
  IsDate as IsDate139,
32855
32863
  Length as Length302,
32856
- IsOptional as IsOptional37,
32864
+ IsOptional as IsOptional39,
32857
32865
  IsArray as IsArray200
32858
32866
  } from "class-validator";
32859
32867
 
@@ -32925,7 +32933,7 @@ __decorateClass([
32925
32933
 
32926
32934
  // src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
32927
32935
  import { Expose as Expose586, Transform as Transform75 } from "class-transformer";
32928
- import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty423, IsNumber as IsNumber369, IsOptional as IsOptional36, IsString as IsString473, Length as Length299, Min as Min293 } from "class-validator";
32936
+ import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty423, IsNumber as IsNumber369, IsOptional as IsOptional38, IsString as IsString473, Length as Length299, Min as Min293 } from "class-validator";
32929
32937
  var InventarioValDTO = class {
32930
32938
  Descripcion = "";
32931
32939
  LoteSAP = "";
@@ -32939,13 +32947,13 @@ var InventarioValDTO = class {
32939
32947
  };
32940
32948
  __decorateClass([
32941
32949
  IsString473({ message: "debe ser un texto" }),
32942
- IsOptional36(),
32950
+ IsOptional38(),
32943
32951
  Length299(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
32944
32952
  Expose586()
32945
32953
  ], InventarioValDTO.prototype, "Descripcion", 2);
32946
32954
  __decorateClass([
32947
32955
  IsString473({ message: "debe ser un texto" }),
32948
- IsOptional36(),
32956
+ IsOptional38(),
32949
32957
  Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
32950
32958
  Expose586()
32951
32959
  ], InventarioValDTO.prototype, "LoteSAP", 2);
@@ -32957,7 +32965,7 @@ __decorateClass([
32957
32965
  ], InventarioValDTO.prototype, "TipoInventario", 2);
32958
32966
  __decorateClass([
32959
32967
  IsString473({ message: "debe ser un texto" }),
32960
- IsOptional36(),
32968
+ IsOptional38(),
32961
32969
  Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
32962
32970
  Expose586()
32963
32971
  ], InventarioValDTO.prototype, "CodigoSAP", 2);
@@ -32966,7 +32974,7 @@ __decorateClass([
32966
32974
  Transform75(({ value }) => value ? String(value) : value),
32967
32975
  Length299(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
32968
32976
  Expose586(),
32969
- IsOptional36()
32977
+ IsOptional38()
32970
32978
  ], InventarioValDTO.prototype, "NumeroSerie", 2);
32971
32979
  __decorateClass([
32972
32980
  IsNumber369({}, { message: "debe ser un numero" }),
@@ -32985,7 +32993,7 @@ __decorateClass([
32985
32993
  __decorateClass([
32986
32994
  IsString473({ message: "debe ser un texto" }),
32987
32995
  Length299(0, 50, { message: "debe tener una longitud de 0 a 50" }),
32988
- IsOptional36(),
32996
+ IsOptional38(),
32989
32997
  Expose586()
32990
32998
  ], InventarioValDTO.prototype, "ID_Recurso", 2);
32991
32999
 
@@ -33116,14 +33124,14 @@ __decorateClass([
33116
33124
  ], ValorizadaTOAENTITY.prototype, "Peticion", 2);
33117
33125
  __decorateClass([
33118
33126
  IsString476({ message: "debe ser un texto" }),
33119
- IsOptional37(),
33127
+ IsOptional39(),
33120
33128
  Length302(0, 50, { message: "debe tener una longitud de 0 a 50" }),
33121
33129
  Expose589()
33122
33130
  ], ValorizadaTOAENTITY.prototype, "AccessId", 2);
33123
33131
  __decorateClass([
33124
33132
  IsString476({ message: "debe ser un texto" }),
33125
33133
  Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
33126
- IsOptional37(),
33134
+ IsOptional39(),
33127
33135
  Expose589()
33128
33136
  ], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
33129
33137
  __decorateClass([
@@ -33148,7 +33156,7 @@ __decorateClass([
33148
33156
  ], ValorizadaTOAENTITY.prototype, "Estado", 2);
33149
33157
  __decorateClass([
33150
33158
  IsString476({ message: "debe ser un texto" }),
33151
- IsOptional37(),
33159
+ IsOptional39(),
33152
33160
  Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
33153
33161
  Expose589()
33154
33162
  ], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
@@ -33166,12 +33174,12 @@ __decorateClass([
33166
33174
  IsString476({ message: "debe ser un texto" }),
33167
33175
  Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
33168
33176
  Expose589(),
33169
- IsOptional37()
33177
+ IsOptional39()
33170
33178
  ], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
33171
33179
  __decorateClass([
33172
33180
  IsString476({ message: "debe ser un texto" }),
33173
33181
  Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
33174
- IsOptional37(),
33182
+ IsOptional39(),
33175
33183
  Expose589()
33176
33184
  ], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
33177
33185
  __decorateClass([
@@ -33287,7 +33295,7 @@ __decorateClass([
33287
33295
  ], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
33288
33296
  __decorateClass([
33289
33297
  IsString476({ message: "debe ser un texto" }),
33290
- IsOptional37(),
33298
+ IsOptional39(),
33291
33299
  Expose589()
33292
33300
  ], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
33293
33301
  __decorateClass([
@@ -33362,7 +33370,7 @@ __decorateClass([
33362
33370
 
33363
33371
  // src/operativa/procesos/liquidadas_toa/shared/index.ts
33364
33372
  import { Expose as Expose594, Type as Type386 } from "class-transformer";
33365
- import { IsArray as IsArray201, IsNotEmpty as IsNotEmpty431, IsNumber as IsNumber377, IsString as IsString481, Length as Length307, Min as Min301, ValidateNested as ValidateNested342, IsDate as IsDate141, IsOptional as IsOptional38 } from "class-validator";
33373
+ import { IsArray as IsArray201, IsNotEmpty as IsNotEmpty431, IsNumber as IsNumber377, IsString as IsString481, Length as Length307, Min as Min301, ValidateNested as ValidateNested342, IsDate as IsDate141, IsOptional as IsOptional40 } from "class-validator";
33366
33374
 
33367
33375
  // src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
33368
33376
  import { Expose as Expose590 } from "class-transformer";
@@ -33620,7 +33628,7 @@ __decorateClass([
33620
33628
  ], LiquidadaTOAENTITY.prototype, "Orden", 2);
33621
33629
  __decorateClass([
33622
33630
  IsString481({ message: "debe ser un texto" }),
33623
- IsOptional38(),
33631
+ IsOptional40(),
33624
33632
  Length307(0, 50, { message: "debe tener una longitud de 0 a 50" }),
33625
33633
  Expose594()
33626
33634
  ], LiquidadaTOAENTITY.prototype, "AccessId", 2);
@@ -36362,7 +36370,7 @@ __decorateClass([
36362
36370
 
36363
36371
  // src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
36364
36372
  import { Expose as Expose629 } from "class-transformer";
36365
- import { IsNumber as IsNumber394, IsOptional as IsOptional39, IsString as IsString512 } from "class-validator";
36373
+ import { IsNumber as IsNumber394, IsOptional as IsOptional41, IsString as IsString512 } from "class-validator";
36366
36374
  import "reflect-metadata";
36367
36375
  var ValorizacionPeruTOADTO = class {
36368
36376
  pbBase = 0;
@@ -36376,35 +36384,35 @@ var ValorizacionPeruTOADTO = class {
36376
36384
  __decorateClass([
36377
36385
  Expose629(),
36378
36386
  IsNumber394(),
36379
- IsOptional39()
36387
+ IsOptional41()
36380
36388
  ], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
36381
36389
  __decorateClass([
36382
36390
  Expose629(),
36383
36391
  IsNumber394(),
36384
- IsOptional39()
36392
+ IsOptional41()
36385
36393
  ], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
36386
36394
  __decorateClass([
36387
36395
  Expose629(),
36388
- IsOptional39()
36396
+ IsOptional41()
36389
36397
  ], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
36390
36398
  __decorateClass([
36391
36399
  Expose629(),
36392
- IsOptional39()
36400
+ IsOptional41()
36393
36401
  ], ValorizacionPeruTOADTO.prototype, "quantities", 2);
36394
36402
  __decorateClass([
36395
36403
  Expose629(),
36396
36404
  IsString512(),
36397
- IsOptional39()
36405
+ IsOptional41()
36398
36406
  ], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
36399
36407
  __decorateClass([
36400
36408
  Expose629(),
36401
36409
  IsString512(),
36402
- IsOptional39()
36410
+ IsOptional41()
36403
36411
  ], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
36404
36412
  __decorateClass([
36405
36413
  Expose629(),
36406
36414
  IsString512(),
36407
- IsOptional39()
36415
+ IsOptional41()
36408
36416
  ], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
36409
36417
 
36410
36418
  // src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
@@ -36450,7 +36458,7 @@ import "reflect-metadata";
36450
36458
 
36451
36459
  // src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
36452
36460
  import { Expose as Expose631, Type as Type400 } from "class-transformer";
36453
- import { IsDate as IsDate148, IsNumber as IsNumber395, IsOptional as IsOptional40, IsString as IsString514, ValidateNested as ValidateNested351 } from "class-validator";
36461
+ import { IsDate as IsDate148, IsNumber as IsNumber395, IsOptional as IsOptional42, IsString as IsString514, ValidateNested as ValidateNested351 } from "class-validator";
36454
36462
  var AjusteReprocesoDTO = class {
36455
36463
  PB;
36456
36464
  MO;
@@ -36466,58 +36474,58 @@ var AjusteReprocesoDTO = class {
36466
36474
  };
36467
36475
  __decorateClass([
36468
36476
  Expose631(),
36469
- IsOptional40(),
36477
+ IsOptional42(),
36470
36478
  IsNumber395()
36471
36479
  ], AjusteReprocesoDTO.prototype, "PB", 2);
36472
36480
  __decorateClass([
36473
36481
  Expose631(),
36474
- IsOptional40(),
36482
+ IsOptional42(),
36475
36483
  IsNumber395()
36476
36484
  ], AjusteReprocesoDTO.prototype, "MO", 2);
36477
36485
  __decorateClass([
36478
36486
  Expose631(),
36479
- IsOptional40(),
36487
+ IsOptional42(),
36480
36488
  IsNumber395()
36481
36489
  ], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
36482
36490
  __decorateClass([
36483
36491
  Expose631(),
36484
- IsOptional40(),
36492
+ IsOptional42(),
36485
36493
  IsString514()
36486
36494
  ], AjusteReprocesoDTO.prototype, "tecnico", 2);
36487
36495
  __decorateClass([
36488
36496
  Expose631(),
36489
- IsOptional40(),
36497
+ IsOptional42(),
36490
36498
  IsString514()
36491
36499
  ], AjusteReprocesoDTO.prototype, "id_recurso", 2);
36492
36500
  __decorateClass([
36493
36501
  Expose631(),
36494
- IsOptional40(),
36502
+ IsOptional42(),
36495
36503
  ValidateNested351(),
36496
36504
  Type400(() => EECCDBTOADTO)
36497
36505
  ], AjusteReprocesoDTO.prototype, "EECC", 2);
36498
36506
  __decorateClass([
36499
36507
  Expose631(),
36500
- IsOptional40(),
36508
+ IsOptional42(),
36501
36509
  IsNumber395()
36502
36510
  ], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
36503
36511
  __decorateClass([
36504
36512
  Expose631(),
36505
- IsOptional40(),
36513
+ IsOptional42(),
36506
36514
  IsString514()
36507
36515
  ], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
36508
36516
  __decorateClass([
36509
36517
  Expose631(),
36510
- IsOptional40(),
36518
+ IsOptional42(),
36511
36519
  IsString514()
36512
36520
  ], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
36513
36521
  __decorateClass([
36514
36522
  Expose631(),
36515
- IsOptional40(),
36523
+ IsOptional42(),
36516
36524
  IsNumber395()
36517
36525
  ], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
36518
36526
  __decorateClass([
36519
36527
  Expose631(),
36520
- IsOptional40(),
36528
+ IsOptional42(),
36521
36529
  IsDate148(),
36522
36530
  Type400(() => Date)
36523
36531
  ], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
@@ -37615,7 +37623,7 @@ import { Expose as Expose648, Transform as Transform86, Type as Type405 } from "
37615
37623
 
37616
37624
  // src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
37617
37625
  import { Expose as Expose640, Transform as Transform82 } from "class-transformer";
37618
- import { IsDate as IsDate151, IsDefined as IsDefined176, IsNumber as IsNumber401, IsOptional as IsOptional42, IsString as IsString523 } from "class-validator";
37626
+ import { IsDate as IsDate151, IsDefined as IsDefined176, IsNumber as IsNumber401, IsOptional as IsOptional44, IsString as IsString523 } from "class-validator";
37619
37627
 
37620
37628
  // src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
37621
37629
  function formatDateOnnetFibra(date) {
@@ -37681,13 +37689,13 @@ __decorateClass([
37681
37689
  Expose640()
37682
37690
  ], BitacoraDeOrdenesDTO.prototype, "estado", 2);
37683
37691
  __decorateClass([
37684
- IsOptional42(),
37692
+ IsOptional44(),
37685
37693
  Transform82(({ value }) => value ? String(value) : ""),
37686
37694
  IsString523({ message: "El campo lt debe ser una cadena de texto" }),
37687
37695
  Expose640()
37688
37696
  ], BitacoraDeOrdenesDTO.prototype, "lt", 2);
37689
37697
  __decorateClass([
37690
- IsOptional42(),
37698
+ IsOptional44(),
37691
37699
  IsNumber401({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
37692
37700
  Transform82(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
37693
37701
  Expose640()
@@ -37698,7 +37706,7 @@ __decorateClass([
37698
37706
  Expose640()
37699
37707
  ], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
37700
37708
  __decorateClass([
37701
- IsOptional42(),
37709
+ IsOptional44(),
37702
37710
  IsNumber401({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
37703
37711
  Transform82(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
37704
37712
  Expose640()
@@ -37734,13 +37742,13 @@ __decorateClass([
37734
37742
  Expose640()
37735
37743
  ], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
37736
37744
  __decorateClass([
37737
- IsOptional42(),
37745
+ IsOptional44(),
37738
37746
  IsString523({ message: "El campo tecnologia debe ser una cadena de texto" }),
37739
37747
  Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
37740
37748
  Expose640()
37741
37749
  ], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
37742
37750
  __decorateClass([
37743
- IsOptional42(),
37751
+ IsOptional44(),
37744
37752
  IsString523({ message: "El campo olt debe ser una cadena de texto" }),
37745
37753
  Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
37746
37754
  Expose640()
@@ -37796,7 +37804,7 @@ __decorateClass([
37796
37804
  Expose640()
37797
37805
  ], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
37798
37806
  __decorateClass([
37799
- IsOptional42(),
37807
+ IsOptional44(),
37800
37808
  Transform82(({ value }) => formatDateOnnetFibra(value)),
37801
37809
  IsDate151({ message: "El campo fecha_instalacion debe ser FECHA" }),
37802
37810
  Expose640()
@@ -37817,30 +37825,30 @@ __decorateClass([
37817
37825
  Expose640()
37818
37826
  ], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
37819
37827
  __decorateClass([
37820
- IsOptional42(),
37828
+ IsOptional44(),
37821
37829
  IsString523({ message: "El campo puerto_pon debe ser una cadena de texto" }),
37822
37830
  Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
37823
37831
  Expose640()
37824
37832
  ], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
37825
37833
  __decorateClass([
37826
- IsOptional42(),
37834
+ IsOptional44(),
37827
37835
  IsString523({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
37828
37836
  Expose640()
37829
37837
  ], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
37830
37838
  __decorateClass([
37831
- IsOptional42({ message: "El campo cliente es opcional" }),
37839
+ IsOptional44({ message: "El campo cliente es opcional" }),
37832
37840
  Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
37833
37841
  IsString523({ message: "El campo cliente debe ser una cadena de texto" }),
37834
37842
  Expose640()
37835
37843
  ], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
37836
37844
  __decorateClass([
37837
- IsOptional42({ message: "El campo comuna es opcional" }),
37845
+ IsOptional44({ message: "El campo comuna es opcional" }),
37838
37846
  Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
37839
37847
  IsString523({ message: "El campo comuna debe ser una cadena de texto" }),
37840
37848
  Expose640()
37841
37849
  ], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
37842
37850
  __decorateClass([
37843
- IsOptional42({ message: "El campo pep es opcional" }),
37851
+ IsOptional44({ message: "El campo pep es opcional" }),
37844
37852
  IsString523({ message: "El campo pep debe ser una cadena de texto" }),
37845
37853
  Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
37846
37854
  Expose640()
@@ -37850,38 +37858,38 @@ __decorateClass([
37850
37858
  Expose640()
37851
37859
  ], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
37852
37860
  __decorateClass([
37853
- IsOptional42({ message: "El campo proyecto es opcional" }),
37861
+ IsOptional44({ message: "El campo proyecto es opcional" }),
37854
37862
  IsString523({ message: "El campo proyecto debe ser una cadena de texto" }),
37855
37863
  Expose640()
37856
37864
  ], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
37857
37865
  __decorateClass([
37858
- IsOptional42({ message: "El campo producto es opcional" }),
37866
+ IsOptional44({ message: "El campo producto es opcional" }),
37859
37867
  IsString523({ message: "El campo producto debe ser una cadena de texto" }),
37860
37868
  Expose640()
37861
37869
  ], BitacoraDeOrdenesDTO.prototype, "producto", 2);
37862
37870
  __decorateClass([
37863
- IsOptional42({ message: "El campo sub_tipo_orden es opcional" }),
37871
+ IsOptional44({ message: "El campo sub_tipo_orden es opcional" }),
37864
37872
  IsString523({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
37865
37873
  Expose640()
37866
37874
  ], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
37867
37875
  __decorateClass([
37868
- IsOptional42({ message: "El campo nombre_tecnico es opcional" }),
37876
+ IsOptional44({ message: "El campo nombre_tecnico es opcional" }),
37869
37877
  IsString523({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
37870
37878
  Expose640()
37871
37879
  ], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
37872
37880
  __decorateClass([
37873
- IsOptional42(),
37881
+ IsOptional44(),
37874
37882
  IsNumber401({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
37875
37883
  Transform82(({ value }) => isNaN(value) ? 0 : Number(value)),
37876
37884
  Expose640()
37877
37885
  ], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
37878
37886
  __decorateClass([
37879
- IsOptional42({ message: "El campo sintoma es opcional" }),
37887
+ IsOptional44({ message: "El campo sintoma es opcional" }),
37880
37888
  IsNumber401({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
37881
37889
  Expose640()
37882
37890
  ], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
37883
37891
  __decorateClass([
37884
- IsOptional42({ message: "El campo mensaje_contingencia es opcional" }),
37892
+ IsOptional44({ message: "El campo mensaje_contingencia es opcional" }),
37885
37893
  IsString523({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
37886
37894
  Expose640()
37887
37895
  ], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
@@ -38036,7 +38044,7 @@ import { IsArray as IsArray208, IsDefined as IsDefined182, IsString as IsString5
38036
38044
 
38037
38045
  // src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
38038
38046
  import { Expose as Expose643, Transform as Transform84, Type as Type403 } from "class-transformer";
38039
- import { IsDefined as IsDefined179, IsNumber as IsNumber404, IsOptional as IsOptional43, IsString as IsString526 } from "class-validator";
38047
+ import { IsDefined as IsDefined179, IsNumber as IsNumber404, IsOptional as IsOptional45, IsString as IsString526 } from "class-validator";
38040
38048
  var DetalleOrdenRealDTO = class {
38041
38049
  descripcion = "";
38042
38050
  tipo = "";
@@ -38083,7 +38091,7 @@ __decorateClass([
38083
38091
  Expose643()
38084
38092
  ], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
38085
38093
  __decorateClass([
38086
- IsOptional43({ message: "El campo tecnico es requerido" }),
38094
+ IsOptional45({ message: "El campo tecnico es requerido" }),
38087
38095
  IsString526({ message: "El campo tecnico debe ser una cadena de texto" }),
38088
38096
  Transform84(({ value }) => typeof value !== "string" ? "" : String(value)),
38089
38097
  Expose643()
@@ -38098,14 +38106,14 @@ __decorateClass([
38098
38106
  Expose643()
38099
38107
  ], DetalleOrdenRealDTO.prototype, "cantidad", 2);
38100
38108
  __decorateClass([
38101
- IsOptional43({ message: "El campo contrato es opcional" }),
38109
+ IsOptional45({ message: "El campo contrato es opcional" }),
38102
38110
  IsString526({ message: "El campo contrato debe ser una cadena de texto" }),
38103
38111
  Transform84(({ value }) => typeof value !== "string" ? "" : String(value)),
38104
38112
  Expose643()
38105
38113
  ], DetalleOrdenRealDTO.prototype, "contrato", 2);
38106
38114
  __decorateClass([
38107
38115
  Type403(() => CodigoNombreDTO),
38108
- IsOptional43(),
38116
+ IsOptional45(),
38109
38117
  Transform84(({ value }) => value ?? new CodigoNombreDTO()),
38110
38118
  Expose643()
38111
38119
  ], DetalleOrdenRealDTO.prototype, "especialidad", 2);
@@ -41588,7 +41596,7 @@ __decorateClass([
41588
41596
 
41589
41597
  // src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
41590
41598
  import { Expose as Expose669, Type as Type421 } from "class-transformer";
41591
- import { IsDate as IsDate165, IsDefined as IsDefined204, IsNumber as IsNumber428, IsOptional as IsOptional45, IsString as IsString552 } from "class-validator";
41599
+ import { IsDate as IsDate165, IsDefined as IsDefined204, IsNumber as IsNumber428, IsOptional as IsOptional47, IsString as IsString552 } from "class-validator";
41592
41600
  var OrdenesInstalacionDTO = class {
41593
41601
  EMPRESA = "";
41594
41602
  FECHA_INGRESO = /* @__PURE__ */ new Date();
@@ -41777,25 +41785,25 @@ __decorateClass([
41777
41785
  __decorateClass([
41778
41786
  Expose669(),
41779
41787
  ForceString(),
41780
- IsOptional45(),
41788
+ IsOptional47(),
41781
41789
  IsString552()
41782
41790
  ], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
41783
41791
  __decorateClass([
41784
41792
  Expose669(),
41785
41793
  ForceString(),
41786
- IsOptional45(),
41794
+ IsOptional47(),
41787
41795
  IsString552()
41788
41796
  ], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
41789
41797
  __decorateClass([
41790
41798
  Expose669(),
41791
41799
  ForceString(),
41792
- IsOptional45(),
41800
+ IsOptional47(),
41793
41801
  IsString552()
41794
41802
  ], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
41795
41803
 
41796
41804
  // src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
41797
41805
  import { Expose as Expose670 } from "class-transformer";
41798
- import { IsDefined as IsDefined205, IsNumber as IsNumber429, IsOptional as IsOptional46, IsString as IsString553 } from "class-validator";
41806
+ import { IsDefined as IsDefined205, IsNumber as IsNumber429, IsOptional as IsOptional48, IsString as IsString553 } from "class-validator";
41799
41807
  var ReclamosDistribuidorDTO = class {
41800
41808
  FECHA = /* @__PURE__ */ new Date(0);
41801
41809
  PERMISOR = 0;
@@ -41953,7 +41961,7 @@ __decorateClass([
41953
41961
  __decorateClass([
41954
41962
  Expose670(),
41955
41963
  ForceString(),
41956
- IsOptional46(),
41964
+ IsOptional48(),
41957
41965
  IsString553()
41958
41966
  ], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
41959
41967
  __decorateClass([
@@ -42414,7 +42422,7 @@ __decorateClass([
42414
42422
  ], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
42415
42423
 
42416
42424
  // src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
42417
- import { IsDate as IsDate168, IsDefined as IsDefined208, IsNumber as IsNumber432, IsOptional as IsOptional47, IsString as IsString556 } from "class-validator";
42425
+ import { IsDate as IsDate168, IsDefined as IsDefined208, IsNumber as IsNumber432, IsOptional as IsOptional49, IsString as IsString556 } from "class-validator";
42418
42426
  import { Expose as Expose673, Type as Type422 } from "class-transformer";
42419
42427
  var TUVESOrdReclMatDescargadoDTO = class {
42420
42428
  EMPRESA = "";
@@ -42604,19 +42612,19 @@ __decorateClass([
42604
42612
  __decorateClass([
42605
42613
  Expose673(),
42606
42614
  ForceString(),
42607
- IsOptional47(),
42615
+ IsOptional49(),
42608
42616
  IsString556()
42609
42617
  ], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
42610
42618
  __decorateClass([
42611
42619
  Expose673(),
42612
42620
  ForceString(),
42613
- IsOptional47(),
42621
+ IsOptional49(),
42614
42622
  IsString556()
42615
42623
  ], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
42616
42624
  __decorateClass([
42617
42625
  Expose673(),
42618
42626
  ForceString(),
42619
- IsOptional47(),
42627
+ IsOptional49(),
42620
42628
  IsString556()
42621
42629
  ], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
42622
42630
 
@@ -43535,7 +43543,7 @@ __decorateClass([
43535
43543
 
43536
43544
  // src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
43537
43545
  import { Expose as Expose682 } from "class-transformer";
43538
- import { IsNumber as IsNumber440, IsOptional as IsOptional48 } from "class-validator";
43546
+ import { IsNumber as IsNumber440, IsOptional as IsOptional50 } from "class-validator";
43539
43547
  import "reflect-metadata";
43540
43548
  var ValorizacionSomacylDTO = class {
43541
43549
  pbBase = 0;
@@ -43544,12 +43552,12 @@ var ValorizacionSomacylDTO = class {
43544
43552
  __decorateClass([
43545
43553
  Expose682(),
43546
43554
  IsNumber440(),
43547
- IsOptional48()
43555
+ IsOptional50()
43548
43556
  ], ValorizacionSomacylDTO.prototype, "pbBase", 2);
43549
43557
  __decorateClass([
43550
43558
  Expose682(),
43551
43559
  IsNumber440(),
43552
- IsOptional48()
43560
+ IsOptional50()
43553
43561
  ], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
43554
43562
 
43555
43563
  // src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.278",
3
+ "version": "1.2.279",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",