taxtank-core 0.28.118 → 0.29.0

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 (253) hide show
  1. package/bundles/taxtank-core.umd.js +8541 -8748
  2. package/bundles/taxtank-core.umd.js.map +1 -1
  3. package/esm2015/lib/collections/bank-account.collection.js +5 -1
  4. package/esm2015/lib/collections/chart-accounts.collection.js +12 -2
  5. package/esm2015/lib/collections/chat/chat.collection.js +26 -0
  6. package/esm2015/lib/collections/chat/index.js +4 -0
  7. package/esm2015/lib/collections/chat/message-document.collection.js +13 -0
  8. package/esm2015/lib/collections/chat/message.collection.js +33 -0
  9. package/esm2015/lib/collections/collection.js +5 -1
  10. package/esm2015/lib/collections/index.js +25 -3
  11. package/esm2015/lib/collections/loan/index.js +3 -0
  12. package/esm2015/lib/collections/loan/loan.collection.js +7 -1
  13. package/esm2015/lib/collections/property/index.js +2 -1
  14. package/esm2015/lib/collections/property/property-share.collection.js +13 -0
  15. package/esm2015/lib/collections/report/index.js +7 -0
  16. package/esm2015/lib/collections/sole/index.js +2 -1
  17. package/esm2015/lib/collections/subscription/index.js +2 -0
  18. package/esm2015/lib/collections/tax-summary/index.js +3 -0
  19. package/esm2015/lib/collections/user-event-type-collection.js +7 -0
  20. package/esm2015/lib/db/Models/bank/bank-account.js +3 -3
  21. package/esm2015/lib/db/Models/bank/bank-connection.js +3 -3
  22. package/esm2015/lib/db/Models/bank/bank-transaction-rule.js +4 -0
  23. package/esm2015/lib/db/Models/bank/bank-transaction.js +3 -3
  24. package/esm2015/lib/db/Models/document/document-base.js +4 -0
  25. package/esm2015/lib/db/Models/firm/firm-invite.js +4 -0
  26. package/esm2015/lib/db/Models/firm/message.js +3 -3
  27. package/esm2015/lib/db/Models/index.js +102 -0
  28. package/esm2015/lib/db/Models/loan/loan-payout.js +3 -3
  29. package/esm2015/lib/db/Models/loan/loan.js +3 -3
  30. package/esm2015/lib/db/Models/property/property-category-movement.js +3 -3
  31. package/esm2015/lib/db/Models/property/property-category.js +3 -3
  32. package/esm2015/lib/db/Models/property/property-sale/property-sale.js +3 -3
  33. package/esm2015/lib/db/Models/property/property-share.js +3 -3
  34. package/esm2015/lib/db/Models/spare/spare-document-category.js +4 -0
  35. package/esm2015/lib/db/Models/spare/spare-document.js +4 -0
  36. package/esm2015/lib/db/Models/tax-calculation.js +4 -0
  37. package/esm2015/lib/db/Models/transaction/transaction-base.js +3 -3
  38. package/esm2015/lib/interceptors/basiq-client-id.interceptor.js +3 -3
  39. package/esm2015/lib/interceptors/basiq-token.interceptor.js +5 -5
  40. package/esm2015/lib/interceptors/corelogic-interceptor.js +3 -3
  41. package/esm2015/lib/interceptors/financial-year-interceptor.js +3 -3
  42. package/esm2015/lib/interceptors/interceptors.module.js +4 -4
  43. package/esm2015/lib/interceptors/jwt-interceptor.js +3 -3
  44. package/esm2015/lib/interceptors/preloader.interceptor.js +3 -3
  45. package/esm2015/lib/interceptors/user-switcher-interceptor.js +3 -3
  46. package/esm2015/lib/interfaces/index.js +18 -0
  47. package/esm2015/lib/models/bank/basiq/basiq-token.js +4 -2
  48. package/esm2015/lib/models/borrowing-expense/index.js +3 -0
  49. package/esm2015/lib/models/chart-accounts/index.js +2 -2
  50. package/esm2015/lib/models/chat/index.js +5 -0
  51. package/esm2015/lib/models/depreciation/depreciation-lvp-rate.enum.js +9 -0
  52. package/esm2015/lib/models/depreciation/index.js +10 -0
  53. package/esm2015/lib/models/dictionary/index.js +2 -0
  54. package/esm2015/lib/models/event/app-event-type.enum.js +68 -70
  55. package/esm2015/lib/models/event/index.js +3 -0
  56. package/esm2015/lib/models/financial-year/index.js +5 -0
  57. package/esm2015/lib/models/index.js +12 -2
  58. package/esm2015/lib/models/loan/index.js +5 -0
  59. package/esm2015/lib/models/notification/index.js +2 -0
  60. package/esm2015/lib/models/property/index.js +18 -0
  61. package/esm2015/lib/models/property/property.js +1 -3
  62. package/esm2015/lib/models/user/index.js +10 -0
  63. package/esm2015/lib/services/account-setup/account-setup.service.js +6 -6
  64. package/esm2015/lib/services/affiliate/rewardful/rewardful.service.js +3 -3
  65. package/esm2015/lib/services/asset/assets.service.js +3 -3
  66. package/esm2015/lib/services/auth/auth.service.js +3 -3
  67. package/esm2015/lib/services/auth/jwt.service.js +3 -3
  68. package/esm2015/lib/services/bank/bank-account-calculation.service.js +3 -3
  69. package/esm2015/lib/services/bank/bank-transaction-calculation.service.js +3 -3
  70. package/esm2015/lib/services/event/event-dispatcher.service.js +3 -3
  71. package/esm2015/lib/services/event/sse.service.js +3 -3
  72. package/esm2015/lib/services/export/export-formatter.service.js +3 -3
  73. package/esm2015/lib/services/header-title/header-title.service.js +3 -3
  74. package/esm2015/lib/services/http/address/address.service.js +3 -3
  75. package/esm2015/lib/services/http/bank/bank-account/bank-account.service.js +16 -71
  76. package/esm2015/lib/services/http/bank/bank-connection/bank-connection.service.js +39 -42
  77. package/esm2015/lib/services/http/bank/bank-transaction/bank-transaction.service.js +17 -33
  78. package/esm2015/lib/services/http/bank/bank.service.js +15 -10
  79. package/esm2015/lib/services/http/bank/basiq/basiq-token.service.js +17 -20
  80. package/esm2015/lib/services/http/bank/basiq/basiq.service.js +15 -27
  81. package/esm2015/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.js +10 -21
  82. package/esm2015/lib/services/http/chart-accounts/chart-accounts.service.js +20 -64
  83. package/esm2015/lib/services/http/chat/chat.service.js +24 -30
  84. package/esm2015/lib/services/http/chat/index.js +3 -3
  85. package/esm2015/lib/services/http/chat/message-document.service.js +78 -0
  86. package/esm2015/lib/services/http/chat/message.service.js +68 -0
  87. package/esm2015/lib/services/http/depreciation/depreciation-capital-project/depreciation-capital-project.service.js +3 -3
  88. package/esm2015/lib/services/http/depreciation/depreciation-receipt/depreciation-receipt.service.js +3 -3
  89. package/esm2015/lib/services/http/depreciation/depreciation.service.js +29 -57
  90. package/esm2015/lib/services/http/document/document-folder/document-folder.service.js +3 -3
  91. package/esm2015/lib/services/http/document/document.service.js +3 -3
  92. package/esm2015/lib/services/http/facebook/facebook.service.js +3 -3
  93. package/esm2015/lib/services/http/firm/client-income/client-income-types.service.js +3 -3
  94. package/esm2015/lib/services/http/firm/client-invite/client-invite.service.js +3 -3
  95. package/esm2015/lib/services/http/firm/client-movement/client-movement.service.js +3 -3
  96. package/esm2015/lib/services/http/firm/employee/employee.service.js +3 -3
  97. package/esm2015/lib/services/http/firm/employee-invite/employee-invite.service.js +3 -3
  98. package/esm2015/lib/services/http/firm/firm.service.js +3 -3
  99. package/esm2015/lib/services/http/firm/portfolio-report/client-portfolio-report.service.js +3 -3
  100. package/esm2015/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.js +3 -3
  101. package/esm2015/lib/services/http/income-source/income-source.service.js +3 -3
  102. package/esm2015/lib/services/http/income-source/salary-forecast/salary-forecast.service.js +3 -3
  103. package/esm2015/lib/services/http/income-source/sole-forecast/sole-forecast.service.js +3 -3
  104. package/esm2015/lib/services/http/loan/borrowing-expense/borrowing-expense.service.js +7 -4
  105. package/esm2015/lib/services/http/loan/index.js +1 -1
  106. package/esm2015/lib/services/http/loan/loan.service.js +20 -69
  107. package/esm2015/lib/services/http/property/property-category/property-category.service.js +10 -7
  108. package/esm2015/lib/services/http/property/property-category-movement/property-category-movement.service.js +10 -34
  109. package/esm2015/lib/services/http/property/property-document/property-document.service.js +11 -21
  110. package/esm2015/lib/services/http/property/property-sale/property-sale.service.js +10 -27
  111. package/esm2015/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.js +11 -8
  112. package/esm2015/lib/services/http/property/property-share/property-share.service.js +15 -89
  113. package/esm2015/lib/services/http/property/property.service.js +16 -34
  114. package/esm2015/lib/services/http/receipt/receipt.service.js +3 -3
  115. package/esm2015/lib/services/http/rest/rest-old.service.js +3 -3
  116. package/esm2015/lib/services/http/rest/rest.service.js +13 -10
  117. package/esm2015/lib/services/http/service-notification/service-notification.service.js +3 -3
  118. package/esm2015/lib/services/http/sole/bas-report/bas-report.service.js +3 -3
  119. package/esm2015/lib/services/http/sole/sole-business/sole-business.service.js +3 -3
  120. package/esm2015/lib/services/http/sole/sole-business-activity/sole-business-activity.service.js +3 -3
  121. package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.js +3 -3
  122. package/esm2015/lib/services/http/sole/sole-business-loss/sole-business-loss.service.js +3 -3
  123. package/esm2015/lib/services/http/sole/sole-contact/sole-contact.service.js +3 -3
  124. package/esm2015/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.js +3 -3
  125. package/esm2015/lib/services/http/sole/sole-details/sole-details.service.js +3 -3
  126. package/esm2015/lib/services/http/sole/sole-invoice/sole-invoice.service.js +3 -3
  127. package/esm2015/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.js +3 -3
  128. package/esm2015/lib/services/http/subscription/service-price.service.js +3 -3
  129. package/esm2015/lib/services/http/subscription/subscription.service.js +3 -3
  130. package/esm2015/lib/services/http/tax-review/tax-review-history/tax-review-history.service.js +3 -3
  131. package/esm2015/lib/services/http/tax-review/tax-review.service.js +3 -3
  132. package/esm2015/lib/services/http/tax-summary/tax-summary.service.js +3 -3
  133. package/esm2015/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.js +6 -7
  134. package/esm2015/lib/services/http/transaction/transaction-receipt/transaction-receipt.service.js +3 -3
  135. package/esm2015/lib/services/http/transaction/transaction.service.js +3 -3
  136. package/esm2015/lib/services/http/tutorial-video/tutorial-video.service.js +3 -3
  137. package/esm2015/lib/services/http/user/occupation/occupation.service.js +3 -3
  138. package/esm2015/lib/services/http/user/user-event-setting/user-event-setting.service.js +3 -3
  139. package/esm2015/lib/services/http/user/user-event-type/user-event-type.service.js +3 -3
  140. package/esm2015/lib/services/http/user/user.service.js +3 -3
  141. package/esm2015/lib/services/http/user/users-invite/users-invite.service.js +3 -3
  142. package/esm2015/lib/services/http/vehicle/vehicle-claim-details.service.js +3 -3
  143. package/esm2015/lib/services/http/vehicle/vehicle-claim.service.js +3 -3
  144. package/esm2015/lib/services/http/vehicle/vehicle-logbook.service.js +3 -3
  145. package/esm2015/lib/services/http/vehicle/vehicle.service.js +3 -3
  146. package/esm2015/lib/services/intercom/intercom.service.js +3 -3
  147. package/esm2015/lib/services/pdf/pdf-from-dom-element/pdf-from-dom-element.service.js +3 -3
  148. package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-data-table/pdf-from-data-table.service.js +3 -3
  149. package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-html-table/pdf-from-html-table.service.js +3 -3
  150. package/esm2015/lib/services/pdf/pdf-from-table/pdf-from-table.service.js +3 -3
  151. package/esm2015/lib/services/preloader/preloader.service.js +3 -3
  152. package/esm2015/lib/services/property/corelogic/corelogic.service.js +3 -3
  153. package/esm2015/lib/services/property/equity-position-chart/equity-position-chart.service.js +3 -3
  154. package/esm2015/lib/services/property/property-calculation/property-calculation.service.js +3 -3
  155. package/esm2015/lib/services/report/property/property-transaction-report.service.js +7 -9
  156. package/esm2015/lib/services/toast/toast.service.js +3 -3
  157. package/esm2015/lib/services/transaction/transaction-calculation.service.js +3 -3
  158. package/esm2015/lib/services/user/user-switcher.service.js +3 -3
  159. package/esm2015/lib/services/vehicle/logbook-best-period.service.js +3 -3
  160. package/esm2015/lib/services/xlsx/xlsx.service.js +3 -3
  161. package/esm2015/lib/tt-core.module.js +4 -4
  162. package/esm2015/public-api.js +1 -85
  163. package/fesm2015/taxtank-core.js +6986 -7251
  164. package/fesm2015/taxtank-core.js.map +1 -1
  165. package/lib/collections/bank-account.collection.d.ts +1 -0
  166. package/lib/collections/chart-accounts.collection.d.ts +1 -0
  167. package/lib/collections/{chat.collection.d.ts → chat/chat.collection.d.ts} +2 -3
  168. package/lib/collections/chat/index.d.ts +3 -0
  169. package/lib/collections/{message-document.collection.d.ts → chat/message-document.collection.d.ts} +2 -2
  170. package/lib/collections/{message.collection.d.ts → chat/message.collection.d.ts} +2 -3
  171. package/lib/collections/collection.d.ts +1 -0
  172. package/lib/collections/index.d.ts +23 -2
  173. package/lib/collections/loan/index.d.ts +2 -0
  174. package/lib/collections/loan/loan.collection.d.ts +4 -0
  175. package/lib/collections/property/index.d.ts +1 -0
  176. package/lib/collections/property/property-share.collection.d.ts +6 -0
  177. package/lib/collections/report/index.d.ts +6 -0
  178. package/lib/collections/sole/index.d.ts +1 -0
  179. package/lib/collections/subscription/index.d.ts +1 -0
  180. package/lib/collections/tax-summary/index.d.ts +2 -0
  181. package/lib/collections/user-event-type-collection.d.ts +7 -0
  182. package/lib/db/Models/bank/bank-account.d.ts +2 -2
  183. package/lib/db/Models/bank/bank-connection.d.ts +2 -2
  184. package/lib/db/Models/bank/bank-transaction-rule.d.ts +26 -0
  185. package/lib/db/Models/bank/bank-transaction.d.ts +2 -2
  186. package/lib/db/Models/document/document-base.d.ts +11 -0
  187. package/lib/db/Models/firm/firm-invite.d.ts +15 -0
  188. package/lib/db/Models/firm/message.d.ts +2 -2
  189. package/lib/db/Models/index.d.ts +101 -0
  190. package/lib/db/Models/loan/loan-payout.d.ts +2 -2
  191. package/lib/db/Models/loan/loan.d.ts +2 -2
  192. package/lib/db/Models/property/property-category-movement.d.ts +2 -2
  193. package/lib/db/Models/property/property-category.d.ts +2 -2
  194. package/lib/db/Models/property/property-sale/property-sale.d.ts +2 -2
  195. package/lib/db/Models/property/property-share.d.ts +2 -2
  196. package/lib/db/Models/spare/spare-document-category.d.ts +7 -0
  197. package/lib/db/Models/spare/spare-document.d.ts +16 -0
  198. package/lib/db/Models/tax-calculation.d.ts +19 -0
  199. package/lib/db/Models/transaction/transaction-base.d.ts +2 -2
  200. package/lib/interfaces/index.d.ts +17 -0
  201. package/lib/models/bank/basiq/basiq-token.d.ts +2 -1
  202. package/lib/models/borrowing-expense/index.d.ts +2 -0
  203. package/lib/models/chart-accounts/index.d.ts +1 -1
  204. package/lib/models/chat/index.d.ts +4 -0
  205. package/lib/models/depreciation/depreciation-lvp-rate.enum.d.ts +7 -0
  206. package/lib/models/depreciation/index.d.ts +9 -0
  207. package/lib/models/dictionary/index.d.ts +1 -0
  208. package/lib/models/event/app-event-type.enum.d.ts +67 -69
  209. package/lib/models/event/index.d.ts +2 -0
  210. package/lib/models/financial-year/index.d.ts +4 -0
  211. package/lib/models/index.d.ts +11 -1
  212. package/lib/models/loan/index.d.ts +4 -0
  213. package/lib/models/notification/index.d.ts +1 -0
  214. package/lib/models/property/index.d.ts +17 -0
  215. package/lib/models/property/property.d.ts +0 -2
  216. package/lib/models/user/index.d.ts +9 -0
  217. package/lib/services/http/bank/bank-account/bank-account.service.d.ts +10 -25
  218. package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts +18 -8
  219. package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts +10 -13
  220. package/lib/services/http/bank/bank.service.d.ts +10 -7
  221. package/lib/services/http/bank/basiq/basiq-token.service.d.ts +10 -9
  222. package/lib/services/http/bank/basiq/basiq.service.d.ts +12 -15
  223. package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +8 -10
  224. package/lib/services/http/chart-accounts/chart-accounts.service.d.ts +11 -24
  225. package/lib/services/http/chat/chat.service.d.ts +12 -11
  226. package/lib/services/http/chat/index.d.ts +2 -2
  227. package/lib/services/http/chat/message-document.service.d.ts +35 -0
  228. package/lib/services/http/chat/message.service.d.ts +38 -0
  229. package/lib/services/http/depreciation/depreciation.service.d.ts +12 -23
  230. package/lib/services/http/loan/borrowing-expense/borrowing-expense.service.d.ts +3 -0
  231. package/lib/services/http/loan/loan.service.d.ts +16 -29
  232. package/lib/services/http/property/property-category/property-category.service.d.ts +8 -5
  233. package/lib/services/http/property/property-category-movement/property-category-movement.service.d.ts +8 -10
  234. package/lib/services/http/property/property-document/property-document.service.d.ts +9 -11
  235. package/lib/services/http/property/property-sale/property-sale.service.d.ts +8 -14
  236. package/lib/services/http/property/property-sale/tax-exemption/tax-exemption.service.d.ts +9 -6
  237. package/lib/services/http/property/property-share/property-share.service.d.ts +10 -22
  238. package/lib/services/http/property/property.service.d.ts +9 -9
  239. package/lib/services/http/rest/rest.service.d.ts +6 -4
  240. package/lib/services/report/property/property-transaction-report.service.d.ts +2 -3
  241. package/package.json +1 -1
  242. package/public-api.d.ts +0 -84
  243. package/esm2015/lib/collections/chat.collection.js +0 -26
  244. package/esm2015/lib/collections/message-document.collection.js +0 -13
  245. package/esm2015/lib/collections/message.collection.js +0 -33
  246. package/esm2015/lib/services/http/chat/message/index.js +0 -2
  247. package/esm2015/lib/services/http/chat/message/message.service.js +0 -61
  248. package/esm2015/lib/services/http/chat/message-document/index.js +0 -2
  249. package/esm2015/lib/services/http/chat/message-document/message-document.service.js +0 -118
  250. package/lib/services/http/chat/message/index.d.ts +0 -1
  251. package/lib/services/http/chat/message/message.service.d.ts +0 -28
  252. package/lib/services/http/chat/message-document/index.d.ts +0 -1
  253. package/lib/services/http/chat/message-document/message-document.service.d.ts +0 -50
@@ -0,0 +1,38 @@
1
+ import { Message as MessageBase } from '../../../db/Models';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { Message } from '../../../models';
4
+ import { RestMethod, RestService } from '../rest';
5
+ import { EventDispatcherService, SseService } from '../../event';
6
+ import { MessageCollection } from '../../../collections';
7
+ import { IEventListener } from '../../../interfaces';
8
+ import { Observable } from 'rxjs';
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ * Service for work with messages
12
+ */
13
+ export declare class MessageService extends RestService<MessageBase, Message, MessageCollection> implements IEventListener {
14
+ protected http: HttpClient;
15
+ protected eventDispatcherService: EventDispatcherService;
16
+ protected environment: any;
17
+ private sseService;
18
+ modelClass: typeof Message;
19
+ collectionClass: typeof MessageCollection;
20
+ endpointUri: string;
21
+ isApiPlatform: boolean;
22
+ disabledMethods: RestMethod[];
23
+ constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any, sseService: SseService);
24
+ /**
25
+ * Overwrite default methods because we need to handle messages via SSE events only
26
+ */
27
+ post(message: Message): Observable<Message>;
28
+ /**
29
+ * Overwrite default methods because we need to handle messages via SSE events only
30
+ */
31
+ put(message: Message): Observable<Message>;
32
+ /**
33
+ * subscribe to new chat messages
34
+ */
35
+ private listenMessages;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
38
+ }
@@ -1,32 +1,22 @@
1
1
  import { Observable } from 'rxjs';
2
- import { Depreciation as DepreciationBase } from '../../../db/Models/depreciation/depreciation';
3
- import { RestService } from '../rest/rest-old.service';
4
- import { Depreciation } from '../../../models/depreciation/depreciation';
2
+ import { Depreciation as DepreciationBase } from '../../../db/Models';
3
+ import { RestMethod, RestService } from '../rest';
4
+ import { Depreciation } from '../../../models';
5
+ import { DepreciationCollection } from '../../../collections';
5
6
  import { HttpClient } from '@angular/common/http';
6
- import { EventDispatcherService } from '../../event/event-dispatcher.service';
7
- import { ToastService } from '../../toast/toast.service';
8
- import { DepreciationReceiptService } from './depreciation-receipt/depreciation-receipt.service';
7
+ import { EventDispatcherService } from '../../event';
9
8
  import * as i0 from "@angular/core";
10
- export declare class DepreciationService extends RestService<DepreciationBase, Depreciation> {
9
+ export declare class DepreciationService extends RestService<DepreciationBase, Depreciation, DepreciationCollection> {
11
10
  protected http: HttpClient;
12
11
  protected eventDispatcherService: EventDispatcherService;
13
12
  protected environment: any;
14
- protected toastService: ToastService;
15
- private depreciationReceiptService;
16
13
  modelClass: typeof Depreciation;
17
- url: string;
18
- constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any, toastService: ToastService, depreciationReceiptService: DepreciationReceiptService);
19
- /**
20
- * Add a single depreciation
21
- * @TODO add auto-generation for events
22
- */
23
- add(depreciation: Depreciation): Observable<Depreciation>;
24
- /**
25
- * Add multiple depreciations
26
- * @TODO add auto-generation for events
27
- */
28
- addBatch(depreciations: Depreciation[]): Observable<Depreciation[]>;
29
- update(depreciation: Depreciation): Observable<Depreciation>;
14
+ collectionClass: typeof DepreciationCollection;
15
+ endpointUri: string;
16
+ disabledMethods: RestMethod[];
17
+ constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
18
+ postBatch(depreciations: Depreciation[]): Observable<Depreciation[]>;
19
+ put(depreciation: Depreciation): Observable<Depreciation>;
30
20
  /**
31
21
  * Listen to Depreciations events
32
22
  */
@@ -46,7 +36,6 @@ export declare class DepreciationService extends RestService<DepreciationBase, D
46
36
  * Listen to EventDispatcherService event related to updated vehicle claim
47
37
  */
48
38
  private listenVehicleClaimChanges;
49
- private replaceInCache;
50
39
  /**
51
40
  * @TODO Alex: create common method resetCacheOn(events: AppEventType[])
52
41
  */
@@ -3,6 +3,9 @@ import { HttpClient } from '@angular/common/http';
3
3
  import { BorrowingExpense } from '../../../../models/borrowing-expense/borrowing-expense';
4
4
  import { Loan } from '../../../../models/loan/loan';
5
5
  import * as i0 from "@angular/core";
6
+ /**
7
+ * @TODO Alex (TT-1777): Refactor with rest service
8
+ */
6
9
  export declare class BorrowingExpenseService {
7
10
  private http;
8
11
  protected environment: any;
@@ -1,56 +1,43 @@
1
1
  import { Observable } from 'rxjs';
2
- import { Loan as LoanBase } from '../../../db/Models/loan/loan';
3
- import { RestService } from '../rest/rest-old.service';
4
- import { Loan } from '../../../models/loan/loan';
5
- import { LoanPayout } from '../../../models/loan/loan-payout';
6
- import { IEventListener } from '../../../interfaces/event-listener.interface';
2
+ import { Loan as LoanBase } from '../../../db/Models';
3
+ import { RestMethod, RestService } from '../rest';
4
+ import { Loan, LoanPayout } from '../../../models';
5
+ import { IEventListener } from '../../../interfaces';
6
+ import { LoanCollection } from '../../../collections';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Service that handling loans logic
10
10
  */
11
- export declare class LoanService extends RestService<LoanBase, Loan> implements IEventListener {
12
- url: string;
11
+ export declare class LoanService extends RestService<LoanBase, Loan, LoanCollection> implements IEventListener {
12
+ endpointUri: string;
13
13
  modelClass: typeof Loan;
14
+ collectionClass: typeof LoanCollection;
15
+ disabledMethods: RestMethod[];
14
16
  /**
15
17
  * Listen to Loans events
16
18
  */
17
19
  listenEvents(): void;
18
- listenToAddedLoans(): void;
19
- listenToUpdatedBankAccounts(): void;
20
- /**
21
- * Create Loan
22
- */
23
- add(model: Loan): Observable<Loan>;
24
- /**
25
- * Updated loan
26
- * @param loan
27
- */
28
- update(loan: Loan): Observable<Loan>;
29
- /**
30
- * Get list of vehicle loans
31
- */
32
- getVehicleLoans(): Observable<Loan[]>;
33
20
  /**
34
21
  * Calculate loan payments
35
- * @param loan
36
22
  */
37
23
  calculateLoanPayments(loan: Loan): Observable<any>;
38
24
  /**
39
25
  * Add new loan payout
40
- * @param loan
41
- * @param paidOutLoan
26
+ * @TODO Vik: fix api (remove loan id from URL)
27
+ * @TODO Alex: move to separated service
42
28
  */
43
29
  addPayoutLoan(loan: Loan, paidOutLoan: LoanPayout): Observable<any>;
44
30
  /**
45
31
  * Delete loan payout
46
- * @param loan
47
- * @param payout
32
+ * @TODO Vik: fix api (remove loan id from URL)
33
+ * @TODO Alex: move to separated service
48
34
  */
49
35
  deletePayoutLoan(loan: Loan, payout: LoanPayout): Observable<any>;
50
36
  /**
51
37
  * Update loan payout
52
- * @param loan
53
- * @param paidOutLoan
38
+ *
39
+ * @TODO Vik: fix api (remove loan id from URL)
40
+ * @TODO Alex: move to separated service
54
41
  */
55
42
  updatePayoutLoan(loan: Loan, paidOutLoan: LoanPayout): Observable<any>;
56
43
  static ɵfac: i0.ɵɵFactoryDeclaration<LoanService, never>;
@@ -1,13 +1,16 @@
1
- import { PropertyCategory as PropertyCategoryBase } from '../../../../db/Models/property/property-category';
2
- import { RestService } from '../../rest/rest-old.service';
3
- import { PropertyCategory } from '../../../../models/property/property-category';
1
+ import { PropertyCategory as PropertyCategoryBase } from '../../../../db/Models';
2
+ import { RestMethod, RestService } from '../../rest';
3
+ import { PropertyCategory } from '../../../../models';
4
+ import { Collection } from '../../../../collections';
4
5
  import * as i0 from "@angular/core";
5
6
  /**
6
7
  * Service for work with Property Categories
7
8
  */
8
- export declare class PropertyCategoryService extends RestService<PropertyCategoryBase, PropertyCategory> {
9
+ export declare class PropertyCategoryService extends RestService<PropertyCategoryBase, PropertyCategory, Collection<PropertyCategory>> {
9
10
  modelClass: typeof PropertyCategory;
10
- url: string;
11
+ collectionClass: typeof Collection;
12
+ endpointUri: string;
13
+ disabledMethods: RestMethod[];
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyCategoryService, never>;
12
15
  static ɵprov: i0.ɵɵInjectableDeclaration<PropertyCategoryService>;
13
16
  }
@@ -1,15 +1,13 @@
1
- import { PropertyCategoryMovement } from '../../../../models/property/property-category-movement';
2
- import { PropertyCategoryMovement as PropertyCategoryMovementBase } from '../../../../db/Models/property/property-category-movement';
3
- import { RestService } from '../../rest/rest-old.service';
4
- import { Observable } from 'rxjs';
1
+ import { PropertyCategoryMovement } from '../../../../models';
2
+ import { PropertyCategoryMovement as PropertyCategoryMovementBase } from '../../../../db/Models';
3
+ import { RestMethod, RestService } from '../../rest';
4
+ import { PropertyCategoryMovementCollection } from '../../../../collections';
5
5
  import * as i0 from "@angular/core";
6
- export declare class PropertyCategoryMovementService extends RestService<PropertyCategoryMovementBase, PropertyCategoryMovement> {
6
+ export declare class PropertyCategoryMovementService extends RestService<PropertyCategoryMovementBase, PropertyCategoryMovement, PropertyCategoryMovementCollection> {
7
7
  modelClass: typeof PropertyCategoryMovement;
8
- url: string;
9
- add(model: PropertyCategoryMovement): Observable<PropertyCategoryMovement>;
10
- update(model: PropertyCategoryMovement): Observable<PropertyCategoryMovement>;
11
- delete(model: PropertyCategoryMovement): Observable<void>;
12
- getByPropertyId(id: number): Observable<PropertyCategoryMovement[]>;
8
+ collectionClass: typeof PropertyCategoryMovementCollection;
9
+ endpointUri: string;
10
+ disabledMethods: RestMethod[];
13
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyCategoryMovementService, never>;
14
12
  static ɵprov: i0.ɵɵInjectableDeclaration<PropertyCategoryMovementService>;
15
13
  }
@@ -1,24 +1,22 @@
1
1
  import { Observable } from 'rxjs';
2
- import { PropertyDocument as PropertyDocumentBase } from '../../../../db/Models/document/property-document';
3
- import { PropertyDocument } from '../../../../models/property/property-document';
4
- import { RestService } from '../../rest/rest-old.service';
5
- import { IEventListener } from '../../../../interfaces/event-listener.interface';
2
+ import { PropertyDocument as PropertyDocumentBase } from '../../../../db/Models';
3
+ import { RestMethod, RestService } from '../../rest';
4
+ import { PropertyDocument } from '../../../../models';
5
+ import { IEventListener } from '../../../../interfaces';
6
+ import { Collection } from '../../../../collections';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * Class for work with Property Documents
9
10
  */
10
- export declare class PropertyDocumentService extends RestService<PropertyDocumentBase, PropertyDocument> implements IEventListener {
11
+ export declare class PropertyDocumentService extends RestService<PropertyDocumentBase, PropertyDocument, Collection<PropertyDocument>> implements IEventListener {
11
12
  modelClass: typeof PropertyDocument;
12
- url: string;
13
+ collectionClass: typeof Collection;
14
+ endpointUri: string;
15
+ disabledMethods: RestMethod[];
13
16
  /**
14
17
  * Add new Property Document
15
18
  */
16
19
  upload(file: File, propertyId: number): Observable<PropertyDocument>;
17
- /**
18
- * Get documents by property id
19
- * @param propertyId to get desired documents
20
- */
21
- getByPropertyId(propertyId: number): Observable<PropertyDocument[]>;
22
20
  listenEvents(): void;
23
21
  private listenPropertyUpdateWithDocument;
24
22
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyDocumentService, never>;
@@ -1,19 +1,13 @@
1
- import { PropertySale as PropertySaleBase } from '../../../../db/Models/property/property-sale/property-sale';
2
- import { PropertySale } from '../../../../models/property/property-sale/property-sale';
3
- import { RestService } from '../../rest/rest-old.service';
4
- import { Observable } from 'rxjs';
1
+ import { PropertySale as PropertySaleBase } from '../../../../db/Models';
2
+ import { PropertySale } from '../../../../models';
3
+ import { RestMethod, RestService } from '../../rest';
4
+ import { PropertySaleCollection } from '../../../../collections';
5
5
  import * as i0 from "@angular/core";
6
- export declare class PropertySaleService extends RestService<PropertySaleBase, PropertySale> {
6
+ export declare class PropertySaleService extends RestService<PropertySaleBase, PropertySale, PropertySaleCollection> {
7
7
  modelClass: typeof PropertySale;
8
- url: string;
9
- /**
10
- * @Todo should be extended from the RestService
11
- */
12
- add(model: PropertySale): Observable<PropertySale>;
13
- /**
14
- * @Todo should be extended from the RestService
15
- */
16
- delete(model: PropertySale): Observable<void>;
8
+ collectionClass: typeof PropertySaleCollection;
9
+ endpointUri: string;
10
+ disabledMethods: RestMethod[];
17
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertySaleService, never>;
18
12
  static ɵprov: i0.ɵɵInjectableDeclaration<PropertySaleService>;
19
13
  }
@@ -1,11 +1,14 @@
1
- import { RestService } from '../../../rest/rest-old.service';
2
- import { TaxExemption as BaseTaxExemption } from '../../../../../db/Models/property/property-sale/tax-exemption';
3
- import { TaxExemption } from '../../../../../models/property/property-sale/tax-exemption';
1
+ import { RestMethod, RestService } from '../../../rest';
2
+ import { TaxExemption as BaseTaxExemption } from '../../../../../db/Models';
3
+ import { TaxExemption } from '../../../../../models';
4
+ import { Collection } from '../../../../../collections';
4
5
  import * as i0 from "@angular/core";
5
- export declare class TaxExemptionService extends RestService<BaseTaxExemption, TaxExemption> {
6
+ export declare class TaxExemptionService extends RestService<BaseTaxExemption, TaxExemption, Collection<TaxExemption>> {
6
7
  modelClass: typeof TaxExemption;
7
- url: string;
8
- isHydra: boolean;
8
+ collectionClass: typeof Collection;
9
+ endpointUri: string;
10
+ isApiPlatform: boolean;
11
+ disabledMethods: RestMethod[];
9
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TaxExemptionService, never>;
10
13
  static ɵprov: i0.ɵɵInjectableDeclaration<TaxExemptionService>;
11
14
  }
@@ -1,35 +1,24 @@
1
1
  import { Observable } from 'rxjs';
2
- import { PropertyShare as PropertyShareBase } from '../../../../db/Models/property/property-share';
3
- import { PropertyShare } from '../../../../models/property/property-share';
4
- import { RestService } from '../../rest/rest-old.service';
5
- import { IEventListener } from '../../../../interfaces/event-listener.interface';
2
+ import { PropertyShare as PropertyShareBase } from '../../../../db/Models';
3
+ import { PropertyShare } from '../../../../models';
4
+ import { RestMethod, RestService } from '../../rest';
5
+ import { IEventListener } from '../../../../interfaces';
6
+ import { PropertyShareCollection } from '../../../../collections';
6
7
  import * as i0 from "@angular/core";
7
- export declare class PropertyShareService extends RestService<PropertyShareBase, PropertyShare> implements IEventListener {
8
- url: string;
8
+ export declare class PropertyShareService extends RestService<PropertyShareBase, PropertyShare, PropertyShareCollection> implements IEventListener {
9
+ endpointUri: string;
9
10
  modelClass: typeof PropertyShare;
11
+ collectionClass: typeof PropertyShareCollection;
12
+ disabledMethods: RestMethod[];
10
13
  /**
11
14
  * Listen to Event Dispatcher events
12
15
  */
13
16
  listenEvents(): void;
14
- /**
15
- * Updated loan
16
- */
17
- update(propertyShare: PropertyShare): Observable<PropertyShare>;
18
17
  /**
19
18
  * Re-invite property share
20
19
  * @param share user to share property
21
20
  */
22
21
  reinvite(share: PropertyShare): Observable<object>;
23
- getIncoming(): Observable<PropertyShare[]>;
24
- /**
25
- * Get outcoming property shares list
26
- */
27
- getOutcoming(): Observable<PropertyShare[]>;
28
- /**
29
- * Filter outcoming property shares
30
- */
31
- filterOutcoming(propertyShares: PropertyShare[]): PropertyShare[];
32
- getByPropertyId(propertyId: number): Observable<PropertyShare[]>;
33
22
  /**
34
23
  * Listen to User updated event
35
24
  */
@@ -37,8 +26,7 @@ export declare class PropertyShareService extends RestService<PropertyShareBase,
37
26
  /**
38
27
  * @Todo Alex refactor after PropertyShare functionality in PropertyService will be cleared up
39
28
  */
40
- private listenSalesAdded;
41
- private listenSalesDeleted;
29
+ private listenSalesChanges;
42
30
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertyShareService, never>;
43
31
  static ɵprov: i0.ɵɵInjectableDeclaration<PropertyShareService>;
44
32
  }
@@ -1,8 +1,8 @@
1
- import { Property as PropertyBase } from '../../../db/Models/property/property';
1
+ import { Property as PropertyBase } from '../../../db/Models';
2
2
  import { Observable } from 'rxjs';
3
- import { Property } from '../../../models/property/property';
4
- import { IEventListener } from '../../../interfaces/event-listener.interface';
5
- import { RestService } from '../rest/rest.service';
3
+ import { Property } from '../../../models';
4
+ import { IEventListener } from '../../../interfaces';
5
+ import { RestMethod, RestService } from '../rest';
6
6
  import { PropertyCollection } from '../../../collections';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
@@ -13,7 +13,8 @@ import * as i0 from "@angular/core";
13
13
  export declare class PropertyService extends RestService<PropertyBase, Property, PropertyCollection> implements IEventListener {
14
14
  modelClass: typeof Property;
15
15
  collectionClass: typeof PropertyCollection;
16
- entityUrl: string;
16
+ endpointUri: string;
17
+ disabledMethods: RestMethod[];
17
18
  post(property: Property): Observable<Property>;
18
19
  listenEvents(): void;
19
20
  /**
@@ -23,12 +24,11 @@ export declare class PropertyService extends RestService<PropertyBase, Property,
23
24
  /**
24
25
  * Update cache when property category changed
25
26
  */
26
- private listenMovementsChanged;
27
+ private listenMovementsChanges;
27
28
  /**
28
- * @Todo Alex refactor after PropertyShare will be cleared up
29
+ * Update cache when property sales changed
29
30
  */
30
- private listenSalesAdded;
31
- private listenSalesDeleted;
31
+ private listenSalesChanges;
32
32
  updateDepreciationCalculation(property: Property): Observable<void>;
33
33
  /**
34
34
  * Activate deactivated property
@@ -22,7 +22,7 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
22
22
  /**
23
23
  * Url part for service entity API
24
24
  */
25
- protected abstract entityUrl: string;
25
+ protected abstract endpointUri: string;
26
26
  /**
27
27
  * Model class for instances creating
28
28
  */
@@ -51,6 +51,7 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
51
51
  protected get apiUrl(): string;
52
52
  get(): Observable<CollectionModel>;
53
53
  getSingle(): Observable<Model>;
54
+ getArray(): Observable<Model[]>;
54
55
  /**
55
56
  * Create a new Model instance in database
56
57
  */
@@ -86,7 +87,7 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
86
87
  /**
87
88
  * Handle response data - update cache and dispatch event if it is needed
88
89
  */
89
- private handleResponse;
90
+ handleResponse(response: Model[], method: HttpMethod): void;
90
91
  /**
91
92
  * Update cache with passed items. Add/Update detects automatically, Delete via optional flag
92
93
  */
@@ -108,12 +109,13 @@ export declare abstract class RestService<BaseModel extends AbstractModel, Model
108
109
  */
109
110
  private handleAccessError;
110
111
  /**
111
- * Subscribe to http events and run callback
112
+ * Subscribe to http events and run callback.
113
+ * CSE - Cleint Sent Events
112
114
  * @param type The class whose changes should be listened for
113
115
  * @param methods The list of http methods should be listened for
114
116
  * @param callback The function to be called when event triggered
115
117
  */
116
- protected listenCSE(modelClass: typeof ObservableModel, methods: RestMethod[], callback: Function): void;
118
+ protected listenCSE(modelClass: typeof ObservableModel, methods: HttpMethod[], callback: Function): void;
117
119
  /**
118
120
  * Method that call all listeners. Empty by default. Should be redefined by child services if required
119
121
  */
@@ -1,12 +1,11 @@
1
1
  import { PropertyService, TransactionService, DepreciationService, ChartAccountsService } from '../../http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Property } from '../../../models/property/property';
4
- import { ChartAccounts } from '../../../models';
5
4
  import { DepreciationCollection } from '../../../collections/depreciation.collection';
6
- import { Collection } from '../../../collections';
7
5
  import { CollectionDictionary } from '../../../collections/collection-dictionary';
8
6
  import { TransactionCollection } from '../../../collections';
9
7
  import { PropertyReportItemCollection } from '../../../collections/report/property/property-report-item.collection';
8
+ import { ChartAccountsCollection } from '../../../collections/chart-accounts.collection';
10
9
  import * as i0 from "@angular/core";
11
10
  /**
12
11
  * Service to handle Property transactions report items data (get income / expense report items, e.t.c.)
@@ -19,7 +18,7 @@ export declare class PropertyTransactionReportService {
19
18
  properties: Property[];
20
19
  transactions: TransactionCollection;
21
20
  depreciations: DepreciationCollection;
22
- chartAccounts: Collection<ChartAccounts>;
21
+ chartAccounts: ChartAccountsCollection;
23
22
  constructor(propertyService: PropertyService, transactionService: TransactionService, depreciationService: DepreciationService, chartAccountsService: ChartAccountsService);
24
23
  /**
25
24
  * Get collection of report items based on transactions & depreciations
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.28.118",
3
+ "version": "0.29.0",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",
package/public-api.d.ts CHANGED
@@ -6,37 +6,6 @@ export * from './lib/tt-core.module';
6
6
  * Collections
7
7
  */
8
8
  export * from './lib/collections';
9
- export * from './lib/collections/collection';
10
- export * from './lib/collections/account-setup-item.collection';
11
- export * from './lib/collections/bank-account.collection';
12
- export * from './lib/collections/bank-transaction.collection';
13
- export * from './lib/collections/chart-accounts.collection';
14
- export * from './lib/collections/chat.collection';
15
- export * from './lib/collections/client.collection';
16
- export * from './lib/collections/client-movement.collection';
17
- export * from './lib/collections/client-portfolio-report.collection';
18
- export * from './lib/collections/collection-dictionary';
19
- export * from './lib/collections/depreciation.collection';
20
- export * from './lib/collections/depreciation-forecast.collection';
21
- export * from './lib/collections/employee.collection';
22
- export * from './lib/collections/income-source.collection';
23
- export * from './lib/collections/loan/loan.collection';
24
- export * from './lib/collections/loan/loan-payment.collection';
25
- export * from './lib/collections/message.collection';
26
- export * from './lib/collections/message-document.collection';
27
- export * from './lib/collections/report/depreciation/depreciation-lvp-report-item.collection';
28
- export * from './lib/collections/report/depreciation/depreciation-report-item.collection';
29
- export * from './lib/collections/report/property/property-report-item.collection';
30
- export * from './lib/collections/report/property/property-report-item-transaction.collection';
31
- export * from './lib/collections/report/property/property-report-item-depreciation.collection';
32
- export * from './lib/collections/report/vehicle-expense/vehicle-expense.collection';
33
- export * from './lib/collections/subscription/service-subscription.collection';
34
- export * from './lib/collections/tax-summary/report-item.collection';
35
- export * from './lib/collections/tax-summary/tax-return-categories.const';
36
- export * from './lib/collections/tax-review.collection';
37
- export * from './lib/collections/user-event-setting.collection';
38
- export * from './lib/collections/exportable.collection';
39
- export * from './lib/collections/client-invite.collection';
40
9
  /**
41
10
  * DB models
42
11
  */
@@ -145,22 +114,8 @@ export * from './lib/models';
145
114
  export * from './lib/models/account-setup/account-setup-item';
146
115
  export * from './lib/models/badge/badge';
147
116
  export * from './lib/models/badge/badge-color.enum';
148
- export * from './lib/models/borrowing-expense/borrowing-expense';
149
- export * from './lib/models/borrowing-expense/borrowing-expense-loan';
150
117
  export * from './lib/models/chart/chart-data';
151
118
  export * from './lib/models/chart/chart-serie';
152
- export * from './lib/models/chart-accounts/chart-accounts';
153
- export * from './lib/models/chart-accounts/chart-accounts-categories.const';
154
- export * from './lib/models/chart-accounts/chart-accounts-category.e-collection';
155
- export * from './lib/models/chart-accounts/chart-accounts-depreciation';
156
- export * from './lib/models/chart-accounts/chart-accounts-heading';
157
- export * from './lib/models/chart-accounts/chart-accounts-metadata';
158
- export * from './lib/models/chart-accounts/chart-accounts-tax-labels.enum';
159
- export * from './lib/models/chart-accounts/chart-accounts-value';
160
- export * from './lib/models/chat/chat';
161
- export * from './lib/models/chat/chat-view-type.enum';
162
- export * from './lib/models/chat/message';
163
- export * from './lib/models/chat/message-document';
164
119
  export * from './lib/models/client/client-details';
165
120
  export * from './lib/models/client/client-income-types';
166
121
  export * from './lib/models/client/client-invite';
@@ -168,16 +123,6 @@ export * from './lib/models/client/client-movement';
168
123
  export * from './lib/models/client/client-portfolio-chart-data';
169
124
  export * from './lib/models/client/client-portfolio-report';
170
125
  export * from './lib/models/color/alphabet-colors.enum';
171
- export * from './lib/models/dictionary/dictionary';
172
- export * from './lib/models/depreciation/depreciation';
173
- export * from './lib/models/depreciation/depreciation-capital-project';
174
- export * from './lib/models/depreciation/depreciation-forecast';
175
- export * from './lib/models/depreciation/depreciation-group.enum';
176
- export * from './lib/models/depreciation/depreciation-group';
177
- export * from './lib/models/depreciation/depreciation-group-item';
178
- export * from './lib/models/depreciation/depreciation-groups.const';
179
- export * from './lib/models/depreciation/depreciation-receipt';
180
- export * from './lib/models/dictionary/dictionary';
181
126
  export * from './lib/models/document/document';
182
127
  export * from './lib/models/document/document-api-url-prefix.enum';
183
128
  export * from './lib/models/document/document-file-types.const';
@@ -203,30 +148,10 @@ export * from './lib/models/income-source/income-source-forecast';
203
148
  export * from './lib/models/income-source/income-source-type';
204
149
  export * from './lib/models/income-source/salary-forecast';
205
150
  export * from './lib/models/income-source/sole-forecast';
206
- export * from './lib/models/loan/loan';
207
- export * from './lib/models/loan/loan-max-number-of-payments.enum';
208
- export * from './lib/models/loan/loan-payment';
209
- export * from './lib/models/loan/loan-payout';
210
151
  export * from './lib/models/notification/notification';
211
152
  export * from './lib/models/pdf/pdf-orientation.enum';
212
153
  export * from './lib/models/pdf/pdf-settings';
213
154
  export * from './lib/models/phone/phone';
214
- export * from './lib/models/property/calculation-form-item';
215
- export * from './lib/models/property/calculation-form-type.enum';
216
- export * from './lib/models/property/capital-costs-itmes.const';
217
- export * from './lib/models/property/corelogic-suggestion';
218
- export * from './lib/models/property/share-filter-options.enum';
219
- export * from './lib/models/property/property';
220
- export * from './lib/models/property/property-category';
221
- export * from './lib/models/property/property-category-movement';
222
- export * from './lib/models/property/property-document';
223
- export * from './lib/models/property/property-equity-chart-data';
224
- export * from './lib/models/property/property-equity-chart-item';
225
- export * from './lib/models/property/property-forecast';
226
- export * from './lib/models/property/property-share';
227
- export * from './lib/models/property/property-sale';
228
- export * from './lib/models/property/property-subscription';
229
- export * from './lib/models/property/property-valuation';
230
155
  export * from './lib/models/registration-invite/registration-invite';
231
156
  export * from './lib/models/report';
232
157
  export * from './lib/models/service-subscription/module-url-list.const';
@@ -249,15 +174,6 @@ export * from './lib/models/transaction/transaction-allocation';
249
174
  export * from './lib/models/transaction/transaction-category.enum';
250
175
  export * from './lib/models/transaction/transaction-metadata';
251
176
  export * from './lib/models/transaction/transaction-receipt';
252
- export * from './lib/models/user/my-account-history';
253
- export * from './lib/models/user/my-account-history-initiated-by.enum';
254
- export * from './lib/models/user/my-account-history-status.enum';
255
- export * from './lib/models/user/my-account-history-type.enum';
256
- export * from './lib/models/user/occupation';
257
- export * from './lib/models/user/user';
258
- export * from './lib/models/user/user-roles.const';
259
- export * from './lib/models/user/user-to-register';
260
- export * from './lib/models/user/user-work-position.const';
261
177
  export * from './lib/models/user-event/user-event-type-category';
262
178
  export * from './lib/models/user-event/user-event-setting';
263
179
  export * from './lib/models/user-event/user-event-setting-field.enum';