@robosystems/client 0.3.7 → 0.3.8

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.
@@ -935,44 +935,6 @@ export type BulkCreateAssociationsRequest = {
935
935
  */
936
936
  associations: Array<BulkAssociationItem>;
937
937
  };
938
- /**
939
- * BulkDocumentUploadRequest
940
- *
941
- * Bulk upload multiple markdown documents.
942
- */
943
- export type BulkDocumentUploadRequest = {
944
- /**
945
- * Documents
946
- *
947
- * Documents to upload (max 50)
948
- */
949
- documents: Array<DocumentUploadRequest>;
950
- };
951
- /**
952
- * BulkDocumentUploadResponse
953
- *
954
- * Response from bulk document upload.
955
- */
956
- export type BulkDocumentUploadResponse = {
957
- /**
958
- * Total Documents
959
- */
960
- total_documents: number;
961
- /**
962
- * Total Sections Indexed
963
- */
964
- total_sections_indexed: number;
965
- /**
966
- * Results
967
- */
968
- results: Array<DocumentUploadResponse>;
969
- /**
970
- * Errors
971
- */
972
- errors?: Array<{
973
- [key: string]: unknown;
974
- }> | null;
975
- };
976
938
  /**
977
939
  * ChangeTierOp
978
940
  *
@@ -1375,6 +1337,11 @@ export type CreateCheckoutRequest = {
1375
1337
  };
1376
1338
  /**
1377
1339
  * CreateClosingEntryOperation
1340
+ *
1341
+ * CQRS-shaped body for `POST /operations/create-closing-entry`.
1342
+ *
1343
+ * `structure_id` moves into the body so REST + MCP share a single body
1344
+ * type via the registrar.
1378
1345
  */
1379
1346
  export type CreateClosingEntryOperation = {
1380
1347
  /**
@@ -1403,6 +1370,8 @@ export type CreateClosingEntryOperation = {
1403
1370
  memo?: string | null;
1404
1371
  /**
1405
1372
  * Structure Id
1373
+ *
1374
+ * Schedule structure the closing entry is derived from.
1406
1375
  */
1407
1376
  structure_id: string;
1408
1377
  };
@@ -1453,11 +1422,7 @@ export type CreateElementRequest = {
1453
1422
  /**
1454
1423
  * Classification
1455
1424
  */
1456
- classification: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense';
1457
- /**
1458
- * Sub Classification
1459
- */
1460
- sub_classification?: string | null;
1425
+ classification: 'asset' | 'contraAsset' | 'liability' | 'contraLiability' | 'equity' | 'contraEquity' | 'temporaryEquity' | 'revenue' | 'expense' | 'expenseReversal' | 'gain' | 'loss' | 'comprehensiveIncome' | 'investmentByOwners' | 'distributionToOwners';
1461
1426
  /**
1462
1427
  * Balance Type
1463
1428
  */
@@ -1485,7 +1450,7 @@ export type CreateElementRequest = {
1485
1450
  /**
1486
1451
  * Source
1487
1452
  */
1488
- source?: 'native' | 'sfac6' | 'us-gaap' | 'ifrs' | 'quickbooks' | 'xero' | 'plaid' | 'import';
1453
+ source?: 'native' | 'fac' | 'rs-gaap' | 'us-gaap' | 'ifrs' | 'quickbooks' | 'xero' | 'plaid' | 'import';
1489
1454
  /**
1490
1455
  * Currency
1491
1456
  */
@@ -1619,6 +1584,11 @@ export type CreateManualClosingEntryRequest = {
1619
1584
  };
1620
1585
  /**
1621
1586
  * CreateMappingAssociationOperation
1587
+ *
1588
+ * CQRS-shaped body for `POST /operations/create-mapping-association`.
1589
+ *
1590
+ * Bundles the target mapping structure's `mapping_id` with the association
1591
+ * payload so REST + MCP share a single body type via the registrar.
1622
1592
  */
1623
1593
  export type CreateMappingAssociationOperation = {
1624
1594
  /**
@@ -1632,7 +1602,7 @@ export type CreateMappingAssociationOperation = {
1632
1602
  /**
1633
1603
  * Association Type
1634
1604
  */
1635
- association_type?: 'presentation' | 'calculation' | 'mapping';
1605
+ association_type?: 'presentation' | 'calculation' | 'mapping' | 'equivalence';
1636
1606
  /**
1637
1607
  * Order Value
1638
1608
  */
@@ -1651,6 +1621,8 @@ export type CreateMappingAssociationOperation = {
1651
1621
  suggested_by?: string | null;
1652
1622
  /**
1653
1623
  * Mapping Id
1624
+ *
1625
+ * Target mapping structure ID.
1654
1626
  */
1655
1627
  mapping_id: string;
1656
1628
  };
@@ -2638,19 +2610,27 @@ export type DeleteMappingAssociationOperation = {
2638
2610
  };
2639
2611
  /**
2640
2612
  * DeletePortfolioOperation
2613
+ *
2614
+ * CQRS body for `POST /operations/delete-portfolio`.
2641
2615
  */
2642
2616
  export type DeletePortfolioOperation = {
2643
2617
  /**
2644
2618
  * Portfolio Id
2619
+ *
2620
+ * Target portfolio ID.
2645
2621
  */
2646
2622
  portfolio_id: string;
2647
2623
  };
2648
2624
  /**
2649
2625
  * DeletePositionOperation
2626
+ *
2627
+ * CQRS body for `POST /operations/delete-position` (soft delete).
2650
2628
  */
2651
2629
  export type DeletePositionOperation = {
2652
2630
  /**
2653
2631
  * Position Id
2632
+ *
2633
+ * Target position ID.
2654
2634
  */
2655
2635
  position_id: string;
2656
2636
  };
@@ -2690,10 +2670,14 @@ export type DeleteScheduleRequest = {
2690
2670
  };
2691
2671
  /**
2692
2672
  * DeleteSecurityOperation
2673
+ *
2674
+ * CQRS body for `POST /operations/delete-security` (soft delete).
2693
2675
  */
2694
2676
  export type DeleteSecurityOperation = {
2695
2677
  /**
2696
2678
  * Security Id
2679
+ *
2680
+ * Target security ID.
2697
2681
  */
2698
2682
  security_id: string;
2699
2683
  };
@@ -3413,6 +3397,47 @@ export type FileUploadResponse = {
3413
3397
  */
3414
3398
  s3_key: string;
3415
3399
  };
3400
+ /**
3401
+ * FinancialStatementAnalysisRequest
3402
+ *
3403
+ * Request for financial-statement-analysis (graph-backed Cypher).
3404
+ */
3405
+ export type FinancialStatementAnalysisRequest = {
3406
+ /**
3407
+ * Statement Type
3408
+ *
3409
+ * income_statement | balance_sheet | cash_flow_statement | equity_statement
3410
+ */
3411
+ statement_type: string;
3412
+ /**
3413
+ * Ticker
3414
+ *
3415
+ * Company ticker (required on shared-repo graphs, ignored otherwise)
3416
+ */
3417
+ ticker?: string | null;
3418
+ /**
3419
+ * Report Id
3420
+ *
3421
+ * Specific report identifier. If omitted, auto-resolves latest by ticker + filters.
3422
+ */
3423
+ report_id?: string | null;
3424
+ /**
3425
+ * Fiscal Year
3426
+ *
3427
+ * Filter by fiscal year focus when auto-resolving the report
3428
+ */
3429
+ fiscal_year?: number | null;
3430
+ /**
3431
+ * Period Type
3432
+ *
3433
+ * annual | quarterly | instant
3434
+ */
3435
+ period_type?: string | null;
3436
+ /**
3437
+ * Limit
3438
+ */
3439
+ limit?: number;
3440
+ };
3416
3441
  /**
3417
3442
  * ForgotPasswordRequest
3418
3443
  *
@@ -4723,6 +4748,49 @@ export type ListTableFilesResponse = {
4723
4748
  */
4724
4749
  total_size_bytes: number;
4725
4750
  };
4751
+ /**
4752
+ * LiveFinancialStatementRequest
4753
+ *
4754
+ * Request for live-financial-statement (OLTP, entity graphs only).
4755
+ */
4756
+ export type LiveFinancialStatementRequest = {
4757
+ /**
4758
+ * Statement Type
4759
+ *
4760
+ * income_statement | balance_sheet | equity_statement
4761
+ */
4762
+ statement_type: string;
4763
+ /**
4764
+ * Period Start
4765
+ *
4766
+ * Explicit window start. Overrides period_type/fiscal_year.
4767
+ */
4768
+ period_start?: string | null;
4769
+ /**
4770
+ * Period End
4771
+ *
4772
+ * Explicit window end. Overrides period_type/fiscal_year.
4773
+ */
4774
+ period_end?: string | null;
4775
+ /**
4776
+ * Period Type
4777
+ *
4778
+ * annual | quarterly | instant (ignored when dates supplied)
4779
+ */
4780
+ period_type?: string | null;
4781
+ /**
4782
+ * Fiscal Year
4783
+ *
4784
+ * Fiscal year for annual window (anchored on FiscalCalendar)
4785
+ */
4786
+ fiscal_year?: number | null;
4787
+ /**
4788
+ * Limit
4789
+ *
4790
+ * Max fact rows returned
4791
+ */
4792
+ limit?: number;
4793
+ };
4726
4794
  /**
4727
4795
  * LoginRequest
4728
4796
  *
@@ -6999,6 +7067,13 @@ export type TransactionSummaryResponse = {
6999
7067
  };
7000
7068
  /**
7001
7069
  * TruncateScheduleOperation
7070
+ *
7071
+ * CQRS-shaped body for `POST /operations/truncate-schedule`.
7072
+ *
7073
+ * Bundles the target schedule's `structure_id` with the update payload so
7074
+ * the single-body signature matches the registrar/MCP contract. The REST
7075
+ * handler, GraphQL resolver, and MCP tool all resolve to the same
7076
+ * `cmd_truncate_schedule(session, body, created_by=...)`.
7002
7077
  */
7003
7078
  export type TruncateScheduleOperation = {
7004
7079
  /**
@@ -7015,6 +7090,8 @@ export type TruncateScheduleOperation = {
7015
7090
  reason: string;
7016
7091
  /**
7017
7092
  * Structure Id
7093
+ *
7094
+ * Target schedule structure ID.
7018
7095
  */
7019
7096
  structure_id: string;
7020
7097
  };
@@ -7116,6 +7193,13 @@ export type UpdateAssociationRequest = {
7116
7193
  * immutable. `parent_id` honors `model_dump(exclude_unset=True)` semantics:
7117
7194
  * omit the field to leave unchanged, pass `null` to clear the parent
7118
7195
  * (make root).
7196
+ *
7197
+ * ``classification`` updates the element's primary FASB
7198
+ * elementsOfFinancialStatements assignment (in ``element_classifications``,
7199
+ * not a direct column on ``elements``). Omit to leave unchanged. Passing a
7200
+ * value replaces the current primary EFS assignment; there is no
7201
+ * set-to-null semantics (use the UI/admin path for full classification
7202
+ * teardown — here we only support correction of a misclassified account).
7119
7203
  */
7120
7204
  export type UpdateElementRequest = {
7121
7205
  /**
@@ -7134,14 +7218,6 @@ export type UpdateElementRequest = {
7134
7218
  * Description
7135
7219
  */
7136
7220
  description?: string | null;
7137
- /**
7138
- * Classification
7139
- */
7140
- classification?: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense' | null;
7141
- /**
7142
- * Sub Classification
7143
- */
7144
- sub_classification?: string | null;
7145
7221
  /**
7146
7222
  * Balance Type
7147
7223
  */
@@ -7158,6 +7234,10 @@ export type UpdateElementRequest = {
7158
7234
  * Currency
7159
7235
  */
7160
7236
  currency?: string | null;
7237
+ /**
7238
+ * Classification
7239
+ */
7240
+ classification?: 'asset' | 'contraAsset' | 'liability' | 'contraLiability' | 'equity' | 'contraEquity' | 'temporaryEquity' | 'revenue' | 'expense' | 'expenseReversal' | 'gain' | 'loss' | 'comprehensiveIncome' | 'investmentByOwners' | 'distributionToOwners' | null;
7161
7241
  };
7162
7242
  /**
7163
7243
  * UpdateEntityRequest
@@ -7334,6 +7414,11 @@ export type UpdatePasswordRequest = {
7334
7414
  };
7335
7415
  /**
7336
7416
  * UpdatePortfolioOperation
7417
+ *
7418
+ * CQRS body for `POST /operations/update-portfolio`.
7419
+ *
7420
+ * Folds `portfolio_id` into the payload so REST + MCP share one body
7421
+ * type via the registrar. Unset fields are ignored (partial update).
7337
7422
  */
7338
7423
  export type UpdatePortfolioOperation = {
7339
7424
  /**
@@ -7358,11 +7443,15 @@ export type UpdatePortfolioOperation = {
7358
7443
  base_currency?: string | null;
7359
7444
  /**
7360
7445
  * Portfolio Id
7446
+ *
7447
+ * Target portfolio ID.
7361
7448
  */
7362
7449
  portfolio_id: string;
7363
7450
  };
7364
7451
  /**
7365
7452
  * UpdatePositionOperation
7453
+ *
7454
+ * CQRS body for `POST /operations/update-position`.
7366
7455
  */
7367
7456
  export type UpdatePositionOperation = {
7368
7457
  /**
@@ -7407,6 +7496,8 @@ export type UpdatePositionOperation = {
7407
7496
  notes?: string | null;
7408
7497
  /**
7409
7498
  * Position Id
7499
+ *
7500
+ * Target position ID.
7410
7501
  */
7411
7502
  position_id: string;
7412
7503
  };
@@ -7455,6 +7546,8 @@ export type UpdateScheduleRequest = {
7455
7546
  };
7456
7547
  /**
7457
7548
  * UpdateSecurityOperation
7549
+ *
7550
+ * CQRS body for `POST /operations/update-security`.
7458
7551
  */
7459
7552
  export type UpdateSecurityOperation = {
7460
7553
  /**
@@ -7497,6 +7590,8 @@ export type UpdateSecurityOperation = {
7497
7590
  outstanding_shares?: number | null;
7498
7591
  /**
7499
7592
  * Security Id
7593
+ *
7594
+ * Target security ID.
7500
7595
  */
7501
7596
  security_id: string;
7502
7597
  };
@@ -11631,55 +11726,6 @@ export type UpdateDocumentResponses = {
11631
11726
  200: DocumentUploadResponse;
11632
11727
  };
11633
11728
  export type UpdateDocumentResponse = UpdateDocumentResponses[keyof UpdateDocumentResponses];
11634
- export type UploadDocumentsBulkData = {
11635
- body: BulkDocumentUploadRequest;
11636
- path: {
11637
- /**
11638
- * Graph Id
11639
- */
11640
- graph_id: string;
11641
- };
11642
- query?: never;
11643
- url: '/v1/graphs/{graph_id}/documents/bulk';
11644
- };
11645
- export type UploadDocumentsBulkErrors = {
11646
- /**
11647
- * Invalid request
11648
- */
11649
- 400: ErrorResponse;
11650
- /**
11651
- * Authentication required
11652
- */
11653
- 401: ErrorResponse;
11654
- /**
11655
- * Access denied
11656
- */
11657
- 403: ErrorResponse;
11658
- /**
11659
- * Resource not found
11660
- */
11661
- 404: ErrorResponse;
11662
- /**
11663
- * Validation Error
11664
- */
11665
- 422: HttpValidationError;
11666
- /**
11667
- * Rate limit exceeded
11668
- */
11669
- 429: ErrorResponse;
11670
- /**
11671
- * Internal server error
11672
- */
11673
- 500: ErrorResponse;
11674
- };
11675
- export type UploadDocumentsBulkError = UploadDocumentsBulkErrors[keyof UploadDocumentsBulkErrors];
11676
- export type UploadDocumentsBulkResponses = {
11677
- /**
11678
- * Successful Response
11679
- */
11680
- 200: BulkDocumentUploadResponse;
11681
- };
11682
- export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
11683
11729
  export type OpCreateSubgraphData = {
11684
11730
  body: CreateSubgraphRequest;
11685
11731
  headers?: {
@@ -13624,8 +13670,8 @@ export type OpReopenPeriodResponses = {
13624
13670
  200: OperationEnvelope;
13625
13671
  };
13626
13672
  export type OpReopenPeriodResponse = OpReopenPeriodResponses[keyof OpReopenPeriodResponses];
13627
- export type OpCreateScheduleData = {
13628
- body: CreateScheduleRequest;
13673
+ export type OpCreateTaxonomyData = {
13674
+ body: CreateTaxonomyRequest;
13629
13675
  headers?: {
13630
13676
  /**
13631
13677
  * Idempotency-Key
@@ -13639,9 +13685,9 @@ export type OpCreateScheduleData = {
13639
13685
  graph_id: string;
13640
13686
  };
13641
13687
  query?: never;
13642
- url: '/extensions/roboledger/{graph_id}/operations/create-schedule';
13688
+ url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy';
13643
13689
  };
13644
- export type OpCreateScheduleErrors = {
13690
+ export type OpCreateTaxonomyErrors = {
13645
13691
  /**
13646
13692
  * Invalid request
13647
13693
  */
@@ -13675,16 +13721,16 @@ export type OpCreateScheduleErrors = {
13675
13721
  */
13676
13722
  500: ErrorResponse;
13677
13723
  };
13678
- export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
13679
- export type OpCreateScheduleResponses = {
13724
+ export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
13725
+ export type OpCreateTaxonomyResponses = {
13680
13726
  /**
13681
13727
  * Successful Response
13682
13728
  */
13683
13729
  200: OperationEnvelope;
13684
13730
  };
13685
- export type OpCreateScheduleResponse = OpCreateScheduleResponses[keyof OpCreateScheduleResponses];
13686
- export type OpTruncateScheduleData = {
13687
- body: TruncateScheduleOperation;
13731
+ export type OpCreateTaxonomyResponse = OpCreateTaxonomyResponses[keyof OpCreateTaxonomyResponses];
13732
+ export type OpCreateStructureData = {
13733
+ body: CreateStructureRequest;
13688
13734
  headers?: {
13689
13735
  /**
13690
13736
  * Idempotency-Key
@@ -13698,9 +13744,9 @@ export type OpTruncateScheduleData = {
13698
13744
  graph_id: string;
13699
13745
  };
13700
13746
  query?: never;
13701
- url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
13747
+ url: '/extensions/roboledger/{graph_id}/operations/create-structure';
13702
13748
  };
13703
- export type OpTruncateScheduleErrors = {
13749
+ export type OpCreateStructureErrors = {
13704
13750
  /**
13705
13751
  * Invalid request
13706
13752
  */
@@ -13734,16 +13780,16 @@ export type OpTruncateScheduleErrors = {
13734
13780
  */
13735
13781
  500: ErrorResponse;
13736
13782
  };
13737
- export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
13738
- export type OpTruncateScheduleResponses = {
13783
+ export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
13784
+ export type OpCreateStructureResponses = {
13739
13785
  /**
13740
13786
  * Successful Response
13741
13787
  */
13742
13788
  200: OperationEnvelope;
13743
13789
  };
13744
- export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
13745
- export type OpCreateClosingEntryData = {
13746
- body: CreateClosingEntryOperation;
13790
+ export type OpCreateStructureResponse = OpCreateStructureResponses[keyof OpCreateStructureResponses];
13791
+ export type OpDeleteMappingAssociationData = {
13792
+ body: DeleteMappingAssociationOperation;
13747
13793
  headers?: {
13748
13794
  /**
13749
13795
  * Idempotency-Key
@@ -13757,9 +13803,9 @@ export type OpCreateClosingEntryData = {
13757
13803
  graph_id: string;
13758
13804
  };
13759
13805
  query?: never;
13760
- url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
13806
+ url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association';
13761
13807
  };
13762
- export type OpCreateClosingEntryErrors = {
13808
+ export type OpDeleteMappingAssociationErrors = {
13763
13809
  /**
13764
13810
  * Invalid request
13765
13811
  */
@@ -13793,16 +13839,16 @@ export type OpCreateClosingEntryErrors = {
13793
13839
  */
13794
13840
  500: ErrorResponse;
13795
13841
  };
13796
- export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
13797
- export type OpCreateClosingEntryResponses = {
13842
+ export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
13843
+ export type OpDeleteMappingAssociationResponses = {
13798
13844
  /**
13799
13845
  * Successful Response
13800
13846
  */
13801
13847
  200: OperationEnvelope;
13802
13848
  };
13803
- export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
13804
- export type OpCreateManualClosingEntryData = {
13805
- body: CreateManualClosingEntryRequest;
13849
+ export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
13850
+ export type OpUpdateTaxonomyData = {
13851
+ body: UpdateTaxonomyRequest;
13806
13852
  headers?: {
13807
13853
  /**
13808
13854
  * Idempotency-Key
@@ -13816,29 +13862,29 @@ export type OpCreateManualClosingEntryData = {
13816
13862
  graph_id: string;
13817
13863
  };
13818
13864
  query?: never;
13819
- url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
13865
+ url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
13820
13866
  };
13821
- export type OpCreateManualClosingEntryErrors = {
13867
+ export type OpUpdateTaxonomyErrors = {
13822
13868
  /**
13823
- * Invalid request
13869
+ * Invalid request payload
13824
13870
  */
13825
- 400: ErrorResponse;
13871
+ 400: OperationError;
13826
13872
  /**
13827
- * Authentication required
13873
+ * Unauthorized — missing or invalid credentials
13828
13874
  */
13829
- 401: ErrorResponse;
13875
+ 401: unknown;
13830
13876
  /**
13831
- * Access denied
13877
+ * Forbidden — caller cannot access this graph
13832
13878
  */
13833
- 403: ErrorResponse;
13879
+ 403: unknown;
13834
13880
  /**
13835
- * Resource not found
13881
+ * Resource not found (graph, ledger, report, etc.)
13836
13882
  */
13837
- 404: ErrorResponse;
13883
+ 404: OperationError;
13838
13884
  /**
13839
- * Idempotency-Key conflict — key reused with different body
13885
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13840
13886
  */
13841
- 409: ErrorResponse;
13887
+ 409: OperationError;
13842
13888
  /**
13843
13889
  * Validation Error
13844
13890
  */
@@ -13846,22 +13892,22 @@ export type OpCreateManualClosingEntryErrors = {
13846
13892
  /**
13847
13893
  * Rate limit exceeded
13848
13894
  */
13849
- 429: ErrorResponse;
13895
+ 429: unknown;
13850
13896
  /**
13851
- * Internal server error
13897
+ * Internal error
13852
13898
  */
13853
- 500: ErrorResponse;
13899
+ 500: unknown;
13854
13900
  };
13855
- export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
13856
- export type OpCreateManualClosingEntryResponses = {
13901
+ export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
13902
+ export type OpUpdateTaxonomyResponses = {
13857
13903
  /**
13858
13904
  * Successful Response
13859
13905
  */
13860
13906
  200: OperationEnvelope;
13861
13907
  };
13862
- export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
13863
- export type OpCreateTaxonomyData = {
13864
- body: CreateTaxonomyRequest;
13908
+ export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
13909
+ export type OpDeleteTaxonomyData = {
13910
+ body: DeleteTaxonomyRequest;
13865
13911
  headers?: {
13866
13912
  /**
13867
13913
  * Idempotency-Key
@@ -13875,29 +13921,29 @@ export type OpCreateTaxonomyData = {
13875
13921
  graph_id: string;
13876
13922
  };
13877
13923
  query?: never;
13878
- url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy';
13924
+ url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
13879
13925
  };
13880
- export type OpCreateTaxonomyErrors = {
13926
+ export type OpDeleteTaxonomyErrors = {
13881
13927
  /**
13882
- * Invalid request
13928
+ * Invalid request payload
13883
13929
  */
13884
- 400: ErrorResponse;
13930
+ 400: OperationError;
13885
13931
  /**
13886
- * Authentication required
13932
+ * Unauthorized — missing or invalid credentials
13887
13933
  */
13888
- 401: ErrorResponse;
13934
+ 401: unknown;
13889
13935
  /**
13890
- * Access denied
13936
+ * Forbidden — caller cannot access this graph
13891
13937
  */
13892
- 403: ErrorResponse;
13938
+ 403: unknown;
13893
13939
  /**
13894
- * Resource not found
13940
+ * Resource not found (graph, ledger, report, etc.)
13895
13941
  */
13896
- 404: ErrorResponse;
13942
+ 404: OperationError;
13897
13943
  /**
13898
- * Idempotency-Key conflict — key reused with different body
13944
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13899
13945
  */
13900
- 409: ErrorResponse;
13946
+ 409: OperationError;
13901
13947
  /**
13902
13948
  * Validation Error
13903
13949
  */
@@ -13905,22 +13951,22 @@ export type OpCreateTaxonomyErrors = {
13905
13951
  /**
13906
13952
  * Rate limit exceeded
13907
13953
  */
13908
- 429: ErrorResponse;
13954
+ 429: unknown;
13909
13955
  /**
13910
- * Internal server error
13956
+ * Internal error
13911
13957
  */
13912
- 500: ErrorResponse;
13958
+ 500: unknown;
13913
13959
  };
13914
- export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
13915
- export type OpCreateTaxonomyResponses = {
13960
+ export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
13961
+ export type OpDeleteTaxonomyResponses = {
13916
13962
  /**
13917
13963
  * Successful Response
13918
13964
  */
13919
13965
  200: OperationEnvelope;
13920
13966
  };
13921
- export type OpCreateTaxonomyResponse = OpCreateTaxonomyResponses[keyof OpCreateTaxonomyResponses];
13922
- export type OpCreateStructureData = {
13923
- body: CreateStructureRequest;
13967
+ export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
13968
+ export type OpLinkEntityTaxonomyData = {
13969
+ body: LinkEntityTaxonomyRequest;
13924
13970
  headers?: {
13925
13971
  /**
13926
13972
  * Idempotency-Key
@@ -13934,29 +13980,29 @@ export type OpCreateStructureData = {
13934
13980
  graph_id: string;
13935
13981
  };
13936
13982
  query?: never;
13937
- url: '/extensions/roboledger/{graph_id}/operations/create-structure';
13983
+ url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
13938
13984
  };
13939
- export type OpCreateStructureErrors = {
13985
+ export type OpLinkEntityTaxonomyErrors = {
13940
13986
  /**
13941
- * Invalid request
13987
+ * Invalid request payload
13942
13988
  */
13943
- 400: ErrorResponse;
13989
+ 400: OperationError;
13944
13990
  /**
13945
- * Authentication required
13991
+ * Unauthorized — missing or invalid credentials
13946
13992
  */
13947
- 401: ErrorResponse;
13993
+ 401: unknown;
13948
13994
  /**
13949
- * Access denied
13995
+ * Forbidden — caller cannot access this graph
13950
13996
  */
13951
- 403: ErrorResponse;
13997
+ 403: unknown;
13952
13998
  /**
13953
- * Resource not found
13999
+ * Resource not found (graph, ledger, report, etc.)
13954
14000
  */
13955
- 404: ErrorResponse;
14001
+ 404: OperationError;
13956
14002
  /**
13957
- * Idempotency-Key conflict — key reused with different body
14003
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13958
14004
  */
13959
- 409: ErrorResponse;
14005
+ 409: OperationError;
13960
14006
  /**
13961
14007
  * Validation Error
13962
14008
  */
@@ -13964,22 +14010,22 @@ export type OpCreateStructureErrors = {
13964
14010
  /**
13965
14011
  * Rate limit exceeded
13966
14012
  */
13967
- 429: ErrorResponse;
14013
+ 429: unknown;
13968
14014
  /**
13969
- * Internal server error
14015
+ * Internal error
13970
14016
  */
13971
- 500: ErrorResponse;
14017
+ 500: unknown;
13972
14018
  };
13973
- export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
13974
- export type OpCreateStructureResponses = {
14019
+ export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
14020
+ export type OpLinkEntityTaxonomyResponses = {
13975
14021
  /**
13976
14022
  * Successful Response
13977
14023
  */
13978
14024
  200: OperationEnvelope;
13979
14025
  };
13980
- export type OpCreateStructureResponse = OpCreateStructureResponses[keyof OpCreateStructureResponses];
13981
- export type OpCreateMappingAssociationData = {
13982
- body: CreateMappingAssociationOperation;
14026
+ export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
14027
+ export type OpUpdateStructureData = {
14028
+ body: UpdateStructureRequest;
13983
14029
  headers?: {
13984
14030
  /**
13985
14031
  * Idempotency-Key
@@ -13993,29 +14039,29 @@ export type OpCreateMappingAssociationData = {
13993
14039
  graph_id: string;
13994
14040
  };
13995
14041
  query?: never;
13996
- url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
14042
+ url: '/extensions/roboledger/{graph_id}/operations/update-structure';
13997
14043
  };
13998
- export type OpCreateMappingAssociationErrors = {
14044
+ export type OpUpdateStructureErrors = {
13999
14045
  /**
14000
- * Invalid request
14046
+ * Invalid request payload
14001
14047
  */
14002
- 400: ErrorResponse;
14048
+ 400: OperationError;
14003
14049
  /**
14004
- * Authentication required
14050
+ * Unauthorized — missing or invalid credentials
14005
14051
  */
14006
- 401: ErrorResponse;
14052
+ 401: unknown;
14007
14053
  /**
14008
- * Access denied
14054
+ * Forbidden — caller cannot access this graph
14009
14055
  */
14010
- 403: ErrorResponse;
14056
+ 403: unknown;
14011
14057
  /**
14012
- * Resource not found
14058
+ * Resource not found (graph, ledger, report, etc.)
14013
14059
  */
14014
- 404: ErrorResponse;
14060
+ 404: OperationError;
14015
14061
  /**
14016
- * Idempotency-Key conflict — key reused with different body
14062
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14017
14063
  */
14018
- 409: ErrorResponse;
14064
+ 409: OperationError;
14019
14065
  /**
14020
14066
  * Validation Error
14021
14067
  */
@@ -14023,22 +14069,22 @@ export type OpCreateMappingAssociationErrors = {
14023
14069
  /**
14024
14070
  * Rate limit exceeded
14025
14071
  */
14026
- 429: ErrorResponse;
14072
+ 429: unknown;
14027
14073
  /**
14028
- * Internal server error
14074
+ * Internal error
14029
14075
  */
14030
- 500: ErrorResponse;
14076
+ 500: unknown;
14031
14077
  };
14032
- export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
14033
- export type OpCreateMappingAssociationResponses = {
14078
+ export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
14079
+ export type OpUpdateStructureResponses = {
14034
14080
  /**
14035
14081
  * Successful Response
14036
14082
  */
14037
14083
  200: OperationEnvelope;
14038
14084
  };
14039
- export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
14040
- export type OpDeleteMappingAssociationData = {
14041
- body: DeleteMappingAssociationOperation;
14085
+ export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
14086
+ export type OpDeleteStructureData = {
14087
+ body: DeleteStructureRequest;
14042
14088
  headers?: {
14043
14089
  /**
14044
14090
  * Idempotency-Key
@@ -14052,29 +14098,29 @@ export type OpDeleteMappingAssociationData = {
14052
14098
  graph_id: string;
14053
14099
  };
14054
14100
  query?: never;
14055
- url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association';
14101
+ url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
14056
14102
  };
14057
- export type OpDeleteMappingAssociationErrors = {
14103
+ export type OpDeleteStructureErrors = {
14058
14104
  /**
14059
- * Invalid request
14105
+ * Invalid request payload
14060
14106
  */
14061
- 400: ErrorResponse;
14107
+ 400: OperationError;
14062
14108
  /**
14063
- * Authentication required
14109
+ * Unauthorized — missing or invalid credentials
14064
14110
  */
14065
- 401: ErrorResponse;
14111
+ 401: unknown;
14066
14112
  /**
14067
- * Access denied
14113
+ * Forbidden — caller cannot access this graph
14068
14114
  */
14069
- 403: ErrorResponse;
14115
+ 403: unknown;
14070
14116
  /**
14071
- * Resource not found
14117
+ * Resource not found (graph, ledger, report, etc.)
14072
14118
  */
14073
- 404: ErrorResponse;
14119
+ 404: OperationError;
14074
14120
  /**
14075
- * Idempotency-Key conflict — key reused with different body
14121
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14076
14122
  */
14077
- 409: ErrorResponse;
14123
+ 409: OperationError;
14078
14124
  /**
14079
14125
  * Validation Error
14080
14126
  */
@@ -14082,22 +14128,22 @@ export type OpDeleteMappingAssociationErrors = {
14082
14128
  /**
14083
14129
  * Rate limit exceeded
14084
14130
  */
14085
- 429: ErrorResponse;
14131
+ 429: unknown;
14086
14132
  /**
14087
- * Internal server error
14133
+ * Internal error
14088
14134
  */
14089
- 500: ErrorResponse;
14135
+ 500: unknown;
14090
14136
  };
14091
- export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
14092
- export type OpDeleteMappingAssociationResponses = {
14137
+ export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
14138
+ export type OpDeleteStructureResponses = {
14093
14139
  /**
14094
14140
  * Successful Response
14095
14141
  */
14096
14142
  200: OperationEnvelope;
14097
14143
  };
14098
- export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
14099
- export type OpUpdateTaxonomyData = {
14100
- body: UpdateTaxonomyRequest;
14144
+ export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
14145
+ export type OpCreateElementData = {
14146
+ body: CreateElementRequest;
14101
14147
  headers?: {
14102
14148
  /**
14103
14149
  * Idempotency-Key
@@ -14111,9 +14157,9 @@ export type OpUpdateTaxonomyData = {
14111
14157
  graph_id: string;
14112
14158
  };
14113
14159
  query?: never;
14114
- url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
14160
+ url: '/extensions/roboledger/{graph_id}/operations/create-element';
14115
14161
  };
14116
- export type OpUpdateTaxonomyErrors = {
14162
+ export type OpCreateElementErrors = {
14117
14163
  /**
14118
14164
  * Invalid request payload
14119
14165
  */
@@ -14147,16 +14193,16 @@ export type OpUpdateTaxonomyErrors = {
14147
14193
  */
14148
14194
  500: unknown;
14149
14195
  };
14150
- export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
14151
- export type OpUpdateTaxonomyResponses = {
14196
+ export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
14197
+ export type OpCreateElementResponses = {
14152
14198
  /**
14153
14199
  * Successful Response
14154
14200
  */
14155
14201
  200: OperationEnvelope;
14156
14202
  };
14157
- export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
14158
- export type OpDeleteTaxonomyData = {
14159
- body: DeleteTaxonomyRequest;
14203
+ export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
14204
+ export type OpUpdateElementData = {
14205
+ body: UpdateElementRequest;
14160
14206
  headers?: {
14161
14207
  /**
14162
14208
  * Idempotency-Key
@@ -14170,9 +14216,9 @@ export type OpDeleteTaxonomyData = {
14170
14216
  graph_id: string;
14171
14217
  };
14172
14218
  query?: never;
14173
- url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
14219
+ url: '/extensions/roboledger/{graph_id}/operations/update-element';
14174
14220
  };
14175
- export type OpDeleteTaxonomyErrors = {
14221
+ export type OpUpdateElementErrors = {
14176
14222
  /**
14177
14223
  * Invalid request payload
14178
14224
  */
@@ -14206,16 +14252,16 @@ export type OpDeleteTaxonomyErrors = {
14206
14252
  */
14207
14253
  500: unknown;
14208
14254
  };
14209
- export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
14210
- export type OpDeleteTaxonomyResponses = {
14255
+ export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
14256
+ export type OpUpdateElementResponses = {
14211
14257
  /**
14212
14258
  * Successful Response
14213
14259
  */
14214
14260
  200: OperationEnvelope;
14215
14261
  };
14216
- export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
14217
- export type OpLinkEntityTaxonomyData = {
14218
- body: LinkEntityTaxonomyRequest;
14262
+ export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
14263
+ export type OpDeleteElementData = {
14264
+ body: DeleteElementRequest;
14219
14265
  headers?: {
14220
14266
  /**
14221
14267
  * Idempotency-Key
@@ -14229,9 +14275,9 @@ export type OpLinkEntityTaxonomyData = {
14229
14275
  graph_id: string;
14230
14276
  };
14231
14277
  query?: never;
14232
- url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
14278
+ url: '/extensions/roboledger/{graph_id}/operations/delete-element';
14233
14279
  };
14234
- export type OpLinkEntityTaxonomyErrors = {
14280
+ export type OpDeleteElementErrors = {
14235
14281
  /**
14236
14282
  * Invalid request payload
14237
14283
  */
@@ -14265,16 +14311,16 @@ export type OpLinkEntityTaxonomyErrors = {
14265
14311
  */
14266
14312
  500: unknown;
14267
14313
  };
14268
- export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
14269
- export type OpLinkEntityTaxonomyResponses = {
14314
+ export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
14315
+ export type OpDeleteElementResponses = {
14270
14316
  /**
14271
14317
  * Successful Response
14272
14318
  */
14273
14319
  200: OperationEnvelope;
14274
14320
  };
14275
- export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
14276
- export type OpUpdateStructureData = {
14277
- body: UpdateStructureRequest;
14321
+ export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
14322
+ export type OpCreateAssociationsData = {
14323
+ body: BulkCreateAssociationsRequest;
14278
14324
  headers?: {
14279
14325
  /**
14280
14326
  * Idempotency-Key
@@ -14288,9 +14334,9 @@ export type OpUpdateStructureData = {
14288
14334
  graph_id: string;
14289
14335
  };
14290
14336
  query?: never;
14291
- url: '/extensions/roboledger/{graph_id}/operations/update-structure';
14337
+ url: '/extensions/roboledger/{graph_id}/operations/create-associations';
14292
14338
  };
14293
- export type OpUpdateStructureErrors = {
14339
+ export type OpCreateAssociationsErrors = {
14294
14340
  /**
14295
14341
  * Invalid request payload
14296
14342
  */
@@ -14324,16 +14370,16 @@ export type OpUpdateStructureErrors = {
14324
14370
  */
14325
14371
  500: unknown;
14326
14372
  };
14327
- export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
14328
- export type OpUpdateStructureResponses = {
14373
+ export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
14374
+ export type OpCreateAssociationsResponses = {
14329
14375
  /**
14330
14376
  * Successful Response
14331
14377
  */
14332
14378
  200: OperationEnvelope;
14333
14379
  };
14334
- export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
14335
- export type OpDeleteStructureData = {
14336
- body: DeleteStructureRequest;
14380
+ export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
14381
+ export type OpUpdateAssociationData = {
14382
+ body: UpdateAssociationRequest;
14337
14383
  headers?: {
14338
14384
  /**
14339
14385
  * Idempotency-Key
@@ -14347,9 +14393,9 @@ export type OpDeleteStructureData = {
14347
14393
  graph_id: string;
14348
14394
  };
14349
14395
  query?: never;
14350
- url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
14396
+ url: '/extensions/roboledger/{graph_id}/operations/update-association';
14351
14397
  };
14352
- export type OpDeleteStructureErrors = {
14398
+ export type OpUpdateAssociationErrors = {
14353
14399
  /**
14354
14400
  * Invalid request payload
14355
14401
  */
@@ -14383,16 +14429,16 @@ export type OpDeleteStructureErrors = {
14383
14429
  */
14384
14430
  500: unknown;
14385
14431
  };
14386
- export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
14387
- export type OpDeleteStructureResponses = {
14432
+ export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
14433
+ export type OpUpdateAssociationResponses = {
14388
14434
  /**
14389
14435
  * Successful Response
14390
14436
  */
14391
14437
  200: OperationEnvelope;
14392
14438
  };
14393
- export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
14394
- export type OpCreateElementData = {
14395
- body: CreateElementRequest;
14439
+ export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
14440
+ export type OpDeleteAssociationData = {
14441
+ body: DeleteAssociationRequest;
14396
14442
  headers?: {
14397
14443
  /**
14398
14444
  * Idempotency-Key
@@ -14406,9 +14452,9 @@ export type OpCreateElementData = {
14406
14452
  graph_id: string;
14407
14453
  };
14408
14454
  query?: never;
14409
- url: '/extensions/roboledger/{graph_id}/operations/create-element';
14455
+ url: '/extensions/roboledger/{graph_id}/operations/delete-association';
14410
14456
  };
14411
- export type OpCreateElementErrors = {
14457
+ export type OpDeleteAssociationErrors = {
14412
14458
  /**
14413
14459
  * Invalid request payload
14414
14460
  */
@@ -14442,16 +14488,16 @@ export type OpCreateElementErrors = {
14442
14488
  */
14443
14489
  500: unknown;
14444
14490
  };
14445
- export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
14446
- export type OpCreateElementResponses = {
14491
+ export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
14492
+ export type OpDeleteAssociationResponses = {
14447
14493
  /**
14448
14494
  * Successful Response
14449
14495
  */
14450
14496
  200: OperationEnvelope;
14451
14497
  };
14452
- export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
14453
- export type OpUpdateElementData = {
14454
- body: UpdateElementRequest;
14498
+ export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
14499
+ export type OpCreateTransactionData = {
14500
+ body: CreateTransactionRequest;
14455
14501
  headers?: {
14456
14502
  /**
14457
14503
  * Idempotency-Key
@@ -14465,9 +14511,9 @@ export type OpUpdateElementData = {
14465
14511
  graph_id: string;
14466
14512
  };
14467
14513
  query?: never;
14468
- url: '/extensions/roboledger/{graph_id}/operations/update-element';
14514
+ url: '/extensions/roboledger/{graph_id}/operations/create-transaction';
14469
14515
  };
14470
- export type OpUpdateElementErrors = {
14516
+ export type OpCreateTransactionErrors = {
14471
14517
  /**
14472
14518
  * Invalid request payload
14473
14519
  */
@@ -14501,16 +14547,16 @@ export type OpUpdateElementErrors = {
14501
14547
  */
14502
14548
  500: unknown;
14503
14549
  };
14504
- export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
14505
- export type OpUpdateElementResponses = {
14550
+ export type OpCreateTransactionError = OpCreateTransactionErrors[keyof OpCreateTransactionErrors];
14551
+ export type OpCreateTransactionResponses = {
14506
14552
  /**
14507
14553
  * Successful Response
14508
14554
  */
14509
14555
  200: OperationEnvelope;
14510
14556
  };
14511
- export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
14512
- export type OpDeleteElementData = {
14513
- body: DeleteElementRequest;
14557
+ export type OpCreateTransactionResponse = OpCreateTransactionResponses[keyof OpCreateTransactionResponses];
14558
+ export type OpCreateJournalEntryData = {
14559
+ body: CreateJournalEntryRequest;
14514
14560
  headers?: {
14515
14561
  /**
14516
14562
  * Idempotency-Key
@@ -14524,9 +14570,9 @@ export type OpDeleteElementData = {
14524
14570
  graph_id: string;
14525
14571
  };
14526
14572
  query?: never;
14527
- url: '/extensions/roboledger/{graph_id}/operations/delete-element';
14573
+ url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
14528
14574
  };
14529
- export type OpDeleteElementErrors = {
14575
+ export type OpCreateJournalEntryErrors = {
14530
14576
  /**
14531
14577
  * Invalid request payload
14532
14578
  */
@@ -14560,17 +14606,17 @@ export type OpDeleteElementErrors = {
14560
14606
  */
14561
14607
  500: unknown;
14562
14608
  };
14563
- export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
14564
- export type OpDeleteElementResponses = {
14609
+ export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
14610
+ export type OpCreateJournalEntryResponses = {
14565
14611
  /**
14566
14612
  * Successful Response
14567
14613
  */
14568
14614
  200: OperationEnvelope;
14569
14615
  };
14570
- export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
14571
- export type OpCreateAssociationsData = {
14572
- body: BulkCreateAssociationsRequest;
14573
- headers?: {
14616
+ export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
14617
+ export type OpUpdateJournalEntryData = {
14618
+ body: UpdateJournalEntryRequest;
14619
+ headers?: {
14574
14620
  /**
14575
14621
  * Idempotency-Key
14576
14622
  */
@@ -14583,9 +14629,9 @@ export type OpCreateAssociationsData = {
14583
14629
  graph_id: string;
14584
14630
  };
14585
14631
  query?: never;
14586
- url: '/extensions/roboledger/{graph_id}/operations/create-associations';
14632
+ url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
14587
14633
  };
14588
- export type OpCreateAssociationsErrors = {
14634
+ export type OpUpdateJournalEntryErrors = {
14589
14635
  /**
14590
14636
  * Invalid request payload
14591
14637
  */
@@ -14619,16 +14665,16 @@ export type OpCreateAssociationsErrors = {
14619
14665
  */
14620
14666
  500: unknown;
14621
14667
  };
14622
- export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
14623
- export type OpCreateAssociationsResponses = {
14668
+ export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
14669
+ export type OpUpdateJournalEntryResponses = {
14624
14670
  /**
14625
14671
  * Successful Response
14626
14672
  */
14627
14673
  200: OperationEnvelope;
14628
14674
  };
14629
- export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
14630
- export type OpUpdateAssociationData = {
14631
- body: UpdateAssociationRequest;
14675
+ export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
14676
+ export type OpDeleteJournalEntryData = {
14677
+ body: DeleteJournalEntryRequest;
14632
14678
  headers?: {
14633
14679
  /**
14634
14680
  * Idempotency-Key
@@ -14642,9 +14688,9 @@ export type OpUpdateAssociationData = {
14642
14688
  graph_id: string;
14643
14689
  };
14644
14690
  query?: never;
14645
- url: '/extensions/roboledger/{graph_id}/operations/update-association';
14691
+ url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
14646
14692
  };
14647
- export type OpUpdateAssociationErrors = {
14693
+ export type OpDeleteJournalEntryErrors = {
14648
14694
  /**
14649
14695
  * Invalid request payload
14650
14696
  */
@@ -14678,16 +14724,16 @@ export type OpUpdateAssociationErrors = {
14678
14724
  */
14679
14725
  500: unknown;
14680
14726
  };
14681
- export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
14682
- export type OpUpdateAssociationResponses = {
14727
+ export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
14728
+ export type OpDeleteJournalEntryResponses = {
14683
14729
  /**
14684
14730
  * Successful Response
14685
14731
  */
14686
14732
  200: OperationEnvelope;
14687
14733
  };
14688
- export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
14689
- export type OpDeleteAssociationData = {
14690
- body: DeleteAssociationRequest;
14734
+ export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
14735
+ export type OpReverseJournalEntryData = {
14736
+ body: ReverseJournalEntryRequest;
14691
14737
  headers?: {
14692
14738
  /**
14693
14739
  * Idempotency-Key
@@ -14701,9 +14747,9 @@ export type OpDeleteAssociationData = {
14701
14747
  graph_id: string;
14702
14748
  };
14703
14749
  query?: never;
14704
- url: '/extensions/roboledger/{graph_id}/operations/delete-association';
14750
+ url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
14705
14751
  };
14706
- export type OpDeleteAssociationErrors = {
14752
+ export type OpReverseJournalEntryErrors = {
14707
14753
  /**
14708
14754
  * Invalid request payload
14709
14755
  */
@@ -14737,16 +14783,16 @@ export type OpDeleteAssociationErrors = {
14737
14783
  */
14738
14784
  500: unknown;
14739
14785
  };
14740
- export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
14741
- export type OpDeleteAssociationResponses = {
14786
+ export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
14787
+ export type OpReverseJournalEntryResponses = {
14742
14788
  /**
14743
14789
  * Successful Response
14744
14790
  */
14745
14791
  200: OperationEnvelope;
14746
14792
  };
14747
- export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
14748
- export type OpCreateTransactionData = {
14749
- body: CreateTransactionRequest;
14793
+ export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
14794
+ export type OpCreateScheduleData = {
14795
+ body: CreateScheduleRequest;
14750
14796
  headers?: {
14751
14797
  /**
14752
14798
  * Idempotency-Key
@@ -14760,9 +14806,9 @@ export type OpCreateTransactionData = {
14760
14806
  graph_id: string;
14761
14807
  };
14762
14808
  query?: never;
14763
- url: '/extensions/roboledger/{graph_id}/operations/create-transaction';
14809
+ url: '/extensions/roboledger/{graph_id}/operations/create-schedule';
14764
14810
  };
14765
- export type OpCreateTransactionErrors = {
14811
+ export type OpCreateScheduleErrors = {
14766
14812
  /**
14767
14813
  * Invalid request payload
14768
14814
  */
@@ -14796,16 +14842,16 @@ export type OpCreateTransactionErrors = {
14796
14842
  */
14797
14843
  500: unknown;
14798
14844
  };
14799
- export type OpCreateTransactionError = OpCreateTransactionErrors[keyof OpCreateTransactionErrors];
14800
- export type OpCreateTransactionResponses = {
14845
+ export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
14846
+ export type OpCreateScheduleResponses = {
14801
14847
  /**
14802
14848
  * Successful Response
14803
14849
  */
14804
14850
  200: OperationEnvelope;
14805
14851
  };
14806
- export type OpCreateTransactionResponse = OpCreateTransactionResponses[keyof OpCreateTransactionResponses];
14807
- export type OpCreateJournalEntryData = {
14808
- body: CreateJournalEntryRequest;
14852
+ export type OpCreateScheduleResponse = OpCreateScheduleResponses[keyof OpCreateScheduleResponses];
14853
+ export type OpTruncateScheduleData = {
14854
+ body: TruncateScheduleOperation;
14809
14855
  headers?: {
14810
14856
  /**
14811
14857
  * Idempotency-Key
@@ -14819,9 +14865,9 @@ export type OpCreateJournalEntryData = {
14819
14865
  graph_id: string;
14820
14866
  };
14821
14867
  query?: never;
14822
- url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
14868
+ url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
14823
14869
  };
14824
- export type OpCreateJournalEntryErrors = {
14870
+ export type OpTruncateScheduleErrors = {
14825
14871
  /**
14826
14872
  * Invalid request payload
14827
14873
  */
@@ -14855,16 +14901,16 @@ export type OpCreateJournalEntryErrors = {
14855
14901
  */
14856
14902
  500: unknown;
14857
14903
  };
14858
- export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
14859
- export type OpCreateJournalEntryResponses = {
14904
+ export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
14905
+ export type OpTruncateScheduleResponses = {
14860
14906
  /**
14861
14907
  * Successful Response
14862
14908
  */
14863
14909
  200: OperationEnvelope;
14864
14910
  };
14865
- export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
14866
- export type OpUpdateJournalEntryData = {
14867
- body: UpdateJournalEntryRequest;
14911
+ export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
14912
+ export type OpCreateClosingEntryData = {
14913
+ body: CreateClosingEntryOperation;
14868
14914
  headers?: {
14869
14915
  /**
14870
14916
  * Idempotency-Key
@@ -14878,9 +14924,9 @@ export type OpUpdateJournalEntryData = {
14878
14924
  graph_id: string;
14879
14925
  };
14880
14926
  query?: never;
14881
- url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
14927
+ url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
14882
14928
  };
14883
- export type OpUpdateJournalEntryErrors = {
14929
+ export type OpCreateClosingEntryErrors = {
14884
14930
  /**
14885
14931
  * Invalid request payload
14886
14932
  */
@@ -14914,16 +14960,16 @@ export type OpUpdateJournalEntryErrors = {
14914
14960
  */
14915
14961
  500: unknown;
14916
14962
  };
14917
- export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
14918
- export type OpUpdateJournalEntryResponses = {
14963
+ export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
14964
+ export type OpCreateClosingEntryResponses = {
14919
14965
  /**
14920
14966
  * Successful Response
14921
14967
  */
14922
14968
  200: OperationEnvelope;
14923
14969
  };
14924
- export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
14925
- export type OpDeleteJournalEntryData = {
14926
- body: DeleteJournalEntryRequest;
14970
+ export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
14971
+ export type OpCreateManualClosingEntryData = {
14972
+ body: CreateManualClosingEntryRequest;
14927
14973
  headers?: {
14928
14974
  /**
14929
14975
  * Idempotency-Key
@@ -14937,9 +14983,9 @@ export type OpDeleteJournalEntryData = {
14937
14983
  graph_id: string;
14938
14984
  };
14939
14985
  query?: never;
14940
- url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
14986
+ url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
14941
14987
  };
14942
- export type OpDeleteJournalEntryErrors = {
14988
+ export type OpCreateManualClosingEntryErrors = {
14943
14989
  /**
14944
14990
  * Invalid request payload
14945
14991
  */
@@ -14973,16 +15019,16 @@ export type OpDeleteJournalEntryErrors = {
14973
15019
  */
14974
15020
  500: unknown;
14975
15021
  };
14976
- export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
14977
- export type OpDeleteJournalEntryResponses = {
15022
+ export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
15023
+ export type OpCreateManualClosingEntryResponses = {
14978
15024
  /**
14979
15025
  * Successful Response
14980
15026
  */
14981
15027
  200: OperationEnvelope;
14982
15028
  };
14983
- export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
14984
- export type OpReverseJournalEntryData = {
14985
- body: ReverseJournalEntryRequest;
15029
+ export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
15030
+ export type OpUpdateScheduleData = {
15031
+ body: UpdateScheduleRequest;
14986
15032
  headers?: {
14987
15033
  /**
14988
15034
  * Idempotency-Key
@@ -14996,9 +15042,9 @@ export type OpReverseJournalEntryData = {
14996
15042
  graph_id: string;
14997
15043
  };
14998
15044
  query?: never;
14999
- url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
15045
+ url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
15000
15046
  };
15001
- export type OpReverseJournalEntryErrors = {
15047
+ export type OpUpdateScheduleErrors = {
15002
15048
  /**
15003
15049
  * Invalid request payload
15004
15050
  */
@@ -15032,16 +15078,16 @@ export type OpReverseJournalEntryErrors = {
15032
15078
  */
15033
15079
  500: unknown;
15034
15080
  };
15035
- export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
15036
- export type OpReverseJournalEntryResponses = {
15081
+ export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
15082
+ export type OpUpdateScheduleResponses = {
15037
15083
  /**
15038
15084
  * Successful Response
15039
15085
  */
15040
15086
  200: OperationEnvelope;
15041
15087
  };
15042
- export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
15043
- export type OpUpdateScheduleData = {
15044
- body: UpdateScheduleRequest;
15088
+ export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
15089
+ export type OpDeleteScheduleData = {
15090
+ body: DeleteScheduleRequest;
15045
15091
  headers?: {
15046
15092
  /**
15047
15093
  * Idempotency-Key
@@ -15055,9 +15101,9 @@ export type OpUpdateScheduleData = {
15055
15101
  graph_id: string;
15056
15102
  };
15057
15103
  query?: never;
15058
- url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
15104
+ url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
15059
15105
  };
15060
- export type OpUpdateScheduleErrors = {
15106
+ export type OpDeleteScheduleErrors = {
15061
15107
  /**
15062
15108
  * Invalid request payload
15063
15109
  */
@@ -15091,16 +15137,16 @@ export type OpUpdateScheduleErrors = {
15091
15137
  */
15092
15138
  500: unknown;
15093
15139
  };
15094
- export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
15095
- export type OpUpdateScheduleResponses = {
15140
+ export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
15141
+ export type OpDeleteScheduleResponses = {
15096
15142
  /**
15097
15143
  * Successful Response
15098
15144
  */
15099
15145
  200: OperationEnvelope;
15100
15146
  };
15101
- export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
15102
- export type OpDeleteScheduleData = {
15103
- body: DeleteScheduleRequest;
15147
+ export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
15148
+ export type OpCreateMappingAssociationData = {
15149
+ body: CreateMappingAssociationOperation;
15104
15150
  headers?: {
15105
15151
  /**
15106
15152
  * Idempotency-Key
@@ -15114,9 +15160,9 @@ export type OpDeleteScheduleData = {
15114
15160
  graph_id: string;
15115
15161
  };
15116
15162
  query?: never;
15117
- url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
15163
+ url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
15118
15164
  };
15119
- export type OpDeleteScheduleErrors = {
15165
+ export type OpCreateMappingAssociationErrors = {
15120
15166
  /**
15121
15167
  * Invalid request payload
15122
15168
  */
@@ -15150,14 +15196,14 @@ export type OpDeleteScheduleErrors = {
15150
15196
  */
15151
15197
  500: unknown;
15152
15198
  };
15153
- export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
15154
- export type OpDeleteScheduleResponses = {
15199
+ export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
15200
+ export type OpCreateMappingAssociationResponses = {
15155
15201
  /**
15156
15202
  * Successful Response
15157
15203
  */
15158
15204
  200: OperationEnvelope;
15159
15205
  };
15160
- export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
15206
+ export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
15161
15207
  export type OpAutoMapElementsData = {
15162
15208
  body: AutoMapElementsOperation;
15163
15209
  headers?: {
@@ -15748,6 +15794,65 @@ export type OpRemovePublishListMemberResponses = {
15748
15794
  200: OperationEnvelope;
15749
15795
  };
15750
15796
  export type OpRemovePublishListMemberResponse = OpRemovePublishListMemberResponses[keyof OpRemovePublishListMemberResponses];
15797
+ export type OpLiveFinancialStatementData = {
15798
+ body: LiveFinancialStatementRequest;
15799
+ headers?: {
15800
+ /**
15801
+ * Idempotency-Key
15802
+ */
15803
+ 'Idempotency-Key'?: string | null;
15804
+ };
15805
+ path: {
15806
+ /**
15807
+ * Graph Id
15808
+ */
15809
+ graph_id: string;
15810
+ };
15811
+ query?: never;
15812
+ url: '/extensions/roboledger/{graph_id}/operations/live-financial-statement';
15813
+ };
15814
+ export type OpLiveFinancialStatementErrors = {
15815
+ /**
15816
+ * Invalid request
15817
+ */
15818
+ 400: ErrorResponse;
15819
+ /**
15820
+ * Authentication required
15821
+ */
15822
+ 401: ErrorResponse;
15823
+ /**
15824
+ * Access denied
15825
+ */
15826
+ 403: ErrorResponse;
15827
+ /**
15828
+ * Resource not found
15829
+ */
15830
+ 404: ErrorResponse;
15831
+ /**
15832
+ * Idempotency-Key conflict — key reused with different body
15833
+ */
15834
+ 409: ErrorResponse;
15835
+ /**
15836
+ * Validation Error
15837
+ */
15838
+ 422: HttpValidationError;
15839
+ /**
15840
+ * Rate limit exceeded
15841
+ */
15842
+ 429: ErrorResponse;
15843
+ /**
15844
+ * Internal server error
15845
+ */
15846
+ 500: ErrorResponse;
15847
+ };
15848
+ export type OpLiveFinancialStatementError = OpLiveFinancialStatementErrors[keyof OpLiveFinancialStatementErrors];
15849
+ export type OpLiveFinancialStatementResponses = {
15850
+ /**
15851
+ * Successful Response
15852
+ */
15853
+ 200: OperationEnvelope;
15854
+ };
15855
+ export type OpLiveFinancialStatementResponse = OpLiveFinancialStatementResponses[keyof OpLiveFinancialStatementResponses];
15751
15856
  export type OpBuildFactGridData = {
15752
15857
  body: CreateViewRequest;
15753
15858
  headers?: {
@@ -15807,8 +15912,8 @@ export type OpBuildFactGridResponses = {
15807
15912
  200: OperationEnvelope;
15808
15913
  };
15809
15914
  export type OpBuildFactGridResponse = OpBuildFactGridResponses[keyof OpBuildFactGridResponses];
15810
- export type OpCreatePortfolioData = {
15811
- body: CreatePortfolioRequest;
15915
+ export type OpFinancialStatementAnalysisData = {
15916
+ body: FinancialStatementAnalysisRequest;
15812
15917
  headers?: {
15813
15918
  /**
15814
15919
  * Idempotency-Key
@@ -15822,9 +15927,9 @@ export type OpCreatePortfolioData = {
15822
15927
  graph_id: string;
15823
15928
  };
15824
15929
  query?: never;
15825
- url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
15930
+ url: '/extensions/roboledger/{graph_id}/operations/financial-statement-analysis';
15826
15931
  };
15827
- export type OpCreatePortfolioErrors = {
15932
+ export type OpFinancialStatementAnalysisErrors = {
15828
15933
  /**
15829
15934
  * Invalid request
15830
15935
  */
@@ -15858,6 +15963,65 @@ export type OpCreatePortfolioErrors = {
15858
15963
  */
15859
15964
  500: ErrorResponse;
15860
15965
  };
15966
+ export type OpFinancialStatementAnalysisError = OpFinancialStatementAnalysisErrors[keyof OpFinancialStatementAnalysisErrors];
15967
+ export type OpFinancialStatementAnalysisResponses = {
15968
+ /**
15969
+ * Successful Response
15970
+ */
15971
+ 200: OperationEnvelope;
15972
+ };
15973
+ export type OpFinancialStatementAnalysisResponse = OpFinancialStatementAnalysisResponses[keyof OpFinancialStatementAnalysisResponses];
15974
+ export type OpCreatePortfolioData = {
15975
+ body: CreatePortfolioRequest;
15976
+ headers?: {
15977
+ /**
15978
+ * Idempotency-Key
15979
+ */
15980
+ 'Idempotency-Key'?: string | null;
15981
+ };
15982
+ path: {
15983
+ /**
15984
+ * Graph Id
15985
+ */
15986
+ graph_id: string;
15987
+ };
15988
+ query?: never;
15989
+ url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
15990
+ };
15991
+ export type OpCreatePortfolioErrors = {
15992
+ /**
15993
+ * Invalid request payload
15994
+ */
15995
+ 400: OperationError;
15996
+ /**
15997
+ * Unauthorized — missing or invalid credentials
15998
+ */
15999
+ 401: unknown;
16000
+ /**
16001
+ * Forbidden — caller cannot access this graph
16002
+ */
16003
+ 403: unknown;
16004
+ /**
16005
+ * Resource not found (graph, ledger, report, etc.)
16006
+ */
16007
+ 404: OperationError;
16008
+ /**
16009
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
16010
+ */
16011
+ 409: OperationError;
16012
+ /**
16013
+ * Validation Error
16014
+ */
16015
+ 422: HttpValidationError;
16016
+ /**
16017
+ * Rate limit exceeded
16018
+ */
16019
+ 429: unknown;
16020
+ /**
16021
+ * Internal error
16022
+ */
16023
+ 500: unknown;
16024
+ };
15861
16025
  export type OpCreatePortfolioError = OpCreatePortfolioErrors[keyof OpCreatePortfolioErrors];
15862
16026
  export type OpCreatePortfolioResponses = {
15863
16027
  /**
@@ -15885,25 +16049,25 @@ export type OpUpdatePortfolioData = {
15885
16049
  };
15886
16050
  export type OpUpdatePortfolioErrors = {
15887
16051
  /**
15888
- * Invalid request
16052
+ * Invalid request payload
15889
16053
  */
15890
- 400: ErrorResponse;
16054
+ 400: OperationError;
15891
16055
  /**
15892
- * Authentication required
16056
+ * Unauthorized — missing or invalid credentials
15893
16057
  */
15894
- 401: ErrorResponse;
16058
+ 401: unknown;
15895
16059
  /**
15896
- * Access denied
16060
+ * Forbidden — caller cannot access this graph
15897
16061
  */
15898
- 403: ErrorResponse;
16062
+ 403: unknown;
15899
16063
  /**
15900
- * Resource not found
16064
+ * Resource not found (graph, ledger, report, etc.)
15901
16065
  */
15902
- 404: ErrorResponse;
16066
+ 404: OperationError;
15903
16067
  /**
15904
- * Idempotency-Key conflict — key reused with different body
16068
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15905
16069
  */
15906
- 409: ErrorResponse;
16070
+ 409: OperationError;
15907
16071
  /**
15908
16072
  * Validation Error
15909
16073
  */
@@ -15911,11 +16075,11 @@ export type OpUpdatePortfolioErrors = {
15911
16075
  /**
15912
16076
  * Rate limit exceeded
15913
16077
  */
15914
- 429: ErrorResponse;
16078
+ 429: unknown;
15915
16079
  /**
15916
- * Internal server error
16080
+ * Internal error
15917
16081
  */
15918
- 500: ErrorResponse;
16082
+ 500: unknown;
15919
16083
  };
15920
16084
  export type OpUpdatePortfolioError = OpUpdatePortfolioErrors[keyof OpUpdatePortfolioErrors];
15921
16085
  export type OpUpdatePortfolioResponses = {
@@ -15944,25 +16108,25 @@ export type OpDeletePortfolioData = {
15944
16108
  };
15945
16109
  export type OpDeletePortfolioErrors = {
15946
16110
  /**
15947
- * Invalid request
16111
+ * Invalid request payload
15948
16112
  */
15949
- 400: ErrorResponse;
16113
+ 400: OperationError;
15950
16114
  /**
15951
- * Authentication required
16115
+ * Unauthorized — missing or invalid credentials
15952
16116
  */
15953
- 401: ErrorResponse;
16117
+ 401: unknown;
15954
16118
  /**
15955
- * Access denied
16119
+ * Forbidden — caller cannot access this graph
15956
16120
  */
15957
- 403: ErrorResponse;
16121
+ 403: unknown;
15958
16122
  /**
15959
- * Resource not found
16123
+ * Resource not found (graph, ledger, report, etc.)
15960
16124
  */
15961
- 404: ErrorResponse;
16125
+ 404: OperationError;
15962
16126
  /**
15963
- * Idempotency-Key conflict — key reused with different body
16127
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15964
16128
  */
15965
- 409: ErrorResponse;
16129
+ 409: OperationError;
15966
16130
  /**
15967
16131
  * Validation Error
15968
16132
  */
@@ -15970,11 +16134,11 @@ export type OpDeletePortfolioErrors = {
15970
16134
  /**
15971
16135
  * Rate limit exceeded
15972
16136
  */
15973
- 429: ErrorResponse;
16137
+ 429: unknown;
15974
16138
  /**
15975
- * Internal server error
16139
+ * Internal error
15976
16140
  */
15977
- 500: ErrorResponse;
16141
+ 500: unknown;
15978
16142
  };
15979
16143
  export type OpDeletePortfolioError = OpDeletePortfolioErrors[keyof OpDeletePortfolioErrors];
15980
16144
  export type OpDeletePortfolioResponses = {
@@ -16003,25 +16167,25 @@ export type OpCreateSecurityData = {
16003
16167
  };
16004
16168
  export type OpCreateSecurityErrors = {
16005
16169
  /**
16006
- * Invalid request
16170
+ * Invalid request payload
16007
16171
  */
16008
- 400: ErrorResponse;
16172
+ 400: OperationError;
16009
16173
  /**
16010
- * Authentication required
16174
+ * Unauthorized — missing or invalid credentials
16011
16175
  */
16012
- 401: ErrorResponse;
16176
+ 401: unknown;
16013
16177
  /**
16014
- * Access denied
16178
+ * Forbidden — caller cannot access this graph
16015
16179
  */
16016
- 403: ErrorResponse;
16180
+ 403: unknown;
16017
16181
  /**
16018
- * Resource not found
16182
+ * Resource not found (graph, ledger, report, etc.)
16019
16183
  */
16020
- 404: ErrorResponse;
16184
+ 404: OperationError;
16021
16185
  /**
16022
- * Idempotency-Key conflict — key reused with different body
16186
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
16023
16187
  */
16024
- 409: ErrorResponse;
16188
+ 409: OperationError;
16025
16189
  /**
16026
16190
  * Validation Error
16027
16191
  */
@@ -16029,11 +16193,11 @@ export type OpCreateSecurityErrors = {
16029
16193
  /**
16030
16194
  * Rate limit exceeded
16031
16195
  */
16032
- 429: ErrorResponse;
16196
+ 429: unknown;
16033
16197
  /**
16034
- * Internal server error
16198
+ * Internal error
16035
16199
  */
16036
- 500: ErrorResponse;
16200
+ 500: unknown;
16037
16201
  };
16038
16202
  export type OpCreateSecurityError = OpCreateSecurityErrors[keyof OpCreateSecurityErrors];
16039
16203
  export type OpCreateSecurityResponses = {
@@ -16062,25 +16226,25 @@ export type OpUpdateSecurityData = {
16062
16226
  };
16063
16227
  export type OpUpdateSecurityErrors = {
16064
16228
  /**
16065
- * Invalid request
16229
+ * Invalid request payload
16066
16230
  */
16067
- 400: ErrorResponse;
16231
+ 400: OperationError;
16068
16232
  /**
16069
- * Authentication required
16233
+ * Unauthorized — missing or invalid credentials
16070
16234
  */
16071
- 401: ErrorResponse;
16235
+ 401: unknown;
16072
16236
  /**
16073
- * Access denied
16237
+ * Forbidden — caller cannot access this graph
16074
16238
  */
16075
- 403: ErrorResponse;
16239
+ 403: unknown;
16076
16240
  /**
16077
- * Resource not found
16241
+ * Resource not found (graph, ledger, report, etc.)
16078
16242
  */
16079
- 404: ErrorResponse;
16243
+ 404: OperationError;
16080
16244
  /**
16081
- * Idempotency-Key conflict — key reused with different body
16245
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
16082
16246
  */
16083
- 409: ErrorResponse;
16247
+ 409: OperationError;
16084
16248
  /**
16085
16249
  * Validation Error
16086
16250
  */
@@ -16088,11 +16252,11 @@ export type OpUpdateSecurityErrors = {
16088
16252
  /**
16089
16253
  * Rate limit exceeded
16090
16254
  */
16091
- 429: ErrorResponse;
16255
+ 429: unknown;
16092
16256
  /**
16093
- * Internal server error
16257
+ * Internal error
16094
16258
  */
16095
- 500: ErrorResponse;
16259
+ 500: unknown;
16096
16260
  };
16097
16261
  export type OpUpdateSecurityError = OpUpdateSecurityErrors[keyof OpUpdateSecurityErrors];
16098
16262
  export type OpUpdateSecurityResponses = {
@@ -16121,25 +16285,25 @@ export type OpDeleteSecurityData = {
16121
16285
  };
16122
16286
  export type OpDeleteSecurityErrors = {
16123
16287
  /**
16124
- * Invalid request
16288
+ * Invalid request payload
16125
16289
  */
16126
- 400: ErrorResponse;
16290
+ 400: OperationError;
16127
16291
  /**
16128
- * Authentication required
16292
+ * Unauthorized — missing or invalid credentials
16129
16293
  */
16130
- 401: ErrorResponse;
16294
+ 401: unknown;
16131
16295
  /**
16132
- * Access denied
16296
+ * Forbidden — caller cannot access this graph
16133
16297
  */
16134
- 403: ErrorResponse;
16298
+ 403: unknown;
16135
16299
  /**
16136
- * Resource not found
16300
+ * Resource not found (graph, ledger, report, etc.)
16137
16301
  */
16138
- 404: ErrorResponse;
16302
+ 404: OperationError;
16139
16303
  /**
16140
- * Idempotency-Key conflict — key reused with different body
16304
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
16141
16305
  */
16142
- 409: ErrorResponse;
16306
+ 409: OperationError;
16143
16307
  /**
16144
16308
  * Validation Error
16145
16309
  */
@@ -16147,11 +16311,11 @@ export type OpDeleteSecurityErrors = {
16147
16311
  /**
16148
16312
  * Rate limit exceeded
16149
16313
  */
16150
- 429: ErrorResponse;
16314
+ 429: unknown;
16151
16315
  /**
16152
- * Internal server error
16316
+ * Internal error
16153
16317
  */
16154
- 500: ErrorResponse;
16318
+ 500: unknown;
16155
16319
  };
16156
16320
  export type OpDeleteSecurityError = OpDeleteSecurityErrors[keyof OpDeleteSecurityErrors];
16157
16321
  export type OpDeleteSecurityResponses = {
@@ -16180,25 +16344,25 @@ export type OpCreatePositionData = {
16180
16344
  };
16181
16345
  export type OpCreatePositionErrors = {
16182
16346
  /**
16183
- * Invalid request
16347
+ * Invalid request payload
16184
16348
  */
16185
- 400: ErrorResponse;
16349
+ 400: OperationError;
16186
16350
  /**
16187
- * Authentication required
16351
+ * Unauthorized — missing or invalid credentials
16188
16352
  */
16189
- 401: ErrorResponse;
16353
+ 401: unknown;
16190
16354
  /**
16191
- * Access denied
16355
+ * Forbidden — caller cannot access this graph
16192
16356
  */
16193
- 403: ErrorResponse;
16357
+ 403: unknown;
16194
16358
  /**
16195
- * Resource not found
16359
+ * Resource not found (graph, ledger, report, etc.)
16196
16360
  */
16197
- 404: ErrorResponse;
16361
+ 404: OperationError;
16198
16362
  /**
16199
- * Idempotency-Key conflict — key reused with different body
16363
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
16200
16364
  */
16201
- 409: ErrorResponse;
16365
+ 409: OperationError;
16202
16366
  /**
16203
16367
  * Validation Error
16204
16368
  */
@@ -16206,11 +16370,11 @@ export type OpCreatePositionErrors = {
16206
16370
  /**
16207
16371
  * Rate limit exceeded
16208
16372
  */
16209
- 429: ErrorResponse;
16373
+ 429: unknown;
16210
16374
  /**
16211
- * Internal server error
16375
+ * Internal error
16212
16376
  */
16213
- 500: ErrorResponse;
16377
+ 500: unknown;
16214
16378
  };
16215
16379
  export type OpCreatePositionError = OpCreatePositionErrors[keyof OpCreatePositionErrors];
16216
16380
  export type OpCreatePositionResponses = {
@@ -16239,25 +16403,25 @@ export type OpUpdatePositionData = {
16239
16403
  };
16240
16404
  export type OpUpdatePositionErrors = {
16241
16405
  /**
16242
- * Invalid request
16406
+ * Invalid request payload
16243
16407
  */
16244
- 400: ErrorResponse;
16408
+ 400: OperationError;
16245
16409
  /**
16246
- * Authentication required
16410
+ * Unauthorized — missing or invalid credentials
16247
16411
  */
16248
- 401: ErrorResponse;
16412
+ 401: unknown;
16249
16413
  /**
16250
- * Access denied
16414
+ * Forbidden — caller cannot access this graph
16251
16415
  */
16252
- 403: ErrorResponse;
16416
+ 403: unknown;
16253
16417
  /**
16254
- * Resource not found
16418
+ * Resource not found (graph, ledger, report, etc.)
16255
16419
  */
16256
- 404: ErrorResponse;
16420
+ 404: OperationError;
16257
16421
  /**
16258
- * Idempotency-Key conflict — key reused with different body
16422
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
16259
16423
  */
16260
- 409: ErrorResponse;
16424
+ 409: OperationError;
16261
16425
  /**
16262
16426
  * Validation Error
16263
16427
  */
@@ -16265,11 +16429,11 @@ export type OpUpdatePositionErrors = {
16265
16429
  /**
16266
16430
  * Rate limit exceeded
16267
16431
  */
16268
- 429: ErrorResponse;
16432
+ 429: unknown;
16269
16433
  /**
16270
- * Internal server error
16434
+ * Internal error
16271
16435
  */
16272
- 500: ErrorResponse;
16436
+ 500: unknown;
16273
16437
  };
16274
16438
  export type OpUpdatePositionError = OpUpdatePositionErrors[keyof OpUpdatePositionErrors];
16275
16439
  export type OpUpdatePositionResponses = {
@@ -16298,25 +16462,25 @@ export type OpDeletePositionData = {
16298
16462
  };
16299
16463
  export type OpDeletePositionErrors = {
16300
16464
  /**
16301
- * Invalid request
16465
+ * Invalid request payload
16302
16466
  */
16303
- 400: ErrorResponse;
16467
+ 400: OperationError;
16304
16468
  /**
16305
- * Authentication required
16469
+ * Unauthorized — missing or invalid credentials
16306
16470
  */
16307
- 401: ErrorResponse;
16471
+ 401: unknown;
16308
16472
  /**
16309
- * Access denied
16473
+ * Forbidden — caller cannot access this graph
16310
16474
  */
16311
- 403: ErrorResponse;
16475
+ 403: unknown;
16312
16476
  /**
16313
- * Resource not found
16477
+ * Resource not found (graph, ledger, report, etc.)
16314
16478
  */
16315
- 404: ErrorResponse;
16479
+ 404: OperationError;
16316
16480
  /**
16317
- * Idempotency-Key conflict — key reused with different body
16481
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
16318
16482
  */
16319
- 409: ErrorResponse;
16483
+ 409: OperationError;
16320
16484
  /**
16321
16485
  * Validation Error
16322
16486
  */
@@ -16324,11 +16488,11 @@ export type OpDeletePositionErrors = {
16324
16488
  /**
16325
16489
  * Rate limit exceeded
16326
16490
  */
16327
- 429: ErrorResponse;
16491
+ 429: unknown;
16328
16492
  /**
16329
- * Internal server error
16493
+ * Internal error
16330
16494
  */
16331
- 500: ErrorResponse;
16495
+ 500: unknown;
16332
16496
  };
16333
16497
  export type OpDeletePositionError = OpDeletePositionErrors[keyof OpDeletePositionErrors];
16334
16498
  export type OpDeletePositionResponses = {