@experteam-mx/ngx-services 20.1.3 → 20.1.4

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.
@@ -4293,6 +4293,15 @@ class ApiShipmentsService {
4293
4293
  getEmployeeCustomer(id) {
4294
4294
  return this.http.get(`${this.url}/shipments/employee-customer/${id}`).pipe(map(({ data }) => data));
4295
4295
  }
4296
+ /**
4297
+ * Generate signature page PDF for one shipment
4298
+ *
4299
+ * @return {Observable<ShipmentSignaturePageOut>} An observable containing base64 file generated
4300
+ * @param id - the shipment id.
4301
+ */
4302
+ getShipmentDocumentSignaturePage(id) {
4303
+ return this.http.get(`${this.url}/shipments/document-signature-page/${id}`).pipe(map(({ data }) => data));
4304
+ }
4296
4305
  /**
4297
4306
  * Cancels a specific shipment by providing its ID and a reason for cancellation.
4298
4307
  * Sends a PATCH request to update the shipment's cancellation status with the specified reason.