sigesp 0.9.5-221123 → 0.9.6-2022-12-04

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.
@@ -9,6 +9,7 @@ export interface IState {
9
9
  codest: string;
10
10
  desest: string;
11
11
  ciucapest: string;
12
+ desciu?: string;
12
13
  }
13
14
  export interface IMunicipality {
14
15
  codpai: string;
@@ -16,6 +17,7 @@ export interface IMunicipality {
16
17
  codmun: string;
17
18
  desmun: string;
18
19
  capmun: string;
20
+ desciu?: string;
19
21
  }
20
22
  export interface IParish {
21
23
  codpai: string;
@@ -13,6 +13,7 @@ export declare class MState extends MBasicModel {
13
13
  countryCode: string;
14
14
  name: string;
15
15
  capital: string;
16
+ nameCapital: string;
16
17
  constructor(state: IState);
17
18
  dataInterface(): IState;
18
19
  }
@@ -22,6 +23,7 @@ export declare class MMunicipality extends MBasicModel {
22
23
  stateCode: string;
23
24
  name: string;
24
25
  capital: string;
26
+ nameCapital: string;
25
27
  constructor(mun: IMunicipality);
26
28
  dataInterface(): IMunicipality;
27
29
  }
@@ -458,8 +458,12 @@ export declare class SigespService {
458
458
  * @description Obtiene las monedas
459
459
  * @return Observable<MMoneda[]>
460
460
  * @author Miguel Ramírez
461
+ * actualizado 4-12-2022
462
+ * @param tipo :string {'todas','uno','actual}
463
+ * @param id : number
464
+ * @returns
461
465
  */
462
- getMonedas(): Observable<MMoneda[]>;
466
+ getMonedas(tipo: string, id?: number): Observable<MMoneda[]>;
463
467
  /**
464
468
  * @description Abre el dialog de las las cuentas contables (Cuentas Institucionales)
465
469
  * @return Promise<McuentaInstitucional>
@@ -518,13 +522,14 @@ export declare class SigespService {
518
522
  * @author Carlos Albornoz
519
523
  * @modified 10-01-2022
520
524
  * @param codigo: Codigo del pais
525
+
521
526
  */
522
527
  getCountries(codigo?: string): Observable<MCountry[]>;
523
528
  /**
524
529
  * @description Obtiene los estados
525
530
  * @return Observable<MState>
526
531
  * @author Carlos Albornoz
527
- * @modificado 10-01-2022
532
+ * @modificado 4-12-2022
528
533
  * @param codigo: Codigo del pais
529
534
  */
530
535
  getStates(codigo?: string): Observable<MState[]>;
@@ -533,8 +538,9 @@ export declare class SigespService {
533
538
  * @return Observable<MMunicipality>
534
539
  * @author Carlos Albornoz
535
540
  * @modificado 10-01-2022
536
- * @param pais: Codigo del pais, estado:Codigo del estado
537
-
541
+ * @param pais: Codigo del pais ,
542
+ * @param estado: Codigo del estado
543
+ * @actualizado 4-12-2022
538
544
  */
539
545
  getMunicipalities(pais?: string, estado?: string): Observable<MMunicipality[]>;
540
546
  /**
@@ -542,18 +548,22 @@ export declare class SigespService {
542
548
  * @return Observable<MParish>
543
549
  * @author Carlos Albornoz
544
550
  * @modificado 10-01-2022
545
- * @param codigo: Codigo del pais, estado:Codigo del estado, municipio:codigo Municipio
551
+ * @param pais: Codigo del pais
552
+ * @param estado: Codigo del estado
553
+ * @param municipio:codigo Municipio
554
+ * @actualizado 4-12-2022
555
+
546
556
  */
547
- getParishes(codigo?: string, estado?: string, municipio?: string): Observable<MParish[]>;
557
+ getParishes(pais?: string, estado?: string, municipio?: string): Observable<MParish[]>;
548
558
  /**
549
559
  * @description Obtiene las ciudades
550
560
  * @return Observable<MParish>
551
561
  * @author Carlos Albornoz
552
562
  * @modificado 10-01-2022
553
- * @param codigo: Codigo del pais
563
+ * @param pais: Codigo del pais
554
564
 
555
565
  */
556
- getCitys(codigo?: string): Observable<MParish[]>;
566
+ getCitys(pais?: string): Observable<MParish[]>;
557
567
  /**
558
568
  * @description Obtiene los sistemas activas
559
569
  * @return Observable<MSistema>
@@ -564,6 +574,7 @@ export declare class SigespService {
564
574
  * @description Obtiene la moneda actual
565
575
  * @return Observable<IResponse>
566
576
  * @author Carlos Albornoz
577
+ * @actualizado: 4-12-20222
567
578
  */
568
579
  getCurrentCurrency(): Observable<IResponse>;
569
580
  /**
@@ -662,7 +673,7 @@ export declare class SigespService {
662
673
  * @author Dimaly Crespo
663
674
  *
664
675
  */
665
- getCompany(): Observable<IResponse>;
676
+ getCompany(tipo: string, id?: number): Observable<IResponse>;
666
677
  /**
667
678
  * @description Obtiene los tipos de documentos registrados en CXP
668
679
  * @return Observable<IResponse>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "0.9.5-221123",
3
+ "version": "0.9.6-2022-12-04",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },