iptdevs-design-system 3.2.151 → 3.2.152
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/services/commercial-service/comercial.service.mjs +2 -2
- package/esm2020/lib/core/services/user-service/user-service.mjs +5 -1
- package/fesm2015/iptdevs-design-system.mjs +5 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +5 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +1 -2
- package/lib/core/services/user-service/user-service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1015,6 +1015,10 @@ class UserService extends IPTGeneralService {
|
|
|
1015
1015
|
let serviceUrl = this.SERVICE_URL + 'get/all/system/users';
|
|
1016
1016
|
return this.http.get(serviceUrl);
|
|
1017
1017
|
}
|
|
1018
|
+
obtainTeachersAvailableByCampus(code_campus) {
|
|
1019
|
+
let serviceUrl = this.SERVICE_URL + 'obtain/teachers/available/by/campus/' + code_campus;
|
|
1020
|
+
return this.http.get(serviceUrl);
|
|
1021
|
+
}
|
|
1018
1022
|
}
|
|
1019
1023
|
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 });
|
|
1020
1024
|
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
@@ -4383,7 +4387,7 @@ class CommercialService extends IPTGeneralService {
|
|
|
4383
4387
|
editConditionToRule(request) {
|
|
4384
4388
|
const serviceUrl = this.SERVICE_URL + `put/edit/condition/rule`;
|
|
4385
4389
|
this.generateRequestParams(request);
|
|
4386
|
-
return this.http.
|
|
4390
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4387
4391
|
}
|
|
4388
4392
|
deleteConditionFromRule(request, conditionId) {
|
|
4389
4393
|
const serviceUrl = this.SERVICE_URL + `delete/rule-condition/${conditionId}`;
|