taxtank-core 0.33.32 → 0.33.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) 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/collections/tax-summary/report-item.collection.mjs +1 -1
  5. package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +2 -2
  6. package/esm2022/src/lib/db/Enums/index.mjs +2 -1
  7. package/esm2022/src/lib/db/Enums/sole/index.mjs +6 -0
  8. package/esm2022/src/lib/db/Enums/sole/sole-depreciation-method.enum.mjs +6 -0
  9. package/esm2022/src/lib/db/Enums/sole/sole-invoice-state.enum.mjs +7 -0
  10. package/esm2022/src/lib/db/Enums/sole/sole-invoice-statuses.enum.mjs +7 -0
  11. package/esm2022/src/lib/db/Enums/sole/sole-invoice-tax-type.enum.mjs +7 -0
  12. package/esm2022/src/lib/db/Enums/{sole-invoice-template-tax-type.enum.mjs → sole/sole-invoice-template-tax-type.enum.mjs} +1 -1
  13. package/esm2022/src/lib/db/Enums/user-event-type-type.enum.mjs +2 -1
  14. package/esm2022/src/lib/db/Models/abstract-model.mjs +4 -1
  15. package/esm2022/src/lib/db/Models/client/client-details.mjs +1 -1
  16. package/esm2022/src/lib/db/Models/sole/sole-depreciation-method.mjs +1 -1
  17. package/esm2022/src/lib/db/Models/sole/sole-invoice-template.mjs +1 -1
  18. package/esm2022/src/lib/db/Models/sole/sole-invoice.mjs +1 -1
  19. package/esm2022/src/lib/forms/sole/sole-invoice.form.mjs +2 -2
  20. package/esm2022/src/lib/models/chart/chart-data.mjs +1 -1
  21. package/esm2022/src/lib/models/sole/sole-depreciation-method.mjs +2 -2
  22. package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +2 -2
  23. package/esm2022/src/lib/models/sole/sole-invoice-template.mjs +2 -2
  24. package/esm2022/src/lib/models/sole/sole-invoice.mjs +2 -3
  25. package/esm2022/src/lib/services/http/holding/holding.service.mjs +11 -2
  26. package/esm2022/src/lib/services/http/property/property-category-movement/property-category-movement.service.mjs +2 -1
  27. package/esm2022/src/lib/services/http/property/property.service.mjs +1 -1
  28. package/esm2022/src/lib/services/http/sole/sole-invoice/sole-invoice.service.mjs +1 -1
  29. package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +10 -3
  30. package/esm2022/src/lib/services/http/user/user-messages.enum.mjs +3 -1
  31. package/esm2022/src/lib/services/http/user/user.service.mjs +15 -2
  32. package/esm2022/src/lib/services/http/youtube/youtube.service.mjs +1 -1
  33. package/fesm2022/taxtank-core.mjs +78 -31
  34. package/fesm2022/taxtank-core.mjs.map +1 -1
  35. package/package.json +1 -1
  36. package/public-api.d.ts +5 -4
  37. package/src/lib/collections/sole/sole-invoice-item.collection.d.ts +1 -1
  38. package/src/lib/collections/sole/sole-invoice.collection.d.ts +2 -0
  39. package/src/lib/collections/tax-summary/report-item.collection.d.ts +2 -2
  40. package/src/lib/db/Enums/index.d.ts +1 -0
  41. package/src/lib/db/Enums/sole/index.d.ts +5 -0
  42. package/src/lib/db/Enums/sole/sole-invoice-state.enum.d.ts +5 -0
  43. package/src/lib/db/Enums/user-event-type-type.enum.d.ts +2 -1
  44. package/src/lib/db/Models/abstract-model.d.ts +1 -0
  45. package/src/lib/db/Models/client/client-details.d.ts +2 -1
  46. package/src/lib/db/Models/sole/sole-depreciation-method.d.ts +1 -1
  47. package/src/lib/db/Models/sole/sole-invoice-template.d.ts +1 -1
  48. package/src/lib/db/Models/sole/sole-invoice.d.ts +1 -2
  49. package/src/lib/models/sole/sole-invoice-item.d.ts +1 -1
  50. package/src/lib/models/sole/sole-invoice-template.d.ts +1 -1
  51. package/src/lib/models/sole/sole-invoice.d.ts +1 -2
  52. package/src/lib/services/http/holding/holding.service.d.ts +1 -0
  53. package/src/lib/services/http/sole/sole-invoice/sole-invoice.service.d.ts +1 -1
  54. package/src/lib/services/http/transaction/transaction.service.d.ts +5 -1
  55. package/src/lib/services/http/user/user-messages.enum.d.ts +3 -1
  56. package/src/lib/services/http/user/user.service.d.ts +1 -0
  57. package/src/lib/services/http/youtube/youtube.service.d.ts +1 -1
  58. package/esm2022/src/lib/db/Enums/sole-depreciation-method.enum.mjs +0 -6
  59. package/esm2022/src/lib/db/Enums/sole-invoice-statuses.enum.mjs +0 -7
  60. package/esm2022/src/lib/db/Enums/sole-invoice-tax-type.enum.mjs +0 -7
  61. /package/src/lib/db/Enums/{sole-depreciation-method.enum.d.ts → sole/sole-depreciation-method.enum.d.ts} +0 -0
  62. /package/src/lib/db/Enums/{sole-invoice-statuses.enum.d.ts → sole/sole-invoice-statuses.enum.d.ts} +0 -0
  63. /package/src/lib/db/Enums/{sole-invoice-tax-type.enum.d.ts → sole/sole-invoice-tax-type.enum.d.ts} +0 -0
  64. /package/src/lib/db/Enums/{sole-invoice-template-tax-type.enum.d.ts → sole/sole-invoice-template-tax-type.enum.d.ts} +0 -0
@@ -3,7 +3,7 @@ import { SoleInvoiceItem } from '../../models';
3
3
  import { UntypedFormArray, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';
4
4
  import { SoleInvoiceItemForm } from './sole-invoice-item.form';
5
5
  import { plainToClass } from 'class-transformer';
6
- import { SoleInvoiceTaxTypeEnum } from '../../db/Enums/sole-invoice-tax-type.enum';
6
+ import { SoleInvoiceTaxTypeEnum } from '../../db/Enums';
7
7
  /**
8
8
  * Form is divided into two groups, since the creation of Sole invoice takes place in two steps:
9
9
  * a common invoice data and sole invoice items.
@@ -155,4 +155,4 @@ export class SoleInvoiceForm extends AbstractForm {
155
155
  return this.createModelInstance(Object.assign({}, this.model, { ...formRawValue.commonData, items: formRawValue.items }));
156
156
  }
157
157
  }
158
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLmZvcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8u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F0YSgpOiBVbnR5cGVkRm9ybUdyb3VwIHtcbiAgICByZXR1cm4gdGhpcy5nZXQoJ2NvbW1vbkRhdGEnKSBhcyBVbnR5cGVkRm9ybUdyb3VwO1xuICB9XG5cbiAgLyoqXG4gICAqIFJld3JpdGUgYWJzdHJhY3QgZm9ybSBnZXR0ZXIgdG8gZmxhdCBcImNvbW1vbkRhdGFcIiBmaWVsZCwgd2hpY2ggaXMgbm90IGluIHRoZSBjbGFzc1xuICAgKi9cbiAgZ2V0IGN1cnJlbnRWYWx1ZSgpOiBTb2xlSW52b2ljZSB7XG4gICAgY29uc3QgZm9ybVJhd1ZhbHVlOiBhbnkgPSB0aGlzLmdldFJhd1ZhbHVlKCk7XG5cbiAgICByZXR1cm4gdGhpcy5jcmVhdGVNb2RlbEluc3RhbmNlKE9iamVjdC5hc3NpZ24oXG4gICAgICB7fSxcbiAgICAgIHRoaXMubW9kZWwsXG4gICAgICB7IC4uLmZvcm1SYXdWYWx1ZS5jb21tb25EYXRhLCBpdGVtczogZm9ybVJhd1ZhbHVlLml0ZW1zIH1cbiAgICApKTtcbiAgfVxufVxuIl19
@@ -10,4 +10,4 @@ export class ChartData {
10
10
  __decorate([
11
11
  Type(() => ChartSerie)
12
12
  ], ChartData.prototype, "data", void 0);
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9tb2RlbHMvY2hhcnQvY2hhcnQtZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFFekM7OztHQUdHO0FBQ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1zZXJpZSc7XHJcbmltcG9ydCB7IFR5cGUgfSBmcm9tICdjbGFzcy10cmFuc2Zvcm1lcic7XHJcblxyXG4vKipcclxuICogQ2hhcnQgZGF0YSBjbGFzc1xyXG4gKiBAVE9ETyBjb25zaWRlciByZW5hbWUgdG8gQ2hhcnRTZXJpZVxyXG4gKi9cclxuZXhwb3J0IGNsYXNzIENoYXJ0RGF0YSB7XHJcbiAgbmFtZTogc3RyaW5nO1xyXG5cclxuICBAVHlwZSgoKSA9PiBDaGFydFNlcmllKVxyXG4gIGRhdGE6IENoYXJ0U2VyaWVbXTtcclxufVxyXG4iXX0=
@@ -1,8 +1,8 @@
1
1
  import { SoleDepreciationMethod as SoleDepreciationMethodBase } from '../../db/Models/sole/sole-depreciation-method';
2
- import { SoleDepreciationMethodEnum } from '../../db/Enums/sole-depreciation-method.enum';
2
+ import { SoleDepreciationMethodEnum } from '../../db/Enums';
3
3
  export class SoleDepreciationMethod extends SoleDepreciationMethodBase {
4
4
  isSBP() {
5
5
  return this.method === SoleDepreciationMethodEnum.SBP;
6
6
  }
7
7
  }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1kZXByZWNpYXRpb24tbWV0aG9kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9zb2xlL3NvbGUtZGVwcmVjaWF0aW9uLW1ldGhvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLElBQUksMEJBQTBCLEVBQUUsTUFBTSwrQ0FBK0MsQ0FBQztBQUNySCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUUxRixNQUFNLE9BQU8sc0JBQXVCLFNBQVEsMEJBQTBCO0lBQ3BFLEtBQUs7UUFDSCx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O0lBQ3BFLEtBQUs7UUFDSCxPQUFPLElBQUksQ0FBQyxNQUFNLEtBQUssMEJBQTBCLENBQUMsR0FBRyxDQUFDO0lBQ3hELENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNvbGVEZXByZWNpYXRpb25NZXRob2QgYXMgU29sZURlcHJlY2lhdGlvbk1ldGhvZEJhc2UgfSBmcm9tICcuLi8uLi9kYi9Nb2RlbHMvc29sZS9zb2xlLWRlcHJlY2lhdGlvbi1tZXRob2QnO1xuaW1wb3J0IHsgU29sZURlcHJlY2lhdGlvbk1ldGhvZEVudW0gfSBmcm9tICcuLi8uLi9kYi9FbnVtcyc7XG5cbmV4cG9ydCBjbGFzcyBTb2xlRGVwcmVjaWF0aW9uTWV0aG9kIGV4dGVuZHMgU29sZURlcHJlY2lhdGlvbk1ldGhvZEJhc2Uge1xuICBpc1NCUCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5tZXRob2QgPT09IFNvbGVEZXByZWNpYXRpb25NZXRob2RFbnVtLlNCUDtcbiAgfVxufVxuIl19
@@ -6,7 +6,7 @@ import { Type, plainToClass } from 'class-transformer';
6
6
  import { Transaction } from '../transaction';
7
7
  import { TransactionSourceEnum } from '../../db/Enums/transaction-source.enum';
8
8
  import { TransactionOperationEnum } from '../../db/Enums/transaction-operation.enum';
9
- import { SoleInvoiceTaxTypeEnum } from '../../db/Enums/sole-invoice-tax-type.enum';
9
+ import { SoleInvoiceTaxTypeEnum } from '../../db/Enums';
10
10
  export class SoleInvoiceItem extends SoleInvoiceItemBase {
11
11
  constructor() {
12
12
  super(...arguments);
@@ -44,4 +44,4 @@ __decorate([
44
44
  __decorate([
45
45
  Type(() => Transaction)
46
46
  ], SoleInvoiceItem.prototype, "transactions", void 0);
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiw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ICAgICAgb3BlcmF0aW9uOiBUcmFuc2FjdGlvbk9wZXJhdGlvbkVudW0uQUxMT0NBVEVfSU5WT0lDRSxcbiAgICAgIGludm9pY2VJdGVtOiB0aGlzXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -3,7 +3,7 @@ import { SoleBusiness } from './sole-business';
3
3
  import { BankAccount } from '../bank';
4
4
  import { SoleInvoiceTemplate as SoleInvoiceTemplateBase } from '../../db/Models/sole/sole-invoice-template';
5
5
  import { Type } from 'class-transformer';
6
- import { SoleInvoiceTemplateTaxTypeEnum } from '../../db/Enums/sole-invoice-template-tax-type.enum';
6
+ import { SoleInvoiceTemplateTaxTypeEnum } from '../../db/Enums';
7
7
  export class SoleInvoiceTemplate extends SoleInvoiceTemplateBase {
8
8
  constructor() {
9
9
  super(...arguments);
@@ -28,4 +28,4 @@ __decorate([
28
28
  __decorate([
29
29
  Type(() => BankAccount)
30
30
  ], SoleInvoiceTemplate.prototype, "bankAccount", void 0);
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLXRlbXBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9zb2xlL3NvbGUtaW52b2ljZS10ZW1wbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDdEMsT0FBTyxFQUFFLG1CQUFtQixJQUFJLHVCQUF1QixFQUFFLE1BQU0sNENBQTRDLENBQUM7QUFDNUcsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3pDLE9BQU8sRUFBRSw4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YXhUeXBlRW51bSB9IGZyb20gJy4uLy4uL2RiL0VudW1zJztcblxuZXhwb3J0IGNsYXNzIFNvbGVJbnZvaWNlVGVtcGxhdGUgZXh0ZW5kcyBTb2xlSW52b2ljZVRlbXBsYXRlQmFzZSB7XG4gIEBUeXBlKCgpID0+IFNvbGVCdXNpbmVzcylcbiAgYnVzaW5lc3M6IFNvbGVCdXNpbmVzcztcblxuICBAVHlwZSgoKSA9PiBCYW5rQWNjb3VudClcbiAgYmFua0FjY291bnQ6IEJhbmtBY2NvdW50O1xuXG4gIC8qKlxuICAgKiBBZmZlY3RzIHRvIFNvbGVJbnZvaWNlSXRlbS5pc0dTVCBmbGFnIGF2YWlsYWJpbGl0eS5cbiAgICogV2hlbiBOT05FOiBpc0dTVCBpcyB1bmF2YWlsYWJsZVxuICAgKiBXaGVuIEVYQ0xVU0lWRTogR1NUIGFtb3VudCBhZGRlZCBhZGRpdGlvbmFseSB0byBpbnZvaWNlIHRvdGFsIHByaWNlXG4gICAqIFdoZW4gSU5DTFVTSVZFOiBHU1QgYW1vdW50IGlzIGFscmVhZHkgaW5jbHVkZWQgdG8gaW52b2ljZSB0b3RhbCBwcmljZVxuICAgKi9cbiAgdGF4VHlwZTogU29sZUludm9pY2VUZW1wbGF0ZVRheFR5cGVFbnVtID0gU29sZUludm9pY2VUZW1wbGF0ZVRheFR5cGVFbnVtLk5PX1RBWDtcblxuICAvKipcbiAgICogR2V0IHRlcm0gZHVyYXRpb24gaW4gbWlsbGlzZWNvbmRzXG4gICAqL1xuICBnZXQgdGVybVRpbWUoKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy50ZXJtICogMjQgKiAzNjAwICogMTAwMDtcbiAgfVxufVxuIl19
@@ -5,9 +5,8 @@ import { SoleBusiness } from './sole-business';
5
5
  import { SoleInvoiceItem } from './sole-invoice-item';
6
6
  import { SoleContact } from './sole-contact';
7
7
  import { Type, plainToClass } from 'class-transformer';
8
- import { SoleInvoiceStatusesEnum } from '../../db/Enums/sole-invoice-statuses.enum';
8
+ import { SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum } from '../../db/Enums';
9
9
  import { BankAccount } from '../bank';
10
- import { SoleInvoiceTaxTypeEnum } from '../../db/Enums/sole-invoice-tax-type.enum';
11
10
  import { SoleInvoiceItemCollection } from '../../collections';
12
11
  import { Transaction, TransactionAllocation } from '../transaction';
13
12
  export class SoleInvoice extends SoleInvoiceBase {
@@ -140,4 +139,4 @@ __decorate([
140
139
  __decorate([
141
140
  Type(() => BankAccount)
142
141
  ], SoleInvoice.prototype, "bankAccount", void 0);
143
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL21vZGVscy9zb2xlL3NvbGUtaW52b2ljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFdBQVcsSUFBSSxlQUFlLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUNuRixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQy9CLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdEQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxJQUFJLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDdkQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDcEYsT0FBTyxFQUFFLFdBQVcsRUFBbUIsTUFBTSxTQUFTLENBQUM7QUFDdkQsT0F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blxuICAgICAgcmV0dXJuIHRyYW5zYWN0aW9uO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
@@ -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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KTtcbiAgICAgIH1cbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHktY2F0ZWdvcnktbW92ZW1lbnQuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL3Byb3BlcnR5L3Byb3BlcnR5LWNhdGVnb3J5LW1vdmVtZW50L3Byb3BlcnR5LWNhdGVnb3J5LW1vdmVtZW50LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLFFBQVEsRUFBRSx3QkFBd0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRXhFLE9BQU8sRUFBYyxXQUFXLEVBQUUsTUFBTSxZQUFZ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RlY3RlZCBlbnZpcm9ubWVudDogYW55KSB7XG4gICAgc3VwZXIoZW52aXJvbm1lbnQpO1xuICAgIHRoaXMubGlzdGVuRXZlbnRzKCk7XG4gIH1cblxuICBsaXN0ZW5FdmVudHMoKTogdm9pZCB7XG4gICAgLy8gcHJvcGVydHkgY3JlYXRlZCB0b2dldGhlciB3aXRoIGNhdGVnb3JpZXMsIHdlIG5lZWQgdG8gdXBkYXRlIHRoZSBsaXN0XG4gICAgdGhpcy5saXN0ZW5DU0UoUHJvcGVydHksIHRoaXMucmVmcmVzaENhY2hlLCBbJ3Bvc3QnXSk7XG4gICAgdGhpcy5saXN0ZW5DU0UoUHJvcGVydHlDYXRlZ29yeU1vdmVtZW50LCB0aGlzLnJlZnJlc2hDYWNoZSk7XG4gIH1cbn1cbiJdfQ==
@@ -92,4 +92,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
92
92
  type: Inject,
93
93
  args: ['environment']
94
94
  }] }] });
95
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL3Byb3BlcnR5L3Byb3BlcnR5LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFNbkQsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQ0wsUUFBUSxFQUNSLGdCQUFnQixFQUNoQixRQUFRLEVB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kPiB7XG4gICAgcmV0dXJuIHRoaXMuaHR0cC5kZWxldGUoYCR7dGhpcy5lbnZpcm9ubWVudC5hcGlWMn0vcHJvcGVydHktc3Vic2NyaXB0aW9ucy8ke3Byb3BlcnR5LmdldEN1cnJlbnRTdWJzY3JpcHRpb24oKS5pZH1gKVxuICAgICAgLnBpcGUoXG4gICAgICAgIG1hcCgoKSA9PiB7XG4gICAgICAgICAgY29uc3QgZGVhY3RpdmF0ZWRQcm9wZXJ0eTogUHJvcGVydHkgPSBwbGFpblRvQ2xhc3MoUHJvcGVydHksIE9iamVjdC5hc3NpZ24oe30sIHByb3BlcnR5LCB7IHN1YnNjcmlwdGlvbnM6IFtdIH0pKTtcblxuICAgICAgICAgIHRoaXMudXBkYXRlQ2FjaGUoW2RlYWN0aXZhdGVkUHJvcGVydHldLCAncHV0Jyk7XG4gICAgICAgIH0pXG4gICAgICApO1xuICB9XG59XG4iXX0=
@@ -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
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1pbnZvaWNlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvc2VydmljZXMvaHR0cC9zb2xlL3NvbGUtaW52b2ljZS9zb2xlLWludm9pY2Uuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxvQ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zdC5udW1iZXIgKyAxO1xuICB9XG59XG4iXX0=
@@ -7,6 +7,7 @@ import { AppEvent, AppEventTypeEnum, Depreciation, PropertyShare, Transaction, V
7
7
  import _ from 'lodash';
8
8
  import { classToPlain } from 'class-transformer';
9
9
  import { UserEventTypeTypeEnum } from '../../../db/Enums/user-event-type-type.enum';
10
+ import { TransactionCollection } from '../../../collections';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "@angular/common/http";
12
13
  import * as i2 from "../../event";
@@ -36,9 +37,9 @@ export class TransactionService extends RestService {
36
37
  this.listenNotifications();
37
38
  }
38
39
  /**
39
- * get list of all user's TaxTank transactions
40
+ * current year transactions + previous year sole invoice transactions (needed whe invoice part paid in previous year)
40
41
  */
41
- get() {
42
+ getAll() {
42
43
  return super.get().pipe(
43
44
  // assign child transactions (fees) to parent transactions
44
45
  map((transactions) => {
@@ -51,6 +52,12 @@ export class TransactionService extends RestService {
51
52
  return transactions;
52
53
  }));
53
54
  }
55
+ /**
56
+ * current year transactions
57
+ */
58
+ get() {
59
+ return super.get().pipe(map((transactions) => new TransactionCollection(transactions).filterByFinancialYear('date').toArray()));
60
+ }
54
61
  /**
55
62
  * Add single new transaction
56
63
  * @param model New Transaction instance for saving
@@ -258,4 +265,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
258
265
  type: Inject,
259
266
  args: ['environment']
260
267
  }] }] });
261
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9zZXJ2aWNlcy9odHRwL3RyYW5zYWN0aW9uL3RyYW5zYWN0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0F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KChub3RpZmljYXRpb246IE5vdGlmaWNhdGlvbikgPT4ge1xuICAgICAgY29uc3QgZXZlbnRzID0gW1xuICAgICAgICBVc2VyRXZlbnRUeXBlVHlwZUVudW0uSU5WT0lDRV9BVVRPX0FMTE9DQVRFRCxcbiAgICAgICAgVXNlckV2ZW50VHlwZVR5cGVFbnVtLklOVk9JQ0VfQVVUT19QQVJUX0FMTE9DQVRFRCxcbiAgICAgICAgVXNlckV2ZW50VHlwZVR5cGVFbnVtLlJVTEVTX0FVVE9fQUxMT0NBVEVEXG4gICAgICBdO1xuXG4gICAgICBpZiAoIW5vdGlmaWNhdGlvbi5pc1JlYWQgJiYgZXZlbnRzLmluY2x1ZGVzKG5vdGlmaWNhdGlvbi5ldmVudFR5cGUpKSB7XG4gICAgICAgIC8vIEBUT0RPIFRULTM4MjYgbW92ZSB0byB1bmlmaWVkIG1lcmN1cmUgZXZlbnRcbiAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgICAgdGhpcy5yZWZyZXNoQ2FjaGUoKTtcbiAgICAgICAgfSwgMzAwMClcbiAgICAgIH1cbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1tZXNzYWdlcy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4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