sigesp 1.1.10-20241003 → 1.1.11-20241003

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.
@@ -11,12 +11,10 @@ import { ToastrService } from 'ngx-toastr';
11
11
  import { MUnidadTributaria } from './core/models/STB/unidadTributaria.model';
12
12
  import { AbstractControl, UntypedFormGroup } from '@angular/forms';
13
13
  import { MConfiguracionSCG } from './core/models/SCG/configuracionSCG.model';
14
- import { MPlanUnicoCuenta } from './core/models/SCG/planUnicoCuenta.model';
15
14
  import { IConexion } from './core/interfaces/Usuario';
16
15
  import { MConfigurationSPG } from './core/models/SPG/configurationSPG.model';
17
16
  import { MEstructuraPresupuestariaOne, MEstructuraPresupuestariaTwo, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaFiveComplete, MAllStructure } from './core/models/SPG/estructuraPresupuestaria.model';
18
17
  import { IEstructuraPresupuestariaOne, IEstructuraPresupuestariaTwo, IEstructuraPresupuestariaThree, IEstructuraPresupuestariaFour, IEstructuraPresupuestariaFive } from './core/interfaces/EstructuraPresupuestaria';
19
- import { MCentroCosto } from './core/models/SCG/centroCosto.model';
20
18
  import { MFuenteFinanciamiento } from './core/models/SPG/fuenteFinanciamiento.model';
21
19
  import { MCuentaEgresos } from './core/models/SPG/expensiveAccount.model';
22
20
  import { IUpdateDistribution, IUpdateDistribution2, IUpdateDistributionIngresos, IUpdateDistributionIngresos2 } from './core/interfaces/CuentaEgresos';
@@ -309,21 +307,12 @@ export declare class SigespService {
309
307
  * @author Miguel Ramírez
310
308
  */
311
309
  getFuenteFinanciamiento(): Observable<MFuenteFinanciamiento[]>;
312
- /**
313
- * @description Obtiene los centros de costo
314
- * @return Observable<MCentroCosto[]>
315
- * @author Miguel Ramírez
316
- * @param id:idusurio o id del ecntro de costo
317
- * modificado 28-12-2022
318
- */
319
- getCentroCosto(tipo?: 'all' | 'one' | 'user' | 'enter', id?: string): Observable<MCentroCosto[]>;
320
310
  /**
321
311
  * @description Obtiene los centros de costo
322
312
  * @return Observable<IResponse>
323
- * @author Carlos Albornoz
313
+ * modificado 28-12-2022
324
314
  */
325
- getCostCenters(): Observable<IResponse>;
326
- getUserCostCenters(codigo: string): Observable<IResponse>;
315
+ getCentroCosto(tipo: string, idEnterprise: number, periodoFiscal: number): Observable<IResponse>;
327
316
  /**
328
317
  * @description Abre el dialog de checkks
329
318
  * @param columns Columnas que va a tener la tabla
@@ -334,18 +323,6 @@ export declare class SigespService {
334
323
  hasBackdrop?: boolean;
335
324
  disableClose?: boolean;
336
325
  }): Promise<any[]>;
337
- /**
338
- * @description Abre el dialog de las comunidades
339
- * @return Promise<MPlanUnicoCuenta>
340
- * @author Miguel Ramírez
341
- */
342
- openDialogPlanUnicoCuentas(): Promise<MPlanUnicoCuenta>;
343
- /**
344
- * @description Obtiene el listado del plan único de cuentas
345
- * @return Observable<MplanUnicoCuenta[]>
346
- * @author Miguel Ramírez
347
- */
348
- getListadoPLanUnicoCuentas(): Observable<MPlanUnicoCuenta[]>;
349
326
  /**
350
327
  * @description Obtiene la configuración de SCG
351
328
  * @return Observable<MConfiguracionSCG[]>
@@ -503,13 +480,13 @@ export declare class SigespService {
503
480
  * @return Promise<McuentaInstitucional>
504
481
  * @author Miguel Ramírez
505
482
  */
506
- openDialogCuentasInstitucionales(): Promise<MCuentaInstitucional>;
483
+ openDialogCuentasInstitucionales(idEnterprise: number, periodoFical: number): Promise<MCuentaInstitucional>;
507
484
  /**
508
485
  * @description Obtiene las cuentas contables (Cuentas Institucionales)
509
486
  * @return Observable<MCuentaInstitucional[]>
510
487
  * @author Miguel Ramírez
511
488
  */
512
- getCuentasInstitucionales(inventory?: boolean): Observable<MCuentaInstitucional[]>;
489
+ getCuentasInstitucionales(idEnterprise: number, periodoFical: number, inventory?: boolean): Observable<MCuentaInstitucional[]>;
513
490
  /**
514
491
  * @description Abre el dialog de las cuentas de presupuesto (Recursos y Egresos)
515
492
  * @return Promise<MCuentaPresupuesto>
@@ -663,7 +640,7 @@ export declare class SigespService {
663
640
  * @return Observable<MUsuarioPrefijo[]>
664
641
  * @author Carlos Albornoz
665
642
  */
666
- getUserPrefix(filter?: 'detail', code?: string): Observable<IResponse>;
643
+ getUserPrefix(filter: 'detail', code: string, idEnterprise: number, periodo: number): Observable<IResponse>;
667
644
  /**
668
645
  * @description Obtiene los pefijo
669
646
  * @param procede De que módulo procede
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "1.1.10-20241003",
3
+ "version": "1.1.11-20241003",
4
4
  "dependencies": {
5
5
  "tslib": "^2.6.2"
6
6
  },
package/public-api.d.ts CHANGED
@@ -41,7 +41,7 @@ export { MPlanUnicoCuenta } from './lib/core/models/SCG/planUnicoCuenta.model';
41
41
  export { MCuentaIngresos } from './lib/core/models/SCG/IncomeAccount';
42
42
  export { MConfigurationSPG } from './lib/core/models/SPG/configurationSPG.model';
43
43
  export { MAccountMarriage } from './lib/core/models/SCG/accountMarriage.model';
44
- export { MCentroCosto, MUsuarioCentroCosto } from './lib/core/models/SCG/centroCosto.model';
44
+ export { MCentroCosto } from './lib/core/models/SCG/centroCosto.model';
45
45
  export { MServiceType } from './lib/core/models/SOC/serviceType.model';
46
46
  export { MService } from './lib/core/models/SOC/service.model';
47
47
  export { MClause } from './lib/core/models/SOC/clause.model';
@@ -137,7 +137,7 @@ export { MPlanHorario, MPeriodosPlan } from './lib/core/models/SNO/MPlanHorario.
137
137
  export { IProveedor, IOrganizationType, IProviderBeneficiary, IProviderBankAccount } from './lib/core/interfaces/Proveedor';
138
138
  export { IConexion } from './lib/core/interfaces/Usuario';
139
139
  export { IResponse } from './lib/core/interfaces/Response';
140
- export { ICentroCosto, IUsuariosCentroCosto } from './lib/core/interfaces/CentroCosto';
140
+ export { ICentroCosto } from './lib/core/interfaces/CentroCosto';
141
141
  export { IEstructuraPresupuestariaOne, IEstructuraPresupuestariaTwo, IEstructuraPresupuestariaThree, IEstructuraPresupuestariaFour, IEstructuraPresupuestariaFive } from './lib/core/interfaces/EstructuraPresupuestaria';
142
142
  export { ISpecialty } from './lib/core/interfaces/Especialidad';
143
143
  export { IDocument } from './lib/core/interfaces/Documento';