@experteam-mx/ngx-services 20.9.5 → 20.9.6-dev3.1
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/index.d.ts
CHANGED
|
@@ -2533,6 +2533,8 @@ interface Role extends LaravelModel {
|
|
|
2533
2533
|
regional_country_id: number | null;
|
|
2534
2534
|
role_type: RoleType;
|
|
2535
2535
|
permissions?: Permission[];
|
|
2536
|
+
company: string;
|
|
2537
|
+
country_code: string;
|
|
2536
2538
|
}
|
|
2537
2539
|
interface RoleType extends LaravelModel {
|
|
2538
2540
|
name: string;
|
|
@@ -3558,6 +3560,13 @@ declare class ApiCompaniesService {
|
|
|
3558
3560
|
* @return {Observable<{}>} An observable containing the response data after the employee is deleted.
|
|
3559
3561
|
*/
|
|
3560
3562
|
deleteEmployee(id: number): Observable<{}>;
|
|
3563
|
+
/**
|
|
3564
|
+
* Exports the filtered employees list as a PDF file.
|
|
3565
|
+
*
|
|
3566
|
+
* @param {QueryParams} params - Query parameters used to filter the employees included in the export.
|
|
3567
|
+
* @return {Observable<HttpResponse<ArrayBuffer>>} An observable that emits the HTTP response containing the PDF as an ArrayBuffer.
|
|
3568
|
+
*/
|
|
3569
|
+
getEmployeesExportPdf(params: QueryParams): Observable<HttpResponse<ArrayBuffer>>;
|
|
3561
3570
|
/**
|
|
3562
3571
|
* Retrieves the list of employees for a specified location based on provided query parameters.
|
|
3563
3572
|
*
|
|
@@ -8619,6 +8628,13 @@ declare class ApiSecurityService {
|
|
|
8619
8628
|
* @returns {Observable<RoleIn[]>} An observable that emits an array of role permissions.
|
|
8620
8629
|
*/
|
|
8621
8630
|
getRoles(params: QueryParams): Observable<RolesOut>;
|
|
8631
|
+
/**
|
|
8632
|
+
* Downloads a PDF export of roles filtered by the provided query parameters (no pagination).
|
|
8633
|
+
*
|
|
8634
|
+
* @param {QueryParams} params - Filter query parameters mirroring the roles list (without limit/offset).
|
|
8635
|
+
* @return {Observable<Blob>} An observable that emits the PDF file blob.
|
|
8636
|
+
*/
|
|
8637
|
+
getRolesExportPdf(params: QueryParams): Observable<Blob>;
|
|
8622
8638
|
/**
|
|
8623
8639
|
* Retrieves roles by the specified ID.
|
|
8624
8640
|
*
|