taxtank-core 1.0.11 → 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.
- package/fesm2022/taxtank-core.mjs +96 -52
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/collection.d.ts +1 -0
- package/src/lib/models/client/index.d.ts +0 -1
- package/src/lib/models/index.d.ts +1 -0
- package/src/lib/models/{client/sharesight → sharesight}/index.d.ts +1 -0
- package/src/lib/models/{client/sharesight → sharesight}/sharesight-details-messages.enum.d.ts +1 -1
- package/src/lib/models/{client/sharesight → sharesight}/sharesight-details.d.ts +2 -2
- package/src/lib/models/{client/sharesight → sharesight}/sharesight-details.interface.d.ts +1 -1
- package/src/lib/models/sharesight/sharesight-portfolio/index.d.ts +3 -0
- package/src/lib/models/sharesight/sharesight-portfolio/sharesight-portfolio.d.ts +9 -0
- package/src/lib/models/sharesight/sharesight-portfolio/sharesight-portfolio.interface.d.ts +7 -0
- package/src/lib/models/sharesight/sharesight-portfolio/sharesight-portfolio.messages.d.ts +3 -0
- package/src/lib/services/http/client/index.d.ts +0 -1
- package/src/lib/services/http/index.d.ts +1 -0
- package/src/lib/services/http/sharesight/index.d.ts +2 -0
- package/src/lib/services/http/sharesight/sharesight-portfolio.service.d.ts +14 -0
- /package/src/lib/services/http/{client → sharesight}/sharesight-details.service.d.ts +0 -0
package/package.json
CHANGED
@@ -47,6 +47,7 @@ export declare class Collection<Model extends object> implements Iterable<Model>
|
|
47
47
|
*/
|
48
48
|
unshift(...items: Model[]): this;
|
49
49
|
remove(items: Model[], path?: string): this;
|
50
|
+
toggle(item: Model, path?: string): this;
|
50
51
|
/**
|
51
52
|
* @TODO it's filter, not remove
|
52
53
|
*/
|
package/src/lib/models/{client/sharesight → sharesight}/sharesight-details-messages.enum.d.ts
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare enum SharesightDetailsMessagesEnum {
|
2
|
-
HOLDING_CONNECTED = "We're
|
2
|
+
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.",
|
3
3
|
PROPERTY_CONNECTED = "We're syncing your properties, which might take a few minutes.",
|
4
4
|
DISCONNECTED = "Sharesight disconnected",
|
5
5
|
DISCONNECT_CONFIRM = "Disconnecting ShareSight means we can no longer sync data. Any trades already imported will become editable in TaxTank.",
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { AbstractModel } from '
|
2
|
-
import { ClientDetails } from '../client
|
1
|
+
import { AbstractModel } from '../../db/Models';
|
2
|
+
import { ClientDetails } from '../client';
|
3
3
|
import { SharesightDetailsInterface } from './sharesight-details.interface';
|
4
4
|
export declare class SharesightDetails extends AbstractModel implements SharesightDetailsInterface {
|
5
5
|
clientDetails: ClientDetails;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { SharesightPortfolioInterface } from './sharesight-portfolio.interface';
|
2
|
+
import { SharesightDetails } from '../sharesight-details';
|
3
|
+
import { AbstractModel } from '../../../db/Models';
|
4
|
+
export declare class SharesightPortfolio extends AbstractModel implements SharesightPortfolioInterface {
|
5
|
+
sharesightDetails: SharesightDetails;
|
6
|
+
name: string;
|
7
|
+
externalId: string;
|
8
|
+
isTaxFree: boolean;
|
9
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { RestMethod, RestService } from '../rest';
|
2
|
+
import { Collection } from '../../../collections';
|
3
|
+
import { SharesightPortfolio, SharesightPortfolioInterface } from '../../../models';
|
4
|
+
import { Observable } from 'rxjs';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class SharesightPortfolioService extends RestService<SharesightPortfolioInterface, SharesightPortfolio, Collection<SharesightPortfolio>> {
|
7
|
+
modelClass: typeof SharesightPortfolio;
|
8
|
+
collectionClass: typeof Collection;
|
9
|
+
endpointUri: string;
|
10
|
+
disabledMethods: RestMethod[];
|
11
|
+
getExternal(): Observable<Collection<SharesightPortfolio>>;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharesightPortfolioService, never>;
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SharesightPortfolioService>;
|
14
|
+
}
|
File without changes
|