iptdevs-design-system 3.2.82 → 3.2.84
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/models/media/media.interfaces.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +7 -2
- package/esm2020/lib/core/services/media-service/media.service.mjs +3 -2
- package/fesm2015/iptdevs-design-system.mjs +8 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +8 -2
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +13 -8
- package/lib/core/models/media/media.interfaces.d.ts +2 -1
- package/lib/core/services/commercial-service/comercial.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3676,7 +3676,8 @@ class MediaService extends IPTGeneralService {
|
|
|
3676
3676
|
const serviceUrl = this.SERVICE_URL + 'document/upload';
|
|
3677
3677
|
const formData = new FormData();
|
|
3678
3678
|
formData.append('params[token]', params.token);
|
|
3679
|
-
formData.append('params[
|
|
3679
|
+
formData.append('params[code_student]', params.code_student.toString());
|
|
3680
|
+
formData.append('params[type_document]', params.type_document.toString());
|
|
3680
3681
|
if (params.file) {
|
|
3681
3682
|
formData.append('file', params.file, params.file.name);
|
|
3682
3683
|
}
|
|
@@ -4399,7 +4400,7 @@ class CommercialService extends IPTGeneralService {
|
|
|
4399
4400
|
assignSubordinateToManager(params) {
|
|
4400
4401
|
const serviceUrl = this.SERVICE_URL + 'post/team/member';
|
|
4401
4402
|
this.generateRequestParams(params);
|
|
4402
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
4403
|
+
return this.http.post(serviceUrl, params, this.httpOptions);
|
|
4403
4404
|
}
|
|
4404
4405
|
removeSubordinateFromManager(params) {
|
|
4405
4406
|
const serviceUrl = this.SERVICE_URL + 'delete/team/member';
|
|
@@ -4424,6 +4425,11 @@ class CommercialService extends IPTGeneralService {
|
|
|
4424
4425
|
this.generateRequestParams(params);
|
|
4425
4426
|
return this.http.put(serviceUrl, this.httpOptions);
|
|
4426
4427
|
}
|
|
4428
|
+
getSubordinatesByManager(request, managerCode) {
|
|
4429
|
+
const serviceUrl = this.SERVICE_URL + `get/team/by/manager/${managerCode}`;
|
|
4430
|
+
this.generateRequestParams(request);
|
|
4431
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
4432
|
+
}
|
|
4427
4433
|
}
|
|
4428
4434
|
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
4435
|
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
|