taxtank-core 0.7.2 → 0.8.2

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 (58) hide show
  1. package/bundles/taxtank-core.umd.js +180 -155
  2. package/bundles/taxtank-core.umd.js.map +1 -1
  3. package/esm2015/lib/collections/collection.js +7 -4
  4. package/esm2015/lib/collections/property/property.collection.js +2 -5
  5. package/esm2015/lib/db/Enums/property/property-share-access.enum.js +6 -0
  6. package/esm2015/lib/db/Enums/property/property-share-status.enum.js +7 -0
  7. package/esm2015/lib/db/Enums/user-event-type-client-type.enum.js +9 -9
  8. package/esm2015/lib/db/Models/client-details.js +1 -1
  9. package/esm2015/lib/db/Models/property/property-sale/property-sale.js +1 -1
  10. package/esm2015/lib/db/Models/property/property-share.js +3 -0
  11. package/esm2015/lib/db/Models/property/property.js +1 -1
  12. package/esm2015/lib/db/Models/user.js +1 -1
  13. package/esm2015/lib/models/bank/basiq-config.js +12 -0
  14. package/esm2015/lib/models/depreciation/depreciation.js +2 -2
  15. package/esm2015/lib/models/endpoint/endpoints.const.js +4 -4
  16. package/esm2015/lib/models/event/app-event-type.enum.js +2 -2
  17. package/esm2015/lib/models/notification/notification.js +3 -3
  18. package/esm2015/lib/models/pdf/pdf-config.js +11 -3
  19. package/esm2015/lib/models/property/property-sale/property-sale.js +1 -1
  20. package/esm2015/lib/models/property/{property-owner.js → property-share.js} +15 -15
  21. package/esm2015/lib/models/property/property.js +9 -8
  22. package/esm2015/lib/models/property/share-filter-options.enum.js +11 -0
  23. package/esm2015/lib/services/bank/bank-account.service.js +2 -2
  24. package/esm2015/lib/services/depreciation/depreciation.service.js +2 -2
  25. package/esm2015/lib/services/pdf/pdf.service.js +12 -3
  26. package/esm2015/lib/services/property/property-share/property-share.service.js +115 -0
  27. package/esm2015/lib/services/property/property.service.js +6 -6
  28. package/esm2015/public-api.js +8 -6
  29. package/fesm2015/taxtank-core.js +149 -126
  30. package/fesm2015/taxtank-core.js.map +1 -1
  31. package/lib/collections/collection.d.ts +2 -1
  32. package/lib/collections/property/property.collection.d.ts +1 -4
  33. package/lib/db/Enums/property/property-share-access.enum.d.ts +4 -0
  34. package/lib/db/Enums/property/{property-owner-status.enum.d.ts → property-share-status.enum.d.ts} +1 -1
  35. package/lib/db/Enums/user-event-type-client-type.enum.d.ts +8 -8
  36. package/lib/db/Models/client-details.d.ts +1 -0
  37. package/lib/db/Models/property/property-sale/property-sale.d.ts +4 -3
  38. package/lib/db/Models/property/{property-owner.d.ts → property-share.d.ts} +6 -6
  39. package/lib/db/Models/property/property.d.ts +2 -2
  40. package/lib/db/Models/user.d.ts +2 -2
  41. package/lib/models/bank/basiq-config.d.ts +17 -0
  42. package/lib/models/event/app-event-type.enum.d.ts +1 -1
  43. package/lib/models/property/{property-owner.d.ts → property-share.d.ts} +3 -3
  44. package/lib/models/property/property.d.ts +6 -5
  45. package/lib/models/property/share-filter-options.enum.d.ts +9 -0
  46. package/lib/services/pdf/pdf.service.d.ts +1 -0
  47. package/lib/services/property/property-share/property-share.service.d.ts +44 -0
  48. package/lib/services/property/property.service.d.ts +3 -3
  49. package/package.json +1 -1
  50. package/public-api.d.ts +7 -5
  51. package/esm2015/lib/db/Enums/property/property-owner-access.enum.js +0 -6
  52. package/esm2015/lib/db/Enums/property/property-owner-status.enum.js +0 -7
  53. package/esm2015/lib/db/Models/property/property-owner.js +0 -3
  54. package/esm2015/lib/models/property/ownership-filter-options.enum.js +0 -10
  55. package/esm2015/lib/services/property/property-owner/property-owner.service.js +0 -123
  56. package/lib/db/Enums/property/property-owner-access.enum.d.ts +0 -4
  57. package/lib/models/property/ownership-filter-options.enum.d.ts +0 -8
  58. package/lib/services/property/property-owner/property-owner.service.d.ts +0 -52
@@ -895,9 +895,9 @@
895
895
  PROPERTIES_CATEGORIES_POST: new Endpoint('POST', '\\/properties\\/categories'),
896
896
  PROPERTIES_CATEGORY_MOVEMENTS_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/category-movements'),
897
897
  PROPERTIES_CATEGORY_MOVEMENTS_PUT: new Endpoint('PUT', '\\/properties\\/\\d+\\/category-movements\\/\\d+'),
898
- PROPERTIES_CO_OWNERS_PUT: new Endpoint('PUT', '\\/properties\\/co-owners\\/\\d+'),
899
- PROPERTIES_CO_OWNERS_GET: new Endpoint('GET', '\\/properties\\/co-owners'),
900
- PROPERTIES_CO_OWNERS_POST: new Endpoint('POST', '\\/properties\\/co-owners'),
898
+ PROPERTIES_SHARES_PUT: new Endpoint('PUT', '\\/properties\\/shares\\/\\d+'),
899
+ PROPERTIES_SHARES_GET: new Endpoint('GET', '\\/properties\\/shares'),
900
+ PROPERTIES_SHARES_POST: new Endpoint('POST', '\\/properties\\/shares'),
901
901
  PROPERTIES_DEACTIVATE_PUT: new Endpoint('PUT', '\\/properties\\/\\d+\\/deactivate'),
902
902
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_GET: new Endpoint('GET', '\\/properties\\/\\d+\\/depreciation-capital-projects'),
903
903
  PROPERTIES_DEPRECIATION_CAPITAL_PROJECT_POST: new Endpoint('POST', '\\/properties\\/\\d+\\/depreciation-capital-projects'),
@@ -1226,9 +1226,6 @@
1226
1226
  if (items === void 0) { items = []; }
1227
1227
  return new this.constructor(items);
1228
1228
  };
1229
- Collection.prototype.getBy = function (field, value) {
1230
- return this.create(this.items.filter(function (item) { return item[field] === value; }));
1231
- };
1232
1229
  Collection.prototype.groupBy = function (path) {
1233
1230
  if (path === void 0) { path = ''; }
1234
1231
  return new CollectionDictionary(this, path);
@@ -1264,6 +1261,12 @@
1264
1261
  Collection.prototype.getIds = function () {
1265
1262
  return this.items.map(function (item) { return item['id']; });
1266
1263
  };
1264
+ Collection.prototype.getOneBy = function (path, value) {
1265
+ return this.items.find(function (item) { return get__default["default"](item, path) === value; });
1266
+ };
1267
+ Collection.prototype.getBy = function (path, value) {
1268
+ return this.create(this.items.filter(function (item) { return get__default["default"](item, path) === value; }));
1269
+ };
1267
1270
  /**
1268
1271
  * Get single item by id
1269
1272
  */
@@ -2354,10 +2357,7 @@
2354
2357
  PropertyCollection.prototype.getActiveProperties = function () {
2355
2358
  return new PropertyCollection(this.items.filter(function (property) { return property.isActive; }));
2356
2359
  };
2357
- /**
2358
- * Get new property collection filtered by owner
2359
- */
2360
- PropertyCollection.prototype.getOwnProperties = function () {
2360
+ PropertyCollection.prototype.getCreatedProperties = function () {
2361
2361
  return new PropertyCollection(this.items.filter(function (property) { return property.isOwn(); }));
2362
2362
  };
2363
2363
  /**
@@ -3291,18 +3291,18 @@
3291
3291
  PropertyDepreciationCalculationEnum[PropertyDepreciationCalculationEnum["DIMINISHING"] = 2] = "DIMINISHING";
3292
3292
  })(exports.PropertyDepreciationCalculationEnum || (exports.PropertyDepreciationCalculationEnum = {}));
3293
3293
 
3294
- exports.PropertyOwnerAccessEnum = void 0;
3295
- (function (PropertyOwnerAccessEnum) {
3296
- PropertyOwnerAccessEnum[PropertyOwnerAccessEnum["VIEW"] = 1] = "VIEW";
3297
- PropertyOwnerAccessEnum[PropertyOwnerAccessEnum["EDIT"] = 2] = "EDIT";
3298
- })(exports.PropertyOwnerAccessEnum || (exports.PropertyOwnerAccessEnum = {}));
3294
+ exports.PropertyShareAccessEnum = void 0;
3295
+ (function (PropertyShareAccessEnum) {
3296
+ PropertyShareAccessEnum[PropertyShareAccessEnum["VIEW"] = 1] = "VIEW";
3297
+ PropertyShareAccessEnum[PropertyShareAccessEnum["EDIT"] = 2] = "EDIT";
3298
+ })(exports.PropertyShareAccessEnum || (exports.PropertyShareAccessEnum = {}));
3299
3299
 
3300
- exports.PropertyOwnerStatusEnum = void 0;
3301
- (function (PropertyOwnerStatusEnum) {
3302
- PropertyOwnerStatusEnum[PropertyOwnerStatusEnum["PENDING"] = 1] = "PENDING";
3303
- PropertyOwnerStatusEnum[PropertyOwnerStatusEnum["APPROVED"] = 2] = "APPROVED";
3304
- PropertyOwnerStatusEnum[PropertyOwnerStatusEnum["REJECTED"] = 3] = "REJECTED";
3305
- })(exports.PropertyOwnerStatusEnum || (exports.PropertyOwnerStatusEnum = {}));
3300
+ exports.PropertyShareStatusEnum = void 0;
3301
+ (function (PropertyShareStatusEnum) {
3302
+ PropertyShareStatusEnum[PropertyShareStatusEnum["PENDING"] = 1] = "PENDING";
3303
+ PropertyShareStatusEnum[PropertyShareStatusEnum["APPROVED"] = 2] = "APPROVED";
3304
+ PropertyShareStatusEnum[PropertyShareStatusEnum["REJECTED"] = 3] = "REJECTED";
3305
+ })(exports.PropertyShareStatusEnum || (exports.PropertyShareStatusEnum = {}));
3306
3306
 
3307
3307
  exports.RegistrationInviteStatusEnum = void 0;
3308
3308
  (function (RegistrationInviteStatusEnum) {
@@ -3525,14 +3525,14 @@
3525
3525
  UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_ACCEPTED"] = 2012] = "FIRM_INVITE_ACCEPTED";
3526
3526
  UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REJECTED"] = 2013] = "FIRM_INVITE_REJECTED";
3527
3527
  UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["FIRM_INVITE_REGISTERED"] = 2014] = "FIRM_INVITE_REGISTERED";
3528
- UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CO_OWNER_INVITE"] = 2020] = "CO_OWNER_INVITE";
3529
- UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CO_OWNER_INVITE_TO_REGISTER"] = 2021] = "CO_OWNER_INVITE_TO_REGISTER";
3530
- UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CO_OWNER_INVITE_ACCEPTED"] = 2022] = "CO_OWNER_INVITE_ACCEPTED";
3531
- UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CO_OWNER_INVITE_REJECTED"] = 2023] = "CO_OWNER_INVITE_REJECTED";
3532
- UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CO_OWNER_INVITE_REGISTERED"] = 2024] = "CO_OWNER_INVITE_REGISTERED";
3533
- UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CO_OWNER_CHANGE_REQUESTED"] = 2025] = "CO_OWNER_CHANGE_REQUESTED";
3534
- UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CO_OWNER_CHANGE_ACCEPTED"] = 2026] = "CO_OWNER_CHANGE_ACCEPTED";
3535
- UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["CO_OWNER_CHANGE_REJECTED"] = 2027] = "CO_OWNER_CHANGE_REJECTED";
3528
+ UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE"] = 2020] = "PROPERTY_SHARE_INVITE";
3529
+ UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_TO_REGISTER"] = 2021] = "PROPERTY_SHARE_INVITE_TO_REGISTER";
3530
+ UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_ACCEPTED"] = 2022] = "PROPERTY_SHARE_INVITE_ACCEPTED";
3531
+ UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REJECTED"] = 2023] = "PROPERTY_SHARE_INVITE_REJECTED";
3532
+ UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_INVITE_REGISTERED"] = 2024] = "PROPERTY_SHARE_INVITE_REGISTERED";
3533
+ UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REQUESTED"] = 2025] = "PROPERTY_SHARE_CHANGE_REQUESTED";
3534
+ UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_ACCEPTED"] = 2026] = "PROPERTY_SHARE_CHANGE_ACCEPTED";
3535
+ UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["PROPERTY_SHARE_CHANGE_REJECTED"] = 2027] = "PROPERTY_SHARE_CHANGE_REJECTED";
3536
3536
  UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_NEW_ACCOUNTS"] = 2030] = "BASIQ_NEW_ACCOUNTS";
3537
3537
  UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_FIRST_IMPORT_COMPLETE"] = 2031] = "BASIQ_FIRST_IMPORT_COMPLETE";
3538
3538
  UserEventTypeClientTypeEnum[UserEventTypeClientTypeEnum["BASIQ_AUTHORIZATION_FAIL"] = 2032] = "BASIQ_AUTHORIZATION_FAIL";
@@ -3607,6 +3607,18 @@
3607
3607
  VehicleLogbookPurposeEnum[VehicleLogbookPurposeEnum["PERSONAL"] = 2] = "PERSONAL";
3608
3608
  })(exports.VehicleLogbookPurposeEnum || (exports.VehicleLogbookPurposeEnum = {}));
3609
3609
 
3610
+ exports.TaxExemptionEnum = void 0;
3611
+ (function (TaxExemptionEnum) {
3612
+ TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
3613
+ // principle place of residence
3614
+ TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
3615
+ TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
3616
+ TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
3617
+ TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
3618
+ TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
3619
+ TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
3620
+ })(exports.TaxExemptionEnum || (exports.TaxExemptionEnum = {}));
3621
+
3610
3622
  exports.TaxExemptionMetadataEnum = void 0;
3611
3623
  (function (TaxExemptionMetadataEnum) {
3612
3624
  // principle place of residence
@@ -4536,18 +4548,6 @@
4536
4548
  classTransformer.Type(function () { return Date; })
4537
4549
  ], PropertyCategoryMovement.prototype, "toDate", void 0);
4538
4550
 
4539
- var TaxExemptionEnum;
4540
- (function (TaxExemptionEnum) {
4541
- TaxExemptionEnum[TaxExemptionEnum["ONE_YEAR_RULE"] = 1] = "ONE_YEAR_RULE";
4542
- // principle place of residence
4543
- TaxExemptionEnum[TaxExemptionEnum["PPR"] = 2] = "PPR";
4544
- TaxExemptionEnum[TaxExemptionEnum["SIX_YEARS_RULE"] = 3] = "SIX_YEARS_RULE";
4545
- TaxExemptionEnum[TaxExemptionEnum["INVESTMENT_TO_PPR"] = 4] = "INVESTMENT_TO_PPR";
4546
- TaxExemptionEnum[TaxExemptionEnum["PPR_TO_INVESTMENT"] = 5] = "PPR_TO_INVESTMENT";
4547
- TaxExemptionEnum[TaxExemptionEnum["TRANSFER"] = 6] = "TRANSFER";
4548
- TaxExemptionEnum[TaxExemptionEnum["OTHER"] = 7] = "OTHER";
4549
- })(TaxExemptionEnum || (TaxExemptionEnum = {}));
4550
-
4551
4551
  var PropertyCategoryListEnum;
4552
4552
  (function (PropertyCategoryListEnum) {
4553
4553
  PropertyCategoryListEnum[PropertyCategoryListEnum["OWNER_OCCUPIED"] = 3] = "OWNER_OCCUPIED";
@@ -4677,17 +4677,17 @@
4677
4677
  });
4678
4678
  Object.defineProperty(Property.prototype, "myShare", {
4679
4679
  get: function () {
4680
- return this.owners.find(function (owner) { return owner.user.id === +localStorage.getItem('userId'); });
4680
+ return this.shares.find(function (share) { return share.user.id === +localStorage.getItem('userId'); });
4681
4681
  },
4682
4682
  enumerable: false,
4683
4683
  configurable: true
4684
4684
  });
4685
- Object.defineProperty(Property.prototype, "ownershipClaimPercent", {
4685
+ Object.defineProperty(Property.prototype, "shareClaimPercent", {
4686
4686
  /**
4687
- * exact claim percent includes ownership
4687
+ * exact claim including share percent
4688
4688
  */
4689
4689
  get: function () {
4690
- return this.ownershipPercent * this.claimPercent / 100;
4690
+ return this.sharePercent * this.claimPercent / 100;
4691
4691
  },
4692
4692
  enumerable: false,
4693
4693
  configurable: true
@@ -4701,9 +4701,9 @@
4701
4701
  enumerable: false,
4702
4702
  configurable: true
4703
4703
  });
4704
- Object.defineProperty(Property.prototype, "ownershipPercent", {
4704
+ Object.defineProperty(Property.prototype, "sharePercent", {
4705
4705
  get: function () {
4706
- return this.myShare.ownershipPercent;
4706
+ return this.myShare.percent;
4707
4707
  },
4708
4708
  enumerable: false,
4709
4709
  configurable: true
@@ -4729,12 +4729,13 @@
4729
4729
  };
4730
4730
  Object.defineProperty(Property.prototype, "isShared", {
4731
4731
  get: function () {
4732
- return this.owners.length > 1;
4732
+ return this.shares.length > 1;
4733
4733
  },
4734
4734
  enumerable: false,
4735
4735
  configurable: true
4736
4736
  });
4737
4737
  /**
4738
+ * @TODO consider to move methods related with propertySale to separated class, since used just in one module yet
4738
4739
  * purchase costs - claimed costs, except `ppr to investment` exemption,
4739
4740
  * in that case it's equal to market value, when property became an investment property
4740
4741
  */
@@ -4767,10 +4768,10 @@
4767
4768
  switch (true) {
4768
4769
  // exemption for main residence properties
4769
4770
  case this.category.id === PropertyCategoryListEnum.OWNER_OCCUPIED:
4770
- return TaxExemptionEnum.PPR;
4771
+ return exports.TaxExemptionEnum.PPR;
4771
4772
  // exemption for investment properties owned for at least one year
4772
4773
  case this.getOwnershipDuration(sale, 'years') >= 1:
4773
- return TaxExemptionEnum.ONE_YEAR_RULE;
4774
+ return exports.TaxExemptionEnum.ONE_YEAR_RULE;
4774
4775
  default:
4775
4776
  return null;
4776
4777
  }
@@ -4783,22 +4784,22 @@
4783
4784
  var metadata = new PropertySaleTaxExemptionMetadataCollection(sale.taxExemptionMetadata);
4784
4785
  switch ((_a = sale.taxExemption) === null || _a === void 0 ? void 0 : _a.id) {
4785
4786
  // 50% exemption for investments owned for at least one year
4786
- case TaxExemptionEnum.ONE_YEAR_RULE:
4787
+ case exports.TaxExemptionEnum.ONE_YEAR_RULE:
4787
4788
  return 0.5;
4788
4789
  // investment property become main residence (exemption for main residence ownership duration)
4789
- case TaxExemptionEnum.INVESTMENT_TO_PPR:
4790
+ case exports.TaxExemptionEnum.INVESTMENT_TO_PPR:
4790
4791
  var ownershipDays = this.getOwnershipDuration(sale);
4791
4792
  return (ownershipDays - metadata.getPPRDays()) / ownershipDays;
4792
4793
  // main residence become investment (exemption for home office percent usage)
4793
- case TaxExemptionEnum.PPR_TO_INVESTMENT:
4794
+ case exports.TaxExemptionEnum.PPR_TO_INVESTMENT:
4794
4795
  // 1 year CGT discount can still apply (on the income producing % if used for 12 months or more)
4795
4796
  var ratio = this.getOwnershipDuration(sale, 'years') >= 1 ? 0.5 : 1;
4796
4797
  return metadata.getClaimPercent() / 100 * ratio;
4797
4798
  // full exemption
4798
- case TaxExemptionEnum.PPR:
4799
- case TaxExemptionEnum.SIX_YEARS_RULE:
4800
- case TaxExemptionEnum.TRANSFER:
4801
- case TaxExemptionEnum.OTHER:
4799
+ case exports.TaxExemptionEnum.PPR:
4800
+ case exports.TaxExemptionEnum.SIX_YEARS_RULE:
4801
+ case exports.TaxExemptionEnum.TRANSFER:
4802
+ case exports.TaxExemptionEnum.OTHER:
4802
4803
  return 0;
4803
4804
  // no exemption
4804
4805
  default:
@@ -5700,7 +5701,7 @@
5700
5701
  * Create a new transaction from current depreciation
5701
5702
  */
5702
5703
  Depreciation.prototype.toTransaction = function () {
5703
- return classTransformer.plainToClass(Transaction, this);
5704
+ return classTransformer.plainToClass(Transaction, Object.assign({}, this, { amount: this.getCurrentYearForecastAmount() }));
5704
5705
  };
5705
5706
  return Depreciation;
5706
5707
  }(Depreciation$1));
@@ -6219,6 +6220,19 @@
6219
6220
  BankTransactionSummaryFieldsEnum["ALLOCATED_AMOUNT"] = "allocatedAmount";
6220
6221
  })(exports.BankTransactionSummaryFieldsEnum || (exports.BankTransactionSummaryFieldsEnum = {}));
6221
6222
 
6223
+ /**
6224
+ * Class describe configuration options for basiq connect control
6225
+ * https://www.npmjs.com/package/@basiq/basiq-connect-control
6226
+ */
6227
+ var BasiqConfig = /** @class */ (function () {
6228
+ function BasiqConfig(options) {
6229
+ // ID of the DOM element to which Basiq Connect Control will be rendered;
6230
+ this.containerId = 'basiq-control';
6231
+ Object.assign(this, options);
6232
+ }
6233
+ return BasiqConfig;
6234
+ }());
6235
+
6222
6236
  /**
6223
6237
  * access token, needed to access basiq connect ui (https://github.com/basiqio/basiq-connect-ui)
6224
6238
  */
@@ -6935,7 +6949,7 @@
6935
6949
  AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_CREATED"] = 22] = "PROPERTY_MOVEMENT_CREATED";
6936
6950
  AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_UPDATED"] = 23] = "PROPERTY_MOVEMENT_UPDATED";
6937
6951
  AppEventTypeEnum[AppEventTypeEnum["PROPERTY_MOVEMENT_DELETED"] = 24] = "PROPERTY_MOVEMENT_DELETED";
6938
- AppEventTypeEnum[AppEventTypeEnum["PROPERTY_OWNER_UPDATED"] = 25] = "PROPERTY_OWNER_UPDATED";
6952
+ AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SHARE_UPDATED"] = 25] = "PROPERTY_SHARE_UPDATED";
6939
6953
  AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SUBSCRIPTION_ADDED"] = 26] = "PROPERTY_SUBSCRIPTION_ADDED";
6940
6954
  AppEventTypeEnum[AppEventTypeEnum["PROPERTY_SUBSCRIPTION_DELETED"] = 27] = "PROPERTY_SUBSCRIPTION_DELETED";
6941
6955
  AppEventTypeEnum[AppEventTypeEnum["PROPERTY_VALUATION_DOCUMENT_CREATED"] = 28] = "PROPERTY_VALUATION_DOCUMENT_CREATED";
@@ -7225,8 +7239,8 @@
7225
7239
  // return '/client/bank-feeds';
7226
7240
  // case NOTIFICATION_EVENT_TYPES.clientInvite.includes(obj.eventType):
7227
7241
  // return '/client/users/invitations';
7228
- // case NOTIFICATION_EVENT_TYPES.propertyOwner.includes(obj.eventType):
7229
- // return '/client/users/co-owners';
7242
+ // case NOTIFICATION_EVENT_TYPES.propertyShare.includes(obj.eventType):
7243
+ // return '/client/users/shares';
7230
7244
  // case NOTIFICATION_EVENT_TYPES.employeeInviteFromClient.includes(obj.eventType):
7231
7245
  // return '/firm/clients/invites';
7232
7246
  default:
@@ -7316,14 +7330,15 @@
7316
7330
  ];
7317
7331
 
7318
7332
  /**
7333
+ * @TODO used only on dashboard, move from tt-core
7319
7334
  * Enum with properties ownership filter options
7320
7335
  */
7321
- exports.OwnershipFilterOptionsEnum = void 0;
7322
- (function (OwnershipFilterOptionsEnum) {
7323
- OwnershipFilterOptionsEnum[OwnershipFilterOptionsEnum["ALL_PROPERTIES"] = 1] = "ALL_PROPERTIES";
7324
- OwnershipFilterOptionsEnum[OwnershipFilterOptionsEnum["OWN_PROPERTIES"] = 2] = "OWN_PROPERTIES";
7325
- OwnershipFilterOptionsEnum[OwnershipFilterOptionsEnum["SHARED_PROPERTIES"] = 3] = "SHARED_PROPERTIES";
7326
- })(exports.OwnershipFilterOptionsEnum || (exports.OwnershipFilterOptionsEnum = {}));
7336
+ exports.ShareFilterOptionsEnum = void 0;
7337
+ (function (ShareFilterOptionsEnum) {
7338
+ ShareFilterOptionsEnum[ShareFilterOptionsEnum["ALL"] = 1] = "ALL";
7339
+ ShareFilterOptionsEnum[ShareFilterOptionsEnum["CREATED"] = 2] = "CREATED";
7340
+ ShareFilterOptionsEnum[ShareFilterOptionsEnum["SHARED"] = 3] = "SHARED";
7341
+ })(exports.ShareFilterOptionsEnum || (exports.ShareFilterOptionsEnum = {}));
7327
7342
 
7328
7343
  /**
7329
7344
  * class contains equity information for passed financial year
@@ -7515,35 +7530,35 @@
7515
7530
  return PropertyEquityChartData;
7516
7531
  }());
7517
7532
 
7518
- var PropertyOwner$1 = /** @class */ (function () {
7519
- function PropertyOwner() {
7533
+ var PropertyShare$1 = /** @class */ (function () {
7534
+ function PropertyShare() {
7520
7535
  }
7521
- return PropertyOwner;
7536
+ return PropertyShare;
7522
7537
  }());
7523
7538
 
7524
- var PropertyOwner = /** @class */ (function (_super) {
7525
- __extends(PropertyOwner, _super);
7526
- function PropertyOwner() {
7539
+ var PropertyShare = /** @class */ (function (_super) {
7540
+ __extends(PropertyShare, _super);
7541
+ function PropertyShare() {
7527
7542
  return _super !== null && _super.apply(this, arguments) || this;
7528
7543
  }
7529
- PropertyOwner.prototype.isAccepted = function () {
7530
- return this.status === exports.PropertyOwnerStatusEnum.APPROVED;
7544
+ PropertyShare.prototype.isAccepted = function () {
7545
+ return this.status === exports.PropertyShareStatusEnum.APPROVED;
7531
7546
  };
7532
- PropertyOwner.prototype.isPending = function () {
7533
- return this.status === exports.PropertyOwnerStatusEnum.PENDING;
7547
+ PropertyShare.prototype.isPending = function () {
7548
+ return this.status === exports.PropertyShareStatusEnum.PENDING;
7534
7549
  };
7535
- PropertyOwner.prototype.isRejected = function () {
7536
- return this.status === exports.PropertyOwnerStatusEnum.REJECTED;
7550
+ PropertyShare.prototype.isRejected = function () {
7551
+ return this.status === exports.PropertyShareStatusEnum.REJECTED;
7537
7552
  };
7538
- Object.defineProperty(PropertyOwner.prototype, "statusName", {
7553
+ Object.defineProperty(PropertyShare.prototype, "statusName", {
7539
7554
  get: function () {
7540
7555
  var _a;
7541
- return (_a = exports.PropertyOwnerStatusEnum[this.status]) === null || _a === void 0 ? void 0 : _a.toLowerCase();
7556
+ return (_a = exports.PropertyShareStatusEnum[this.status]) === null || _a === void 0 ? void 0 : _a.toLowerCase();
7542
7557
  },
7543
7558
  enumerable: false,
7544
7559
  configurable: true
7545
7560
  });
7546
- Object.defineProperty(PropertyOwner.prototype, "fullName", {
7561
+ Object.defineProperty(PropertyShare.prototype, "userName", {
7547
7562
  /**
7548
7563
  * Return full user name if user is already registered.
7549
7564
  * Otherwise - return first name from invitation
@@ -7554,29 +7569,29 @@
7554
7569
  enumerable: false,
7555
7570
  configurable: true
7556
7571
  });
7557
- return PropertyOwner;
7558
- }(PropertyOwner$1));
7572
+ return PropertyShare;
7573
+ }(PropertyShare$1));
7559
7574
  __decorate([
7560
7575
  classTransformer.Type(function () { return Date; })
7561
- ], PropertyOwner.prototype, "fromDate", void 0);
7576
+ ], PropertyShare.prototype, "fromDate", void 0);
7562
7577
  __decorate([
7563
7578
  classTransformer.Type(function () { return Date; })
7564
- ], PropertyOwner.prototype, "toDate", void 0);
7579
+ ], PropertyShare.prototype, "toDate", void 0);
7565
7580
  __decorate([
7566
7581
  classTransformer.Type(function () { return User; })
7567
- ], PropertyOwner.prototype, "user", void 0);
7582
+ ], PropertyShare.prototype, "user", void 0);
7568
7583
  __decorate([
7569
7584
  classTransformer.Type(function () { return RegistrationInvite; })
7570
- ], PropertyOwner.prototype, "invite", void 0);
7585
+ ], PropertyShare.prototype, "invite", void 0);
7571
7586
  __decorate([
7572
7587
  classTransformer.Type(function () { return Property; })
7573
- ], PropertyOwner.prototype, "property", void 0);
7588
+ ], PropertyShare.prototype, "property", void 0);
7574
7589
  __decorate([
7575
7590
  classTransformer.Transform(function (_b) {
7576
7591
  var obj = _b.obj;
7577
7592
  return obj.user ? obj.user.email : obj.invite.email;
7578
7593
  })
7579
- ], PropertyOwner.prototype, "email", void 0);
7594
+ ], PropertyShare.prototype, "email", void 0);
7580
7595
 
7581
7596
  var PropertySale$1 = /** @class */ (function () {
7582
7597
  function PropertySale() {
@@ -8546,7 +8561,7 @@
8546
8561
  BankAccountService.prototype.listenToEventDispatcherChanges = function () {
8547
8562
  var _this = this;
8548
8563
  this.eventDispatcherService.on([
8549
- exports.AppEventTypeEnum.PROPERTY_OWNER_UPDATED,
8564
+ exports.AppEventTypeEnum.PROPERTY_SHARE_UPDATED,
8550
8565
  exports.AppEventTypeEnum.LOAN_PAYOUT_UPDATED,
8551
8566
  exports.AppEventTypeEnum.BANK_CONNECTION_ADDED
8552
8567
  ]).subscribe(function () {
@@ -9768,7 +9783,7 @@
9768
9783
  */
9769
9784
  DepreciationService.prototype.listenToUpdatedLoan = function () {
9770
9785
  var _this = this;
9771
- this.eventDispatcherService.on([exports.AppEventTypeEnum.LOAN_UPDATED, exports.AppEventTypeEnum.PROPERTY_OWNER_UPDATED]).subscribe(function () {
9786
+ this.eventDispatcherService.on([exports.AppEventTypeEnum.LOAN_UPDATED, exports.AppEventTypeEnum.PROPERTY_SHARE_UPDATED]).subscribe(function () {
9772
9787
  _this.fetch().subscribe();
9773
9788
  });
9774
9789
  };
@@ -10693,8 +10708,16 @@
10693
10708
  fontWeight: 'bold',
10694
10709
  positionX: 14,
10695
10710
  positionY: 10,
10696
- fillColor: 255,
10697
- textColor: 0
10711
+ colorWhite: '#ffffff',
10712
+ colorBlack: '#000000',
10713
+ colorPrimary: '#00b7f0'
10714
+ },
10715
+ logo: {
10716
+ src: '/assets/img/icons/logo.png',
10717
+ width: 30,
10718
+ height: 7,
10719
+ positionX: 168,
10720
+ positionY: 6
10698
10721
  },
10699
10722
  // coords for file section title (group, table, e.t.c.)
10700
10723
  contentTitleCoords: {
@@ -10733,6 +10756,7 @@
10733
10756
  PdfService.prototype.generateFromTables = function (tables, title) {
10734
10757
  var pdf = new jsPDF__default["default"]();
10735
10758
  this.setDocumentTitle(pdf, title);
10759
+ this.setDocumentLogo(pdf);
10736
10760
  tables.forEach(function (table) {
10737
10761
  var _a;
10738
10762
  // Add table caption if not provided
@@ -10749,9 +10773,12 @@
10749
10773
  var options = {
10750
10774
  html: table,
10751
10775
  startY: lastTableCoords + captionHeight + PDF_CONFIG.contentTitleCoords.marginTop,
10776
+ headStyles: {
10777
+ fillColor: PDF_CONFIG.text.colorPrimary,
10778
+ },
10752
10779
  footStyles: {
10753
- fillColor: PDF_CONFIG.text.fillColor,
10754
- textColor: PDF_CONFIG.text.textColor
10780
+ fillColor: PDF_CONFIG.text.colorWhite,
10781
+ textColor: PDF_CONFIG.text.colorBlack
10755
10782
  },
10756
10783
  didParseCell: function (data) {
10757
10784
  // Align last column content to right
@@ -10769,6 +10796,11 @@
10769
10796
  .setFont(PDF_CONFIG.text.fontName, PDF_CONFIG.text.fontStyle, PDF_CONFIG.text.fontWeight)
10770
10797
  .text(title, PDF_CONFIG.text.positionX, PDF_CONFIG.text.positionY);
10771
10798
  };
10799
+ PdfService.prototype.setDocumentLogo = function (doc) {
10800
+ var logo = new Image();
10801
+ logo.src = PDF_CONFIG.logo.src;
10802
+ doc.addImage(logo, 'PNG', PDF_CONFIG.logo.positionX, PDF_CONFIG.logo.positionY, PDF_CONFIG.logo.width, PDF_CONFIG.logo.height);
10803
+ };
10772
10804
  /**
10773
10805
  * @Todo remove/refactor when all DataTable dependent methods will be cleared-up
10774
10806
  * Generate PDF file from provided data
@@ -10825,17 +10857,17 @@
10825
10857
  return _this;
10826
10858
  }
10827
10859
  PropertyService.prototype.listenEvents = function () {
10828
- this.listenCoOwnerInviteAccepted();
10860
+ this.listenShareInviteAccepted();
10829
10861
  this.listenServiceSubscriptionUpdated();
10830
10862
  // @TODO Alex: consider to refactor property movements logic similar to client-movements
10831
10863
  this.listenMovementsChanged();
10832
10864
  };
10833
10865
  /**
10834
- * Update cache when owner invitation accepted
10866
+ * Update cache when share invitation accepted
10835
10867
  */
10836
- PropertyService.prototype.listenCoOwnerInviteAccepted = function () {
10868
+ PropertyService.prototype.listenShareInviteAccepted = function () {
10837
10869
  var _this = this;
10838
- this.eventDispatcherService.on(exports.AppEventTypeEnum.PROPERTY_OWNER_UPDATED).subscribe(function () { return _this.resetCache(); });
10870
+ this.eventDispatcherService.on(exports.AppEventTypeEnum.PROPERTY_SHARE_UPDATED).subscribe(function () { return _this.resetCache(); });
10839
10871
  };
10840
10872
  /**
10841
10873
  * Update cache when user's service subscription is updated
@@ -10908,7 +10940,7 @@
10908
10940
  _this.updateCache();
10909
10941
  }));
10910
10942
  };
10911
- PropertyService.prototype.getByCoOwnerId = function (id) {
10943
+ PropertyService.prototype.getByShareId = function (id) {
10912
10944
  return this.get().pipe(operators.map(function (properties) {
10913
10945
  return properties.filter(function (property) { return property.user.id === id; });
10914
10946
  }));
@@ -11156,114 +11188,106 @@
11156
11188
  } });
11157
11189
 
11158
11190
  // @TODO check and improve logic during refactoring
11159
- var PropertyOwnerService = /** @class */ (function (_super) {
11160
- __extends(PropertyOwnerService, _super);
11161
- function PropertyOwnerService(http, eventDispatcherService, environment) {
11191
+ var PropertyShareService = /** @class */ (function (_super) {
11192
+ __extends(PropertyShareService, _super);
11193
+ function PropertyShareService(http, eventDispatcherService, environment) {
11162
11194
  var _this = _super.call(this, http, eventDispatcherService, environment) || this;
11163
11195
  _this.http = http;
11164
11196
  _this.eventDispatcherService = eventDispatcherService;
11165
11197
  _this.environment = environment;
11166
- // api url parameter for properties co-owners
11167
- _this.url = 'properties/co-owners';
11168
- _this.modelClass = PropertyOwner;
11198
+ // api url parameter for properties shares
11199
+ _this.url = 'properties/shares';
11200
+ _this.modelClass = PropertyShare;
11169
11201
  _this.listenEvents();
11170
11202
  return _this;
11171
11203
  }
11172
11204
  /**
11173
11205
  * Listen to Event Dispatcher events
11174
11206
  */
11175
- PropertyOwnerService.prototype.listenEvents = function () {
11207
+ PropertyShareService.prototype.listenEvents = function () {
11176
11208
  this.listenUserUpdated();
11177
11209
  };
11178
11210
  /**
11179
11211
  * Updated loan
11180
11212
  */
11181
- PropertyOwnerService.prototype.update = function (propertyOwner) {
11213
+ PropertyShareService.prototype.update = function (propertyShare) {
11182
11214
  var _this = this;
11183
- return this.http.put(this.environment.apiV2 + "/" + this.url + "/" + propertyOwner.id, propertyOwner)
11184
- .pipe(operators.map(function (updatedPropertyOwnerBase) {
11185
- var updatedPropertyOwner = classTransformer.plainToClass(PropertyOwner, updatedPropertyOwnerBase);
11215
+ return this.http.put(this.environment.apiV2 + "/" + this.url + "/" + propertyShare.id, propertyShare)
11216
+ .pipe(operators.map(function (updatedPropertyShareBase) {
11217
+ var updatedPropertyShare = classTransformer.plainToClass(PropertyShare, updatedPropertyShareBase);
11186
11218
  // if loan type is NOT vehicle - fire EventDispatcher event
11187
- _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.PROPERTY_OWNER_UPDATED, null));
11188
- replace(_this.cache, updatedPropertyOwner);
11219
+ _this.eventDispatcherService.dispatch(new AppEvent(exports.AppEventTypeEnum.PROPERTY_SHARE_UPDATED, null));
11220
+ replace(_this.cache, updatedPropertyShare);
11189
11221
  _this.updateCache();
11190
- return updatedPropertyOwner;
11222
+ return updatedPropertyShare;
11191
11223
  }));
11192
11224
  };
11193
11225
  /**
11194
- * Re-invite property owner
11226
+ * Re-invite property share
11195
11227
  * @param share user to share property
11196
11228
  */
11197
- PropertyOwnerService.prototype.reinvite = function (share) {
11229
+ PropertyShareService.prototype.reinvite = function (share) {
11198
11230
  return this.http.post(this.environment.apiV2 + "/" + this.url + "/" + share.id + "/reinvite", {});
11199
11231
  };
11200
- /**
11201
- * Get incoming property owners list
11202
- */
11203
- PropertyOwnerService.prototype.getIncoming = function () {
11232
+ PropertyShareService.prototype.getIncoming = function () {
11204
11233
  return this.get()
11205
- .pipe(operators.map(function (propertyOwners) {
11206
- var propertyOwnersIncoming = [];
11207
- propertyOwners.forEach(function (propertyOwner) {
11234
+ .pipe(operators.map(function (propertyShares) {
11235
+ var propertySharesIncoming = [];
11236
+ propertyShares.forEach(function (propertyShare) {
11208
11237
  var _a;
11209
- if (((_a = propertyOwner.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyOwner.isPending() && propertyOwner.property.user.id !== +localStorage.getItem('userId')) {
11210
- propertyOwnersIncoming.push(propertyOwner);
11238
+ if (((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn()) && propertyShare.isPending() && propertyShare.property.user.id !== +localStorage.getItem('userId')) {
11239
+ propertySharesIncoming.push(propertyShare);
11211
11240
  }
11212
11241
  });
11213
- return propertyOwnersIncoming;
11242
+ return propertySharesIncoming;
11214
11243
  }));
11215
11244
  };
11216
11245
  /**
11217
- * Get outcoming property owners list
11246
+ * Get outcoming property shares list
11218
11247
  */
11219
- PropertyOwnerService.prototype.getOutcoming = function () {
11248
+ PropertyShareService.prototype.getOutcoming = function () {
11220
11249
  var _this = this;
11221
- return this.get().pipe(operators.map(function (propertyOwners) {
11222
- return _this.filterOutcoming(propertyOwners);
11250
+ return this.get().pipe(operators.map(function (propertyShares) {
11251
+ return _this.filterOutcoming(propertyShares);
11223
11252
  }));
11224
11253
  };
11225
11254
  /**
11226
- * Filter outcoming property owners
11227
- * @param propertyOwners which should be filtered
11255
+ * Filter outcoming property shares
11228
11256
  */
11229
- PropertyOwnerService.prototype.filterOutcoming = function (propertyOwners) {
11230
- var propertyOwnersOutcoming = [];
11231
- propertyOwners.forEach(function (propertyOwner) {
11257
+ PropertyShareService.prototype.filterOutcoming = function (propertyShares) {
11258
+ var propertySharesOutcoming = [];
11259
+ propertyShares.forEach(function (propertyShare) {
11232
11260
  var _a;
11233
- if (!((_a = propertyOwner.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn())) {
11234
- propertyOwnersOutcoming.push(propertyOwner);
11261
+ if (!((_a = propertyShare.user) === null || _a === void 0 ? void 0 : _a.isLoggedIn())) {
11262
+ propertySharesOutcoming.push(propertyShare);
11235
11263
  }
11236
11264
  });
11237
- return propertyOwnersOutcoming;
11265
+ return propertySharesOutcoming;
11238
11266
  };
11239
- /**
11240
- * Get list of co-owners filtered by property id
11241
- * @param propertyId
11242
- */
11243
- PropertyOwnerService.prototype.getByPropertyId = function (propertyId) {
11267
+ PropertyShareService.prototype.getByPropertyId = function (propertyId) {
11244
11268
  return this.get()
11245
- .pipe(operators.map(function (propertyOwners) {
11246
- return propertyOwners.filter(function (propertyOwner) { return propertyOwner.property.id === propertyId; });
11269
+ .pipe(operators.map(function (propertyShares) {
11270
+ return propertyShares.filter(function (propertyShare) { return propertyShare.property.id === propertyId; });
11247
11271
  }));
11248
11272
  };
11249
11273
  /**
11250
11274
  * Listen to User updated event
11251
11275
  */
11252
- PropertyOwnerService.prototype.listenUserUpdated = function () {
11276
+ PropertyShareService.prototype.listenUserUpdated = function () {
11253
11277
  var _this = this;
11254
11278
  this.eventDispatcherService.on(exports.AppEventTypeEnum.USER_UPDATED)
11255
11279
  .subscribe(function () {
11256
- _this.fetch().subscribe(function (propertyOwners) {
11257
- _this.cache = propertyOwners;
11280
+ _this.fetch().subscribe(function (propertyShares) {
11281
+ _this.cache = propertyShares;
11258
11282
  _this.updateCache();
11259
11283
  });
11260
11284
  });
11261
11285
  };
11262
- return PropertyOwnerService;
11286
+ return PropertyShareService;
11263
11287
  }(BaseRestService));
11264
- PropertyOwnerService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyOwnerService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
11265
- PropertyOwnerService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyOwnerService, providedIn: 'root' });
11266
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyOwnerService, decorators: [{
11288
+ PropertyShareService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyShareService, deps: [{ token: i1__namespace.HttpClient }, { token: EventDispatcherService }, { token: 'environment' }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
11289
+ PropertyShareService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyShareService, providedIn: 'root' });
11290
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: PropertyShareService, decorators: [{
11267
11291
  type: i0.Injectable,
11268
11292
  args: [{
11269
11293
  providedIn: 'root'
@@ -12933,6 +12957,7 @@
12933
12957
  exports.BankTransactionChartData = BankTransactionChartData;
12934
12958
  exports.BankTransactionCollection = BankTransactionCollection;
12935
12959
  exports.BankTransactionService = BankTransactionService;
12960
+ exports.BasiqConfig = BasiqConfig;
12936
12961
  exports.BasiqJob = BasiqJob;
12937
12962
  exports.BasiqService = BasiqService;
12938
12963
  exports.BasiqToken = BasiqToken;
@@ -13047,12 +13072,12 @@
13047
13072
  exports.PropertyEquityChartData = PropertyEquityChartData;
13048
13073
  exports.PropertyEquityChartItem = PropertyEquityChartItem;
13049
13074
  exports.PropertyForecast = PropertyForecast;
13050
- exports.PropertyOwner = PropertyOwner;
13051
- exports.PropertyOwnerService = PropertyOwnerService;
13052
13075
  exports.PropertySale = PropertySale;
13053
13076
  exports.PropertySaleService = PropertySaleService;
13054
13077
  exports.PropertySaleTaxExemptionMetadata = PropertySaleTaxExemptionMetadata;
13055
13078
  exports.PropertyService = PropertyService;
13079
+ exports.PropertyShare = PropertyShare;
13080
+ exports.PropertyShareService = PropertyShareService;
13056
13081
  exports.PropertySubscription = PropertySubscription;
13057
13082
  exports.PropertyValuation = PropertyValuation;
13058
13083
  exports.RegisterClientForm = RegisterClientForm;