@brggroup/share-lib 0.0.48 → 0.0.49

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.
@@ -419,6 +419,18 @@ class CommonService extends HTTPService {
419
419
  observe: 'response',
420
420
  }));
421
421
  }
422
+ ExportPdf(data) {
423
+ return firstValueFrom(this.httpClient.post(AppGlobals.apiEndpoint + '/api/Common/ExportPdf', data, {
424
+ responseType: ENUM_ResponseType.BLOB,
425
+ observe: 'response',
426
+ }));
427
+ }
428
+ ExportDocx(data) {
429
+ return firstValueFrom(this.httpClient.post(AppGlobals.apiEndpoint + '/api/Common/ExportDocx', data, {
430
+ responseType: ENUM_ResponseType.BLOB,
431
+ observe: 'response',
432
+ }));
433
+ }
422
434
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: CommonService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
423
435
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: CommonService, providedIn: 'root' });
424
436
  }