@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.d.ts
CHANGED
|
@@ -1664,78 +1664,20 @@ export type CreateMappingAssociationOperation = {
|
|
|
1664
1664
|
mapping_id: string;
|
|
1665
1665
|
};
|
|
1666
1666
|
/**
|
|
1667
|
-
*
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
/**
|
|
1675
|
-
* Description
|
|
1676
|
-
*/
|
|
1677
|
-
description?: string | null;
|
|
1678
|
-
/**
|
|
1679
|
-
* Strategy
|
|
1680
|
-
*/
|
|
1681
|
-
strategy?: string | null;
|
|
1682
|
-
/**
|
|
1683
|
-
* Inception Date
|
|
1684
|
-
*/
|
|
1685
|
-
inception_date?: string | null;
|
|
1686
|
-
/**
|
|
1687
|
-
* Base Currency
|
|
1688
|
-
*/
|
|
1689
|
-
base_currency?: string;
|
|
1690
|
-
};
|
|
1691
|
-
/**
|
|
1692
|
-
* CreatePositionRequest
|
|
1667
|
+
* CreatePortfolioBlockRequest
|
|
1668
|
+
*
|
|
1669
|
+
* CQRS body for `POST /operations/create-portfolio-block`.
|
|
1670
|
+
*
|
|
1671
|
+
* Whole envelope validated before any DB write; the portfolio + initial
|
|
1672
|
+
* positions land in one transaction. Each `position` references an
|
|
1673
|
+
* existing `security_id` — the operation does not mint securities.
|
|
1693
1674
|
*/
|
|
1694
|
-
export type
|
|
1695
|
-
|
|
1696
|
-
* Portfolio Id
|
|
1697
|
-
*/
|
|
1698
|
-
portfolio_id: string;
|
|
1699
|
-
/**
|
|
1700
|
-
* Security Id
|
|
1701
|
-
*/
|
|
1702
|
-
security_id: string;
|
|
1703
|
-
/**
|
|
1704
|
-
* Quantity
|
|
1705
|
-
*/
|
|
1706
|
-
quantity: number;
|
|
1707
|
-
/**
|
|
1708
|
-
* Quantity Type
|
|
1709
|
-
*/
|
|
1710
|
-
quantity_type?: string;
|
|
1711
|
-
/**
|
|
1712
|
-
* Cost Basis
|
|
1713
|
-
*/
|
|
1714
|
-
cost_basis?: number;
|
|
1715
|
-
/**
|
|
1716
|
-
* Currency
|
|
1717
|
-
*/
|
|
1718
|
-
currency?: string;
|
|
1719
|
-
/**
|
|
1720
|
-
* Current Value
|
|
1721
|
-
*/
|
|
1722
|
-
current_value?: number | null;
|
|
1723
|
-
/**
|
|
1724
|
-
* Valuation Date
|
|
1725
|
-
*/
|
|
1726
|
-
valuation_date?: string | null;
|
|
1675
|
+
export type CreatePortfolioBlockRequest = {
|
|
1676
|
+
portfolio: PortfolioBlockPortfolioFields;
|
|
1727
1677
|
/**
|
|
1728
|
-
*
|
|
1729
|
-
*/
|
|
1730
|
-
valuation_source?: string | null;
|
|
1731
|
-
/**
|
|
1732
|
-
* Acquisition Date
|
|
1678
|
+
* Positions
|
|
1733
1679
|
*/
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* Notes
|
|
1737
|
-
*/
|
|
1738
|
-
notes?: string | null;
|
|
1680
|
+
positions?: Array<PortfolioBlockPositionAdd>;
|
|
1739
1681
|
};
|
|
1740
1682
|
/**
|
|
1741
1683
|
* CreatePublishListRequest
|
|
@@ -2560,30 +2502,26 @@ export type DeleteMappingAssociationOperation = {
|
|
|
2560
2502
|
association_id: string;
|
|
2561
2503
|
};
|
|
2562
2504
|
/**
|
|
2563
|
-
*
|
|
2505
|
+
* DeletePortfolioBlockOperation
|
|
2564
2506
|
*
|
|
2565
|
-
* CQRS body for `POST /operations/delete-portfolio`.
|
|
2507
|
+
* CQRS body for `POST /operations/delete-portfolio-block`.
|
|
2508
|
+
*
|
|
2509
|
+
* Cascade-deletes the portfolio plus all of its positions. When the
|
|
2510
|
+
* portfolio still has active positions, the operation is rejected
|
|
2511
|
+
* unless `confirm_active_positions=true` is set — safety belt to
|
|
2512
|
+
* prevent accidental cascade.
|
|
2566
2513
|
*/
|
|
2567
|
-
export type
|
|
2514
|
+
export type DeletePortfolioBlockOperation = {
|
|
2568
2515
|
/**
|
|
2569
2516
|
* Portfolio Id
|
|
2570
2517
|
*
|
|
2571
2518
|
* Target portfolio ID.
|
|
2572
2519
|
*/
|
|
2573
2520
|
portfolio_id: string;
|
|
2574
|
-
};
|
|
2575
|
-
/**
|
|
2576
|
-
* DeletePositionOperation
|
|
2577
|
-
*
|
|
2578
|
-
* CQRS body for `POST /operations/delete-position` (soft delete).
|
|
2579
|
-
*/
|
|
2580
|
-
export type DeletePositionOperation = {
|
|
2581
2521
|
/**
|
|
2582
|
-
*
|
|
2583
|
-
*
|
|
2584
|
-
* Target position ID.
|
|
2522
|
+
* Confirm Active Positions
|
|
2585
2523
|
*/
|
|
2586
|
-
|
|
2524
|
+
confirm_active_positions?: boolean;
|
|
2587
2525
|
};
|
|
2588
2526
|
/**
|
|
2589
2527
|
* DeletePublishListOperation
|
|
@@ -5620,6 +5558,201 @@ export type PortalSessionResponse = {
|
|
|
5620
5558
|
*/
|
|
5621
5559
|
portal_url: string;
|
|
5622
5560
|
};
|
|
5561
|
+
/**
|
|
5562
|
+
* PortfolioBlockPortfolioFields
|
|
5563
|
+
*
|
|
5564
|
+
* Fields settable on the portfolio core when creating a block.
|
|
5565
|
+
*/
|
|
5566
|
+
export type PortfolioBlockPortfolioFields = {
|
|
5567
|
+
/**
|
|
5568
|
+
* Name
|
|
5569
|
+
*/
|
|
5570
|
+
name: string;
|
|
5571
|
+
/**
|
|
5572
|
+
* Description
|
|
5573
|
+
*/
|
|
5574
|
+
description?: string | null;
|
|
5575
|
+
/**
|
|
5576
|
+
* Strategy
|
|
5577
|
+
*/
|
|
5578
|
+
strategy?: string | null;
|
|
5579
|
+
/**
|
|
5580
|
+
* Inception Date
|
|
5581
|
+
*/
|
|
5582
|
+
inception_date?: string | null;
|
|
5583
|
+
/**
|
|
5584
|
+
* Base Currency
|
|
5585
|
+
*/
|
|
5586
|
+
base_currency?: string;
|
|
5587
|
+
/**
|
|
5588
|
+
* Entity Id
|
|
5589
|
+
*/
|
|
5590
|
+
entity_id?: string | null;
|
|
5591
|
+
};
|
|
5592
|
+
/**
|
|
5593
|
+
* PortfolioBlockPortfolioPatch
|
|
5594
|
+
*
|
|
5595
|
+
* Patchable portfolio fields on `update-portfolio-block`. Unset fields ignored.
|
|
5596
|
+
*/
|
|
5597
|
+
export type PortfolioBlockPortfolioPatch = {
|
|
5598
|
+
/**
|
|
5599
|
+
* Name
|
|
5600
|
+
*/
|
|
5601
|
+
name?: string | null;
|
|
5602
|
+
/**
|
|
5603
|
+
* Description
|
|
5604
|
+
*/
|
|
5605
|
+
description?: string | null;
|
|
5606
|
+
/**
|
|
5607
|
+
* Strategy
|
|
5608
|
+
*/
|
|
5609
|
+
strategy?: string | null;
|
|
5610
|
+
/**
|
|
5611
|
+
* Inception Date
|
|
5612
|
+
*/
|
|
5613
|
+
inception_date?: string | null;
|
|
5614
|
+
/**
|
|
5615
|
+
* Base Currency
|
|
5616
|
+
*/
|
|
5617
|
+
base_currency?: string | null;
|
|
5618
|
+
/**
|
|
5619
|
+
* Entity Id
|
|
5620
|
+
*/
|
|
5621
|
+
entity_id?: string | null;
|
|
5622
|
+
};
|
|
5623
|
+
/**
|
|
5624
|
+
* PortfolioBlockPositionAdd
|
|
5625
|
+
*
|
|
5626
|
+
* A single new position to mint inside a portfolio-block create/update.
|
|
5627
|
+
*
|
|
5628
|
+
* References an existing security; this surface never creates securities
|
|
5629
|
+
* (Master Data CRUD owns that lifecycle).
|
|
5630
|
+
*/
|
|
5631
|
+
export type PortfolioBlockPositionAdd = {
|
|
5632
|
+
/**
|
|
5633
|
+
* Security Id
|
|
5634
|
+
*/
|
|
5635
|
+
security_id: string;
|
|
5636
|
+
/**
|
|
5637
|
+
* Quantity
|
|
5638
|
+
*/
|
|
5639
|
+
quantity: number;
|
|
5640
|
+
/**
|
|
5641
|
+
* Quantity Type
|
|
5642
|
+
*/
|
|
5643
|
+
quantity_type?: string;
|
|
5644
|
+
/**
|
|
5645
|
+
* Cost Basis
|
|
5646
|
+
*/
|
|
5647
|
+
cost_basis?: number;
|
|
5648
|
+
/**
|
|
5649
|
+
* Currency
|
|
5650
|
+
*/
|
|
5651
|
+
currency?: string;
|
|
5652
|
+
/**
|
|
5653
|
+
* Current Value
|
|
5654
|
+
*/
|
|
5655
|
+
current_value?: number | null;
|
|
5656
|
+
/**
|
|
5657
|
+
* Valuation Date
|
|
5658
|
+
*/
|
|
5659
|
+
valuation_date?: string | null;
|
|
5660
|
+
/**
|
|
5661
|
+
* Valuation Source
|
|
5662
|
+
*/
|
|
5663
|
+
valuation_source?: string | null;
|
|
5664
|
+
/**
|
|
5665
|
+
* Acquisition Date
|
|
5666
|
+
*/
|
|
5667
|
+
acquisition_date?: string | null;
|
|
5668
|
+
/**
|
|
5669
|
+
* Notes
|
|
5670
|
+
*/
|
|
5671
|
+
notes?: string | null;
|
|
5672
|
+
};
|
|
5673
|
+
/**
|
|
5674
|
+
* PortfolioBlockPositionDispose
|
|
5675
|
+
*
|
|
5676
|
+
* Dispose-by-id for an existing position in `update-portfolio-block`.
|
|
5677
|
+
*
|
|
5678
|
+
* Soft-delete: status flips to `disposed` and `disposition_date` is
|
|
5679
|
+
* stamped. `disposition_reason`, when supplied, is recorded under
|
|
5680
|
+
* `metadata.disposition_reason`.
|
|
5681
|
+
*/
|
|
5682
|
+
export type PortfolioBlockPositionDispose = {
|
|
5683
|
+
/**
|
|
5684
|
+
* Id
|
|
5685
|
+
*/
|
|
5686
|
+
id: string;
|
|
5687
|
+
/**
|
|
5688
|
+
* Disposition Reason
|
|
5689
|
+
*/
|
|
5690
|
+
disposition_reason?: string | null;
|
|
5691
|
+
};
|
|
5692
|
+
/**
|
|
5693
|
+
* PortfolioBlockPositionUpdate
|
|
5694
|
+
*
|
|
5695
|
+
* Patch-by-id for an existing position in `update-portfolio-block`.
|
|
5696
|
+
*
|
|
5697
|
+
* Unset fields are ignored; `id` is the only required field.
|
|
5698
|
+
*/
|
|
5699
|
+
export type PortfolioBlockPositionUpdate = {
|
|
5700
|
+
/**
|
|
5701
|
+
* Id
|
|
5702
|
+
*/
|
|
5703
|
+
id: string;
|
|
5704
|
+
/**
|
|
5705
|
+
* Quantity
|
|
5706
|
+
*/
|
|
5707
|
+
quantity?: number | null;
|
|
5708
|
+
/**
|
|
5709
|
+
* Quantity Type
|
|
5710
|
+
*/
|
|
5711
|
+
quantity_type?: string | null;
|
|
5712
|
+
/**
|
|
5713
|
+
* Cost Basis
|
|
5714
|
+
*/
|
|
5715
|
+
cost_basis?: number | null;
|
|
5716
|
+
/**
|
|
5717
|
+
* Current Value
|
|
5718
|
+
*/
|
|
5719
|
+
current_value?: number | null;
|
|
5720
|
+
/**
|
|
5721
|
+
* Valuation Date
|
|
5722
|
+
*/
|
|
5723
|
+
valuation_date?: string | null;
|
|
5724
|
+
/**
|
|
5725
|
+
* Valuation Source
|
|
5726
|
+
*/
|
|
5727
|
+
valuation_source?: string | null;
|
|
5728
|
+
/**
|
|
5729
|
+
* Acquisition Date
|
|
5730
|
+
*/
|
|
5731
|
+
acquisition_date?: string | null;
|
|
5732
|
+
/**
|
|
5733
|
+
* Notes
|
|
5734
|
+
*/
|
|
5735
|
+
notes?: string | null;
|
|
5736
|
+
};
|
|
5737
|
+
/**
|
|
5738
|
+
* PortfolioBlockPositions
|
|
5739
|
+
*
|
|
5740
|
+
* Position deltas applied atomically inside `update-portfolio-block`.
|
|
5741
|
+
*/
|
|
5742
|
+
export type PortfolioBlockPositions = {
|
|
5743
|
+
/**
|
|
5744
|
+
* Add
|
|
5745
|
+
*/
|
|
5746
|
+
add?: Array<PortfolioBlockPositionAdd>;
|
|
5747
|
+
/**
|
|
5748
|
+
* Update
|
|
5749
|
+
*/
|
|
5750
|
+
update?: Array<PortfolioBlockPositionUpdate>;
|
|
5751
|
+
/**
|
|
5752
|
+
* Dispose
|
|
5753
|
+
*/
|
|
5754
|
+
dispose?: Array<PortfolioBlockPositionDispose>;
|
|
5755
|
+
};
|
|
5623
5756
|
/**
|
|
5624
5757
|
* QueryLimits
|
|
5625
5758
|
*
|
|
@@ -7776,93 +7909,23 @@ export type UpdatePasswordRequest = {
|
|
|
7776
7909
|
confirm_password: string;
|
|
7777
7910
|
};
|
|
7778
7911
|
/**
|
|
7779
|
-
*
|
|
7912
|
+
* UpdatePortfolioBlockOperation
|
|
7780
7913
|
*
|
|
7781
|
-
* CQRS body for `POST /operations/update-portfolio`.
|
|
7914
|
+
* CQRS body for `POST /operations/update-portfolio-block`.
|
|
7782
7915
|
*
|
|
7783
|
-
*
|
|
7784
|
-
*
|
|
7916
|
+
* Carries an optional patch to portfolio fields and three position
|
|
7917
|
+
* delta lists (`add` / `update` / `dispose`). All apply atomically
|
|
7918
|
+
* with the portfolio patch — partial failures roll back.
|
|
7785
7919
|
*/
|
|
7786
|
-
export type
|
|
7787
|
-
/**
|
|
7788
|
-
* Name
|
|
7789
|
-
*/
|
|
7790
|
-
name?: string | null;
|
|
7791
|
-
/**
|
|
7792
|
-
* Description
|
|
7793
|
-
*/
|
|
7794
|
-
description?: string | null;
|
|
7795
|
-
/**
|
|
7796
|
-
* Strategy
|
|
7797
|
-
*/
|
|
7798
|
-
strategy?: string | null;
|
|
7799
|
-
/**
|
|
7800
|
-
* Inception Date
|
|
7801
|
-
*/
|
|
7802
|
-
inception_date?: string | null;
|
|
7803
|
-
/**
|
|
7804
|
-
* Base Currency
|
|
7805
|
-
*/
|
|
7806
|
-
base_currency?: string | null;
|
|
7920
|
+
export type UpdatePortfolioBlockOperation = {
|
|
7807
7921
|
/**
|
|
7808
7922
|
* Portfolio Id
|
|
7809
7923
|
*
|
|
7810
7924
|
* Target portfolio ID.
|
|
7811
7925
|
*/
|
|
7812
7926
|
portfolio_id: string;
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
* UpdatePositionOperation
|
|
7816
|
-
*
|
|
7817
|
-
* CQRS body for `POST /operations/update-position`.
|
|
7818
|
-
*/
|
|
7819
|
-
export type UpdatePositionOperation = {
|
|
7820
|
-
/**
|
|
7821
|
-
* Quantity
|
|
7822
|
-
*/
|
|
7823
|
-
quantity?: number | null;
|
|
7824
|
-
/**
|
|
7825
|
-
* Quantity Type
|
|
7826
|
-
*/
|
|
7827
|
-
quantity_type?: string | null;
|
|
7828
|
-
/**
|
|
7829
|
-
* Cost Basis
|
|
7830
|
-
*/
|
|
7831
|
-
cost_basis?: number | null;
|
|
7832
|
-
/**
|
|
7833
|
-
* Current Value
|
|
7834
|
-
*/
|
|
7835
|
-
current_value?: number | null;
|
|
7836
|
-
/**
|
|
7837
|
-
* Valuation Date
|
|
7838
|
-
*/
|
|
7839
|
-
valuation_date?: string | null;
|
|
7840
|
-
/**
|
|
7841
|
-
* Valuation Source
|
|
7842
|
-
*/
|
|
7843
|
-
valuation_source?: string | null;
|
|
7844
|
-
/**
|
|
7845
|
-
* Acquisition Date
|
|
7846
|
-
*/
|
|
7847
|
-
acquisition_date?: string | null;
|
|
7848
|
-
/**
|
|
7849
|
-
* Disposition Date
|
|
7850
|
-
*/
|
|
7851
|
-
disposition_date?: string | null;
|
|
7852
|
-
/**
|
|
7853
|
-
* Status
|
|
7854
|
-
*/
|
|
7855
|
-
status?: string | null;
|
|
7856
|
-
/**
|
|
7857
|
-
* Notes
|
|
7858
|
-
*/
|
|
7859
|
-
notes?: string | null;
|
|
7860
|
-
/**
|
|
7861
|
-
* Position Id
|
|
7862
|
-
*
|
|
7863
|
-
* Target position ID.
|
|
7864
|
-
*/
|
|
7865
|
-
position_id: string;
|
|
7927
|
+
portfolio?: PortfolioBlockPortfolioPatch;
|
|
7928
|
+
positions?: PortfolioBlockPositions;
|
|
7866
7929
|
};
|
|
7867
7930
|
/**
|
|
7868
7931
|
* UpdatePublishListOperation
|
|
@@ -16043,8 +16106,8 @@ export type OpFinancialStatementAnalysisResponses = {
|
|
|
16043
16106
|
200: OperationEnvelope;
|
|
16044
16107
|
};
|
|
16045
16108
|
export type OpFinancialStatementAnalysisResponse = OpFinancialStatementAnalysisResponses[keyof OpFinancialStatementAnalysisResponses];
|
|
16046
|
-
export type
|
|
16047
|
-
body:
|
|
16109
|
+
export type OpCreatePortfolioBlockData = {
|
|
16110
|
+
body: CreatePortfolioBlockRequest;
|
|
16048
16111
|
headers?: {
|
|
16049
16112
|
/**
|
|
16050
16113
|
* Idempotency-Key
|
|
@@ -16058,9 +16121,9 @@ export type OpCreatePortfolioData = {
|
|
|
16058
16121
|
graph_id: string;
|
|
16059
16122
|
};
|
|
16060
16123
|
query?: never;
|
|
16061
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
|
|
16124
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio-block';
|
|
16062
16125
|
};
|
|
16063
|
-
export type
|
|
16126
|
+
export type OpCreatePortfolioBlockErrors = {
|
|
16064
16127
|
/**
|
|
16065
16128
|
* Invalid request payload
|
|
16066
16129
|
*/
|
|
@@ -16094,16 +16157,16 @@ export type OpCreatePortfolioErrors = {
|
|
|
16094
16157
|
*/
|
|
16095
16158
|
500: unknown;
|
|
16096
16159
|
};
|
|
16097
|
-
export type
|
|
16098
|
-
export type
|
|
16160
|
+
export type OpCreatePortfolioBlockError = OpCreatePortfolioBlockErrors[keyof OpCreatePortfolioBlockErrors];
|
|
16161
|
+
export type OpCreatePortfolioBlockResponses = {
|
|
16099
16162
|
/**
|
|
16100
16163
|
* Successful Response
|
|
16101
16164
|
*/
|
|
16102
16165
|
200: OperationEnvelope;
|
|
16103
16166
|
};
|
|
16104
|
-
export type
|
|
16105
|
-
export type
|
|
16106
|
-
body:
|
|
16167
|
+
export type OpCreatePortfolioBlockResponse = OpCreatePortfolioBlockResponses[keyof OpCreatePortfolioBlockResponses];
|
|
16168
|
+
export type OpUpdatePortfolioBlockData = {
|
|
16169
|
+
body: UpdatePortfolioBlockOperation;
|
|
16107
16170
|
headers?: {
|
|
16108
16171
|
/**
|
|
16109
16172
|
* Idempotency-Key
|
|
@@ -16117,9 +16180,9 @@ export type OpUpdatePortfolioData = {
|
|
|
16117
16180
|
graph_id: string;
|
|
16118
16181
|
};
|
|
16119
16182
|
query?: never;
|
|
16120
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio';
|
|
16183
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio-block';
|
|
16121
16184
|
};
|
|
16122
|
-
export type
|
|
16185
|
+
export type OpUpdatePortfolioBlockErrors = {
|
|
16123
16186
|
/**
|
|
16124
16187
|
* Invalid request payload
|
|
16125
16188
|
*/
|
|
@@ -16153,16 +16216,16 @@ export type OpUpdatePortfolioErrors = {
|
|
|
16153
16216
|
*/
|
|
16154
16217
|
500: unknown;
|
|
16155
16218
|
};
|
|
16156
|
-
export type
|
|
16157
|
-
export type
|
|
16219
|
+
export type OpUpdatePortfolioBlockError = OpUpdatePortfolioBlockErrors[keyof OpUpdatePortfolioBlockErrors];
|
|
16220
|
+
export type OpUpdatePortfolioBlockResponses = {
|
|
16158
16221
|
/**
|
|
16159
16222
|
* Successful Response
|
|
16160
16223
|
*/
|
|
16161
16224
|
200: OperationEnvelope;
|
|
16162
16225
|
};
|
|
16163
|
-
export type
|
|
16164
|
-
export type
|
|
16165
|
-
body:
|
|
16226
|
+
export type OpUpdatePortfolioBlockResponse = OpUpdatePortfolioBlockResponses[keyof OpUpdatePortfolioBlockResponses];
|
|
16227
|
+
export type OpDeletePortfolioBlockData = {
|
|
16228
|
+
body: DeletePortfolioBlockOperation;
|
|
16166
16229
|
headers?: {
|
|
16167
16230
|
/**
|
|
16168
16231
|
* Idempotency-Key
|
|
@@ -16176,9 +16239,9 @@ export type OpDeletePortfolioData = {
|
|
|
16176
16239
|
graph_id: string;
|
|
16177
16240
|
};
|
|
16178
16241
|
query?: never;
|
|
16179
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio';
|
|
16242
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio-block';
|
|
16180
16243
|
};
|
|
16181
|
-
export type
|
|
16244
|
+
export type OpDeletePortfolioBlockErrors = {
|
|
16182
16245
|
/**
|
|
16183
16246
|
* Invalid request payload
|
|
16184
16247
|
*/
|
|
@@ -16212,14 +16275,14 @@ export type OpDeletePortfolioErrors = {
|
|
|
16212
16275
|
*/
|
|
16213
16276
|
500: unknown;
|
|
16214
16277
|
};
|
|
16215
|
-
export type
|
|
16216
|
-
export type
|
|
16278
|
+
export type OpDeletePortfolioBlockError = OpDeletePortfolioBlockErrors[keyof OpDeletePortfolioBlockErrors];
|
|
16279
|
+
export type OpDeletePortfolioBlockResponses = {
|
|
16217
16280
|
/**
|
|
16218
16281
|
* Successful Response
|
|
16219
16282
|
*/
|
|
16220
16283
|
200: OperationEnvelope;
|
|
16221
16284
|
};
|
|
16222
|
-
export type
|
|
16285
|
+
export type OpDeletePortfolioBlockResponse = OpDeletePortfolioBlockResponses[keyof OpDeletePortfolioBlockResponses];
|
|
16223
16286
|
export type OpCreateSecurityData = {
|
|
16224
16287
|
body: CreateSecurityRequest;
|
|
16225
16288
|
headers?: {
|
|
@@ -16397,180 +16460,3 @@ export type OpDeleteSecurityResponses = {
|
|
|
16397
16460
|
200: OperationEnvelope;
|
|
16398
16461
|
};
|
|
16399
16462
|
export type OpDeleteSecurityResponse = OpDeleteSecurityResponses[keyof OpDeleteSecurityResponses];
|
|
16400
|
-
export type OpCreatePositionData = {
|
|
16401
|
-
body: CreatePositionRequest;
|
|
16402
|
-
headers?: {
|
|
16403
|
-
/**
|
|
16404
|
-
* Idempotency-Key
|
|
16405
|
-
*/
|
|
16406
|
-
'Idempotency-Key'?: string | null;
|
|
16407
|
-
};
|
|
16408
|
-
path: {
|
|
16409
|
-
/**
|
|
16410
|
-
* Graph Id
|
|
16411
|
-
*/
|
|
16412
|
-
graph_id: string;
|
|
16413
|
-
};
|
|
16414
|
-
query?: never;
|
|
16415
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/create-position';
|
|
16416
|
-
};
|
|
16417
|
-
export type OpCreatePositionErrors = {
|
|
16418
|
-
/**
|
|
16419
|
-
* Invalid request payload
|
|
16420
|
-
*/
|
|
16421
|
-
400: OperationError;
|
|
16422
|
-
/**
|
|
16423
|
-
* Unauthorized — missing or invalid credentials
|
|
16424
|
-
*/
|
|
16425
|
-
401: unknown;
|
|
16426
|
-
/**
|
|
16427
|
-
* Forbidden — caller cannot access this graph
|
|
16428
|
-
*/
|
|
16429
|
-
403: unknown;
|
|
16430
|
-
/**
|
|
16431
|
-
* Resource not found (graph, ledger, report, etc.)
|
|
16432
|
-
*/
|
|
16433
|
-
404: OperationError;
|
|
16434
|
-
/**
|
|
16435
|
-
* Idempotency-Key reused with a different request body, or other operation-level conflict
|
|
16436
|
-
*/
|
|
16437
|
-
409: OperationError;
|
|
16438
|
-
/**
|
|
16439
|
-
* Validation Error
|
|
16440
|
-
*/
|
|
16441
|
-
422: HttpValidationError;
|
|
16442
|
-
/**
|
|
16443
|
-
* Rate limit exceeded
|
|
16444
|
-
*/
|
|
16445
|
-
429: unknown;
|
|
16446
|
-
/**
|
|
16447
|
-
* Internal error
|
|
16448
|
-
*/
|
|
16449
|
-
500: unknown;
|
|
16450
|
-
};
|
|
16451
|
-
export type OpCreatePositionError = OpCreatePositionErrors[keyof OpCreatePositionErrors];
|
|
16452
|
-
export type OpCreatePositionResponses = {
|
|
16453
|
-
/**
|
|
16454
|
-
* Successful Response
|
|
16455
|
-
*/
|
|
16456
|
-
200: OperationEnvelope;
|
|
16457
|
-
};
|
|
16458
|
-
export type OpCreatePositionResponse = OpCreatePositionResponses[keyof OpCreatePositionResponses];
|
|
16459
|
-
export type OpUpdatePositionData = {
|
|
16460
|
-
body: UpdatePositionOperation;
|
|
16461
|
-
headers?: {
|
|
16462
|
-
/**
|
|
16463
|
-
* Idempotency-Key
|
|
16464
|
-
*/
|
|
16465
|
-
'Idempotency-Key'?: string | null;
|
|
16466
|
-
};
|
|
16467
|
-
path: {
|
|
16468
|
-
/**
|
|
16469
|
-
* Graph Id
|
|
16470
|
-
*/
|
|
16471
|
-
graph_id: string;
|
|
16472
|
-
};
|
|
16473
|
-
query?: never;
|
|
16474
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/update-position';
|
|
16475
|
-
};
|
|
16476
|
-
export type OpUpdatePositionErrors = {
|
|
16477
|
-
/**
|
|
16478
|
-
* Invalid request payload
|
|
16479
|
-
*/
|
|
16480
|
-
400: OperationError;
|
|
16481
|
-
/**
|
|
16482
|
-
* Unauthorized — missing or invalid credentials
|
|
16483
|
-
*/
|
|
16484
|
-
401: unknown;
|
|
16485
|
-
/**
|
|
16486
|
-
* Forbidden — caller cannot access this graph
|
|
16487
|
-
*/
|
|
16488
|
-
403: unknown;
|
|
16489
|
-
/**
|
|
16490
|
-
* Resource not found (graph, ledger, report, etc.)
|
|
16491
|
-
*/
|
|
16492
|
-
404: OperationError;
|
|
16493
|
-
/**
|
|
16494
|
-
* Idempotency-Key reused with a different request body, or other operation-level conflict
|
|
16495
|
-
*/
|
|
16496
|
-
409: OperationError;
|
|
16497
|
-
/**
|
|
16498
|
-
* Validation Error
|
|
16499
|
-
*/
|
|
16500
|
-
422: HttpValidationError;
|
|
16501
|
-
/**
|
|
16502
|
-
* Rate limit exceeded
|
|
16503
|
-
*/
|
|
16504
|
-
429: unknown;
|
|
16505
|
-
/**
|
|
16506
|
-
* Internal error
|
|
16507
|
-
*/
|
|
16508
|
-
500: unknown;
|
|
16509
|
-
};
|
|
16510
|
-
export type OpUpdatePositionError = OpUpdatePositionErrors[keyof OpUpdatePositionErrors];
|
|
16511
|
-
export type OpUpdatePositionResponses = {
|
|
16512
|
-
/**
|
|
16513
|
-
* Successful Response
|
|
16514
|
-
*/
|
|
16515
|
-
200: OperationEnvelope;
|
|
16516
|
-
};
|
|
16517
|
-
export type OpUpdatePositionResponse = OpUpdatePositionResponses[keyof OpUpdatePositionResponses];
|
|
16518
|
-
export type OpDeletePositionData = {
|
|
16519
|
-
body: DeletePositionOperation;
|
|
16520
|
-
headers?: {
|
|
16521
|
-
/**
|
|
16522
|
-
* Idempotency-Key
|
|
16523
|
-
*/
|
|
16524
|
-
'Idempotency-Key'?: string | null;
|
|
16525
|
-
};
|
|
16526
|
-
path: {
|
|
16527
|
-
/**
|
|
16528
|
-
* Graph Id
|
|
16529
|
-
*/
|
|
16530
|
-
graph_id: string;
|
|
16531
|
-
};
|
|
16532
|
-
query?: never;
|
|
16533
|
-
url: '/extensions/roboinvestor/{graph_id}/operations/delete-position';
|
|
16534
|
-
};
|
|
16535
|
-
export type OpDeletePositionErrors = {
|
|
16536
|
-
/**
|
|
16537
|
-
* Invalid request payload
|
|
16538
|
-
*/
|
|
16539
|
-
400: OperationError;
|
|
16540
|
-
/**
|
|
16541
|
-
* Unauthorized — missing or invalid credentials
|
|
16542
|
-
*/
|
|
16543
|
-
401: unknown;
|
|
16544
|
-
/**
|
|
16545
|
-
* Forbidden — caller cannot access this graph
|
|
16546
|
-
*/
|
|
16547
|
-
403: unknown;
|
|
16548
|
-
/**
|
|
16549
|
-
* Resource not found (graph, ledger, report, etc.)
|
|
16550
|
-
*/
|
|
16551
|
-
404: OperationError;
|
|
16552
|
-
/**
|
|
16553
|
-
* Idempotency-Key reused with a different request body, or other operation-level conflict
|
|
16554
|
-
*/
|
|
16555
|
-
409: OperationError;
|
|
16556
|
-
/**
|
|
16557
|
-
* Validation Error
|
|
16558
|
-
*/
|
|
16559
|
-
422: HttpValidationError;
|
|
16560
|
-
/**
|
|
16561
|
-
* Rate limit exceeded
|
|
16562
|
-
*/
|
|
16563
|
-
429: unknown;
|
|
16564
|
-
/**
|
|
16565
|
-
* Internal error
|
|
16566
|
-
*/
|
|
16567
|
-
500: unknown;
|
|
16568
|
-
};
|
|
16569
|
-
export type OpDeletePositionError = OpDeletePositionErrors[keyof OpDeletePositionErrors];
|
|
16570
|
-
export type OpDeletePositionResponses = {
|
|
16571
|
-
/**
|
|
16572
|
-
* Successful Response
|
|
16573
|
-
*/
|
|
16574
|
-
200: OperationEnvelope;
|
|
16575
|
-
};
|
|
16576
|
-
export type OpDeletePositionResponse = OpDeletePositionResponses[keyof OpDeletePositionResponses];
|