taxtank-core 0.29.17 → 0.29.19
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 +135 -32
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/subscription/index.js +4 -1
- package/esm2015/lib/collections/subscription/service-price.collection.js +7 -0
- package/esm2015/lib/collections/subscription/service-product.collection.js +8 -0
- package/esm2015/lib/collections/subscription/service-subscription.collection.js +17 -1
- package/esm2015/lib/collections/subscription/subscription-item.collection.js +4 -1
- package/esm2015/lib/models/endpoint/endpoints.const.js +3 -1
- package/esm2015/lib/models/index.js +2 -1
- package/esm2015/lib/models/service-subscription/index.js +6 -0
- package/esm2015/lib/models/service-subscription/service-product.js +6 -1
- package/esm2015/lib/models/service-subscription/service-subscription.js +12 -2
- package/esm2015/lib/services/http/subscription/index.js +2 -1
- package/esm2015/lib/services/http/subscription/service-price/service-price.service.js +8 -5
- package/esm2015/lib/services/http/subscription/service-product/service-product.service.js +24 -0
- package/esm2015/lib/services/http/subscription/service-subscription/subscription.service.js +14 -6
- package/fesm2015/taxtank-core.js +104 -28
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/collections/subscription/index.d.ts +3 -0
- package/lib/collections/subscription/service-price.collection.d.ts +5 -0
- package/lib/collections/subscription/service-product.collection.d.ts +5 -0
- package/lib/collections/subscription/service-subscription.collection.d.ts +4 -0
- package/lib/collections/subscription/subscription-item.collection.d.ts +2 -1
- package/lib/forms/bank/bank-login.form.d.ts.map +1 -0
- package/lib/forms/client/client-income-types.form.d.ts.map +1 -0
- package/lib/forms/depreciation/depreciation.form.d.ts.map +1 -0
- package/lib/forms/depreciation/index.d.ts.map +1 -0
- package/lib/forms/form-validations.enum.d.ts.map +1 -0
- package/lib/forms/index.d.ts.map +1 -0
- package/lib/forms/login/login.form.d.ts.map +1 -0
- package/lib/forms/phone/index.d.ts.map +1 -0
- package/lib/forms/phone/phone.form.d.ts.map +1 -0
- package/lib/forms/property/index.d.ts.map +1 -0
- package/lib/forms/register/register-client.form.d.ts.map +1 -0
- package/lib/forms/register/register-firm.form.d.ts.map +1 -0
- package/lib/forms/sole/bas-report.form.d.ts.map +1 -0
- package/lib/forms/sole/index.d.ts.map +1 -0
- package/lib/forms/transaction/index.d.ts.map +1 -0
- package/lib/forms/transaction/messages.enum.d.ts.map +1 -0
- package/lib/forms/transaction/transaction-base.form.d.ts.map +1 -0
- package/lib/forms/transaction/transaction.form.d.ts.map +1 -0
- package/lib/forms/transaction/work-income.form.d.ts.map +1 -0
- package/lib/forms/user/index.d.ts.map +1 -0
- package/lib/forms/user/password.form.d.ts.map +1 -0
- package/lib/forms/user/reset-password.form.d.ts.map +1 -0
- package/lib/forms/user/user-invite.form.d.ts.map +1 -0
- package/lib/forms/vehicle/index.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-claim-details.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-claim.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle-logbook.form.d.ts.map +1 -0
- package/lib/forms/vehicle/vehicle.form.d.ts.map +1 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/models/service-subscription/index.d.ts +5 -0
- package/lib/models/service-subscription/service-subscription.d.ts +4 -0
- package/lib/services/http/subscription/index.d.ts +1 -0
- package/lib/services/http/subscription/service-price/service-price.service.d.ts +9 -6
- package/lib/services/http/subscription/service-product/service-product.service.d.ts +14 -0
- package/lib/services/http/subscription/service-subscription/subscription.service.d.ts +3 -3
- package/lib/validators/at-least-one-enabled.validator.d.ts.map +1 -0
- package/lib/validators/date-range.validator.d.ts.map +1 -0
- package/lib/validators/phone-number.validator.d.ts.map +1 -0
- package/lib/validators/required-length.validator.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts.map +1 -0
- package/taxtank-core.d.ts.map +1 -0
package/fesm2015/taxtank-core.js
CHANGED
|
@@ -1368,6 +1368,11 @@ class ServiceProduct extends ServiceProduct$1 {
|
|
|
1368
1368
|
return this.status === ServiceProductStatusEnum.ARCHIVED;
|
|
1369
1369
|
}
|
|
1370
1370
|
}
|
|
1371
|
+
// const TestEnum = {
|
|
1372
|
+
// 4: 4,
|
|
1373
|
+
// 5: 7,
|
|
1374
|
+
// 6: 6
|
|
1375
|
+
// }
|
|
1371
1376
|
|
|
1372
1377
|
class ServicePrice extends ServicePrice$1 {
|
|
1373
1378
|
toSubscriptionItem() {
|
|
@@ -1406,6 +1411,9 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
1406
1411
|
get isTrial() {
|
|
1407
1412
|
return !this.stripeId;
|
|
1408
1413
|
}
|
|
1414
|
+
get isPaid() {
|
|
1415
|
+
return !!this.stripeId;
|
|
1416
|
+
}
|
|
1409
1417
|
get price() {
|
|
1410
1418
|
return this.items.reduce((sum, item) => sum + item.total, 0);
|
|
1411
1419
|
}
|
|
@@ -1413,7 +1421,8 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
1413
1421
|
* get title of subscription
|
|
1414
1422
|
*/
|
|
1415
1423
|
get title() {
|
|
1416
|
-
return this.
|
|
1424
|
+
return this.items.map((item) => item.price.product.title).join(' + ');
|
|
1425
|
+
// return this.isTrial ? 'Trial period' : this.items.map((item) => item.price.product.title).join(' + ');
|
|
1417
1426
|
}
|
|
1418
1427
|
/**
|
|
1419
1428
|
* A subscription is considered active if the end date has not yet arrived and its status is "Active" or "Past due"
|
|
@@ -1447,6 +1456,9 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
1447
1456
|
get soleTankItem() {
|
|
1448
1457
|
return this.items.find((item) => item.price.product.isSoleTank());
|
|
1449
1458
|
}
|
|
1459
|
+
get propertyTankItem() {
|
|
1460
|
+
return this.items.find((item) => item.price.product.isProperties());
|
|
1461
|
+
}
|
|
1450
1462
|
hasPropertyTank() {
|
|
1451
1463
|
return !!this.items.find((subscriptionItem) => {
|
|
1452
1464
|
return subscriptionItem.price.product.role.includes(UserRolesEnum.PROPERTY_TANK);
|
|
@@ -1477,6 +1489,9 @@ class ServiceSubscription extends ServiceSubscription$1 {
|
|
|
1477
1489
|
hasItem(itemToCheck) {
|
|
1478
1490
|
return !!this.items.find((item) => item.price.id === itemToCheck.price.id);
|
|
1479
1491
|
}
|
|
1492
|
+
hasProduct(product) {
|
|
1493
|
+
return !!this.items.find((item) => item.price.product.id === product.id);
|
|
1494
|
+
}
|
|
1480
1495
|
/**
|
|
1481
1496
|
* Recommended number of properties to buy,
|
|
1482
1497
|
* based on the property service product and the number of properties the user has
|
|
@@ -3837,6 +3852,18 @@ class SoleInvoiceCollection extends Collection {
|
|
|
3837
3852
|
}
|
|
3838
3853
|
}
|
|
3839
3854
|
|
|
3855
|
+
class ServicePriceCollection extends Collection {
|
|
3856
|
+
getActive() {
|
|
3857
|
+
return this.filterBy('isActive', true);
|
|
3858
|
+
}
|
|
3859
|
+
}
|
|
3860
|
+
|
|
3861
|
+
class ServiceProductCollection extends Collection {
|
|
3862
|
+
getActive() {
|
|
3863
|
+
return this.filterBy('status', ServiceProductStatusEnum.ACTIVE);
|
|
3864
|
+
}
|
|
3865
|
+
}
|
|
3866
|
+
|
|
3840
3867
|
class SubscriptionItemCollection extends Collection {
|
|
3841
3868
|
get propertiesItem() {
|
|
3842
3869
|
return this.find((item) => item.price.product.isProperties());
|
|
@@ -3844,6 +3871,9 @@ class SubscriptionItemCollection extends Collection {
|
|
|
3844
3871
|
get propertyQuantity() {
|
|
3845
3872
|
return this.propertiesItem ? this.propertiesItem.quantity : 0;
|
|
3846
3873
|
}
|
|
3874
|
+
hasProduct(product) {
|
|
3875
|
+
return !!this.findBy('price.product.id', product.id);
|
|
3876
|
+
}
|
|
3847
3877
|
}
|
|
3848
3878
|
|
|
3849
3879
|
class ServiceSubscriptionCollection extends Collection {
|
|
@@ -3868,6 +3898,21 @@ class ServiceSubscriptionCollection extends Collection {
|
|
|
3868
3898
|
getItems() {
|
|
3869
3899
|
return new SubscriptionItemCollection(flatten(this.mapBy('items')));
|
|
3870
3900
|
}
|
|
3901
|
+
groupByProduct(products) {
|
|
3902
|
+
const dictionary = new Dictionary([]);
|
|
3903
|
+
products.toArray().forEach((product) => {
|
|
3904
|
+
dictionary.add(product.id, this.findByProduct(product));
|
|
3905
|
+
});
|
|
3906
|
+
return dictionary;
|
|
3907
|
+
}
|
|
3908
|
+
findByProduct(product) {
|
|
3909
|
+
return this.find((subscription) => {
|
|
3910
|
+
return !!subscription.items.find((item) => item.price.product.id === product.id);
|
|
3911
|
+
});
|
|
3912
|
+
}
|
|
3913
|
+
hasPropertyTank() {
|
|
3914
|
+
return !!this.getItems().propertiesItem;
|
|
3915
|
+
}
|
|
3871
3916
|
}
|
|
3872
3917
|
|
|
3873
3918
|
/**
|
|
@@ -6686,6 +6731,24 @@ __decorate([
|
|
|
6686
6731
|
})
|
|
6687
6732
|
], Notification.prototype, "redirectionLink", void 0);
|
|
6688
6733
|
|
|
6734
|
+
class ServicePayment extends ServicePayment$1 {
|
|
6735
|
+
/**
|
|
6736
|
+
* Stripe stores actual links to payment invoices for 30 days.
|
|
6737
|
+
* Link expires after 30 days
|
|
6738
|
+
*/
|
|
6739
|
+
isInvoiceLinkExpired() {
|
|
6740
|
+
const expirationDate = new Date(this.date.setDate(this.date.getDate() + ServicePayment.daysToInvoiceUrlExpired));
|
|
6741
|
+
return expirationDate.getTime() < new Date().getTime();
|
|
6742
|
+
}
|
|
6743
|
+
}
|
|
6744
|
+
ServicePayment.daysToInvoiceUrlExpired = 30;
|
|
6745
|
+
__decorate([
|
|
6746
|
+
Type(() => ServiceSubscription)
|
|
6747
|
+
], ServicePayment.prototype, "subscription", void 0);
|
|
6748
|
+
__decorate([
|
|
6749
|
+
Type(() => Date)
|
|
6750
|
+
], ServicePayment.prototype, "date", void 0);
|
|
6751
|
+
|
|
6689
6752
|
/**
|
|
6690
6753
|
* Enum with document types which used to API url prefix
|
|
6691
6754
|
*/
|
|
@@ -7623,7 +7686,9 @@ const ENDPOINTS = {
|
|
|
7623
7686
|
SALARY_FORECAST_POST: new Endpoint('POST', '\\/salary-forecasts'),
|
|
7624
7687
|
SALARY_FORECAST_PUT: new Endpoint('PUT', '\\/salary-forecasts'),
|
|
7625
7688
|
SERVICE_PRICES_GET: new Endpoint('GET', '\\/service-prices'),
|
|
7689
|
+
SERVICE_PRODUCTS_GET: new Endpoint('GET', '\\/service-products'),
|
|
7626
7690
|
SERVICE_PAYMENTS_GET: new Endpoint('GET', '\\/service-payments'),
|
|
7691
|
+
SERVICE_SUBSCRIPTIONS_GET: new Endpoint('GET', '\\/service-subscriptions'),
|
|
7627
7692
|
SERVICE_PAYMENT_INVOICE_URL_GET: new Endpoint('GET', '\\/service-payments\\/\\d+\\/invoice-url'),
|
|
7628
7693
|
STRIPE_BILLING_PORTAL_GET: new Endpoint('GET', '\\/stripe\\/billing-portal-session'),
|
|
7629
7694
|
STRIPE_CHECKOUT_SESSION_POST: new Endpoint('POST', '\\/stripe\\/checkout-session'),
|
|
@@ -10188,24 +10253,6 @@ const MODULE_URL_LIST = {
|
|
|
10188
10253
|
myAccount: '/client/my-account/subscription'
|
|
10189
10254
|
};
|
|
10190
10255
|
|
|
10191
|
-
class ServicePayment extends ServicePayment$1 {
|
|
10192
|
-
/**
|
|
10193
|
-
* Stripe stores actual links to payment invoices for 30 days.
|
|
10194
|
-
* Link expires after 30 days
|
|
10195
|
-
*/
|
|
10196
|
-
isInvoiceLinkExpired() {
|
|
10197
|
-
const expirationDate = new Date(this.date.setDate(this.date.getDate() + ServicePayment.daysToInvoiceUrlExpired));
|
|
10198
|
-
return expirationDate.getTime() < new Date().getTime();
|
|
10199
|
-
}
|
|
10200
|
-
}
|
|
10201
|
-
ServicePayment.daysToInvoiceUrlExpired = 30;
|
|
10202
|
-
__decorate([
|
|
10203
|
-
Type(() => ServiceSubscription)
|
|
10204
|
-
], ServicePayment.prototype, "subscription", void 0);
|
|
10205
|
-
__decorate([
|
|
10206
|
-
Type(() => Date)
|
|
10207
|
-
], ServicePayment.prototype, "date", void 0);
|
|
10208
|
-
|
|
10209
10256
|
class TaxReview extends TaxReview$1 {
|
|
10210
10257
|
/**
|
|
10211
10258
|
* if tax review status is 'Cancelled'
|
|
@@ -13198,12 +13245,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
13198
13245
|
/**
|
|
13199
13246
|
* Service that handling banks logic
|
|
13200
13247
|
*/
|
|
13201
|
-
class ServicePriceService extends RestService {
|
|
13248
|
+
class ServicePriceService extends RestService$1 {
|
|
13202
13249
|
constructor() {
|
|
13203
13250
|
super(...arguments);
|
|
13251
|
+
this.endpointUri = 'service-prices';
|
|
13204
13252
|
this.modelClass = ServicePrice;
|
|
13205
|
-
this.
|
|
13206
|
-
this.
|
|
13253
|
+
this.isApiPlatform = true;
|
|
13254
|
+
this.collectionClass = ServicePriceCollection;
|
|
13255
|
+
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
13207
13256
|
}
|
|
13208
13257
|
}
|
|
13209
13258
|
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -13258,9 +13307,17 @@ class SubscriptionService extends RestService$1 {
|
|
|
13258
13307
|
this.endpointUri = 'service-subscriptions';
|
|
13259
13308
|
this.modelClass = ServiceSubscription;
|
|
13260
13309
|
this.collectionClass = ServiceSubscriptionCollection;
|
|
13261
|
-
this.disabledMethods = ['
|
|
13310
|
+
this.disabledMethods = ['putBatch', 'delete', 'deleteBatch'];
|
|
13262
13311
|
this.listenSubscriptions();
|
|
13263
13312
|
}
|
|
13313
|
+
startTrial(subscription) {
|
|
13314
|
+
return this.http.post(`${this.apiUrl}/trial`, subscription)
|
|
13315
|
+
.pipe(map((response) => {
|
|
13316
|
+
const newSubscription = plainToClass(ServiceSubscription, response);
|
|
13317
|
+
this.handleResponse([newSubscription], 'post');
|
|
13318
|
+
return newSubscription;
|
|
13319
|
+
}));
|
|
13320
|
+
}
|
|
13264
13321
|
getActive() {
|
|
13265
13322
|
return this.get().pipe(map((subscriptions) => subscriptions.getActive()));
|
|
13266
13323
|
}
|
|
@@ -13300,16 +13357,16 @@ class SubscriptionService extends RestService$1 {
|
|
|
13300
13357
|
/**
|
|
13301
13358
|
* Get difference between current subscription and selected new subscription
|
|
13302
13359
|
*/
|
|
13303
|
-
getProrationCost(
|
|
13304
|
-
return this.http.
|
|
13360
|
+
getProrationCost(subscription) {
|
|
13361
|
+
return this.http.put(`${this.environment.apiV2}/service-subscriptions/${subscription.id}/proration-cost`, subscription).pipe(map((prorationCost) => {
|
|
13305
13362
|
return prorationCost;
|
|
13306
13363
|
}));
|
|
13307
13364
|
}
|
|
13308
13365
|
/**
|
|
13309
13366
|
* Change subscription plan
|
|
13310
13367
|
*/
|
|
13311
|
-
changeSubscription(
|
|
13312
|
-
return this.http.
|
|
13368
|
+
changeSubscription(subscription) {
|
|
13369
|
+
return this.http.put(`${this.environment.apiV2}/service-subscriptions/${subscription.id}`, subscription);
|
|
13313
13370
|
}
|
|
13314
13371
|
listenSubscriptions() {
|
|
13315
13372
|
this.sseService.on(`serviceSubscriptions`)
|
|
@@ -13342,6 +13399,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
13342
13399
|
args: ['environment']
|
|
13343
13400
|
}] }]; } });
|
|
13344
13401
|
|
|
13402
|
+
class ServiceProductService extends RestService$1 {
|
|
13403
|
+
constructor() {
|
|
13404
|
+
super(...arguments);
|
|
13405
|
+
this.collectionClass = ServiceProductCollection;
|
|
13406
|
+
this.modelClass = ServiceProduct;
|
|
13407
|
+
this.endpointUri = 'service-products';
|
|
13408
|
+
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
13409
|
+
this.isApiPlatform = true;
|
|
13410
|
+
}
|
|
13411
|
+
}
|
|
13412
|
+
ServiceProductService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13413
|
+
ServiceProductService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceProductService, providedIn: 'root' });
|
|
13414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceProductService, decorators: [{
|
|
13415
|
+
type: Injectable,
|
|
13416
|
+
args: [{
|
|
13417
|
+
providedIn: 'root'
|
|
13418
|
+
}]
|
|
13419
|
+
}] });
|
|
13420
|
+
|
|
13345
13421
|
/**
|
|
13346
13422
|
* Service to work with tax review history
|
|
13347
13423
|
*/
|
|
@@ -17947,5 +18023,5 @@ class DepreciationForm extends TransactionBaseForm {
|
|
|
17947
18023
|
* Generated bundle index. Do not edit.
|
|
17948
18024
|
*/
|
|
17949
18025
|
|
|
17950
|
-
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AlphabetColorsEnum, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertySaleTaxExemptionMetadataCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductIdEnum, ServiceProductStatusEnum, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
|
|
18026
|
+
export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AlphabetColorsEnum, AnnualFrequencyEnum, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqService, BasiqToken, BasiqTokenService, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsSalaryIncludedListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatCollection, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteCollection, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReceiptService, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, Firm, FirmService, FirmTypeEnum, FormValidationsEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookBestPeriodService, LogbookPeriod, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertySaleTaxExemptionMetadataCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, ReceiptService, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, RewardfulService, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessLossesCollection, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionEnum, TaxExemptionMetadata, TaxExemptionMetadataEnum, TaxExemptionService, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReview, TaxReviewCollection, TaxReviewHistoryService, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseForm, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionReceiptService, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserInviteForm, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WorkIncomeForm, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, minDateValidator, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate, toArray };
|
|
17951
18027
|
//# sourceMappingURL=taxtank-core.js.map
|