taxtank-core 1.0.12 → 1.0.14

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.
@@ -10827,7 +10827,7 @@ class Holding extends AbstractModel {
10827
10827
 
10828
10828
  var SharesightDetailsMessagesEnum;
10829
10829
  (function (SharesightDetailsMessagesEnum) {
10830
- SharesightDetailsMessagesEnum["HOLDING_CONNECTED"] = "We're syncing your ShareSight trades, which might take a few minutes.";
10830
+ SharesightDetailsMessagesEnum["HOLDING_CONNECTED"] = "We're retrieving your Sharesight portfolio details. To choose which ones to share with TaxTank, head to the Integrations tab and click the 'Manage Portfolios' button.";
10831
10831
  SharesightDetailsMessagesEnum["PROPERTY_CONNECTED"] = "We're syncing your properties, which might take a few minutes.";
10832
10832
  SharesightDetailsMessagesEnum["DISCONNECTED"] = "Sharesight disconnected";
10833
10833
  SharesightDetailsMessagesEnum["DISCONNECT_CONFIRM"] = "Disconnecting ShareSight means we can no longer sync data. Any trades already imported will become editable in TaxTank.";
@@ -10853,6 +10853,10 @@ __decorate([
10853
10853
  ], SharesightDetails.prototype, "sharesightLastExportDate", void 0);
10854
10854
 
10855
10855
  class SharesightPortfolio extends AbstractModel {
10856
+ constructor() {
10857
+ super(...arguments);
10858
+ this.isTaxFree = false;
10859
+ }
10856
10860
  }
10857
10861
  __decorate([
10858
10862
  Type(() => SharesightDetails)
@@ -10860,7 +10864,7 @@ __decorate([
10860
10864
 
10861
10865
  var SharesightPortfolioMessages;
10862
10866
  (function (SharesightPortfolioMessages) {
10863
- SharesightPortfolioMessages["PUT"] = "Portfolios updated";
10867
+ SharesightPortfolioMessages["PUT"] = "We\u2019re syncing your Sharesight trades, which might take a few minutes. We\u2019ll let you know when they\u2019re ready.";
10864
10868
  })(SharesightPortfolioMessages || (SharesightPortfolioMessages = {}));
10865
10869
 
10866
10870
  class BudgetRule extends BudgetRule$1 {
@@ -16973,7 +16977,7 @@ class SharesightPortfolioService extends RestService$1 {
16973
16977
  this.modelClass = SharesightPortfolio;
16974
16978
  this.collectionClass = Collection;
16975
16979
  this.endpointUri = 'sharesight-portfolios';
16976
- this.disabledMethods = ['put', 'putBatch'];
16980
+ this.disabledMethods = ['putBatch'];
16977
16981
  }
16978
16982
  getExternal() {
16979
16983
  return this.fetch(`${this.apiUrl}/external`, false);
@@ -20573,7 +20577,8 @@ const ENDPOINTS = {
20573
20577
  SHARESIGHT_RECONNECT: new Endpoint('PUT', '\\/sharesight-details/\\d+\\/reconnect'),
20574
20578
  SHARESIGHT_PORTFOLIO_GET: new Endpoint('GET', '\\/sharesight-portfolios'),
20575
20579
  SHARESIGHT_PORTFOLIO_EXTERNAL_GET: new Endpoint('GET', '\\/sharesight-portfolios/external'),
20576
- SHARESIGHT_PORTFOLIO_POST: new Endpoint('POST', '\\/sharesight-portfolios'),
20580
+ SHARESIGHT_PORTFOLIO_PUT: new Endpoint('PUT', '\\/sharesight-portfolios/\\d+'),
20581
+ SHARESIGHT_PORTFOLIO_BATCH_POST: new Endpoint('POST', '\\/sharesight-portfolios'),
20577
20582
  SHARESIGHT_PORTFOLIO_BATCH_DELETE: new Endpoint('DELETE', '\\/sharesight-portfolios'),
20578
20583
  VEHICLES_GET: new Endpoint('GET', '\\/vehicles'),
20579
20584
  VEHICLES_POST: new Endpoint('POST', '\\/vehicles'),