iptdevs-design-system 3.2.39 → 3.2.42

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.
@@ -4282,6 +4282,26 @@ class CommercialService extends IPTGeneralService {
4282
4282
  this.generateRequestParams(request);
4283
4283
  return this.http.get(serviceUrl, this.httpOptions);
4284
4284
  }
4285
+ getAllConditions(request) {
4286
+ const serviceUrl = this.SERVICE_URL + 'commissions/conditions';
4287
+ this.generateRequestParams(request);
4288
+ return this.http.get(serviceUrl, this.httpOptions);
4289
+ }
4290
+ getAllAgreements(request) {
4291
+ const serviceUrl = this.SERVICE_URL + 'commissions/agreements';
4292
+ this.generateRequestParams(request);
4293
+ return this.http.get(serviceUrl, this.httpOptions);
4294
+ }
4295
+ addConditionToRule(request, ruleCode) {
4296
+ const serviceUrl = this.SERVICE_URL + `commission-rules/${ruleCode}/conditions`;
4297
+ this.generateRequestParams(request);
4298
+ return this.http.post(serviceUrl, this.httpOptions);
4299
+ }
4300
+ deleteConditionFromRule(request, conditionId) {
4301
+ const serviceUrl = this.SERVICE_URL + `commission-rule-conditions/${conditionId}`;
4302
+ this.generateRequestParams(request);
4303
+ return this.http.delete(serviceUrl, this.httpOptions);
4304
+ }
4285
4305
  }
4286
4306
  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 });
4287
4307
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
@@ -4725,7 +4745,7 @@ class CourseService extends IPTGeneralService {
4725
4745
  return this.http.get(serviceUrl, this.httpOptions);
4726
4746
  }
4727
4747
  getAvailableCoursesTheRenovationByCourse(params) {
4728
- let serviceUrl = this.SERVICE_URL + 'post/disable/course/as/before/cod/by/course';
4748
+ let serviceUrl = this.SERVICE_URL + 'obtain/courses/for/the/renewal/course';
4729
4749
  this.generateRequestParams(params);
4730
4750
  return this.http.post(serviceUrl, this.httpOptions);
4731
4751
  }