@robosystems/client 0.3.14 → 0.3.16
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 +133 -18
- package/artifacts/graphql/generated/graphql.js +65 -4
- package/artifacts/graphql/generated/graphql.ts +199 -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 +11 -35
- package/sdk/sdk.gen.js +17 -68
- package/sdk/sdk.gen.ts +14 -65
- package/sdk/types.gen.d.ts +255 -363
- package/sdk/types.gen.ts +261 -381
- package/sdk.gen.d.ts +11 -35
- package/sdk.gen.js +17 -68
- package/sdk.gen.ts +14 -65
- package/types.gen.d.ts +255 -363
- package/types.gen.ts +261 -381
- 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/sdk/types.gen.ts
CHANGED
|
@@ -1713,79 +1713,20 @@ export type CreateMappingAssociationOperation = {
|
|
|
1713
1713
|
};
|
|
1714
1714
|
|
|
1715
1715
|
/**
|
|
1716
|
-
*
|
|
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.
|
|
1717
1723
|
*/
|
|
1718
|
-
export type
|
|
1719
|
-
|
|
1720
|
-
* Name
|
|
1721
|
-
*/
|
|
1722
|
-
name: string;
|
|
1723
|
-
/**
|
|
1724
|
-
* Description
|
|
1725
|
-
*/
|
|
1726
|
-
description?: string | null;
|
|
1727
|
-
/**
|
|
1728
|
-
* Strategy
|
|
1729
|
-
*/
|
|
1730
|
-
strategy?: string | null;
|
|
1724
|
+
export type CreatePortfolioBlockRequest = {
|
|
1725
|
+
portfolio: PortfolioBlockPortfolioFields;
|
|
1731
1726
|
/**
|
|
1732
|
-
*
|
|
1727
|
+
* Positions
|
|
1733
1728
|
*/
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* Base Currency
|
|
1737
|
-
*/
|
|
1738
|
-
base_currency?: string;
|
|
1739
|
-
};
|
|
1740
|
-
|
|
1741
|
-
/**
|
|
1742
|
-
* CreatePositionRequest
|
|
1743
|
-
*/
|
|
1744
|
-
export type CreatePositionRequest = {
|
|
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;
|
|
1785
|
-
/**
|
|
1786
|
-
* Notes
|
|
1787
|
-
*/
|
|
1788
|
-
notes?: string | null;
|
|
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
|
|
2575
|
+
*
|
|
2576
|
+
* CQRS body for `POST /operations/delete-portfolio-block`.
|
|
2634
2577
|
*
|
|
2635
|
-
*
|
|
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
|
*
|
|
@@ -7017,15 +7154,21 @@ export type SuccessResponse = {
|
|
|
7017
7154
|
*/
|
|
7018
7155
|
export type SyncConnectionRequest = {
|
|
7019
7156
|
/**
|
|
7020
|
-
* Full
|
|
7157
|
+
* Full Rebuild
|
|
7158
|
+
*
|
|
7159
|
+
* Pull complete history from the provider, ignoring lookback window. Takes precedence over since_date.
|
|
7160
|
+
*/
|
|
7161
|
+
full_rebuild?: boolean;
|
|
7162
|
+
/**
|
|
7163
|
+
* Since Date
|
|
7021
7164
|
*
|
|
7022
|
-
*
|
|
7165
|
+
* Sync data from this date forward (ISO 8601). Ignored if full_rebuild=True. If neither set, provider default applies (e.g., QuickBooks: 60 days).
|
|
7023
7166
|
*/
|
|
7024
|
-
|
|
7167
|
+
since_date?: string | null;
|
|
7025
7168
|
/**
|
|
7026
7169
|
* Sync Options
|
|
7027
7170
|
*
|
|
7028
|
-
* Provider-specific sync options
|
|
7171
|
+
* Provider-specific sync options (escape hatch for fields not exposed at the top level).
|
|
7029
7172
|
*/
|
|
7030
7173
|
sync_options?: {
|
|
7031
7174
|
[key: string]: unknown;
|
|
@@ -7998,94 +8141,23 @@ export type UpdatePasswordRequest = {
|
|
|
7998
8141
|
};
|
|
7999
8142
|
|
|
8000
8143
|
/**
|
|
8001
|
-
*
|
|
8144
|
+
* UpdatePortfolioBlockOperation
|
|
8002
8145
|
*
|
|
8003
|
-
* CQRS body for `POST /operations/update-portfolio`.
|
|
8146
|
+
* CQRS body for `POST /operations/update-portfolio-block`.
|
|
8004
8147
|
*
|
|
8005
|
-
*
|
|
8006
|
-
*
|
|
8148
|
+
* Carries an optional patch to portfolio fields and three position
|
|
8149
|
+
* delta lists (`add` / `update` / `dispose`). All apply atomically
|
|
8150
|
+
* with the portfolio patch — partial failures roll back.
|
|
8007
8151
|
*/
|
|
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;
|
|
8152
|
+
export type UpdatePortfolioBlockOperation = {
|
|
8029
8153
|
/**
|
|
8030
8154
|
* Portfolio Id
|
|
8031
8155
|
*
|
|
8032
8156
|
* Target portfolio ID.
|
|
8033
8157
|
*/
|
|
8034
8158
|
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;
|
|
8159
|
+
portfolio?: PortfolioBlockPortfolioPatch;
|
|
8160
|
+
positions?: PortfolioBlockPositions;
|
|
8089
8161
|
};
|
|
8090
8162
|
|
|
8091
8163
|
/**
|
|
@@ -17019,8 +17091,8 @@ export type OpFinancialStatementAnalysisResponses = {
|
|
|
17019
17091
|
|
|
17020
17092
|
export type OpFinancialStatementAnalysisResponse = OpFinancialStatementAnalysisResponses[keyof OpFinancialStatementAnalysisResponses];
|
|
17021
17093
|
|
|
17022
|
-
export type
|
|
17023
|
-
body:
|
|
17094
|
+
export type OpCreatePortfolioBlockData = {
|
|
17095
|
+
body: CreatePortfolioBlockRequest;
|
|
17024
17096
|
headers?: {
|
|
17025
17097
|
/**
|
|
17026
17098
|
* Idempotency-Key
|
|
@@ -17034,10 +17106,10 @@ export type OpCreatePortfolioData = {
|
|
|
17034
17106
|
graph_id: string;
|
|
17035
17107
|
};
|
|
17036
17108
|
query?: never;
|
|
17037
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
|
|
17109
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio-block';
|
|
17038
17110
|
};
|
|
17039
17111
|
|
|
17040
|
-
export type
|
|
17112
|
+
export type OpCreatePortfolioBlockErrors = {
|
|
17041
17113
|
/**
|
|
17042
17114
|
* Invalid request payload
|
|
17043
17115
|
*/
|
|
@@ -17072,19 +17144,19 @@ export type OpCreatePortfolioErrors = {
|
|
|
17072
17144
|
500: unknown;
|
|
17073
17145
|
};
|
|
17074
17146
|
|
|
17075
|
-
export type
|
|
17147
|
+
export type OpCreatePortfolioBlockError = OpCreatePortfolioBlockErrors[keyof OpCreatePortfolioBlockErrors];
|
|
17076
17148
|
|
|
17077
|
-
export type
|
|
17149
|
+
export type OpCreatePortfolioBlockResponses = {
|
|
17078
17150
|
/**
|
|
17079
17151
|
* Successful Response
|
|
17080
17152
|
*/
|
|
17081
17153
|
200: OperationEnvelope;
|
|
17082
17154
|
};
|
|
17083
17155
|
|
|
17084
|
-
export type
|
|
17156
|
+
export type OpCreatePortfolioBlockResponse = OpCreatePortfolioBlockResponses[keyof OpCreatePortfolioBlockResponses];
|
|
17085
17157
|
|
|
17086
|
-
export type
|
|
17087
|
-
body:
|
|
17158
|
+
export type OpUpdatePortfolioBlockData = {
|
|
17159
|
+
body: UpdatePortfolioBlockOperation;
|
|
17088
17160
|
headers?: {
|
|
17089
17161
|
/**
|
|
17090
17162
|
* Idempotency-Key
|
|
@@ -17098,10 +17170,10 @@ export type OpUpdatePortfolioData = {
|
|
|
17098
17170
|
graph_id: string;
|
|
17099
17171
|
};
|
|
17100
17172
|
query?: never;
|
|
17101
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio';
|
|
17173
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio-block';
|
|
17102
17174
|
};
|
|
17103
17175
|
|
|
17104
|
-
export type
|
|
17176
|
+
export type OpUpdatePortfolioBlockErrors = {
|
|
17105
17177
|
/**
|
|
17106
17178
|
* Invalid request payload
|
|
17107
17179
|
*/
|
|
@@ -17136,19 +17208,19 @@ export type OpUpdatePortfolioErrors = {
|
|
|
17136
17208
|
500: unknown;
|
|
17137
17209
|
};
|
|
17138
17210
|
|
|
17139
|
-
export type
|
|
17211
|
+
export type OpUpdatePortfolioBlockError = OpUpdatePortfolioBlockErrors[keyof OpUpdatePortfolioBlockErrors];
|
|
17140
17212
|
|
|
17141
|
-
export type
|
|
17213
|
+
export type OpUpdatePortfolioBlockResponses = {
|
|
17142
17214
|
/**
|
|
17143
17215
|
* Successful Response
|
|
17144
17216
|
*/
|
|
17145
17217
|
200: OperationEnvelope;
|
|
17146
17218
|
};
|
|
17147
17219
|
|
|
17148
|
-
export type
|
|
17220
|
+
export type OpUpdatePortfolioBlockResponse = OpUpdatePortfolioBlockResponses[keyof OpUpdatePortfolioBlockResponses];
|
|
17149
17221
|
|
|
17150
|
-
export type
|
|
17151
|
-
body:
|
|
17222
|
+
export type OpDeletePortfolioBlockData = {
|
|
17223
|
+
body: DeletePortfolioBlockOperation;
|
|
17152
17224
|
headers?: {
|
|
17153
17225
|
/**
|
|
17154
17226
|
* Idempotency-Key
|
|
@@ -17162,10 +17234,10 @@ export type OpDeletePortfolioData = {
|
|
|
17162
17234
|
graph_id: string;
|
|
17163
17235
|
};
|
|
17164
17236
|
query?: never;
|
|
17165
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio';
|
|
17237
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio-block';
|
|
17166
17238
|
};
|
|
17167
17239
|
|
|
17168
|
-
export type
|
|
17240
|
+
export type OpDeletePortfolioBlockErrors = {
|
|
17169
17241
|
/**
|
|
17170
17242
|
* Invalid request payload
|
|
17171
17243
|
*/
|
|
@@ -17200,16 +17272,16 @@ export type OpDeletePortfolioErrors = {
|
|
|
17200
17272
|
500: unknown;
|
|
17201
17273
|
};
|
|
17202
17274
|
|
|
17203
|
-
export type
|
|
17275
|
+
export type OpDeletePortfolioBlockError = OpDeletePortfolioBlockErrors[keyof OpDeletePortfolioBlockErrors];
|
|
17204
17276
|
|
|
17205
|
-
export type
|
|
17277
|
+
export type OpDeletePortfolioBlockResponses = {
|
|
17206
17278
|
/**
|
|
17207
17279
|
* Successful Response
|
|
17208
17280
|
*/
|
|
17209
17281
|
200: OperationEnvelope;
|
|
17210
17282
|
};
|
|
17211
17283
|
|
|
17212
|
-
export type
|
|
17284
|
+
export type OpDeletePortfolioBlockResponse = OpDeletePortfolioBlockResponses[keyof OpDeletePortfolioBlockResponses];
|
|
17213
17285
|
|
|
17214
17286
|
export type OpCreateSecurityData = {
|
|
17215
17287
|
body: CreateSecurityRequest;
|
|
@@ -17402,195 +17474,3 @@ export type OpDeleteSecurityResponses = {
|
|
|
17402
17474
|
};
|
|
17403
17475
|
|
|
17404
17476
|
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];
|