sigesp 0.8.59-220113 → 0.8.63-220120

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.
@@ -125,6 +125,21 @@ export interface INomina {
125
125
  id_perresnom: string;
126
126
  periodos: IPeriodoNomina[];
127
127
  }
128
+ export interface INominaSimple {
129
+ id_empresa: string;
130
+ id_nomina: string;
131
+ codnom: string;
132
+ dennom: string;
133
+ id_periodoactual: string;
134
+ totper: string;
135
+ cerper: string;
136
+ calculado: string;
137
+ prenomina: string;
138
+ id_carper: string;
139
+ descar: string;
140
+ codcar: string;
141
+ racnom: string;
142
+ }
128
143
  export interface IPeriodoNomina {
129
144
  id_empresa: string;
130
145
  id_nomina: string;
@@ -141,6 +156,8 @@ export interface IPeriodoNomina {
141
156
  ingconper: string;
142
157
  fidconper: string;
143
158
  fidintconper: string;
159
+ prenomina: string;
160
+ calculado: string;
144
161
  }
145
162
  export interface IPersonalNomina {
146
163
  id_empresa: string;
@@ -0,0 +1,21 @@
1
+ import { INominaSimple } from "../../interfaces/Nomina";
2
+ export declare class MNominaSimple {
3
+ idEmpresa: number;
4
+ idNnomina: number;
5
+ codigoNomina: string;
6
+ denominacioNomina: string;
7
+ idPeriodoActual: number;
8
+ totalPeriodo: number;
9
+ estatus: string;
10
+ estatusPeriodo: number;
11
+ calculada: boolean;
12
+ prenomina: boolean;
13
+ idCargo: number;
14
+ codigoCargo: string;
15
+ denominacionCargo: string;
16
+ nominaRac: number;
17
+ simbolo: string;
18
+ color: string;
19
+ constructor(e?: INominaSimple);
20
+ dataInterface(): INominaSimple;
21
+ }
@@ -16,6 +16,8 @@ export declare class MPeriodoNomina extends MBasicModel {
16
16
  ingresoContabilizadoPeriodo: number;
17
17
  fideicomisoContabilizado: number;
18
18
  fideicomisoInteresContabilizadoPeriodo: number;
19
+ prenomina: boolean;
20
+ calculado: boolean;
19
21
  constructor(e?: IPeriodoNomina);
20
22
  dataInterface(): IPeriodoNomina;
21
23
  estatusPeriodo(): string;
@@ -11,5 +11,5 @@ export declare class MLog extends MBasicModel {
11
11
  feclog: string;
12
12
  id_empresa: number;
13
13
  id_log: number;
14
- constructor(record: ILog);
14
+ constructor(record?: ILog);
15
15
  }
@@ -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
511
520
  */
512
- getParishes(): Observable<MParish[]>;
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
+
529
+ */
530
+ getCitys(codigo?: string): Observable<MParish[]>;
513
531
  /**
514
532
  * @description Obtiene los sistemas activas
515
533
  * @return Observable<MSistema>
@@ -773,26 +791,76 @@ export declare class SigespService {
773
791
  * @description obtiene el personal segun filtro
774
792
  * @return Observable<IResponse>
775
793
  * @date 15-11-2021
794
+ * @param tipo: valores ['catalogo','default','nomina']
795
+ * @params dato:object {nombre:string, apellido:string, cedula.string} use para la opcion 'catalogo'
776
796
  */
777
- getPersonal(dato?: any): Observable<any>;
797
+ getPersonal(tipo: string, dato?: any): Observable<any>;
778
798
  /**
779
799
  * @description obtener personal Nomina segun filtro
780
800
  * @return Observable<IResponse>
781
801
  * @date 15-11-2021
802
+ * * @param tipo: valores ['catalogo','default','nomina']
803
+ * @params dato:object {nombre:string, apellido:string, cedula.string} use para la opcion 'catalogo'
804
+
782
805
  */
783
- getPersonalNomina(dato?: any): Observable<any>;
806
+ getPersonalNomina(tipo: string, dato?: any): Observable<any>;
784
807
  /**
785
- * @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
786
- * @return Json data
787
- * @author Ing. Wilmer Briceno
808
+ * @param idPersonal: id del personal
809
+ * @param tipo: valores['nomina_personal']
810
+ * @description Obtiene las nominas del personal resumida
811
+ * @deprecated; 20-01-22
812
+ * @returns
788
813
  */
789
- getJsonMenu(id_usuario: number, sistema: string): Observable<any>;
814
+ getPersonalNominaResumida(idPersonal: number, tipo: string): Observable<any>;
790
815
  /**
791
816
  * @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
792
817
  * @return Json data
793
818
  * @author Ing. Wilmer Briceno
794
819
  */
820
+ getJsonMenu(id_usuario: number, sistema: string): Observable<any>;
821
+ /**
822
+ * @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
823
+ * @return Json data
824
+ * @author Ing. Wilmer Briceno
825
+ */
795
826
  log(body: MLog): Observable<any>;
827
+ /**
828
+ * @name EncryptData
829
+ * @description Enscripta una expresion data
830
+ * @author Ing. Wilmer Briceño
831
+ */
832
+ EncryptData(expresion: string): any;
833
+ /**
834
+ * @name DecryptData
835
+ * @description Desencripta una expresion data
836
+ * @author Ing. Wilmer Briceño
837
+ */
838
+ DecryptData(expresion: string): any;
839
+ /**
840
+ * @name getResponsePerfilToolbar
841
+ * @description Metodo que obtiene una respuesta true o false basado en una estructura sring binanria segun
842
+ * la posicion dada del toolbar. se pasa string binario que contiene 1 y 0 en representacion
843
+ * de las propiestades administrador,consultar,ejecutar,imprimir etc ... cada posicion secuencial
844
+ * si esta en 1 es true y 0 en false y devuleve el valor segun lo requiera el usuario:
845
+ * stringbinario : '1011' y posicion es 2, por tanto se tare 0 y es false que representa opcion consultar.
846
+ * Estructura string binario:
847
+ * Posición :
848
+ * 0. Administrador 6. Descargar
849
+ * 1. insertar 7. Ejecutar
850
+ * 2. Actualizar 8. Enviar
851
+ * 3. consultar 9. Imprimir
852
+ * 4. Eliminar 10. Visible
853
+ * 5. Anular
854
+ *
855
+ * @author Ing. Wilmer Briceño
856
+ */
857
+ getResponsePerfilToolbar(stringbinario: string, position: number): boolean;
858
+ /**
859
+ * @description Obtiene el Ip del cliente
860
+ * @return Json data
861
+ * @author Ing. Wilmer Briceno
862
+ */
863
+ getIPAddress(): Observable<Object>;
796
864
  }
797
865
  interface filtroCuentasPresupuesto {
798
866
  tipo?: 'E' | 'R';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "0.8.59-220113",
3
+ "version": "0.8.63-220120",
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';
@@ -103,6 +103,7 @@ export { MUbicacionFisica } from './lib/core/models/SNO/MUbicacionFisica.model';
103
103
  export { MVacacionesPersonal } from './lib/core/models/SNO/MVacacionesPersonal.model';
104
104
  export { MEncargaduria } from './lib/core/models/SNO/MEncargaduria.model';
105
105
  export { MCodigoUnicoRac } from './lib/core/models/SNO/MCodigoUnicoRac.model';
106
+ export { MNominaSimple } from './lib/core/models/SNO/MNominaSimple.model';
106
107
  export { IProveedor, IOrganizationType, IProviderBeneficiary, IProviderBankAccount } from './lib/core/interfaces/Proveedor';
107
108
  export { IConexion } from './lib/core/interfaces/Usuario';
108
109
  export { IEstructuraPresupuestariaOne, IEstructuraPresupuestariaTwo, IEstructuraPresupuestariaThree, IEstructuraPresupuestariaFour, IEstructuraPresupuestariaFive } from './lib/core/interfaces/EstructuraPresupuestaria';
@@ -120,7 +121,7 @@ export { IConfigSSS, IUserDetail, IGroup, IComponent, IRights, IUserPermit, ILog
120
121
  export { ISistema } from './lib/core/interfaces/Sistema';
121
122
  export { IUnitAdministrative } from './lib/core/interfaces/Presupuesto';
122
123
  export { IServiceCharge, IConceptosCXP, ITipoDocumentoCXP } from './lib/core/interfaces/CuentasPorPagar';
123
- export { IAsignacionCargo, IConceptos, IConceptosPersonalNomina, IConceptosVacaciones, IConstanteNomina, IConstantePersonaNomina, IHojaTiempo, INomina, IPeriodoNomina, IPersonalNomina, IPrimasConcepto, ISelect, Reporte, SalarioNormal, Signo, TipoCestaTicket, IEncargaduria, ICodigoUnicoRac, } from './lib/core/interfaces/Nomina';
124
+ export { IAsignacionCargo, IConceptos, IConceptosPersonalNomina, IConceptosVacaciones, IConstanteNomina, IConstantePersonaNomina, IHojaTiempo, INomina, IPeriodoNomina, IPersonalNomina, IPrimasConcepto, ISelect, Reporte, SalarioNormal, Signo, TipoCestaTicket, IEncargaduria, ICodigoUnicoRac, INominaSimple, } from './lib/core/interfaces/Nomina';
124
125
  export { IEmpresa } from './lib/core/interfaces/Configuracion';
125
126
  export { IConfiguracionSNO, IAnticipoPrestacion, IBenefiaciario, ICargosPersonal, IDeudaAnterior, IEstudioRealizado, IFamiliares, IFideicomiso, IImpuestoSobreRenta, IIncidencia, IPermisos, IPersonal, IPersonalCuentasBancarias, IPrestacionesAntiguedad, ISalarioHistorico, ITrabajoAnterior, IVacacionesPersonal, IAcademico, ICampos, ICargaFamiliar, IClasificacionObrero, IDialogData, IDtRequisitosMinimos, IExperienciaLaboral, IFormacionAcademica, IFormacionInformal, IFuenteFinanciamiento, IGrados, IPrimaGrados, IRequisitosConcursante, IRequisitosConcursos, IRequisitosMinismos, ISolicitudEmpleo, ITabulador, ITabuladorNomina, IArchivoTxt, IArchivoTxtCampos, IAspectoEvaluacion, IComponente, IConcursante, IConcurso, IDedicacion, IDefinicionesBasicas, IEscalaEvaluacion, IEscalaEvaluacionDt, IEstructuraOrganizativa, IFeriados, IHorario, IItemsEvaluacion, IMetodoBanco, IMetodos, INivel, IRango, ITablaVacaciones, ITablaVacacionesPeriodo, ITipoEvaluacion, ITipoEvaluacionAspectos, ITipoPersonal, ITiposEnfermedad, IUbicacionFisica, ISelect3 } from './lib/core/interfaces/RecursosHumanos';
126
127
  export { IDetaEntrada, IEntradaSuministros, IDetaContable } from './lib/core/interfaces/EntradaSuministro';