@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.
- package/extensions/LedgerClient.d.ts +139 -0
- package/extensions/LedgerClient.js +320 -0
- package/extensions/LedgerClient.ts +486 -0
- package/extensions/ReportClient.d.ts +109 -0
- package/extensions/ReportClient.js +182 -0
- package/extensions/ReportClient.ts +320 -0
- package/extensions/index.d.ts +9 -1
- package/extensions/index.js +25 -1
- package/extensions/index.ts +28 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +27 -3
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +117 -1
- package/sdk/sdk.gen.js +269 -1
- package/sdk/sdk.gen.ts +268 -1
- package/sdk/types.gen.d.ts +1627 -92
- package/sdk/types.gen.ts +1761 -86
- package/sdk-extensions/LedgerClient.d.ts +139 -0
- package/sdk-extensions/LedgerClient.js +320 -0
- package/sdk-extensions/LedgerClient.ts +486 -0
- package/sdk-extensions/ReportClient.d.ts +109 -0
- package/sdk-extensions/ReportClient.js +182 -0
- package/sdk-extensions/ReportClient.ts +320 -0
- package/sdk-extensions/index.d.ts +9 -1
- package/sdk-extensions/index.js +25 -1
- package/sdk-extensions/index.ts +28 -0
- package/sdk.gen.d.ts +117 -1
- package/sdk.gen.js +269 -1
- package/sdk.gen.ts +268 -1
- package/types.gen.d.ts +1627 -92
- package/types.gen.ts +1761 -86
package/sdk/types.gen.ts
CHANGED
|
@@ -1576,6 +1576,130 @@ 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
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* CreateReportRequest
|
|
1657
|
+
*/
|
|
1658
|
+
export type CreateReportRequest = {
|
|
1659
|
+
/**
|
|
1660
|
+
* Name
|
|
1661
|
+
*
|
|
1662
|
+
* Report name
|
|
1663
|
+
*/
|
|
1664
|
+
name: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* Taxonomy Id
|
|
1667
|
+
*
|
|
1668
|
+
* Taxonomy ID — determines which structures are available
|
|
1669
|
+
*/
|
|
1670
|
+
taxonomy_id?: string;
|
|
1671
|
+
/**
|
|
1672
|
+
* Mapping Id
|
|
1673
|
+
*
|
|
1674
|
+
* Mapping structure ID for CoA→GAAP rollup
|
|
1675
|
+
*/
|
|
1676
|
+
mapping_id: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Period Start
|
|
1679
|
+
*
|
|
1680
|
+
* Period start date (inclusive)
|
|
1681
|
+
*/
|
|
1682
|
+
period_start: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* Period End
|
|
1685
|
+
*
|
|
1686
|
+
* Period end date (inclusive)
|
|
1687
|
+
*/
|
|
1688
|
+
period_end: string;
|
|
1689
|
+
/**
|
|
1690
|
+
* Period Type
|
|
1691
|
+
*
|
|
1692
|
+
* Period type: monthly, quarterly, annual
|
|
1693
|
+
*/
|
|
1694
|
+
period_type?: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* Comparative
|
|
1697
|
+
*
|
|
1698
|
+
* Include prior period comparison
|
|
1699
|
+
*/
|
|
1700
|
+
comparative?: boolean;
|
|
1701
|
+
};
|
|
1702
|
+
|
|
1579
1703
|
/**
|
|
1580
1704
|
* CreateRepositorySubscriptionRequest
|
|
1581
1705
|
*
|
|
@@ -1590,6 +1714,46 @@ export type CreateRepositorySubscriptionRequest = {
|
|
|
1590
1714
|
plan_name: string;
|
|
1591
1715
|
};
|
|
1592
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
|
+
|
|
1593
1757
|
/**
|
|
1594
1758
|
* CreateStructureRequest
|
|
1595
1759
|
*/
|
|
@@ -2784,6 +2948,44 @@ export type ErrorResponse = {
|
|
|
2784
2948
|
timestamp?: string | null;
|
|
2785
2949
|
};
|
|
2786
2950
|
|
|
2951
|
+
/**
|
|
2952
|
+
* FactRowResponse
|
|
2953
|
+
*/
|
|
2954
|
+
export type FactRowResponse = {
|
|
2955
|
+
/**
|
|
2956
|
+
* Element Id
|
|
2957
|
+
*/
|
|
2958
|
+
element_id: string;
|
|
2959
|
+
/**
|
|
2960
|
+
* Element Qname
|
|
2961
|
+
*/
|
|
2962
|
+
element_qname: string;
|
|
2963
|
+
/**
|
|
2964
|
+
* Element Name
|
|
2965
|
+
*/
|
|
2966
|
+
element_name: string;
|
|
2967
|
+
/**
|
|
2968
|
+
* Classification
|
|
2969
|
+
*/
|
|
2970
|
+
classification: string;
|
|
2971
|
+
/**
|
|
2972
|
+
* Current Value
|
|
2973
|
+
*/
|
|
2974
|
+
current_value: number;
|
|
2975
|
+
/**
|
|
2976
|
+
* Prior Value
|
|
2977
|
+
*/
|
|
2978
|
+
prior_value?: number | null;
|
|
2979
|
+
/**
|
|
2980
|
+
* Is Subtotal
|
|
2981
|
+
*/
|
|
2982
|
+
is_subtotal?: boolean;
|
|
2983
|
+
/**
|
|
2984
|
+
* Depth
|
|
2985
|
+
*/
|
|
2986
|
+
depth?: number;
|
|
2987
|
+
};
|
|
2988
|
+
|
|
2787
2989
|
/**
|
|
2788
2990
|
* FileInfo
|
|
2789
2991
|
*/
|
|
@@ -3823,6 +4025,92 @@ export type HealthStatus = {
|
|
|
3823
4025
|
} | null;
|
|
3824
4026
|
};
|
|
3825
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
|
+
|
|
3826
4114
|
/**
|
|
3827
4115
|
* InitialEntityData
|
|
3828
4116
|
*
|
|
@@ -5471,81 +5759,245 @@ export type PortalSessionResponse = {
|
|
|
5471
5759
|
};
|
|
5472
5760
|
|
|
5473
5761
|
/**
|
|
5474
|
-
*
|
|
5475
|
-
*
|
|
5476
|
-
* Query operation limits.
|
|
5762
|
+
* PortfolioListResponse
|
|
5477
5763
|
*/
|
|
5478
|
-
export type
|
|
5764
|
+
export type PortfolioListResponse = {
|
|
5479
5765
|
/**
|
|
5480
|
-
*
|
|
5481
|
-
*
|
|
5482
|
-
* Maximum query timeout in seconds
|
|
5766
|
+
* Portfolios
|
|
5483
5767
|
*/
|
|
5484
|
-
|
|
5768
|
+
portfolios: Array<PortfolioResponse>;
|
|
5769
|
+
pagination: PaginationInfo;
|
|
5770
|
+
};
|
|
5771
|
+
|
|
5772
|
+
/**
|
|
5773
|
+
* PortfolioResponse
|
|
5774
|
+
*/
|
|
5775
|
+
export type PortfolioResponse = {
|
|
5485
5776
|
/**
|
|
5486
|
-
*
|
|
5487
|
-
*
|
|
5488
|
-
* Maximum chunk size for result streaming
|
|
5777
|
+
* Id
|
|
5489
5778
|
*/
|
|
5490
|
-
|
|
5779
|
+
id: string;
|
|
5491
5780
|
/**
|
|
5492
|
-
*
|
|
5493
|
-
*
|
|
5494
|
-
* Maximum rows returned per query
|
|
5781
|
+
* Name
|
|
5495
5782
|
*/
|
|
5496
|
-
|
|
5783
|
+
name: string;
|
|
5497
5784
|
/**
|
|
5498
|
-
*
|
|
5499
|
-
*
|
|
5500
|
-
* Maximum concurrent queries allowed
|
|
5785
|
+
* Description
|
|
5501
5786
|
*/
|
|
5502
|
-
|
|
5503
|
-
};
|
|
5504
|
-
|
|
5505
|
-
/**
|
|
5506
|
-
* QuickBooksConnectionConfig
|
|
5507
|
-
*
|
|
5508
|
-
* QuickBooks-specific connection configuration.
|
|
5509
|
-
*/
|
|
5510
|
-
export type QuickBooksConnectionConfig = {
|
|
5787
|
+
description?: string | null;
|
|
5511
5788
|
/**
|
|
5512
|
-
*
|
|
5513
|
-
*
|
|
5514
|
-
* QuickBooks Realm ID
|
|
5789
|
+
* Strategy
|
|
5515
5790
|
*/
|
|
5516
|
-
|
|
5791
|
+
strategy?: string | null;
|
|
5517
5792
|
/**
|
|
5518
|
-
*
|
|
5519
|
-
*
|
|
5520
|
-
* OAuth refresh token
|
|
5793
|
+
* Inception Date
|
|
5521
5794
|
*/
|
|
5522
|
-
|
|
5523
|
-
};
|
|
5524
|
-
|
|
5525
|
-
/**
|
|
5526
|
-
* RateLimits
|
|
5527
|
-
*
|
|
5528
|
-
* API rate limits.
|
|
5529
|
-
*/
|
|
5530
|
-
export type RateLimits = {
|
|
5795
|
+
inception_date?: string | null;
|
|
5531
5796
|
/**
|
|
5532
|
-
*
|
|
5533
|
-
*
|
|
5534
|
-
* Requests per minute limit
|
|
5797
|
+
* Base Currency
|
|
5535
5798
|
*/
|
|
5536
|
-
|
|
5799
|
+
base_currency: string;
|
|
5537
5800
|
/**
|
|
5538
|
-
*
|
|
5539
|
-
*
|
|
5540
|
-
* Requests per hour limit
|
|
5801
|
+
* Created At
|
|
5541
5802
|
*/
|
|
5542
|
-
|
|
5803
|
+
created_at: string;
|
|
5543
5804
|
/**
|
|
5544
|
-
*
|
|
5545
|
-
*
|
|
5546
|
-
* Burst capacity for short spikes
|
|
5805
|
+
* Updated At
|
|
5547
5806
|
*/
|
|
5548
|
-
|
|
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
|
+
|
|
5907
|
+
/**
|
|
5908
|
+
* QueryLimits
|
|
5909
|
+
*
|
|
5910
|
+
* Query operation limits.
|
|
5911
|
+
*/
|
|
5912
|
+
export type QueryLimits = {
|
|
5913
|
+
/**
|
|
5914
|
+
* Max Timeout Seconds
|
|
5915
|
+
*
|
|
5916
|
+
* Maximum query timeout in seconds
|
|
5917
|
+
*/
|
|
5918
|
+
max_timeout_seconds: number;
|
|
5919
|
+
/**
|
|
5920
|
+
* Chunk Size
|
|
5921
|
+
*
|
|
5922
|
+
* Maximum chunk size for result streaming
|
|
5923
|
+
*/
|
|
5924
|
+
chunk_size: number;
|
|
5925
|
+
/**
|
|
5926
|
+
* Max Rows Per Query
|
|
5927
|
+
*
|
|
5928
|
+
* Maximum rows returned per query
|
|
5929
|
+
*/
|
|
5930
|
+
max_rows_per_query: number;
|
|
5931
|
+
/**
|
|
5932
|
+
* Concurrent Queries
|
|
5933
|
+
*
|
|
5934
|
+
* Maximum concurrent queries allowed
|
|
5935
|
+
*/
|
|
5936
|
+
concurrent_queries: number;
|
|
5937
|
+
};
|
|
5938
|
+
|
|
5939
|
+
/**
|
|
5940
|
+
* QuickBooksConnectionConfig
|
|
5941
|
+
*
|
|
5942
|
+
* QuickBooks-specific connection configuration.
|
|
5943
|
+
*/
|
|
5944
|
+
export type QuickBooksConnectionConfig = {
|
|
5945
|
+
/**
|
|
5946
|
+
* Realm Id
|
|
5947
|
+
*
|
|
5948
|
+
* QuickBooks Realm ID
|
|
5949
|
+
*/
|
|
5950
|
+
realm_id?: string | null;
|
|
5951
|
+
/**
|
|
5952
|
+
* Refresh Token
|
|
5953
|
+
*
|
|
5954
|
+
* OAuth refresh token
|
|
5955
|
+
*/
|
|
5956
|
+
refresh_token?: string | null;
|
|
5957
|
+
};
|
|
5958
|
+
|
|
5959
|
+
/**
|
|
5960
|
+
* RateLimits
|
|
5961
|
+
*
|
|
5962
|
+
* API rate limits.
|
|
5963
|
+
*/
|
|
5964
|
+
export type RateLimits = {
|
|
5965
|
+
/**
|
|
5966
|
+
* Requests Per Minute
|
|
5967
|
+
*
|
|
5968
|
+
* Requests per minute limit
|
|
5969
|
+
*/
|
|
5970
|
+
requests_per_minute: number;
|
|
5971
|
+
/**
|
|
5972
|
+
* Requests Per Hour
|
|
5973
|
+
*
|
|
5974
|
+
* Requests per hour limit
|
|
5975
|
+
*/
|
|
5976
|
+
requests_per_hour: number;
|
|
5977
|
+
/**
|
|
5978
|
+
* Burst Capacity
|
|
5979
|
+
*
|
|
5980
|
+
* Burst capacity for short spikes
|
|
5981
|
+
*/
|
|
5982
|
+
burst_capacity: number;
|
|
5983
|
+
};
|
|
5984
|
+
|
|
5985
|
+
/**
|
|
5986
|
+
* RegenerateReportRequest
|
|
5987
|
+
*/
|
|
5988
|
+
export type RegenerateReportRequest = {
|
|
5989
|
+
/**
|
|
5990
|
+
* Period Start
|
|
5991
|
+
*
|
|
5992
|
+
* New period start date
|
|
5993
|
+
*/
|
|
5994
|
+
period_start: string;
|
|
5995
|
+
/**
|
|
5996
|
+
* Period End
|
|
5997
|
+
*
|
|
5998
|
+
* New period end date
|
|
5999
|
+
*/
|
|
6000
|
+
period_end: string;
|
|
5549
6001
|
};
|
|
5550
6002
|
|
|
5551
6003
|
/**
|
|
@@ -5580,6 +6032,88 @@ export type RegisterRequest = {
|
|
|
5580
6032
|
captcha_token?: string | null;
|
|
5581
6033
|
};
|
|
5582
6034
|
|
|
6035
|
+
/**
|
|
6036
|
+
* ReportListResponse
|
|
6037
|
+
*/
|
|
6038
|
+
export type ReportListResponse = {
|
|
6039
|
+
/**
|
|
6040
|
+
* Reports
|
|
6041
|
+
*/
|
|
6042
|
+
reports: Array<ReportResponse>;
|
|
6043
|
+
};
|
|
6044
|
+
|
|
6045
|
+
/**
|
|
6046
|
+
* ReportResponse
|
|
6047
|
+
*
|
|
6048
|
+
* Report definition summary.
|
|
6049
|
+
*/
|
|
6050
|
+
export type ReportResponse = {
|
|
6051
|
+
/**
|
|
6052
|
+
* Id
|
|
6053
|
+
*/
|
|
6054
|
+
id: string;
|
|
6055
|
+
/**
|
|
6056
|
+
* Name
|
|
6057
|
+
*/
|
|
6058
|
+
name: string;
|
|
6059
|
+
/**
|
|
6060
|
+
* Taxonomy Id
|
|
6061
|
+
*/
|
|
6062
|
+
taxonomy_id: string;
|
|
6063
|
+
/**
|
|
6064
|
+
* Generation Status
|
|
6065
|
+
*/
|
|
6066
|
+
generation_status: string;
|
|
6067
|
+
/**
|
|
6068
|
+
* Period Type
|
|
6069
|
+
*/
|
|
6070
|
+
period_type: string;
|
|
6071
|
+
/**
|
|
6072
|
+
* Period Start
|
|
6073
|
+
*/
|
|
6074
|
+
period_start?: string | null;
|
|
6075
|
+
/**
|
|
6076
|
+
* Period End
|
|
6077
|
+
*/
|
|
6078
|
+
period_end?: string | null;
|
|
6079
|
+
/**
|
|
6080
|
+
* Comparative
|
|
6081
|
+
*/
|
|
6082
|
+
comparative: boolean;
|
|
6083
|
+
/**
|
|
6084
|
+
* Mapping Id
|
|
6085
|
+
*/
|
|
6086
|
+
mapping_id?: string | null;
|
|
6087
|
+
/**
|
|
6088
|
+
* Ai Generated
|
|
6089
|
+
*/
|
|
6090
|
+
ai_generated?: boolean;
|
|
6091
|
+
/**
|
|
6092
|
+
* Created At
|
|
6093
|
+
*/
|
|
6094
|
+
created_at: string;
|
|
6095
|
+
/**
|
|
6096
|
+
* Last Generated
|
|
6097
|
+
*/
|
|
6098
|
+
last_generated?: string | null;
|
|
6099
|
+
/**
|
|
6100
|
+
* Structures
|
|
6101
|
+
*/
|
|
6102
|
+
structures?: Array<StructureSummary>;
|
|
6103
|
+
/**
|
|
6104
|
+
* Source Graph Id
|
|
6105
|
+
*/
|
|
6106
|
+
source_graph_id?: string | null;
|
|
6107
|
+
/**
|
|
6108
|
+
* Source Report Id
|
|
6109
|
+
*/
|
|
6110
|
+
source_report_id?: string | null;
|
|
6111
|
+
/**
|
|
6112
|
+
* Shared At
|
|
6113
|
+
*/
|
|
6114
|
+
shared_at?: string | null;
|
|
6115
|
+
};
|
|
6116
|
+
|
|
5583
6117
|
/**
|
|
5584
6118
|
* RepositoryInfo
|
|
5585
6119
|
*
|
|
@@ -6134,44 +6668,111 @@ export type SearchResponse = {
|
|
|
6134
6668
|
};
|
|
6135
6669
|
|
|
6136
6670
|
/**
|
|
6137
|
-
*
|
|
6138
|
-
*
|
|
6139
|
-
* Criteria for agent selection.
|
|
6671
|
+
* SecurityListResponse
|
|
6140
6672
|
*/
|
|
6141
|
-
export type
|
|
6673
|
+
export type SecurityListResponse = {
|
|
6142
6674
|
/**
|
|
6143
|
-
*
|
|
6144
|
-
*
|
|
6145
|
-
* Minimum confidence score
|
|
6675
|
+
* Securities
|
|
6146
6676
|
*/
|
|
6147
|
-
|
|
6677
|
+
securities: Array<SecurityResponse>;
|
|
6678
|
+
pagination: PaginationInfo;
|
|
6679
|
+
};
|
|
6680
|
+
|
|
6681
|
+
/**
|
|
6682
|
+
* SecurityResponse
|
|
6683
|
+
*/
|
|
6684
|
+
export type SecurityResponse = {
|
|
6148
6685
|
/**
|
|
6149
|
-
*
|
|
6150
|
-
*
|
|
6151
|
-
* Required agent capabilities
|
|
6686
|
+
* Id
|
|
6152
6687
|
*/
|
|
6153
|
-
|
|
6688
|
+
id: string;
|
|
6154
6689
|
/**
|
|
6155
|
-
*
|
|
6690
|
+
* Entity Id
|
|
6156
6691
|
*/
|
|
6157
|
-
|
|
6692
|
+
entity_id?: string | null;
|
|
6158
6693
|
/**
|
|
6159
|
-
*
|
|
6160
|
-
*
|
|
6161
|
-
* Maximum response time in seconds
|
|
6694
|
+
* Entity Name
|
|
6162
6695
|
*/
|
|
6163
|
-
|
|
6696
|
+
entity_name?: string | null;
|
|
6164
6697
|
/**
|
|
6165
|
-
*
|
|
6166
|
-
*
|
|
6167
|
-
* Agents to exclude from selection
|
|
6698
|
+
* Name
|
|
6168
6699
|
*/
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
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;
|
|
6759
|
+
/**
|
|
6760
|
+
* Max Response Time
|
|
6761
|
+
*
|
|
6762
|
+
* Maximum response time in seconds
|
|
6763
|
+
*/
|
|
6764
|
+
max_response_time?: number;
|
|
6765
|
+
/**
|
|
6766
|
+
* Excluded Agents
|
|
6767
|
+
*
|
|
6768
|
+
* Agents to exclude from selection
|
|
6769
|
+
*/
|
|
6770
|
+
excluded_agents?: Array<string>;
|
|
6771
|
+
};
|
|
6772
|
+
|
|
6773
|
+
/**
|
|
6774
|
+
* ServiceOfferingSummary
|
|
6775
|
+
*
|
|
6175
6776
|
* Summary of service offerings.
|
|
6176
6777
|
*/
|
|
6177
6778
|
export type ServiceOfferingSummary = {
|
|
@@ -6231,6 +6832,103 @@ export type ServiceOfferingsResponse = {
|
|
|
6231
6832
|
summary: ServiceOfferingSummary;
|
|
6232
6833
|
};
|
|
6233
6834
|
|
|
6835
|
+
/**
|
|
6836
|
+
* ShareReportRequest
|
|
6837
|
+
*/
|
|
6838
|
+
export type ShareReportRequest = {
|
|
6839
|
+
/**
|
|
6840
|
+
* Target Graph Ids
|
|
6841
|
+
*
|
|
6842
|
+
* Graph IDs to share the report to
|
|
6843
|
+
*/
|
|
6844
|
+
target_graph_ids: Array<string>;
|
|
6845
|
+
};
|
|
6846
|
+
|
|
6847
|
+
/**
|
|
6848
|
+
* ShareReportResponse
|
|
6849
|
+
*/
|
|
6850
|
+
export type ShareReportResponse = {
|
|
6851
|
+
/**
|
|
6852
|
+
* Report Id
|
|
6853
|
+
*/
|
|
6854
|
+
report_id: string;
|
|
6855
|
+
/**
|
|
6856
|
+
* Results
|
|
6857
|
+
*/
|
|
6858
|
+
results: Array<ShareResultItem>;
|
|
6859
|
+
};
|
|
6860
|
+
|
|
6861
|
+
/**
|
|
6862
|
+
* ShareResultItem
|
|
6863
|
+
*/
|
|
6864
|
+
export type ShareResultItem = {
|
|
6865
|
+
/**
|
|
6866
|
+
* Target Graph Id
|
|
6867
|
+
*/
|
|
6868
|
+
target_graph_id: string;
|
|
6869
|
+
/**
|
|
6870
|
+
* Status
|
|
6871
|
+
*/
|
|
6872
|
+
status: string;
|
|
6873
|
+
/**
|
|
6874
|
+
* Error
|
|
6875
|
+
*/
|
|
6876
|
+
error?: string | null;
|
|
6877
|
+
/**
|
|
6878
|
+
* Fact Count
|
|
6879
|
+
*/
|
|
6880
|
+
fact_count?: number;
|
|
6881
|
+
};
|
|
6882
|
+
|
|
6883
|
+
/**
|
|
6884
|
+
* StatementResponse
|
|
6885
|
+
*
|
|
6886
|
+
* Rendered financial statement — facts viewed through a structure.
|
|
6887
|
+
*/
|
|
6888
|
+
export type StatementResponse = {
|
|
6889
|
+
/**
|
|
6890
|
+
* Report Id
|
|
6891
|
+
*/
|
|
6892
|
+
report_id: string;
|
|
6893
|
+
/**
|
|
6894
|
+
* Structure Id
|
|
6895
|
+
*/
|
|
6896
|
+
structure_id: string;
|
|
6897
|
+
/**
|
|
6898
|
+
* Structure Name
|
|
6899
|
+
*/
|
|
6900
|
+
structure_name: string;
|
|
6901
|
+
/**
|
|
6902
|
+
* Structure Type
|
|
6903
|
+
*/
|
|
6904
|
+
structure_type: string;
|
|
6905
|
+
/**
|
|
6906
|
+
* Period Start
|
|
6907
|
+
*/
|
|
6908
|
+
period_start: string;
|
|
6909
|
+
/**
|
|
6910
|
+
* Period End
|
|
6911
|
+
*/
|
|
6912
|
+
period_end: string;
|
|
6913
|
+
/**
|
|
6914
|
+
* Comparative Period Start
|
|
6915
|
+
*/
|
|
6916
|
+
comparative_period_start?: string | null;
|
|
6917
|
+
/**
|
|
6918
|
+
* Comparative Period End
|
|
6919
|
+
*/
|
|
6920
|
+
comparative_period_end?: string | null;
|
|
6921
|
+
/**
|
|
6922
|
+
* Rows
|
|
6923
|
+
*/
|
|
6924
|
+
rows?: Array<FactRowResponse>;
|
|
6925
|
+
validation?: ValidationCheckResponse | null;
|
|
6926
|
+
/**
|
|
6927
|
+
* Unmapped Count
|
|
6928
|
+
*/
|
|
6929
|
+
unmapped_count?: number;
|
|
6930
|
+
};
|
|
6931
|
+
|
|
6234
6932
|
/**
|
|
6235
6933
|
* StorageLimitResponse
|
|
6236
6934
|
*
|
|
@@ -6385,6 +7083,26 @@ export type StructureResponse = {
|
|
|
6385
7083
|
is_active: boolean;
|
|
6386
7084
|
};
|
|
6387
7085
|
|
|
7086
|
+
/**
|
|
7087
|
+
* StructureSummary
|
|
7088
|
+
*
|
|
7089
|
+
* A structure available within this report's taxonomy.
|
|
7090
|
+
*/
|
|
7091
|
+
export type StructureSummary = {
|
|
7092
|
+
/**
|
|
7093
|
+
* Id
|
|
7094
|
+
*/
|
|
7095
|
+
id: string;
|
|
7096
|
+
/**
|
|
7097
|
+
* Name
|
|
7098
|
+
*/
|
|
7099
|
+
name: string;
|
|
7100
|
+
/**
|
|
7101
|
+
* Structure Type
|
|
7102
|
+
*/
|
|
7103
|
+
structure_type: string;
|
|
7104
|
+
};
|
|
7105
|
+
|
|
6388
7106
|
/**
|
|
6389
7107
|
* SubgraphQuotaResponse
|
|
6390
7108
|
*
|
|
@@ -7218,6 +7936,114 @@ export type UpdatePasswordRequest = {
|
|
|
7218
7936
|
confirm_password: string;
|
|
7219
7937
|
};
|
|
7220
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
|
+
|
|
7221
8047
|
/**
|
|
7222
8048
|
* UpdateUserRequest
|
|
7223
8049
|
*
|
|
@@ -7310,6 +8136,28 @@ export type UserResponse = {
|
|
|
7310
8136
|
accounts?: Array<AccountInfo>;
|
|
7311
8137
|
};
|
|
7312
8138
|
|
|
8139
|
+
/**
|
|
8140
|
+
* ValidationCheckResponse
|
|
8141
|
+
*/
|
|
8142
|
+
export type ValidationCheckResponse = {
|
|
8143
|
+
/**
|
|
8144
|
+
* Passed
|
|
8145
|
+
*/
|
|
8146
|
+
passed: boolean;
|
|
8147
|
+
/**
|
|
8148
|
+
* Checks
|
|
8149
|
+
*/
|
|
8150
|
+
checks: Array<string>;
|
|
8151
|
+
/**
|
|
8152
|
+
* Failures
|
|
8153
|
+
*/
|
|
8154
|
+
failures: Array<string>;
|
|
8155
|
+
/**
|
|
8156
|
+
* Warnings
|
|
8157
|
+
*/
|
|
8158
|
+
warnings: Array<string>;
|
|
8159
|
+
};
|
|
8160
|
+
|
|
7313
8161
|
/**
|
|
7314
8162
|
* ValidationError
|
|
7315
8163
|
*/
|
|
@@ -10167,11 +11015,9 @@ export type CreateSubgraphResponses = {
|
|
|
10167
11015
|
/**
|
|
10168
11016
|
* Successful Response
|
|
10169
11017
|
*/
|
|
10170
|
-
200:
|
|
11018
|
+
200: unknown;
|
|
10171
11019
|
};
|
|
10172
11020
|
|
|
10173
|
-
export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
|
|
10174
|
-
|
|
10175
11021
|
export type DeleteSubgraphData = {
|
|
10176
11022
|
body: DeleteSubgraphRequest;
|
|
10177
11023
|
path: {
|
|
@@ -12601,3 +13447,832 @@ export type GetLedgerSummaryResponses = {
|
|
|
12601
13447
|
};
|
|
12602
13448
|
|
|
12603
13449
|
export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];
|
|
13450
|
+
|
|
13451
|
+
export type ListReportsData = {
|
|
13452
|
+
body?: never;
|
|
13453
|
+
path: {
|
|
13454
|
+
/**
|
|
13455
|
+
* Graph Id
|
|
13456
|
+
*/
|
|
13457
|
+
graph_id: string;
|
|
13458
|
+
};
|
|
13459
|
+
query?: never;
|
|
13460
|
+
url: '/v1/ledger/{graph_id}/reports';
|
|
13461
|
+
};
|
|
13462
|
+
|
|
13463
|
+
export type ListReportsErrors = {
|
|
13464
|
+
/**
|
|
13465
|
+
* Validation Error
|
|
13466
|
+
*/
|
|
13467
|
+
422: HttpValidationError;
|
|
13468
|
+
};
|
|
13469
|
+
|
|
13470
|
+
export type ListReportsError = ListReportsErrors[keyof ListReportsErrors];
|
|
13471
|
+
|
|
13472
|
+
export type ListReportsResponses = {
|
|
13473
|
+
/**
|
|
13474
|
+
* Successful Response
|
|
13475
|
+
*/
|
|
13476
|
+
200: ReportListResponse;
|
|
13477
|
+
};
|
|
13478
|
+
|
|
13479
|
+
export type ListReportsResponse = ListReportsResponses[keyof ListReportsResponses];
|
|
13480
|
+
|
|
13481
|
+
export type CreateReportData = {
|
|
13482
|
+
body: CreateReportRequest;
|
|
13483
|
+
path: {
|
|
13484
|
+
/**
|
|
13485
|
+
* Graph Id
|
|
13486
|
+
*/
|
|
13487
|
+
graph_id: string;
|
|
13488
|
+
};
|
|
13489
|
+
query?: never;
|
|
13490
|
+
url: '/v1/ledger/{graph_id}/reports';
|
|
13491
|
+
};
|
|
13492
|
+
|
|
13493
|
+
export type CreateReportErrors = {
|
|
13494
|
+
/**
|
|
13495
|
+
* Validation Error
|
|
13496
|
+
*/
|
|
13497
|
+
422: HttpValidationError;
|
|
13498
|
+
};
|
|
13499
|
+
|
|
13500
|
+
export type CreateReportError = CreateReportErrors[keyof CreateReportErrors];
|
|
13501
|
+
|
|
13502
|
+
export type CreateReportResponses = {
|
|
13503
|
+
/**
|
|
13504
|
+
* Successful Response
|
|
13505
|
+
*/
|
|
13506
|
+
201: ReportResponse;
|
|
13507
|
+
};
|
|
13508
|
+
|
|
13509
|
+
export type CreateReportResponse = CreateReportResponses[keyof CreateReportResponses];
|
|
13510
|
+
|
|
13511
|
+
export type DeleteReportData = {
|
|
13512
|
+
body?: never;
|
|
13513
|
+
path: {
|
|
13514
|
+
/**
|
|
13515
|
+
* Graph Id
|
|
13516
|
+
*/
|
|
13517
|
+
graph_id: string;
|
|
13518
|
+
/**
|
|
13519
|
+
* Report Id
|
|
13520
|
+
*
|
|
13521
|
+
* Report definition ID
|
|
13522
|
+
*/
|
|
13523
|
+
report_id: string;
|
|
13524
|
+
};
|
|
13525
|
+
query?: never;
|
|
13526
|
+
url: '/v1/ledger/{graph_id}/reports/{report_id}';
|
|
13527
|
+
};
|
|
13528
|
+
|
|
13529
|
+
export type DeleteReportErrors = {
|
|
13530
|
+
/**
|
|
13531
|
+
* Validation Error
|
|
13532
|
+
*/
|
|
13533
|
+
422: HttpValidationError;
|
|
13534
|
+
};
|
|
13535
|
+
|
|
13536
|
+
export type DeleteReportError = DeleteReportErrors[keyof DeleteReportErrors];
|
|
13537
|
+
|
|
13538
|
+
export type DeleteReportResponses = {
|
|
13539
|
+
/**
|
|
13540
|
+
* Successful Response
|
|
13541
|
+
*/
|
|
13542
|
+
204: void;
|
|
13543
|
+
};
|
|
13544
|
+
|
|
13545
|
+
export type DeleteReportResponse = DeleteReportResponses[keyof DeleteReportResponses];
|
|
13546
|
+
|
|
13547
|
+
export type GetReportData = {
|
|
13548
|
+
body?: never;
|
|
13549
|
+
path: {
|
|
13550
|
+
/**
|
|
13551
|
+
* Graph Id
|
|
13552
|
+
*/
|
|
13553
|
+
graph_id: string;
|
|
13554
|
+
/**
|
|
13555
|
+
* Report Id
|
|
13556
|
+
*
|
|
13557
|
+
* Report definition ID
|
|
13558
|
+
*/
|
|
13559
|
+
report_id: string;
|
|
13560
|
+
};
|
|
13561
|
+
query?: never;
|
|
13562
|
+
url: '/v1/ledger/{graph_id}/reports/{report_id}';
|
|
13563
|
+
};
|
|
13564
|
+
|
|
13565
|
+
export type GetReportErrors = {
|
|
13566
|
+
/**
|
|
13567
|
+
* Validation Error
|
|
13568
|
+
*/
|
|
13569
|
+
422: HttpValidationError;
|
|
13570
|
+
};
|
|
13571
|
+
|
|
13572
|
+
export type GetReportError = GetReportErrors[keyof GetReportErrors];
|
|
13573
|
+
|
|
13574
|
+
export type GetReportResponses = {
|
|
13575
|
+
/**
|
|
13576
|
+
* Successful Response
|
|
13577
|
+
*/
|
|
13578
|
+
200: ReportResponse;
|
|
13579
|
+
};
|
|
13580
|
+
|
|
13581
|
+
export type GetReportResponse = GetReportResponses[keyof GetReportResponses];
|
|
13582
|
+
|
|
13583
|
+
export type GetStatementData = {
|
|
13584
|
+
body?: never;
|
|
13585
|
+
path: {
|
|
13586
|
+
/**
|
|
13587
|
+
* Graph Id
|
|
13588
|
+
*/
|
|
13589
|
+
graph_id: string;
|
|
13590
|
+
/**
|
|
13591
|
+
* Report Id
|
|
13592
|
+
*
|
|
13593
|
+
* Report definition ID
|
|
13594
|
+
*/
|
|
13595
|
+
report_id: string;
|
|
13596
|
+
/**
|
|
13597
|
+
* Structure Type
|
|
13598
|
+
*
|
|
13599
|
+
* Structure type: income_statement, balance_sheet, cash_flow_statement
|
|
13600
|
+
*/
|
|
13601
|
+
structure_type: string;
|
|
13602
|
+
};
|
|
13603
|
+
query?: never;
|
|
13604
|
+
url: '/v1/ledger/{graph_id}/reports/{report_id}/statements/{structure_type}';
|
|
13605
|
+
};
|
|
13606
|
+
|
|
13607
|
+
export type GetStatementErrors = {
|
|
13608
|
+
/**
|
|
13609
|
+
* Validation Error
|
|
13610
|
+
*/
|
|
13611
|
+
422: HttpValidationError;
|
|
13612
|
+
};
|
|
13613
|
+
|
|
13614
|
+
export type GetStatementError = GetStatementErrors[keyof GetStatementErrors];
|
|
13615
|
+
|
|
13616
|
+
export type GetStatementResponses = {
|
|
13617
|
+
/**
|
|
13618
|
+
* Successful Response
|
|
13619
|
+
*/
|
|
13620
|
+
200: StatementResponse;
|
|
13621
|
+
};
|
|
13622
|
+
|
|
13623
|
+
export type GetStatementResponse = GetStatementResponses[keyof GetStatementResponses];
|
|
13624
|
+
|
|
13625
|
+
export type RegenerateReportData = {
|
|
13626
|
+
body: RegenerateReportRequest;
|
|
13627
|
+
path: {
|
|
13628
|
+
/**
|
|
13629
|
+
* Graph Id
|
|
13630
|
+
*/
|
|
13631
|
+
graph_id: string;
|
|
13632
|
+
/**
|
|
13633
|
+
* Report Id
|
|
13634
|
+
*
|
|
13635
|
+
* Report definition ID
|
|
13636
|
+
*/
|
|
13637
|
+
report_id: string;
|
|
13638
|
+
};
|
|
13639
|
+
query?: never;
|
|
13640
|
+
url: '/v1/ledger/{graph_id}/reports/{report_id}/regenerate';
|
|
13641
|
+
};
|
|
13642
|
+
|
|
13643
|
+
export type RegenerateReportErrors = {
|
|
13644
|
+
/**
|
|
13645
|
+
* Validation Error
|
|
13646
|
+
*/
|
|
13647
|
+
422: HttpValidationError;
|
|
13648
|
+
};
|
|
13649
|
+
|
|
13650
|
+
export type RegenerateReportError = RegenerateReportErrors[keyof RegenerateReportErrors];
|
|
13651
|
+
|
|
13652
|
+
export type RegenerateReportResponses = {
|
|
13653
|
+
/**
|
|
13654
|
+
* Successful Response
|
|
13655
|
+
*/
|
|
13656
|
+
200: ReportResponse;
|
|
13657
|
+
};
|
|
13658
|
+
|
|
13659
|
+
export type RegenerateReportResponse = RegenerateReportResponses[keyof RegenerateReportResponses];
|
|
13660
|
+
|
|
13661
|
+
export type ShareReportData = {
|
|
13662
|
+
body: ShareReportRequest;
|
|
13663
|
+
path: {
|
|
13664
|
+
/**
|
|
13665
|
+
* Graph Id
|
|
13666
|
+
*/
|
|
13667
|
+
graph_id: string;
|
|
13668
|
+
/**
|
|
13669
|
+
* Report Id
|
|
13670
|
+
*
|
|
13671
|
+
* Report definition ID
|
|
13672
|
+
*/
|
|
13673
|
+
report_id: string;
|
|
13674
|
+
};
|
|
13675
|
+
query?: never;
|
|
13676
|
+
url: '/v1/ledger/{graph_id}/reports/{report_id}/share';
|
|
13677
|
+
};
|
|
13678
|
+
|
|
13679
|
+
export type ShareReportErrors = {
|
|
13680
|
+
/**
|
|
13681
|
+
* Validation Error
|
|
13682
|
+
*/
|
|
13683
|
+
422: HttpValidationError;
|
|
13684
|
+
};
|
|
13685
|
+
|
|
13686
|
+
export type ShareReportError = ShareReportErrors[keyof ShareReportErrors];
|
|
13687
|
+
|
|
13688
|
+
export type ShareReportResponses = {
|
|
13689
|
+
/**
|
|
13690
|
+
* Successful Response
|
|
13691
|
+
*/
|
|
13692
|
+
200: ShareReportResponse;
|
|
13693
|
+
};
|
|
13694
|
+
|
|
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];
|