iptdevs-design-system 3.2.89 → 3.2.91

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.
@@ -3681,6 +3681,15 @@ class MediaService extends IPTGeneralService {
3681
3681
  formData.append('file', params.file);
3682
3682
  return this.http.post(serviceUrl, formData);
3683
3683
  }
3684
+ uploadDocumentTwo(params) {
3685
+ let serviceUrl = this.SERVICE_URL + 'document/upload';
3686
+ let formData = new FormData();
3687
+ formData.append('file', params.file);
3688
+ formData.append('code_student', params.code_student);
3689
+ formData.append('type_document', params.type_document);
3690
+ formData.append('token', params.token);
3691
+ return this.http.post(serviceUrl, formData);
3692
+ }
3684
3693
  }
3685
3694
  MediaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: MediaService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
3686
3695
  MediaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: MediaService, providedIn: 'root' });