iptdevs-design-system 3.2.48 → 3.2.50

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.
@@ -4287,37 +4287,37 @@ class CommercialService extends IPTGeneralService {
4287
4287
  return this.http.get(serviceUrl, this.httpOptions);
4288
4288
  }
4289
4289
  getAllConditions(request) {
4290
- const serviceUrl = this.SERVICE_URL + 'commissions/conditions';
4290
+ const serviceUrl = this.SERVICE_URL + 'get/all/commission-conditions';
4291
4291
  this.generateRequestParams(request);
4292
4292
  return this.http.get(serviceUrl, this.httpOptions);
4293
4293
  }
4294
4294
  getAllAgreements(request) {
4295
- const serviceUrl = this.SERVICE_URL + 'commissions/agreements';
4295
+ const serviceUrl = this.SERVICE_URL + 'get/all/agreements';
4296
4296
  this.generateRequestParams(request);
4297
4297
  return this.http.get(serviceUrl, this.httpOptions);
4298
4298
  }
4299
4299
  addConditionToRule(request, ruleCode) {
4300
- const serviceUrl = this.SERVICE_URL + `commission-rules/${ruleCode}/conditions`;
4300
+ const serviceUrl = this.SERVICE_URL + `post/add/condition/to-rule/${ruleCode}`;
4301
4301
  this.generateRequestParams(request);
4302
4302
  return this.http.post(serviceUrl, this.httpOptions);
4303
4303
  }
4304
4304
  deleteConditionFromRule(request, conditionId) {
4305
- const serviceUrl = this.SERVICE_URL + `commission-rule-conditions/${conditionId}`;
4305
+ const serviceUrl = this.SERVICE_URL + `delete/rule-condition/${conditionId}`;
4306
4306
  this.generateRequestParams(request);
4307
4307
  return this.http.delete(serviceUrl, this.httpOptions);
4308
4308
  }
4309
4309
  updateTypePayment(request, code) {
4310
- const serviceUrl = this.SERVICE_URL + `type-payment-commissions/${code}`;
4310
+ const serviceUrl = this.SERVICE_URL + `put/update/type-payment-commission/${code}`;
4311
4311
  this.generateRequestParams(request);
4312
4312
  return this.http.put(serviceUrl, this.httpOptions);
4313
4313
  }
4314
4314
  deleteTypePayment(request, code) {
4315
- const serviceUrl = this.SERVICE_URL + `type-payment-commissions/${code}`;
4315
+ const serviceUrl = this.SERVICE_URL + `delete/type-payment-commission/${code}`;
4316
4316
  this.generateRequestParams(request);
4317
4317
  return this.http.delete(serviceUrl, this.httpOptions);
4318
4318
  }
4319
4319
  deletePaymentAreaCommission(request, code) {
4320
- const serviceUrl = this.SERVICE_URL + `payment-area-commissions/${code}`;
4320
+ const serviceUrl = this.SERVICE_URL + `delete/payment-area-commission/${code}`;
4321
4321
  this.generateRequestParams(request);
4322
4322
  return this.http.delete(serviceUrl, this.httpOptions);
4323
4323
  }
@@ -4327,17 +4327,17 @@ class CommercialService extends IPTGeneralService {
4327
4327
  return this.http.get(serviceUrl);
4328
4328
  }
4329
4329
  createCondition(request) {
4330
- const serviceUrl = this.SERVICE_URL + 'commission-conditions';
4330
+ const serviceUrl = this.SERVICE_URL + 'post/create/commission-condition';
4331
4331
  this.generateRequestParams(request);
4332
4332
  return this.http.post(serviceUrl, this.httpOptions);
4333
4333
  }
4334
4334
  updateCondition(request, code) {
4335
- const serviceUrl = this.SERVICE_URL + `commission-conditions/${code}`;
4335
+ const serviceUrl = this.SERVICE_URL + `put/update/commission-condition/${code}`;
4336
4336
  this.generateRequestParams(request);
4337
4337
  return this.http.put(serviceUrl, this.httpOptions);
4338
4338
  }
4339
4339
  deleteCondition(request, code) {
4340
- const serviceUrl = this.SERVICE_URL + `commission-conditions/${code}`;
4340
+ const serviceUrl = this.SERVICE_URL + `delete/commission-condition/${code}`;
4341
4341
  this.generateRequestParams(request);
4342
4342
  return this.http.delete(serviceUrl, this.httpOptions);
4343
4343
  }