taxtank-core 2.0.85 → 2.0.87

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.
@@ -3928,6 +3928,21 @@ let AllocationRuleTransactionMetaField$1 = class AllocationRuleTransactionMetaFi
3928
3928
  class AllocationRuleTransactionMetaField extends AllocationRuleTransactionMetaField$1 {
3929
3929
  }
3930
3930
 
3931
+ var IncomeSourceForecastTrustTypeEnum;
3932
+ (function (IncomeSourceForecastTrustTypeEnum) {
3933
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["SPECIAL_DISABILITY_TRUST"] = 1] = "SPECIAL_DISABILITY_TRUST";
3934
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["DECEASED_ESTATE"] = 2] = "DECEASED_ESTATE";
3935
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["FIXED_TRUST"] = 3] = "FIXED_TRUST";
3936
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["HYBRID_TRUST"] = 4] = "HYBRID_TRUST";
3937
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["DISCRETIONARY_SERVICE_TRUST"] = 5] = "DISCRETIONARY_SERVICE_TRUST";
3938
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["DISCRETIONARY_TRADING_TRUST"] = 6] = "DISCRETIONARY_TRADING_TRUST";
3939
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["DISCRETIONARY_INVESTMENT_TRUST"] = 7] = "DISCRETIONARY_INVESTMENT_TRUST";
3940
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["CASH_MANAGEMENT_UNIT_TRUST"] = 8] = "CASH_MANAGEMENT_UNIT_TRUST";
3941
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["PUBLIC_UNIT_TRUST_LISTED"] = 9] = "PUBLIC_UNIT_TRUST_LISTED";
3942
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["PUBLIC_UNIT_TRUST_UNLISTED"] = 10] = "PUBLIC_UNIT_TRUST_UNLISTED";
3943
+ IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["TESTAMENTARY_TRUST"] = 11] = "TESTAMENTARY_TRUST";
3944
+ })(IncomeSourceForecastTrustTypeEnum || (IncomeSourceForecastTrustTypeEnum = {}));
3945
+
3931
3946
  /**
3932
3947
  * @TODO vik remove
3933
3948
  */
@@ -3939,6 +3954,39 @@ var IncomeSourceTypeEnum;
3939
3954
  IncomeSourceTypeEnum[IncomeSourceTypeEnum["HOLDING"] = 4] = "HOLDING";
3940
3955
  })(IncomeSourceTypeEnum || (IncomeSourceTypeEnum = {}));
3941
3956
 
3957
+ var IncomeSourceTypeListOtherEnum;
3958
+ (function (IncomeSourceTypeListOtherEnum) {
3959
+ IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["PSI"] = 6] = "PSI";
3960
+ IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["SOLE_TRADER"] = 7] = "SOLE_TRADER";
3961
+ IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["TRUSTS"] = 9] = "TRUSTS";
3962
+ IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["OTHER_INCOME"] = 10] = "OTHER_INCOME";
3963
+ IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["PARTNERSHIPS"] = 12] = "PARTNERSHIPS";
3964
+ })(IncomeSourceTypeListOtherEnum || (IncomeSourceTypeListOtherEnum = {}));
3965
+
3966
+ var IncomeSourceTypeListSoleEnum;
3967
+ (function (IncomeSourceTypeListSoleEnum) {
3968
+ IncomeSourceTypeListSoleEnum[IncomeSourceTypeListSoleEnum["SOLE_TRADER"] = 7] = "SOLE_TRADER";
3969
+ })(IncomeSourceTypeListSoleEnum || (IncomeSourceTypeListSoleEnum = {}));
3970
+
3971
+ var IncomeSourceTypeListWorkEnum;
3972
+ (function (IncomeSourceTypeListWorkEnum) {
3973
+ IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["BONUSES"] = 1] = "BONUSES";
3974
+ IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["DIRECTOR_FEES"] = 2] = "DIRECTOR_FEES";
3975
+ IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["INTEREST"] = 4] = "INTEREST";
3976
+ IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["PENSIONS_AND_ALLOWANCES"] = 5] = "PENSIONS_AND_ALLOWANCES";
3977
+ IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["SUPERANNUATION"] = 8] = "SUPERANNUATION";
3978
+ IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["ATTRIBUTED_P_S_I"] = 11] = "ATTRIBUTED_P_S_I";
3979
+ })(IncomeSourceTypeListWorkEnum || (IncomeSourceTypeListWorkEnum = {}));
3980
+
3981
+ var IncomeSourceTypeListHoldingEnum;
3982
+ (function (IncomeSourceTypeListHoldingEnum) {
3983
+ IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["DIVIDENDS"] = 3] = "DIVIDENDS";
3984
+ IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["INTEREST"] = 4] = "INTEREST";
3985
+ IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["TRUSTS"] = 9] = "TRUSTS";
3986
+ IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["OTHER_INCOME"] = 10] = "OTHER_INCOME";
3987
+ IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["PARTNERSHIPS"] = 12] = "PARTNERSHIPS";
3988
+ })(IncomeSourceTypeListHoldingEnum || (IncomeSourceTypeListHoldingEnum = {}));
3989
+
3942
3990
  class SalaryForecast extends SalaryForecast$1 {
3943
3991
  get grossAmount() {
3944
3992
  return this.netPay + this.tax;
@@ -3978,54 +4026,6 @@ __decorate([
3978
4026
  Type(() => IncomeSource)
3979
4027
  ], SoleForecast.prototype, "incomeSource", void 0);
3980
4028
 
3981
- var IncomeSourceForecastTrustTypeEnum;
3982
- (function (IncomeSourceForecastTrustTypeEnum) {
3983
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["SPECIAL_DISABILITY_TRUST"] = 1] = "SPECIAL_DISABILITY_TRUST";
3984
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["DECEASED_ESTATE"] = 2] = "DECEASED_ESTATE";
3985
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["FIXED_TRUST"] = 3] = "FIXED_TRUST";
3986
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["HYBRID_TRUST"] = 4] = "HYBRID_TRUST";
3987
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["DISCRETIONARY_SERVICE_TRUST"] = 5] = "DISCRETIONARY_SERVICE_TRUST";
3988
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["DISCRETIONARY_TRADING_TRUST"] = 6] = "DISCRETIONARY_TRADING_TRUST";
3989
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["DISCRETIONARY_INVESTMENT_TRUST"] = 7] = "DISCRETIONARY_INVESTMENT_TRUST";
3990
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["CASH_MANAGEMENT_UNIT_TRUST"] = 8] = "CASH_MANAGEMENT_UNIT_TRUST";
3991
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["PUBLIC_UNIT_TRUST_LISTED"] = 9] = "PUBLIC_UNIT_TRUST_LISTED";
3992
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["PUBLIC_UNIT_TRUST_UNLISTED"] = 10] = "PUBLIC_UNIT_TRUST_UNLISTED";
3993
- IncomeSourceForecastTrustTypeEnum[IncomeSourceForecastTrustTypeEnum["TESTAMENTARY_TRUST"] = 11] = "TESTAMENTARY_TRUST";
3994
- })(IncomeSourceForecastTrustTypeEnum || (IncomeSourceForecastTrustTypeEnum = {}));
3995
-
3996
- var IncomeSourceTypeListOtherEnum;
3997
- (function (IncomeSourceTypeListOtherEnum) {
3998
- IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["PSI"] = 6] = "PSI";
3999
- IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["SOLE_TRADER"] = 7] = "SOLE_TRADER";
4000
- IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["TRUSTS"] = 9] = "TRUSTS";
4001
- IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["OTHER_INCOME"] = 10] = "OTHER_INCOME";
4002
- IncomeSourceTypeListOtherEnum[IncomeSourceTypeListOtherEnum["PARTNERSHIPS"] = 12] = "PARTNERSHIPS";
4003
- })(IncomeSourceTypeListOtherEnum || (IncomeSourceTypeListOtherEnum = {}));
4004
-
4005
- var IncomeSourceTypeListSoleEnum;
4006
- (function (IncomeSourceTypeListSoleEnum) {
4007
- IncomeSourceTypeListSoleEnum[IncomeSourceTypeListSoleEnum["SOLE_TRADER"] = 7] = "SOLE_TRADER";
4008
- })(IncomeSourceTypeListSoleEnum || (IncomeSourceTypeListSoleEnum = {}));
4009
-
4010
- var IncomeSourceTypeListWorkEnum;
4011
- (function (IncomeSourceTypeListWorkEnum) {
4012
- IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["BONUSES"] = 1] = "BONUSES";
4013
- IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["DIRECTOR_FEES"] = 2] = "DIRECTOR_FEES";
4014
- IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["INTEREST"] = 4] = "INTEREST";
4015
- IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["PENSIONS_AND_ALLOWANCES"] = 5] = "PENSIONS_AND_ALLOWANCES";
4016
- IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["SUPERANNUATION"] = 8] = "SUPERANNUATION";
4017
- IncomeSourceTypeListWorkEnum[IncomeSourceTypeListWorkEnum["ATTRIBUTED_P_S_I"] = 11] = "ATTRIBUTED_P_S_I";
4018
- })(IncomeSourceTypeListWorkEnum || (IncomeSourceTypeListWorkEnum = {}));
4019
-
4020
- var IncomeSourceTypeListHoldingEnum;
4021
- (function (IncomeSourceTypeListHoldingEnum) {
4022
- IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["DIVIDENDS"] = 3] = "DIVIDENDS";
4023
- IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["INTEREST"] = 4] = "INTEREST";
4024
- IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["TRUSTS"] = 9] = "TRUSTS";
4025
- IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["OTHER_INCOME"] = 10] = "OTHER_INCOME";
4026
- IncomeSourceTypeListHoldingEnum[IncomeSourceTypeListHoldingEnum["PARTNERSHIPS"] = 12] = "PARTNERSHIPS";
4027
- })(IncomeSourceTypeListHoldingEnum || (IncomeSourceTypeListHoldingEnum = {}));
4028
-
4029
4029
  class IncomeSourceType extends IncomeSourceType$1 {
4030
4030
  isBonuses() {
4031
4031
  return this.id === IncomeSourceTypeListWorkEnum.BONUSES;
@@ -11596,14 +11596,9 @@ class BudgetRule extends BudgetRule$1 {
11596
11596
  id: this.id,
11597
11597
  class: BudgetRule.className,
11598
11598
  amount: this.amount,
11599
+ tankType: this.chartAccounts.tankType,
11599
11600
  isIncome: this.chartAccounts.isIncome(),
11600
11601
  isExpense: this.chartAccounts.isExpense(),
11601
- isProperty: this.chartAccounts.isPropertyTank(),
11602
- isWork: this.chartAccounts.isWorkTank(),
11603
- isPersonal: this.chartAccounts.isPersonalTank(),
11604
- isSole: this.chartAccounts.isSoleTank(),
11605
- isHolding: this.chartAccounts.isHoldingTank(),
11606
- isOther: this.chartAccounts.isOtherTank(),
11607
11602
  propertyId: this.property?.id,
11608
11603
  businessId: this.business?.id,
11609
11604
  }
@@ -12817,6 +12812,7 @@ var BankConnectionMessagesEnum;
12817
12812
  BankConnectionMessagesEnum["DEACTIVATED"] = "Your live bank feeds are deactivated";
12818
12813
  BankConnectionMessagesEnum["RECONNECT"] = "There has been an issue with your bank connection. Please reconnect to continue receiving bank transactions";
12819
12814
  BankConnectionMessagesEnum["INVALID"] = "There has been an issue with your bank connection. Please reconnect to continue receiving bank transactions";
12815
+ BankConnectionMessagesEnum["INACTIVE"] = "This bank is no longer available via Open Banking (commonly due to a merger). Please contact your bank or TaxTank Support for further information.";
12820
12816
  BankConnectionMessagesEnum["UPGRADE"] = "Upgrade needed from traditional feeds to an Open Banking connection to continue receiving bank transactions";
12821
12817
  BankConnectionMessagesEnum["CONFIRM_UPGRADE"] = "Upgrading to open banking improves stability and data integrity";
12822
12818
  BankConnectionMessagesEnum["AUTOMATE"] = "Upgrade from manual imports to an Open Banking connection to receive daily bank transactions";