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.
@@ -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' });