@experteam-mx/ngx-services 20.9.5-dev1.0 → 20.9.5-dev1.5
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
|
}
|