@robosystems/client 0.3.13 → 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.
Files changed (35) hide show
  1. package/artifacts/InvestorClient.d.ts +35 -20
  2. package/artifacts/InvestorClient.js +78 -71
  3. package/artifacts/InvestorClient.ts +164 -141
  4. package/artifacts/LedgerClient.d.ts +22 -1
  5. package/artifacts/LedgerClient.js +40 -0
  6. package/artifacts/LedgerClient.ts +67 -0
  7. package/artifacts/graphql/generated/graphql.d.ts +401 -6
  8. package/artifacts/graphql/generated/graphql.js +633 -4
  9. package/artifacts/graphql/generated/graphql.ts +1058 -41
  10. package/artifacts/graphql/queries/investor/portfolio_block.d.ts +10 -0
  11. package/artifacts/graphql/queries/investor/portfolio_block.js +60 -0
  12. package/artifacts/graphql/queries/investor/portfolio_block.ts +58 -0
  13. package/artifacts/graphql/queries/ledger/informationBlock.js +110 -0
  14. package/artifacts/graphql/queries/ledger/informationBlock.ts +110 -0
  15. package/artifacts/graphql/queries/ledger/reportPackage.d.ts +11 -0
  16. package/artifacts/graphql/queries/ledger/reportPackage.js +151 -0
  17. package/artifacts/graphql/queries/ledger/reportPackage.ts +149 -0
  18. package/index.ts +2 -2
  19. package/package.json +1 -1
  20. package/sdk/index.d.ts +2 -2
  21. package/sdk/index.js +8 -9
  22. package/sdk/index.ts +2 -2
  23. package/sdk/sdk.gen.d.ts +26 -34
  24. package/sdk/sdk.gen.js +51 -68
  25. package/sdk/sdk.gen.ts +47 -64
  26. package/sdk/types.gen.d.ts +409 -365
  27. package/sdk/types.gen.ts +411 -367
  28. package/sdk.gen.d.ts +26 -34
  29. package/sdk.gen.js +51 -68
  30. package/sdk.gen.ts +47 -64
  31. package/types.gen.d.ts +409 -365
  32. package/types.gen.ts +411 -367
  33. package/artifacts/graphql/queries/investor/portfolio.d.ts +0 -4
  34. package/artifacts/graphql/queries/investor/portfolio.js +0 -21
  35. 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
- * CreatePortfolioRequest
1668
- */
1669
- export type CreatePortfolioRequest = {
1670
- /**
1671
- * Name
1672
- */
1673
- name: string;
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 CreatePositionRequest = {
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;
1727
- /**
1728
- * Valuation Source
1729
- */
1730
- valuation_source?: string | null;
1731
- /**
1732
- * Acquisition Date
1733
- */
1734
- acquisition_date?: string | null;
1675
+ export type CreatePortfolioBlockRequest = {
1676
+ portfolio: PortfolioBlockPortfolioFields;
1735
1677
  /**
1736
- * Notes
1678
+ * Positions
1737
1679
  */
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
- * DeletePortfolioOperation
2505
+ * DeletePortfolioBlockOperation
2506
+ *
2507
+ * CQRS body for `POST /operations/delete-portfolio-block`.
2564
2508
  *
2565
- * CQRS body for `POST /operations/delete-portfolio`.
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 DeletePortfolioOperation = {
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
- * Position Id
2583
- *
2584
- * Target position ID.
2522
+ * Confirm Active Positions
2585
2523
  */
2586
- position_id: string;
2524
+ confirm_active_positions?: boolean;
2587
2525
  };
2588
2526
  /**
2589
2527
  * DeletePublishListOperation
@@ -3320,6 +3258,24 @@ export type FileLayerStatus = {
3320
3258
  */
3321
3259
  size_bytes?: number | null;
3322
3260
  };
3261
+ /**
3262
+ * FileReportRequest
3263
+ *
3264
+ * Transition a Report to ``filed`` — locks the package.
3265
+ *
3266
+ * Acceptable from ``draft`` or ``under_review``. ``filed_by`` and
3267
+ * ``filed_at`` are stamped from the auth context + server clock; the
3268
+ * request itself carries no fields today (kept as a model for OpenAPI
3269
+ * shape consistency and to avoid breaking changes if we add fields).
3270
+ */
3271
+ export type FileReportRequest = {
3272
+ /**
3273
+ * Report Id
3274
+ *
3275
+ * The Report to file.
3276
+ */
3277
+ report_id: string;
3278
+ };
3323
3279
  /**
3324
3280
  * FileStatusUpdate
3325
3281
  */
@@ -5602,6 +5558,201 @@ export type PortalSessionResponse = {
5602
5558
  */
5603
5559
  portal_url: string;
5604
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
+ };
5605
5756
  /**
5606
5757
  * QueryLimits
5607
5758
  *
@@ -7303,17 +7454,39 @@ export type TransactionTemplateLeg = {
7303
7454
  amount: string;
7304
7455
  };
7305
7456
  /**
7306
- * UpcomingInvoice
7457
+ * TransitionFilingStatusRequest
7307
7458
  *
7308
- * Upcoming invoice preview.
7459
+ * Generic filing-status transition — escape hatch for non-file moves.
7460
+ *
7461
+ * Used for ``draft → under_review`` (submit for review) and
7462
+ * ``filed → archived`` (supersede / retire). Filing the package goes
7463
+ * through :class:`FileReportRequest` so ``filed_at`` / ``filed_by``
7464
+ * audit fields land cleanly.
7309
7465
  */
7310
- export type UpcomingInvoice = {
7466
+ export type TransitionFilingStatusRequest = {
7311
7467
  /**
7312
- * Amount Due
7313
- *
7314
- * Estimated amount due in cents
7468
+ * Report Id
7315
7469
  */
7316
- amount_due: number;
7470
+ report_id: string;
7471
+ /**
7472
+ * Target Status
7473
+ *
7474
+ * under_review | archived
7475
+ */
7476
+ target_status: string;
7477
+ };
7478
+ /**
7479
+ * UpcomingInvoice
7480
+ *
7481
+ * Upcoming invoice preview.
7482
+ */
7483
+ export type UpcomingInvoice = {
7484
+ /**
7485
+ * Amount Due
7486
+ *
7487
+ * Estimated amount due in cents
7488
+ */
7489
+ amount_due: number;
7317
7490
  /**
7318
7491
  * Currency
7319
7492
  *
@@ -7736,93 +7909,23 @@ export type UpdatePasswordRequest = {
7736
7909
  confirm_password: string;
7737
7910
  };
7738
7911
  /**
7739
- * UpdatePortfolioOperation
7912
+ * UpdatePortfolioBlockOperation
7740
7913
  *
7741
- * CQRS body for `POST /operations/update-portfolio`.
7914
+ * CQRS body for `POST /operations/update-portfolio-block`.
7742
7915
  *
7743
- * Folds `portfolio_id` into the payload so REST + MCP share one body
7744
- * type via the registrar. Unset fields are ignored (partial update).
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.
7745
7919
  */
7746
- export type UpdatePortfolioOperation = {
7747
- /**
7748
- * Name
7749
- */
7750
- name?: string | null;
7751
- /**
7752
- * Description
7753
- */
7754
- description?: string | null;
7755
- /**
7756
- * Strategy
7757
- */
7758
- strategy?: string | null;
7759
- /**
7760
- * Inception Date
7761
- */
7762
- inception_date?: string | null;
7763
- /**
7764
- * Base Currency
7765
- */
7766
- base_currency?: string | null;
7920
+ export type UpdatePortfolioBlockOperation = {
7767
7921
  /**
7768
7922
  * Portfolio Id
7769
7923
  *
7770
7924
  * Target portfolio ID.
7771
7925
  */
7772
7926
  portfolio_id: string;
7773
- };
7774
- /**
7775
- * UpdatePositionOperation
7776
- *
7777
- * CQRS body for `POST /operations/update-position`.
7778
- */
7779
- export type UpdatePositionOperation = {
7780
- /**
7781
- * Quantity
7782
- */
7783
- quantity?: number | null;
7784
- /**
7785
- * Quantity Type
7786
- */
7787
- quantity_type?: string | null;
7788
- /**
7789
- * Cost Basis
7790
- */
7791
- cost_basis?: number | null;
7792
- /**
7793
- * Current Value
7794
- */
7795
- current_value?: number | null;
7796
- /**
7797
- * Valuation Date
7798
- */
7799
- valuation_date?: string | null;
7800
- /**
7801
- * Valuation Source
7802
- */
7803
- valuation_source?: string | null;
7804
- /**
7805
- * Acquisition Date
7806
- */
7807
- acquisition_date?: string | null;
7808
- /**
7809
- * Disposition Date
7810
- */
7811
- disposition_date?: string | null;
7812
- /**
7813
- * Status
7814
- */
7815
- status?: string | null;
7816
- /**
7817
- * Notes
7818
- */
7819
- notes?: string | null;
7820
- /**
7821
- * Position Id
7822
- *
7823
- * Target position ID.
7824
- */
7825
- position_id: string;
7927
+ portfolio?: PortfolioBlockPortfolioPatch;
7928
+ positions?: PortfolioBlockPositions;
7826
7929
  };
7827
7930
  /**
7828
7931
  * UpdatePublishListOperation
@@ -15413,8 +15516,8 @@ export type OpShareReportResponses = {
15413
15516
  200: OperationEnvelope;
15414
15517
  };
15415
15518
  export type OpShareReportResponse = OpShareReportResponses[keyof OpShareReportResponses];
15416
- export type OpCreatePublishListData = {
15417
- body: CreatePublishListRequest;
15519
+ export type OpFileReportData = {
15520
+ body: FileReportRequest;
15418
15521
  headers?: {
15419
15522
  /**
15420
15523
  * Idempotency-Key
@@ -15428,9 +15531,9 @@ export type OpCreatePublishListData = {
15428
15531
  graph_id: string;
15429
15532
  };
15430
15533
  query?: never;
15431
- url: '/extensions/roboledger/{graph_id}/operations/create-publish-list';
15534
+ url: '/extensions/roboledger/{graph_id}/operations/file-report';
15432
15535
  };
15433
- export type OpCreatePublishListErrors = {
15536
+ export type OpFileReportErrors = {
15434
15537
  /**
15435
15538
  * Invalid request
15436
15539
  */
@@ -15464,16 +15567,16 @@ export type OpCreatePublishListErrors = {
15464
15567
  */
15465
15568
  500: ErrorResponse;
15466
15569
  };
15467
- export type OpCreatePublishListError = OpCreatePublishListErrors[keyof OpCreatePublishListErrors];
15468
- export type OpCreatePublishListResponses = {
15570
+ export type OpFileReportError = OpFileReportErrors[keyof OpFileReportErrors];
15571
+ export type OpFileReportResponses = {
15469
15572
  /**
15470
15573
  * Successful Response
15471
15574
  */
15472
15575
  200: OperationEnvelope;
15473
15576
  };
15474
- export type OpCreatePublishListResponse = OpCreatePublishListResponses[keyof OpCreatePublishListResponses];
15475
- export type OpUpdatePublishListData = {
15476
- body: UpdatePublishListOperation;
15577
+ export type OpFileReportResponse = OpFileReportResponses[keyof OpFileReportResponses];
15578
+ export type OpTransitionFilingStatusData = {
15579
+ body: TransitionFilingStatusRequest;
15477
15580
  headers?: {
15478
15581
  /**
15479
15582
  * Idempotency-Key
@@ -15487,9 +15590,9 @@ export type OpUpdatePublishListData = {
15487
15590
  graph_id: string;
15488
15591
  };
15489
15592
  query?: never;
15490
- url: '/extensions/roboledger/{graph_id}/operations/update-publish-list';
15593
+ url: '/extensions/roboledger/{graph_id}/operations/transition-filing-status';
15491
15594
  };
15492
- export type OpUpdatePublishListErrors = {
15595
+ export type OpTransitionFilingStatusErrors = {
15493
15596
  /**
15494
15597
  * Invalid request
15495
15598
  */
@@ -15523,16 +15626,16 @@ export type OpUpdatePublishListErrors = {
15523
15626
  */
15524
15627
  500: ErrorResponse;
15525
15628
  };
15526
- export type OpUpdatePublishListError = OpUpdatePublishListErrors[keyof OpUpdatePublishListErrors];
15527
- export type OpUpdatePublishListResponses = {
15629
+ export type OpTransitionFilingStatusError = OpTransitionFilingStatusErrors[keyof OpTransitionFilingStatusErrors];
15630
+ export type OpTransitionFilingStatusResponses = {
15528
15631
  /**
15529
15632
  * Successful Response
15530
15633
  */
15531
15634
  200: OperationEnvelope;
15532
15635
  };
15533
- export type OpUpdatePublishListResponse = OpUpdatePublishListResponses[keyof OpUpdatePublishListResponses];
15534
- export type OpDeletePublishListData = {
15535
- body: DeletePublishListOperation;
15636
+ export type OpTransitionFilingStatusResponse = OpTransitionFilingStatusResponses[keyof OpTransitionFilingStatusResponses];
15637
+ export type OpCreatePublishListData = {
15638
+ body: CreatePublishListRequest;
15536
15639
  headers?: {
15537
15640
  /**
15538
15641
  * Idempotency-Key
@@ -15546,9 +15649,9 @@ export type OpDeletePublishListData = {
15546
15649
  graph_id: string;
15547
15650
  };
15548
15651
  query?: never;
15549
- url: '/extensions/roboledger/{graph_id}/operations/delete-publish-list';
15652
+ url: '/extensions/roboledger/{graph_id}/operations/create-publish-list';
15550
15653
  };
15551
- export type OpDeletePublishListErrors = {
15654
+ export type OpCreatePublishListErrors = {
15552
15655
  /**
15553
15656
  * Invalid request
15554
15657
  */
@@ -15582,16 +15685,16 @@ export type OpDeletePublishListErrors = {
15582
15685
  */
15583
15686
  500: ErrorResponse;
15584
15687
  };
15585
- export type OpDeletePublishListError = OpDeletePublishListErrors[keyof OpDeletePublishListErrors];
15586
- export type OpDeletePublishListResponses = {
15688
+ export type OpCreatePublishListError = OpCreatePublishListErrors[keyof OpCreatePublishListErrors];
15689
+ export type OpCreatePublishListResponses = {
15587
15690
  /**
15588
15691
  * Successful Response
15589
15692
  */
15590
15693
  200: OperationEnvelope;
15591
15694
  };
15592
- export type OpDeletePublishListResponse = OpDeletePublishListResponses[keyof OpDeletePublishListResponses];
15593
- export type OpAddPublishListMembersData = {
15594
- body: AddPublishListMembersOperation;
15695
+ export type OpCreatePublishListResponse = OpCreatePublishListResponses[keyof OpCreatePublishListResponses];
15696
+ export type OpUpdatePublishListData = {
15697
+ body: UpdatePublishListOperation;
15595
15698
  headers?: {
15596
15699
  /**
15597
15700
  * Idempotency-Key
@@ -15605,9 +15708,9 @@ export type OpAddPublishListMembersData = {
15605
15708
  graph_id: string;
15606
15709
  };
15607
15710
  query?: never;
15608
- url: '/extensions/roboledger/{graph_id}/operations/add-publish-list-members';
15711
+ url: '/extensions/roboledger/{graph_id}/operations/update-publish-list';
15609
15712
  };
15610
- export type OpAddPublishListMembersErrors = {
15713
+ export type OpUpdatePublishListErrors = {
15611
15714
  /**
15612
15715
  * Invalid request
15613
15716
  */
@@ -15641,16 +15744,16 @@ export type OpAddPublishListMembersErrors = {
15641
15744
  */
15642
15745
  500: ErrorResponse;
15643
15746
  };
15644
- export type OpAddPublishListMembersError = OpAddPublishListMembersErrors[keyof OpAddPublishListMembersErrors];
15645
- export type OpAddPublishListMembersResponses = {
15747
+ export type OpUpdatePublishListError = OpUpdatePublishListErrors[keyof OpUpdatePublishListErrors];
15748
+ export type OpUpdatePublishListResponses = {
15646
15749
  /**
15647
15750
  * Successful Response
15648
15751
  */
15649
15752
  200: OperationEnvelope;
15650
15753
  };
15651
- export type OpAddPublishListMembersResponse = OpAddPublishListMembersResponses[keyof OpAddPublishListMembersResponses];
15652
- export type OpRemovePublishListMemberData = {
15653
- body: RemovePublishListMemberOperation;
15754
+ export type OpUpdatePublishListResponse = OpUpdatePublishListResponses[keyof OpUpdatePublishListResponses];
15755
+ export type OpDeletePublishListData = {
15756
+ body: DeletePublishListOperation;
15654
15757
  headers?: {
15655
15758
  /**
15656
15759
  * Idempotency-Key
@@ -15664,9 +15767,9 @@ export type OpRemovePublishListMemberData = {
15664
15767
  graph_id: string;
15665
15768
  };
15666
15769
  query?: never;
15667
- url: '/extensions/roboledger/{graph_id}/operations/remove-publish-list-member';
15770
+ url: '/extensions/roboledger/{graph_id}/operations/delete-publish-list';
15668
15771
  };
15669
- export type OpRemovePublishListMemberErrors = {
15772
+ export type OpDeletePublishListErrors = {
15670
15773
  /**
15671
15774
  * Invalid request
15672
15775
  */
@@ -15700,16 +15803,16 @@ export type OpRemovePublishListMemberErrors = {
15700
15803
  */
15701
15804
  500: ErrorResponse;
15702
15805
  };
15703
- export type OpRemovePublishListMemberError = OpRemovePublishListMemberErrors[keyof OpRemovePublishListMemberErrors];
15704
- export type OpRemovePublishListMemberResponses = {
15806
+ export type OpDeletePublishListError = OpDeletePublishListErrors[keyof OpDeletePublishListErrors];
15807
+ export type OpDeletePublishListResponses = {
15705
15808
  /**
15706
15809
  * Successful Response
15707
15810
  */
15708
15811
  200: OperationEnvelope;
15709
15812
  };
15710
- export type OpRemovePublishListMemberResponse = OpRemovePublishListMemberResponses[keyof OpRemovePublishListMemberResponses];
15711
- export type OpLiveFinancialStatementData = {
15712
- body: LiveFinancialStatementRequest;
15813
+ export type OpDeletePublishListResponse = OpDeletePublishListResponses[keyof OpDeletePublishListResponses];
15814
+ export type OpAddPublishListMembersData = {
15815
+ body: AddPublishListMembersOperation;
15713
15816
  headers?: {
15714
15817
  /**
15715
15818
  * Idempotency-Key
@@ -15723,9 +15826,9 @@ export type OpLiveFinancialStatementData = {
15723
15826
  graph_id: string;
15724
15827
  };
15725
15828
  query?: never;
15726
- url: '/extensions/roboledger/{graph_id}/operations/live-financial-statement';
15829
+ url: '/extensions/roboledger/{graph_id}/operations/add-publish-list-members';
15727
15830
  };
15728
- export type OpLiveFinancialStatementErrors = {
15831
+ export type OpAddPublishListMembersErrors = {
15729
15832
  /**
15730
15833
  * Invalid request
15731
15834
  */
@@ -15759,16 +15862,16 @@ export type OpLiveFinancialStatementErrors = {
15759
15862
  */
15760
15863
  500: ErrorResponse;
15761
15864
  };
15762
- export type OpLiveFinancialStatementError = OpLiveFinancialStatementErrors[keyof OpLiveFinancialStatementErrors];
15763
- export type OpLiveFinancialStatementResponses = {
15865
+ export type OpAddPublishListMembersError = OpAddPublishListMembersErrors[keyof OpAddPublishListMembersErrors];
15866
+ export type OpAddPublishListMembersResponses = {
15764
15867
  /**
15765
15868
  * Successful Response
15766
15869
  */
15767
15870
  200: OperationEnvelope;
15768
15871
  };
15769
- export type OpLiveFinancialStatementResponse = OpLiveFinancialStatementResponses[keyof OpLiveFinancialStatementResponses];
15770
- export type OpBuildFactGridData = {
15771
- body: CreateViewRequest;
15872
+ export type OpAddPublishListMembersResponse = OpAddPublishListMembersResponses[keyof OpAddPublishListMembersResponses];
15873
+ export type OpRemovePublishListMemberData = {
15874
+ body: RemovePublishListMemberOperation;
15772
15875
  headers?: {
15773
15876
  /**
15774
15877
  * Idempotency-Key
@@ -15782,9 +15885,9 @@ export type OpBuildFactGridData = {
15782
15885
  graph_id: string;
15783
15886
  };
15784
15887
  query?: never;
15785
- url: '/extensions/roboledger/{graph_id}/operations/build-fact-grid';
15888
+ url: '/extensions/roboledger/{graph_id}/operations/remove-publish-list-member';
15786
15889
  };
15787
- export type OpBuildFactGridErrors = {
15890
+ export type OpRemovePublishListMemberErrors = {
15788
15891
  /**
15789
15892
  * Invalid request
15790
15893
  */
@@ -15818,16 +15921,16 @@ export type OpBuildFactGridErrors = {
15818
15921
  */
15819
15922
  500: ErrorResponse;
15820
15923
  };
15821
- export type OpBuildFactGridError = OpBuildFactGridErrors[keyof OpBuildFactGridErrors];
15822
- export type OpBuildFactGridResponses = {
15924
+ export type OpRemovePublishListMemberError = OpRemovePublishListMemberErrors[keyof OpRemovePublishListMemberErrors];
15925
+ export type OpRemovePublishListMemberResponses = {
15823
15926
  /**
15824
15927
  * Successful Response
15825
15928
  */
15826
15929
  200: OperationEnvelope;
15827
15930
  };
15828
- export type OpBuildFactGridResponse = OpBuildFactGridResponses[keyof OpBuildFactGridResponses];
15829
- export type OpFinancialStatementAnalysisData = {
15830
- body: FinancialStatementAnalysisRequest;
15931
+ export type OpRemovePublishListMemberResponse = OpRemovePublishListMemberResponses[keyof OpRemovePublishListMemberResponses];
15932
+ export type OpLiveFinancialStatementData = {
15933
+ body: LiveFinancialStatementRequest;
15831
15934
  headers?: {
15832
15935
  /**
15833
15936
  * Idempotency-Key
@@ -15841,9 +15944,9 @@ export type OpFinancialStatementAnalysisData = {
15841
15944
  graph_id: string;
15842
15945
  };
15843
15946
  query?: never;
15844
- url: '/extensions/roboledger/{graph_id}/operations/financial-statement-analysis';
15947
+ url: '/extensions/roboledger/{graph_id}/operations/live-financial-statement';
15845
15948
  };
15846
- export type OpFinancialStatementAnalysisErrors = {
15949
+ export type OpLiveFinancialStatementErrors = {
15847
15950
  /**
15848
15951
  * Invalid request
15849
15952
  */
@@ -15877,75 +15980,16 @@ export type OpFinancialStatementAnalysisErrors = {
15877
15980
  */
15878
15981
  500: ErrorResponse;
15879
15982
  };
15880
- export type OpFinancialStatementAnalysisError = OpFinancialStatementAnalysisErrors[keyof OpFinancialStatementAnalysisErrors];
15881
- export type OpFinancialStatementAnalysisResponses = {
15882
- /**
15883
- * Successful Response
15884
- */
15885
- 200: OperationEnvelope;
15886
- };
15887
- export type OpFinancialStatementAnalysisResponse = OpFinancialStatementAnalysisResponses[keyof OpFinancialStatementAnalysisResponses];
15888
- export type OpCreatePortfolioData = {
15889
- body: CreatePortfolioRequest;
15890
- headers?: {
15891
- /**
15892
- * Idempotency-Key
15893
- */
15894
- 'Idempotency-Key'?: string | null;
15895
- };
15896
- path: {
15897
- /**
15898
- * Graph Id
15899
- */
15900
- graph_id: string;
15901
- };
15902
- query?: never;
15903
- url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
15904
- };
15905
- export type OpCreatePortfolioErrors = {
15906
- /**
15907
- * Invalid request payload
15908
- */
15909
- 400: OperationError;
15910
- /**
15911
- * Unauthorized — missing or invalid credentials
15912
- */
15913
- 401: unknown;
15914
- /**
15915
- * Forbidden — caller cannot access this graph
15916
- */
15917
- 403: unknown;
15918
- /**
15919
- * Resource not found (graph, ledger, report, etc.)
15920
- */
15921
- 404: OperationError;
15922
- /**
15923
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15924
- */
15925
- 409: OperationError;
15926
- /**
15927
- * Validation Error
15928
- */
15929
- 422: HttpValidationError;
15930
- /**
15931
- * Rate limit exceeded
15932
- */
15933
- 429: unknown;
15934
- /**
15935
- * Internal error
15936
- */
15937
- 500: unknown;
15938
- };
15939
- export type OpCreatePortfolioError = OpCreatePortfolioErrors[keyof OpCreatePortfolioErrors];
15940
- export type OpCreatePortfolioResponses = {
15983
+ export type OpLiveFinancialStatementError = OpLiveFinancialStatementErrors[keyof OpLiveFinancialStatementErrors];
15984
+ export type OpLiveFinancialStatementResponses = {
15941
15985
  /**
15942
15986
  * Successful Response
15943
15987
  */
15944
15988
  200: OperationEnvelope;
15945
15989
  };
15946
- export type OpCreatePortfolioResponse = OpCreatePortfolioResponses[keyof OpCreatePortfolioResponses];
15947
- export type OpUpdatePortfolioData = {
15948
- body: UpdatePortfolioOperation;
15990
+ export type OpLiveFinancialStatementResponse = OpLiveFinancialStatementResponses[keyof OpLiveFinancialStatementResponses];
15991
+ export type OpBuildFactGridData = {
15992
+ body: CreateViewRequest;
15949
15993
  headers?: {
15950
15994
  /**
15951
15995
  * Idempotency-Key
@@ -15959,29 +16003,29 @@ export type OpUpdatePortfolioData = {
15959
16003
  graph_id: string;
15960
16004
  };
15961
16005
  query?: never;
15962
- url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio';
16006
+ url: '/extensions/roboledger/{graph_id}/operations/build-fact-grid';
15963
16007
  };
15964
- export type OpUpdatePortfolioErrors = {
16008
+ export type OpBuildFactGridErrors = {
15965
16009
  /**
15966
- * Invalid request payload
16010
+ * Invalid request
15967
16011
  */
15968
- 400: OperationError;
16012
+ 400: ErrorResponse;
15969
16013
  /**
15970
- * Unauthorized — missing or invalid credentials
16014
+ * Authentication required
15971
16015
  */
15972
- 401: unknown;
16016
+ 401: ErrorResponse;
15973
16017
  /**
15974
- * Forbidden — caller cannot access this graph
16018
+ * Access denied
15975
16019
  */
15976
- 403: unknown;
16020
+ 403: ErrorResponse;
15977
16021
  /**
15978
- * Resource not found (graph, ledger, report, etc.)
16022
+ * Resource not found
15979
16023
  */
15980
- 404: OperationError;
16024
+ 404: ErrorResponse;
15981
16025
  /**
15982
- * Idempotency-Key reused with a different request body, or other operation-level conflict
16026
+ * Idempotency-Key conflict — key reused with different body
15983
16027
  */
15984
- 409: OperationError;
16028
+ 409: ErrorResponse;
15985
16029
  /**
15986
16030
  * Validation Error
15987
16031
  */
@@ -15989,22 +16033,22 @@ export type OpUpdatePortfolioErrors = {
15989
16033
  /**
15990
16034
  * Rate limit exceeded
15991
16035
  */
15992
- 429: unknown;
16036
+ 429: ErrorResponse;
15993
16037
  /**
15994
- * Internal error
16038
+ * Internal server error
15995
16039
  */
15996
- 500: unknown;
16040
+ 500: ErrorResponse;
15997
16041
  };
15998
- export type OpUpdatePortfolioError = OpUpdatePortfolioErrors[keyof OpUpdatePortfolioErrors];
15999
- export type OpUpdatePortfolioResponses = {
16042
+ export type OpBuildFactGridError = OpBuildFactGridErrors[keyof OpBuildFactGridErrors];
16043
+ export type OpBuildFactGridResponses = {
16000
16044
  /**
16001
16045
  * Successful Response
16002
16046
  */
16003
16047
  200: OperationEnvelope;
16004
16048
  };
16005
- export type OpUpdatePortfolioResponse = OpUpdatePortfolioResponses[keyof OpUpdatePortfolioResponses];
16006
- export type OpDeletePortfolioData = {
16007
- body: DeletePortfolioOperation;
16049
+ export type OpBuildFactGridResponse = OpBuildFactGridResponses[keyof OpBuildFactGridResponses];
16050
+ export type OpFinancialStatementAnalysisData = {
16051
+ body: FinancialStatementAnalysisRequest;
16008
16052
  headers?: {
16009
16053
  /**
16010
16054
  * Idempotency-Key
@@ -16018,29 +16062,29 @@ export type OpDeletePortfolioData = {
16018
16062
  graph_id: string;
16019
16063
  };
16020
16064
  query?: never;
16021
- url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio';
16065
+ url: '/extensions/roboledger/{graph_id}/operations/financial-statement-analysis';
16022
16066
  };
16023
- export type OpDeletePortfolioErrors = {
16067
+ export type OpFinancialStatementAnalysisErrors = {
16024
16068
  /**
16025
- * Invalid request payload
16069
+ * Invalid request
16026
16070
  */
16027
- 400: OperationError;
16071
+ 400: ErrorResponse;
16028
16072
  /**
16029
- * Unauthorized — missing or invalid credentials
16073
+ * Authentication required
16030
16074
  */
16031
- 401: unknown;
16075
+ 401: ErrorResponse;
16032
16076
  /**
16033
- * Forbidden — caller cannot access this graph
16077
+ * Access denied
16034
16078
  */
16035
- 403: unknown;
16079
+ 403: ErrorResponse;
16036
16080
  /**
16037
- * Resource not found (graph, ledger, report, etc.)
16081
+ * Resource not found
16038
16082
  */
16039
- 404: OperationError;
16083
+ 404: ErrorResponse;
16040
16084
  /**
16041
- * Idempotency-Key reused with a different request body, or other operation-level conflict
16085
+ * Idempotency-Key conflict — key reused with different body
16042
16086
  */
16043
- 409: OperationError;
16087
+ 409: ErrorResponse;
16044
16088
  /**
16045
16089
  * Validation Error
16046
16090
  */
@@ -16048,22 +16092,22 @@ export type OpDeletePortfolioErrors = {
16048
16092
  /**
16049
16093
  * Rate limit exceeded
16050
16094
  */
16051
- 429: unknown;
16095
+ 429: ErrorResponse;
16052
16096
  /**
16053
- * Internal error
16097
+ * Internal server error
16054
16098
  */
16055
- 500: unknown;
16099
+ 500: ErrorResponse;
16056
16100
  };
16057
- export type OpDeletePortfolioError = OpDeletePortfolioErrors[keyof OpDeletePortfolioErrors];
16058
- export type OpDeletePortfolioResponses = {
16101
+ export type OpFinancialStatementAnalysisError = OpFinancialStatementAnalysisErrors[keyof OpFinancialStatementAnalysisErrors];
16102
+ export type OpFinancialStatementAnalysisResponses = {
16059
16103
  /**
16060
16104
  * Successful Response
16061
16105
  */
16062
16106
  200: OperationEnvelope;
16063
16107
  };
16064
- export type OpDeletePortfolioResponse = OpDeletePortfolioResponses[keyof OpDeletePortfolioResponses];
16065
- export type OpCreateSecurityData = {
16066
- body: CreateSecurityRequest;
16108
+ export type OpFinancialStatementAnalysisResponse = OpFinancialStatementAnalysisResponses[keyof OpFinancialStatementAnalysisResponses];
16109
+ export type OpCreatePortfolioBlockData = {
16110
+ body: CreatePortfolioBlockRequest;
16067
16111
  headers?: {
16068
16112
  /**
16069
16113
  * Idempotency-Key
@@ -16077,9 +16121,9 @@ export type OpCreateSecurityData = {
16077
16121
  graph_id: string;
16078
16122
  };
16079
16123
  query?: never;
16080
- url: '/extensions/roboinvestor/{graph_id}/operations/create-security';
16124
+ url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio-block';
16081
16125
  };
16082
- export type OpCreateSecurityErrors = {
16126
+ export type OpCreatePortfolioBlockErrors = {
16083
16127
  /**
16084
16128
  * Invalid request payload
16085
16129
  */
@@ -16113,16 +16157,16 @@ export type OpCreateSecurityErrors = {
16113
16157
  */
16114
16158
  500: unknown;
16115
16159
  };
16116
- export type OpCreateSecurityError = OpCreateSecurityErrors[keyof OpCreateSecurityErrors];
16117
- export type OpCreateSecurityResponses = {
16160
+ export type OpCreatePortfolioBlockError = OpCreatePortfolioBlockErrors[keyof OpCreatePortfolioBlockErrors];
16161
+ export type OpCreatePortfolioBlockResponses = {
16118
16162
  /**
16119
16163
  * Successful Response
16120
16164
  */
16121
16165
  200: OperationEnvelope;
16122
16166
  };
16123
- export type OpCreateSecurityResponse = OpCreateSecurityResponses[keyof OpCreateSecurityResponses];
16124
- export type OpUpdateSecurityData = {
16125
- body: UpdateSecurityOperation;
16167
+ export type OpCreatePortfolioBlockResponse = OpCreatePortfolioBlockResponses[keyof OpCreatePortfolioBlockResponses];
16168
+ export type OpUpdatePortfolioBlockData = {
16169
+ body: UpdatePortfolioBlockOperation;
16126
16170
  headers?: {
16127
16171
  /**
16128
16172
  * Idempotency-Key
@@ -16136,9 +16180,9 @@ export type OpUpdateSecurityData = {
16136
16180
  graph_id: string;
16137
16181
  };
16138
16182
  query?: never;
16139
- url: '/extensions/roboinvestor/{graph_id}/operations/update-security';
16183
+ url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio-block';
16140
16184
  };
16141
- export type OpUpdateSecurityErrors = {
16185
+ export type OpUpdatePortfolioBlockErrors = {
16142
16186
  /**
16143
16187
  * Invalid request payload
16144
16188
  */
@@ -16172,16 +16216,16 @@ export type OpUpdateSecurityErrors = {
16172
16216
  */
16173
16217
  500: unknown;
16174
16218
  };
16175
- export type OpUpdateSecurityError = OpUpdateSecurityErrors[keyof OpUpdateSecurityErrors];
16176
- export type OpUpdateSecurityResponses = {
16219
+ export type OpUpdatePortfolioBlockError = OpUpdatePortfolioBlockErrors[keyof OpUpdatePortfolioBlockErrors];
16220
+ export type OpUpdatePortfolioBlockResponses = {
16177
16221
  /**
16178
16222
  * Successful Response
16179
16223
  */
16180
16224
  200: OperationEnvelope;
16181
16225
  };
16182
- export type OpUpdateSecurityResponse = OpUpdateSecurityResponses[keyof OpUpdateSecurityResponses];
16183
- export type OpDeleteSecurityData = {
16184
- body: DeleteSecurityOperation;
16226
+ export type OpUpdatePortfolioBlockResponse = OpUpdatePortfolioBlockResponses[keyof OpUpdatePortfolioBlockResponses];
16227
+ export type OpDeletePortfolioBlockData = {
16228
+ body: DeletePortfolioBlockOperation;
16185
16229
  headers?: {
16186
16230
  /**
16187
16231
  * Idempotency-Key
@@ -16195,9 +16239,9 @@ export type OpDeleteSecurityData = {
16195
16239
  graph_id: string;
16196
16240
  };
16197
16241
  query?: never;
16198
- url: '/extensions/roboinvestor/{graph_id}/operations/delete-security';
16242
+ url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio-block';
16199
16243
  };
16200
- export type OpDeleteSecurityErrors = {
16244
+ export type OpDeletePortfolioBlockErrors = {
16201
16245
  /**
16202
16246
  * Invalid request payload
16203
16247
  */
@@ -16231,16 +16275,16 @@ export type OpDeleteSecurityErrors = {
16231
16275
  */
16232
16276
  500: unknown;
16233
16277
  };
16234
- export type OpDeleteSecurityError = OpDeleteSecurityErrors[keyof OpDeleteSecurityErrors];
16235
- export type OpDeleteSecurityResponses = {
16278
+ export type OpDeletePortfolioBlockError = OpDeletePortfolioBlockErrors[keyof OpDeletePortfolioBlockErrors];
16279
+ export type OpDeletePortfolioBlockResponses = {
16236
16280
  /**
16237
16281
  * Successful Response
16238
16282
  */
16239
16283
  200: OperationEnvelope;
16240
16284
  };
16241
- export type OpDeleteSecurityResponse = OpDeleteSecurityResponses[keyof OpDeleteSecurityResponses];
16242
- export type OpCreatePositionData = {
16243
- body: CreatePositionRequest;
16285
+ export type OpDeletePortfolioBlockResponse = OpDeletePortfolioBlockResponses[keyof OpDeletePortfolioBlockResponses];
16286
+ export type OpCreateSecurityData = {
16287
+ body: CreateSecurityRequest;
16244
16288
  headers?: {
16245
16289
  /**
16246
16290
  * Idempotency-Key
@@ -16254,9 +16298,9 @@ export type OpCreatePositionData = {
16254
16298
  graph_id: string;
16255
16299
  };
16256
16300
  query?: never;
16257
- url: '/extensions/roboinvestor/{graph_id}/operations/create-position';
16301
+ url: '/extensions/roboinvestor/{graph_id}/operations/create-security';
16258
16302
  };
16259
- export type OpCreatePositionErrors = {
16303
+ export type OpCreateSecurityErrors = {
16260
16304
  /**
16261
16305
  * Invalid request payload
16262
16306
  */
@@ -16290,16 +16334,16 @@ export type OpCreatePositionErrors = {
16290
16334
  */
16291
16335
  500: unknown;
16292
16336
  };
16293
- export type OpCreatePositionError = OpCreatePositionErrors[keyof OpCreatePositionErrors];
16294
- export type OpCreatePositionResponses = {
16337
+ export type OpCreateSecurityError = OpCreateSecurityErrors[keyof OpCreateSecurityErrors];
16338
+ export type OpCreateSecurityResponses = {
16295
16339
  /**
16296
16340
  * Successful Response
16297
16341
  */
16298
16342
  200: OperationEnvelope;
16299
16343
  };
16300
- export type OpCreatePositionResponse = OpCreatePositionResponses[keyof OpCreatePositionResponses];
16301
- export type OpUpdatePositionData = {
16302
- body: UpdatePositionOperation;
16344
+ export type OpCreateSecurityResponse = OpCreateSecurityResponses[keyof OpCreateSecurityResponses];
16345
+ export type OpUpdateSecurityData = {
16346
+ body: UpdateSecurityOperation;
16303
16347
  headers?: {
16304
16348
  /**
16305
16349
  * Idempotency-Key
@@ -16313,9 +16357,9 @@ export type OpUpdatePositionData = {
16313
16357
  graph_id: string;
16314
16358
  };
16315
16359
  query?: never;
16316
- url: '/extensions/roboinvestor/{graph_id}/operations/update-position';
16360
+ url: '/extensions/roboinvestor/{graph_id}/operations/update-security';
16317
16361
  };
16318
- export type OpUpdatePositionErrors = {
16362
+ export type OpUpdateSecurityErrors = {
16319
16363
  /**
16320
16364
  * Invalid request payload
16321
16365
  */
@@ -16349,16 +16393,16 @@ export type OpUpdatePositionErrors = {
16349
16393
  */
16350
16394
  500: unknown;
16351
16395
  };
16352
- export type OpUpdatePositionError = OpUpdatePositionErrors[keyof OpUpdatePositionErrors];
16353
- export type OpUpdatePositionResponses = {
16396
+ export type OpUpdateSecurityError = OpUpdateSecurityErrors[keyof OpUpdateSecurityErrors];
16397
+ export type OpUpdateSecurityResponses = {
16354
16398
  /**
16355
16399
  * Successful Response
16356
16400
  */
16357
16401
  200: OperationEnvelope;
16358
16402
  };
16359
- export type OpUpdatePositionResponse = OpUpdatePositionResponses[keyof OpUpdatePositionResponses];
16360
- export type OpDeletePositionData = {
16361
- body: DeletePositionOperation;
16403
+ export type OpUpdateSecurityResponse = OpUpdateSecurityResponses[keyof OpUpdateSecurityResponses];
16404
+ export type OpDeleteSecurityData = {
16405
+ body: DeleteSecurityOperation;
16362
16406
  headers?: {
16363
16407
  /**
16364
16408
  * Idempotency-Key
@@ -16372,9 +16416,9 @@ export type OpDeletePositionData = {
16372
16416
  graph_id: string;
16373
16417
  };
16374
16418
  query?: never;
16375
- url: '/extensions/roboinvestor/{graph_id}/operations/delete-position';
16419
+ url: '/extensions/roboinvestor/{graph_id}/operations/delete-security';
16376
16420
  };
16377
- export type OpDeletePositionErrors = {
16421
+ export type OpDeleteSecurityErrors = {
16378
16422
  /**
16379
16423
  * Invalid request payload
16380
16424
  */
@@ -16408,11 +16452,11 @@ export type OpDeletePositionErrors = {
16408
16452
  */
16409
16453
  500: unknown;
16410
16454
  };
16411
- export type OpDeletePositionError = OpDeletePositionErrors[keyof OpDeletePositionErrors];
16412
- export type OpDeletePositionResponses = {
16455
+ export type OpDeleteSecurityError = OpDeleteSecurityErrors[keyof OpDeleteSecurityErrors];
16456
+ export type OpDeleteSecurityResponses = {
16413
16457
  /**
16414
16458
  * Successful Response
16415
16459
  */
16416
16460
  200: OperationEnvelope;
16417
16461
  };
16418
- export type OpDeletePositionResponse = OpDeletePositionResponses[keyof OpDeletePositionResponses];
16462
+ export type OpDeleteSecurityResponse = OpDeleteSecurityResponses[keyof OpDeleteSecurityResponses];