taxtank-core 0.33.33 → 0.33.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/esm2022/public-api.mjs +6 -5
  2. package/esm2022/src/lib/collections/sole/sole-invoice-item.collection.mjs +1 -1
  3. package/esm2022/src/lib/collections/sole/sole-invoice.collection.mjs +11 -1
  4. package/esm2022/src/lib/db/Enums/index.mjs +2 -1
  5. package/esm2022/src/lib/db/Enums/sole/index.mjs +6 -0
  6. package/esm2022/src/lib/db/Enums/sole/sole-depreciation-method.enum.mjs +6 -0
  7. package/esm2022/src/lib/db/Enums/sole/sole-invoice-state.enum.mjs +7 -0
  8. package/esm2022/src/lib/db/Enums/sole/sole-invoice-statuses.enum.mjs +7 -0
  9. package/esm2022/src/lib/db/Enums/sole/sole-invoice-tax-type.enum.mjs +7 -0
  10. package/esm2022/src/lib/db/Enums/{sole-invoice-template-tax-type.enum.mjs → sole/sole-invoice-template-tax-type.enum.mjs} +1 -1
  11. package/esm2022/src/lib/db/Enums/user-event-type-type.enum.mjs +2 -1
  12. package/esm2022/src/lib/db/Models/abstract-model.mjs +4 -1
  13. package/esm2022/src/lib/db/Models/client/client-details.mjs +1 -1
  14. package/esm2022/src/lib/db/Models/sole/sole-depreciation-method.mjs +1 -1
  15. package/esm2022/src/lib/db/Models/sole/sole-invoice-template.mjs +1 -1
  16. package/esm2022/src/lib/db/Models/sole/sole-invoice.mjs +1 -1
  17. package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +2 -2
  18. package/esm2022/src/lib/models/chart/chart-data.mjs +1 -1
  19. package/esm2022/src/lib/models/sole/sole-depreciation-method.mjs +2 -2
  20. package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +2 -2
  21. package/esm2022/src/lib/models/sole/sole-invoice-template.mjs +2 -2
  22. package/esm2022/src/lib/models/sole/sole-invoice.mjs +2 -3
  23. package/esm2022/src/lib/services/http/holding/holding.service.mjs +11 -2
  24. package/esm2022/src/lib/services/http/index.mjs +1 -2
  25. package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +2 -1
  26. package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +1 -1
  27. package/esm2022/src/lib/services/http/user/user-messages.enum.mjs +3 -1
  28. package/esm2022/src/lib/services/http/user/user.service.mjs +15 -2
  29. package/fesm2022/taxtank-core.mjs +69 -49
  30. package/fesm2022/taxtank-core.mjs.map +1 -1
  31. package/package.json +1 -1
  32. package/public-api.d.ts +5 -4
  33. package/src/lib/collections/sole/sole-invoice-item.collection.d.ts +1 -1
  34. package/src/lib/collections/sole/sole-invoice.collection.d.ts +2 -0
  35. package/src/lib/db/Enums/index.d.ts +1 -0
  36. package/src/lib/db/Enums/sole/index.d.ts +5 -0
  37. package/src/lib/db/Enums/sole/sole-invoice-state.enum.d.ts +5 -0
  38. package/src/lib/db/Enums/user-event-type-type.enum.d.ts +2 -1
  39. package/src/lib/db/Models/abstract-model.d.ts +1 -0
  40. package/src/lib/db/Models/client/client-details.d.ts +2 -1
  41. package/src/lib/db/Models/sole/sole-depreciation-method.d.ts +1 -1
  42. package/src/lib/db/Models/sole/sole-invoice-template.d.ts +1 -1
  43. package/src/lib/db/Models/sole/sole-invoice.d.ts +1 -2
  44. package/src/lib/models/sole/sole-invoice-item.d.ts +1 -1
  45. package/src/lib/models/sole/sole-invoice-template.d.ts +1 -1
  46. package/src/lib/models/sole/sole-invoice.d.ts +1 -2
  47. package/src/lib/services/http/holding/holding.service.d.ts +1 -0
  48. package/src/lib/services/http/index.d.ts +0 -1
  49. package/src/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +1 -1
  50. package/src/lib/services/http/user/user-messages.enum.d.ts +3 -1
  51. package/src/lib/services/http/user/user.service.d.ts +1 -0
  52. package/esm2022/src/lib/db/Enums/sole-depreciation-method.enum.mjs +0 -6
  53. package/esm2022/src/lib/db/Enums/sole-invoice-statuses.enum.mjs +0 -7
  54. package/esm2022/src/lib/db/Enums/sole-invoice-tax-type.enum.mjs +0 -7
  55. package/esm2022/src/lib/services/http/sharesight/sharesight.service.mjs +0 -24
  56. package/src/lib/services/http/sharesight/sharesight.service.d.ts +0 -11
  57. /package/src/lib/db/Enums/{sole-depreciation-method.enum.d.ts → sole/sole-depreciation-method.enum.d.ts} +0 -0
  58. /package/src/lib/db/Enums/{sole-invoice-statuses.enum.d.ts → sole/sole-invoice-statuses.enum.d.ts} +0 -0
  59. /package/src/lib/db/Enums/{sole-invoice-tax-type.enum.d.ts → sole/sole-invoice-tax-type.enum.d.ts} +0 -0
  60. /package/src/lib/db/Enums/{sole-invoice-template-tax-type.enum.d.ts → sole/sole-invoice-template-tax-type.enum.d.ts} +0 -0
@@ -1,9 +1,10 @@
1
1
  import { Inject, Injectable } from '@angular/core';
2
- import { Holding, HoldingSale } from '../../../models';
2
+ import { AppEventTypeEnum, Holding, HoldingSale } from '../../../models';
3
3
  import { RestService } from '../rest';
4
4
  import { HoldingCollection } from '../../../collections';
5
5
  import { UserRolesEnum } from 'taxtank-core/common';
6
6
  import { HoldingImport } from '../../../models';
7
+ import { UserEventTypeTypeEnum } from '../../../db/Enums/user-event-type-type.enum';
7
8
  import * as i0 from "@angular/core";
8
9
  export class HoldingService extends RestService {
9
10
  constructor(environment) {
@@ -15,11 +16,19 @@ export class HoldingService extends RestService {
15
16
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
16
17
  this.roles = [UserRolesEnum.HOLDING_TANK];
17
18
  this.listenEvents();
19
+ this.listenNotifications();
18
20
  }
19
21
  listenEvents() {
20
22
  this.listenCSE(HoldingSale, this.refreshCache, ['post', 'put', 'delete']);
21
23
  this.listenCSE(HoldingImport, this.refreshCache, ['post', 'put', 'delete']);
22
24
  }
25
+ listenNotifications() {
26
+ this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
27
+ if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.SHARESIGHT_IMPORT) {
28
+ this.refreshCache();
29
+ }
30
+ });
31
+ }
23
32
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HoldingService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
24
33
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HoldingService, providedIn: 'root' }); }
25
34
  }
@@ -32,4 +41,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
32
41
  type: Inject,
33
42
  args: ['environment']
34
43
  }] }] });
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9sZGluZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvaG9sZGluZy9ob2xkaW5nLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbkQsT0FBTyxFQUFFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN2RCxPQUFPLEVBQWMsV0FBVyxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ2xELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBRXpELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNwRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7O0FBS2hELE1BQU0sT0FBTyxjQUFlLFNBQVEsV0FBb0Q7SUFPdEYsWUFBNkMsV0FBZ0I7UUFDM0QsS0FBSyxDQUFDLFdBQVcsQ0FBQyxDQUF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uub24oQXBwRXZlbnRUeXBlRW51bS5OT1RJRklDQVRJT05fQURERUQpLnN1YnNjcmliZSgobm90aWZpY2F0aW9uOiBOb3RpZmljYXRpb24pOiB2b2lkID0+IHtcbiAgICAgIGlmICghbm90aWZpY2F0aW9uLmlzUmVhZCAmJiBub3RpZmljYXRpb24uZXZlbnRUeXBlID09PSBVc2VyRXZlbnRUeXBlVHlwZUVudW0uU0hBUkVTSUdIVF9JTVBPUlQpIHtcbiAgICAgICAgdGhpcy5yZWZyZXNoQ2FjaGUoKTtcbiAgICAgIH1cbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -26,5 +26,4 @@ export * from './client';
26
26
  export * from './user';
27
27
  export * from './document';
28
28
  export * from './holding';
29
- export * from './sharesight/sharesight.service';
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLG1CQUFtQixDQUFDO0FBRWxDLGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsVUFBVSxDQUFDO0FBRXpCLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxRQUFRLENBQUM7QUFFdkIsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLFlBQVksQ0FBQztBQUUzQixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLFFBQVEsQ0FBQztBQUV2QixjQUFjLGlCQUFpQixDQUFDO0FBRWhDLGNBQWMsUUFBUSxDQUFDO0FBRXZCLGNBQWMsWUFBWSxDQU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5cbmV4cG9ydCAqIGZyb20gJy4vcHJvcGVydHknO1xuXG5leHBvcnQgKiBmcm9tICcuL3Jlc3QnO1xuXG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2Utbm90aWZpY2F0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vc29sZSc7XG5leHBvcnQgKiBmcm9tICcuL3N1YnNjcmlwdGlvbic7XG5cbmV4cG9ydCAqIGZyb20gJy4vdGF4LXJldmlldyc7XG5leHBvcnQgKiBmcm9tICcuL3RheC1zdW1tYXJ5JztcbmV4cG9ydCAqIGZyb20gJy4vdHJhbnNhY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnLi95b3V0dWJlJztcblxuZXhwb3J0ICogZnJvbSAnLi92ZWhpY2xlJztcblxuZXhwb3J0ICogZnJvbSAnLi9jbGllbnQnO1xuZXhwb3J0ICogZnJvbSAnLi91c2VyJztcblxuZXhwb3J0ICogZnJvbSAnLi9kb2N1bWVudCc7XG5leHBvcnQgKiBmcm9tICcuL2hvbGRpbmcnO1xuIl19
@@ -16,6 +16,7 @@ export class PropertyCategoryMovementService extends RestService {
16
16
  listenEvents() {
17
17
  // property created together with categories, we need to update the list
18
18
  this.listenCSE(Property, this.refreshCache, ['post']);
19
+ this.listenCSE(PropertyCategoryMovement, this.refreshCache);
19
20
  }
20
21
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PropertyCategoryMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
21
22
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' }); }
@@ -29,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
29
30
  type: Inject,
30
31
  args: ['environment']
31
32
  }] }] });
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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nRDb2xsZWN0aW9uPiBpbXBsZW1lbnRzIElFdmVudExpc3RlbmVyIHtcbiAgbW9kZWxDbGFzczogdHlwZW9mIFByb3BlcnR5Q2F0ZWdvcnlNb3ZlbWVudCA9IFByb3BlcnR5Q2F0ZWdvcnlNb3ZlbWVudDtcbiAgY29sbGVjdGlvbkNsYXNzOiB0eXBlb2YgUHJvcGVydHlDYXRlZ29yeU1vdmVtZW50Q29sbGVjdGlvbiA9IFByb3BlcnR5Q2F0ZWdvcnlNb3ZlbWVudENvbGxlY3Rpb247XG4gIGVuZHBvaW50VXJpID0gJ3Byb3BlcnR5LWNhdGVnb3J5LW1vdmVtZW50cyc7XG4gIGRpc2FibGVkTWV0aG9kczogUmVzdE1ldGhvZFtdID0gWydwb3N0QmF0Y2gnLCAncHV0QmF0Y2gnLCAnZGVsZXRlQmF0Y2gnXTtcblxuICBjb25zdHJ1Y3RvcihASW5qZWN0KCdlbnZpcm9ubWVudCcpIHByb3RlY3RlZCBlbnZpcm9ubWVudDogYW55KSB7XG4gICAgc3VwZXIoZW52aXJvbm1lbnQpO1xuICAgIHRoaXMubGlzdGVuRXZlbnRzKCk7XG4gIH1cblxuICBsaXN0ZW5FdmVudHMoKTogdm9pZCB7XG4gICAgLy8gcHJvcGVydHkgY3JlYXRlZCB0b2dldGhlciB3aXRoIGNhdGVnb3JpZXMsIHdlIG5lZWQgdG8gdXBkYXRlIHRoZSBsaXN0XG4gICAgdGhpcy5saXN0ZW5DU0UoUHJvcGVydHksIHRoaXMucmVmcmVzaENhY2hlLCBbJ3Bvc3QnXSk7XG4gICAgdGhpcy5saXN0ZW5DU0UoUHJvcGVydHlDYXRlZ29yeU1vdmVtZW50LCB0aGlzLnJlZnJlc2hDYWNoZSk7XG4gIH1cbn1cbiJdfQ==
@@ -43,4 +43,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
43
43
  type: Inject,
44
44
  args: ['environment']
45
45
  }] }] });
46
- //# sourceM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BGb3JtRGF0YSgpO1xuICAgIGZvcm1EYXRhLmFwcGVuZCgnZmlsZScsIGZpbGUpO1xuXG4gICAgcmV0dXJuIHRoaXMuaHR0cC5wb3N0KGAke3RoaXMuZW52aXJvbm1lbnQuYXBpVjJ9LyR7dGhpcy5lbmRwb2ludFVyaX0vJHtpbnZvaWNlLmlkfS9zZW5kYCwgZm9ybURhdGEpO1xuICB9XG5cbiAgLyoqXG4gICAqIFJldHVybiB0aGUgbmV4dCBudW1iZXIgZnJvbSB0aGUgbGFzdCBpbnZvaWNlXG4gICAqL1xuICBnZXROZXdJbnZvaWNlTnVtYmVyKCk6IG51bWJlciB7XG4gICAgaWYgKCF0aGlzLmNhY2hlLmxlbmd0aCkge1xuICAgICAgcmV0dXJuIDE7XG4gICAgfVxuXG4gICAgcmV0dXJuIHRoaXMuY2FjaGUubGFzdC5udW1iZXIgKyAxO1xuICB9XG59XG4iXX0=
@@ -4,5 +4,7 @@ export var UserMessagesEnum;
4
4
  UserMessagesEnum["USER_DATA_UPDATED"] = "Data was successfully updated!";
5
5
  UserMessagesEnum["CLIENT_DETAILS_UPDATED"] = "Client details updated";
6
6
  UserMessagesEnum["DELETE"] = "Closing your account will mean you won't be able to access this account again. It will also revoke consent for all banks and delete all transaction data. This can not be undone.";
7
+ UserMessagesEnum["SHARESIGHT_CONNECTED"] = "Sharesight connected";
8
+ UserMessagesEnum["SHARESIGHT_ERROR"] = "Sharesight connection error";
7
9
  })(UserMessagesEnum || (UserMessagesEnum = {}));
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1tZXNzYWdlcy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvdXNlci91c2VyLW1lc3NhZ2VzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBw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0JBT1g7QUFQRCxXQUFZLGdCQUFnQjtJQUMxQiwyREFBdUMsQ0FBQTtJQUN2Qyx3RUFBb0QsQ0FBQTtJQUNwRCxxRUFBaUQsQ0FBQTtJQUNqRCxnTkFBNEwsQ0FBQTtJQUM1TCxpRUFBNkMsQ0FBQTtJQUM3QyxvRUFBZ0QsQ0FBQTtBQUNsRCxDQUFDLEVBUFcsZ0JBQWdCLEtBQWhCLGdCQUFnQixRQU8zQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFVzZXJNZXNzYWdlc0VudW0ge1xuICBQSE9UT19VUERBVEVEID0gJ1Byb2ZpbGUgcGhvdG8gdXBkYXRlZCcsXG4gIFVTRVJfREFUQV9VUERBVEVEID0gJ0RhdGEgd2FzIHN1Y2Nlc3NmdWxseSB1cGRhdGVkIScsXG4gIENMSUVOVF9ERVRBSUxTX1VQREFURUQgPSAnQ2xpZW50IGRldGFpbHMgdXBkYXRlZCcsXG4gIERFTEVURSA9IGBDbG9zaW5nIHlvdXIgYWNjb3VudCB3aWxsIG1lYW4geW91IHdvbid0IGJlIGFibGUgdG8gYWNjZXNzIHRoaXMgYWNjb3VudCBhZ2Fpbi4gSXQgd2lsbCBhbHNvIHJldm9rZSBjb25zZW50IGZvciBhbGwgYmFua3MgYW5kIGRlbGV0ZSBhbGwgdHJhbnNhY3Rpb24gZGF0YS4gVGhpcyBjYW4gbm90IGJlIHVuZG9uZS5gLFxuICBTSEFSRVNJR0hUX0NPTk5FQ1RFRCA9ICdTaGFyZXNpZ2h0IGNvbm5lY3RlZCcsXG4gIFNIQVJFU0lHSFRfRVJST1IgPSAnU2hhcmVzaWdodCBjb25uZWN0aW9uIGVycm9yJ1xufVxuIl19
@@ -1,10 +1,12 @@
1
1
  import { Inject, Injectable, inject } from '@angular/core';
2
+ import { throwError } from 'rxjs';
2
3
  import { ServiceSubscription, User, } from '../../../models';
3
- import { map } from 'rxjs/operators';
4
+ import { catchError, map } from 'rxjs/operators';
4
5
  import { RestService } from '../rest';
5
6
  import { Collection } from '../../../collections';
6
7
  import clone from 'lodash/clone';
7
8
  import { MixpanelService } from 'taxtank-core/common';
9
+ import { UserMessagesEnum } from './user-messages.enum';
8
10
  import * as i0 from "@angular/core";
9
11
  export class UserService extends RestService {
10
12
  constructor(environment) {
@@ -81,6 +83,17 @@ export class UserService extends RestService {
81
83
  return basiqId;
82
84
  }));
83
85
  }
86
+ connectSharesight(code) {
87
+ return this.http.post(`${this.environment.apiV2}/sharesight/connect`, { code }).pipe(map((sharesightAccessToken) => {
88
+ this.setCache([Object.assign(this.getCacheFirst().clientDetails, { sharesightAccessToken })], true);
89
+ this.toastService.success(UserMessagesEnum.SHARESIGHT_CONNECTED);
90
+ }), catchError((error) => {
91
+ if (error.status === 503) {
92
+ this.toastService.error(UserMessagesEnum.SHARESIGHT_ERROR);
93
+ }
94
+ return throwError(() => error);
95
+ }));
96
+ }
84
97
  skipSetupItem(item) {
85
98
  const user = clone(this.getCacheFirst());
86
99
  user.blacklistSetupItems.push(item);
@@ -109,4 +122,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
109
122
  type: Inject,
110
123
  args: ['environment']
111
124
  }] }] });
112
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL3NlcnZpY2VzL2h0dHAvdXNlci91c2VyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzNELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxJQUFJLEdBQUcsTUFBTSxpQkFBaUIsQ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Gxpc3RlblNlcnZpY2VTdWJzY3JpcHRpb25VcGRhdGVkKCk6IHZvaWQge1xuICAgIHRoaXMubGlzdGVuQ1NFKFNlcnZpY2VTdWJzY3JpcHRpb24sIChyZXNwb25zZSkgPT4ge1xuICAgICAgLy8gQFRPRE8gdmlrIHRlc3QgYW5kIHJlbW92ZVxuICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgIHRoaXMucmVmcmVzaENhY2hlKCk7XG4gICAgICB9LCAyMDAwKTtcbiAgICB9LCBbJ3Bvc3QnLCAncHV0J10pO1xuICB9XG59XG4iXX0=
@@ -169,6 +169,9 @@ class AbstractModel {
169
169
  formatDate(date, format = 'MMM d, y') {
170
170
  return formatDate(date, format, 'en-AU');
171
171
  }
172
+ get(path) {
173
+ return get(path);
174
+ }
172
175
  }
173
176
 
174
177
  let Country$1 = class Country extends AbstractModel {
@@ -1565,6 +1568,40 @@ var GenderEnum;
1565
1568
  GenderEnum[GenderEnum["OTHER"] = 9] = "OTHER";
1566
1569
  })(GenderEnum || (GenderEnum = {}));
1567
1570
 
1571
+ var SoleDepreciationMethodEnum;
1572
+ (function (SoleDepreciationMethodEnum) {
1573
+ SoleDepreciationMethodEnum[SoleDepreciationMethodEnum["SBP"] = 1] = "SBP";
1574
+ SoleDepreciationMethodEnum[SoleDepreciationMethodEnum["DEPRECIATION"] = 2] = "DEPRECIATION";
1575
+ })(SoleDepreciationMethodEnum || (SoleDepreciationMethodEnum = {}));
1576
+
1577
+ var SoleInvoiceStateEnum;
1578
+ (function (SoleInvoiceStateEnum) {
1579
+ SoleInvoiceStateEnum[SoleInvoiceStateEnum["PAID"] = 0] = "PAID";
1580
+ SoleInvoiceStateEnum[SoleInvoiceStateEnum["OVERDUE"] = 1] = "OVERDUE";
1581
+ SoleInvoiceStateEnum[SoleInvoiceStateEnum["PENDING"] = 2] = "PENDING";
1582
+ })(SoleInvoiceStateEnum || (SoleInvoiceStateEnum = {}));
1583
+
1584
+ var SoleInvoiceStatusesEnum;
1585
+ (function (SoleInvoiceStatusesEnum) {
1586
+ SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["CANCELED"] = 0] = "CANCELED";
1587
+ SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["DRAFT"] = 1] = "DRAFT";
1588
+ SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["OPEN"] = 2] = "OPEN";
1589
+ })(SoleInvoiceStatusesEnum || (SoleInvoiceStatusesEnum = {}));
1590
+
1591
+ var SoleInvoiceTaxTypeEnum;
1592
+ (function (SoleInvoiceTaxTypeEnum) {
1593
+ SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["TAX_EXCLUSIVE"] = 0] = "TAX_EXCLUSIVE";
1594
+ SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["TAX_INCLUSIVE"] = 1] = "TAX_INCLUSIVE";
1595
+ SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["NO_TAX"] = 2] = "NO_TAX";
1596
+ })(SoleInvoiceTaxTypeEnum || (SoleInvoiceTaxTypeEnum = {}));
1597
+
1598
+ var SoleInvoiceTemplateTaxTypeEnum;
1599
+ (function (SoleInvoiceTemplateTaxTypeEnum) {
1600
+ SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["TAX_EXCLUSIVE"] = 0] = "TAX_EXCLUSIVE";
1601
+ SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["TAX_INCLUSIVE"] = 1] = "TAX_INCLUSIVE";
1602
+ SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["NO_TAX"] = 2] = "NO_TAX";
1603
+ })(SoleInvoiceTemplateTaxTypeEnum || (SoleInvoiceTemplateTaxTypeEnum = {}));
1604
+
1568
1605
  // @TODO Artem TT-2308 move everything
1569
1606
 
1570
1607
  /**
@@ -4905,13 +4942,6 @@ __decorate([
4905
4942
  Type(() => SoleBusinessLossOffsetRule)
4906
4943
  ], SoleBusinessLoss.prototype, "offsetRule", void 0);
4907
4944
 
4908
- var SoleInvoiceTaxTypeEnum;
4909
- (function (SoleInvoiceTaxTypeEnum) {
4910
- SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["TAX_EXCLUSIVE"] = 0] = "TAX_EXCLUSIVE";
4911
- SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["TAX_INCLUSIVE"] = 1] = "TAX_INCLUSIVE";
4912
- SoleInvoiceTaxTypeEnum[SoleInvoiceTaxTypeEnum["NO_TAX"] = 2] = "NO_TAX";
4913
- })(SoleInvoiceTaxTypeEnum || (SoleInvoiceTaxTypeEnum = {}));
4914
-
4915
4945
  class SoleInvoiceItem extends SoleInvoiceItem$1 {
4916
4946
  constructor() {
4917
4947
  super(...arguments);
@@ -4972,13 +5002,6 @@ __decorate([
4972
5002
  Type(() => AppFile)
4973
5003
  ], SoleContact.prototype, "file", void 0);
4974
5004
 
4975
- var SoleInvoiceStatusesEnum;
4976
- (function (SoleInvoiceStatusesEnum) {
4977
- SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["CANCELED"] = 0] = "CANCELED";
4978
- SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["DRAFT"] = 1] = "DRAFT";
4979
- SoleInvoiceStatusesEnum[SoleInvoiceStatusesEnum["OPEN"] = 2] = "OPEN";
4980
- })(SoleInvoiceStatusesEnum || (SoleInvoiceStatusesEnum = {}));
4981
-
4982
5005
  class SoleInvoice extends SoleInvoice$1 {
4983
5006
  constructor() {
4984
5007
  super(...arguments);
@@ -5110,13 +5133,6 @@ __decorate([
5110
5133
  Type(() => BankAccount)
5111
5134
  ], SoleInvoice.prototype, "bankAccount", void 0);
5112
5135
 
5113
- var SoleInvoiceTemplateTaxTypeEnum;
5114
- (function (SoleInvoiceTemplateTaxTypeEnum) {
5115
- SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["TAX_EXCLUSIVE"] = 0] = "TAX_EXCLUSIVE";
5116
- SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["TAX_INCLUSIVE"] = 1] = "TAX_INCLUSIVE";
5117
- SoleInvoiceTemplateTaxTypeEnum[SoleInvoiceTemplateTaxTypeEnum["NO_TAX"] = 2] = "NO_TAX";
5118
- })(SoleInvoiceTemplateTaxTypeEnum || (SoleInvoiceTemplateTaxTypeEnum = {}));
5119
-
5120
5136
  class SoleInvoiceTemplate extends SoleInvoiceTemplate$1 {
5121
5137
  constructor() {
5122
5138
  super(...arguments);
@@ -5383,12 +5399,6 @@ __decorate([
5383
5399
  class SoleBusinessActivity extends SoleBusinessActivity$1 {
5384
5400
  }
5385
5401
 
5386
- var SoleDepreciationMethodEnum;
5387
- (function (SoleDepreciationMethodEnum) {
5388
- SoleDepreciationMethodEnum[SoleDepreciationMethodEnum["SBP"] = 1] = "SBP";
5389
- SoleDepreciationMethodEnum[SoleDepreciationMethodEnum["DEPRECIATION"] = 2] = "DEPRECIATION";
5390
- })(SoleDepreciationMethodEnum || (SoleDepreciationMethodEnum = {}));
5391
-
5392
5402
  class SoleDepreciationMethod extends SoleDepreciationMethod$1 {
5393
5403
  isSBP() {
5394
5404
  return this.method === SoleDepreciationMethodEnum.SBP;
@@ -8440,6 +8450,14 @@ class SoleInvoiceCollection extends Collection {
8440
8450
  getInvoiceItemsIds() {
8441
8451
  return flatten(this.map(invoice => invoice.items.map(item => item.id)));
8442
8452
  }
8453
+ groupByState(transactions) {
8454
+ const unpaidInvoices = this.getUnpaid(transactions);
8455
+ const dictionary = new CollectionDictionary(new SoleInvoiceCollection());
8456
+ dictionary.add(SoleInvoiceStateEnum.PAID, this.getPaid(transactions));
8457
+ dictionary.add(SoleInvoiceStateEnum.OVERDUE, unpaidInvoices.getOverdue());
8458
+ dictionary.add(SoleInvoiceStateEnum.PENDING, unpaidInvoices.getPending());
8459
+ return dictionary;
8460
+ }
8443
8461
  getUnpaidAmount(transactions) {
8444
8462
  return this.sumBy('grossPrice') - transactions.getByInvoices(this).sumBy('grossAmount');
8445
8463
  }
@@ -11557,6 +11575,7 @@ var UserEventTypeTypeEnum;
11557
11575
  UserEventTypeTypeEnum[UserEventTypeTypeEnum["EMPLOYEE_INVITE_ACCEPTED"] = 3013] = "EMPLOYEE_INVITE_ACCEPTED";
11558
11576
  UserEventTypeTypeEnum[UserEventTypeTypeEnum["EMPLOYEE_EMAIL_CONFIRMED"] = 3020] = "EMPLOYEE_EMAIL_CONFIRMED";
11559
11577
  UserEventTypeTypeEnum[UserEventTypeTypeEnum["TAX_REVIEW_RECEIVED"] = 3030] = "TAX_REVIEW_RECEIVED";
11578
+ UserEventTypeTypeEnum[UserEventTypeTypeEnum["SHARESIGHT_IMPORT"] = 2070] = "SHARESIGHT_IMPORT";
11560
11579
  })(UserEventTypeTypeEnum || (UserEventTypeTypeEnum = {}));
11561
11580
 
11562
11581
  /**
@@ -13690,6 +13709,7 @@ class PropertyCategoryMovementService extends RestService$1 {
13690
13709
  listenEvents() {
13691
13710
  // property created together with categories, we need to update the list
13692
13711
  this.listenCSE(Property, this.refreshCache, ['post']);
13712
+ this.listenCSE(PropertyCategoryMovement, this.refreshCache);
13693
13713
  }
13694
13714
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PropertyCategoryMovementService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
13695
13715
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PropertyCategoryMovementService, providedIn: 'root' }); }
@@ -15860,6 +15880,8 @@ var UserMessagesEnum;
15860
15880
  UserMessagesEnum["USER_DATA_UPDATED"] = "Data was successfully updated!";
15861
15881
  UserMessagesEnum["CLIENT_DETAILS_UPDATED"] = "Client details updated";
15862
15882
  UserMessagesEnum["DELETE"] = "Closing your account will mean you won't be able to access this account again. It will also revoke consent for all banks and delete all transaction data. This can not be undone.";
15883
+ UserMessagesEnum["SHARESIGHT_CONNECTED"] = "Sharesight connected";
15884
+ UserMessagesEnum["SHARESIGHT_ERROR"] = "Sharesight connection error";
15863
15885
  })(UserMessagesEnum || (UserMessagesEnum = {}));
15864
15886
 
15865
15887
  /**
@@ -15956,6 +15978,17 @@ class UserService extends RestService$1 {
15956
15978
  return basiqId;
15957
15979
  }));
15958
15980
  }
15981
+ connectSharesight(code) {
15982
+ return this.http.post(`${this.environment.apiV2}/sharesight/connect`, { code }).pipe(map((sharesightAccessToken) => {
15983
+ this.setCache([Object.assign(this.getCacheFirst().clientDetails, { sharesightAccessToken })], true);
15984
+ this.toastService.success(UserMessagesEnum.SHARESIGHT_CONNECTED);
15985
+ }), catchError((error) => {
15986
+ if (error.status === 503) {
15987
+ this.toastService.error(UserMessagesEnum.SHARESIGHT_ERROR);
15988
+ }
15989
+ return throwError(() => error);
15990
+ }));
15991
+ }
15959
15992
  skipSetupItem(item) {
15960
15993
  const user = clone(this.getCacheFirst());
15961
15994
  user.blacklistSetupItems.push(item);
@@ -16019,11 +16052,19 @@ class HoldingService extends RestService$1 {
16019
16052
  this.disabledMethods = ['postBatch', 'putBatch', 'deleteBatch'];
16020
16053
  this.roles = [UserRolesEnum.HOLDING_TANK];
16021
16054
  this.listenEvents();
16055
+ this.listenNotifications();
16022
16056
  }
16023
16057
  listenEvents() {
16024
16058
  this.listenCSE(HoldingSale, this.refreshCache, ['post', 'put', 'delete']);
16025
16059
  this.listenCSE(HoldingImport, this.refreshCache, ['post', 'put', 'delete']);
16026
16060
  }
16061
+ listenNotifications() {
16062
+ this.eventDispatcherService.on(AppEventTypeEnum.NOTIFICATION_ADDED).subscribe((notification) => {
16063
+ if (!notification.isRead && notification.eventType === UserEventTypeTypeEnum.SHARESIGHT_IMPORT) {
16064
+ this.refreshCache();
16065
+ }
16066
+ });
16067
+ }
16027
16068
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HoldingService, deps: [{ token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16028
16069
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HoldingService, providedIn: 'root' }); }
16029
16070
  }
@@ -16236,27 +16277,6 @@ var HoldingTypeMessagesEnum;
16236
16277
  HoldingTypeMessagesEnum["DELETED"] = "Holding type deleted successfully";
16237
16278
  })(HoldingTypeMessagesEnum || (HoldingTypeMessagesEnum = {}));
16238
16279
 
16239
- class SharesightService {
16240
- constructor(http, environment) {
16241
- this.http = http;
16242
- this.environment = environment;
16243
- }
16244
- connect(code) {
16245
- return this.http.post(`${this.environment.apiV2}/sharesight/connect`, { code });
16246
- }
16247
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SharesightService, deps: [{ token: i1.HttpClient }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable }); }
16248
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SharesightService, providedIn: 'root' }); }
16249
- }
16250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SharesightService, decorators: [{
16251
- type: Injectable,
16252
- args: [{
16253
- providedIn: 'root'
16254
- }]
16255
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
16256
- type: Inject,
16257
- args: ['environment']
16258
- }] }] });
16259
-
16260
16280
  var IncomeSourceTypes = [
16261
16281
  {
16262
16282
  id: 11,
@@ -24340,5 +24360,5 @@ var MessagesEnum;
24340
24360
  * Generated bundle index. Do not edit.
24341
24361
  */
24342
24362
 
24343
- export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsUnallocatableListEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingImport, HoldingImportForm, HoldingImportMessagesEnum, HoldingImportService, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentForm, PropertyDocumentMessagesEnum, PropertyDocumentService, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SharesightService, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, alphaSpaceValidator, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, toArray };
24363
+ export { AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, BANK_ACCOUNT_TYPES, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetForm, BudgetMessagesEnum, BudgetRule, BudgetService, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsInvoiceEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsUnallocatableListEnum, ChartAccountsValue, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HeaderTitleService, Holding, HoldingCollection, HoldingForm, HoldingImport, HoldingImportForm, HoldingImportMessagesEnum, HoldingImportService, HoldingIncomeForm, HoldingMessagesEnum, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleForm, HoldingSaleMessagesEnum, HoldingSaleService, HoldingService, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanFrequencyEnum, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentFrequencyEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyDocument, PropertyDocumentForm, PropertyDocumentMessagesEnum, PropertyDocumentService, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastFrequencyEnum, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, alphaSpaceValidator, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, toArray };
24344
24364
  //# sourceMappingURL=taxtank-core.mjs.map