@a-cube-io/ereceipts-js-sdk 2.2.3 → 2.2.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.
@@ -4360,6 +4360,7 @@ class ReceiptMapper {
4360
4360
  isReturnable: output.is_returnable,
4361
4361
  isVoidable: output.is_voidable,
4362
4362
  pdfUrl: output.pdf_url,
4363
+ status: output.status,
4363
4364
  parentReceiptUuid: output.parent_receipt_uuid,
4364
4365
  };
4365
4366
  }
@@ -4672,8 +4673,9 @@ class CashierRepositoryImpl {
4672
4673
  });
4673
4674
  return CashierMapper.pageFromApi(response.data);
4674
4675
  }
4675
- async delete(uuid) {
4676
- await this.http.delete(`/mf1/cashiers/${uuid}`);
4676
+ async disable(uuid) {
4677
+ const response = await this.http.put(`/mf1/cashiers/${uuid}/disable`);
4678
+ return CashierMapper.fromApiOutput(response.data);
4677
4679
  }
4678
4680
  }
4679
4681