sigo-entities 1.2.457 → 1.2.459
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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +9 -9
- package/dist/index.mjs +98 -95
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8433,7 +8433,7 @@ declare class MaterialeswinDTO {
|
|
|
8433
8433
|
descripcion: string;
|
|
8434
8434
|
cantidad: number;
|
|
8435
8435
|
invsn: string;
|
|
8436
|
-
invpool:
|
|
8436
|
+
invpool: InvPoolAction;
|
|
8437
8437
|
ID_StockPersonal: number;
|
|
8438
8438
|
}
|
|
8439
8439
|
declare class HistorialEstadoswinDTO {
|
|
@@ -8565,7 +8565,7 @@ declare class MaterialesFibramasDTO {
|
|
|
8565
8565
|
descripcion: string;
|
|
8566
8566
|
cantidad: number;
|
|
8567
8567
|
invsn: string;
|
|
8568
|
-
invpool:
|
|
8568
|
+
invpool: InvPoolAction;
|
|
8569
8569
|
ID_StockPersonal: number;
|
|
8570
8570
|
}
|
|
8571
8571
|
declare enum StateFibramas {
|
|
@@ -8773,7 +8773,7 @@ declare class MaterialesClienteWAOODTO {
|
|
|
8773
8773
|
descripcion: string;
|
|
8774
8774
|
cantidad: number;
|
|
8775
8775
|
invsn: string;
|
|
8776
|
-
invpool:
|
|
8776
|
+
invpool: InvPoolAction;
|
|
8777
8777
|
ID_StockPersonal: number;
|
|
8778
8778
|
}
|
|
8779
8779
|
declare enum StateInternalOrderClienteWAOO {
|
|
@@ -9251,7 +9251,7 @@ declare class MaterialesSomacylDTO {
|
|
|
9251
9251
|
descripcion: string;
|
|
9252
9252
|
cantidad: number;
|
|
9253
9253
|
invsn: string;
|
|
9254
|
-
invpool:
|
|
9254
|
+
invpool: InvPoolAction;
|
|
9255
9255
|
ID_Stock: number;
|
|
9256
9256
|
}
|
|
9257
9257
|
|
package/dist/index.d.ts
CHANGED
|
@@ -8433,7 +8433,7 @@ declare class MaterialeswinDTO {
|
|
|
8433
8433
|
descripcion: string;
|
|
8434
8434
|
cantidad: number;
|
|
8435
8435
|
invsn: string;
|
|
8436
|
-
invpool:
|
|
8436
|
+
invpool: InvPoolAction;
|
|
8437
8437
|
ID_StockPersonal: number;
|
|
8438
8438
|
}
|
|
8439
8439
|
declare class HistorialEstadoswinDTO {
|
|
@@ -8565,7 +8565,7 @@ declare class MaterialesFibramasDTO {
|
|
|
8565
8565
|
descripcion: string;
|
|
8566
8566
|
cantidad: number;
|
|
8567
8567
|
invsn: string;
|
|
8568
|
-
invpool:
|
|
8568
|
+
invpool: InvPoolAction;
|
|
8569
8569
|
ID_StockPersonal: number;
|
|
8570
8570
|
}
|
|
8571
8571
|
declare enum StateFibramas {
|
|
@@ -8773,7 +8773,7 @@ declare class MaterialesClienteWAOODTO {
|
|
|
8773
8773
|
descripcion: string;
|
|
8774
8774
|
cantidad: number;
|
|
8775
8775
|
invsn: string;
|
|
8776
|
-
invpool:
|
|
8776
|
+
invpool: InvPoolAction;
|
|
8777
8777
|
ID_StockPersonal: number;
|
|
8778
8778
|
}
|
|
8779
8779
|
declare enum StateInternalOrderClienteWAOO {
|
|
@@ -9251,7 +9251,7 @@ declare class MaterialesSomacylDTO {
|
|
|
9251
9251
|
descripcion: string;
|
|
9252
9252
|
cantidad: number;
|
|
9253
9253
|
invsn: string;
|
|
9254
|
-
invpool:
|
|
9254
|
+
invpool: InvPoolAction;
|
|
9255
9255
|
ID_Stock: number;
|
|
9256
9256
|
}
|
|
9257
9257
|
|
package/dist/index.js
CHANGED
|
@@ -43901,7 +43901,7 @@ var MaterialeswinDTO = class {
|
|
|
43901
43901
|
descripcion = "";
|
|
43902
43902
|
cantidad = 0;
|
|
43903
43903
|
invsn = "";
|
|
43904
|
-
invpool = ""
|
|
43904
|
+
invpool = "install" /* INSTALL */;
|
|
43905
43905
|
ID_StockPersonal = 0;
|
|
43906
43906
|
};
|
|
43907
43907
|
__decorateClass([
|
|
@@ -43927,7 +43927,7 @@ __decorateClass([
|
|
|
43927
43927
|
__decorateClass([
|
|
43928
43928
|
(0, import_class_transformer754.Expose)(),
|
|
43929
43929
|
(0, import_class_validator731.IsDefined)({ message: "El campo invpool es obligatorio." }),
|
|
43930
|
-
(0, import_class_validator731.
|
|
43930
|
+
(0, import_class_validator731.IsEnum)(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
43931
43931
|
], MaterialeswinDTO.prototype, "invpool", 2);
|
|
43932
43932
|
__decorateClass([
|
|
43933
43933
|
(0, import_class_transformer754.Expose)(),
|
|
@@ -44582,7 +44582,7 @@ var MaterialesFibramasDTO = class {
|
|
|
44582
44582
|
descripcion = "";
|
|
44583
44583
|
cantidad = 0;
|
|
44584
44584
|
invsn = "";
|
|
44585
|
-
invpool = ""
|
|
44585
|
+
invpool = "install" /* INSTALL */;
|
|
44586
44586
|
ID_StockPersonal = 0;
|
|
44587
44587
|
};
|
|
44588
44588
|
__decorateClass([
|
|
@@ -44608,7 +44608,7 @@ __decorateClass([
|
|
|
44608
44608
|
__decorateClass([
|
|
44609
44609
|
(0, import_class_transformer758.Expose)(),
|
|
44610
44610
|
(0, import_class_validator735.IsDefined)({ message: "El campo invpool es obligatorio." }),
|
|
44611
|
-
(0, import_class_validator735.
|
|
44611
|
+
(0, import_class_validator735.IsEnum)(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
44612
44612
|
], MaterialesFibramasDTO.prototype, "invpool", 2);
|
|
44613
44613
|
__decorateClass([
|
|
44614
44614
|
(0, import_class_transformer758.Expose)(),
|
|
@@ -45696,7 +45696,7 @@ var MaterialesClienteWAOODTO = class {
|
|
|
45696
45696
|
descripcion = "";
|
|
45697
45697
|
cantidad = 0;
|
|
45698
45698
|
invsn = "";
|
|
45699
|
-
invpool = ""
|
|
45699
|
+
invpool = "install" /* INSTALL */;
|
|
45700
45700
|
ID_StockPersonal = 0;
|
|
45701
45701
|
};
|
|
45702
45702
|
__decorateClass([
|
|
@@ -45717,7 +45717,7 @@ __decorateClass([
|
|
|
45717
45717
|
], MaterialesClienteWAOODTO.prototype, "invsn", 2);
|
|
45718
45718
|
__decorateClass([
|
|
45719
45719
|
(0, import_class_transformer768.Expose)(),
|
|
45720
|
-
(0, import_class_validator745.
|
|
45720
|
+
(0, import_class_validator745.IsEnum)(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
45721
45721
|
], MaterialesClienteWAOODTO.prototype, "invpool", 2);
|
|
45722
45722
|
__decorateClass([
|
|
45723
45723
|
(0, import_class_transformer768.Expose)(),
|
|
@@ -48605,7 +48605,7 @@ var MaterialesSomacylDTO = class {
|
|
|
48605
48605
|
descripcion = "";
|
|
48606
48606
|
cantidad = 0;
|
|
48607
48607
|
invsn = "";
|
|
48608
|
-
invpool = ""
|
|
48608
|
+
invpool = "install" /* INSTALL */;
|
|
48609
48609
|
ID_Stock = 0;
|
|
48610
48610
|
};
|
|
48611
48611
|
__decorateClass([
|
|
@@ -48631,7 +48631,7 @@ __decorateClass([
|
|
|
48631
48631
|
__decorateClass([
|
|
48632
48632
|
(0, import_class_transformer784.Expose)(),
|
|
48633
48633
|
(0, import_class_validator761.IsDefined)({ message: "El campo invpool es obligatorio." }),
|
|
48634
|
-
(0, import_class_validator761.
|
|
48634
|
+
(0, import_class_validator761.IsEnum)(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
48635
48635
|
], MaterialesSomacylDTO.prototype, "invpool", 2);
|
|
48636
48636
|
__decorateClass([
|
|
48637
48637
|
(0, import_class_transformer784.Expose)(),
|
|
@@ -49986,7 +49986,7 @@ __decorateClass([
|
|
|
49986
49986
|
__decorateClass([
|
|
49987
49987
|
(0, import_class_transformer805.Expose)(),
|
|
49988
49988
|
(0, import_class_validator782.IsDefined)({ message: "El campo invpool es obligatorio." }),
|
|
49989
|
-
(0, import_class_validator782.
|
|
49989
|
+
(0, import_class_validator782.IsEnum)(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
49990
49990
|
], MaterialesMifibraDBDTO.prototype, "invpool", 2);
|
|
49991
49991
|
__decorateClass([
|
|
49992
49992
|
(0, import_class_transformer805.Expose)(),
|
package/dist/index.mjs
CHANGED
|
@@ -43149,7 +43149,7 @@ import {
|
|
|
43149
43149
|
ValidateNested as ValidateNested404,
|
|
43150
43150
|
IsArray as IsArray234,
|
|
43151
43151
|
IsDate as IsDate162,
|
|
43152
|
-
IsEnum as
|
|
43152
|
+
IsEnum as IsEnum24,
|
|
43153
43153
|
IsNumber as IsNumber473,
|
|
43154
43154
|
IsUUID as IsUUID8
|
|
43155
43155
|
} from "class-validator";
|
|
@@ -43161,7 +43161,8 @@ import {
|
|
|
43161
43161
|
IsDefined as IsDefined226,
|
|
43162
43162
|
IsString as IsString598,
|
|
43163
43163
|
IsNumber as IsNumber470,
|
|
43164
|
-
IsDate as IsDate159
|
|
43164
|
+
IsDate as IsDate159,
|
|
43165
|
+
IsEnum as IsEnum22
|
|
43165
43166
|
} from "class-validator";
|
|
43166
43167
|
import "reflect-metadata";
|
|
43167
43168
|
var UbicacionwinDTO = class {
|
|
@@ -43243,7 +43244,7 @@ var MaterialeswinDTO = class {
|
|
|
43243
43244
|
descripcion = "";
|
|
43244
43245
|
cantidad = 0;
|
|
43245
43246
|
invsn = "";
|
|
43246
|
-
invpool = ""
|
|
43247
|
+
invpool = "install" /* INSTALL */;
|
|
43247
43248
|
ID_StockPersonal = 0;
|
|
43248
43249
|
};
|
|
43249
43250
|
__decorateClass([
|
|
@@ -43269,7 +43270,7 @@ __decorateClass([
|
|
|
43269
43270
|
__decorateClass([
|
|
43270
43271
|
Expose728(),
|
|
43271
43272
|
IsDefined226({ message: "El campo invpool es obligatorio." }),
|
|
43272
|
-
|
|
43273
|
+
IsEnum22(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
43273
43274
|
], MaterialeswinDTO.prototype, "invpool", 2);
|
|
43274
43275
|
__decorateClass([
|
|
43275
43276
|
Expose728(),
|
|
@@ -43321,7 +43322,7 @@ import {
|
|
|
43321
43322
|
ValidateNested as ValidateNested403,
|
|
43322
43323
|
IsArray as IsArray233,
|
|
43323
43324
|
IsDate as IsDate161,
|
|
43324
|
-
IsEnum as
|
|
43325
|
+
IsEnum as IsEnum23,
|
|
43325
43326
|
IsNumber as IsNumber472
|
|
43326
43327
|
} from "class-validator";
|
|
43327
43328
|
import "reflect-metadata";
|
|
@@ -43603,7 +43604,7 @@ __decorateClass([
|
|
|
43603
43604
|
__decorateClass([
|
|
43604
43605
|
Expose730(),
|
|
43605
43606
|
IsDefined228({ message: "El campo estado es obligatorio." }),
|
|
43606
|
-
|
|
43607
|
+
IsEnum23(StateWin, { message: "El campo Estado no es v\xE1lido" })
|
|
43607
43608
|
], Peru9112WinENTITYDB.prototype, "estado", 2);
|
|
43608
43609
|
__decorateClass([
|
|
43609
43610
|
Expose730(),
|
|
@@ -43704,7 +43705,7 @@ __decorateClass([
|
|
|
43704
43705
|
__decorateClass([
|
|
43705
43706
|
Expose730(),
|
|
43706
43707
|
IsDefined228({ message: "El campo estado_interno es obligatorio." }),
|
|
43707
|
-
|
|
43708
|
+
IsEnum23(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
43708
43709
|
], Peru9112WinENTITYDB.prototype, "estado_interno", 2);
|
|
43709
43710
|
|
|
43710
43711
|
// src/operativa/procesos/win_order/shared/index.ts
|
|
@@ -43818,13 +43819,13 @@ __decorateClass([
|
|
|
43818
43819
|
__decorateClass([
|
|
43819
43820
|
Expose731({ name: "Estado" }),
|
|
43820
43821
|
IsDefined229({ message: "El campo Estado actividad es obligatorio." }),
|
|
43821
|
-
|
|
43822
|
+
IsEnum24(StateWin, { message: "El campo Estado no es v\xE1lido" })
|
|
43822
43823
|
], Peru9112WinENTITY.prototype, "estado", 2);
|
|
43823
43824
|
__decorateClass([
|
|
43824
43825
|
Expose731({ name: "Estado Interno" }),
|
|
43825
43826
|
Transform99(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
|
|
43826
43827
|
IsDefined229({ message: "El campo estado interno es obligatorio." }),
|
|
43827
|
-
|
|
43828
|
+
IsEnum24(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
43828
43829
|
], Peru9112WinENTITY.prototype, "estado_interno", 2);
|
|
43829
43830
|
__decorateClass([
|
|
43830
43831
|
Expose731({ name: "Fecha Estado" }),
|
|
@@ -43932,7 +43933,7 @@ import {
|
|
|
43932
43933
|
ValidateNested as ValidateNested406,
|
|
43933
43934
|
IsArray as IsArray236,
|
|
43934
43935
|
IsDate as IsDate164,
|
|
43935
|
-
IsEnum as
|
|
43936
|
+
IsEnum as IsEnum27,
|
|
43936
43937
|
IsUUID as IsUUID9
|
|
43937
43938
|
} from "class-validator";
|
|
43938
43939
|
import "reflect-metadata";
|
|
@@ -43942,7 +43943,8 @@ import { Expose as Expose732 } from "class-transformer";
|
|
|
43942
43943
|
import {
|
|
43943
43944
|
IsDefined as IsDefined230,
|
|
43944
43945
|
IsString as IsString602,
|
|
43945
|
-
IsNumber as IsNumber474
|
|
43946
|
+
IsNumber as IsNumber474,
|
|
43947
|
+
IsEnum as IsEnum25
|
|
43946
43948
|
} from "class-validator";
|
|
43947
43949
|
import "reflect-metadata";
|
|
43948
43950
|
var MaterialesFibramasDTO = class {
|
|
@@ -43950,7 +43952,7 @@ var MaterialesFibramasDTO = class {
|
|
|
43950
43952
|
descripcion = "";
|
|
43951
43953
|
cantidad = 0;
|
|
43952
43954
|
invsn = "";
|
|
43953
|
-
invpool = ""
|
|
43955
|
+
invpool = "install" /* INSTALL */;
|
|
43954
43956
|
ID_StockPersonal = 0;
|
|
43955
43957
|
};
|
|
43956
43958
|
__decorateClass([
|
|
@@ -43976,7 +43978,7 @@ __decorateClass([
|
|
|
43976
43978
|
__decorateClass([
|
|
43977
43979
|
Expose732(),
|
|
43978
43980
|
IsDefined230({ message: "El campo invpool es obligatorio." }),
|
|
43979
|
-
|
|
43981
|
+
IsEnum25(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
43980
43982
|
], MaterialesFibramasDTO.prototype, "invpool", 2);
|
|
43981
43983
|
__decorateClass([
|
|
43982
43984
|
Expose732(),
|
|
@@ -44005,7 +44007,7 @@ import {
|
|
|
44005
44007
|
ValidateNested as ValidateNested405,
|
|
44006
44008
|
IsArray as IsArray235,
|
|
44007
44009
|
IsDate as IsDate163,
|
|
44008
|
-
IsEnum as
|
|
44010
|
+
IsEnum as IsEnum26
|
|
44009
44011
|
} from "class-validator";
|
|
44010
44012
|
import "reflect-metadata";
|
|
44011
44013
|
|
|
@@ -44151,7 +44153,7 @@ __decorateClass([
|
|
|
44151
44153
|
__decorateClass([
|
|
44152
44154
|
Expose734(),
|
|
44153
44155
|
IsDefined232({ message: "El campo estado_del_servicio es obligatorio." }),
|
|
44154
|
-
|
|
44156
|
+
IsEnum26(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
|
|
44155
44157
|
], Peru9112FibramasENTITYDB.prototype, "estado_del_servicio", 2);
|
|
44156
44158
|
__decorateClass([
|
|
44157
44159
|
Expose734(),
|
|
@@ -44231,7 +44233,7 @@ __decorateClass([
|
|
|
44231
44233
|
__decorateClass([
|
|
44232
44234
|
Expose734(),
|
|
44233
44235
|
IsDefined232({ message: "El campo estado es obligatorio." }),
|
|
44234
|
-
|
|
44236
|
+
IsEnum26(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
|
|
44235
44237
|
], Peru9112FibramasENTITYDB.prototype, "estado", 2);
|
|
44236
44238
|
__decorateClass([
|
|
44237
44239
|
Expose734(),
|
|
@@ -44340,13 +44342,13 @@ __decorateClass([
|
|
|
44340
44342
|
__decorateClass([
|
|
44341
44343
|
Expose735({ name: "ESTADO DEL SERVICIO" }),
|
|
44342
44344
|
IsDefined233({ message: "El campo ESTADO DEL SERVICIO es obligatorio." }),
|
|
44343
|
-
|
|
44345
|
+
IsEnum27(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
|
|
44344
44346
|
], Peru9112FibramasENTITY.prototype, "estado_del_servicio", 2);
|
|
44345
44347
|
__decorateClass([
|
|
44346
44348
|
Expose735({ name: "Estado Interno" }),
|
|
44347
44349
|
Transform101(({ obj }) => obj["Estado Interno"] ?? obj.estado_interno),
|
|
44348
44350
|
IsDefined233({ message: "El campo estado interno es obligatorio." }),
|
|
44349
|
-
|
|
44351
|
+
IsEnum27(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
44350
44352
|
], Peru9112FibramasENTITY.prototype, "estado_interno", 2);
|
|
44351
44353
|
__decorateClass([
|
|
44352
44354
|
Expose735({ name: "TARIFA DE SERVICIO" }),
|
|
@@ -44426,7 +44428,7 @@ __decorateClass([
|
|
|
44426
44428
|
__decorateClass([
|
|
44427
44429
|
Expose735({ name: "ESTADO OS" }),
|
|
44428
44430
|
IsDefined233({ message: "El campo ESTADO OS es obligatorio." }),
|
|
44429
|
-
|
|
44431
|
+
IsEnum27(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
|
|
44430
44432
|
], Peru9112FibramasENTITY.prototype, "estado", 2);
|
|
44431
44433
|
__decorateClass([
|
|
44432
44434
|
Expose735({ name: "Inventory" }),
|
|
@@ -44467,7 +44469,7 @@ __decorateClass([
|
|
|
44467
44469
|
import { Expose as Expose736 } from "class-transformer";
|
|
44468
44470
|
import {
|
|
44469
44471
|
IsDefined as IsDefined234,
|
|
44470
|
-
IsEnum as
|
|
44472
|
+
IsEnum as IsEnum28,
|
|
44471
44473
|
IsNotEmpty as IsNotEmpty456,
|
|
44472
44474
|
IsNumber as IsNumber478,
|
|
44473
44475
|
IsString as IsString606,
|
|
@@ -44516,7 +44518,7 @@ __decorateClass([
|
|
|
44516
44518
|
__decorateClass([
|
|
44517
44519
|
Expose736(),
|
|
44518
44520
|
IsDefined234({ message: "El campo invpool es obligatorio." }),
|
|
44519
|
-
|
|
44521
|
+
IsEnum28(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
44520
44522
|
], OrderStockENTITY.prototype, "invpool", 2);
|
|
44521
44523
|
__decorateClass([
|
|
44522
44524
|
Expose736(),
|
|
@@ -44526,12 +44528,12 @@ __decorateClass([
|
|
|
44526
44528
|
__decorateClass([
|
|
44527
44529
|
IsDefined234({ message: "El campo estado consumo es obligatorio." }),
|
|
44528
44530
|
Expose736(),
|
|
44529
|
-
|
|
44531
|
+
IsEnum28(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
44530
44532
|
], OrderStockENTITY.prototype, "state_consumption", 2);
|
|
44531
44533
|
__decorateClass([
|
|
44532
44534
|
IsDefined234({ message: "El campo estado reposicion es obligatorio." }),
|
|
44533
44535
|
Expose736(),
|
|
44534
|
-
|
|
44536
|
+
IsEnum28(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
44535
44537
|
], OrderStockENTITY.prototype, "state_replacement", 2);
|
|
44536
44538
|
__decorateClass([
|
|
44537
44539
|
Expose736(),
|
|
@@ -44543,7 +44545,7 @@ __decorateClass([
|
|
|
44543
44545
|
import { Expose as Expose737 } from "class-transformer";
|
|
44544
44546
|
import {
|
|
44545
44547
|
IsDefined as IsDefined235,
|
|
44546
|
-
IsEnum as
|
|
44548
|
+
IsEnum as IsEnum29,
|
|
44547
44549
|
IsNotEmpty as IsNotEmpty457,
|
|
44548
44550
|
IsNumber as IsNumber479,
|
|
44549
44551
|
IsString as IsString607,
|
|
@@ -44601,7 +44603,7 @@ __decorateClass([
|
|
|
44601
44603
|
__decorateClass([
|
|
44602
44604
|
IsDefined235({ message: "El campo estado consumo es obligatorio." }),
|
|
44603
44605
|
Expose737(),
|
|
44604
|
-
|
|
44606
|
+
IsEnum29(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
44605
44607
|
], OrderStockStoreENTITY.prototype, "state_consumption", 2);
|
|
44606
44608
|
__decorateClass([
|
|
44607
44609
|
Expose737(),
|
|
@@ -44611,7 +44613,7 @@ __decorateClass([
|
|
|
44611
44613
|
|
|
44612
44614
|
// src/operativa/procesos/TOA orden liquidacion/shared/index.ts
|
|
44613
44615
|
import { Expose as Expose738, Type as Type464 } from "class-transformer";
|
|
44614
|
-
import { IsArray as IsArray237, IsDefined as IsDefined236, IsEnum as
|
|
44616
|
+
import { IsArray as IsArray237, IsDefined as IsDefined236, IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty458, IsNumber as IsNumber480, IsObject as IsObject10, IsString as IsString608, IsUUID as IsUUID12, Matches as Matches4, ValidateNested as ValidateNested407 } from "class-validator";
|
|
44615
44617
|
import { Transform as Transform102 } from "class-transformer";
|
|
44616
44618
|
import { IsDate as IsDate165, Length as Length338 } from "class-validator";
|
|
44617
44619
|
var ContestoEnum = /* @__PURE__ */ ((ContestoEnum2) => {
|
|
@@ -44644,7 +44646,7 @@ __decorateClass([
|
|
|
44644
44646
|
__decorateClass([
|
|
44645
44647
|
Expose738(),
|
|
44646
44648
|
IsDefined236({ message: "El campo estado interno es obligatorio." }),
|
|
44647
|
-
|
|
44649
|
+
IsEnum30(StateInternalOrderTOA, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrderTOA).join(", ")}.` })
|
|
44648
44650
|
], UsuarioLiqDTO.prototype, "estado_interno", 2);
|
|
44649
44651
|
__decorateClass([
|
|
44650
44652
|
Transform102(transformToDateIfEmpty),
|
|
@@ -44671,7 +44673,7 @@ __decorateClass([
|
|
|
44671
44673
|
Expose738()
|
|
44672
44674
|
], RegistroAudioDTO.prototype, "Contacto", 2);
|
|
44673
44675
|
__decorateClass([
|
|
44674
|
-
|
|
44676
|
+
IsEnum30(ContestoEnum),
|
|
44675
44677
|
Expose738()
|
|
44676
44678
|
], RegistroAudioDTO.prototype, "Contesto", 2);
|
|
44677
44679
|
__decorateClass([
|
|
@@ -44772,7 +44774,7 @@ __decorateClass([
|
|
|
44772
44774
|
__decorateClass([
|
|
44773
44775
|
Expose738({ name: "Estado Interno" }),
|
|
44774
44776
|
IsDefined236({ message: "El campo estado interno es obligatorio." }),
|
|
44775
|
-
|
|
44777
|
+
IsEnum30(StateInternalOrderTOA, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrderTOA).join(", ")}.` })
|
|
44776
44778
|
], TOAOrdenLiquidacionENTITY.prototype, "estado_interno", 2);
|
|
44777
44779
|
__decorateClass([
|
|
44778
44780
|
Expose738({ name: "C\xF3digo de Cliente" }),
|
|
@@ -44850,7 +44852,7 @@ import { Expose as Expose739, Type as Type465 } from "class-transformer";
|
|
|
44850
44852
|
import {
|
|
44851
44853
|
IsArray as IsArray238,
|
|
44852
44854
|
IsDefined as IsDefined237,
|
|
44853
|
-
IsEnum as
|
|
44855
|
+
IsEnum as IsEnum31,
|
|
44854
44856
|
IsNumber as IsNumber481,
|
|
44855
44857
|
IsObject as IsObject11,
|
|
44856
44858
|
IsString as IsString609,
|
|
@@ -44940,7 +44942,7 @@ __decorateClass([
|
|
|
44940
44942
|
__decorateClass([
|
|
44941
44943
|
Expose739(),
|
|
44942
44944
|
IsDefined237({ message: "El campo estado interno es obligatorio." }),
|
|
44943
|
-
|
|
44945
|
+
IsEnum31(StateInternalOrderTOA, {
|
|
44944
44946
|
message: `El campo estado interno debe ser uno de: ${Object.values(
|
|
44945
44947
|
StateInternalOrderTOA
|
|
44946
44948
|
).join(", ")}.`
|
|
@@ -45013,7 +45015,7 @@ __decorateClass([
|
|
|
45013
45015
|
|
|
45014
45016
|
// src/operativa/procesos/TOA Claro order stock/shared/index.ts
|
|
45015
45017
|
import { Expose as Expose740, Type as Type466 } from "class-transformer";
|
|
45016
|
-
import { IsArray as IsArray239, IsDefined as IsDefined238, IsEnum as
|
|
45018
|
+
import { IsArray as IsArray239, IsDefined as IsDefined238, IsEnum as IsEnum32, IsNotEmpty as IsNotEmpty459, IsNumber as IsNumber482, IsString as IsString610, IsUUID as IsUUID14, MaxLength as MaxLength6, ValidateNested as ValidateNested409 } from "class-validator";
|
|
45017
45019
|
var TOAClaroOrderStockENTITY = class {
|
|
45018
45020
|
_id;
|
|
45019
45021
|
id_recurso;
|
|
@@ -45073,17 +45075,17 @@ __decorateClass([
|
|
|
45073
45075
|
__decorateClass([
|
|
45074
45076
|
IsDefined238({ message: "El campo estado consumo es obligatorio." }),
|
|
45075
45077
|
Expose740(),
|
|
45076
|
-
|
|
45078
|
+
IsEnum32(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
45077
45079
|
], TOAClaroOrderStockENTITY.prototype, "state_consumption", 2);
|
|
45078
45080
|
__decorateClass([
|
|
45079
45081
|
IsDefined238({ message: "El campo estado reposicion es obligatorio." }),
|
|
45080
45082
|
Expose740(),
|
|
45081
|
-
|
|
45083
|
+
IsEnum32(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
45082
45084
|
], TOAClaroOrderStockENTITY.prototype, "state_replacement", 2);
|
|
45083
45085
|
|
|
45084
45086
|
// src/operativa/procesos/cliente_waoo/shared/index.ts
|
|
45085
45087
|
import { Expose as Expose741, Type as Type467 } from "class-transformer";
|
|
45086
|
-
import { IsArray as IsArray240, IsDate as IsDate166, IsEnum as
|
|
45088
|
+
import { IsArray as IsArray240, IsDate as IsDate166, IsEnum as IsEnum33, IsNumber as IsNumber483, IsString as IsString611, IsUUID as IsUUID15, Min as Min341, ValidateNested as ValidateNested410 } from "class-validator";
|
|
45087
45089
|
var EECCClienteWAOODTO = class {
|
|
45088
45090
|
RUC = "";
|
|
45089
45091
|
RazonSocial = "";
|
|
@@ -45101,7 +45103,7 @@ var MaterialesClienteWAOODTO = class {
|
|
|
45101
45103
|
descripcion = "";
|
|
45102
45104
|
cantidad = 0;
|
|
45103
45105
|
invsn = "";
|
|
45104
|
-
invpool = ""
|
|
45106
|
+
invpool = "install" /* INSTALL */;
|
|
45105
45107
|
ID_StockPersonal = 0;
|
|
45106
45108
|
};
|
|
45107
45109
|
__decorateClass([
|
|
@@ -45122,7 +45124,7 @@ __decorateClass([
|
|
|
45122
45124
|
], MaterialesClienteWAOODTO.prototype, "invsn", 2);
|
|
45123
45125
|
__decorateClass([
|
|
45124
45126
|
Expose741(),
|
|
45125
|
-
|
|
45127
|
+
IsEnum33(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
45126
45128
|
], MaterialesClienteWAOODTO.prototype, "invpool", 2);
|
|
45127
45129
|
__decorateClass([
|
|
45128
45130
|
Expose741(),
|
|
@@ -45242,7 +45244,7 @@ __decorateClass([
|
|
|
45242
45244
|
], ClienteWAOOENTITY.prototype, "estado", 2);
|
|
45243
45245
|
__decorateClass([
|
|
45244
45246
|
Expose741(),
|
|
45245
|
-
|
|
45247
|
+
IsEnum33(StateInternalOrderClienteWAOO)
|
|
45246
45248
|
], ClienteWAOOENTITY.prototype, "estado_interno", 2);
|
|
45247
45249
|
__decorateClass([
|
|
45248
45250
|
Expose741(),
|
|
@@ -45420,7 +45422,7 @@ __decorateClass([
|
|
|
45420
45422
|
|
|
45421
45423
|
// src/operativa/procesos/stb_dth_toaperu/shared/index.ts
|
|
45422
45424
|
import { Expose as Expose744, Type as Type470 } from "class-transformer";
|
|
45423
|
-
import { IsNumber as IsNumber486, IsString as IsString614, ValidateNested as ValidateNested412, IsEnum as
|
|
45425
|
+
import { IsNumber as IsNumber486, IsString as IsString614, ValidateNested as ValidateNested412, IsEnum as IsEnum34, IsDefined as IsDefined241, IsArray as IsArray242, IsUUID as IsUUID16, IsObject as IsObject12, IsDate as IsDate167 } from "class-validator";
|
|
45424
45426
|
|
|
45425
45427
|
// src/operativa/procesos/stb_dth_toaperu/shared/dto/stb_dth_toaplanta.ts
|
|
45426
45428
|
import { Expose as Expose742, Type as Type468 } from "class-transformer";
|
|
@@ -45700,7 +45702,7 @@ __decorateClass([
|
|
|
45700
45702
|
__decorateClass([
|
|
45701
45703
|
Expose744(),
|
|
45702
45704
|
IsDefined241({ message: "El campo estado_actividad es obligatorio." }),
|
|
45703
|
-
|
|
45705
|
+
IsEnum34(StateInternalOrderTOA, {
|
|
45704
45706
|
message: `El campo estado_actividad debe ser uno de: ${Object.values(
|
|
45705
45707
|
StateInternalOrderTOA
|
|
45706
45708
|
).join(", ")}.`
|
|
@@ -45991,7 +45993,7 @@ import {
|
|
|
45991
45993
|
IsUUID as IsUUID17,
|
|
45992
45994
|
IsObject as IsObject13,
|
|
45993
45995
|
IsArray as IsArray243,
|
|
45994
|
-
IsEnum as
|
|
45996
|
+
IsEnum as IsEnum35
|
|
45995
45997
|
} from "class-validator";
|
|
45996
45998
|
import "reflect-metadata";
|
|
45997
45999
|
|
|
@@ -47536,12 +47538,12 @@ __decorateClass([
|
|
|
47536
47538
|
__decorateClass([
|
|
47537
47539
|
Expose753(),
|
|
47538
47540
|
IsDefined250(),
|
|
47539
|
-
|
|
47541
|
+
IsEnum35(EstadosTuvesEnum)
|
|
47540
47542
|
], TuvesENTITY.prototype, "estado_actividad", 2);
|
|
47541
47543
|
__decorateClass([
|
|
47542
47544
|
Expose753(),
|
|
47543
47545
|
IsDefined250({ message: "El campo estado interno es obligatorio." }),
|
|
47544
|
-
|
|
47546
|
+
IsEnum35(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
47545
47547
|
], TuvesENTITY.prototype, "estado_interno", 2);
|
|
47546
47548
|
__decorateClass([
|
|
47547
47549
|
Expose753(),
|
|
@@ -47826,7 +47828,7 @@ __decorateClass([
|
|
|
47826
47828
|
|
|
47827
47829
|
// src/operativa/procesos/tuves_order_stock/shared/index.ts
|
|
47828
47830
|
import { Expose as Expose754 } from "class-transformer";
|
|
47829
|
-
import { IsDefined as IsDefined251, IsEnum as
|
|
47831
|
+
import { IsDefined as IsDefined251, IsEnum as IsEnum36, IsNotEmpty as IsNotEmpty460, IsNumber as IsNumber496, IsString as IsString624, IsUUID as IsUUID18, MaxLength as MaxLength7 } from "class-validator";
|
|
47830
47832
|
var TuvesOrderStockENTITY = class {
|
|
47831
47833
|
_id;
|
|
47832
47834
|
id_recurso;
|
|
@@ -47879,12 +47881,12 @@ __decorateClass([
|
|
|
47879
47881
|
__decorateClass([
|
|
47880
47882
|
IsDefined251({ message: "El campo estado consumo es obligatorio." }),
|
|
47881
47883
|
Expose754(),
|
|
47882
|
-
|
|
47884
|
+
IsEnum36(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
47883
47885
|
], TuvesOrderStockENTITY.prototype, "state_consumption", 2);
|
|
47884
47886
|
__decorateClass([
|
|
47885
47887
|
IsDefined251({ message: "El campo estado reposicion es obligatorio." }),
|
|
47886
47888
|
Expose754(),
|
|
47887
|
-
|
|
47889
|
+
IsEnum36(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
47888
47890
|
], TuvesOrderStockENTITY.prototype, "state_replacement", 2);
|
|
47889
47891
|
__decorateClass([
|
|
47890
47892
|
Expose754(),
|
|
@@ -47901,7 +47903,7 @@ import {
|
|
|
47901
47903
|
ValidateNested as ValidateNested416,
|
|
47902
47904
|
IsArray as IsArray244,
|
|
47903
47905
|
IsDate as IsDate178,
|
|
47904
|
-
IsEnum as
|
|
47906
|
+
IsEnum as IsEnum39
|
|
47905
47907
|
} from "class-validator";
|
|
47906
47908
|
import "reflect-metadata";
|
|
47907
47909
|
|
|
@@ -48025,14 +48027,14 @@ __decorateClass([
|
|
|
48025
48027
|
|
|
48026
48028
|
// src/operativa/procesos/somacyl_order/shared/dto/materiales-somacyl-dto.ts
|
|
48027
48029
|
import { Expose as Expose757 } from "class-transformer";
|
|
48028
|
-
import { IsDefined as IsDefined254, IsString as IsString627, IsNumber as IsNumber499 } from "class-validator";
|
|
48030
|
+
import { IsDefined as IsDefined254, IsString as IsString627, IsNumber as IsNumber499, IsEnum as IsEnum37 } from "class-validator";
|
|
48029
48031
|
import "reflect-metadata";
|
|
48030
48032
|
var MaterialesSomacylDTO = class {
|
|
48031
48033
|
codigo = "";
|
|
48032
48034
|
descripcion = "";
|
|
48033
48035
|
cantidad = 0;
|
|
48034
48036
|
invsn = "";
|
|
48035
|
-
invpool = ""
|
|
48037
|
+
invpool = "install" /* INSTALL */;
|
|
48036
48038
|
ID_Stock = 0;
|
|
48037
48039
|
};
|
|
48038
48040
|
__decorateClass([
|
|
@@ -48058,7 +48060,7 @@ __decorateClass([
|
|
|
48058
48060
|
__decorateClass([
|
|
48059
48061
|
Expose757(),
|
|
48060
48062
|
IsDefined254({ message: "El campo invpool es obligatorio." }),
|
|
48061
|
-
|
|
48063
|
+
IsEnum37(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
48062
48064
|
], MaterialesSomacylDTO.prototype, "invpool", 2);
|
|
48063
48065
|
__decorateClass([
|
|
48064
48066
|
Expose757(),
|
|
@@ -48160,7 +48162,7 @@ var EstadoProcesoValSomacyl = /* @__PURE__ */ ((EstadoProcesoValSomacyl2) => {
|
|
|
48160
48162
|
|
|
48161
48163
|
// src/operativa/procesos/somacyl_order/shared/dto/estado-proceso-val-somacyl-dto.ts
|
|
48162
48164
|
import { Expose as Expose761 } from "class-transformer";
|
|
48163
|
-
import { IsDefined as IsDefined256, IsString as IsString629, IsDate as IsDate175, IsEnum as
|
|
48165
|
+
import { IsDefined as IsDefined256, IsString as IsString629, IsDate as IsDate175, IsEnum as IsEnum38 } from "class-validator";
|
|
48164
48166
|
import "reflect-metadata";
|
|
48165
48167
|
var EstadoProcesoValSomacylDTO = class {
|
|
48166
48168
|
Estado = "REGISTRADO" /* REGISTRADO */;
|
|
@@ -48170,7 +48172,7 @@ __decorateClass([
|
|
|
48170
48172
|
Expose761(),
|
|
48171
48173
|
IsString629(),
|
|
48172
48174
|
IsDefined256({ message: "El campo Estado es obligatorio." }),
|
|
48173
|
-
|
|
48175
|
+
IsEnum38(EstadoProcesoValSomacyl)
|
|
48174
48176
|
], EstadoProcesoValSomacylDTO.prototype, "Estado", 2);
|
|
48175
48177
|
__decorateClass([
|
|
48176
48178
|
Expose761(),
|
|
@@ -48463,12 +48465,12 @@ __decorateClass([
|
|
|
48463
48465
|
__decorateClass([
|
|
48464
48466
|
Expose765(),
|
|
48465
48467
|
IsDefined260(),
|
|
48466
|
-
|
|
48468
|
+
IsEnum39(StateInternalOrder, { message: `El campo estado_actividad debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
48467
48469
|
], SomacylOrderENTITY.prototype, "estado_actividad", 2);
|
|
48468
48470
|
__decorateClass([
|
|
48469
48471
|
Expose765(),
|
|
48470
48472
|
IsDefined260(),
|
|
48471
|
-
|
|
48473
|
+
IsEnum39(StateInternalOrderSomacyl, { message: `El campo estado_interno debe ser uno de: ${Object.values(StateInternalOrderSomacyl).join(", ")}.` })
|
|
48472
48474
|
], SomacylOrderENTITY.prototype, "estado_interno", 2);
|
|
48473
48475
|
__decorateClass([
|
|
48474
48476
|
Expose765(),
|
|
@@ -48478,7 +48480,7 @@ __decorateClass([
|
|
|
48478
48480
|
__decorateClass([
|
|
48479
48481
|
Expose765(),
|
|
48480
48482
|
IsDefined260(),
|
|
48481
|
-
|
|
48483
|
+
IsEnum39(ReasonNoFinalizedSomacyl, { message: `El campo motivo_no_finalizado debe ser uno de: ${Object.values(ReasonNoFinalizedSomacyl).join(", ")}.` })
|
|
48482
48484
|
], SomacylOrderENTITY.prototype, "motivo_no_finalizado", 2);
|
|
48483
48485
|
__decorateClass([
|
|
48484
48486
|
Expose765(),
|
|
@@ -48590,7 +48592,7 @@ import {
|
|
|
48590
48592
|
IsArray as IsArray245,
|
|
48591
48593
|
IsDate as IsDate182,
|
|
48592
48594
|
IsUUID as IsUUID20,
|
|
48593
|
-
IsEnum as
|
|
48595
|
+
IsEnum as IsEnum41
|
|
48594
48596
|
} from "class-validator";
|
|
48595
48597
|
import "reflect-metadata";
|
|
48596
48598
|
|
|
@@ -48844,7 +48846,7 @@ var EstadoProcesoValAltasNVT = /* @__PURE__ */ ((EstadoProcesoValAltasNVT2) => {
|
|
|
48844
48846
|
|
|
48845
48847
|
// src/operativa/procesos/altas_nvt_order/shared/dto/estado-proceso-val-altas-nvt-dto.ts
|
|
48846
48848
|
import { Expose as Expose772 } from "class-transformer";
|
|
48847
|
-
import { IsDefined as IsDefined266, IsString as IsString638, IsDate as IsDate179, IsEnum as
|
|
48849
|
+
import { IsDefined as IsDefined266, IsString as IsString638, IsDate as IsDate179, IsEnum as IsEnum40 } from "class-validator";
|
|
48848
48850
|
import "reflect-metadata";
|
|
48849
48851
|
var EstadoProcesoValAltasNVTDTO = class {
|
|
48850
48852
|
Estado = "REGISTRADO" /* REGISTRADO */;
|
|
@@ -48854,7 +48856,7 @@ __decorateClass([
|
|
|
48854
48856
|
Expose772(),
|
|
48855
48857
|
IsString638(),
|
|
48856
48858
|
IsDefined266({ message: "El campo Estado es obligatorio." }),
|
|
48857
|
-
|
|
48859
|
+
IsEnum40(EstadoProcesoValAltasNVT)
|
|
48858
48860
|
], EstadoProcesoValAltasNVTDTO.prototype, "Estado", 2);
|
|
48859
48861
|
__decorateClass([
|
|
48860
48862
|
Expose772(),
|
|
@@ -49158,12 +49160,12 @@ __decorateClass([
|
|
|
49158
49160
|
__decorateClass([
|
|
49159
49161
|
Expose777(),
|
|
49160
49162
|
IsDefined271(),
|
|
49161
|
-
|
|
49163
|
+
IsEnum41(EstadoActividadAltasNVT, { message: `El campo estado_actividad debe ser uno de: ${Object.values(EstadoActividadAltasNVT).join(", ")}.` })
|
|
49162
49164
|
], AltasNVTOrderENTITY.prototype, "estado_actividad", 2);
|
|
49163
49165
|
__decorateClass([
|
|
49164
49166
|
Expose777(),
|
|
49165
49167
|
IsDefined271(),
|
|
49166
|
-
|
|
49168
|
+
IsEnum41(StateInternalOrderAltasNVT, { message: `El campo estado_interno debe ser uno de: ${Object.values(StateInternalOrderAltasNVT).join(", ")}.` })
|
|
49167
49169
|
], AltasNVTOrderENTITY.prototype, "estado_interno", 2);
|
|
49168
49170
|
__decorateClass([
|
|
49169
49171
|
Expose777(),
|
|
@@ -49173,7 +49175,7 @@ __decorateClass([
|
|
|
49173
49175
|
__decorateClass([
|
|
49174
49176
|
Expose777(),
|
|
49175
49177
|
IsDefined271(),
|
|
49176
|
-
|
|
49178
|
+
IsEnum41(ReasonNoFinalizedAltasNVT, { message: `El campo motivo_no_finalizado debe ser uno de: ${Object.values(ReasonNoFinalizedAltasNVT).join(", ")}.` })
|
|
49177
49179
|
], AltasNVTOrderENTITY.prototype, "motivo_no_finalizado", 2);
|
|
49178
49180
|
__decorateClass([
|
|
49179
49181
|
Expose777(),
|
|
@@ -49279,7 +49281,7 @@ __decorateClass([
|
|
|
49279
49281
|
__decorateClass([
|
|
49280
49282
|
Expose777(),
|
|
49281
49283
|
IsDefined271(),
|
|
49282
|
-
|
|
49284
|
+
IsEnum41(AddressClassification, { message: `El campo classification debe ser uno de: ${Object.values(AddressClassification).join(", ")}.` })
|
|
49283
49285
|
], AltasNVTOrderENTITY.prototype, "classification", 2);
|
|
49284
49286
|
__decorateClass([
|
|
49285
49287
|
Expose777(),
|
|
@@ -49304,7 +49306,7 @@ import {
|
|
|
49304
49306
|
ValidateNested as ValidateNested419,
|
|
49305
49307
|
IsArray as IsArray246,
|
|
49306
49308
|
IsDate as IsDate184,
|
|
49307
|
-
IsEnum as
|
|
49309
|
+
IsEnum as IsEnum43,
|
|
49308
49310
|
IsNumber as IsNumber513
|
|
49309
49311
|
} from "class-validator";
|
|
49310
49312
|
import "reflect-metadata";
|
|
@@ -49315,7 +49317,8 @@ import {
|
|
|
49315
49317
|
IsDefined as IsDefined272,
|
|
49316
49318
|
IsString as IsString644,
|
|
49317
49319
|
IsNumber as IsNumber512,
|
|
49318
|
-
IsDate as IsDate183
|
|
49320
|
+
IsDate as IsDate183,
|
|
49321
|
+
IsEnum as IsEnum42
|
|
49319
49322
|
} from "class-validator";
|
|
49320
49323
|
import "reflect-metadata";
|
|
49321
49324
|
var UbicacionMifibraDBDTO = class {
|
|
@@ -49435,7 +49438,7 @@ __decorateClass([
|
|
|
49435
49438
|
__decorateClass([
|
|
49436
49439
|
Expose778(),
|
|
49437
49440
|
IsDefined272({ message: "El campo invpool es obligatorio." }),
|
|
49438
|
-
|
|
49441
|
+
IsEnum42(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
49439
49442
|
], MaterialesMifibraDBDTO.prototype, "invpool", 2);
|
|
49440
49443
|
__decorateClass([
|
|
49441
49444
|
Expose778(),
|
|
@@ -50189,7 +50192,7 @@ __decorateClass([
|
|
|
50189
50192
|
__decorateClass([
|
|
50190
50193
|
Expose781(),
|
|
50191
50194
|
IsDefined273({ message: "El campo estado es obligatorio." }),
|
|
50192
|
-
|
|
50195
|
+
IsEnum43(StateMifibra, { message: "El campo Estado no es v\xE1lido" })
|
|
50193
50196
|
], MiFibraENTITYDB.prototype, "estado", 2);
|
|
50194
50197
|
__decorateClass([
|
|
50195
50198
|
Expose781(),
|
|
@@ -50301,7 +50304,7 @@ __decorateClass([
|
|
|
50301
50304
|
__decorateClass([
|
|
50302
50305
|
Expose781(),
|
|
50303
50306
|
IsDefined273({ message: "El campo estado_interno es obligatorio." }),
|
|
50304
|
-
|
|
50307
|
+
IsEnum43(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
50305
50308
|
], MiFibraENTITYDB.prototype, "estado_interno", 2);
|
|
50306
50309
|
|
|
50307
50310
|
// src/operativa/procesos/bantel/shared/index.ts
|
|
@@ -50312,7 +50315,7 @@ import {
|
|
|
50312
50315
|
ValidateNested as ValidateNested420,
|
|
50313
50316
|
IsArray as IsArray247,
|
|
50314
50317
|
IsDate as IsDate186,
|
|
50315
|
-
IsEnum as
|
|
50318
|
+
IsEnum as IsEnum45,
|
|
50316
50319
|
IsNumber as IsNumber515
|
|
50317
50320
|
} from "class-validator";
|
|
50318
50321
|
import "reflect-metadata";
|
|
@@ -50324,7 +50327,7 @@ import {
|
|
|
50324
50327
|
IsString as IsString648,
|
|
50325
50328
|
IsNumber as IsNumber514,
|
|
50326
50329
|
IsDate as IsDate185,
|
|
50327
|
-
IsEnum as
|
|
50330
|
+
IsEnum as IsEnum44,
|
|
50328
50331
|
Min as Min344
|
|
50329
50332
|
} from "class-validator";
|
|
50330
50333
|
import "reflect-metadata";
|
|
@@ -50435,7 +50438,7 @@ __decorateClass([
|
|
|
50435
50438
|
__decorateClass([
|
|
50436
50439
|
Expose782(),
|
|
50437
50440
|
IsDefined274({ message: "El campo invpool es obligatorio" }),
|
|
50438
|
-
|
|
50441
|
+
IsEnum44(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
50439
50442
|
], MaterialesBantelDTO.prototype, "invpool", 2);
|
|
50440
50443
|
__decorateClass([
|
|
50441
50444
|
Expose782(),
|
|
@@ -51189,7 +51192,7 @@ __decorateClass([
|
|
|
51189
51192
|
__decorateClass([
|
|
51190
51193
|
Expose785(),
|
|
51191
51194
|
IsDefined275({ message: "El campo estado es obligatorio." }),
|
|
51192
|
-
|
|
51195
|
+
IsEnum45(StateBantel, { message: "El campo Estado no es v\xE1lido" })
|
|
51193
51196
|
], BantelENTITY.prototype, "estado", 2);
|
|
51194
51197
|
__decorateClass([
|
|
51195
51198
|
Expose785(),
|
|
@@ -51301,12 +51304,12 @@ __decorateClass([
|
|
|
51301
51304
|
__decorateClass([
|
|
51302
51305
|
Expose785(),
|
|
51303
51306
|
IsDefined275({ message: "El campo estado_interno es obligatorio." }),
|
|
51304
|
-
|
|
51307
|
+
IsEnum45(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
51305
51308
|
], BantelENTITY.prototype, "estado_interno", 2);
|
|
51306
51309
|
|
|
51307
51310
|
// src/operativa/procesos/Tdc order stock/shared/index.ts
|
|
51308
51311
|
import { Expose as Expose786, Type as Type486 } from "class-transformer";
|
|
51309
|
-
import { IsArray as IsArray248, IsDefined as IsDefined276, IsEnum as
|
|
51312
|
+
import { IsArray as IsArray248, IsDefined as IsDefined276, IsEnum as IsEnum46, IsNotEmpty as IsNotEmpty462, IsNumber as IsNumber516, IsString as IsString652, IsUUID as IsUUID21, MaxLength as MaxLength8, ValidateNested as ValidateNested421 } from "class-validator";
|
|
51310
51313
|
var TdcOrderStockENTITY = class {
|
|
51311
51314
|
_id;
|
|
51312
51315
|
id_recurso;
|
|
@@ -51349,7 +51352,7 @@ __decorateClass([
|
|
|
51349
51352
|
__decorateClass([
|
|
51350
51353
|
Expose786(),
|
|
51351
51354
|
IsDefined276({ message: "El campo invpool es obligatorio." }),
|
|
51352
|
-
|
|
51355
|
+
IsEnum46(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
51353
51356
|
], TdcOrderStockENTITY.prototype, "invpool", 2);
|
|
51354
51357
|
__decorateClass([
|
|
51355
51358
|
Expose786(),
|
|
@@ -51366,12 +51369,12 @@ __decorateClass([
|
|
|
51366
51369
|
__decorateClass([
|
|
51367
51370
|
IsDefined276({ message: "El campo estado consumo es obligatorio." }),
|
|
51368
51371
|
Expose786(),
|
|
51369
|
-
|
|
51372
|
+
IsEnum46(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
51370
51373
|
], TdcOrderStockENTITY.prototype, "state_consumption", 2);
|
|
51371
51374
|
__decorateClass([
|
|
51372
51375
|
IsDefined276({ message: "El campo estado reposicion es obligatorio." }),
|
|
51373
51376
|
Expose786(),
|
|
51374
|
-
|
|
51377
|
+
IsEnum46(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
51375
51378
|
], TdcOrderStockENTITY.prototype, "state_replacement", 2);
|
|
51376
51379
|
|
|
51377
51380
|
// src/operativa/procesos/claro_peru9112/shared/index.ts
|
|
@@ -51385,7 +51388,7 @@ import {
|
|
|
51385
51388
|
IsObject as IsObject14,
|
|
51386
51389
|
IsDate as IsDate188,
|
|
51387
51390
|
IsUUID as IsUUID22,
|
|
51388
|
-
IsEnum as
|
|
51391
|
+
IsEnum as IsEnum49
|
|
51389
51392
|
} from "class-validator";
|
|
51390
51393
|
import "reflect-metadata";
|
|
51391
51394
|
|
|
@@ -51534,7 +51537,7 @@ __decorateClass([
|
|
|
51534
51537
|
|
|
51535
51538
|
// src/operativa/procesos/claro_peru9112/shared/dto/materiales-peru9112-claro-dto.ts
|
|
51536
51539
|
import { Expose as Expose790, Type as Type487 } from "class-transformer";
|
|
51537
|
-
import { IsDefined as IsDefined280, IsString as IsString656, IsNumber as IsNumber519, Min as Min345, IsEnum as
|
|
51540
|
+
import { IsDefined as IsDefined280, IsString as IsString656, IsNumber as IsNumber519, Min as Min345, IsEnum as IsEnum47 } from "class-validator";
|
|
51538
51541
|
import "reflect-metadata";
|
|
51539
51542
|
var MaterialesPeru9112ClaroDTO = class {
|
|
51540
51543
|
codigo = "";
|
|
@@ -51569,7 +51572,7 @@ __decorateClass([
|
|
|
51569
51572
|
__decorateClass([
|
|
51570
51573
|
Expose790(),
|
|
51571
51574
|
IsDefined280({ message: "El campo invpool es obligatorio" }),
|
|
51572
|
-
|
|
51575
|
+
IsEnum47(InvPoolAction, { message: `El campo invpool debe ser uno de: ${Object.values(InvPoolAction).join(", ")}.` })
|
|
51573
51576
|
], MaterialesPeru9112ClaroDTO.prototype, "invpool", 2);
|
|
51574
51577
|
__decorateClass([
|
|
51575
51578
|
Expose790(),
|
|
@@ -51699,7 +51702,7 @@ var EstadoProcesoValPeru9112Claro = /* @__PURE__ */ ((EstadoProcesoValPeru9112Cl
|
|
|
51699
51702
|
|
|
51700
51703
|
// src/operativa/procesos/claro_peru9112/shared/dto/estado-proceso-val-peru9112-claro-dto.ts
|
|
51701
51704
|
import { Expose as Expose794 } from "class-transformer";
|
|
51702
|
-
import { IsDefined as IsDefined282, IsString as IsString659, IsDate as IsDate187, IsEnum as
|
|
51705
|
+
import { IsDefined as IsDefined282, IsString as IsString659, IsDate as IsDate187, IsEnum as IsEnum48 } from "class-validator";
|
|
51703
51706
|
import "reflect-metadata";
|
|
51704
51707
|
var EstadoProcesoValPeru9112ClaroDTO = class {
|
|
51705
51708
|
Estado = "REGISTRADO" /* REGISTRADO */;
|
|
@@ -51709,7 +51712,7 @@ __decorateClass([
|
|
|
51709
51712
|
Expose794(),
|
|
51710
51713
|
IsString659(),
|
|
51711
51714
|
IsDefined282({ message: "El campo Estado es obligatorio." }),
|
|
51712
|
-
|
|
51715
|
+
IsEnum48(EstadoProcesoValPeru9112Claro)
|
|
51713
51716
|
], EstadoProcesoValPeru9112ClaroDTO.prototype, "Estado", 2);
|
|
51714
51717
|
__decorateClass([
|
|
51715
51718
|
Expose794(),
|
|
@@ -51848,7 +51851,7 @@ __decorateClass([
|
|
|
51848
51851
|
__decorateClass([
|
|
51849
51852
|
Expose795(),
|
|
51850
51853
|
IsDefined283({ message: "El campo Estado actividad es obligatorio." }),
|
|
51851
|
-
|
|
51854
|
+
IsEnum49(EstadoActividad, { message: `El campo Estado actividad debe ser uno de: ${Object.values(EstadoActividad).join(", ")}.` })
|
|
51852
51855
|
], Peru9112ClaroENTITY.prototype, "estado_actividad", 2);
|
|
51853
51856
|
__decorateClass([
|
|
51854
51857
|
Expose795(),
|
|
@@ -52138,7 +52141,7 @@ __decorateClass([
|
|
|
52138
52141
|
__decorateClass([
|
|
52139
52142
|
Expose795(),
|
|
52140
52143
|
IsDefined283({ message: "El campo estado_interno es obligatorio." }),
|
|
52141
|
-
|
|
52144
|
+
IsEnum49(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
52142
52145
|
], Peru9112ClaroENTITY.prototype, "estado_interno", 2);
|
|
52143
52146
|
|
|
52144
52147
|
// src/v2/dtos/CodeName.ts
|
|
@@ -52190,7 +52193,7 @@ __decorateClass([
|
|
|
52190
52193
|
], LoginDto.prototype, "password", 2);
|
|
52191
52194
|
|
|
52192
52195
|
// src/v2/dtos/PayloadToken.ts
|
|
52193
|
-
import { IsDefined as IsDefined288, IsEnum as
|
|
52196
|
+
import { IsDefined as IsDefined288, IsEnum as IsEnum50, IsObject as IsObject15, ValidateNested as ValidateNested424 } from "class-validator";
|
|
52194
52197
|
import { Expose as Expose800, Type as Type490 } from "class-transformer";
|
|
52195
52198
|
|
|
52196
52199
|
// src/v2/dtos/AuthUser.ts
|
|
@@ -52318,7 +52321,7 @@ __decorateClass([
|
|
|
52318
52321
|
], PayloadTokenDto.prototype, "delegation", 2);
|
|
52319
52322
|
__decorateClass([
|
|
52320
52323
|
IsDefined288({ message: "Debe proporcionar el tipo de empleado" }),
|
|
52321
|
-
|
|
52324
|
+
IsEnum50(EmploymentType, { message: "El tipo de empleado no es v\xE1lido" }),
|
|
52322
52325
|
Expose800()
|
|
52323
52326
|
], PayloadTokenDto.prototype, "employmentType", 2);
|
|
52324
52327
|
|
|
@@ -52559,7 +52562,7 @@ import {
|
|
|
52559
52562
|
IsArray as IsArray256,
|
|
52560
52563
|
IsBoolean as IsBoolean74,
|
|
52561
52564
|
IsDefined as IsDefined296,
|
|
52562
|
-
IsEnum as
|
|
52565
|
+
IsEnum as IsEnum52,
|
|
52563
52566
|
IsNotEmpty as IsNotEmpty465,
|
|
52564
52567
|
IsNumber as IsNumber523,
|
|
52565
52568
|
IsString as IsString670,
|
|
@@ -52602,7 +52605,7 @@ __decorateClass([
|
|
|
52602
52605
|
__decorateClass([
|
|
52603
52606
|
IsDefined296({ message: "Las extensiones de archivo aceptadas son requeridas" }),
|
|
52604
52607
|
IsArray256({ message: "Las extensiones de archivo aceptadas deben ser un arreglo" }),
|
|
52605
|
-
|
|
52608
|
+
IsEnum52(FileExtension, {
|
|
52606
52609
|
each: true,
|
|
52607
52610
|
message: "Cada extensi\xF3n de archivo debe ser una extensi\xF3n v\xE1lida"
|
|
52608
52611
|
}),
|
|
@@ -52765,7 +52768,7 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
52765
52768
|
|
|
52766
52769
|
// src/v2/dtos/CreateCompany.ts
|
|
52767
52770
|
import { Expose as Expose814 } from "class-transformer";
|
|
52768
|
-
import { IsArray as IsArray257, IsBoolean as IsBoolean75, IsDefined as IsDefined301, IsEmail as IsEmail9, IsEnum as
|
|
52771
|
+
import { IsArray as IsArray257, IsBoolean as IsBoolean75, IsDefined as IsDefined301, IsEmail as IsEmail9, IsEnum as IsEnum53, IsNotEmpty as IsNotEmpty470, IsString as IsString675, IsUUID as IsUUID34 } from "class-validator";
|
|
52769
52772
|
var CreateCompanyDto = class {
|
|
52770
52773
|
_id;
|
|
52771
52774
|
companyType;
|
|
@@ -52786,7 +52789,7 @@ __decorateClass([
|
|
|
52786
52789
|
], CreateCompanyDto.prototype, "_id", 2);
|
|
52787
52790
|
__decorateClass([
|
|
52788
52791
|
IsDefined301({ message: "El tipo de empresa es requerido" }),
|
|
52789
|
-
|
|
52792
|
+
IsEnum53(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
52790
52793
|
Expose814()
|
|
52791
52794
|
], CreateCompanyDto.prototype, "companyType", 2);
|
|
52792
52795
|
__decorateClass([
|
|
@@ -52845,7 +52848,7 @@ __decorateClass([
|
|
|
52845
52848
|
|
|
52846
52849
|
// src/v2/dtos/UpdateCompany.ts
|
|
52847
52850
|
import { Expose as Expose815 } from "class-transformer";
|
|
52848
|
-
import { IsArray as IsArray258, IsBoolean as IsBoolean76, IsDefined as IsDefined302, IsEmail as IsEmail10, IsEnum as
|
|
52851
|
+
import { IsArray as IsArray258, IsBoolean as IsBoolean76, IsDefined as IsDefined302, IsEmail as IsEmail10, IsEnum as IsEnum54, IsNotEmpty as IsNotEmpty471, IsString as IsString676, IsUUID as IsUUID35 } from "class-validator";
|
|
52849
52852
|
var UpdateCompanyDto = class {
|
|
52850
52853
|
_id;
|
|
52851
52854
|
companyType;
|
|
@@ -52866,7 +52869,7 @@ __decorateClass([
|
|
|
52866
52869
|
], UpdateCompanyDto.prototype, "_id", 2);
|
|
52867
52870
|
__decorateClass([
|
|
52868
52871
|
IsDefined302({ message: "El tipo de empresa es requerido" }),
|
|
52869
|
-
|
|
52872
|
+
IsEnum54(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
52870
52873
|
Expose815()
|
|
52871
52874
|
], UpdateCompanyDto.prototype, "companyType", 2);
|
|
52872
52875
|
__decorateClass([
|
|
@@ -52929,7 +52932,7 @@ import { Expose as Expose817, Transform as Transform121, Type as Type494 } from
|
|
|
52929
52932
|
|
|
52930
52933
|
// src/v2/dtos/ResourceSystemDto.ts
|
|
52931
52934
|
import { Expose as Expose816, Type as Type493 } from "class-transformer";
|
|
52932
|
-
import { IsDate as IsDate189, IsDefined as IsDefined303, IsEnum as
|
|
52935
|
+
import { IsDate as IsDate189, IsDefined as IsDefined303, IsEnum as IsEnum55, IsString as IsString677, MinLength as MinLength62 } from "class-validator";
|
|
52933
52936
|
|
|
52934
52937
|
// src/v2/enums/SystemResource.ts
|
|
52935
52938
|
var SystemResource = /* @__PURE__ */ ((SystemResource2) => {
|
|
@@ -52962,7 +52965,7 @@ __decorateClass([
|
|
|
52962
52965
|
], ResourceSystemDto.prototype, "resource_id", 2);
|
|
52963
52966
|
__decorateClass([
|
|
52964
52967
|
IsDefined303({ message: "Sistema es obligatoria" }),
|
|
52965
|
-
|
|
52968
|
+
IsEnum55(SystemResource, { message: `El campo system debe ser uno de: ${Object.values(SystemResource).join(", ")}.` }),
|
|
52966
52969
|
Expose816()
|
|
52967
52970
|
], ResourceSystemDto.prototype, "system", 2);
|
|
52968
52971
|
__decorateClass([
|
|
@@ -53582,7 +53585,7 @@ __decorateClass([
|
|
|
53582
53585
|
|
|
53583
53586
|
// src/v2/entities/Company.ts
|
|
53584
53587
|
import { Expose as Expose832 } from "class-transformer";
|
|
53585
|
-
import { IsArray as IsArray264, IsBoolean as IsBoolean80, IsDefined as IsDefined314, IsEmail as IsEmail13, IsEnum as
|
|
53588
|
+
import { IsArray as IsArray264, IsBoolean as IsBoolean80, IsDefined as IsDefined314, IsEmail as IsEmail13, IsEnum as IsEnum56, IsNotEmpty as IsNotEmpty475, IsString as IsString692, IsUUID as IsUUID42 } from "class-validator";
|
|
53586
53589
|
var CompanyEntity = class extends BaseEntity {
|
|
53587
53590
|
companyType;
|
|
53588
53591
|
identification;
|
|
@@ -53597,7 +53600,7 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
53597
53600
|
};
|
|
53598
53601
|
__decorateClass([
|
|
53599
53602
|
IsDefined314({ message: "El tipo de empresa es requerido" }),
|
|
53600
|
-
|
|
53603
|
+
IsEnum56(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
53601
53604
|
Expose832()
|
|
53602
53605
|
], CompanyEntity.prototype, "companyType", 2);
|
|
53603
53606
|
__decorateClass([
|