sigo-entities 0.0.211 → 0.0.212

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # sigo-entities
2
- Desarrollo de modelos de datos SIGO
3
- npm i sigo-entities@latest
4
- ## Test
1
+ # sigo-entities
2
+ Desarrollo de modelos de datos SIGO
3
+ npm i sigo-entities@latest
4
+ ## Test
package/dist/index.d.mts CHANGED
@@ -1638,7 +1638,7 @@ declare class UnidadMedidaDTO$1 {
1638
1638
  UnidadMedida: string;
1639
1639
  }
1640
1640
 
1641
- declare class CambiosEstadosPagosProduccionDTO$1 {
1641
+ declare class CambiosEstadosPagosProduccionDTO {
1642
1642
  NroDocumento: string;
1643
1643
  UsuarioCambio: UsuarioDTO;
1644
1644
  FechaCambio: Date;
@@ -1674,15 +1674,7 @@ declare class BaremosChileENTITY {
1674
1674
  MO_Total: number;
1675
1675
  EstadoFase: string;
1676
1676
  FechaDocumento: Date;
1677
- CambiosEstadosFase: CambiosEstadosPagosProduccionDTO$1[];
1678
- }
1679
-
1680
- declare class CambiosEstadosPagosProduccionDTO {
1681
- NroDocumento: string;
1682
- UsuarioCambio: UsuarioDTO;
1683
- FechaCambio: Date;
1684
- Anexos: FilesDocDTO[];
1685
- EstadoFase: string;
1677
+ CambiosEstadosFase: CambiosEstadosPagosProduccionDTO[];
1686
1678
  }
1687
1679
 
1688
1680
  declare class CuadrillaDTO {
@@ -1755,9 +1747,6 @@ declare class BaremosColombiaENTITY {
1755
1747
  Mes: number;
1756
1748
  PB_Total: number;
1757
1749
  MO_Total: number;
1758
- EstadoFase: string;
1759
- FechaDocumento: Date;
1760
- CambiosEstadosFase: CambiosEstadosPagosProduccionDTO[];
1761
1750
  PagosEC: PagosECDTO[];
1762
1751
  Cancelado: boolean;
1763
1752
  }
package/dist/index.d.ts CHANGED
@@ -1638,7 +1638,7 @@ declare class UnidadMedidaDTO$1 {
1638
1638
  UnidadMedida: string;
1639
1639
  }
1640
1640
 
1641
- declare class CambiosEstadosPagosProduccionDTO$1 {
1641
+ declare class CambiosEstadosPagosProduccionDTO {
1642
1642
  NroDocumento: string;
1643
1643
  UsuarioCambio: UsuarioDTO;
1644
1644
  FechaCambio: Date;
@@ -1674,15 +1674,7 @@ declare class BaremosChileENTITY {
1674
1674
  MO_Total: number;
1675
1675
  EstadoFase: string;
1676
1676
  FechaDocumento: Date;
1677
- CambiosEstadosFase: CambiosEstadosPagosProduccionDTO$1[];
1678
- }
1679
-
1680
- declare class CambiosEstadosPagosProduccionDTO {
1681
- NroDocumento: string;
1682
- UsuarioCambio: UsuarioDTO;
1683
- FechaCambio: Date;
1684
- Anexos: FilesDocDTO[];
1685
- EstadoFase: string;
1677
+ CambiosEstadosFase: CambiosEstadosPagosProduccionDTO[];
1686
1678
  }
1687
1679
 
1688
1680
  declare class CuadrillaDTO {
@@ -1755,9 +1747,6 @@ declare class BaremosColombiaENTITY {
1755
1747
  Mes: number;
1756
1748
  PB_Total: number;
1757
1749
  MO_Total: number;
1758
- EstadoFase: string;
1759
- FechaDocumento: Date;
1760
- CambiosEstadosFase: CambiosEstadosPagosProduccionDTO[];
1761
1750
  PagosEC: PagosECDTO[];
1762
1751
  Cancelado: boolean;
1763
1752
  }
package/dist/index.js CHANGED
@@ -9275,9 +9275,6 @@ var BaremosColombiaENTITY = class {
9275
9275
  Mes = 0;
9276
9276
  PB_Total = 0;
9277
9277
  MO_Total = 0;
9278
- EstadoFase = "PENDIENTE";
9279
- FechaDocumento = /* @__PURE__ */ new Date(0);
9280
- CambiosEstadosFase = [];
9281
9278
  PagosEC = [];
9282
9279
  Cancelado = false;
9283
9280
  };
@@ -9430,25 +9427,6 @@ __decorateClass([
9430
9427
  (0, import_class_transformer161.Expose)(),
9431
9428
  (0, import_class_validator161.Min)(0)
9432
9429
  ], BaremosColombiaENTITY.prototype, "MO_Total", 2);
9433
- __decorateClass([
9434
- (0, import_class_validator161.IsString)({ message: "debe ser un texto" }),
9435
- (0, import_class_validator161.IsNotEmpty)({ message: "es requerido" }),
9436
- (0, import_class_validator161.IsIn)(["PENDIENTE", "GENERADO", "FACTURADO"], { message: "El valor debe ser PENDIENTE , GENERADO \xF3 FACTURADO" }),
9437
- (0, import_class_transformer161.Expose)()
9438
- ], BaremosColombiaENTITY.prototype, "EstadoFase", 2);
9439
- __decorateClass([
9440
- (0, import_class_transformer161.Transform)(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
9441
- (0, import_class_validator161.IsDate)({ message: "debe ser fecha" }),
9442
- (0, import_class_validator161.IsNotEmpty)({ message: "es requerido" }),
9443
- (0, import_class_transformer161.Expose)()
9444
- ], BaremosColombiaENTITY.prototype, "FechaDocumento", 2);
9445
- __decorateClass([
9446
- (0, import_class_validator161.IsArray)(),
9447
- (0, import_class_transformer161.Type)(() => CambiosEstadosPagosProduccionDTO2),
9448
- (0, import_class_validator161.IsNotEmpty)({ message: "es requerido" }),
9449
- (0, import_class_transformer161.Expose)(),
9450
- (0, import_class_validator161.ValidateNested)({ each: true })
9451
- ], BaremosColombiaENTITY.prototype, "CambiosEstadosFase", 2);
9452
9430
  __decorateClass([
9453
9431
  (0, import_class_validator161.IsArray)(),
9454
9432
  (0, import_class_transformer161.Type)(() => PagosECDTO),
package/dist/index.mjs CHANGED
@@ -8583,8 +8583,8 @@ __decorateClass([
8583
8583
  ], BaremosChileENTITY.prototype, "CambiosEstadosFase", 2);
8584
8584
 
8585
8585
  // src/programados/Reportes/ReporteProduccion/Colombia/Baremos/index.ts
8586
- import { Expose as Expose160, Transform as Transform6, Type as Type112 } from "class-transformer";
8587
- import { IsArray as IsArray67, IsBoolean as IsBoolean24, IsDate as IsDate66, IsIn as IsIn23, IsNotEmpty as IsNotEmpty158, IsNumber as IsNumber115, IsOptional as IsOptional3, IsString as IsString136, Min as Min84, ValidateNested as ValidateNested101 } from "class-validator";
8586
+ import { Expose as Expose160, Type as Type112 } from "class-transformer";
8587
+ import { IsArray as IsArray67, IsBoolean as IsBoolean24, IsNotEmpty as IsNotEmpty158, IsNumber as IsNumber115, IsOptional as IsOptional3, IsString as IsString136, Min as Min84, ValidateNested as ValidateNested101 } from "class-validator";
8588
8588
 
8589
8589
  // src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/cambios-estados-pagos-produccion-dto.ts
8590
8590
  import { Expose as Expose151, Transform, Type as Type104 } from "class-transformer";
@@ -9030,9 +9030,6 @@ var BaremosColombiaENTITY = class {
9030
9030
  Mes = 0;
9031
9031
  PB_Total = 0;
9032
9032
  MO_Total = 0;
9033
- EstadoFase = "PENDIENTE";
9034
- FechaDocumento = /* @__PURE__ */ new Date(0);
9035
- CambiosEstadosFase = [];
9036
9033
  PagosEC = [];
9037
9034
  Cancelado = false;
9038
9035
  };
@@ -9185,25 +9182,6 @@ __decorateClass([
9185
9182
  Expose160(),
9186
9183
  Min84(0)
9187
9184
  ], BaremosColombiaENTITY.prototype, "MO_Total", 2);
9188
- __decorateClass([
9189
- IsString136({ message: "debe ser un texto" }),
9190
- IsNotEmpty158({ message: "es requerido" }),
9191
- IsIn23(["PENDIENTE", "GENERADO", "FACTURADO"], { message: "El valor debe ser PENDIENTE , GENERADO \xF3 FACTURADO" }),
9192
- Expose160()
9193
- ], BaremosColombiaENTITY.prototype, "EstadoFase", 2);
9194
- __decorateClass([
9195
- Transform6(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
9196
- IsDate66({ message: "debe ser fecha" }),
9197
- IsNotEmpty158({ message: "es requerido" }),
9198
- Expose160()
9199
- ], BaremosColombiaENTITY.prototype, "FechaDocumento", 2);
9200
- __decorateClass([
9201
- IsArray67(),
9202
- Type112(() => CambiosEstadosPagosProduccionDTO2),
9203
- IsNotEmpty158({ message: "es requerido" }),
9204
- Expose160(),
9205
- ValidateNested101({ each: true })
9206
- ], BaremosColombiaENTITY.prototype, "CambiosEstadosFase", 2);
9207
9185
  __decorateClass([
9208
9186
  IsArray67(),
9209
9187
  Type112(() => PagosECDTO),
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "name": "sigo-entities",
3
- "version": "0.0.211",
4
- "description": "Desarrollo de modelos de datos SIGO",
5
- "main": "dist/index.js",
6
- "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
8
- "scripts": {
9
- "build": "tsup",
10
- "prepare": "npm run build"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "git@github.com-trabajo:GRUPOCOBRA/sigo-entities.git"
15
- },
16
- "keywords": [],
17
- "author": "usuario088",
18
- "license": "ISC",
19
- "devDependencies": {
20
- "tsup": "^8.1.0",
21
- "typescript": "^5.4.5"
22
- },
23
- "dependencies": {
24
- "class-transformer": "^0.5.1",
25
- "class-validator": "^0.14.1"
26
- }
27
- }
1
+ {
2
+ "name": "sigo-entities",
3
+ "version": "0.0.212",
4
+ "description": "Desarrollo de modelos de datos SIGO",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "scripts": {
9
+ "build": "tsup",
10
+ "prepare": "npm run build"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git@github.com-trabajo:GRUPOCOBRA/sigo-entities.git"
15
+ },
16
+ "keywords": [],
17
+ "author": "usuario088",
18
+ "license": "ISC",
19
+ "devDependencies": {
20
+ "tsup": "^8.1.0",
21
+ "typescript": "^5.4.5"
22
+ },
23
+ "dependencies": {
24
+ "class-transformer": "^0.5.1",
25
+ "class-validator": "^0.14.1"
26
+ }
27
+ }