@experteam-mx/ngx-services 20.10.8 → 20.10.9
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.
|
@@ -5044,6 +5044,18 @@ class ApiSecurityService {
|
|
|
5044
5044
|
return this.http.get(`${this.url}/roles`, { params })
|
|
5045
5045
|
.pipe(map(({ data }) => data));
|
|
5046
5046
|
}
|
|
5047
|
+
/**
|
|
5048
|
+
* Downloads a PDF export of roles filtered by the provided query parameters (no pagination).
|
|
5049
|
+
*
|
|
5050
|
+
* @param {QueryParams} params - Filter query parameters mirroring the roles list (without limit/offset).
|
|
5051
|
+
* @return {Observable<Blob>} An observable that emits the PDF file blob.
|
|
5052
|
+
*/
|
|
5053
|
+
getRolesExportPdf(params) {
|
|
5054
|
+
return this.http.get(`${this.url}/roles/exportPdf`, {
|
|
5055
|
+
params,
|
|
5056
|
+
responseType: 'blob'
|
|
5057
|
+
});
|
|
5058
|
+
}
|
|
5047
5059
|
/**
|
|
5048
5060
|
* Retrieves roles by the specified ID.
|
|
5049
5061
|
*
|