@experteam-mx/ngx-services 20.10.3 → 20.10.4
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/.npmignore
ADDED
|
@@ -1904,13 +1904,13 @@ class ApiCompaniesService {
|
|
|
1904
1904
|
.pipe(map(({ data }) => data));
|
|
1905
1905
|
}
|
|
1906
1906
|
/**
|
|
1907
|
-
* Exports the filtered employees list as
|
|
1907
|
+
* Exports the filtered employees list as an Excel file.
|
|
1908
1908
|
*
|
|
1909
1909
|
* @param {QueryParams} params - Query parameters used to filter the employees included in the export.
|
|
1910
|
-
* @return {Observable<HttpResponse<ArrayBuffer>>} An observable that emits the HTTP response containing the
|
|
1910
|
+
* @return {Observable<HttpResponse<ArrayBuffer>>} An observable that emits the HTTP response containing the Excel file as an ArrayBuffer.
|
|
1911
1911
|
*/
|
|
1912
|
-
|
|
1913
|
-
return this.http.get(`${this.url}/employees/
|
|
1912
|
+
getEmployeesExportData(params) {
|
|
1913
|
+
return this.http.get(`${this.url}/employees/exportData`, {
|
|
1914
1914
|
params,
|
|
1915
1915
|
observe: 'response',
|
|
1916
1916
|
responseType: 'arraybuffer'
|