sigesp 0.9.21-20221229 → 0.9.23-20221230

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.
@@ -11,5 +11,8 @@ export interface IUsuariosCentroCosto {
11
11
  id_enterprise: string;
12
12
  codcencos: string;
13
13
  codusu: string;
14
+ id_usuario: string;
15
+ nomusu?: string;
16
+ apeusu?: string;
14
17
  id_dt_cencos: string;
15
18
  }
@@ -7,6 +7,7 @@ export interface IConfigSSS {
7
7
  }
8
8
  export interface IUserDetail {
9
9
  id_usuario: string;
10
+ id_enterprise: string;
10
11
  apeusu: string;
11
12
  cedusu: string;
12
13
  codusu: string;
@@ -3,6 +3,7 @@ export interface IConexion {
3
3
  usuario: IUsuario;
4
4
  }
5
5
  export interface IUsuario {
6
+ id_enterprise: string;
6
7
  nombre: string;
7
8
  apellido: string;
8
9
  conexionDB: IConexionDB;
@@ -14,7 +14,9 @@ export declare class MUsuarioCentroCosto extends MBasicModel {
14
14
  idEmpresa: number;
15
15
  idEnterprise: number;
16
16
  codigoCentroCosto: string;
17
+ codigoUsuario: string;
17
18
  usuario: string;
19
+ idUsuario: number;
18
20
  idDtCentro: number;
19
21
  constructor(e?: IUsuariosCentroCosto);
20
22
  dataInterface(): IUsuariosCentroCosto;
@@ -4,6 +4,7 @@ export declare class MUsuario extends MBasicModel {
4
4
  nombre: string;
5
5
  apellido: string;
6
6
  conexionDB: IConexionDB;
7
+ enterprise: number;
7
8
  empresa: IEmpresa;
8
9
  token: string;
9
10
  foto: string;
@@ -4,6 +4,7 @@ import { MRights } from '../SSS/userRights.model';
4
4
  export declare class MUserDetail extends MBasicModel {
5
5
  id: number;
6
6
  idCompany: number;
7
+ idEnterprise: number;
7
8
  lastName: string;
8
9
  identification: string;
9
10
  username: string;
@@ -307,7 +307,7 @@ export declare class SigespService {
307
307
  * @param id:idusurio o id del ecntro de costo
308
308
  * modificado 28-12-2022
309
309
  */
310
- getCentroCosto(tipo?: 'all' | 'one' | 'user', id?: number): Observable<MCentroCosto[]>;
310
+ getCentroCosto(tipo?: 'all' | 'one' | 'user' | 'enter', id?: string): Observable<MCentroCosto[]>;
311
311
  /**
312
312
  * @description Obtiene los centros de costo
313
313
  * @return Observable<IResponse>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigesp",
3
- "version": "0.9.21-20221229",
3
+ "version": "0.9.23-20221230",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },