@robosystems/client 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/InvestorClient.d.ts +35 -20
- package/artifacts/InvestorClient.js +78 -71
- package/artifacts/InvestorClient.ts +164 -141
- package/artifacts/graphql/generated/graphql.d.ts +93 -18
- package/artifacts/graphql/generated/graphql.js +65 -4
- package/artifacts/graphql/generated/graphql.ts +156 -21
- package/artifacts/graphql/queries/investor/portfolio_block.d.ts +10 -0
- package/artifacts/graphql/queries/investor/portfolio_block.js +60 -0
- package/artifacts/graphql/queries/investor/portfolio_block.ts +58 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +6 -9
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +10 -34
- package/sdk/sdk.gen.js +16 -67
- package/sdk/sdk.gen.ts +13 -64
- package/sdk/types.gen.d.ts +245 -359
- package/sdk/types.gen.ts +251 -377
- package/sdk.gen.d.ts +10 -34
- package/sdk.gen.js +16 -67
- package/sdk.gen.ts +13 -64
- package/types.gen.d.ts +245 -359
- package/types.gen.ts +251 -377
- package/artifacts/graphql/queries/investor/portfolio.d.ts +0 -4
- package/artifacts/graphql/queries/investor/portfolio.js +0 -21
- package/artifacts/graphql/queries/investor/portfolio.ts +0 -19
package/types.gen.ts
CHANGED
|
@@ -1713,79 +1713,20 @@ export type CreateMappingAssociationOperation = {
|
|
|
1713
1713
|
};
|
|
1714
1714
|
|
|
1715
1715
|
/**
|
|
1716
|
-
*
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
/**
|
|
1724
|
-
* Description
|
|
1725
|
-
*/
|
|
1726
|
-
description?: string | null;
|
|
1727
|
-
/**
|
|
1728
|
-
* Strategy
|
|
1729
|
-
*/
|
|
1730
|
-
strategy?: string | null;
|
|
1731
|
-
/**
|
|
1732
|
-
* Inception Date
|
|
1733
|
-
*/
|
|
1734
|
-
inception_date?: string | null;
|
|
1735
|
-
/**
|
|
1736
|
-
* Base Currency
|
|
1737
|
-
*/
|
|
1738
|
-
base_currency?: string;
|
|
1739
|
-
};
|
|
1740
|
-
|
|
1741
|
-
/**
|
|
1742
|
-
* CreatePositionRequest
|
|
1716
|
+
* CreatePortfolioBlockRequest
|
|
1717
|
+
*
|
|
1718
|
+
* CQRS body for `POST /operations/create-portfolio-block`.
|
|
1719
|
+
*
|
|
1720
|
+
* Whole envelope validated before any DB write; the portfolio + initial
|
|
1721
|
+
* positions land in one transaction. Each `position` references an
|
|
1722
|
+
* existing `security_id` — the operation does not mint securities.
|
|
1743
1723
|
*/
|
|
1744
|
-
export type
|
|
1745
|
-
|
|
1746
|
-
* Portfolio Id
|
|
1747
|
-
*/
|
|
1748
|
-
portfolio_id: string;
|
|
1749
|
-
/**
|
|
1750
|
-
* Security Id
|
|
1751
|
-
*/
|
|
1752
|
-
security_id: string;
|
|
1753
|
-
/**
|
|
1754
|
-
* Quantity
|
|
1755
|
-
*/
|
|
1756
|
-
quantity: number;
|
|
1757
|
-
/**
|
|
1758
|
-
* Quantity Type
|
|
1759
|
-
*/
|
|
1760
|
-
quantity_type?: string;
|
|
1761
|
-
/**
|
|
1762
|
-
* Cost Basis
|
|
1763
|
-
*/
|
|
1764
|
-
cost_basis?: number;
|
|
1765
|
-
/**
|
|
1766
|
-
* Currency
|
|
1767
|
-
*/
|
|
1768
|
-
currency?: string;
|
|
1769
|
-
/**
|
|
1770
|
-
* Current Value
|
|
1771
|
-
*/
|
|
1772
|
-
current_value?: number | null;
|
|
1773
|
-
/**
|
|
1774
|
-
* Valuation Date
|
|
1775
|
-
*/
|
|
1776
|
-
valuation_date?: string | null;
|
|
1777
|
-
/**
|
|
1778
|
-
* Valuation Source
|
|
1779
|
-
*/
|
|
1780
|
-
valuation_source?: string | null;
|
|
1781
|
-
/**
|
|
1782
|
-
* Acquisition Date
|
|
1783
|
-
*/
|
|
1784
|
-
acquisition_date?: string | null;
|
|
1724
|
+
export type CreatePortfolioBlockRequest = {
|
|
1725
|
+
portfolio: PortfolioBlockPortfolioFields;
|
|
1785
1726
|
/**
|
|
1786
|
-
*
|
|
1727
|
+
* Positions
|
|
1787
1728
|
*/
|
|
1788
|
-
|
|
1729
|
+
positions?: Array<PortfolioBlockPositionAdd>;
|
|
1789
1730
|
};
|
|
1790
1731
|
|
|
1791
1732
|
/**
|
|
@@ -2630,31 +2571,26 @@ export type DeleteMappingAssociationOperation = {
|
|
|
2630
2571
|
};
|
|
2631
2572
|
|
|
2632
2573
|
/**
|
|
2633
|
-
*
|
|
2574
|
+
* DeletePortfolioBlockOperation
|
|
2634
2575
|
*
|
|
2635
|
-
* CQRS body for `POST /operations/delete-portfolio`.
|
|
2576
|
+
* CQRS body for `POST /operations/delete-portfolio-block`.
|
|
2577
|
+
*
|
|
2578
|
+
* Cascade-deletes the portfolio plus all of its positions. When the
|
|
2579
|
+
* portfolio still has active positions, the operation is rejected
|
|
2580
|
+
* unless `confirm_active_positions=true` is set — safety belt to
|
|
2581
|
+
* prevent accidental cascade.
|
|
2636
2582
|
*/
|
|
2637
|
-
export type
|
|
2583
|
+
export type DeletePortfolioBlockOperation = {
|
|
2638
2584
|
/**
|
|
2639
2585
|
* Portfolio Id
|
|
2640
2586
|
*
|
|
2641
2587
|
* Target portfolio ID.
|
|
2642
2588
|
*/
|
|
2643
2589
|
portfolio_id: string;
|
|
2644
|
-
};
|
|
2645
|
-
|
|
2646
|
-
/**
|
|
2647
|
-
* DeletePositionOperation
|
|
2648
|
-
*
|
|
2649
|
-
* CQRS body for `POST /operations/delete-position` (soft delete).
|
|
2650
|
-
*/
|
|
2651
|
-
export type DeletePositionOperation = {
|
|
2652
2590
|
/**
|
|
2653
|
-
*
|
|
2654
|
-
*
|
|
2655
|
-
* Target position ID.
|
|
2591
|
+
* Confirm Active Positions
|
|
2656
2592
|
*/
|
|
2657
|
-
|
|
2593
|
+
confirm_active_positions?: boolean;
|
|
2658
2594
|
};
|
|
2659
2595
|
|
|
2660
2596
|
/**
|
|
@@ -5776,6 +5712,207 @@ export type PortalSessionResponse = {
|
|
|
5776
5712
|
portal_url: string;
|
|
5777
5713
|
};
|
|
5778
5714
|
|
|
5715
|
+
/**
|
|
5716
|
+
* PortfolioBlockPortfolioFields
|
|
5717
|
+
*
|
|
5718
|
+
* Fields settable on the portfolio core when creating a block.
|
|
5719
|
+
*/
|
|
5720
|
+
export type PortfolioBlockPortfolioFields = {
|
|
5721
|
+
/**
|
|
5722
|
+
* Name
|
|
5723
|
+
*/
|
|
5724
|
+
name: string;
|
|
5725
|
+
/**
|
|
5726
|
+
* Description
|
|
5727
|
+
*/
|
|
5728
|
+
description?: string | null;
|
|
5729
|
+
/**
|
|
5730
|
+
* Strategy
|
|
5731
|
+
*/
|
|
5732
|
+
strategy?: string | null;
|
|
5733
|
+
/**
|
|
5734
|
+
* Inception Date
|
|
5735
|
+
*/
|
|
5736
|
+
inception_date?: string | null;
|
|
5737
|
+
/**
|
|
5738
|
+
* Base Currency
|
|
5739
|
+
*/
|
|
5740
|
+
base_currency?: string;
|
|
5741
|
+
/**
|
|
5742
|
+
* Entity Id
|
|
5743
|
+
*/
|
|
5744
|
+
entity_id?: string | null;
|
|
5745
|
+
};
|
|
5746
|
+
|
|
5747
|
+
/**
|
|
5748
|
+
* PortfolioBlockPortfolioPatch
|
|
5749
|
+
*
|
|
5750
|
+
* Patchable portfolio fields on `update-portfolio-block`. Unset fields ignored.
|
|
5751
|
+
*/
|
|
5752
|
+
export type PortfolioBlockPortfolioPatch = {
|
|
5753
|
+
/**
|
|
5754
|
+
* Name
|
|
5755
|
+
*/
|
|
5756
|
+
name?: string | null;
|
|
5757
|
+
/**
|
|
5758
|
+
* Description
|
|
5759
|
+
*/
|
|
5760
|
+
description?: string | null;
|
|
5761
|
+
/**
|
|
5762
|
+
* Strategy
|
|
5763
|
+
*/
|
|
5764
|
+
strategy?: string | null;
|
|
5765
|
+
/**
|
|
5766
|
+
* Inception Date
|
|
5767
|
+
*/
|
|
5768
|
+
inception_date?: string | null;
|
|
5769
|
+
/**
|
|
5770
|
+
* Base Currency
|
|
5771
|
+
*/
|
|
5772
|
+
base_currency?: string | null;
|
|
5773
|
+
/**
|
|
5774
|
+
* Entity Id
|
|
5775
|
+
*/
|
|
5776
|
+
entity_id?: string | null;
|
|
5777
|
+
};
|
|
5778
|
+
|
|
5779
|
+
/**
|
|
5780
|
+
* PortfolioBlockPositionAdd
|
|
5781
|
+
*
|
|
5782
|
+
* A single new position to mint inside a portfolio-block create/update.
|
|
5783
|
+
*
|
|
5784
|
+
* References an existing security; this surface never creates securities
|
|
5785
|
+
* (Master Data CRUD owns that lifecycle).
|
|
5786
|
+
*/
|
|
5787
|
+
export type PortfolioBlockPositionAdd = {
|
|
5788
|
+
/**
|
|
5789
|
+
* Security Id
|
|
5790
|
+
*/
|
|
5791
|
+
security_id: string;
|
|
5792
|
+
/**
|
|
5793
|
+
* Quantity
|
|
5794
|
+
*/
|
|
5795
|
+
quantity: number;
|
|
5796
|
+
/**
|
|
5797
|
+
* Quantity Type
|
|
5798
|
+
*/
|
|
5799
|
+
quantity_type?: string;
|
|
5800
|
+
/**
|
|
5801
|
+
* Cost Basis
|
|
5802
|
+
*/
|
|
5803
|
+
cost_basis?: number;
|
|
5804
|
+
/**
|
|
5805
|
+
* Currency
|
|
5806
|
+
*/
|
|
5807
|
+
currency?: string;
|
|
5808
|
+
/**
|
|
5809
|
+
* Current Value
|
|
5810
|
+
*/
|
|
5811
|
+
current_value?: number | null;
|
|
5812
|
+
/**
|
|
5813
|
+
* Valuation Date
|
|
5814
|
+
*/
|
|
5815
|
+
valuation_date?: string | null;
|
|
5816
|
+
/**
|
|
5817
|
+
* Valuation Source
|
|
5818
|
+
*/
|
|
5819
|
+
valuation_source?: string | null;
|
|
5820
|
+
/**
|
|
5821
|
+
* Acquisition Date
|
|
5822
|
+
*/
|
|
5823
|
+
acquisition_date?: string | null;
|
|
5824
|
+
/**
|
|
5825
|
+
* Notes
|
|
5826
|
+
*/
|
|
5827
|
+
notes?: string | null;
|
|
5828
|
+
};
|
|
5829
|
+
|
|
5830
|
+
/**
|
|
5831
|
+
* PortfolioBlockPositionDispose
|
|
5832
|
+
*
|
|
5833
|
+
* Dispose-by-id for an existing position in `update-portfolio-block`.
|
|
5834
|
+
*
|
|
5835
|
+
* Soft-delete: status flips to `disposed` and `disposition_date` is
|
|
5836
|
+
* stamped. `disposition_reason`, when supplied, is recorded under
|
|
5837
|
+
* `metadata.disposition_reason`.
|
|
5838
|
+
*/
|
|
5839
|
+
export type PortfolioBlockPositionDispose = {
|
|
5840
|
+
/**
|
|
5841
|
+
* Id
|
|
5842
|
+
*/
|
|
5843
|
+
id: string;
|
|
5844
|
+
/**
|
|
5845
|
+
* Disposition Reason
|
|
5846
|
+
*/
|
|
5847
|
+
disposition_reason?: string | null;
|
|
5848
|
+
};
|
|
5849
|
+
|
|
5850
|
+
/**
|
|
5851
|
+
* PortfolioBlockPositionUpdate
|
|
5852
|
+
*
|
|
5853
|
+
* Patch-by-id for an existing position in `update-portfolio-block`.
|
|
5854
|
+
*
|
|
5855
|
+
* Unset fields are ignored; `id` is the only required field.
|
|
5856
|
+
*/
|
|
5857
|
+
export type PortfolioBlockPositionUpdate = {
|
|
5858
|
+
/**
|
|
5859
|
+
* Id
|
|
5860
|
+
*/
|
|
5861
|
+
id: string;
|
|
5862
|
+
/**
|
|
5863
|
+
* Quantity
|
|
5864
|
+
*/
|
|
5865
|
+
quantity?: number | null;
|
|
5866
|
+
/**
|
|
5867
|
+
* Quantity Type
|
|
5868
|
+
*/
|
|
5869
|
+
quantity_type?: string | null;
|
|
5870
|
+
/**
|
|
5871
|
+
* Cost Basis
|
|
5872
|
+
*/
|
|
5873
|
+
cost_basis?: number | null;
|
|
5874
|
+
/**
|
|
5875
|
+
* Current Value
|
|
5876
|
+
*/
|
|
5877
|
+
current_value?: number | null;
|
|
5878
|
+
/**
|
|
5879
|
+
* Valuation Date
|
|
5880
|
+
*/
|
|
5881
|
+
valuation_date?: string | null;
|
|
5882
|
+
/**
|
|
5883
|
+
* Valuation Source
|
|
5884
|
+
*/
|
|
5885
|
+
valuation_source?: string | null;
|
|
5886
|
+
/**
|
|
5887
|
+
* Acquisition Date
|
|
5888
|
+
*/
|
|
5889
|
+
acquisition_date?: string | null;
|
|
5890
|
+
/**
|
|
5891
|
+
* Notes
|
|
5892
|
+
*/
|
|
5893
|
+
notes?: string | null;
|
|
5894
|
+
};
|
|
5895
|
+
|
|
5896
|
+
/**
|
|
5897
|
+
* PortfolioBlockPositions
|
|
5898
|
+
*
|
|
5899
|
+
* Position deltas applied atomically inside `update-portfolio-block`.
|
|
5900
|
+
*/
|
|
5901
|
+
export type PortfolioBlockPositions = {
|
|
5902
|
+
/**
|
|
5903
|
+
* Add
|
|
5904
|
+
*/
|
|
5905
|
+
add?: Array<PortfolioBlockPositionAdd>;
|
|
5906
|
+
/**
|
|
5907
|
+
* Update
|
|
5908
|
+
*/
|
|
5909
|
+
update?: Array<PortfolioBlockPositionUpdate>;
|
|
5910
|
+
/**
|
|
5911
|
+
* Dispose
|
|
5912
|
+
*/
|
|
5913
|
+
dispose?: Array<PortfolioBlockPositionDispose>;
|
|
5914
|
+
};
|
|
5915
|
+
|
|
5779
5916
|
/**
|
|
5780
5917
|
* QueryLimits
|
|
5781
5918
|
*
|
|
@@ -7998,94 +8135,23 @@ export type UpdatePasswordRequest = {
|
|
|
7998
8135
|
};
|
|
7999
8136
|
|
|
8000
8137
|
/**
|
|
8001
|
-
*
|
|
8138
|
+
* UpdatePortfolioBlockOperation
|
|
8002
8139
|
*
|
|
8003
|
-
* CQRS body for `POST /operations/update-portfolio`.
|
|
8140
|
+
* CQRS body for `POST /operations/update-portfolio-block`.
|
|
8004
8141
|
*
|
|
8005
|
-
*
|
|
8006
|
-
*
|
|
8142
|
+
* Carries an optional patch to portfolio fields and three position
|
|
8143
|
+
* delta lists (`add` / `update` / `dispose`). All apply atomically
|
|
8144
|
+
* with the portfolio patch — partial failures roll back.
|
|
8007
8145
|
*/
|
|
8008
|
-
export type
|
|
8009
|
-
/**
|
|
8010
|
-
* Name
|
|
8011
|
-
*/
|
|
8012
|
-
name?: string | null;
|
|
8013
|
-
/**
|
|
8014
|
-
* Description
|
|
8015
|
-
*/
|
|
8016
|
-
description?: string | null;
|
|
8017
|
-
/**
|
|
8018
|
-
* Strategy
|
|
8019
|
-
*/
|
|
8020
|
-
strategy?: string | null;
|
|
8021
|
-
/**
|
|
8022
|
-
* Inception Date
|
|
8023
|
-
*/
|
|
8024
|
-
inception_date?: string | null;
|
|
8025
|
-
/**
|
|
8026
|
-
* Base Currency
|
|
8027
|
-
*/
|
|
8028
|
-
base_currency?: string | null;
|
|
8146
|
+
export type UpdatePortfolioBlockOperation = {
|
|
8029
8147
|
/**
|
|
8030
8148
|
* Portfolio Id
|
|
8031
8149
|
*
|
|
8032
8150
|
* Target portfolio ID.
|
|
8033
8151
|
*/
|
|
8034
8152
|
portfolio_id: string;
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
/**
|
|
8038
|
-
* UpdatePositionOperation
|
|
8039
|
-
*
|
|
8040
|
-
* CQRS body for `POST /operations/update-position`.
|
|
8041
|
-
*/
|
|
8042
|
-
export type UpdatePositionOperation = {
|
|
8043
|
-
/**
|
|
8044
|
-
* Quantity
|
|
8045
|
-
*/
|
|
8046
|
-
quantity?: number | null;
|
|
8047
|
-
/**
|
|
8048
|
-
* Quantity Type
|
|
8049
|
-
*/
|
|
8050
|
-
quantity_type?: string | null;
|
|
8051
|
-
/**
|
|
8052
|
-
* Cost Basis
|
|
8053
|
-
*/
|
|
8054
|
-
cost_basis?: number | null;
|
|
8055
|
-
/**
|
|
8056
|
-
* Current Value
|
|
8057
|
-
*/
|
|
8058
|
-
current_value?: number | null;
|
|
8059
|
-
/**
|
|
8060
|
-
* Valuation Date
|
|
8061
|
-
*/
|
|
8062
|
-
valuation_date?: string | null;
|
|
8063
|
-
/**
|
|
8064
|
-
* Valuation Source
|
|
8065
|
-
*/
|
|
8066
|
-
valuation_source?: string | null;
|
|
8067
|
-
/**
|
|
8068
|
-
* Acquisition Date
|
|
8069
|
-
*/
|
|
8070
|
-
acquisition_date?: string | null;
|
|
8071
|
-
/**
|
|
8072
|
-
* Disposition Date
|
|
8073
|
-
*/
|
|
8074
|
-
disposition_date?: string | null;
|
|
8075
|
-
/**
|
|
8076
|
-
* Status
|
|
8077
|
-
*/
|
|
8078
|
-
status?: string | null;
|
|
8079
|
-
/**
|
|
8080
|
-
* Notes
|
|
8081
|
-
*/
|
|
8082
|
-
notes?: string | null;
|
|
8083
|
-
/**
|
|
8084
|
-
* Position Id
|
|
8085
|
-
*
|
|
8086
|
-
* Target position ID.
|
|
8087
|
-
*/
|
|
8088
|
-
position_id: string;
|
|
8153
|
+
portfolio?: PortfolioBlockPortfolioPatch;
|
|
8154
|
+
positions?: PortfolioBlockPositions;
|
|
8089
8155
|
};
|
|
8090
8156
|
|
|
8091
8157
|
/**
|
|
@@ -17019,8 +17085,8 @@ export type OpFinancialStatementAnalysisResponses = {
|
|
|
17019
17085
|
|
|
17020
17086
|
export type OpFinancialStatementAnalysisResponse = OpFinancialStatementAnalysisResponses[keyof OpFinancialStatementAnalysisResponses];
|
|
17021
17087
|
|
|
17022
|
-
export type
|
|
17023
|
-
body:
|
|
17088
|
+
export type OpCreatePortfolioBlockData = {
|
|
17089
|
+
body: CreatePortfolioBlockRequest;
|
|
17024
17090
|
headers?: {
|
|
17025
17091
|
/**
|
|
17026
17092
|
* Idempotency-Key
|
|
@@ -17034,10 +17100,10 @@ export type OpCreatePortfolioData = {
|
|
|
17034
17100
|
graph_id: string;
|
|
17035
17101
|
};
|
|
17036
17102
|
query?: never;
|
|
17037
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
|
|
17103
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio-block';
|
|
17038
17104
|
};
|
|
17039
17105
|
|
|
17040
|
-
export type
|
|
17106
|
+
export type OpCreatePortfolioBlockErrors = {
|
|
17041
17107
|
/**
|
|
17042
17108
|
* Invalid request payload
|
|
17043
17109
|
*/
|
|
@@ -17072,19 +17138,19 @@ export type OpCreatePortfolioErrors = {
|
|
|
17072
17138
|
500: unknown;
|
|
17073
17139
|
};
|
|
17074
17140
|
|
|
17075
|
-
export type
|
|
17141
|
+
export type OpCreatePortfolioBlockError = OpCreatePortfolioBlockErrors[keyof OpCreatePortfolioBlockErrors];
|
|
17076
17142
|
|
|
17077
|
-
export type
|
|
17143
|
+
export type OpCreatePortfolioBlockResponses = {
|
|
17078
17144
|
/**
|
|
17079
17145
|
* Successful Response
|
|
17080
17146
|
*/
|
|
17081
17147
|
200: OperationEnvelope;
|
|
17082
17148
|
};
|
|
17083
17149
|
|
|
17084
|
-
export type
|
|
17150
|
+
export type OpCreatePortfolioBlockResponse = OpCreatePortfolioBlockResponses[keyof OpCreatePortfolioBlockResponses];
|
|
17085
17151
|
|
|
17086
|
-
export type
|
|
17087
|
-
body:
|
|
17152
|
+
export type OpUpdatePortfolioBlockData = {
|
|
17153
|
+
body: UpdatePortfolioBlockOperation;
|
|
17088
17154
|
headers?: {
|
|
17089
17155
|
/**
|
|
17090
17156
|
* Idempotency-Key
|
|
@@ -17098,10 +17164,10 @@ export type OpUpdatePortfolioData = {
|
|
|
17098
17164
|
graph_id: string;
|
|
17099
17165
|
};
|
|
17100
17166
|
query?: never;
|
|
17101
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio';
|
|
17167
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio-block';
|
|
17102
17168
|
};
|
|
17103
17169
|
|
|
17104
|
-
export type
|
|
17170
|
+
export type OpUpdatePortfolioBlockErrors = {
|
|
17105
17171
|
/**
|
|
17106
17172
|
* Invalid request payload
|
|
17107
17173
|
*/
|
|
@@ -17136,19 +17202,19 @@ export type OpUpdatePortfolioErrors = {
|
|
|
17136
17202
|
500: unknown;
|
|
17137
17203
|
};
|
|
17138
17204
|
|
|
17139
|
-
export type
|
|
17205
|
+
export type OpUpdatePortfolioBlockError = OpUpdatePortfolioBlockErrors[keyof OpUpdatePortfolioBlockErrors];
|
|
17140
17206
|
|
|
17141
|
-
export type
|
|
17207
|
+
export type OpUpdatePortfolioBlockResponses = {
|
|
17142
17208
|
/**
|
|
17143
17209
|
* Successful Response
|
|
17144
17210
|
*/
|
|
17145
17211
|
200: OperationEnvelope;
|
|
17146
17212
|
};
|
|
17147
17213
|
|
|
17148
|
-
export type
|
|
17214
|
+
export type OpUpdatePortfolioBlockResponse = OpUpdatePortfolioBlockResponses[keyof OpUpdatePortfolioBlockResponses];
|
|
17149
17215
|
|
|
17150
|
-
export type
|
|
17151
|
-
body:
|
|
17216
|
+
export type OpDeletePortfolioBlockData = {
|
|
17217
|
+
body: DeletePortfolioBlockOperation;
|
|
17152
17218
|
headers?: {
|
|
17153
17219
|
/**
|
|
17154
17220
|
* Idempotency-Key
|
|
@@ -17162,10 +17228,10 @@ export type OpDeletePortfolioData = {
|
|
|
17162
17228
|
graph_id: string;
|
|
17163
17229
|
};
|
|
17164
17230
|
query?: never;
|
|
17165
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio';
|
|
17231
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio-block';
|
|
17166
17232
|
};
|
|
17167
17233
|
|
|
17168
|
-
export type
|
|
17234
|
+
export type OpDeletePortfolioBlockErrors = {
|
|
17169
17235
|
/**
|
|
17170
17236
|
* Invalid request payload
|
|
17171
17237
|
*/
|
|
@@ -17200,16 +17266,16 @@ export type OpDeletePortfolioErrors = {
|
|
|
17200
17266
|
500: unknown;
|
|
17201
17267
|
};
|
|
17202
17268
|
|
|
17203
|
-
export type
|
|
17269
|
+
export type OpDeletePortfolioBlockError = OpDeletePortfolioBlockErrors[keyof OpDeletePortfolioBlockErrors];
|
|
17204
17270
|
|
|
17205
|
-
export type
|
|
17271
|
+
export type OpDeletePortfolioBlockResponses = {
|
|
17206
17272
|
/**
|
|
17207
17273
|
* Successful Response
|
|
17208
17274
|
*/
|
|
17209
17275
|
200: OperationEnvelope;
|
|
17210
17276
|
};
|
|
17211
17277
|
|
|
17212
|
-
export type
|
|
17278
|
+
export type OpDeletePortfolioBlockResponse = OpDeletePortfolioBlockResponses[keyof OpDeletePortfolioBlockResponses];
|
|
17213
17279
|
|
|
17214
17280
|
export type OpCreateSecurityData = {
|
|
17215
17281
|
body: CreateSecurityRequest;
|
|
@@ -17402,195 +17468,3 @@ export type OpDeleteSecurityResponses = {
|
|
|
17402
17468
|
};
|
|
17403
17469
|
|
|
17404
17470
|
export type OpDeleteSecurityResponse = OpDeleteSecurityResponses[keyof OpDeleteSecurityResponses];
|
|
17405
|
-
|
|
17406
|
-
export type OpCreatePositionData = {
|
|
17407
|
-
body: CreatePositionRequest;
|
|
17408
|
-
headers?: {
|
|
17409
|
-
/**
|
|
17410
|
-
* Idempotency-Key
|
|
17411
|
-
*/
|
|
17412
|
-
'Idempotency-Key'?: string | null;
|
|
17413
|
-
};
|
|
17414
|
-
path: {
|
|
17415
|
-
/**
|
|
17416
|
-
* Graph Id
|
|
17417
|
-
*/
|
|
17418
|
-
graph_id: string;
|
|
17419
|
-
};
|
|
17420
|
-
query?: never;
|
|
17421
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/create-position';
|
|
17422
|
-
};
|
|
17423
|
-
|
|
17424
|
-
export type OpCreatePositionErrors = {
|
|
17425
|
-
/**
|
|
17426
|
-
* Invalid request payload
|
|
17427
|
-
*/
|
|
17428
|
-
400: OperationError;
|
|
17429
|
-
/**
|
|
17430
|
-
* Unauthorized — missing or invalid credentials
|
|
17431
|
-
*/
|
|
17432
|
-
401: unknown;
|
|
17433
|
-
/**
|
|
17434
|
-
* Forbidden — caller cannot access this graph
|
|
17435
|
-
*/
|
|
17436
|
-
403: unknown;
|
|
17437
|
-
/**
|
|
17438
|
-
* Resource not found (graph, ledger, report, etc.)
|
|
17439
|
-
*/
|
|
17440
|
-
404: OperationError;
|
|
17441
|
-
/**
|
|
17442
|
-
* Idempotency-Key reused with a different request body, or other operation-level conflict
|
|
17443
|
-
*/
|
|
17444
|
-
409: OperationError;
|
|
17445
|
-
/**
|
|
17446
|
-
* Validation Error
|
|
17447
|
-
*/
|
|
17448
|
-
422: HttpValidationError;
|
|
17449
|
-
/**
|
|
17450
|
-
* Rate limit exceeded
|
|
17451
|
-
*/
|
|
17452
|
-
429: unknown;
|
|
17453
|
-
/**
|
|
17454
|
-
* Internal error
|
|
17455
|
-
*/
|
|
17456
|
-
500: unknown;
|
|
17457
|
-
};
|
|
17458
|
-
|
|
17459
|
-
export type OpCreatePositionError = OpCreatePositionErrors[keyof OpCreatePositionErrors];
|
|
17460
|
-
|
|
17461
|
-
export type OpCreatePositionResponses = {
|
|
17462
|
-
/**
|
|
17463
|
-
* Successful Response
|
|
17464
|
-
*/
|
|
17465
|
-
200: OperationEnvelope;
|
|
17466
|
-
};
|
|
17467
|
-
|
|
17468
|
-
export type OpCreatePositionResponse = OpCreatePositionResponses[keyof OpCreatePositionResponses];
|
|
17469
|
-
|
|
17470
|
-
export type OpUpdatePositionData = {
|
|
17471
|
-
body: UpdatePositionOperation;
|
|
17472
|
-
headers?: {
|
|
17473
|
-
/**
|
|
17474
|
-
* Idempotency-Key
|
|
17475
|
-
*/
|
|
17476
|
-
'Idempotency-Key'?: string | null;
|
|
17477
|
-
};
|
|
17478
|
-
path: {
|
|
17479
|
-
/**
|
|
17480
|
-
* Graph Id
|
|
17481
|
-
*/
|
|
17482
|
-
graph_id: string;
|
|
17483
|
-
};
|
|
17484
|
-
query?: never;
|
|
17485
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/update-position';
|
|
17486
|
-
};
|
|
17487
|
-
|
|
17488
|
-
export type OpUpdatePositionErrors = {
|
|
17489
|
-
/**
|
|
17490
|
-
* Invalid request payload
|
|
17491
|
-
*/
|
|
17492
|
-
400: OperationError;
|
|
17493
|
-
/**
|
|
17494
|
-
* Unauthorized — missing or invalid credentials
|
|
17495
|
-
*/
|
|
17496
|
-
401: unknown;
|
|
17497
|
-
/**
|
|
17498
|
-
* Forbidden — caller cannot access this graph
|
|
17499
|
-
*/
|
|
17500
|
-
403: unknown;
|
|
17501
|
-
/**
|
|
17502
|
-
* Resource not found (graph, ledger, report, etc.)
|
|
17503
|
-
*/
|
|
17504
|
-
404: OperationError;
|
|
17505
|
-
/**
|
|
17506
|
-
* Idempotency-Key reused with a different request body, or other operation-level conflict
|
|
17507
|
-
*/
|
|
17508
|
-
409: OperationError;
|
|
17509
|
-
/**
|
|
17510
|
-
* Validation Error
|
|
17511
|
-
*/
|
|
17512
|
-
422: HttpValidationError;
|
|
17513
|
-
/**
|
|
17514
|
-
* Rate limit exceeded
|
|
17515
|
-
*/
|
|
17516
|
-
429: unknown;
|
|
17517
|
-
/**
|
|
17518
|
-
* Internal error
|
|
17519
|
-
*/
|
|
17520
|
-
500: unknown;
|
|
17521
|
-
};
|
|
17522
|
-
|
|
17523
|
-
export type OpUpdatePositionError = OpUpdatePositionErrors[keyof OpUpdatePositionErrors];
|
|
17524
|
-
|
|
17525
|
-
export type OpUpdatePositionResponses = {
|
|
17526
|
-
/**
|
|
17527
|
-
* Successful Response
|
|
17528
|
-
*/
|
|
17529
|
-
200: OperationEnvelope;
|
|
17530
|
-
};
|
|
17531
|
-
|
|
17532
|
-
export type OpUpdatePositionResponse = OpUpdatePositionResponses[keyof OpUpdatePositionResponses];
|
|
17533
|
-
|
|
17534
|
-
export type OpDeletePositionData = {
|
|
17535
|
-
body: DeletePositionOperation;
|
|
17536
|
-
headers?: {
|
|
17537
|
-
/**
|
|
17538
|
-
* Idempotency-Key
|
|
17539
|
-
*/
|
|
17540
|
-
'Idempotency-Key'?: string | null;
|
|
17541
|
-
};
|
|
17542
|
-
path: {
|
|
17543
|
-
/**
|
|
17544
|
-
* Graph Id
|
|
17545
|
-
*/
|
|
17546
|
-
graph_id: string;
|
|
17547
|
-
};
|
|
17548
|
-
query?: never;
|
|
17549
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/delete-position';
|
|
17550
|
-
};
|
|
17551
|
-
|
|
17552
|
-
export type OpDeletePositionErrors = {
|
|
17553
|
-
/**
|
|
17554
|
-
* Invalid request payload
|
|
17555
|
-
*/
|
|
17556
|
-
400: OperationError;
|
|
17557
|
-
/**
|
|
17558
|
-
* Unauthorized — missing or invalid credentials
|
|
17559
|
-
*/
|
|
17560
|
-
401: unknown;
|
|
17561
|
-
/**
|
|
17562
|
-
* Forbidden — caller cannot access this graph
|
|
17563
|
-
*/
|
|
17564
|
-
403: unknown;
|
|
17565
|
-
/**
|
|
17566
|
-
* Resource not found (graph, ledger, report, etc.)
|
|
17567
|
-
*/
|
|
17568
|
-
404: OperationError;
|
|
17569
|
-
/**
|
|
17570
|
-
* Idempotency-Key reused with a different request body, or other operation-level conflict
|
|
17571
|
-
*/
|
|
17572
|
-
409: OperationError;
|
|
17573
|
-
/**
|
|
17574
|
-
* Validation Error
|
|
17575
|
-
*/
|
|
17576
|
-
422: HttpValidationError;
|
|
17577
|
-
/**
|
|
17578
|
-
* Rate limit exceeded
|
|
17579
|
-
*/
|
|
17580
|
-
429: unknown;
|
|
17581
|
-
/**
|
|
17582
|
-
* Internal error
|
|
17583
|
-
*/
|
|
17584
|
-
500: unknown;
|
|
17585
|
-
};
|
|
17586
|
-
|
|
17587
|
-
export type OpDeletePositionError = OpDeletePositionErrors[keyof OpDeletePositionErrors];
|
|
17588
|
-
|
|
17589
|
-
export type OpDeletePositionResponses = {
|
|
17590
|
-
/**
|
|
17591
|
-
* Successful Response
|
|
17592
|
-
*/
|
|
17593
|
-
200: OperationEnvelope;
|
|
17594
|
-
};
|
|
17595
|
-
|
|
17596
|
-
export type OpDeletePositionResponse = OpDeletePositionResponses[keyof OpDeletePositionResponses];
|