@robosystems/client 0.2.39 → 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,127 @@ 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
+ };
1605
+ /**
1606
+ * CreateReportRequest
1607
+ */
1608
+ export type CreateReportRequest = {
1609
+ /**
1610
+ * Name
1611
+ *
1612
+ * Report name
1613
+ */
1614
+ name: string;
1615
+ /**
1616
+ * Taxonomy Id
1617
+ *
1618
+ * Taxonomy ID — determines which structures are available
1619
+ */
1620
+ taxonomy_id?: string;
1621
+ /**
1622
+ * Mapping Id
1623
+ *
1624
+ * Mapping structure ID for CoA→GAAP rollup
1625
+ */
1626
+ mapping_id: string;
1627
+ /**
1628
+ * Period Start
1629
+ *
1630
+ * Period start date (inclusive)
1631
+ */
1632
+ period_start: string;
1633
+ /**
1634
+ * Period End
1635
+ *
1636
+ * Period end date (inclusive)
1637
+ */
1638
+ period_end: string;
1639
+ /**
1640
+ * Period Type
1641
+ *
1642
+ * Period type: monthly, quarterly, annual
1643
+ */
1644
+ period_type?: string;
1645
+ /**
1646
+ * Comparative
1647
+ *
1648
+ * Include prior period comparison
1649
+ */
1650
+ comparative?: boolean;
1651
+ };
1531
1652
  /**
1532
1653
  * CreateRepositorySubscriptionRequest
1533
1654
  *
@@ -1541,6 +1662,45 @@ export type CreateRepositorySubscriptionRequest = {
1541
1662
  */
1542
1663
  plan_name: string;
1543
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
+ };
1544
1704
  /**
1545
1705
  * CreateStructureRequest
1546
1706
  */
@@ -2707,6 +2867,43 @@ export type ErrorResponse = {
2707
2867
  */
2708
2868
  timestamp?: string | null;
2709
2869
  };
2870
+ /**
2871
+ * FactRowResponse
2872
+ */
2873
+ export type FactRowResponse = {
2874
+ /**
2875
+ * Element Id
2876
+ */
2877
+ element_id: string;
2878
+ /**
2879
+ * Element Qname
2880
+ */
2881
+ element_qname: string;
2882
+ /**
2883
+ * Element Name
2884
+ */
2885
+ element_name: string;
2886
+ /**
2887
+ * Classification
2888
+ */
2889
+ classification: string;
2890
+ /**
2891
+ * Current Value
2892
+ */
2893
+ current_value: number;
2894
+ /**
2895
+ * Prior Value
2896
+ */
2897
+ prior_value?: number | null;
2898
+ /**
2899
+ * Is Subtotal
2900
+ */
2901
+ is_subtotal?: boolean;
2902
+ /**
2903
+ * Depth
2904
+ */
2905
+ depth?: number;
2906
+ };
2710
2907
  /**
2711
2908
  * FileInfo
2712
2909
  */
@@ -3723,6 +3920,89 @@ export type HealthStatus = {
3723
3920
  [key: string]: unknown;
3724
3921
  } | null;
3725
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
+ };
3726
4006
  /**
3727
4007
  * InitialEntityData
3728
4008
  *
@@ -5327,95 +5607,254 @@ export type PortalSessionResponse = {
5327
5607
  portal_url: string;
5328
5608
  };
5329
5609
  /**
5330
- * QueryLimits
5331
- *
5332
- * Query operation limits.
5610
+ * PortfolioListResponse
5333
5611
  */
5334
- export type QueryLimits = {
5612
+ export type PortfolioListResponse = {
5335
5613
  /**
5336
- * Max Timeout Seconds
5337
- *
5338
- * Maximum query timeout in seconds
5614
+ * Portfolios
5339
5615
  */
5340
- max_timeout_seconds: number;
5616
+ portfolios: Array<PortfolioResponse>;
5617
+ pagination: PaginationInfo;
5618
+ };
5619
+ /**
5620
+ * PortfolioResponse
5621
+ */
5622
+ export type PortfolioResponse = {
5341
5623
  /**
5342
- * Chunk Size
5343
- *
5344
- * Maximum chunk size for result streaming
5624
+ * Id
5345
5625
  */
5346
- chunk_size: number;
5626
+ id: string;
5347
5627
  /**
5348
- * Max Rows Per Query
5349
- *
5350
- * Maximum rows returned per query
5628
+ * Name
5351
5629
  */
5352
- max_rows_per_query: number;
5630
+ name: string;
5353
5631
  /**
5354
- * Concurrent Queries
5355
- *
5356
- * Maximum concurrent queries allowed
5632
+ * Description
5357
5633
  */
5358
- concurrent_queries: number;
5359
- };
5360
- /**
5361
- * QuickBooksConnectionConfig
5362
- *
5363
- * QuickBooks-specific connection configuration.
5364
- */
5365
- export type QuickBooksConnectionConfig = {
5634
+ description?: string | null;
5366
5635
  /**
5367
- * Realm Id
5368
- *
5369
- * QuickBooks Realm ID
5636
+ * Strategy
5370
5637
  */
5371
- realm_id?: string | null;
5638
+ strategy?: string | null;
5372
5639
  /**
5373
- * Refresh Token
5374
- *
5375
- * OAuth refresh token
5640
+ * Inception Date
5376
5641
  */
5377
- refresh_token?: string | null;
5378
- };
5379
- /**
5380
- * RateLimits
5381
- *
5382
- * API rate limits.
5383
- */
5384
- export type RateLimits = {
5642
+ inception_date?: string | null;
5385
5643
  /**
5386
- * Requests Per Minute
5387
- *
5388
- * Requests per minute limit
5644
+ * Base Currency
5389
5645
  */
5390
- requests_per_minute: number;
5646
+ base_currency: string;
5391
5647
  /**
5392
- * Requests Per Hour
5393
- *
5394
- * Requests per hour limit
5648
+ * Created At
5395
5649
  */
5396
- requests_per_hour: number;
5650
+ created_at: string;
5397
5651
  /**
5398
- * Burst Capacity
5399
- *
5400
- * Burst capacity for short spikes
5652
+ * Updated At
5401
5653
  */
5402
- burst_capacity: number;
5654
+ updated_at: string;
5403
5655
  };
5404
5656
  /**
5405
- * RegisterRequest
5406
- *
5407
- * Registration request model.
5657
+ * PositionListResponse
5408
5658
  */
5409
- export type RegisterRequest = {
5659
+ export type PositionListResponse = {
5410
5660
  /**
5411
- * Name
5412
- *
5413
- * User's display name
5661
+ * Positions
5414
5662
  */
5415
- name: string;
5416
- /**
5417
- * Email
5418
- *
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
+ };
5751
+ /**
5752
+ * QueryLimits
5753
+ *
5754
+ * Query operation limits.
5755
+ */
5756
+ export type QueryLimits = {
5757
+ /**
5758
+ * Max Timeout Seconds
5759
+ *
5760
+ * Maximum query timeout in seconds
5761
+ */
5762
+ max_timeout_seconds: number;
5763
+ /**
5764
+ * Chunk Size
5765
+ *
5766
+ * Maximum chunk size for result streaming
5767
+ */
5768
+ chunk_size: number;
5769
+ /**
5770
+ * Max Rows Per Query
5771
+ *
5772
+ * Maximum rows returned per query
5773
+ */
5774
+ max_rows_per_query: number;
5775
+ /**
5776
+ * Concurrent Queries
5777
+ *
5778
+ * Maximum concurrent queries allowed
5779
+ */
5780
+ concurrent_queries: number;
5781
+ };
5782
+ /**
5783
+ * QuickBooksConnectionConfig
5784
+ *
5785
+ * QuickBooks-specific connection configuration.
5786
+ */
5787
+ export type QuickBooksConnectionConfig = {
5788
+ /**
5789
+ * Realm Id
5790
+ *
5791
+ * QuickBooks Realm ID
5792
+ */
5793
+ realm_id?: string | null;
5794
+ /**
5795
+ * Refresh Token
5796
+ *
5797
+ * OAuth refresh token
5798
+ */
5799
+ refresh_token?: string | null;
5800
+ };
5801
+ /**
5802
+ * RateLimits
5803
+ *
5804
+ * API rate limits.
5805
+ */
5806
+ export type RateLimits = {
5807
+ /**
5808
+ * Requests Per Minute
5809
+ *
5810
+ * Requests per minute limit
5811
+ */
5812
+ requests_per_minute: number;
5813
+ /**
5814
+ * Requests Per Hour
5815
+ *
5816
+ * Requests per hour limit
5817
+ */
5818
+ requests_per_hour: number;
5819
+ /**
5820
+ * Burst Capacity
5821
+ *
5822
+ * Burst capacity for short spikes
5823
+ */
5824
+ burst_capacity: number;
5825
+ };
5826
+ /**
5827
+ * RegenerateReportRequest
5828
+ */
5829
+ export type RegenerateReportRequest = {
5830
+ /**
5831
+ * Period Start
5832
+ *
5833
+ * New period start date
5834
+ */
5835
+ period_start: string;
5836
+ /**
5837
+ * Period End
5838
+ *
5839
+ * New period end date
5840
+ */
5841
+ period_end: string;
5842
+ };
5843
+ /**
5844
+ * RegisterRequest
5845
+ *
5846
+ * Registration request model.
5847
+ */
5848
+ export type RegisterRequest = {
5849
+ /**
5850
+ * Name
5851
+ *
5852
+ * User's display name
5853
+ */
5854
+ name: string;
5855
+ /**
5856
+ * Email
5857
+ *
5419
5858
  * User's email address
5420
5859
  */
5421
5860
  email: string;
@@ -5432,6 +5871,86 @@ export type RegisterRequest = {
5432
5871
  */
5433
5872
  captcha_token?: string | null;
5434
5873
  };
5874
+ /**
5875
+ * ReportListResponse
5876
+ */
5877
+ export type ReportListResponse = {
5878
+ /**
5879
+ * Reports
5880
+ */
5881
+ reports: Array<ReportResponse>;
5882
+ };
5883
+ /**
5884
+ * ReportResponse
5885
+ *
5886
+ * Report definition summary.
5887
+ */
5888
+ export type ReportResponse = {
5889
+ /**
5890
+ * Id
5891
+ */
5892
+ id: string;
5893
+ /**
5894
+ * Name
5895
+ */
5896
+ name: string;
5897
+ /**
5898
+ * Taxonomy Id
5899
+ */
5900
+ taxonomy_id: string;
5901
+ /**
5902
+ * Generation Status
5903
+ */
5904
+ generation_status: string;
5905
+ /**
5906
+ * Period Type
5907
+ */
5908
+ period_type: string;
5909
+ /**
5910
+ * Period Start
5911
+ */
5912
+ period_start?: string | null;
5913
+ /**
5914
+ * Period End
5915
+ */
5916
+ period_end?: string | null;
5917
+ /**
5918
+ * Comparative
5919
+ */
5920
+ comparative: boolean;
5921
+ /**
5922
+ * Mapping Id
5923
+ */
5924
+ mapping_id?: string | null;
5925
+ /**
5926
+ * Ai Generated
5927
+ */
5928
+ ai_generated?: boolean;
5929
+ /**
5930
+ * Created At
5931
+ */
5932
+ created_at: string;
5933
+ /**
5934
+ * Last Generated
5935
+ */
5936
+ last_generated?: string | null;
5937
+ /**
5938
+ * Structures
5939
+ */
5940
+ structures?: Array<StructureSummary>;
5941
+ /**
5942
+ * Source Graph Id
5943
+ */
5944
+ source_graph_id?: string | null;
5945
+ /**
5946
+ * Source Report Id
5947
+ */
5948
+ source_report_id?: string | null;
5949
+ /**
5950
+ * Shared At
5951
+ */
5952
+ shared_at?: string | null;
5953
+ };
5435
5954
  /**
5436
5955
  * RepositoryInfo
5437
5956
  *
@@ -5969,42 +6488,107 @@ export type SearchResponse = {
5969
6488
  graph_id: string;
5970
6489
  };
5971
6490
  /**
5972
- * SelectionCriteria
5973
- *
5974
- * Criteria for agent selection.
6491
+ * SecurityListResponse
5975
6492
  */
5976
- export type SelectionCriteria = {
6493
+ export type SecurityListResponse = {
5977
6494
  /**
5978
- * Min Confidence
5979
- *
5980
- * Minimum confidence score
6495
+ * Securities
5981
6496
  */
5982
- min_confidence?: number;
6497
+ securities: Array<SecurityResponse>;
6498
+ pagination: PaginationInfo;
6499
+ };
6500
+ /**
6501
+ * SecurityResponse
6502
+ */
6503
+ export type SecurityResponse = {
5983
6504
  /**
5984
- * Required Capabilities
5985
- *
5986
- * Required agent capabilities
6505
+ * Id
5987
6506
  */
5988
- required_capabilities?: Array<string>;
6507
+ id: string;
5989
6508
  /**
5990
- * Preferred execution mode
6509
+ * Entity Id
5991
6510
  */
5992
- preferred_mode?: AgentMode | null;
6511
+ entity_id?: string | null;
5993
6512
  /**
5994
- * Max Response Time
5995
- *
5996
- * Maximum response time in seconds
6513
+ * Entity Name
5997
6514
  */
5998
- max_response_time?: number;
6515
+ entity_name?: string | null;
5999
6516
  /**
6000
- * Excluded Agents
6001
- *
6002
- * Agents to exclude from selection
6517
+ * Name
6003
6518
  */
6004
- excluded_agents?: Array<string>;
6005
- };
6006
- /**
6007
- * ServiceOfferingSummary
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>;
6589
+ };
6590
+ /**
6591
+ * ServiceOfferingSummary
6008
6592
  *
6009
6593
  * Summary of service offerings.
6010
6594
  */
@@ -6063,6 +6647,99 @@ export type ServiceOfferingsResponse = {
6063
6647
  */
6064
6648
  summary: ServiceOfferingSummary;
6065
6649
  };
6650
+ /**
6651
+ * ShareReportRequest
6652
+ */
6653
+ export type ShareReportRequest = {
6654
+ /**
6655
+ * Target Graph Ids
6656
+ *
6657
+ * Graph IDs to share the report to
6658
+ */
6659
+ target_graph_ids: Array<string>;
6660
+ };
6661
+ /**
6662
+ * ShareReportResponse
6663
+ */
6664
+ export type ShareReportResponse = {
6665
+ /**
6666
+ * Report Id
6667
+ */
6668
+ report_id: string;
6669
+ /**
6670
+ * Results
6671
+ */
6672
+ results: Array<ShareResultItem>;
6673
+ };
6674
+ /**
6675
+ * ShareResultItem
6676
+ */
6677
+ export type ShareResultItem = {
6678
+ /**
6679
+ * Target Graph Id
6680
+ */
6681
+ target_graph_id: string;
6682
+ /**
6683
+ * Status
6684
+ */
6685
+ status: string;
6686
+ /**
6687
+ * Error
6688
+ */
6689
+ error?: string | null;
6690
+ /**
6691
+ * Fact Count
6692
+ */
6693
+ fact_count?: number;
6694
+ };
6695
+ /**
6696
+ * StatementResponse
6697
+ *
6698
+ * Rendered financial statement — facts viewed through a structure.
6699
+ */
6700
+ export type StatementResponse = {
6701
+ /**
6702
+ * Report Id
6703
+ */
6704
+ report_id: string;
6705
+ /**
6706
+ * Structure Id
6707
+ */
6708
+ structure_id: string;
6709
+ /**
6710
+ * Structure Name
6711
+ */
6712
+ structure_name: string;
6713
+ /**
6714
+ * Structure Type
6715
+ */
6716
+ structure_type: string;
6717
+ /**
6718
+ * Period Start
6719
+ */
6720
+ period_start: string;
6721
+ /**
6722
+ * Period End
6723
+ */
6724
+ period_end: string;
6725
+ /**
6726
+ * Comparative Period Start
6727
+ */
6728
+ comparative_period_start?: string | null;
6729
+ /**
6730
+ * Comparative Period End
6731
+ */
6732
+ comparative_period_end?: string | null;
6733
+ /**
6734
+ * Rows
6735
+ */
6736
+ rows?: Array<FactRowResponse>;
6737
+ validation?: ValidationCheckResponse | null;
6738
+ /**
6739
+ * Unmapped Count
6740
+ */
6741
+ unmapped_count?: number;
6742
+ };
6066
6743
  /**
6067
6744
  * StorageLimitResponse
6068
6745
  *
@@ -6212,6 +6889,25 @@ export type StructureResponse = {
6212
6889
  */
6213
6890
  is_active: boolean;
6214
6891
  };
6892
+ /**
6893
+ * StructureSummary
6894
+ *
6895
+ * A structure available within this report's taxonomy.
6896
+ */
6897
+ export type StructureSummary = {
6898
+ /**
6899
+ * Id
6900
+ */
6901
+ id: string;
6902
+ /**
6903
+ * Name
6904
+ */
6905
+ name: string;
6906
+ /**
6907
+ * Structure Type
6908
+ */
6909
+ structure_type: string;
6910
+ };
6215
6911
  /**
6216
6912
  * SubgraphQuotaResponse
6217
6913
  *
@@ -7020,6 +7716,111 @@ export type UpdatePasswordRequest = {
7020
7716
  */
7021
7717
  confirm_password: string;
7022
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
+ };
7023
7824
  /**
7024
7825
  * UpdateUserRequest
7025
7826
  *
@@ -7108,6 +7909,27 @@ export type UserResponse = {
7108
7909
  */
7109
7910
  accounts?: Array<AccountInfo>;
7110
7911
  };
7912
+ /**
7913
+ * ValidationCheckResponse
7914
+ */
7915
+ export type ValidationCheckResponse = {
7916
+ /**
7917
+ * Passed
7918
+ */
7919
+ passed: boolean;
7920
+ /**
7921
+ * Checks
7922
+ */
7923
+ checks: Array<string>;
7924
+ /**
7925
+ * Failures
7926
+ */
7927
+ failures: Array<string>;
7928
+ /**
7929
+ * Warnings
7930
+ */
7931
+ warnings: Array<string>;
7932
+ };
7111
7933
  /**
7112
7934
  * ValidationError
7113
7935
  */
@@ -9628,9 +10450,8 @@ export type CreateSubgraphResponses = {
9628
10450
  /**
9629
10451
  * Successful Response
9630
10452
  */
9631
- 200: SubgraphResponse;
10453
+ 200: unknown;
9632
10454
  };
9633
- export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
9634
10455
  export type DeleteSubgraphData = {
9635
10456
  body: DeleteSubgraphRequest;
9636
10457
  path: {
@@ -11754,3 +12575,717 @@ export type GetLedgerSummaryResponses = {
11754
12575
  200: LedgerSummaryResponse;
11755
12576
  };
11756
12577
  export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];
12578
+ export type ListReportsData = {
12579
+ body?: never;
12580
+ path: {
12581
+ /**
12582
+ * Graph Id
12583
+ */
12584
+ graph_id: string;
12585
+ };
12586
+ query?: never;
12587
+ url: '/v1/ledger/{graph_id}/reports';
12588
+ };
12589
+ export type ListReportsErrors = {
12590
+ /**
12591
+ * Validation Error
12592
+ */
12593
+ 422: HttpValidationError;
12594
+ };
12595
+ export type ListReportsError = ListReportsErrors[keyof ListReportsErrors];
12596
+ export type ListReportsResponses = {
12597
+ /**
12598
+ * Successful Response
12599
+ */
12600
+ 200: ReportListResponse;
12601
+ };
12602
+ export type ListReportsResponse = ListReportsResponses[keyof ListReportsResponses];
12603
+ export type CreateReportData = {
12604
+ body: CreateReportRequest;
12605
+ path: {
12606
+ /**
12607
+ * Graph Id
12608
+ */
12609
+ graph_id: string;
12610
+ };
12611
+ query?: never;
12612
+ url: '/v1/ledger/{graph_id}/reports';
12613
+ };
12614
+ export type CreateReportErrors = {
12615
+ /**
12616
+ * Validation Error
12617
+ */
12618
+ 422: HttpValidationError;
12619
+ };
12620
+ export type CreateReportError = CreateReportErrors[keyof CreateReportErrors];
12621
+ export type CreateReportResponses = {
12622
+ /**
12623
+ * Successful Response
12624
+ */
12625
+ 201: ReportResponse;
12626
+ };
12627
+ export type CreateReportResponse = CreateReportResponses[keyof CreateReportResponses];
12628
+ export type DeleteReportData = {
12629
+ body?: never;
12630
+ path: {
12631
+ /**
12632
+ * Graph Id
12633
+ */
12634
+ graph_id: string;
12635
+ /**
12636
+ * Report Id
12637
+ *
12638
+ * Report definition ID
12639
+ */
12640
+ report_id: string;
12641
+ };
12642
+ query?: never;
12643
+ url: '/v1/ledger/{graph_id}/reports/{report_id}';
12644
+ };
12645
+ export type DeleteReportErrors = {
12646
+ /**
12647
+ * Validation Error
12648
+ */
12649
+ 422: HttpValidationError;
12650
+ };
12651
+ export type DeleteReportError = DeleteReportErrors[keyof DeleteReportErrors];
12652
+ export type DeleteReportResponses = {
12653
+ /**
12654
+ * Successful Response
12655
+ */
12656
+ 204: void;
12657
+ };
12658
+ export type DeleteReportResponse = DeleteReportResponses[keyof DeleteReportResponses];
12659
+ export type GetReportData = {
12660
+ body?: never;
12661
+ path: {
12662
+ /**
12663
+ * Graph Id
12664
+ */
12665
+ graph_id: string;
12666
+ /**
12667
+ * Report Id
12668
+ *
12669
+ * Report definition ID
12670
+ */
12671
+ report_id: string;
12672
+ };
12673
+ query?: never;
12674
+ url: '/v1/ledger/{graph_id}/reports/{report_id}';
12675
+ };
12676
+ export type GetReportErrors = {
12677
+ /**
12678
+ * Validation Error
12679
+ */
12680
+ 422: HttpValidationError;
12681
+ };
12682
+ export type GetReportError = GetReportErrors[keyof GetReportErrors];
12683
+ export type GetReportResponses = {
12684
+ /**
12685
+ * Successful Response
12686
+ */
12687
+ 200: ReportResponse;
12688
+ };
12689
+ export type GetReportResponse = GetReportResponses[keyof GetReportResponses];
12690
+ export type GetStatementData = {
12691
+ body?: never;
12692
+ path: {
12693
+ /**
12694
+ * Graph Id
12695
+ */
12696
+ graph_id: string;
12697
+ /**
12698
+ * Report Id
12699
+ *
12700
+ * Report definition ID
12701
+ */
12702
+ report_id: string;
12703
+ /**
12704
+ * Structure Type
12705
+ *
12706
+ * Structure type: income_statement, balance_sheet, cash_flow_statement
12707
+ */
12708
+ structure_type: string;
12709
+ };
12710
+ query?: never;
12711
+ url: '/v1/ledger/{graph_id}/reports/{report_id}/statements/{structure_type}';
12712
+ };
12713
+ export type GetStatementErrors = {
12714
+ /**
12715
+ * Validation Error
12716
+ */
12717
+ 422: HttpValidationError;
12718
+ };
12719
+ export type GetStatementError = GetStatementErrors[keyof GetStatementErrors];
12720
+ export type GetStatementResponses = {
12721
+ /**
12722
+ * Successful Response
12723
+ */
12724
+ 200: StatementResponse;
12725
+ };
12726
+ export type GetStatementResponse = GetStatementResponses[keyof GetStatementResponses];
12727
+ export type RegenerateReportData = {
12728
+ body: RegenerateReportRequest;
12729
+ path: {
12730
+ /**
12731
+ * Graph Id
12732
+ */
12733
+ graph_id: string;
12734
+ /**
12735
+ * Report Id
12736
+ *
12737
+ * Report definition ID
12738
+ */
12739
+ report_id: string;
12740
+ };
12741
+ query?: never;
12742
+ url: '/v1/ledger/{graph_id}/reports/{report_id}/regenerate';
12743
+ };
12744
+ export type RegenerateReportErrors = {
12745
+ /**
12746
+ * Validation Error
12747
+ */
12748
+ 422: HttpValidationError;
12749
+ };
12750
+ export type RegenerateReportError = RegenerateReportErrors[keyof RegenerateReportErrors];
12751
+ export type RegenerateReportResponses = {
12752
+ /**
12753
+ * Successful Response
12754
+ */
12755
+ 200: ReportResponse;
12756
+ };
12757
+ export type RegenerateReportResponse = RegenerateReportResponses[keyof RegenerateReportResponses];
12758
+ export type ShareReportData = {
12759
+ body: ShareReportRequest;
12760
+ path: {
12761
+ /**
12762
+ * Graph Id
12763
+ */
12764
+ graph_id: string;
12765
+ /**
12766
+ * Report Id
12767
+ *
12768
+ * Report definition ID
12769
+ */
12770
+ report_id: string;
12771
+ };
12772
+ query?: never;
12773
+ url: '/v1/ledger/{graph_id}/reports/{report_id}/share';
12774
+ };
12775
+ export type ShareReportErrors = {
12776
+ /**
12777
+ * Validation Error
12778
+ */
12779
+ 422: HttpValidationError;
12780
+ };
12781
+ export type ShareReportError = ShareReportErrors[keyof ShareReportErrors];
12782
+ export type ShareReportResponses = {
12783
+ /**
12784
+ * Successful Response
12785
+ */
12786
+ 200: ShareReportResponse;
12787
+ };
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];