sigesp 0.8.61-220113 → 0.8.62-220119

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.
@@ -487,29 +487,47 @@ export declare class SigespService {
487
487
  */
488
488
  getServiceCharges(serviceId?: number): Observable<IResponse>;
489
489
  /**
490
- * @description Obtiene los paises
491
- * @return Observable<MCountry>
492
- * @author Carlos Albornoz
493
- */
494
- getCountries(): Observable<MCountry[]>;
490
+ * @description Obtiene los paises
491
+ * @return Observable<MCountry>
492
+ * @author Carlos Albornoz
493
+ * @modified 10-01-2022
494
+ * @param codigo: Codigo del pais
495
+ */
496
+ getCountries(codigo?: string): Observable<MCountry[]>;
495
497
  /**
496
498
  * @description Obtiene los estados
497
499
  * @return Observable<MState>
498
500
  * @author Carlos Albornoz
501
+ * @modificado 10-01-2022
502
+ * @param codigo: Codigo del pais
499
503
  */
500
- getStates(): Observable<MState[]>;
504
+ getStates(codigo?: string): Observable<MState[]>;
501
505
  /**
502
506
  * @description Obtiene los municipios
503
507
  * @return Observable<MMunicipality>
504
508
  * @author Carlos Albornoz
509
+ * @modificado 10-01-2022
510
+ * @param pais: Codigo del pais, estado:Codigo del estado
511
+
505
512
  */
506
- getMunicipalities(): Observable<MMunicipality[]>;
513
+ getMunicipalities(pais?: string, estado?: string): Observable<MMunicipality[]>;
507
514
  /**
508
515
  * @description Obtiene las parroquias
509
516
  * @return Observable<MParish>
510
517
  * @author Carlos Albornoz
518
+ * @modificado 10-01-2022
519
+ * @param codigo: Codigo del pais, estado:Codigo del estado, municipio:codigo Municipio
520
+ */
521
+ getParishes(codigo?: string, estado?: string, municipio?: string): Observable<MParish[]>;
522
+ /**
523
+ * @description Obtiene las ciudades
524
+ * @return Observable<MParish>
525
+ * @author Carlos Albornoz
526
+ * @modificado 10-01-2022
527
+ * @param codigo: Codigo del pais
528
+
511
529
  */
512
- getParishes(): Observable<MParish[]>;
530
+ getCitys(codigo?: string): Observable<MParish[]>;
513
531
  /**
514
532
  * @description Obtiene los sistemas activas
515
533
  * @return Observable<MSistema>
@@ -788,11 +806,42 @@ export declare class SigespService {
788
806
  */
789
807
  getJsonMenu(id_usuario: number, sistema: string): Observable<any>;
790
808
  /**
791
- * @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
792
- * @return Json data
793
- * @author Ing. Wilmer Briceno
794
- */
809
+ * @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
810
+ * @return Json data
811
+ * @author Ing. Wilmer Briceno
812
+ */
795
813
  log(body: MLog): Observable<any>;
814
+ /**
815
+ * @name EncryptData
816
+ * @description Enscripta una expresion data
817
+ * @author Ing. Wilmer Briceño
818
+ */
819
+ EncryptData(expresion: string): any;
820
+ /**
821
+ * @name DecryptData
822
+ * @description Desencripta una expresion data
823
+ * @author Ing. Wilmer Briceño
824
+ */
825
+ DecryptData(expresion: string): any;
826
+ /**
827
+ * @name getResponsePerfilToolbar
828
+ * @description Metodo que obtiene una respuesta true o false basado en una estructura sring binanria segun
829
+ * la posicion dada del toolbar. se pasa string binario que contiene 1 y 0 en representacion
830
+ * de las propiestades administrador,consultar,ejecutar,imprimir etc ... cada posicion secuencial
831
+ * si esta en 1 es true y 0 en false y devuleve el valor segun lo requiera el usuario:
832
+ * stringbinario : '1011' y posicion es 2, por tanto se tare 0 y es false que representa opcion consultar.
833
+ * Estructura string binario:
834
+ * Posición :
835
+ * 0. Administrador 6. Descargar
836
+ * 1. insertar 7. Ejecutar
837
+ * 2. Actualizar 8. Enviar
838
+ * 3. consultar 9. Imprimir
839
+ * 4. Eliminar 10. Visible
840
+ * 5. Anular
841
+ *
842
+ * @author Ing. Wilmer Briceño
843
+ */
844
+ getResponsePerfilToolbar(stringbinario: string, position: number): boolean;
796
845
  }
797
846
  interface filtroCuentasPresupuesto {
798
847
  tipo?: 'E' | 'R';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "0.8.61-220113",
3
+ "version": "0.8.62-220119",
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, MCity } 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';