@a-cube-io/ereceipts-js-sdk 2.2.4 → 2.2.6

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
@@ -4394,7 +4394,6 @@ class ReceiptMapper {
4394
4394
  vatNumber: output.vat_number,
4395
4395
  totalTaxableAmount: output.total_taxable_amount,
4396
4396
  totalUncollectedAmount: output.total_uncollected_amount,
4397
- deductibleAmount: output.deductible_amount,
4398
4397
  totalVatAmount: output.total_vat_amount,
4399
4398
  totalDiscount: output.total_discount,
4400
4399
  totalGrossDiscount: output.total_gross_discount,
@@ -4696,8 +4695,9 @@ class CashierRepositoryImpl {
4696
4695
  });
4697
4696
  return CashierMapper.pageFromApi(response.data);
4698
4697
  }
4699
- async delete(uuid) {
4700
- await this.http.delete(`/mf1/cashiers/${uuid}`);
4698
+ async disable(uuid) {
4699
+ const response = await this.http.put(`/mf1/cashiers/${uuid}/disable`);
4700
+ return CashierMapper.fromApiOutput(response.data);
4701
4701
  }
4702
4702
  }
4703
4703