iptdevs-design-system 3.2.62 → 3.2.65

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.
@@ -4304,7 +4304,11 @@ class CommercialService extends IPTGeneralService {
4304
4304
  deleteConditionFromRule(request, conditionId) {
4305
4305
  const serviceUrl = this.SERVICE_URL + `delete/rule-condition/${conditionId}`;
4306
4306
  this.generateRequestParams(request);
4307
- return this.http.delete(serviceUrl, this.httpOptions);
4307
+ const options = {
4308
+ headers: this.httpOptions.headers,
4309
+ params: this.httpOptions.params
4310
+ };
4311
+ return this.http.delete(serviceUrl, options);
4308
4312
  }
4309
4313
  updateTypePayment(request, code) {
4310
4314
  const serviceUrl = this.SERVICE_URL + `put/update/type-payment-commission/${code}`;
@@ -4314,12 +4318,20 @@ class CommercialService extends IPTGeneralService {
4314
4318
  deleteTypePayment(request, code) {
4315
4319
  const serviceUrl = this.SERVICE_URL + `delete/type-payment-commission/${code}`;
4316
4320
  this.generateRequestParams(request);
4317
- return this.http.delete(serviceUrl, this.httpOptions);
4321
+ const options = {
4322
+ headers: this.httpOptions.headers,
4323
+ params: this.httpOptions.params
4324
+ };
4325
+ return this.http.delete(serviceUrl, options);
4318
4326
  }
4319
4327
  deletePaymentAreaCommission(request, code) {
4320
4328
  const serviceUrl = this.SERVICE_URL + `delete/payment-area-commission/${code}`;
4321
4329
  this.generateRequestParams(request);
4322
- return this.http.delete(serviceUrl, this.httpOptions);
4330
+ const options = {
4331
+ headers: this.httpOptions.headers,
4332
+ params: this.httpOptions.params
4333
+ };
4334
+ return this.http.delete(serviceUrl, options);
4323
4335
  }
4324
4336
  obtainPreassignedCoursesAndStudentEnrollmentStatus(code) {
4325
4337
  let serviceUrl = this.SERVICE_URL + 'obtain/preassigned/courses/student/enrollment/status/' + code;
@@ -4339,7 +4351,11 @@ class CommercialService extends IPTGeneralService {
4339
4351
  deleteCondition(request, code) {
4340
4352
  const serviceUrl = this.SERVICE_URL + `delete/commission-condition/${code}`;
4341
4353
  this.generateRequestParams(request);
4342
- return this.http.delete(serviceUrl, this.httpOptions);
4354
+ const options = {
4355
+ headers: this.httpOptions.headers,
4356
+ params: this.httpOptions.params
4357
+ };
4358
+ return this.http.delete(serviceUrl, options);
4343
4359
  }
4344
4360
  renewStudentsToNextLevel(request) {
4345
4361
  const serviceUrl = this.SERVICE_URL + `post/cod/and/renewal/by/courses`;
@@ -4393,6 +4409,26 @@ class CommercialService extends IPTGeneralService {
4393
4409
  this.generateRequestParams(request);
4394
4410
  return this.http.get(serviceUrl, this.httpOptions);
4395
4411
  }
4412
+ getAllCommissionConcepts(request) {
4413
+ const serviceUrl = this.SERVICE_URL + 'get/all/commission/concepts';
4414
+ this.generateRequestParams(request);
4415
+ return this.http.get(serviceUrl, this.httpOptions);
4416
+ }
4417
+ createCommissionConcept(params) {
4418
+ const serviceUrl = this.SERVICE_URL + 'post/create/commission/concept';
4419
+ this.generateRequestParams(params);
4420
+ return this.http.post(serviceUrl, this.httpOptions);
4421
+ }
4422
+ updateCommissionConcept(params, code) {
4423
+ const serviceUrl = this.SERVICE_URL + `put/update/commission/concept/${code}`;
4424
+ this.generateRequestParams(params);
4425
+ return this.http.put(serviceUrl, this.httpOptions);
4426
+ }
4427
+ updateTypeUserCommission(params, code) {
4428
+ const serviceUrl = this.SERVICE_URL + `put/update/type/user/commission/${code}`;
4429
+ this.generateRequestParams(params);
4430
+ return this.http.put(serviceUrl, this.httpOptions);
4431
+ }
4396
4432
  }
4397
4433
  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 });
4398
4434
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });