iptdevs-design-system 3.2.151 → 3.2.153

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.
@@ -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' });
@@ -4336,6 +4340,16 @@ class CommercialService extends IPTGeneralService {
4336
4340
  this.generateRequestParams(params);
4337
4341
  return this.http.post(serviceUrl, this.httpOptions);
4338
4342
  }
4343
+ addDevolutionCommission(params) {
4344
+ const serviceUrl = this.SERVICE_URL + 'commissions/add/devolution/commission';
4345
+ this.generateRequestParams(params);
4346
+ return this.http.post(serviceUrl, this.httpOptions);
4347
+ }
4348
+ obtainTransactionsByStatus(request) {
4349
+ const serviceUrl = this.SERVICE_URL + `get/transactions/by/user/and/status`;
4350
+ this.generateRequestParams(request);
4351
+ return this.http.get(serviceUrl, this.httpOptions);
4352
+ }
4339
4353
  getTransactionCommissionsByCode(request) {
4340
4354
  const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code`;
4341
4355
  this.generateRequestParams(request);
@@ -4383,7 +4397,7 @@ class CommercialService extends IPTGeneralService {
4383
4397
  editConditionToRule(request) {
4384
4398
  const serviceUrl = this.SERVICE_URL + `put/edit/condition/rule`;
4385
4399
  this.generateRequestParams(request);
4386
- return this.http.put(serviceUrl, this.httpOptions);
4400
+ return this.http.post(serviceUrl, this.httpOptions);
4387
4401
  }
4388
4402
  deleteConditionFromRule(request, conditionId) {
4389
4403
  const serviceUrl = this.SERVICE_URL + `delete/rule-condition/${conditionId}`;