taxtank-core 0.8.5 → 0.9.1

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.
Files changed (158) hide show
  1. package/bundles/taxtank-core.umd.js +147 -96
  2. package/bundles/taxtank-core.umd.js.map +1 -1
  3. package/esm2015/lib/collections/collection.js +2 -5
  4. package/esm2015/lib/db/Models/transaction-base.js +2 -1
  5. package/esm2015/lib/models/toast/toast-type.enum.js +8 -0
  6. package/esm2015/lib/models/toast/toast.js +9 -0
  7. package/esm2015/lib/services/http/address/address.service.js +39 -0
  8. package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +118 -0
  9. package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +52 -0
  10. package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +89 -0
  11. package/esm2015/lib/services/http/bank/bank.service.js +24 -0
  12. package/esm2015/lib/services/http/bank/basiq/basiq.service.js +94 -0
  13. package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +38 -0
  14. package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +89 -0
  15. package/esm2015/lib/services/http/chat/chat.service.js +77 -0
  16. package/esm2015/lib/services/http/chat/message/message.service.js +65 -0
  17. package/esm2015/lib/services/http/chat/message-document/message-document.service.js +118 -0
  18. package/esm2015/lib/services/{depreciation/capital-project.service.js → http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js} +7 -7
  19. package/esm2015/lib/services/http/depreciation/depreciation.service.js +146 -0
  20. package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +84 -0
  21. package/esm2015/lib/services/{client → http/firm/client-invite}/client-invite.service.js +7 -7
  22. package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +98 -0
  23. package/esm2015/lib/services/http/firm/employee/employee.service.js +39 -0
  24. package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +53 -0
  25. package/esm2015/lib/services/http/firm/firm.service.js +79 -0
  26. package/esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js +37 -0
  27. package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +90 -0
  28. package/esm2015/lib/services/http/income-source/income-source.service.js +109 -0
  29. package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +90 -0
  30. package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +87 -0
  31. package/esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js +73 -0
  32. package/esm2015/lib/services/http/loan/loan.service.js +145 -0
  33. package/esm2015/lib/services/http/property/property-category/property-category.service.js +23 -0
  34. package/esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js +47 -0
  35. package/esm2015/lib/services/http/property/property-document/property-document.service.js +70 -0
  36. package/esm2015/lib/services/http/property/property-sale/property-sale.service.js +20 -0
  37. package/esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js +21 -0
  38. package/esm2015/lib/services/http/property/property-share/property-share.service.js +115 -0
  39. package/esm2015/lib/services/http/property/property.service.js +126 -0
  40. package/esm2015/lib/services/http/rest/rest.service.js +190 -0
  41. package/esm2015/lib/services/http/service-notification/service-notification.service.js +65 -0
  42. package/esm2015/lib/services/http/subscription/subscription.service.js +157 -0
  43. package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +41 -0
  44. package/esm2015/lib/services/http/tax-review/tax-review.service.js +103 -0
  45. package/esm2015/lib/services/http/tax-summary/tax-summary.service.js +71 -0
  46. package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +85 -0
  47. package/esm2015/lib/services/http/transaction/transaction.service.js +326 -0
  48. package/esm2015/lib/services/http/user/occupation/occupation.service.js +45 -0
  49. package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +59 -0
  50. package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +29 -0
  51. package/esm2015/lib/services/http/user/user.service.js +124 -0
  52. package/esm2015/lib/services/http/vehicle/vehicle.service.js +237 -0
  53. package/esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js +45 -0
  54. package/esm2015/lib/services/toast/toast.service.js +26 -0
  55. package/esm2015/public-api.js +51 -48
  56. package/fesm2015/taxtank-core.js +99 -53
  57. package/fesm2015/taxtank-core.js.map +1 -1
  58. package/lib/collections/collection.d.ts +1 -4
  59. package/lib/models/toast/toast-type.enum.d.ts +6 -0
  60. package/lib/models/toast/toast.d.ts +10 -0
  61. package/lib/services/{address → http/address}/address.service.d.ts +1 -1
  62. package/lib/services/{bank → http/bank/bank-account}/bank-account.service.d.ts +5 -5
  63. package/lib/services/{bank → http/bank/bank-connection}/bank-connection.service.d.ts +5 -5
  64. package/lib/services/{bank → http/bank/bank-transaction}/bank-transaction.service.d.ts +5 -5
  65. package/lib/services/{bank → http/bank}/bank.service.d.ts +4 -4
  66. package/lib/services/{bank → http/bank/basiq}/basiq.service.d.ts +7 -7
  67. package/lib/services/{chart-accounts → http/chart-accounts/chart-accounts-depreciations}/chart-accounts-depreciations.service.d.ts +4 -4
  68. package/lib/services/{chart-accounts → http/chart-accounts}/chart-accounts.service.d.ts +3 -3
  69. package/lib/services/{chat → http/chat}/chat.service.d.ts +7 -7
  70. package/lib/services/{chat → http/chat/message}/message.service.d.ts +7 -7
  71. package/lib/services/{chat → http/chat/message-document}/message-document.service.d.ts +3 -3
  72. package/lib/services/{depreciation/capital-project.service.d.ts → http/depreciation/depreciation-capital-project/depreciation-capital-project.service.d.ts} +4 -4
  73. package/lib/services/{depreciation → http/depreciation}/depreciation.service.d.ts +5 -5
  74. package/lib/services/{document → http/document/document-folder}/document-folder.service.d.ts +6 -6
  75. package/lib/services/{client → http/firm/client-invite}/client-invite.service.d.ts +4 -4
  76. package/lib/services/{client → http/firm/client-movement}/client-movement.service.d.ts +7 -7
  77. package/lib/services/{employee → http/firm/employee}/employee.service.d.ts +4 -4
  78. package/lib/services/{employee → http/firm/employee-invite}/employee-invite.service.d.ts +4 -4
  79. package/lib/services/{firm → http/firm}/firm.service.d.ts +2 -2
  80. package/lib/services/{client → http/firm/portfolio-report}/client-portfolio-report.service.d.ts +1 -1
  81. package/lib/services/{income-source → http/income-source/income-source-forecast}/income-source-forecast.service.d.ts +5 -5
  82. package/lib/services/{income-source → http/income-source}/income-source.service.d.ts +8 -8
  83. package/lib/services/{income-source → http/income-source/salary-forecast}/salary-forecast.service.d.ts +6 -6
  84. package/lib/services/{income-source → http/income-source/sole-forecast}/sole-forecast.service.d.ts +5 -5
  85. package/lib/services/{borrowing-expense → http/loan/borrowing-expense}/borrowing-expense.service.d.ts +2 -2
  86. package/lib/services/{loan → http/loan}/loan.service.d.ts +6 -6
  87. package/lib/services/{property → http/property}/property-category/property-category.service.d.ts +4 -4
  88. package/lib/services/{property → http/property/property-category-movement}/property-category-movement.service.d.ts +4 -4
  89. package/lib/services/{property → http/property}/property-document/property-document.service.d.ts +5 -5
  90. package/lib/services/http/property/property-sale/property-sale.service.d.ts +10 -0
  91. package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts +11 -0
  92. package/lib/services/{property → http/property}/property-share/property-share.service.d.ts +5 -5
  93. package/lib/services/{property → http/property}/property.service.d.ts +5 -5
  94. package/lib/services/{base-rest.service.d.ts → http/rest/rest.service.d.ts} +4 -4
  95. package/lib/services/http/service-notification/service-notification.service.d.ts +31 -0
  96. package/lib/services/{subscription → http/subscription}/subscription.service.d.ts +6 -6
  97. package/lib/services/{tax-review → http/tax-review/tax-review-history}/tax-review-history.service.d.ts +5 -5
  98. package/lib/services/{tax-review → http/tax-review}/tax-review.service.d.ts +6 -6
  99. package/lib/services/{tax-summary → http/tax-summary}/tax-summary.service.d.ts +2 -2
  100. package/lib/services/{transaction → http/transaction/transaction-allocation}/transaction-allocation.service.d.ts +6 -6
  101. package/lib/services/{transaction → http/transaction}/transaction.service.d.ts +11 -7
  102. package/lib/services/{user → http/user/occupation}/occupation.service.d.ts +1 -1
  103. package/lib/services/{user-event → http/user/user-event-setting}/user-event-setting.service.d.ts +5 -5
  104. package/lib/services/{user-event → http/user/user-event-type}/user-event-type.service.d.ts +5 -5
  105. package/lib/services/{user → http/user}/user.service.d.ts +3 -3
  106. package/lib/services/{work/work-tank.service.d.ts → http/vehicle/vehicle.service.d.ts} +9 -8
  107. package/lib/services/property/{equity-position-chart.service.d.ts → equity-position-chart/equity-position-chart.service.d.ts} +1 -1
  108. package/lib/services/toast/toast.service.d.ts +13 -0
  109. package/package.json +1 -1
  110. package/public-api.d.ts +50 -47
  111. package/esm2015/lib/services/address/address.service.js +0 -39
  112. package/esm2015/lib/services/bank/bank-account.service.js +0 -118
  113. package/esm2015/lib/services/bank/bank-connection.service.js +0 -52
  114. package/esm2015/lib/services/bank/bank-transaction.service.js +0 -89
  115. package/esm2015/lib/services/bank/bank.service.js +0 -24
  116. package/esm2015/lib/services/bank/basiq.service.js +0 -94
  117. package/esm2015/lib/services/base-rest.service.js +0 -190
  118. package/esm2015/lib/services/borrowing-expense/borrowing-expense.service.js +0 -73
  119. package/esm2015/lib/services/chart-accounts/chart-accounts-depreciations.service.js +0 -38
  120. package/esm2015/lib/services/chart-accounts/chart-accounts.service.js +0 -89
  121. package/esm2015/lib/services/chat/chat.service.js +0 -77
  122. package/esm2015/lib/services/chat/message-document.service.js +0 -118
  123. package/esm2015/lib/services/chat/message.service.js +0 -65
  124. package/esm2015/lib/services/client/client-movement.service.js +0 -98
  125. package/esm2015/lib/services/client/client-portfolio-report.service.js +0 -37
  126. package/esm2015/lib/services/depreciation/depreciation.service.js +0 -146
  127. package/esm2015/lib/services/document/document-folder.service.js +0 -84
  128. package/esm2015/lib/services/employee/employee-invite.service.js +0 -53
  129. package/esm2015/lib/services/employee/employee.service.js +0 -39
  130. package/esm2015/lib/services/firm/firm.service.js +0 -79
  131. package/esm2015/lib/services/income-source/income-source-forecast.service.js +0 -90
  132. package/esm2015/lib/services/income-source/income-source.service.js +0 -109
  133. package/esm2015/lib/services/income-source/salary-forecast.service.js +0 -90
  134. package/esm2015/lib/services/income-source/sole-forecast.service.js +0 -87
  135. package/esm2015/lib/services/loan/loan.service.js +0 -145
  136. package/esm2015/lib/services/notification/notification.service.js +0 -65
  137. package/esm2015/lib/services/property/equity-position-chart.service.js +0 -45
  138. package/esm2015/lib/services/property/property-category/property-category.service.js +0 -23
  139. package/esm2015/lib/services/property/property-category-movement.service.js +0 -47
  140. package/esm2015/lib/services/property/property-document/property-document.service.js +0 -70
  141. package/esm2015/lib/services/property/property-sale/property-sale.service.js +0 -20
  142. package/esm2015/lib/services/property/property-sale/tax-exemption/tax-exemption.service.js +0 -21
  143. package/esm2015/lib/services/property/property-share/property-share.service.js +0 -115
  144. package/esm2015/lib/services/property/property.service.js +0 -126
  145. package/esm2015/lib/services/subscription/subscription.service.js +0 -157
  146. package/esm2015/lib/services/tax-review/tax-review-history.service.js +0 -41
  147. package/esm2015/lib/services/tax-review/tax-review.service.js +0 -103
  148. package/esm2015/lib/services/tax-summary/tax-summary.service.js +0 -71
  149. package/esm2015/lib/services/transaction/transaction-allocation.service.js +0 -85
  150. package/esm2015/lib/services/transaction/transaction.service.js +0 -319
  151. package/esm2015/lib/services/user/occupation.service.js +0 -45
  152. package/esm2015/lib/services/user/user.service.js +0 -124
  153. package/esm2015/lib/services/user-event/user-event-setting.service.js +0 -59
  154. package/esm2015/lib/services/user-event/user-event-type.service.js +0 -29
  155. package/esm2015/lib/services/work/work-tank.service.js +0 -236
  156. package/lib/services/notification/notification.service.d.ts +0 -31
  157. package/lib/services/property/property-sale/property-sale.service.d.ts +0 -10
  158. package/lib/services/property/property-sale/tax-exemption/tax-exemption.service.d.ts +0 -11
@@ -862,10 +862,7 @@ class Collection {
862
862
  getIds() {
863
863
  return this.items.map((item) => item['id']);
864
864
  }
865
- /**
866
- * @TODO vik rename
867
- */
868
- getOneBy(path, value) {
865
+ findBy(path, value) {
869
866
  return this.items.find((item) => get(item, path) === value);
870
867
  }
871
868
  getBy(path, value) {
@@ -2204,6 +2201,7 @@ class TransactionBase {
2204
2201
  * Check if current tank is Work
2205
2202
  */
2206
2203
  isWorkTank() {
2204
+ // @TODO remove this hack
2207
2205
  if (this.tankType) {
2208
2206
  return this.tankType === TankTypeEnum.WORK;
2209
2207
  }
@@ -6238,6 +6236,23 @@ var TaxSummaryTypeEnum;
6238
6236
  TaxSummaryTypeEnum["FORECASTS"] = "forecasts";
6239
6237
  })(TaxSummaryTypeEnum || (TaxSummaryTypeEnum = {}));
6240
6238
 
6239
+ /**
6240
+ * Common toast message class
6241
+ */
6242
+ class Toast {
6243
+ constructor() {
6244
+ this.duration = 3000;
6245
+ }
6246
+ }
6247
+
6248
+ var ToastTypeEnum;
6249
+ (function (ToastTypeEnum) {
6250
+ ToastTypeEnum[ToastTypeEnum["INFO"] = 0] = "INFO";
6251
+ ToastTypeEnum[ToastTypeEnum["SUCCESS"] = 1] = "SUCCESS";
6252
+ ToastTypeEnum[ToastTypeEnum["WARNING"] = 2] = "WARNING";
6253
+ ToastTypeEnum[ToastTypeEnum["ERROR"] = 3] = "ERROR";
6254
+ })(ToastTypeEnum || (ToastTypeEnum = {}));
6255
+
6241
6256
  class MyAccountHistory {
6242
6257
  }
6243
6258
 
@@ -6486,7 +6501,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6486
6501
  * Model - entity service is working with
6487
6502
  * BaseModel - base entity model that extends by Model
6488
6503
  */
6489
- class BaseRestService {
6504
+ class RestService {
6490
6505
  constructor(http, eventDispatcherService, environment) {
6491
6506
  this.http = http;
6492
6507
  this.eventDispatcherService = eventDispatcherService;
@@ -6650,9 +6665,9 @@ class BaseRestService {
6650
6665
  return plainToClass(model, baseModel, { excludePrefixes: ['@'] });
6651
6666
  }
6652
6667
  }
6653
- BaseRestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BaseRestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
6654
- BaseRestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BaseRestService, providedIn: 'root' });
6655
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: BaseRestService, decorators: [{
6668
+ RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
6669
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, providedIn: 'root' });
6670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: RestService, decorators: [{
6656
6671
  type: Injectable,
6657
6672
  args: [{
6658
6673
  providedIn: 'root'
@@ -6665,7 +6680,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6665
6680
  /**
6666
6681
  * Service that handling banks logic
6667
6682
  */
6668
- class BankService extends BaseRestService {
6683
+ class BankService extends RestService {
6669
6684
  constructor() {
6670
6685
  super(...arguments);
6671
6686
  this.modelClass = Bank;
@@ -6685,7 +6700,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6685
6700
  /**
6686
6701
  * Service that handling user's bank accounts logic
6687
6702
  */
6688
- class BankAccountService extends BaseRestService {
6703
+ class BankAccountService extends RestService {
6689
6704
  constructor(http, eventDispatcherService, environment) {
6690
6705
  super(http, eventDispatcherService, environment);
6691
6706
  this.http = http;
@@ -6881,7 +6896,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6881
6896
  * BankConnection means user account at specific bank (usually each user has only one at the same bank)
6882
6897
  * service handles BankConnection management
6883
6898
  */
6884
- class BankConnectionService extends BaseRestService {
6899
+ class BankConnectionService extends RestService {
6885
6900
  constructor(http, eventDispatcherService, environment) {
6886
6901
  super(http, eventDispatcherService, environment);
6887
6902
  this.http = http;
@@ -6922,7 +6937,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
6922
6937
  /**
6923
6938
  * Service for bank transactions business logic
6924
6939
  */
6925
- class BankTransactionService extends BaseRestService {
6940
+ class BankTransactionService extends RestService {
6926
6941
  constructor(http, eventDispatcherService, environment) {
6927
6942
  super(http, eventDispatcherService, environment);
6928
6943
  this.http = http;
@@ -7001,7 +7016,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7001
7016
  * basiq is a middleman between bank and user
7002
7017
  * service is responsible for fetching bank related information
7003
7018
  */
7004
- class BasiqService extends BaseRestService {
7019
+ class BasiqService extends RestService {
7005
7020
  constructor(http, eventDispatcherService, environment) {
7006
7021
  super(http, eventDispatcherService, environment);
7007
7022
  this.http = http;
@@ -7228,7 +7243,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7228
7243
  /**
7229
7244
  * Service to work with depreciation chart accounts
7230
7245
  */
7231
- class ChartAccountsDepreciationService extends BaseRestService {
7246
+ class ChartAccountsDepreciationService extends RestService {
7232
7247
  constructor() {
7233
7248
  super(...arguments);
7234
7249
  this.url = 'chart-accounts-depreciations';
@@ -7300,7 +7315,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7300
7315
  /**
7301
7316
  * Service for work with chats
7302
7317
  */
7303
- class ChatService extends BaseRestService {
7318
+ class ChatService extends RestService {
7304
7319
  constructor(http, eventDispatcherService, environment, sseService) {
7305
7320
  super(http, eventDispatcherService, environment);
7306
7321
  this.http = http;
@@ -7367,7 +7382,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7367
7382
  /**
7368
7383
  * Service for work with messages
7369
7384
  */
7370
- class MessageService extends BaseRestService {
7385
+ class MessageService extends RestService {
7371
7386
  constructor(http, eventDispatcherService, environment, sseService) {
7372
7387
  super(http, eventDispatcherService, environment);
7373
7388
  this.http = http;
@@ -7525,7 +7540,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7525
7540
  args: ['environment']
7526
7541
  }] }]; } });
7527
7542
 
7528
- class ClientInviteService extends BaseRestService {
7543
+ class ClientInviteService extends RestService {
7529
7544
  constructor() {
7530
7545
  super(...arguments);
7531
7546
  this.url = 'clients/invites';
@@ -7617,7 +7632,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7617
7632
  }]
7618
7633
  }] });
7619
7634
 
7620
- class ClientMovementService extends BaseRestService {
7635
+ class ClientMovementService extends RestService {
7621
7636
  constructor(http, eventDispatcherService, environment) {
7622
7637
  super(http, eventDispatcherService, environment);
7623
7638
  this.http = http;
@@ -7736,7 +7751,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7736
7751
  /**
7737
7752
  * Service for work with DepreciationCapitalProjects
7738
7753
  */
7739
- class CapitalProjectService {
7754
+ class DepreciationCapitalProjectService {
7740
7755
  constructor(http, environment) {
7741
7756
  this.http = http;
7742
7757
  this.environment = environment;
@@ -7775,9 +7790,9 @@ class CapitalProjectService {
7775
7790
  }));
7776
7791
  }
7777
7792
  }
7778
- CapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7779
- CapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CapitalProjectService, providedIn: 'root' });
7780
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CapitalProjectService, decorators: [{
7793
+ DepreciationCapitalProjectService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
7794
+ DepreciationCapitalProjectService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, providedIn: 'root' });
7795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DepreciationCapitalProjectService, decorators: [{
7781
7796
  type: Injectable,
7782
7797
  args: [{
7783
7798
  providedIn: 'root'
@@ -7787,7 +7802,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7787
7802
  args: ['environment']
7788
7803
  }] }]; } });
7789
7804
 
7790
- class DepreciationService extends BaseRestService {
7805
+ class DepreciationService extends RestService {
7791
7806
  constructor(http, eventDispatcherService, environment) {
7792
7807
  super(http, eventDispatcherService, environment);
7793
7808
  this.http = http;
@@ -7923,7 +7938,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7923
7938
  /**
7924
7939
  * Service to handle document-folders and depending documents logic
7925
7940
  */
7926
- class DocumentFolderService extends BaseRestService {
7941
+ class DocumentFolderService extends RestService {
7927
7942
  constructor(http, eventDispatcherService, environment) {
7928
7943
  super(http, eventDispatcherService, environment);
7929
7944
  this.http = http;
@@ -7994,7 +8009,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
7994
8009
  args: ['environment']
7995
8010
  }] }]; } });
7996
8011
 
7997
- class EmployeeService extends BaseRestService {
8012
+ class EmployeeService extends RestService {
7998
8013
  constructor() {
7999
8014
  super(...arguments);
8000
8015
  this.url = 'employees';
@@ -8025,7 +8040,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8025
8040
  }]
8026
8041
  }] });
8027
8042
 
8028
- class EmployeeInviteService extends BaseRestService {
8043
+ class EmployeeInviteService extends RestService {
8029
8044
  constructor() {
8030
8045
  super(...arguments);
8031
8046
  this.url = 'employees/invites';
@@ -8168,7 +8183,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8168
8183
  /**
8169
8184
  * Service to work with income sources
8170
8185
  */
8171
- class IncomeSourceService extends BaseRestService {
8186
+ class IncomeSourceService extends RestService {
8172
8187
  constructor(http, eventDispatcherService, environment) {
8173
8188
  super(http, eventDispatcherService, environment);
8174
8189
  this.http = http;
@@ -8263,7 +8278,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8263
8278
  /**
8264
8279
  * Service to work with Other Income Forecasts
8265
8280
  */
8266
- class IncomeSourceForecastService extends BaseRestService {
8281
+ class IncomeSourceForecastService extends RestService {
8267
8282
  constructor(http, eventDispatcherService, environment) {
8268
8283
  super(http, eventDispatcherService, environment);
8269
8284
  this.http = http;
@@ -8342,7 +8357,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8342
8357
  /**
8343
8358
  * Service to work with Salary Forecasts
8344
8359
  */
8345
- class SalaryForecastService extends BaseRestService {
8360
+ class SalaryForecastService extends RestService {
8346
8361
  constructor(http, eventDispatcherService, environment) {
8347
8362
  super(http, eventDispatcherService, environment);
8348
8363
  this.http = http;
@@ -8418,7 +8433,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8418
8433
  args: ['environment']
8419
8434
  }] }]; } });
8420
8435
 
8421
- class SoleForecastService extends BaseRestService {
8436
+ class SoleForecastService extends RestService {
8422
8437
  constructor(http, eventDispatcherService, environment) {
8423
8438
  super(http, eventDispatcherService, environment);
8424
8439
  this.http = http;
@@ -8536,7 +8551,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8536
8551
  /**
8537
8552
  * Service that handling loans logic
8538
8553
  */
8539
- class LoanService extends BaseRestService {
8554
+ class LoanService extends RestService {
8540
8555
  constructor(http, eventDispatcherService, environment) {
8541
8556
  super(http, eventDispatcherService, environment);
8542
8557
  this.http = http;
@@ -8669,7 +8684,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8669
8684
  /**
8670
8685
  * Service to handle service notifications logic
8671
8686
  */
8672
- class NotificationService extends BaseRestService {
8687
+ class ServiceNotificationService extends RestService {
8673
8688
  constructor(http, eventDispatcherService, environment, sseService) {
8674
8689
  super(http, eventDispatcherService, environment);
8675
8690
  this.http = http;
@@ -8707,9 +8722,9 @@ class NotificationService extends BaseRestService {
8707
8722
  });
8708
8723
  }
8709
8724
  }
8710
- NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: NotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
8711
- NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: NotificationService, providedIn: 'root' });
8712
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: NotificationService, decorators: [{
8725
+ ServiceNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }, { token: SseService }], target: i0.ɵɵFactoryTarget.Injectable });
8726
+ ServiceNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, providedIn: 'root' });
8727
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ServiceNotificationService, decorators: [{
8713
8728
  type: Injectable,
8714
8729
  args: [{
8715
8730
  providedIn: 'root'
@@ -8863,7 +8878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
8863
8878
  /**
8864
8879
  * Service for work with Property
8865
8880
  */
8866
- class PropertyService extends BaseRestService {
8881
+ class PropertyService extends RestService {
8867
8882
  constructor(http, eventDispatcherService, environment) {
8868
8883
  super(http, eventDispatcherService, environment);
8869
8884
  this.http = http;
@@ -9094,7 +9109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9094
9109
  /**
9095
9110
  * Service for work with Property Categories
9096
9111
  */
9097
- class PropertyCategoryService extends BaseRestService {
9112
+ class PropertyCategoryService extends RestService {
9098
9113
  constructor() {
9099
9114
  super(...arguments);
9100
9115
  this.modelClass = PropertyCategory;
@@ -9113,7 +9128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9113
9128
  /**
9114
9129
  * Class for work with Property Documents
9115
9130
  */
9116
- class PropertyDocumentService extends BaseRestService {
9131
+ class PropertyDocumentService extends RestService {
9117
9132
  constructor(http, eventDispatcherService, environment) {
9118
9133
  super(http, eventDispatcherService, environment);
9119
9134
  this.http = http;
@@ -9172,7 +9187,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9172
9187
  }] }]; } });
9173
9188
 
9174
9189
  // @TODO check and improve logic during refactoring
9175
- class PropertyShareService extends BaseRestService {
9190
+ class PropertyShareService extends RestService {
9176
9191
  constructor(http, eventDispatcherService, environment) {
9177
9192
  super(http, eventDispatcherService, environment);
9178
9193
  this.http = http;
@@ -9275,7 +9290,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9275
9290
  args: ['environment']
9276
9291
  }] }]; } });
9277
9292
 
9278
- class PropertySaleService extends BaseRestService {
9293
+ class PropertySaleService extends RestService {
9279
9294
  constructor() {
9280
9295
  super(...arguments);
9281
9296
  this.modelClass = PropertySale;
@@ -9329,7 +9344,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9329
9344
  args: ['environment']
9330
9345
  }] }]; } });
9331
9346
 
9332
- class PropertyCategoryMovementService extends BaseRestService {
9347
+ class PropertyCategoryMovementService extends RestService {
9333
9348
  constructor() {
9334
9349
  super(...arguments);
9335
9350
  this.modelClass = PropertyCategoryMovement;
@@ -9511,7 +9526,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9511
9526
  /**
9512
9527
  * Service to work with tax review
9513
9528
  */
9514
- class TaxReviewService extends BaseRestService {
9529
+ class TaxReviewService extends RestService {
9515
9530
  constructor(http, eventDispatcherService, environment) {
9516
9531
  super(http, eventDispatcherService, environment);
9517
9532
  this.http = http;
@@ -9602,7 +9617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9602
9617
  /**
9603
9618
  * Service to work with tax review history
9604
9619
  */
9605
- class TaxReviewHistoryService extends BaseRestService {
9620
+ class TaxReviewHistoryService extends RestService {
9606
9621
  constructor(http, eventDispatcherService, environment) {
9607
9622
  super(http, eventDispatcherService, environment);
9608
9623
  this.http = http;
@@ -9694,6 +9709,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
9694
9709
  args: ['environment']
9695
9710
  }] }]; } });
9696
9711
 
9712
+ /**
9713
+ * popup notifications service (toast, snackbar).
9714
+ */
9715
+ class ToastService {
9716
+ constructor() {
9717
+ this.toast$ = new ReplaySubject(1);
9718
+ }
9719
+ get() {
9720
+ return this.toast$.asObservable();
9721
+ }
9722
+ add(toast) {
9723
+ this.toast$.next(toast);
9724
+ }
9725
+ }
9726
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
9727
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ToastService, providedIn: 'root' });
9728
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: ToastService, decorators: [{
9729
+ type: Injectable,
9730
+ args: [{
9731
+ providedIn: 'root'
9732
+ }]
9733
+ }] });
9734
+
9697
9735
  function enumToList(data) {
9698
9736
  const list = [];
9699
9737
  for (const key in data) {
@@ -9710,7 +9748,7 @@ function enumToList(data) {
9710
9748
  /**
9711
9749
  * Service for transactions business logic
9712
9750
  */
9713
- class TransactionService extends BaseRestService {
9751
+ class TransactionService extends RestService {
9714
9752
  constructor(http, eventDispatcherService, environment) {
9715
9753
  super(http, eventDispatcherService, environment);
9716
9754
  this.http = http;
@@ -9727,6 +9765,7 @@ class TransactionService extends BaseRestService {
9727
9765
  */
9728
9766
  listenEvents() {
9729
9767
  this.listenDepreciationChange();
9768
+ this.listenPropertyShareUpdate();
9730
9769
  }
9731
9770
  /**
9732
9771
  * get list of all user's TaxTank transactions
@@ -9994,6 +10033,12 @@ class TransactionService extends BaseRestService {
9994
10033
  });
9995
10034
  });
9996
10035
  }
10036
+ /**
10037
+ * Listen to EventDispatcherService event related to Property Share changing
10038
+ */
10039
+ listenPropertyShareUpdate() {
10040
+ this.eventDispatcherService.on(AppEventTypeEnum.PROPERTY_SHARE_UPDATED).subscribe(() => this.resetCache());
10041
+ }
9997
10042
  }
9998
10043
  TransactionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
9999
10044
  TransactionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: TransactionService, providedIn: 'root' });
@@ -10012,7 +10057,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10012
10057
  * Service for transaction allocations business logic
10013
10058
  * @TODO alex refactor
10014
10059
  */
10015
- class TransactionAllocationService extends BaseRestService {
10060
+ class TransactionAllocationService extends RestService {
10016
10061
  constructor(http, eventDispatcherService, environment) {
10017
10062
  super(http, eventDispatcherService, environment);
10018
10063
  this.http = http;
@@ -10279,7 +10324,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10279
10324
  args: ['environment']
10280
10325
  }] }]; } });
10281
10326
 
10282
- class UserEventSettingService extends BaseRestService {
10327
+ class UserEventSettingService extends RestService {
10283
10328
  constructor(http, eventDispatcherService, environment) {
10284
10329
  super(http, eventDispatcherService, environment);
10285
10330
  this.http = http;
@@ -10328,7 +10373,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10328
10373
  args: ['environment']
10329
10374
  }] }]; } });
10330
10375
 
10331
- class UserEventTypeService extends BaseRestService {
10376
+ class UserEventTypeService extends RestService {
10332
10377
  constructor(http, eventDispatcherService, environment) {
10333
10378
  super(http, eventDispatcherService, environment);
10334
10379
  this.http = http;
@@ -10353,8 +10398,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10353
10398
 
10354
10399
  /**
10355
10400
  * Service that allows to work with WorkTank operations
10401
+ * @TODO separate into multiple services, extend restService
10356
10402
  */
10357
- class WorkTankService {
10403
+ class VehicleService {
10358
10404
  constructor(http, transactionService, depreciationService, chartAccountsService, eventDispatcherService, environment) {
10359
10405
  this.http = http;
10360
10406
  this.transactionService = transactionService;
@@ -10555,9 +10601,9 @@ class WorkTankService {
10555
10601
  }));
10556
10602
  }
10557
10603
  }
10558
- WorkTankService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: WorkTankService, deps: [{ token: i1.HttpClient }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10559
- WorkTankService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: WorkTankService, providedIn: 'root' });
10560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: WorkTankService, decorators: [{
10604
+ VehicleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, deps: [{ token: i1.HttpClient }, { token: TransactionService }, { token: DepreciationService }, { token: ChartAccountsService }, { token: EventDispatcherService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
10605
+ VehicleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, providedIn: 'root' });
10606
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: VehicleService, decorators: [{
10561
10607
  type: Injectable,
10562
10608
  args: [{
10563
10609
  providedIn: 'root'
@@ -10617,7 +10663,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
10617
10663
  }]
10618
10664
  }] });
10619
10665
 
10620
- class TaxExemptionService extends BaseRestService {
10666
+ class TaxExemptionService extends RestService {
10621
10667
  constructor() {
10622
10668
  super(...arguments);
10623
10669
  this.modelClass = TaxExemption;
@@ -10794,5 +10840,5 @@ class ResetPasswordForm extends AbstractForm {
10794
10840
  * Generated bundle index. Do not edit.
10795
10841
  */
10796
10842
 
10797
- export { AbstractForm, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, BankService, BankTransaction, BankTransactionCalculationService, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasiqConfig, BasiqJob, BasiqService, BasiqToken, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalProjectService, ChartAccounts, ChartAccountsCategoryEnum, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DataTable, DataTableColumn, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpRateEnum, DepreciationReceipt, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookCollection, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, NotificationService, Occupation, OccupationService, PasswordForm, PdfService, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceTypeEnum, ServiceProduct, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleForecast, SoleForecastService, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, 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, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionCalculationService, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, 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, VehicleClaimMethodEnum, VehicleLogbook, VehicleLogbookPurposeEnum, WORK_TANK_LOGBOOK_PURPOSE_OPTIONS, WorkTankService, XlsxService, cloneDeep, compare, compareMatOptions, createDate, displayMatOptions, enumToList, getDocIcon, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
10843
+ export { AbstractForm, Address, AddressService, AddressTypeEnum, AlphabetColorsEnum, AppEvent, AppEventTypeEnum, AssetEntityTypeEnum, AssetTypeEnum, AssetsService, AuthService, BANK_ACCOUNT_TYPES, Bank, BankAccount, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankConnection, BankConnectionService, BankConnectionStatusEnum, 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, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsHeading, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsListEnum, ChartAccountsMetadata, ChartAccountsMetadataListEnum, ChartAccountsMetadataTypeEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartData, ChartSerie, Chat, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientDetails, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CorelogicService, CorelogicSuggestion, Country, DEFAULT_VEHICLE_EXPENSE, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DataTable, DataTableColumn, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpRateEnum, DepreciationReceipt, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderService, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeInvite, EmployeeInviteService, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, FinancialYear, Firm, FirmService, FirmTypeEnum, HeaderTitleService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastService, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSalaryEnum, IncomeSourceTypeListWorkEnum, InterceptorsModule, IntercomService, InviteStatusEnum, JwtService, Loan, LoanBankTypeEnum, LoanCollection, LoanFrequencyEnum, LoanInterestTypeEnum, LoanMaxNumberOfPaymentsEnum, LoanPayment, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LogbookCollection, LogbookPeriod, LoginForm, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, Notification, Occupation, OccupationService, PasswordForm, PdfService, Phone, PhoneTypeEnum, PreloaderService, Property, PropertyCalculationService, PropertyCategory, PropertyCategoryMovement, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentService, PropertyEquityChartData, PropertyEquityChartItem, PropertyForecast, PropertySale, PropertySaleService, PropertySaleTaxExemptionMetadata, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyValuation, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, SUBSCRIPTION_DESCRIPTION, SUBSCRIPTION_TITLE, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceRecurringIntervalEnum, ServicePriceTypeEnum, ServiceProduct, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, ShareFilterOptionsEnum, SoleForecast, SoleForecastService, SpareDocumentSpareTypeEnum, SseService, SubscriptionService, SubscriptionTypeEnum, 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, TransactionCollection, TransactionMetadata, TransactionOperationEnum, TransactionReceipt, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TtCoreModule, 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, VehicleClaimMethodEnum, VehicleLogbook, VehicleLogbookPurposeEnum, VehicleService, WORK_TANK_LOGBOOK_PURPOSE_OPTIONS, XlsxService, cloneDeep, compare, compareMatOptions, createDate, displayMatOptions, enumToList, getDocIcon, replace, roundTo, sort, sortDeep, taxReviewFilterPredicate };
10798
10844
  //# sourceMappingURL=taxtank-core.js.map