@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.
package/sdk/types.gen.ts CHANGED
@@ -1576,6 +1576,82 @@ export type CreateGraphRequest = {
1576
1576
  tags?: Array<string>;
1577
1577
  };
1578
1578
 
1579
+ /**
1580
+ * CreatePortfolioRequest
1581
+ */
1582
+ export type CreatePortfolioRequest = {
1583
+ /**
1584
+ * Name
1585
+ */
1586
+ name: string;
1587
+ /**
1588
+ * Description
1589
+ */
1590
+ description?: string | null;
1591
+ /**
1592
+ * Strategy
1593
+ */
1594
+ strategy?: string | null;
1595
+ /**
1596
+ * Inception Date
1597
+ */
1598
+ inception_date?: string | null;
1599
+ /**
1600
+ * Base Currency
1601
+ */
1602
+ base_currency?: string;
1603
+ };
1604
+
1605
+ /**
1606
+ * CreatePositionRequest
1607
+ */
1608
+ export type CreatePositionRequest = {
1609
+ /**
1610
+ * Portfolio Id
1611
+ */
1612
+ portfolio_id: string;
1613
+ /**
1614
+ * Security Id
1615
+ */
1616
+ security_id: string;
1617
+ /**
1618
+ * Quantity
1619
+ */
1620
+ quantity: number;
1621
+ /**
1622
+ * Quantity Type
1623
+ */
1624
+ quantity_type?: string;
1625
+ /**
1626
+ * Cost Basis
1627
+ */
1628
+ cost_basis?: number;
1629
+ /**
1630
+ * Currency
1631
+ */
1632
+ currency?: string;
1633
+ /**
1634
+ * Current Value
1635
+ */
1636
+ current_value?: number | null;
1637
+ /**
1638
+ * Valuation Date
1639
+ */
1640
+ valuation_date?: string | null;
1641
+ /**
1642
+ * Valuation Source
1643
+ */
1644
+ valuation_source?: string | null;
1645
+ /**
1646
+ * Acquisition Date
1647
+ */
1648
+ acquisition_date?: string | null;
1649
+ /**
1650
+ * Notes
1651
+ */
1652
+ notes?: string | null;
1653
+ };
1654
+
1579
1655
  /**
1580
1656
  * CreateReportRequest
1581
1657
  */
@@ -1638,6 +1714,46 @@ export type CreateRepositorySubscriptionRequest = {
1638
1714
  plan_name: string;
1639
1715
  };
1640
1716
 
1717
+ /**
1718
+ * CreateSecurityRequest
1719
+ */
1720
+ export type CreateSecurityRequest = {
1721
+ /**
1722
+ * Entity Id
1723
+ */
1724
+ entity_id?: string | null;
1725
+ /**
1726
+ * Source Graph Id
1727
+ */
1728
+ source_graph_id?: string | null;
1729
+ /**
1730
+ * Name
1731
+ */
1732
+ name: string;
1733
+ /**
1734
+ * Security Type
1735
+ */
1736
+ security_type: string;
1737
+ /**
1738
+ * Security Subtype
1739
+ */
1740
+ security_subtype?: string | null;
1741
+ /**
1742
+ * Terms
1743
+ */
1744
+ terms?: {
1745
+ [key: string]: unknown;
1746
+ };
1747
+ /**
1748
+ * Authorized Shares
1749
+ */
1750
+ authorized_shares?: number | null;
1751
+ /**
1752
+ * Outstanding Shares
1753
+ */
1754
+ outstanding_shares?: number | null;
1755
+ };
1756
+
1641
1757
  /**
1642
1758
  * CreateStructureRequest
1643
1759
  */
@@ -3909,6 +4025,92 @@ export type HealthStatus = {
3909
4025
  } | null;
3910
4026
  };
3911
4027
 
4028
+ /**
4029
+ * HoldingResponse
4030
+ */
4031
+ export type HoldingResponse = {
4032
+ /**
4033
+ * Entity Id
4034
+ */
4035
+ entity_id: string;
4036
+ /**
4037
+ * Entity Name
4038
+ */
4039
+ entity_name: string;
4040
+ /**
4041
+ * Source Graph Id
4042
+ */
4043
+ source_graph_id?: string | null;
4044
+ /**
4045
+ * Securities
4046
+ */
4047
+ securities: Array<HoldingSecuritySummary>;
4048
+ /**
4049
+ * Total Cost Basis Dollars
4050
+ */
4051
+ total_cost_basis_dollars: number;
4052
+ /**
4053
+ * Total Current Value Dollars
4054
+ */
4055
+ total_current_value_dollars?: number | null;
4056
+ /**
4057
+ * Position Count
4058
+ */
4059
+ position_count: number;
4060
+ };
4061
+
4062
+ /**
4063
+ * HoldingSecuritySummary
4064
+ */
4065
+ export type HoldingSecuritySummary = {
4066
+ /**
4067
+ * Security Id
4068
+ */
4069
+ security_id: string;
4070
+ /**
4071
+ * Security Name
4072
+ */
4073
+ security_name: string;
4074
+ /**
4075
+ * Security Type
4076
+ */
4077
+ security_type: string;
4078
+ /**
4079
+ * Quantity
4080
+ */
4081
+ quantity: number;
4082
+ /**
4083
+ * Quantity Type
4084
+ */
4085
+ quantity_type: string;
4086
+ /**
4087
+ * Cost Basis Dollars
4088
+ */
4089
+ cost_basis_dollars: number;
4090
+ /**
4091
+ * Current Value Dollars
4092
+ */
4093
+ current_value_dollars?: number | null;
4094
+ };
4095
+
4096
+ /**
4097
+ * HoldingsListResponse
4098
+ */
4099
+ export type HoldingsListResponse = {
4100
+ /**
4101
+ * Holdings
4102
+ */
4103
+ holdings: Array<HoldingResponse>;
4104
+ /**
4105
+ * Total Entities
4106
+ */
4107
+ total_entities: number;
4108
+ /**
4109
+ * Total Positions
4110
+ */
4111
+ total_positions: number;
4112
+ };
4113
+
3912
4114
  /**
3913
4115
  * InitialEntityData
3914
4116
  *
@@ -5556,6 +5758,152 @@ export type PortalSessionResponse = {
5556
5758
  portal_url: string;
5557
5759
  };
5558
5760
 
5761
+ /**
5762
+ * PortfolioListResponse
5763
+ */
5764
+ export type PortfolioListResponse = {
5765
+ /**
5766
+ * Portfolios
5767
+ */
5768
+ portfolios: Array<PortfolioResponse>;
5769
+ pagination: PaginationInfo;
5770
+ };
5771
+
5772
+ /**
5773
+ * PortfolioResponse
5774
+ */
5775
+ export type PortfolioResponse = {
5776
+ /**
5777
+ * Id
5778
+ */
5779
+ id: string;
5780
+ /**
5781
+ * Name
5782
+ */
5783
+ name: string;
5784
+ /**
5785
+ * Description
5786
+ */
5787
+ description?: string | null;
5788
+ /**
5789
+ * Strategy
5790
+ */
5791
+ strategy?: string | null;
5792
+ /**
5793
+ * Inception Date
5794
+ */
5795
+ inception_date?: string | null;
5796
+ /**
5797
+ * Base Currency
5798
+ */
5799
+ base_currency: string;
5800
+ /**
5801
+ * Created At
5802
+ */
5803
+ created_at: string;
5804
+ /**
5805
+ * Updated At
5806
+ */
5807
+ updated_at: string;
5808
+ };
5809
+
5810
+ /**
5811
+ * PositionListResponse
5812
+ */
5813
+ export type PositionListResponse = {
5814
+ /**
5815
+ * Positions
5816
+ */
5817
+ positions: Array<PositionResponse>;
5818
+ pagination: PaginationInfo;
5819
+ };
5820
+
5821
+ /**
5822
+ * PositionResponse
5823
+ */
5824
+ export type PositionResponse = {
5825
+ /**
5826
+ * Id
5827
+ */
5828
+ id: string;
5829
+ /**
5830
+ * Portfolio Id
5831
+ */
5832
+ portfolio_id: string;
5833
+ /**
5834
+ * Security Id
5835
+ */
5836
+ security_id: string;
5837
+ /**
5838
+ * Security Name
5839
+ */
5840
+ security_name?: string | null;
5841
+ /**
5842
+ * Entity Name
5843
+ */
5844
+ entity_name?: string | null;
5845
+ /**
5846
+ * Quantity
5847
+ */
5848
+ quantity: number;
5849
+ /**
5850
+ * Quantity Type
5851
+ */
5852
+ quantity_type: string;
5853
+ /**
5854
+ * Cost Basis
5855
+ */
5856
+ cost_basis: number;
5857
+ /**
5858
+ * Cost Basis Dollars
5859
+ */
5860
+ cost_basis_dollars: number;
5861
+ /**
5862
+ * Currency
5863
+ */
5864
+ currency: string;
5865
+ /**
5866
+ * Current Value
5867
+ */
5868
+ current_value?: number | null;
5869
+ /**
5870
+ * Current Value Dollars
5871
+ */
5872
+ current_value_dollars?: number | null;
5873
+ /**
5874
+ * Valuation Date
5875
+ */
5876
+ valuation_date?: string | null;
5877
+ /**
5878
+ * Valuation Source
5879
+ */
5880
+ valuation_source?: string | null;
5881
+ /**
5882
+ * Acquisition Date
5883
+ */
5884
+ acquisition_date?: string | null;
5885
+ /**
5886
+ * Disposition Date
5887
+ */
5888
+ disposition_date?: string | null;
5889
+ /**
5890
+ * Status
5891
+ */
5892
+ status: string;
5893
+ /**
5894
+ * Notes
5895
+ */
5896
+ notes?: string | null;
5897
+ /**
5898
+ * Created At
5899
+ */
5900
+ created_at: string;
5901
+ /**
5902
+ * Updated At
5903
+ */
5904
+ updated_at: string;
5905
+ };
5906
+
5559
5907
  /**
5560
5908
  * QueryLimits
5561
5909
  *
@@ -6320,27 +6668,94 @@ export type SearchResponse = {
6320
6668
  };
6321
6669
 
6322
6670
  /**
6323
- * SelectionCriteria
6324
- *
6325
- * Criteria for agent selection.
6671
+ * SecurityListResponse
6326
6672
  */
6327
- export type SelectionCriteria = {
6673
+ export type SecurityListResponse = {
6328
6674
  /**
6329
- * Min Confidence
6330
- *
6331
- * Minimum confidence score
6675
+ * Securities
6332
6676
  */
6333
- min_confidence?: number;
6677
+ securities: Array<SecurityResponse>;
6678
+ pagination: PaginationInfo;
6679
+ };
6680
+
6681
+ /**
6682
+ * SecurityResponse
6683
+ */
6684
+ export type SecurityResponse = {
6334
6685
  /**
6335
- * Required Capabilities
6336
- *
6337
- * Required agent capabilities
6686
+ * Id
6338
6687
  */
6339
- required_capabilities?: Array<string>;
6688
+ id: string;
6340
6689
  /**
6341
- * Preferred execution mode
6690
+ * Entity Id
6342
6691
  */
6343
- preferred_mode?: AgentMode | null;
6692
+ entity_id?: string | null;
6693
+ /**
6694
+ * Entity Name
6695
+ */
6696
+ entity_name?: string | null;
6697
+ /**
6698
+ * Name
6699
+ */
6700
+ name: string;
6701
+ /**
6702
+ * Security Type
6703
+ */
6704
+ security_type: string;
6705
+ /**
6706
+ * Security Subtype
6707
+ */
6708
+ security_subtype?: string | null;
6709
+ /**
6710
+ * Terms
6711
+ */
6712
+ terms: {
6713
+ [key: string]: unknown;
6714
+ };
6715
+ /**
6716
+ * Is Active
6717
+ */
6718
+ is_active: boolean;
6719
+ /**
6720
+ * Authorized Shares
6721
+ */
6722
+ authorized_shares?: number | null;
6723
+ /**
6724
+ * Outstanding Shares
6725
+ */
6726
+ outstanding_shares?: number | null;
6727
+ /**
6728
+ * Created At
6729
+ */
6730
+ created_at: string;
6731
+ /**
6732
+ * Updated At
6733
+ */
6734
+ updated_at: string;
6735
+ };
6736
+
6737
+ /**
6738
+ * SelectionCriteria
6739
+ *
6740
+ * Criteria for agent selection.
6741
+ */
6742
+ export type SelectionCriteria = {
6743
+ /**
6744
+ * Min Confidence
6745
+ *
6746
+ * Minimum confidence score
6747
+ */
6748
+ min_confidence?: number;
6749
+ /**
6750
+ * Required Capabilities
6751
+ *
6752
+ * Required agent capabilities
6753
+ */
6754
+ required_capabilities?: Array<string>;
6755
+ /**
6756
+ * Preferred execution mode
6757
+ */
6758
+ preferred_mode?: AgentMode | null;
6344
6759
  /**
6345
6760
  * Max Response Time
6346
6761
  *
@@ -7521,6 +7936,114 @@ export type UpdatePasswordRequest = {
7521
7936
  confirm_password: string;
7522
7937
  };
7523
7938
 
7939
+ /**
7940
+ * UpdatePortfolioRequest
7941
+ */
7942
+ export type UpdatePortfolioRequest = {
7943
+ /**
7944
+ * Name
7945
+ */
7946
+ name?: string | null;
7947
+ /**
7948
+ * Description
7949
+ */
7950
+ description?: string | null;
7951
+ /**
7952
+ * Strategy
7953
+ */
7954
+ strategy?: string | null;
7955
+ /**
7956
+ * Inception Date
7957
+ */
7958
+ inception_date?: string | null;
7959
+ /**
7960
+ * Base Currency
7961
+ */
7962
+ base_currency?: string | null;
7963
+ };
7964
+
7965
+ /**
7966
+ * UpdatePositionRequest
7967
+ */
7968
+ export type UpdatePositionRequest = {
7969
+ /**
7970
+ * Quantity
7971
+ */
7972
+ quantity?: number | null;
7973
+ /**
7974
+ * Quantity Type
7975
+ */
7976
+ quantity_type?: string | null;
7977
+ /**
7978
+ * Cost Basis
7979
+ */
7980
+ cost_basis?: number | null;
7981
+ /**
7982
+ * Current Value
7983
+ */
7984
+ current_value?: number | null;
7985
+ /**
7986
+ * Valuation Date
7987
+ */
7988
+ valuation_date?: string | null;
7989
+ /**
7990
+ * Valuation Source
7991
+ */
7992
+ valuation_source?: string | null;
7993
+ /**
7994
+ * Acquisition Date
7995
+ */
7996
+ acquisition_date?: string | null;
7997
+ /**
7998
+ * Disposition Date
7999
+ */
8000
+ disposition_date?: string | null;
8001
+ /**
8002
+ * Status
8003
+ */
8004
+ status?: string | null;
8005
+ /**
8006
+ * Notes
8007
+ */
8008
+ notes?: string | null;
8009
+ };
8010
+
8011
+ /**
8012
+ * UpdateSecurityRequest
8013
+ */
8014
+ export type UpdateSecurityRequest = {
8015
+ /**
8016
+ * Name
8017
+ */
8018
+ name?: string | null;
8019
+ /**
8020
+ * Security Type
8021
+ */
8022
+ security_type?: string | null;
8023
+ /**
8024
+ * Security Subtype
8025
+ */
8026
+ security_subtype?: string | null;
8027
+ /**
8028
+ * Terms
8029
+ */
8030
+ terms?: {
8031
+ [key: string]: unknown;
8032
+ } | null;
8033
+ /**
8034
+ * Is Active
8035
+ */
8036
+ is_active?: boolean | null;
8037
+ /**
8038
+ * Authorized Shares
8039
+ */
8040
+ authorized_shares?: number | null;
8041
+ /**
8042
+ * Outstanding Shares
8043
+ */
8044
+ outstanding_shares?: number | null;
8045
+ };
8046
+
7524
8047
  /**
7525
8048
  * UpdateUserRequest
7526
8049
  *
@@ -10492,11 +11015,9 @@ export type CreateSubgraphResponses = {
10492
11015
  /**
10493
11016
  * Successful Response
10494
11017
  */
10495
- 200: SubgraphResponse;
11018
+ 200: unknown;
10496
11019
  };
10497
11020
 
10498
- export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
10499
-
10500
11021
  export type DeleteSubgraphData = {
10501
11022
  body: DeleteSubgraphRequest;
10502
11023
  path: {
@@ -13172,3 +13693,586 @@ export type ShareReportResponses = {
13172
13693
  };
13173
13694
 
13174
13695
  export type ShareReportResponse2 = ShareReportResponses[keyof ShareReportResponses];
13696
+
13697
+ export type ListPortfoliosData = {
13698
+ body?: never;
13699
+ path: {
13700
+ /**
13701
+ * Graph Id
13702
+ */
13703
+ graph_id: string;
13704
+ };
13705
+ query?: {
13706
+ /**
13707
+ * Limit
13708
+ */
13709
+ limit?: number;
13710
+ /**
13711
+ * Offset
13712
+ */
13713
+ offset?: number;
13714
+ };
13715
+ url: '/v1/investor/{graph_id}/portfolios';
13716
+ };
13717
+
13718
+ export type ListPortfoliosErrors = {
13719
+ /**
13720
+ * Validation Error
13721
+ */
13722
+ 422: HttpValidationError;
13723
+ };
13724
+
13725
+ export type ListPortfoliosError = ListPortfoliosErrors[keyof ListPortfoliosErrors];
13726
+
13727
+ export type ListPortfoliosResponses = {
13728
+ /**
13729
+ * Successful Response
13730
+ */
13731
+ 200: PortfolioListResponse;
13732
+ };
13733
+
13734
+ export type ListPortfoliosResponse = ListPortfoliosResponses[keyof ListPortfoliosResponses];
13735
+
13736
+ export type CreatePortfolioData = {
13737
+ body: CreatePortfolioRequest;
13738
+ path: {
13739
+ /**
13740
+ * Graph Id
13741
+ */
13742
+ graph_id: string;
13743
+ };
13744
+ query?: never;
13745
+ url: '/v1/investor/{graph_id}/portfolios';
13746
+ };
13747
+
13748
+ export type CreatePortfolioErrors = {
13749
+ /**
13750
+ * Validation Error
13751
+ */
13752
+ 422: HttpValidationError;
13753
+ };
13754
+
13755
+ export type CreatePortfolioError = CreatePortfolioErrors[keyof CreatePortfolioErrors];
13756
+
13757
+ export type CreatePortfolioResponses = {
13758
+ /**
13759
+ * Successful Response
13760
+ */
13761
+ 201: PortfolioResponse;
13762
+ };
13763
+
13764
+ export type CreatePortfolioResponse = CreatePortfolioResponses[keyof CreatePortfolioResponses];
13765
+
13766
+ export type DeletePortfolioData = {
13767
+ body?: never;
13768
+ path: {
13769
+ /**
13770
+ * Graph Id
13771
+ */
13772
+ graph_id: string;
13773
+ /**
13774
+ * Portfolio Id
13775
+ */
13776
+ portfolio_id: string;
13777
+ };
13778
+ query?: never;
13779
+ url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}';
13780
+ };
13781
+
13782
+ export type DeletePortfolioErrors = {
13783
+ /**
13784
+ * Validation Error
13785
+ */
13786
+ 422: HttpValidationError;
13787
+ };
13788
+
13789
+ export type DeletePortfolioError = DeletePortfolioErrors[keyof DeletePortfolioErrors];
13790
+
13791
+ export type DeletePortfolioResponses = {
13792
+ /**
13793
+ * Successful Response
13794
+ */
13795
+ 204: void;
13796
+ };
13797
+
13798
+ export type DeletePortfolioResponse = DeletePortfolioResponses[keyof DeletePortfolioResponses];
13799
+
13800
+ export type GetPortfolioData = {
13801
+ body?: never;
13802
+ path: {
13803
+ /**
13804
+ * Graph Id
13805
+ */
13806
+ graph_id: string;
13807
+ /**
13808
+ * Portfolio Id
13809
+ */
13810
+ portfolio_id: string;
13811
+ };
13812
+ query?: never;
13813
+ url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}';
13814
+ };
13815
+
13816
+ export type GetPortfolioErrors = {
13817
+ /**
13818
+ * Validation Error
13819
+ */
13820
+ 422: HttpValidationError;
13821
+ };
13822
+
13823
+ export type GetPortfolioError = GetPortfolioErrors[keyof GetPortfolioErrors];
13824
+
13825
+ export type GetPortfolioResponses = {
13826
+ /**
13827
+ * Successful Response
13828
+ */
13829
+ 200: PortfolioResponse;
13830
+ };
13831
+
13832
+ export type GetPortfolioResponse = GetPortfolioResponses[keyof GetPortfolioResponses];
13833
+
13834
+ export type UpdatePortfolioData = {
13835
+ body: UpdatePortfolioRequest;
13836
+ path: {
13837
+ /**
13838
+ * Graph Id
13839
+ */
13840
+ graph_id: string;
13841
+ /**
13842
+ * Portfolio Id
13843
+ */
13844
+ portfolio_id: string;
13845
+ };
13846
+ query?: never;
13847
+ url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}';
13848
+ };
13849
+
13850
+ export type UpdatePortfolioErrors = {
13851
+ /**
13852
+ * Validation Error
13853
+ */
13854
+ 422: HttpValidationError;
13855
+ };
13856
+
13857
+ export type UpdatePortfolioError = UpdatePortfolioErrors[keyof UpdatePortfolioErrors];
13858
+
13859
+ export type UpdatePortfolioResponses = {
13860
+ /**
13861
+ * Successful Response
13862
+ */
13863
+ 200: PortfolioResponse;
13864
+ };
13865
+
13866
+ export type UpdatePortfolioResponse = UpdatePortfolioResponses[keyof UpdatePortfolioResponses];
13867
+
13868
+ export type ListSecuritiesData = {
13869
+ body?: never;
13870
+ path: {
13871
+ /**
13872
+ * Graph Id
13873
+ */
13874
+ graph_id: string;
13875
+ };
13876
+ query?: {
13877
+ /**
13878
+ * Entity Id
13879
+ *
13880
+ * Filter by entity
13881
+ */
13882
+ entity_id?: string | null;
13883
+ /**
13884
+ * Security Type
13885
+ *
13886
+ * Filter by security type
13887
+ */
13888
+ security_type?: string | null;
13889
+ /**
13890
+ * Is Active
13891
+ *
13892
+ * Filter by active status
13893
+ */
13894
+ is_active?: boolean | null;
13895
+ /**
13896
+ * Limit
13897
+ */
13898
+ limit?: number;
13899
+ /**
13900
+ * Offset
13901
+ */
13902
+ offset?: number;
13903
+ };
13904
+ url: '/v1/investor/{graph_id}/securities';
13905
+ };
13906
+
13907
+ export type ListSecuritiesErrors = {
13908
+ /**
13909
+ * Validation Error
13910
+ */
13911
+ 422: HttpValidationError;
13912
+ };
13913
+
13914
+ export type ListSecuritiesError = ListSecuritiesErrors[keyof ListSecuritiesErrors];
13915
+
13916
+ export type ListSecuritiesResponses = {
13917
+ /**
13918
+ * Successful Response
13919
+ */
13920
+ 200: SecurityListResponse;
13921
+ };
13922
+
13923
+ export type ListSecuritiesResponse = ListSecuritiesResponses[keyof ListSecuritiesResponses];
13924
+
13925
+ export type CreateSecurityData = {
13926
+ body: CreateSecurityRequest;
13927
+ path: {
13928
+ /**
13929
+ * Graph Id
13930
+ */
13931
+ graph_id: string;
13932
+ };
13933
+ query?: never;
13934
+ url: '/v1/investor/{graph_id}/securities';
13935
+ };
13936
+
13937
+ export type CreateSecurityErrors = {
13938
+ /**
13939
+ * Validation Error
13940
+ */
13941
+ 422: HttpValidationError;
13942
+ };
13943
+
13944
+ export type CreateSecurityError = CreateSecurityErrors[keyof CreateSecurityErrors];
13945
+
13946
+ export type CreateSecurityResponses = {
13947
+ /**
13948
+ * Successful Response
13949
+ */
13950
+ 201: SecurityResponse;
13951
+ };
13952
+
13953
+ export type CreateSecurityResponse = CreateSecurityResponses[keyof CreateSecurityResponses];
13954
+
13955
+ export type DeleteSecurityData = {
13956
+ body?: never;
13957
+ path: {
13958
+ /**
13959
+ * Graph Id
13960
+ */
13961
+ graph_id: string;
13962
+ /**
13963
+ * Security Id
13964
+ */
13965
+ security_id: string;
13966
+ };
13967
+ query?: never;
13968
+ url: '/v1/investor/{graph_id}/securities/{security_id}';
13969
+ };
13970
+
13971
+ export type DeleteSecurityErrors = {
13972
+ /**
13973
+ * Validation Error
13974
+ */
13975
+ 422: HttpValidationError;
13976
+ };
13977
+
13978
+ export type DeleteSecurityError = DeleteSecurityErrors[keyof DeleteSecurityErrors];
13979
+
13980
+ export type DeleteSecurityResponses = {
13981
+ /**
13982
+ * Successful Response
13983
+ */
13984
+ 204: void;
13985
+ };
13986
+
13987
+ export type DeleteSecurityResponse = DeleteSecurityResponses[keyof DeleteSecurityResponses];
13988
+
13989
+ export type GetSecurityData = {
13990
+ body?: never;
13991
+ path: {
13992
+ /**
13993
+ * Graph Id
13994
+ */
13995
+ graph_id: string;
13996
+ /**
13997
+ * Security Id
13998
+ */
13999
+ security_id: string;
14000
+ };
14001
+ query?: never;
14002
+ url: '/v1/investor/{graph_id}/securities/{security_id}';
14003
+ };
14004
+
14005
+ export type GetSecurityErrors = {
14006
+ /**
14007
+ * Validation Error
14008
+ */
14009
+ 422: HttpValidationError;
14010
+ };
14011
+
14012
+ export type GetSecurityError = GetSecurityErrors[keyof GetSecurityErrors];
14013
+
14014
+ export type GetSecurityResponses = {
14015
+ /**
14016
+ * Successful Response
14017
+ */
14018
+ 200: SecurityResponse;
14019
+ };
14020
+
14021
+ export type GetSecurityResponse = GetSecurityResponses[keyof GetSecurityResponses];
14022
+
14023
+ export type UpdateSecurityData = {
14024
+ body: UpdateSecurityRequest;
14025
+ path: {
14026
+ /**
14027
+ * Graph Id
14028
+ */
14029
+ graph_id: string;
14030
+ /**
14031
+ * Security Id
14032
+ */
14033
+ security_id: string;
14034
+ };
14035
+ query?: never;
14036
+ url: '/v1/investor/{graph_id}/securities/{security_id}';
14037
+ };
14038
+
14039
+ export type UpdateSecurityErrors = {
14040
+ /**
14041
+ * Validation Error
14042
+ */
14043
+ 422: HttpValidationError;
14044
+ };
14045
+
14046
+ export type UpdateSecurityError = UpdateSecurityErrors[keyof UpdateSecurityErrors];
14047
+
14048
+ export type UpdateSecurityResponses = {
14049
+ /**
14050
+ * Successful Response
14051
+ */
14052
+ 200: SecurityResponse;
14053
+ };
14054
+
14055
+ export type UpdateSecurityResponse = UpdateSecurityResponses[keyof UpdateSecurityResponses];
14056
+
14057
+ export type ListPositionsData = {
14058
+ body?: never;
14059
+ path: {
14060
+ /**
14061
+ * Graph Id
14062
+ */
14063
+ graph_id: string;
14064
+ };
14065
+ query?: {
14066
+ /**
14067
+ * Portfolio Id
14068
+ *
14069
+ * Filter by portfolio
14070
+ */
14071
+ portfolio_id?: string | null;
14072
+ /**
14073
+ * Security Id
14074
+ *
14075
+ * Filter by security
14076
+ */
14077
+ security_id?: string | null;
14078
+ /**
14079
+ * Status
14080
+ *
14081
+ * Filter by status
14082
+ */
14083
+ status?: string | null;
14084
+ /**
14085
+ * Limit
14086
+ */
14087
+ limit?: number;
14088
+ /**
14089
+ * Offset
14090
+ */
14091
+ offset?: number;
14092
+ };
14093
+ url: '/v1/investor/{graph_id}/positions';
14094
+ };
14095
+
14096
+ export type ListPositionsErrors = {
14097
+ /**
14098
+ * Validation Error
14099
+ */
14100
+ 422: HttpValidationError;
14101
+ };
14102
+
14103
+ export type ListPositionsError = ListPositionsErrors[keyof ListPositionsErrors];
14104
+
14105
+ export type ListPositionsResponses = {
14106
+ /**
14107
+ * Successful Response
14108
+ */
14109
+ 200: PositionListResponse;
14110
+ };
14111
+
14112
+ export type ListPositionsResponse = ListPositionsResponses[keyof ListPositionsResponses];
14113
+
14114
+ export type CreatePositionData = {
14115
+ body: CreatePositionRequest;
14116
+ path: {
14117
+ /**
14118
+ * Graph Id
14119
+ */
14120
+ graph_id: string;
14121
+ };
14122
+ query?: never;
14123
+ url: '/v1/investor/{graph_id}/positions';
14124
+ };
14125
+
14126
+ export type CreatePositionErrors = {
14127
+ /**
14128
+ * Validation Error
14129
+ */
14130
+ 422: HttpValidationError;
14131
+ };
14132
+
14133
+ export type CreatePositionError = CreatePositionErrors[keyof CreatePositionErrors];
14134
+
14135
+ export type CreatePositionResponses = {
14136
+ /**
14137
+ * Successful Response
14138
+ */
14139
+ 201: PositionResponse;
14140
+ };
14141
+
14142
+ export type CreatePositionResponse = CreatePositionResponses[keyof CreatePositionResponses];
14143
+
14144
+ export type DeletePositionData = {
14145
+ body?: never;
14146
+ path: {
14147
+ /**
14148
+ * Graph Id
14149
+ */
14150
+ graph_id: string;
14151
+ /**
14152
+ * Position Id
14153
+ */
14154
+ position_id: string;
14155
+ };
14156
+ query?: never;
14157
+ url: '/v1/investor/{graph_id}/positions/{position_id}';
14158
+ };
14159
+
14160
+ export type DeletePositionErrors = {
14161
+ /**
14162
+ * Validation Error
14163
+ */
14164
+ 422: HttpValidationError;
14165
+ };
14166
+
14167
+ export type DeletePositionError = DeletePositionErrors[keyof DeletePositionErrors];
14168
+
14169
+ export type DeletePositionResponses = {
14170
+ /**
14171
+ * Successful Response
14172
+ */
14173
+ 204: void;
14174
+ };
14175
+
14176
+ export type DeletePositionResponse = DeletePositionResponses[keyof DeletePositionResponses];
14177
+
14178
+ export type GetPositionData = {
14179
+ body?: never;
14180
+ path: {
14181
+ /**
14182
+ * Graph Id
14183
+ */
14184
+ graph_id: string;
14185
+ /**
14186
+ * Position Id
14187
+ */
14188
+ position_id: string;
14189
+ };
14190
+ query?: never;
14191
+ url: '/v1/investor/{graph_id}/positions/{position_id}';
14192
+ };
14193
+
14194
+ export type GetPositionErrors = {
14195
+ /**
14196
+ * Validation Error
14197
+ */
14198
+ 422: HttpValidationError;
14199
+ };
14200
+
14201
+ export type GetPositionError = GetPositionErrors[keyof GetPositionErrors];
14202
+
14203
+ export type GetPositionResponses = {
14204
+ /**
14205
+ * Successful Response
14206
+ */
14207
+ 200: PositionResponse;
14208
+ };
14209
+
14210
+ export type GetPositionResponse = GetPositionResponses[keyof GetPositionResponses];
14211
+
14212
+ export type UpdatePositionData = {
14213
+ body: UpdatePositionRequest;
14214
+ path: {
14215
+ /**
14216
+ * Graph Id
14217
+ */
14218
+ graph_id: string;
14219
+ /**
14220
+ * Position Id
14221
+ */
14222
+ position_id: string;
14223
+ };
14224
+ query?: never;
14225
+ url: '/v1/investor/{graph_id}/positions/{position_id}';
14226
+ };
14227
+
14228
+ export type UpdatePositionErrors = {
14229
+ /**
14230
+ * Validation Error
14231
+ */
14232
+ 422: HttpValidationError;
14233
+ };
14234
+
14235
+ export type UpdatePositionError = UpdatePositionErrors[keyof UpdatePositionErrors];
14236
+
14237
+ export type UpdatePositionResponses = {
14238
+ /**
14239
+ * Successful Response
14240
+ */
14241
+ 200: PositionResponse;
14242
+ };
14243
+
14244
+ export type UpdatePositionResponse = UpdatePositionResponses[keyof UpdatePositionResponses];
14245
+
14246
+ export type ListHoldingsData = {
14247
+ body?: never;
14248
+ path: {
14249
+ /**
14250
+ * Graph Id
14251
+ */
14252
+ graph_id: string;
14253
+ /**
14254
+ * Portfolio Id
14255
+ */
14256
+ portfolio_id: string;
14257
+ };
14258
+ query?: never;
14259
+ url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}/holdings';
14260
+ };
14261
+
14262
+ export type ListHoldingsErrors = {
14263
+ /**
14264
+ * Validation Error
14265
+ */
14266
+ 422: HttpValidationError;
14267
+ };
14268
+
14269
+ export type ListHoldingsError = ListHoldingsErrors[keyof ListHoldingsErrors];
14270
+
14271
+ export type ListHoldingsResponses = {
14272
+ /**
14273
+ * Successful Response
14274
+ */
14275
+ 200: HoldingsListResponse;
14276
+ };
14277
+
14278
+ export type ListHoldingsResponse = ListHoldingsResponses[keyof ListHoldingsResponses];