sigo-entities 1.2.428 → 1.2.430
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 +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +69 -69
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8038,7 +8038,7 @@ declare class Chile9512TOAENTITY {
|
|
|
8038
8038
|
ID_Recurso: string;
|
|
8039
8039
|
Peticion: string;
|
|
8040
8040
|
Orden: string;
|
|
8041
|
-
AccessId:
|
|
8041
|
+
AccessId: string;
|
|
8042
8042
|
DPX: string;
|
|
8043
8043
|
DPY: string;
|
|
8044
8044
|
PVA: number;
|
|
@@ -8061,9 +8061,9 @@ declare class Chile9512TOAENTITY {
|
|
|
8061
8061
|
PlantaAsignada: string;
|
|
8062
8062
|
Armario: string;
|
|
8063
8063
|
OLT: string;
|
|
8064
|
-
Fecha_Reclamo:
|
|
8065
|
-
Fecha_Cita:
|
|
8066
|
-
Fecha_Liquidacion:
|
|
8064
|
+
Fecha_Reclamo: Date;
|
|
8065
|
+
Fecha_Cita: Date;
|
|
8066
|
+
Fecha_Liquidacion: Date;
|
|
8067
8067
|
SLA_Inicio: string;
|
|
8068
8068
|
SLA_Fin: string;
|
|
8069
8069
|
TICA: string;
|
|
@@ -8094,7 +8094,7 @@ declare class Chile9512TOAENTITY {
|
|
|
8094
8094
|
TipoFibra: string;
|
|
8095
8095
|
Reutilización_de_Drop: string;
|
|
8096
8096
|
EstadoProceso: EstadoTOADTO;
|
|
8097
|
-
Fecha_Proceso:
|
|
8097
|
+
Fecha_Proceso: Date;
|
|
8098
8098
|
Bitacora: BitacoraTOADTO[];
|
|
8099
8099
|
}
|
|
8100
8100
|
|
package/dist/index.d.ts
CHANGED
|
@@ -8038,7 +8038,7 @@ declare class Chile9512TOAENTITY {
|
|
|
8038
8038
|
ID_Recurso: string;
|
|
8039
8039
|
Peticion: string;
|
|
8040
8040
|
Orden: string;
|
|
8041
|
-
AccessId:
|
|
8041
|
+
AccessId: string;
|
|
8042
8042
|
DPX: string;
|
|
8043
8043
|
DPY: string;
|
|
8044
8044
|
PVA: number;
|
|
@@ -8061,9 +8061,9 @@ declare class Chile9512TOAENTITY {
|
|
|
8061
8061
|
PlantaAsignada: string;
|
|
8062
8062
|
Armario: string;
|
|
8063
8063
|
OLT: string;
|
|
8064
|
-
Fecha_Reclamo:
|
|
8065
|
-
Fecha_Cita:
|
|
8066
|
-
Fecha_Liquidacion:
|
|
8064
|
+
Fecha_Reclamo: Date;
|
|
8065
|
+
Fecha_Cita: Date;
|
|
8066
|
+
Fecha_Liquidacion: Date;
|
|
8067
8067
|
SLA_Inicio: string;
|
|
8068
8068
|
SLA_Fin: string;
|
|
8069
8069
|
TICA: string;
|
|
@@ -8094,7 +8094,7 @@ declare class Chile9512TOAENTITY {
|
|
|
8094
8094
|
TipoFibra: string;
|
|
8095
8095
|
Reutilización_de_Drop: string;
|
|
8096
8096
|
EstadoProceso: EstadoTOADTO;
|
|
8097
|
-
Fecha_Proceso:
|
|
8097
|
+
Fecha_Proceso: Date;
|
|
8098
8098
|
Bitacora: BitacoraTOADTO[];
|
|
8099
8099
|
}
|
|
8100
8100
|
|
package/dist/index.mjs
CHANGED
|
@@ -41682,9 +41682,9 @@ import {
|
|
|
41682
41682
|
IsNumber as IsNumber452,
|
|
41683
41683
|
ValidateNested as ValidateNested395,
|
|
41684
41684
|
IsArray as IsArray230,
|
|
41685
|
-
IsObject as
|
|
41685
|
+
IsObject as IsObject8,
|
|
41686
41686
|
IsDate as IsDate155,
|
|
41687
|
-
IsUUID as
|
|
41687
|
+
IsUUID as IsUUID6
|
|
41688
41688
|
} from "class-validator";
|
|
41689
41689
|
import "reflect-metadata";
|
|
41690
41690
|
var Colombia9612TOAENTITY = class {
|
|
@@ -41753,7 +41753,7 @@ var Colombia9612TOAENTITY = class {
|
|
|
41753
41753
|
};
|
|
41754
41754
|
__decorateClass([
|
|
41755
41755
|
IsDefined214({ message: "El campo _id es obligatorio." }),
|
|
41756
|
-
|
|
41756
|
+
IsUUID6("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
41757
41757
|
Expose704({ name: "_id" })
|
|
41758
41758
|
], Colombia9612TOAENTITY.prototype, "_id", 2);
|
|
41759
41759
|
__decorateClass([
|
|
@@ -41895,7 +41895,7 @@ __decorateClass([
|
|
|
41895
41895
|
__decorateClass([
|
|
41896
41896
|
Expose704({ name: "Segmento" }),
|
|
41897
41897
|
IsDefined214({ message: "El campo Segmento es obligatorio." }),
|
|
41898
|
-
|
|
41898
|
+
IsObject8(),
|
|
41899
41899
|
ValidateNested395(),
|
|
41900
41900
|
Type448(() => ToaSegmentoDTO)
|
|
41901
41901
|
], Colombia9612TOAENTITY.prototype, "segmento", 2);
|
|
@@ -43044,7 +43044,7 @@ __decorateClass([
|
|
|
43044
43044
|
|
|
43045
43045
|
// src/operativa/procesos/TOA order stock/shared/index.ts
|
|
43046
43046
|
import { Expose as Expose714, Type as Type452 } from "class-transformer";
|
|
43047
|
-
import { IsArray as IsArray232, IsDefined as IsDefined224, IsEnum as IsEnum21, IsNotEmpty as IsNotEmpty454, IsNumber as IsNumber461, IsString as IsString585, IsUUID as
|
|
43047
|
+
import { IsArray as IsArray232, IsDefined as IsDefined224, IsEnum as IsEnum21, IsNotEmpty as IsNotEmpty454, IsNumber as IsNumber461, IsString as IsString585, IsUUID as IsUUID7, MaxLength as MaxLength2, ValidateNested as ValidateNested399 } from "class-validator";
|
|
43048
43048
|
var TOAOrderStockENTITY = class {
|
|
43049
43049
|
_id;
|
|
43050
43050
|
id_recurso;
|
|
@@ -43061,7 +43061,7 @@ var TOAOrderStockENTITY = class {
|
|
|
43061
43061
|
};
|
|
43062
43062
|
__decorateClass([
|
|
43063
43063
|
IsDefined224({ message: "El campo _id es obligatorio." }),
|
|
43064
|
-
|
|
43064
|
+
IsUUID7("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
43065
43065
|
Expose714({ name: "_id" })
|
|
43066
43066
|
], TOAOrderStockENTITY.prototype, "_id", 2);
|
|
43067
43067
|
__decorateClass([
|
|
@@ -43130,7 +43130,7 @@ import {
|
|
|
43130
43130
|
IsString as IsString586,
|
|
43131
43131
|
IsDefined as IsDefined225,
|
|
43132
43132
|
MinLength as MinLength55,
|
|
43133
|
-
IsUUID as
|
|
43133
|
+
IsUUID as IsUUID8,
|
|
43134
43134
|
IsDate as IsDate159
|
|
43135
43135
|
} from "class-validator";
|
|
43136
43136
|
var RequestNumberTTLENTITY = class {
|
|
@@ -43140,7 +43140,7 @@ var RequestNumberTTLENTITY = class {
|
|
|
43140
43140
|
};
|
|
43141
43141
|
__decorateClass([
|
|
43142
43142
|
IsDefined225({ message: "El campo _id es obligatorio." }),
|
|
43143
|
-
|
|
43143
|
+
IsUUID8("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
43144
43144
|
Expose715({ name: "_id" })
|
|
43145
43145
|
], RequestNumberTTLENTITY.prototype, "_id", 2);
|
|
43146
43146
|
__decorateClass([
|
|
@@ -43166,7 +43166,7 @@ import {
|
|
|
43166
43166
|
IsDate as IsDate163,
|
|
43167
43167
|
IsEnum as IsEnum23,
|
|
43168
43168
|
IsNumber as IsNumber465,
|
|
43169
|
-
IsUUID as
|
|
43169
|
+
IsUUID as IsUUID9
|
|
43170
43170
|
} from "class-validator";
|
|
43171
43171
|
import "reflect-metadata";
|
|
43172
43172
|
|
|
@@ -43761,7 +43761,7 @@ var Peru9112WinENTITY = class {
|
|
|
43761
43761
|
};
|
|
43762
43762
|
__decorateClass([
|
|
43763
43763
|
IsDefined229({ message: "El campo _id es obligatorio." }),
|
|
43764
|
-
|
|
43764
|
+
IsUUID9("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
43765
43765
|
Expose719({ name: "_id" })
|
|
43766
43766
|
], Peru9112WinENTITY.prototype, "_id", 2);
|
|
43767
43767
|
__decorateClass([
|
|
@@ -43948,7 +43948,7 @@ import {
|
|
|
43948
43948
|
IsArray as IsArray236,
|
|
43949
43949
|
IsDate as IsDate165,
|
|
43950
43950
|
IsEnum as IsEnum25,
|
|
43951
|
-
IsUUID as
|
|
43951
|
+
IsUUID as IsUUID10
|
|
43952
43952
|
} from "class-validator";
|
|
43953
43953
|
import "reflect-metadata";
|
|
43954
43954
|
|
|
@@ -44319,7 +44319,7 @@ var Peru9112FibramasENTITY = class {
|
|
|
44319
44319
|
};
|
|
44320
44320
|
__decorateClass([
|
|
44321
44321
|
IsDefined233({ message: "El campo _id es obligatorio." }),
|
|
44322
|
-
|
|
44322
|
+
IsUUID10("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
44323
44323
|
Expose723({ name: "_id" })
|
|
44324
44324
|
], Peru9112FibramasENTITY.prototype, "_id", 2);
|
|
44325
44325
|
__decorateClass([
|
|
@@ -44486,7 +44486,7 @@ import {
|
|
|
44486
44486
|
IsNotEmpty as IsNotEmpty455,
|
|
44487
44487
|
IsNumber as IsNumber470,
|
|
44488
44488
|
IsString as IsString595,
|
|
44489
|
-
IsUUID as
|
|
44489
|
+
IsUUID as IsUUID11,
|
|
44490
44490
|
MaxLength as MaxLength3
|
|
44491
44491
|
} from "class-validator";
|
|
44492
44492
|
var OrderStockENTITY = class {
|
|
@@ -44503,7 +44503,7 @@ var OrderStockENTITY = class {
|
|
|
44503
44503
|
};
|
|
44504
44504
|
__decorateClass([
|
|
44505
44505
|
IsDefined234({ message: "El campo _id es obligatorio." }),
|
|
44506
|
-
|
|
44506
|
+
IsUUID11("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
44507
44507
|
Expose724()
|
|
44508
44508
|
], OrderStockENTITY.prototype, "_id", 2);
|
|
44509
44509
|
__decorateClass([
|
|
@@ -44562,7 +44562,7 @@ import {
|
|
|
44562
44562
|
IsNotEmpty as IsNotEmpty456,
|
|
44563
44563
|
IsNumber as IsNumber471,
|
|
44564
44564
|
IsString as IsString596,
|
|
44565
|
-
IsUUID as
|
|
44565
|
+
IsUUID as IsUUID12,
|
|
44566
44566
|
MaxLength as MaxLength4
|
|
44567
44567
|
} from "class-validator";
|
|
44568
44568
|
var OrderStockStoreENTITY = class {
|
|
@@ -44578,7 +44578,7 @@ var OrderStockStoreENTITY = class {
|
|
|
44578
44578
|
};
|
|
44579
44579
|
__decorateClass([
|
|
44580
44580
|
IsDefined235({ message: "El campo _id es obligatorio." }),
|
|
44581
|
-
|
|
44581
|
+
IsUUID12("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
44582
44582
|
Expose725()
|
|
44583
44583
|
], OrderStockStoreENTITY.prototype, "_id", 2);
|
|
44584
44584
|
__decorateClass([
|
|
@@ -44626,7 +44626,7 @@ __decorateClass([
|
|
|
44626
44626
|
|
|
44627
44627
|
// src/operativa/procesos/TOA orden liquidacion/shared/index.ts
|
|
44628
44628
|
import { Expose as Expose726, Type as Type460 } from "class-transformer";
|
|
44629
|
-
import { IsArray as IsArray237, IsDefined as IsDefined236, IsEnum as IsEnum28, IsNotEmpty as IsNotEmpty457, IsNumber as IsNumber472, IsObject as
|
|
44629
|
+
import { IsArray as IsArray237, IsDefined as IsDefined236, IsEnum as IsEnum28, IsNotEmpty as IsNotEmpty457, IsNumber as IsNumber472, IsObject as IsObject11, IsString as IsString597, IsUUID as IsUUID13, Matches as Matches4, ValidateNested as ValidateNested404 } from "class-validator";
|
|
44630
44630
|
import { Transform as Transform102 } from "class-transformer";
|
|
44631
44631
|
import { IsDate as IsDate166, Length as Length338 } from "class-validator";
|
|
44632
44632
|
var ContestoEnum = /* @__PURE__ */ ((ContestoEnum2) => {
|
|
@@ -44721,7 +44721,7 @@ var TOAOrdenLiquidacionENTITY = class {
|
|
|
44721
44721
|
};
|
|
44722
44722
|
__decorateClass([
|
|
44723
44723
|
IsDefined236({ message: "El campo _id es obligatorio." }),
|
|
44724
|
-
|
|
44724
|
+
IsUUID13("4", { message: "La propiedad _id debe ser un UUID v4 v\xE1lido." }),
|
|
44725
44725
|
Expose726({ name: "_id" })
|
|
44726
44726
|
], TOAOrdenLiquidacionENTITY.prototype, "_id", 2);
|
|
44727
44727
|
__decorateClass([
|
|
@@ -44816,7 +44816,7 @@ __decorateClass([
|
|
|
44816
44816
|
__decorateClass([
|
|
44817
44817
|
Expose726({ name: "Segmento" }),
|
|
44818
44818
|
IsDefined236({ message: "El campo Segmento es obligatorio." }),
|
|
44819
|
-
|
|
44819
|
+
IsObject11(),
|
|
44820
44820
|
ValidateNested404(),
|
|
44821
44821
|
Type460(() => ToaSegmentoDTO)
|
|
44822
44822
|
], TOAOrdenLiquidacionENTITY.prototype, "segmento", 2);
|
|
@@ -44867,9 +44867,9 @@ import {
|
|
|
44867
44867
|
IsDefined as IsDefined237,
|
|
44868
44868
|
IsEnum as IsEnum29,
|
|
44869
44869
|
IsNumber as IsNumber473,
|
|
44870
|
-
IsObject as
|
|
44870
|
+
IsObject as IsObject12,
|
|
44871
44871
|
IsString as IsString598,
|
|
44872
|
-
IsUUID as
|
|
44872
|
+
IsUUID as IsUUID14,
|
|
44873
44873
|
ValidateNested as ValidateNested405
|
|
44874
44874
|
} from "class-validator";
|
|
44875
44875
|
var TOAOrdenLiquidacionENTITYDB = class {
|
|
@@ -44899,7 +44899,7 @@ var TOAOrdenLiquidacionENTITYDB = class {
|
|
|
44899
44899
|
};
|
|
44900
44900
|
__decorateClass([
|
|
44901
44901
|
IsDefined237({ message: "El campo _id es obligatorio." }),
|
|
44902
|
-
|
|
44902
|
+
IsUUID14("4", { message: "La propiedad _id debe ser un UUID v4 v\xE1lido." }),
|
|
44903
44903
|
Expose727({ name: "_id" })
|
|
44904
44904
|
], TOAOrdenLiquidacionENTITYDB.prototype, "_id", 2);
|
|
44905
44905
|
__decorateClass([
|
|
@@ -44985,7 +44985,7 @@ __decorateClass([
|
|
|
44985
44985
|
__decorateClass([
|
|
44986
44986
|
Expose727(),
|
|
44987
44987
|
IsDefined237({ message: "El campo Segmento es obligatorio." }),
|
|
44988
|
-
|
|
44988
|
+
IsObject12(),
|
|
44989
44989
|
ValidateNested405(),
|
|
44990
44990
|
Type461(() => ToaSegmentoDBDTO)
|
|
44991
44991
|
], TOAOrdenLiquidacionENTITYDB.prototype, "segmento", 2);
|
|
@@ -45028,7 +45028,7 @@ __decorateClass([
|
|
|
45028
45028
|
|
|
45029
45029
|
// src/operativa/procesos/TOA Claro order stock/shared/index.ts
|
|
45030
45030
|
import { Expose as Expose728, Type as Type462 } from "class-transformer";
|
|
45031
|
-
import { IsArray as IsArray239, IsDefined as IsDefined238, IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty458, IsNumber as IsNumber474, IsString as IsString599, IsUUID as
|
|
45031
|
+
import { IsArray as IsArray239, IsDefined as IsDefined238, IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty458, IsNumber as IsNumber474, IsString as IsString599, IsUUID as IsUUID15, MaxLength as MaxLength5, ValidateNested as ValidateNested406 } from "class-validator";
|
|
45032
45032
|
var TOAClaroOrderStockENTITY = class {
|
|
45033
45033
|
_id;
|
|
45034
45034
|
id_recurso;
|
|
@@ -45043,7 +45043,7 @@ var TOAClaroOrderStockENTITY = class {
|
|
|
45043
45043
|
};
|
|
45044
45044
|
__decorateClass([
|
|
45045
45045
|
IsDefined238({ message: "El campo _id es obligatorio." }),
|
|
45046
|
-
|
|
45046
|
+
IsUUID15("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
45047
45047
|
Expose728()
|
|
45048
45048
|
], TOAClaroOrderStockENTITY.prototype, "_id", 2);
|
|
45049
45049
|
__decorateClass([
|
|
@@ -45098,7 +45098,7 @@ __decorateClass([
|
|
|
45098
45098
|
|
|
45099
45099
|
// src/operativa/procesos/cliente_waoo/shared/index.ts
|
|
45100
45100
|
import { Expose as Expose729, Type as Type463 } from "class-transformer";
|
|
45101
|
-
import { IsArray as IsArray240, IsDate as IsDate167, IsEnum as IsEnum31, IsNumber as IsNumber475, IsString as IsString600, IsUUID as
|
|
45101
|
+
import { IsArray as IsArray240, IsDate as IsDate167, IsEnum as IsEnum31, IsNumber as IsNumber475, IsString as IsString600, IsUUID as IsUUID16, Min as Min340, ValidateNested as ValidateNested407 } from "class-validator";
|
|
45102
45102
|
var EECCClienteWAOODTO = class {
|
|
45103
45103
|
RUC = "";
|
|
45104
45104
|
RazonSocial = "";
|
|
@@ -45197,7 +45197,7 @@ var ClienteWAOOENTITY = class {
|
|
|
45197
45197
|
};
|
|
45198
45198
|
__decorateClass([
|
|
45199
45199
|
Expose729(),
|
|
45200
|
-
|
|
45200
|
+
IsUUID16(),
|
|
45201
45201
|
Type463(() => String)
|
|
45202
45202
|
], ClienteWAOOENTITY.prototype, "_id", 2);
|
|
45203
45203
|
__decorateClass([
|
|
@@ -45435,7 +45435,7 @@ __decorateClass([
|
|
|
45435
45435
|
|
|
45436
45436
|
// src/operativa/procesos/stb_dth_toaperu/shared/index.ts
|
|
45437
45437
|
import { Expose as Expose732, Type as Type466 } from "class-transformer";
|
|
45438
|
-
import { IsNumber as IsNumber478, IsString as IsString603, ValidateNested as ValidateNested409, IsEnum as IsEnum32, IsDefined as IsDefined241, IsArray as IsArray242, IsUUID as
|
|
45438
|
+
import { IsNumber as IsNumber478, IsString as IsString603, ValidateNested as ValidateNested409, IsEnum as IsEnum32, IsDefined as IsDefined241, IsArray as IsArray242, IsUUID as IsUUID17, IsObject as IsObject13, IsDate as IsDate168 } from "class-validator";
|
|
45439
45439
|
|
|
45440
45440
|
// src/operativa/procesos/stb_dth_toaperu/shared/dto/stb_dth_toaplanta.ts
|
|
45441
45441
|
import { Expose as Expose730, Type as Type464 } from "class-transformer";
|
|
@@ -45642,7 +45642,7 @@ var STB_DTH_ToaENTITY = class {
|
|
|
45642
45642
|
};
|
|
45643
45643
|
__decorateClass([
|
|
45644
45644
|
IsDefined241({ message: "El campo _id es obligatorio." }),
|
|
45645
|
-
|
|
45645
|
+
IsUUID17("4", { message: "La propiedad _id debe ser un UUID v4 v\xE1lido." }),
|
|
45646
45646
|
Expose732()
|
|
45647
45647
|
], STB_DTH_ToaENTITY.prototype, "_id", 2);
|
|
45648
45648
|
__decorateClass([
|
|
@@ -45798,7 +45798,7 @@ __decorateClass([
|
|
|
45798
45798
|
__decorateClass([
|
|
45799
45799
|
Expose732(),
|
|
45800
45800
|
IsDefined241({ message: "El campo planta es obligatorio." }),
|
|
45801
|
-
|
|
45801
|
+
IsObject13(),
|
|
45802
45802
|
ValidateNested409(),
|
|
45803
45803
|
Type466(() => STB_DTH_ToaPlanta)
|
|
45804
45804
|
], STB_DTH_ToaENTITY.prototype, "planta", 2);
|
|
@@ -45811,7 +45811,7 @@ __decorateClass([
|
|
|
45811
45811
|
__decorateClass([
|
|
45812
45812
|
Expose732(),
|
|
45813
45813
|
IsDefined241({ message: "El campo segmento es obligatorio." }),
|
|
45814
|
-
|
|
45814
|
+
IsObject13(),
|
|
45815
45815
|
ValidateNested409(),
|
|
45816
45816
|
Type466(() => SegmentoDBDTO)
|
|
45817
45817
|
], STB_DTH_ToaENTITY.prototype, "segmento", 2);
|
|
@@ -46003,8 +46003,8 @@ import {
|
|
|
46003
46003
|
ValidateNested as ValidateNested410,
|
|
46004
46004
|
IsDate as IsDate175,
|
|
46005
46005
|
IsNumber as IsNumber487,
|
|
46006
|
-
IsUUID as
|
|
46007
|
-
IsObject as
|
|
46006
|
+
IsUUID as IsUUID18,
|
|
46007
|
+
IsObject as IsObject14,
|
|
46008
46008
|
IsArray as IsArray243,
|
|
46009
46009
|
IsEnum as IsEnum33
|
|
46010
46010
|
} from "class-validator";
|
|
@@ -47489,7 +47489,7 @@ var TuvesENTITY = class {
|
|
|
47489
47489
|
};
|
|
47490
47490
|
__decorateClass([
|
|
47491
47491
|
IsDefined250(),
|
|
47492
|
-
|
|
47492
|
+
IsUUID18("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
47493
47493
|
Expose741()
|
|
47494
47494
|
], TuvesENTITY.prototype, "_id", 2);
|
|
47495
47495
|
__decorateClass([
|
|
@@ -47627,7 +47627,7 @@ __decorateClass([
|
|
|
47627
47627
|
__decorateClass([
|
|
47628
47628
|
Expose741(),
|
|
47629
47629
|
IsDefined250(),
|
|
47630
|
-
|
|
47630
|
+
IsObject14(),
|
|
47631
47631
|
ValidateNested410(),
|
|
47632
47632
|
Type469(() => ToaSegmentoDBDTO)
|
|
47633
47633
|
], TuvesENTITY.prototype, "segmento", 2);
|
|
@@ -47841,7 +47841,7 @@ __decorateClass([
|
|
|
47841
47841
|
|
|
47842
47842
|
// src/operativa/procesos/tuves_order_stock/shared/index.ts
|
|
47843
47843
|
import { Expose as Expose742 } from "class-transformer";
|
|
47844
|
-
import { IsDefined as IsDefined251, IsEnum as IsEnum34, IsNotEmpty as IsNotEmpty459, IsNumber as IsNumber488, IsString as IsString613, IsUUID as
|
|
47844
|
+
import { IsDefined as IsDefined251, IsEnum as IsEnum34, IsNotEmpty as IsNotEmpty459, IsNumber as IsNumber488, IsString as IsString613, IsUUID as IsUUID19, MaxLength as MaxLength6 } from "class-validator";
|
|
47845
47845
|
var TuvesOrderStockENTITY = class {
|
|
47846
47846
|
_id;
|
|
47847
47847
|
id_recurso;
|
|
@@ -47856,7 +47856,7 @@ var TuvesOrderStockENTITY = class {
|
|
|
47856
47856
|
};
|
|
47857
47857
|
__decorateClass([
|
|
47858
47858
|
IsDefined251({ message: "El campo _id es obligatorio." }),
|
|
47859
|
-
|
|
47859
|
+
IsUUID19("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
47860
47860
|
Expose742()
|
|
47861
47861
|
], TuvesOrderStockENTITY.prototype, "_id", 2);
|
|
47862
47862
|
__decorateClass([
|
|
@@ -50605,7 +50605,7 @@ __decorateClass([
|
|
|
50605
50605
|
|
|
50606
50606
|
// src/operativa/procesos/Tdc order stock/shared/index.ts
|
|
50607
50607
|
import { Expose as Expose762, Type as Type477 } from "class-transformer";
|
|
50608
|
-
import { IsArray as IsArray247, IsDefined as IsDefined265, IsEnum as IsEnum40, IsNotEmpty as IsNotEmpty460, IsNumber as IsNumber500, IsString as IsString631, IsUUID as
|
|
50608
|
+
import { IsArray as IsArray247, IsDefined as IsDefined265, IsEnum as IsEnum40, IsNotEmpty as IsNotEmpty460, IsNumber as IsNumber500, IsString as IsString631, IsUUID as IsUUID21, MaxLength as MaxLength7, ValidateNested as ValidateNested416 } from "class-validator";
|
|
50609
50609
|
var TdcOrderStockENTITY = class {
|
|
50610
50610
|
_id;
|
|
50611
50611
|
id_recurso;
|
|
@@ -50620,7 +50620,7 @@ var TdcOrderStockENTITY = class {
|
|
|
50620
50620
|
};
|
|
50621
50621
|
__decorateClass([
|
|
50622
50622
|
IsDefined265({ message: "El campo _id es obligatorio." }),
|
|
50623
|
-
|
|
50623
|
+
IsUUID21("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
50624
50624
|
Expose762()
|
|
50625
50625
|
], TdcOrderStockENTITY.prototype, "_id", 2);
|
|
50626
50626
|
__decorateClass([
|
|
@@ -50681,9 +50681,9 @@ import {
|
|
|
50681
50681
|
IsNumber as IsNumber506,
|
|
50682
50682
|
ValidateNested as ValidateNested417,
|
|
50683
50683
|
IsArray as IsArray248,
|
|
50684
|
-
IsObject as
|
|
50684
|
+
IsObject as IsObject15,
|
|
50685
50685
|
IsDate as IsDate185,
|
|
50686
|
-
IsUUID as
|
|
50686
|
+
IsUUID as IsUUID22,
|
|
50687
50687
|
IsEnum as IsEnum43
|
|
50688
50688
|
} from "class-validator";
|
|
50689
50689
|
import "reflect-metadata";
|
|
@@ -51085,7 +51085,7 @@ var Peru9112ClaroENTITY = class {
|
|
|
51085
51085
|
};
|
|
51086
51086
|
__decorateClass([
|
|
51087
51087
|
IsDefined272({ message: "El campo _id es obligatorio." }),
|
|
51088
|
-
|
|
51088
|
+
IsUUID22("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
51089
51089
|
Expose771()
|
|
51090
51090
|
], Peru9112ClaroENTITY.prototype, "_id", 2);
|
|
51091
51091
|
__decorateClass([
|
|
@@ -51227,7 +51227,7 @@ __decorateClass([
|
|
|
51227
51227
|
__decorateClass([
|
|
51228
51228
|
Expose771(),
|
|
51229
51229
|
IsDefined272({ message: "El campo Segmento es obligatorio." }),
|
|
51230
|
-
|
|
51230
|
+
IsObject15(),
|
|
51231
51231
|
ValidateNested417(),
|
|
51232
51232
|
Type479(() => SegmentoPeru9112ClaroDTO)
|
|
51233
51233
|
], Peru9112ClaroENTITY.prototype, "segmento", 2);
|
|
@@ -51489,11 +51489,11 @@ __decorateClass([
|
|
|
51489
51489
|
], LoginDto.prototype, "password", 2);
|
|
51490
51490
|
|
|
51491
51491
|
// src/v2/dtos/PayloadToken.ts
|
|
51492
|
-
import { IsDefined as IsDefined277, IsObject as
|
|
51492
|
+
import { IsDefined as IsDefined277, IsObject as IsObject16, ValidateNested as ValidateNested419 } from "class-validator";
|
|
51493
51493
|
import { Expose as Expose776, Type as Type481 } from "class-transformer";
|
|
51494
51494
|
|
|
51495
51495
|
// src/v2/dtos/AuthUser.ts
|
|
51496
|
-
import { IsBoolean as IsBoolean68, IsDefined as IsDefined275, IsEmail as IsEmail6, IsString as IsString641, IsUUID as
|
|
51496
|
+
import { IsBoolean as IsBoolean68, IsDefined as IsDefined275, IsEmail as IsEmail6, IsString as IsString641, IsUUID as IsUUID23, ValidateIf as ValidateIf6 } from "class-validator";
|
|
51497
51497
|
import { Expose as Expose774, Transform as Transform113 } from "class-transformer";
|
|
51498
51498
|
var AuthUserDto = class {
|
|
51499
51499
|
email;
|
|
@@ -51542,7 +51542,7 @@ __decorateClass([
|
|
|
51542
51542
|
__decorateClass([
|
|
51543
51543
|
IsDefined275({ message: "El campo Perfil es obligatorio" }),
|
|
51544
51544
|
ValidateIf6((_, value) => value !== ""),
|
|
51545
|
-
|
|
51545
|
+
IsUUID23("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
51546
51546
|
Expose774()
|
|
51547
51547
|
], AuthUserDto.prototype, "profileId", 2);
|
|
51548
51548
|
|
|
@@ -51590,31 +51590,31 @@ __decorateClass([
|
|
|
51590
51590
|
IsDefined277({ message: "La empresa es requerida" }),
|
|
51591
51591
|
Type481(() => CodeNameDto),
|
|
51592
51592
|
ValidateNested419(),
|
|
51593
|
-
|
|
51593
|
+
IsObject16(),
|
|
51594
51594
|
Expose776()
|
|
51595
51595
|
], PayloadTokenDto.prototype, "company", 2);
|
|
51596
51596
|
__decorateClass([
|
|
51597
51597
|
IsDefined277({ message: "debe proporcionar el pa\xEDs" }),
|
|
51598
51598
|
ValidateNested419(),
|
|
51599
51599
|
Type481(() => CodeNameMinLengthDto),
|
|
51600
|
-
|
|
51600
|
+
IsObject16(),
|
|
51601
51601
|
Expose776()
|
|
51602
51602
|
], PayloadTokenDto.prototype, "country", 2);
|
|
51603
51603
|
__decorateClass([
|
|
51604
51604
|
IsDefined277({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
51605
51605
|
ValidateNested419(),
|
|
51606
51606
|
Type481(() => CodeNameMinLengthDto),
|
|
51607
|
-
|
|
51607
|
+
IsObject16(),
|
|
51608
51608
|
Expose776()
|
|
51609
51609
|
], PayloadTokenDto.prototype, "delegation", 2);
|
|
51610
51610
|
|
|
51611
51611
|
// src/v2/dtos/ResponseSignIn.ts
|
|
51612
|
-
import { IsArray as IsArray251, IsDefined as IsDefined279, IsObject as
|
|
51612
|
+
import { IsArray as IsArray251, IsDefined as IsDefined279, IsObject as IsObject17, IsString as IsString644, MinLength as MinLength58, ValidateNested as ValidateNested420 } from "class-validator";
|
|
51613
51613
|
import { Expose as Expose778, Type as Type482 } from "class-transformer";
|
|
51614
51614
|
|
|
51615
51615
|
// src/v2/entities/SystemOption.ts
|
|
51616
51616
|
import { Expose as Expose777 } from "class-transformer";
|
|
51617
|
-
import { IsBoolean as IsBoolean70, IsDefined as IsDefined278, IsNotEmpty as IsNotEmpty461, IsString as IsString643, IsUUID as
|
|
51617
|
+
import { IsBoolean as IsBoolean70, IsDefined as IsDefined278, IsNotEmpty as IsNotEmpty461, IsString as IsString643, IsUUID as IsUUID25 } from "class-validator";
|
|
51618
51618
|
var SystemOptionEntity = class {
|
|
51619
51619
|
_id;
|
|
51620
51620
|
key;
|
|
@@ -51627,7 +51627,7 @@ var SystemOptionEntity = class {
|
|
|
51627
51627
|
};
|
|
51628
51628
|
__decorateClass([
|
|
51629
51629
|
IsDefined278({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
51630
|
-
|
|
51630
|
+
IsUUID25("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
51631
51631
|
Expose777()
|
|
51632
51632
|
], SystemOptionEntity.prototype, "_id", 2);
|
|
51633
51633
|
__decorateClass([
|
|
@@ -51669,7 +51669,7 @@ var ResponseSignInDto = class {
|
|
|
51669
51669
|
};
|
|
51670
51670
|
__decorateClass([
|
|
51671
51671
|
IsDefined279({ message: "El usuario es requerido" }),
|
|
51672
|
-
|
|
51672
|
+
IsObject17({ message: "El usuario debe ser un objeto" }),
|
|
51673
51673
|
ValidateNested420(),
|
|
51674
51674
|
Type482(() => PayloadTokenDto),
|
|
51675
51675
|
Expose778()
|
|
@@ -51732,7 +51732,7 @@ __decorateClass([
|
|
|
51732
51732
|
|
|
51733
51733
|
// src/v2/dtos/CreateProfile.ts
|
|
51734
51734
|
import { Expose as Expose781, Transform as Transform116 } from "class-transformer";
|
|
51735
|
-
import { IsArray as IsArray252, IsDefined as IsDefined281, IsString as IsString646, Length as Length343, MinLength as MinLength60, IsUUID as
|
|
51735
|
+
import { IsArray as IsArray252, IsDefined as IsDefined281, IsString as IsString646, Length as Length343, MinLength as MinLength60, IsUUID as IsUUID26 } from "class-validator";
|
|
51736
51736
|
var CreateProfileDto = class {
|
|
51737
51737
|
_id;
|
|
51738
51738
|
name;
|
|
@@ -51741,7 +51741,7 @@ var CreateProfileDto = class {
|
|
|
51741
51741
|
};
|
|
51742
51742
|
__decorateClass([
|
|
51743
51743
|
IsDefined281({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
51744
|
-
|
|
51744
|
+
IsUUID26("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
51745
51745
|
Expose781()
|
|
51746
51746
|
], CreateProfileDto.prototype, "_id", 2);
|
|
51747
51747
|
__decorateClass([
|
|
@@ -51804,24 +51804,24 @@ __decorateClass([
|
|
|
51804
51804
|
|
|
51805
51805
|
// src/v2/dtos/Company.ts
|
|
51806
51806
|
import { Expose as Expose783 } from "class-transformer";
|
|
51807
|
-
import { IsDefined as IsDefined283, IsUUID as
|
|
51807
|
+
import { IsDefined as IsDefined283, IsUUID as IsUUID28 } from "class-validator";
|
|
51808
51808
|
var CompanyDto = class {
|
|
51809
51809
|
_id;
|
|
51810
51810
|
countryId;
|
|
51811
51811
|
};
|
|
51812
51812
|
__decorateClass([
|
|
51813
51813
|
IsDefined283({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
51814
|
-
|
|
51814
|
+
IsUUID28("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
51815
51815
|
Expose783()
|
|
51816
51816
|
], CompanyDto.prototype, "_id", 2);
|
|
51817
51817
|
__decorateClass([
|
|
51818
51818
|
IsDefined283({ message: "El campo pa\xEDs es requerido" }),
|
|
51819
|
-
|
|
51819
|
+
IsUUID28("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
51820
51820
|
Expose783()
|
|
51821
51821
|
], CompanyDto.prototype, "countryId", 2);
|
|
51822
51822
|
|
|
51823
51823
|
// src/v2/dtos/UpdateUser.ts
|
|
51824
|
-
import { IsDefined as IsDefined284, IsUUID as
|
|
51824
|
+
import { IsDefined as IsDefined284, IsUUID as IsUUID29, ValidateIf as ValidateIf7 } from "class-validator";
|
|
51825
51825
|
import { Expose as Expose784 } from "class-transformer";
|
|
51826
51826
|
var UpdateUserDto = class {
|
|
51827
51827
|
profileId;
|
|
@@ -51829,7 +51829,7 @@ var UpdateUserDto = class {
|
|
|
51829
51829
|
__decorateClass([
|
|
51830
51830
|
IsDefined284({ message: "El campo Perfil es obligatorio" }),
|
|
51831
51831
|
ValidateIf7((_, value) => value !== ""),
|
|
51832
|
-
|
|
51832
|
+
IsUUID29("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
51833
51833
|
Expose784()
|
|
51834
51834
|
], UpdateUserDto.prototype, "profileId", 2);
|
|
51835
51835
|
|
|
@@ -51922,18 +51922,18 @@ var DocumentRequirementDto = _DocumentRequirementDto;
|
|
|
51922
51922
|
|
|
51923
51923
|
// src/v2/entities/Delegation.ts
|
|
51924
51924
|
import { Expose as Expose787 } from "class-transformer";
|
|
51925
|
-
import { IsDefined as IsDefined287, IsNotEmpty as IsNotEmpty464, IsString as IsString651, IsUUID as
|
|
51925
|
+
import { IsDefined as IsDefined287, IsNotEmpty as IsNotEmpty464, IsString as IsString651, IsUUID as IsUUID31 } from "class-validator";
|
|
51926
51926
|
|
|
51927
51927
|
// src/v2/entities/Base.ts
|
|
51928
51928
|
import { Expose as Expose786 } from "class-transformer";
|
|
51929
|
-
import { IsBoolean as IsBoolean76, IsDefined as IsDefined286, IsUUID as
|
|
51929
|
+
import { IsBoolean as IsBoolean76, IsDefined as IsDefined286, IsUUID as IsUUID30 } from "class-validator";
|
|
51930
51930
|
var BaseEntity = class {
|
|
51931
51931
|
_id;
|
|
51932
51932
|
active;
|
|
51933
51933
|
};
|
|
51934
51934
|
__decorateClass([
|
|
51935
51935
|
IsDefined286({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
51936
|
-
|
|
51936
|
+
IsUUID30("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
51937
51937
|
Expose786()
|
|
51938
51938
|
], BaseEntity.prototype, "_id", 2);
|
|
51939
51939
|
__decorateClass([
|
|
@@ -51950,7 +51950,7 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
51950
51950
|
};
|
|
51951
51951
|
__decorateClass([
|
|
51952
51952
|
IsDefined287({ message: "El campo pais es obligatorio" }),
|
|
51953
|
-
|
|
51953
|
+
IsUUID31("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
51954
51954
|
Expose787()
|
|
51955
51955
|
], DelegationEntity.prototype, "countryId", 2);
|
|
51956
51956
|
__decorateClass([
|
|
@@ -51967,7 +51967,7 @@ __decorateClass([
|
|
|
51967
51967
|
], DelegationEntity.prototype, "name", 2);
|
|
51968
51968
|
|
|
51969
51969
|
// src/v2/entities/User.ts
|
|
51970
|
-
import { IsArray as IsArray257, IsBoolean as IsBoolean77, IsDefined as IsDefined289, IsEmail as IsEmail10, IsString as IsString653, IsUUID as
|
|
51970
|
+
import { IsArray as IsArray257, IsBoolean as IsBoolean77, IsDefined as IsDefined289, IsEmail as IsEmail10, IsString as IsString653, IsUUID as IsUUID32, ValidateIf as ValidateIf8, ValidateNested as ValidateNested423 } from "class-validator";
|
|
51971
51971
|
import { Expose as Expose789, Transform as Transform119, Type as Type486 } from "class-transformer";
|
|
51972
51972
|
|
|
51973
51973
|
// src/v2/dtos/ResourceSystemDto.ts
|
|
@@ -52074,7 +52074,7 @@ __decorateClass([
|
|
|
52074
52074
|
__decorateClass([
|
|
52075
52075
|
IsDefined289({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
52076
52076
|
IsArray257({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
52077
|
-
|
|
52077
|
+
IsUUID32("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
52078
52078
|
Expose789()
|
|
52079
52079
|
], UserEntity.prototype, "delegationIds", 2);
|
|
52080
52080
|
__decorateClass([
|
|
@@ -52085,7 +52085,7 @@ __decorateClass([
|
|
|
52085
52085
|
__decorateClass([
|
|
52086
52086
|
IsDefined289({ message: "El campo Perfil es obligatorio" }),
|
|
52087
52087
|
ValidateIf8((_, value) => value !== ""),
|
|
52088
|
-
|
|
52088
|
+
IsUUID32("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
52089
52089
|
Expose789()
|
|
52090
52090
|
], UserEntity.prototype, "profileId", 2);
|
|
52091
52091
|
__decorateClass([
|
|
@@ -52155,7 +52155,7 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
52155
52155
|
|
|
52156
52156
|
// src/v2/entities/Company.ts
|
|
52157
52157
|
import { Expose as Expose792 } from "class-transformer";
|
|
52158
|
-
import { IsArray as IsArray259, IsBoolean as IsBoolean78, IsDefined as IsDefined292, IsEmail as IsEmail11, IsEnum as IsEnum47, IsNotEmpty as IsNotEmpty466, IsString as IsString656, IsUUID as
|
|
52158
|
+
import { IsArray as IsArray259, IsBoolean as IsBoolean78, IsDefined as IsDefined292, IsEmail as IsEmail11, IsEnum as IsEnum47, IsNotEmpty as IsNotEmpty466, IsString as IsString656, IsUUID as IsUUID33 } from "class-validator";
|
|
52159
52159
|
var CompanyEntity = class extends BaseEntity {
|
|
52160
52160
|
companyType;
|
|
52161
52161
|
identification;
|
|
@@ -52223,7 +52223,7 @@ __decorateClass([
|
|
|
52223
52223
|
], CompanyEntity.prototype, "phones", 2);
|
|
52224
52224
|
__decorateClass([
|
|
52225
52225
|
IsDefined292({ message: "El campo pa\xEDs es requerido" }),
|
|
52226
|
-
|
|
52226
|
+
IsUUID33("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
52227
52227
|
Expose792()
|
|
52228
52228
|
], CompanyEntity.prototype, "countryId", 2);
|
|
52229
52229
|
|