taxtank-core 0.29.26 → 0.29.28
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/bundles/taxtank-core.umd.js +8 -2
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/models/chart-accounts/chart-accounts-categories.const.js +3 -2
- package/esm2015/lib/models/endpoint/endpoints.const.js +2 -1
- package/esm2015/lib/services/http/subscription/service-subscription/subscription.service.js +4 -1
- package/esm2015/lib/services/pdf/pdf-from-dom-element/file-settings.js +3 -2
- package/fesm2015/taxtank-core.js +8 -2
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/services/http/subscription/service-subscription/subscription.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3310,7 +3310,8 @@
|
|
|
3310
3310
|
],
|
|
3311
3311
|
depreciation: [
|
|
3312
3312
|
exports.ChartAccountsCategoryEnum.PROPERTY_DEPRECIATION,
|
|
3313
|
-
exports.ChartAccountsCategoryEnum.WORK_DEPRECIATION
|
|
3313
|
+
exports.ChartAccountsCategoryEnum.WORK_DEPRECIATION,
|
|
3314
|
+
exports.ChartAccountsCategoryEnum.PROPERTY_CAPITAL_WORKS,
|
|
3314
3315
|
],
|
|
3315
3316
|
all: [
|
|
3316
3317
|
exports.ChartAccountsCategoryEnum.PROPERTY_INCOME,
|
|
@@ -10133,6 +10134,7 @@
|
|
|
10133
10134
|
SERVICE_PAYMENTS_GET: new Endpoint('GET', '\\/service-payments'),
|
|
10134
10135
|
SERVICE_SUBSCRIPTIONS_GET: new Endpoint('GET', '\\/service-subscriptions'),
|
|
10135
10136
|
SERVICE_SUBSCRIPTIONS_CANCEL: new Endpoint('PUT', '\\/service-subscriptions\\/\\d+\\/cancel'),
|
|
10137
|
+
SERVICE_SUBSCRIPTIONS_RENEW: new Endpoint('PUT', '\\/service-subscriptions\\/\\d+\\/renewal'),
|
|
10136
10138
|
SERVICE_PAYMENT_INVOICE_URL_GET: new Endpoint('GET', '\\/service-payments\\/\\d+\\/invoice-url'),
|
|
10137
10139
|
SUBSCRIPTION_ITEMS_PUT: new Endpoint('PUT', '\\/service-subscriptions\\/\\d+\\/items'),
|
|
10138
10140
|
SOLE_BUSINESSES_GET: new Endpoint('GET', '\\/sole-businesses'),
|
|
@@ -16311,6 +16313,9 @@
|
|
|
16311
16313
|
SubscriptionService.prototype.cancel = function (subscription) {
|
|
16312
16314
|
return this.http.put(this.environment.apiV2 + "/service-subscriptions/" + subscription.id + "/cancel", {});
|
|
16313
16315
|
};
|
|
16316
|
+
SubscriptionService.prototype.renew = function (subscription) {
|
|
16317
|
+
return this.http.put(this.environment.apiV2 + "/service-subscriptions/" + subscription.id + "/renewal", {});
|
|
16318
|
+
};
|
|
16314
16319
|
SubscriptionService.prototype.listenSubscriptions = function () {
|
|
16315
16320
|
var _this = this;
|
|
16316
16321
|
this.sseService.on("serviceSubscriptions")
|
|
@@ -17920,7 +17925,8 @@
|
|
|
17920
17925
|
margin: 10,
|
|
17921
17926
|
filename: 'export.pdf',
|
|
17922
17927
|
html2canvas: {
|
|
17923
|
-
scale: 2
|
|
17928
|
+
scale: 2,
|
|
17929
|
+
useCORS: true,
|
|
17924
17930
|
},
|
|
17925
17931
|
pagebreak: {
|
|
17926
17932
|
mode: 'avoid-all'
|