iptdevs-design-system 3.1.34 → 3.1.36

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.
@@ -2616,6 +2616,21 @@ class CommercialService extends IPTGeneralService {
2616
2616
  this.generateRequestParams(token);
2617
2617
  return this.http.post(serviceUrl, this.httpOptions);
2618
2618
  }
2619
+ createDocument(params) {
2620
+ let serviceUrl = this.SERVICE_URL + 'post/media/document';
2621
+ let formData = new FormData();
2622
+ formData.append('file', params.file);
2623
+ formData.append('user_autor', params.user_autor);
2624
+ formData.append('code_user', params.code_user);
2625
+ formData.append('type_document', params.type_document);
2626
+ formData.append('token', params.token);
2627
+ return this.http.post(serviceUrl, formData);
2628
+ }
2629
+ getDocumentsByStudent(params) {
2630
+ let serviceUrl = this.SERVICE_URL + 'get/media/document/user';
2631
+ this.generateRequestParams(params);
2632
+ return this.http.post(serviceUrl, this.httpOptions);
2633
+ }
2619
2634
  }
2620
2635
  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 });
2621
2636
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
@@ -5150,6 +5165,11 @@ class NotesService extends IPTGeneralService {
5150
5165
  this.generateRequestParams(params);
5151
5166
  return this.http.put(serviceUrl, this.httpOptions);
5152
5167
  }
5168
+ getNotesByCourseExcel(params) {
5169
+ const serviceUrl = this.SERVICE_URL + 'post/notes/by/course/export';
5170
+ this.generateRequestParams(params);
5171
+ return this.http.post(serviceUrl, this.httpOptions);
5172
+ }
5153
5173
  }
5154
5174
  NotesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: NotesService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
5155
5175
  NotesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: NotesService, providedIn: 'root' });