@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.
package/types.gen.ts CHANGED
@@ -967,46 +967,6 @@ export type BulkCreateAssociationsRequest = {
967
967
  associations: Array<BulkAssociationItem>;
968
968
  };
969
969
 
970
- /**
971
- * BulkDocumentUploadRequest
972
- *
973
- * Bulk upload multiple markdown documents.
974
- */
975
- export type BulkDocumentUploadRequest = {
976
- /**
977
- * Documents
978
- *
979
- * Documents to upload (max 50)
980
- */
981
- documents: Array<DocumentUploadRequest>;
982
- };
983
-
984
- /**
985
- * BulkDocumentUploadResponse
986
- *
987
- * Response from bulk document upload.
988
- */
989
- export type BulkDocumentUploadResponse = {
990
- /**
991
- * Total Documents
992
- */
993
- total_documents: number;
994
- /**
995
- * Total Sections Indexed
996
- */
997
- total_sections_indexed: number;
998
- /**
999
- * Results
1000
- */
1001
- results: Array<DocumentUploadResponse>;
1002
- /**
1003
- * Errors
1004
- */
1005
- errors?: Array<{
1006
- [key: string]: unknown;
1007
- }> | null;
1008
- };
1009
-
1010
970
  /**
1011
971
  * ChangeTierOp
1012
972
  *
@@ -1421,6 +1381,11 @@ export type CreateCheckoutRequest = {
1421
1381
 
1422
1382
  /**
1423
1383
  * CreateClosingEntryOperation
1384
+ *
1385
+ * CQRS-shaped body for `POST /operations/create-closing-entry`.
1386
+ *
1387
+ * `structure_id` moves into the body so REST + MCP share a single body
1388
+ * type via the registrar.
1424
1389
  */
1425
1390
  export type CreateClosingEntryOperation = {
1426
1391
  /**
@@ -1449,6 +1414,8 @@ export type CreateClosingEntryOperation = {
1449
1414
  memo?: string | null;
1450
1415
  /**
1451
1416
  * Structure Id
1417
+ *
1418
+ * Schedule structure the closing entry is derived from.
1452
1419
  */
1453
1420
  structure_id: string;
1454
1421
  };
@@ -1501,11 +1468,7 @@ export type CreateElementRequest = {
1501
1468
  /**
1502
1469
  * Classification
1503
1470
  */
1504
- classification: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense';
1505
- /**
1506
- * Sub Classification
1507
- */
1508
- sub_classification?: string | null;
1471
+ classification: 'asset' | 'contraAsset' | 'liability' | 'contraLiability' | 'equity' | 'contraEquity' | 'temporaryEquity' | 'revenue' | 'expense' | 'expenseReversal' | 'gain' | 'loss' | 'comprehensiveIncome' | 'investmentByOwners' | 'distributionToOwners';
1509
1472
  /**
1510
1473
  * Balance Type
1511
1474
  */
@@ -1533,7 +1496,7 @@ export type CreateElementRequest = {
1533
1496
  /**
1534
1497
  * Source
1535
1498
  */
1536
- source?: 'native' | 'sfac6' | 'us-gaap' | 'ifrs' | 'quickbooks' | 'xero' | 'plaid' | 'import';
1499
+ source?: 'native' | 'fac' | 'rs-gaap' | 'us-gaap' | 'ifrs' | 'quickbooks' | 'xero' | 'plaid' | 'import';
1537
1500
  /**
1538
1501
  * Currency
1539
1502
  */
@@ -1671,6 +1634,11 @@ export type CreateManualClosingEntryRequest = {
1671
1634
 
1672
1635
  /**
1673
1636
  * CreateMappingAssociationOperation
1637
+ *
1638
+ * CQRS-shaped body for `POST /operations/create-mapping-association`.
1639
+ *
1640
+ * Bundles the target mapping structure's `mapping_id` with the association
1641
+ * payload so REST + MCP share a single body type via the registrar.
1674
1642
  */
1675
1643
  export type CreateMappingAssociationOperation = {
1676
1644
  /**
@@ -1684,7 +1652,7 @@ export type CreateMappingAssociationOperation = {
1684
1652
  /**
1685
1653
  * Association Type
1686
1654
  */
1687
- association_type?: 'presentation' | 'calculation' | 'mapping';
1655
+ association_type?: 'presentation' | 'calculation' | 'mapping' | 'equivalence';
1688
1656
  /**
1689
1657
  * Order Value
1690
1658
  */
@@ -1703,6 +1671,8 @@ export type CreateMappingAssociationOperation = {
1703
1671
  suggested_by?: string | null;
1704
1672
  /**
1705
1673
  * Mapping Id
1674
+ *
1675
+ * Target mapping structure ID.
1706
1676
  */
1707
1677
  mapping_id: string;
1708
1678
  };
@@ -2716,20 +2686,28 @@ export type DeleteMappingAssociationOperation = {
2716
2686
 
2717
2687
  /**
2718
2688
  * DeletePortfolioOperation
2689
+ *
2690
+ * CQRS body for `POST /operations/delete-portfolio`.
2719
2691
  */
2720
2692
  export type DeletePortfolioOperation = {
2721
2693
  /**
2722
2694
  * Portfolio Id
2695
+ *
2696
+ * Target portfolio ID.
2723
2697
  */
2724
2698
  portfolio_id: string;
2725
2699
  };
2726
2700
 
2727
2701
  /**
2728
2702
  * DeletePositionOperation
2703
+ *
2704
+ * CQRS body for `POST /operations/delete-position` (soft delete).
2729
2705
  */
2730
2706
  export type DeletePositionOperation = {
2731
2707
  /**
2732
2708
  * Position Id
2709
+ *
2710
+ * Target position ID.
2733
2711
  */
2734
2712
  position_id: string;
2735
2713
  };
@@ -2773,10 +2751,14 @@ export type DeleteScheduleRequest = {
2773
2751
 
2774
2752
  /**
2775
2753
  * DeleteSecurityOperation
2754
+ *
2755
+ * CQRS body for `POST /operations/delete-security` (soft delete).
2776
2756
  */
2777
2757
  export type DeleteSecurityOperation = {
2778
2758
  /**
2779
2759
  * Security Id
2760
+ *
2761
+ * Target security ID.
2780
2762
  */
2781
2763
  security_id: string;
2782
2764
  };
@@ -3519,6 +3501,48 @@ export type FileUploadResponse = {
3519
3501
  s3_key: string;
3520
3502
  };
3521
3503
 
3504
+ /**
3505
+ * FinancialStatementAnalysisRequest
3506
+ *
3507
+ * Request for financial-statement-analysis (graph-backed Cypher).
3508
+ */
3509
+ export type FinancialStatementAnalysisRequest = {
3510
+ /**
3511
+ * Statement Type
3512
+ *
3513
+ * income_statement | balance_sheet | cash_flow_statement | equity_statement
3514
+ */
3515
+ statement_type: string;
3516
+ /**
3517
+ * Ticker
3518
+ *
3519
+ * Company ticker (required on shared-repo graphs, ignored otherwise)
3520
+ */
3521
+ ticker?: string | null;
3522
+ /**
3523
+ * Report Id
3524
+ *
3525
+ * Specific report identifier. If omitted, auto-resolves latest by ticker + filters.
3526
+ */
3527
+ report_id?: string | null;
3528
+ /**
3529
+ * Fiscal Year
3530
+ *
3531
+ * Filter by fiscal year focus when auto-resolving the report
3532
+ */
3533
+ fiscal_year?: number | null;
3534
+ /**
3535
+ * Period Type
3536
+ *
3537
+ * annual | quarterly | instant
3538
+ */
3539
+ period_type?: string | null;
3540
+ /**
3541
+ * Limit
3542
+ */
3543
+ limit?: number;
3544
+ };
3545
+
3522
3546
  /**
3523
3547
  * ForgotPasswordRequest
3524
3548
  *
@@ -4858,6 +4882,50 @@ export type ListTableFilesResponse = {
4858
4882
  total_size_bytes: number;
4859
4883
  };
4860
4884
 
4885
+ /**
4886
+ * LiveFinancialStatementRequest
4887
+ *
4888
+ * Request for live-financial-statement (OLTP, entity graphs only).
4889
+ */
4890
+ export type LiveFinancialStatementRequest = {
4891
+ /**
4892
+ * Statement Type
4893
+ *
4894
+ * income_statement | balance_sheet | equity_statement
4895
+ */
4896
+ statement_type: string;
4897
+ /**
4898
+ * Period Start
4899
+ *
4900
+ * Explicit window start. Overrides period_type/fiscal_year.
4901
+ */
4902
+ period_start?: string | null;
4903
+ /**
4904
+ * Period End
4905
+ *
4906
+ * Explicit window end. Overrides period_type/fiscal_year.
4907
+ */
4908
+ period_end?: string | null;
4909
+ /**
4910
+ * Period Type
4911
+ *
4912
+ * annual | quarterly | instant (ignored when dates supplied)
4913
+ */
4914
+ period_type?: string | null;
4915
+ /**
4916
+ * Fiscal Year
4917
+ *
4918
+ * Fiscal year for annual window (anchored on FiscalCalendar)
4919
+ */
4920
+ fiscal_year?: number | null;
4921
+ /**
4922
+ * Limit
4923
+ *
4924
+ * Max fact rows returned
4925
+ */
4926
+ limit?: number;
4927
+ };
4928
+
4861
4929
  /**
4862
4930
  * LoginRequest
4863
4931
  *
@@ -7209,6 +7277,13 @@ export type TransactionSummaryResponse = {
7209
7277
 
7210
7278
  /**
7211
7279
  * TruncateScheduleOperation
7280
+ *
7281
+ * CQRS-shaped body for `POST /operations/truncate-schedule`.
7282
+ *
7283
+ * Bundles the target schedule's `structure_id` with the update payload so
7284
+ * the single-body signature matches the registrar/MCP contract. The REST
7285
+ * handler, GraphQL resolver, and MCP tool all resolve to the same
7286
+ * `cmd_truncate_schedule(session, body, created_by=...)`.
7212
7287
  */
7213
7288
  export type TruncateScheduleOperation = {
7214
7289
  /**
@@ -7225,6 +7300,8 @@ export type TruncateScheduleOperation = {
7225
7300
  reason: string;
7226
7301
  /**
7227
7302
  * Structure Id
7303
+ *
7304
+ * Target schedule structure ID.
7228
7305
  */
7229
7306
  structure_id: string;
7230
7307
  };
@@ -7330,6 +7407,13 @@ export type UpdateAssociationRequest = {
7330
7407
  * immutable. `parent_id` honors `model_dump(exclude_unset=True)` semantics:
7331
7408
  * omit the field to leave unchanged, pass `null` to clear the parent
7332
7409
  * (make root).
7410
+ *
7411
+ * ``classification`` updates the element's primary FASB
7412
+ * elementsOfFinancialStatements assignment (in ``element_classifications``,
7413
+ * not a direct column on ``elements``). Omit to leave unchanged. Passing a
7414
+ * value replaces the current primary EFS assignment; there is no
7415
+ * set-to-null semantics (use the UI/admin path for full classification
7416
+ * teardown — here we only support correction of a misclassified account).
7333
7417
  */
7334
7418
  export type UpdateElementRequest = {
7335
7419
  /**
@@ -7348,14 +7432,6 @@ export type UpdateElementRequest = {
7348
7432
  * Description
7349
7433
  */
7350
7434
  description?: string | null;
7351
- /**
7352
- * Classification
7353
- */
7354
- classification?: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense' | null;
7355
- /**
7356
- * Sub Classification
7357
- */
7358
- sub_classification?: string | null;
7359
7435
  /**
7360
7436
  * Balance Type
7361
7437
  */
@@ -7372,6 +7448,10 @@ export type UpdateElementRequest = {
7372
7448
  * Currency
7373
7449
  */
7374
7450
  currency?: string | null;
7451
+ /**
7452
+ * Classification
7453
+ */
7454
+ classification?: 'asset' | 'contraAsset' | 'liability' | 'contraLiability' | 'equity' | 'contraEquity' | 'temporaryEquity' | 'revenue' | 'expense' | 'expenseReversal' | 'gain' | 'loss' | 'comprehensiveIncome' | 'investmentByOwners' | 'distributionToOwners' | null;
7375
7455
  };
7376
7456
 
7377
7457
  /**
@@ -7554,6 +7634,11 @@ export type UpdatePasswordRequest = {
7554
7634
 
7555
7635
  /**
7556
7636
  * UpdatePortfolioOperation
7637
+ *
7638
+ * CQRS body for `POST /operations/update-portfolio`.
7639
+ *
7640
+ * Folds `portfolio_id` into the payload so REST + MCP share one body
7641
+ * type via the registrar. Unset fields are ignored (partial update).
7557
7642
  */
7558
7643
  export type UpdatePortfolioOperation = {
7559
7644
  /**
@@ -7578,12 +7663,16 @@ export type UpdatePortfolioOperation = {
7578
7663
  base_currency?: string | null;
7579
7664
  /**
7580
7665
  * Portfolio Id
7666
+ *
7667
+ * Target portfolio ID.
7581
7668
  */
7582
7669
  portfolio_id: string;
7583
7670
  };
7584
7671
 
7585
7672
  /**
7586
7673
  * UpdatePositionOperation
7674
+ *
7675
+ * CQRS body for `POST /operations/update-position`.
7587
7676
  */
7588
7677
  export type UpdatePositionOperation = {
7589
7678
  /**
@@ -7628,6 +7717,8 @@ export type UpdatePositionOperation = {
7628
7717
  notes?: string | null;
7629
7718
  /**
7630
7719
  * Position Id
7720
+ *
7721
+ * Target position ID.
7631
7722
  */
7632
7723
  position_id: string;
7633
7724
  };
@@ -7679,6 +7770,8 @@ export type UpdateScheduleRequest = {
7679
7770
 
7680
7771
  /**
7681
7772
  * UpdateSecurityOperation
7773
+ *
7774
+ * CQRS body for `POST /operations/update-security`.
7682
7775
  */
7683
7776
  export type UpdateSecurityOperation = {
7684
7777
  /**
@@ -7721,6 +7814,8 @@ export type UpdateSecurityOperation = {
7721
7814
  outstanding_shares?: number | null;
7722
7815
  /**
7723
7816
  * Security Id
7817
+ *
7818
+ * Target security ID.
7724
7819
  */
7725
7820
  security_id: string;
7726
7821
  };
@@ -12255,60 +12350,6 @@ export type UpdateDocumentResponses = {
12255
12350
 
12256
12351
  export type UpdateDocumentResponse = UpdateDocumentResponses[keyof UpdateDocumentResponses];
12257
12352
 
12258
- export type UploadDocumentsBulkData = {
12259
- body: BulkDocumentUploadRequest;
12260
- path: {
12261
- /**
12262
- * Graph Id
12263
- */
12264
- graph_id: string;
12265
- };
12266
- query?: never;
12267
- url: '/v1/graphs/{graph_id}/documents/bulk';
12268
- };
12269
-
12270
- export type UploadDocumentsBulkErrors = {
12271
- /**
12272
- * Invalid request
12273
- */
12274
- 400: ErrorResponse;
12275
- /**
12276
- * Authentication required
12277
- */
12278
- 401: ErrorResponse;
12279
- /**
12280
- * Access denied
12281
- */
12282
- 403: ErrorResponse;
12283
- /**
12284
- * Resource not found
12285
- */
12286
- 404: ErrorResponse;
12287
- /**
12288
- * Validation Error
12289
- */
12290
- 422: HttpValidationError;
12291
- /**
12292
- * Rate limit exceeded
12293
- */
12294
- 429: ErrorResponse;
12295
- /**
12296
- * Internal server error
12297
- */
12298
- 500: ErrorResponse;
12299
- };
12300
-
12301
- export type UploadDocumentsBulkError = UploadDocumentsBulkErrors[keyof UploadDocumentsBulkErrors];
12302
-
12303
- export type UploadDocumentsBulkResponses = {
12304
- /**
12305
- * Successful Response
12306
- */
12307
- 200: BulkDocumentUploadResponse;
12308
- };
12309
-
12310
- export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
12311
-
12312
12353
  export type OpCreateSubgraphData = {
12313
12354
  body: CreateSubgraphRequest;
12314
12355
  headers?: {
@@ -14435,8 +14476,8 @@ export type OpReopenPeriodResponses = {
14435
14476
 
14436
14477
  export type OpReopenPeriodResponse = OpReopenPeriodResponses[keyof OpReopenPeriodResponses];
14437
14478
 
14438
- export type OpCreateScheduleData = {
14439
- body: CreateScheduleRequest;
14479
+ export type OpCreateTaxonomyData = {
14480
+ body: CreateTaxonomyRequest;
14440
14481
  headers?: {
14441
14482
  /**
14442
14483
  * Idempotency-Key
@@ -14450,10 +14491,10 @@ export type OpCreateScheduleData = {
14450
14491
  graph_id: string;
14451
14492
  };
14452
14493
  query?: never;
14453
- url: '/extensions/roboledger/{graph_id}/operations/create-schedule';
14494
+ url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy';
14454
14495
  };
14455
14496
 
14456
- export type OpCreateScheduleErrors = {
14497
+ export type OpCreateTaxonomyErrors = {
14457
14498
  /**
14458
14499
  * Invalid request
14459
14500
  */
@@ -14488,19 +14529,19 @@ export type OpCreateScheduleErrors = {
14488
14529
  500: ErrorResponse;
14489
14530
  };
14490
14531
 
14491
- export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
14532
+ export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
14492
14533
 
14493
- export type OpCreateScheduleResponses = {
14534
+ export type OpCreateTaxonomyResponses = {
14494
14535
  /**
14495
14536
  * Successful Response
14496
14537
  */
14497
14538
  200: OperationEnvelope;
14498
14539
  };
14499
14540
 
14500
- export type OpCreateScheduleResponse = OpCreateScheduleResponses[keyof OpCreateScheduleResponses];
14541
+ export type OpCreateTaxonomyResponse = OpCreateTaxonomyResponses[keyof OpCreateTaxonomyResponses];
14501
14542
 
14502
- export type OpTruncateScheduleData = {
14503
- body: TruncateScheduleOperation;
14543
+ export type OpCreateStructureData = {
14544
+ body: CreateStructureRequest;
14504
14545
  headers?: {
14505
14546
  /**
14506
14547
  * Idempotency-Key
@@ -14514,10 +14555,10 @@ export type OpTruncateScheduleData = {
14514
14555
  graph_id: string;
14515
14556
  };
14516
14557
  query?: never;
14517
- url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
14558
+ url: '/extensions/roboledger/{graph_id}/operations/create-structure';
14518
14559
  };
14519
14560
 
14520
- export type OpTruncateScheduleErrors = {
14561
+ export type OpCreateStructureErrors = {
14521
14562
  /**
14522
14563
  * Invalid request
14523
14564
  */
@@ -14552,19 +14593,19 @@ export type OpTruncateScheduleErrors = {
14552
14593
  500: ErrorResponse;
14553
14594
  };
14554
14595
 
14555
- export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
14596
+ export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
14556
14597
 
14557
- export type OpTruncateScheduleResponses = {
14598
+ export type OpCreateStructureResponses = {
14558
14599
  /**
14559
14600
  * Successful Response
14560
14601
  */
14561
14602
  200: OperationEnvelope;
14562
14603
  };
14563
14604
 
14564
- export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
14605
+ export type OpCreateStructureResponse = OpCreateStructureResponses[keyof OpCreateStructureResponses];
14565
14606
 
14566
- export type OpCreateClosingEntryData = {
14567
- body: CreateClosingEntryOperation;
14607
+ export type OpDeleteMappingAssociationData = {
14608
+ body: DeleteMappingAssociationOperation;
14568
14609
  headers?: {
14569
14610
  /**
14570
14611
  * Idempotency-Key
@@ -14578,10 +14619,10 @@ export type OpCreateClosingEntryData = {
14578
14619
  graph_id: string;
14579
14620
  };
14580
14621
  query?: never;
14581
- url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
14622
+ url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association';
14582
14623
  };
14583
14624
 
14584
- export type OpCreateClosingEntryErrors = {
14625
+ export type OpDeleteMappingAssociationErrors = {
14585
14626
  /**
14586
14627
  * Invalid request
14587
14628
  */
@@ -14616,19 +14657,19 @@ export type OpCreateClosingEntryErrors = {
14616
14657
  500: ErrorResponse;
14617
14658
  };
14618
14659
 
14619
- export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
14660
+ export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
14620
14661
 
14621
- export type OpCreateClosingEntryResponses = {
14662
+ export type OpDeleteMappingAssociationResponses = {
14622
14663
  /**
14623
14664
  * Successful Response
14624
14665
  */
14625
14666
  200: OperationEnvelope;
14626
14667
  };
14627
14668
 
14628
- export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
14669
+ export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
14629
14670
 
14630
- export type OpCreateManualClosingEntryData = {
14631
- body: CreateManualClosingEntryRequest;
14671
+ export type OpUpdateTaxonomyData = {
14672
+ body: UpdateTaxonomyRequest;
14632
14673
  headers?: {
14633
14674
  /**
14634
14675
  * Idempotency-Key
@@ -14642,30 +14683,30 @@ export type OpCreateManualClosingEntryData = {
14642
14683
  graph_id: string;
14643
14684
  };
14644
14685
  query?: never;
14645
- url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
14686
+ url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
14646
14687
  };
14647
14688
 
14648
- export type OpCreateManualClosingEntryErrors = {
14689
+ export type OpUpdateTaxonomyErrors = {
14649
14690
  /**
14650
- * Invalid request
14691
+ * Invalid request payload
14651
14692
  */
14652
- 400: ErrorResponse;
14693
+ 400: OperationError;
14653
14694
  /**
14654
- * Authentication required
14695
+ * Unauthorized — missing or invalid credentials
14655
14696
  */
14656
- 401: ErrorResponse;
14697
+ 401: unknown;
14657
14698
  /**
14658
- * Access denied
14699
+ * Forbidden — caller cannot access this graph
14659
14700
  */
14660
- 403: ErrorResponse;
14701
+ 403: unknown;
14661
14702
  /**
14662
- * Resource not found
14703
+ * Resource not found (graph, ledger, report, etc.)
14663
14704
  */
14664
- 404: ErrorResponse;
14705
+ 404: OperationError;
14665
14706
  /**
14666
- * Idempotency-Key conflict — key reused with different body
14707
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14667
14708
  */
14668
- 409: ErrorResponse;
14709
+ 409: OperationError;
14669
14710
  /**
14670
14711
  * Validation Error
14671
14712
  */
@@ -14673,26 +14714,26 @@ export type OpCreateManualClosingEntryErrors = {
14673
14714
  /**
14674
14715
  * Rate limit exceeded
14675
14716
  */
14676
- 429: ErrorResponse;
14717
+ 429: unknown;
14677
14718
  /**
14678
- * Internal server error
14719
+ * Internal error
14679
14720
  */
14680
- 500: ErrorResponse;
14721
+ 500: unknown;
14681
14722
  };
14682
14723
 
14683
- export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
14724
+ export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
14684
14725
 
14685
- export type OpCreateManualClosingEntryResponses = {
14726
+ export type OpUpdateTaxonomyResponses = {
14686
14727
  /**
14687
14728
  * Successful Response
14688
14729
  */
14689
14730
  200: OperationEnvelope;
14690
14731
  };
14691
14732
 
14692
- export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
14733
+ export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
14693
14734
 
14694
- export type OpCreateTaxonomyData = {
14695
- body: CreateTaxonomyRequest;
14735
+ export type OpDeleteTaxonomyData = {
14736
+ body: DeleteTaxonomyRequest;
14696
14737
  headers?: {
14697
14738
  /**
14698
14739
  * Idempotency-Key
@@ -14706,30 +14747,30 @@ export type OpCreateTaxonomyData = {
14706
14747
  graph_id: string;
14707
14748
  };
14708
14749
  query?: never;
14709
- url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy';
14750
+ url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
14710
14751
  };
14711
14752
 
14712
- export type OpCreateTaxonomyErrors = {
14753
+ export type OpDeleteTaxonomyErrors = {
14713
14754
  /**
14714
- * Invalid request
14755
+ * Invalid request payload
14715
14756
  */
14716
- 400: ErrorResponse;
14757
+ 400: OperationError;
14717
14758
  /**
14718
- * Authentication required
14759
+ * Unauthorized — missing or invalid credentials
14719
14760
  */
14720
- 401: ErrorResponse;
14761
+ 401: unknown;
14721
14762
  /**
14722
- * Access denied
14763
+ * Forbidden — caller cannot access this graph
14723
14764
  */
14724
- 403: ErrorResponse;
14765
+ 403: unknown;
14725
14766
  /**
14726
- * Resource not found
14767
+ * Resource not found (graph, ledger, report, etc.)
14727
14768
  */
14728
- 404: ErrorResponse;
14769
+ 404: OperationError;
14729
14770
  /**
14730
- * Idempotency-Key conflict — key reused with different body
14771
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14731
14772
  */
14732
- 409: ErrorResponse;
14773
+ 409: OperationError;
14733
14774
  /**
14734
14775
  * Validation Error
14735
14776
  */
@@ -14737,26 +14778,26 @@ export type OpCreateTaxonomyErrors = {
14737
14778
  /**
14738
14779
  * Rate limit exceeded
14739
14780
  */
14740
- 429: ErrorResponse;
14781
+ 429: unknown;
14741
14782
  /**
14742
- * Internal server error
14783
+ * Internal error
14743
14784
  */
14744
- 500: ErrorResponse;
14785
+ 500: unknown;
14745
14786
  };
14746
14787
 
14747
- export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
14788
+ export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
14748
14789
 
14749
- export type OpCreateTaxonomyResponses = {
14790
+ export type OpDeleteTaxonomyResponses = {
14750
14791
  /**
14751
14792
  * Successful Response
14752
14793
  */
14753
14794
  200: OperationEnvelope;
14754
14795
  };
14755
14796
 
14756
- export type OpCreateTaxonomyResponse = OpCreateTaxonomyResponses[keyof OpCreateTaxonomyResponses];
14797
+ export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
14757
14798
 
14758
- export type OpCreateStructureData = {
14759
- body: CreateStructureRequest;
14799
+ export type OpLinkEntityTaxonomyData = {
14800
+ body: LinkEntityTaxonomyRequest;
14760
14801
  headers?: {
14761
14802
  /**
14762
14803
  * Idempotency-Key
@@ -14770,30 +14811,30 @@ export type OpCreateStructureData = {
14770
14811
  graph_id: string;
14771
14812
  };
14772
14813
  query?: never;
14773
- url: '/extensions/roboledger/{graph_id}/operations/create-structure';
14814
+ url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
14774
14815
  };
14775
14816
 
14776
- export type OpCreateStructureErrors = {
14817
+ export type OpLinkEntityTaxonomyErrors = {
14777
14818
  /**
14778
- * Invalid request
14819
+ * Invalid request payload
14779
14820
  */
14780
- 400: ErrorResponse;
14821
+ 400: OperationError;
14781
14822
  /**
14782
- * Authentication required
14823
+ * Unauthorized — missing or invalid credentials
14783
14824
  */
14784
- 401: ErrorResponse;
14825
+ 401: unknown;
14785
14826
  /**
14786
- * Access denied
14827
+ * Forbidden — caller cannot access this graph
14787
14828
  */
14788
- 403: ErrorResponse;
14829
+ 403: unknown;
14789
14830
  /**
14790
- * Resource not found
14831
+ * Resource not found (graph, ledger, report, etc.)
14791
14832
  */
14792
- 404: ErrorResponse;
14833
+ 404: OperationError;
14793
14834
  /**
14794
- * Idempotency-Key conflict — key reused with different body
14835
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14795
14836
  */
14796
- 409: ErrorResponse;
14837
+ 409: OperationError;
14797
14838
  /**
14798
14839
  * Validation Error
14799
14840
  */
@@ -14801,26 +14842,26 @@ export type OpCreateStructureErrors = {
14801
14842
  /**
14802
14843
  * Rate limit exceeded
14803
14844
  */
14804
- 429: ErrorResponse;
14845
+ 429: unknown;
14805
14846
  /**
14806
- * Internal server error
14847
+ * Internal error
14807
14848
  */
14808
- 500: ErrorResponse;
14849
+ 500: unknown;
14809
14850
  };
14810
14851
 
14811
- export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
14852
+ export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
14812
14853
 
14813
- export type OpCreateStructureResponses = {
14854
+ export type OpLinkEntityTaxonomyResponses = {
14814
14855
  /**
14815
14856
  * Successful Response
14816
14857
  */
14817
14858
  200: OperationEnvelope;
14818
14859
  };
14819
14860
 
14820
- export type OpCreateStructureResponse = OpCreateStructureResponses[keyof OpCreateStructureResponses];
14861
+ export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
14821
14862
 
14822
- export type OpCreateMappingAssociationData = {
14823
- body: CreateMappingAssociationOperation;
14863
+ export type OpUpdateStructureData = {
14864
+ body: UpdateStructureRequest;
14824
14865
  headers?: {
14825
14866
  /**
14826
14867
  * Idempotency-Key
@@ -14834,30 +14875,30 @@ export type OpCreateMappingAssociationData = {
14834
14875
  graph_id: string;
14835
14876
  };
14836
14877
  query?: never;
14837
- url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
14878
+ url: '/extensions/roboledger/{graph_id}/operations/update-structure';
14838
14879
  };
14839
14880
 
14840
- export type OpCreateMappingAssociationErrors = {
14881
+ export type OpUpdateStructureErrors = {
14841
14882
  /**
14842
- * Invalid request
14883
+ * Invalid request payload
14843
14884
  */
14844
- 400: ErrorResponse;
14885
+ 400: OperationError;
14845
14886
  /**
14846
- * Authentication required
14887
+ * Unauthorized — missing or invalid credentials
14847
14888
  */
14848
- 401: ErrorResponse;
14889
+ 401: unknown;
14849
14890
  /**
14850
- * Access denied
14891
+ * Forbidden — caller cannot access this graph
14851
14892
  */
14852
- 403: ErrorResponse;
14893
+ 403: unknown;
14853
14894
  /**
14854
- * Resource not found
14895
+ * Resource not found (graph, ledger, report, etc.)
14855
14896
  */
14856
- 404: ErrorResponse;
14897
+ 404: OperationError;
14857
14898
  /**
14858
- * Idempotency-Key conflict — key reused with different body
14899
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14859
14900
  */
14860
- 409: ErrorResponse;
14901
+ 409: OperationError;
14861
14902
  /**
14862
14903
  * Validation Error
14863
14904
  */
@@ -14865,26 +14906,26 @@ export type OpCreateMappingAssociationErrors = {
14865
14906
  /**
14866
14907
  * Rate limit exceeded
14867
14908
  */
14868
- 429: ErrorResponse;
14909
+ 429: unknown;
14869
14910
  /**
14870
- * Internal server error
14911
+ * Internal error
14871
14912
  */
14872
- 500: ErrorResponse;
14913
+ 500: unknown;
14873
14914
  };
14874
14915
 
14875
- export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
14916
+ export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
14876
14917
 
14877
- export type OpCreateMappingAssociationResponses = {
14918
+ export type OpUpdateStructureResponses = {
14878
14919
  /**
14879
14920
  * Successful Response
14880
14921
  */
14881
14922
  200: OperationEnvelope;
14882
14923
  };
14883
14924
 
14884
- export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
14925
+ export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
14885
14926
 
14886
- export type OpDeleteMappingAssociationData = {
14887
- body: DeleteMappingAssociationOperation;
14927
+ export type OpDeleteStructureData = {
14928
+ body: DeleteStructureRequest;
14888
14929
  headers?: {
14889
14930
  /**
14890
14931
  * Idempotency-Key
@@ -14898,30 +14939,30 @@ export type OpDeleteMappingAssociationData = {
14898
14939
  graph_id: string;
14899
14940
  };
14900
14941
  query?: never;
14901
- url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association';
14942
+ url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
14902
14943
  };
14903
14944
 
14904
- export type OpDeleteMappingAssociationErrors = {
14945
+ export type OpDeleteStructureErrors = {
14905
14946
  /**
14906
- * Invalid request
14947
+ * Invalid request payload
14907
14948
  */
14908
- 400: ErrorResponse;
14949
+ 400: OperationError;
14909
14950
  /**
14910
- * Authentication required
14951
+ * Unauthorized — missing or invalid credentials
14911
14952
  */
14912
- 401: ErrorResponse;
14953
+ 401: unknown;
14913
14954
  /**
14914
- * Access denied
14955
+ * Forbidden — caller cannot access this graph
14915
14956
  */
14916
- 403: ErrorResponse;
14957
+ 403: unknown;
14917
14958
  /**
14918
- * Resource not found
14959
+ * Resource not found (graph, ledger, report, etc.)
14919
14960
  */
14920
- 404: ErrorResponse;
14961
+ 404: OperationError;
14921
14962
  /**
14922
- * Idempotency-Key conflict — key reused with different body
14963
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14923
14964
  */
14924
- 409: ErrorResponse;
14965
+ 409: OperationError;
14925
14966
  /**
14926
14967
  * Validation Error
14927
14968
  */
@@ -14929,26 +14970,26 @@ export type OpDeleteMappingAssociationErrors = {
14929
14970
  /**
14930
14971
  * Rate limit exceeded
14931
14972
  */
14932
- 429: ErrorResponse;
14973
+ 429: unknown;
14933
14974
  /**
14934
- * Internal server error
14975
+ * Internal error
14935
14976
  */
14936
- 500: ErrorResponse;
14977
+ 500: unknown;
14937
14978
  };
14938
14979
 
14939
- export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
14980
+ export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
14940
14981
 
14941
- export type OpDeleteMappingAssociationResponses = {
14982
+ export type OpDeleteStructureResponses = {
14942
14983
  /**
14943
14984
  * Successful Response
14944
14985
  */
14945
14986
  200: OperationEnvelope;
14946
14987
  };
14947
14988
 
14948
- export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
14989
+ export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
14949
14990
 
14950
- export type OpUpdateTaxonomyData = {
14951
- body: UpdateTaxonomyRequest;
14991
+ export type OpCreateElementData = {
14992
+ body: CreateElementRequest;
14952
14993
  headers?: {
14953
14994
  /**
14954
14995
  * Idempotency-Key
@@ -14962,10 +15003,10 @@ export type OpUpdateTaxonomyData = {
14962
15003
  graph_id: string;
14963
15004
  };
14964
15005
  query?: never;
14965
- url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
15006
+ url: '/extensions/roboledger/{graph_id}/operations/create-element';
14966
15007
  };
14967
15008
 
14968
- export type OpUpdateTaxonomyErrors = {
15009
+ export type OpCreateElementErrors = {
14969
15010
  /**
14970
15011
  * Invalid request payload
14971
15012
  */
@@ -15000,19 +15041,19 @@ export type OpUpdateTaxonomyErrors = {
15000
15041
  500: unknown;
15001
15042
  };
15002
15043
 
15003
- export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
15044
+ export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
15004
15045
 
15005
- export type OpUpdateTaxonomyResponses = {
15046
+ export type OpCreateElementResponses = {
15006
15047
  /**
15007
15048
  * Successful Response
15008
15049
  */
15009
15050
  200: OperationEnvelope;
15010
15051
  };
15011
15052
 
15012
- export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
15053
+ export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
15013
15054
 
15014
- export type OpDeleteTaxonomyData = {
15015
- body: DeleteTaxonomyRequest;
15055
+ export type OpUpdateElementData = {
15056
+ body: UpdateElementRequest;
15016
15057
  headers?: {
15017
15058
  /**
15018
15059
  * Idempotency-Key
@@ -15026,10 +15067,10 @@ export type OpDeleteTaxonomyData = {
15026
15067
  graph_id: string;
15027
15068
  };
15028
15069
  query?: never;
15029
- url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
15070
+ url: '/extensions/roboledger/{graph_id}/operations/update-element';
15030
15071
  };
15031
15072
 
15032
- export type OpDeleteTaxonomyErrors = {
15073
+ export type OpUpdateElementErrors = {
15033
15074
  /**
15034
15075
  * Invalid request payload
15035
15076
  */
@@ -15064,19 +15105,19 @@ export type OpDeleteTaxonomyErrors = {
15064
15105
  500: unknown;
15065
15106
  };
15066
15107
 
15067
- export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
15108
+ export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
15068
15109
 
15069
- export type OpDeleteTaxonomyResponses = {
15110
+ export type OpUpdateElementResponses = {
15070
15111
  /**
15071
15112
  * Successful Response
15072
15113
  */
15073
15114
  200: OperationEnvelope;
15074
15115
  };
15075
15116
 
15076
- export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
15117
+ export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
15077
15118
 
15078
- export type OpLinkEntityTaxonomyData = {
15079
- body: LinkEntityTaxonomyRequest;
15119
+ export type OpDeleteElementData = {
15120
+ body: DeleteElementRequest;
15080
15121
  headers?: {
15081
15122
  /**
15082
15123
  * Idempotency-Key
@@ -15090,10 +15131,10 @@ export type OpLinkEntityTaxonomyData = {
15090
15131
  graph_id: string;
15091
15132
  };
15092
15133
  query?: never;
15093
- url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
15134
+ url: '/extensions/roboledger/{graph_id}/operations/delete-element';
15094
15135
  };
15095
15136
 
15096
- export type OpLinkEntityTaxonomyErrors = {
15137
+ export type OpDeleteElementErrors = {
15097
15138
  /**
15098
15139
  * Invalid request payload
15099
15140
  */
@@ -15128,19 +15169,19 @@ export type OpLinkEntityTaxonomyErrors = {
15128
15169
  500: unknown;
15129
15170
  };
15130
15171
 
15131
- export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
15172
+ export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
15132
15173
 
15133
- export type OpLinkEntityTaxonomyResponses = {
15174
+ export type OpDeleteElementResponses = {
15134
15175
  /**
15135
15176
  * Successful Response
15136
15177
  */
15137
15178
  200: OperationEnvelope;
15138
15179
  };
15139
15180
 
15140
- export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
15181
+ export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
15141
15182
 
15142
- export type OpUpdateStructureData = {
15143
- body: UpdateStructureRequest;
15183
+ export type OpCreateAssociationsData = {
15184
+ body: BulkCreateAssociationsRequest;
15144
15185
  headers?: {
15145
15186
  /**
15146
15187
  * Idempotency-Key
@@ -15154,10 +15195,10 @@ export type OpUpdateStructureData = {
15154
15195
  graph_id: string;
15155
15196
  };
15156
15197
  query?: never;
15157
- url: '/extensions/roboledger/{graph_id}/operations/update-structure';
15198
+ url: '/extensions/roboledger/{graph_id}/operations/create-associations';
15158
15199
  };
15159
15200
 
15160
- export type OpUpdateStructureErrors = {
15201
+ export type OpCreateAssociationsErrors = {
15161
15202
  /**
15162
15203
  * Invalid request payload
15163
15204
  */
@@ -15192,19 +15233,19 @@ export type OpUpdateStructureErrors = {
15192
15233
  500: unknown;
15193
15234
  };
15194
15235
 
15195
- export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
15236
+ export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
15196
15237
 
15197
- export type OpUpdateStructureResponses = {
15238
+ export type OpCreateAssociationsResponses = {
15198
15239
  /**
15199
15240
  * Successful Response
15200
15241
  */
15201
15242
  200: OperationEnvelope;
15202
15243
  };
15203
15244
 
15204
- export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
15245
+ export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
15205
15246
 
15206
- export type OpDeleteStructureData = {
15207
- body: DeleteStructureRequest;
15247
+ export type OpUpdateAssociationData = {
15248
+ body: UpdateAssociationRequest;
15208
15249
  headers?: {
15209
15250
  /**
15210
15251
  * Idempotency-Key
@@ -15218,10 +15259,10 @@ export type OpDeleteStructureData = {
15218
15259
  graph_id: string;
15219
15260
  };
15220
15261
  query?: never;
15221
- url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
15262
+ url: '/extensions/roboledger/{graph_id}/operations/update-association';
15222
15263
  };
15223
15264
 
15224
- export type OpDeleteStructureErrors = {
15265
+ export type OpUpdateAssociationErrors = {
15225
15266
  /**
15226
15267
  * Invalid request payload
15227
15268
  */
@@ -15256,19 +15297,19 @@ export type OpDeleteStructureErrors = {
15256
15297
  500: unknown;
15257
15298
  };
15258
15299
 
15259
- export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
15300
+ export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
15260
15301
 
15261
- export type OpDeleteStructureResponses = {
15302
+ export type OpUpdateAssociationResponses = {
15262
15303
  /**
15263
15304
  * Successful Response
15264
15305
  */
15265
15306
  200: OperationEnvelope;
15266
15307
  };
15267
15308
 
15268
- export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
15309
+ export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
15269
15310
 
15270
- export type OpCreateElementData = {
15271
- body: CreateElementRequest;
15311
+ export type OpDeleteAssociationData = {
15312
+ body: DeleteAssociationRequest;
15272
15313
  headers?: {
15273
15314
  /**
15274
15315
  * Idempotency-Key
@@ -15282,10 +15323,10 @@ export type OpCreateElementData = {
15282
15323
  graph_id: string;
15283
15324
  };
15284
15325
  query?: never;
15285
- url: '/extensions/roboledger/{graph_id}/operations/create-element';
15326
+ url: '/extensions/roboledger/{graph_id}/operations/delete-association';
15286
15327
  };
15287
15328
 
15288
- export type OpCreateElementErrors = {
15329
+ export type OpDeleteAssociationErrors = {
15289
15330
  /**
15290
15331
  * Invalid request payload
15291
15332
  */
@@ -15320,19 +15361,19 @@ export type OpCreateElementErrors = {
15320
15361
  500: unknown;
15321
15362
  };
15322
15363
 
15323
- export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
15364
+ export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
15324
15365
 
15325
- export type OpCreateElementResponses = {
15366
+ export type OpDeleteAssociationResponses = {
15326
15367
  /**
15327
15368
  * Successful Response
15328
15369
  */
15329
15370
  200: OperationEnvelope;
15330
15371
  };
15331
15372
 
15332
- export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
15373
+ export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
15333
15374
 
15334
- export type OpUpdateElementData = {
15335
- body: UpdateElementRequest;
15375
+ export type OpCreateTransactionData = {
15376
+ body: CreateTransactionRequest;
15336
15377
  headers?: {
15337
15378
  /**
15338
15379
  * Idempotency-Key
@@ -15346,10 +15387,10 @@ export type OpUpdateElementData = {
15346
15387
  graph_id: string;
15347
15388
  };
15348
15389
  query?: never;
15349
- url: '/extensions/roboledger/{graph_id}/operations/update-element';
15390
+ url: '/extensions/roboledger/{graph_id}/operations/create-transaction';
15350
15391
  };
15351
15392
 
15352
- export type OpUpdateElementErrors = {
15393
+ export type OpCreateTransactionErrors = {
15353
15394
  /**
15354
15395
  * Invalid request payload
15355
15396
  */
@@ -15384,19 +15425,19 @@ export type OpUpdateElementErrors = {
15384
15425
  500: unknown;
15385
15426
  };
15386
15427
 
15387
- export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
15428
+ export type OpCreateTransactionError = OpCreateTransactionErrors[keyof OpCreateTransactionErrors];
15388
15429
 
15389
- export type OpUpdateElementResponses = {
15430
+ export type OpCreateTransactionResponses = {
15390
15431
  /**
15391
15432
  * Successful Response
15392
15433
  */
15393
15434
  200: OperationEnvelope;
15394
15435
  };
15395
15436
 
15396
- export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
15437
+ export type OpCreateTransactionResponse = OpCreateTransactionResponses[keyof OpCreateTransactionResponses];
15397
15438
 
15398
- export type OpDeleteElementData = {
15399
- body: DeleteElementRequest;
15439
+ export type OpCreateJournalEntryData = {
15440
+ body: CreateJournalEntryRequest;
15400
15441
  headers?: {
15401
15442
  /**
15402
15443
  * Idempotency-Key
@@ -15410,10 +15451,10 @@ export type OpDeleteElementData = {
15410
15451
  graph_id: string;
15411
15452
  };
15412
15453
  query?: never;
15413
- url: '/extensions/roboledger/{graph_id}/operations/delete-element';
15454
+ url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
15414
15455
  };
15415
15456
 
15416
- export type OpDeleteElementErrors = {
15457
+ export type OpCreateJournalEntryErrors = {
15417
15458
  /**
15418
15459
  * Invalid request payload
15419
15460
  */
@@ -15448,19 +15489,19 @@ export type OpDeleteElementErrors = {
15448
15489
  500: unknown;
15449
15490
  };
15450
15491
 
15451
- export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
15492
+ export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
15452
15493
 
15453
- export type OpDeleteElementResponses = {
15494
+ export type OpCreateJournalEntryResponses = {
15454
15495
  /**
15455
15496
  * Successful Response
15456
15497
  */
15457
15498
  200: OperationEnvelope;
15458
15499
  };
15459
15500
 
15460
- export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
15501
+ export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
15461
15502
 
15462
- export type OpCreateAssociationsData = {
15463
- body: BulkCreateAssociationsRequest;
15503
+ export type OpUpdateJournalEntryData = {
15504
+ body: UpdateJournalEntryRequest;
15464
15505
  headers?: {
15465
15506
  /**
15466
15507
  * Idempotency-Key
@@ -15474,10 +15515,10 @@ export type OpCreateAssociationsData = {
15474
15515
  graph_id: string;
15475
15516
  };
15476
15517
  query?: never;
15477
- url: '/extensions/roboledger/{graph_id}/operations/create-associations';
15518
+ url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
15478
15519
  };
15479
15520
 
15480
- export type OpCreateAssociationsErrors = {
15521
+ export type OpUpdateJournalEntryErrors = {
15481
15522
  /**
15482
15523
  * Invalid request payload
15483
15524
  */
@@ -15512,19 +15553,19 @@ export type OpCreateAssociationsErrors = {
15512
15553
  500: unknown;
15513
15554
  };
15514
15555
 
15515
- export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
15556
+ export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
15516
15557
 
15517
- export type OpCreateAssociationsResponses = {
15558
+ export type OpUpdateJournalEntryResponses = {
15518
15559
  /**
15519
15560
  * Successful Response
15520
15561
  */
15521
15562
  200: OperationEnvelope;
15522
15563
  };
15523
15564
 
15524
- export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
15565
+ export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
15525
15566
 
15526
- export type OpUpdateAssociationData = {
15527
- body: UpdateAssociationRequest;
15567
+ export type OpDeleteJournalEntryData = {
15568
+ body: DeleteJournalEntryRequest;
15528
15569
  headers?: {
15529
15570
  /**
15530
15571
  * Idempotency-Key
@@ -15538,10 +15579,10 @@ export type OpUpdateAssociationData = {
15538
15579
  graph_id: string;
15539
15580
  };
15540
15581
  query?: never;
15541
- url: '/extensions/roboledger/{graph_id}/operations/update-association';
15582
+ url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
15542
15583
  };
15543
15584
 
15544
- export type OpUpdateAssociationErrors = {
15585
+ export type OpDeleteJournalEntryErrors = {
15545
15586
  /**
15546
15587
  * Invalid request payload
15547
15588
  */
@@ -15576,19 +15617,19 @@ export type OpUpdateAssociationErrors = {
15576
15617
  500: unknown;
15577
15618
  };
15578
15619
 
15579
- export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
15620
+ export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
15580
15621
 
15581
- export type OpUpdateAssociationResponses = {
15622
+ export type OpDeleteJournalEntryResponses = {
15582
15623
  /**
15583
15624
  * Successful Response
15584
15625
  */
15585
15626
  200: OperationEnvelope;
15586
15627
  };
15587
15628
 
15588
- export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
15629
+ export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
15589
15630
 
15590
- export type OpDeleteAssociationData = {
15591
- body: DeleteAssociationRequest;
15631
+ export type OpReverseJournalEntryData = {
15632
+ body: ReverseJournalEntryRequest;
15592
15633
  headers?: {
15593
15634
  /**
15594
15635
  * Idempotency-Key
@@ -15602,10 +15643,10 @@ export type OpDeleteAssociationData = {
15602
15643
  graph_id: string;
15603
15644
  };
15604
15645
  query?: never;
15605
- url: '/extensions/roboledger/{graph_id}/operations/delete-association';
15646
+ url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
15606
15647
  };
15607
15648
 
15608
- export type OpDeleteAssociationErrors = {
15649
+ export type OpReverseJournalEntryErrors = {
15609
15650
  /**
15610
15651
  * Invalid request payload
15611
15652
  */
@@ -15640,19 +15681,19 @@ export type OpDeleteAssociationErrors = {
15640
15681
  500: unknown;
15641
15682
  };
15642
15683
 
15643
- export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
15684
+ export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
15644
15685
 
15645
- export type OpDeleteAssociationResponses = {
15686
+ export type OpReverseJournalEntryResponses = {
15646
15687
  /**
15647
15688
  * Successful Response
15648
15689
  */
15649
15690
  200: OperationEnvelope;
15650
15691
  };
15651
15692
 
15652
- export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
15693
+ export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
15653
15694
 
15654
- export type OpCreateTransactionData = {
15655
- body: CreateTransactionRequest;
15695
+ export type OpCreateScheduleData = {
15696
+ body: CreateScheduleRequest;
15656
15697
  headers?: {
15657
15698
  /**
15658
15699
  * Idempotency-Key
@@ -15666,10 +15707,10 @@ export type OpCreateTransactionData = {
15666
15707
  graph_id: string;
15667
15708
  };
15668
15709
  query?: never;
15669
- url: '/extensions/roboledger/{graph_id}/operations/create-transaction';
15710
+ url: '/extensions/roboledger/{graph_id}/operations/create-schedule';
15670
15711
  };
15671
15712
 
15672
- export type OpCreateTransactionErrors = {
15713
+ export type OpCreateScheduleErrors = {
15673
15714
  /**
15674
15715
  * Invalid request payload
15675
15716
  */
@@ -15704,19 +15745,19 @@ export type OpCreateTransactionErrors = {
15704
15745
  500: unknown;
15705
15746
  };
15706
15747
 
15707
- export type OpCreateTransactionError = OpCreateTransactionErrors[keyof OpCreateTransactionErrors];
15748
+ export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
15708
15749
 
15709
- export type OpCreateTransactionResponses = {
15750
+ export type OpCreateScheduleResponses = {
15710
15751
  /**
15711
15752
  * Successful Response
15712
15753
  */
15713
15754
  200: OperationEnvelope;
15714
15755
  };
15715
15756
 
15716
- export type OpCreateTransactionResponse = OpCreateTransactionResponses[keyof OpCreateTransactionResponses];
15757
+ export type OpCreateScheduleResponse = OpCreateScheduleResponses[keyof OpCreateScheduleResponses];
15717
15758
 
15718
- export type OpCreateJournalEntryData = {
15719
- body: CreateJournalEntryRequest;
15759
+ export type OpTruncateScheduleData = {
15760
+ body: TruncateScheduleOperation;
15720
15761
  headers?: {
15721
15762
  /**
15722
15763
  * Idempotency-Key
@@ -15730,10 +15771,10 @@ export type OpCreateJournalEntryData = {
15730
15771
  graph_id: string;
15731
15772
  };
15732
15773
  query?: never;
15733
- url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
15774
+ url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
15734
15775
  };
15735
15776
 
15736
- export type OpCreateJournalEntryErrors = {
15777
+ export type OpTruncateScheduleErrors = {
15737
15778
  /**
15738
15779
  * Invalid request payload
15739
15780
  */
@@ -15768,19 +15809,19 @@ export type OpCreateJournalEntryErrors = {
15768
15809
  500: unknown;
15769
15810
  };
15770
15811
 
15771
- export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
15812
+ export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
15772
15813
 
15773
- export type OpCreateJournalEntryResponses = {
15814
+ export type OpTruncateScheduleResponses = {
15774
15815
  /**
15775
15816
  * Successful Response
15776
15817
  */
15777
15818
  200: OperationEnvelope;
15778
15819
  };
15779
15820
 
15780
- export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
15821
+ export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
15781
15822
 
15782
- export type OpUpdateJournalEntryData = {
15783
- body: UpdateJournalEntryRequest;
15823
+ export type OpCreateClosingEntryData = {
15824
+ body: CreateClosingEntryOperation;
15784
15825
  headers?: {
15785
15826
  /**
15786
15827
  * Idempotency-Key
@@ -15794,10 +15835,10 @@ export type OpUpdateJournalEntryData = {
15794
15835
  graph_id: string;
15795
15836
  };
15796
15837
  query?: never;
15797
- url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
15838
+ url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
15798
15839
  };
15799
15840
 
15800
- export type OpUpdateJournalEntryErrors = {
15841
+ export type OpCreateClosingEntryErrors = {
15801
15842
  /**
15802
15843
  * Invalid request payload
15803
15844
  */
@@ -15832,19 +15873,19 @@ export type OpUpdateJournalEntryErrors = {
15832
15873
  500: unknown;
15833
15874
  };
15834
15875
 
15835
- export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
15876
+ export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
15836
15877
 
15837
- export type OpUpdateJournalEntryResponses = {
15878
+ export type OpCreateClosingEntryResponses = {
15838
15879
  /**
15839
15880
  * Successful Response
15840
15881
  */
15841
15882
  200: OperationEnvelope;
15842
15883
  };
15843
15884
 
15844
- export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
15885
+ export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
15845
15886
 
15846
- export type OpDeleteJournalEntryData = {
15847
- body: DeleteJournalEntryRequest;
15887
+ export type OpCreateManualClosingEntryData = {
15888
+ body: CreateManualClosingEntryRequest;
15848
15889
  headers?: {
15849
15890
  /**
15850
15891
  * Idempotency-Key
@@ -15858,10 +15899,10 @@ export type OpDeleteJournalEntryData = {
15858
15899
  graph_id: string;
15859
15900
  };
15860
15901
  query?: never;
15861
- url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
15902
+ url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
15862
15903
  };
15863
15904
 
15864
- export type OpDeleteJournalEntryErrors = {
15905
+ export type OpCreateManualClosingEntryErrors = {
15865
15906
  /**
15866
15907
  * Invalid request payload
15867
15908
  */
@@ -15896,19 +15937,19 @@ export type OpDeleteJournalEntryErrors = {
15896
15937
  500: unknown;
15897
15938
  };
15898
15939
 
15899
- export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
15940
+ export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
15900
15941
 
15901
- export type OpDeleteJournalEntryResponses = {
15942
+ export type OpCreateManualClosingEntryResponses = {
15902
15943
  /**
15903
15944
  * Successful Response
15904
15945
  */
15905
15946
  200: OperationEnvelope;
15906
15947
  };
15907
15948
 
15908
- export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
15949
+ export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
15909
15950
 
15910
- export type OpReverseJournalEntryData = {
15911
- body: ReverseJournalEntryRequest;
15951
+ export type OpUpdateScheduleData = {
15952
+ body: UpdateScheduleRequest;
15912
15953
  headers?: {
15913
15954
  /**
15914
15955
  * Idempotency-Key
@@ -15922,10 +15963,10 @@ export type OpReverseJournalEntryData = {
15922
15963
  graph_id: string;
15923
15964
  };
15924
15965
  query?: never;
15925
- url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
15966
+ url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
15926
15967
  };
15927
15968
 
15928
- export type OpReverseJournalEntryErrors = {
15969
+ export type OpUpdateScheduleErrors = {
15929
15970
  /**
15930
15971
  * Invalid request payload
15931
15972
  */
@@ -15960,19 +16001,19 @@ export type OpReverseJournalEntryErrors = {
15960
16001
  500: unknown;
15961
16002
  };
15962
16003
 
15963
- export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
16004
+ export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
15964
16005
 
15965
- export type OpReverseJournalEntryResponses = {
16006
+ export type OpUpdateScheduleResponses = {
15966
16007
  /**
15967
16008
  * Successful Response
15968
16009
  */
15969
16010
  200: OperationEnvelope;
15970
16011
  };
15971
16012
 
15972
- export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
16013
+ export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
15973
16014
 
15974
- export type OpUpdateScheduleData = {
15975
- body: UpdateScheduleRequest;
16015
+ export type OpDeleteScheduleData = {
16016
+ body: DeleteScheduleRequest;
15976
16017
  headers?: {
15977
16018
  /**
15978
16019
  * Idempotency-Key
@@ -15986,10 +16027,10 @@ export type OpUpdateScheduleData = {
15986
16027
  graph_id: string;
15987
16028
  };
15988
16029
  query?: never;
15989
- url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
16030
+ url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
15990
16031
  };
15991
16032
 
15992
- export type OpUpdateScheduleErrors = {
16033
+ export type OpDeleteScheduleErrors = {
15993
16034
  /**
15994
16035
  * Invalid request payload
15995
16036
  */
@@ -16024,19 +16065,19 @@ export type OpUpdateScheduleErrors = {
16024
16065
  500: unknown;
16025
16066
  };
16026
16067
 
16027
- export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
16068
+ export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
16028
16069
 
16029
- export type OpUpdateScheduleResponses = {
16070
+ export type OpDeleteScheduleResponses = {
16030
16071
  /**
16031
16072
  * Successful Response
16032
16073
  */
16033
16074
  200: OperationEnvelope;
16034
16075
  };
16035
16076
 
16036
- export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
16077
+ export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
16037
16078
 
16038
- export type OpDeleteScheduleData = {
16039
- body: DeleteScheduleRequest;
16079
+ export type OpCreateMappingAssociationData = {
16080
+ body: CreateMappingAssociationOperation;
16040
16081
  headers?: {
16041
16082
  /**
16042
16083
  * Idempotency-Key
@@ -16050,10 +16091,10 @@ export type OpDeleteScheduleData = {
16050
16091
  graph_id: string;
16051
16092
  };
16052
16093
  query?: never;
16053
- url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
16094
+ url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
16054
16095
  };
16055
16096
 
16056
- export type OpDeleteScheduleErrors = {
16097
+ export type OpCreateMappingAssociationErrors = {
16057
16098
  /**
16058
16099
  * Invalid request payload
16059
16100
  */
@@ -16088,16 +16129,16 @@ export type OpDeleteScheduleErrors = {
16088
16129
  500: unknown;
16089
16130
  };
16090
16131
 
16091
- export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
16132
+ export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
16092
16133
 
16093
- export type OpDeleteScheduleResponses = {
16134
+ export type OpCreateMappingAssociationResponses = {
16094
16135
  /**
16095
16136
  * Successful Response
16096
16137
  */
16097
16138
  200: OperationEnvelope;
16098
16139
  };
16099
16140
 
16100
- export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
16141
+ export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
16101
16142
 
16102
16143
  export type OpAutoMapElementsData = {
16103
16144
  body: AutoMapElementsOperation;
@@ -16739,6 +16780,70 @@ export type OpRemovePublishListMemberResponses = {
16739
16780
 
16740
16781
  export type OpRemovePublishListMemberResponse = OpRemovePublishListMemberResponses[keyof OpRemovePublishListMemberResponses];
16741
16782
 
16783
+ export type OpLiveFinancialStatementData = {
16784
+ body: LiveFinancialStatementRequest;
16785
+ headers?: {
16786
+ /**
16787
+ * Idempotency-Key
16788
+ */
16789
+ 'Idempotency-Key'?: string | null;
16790
+ };
16791
+ path: {
16792
+ /**
16793
+ * Graph Id
16794
+ */
16795
+ graph_id: string;
16796
+ };
16797
+ query?: never;
16798
+ url: '/extensions/roboledger/{graph_id}/operations/live-financial-statement';
16799
+ };
16800
+
16801
+ export type OpLiveFinancialStatementErrors = {
16802
+ /**
16803
+ * Invalid request
16804
+ */
16805
+ 400: ErrorResponse;
16806
+ /**
16807
+ * Authentication required
16808
+ */
16809
+ 401: ErrorResponse;
16810
+ /**
16811
+ * Access denied
16812
+ */
16813
+ 403: ErrorResponse;
16814
+ /**
16815
+ * Resource not found
16816
+ */
16817
+ 404: ErrorResponse;
16818
+ /**
16819
+ * Idempotency-Key conflict — key reused with different body
16820
+ */
16821
+ 409: ErrorResponse;
16822
+ /**
16823
+ * Validation Error
16824
+ */
16825
+ 422: HttpValidationError;
16826
+ /**
16827
+ * Rate limit exceeded
16828
+ */
16829
+ 429: ErrorResponse;
16830
+ /**
16831
+ * Internal server error
16832
+ */
16833
+ 500: ErrorResponse;
16834
+ };
16835
+
16836
+ export type OpLiveFinancialStatementError = OpLiveFinancialStatementErrors[keyof OpLiveFinancialStatementErrors];
16837
+
16838
+ export type OpLiveFinancialStatementResponses = {
16839
+ /**
16840
+ * Successful Response
16841
+ */
16842
+ 200: OperationEnvelope;
16843
+ };
16844
+
16845
+ export type OpLiveFinancialStatementResponse = OpLiveFinancialStatementResponses[keyof OpLiveFinancialStatementResponses];
16846
+
16742
16847
  export type OpBuildFactGridData = {
16743
16848
  body: CreateViewRequest;
16744
16849
  headers?: {
@@ -16803,8 +16908,8 @@ export type OpBuildFactGridResponses = {
16803
16908
 
16804
16909
  export type OpBuildFactGridResponse = OpBuildFactGridResponses[keyof OpBuildFactGridResponses];
16805
16910
 
16806
- export type OpCreatePortfolioData = {
16807
- body: CreatePortfolioRequest;
16911
+ export type OpFinancialStatementAnalysisData = {
16912
+ body: FinancialStatementAnalysisRequest;
16808
16913
  headers?: {
16809
16914
  /**
16810
16915
  * Idempotency-Key
@@ -16818,10 +16923,10 @@ export type OpCreatePortfolioData = {
16818
16923
  graph_id: string;
16819
16924
  };
16820
16925
  query?: never;
16821
- url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
16926
+ url: '/extensions/roboledger/{graph_id}/operations/financial-statement-analysis';
16822
16927
  };
16823
16928
 
16824
- export type OpCreatePortfolioErrors = {
16929
+ export type OpFinancialStatementAnalysisErrors = {
16825
16930
  /**
16826
16931
  * Invalid request
16827
16932
  */
@@ -16856,6 +16961,70 @@ export type OpCreatePortfolioErrors = {
16856
16961
  500: ErrorResponse;
16857
16962
  };
16858
16963
 
16964
+ export type OpFinancialStatementAnalysisError = OpFinancialStatementAnalysisErrors[keyof OpFinancialStatementAnalysisErrors];
16965
+
16966
+ export type OpFinancialStatementAnalysisResponses = {
16967
+ /**
16968
+ * Successful Response
16969
+ */
16970
+ 200: OperationEnvelope;
16971
+ };
16972
+
16973
+ export type OpFinancialStatementAnalysisResponse = OpFinancialStatementAnalysisResponses[keyof OpFinancialStatementAnalysisResponses];
16974
+
16975
+ export type OpCreatePortfolioData = {
16976
+ body: CreatePortfolioRequest;
16977
+ headers?: {
16978
+ /**
16979
+ * Idempotency-Key
16980
+ */
16981
+ 'Idempotency-Key'?: string | null;
16982
+ };
16983
+ path: {
16984
+ /**
16985
+ * Graph Id
16986
+ */
16987
+ graph_id: string;
16988
+ };
16989
+ query?: never;
16990
+ url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
16991
+ };
16992
+
16993
+ export type OpCreatePortfolioErrors = {
16994
+ /**
16995
+ * Invalid request payload
16996
+ */
16997
+ 400: OperationError;
16998
+ /**
16999
+ * Unauthorized — missing or invalid credentials
17000
+ */
17001
+ 401: unknown;
17002
+ /**
17003
+ * Forbidden — caller cannot access this graph
17004
+ */
17005
+ 403: unknown;
17006
+ /**
17007
+ * Resource not found (graph, ledger, report, etc.)
17008
+ */
17009
+ 404: OperationError;
17010
+ /**
17011
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
17012
+ */
17013
+ 409: OperationError;
17014
+ /**
17015
+ * Validation Error
17016
+ */
17017
+ 422: HttpValidationError;
17018
+ /**
17019
+ * Rate limit exceeded
17020
+ */
17021
+ 429: unknown;
17022
+ /**
17023
+ * Internal error
17024
+ */
17025
+ 500: unknown;
17026
+ };
17027
+
16859
17028
  export type OpCreatePortfolioError = OpCreatePortfolioErrors[keyof OpCreatePortfolioErrors];
16860
17029
 
16861
17030
  export type OpCreatePortfolioResponses = {
@@ -16887,25 +17056,25 @@ export type OpUpdatePortfolioData = {
16887
17056
 
16888
17057
  export type OpUpdatePortfolioErrors = {
16889
17058
  /**
16890
- * Invalid request
17059
+ * Invalid request payload
16891
17060
  */
16892
- 400: ErrorResponse;
17061
+ 400: OperationError;
16893
17062
  /**
16894
- * Authentication required
17063
+ * Unauthorized — missing or invalid credentials
16895
17064
  */
16896
- 401: ErrorResponse;
17065
+ 401: unknown;
16897
17066
  /**
16898
- * Access denied
17067
+ * Forbidden — caller cannot access this graph
16899
17068
  */
16900
- 403: ErrorResponse;
17069
+ 403: unknown;
16901
17070
  /**
16902
- * Resource not found
17071
+ * Resource not found (graph, ledger, report, etc.)
16903
17072
  */
16904
- 404: ErrorResponse;
17073
+ 404: OperationError;
16905
17074
  /**
16906
- * Idempotency-Key conflict — key reused with different body
17075
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
16907
17076
  */
16908
- 409: ErrorResponse;
17077
+ 409: OperationError;
16909
17078
  /**
16910
17079
  * Validation Error
16911
17080
  */
@@ -16913,11 +17082,11 @@ export type OpUpdatePortfolioErrors = {
16913
17082
  /**
16914
17083
  * Rate limit exceeded
16915
17084
  */
16916
- 429: ErrorResponse;
17085
+ 429: unknown;
16917
17086
  /**
16918
- * Internal server error
17087
+ * Internal error
16919
17088
  */
16920
- 500: ErrorResponse;
17089
+ 500: unknown;
16921
17090
  };
16922
17091
 
16923
17092
  export type OpUpdatePortfolioError = OpUpdatePortfolioErrors[keyof OpUpdatePortfolioErrors];
@@ -16951,25 +17120,25 @@ export type OpDeletePortfolioData = {
16951
17120
 
16952
17121
  export type OpDeletePortfolioErrors = {
16953
17122
  /**
16954
- * Invalid request
17123
+ * Invalid request payload
16955
17124
  */
16956
- 400: ErrorResponse;
17125
+ 400: OperationError;
16957
17126
  /**
16958
- * Authentication required
17127
+ * Unauthorized — missing or invalid credentials
16959
17128
  */
16960
- 401: ErrorResponse;
17129
+ 401: unknown;
16961
17130
  /**
16962
- * Access denied
17131
+ * Forbidden — caller cannot access this graph
16963
17132
  */
16964
- 403: ErrorResponse;
17133
+ 403: unknown;
16965
17134
  /**
16966
- * Resource not found
17135
+ * Resource not found (graph, ledger, report, etc.)
16967
17136
  */
16968
- 404: ErrorResponse;
17137
+ 404: OperationError;
16969
17138
  /**
16970
- * Idempotency-Key conflict — key reused with different body
17139
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
16971
17140
  */
16972
- 409: ErrorResponse;
17141
+ 409: OperationError;
16973
17142
  /**
16974
17143
  * Validation Error
16975
17144
  */
@@ -16977,11 +17146,11 @@ export type OpDeletePortfolioErrors = {
16977
17146
  /**
16978
17147
  * Rate limit exceeded
16979
17148
  */
16980
- 429: ErrorResponse;
17149
+ 429: unknown;
16981
17150
  /**
16982
- * Internal server error
17151
+ * Internal error
16983
17152
  */
16984
- 500: ErrorResponse;
17153
+ 500: unknown;
16985
17154
  };
16986
17155
 
16987
17156
  export type OpDeletePortfolioError = OpDeletePortfolioErrors[keyof OpDeletePortfolioErrors];
@@ -17015,25 +17184,25 @@ export type OpCreateSecurityData = {
17015
17184
 
17016
17185
  export type OpCreateSecurityErrors = {
17017
17186
  /**
17018
- * Invalid request
17187
+ * Invalid request payload
17019
17188
  */
17020
- 400: ErrorResponse;
17189
+ 400: OperationError;
17021
17190
  /**
17022
- * Authentication required
17191
+ * Unauthorized — missing or invalid credentials
17023
17192
  */
17024
- 401: ErrorResponse;
17193
+ 401: unknown;
17025
17194
  /**
17026
- * Access denied
17195
+ * Forbidden — caller cannot access this graph
17027
17196
  */
17028
- 403: ErrorResponse;
17197
+ 403: unknown;
17029
17198
  /**
17030
- * Resource not found
17199
+ * Resource not found (graph, ledger, report, etc.)
17031
17200
  */
17032
- 404: ErrorResponse;
17201
+ 404: OperationError;
17033
17202
  /**
17034
- * Idempotency-Key conflict — key reused with different body
17203
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
17035
17204
  */
17036
- 409: ErrorResponse;
17205
+ 409: OperationError;
17037
17206
  /**
17038
17207
  * Validation Error
17039
17208
  */
@@ -17041,11 +17210,11 @@ export type OpCreateSecurityErrors = {
17041
17210
  /**
17042
17211
  * Rate limit exceeded
17043
17212
  */
17044
- 429: ErrorResponse;
17213
+ 429: unknown;
17045
17214
  /**
17046
- * Internal server error
17215
+ * Internal error
17047
17216
  */
17048
- 500: ErrorResponse;
17217
+ 500: unknown;
17049
17218
  };
17050
17219
 
17051
17220
  export type OpCreateSecurityError = OpCreateSecurityErrors[keyof OpCreateSecurityErrors];
@@ -17079,25 +17248,25 @@ export type OpUpdateSecurityData = {
17079
17248
 
17080
17249
  export type OpUpdateSecurityErrors = {
17081
17250
  /**
17082
- * Invalid request
17251
+ * Invalid request payload
17083
17252
  */
17084
- 400: ErrorResponse;
17253
+ 400: OperationError;
17085
17254
  /**
17086
- * Authentication required
17255
+ * Unauthorized — missing or invalid credentials
17087
17256
  */
17088
- 401: ErrorResponse;
17257
+ 401: unknown;
17089
17258
  /**
17090
- * Access denied
17259
+ * Forbidden — caller cannot access this graph
17091
17260
  */
17092
- 403: ErrorResponse;
17261
+ 403: unknown;
17093
17262
  /**
17094
- * Resource not found
17263
+ * Resource not found (graph, ledger, report, etc.)
17095
17264
  */
17096
- 404: ErrorResponse;
17265
+ 404: OperationError;
17097
17266
  /**
17098
- * Idempotency-Key conflict — key reused with different body
17267
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
17099
17268
  */
17100
- 409: ErrorResponse;
17269
+ 409: OperationError;
17101
17270
  /**
17102
17271
  * Validation Error
17103
17272
  */
@@ -17105,11 +17274,11 @@ export type OpUpdateSecurityErrors = {
17105
17274
  /**
17106
17275
  * Rate limit exceeded
17107
17276
  */
17108
- 429: ErrorResponse;
17277
+ 429: unknown;
17109
17278
  /**
17110
- * Internal server error
17279
+ * Internal error
17111
17280
  */
17112
- 500: ErrorResponse;
17281
+ 500: unknown;
17113
17282
  };
17114
17283
 
17115
17284
  export type OpUpdateSecurityError = OpUpdateSecurityErrors[keyof OpUpdateSecurityErrors];
@@ -17143,25 +17312,25 @@ export type OpDeleteSecurityData = {
17143
17312
 
17144
17313
  export type OpDeleteSecurityErrors = {
17145
17314
  /**
17146
- * Invalid request
17315
+ * Invalid request payload
17147
17316
  */
17148
- 400: ErrorResponse;
17317
+ 400: OperationError;
17149
17318
  /**
17150
- * Authentication required
17319
+ * Unauthorized — missing or invalid credentials
17151
17320
  */
17152
- 401: ErrorResponse;
17321
+ 401: unknown;
17153
17322
  /**
17154
- * Access denied
17323
+ * Forbidden — caller cannot access this graph
17155
17324
  */
17156
- 403: ErrorResponse;
17325
+ 403: unknown;
17157
17326
  /**
17158
- * Resource not found
17327
+ * Resource not found (graph, ledger, report, etc.)
17159
17328
  */
17160
- 404: ErrorResponse;
17329
+ 404: OperationError;
17161
17330
  /**
17162
- * Idempotency-Key conflict — key reused with different body
17331
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
17163
17332
  */
17164
- 409: ErrorResponse;
17333
+ 409: OperationError;
17165
17334
  /**
17166
17335
  * Validation Error
17167
17336
  */
@@ -17169,11 +17338,11 @@ export type OpDeleteSecurityErrors = {
17169
17338
  /**
17170
17339
  * Rate limit exceeded
17171
17340
  */
17172
- 429: ErrorResponse;
17341
+ 429: unknown;
17173
17342
  /**
17174
- * Internal server error
17343
+ * Internal error
17175
17344
  */
17176
- 500: ErrorResponse;
17345
+ 500: unknown;
17177
17346
  };
17178
17347
 
17179
17348
  export type OpDeleteSecurityError = OpDeleteSecurityErrors[keyof OpDeleteSecurityErrors];
@@ -17207,25 +17376,25 @@ export type OpCreatePositionData = {
17207
17376
 
17208
17377
  export type OpCreatePositionErrors = {
17209
17378
  /**
17210
- * Invalid request
17379
+ * Invalid request payload
17211
17380
  */
17212
- 400: ErrorResponse;
17381
+ 400: OperationError;
17213
17382
  /**
17214
- * Authentication required
17383
+ * Unauthorized — missing or invalid credentials
17215
17384
  */
17216
- 401: ErrorResponse;
17385
+ 401: unknown;
17217
17386
  /**
17218
- * Access denied
17387
+ * Forbidden — caller cannot access this graph
17219
17388
  */
17220
- 403: ErrorResponse;
17389
+ 403: unknown;
17221
17390
  /**
17222
- * Resource not found
17391
+ * Resource not found (graph, ledger, report, etc.)
17223
17392
  */
17224
- 404: ErrorResponse;
17393
+ 404: OperationError;
17225
17394
  /**
17226
- * Idempotency-Key conflict — key reused with different body
17395
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
17227
17396
  */
17228
- 409: ErrorResponse;
17397
+ 409: OperationError;
17229
17398
  /**
17230
17399
  * Validation Error
17231
17400
  */
@@ -17233,11 +17402,11 @@ export type OpCreatePositionErrors = {
17233
17402
  /**
17234
17403
  * Rate limit exceeded
17235
17404
  */
17236
- 429: ErrorResponse;
17405
+ 429: unknown;
17237
17406
  /**
17238
- * Internal server error
17407
+ * Internal error
17239
17408
  */
17240
- 500: ErrorResponse;
17409
+ 500: unknown;
17241
17410
  };
17242
17411
 
17243
17412
  export type OpCreatePositionError = OpCreatePositionErrors[keyof OpCreatePositionErrors];
@@ -17271,25 +17440,25 @@ export type OpUpdatePositionData = {
17271
17440
 
17272
17441
  export type OpUpdatePositionErrors = {
17273
17442
  /**
17274
- * Invalid request
17443
+ * Invalid request payload
17275
17444
  */
17276
- 400: ErrorResponse;
17445
+ 400: OperationError;
17277
17446
  /**
17278
- * Authentication required
17447
+ * Unauthorized — missing or invalid credentials
17279
17448
  */
17280
- 401: ErrorResponse;
17449
+ 401: unknown;
17281
17450
  /**
17282
- * Access denied
17451
+ * Forbidden — caller cannot access this graph
17283
17452
  */
17284
- 403: ErrorResponse;
17453
+ 403: unknown;
17285
17454
  /**
17286
- * Resource not found
17455
+ * Resource not found (graph, ledger, report, etc.)
17287
17456
  */
17288
- 404: ErrorResponse;
17457
+ 404: OperationError;
17289
17458
  /**
17290
- * Idempotency-Key conflict — key reused with different body
17459
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
17291
17460
  */
17292
- 409: ErrorResponse;
17461
+ 409: OperationError;
17293
17462
  /**
17294
17463
  * Validation Error
17295
17464
  */
@@ -17297,11 +17466,11 @@ export type OpUpdatePositionErrors = {
17297
17466
  /**
17298
17467
  * Rate limit exceeded
17299
17468
  */
17300
- 429: ErrorResponse;
17469
+ 429: unknown;
17301
17470
  /**
17302
- * Internal server error
17471
+ * Internal error
17303
17472
  */
17304
- 500: ErrorResponse;
17473
+ 500: unknown;
17305
17474
  };
17306
17475
 
17307
17476
  export type OpUpdatePositionError = OpUpdatePositionErrors[keyof OpUpdatePositionErrors];
@@ -17335,25 +17504,25 @@ export type OpDeletePositionData = {
17335
17504
 
17336
17505
  export type OpDeletePositionErrors = {
17337
17506
  /**
17338
- * Invalid request
17507
+ * Invalid request payload
17339
17508
  */
17340
- 400: ErrorResponse;
17509
+ 400: OperationError;
17341
17510
  /**
17342
- * Authentication required
17511
+ * Unauthorized — missing or invalid credentials
17343
17512
  */
17344
- 401: ErrorResponse;
17513
+ 401: unknown;
17345
17514
  /**
17346
- * Access denied
17515
+ * Forbidden — caller cannot access this graph
17347
17516
  */
17348
- 403: ErrorResponse;
17517
+ 403: unknown;
17349
17518
  /**
17350
- * Resource not found
17519
+ * Resource not found (graph, ledger, report, etc.)
17351
17520
  */
17352
- 404: ErrorResponse;
17521
+ 404: OperationError;
17353
17522
  /**
17354
- * Idempotency-Key conflict — key reused with different body
17523
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
17355
17524
  */
17356
- 409: ErrorResponse;
17525
+ 409: OperationError;
17357
17526
  /**
17358
17527
  * Validation Error
17359
17528
  */
@@ -17361,11 +17530,11 @@ export type OpDeletePositionErrors = {
17361
17530
  /**
17362
17531
  * Rate limit exceeded
17363
17532
  */
17364
- 429: ErrorResponse;
17533
+ 429: unknown;
17365
17534
  /**
17366
- * Internal server error
17535
+ * Internal error
17367
17536
  */
17368
- 500: ErrorResponse;
17537
+ 500: unknown;
17369
17538
  };
17370
17539
 
17371
17540
  export type OpDeletePositionError = OpDeletePositionErrors[keyof OpDeletePositionErrors];