sigo-entities 0.0.21 → 0.0.23
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 +13 -6
- package/dist/index.d.ts +13 -6
- package/dist/index.js +23 -15
- package/dist/index.mjs +22 -15
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -353,6 +353,13 @@ declare class EquiposDTO {
|
|
|
353
353
|
Validado: ValidadoDTO;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
+
declare class StockPersonalEquiposENTITY {
|
|
357
|
+
ID_StockPersonalEquipos: number;
|
|
358
|
+
ID_StockPersonal: number;
|
|
359
|
+
CodigoLlave: string;
|
|
360
|
+
Equipos: EquiposDTO[];
|
|
361
|
+
}
|
|
362
|
+
|
|
356
363
|
type typeEstado = 'PENDIENTE' | 'ATENDIDO';
|
|
357
364
|
type typeFuente = 'TOA' | 'TOA PEX';
|
|
358
365
|
type typeEstadoNroDocumento = '' | 'APROBADO' | 'VALIDADO' | 'INACTIVO_INCONCLUSO' | 'SOLICITADO';
|
|
@@ -515,11 +522,11 @@ declare class PersonalLogisticaDTO {
|
|
|
515
522
|
}
|
|
516
523
|
|
|
517
524
|
declare class UsuarioLogisticaDTO {
|
|
518
|
-
Guia:
|
|
519
|
-
Ingreso:
|
|
520
|
-
Aprobacion:
|
|
521
|
-
Recepcion:
|
|
522
|
-
Anulacion:
|
|
525
|
+
Guia: UsuarioID_UsuarioDTO;
|
|
526
|
+
Ingreso: UsuarioID_UsuarioDTO;
|
|
527
|
+
Aprobacion: UsuarioID_UsuarioDTO;
|
|
528
|
+
Recepcion: UsuarioID_UsuarioDTO;
|
|
529
|
+
Anulacion: UsuarioID_UsuarioDTO;
|
|
523
530
|
}
|
|
524
531
|
|
|
525
532
|
declare class ZonaTrabajoDTO extends CodigoNombreDTO {
|
|
@@ -557,4 +564,4 @@ declare class SalidaAlmacenENTITY {
|
|
|
557
564
|
DatosTransportista: DatosTransportistaDTO;
|
|
558
565
|
}
|
|
559
566
|
|
|
560
|
-
export { AlmacenDTO, AlmacenLogisticaDTO, AtencionOrdenesLiquidadasENTITY, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoDTO, EstadoIntegracionDTO, Estado_InternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemDetalleLogisticaDTO, LoteDTO, MovimientoAlmacenDTO, PaisStockPersonalDTO, PersonalLogisticaDTO, SalidaAlmacenENTITY, SizeDTO, Sub_Estado_InternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ZonaTrabajoDTO, validateAndFormatData };
|
|
567
|
+
export { AlmacenDTO, AlmacenLogisticaDTO, AtencionOrdenesLiquidadasENTITY, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoDTO, EstadoIntegracionDTO, Estado_InternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemDetalleLogisticaDTO, LoteDTO, MovimientoAlmacenDTO, PaisStockPersonalDTO, PersonalLogisticaDTO, SalidaAlmacenENTITY, SizeDTO, StockPersonalEquiposENTITY, Sub_Estado_InternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ZonaTrabajoDTO, validateAndFormatData };
|
package/dist/index.d.ts
CHANGED
|
@@ -353,6 +353,13 @@ declare class EquiposDTO {
|
|
|
353
353
|
Validado: ValidadoDTO;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
+
declare class StockPersonalEquiposENTITY {
|
|
357
|
+
ID_StockPersonalEquipos: number;
|
|
358
|
+
ID_StockPersonal: number;
|
|
359
|
+
CodigoLlave: string;
|
|
360
|
+
Equipos: EquiposDTO[];
|
|
361
|
+
}
|
|
362
|
+
|
|
356
363
|
type typeEstado = 'PENDIENTE' | 'ATENDIDO';
|
|
357
364
|
type typeFuente = 'TOA' | 'TOA PEX';
|
|
358
365
|
type typeEstadoNroDocumento = '' | 'APROBADO' | 'VALIDADO' | 'INACTIVO_INCONCLUSO' | 'SOLICITADO';
|
|
@@ -515,11 +522,11 @@ declare class PersonalLogisticaDTO {
|
|
|
515
522
|
}
|
|
516
523
|
|
|
517
524
|
declare class UsuarioLogisticaDTO {
|
|
518
|
-
Guia:
|
|
519
|
-
Ingreso:
|
|
520
|
-
Aprobacion:
|
|
521
|
-
Recepcion:
|
|
522
|
-
Anulacion:
|
|
525
|
+
Guia: UsuarioID_UsuarioDTO;
|
|
526
|
+
Ingreso: UsuarioID_UsuarioDTO;
|
|
527
|
+
Aprobacion: UsuarioID_UsuarioDTO;
|
|
528
|
+
Recepcion: UsuarioID_UsuarioDTO;
|
|
529
|
+
Anulacion: UsuarioID_UsuarioDTO;
|
|
523
530
|
}
|
|
524
531
|
|
|
525
532
|
declare class ZonaTrabajoDTO extends CodigoNombreDTO {
|
|
@@ -557,4 +564,4 @@ declare class SalidaAlmacenENTITY {
|
|
|
557
564
|
DatosTransportista: DatosTransportistaDTO;
|
|
558
565
|
}
|
|
559
566
|
|
|
560
|
-
export { AlmacenDTO, AlmacenLogisticaDTO, AtencionOrdenesLiquidadasENTITY, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoDTO, EstadoIntegracionDTO, Estado_InternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemDetalleLogisticaDTO, LoteDTO, MovimientoAlmacenDTO, PaisStockPersonalDTO, PersonalLogisticaDTO, SalidaAlmacenENTITY, SizeDTO, Sub_Estado_InternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ZonaTrabajoDTO, validateAndFormatData };
|
|
567
|
+
export { AlmacenDTO, AlmacenLogisticaDTO, AtencionOrdenesLiquidadasENTITY, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, ConsumoMaterialChile9512ENTITY, CoordenadasDTO, DatosTransportistaDTO, DetalleDTO, EmpresaDTO, EmpresaLogisticaDTO, EquipoLogisticaDTO, EquiposDTO, EstadoDTO, EstadoIntegracionDTO, Estado_InternoDTO, FamiliaItemDTO, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, GranFamiliaItemDTO, ItemDetalleLogisticaDTO, LoteDTO, MovimientoAlmacenDTO, PaisStockPersonalDTO, PersonalLogisticaDTO, SalidaAlmacenENTITY, SizeDTO, StockPersonalEquiposENTITY, Sub_Estado_InternoDTO, TipoDocumentoIdentidadDTO, TipoMovimientoAlmacenDTO, TipoStockStockPersonalDTO, TrabajoENTITY, UnidadMedidaDTO, UsuarioDTO, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ZonaTrabajoDTO, validateAndFormatData };
|
package/dist/index.js
CHANGED
|
@@ -58,6 +58,7 @@ __export(src_exports, {
|
|
|
58
58
|
PersonalLogisticaDTO: () => PersonalLogisticaDTO,
|
|
59
59
|
SalidaAlmacenENTITY: () => SalidaAlmacenENTITY,
|
|
60
60
|
SizeDTO: () => SizeDTO,
|
|
61
|
+
StockPersonalEquiposENTITY: () => StockPersonalEquiposENTITY,
|
|
61
62
|
Sub_Estado_InternoDTO: () => Sub_Estado_InternoDTO,
|
|
62
63
|
TipoDocumentoIdentidadDTO: () => TipoDocumentoIdentidadDTO,
|
|
63
64
|
TipoMovimientoAlmacenDTO: () => TipoMovimientoAlmacenDTO,
|
|
@@ -720,10 +721,7 @@ __decorateClass([
|
|
|
720
721
|
(0, import_class_transformer16.Expose)()
|
|
721
722
|
], UnidadMedidaDTO.prototype, "Nombre", 2);
|
|
722
723
|
|
|
723
|
-
// src/shared/dto/
|
|
724
|
-
var import_class_validator18 = require("class-validator");
|
|
725
|
-
|
|
726
|
-
// src/logistica/stock personal equipos/shared/usuario-ID_Usuario-dto.ts
|
|
724
|
+
// src/shared/dto/usuario-ID_Usuario-dto.ts
|
|
727
725
|
var import_class_transformer17 = require("class-transformer");
|
|
728
726
|
var import_class_validator17 = require("class-validator");
|
|
729
727
|
var UsuarioID_UsuarioDTO = class {
|
|
@@ -761,6 +759,7 @@ __decorateClass([
|
|
|
761
759
|
], UsuarioID_UsuarioDTO.prototype, "Nombres", 2);
|
|
762
760
|
|
|
763
761
|
// src/shared/dto/validado-dto.ts
|
|
762
|
+
var import_class_validator18 = require("class-validator");
|
|
764
763
|
var import_class_transformer18 = require("class-transformer");
|
|
765
764
|
var ValidadoDTO = class {
|
|
766
765
|
Fecha = /* @__PURE__ */ new Date();
|
|
@@ -1930,7 +1929,15 @@ __decorateClass([
|
|
|
1930
1929
|
(0, import_class_transformer33.Expose)()
|
|
1931
1930
|
], OrdenesDto.prototype, "Serie", 2);
|
|
1932
1931
|
|
|
1933
|
-
// src/logistica/stock personal equipos/shared/
|
|
1932
|
+
// src/logistica/stock personal equipos/shared/index.ts
|
|
1933
|
+
var StockPersonalEquiposENTITY = class {
|
|
1934
|
+
ID_StockPersonalEquipos = 0;
|
|
1935
|
+
ID_StockPersonal = 0;
|
|
1936
|
+
CodigoLlave = "";
|
|
1937
|
+
Equipos = [];
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
// src/logistica/stock personal equipos/shared/dto/equipos-dto.ts
|
|
1934
1941
|
var EquiposDTO = class {
|
|
1935
1942
|
Item = 0;
|
|
1936
1943
|
Posicion = 0;
|
|
@@ -2749,38 +2756,38 @@ __decorateClass([
|
|
|
2749
2756
|
var import_class_transformer53 = require("class-transformer");
|
|
2750
2757
|
var import_class_validator53 = require("class-validator");
|
|
2751
2758
|
var UsuarioLogisticaDTO = class {
|
|
2752
|
-
Guia = new
|
|
2753
|
-
Ingreso = new
|
|
2754
|
-
Aprobacion = new
|
|
2755
|
-
Recepcion = new
|
|
2756
|
-
Anulacion = new
|
|
2759
|
+
Guia = new UsuarioID_UsuarioDTO();
|
|
2760
|
+
Ingreso = new UsuarioID_UsuarioDTO();
|
|
2761
|
+
Aprobacion = new UsuarioID_UsuarioDTO();
|
|
2762
|
+
Recepcion = new UsuarioID_UsuarioDTO();
|
|
2763
|
+
Anulacion = new UsuarioID_UsuarioDTO();
|
|
2757
2764
|
};
|
|
2758
2765
|
__decorateClass([
|
|
2759
|
-
(0, import_class_transformer53.Type)(() =>
|
|
2766
|
+
(0, import_class_transformer53.Type)(() => UsuarioID_UsuarioDTO),
|
|
2760
2767
|
(0, import_class_validator53.IsNotEmpty)({ message: "es requerido" }),
|
|
2761
2768
|
(0, import_class_transformer53.Expose)(),
|
|
2762
2769
|
(0, import_class_validator53.ValidateNested)()
|
|
2763
2770
|
], UsuarioLogisticaDTO.prototype, "Guia", 2);
|
|
2764
2771
|
__decorateClass([
|
|
2765
|
-
(0, import_class_transformer53.Type)(() =>
|
|
2772
|
+
(0, import_class_transformer53.Type)(() => UsuarioID_UsuarioDTO),
|
|
2766
2773
|
(0, import_class_validator53.IsNotEmpty)({ message: "es requerido" }),
|
|
2767
2774
|
(0, import_class_transformer53.Expose)(),
|
|
2768
2775
|
(0, import_class_validator53.ValidateNested)()
|
|
2769
2776
|
], UsuarioLogisticaDTO.prototype, "Ingreso", 2);
|
|
2770
2777
|
__decorateClass([
|
|
2771
|
-
(0, import_class_transformer53.Type)(() =>
|
|
2778
|
+
(0, import_class_transformer53.Type)(() => UsuarioID_UsuarioDTO),
|
|
2772
2779
|
(0, import_class_validator53.IsNotEmpty)({ message: "es requerido" }),
|
|
2773
2780
|
(0, import_class_transformer53.Expose)(),
|
|
2774
2781
|
(0, import_class_validator53.ValidateNested)()
|
|
2775
2782
|
], UsuarioLogisticaDTO.prototype, "Aprobacion", 2);
|
|
2776
2783
|
__decorateClass([
|
|
2777
|
-
(0, import_class_transformer53.Type)(() =>
|
|
2784
|
+
(0, import_class_transformer53.Type)(() => UsuarioID_UsuarioDTO),
|
|
2778
2785
|
(0, import_class_validator53.IsNotEmpty)({ message: "es requerido" }),
|
|
2779
2786
|
(0, import_class_transformer53.Expose)(),
|
|
2780
2787
|
(0, import_class_validator53.ValidateNested)()
|
|
2781
2788
|
], UsuarioLogisticaDTO.prototype, "Recepcion", 2);
|
|
2782
2789
|
__decorateClass([
|
|
2783
|
-
(0, import_class_transformer53.Type)(() =>
|
|
2790
|
+
(0, import_class_transformer53.Type)(() => UsuarioID_UsuarioDTO),
|
|
2784
2791
|
(0, import_class_validator53.IsNotEmpty)({ message: "es requerido" }),
|
|
2785
2792
|
(0, import_class_transformer53.Expose)(),
|
|
2786
2793
|
(0, import_class_validator53.ValidateNested)()
|
|
@@ -3030,6 +3037,7 @@ __decorateClass([
|
|
|
3030
3037
|
PersonalLogisticaDTO,
|
|
3031
3038
|
SalidaAlmacenENTITY,
|
|
3032
3039
|
SizeDTO,
|
|
3040
|
+
StockPersonalEquiposENTITY,
|
|
3033
3041
|
Sub_Estado_InternoDTO,
|
|
3034
3042
|
TipoDocumentoIdentidadDTO,
|
|
3035
3043
|
TipoMovimientoAlmacenDTO,
|
package/dist/index.mjs
CHANGED
|
@@ -655,10 +655,7 @@ __decorateClass([
|
|
|
655
655
|
Expose15()
|
|
656
656
|
], UnidadMedidaDTO.prototype, "Nombre", 2);
|
|
657
657
|
|
|
658
|
-
// src/shared/dto/
|
|
659
|
-
import { IsDate as IsDate7, IsNotEmpty as IsNotEmpty17, ValidateNested as ValidateNested6 } from "class-validator";
|
|
660
|
-
|
|
661
|
-
// src/logistica/stock personal equipos/shared/usuario-ID_Usuario-dto.ts
|
|
658
|
+
// src/shared/dto/usuario-ID_Usuario-dto.ts
|
|
662
659
|
import { Expose as Expose16 } from "class-transformer";
|
|
663
660
|
import { IsNotEmpty as IsNotEmpty16, IsNumber as IsNumber6, IsString as IsString16, Length as Length16, Min } from "class-validator";
|
|
664
661
|
var UsuarioID_UsuarioDTO = class {
|
|
@@ -696,6 +693,7 @@ __decorateClass([
|
|
|
696
693
|
], UsuarioID_UsuarioDTO.prototype, "Nombres", 2);
|
|
697
694
|
|
|
698
695
|
// src/shared/dto/validado-dto.ts
|
|
696
|
+
import { IsDate as IsDate7, IsNotEmpty as IsNotEmpty17, ValidateNested as ValidateNested6 } from "class-validator";
|
|
699
697
|
import { Expose as Expose17, Type as Type6 } from "class-transformer";
|
|
700
698
|
var ValidadoDTO = class {
|
|
701
699
|
Fecha = /* @__PURE__ */ new Date();
|
|
@@ -1865,7 +1863,15 @@ __decorateClass([
|
|
|
1865
1863
|
Expose32()
|
|
1866
1864
|
], OrdenesDto.prototype, "Serie", 2);
|
|
1867
1865
|
|
|
1868
|
-
// src/logistica/stock personal equipos/shared/
|
|
1866
|
+
// src/logistica/stock personal equipos/shared/index.ts
|
|
1867
|
+
var StockPersonalEquiposENTITY = class {
|
|
1868
|
+
ID_StockPersonalEquipos = 0;
|
|
1869
|
+
ID_StockPersonal = 0;
|
|
1870
|
+
CodigoLlave = "";
|
|
1871
|
+
Equipos = [];
|
|
1872
|
+
};
|
|
1873
|
+
|
|
1874
|
+
// src/logistica/stock personal equipos/shared/dto/equipos-dto.ts
|
|
1869
1875
|
var EquiposDTO = class {
|
|
1870
1876
|
Item = 0;
|
|
1871
1877
|
Posicion = 0;
|
|
@@ -2684,38 +2690,38 @@ __decorateClass([
|
|
|
2684
2690
|
import { Expose as Expose52, Type as Type25 } from "class-transformer";
|
|
2685
2691
|
import { IsNotEmpty as IsNotEmpty52, ValidateNested as ValidateNested25 } from "class-validator";
|
|
2686
2692
|
var UsuarioLogisticaDTO = class {
|
|
2687
|
-
Guia = new
|
|
2688
|
-
Ingreso = new
|
|
2689
|
-
Aprobacion = new
|
|
2690
|
-
Recepcion = new
|
|
2691
|
-
Anulacion = new
|
|
2693
|
+
Guia = new UsuarioID_UsuarioDTO();
|
|
2694
|
+
Ingreso = new UsuarioID_UsuarioDTO();
|
|
2695
|
+
Aprobacion = new UsuarioID_UsuarioDTO();
|
|
2696
|
+
Recepcion = new UsuarioID_UsuarioDTO();
|
|
2697
|
+
Anulacion = new UsuarioID_UsuarioDTO();
|
|
2692
2698
|
};
|
|
2693
2699
|
__decorateClass([
|
|
2694
|
-
Type25(() =>
|
|
2700
|
+
Type25(() => UsuarioID_UsuarioDTO),
|
|
2695
2701
|
IsNotEmpty52({ message: "es requerido" }),
|
|
2696
2702
|
Expose52(),
|
|
2697
2703
|
ValidateNested25()
|
|
2698
2704
|
], UsuarioLogisticaDTO.prototype, "Guia", 2);
|
|
2699
2705
|
__decorateClass([
|
|
2700
|
-
Type25(() =>
|
|
2706
|
+
Type25(() => UsuarioID_UsuarioDTO),
|
|
2701
2707
|
IsNotEmpty52({ message: "es requerido" }),
|
|
2702
2708
|
Expose52(),
|
|
2703
2709
|
ValidateNested25()
|
|
2704
2710
|
], UsuarioLogisticaDTO.prototype, "Ingreso", 2);
|
|
2705
2711
|
__decorateClass([
|
|
2706
|
-
Type25(() =>
|
|
2712
|
+
Type25(() => UsuarioID_UsuarioDTO),
|
|
2707
2713
|
IsNotEmpty52({ message: "es requerido" }),
|
|
2708
2714
|
Expose52(),
|
|
2709
2715
|
ValidateNested25()
|
|
2710
2716
|
], UsuarioLogisticaDTO.prototype, "Aprobacion", 2);
|
|
2711
2717
|
__decorateClass([
|
|
2712
|
-
Type25(() =>
|
|
2718
|
+
Type25(() => UsuarioID_UsuarioDTO),
|
|
2713
2719
|
IsNotEmpty52({ message: "es requerido" }),
|
|
2714
2720
|
Expose52(),
|
|
2715
2721
|
ValidateNested25()
|
|
2716
2722
|
], UsuarioLogisticaDTO.prototype, "Recepcion", 2);
|
|
2717
2723
|
__decorateClass([
|
|
2718
|
-
Type25(() =>
|
|
2724
|
+
Type25(() => UsuarioID_UsuarioDTO),
|
|
2719
2725
|
IsNotEmpty52({ message: "es requerido" }),
|
|
2720
2726
|
Expose52(),
|
|
2721
2727
|
ValidateNested25()
|
|
@@ -2964,6 +2970,7 @@ export {
|
|
|
2964
2970
|
PersonalLogisticaDTO,
|
|
2965
2971
|
SalidaAlmacenENTITY,
|
|
2966
2972
|
SizeDTO,
|
|
2973
|
+
StockPersonalEquiposENTITY,
|
|
2967
2974
|
Sub_Estado_InternoDTO,
|
|
2968
2975
|
TipoDocumentoIdentidadDTO,
|
|
2969
2976
|
TipoMovimientoAlmacenDTO,
|