@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.
@@ -1664,78 +1664,20 @@ export type CreateMappingAssociationOperation = {
1664
1664
  mapping_id: string;
1665
1665
  };
1666
1666
  /**
1667
- * CreatePortfolioRequest
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.
1668
1674
  */
1669
- export type CreatePortfolioRequest = {
1670
- /**
1671
- * Name
1672
- */
1673
- name: string;
1675
+ export type CreatePortfolioBlockRequest = {
1676
+ portfolio: PortfolioBlockPortfolioFields;
1674
1677
  /**
1675
- * Description
1676
- */
1677
- description?: string | null;
1678
- /**
1679
- * Strategy
1680
- */
1681
- strategy?: string | null;
1682
- /**
1683
- * Inception Date
1678
+ * Positions
1684
1679
  */
1685
- inception_date?: string | null;
1686
- /**
1687
- * Base Currency
1688
- */
1689
- base_currency?: string;
1690
- };
1691
- /**
1692
- * CreatePositionRequest
1693
- */
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;
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
- * 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
@@ -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
  *
@@ -6823,15 +6956,21 @@ export type SuccessResponse = {
6823
6956
  */
6824
6957
  export type SyncConnectionRequest = {
6825
6958
  /**
6826
- * Full Sync
6959
+ * Full Rebuild
6827
6960
  *
6828
- * Perform full sync vs incremental
6961
+ * Pull complete history from the provider, ignoring lookback window. Takes precedence over since_date.
6829
6962
  */
6830
- full_sync?: boolean;
6963
+ full_rebuild?: boolean;
6964
+ /**
6965
+ * Since Date
6966
+ *
6967
+ * Sync data from this date forward (ISO 8601). Ignored if full_rebuild=True. If neither set, provider default applies (e.g., QuickBooks: 60 days).
6968
+ */
6969
+ since_date?: string | null;
6831
6970
  /**
6832
6971
  * Sync Options
6833
6972
  *
6834
- * Provider-specific sync options
6973
+ * Provider-specific sync options (escape hatch for fields not exposed at the top level).
6835
6974
  */
6836
6975
  sync_options?: {
6837
6976
  [key: string]: unknown;
@@ -7776,93 +7915,23 @@ export type UpdatePasswordRequest = {
7776
7915
  confirm_password: string;
7777
7916
  };
7778
7917
  /**
7779
- * UpdatePortfolioOperation
7918
+ * UpdatePortfolioBlockOperation
7780
7919
  *
7781
- * CQRS body for `POST /operations/update-portfolio`.
7920
+ * CQRS body for `POST /operations/update-portfolio-block`.
7782
7921
  *
7783
- * Folds `portfolio_id` into the payload so REST + MCP share one body
7784
- * type via the registrar. Unset fields are ignored (partial update).
7922
+ * Carries an optional patch to portfolio fields and three position
7923
+ * delta lists (`add` / `update` / `dispose`). All apply atomically
7924
+ * with the portfolio patch — partial failures roll back.
7785
7925
  */
7786
- export type UpdatePortfolioOperation = {
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;
7926
+ export type UpdatePortfolioBlockOperation = {
7807
7927
  /**
7808
7928
  * Portfolio Id
7809
7929
  *
7810
7930
  * Target portfolio ID.
7811
7931
  */
7812
7932
  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;
7933
+ portfolio?: PortfolioBlockPortfolioPatch;
7934
+ positions?: PortfolioBlockPositions;
7866
7935
  };
7867
7936
  /**
7868
7937
  * UpdatePublishListOperation
@@ -16043,8 +16112,8 @@ export type OpFinancialStatementAnalysisResponses = {
16043
16112
  200: OperationEnvelope;
16044
16113
  };
16045
16114
  export type OpFinancialStatementAnalysisResponse = OpFinancialStatementAnalysisResponses[keyof OpFinancialStatementAnalysisResponses];
16046
- export type OpCreatePortfolioData = {
16047
- body: CreatePortfolioRequest;
16115
+ export type OpCreatePortfolioBlockData = {
16116
+ body: CreatePortfolioBlockRequest;
16048
16117
  headers?: {
16049
16118
  /**
16050
16119
  * Idempotency-Key
@@ -16058,9 +16127,9 @@ export type OpCreatePortfolioData = {
16058
16127
  graph_id: string;
16059
16128
  };
16060
16129
  query?: never;
16061
- url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
16130
+ url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio-block';
16062
16131
  };
16063
- export type OpCreatePortfolioErrors = {
16132
+ export type OpCreatePortfolioBlockErrors = {
16064
16133
  /**
16065
16134
  * Invalid request payload
16066
16135
  */
@@ -16094,16 +16163,16 @@ export type OpCreatePortfolioErrors = {
16094
16163
  */
16095
16164
  500: unknown;
16096
16165
  };
16097
- export type OpCreatePortfolioError = OpCreatePortfolioErrors[keyof OpCreatePortfolioErrors];
16098
- export type OpCreatePortfolioResponses = {
16166
+ export type OpCreatePortfolioBlockError = OpCreatePortfolioBlockErrors[keyof OpCreatePortfolioBlockErrors];
16167
+ export type OpCreatePortfolioBlockResponses = {
16099
16168
  /**
16100
16169
  * Successful Response
16101
16170
  */
16102
16171
  200: OperationEnvelope;
16103
16172
  };
16104
- export type OpCreatePortfolioResponse = OpCreatePortfolioResponses[keyof OpCreatePortfolioResponses];
16105
- export type OpUpdatePortfolioData = {
16106
- body: UpdatePortfolioOperation;
16173
+ export type OpCreatePortfolioBlockResponse = OpCreatePortfolioBlockResponses[keyof OpCreatePortfolioBlockResponses];
16174
+ export type OpUpdatePortfolioBlockData = {
16175
+ body: UpdatePortfolioBlockOperation;
16107
16176
  headers?: {
16108
16177
  /**
16109
16178
  * Idempotency-Key
@@ -16117,9 +16186,9 @@ export type OpUpdatePortfolioData = {
16117
16186
  graph_id: string;
16118
16187
  };
16119
16188
  query?: never;
16120
- url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio';
16189
+ url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio-block';
16121
16190
  };
16122
- export type OpUpdatePortfolioErrors = {
16191
+ export type OpUpdatePortfolioBlockErrors = {
16123
16192
  /**
16124
16193
  * Invalid request payload
16125
16194
  */
@@ -16153,16 +16222,16 @@ export type OpUpdatePortfolioErrors = {
16153
16222
  */
16154
16223
  500: unknown;
16155
16224
  };
16156
- export type OpUpdatePortfolioError = OpUpdatePortfolioErrors[keyof OpUpdatePortfolioErrors];
16157
- export type OpUpdatePortfolioResponses = {
16225
+ export type OpUpdatePortfolioBlockError = OpUpdatePortfolioBlockErrors[keyof OpUpdatePortfolioBlockErrors];
16226
+ export type OpUpdatePortfolioBlockResponses = {
16158
16227
  /**
16159
16228
  * Successful Response
16160
16229
  */
16161
16230
  200: OperationEnvelope;
16162
16231
  };
16163
- export type OpUpdatePortfolioResponse = OpUpdatePortfolioResponses[keyof OpUpdatePortfolioResponses];
16164
- export type OpDeletePortfolioData = {
16165
- body: DeletePortfolioOperation;
16232
+ export type OpUpdatePortfolioBlockResponse = OpUpdatePortfolioBlockResponses[keyof OpUpdatePortfolioBlockResponses];
16233
+ export type OpDeletePortfolioBlockData = {
16234
+ body: DeletePortfolioBlockOperation;
16166
16235
  headers?: {
16167
16236
  /**
16168
16237
  * Idempotency-Key
@@ -16176,9 +16245,9 @@ export type OpDeletePortfolioData = {
16176
16245
  graph_id: string;
16177
16246
  };
16178
16247
  query?: never;
16179
- url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio';
16248
+ url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio-block';
16180
16249
  };
16181
- export type OpDeletePortfolioErrors = {
16250
+ export type OpDeletePortfolioBlockErrors = {
16182
16251
  /**
16183
16252
  * Invalid request payload
16184
16253
  */
@@ -16212,14 +16281,14 @@ export type OpDeletePortfolioErrors = {
16212
16281
  */
16213
16282
  500: unknown;
16214
16283
  };
16215
- export type OpDeletePortfolioError = OpDeletePortfolioErrors[keyof OpDeletePortfolioErrors];
16216
- export type OpDeletePortfolioResponses = {
16284
+ export type OpDeletePortfolioBlockError = OpDeletePortfolioBlockErrors[keyof OpDeletePortfolioBlockErrors];
16285
+ export type OpDeletePortfolioBlockResponses = {
16217
16286
  /**
16218
16287
  * Successful Response
16219
16288
  */
16220
16289
  200: OperationEnvelope;
16221
16290
  };
16222
- export type OpDeletePortfolioResponse = OpDeletePortfolioResponses[keyof OpDeletePortfolioResponses];
16291
+ export type OpDeletePortfolioBlockResponse = OpDeletePortfolioBlockResponses[keyof OpDeletePortfolioBlockResponses];
16223
16292
  export type OpCreateSecurityData = {
16224
16293
  body: CreateSecurityRequest;
16225
16294
  headers?: {
@@ -16397,180 +16466,3 @@ export type OpDeleteSecurityResponses = {
16397
16466
  200: OperationEnvelope;
16398
16467
  };
16399
16468
  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];