taxtank-core 0.32.16 → 0.32.18

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 (176) hide show
  1. package/esm2022/lib/collections/collection.mjs +9 -3
  2. package/esm2022/lib/collections/property/index.mjs +2 -1
  3. package/esm2022/lib/collections/property/property-category-movement.collection.mjs +12 -4
  4. package/esm2022/lib/collections/property/property-valuation.collection.mjs +4 -0
  5. package/esm2022/lib/collections/property/property.collection.mjs +31 -33
  6. package/esm2022/lib/db/Models/firm/client-movement.mjs +3 -3
  7. package/esm2022/lib/db/Models/property/property.mjs +1 -1
  8. package/esm2022/lib/db/Models/user/registration-invite.mjs +1 -1
  9. package/esm2022/lib/forms/property/index.mjs +5 -1
  10. package/esm2022/lib/forms/property/property-add.form.mjs +69 -0
  11. package/esm2022/lib/forms/property/property-category-movement-form.mjs +22 -0
  12. package/esm2022/lib/forms/property/property-forecast.form.mjs +29 -0
  13. package/esm2022/lib/forms/property/property-share.form.mjs +16 -0
  14. package/esm2022/lib/forms/property/property-valuation.form.mjs +5 -3
  15. package/esm2022/lib/models/client/client-movement.mjs +3 -3
  16. package/esm2022/lib/models/depreciation/depreciation.mjs +1 -1
  17. package/esm2022/lib/models/endpoint/endpoints.const.mjs +10 -12
  18. package/esm2022/lib/models/event/app-event-type.enum.mjs +55 -57
  19. package/esm2022/lib/models/property/index.mjs +1 -2
  20. package/esm2022/lib/models/property/property-category-movement.mjs +5 -1
  21. package/esm2022/lib/models/property/property-valuation.mjs +1 -4
  22. package/esm2022/lib/models/property/property.mjs +15 -26
  23. package/esm2022/lib/services/data.service.mjs +2 -3
  24. package/esm2022/lib/services/event/sse.service.mjs +2 -2
  25. package/esm2022/lib/services/http/address/address.service.mjs +2 -2
  26. package/esm2022/lib/services/http/bank/bank-account/bank-account.service.mjs +8 -7
  27. package/esm2022/lib/services/http/bank/bank-connection/bank-connection.service.mjs +11 -20
  28. package/esm2022/lib/services/http/bank/bank-transaction/bank-transaction.service.mjs +11 -6
  29. package/esm2022/lib/services/http/bank/bank.service.mjs +1 -2
  30. package/esm2022/lib/services/http/bank/basiq/basiq.service.mjs +7 -7
  31. package/esm2022/lib/services/http/budget/budget.service.mjs +1 -2
  32. package/esm2022/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.mjs +1 -2
  33. package/esm2022/lib/services/http/chat/chat.service.mjs +11 -13
  34. package/esm2022/lib/services/http/chat/message-document.service.mjs +13 -9
  35. package/esm2022/lib/services/http/chat/message.service.mjs +9 -41
  36. package/esm2022/lib/services/http/client/capital-gain/annual-client-details.service.mjs +1 -2
  37. package/esm2022/lib/services/http/depreciation/depreciation.service.mjs +6 -5
  38. package/esm2022/lib/services/http/document/document.service.mjs +1 -2
  39. package/esm2022/lib/services/http/file/file.service.mjs +1 -2
  40. package/esm2022/lib/services/http/firm/client-income/client-income-types.service.mjs +1 -2
  41. package/esm2022/lib/services/http/firm/client-invite/client-invite.service.mjs +17 -31
  42. package/esm2022/lib/services/http/firm/client-movement/client-movement.service.mjs +21 -25
  43. package/esm2022/lib/services/http/firm/firm.service.mjs +2 -2
  44. package/esm2022/lib/services/http/firm/portfolio-report/client-portfolio-report.service.mjs +1 -1
  45. package/esm2022/lib/services/http/holding/holding-sale.service.mjs +1 -2
  46. package/esm2022/lib/services/http/holding/holding-type.service.mjs +1 -2
  47. package/esm2022/lib/services/http/holding/holding.service.mjs +12 -8
  48. package/esm2022/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.mjs +12 -7
  49. package/esm2022/lib/services/http/income-source/income-source.service.mjs +12 -7
  50. package/esm2022/lib/services/http/income-source/salary-forecast/salary-forecast.service.mjs +12 -10
  51. package/esm2022/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +12 -10
  52. package/esm2022/lib/services/http/loan/borrowing-expense/borrowing-expense.service.mjs +1 -1
  53. package/esm2022/lib/services/http/loan/loan.service.mjs +14 -9
  54. package/esm2022/lib/services/http/property/borrowing-report/borrowing-report.service.mjs +1 -2
  55. package/esm2022/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +6 -4
  56. package/esm2022/lib/services/http/property/property-document/property-document.service.mjs +2 -28
  57. package/esm2022/lib/services/http/property/property-share/property-share.service.mjs +12 -7
  58. package/esm2022/lib/services/http/property/property-valuation/property-valuation.service.mjs +5 -16
  59. package/esm2022/lib/services/http/property/property.service.mjs +26 -50
  60. package/esm2022/lib/services/http/rest/rest-old.service.mjs +13 -19
  61. package/esm2022/lib/services/http/rest/rest.service.mjs +53 -34
  62. package/esm2022/lib/services/http/service-notification/service-notification.service.mjs +16 -18
  63. package/esm2022/lib/services/http/setup-item/setup-item.service.mjs +1 -2
  64. package/esm2022/lib/services/http/sole/bas-report/bas-report.service.mjs +1 -2
  65. package/esm2022/lib/services/http/sole/sole-business/sole-business.service.mjs +2 -4
  66. package/esm2022/lib/services/http/sole/sole-business-activity/sole-business-activity.service.mjs +1 -2
  67. package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.mjs +1 -2
  68. package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +12 -8
  69. package/esm2022/lib/services/http/sole/sole-contact/sole-contact.service.mjs +1 -2
  70. package/esm2022/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.mjs +7 -7
  71. package/esm2022/lib/services/http/sole/sole-details/sole-details.service.mjs +2 -2
  72. package/esm2022/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +12 -9
  73. package/esm2022/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.mjs +1 -2
  74. package/esm2022/lib/services/http/subscription/service-payment/service-payment.service.mjs +1 -2
  75. package/esm2022/lib/services/http/subscription/service-payment-method/service-payment-method.service.mjs +10 -27
  76. package/esm2022/lib/services/http/subscription/service-price/service-price.service.mjs +1 -2
  77. package/esm2022/lib/services/http/subscription/service-product/service-product.service.mjs +1 -2
  78. package/esm2022/lib/services/http/subscription/service-subscription/subscription.service.mjs +11 -28
  79. package/esm2022/lib/services/http/tax-review/tax-review-history/tax-review-history.service.mjs +12 -7
  80. package/esm2022/lib/services/http/tax-review/tax-review.service.mjs +11 -6
  81. package/esm2022/lib/services/http/tax-summary/tax-summary.service.mjs +3 -3
  82. package/esm2022/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.mjs +1 -2
  83. package/esm2022/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.mjs +11 -6
  84. package/esm2022/lib/services/http/transaction/transaction.service.mjs +6 -7
  85. package/esm2022/lib/services/http/tutorial-video/tutorial-video.service.mjs +1 -1
  86. package/esm2022/lib/services/http/user/user-event-setting/user-event-setting.service.mjs +1 -2
  87. package/esm2022/lib/services/http/user/user-event-type/user-event-type.service.mjs +1 -2
  88. package/esm2022/lib/services/http/user/user.service.mjs +20 -17
  89. package/esm2022/lib/services/http/vehicle/vehicle-claim-details.service.mjs +5 -6
  90. package/esm2022/lib/services/http/vehicle/vehicle-claim.service.mjs +1 -1
  91. package/esm2022/lib/services/property/property-calculation/property-calculation.service.mjs +2 -3
  92. package/fesm2022/taxtank-core.mjs +747 -720
  93. package/fesm2022/taxtank-core.mjs.map +1 -1
  94. package/lib/collections/collection.d.ts +2 -1
  95. package/lib/collections/property/index.d.ts +1 -0
  96. package/lib/collections/property/property-category-movement.collection.d.ts +5 -1
  97. package/lib/collections/property/property-valuation.collection.d.ts +4 -0
  98. package/lib/collections/property/property.collection.d.ts +12 -16
  99. package/lib/db/Models/firm/client-movement.d.ts +2 -2
  100. package/lib/db/Models/property/property.d.ts +1 -0
  101. package/lib/db/Models/user/registration-invite.d.ts +1 -0
  102. package/lib/forms/property/index.d.ts +4 -0
  103. package/lib/forms/property/property-add.form.d.ts +16 -0
  104. package/lib/forms/property/property-category-movement-form.d.ts +6 -0
  105. package/lib/forms/property/property-forecast.form.d.ts +13 -0
  106. package/lib/forms/property/property-share.form.d.ts +8 -0
  107. package/lib/forms/property/property-valuation.form.d.ts +1 -1
  108. package/lib/models/client/client-movement.d.ts +2 -2
  109. package/lib/models/event/app-event-type.enum.d.ts +54 -56
  110. package/lib/models/property/index.d.ts +0 -1
  111. package/lib/models/property/property-category-movement.d.ts +1 -0
  112. package/lib/models/property/property-valuation.d.ts +0 -1
  113. package/lib/models/property/property.d.ts +5 -7
  114. package/lib/services/data.service.d.ts +1 -1
  115. package/lib/services/event/sse.service.d.ts +1 -1
  116. package/lib/services/http/bank/bank-account/bank-account.service.d.ts +1 -1
  117. package/lib/services/http/bank/bank-connection/bank-connection.service.d.ts +3 -11
  118. package/lib/services/http/bank/bank-transaction/bank-transaction.service.d.ts +2 -0
  119. package/lib/services/http/bank/bank.service.d.ts +0 -1
  120. package/lib/services/http/budget/budget.service.d.ts +0 -1
  121. package/lib/services/http/chart-accounts/chart-accounts-depreciations/chart-accounts-depreciations.service.d.ts +0 -1
  122. package/lib/services/http/chat/chat.service.d.ts +3 -7
  123. package/lib/services/http/chat/message-document.service.d.ts +2 -1
  124. package/lib/services/http/chat/message.service.d.ts +3 -19
  125. package/lib/services/http/client/capital-gain/annual-client-details.service.d.ts +0 -1
  126. package/lib/services/http/depreciation/depreciation.service.d.ts +2 -1
  127. package/lib/services/http/document/document.service.d.ts +0 -1
  128. package/lib/services/http/file/file.service.d.ts +0 -1
  129. package/lib/services/http/firm/client-income/client-income-types.service.d.ts +0 -1
  130. package/lib/services/http/firm/client-invite/client-invite.service.d.ts +5 -6
  131. package/lib/services/http/firm/client-movement/client-movement.service.d.ts +7 -10
  132. package/lib/services/http/holding/holding-sale.service.d.ts +0 -1
  133. package/lib/services/http/holding/holding-type.service.d.ts +0 -1
  134. package/lib/services/http/holding/holding.service.d.ts +2 -1
  135. package/lib/services/http/income-source/income-source-forecast/income-source-forecast.service.d.ts +2 -0
  136. package/lib/services/http/income-source/income-source.service.d.ts +4 -2
  137. package/lib/services/http/income-source/salary-forecast/salary-forecast.service.d.ts +4 -2
  138. package/lib/services/http/income-source/sole-forecast/sole-forecast.service.d.ts +4 -2
  139. package/lib/services/http/loan/loan.service.d.ts +2 -0
  140. package/lib/services/http/property/borrowing-report/borrowing-report.service.d.ts +0 -1
  141. package/lib/services/http/property/property-document/property-document.service.d.ts +1 -10
  142. package/lib/services/http/property/property-share/property-share.service.d.ts +2 -0
  143. package/lib/services/http/property/property-valuation/property-valuation.service.d.ts +2 -7
  144. package/lib/services/http/property/property.service.d.ts +8 -17
  145. package/lib/services/http/rest/rest-old.service.d.ts +4 -10
  146. package/lib/services/http/rest/rest.service.d.ts +7 -20
  147. package/lib/services/http/service-notification/service-notification.service.d.ts +9 -10
  148. package/lib/services/http/setup-item/setup-item.service.d.ts +1 -2
  149. package/lib/services/http/sole/bas-report/bas-report.service.d.ts +0 -1
  150. package/lib/services/http/sole/sole-business/sole-business.service.d.ts +0 -1
  151. package/lib/services/http/sole/sole-business-activity/sole-business-activity.service.d.ts +0 -1
  152. package/lib/services/http/sole/sole-business-loss/sole-business-loss-rules/sole-business-loss-offset-rule.service.d.ts +0 -1
  153. package/lib/services/http/sole/sole-business-loss/sole-business-loss.service.d.ts +3 -2
  154. package/lib/services/http/sole/sole-contact/sole-contact.service.d.ts +0 -1
  155. package/lib/services/http/sole/sole-depreciation-method/sole-depreciation-method.service.d.ts +3 -3
  156. package/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +3 -2
  157. package/lib/services/http/sole/sole-invoice-template/sole-invoice-template.service.d.ts +0 -1
  158. package/lib/services/http/subscription/service-payment/service-payment.service.d.ts +0 -1
  159. package/lib/services/http/subscription/service-payment-method/service-payment-method.service.d.ts +4 -8
  160. package/lib/services/http/subscription/service-price/service-price.service.d.ts +0 -1
  161. package/lib/services/http/subscription/service-product/service-product.service.d.ts +0 -1
  162. package/lib/services/http/subscription/service-subscription/subscription.service.d.ts +5 -6
  163. package/lib/services/http/tax-review/tax-review-history/tax-review-history.service.d.ts +3 -1
  164. package/lib/services/http/tax-review/tax-review.service.d.ts +2 -0
  165. package/lib/services/http/tax-summary/tax-summary.service.d.ts +2 -2
  166. package/lib/services/http/transaction/transaction-allocation/allocation-rule/allocation-rule.service.d.ts +0 -1
  167. package/lib/services/http/transaction/transaction-allocation/transaction-allocation.service.d.ts +2 -0
  168. package/lib/services/http/transaction/transaction.service.d.ts +1 -3
  169. package/lib/services/http/user/user-event-setting/user-event-setting.service.d.ts +0 -1
  170. package/lib/services/http/user/user-event-type/user-event-type.service.d.ts +0 -1
  171. package/lib/services/http/user/user.service.d.ts +4 -6
  172. package/lib/services/http/vehicle/vehicle-claim-details.service.d.ts +1 -1
  173. package/lib/services/property/property-calculation/property-calculation.service.d.ts +6 -6
  174. package/package.json +1 -1
  175. package/esm2022/lib/models/property/share-filter-options.enum.mjs +0 -11
  176. package/lib/models/property/share-filter-options.enum.d.ts +0 -9
@@ -3,24 +3,20 @@ import { ServicePaymentMethod as ServicePaymentMethodBase } from '../../../../db
3
3
  import { ServicePaymentMethod } from '../../../../models';
4
4
  import { Collection } from '../../../../collections';
5
5
  import { Observable } from 'rxjs';
6
- import { EventDispatcherService } from '../../../event';
7
- import { HttpClient } from '@angular/common/http';
6
+ import { IEventListener } from '../../../../interfaces';
8
7
  import * as i0 from "@angular/core";
9
- export declare class ServicePaymentMethodService extends RestService<ServicePaymentMethodBase, ServicePaymentMethod, Collection<ServicePaymentMethod>> {
10
- protected http: HttpClient;
11
- protected eventDispatcherService: EventDispatcherService;
8
+ export declare class ServicePaymentMethodService extends RestService<ServicePaymentMethodBase, ServicePaymentMethod, Collection<ServicePaymentMethod>> implements IEventListener {
12
9
  protected environment: any;
13
10
  protected endpointUri: string;
14
11
  collectionClass: typeof Collection;
15
12
  modelClass: typeof ServicePaymentMethod;
16
- isApiPlatform: boolean;
17
- constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
13
+ constructor(environment: any);
14
+ listenEvents(): void;
18
15
  /**
19
16
  * Get Stripe client secret required for Payment form initialization
20
17
  */
21
18
  getSecret(): Observable<string>;
22
19
  setAsDefault(paymentMethod: ServicePaymentMethod): Observable<ServicePaymentMethod>;
23
- listenPaymentMethods(): void;
24
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ServicePaymentMethodService, never>;
25
21
  static ɵprov: i0.ɵɵInjectableDeclaration<ServicePaymentMethodService>;
26
22
  }
@@ -9,7 +9,6 @@ import * as i0 from "@angular/core";
9
9
  export declare class ServicePriceService extends RestService<ServicePriceBase, ServicePrice, ServicePriceCollection> {
10
10
  protected endpointUri: string;
11
11
  modelClass: typeof ServicePrice;
12
- isApiPlatform: boolean;
13
12
  collectionClass: typeof ServicePriceCollection;
14
13
  disabledMethods: RestMethod[];
15
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ServicePriceService, never>;
@@ -8,7 +8,6 @@ export declare class ServiceProductService extends RestService<ServiceProductBas
8
8
  modelClass: typeof ServiceProduct;
9
9
  protected endpointUri: string;
10
10
  disabledMethods: RestMethod[];
11
- isApiPlatform: boolean;
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ServiceProductService, never>;
13
12
  static ɵprov: i0.ɵɵInjectableDeclaration<ServiceProductService>;
14
13
  }
@@ -1,24 +1,24 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { EventDispatcherService } from '../../../event';
4
3
  import { ServiceSubscription } from '../../../../models';
5
4
  import { RestMethod, RestService } from '../../rest';
6
5
  import { ServiceSubscription as ServiceSubscriptionBase } from '../../../../db/Models';
7
6
  import { ServiceSubscriptionCollection } from '../../../../collections';
7
+ import { IEventListener } from '../../../../interfaces';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
10
10
  * @TODO Alex refactor
11
11
  */
12
- export declare class SubscriptionService extends RestService<ServiceSubscriptionBase, ServiceSubscription, ServiceSubscriptionCollection> {
12
+ export declare class SubscriptionService extends RestService<ServiceSubscriptionBase, ServiceSubscription, ServiceSubscriptionCollection> implements IEventListener {
13
13
  protected http: HttpClient;
14
- protected eventDispatcherService: EventDispatcherService;
15
14
  protected environment: any;
16
- isApiPlatform: boolean;
17
15
  endpointUri: string;
18
16
  modelClass: typeof ServiceSubscription;
19
17
  collectionClass: typeof ServiceSubscriptionCollection;
20
18
  disabledMethods: RestMethod[];
21
- constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
19
+ mercureTopic: string;
20
+ constructor(http: HttpClient, environment: any);
21
+ listenEvents(): void;
22
22
  startTrial(subscription: ServiceSubscription): Observable<ServiceSubscription>;
23
23
  postStripeSubscription(subscription: ServiceSubscription): Observable<string | void>;
24
24
  getActive(): Observable<ServiceSubscriptionCollection>;
@@ -36,7 +36,6 @@ export declare class SubscriptionService extends RestService<ServiceSubscription
36
36
  cancel(subscription: ServiceSubscription): Observable<object>;
37
37
  renew(subscription: ServiceSubscription): Observable<object>;
38
38
  getCoupon(code: string): Observable<any>;
39
- private listenSubscriptions;
40
39
  static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionService, never>;
41
40
  static ɵprov: i0.ɵɵInjectableDeclaration<SubscriptionService>;
42
41
  }
@@ -1,14 +1,16 @@
1
1
  import { TaxReview as TaxReviewBase } from '../../../../db/Models/firm/accountant/tax-review';
2
2
  import { RestService } from '../../rest/rest-old.service';
3
3
  import { TaxReview } from '../../../../models/tax-review/tax-review';
4
- import { IEventListener } from '../../../../interfaces/event-listener.interface';
4
+ import { IEventListener } from '../../../../interfaces';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * Service to work with tax review history
8
8
  */
9
9
  export declare class TaxReviewHistoryService extends RestService<TaxReviewBase, TaxReview> implements IEventListener {
10
+ protected environment: any;
10
11
  url: string;
11
12
  modelClass: typeof TaxReview;
13
+ constructor(environment: any);
12
14
  listenEvents(): void;
13
15
  /**
14
16
  * Update tax review history cache when single tax review updated.
@@ -8,8 +8,10 @@ import * as i0 from "@angular/core";
8
8
  * Service to work with tax review
9
9
  */
10
10
  export declare class TaxReviewService extends RestService<TaxReviewBase, TaxReview> implements IEventListener {
11
+ protected environment: any;
11
12
  url: string;
12
13
  modelClass: typeof TaxReview;
14
+ constructor(environment: any);
13
15
  /**
14
16
  * Listen events from SSE and Event Dispatcher services
15
17
  */
@@ -1,8 +1,8 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable, ReplaySubject } from 'rxjs';
3
3
  import { TaxSummary } from '../../../models/tax-summary/tax-summary';
4
- import { EventDispatcherService } from '../../event/event-dispatcher.service';
5
- import { IEventListener } from '../../../interfaces/event-listener.interface';
4
+ import { EventDispatcherService } from '../../event';
5
+ import { IEventListener } from '../../../interfaces';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Service to work with tax summary logic
@@ -7,7 +7,6 @@ export declare class AllocationRuleService extends RestService<AllocationRuleBas
7
7
  protected endpointUri: string;
8
8
  collectionClass: typeof AllocationRuleCollection;
9
9
  modelClass: typeof AllocationRule;
10
- isApiPlatform: boolean;
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AllocationRuleService, never>;
12
11
  static ɵprov: i0.ɵɵInjectableDeclaration<AllocationRuleService>;
13
12
  }
@@ -8,8 +8,10 @@ import * as i0 from "@angular/core";
8
8
  * @TODO move to new rest
9
9
  */
10
10
  export declare class TransactionAllocationService extends RestService<TransactionAllocationBase, TransactionAllocation> implements IEventListener {
11
+ protected environment: any;
11
12
  url: string;
12
13
  modelClass: typeof TransactionAllocation;
14
+ constructor(environment: any);
13
15
  /**
14
16
  * Add single transaction allocation
15
17
  */
@@ -5,7 +5,6 @@ import { RestService } from '../rest/rest-old.service';
5
5
  import { Transaction } from '../../../models';
6
6
  import { HttpClient } from '@angular/common/http';
7
7
  import { EventDispatcherService } from '../../event';
8
- import { ToastService } from '../../toast';
9
8
  import { IEventListener } from '../../../interfaces';
10
9
  import * as i0 from "@angular/core";
11
10
  /**
@@ -15,11 +14,10 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
15
14
  protected http: HttpClient;
16
15
  protected eventDispatcherService: EventDispatcherService;
17
16
  protected environment: any;
18
- protected toastService: ToastService;
19
17
  url: string;
20
18
  modelClass: typeof Transaction;
21
19
  transactionDeleted: EventEmitter<Transaction>;
22
- constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any, toastService: ToastService);
20
+ constructor(http: HttpClient, eventDispatcherService: EventDispatcherService, environment: any);
23
21
  /**
24
22
  * Listen events from Event Dispatcher services
25
23
  */
@@ -7,7 +7,6 @@ export declare class UserEventSettingService extends RestService<UserEventSettin
7
7
  modelClass: typeof UserEventSetting;
8
8
  collectionClass: typeof UserEventSettingCollection;
9
9
  endpointUri: string;
10
- isApiPlatform: boolean;
11
10
  disabledMethods: RestMethod[];
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<UserEventSettingService, never>;
13
12
  static ɵprov: i0.ɵɵInjectableDeclaration<UserEventSettingService>;
@@ -7,7 +7,6 @@ export declare class UserEventTypeService extends RestService<UserEventTypeBase,
7
7
  modelClass: typeof UserEventType;
8
8
  collectionClass: typeof UserEventTypeCollection;
9
9
  endpointUri: string;
10
- isApiPlatform: boolean;
11
10
  disabledMethods: RestMethod[];
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<UserEventTypeService, never>;
13
12
  static ɵprov: i0.ɵɵInjectableDeclaration<UserEventTypeService>;
@@ -4,13 +4,15 @@ import { User } from '../../../models';
4
4
  import { RestMethod, RestService } from '../rest';
5
5
  import { Collection } from '../../../collections';
6
6
  import { AccountSetupItem } from '../../../models/account-setup/account-setup-item';
7
+ import { IEventListener } from '../../../interfaces';
7
8
  import * as i0 from "@angular/core";
8
- export declare class UserService extends RestService<UserBase, User, Collection<User>> {
9
+ export declare class UserService extends RestService<UserBase, User, Collection<User>> implements IEventListener {
10
+ protected environment: any;
9
11
  modelClass: typeof User;
10
12
  collectionClass: typeof Collection;
11
13
  endpointUri: string;
12
- isApiPlatform: boolean;
13
14
  disabledMethods: RestMethod[];
15
+ constructor(environment: any);
14
16
  listenEvents(): void;
15
17
  fetch(): Observable<Collection<User>>;
16
18
  register(data: object): Observable<object>;
@@ -34,10 +36,6 @@ export declare class UserService extends RestService<UserBase, User, Collection<
34
36
  * Update cache when user's service subscription is updated
35
37
  */
36
38
  private listenServiceSubscriptionUpdated;
37
- /**
38
- * Update cache when user's basiq consent flag is updated
39
- */
40
- private listenBasiqConsentUpdated;
41
39
  static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
42
40
  static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
43
41
  }
@@ -1,7 +1,7 @@
1
1
  import { VehicleClaimDetails } from '../../../models';
2
2
  import { Observable, ReplaySubject } from 'rxjs';
3
3
  import { HttpClient } from '@angular/common/http';
4
- import { EventDispatcherService } from '../../event/event-dispatcher.service';
4
+ import { EventDispatcherService } from '../../event';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * @TODO TT-1777 Alex: extend from rest service when it refactored
@@ -1,10 +1,10 @@
1
1
  import { Observable } from 'rxjs';
2
- import { BankAccountCollection } from '../../../collections/bank-account.collection';
3
- import { DepreciationCollection } from '../../../collections/depreciation.collection';
4
- import { LoanCollection } from '../../../collections/loan/loan.collection';
5
- import { PropertyCollection } from '../../../collections/property/property.collection';
6
- import { TransactionCollection } from '../../../collections/transaction/transaction.collection';
7
- import { Dictionary } from '../../../models/dictionary/dictionary';
2
+ import { BankAccountCollection } from '../../../collections';
3
+ import { DepreciationCollection } from '../../../collections';
4
+ import { LoanCollection } from '../../../collections';
5
+ import { PropertyCollection } from '../../../collections';
6
+ import { TransactionCollection } from '../../../collections';
7
+ import { Dictionary } from '../../../models';
8
8
  import { Badge } from '../../../models/badge/badge';
9
9
  import * as i0 from "@angular/core";
10
10
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.32.16",
3
+ "version": "0.32.18",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/compiler": "^16.2.12",
@@ -1,11 +0,0 @@
1
- /**
2
- * @TODO used only on dashboard, move from tt-core
3
- * Enum with properties ownership filter options
4
- */
5
- export var ShareFilterOptionsEnum;
6
- (function (ShareFilterOptionsEnum) {
7
- ShareFilterOptionsEnum[ShareFilterOptionsEnum["ALL"] = 1] = "ALL";
8
- ShareFilterOptionsEnum[ShareFilterOptionsEnum["CREATED"] = 2] = "CREATED";
9
- ShareFilterOptionsEnum[ShareFilterOptionsEnum["SHARED"] = 3] = "SHARED";
10
- })(ShareFilterOptionsEnum || (ShareFilterOptionsEnum = {}));
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcmUtZmlsdGVyLW9wdGlvbnMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvcHJvcGVydHkvc2hhcmUtZmlsdGVyLW9wdGlvbnMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFDSCxNQUFNLENBQU4sSUFBWSxzQkFJWDtBQUpELFdBQVksc0JBQXNCO0lBQ2hDLGlFQUFPLENBQUE7SUFDUCx5RUFBVyxDQUFBO0lBQ1gsdUVBQVUsQ0FBQTtBQUNaLENBQUMsRUFKVyxzQkFBc0IsS0FBdEIsc0JBQXNCLFFBSWpDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAVE9ETyB1c2VkIG9ubHkgb24gZGFzaGJvYXJkLCBtb3ZlIGZyb20gdHQtY29yZVxuICogRW51bSB3aXRoIHByb3BlcnRpZXMgb3duZXJzaGlwIGZpbHRlciBvcHRpb25zXG4gKi9cbmV4cG9ydCBlbnVtIFNoYXJlRmlsdGVyT3B0aW9uc0VudW0ge1xuICBBTEwgPSAxLFxuICBDUkVBVEVEID0gMixcbiAgU0hBUkVEID0gM1xufVxuIl19
@@ -1,9 +0,0 @@
1
- /**
2
- * @TODO used only on dashboard, move from tt-core
3
- * Enum with properties ownership filter options
4
- */
5
- export declare enum ShareFilterOptionsEnum {
6
- ALL = 1,
7
- CREATED = 2,
8
- SHARED = 3
9
- }