iptdevs-design-system 3.2.152 → 3.2.154
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/course/courses.model.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +11 -1
- package/esm2020/lib/core/services/course-service/course-service.model.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 +10 -0
- package/lib/core/models/course/courses.model.d.ts +16 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +3 -1
- package/lib/core/services/course-service/course-service.model.d.ts +2 -1
- package/package.json +1 -1
|
@@ -4340,6 +4340,16 @@ class CommercialService extends IPTGeneralService {
|
|
|
4340
4340
|
this.generateRequestParams(params);
|
|
4341
4341
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
4342
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
|
+
}
|
|
4343
4353
|
getTransactionCommissionsByCode(request) {
|
|
4344
4354
|
const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code`;
|
|
4345
4355
|
this.generateRequestParams(request);
|
|
@@ -4992,6 +5002,11 @@ class CourseService extends IPTGeneralService {
|
|
|
4992
5002
|
this.generateRequestParams(params);
|
|
4993
5003
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
4994
5004
|
}
|
|
5005
|
+
getCourseTypeByPlanAndCampus(params) {
|
|
5006
|
+
let serviceUrl = this.SERVICE_URL + 'get/course/by/plan/campus';
|
|
5007
|
+
this.generateRequestParams(params);
|
|
5008
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
5009
|
+
}
|
|
4995
5010
|
}
|
|
4996
5011
|
CourseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4997
5012
|
CourseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, providedIn: 'root' });
|