sigesp 0.8.53-211212 → 0.8.57-220110

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.
@@ -24,3 +24,9 @@ export interface IParish {
24
24
  codpar: string;
25
25
  despar: string;
26
26
  }
27
+ export interface ICity {
28
+ codpai: string;
29
+ codest: string;
30
+ codciu: string;
31
+ desciu: string;
32
+ }
@@ -221,6 +221,10 @@ export interface IPersonal {
221
221
  codsin: string;
222
222
  densin: string;
223
223
  conapdis: string;
224
+ despai: string;
225
+ desest: string;
226
+ desmun: string;
227
+ despar: string;
224
228
  }
225
229
  export interface ICargosPersonal {
226
230
  id_carper: string;
@@ -93,6 +93,10 @@ export declare class MPersonal extends MBasicModel {
93
93
  idSindicato: number;
94
94
  codigoSindicato: string;
95
95
  denominacionSindicato: string;
96
+ nombrePais: string;
97
+ nombreEstado: string;
98
+ nombreMunicipio: string;
99
+ nombreParroquia: string;
96
100
  constructor(p?: IPersonal);
97
101
  dataInterface(): IPersonal;
98
102
  }
@@ -1,31 +1,44 @@
1
- import { ICountry, IState, IMunicipality, IParish } from '../interfaces/Lugares';
2
- export declare class MCountry {
1
+ import { ICountry, IState, IMunicipality, IParish, ICity } from '../interfaces/Lugares';
2
+ import { MBasicModel } from './basic-model.model';
3
+ export declare class MCountry extends MBasicModel {
3
4
  code: string;
4
5
  name: string;
5
6
  monofi: number;
6
7
  monsec: number;
7
8
  constructor(country: ICountry);
9
+ dataInterface(): ICountry;
8
10
  }
9
- export declare class MState {
11
+ export declare class MState extends MBasicModel {
10
12
  code: string;
11
13
  countryCode: string;
12
14
  name: string;
13
15
  capital: string;
14
16
  constructor(state: IState);
17
+ dataInterface(): IState;
15
18
  }
16
- export declare class MMunicipality {
19
+ export declare class MMunicipality extends MBasicModel {
17
20
  code: string;
18
21
  countryCode: string;
19
22
  stateCode: string;
20
23
  name: string;
21
24
  capital: string;
22
25
  constructor(mun: IMunicipality);
26
+ dataInterface(): IMunicipality;
23
27
  }
24
- export declare class MParish {
28
+ export declare class MParish extends MBasicModel {
25
29
  code: string;
26
30
  countryCode: string;
27
31
  stateCode: string;
28
32
  municipalityCode: string;
29
33
  name: string;
30
34
  constructor(parish: IParish);
35
+ dataInterface(): IParish;
36
+ }
37
+ export declare class MCity extends MBasicModel {
38
+ code: string;
39
+ countryCode: string;
40
+ stateCode: string;
41
+ name: string;
42
+ constructor(city: ICity);
43
+ dataInterface(): ICity;
31
44
  }
@@ -35,6 +35,7 @@ export declare class SigespService {
35
35
  usuarioActivo: MUsuario;
36
36
  URL: string;
37
37
  currentComponent: MComponent;
38
+ userMenu: any;
38
39
  constructor(http: HttpClient, dialog: MatDialog, toast: ToastrService);
39
40
  /**
40
41
  * @description Valida que selo se escriban guiones y 9
@@ -489,25 +490,36 @@ export declare class SigespService {
489
490
  * @return Observable<MCountry>
490
491
  * @author Carlos Albornoz
491
492
  */
492
- getCountries(): Observable<MCountry[]>;
493
+ getCountries(codigo?: string): Observable<MCountry[]>;
493
494
  /**
494
495
  * @description Obtiene los estados
495
496
  * @return Observable<MState>
496
497
  * @author Carlos Albornoz
498
+ * @modificado 10-01-2022
497
499
  */
498
- getStates(): Observable<MState[]>;
500
+ getStates(codigo?: string): Observable<MState[]>;
499
501
  /**
500
502
  * @description Obtiene los municipios
501
503
  * @return Observable<MMunicipality>
502
504
  * @author Carlos Albornoz
505
+ * @modificado 10-01-2022
503
506
  */
504
- getMunicipalities(): Observable<MMunicipality[]>;
507
+ getMunicipalities(pais?: string, estado?: string): Observable<MMunicipality[]>;
505
508
  /**
506
509
  * @description Obtiene las parroquias
507
510
  * @return Observable<MParish>
508
511
  * @author Carlos Albornoz
512
+ * @modificado 10-01-2022
513
+ *
509
514
  */
510
- getParishes(): Observable<MParish[]>;
515
+ getParishes(codigo?: string, estado?: string, municipio?: string): Observable<MParish[]>;
516
+ /**
517
+ * @description Obtiene las parroquias
518
+ * @return Observable<MParish>
519
+ * @author Carlos Albornoz
520
+ * @modificado 10-01-2022
521
+ */
522
+ getCitys(codigo?: string): Observable<MParish[]>;
511
523
  /**
512
524
  * @description Obtiene los sistemas activas
513
525
  * @return Observable<MSistema>
@@ -774,11 +786,17 @@ export declare class SigespService {
774
786
  */
775
787
  getPersonal(dato?: any): Observable<any>;
776
788
  /**
777
- * @description obtener personal Nomina segun filtro
778
- * @return Observable<IResponse>
779
- * @date 15-11-2021
780
- */
789
+ * @description obtener personal Nomina segun filtro
790
+ * @return Observable<IResponse>
791
+ * @date 15-11-2021
792
+ */
781
793
  getPersonalNomina(dato?: any): Observable<any>;
794
+ /**
795
+ * @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
796
+ * @return Json data
797
+ * @author Ing. Wilmer Briceno
798
+ */
799
+ getJsonMenu(id_usuario: number, sistema: string): Observable<any>;
782
800
  }
783
801
  interface filtroCuentasPresupuesto {
784
802
  tipo?: 'E' | 'R';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "0.8.53-211212",
3
+ "version": "0.8.57-220110",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
package/public-api.d.ts CHANGED
@@ -17,7 +17,7 @@ export { MFuenteFinanciamiento } from './lib/core/models/fuenteFinanciamiento.mo
17
17
  export { MCuentaEgresos } from './lib/core/models/expensiveAccount.model';
18
18
  export { MComprobantePresupuestarioIngresos, MComprobantePresupuestarioEgresos } from './lib/core/models/comprobantePresupuestario.model';
19
19
  export { MEstructuraPresupuestariaOne, MEstructuraPresupuestariaTwo, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaFiveComplete, MAllStructure } from './lib/core/models/estructuraPresupuestaria.model';
20
- export { MCountry, MMunicipality, MParish, MState } from './lib/core/models/locations.model';
20
+ export { MCountry, MMunicipality, MParish, MState, MCity } from './lib/core/models/locations.model';
21
21
  export { MClasification } from './lib/core/models/clasification.model';
22
22
  export { MDocument } from './lib/core/models/document.model';
23
23
  export { MOrganizationType } from './lib/core/models/organizationType.model';
@@ -108,7 +108,7 @@ export { IEstructuraPresupuestariaOne, IEstructuraPresupuestariaTwo, IEstructura
108
108
  export { ISpecialty } from './lib/core/interfaces/Especialidad';
109
109
  export { IDocument } from './lib/core/interfaces/Documento';
110
110
  export { IClasification } from './lib/core/interfaces/Clasificacion';
111
- export { ICountry, IMunicipality, IParish, IState } from './lib/core/interfaces/Lugares';
111
+ export { ICountry, IMunicipality, IParish, IState, ICity } from './lib/core/interfaces/Lugares';
112
112
  export { IBank, IBankAccountType, ISigecofBank, IAgencia, ICuentaBanco, ICartaOrden, IMovimientoBanco, IConfigBanco, IConceptoMovimiento, IControlDocumento, IConciliacion, IChequera, ICuentasSpSc, IDetalle, IDivisas, IMovimiento, ICatalogoIntegracion, IDetalleConciliacion, IDetalleMovimiento, IDetalleSpgSpi, IDetallesContable, IIntegracion, IMovimientoBancoConciliar, ISelect2, ITipoFondoAvance, ITrasferencia, IVoucherMedidas } from './lib/core/interfaces/Banco';
113
113
  export { IConfigurationRPC } from './lib/core/interfaces/ConfiguracionRPC';
114
114
  export { IServiceType, IService, IClause, IConfigSOC, IClauseModality, IServiceCharges } from './lib/core/interfaces/Servicios';