sigo-entities 1.2.402 → 1.2.403
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.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +660 -639
- package/dist/index.mjs +484 -464
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -49588,10 +49588,10 @@ __decorateClass([
|
|
|
49588
49588
|
], TdcOrderStockENTITY.prototype, "state_replacement", 2);
|
|
49589
49589
|
|
|
49590
49590
|
// src/operativa/procesos/claro_peru9112/shared/index.ts
|
|
49591
|
-
import { Expose as
|
|
49591
|
+
import { Expose as Expose763, Type as Type474 } from "class-transformer";
|
|
49592
49592
|
import {
|
|
49593
|
-
IsDefined as
|
|
49594
|
-
IsString as
|
|
49593
|
+
IsDefined as IsDefined262,
|
|
49594
|
+
IsString as IsString632,
|
|
49595
49595
|
IsNumber as IsNumber500,
|
|
49596
49596
|
ValidateNested as ValidateNested414,
|
|
49597
49597
|
IsArray as IsArray246,
|
|
@@ -49676,9 +49676,28 @@ __decorateClass([
|
|
|
49676
49676
|
IsString625()
|
|
49677
49677
|
], UbicacionPeru9112ClaroDTO.prototype, "nombre_distrito", 2);
|
|
49678
49678
|
|
|
49679
|
-
// src/operativa/procesos/claro_peru9112/shared/dto/
|
|
49679
|
+
// src/operativa/procesos/claro_peru9112/shared/dto/segmento-peru9112-claro-dto.ts
|
|
49680
49680
|
import { Expose as Expose756 } from "class-transformer";
|
|
49681
|
-
import { IsDefined as IsDefined257, IsString as IsString626
|
|
49681
|
+
import { IsDefined as IsDefined257, IsString as IsString626 } from "class-validator";
|
|
49682
|
+
import "reflect-metadata";
|
|
49683
|
+
var SegmentoPeru9112ClaroDTO = class {
|
|
49684
|
+
codigo = "";
|
|
49685
|
+
descripcion = "";
|
|
49686
|
+
};
|
|
49687
|
+
__decorateClass([
|
|
49688
|
+
Expose756(),
|
|
49689
|
+
IsDefined257({ message: "El campo codigo es obligatorio." }),
|
|
49690
|
+
IsString626()
|
|
49691
|
+
], SegmentoPeru9112ClaroDTO.prototype, "codigo", 2);
|
|
49692
|
+
__decorateClass([
|
|
49693
|
+
Expose756(),
|
|
49694
|
+
IsDefined257({ message: "El campo descripcion es obligatorio." }),
|
|
49695
|
+
IsString626()
|
|
49696
|
+
], SegmentoPeru9112ClaroDTO.prototype, "descripcion", 2);
|
|
49697
|
+
|
|
49698
|
+
// src/operativa/procesos/claro_peru9112/shared/dto/planta-peru9112-claro-dto.ts
|
|
49699
|
+
import { Expose as Expose757 } from "class-transformer";
|
|
49700
|
+
import { IsDefined as IsDefined258, IsString as IsString627, IsNumber as IsNumber496 } from "class-validator";
|
|
49682
49701
|
import "reflect-metadata";
|
|
49683
49702
|
var PlantaPeru9112ClaroDTO = class {
|
|
49684
49703
|
tap = 0;
|
|
@@ -49690,44 +49709,44 @@ var PlantaPeru9112ClaroDTO = class {
|
|
|
49690
49709
|
datos_borne = 0;
|
|
49691
49710
|
};
|
|
49692
49711
|
__decorateClass([
|
|
49693
|
-
|
|
49694
|
-
|
|
49712
|
+
Expose757(),
|
|
49713
|
+
IsDefined258({ message: "El campo Tap es obligatorio." }),
|
|
49695
49714
|
IsNumber496()
|
|
49696
49715
|
], PlantaPeru9112ClaroDTO.prototype, "tap", 2);
|
|
49697
49716
|
__decorateClass([
|
|
49698
|
-
|
|
49699
|
-
|
|
49700
|
-
|
|
49717
|
+
Expose757(),
|
|
49718
|
+
IsDefined258({ message: "El campo Amplificador es obligatorio." }),
|
|
49719
|
+
IsString627()
|
|
49701
49720
|
], PlantaPeru9112ClaroDTO.prototype, "amplificador", 2);
|
|
49702
49721
|
__decorateClass([
|
|
49703
|
-
|
|
49704
|
-
|
|
49705
|
-
|
|
49722
|
+
Expose757(),
|
|
49723
|
+
IsDefined258({ message: "El campo Nodo es obligatorio." }),
|
|
49724
|
+
IsString627()
|
|
49706
49725
|
], PlantaPeru9112ClaroDTO.prototype, "nodo", 2);
|
|
49707
49726
|
__decorateClass([
|
|
49708
|
-
|
|
49709
|
-
|
|
49710
|
-
|
|
49727
|
+
Expose757(),
|
|
49728
|
+
IsDefined258({ message: "El campo Troba es obligatorio." }),
|
|
49729
|
+
IsString627()
|
|
49711
49730
|
], PlantaPeru9112ClaroDTO.prototype, "troba", 2);
|
|
49712
49731
|
__decorateClass([
|
|
49713
|
-
|
|
49714
|
-
|
|
49715
|
-
|
|
49732
|
+
Expose757(),
|
|
49733
|
+
IsDefined258({ message: "El campo Estado del Borne es obligatorio." }),
|
|
49734
|
+
IsString627()
|
|
49716
49735
|
], PlantaPeru9112ClaroDTO.prototype, "estado_del_borne", 2);
|
|
49717
49736
|
__decorateClass([
|
|
49718
|
-
|
|
49719
|
-
|
|
49720
|
-
|
|
49737
|
+
Expose757(),
|
|
49738
|
+
IsDefined258({ message: "El campo Rotulado del CTO es obligatorio." }),
|
|
49739
|
+
IsString627()
|
|
49721
49740
|
], PlantaPeru9112ClaroDTO.prototype, "rotulado_del_cto", 2);
|
|
49722
49741
|
__decorateClass([
|
|
49723
|
-
|
|
49724
|
-
|
|
49742
|
+
Expose757(),
|
|
49743
|
+
IsDefined258({ message: "El campo Datos Borne es obligatorio." }),
|
|
49725
49744
|
IsNumber496()
|
|
49726
49745
|
], PlantaPeru9112ClaroDTO.prototype, "datos_borne", 2);
|
|
49727
49746
|
|
|
49728
49747
|
// src/operativa/procesos/claro_peru9112/shared/dto/materiales-peru9112-claro-dto.ts
|
|
49729
|
-
import { Expose as
|
|
49730
|
-
import { IsDefined as
|
|
49748
|
+
import { Expose as Expose758 } from "class-transformer";
|
|
49749
|
+
import { IsDefined as IsDefined259, IsString as IsString628, IsNumber as IsNumber497 } from "class-validator";
|
|
49731
49750
|
import "reflect-metadata";
|
|
49732
49751
|
var MaterialesPeru9112ClaroDTO = class {
|
|
49733
49752
|
codigo = "";
|
|
@@ -49740,49 +49759,49 @@ var MaterialesPeru9112ClaroDTO = class {
|
|
|
49740
49759
|
ID_StockPersonal = 0;
|
|
49741
49760
|
};
|
|
49742
49761
|
__decorateClass([
|
|
49743
|
-
|
|
49744
|
-
|
|
49745
|
-
|
|
49762
|
+
Expose758(),
|
|
49763
|
+
IsDefined259({ message: "El campo code es obligatorio." }),
|
|
49764
|
+
IsString628()
|
|
49746
49765
|
], MaterialesPeru9112ClaroDTO.prototype, "codigo", 2);
|
|
49747
49766
|
__decorateClass([
|
|
49748
|
-
|
|
49749
|
-
|
|
49750
|
-
|
|
49767
|
+
Expose758(),
|
|
49768
|
+
IsDefined259({ message: "El campo description es obligatorio." }),
|
|
49769
|
+
IsString628()
|
|
49751
49770
|
], MaterialesPeru9112ClaroDTO.prototype, "descripcion", 2);
|
|
49752
49771
|
__decorateClass([
|
|
49753
|
-
|
|
49754
|
-
|
|
49755
|
-
|
|
49772
|
+
Expose758(),
|
|
49773
|
+
IsDefined259({ message: "El campo lot es obligatorio." }),
|
|
49774
|
+
IsString628()
|
|
49756
49775
|
], MaterialesPeru9112ClaroDTO.prototype, "lote", 2);
|
|
49757
49776
|
__decorateClass([
|
|
49758
|
-
|
|
49759
|
-
|
|
49777
|
+
Expose758(),
|
|
49778
|
+
IsDefined259({ message: "El campo quantity es obligatorio." }),
|
|
49760
49779
|
IsNumber497()
|
|
49761
49780
|
], MaterialesPeru9112ClaroDTO.prototype, "cantidad", 2);
|
|
49762
49781
|
__decorateClass([
|
|
49763
|
-
|
|
49764
|
-
|
|
49765
|
-
|
|
49782
|
+
Expose758(),
|
|
49783
|
+
IsDefined259({ message: "El campo invsn es obligatorio." }),
|
|
49784
|
+
IsString628()
|
|
49766
49785
|
], MaterialesPeru9112ClaroDTO.prototype, "invsn", 2);
|
|
49767
49786
|
__decorateClass([
|
|
49768
|
-
|
|
49769
|
-
|
|
49770
|
-
|
|
49787
|
+
Expose758(),
|
|
49788
|
+
IsDefined259({ message: "El campo invtype es obligatorio." }),
|
|
49789
|
+
IsString628()
|
|
49771
49790
|
], MaterialesPeru9112ClaroDTO.prototype, "invtype", 2);
|
|
49772
49791
|
__decorateClass([
|
|
49773
|
-
|
|
49774
|
-
|
|
49775
|
-
|
|
49792
|
+
Expose758(),
|
|
49793
|
+
IsDefined259({ message: "El campo invpool es obligatorio." }),
|
|
49794
|
+
IsString628()
|
|
49776
49795
|
], MaterialesPeru9112ClaroDTO.prototype, "invpool", 2);
|
|
49777
49796
|
__decorateClass([
|
|
49778
|
-
|
|
49779
|
-
|
|
49797
|
+
Expose758(),
|
|
49798
|
+
IsDefined259({ message: "El campo ID_StockPersonal es obligatorio." }),
|
|
49780
49799
|
IsNumber497()
|
|
49781
49800
|
], MaterialesPeru9112ClaroDTO.prototype, "ID_StockPersonal", 2);
|
|
49782
49801
|
|
|
49783
49802
|
// src/operativa/procesos/claro_peru9112/shared/dto/productos-servicios-contratado-peru9112-claro-dto.ts
|
|
49784
|
-
import { Expose as
|
|
49785
|
-
import { IsDefined as
|
|
49803
|
+
import { Expose as Expose759 } from "class-transformer";
|
|
49804
|
+
import { IsDefined as IsDefined260, IsString as IsString629 } from "class-validator";
|
|
49786
49805
|
import "reflect-metadata";
|
|
49787
49806
|
var ProductosServiciosContratadoPeru9112ClaroDTO = class {
|
|
49788
49807
|
codigo = "";
|
|
@@ -49792,35 +49811,35 @@ var ProductosServiciosContratadoPeru9112ClaroDTO = class {
|
|
|
49792
49811
|
tipo_equipo = "";
|
|
49793
49812
|
};
|
|
49794
49813
|
__decorateClass([
|
|
49795
|
-
|
|
49796
|
-
|
|
49797
|
-
|
|
49814
|
+
Expose759(),
|
|
49815
|
+
IsDefined260({ message: "El campo C\xF3digo es obligatorio." }),
|
|
49816
|
+
IsString629()
|
|
49798
49817
|
], ProductosServiciosContratadoPeru9112ClaroDTO.prototype, "codigo", 2);
|
|
49799
49818
|
__decorateClass([
|
|
49800
|
-
|
|
49801
|
-
|
|
49802
|
-
|
|
49819
|
+
Expose759(),
|
|
49820
|
+
IsDefined260({ message: "El campo Descripci\xF3n es obligatorio." }),
|
|
49821
|
+
IsString629()
|
|
49803
49822
|
], ProductosServiciosContratadoPeru9112ClaroDTO.prototype, "descripcion", 2);
|
|
49804
49823
|
__decorateClass([
|
|
49805
|
-
|
|
49806
|
-
|
|
49807
|
-
|
|
49824
|
+
Expose759(),
|
|
49825
|
+
IsDefined260({ message: "El campo C\xF3digo material es obligatorio." }),
|
|
49826
|
+
IsString629()
|
|
49808
49827
|
], ProductosServiciosContratadoPeru9112ClaroDTO.prototype, "codigo_material", 2);
|
|
49809
49828
|
__decorateClass([
|
|
49810
|
-
|
|
49811
|
-
|
|
49829
|
+
Expose759(),
|
|
49830
|
+
IsDefined260({
|
|
49812
49831
|
message: "El campo N\xFAmero Serie / Mac Address es obligatorio."
|
|
49813
49832
|
}),
|
|
49814
|
-
|
|
49833
|
+
IsString629()
|
|
49815
49834
|
], ProductosServiciosContratadoPeru9112ClaroDTO.prototype, "numero_serie_mac_address", 2);
|
|
49816
49835
|
__decorateClass([
|
|
49817
|
-
|
|
49818
|
-
|
|
49819
|
-
|
|
49836
|
+
Expose759(),
|
|
49837
|
+
IsDefined260({ message: "El campo Tipo Equipo es obligatorio." }),
|
|
49838
|
+
IsString629()
|
|
49820
49839
|
], ProductosServiciosContratadoPeru9112ClaroDTO.prototype, "tipo_equipo", 2);
|
|
49821
49840
|
|
|
49822
49841
|
// src/operativa/procesos/claro_peru9112/shared/dto/pb-by-material-quantities-peru9112-claro-dto.ts
|
|
49823
|
-
import { Expose as
|
|
49842
|
+
import { Expose as Expose760 } from "class-transformer";
|
|
49824
49843
|
import { IsNumber as IsNumber498 } from "class-validator";
|
|
49825
49844
|
import "reflect-metadata";
|
|
49826
49845
|
var PBbyMaterialQuantitiesPeru9112ClaroDTO = class {
|
|
@@ -49830,25 +49849,25 @@ var PBbyMaterialQuantitiesPeru9112ClaroDTO = class {
|
|
|
49830
49849
|
TELEFONO = 0;
|
|
49831
49850
|
};
|
|
49832
49851
|
__decorateClass([
|
|
49833
|
-
|
|
49852
|
+
Expose760(),
|
|
49834
49853
|
IsNumber498()
|
|
49835
49854
|
], PBbyMaterialQuantitiesPeru9112ClaroDTO.prototype, "ACCESS_POINT", 2);
|
|
49836
49855
|
__decorateClass([
|
|
49837
|
-
|
|
49856
|
+
Expose760(),
|
|
49838
49857
|
IsNumber498()
|
|
49839
49858
|
], PBbyMaterialQuantitiesPeru9112ClaroDTO.prototype, "DECO", 2);
|
|
49840
49859
|
__decorateClass([
|
|
49841
|
-
|
|
49860
|
+
Expose760(),
|
|
49842
49861
|
IsNumber498()
|
|
49843
49862
|
], PBbyMaterialQuantitiesPeru9112ClaroDTO.prototype, "MODEM", 2);
|
|
49844
49863
|
__decorateClass([
|
|
49845
|
-
|
|
49864
|
+
Expose760(),
|
|
49846
49865
|
IsNumber498()
|
|
49847
49866
|
], PBbyMaterialQuantitiesPeru9112ClaroDTO.prototype, "TELEFONO", 2);
|
|
49848
49867
|
|
|
49849
49868
|
// src/operativa/procesos/claro_peru9112/shared/dto/valorizacion-peru9112-claro-dto.ts
|
|
49850
|
-
import { Expose as
|
|
49851
|
-
import { IsNumber as IsNumber499, IsOptional as IsOptional68, IsString as
|
|
49869
|
+
import { Expose as Expose761 } from "class-transformer";
|
|
49870
|
+
import { IsNumber as IsNumber499, IsOptional as IsOptional68, IsString as IsString630 } from "class-validator";
|
|
49852
49871
|
import "reflect-metadata";
|
|
49853
49872
|
var ValorizacionPeru9112ClaroDTO = class {
|
|
49854
49873
|
pbBase = 0;
|
|
@@ -49860,36 +49879,36 @@ var ValorizacionPeru9112ClaroDTO = class {
|
|
|
49860
49879
|
PAQUETE = "";
|
|
49861
49880
|
};
|
|
49862
49881
|
__decorateClass([
|
|
49863
|
-
|
|
49882
|
+
Expose761(),
|
|
49864
49883
|
IsNumber499(),
|
|
49865
49884
|
IsOptional68()
|
|
49866
49885
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbBase", 2);
|
|
49867
49886
|
__decorateClass([
|
|
49868
|
-
|
|
49887
|
+
Expose761(),
|
|
49869
49888
|
IsNumber499(),
|
|
49870
49889
|
IsOptional68()
|
|
49871
49890
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbAdicional", 2);
|
|
49872
49891
|
__decorateClass([
|
|
49873
|
-
|
|
49892
|
+
Expose761(),
|
|
49874
49893
|
IsOptional68()
|
|
49875
49894
|
], ValorizacionPeru9112ClaroDTO.prototype, "pbByMaterial", 2);
|
|
49876
49895
|
__decorateClass([
|
|
49877
|
-
|
|
49896
|
+
Expose761(),
|
|
49878
49897
|
IsOptional68()
|
|
49879
49898
|
], ValorizacionPeru9112ClaroDTO.prototype, "quantities", 2);
|
|
49880
49899
|
__decorateClass([
|
|
49881
|
-
|
|
49882
|
-
|
|
49900
|
+
Expose761(),
|
|
49901
|
+
IsString630(),
|
|
49883
49902
|
IsOptional68()
|
|
49884
49903
|
], ValorizacionPeru9112ClaroDTO.prototype, "TABLA", 2);
|
|
49885
49904
|
__decorateClass([
|
|
49886
|
-
|
|
49887
|
-
|
|
49905
|
+
Expose761(),
|
|
49906
|
+
IsString630(),
|
|
49888
49907
|
IsOptional68()
|
|
49889
49908
|
], ValorizacionPeru9112ClaroDTO.prototype, "Actividad", 2);
|
|
49890
49909
|
__decorateClass([
|
|
49891
|
-
|
|
49892
|
-
|
|
49910
|
+
Expose761(),
|
|
49911
|
+
IsString630(),
|
|
49893
49912
|
IsOptional68()
|
|
49894
49913
|
], ValorizacionPeru9112ClaroDTO.prototype, "PAQUETE", 2);
|
|
49895
49914
|
|
|
@@ -49901,23 +49920,23 @@ var EstadoProcesoValPeru9112Claro = /* @__PURE__ */ ((EstadoProcesoValPeru9112Cl
|
|
|
49901
49920
|
})(EstadoProcesoValPeru9112Claro || {});
|
|
49902
49921
|
|
|
49903
49922
|
// src/operativa/procesos/claro_peru9112/shared/dto/estado-proceso-val-peru9112-claro-dto.ts
|
|
49904
|
-
import { Expose as
|
|
49905
|
-
import { IsDefined as
|
|
49923
|
+
import { Expose as Expose762 } from "class-transformer";
|
|
49924
|
+
import { IsDefined as IsDefined261, IsString as IsString631, IsDate as IsDate180, IsEnum as IsEnum40 } from "class-validator";
|
|
49906
49925
|
import "reflect-metadata";
|
|
49907
49926
|
var EstadoProcesoValPeru9112ClaroDTO = class {
|
|
49908
49927
|
Estado = "REGISTRADO" /* REGISTRADO */;
|
|
49909
49928
|
Fecha = /* @__PURE__ */ new Date();
|
|
49910
49929
|
};
|
|
49911
49930
|
__decorateClass([
|
|
49912
|
-
|
|
49913
|
-
|
|
49914
|
-
|
|
49931
|
+
Expose762(),
|
|
49932
|
+
IsString631(),
|
|
49933
|
+
IsDefined261({ message: "El campo Estado es obligatorio." }),
|
|
49915
49934
|
IsEnum40(EstadoProcesoValPeru9112Claro)
|
|
49916
49935
|
], EstadoProcesoValPeru9112ClaroDTO.prototype, "Estado", 2);
|
|
49917
49936
|
__decorateClass([
|
|
49918
|
-
|
|
49937
|
+
Expose762(),
|
|
49919
49938
|
IsDate180(),
|
|
49920
|
-
|
|
49939
|
+
IsDefined261({ message: "El campo Fecha es obligatorio." })
|
|
49921
49940
|
], EstadoProcesoValPeru9112ClaroDTO.prototype, "Fecha", 2);
|
|
49922
49941
|
|
|
49923
49942
|
// src/operativa/procesos/claro_peru9112/shared/index.ts
|
|
@@ -49948,7 +49967,7 @@ var Peru9112ClaroENTITY = class {
|
|
|
49948
49967
|
velocidad_internet_requerimiento = 0;
|
|
49949
49968
|
planta = new PlantaPeru9112ClaroDTO();
|
|
49950
49969
|
numero_telefono = "";
|
|
49951
|
-
segmento = new
|
|
49970
|
+
segmento = new SegmentoPeru9112ClaroDTO();
|
|
49952
49971
|
sistema_origen = "";
|
|
49953
49972
|
estado_de_soporte_de_planta_101 = "";
|
|
49954
49973
|
observacion_respuesta_de_soporte_de_planta_101 = "";
|
|
@@ -49986,232 +50005,232 @@ var Peru9112ClaroENTITY = class {
|
|
|
49986
50005
|
EstadoProceso = new EstadoProcesoValPeru9112ClaroDTO();
|
|
49987
50006
|
};
|
|
49988
50007
|
__decorateClass([
|
|
49989
|
-
|
|
50008
|
+
IsDefined262({ message: "El campo _id es obligatorio." }),
|
|
49990
50009
|
IsUUID19("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
49991
|
-
|
|
50010
|
+
Expose763()
|
|
49992
50011
|
], Peru9112ClaroENTITY.prototype, "_id", 2);
|
|
49993
50012
|
__decorateClass([
|
|
49994
|
-
|
|
49995
|
-
|
|
49996
|
-
|
|
50013
|
+
Expose763(),
|
|
50014
|
+
IsDefined262({ message: "El campo T\xE9cnico es obligatorio." }),
|
|
50015
|
+
IsString632()
|
|
49997
50016
|
], Peru9112ClaroENTITY.prototype, "tecnico", 2);
|
|
49998
50017
|
__decorateClass([
|
|
49999
|
-
|
|
50000
|
-
|
|
50001
|
-
|
|
50018
|
+
Expose763(),
|
|
50019
|
+
IsDefined262({ message: "El campo ID Recurso es obligatorio." }),
|
|
50020
|
+
IsString632()
|
|
50002
50021
|
], Peru9112ClaroENTITY.prototype, "id_recurso", 2);
|
|
50003
50022
|
__decorateClass([
|
|
50004
|
-
|
|
50005
|
-
|
|
50023
|
+
Expose763(),
|
|
50024
|
+
IsDefined262({ message: "El campo N\xFAmero OT es obligatorio." }),
|
|
50006
50025
|
IsNumber500()
|
|
50007
50026
|
], Peru9112ClaroENTITY.prototype, "numero_ot", 2);
|
|
50008
50027
|
__decorateClass([
|
|
50009
|
-
|
|
50010
|
-
|
|
50011
|
-
|
|
50028
|
+
Expose763(),
|
|
50029
|
+
IsDefined262({ message: "El campo Subtipo de Actividad es obligatorio." }),
|
|
50030
|
+
IsString632()
|
|
50012
50031
|
], Peru9112ClaroENTITY.prototype, "subtipo_de_actividad", 2);
|
|
50013
50032
|
__decorateClass([
|
|
50014
|
-
|
|
50015
|
-
|
|
50016
|
-
|
|
50033
|
+
Expose763(),
|
|
50034
|
+
IsDefined262({ message: "El campo N\xFAmero de Petici\xF3n es obligatorio." }),
|
|
50035
|
+
IsString632()
|
|
50017
50036
|
], Peru9112ClaroENTITY.prototype, "numero_de_peticion", 2);
|
|
50018
50037
|
__decorateClass([
|
|
50019
|
-
|
|
50020
|
-
|
|
50038
|
+
Expose763(),
|
|
50039
|
+
IsDefined262({ message: "El campo Fecha de Cita es obligatorio." }),
|
|
50021
50040
|
IsDate181({ message: "debe ser una fecha" })
|
|
50022
50041
|
], Peru9112ClaroENTITY.prototype, "fecha_de_cita", 2);
|
|
50023
50042
|
__decorateClass([
|
|
50024
|
-
|
|
50025
|
-
|
|
50026
|
-
|
|
50043
|
+
Expose763(),
|
|
50044
|
+
IsDefined262({ message: "El campo Time Slot es obligatorio." }),
|
|
50045
|
+
IsString632()
|
|
50027
50046
|
], Peru9112ClaroENTITY.prototype, "time_slot", 2);
|
|
50028
50047
|
__decorateClass([
|
|
50029
|
-
|
|
50030
|
-
|
|
50048
|
+
Expose763(),
|
|
50049
|
+
IsDefined262({ message: "El campo Ubicacion es obligatorio." }),
|
|
50031
50050
|
ValidateNested414(),
|
|
50032
50051
|
Type474(() => UbicacionPeru9112ClaroDTO)
|
|
50033
50052
|
], Peru9112ClaroENTITY.prototype, "ubicacion", 2);
|
|
50034
50053
|
__decorateClass([
|
|
50035
|
-
|
|
50036
|
-
|
|
50037
|
-
|
|
50054
|
+
Expose763(),
|
|
50055
|
+
IsDefined262({ message: "El campo Nombre Cliente es obligatorio." }),
|
|
50056
|
+
IsString632()
|
|
50038
50057
|
], Peru9112ClaroENTITY.prototype, "nombre_cliente", 2);
|
|
50039
50058
|
__decorateClass([
|
|
50040
|
-
|
|
50041
|
-
|
|
50042
|
-
|
|
50059
|
+
Expose763(),
|
|
50060
|
+
IsDefined262({ message: "El campo Duraci\xF3n de la actividad es obligatorio." }),
|
|
50061
|
+
IsString632()
|
|
50043
50062
|
], Peru9112ClaroENTITY.prototype, "duracion_de_la_actividad", 2);
|
|
50044
50063
|
__decorateClass([
|
|
50045
|
-
|
|
50046
|
-
|
|
50047
|
-
|
|
50064
|
+
Expose763(),
|
|
50065
|
+
IsDefined262({ message: "El campo Habilidad del trabajo es obligatorio." }),
|
|
50066
|
+
IsString632()
|
|
50048
50067
|
], Peru9112ClaroENTITY.prototype, "habilidad_del_trabajo", 2);
|
|
50049
50068
|
__decorateClass([
|
|
50050
|
-
|
|
50051
|
-
|
|
50052
|
-
|
|
50069
|
+
Expose763(),
|
|
50070
|
+
IsDefined262({ message: "El campo Estado actividad es obligatorio." }),
|
|
50071
|
+
IsString632()
|
|
50053
50072
|
], Peru9112ClaroENTITY.prototype, "estado_actividad", 2);
|
|
50054
50073
|
__decorateClass([
|
|
50055
|
-
|
|
50056
|
-
|
|
50074
|
+
Expose763(),
|
|
50075
|
+
IsDefined262({
|
|
50057
50076
|
message: "El campo Fecha de Registro Legados es obligatorio."
|
|
50058
50077
|
}),
|
|
50059
50078
|
IsDate181({ message: "debe ser una fecha" })
|
|
50060
50079
|
], Peru9112ClaroENTITY.prototype, "fecha_de_registro_legados", 2);
|
|
50061
50080
|
__decorateClass([
|
|
50062
|
-
|
|
50063
|
-
|
|
50064
|
-
|
|
50081
|
+
Expose763(),
|
|
50082
|
+
IsDefined262({ message: "El campo Usuario es obligatorio." }),
|
|
50083
|
+
IsString632()
|
|
50065
50084
|
], Peru9112ClaroENTITY.prototype, "usuario", 2);
|
|
50066
50085
|
__decorateClass([
|
|
50067
|
-
|
|
50068
|
-
|
|
50069
|
-
|
|
50086
|
+
Expose763(),
|
|
50087
|
+
IsDefined262({ message: "El campo Tipo de Cita es obligatorio." }),
|
|
50088
|
+
IsString632()
|
|
50070
50089
|
], Peru9112ClaroENTITY.prototype, "tipo_de_cita", 2);
|
|
50071
50090
|
__decorateClass([
|
|
50072
|
-
|
|
50073
|
-
|
|
50074
|
-
|
|
50091
|
+
Expose763(),
|
|
50092
|
+
IsDefined262({ message: "El campo Observaciones en Legados es obligatorio." }),
|
|
50093
|
+
IsString632()
|
|
50075
50094
|
], Peru9112ClaroENTITY.prototype, "observaciones_en_legados", 2);
|
|
50076
50095
|
__decorateClass([
|
|
50077
|
-
|
|
50078
|
-
|
|
50079
|
-
|
|
50096
|
+
Expose763(),
|
|
50097
|
+
IsDefined262({ message: "El campo Hora inicio actividad es obligatorio." }),
|
|
50098
|
+
IsString632()
|
|
50080
50099
|
], Peru9112ClaroENTITY.prototype, "hora_inicio_actividad", 2);
|
|
50081
50100
|
__decorateClass([
|
|
50082
|
-
|
|
50083
|
-
|
|
50084
|
-
|
|
50101
|
+
Expose763(),
|
|
50102
|
+
IsDefined262({ message: "El campo Hora fin es obligatorio." }),
|
|
50103
|
+
IsString632()
|
|
50085
50104
|
], Peru9112ClaroENTITY.prototype, "hora_fin", 2);
|
|
50086
50105
|
__decorateClass([
|
|
50087
|
-
|
|
50088
|
-
|
|
50106
|
+
Expose763(),
|
|
50107
|
+
IsDefined262({ message: "El campo C\xF3digo de Cliente es obligatorio." }),
|
|
50089
50108
|
IsNumber500()
|
|
50090
50109
|
], Peru9112ClaroENTITY.prototype, "codigo_de_cliente", 2);
|
|
50091
50110
|
__decorateClass([
|
|
50092
|
-
|
|
50093
|
-
|
|
50111
|
+
Expose763(),
|
|
50112
|
+
IsDefined262({
|
|
50094
50113
|
message: "El campo Fecha Registro de Actividad en TOA es obligatorio."
|
|
50095
50114
|
}),
|
|
50096
50115
|
IsDate181({ message: "debe ser una fecha" })
|
|
50097
50116
|
], Peru9112ClaroENTITY.prototype, "fecha_registro_de_actividad_en_toa", 2);
|
|
50098
50117
|
__decorateClass([
|
|
50099
|
-
|
|
50100
|
-
|
|
50101
|
-
|
|
50118
|
+
Expose763(),
|
|
50119
|
+
IsDefined262({ message: "El campo Actividad Gpon es obligatorio." }),
|
|
50120
|
+
IsString632()
|
|
50102
50121
|
], Peru9112ClaroENTITY.prototype, "actividad_gpon", 2);
|
|
50103
50122
|
__decorateClass([
|
|
50104
|
-
|
|
50105
|
-
|
|
50123
|
+
Expose763(),
|
|
50124
|
+
IsDefined262({
|
|
50106
50125
|
message: "El campo Tipo de Tecnolog\xEDa Legados es obligatorio."
|
|
50107
50126
|
}),
|
|
50108
|
-
|
|
50127
|
+
IsString632()
|
|
50109
50128
|
], Peru9112ClaroENTITY.prototype, "tipo_de_tecnologa_legados", 2);
|
|
50110
50129
|
__decorateClass([
|
|
50111
|
-
|
|
50112
|
-
|
|
50130
|
+
Expose763(),
|
|
50131
|
+
IsDefined262({
|
|
50113
50132
|
message: "El campo Velocidad Internet Requerimiento es obligatorio."
|
|
50114
50133
|
}),
|
|
50115
50134
|
IsNumber500()
|
|
50116
50135
|
], Peru9112ClaroENTITY.prototype, "velocidad_internet_requerimiento", 2);
|
|
50117
50136
|
__decorateClass([
|
|
50118
|
-
|
|
50119
|
-
|
|
50137
|
+
Expose763(),
|
|
50138
|
+
IsDefined262({ message: "El campo Planta es obligatorio." }),
|
|
50120
50139
|
ValidateNested414(),
|
|
50121
50140
|
Type474(() => PlantaPeru9112ClaroDTO)
|
|
50122
50141
|
], Peru9112ClaroENTITY.prototype, "planta", 2);
|
|
50123
50142
|
__decorateClass([
|
|
50124
|
-
|
|
50125
|
-
|
|
50143
|
+
Expose763(),
|
|
50144
|
+
IsDefined262({ message: "El campo N\xFAmero Tel\xE9fono es obligatorio." }),
|
|
50126
50145
|
Type474(() => String),
|
|
50127
|
-
|
|
50146
|
+
IsString632()
|
|
50128
50147
|
], Peru9112ClaroENTITY.prototype, "numero_telefono", 2);
|
|
50129
50148
|
__decorateClass([
|
|
50130
|
-
|
|
50131
|
-
|
|
50149
|
+
Expose763(),
|
|
50150
|
+
IsDefined262({ message: "El campo Segmento es obligatorio." }),
|
|
50132
50151
|
IsObject14(),
|
|
50133
50152
|
ValidateNested414(),
|
|
50134
|
-
Type474(() =>
|
|
50153
|
+
Type474(() => SegmentoPeru9112ClaroDTO)
|
|
50135
50154
|
], Peru9112ClaroENTITY.prototype, "segmento", 2);
|
|
50136
50155
|
__decorateClass([
|
|
50137
|
-
|
|
50138
|
-
|
|
50139
|
-
|
|
50156
|
+
Expose763(),
|
|
50157
|
+
IsDefined262({ message: "El campo Sistema Origen es obligatorio." }),
|
|
50158
|
+
IsString632()
|
|
50140
50159
|
], Peru9112ClaroENTITY.prototype, "sistema_origen", 2);
|
|
50141
50160
|
__decorateClass([
|
|
50142
|
-
|
|
50143
|
-
|
|
50161
|
+
Expose763(),
|
|
50162
|
+
IsDefined262({
|
|
50144
50163
|
message: "El campo Estado de Soporte de Planta 101 es obligatorio."
|
|
50145
50164
|
}),
|
|
50146
|
-
|
|
50165
|
+
IsString632()
|
|
50147
50166
|
], Peru9112ClaroENTITY.prototype, "estado_de_soporte_de_planta_101", 2);
|
|
50148
50167
|
__decorateClass([
|
|
50149
|
-
|
|
50150
|
-
|
|
50168
|
+
Expose763(),
|
|
50169
|
+
IsDefined262({
|
|
50151
50170
|
message: "El campo Observaci\xF3n Respuesta de Soporte de Planta 101 es obligatorio."
|
|
50152
50171
|
}),
|
|
50153
|
-
|
|
50172
|
+
IsString632()
|
|
50154
50173
|
], Peru9112ClaroENTITY.prototype, "observacion_respuesta_de_soporte_de_planta_101", 2);
|
|
50155
50174
|
__decorateClass([
|
|
50156
|
-
|
|
50157
|
-
|
|
50175
|
+
Expose763(),
|
|
50176
|
+
IsDefined262({ message: "El campo AccessID es obligatorio." }),
|
|
50158
50177
|
IsNumber500()
|
|
50159
50178
|
], Peru9112ClaroENTITY.prototype, "accessid", 2);
|
|
50160
50179
|
__decorateClass([
|
|
50161
|
-
|
|
50162
|
-
|
|
50163
|
-
|
|
50180
|
+
Expose763(),
|
|
50181
|
+
IsDefined262({ message: "El campo Nombre de Contrata Final es obligatorio." }),
|
|
50182
|
+
IsString632()
|
|
50164
50183
|
], Peru9112ClaroENTITY.prototype, "nombre_de_contrata_final", 2);
|
|
50165
50184
|
__decorateClass([
|
|
50166
|
-
|
|
50167
|
-
|
|
50185
|
+
Expose763(),
|
|
50186
|
+
IsDefined262({
|
|
50168
50187
|
message: "El campo Indicador de Cambio de Tecnolog\xEDa es obligatorio."
|
|
50169
50188
|
}),
|
|
50170
|
-
|
|
50189
|
+
IsString632()
|
|
50171
50190
|
], Peru9112ClaroENTITY.prototype, "indicador_de_cambio_de_tecnologia", 2);
|
|
50172
50191
|
__decorateClass([
|
|
50173
|
-
|
|
50174
|
-
|
|
50175
|
-
|
|
50192
|
+
Expose763(),
|
|
50193
|
+
IsDefined262({ message: "El campo Tel\xE9fono Contacto 2 es obligatorio." }),
|
|
50194
|
+
IsString632()
|
|
50176
50195
|
], Peru9112ClaroENTITY.prototype, "telefono_contacto_2", 2);
|
|
50177
50196
|
__decorateClass([
|
|
50178
|
-
|
|
50179
|
-
|
|
50180
|
-
|
|
50197
|
+
Expose763(),
|
|
50198
|
+
IsDefined262({ message: "El campo Tipo de actividad es obligatorio." }),
|
|
50199
|
+
IsString632()
|
|
50181
50200
|
], Peru9112ClaroENTITY.prototype, "tipo_de_actividad", 2);
|
|
50182
50201
|
__decorateClass([
|
|
50183
|
-
|
|
50184
|
-
|
|
50185
|
-
|
|
50202
|
+
Expose763(),
|
|
50203
|
+
IsDefined262({ message: "El campo Orden Pangea es obligatorio." }),
|
|
50204
|
+
IsString632()
|
|
50186
50205
|
], Peru9112ClaroENTITY.prototype, "orden_pangea", 2);
|
|
50187
50206
|
__decorateClass([
|
|
50188
|
-
|
|
50189
|
-
|
|
50190
|
-
|
|
50207
|
+
Expose763(),
|
|
50208
|
+
IsDefined262({ message: "El campo Reiterada TDI es obligatorio." }),
|
|
50209
|
+
IsString632()
|
|
50191
50210
|
], Peru9112ClaroENTITY.prototype, "reiterada_tdi", 2);
|
|
50192
50211
|
__decorateClass([
|
|
50193
|
-
|
|
50194
|
-
|
|
50195
|
-
|
|
50212
|
+
Expose763(),
|
|
50213
|
+
IsDefined262({ message: "El campo Tecnolog\xEDa TV es obligatorio." }),
|
|
50214
|
+
IsString632()
|
|
50196
50215
|
], Peru9112ClaroENTITY.prototype, "tecnologia_tv", 2);
|
|
50197
50216
|
__decorateClass([
|
|
50198
|
-
|
|
50199
|
-
|
|
50200
|
-
|
|
50217
|
+
Expose763(),
|
|
50218
|
+
IsDefined262({ message: "El campo Canal de agendamiento es obligatorio." }),
|
|
50219
|
+
IsString632()
|
|
50201
50220
|
], Peru9112ClaroENTITY.prototype, "canal_de_agendamiento", 2);
|
|
50202
50221
|
__decorateClass([
|
|
50203
|
-
|
|
50204
|
-
|
|
50205
|
-
|
|
50222
|
+
Expose763(),
|
|
50223
|
+
IsDefined262({ message: "El campo Usuario de agendamiento es obligatorio." }),
|
|
50224
|
+
IsString632()
|
|
50206
50225
|
], Peru9112ClaroENTITY.prototype, "usuario_de_agendamiento", 2);
|
|
50207
50226
|
__decorateClass([
|
|
50208
|
-
|
|
50209
|
-
|
|
50227
|
+
Expose763(),
|
|
50228
|
+
IsDefined262({ message: "El campo Fecha de agendamiento es obligatorio." }),
|
|
50210
50229
|
IsDate181({ message: "debe ser una fecha" })
|
|
50211
50230
|
], Peru9112ClaroENTITY.prototype, "fecha_de_agendamiento", 2);
|
|
50212
50231
|
__decorateClass([
|
|
50213
|
-
|
|
50214
|
-
|
|
50232
|
+
Expose763(),
|
|
50233
|
+
IsDefined262({
|
|
50215
50234
|
message: "El campo Fecha de inicio liquidaci\xF3n es obligatorio."
|
|
50216
50235
|
}),
|
|
50217
50236
|
IsDate181({
|
|
@@ -50219,56 +50238,56 @@ __decorateClass([
|
|
|
50219
50238
|
})
|
|
50220
50239
|
], Peru9112ClaroENTITY.prototype, "activity_start_time", 2);
|
|
50221
50240
|
__decorateClass([
|
|
50222
|
-
|
|
50223
|
-
|
|
50241
|
+
Expose763(),
|
|
50242
|
+
IsDefined262({ message: "El campo Fecha de fin liquidaci\xF3n es obligatorio." }),
|
|
50224
50243
|
IsDate181({ message: "El campo Fecha de fin liquidaci\xF3n debe ser una fecha" })
|
|
50225
50244
|
], Peru9112ClaroENTITY.prototype, "activity_end_time", 2);
|
|
50226
50245
|
__decorateClass([
|
|
50227
|
-
|
|
50228
|
-
|
|
50229
|
-
|
|
50246
|
+
Expose763(),
|
|
50247
|
+
IsDefined262({ message: "El campo Franja de agendamiento es obligatorio." }),
|
|
50248
|
+
IsString632()
|
|
50230
50249
|
], Peru9112ClaroENTITY.prototype, "franja_de_agendamiento", 2);
|
|
50231
50250
|
__decorateClass([
|
|
50232
|
-
|
|
50233
|
-
|
|
50251
|
+
Expose763(),
|
|
50252
|
+
IsDefined262({
|
|
50234
50253
|
message: "El campo \xBFExiste cobertura de Fibra en la zona? es obligatorio."
|
|
50235
50254
|
}),
|
|
50236
|
-
|
|
50255
|
+
IsString632()
|
|
50237
50256
|
], Peru9112ClaroENTITY.prototype, "existe_cobertura_de_fibra_en_la_zona", 2);
|
|
50238
50257
|
__decorateClass([
|
|
50239
|
-
|
|
50240
|
-
|
|
50258
|
+
Expose763(),
|
|
50259
|
+
IsDefined262({
|
|
50241
50260
|
message: "El campo Cliente acepta Soluci\xF3n Anticipada de Reclamo es obligatorio."
|
|
50242
50261
|
}),
|
|
50243
|
-
|
|
50262
|
+
IsString632()
|
|
50244
50263
|
], Peru9112ClaroENTITY.prototype, "cliente_acepta_solucion_anticipada_de_reclamo", 2);
|
|
50245
50264
|
__decorateClass([
|
|
50246
|
-
|
|
50247
|
-
|
|
50248
|
-
|
|
50265
|
+
Expose763(),
|
|
50266
|
+
IsDefined262({ message: "El campo Averia por MxA es obligatorio." }),
|
|
50267
|
+
IsString632()
|
|
50249
50268
|
], Peru9112ClaroENTITY.prototype, "averia_por_mxa", 2);
|
|
50250
50269
|
__decorateClass([
|
|
50251
|
-
|
|
50252
|
-
|
|
50253
|
-
|
|
50270
|
+
Expose763(),
|
|
50271
|
+
IsDefined262({ message: "El campo PEDIDO RECUPERADO es obligatorio." }),
|
|
50272
|
+
IsString632()
|
|
50254
50273
|
], Peru9112ClaroENTITY.prototype, "pedido_recuperado", 2);
|
|
50255
50274
|
__decorateClass([
|
|
50256
|
-
|
|
50257
|
-
|
|
50275
|
+
Expose763(),
|
|
50276
|
+
IsDefined262({
|
|
50258
50277
|
message: "El campo REPROGRAMADO POR PRIORIDAD es obligatorio."
|
|
50259
50278
|
}),
|
|
50260
|
-
|
|
50279
|
+
IsString632()
|
|
50261
50280
|
], Peru9112ClaroENTITY.prototype, "reprogramado_por_prioridad", 2);
|
|
50262
50281
|
__decorateClass([
|
|
50263
|
-
|
|
50264
|
-
|
|
50282
|
+
Expose763(),
|
|
50283
|
+
IsDefined262({ message: "El campo Inventory es obligatorio." }),
|
|
50265
50284
|
IsArray246(),
|
|
50266
50285
|
ValidateNested414({ each: true }),
|
|
50267
50286
|
Type474(() => MaterialesPeru9112ClaroDTO)
|
|
50268
50287
|
], Peru9112ClaroENTITY.prototype, "inventory", 2);
|
|
50269
50288
|
__decorateClass([
|
|
50270
|
-
|
|
50271
|
-
|
|
50289
|
+
Expose763(),
|
|
50290
|
+
IsDefined262({
|
|
50272
50291
|
message: "El campo ProductsServicesContracted es obligatorio."
|
|
50273
50292
|
}),
|
|
50274
50293
|
IsArray246(),
|
|
@@ -50276,79 +50295,79 @@ __decorateClass([
|
|
|
50276
50295
|
Type474(() => ProductosServiciosContratadoPeru9112ClaroDTO)
|
|
50277
50296
|
], Peru9112ClaroENTITY.prototype, "productos_servicios_contratado", 2);
|
|
50278
50297
|
__decorateClass([
|
|
50279
|
-
|
|
50280
|
-
|
|
50298
|
+
Expose763(),
|
|
50299
|
+
IsDefined262({ message: "El campo PB es obligatorio." }),
|
|
50281
50300
|
IsNumber500()
|
|
50282
50301
|
], Peru9112ClaroENTITY.prototype, "PB", 2);
|
|
50283
50302
|
__decorateClass([
|
|
50284
|
-
|
|
50285
|
-
|
|
50303
|
+
Expose763(),
|
|
50304
|
+
IsDefined262({ message: "El campo MO es obligatorio." }),
|
|
50286
50305
|
IsNumber500()
|
|
50287
50306
|
], Peru9112ClaroENTITY.prototype, "MO", 2);
|
|
50288
50307
|
__decorateClass([
|
|
50289
|
-
|
|
50290
|
-
|
|
50308
|
+
Expose763(),
|
|
50309
|
+
IsDefined262({ message: "El campo Gasto_EECC es obligatorio." }),
|
|
50291
50310
|
IsNumber500()
|
|
50292
50311
|
], Peru9112ClaroENTITY.prototype, "Gasto_EECC", 2);
|
|
50293
50312
|
__decorateClass([
|
|
50294
|
-
|
|
50295
|
-
|
|
50313
|
+
Expose763(),
|
|
50314
|
+
IsDefined262({ message: "El campo EECC es obligatorio." }),
|
|
50296
50315
|
ValidateNested414(),
|
|
50297
50316
|
Type474(() => EECCDBTOADTO)
|
|
50298
50317
|
], Peru9112ClaroENTITY.prototype, "EECC", 2);
|
|
50299
50318
|
__decorateClass([
|
|
50300
|
-
|
|
50301
|
-
|
|
50319
|
+
Expose763(),
|
|
50320
|
+
IsDefined262({ message: "El campo AjusteReproceso es obligatorio." })
|
|
50302
50321
|
], Peru9112ClaroENTITY.prototype, "AjusteReproceso", 2);
|
|
50303
50322
|
__decorateClass([
|
|
50304
|
-
|
|
50305
|
-
|
|
50323
|
+
Expose763(),
|
|
50324
|
+
IsDefined262({ message: "El campo Valorizacion es obligatorio." })
|
|
50306
50325
|
], Peru9112ClaroENTITY.prototype, "Valorizacion", 2);
|
|
50307
50326
|
__decorateClass([
|
|
50308
|
-
|
|
50309
|
-
|
|
50310
|
-
|
|
50327
|
+
Expose763(),
|
|
50328
|
+
IsDefined262({ message: "El campo Causa completado reparaci\xF3n y preventivo ADSL es obligatorio." }),
|
|
50329
|
+
IsString632()
|
|
50311
50330
|
], Peru9112ClaroENTITY.prototype, "causa_completado_reparacion_y_preventivo_adsl", 2);
|
|
50312
50331
|
__decorateClass([
|
|
50313
|
-
|
|
50314
|
-
|
|
50315
|
-
|
|
50332
|
+
Expose763(),
|
|
50333
|
+
IsDefined262({ message: "El campo C\xF3digo completado reparaci\xF3n y preventivo ADSL es obligatorio." }),
|
|
50334
|
+
IsString632()
|
|
50316
50335
|
], Peru9112ClaroENTITY.prototype, "codigo_completado_reparacion_y_preventivo_adsl", 2);
|
|
50317
50336
|
__decorateClass([
|
|
50318
|
-
|
|
50319
|
-
|
|
50320
|
-
|
|
50337
|
+
Expose763(),
|
|
50338
|
+
IsDefined262({ message: "El campo Causa completado reparaci\xF3n y preventivo STB es obligatorio." }),
|
|
50339
|
+
IsString632()
|
|
50321
50340
|
], Peru9112ClaroENTITY.prototype, "causa_completado_reparacion_y_preventivo_stb", 2);
|
|
50322
50341
|
__decorateClass([
|
|
50323
|
-
|
|
50324
|
-
|
|
50325
|
-
|
|
50342
|
+
Expose763(),
|
|
50343
|
+
IsDefined262({ message: "El campo C\xF3digo completado reparaci\xF3n y preventivo STB es obligatorio." }),
|
|
50344
|
+
IsString632()
|
|
50326
50345
|
], Peru9112ClaroENTITY.prototype, "codigo_completado_reparacion_y_preventivo_stb", 2);
|
|
50327
50346
|
__decorateClass([
|
|
50328
|
-
|
|
50329
|
-
|
|
50347
|
+
Expose763(),
|
|
50348
|
+
IsDefined262({ message: "El campo EstadoProceso es obligatorio." }),
|
|
50330
50349
|
ValidateNested414(),
|
|
50331
50350
|
Type474(() => EstadoProcesoValPeru9112ClaroDTO)
|
|
50332
50351
|
], Peru9112ClaroENTITY.prototype, "EstadoProceso", 2);
|
|
50333
50352
|
|
|
50334
50353
|
// src/v2/dtos/CodeName.ts
|
|
50335
|
-
import { Expose as
|
|
50336
|
-
import { IsDefined as
|
|
50354
|
+
import { Expose as Expose764, Transform as Transform111 } from "class-transformer";
|
|
50355
|
+
import { IsDefined as IsDefined263, IsString as IsString633, MinLength as MinLength56 } from "class-validator";
|
|
50337
50356
|
var CodeNameDto = class {
|
|
50338
50357
|
code;
|
|
50339
50358
|
name;
|
|
50340
50359
|
};
|
|
50341
50360
|
__decorateClass([
|
|
50342
50361
|
Transform111(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50343
|
-
|
|
50344
|
-
|
|
50345
|
-
|
|
50362
|
+
IsDefined263({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
50363
|
+
IsString633({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
50364
|
+
Expose764()
|
|
50346
50365
|
], CodeNameDto.prototype, "code", 2);
|
|
50347
50366
|
__decorateClass([
|
|
50348
50367
|
Transform111(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50349
|
-
|
|
50350
|
-
|
|
50351
|
-
|
|
50368
|
+
IsDefined263({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
50369
|
+
IsString633({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
50370
|
+
Expose764()
|
|
50352
50371
|
], CodeNameDto.prototype, "name", 2);
|
|
50353
50372
|
var CodeNameMinLengthDto = class extends CodeNameDto {
|
|
50354
50373
|
};
|
|
@@ -50360,32 +50379,32 @@ __decorateClass([
|
|
|
50360
50379
|
], CodeNameMinLengthDto.prototype, "name", 2);
|
|
50361
50380
|
|
|
50362
50381
|
// src/v2/dtos/Login.ts
|
|
50363
|
-
import { Expose as
|
|
50364
|
-
import { IsDefined as
|
|
50382
|
+
import { Expose as Expose765, Transform as Transform112 } from "class-transformer";
|
|
50383
|
+
import { IsDefined as IsDefined264, IsEmail as IsEmail4, Length as Length340 } from "class-validator";
|
|
50365
50384
|
var LoginDto = class {
|
|
50366
50385
|
email = "";
|
|
50367
50386
|
password = "";
|
|
50368
50387
|
};
|
|
50369
50388
|
__decorateClass([
|
|
50370
50389
|
Transform112(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
50371
|
-
|
|
50390
|
+
IsDefined264({ message: "Debe proporcionar un email" }),
|
|
50372
50391
|
IsEmail4({}, { message: "El email es inv\xE1lido" }),
|
|
50373
|
-
|
|
50392
|
+
Expose765()
|
|
50374
50393
|
], LoginDto.prototype, "email", 2);
|
|
50375
50394
|
__decorateClass([
|
|
50376
50395
|
Transform112(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50377
|
-
|
|
50396
|
+
IsDefined264({ message: "Debe proporcionar una contrase\xF1a" }),
|
|
50378
50397
|
Length340(8, 20, { message: "La contrase\xF1a debe tener entre 8 y 20 caracteres" }),
|
|
50379
|
-
|
|
50398
|
+
Expose765()
|
|
50380
50399
|
], LoginDto.prototype, "password", 2);
|
|
50381
50400
|
|
|
50382
50401
|
// src/v2/dtos/PayloadToken.ts
|
|
50383
|
-
import { IsDefined as
|
|
50384
|
-
import { Expose as
|
|
50402
|
+
import { IsDefined as IsDefined267, IsObject as IsObject15, ValidateNested as ValidateNested415 } from "class-validator";
|
|
50403
|
+
import { Expose as Expose768, Type as Type475 } from "class-transformer";
|
|
50385
50404
|
|
|
50386
50405
|
// src/v2/dtos/AuthUser.ts
|
|
50387
|
-
import { IsBoolean as IsBoolean68, IsDefined as
|
|
50388
|
-
import { Expose as
|
|
50406
|
+
import { IsBoolean as IsBoolean68, IsDefined as IsDefined265, IsEmail as IsEmail5, IsString as IsString634, IsUUID as IsUUID20, ValidateIf as ValidateIf6 } from "class-validator";
|
|
50407
|
+
import { Expose as Expose766, Transform as Transform113 } from "class-transformer";
|
|
50389
50408
|
var AuthUserDto = class {
|
|
50390
50409
|
email;
|
|
50391
50410
|
paternalLastName;
|
|
@@ -50396,67 +50415,67 @@ var AuthUserDto = class {
|
|
|
50396
50415
|
profileId;
|
|
50397
50416
|
};
|
|
50398
50417
|
__decorateClass([
|
|
50399
|
-
|
|
50418
|
+
IsDefined265({ message: "El correo es requerido" }),
|
|
50400
50419
|
IsEmail5({}, { message: "El correo es invalido" }),
|
|
50401
50420
|
Transform113(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
50402
|
-
|
|
50421
|
+
Expose766()
|
|
50403
50422
|
], AuthUserDto.prototype, "email", 2);
|
|
50404
50423
|
__decorateClass([
|
|
50405
50424
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50406
|
-
|
|
50407
|
-
|
|
50408
|
-
|
|
50425
|
+
IsDefined265({ message: "El apellido paterno es requerido" }),
|
|
50426
|
+
IsString634({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
50427
|
+
Expose766()
|
|
50409
50428
|
], AuthUserDto.prototype, "paternalLastName", 2);
|
|
50410
50429
|
__decorateClass([
|
|
50411
50430
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50412
|
-
|
|
50413
|
-
|
|
50414
|
-
|
|
50431
|
+
IsDefined265({ message: "El apellido materno es requerido" }),
|
|
50432
|
+
IsString634({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
50433
|
+
Expose766()
|
|
50415
50434
|
], AuthUserDto.prototype, "maternalLastName", 2);
|
|
50416
50435
|
__decorateClass([
|
|
50417
50436
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50418
|
-
|
|
50419
|
-
|
|
50420
|
-
|
|
50437
|
+
IsDefined265({ message: "El nombre es requerido" }),
|
|
50438
|
+
IsString634({ message: "El nombre debe ser una cadena de texto" }),
|
|
50439
|
+
Expose766()
|
|
50421
50440
|
], AuthUserDto.prototype, "firstNames", 2);
|
|
50422
50441
|
__decorateClass([
|
|
50423
50442
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50424
|
-
|
|
50425
|
-
|
|
50426
|
-
|
|
50443
|
+
IsDefined265({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
50444
|
+
IsString634({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
50445
|
+
Expose766()
|
|
50427
50446
|
], AuthUserDto.prototype, "identification", 2);
|
|
50428
50447
|
__decorateClass([
|
|
50429
|
-
|
|
50448
|
+
IsDefined265({ message: 'La propiedad "root" es obligatoria.' }),
|
|
50430
50449
|
IsBoolean68({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
50431
|
-
|
|
50450
|
+
Expose766()
|
|
50432
50451
|
], AuthUserDto.prototype, "root", 2);
|
|
50433
50452
|
__decorateClass([
|
|
50434
|
-
|
|
50453
|
+
IsDefined265({ message: "El campo Perfil es obligatorio" }),
|
|
50435
50454
|
ValidateIf6((_, value) => value !== ""),
|
|
50436
50455
|
IsUUID20("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
50437
|
-
|
|
50456
|
+
Expose766()
|
|
50438
50457
|
], AuthUserDto.prototype, "profileId", 2);
|
|
50439
50458
|
|
|
50440
50459
|
// src/v2/dtos/Profile.ts
|
|
50441
|
-
import { Expose as
|
|
50442
|
-
import { IsDefined as
|
|
50460
|
+
import { Expose as Expose767, Transform as Transform114 } from "class-transformer";
|
|
50461
|
+
import { IsDefined as IsDefined266, IsString as IsString635, Length as Length341 } from "class-validator";
|
|
50443
50462
|
var ProfileDto = class {
|
|
50444
50463
|
name;
|
|
50445
50464
|
description;
|
|
50446
50465
|
};
|
|
50447
50466
|
__decorateClass([
|
|
50448
|
-
|
|
50467
|
+
IsDefined266({ message: "El campo nombre es requerido" }),
|
|
50449
50468
|
Transform114(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50450
|
-
|
|
50469
|
+
IsString635({ message: "debe ser una cadena de texto" }),
|
|
50451
50470
|
Length341(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50452
|
-
|
|
50471
|
+
Expose767()
|
|
50453
50472
|
], ProfileDto.prototype, "name", 2);
|
|
50454
50473
|
__decorateClass([
|
|
50455
|
-
|
|
50474
|
+
IsDefined266({ message: "El campo descripci\xF3n es requerido" }),
|
|
50456
50475
|
Transform114(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50457
|
-
|
|
50476
|
+
IsString635({ message: "debe ser una cadena de texto" }),
|
|
50458
50477
|
Length341(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50459
|
-
|
|
50478
|
+
Expose767()
|
|
50460
50479
|
], ProfileDto.prototype, "description", 2);
|
|
50461
50480
|
|
|
50462
50481
|
// src/v2/dtos/PayloadToken.ts
|
|
@@ -50470,42 +50489,42 @@ var PayloadTokenDto = class {
|
|
|
50470
50489
|
__decorateClass([
|
|
50471
50490
|
ValidateNested415(),
|
|
50472
50491
|
Type475(() => AuthUserDto),
|
|
50473
|
-
|
|
50492
|
+
Expose768()
|
|
50474
50493
|
], PayloadTokenDto.prototype, "user", 2);
|
|
50475
50494
|
__decorateClass([
|
|
50476
50495
|
ValidateNested415(),
|
|
50477
50496
|
Type475(() => ProfileDto),
|
|
50478
|
-
|
|
50497
|
+
Expose768()
|
|
50479
50498
|
], PayloadTokenDto.prototype, "profile", 2);
|
|
50480
50499
|
__decorateClass([
|
|
50481
|
-
|
|
50500
|
+
IsDefined267({ message: "La empresa es requerida" }),
|
|
50482
50501
|
Type475(() => CodeNameDto),
|
|
50483
50502
|
ValidateNested415(),
|
|
50484
50503
|
IsObject15(),
|
|
50485
|
-
|
|
50504
|
+
Expose768()
|
|
50486
50505
|
], PayloadTokenDto.prototype, "company", 2);
|
|
50487
50506
|
__decorateClass([
|
|
50488
|
-
|
|
50507
|
+
IsDefined267({ message: "debe proporcionar el pa\xEDs" }),
|
|
50489
50508
|
ValidateNested415(),
|
|
50490
50509
|
Type475(() => CodeNameMinLengthDto),
|
|
50491
50510
|
IsObject15(),
|
|
50492
|
-
|
|
50511
|
+
Expose768()
|
|
50493
50512
|
], PayloadTokenDto.prototype, "country", 2);
|
|
50494
50513
|
__decorateClass([
|
|
50495
|
-
|
|
50514
|
+
IsDefined267({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
50496
50515
|
ValidateNested415(),
|
|
50497
50516
|
Type475(() => CodeNameMinLengthDto),
|
|
50498
50517
|
IsObject15(),
|
|
50499
|
-
|
|
50518
|
+
Expose768()
|
|
50500
50519
|
], PayloadTokenDto.prototype, "delegation", 2);
|
|
50501
50520
|
|
|
50502
50521
|
// src/v2/dtos/ResponseSignIn.ts
|
|
50503
|
-
import { IsArray as IsArray249, IsDefined as
|
|
50504
|
-
import { Expose as
|
|
50522
|
+
import { IsArray as IsArray249, IsDefined as IsDefined269, IsObject as IsObject16, IsString as IsString637, MinLength as MinLength58, ValidateNested as ValidateNested416 } from "class-validator";
|
|
50523
|
+
import { Expose as Expose770, Type as Type476 } from "class-transformer";
|
|
50505
50524
|
|
|
50506
50525
|
// src/v2/entities/SystemOption.ts
|
|
50507
|
-
import { Expose as
|
|
50508
|
-
import { IsBoolean as IsBoolean70, IsDefined as
|
|
50526
|
+
import { Expose as Expose769 } from "class-transformer";
|
|
50527
|
+
import { IsBoolean as IsBoolean70, IsDefined as IsDefined268, IsNotEmpty as IsNotEmpty461, IsString as IsString636, IsUUID as IsUUID22 } from "class-validator";
|
|
50509
50528
|
var SystemOptionEntity = class {
|
|
50510
50529
|
_id;
|
|
50511
50530
|
key;
|
|
@@ -50517,39 +50536,39 @@ var SystemOptionEntity = class {
|
|
|
50517
50536
|
root;
|
|
50518
50537
|
};
|
|
50519
50538
|
__decorateClass([
|
|
50520
|
-
|
|
50539
|
+
IsDefined268({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
50521
50540
|
IsUUID22("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
50522
|
-
|
|
50541
|
+
Expose769()
|
|
50523
50542
|
], SystemOptionEntity.prototype, "_id", 2);
|
|
50524
50543
|
__decorateClass([
|
|
50525
50544
|
IsNotEmpty461({ message: "Key no puede estar vac\xEDo" }),
|
|
50526
|
-
|
|
50527
|
-
|
|
50545
|
+
IsString636({ message: "Key debe ser una cadena de texto" }),
|
|
50546
|
+
Expose769()
|
|
50528
50547
|
], SystemOptionEntity.prototype, "key", 2);
|
|
50529
50548
|
__decorateClass([
|
|
50530
|
-
|
|
50531
|
-
|
|
50549
|
+
IsString636({ message: "Nombre debe ser una cadena de texto" }),
|
|
50550
|
+
Expose769()
|
|
50532
50551
|
], SystemOptionEntity.prototype, "name", 2);
|
|
50533
50552
|
__decorateClass([
|
|
50534
50553
|
IsNotEmpty461({ message: "Prefijo no puede estar vac\xEDo" }),
|
|
50535
|
-
|
|
50536
|
-
|
|
50554
|
+
IsString636({ message: "Prefijo debe ser una cadena de texto" }),
|
|
50555
|
+
Expose769()
|
|
50537
50556
|
], SystemOptionEntity.prototype, "prefix", 2);
|
|
50538
50557
|
__decorateClass([
|
|
50539
|
-
|
|
50540
|
-
|
|
50558
|
+
IsString636({ message: "M\xE9todo debe ser una cadena de texto" }),
|
|
50559
|
+
Expose769()
|
|
50541
50560
|
], SystemOptionEntity.prototype, "method", 2);
|
|
50542
50561
|
__decorateClass([
|
|
50543
|
-
|
|
50544
|
-
|
|
50562
|
+
IsString636({ message: "Padre debe ser una cadena de texto" }),
|
|
50563
|
+
Expose769()
|
|
50545
50564
|
], SystemOptionEntity.prototype, "father", 2);
|
|
50546
50565
|
__decorateClass([
|
|
50547
|
-
|
|
50548
|
-
|
|
50566
|
+
IsString636({ message: "Padre debe ser una cadena de texto" }),
|
|
50567
|
+
Expose769()
|
|
50549
50568
|
], SystemOptionEntity.prototype, "route", 2);
|
|
50550
50569
|
__decorateClass([
|
|
50551
50570
|
IsBoolean70({ message: "Root debe ser booleano" }),
|
|
50552
|
-
|
|
50571
|
+
Expose769()
|
|
50553
50572
|
], SystemOptionEntity.prototype, "root", 2);
|
|
50554
50573
|
|
|
50555
50574
|
// src/v2/dtos/ResponseSignIn.ts
|
|
@@ -50559,42 +50578,42 @@ var ResponseSignInDto = class {
|
|
|
50559
50578
|
tags = [];
|
|
50560
50579
|
};
|
|
50561
50580
|
__decorateClass([
|
|
50562
|
-
|
|
50581
|
+
IsDefined269({ message: "El usuario es requerido" }),
|
|
50563
50582
|
IsObject16({ message: "El usuario debe ser un objeto" }),
|
|
50564
50583
|
ValidateNested416(),
|
|
50565
50584
|
Type476(() => PayloadTokenDto),
|
|
50566
|
-
|
|
50585
|
+
Expose770()
|
|
50567
50586
|
], ResponseSignInDto.prototype, "auth", 2);
|
|
50568
50587
|
__decorateClass([
|
|
50569
50588
|
IsArray249({ message: "La propiedad debe ser un arreglo" }),
|
|
50570
50589
|
ValidateNested416({ each: true, message: "Cada elemento de la propiedad debe ser una instancia v\xE1lida" }),
|
|
50571
50590
|
Type476(() => SystemOptionEntity),
|
|
50572
|
-
|
|
50591
|
+
Expose770()
|
|
50573
50592
|
], ResponseSignInDto.prototype, "dataSystemOptions", 2);
|
|
50574
50593
|
__decorateClass([
|
|
50575
50594
|
IsArray249({ message: "Tags debe ser un arreglo" }),
|
|
50576
|
-
|
|
50595
|
+
IsString637({ each: true, message: "Cada elemento de tags debe ser una cadena de texto v\xE1lida" }),
|
|
50577
50596
|
MinLength58(1, { each: true, message: "Cada tag debe tener al menos un car\xE1cter" }),
|
|
50578
|
-
|
|
50597
|
+
Expose770()
|
|
50579
50598
|
], ResponseSignInDto.prototype, "tags", 2);
|
|
50580
50599
|
|
|
50581
50600
|
// src/v2/dtos/ForgotPassword.ts
|
|
50582
|
-
import { Expose as
|
|
50583
|
-
import { IsDefined as
|
|
50601
|
+
import { Expose as Expose771, Transform as Transform115 } from "class-transformer";
|
|
50602
|
+
import { IsDefined as IsDefined270, IsEmail as IsEmail6 } from "class-validator";
|
|
50584
50603
|
var ForgotPasswordDto = class {
|
|
50585
50604
|
email = "";
|
|
50586
50605
|
};
|
|
50587
50606
|
__decorateClass([
|
|
50588
50607
|
Transform115(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
50589
|
-
|
|
50608
|
+
IsDefined270({ message: "Debe proporcionar un email" }),
|
|
50590
50609
|
IsEmail6({}, { message: "El email es inv\xE1lido" }),
|
|
50591
|
-
|
|
50610
|
+
Expose771()
|
|
50592
50611
|
], ForgotPasswordDto.prototype, "email", 2);
|
|
50593
50612
|
|
|
50594
50613
|
// src/v2/dtos/ResetPassword.ts
|
|
50595
|
-
import { Expose as
|
|
50614
|
+
import { Expose as Expose772 } from "class-transformer";
|
|
50596
50615
|
import {
|
|
50597
|
-
IsString as
|
|
50616
|
+
IsString as IsString638,
|
|
50598
50617
|
MinLength as MinLength59,
|
|
50599
50618
|
IsStrongPassword
|
|
50600
50619
|
} from "class-validator";
|
|
@@ -50604,26 +50623,26 @@ var ResetPasswordDto = class {
|
|
|
50604
50623
|
token = "";
|
|
50605
50624
|
};
|
|
50606
50625
|
__decorateClass([
|
|
50607
|
-
|
|
50626
|
+
IsString638(),
|
|
50608
50627
|
MinLength59(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
50609
50628
|
IsStrongPassword({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
50610
|
-
|
|
50629
|
+
Expose772()
|
|
50611
50630
|
], ResetPasswordDto.prototype, "password", 2);
|
|
50612
50631
|
__decorateClass([
|
|
50613
|
-
|
|
50632
|
+
IsString638(),
|
|
50614
50633
|
MinLength59(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
50615
50634
|
IsStrongPassword({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
50616
|
-
|
|
50635
|
+
Expose772()
|
|
50617
50636
|
], ResetPasswordDto.prototype, "confirmPassword", 2);
|
|
50618
50637
|
__decorateClass([
|
|
50619
|
-
|
|
50638
|
+
IsString638(),
|
|
50620
50639
|
MinLength59(50),
|
|
50621
|
-
|
|
50640
|
+
Expose772()
|
|
50622
50641
|
], ResetPasswordDto.prototype, "token", 2);
|
|
50623
50642
|
|
|
50624
50643
|
// src/v2/dtos/CreateProfile.ts
|
|
50625
|
-
import { Expose as
|
|
50626
|
-
import { IsArray as IsArray250, IsDefined as
|
|
50644
|
+
import { Expose as Expose773, Transform as Transform116 } from "class-transformer";
|
|
50645
|
+
import { IsArray as IsArray250, IsDefined as IsDefined271, IsString as IsString639, Length as Length343, MinLength as MinLength60, IsUUID as IsUUID23 } from "class-validator";
|
|
50627
50646
|
var CreateProfileDto = class {
|
|
50628
50647
|
_id;
|
|
50629
50648
|
name;
|
|
@@ -50631,35 +50650,35 @@ var CreateProfileDto = class {
|
|
|
50631
50650
|
systemOptions;
|
|
50632
50651
|
};
|
|
50633
50652
|
__decorateClass([
|
|
50634
|
-
|
|
50653
|
+
IsDefined271({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
50635
50654
|
IsUUID23("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
50636
|
-
|
|
50655
|
+
Expose773()
|
|
50637
50656
|
], CreateProfileDto.prototype, "_id", 2);
|
|
50638
50657
|
__decorateClass([
|
|
50639
|
-
|
|
50658
|
+
IsDefined271({ message: "El campo nombre es requerido" }),
|
|
50640
50659
|
Transform116(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50641
|
-
|
|
50660
|
+
IsString639({ message: "debe ser una cadena de texto" }),
|
|
50642
50661
|
Length343(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50643
|
-
|
|
50662
|
+
Expose773()
|
|
50644
50663
|
], CreateProfileDto.prototype, "name", 2);
|
|
50645
50664
|
__decorateClass([
|
|
50646
|
-
|
|
50665
|
+
IsDefined271({ message: "El campo descripci\xF3n es requerido" }),
|
|
50647
50666
|
Transform116(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50648
|
-
|
|
50667
|
+
IsString639({ message: "debe ser una cadena de texto" }),
|
|
50649
50668
|
Length343(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50650
|
-
|
|
50669
|
+
Expose773()
|
|
50651
50670
|
], CreateProfileDto.prototype, "description", 2);
|
|
50652
50671
|
__decorateClass([
|
|
50653
|
-
|
|
50672
|
+
IsDefined271({ message: "El campo opciones de sistema es requerido" }),
|
|
50654
50673
|
IsArray250({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
50655
|
-
|
|
50674
|
+
IsString639({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
50656
50675
|
MinLength60(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
50657
|
-
|
|
50676
|
+
Expose773()
|
|
50658
50677
|
], CreateProfileDto.prototype, "systemOptions", 2);
|
|
50659
50678
|
|
|
50660
50679
|
// src/v2/dtos/UpdateProfile.ts
|
|
50661
|
-
import { Expose as
|
|
50662
|
-
import { IsArray as IsArray251, IsDefined as
|
|
50680
|
+
import { Expose as Expose774, Transform as Transform117 } from "class-transformer";
|
|
50681
|
+
import { IsArray as IsArray251, IsDefined as IsDefined272, IsString as IsString640, Length as Length344, MinLength as MinLength61, IsBoolean as IsBoolean72 } from "class-validator";
|
|
50663
50682
|
var UpdateProfileDto = class {
|
|
50664
50683
|
active;
|
|
50665
50684
|
name;
|
|
@@ -50667,70 +50686,70 @@ var UpdateProfileDto = class {
|
|
|
50667
50686
|
systemOptions;
|
|
50668
50687
|
};
|
|
50669
50688
|
__decorateClass([
|
|
50670
|
-
|
|
50689
|
+
IsDefined272({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
50671
50690
|
IsBoolean72({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
50672
|
-
|
|
50691
|
+
Expose774()
|
|
50673
50692
|
], UpdateProfileDto.prototype, "active", 2);
|
|
50674
50693
|
__decorateClass([
|
|
50675
|
-
|
|
50694
|
+
IsDefined272({ message: "El campo nombre es requerido" }),
|
|
50676
50695
|
Transform117(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50677
|
-
|
|
50696
|
+
IsString640({ message: "debe ser una cadena de texto" }),
|
|
50678
50697
|
Length344(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50679
|
-
|
|
50698
|
+
Expose774()
|
|
50680
50699
|
], UpdateProfileDto.prototype, "name", 2);
|
|
50681
50700
|
__decorateClass([
|
|
50682
|
-
|
|
50701
|
+
IsDefined272({ message: "El campo descripci\xF3n es requerido" }),
|
|
50683
50702
|
Transform117(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50684
|
-
|
|
50703
|
+
IsString640({ message: "debe ser una cadena de texto" }),
|
|
50685
50704
|
Length344(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50686
|
-
|
|
50705
|
+
Expose774()
|
|
50687
50706
|
], UpdateProfileDto.prototype, "description", 2);
|
|
50688
50707
|
__decorateClass([
|
|
50689
|
-
|
|
50708
|
+
IsDefined272({ message: "El campo opciones de sistema es requerido" }),
|
|
50690
50709
|
IsArray251({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
50691
|
-
|
|
50710
|
+
IsString640({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
50692
50711
|
MinLength61(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
50693
|
-
|
|
50712
|
+
Expose774()
|
|
50694
50713
|
], UpdateProfileDto.prototype, "systemOptions", 2);
|
|
50695
50714
|
|
|
50696
50715
|
// src/v2/dtos/Company.ts
|
|
50697
|
-
import { Expose as
|
|
50698
|
-
import { IsDefined as
|
|
50716
|
+
import { Expose as Expose775 } from "class-transformer";
|
|
50717
|
+
import { IsDefined as IsDefined273, IsUUID as IsUUID25 } from "class-validator";
|
|
50699
50718
|
var CompanyDto = class {
|
|
50700
50719
|
_id;
|
|
50701
50720
|
countryId;
|
|
50702
50721
|
};
|
|
50703
50722
|
__decorateClass([
|
|
50704
|
-
|
|
50723
|
+
IsDefined273({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
50705
50724
|
IsUUID25("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
50706
|
-
|
|
50725
|
+
Expose775()
|
|
50707
50726
|
], CompanyDto.prototype, "_id", 2);
|
|
50708
50727
|
__decorateClass([
|
|
50709
|
-
|
|
50728
|
+
IsDefined273({ message: "El campo pa\xEDs es requerido" }),
|
|
50710
50729
|
IsUUID25("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
50711
|
-
|
|
50730
|
+
Expose775()
|
|
50712
50731
|
], CompanyDto.prototype, "countryId", 2);
|
|
50713
50732
|
|
|
50714
50733
|
// src/v2/entities/Delegation.ts
|
|
50715
|
-
import { Expose as
|
|
50716
|
-
import { IsDefined as
|
|
50734
|
+
import { Expose as Expose777 } from "class-transformer";
|
|
50735
|
+
import { IsDefined as IsDefined275, IsNotEmpty as IsNotEmpty463, IsString as IsString642, IsUUID as IsUUID27 } from "class-validator";
|
|
50717
50736
|
|
|
50718
50737
|
// src/v2/entities/Base.ts
|
|
50719
|
-
import { Expose as
|
|
50720
|
-
import { IsBoolean as IsBoolean74, IsDefined as
|
|
50738
|
+
import { Expose as Expose776 } from "class-transformer";
|
|
50739
|
+
import { IsBoolean as IsBoolean74, IsDefined as IsDefined274, IsUUID as IsUUID26 } from "class-validator";
|
|
50721
50740
|
var BaseEntity = class {
|
|
50722
50741
|
_id;
|
|
50723
50742
|
active;
|
|
50724
50743
|
};
|
|
50725
50744
|
__decorateClass([
|
|
50726
|
-
|
|
50745
|
+
IsDefined274({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
50727
50746
|
IsUUID26("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
50728
|
-
|
|
50747
|
+
Expose776()
|
|
50729
50748
|
], BaseEntity.prototype, "_id", 2);
|
|
50730
50749
|
__decorateClass([
|
|
50731
|
-
|
|
50750
|
+
IsDefined274({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
50732
50751
|
IsBoolean74({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
50733
|
-
|
|
50752
|
+
Expose776()
|
|
50734
50753
|
], BaseEntity.prototype, "active", 2);
|
|
50735
50754
|
|
|
50736
50755
|
// src/v2/entities/Delegation.ts
|
|
@@ -50740,26 +50759,26 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
50740
50759
|
name;
|
|
50741
50760
|
};
|
|
50742
50761
|
__decorateClass([
|
|
50743
|
-
|
|
50762
|
+
IsDefined275({ message: "El campo pais es obligatorio" }),
|
|
50744
50763
|
IsUUID27("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
50745
|
-
|
|
50764
|
+
Expose777()
|
|
50746
50765
|
], DelegationEntity.prototype, "countryId", 2);
|
|
50747
50766
|
__decorateClass([
|
|
50748
|
-
|
|
50749
|
-
|
|
50767
|
+
IsDefined275({ message: "El campo c\xF3digo es obligatorio." }),
|
|
50768
|
+
IsString642({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
50750
50769
|
IsNotEmpty463({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
50751
|
-
|
|
50770
|
+
Expose777()
|
|
50752
50771
|
], DelegationEntity.prototype, "code", 2);
|
|
50753
50772
|
__decorateClass([
|
|
50754
|
-
|
|
50755
|
-
|
|
50773
|
+
IsDefined275({ message: "El campo nombre es obligatorio." }),
|
|
50774
|
+
IsString642({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
50756
50775
|
IsNotEmpty463({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
50757
|
-
|
|
50776
|
+
Expose777()
|
|
50758
50777
|
], DelegationEntity.prototype, "name", 2);
|
|
50759
50778
|
|
|
50760
50779
|
// src/v2/entities/User.ts
|
|
50761
|
-
import { IsArray as IsArray253, IsBoolean as IsBoolean75, IsDefined as
|
|
50762
|
-
import { Expose as
|
|
50780
|
+
import { IsArray as IsArray253, IsBoolean as IsBoolean75, IsDefined as IsDefined276, IsEmail as IsEmail8, IsString as IsString643, IsUUID as IsUUID28, ValidateIf as ValidateIf7, ValidateNested as ValidateNested417 } from "class-validator";
|
|
50781
|
+
import { Expose as Expose778, Transform as Transform118, Type as Type477 } from "class-transformer";
|
|
50763
50782
|
var UserEntity = class extends BaseEntity {
|
|
50764
50783
|
email;
|
|
50765
50784
|
password;
|
|
@@ -50773,114 +50792,114 @@ var UserEntity = class extends BaseEntity {
|
|
|
50773
50792
|
profileId;
|
|
50774
50793
|
};
|
|
50775
50794
|
__decorateClass([
|
|
50776
|
-
|
|
50795
|
+
IsDefined276({ message: "El correo es requerido" }),
|
|
50777
50796
|
IsEmail8({}, { message: "El correo es invalido" }),
|
|
50778
50797
|
Transform118(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
50779
|
-
|
|
50798
|
+
Expose778()
|
|
50780
50799
|
], UserEntity.prototype, "email", 2);
|
|
50781
50800
|
__decorateClass([
|
|
50782
50801
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50783
|
-
|
|
50784
|
-
|
|
50785
|
-
|
|
50802
|
+
IsDefined276({ message: "La contrase\xF1a es requerida" }),
|
|
50803
|
+
IsString643({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
50804
|
+
Expose778()
|
|
50786
50805
|
], UserEntity.prototype, "password", 2);
|
|
50787
50806
|
__decorateClass([
|
|
50788
50807
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50789
|
-
|
|
50790
|
-
|
|
50791
|
-
|
|
50808
|
+
IsDefined276({ message: "El apellido paterno es requerido" }),
|
|
50809
|
+
IsString643({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
50810
|
+
Expose778()
|
|
50792
50811
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
50793
50812
|
__decorateClass([
|
|
50794
50813
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50795
|
-
|
|
50796
|
-
|
|
50797
|
-
|
|
50814
|
+
IsDefined276({ message: "El apellido materno es requerido" }),
|
|
50815
|
+
IsString643({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
50816
|
+
Expose778()
|
|
50798
50817
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
50799
50818
|
__decorateClass([
|
|
50800
50819
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50801
|
-
|
|
50802
|
-
|
|
50803
|
-
|
|
50820
|
+
IsDefined276({ message: "El nombre es requerido" }),
|
|
50821
|
+
IsString643({ message: "El nombre debe ser una cadena de texto" }),
|
|
50822
|
+
Expose778()
|
|
50804
50823
|
], UserEntity.prototype, "firstNames", 2);
|
|
50805
50824
|
__decorateClass([
|
|
50806
50825
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50807
|
-
|
|
50808
|
-
|
|
50809
|
-
|
|
50826
|
+
IsDefined276({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
50827
|
+
IsString643({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
50828
|
+
Expose778()
|
|
50810
50829
|
], UserEntity.prototype, "identification", 2);
|
|
50811
50830
|
__decorateClass([
|
|
50812
|
-
|
|
50831
|
+
IsDefined276({ message: "El campo empresas es requerido" }),
|
|
50813
50832
|
IsArray253({ message: "El campo empresas debe ser un array" }),
|
|
50814
50833
|
Type477(() => CompanyDto),
|
|
50815
50834
|
ValidateNested417({ each: true }),
|
|
50816
|
-
|
|
50835
|
+
Expose778()
|
|
50817
50836
|
], UserEntity.prototype, "companies", 2);
|
|
50818
50837
|
__decorateClass([
|
|
50819
|
-
|
|
50838
|
+
IsDefined276({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
50820
50839
|
IsArray253({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
50821
50840
|
IsUUID28("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
50822
|
-
|
|
50841
|
+
Expose778()
|
|
50823
50842
|
], UserEntity.prototype, "delegationIds", 2);
|
|
50824
50843
|
__decorateClass([
|
|
50825
|
-
|
|
50844
|
+
IsDefined276({ message: 'La propiedad "root" es obligatoria.' }),
|
|
50826
50845
|
IsBoolean75({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
50827
|
-
|
|
50846
|
+
Expose778()
|
|
50828
50847
|
], UserEntity.prototype, "root", 2);
|
|
50829
50848
|
__decorateClass([
|
|
50830
|
-
|
|
50849
|
+
IsDefined276({ message: "El campo Perfil es obligatorio" }),
|
|
50831
50850
|
ValidateIf7((_, value) => value !== ""),
|
|
50832
50851
|
IsUUID28("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
50833
|
-
|
|
50852
|
+
Expose778()
|
|
50834
50853
|
], UserEntity.prototype, "profileId", 2);
|
|
50835
50854
|
|
|
50836
50855
|
// src/v2/entities/Profile.ts
|
|
50837
|
-
import { Expose as
|
|
50838
|
-
import { IsArray as IsArray254, IsDefined as
|
|
50856
|
+
import { Expose as Expose779, Transform as Transform119 } from "class-transformer";
|
|
50857
|
+
import { IsArray as IsArray254, IsDefined as IsDefined277, IsString as IsString644, Length as Length345, MinLength as MinLength62 } from "class-validator";
|
|
50839
50858
|
var ProfileEntity = class extends BaseEntity {
|
|
50840
50859
|
name;
|
|
50841
50860
|
description;
|
|
50842
50861
|
systemOptions;
|
|
50843
50862
|
};
|
|
50844
50863
|
__decorateClass([
|
|
50845
|
-
|
|
50864
|
+
IsDefined277({ message: "El campo nombre es requerido" }),
|
|
50846
50865
|
Transform119(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50847
|
-
|
|
50866
|
+
IsString644({ message: "debe ser una cadena de texto" }),
|
|
50848
50867
|
Length345(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50849
|
-
|
|
50868
|
+
Expose779()
|
|
50850
50869
|
], ProfileEntity.prototype, "name", 2);
|
|
50851
50870
|
__decorateClass([
|
|
50852
|
-
|
|
50871
|
+
IsDefined277({ message: "El campo descripci\xF3n es requerido" }),
|
|
50853
50872
|
Transform119(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50854
|
-
|
|
50873
|
+
IsString644({ message: "debe ser una cadena de texto" }),
|
|
50855
50874
|
Length345(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50856
|
-
|
|
50875
|
+
Expose779()
|
|
50857
50876
|
], ProfileEntity.prototype, "description", 2);
|
|
50858
50877
|
__decorateClass([
|
|
50859
|
-
|
|
50878
|
+
IsDefined277({ message: "El campo opciones de sistema es requerido" }),
|
|
50860
50879
|
IsArray254({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
50861
|
-
|
|
50880
|
+
IsString644({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
50862
50881
|
MinLength62(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
50863
|
-
|
|
50882
|
+
Expose779()
|
|
50864
50883
|
], ProfileEntity.prototype, "systemOptions", 2);
|
|
50865
50884
|
|
|
50866
50885
|
// src/v2/entities/Country.ts
|
|
50867
|
-
import { Expose as
|
|
50868
|
-
import { IsDefined as
|
|
50886
|
+
import { Expose as Expose780 } from "class-transformer";
|
|
50887
|
+
import { IsDefined as IsDefined278, IsNotEmpty as IsNotEmpty464, IsString as IsString645 } from "class-validator";
|
|
50869
50888
|
var CountryEntity = class extends BaseEntity {
|
|
50870
50889
|
code;
|
|
50871
50890
|
name;
|
|
50872
50891
|
};
|
|
50873
50892
|
__decorateClass([
|
|
50874
|
-
|
|
50875
|
-
|
|
50893
|
+
IsDefined278({ message: "El campo c\xF3digo es obligatorio." }),
|
|
50894
|
+
IsString645({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
50876
50895
|
IsNotEmpty464({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
50877
|
-
|
|
50896
|
+
Expose780()
|
|
50878
50897
|
], CountryEntity.prototype, "code", 2);
|
|
50879
50898
|
__decorateClass([
|
|
50880
|
-
|
|
50881
|
-
|
|
50899
|
+
IsDefined278({ message: "El campo nombre es obligatorio." }),
|
|
50900
|
+
IsString645({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
50882
50901
|
IsNotEmpty464({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
50883
|
-
|
|
50902
|
+
Expose780()
|
|
50884
50903
|
], CountryEntity.prototype, "name", 2);
|
|
50885
50904
|
|
|
50886
50905
|
// src/v2/enums/CompanyType.ts
|
|
@@ -50891,8 +50910,8 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
50891
50910
|
})(CompanyType || {});
|
|
50892
50911
|
|
|
50893
50912
|
// src/v2/entities/Company.ts
|
|
50894
|
-
import { Expose as
|
|
50895
|
-
import { IsArray as IsArray255, IsBoolean as IsBoolean76, IsDefined as
|
|
50913
|
+
import { Expose as Expose781 } from "class-transformer";
|
|
50914
|
+
import { IsArray as IsArray255, IsBoolean as IsBoolean76, IsDefined as IsDefined279, IsEmail as IsEmail9, IsEnum as IsEnum42, IsNotEmpty as IsNotEmpty465, IsString as IsString646, IsUUID as IsUUID29 } from "class-validator";
|
|
50896
50915
|
var CompanyEntity = class extends BaseEntity {
|
|
50897
50916
|
companyType;
|
|
50898
50917
|
identification;
|
|
@@ -50906,62 +50925,62 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
50906
50925
|
countryId;
|
|
50907
50926
|
};
|
|
50908
50927
|
__decorateClass([
|
|
50909
|
-
|
|
50928
|
+
IsDefined279({ message: "El tipo de empresa es requerido" }),
|
|
50910
50929
|
IsEnum42(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
50911
|
-
|
|
50930
|
+
Expose781()
|
|
50912
50931
|
], CompanyEntity.prototype, "companyType", 2);
|
|
50913
50932
|
__decorateClass([
|
|
50914
|
-
|
|
50915
|
-
|
|
50933
|
+
IsDefined279({ message: "La identificaci\xF3n es requerida" }),
|
|
50934
|
+
IsString646({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
50916
50935
|
IsNotEmpty465({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
50917
|
-
|
|
50936
|
+
Expose781()
|
|
50918
50937
|
], CompanyEntity.prototype, "identification", 2);
|
|
50919
50938
|
__decorateClass([
|
|
50920
|
-
|
|
50921
|
-
|
|
50939
|
+
IsDefined279({ message: "El c\xF3digo es requerido" }),
|
|
50940
|
+
IsString646({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
50922
50941
|
IsNotEmpty465({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
50923
|
-
|
|
50942
|
+
Expose781()
|
|
50924
50943
|
], CompanyEntity.prototype, "code", 2);
|
|
50925
50944
|
__decorateClass([
|
|
50926
|
-
|
|
50927
|
-
|
|
50945
|
+
IsDefined279({ message: "El nombre legal es requerido" }),
|
|
50946
|
+
IsString646({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
50928
50947
|
IsNotEmpty465({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
50929
|
-
|
|
50948
|
+
Expose781()
|
|
50930
50949
|
], CompanyEntity.prototype, "legalName", 2);
|
|
50931
50950
|
__decorateClass([
|
|
50932
|
-
|
|
50933
|
-
|
|
50951
|
+
IsDefined279({ message: "El nombre comercial es requerido" }),
|
|
50952
|
+
IsString646({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
50934
50953
|
IsNotEmpty465({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
50935
|
-
|
|
50954
|
+
Expose781()
|
|
50936
50955
|
], CompanyEntity.prototype, "tradeName", 2);
|
|
50937
50956
|
__decorateClass([
|
|
50938
|
-
|
|
50957
|
+
IsDefined279({ message: "La propiedad es propia es requerida" }),
|
|
50939
50958
|
IsBoolean76({ message: "La propiedad es propia debe ser un booleano" }),
|
|
50940
|
-
|
|
50959
|
+
Expose781()
|
|
50941
50960
|
], CompanyEntity.prototype, "isOwn", 2);
|
|
50942
50961
|
__decorateClass([
|
|
50943
|
-
|
|
50944
|
-
|
|
50962
|
+
IsDefined279({ message: "La direcci\xF3n es requerida" }),
|
|
50963
|
+
IsString646({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
50945
50964
|
IsNotEmpty465({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
50946
|
-
|
|
50965
|
+
Expose781()
|
|
50947
50966
|
], CompanyEntity.prototype, "address", 2);
|
|
50948
50967
|
__decorateClass([
|
|
50949
|
-
|
|
50968
|
+
IsDefined279({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
50950
50969
|
IsArray255({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
50951
50970
|
IsEmail9({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
50952
|
-
|
|
50971
|
+
Expose781()
|
|
50953
50972
|
], CompanyEntity.prototype, "emails", 2);
|
|
50954
50973
|
__decorateClass([
|
|
50955
|
-
|
|
50974
|
+
IsDefined279({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
50956
50975
|
IsArray255({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
50957
|
-
|
|
50976
|
+
IsString646({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
50958
50977
|
IsNotEmpty465({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
50959
|
-
|
|
50978
|
+
Expose781()
|
|
50960
50979
|
], CompanyEntity.prototype, "phones", 2);
|
|
50961
50980
|
__decorateClass([
|
|
50962
|
-
|
|
50981
|
+
IsDefined279({ message: "El campo pa\xEDs es requerido" }),
|
|
50963
50982
|
IsUUID29("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
50964
|
-
|
|
50983
|
+
Expose781()
|
|
50965
50984
|
], CompanyEntity.prototype, "countryId", 2);
|
|
50966
50985
|
|
|
50967
50986
|
// src/v2/utils/validateCustom.ts
|
|
@@ -51687,6 +51706,7 @@ export {
|
|
|
51687
51706
|
SalidaAlmacenENTITY,
|
|
51688
51707
|
ScrapingCredentialENTITY,
|
|
51689
51708
|
SegmentoDBDTO,
|
|
51709
|
+
SegmentoPeru9112ClaroDTO,
|
|
51690
51710
|
SeguimientoObraDTO,
|
|
51691
51711
|
SiNoEnum,
|
|
51692
51712
|
SincronizacionPersonalDTO,
|