taxtank-core 0.29.26 → 0.29.27

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.
@@ -10133,6 +10133,7 @@
10133
10133
  SERVICE_PAYMENTS_GET: new Endpoint('GET', '\\/service-payments'),
10134
10134
  SERVICE_SUBSCRIPTIONS_GET: new Endpoint('GET', '\\/service-subscriptions'),
10135
10135
  SERVICE_SUBSCRIPTIONS_CANCEL: new Endpoint('PUT', '\\/service-subscriptions\\/\\d+\\/cancel'),
10136
+ SERVICE_SUBSCRIPTIONS_RENEW: new Endpoint('PUT', '\\/service-subscriptions\\/\\d+\\/renewal'),
10136
10137
  SERVICE_PAYMENT_INVOICE_URL_GET: new Endpoint('GET', '\\/service-payments\\/\\d+\\/invoice-url'),
10137
10138
  SUBSCRIPTION_ITEMS_PUT: new Endpoint('PUT', '\\/service-subscriptions\\/\\d+\\/items'),
10138
10139
  SOLE_BUSINESSES_GET: new Endpoint('GET', '\\/sole-businesses'),
@@ -16311,6 +16312,9 @@
16311
16312
  SubscriptionService.prototype.cancel = function (subscription) {
16312
16313
  return this.http.put(this.environment.apiV2 + "/service-subscriptions/" + subscription.id + "/cancel", {});
16313
16314
  };
16315
+ SubscriptionService.prototype.renew = function (subscription) {
16316
+ return this.http.put(this.environment.apiV2 + "/service-subscriptions/" + subscription.id + "/renewal", {});
16317
+ };
16314
16318
  SubscriptionService.prototype.listenSubscriptions = function () {
16315
16319
  var _this = this;
16316
16320
  this.sseService.on("serviceSubscriptions")
@@ -17920,7 +17924,8 @@
17920
17924
  margin: 10,
17921
17925
  filename: 'export.pdf',
17922
17926
  html2canvas: {
17923
- scale: 2
17927
+ scale: 2,
17928
+ useCORS: true,
17924
17929
  },
17925
17930
  pagebreak: {
17926
17931
  mode: 'avoid-all'