taxtank-core 0.29.15 → 0.29.18
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 +151 -32
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/collections/report/property/property-report-item-depreciation.collection.js +2 -2
- 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/db/Models/user/client-income-types.js +3 -3
- 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/property/property.service.js +1 -2
- package/esm2015/lib/services/http/rest/rest.service.js +2 -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 +10 -2
- package/esm2015/lib/services/http/user/user.service.js +17 -1
- package/fesm2015/taxtank-core.js +119 -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/db/Models/user/client-income-types.d.ts +2 -2
- 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/rest/rest.service.d.ts +1 -1
- 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 +1 -0
- package/lib/services/http/user/user.service.d.ts +11 -0
- package/package.json +1 -1
package/fesm2015/taxtank-core.js
CHANGED
|
@@ -638,7 +638,7 @@ class Transaction$1 extends TransactionBase {
|
|
|
638
638
|
class ClientDetails$1 extends AbstractModel {
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
-
class ClientIncomeTypes$1 extends
|
|
641
|
+
class ClientIncomeTypes$1 extends ObservableModel {
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
class EmployeeDetails$1 extends AbstractModel {
|
|
@@ -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
|
|
@@ -3670,7 +3685,7 @@ class PropertyReportItemDepreciationCollection extends PropertyReportItemCollect
|
|
|
3670
3685
|
setItems(depreciations, properties, chartAccounts) {
|
|
3671
3686
|
this.items = [];
|
|
3672
3687
|
properties.items.forEach((property) => {
|
|
3673
|
-
const depreciationsByType = new CollectionDictionary(depreciations, 'type');
|
|
3688
|
+
const depreciationsByType = new CollectionDictionary(depreciations.filterBy('property.id', property.id), 'type');
|
|
3674
3689
|
depreciationsByType.keys.map((type) => {
|
|
3675
3690
|
this.items.push(new PropertyReportItemDepreciation(depreciationsByType.get(type), property, chartAccounts.findBy('id', depreciationsByType.get(type).first.chartAccounts.id)));
|
|
3676
3691
|
});
|
|
@@ -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'),
|
|
@@ -8003,7 +8068,7 @@ class RestService$1 {
|
|
|
8003
8068
|
/**
|
|
8004
8069
|
* Subscribe to http events and run callback.
|
|
8005
8070
|
* CSE - Cleint Sent Events
|
|
8006
|
-
* @param
|
|
8071
|
+
* @param modelClass
|
|
8007
8072
|
* @param methods The list of http methods should be listened for
|
|
8008
8073
|
* @param callback The function to be called when event triggered
|
|
8009
8074
|
*/
|
|
@@ -8585,6 +8650,22 @@ class UserService {
|
|
|
8585
8650
|
this.resetCache();
|
|
8586
8651
|
});
|
|
8587
8652
|
}
|
|
8653
|
+
/**
|
|
8654
|
+
* @TODO remove when the class refactored on RestService
|
|
8655
|
+
* Subscribe to http events and run callback.
|
|
8656
|
+
* CSE - Cleint Sent Events
|
|
8657
|
+
* @param modelClass
|
|
8658
|
+
* @param methods The list of http methods should be listened for
|
|
8659
|
+
* @param callback The function to be called when event triggered
|
|
8660
|
+
*/
|
|
8661
|
+
listenCSE(modelClass, methods, callback) {
|
|
8662
|
+
callback = callback.bind(this);
|
|
8663
|
+
methods.forEach((method) => {
|
|
8664
|
+
this.eventDispatcherService.on2(modelClass.getEventName(method)).subscribe((data) => {
|
|
8665
|
+
callback(data);
|
|
8666
|
+
});
|
|
8667
|
+
});
|
|
8668
|
+
}
|
|
8588
8669
|
}
|
|
8589
8670
|
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserService, deps: [{ token: i1.HttpClient }, { token: JwtService }, { token: EventDispatcherService }, { token: SseService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8590
8671
|
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
@@ -10172,24 +10253,6 @@ const MODULE_URL_LIST = {
|
|
|
10172
10253
|
myAccount: '/client/my-account/subscription'
|
|
10173
10254
|
};
|
|
10174
10255
|
|
|
10175
|
-
class ServicePayment extends ServicePayment$1 {
|
|
10176
|
-
/**
|
|
10177
|
-
* Stripe stores actual links to payment invoices for 30 days.
|
|
10178
|
-
* Link expires after 30 days
|
|
10179
|
-
*/
|
|
10180
|
-
isInvoiceLinkExpired() {
|
|
10181
|
-
const expirationDate = new Date(this.date.setDate(this.date.getDate() + ServicePayment.daysToInvoiceUrlExpired));
|
|
10182
|
-
return expirationDate.getTime() < new Date().getTime();
|
|
10183
|
-
}
|
|
10184
|
-
}
|
|
10185
|
-
ServicePayment.daysToInvoiceUrlExpired = 30;
|
|
10186
|
-
__decorate([
|
|
10187
|
-
Type(() => ServiceSubscription)
|
|
10188
|
-
], ServicePayment.prototype, "subscription", void 0);
|
|
10189
|
-
__decorate([
|
|
10190
|
-
Type(() => Date)
|
|
10191
|
-
], ServicePayment.prototype, "date", void 0);
|
|
10192
|
-
|
|
10193
10256
|
class TaxReview extends TaxReview$1 {
|
|
10194
10257
|
/**
|
|
10195
10258
|
* if tax review status is 'Cancelled'
|
|
@@ -12705,7 +12768,6 @@ class PropertyService extends RestService$1 {
|
|
|
12705
12768
|
}));
|
|
12706
12769
|
}
|
|
12707
12770
|
listenEvents() {
|
|
12708
|
-
this.cache;
|
|
12709
12771
|
this.listenShareInviteAccepted();
|
|
12710
12772
|
// @TODO Alex: consider to refactor property movements logic similar to client-movements
|
|
12711
12773
|
this.listenMovementsChanges();
|
|
@@ -13183,12 +13245,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
13183
13245
|
/**
|
|
13184
13246
|
* Service that handling banks logic
|
|
13185
13247
|
*/
|
|
13186
|
-
class ServicePriceService extends RestService {
|
|
13248
|
+
class ServicePriceService extends RestService$1 {
|
|
13187
13249
|
constructor() {
|
|
13188
13250
|
super(...arguments);
|
|
13251
|
+
this.endpointUri = 'service-prices';
|
|
13189
13252
|
this.modelClass = ServicePrice;
|
|
13190
|
-
this.
|
|
13191
|
-
this.
|
|
13253
|
+
this.isApiPlatform = true;
|
|
13254
|
+
this.collectionClass = ServicePriceCollection;
|
|
13255
|
+
this.disabledMethods = ['post', 'postBatch', 'put', 'putBatch', 'delete', 'deleteBatch'];
|
|
13192
13256
|
}
|
|
13193
13257
|
}
|
|
13194
13258
|
ServicePriceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServicePriceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -13243,9 +13307,17 @@ class SubscriptionService extends RestService$1 {
|
|
|
13243
13307
|
this.endpointUri = 'service-subscriptions';
|
|
13244
13308
|
this.modelClass = ServiceSubscription;
|
|
13245
13309
|
this.collectionClass = ServiceSubscriptionCollection;
|
|
13246
|
-
this.disabledMethods = ['
|
|
13310
|
+
this.disabledMethods = ['put', 'putBatch', 'delete', 'deleteBatch'];
|
|
13247
13311
|
this.listenSubscriptions();
|
|
13248
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
|
+
}
|
|
13249
13321
|
getActive() {
|
|
13250
13322
|
return this.get().pipe(map((subscriptions) => subscriptions.getActive()));
|
|
13251
13323
|
}
|
|
@@ -13327,6 +13399,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
|
13327
13399
|
args: ['environment']
|
|
13328
13400
|
}] }]; } });
|
|
13329
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
|
+
|
|
13330
13421
|
/**
|
|
13331
13422
|
* Service to work with tax review history
|
|
13332
13423
|
*/
|
|
@@ -17932,5 +18023,5 @@ class DepreciationForm extends TransactionBaseForm {
|
|
|
17932
18023
|
* Generated bundle index. Do not edit.
|
|
17933
18024
|
*/
|
|
17934
18025
|
|
|
17935
|
-
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 };
|
|
17936
18027
|
//# sourceMappingURL=taxtank-core.js.map
|