@experteam-mx/ngx-services 20.9.6-dev3.1 → 20.9.6
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.
|
@@ -1597,6 +1597,47 @@ class ApiCatalogsService {
|
|
|
1597
1597
|
return this.http.get(`${this.url}/upselling-indicator-methods/${id}`)
|
|
1598
1598
|
.pipe(map(({ data }) => data));
|
|
1599
1599
|
}
|
|
1600
|
+
/**
|
|
1601
|
+
* Retrieves all RPA shipment notifications.
|
|
1602
|
+
*
|
|
1603
|
+
* @param params Query parameters used to filter or paginate the RPA shipment notifications.
|
|
1604
|
+
* @returns Observable containing the list of RPA shipment notifications.
|
|
1605
|
+
*/
|
|
1606
|
+
getRpaShipmentNotifications(params) {
|
|
1607
|
+
return this.http.get(`${this.url}/rpa-shipment-notifications`, { params })
|
|
1608
|
+
.pipe(map(({ data }) => data));
|
|
1609
|
+
}
|
|
1610
|
+
/**
|
|
1611
|
+
* Retrieves an RPA shipment notification by its ID.
|
|
1612
|
+
*
|
|
1613
|
+
* @param id Unique identifier of the RPA shipment notification.
|
|
1614
|
+
* @returns Observable containing the requested RPA shipment notification.
|
|
1615
|
+
*/
|
|
1616
|
+
getRpaShipmentNotification(id) {
|
|
1617
|
+
return this.http.get(`${this.url}/rpa-shipment-notifications/${id}`)
|
|
1618
|
+
.pipe(map(({ data }) => data));
|
|
1619
|
+
}
|
|
1620
|
+
/**
|
|
1621
|
+
* Creates a new RPA shipment notification.
|
|
1622
|
+
*
|
|
1623
|
+
* @param body Data of the RPA shipment notification to create.
|
|
1624
|
+
* @returns Observable containing the created RPA shipment notification.
|
|
1625
|
+
*/
|
|
1626
|
+
postRpaShipmentNotification(body) {
|
|
1627
|
+
return this.http.post(`${this.url}/rpa-shipment-notifications`, body)
|
|
1628
|
+
.pipe(map(({ data }) => data));
|
|
1629
|
+
}
|
|
1630
|
+
/**
|
|
1631
|
+
* Updates an existing RPA shipment notification by its ID.
|
|
1632
|
+
*
|
|
1633
|
+
* @param id Unique identifier of the RPA shipment notification to update.
|
|
1634
|
+
* @param body Updated data of the RPA shipment notification.
|
|
1635
|
+
* @returns Observable containing the updated RPA shipment notification.
|
|
1636
|
+
*/
|
|
1637
|
+
putRpaShipmentNotification(id, body) {
|
|
1638
|
+
return this.http.put(`${this.url}/rpa-shipment-notifications/${id}`, body)
|
|
1639
|
+
.pipe(map(({ data }) => data));
|
|
1640
|
+
}
|
|
1600
1641
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCatalogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1601
1642
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCatalogsService, providedIn: 'root' });
|
|
1602
1643
|
}
|
|
@@ -1862,19 +1903,6 @@ class ApiCompaniesService {
|
|
|
1862
1903
|
return this.http.delete(`${this.url}/employees/${id}`)
|
|
1863
1904
|
.pipe(map(({ data }) => data));
|
|
1864
1905
|
}
|
|
1865
|
-
/**
|
|
1866
|
-
* Exports the filtered employees list as a PDF file.
|
|
1867
|
-
*
|
|
1868
|
-
* @param {QueryParams} params - Query parameters used to filter the employees included in the export.
|
|
1869
|
-
* @return {Observable<HttpResponse<ArrayBuffer>>} An observable that emits the HTTP response containing the PDF as an ArrayBuffer.
|
|
1870
|
-
*/
|
|
1871
|
-
getEmployeesExportPdf(params) {
|
|
1872
|
-
return this.http.get(`${this.url}/employees/exportPdf`, {
|
|
1873
|
-
params,
|
|
1874
|
-
observe: 'response',
|
|
1875
|
-
responseType: 'arraybuffer'
|
|
1876
|
-
});
|
|
1877
|
-
}
|
|
1878
1906
|
/**
|
|
1879
1907
|
* Retrieves the list of employees for a specified location based on provided query parameters.
|
|
1880
1908
|
*
|
|
@@ -4848,18 +4876,6 @@ class ApiSecurityService {
|
|
|
4848
4876
|
return this.http.get(`${this.url}/roles`, { params })
|
|
4849
4877
|
.pipe(map(({ data }) => data));
|
|
4850
4878
|
}
|
|
4851
|
-
/**
|
|
4852
|
-
* Downloads a PDF export of roles filtered by the provided query parameters (no pagination).
|
|
4853
|
-
*
|
|
4854
|
-
* @param {QueryParams} params - Filter query parameters mirroring the roles list (without limit/offset).
|
|
4855
|
-
* @return {Observable<Blob>} An observable that emits the PDF file blob.
|
|
4856
|
-
*/
|
|
4857
|
-
getRolesExportPdf(params) {
|
|
4858
|
-
return this.http.get(`${this.url}/roles/exportPdf`, {
|
|
4859
|
-
params,
|
|
4860
|
-
responseType: 'blob'
|
|
4861
|
-
});
|
|
4862
|
-
}
|
|
4863
4879
|
/**
|
|
4864
4880
|
* Retrieves roles by the specified ID.
|
|
4865
4881
|
*
|