sigo-entities 1.2.403 → 1.2.404
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 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -0
- package/dist/index.mjs +10 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9621,6 +9621,7 @@ declare class Peru9112ClaroENTITY {
|
|
|
9621
9621
|
causa_completado_reparacion_y_preventivo_stb: string;
|
|
9622
9622
|
codigo_completado_reparacion_y_preventivo_stb: string;
|
|
9623
9623
|
EstadoProceso: EstadoProcesoValPeru9112ClaroDTO;
|
|
9624
|
+
estado_interno: StateInternalOrder;
|
|
9624
9625
|
}
|
|
9625
9626
|
|
|
9626
9627
|
declare class CodeNameDto {
|
package/dist/index.d.ts
CHANGED
|
@@ -9621,6 +9621,7 @@ declare class Peru9112ClaroENTITY {
|
|
|
9621
9621
|
causa_completado_reparacion_y_preventivo_stb: string;
|
|
9622
9622
|
codigo_completado_reparacion_y_preventivo_stb: string;
|
|
9623
9623
|
EstadoProceso: EstadoProcesoValPeru9112ClaroDTO;
|
|
9624
|
+
estado_interno: StateInternalOrder;
|
|
9624
9625
|
}
|
|
9625
9626
|
|
|
9626
9627
|
declare class CodeNameDto {
|
package/dist/index.js
CHANGED
|
@@ -50498,6 +50498,7 @@ var Peru9112ClaroENTITY = class {
|
|
|
50498
50498
|
causa_completado_reparacion_y_preventivo_stb;
|
|
50499
50499
|
codigo_completado_reparacion_y_preventivo_stb;
|
|
50500
50500
|
EstadoProceso = new EstadoProcesoValPeru9112ClaroDTO();
|
|
50501
|
+
estado_interno = "Pendiente" /* PENDIENTE */;
|
|
50501
50502
|
};
|
|
50502
50503
|
__decorateClass([
|
|
50503
50504
|
(0, import_class_validator767.IsDefined)({ message: "El campo _id es obligatorio." }),
|
|
@@ -50844,6 +50845,11 @@ __decorateClass([
|
|
|
50844
50845
|
(0, import_class_validator767.ValidateNested)(),
|
|
50845
50846
|
(0, import_class_transformer790.Type)(() => EstadoProcesoValPeru9112ClaroDTO)
|
|
50846
50847
|
], Peru9112ClaroENTITY.prototype, "EstadoProceso", 2);
|
|
50848
|
+
__decorateClass([
|
|
50849
|
+
(0, import_class_transformer790.Expose)(),
|
|
50850
|
+
(0, import_class_validator767.IsDefined)({ message: "El campo estado_interno es obligatorio." }),
|
|
50851
|
+
(0, import_class_validator767.IsEnum)(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
50852
|
+
], Peru9112ClaroENTITY.prototype, "estado_interno", 2);
|
|
50847
50853
|
|
|
50848
50854
|
// src/v2/dtos/CodeName.ts
|
|
50849
50855
|
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
|
|
|
@@ -50003,6 +50004,7 @@ var Peru9112ClaroENTITY = class {
|
|
|
50003
50004
|
causa_completado_reparacion_y_preventivo_stb;
|
|
50004
50005
|
codigo_completado_reparacion_y_preventivo_stb;
|
|
50005
50006
|
EstadoProceso = new EstadoProcesoValPeru9112ClaroDTO();
|
|
50007
|
+
estado_interno = "Pendiente" /* PENDIENTE */;
|
|
50006
50008
|
};
|
|
50007
50009
|
__decorateClass([
|
|
50008
50010
|
IsDefined262({ message: "El campo _id es obligatorio." }),
|
|
@@ -50349,6 +50351,11 @@ __decorateClass([
|
|
|
50349
50351
|
ValidateNested414(),
|
|
50350
50352
|
Type474(() => EstadoProcesoValPeru9112ClaroDTO)
|
|
50351
50353
|
], Peru9112ClaroENTITY.prototype, "EstadoProceso", 2);
|
|
50354
|
+
__decorateClass([
|
|
50355
|
+
Expose763(),
|
|
50356
|
+
IsDefined262({ message: "El campo estado_interno es obligatorio." }),
|
|
50357
|
+
IsEnum41(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
50358
|
+
], Peru9112ClaroENTITY.prototype, "estado_interno", 2);
|
|
50352
50359
|
|
|
50353
50360
|
// src/v2/dtos/CodeName.ts
|
|
50354
50361
|
import { Expose as Expose764, Transform as Transform111 } from "class-transformer";
|
|
@@ -50911,7 +50918,7 @@ var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
|
50911
50918
|
|
|
50912
50919
|
// src/v2/entities/Company.ts
|
|
50913
50920
|
import { Expose as Expose781 } from "class-transformer";
|
|
50914
|
-
import { IsArray as IsArray255, IsBoolean as IsBoolean76, IsDefined as IsDefined279, IsEmail as IsEmail9, IsEnum as
|
|
50921
|
+
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
50922
|
var CompanyEntity = class extends BaseEntity {
|
|
50916
50923
|
companyType;
|
|
50917
50924
|
identification;
|
|
@@ -50926,7 +50933,7 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
50926
50933
|
};
|
|
50927
50934
|
__decorateClass([
|
|
50928
50935
|
IsDefined279({ message: "El tipo de empresa es requerido" }),
|
|
50929
|
-
|
|
50936
|
+
IsEnum43(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
50930
50937
|
Expose781()
|
|
50931
50938
|
], CompanyEntity.prototype, "companyType", 2);
|
|
50932
50939
|
__decorateClass([
|