taxtank-core 0.33.46 → 0.33.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. package/esm2022/src/lib/collections/chart-accounts/chart-accounts-value.collection.mjs +20 -0
  2. package/esm2022/src/lib/collections/chart-accounts/index.mjs +2 -0
  3. package/esm2022/src/lib/collections/chart-accounts.collection.mjs +2 -2
  4. package/esm2022/src/lib/collections/collection.mjs +2 -2
  5. package/esm2022/src/lib/collections/index.mjs +2 -1
  6. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
  7. package/esm2022/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.mjs} +1 -1
  8. package/esm2022/src/lib/db/Enums/{allocation-rule-condition-field.enum.mjs → bank/allocation-rule/allocation-rule-condition-field.enum.mjs} +1 -1
  9. package/esm2022/src/lib/db/Enums/{allocation-rule-condition-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-operator.enum.mjs} +1 -1
  10. package/esm2022/src/lib/db/Enums/bank/allocation-rule/allocation-rule-type.enum.mjs +7 -0
  11. package/esm2022/src/lib/db/Enums/bank/allocation-rule/index.mjs +5 -0
  12. package/esm2022/src/lib/db/Enums/bank/index.mjs +2 -1
  13. package/esm2022/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.mjs +39 -0
  14. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +20 -66
  15. package/esm2022/src/lib/db/Enums/chart-accounts/home-office-chart-accounts.enum.mjs +18 -0
  16. package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +3 -3
  17. package/esm2022/src/lib/db/Enums/home-office/home-office-claim-method.enum.mjs +7 -0
  18. package/esm2022/src/lib/db/Enums/home-office/index.mjs +2 -0
  19. package/esm2022/src/lib/db/Enums/index.mjs +2 -6
  20. package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +2 -2
  21. package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +1 -2
  22. package/esm2022/src/lib/db/Models/sole/sole-business.mjs +2 -1
  23. package/esm2022/src/lib/db/Models/sole/sole-details.mjs +2 -1
  24. package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
  25. package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +2 -1
  26. package/esm2022/src/lib/forms/abstract.form.mjs +34 -2
  27. package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
  28. package/esm2022/src/lib/forms/home-office/home-office-claim.form.mjs +47 -0
  29. package/esm2022/src/lib/forms/home-office/home-office-log.form.mjs +15 -0
  30. package/esm2022/src/lib/forms/home-office/index.mjs +3 -0
  31. package/esm2022/src/lib/forms/index.mjs +2 -1
  32. package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +17 -11
  33. package/esm2022/src/lib/models/endpoint/endpoint.mjs +1 -1
  34. package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +4 -1
  35. package/esm2022/src/lib/models/home-office/home-office-claim.interface.mjs +2 -0
  36. package/esm2022/src/lib/models/home-office/home-office-claim.mjs +26 -0
  37. package/esm2022/src/lib/models/home-office/home-office-log.interface.mjs +2 -0
  38. package/esm2022/src/lib/models/home-office/home-office-log.mjs +14 -0
  39. package/esm2022/src/lib/models/home-office/index.mjs +5 -0
  40. package/esm2022/src/lib/models/index.mjs +2 -1
  41. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +14 -14
  42. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +18 -18
  43. package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +12 -12
  44. package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +25 -2
  45. package/esm2022/src/lib/models/transaction/transaction.mjs +6 -3
  46. package/esm2022/src/lib/services/http/home-office/home-office-claim-messages.enum.mjs +8 -0
  47. package/esm2022/src/lib/services/http/home-office/home-office-claim.service.mjs +23 -0
  48. package/esm2022/src/lib/services/http/home-office/home-office-log-messages.enum.mjs +8 -0
  49. package/esm2022/src/lib/services/http/home-office/home-office-log.service.mjs +23 -0
  50. package/esm2022/src/lib/services/http/home-office/index.mjs +5 -0
  51. package/esm2022/src/lib/services/http/index.mjs +3 -1
  52. package/esm2022/src/lib/services/http/rest-messages.enum.mjs +7 -0
  53. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +9 -5
  54. package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +4 -12
  55. package/fesm2022/taxtank-core.mjs +368 -161
  56. package/fesm2022/taxtank-core.mjs.map +1 -1
  57. package/package.json +1 -1
  58. package/src/lib/collections/chart-accounts/chart-accounts-value.collection.d.ts +12 -0
  59. package/src/lib/collections/chart-accounts/index.d.ts +1 -0
  60. package/src/lib/collections/collection.d.ts +1 -1
  61. package/src/lib/collections/index.d.ts +1 -0
  62. package/src/lib/db/Enums/bank/allocation-rule/index.d.ts +4 -0
  63. package/src/lib/db/Enums/bank/index.d.ts +1 -0
  64. package/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.d.ts +37 -0
  65. package/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +20 -66
  66. package/src/lib/db/Enums/chart-accounts/home-office-chart-accounts.enum.d.ts +16 -0
  67. package/src/lib/db/Enums/chart-accounts/index.d.ts +2 -2
  68. package/src/lib/db/Enums/home-office/home-office-claim-method.enum.d.ts +5 -0
  69. package/src/lib/db/Enums/home-office/index.d.ts +1 -0
  70. package/src/lib/db/Enums/index.d.ts +1 -4
  71. package/src/lib/db/Models/depreciation/depreciation.d.ts +0 -1
  72. package/src/lib/db/Models/sole/sole-business.d.ts +1 -0
  73. package/src/lib/db/Models/sole/sole-details.d.ts +1 -0
  74. package/src/lib/db/Models/user/user.d.ts +1 -1
  75. package/src/lib/db/Models/vehicle/vehicle-claim.d.ts +1 -0
  76. package/src/lib/forms/abstract.form.d.ts +10 -0
  77. package/src/lib/forms/home-office/home-office-claim.form.d.ts +12 -0
  78. package/src/lib/forms/home-office/home-office-log.form.d.ts +5 -0
  79. package/src/lib/forms/home-office/index.d.ts +2 -0
  80. package/src/lib/forms/index.d.ts +1 -0
  81. package/src/lib/models/chart-accounts/chart-accounts.d.ts +3 -1
  82. package/src/lib/models/home-office/home-office-claim.d.ts +22 -0
  83. package/src/lib/models/home-office/home-office-claim.interface.d.ts +17 -0
  84. package/src/lib/models/home-office/home-office-log.d.ts +11 -0
  85. package/src/lib/models/home-office/home-office-log.interface.d.ts +9 -0
  86. package/src/lib/models/home-office/index.d.ts +4 -0
  87. package/src/lib/models/index.d.ts +1 -0
  88. package/src/lib/models/sole/sole-invoice-item.d.ts +2 -1
  89. package/src/lib/models/transaction/transaction.d.ts +1 -0
  90. package/src/lib/services/http/home-office/home-office-claim-messages.enum.d.ts +6 -0
  91. package/src/lib/services/http/home-office/home-office-claim.service.d.ts +12 -0
  92. package/src/lib/services/http/home-office/home-office-log-messages.enum.d.ts +6 -0
  93. package/src/lib/services/http/home-office/home-office-log.service.d.ts +12 -0
  94. package/src/lib/services/http/home-office/index.d.ts +4 -0
  95. package/src/lib/services/http/index.d.ts +2 -0
  96. package/src/lib/services/http/rest-messages.enum.d.ts +5 -0
  97. package/src/lib/services/http/transaction/transaction.service.d.ts +1 -0
  98. package/src/lib/services/json/chart-accounts/chart-accounts-value.service.d.ts +3 -7
  99. package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +0 -7
  100. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +0 -25
  101. package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +0 -6
  102. package/esm2022/src/lib/validators/address-corelogic.validator.mjs +0 -19
  103. package/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.d.ts +0 -23
  104. package/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +0 -4
  105. package/src/lib/validators/address-corelogic.validator.d.ts +0 -6
  106. /package/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.d.ts} +0 -0
  107. /package/src/lib/db/Enums/{allocation-rule-condition-field.enum.d.ts → bank/allocation-rule/allocation-rule-condition-field.enum.d.ts} +0 -0
  108. /package/src/lib/db/Enums/{allocation-rule-condition-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-operator.enum.d.ts} +0 -0
  109. /package/src/lib/db/Enums/{allocation-rule-type.enum.d.ts → bank/allocation-rule/allocation-rule-type.enum.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { ChartAccountsCategoryEnum, ChartAccountsHeadingListEnum, ChartAccountsListEnum } from '../../../../../db/Enums';
1
+ import { BusinessChartAccountsEnum, ChartAccountsCategoryEnum, ChartAccountsHeadingListEnum } from '../../../../../db/Enums';
2
2
  import { BUSINESS_INCOME_OR_LOSSES_CATEGORIES } from '../business-income-or-losses-categories.const';
3
3
  import { TaxReturnCategoryListEnum } from '../../../../../db/Enums/tax-return/tax-return-category-list.enum';
4
4
  /**
@@ -9,22 +9,22 @@ export class MyTaxBusinessIncome {
9
9
  constructor(psiIncome, soleIncome, taxSummary) {
10
10
  this.psiIncomeAmount = psiIncome.filterBy('chartAccounts.heading.id', ChartAccountsHeadingListEnum.PSI).amount;
11
11
  this.psiVoluntaryAgreementAmount = psiIncome
12
- .filterBy('chartAccounts.id', ChartAccountsListEnum.PSI_VOLUNTARY_AGREEMENT)
12
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.PSI_VOLUNTARY_AGREEMENT)
13
13
  .amount;
14
14
  this.psiABNNotQuotedAmount = psiIncome
15
- .filterBy('chartAccounts.id', ChartAccountsListEnum.PSI_ABN_NOT_QUOTED)
15
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.PSI_ABN_NOT_QUOTED)
16
16
  .amount;
17
17
  this.psiLabourHireOrOtherAmount = psiIncome
18
- .filterBy('chartAccounts.id', ChartAccountsListEnum.PSI_LABOUR_HIRE_OR_OTHER)
18
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.PSI_LABOUR_HIRE_OR_OTHER)
19
19
  .amount;
20
20
  this.psiOtherAmount = psiIncome
21
- .filterBy('chartAccounts.id', ChartAccountsListEnum.PSI_OTHER)
21
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.PSI_OTHER)
22
22
  .amount;
23
23
  this.psiDeductionAssociatesAmount = psiIncome
24
- .filterBy('chartAccounts.id', ChartAccountsListEnum.PSI_DEDUCTION_ASSOCIATES)
24
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.PSI_DEDUCTION_ASSOCIATES)
25
25
  .amount;
26
26
  this.psiDeductionOtherAmount = psiIncome
27
- .filterBy('chartAccounts.id', ChartAccountsListEnum.PSI_DEDUCTION_OTHER)
27
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.PSI_DEDUCTION_OTHER)
28
28
  .amount;
29
29
  this.netPSIAmount = psiIncome
30
30
  .filterBy('chartAccounts.id', BUSINESS_INCOME_OR_LOSSES_CATEGORIES.psiIncomes)
@@ -33,42 +33,42 @@ export class MyTaxBusinessIncome {
33
33
  .filterBy('chartAccounts.id', BUSINESS_INCOME_OR_LOSSES_CATEGORIES.psiDeductions)
34
34
  .amount;
35
35
  this.psiVoluntaryAgreementTax = psiIncome
36
- .filterBy('chartAccounts.id', ChartAccountsListEnum.PSI_VOLUNTARY_AGREEMENT)
36
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.PSI_VOLUNTARY_AGREEMENT)
37
37
  .sumBy('tax');
38
38
  this.psiABNNotQuotedTax = psiIncome
39
- .filterBy('chartAccounts.id', ChartAccountsListEnum.PSI_ABN_NOT_QUOTED)
39
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.PSI_ABN_NOT_QUOTED)
40
40
  .sumBy('tax');
41
41
  this.psiLabourHireOrOtherTax = psiIncome
42
- .filterBy('chartAccounts.id', [ChartAccountsListEnum.PSI_LABOUR_HIRE_OR_OTHER, ChartAccountsListEnum.PSI_OTHER])
42
+ .filterBy('chartAccounts.id', [BusinessChartAccountsEnum.PSI_LABOUR_HIRE_OR_OTHER, BusinessChartAccountsEnum.PSI_OTHER])
43
43
  .sumBy('tax');
44
44
  this.netPSITax = psiIncome
45
45
  .filterBy('chartAccounts.id', BUSINESS_INCOME_OR_LOSSES_CATEGORIES.psiIncomes)
46
46
  .sumBy('tax');
47
47
  this.grossPaymentsNoAbsGivenAmount = soleIncome
48
- .filterBy('chartAccounts.id', ChartAccountsListEnum.GROSS_PAYMENTS_NO_ABN_GIVEN)
48
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.GROSS_PAYMENTS_NO_ABN_GIVEN)
49
49
  .amount;
50
50
  this.grossPaymentsVoluntaryAgreementAmount = soleIncome
51
- .filterBy('chartAccounts.id', ChartAccountsListEnum.GROSS_PAYMENTS_VOLUNTARY_AGREEMENT)
51
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.GROSS_PAYMENTS_VOLUNTARY_AGREEMENT)
52
52
  .amount;
53
53
  this.grossPaymentsLabourHireAmount = soleIncome
54
- .filterBy('chartAccounts.id', ChartAccountsListEnum.GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS)
54
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS)
55
55
  .amount;
56
56
  this.assessibleGovernmentPaymentsAmount = soleIncome
57
- .filterBy('chartAccounts.id', ChartAccountsListEnum.ASSESSIBLE_GOVERNMENT_PAYMENTS)
57
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.ASSESSIBLE_GOVERNMENT_PAYMENTS)
58
58
  .amount;
59
59
  this.otherBusinessIncomeAmount = taxSummary.sole.items.sumByCategories([TaxReturnCategoryListEnum.OTHER_BUSINESS_INCOME]);
60
60
  this.nonPrimaryProductionTotalAmount = soleIncome
61
61
  .filterBy('chartAccounts.category', ChartAccountsCategoryEnum.SOLE_INCOME)
62
62
  .amount;
63
63
  this.grossPaymentsNoAbsGivenTax = soleIncome
64
- .filterBy('chartAccounts.id', ChartAccountsListEnum.GROSS_PAYMENTS_NO_ABN_GIVEN)
64
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.GROSS_PAYMENTS_NO_ABN_GIVEN)
65
65
  .sumBy('tax');
66
66
  this.grossPaymentsVoluntaryAgreementTax = soleIncome
67
- .filterBy('chartAccounts.id', ChartAccountsListEnum.GROSS_PAYMENTS_VOLUNTARY_AGREEMENT)
67
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.GROSS_PAYMENTS_VOLUNTARY_AGREEMENT)
68
68
  .sumBy('tax');
69
69
  this.grossPaymentsLabourHireTax = soleIncome
70
- .filterBy('chartAccounts.id', ChartAccountsListEnum.GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS)
70
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS)
71
71
  .sumBy('tax');
72
72
  }
73
73
  }
74
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktdGF4LWJ1c2luZXNzLWluY29tZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvcmVwb3J0L215LXRheC9teS10YXgtYnVzaW5lc3MtaW5jb21lLW9yLWxvc3Nlcy9teS10YXgtYnVzaW5lc3MtaW5jb21lL215LXRheC1idXNpbmVzcy1pbmNvbWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLHlCQUF5QixFQUFFLDRCQUE0QixFQUFFLHFCQUFxQixFQUF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c3NQYXltZW50c0xhYm91ckhpcmVUYXggPSBzb2xlSW5jb21lXG4gICAgICAuZmlsdGVyQnkoJ2NoYXJ0QWNjb3VudHMuaWQnLCBCdXNpbmVzc0NoYXJ0QWNjb3VudHNFbnVtLkdST1NTX1BBWU1FTlRTX0xBQk9VUl9ISVJFX09SX09USEVSX1NQRUNJRklFRF9QQVlNRU5UUylcbiAgICAgIC5zdW1CeSgndGF4Jyk7XG4gIH1cbn1cbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  import { TAX_RETURN_CATEGORIES } from '../../../../../collections';
2
- import { ChartAccountsCategoryEnum, ChartAccountsHeadingListEnum, ChartAccountsListEnum, TaxReturnCategoryListEnum, TaxReturnItemEnum } from '../../../../../db/Enums';
2
+ import { BusinessChartAccountsEnum, ChartAccountsCategoryEnum, ChartAccountsHeadingListEnum, TaxReturnCategoryListEnum, TaxReturnItemEnum, } from '../../../../../db/Enums';
3
3
  import { TaxSummarySectionEnum } from '../../../../../db/Enums/tax-summary-section.enum';
4
4
  /**
5
5
  * Sole business information related to expense transactions (losses)
@@ -9,34 +9,34 @@ export class MyTaxBusinessLosses {
9
9
  constructor(transactions, depreciations, businessLosses, currentLoss, taxSummary) {
10
10
  this.currentLoss = currentLoss;
11
11
  this.purchasesAndOtherCostsAmount = Math.abs(transactions.getExpenseTransactions()
12
- .filterBy('chartAccounts.id', ChartAccountsListEnum.PURCHASES_STOCK_INVENTORY)
12
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.PURCHASES_STOCK_INVENTORY)
13
13
  .sumBy('claimAmount'));
14
14
  this.contractorsAndCommissionAmount = Math.abs(transactions.getExpenseTransactions()
15
- .filterBy('chartAccounts.id', ChartAccountsListEnum.CONTRACTORS_AND_COMMISSION)
15
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.CONTRACTORS_AND_COMMISSION)
16
16
  .sumBy('claimAmount'));
17
17
  this.superannuationAmount = Math.abs(transactions.getExpenseTransactions()
18
- .filterBy('chartAccounts.id', ChartAccountsListEnum.SUPERANNUATION)
18
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.SUPERANNUATION)
19
19
  .sumBy('claimAmount'));
20
20
  this.badDebtAmount = Math.abs(transactions.getExpenseTransactions()
21
- .filterBy('chartAccounts.id', ChartAccountsListEnum.BAD_DEBT)
21
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.BAD_DEBT)
22
22
  .sumBy('claimAmount'));
23
23
  this.leaseExpensesCommercialAmount = Math.abs(transactions.getExpenseTransactions()
24
- .filterBy('chartAccounts.id', ChartAccountsListEnum.LEASE_EXPENSES_COMMERCIAL)
24
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.LEASE_EXPENSES_COMMERCIAL)
25
25
  .sumBy('claimAmount'));
26
26
  this.rentExpensesCommercialPremisesAmount = Math.abs(transactions.getExpenseTransactions()
27
- .filterBy('chartAccounts.id', ChartAccountsListEnum.RENT_EXPENSES_COMMERCIAL_PREMISES)
27
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.RENT_EXPENSES_COMMERCIAL_PREMISES)
28
28
  .sumBy('claimAmount'));
29
29
  this.interestExpensesAustraliaAmount = Math.abs(transactions.getExpenseTransactions()
30
- .filterBy('chartAccounts.id', ChartAccountsListEnum.INTEREST_EXPENSES_AUSTRALIA)
30
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.INTEREST_EXPENSES_AUSTRALIA)
31
31
  .sumBy('claimAmount'));
32
32
  this.interestExpensesOverseasAmount = Math.abs(transactions.getExpenseTransactions()
33
- .filterBy('chartAccounts.id', ChartAccountsListEnum.INTEREST_EXPENSES_OVERSEAS)
33
+ .filterBy('chartAccounts.id', BusinessChartAccountsEnum.INTEREST_EXPENSES_OVERSEAS)
34
34
  .sumBy('claimAmount'));
35
35
  this.kmsTravelledExpensesAmount = Math.abs(transactions
36
- .filterBy('chartAccounts.category', [ChartAccountsListEnum.KLMS_TRAVELLED])
36
+ .filterBy('chartAccounts.category', [BusinessChartAccountsEnum.KMS_TRAVELLED])
37
37
  .sumBy('claimAmount') +
38
38
  depreciations
39
- .filterBy('chartAccounts.category', [ChartAccountsListEnum.KLMS_TRAVELLED])
39
+ .filterBy('chartAccounts.category', [BusinessChartAccountsEnum.KMS_TRAVELLED])
40
40
  .sumBy('claimAmount'));
41
41
  this.logbookExpensesAmount = Math.abs(transactions.getVehicleTransactions().sumBy('claimAmount')) +
42
42
  depreciations.getVehicleDepreciations().sumBy('claimAmount');
@@ -66,4 +66,4 @@ export class MyTaxBusinessLosses {
66
66
  this.deferredLossesAmount = taxSummary.sole.items.sumByCategoriesAndSection(TAX_RETURN_CATEGORIES.sole.lossCurrent, TaxSummarySectionEnum.SOLE_TANK);
67
67
  }
68
68
  }
69
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktdGF4LWJ1c2luZXNzLWxvc3Nlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvcmVwb3J0L215LXRheC9teS10YXgtYnVzaW5lc3MtaW5jb21lLW9yLWxvc3Nlcy9teS10YXgtYnVzaW5lc3MtbG9zc2VzL215LXRheC1idXNpbmVzcy1sb3NzZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUdMLHFCQUFxQixFQUV0QixNQUFNLDRCQUE0QixDQUFDO0FBQ3BDLE9BQU8sRUFDTCx5QkFBeUIsRUFDekIsNEJBQTRCLEVBQzVCLHFCQUFxQixFQUNyQix5QkFBeUIsRUFDekIsaUJBQWlCLEVBQ2xCLE1BQU0seUJBQXlCLENBQUM7QUFHakMsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sa0RBQWtELENBQUM7QUFFekY7OztHQUdHO0FBQ0gsTUFBTSxPQUFPLG1CQUFtQjtJQXNCOU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ZWR1Y3Rpb25zRm9yR2VuZXJhbFNtYWxsQnVzaW5lc3NQb29sQW1vdW50ID0gZGVwcmVjaWF0aW9uc1xuICAgICAgLmdldFNCUERlcHJlY2lhdGlvbnMoKVxuICAgICAgLnN1bUJ5KCdjbGFpbUFtb3VudCcpO1xuICAgIHRoaXMuY3VycmVudFllYXJOZXROb25QcmltYXJ5SW5jb21lT3JMb3NzZXNBbW91bnQgPSB0YXhTdW1tYXJ5LnNvbGUuaXRlbXMuc3VtQnlDYXRlZ29yaWVzQW5kU2VjdGlvbihcbiAgICAgIFtUYXhSZXR1cm5DYXRlZ29yeUxpc3RFbnVtLkJVU0lORVNTX0lOQ09NRV9PUl9MT1NTXSxcbiAgICAgIFRheFN1bW1hcnlTZWN0aW9uRW51bS5TT0xFX1RBTktcbiAgICApXG4gICAgdGhpcy5wcmlvclllYXJzTm9uUHJpbWFyeUxvc3Nlc0Ftb3VudCA9IGJ1c2luZXNzTG9zc2VzLnN1bUJ5KCdvcGVuQmFsYW5jZScpO1xuICAgIHRoaXMubmV0Tm9uUHJpbWFyeUluY29tZU9yTG9zc2VzQW1vdW50ID0gdGhpcy5jdXJyZW50WWVhck5ldE5vblByaW1hcnlJbmNvbWVPckxvc3Nlc0Ftb3VudCAtXG4gICAgICB0aGlzLnByaW9yWWVhcnNOb25QcmltYXJ5TG9zc2VzQW1vdW50O1xuICAgIHRoaXMuZGVmZXJyZWRMb3NzZXNBbW91bnQgPSB0YXhTdW1tYXJ5LnNvbGUuaXRlbXMuc3VtQnlDYXRlZ29yaWVzQW5kU2VjdGlvbihcbiAgICAgIFRBWF9SRVRVUk5fQ0FURUdPUklFUy5zb2xlLmxvc3NDdXJyZW50LFxuICAgICAgVGF4U3VtbWFyeVNlY3Rpb25FbnVtLlNPTEVfVEFOS1xuICAgIClcbiAgfVxufVxuIl19
@@ -6,12 +6,35 @@ import { Type, plainToClass } from 'class-transformer';
6
6
  import { Transaction } from '../transaction';
7
7
  import { TransactionSourceEnum } from '../../db/Enums/transaction-source.enum';
8
8
  import { TransactionOperationEnum } from '../../db/Enums/transaction-operation.enum';
9
- import { SoleInvoiceTaxTypeEnum } from '../../db/Enums';
9
+ import { BusinessChartAccountsEnum, SoleInvoiceTaxTypeEnum } from '../../db/Enums';
10
10
  export class SoleInvoiceItem extends SoleInvoiceItemBase {
11
11
  constructor() {
12
12
  super(...arguments);
13
13
  this.isGST = false;
14
14
  }
15
+ static { this.chartAccounts = [
16
+ BusinessChartAccountsEnum.PSI_ABN_NOT_QUOTED,
17
+ BusinessChartAccountsEnum.PSI_LABOUR_HIRE_OR_OTHER,
18
+ BusinessChartAccountsEnum.PSI_VOLUNTARY_AGREEMENT,
19
+ BusinessChartAccountsEnum.SALES,
20
+ BusinessChartAccountsEnum.LABOUR,
21
+ BusinessChartAccountsEnum.UBER_INCOME,
22
+ BusinessChartAccountsEnum.COMMISSION,
23
+ BusinessChartAccountsEnum.PARTS_CONSUMABLES,
24
+ BusinessChartAccountsEnum.OTHER_BUSINESS_INCOME,
25
+ BusinessChartAccountsEnum.ASSESSIBLE_GOVERNMENT_PAYMENTS,
26
+ BusinessChartAccountsEnum.GROSS_PAYMENTS_NO_ABN_GIVEN,
27
+ BusinessChartAccountsEnum.GROSS_PAYMENTS_VOLUNTARY_AGREEMENT,
28
+ BusinessChartAccountsEnum.GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS,
29
+ BusinessChartAccountsEnum.CONTRACTORS_AND_COMMISSION,
30
+ BusinessChartAccountsEnum.SUPERANNUATION,
31
+ BusinessChartAccountsEnum.PSI_OTHER,
32
+ BusinessChartAccountsEnum.OTHER_ASSESSABLE_PAYMENTS,
33
+ BusinessChartAccountsEnum.JOBKEEPER,
34
+ BusinessChartAccountsEnum.GST_REFUND,
35
+ BusinessChartAccountsEnum.PAYG_INSTALLMENTS,
36
+ BusinessChartAccountsEnum.INTEREST_EARNED
37
+ ]; }
15
38
  get totalPrice() {
16
39
  return this.price * this.quantity;
17
40
  }
@@ -44,4 +67,4 @@ __decorate([
44
67
  __decorate([
45
68
  Type(() => Transaction)
46
69
  ], SoleInvoiceItem.prototype, "transactions", void 0);
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3NvbGUvc29sZS1pbnZvaWNlLWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxlQUFlLElBQUksbUJBQW1CLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUNoRyxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDN0MsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxJQUFJLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDdkQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBQy9FLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDJDQUEyQyxDQUFDO0FBQ3JGLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXhELE1BQU0sT0FBTyxlQUFnQixTQUFRLG1CQUFtQjtJQUF4RDs7UUFVRSxVQUFLLEdBQUcsS0FBSyxDQUFDO0lBMkJoQixDQUFDO0lBekJDLElBQUksVUFBVTtRQUNaLE9BQU8sSUFBSSxDQUFDLEtBQUssR0FBRyxJQUFJLENBQUMsUUFBUSxDQUFDO0lBQ3BDLENBQUM7S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AgfVxuXG4gIHRvVHJhbnNhY3Rpb24oKTogVHJhbnNhY3Rpb24ge1xuICAgIHJldHVybiBwbGFpblRvQ2xhc3MoVHJhbnNhY3Rpb24sIHtcbiAgICAgIGNoYXJ0QWNjb3VudHM6IHRoaXMuY2hhcnRBY2NvdW50cyxcbiAgICAgIGRlc2NyaXB0aW9uOiB0aGlzLmRlc2NyaXB0aW9uLFxuICAgICAgc291cmNlOiBUcmFuc2FjdGlvblNvdXJjZUVudW0uQkFOS19UUkFOU0FDVElPTixcbiAgICAgIGlzR1NUOiB0aGlzLmlzR1NULFxuICAgICAgb3BlcmF0aW9uOiBUcmFuc2FjdGlvbk9wZXJhdGlvbkVudW0uQUxMT0NBVEVfSU5WT0lDRSxcbiAgICAgIGludm9pY2VJdGVtOiB0aGlzXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,7 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { Transaction as TransactionBase } from '../../db/Models/transaction/transaction';
3
3
  import { TransactionTypeEnum } from '../../db/Enums/transaction-type.enum';
4
- import { ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaFieldListEnum, ChartAccountsUnallocatableListEnum, } from '../../db/Enums';
4
+ import { ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMetaFieldListEnum, } from '../../db/Enums';
5
5
  import { TransactionOperationEnum } from '../../db/Enums/transaction-operation.enum';
6
6
  import { TransactionSourceEnum } from '../../db/Enums/transaction-source.enum';
7
7
  import { DepreciationTypeEnum } from '../../db/Enums/depreciation-type.enum';
@@ -116,7 +116,7 @@ export class Transaction extends TransactionBase {
116
116
  return !this.parentTransaction
117
117
  && !this.isCash()
118
118
  && !(this.isSoleTank() && this.isIncome())
119
- && !Object.values(ChartAccountsUnallocatableListEnum).includes(this.chartAccounts.id)
119
+ && this.isEditable()
120
120
  && !this.isAllocated(allocations);
121
121
  }
122
122
  /**
@@ -200,6 +200,9 @@ export class Transaction extends TransactionBase {
200
200
  this.incomeSource = transaction.incomeSource;
201
201
  this.business = transaction.business;
202
202
  }
203
+ isEditable() {
204
+ return !ChartAccounts.systemList.includes(this.chartAccounts.id);
205
+ }
203
206
  }
204
207
  __decorate([
205
208
  Type(() => Transaction)
@@ -234,4 +237,4 @@ __decorate([
234
237
  __decorate([
235
238
  Transform(({ value }) => +value)
236
239
  ], Transaction.prototype, "tax", void 0);
237
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvbW9kZWxzL3RyYW5zYWN0aW9uL3RyYW5zYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsV0FBVyxJQUFJLGVBQWUsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHNDQUFzQyxDQUFDO0FBQzNFLE9BQU8sRUFDTCxxQkFBcUIsRUFDckIscUJBQXFCLEVBQ3JCLDhCQUE4QixFQUFFLGtDQUFrQyxHQUNuRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3hCLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDJDQUEyQyxDQUFDO0FBQ3JGLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBQy9FLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzdFLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQzNGLE9BQU8sRUFBRSxTQUFTLEVBQUUsSUFBSSxFQUFFLFlBQVksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xFLE9BQU8s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WN0aW9uLmluY29tZVNvdXJjZTtcbiAgICB0aGlzLmJ1c2luZXNzID0gdHJhbnNhY3Rpb24uYnVzaW5lc3M7XG4gIH1cblxuICBpc0VkaXRhYmxlKCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiAhQ2hhcnRBY2NvdW50cy5zeXN0ZW1MaXN0LmluY2x1ZGVzKHRoaXMuY2hhcnRBY2NvdW50cy5pZCk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,8 @@
1
+ export var HomeOfficeClaimMessagesEnum;
2
+ (function (HomeOfficeClaimMessagesEnum) {
3
+ HomeOfficeClaimMessagesEnum["CREATED"] = "Claim created";
4
+ HomeOfficeClaimMessagesEnum["UPDATED"] = "Claim updated";
5
+ HomeOfficeClaimMessagesEnum["DELETED"] = "Claim deleted";
6
+ HomeOfficeClaimMessagesEnum["CONFIRM_DELETE"] = "Are you sure you want to delete this claim?";
7
+ })(HomeOfficeClaimMessagesEnum || (HomeOfficeClaimMessagesEnum = {}));
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZS1vZmZpY2UtY2xhaW0tbWVzc2FnZXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL2hvbWUtb2ZmaWNlL2hvbWUtb2ZmaWNlLWNsYWltLW1lc3NhZ2VzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksMkJBS1g7QUFMRCxXQUFZLDJCQUEyQjtJQUNyQyx3REFBeUIsQ0FBQTtJQUN6Qix3REFBeUIsQ0FBQTtJQUN6Qix3REFBeUIsQ0FBQTtJQUN6Qiw2RkFBOEQsQ0FBQTtBQUNoRSxDQUFDLEVBTFcsMkJBQTJCLEtBQTNCLDJCQUEyQixRQUt0QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEhvbWVPZmZpY2VDbGFpbU1lc3NhZ2VzRW51bSB7XG4gIENSRUFURUQgPSAnQ2xhaW0gY3JlYXRlZCcsXG4gIFVQREFURUQgPSAnQ2xhaW0gdXBkYXRlZCcsXG4gIERFTEVURUQgPSAnQ2xhaW0gZGVsZXRlZCcsXG4gIENPTkZJUk1fREVMRVRFID0gJ0FyZSB5b3Ugc3VyZSB5b3Ugd2FudCB0byBkZWxldGUgdGhpcyBjbGFpbT8nLFxufVxuIl19
@@ -0,0 +1,23 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { RestService } from '../rest';
3
+ import { Collection } from '../../../collections';
4
+ import { HomeOfficeClaim } from '../../../models/home-office';
5
+ import * as i0 from "@angular/core";
6
+ export class HomeOfficeClaimService extends RestService {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.endpointUri = 'home-office-claims';
10
+ this.modelClass = HomeOfficeClaim;
11
+ this.collectionClass = (Collection);
12
+ this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13
+ }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HomeOfficeClaimService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HomeOfficeClaimService, providedIn: 'root' }); }
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HomeOfficeClaimService, decorators: [{
18
+ type: Injectable,
19
+ args: [{
20
+ providedIn: 'root'
21
+ }]
22
+ }] });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZS1vZmZpY2UtY2xhaW0uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2Vz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LCBIb21lT2ZmaWNlQ2xhaW1JbnRlcmZhY2UgfSBmcm9tICcuLi8uLi8uLi9tb2RlbHMvaG9tZS1vZmZpY2UnO1xuXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290J1xufSlcbmV4cG9ydCBjbGFzcyBIb21lT2ZmaWNlQ2xhaW1TZXJ2aWNlIGV4dGVuZHMgUmVzdFNlcnZpY2U8SG9tZU9mZmljZUNsYWltSW50ZXJmYWNlLCBIb21lT2ZmaWNlQ2xhaW0sIENvbGxlY3Rpb248SG9tZU9mZmljZUNsYWltPj4ge1xuICBwcm90ZWN0ZWQgZW5kcG9pbnRVcmkgPSAnaG9tZS1vZmZpY2UtY2xhaW1zJztcbiAgbW9kZWxDbGFzczogdHlwZW9mIEhvbWVPZmZpY2VDbGFpbSA9IEhvbWVPZmZpY2VDbGFpbTtcbiAgY29sbGVjdGlvbkNsYXNzOiB0eXBlb2YgQ29sbGVjdGlvbjxIb21lT2ZmaWNlQ2xhaW0+ID0gQ29sbGVjdGlvbjxIb21lT2ZmaWNlQ2xhaW0+O1xuICBkaXNhYmxlZE1ldGhvZHM6IFJlc3RNZXRob2RbXSA9IFsncG9zdEJhdGNoJywgJ3B1dEJhdGNoJywgJ2RlbGV0ZUJhdGNoJ107XG59XG4iXX0=
@@ -0,0 +1,8 @@
1
+ export var HomeOfficeLogMessagesEnum;
2
+ (function (HomeOfficeLogMessagesEnum) {
3
+ HomeOfficeLogMessagesEnum["CREATED"] = "Log created";
4
+ HomeOfficeLogMessagesEnum["UPDATED"] = "Log updated";
5
+ HomeOfficeLogMessagesEnum["DELETED"] = "Log deleted";
6
+ HomeOfficeLogMessagesEnum["CONFIRM_DELETE"] = "Are you sure you want to delete this Log?";
7
+ })(HomeOfficeLogMessagesEnum || (HomeOfficeLogMessagesEnum = {}));
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZS1vZmZpY2UtbG9nLW1lc3NhZ2VzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9ob21lLW9mZmljZS9ob21lLW9mZmljZS1sb2ctbWVzc2FnZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSx5QkFLWDtBQUxELFdBQVkseUJBQXlCO0lBQ25DLG9EQUF1QixDQUFBO0lBQ3ZCLG9EQUF1QixDQUFBO0lBQ3ZCLG9EQUF1QixDQUFBO0lBQ3ZCLHlGQUE0RCxDQUFBO0FBQzlELENBQUMsRUFMVyx5QkFBeUIsS0FBekIseUJBQXlCLFFBS3BDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gSG9tZU9mZmljZUxvZ01lc3NhZ2VzRW51bSB7XG4gIENSRUFURUQgPSAnTG9nIGNyZWF0ZWQnLFxuICBVUERBVEVEID0gJ0xvZyB1cGRhdGVkJyxcbiAgREVMRVRFRCA9ICdMb2cgZGVsZXRlZCcsXG4gIENPTkZJUk1fREVMRVRFID0gJ0FyZSB5b3Ugc3VyZSB5b3Ugd2FudCB0byBkZWxldGUgdGhpcyBMb2c/Jyxcbn1cbiJdfQ==
@@ -0,0 +1,23 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { RestService } from '../rest';
3
+ import { Collection } from '../../../collections';
4
+ import { HomeOfficeClaim } from '../../../models/home-office';
5
+ import * as i0 from "@angular/core";
6
+ export class HomeOfficeLogService extends RestService {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.endpointUri = 'home-office-logs';
10
+ this.modelClass = HomeOfficeClaim;
11
+ this.collectionClass = (Collection);
12
+ this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
13
+ }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HomeOfficeLogService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
15
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HomeOfficeLogService, providedIn: 'root' }); }
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HomeOfficeLogService, decorators: [{
18
+ type: Injectable,
19
+ args: [{
20
+ providedIn: 'root'
21
+ }]
22
+ }] });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZS1vZmZpY2UtbG9nLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9ob21lLW9mZmljZS9ob21lLW9mZmljZS1sb2cuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBYyxXQUFXLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDbEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ2xELE9BQU8sRUFDTCxlQUFlLEVBR2hCLE1BQU0sNkJBQTZCLENBQUM7O0FBS3JDLE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxXQUE2RTtJQUh2SDs7UUFJWSxnQkFBVyxHQUFHLGtCQUFrQixDQUFDO1FBQzNDLGVBQVUsR0FBMkIsZUFBZSxDQUFDO1FBQ3JELG9CQUFlLEdBQXVDLENBQUEsVUFBMkIsQ0FBQSxDQUFDO1FBQ2xGLG9CQUFlLEdBQWlCLENBQUMsV0FBVyxFQUFFLFVBQVUsRUFBRSxhQUFhLENBQUMs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NoJywgJ3B1dEJhdGNoJywgJ2RlbGV0ZUJhdGNoJ107XG59XG4iXX0=
@@ -0,0 +1,5 @@
1
+ export * from './home-office-claim.service';
2
+ export * from './home-office-claim-messages.enum';
3
+ export * from './home-office-log.service';
4
+ export * from './home-office-log-messages.enum';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9ob21lLW9mZmljZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ob21lLW9mZmljZS1jbGFpbS5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vaG9tZS1vZmZpY2UtY2xhaW0tbWVzc2FnZXMuZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL2hvbWUtb2ZmaWNlLWxvZy5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vaG9tZS1vZmZpY2UtbG9nLW1lc3NhZ2VzLmVudW0nO1xuIl19
@@ -26,4 +26,6 @@ export * from './client';
26
26
  export * from './user';
27
27
  export * from './document';
28
28
  export * from './holding';
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9pbmRleC50cyJdLCJuY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hwb3J0ICogZnJvbSAnLi9jaGF0JztcblxuZXhwb3J0ICogZnJvbSAnLi9kZXByZWNpYXRpb24nO1xuZXhwb3J0ICogZnJvbSAnLi9kb2N1bWVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vZmFjZWJvb2snO1xuZXhwb3J0ICogZnJvbSAnLi9nb29nbGUnO1xuZXhwb3J0ICogZnJvbSAnLi9maWxlJztcbmV4cG9ydCAqIGZyb20gJy4vZmlybSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vaW5jb21lLXNvdXJjZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbG9hbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vcHJvcGVydHknO1xuXG5leHBvcnQgKiBmcm9tICcuL3Jlc3QnO1xuXG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2Utbm90aWZpY2F0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vc29sZSc7XG5leHBvcnQgKiBmcm9tICcuL3N1YnNjcmlwdGlvbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vdGF4LXJldmlldyc7XG5leHBvcnQgKiBmcm9tICcuL3RheC1zdW1tYXJ5JztcbmV4cG9ydCAqIGZyb20gJy4vdHJhbnNhY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi95b3V0dWJlJztcblxuZXhwb3J0ICogZnJvbSAnLi92ZWhpY2xlJztcblxuZXhwb3J0ICogZnJvbSAnLi9jbGllbnQnO1xuZXhwb3J0ICogZnJvbSAnLi91c2VyJztcblxuZXhwb3J0ICogZnJvbSAnLi9kb2N1bWVudCc7XG5leHBvcnQgKiBmcm9tICcuL2hvbGRpbmcnO1xuIl19
29
+ export * from './home-office';
30
+ export * from './rest-messages.enum';
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN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4vcmVzdC1tZXNzYWdlcy5lbnVtJztcbiJdfQ==
@@ -0,0 +1,7 @@
1
+ export var RestMessagesEnum;
2
+ (function (RestMessagesEnum) {
3
+ RestMessagesEnum["POST"] = "Created";
4
+ RestMessagesEnum["PUT"] = "Updated";
5
+ RestMessagesEnum["DELETE"] = "Deleted";
6
+ })(RestMessagesEnum || (RestMessagesEnum = {}));
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC1tZXNzYWdlcy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvcmVzdC1tZXNzYWdlcy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGdCQUlYO0FBSkQsV0FBWSxnQkFBZ0I7SUFDMUIsb0NBQWdCLENBQUE7SUFDaEIsbUNBQWUsQ0FBQTtJQUNmLHNDQUFrQixDQUFBO0FBQ3BCLENBQUMsRUFKVyxnQkFBZ0IsS0FBaEIsZ0JBQWdCLFFBSTNCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gUmVzdE1lc3NhZ2VzRW51bSB7XG4gIFBPU1QgPSAnQ3JlYXRlZCcsXG4gIFBVVCA9ICdVcGRhdGVkJyxcbiAgREVMRVRFID0gJ0RlbGV0ZWQnXG59XG4iXX0=