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