iptdevs-design-system 3.2.156 → 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.
- package/esm2020/lib/core/models/commercial/commercial.model.mjs +1 -1
- package/esm2020/lib/core/models/parameters/parameters-rs.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 +1 -11
- package/esm2020/lib/core/services/parameters-service/parameters.service.mjs +6 -1
- package/esm2020/lib/core/services/user-service/user-service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +10 -10
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -10
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +141 -15
- package/lib/core/models/parameters/parameters-rs.model.d.ts +19 -0
- package/lib/core/models/user/user-rq.model.d.ts +25 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +1 -3
- package/lib/core/services/parameters-service/parameters.service.d.ts +2 -0
- 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' });
|
|
@@ -1655,6 +1660,11 @@ class ParameterService extends IPTGeneralService {
|
|
|
1655
1660
|
let serviceUrl = this.SERVICE_URL + 'obtain/all/types/of/documents/in/col';
|
|
1656
1661
|
return this.http.get(serviceUrl);
|
|
1657
1662
|
}
|
|
1663
|
+
getClassRoomByCampusAndModality(params) {
|
|
1664
|
+
let serviceUrl = this.SERVICE_URL + 'get/classroom/by/campus/and/modality';
|
|
1665
|
+
this.generateRequestParams(params);
|
|
1666
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
1667
|
+
}
|
|
1658
1668
|
}
|
|
1659
1669
|
ParameterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ParameterService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1660
1670
|
ParameterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ParameterService, providedIn: 'root' });
|
|
@@ -4350,21 +4360,11 @@ class CommercialService extends IPTGeneralService {
|
|
|
4350
4360
|
this.generateRequestParams(request);
|
|
4351
4361
|
return this.http.get(serviceUrl, this.httpOptions);
|
|
4352
4362
|
}
|
|
4353
|
-
getTransactionCommissionsByCode(request) {
|
|
4354
|
-
const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code`;
|
|
4355
|
-
this.generateRequestParams(request);
|
|
4356
|
-
return this.http.get(serviceUrl, this.httpOptions);
|
|
4357
|
-
}
|
|
4358
4363
|
seeTransactionBill(request) {
|
|
4359
4364
|
const serviceUrl = this.SERVICE_URL + `commissions/see/transaction/bill`;
|
|
4360
4365
|
this.generateRequestParams(request);
|
|
4361
4366
|
return this.http.get(serviceUrl, this.httpOptions);
|
|
4362
4367
|
}
|
|
4363
|
-
cancellTransactionBill(params) {
|
|
4364
|
-
const serviceUrl = this.SERVICE_URL + 'commissions/cancell/transaction/bill';
|
|
4365
|
-
this.generateRequestParams(params);
|
|
4366
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
4367
|
-
}
|
|
4368
4368
|
payAdvisorBonuses(params) {
|
|
4369
4369
|
const serviceUrl = this.SERVICE_URL + 'commissions/pay/bonuses';
|
|
4370
4370
|
this.generateRequestParams(params);
|