iptdevs-design-system 3.2.84 → 3.2.86
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 +8 -2
- package/fesm2015/iptdevs-design-system.mjs +7 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +7 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +4 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -4286,7 +4286,7 @@ class CommercialService extends IPTGeneralService {
|
|
|
4286
4286
|
payCommissions(params) {
|
|
4287
4287
|
const serviceUrl = this.SERVICE_URL + 'commissions/pay/cods';
|
|
4288
4288
|
this.generateRequestParams(params);
|
|
4289
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
4289
|
+
return this.http.post(serviceUrl, params, this.httpOptions);
|
|
4290
4290
|
}
|
|
4291
4291
|
payAdvisorBonuses(params) {
|
|
4292
4292
|
const serviceUrl = this.SERVICE_URL + 'commissions/pay/bonuses';
|
|
@@ -4410,6 +4410,12 @@ class CommercialService extends IPTGeneralService {
|
|
|
4410
4410
|
};
|
|
4411
4411
|
return this.http.delete(serviceUrl, options);
|
|
4412
4412
|
}
|
|
4413
|
+
massAssignSubordinates(params) {
|
|
4414
|
+
const serviceUrl = this.SERVICE_URL + 'post/team/members/massive'; // Nueva ruta API
|
|
4415
|
+
this.generateRequestParams(params);
|
|
4416
|
+
// Enviamos el cuerpo (params) y las opciones (headers)
|
|
4417
|
+
return this.http.post(serviceUrl, params, this.httpOptions);
|
|
4418
|
+
}
|
|
4413
4419
|
getUsersForCommissionManagement(request) {
|
|
4414
4420
|
const serviceUrl = this.SERVICE_URL + 'get/users/for-management';
|
|
4415
4421
|
this.generateRequestParams(request);
|