iptdevs-design-system 3.2.82 → 3.2.83

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.
@@ -4399,7 +4399,7 @@ class CommercialService extends IPTGeneralService {
4399
4399
  assignSubordinateToManager(params) {
4400
4400
  const serviceUrl = this.SERVICE_URL + 'post/team/member';
4401
4401
  this.generateRequestParams(params);
4402
- return this.http.post(serviceUrl, this.httpOptions);
4402
+ return this.http.post(serviceUrl, params, this.httpOptions);
4403
4403
  }
4404
4404
  removeSubordinateFromManager(params) {
4405
4405
  const serviceUrl = this.SERVICE_URL + 'delete/team/member';
@@ -4424,6 +4424,11 @@ class CommercialService extends IPTGeneralService {
4424
4424
  this.generateRequestParams(params);
4425
4425
  return this.http.put(serviceUrl, this.httpOptions);
4426
4426
  }
4427
+ getSubordinatesByManager(request, managerCode) {
4428
+ const serviceUrl = this.SERVICE_URL + `get/team/by/manager/${managerCode}`;
4429
+ this.generateRequestParams(request);
4430
+ return this.http.get(serviceUrl, this.httpOptions);
4431
+ }
4427
4432
  }
4428
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 });
4429
4434
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });