sigo-entities 1.2.273 → 1.2.277
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 +63 -0
- package/dist/index.mjs +136 -73
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28535,6 +28535,8 @@ __decorateClass([
|
|
|
28535
28535
|
(0, import_class_transformer484.Expose)()
|
|
28536
28536
|
], AcceptedDto.prototype, "IdDate", 2);
|
|
28537
28537
|
__decorateClass([
|
|
28538
|
+
(0, import_class_validator483.IsOptional)(),
|
|
28539
|
+
(0, import_class_transformer484.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28538
28540
|
(0, import_class_validator483.IsDate)({ message: "debe ser una fecha" }),
|
|
28539
28541
|
(0, import_class_transformer484.Type)(() => Date),
|
|
28540
28542
|
(0, import_class_transformer484.Expose)()
|
|
@@ -28546,22 +28548,27 @@ __decorateClass([
|
|
|
28546
28548
|
(0, import_class_transformer484.Expose)()
|
|
28547
28549
|
], AcceptedDto.prototype, "IdUser", 2);
|
|
28548
28550
|
__decorateClass([
|
|
28551
|
+
(0, import_class_validator483.IsOptional)(),
|
|
28549
28552
|
(0, import_class_validator483.IsString)({ message: "debe ser texto" }),
|
|
28550
28553
|
(0, import_class_transformer484.Expose)()
|
|
28551
28554
|
], AcceptedDto.prototype, "User", 2);
|
|
28552
28555
|
__decorateClass([
|
|
28556
|
+
(0, import_class_validator483.IsOptional)(),
|
|
28553
28557
|
(0, import_class_validator483.IsString)({ message: "debe ser texto" }),
|
|
28554
28558
|
(0, import_class_transformer484.Expose)()
|
|
28555
28559
|
], AcceptedDto.prototype, "LastName", 2);
|
|
28556
28560
|
__decorateClass([
|
|
28561
|
+
(0, import_class_validator483.IsOptional)(),
|
|
28557
28562
|
(0, import_class_validator483.IsString)({ message: "debe ser texto" }),
|
|
28558
28563
|
(0, import_class_transformer484.Expose)()
|
|
28559
28564
|
], AcceptedDto.prototype, "Name", 2);
|
|
28560
28565
|
__decorateClass([
|
|
28566
|
+
(0, import_class_validator483.IsOptional)(),
|
|
28561
28567
|
(0, import_class_validator483.IsString)({ message: "debe ser texto" }),
|
|
28562
28568
|
(0, import_class_transformer484.Expose)()
|
|
28563
28569
|
], AcceptedDto.prototype, "Perfil", 2);
|
|
28564
28570
|
__decorateClass([
|
|
28571
|
+
(0, import_class_validator483.IsOptional)(),
|
|
28565
28572
|
(0, import_class_validator483.IsString)({ message: "debe ser texto" }),
|
|
28566
28573
|
(0, import_class_transformer484.Expose)()
|
|
28567
28574
|
], AcceptedDto.prototype, "FullName", 2);
|
|
@@ -28586,6 +28593,8 @@ __decorateClass([
|
|
|
28586
28593
|
(0, import_class_transformer485.Expose)()
|
|
28587
28594
|
], AlbaranDto.prototype, "IdDate", 2);
|
|
28588
28595
|
__decorateClass([
|
|
28596
|
+
(0, import_class_validator484.IsOptional)(),
|
|
28597
|
+
(0, import_class_transformer485.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28589
28598
|
(0, import_class_validator484.IsDate)({ message: "debe ser una fecha" }),
|
|
28590
28599
|
(0, import_class_transformer485.Type)(() => Date),
|
|
28591
28600
|
(0, import_class_transformer485.Expose)()
|
|
@@ -28597,22 +28606,27 @@ __decorateClass([
|
|
|
28597
28606
|
(0, import_class_transformer485.Expose)()
|
|
28598
28607
|
], AlbaranDto.prototype, "IdUser", 2);
|
|
28599
28608
|
__decorateClass([
|
|
28609
|
+
(0, import_class_validator484.IsOptional)(),
|
|
28600
28610
|
(0, import_class_validator484.IsString)({ message: "debe ser texto" }),
|
|
28601
28611
|
(0, import_class_transformer485.Expose)()
|
|
28602
28612
|
], AlbaranDto.prototype, "User", 2);
|
|
28603
28613
|
__decorateClass([
|
|
28614
|
+
(0, import_class_validator484.IsOptional)(),
|
|
28604
28615
|
(0, import_class_validator484.IsString)({ message: "debe ser texto" }),
|
|
28605
28616
|
(0, import_class_transformer485.Expose)()
|
|
28606
28617
|
], AlbaranDto.prototype, "LastName", 2);
|
|
28607
28618
|
__decorateClass([
|
|
28619
|
+
(0, import_class_validator484.IsOptional)(),
|
|
28608
28620
|
(0, import_class_validator484.IsString)({ message: "debe ser texto" }),
|
|
28609
28621
|
(0, import_class_transformer485.Expose)()
|
|
28610
28622
|
], AlbaranDto.prototype, "Name", 2);
|
|
28611
28623
|
__decorateClass([
|
|
28624
|
+
(0, import_class_validator484.IsOptional)(),
|
|
28612
28625
|
(0, import_class_validator484.IsString)({ message: "debe ser texto" }),
|
|
28613
28626
|
(0, import_class_transformer485.Expose)()
|
|
28614
28627
|
], AlbaranDto.prototype, "Perfil", 2);
|
|
28615
28628
|
__decorateClass([
|
|
28629
|
+
(0, import_class_validator484.IsOptional)(),
|
|
28616
28630
|
(0, import_class_validator484.IsString)({ message: "debe ser texto" }),
|
|
28617
28631
|
(0, import_class_transformer485.Expose)()
|
|
28618
28632
|
], AlbaranDto.prototype, "FullName", 2);
|
|
@@ -28637,6 +28651,8 @@ __decorateClass([
|
|
|
28637
28651
|
(0, import_class_transformer486.Expose)()
|
|
28638
28652
|
], ClosedDto.prototype, "IdDate", 2);
|
|
28639
28653
|
__decorateClass([
|
|
28654
|
+
(0, import_class_validator485.IsOptional)(),
|
|
28655
|
+
(0, import_class_transformer486.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28640
28656
|
(0, import_class_validator485.IsDate)({ message: "debe ser una fecha" }),
|
|
28641
28657
|
(0, import_class_transformer486.Type)(() => Date),
|
|
28642
28658
|
(0, import_class_transformer486.Expose)()
|
|
@@ -28648,22 +28664,27 @@ __decorateClass([
|
|
|
28648
28664
|
(0, import_class_transformer486.Expose)()
|
|
28649
28665
|
], ClosedDto.prototype, "IdUser", 2);
|
|
28650
28666
|
__decorateClass([
|
|
28667
|
+
(0, import_class_validator485.IsOptional)(),
|
|
28651
28668
|
(0, import_class_validator485.IsString)({ message: "debe ser texto" }),
|
|
28652
28669
|
(0, import_class_transformer486.Expose)()
|
|
28653
28670
|
], ClosedDto.prototype, "User", 2);
|
|
28654
28671
|
__decorateClass([
|
|
28672
|
+
(0, import_class_validator485.IsOptional)(),
|
|
28655
28673
|
(0, import_class_validator485.IsString)({ message: "debe ser texto" }),
|
|
28656
28674
|
(0, import_class_transformer486.Expose)()
|
|
28657
28675
|
], ClosedDto.prototype, "LastName", 2);
|
|
28658
28676
|
__decorateClass([
|
|
28677
|
+
(0, import_class_validator485.IsOptional)(),
|
|
28659
28678
|
(0, import_class_validator485.IsString)({ message: "debe ser texto" }),
|
|
28660
28679
|
(0, import_class_transformer486.Expose)()
|
|
28661
28680
|
], ClosedDto.prototype, "Name", 2);
|
|
28662
28681
|
__decorateClass([
|
|
28682
|
+
(0, import_class_validator485.IsOptional)(),
|
|
28663
28683
|
(0, import_class_validator485.IsString)({ message: "debe ser texto" }),
|
|
28664
28684
|
(0, import_class_transformer486.Expose)()
|
|
28665
28685
|
], ClosedDto.prototype, "Perfil", 2);
|
|
28666
28686
|
__decorateClass([
|
|
28687
|
+
(0, import_class_validator485.IsOptional)(),
|
|
28667
28688
|
(0, import_class_validator485.IsString)({ message: "debe ser texto" }),
|
|
28668
28689
|
(0, import_class_transformer486.Expose)()
|
|
28669
28690
|
], ClosedDto.prototype, "FullName", 2);
|
|
@@ -28688,6 +28709,8 @@ __decorateClass([
|
|
|
28688
28709
|
(0, import_class_transformer487.Expose)()
|
|
28689
28710
|
], EmisionDto.prototype, "IdDate", 2);
|
|
28690
28711
|
__decorateClass([
|
|
28712
|
+
(0, import_class_validator486.IsOptional)(),
|
|
28713
|
+
(0, import_class_transformer487.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28691
28714
|
(0, import_class_validator486.IsDate)({ message: "debe ser una fecha" }),
|
|
28692
28715
|
(0, import_class_transformer487.Type)(() => Date),
|
|
28693
28716
|
(0, import_class_transformer487.Expose)()
|
|
@@ -28699,22 +28722,27 @@ __decorateClass([
|
|
|
28699
28722
|
(0, import_class_transformer487.Expose)()
|
|
28700
28723
|
], EmisionDto.prototype, "IdUser", 2);
|
|
28701
28724
|
__decorateClass([
|
|
28725
|
+
(0, import_class_validator486.IsOptional)(),
|
|
28702
28726
|
(0, import_class_validator486.IsString)({ message: "debe ser texto" }),
|
|
28703
28727
|
(0, import_class_transformer487.Expose)()
|
|
28704
28728
|
], EmisionDto.prototype, "User", 2);
|
|
28705
28729
|
__decorateClass([
|
|
28730
|
+
(0, import_class_validator486.IsOptional)(),
|
|
28706
28731
|
(0, import_class_validator486.IsString)({ message: "debe ser texto" }),
|
|
28707
28732
|
(0, import_class_transformer487.Expose)()
|
|
28708
28733
|
], EmisionDto.prototype, "LastName", 2);
|
|
28709
28734
|
__decorateClass([
|
|
28735
|
+
(0, import_class_validator486.IsOptional)(),
|
|
28710
28736
|
(0, import_class_validator486.IsString)({ message: "debe ser texto" }),
|
|
28711
28737
|
(0, import_class_transformer487.Expose)()
|
|
28712
28738
|
], EmisionDto.prototype, "Name", 2);
|
|
28713
28739
|
__decorateClass([
|
|
28740
|
+
(0, import_class_validator486.IsOptional)(),
|
|
28714
28741
|
(0, import_class_validator486.IsString)({ message: "debe ser texto" }),
|
|
28715
28742
|
(0, import_class_transformer487.Expose)()
|
|
28716
28743
|
], EmisionDto.prototype, "Perfil", 2);
|
|
28717
28744
|
__decorateClass([
|
|
28745
|
+
(0, import_class_validator486.IsOptional)(),
|
|
28718
28746
|
(0, import_class_validator486.IsString)({ message: "debe ser texto" }),
|
|
28719
28747
|
(0, import_class_transformer487.Expose)()
|
|
28720
28748
|
], EmisionDto.prototype, "FullName", 2);
|
|
@@ -28742,6 +28770,8 @@ __decorateClass([
|
|
|
28742
28770
|
(0, import_class_transformer488.Expose)()
|
|
28743
28771
|
], FacturaDto.prototype, "IdDate", 2);
|
|
28744
28772
|
__decorateClass([
|
|
28773
|
+
(0, import_class_validator487.IsOptional)(),
|
|
28774
|
+
(0, import_class_transformer488.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28745
28775
|
(0, import_class_validator487.IsDate)({ message: "debe ser una fecha" }),
|
|
28746
28776
|
(0, import_class_transformer488.Type)(() => Date),
|
|
28747
28777
|
(0, import_class_transformer488.Expose)()
|
|
@@ -28753,22 +28783,27 @@ __decorateClass([
|
|
|
28753
28783
|
(0, import_class_transformer488.Expose)()
|
|
28754
28784
|
], FacturaDto.prototype, "IdUser", 2);
|
|
28755
28785
|
__decorateClass([
|
|
28786
|
+
(0, import_class_validator487.IsOptional)(),
|
|
28756
28787
|
(0, import_class_validator487.IsString)({ message: "debe ser texto" }),
|
|
28757
28788
|
(0, import_class_transformer488.Expose)()
|
|
28758
28789
|
], FacturaDto.prototype, "User", 2);
|
|
28759
28790
|
__decorateClass([
|
|
28791
|
+
(0, import_class_validator487.IsOptional)(),
|
|
28760
28792
|
(0, import_class_validator487.IsString)({ message: "debe ser texto" }),
|
|
28761
28793
|
(0, import_class_transformer488.Expose)()
|
|
28762
28794
|
], FacturaDto.prototype, "LastName", 2);
|
|
28763
28795
|
__decorateClass([
|
|
28796
|
+
(0, import_class_validator487.IsOptional)(),
|
|
28764
28797
|
(0, import_class_validator487.IsString)({ message: "debe ser texto" }),
|
|
28765
28798
|
(0, import_class_transformer488.Expose)()
|
|
28766
28799
|
], FacturaDto.prototype, "Name", 2);
|
|
28767
28800
|
__decorateClass([
|
|
28801
|
+
(0, import_class_validator487.IsOptional)(),
|
|
28768
28802
|
(0, import_class_validator487.IsString)({ message: "debe ser texto" }),
|
|
28769
28803
|
(0, import_class_transformer488.Expose)()
|
|
28770
28804
|
], FacturaDto.prototype, "Perfil", 2);
|
|
28771
28805
|
__decorateClass([
|
|
28806
|
+
(0, import_class_validator487.IsOptional)(),
|
|
28772
28807
|
(0, import_class_validator487.IsString)({ message: "debe ser texto" }),
|
|
28773
28808
|
(0, import_class_transformer488.Expose)()
|
|
28774
28809
|
], FacturaDto.prototype, "FullName", 2);
|
|
@@ -28796,6 +28831,8 @@ __decorateClass([
|
|
|
28796
28831
|
(0, import_class_transformer489.Expose)()
|
|
28797
28832
|
], OrdenDto.prototype, "IdDate", 2);
|
|
28798
28833
|
__decorateClass([
|
|
28834
|
+
(0, import_class_validator488.IsOptional)(),
|
|
28835
|
+
(0, import_class_transformer489.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28799
28836
|
(0, import_class_validator488.IsDate)({ message: "debe ser una fecha" }),
|
|
28800
28837
|
(0, import_class_transformer489.Type)(() => Date),
|
|
28801
28838
|
(0, import_class_transformer489.Expose)()
|
|
@@ -28807,22 +28844,27 @@ __decorateClass([
|
|
|
28807
28844
|
(0, import_class_transformer489.Expose)()
|
|
28808
28845
|
], OrdenDto.prototype, "IdUser", 2);
|
|
28809
28846
|
__decorateClass([
|
|
28847
|
+
(0, import_class_validator488.IsOptional)(),
|
|
28810
28848
|
(0, import_class_validator488.IsString)({ message: "debe ser texto" }),
|
|
28811
28849
|
(0, import_class_transformer489.Expose)()
|
|
28812
28850
|
], OrdenDto.prototype, "User", 2);
|
|
28813
28851
|
__decorateClass([
|
|
28852
|
+
(0, import_class_validator488.IsOptional)(),
|
|
28814
28853
|
(0, import_class_validator488.IsString)({ message: "debe ser texto" }),
|
|
28815
28854
|
(0, import_class_transformer489.Expose)()
|
|
28816
28855
|
], OrdenDto.prototype, "LastName", 2);
|
|
28817
28856
|
__decorateClass([
|
|
28857
|
+
(0, import_class_validator488.IsOptional)(),
|
|
28818
28858
|
(0, import_class_validator488.IsString)({ message: "debe ser texto" }),
|
|
28819
28859
|
(0, import_class_transformer489.Expose)()
|
|
28820
28860
|
], OrdenDto.prototype, "Name", 2);
|
|
28821
28861
|
__decorateClass([
|
|
28862
|
+
(0, import_class_validator488.IsOptional)(),
|
|
28822
28863
|
(0, import_class_validator488.IsString)({ message: "debe ser texto" }),
|
|
28823
28864
|
(0, import_class_transformer489.Expose)()
|
|
28824
28865
|
], OrdenDto.prototype, "Perfil", 2);
|
|
28825
28866
|
__decorateClass([
|
|
28867
|
+
(0, import_class_validator488.IsOptional)(),
|
|
28826
28868
|
(0, import_class_validator488.IsString)({ message: "debe ser texto" }),
|
|
28827
28869
|
(0, import_class_transformer489.Expose)()
|
|
28828
28870
|
], OrdenDto.prototype, "FullName", 2);
|
|
@@ -28847,6 +28889,8 @@ __decorateClass([
|
|
|
28847
28889
|
(0, import_class_transformer490.Expose)()
|
|
28848
28890
|
], PreAcceptedDto.prototype, "IdDate", 2);
|
|
28849
28891
|
__decorateClass([
|
|
28892
|
+
(0, import_class_validator489.IsOptional)(),
|
|
28893
|
+
(0, import_class_transformer490.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28850
28894
|
(0, import_class_validator489.IsDate)({ message: "debe ser una fecha" }),
|
|
28851
28895
|
(0, import_class_transformer490.Type)(() => Date),
|
|
28852
28896
|
(0, import_class_transformer490.Expose)()
|
|
@@ -28858,22 +28902,27 @@ __decorateClass([
|
|
|
28858
28902
|
(0, import_class_transformer490.Expose)()
|
|
28859
28903
|
], PreAcceptedDto.prototype, "IdUser", 2);
|
|
28860
28904
|
__decorateClass([
|
|
28905
|
+
(0, import_class_validator489.IsOptional)(),
|
|
28861
28906
|
(0, import_class_validator489.IsString)({ message: "debe ser texto" }),
|
|
28862
28907
|
(0, import_class_transformer490.Expose)()
|
|
28863
28908
|
], PreAcceptedDto.prototype, "User", 2);
|
|
28864
28909
|
__decorateClass([
|
|
28910
|
+
(0, import_class_validator489.IsOptional)(),
|
|
28865
28911
|
(0, import_class_validator489.IsString)({ message: "debe ser texto" }),
|
|
28866
28912
|
(0, import_class_transformer490.Expose)()
|
|
28867
28913
|
], PreAcceptedDto.prototype, "LastName", 2);
|
|
28868
28914
|
__decorateClass([
|
|
28915
|
+
(0, import_class_validator489.IsOptional)(),
|
|
28869
28916
|
(0, import_class_validator489.IsString)({ message: "debe ser texto" }),
|
|
28870
28917
|
(0, import_class_transformer490.Expose)()
|
|
28871
28918
|
], PreAcceptedDto.prototype, "Name", 2);
|
|
28872
28919
|
__decorateClass([
|
|
28920
|
+
(0, import_class_validator489.IsOptional)(),
|
|
28873
28921
|
(0, import_class_validator489.IsString)({ message: "debe ser texto" }),
|
|
28874
28922
|
(0, import_class_transformer490.Expose)()
|
|
28875
28923
|
], PreAcceptedDto.prototype, "Perfil", 2);
|
|
28876
28924
|
__decorateClass([
|
|
28925
|
+
(0, import_class_validator489.IsOptional)(),
|
|
28877
28926
|
(0, import_class_validator489.IsString)({ message: "debe ser texto" }),
|
|
28878
28927
|
(0, import_class_transformer490.Expose)()
|
|
28879
28928
|
], PreAcceptedDto.prototype, "FullName", 2);
|
|
@@ -28898,6 +28947,8 @@ __decorateClass([
|
|
|
28898
28947
|
(0, import_class_transformer491.Expose)()
|
|
28899
28948
|
], RegistryDto.prototype, "IdDate", 2);
|
|
28900
28949
|
__decorateClass([
|
|
28950
|
+
(0, import_class_validator490.IsOptional)(),
|
|
28951
|
+
(0, import_class_transformer491.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28901
28952
|
(0, import_class_validator490.IsDate)({ message: "debe ser una fecha" }),
|
|
28902
28953
|
(0, import_class_transformer491.Type)(() => Date),
|
|
28903
28954
|
(0, import_class_transformer491.Expose)()
|
|
@@ -28909,22 +28960,27 @@ __decorateClass([
|
|
|
28909
28960
|
(0, import_class_transformer491.Expose)()
|
|
28910
28961
|
], RegistryDto.prototype, "IdUser", 2);
|
|
28911
28962
|
__decorateClass([
|
|
28963
|
+
(0, import_class_validator490.IsOptional)(),
|
|
28912
28964
|
(0, import_class_validator490.IsString)({ message: "debe ser texto" }),
|
|
28913
28965
|
(0, import_class_transformer491.Expose)()
|
|
28914
28966
|
], RegistryDto.prototype, "User", 2);
|
|
28915
28967
|
__decorateClass([
|
|
28968
|
+
(0, import_class_validator490.IsOptional)(),
|
|
28916
28969
|
(0, import_class_validator490.IsString)({ message: "debe ser texto" }),
|
|
28917
28970
|
(0, import_class_transformer491.Expose)()
|
|
28918
28971
|
], RegistryDto.prototype, "LastName", 2);
|
|
28919
28972
|
__decorateClass([
|
|
28973
|
+
(0, import_class_validator490.IsOptional)(),
|
|
28920
28974
|
(0, import_class_validator490.IsString)({ message: "debe ser texto" }),
|
|
28921
28975
|
(0, import_class_transformer491.Expose)()
|
|
28922
28976
|
], RegistryDto.prototype, "Name", 2);
|
|
28923
28977
|
__decorateClass([
|
|
28978
|
+
(0, import_class_validator490.IsOptional)(),
|
|
28924
28979
|
(0, import_class_validator490.IsString)({ message: "debe ser texto" }),
|
|
28925
28980
|
(0, import_class_transformer491.Expose)()
|
|
28926
28981
|
], RegistryDto.prototype, "Perfil", 2);
|
|
28927
28982
|
__decorateClass([
|
|
28983
|
+
(0, import_class_validator490.IsOptional)(),
|
|
28928
28984
|
(0, import_class_validator490.IsString)({ message: "debe ser texto" }),
|
|
28929
28985
|
(0, import_class_transformer491.Expose)()
|
|
28930
28986
|
], RegistryDto.prototype, "FullName", 2);
|
|
@@ -28952,6 +29008,8 @@ __decorateClass([
|
|
|
28952
29008
|
(0, import_class_transformer492.Expose)()
|
|
28953
29009
|
], UpdateDto.prototype, "IdDate", 2);
|
|
28954
29010
|
__decorateClass([
|
|
29011
|
+
(0, import_class_validator491.IsOptional)(),
|
|
29012
|
+
(0, import_class_transformer492.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28955
29013
|
(0, import_class_validator491.IsDate)({ message: "debe ser una fecha" }),
|
|
28956
29014
|
(0, import_class_transformer492.Type)(() => Date),
|
|
28957
29015
|
(0, import_class_transformer492.Expose)()
|
|
@@ -28963,22 +29021,27 @@ __decorateClass([
|
|
|
28963
29021
|
(0, import_class_transformer492.Expose)()
|
|
28964
29022
|
], UpdateDto.prototype, "IdUser", 2);
|
|
28965
29023
|
__decorateClass([
|
|
29024
|
+
(0, import_class_validator491.IsOptional)(),
|
|
28966
29025
|
(0, import_class_validator491.IsString)({ message: "debe ser texto" }),
|
|
28967
29026
|
(0, import_class_transformer492.Expose)()
|
|
28968
29027
|
], UpdateDto.prototype, "User", 2);
|
|
28969
29028
|
__decorateClass([
|
|
29029
|
+
(0, import_class_validator491.IsOptional)(),
|
|
28970
29030
|
(0, import_class_validator491.IsString)({ message: "debe ser texto" }),
|
|
28971
29031
|
(0, import_class_transformer492.Expose)()
|
|
28972
29032
|
], UpdateDto.prototype, "LastName", 2);
|
|
28973
29033
|
__decorateClass([
|
|
29034
|
+
(0, import_class_validator491.IsOptional)(),
|
|
28974
29035
|
(0, import_class_validator491.IsString)({ message: "debe ser texto" }),
|
|
28975
29036
|
(0, import_class_transformer492.Expose)()
|
|
28976
29037
|
], UpdateDto.prototype, "Name", 2);
|
|
28977
29038
|
__decorateClass([
|
|
29039
|
+
(0, import_class_validator491.IsOptional)(),
|
|
28978
29040
|
(0, import_class_validator491.IsString)({ message: "debe ser texto" }),
|
|
28979
29041
|
(0, import_class_transformer492.Expose)()
|
|
28980
29042
|
], UpdateDto.prototype, "Perfil", 2);
|
|
28981
29043
|
__decorateClass([
|
|
29044
|
+
(0, import_class_validator491.IsOptional)(),
|
|
28982
29045
|
(0, import_class_validator491.IsString)({ message: "debe ser texto" }),
|
|
28983
29046
|
(0, import_class_transformer492.Expose)()
|
|
28984
29047
|
], UpdateDto.prototype, "FullName", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -27933,7 +27933,7 @@ __decorateClass([
|
|
|
27933
27933
|
], AprobacionDto.prototype, "Nivel", 2);
|
|
27934
27934
|
|
|
27935
27935
|
// src/logistica/procesos/navisionpreorden/shared/dto/accepted-dto.ts
|
|
27936
|
-
import { Expose as Expose480, Type as Type324 } from "class-transformer";
|
|
27936
|
+
import { Expose as Expose480, Type as Type324, Transform as Transform61 } from "class-transformer";
|
|
27937
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;
|
|
@@ -27952,6 +27952,8 @@ __decorateClass([
|
|
|
27952
27952
|
Expose480()
|
|
27953
27953
|
], AcceptedDto.prototype, "IdDate", 2);
|
|
27954
27954
|
__decorateClass([
|
|
27955
|
+
IsOptional21(),
|
|
27956
|
+
Transform61(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
27955
27957
|
IsDate119({ message: "debe ser una fecha" }),
|
|
27956
27958
|
Type324(() => Date),
|
|
27957
27959
|
Expose480()
|
|
@@ -27963,28 +27965,33 @@ __decorateClass([
|
|
|
27963
27965
|
Expose480()
|
|
27964
27966
|
], AcceptedDto.prototype, "IdUser", 2);
|
|
27965
27967
|
__decorateClass([
|
|
27968
|
+
IsOptional21(),
|
|
27966
27969
|
IsString375({ message: "debe ser texto" }),
|
|
27967
27970
|
Expose480()
|
|
27968
27971
|
], AcceptedDto.prototype, "User", 2);
|
|
27969
27972
|
__decorateClass([
|
|
27973
|
+
IsOptional21(),
|
|
27970
27974
|
IsString375({ message: "debe ser texto" }),
|
|
27971
27975
|
Expose480()
|
|
27972
27976
|
], AcceptedDto.prototype, "LastName", 2);
|
|
27973
27977
|
__decorateClass([
|
|
27978
|
+
IsOptional21(),
|
|
27974
27979
|
IsString375({ message: "debe ser texto" }),
|
|
27975
27980
|
Expose480()
|
|
27976
27981
|
], AcceptedDto.prototype, "Name", 2);
|
|
27977
27982
|
__decorateClass([
|
|
27983
|
+
IsOptional21(),
|
|
27978
27984
|
IsString375({ message: "debe ser texto" }),
|
|
27979
27985
|
Expose480()
|
|
27980
27986
|
], AcceptedDto.prototype, "Perfil", 2);
|
|
27981
27987
|
__decorateClass([
|
|
27988
|
+
IsOptional21(),
|
|
27982
27989
|
IsString375({ message: "debe ser texto" }),
|
|
27983
27990
|
Expose480()
|
|
27984
27991
|
], AcceptedDto.prototype, "FullName", 2);
|
|
27985
27992
|
|
|
27986
27993
|
// src/logistica/procesos/navisionpreorden/shared/dto/albaran-dto.ts
|
|
27987
|
-
import { Expose as Expose481, Type as Type325 } from "class-transformer";
|
|
27994
|
+
import { Expose as Expose481, Type as Type325, Transform as Transform62 } from "class-transformer";
|
|
27988
27995
|
import { IsDate as IsDate120, IsNumber as IsNumber321, IsOptional as IsOptional22, IsString as IsString376, Min as Min253 } from "class-validator";
|
|
27989
27996
|
var AlbaranDto = class {
|
|
27990
27997
|
IdDate = 0;
|
|
@@ -28003,6 +28010,8 @@ __decorateClass([
|
|
|
28003
28010
|
Expose481()
|
|
28004
28011
|
], AlbaranDto.prototype, "IdDate", 2);
|
|
28005
28012
|
__decorateClass([
|
|
28013
|
+
IsOptional22(),
|
|
28014
|
+
Transform62(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28006
28015
|
IsDate120({ message: "debe ser una fecha" }),
|
|
28007
28016
|
Type325(() => Date),
|
|
28008
28017
|
Expose481()
|
|
@@ -28014,28 +28023,33 @@ __decorateClass([
|
|
|
28014
28023
|
Expose481()
|
|
28015
28024
|
], AlbaranDto.prototype, "IdUser", 2);
|
|
28016
28025
|
__decorateClass([
|
|
28026
|
+
IsOptional22(),
|
|
28017
28027
|
IsString376({ message: "debe ser texto" }),
|
|
28018
28028
|
Expose481()
|
|
28019
28029
|
], AlbaranDto.prototype, "User", 2);
|
|
28020
28030
|
__decorateClass([
|
|
28031
|
+
IsOptional22(),
|
|
28021
28032
|
IsString376({ message: "debe ser texto" }),
|
|
28022
28033
|
Expose481()
|
|
28023
28034
|
], AlbaranDto.prototype, "LastName", 2);
|
|
28024
28035
|
__decorateClass([
|
|
28036
|
+
IsOptional22(),
|
|
28025
28037
|
IsString376({ message: "debe ser texto" }),
|
|
28026
28038
|
Expose481()
|
|
28027
28039
|
], AlbaranDto.prototype, "Name", 2);
|
|
28028
28040
|
__decorateClass([
|
|
28041
|
+
IsOptional22(),
|
|
28029
28042
|
IsString376({ message: "debe ser texto" }),
|
|
28030
28043
|
Expose481()
|
|
28031
28044
|
], AlbaranDto.prototype, "Perfil", 2);
|
|
28032
28045
|
__decorateClass([
|
|
28046
|
+
IsOptional22(),
|
|
28033
28047
|
IsString376({ message: "debe ser texto" }),
|
|
28034
28048
|
Expose481()
|
|
28035
28049
|
], AlbaranDto.prototype, "FullName", 2);
|
|
28036
28050
|
|
|
28037
28051
|
// src/logistica/procesos/navisionpreorden/shared/dto/closed-dto.ts
|
|
28038
|
-
import { Expose as Expose482, Type as Type326 } from "class-transformer";
|
|
28052
|
+
import { Expose as Expose482, Type as Type326, Transform as Transform63 } from "class-transformer";
|
|
28039
28053
|
import { IsDate as IsDate121, IsNumber as IsNumber322, IsOptional as IsOptional23, IsString as IsString377, Min as Min254 } from "class-validator";
|
|
28040
28054
|
var ClosedDto = class {
|
|
28041
28055
|
IdDate = 0;
|
|
@@ -28054,6 +28068,8 @@ __decorateClass([
|
|
|
28054
28068
|
Expose482()
|
|
28055
28069
|
], ClosedDto.prototype, "IdDate", 2);
|
|
28056
28070
|
__decorateClass([
|
|
28071
|
+
IsOptional23(),
|
|
28072
|
+
Transform63(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28057
28073
|
IsDate121({ message: "debe ser una fecha" }),
|
|
28058
28074
|
Type326(() => Date),
|
|
28059
28075
|
Expose482()
|
|
@@ -28065,28 +28081,33 @@ __decorateClass([
|
|
|
28065
28081
|
Expose482()
|
|
28066
28082
|
], ClosedDto.prototype, "IdUser", 2);
|
|
28067
28083
|
__decorateClass([
|
|
28084
|
+
IsOptional23(),
|
|
28068
28085
|
IsString377({ message: "debe ser texto" }),
|
|
28069
28086
|
Expose482()
|
|
28070
28087
|
], ClosedDto.prototype, "User", 2);
|
|
28071
28088
|
__decorateClass([
|
|
28089
|
+
IsOptional23(),
|
|
28072
28090
|
IsString377({ message: "debe ser texto" }),
|
|
28073
28091
|
Expose482()
|
|
28074
28092
|
], ClosedDto.prototype, "LastName", 2);
|
|
28075
28093
|
__decorateClass([
|
|
28094
|
+
IsOptional23(),
|
|
28076
28095
|
IsString377({ message: "debe ser texto" }),
|
|
28077
28096
|
Expose482()
|
|
28078
28097
|
], ClosedDto.prototype, "Name", 2);
|
|
28079
28098
|
__decorateClass([
|
|
28099
|
+
IsOptional23(),
|
|
28080
28100
|
IsString377({ message: "debe ser texto" }),
|
|
28081
28101
|
Expose482()
|
|
28082
28102
|
], ClosedDto.prototype, "Perfil", 2);
|
|
28083
28103
|
__decorateClass([
|
|
28104
|
+
IsOptional23(),
|
|
28084
28105
|
IsString377({ message: "debe ser texto" }),
|
|
28085
28106
|
Expose482()
|
|
28086
28107
|
], ClosedDto.prototype, "FullName", 2);
|
|
28087
28108
|
|
|
28088
28109
|
// src/logistica/procesos/navisionpreorden/shared/dto/emision-dto.ts
|
|
28089
|
-
import { Expose as Expose483, Type as Type327 } from "class-transformer";
|
|
28110
|
+
import { Expose as Expose483, Type as Type327, Transform as Transform64 } from "class-transformer";
|
|
28090
28111
|
import { IsDate as IsDate122, IsNumber as IsNumber323, IsOptional as IsOptional24, IsString as IsString378, Min as Min255 } from "class-validator";
|
|
28091
28112
|
var EmisionDto = class {
|
|
28092
28113
|
IdDate = 0;
|
|
@@ -28105,6 +28126,8 @@ __decorateClass([
|
|
|
28105
28126
|
Expose483()
|
|
28106
28127
|
], EmisionDto.prototype, "IdDate", 2);
|
|
28107
28128
|
__decorateClass([
|
|
28129
|
+
IsOptional24(),
|
|
28130
|
+
Transform64(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28108
28131
|
IsDate122({ message: "debe ser una fecha" }),
|
|
28109
28132
|
Type327(() => Date),
|
|
28110
28133
|
Expose483()
|
|
@@ -28116,22 +28139,27 @@ __decorateClass([
|
|
|
28116
28139
|
Expose483()
|
|
28117
28140
|
], EmisionDto.prototype, "IdUser", 2);
|
|
28118
28141
|
__decorateClass([
|
|
28142
|
+
IsOptional24(),
|
|
28119
28143
|
IsString378({ message: "debe ser texto" }),
|
|
28120
28144
|
Expose483()
|
|
28121
28145
|
], EmisionDto.prototype, "User", 2);
|
|
28122
28146
|
__decorateClass([
|
|
28147
|
+
IsOptional24(),
|
|
28123
28148
|
IsString378({ message: "debe ser texto" }),
|
|
28124
28149
|
Expose483()
|
|
28125
28150
|
], EmisionDto.prototype, "LastName", 2);
|
|
28126
28151
|
__decorateClass([
|
|
28152
|
+
IsOptional24(),
|
|
28127
28153
|
IsString378({ message: "debe ser texto" }),
|
|
28128
28154
|
Expose483()
|
|
28129
28155
|
], EmisionDto.prototype, "Name", 2);
|
|
28130
28156
|
__decorateClass([
|
|
28157
|
+
IsOptional24(),
|
|
28131
28158
|
IsString378({ message: "debe ser texto" }),
|
|
28132
28159
|
Expose483()
|
|
28133
28160
|
], EmisionDto.prototype, "Perfil", 2);
|
|
28134
28161
|
__decorateClass([
|
|
28162
|
+
IsOptional24(),
|
|
28135
28163
|
IsString378({ message: "debe ser texto" }),
|
|
28136
28164
|
Expose483()
|
|
28137
28165
|
], EmisionDto.prototype, "FullName", 2);
|
|
@@ -28140,7 +28168,7 @@ __decorateClass([
|
|
|
28140
28168
|
import { Expose as Expose489 } from "class-transformer";
|
|
28141
28169
|
|
|
28142
28170
|
// src/logistica/procesos/navisionpreorden/shared/dto/factura-dto.ts
|
|
28143
|
-
import { Expose as Expose484, Type as Type328 } from "class-transformer";
|
|
28171
|
+
import { Expose as Expose484, Type as Type328, Transform as Transform65 } from "class-transformer";
|
|
28144
28172
|
import { IsDate as IsDate123, IsNumber as IsNumber324, IsOptional as IsOptional25, IsString as IsString379, Min as Min256 } from "class-validator";
|
|
28145
28173
|
var FacturaDto = class {
|
|
28146
28174
|
IdDate = 0;
|
|
@@ -28159,6 +28187,8 @@ __decorateClass([
|
|
|
28159
28187
|
Expose484()
|
|
28160
28188
|
], FacturaDto.prototype, "IdDate", 2);
|
|
28161
28189
|
__decorateClass([
|
|
28190
|
+
IsOptional25(),
|
|
28191
|
+
Transform65(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28162
28192
|
IsDate123({ message: "debe ser una fecha" }),
|
|
28163
28193
|
Type328(() => Date),
|
|
28164
28194
|
Expose484()
|
|
@@ -28170,22 +28200,27 @@ __decorateClass([
|
|
|
28170
28200
|
Expose484()
|
|
28171
28201
|
], FacturaDto.prototype, "IdUser", 2);
|
|
28172
28202
|
__decorateClass([
|
|
28203
|
+
IsOptional25(),
|
|
28173
28204
|
IsString379({ message: "debe ser texto" }),
|
|
28174
28205
|
Expose484()
|
|
28175
28206
|
], FacturaDto.prototype, "User", 2);
|
|
28176
28207
|
__decorateClass([
|
|
28208
|
+
IsOptional25(),
|
|
28177
28209
|
IsString379({ message: "debe ser texto" }),
|
|
28178
28210
|
Expose484()
|
|
28179
28211
|
], FacturaDto.prototype, "LastName", 2);
|
|
28180
28212
|
__decorateClass([
|
|
28213
|
+
IsOptional25(),
|
|
28181
28214
|
IsString379({ message: "debe ser texto" }),
|
|
28182
28215
|
Expose484()
|
|
28183
28216
|
], FacturaDto.prototype, "Name", 2);
|
|
28184
28217
|
__decorateClass([
|
|
28218
|
+
IsOptional25(),
|
|
28185
28219
|
IsString379({ message: "debe ser texto" }),
|
|
28186
28220
|
Expose484()
|
|
28187
28221
|
], FacturaDto.prototype, "Perfil", 2);
|
|
28188
28222
|
__decorateClass([
|
|
28223
|
+
IsOptional25(),
|
|
28189
28224
|
IsString379({ message: "debe ser texto" }),
|
|
28190
28225
|
Expose484()
|
|
28191
28226
|
], FacturaDto.prototype, "FullName", 2);
|
|
@@ -28194,7 +28229,7 @@ __decorateClass([
|
|
|
28194
28229
|
import { ValidateNested as ValidateNested296 } from "class-validator";
|
|
28195
28230
|
|
|
28196
28231
|
// src/logistica/procesos/navisionpreorden/shared/dto/orden-dto.ts
|
|
28197
|
-
import { Expose as Expose485, Type as Type329 } from "class-transformer";
|
|
28232
|
+
import { Expose as Expose485, Type as Type329, Transform as Transform66 } from "class-transformer";
|
|
28198
28233
|
import { IsDate as IsDate124, IsNumber as IsNumber325, IsOptional as IsOptional26, IsString as IsString380, Min as Min257 } from "class-validator";
|
|
28199
28234
|
var OrdenDto = class {
|
|
28200
28235
|
IdDate = 0;
|
|
@@ -28213,6 +28248,8 @@ __decorateClass([
|
|
|
28213
28248
|
Expose485()
|
|
28214
28249
|
], OrdenDto.prototype, "IdDate", 2);
|
|
28215
28250
|
__decorateClass([
|
|
28251
|
+
IsOptional26(),
|
|
28252
|
+
Transform66(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28216
28253
|
IsDate124({ message: "debe ser una fecha" }),
|
|
28217
28254
|
Type329(() => Date),
|
|
28218
28255
|
Expose485()
|
|
@@ -28224,28 +28261,33 @@ __decorateClass([
|
|
|
28224
28261
|
Expose485()
|
|
28225
28262
|
], OrdenDto.prototype, "IdUser", 2);
|
|
28226
28263
|
__decorateClass([
|
|
28264
|
+
IsOptional26(),
|
|
28227
28265
|
IsString380({ message: "debe ser texto" }),
|
|
28228
28266
|
Expose485()
|
|
28229
28267
|
], OrdenDto.prototype, "User", 2);
|
|
28230
28268
|
__decorateClass([
|
|
28269
|
+
IsOptional26(),
|
|
28231
28270
|
IsString380({ message: "debe ser texto" }),
|
|
28232
28271
|
Expose485()
|
|
28233
28272
|
], OrdenDto.prototype, "LastName", 2);
|
|
28234
28273
|
__decorateClass([
|
|
28274
|
+
IsOptional26(),
|
|
28235
28275
|
IsString380({ message: "debe ser texto" }),
|
|
28236
28276
|
Expose485()
|
|
28237
28277
|
], OrdenDto.prototype, "Name", 2);
|
|
28238
28278
|
__decorateClass([
|
|
28279
|
+
IsOptional26(),
|
|
28239
28280
|
IsString380({ message: "debe ser texto" }),
|
|
28240
28281
|
Expose485()
|
|
28241
28282
|
], OrdenDto.prototype, "Perfil", 2);
|
|
28242
28283
|
__decorateClass([
|
|
28284
|
+
IsOptional26(),
|
|
28243
28285
|
IsString380({ message: "debe ser texto" }),
|
|
28244
28286
|
Expose485()
|
|
28245
28287
|
], OrdenDto.prototype, "FullName", 2);
|
|
28246
28288
|
|
|
28247
28289
|
// src/logistica/procesos/navisionpreorden/shared/dto/pre-accepted-dto.ts
|
|
28248
|
-
import { Expose as Expose486, Type as Type330 } from "class-transformer";
|
|
28290
|
+
import { Expose as Expose486, Type as Type330, Transform as Transform67 } from "class-transformer";
|
|
28249
28291
|
import { IsDate as IsDate125, IsNumber as IsNumber326, IsOptional as IsOptional27, IsString as IsString381, Min as Min258 } from "class-validator";
|
|
28250
28292
|
var PreAcceptedDto = class {
|
|
28251
28293
|
IdDate = 0;
|
|
@@ -28264,6 +28306,8 @@ __decorateClass([
|
|
|
28264
28306
|
Expose486()
|
|
28265
28307
|
], PreAcceptedDto.prototype, "IdDate", 2);
|
|
28266
28308
|
__decorateClass([
|
|
28309
|
+
IsOptional27(),
|
|
28310
|
+
Transform67(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28267
28311
|
IsDate125({ message: "debe ser una fecha" }),
|
|
28268
28312
|
Type330(() => Date),
|
|
28269
28313
|
Expose486()
|
|
@@ -28275,28 +28319,33 @@ __decorateClass([
|
|
|
28275
28319
|
Expose486()
|
|
28276
28320
|
], PreAcceptedDto.prototype, "IdUser", 2);
|
|
28277
28321
|
__decorateClass([
|
|
28322
|
+
IsOptional27(),
|
|
28278
28323
|
IsString381({ message: "debe ser texto" }),
|
|
28279
28324
|
Expose486()
|
|
28280
28325
|
], PreAcceptedDto.prototype, "User", 2);
|
|
28281
28326
|
__decorateClass([
|
|
28327
|
+
IsOptional27(),
|
|
28282
28328
|
IsString381({ message: "debe ser texto" }),
|
|
28283
28329
|
Expose486()
|
|
28284
28330
|
], PreAcceptedDto.prototype, "LastName", 2);
|
|
28285
28331
|
__decorateClass([
|
|
28332
|
+
IsOptional27(),
|
|
28286
28333
|
IsString381({ message: "debe ser texto" }),
|
|
28287
28334
|
Expose486()
|
|
28288
28335
|
], PreAcceptedDto.prototype, "Name", 2);
|
|
28289
28336
|
__decorateClass([
|
|
28337
|
+
IsOptional27(),
|
|
28290
28338
|
IsString381({ message: "debe ser texto" }),
|
|
28291
28339
|
Expose486()
|
|
28292
28340
|
], PreAcceptedDto.prototype, "Perfil", 2);
|
|
28293
28341
|
__decorateClass([
|
|
28342
|
+
IsOptional27(),
|
|
28294
28343
|
IsString381({ message: "debe ser texto" }),
|
|
28295
28344
|
Expose486()
|
|
28296
28345
|
], PreAcceptedDto.prototype, "FullName", 2);
|
|
28297
28346
|
|
|
28298
28347
|
// src/logistica/procesos/navisionpreorden/shared/dto/registry-dto.ts
|
|
28299
|
-
import { Expose as Expose487, Type as Type331 } from "class-transformer";
|
|
28348
|
+
import { Expose as Expose487, Type as Type331, Transform as Transform68 } from "class-transformer";
|
|
28300
28349
|
import { IsDate as IsDate126, IsNumber as IsNumber327, IsOptional as IsOptional28, IsString as IsString382, Min as Min259 } from "class-validator";
|
|
28301
28350
|
var RegistryDto = class {
|
|
28302
28351
|
IdDate = 0;
|
|
@@ -28315,6 +28364,8 @@ __decorateClass([
|
|
|
28315
28364
|
Expose487()
|
|
28316
28365
|
], RegistryDto.prototype, "IdDate", 2);
|
|
28317
28366
|
__decorateClass([
|
|
28367
|
+
IsOptional28(),
|
|
28368
|
+
Transform68(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28318
28369
|
IsDate126({ message: "debe ser una fecha" }),
|
|
28319
28370
|
Type331(() => Date),
|
|
28320
28371
|
Expose487()
|
|
@@ -28326,22 +28377,27 @@ __decorateClass([
|
|
|
28326
28377
|
Expose487()
|
|
28327
28378
|
], RegistryDto.prototype, "IdUser", 2);
|
|
28328
28379
|
__decorateClass([
|
|
28380
|
+
IsOptional28(),
|
|
28329
28381
|
IsString382({ message: "debe ser texto" }),
|
|
28330
28382
|
Expose487()
|
|
28331
28383
|
], RegistryDto.prototype, "User", 2);
|
|
28332
28384
|
__decorateClass([
|
|
28385
|
+
IsOptional28(),
|
|
28333
28386
|
IsString382({ message: "debe ser texto" }),
|
|
28334
28387
|
Expose487()
|
|
28335
28388
|
], RegistryDto.prototype, "LastName", 2);
|
|
28336
28389
|
__decorateClass([
|
|
28390
|
+
IsOptional28(),
|
|
28337
28391
|
IsString382({ message: "debe ser texto" }),
|
|
28338
28392
|
Expose487()
|
|
28339
28393
|
], RegistryDto.prototype, "Name", 2);
|
|
28340
28394
|
__decorateClass([
|
|
28395
|
+
IsOptional28(),
|
|
28341
28396
|
IsString382({ message: "debe ser texto" }),
|
|
28342
28397
|
Expose487()
|
|
28343
28398
|
], RegistryDto.prototype, "Perfil", 2);
|
|
28344
28399
|
__decorateClass([
|
|
28400
|
+
IsOptional28(),
|
|
28345
28401
|
IsString382({ message: "debe ser texto" }),
|
|
28346
28402
|
Expose487()
|
|
28347
28403
|
], RegistryDto.prototype, "FullName", 2);
|
|
@@ -28350,7 +28406,7 @@ __decorateClass([
|
|
|
28350
28406
|
import { Type as Type333 } from "class-transformer";
|
|
28351
28407
|
|
|
28352
28408
|
// src/logistica/procesos/navisionpreorden/shared/dto/update-dto.ts
|
|
28353
|
-
import { Expose as Expose488, Type as Type332 } from "class-transformer";
|
|
28409
|
+
import { Expose as Expose488, Type as Type332, Transform as Transform69 } from "class-transformer";
|
|
28354
28410
|
import { IsDate as IsDate127, IsNumber as IsNumber328, IsOptional as IsOptional29, IsString as IsString383, Min as Min260 } from "class-validator";
|
|
28355
28411
|
var UpdateDto = class {
|
|
28356
28412
|
IdDate = 0;
|
|
@@ -28369,6 +28425,8 @@ __decorateClass([
|
|
|
28369
28425
|
Expose488()
|
|
28370
28426
|
], UpdateDto.prototype, "IdDate", 2);
|
|
28371
28427
|
__decorateClass([
|
|
28428
|
+
IsOptional29(),
|
|
28429
|
+
Transform69(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
28372
28430
|
IsDate127({ message: "debe ser una fecha" }),
|
|
28373
28431
|
Type332(() => Date),
|
|
28374
28432
|
Expose488()
|
|
@@ -28380,22 +28438,27 @@ __decorateClass([
|
|
|
28380
28438
|
Expose488()
|
|
28381
28439
|
], UpdateDto.prototype, "IdUser", 2);
|
|
28382
28440
|
__decorateClass([
|
|
28441
|
+
IsOptional29(),
|
|
28383
28442
|
IsString383({ message: "debe ser texto" }),
|
|
28384
28443
|
Expose488()
|
|
28385
28444
|
], UpdateDto.prototype, "User", 2);
|
|
28386
28445
|
__decorateClass([
|
|
28446
|
+
IsOptional29(),
|
|
28387
28447
|
IsString383({ message: "debe ser texto" }),
|
|
28388
28448
|
Expose488()
|
|
28389
28449
|
], UpdateDto.prototype, "LastName", 2);
|
|
28390
28450
|
__decorateClass([
|
|
28451
|
+
IsOptional29(),
|
|
28391
28452
|
IsString383({ message: "debe ser texto" }),
|
|
28392
28453
|
Expose488()
|
|
28393
28454
|
], UpdateDto.prototype, "Name", 2);
|
|
28394
28455
|
__decorateClass([
|
|
28456
|
+
IsOptional29(),
|
|
28395
28457
|
IsString383({ message: "debe ser texto" }),
|
|
28396
28458
|
Expose488()
|
|
28397
28459
|
], UpdateDto.prototype, "Perfil", 2);
|
|
28398
28460
|
__decorateClass([
|
|
28461
|
+
IsOptional29(),
|
|
28399
28462
|
IsString383({ message: "debe ser texto" }),
|
|
28400
28463
|
Expose488()
|
|
28401
28464
|
], UpdateDto.prototype, "FullName", 2);
|
|
@@ -30761,7 +30824,7 @@ __decorateClass([
|
|
|
30761
30824
|
], RecursosPersonalDTO.prototype, "InicioActividad", 2);
|
|
30762
30825
|
|
|
30763
30826
|
// src/configuracion/personal/shared/index.ts
|
|
30764
|
-
import { Expose as Expose549, Transform as
|
|
30827
|
+
import { Expose as Expose549, Transform as Transform70, Type as Type361 } from "class-transformer";
|
|
30765
30828
|
import {
|
|
30766
30829
|
ArrayNotEmpty as ArrayNotEmpty5,
|
|
30767
30830
|
IsArray as IsArray190,
|
|
@@ -30864,7 +30927,7 @@ __decorateClass([
|
|
|
30864
30927
|
ValidateNested322()
|
|
30865
30928
|
], PersonalENTITY.prototype, "TipoDocumento", 2);
|
|
30866
30929
|
__decorateClass([
|
|
30867
|
-
|
|
30930
|
+
Transform70(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
30868
30931
|
IsString437({ message: "debe ser un texto" }),
|
|
30869
30932
|
IsNotEmpty394({ message: "es requerido" }),
|
|
30870
30933
|
Length267(1, 41, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
@@ -31917,7 +31980,7 @@ __decorateClass([
|
|
|
31917
31980
|
], ContratistasDTO.prototype, "Estado", 2);
|
|
31918
31981
|
|
|
31919
31982
|
// src/configuracion/usuarios/shared/index.ts
|
|
31920
|
-
import { Expose as Expose571, Transform as
|
|
31983
|
+
import { Expose as Expose571, Transform as Transform71, Type as Type376 } from "class-transformer";
|
|
31921
31984
|
import { IsArray as IsArray197, IsBoolean as IsBoolean54, IsNotEmpty as IsNotEmpty413, IsNumber as IsNumber361, IsString as IsString458, Length as Length287, Min as Min286, ValidateNested as ValidateNested332, IsEmail as IsEmail3, IsEnum as IsEnum12 } from "class-validator";
|
|
31922
31985
|
var UsuarioENTITY = class {
|
|
31923
31986
|
IdUsuario = 0;
|
|
@@ -31995,7 +32058,7 @@ __decorateClass([
|
|
|
31995
32058
|
ValidateNested332()
|
|
31996
32059
|
], UsuarioENTITY.prototype, "TipoDocumento", 2);
|
|
31997
32060
|
__decorateClass([
|
|
31998
|
-
|
|
32061
|
+
Transform71(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
31999
32062
|
IsString458({ message: "debe ser un texto" }),
|
|
32000
32063
|
IsNotEmpty413({ message: "es requerido" }),
|
|
32001
32064
|
Length287(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
|
|
@@ -32145,7 +32208,7 @@ __decorateClass([
|
|
|
32145
32208
|
], UsuarioENTITY.prototype, "Contratistas", 2);
|
|
32146
32209
|
|
|
32147
32210
|
// src/configuracion/tipo opcion sistema/shared/index.ts
|
|
32148
|
-
import { Expose as Expose572, Transform as
|
|
32211
|
+
import { Expose as Expose572, Transform as Transform72, Type as Type377 } from "class-transformer";
|
|
32149
32212
|
import { IsDefined as IsDefined154, IsNumber as IsNumber362, IsString as IsString459, Length as Length288, Min as Min287, ValidateNested as ValidateNested333 } from "class-validator";
|
|
32150
32213
|
var TipoOpcionSistemaENTITY = class {
|
|
32151
32214
|
IdTipoOpcion = 0;
|
|
@@ -32174,7 +32237,7 @@ __decorateClass([
|
|
|
32174
32237
|
], TipoOpcionSistemaENTITY.prototype, "Descripcion", 2);
|
|
32175
32238
|
__decorateClass([
|
|
32176
32239
|
IsDefined154({ message: "El campo Padre es obligatorio" }),
|
|
32177
|
-
|
|
32240
|
+
Transform72(({ value }) => Number(value)),
|
|
32178
32241
|
Expose572(),
|
|
32179
32242
|
IsNumber362({}, { message: "debe ser un numero" }),
|
|
32180
32243
|
Min287(0, { message: "el valor m\xEDnimo es 0" })
|
|
@@ -32273,7 +32336,7 @@ __decorateClass([
|
|
|
32273
32336
|
import { IsDate as IsDate138, IsEnum as IsEnum14, IsNotEmpty as IsNotEmpty417, IsString as IsString463, Length as Length292, ValidateNested as ValidateNested335 } from "class-validator";
|
|
32274
32337
|
|
|
32275
32338
|
// src/configuracion/notificaciones/shared/dto/data-adicional-dto.ts
|
|
32276
|
-
import { Expose as Expose575, Transform as
|
|
32339
|
+
import { Expose as Expose575, Transform as Transform73 } from "class-transformer";
|
|
32277
32340
|
import { IsDate as IsDate137, IsEnum as IsEnum13, IsNotEmpty as IsNotEmpty416, IsString as IsString462, Length as Length291 } from "class-validator";
|
|
32278
32341
|
var OperacionDataAdicional = /* @__PURE__ */ ((OperacionDataAdicional2) => {
|
|
32279
32342
|
OperacionDataAdicional2["CREAR"] = "crear";
|
|
@@ -32304,7 +32367,7 @@ __decorateClass([
|
|
|
32304
32367
|
Expose575()
|
|
32305
32368
|
], DataAdicionalDTO.prototype, "operacion", 2);
|
|
32306
32369
|
__decorateClass([
|
|
32307
|
-
|
|
32370
|
+
Transform73(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
32308
32371
|
IsDate137({ message: "debe ser una fecha" }),
|
|
32309
32372
|
IsNotEmpty416({ message: "es requerido" }),
|
|
32310
32373
|
Expose575()
|
|
@@ -32316,7 +32379,7 @@ __decorateClass([
|
|
|
32316
32379
|
], DataAdicionalDTO.prototype, "localName", 2);
|
|
32317
32380
|
|
|
32318
32381
|
// src/configuracion/notificaciones/shared/index.ts
|
|
32319
|
-
import { Expose as Expose576, Transform as
|
|
32382
|
+
import { Expose as Expose576, Transform as Transform74, Type as Type379 } from "class-transformer";
|
|
32320
32383
|
var TipoNotificacion = /* @__PURE__ */ ((TipoNotificacion2) => {
|
|
32321
32384
|
TipoNotificacion2["INFO"] = "info";
|
|
32322
32385
|
TipoNotificacion2["ERROR"] = "error";
|
|
@@ -32359,7 +32422,7 @@ __decorateClass([
|
|
|
32359
32422
|
Expose576()
|
|
32360
32423
|
], NotificacionesENTITY.prototype, "titulo", 2);
|
|
32361
32424
|
__decorateClass([
|
|
32362
|
-
|
|
32425
|
+
Transform74(({ value }) => typeof value === "string" ? value.substring(0, 400) : value),
|
|
32363
32426
|
IsString463({ message: "debe ser un texto" }),
|
|
32364
32427
|
Length292(1, 400, { message: "debe tener entre 1 y 400 caracteres" }),
|
|
32365
32428
|
Expose576()
|
|
@@ -32381,13 +32444,13 @@ __decorateClass([
|
|
|
32381
32444
|
ValidateNested335()
|
|
32382
32445
|
], NotificacionesENTITY.prototype, "dataAdicional", 2);
|
|
32383
32446
|
__decorateClass([
|
|
32384
|
-
|
|
32447
|
+
Transform74(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
32385
32448
|
IsDate138({ message: "debe ser una fecha" }),
|
|
32386
32449
|
IsNotEmpty417({ message: "es requerido" }),
|
|
32387
32450
|
Expose576()
|
|
32388
32451
|
], NotificacionesENTITY.prototype, "fechaCreacion", 2);
|
|
32389
32452
|
__decorateClass([
|
|
32390
|
-
|
|
32453
|
+
Transform74(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
32391
32454
|
IsDate138({ message: "debe ser una fecha" }),
|
|
32392
32455
|
IsNotEmpty417({ message: "es requerido" }),
|
|
32393
32456
|
Expose576()
|
|
@@ -32857,7 +32920,7 @@ __decorateClass([
|
|
|
32857
32920
|
], EmpresaValDTO.prototype, "TipoEmpresa", 2);
|
|
32858
32921
|
|
|
32859
32922
|
// src/operativa/procesos/valorizadas_toa/shared/dto/inventario-val-dto.ts
|
|
32860
|
-
import { Expose as Expose586, Transform as
|
|
32923
|
+
import { Expose as Expose586, Transform as Transform75 } from "class-transformer";
|
|
32861
32924
|
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";
|
|
32862
32925
|
var InventarioValDTO = class {
|
|
32863
32926
|
Descripcion = "";
|
|
@@ -32896,7 +32959,7 @@ __decorateClass([
|
|
|
32896
32959
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
32897
32960
|
__decorateClass([
|
|
32898
32961
|
IsString473({ message: "debe ser un texto" }),
|
|
32899
|
-
|
|
32962
|
+
Transform75(({ value }) => value ? String(value) : value),
|
|
32900
32963
|
Length299(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
32901
32964
|
Expose586(),
|
|
32902
32965
|
IsOptional36()
|
|
@@ -33338,7 +33401,7 @@ __decorateClass([
|
|
|
33338
33401
|
], ProductosServiciosLiqDTO.prototype, "Cantidad", 2);
|
|
33339
33402
|
|
|
33340
33403
|
// src/operativa/procesos/liquidadas_toa/shared/dto/inventario-liq-dto.ts
|
|
33341
|
-
import { Expose as Expose591, Transform as
|
|
33404
|
+
import { Expose as Expose591, Transform as Transform76 } from "class-transformer";
|
|
33342
33405
|
import { IsEnum as IsEnum17, IsNotEmpty as IsNotEmpty428, IsNumber as IsNumber374, IsString as IsString478, Length as Length304, Min as Min298 } from "class-validator";
|
|
33343
33406
|
var InventarioLiqDTO = class {
|
|
33344
33407
|
Descripcion = "";
|
|
@@ -33375,7 +33438,7 @@ __decorateClass([
|
|
|
33375
33438
|
], InventarioLiqDTO.prototype, "CodigoSAP", 2);
|
|
33376
33439
|
__decorateClass([
|
|
33377
33440
|
IsString478({ message: "debe ser un texto" }),
|
|
33378
|
-
|
|
33441
|
+
Transform76(({ value }) => value ? String(value) : value),
|
|
33379
33442
|
Length304(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
33380
33443
|
Expose591()
|
|
33381
33444
|
], InventarioLiqDTO.prototype, "NumeroSerie", 2);
|
|
@@ -34816,7 +34879,7 @@ var ISheetsJsonChileTdC = class {
|
|
|
34816
34879
|
};
|
|
34817
34880
|
|
|
34818
34881
|
// src/operativa/procesos/toa_claro/shared/index.ts
|
|
34819
|
-
import { Expose as Expose620, Transform as
|
|
34882
|
+
import { Expose as Expose620, Transform as Transform78, Type as Type398 } from "class-transformer";
|
|
34820
34883
|
import { IsNotEmpty as IsNotEmpty443, IsNumber as IsNumber387, IsString as IsString504, Length as Length328, Min as Min308, IsDate as IsDate146, ValidateNested as ValidateNested349, IsEnum as IsEnum19, IsDefined as IsDefined160, IsArray as IsArray204, IsUUID as IsUUID2 } from "class-validator";
|
|
34821
34884
|
|
|
34822
34885
|
// src/operativa/procesos/toa_claro/shared/dto/direccion toa dto.ts
|
|
@@ -35145,7 +35208,7 @@ __decorateClass([
|
|
|
35145
35208
|
Expose620()
|
|
35146
35209
|
], ToaClaroENTITY.prototype, "_id", 2);
|
|
35147
35210
|
__decorateClass([
|
|
35148
|
-
|
|
35211
|
+
Transform78(({ value }) => "TOA_CLARO" /* TOA_CLARO */),
|
|
35149
35212
|
IsEnum19(SistemaRecurso, { message: "debe ser un valor v\xE1lido de enum SistemaRecurso" }),
|
|
35150
35213
|
Expose620()
|
|
35151
35214
|
], ToaClaroENTITY.prototype, "Sistema", 2);
|
|
@@ -35482,7 +35545,7 @@ import { IsArray as IsArray205, IsDefined as IsDefined163, IsString as IsString5
|
|
|
35482
35545
|
import { Expose as Expose623, Type as Type399 } from "class-transformer";
|
|
35483
35546
|
|
|
35484
35547
|
// src/operativa/procesos/toa_claro/data_scraper/dto/items-orden-scraper-claro-vtr-dto.ts
|
|
35485
|
-
import { Expose as Expose621, Transform as
|
|
35548
|
+
import { Expose as Expose621, Transform as Transform79 } from "class-transformer";
|
|
35486
35549
|
import { IsDefined as IsDefined161, IsNumber as IsNumber388, IsString as IsString505 } from "class-validator";
|
|
35487
35550
|
var ItemsOrdenScraperClaroVTRDTO = class {
|
|
35488
35551
|
id = "";
|
|
@@ -35507,7 +35570,7 @@ __decorateClass([
|
|
|
35507
35570
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "accion", 2);
|
|
35508
35571
|
__decorateClass([
|
|
35509
35572
|
Expose621(),
|
|
35510
|
-
|
|
35573
|
+
Transform79(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
35511
35574
|
IsDefined161({ message: "El campo OCSIdCompra es requerido" }),
|
|
35512
35575
|
IsString505({ message: "El campo OCSIdCompra debe ser una cadena de texto" })
|
|
35513
35576
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "OCSIdCompra", 2);
|
|
@@ -35527,7 +35590,7 @@ __decorateClass([
|
|
|
35527
35590
|
IsNumber388({}, { message: "El campo cantidad debe ser un n\xFAmero" })
|
|
35528
35591
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "cantidad", 2);
|
|
35529
35592
|
__decorateClass([
|
|
35530
|
-
|
|
35593
|
+
Transform79(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
35531
35594
|
Expose621(),
|
|
35532
35595
|
IsDefined161({ message: "El campo ServiceId es requerido" }),
|
|
35533
35596
|
IsString505({ message: "El campo ServiceId debe ser una cadena de texto" })
|
|
@@ -35538,7 +35601,7 @@ __decorateClass([
|
|
|
35538
35601
|
IsString505({ message: "El campo estado debe ser una cadena de texto" })
|
|
35539
35602
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "estado", 2);
|
|
35540
35603
|
__decorateClass([
|
|
35541
|
-
|
|
35604
|
+
Transform79(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
35542
35605
|
Expose621(),
|
|
35543
35606
|
IsDefined161({ message: "El campo serial es requerido" }),
|
|
35544
35607
|
IsString505({ message: "El campo serial debe ser una cadena de texto" })
|
|
@@ -36368,7 +36431,7 @@ __decorateClass([
|
|
|
36368
36431
|
], EstadoProcesoValPeruDTO.prototype, "Fecha", 2);
|
|
36369
36432
|
|
|
36370
36433
|
// src/operativa/procesos/toa_movistar_db/shared/index.ts
|
|
36371
|
-
import { Expose as Expose638, Transform as
|
|
36434
|
+
import { Expose as Expose638, Transform as Transform80, Type as Type401 } from "class-transformer";
|
|
36372
36435
|
import {
|
|
36373
36436
|
IsDefined as IsDefined174,
|
|
36374
36437
|
IsString as IsString521,
|
|
@@ -37079,7 +37142,7 @@ __decorateClass([
|
|
|
37079
37142
|
], Peru9112TOAENTITYDB.prototype, "EECC", 2);
|
|
37080
37143
|
__decorateClass([
|
|
37081
37144
|
Expose638(),
|
|
37082
|
-
|
|
37145
|
+
Transform80(({ value }) => {
|
|
37083
37146
|
if (!value || Object.keys(value).length === 0) {
|
|
37084
37147
|
return {};
|
|
37085
37148
|
}
|
|
@@ -37093,7 +37156,7 @@ __decorateClass([
|
|
|
37093
37156
|
], Peru9112TOAENTITYDB.prototype, "AjusteReproceso", 2);
|
|
37094
37157
|
__decorateClass([
|
|
37095
37158
|
Expose638(),
|
|
37096
|
-
|
|
37159
|
+
Transform80(({ value }) => {
|
|
37097
37160
|
if (!value || Object.keys(value).length === 0) {
|
|
37098
37161
|
return {};
|
|
37099
37162
|
}
|
|
@@ -37544,10 +37607,10 @@ __decorateClass([
|
|
|
37544
37607
|
], Peru9112TOAENTITY.prototype, "EstadoProceso", 2);
|
|
37545
37608
|
|
|
37546
37609
|
// src/operativa/procesos/onnet_fibra/shared/index.ts
|
|
37547
|
-
import { Expose as Expose648, Transform as
|
|
37610
|
+
import { Expose as Expose648, Transform as Transform86, Type as Type405 } from "class-transformer";
|
|
37548
37611
|
|
|
37549
37612
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
37550
|
-
import { Expose as Expose640, Transform as
|
|
37613
|
+
import { Expose as Expose640, Transform as Transform82 } from "class-transformer";
|
|
37551
37614
|
import { IsDate as IsDate151, IsDefined as IsDefined176, IsNumber as IsNumber401, IsOptional as IsOptional42, IsString as IsString523 } from "class-validator";
|
|
37552
37615
|
|
|
37553
37616
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
@@ -37615,14 +37678,14 @@ __decorateClass([
|
|
|
37615
37678
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
37616
37679
|
__decorateClass([
|
|
37617
37680
|
IsOptional42(),
|
|
37618
|
-
|
|
37681
|
+
Transform82(({ value }) => value ? String(value) : ""),
|
|
37619
37682
|
IsString523({ message: "El campo lt debe ser una cadena de texto" }),
|
|
37620
37683
|
Expose640()
|
|
37621
37684
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
37622
37685
|
__decorateClass([
|
|
37623
37686
|
IsOptional42(),
|
|
37624
37687
|
IsNumber401({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
37625
|
-
|
|
37688
|
+
Transform82(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37626
37689
|
Expose640()
|
|
37627
37690
|
], BitacoraDeOrdenesDTO.prototype, "id_orden_mantenimiento_anexo", 2);
|
|
37628
37691
|
__decorateClass([
|
|
@@ -37633,7 +37696,7 @@ __decorateClass([
|
|
|
37633
37696
|
__decorateClass([
|
|
37634
37697
|
IsOptional42(),
|
|
37635
37698
|
IsNumber401({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
37636
|
-
|
|
37699
|
+
Transform82(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
37637
37700
|
Expose640()
|
|
37638
37701
|
], BitacoraDeOrdenesDTO.prototype, "cantidad_clientes_afectados", 2);
|
|
37639
37702
|
__decorateClass([
|
|
@@ -37669,13 +37732,13 @@ __decorateClass([
|
|
|
37669
37732
|
__decorateClass([
|
|
37670
37733
|
IsOptional42(),
|
|
37671
37734
|
IsString523({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
37672
|
-
|
|
37735
|
+
Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37673
37736
|
Expose640()
|
|
37674
37737
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
37675
37738
|
__decorateClass([
|
|
37676
37739
|
IsOptional42(),
|
|
37677
37740
|
IsString523({ message: "El campo olt debe ser una cadena de texto" }),
|
|
37678
|
-
|
|
37741
|
+
Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37679
37742
|
Expose640()
|
|
37680
37743
|
], BitacoraDeOrdenesDTO.prototype, "olt", 2);
|
|
37681
37744
|
__decorateClass([
|
|
@@ -37730,7 +37793,7 @@ __decorateClass([
|
|
|
37730
37793
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
37731
37794
|
__decorateClass([
|
|
37732
37795
|
IsOptional42(),
|
|
37733
|
-
|
|
37796
|
+
Transform82(({ value }) => formatDateOnnetFibra(value)),
|
|
37734
37797
|
IsDate151({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
37735
37798
|
Expose640()
|
|
37736
37799
|
], BitacoraDeOrdenesDTO.prototype, "fecha_instalacion", 2);
|
|
@@ -37752,7 +37815,7 @@ __decorateClass([
|
|
|
37752
37815
|
__decorateClass([
|
|
37753
37816
|
IsOptional42(),
|
|
37754
37817
|
IsString523({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
37755
|
-
|
|
37818
|
+
Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37756
37819
|
Expose640()
|
|
37757
37820
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
37758
37821
|
__decorateClass([
|
|
@@ -37762,20 +37825,20 @@ __decorateClass([
|
|
|
37762
37825
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
37763
37826
|
__decorateClass([
|
|
37764
37827
|
IsOptional42({ message: "El campo cliente es opcional" }),
|
|
37765
|
-
|
|
37828
|
+
Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37766
37829
|
IsString523({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
37767
37830
|
Expose640()
|
|
37768
37831
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
37769
37832
|
__decorateClass([
|
|
37770
37833
|
IsOptional42({ message: "El campo comuna es opcional" }),
|
|
37771
|
-
|
|
37834
|
+
Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37772
37835
|
IsString523({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
37773
37836
|
Expose640()
|
|
37774
37837
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
37775
37838
|
__decorateClass([
|
|
37776
37839
|
IsOptional42({ message: "El campo pep es opcional" }),
|
|
37777
37840
|
IsString523({ message: "El campo pep debe ser una cadena de texto" }),
|
|
37778
|
-
|
|
37841
|
+
Transform82(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37779
37842
|
Expose640()
|
|
37780
37843
|
], BitacoraDeOrdenesDTO.prototype, "pep", 2);
|
|
37781
37844
|
__decorateClass([
|
|
@@ -37805,7 +37868,7 @@ __decorateClass([
|
|
|
37805
37868
|
__decorateClass([
|
|
37806
37869
|
IsOptional42(),
|
|
37807
37870
|
IsNumber401({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
37808
|
-
|
|
37871
|
+
Transform82(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
37809
37872
|
Expose640()
|
|
37810
37873
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
37811
37874
|
__decorateClass([
|
|
@@ -37820,7 +37883,7 @@ __decorateClass([
|
|
|
37820
37883
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
37821
37884
|
|
|
37822
37885
|
// src/operativa/procesos/onnet_fibra/shared/dto/estado_de_pago.ts
|
|
37823
|
-
import { Expose as Expose641, Transform as
|
|
37886
|
+
import { Expose as Expose641, Transform as Transform83 } from "class-transformer";
|
|
37824
37887
|
import { IsDate as IsDate152, IsDefined as IsDefined177, IsNumber as IsNumber402, IsString as IsString524 } from "class-validator";
|
|
37825
37888
|
var EstadoDePagoDTO = class {
|
|
37826
37889
|
capacidad_cable = "";
|
|
@@ -37848,7 +37911,7 @@ __decorateClass([
|
|
|
37848
37911
|
Expose641()
|
|
37849
37912
|
], EstadoDePagoDTO.prototype, "estado", 2);
|
|
37850
37913
|
__decorateClass([
|
|
37851
|
-
|
|
37914
|
+
Transform83(({ value }) => formatDateOnnetFibra(value)),
|
|
37852
37915
|
IsDate152({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
37853
37916
|
Expose641()
|
|
37854
37917
|
], EstadoDePagoDTO.prototype, "fecha_crea", 2);
|
|
@@ -37863,7 +37926,7 @@ __decorateClass([
|
|
|
37863
37926
|
Expose641()
|
|
37864
37927
|
], EstadoDePagoDTO.prototype, "id_orden_mantenimiento", 2);
|
|
37865
37928
|
__decorateClass([
|
|
37866
|
-
|
|
37929
|
+
Transform83(({ value }) => formatDateOnnetFibra(value)),
|
|
37867
37930
|
IsDate152({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
37868
37931
|
Expose641()
|
|
37869
37932
|
], EstadoDePagoDTO.prototype, "fecha_validador", 2);
|
|
@@ -37968,7 +38031,7 @@ import { Expose as Expose646, Type as Type404 } from "class-transformer";
|
|
|
37968
38031
|
import { IsArray as IsArray208, IsDefined as IsDefined182, IsString as IsString529, ValidateNested as ValidateNested355 } from "class-validator";
|
|
37969
38032
|
|
|
37970
38033
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
37971
|
-
import { Expose as Expose643, Transform as
|
|
38034
|
+
import { Expose as Expose643, Transform as Transform84, Type as Type403 } from "class-transformer";
|
|
37972
38035
|
import { IsDefined as IsDefined179, IsNumber as IsNumber404, IsOptional as IsOptional43, IsString as IsString526 } from "class-validator";
|
|
37973
38036
|
var DetalleOrdenRealDTO = class {
|
|
37974
38037
|
descripcion = "";
|
|
@@ -37986,25 +38049,25 @@ var DetalleOrdenRealDTO = class {
|
|
|
37986
38049
|
__decorateClass([
|
|
37987
38050
|
IsDefined179({ message: "El campo descripcion es requerido" }),
|
|
37988
38051
|
IsString526({ message: "El campo descripcion debe ser una cadena de texto" }),
|
|
37989
|
-
|
|
38052
|
+
Transform84(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37990
38053
|
Expose643()
|
|
37991
38054
|
], DetalleOrdenRealDTO.prototype, "descripcion", 2);
|
|
37992
38055
|
__decorateClass([
|
|
37993
38056
|
IsDefined179({ message: "El campo tipo es requerido" }),
|
|
37994
38057
|
IsString526({ message: "El campo tipo debe ser una cadena de texto" }),
|
|
37995
|
-
|
|
38058
|
+
Transform84(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
37996
38059
|
Expose643()
|
|
37997
38060
|
], DetalleOrdenRealDTO.prototype, "tipo", 2);
|
|
37998
38061
|
__decorateClass([
|
|
37999
38062
|
IsDefined179({ message: "El campo tipo_material es requerido" }),
|
|
38000
38063
|
IsString526({ message: "El campo tipo_material debe ser una cadena de texto" }),
|
|
38001
|
-
|
|
38064
|
+
Transform84(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38002
38065
|
Expose643()
|
|
38003
38066
|
], DetalleOrdenRealDTO.prototype, "tipo_material", 2);
|
|
38004
38067
|
__decorateClass([
|
|
38005
38068
|
IsDefined179({ message: "El campo codigo es requerido" }),
|
|
38006
38069
|
IsString526({ message: "El campo codigo debe ser una cadena de texto" }),
|
|
38007
|
-
|
|
38070
|
+
Transform84(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38008
38071
|
Expose643()
|
|
38009
38072
|
], DetalleOrdenRealDTO.prototype, "codigo", 2);
|
|
38010
38073
|
__decorateClass([
|
|
@@ -38018,12 +38081,12 @@ __decorateClass([
|
|
|
38018
38081
|
__decorateClass([
|
|
38019
38082
|
IsOptional43({ message: "El campo tecnico es requerido" }),
|
|
38020
38083
|
IsString526({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
38021
|
-
|
|
38084
|
+
Transform84(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38022
38085
|
Expose643()
|
|
38023
38086
|
], DetalleOrdenRealDTO.prototype, "tecnico", 2);
|
|
38024
38087
|
__decorateClass([
|
|
38025
38088
|
IsString526({ message: "El campo unidad debe ser una cadena de texto" }),
|
|
38026
|
-
|
|
38089
|
+
Transform84(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38027
38090
|
Expose643()
|
|
38028
38091
|
], DetalleOrdenRealDTO.prototype, "unidad", 2);
|
|
38029
38092
|
__decorateClass([
|
|
@@ -38033,18 +38096,18 @@ __decorateClass([
|
|
|
38033
38096
|
__decorateClass([
|
|
38034
38097
|
IsOptional43({ message: "El campo contrato es opcional" }),
|
|
38035
38098
|
IsString526({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
38036
|
-
|
|
38099
|
+
Transform84(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
38037
38100
|
Expose643()
|
|
38038
38101
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
38039
38102
|
__decorateClass([
|
|
38040
38103
|
Type403(() => CodigoNombreDTO),
|
|
38041
38104
|
IsOptional43(),
|
|
38042
|
-
|
|
38105
|
+
Transform84(({ value }) => value ?? new CodigoNombreDTO()),
|
|
38043
38106
|
Expose643()
|
|
38044
38107
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
38045
38108
|
|
|
38046
38109
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/orden_detail_maintenance.ts
|
|
38047
|
-
import { Expose as Expose644, Transform as
|
|
38110
|
+
import { Expose as Expose644, Transform as Transform85 } from "class-transformer";
|
|
38048
38111
|
import { IsDate as IsDate153, IsDefined as IsDefined180, IsNumber as IsNumber405, IsString as IsString527 } from "class-validator";
|
|
38049
38112
|
var OrdenDetailMaintenanceDTO = class {
|
|
38050
38113
|
tipo = "";
|
|
@@ -38095,7 +38158,7 @@ __decorateClass([
|
|
|
38095
38158
|
Expose644()
|
|
38096
38159
|
], OrdenDetailMaintenanceDTO.prototype, "estado", 2);
|
|
38097
38160
|
__decorateClass([
|
|
38098
|
-
|
|
38161
|
+
Transform85(({ value }) => formatDateOnnetFibra(value)),
|
|
38099
38162
|
IsDate153({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
38100
38163
|
Expose644()
|
|
38101
38164
|
], OrdenDetailMaintenanceDTO.prototype, "fecha_crea", 2);
|
|
@@ -38450,12 +38513,12 @@ __decorateClass([
|
|
|
38450
38513
|
Expose648()
|
|
38451
38514
|
], OnnetFibraENTITY.prototype, "LlaveRegla", 2);
|
|
38452
38515
|
__decorateClass([
|
|
38453
|
-
|
|
38516
|
+
Transform86(({ value }) => value === void 0 || value === null ? 0 : value),
|
|
38454
38517
|
IsNumber408({}, { message: "El campo MO debe ser numero" }),
|
|
38455
38518
|
Expose648()
|
|
38456
38519
|
], OnnetFibraENTITY.prototype, "MO", 2);
|
|
38457
38520
|
__decorateClass([
|
|
38458
|
-
|
|
38521
|
+
Transform86(({ value }) => value === void 0 || value === null ? 0 : value),
|
|
38459
38522
|
IsNumber408({}, { message: "El campo PB debe ser numero" }),
|
|
38460
38523
|
Expose648()
|
|
38461
38524
|
], OnnetFibraENTITY.prototype, "PB", 2);
|
|
@@ -38603,7 +38666,7 @@ __decorateClass([
|
|
|
38603
38666
|
], RequestNumberTTLENTITY.prototype, "createdAt", 2);
|
|
38604
38667
|
|
|
38605
38668
|
// src/operativa/procesos/win_order/shared/index.ts
|
|
38606
|
-
import { Expose as Expose654, Transform as
|
|
38669
|
+
import { Expose as Expose654, Transform as Transform88, Type as Type410 } from "class-transformer";
|
|
38607
38670
|
import {
|
|
38608
38671
|
IsDefined as IsDefined190,
|
|
38609
38672
|
IsString as IsString537,
|
|
@@ -38788,7 +38851,7 @@ import {
|
|
|
38788
38851
|
import "reflect-metadata";
|
|
38789
38852
|
|
|
38790
38853
|
// src/operativa/procesos/win_order_db/shared/dto/index.ts
|
|
38791
|
-
import { Expose as Expose652, Transform as
|
|
38854
|
+
import { Expose as Expose652, Transform as Transform87 } from "class-transformer";
|
|
38792
38855
|
import {
|
|
38793
38856
|
IsDefined as IsDefined188,
|
|
38794
38857
|
IsString as IsString535,
|
|
@@ -38882,7 +38945,7 @@ var MaterialeswinDBDTO = class {
|
|
|
38882
38945
|
__decorateClass([
|
|
38883
38946
|
Expose652(),
|
|
38884
38947
|
IsDefined188({ message: "El campo key es obligatorio." }),
|
|
38885
|
-
|
|
38948
|
+
Transform87(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
|
|
38886
38949
|
IsString535()
|
|
38887
38950
|
], MaterialeswinDBDTO.prototype, "key", 2);
|
|
38888
38951
|
__decorateClass([
|
|
@@ -39256,7 +39319,7 @@ __decorateClass([
|
|
|
39256
39319
|
], Peru9112WinENTITY.prototype, "estado", 2);
|
|
39257
39320
|
__decorateClass([
|
|
39258
39321
|
Expose654({ name: "Estado Interno" }),
|
|
39259
|
-
|
|
39322
|
+
Transform88(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
|
|
39260
39323
|
IsDefined190({ message: "El campo estado interno es obligatorio." }),
|
|
39261
39324
|
IsEnum23(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
39262
39325
|
], Peru9112WinENTITY.prototype, "estado_interno", 2);
|
|
@@ -39343,7 +39406,7 @@ __decorateClass([
|
|
|
39343
39406
|
], Peru9112WinENTITY.prototype, "boletin", 2);
|
|
39344
39407
|
|
|
39345
39408
|
// src/operativa/procesos/fibramas_order/shared/index.ts
|
|
39346
|
-
import { Expose as Expose658, Transform as
|
|
39409
|
+
import { Expose as Expose658, Transform as Transform90, Type as Type413 } from "class-transformer";
|
|
39347
39410
|
import {
|
|
39348
39411
|
IsDefined as IsDefined194,
|
|
39349
39412
|
IsString as IsString541,
|
|
@@ -39428,7 +39491,7 @@ import {
|
|
|
39428
39491
|
import "reflect-metadata";
|
|
39429
39492
|
|
|
39430
39493
|
// src/operativa/procesos/fibramas_order_db/shared/dto/index.ts
|
|
39431
|
-
import { Expose as Expose656, Transform as
|
|
39494
|
+
import { Expose as Expose656, Transform as Transform89 } from "class-transformer";
|
|
39432
39495
|
import {
|
|
39433
39496
|
IsDefined as IsDefined192,
|
|
39434
39497
|
IsString as IsString539,
|
|
@@ -39448,7 +39511,7 @@ var MaterialesFibramasDBDTO = class {
|
|
|
39448
39511
|
__decorateClass([
|
|
39449
39512
|
Expose656(),
|
|
39450
39513
|
IsDefined192({ message: "El campo key es obligatorio." }),
|
|
39451
|
-
|
|
39514
|
+
Transform89(({ obj }) => `${obj.codigo}${obj.invpool}${obj.invsn}`),
|
|
39452
39515
|
IsString539()
|
|
39453
39516
|
], MaterialesFibramasDBDTO.prototype, "key", 2);
|
|
39454
39517
|
__decorateClass([
|
|
@@ -39754,7 +39817,7 @@ __decorateClass([
|
|
|
39754
39817
|
], Peru9112FibramasENTITY.prototype, "estado_del_servicio", 2);
|
|
39755
39818
|
__decorateClass([
|
|
39756
39819
|
Expose658({ name: "Estado Interno" }),
|
|
39757
|
-
|
|
39820
|
+
Transform90(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
|
|
39758
39821
|
IsDefined194({ message: "El campo estado interno es obligatorio." }),
|
|
39759
39822
|
IsEnum25(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
39760
39823
|
], Peru9112FibramasENTITY.prototype, "estado_interno", 2);
|
|
@@ -39946,7 +40009,7 @@ __decorateClass([
|
|
|
39946
40009
|
// src/operativa/procesos/TOA orden liquidacion/shared/index.ts
|
|
39947
40010
|
import { Expose as Expose660, Type as Type414 } from "class-transformer";
|
|
39948
40011
|
import { IsArray as IsArray214, IsDefined as IsDefined196, IsEnum as IsEnum27, IsNotEmpty as IsNotEmpty448, IsNumber as IsNumber419, IsObject as IsObject9, IsString as IsString543, IsUUID as IsUUID9, Matches as Matches4, ValidateNested as ValidateNested362 } from "class-validator";
|
|
39949
|
-
import { Transform as
|
|
40012
|
+
import { Transform as Transform91 } from "class-transformer";
|
|
39950
40013
|
import { IsDate as IsDate161, Length as Length329 } from "class-validator";
|
|
39951
40014
|
var ContestoEnum = /* @__PURE__ */ ((ContestoEnum2) => {
|
|
39952
40015
|
ContestoEnum2["SI"] = "SI";
|
|
@@ -39981,7 +40044,7 @@ __decorateClass([
|
|
|
39981
40044
|
IsEnum27(StateInternalOrderTOA, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrderTOA).join(", ")}.` })
|
|
39982
40045
|
], UsuarioLiqDTO.prototype, "estado_interno", 2);
|
|
39983
40046
|
__decorateClass([
|
|
39984
|
-
|
|
40047
|
+
Transform91(transformToDateIfEmpty),
|
|
39985
40048
|
Expose660(),
|
|
39986
40049
|
IsDate161(),
|
|
39987
40050
|
Type414(() => Date)
|