@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 +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.js +3 -3
- package/dist/index.native.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -254,7 +254,7 @@ interface ICashierRepository {
|
|
|
254
254
|
findMe(): Promise<Cashier>;
|
|
255
255
|
findById(uuid: string): Promise<Cashier>;
|
|
256
256
|
findAll(params?: CashierListParams): Promise<Page<Cashier>>;
|
|
257
|
-
|
|
257
|
+
disable(uuid: string): Promise<Cashier>;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
type DailyReportStatus = 'pending' | 'sent' | 'error';
|
|
@@ -566,7 +566,6 @@ interface ReceiptDetails extends Receipt {
|
|
|
566
566
|
vatNumber: string;
|
|
567
567
|
totalTaxableAmount: string;
|
|
568
568
|
totalUncollectedAmount: string;
|
|
569
|
-
deductibleAmount: string;
|
|
570
569
|
totalVatAmount: string;
|
|
571
570
|
totalDiscount: string;
|
|
572
571
|
totalGrossDiscount: string;
|
|
@@ -1341,7 +1340,6 @@ interface ReceiptDetailsApiOutput extends ReceiptApiOutput {
|
|
|
1341
1340
|
vat_number: string;
|
|
1342
1341
|
total_taxable_amount: string;
|
|
1343
1342
|
total_uncollected_amount: string;
|
|
1344
|
-
deductible_amount: string;
|
|
1345
1343
|
total_vat_amount: string;
|
|
1346
1344
|
total_discount: string;
|
|
1347
1345
|
total_gross_discount: string;
|
package/dist/index.esm.js
CHANGED
|
@@ -4371,7 +4371,6 @@ class ReceiptMapper {
|
|
|
4371
4371
|
vatNumber: output.vat_number,
|
|
4372
4372
|
totalTaxableAmount: output.total_taxable_amount,
|
|
4373
4373
|
totalUncollectedAmount: output.total_uncollected_amount,
|
|
4374
|
-
deductibleAmount: output.deductible_amount,
|
|
4375
4374
|
totalVatAmount: output.total_vat_amount,
|
|
4376
4375
|
totalDiscount: output.total_discount,
|
|
4377
4376
|
totalGrossDiscount: output.total_gross_discount,
|
|
@@ -4673,8 +4672,9 @@ class CashierRepositoryImpl {
|
|
|
4673
4672
|
});
|
|
4674
4673
|
return CashierMapper.pageFromApi(response.data);
|
|
4675
4674
|
}
|
|
4676
|
-
async
|
|
4677
|
-
await this.http.
|
|
4675
|
+
async disable(uuid) {
|
|
4676
|
+
const response = await this.http.put(`/mf1/cashiers/${uuid}/disable`);
|
|
4677
|
+
return CashierMapper.fromApiOutput(response.data);
|
|
4678
4678
|
}
|
|
4679
4679
|
}
|
|
4680
4680
|
|