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