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.
- 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/commercial-service/comercial.service.mjs +11 -1
- package/esm2020/lib/core/services/user-service/user-service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +15 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +15 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +11 -0
- package/lib/core/models/user/user-rq.model.d.ts +25 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +3 -1
- 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' });
|
|
@@ -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' });
|