sigesp 1.1.6-20240925 → 1.1.8-20241001
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/esm2020/lib/core/interfaces/CentroCosto.mjs +1 -1
- package/esm2020/lib/core/interfaces/ConfiguracionSCG.mjs +1 -1
- package/esm2020/lib/core/interfaces/ConfigurationSPG.mjs +1 -1
- package/esm2020/lib/core/interfaces/CuentaIngreso.mjs +1 -1
- package/esm2020/lib/core/interfaces/CuentaInstitucional.mjs +1 -1
- package/esm2020/lib/core/interfaces/Presupuesto.mjs +1 -1
- package/esm2020/lib/core/models/CFG/Empresa.model.mjs +2 -3
- package/esm2020/lib/core/models/CFG/moneda.model.mjs +4 -4
- package/esm2020/lib/core/models/SCG/IncomeAccount.mjs +7 -3
- package/esm2020/lib/core/models/SCG/centroCosto.model.mjs +5 -7
- package/esm2020/lib/core/models/SCG/configuracionSCG.model.mjs +9 -21
- package/esm2020/lib/core/models/SCG/cuentaInstitucional.model.mjs +6 -2
- package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +16 -7
- package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +45 -39
- package/esm2020/lib/sigesp.service.mjs +31 -7
- package/fesm2015/sigesp.mjs +115 -84
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +115 -84
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/CentroCosto.d.ts +1 -2
- package/lib/core/interfaces/ConfiguracionSCG.d.ts +4 -8
- package/lib/core/interfaces/ConfigurationSPG.d.ts +2 -0
- package/lib/core/interfaces/CuentaIngreso.d.ts +2 -0
- package/lib/core/interfaces/CuentaInstitucional.d.ts +2 -0
- package/lib/core/interfaces/Presupuesto.d.ts +5 -3
- package/lib/core/models/CFG/Empresa.model.d.ts +1 -2
- package/lib/core/models/CFG/moneda.model.d.ts +1 -1
- package/lib/core/models/SCG/IncomeAccount.d.ts +2 -0
- package/lib/core/models/SCG/centroCosto.model.d.ts +1 -1
- package/lib/core/models/SCG/configuracionSCG.model.d.ts +3 -7
- package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +3 -1
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +5 -1
- package/lib/core/models/SPG/configurationSPG.model.d.ts +5 -3
- package/lib/sigesp.service.d.ts +23 -3
- package/package.json +1 -1
|
@@ -2,10 +2,9 @@ export interface ICentroCosto {
|
|
|
2
2
|
id_empresa: string;
|
|
3
3
|
id_enterprise: string;
|
|
4
4
|
id_cencos: string;
|
|
5
|
-
|
|
5
|
+
perfiscal: string;
|
|
6
6
|
codcencos: string;
|
|
7
7
|
denominacion: string;
|
|
8
|
-
usuarios: IUsuariosCentroCosto[];
|
|
9
8
|
}
|
|
10
9
|
export interface IUsuariosCentroCosto {
|
|
11
10
|
id_empresa: string;
|
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
export interface IConfiguracionSCG {
|
|
2
|
+
id_empresa: string;
|
|
3
|
+
id_enterprise: string;
|
|
4
|
+
id_scg: string;
|
|
5
|
+
perfiscal: string;
|
|
2
6
|
activo: string;
|
|
3
|
-
bloanu: string;
|
|
4
7
|
c_financiera_t: string;
|
|
5
8
|
c_fiscal_t: string;
|
|
6
9
|
c_resultadoact: string;
|
|
7
10
|
c_resultadoant: string;
|
|
8
11
|
capital: string;
|
|
9
|
-
casconmov: string;
|
|
10
|
-
ciesem1: string;
|
|
11
|
-
ciesem2: string;
|
|
12
12
|
clactacon: string;
|
|
13
13
|
ctaresconact: string;
|
|
14
14
|
ctaresconant: string;
|
|
15
15
|
cuedepamo: string;
|
|
16
16
|
cueproacu: string;
|
|
17
17
|
estciescg: string;
|
|
18
|
-
estciesem: string;
|
|
19
18
|
esttipcon: string;
|
|
20
19
|
formcont: string;
|
|
21
|
-
formplan: string;
|
|
22
20
|
gasto: string;
|
|
23
|
-
id_empresa: string;
|
|
24
|
-
id_scg: string;
|
|
25
21
|
ingreso: string;
|
|
26
22
|
m01: string;
|
|
27
23
|
m02: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ICentroCosto } from "./CentroCosto";
|
|
1
2
|
import { IFuenteFinanciamiento } from "./FuenteFinanciamiento";
|
|
2
3
|
export interface IUnidadAdministradoraCentral {
|
|
3
4
|
id_enterprise: number;
|
|
@@ -12,19 +13,20 @@ export interface IUnidadAdministradoraCentral {
|
|
|
12
13
|
export interface IUnitAdministrative {
|
|
13
14
|
id_empresa: string;
|
|
14
15
|
id_enterprise: string;
|
|
15
|
-
id_cencos: string;
|
|
16
16
|
coduniadm: string;
|
|
17
17
|
coduac: string;
|
|
18
18
|
denuniadm: string;
|
|
19
19
|
estemireq: string;
|
|
20
|
-
codcencos: string;
|
|
21
20
|
id_uniadm: string;
|
|
22
21
|
denuac?: string;
|
|
23
22
|
codigouac?: string;
|
|
24
|
-
denenominacion?: string;
|
|
25
23
|
estructuras: IEstructuras[];
|
|
24
|
+
centros: ICentroCosto[];
|
|
26
25
|
}
|
|
27
26
|
export interface IEstructuras {
|
|
27
|
+
id_enterprise: string;
|
|
28
|
+
id_perfiscal: string;
|
|
29
|
+
id_empresa: string;
|
|
28
30
|
id_ep1: string;
|
|
29
31
|
id_ep2: string;
|
|
30
32
|
id_ep3: string;
|
|
@@ -19,7 +19,7 @@ export declare class MEmpresa extends MBasicModel {
|
|
|
19
19
|
codigoMunicipio: string;
|
|
20
20
|
codigoParroquia: string;
|
|
21
21
|
codigoComunidad: string;
|
|
22
|
-
|
|
22
|
+
idMoneda: number;
|
|
23
23
|
nombreRepresentanteLegal: string;
|
|
24
24
|
cedulaRepresentanteLegal: string;
|
|
25
25
|
telefonoRepresentanteLegal: string;
|
|
@@ -48,7 +48,6 @@ export declare class MEmpresa extends MBasicModel {
|
|
|
48
48
|
codigoCentroCosto: string;
|
|
49
49
|
estructuraPresupuestaria: string;
|
|
50
50
|
tipoEmpresa: number;
|
|
51
|
-
idMoneda: number;
|
|
52
51
|
constructor(e?: IEmpresa);
|
|
53
52
|
dataInterface(): IEmpresa;
|
|
54
53
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IMoneda, IMonedaConfig } from '../../interfaces/Moneda';
|
|
2
2
|
import { MBasicModel } from '../basic-model.model';
|
|
3
3
|
export declare class MMoneda extends MBasicModel {
|
|
4
|
-
|
|
4
|
+
idMoneda: number;
|
|
5
5
|
denominacion: string;
|
|
6
6
|
iso: string;
|
|
7
7
|
simbolo: string;
|
|
@@ -2,6 +2,8 @@ import { ICuentaIngresos } from '../../interfaces/CuentaIngreso';
|
|
|
2
2
|
import { MBasicModel } from '../basic-model.model';
|
|
3
3
|
export declare class MCuentaIngresos extends MBasicModel {
|
|
4
4
|
idEmpresa: number;
|
|
5
|
+
idEnterprise: number;
|
|
6
|
+
periodoFiscal: number;
|
|
5
7
|
nivel: number;
|
|
6
8
|
denominacion: string;
|
|
7
9
|
cuenta: string;
|
|
@@ -5,9 +5,9 @@ export declare class MCentroCosto extends MBasicModel {
|
|
|
5
5
|
idEmpresa: number;
|
|
6
6
|
idEnterprise: number;
|
|
7
7
|
idCentroCosto: number;
|
|
8
|
+
periodoFical: number;
|
|
8
9
|
centro: string;
|
|
9
10
|
denominacion: string;
|
|
10
|
-
usuarios: MUsuarioCentroCosto[];
|
|
11
11
|
constructor(centroCosto?: ICentroCosto);
|
|
12
12
|
dataInterface(): ICentroCosto;
|
|
13
13
|
}
|
|
@@ -1,29 +1,25 @@
|
|
|
1
1
|
import { MBasicModel } from '../basic-model.model';
|
|
2
2
|
import { IConfiguracionSCG } from '../../interfaces/ConfiguracionSCG';
|
|
3
3
|
export declare class MConfiguracionSCG extends MBasicModel {
|
|
4
|
+
idEnterprise: number;
|
|
5
|
+
periodoFiscal: number;
|
|
6
|
+
idSCG: number;
|
|
4
7
|
activo: string;
|
|
5
|
-
bloqueoAnulacion: string;
|
|
6
8
|
cuentaSituacionDelTesoroFinanciera: string;
|
|
7
9
|
CuentaSituacionDelTesoroFiscal: string;
|
|
8
10
|
cuentaResultadoActual: string;
|
|
9
11
|
cuentaResultadoAnterior: string;
|
|
10
12
|
capital: string;
|
|
11
|
-
casamientoConceptoMovimientoConCuentaBancaria: string;
|
|
12
|
-
cierreSemestral1: string;
|
|
13
|
-
cierreSemestral2: string;
|
|
14
13
|
clasificacionCuentasContables: string;
|
|
15
14
|
cuentaConsolidadaResultadoActual: string;
|
|
16
15
|
cuentaConsolidadaResultadoAnterior: string;
|
|
17
16
|
grupoCuentaDeProvicionesAcumuladaYReservaTecnica: string;
|
|
18
17
|
grupoCuentaDeDepresiacionAcumulada: string;
|
|
19
18
|
estadoCierreContable: string;
|
|
20
|
-
estadoCierreSemestral: string;
|
|
21
19
|
tipoContabilidadPatrimonialOFiscal: string;
|
|
22
20
|
formatoCuentaContable: string;
|
|
23
|
-
formatoPlanCuenta: string;
|
|
24
21
|
gasto: string;
|
|
25
22
|
idEmpresa: number;
|
|
26
|
-
idSCG: number;
|
|
27
23
|
ingreso: string;
|
|
28
24
|
m01: number;
|
|
29
25
|
m02: number;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ICuentaInstitucional } from '../../interfaces/CuentaInstitucional';
|
|
2
2
|
import { MBasicModel } from '../basic-model.model';
|
|
3
3
|
export declare class MCuentaInstitucional extends MBasicModel {
|
|
4
|
+
idEmpresa: string;
|
|
5
|
+
idEnterprise: number;
|
|
6
|
+
periodoFiscal: number;
|
|
4
7
|
cuenta: string;
|
|
5
8
|
cueproacu: string;
|
|
6
9
|
denominacion: string;
|
|
@@ -19,7 +22,6 @@ export declare class MCuentaInstitucional extends MBasicModel {
|
|
|
19
22
|
asignado: string;
|
|
20
23
|
distribuir: string;
|
|
21
24
|
status: string;
|
|
22
|
-
idEmpresa: string;
|
|
23
25
|
nivel: string;
|
|
24
26
|
referencia: string;
|
|
25
27
|
denominacionCuentaProvisionAcumulada: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MBasicModel } from '../basic-model.model';
|
|
2
2
|
import { ICuentasSpSc, IEstructuras, IUnitAdministrative } from '../../interfaces/Presupuesto';
|
|
3
3
|
import { MFuenteFinanciamiento } from './fuenteFinanciamiento.model';
|
|
4
|
+
import { MCentroCosto } from '../SCG/centroCosto.model';
|
|
4
5
|
export declare class MAdministrativeUnit extends MBasicModel {
|
|
5
6
|
idEmpresa: number;
|
|
6
7
|
idEnterprise: number;
|
|
@@ -9,16 +10,19 @@ export declare class MAdministrativeUnit extends MBasicModel {
|
|
|
9
10
|
unidadCentral: number;
|
|
10
11
|
emiteRequisicion: boolean;
|
|
11
12
|
idcentroCosto: number;
|
|
12
|
-
centroCosto: string;
|
|
13
13
|
id: number;
|
|
14
14
|
denominacionUnidadCentral: string;
|
|
15
15
|
codigoUnidadCentral: string;
|
|
16
16
|
denominacionCentroCosto: string;
|
|
17
17
|
estructuras: MEstructuras[];
|
|
18
|
+
centroCosto: MCentroCosto[];
|
|
18
19
|
constructor(unidad?: IUnitAdministrative);
|
|
19
20
|
dataInterface(): IUnitAdministrative;
|
|
20
21
|
}
|
|
21
22
|
export declare class MEstructuras extends MBasicModel {
|
|
23
|
+
idEnterprise: number;
|
|
24
|
+
periodoFiscal: number;
|
|
25
|
+
idEmpresa: number;
|
|
22
26
|
cuentaContable: string;
|
|
23
27
|
cuentaPresupuestaria: string;
|
|
24
28
|
denominacion: string;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { IConfigurationSPG } from '../../interfaces/ConfigurationSPG';
|
|
2
2
|
import { MMonedaConfig } from '../CFG/moneda.model';
|
|
3
3
|
export declare class MConfigurationSPG {
|
|
4
|
+
idEmpresa: string;
|
|
5
|
+
IdSPG: string;
|
|
6
|
+
idEnterprise: number;
|
|
7
|
+
periodoFiscal: number;
|
|
4
8
|
cuentasPresupuestoCedentes: string;
|
|
5
9
|
cunetasPresupuestoRecaudadores: string;
|
|
6
10
|
estatusAnticipoPresupuestario: string;
|
|
@@ -16,8 +20,6 @@ export declare class MConfigurationSPG {
|
|
|
16
20
|
formatoPresupuestoGasto: string;
|
|
17
21
|
formatoPresupuestoIngreso: string;
|
|
18
22
|
digitosCuentasPresupuestoContabilidadGeneralParaGastos: string;
|
|
19
|
-
idEmpresa: string;
|
|
20
|
-
IdSPG: string;
|
|
21
23
|
digitoCuentaPresupuestoContabilidadParaIngresos: string;
|
|
22
24
|
longitudesCodigoEstructuraPresupuestria: string[];
|
|
23
25
|
nivelValidacionEstructura: string;
|
|
@@ -33,5 +35,5 @@ export declare class MConfigurationSPG {
|
|
|
33
35
|
moneda: MMonedaConfig;
|
|
34
36
|
codigoONAPRE: any;
|
|
35
37
|
decimalesAlternos: number;
|
|
36
|
-
constructor(configuration
|
|
38
|
+
constructor(configuration?: IConfigurationSPG);
|
|
37
39
|
}
|
package/lib/sigesp.service.d.ts
CHANGED
|
@@ -352,7 +352,7 @@ export declare class SigespService {
|
|
|
352
352
|
* @author Miguel Ramírez
|
|
353
353
|
* @modifit 25-07-2021
|
|
354
354
|
*/
|
|
355
|
-
getConfigurationSCG(): Observable<MConfiguracionSCG[]>;
|
|
355
|
+
getConfigurationSCG(lineaEmpresa: number, periodoFiscal: number): Observable<MConfiguracionSCG[]>;
|
|
356
356
|
/**
|
|
357
357
|
* @description Abre un dialog de confirmación
|
|
358
358
|
* @param title Título de la modal de confirm
|
|
@@ -837,10 +837,30 @@ export declare class SigespService {
|
|
|
837
837
|
/**
|
|
838
838
|
* @description Valida si la fecha esta dentro del periodo fiscal y el mes esta abierto o cerrado
|
|
839
839
|
* @return Observable<IResponse>
|
|
840
|
+
* @param fecha: fecha a comparar
|
|
841
|
+
* @param lineaEmpresa: linea empresa del documento
|
|
842
|
+
* @param periodoFiscal : fecha del periodo a evaluar '1900-01-01'
|
|
840
843
|
* @author Dimaly Crespo
|
|
841
|
-
* @
|
|
844
|
+
* @fecha 11-10-2023
|
|
845
|
+
*
|
|
842
846
|
*/
|
|
843
|
-
getValidarPeriodo(fecha: string, periodoFiscal: string): Observable<any>;
|
|
847
|
+
getValidarPeriodo(fecha: string, periodoFiscal: string, lineaEmpresa: number): Observable<any>;
|
|
848
|
+
/**
|
|
849
|
+
* @description Obtiene los periodo fiscales configurados en SCG y SPG menores o iguales al periodo fiscal actual.
|
|
850
|
+
* @return Observable<IResponse>
|
|
851
|
+
* @param lineaEmpresa: linea empresa del documento
|
|
852
|
+
* @author Dimaly Crespo
|
|
853
|
+
* @fecha 01-10-2024
|
|
854
|
+
*/
|
|
855
|
+
getPeriodosConfigurados(lineaEmpresa: number): Observable<any>;
|
|
856
|
+
/**
|
|
857
|
+
* @description Obtiene los periodo fiscales configurados en SCG y SPG menores al periodo fiscal actual y el inmediato.
|
|
858
|
+
* @return Observable<IResponse>
|
|
859
|
+
* @param lineaEmpresa: linea empresa del documento
|
|
860
|
+
* @author Dimaly Crespo
|
|
861
|
+
* @fecha 01-10-2024
|
|
862
|
+
*/
|
|
863
|
+
getPeriodosConfiguradosSCGSPG(lineaEmpresa: number): Observable<any>;
|
|
844
864
|
userHasRights(column: 'administrador' | 'insertar' | 'actualizar' | 'consultar' | 'eliminar' | 'anular' | 'descargar' | 'ejecutar__procesar_' | 'imprimir' | 'enviar__correo_' | 'visible'): Observable<IResponse>;
|
|
845
865
|
/**
|
|
846
866
|
* @description Retorna los headers para hacer las peticiones
|