@robosystems/client 0.3.14 → 0.3.16
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/artifacts/InvestorClient.d.ts +35 -20
- package/artifacts/InvestorClient.js +78 -71
- package/artifacts/InvestorClient.ts +164 -141
- package/artifacts/graphql/generated/graphql.d.ts +133 -18
- package/artifacts/graphql/generated/graphql.js +65 -4
- package/artifacts/graphql/generated/graphql.ts +199 -21
- package/artifacts/graphql/queries/investor/portfolio_block.d.ts +10 -0
- package/artifacts/graphql/queries/investor/portfolio_block.js +60 -0
- package/artifacts/graphql/queries/investor/portfolio_block.ts +58 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +6 -9
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +11 -35
- package/sdk/sdk.gen.js +17 -68
- package/sdk/sdk.gen.ts +14 -65
- package/sdk/types.gen.d.ts +255 -363
- package/sdk/types.gen.ts +261 -381
- package/sdk.gen.d.ts +11 -35
- package/sdk.gen.js +17 -68
- package/sdk.gen.ts +14 -65
- package/types.gen.d.ts +255 -363
- package/types.gen.ts +261 -381
- package/artifacts/graphql/queries/investor/portfolio.d.ts +0 -4
- package/artifacts/graphql/queries/investor/portfolio.js +0 -21
- package/artifacts/graphql/queries/investor/portfolio.ts +0 -19
|
@@ -229,6 +229,37 @@ export type ElementList = {
|
|
|
229
229
|
elements: Array<Element>;
|
|
230
230
|
pagination: PaginationInfo;
|
|
231
231
|
};
|
|
232
|
+
export type EntityLite = {
|
|
233
|
+
id: Scalars['ID']['output'];
|
|
234
|
+
name: Scalars['String']['output'];
|
|
235
|
+
sourceGraphId: Maybe<Scalars['String']['output']>;
|
|
236
|
+
};
|
|
237
|
+
export type EventBlock = {
|
|
238
|
+
agentId: Maybe<Scalars['String']['output']>;
|
|
239
|
+
amount: Maybe<Scalars['Int']['output']>;
|
|
240
|
+
createdAt: Scalars['DateTime']['output'];
|
|
241
|
+
createdBy: Scalars['String']['output'];
|
|
242
|
+
currency: Scalars['String']['output'];
|
|
243
|
+
description: Maybe<Scalars['String']['output']>;
|
|
244
|
+
dimensionIds: Array<Scalars['String']['output']>;
|
|
245
|
+
dischargesEventId: Maybe<Scalars['String']['output']>;
|
|
246
|
+
effectiveAt: Maybe<Scalars['DateTime']['output']>;
|
|
247
|
+
eventCategory: Scalars['String']['output'];
|
|
248
|
+
eventClass: Scalars['String']['output'];
|
|
249
|
+
eventType: Scalars['String']['output'];
|
|
250
|
+
externalId: Maybe<Scalars['String']['output']>;
|
|
251
|
+
externalUrl: Maybe<Scalars['String']['output']>;
|
|
252
|
+
id: Scalars['String']['output'];
|
|
253
|
+
metadata: Scalars['JSON']['output'];
|
|
254
|
+
obligatedByEventId: Maybe<Scalars['String']['output']>;
|
|
255
|
+
occurredAt: Scalars['DateTime']['output'];
|
|
256
|
+
replacedByEventId: Maybe<Scalars['String']['output']>;
|
|
257
|
+
replacesEventId: Maybe<Scalars['String']['output']>;
|
|
258
|
+
resourceElementId: Maybe<Scalars['String']['output']>;
|
|
259
|
+
resourceType: Maybe<Scalars['String']['output']>;
|
|
260
|
+
source: Scalars['String']['output'];
|
|
261
|
+
status: Scalars['String']['output'];
|
|
262
|
+
};
|
|
232
263
|
export type FactRow = {
|
|
233
264
|
depth: Scalars['Int']['output'];
|
|
234
265
|
elementId: Scalars['String']['output'];
|
|
@@ -750,6 +781,21 @@ export type Portfolio = {
|
|
|
750
781
|
strategy: Maybe<Scalars['String']['output']>;
|
|
751
782
|
updatedAt: Scalars['DateTime']['output'];
|
|
752
783
|
};
|
|
784
|
+
export type PortfolioBlock = {
|
|
785
|
+
activePositionCount: Scalars['Int']['output'];
|
|
786
|
+
baseCurrency: Scalars['String']['output'];
|
|
787
|
+
createdAt: Scalars['DateTime']['output'];
|
|
788
|
+
description: Maybe<Scalars['String']['output']>;
|
|
789
|
+
id: Scalars['ID']['output'];
|
|
790
|
+
inceptionDate: Maybe<Scalars['Date']['output']>;
|
|
791
|
+
name: Scalars['String']['output'];
|
|
792
|
+
owner: Maybe<EntityLite>;
|
|
793
|
+
positions: Array<PositionBlock>;
|
|
794
|
+
strategy: Maybe<Scalars['String']['output']>;
|
|
795
|
+
totalCostBasisDollars: Scalars['Float']['output'];
|
|
796
|
+
totalCurrentValueDollars: Maybe<Scalars['Float']['output']>;
|
|
797
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
798
|
+
};
|
|
753
799
|
export type PortfolioList = {
|
|
754
800
|
pagination: PaginationInfo;
|
|
755
801
|
portfolios: Array<Portfolio>;
|
|
@@ -776,6 +822,19 @@ export type Position = {
|
|
|
776
822
|
valuationDate: Maybe<Scalars['Date']['output']>;
|
|
777
823
|
valuationSource: Maybe<Scalars['String']['output']>;
|
|
778
824
|
};
|
|
825
|
+
export type PositionBlock = {
|
|
826
|
+
acquisitionDate: Maybe<Scalars['Date']['output']>;
|
|
827
|
+
costBasisDollars: Scalars['Float']['output'];
|
|
828
|
+
currentValueDollars: Maybe<Scalars['Float']['output']>;
|
|
829
|
+
id: Scalars['ID']['output'];
|
|
830
|
+
notes: Maybe<Scalars['String']['output']>;
|
|
831
|
+
quantity: Scalars['Float']['output'];
|
|
832
|
+
quantityType: Scalars['String']['output'];
|
|
833
|
+
security: SecurityLite;
|
|
834
|
+
status: Scalars['String']['output'];
|
|
835
|
+
valuationDate: Maybe<Scalars['Date']['output']>;
|
|
836
|
+
valuationSource: Maybe<Scalars['String']['output']>;
|
|
837
|
+
};
|
|
779
838
|
export type PositionList = {
|
|
780
839
|
pagination: PaginationInfo;
|
|
781
840
|
positions: Array<Position>;
|
|
@@ -821,6 +880,8 @@ export type Query = {
|
|
|
821
880
|
elements: Maybe<ElementList>;
|
|
822
881
|
entities: Array<LedgerEntity>;
|
|
823
882
|
entity: Maybe<LedgerEntity>;
|
|
883
|
+
eventBlock: Maybe<EventBlock>;
|
|
884
|
+
eventBlocks: Array<EventBlock>;
|
|
824
885
|
fiscalCalendar: Maybe<FiscalCalendar>;
|
|
825
886
|
hello: Scalars['String']['output'];
|
|
826
887
|
holdings: Maybe<HoldingsList>;
|
|
@@ -844,7 +905,7 @@ export type Query = {
|
|
|
844
905
|
mappings: Maybe<StructureList>;
|
|
845
906
|
periodCloseStatus: Maybe<PeriodCloseStatus>;
|
|
846
907
|
periodDrafts: Maybe<PeriodDrafts>;
|
|
847
|
-
|
|
908
|
+
portfolioBlock: Maybe<PortfolioBlock>;
|
|
848
909
|
portfolios: Maybe<PortfolioList>;
|
|
849
910
|
position: Maybe<Position>;
|
|
850
911
|
positions: Maybe<PositionList>;
|
|
@@ -900,6 +961,18 @@ export type QueryElementsArgs = {
|
|
|
900
961
|
export type QueryEntitiesArgs = {
|
|
901
962
|
source?: InputMaybe<Scalars['String']['input']>;
|
|
902
963
|
};
|
|
964
|
+
export type QueryEventBlockArgs = {
|
|
965
|
+
id: Scalars['String']['input'];
|
|
966
|
+
};
|
|
967
|
+
export type QueryEventBlocksArgs = {
|
|
968
|
+
agentId?: InputMaybe<Scalars['String']['input']>;
|
|
969
|
+
eventCategory?: InputMaybe<Scalars['String']['input']>;
|
|
970
|
+
eventType?: InputMaybe<Scalars['String']['input']>;
|
|
971
|
+
limit?: Scalars['Int']['input'];
|
|
972
|
+
offset?: Scalars['Int']['input'];
|
|
973
|
+
source?: InputMaybe<Scalars['String']['input']>;
|
|
974
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
975
|
+
};
|
|
903
976
|
export type QueryHoldingsArgs = {
|
|
904
977
|
portfolioId: Scalars['String']['input'];
|
|
905
978
|
};
|
|
@@ -986,7 +1059,7 @@ export type QueryPeriodCloseStatusArgs = {
|
|
|
986
1059
|
export type QueryPeriodDraftsArgs = {
|
|
987
1060
|
period: Scalars['String']['input'];
|
|
988
1061
|
};
|
|
989
|
-
export type
|
|
1062
|
+
export type QueryPortfolioBlockArgs = {
|
|
990
1063
|
portfolioId: Scalars['String']['input'];
|
|
991
1064
|
};
|
|
992
1065
|
export type QueryPortfoliosArgs = {
|
|
@@ -1100,22 +1173,22 @@ export type ReportList = {
|
|
|
1100
1173
|
};
|
|
1101
1174
|
export type ReportPackage = {
|
|
1102
1175
|
aiGenerated: Scalars['Boolean']['output'];
|
|
1103
|
-
createdAt: Scalars['
|
|
1176
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1104
1177
|
createdBy: Scalars['String']['output'];
|
|
1105
1178
|
description: Maybe<Scalars['String']['output']>;
|
|
1106
1179
|
entityName: Maybe<Scalars['String']['output']>;
|
|
1107
|
-
filedAt: Maybe<Scalars['
|
|
1180
|
+
filedAt: Maybe<Scalars['DateTime']['output']>;
|
|
1108
1181
|
filedBy: Maybe<Scalars['String']['output']>;
|
|
1109
1182
|
filingStatus: Scalars['String']['output'];
|
|
1110
1183
|
generationStatus: Scalars['String']['output'];
|
|
1111
1184
|
id: Scalars['ID']['output'];
|
|
1112
1185
|
items: Array<ReportPackageItem>;
|
|
1113
|
-
lastGenerated: Maybe<Scalars['
|
|
1186
|
+
lastGenerated: Maybe<Scalars['DateTime']['output']>;
|
|
1114
1187
|
name: Scalars['String']['output'];
|
|
1115
|
-
periodEnd: Maybe<Scalars['
|
|
1116
|
-
periodStart: Maybe<Scalars['
|
|
1188
|
+
periodEnd: Maybe<Scalars['Date']['output']>;
|
|
1189
|
+
periodStart: Maybe<Scalars['Date']['output']>;
|
|
1117
1190
|
periodType: Scalars['String']['output'];
|
|
1118
|
-
sharedAt: Maybe<Scalars['
|
|
1191
|
+
sharedAt: Maybe<Scalars['DateTime']['output']>;
|
|
1119
1192
|
sourceGraphId: Maybe<Scalars['String']['output']>;
|
|
1120
1193
|
sourceReportId: Maybe<Scalars['String']['output']>;
|
|
1121
1194
|
supersededById: Maybe<Scalars['String']['output']>;
|
|
@@ -1147,6 +1220,15 @@ export type SecurityList = {
|
|
|
1147
1220
|
pagination: PaginationInfo;
|
|
1148
1221
|
securities: Array<Security>;
|
|
1149
1222
|
};
|
|
1223
|
+
export type SecurityLite = {
|
|
1224
|
+
id: Scalars['ID']['output'];
|
|
1225
|
+
isActive: Scalars['Boolean']['output'];
|
|
1226
|
+
issuer: Maybe<EntityLite>;
|
|
1227
|
+
name: Scalars['String']['output'];
|
|
1228
|
+
securitySubtype: Maybe<Scalars['String']['output']>;
|
|
1229
|
+
securityType: Scalars['String']['output'];
|
|
1230
|
+
sourceGraphId: Maybe<Scalars['String']['output']>;
|
|
1231
|
+
};
|
|
1150
1232
|
export type Statement = {
|
|
1151
1233
|
periods: Array<PeriodSpec>;
|
|
1152
1234
|
reportId: Scalars['String']['output'];
|
|
@@ -1314,19 +1396,52 @@ export type GetInvestorHoldingsQuery = {
|
|
|
1314
1396
|
}>;
|
|
1315
1397
|
} | null;
|
|
1316
1398
|
};
|
|
1317
|
-
export type
|
|
1399
|
+
export type GetInvestorPortfolioBlockQueryVariables = Exact<{
|
|
1318
1400
|
portfolioId: Scalars['String']['input'];
|
|
1319
1401
|
}>;
|
|
1320
|
-
export type
|
|
1321
|
-
|
|
1402
|
+
export type GetInvestorPortfolioBlockQuery = {
|
|
1403
|
+
portfolioBlock: {
|
|
1322
1404
|
id: string;
|
|
1323
1405
|
name: string;
|
|
1324
1406
|
description: string | null;
|
|
1325
1407
|
strategy: string | null;
|
|
1326
1408
|
inceptionDate: any | null;
|
|
1327
1409
|
baseCurrency: string;
|
|
1410
|
+
totalCostBasisDollars: number;
|
|
1411
|
+
totalCurrentValueDollars: number | null;
|
|
1412
|
+
activePositionCount: number;
|
|
1328
1413
|
createdAt: any;
|
|
1329
1414
|
updatedAt: any;
|
|
1415
|
+
owner: {
|
|
1416
|
+
id: string;
|
|
1417
|
+
name: string;
|
|
1418
|
+
sourceGraphId: string | null;
|
|
1419
|
+
} | null;
|
|
1420
|
+
positions: Array<{
|
|
1421
|
+
id: string;
|
|
1422
|
+
quantity: number;
|
|
1423
|
+
quantityType: string;
|
|
1424
|
+
costBasisDollars: number;
|
|
1425
|
+
currentValueDollars: number | null;
|
|
1426
|
+
valuationDate: any | null;
|
|
1427
|
+
valuationSource: string | null;
|
|
1428
|
+
acquisitionDate: any | null;
|
|
1429
|
+
status: string;
|
|
1430
|
+
notes: string | null;
|
|
1431
|
+
security: {
|
|
1432
|
+
id: string;
|
|
1433
|
+
name: string;
|
|
1434
|
+
securityType: string;
|
|
1435
|
+
securitySubtype: string | null;
|
|
1436
|
+
isActive: boolean;
|
|
1437
|
+
sourceGraphId: string | null;
|
|
1438
|
+
issuer: {
|
|
1439
|
+
id: string;
|
|
1440
|
+
name: string;
|
|
1441
|
+
sourceGraphId: string | null;
|
|
1442
|
+
} | null;
|
|
1443
|
+
};
|
|
1444
|
+
}>;
|
|
1330
1445
|
} | null;
|
|
1331
1446
|
};
|
|
1332
1447
|
export type ListInvestorPortfoliosQueryVariables = Exact<{
|
|
@@ -2169,21 +2284,21 @@ export type GetLedgerReportPackageQuery = {
|
|
|
2169
2284
|
description: string | null;
|
|
2170
2285
|
taxonomyId: string;
|
|
2171
2286
|
periodType: string;
|
|
2172
|
-
periodStart:
|
|
2173
|
-
periodEnd:
|
|
2287
|
+
periodStart: any | null;
|
|
2288
|
+
periodEnd: any | null;
|
|
2174
2289
|
generationStatus: string;
|
|
2175
|
-
lastGenerated:
|
|
2290
|
+
lastGenerated: any | null;
|
|
2176
2291
|
filingStatus: string;
|
|
2177
|
-
filedAt:
|
|
2292
|
+
filedAt: any | null;
|
|
2178
2293
|
filedBy: string | null;
|
|
2179
2294
|
supersedesId: string | null;
|
|
2180
2295
|
supersededById: string | null;
|
|
2181
2296
|
sourceGraphId: string | null;
|
|
2182
2297
|
sourceReportId: string | null;
|
|
2183
|
-
sharedAt:
|
|
2298
|
+
sharedAt: any | null;
|
|
2184
2299
|
entityName: string | null;
|
|
2185
2300
|
aiGenerated: boolean;
|
|
2186
|
-
createdAt:
|
|
2301
|
+
createdAt: any;
|
|
2187
2302
|
createdBy: string;
|
|
2188
2303
|
items: Array<{
|
|
2189
2304
|
factSetId: string;
|
|
@@ -2771,7 +2886,7 @@ export type GetLibraryTaxonomyQuery = {
|
|
|
2771
2886
|
} | null;
|
|
2772
2887
|
};
|
|
2773
2888
|
export declare const GetInvestorHoldingsDocument: DocumentNode<GetInvestorHoldingsQuery, GetInvestorHoldingsQueryVariables>;
|
|
2774
|
-
export declare const
|
|
2889
|
+
export declare const GetInvestorPortfolioBlockDocument: DocumentNode<GetInvestorPortfolioBlockQuery, GetInvestorPortfolioBlockQueryVariables>;
|
|
2775
2890
|
export declare const ListInvestorPortfoliosDocument: DocumentNode<ListInvestorPortfoliosQuery, ListInvestorPortfoliosQueryVariables>;
|
|
2776
2891
|
export declare const GetInvestorPositionDocument: DocumentNode<GetInvestorPositionQuery, GetInvestorPositionQueryVariables>;
|
|
2777
2892
|
export declare const ListInvestorPositionsDocument: DocumentNode<ListInvestorPositionsQuery, ListInvestorPositionsQueryVariables>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetLibraryTaxonomyDocument = exports.ListLibraryTaxonomiesDocument = exports.GetLibraryElementDocument = exports.SearchLibraryElementsDocument = exports.ListLibraryElementsDocument = exports.GetLibraryElementEquivalentsDocument = exports.GetLibraryElementClassificationsDocument = exports.GetLibraryElementArcsDocument = exports.ListLibraryTaxonomyArcsDocument = exports.ListLedgerUnmappedElementsDocument = exports.GetLedgerTrialBalanceDocument = exports.ListLedgerTransactionsDocument = exports.GetLedgerTransactionDocument = exports.ListLedgerTaxonomiesDocument = exports.GetLedgerSummaryDocument = exports.ListLedgerStructuresDocument = exports.GetLedgerStatementDocument = exports.ListLedgerReportsDocument = exports.GetLedgerReportingTaxonomyDocument = exports.GetLedgerReportPackageDocument = exports.GetLedgerReportDocument = exports.ListLedgerPublishListsDocument = exports.GetLedgerPublishListDocument = exports.GetLedgerPeriodDraftsDocument = exports.GetLedgerPeriodCloseStatusDocument = exports.ListLedgerMappingsDocument = exports.GetLedgerMappingCoverageDocument = exports.GetLedgerMappingDocument = exports.GetLedgerMappedTrialBalanceDocument = exports.ListInformationBlocksDocument = exports.GetInformationBlockDocument = exports.GetLedgerFiscalCalendarDocument = exports.GetLedgerEntityDocument = exports.ListLedgerEntitiesDocument = exports.ListLedgerElementsDocument = exports.GetLedgerClosingBookStructuresDocument = exports.ListLedgerAccountsDocument = exports.GetLedgerAccountTreeDocument = exports.GetLedgerAccountRollupsDocument = exports.GetInvestorSecurityDocument = exports.ListInvestorSecuritiesDocument = exports.ListInvestorPositionsDocument = exports.GetInvestorPositionDocument = exports.ListInvestorPortfoliosDocument = exports.
|
|
3
|
+
exports.GetLibraryTaxonomyDocument = exports.ListLibraryTaxonomiesDocument = exports.GetLibraryElementDocument = exports.SearchLibraryElementsDocument = exports.ListLibraryElementsDocument = exports.GetLibraryElementEquivalentsDocument = exports.GetLibraryElementClassificationsDocument = exports.GetLibraryElementArcsDocument = exports.ListLibraryTaxonomyArcsDocument = exports.ListLedgerUnmappedElementsDocument = exports.GetLedgerTrialBalanceDocument = exports.ListLedgerTransactionsDocument = exports.GetLedgerTransactionDocument = exports.ListLedgerTaxonomiesDocument = exports.GetLedgerSummaryDocument = exports.ListLedgerStructuresDocument = exports.GetLedgerStatementDocument = exports.ListLedgerReportsDocument = exports.GetLedgerReportingTaxonomyDocument = exports.GetLedgerReportPackageDocument = exports.GetLedgerReportDocument = exports.ListLedgerPublishListsDocument = exports.GetLedgerPublishListDocument = exports.GetLedgerPeriodDraftsDocument = exports.GetLedgerPeriodCloseStatusDocument = exports.ListLedgerMappingsDocument = exports.GetLedgerMappingCoverageDocument = exports.GetLedgerMappingDocument = exports.GetLedgerMappedTrialBalanceDocument = exports.ListInformationBlocksDocument = exports.GetInformationBlockDocument = exports.GetLedgerFiscalCalendarDocument = exports.GetLedgerEntityDocument = exports.ListLedgerEntitiesDocument = exports.ListLedgerElementsDocument = exports.GetLedgerClosingBookStructuresDocument = exports.ListLedgerAccountsDocument = exports.GetLedgerAccountTreeDocument = exports.GetLedgerAccountRollupsDocument = exports.GetInvestorSecurityDocument = exports.ListInvestorSecuritiesDocument = exports.ListInvestorPositionsDocument = exports.GetInvestorPositionDocument = exports.ListInvestorPortfoliosDocument = exports.GetInvestorPortfolioBlockDocument = exports.GetInvestorHoldingsDocument = void 0;
|
|
4
4
|
exports.GetInvestorHoldingsDocument = {
|
|
5
5
|
kind: 'Document',
|
|
6
6
|
definitions: [
|
|
@@ -75,13 +75,13 @@ exports.GetInvestorHoldingsDocument = {
|
|
|
75
75
|
},
|
|
76
76
|
],
|
|
77
77
|
};
|
|
78
|
-
exports.
|
|
78
|
+
exports.GetInvestorPortfolioBlockDocument = {
|
|
79
79
|
kind: 'Document',
|
|
80
80
|
definitions: [
|
|
81
81
|
{
|
|
82
82
|
kind: 'OperationDefinition',
|
|
83
83
|
operation: 'query',
|
|
84
|
-
name: { kind: 'Name', value: '
|
|
84
|
+
name: { kind: 'Name', value: 'GetInvestorPortfolioBlock' },
|
|
85
85
|
variableDefinitions: [
|
|
86
86
|
{
|
|
87
87
|
kind: 'VariableDefinition',
|
|
@@ -97,7 +97,7 @@ exports.GetInvestorPortfolioDocument = {
|
|
|
97
97
|
selections: [
|
|
98
98
|
{
|
|
99
99
|
kind: 'Field',
|
|
100
|
-
name: { kind: 'Name', value: '
|
|
100
|
+
name: { kind: 'Name', value: 'portfolioBlock' },
|
|
101
101
|
arguments: [
|
|
102
102
|
{
|
|
103
103
|
kind: 'Argument',
|
|
@@ -114,6 +114,67 @@ exports.GetInvestorPortfolioDocument = {
|
|
|
114
114
|
{ kind: 'Field', name: { kind: 'Name', value: 'strategy' } },
|
|
115
115
|
{ kind: 'Field', name: { kind: 'Name', value: 'inceptionDate' } },
|
|
116
116
|
{ kind: 'Field', name: { kind: 'Name', value: 'baseCurrency' } },
|
|
117
|
+
{
|
|
118
|
+
kind: 'Field',
|
|
119
|
+
name: { kind: 'Name', value: 'owner' },
|
|
120
|
+
selectionSet: {
|
|
121
|
+
kind: 'SelectionSet',
|
|
122
|
+
selections: [
|
|
123
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
124
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
125
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
kind: 'Field',
|
|
131
|
+
name: { kind: 'Name', value: 'positions' },
|
|
132
|
+
selectionSet: {
|
|
133
|
+
kind: 'SelectionSet',
|
|
134
|
+
selections: [
|
|
135
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
136
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'quantity' } },
|
|
137
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'quantityType' } },
|
|
138
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'costBasisDollars' } },
|
|
139
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'currentValueDollars' } },
|
|
140
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'valuationDate' } },
|
|
141
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'valuationSource' } },
|
|
142
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'acquisitionDate' } },
|
|
143
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
144
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'notes' } },
|
|
145
|
+
{
|
|
146
|
+
kind: 'Field',
|
|
147
|
+
name: { kind: 'Name', value: 'security' },
|
|
148
|
+
selectionSet: {
|
|
149
|
+
kind: 'SelectionSet',
|
|
150
|
+
selections: [
|
|
151
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
152
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
153
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'securityType' } },
|
|
154
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'securitySubtype' } },
|
|
155
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
156
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
157
|
+
{
|
|
158
|
+
kind: 'Field',
|
|
159
|
+
name: { kind: 'Name', value: 'issuer' },
|
|
160
|
+
selectionSet: {
|
|
161
|
+
kind: 'SelectionSet',
|
|
162
|
+
selections: [
|
|
163
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
164
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
165
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
166
|
+
],
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'totalCostBasisDollars' } },
|
|
176
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'totalCurrentValueDollars' } },
|
|
177
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'activePositionCount' } },
|
|
117
178
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
118
179
|
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
119
180
|
],
|