@experteam-mx/ngx-services 20.10.1 → 20.10.3-dev3.0
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.
|
@@ -3988,8 +3988,8 @@ class ApiInvoicesService {
|
|
|
3988
3988
|
* @param documentId - Numeric identifier of the document to print.
|
|
3989
3989
|
* @returns An Observable that emits the printable document data for the given document.
|
|
3990
3990
|
*/
|
|
3991
|
-
getOperationPrintDocument(documentId) {
|
|
3992
|
-
return this.http.get(`${this.url}/operation/print/document/${documentId}
|
|
3991
|
+
getOperationPrintDocument(documentId, params) {
|
|
3992
|
+
return this.http.get(`${this.url}/operation/print/document/${documentId}`, { params })
|
|
3993
3993
|
.pipe(map(({ data }) => data));
|
|
3994
3994
|
}
|
|
3995
3995
|
/**
|
|
@@ -4008,8 +4008,8 @@ class ApiInvoicesService {
|
|
|
4008
4008
|
* @param {number} id - The unique identifier of the collection for which the receipt needs to be retrieved.
|
|
4009
4009
|
* @return {Observable<PrintCollectionReceiptOut>} An observable containing the collection receipt data.
|
|
4010
4010
|
*/
|
|
4011
|
-
getOperationPrintCollectionReceipt(id) {
|
|
4012
|
-
return this.http.get(`${this.url}/operation/print/collection-receipt/${id}
|
|
4011
|
+
getOperationPrintCollectionReceipt(id, params) {
|
|
4012
|
+
return this.http.get(`${this.url}/operation/print/collection-receipt/${id}`, { params })
|
|
4013
4013
|
.pipe(map(({ data }) => data));
|
|
4014
4014
|
}
|
|
4015
4015
|
/**
|
|
@@ -5404,8 +5404,8 @@ class ApiShipmentsService {
|
|
|
5404
5404
|
* @param {number} shipmentId - The unique identifier of the shipment to retrieve the label for
|
|
5405
5405
|
* @returns {Observable<ShipmentLabelOut>} Observable containing the label for the shipment
|
|
5406
5406
|
*/
|
|
5407
|
-
getShipmentLabel(shipmentId, format = 'pdf') {
|
|
5408
|
-
return this.http.get(`${this.url}/shipments/${shipmentId}/label/${format}
|
|
5407
|
+
getShipmentLabel(shipmentId, format = 'pdf', params) {
|
|
5408
|
+
return this.http.get(`${this.url}/shipments/${shipmentId}/label/${format}`, { params })
|
|
5409
5409
|
.pipe(map(({ data }) => data));
|
|
5410
5410
|
}
|
|
5411
5411
|
/**
|