iptdevs-design-system 3.2.43 → 3.2.45
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/services/commercial-service/comercial.service.mjs +31 -1
- package/fesm2015/iptdevs-design-system.mjs +30 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +30 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +19 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +7 -1
- package/package.json +1 -1
|
@@ -4302,11 +4302,41 @@ class CommercialService extends IPTGeneralService {
|
|
|
4302
4302
|
this.generateRequestParams(request);
|
|
4303
4303
|
return this.http.delete(serviceUrl, this.httpOptions);
|
|
4304
4304
|
}
|
|
4305
|
+
updateTypePayment(request, code) {
|
|
4306
|
+
const serviceUrl = this.SERVICE_URL + `type-payment-commissions/${code}`;
|
|
4307
|
+
this.generateRequestParams(request);
|
|
4308
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
4309
|
+
}
|
|
4310
|
+
deleteTypePayment(request, code) {
|
|
4311
|
+
const serviceUrl = this.SERVICE_URL + `type-payment-commissions/${code}`;
|
|
4312
|
+
this.generateRequestParams(request);
|
|
4313
|
+
return this.http.delete(serviceUrl, this.httpOptions);
|
|
4314
|
+
}
|
|
4315
|
+
deletePaymentAreaCommission(request, code) {
|
|
4316
|
+
const serviceUrl = this.SERVICE_URL + `payment-area-commissions/${code}`;
|
|
4317
|
+
this.generateRequestParams(request);
|
|
4318
|
+
return this.http.delete(serviceUrl, this.httpOptions);
|
|
4319
|
+
}
|
|
4305
4320
|
obtainPreassignedCoursesAndStudentEnrollmentStatus(code) {
|
|
4306
4321
|
let serviceUrl = this.SERVICE_URL + 'obtain/preassigned/courses/student/enrollment/status/' + code;
|
|
4307
4322
|
this.generateRequestParams(code);
|
|
4308
4323
|
return this.http.get(serviceUrl);
|
|
4309
4324
|
}
|
|
4325
|
+
createCondition(request) {
|
|
4326
|
+
const serviceUrl = this.SERVICE_URL + 'commission-conditions';
|
|
4327
|
+
this.generateRequestParams(request);
|
|
4328
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4329
|
+
}
|
|
4330
|
+
updateCondition(request, code) {
|
|
4331
|
+
const serviceUrl = this.SERVICE_URL + `commission-conditions/${code}`;
|
|
4332
|
+
this.generateRequestParams(request);
|
|
4333
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
4334
|
+
}
|
|
4335
|
+
deleteCondition(request, code) {
|
|
4336
|
+
const serviceUrl = this.SERVICE_URL + `commission-conditions/${code}`;
|
|
4337
|
+
this.generateRequestParams(request);
|
|
4338
|
+
return this.http.delete(serviceUrl, this.httpOptions);
|
|
4339
|
+
}
|
|
4310
4340
|
}
|
|
4311
4341
|
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 });
|
|
4312
4342
|
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
|