sigo-entities 1.2.271 → 1.2.273

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
@@ -28529,6 +28529,7 @@ var AcceptedDto = class {
28529
28529
  FullName = "";
28530
28530
  };
28531
28531
  __decorateClass([
28532
+ (0, import_class_validator483.IsOptional)(),
28532
28533
  (0, import_class_validator483.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28533
28534
  (0, import_class_validator483.Min)(0, { message: "el valor m\xEDnimo es 0" }),
28534
28535
  (0, import_class_transformer484.Expose)()
@@ -28539,7 +28540,9 @@ __decorateClass([
28539
28540
  (0, import_class_transformer484.Expose)()
28540
28541
  ], AcceptedDto.prototype, "Date", 2);
28541
28542
  __decorateClass([
28543
+ (0, import_class_validator483.IsOptional)(),
28542
28544
  (0, import_class_validator483.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28545
+ (0, import_class_transformer484.Type)(() => Number),
28543
28546
  (0, import_class_transformer484.Expose)()
28544
28547
  ], AcceptedDto.prototype, "IdUser", 2);
28545
28548
  __decorateClass([
@@ -28577,6 +28580,7 @@ var AlbaranDto = class {
28577
28580
  FullName = "";
28578
28581
  };
28579
28582
  __decorateClass([
28583
+ (0, import_class_validator484.IsOptional)(),
28580
28584
  (0, import_class_validator484.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28581
28585
  (0, import_class_validator484.Min)(0, { message: "el valor m\xEDnimo es 0" }),
28582
28586
  (0, import_class_transformer485.Expose)()
@@ -28587,7 +28591,9 @@ __decorateClass([
28587
28591
  (0, import_class_transformer485.Expose)()
28588
28592
  ], AlbaranDto.prototype, "Date", 2);
28589
28593
  __decorateClass([
28594
+ (0, import_class_validator484.IsOptional)(),
28590
28595
  (0, import_class_validator484.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28596
+ (0, import_class_transformer485.Type)(() => Number),
28591
28597
  (0, import_class_transformer485.Expose)()
28592
28598
  ], AlbaranDto.prototype, "IdUser", 2);
28593
28599
  __decorateClass([
@@ -28625,6 +28631,7 @@ var ClosedDto = class {
28625
28631
  FullName = "";
28626
28632
  };
28627
28633
  __decorateClass([
28634
+ (0, import_class_validator485.IsOptional)(),
28628
28635
  (0, import_class_validator485.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28629
28636
  (0, import_class_validator485.Min)(0, { message: "el valor m\xEDnimo es 0" }),
28630
28637
  (0, import_class_transformer486.Expose)()
@@ -28635,7 +28642,9 @@ __decorateClass([
28635
28642
  (0, import_class_transformer486.Expose)()
28636
28643
  ], ClosedDto.prototype, "Date", 2);
28637
28644
  __decorateClass([
28645
+ (0, import_class_validator485.IsOptional)(),
28638
28646
  (0, import_class_validator485.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28647
+ (0, import_class_transformer486.Type)(() => Number),
28639
28648
  (0, import_class_transformer486.Expose)()
28640
28649
  ], ClosedDto.prototype, "IdUser", 2);
28641
28650
  __decorateClass([
@@ -28673,6 +28682,7 @@ var EmisionDto = class {
28673
28682
  FullName = "";
28674
28683
  };
28675
28684
  __decorateClass([
28685
+ (0, import_class_validator486.IsOptional)(),
28676
28686
  (0, import_class_validator486.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28677
28687
  (0, import_class_validator486.Min)(0, { message: "el valor m\xEDnimo es 0" }),
28678
28688
  (0, import_class_transformer487.Expose)()
@@ -28683,7 +28693,9 @@ __decorateClass([
28683
28693
  (0, import_class_transformer487.Expose)()
28684
28694
  ], EmisionDto.prototype, "Date", 2);
28685
28695
  __decorateClass([
28696
+ (0, import_class_validator486.IsOptional)(),
28686
28697
  (0, import_class_validator486.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28698
+ (0, import_class_transformer487.Type)(() => Number),
28687
28699
  (0, import_class_transformer487.Expose)()
28688
28700
  ], EmisionDto.prototype, "IdUser", 2);
28689
28701
  __decorateClass([
@@ -28724,6 +28736,7 @@ var FacturaDto = class {
28724
28736
  FullName = "";
28725
28737
  };
28726
28738
  __decorateClass([
28739
+ (0, import_class_validator487.IsOptional)(),
28727
28740
  (0, import_class_validator487.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28728
28741
  (0, import_class_validator487.Min)(0, { message: "el valor m\xEDnimo es 0" }),
28729
28742
  (0, import_class_transformer488.Expose)()
@@ -28734,7 +28747,9 @@ __decorateClass([
28734
28747
  (0, import_class_transformer488.Expose)()
28735
28748
  ], FacturaDto.prototype, "Date", 2);
28736
28749
  __decorateClass([
28750
+ (0, import_class_validator487.IsOptional)(),
28737
28751
  (0, import_class_validator487.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28752
+ (0, import_class_transformer488.Type)(() => Number),
28738
28753
  (0, import_class_transformer488.Expose)()
28739
28754
  ], FacturaDto.prototype, "IdUser", 2);
28740
28755
  __decorateClass([
@@ -28775,6 +28790,7 @@ var OrdenDto = class {
28775
28790
  FullName = "";
28776
28791
  };
28777
28792
  __decorateClass([
28793
+ (0, import_class_validator488.IsOptional)(),
28778
28794
  (0, import_class_validator488.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28779
28795
  (0, import_class_validator488.Min)(0, { message: "el valor m\xEDnimo es 0" }),
28780
28796
  (0, import_class_transformer489.Expose)()
@@ -28785,7 +28801,9 @@ __decorateClass([
28785
28801
  (0, import_class_transformer489.Expose)()
28786
28802
  ], OrdenDto.prototype, "Date", 2);
28787
28803
  __decorateClass([
28804
+ (0, import_class_validator488.IsOptional)(),
28788
28805
  (0, import_class_validator488.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28806
+ (0, import_class_transformer489.Type)(() => Number),
28789
28807
  (0, import_class_transformer489.Expose)()
28790
28808
  ], OrdenDto.prototype, "IdUser", 2);
28791
28809
  __decorateClass([
@@ -28823,6 +28841,7 @@ var PreAcceptedDto = class {
28823
28841
  FullName = "";
28824
28842
  };
28825
28843
  __decorateClass([
28844
+ (0, import_class_validator489.IsOptional)(),
28826
28845
  (0, import_class_validator489.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28827
28846
  (0, import_class_validator489.Min)(0, { message: "el valor m\xEDnimo es 0" }),
28828
28847
  (0, import_class_transformer490.Expose)()
@@ -28833,7 +28852,9 @@ __decorateClass([
28833
28852
  (0, import_class_transformer490.Expose)()
28834
28853
  ], PreAcceptedDto.prototype, "Date", 2);
28835
28854
  __decorateClass([
28855
+ (0, import_class_validator489.IsOptional)(),
28836
28856
  (0, import_class_validator489.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28857
+ (0, import_class_transformer490.Type)(() => Number),
28837
28858
  (0, import_class_transformer490.Expose)()
28838
28859
  ], PreAcceptedDto.prototype, "IdUser", 2);
28839
28860
  __decorateClass([
@@ -28871,6 +28892,7 @@ var RegistryDto = class {
28871
28892
  FullName = "";
28872
28893
  };
28873
28894
  __decorateClass([
28895
+ (0, import_class_validator490.IsOptional)(),
28874
28896
  (0, import_class_validator490.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28875
28897
  (0, import_class_validator490.Min)(0, { message: "el valor m\xEDnimo es 0" }),
28876
28898
  (0, import_class_transformer491.Expose)()
@@ -28881,7 +28903,9 @@ __decorateClass([
28881
28903
  (0, import_class_transformer491.Expose)()
28882
28904
  ], RegistryDto.prototype, "Date", 2);
28883
28905
  __decorateClass([
28906
+ (0, import_class_validator490.IsOptional)(),
28884
28907
  (0, import_class_validator490.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28908
+ (0, import_class_transformer491.Type)(() => Number),
28885
28909
  (0, import_class_transformer491.Expose)()
28886
28910
  ], RegistryDto.prototype, "IdUser", 2);
28887
28911
  __decorateClass([
@@ -28922,6 +28946,7 @@ var UpdateDto = class {
28922
28946
  FullName = "";
28923
28947
  };
28924
28948
  __decorateClass([
28949
+ (0, import_class_validator491.IsOptional)(),
28925
28950
  (0, import_class_validator491.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28926
28951
  (0, import_class_validator491.Min)(0, { message: "el valor m\xEDnimo es 0" }),
28927
28952
  (0, import_class_transformer492.Expose)()
@@ -28932,7 +28957,9 @@ __decorateClass([
28932
28957
  (0, import_class_transformer492.Expose)()
28933
28958
  ], UpdateDto.prototype, "Date", 2);
28934
28959
  __decorateClass([
28960
+ (0, import_class_validator491.IsOptional)(),
28935
28961
  (0, import_class_validator491.IsNumber)({}, { message: "debe ser un n\xFAmero" }),
28962
+ (0, import_class_transformer492.Type)(() => Number),
28936
28963
  (0, import_class_transformer492.Expose)()
28937
28964
  ], UpdateDto.prototype, "IdUser", 2);
28938
28965
  __decorateClass([
@@ -30168,6 +30195,7 @@ __decorateClass([
30168
30195
  (0, import_class_transformer544.Expose)()
30169
30196
  ], StatuDto.prototype, "FactorCambio", 2);
30170
30197
  __decorateClass([
30198
+ (0, import_class_validator532.IsOptional)(),
30171
30199
  (0, import_class_validator532.IsBoolean)({ message: "debe ser true o false" }),
30172
30200
  (0, import_class_transformer544.Expose)()
30173
30201
  ], StatuDto.prototype, "PreOrden", 2);
package/dist/index.mjs CHANGED
@@ -27934,7 +27934,7 @@ __decorateClass([
27934
27934
 
27935
27935
  // src/logistica/procesos/navisionpreorden/shared/dto/accepted-dto.ts
27936
27936
  import { Expose as Expose480, Type as Type324 } from "class-transformer";
27937
- import { IsDate as IsDate119, IsNumber as IsNumber320, IsString as IsString375, Min as Min252 } from "class-validator";
27937
+ import { IsDate as IsDate119, IsNumber as IsNumber320, IsOptional as IsOptional21, IsString as IsString375, Min as Min252 } from "class-validator";
27938
27938
  var AcceptedDto = class {
27939
27939
  IdDate = 0;
27940
27940
  Date = /* @__PURE__ */ new Date();
@@ -27946,6 +27946,7 @@ var AcceptedDto = class {
27946
27946
  FullName = "";
27947
27947
  };
27948
27948
  __decorateClass([
27949
+ IsOptional21(),
27949
27950
  IsNumber320({}, { message: "debe ser un n\xFAmero" }),
27950
27951
  Min252(0, { message: "el valor m\xEDnimo es 0" }),
27951
27952
  Expose480()
@@ -27956,7 +27957,9 @@ __decorateClass([
27956
27957
  Expose480()
27957
27958
  ], AcceptedDto.prototype, "Date", 2);
27958
27959
  __decorateClass([
27960
+ IsOptional21(),
27959
27961
  IsNumber320({}, { message: "debe ser un n\xFAmero" }),
27962
+ Type324(() => Number),
27960
27963
  Expose480()
27961
27964
  ], AcceptedDto.prototype, "IdUser", 2);
27962
27965
  __decorateClass([
@@ -27982,7 +27985,7 @@ __decorateClass([
27982
27985
 
27983
27986
  // src/logistica/procesos/navisionpreorden/shared/dto/albaran-dto.ts
27984
27987
  import { Expose as Expose481, Type as Type325 } from "class-transformer";
27985
- import { IsDate as IsDate120, IsNumber as IsNumber321, IsString as IsString376, Min as Min253 } from "class-validator";
27988
+ import { IsDate as IsDate120, IsNumber as IsNumber321, IsOptional as IsOptional22, IsString as IsString376, Min as Min253 } from "class-validator";
27986
27989
  var AlbaranDto = class {
27987
27990
  IdDate = 0;
27988
27991
  Date = /* @__PURE__ */ new Date();
@@ -27994,6 +27997,7 @@ var AlbaranDto = class {
27994
27997
  FullName = "";
27995
27998
  };
27996
27999
  __decorateClass([
28000
+ IsOptional22(),
27997
28001
  IsNumber321({}, { message: "debe ser un n\xFAmero" }),
27998
28002
  Min253(0, { message: "el valor m\xEDnimo es 0" }),
27999
28003
  Expose481()
@@ -28004,7 +28008,9 @@ __decorateClass([
28004
28008
  Expose481()
28005
28009
  ], AlbaranDto.prototype, "Date", 2);
28006
28010
  __decorateClass([
28011
+ IsOptional22(),
28007
28012
  IsNumber321({}, { message: "debe ser un n\xFAmero" }),
28013
+ Type325(() => Number),
28008
28014
  Expose481()
28009
28015
  ], AlbaranDto.prototype, "IdUser", 2);
28010
28016
  __decorateClass([
@@ -28030,7 +28036,7 @@ __decorateClass([
28030
28036
 
28031
28037
  // src/logistica/procesos/navisionpreorden/shared/dto/closed-dto.ts
28032
28038
  import { Expose as Expose482, Type as Type326 } from "class-transformer";
28033
- import { IsDate as IsDate121, IsNumber as IsNumber322, IsString as IsString377, Min as Min254 } from "class-validator";
28039
+ import { IsDate as IsDate121, IsNumber as IsNumber322, IsOptional as IsOptional23, IsString as IsString377, Min as Min254 } from "class-validator";
28034
28040
  var ClosedDto = class {
28035
28041
  IdDate = 0;
28036
28042
  Date = /* @__PURE__ */ new Date();
@@ -28042,6 +28048,7 @@ var ClosedDto = class {
28042
28048
  FullName = "";
28043
28049
  };
28044
28050
  __decorateClass([
28051
+ IsOptional23(),
28045
28052
  IsNumber322({}, { message: "debe ser un n\xFAmero" }),
28046
28053
  Min254(0, { message: "el valor m\xEDnimo es 0" }),
28047
28054
  Expose482()
@@ -28052,7 +28059,9 @@ __decorateClass([
28052
28059
  Expose482()
28053
28060
  ], ClosedDto.prototype, "Date", 2);
28054
28061
  __decorateClass([
28062
+ IsOptional23(),
28055
28063
  IsNumber322({}, { message: "debe ser un n\xFAmero" }),
28064
+ Type326(() => Number),
28056
28065
  Expose482()
28057
28066
  ], ClosedDto.prototype, "IdUser", 2);
28058
28067
  __decorateClass([
@@ -28078,7 +28087,7 @@ __decorateClass([
28078
28087
 
28079
28088
  // src/logistica/procesos/navisionpreorden/shared/dto/emision-dto.ts
28080
28089
  import { Expose as Expose483, Type as Type327 } from "class-transformer";
28081
- import { IsDate as IsDate122, IsNumber as IsNumber323, IsString as IsString378, Min as Min255 } from "class-validator";
28090
+ import { IsDate as IsDate122, IsNumber as IsNumber323, IsOptional as IsOptional24, IsString as IsString378, Min as Min255 } from "class-validator";
28082
28091
  var EmisionDto = class {
28083
28092
  IdDate = 0;
28084
28093
  Date = /* @__PURE__ */ new Date();
@@ -28090,6 +28099,7 @@ var EmisionDto = class {
28090
28099
  FullName = "";
28091
28100
  };
28092
28101
  __decorateClass([
28102
+ IsOptional24(),
28093
28103
  IsNumber323({}, { message: "debe ser un n\xFAmero" }),
28094
28104
  Min255(0, { message: "el valor m\xEDnimo es 0" }),
28095
28105
  Expose483()
@@ -28100,7 +28110,9 @@ __decorateClass([
28100
28110
  Expose483()
28101
28111
  ], EmisionDto.prototype, "Date", 2);
28102
28112
  __decorateClass([
28113
+ IsOptional24(),
28103
28114
  IsNumber323({}, { message: "debe ser un n\xFAmero" }),
28115
+ Type327(() => Number),
28104
28116
  Expose483()
28105
28117
  ], EmisionDto.prototype, "IdUser", 2);
28106
28118
  __decorateClass([
@@ -28129,7 +28141,7 @@ import { Expose as Expose489 } from "class-transformer";
28129
28141
 
28130
28142
  // src/logistica/procesos/navisionpreorden/shared/dto/factura-dto.ts
28131
28143
  import { Expose as Expose484, Type as Type328 } from "class-transformer";
28132
- import { IsDate as IsDate123, IsNumber as IsNumber324, IsString as IsString379, Min as Min256 } from "class-validator";
28144
+ import { IsDate as IsDate123, IsNumber as IsNumber324, IsOptional as IsOptional25, IsString as IsString379, Min as Min256 } from "class-validator";
28133
28145
  var FacturaDto = class {
28134
28146
  IdDate = 0;
28135
28147
  Date = /* @__PURE__ */ new Date();
@@ -28141,6 +28153,7 @@ var FacturaDto = class {
28141
28153
  FullName = "";
28142
28154
  };
28143
28155
  __decorateClass([
28156
+ IsOptional25(),
28144
28157
  IsNumber324({}, { message: "debe ser un n\xFAmero" }),
28145
28158
  Min256(0, { message: "el valor m\xEDnimo es 0" }),
28146
28159
  Expose484()
@@ -28151,7 +28164,9 @@ __decorateClass([
28151
28164
  Expose484()
28152
28165
  ], FacturaDto.prototype, "Date", 2);
28153
28166
  __decorateClass([
28167
+ IsOptional25(),
28154
28168
  IsNumber324({}, { message: "debe ser un n\xFAmero" }),
28169
+ Type328(() => Number),
28155
28170
  Expose484()
28156
28171
  ], FacturaDto.prototype, "IdUser", 2);
28157
28172
  __decorateClass([
@@ -28180,7 +28195,7 @@ import { ValidateNested as ValidateNested296 } from "class-validator";
28180
28195
 
28181
28196
  // src/logistica/procesos/navisionpreorden/shared/dto/orden-dto.ts
28182
28197
  import { Expose as Expose485, Type as Type329 } from "class-transformer";
28183
- import { IsDate as IsDate124, IsNumber as IsNumber325, IsString as IsString380, Min as Min257 } from "class-validator";
28198
+ import { IsDate as IsDate124, IsNumber as IsNumber325, IsOptional as IsOptional26, IsString as IsString380, Min as Min257 } from "class-validator";
28184
28199
  var OrdenDto = class {
28185
28200
  IdDate = 0;
28186
28201
  Date = /* @__PURE__ */ new Date();
@@ -28192,6 +28207,7 @@ var OrdenDto = class {
28192
28207
  FullName = "";
28193
28208
  };
28194
28209
  __decorateClass([
28210
+ IsOptional26(),
28195
28211
  IsNumber325({}, { message: "debe ser un n\xFAmero" }),
28196
28212
  Min257(0, { message: "el valor m\xEDnimo es 0" }),
28197
28213
  Expose485()
@@ -28202,7 +28218,9 @@ __decorateClass([
28202
28218
  Expose485()
28203
28219
  ], OrdenDto.prototype, "Date", 2);
28204
28220
  __decorateClass([
28221
+ IsOptional26(),
28205
28222
  IsNumber325({}, { message: "debe ser un n\xFAmero" }),
28223
+ Type329(() => Number),
28206
28224
  Expose485()
28207
28225
  ], OrdenDto.prototype, "IdUser", 2);
28208
28226
  __decorateClass([
@@ -28228,7 +28246,7 @@ __decorateClass([
28228
28246
 
28229
28247
  // src/logistica/procesos/navisionpreorden/shared/dto/pre-accepted-dto.ts
28230
28248
  import { Expose as Expose486, Type as Type330 } from "class-transformer";
28231
- import { IsDate as IsDate125, IsNumber as IsNumber326, IsString as IsString381, Min as Min258 } from "class-validator";
28249
+ import { IsDate as IsDate125, IsNumber as IsNumber326, IsOptional as IsOptional27, IsString as IsString381, Min as Min258 } from "class-validator";
28232
28250
  var PreAcceptedDto = class {
28233
28251
  IdDate = 0;
28234
28252
  Date = /* @__PURE__ */ new Date();
@@ -28240,6 +28258,7 @@ var PreAcceptedDto = class {
28240
28258
  FullName = "";
28241
28259
  };
28242
28260
  __decorateClass([
28261
+ IsOptional27(),
28243
28262
  IsNumber326({}, { message: "debe ser un n\xFAmero" }),
28244
28263
  Min258(0, { message: "el valor m\xEDnimo es 0" }),
28245
28264
  Expose486()
@@ -28250,7 +28269,9 @@ __decorateClass([
28250
28269
  Expose486()
28251
28270
  ], PreAcceptedDto.prototype, "Date", 2);
28252
28271
  __decorateClass([
28272
+ IsOptional27(),
28253
28273
  IsNumber326({}, { message: "debe ser un n\xFAmero" }),
28274
+ Type330(() => Number),
28254
28275
  Expose486()
28255
28276
  ], PreAcceptedDto.prototype, "IdUser", 2);
28256
28277
  __decorateClass([
@@ -28276,7 +28297,7 @@ __decorateClass([
28276
28297
 
28277
28298
  // src/logistica/procesos/navisionpreorden/shared/dto/registry-dto.ts
28278
28299
  import { Expose as Expose487, Type as Type331 } from "class-transformer";
28279
- import { IsDate as IsDate126, IsNumber as IsNumber327, IsString as IsString382, Min as Min259 } from "class-validator";
28300
+ import { IsDate as IsDate126, IsNumber as IsNumber327, IsOptional as IsOptional28, IsString as IsString382, Min as Min259 } from "class-validator";
28280
28301
  var RegistryDto = class {
28281
28302
  IdDate = 0;
28282
28303
  Date = /* @__PURE__ */ new Date();
@@ -28288,6 +28309,7 @@ var RegistryDto = class {
28288
28309
  FullName = "";
28289
28310
  };
28290
28311
  __decorateClass([
28312
+ IsOptional28(),
28291
28313
  IsNumber327({}, { message: "debe ser un n\xFAmero" }),
28292
28314
  Min259(0, { message: "el valor m\xEDnimo es 0" }),
28293
28315
  Expose487()
@@ -28298,7 +28320,9 @@ __decorateClass([
28298
28320
  Expose487()
28299
28321
  ], RegistryDto.prototype, "Date", 2);
28300
28322
  __decorateClass([
28323
+ IsOptional28(),
28301
28324
  IsNumber327({}, { message: "debe ser un n\xFAmero" }),
28325
+ Type331(() => Number),
28302
28326
  Expose487()
28303
28327
  ], RegistryDto.prototype, "IdUser", 2);
28304
28328
  __decorateClass([
@@ -28327,7 +28351,7 @@ import { Type as Type333 } from "class-transformer";
28327
28351
 
28328
28352
  // src/logistica/procesos/navisionpreorden/shared/dto/update-dto.ts
28329
28353
  import { Expose as Expose488, Type as Type332 } from "class-transformer";
28330
- import { IsDate as IsDate127, IsNumber as IsNumber328, IsString as IsString383, Min as Min260 } from "class-validator";
28354
+ import { IsDate as IsDate127, IsNumber as IsNumber328, IsOptional as IsOptional29, IsString as IsString383, Min as Min260 } from "class-validator";
28331
28355
  var UpdateDto = class {
28332
28356
  IdDate = 0;
28333
28357
  Date = /* @__PURE__ */ new Date();
@@ -28339,6 +28363,7 @@ var UpdateDto = class {
28339
28363
  FullName = "";
28340
28364
  };
28341
28365
  __decorateClass([
28366
+ IsOptional29(),
28342
28367
  IsNumber328({}, { message: "debe ser un n\xFAmero" }),
28343
28368
  Min260(0, { message: "el valor m\xEDnimo es 0" }),
28344
28369
  Expose488()
@@ -28349,7 +28374,9 @@ __decorateClass([
28349
28374
  Expose488()
28350
28375
  ], UpdateDto.prototype, "Date", 2);
28351
28376
  __decorateClass([
28377
+ IsOptional29(),
28352
28378
  IsNumber328({}, { message: "debe ser un n\xFAmero" }),
28379
+ Type332(() => Number),
28353
28380
  Expose488()
28354
28381
  ], UpdateDto.prototype, "IdUser", 2);
28355
28382
  __decorateClass([
@@ -28918,7 +28945,7 @@ __decorateClass([
28918
28945
 
28919
28946
  // src/logistica/procesos/navisionpreorden/shared/dto/detalle-producto-dto.ts
28920
28947
  import { Expose as Expose521, Type as Type343 } from "class-transformer";
28921
- import { IsNotEmpty as IsNotEmpty368, IsOptional as IsOptional22, ValidateNested as ValidateNested305 } from "class-validator";
28948
+ import { IsNotEmpty as IsNotEmpty368, IsOptional as IsOptional31, ValidateNested as ValidateNested305 } from "class-validator";
28922
28949
 
28923
28950
  // src/logistica/procesos/navisionpreorden/shared/dto/detalle-dto.ts
28924
28951
  import { Expose as Expose508 } from "class-transformer";
@@ -28997,7 +29024,7 @@ __decorateClass([
28997
29024
  ], FechaEntregaDto.prototype, "Date", 2);
28998
29025
 
28999
29026
  // src/logistica/procesos/navisionpreorden/shared/dto/producto-dto.ts
29000
- import { IsArray as IsArray178, IsBoolean as IsBoolean45, IsNotEmpty as IsNotEmpty365, IsNumber as IsNumber333, IsOptional as IsOptional21, IsString as IsString408, ValidateNested as ValidateNested302 } from "class-validator";
29027
+ import { IsArray as IsArray178, IsBoolean as IsBoolean45, IsNotEmpty as IsNotEmpty365, IsNumber as IsNumber333, IsOptional as IsOptional30, IsString as IsString408, ValidateNested as ValidateNested302 } from "class-validator";
29001
29028
 
29002
29029
  // src/logistica/procesos/navisionpreorden/shared/dto/recepcion-dto.ts
29003
29030
  import { Expose as Expose510 } from "class-transformer";
@@ -29216,12 +29243,12 @@ __decorateClass([
29216
29243
  Expose516()
29217
29244
  ], ProductoDto.prototype, "IGV", 2);
29218
29245
  __decorateClass([
29219
- IsOptional21(),
29246
+ IsOptional30(),
29220
29247
  IsBoolean45({ message: "debe ser true o false" }),
29221
29248
  Expose516()
29222
29249
  ], ProductoDto.prototype, "esFraccion", 2);
29223
29250
  __decorateClass([
29224
- IsOptional21(),
29251
+ IsOptional30(),
29225
29252
  IsNumber333({}, { message: "debe ser un n\xFAmero" }),
29226
29253
  Expose516()
29227
29254
  ], ProductoDto.prototype, "CantidadComparativo", 2);
@@ -29247,7 +29274,7 @@ __decorateClass([
29247
29274
  Expose516()
29248
29275
  ], ProductoDto.prototype, "CantidadDisponible", 2);
29249
29276
  __decorateClass([
29250
- IsOptional21(),
29277
+ IsOptional30(),
29251
29278
  IsArray178({ message: "debe ser un array" }),
29252
29279
  Type340(() => RecepcionDto),
29253
29280
  ValidateNested302({ each: true }),
@@ -29372,7 +29399,7 @@ var DetalleProductoDto = class {
29372
29399
  Producto = new ProductoDto();
29373
29400
  };
29374
29401
  __decorateClass([
29375
- IsOptional22(),
29402
+ IsOptional31(),
29376
29403
  Type343(() => RequerimientoDto),
29377
29404
  ValidateNested305(),
29378
29405
  Expose521()
@@ -29482,7 +29509,7 @@ __decorateClass([
29482
29509
  ], IconoDto.prototype, "Status", 2);
29483
29510
 
29484
29511
  // src/logistica/procesos/navisionpreorden/shared/dto/statu-dto.ts
29485
- import { IsBoolean as IsBoolean47, ValidateNested as ValidateNested308 } from "class-validator";
29512
+ import { IsBoolean as IsBoolean47, ValidateNested as ValidateNested308, IsOptional as IsOptional32 } from "class-validator";
29486
29513
 
29487
29514
  // src/logistica/procesos/navisionpreorden/shared/dto/nav-dto.ts
29488
29515
  import { Expose as Expose526 } from "class-transformer";
@@ -29585,6 +29612,7 @@ __decorateClass([
29585
29612
  Expose529()
29586
29613
  ], StatuDto.prototype, "FactorCambio", 2);
29587
29614
  __decorateClass([
29615
+ IsOptional32(),
29588
29616
  IsBoolean47({ message: "debe ser true o false" }),
29589
29617
  Expose529()
29590
29618
  ], StatuDto.prototype, "PreOrden", 2);
@@ -30742,7 +30770,7 @@ import {
30742
30770
  IsDefined as IsDefined153,
30743
30771
  IsNotEmpty as IsNotEmpty394,
30744
30772
  IsNumber as IsNumber345,
30745
- IsOptional as IsOptional23,
30773
+ IsOptional as IsOptional33,
30746
30774
  IsString as IsString437,
30747
30775
  Length as Length267,
30748
30776
  Min as Min271,
@@ -30821,7 +30849,7 @@ __decorateClass([
30821
30849
  IsString437({ message: "debe ser un texto" }),
30822
30850
  Length267(0, 70, { message: "debe tener entre 0 y 70 caracteres" }),
30823
30851
  Expose549(),
30824
- IsOptional23()
30852
+ IsOptional33()
30825
30853
  ], PersonalENTITY.prototype, "ApellidoMaterno", 2);
30826
30854
  __decorateClass([
30827
30855
  IsString437({ message: "debe ser un texto" }),
@@ -31304,7 +31332,7 @@ __decorateClass([
31304
31332
  ], TipoEmpresaDTO.prototype, "Nombre", 2);
31305
31333
 
31306
31334
  // src/configuracion/empresa/shared/index.ts
31307
- import { IsArray as IsArray195, IsBoolean as IsBoolean53, IsNotEmpty as IsNotEmpty403, IsNumber as IsNumber354, IsOptional as IsOptional24, IsString as IsString448, Length as Length277, Min as Min280, ValidateNested as ValidateNested328 } from "class-validator";
31335
+ 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";
31308
31336
  var EmpresaENTITY = class {
31309
31337
  ID_Empresa = 0;
31310
31338
  Pais = new CodigoNombreDTO();
@@ -31417,7 +31445,7 @@ __decorateClass([
31417
31445
  Type367(() => DatosGIADTO),
31418
31446
  IsNotEmpty403({ message: "es requerido" }),
31419
31447
  Expose560(),
31420
- IsOptional24(),
31448
+ IsOptional34(),
31421
31449
  ValidateNested328()
31422
31450
  ], EmpresaENTITY.prototype, "DatosGIA", 2);
31423
31451
  __decorateClass([
@@ -32758,7 +32786,7 @@ import {
32758
32786
  ValidateNested as ValidateNested341,
32759
32787
  IsDate as IsDate139,
32760
32788
  Length as Length302,
32761
- IsOptional as IsOptional27,
32789
+ IsOptional as IsOptional37,
32762
32790
  IsArray as IsArray200
32763
32791
  } from "class-validator";
32764
32792
 
@@ -32830,7 +32858,7 @@ __decorateClass([
32830
32858
 
32831
32859
  // src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
32832
32860
  import { Expose as Expose586, Transform as Transform66 } from "class-transformer";
32833
- import { IsEnum as IsEnum16, IsNotEmpty as IsNotEmpty423, IsNumber as IsNumber369, IsOptional as IsOptional26, IsString as IsString473, Length as Length299, Min as Min293 } from "class-validator";
32861
+ 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";
32834
32862
  var InventarioValDTO = class {
32835
32863
  Descripcion = "";
32836
32864
  LoteSAP = "";
@@ -32844,13 +32872,13 @@ var InventarioValDTO = class {
32844
32872
  };
32845
32873
  __decorateClass([
32846
32874
  IsString473({ message: "debe ser un texto" }),
32847
- IsOptional26(),
32875
+ IsOptional36(),
32848
32876
  Length299(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
32849
32877
  Expose586()
32850
32878
  ], InventarioValDTO.prototype, "Descripcion", 2);
32851
32879
  __decorateClass([
32852
32880
  IsString473({ message: "debe ser un texto" }),
32853
- IsOptional26(),
32881
+ IsOptional36(),
32854
32882
  Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
32855
32883
  Expose586()
32856
32884
  ], InventarioValDTO.prototype, "LoteSAP", 2);
@@ -32862,7 +32890,7 @@ __decorateClass([
32862
32890
  ], InventarioValDTO.prototype, "TipoInventario", 2);
32863
32891
  __decorateClass([
32864
32892
  IsString473({ message: "debe ser un texto" }),
32865
- IsOptional26(),
32893
+ IsOptional36(),
32866
32894
  Length299(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
32867
32895
  Expose586()
32868
32896
  ], InventarioValDTO.prototype, "CodigoSAP", 2);
@@ -32871,7 +32899,7 @@ __decorateClass([
32871
32899
  Transform66(({ value }) => value ? String(value) : value),
32872
32900
  Length299(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
32873
32901
  Expose586(),
32874
- IsOptional26()
32902
+ IsOptional36()
32875
32903
  ], InventarioValDTO.prototype, "NumeroSerie", 2);
32876
32904
  __decorateClass([
32877
32905
  IsNumber369({}, { message: "debe ser un numero" }),
@@ -32890,7 +32918,7 @@ __decorateClass([
32890
32918
  __decorateClass([
32891
32919
  IsString473({ message: "debe ser un texto" }),
32892
32920
  Length299(0, 50, { message: "debe tener una longitud de 0 a 50" }),
32893
- IsOptional26(),
32921
+ IsOptional36(),
32894
32922
  Expose586()
32895
32923
  ], InventarioValDTO.prototype, "ID_Recurso", 2);
32896
32924
 
@@ -33021,14 +33049,14 @@ __decorateClass([
33021
33049
  ], ValorizadaTOAENTITY.prototype, "Peticion", 2);
33022
33050
  __decorateClass([
33023
33051
  IsString476({ message: "debe ser un texto" }),
33024
- IsOptional27(),
33052
+ IsOptional37(),
33025
33053
  Length302(0, 50, { message: "debe tener una longitud de 0 a 50" }),
33026
33054
  Expose589()
33027
33055
  ], ValorizadaTOAENTITY.prototype, "AccessId", 2);
33028
33056
  __decorateClass([
33029
33057
  IsString476({ message: "debe ser un texto" }),
33030
33058
  Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
33031
- IsOptional27(),
33059
+ IsOptional37(),
33032
33060
  Expose589()
33033
33061
  ], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
33034
33062
  __decorateClass([
@@ -33053,7 +33081,7 @@ __decorateClass([
33053
33081
  ], ValorizadaTOAENTITY.prototype, "Estado", 2);
33054
33082
  __decorateClass([
33055
33083
  IsString476({ message: "debe ser un texto" }),
33056
- IsOptional27(),
33084
+ IsOptional37(),
33057
33085
  Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
33058
33086
  Expose589()
33059
33087
  ], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
@@ -33071,12 +33099,12 @@ __decorateClass([
33071
33099
  IsString476({ message: "debe ser un texto" }),
33072
33100
  Length302(0, 100, { message: "debe tener una longitud de 0 a 100" }),
33073
33101
  Expose589(),
33074
- IsOptional27()
33102
+ IsOptional37()
33075
33103
  ], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
33076
33104
  __decorateClass([
33077
33105
  IsString476({ message: "debe ser un texto" }),
33078
33106
  Length302(0, 250, { message: "debe tener una longitud de 0 a 250" }),
33079
- IsOptional27(),
33107
+ IsOptional37(),
33080
33108
  Expose589()
33081
33109
  ], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
33082
33110
  __decorateClass([
@@ -33192,7 +33220,7 @@ __decorateClass([
33192
33220
  ], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
33193
33221
  __decorateClass([
33194
33222
  IsString476({ message: "debe ser un texto" }),
33195
- IsOptional27(),
33223
+ IsOptional37(),
33196
33224
  Expose589()
33197
33225
  ], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
33198
33226
  __decorateClass([
@@ -33267,7 +33295,7 @@ __decorateClass([
33267
33295
 
33268
33296
  // src/operativa/procesos/liquidadas_toa/shared/index.ts
33269
33297
  import { Expose as Expose594, Type as Type386 } from "class-transformer";
33270
- 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 IsOptional28 } from "class-validator";
33298
+ 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";
33271
33299
 
33272
33300
  // src/operativa/procesos/liquidadas_toa/shared/dto/productos-servicios-dto.ts
33273
33301
  import { Expose as Expose590 } from "class-transformer";
@@ -33525,7 +33553,7 @@ __decorateClass([
33525
33553
  ], LiquidadaTOAENTITY.prototype, "Orden", 2);
33526
33554
  __decorateClass([
33527
33555
  IsString481({ message: "debe ser un texto" }),
33528
- IsOptional28(),
33556
+ IsOptional38(),
33529
33557
  Length307(0, 50, { message: "debe tener una longitud de 0 a 50" }),
33530
33558
  Expose594()
33531
33559
  ], LiquidadaTOAENTITY.prototype, "AccessId", 2);
@@ -36267,7 +36295,7 @@ __decorateClass([
36267
36295
 
36268
36296
  // src/operativa/procesos/toa_movistar/shared/dto/valorizacion-peru-toa-dto.ts
36269
36297
  import { Expose as Expose629 } from "class-transformer";
36270
- import { IsNumber as IsNumber394, IsOptional as IsOptional29, IsString as IsString512 } from "class-validator";
36298
+ import { IsNumber as IsNumber394, IsOptional as IsOptional39, IsString as IsString512 } from "class-validator";
36271
36299
  import "reflect-metadata";
36272
36300
  var ValorizacionPeruTOADTO = class {
36273
36301
  pbBase = 0;
@@ -36281,35 +36309,35 @@ var ValorizacionPeruTOADTO = class {
36281
36309
  __decorateClass([
36282
36310
  Expose629(),
36283
36311
  IsNumber394(),
36284
- IsOptional29()
36312
+ IsOptional39()
36285
36313
  ], ValorizacionPeruTOADTO.prototype, "pbBase", 2);
36286
36314
  __decorateClass([
36287
36315
  Expose629(),
36288
36316
  IsNumber394(),
36289
- IsOptional29()
36317
+ IsOptional39()
36290
36318
  ], ValorizacionPeruTOADTO.prototype, "pbAdicional", 2);
36291
36319
  __decorateClass([
36292
36320
  Expose629(),
36293
- IsOptional29()
36321
+ IsOptional39()
36294
36322
  ], ValorizacionPeruTOADTO.prototype, "pbByMaterial", 2);
36295
36323
  __decorateClass([
36296
36324
  Expose629(),
36297
- IsOptional29()
36325
+ IsOptional39()
36298
36326
  ], ValorizacionPeruTOADTO.prototype, "quantities", 2);
36299
36327
  __decorateClass([
36300
36328
  Expose629(),
36301
36329
  IsString512(),
36302
- IsOptional29()
36330
+ IsOptional39()
36303
36331
  ], ValorizacionPeruTOADTO.prototype, "TABLA", 2);
36304
36332
  __decorateClass([
36305
36333
  Expose629(),
36306
36334
  IsString512(),
36307
- IsOptional29()
36335
+ IsOptional39()
36308
36336
  ], ValorizacionPeruTOADTO.prototype, "Actividad", 2);
36309
36337
  __decorateClass([
36310
36338
  Expose629(),
36311
36339
  IsString512(),
36312
- IsOptional29()
36340
+ IsOptional39()
36313
36341
  ], ValorizacionPeruTOADTO.prototype, "PAQUETE", 2);
36314
36342
 
36315
36343
  // src/operativa/procesos/toa_movistar/shared/dto/estado-proceso-val-peru.ts
@@ -36355,7 +36383,7 @@ import "reflect-metadata";
36355
36383
 
36356
36384
  // src/operativa/procesos/toa_movistar_db/shared/dto/ajuste-reproceso-dto.ts
36357
36385
  import { Expose as Expose631, Type as Type400 } from "class-transformer";
36358
- import { IsDate as IsDate148, IsNumber as IsNumber395, IsOptional as IsOptional30, IsString as IsString514, ValidateNested as ValidateNested351 } from "class-validator";
36386
+ import { IsDate as IsDate148, IsNumber as IsNumber395, IsOptional as IsOptional40, IsString as IsString514, ValidateNested as ValidateNested351 } from "class-validator";
36359
36387
  var AjusteReprocesoDTO = class {
36360
36388
  PB;
36361
36389
  MO;
@@ -36371,58 +36399,58 @@ var AjusteReprocesoDTO = class {
36371
36399
  };
36372
36400
  __decorateClass([
36373
36401
  Expose631(),
36374
- IsOptional30(),
36402
+ IsOptional40(),
36375
36403
  IsNumber395()
36376
36404
  ], AjusteReprocesoDTO.prototype, "PB", 2);
36377
36405
  __decorateClass([
36378
36406
  Expose631(),
36379
- IsOptional30(),
36407
+ IsOptional40(),
36380
36408
  IsNumber395()
36381
36409
  ], AjusteReprocesoDTO.prototype, "MO", 2);
36382
36410
  __decorateClass([
36383
36411
  Expose631(),
36384
- IsOptional30(),
36412
+ IsOptional40(),
36385
36413
  IsNumber395()
36386
36414
  ], AjusteReprocesoDTO.prototype, "Gasto_EECC", 2);
36387
36415
  __decorateClass([
36388
36416
  Expose631(),
36389
- IsOptional30(),
36417
+ IsOptional40(),
36390
36418
  IsString514()
36391
36419
  ], AjusteReprocesoDTO.prototype, "tecnico", 2);
36392
36420
  __decorateClass([
36393
36421
  Expose631(),
36394
- IsOptional30(),
36422
+ IsOptional40(),
36395
36423
  IsString514()
36396
36424
  ], AjusteReprocesoDTO.prototype, "id_recurso", 2);
36397
36425
  __decorateClass([
36398
36426
  Expose631(),
36399
- IsOptional30(),
36427
+ IsOptional40(),
36400
36428
  ValidateNested351(),
36401
36429
  Type400(() => EECCDBTOADTO)
36402
36430
  ], AjusteReprocesoDTO.prototype, "EECC", 2);
36403
36431
  __decorateClass([
36404
36432
  Expose631(),
36405
- IsOptional30(),
36433
+ IsOptional40(),
36406
36434
  IsNumber395()
36407
36435
  ], AjusteReprocesoDTO.prototype, "accessid_origen", 2);
36408
36436
  __decorateClass([
36409
36437
  Expose631(),
36410
- IsOptional30(),
36438
+ IsOptional40(),
36411
36439
  IsString514()
36412
36440
  ], AjusteReprocesoDTO.prototype, "_id_orden_origen", 2);
36413
36441
  __decorateClass([
36414
36442
  Expose631(),
36415
- IsOptional30(),
36443
+ IsOptional40(),
36416
36444
  IsString514()
36417
36445
  ], AjusteReprocesoDTO.prototype, "numero_de_peticion", 2);
36418
36446
  __decorateClass([
36419
36447
  Expose631(),
36420
- IsOptional30(),
36448
+ IsOptional40(),
36421
36449
  IsNumber395()
36422
36450
  ], AjusteReprocesoDTO.prototype, "codigo_de_cliente", 2);
36423
36451
  __decorateClass([
36424
36452
  Expose631(),
36425
- IsOptional30(),
36453
+ IsOptional40(),
36426
36454
  IsDate148(),
36427
36455
  Type400(() => Date)
36428
36456
  ], AjusteReprocesoDTO.prototype, "fecha_origen", 2);
@@ -37520,7 +37548,7 @@ import { Expose as Expose648, Transform as Transform77, Type as Type405 } from "
37520
37548
 
37521
37549
  // src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
37522
37550
  import { Expose as Expose640, Transform as Transform73 } from "class-transformer";
37523
- import { IsDate as IsDate151, IsDefined as IsDefined176, IsNumber as IsNumber401, IsOptional as IsOptional32, IsString as IsString523 } from "class-validator";
37551
+ import { IsDate as IsDate151, IsDefined as IsDefined176, IsNumber as IsNumber401, IsOptional as IsOptional42, IsString as IsString523 } from "class-validator";
37524
37552
 
37525
37553
  // src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
37526
37554
  function formatDateOnnetFibra(date) {
@@ -37586,13 +37614,13 @@ __decorateClass([
37586
37614
  Expose640()
37587
37615
  ], BitacoraDeOrdenesDTO.prototype, "estado", 2);
37588
37616
  __decorateClass([
37589
- IsOptional32(),
37617
+ IsOptional42(),
37590
37618
  Transform73(({ value }) => value ? String(value) : ""),
37591
37619
  IsString523({ message: "El campo lt debe ser una cadena de texto" }),
37592
37620
  Expose640()
37593
37621
  ], BitacoraDeOrdenesDTO.prototype, "lt", 2);
37594
37622
  __decorateClass([
37595
- IsOptional32(),
37623
+ IsOptional42(),
37596
37624
  IsNumber401({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
37597
37625
  Transform73(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
37598
37626
  Expose640()
@@ -37603,7 +37631,7 @@ __decorateClass([
37603
37631
  Expose640()
37604
37632
  ], BitacoraDeOrdenesDTO.prototype, "contratista", 2);
37605
37633
  __decorateClass([
37606
- IsOptional32(),
37634
+ IsOptional42(),
37607
37635
  IsNumber401({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
37608
37636
  Transform73(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
37609
37637
  Expose640()
@@ -37639,13 +37667,13 @@ __decorateClass([
37639
37667
  Expose640()
37640
37668
  ], BitacoraDeOrdenesDTO.prototype, "impacto", 2);
37641
37669
  __decorateClass([
37642
- IsOptional32(),
37670
+ IsOptional42(),
37643
37671
  IsString523({ message: "El campo tecnologia debe ser una cadena de texto" }),
37644
37672
  Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
37645
37673
  Expose640()
37646
37674
  ], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
37647
37675
  __decorateClass([
37648
- IsOptional32(),
37676
+ IsOptional42(),
37649
37677
  IsString523({ message: "El campo olt debe ser una cadena de texto" }),
37650
37678
  Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
37651
37679
  Expose640()
@@ -37701,7 +37729,7 @@ __decorateClass([
37701
37729
  Expose640()
37702
37730
  ], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
37703
37731
  __decorateClass([
37704
- IsOptional32(),
37732
+ IsOptional42(),
37705
37733
  Transform73(({ value }) => formatDateOnnetFibra(value)),
37706
37734
  IsDate151({ message: "El campo fecha_instalacion debe ser FECHA" }),
37707
37735
  Expose640()
@@ -37722,30 +37750,30 @@ __decorateClass([
37722
37750
  Expose640()
37723
37751
  ], BitacoraDeOrdenesDTO.prototype, "tipo_contrato", 2);
37724
37752
  __decorateClass([
37725
- IsOptional32(),
37753
+ IsOptional42(),
37726
37754
  IsString523({ message: "El campo puerto_pon debe ser una cadena de texto" }),
37727
37755
  Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
37728
37756
  Expose640()
37729
37757
  ], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
37730
37758
  __decorateClass([
37731
- IsOptional32(),
37759
+ IsOptional42(),
37732
37760
  IsString523({ message: "El campo nombre_especialidad debe ser una cadena de texto" }),
37733
37761
  Expose640()
37734
37762
  ], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
37735
37763
  __decorateClass([
37736
- IsOptional32({ message: "El campo cliente es opcional" }),
37764
+ IsOptional42({ message: "El campo cliente es opcional" }),
37737
37765
  Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
37738
37766
  IsString523({ message: "El campo cliente debe ser una cadena de texto" }),
37739
37767
  Expose640()
37740
37768
  ], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
37741
37769
  __decorateClass([
37742
- IsOptional32({ message: "El campo comuna es opcional" }),
37770
+ IsOptional42({ message: "El campo comuna es opcional" }),
37743
37771
  Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
37744
37772
  IsString523({ message: "El campo comuna debe ser una cadena de texto" }),
37745
37773
  Expose640()
37746
37774
  ], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
37747
37775
  __decorateClass([
37748
- IsOptional32({ message: "El campo pep es opcional" }),
37776
+ IsOptional42({ message: "El campo pep es opcional" }),
37749
37777
  IsString523({ message: "El campo pep debe ser una cadena de texto" }),
37750
37778
  Transform73(({ value }) => typeof value !== "string" ? "" : String(value)),
37751
37779
  Expose640()
@@ -37755,38 +37783,38 @@ __decorateClass([
37755
37783
  Expose640()
37756
37784
  ], BitacoraDeOrdenesDTO.prototype, "observacion", 2);
37757
37785
  __decorateClass([
37758
- IsOptional32({ message: "El campo proyecto es opcional" }),
37786
+ IsOptional42({ message: "El campo proyecto es opcional" }),
37759
37787
  IsString523({ message: "El campo proyecto debe ser una cadena de texto" }),
37760
37788
  Expose640()
37761
37789
  ], BitacoraDeOrdenesDTO.prototype, "proyecto", 2);
37762
37790
  __decorateClass([
37763
- IsOptional32({ message: "El campo producto es opcional" }),
37791
+ IsOptional42({ message: "El campo producto es opcional" }),
37764
37792
  IsString523({ message: "El campo producto debe ser una cadena de texto" }),
37765
37793
  Expose640()
37766
37794
  ], BitacoraDeOrdenesDTO.prototype, "producto", 2);
37767
37795
  __decorateClass([
37768
- IsOptional32({ message: "El campo sub_tipo_orden es opcional" }),
37796
+ IsOptional42({ message: "El campo sub_tipo_orden es opcional" }),
37769
37797
  IsString523({ message: "El campo sub_tipo_orden debe ser una cadena de texto" }),
37770
37798
  Expose640()
37771
37799
  ], BitacoraDeOrdenesDTO.prototype, "sub_tipo_orden", 2);
37772
37800
  __decorateClass([
37773
- IsOptional32({ message: "El campo nombre_tecnico es opcional" }),
37801
+ IsOptional42({ message: "El campo nombre_tecnico es opcional" }),
37774
37802
  IsString523({ message: "El campo nombre_tecnico debe ser una cadena de texto" }),
37775
37803
  Expose640()
37776
37804
  ], BitacoraDeOrdenesDTO.prototype, "nombre_tecnico", 2);
37777
37805
  __decorateClass([
37778
- IsOptional32(),
37806
+ IsOptional42(),
37779
37807
  IsNumber401({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
37780
37808
  Transform73(({ value }) => isNaN(value) ? 0 : Number(value)),
37781
37809
  Expose640()
37782
37810
  ], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
37783
37811
  __decorateClass([
37784
- IsOptional32({ message: "El campo sintoma es opcional" }),
37812
+ IsOptional42({ message: "El campo sintoma es opcional" }),
37785
37813
  IsNumber401({}, { message: "El campo sintoma debe ser un n\xFAmero" }),
37786
37814
  Expose640()
37787
37815
  ], BitacoraDeOrdenesDTO.prototype, "sintoma", 2);
37788
37816
  __decorateClass([
37789
- IsOptional32({ message: "El campo mensaje_contingencia es opcional" }),
37817
+ IsOptional42({ message: "El campo mensaje_contingencia es opcional" }),
37790
37818
  IsString523({ message: "El campo mensaje_contingencia debe ser una cadena de texto" }),
37791
37819
  Expose640()
37792
37820
  ], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
@@ -37941,7 +37969,7 @@ import { IsArray as IsArray208, IsDefined as IsDefined182, IsString as IsString5
37941
37969
 
37942
37970
  // src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
37943
37971
  import { Expose as Expose643, Transform as Transform75, Type as Type403 } from "class-transformer";
37944
- import { IsDefined as IsDefined179, IsNumber as IsNumber404, IsOptional as IsOptional33, IsString as IsString526 } from "class-validator";
37972
+ import { IsDefined as IsDefined179, IsNumber as IsNumber404, IsOptional as IsOptional43, IsString as IsString526 } from "class-validator";
37945
37973
  var DetalleOrdenRealDTO = class {
37946
37974
  descripcion = "";
37947
37975
  tipo = "";
@@ -37988,7 +38016,7 @@ __decorateClass([
37988
38016
  Expose643()
37989
38017
  ], DetalleOrdenRealDTO.prototype, "id_orden_mantenimiento_real", 2);
37990
38018
  __decorateClass([
37991
- IsOptional33({ message: "El campo tecnico es requerido" }),
38019
+ IsOptional43({ message: "El campo tecnico es requerido" }),
37992
38020
  IsString526({ message: "El campo tecnico debe ser una cadena de texto" }),
37993
38021
  Transform75(({ value }) => typeof value !== "string" ? "" : String(value)),
37994
38022
  Expose643()
@@ -38003,14 +38031,14 @@ __decorateClass([
38003
38031
  Expose643()
38004
38032
  ], DetalleOrdenRealDTO.prototype, "cantidad", 2);
38005
38033
  __decorateClass([
38006
- IsOptional33({ message: "El campo contrato es opcional" }),
38034
+ IsOptional43({ message: "El campo contrato es opcional" }),
38007
38035
  IsString526({ message: "El campo contrato debe ser una cadena de texto" }),
38008
38036
  Transform75(({ value }) => typeof value !== "string" ? "" : String(value)),
38009
38037
  Expose643()
38010
38038
  ], DetalleOrdenRealDTO.prototype, "contrato", 2);
38011
38039
  __decorateClass([
38012
38040
  Type403(() => CodigoNombreDTO),
38013
- IsOptional33(),
38041
+ IsOptional43(),
38014
38042
  Transform75(({ value }) => value ?? new CodigoNombreDTO()),
38015
38043
  Expose643()
38016
38044
  ], DetalleOrdenRealDTO.prototype, "especialidad", 2);
@@ -41493,7 +41521,7 @@ __decorateClass([
41493
41521
 
41494
41522
  // src/operativa/procesos/tuves/shared/dto/ordenes_instalaciones_dto.ts
41495
41523
  import { Expose as Expose669, Type as Type421 } from "class-transformer";
41496
- import { IsDate as IsDate165, IsDefined as IsDefined204, IsNumber as IsNumber428, IsOptional as IsOptional35, IsString as IsString552 } from "class-validator";
41524
+ import { IsDate as IsDate165, IsDefined as IsDefined204, IsNumber as IsNumber428, IsOptional as IsOptional45, IsString as IsString552 } from "class-validator";
41497
41525
  var OrdenesInstalacionDTO = class {
41498
41526
  EMPRESA = "";
41499
41527
  FECHA_INGRESO = /* @__PURE__ */ new Date();
@@ -41682,25 +41710,25 @@ __decorateClass([
41682
41710
  __decorateClass([
41683
41711
  Expose669(),
41684
41712
  ForceString(),
41685
- IsOptional35(),
41713
+ IsOptional45(),
41686
41714
  IsString552()
41687
41715
  ], OrdenesInstalacionDTO.prototype, "TECCOD", 2);
41688
41716
  __decorateClass([
41689
41717
  Expose669(),
41690
41718
  ForceString(),
41691
- IsOptional35(),
41719
+ IsOptional45(),
41692
41720
  IsString552()
41693
41721
  ], OrdenesInstalacionDTO.prototype, "TECNICO", 2);
41694
41722
  __decorateClass([
41695
41723
  Expose669(),
41696
41724
  ForceString(),
41697
- IsOptional35(),
41725
+ IsOptional45(),
41698
41726
  IsString552()
41699
41727
  ], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
41700
41728
 
41701
41729
  // src/operativa/procesos/tuves/shared/dto/reclamos_distribuidor_dto.ts
41702
41730
  import { Expose as Expose670 } from "class-transformer";
41703
- import { IsDefined as IsDefined205, IsNumber as IsNumber429, IsOptional as IsOptional36, IsString as IsString553 } from "class-validator";
41731
+ import { IsDefined as IsDefined205, IsNumber as IsNumber429, IsOptional as IsOptional46, IsString as IsString553 } from "class-validator";
41704
41732
  var ReclamosDistribuidorDTO = class {
41705
41733
  FECHA = /* @__PURE__ */ new Date(0);
41706
41734
  PERMISOR = 0;
@@ -41858,7 +41886,7 @@ __decorateClass([
41858
41886
  __decorateClass([
41859
41887
  Expose670(),
41860
41888
  ForceString(),
41861
- IsOptional36(),
41889
+ IsOptional46(),
41862
41890
  IsString553()
41863
41891
  ], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
41864
41892
  __decorateClass([
@@ -42319,7 +42347,7 @@ __decorateClass([
42319
42347
  ], TuvesOrdEqFinalizadasDTO.prototype, "FECHA", 2);
42320
42348
 
42321
42349
  // src/operativa/procesos/tuves/shared/dto/tuves_ord_recl_mat_descargado_dto.ts
42322
- import { IsDate as IsDate168, IsDefined as IsDefined208, IsNumber as IsNumber432, IsOptional as IsOptional37, IsString as IsString556 } from "class-validator";
42350
+ import { IsDate as IsDate168, IsDefined as IsDefined208, IsNumber as IsNumber432, IsOptional as IsOptional47, IsString as IsString556 } from "class-validator";
42323
42351
  import { Expose as Expose673, Type as Type422 } from "class-transformer";
42324
42352
  var TUVESOrdReclMatDescargadoDTO = class {
42325
42353
  EMPRESA = "";
@@ -42509,19 +42537,19 @@ __decorateClass([
42509
42537
  __decorateClass([
42510
42538
  Expose673(),
42511
42539
  ForceString(),
42512
- IsOptional37(),
42540
+ IsOptional47(),
42513
42541
  IsString556()
42514
42542
  ], TUVESOrdReclMatDescargadoDTO.prototype, "TECCOD", 2);
42515
42543
  __decorateClass([
42516
42544
  Expose673(),
42517
42545
  ForceString(),
42518
- IsOptional37(),
42546
+ IsOptional47(),
42519
42547
  IsString556()
42520
42548
  ], TUVESOrdReclMatDescargadoDTO.prototype, "TECNICO", 2);
42521
42549
  __decorateClass([
42522
42550
  Expose673(),
42523
42551
  ForceString(),
42524
- IsOptional37(),
42552
+ IsOptional47(),
42525
42553
  IsString556()
42526
42554
  ], TUVESOrdReclMatDescargadoDTO.prototype, "FINALIZA_ONLINE", 2);
42527
42555
 
@@ -43440,7 +43468,7 @@ __decorateClass([
43440
43468
 
43441
43469
  // src/operativa/procesos/somacyl_order/shared/dto/valorizacion-somacyl-dto.ts
43442
43470
  import { Expose as Expose682 } from "class-transformer";
43443
- import { IsNumber as IsNumber440, IsOptional as IsOptional38 } from "class-validator";
43471
+ import { IsNumber as IsNumber440, IsOptional as IsOptional48 } from "class-validator";
43444
43472
  import "reflect-metadata";
43445
43473
  var ValorizacionSomacylDTO = class {
43446
43474
  pbBase = 0;
@@ -43449,12 +43477,12 @@ var ValorizacionSomacylDTO = class {
43449
43477
  __decorateClass([
43450
43478
  Expose682(),
43451
43479
  IsNumber440(),
43452
- IsOptional38()
43480
+ IsOptional48()
43453
43481
  ], ValorizacionSomacylDTO.prototype, "pbBase", 2);
43454
43482
  __decorateClass([
43455
43483
  Expose682(),
43456
43484
  IsNumber440(),
43457
- IsOptional38()
43485
+ IsOptional48()
43458
43486
  ], ValorizacionSomacylDTO.prototype, "pbAdicional", 2);
43459
43487
 
43460
43488
  // 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.271",
3
+ "version": "1.2.273",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",