sigo-entities 1.2.488 → 1.2.489
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 +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/index.mjs +16 -15
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -871,7 +871,8 @@ declare enum AddressClassification {
|
|
|
871
871
|
|
|
872
872
|
declare enum PasoDeWorkflow {
|
|
873
873
|
CERRADO = "Cerrado",
|
|
874
|
-
RESTAURADO = "Restaurado"
|
|
874
|
+
RESTAURADO = "Restaurado",
|
|
875
|
+
REASIGNADO = "Reasignado"
|
|
875
876
|
}
|
|
876
877
|
|
|
877
878
|
declare enum ClasificacionIncidencia {
|
|
@@ -10220,7 +10221,7 @@ declare class BtAlpPluzOrder2ENTITY {
|
|
|
10220
10221
|
numero_serie_fabricante_equipo: string;
|
|
10221
10222
|
estado_equipo_actividad: string;
|
|
10222
10223
|
tecnico: string;
|
|
10223
|
-
paso_workflow:
|
|
10224
|
+
paso_workflow: PasoDeWorkflow;
|
|
10224
10225
|
fecha_vencimiento: Date;
|
|
10225
10226
|
fecha_finalizacion_prevista: Date;
|
|
10226
10227
|
codigo_proyecto: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -871,7 +871,8 @@ declare enum AddressClassification {
|
|
|
871
871
|
|
|
872
872
|
declare enum PasoDeWorkflow {
|
|
873
873
|
CERRADO = "Cerrado",
|
|
874
|
-
RESTAURADO = "Restaurado"
|
|
874
|
+
RESTAURADO = "Restaurado",
|
|
875
|
+
REASIGNADO = "Reasignado"
|
|
875
876
|
}
|
|
876
877
|
|
|
877
878
|
declare enum ClasificacionIncidencia {
|
|
@@ -10220,7 +10221,7 @@ declare class BtAlpPluzOrder2ENTITY {
|
|
|
10220
10221
|
numero_serie_fabricante_equipo: string;
|
|
10221
10222
|
estado_equipo_actividad: string;
|
|
10222
10223
|
tecnico: string;
|
|
10223
|
-
paso_workflow:
|
|
10224
|
+
paso_workflow: PasoDeWorkflow;
|
|
10224
10225
|
fecha_vencimiento: Date;
|
|
10225
10226
|
fecha_finalizacion_prevista: Date;
|
|
10226
10227
|
codigo_proyecto: string;
|
package/dist/index.js
CHANGED
|
@@ -4723,6 +4723,7 @@ var AddressClassification = /* @__PURE__ */ ((AddressClassification2) => {
|
|
|
4723
4723
|
var PasoDeWorkflow = /* @__PURE__ */ ((PasoDeWorkflow2) => {
|
|
4724
4724
|
PasoDeWorkflow2["CERRADO"] = "Cerrado";
|
|
4725
4725
|
PasoDeWorkflow2["RESTAURADO"] = "Restaurado";
|
|
4726
|
+
PasoDeWorkflow2["REASIGNADO"] = "Reasignado";
|
|
4726
4727
|
return PasoDeWorkflow2;
|
|
4727
4728
|
})(PasoDeWorkflow || {});
|
|
4728
4729
|
|
|
@@ -53595,7 +53596,7 @@ var BtAlpPluzOrder2ENTITY = class {
|
|
|
53595
53596
|
numero_serie_fabricante_equipo = "";
|
|
53596
53597
|
estado_equipo_actividad = "";
|
|
53597
53598
|
tecnico = "";
|
|
53598
|
-
paso_workflow = ""
|
|
53599
|
+
paso_workflow = "Cerrado" /* CERRADO */;
|
|
53599
53600
|
fecha_vencimiento = /* @__PURE__ */ new Date();
|
|
53600
53601
|
fecha_finalizacion_prevista = /* @__PURE__ */ new Date();
|
|
53601
53602
|
codigo_proyecto = "";
|
|
@@ -53879,7 +53880,7 @@ __decorateClass([
|
|
|
53879
53880
|
__decorateClass([
|
|
53880
53881
|
(0, import_class_transformer827.Expose)(),
|
|
53881
53882
|
(0, import_class_validator804.IsDefined)(),
|
|
53882
|
-
(0, import_class_validator804.
|
|
53883
|
+
(0, import_class_validator804.IsEnum)(PasoDeWorkflow)
|
|
53883
53884
|
], BtAlpPluzOrder2ENTITY.prototype, "paso_workflow", 2);
|
|
53884
53885
|
__decorateClass([
|
|
53885
53886
|
(0, import_class_transformer827.Expose)(),
|
package/dist/index.mjs
CHANGED
|
@@ -3813,6 +3813,7 @@ var AddressClassification = /* @__PURE__ */ ((AddressClassification2) => {
|
|
|
3813
3813
|
var PasoDeWorkflow = /* @__PURE__ */ ((PasoDeWorkflow2) => {
|
|
3814
3814
|
PasoDeWorkflow2["CERRADO"] = "Cerrado";
|
|
3815
3815
|
PasoDeWorkflow2["RESTAURADO"] = "Restaurado";
|
|
3816
|
+
PasoDeWorkflow2["REASIGNADO"] = "Reasignado";
|
|
3816
3817
|
return PasoDeWorkflow2;
|
|
3817
3818
|
})(PasoDeWorkflow || {});
|
|
3818
3819
|
|
|
@@ -53033,7 +53034,7 @@ __decorateClass([
|
|
|
53033
53034
|
|
|
53034
53035
|
// src/operativa/procesos/btalppluz_order2/shared/index.ts
|
|
53035
53036
|
import { Expose as Expose800, Type as Type492 } from "class-transformer";
|
|
53036
|
-
import { IsDefined as IsDefined290, IsString as IsString665, IsNumber as IsNumber525, IsDate as IsDate191, ValidateNested as ValidateNested424 } from "class-validator";
|
|
53037
|
+
import { IsDefined as IsDefined290, IsString as IsString665, IsNumber as IsNumber525, IsDate as IsDate191, IsEnum as IsEnum57, ValidateNested as ValidateNested424 } from "class-validator";
|
|
53037
53038
|
import "reflect-metadata";
|
|
53038
53039
|
var BtAlpPluzOrder2ENTITY = class {
|
|
53039
53040
|
_id = "";
|
|
@@ -53077,7 +53078,7 @@ var BtAlpPluzOrder2ENTITY = class {
|
|
|
53077
53078
|
numero_serie_fabricante_equipo = "";
|
|
53078
53079
|
estado_equipo_actividad = "";
|
|
53079
53080
|
tecnico = "";
|
|
53080
|
-
paso_workflow = ""
|
|
53081
|
+
paso_workflow = "Cerrado" /* CERRADO */;
|
|
53081
53082
|
fecha_vencimiento = /* @__PURE__ */ new Date();
|
|
53082
53083
|
fecha_finalizacion_prevista = /* @__PURE__ */ new Date();
|
|
53083
53084
|
codigo_proyecto = "";
|
|
@@ -53361,7 +53362,7 @@ __decorateClass([
|
|
|
53361
53362
|
__decorateClass([
|
|
53362
53363
|
Expose800(),
|
|
53363
53364
|
IsDefined290(),
|
|
53364
|
-
|
|
53365
|
+
IsEnum57(PasoDeWorkflow)
|
|
53365
53366
|
], BtAlpPluzOrder2ENTITY.prototype, "paso_workflow", 2);
|
|
53366
53367
|
__decorateClass([
|
|
53367
53368
|
Expose800(),
|
|
@@ -53784,7 +53785,7 @@ __decorateClass([
|
|
|
53784
53785
|
], LoginDto.prototype, "password", 2);
|
|
53785
53786
|
|
|
53786
53787
|
// src/v2/dtos/PayloadToken.ts
|
|
53787
|
-
import { IsDefined as IsDefined295, IsEnum as
|
|
53788
|
+
import { IsDefined as IsDefined295, IsEnum as IsEnum58, IsObject as IsObject15, ValidateNested as ValidateNested426 } from "class-validator";
|
|
53788
53789
|
import { Expose as Expose805, Type as Type494 } from "class-transformer";
|
|
53789
53790
|
|
|
53790
53791
|
// src/v2/dtos/AuthUser.ts
|
|
@@ -53928,7 +53929,7 @@ __decorateClass([
|
|
|
53928
53929
|
], PayloadTokenDto.prototype, "delegation", 2);
|
|
53929
53930
|
__decorateClass([
|
|
53930
53931
|
IsDefined295({ message: "Debe proporcionar el tipo de empleado" }),
|
|
53931
|
-
|
|
53932
|
+
IsEnum58(EmploymentType, { message: "El tipo de empleado no es v\xE1lido" }),
|
|
53932
53933
|
Expose805()
|
|
53933
53934
|
], PayloadTokenDto.prototype, "employmentType", 2);
|
|
53934
53935
|
|
|
@@ -54163,7 +54164,7 @@ import {
|
|
|
54163
54164
|
IsArray as IsArray258,
|
|
54164
54165
|
IsBoolean as IsBoolean77,
|
|
54165
54166
|
IsDefined as IsDefined303,
|
|
54166
|
-
IsEnum as
|
|
54167
|
+
IsEnum as IsEnum60,
|
|
54167
54168
|
IsNotEmpty as IsNotEmpty465,
|
|
54168
54169
|
IsNumber as IsNumber526,
|
|
54169
54170
|
IsString as IsString676,
|
|
@@ -54206,7 +54207,7 @@ __decorateClass([
|
|
|
54206
54207
|
__decorateClass([
|
|
54207
54208
|
IsDefined303({ message: "Las extensiones de archivo aceptadas son requeridas" }),
|
|
54208
54209
|
IsArray258({ message: "Las extensiones de archivo aceptadas deben ser un arreglo" }),
|
|
54209
|
-
|
|
54210
|
+
IsEnum60(FileExtension, {
|
|
54210
54211
|
each: true,
|
|
54211
54212
|
message: "Cada extensi\xF3n de archivo debe ser una extensi\xF3n v\xE1lida"
|
|
54212
54213
|
}),
|
|
@@ -54369,7 +54370,7 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
54369
54370
|
|
|
54370
54371
|
// src/v2/dtos/CreateCompany.ts
|
|
54371
54372
|
import { Expose as Expose819 } from "class-transformer";
|
|
54372
|
-
import { IsArray as IsArray259, IsBoolean as IsBoolean78, IsDefined as IsDefined308, IsEmail as IsEmail10, IsEnum as
|
|
54373
|
+
import { IsArray as IsArray259, IsBoolean as IsBoolean78, IsDefined as IsDefined308, IsEmail as IsEmail10, IsEnum as IsEnum61, IsNotEmpty as IsNotEmpty470, IsString as IsString681, IsUUID as IsUUID34 } from "class-validator";
|
|
54373
54374
|
var CreateCompanyDto = class {
|
|
54374
54375
|
_id;
|
|
54375
54376
|
companyType;
|
|
@@ -54390,7 +54391,7 @@ __decorateClass([
|
|
|
54390
54391
|
], CreateCompanyDto.prototype, "_id", 2);
|
|
54391
54392
|
__decorateClass([
|
|
54392
54393
|
IsDefined308({ message: "El tipo de empresa es requerido" }),
|
|
54393
|
-
|
|
54394
|
+
IsEnum61(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
54394
54395
|
Expose819()
|
|
54395
54396
|
], CreateCompanyDto.prototype, "companyType", 2);
|
|
54396
54397
|
__decorateClass([
|
|
@@ -54449,7 +54450,7 @@ __decorateClass([
|
|
|
54449
54450
|
|
|
54450
54451
|
// src/v2/dtos/UpdateCompany.ts
|
|
54451
54452
|
import { Expose as Expose820 } from "class-transformer";
|
|
54452
|
-
import { IsArray as IsArray260, IsBoolean as IsBoolean79, IsDefined as IsDefined309, IsEmail as IsEmail11, IsEnum as
|
|
54453
|
+
import { IsArray as IsArray260, IsBoolean as IsBoolean79, IsDefined as IsDefined309, IsEmail as IsEmail11, IsEnum as IsEnum62, IsNotEmpty as IsNotEmpty471, IsString as IsString682, IsUUID as IsUUID35 } from "class-validator";
|
|
54453
54454
|
var UpdateCompanyDto = class {
|
|
54454
54455
|
_id;
|
|
54455
54456
|
companyType;
|
|
@@ -54470,7 +54471,7 @@ __decorateClass([
|
|
|
54470
54471
|
], UpdateCompanyDto.prototype, "_id", 2);
|
|
54471
54472
|
__decorateClass([
|
|
54472
54473
|
IsDefined309({ message: "El tipo de empresa es requerido" }),
|
|
54473
|
-
|
|
54474
|
+
IsEnum62(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
54474
54475
|
Expose820()
|
|
54475
54476
|
], UpdateCompanyDto.prototype, "companyType", 2);
|
|
54476
54477
|
__decorateClass([
|
|
@@ -54533,7 +54534,7 @@ import { Expose as Expose822, Transform as Transform122, Type as Type499 } from
|
|
|
54533
54534
|
|
|
54534
54535
|
// src/v2/dtos/ResourceSystemDto.ts
|
|
54535
54536
|
import { Expose as Expose821, Type as Type498 } from "class-transformer";
|
|
54536
|
-
import { IsDate as IsDate192, IsDefined as IsDefined310, IsEnum as
|
|
54537
|
+
import { IsDate as IsDate192, IsDefined as IsDefined310, IsEnum as IsEnum63, IsString as IsString683, MinLength as MinLength62 } from "class-validator";
|
|
54537
54538
|
|
|
54538
54539
|
// src/v2/enums/SystemResource.ts
|
|
54539
54540
|
var SystemResource = /* @__PURE__ */ ((SystemResource2) => {
|
|
@@ -54566,7 +54567,7 @@ __decorateClass([
|
|
|
54566
54567
|
], ResourceSystemDto.prototype, "resource_id", 2);
|
|
54567
54568
|
__decorateClass([
|
|
54568
54569
|
IsDefined310({ message: "Sistema es obligatoria" }),
|
|
54569
|
-
|
|
54570
|
+
IsEnum63(SystemResource, { message: `El campo system debe ser uno de: ${Object.values(SystemResource).join(", ")}.` }),
|
|
54570
54571
|
Expose821()
|
|
54571
54572
|
], ResourceSystemDto.prototype, "system", 2);
|
|
54572
54573
|
__decorateClass([
|
|
@@ -55186,7 +55187,7 @@ __decorateClass([
|
|
|
55186
55187
|
|
|
55187
55188
|
// src/v2/entities/Company.ts
|
|
55188
55189
|
import { Expose as Expose837 } from "class-transformer";
|
|
55189
|
-
import { IsArray as IsArray266, IsBoolean as IsBoolean83, IsDefined as IsDefined321, IsEmail as IsEmail14, IsEnum as
|
|
55190
|
+
import { IsArray as IsArray266, IsBoolean as IsBoolean83, IsDefined as IsDefined321, IsEmail as IsEmail14, IsEnum as IsEnum64, IsNotEmpty as IsNotEmpty475, IsString as IsString698, IsUUID as IsUUID42 } from "class-validator";
|
|
55190
55191
|
var CompanyEntity = class extends BaseEntity {
|
|
55191
55192
|
companyType;
|
|
55192
55193
|
identification;
|
|
@@ -55201,7 +55202,7 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
55201
55202
|
};
|
|
55202
55203
|
__decorateClass([
|
|
55203
55204
|
IsDefined321({ message: "El tipo de empresa es requerido" }),
|
|
55204
|
-
|
|
55205
|
+
IsEnum64(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
55205
55206
|
Expose837()
|
|
55206
55207
|
], CompanyEntity.prototype, "companyType", 2);
|
|
55207
55208
|
__decorateClass([
|