sigesp 0.8.54-220105 → 0.8.58-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,12 @@ 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;
228
+ despai_nac: string;
229
+ desest_nac: string;
224
230
  }
225
231
  export interface ICargosPersonal {
226
232
  id_carper: string;
@@ -93,6 +93,12 @@ 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;
100
+ nombrePaisNacimiento: string;
101
+ nombreEstadoNacimiento: string;
96
102
  constructor(p?: IPersonal);
97
103
  dataInterface(): IPersonal;
98
104
  }
@@ -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
  }
@@ -490,25 +490,36 @@ export declare class SigespService {
490
490
  * @return Observable<MCountry>
491
491
  * @author Carlos Albornoz
492
492
  */
493
- getCountries(): Observable<MCountry[]>;
493
+ getCountries(codigo?: string): Observable<MCountry[]>;
494
494
  /**
495
495
  * @description Obtiene los estados
496
496
  * @return Observable<MState>
497
497
  * @author Carlos Albornoz
498
+ * @modificado 10-01-2022
498
499
  */
499
- getStates(): Observable<MState[]>;
500
+ getStates(codigo?: string): Observable<MState[]>;
500
501
  /**
501
502
  * @description Obtiene los municipios
502
503
  * @return Observable<MMunicipality>
503
504
  * @author Carlos Albornoz
505
+ * @modificado 10-01-2022
504
506
  */
505
- getMunicipalities(): Observable<MMunicipality[]>;
507
+ getMunicipalities(pais?: string, estado?: string): Observable<MMunicipality[]>;
506
508
  /**
507
509
  * @description Obtiene las parroquias
508
510
  * @return Observable<MParish>
509
511
  * @author Carlos Albornoz
512
+ * @modificado 10-01-2022
513
+ *
510
514
  */
511
- 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[]>;
512
523
  /**
513
524
  * @description Obtiene los sistemas activas
514
525
  * @return Observable<MSistema>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "0.8.54-220105",
3
+ "version": "0.8.58-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';