sigesp 1.1.18-20241018 → 1.1.20-20241106
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/ConfiguracionSCG.mjs +1 -1
- package/esm2020/lib/core/interfaces/ConfigurationSPG.mjs +1 -1
- package/esm2020/lib/core/interfaces/CuentaPresupuesto.mjs +1 -1
- package/esm2020/lib/core/interfaces/Presupuesto.mjs +1 -1
- package/esm2020/lib/core/interfaces/Proveedor.mjs +1 -1
- package/esm2020/lib/core/models/RPC/providerBeneficiary.model.mjs +201 -80
- package/esm2020/lib/core/models/SCG/configuracionSCG.model.mjs +5 -1
- package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +5 -1
- package/esm2020/lib/core/models/SPG/cuentaPresupuesto.model.mjs +126 -64
- package/esm2020/lib/sigesp.service.mjs +20 -305
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/sigesp.mjs +568 -665
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +570 -663
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/ConfiguracionSCG.d.ts +2 -0
- package/lib/core/interfaces/ConfigurationSPG.d.ts +2 -0
- package/lib/core/interfaces/CuentaPresupuesto.d.ts +3 -0
- package/lib/core/interfaces/Presupuesto.d.ts +1 -1
- package/lib/core/interfaces/Proveedor.d.ts +26 -3
- package/lib/core/models/RPC/providerBeneficiary.model.d.ts +45 -4
- package/lib/core/models/SCG/configuracionSCG.model.d.ts +2 -0
- package/lib/core/models/SPG/configurationSPG.model.d.ts +2 -0
- package/lib/core/models/SPG/cuentaPresupuesto.model.d.ts +17 -10
- package/lib/sigesp.service.d.ts +12 -189
- package/package.json +1 -1
- package/public-api.d.ts +2 -2
|
@@ -74,7 +74,6 @@ export interface ICuentaEgresos {
|
|
|
74
74
|
aumento: string;
|
|
75
75
|
causado: string;
|
|
76
76
|
codcuecla: string;
|
|
77
|
-
cueoncop: string;
|
|
78
77
|
denspgcta: string;
|
|
79
78
|
diciembre: string;
|
|
80
79
|
disminiucion: string;
|
|
@@ -105,6 +104,7 @@ export interface ICuentaEgresos {
|
|
|
105
104
|
perfiscal: string;
|
|
106
105
|
estructura?: IEstructuraPresupuestariaFiveComplete;
|
|
107
106
|
id_del_spgcta?: string;
|
|
107
|
+
distff?: string;
|
|
108
108
|
}
|
|
109
109
|
export interface IEstructuraPresupuestariaFiveComplete {
|
|
110
110
|
id_cencos: string;
|
|
@@ -10,6 +10,7 @@ export interface IOrganizationType {
|
|
|
10
10
|
}
|
|
11
11
|
export interface IProviderBeneficiary {
|
|
12
12
|
id_empresa: string;
|
|
13
|
+
id_enterprise: string;
|
|
13
14
|
id_proveedor: string;
|
|
14
15
|
rifpro: string;
|
|
15
16
|
cedben: string;
|
|
@@ -29,7 +30,7 @@ export interface IProviderBeneficiary {
|
|
|
29
30
|
codest: string;
|
|
30
31
|
codmun: string;
|
|
31
32
|
codpar: string;
|
|
32
|
-
|
|
33
|
+
id_moneda: string;
|
|
33
34
|
id_tiporg: string;
|
|
34
35
|
fecregsis: string;
|
|
35
36
|
numlic: string;
|
|
@@ -55,12 +56,13 @@ export interface IProviderBeneficiary {
|
|
|
55
56
|
inspector: string;
|
|
56
57
|
sc_cuenta: string;
|
|
57
58
|
sc_cuentaant: string;
|
|
58
|
-
sc_cuentarecdoc: string;
|
|
59
59
|
tipperpro: string;
|
|
60
60
|
estpropri: string;
|
|
61
|
-
codsigcof: string;
|
|
62
61
|
pasaporte: string;
|
|
63
62
|
cuentas: IProviderBankAccount[];
|
|
63
|
+
especialidad: ISpecialtyProv[];
|
|
64
|
+
deducciones: IDeductionProv[];
|
|
65
|
+
documentos: IDocumentProv[];
|
|
64
66
|
}
|
|
65
67
|
export interface IProviderBankAccount {
|
|
66
68
|
id_empresa: string;
|
|
@@ -73,3 +75,24 @@ export interface IProviderBankAccount {
|
|
|
73
75
|
id_ctabcoprov: string;
|
|
74
76
|
denctabcoprov: string;
|
|
75
77
|
}
|
|
78
|
+
export interface IDeductionProv {
|
|
79
|
+
id_proveedor: number;
|
|
80
|
+
id_deduccion: number;
|
|
81
|
+
codded: string;
|
|
82
|
+
dended: string;
|
|
83
|
+
}
|
|
84
|
+
export interface ISpecialtyProv {
|
|
85
|
+
id_proveedor: number;
|
|
86
|
+
id_especialidad: number;
|
|
87
|
+
denesp: string;
|
|
88
|
+
}
|
|
89
|
+
export interface IDocumentProv {
|
|
90
|
+
id_proveedor: number;
|
|
91
|
+
id_doc: number;
|
|
92
|
+
dendoc: string;
|
|
93
|
+
fecrecdoc: string;
|
|
94
|
+
fecvendoc: string;
|
|
95
|
+
estdoc: number;
|
|
96
|
+
estoridoc: number;
|
|
97
|
+
obsdocpro: string;
|
|
98
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { IProviderBeneficiary, IProviderBankAccount } from '../../interfaces/Proveedor';
|
|
1
|
+
import { IProviderBeneficiary, IProviderBankAccount, IDocumentProv, IDeductionProv, ISpecialtyProv } from '../../interfaces/Proveedor';
|
|
2
2
|
import { MBasicModel } from '../basic-model.model';
|
|
3
3
|
export declare class MProviderBeneficiary extends MBasicModel {
|
|
4
4
|
idEmpresa: number;
|
|
5
|
+
idEnterprise: number;
|
|
5
6
|
id: number;
|
|
6
7
|
rif: string;
|
|
7
|
-
|
|
8
|
+
cedben: string;
|
|
8
9
|
name: string;
|
|
9
10
|
address: string;
|
|
10
11
|
nit: string;
|
|
@@ -50,12 +51,16 @@ export declare class MProviderBeneficiary extends MBasicModel {
|
|
|
50
51
|
advanceAccountableAccount: string;
|
|
51
52
|
receptionAccountableAccount: string;
|
|
52
53
|
estpropri: string;
|
|
53
|
-
sigecofCode: string;
|
|
54
54
|
passport: string;
|
|
55
55
|
accounts: MProviderBankAccount[];
|
|
56
|
+
deductions: MDeductionProv[];
|
|
57
|
+
documents: MDocumentProv[];
|
|
58
|
+
specialties: MSpecialtyProv[];
|
|
59
|
+
fechaRegistroProveedor: string;
|
|
56
60
|
personType: string;
|
|
57
61
|
isNew: boolean;
|
|
58
|
-
constructor(proben
|
|
62
|
+
constructor(proben: IProviderBeneficiary);
|
|
63
|
+
dataInterface(): IProviderBeneficiary;
|
|
59
64
|
}
|
|
60
65
|
export declare class MProviderBankAccount {
|
|
61
66
|
id: number;
|
|
@@ -73,3 +78,39 @@ export declare class MProviderBankAccount {
|
|
|
73
78
|
constructor(account: IProviderBankAccount);
|
|
74
79
|
dataInterface(): IProviderBankAccount;
|
|
75
80
|
}
|
|
81
|
+
export declare class MDocumentProv {
|
|
82
|
+
providerId: number;
|
|
83
|
+
documentId: number;
|
|
84
|
+
denomination: string;
|
|
85
|
+
dateReception: string;
|
|
86
|
+
dateExpiration: string;
|
|
87
|
+
statusDocument: number;
|
|
88
|
+
statusOriginal: number;
|
|
89
|
+
observation: string;
|
|
90
|
+
isNew: boolean;
|
|
91
|
+
error: boolean;
|
|
92
|
+
selected: boolean;
|
|
93
|
+
constructor(doc: IDocumentProv);
|
|
94
|
+
dataInterface(): IDocumentProv;
|
|
95
|
+
}
|
|
96
|
+
export declare class MDeductionProv {
|
|
97
|
+
providerId: number;
|
|
98
|
+
id: number;
|
|
99
|
+
codigo: string;
|
|
100
|
+
denomination: string;
|
|
101
|
+
isNew: boolean;
|
|
102
|
+
error: boolean;
|
|
103
|
+
selected: boolean;
|
|
104
|
+
constructor(ded: IDeductionProv);
|
|
105
|
+
dataInterface(): IDeductionProv;
|
|
106
|
+
}
|
|
107
|
+
export declare class MSpecialtyProv {
|
|
108
|
+
providerId: number;
|
|
109
|
+
id: number;
|
|
110
|
+
denomination: string;
|
|
111
|
+
isNew: boolean;
|
|
112
|
+
error: boolean;
|
|
113
|
+
selected: boolean;
|
|
114
|
+
constructor(ded: ISpecialtyProv);
|
|
115
|
+
dataInterface(): ISpecialtyProv;
|
|
116
|
+
}
|
|
@@ -49,6 +49,8 @@ export declare class MConfiguracionSCG extends MBasicModel {
|
|
|
49
49
|
SCFResultadoTesoro: string;
|
|
50
50
|
costo: number;
|
|
51
51
|
cuentaResultadoPresupuesto: string;
|
|
52
|
+
codigoEnterprise: string;
|
|
53
|
+
denominacionEnterprise: string;
|
|
52
54
|
constructor(configuracion?: IConfiguracionSCG);
|
|
53
55
|
dataInterface(): IConfiguracionSCG;
|
|
54
56
|
}
|
|
@@ -35,6 +35,8 @@ export declare class MConfigurationSPG {
|
|
|
35
35
|
codigoCentroCosto: string;
|
|
36
36
|
estructuraPresupuestaria: string;
|
|
37
37
|
editable: boolean;
|
|
38
|
+
codigoEnterprise: string;
|
|
39
|
+
denominacionEnterprise: string;
|
|
38
40
|
constructor(configuration?: IConfigurationSPG);
|
|
39
41
|
dataInteface(): IConfigurationSPG;
|
|
40
42
|
}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { ICuentaEgresos } from '../../interfaces/Presupuesto';
|
|
2
2
|
import { ICuentaPresupuesto } from '../../interfaces/CuentaPresupuesto';
|
|
3
3
|
import { MBasicModel } from '../basic-model.model';
|
|
4
|
-
export declare class MCuentaPresupuesto {
|
|
4
|
+
export declare class MCuentaPresupuesto extends MBasicModel {
|
|
5
|
+
idEmpresa: number;
|
|
6
|
+
idEnterprise: number;
|
|
7
|
+
periodoFiscal: number;
|
|
5
8
|
cuenta: string;
|
|
6
9
|
denominacion: string;
|
|
7
10
|
status: string;
|
|
8
11
|
tipo: string;
|
|
9
|
-
|
|
12
|
+
denominacionTipo: string;
|
|
13
|
+
denominacionStatus: string;
|
|
14
|
+
constructor(e?: ICuentaPresupuesto);
|
|
15
|
+
dataInterface(): ICuentaPresupuesto;
|
|
10
16
|
}
|
|
11
|
-
export declare class MCuentaEgresos
|
|
17
|
+
export declare class MCuentaEgresos {
|
|
12
18
|
idEmpresa: number;
|
|
13
19
|
idEnterprise: number;
|
|
14
20
|
periodoFiscal: number;
|
|
@@ -16,7 +22,6 @@ export declare class MCuentaEgresos extends MBasicModel {
|
|
|
16
22
|
denominacion: string;
|
|
17
23
|
cuenta: string;
|
|
18
24
|
cuentaContable: string;
|
|
19
|
-
cuentaONCOP: string;
|
|
20
25
|
clasificador: string;
|
|
21
26
|
referencia: string;
|
|
22
27
|
aumento: number;
|
|
@@ -43,16 +48,18 @@ export declare class MCuentaEgresos extends MBasicModel {
|
|
|
43
48
|
idEP3: number;
|
|
44
49
|
idEP4: number;
|
|
45
50
|
idEP5: number;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
+
codigoEP1: string;
|
|
52
|
+
codigoEP2: string;
|
|
53
|
+
codigoEP3: string;
|
|
54
|
+
codigoEP4: string;
|
|
55
|
+
codigoEP5: string;
|
|
51
56
|
estructura: string;
|
|
52
57
|
selected: boolean;
|
|
53
58
|
isNew: boolean;
|
|
54
59
|
error: boolean;
|
|
55
60
|
status: string;
|
|
56
61
|
id: number;
|
|
57
|
-
|
|
62
|
+
distribuirFF: number;
|
|
63
|
+
constructor(cuenta?: ICuentaEgresos, level?: number);
|
|
64
|
+
dataInterface(): ICuentaEgresos;
|
|
58
65
|
}
|
package/lib/sigesp.service.d.ts
CHANGED
|
@@ -13,8 +13,6 @@ import { AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
|
13
13
|
import { MConfiguracionSCG } from './core/models/SCG/configuracionSCG.model';
|
|
14
14
|
import { IConexion } from './core/interfaces/Usuario';
|
|
15
15
|
import { MConfigurationSPG } from './core/models/SPG/configurationSPG.model';
|
|
16
|
-
import { MEstructuraPresupuestariaOne, MEstructuraPresupuestariaTwo, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaFiveComplete, MAllStructure } from './core/models/SPG/estructuraPresupuestaria.model';
|
|
17
|
-
import { IEstructuraPresupuestariaOne, IEstructuraPresupuestariaTwo, IEstructuraPresupuestariaThree, IEstructuraPresupuestariaFour, IEstructuraPresupuestariaFive } from './core/interfaces/EstructuraPresupuestaria';
|
|
18
16
|
import { MFuenteFinanciamiento } from './core/models/SPG/fuenteFinanciamiento.model';
|
|
19
17
|
import { MCuentaEgresos } from './core/models/SPG/expensiveAccount.model';
|
|
20
18
|
import { IUpdateDistribution, IUpdateDistribution2, IUpdateDistributionIngresos, IUpdateDistributionIngresos2 } from './core/interfaces/CuentaEgresos';
|
|
@@ -24,6 +22,7 @@ import { MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos }
|
|
|
24
22
|
import { MCuentaIngresos } from './core/models/SCG/IncomeAccount';
|
|
25
23
|
import { MCountry, MState, MMunicipality, MParish, MCity, MCommunity } from './core/models/CFG/locations.model';
|
|
26
24
|
import { IResponse } from './core/interfaces/Response';
|
|
25
|
+
import { MEstructuras } from './core/models/SPG/administrativeUnit.model';
|
|
27
26
|
import { MComponent } from './core/models/SSS/component.model';
|
|
28
27
|
import { MLog } from './core/models/SSS/log.model';
|
|
29
28
|
import { MSnoLog } from './core/models/SNO/MAuditoria.model';
|
|
@@ -95,13 +94,6 @@ export declare class SigespService {
|
|
|
95
94
|
* @return Observable<MCuentaEgresos[]>
|
|
96
95
|
*/
|
|
97
96
|
planInstitucionalSPG(tipo: string, idEnterprise: number, periodoFiscal: number, idEP3o5: number, nivel: number): Observable<MCuentaEgresos[]>;
|
|
98
|
-
/**
|
|
99
|
-
* @description Obtiene las cuentas por nivel de las cuenats de egresos
|
|
100
|
-
* @param level Número de niveles de la configuración
|
|
101
|
-
* @param id id del nivel 3 o 5 que se va a buscar
|
|
102
|
-
* @return Observable<MCuentaEgresos[]>
|
|
103
|
-
*/
|
|
104
|
-
getExpenseAccountsForLevel(level: number, id: string): Observable<MCuentaEgresos[]>;
|
|
105
97
|
/**
|
|
106
98
|
* @description Abre el catálogo de estructura presupuesaria
|
|
107
99
|
* @param data Data que se va a mostrar
|
|
@@ -111,177 +103,14 @@ export declare class SigespService {
|
|
|
111
103
|
*/
|
|
112
104
|
openCatalogoEstructuraPresupuestaria(data: any[], configuration: MConfigurationSPG): Promise<any>;
|
|
113
105
|
/**
|
|
114
|
-
*
|
|
115
|
-
* @param
|
|
116
|
-
* @
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
* @description Obtiene todas las estructuras presupuetsarias de las 5 tablas
|
|
121
|
-
* @return Promise<MAllStructure>
|
|
122
|
-
* @author Miguel Ramírez
|
|
123
|
-
*/
|
|
124
|
-
getAllBudgetStructure(): Promise<MAllStructure>;
|
|
125
|
-
/**
|
|
126
|
-
* @description Obtiene la estructura completa dependiendo de la configuración
|
|
127
|
-
* @return Promise<any[]>
|
|
128
|
-
* @author Miguel Ramírez
|
|
129
|
-
* @type= {}
|
|
130
|
-
*/
|
|
131
|
-
getBudgetStructureComplete(nivel: number, tipo?: string): Promise<any[]>;
|
|
132
|
-
/**
|
|
133
|
-
* @description Elimina una o varias estructuras presupuestarias
|
|
134
|
-
* @param idStructures Id de las estructuras presupuestarias 5 que van a ser eliminadas
|
|
135
|
-
* @return Observable<any>
|
|
136
|
-
* @author Miguel Ramírez
|
|
137
|
-
*/
|
|
138
|
-
deleteBudgetStructureFive(idStructures: any[]): Observable<any>;
|
|
139
|
-
/**
|
|
140
|
-
* @description Actualiza una o varias estructuras 4
|
|
141
|
-
* @param structures Estructuras presupuestarias que van a ser actualizadas
|
|
142
|
-
* @return Observable<any>
|
|
143
|
-
* @author Miguel Ramírez
|
|
144
|
-
*/
|
|
145
|
-
updateBudgetStructureFive(structures: IEstructuraPresupuestariaFive[]): Observable<any>;
|
|
146
|
-
/**
|
|
147
|
-
* @description Agrega una o varias estructuras presupuestarias 4
|
|
148
|
-
* @param structures Las estructuras que van a ser registradas
|
|
149
|
-
* @return Observable<any>
|
|
150
|
-
* @author Miguel Ramírez
|
|
151
|
-
*/
|
|
152
|
-
setBudgetStructureFive(structures: IEstructuraPresupuestariaFive[]): Observable<any>;
|
|
153
|
-
/**
|
|
154
|
-
* @description Obtiene toda la estructura presupuestaria 5
|
|
155
|
-
* @return Observable<MEstructuraPresupuestariaFive[]>
|
|
156
|
-
* @author Miguel Ramírez
|
|
157
|
-
* @params tipo:"sss"
|
|
158
|
-
*/
|
|
159
|
-
getBudgetStructureFive(level?: number, tipo?: string): Observable<MEstructuraPresupuestariaFiveComplete[]>;
|
|
160
|
-
/**
|
|
161
|
-
* @description Obtiene la estructura presupuestaria 5 por el Id de la estructura 4
|
|
162
|
-
* @param idEp4 id de la estructura presupuestaria 4
|
|
163
|
-
*/
|
|
164
|
-
getBudgetStructureFiveByIdEp4(idEp4?: string): Observable<any[]>;
|
|
165
|
-
/**
|
|
166
|
-
* @description Elimina una o varias estructuras presupuestarias
|
|
167
|
-
* @param idStructures Id de las estructuras presupuestarias 3 que vana ser eliminadas
|
|
168
|
-
* @return Observable<any>
|
|
169
|
-
* @author Miguel Ramírez
|
|
170
|
-
*/
|
|
171
|
-
deleteBudgetStructureFour(idStructures: any[]): Observable<any>;
|
|
172
|
-
/**
|
|
173
|
-
* @description Actualiza una o varias estructuras 4
|
|
174
|
-
* @param structures Estructuras presupuestarias que van a ser actualizadas
|
|
175
|
-
* @return Observable<any>
|
|
176
|
-
* @author Miguel Ramírez
|
|
177
|
-
*/
|
|
178
|
-
updateBudgetStructureFour(structures: IEstructuraPresupuestariaFour[]): Observable<any>;
|
|
179
|
-
/**
|
|
180
|
-
* @description Agrega una o varias estructuras presupuestarias 4
|
|
181
|
-
* @param structures Las estructuras que van a ser registradas
|
|
182
|
-
* @return Observable<any>
|
|
183
|
-
* @author Miguel Ramírez
|
|
184
|
-
*/
|
|
185
|
-
setBudgetStructureFour(structures: IEstructuraPresupuestariaFour[]): Observable<any>;
|
|
186
|
-
/**
|
|
187
|
-
* @description Obtiene las estructuras presupuestarias 4
|
|
188
|
-
* @param idEp3 Id de la estructura presupuestaria 3
|
|
189
|
-
* @return Observable<MEstructurapresupuestaria[]>
|
|
190
|
-
* @author Miguel Ramírez
|
|
191
|
-
*/
|
|
192
|
-
getBudgetStructureFour(idEp3?: string): Observable<MEstructuraPresupuestariaFour[]>;
|
|
193
|
-
/**
|
|
194
|
-
* @description Elimina una o varias estructuras presupuestarias
|
|
195
|
-
* @param idStructures Id de las estructuras presupuestarias 3 que vana ser eliminadas
|
|
196
|
-
* @return Observable<any>
|
|
197
|
-
* @author Miguel Ramírez
|
|
198
|
-
*/
|
|
199
|
-
deleteBudgetStructureThree(idStructures: any[]): Observable<any>;
|
|
200
|
-
/**
|
|
201
|
-
* @description Actualiza una o varias estructuras 3
|
|
202
|
-
* @param structures Estructuras presupuestarias que van a ser actualizadas
|
|
203
|
-
* @return Observable<any>
|
|
204
|
-
* @author Miguel Ramírez
|
|
205
|
-
*/
|
|
206
|
-
updateBudgetStructureThree(structures: IEstructuraPresupuestariaThree[]): Observable<any>;
|
|
207
|
-
/**
|
|
208
|
-
* @description Agrega una o varias estructuras presupuestarias 3
|
|
209
|
-
* @param structures Las estructuras que van a ser registradas
|
|
210
|
-
* @return Observable<any>
|
|
211
|
-
* @author Miguel Ramírez
|
|
212
|
-
*/
|
|
213
|
-
setBudgetStructureThree(structures: IEstructuraPresupuestariaThree[]): Observable<any>;
|
|
214
|
-
/**
|
|
215
|
-
* @description Se trae la estructura presupuestaria completa hasta el nivel 3
|
|
216
|
-
* @return Observable<any[]>
|
|
217
|
-
* @author Miguel Ramírez
|
|
218
|
-
*/
|
|
219
|
-
getBudgetStructureThreeComplete(level: number): Observable<MEstructuraPresupuestariaFiveComplete[]>;
|
|
220
|
-
/**
|
|
221
|
-
* @description Obtiene las estructuras presupuestarias 3
|
|
222
|
-
* @param idEp2 Id de la estructura presupuestaria 2
|
|
223
|
-
* @return Observable<MEstructurapresupuestaria[]>
|
|
224
|
-
* @author Miguel Ramírez
|
|
225
|
-
*/
|
|
226
|
-
getBudgetStructureThree(idEp2?: string): Observable<MEstructuraPresupuestariaThree[]>;
|
|
227
|
-
/**
|
|
228
|
-
* @description Elimina una o varias estructuras presupuestarias uno
|
|
229
|
-
* @param idStructures Id de la o las estructuras presupuestarias que van a ser eliminadas
|
|
230
|
-
* @return Observable<any>
|
|
231
|
-
* @author Miguel Ramírez
|
|
232
|
-
*/
|
|
233
|
-
deleteBudgetStructureTwo(idStructures: any[]): Observable<any>;
|
|
234
|
-
/**
|
|
235
|
-
* @description Actualiza una estructura presupuestaria dos
|
|
236
|
-
* @param structure Estructura presupuestaria uno que se va a actualizar
|
|
237
|
-
* @return Observable<any>
|
|
238
|
-
*/
|
|
239
|
-
updateBudgetStructureTwo(structure: IEstructuraPresupuestariaTwo[]): Observable<any>;
|
|
240
|
-
/**
|
|
241
|
-
* @description Registra las estructuras presupuestrias dos en la base de datos
|
|
242
|
-
* @param budgetStructures Array de estructuras presupuestaria que se van a registrar
|
|
243
|
-
* @return Observable<any>
|
|
244
|
-
* @author Miguel Ramírez
|
|
245
|
-
*/
|
|
246
|
-
setBudgetStructureTwo(budgetStructures: IEstructuraPresupuestariaTwo[]): Observable<any>;
|
|
247
|
-
/**
|
|
248
|
-
* @description Obtiene la estructura presupuestaria
|
|
249
|
-
* @return Observable<MEstructuraPresupuestaria[]>
|
|
250
|
-
* @author Miguel Ramírez
|
|
251
|
-
*/
|
|
252
|
-
getBudgetStructureTwo(idEp1: string): Observable<MEstructuraPresupuestariaTwo[]>;
|
|
253
|
-
/**
|
|
254
|
-
* @description Obtiene la estructura presupuestaria
|
|
255
|
-
* @return Observable<MEstructuraPresupuestaria[]>
|
|
256
|
-
* @author Miguel Ramírez
|
|
257
|
-
*/
|
|
258
|
-
getBudgetStructureTwoAll(): Observable<MEstructuraPresupuestariaTwo[]>;
|
|
259
|
-
/**
|
|
260
|
-
* @description Elimina una o varias estructuras presupuestarias uno
|
|
261
|
-
* @param idStructures Id de la o las estructuras presupuestarias que van a ser eliminadas
|
|
262
|
-
* @return Observable<any>
|
|
263
|
-
* @author Miguel Ramírez
|
|
264
|
-
*/
|
|
265
|
-
deleteBudgetStructureOne(idStructures: any[]): Observable<any>;
|
|
266
|
-
/**
|
|
267
|
-
* @description Actualiza una estructura presupuestaria uno
|
|
268
|
-
* @param structure Estructura presupuestaria uno que se va a actualizar
|
|
269
|
-
* @return Observable<any>
|
|
270
|
-
*/
|
|
271
|
-
updateBudgetStructureOne(structure: IEstructuraPresupuestariaOne[]): Observable<any>;
|
|
272
|
-
/**
|
|
273
|
-
* @description Registra las estructuras presupuestrias en la base de datos
|
|
274
|
-
* @param budgetStructures Array de estructuras presupuestaria que s evan a registrar
|
|
275
|
-
* @return Observable<any>
|
|
276
|
-
* @author Miguel Ramírez
|
|
277
|
-
*/
|
|
278
|
-
setBudgetStructureOne(budgetStructures: IEstructuraPresupuestariaOne[]): Observable<any>;
|
|
279
|
-
/**
|
|
280
|
-
* @description Obtiene la estructura presupuestaria
|
|
281
|
-
* @return Observable<MEstructuraPresupuestaria[]>
|
|
282
|
-
* @author Miguel Ramírez
|
|
106
|
+
*
|
|
107
|
+
* @param tipo {1,2,3,4,completa}
|
|
108
|
+
* @param idEnterprise
|
|
109
|
+
* @param periodoFiscal
|
|
110
|
+
* @param codigo {codigo de la estructura }
|
|
111
|
+
* @returns
|
|
283
112
|
*/
|
|
284
|
-
|
|
113
|
+
getBudgetStructureComplete(tipo: string, idEnterprise: number, periodoFiscal: number, codigo?: string): Observable<MEstructuras[]>;
|
|
285
114
|
/**
|
|
286
115
|
* @description Obtiene las configuraciones de la estructura presupuestaria
|
|
287
116
|
* @return Observable<MConfigurationSPG[]>
|
|
@@ -515,13 +344,6 @@ export declare class SigespService {
|
|
|
515
344
|
* @params filtro: Indica bajo que parametros se va a filtrar el catalogo
|
|
516
345
|
*/
|
|
517
346
|
openCatalogoCuentasPresuspuesto(titulo: string, filtro?: filtroCuentasPresupuesto, ancho?: string): Promise<MCuentaPresupuesto>;
|
|
518
|
-
/**
|
|
519
|
-
* @description Abre el cátalogo de cuentas de la tabla "spg_cuentas"
|
|
520
|
-
* @returns Promise<MCuentaEgresos>
|
|
521
|
-
* @author Carlos Albornoz
|
|
522
|
-
* @params presupuesto: Indica si se a trabajar con estructura de presupuesto o no
|
|
523
|
-
*/
|
|
524
|
-
openCatalogoCuentasEgreso(titulo: string, presupuesto?: boolean, ancho?: string): Promise<MCuentaEgresos>;
|
|
525
347
|
/**
|
|
526
348
|
* @description Abre el cátalogo de cuentas de la tabla "spi_cuentas"
|
|
527
349
|
* @returns Promise<MCuentaIngresos>
|
|
@@ -663,13 +485,13 @@ export declare class SigespService {
|
|
|
663
485
|
* @return Promise<MProveedor>
|
|
664
486
|
* @author Miguel Ramírez
|
|
665
487
|
*/
|
|
666
|
-
openDialogProveedores(): Promise<MProveedor>;
|
|
488
|
+
openDialogProveedores(idEnterprise: number): Promise<MProveedor>;
|
|
667
489
|
/**
|
|
668
490
|
* @description Obtiene los proveedores
|
|
669
491
|
* @return Observable<MProveedor[]>
|
|
670
492
|
* @author Miguel Ramírez
|
|
671
493
|
*/
|
|
672
|
-
getProveedores(): Observable<MProveedor[]>;
|
|
494
|
+
getProveedores(idEnterprise: number): Observable<MProveedor[]>;
|
|
673
495
|
/**
|
|
674
496
|
* @description Obtiene los proveedores y beneficiarios
|
|
675
497
|
* @Note Si quiere solo los datos basicos use los parametros ('S','P','N')
|
|
@@ -680,7 +502,7 @@ export declare class SigespService {
|
|
|
680
502
|
* @account ={'S','N'} para traer las cuentas bancarias del proveedor por defecto esta en N
|
|
681
503
|
* @modificado 17-07-2023
|
|
682
504
|
*/
|
|
683
|
-
getProvidersAndBeneficiaries(type
|
|
505
|
+
getProvidersAndBeneficiaries(type: string, idEnterprise: number, destination?: string, account?: string): Observable<IResponse>;
|
|
684
506
|
/**
|
|
685
507
|
* @description Obtiene un Usuario segun su ID
|
|
686
508
|
* @return Observable<IResponse>
|
|
@@ -1056,6 +878,7 @@ export declare class SigespService {
|
|
|
1056
878
|
* @date 21-06-2024
|
|
1057
879
|
*/
|
|
1058
880
|
getVerificarRelease(tipo: string, sistema: string, seccion?: string): Observable<any>;
|
|
881
|
+
getReportePersonalizado(tipo: string, idEnterprise: number, sistema: string, caso: string): Observable<any>;
|
|
1059
882
|
static ɵfac: i0.ɵɵFactoryDeclaration<SigespService, never>;
|
|
1060
883
|
static ɵprov: i0.ɵɵInjectableDeclaration<SigespService>;
|
|
1061
884
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export { MDocument } from './lib/core/models/RPC/document.model';
|
|
|
33
33
|
export { MOrganizationType } from './lib/core/models/SPG/organizationType.model';
|
|
34
34
|
export { MSpecialty } from './lib/core/models/RPC/specialty.model';
|
|
35
35
|
export { MConfigurationRPC } from './lib/core/models/RPC/configuracionRPC.model';
|
|
36
|
-
export { MProviderBeneficiary, MProviderBankAccount, } from './lib/core/models/RPC/providerBeneficiary.model';
|
|
36
|
+
export { MProviderBeneficiary, MProviderBankAccount, MDeductionProv, MDocumentProv } from './lib/core/models/RPC/providerBeneficiary.model';
|
|
37
37
|
export { MBank, MBankAccountType, MSigecofBank, MCuentaBanco, MAgenciaBanco, } from './lib/core/models/SCB/bank.model';
|
|
38
38
|
export { MCuentaInstitucional } from './lib/core/models/SCG/cuentaInstitucional.model';
|
|
39
39
|
export { MConfiguracionSCG } from './lib/core/models/SCG/configuracionSCG.model';
|
|
@@ -134,7 +134,7 @@ export { MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo } from './lib/core/
|
|
|
134
134
|
export { MRConsolidadoConceptos, MRArchivoTXT, MRConstanciaTrabajo } from './lib/core/models/SNO/MReportesRRHH';
|
|
135
135
|
export { MSnoLog } from './lib/core/models/SNO/MAuditoria.model';
|
|
136
136
|
export { MPlanHorario, MPeriodosPlan } from './lib/core/models/SNO/MPlanHorario.model';
|
|
137
|
-
export { IProveedor, IOrganizationType, IProviderBeneficiary, IProviderBankAccount } from './lib/core/interfaces/Proveedor';
|
|
137
|
+
export { IProveedor, IOrganizationType, IProviderBeneficiary, IProviderBankAccount, IDeductionProv, IDocumentProv, ISpecialtyProv } from './lib/core/interfaces/Proveedor';
|
|
138
138
|
export { IConexion } from './lib/core/interfaces/Usuario';
|
|
139
139
|
export { IResponse } from './lib/core/interfaces/Response';
|
|
140
140
|
export { ICentroCosto } from './lib/core/interfaces/CentroCosto';
|