iptdevs-design-system 3.2.79 → 3.2.81
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/core.module.mjs +4 -1
- package/esm2020/lib/core/models/commercial/commercial.model.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +7 -22
- package/fesm2015/iptdevs-design-system.mjs +8 -21
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +8 -21
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +14 -24
- package/lib/core/services/commercial-service/comercial.service.d.ts +3 -6
- package/package.json +1 -1
|
@@ -4283,7 +4283,12 @@ class CommercialService extends IPTGeneralService {
|
|
|
4283
4283
|
return this.http.get(serviceUrl, this.httpOptions);
|
|
4284
4284
|
}
|
|
4285
4285
|
payCommissions(params) {
|
|
4286
|
-
const serviceUrl = this.SERVICE_URL + '
|
|
4286
|
+
const serviceUrl = this.SERVICE_URL + 'commissions/pay/cods';
|
|
4287
|
+
this.generateRequestParams(params);
|
|
4288
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4289
|
+
}
|
|
4290
|
+
payAdvisorBonuses(params) {
|
|
4291
|
+
const serviceUrl = this.SERVICE_URL + 'commissions/pay/bonuses';
|
|
4287
4292
|
this.generateRequestParams(params);
|
|
4288
4293
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
4289
4294
|
}
|
|
@@ -4348,16 +4353,6 @@ class CommercialService extends IPTGeneralService {
|
|
|
4348
4353
|
this.generateRequestParams(code);
|
|
4349
4354
|
return this.http.get(serviceUrl);
|
|
4350
4355
|
}
|
|
4351
|
-
createCondition(request) {
|
|
4352
|
-
const serviceUrl = this.SERVICE_URL + 'post/create/commission-condition';
|
|
4353
|
-
this.generateRequestParams(request);
|
|
4354
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
4355
|
-
}
|
|
4356
|
-
updateCondition(request, code) {
|
|
4357
|
-
const serviceUrl = this.SERVICE_URL + `put/update/commission-condition/${code}`;
|
|
4358
|
-
this.generateRequestParams(request);
|
|
4359
|
-
return this.http.put(serviceUrl, this.httpOptions);
|
|
4360
|
-
}
|
|
4361
4356
|
deleteCondition(request, code) {
|
|
4362
4357
|
const serviceUrl = this.SERVICE_URL + `delete/commission-condition/${code}`;
|
|
4363
4358
|
this.generateRequestParams(request);
|
|
@@ -4424,16 +4419,6 @@ class CommercialService extends IPTGeneralService {
|
|
|
4424
4419
|
this.generateRequestParams(request);
|
|
4425
4420
|
return this.http.get(serviceUrl, this.httpOptions);
|
|
4426
4421
|
}
|
|
4427
|
-
createCommissionConcept(params) {
|
|
4428
|
-
const serviceUrl = this.SERVICE_URL + 'post/create/commission/concept';
|
|
4429
|
-
this.generateRequestParams(params);
|
|
4430
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
4431
|
-
}
|
|
4432
|
-
updateCommissionConcept(params, code) {
|
|
4433
|
-
const serviceUrl = this.SERVICE_URL + `put/update/commission/concept/${code}`;
|
|
4434
|
-
this.generateRequestParams(params);
|
|
4435
|
-
return this.http.put(serviceUrl, this.httpOptions);
|
|
4436
|
-
}
|
|
4437
4422
|
updateTypeUserCommission(params, code) {
|
|
4438
4423
|
const serviceUrl = this.SERVICE_URL + `put/update/type/user/commission/${code}`;
|
|
4439
4424
|
this.generateRequestParams(params);
|
|
@@ -8548,6 +8533,7 @@ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14
|
|
|
8548
8533
|
BaseService,
|
|
8549
8534
|
TestService,
|
|
8550
8535
|
MarketingService,
|
|
8536
|
+
MediaService,
|
|
8551
8537
|
ClassroomService,
|
|
8552
8538
|
BudgetService,
|
|
8553
8539
|
ActivityService,
|
|
@@ -8574,6 +8560,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
8574
8560
|
BaseService,
|
|
8575
8561
|
TestService,
|
|
8576
8562
|
MarketingService,
|
|
8563
|
+
MediaService,
|
|
8577
8564
|
ClassroomService,
|
|
8578
8565
|
BudgetService,
|
|
8579
8566
|
ActivityService,
|