@experteam-mx/ngx-services 20.10.0 → 20.10.2
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
|
@@ -4793,7 +4793,9 @@ type DocumentsByCountryOut = {
|
|
|
4793
4793
|
};
|
|
4794
4794
|
type DocumentsPrintIn = {
|
|
4795
4795
|
countryId: number;
|
|
4796
|
+
shipmentId: number;
|
|
4796
4797
|
code: string;
|
|
4798
|
+
copies?: number;
|
|
4797
4799
|
};
|
|
4798
4800
|
type DocumentsPrintOut = {
|
|
4799
4801
|
pdf: string;
|
|
@@ -7225,7 +7227,7 @@ declare class ApiInvoicesService {
|
|
|
7225
7227
|
* @param documentId - Numeric identifier of the document to print.
|
|
7226
7228
|
* @returns An Observable that emits the printable document data for the given document.
|
|
7227
7229
|
*/
|
|
7228
|
-
getOperationPrintDocument(documentId: number): Observable<OperationPrintDocumentOut>;
|
|
7230
|
+
getOperationPrintDocument(documentId: number, params?: QueryParams): Observable<OperationPrintDocumentOut>;
|
|
7229
7231
|
/**
|
|
7230
7232
|
* Sends an operation document to the server and processes the response.
|
|
7231
7233
|
*
|
|
@@ -7239,7 +7241,7 @@ declare class ApiInvoicesService {
|
|
|
7239
7241
|
* @param {number} id - The unique identifier of the collection for which the receipt needs to be retrieved.
|
|
7240
7242
|
* @return {Observable<PrintCollectionReceiptOut>} An observable containing the collection receipt data.
|
|
7241
7243
|
*/
|
|
7242
|
-
getOperationPrintCollectionReceipt(id: number): Observable<PrintCollectionReceiptOut>;
|
|
7244
|
+
getOperationPrintCollectionReceipt(id: number, params?: QueryParams): Observable<PrintCollectionReceiptOut>;
|
|
7243
7245
|
/**
|
|
7244
7246
|
* Handles the account payment operation by sending a POST request to the specified endpoint.
|
|
7245
7247
|
* Processes the response and returns the operation data.
|
|
@@ -9473,6 +9475,7 @@ type ShipmentLabelOut = {
|
|
|
9473
9475
|
};
|
|
9474
9476
|
type CommercialInvoiceLabelIn = {
|
|
9475
9477
|
date: string;
|
|
9478
|
+
copies?: number;
|
|
9476
9479
|
};
|
|
9477
9480
|
type CommercialInvoiceLabelOut = {
|
|
9478
9481
|
commercialInvoiceLabel: {
|
|
@@ -9603,7 +9606,7 @@ declare class ApiShipmentsService {
|
|
|
9603
9606
|
* @param {number} shipmentId - The unique identifier of the shipment to retrieve the label for
|
|
9604
9607
|
* @returns {Observable<ShipmentLabelOut>} Observable containing the label for the shipment
|
|
9605
9608
|
*/
|
|
9606
|
-
getShipmentLabel(shipmentId: number, format?:
|
|
9609
|
+
getShipmentLabel(shipmentId: number, format?: string, params?: QueryParams): Observable<ShipmentLabelOut>;
|
|
9607
9610
|
/**
|
|
9608
9611
|
* Generates a commercial invoice label for the specified shipment.
|
|
9609
9612
|
*
|