iptdevs-design-system 3.2.16 → 3.2.17
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.
- package/esm2020/lib/core/services/user-service/user-service.mjs +5 -1
- package/fesm2015/iptdevs-design-system.mjs +4 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +4 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/services/user-service/user-service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -989,6 +989,10 @@ class UserService extends IPTGeneralService {
|
|
|
989
989
|
this.generateRequestParams(params);
|
|
990
990
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
991
991
|
}
|
|
992
|
+
searchForUserByCode(codeUser) {
|
|
993
|
+
let serviceUrl = this.SERVICE_URL + 'search/for/user/by/code/' + codeUser;
|
|
994
|
+
return this.http.get(serviceUrl);
|
|
995
|
+
}
|
|
992
996
|
}
|
|
993
997
|
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
994
998
|
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
|