taxtank-core 0.29.25 → 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.
- package/bundles/taxtank-core.umd.js +8 -3
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/forms/address/address.form.js +3 -3
- 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 -3
- 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
|
@@ -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'
|
|
@@ -18979,8 +18984,8 @@
|
|
|
18979
18984
|
searchQuery: new forms.FormControl(address.address ? address.nameLong : null, forms.Validators.required),
|
|
18980
18985
|
type: new forms.FormControl(address.type | exports.AddressTypeEnum.STREET, forms.Validators.required),
|
|
18981
18986
|
// Corelogic fields
|
|
18982
|
-
corelogicLocId: new forms.FormControl(address.corelogicLocId
|
|
18983
|
-
corelogicRefId: new forms.FormControl(address.corelogicRefId
|
|
18987
|
+
corelogicLocId: new forms.FormControl(address.corelogicLocId),
|
|
18988
|
+
corelogicRefId: new forms.FormControl(address.corelogicRefId),
|
|
18984
18989
|
// manual fields
|
|
18985
18990
|
unitNumber: new forms.FormControl({ value: address.unitNumber, disabled: true }),
|
|
18986
18991
|
address: new forms.FormControl({ value: address.address, disabled: true }, forms.Validators.required),
|