iptdevs-design-system 3.2.158 → 3.2.160

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' });
@@ -4530,6 +4535,16 @@ class CommercialService extends IPTGeneralService {
4530
4535
  this.generateRequestParams(request);
4531
4536
  return this.http.get(serviceUrl, this.httpOptions);
4532
4537
  }
4538
+ getTransactionCommissionsByCode(request) {
4539
+ const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code`;
4540
+ this.generateRequestParams(request);
4541
+ return this.http.get(serviceUrl, this.httpOptions);
4542
+ }
4543
+ cancellTransactionBill(params) {
4544
+ const serviceUrl = this.SERVICE_URL + 'commissions/cancell/transaction/bill';
4545
+ this.generateRequestParams(params);
4546
+ return this.http.post(serviceUrl, this.httpOptions);
4547
+ }
4533
4548
  }
4534
4549
  CommercialService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
4535
4550
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });