iptdevs-design-system 3.2.158 → 3.2.159
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/models/commercial/commercial.model.mjs +1 -1
- package/esm2020/lib/core/models/user/user-rq.model.mjs +1 -1
- package/esm2020/lib/core/services/user-service/user-service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +5 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +5 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +1 -0
- package/lib/core/models/user/user-rq.model.d.ts +25 -0
- package/lib/core/services/user-service/user-service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1019,6 +1019,11 @@ class UserService extends IPTGeneralService {
|
|
|
1019
1019
|
let serviceUrl = this.SERVICE_URL + 'obtain/teachers/available/by/campus/' + code_campus;
|
|
1020
1020
|
return this.http.get(serviceUrl);
|
|
1021
1021
|
}
|
|
1022
|
+
getByRoleUserAndCampus(params) {
|
|
1023
|
+
let serviceUrl = this.SERVICE_URL + 'post/obtain/by/role/user/and/campus';
|
|
1024
|
+
this.generateRequestParams(params);
|
|
1025
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1026
|
+
}
|
|
1022
1027
|
}
|
|
1023
1028
|
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 });
|
|
1024
1029
|
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
|