taxtank-core 2.1.39 → 2.1.40
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/fesm2022/taxtank-core.mjs +7 -1
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -5632,6 +5632,12 @@ __decorate([
|
|
|
5632
5632
|
__decorate([
|
|
5633
5633
|
Type(() => BankAccount)
|
|
5634
5634
|
], SoleInvoice.prototype, "bankAccount", void 0);
|
|
5635
|
+
__decorate([
|
|
5636
|
+
Type(() => Date)
|
|
5637
|
+
], SoleInvoice.prototype, "createdAt", void 0);
|
|
5638
|
+
__decorate([
|
|
5639
|
+
Type(() => Date)
|
|
5640
|
+
], SoleInvoice.prototype, "updatedAt", void 0);
|
|
5635
5641
|
|
|
5636
5642
|
class SoleInvoiceTemplate extends SoleInvoiceTemplate$1 {
|
|
5637
5643
|
constructor() {
|
|
@@ -16787,7 +16793,7 @@ class SoleInvoiceService extends RestService$1 {
|
|
|
16787
16793
|
return this.put(invoice, `${this.apiUrl}/${invoice.id}/send`);
|
|
16788
16794
|
}
|
|
16789
16795
|
download(invoice) {
|
|
16790
|
-
return this.http.get(`${this.apiUrl}/${invoice.id}/download`, { responseType: 'blob' });
|
|
16796
|
+
return this.http.get(`${this.apiUrl}/${invoice.id}/download?v=${invoice.updatedAt.getTime()}`, { responseType: 'blob' });
|
|
16791
16797
|
}
|
|
16792
16798
|
/**
|
|
16793
16799
|
* Return the next number from the last invoice
|