taxtank-core 0.23.0 → 0.23.3

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.
@@ -2134,22 +2134,33 @@ class TransactionBase extends AbstractModel {
2134
2134
  * Check if current tank is Property
2135
2135
  */
2136
2136
  isPropertyTank() {
2137
- var _a;
2138
- return CHART_ACCOUNTS_CATEGORIES.property.includes((_a = this.chartAccounts) === null || _a === void 0 ? void 0 : _a.category);
2137
+ // chart accounts may be empty for new instances
2138
+ if (this.chartAccounts) {
2139
+ return CHART_ACCOUNTS_CATEGORIES.property.includes(this.chartAccounts.category);
2140
+ }
2141
+ return !!this.property;
2139
2142
  }
2140
2143
  /**
2141
2144
  * Check if current tank is Work
2142
2145
  */
2143
2146
  isWorkTank() {
2144
2147
  var _a;
2145
- return CHART_ACCOUNTS_CATEGORIES.work.includes((_a = this.chartAccounts) === null || _a === void 0 ? void 0 : _a.category);
2148
+ // chart accounts may be empty for new instances
2149
+ if (this.chartAccounts) {
2150
+ return CHART_ACCOUNTS_CATEGORIES.work.includes((_a = this.chartAccounts) === null || _a === void 0 ? void 0 : _a.category);
2151
+ }
2152
+ return !this.isPropertyTank() && !this.isSoleTank();
2146
2153
  }
2147
2154
  /**
2148
2155
  * Check if current tank is Sole
2149
2156
  */
2150
2157
  isSoleTank() {
2151
2158
  var _a;
2152
- return CHART_ACCOUNTS_CATEGORIES.sole.includes((_a = this.chartAccounts) === null || _a === void 0 ? void 0 : _a.category);
2159
+ // chart accounts may be empty for new instances
2160
+ if (this.chartAccounts) {
2161
+ return CHART_ACCOUNTS_CATEGORIES.sole.includes((_a = this.chartAccounts) === null || _a === void 0 ? void 0 : _a.category);
2162
+ }
2163
+ return !!this.business;
2153
2164
  }
2154
2165
  }
2155
2166
  __decorate([
@@ -6545,6 +6556,53 @@ __decorate([
6545
6556
  Type(() => ChartSerie)
6546
6557
  ], ChartData.prototype, "data", void 0);
6547
6558
 
6559
+ /**
6560
+ * @TODO Alex/Vik: think and create some new collection type
6561
+ * @TODO Alex: research all constants and make the same structure
6562
+ */
6563
+ class ChartAccountsCategoryECollection {
6564
+ constructor(items) {
6565
+ this.items = items || [
6566
+ ChartAccountsCategoryEnum.PROPERTY_INCOME,
6567
+ ChartAccountsCategoryEnum.PROPERTY_EXPENSE,
6568
+ ChartAccountsCategoryEnum.PROPERTY_DEPRECIATION,
6569
+ ChartAccountsCategoryEnum.PROPERTY_CAPITAL_WORKS,
6570
+ ChartAccountsCategoryEnum.WORK_DEPRECIATION,
6571
+ ChartAccountsCategoryEnum.WORK_INCOME,
6572
+ ChartAccountsCategoryEnum.WORK_EXPENSE,
6573
+ ChartAccountsCategoryEnum.OTHER_INCOME,
6574
+ ChartAccountsCategoryEnum.OTHER_EXPENSE,
6575
+ ChartAccountsCategoryEnum.PERSONAL_INCOME,
6576
+ ChartAccountsCategoryEnum.PERSONAL_EXPENSE,
6577
+ ChartAccountsCategoryEnum.SOLE_INCOME,
6578
+ ChartAccountsCategoryEnum.SOLE_EXPENSE,
6579
+ ChartAccountsCategoryEnum.SOLE_DEPRECIATION
6580
+ ];
6581
+ }
6582
+ getByType(types) {
6583
+ if (!Array.isArray(types)) {
6584
+ types = [types];
6585
+ }
6586
+ const items = [];
6587
+ types.forEach((type) => {
6588
+ const filtered = this.items.filter((item) => ChartAccountsCategoryEnum[item].includes(type.toUpperCase()));
6589
+ items.push(...filtered);
6590
+ });
6591
+ return new ChartAccountsCategoryECollection(items);
6592
+ }
6593
+ getByTankType(tankTypes) {
6594
+ if (!Array.isArray(tankTypes)) {
6595
+ tankTypes = [tankTypes];
6596
+ }
6597
+ const items = [];
6598
+ tankTypes.forEach((tankType) => {
6599
+ const filtered = this.items.filter((item) => ChartAccountsCategoryEnum[item].includes(tankType.toUpperCase()));
6600
+ items.push(...filtered);
6601
+ });
6602
+ return new ChartAccountsCategoryECollection(items);
6603
+ }
6604
+ }
6605
+
6548
6606
  class ChartAccountsDepreciation$1 extends AbstractModel {
6549
6607
  }
6550
6608
 
@@ -12902,7 +12960,13 @@ class TutorialVideoService {
12902
12960
  }
12903
12961
  get() {
12904
12962
  return this.http.get(`${TutorialVideoService.googleUrl}&q='${TutorialVideoService.parents}'+in+parents&key=${this.environment.googleDriveId}`)
12905
- .pipe(map((response) => response.files));
12963
+ .pipe(map((response) => {
12964
+ // video has a title like "1. Title".
12965
+ response.files.forEach((item) => {
12966
+ item.name = item.name.split('.', 2)[1];
12967
+ });
12968
+ return response.files;
12969
+ }));
12906
12970
  }
12907
12971
  }
12908
12972
  TutorialVideoService.googleUrl = `https://www.googleapis.com/drive/v3/files?fields=*&mimeType='video/mp4'&orderBy=name`;
@@ -13031,6 +13095,27 @@ class AbstractForm extends FormGroup {
13031
13095
  }
13032
13096
  }
13033
13097
 
13098
+ /**
13099
+ * Check if at least one form field is true, otherwise form is invalid.
13100
+ * Use with groups of boolean form controls (checkbox, toggle, etc.)
13101
+ */
13102
+ function atLeastOneCheckedValidator() {
13103
+ return (formGroup) => {
13104
+ return Object.values(formGroup.controls)
13105
+ .find((control) => control.value) ? null : { nothingChecked: true };
13106
+ };
13107
+ }
13108
+
13109
+ /**
13110
+ * Validation function for autocomplete fields. Checks that the user should select a value from a list rather than type in input field
13111
+ * @TODO Alex: create class AppValidators with static methods and move there all custom validators (line Angular Validators)
13112
+ */
13113
+ function autocompleteValidator() {
13114
+ return (control) => {
13115
+ return (!control.value || (typeof control.value === 'object')) ? null : { notFromList: true };
13116
+ };
13117
+ }
13118
+
13034
13119
  function conditionalValidator(condition, validator) {
13035
13120
  return function (control) {
13036
13121
  revalidateOnChanges(control);
@@ -13056,6 +13141,43 @@ function revalidateOnChanges(control) {
13056
13141
  return;
13057
13142
  }
13058
13143
 
13144
+ /**
13145
+ * Regular expressions that are used to check password strength and valid values
13146
+ */
13147
+ const PASSWORD_REGEXPS = {
13148
+ medium: /(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})/,
13149
+ strong: /(((?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*]))|((?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*]))|((?=.*[A-Z])(?=.*[0-9]))(?=.*[!@#$%^&*]))(?=.{8,})/,
13150
+ format: /^[0-9a-zA-Z!@$!%*?&#]*$/
13151
+ };
13152
+ function passwordValidator() {
13153
+ return (control) => {
13154
+ if (!PASSWORD_REGEXPS.format.test(control.value)) {
13155
+ return { passwordInvalid: true };
13156
+ }
13157
+ if (!PASSWORD_REGEXPS.medium.test(control.value)) {
13158
+ return { passwordWeak: true };
13159
+ }
13160
+ return null;
13161
+ };
13162
+ }
13163
+
13164
+ function passwordMatchValidator(newPassControlName, confirmPassControlName) {
13165
+ return (group) => {
13166
+ const passwordControl = group.get(newPassControlName);
13167
+ const confirmControl = group.get(confirmPassControlName);
13168
+ if (confirmControl.errors && !confirmControl.hasError('passwordMismatch')) {
13169
+ // return if another validator has already found an error on the confirmControl
13170
+ return this;
13171
+ }
13172
+ if (passwordControl.value !== confirmControl.value) {
13173
+ confirmControl.setErrors({ passwordMismatch: true });
13174
+ }
13175
+ else {
13176
+ confirmControl.setErrors(null);
13177
+ }
13178
+ };
13179
+ }
13180
+
13059
13181
  /**
13060
13182
  * Validator that check if sum amount of provided fields is greater than provided sum
13061
13183
  * @param field to check in each formArray element
@@ -13103,7 +13225,7 @@ class BankAccountPropertiesForm extends FormArray {
13103
13225
  this.push(new FormGroup({
13104
13226
  property: new FormControl(null, Validators.required),
13105
13227
  // @TODO disable for loans
13106
- percent: new FormControl({ value: 100, disabled: !this.at(0).contains('percent') }, Validators.required),
13228
+ percent: new FormControl({ value: this.getRemainingPercent(), disabled: !this.at(0).contains('percent') }, Validators.required),
13107
13229
  // @TODO enable for loans
13108
13230
  // amount: new FormControl(
13109
13231
  // {value: this.bankAccount.currentBalance * bankAccountProperty.percent / 100},
@@ -13132,6 +13254,14 @@ class BankAccountPropertiesForm extends FormArray {
13132
13254
  propertyFormGroup.get('percent').disable();
13133
13255
  });
13134
13256
  }
13257
+ /**
13258
+ * Percentage available for adding a new bank account property.
13259
+ * Remaining percent can't be more than 100 and less than 0
13260
+ */
13261
+ getRemainingPercent() {
13262
+ const currentTotalPercent = this.controls.reduce((sum, control) => sum + control.get('percent').value, 0);
13263
+ return currentTotalPercent < 100 ? 100 - currentTotalPercent : 0;
13264
+ }
13135
13265
  }
13136
13266
 
13137
13267
  class BankAccountAllocationForm extends AbstractForm {
@@ -13324,64 +13454,6 @@ class BankLoginForm extends AbstractForm {
13324
13454
  }
13325
13455
  }
13326
13456
 
13327
- /**
13328
- * Check if at least one form field is true, otherwise form is invalid.
13329
- * Use with groups of boolean form controls (checkbox, toggle, etc.)
13330
- */
13331
- function atLeastOneCheckedValidator() {
13332
- return (formGroup) => {
13333
- return Object.values(formGroup.controls)
13334
- .find((control) => control.value) ? null : { nothingChecked: true };
13335
- };
13336
- }
13337
-
13338
- /**
13339
- * Validation function for autocomplete fields. Checks that the user should select a value from a list rather than type in input field
13340
- * @TODO Alex: create class AppValidators with static methods and move there all custom validators (line Angular Validators)
13341
- */
13342
- function autocompleteValidator() {
13343
- return (control) => {
13344
- return (!control.value || (typeof control.value === 'object')) ? null : { notFromList: true };
13345
- };
13346
- }
13347
-
13348
- /**
13349
- * Regular expressions that are used to check password strength and valid values
13350
- */
13351
- const PASSWORD_REGEXPS = {
13352
- medium: /(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})/,
13353
- strong: /(((?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*]))|((?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*]))|((?=.*[A-Z])(?=.*[0-9]))(?=.*[!@#$%^&*]))(?=.{8,})/,
13354
- format: /^[0-9a-zA-Z!@$!%*?&#]*$/
13355
- };
13356
- function passwordValidator() {
13357
- return (control) => {
13358
- if (!PASSWORD_REGEXPS.format.test(control.value)) {
13359
- return { passwordInvalid: true };
13360
- }
13361
- if (!PASSWORD_REGEXPS.medium.test(control.value)) {
13362
- return { passwordWeak: true };
13363
- }
13364
- return null;
13365
- };
13366
- }
13367
-
13368
- function passwordMatchValidator(newPassControlName, confirmPassControlName) {
13369
- return (group) => {
13370
- const passwordControl = group.get(newPassControlName);
13371
- const confirmControl = group.get(confirmPassControlName);
13372
- if (confirmControl.errors && !confirmControl.hasError('passwordMismatch')) {
13373
- // return if another validator has already found an error on the confirmControl
13374
- return this;
13375
- }
13376
- if (passwordControl.value !== confirmControl.value) {
13377
- confirmControl.setErrors({ passwordMismatch: true });
13378
- }
13379
- else {
13380
- confirmControl.setErrors(null);
13381
- }
13382
- };
13383
- }
13384
-
13385
13457
  class ClientIncomeTypesForm extends AbstractForm {
13386
13458
  constructor(clientIncomeTypes) {
13387
13459
  super({
@@ -13968,13 +14040,11 @@ class SoleDetailsForm extends AbstractForm {
13968
14040
  }
13969
14041
  }
13970
14042
 
13971
- /**
13972
- * Public API Surface of tt-core
13973
- */
14043
+ // @TODO Alex: Create indexes everywhere and break this file to imports from indexes
13974
14044
 
13975
14045
  /**
13976
14046
  * Generated bundle index. Do not edit.
13977
14047
  */
13978
14048
 
13979
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountLoanForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, KompassifyService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessOrLosses, MyTaxBusinessOrLossesForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEmployeeShareSchemes, MyTaxEmployeeShareSchemesForm, 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, PdfOrientationEnum, PdfSettings, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductIdEnum, ServiceProductStatusEnum, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessAllocation, SoleBusinessForm, SoleBusinessLoss, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceItem, SoleInvoiceTemplate, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, 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, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, Vehicle, VehicleClaim, VehicleClaimForm, VehicleClaimMethodEnum, VehicleClaimService, VehicleCollection, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WORK_TANK_LOGBOOK_PURPOSE_OPTIONS, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, displayMatOptions, enumToList, getDocIcon, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
14049
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountLoanForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankLoginData, BankLoginForm, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, ChartAccounts, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientIncomeTypes, ClientIncomeTypesForm, ClientIncomeTypesService, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEDUCTION_CATEGORIES, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReceipt, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, KompassifyService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessOrLosses, MyTaxBusinessOrLossesForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEmployeeShareSchemes, MyTaxEmployeeShareSchemesForm, 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, PdfOrientationEnum, PdfSettings, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductIdEnum, ServiceProductStatusEnum, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleBusiness, SoleBusinessAllocation, SoleBusinessForm, SoleBusinessLoss, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleInvoice, SoleInvoiceItem, SoleInvoiceTemplate, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, 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, TransactionCalculationService, TransactionCategoryEnum, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, TutorialVideoService, USER_ROLES, USER_WORK_POSITION, User, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserMedicareExemptionEnum, UserRolesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, Vehicle, VehicleClaim, VehicleClaimForm, VehicleClaimMethodEnum, VehicleClaimService, VehicleCollection, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleService, WORK_TANK_LOGBOOK_PURPOSE_OPTIONS, XlsxService, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, displayMatOptions, enumToList, getDocIcon, passwordMatchValidator, passwordValidator, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
13980
14050
  //# sourceMappingURL=taxtank-core.js.map