@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 +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.esm.js +4 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.js +4 -2
- package/dist/index.native.js.map +1 -1
- package/package.json +1 -1
package/dist/index.native.js
CHANGED
|
@@ -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
|
|
4676
|
-
await this.http.
|
|
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
|
|