sigo-entities 0.0.201 → 0.0.203
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 -1
- package/dist/index.mjs +31 -19
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1705,6 +1705,7 @@ declare class ManoObraDTO {
|
|
|
1705
1705
|
declare class PagosECDTO {
|
|
1706
1706
|
porcentaje: number;
|
|
1707
1707
|
fecha: Date;
|
|
1708
|
+
codigoFecha: string;
|
|
1708
1709
|
usuario: UsuarioRegistrarDTO;
|
|
1709
1710
|
nroDocumento: string;
|
|
1710
1711
|
nroFactura: string;
|
|
@@ -1757,6 +1758,7 @@ declare class BaremosColombiaENTITY {
|
|
|
1757
1758
|
FechaDocumento: Date;
|
|
1758
1759
|
CambiosEstadosFase: CambiosEstadosPagosProduccionDTO[];
|
|
1759
1760
|
PagosEC: PagosECDTO[];
|
|
1761
|
+
Cancelado: boolean;
|
|
1760
1762
|
}
|
|
1761
1763
|
|
|
1762
1764
|
declare class PeriodoLiberacionPagosDTO {
|
package/dist/index.d.ts
CHANGED
|
@@ -1705,6 +1705,7 @@ declare class ManoObraDTO {
|
|
|
1705
1705
|
declare class PagosECDTO {
|
|
1706
1706
|
porcentaje: number;
|
|
1707
1707
|
fecha: Date;
|
|
1708
|
+
codigoFecha: string;
|
|
1708
1709
|
usuario: UsuarioRegistrarDTO;
|
|
1709
1710
|
nroDocumento: string;
|
|
1710
1711
|
nroFactura: string;
|
|
@@ -1757,6 +1758,7 @@ declare class BaremosColombiaENTITY {
|
|
|
1757
1758
|
FechaDocumento: Date;
|
|
1758
1759
|
CambiosEstadosFase: CambiosEstadosPagosProduccionDTO[];
|
|
1759
1760
|
PagosEC: PagosECDTO[];
|
|
1761
|
+
Cancelado: boolean;
|
|
1760
1762
|
}
|
|
1761
1763
|
|
|
1762
1764
|
declare class PeriodoLiberacionPagosDTO {
|
package/dist/index.js
CHANGED
|
@@ -8912,7 +8912,6 @@ __decorateClass([
|
|
|
8912
8912
|
__decorateClass([
|
|
8913
8913
|
(0, import_class_validator154.IsBoolean)({ message: "debe ser true o false" }),
|
|
8914
8914
|
(0, import_class_validator154.IsNotEmpty)({ message: "es requerido" }),
|
|
8915
|
-
(0, import_class_validator154.Length)(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
8916
8915
|
(0, import_class_transformer154.Expose)()
|
|
8917
8916
|
], EmpresaDTO4.prototype, "Propia", 2);
|
|
8918
8917
|
|
|
@@ -8949,6 +8948,7 @@ var import_class_validator156 = require("class-validator");
|
|
|
8949
8948
|
var PagosECDTO = class {
|
|
8950
8949
|
porcentaje = 0;
|
|
8951
8950
|
fecha = /* @__PURE__ */ new Date();
|
|
8951
|
+
codigoFecha = "";
|
|
8952
8952
|
usuario = new UsuarioRegistrarDTO();
|
|
8953
8953
|
nroDocumento = "";
|
|
8954
8954
|
nroFactura = "";
|
|
@@ -8966,6 +8966,12 @@ __decorateClass([
|
|
|
8966
8966
|
(0, import_class_validator156.IsNotEmpty)({ message: "es requerido" }),
|
|
8967
8967
|
(0, import_class_transformer156.Expose)()
|
|
8968
8968
|
], PagosECDTO.prototype, "fecha", 2);
|
|
8969
|
+
__decorateClass([
|
|
8970
|
+
(0, import_class_validator156.IsString)({ message: "debe ser un texto" }),
|
|
8971
|
+
(0, import_class_validator156.IsNotEmpty)({ message: "es requerido" }),
|
|
8972
|
+
(0, import_class_validator156.Length)(8, 8, { message: "debe tener entre 8 y 8 caracteres" }),
|
|
8973
|
+
(0, import_class_transformer156.Expose)()
|
|
8974
|
+
], PagosECDTO.prototype, "codigoFecha", 2);
|
|
8969
8975
|
__decorateClass([
|
|
8970
8976
|
(0, import_class_validator156.IsString)({ message: "debe ser un texto" }),
|
|
8971
8977
|
(0, import_class_validator156.IsNotEmpty)({ message: "es requerido" }),
|
|
@@ -9260,6 +9266,7 @@ var BaremosColombiaENTITY = class {
|
|
|
9260
9266
|
FechaDocumento = /* @__PURE__ */ new Date(0);
|
|
9261
9267
|
CambiosEstadosFase = [];
|
|
9262
9268
|
PagosEC = [];
|
|
9269
|
+
Cancelado = false;
|
|
9263
9270
|
};
|
|
9264
9271
|
__decorateClass([
|
|
9265
9272
|
(0, import_class_transformer161.Expose)(),
|
|
@@ -9435,6 +9442,11 @@ __decorateClass([
|
|
|
9435
9442
|
(0, import_class_transformer161.Expose)(),
|
|
9436
9443
|
(0, import_class_validator161.ValidateNested)({ each: true })
|
|
9437
9444
|
], BaremosColombiaENTITY.prototype, "PagosEC", 2);
|
|
9445
|
+
__decorateClass([
|
|
9446
|
+
(0, import_class_validator161.IsBoolean)({ message: "debe ser true o false" }),
|
|
9447
|
+
(0, import_class_validator161.IsNotEmpty)({ message: "es requerido" }),
|
|
9448
|
+
(0, import_class_transformer161.Expose)()
|
|
9449
|
+
], BaremosColombiaENTITY.prototype, "Cancelado", 2);
|
|
9438
9450
|
|
|
9439
9451
|
// src/programados/Reportes/LiberacionDePagos/shared/index.ts
|
|
9440
9452
|
var import_class_transformer170 = require("class-transformer");
|
package/dist/index.mjs
CHANGED
|
@@ -8579,7 +8579,7 @@ __decorateClass([
|
|
|
8579
8579
|
|
|
8580
8580
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/index.ts
|
|
8581
8581
|
import { Expose as Expose160, Type as Type112 } from "class-transformer";
|
|
8582
|
-
import { IsArray as IsArray68, IsDate as IsDate67, IsIn as IsIn24, IsNotEmpty as IsNotEmpty158, IsNumber as IsNumber116, IsOptional as IsOptional3, IsString as IsString136, Min as Min85, ValidateNested as ValidateNested101 } from "class-validator";
|
|
8582
|
+
import { IsArray as IsArray68, IsBoolean as IsBoolean24, IsDate as IsDate67, IsIn as IsIn24, IsNotEmpty as IsNotEmpty158, IsNumber as IsNumber116, IsOptional as IsOptional3, IsString as IsString136, Min as Min85, ValidateNested as ValidateNested101 } from "class-validator";
|
|
8583
8583
|
|
|
8584
8584
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/cambios-estados-pagos-produccion-dto.ts
|
|
8585
8585
|
import { Expose as Expose151, Type as Type104 } from "class-transformer";
|
|
@@ -8671,7 +8671,6 @@ __decorateClass([
|
|
|
8671
8671
|
__decorateClass([
|
|
8672
8672
|
IsBoolean18({ message: "debe ser true o false" }),
|
|
8673
8673
|
IsNotEmpty151({ message: "es requerido" }),
|
|
8674
|
-
Length114(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
8675
8674
|
Expose153()
|
|
8676
8675
|
], EmpresaDTO4.prototype, "Propia", 2);
|
|
8677
8676
|
|
|
@@ -8708,6 +8707,7 @@ import { IsDate as IsDate62, IsNotEmpty as IsNotEmpty153, IsNumber as IsNumber11
|
|
|
8708
8707
|
var PagosECDTO = class {
|
|
8709
8708
|
porcentaje = 0;
|
|
8710
8709
|
fecha = /* @__PURE__ */ new Date();
|
|
8710
|
+
codigoFecha = "";
|
|
8711
8711
|
usuario = new UsuarioRegistrarDTO();
|
|
8712
8712
|
nroDocumento = "";
|
|
8713
8713
|
nroFactura = "";
|
|
@@ -8725,6 +8725,12 @@ __decorateClass([
|
|
|
8725
8725
|
IsNotEmpty153({ message: "es requerido" }),
|
|
8726
8726
|
Expose155()
|
|
8727
8727
|
], PagosECDTO.prototype, "fecha", 2);
|
|
8728
|
+
__decorateClass([
|
|
8729
|
+
IsString131({ message: "debe ser un texto" }),
|
|
8730
|
+
IsNotEmpty153({ message: "es requerido" }),
|
|
8731
|
+
Length116(8, 8, { message: "debe tener entre 8 y 8 caracteres" }),
|
|
8732
|
+
Expose155()
|
|
8733
|
+
], PagosECDTO.prototype, "codigoFecha", 2);
|
|
8728
8734
|
__decorateClass([
|
|
8729
8735
|
IsString131({ message: "debe ser un texto" }),
|
|
8730
8736
|
IsNotEmpty153({ message: "es requerido" }),
|
|
@@ -9019,6 +9025,7 @@ var BaremosColombiaENTITY = class {
|
|
|
9019
9025
|
FechaDocumento = /* @__PURE__ */ new Date(0);
|
|
9020
9026
|
CambiosEstadosFase = [];
|
|
9021
9027
|
PagosEC = [];
|
|
9028
|
+
Cancelado = false;
|
|
9022
9029
|
};
|
|
9023
9030
|
__decorateClass([
|
|
9024
9031
|
Expose160(),
|
|
@@ -9194,10 +9201,15 @@ __decorateClass([
|
|
|
9194
9201
|
Expose160(),
|
|
9195
9202
|
ValidateNested101({ each: true })
|
|
9196
9203
|
], BaremosColombiaENTITY.prototype, "PagosEC", 2);
|
|
9204
|
+
__decorateClass([
|
|
9205
|
+
IsBoolean24({ message: "debe ser true o false" }),
|
|
9206
|
+
IsNotEmpty158({ message: "es requerido" }),
|
|
9207
|
+
Expose160()
|
|
9208
|
+
], BaremosColombiaENTITY.prototype, "Cancelado", 2);
|
|
9197
9209
|
|
|
9198
9210
|
// src/programados/Reportes/LiberacionDePagos/shared/index.ts
|
|
9199
9211
|
import { Expose as Expose169, Type as Type121 } from "class-transformer";
|
|
9200
|
-
import { IsArray as IsArray77, IsBoolean as
|
|
9212
|
+
import { IsArray as IsArray77, IsBoolean as IsBoolean32, IsDate as IsDate76, IsIn as IsIn33, IsNotEmpty as IsNotEmpty167, IsNumber as IsNumber124, IsString as IsString145, Min as Min93, ValidateNested as ValidateNested110 } from "class-validator";
|
|
9201
9213
|
|
|
9202
9214
|
// src/programados/Reportes/LiberacionDePagos/shared/dto/periodo-liberacion-pagos-dto.ts
|
|
9203
9215
|
import { Expose as Expose161 } from "class-transformer";
|
|
@@ -9283,7 +9295,7 @@ __decorateClass([
|
|
|
9283
9295
|
|
|
9284
9296
|
// src/programados/Reportes/LiberacionDePagos/shared/dto/empresa-liberacion-pagos-dto.ts
|
|
9285
9297
|
import { Expose as Expose163 } from "class-transformer";
|
|
9286
|
-
import { IsBoolean as
|
|
9298
|
+
import { IsBoolean as IsBoolean27, IsNotEmpty as IsNotEmpty161, IsString as IsString139, Length as Length123 } from "class-validator";
|
|
9287
9299
|
var EmpresaLiberacionPagosDTO = class {
|
|
9288
9300
|
Codigo = "";
|
|
9289
9301
|
RazonSocial = "";
|
|
@@ -9302,14 +9314,14 @@ __decorateClass([
|
|
|
9302
9314
|
Expose163()
|
|
9303
9315
|
], EmpresaLiberacionPagosDTO.prototype, "RazonSocial", 2);
|
|
9304
9316
|
__decorateClass([
|
|
9305
|
-
|
|
9317
|
+
IsBoolean27({ message: "debe ser true o false" }),
|
|
9306
9318
|
IsNotEmpty161({ message: "es requerido" }),
|
|
9307
9319
|
Expose163()
|
|
9308
9320
|
], EmpresaLiberacionPagosDTO.prototype, "Propia", 2);
|
|
9309
9321
|
|
|
9310
9322
|
// src/programados/Reportes/LiberacionDePagos/shared/dto/manoobra-liberacion_pagos-dto.ts
|
|
9311
9323
|
import { Expose as Expose164 } from "class-transformer";
|
|
9312
|
-
import { IsBoolean as
|
|
9324
|
+
import { IsBoolean as IsBoolean28, IsNotEmpty as IsNotEmpty162, IsString as IsString140, Length as Length124 } from "class-validator";
|
|
9313
9325
|
var ManoObraLiberacionPagosDTO = class {
|
|
9314
9326
|
Codigo = "";
|
|
9315
9327
|
Nombre = "";
|
|
@@ -9328,7 +9340,7 @@ __decorateClass([
|
|
|
9328
9340
|
Expose164()
|
|
9329
9341
|
], ManoObraLiberacionPagosDTO.prototype, "Nombre", 2);
|
|
9330
9342
|
__decorateClass([
|
|
9331
|
-
|
|
9343
|
+
IsBoolean28({ message: "debe ser true o false" }),
|
|
9332
9344
|
IsNotEmpty162({ message: "es requerido" }),
|
|
9333
9345
|
Length124(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
|
|
9334
9346
|
Expose164()
|
|
@@ -9807,7 +9819,7 @@ __decorateClass([
|
|
|
9807
9819
|
Min93(1)
|
|
9808
9820
|
], LiberacionDePagosAlemaniaENTITY.prototype, "Decimales", 2);
|
|
9809
9821
|
__decorateClass([
|
|
9810
|
-
|
|
9822
|
+
IsBoolean32({ message: "debe ser true o false" }),
|
|
9811
9823
|
IsNotEmpty167({ message: "es requerido" }),
|
|
9812
9824
|
Expose169()
|
|
9813
9825
|
], LiberacionDePagosAlemaniaENTITY.prototype, "isContratista", 2);
|
|
@@ -11190,7 +11202,7 @@ import { IsArray as IsArray87, IsNotEmpty as IsNotEmpty184, IsNumber as IsNumber
|
|
|
11190
11202
|
|
|
11191
11203
|
// src/logistica/ingreso almacen/shared/dto/empresa-dto.ts
|
|
11192
11204
|
import { Expose as Expose185 } from "class-transformer";
|
|
11193
|
-
import { IsBoolean as
|
|
11205
|
+
import { IsBoolean as IsBoolean33, IsNotEmpty as IsNotEmpty181, IsString as IsString158, Length as Length140 } from "class-validator";
|
|
11194
11206
|
var EmpresaDTO5 = class {
|
|
11195
11207
|
Codigo = "";
|
|
11196
11208
|
RazonSocial = "";
|
|
@@ -11207,7 +11219,7 @@ __decorateClass([
|
|
|
11207
11219
|
Expose185()
|
|
11208
11220
|
], EmpresaDTO5.prototype, "RazonSocial", 2);
|
|
11209
11221
|
__decorateClass([
|
|
11210
|
-
|
|
11222
|
+
IsBoolean33({ message: "debe ser un booleano" }),
|
|
11211
11223
|
IsNotEmpty181({ message: "es requerido" }),
|
|
11212
11224
|
Expose185()
|
|
11213
11225
|
], EmpresaDTO5.prototype, "Propia", 2);
|
|
@@ -12154,7 +12166,7 @@ __decorateClass([
|
|
|
12154
12166
|
import { Expose as Expose205, Type as Type147 } from "class-transformer";
|
|
12155
12167
|
import {
|
|
12156
12168
|
IsArray as IsArray95,
|
|
12157
|
-
IsBoolean as
|
|
12169
|
+
IsBoolean as IsBoolean34,
|
|
12158
12170
|
IsDate as IsDate85,
|
|
12159
12171
|
IsNotEmpty as IsNotEmpty200,
|
|
12160
12172
|
IsNumber as IsNumber147,
|
|
@@ -12311,7 +12323,7 @@ __decorateClass([
|
|
|
12311
12323
|
ValidateNested136()
|
|
12312
12324
|
], PersonalENTITY.prototype, "Sincronizacion", 2);
|
|
12313
12325
|
__decorateClass([
|
|
12314
|
-
|
|
12326
|
+
IsBoolean34({ message: "debe ser un booleano" }),
|
|
12315
12327
|
IsNotEmpty200({ message: "es requerido" }),
|
|
12316
12328
|
Expose205()
|
|
12317
12329
|
], PersonalENTITY.prototype, "Administrativo", 2);
|
|
@@ -12585,7 +12597,7 @@ import { IsNotEmpty as IsNotEmpty206, IsNumber as IsNumber153, IsString as IsStr
|
|
|
12585
12597
|
|
|
12586
12598
|
// src/configuracion/empresa/shared/dto/tipo-miembro-grupo-empresa-dto.ts
|
|
12587
12599
|
import { Expose as Expose212 } from "class-transformer";
|
|
12588
|
-
import { IsBoolean as
|
|
12600
|
+
import { IsBoolean as IsBoolean35, IsNotEmpty as IsNotEmpty205, IsNumber as IsNumber152, IsString as IsString181, Length as Length161, Min as Min119 } from "class-validator";
|
|
12589
12601
|
var TipoMiembroGrupoEmpresaDTO = class {
|
|
12590
12602
|
ID_TipoMiembroGrupoEmpresa = 0;
|
|
12591
12603
|
Nombre = "";
|
|
@@ -12603,7 +12615,7 @@ __decorateClass([
|
|
|
12603
12615
|
Expose212()
|
|
12604
12616
|
], TipoMiembroGrupoEmpresaDTO.prototype, "Nombre", 2);
|
|
12605
12617
|
__decorateClass([
|
|
12606
|
-
|
|
12618
|
+
IsBoolean35({ message: "debe ser un booleano" }),
|
|
12607
12619
|
IsNotEmpty205({ message: "es requerido" }),
|
|
12608
12620
|
Expose212()
|
|
12609
12621
|
], TipoMiembroGrupoEmpresaDTO.prototype, "PermiteOtroGrupo", 2);
|
|
@@ -12717,7 +12729,7 @@ __decorateClass([
|
|
|
12717
12729
|
], TipoEmpresaDTO.prototype, "Nombre", 2);
|
|
12718
12730
|
|
|
12719
12731
|
// src/configuracion/empresa/shared/index.ts
|
|
12720
|
-
import { IsArray as IsArray100, IsBoolean as
|
|
12732
|
+
import { IsArray as IsArray100, IsBoolean as IsBoolean36, IsNotEmpty as IsNotEmpty209, IsNumber as IsNumber156, IsString as IsString185, Length as Length165, Min as Min123, ValidateNested as ValidateNested142 } from "class-validator";
|
|
12721
12733
|
var EmpresaENTITY = class {
|
|
12722
12734
|
ID_Empresa = 0;
|
|
12723
12735
|
Pais = new PaisStockPersonalDTO();
|
|
@@ -12797,7 +12809,7 @@ __decorateClass([
|
|
|
12797
12809
|
Expose216()
|
|
12798
12810
|
], EmpresaENTITY.prototype, "NombreComercial", 2);
|
|
12799
12811
|
__decorateClass([
|
|
12800
|
-
|
|
12812
|
+
IsBoolean36({ message: "debe ser un booleano" }),
|
|
12801
12813
|
IsNotEmpty209({ message: "es requerido" }),
|
|
12802
12814
|
Expose216()
|
|
12803
12815
|
], EmpresaENTITY.prototype, "Propia", 2);
|
|
@@ -13329,7 +13341,7 @@ __decorateClass([
|
|
|
13329
13341
|
|
|
13330
13342
|
// src/configuracion/usuarios/shared/index.ts
|
|
13331
13343
|
import { Expose as Expose228, Type as Type163 } from "class-transformer";
|
|
13332
|
-
import { IsArray as IsArray102, IsBoolean as
|
|
13344
|
+
import { IsArray as IsArray102, IsBoolean as IsBoolean37, IsNotEmpty as IsNotEmpty220, IsNumber as IsNumber164, IsString as IsString196, Length as Length176, Min as Min130, ValidateNested as ValidateNested146, IsEmail as IsEmail4, IsEnum as IsEnum3 } from "class-validator";
|
|
13333
13345
|
var UsuarioENTITY = class {
|
|
13334
13346
|
IdUsuario = 0;
|
|
13335
13347
|
User = "";
|
|
@@ -13503,12 +13515,12 @@ __decorateClass([
|
|
|
13503
13515
|
ValidateNested146({ each: true })
|
|
13504
13516
|
], UsuarioENTITY.prototype, "Bitacora", 2);
|
|
13505
13517
|
__decorateClass([
|
|
13506
|
-
|
|
13518
|
+
IsBoolean37({ message: "debe ser un booleano" }),
|
|
13507
13519
|
IsNotEmpty220({ message: "es requerido" }),
|
|
13508
13520
|
Expose228()
|
|
13509
13521
|
], UsuarioENTITY.prototype, "isCreate", 2);
|
|
13510
13522
|
__decorateClass([
|
|
13511
|
-
|
|
13523
|
+
IsBoolean37({ message: "debe ser un booleano" }),
|
|
13512
13524
|
IsNotEmpty220({ message: "es requerido" }),
|
|
13513
13525
|
Expose228()
|
|
13514
13526
|
], UsuarioENTITY.prototype, "SuperUsuario", 2);
|