sigo-entities 1.2.10 → 1.2.12

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 CHANGED
@@ -5873,7 +5873,7 @@ declare class DataScraperClaroVTRENTITY {
5873
5873
 
5874
5874
  declare class StockQuantityEmployeeDTO {
5875
5875
  quantity: number;
5876
- _id_stock_employee: string;
5876
+ _id_stock_employee: number;
5877
5877
  }
5878
5878
 
5879
5879
  declare enum StateInventory {
@@ -5977,6 +5977,8 @@ declare class Peru9112TOAENTITY {
5977
5977
  canal_de_agendamiento: string;
5978
5978
  usuario_de_agendamiento: string;
5979
5979
  fecha_de_agendamiento: Date;
5980
+ activity_start_time: Date;
5981
+ activity_end_time: Date;
5980
5982
  franja_de_agendamiento: string;
5981
5983
  existe_cobertura_de_fibra_en_la_zona: string;
5982
5984
  cliente_acepta_solucion_anticipada_de_reclamo: string;
package/dist/index.d.ts CHANGED
@@ -5873,7 +5873,7 @@ declare class DataScraperClaroVTRENTITY {
5873
5873
 
5874
5874
  declare class StockQuantityEmployeeDTO {
5875
5875
  quantity: number;
5876
- _id_stock_employee: string;
5876
+ _id_stock_employee: number;
5877
5877
  }
5878
5878
 
5879
5879
  declare enum StateInventory {
@@ -5977,6 +5977,8 @@ declare class Peru9112TOAENTITY {
5977
5977
  canal_de_agendamiento: string;
5978
5978
  usuario_de_agendamiento: string;
5979
5979
  fecha_de_agendamiento: Date;
5980
+ activity_start_time: Date;
5981
+ activity_end_time: Date;
5980
5982
  franja_de_agendamiento: string;
5981
5983
  existe_cobertura_de_fibra_en_la_zona: string;
5982
5984
  cliente_acepta_solucion_anticipada_de_reclamo: string;
package/dist/index.js CHANGED
@@ -31235,7 +31235,7 @@ var import_class_transformer528 = require("class-transformer");
31235
31235
  var import_class_validator529 = require("class-validator");
31236
31236
  var StockQuantityEmployeeDTO = class {
31237
31237
  quantity;
31238
- _id_stock_employee = "";
31238
+ _id_stock_employee = 0;
31239
31239
  };
31240
31240
  __decorateClass([
31241
31241
  (0, import_class_validator529.IsDefined)({ message: "El campo quantity es obligatorio." }),
@@ -31245,7 +31245,7 @@ __decorateClass([
31245
31245
  ], StockQuantityEmployeeDTO.prototype, "quantity", 2);
31246
31246
  __decorateClass([
31247
31247
  (0, import_class_validator529.IsDefined)({ message: "El campo _id_stock_employee es obligatorio." }),
31248
- (0, import_class_validator529.IsUUID)("4", { message: 'La propiedad "_id_stock_employee" debe ser un UUID v4 v\xE1lido.' }),
31248
+ (0, import_class_validator529.IsNumber)({}, { message: 'La propiedad "_id_stock_employee" debe ser un numero.' }),
31249
31249
  (0, import_class_transformer528.Expose)({ name: "_id_stock_employee" })
31250
31250
  ], StockQuantityEmployeeDTO.prototype, "_id_stock_employee", 2);
31251
31251
 
@@ -31563,6 +31563,8 @@ var Peru9112TOAENTITY = class {
31563
31563
  canal_de_agendamiento = "";
31564
31564
  usuario_de_agendamiento = "";
31565
31565
  fecha_de_agendamiento = /* @__PURE__ */ new Date();
31566
+ activity_start_time = /* @__PURE__ */ new Date();
31567
+ activity_end_time = /* @__PURE__ */ new Date();
31566
31568
  franja_de_agendamiento = "";
31567
31569
  existe_cobertura_de_fibra_en_la_zona = "";
31568
31570
  cliente_acepta_solucion_anticipada_de_reclamo = "";
@@ -31780,6 +31782,16 @@ __decorateClass([
31780
31782
  (0, import_class_validator532.IsDefined)({ message: "El campo Fecha de agendamiento es obligatorio." }),
31781
31783
  (0, import_class_validator532.IsDate)({ message: "debe ser una fecha" })
31782
31784
  ], Peru9112TOAENTITY.prototype, "fecha_de_agendamiento", 2);
31785
+ __decorateClass([
31786
+ (0, import_class_transformer531.Expose)({ name: "StartDate" }),
31787
+ (0, import_class_validator532.IsDefined)({ message: "El campo Fecha de inicio liquidaci\xF3n es obligatorio." }),
31788
+ (0, import_class_validator532.IsDate)({ message: "El campo Fecha de inicio liquidaci\xF3n debe ser una fecha" })
31789
+ ], Peru9112TOAENTITY.prototype, "activity_start_time", 2);
31790
+ __decorateClass([
31791
+ (0, import_class_transformer531.Expose)({ name: "SettlementDate" }),
31792
+ (0, import_class_validator532.IsDefined)({ message: "El campo Fecha de fin liquidaci\xF3n es obligatorio." }),
31793
+ (0, import_class_validator532.IsDate)({ message: "El campo Fecha de fin liquidaci\xF3n debe ser una fecha" })
31794
+ ], Peru9112TOAENTITY.prototype, "activity_end_time", 2);
31783
31795
  __decorateClass([
31784
31796
  (0, import_class_transformer531.Expose)({ name: "Franja de agendamiento" }),
31785
31797
  (0, import_class_validator532.IsDefined)({ message: "El campo Franja de agendamiento es obligatorio." }),
package/dist/index.mjs CHANGED
@@ -30838,10 +30838,10 @@ import { IsArray as IsArray172, IsDefined as IsDefined134, IsEnum as IsEnum18, I
30838
30838
 
30839
30839
  // src/operativa/procesos/TOA order stock/shared/dto/stock-quantity-employee-dto.ts
30840
30840
  import { Expose as Expose526 } from "class-transformer";
30841
- import { IsDefined as IsDefined133, IsNumber as IsNumber343, IsUUID as IsUUID2, Min as Min270 } from "class-validator";
30841
+ import { IsDefined as IsDefined133, IsNumber as IsNumber343, Min as Min270 } from "class-validator";
30842
30842
  var StockQuantityEmployeeDTO = class {
30843
30843
  quantity;
30844
- _id_stock_employee = "";
30844
+ _id_stock_employee = 0;
30845
30845
  };
30846
30846
  __decorateClass([
30847
30847
  IsDefined133({ message: "El campo quantity es obligatorio." }),
@@ -30851,7 +30851,7 @@ __decorateClass([
30851
30851
  ], StockQuantityEmployeeDTO.prototype, "quantity", 2);
30852
30852
  __decorateClass([
30853
30853
  IsDefined133({ message: "El campo _id_stock_employee es obligatorio." }),
30854
- IsUUID2("4", { message: 'La propiedad "_id_stock_employee" debe ser un UUID v4 v\xE1lido.' }),
30854
+ IsNumber343({}, { message: 'La propiedad "_id_stock_employee" debe ser un numero.' }),
30855
30855
  Expose526({ name: "_id_stock_employee" })
30856
30856
  ], StockQuantityEmployeeDTO.prototype, "_id_stock_employee", 2);
30857
30857
 
@@ -31169,6 +31169,8 @@ var Peru9112TOAENTITY = class {
31169
31169
  canal_de_agendamiento = "";
31170
31170
  usuario_de_agendamiento = "";
31171
31171
  fecha_de_agendamiento = /* @__PURE__ */ new Date();
31172
+ activity_start_time = /* @__PURE__ */ new Date();
31173
+ activity_end_time = /* @__PURE__ */ new Date();
31172
31174
  franja_de_agendamiento = "";
31173
31175
  existe_cobertura_de_fibra_en_la_zona = "";
31174
31176
  cliente_acepta_solucion_anticipada_de_reclamo = "";
@@ -31386,6 +31388,16 @@ __decorateClass([
31386
31388
  IsDefined136({ message: "El campo Fecha de agendamiento es obligatorio." }),
31387
31389
  IsDate124({ message: "debe ser una fecha" })
31388
31390
  ], Peru9112TOAENTITY.prototype, "fecha_de_agendamiento", 2);
31391
+ __decorateClass([
31392
+ Expose529({ name: "StartDate" }),
31393
+ IsDefined136({ message: "El campo Fecha de inicio liquidaci\xF3n es obligatorio." }),
31394
+ IsDate124({ message: "El campo Fecha de inicio liquidaci\xF3n debe ser una fecha" })
31395
+ ], Peru9112TOAENTITY.prototype, "activity_start_time", 2);
31396
+ __decorateClass([
31397
+ Expose529({ name: "SettlementDate" }),
31398
+ IsDefined136({ message: "El campo Fecha de fin liquidaci\xF3n es obligatorio." }),
31399
+ IsDate124({ message: "El campo Fecha de fin liquidaci\xF3n debe ser una fecha" })
31400
+ ], Peru9112TOAENTITY.prototype, "activity_end_time", 2);
31389
31401
  __decorateClass([
31390
31402
  Expose529({ name: "Franja de agendamiento" }),
31391
31403
  IsDefined136({ message: "El campo Franja de agendamiento es obligatorio." }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",