@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.
package/dist/index.cjs.js CHANGED
@@ -4383,6 +4383,7 @@ class ReceiptMapper {
4383
4383
  isReturnable: output.is_returnable,
4384
4384
  isVoidable: output.is_voidable,
4385
4385
  pdfUrl: output.pdf_url,
4386
+ status: output.status,
4386
4387
  parentReceiptUuid: output.parent_receipt_uuid,
4387
4388
  };
4388
4389
  }
@@ -4695,8 +4696,9 @@ class CashierRepositoryImpl {
4695
4696
  });
4696
4697
  return CashierMapper.pageFromApi(response.data);
4697
4698
  }
4698
- async delete(uuid) {
4699
- await this.http.delete(`/mf1/cashiers/${uuid}`);
4699
+ async disable(uuid) {
4700
+ const response = await this.http.put(`/mf1/cashiers/${uuid}/disable`);
4701
+ return CashierMapper.fromApiOutput(response.data);
4700
4702
  }
4701
4703
  }
4702
4704