@robosystems/client 0.2.40 → 0.2.41

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.
@@ -1528,6 +1528,80 @@ export type CreateGraphRequest = {
1528
1528
  */
1529
1529
  tags?: Array<string>;
1530
1530
  };
1531
+ /**
1532
+ * CreatePortfolioRequest
1533
+ */
1534
+ export type CreatePortfolioRequest = {
1535
+ /**
1536
+ * Name
1537
+ */
1538
+ name: string;
1539
+ /**
1540
+ * Description
1541
+ */
1542
+ description?: string | null;
1543
+ /**
1544
+ * Strategy
1545
+ */
1546
+ strategy?: string | null;
1547
+ /**
1548
+ * Inception Date
1549
+ */
1550
+ inception_date?: string | null;
1551
+ /**
1552
+ * Base Currency
1553
+ */
1554
+ base_currency?: string;
1555
+ };
1556
+ /**
1557
+ * CreatePositionRequest
1558
+ */
1559
+ export type CreatePositionRequest = {
1560
+ /**
1561
+ * Portfolio Id
1562
+ */
1563
+ portfolio_id: string;
1564
+ /**
1565
+ * Security Id
1566
+ */
1567
+ security_id: string;
1568
+ /**
1569
+ * Quantity
1570
+ */
1571
+ quantity: number;
1572
+ /**
1573
+ * Quantity Type
1574
+ */
1575
+ quantity_type?: string;
1576
+ /**
1577
+ * Cost Basis
1578
+ */
1579
+ cost_basis?: number;
1580
+ /**
1581
+ * Currency
1582
+ */
1583
+ currency?: string;
1584
+ /**
1585
+ * Current Value
1586
+ */
1587
+ current_value?: number | null;
1588
+ /**
1589
+ * Valuation Date
1590
+ */
1591
+ valuation_date?: string | null;
1592
+ /**
1593
+ * Valuation Source
1594
+ */
1595
+ valuation_source?: string | null;
1596
+ /**
1597
+ * Acquisition Date
1598
+ */
1599
+ acquisition_date?: string | null;
1600
+ /**
1601
+ * Notes
1602
+ */
1603
+ notes?: string | null;
1604
+ };
1531
1605
  /**
1532
1606
  * CreateReportRequest
1533
1607
  */
@@ -1588,6 +1662,45 @@ export type CreateRepositorySubscriptionRequest = {
1588
1662
  */
1589
1663
  plan_name: string;
1590
1664
  };
1665
+ /**
1666
+ * CreateSecurityRequest
1667
+ */
1668
+ export type CreateSecurityRequest = {
1669
+ /**
1670
+ * Entity Id
1671
+ */
1672
+ entity_id?: string | null;
1673
+ /**
1674
+ * Source Graph Id
1675
+ */
1676
+ source_graph_id?: string | null;
1677
+ /**
1678
+ * Name
1679
+ */
1680
+ name: string;
1681
+ /**
1682
+ * Security Type
1683
+ */
1684
+ security_type: string;
1685
+ /**
1686
+ * Security Subtype
1687
+ */
1688
+ security_subtype?: string | null;
1689
+ /**
1690
+ * Terms
1691
+ */
1692
+ terms?: {
1693
+ [key: string]: unknown;
1694
+ };
1695
+ /**
1696
+ * Authorized Shares
1697
+ */
1698
+ authorized_shares?: number | null;
1699
+ /**
1700
+ * Outstanding Shares
1701
+ */
1702
+ outstanding_shares?: number | null;
1703
+ };
1591
1704
  /**
1592
1705
  * CreateStructureRequest
1593
1706
  */
@@ -3807,6 +3920,89 @@ export type HealthStatus = {
3807
3920
  [key: string]: unknown;
3808
3921
  } | null;
3809
3922
  };
3923
+ /**
3924
+ * HoldingResponse
3925
+ */
3926
+ export type HoldingResponse = {
3927
+ /**
3928
+ * Entity Id
3929
+ */
3930
+ entity_id: string;
3931
+ /**
3932
+ * Entity Name
3933
+ */
3934
+ entity_name: string;
3935
+ /**
3936
+ * Source Graph Id
3937
+ */
3938
+ source_graph_id?: string | null;
3939
+ /**
3940
+ * Securities
3941
+ */
3942
+ securities: Array<HoldingSecuritySummary>;
3943
+ /**
3944
+ * Total Cost Basis Dollars
3945
+ */
3946
+ total_cost_basis_dollars: number;
3947
+ /**
3948
+ * Total Current Value Dollars
3949
+ */
3950
+ total_current_value_dollars?: number | null;
3951
+ /**
3952
+ * Position Count
3953
+ */
3954
+ position_count: number;
3955
+ };
3956
+ /**
3957
+ * HoldingSecuritySummary
3958
+ */
3959
+ export type HoldingSecuritySummary = {
3960
+ /**
3961
+ * Security Id
3962
+ */
3963
+ security_id: string;
3964
+ /**
3965
+ * Security Name
3966
+ */
3967
+ security_name: string;
3968
+ /**
3969
+ * Security Type
3970
+ */
3971
+ security_type: string;
3972
+ /**
3973
+ * Quantity
3974
+ */
3975
+ quantity: number;
3976
+ /**
3977
+ * Quantity Type
3978
+ */
3979
+ quantity_type: string;
3980
+ /**
3981
+ * Cost Basis Dollars
3982
+ */
3983
+ cost_basis_dollars: number;
3984
+ /**
3985
+ * Current Value Dollars
3986
+ */
3987
+ current_value_dollars?: number | null;
3988
+ };
3989
+ /**
3990
+ * HoldingsListResponse
3991
+ */
3992
+ export type HoldingsListResponse = {
3993
+ /**
3994
+ * Holdings
3995
+ */
3996
+ holdings: Array<HoldingResponse>;
3997
+ /**
3998
+ * Total Entities
3999
+ */
4000
+ total_entities: number;
4001
+ /**
4002
+ * Total Positions
4003
+ */
4004
+ total_positions: number;
4005
+ };
3810
4006
  /**
3811
4007
  * InitialEntityData
3812
4008
  *
@@ -5410,6 +5606,148 @@ export type PortalSessionResponse = {
5410
5606
  */
5411
5607
  portal_url: string;
5412
5608
  };
5609
+ /**
5610
+ * PortfolioListResponse
5611
+ */
5612
+ export type PortfolioListResponse = {
5613
+ /**
5614
+ * Portfolios
5615
+ */
5616
+ portfolios: Array<PortfolioResponse>;
5617
+ pagination: PaginationInfo;
5618
+ };
5619
+ /**
5620
+ * PortfolioResponse
5621
+ */
5622
+ export type PortfolioResponse = {
5623
+ /**
5624
+ * Id
5625
+ */
5626
+ id: string;
5627
+ /**
5628
+ * Name
5629
+ */
5630
+ name: string;
5631
+ /**
5632
+ * Description
5633
+ */
5634
+ description?: string | null;
5635
+ /**
5636
+ * Strategy
5637
+ */
5638
+ strategy?: string | null;
5639
+ /**
5640
+ * Inception Date
5641
+ */
5642
+ inception_date?: string | null;
5643
+ /**
5644
+ * Base Currency
5645
+ */
5646
+ base_currency: string;
5647
+ /**
5648
+ * Created At
5649
+ */
5650
+ created_at: string;
5651
+ /**
5652
+ * Updated At
5653
+ */
5654
+ updated_at: string;
5655
+ };
5656
+ /**
5657
+ * PositionListResponse
5658
+ */
5659
+ export type PositionListResponse = {
5660
+ /**
5661
+ * Positions
5662
+ */
5663
+ positions: Array<PositionResponse>;
5664
+ pagination: PaginationInfo;
5665
+ };
5666
+ /**
5667
+ * PositionResponse
5668
+ */
5669
+ export type PositionResponse = {
5670
+ /**
5671
+ * Id
5672
+ */
5673
+ id: string;
5674
+ /**
5675
+ * Portfolio Id
5676
+ */
5677
+ portfolio_id: string;
5678
+ /**
5679
+ * Security Id
5680
+ */
5681
+ security_id: string;
5682
+ /**
5683
+ * Security Name
5684
+ */
5685
+ security_name?: string | null;
5686
+ /**
5687
+ * Entity Name
5688
+ */
5689
+ entity_name?: string | null;
5690
+ /**
5691
+ * Quantity
5692
+ */
5693
+ quantity: number;
5694
+ /**
5695
+ * Quantity Type
5696
+ */
5697
+ quantity_type: string;
5698
+ /**
5699
+ * Cost Basis
5700
+ */
5701
+ cost_basis: number;
5702
+ /**
5703
+ * Cost Basis Dollars
5704
+ */
5705
+ cost_basis_dollars: number;
5706
+ /**
5707
+ * Currency
5708
+ */
5709
+ currency: string;
5710
+ /**
5711
+ * Current Value
5712
+ */
5713
+ current_value?: number | null;
5714
+ /**
5715
+ * Current Value Dollars
5716
+ */
5717
+ current_value_dollars?: number | null;
5718
+ /**
5719
+ * Valuation Date
5720
+ */
5721
+ valuation_date?: string | null;
5722
+ /**
5723
+ * Valuation Source
5724
+ */
5725
+ valuation_source?: string | null;
5726
+ /**
5727
+ * Acquisition Date
5728
+ */
5729
+ acquisition_date?: string | null;
5730
+ /**
5731
+ * Disposition Date
5732
+ */
5733
+ disposition_date?: string | null;
5734
+ /**
5735
+ * Status
5736
+ */
5737
+ status: string;
5738
+ /**
5739
+ * Notes
5740
+ */
5741
+ notes?: string | null;
5742
+ /**
5743
+ * Created At
5744
+ */
5745
+ created_at: string;
5746
+ /**
5747
+ * Updated At
5748
+ */
5749
+ updated_at: string;
5750
+ };
5413
5751
  /**
5414
5752
  * QueryLimits
5415
5753
  *
@@ -6150,39 +6488,104 @@ export type SearchResponse = {
6150
6488
  graph_id: string;
6151
6489
  };
6152
6490
  /**
6153
- * SelectionCriteria
6154
- *
6155
- * Criteria for agent selection.
6491
+ * SecurityListResponse
6156
6492
  */
6157
- export type SelectionCriteria = {
6493
+ export type SecurityListResponse = {
6158
6494
  /**
6159
- * Min Confidence
6160
- *
6161
- * Minimum confidence score
6495
+ * Securities
6162
6496
  */
6163
- min_confidence?: number;
6497
+ securities: Array<SecurityResponse>;
6498
+ pagination: PaginationInfo;
6499
+ };
6500
+ /**
6501
+ * SecurityResponse
6502
+ */
6503
+ export type SecurityResponse = {
6164
6504
  /**
6165
- * Required Capabilities
6166
- *
6167
- * Required agent capabilities
6505
+ * Id
6168
6506
  */
6169
- required_capabilities?: Array<string>;
6507
+ id: string;
6170
6508
  /**
6171
- * Preferred execution mode
6509
+ * Entity Id
6172
6510
  */
6173
- preferred_mode?: AgentMode | null;
6511
+ entity_id?: string | null;
6174
6512
  /**
6175
- * Max Response Time
6176
- *
6177
- * Maximum response time in seconds
6513
+ * Entity Name
6178
6514
  */
6179
- max_response_time?: number;
6515
+ entity_name?: string | null;
6180
6516
  /**
6181
- * Excluded Agents
6182
- *
6183
- * Agents to exclude from selection
6517
+ * Name
6184
6518
  */
6185
- excluded_agents?: Array<string>;
6519
+ name: string;
6520
+ /**
6521
+ * Security Type
6522
+ */
6523
+ security_type: string;
6524
+ /**
6525
+ * Security Subtype
6526
+ */
6527
+ security_subtype?: string | null;
6528
+ /**
6529
+ * Terms
6530
+ */
6531
+ terms: {
6532
+ [key: string]: unknown;
6533
+ };
6534
+ /**
6535
+ * Is Active
6536
+ */
6537
+ is_active: boolean;
6538
+ /**
6539
+ * Authorized Shares
6540
+ */
6541
+ authorized_shares?: number | null;
6542
+ /**
6543
+ * Outstanding Shares
6544
+ */
6545
+ outstanding_shares?: number | null;
6546
+ /**
6547
+ * Created At
6548
+ */
6549
+ created_at: string;
6550
+ /**
6551
+ * Updated At
6552
+ */
6553
+ updated_at: string;
6554
+ };
6555
+ /**
6556
+ * SelectionCriteria
6557
+ *
6558
+ * Criteria for agent selection.
6559
+ */
6560
+ export type SelectionCriteria = {
6561
+ /**
6562
+ * Min Confidence
6563
+ *
6564
+ * Minimum confidence score
6565
+ */
6566
+ min_confidence?: number;
6567
+ /**
6568
+ * Required Capabilities
6569
+ *
6570
+ * Required agent capabilities
6571
+ */
6572
+ required_capabilities?: Array<string>;
6573
+ /**
6574
+ * Preferred execution mode
6575
+ */
6576
+ preferred_mode?: AgentMode | null;
6577
+ /**
6578
+ * Max Response Time
6579
+ *
6580
+ * Maximum response time in seconds
6581
+ */
6582
+ max_response_time?: number;
6583
+ /**
6584
+ * Excluded Agents
6585
+ *
6586
+ * Agents to exclude from selection
6587
+ */
6588
+ excluded_agents?: Array<string>;
6186
6589
  };
6187
6590
  /**
6188
6591
  * ServiceOfferingSummary
@@ -7313,6 +7716,111 @@ export type UpdatePasswordRequest = {
7313
7716
  */
7314
7717
  confirm_password: string;
7315
7718
  };
7719
+ /**
7720
+ * UpdatePortfolioRequest
7721
+ */
7722
+ export type UpdatePortfolioRequest = {
7723
+ /**
7724
+ * Name
7725
+ */
7726
+ name?: string | null;
7727
+ /**
7728
+ * Description
7729
+ */
7730
+ description?: string | null;
7731
+ /**
7732
+ * Strategy
7733
+ */
7734
+ strategy?: string | null;
7735
+ /**
7736
+ * Inception Date
7737
+ */
7738
+ inception_date?: string | null;
7739
+ /**
7740
+ * Base Currency
7741
+ */
7742
+ base_currency?: string | null;
7743
+ };
7744
+ /**
7745
+ * UpdatePositionRequest
7746
+ */
7747
+ export type UpdatePositionRequest = {
7748
+ /**
7749
+ * Quantity
7750
+ */
7751
+ quantity?: number | null;
7752
+ /**
7753
+ * Quantity Type
7754
+ */
7755
+ quantity_type?: string | null;
7756
+ /**
7757
+ * Cost Basis
7758
+ */
7759
+ cost_basis?: number | null;
7760
+ /**
7761
+ * Current Value
7762
+ */
7763
+ current_value?: number | null;
7764
+ /**
7765
+ * Valuation Date
7766
+ */
7767
+ valuation_date?: string | null;
7768
+ /**
7769
+ * Valuation Source
7770
+ */
7771
+ valuation_source?: string | null;
7772
+ /**
7773
+ * Acquisition Date
7774
+ */
7775
+ acquisition_date?: string | null;
7776
+ /**
7777
+ * Disposition Date
7778
+ */
7779
+ disposition_date?: string | null;
7780
+ /**
7781
+ * Status
7782
+ */
7783
+ status?: string | null;
7784
+ /**
7785
+ * Notes
7786
+ */
7787
+ notes?: string | null;
7788
+ };
7789
+ /**
7790
+ * UpdateSecurityRequest
7791
+ */
7792
+ export type UpdateSecurityRequest = {
7793
+ /**
7794
+ * Name
7795
+ */
7796
+ name?: string | null;
7797
+ /**
7798
+ * Security Type
7799
+ */
7800
+ security_type?: string | null;
7801
+ /**
7802
+ * Security Subtype
7803
+ */
7804
+ security_subtype?: string | null;
7805
+ /**
7806
+ * Terms
7807
+ */
7808
+ terms?: {
7809
+ [key: string]: unknown;
7810
+ } | null;
7811
+ /**
7812
+ * Is Active
7813
+ */
7814
+ is_active?: boolean | null;
7815
+ /**
7816
+ * Authorized Shares
7817
+ */
7818
+ authorized_shares?: number | null;
7819
+ /**
7820
+ * Outstanding Shares
7821
+ */
7822
+ outstanding_shares?: number | null;
7823
+ };
7316
7824
  /**
7317
7825
  * UpdateUserRequest
7318
7826
  *
@@ -9942,9 +10450,8 @@ export type CreateSubgraphResponses = {
9942
10450
  /**
9943
10451
  * Successful Response
9944
10452
  */
9945
- 200: SubgraphResponse;
10453
+ 200: unknown;
9946
10454
  };
9947
- export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
9948
10455
  export type DeleteSubgraphData = {
9949
10456
  body: DeleteSubgraphRequest;
9950
10457
  path: {
@@ -12279,3 +12786,506 @@ export type ShareReportResponses = {
12279
12786
  200: ShareReportResponse;
12280
12787
  };
12281
12788
  export type ShareReportResponse2 = ShareReportResponses[keyof ShareReportResponses];
12789
+ export type ListPortfoliosData = {
12790
+ body?: never;
12791
+ path: {
12792
+ /**
12793
+ * Graph Id
12794
+ */
12795
+ graph_id: string;
12796
+ };
12797
+ query?: {
12798
+ /**
12799
+ * Limit
12800
+ */
12801
+ limit?: number;
12802
+ /**
12803
+ * Offset
12804
+ */
12805
+ offset?: number;
12806
+ };
12807
+ url: '/v1/investor/{graph_id}/portfolios';
12808
+ };
12809
+ export type ListPortfoliosErrors = {
12810
+ /**
12811
+ * Validation Error
12812
+ */
12813
+ 422: HttpValidationError;
12814
+ };
12815
+ export type ListPortfoliosError = ListPortfoliosErrors[keyof ListPortfoliosErrors];
12816
+ export type ListPortfoliosResponses = {
12817
+ /**
12818
+ * Successful Response
12819
+ */
12820
+ 200: PortfolioListResponse;
12821
+ };
12822
+ export type ListPortfoliosResponse = ListPortfoliosResponses[keyof ListPortfoliosResponses];
12823
+ export type CreatePortfolioData = {
12824
+ body: CreatePortfolioRequest;
12825
+ path: {
12826
+ /**
12827
+ * Graph Id
12828
+ */
12829
+ graph_id: string;
12830
+ };
12831
+ query?: never;
12832
+ url: '/v1/investor/{graph_id}/portfolios';
12833
+ };
12834
+ export type CreatePortfolioErrors = {
12835
+ /**
12836
+ * Validation Error
12837
+ */
12838
+ 422: HttpValidationError;
12839
+ };
12840
+ export type CreatePortfolioError = CreatePortfolioErrors[keyof CreatePortfolioErrors];
12841
+ export type CreatePortfolioResponses = {
12842
+ /**
12843
+ * Successful Response
12844
+ */
12845
+ 201: PortfolioResponse;
12846
+ };
12847
+ export type CreatePortfolioResponse = CreatePortfolioResponses[keyof CreatePortfolioResponses];
12848
+ export type DeletePortfolioData = {
12849
+ body?: never;
12850
+ path: {
12851
+ /**
12852
+ * Graph Id
12853
+ */
12854
+ graph_id: string;
12855
+ /**
12856
+ * Portfolio Id
12857
+ */
12858
+ portfolio_id: string;
12859
+ };
12860
+ query?: never;
12861
+ url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}';
12862
+ };
12863
+ export type DeletePortfolioErrors = {
12864
+ /**
12865
+ * Validation Error
12866
+ */
12867
+ 422: HttpValidationError;
12868
+ };
12869
+ export type DeletePortfolioError = DeletePortfolioErrors[keyof DeletePortfolioErrors];
12870
+ export type DeletePortfolioResponses = {
12871
+ /**
12872
+ * Successful Response
12873
+ */
12874
+ 204: void;
12875
+ };
12876
+ export type DeletePortfolioResponse = DeletePortfolioResponses[keyof DeletePortfolioResponses];
12877
+ export type GetPortfolioData = {
12878
+ body?: never;
12879
+ path: {
12880
+ /**
12881
+ * Graph Id
12882
+ */
12883
+ graph_id: string;
12884
+ /**
12885
+ * Portfolio Id
12886
+ */
12887
+ portfolio_id: string;
12888
+ };
12889
+ query?: never;
12890
+ url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}';
12891
+ };
12892
+ export type GetPortfolioErrors = {
12893
+ /**
12894
+ * Validation Error
12895
+ */
12896
+ 422: HttpValidationError;
12897
+ };
12898
+ export type GetPortfolioError = GetPortfolioErrors[keyof GetPortfolioErrors];
12899
+ export type GetPortfolioResponses = {
12900
+ /**
12901
+ * Successful Response
12902
+ */
12903
+ 200: PortfolioResponse;
12904
+ };
12905
+ export type GetPortfolioResponse = GetPortfolioResponses[keyof GetPortfolioResponses];
12906
+ export type UpdatePortfolioData = {
12907
+ body: UpdatePortfolioRequest;
12908
+ path: {
12909
+ /**
12910
+ * Graph Id
12911
+ */
12912
+ graph_id: string;
12913
+ /**
12914
+ * Portfolio Id
12915
+ */
12916
+ portfolio_id: string;
12917
+ };
12918
+ query?: never;
12919
+ url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}';
12920
+ };
12921
+ export type UpdatePortfolioErrors = {
12922
+ /**
12923
+ * Validation Error
12924
+ */
12925
+ 422: HttpValidationError;
12926
+ };
12927
+ export type UpdatePortfolioError = UpdatePortfolioErrors[keyof UpdatePortfolioErrors];
12928
+ export type UpdatePortfolioResponses = {
12929
+ /**
12930
+ * Successful Response
12931
+ */
12932
+ 200: PortfolioResponse;
12933
+ };
12934
+ export type UpdatePortfolioResponse = UpdatePortfolioResponses[keyof UpdatePortfolioResponses];
12935
+ export type ListSecuritiesData = {
12936
+ body?: never;
12937
+ path: {
12938
+ /**
12939
+ * Graph Id
12940
+ */
12941
+ graph_id: string;
12942
+ };
12943
+ query?: {
12944
+ /**
12945
+ * Entity Id
12946
+ *
12947
+ * Filter by entity
12948
+ */
12949
+ entity_id?: string | null;
12950
+ /**
12951
+ * Security Type
12952
+ *
12953
+ * Filter by security type
12954
+ */
12955
+ security_type?: string | null;
12956
+ /**
12957
+ * Is Active
12958
+ *
12959
+ * Filter by active status
12960
+ */
12961
+ is_active?: boolean | null;
12962
+ /**
12963
+ * Limit
12964
+ */
12965
+ limit?: number;
12966
+ /**
12967
+ * Offset
12968
+ */
12969
+ offset?: number;
12970
+ };
12971
+ url: '/v1/investor/{graph_id}/securities';
12972
+ };
12973
+ export type ListSecuritiesErrors = {
12974
+ /**
12975
+ * Validation Error
12976
+ */
12977
+ 422: HttpValidationError;
12978
+ };
12979
+ export type ListSecuritiesError = ListSecuritiesErrors[keyof ListSecuritiesErrors];
12980
+ export type ListSecuritiesResponses = {
12981
+ /**
12982
+ * Successful Response
12983
+ */
12984
+ 200: SecurityListResponse;
12985
+ };
12986
+ export type ListSecuritiesResponse = ListSecuritiesResponses[keyof ListSecuritiesResponses];
12987
+ export type CreateSecurityData = {
12988
+ body: CreateSecurityRequest;
12989
+ path: {
12990
+ /**
12991
+ * Graph Id
12992
+ */
12993
+ graph_id: string;
12994
+ };
12995
+ query?: never;
12996
+ url: '/v1/investor/{graph_id}/securities';
12997
+ };
12998
+ export type CreateSecurityErrors = {
12999
+ /**
13000
+ * Validation Error
13001
+ */
13002
+ 422: HttpValidationError;
13003
+ };
13004
+ export type CreateSecurityError = CreateSecurityErrors[keyof CreateSecurityErrors];
13005
+ export type CreateSecurityResponses = {
13006
+ /**
13007
+ * Successful Response
13008
+ */
13009
+ 201: SecurityResponse;
13010
+ };
13011
+ export type CreateSecurityResponse = CreateSecurityResponses[keyof CreateSecurityResponses];
13012
+ export type DeleteSecurityData = {
13013
+ body?: never;
13014
+ path: {
13015
+ /**
13016
+ * Graph Id
13017
+ */
13018
+ graph_id: string;
13019
+ /**
13020
+ * Security Id
13021
+ */
13022
+ security_id: string;
13023
+ };
13024
+ query?: never;
13025
+ url: '/v1/investor/{graph_id}/securities/{security_id}';
13026
+ };
13027
+ export type DeleteSecurityErrors = {
13028
+ /**
13029
+ * Validation Error
13030
+ */
13031
+ 422: HttpValidationError;
13032
+ };
13033
+ export type DeleteSecurityError = DeleteSecurityErrors[keyof DeleteSecurityErrors];
13034
+ export type DeleteSecurityResponses = {
13035
+ /**
13036
+ * Successful Response
13037
+ */
13038
+ 204: void;
13039
+ };
13040
+ export type DeleteSecurityResponse = DeleteSecurityResponses[keyof DeleteSecurityResponses];
13041
+ export type GetSecurityData = {
13042
+ body?: never;
13043
+ path: {
13044
+ /**
13045
+ * Graph Id
13046
+ */
13047
+ graph_id: string;
13048
+ /**
13049
+ * Security Id
13050
+ */
13051
+ security_id: string;
13052
+ };
13053
+ query?: never;
13054
+ url: '/v1/investor/{graph_id}/securities/{security_id}';
13055
+ };
13056
+ export type GetSecurityErrors = {
13057
+ /**
13058
+ * Validation Error
13059
+ */
13060
+ 422: HttpValidationError;
13061
+ };
13062
+ export type GetSecurityError = GetSecurityErrors[keyof GetSecurityErrors];
13063
+ export type GetSecurityResponses = {
13064
+ /**
13065
+ * Successful Response
13066
+ */
13067
+ 200: SecurityResponse;
13068
+ };
13069
+ export type GetSecurityResponse = GetSecurityResponses[keyof GetSecurityResponses];
13070
+ export type UpdateSecurityData = {
13071
+ body: UpdateSecurityRequest;
13072
+ path: {
13073
+ /**
13074
+ * Graph Id
13075
+ */
13076
+ graph_id: string;
13077
+ /**
13078
+ * Security Id
13079
+ */
13080
+ security_id: string;
13081
+ };
13082
+ query?: never;
13083
+ url: '/v1/investor/{graph_id}/securities/{security_id}';
13084
+ };
13085
+ export type UpdateSecurityErrors = {
13086
+ /**
13087
+ * Validation Error
13088
+ */
13089
+ 422: HttpValidationError;
13090
+ };
13091
+ export type UpdateSecurityError = UpdateSecurityErrors[keyof UpdateSecurityErrors];
13092
+ export type UpdateSecurityResponses = {
13093
+ /**
13094
+ * Successful Response
13095
+ */
13096
+ 200: SecurityResponse;
13097
+ };
13098
+ export type UpdateSecurityResponse = UpdateSecurityResponses[keyof UpdateSecurityResponses];
13099
+ export type ListPositionsData = {
13100
+ body?: never;
13101
+ path: {
13102
+ /**
13103
+ * Graph Id
13104
+ */
13105
+ graph_id: string;
13106
+ };
13107
+ query?: {
13108
+ /**
13109
+ * Portfolio Id
13110
+ *
13111
+ * Filter by portfolio
13112
+ */
13113
+ portfolio_id?: string | null;
13114
+ /**
13115
+ * Security Id
13116
+ *
13117
+ * Filter by security
13118
+ */
13119
+ security_id?: string | null;
13120
+ /**
13121
+ * Status
13122
+ *
13123
+ * Filter by status
13124
+ */
13125
+ status?: string | null;
13126
+ /**
13127
+ * Limit
13128
+ */
13129
+ limit?: number;
13130
+ /**
13131
+ * Offset
13132
+ */
13133
+ offset?: number;
13134
+ };
13135
+ url: '/v1/investor/{graph_id}/positions';
13136
+ };
13137
+ export type ListPositionsErrors = {
13138
+ /**
13139
+ * Validation Error
13140
+ */
13141
+ 422: HttpValidationError;
13142
+ };
13143
+ export type ListPositionsError = ListPositionsErrors[keyof ListPositionsErrors];
13144
+ export type ListPositionsResponses = {
13145
+ /**
13146
+ * Successful Response
13147
+ */
13148
+ 200: PositionListResponse;
13149
+ };
13150
+ export type ListPositionsResponse = ListPositionsResponses[keyof ListPositionsResponses];
13151
+ export type CreatePositionData = {
13152
+ body: CreatePositionRequest;
13153
+ path: {
13154
+ /**
13155
+ * Graph Id
13156
+ */
13157
+ graph_id: string;
13158
+ };
13159
+ query?: never;
13160
+ url: '/v1/investor/{graph_id}/positions';
13161
+ };
13162
+ export type CreatePositionErrors = {
13163
+ /**
13164
+ * Validation Error
13165
+ */
13166
+ 422: HttpValidationError;
13167
+ };
13168
+ export type CreatePositionError = CreatePositionErrors[keyof CreatePositionErrors];
13169
+ export type CreatePositionResponses = {
13170
+ /**
13171
+ * Successful Response
13172
+ */
13173
+ 201: PositionResponse;
13174
+ };
13175
+ export type CreatePositionResponse = CreatePositionResponses[keyof CreatePositionResponses];
13176
+ export type DeletePositionData = {
13177
+ body?: never;
13178
+ path: {
13179
+ /**
13180
+ * Graph Id
13181
+ */
13182
+ graph_id: string;
13183
+ /**
13184
+ * Position Id
13185
+ */
13186
+ position_id: string;
13187
+ };
13188
+ query?: never;
13189
+ url: '/v1/investor/{graph_id}/positions/{position_id}';
13190
+ };
13191
+ export type DeletePositionErrors = {
13192
+ /**
13193
+ * Validation Error
13194
+ */
13195
+ 422: HttpValidationError;
13196
+ };
13197
+ export type DeletePositionError = DeletePositionErrors[keyof DeletePositionErrors];
13198
+ export type DeletePositionResponses = {
13199
+ /**
13200
+ * Successful Response
13201
+ */
13202
+ 204: void;
13203
+ };
13204
+ export type DeletePositionResponse = DeletePositionResponses[keyof DeletePositionResponses];
13205
+ export type GetPositionData = {
13206
+ body?: never;
13207
+ path: {
13208
+ /**
13209
+ * Graph Id
13210
+ */
13211
+ graph_id: string;
13212
+ /**
13213
+ * Position Id
13214
+ */
13215
+ position_id: string;
13216
+ };
13217
+ query?: never;
13218
+ url: '/v1/investor/{graph_id}/positions/{position_id}';
13219
+ };
13220
+ export type GetPositionErrors = {
13221
+ /**
13222
+ * Validation Error
13223
+ */
13224
+ 422: HttpValidationError;
13225
+ };
13226
+ export type GetPositionError = GetPositionErrors[keyof GetPositionErrors];
13227
+ export type GetPositionResponses = {
13228
+ /**
13229
+ * Successful Response
13230
+ */
13231
+ 200: PositionResponse;
13232
+ };
13233
+ export type GetPositionResponse = GetPositionResponses[keyof GetPositionResponses];
13234
+ export type UpdatePositionData = {
13235
+ body: UpdatePositionRequest;
13236
+ path: {
13237
+ /**
13238
+ * Graph Id
13239
+ */
13240
+ graph_id: string;
13241
+ /**
13242
+ * Position Id
13243
+ */
13244
+ position_id: string;
13245
+ };
13246
+ query?: never;
13247
+ url: '/v1/investor/{graph_id}/positions/{position_id}';
13248
+ };
13249
+ export type UpdatePositionErrors = {
13250
+ /**
13251
+ * Validation Error
13252
+ */
13253
+ 422: HttpValidationError;
13254
+ };
13255
+ export type UpdatePositionError = UpdatePositionErrors[keyof UpdatePositionErrors];
13256
+ export type UpdatePositionResponses = {
13257
+ /**
13258
+ * Successful Response
13259
+ */
13260
+ 200: PositionResponse;
13261
+ };
13262
+ export type UpdatePositionResponse = UpdatePositionResponses[keyof UpdatePositionResponses];
13263
+ export type ListHoldingsData = {
13264
+ body?: never;
13265
+ path: {
13266
+ /**
13267
+ * Graph Id
13268
+ */
13269
+ graph_id: string;
13270
+ /**
13271
+ * Portfolio Id
13272
+ */
13273
+ portfolio_id: string;
13274
+ };
13275
+ query?: never;
13276
+ url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}/holdings';
13277
+ };
13278
+ export type ListHoldingsErrors = {
13279
+ /**
13280
+ * Validation Error
13281
+ */
13282
+ 422: HttpValidationError;
13283
+ };
13284
+ export type ListHoldingsError = ListHoldingsErrors[keyof ListHoldingsErrors];
13285
+ export type ListHoldingsResponses = {
13286
+ /**
13287
+ * Successful Response
13288
+ */
13289
+ 200: HoldingsListResponse;
13290
+ };
13291
+ export type ListHoldingsResponse = ListHoldingsResponses[keyof ListHoldingsResponses];