sigo-entities 1.2.112 → 1.2.113
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -3
- package/dist/index.mjs +25 -24
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -31038,7 +31038,7 @@ __decorateClass([
|
|
|
31038
31038
|
|
|
31039
31039
|
// src/operativa/procesos/toa_claro/shared/index.ts
|
|
31040
31040
|
var ToaClaroENTITY = class {
|
|
31041
|
-
|
|
31041
|
+
_id;
|
|
31042
31042
|
Sistema = "TOA_CLARO" /* TOA_CLARO */;
|
|
31043
31043
|
T\u00E9cnico = "";
|
|
31044
31044
|
Orden_de_Trabajo = "";
|
|
@@ -31107,9 +31107,10 @@ var ToaClaroENTITY = class {
|
|
|
31107
31107
|
Inventory = [];
|
|
31108
31108
|
};
|
|
31109
31109
|
__decorateClass([
|
|
31110
|
-
(0, import_class_validator539.
|
|
31110
|
+
(0, import_class_validator539.IsDefined)({ message: "El campo _id es obligatorio." }),
|
|
31111
|
+
(0, import_class_validator539.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
31111
31112
|
(0, import_class_transformer538.Expose)()
|
|
31112
|
-
], ToaClaroENTITY.prototype, "
|
|
31113
|
+
], ToaClaroENTITY.prototype, "_id", 2);
|
|
31113
31114
|
__decorateClass([
|
|
31114
31115
|
(0, import_class_transformer538.Transform)(({ value }) => "TOA_CLARO" /* TOA_CLARO */),
|
|
31115
31116
|
(0, import_class_validator539.IsEnum)(SistemaRecurso, { message: "debe ser un valor v\xE1lido de enum SistemaRecurso" }),
|
package/dist/index.mjs
CHANGED
|
@@ -30342,7 +30342,7 @@ var ISheetsJsonChileTdC = class {
|
|
|
30342
30342
|
|
|
30343
30343
|
// src/operativa/procesos/toa_claro/shared/index.ts
|
|
30344
30344
|
import { Expose as Expose536, Transform as Transform65, Type as Type350 } from "class-transformer";
|
|
30345
|
-
import { IsNotEmpty as IsNotEmpty374, IsNumber as IsNumber348, IsString as IsString432, Length as Length318, Min as Min274, IsDate as IsDate126, ValidateNested as ValidateNested311, IsEnum as IsEnum18, IsDefined as IsDefined141, IsArray as IsArray181 } from "class-validator";
|
|
30345
|
+
import { IsNotEmpty as IsNotEmpty374, IsNumber as IsNumber348, IsString as IsString432, Length as Length318, Min as Min274, IsDate as IsDate126, ValidateNested as ValidateNested311, IsEnum as IsEnum18, IsDefined as IsDefined141, IsArray as IsArray181, IsUUID as IsUUID2 } from "class-validator";
|
|
30346
30346
|
|
|
30347
30347
|
// src/operativa/procesos/toa_claro/shared/dto/direccion toa dto.ts
|
|
30348
30348
|
import { Expose as Expose530 } from "class-transformer";
|
|
@@ -30596,7 +30596,7 @@ __decorateClass([
|
|
|
30596
30596
|
|
|
30597
30597
|
// src/operativa/procesos/toa_claro/shared/index.ts
|
|
30598
30598
|
var ToaClaroENTITY = class {
|
|
30599
|
-
|
|
30599
|
+
_id;
|
|
30600
30600
|
Sistema = "TOA_CLARO" /* TOA_CLARO */;
|
|
30601
30601
|
T\u00E9cnico = "";
|
|
30602
30602
|
Orden_de_Trabajo = "";
|
|
@@ -30665,9 +30665,10 @@ var ToaClaroENTITY = class {
|
|
|
30665
30665
|
Inventory = [];
|
|
30666
30666
|
};
|
|
30667
30667
|
__decorateClass([
|
|
30668
|
-
|
|
30668
|
+
IsDefined141({ message: "El campo _id es obligatorio." }),
|
|
30669
|
+
IsUUID2("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
30669
30670
|
Expose536()
|
|
30670
|
-
], ToaClaroENTITY.prototype, "
|
|
30671
|
+
], ToaClaroENTITY.prototype, "_id", 2);
|
|
30671
30672
|
__decorateClass([
|
|
30672
30673
|
Transform65(({ value }) => "TOA_CLARO" /* TOA_CLARO */),
|
|
30673
30674
|
IsEnum18(SistemaRecurso, { message: "debe ser un valor v\xE1lido de enum SistemaRecurso" }),
|
|
@@ -31567,7 +31568,7 @@ import {
|
|
|
31567
31568
|
IsArray as IsArray185,
|
|
31568
31569
|
IsObject as IsObject7,
|
|
31569
31570
|
IsDate as IsDate129,
|
|
31570
|
-
IsUUID as
|
|
31571
|
+
IsUUID as IsUUID3
|
|
31571
31572
|
} from "class-validator";
|
|
31572
31573
|
import "reflect-metadata";
|
|
31573
31574
|
|
|
@@ -32406,7 +32407,7 @@ var Peru9112TOAENTITY = class {
|
|
|
32406
32407
|
};
|
|
32407
32408
|
__decorateClass([
|
|
32408
32409
|
IsDefined148({ message: "El campo _id es obligatorio." }),
|
|
32409
|
-
|
|
32410
|
+
IsUUID3("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
32410
32411
|
Expose543({ name: "_id" })
|
|
32411
32412
|
], Peru9112TOAENTITY.prototype, "_id", 2);
|
|
32412
32413
|
__decorateClass([
|
|
@@ -33637,7 +33638,7 @@ __decorateClass([
|
|
|
33637
33638
|
|
|
33638
33639
|
// src/operativa/procesos/TOA order stock/shared/index.ts
|
|
33639
33640
|
import { Expose as Expose553, Type as Type358 } from "class-transformer";
|
|
33640
|
-
import { IsArray as IsArray187, IsDefined as IsDefined158, IsEnum as IsEnum20, IsNotEmpty as IsNotEmpty377, IsNumber as IsNumber363, IsString as IsString449, IsUUID as
|
|
33641
|
+
import { IsArray as IsArray187, IsDefined as IsDefined158, IsEnum as IsEnum20, IsNotEmpty as IsNotEmpty377, IsNumber as IsNumber363, IsString as IsString449, IsUUID as IsUUID4, MaxLength as MaxLength2, ValidateNested as ValidateNested319 } from "class-validator";
|
|
33641
33642
|
var TOAOrderStockENTITY = class {
|
|
33642
33643
|
_id;
|
|
33643
33644
|
id_recurso;
|
|
@@ -33654,7 +33655,7 @@ var TOAOrderStockENTITY = class {
|
|
|
33654
33655
|
};
|
|
33655
33656
|
__decorateClass([
|
|
33656
33657
|
IsDefined158({ message: "El campo _id es obligatorio." }),
|
|
33657
|
-
|
|
33658
|
+
IsUUID4("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
33658
33659
|
Expose553({ name: "_id" })
|
|
33659
33660
|
], TOAOrderStockENTITY.prototype, "_id", 2);
|
|
33660
33661
|
__decorateClass([
|
|
@@ -33723,7 +33724,7 @@ import {
|
|
|
33723
33724
|
IsString as IsString450,
|
|
33724
33725
|
IsDefined as IsDefined159,
|
|
33725
33726
|
MinLength as MinLength46,
|
|
33726
|
-
IsUUID as
|
|
33727
|
+
IsUUID as IsUUID5,
|
|
33727
33728
|
IsDate as IsDate133
|
|
33728
33729
|
} from "class-validator";
|
|
33729
33730
|
var RequestNumberTTLENTITY = class {
|
|
@@ -33733,7 +33734,7 @@ var RequestNumberTTLENTITY = class {
|
|
|
33733
33734
|
};
|
|
33734
33735
|
__decorateClass([
|
|
33735
33736
|
IsDefined159({ message: "El campo _id es obligatorio." }),
|
|
33736
|
-
|
|
33737
|
+
IsUUID5("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
33737
33738
|
Expose554({ name: "_id" })
|
|
33738
33739
|
], RequestNumberTTLENTITY.prototype, "_id", 2);
|
|
33739
33740
|
__decorateClass([
|
|
@@ -33759,7 +33760,7 @@ import {
|
|
|
33759
33760
|
IsDate as IsDate137,
|
|
33760
33761
|
IsEnum as IsEnum23,
|
|
33761
33762
|
IsNumber as IsNumber367,
|
|
33762
|
-
IsUUID as
|
|
33763
|
+
IsUUID as IsUUID6
|
|
33763
33764
|
} from "class-validator";
|
|
33764
33765
|
import "reflect-metadata";
|
|
33765
33766
|
|
|
@@ -34326,7 +34327,7 @@ var Peru9112WinENTITY = class {
|
|
|
34326
34327
|
};
|
|
34327
34328
|
__decorateClass([
|
|
34328
34329
|
IsDefined163({ message: "El campo _id es obligatorio." }),
|
|
34329
|
-
|
|
34330
|
+
IsUUID6("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
34330
34331
|
Expose558({ name: "_id" })
|
|
34331
34332
|
], Peru9112WinENTITY.prototype, "_id", 2);
|
|
34332
34333
|
__decorateClass([
|
|
@@ -34492,7 +34493,7 @@ import {
|
|
|
34492
34493
|
IsArray as IsArray193,
|
|
34493
34494
|
IsDate as IsDate140,
|
|
34494
34495
|
IsEnum as IsEnum26,
|
|
34495
|
-
IsUUID as
|
|
34496
|
+
IsUUID as IsUUID7
|
|
34496
34497
|
} from "class-validator";
|
|
34497
34498
|
import "reflect-metadata";
|
|
34498
34499
|
|
|
@@ -34860,7 +34861,7 @@ var Peru9112FibramasENTITY = class {
|
|
|
34860
34861
|
};
|
|
34861
34862
|
__decorateClass([
|
|
34862
34863
|
IsDefined167({ message: "El campo _id es obligatorio." }),
|
|
34863
|
-
|
|
34864
|
+
IsUUID7("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
34864
34865
|
Expose562({ name: "_id" })
|
|
34865
34866
|
], Peru9112FibramasENTITY.prototype, "_id", 2);
|
|
34866
34867
|
__decorateClass([
|
|
@@ -35022,7 +35023,7 @@ import {
|
|
|
35022
35023
|
IsNotEmpty as IsNotEmpty378,
|
|
35023
35024
|
IsNumber as IsNumber372,
|
|
35024
35025
|
IsString as IsString459,
|
|
35025
|
-
IsUUID as
|
|
35026
|
+
IsUUID as IsUUID8,
|
|
35026
35027
|
MaxLength as MaxLength3,
|
|
35027
35028
|
ValidateNested as ValidateNested326
|
|
35028
35029
|
} from "class-validator";
|
|
@@ -35040,7 +35041,7 @@ var OrderStockENTITY = class {
|
|
|
35040
35041
|
};
|
|
35041
35042
|
__decorateClass([
|
|
35042
35043
|
IsDefined168({ message: "El campo _id es obligatorio." }),
|
|
35043
|
-
|
|
35044
|
+
IsUUID8("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
35044
35045
|
Expose563()
|
|
35045
35046
|
], OrderStockENTITY.prototype, "_id", 2);
|
|
35046
35047
|
__decorateClass([
|
|
@@ -35095,7 +35096,7 @@ __decorateClass([
|
|
|
35095
35096
|
|
|
35096
35097
|
// src/operativa/procesos/TOA orden liquidacion/shared/index.ts
|
|
35097
35098
|
import { Expose as Expose564, Type as Type369 } from "class-transformer";
|
|
35098
|
-
import { IsArray as IsArray195, IsDefined as IsDefined169, IsEnum as IsEnum28, IsNumber as IsNumber373, IsObject as IsObject12, IsString as IsString460, IsUUID as
|
|
35099
|
+
import { IsArray as IsArray195, IsDefined as IsDefined169, IsEnum as IsEnum28, IsNumber as IsNumber373, IsObject as IsObject12, IsString as IsString460, IsUUID as IsUUID9, ValidateNested as ValidateNested327 } from "class-validator";
|
|
35099
35100
|
var TOAOrdenLiquidacionENTITY = class {
|
|
35100
35101
|
_id;
|
|
35101
35102
|
tecnico;
|
|
@@ -35121,7 +35122,7 @@ var TOAOrdenLiquidacionENTITY = class {
|
|
|
35121
35122
|
};
|
|
35122
35123
|
__decorateClass([
|
|
35123
35124
|
IsDefined169({ message: "El campo _id es obligatorio." }),
|
|
35124
|
-
|
|
35125
|
+
IsUUID9("4", { message: "La propiedad _id debe ser un UUID v4 v\xE1lido." }),
|
|
35125
35126
|
Expose564({ name: "_id" })
|
|
35126
35127
|
], TOAOrdenLiquidacionENTITY.prototype, "_id", 2);
|
|
35127
35128
|
__decorateClass([
|
|
@@ -35248,7 +35249,7 @@ __decorateClass([
|
|
|
35248
35249
|
|
|
35249
35250
|
// src/operativa/procesos/TOA orden liquidacion_db/shared/index.ts
|
|
35250
35251
|
import { Expose as Expose565, Type as Type370 } from "class-transformer";
|
|
35251
|
-
import { IsArray as IsArray196, IsDefined as IsDefined170, IsEnum as IsEnum29, IsNumber as IsNumber374, IsObject as IsObject13, IsString as IsString461, IsUUID as
|
|
35252
|
+
import { IsArray as IsArray196, IsDefined as IsDefined170, IsEnum as IsEnum29, IsNumber as IsNumber374, IsObject as IsObject13, IsString as IsString461, IsUUID as IsUUID10, ValidateNested as ValidateNested328 } from "class-validator";
|
|
35252
35253
|
var TOAOrdenLiquidacionENTITYDB = class {
|
|
35253
35254
|
_id = "";
|
|
35254
35255
|
tecnico = "";
|
|
@@ -35274,7 +35275,7 @@ var TOAOrdenLiquidacionENTITYDB = class {
|
|
|
35274
35275
|
};
|
|
35275
35276
|
__decorateClass([
|
|
35276
35277
|
IsDefined170({ message: "El campo _id es obligatorio." }),
|
|
35277
|
-
|
|
35278
|
+
IsUUID10("4", { message: "La propiedad _id debe ser un UUID v4 v\xE1lido." }),
|
|
35278
35279
|
Expose565({ name: "_id" })
|
|
35279
35280
|
], TOAOrdenLiquidacionENTITYDB.prototype, "_id", 2);
|
|
35280
35281
|
__decorateClass([
|
|
@@ -35385,7 +35386,7 @@ __decorateClass([
|
|
|
35385
35386
|
|
|
35386
35387
|
// src/operativa/procesos/TOA Claro order stock/shared/index.ts
|
|
35387
35388
|
import { Expose as Expose566, Type as Type371 } from "class-transformer";
|
|
35388
|
-
import { IsArray as IsArray197, IsDefined as IsDefined171, IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty379, IsNumber as IsNumber375, IsString as IsString462, IsUUID as
|
|
35389
|
+
import { IsArray as IsArray197, IsDefined as IsDefined171, IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty379, IsNumber as IsNumber375, IsString as IsString462, IsUUID as IsUUID11, MaxLength as MaxLength4, ValidateNested as ValidateNested329 } from "class-validator";
|
|
35389
35390
|
var TOAClaroOrderStockENTITY = class {
|
|
35390
35391
|
_id;
|
|
35391
35392
|
id_recurso;
|
|
@@ -35400,7 +35401,7 @@ var TOAClaroOrderStockENTITY = class {
|
|
|
35400
35401
|
};
|
|
35401
35402
|
__decorateClass([
|
|
35402
35403
|
IsDefined171({ message: "El campo _id es obligatorio." }),
|
|
35403
|
-
|
|
35404
|
+
IsUUID11("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
35404
35405
|
Expose566()
|
|
35405
35406
|
], TOAClaroOrderStockENTITY.prototype, "_id", 2);
|
|
35406
35407
|
__decorateClass([
|
|
@@ -35485,14 +35486,14 @@ import { IsDefined as IsDefined174, IsObject as IsObject14, IsString as IsString
|
|
|
35485
35486
|
|
|
35486
35487
|
// src/v2/entities/Base.ts
|
|
35487
35488
|
import { Expose as Expose568 } from "class-transformer";
|
|
35488
|
-
import { IsBoolean as IsBoolean50, IsDefined as IsDefined173, IsUUID as
|
|
35489
|
+
import { IsBoolean as IsBoolean50, IsDefined as IsDefined173, IsUUID as IsUUID12 } from "class-validator";
|
|
35489
35490
|
var BaseEntity = class {
|
|
35490
35491
|
_id;
|
|
35491
35492
|
activo;
|
|
35492
35493
|
};
|
|
35493
35494
|
__decorateClass([
|
|
35494
35495
|
IsDefined173({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
35495
|
-
|
|
35496
|
+
IsUUID12("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
35496
35497
|
Expose568()
|
|
35497
35498
|
], BaseEntity.prototype, "_id", 2);
|
|
35498
35499
|
__decorateClass([
|