sigo-entities 1.2.403 → 1.2.405
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +13 -0
- package/dist/index.mjs +17 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9614,6 +9614,7 @@ declare class Peru9112ClaroENTITY {
|
|
|
9614
9614
|
MO: number;
|
|
9615
9615
|
Gasto_EECC: number;
|
|
9616
9616
|
EECC: EECCDBTOADTO;
|
|
9617
|
+
boletin: FilesDocDTO;
|
|
9617
9618
|
AjusteReproceso: AjusteReprocesoDTO | {};
|
|
9618
9619
|
Valorizacion: ValorizacionPeru9112ClaroDTO | {};
|
|
9619
9620
|
causa_completado_reparacion_y_preventivo_adsl: string;
|
|
@@ -9621,6 +9622,7 @@ declare class Peru9112ClaroENTITY {
|
|
|
9621
9622
|
causa_completado_reparacion_y_preventivo_stb: string;
|
|
9622
9623
|
codigo_completado_reparacion_y_preventivo_stb: string;
|
|
9623
9624
|
EstadoProceso: EstadoProcesoValPeru9112ClaroDTO;
|
|
9625
|
+
estado_interno: StateInternalOrder;
|
|
9624
9626
|
}
|
|
9625
9627
|
|
|
9626
9628
|
declare class CodeNameDto {
|
package/dist/index.d.ts
CHANGED
|
@@ -9614,6 +9614,7 @@ declare class Peru9112ClaroENTITY {
|
|
|
9614
9614
|
MO: number;
|
|
9615
9615
|
Gasto_EECC: number;
|
|
9616
9616
|
EECC: EECCDBTOADTO;
|
|
9617
|
+
boletin: FilesDocDTO;
|
|
9617
9618
|
AjusteReproceso: AjusteReprocesoDTO | {};
|
|
9618
9619
|
Valorizacion: ValorizacionPeru9112ClaroDTO | {};
|
|
9619
9620
|
causa_completado_reparacion_y_preventivo_adsl: string;
|
|
@@ -9621,6 +9622,7 @@ declare class Peru9112ClaroENTITY {
|
|
|
9621
9622
|
causa_completado_reparacion_y_preventivo_stb: string;
|
|
9622
9623
|
codigo_completado_reparacion_y_preventivo_stb: string;
|
|
9623
9624
|
EstadoProceso: EstadoProcesoValPeru9112ClaroDTO;
|
|
9625
|
+
estado_interno: StateInternalOrder;
|
|
9624
9626
|
}
|
|
9625
9627
|
|
|
9626
9628
|
declare class CodeNameDto {
|
package/dist/index.js
CHANGED
|
@@ -50491,6 +50491,7 @@ var Peru9112ClaroENTITY = class {
|
|
|
50491
50491
|
MO = 0;
|
|
50492
50492
|
Gasto_EECC = 0;
|
|
50493
50493
|
EECC = new EECCDBTOADTO();
|
|
50494
|
+
boletin = new FilesDocDTO();
|
|
50494
50495
|
AjusteReproceso = {};
|
|
50495
50496
|
Valorizacion = {};
|
|
50496
50497
|
causa_completado_reparacion_y_preventivo_adsl;
|
|
@@ -50498,6 +50499,7 @@ var Peru9112ClaroENTITY = class {
|
|
|
50498
50499
|
causa_completado_reparacion_y_preventivo_stb;
|
|
50499
50500
|
codigo_completado_reparacion_y_preventivo_stb;
|
|
50500
50501
|
EstadoProceso = new EstadoProcesoValPeru9112ClaroDTO();
|
|
50502
|
+
estado_interno = "Pendiente" /* PENDIENTE */;
|
|
50501
50503
|
};
|
|
50502
50504
|
__decorateClass([
|
|
50503
50505
|
(0, import_class_validator767.IsDefined)({ message: "El campo _id es obligatorio." }),
|
|
@@ -50810,6 +50812,12 @@ __decorateClass([
|
|
|
50810
50812
|
(0, import_class_validator767.ValidateNested)(),
|
|
50811
50813
|
(0, import_class_transformer790.Type)(() => EECCDBTOADTO)
|
|
50812
50814
|
], Peru9112ClaroENTITY.prototype, "EECC", 2);
|
|
50815
|
+
__decorateClass([
|
|
50816
|
+
(0, import_class_transformer790.Expose)(),
|
|
50817
|
+
(0, import_class_validator767.IsDefined)(),
|
|
50818
|
+
(0, import_class_validator767.ValidateNested)(),
|
|
50819
|
+
(0, import_class_transformer790.Type)(() => FilesDocDTO)
|
|
50820
|
+
], Peru9112ClaroENTITY.prototype, "boletin", 2);
|
|
50813
50821
|
__decorateClass([
|
|
50814
50822
|
(0, import_class_transformer790.Expose)(),
|
|
50815
50823
|
(0, import_class_validator767.IsDefined)({ message: "El campo AjusteReproceso es obligatorio." })
|
|
@@ -50844,6 +50852,11 @@ __decorateClass([
|
|
|
50844
50852
|
(0, import_class_validator767.ValidateNested)(),
|
|
50845
50853
|
(0, import_class_transformer790.Type)(() => EstadoProcesoValPeru9112ClaroDTO)
|
|
50846
50854
|
], Peru9112ClaroENTITY.prototype, "EstadoProceso", 2);
|
|
50855
|
+
__decorateClass([
|
|
50856
|
+
(0, import_class_transformer790.Expose)(),
|
|
50857
|
+
(0, import_class_validator767.IsDefined)({ message: "El campo estado_interno es obligatorio." }),
|
|
50858
|
+
(0, import_class_validator767.IsEnum)(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
50859
|
+
], Peru9112ClaroENTITY.prototype, "estado_interno", 2);
|
|
50847
50860
|
|
|
50848
50861
|
// src/v2/dtos/CodeName.ts
|
|
50849
50862
|
var import_class_transformer791 = require("class-transformer");
|
package/dist/index.mjs
CHANGED
|
@@ -49597,7 +49597,8 @@ import {
|
|
|
49597
49597
|
IsArray as IsArray246,
|
|
49598
49598
|
IsObject as IsObject14,
|
|
49599
49599
|
IsDate as IsDate181,
|
|
49600
|
-
IsUUID as IsUUID19
|
|
49600
|
+
IsUUID as IsUUID19,
|
|
49601
|
+
IsEnum as IsEnum41
|
|
49601
49602
|
} from "class-validator";
|
|
49602
49603
|
import "reflect-metadata";
|
|
49603
49604
|
|
|
@@ -49996,6 +49997,7 @@ var Peru9112ClaroENTITY = class {
|
|
|
49996
49997
|
MO = 0;
|
|
49997
49998
|
Gasto_EECC = 0;
|
|
49998
49999
|
EECC = new EECCDBTOADTO();
|
|
50000
|
+
boletin = new FilesDocDTO();
|
|
49999
50001
|
AjusteReproceso = {};
|
|
50000
50002
|
Valorizacion = {};
|
|
50001
50003
|
causa_completado_reparacion_y_preventivo_adsl;
|
|
@@ -50003,6 +50005,7 @@ var Peru9112ClaroENTITY = class {
|
|
|
50003
50005
|
causa_completado_reparacion_y_preventivo_stb;
|
|
50004
50006
|
codigo_completado_reparacion_y_preventivo_stb;
|
|
50005
50007
|
EstadoProceso = new EstadoProcesoValPeru9112ClaroDTO();
|
|
50008
|
+
estado_interno = "Pendiente" /* PENDIENTE */;
|
|
50006
50009
|
};
|
|
50007
50010
|
__decorateClass([
|
|
50008
50011
|
IsDefined262({ message: "El campo _id es obligatorio." }),
|
|
@@ -50315,6 +50318,12 @@ __decorateClass([
|
|
|
50315
50318
|
ValidateNested414(),
|
|
50316
50319
|
Type474(() => EECCDBTOADTO)
|
|
50317
50320
|
], Peru9112ClaroENTITY.prototype, "EECC", 2);
|
|
50321
|
+
__decorateClass([
|
|
50322
|
+
Expose763(),
|
|
50323
|
+
IsDefined262(),
|
|
50324
|
+
ValidateNested414(),
|
|
50325
|
+
Type474(() => FilesDocDTO)
|
|
50326
|
+
], Peru9112ClaroENTITY.prototype, "boletin", 2);
|
|
50318
50327
|
__decorateClass([
|
|
50319
50328
|
Expose763(),
|
|
50320
50329
|
IsDefined262({ message: "El campo AjusteReproceso es obligatorio." })
|
|
@@ -50349,6 +50358,11 @@ __decorateClass([
|
|
|
50349
50358
|
ValidateNested414(),
|
|
50350
50359
|
Type474(() => EstadoProcesoValPeru9112ClaroDTO)
|
|
50351
50360
|
], Peru9112ClaroENTITY.prototype, "EstadoProceso", 2);
|
|
50361
|
+
__decorateClass([
|
|
50362
|
+
Expose763(),
|
|
50363
|
+
IsDefined262({ message: "El campo estado_interno es obligatorio." }),
|
|
50364
|
+
IsEnum41(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
50365
|
+
], Peru9112ClaroENTITY.prototype, "estado_interno", 2);
|
|
50352
50366
|
|
|
50353
50367
|
// src/v2/dtos/CodeName.ts
|
|
50354
50368
|
import { Expose as Expose764, Transform as Transform111 } from "class-transformer";
|
|
@@ -50911,7 +50925,7 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
50911
50925
|
|
|
50912
50926
|
// src/v2/entities/Company.ts
|
|
50913
50927
|
import { Expose as Expose781 } from "class-transformer";
|
|
50914
|
-
import { IsArray as IsArray255, IsBoolean as IsBoolean76, IsDefined as IsDefined279, IsEmail as IsEmail9, IsEnum as
|
|
50928
|
+
import { IsArray as IsArray255, IsBoolean as IsBoolean76, IsDefined as IsDefined279, IsEmail as IsEmail9, IsEnum as IsEnum43, IsNotEmpty as IsNotEmpty465, IsString as IsString646, IsUUID as IsUUID29 } from "class-validator";
|
|
50915
50929
|
var CompanyEntity = class extends BaseEntity {
|
|
50916
50930
|
companyType;
|
|
50917
50931
|
identification;
|
|
@@ -50926,7 +50940,7 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
50926
50940
|
};
|
|
50927
50941
|
__decorateClass([
|
|
50928
50942
|
IsDefined279({ message: "El tipo de empresa es requerido" }),
|
|
50929
|
-
|
|
50943
|
+
IsEnum43(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
50930
50944
|
Expose781()
|
|
50931
50945
|
], CompanyEntity.prototype, "companyType", 2);
|
|
50932
50946
|
__decorateClass([
|