taxtank-core 0.29.20 → 0.29.22
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 +4 -1
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/forms/bank/bank-account/bank-account-allocation.form.js +2 -2
- package/esm2015/lib/services/http/subscription/service-subscription/subscription.service.js +4 -1
- package/fesm2015/taxtank-core.js +4 -1
- 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
|
@@ -16225,6 +16225,9 @@
|
|
|
16225
16225
|
return newSubscription;
|
|
16226
16226
|
}));
|
|
16227
16227
|
};
|
|
16228
|
+
SubscriptionService.prototype.getStripeClientSecret = function (subscription) {
|
|
16229
|
+
return this.http.post(this.apiUrl, subscription).pipe(operators.map(function (response) { return response; }));
|
|
16230
|
+
};
|
|
16228
16231
|
SubscriptionService.prototype.getActive = function () {
|
|
16229
16232
|
return this.get().pipe(operators.map(function (subscriptions) { return subscriptions.getActive(); }));
|
|
16230
16233
|
};
|
|
@@ -19773,7 +19776,7 @@
|
|
|
19773
19776
|
if (data === void 0) { data = {}; }
|
|
19774
19777
|
if (includeDisabledFields === void 0) { includeDisabledFields = false; }
|
|
19775
19778
|
// remove property/business allocations if empty
|
|
19776
|
-
return _super.prototype.submit.call(this, Object.assign({ bankAccountProperties: [], businessAllocations: [] }, this.value));
|
|
19779
|
+
return _super.prototype.submit.call(this, Object.assign(data, { bankAccountProperties: [], businessAllocations: [] }, this.value));
|
|
19777
19780
|
};
|
|
19778
19781
|
return BankAccountAllocationForm;
|
|
19779
19782
|
}(AbstractForm));
|