sigesp 0.9.84-20231102 → 0.9.86-20231105

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.
@@ -0,0 +1,36 @@
1
+ export interface IClient {
2
+ id_empresa: number;
3
+ id_cliente: number;
4
+ id_categoria: number;
5
+ id_vendedor: number;
6
+ esttipcli: number;
7
+ codigo: string;
8
+ cedrifcli: string;
9
+ nomcli: string;
10
+ dircli: string;
11
+ telclipri: string;
12
+ telclisec: string;
13
+ fecregcli: string;
14
+ emacli: string;
15
+ estcli: string;
16
+ cedrep: string;
17
+ nomrep: string;
18
+ emarep: string;
19
+ comentario: string;
20
+ codpai: string;
21
+ codest: string;
22
+ codmun: string;
23
+ codpar: string;
24
+ codpos: string;
25
+ nomapecon: string;
26
+ ubicon: string;
27
+ telcon: string;
28
+ emacon: string;
29
+ aplicarcxc: number;
30
+ despar: string;
31
+ desmun: string;
32
+ desest: string;
33
+ despai: string;
34
+ cliesp: number;
35
+ limitecredito: number;
36
+ }
@@ -71,6 +71,7 @@ export declare const EstatusPrestamo: ISelect[];
71
71
  export declare const TipoCuota: ISelect[];
72
72
  export declare const Acciones: ISelect[];
73
73
  export declare const Preaviso: ISelect[];
74
+ export declare const EstatusCliente: ISelect[];
74
75
  export declare const Orden: ISelect[];
75
76
  export declare const Longitud: ISelect1[];
76
77
  export declare const Nivel: ISelect7[];
@@ -22,4 +22,5 @@ export interface ICuentaInstitucional {
22
22
  referencia?: string;
23
23
  denctareferecia?: string;
24
24
  dencueproacu?: string;
25
+ id_dt_cuenta?: string;
25
26
  }
@@ -2,4 +2,5 @@ export interface IAccountMarriage {
2
2
  id_empresa: string;
3
3
  sc_cuenta: string;
4
4
  sig_cuenta: string;
5
+ id_dt_cuenta: string;
5
6
  }
@@ -4,6 +4,8 @@ export declare class MAccountMarriage extends MBasicModel {
4
4
  idEmpresa: number;
5
5
  cuentaContable: number;
6
6
  cuentaInstitucional: number;
7
+ idDt: number;
8
+ isNew: boolean;
7
9
  constructor(marriage?: IAccountMarriage);
8
10
  dataInterface(): IAccountMarriage;
9
11
  }
@@ -26,6 +26,7 @@ export declare class MCuentaInstitucional extends MBasicModel {
26
26
  denominacionCuentaReferencia: string;
27
27
  denominacionEstatus: string;
28
28
  isNew: boolean;
29
+ idDtCuenta: number;
29
30
  constructor(institucional?: ICuentaInstitucional);
30
31
  dataInterface(): ICuentaInstitucional;
31
32
  }
@@ -0,0 +1,40 @@
1
+ import { IClient } from "../../interfaces/Cliente";
2
+ export declare class MClient {
3
+ idEmpresa: number;
4
+ idCliente: number;
5
+ idCategoria: number;
6
+ idVendedor: number;
7
+ estatusTipoCliente: number;
8
+ codigo: string;
9
+ cedulaRifCliente: string;
10
+ nombreCliente: string;
11
+ direccionCliente: string;
12
+ telefonoClientePrincipal: string;
13
+ telefonoClienteSecundario: string;
14
+ fechaRegistroCliente: string;
15
+ emailCliente: string;
16
+ estatusCliente: string;
17
+ cedulaRepresentante: string;
18
+ nombreRepresentante: string;
19
+ emailRepresentante: string;
20
+ comentario: string;
21
+ codigoPais: string;
22
+ codigoEstado: string;
23
+ codigoMunicipio: string;
24
+ codigoParroquia: string;
25
+ codigoPostal: string;
26
+ nompreApellidoContato: string;
27
+ ubicacionContacto: string;
28
+ telelefonoContacto: string;
29
+ emailContacto: string;
30
+ aplicarCuentaPorCobrar: number;
31
+ descripcionParroquia: string;
32
+ descripcionMunicipio: string;
33
+ descripcionEstado: string;
34
+ descripcionPais: string;
35
+ clienteEspecial: number;
36
+ limiteCredito: number;
37
+ denominacionEstataus: string;
38
+ constructor(e?: IClient);
39
+ dataInterface(): IClient;
40
+ }
@@ -389,8 +389,21 @@ export declare class SigespService {
389
389
  * @author Miguel Ramírez
390
390
  */
391
391
  onlyNumbers(event?: any): boolean;
392
+ /**
393
+ * @description Acepta solo numero, delete y backspace
394
+ * @param event Evento del teclado
395
+ * @return boolean
396
+ * @author Dimaly Crespo
397
+ */
392
398
  onlyNumbers2(event?: any): boolean;
393
399
  /**
400
+ * @description Acepta solo numero,guiones, parentesis,espacios
401
+ * @param event Evento del teclado
402
+ * @return boolean
403
+ * @author Dimaly Crespo
404
+ */
405
+ typeNumbersHyphen(event?: any): boolean;
406
+ /**
394
407
  * @description Permite (a-z A-Z á-ú ñÑ üÜ ',.) que se escriban numeros en el input (Usar en keypress)
395
408
  * @param event Evento del teclado
396
409
  * @return boolean
@@ -808,6 +821,14 @@ export declare class SigespService {
808
821
  * @author Dimaly Crespo
809
822
  */
810
823
  getHojaTiempo(tipo: string, idPersonal?: number, idNomina?: number): Observable<any>;
824
+ /**
825
+ * @description Obtiene los clientes
826
+ * @return Observable<IResponse>
827
+ * @author Dimaly Crespo
828
+ * @tipo [basico,codigo,cedula]
829
+ *
830
+ */
831
+ getCliente(tipo?: string, id?: number, codigo?: string, cedula?: string): Observable<IResponse>;
811
832
  /**
812
833
  * @description Valida si la fecha esta dentro del periodo fiscal y el mes esta abierto o cerrado
813
834
  * @return Observable<IResponse>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "0.9.84-20231102",
3
+ "version": "0.9.86-20231105",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
package/public-api.d.ts CHANGED
@@ -44,6 +44,7 @@ export { MUnidadTributaria } from './lib/core/models/STB/unidadTributaria.model'
44
44
  export { MDeduction, MConceptoRetencion } from './lib/core/models/STB/deduction.model';
45
45
  export { MDeductionType } from './lib/core/models/STB/deductionType.model';
46
46
  export { MMoneda, MMonedaConfig, } from './lib/core/models/CFG/moneda.model';
47
+ export { MClient } from './lib/core/models/SFV/MClienteModel';
47
48
  export { MUsuario } from './lib/core/models/SSS/user.model';
48
49
  export { MConfigSSS } from './lib/core/models/SSS/securityConfiguration.model';
49
50
  export { MUserDetail } from './lib/core/models/SSS/userDetail.model';
@@ -148,5 +149,6 @@ export { IConfiguracionSNO, IAnticipoPrestacion, IBenefiaciario, ICargosPersonal
148
149
  export { ISnoLog } from './lib/core/interfaces/Auditoria';
149
150
  export { IDetaEntrada, IEntradaSuministros, IDetaContable } from './lib/core/interfaces/EntradaSuministro';
150
151
  export { ITipoDepositos } from './lib/core/interfaces/ITipoDepositos';
151
- export { ICatalogo, ISelect, ISelect1, ISelect5, ISelect3, ISelect4, filterData, TipoDefiniciones, EstadoCivil, Sexo, Sexo2, NivelAcademico, Turno, SituacionPersonal, CausaEgreso, EstatusPersonal, EstatusPersonalNomina, Estatus, EstatusEstudio, TipoVivienda, LetraRif, Estudios, academico, TipoEmpresa, TipoPermiso, Nexofamiliar, NivelAcademicoFamiliar, TipoBeneficiario, Nacionalidad, FormaPago, EstatusVacaciones, TipoPeriodoNomina, TipoNomina, ContabilizacionNomina, Destino, TipoHorario, TipoCuota, Acciones, Preaviso, Orden, Longitud, Meses, TipoJubilacion, camposConstaciaTrabajo, MetodosTicket, EstatusPrestamo, ISelect7, } from './lib/core/interfaces/Constantes';
152
+ export { IClient } from './lib/core/interfaces/Cliente';
153
+ export { ICatalogo, ISelect, ISelect1, ISelect5, ISelect3, ISelect4, filterData, TipoDefiniciones, EstadoCivil, Sexo, Sexo2, NivelAcademico, Turno, SituacionPersonal, CausaEgreso, EstatusPersonal, EstatusPersonalNomina, Estatus, EstatusEstudio, TipoVivienda, LetraRif, Estudios, academico, TipoEmpresa, TipoPermiso, Nexofamiliar, NivelAcademicoFamiliar, TipoBeneficiario, Nacionalidad, FormaPago, EstatusVacaciones, TipoPeriodoNomina, TipoNomina, ContabilizacionNomina, Destino, TipoHorario, TipoCuota, Acciones, Preaviso, Orden, Longitud, Meses, TipoJubilacion, camposConstaciaTrabajo, MetodosTicket, EstatusPrestamo, ISelect7, EstatusCliente, } from './lib/core/interfaces/Constantes';
152
154
  export { IUpdateDistribution2, IUpdateDistribution } from './lib/core/interfaces/CuentaEgresos';