sigesp 1.1.15-20241017 → 1.1.17-20241018
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/EstructuraPresupuestaria.mjs +1 -1
- package/esm2020/lib/core/interfaces/FuenteFinanciamiento.mjs +1 -1
- package/esm2020/lib/core/interfaces/Presupuesto.mjs +1 -1
- package/esm2020/lib/core/models/SCG/centroCosto.model.mjs +7 -1
- package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +15 -10
- package/esm2020/lib/core/models/SPG/estructuraPresupuestaria.model.mjs +57 -33
- package/esm2020/lib/core/models/SPG/fuenteFinanciamiento.model.mjs +23 -5
- package/esm2020/lib/sigesp.service.mjs +30 -4
- package/fesm2015/sigesp.mjs +125 -47
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +125 -47
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/CentroCosto.d.ts +2 -0
- package/lib/core/interfaces/EstructuraPresupuestaria.d.ts +2 -3
- package/lib/core/interfaces/FuenteFinanciamiento.d.ts +6 -0
- package/lib/core/interfaces/Presupuesto.d.ts +7 -5
- package/lib/core/models/SCG/centroCosto.model.d.ts +2 -0
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +2 -0
- package/lib/core/models/SPG/estructuraPresupuestaria.model.d.ts +12 -11
- package/lib/core/models/SPG/fuenteFinanciamiento.model.d.ts +7 -1
- package/lib/sigesp.service.d.ts +10 -1
- package/package.json +1 -1
|
@@ -61,7 +61,6 @@ export interface IEstructuraPresupuestariaFive {
|
|
|
61
61
|
estcla: string;
|
|
62
62
|
}
|
|
63
63
|
export interface IEstructuraPresupuestariaFiveComplete {
|
|
64
|
-
codcencos: string;
|
|
65
64
|
codestpro1: string;
|
|
66
65
|
codestpro2: string;
|
|
67
66
|
codestpro3: string;
|
|
@@ -74,11 +73,11 @@ export interface IEstructuraPresupuestariaFiveComplete {
|
|
|
74
73
|
denestpro5?: string;
|
|
75
74
|
estcla: string;
|
|
76
75
|
id_empresa: string;
|
|
76
|
+
id_enterprise: string;
|
|
77
|
+
perfiscal: string;
|
|
77
78
|
id_ep1: string;
|
|
78
79
|
id_ep2: string;
|
|
79
80
|
id_ep3: string;
|
|
80
81
|
id_ep4?: string;
|
|
81
82
|
id_ep5?: string;
|
|
82
|
-
codigoftefin?: string;
|
|
83
|
-
denfuefin?: string;
|
|
84
83
|
}
|
|
@@ -3,6 +3,12 @@ export interface IFuenteFinanciamiento {
|
|
|
3
3
|
denfuefin: string;
|
|
4
4
|
expfuefin: string;
|
|
5
5
|
id_empresa: string;
|
|
6
|
+
id_enterprise: string;
|
|
6
7
|
id_fuefin: string;
|
|
7
8
|
perfiscal: string;
|
|
9
|
+
id_ep1: string;
|
|
10
|
+
id_ep2: string;
|
|
11
|
+
id_ep3: string;
|
|
12
|
+
id_ep4: string;
|
|
13
|
+
id_ep5: string;
|
|
8
14
|
}
|
|
@@ -27,17 +27,19 @@ export interface IUnitAdministrative {
|
|
|
27
27
|
}
|
|
28
28
|
export interface IEstructuras {
|
|
29
29
|
id_enterprise: string;
|
|
30
|
-
|
|
30
|
+
perfiscal: string;
|
|
31
31
|
id_empresa: string;
|
|
32
32
|
id_ep1: string;
|
|
33
33
|
id_ep2: string;
|
|
34
34
|
id_ep3: string;
|
|
35
35
|
id_ep4: string;
|
|
36
36
|
id_ep5: string;
|
|
37
|
+
estcla: string;
|
|
38
|
+
denestcla?: string;
|
|
37
39
|
id_dt_uniadm: string;
|
|
38
40
|
id_uniadm: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
sc_cuenta?: string;
|
|
42
|
+
spg_cuenta?: string;
|
|
41
43
|
denominacion?: string;
|
|
42
44
|
estructura?: string;
|
|
43
45
|
fuentes?: IFuenteFinanciamiento[];
|
|
@@ -49,8 +51,8 @@ export interface IEstructuras {
|
|
|
49
51
|
codeep4?: string;
|
|
50
52
|
codeep5?: string;
|
|
51
53
|
denestructura?: string;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
denestpro5?: string;
|
|
55
|
+
denestpro3?: string;
|
|
54
56
|
}
|
|
55
57
|
export interface ICuentasSpSc {
|
|
56
58
|
id_cencos: string;
|
|
@@ -43,6 +43,8 @@ export declare class MEstructuras extends MBasicModel {
|
|
|
43
43
|
denominacion3: string;
|
|
44
44
|
idDtUni: number;
|
|
45
45
|
idUnidadAdministrativa: number;
|
|
46
|
+
estatusClasificacion: string;
|
|
47
|
+
denominacionEstatusClasificacion: string;
|
|
46
48
|
fuentes: MFuenteFinanciamiento[];
|
|
47
49
|
constructor(dt?: IEstructuras);
|
|
48
50
|
dataInterface(): IEstructuras;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MBasicModel } from '../basic-model.model';
|
|
1
2
|
import { IEstructuraPresupuestariaOne, IEstructuraPresupuestariaTwo, IEstructuraPresupuestariaThree, IEstructuraPresupuestariaFour, IEstructuraPresupuestariaFiveComplete, IEstructuraPresupuestariaFive, IEstructuraPresupuestariaThreeComplete } from '../../interfaces/EstructuraPresupuestaria';
|
|
2
3
|
export declare class MEstructuraPresupuestariaOne {
|
|
3
4
|
codigoEstructuraProgramatica: string;
|
|
@@ -74,27 +75,27 @@ export declare class MEstructuraPresupuestariaFive {
|
|
|
74
75
|
constructor(ep: IEstructuraPresupuestariaFive);
|
|
75
76
|
dataInterface(): IEstructuraPresupuestariaFive;
|
|
76
77
|
}
|
|
77
|
-
export declare class MEstructuraPresupuestariaFiveComplete {
|
|
78
|
-
codigoCentroCosto: string;
|
|
78
|
+
export declare class MEstructuraPresupuestariaFiveComplete extends MBasicModel {
|
|
79
79
|
codigoEstructuraProgramaticaOne: string;
|
|
80
80
|
codigoEstructuraProgramaticaTwo: string;
|
|
81
81
|
codigoEstructuraProgramaticaThree: string;
|
|
82
82
|
codigoEstructuraProgramaticaFour: string;
|
|
83
|
-
|
|
84
|
-
codigoFuenteFinanciera: string;
|
|
83
|
+
codigoEstructuraProgramaticaFive: string;
|
|
85
84
|
denominacionEstructuraProgramaticaOne: string;
|
|
86
85
|
denominacionEstructuraProgramaticaTwo: string;
|
|
87
86
|
denominacionEstructuraProgramaticaThree: string;
|
|
88
87
|
denominacionEstructuraProgramaticaFour: string;
|
|
89
|
-
|
|
88
|
+
denominacionEstructuraProgramaticaFive: string;
|
|
90
89
|
estatusClasificacion: string;
|
|
91
90
|
tipo: string;
|
|
92
|
-
idEmpresa:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
idEmpresa: number;
|
|
92
|
+
idEnterprise: number;
|
|
93
|
+
periodoFiscal: number;
|
|
94
|
+
idEstructuraOne: number;
|
|
95
|
+
idEstructuraTwo: number;
|
|
96
|
+
idEstructuraThree: number;
|
|
97
|
+
idEstructuraFor: number;
|
|
98
|
+
idEstructuraFive: number;
|
|
98
99
|
estructura: string;
|
|
99
100
|
denominacion: string;
|
|
100
101
|
level: number;
|
|
@@ -4,9 +4,15 @@ export declare class MFuenteFinanciamiento extends MBasicModel {
|
|
|
4
4
|
codigoFuenteFinanciamiento: string;
|
|
5
5
|
denominacionFuenteFinanciamiento: string;
|
|
6
6
|
explicacionFuenteFinanciamiento: string;
|
|
7
|
-
idEmpresa:
|
|
7
|
+
idEmpresa: number;
|
|
8
|
+
idEnterprise: number;
|
|
8
9
|
idFuenteFinanciamiento: number;
|
|
9
10
|
periodofiscal: number;
|
|
11
|
+
idEp1: number;
|
|
12
|
+
idEp2: number;
|
|
13
|
+
idEp3: number;
|
|
14
|
+
idEp4: number;
|
|
15
|
+
idEp5: number;
|
|
10
16
|
constructor(fuente?: IFuenteFinanciamiento);
|
|
11
17
|
dataInterface(): IFuenteFinanciamiento;
|
|
12
18
|
}
|
package/lib/sigesp.service.d.ts
CHANGED
|
@@ -88,6 +88,13 @@ export declare class SigespService {
|
|
|
88
88
|
* @param distribution
|
|
89
89
|
*/
|
|
90
90
|
updateDistributionIncomeStructureAccount(distribution: IUpdateDistributionIngresos, level: number): Observable<IResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* @description Obtiene el plan de cuentas
|
|
93
|
+
* @param level Número de niveles de la configuración
|
|
94
|
+
* @param id de la estructura el idEp3 o idEp5
|
|
95
|
+
* @return Observable<MCuentaEgresos[]>
|
|
96
|
+
*/
|
|
97
|
+
planInstitucionalSPG(tipo: string, idEnterprise: number, periodoFiscal: number, idEP3o5: number, nivel: number): Observable<MCuentaEgresos[]>;
|
|
91
98
|
/**
|
|
92
99
|
* @description Obtiene las cuentas por nivel de las cuenats de egresos
|
|
93
100
|
* @param level Número de niveles de la configuración
|
|
@@ -313,6 +320,8 @@ export declare class SigespService {
|
|
|
313
320
|
* modificado 28-12-2022
|
|
314
321
|
*/
|
|
315
322
|
getCentroCosto(tipo: string, idEnterprise: number, periodoFiscal: number): Observable<IResponse>;
|
|
323
|
+
getCentroCostoUnidadOrganizativa(tipo: string, idEnterprise: number, periodoFiscal: number, idUnidadAdministrativa: number): Observable<IResponse>;
|
|
324
|
+
getEstructurasUnidadOrganizativa(tipo: string, idEnterprise: number, periodoFiscal: number, idUnidadAdministrativa: number): Observable<IResponse>;
|
|
316
325
|
/**
|
|
317
326
|
* @description Abre el dialog de checkks
|
|
318
327
|
* @param columns Columnas que va a tener la tabla
|
|
@@ -520,7 +529,7 @@ export declare class SigespService {
|
|
|
520
529
|
* @params presupuesto: Indica si se a trabajar con estructura de presupuesto o no
|
|
521
530
|
*/
|
|
522
531
|
openCatalogoCuentasIngreso(titulo: string, presupuesto?: boolean, ancho?: string): Promise<MCuentaIngresos>;
|
|
523
|
-
getUnidadAdministrativa(tipo?: string, idEnterprise?: number, periodoFical?: number): Observable<any>;
|
|
532
|
+
getUnidadAdministrativa(tipo?: string, idEnterprise?: number, periodoFical?: number, idUnidadOrganizativa?: number): Observable<any>;
|
|
524
533
|
/**
|
|
525
534
|
* @description Obtiene los cargos de servicios
|
|
526
535
|
* @return Observable<IResponse>
|