@robosystems/client 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/{extensions → artifacts}/InvestorClient.js +0 -1
  2. package/{extensions → artifacts}/InvestorClient.ts +1 -1
  3. package/{extensions → artifacts}/LedgerClient.d.ts +168 -2
  4. package/{extensions → artifacts}/LedgerClient.js +301 -2
  5. package/{extensions → artifacts}/LedgerClient.ts +645 -2
  6. package/{extensions → artifacts}/config.d.ts +11 -11
  7. package/{extensions → artifacts}/config.js +11 -11
  8. package/{extensions → artifacts}/config.ts +16 -16
  9. package/{extensions → artifacts}/graphql/client.d.ts +1 -1
  10. package/{extensions → artifacts}/graphql/client.js +1 -2
  11. package/{extensions → artifacts}/graphql/client.ts +2 -2
  12. package/{extensions → artifacts}/hooks.js +6 -6
  13. package/{extensions → artifacts}/hooks.ts +7 -7
  14. package/{extensions → artifacts}/index.d.ts +21 -18
  15. package/{extensions → artifacts}/index.js +43 -53
  16. package/{extensions → artifacts}/index.ts +47 -60
  17. package/index.d.ts +2 -2
  18. package/index.js +2 -2
  19. package/index.ts +2 -2
  20. package/package.json +38 -8
  21. package/sdk/index.d.ts +2 -2
  22. package/sdk/index.js +27 -9
  23. package/sdk/index.ts +2 -2
  24. package/sdk/sdk.gen.d.ts +272 -274
  25. package/sdk/sdk.gen.js +468 -312
  26. package/sdk/sdk.gen.ts +464 -309
  27. package/sdk/types.gen.d.ts +2962 -440
  28. package/sdk/types.gen.ts +3058 -430
  29. package/sdk.gen.d.ts +272 -274
  30. package/sdk.gen.js +468 -312
  31. package/sdk.gen.ts +464 -309
  32. package/types.gen.d.ts +2962 -440
  33. package/types.gen.ts +3058 -430
  34. package/extensions/ReportClient.d.ts +0 -120
  35. package/extensions/ReportClient.js +0 -191
  36. package/extensions/ReportClient.ts +0 -433
  37. /package/{extensions → artifacts}/AgentClient.d.ts +0 -0
  38. /package/{extensions → artifacts}/AgentClient.js +0 -0
  39. /package/{extensions → artifacts}/AgentClient.ts +0 -0
  40. /package/{extensions → artifacts}/InvestorClient.d.ts +0 -0
  41. /package/{extensions → artifacts}/OperationClient.d.ts +0 -0
  42. /package/{extensions → artifacts}/OperationClient.js +0 -0
  43. /package/{extensions → artifacts}/OperationClient.ts +0 -0
  44. /package/{extensions → artifacts}/QueryClient.d.ts +0 -0
  45. /package/{extensions → artifacts}/QueryClient.js +0 -0
  46. /package/{extensions → artifacts}/QueryClient.ts +0 -0
  47. /package/{extensions → artifacts}/SSEClient.d.ts +0 -0
  48. /package/{extensions → artifacts}/SSEClient.js +0 -0
  49. /package/{extensions → artifacts}/SSEClient.ts +0 -0
  50. /package/{extensions → artifacts}/graphql/generated/graphql.d.ts +0 -0
  51. /package/{extensions → artifacts}/graphql/generated/graphql.js +0 -0
  52. /package/{extensions → artifacts}/graphql/generated/graphql.ts +0 -0
  53. /package/{extensions → artifacts}/graphql/queries/investor/holdings.d.ts +0 -0
  54. /package/{extensions → artifacts}/graphql/queries/investor/holdings.js +0 -0
  55. /package/{extensions → artifacts}/graphql/queries/investor/holdings.ts +0 -0
  56. /package/{extensions → artifacts}/graphql/queries/investor/portfolio.d.ts +0 -0
  57. /package/{extensions → artifacts}/graphql/queries/investor/portfolio.js +0 -0
  58. /package/{extensions → artifacts}/graphql/queries/investor/portfolio.ts +0 -0
  59. /package/{extensions → artifacts}/graphql/queries/investor/portfolios.d.ts +0 -0
  60. /package/{extensions → artifacts}/graphql/queries/investor/portfolios.js +0 -0
  61. /package/{extensions → artifacts}/graphql/queries/investor/portfolios.ts +0 -0
  62. /package/{extensions → artifacts}/graphql/queries/investor/position.d.ts +0 -0
  63. /package/{extensions → artifacts}/graphql/queries/investor/position.js +0 -0
  64. /package/{extensions → artifacts}/graphql/queries/investor/position.ts +0 -0
  65. /package/{extensions → artifacts}/graphql/queries/investor/positions.d.ts +0 -0
  66. /package/{extensions → artifacts}/graphql/queries/investor/positions.js +0 -0
  67. /package/{extensions → artifacts}/graphql/queries/investor/positions.ts +0 -0
  68. /package/{extensions → artifacts}/graphql/queries/investor/securities.d.ts +0 -0
  69. /package/{extensions → artifacts}/graphql/queries/investor/securities.js +0 -0
  70. /package/{extensions → artifacts}/graphql/queries/investor/securities.ts +0 -0
  71. /package/{extensions → artifacts}/graphql/queries/investor/security.d.ts +0 -0
  72. /package/{extensions → artifacts}/graphql/queries/investor/security.js +0 -0
  73. /package/{extensions → artifacts}/graphql/queries/investor/security.ts +0 -0
  74. /package/{extensions → artifacts}/graphql/queries/ledger/accountRollups.d.ts +0 -0
  75. /package/{extensions → artifacts}/graphql/queries/ledger/accountRollups.js +0 -0
  76. /package/{extensions → artifacts}/graphql/queries/ledger/accountRollups.ts +0 -0
  77. /package/{extensions → artifacts}/graphql/queries/ledger/accountTree.d.ts +0 -0
  78. /package/{extensions → artifacts}/graphql/queries/ledger/accountTree.js +0 -0
  79. /package/{extensions → artifacts}/graphql/queries/ledger/accountTree.ts +0 -0
  80. /package/{extensions → artifacts}/graphql/queries/ledger/accounts.d.ts +0 -0
  81. /package/{extensions → artifacts}/graphql/queries/ledger/accounts.js +0 -0
  82. /package/{extensions → artifacts}/graphql/queries/ledger/accounts.ts +0 -0
  83. /package/{extensions → artifacts}/graphql/queries/ledger/closingBookStructures.d.ts +0 -0
  84. /package/{extensions → artifacts}/graphql/queries/ledger/closingBookStructures.js +0 -0
  85. /package/{extensions → artifacts}/graphql/queries/ledger/closingBookStructures.ts +0 -0
  86. /package/{extensions → artifacts}/graphql/queries/ledger/elements.d.ts +0 -0
  87. /package/{extensions → artifacts}/graphql/queries/ledger/elements.js +0 -0
  88. /package/{extensions → artifacts}/graphql/queries/ledger/elements.ts +0 -0
  89. /package/{extensions → artifacts}/graphql/queries/ledger/entities.d.ts +0 -0
  90. /package/{extensions → artifacts}/graphql/queries/ledger/entities.js +0 -0
  91. /package/{extensions → artifacts}/graphql/queries/ledger/entities.ts +0 -0
  92. /package/{extensions → artifacts}/graphql/queries/ledger/entity.d.ts +0 -0
  93. /package/{extensions → artifacts}/graphql/queries/ledger/entity.js +0 -0
  94. /package/{extensions → artifacts}/graphql/queries/ledger/entity.ts +0 -0
  95. /package/{extensions → artifacts}/graphql/queries/ledger/fiscalCalendar.d.ts +0 -0
  96. /package/{extensions → artifacts}/graphql/queries/ledger/fiscalCalendar.js +0 -0
  97. /package/{extensions → artifacts}/graphql/queries/ledger/fiscalCalendar.ts +0 -0
  98. /package/{extensions → artifacts}/graphql/queries/ledger/mappedTrialBalance.d.ts +0 -0
  99. /package/{extensions → artifacts}/graphql/queries/ledger/mappedTrialBalance.js +0 -0
  100. /package/{extensions → artifacts}/graphql/queries/ledger/mappedTrialBalance.ts +0 -0
  101. /package/{extensions → artifacts}/graphql/queries/ledger/mapping.d.ts +0 -0
  102. /package/{extensions → artifacts}/graphql/queries/ledger/mapping.js +0 -0
  103. /package/{extensions → artifacts}/graphql/queries/ledger/mapping.ts +0 -0
  104. /package/{extensions → artifacts}/graphql/queries/ledger/mappingCoverage.d.ts +0 -0
  105. /package/{extensions → artifacts}/graphql/queries/ledger/mappingCoverage.js +0 -0
  106. /package/{extensions → artifacts}/graphql/queries/ledger/mappingCoverage.ts +0 -0
  107. /package/{extensions → artifacts}/graphql/queries/ledger/mappings.d.ts +0 -0
  108. /package/{extensions → artifacts}/graphql/queries/ledger/mappings.js +0 -0
  109. /package/{extensions → artifacts}/graphql/queries/ledger/mappings.ts +0 -0
  110. /package/{extensions → artifacts}/graphql/queries/ledger/periodCloseStatus.d.ts +0 -0
  111. /package/{extensions → artifacts}/graphql/queries/ledger/periodCloseStatus.js +0 -0
  112. /package/{extensions → artifacts}/graphql/queries/ledger/periodCloseStatus.ts +0 -0
  113. /package/{extensions → artifacts}/graphql/queries/ledger/periodDrafts.d.ts +0 -0
  114. /package/{extensions → artifacts}/graphql/queries/ledger/periodDrafts.js +0 -0
  115. /package/{extensions → artifacts}/graphql/queries/ledger/periodDrafts.ts +0 -0
  116. /package/{extensions → artifacts}/graphql/queries/ledger/publishList.d.ts +0 -0
  117. /package/{extensions → artifacts}/graphql/queries/ledger/publishList.js +0 -0
  118. /package/{extensions → artifacts}/graphql/queries/ledger/publishList.ts +0 -0
  119. /package/{extensions → artifacts}/graphql/queries/ledger/publishLists.d.ts +0 -0
  120. /package/{extensions → artifacts}/graphql/queries/ledger/publishLists.js +0 -0
  121. /package/{extensions → artifacts}/graphql/queries/ledger/publishLists.ts +0 -0
  122. /package/{extensions → artifacts}/graphql/queries/ledger/report.d.ts +0 -0
  123. /package/{extensions → artifacts}/graphql/queries/ledger/report.js +0 -0
  124. /package/{extensions → artifacts}/graphql/queries/ledger/report.ts +0 -0
  125. /package/{extensions → artifacts}/graphql/queries/ledger/reportingTaxonomy.d.ts +0 -0
  126. /package/{extensions → artifacts}/graphql/queries/ledger/reportingTaxonomy.js +0 -0
  127. /package/{extensions → artifacts}/graphql/queries/ledger/reportingTaxonomy.ts +0 -0
  128. /package/{extensions → artifacts}/graphql/queries/ledger/reports.d.ts +0 -0
  129. /package/{extensions → artifacts}/graphql/queries/ledger/reports.js +0 -0
  130. /package/{extensions → artifacts}/graphql/queries/ledger/reports.ts +0 -0
  131. /package/{extensions → artifacts}/graphql/queries/ledger/scheduleFacts.d.ts +0 -0
  132. /package/{extensions → artifacts}/graphql/queries/ledger/scheduleFacts.js +0 -0
  133. /package/{extensions → artifacts}/graphql/queries/ledger/scheduleFacts.ts +0 -0
  134. /package/{extensions → artifacts}/graphql/queries/ledger/schedules.d.ts +0 -0
  135. /package/{extensions → artifacts}/graphql/queries/ledger/schedules.js +0 -0
  136. /package/{extensions → artifacts}/graphql/queries/ledger/schedules.ts +0 -0
  137. /package/{extensions → artifacts}/graphql/queries/ledger/statement.d.ts +0 -0
  138. /package/{extensions → artifacts}/graphql/queries/ledger/statement.js +0 -0
  139. /package/{extensions → artifacts}/graphql/queries/ledger/statement.ts +0 -0
  140. /package/{extensions → artifacts}/graphql/queries/ledger/structures.d.ts +0 -0
  141. /package/{extensions → artifacts}/graphql/queries/ledger/structures.js +0 -0
  142. /package/{extensions → artifacts}/graphql/queries/ledger/structures.ts +0 -0
  143. /package/{extensions → artifacts}/graphql/queries/ledger/summary.d.ts +0 -0
  144. /package/{extensions → artifacts}/graphql/queries/ledger/summary.js +0 -0
  145. /package/{extensions → artifacts}/graphql/queries/ledger/summary.ts +0 -0
  146. /package/{extensions → artifacts}/graphql/queries/ledger/taxonomies.d.ts +0 -0
  147. /package/{extensions → artifacts}/graphql/queries/ledger/taxonomies.js +0 -0
  148. /package/{extensions → artifacts}/graphql/queries/ledger/taxonomies.ts +0 -0
  149. /package/{extensions → artifacts}/graphql/queries/ledger/transaction.d.ts +0 -0
  150. /package/{extensions → artifacts}/graphql/queries/ledger/transaction.js +0 -0
  151. /package/{extensions → artifacts}/graphql/queries/ledger/transaction.ts +0 -0
  152. /package/{extensions → artifacts}/graphql/queries/ledger/transactions.d.ts +0 -0
  153. /package/{extensions → artifacts}/graphql/queries/ledger/transactions.js +0 -0
  154. /package/{extensions → artifacts}/graphql/queries/ledger/transactions.ts +0 -0
  155. /package/{extensions → artifacts}/graphql/queries/ledger/trialBalance.d.ts +0 -0
  156. /package/{extensions → artifacts}/graphql/queries/ledger/trialBalance.js +0 -0
  157. /package/{extensions → artifacts}/graphql/queries/ledger/trialBalance.ts +0 -0
  158. /package/{extensions → artifacts}/graphql/queries/ledger/unmappedElements.d.ts +0 -0
  159. /package/{extensions → artifacts}/graphql/queries/ledger/unmappedElements.js +0 -0
  160. /package/{extensions → artifacts}/graphql/queries/ledger/unmappedElements.ts +0 -0
  161. /package/{extensions → artifacts}/hooks.d.ts +0 -0
@@ -737,25 +737,6 @@ export type BackupResponse = {
737
737
  */
738
738
  expires_at: string | null;
739
739
  };
740
- /**
741
- * BackupRestoreRequest
742
- *
743
- * Request model for restoring from a backup.
744
- */
745
- export type BackupRestoreRequest = {
746
- /**
747
- * Create System Backup
748
- *
749
- * Create a system backup of existing database before restore
750
- */
751
- create_system_backup?: boolean;
752
- /**
753
- * Verify After Restore
754
- *
755
- * Verify database integrity after restore
756
- */
757
- verify_after_restore?: boolean;
758
- };
759
740
  /**
760
741
  * BackupStatsResponse
761
742
  *
@@ -896,6 +877,64 @@ export type BillingCustomer = {
896
877
  */
897
878
  created_at: string;
898
879
  };
880
+ /**
881
+ * BulkAssociationItem
882
+ *
883
+ * A single association within a bulk-create payload. The parent
884
+ * `structure_id` is set once on the request envelope, not repeated
885
+ * per item.
886
+ */
887
+ export type BulkAssociationItem = {
888
+ /**
889
+ * From Element Id
890
+ */
891
+ from_element_id: string;
892
+ /**
893
+ * To Element Id
894
+ */
895
+ to_element_id: string;
896
+ /**
897
+ * Association Type
898
+ */
899
+ association_type?: 'presentation' | 'calculation' | 'mapping';
900
+ /**
901
+ * Arcrole
902
+ */
903
+ arcrole?: string | null;
904
+ /**
905
+ * Order Value
906
+ */
907
+ order_value?: number | null;
908
+ /**
909
+ * Weight
910
+ */
911
+ weight?: number | null;
912
+ /**
913
+ * Confidence
914
+ */
915
+ confidence?: number | null;
916
+ /**
917
+ * Suggested By
918
+ */
919
+ suggested_by?: string | null;
920
+ };
921
+ /**
922
+ * BulkCreateAssociationsRequest
923
+ *
924
+ * Bulk create associations within a single structure. Atomic — any
925
+ * failed row rolls back the whole batch. Handles 50+ presentation arcs,
926
+ * 25+ calculation arcs, or a full table linkbase in one call.
927
+ */
928
+ export type BulkCreateAssociationsRequest = {
929
+ /**
930
+ * Structure Id
931
+ */
932
+ structure_id: string;
933
+ /**
934
+ * Associations
935
+ */
936
+ associations: Array<BulkAssociationItem>;
937
+ };
899
938
  /**
900
939
  * BulkDocumentUploadRequest
901
940
  *
@@ -1375,6 +1414,86 @@ export type CreateConnectionRequest = {
1375
1414
  sec_config?: SecConnectionConfig | null;
1376
1415
  quickbooks_config?: QuickBooksConnectionConfig | null;
1377
1416
  };
1417
+ /**
1418
+ * CreateElementRequest
1419
+ *
1420
+ * Create a new Element within a taxonomy. For chart-of-accounts
1421
+ * taxonomies this is how native accounts are added.
1422
+ */
1423
+ export type CreateElementRequest = {
1424
+ /**
1425
+ * Taxonomy Id
1426
+ */
1427
+ taxonomy_id: string;
1428
+ /**
1429
+ * Code
1430
+ */
1431
+ code?: string | null;
1432
+ /**
1433
+ * Name
1434
+ */
1435
+ name: string;
1436
+ /**
1437
+ * Description
1438
+ */
1439
+ description?: string | null;
1440
+ /**
1441
+ * Classification
1442
+ */
1443
+ classification: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense';
1444
+ /**
1445
+ * Sub Classification
1446
+ */
1447
+ sub_classification?: string | null;
1448
+ /**
1449
+ * Balance Type
1450
+ */
1451
+ balance_type?: 'debit' | 'credit';
1452
+ /**
1453
+ * Period Type
1454
+ */
1455
+ period_type?: 'duration' | 'instant';
1456
+ /**
1457
+ * Element Type
1458
+ */
1459
+ element_type?: 'concept' | 'abstract' | 'axis' | 'member' | 'hypercube';
1460
+ /**
1461
+ * Is Abstract
1462
+ */
1463
+ is_abstract?: boolean;
1464
+ /**
1465
+ * Is Monetary
1466
+ */
1467
+ is_monetary?: boolean;
1468
+ /**
1469
+ * Parent Id
1470
+ */
1471
+ parent_id?: string | null;
1472
+ /**
1473
+ * Source
1474
+ */
1475
+ source?: 'native' | 'sfac6' | 'us-gaap' | 'ifrs' | 'quickbooks' | 'xero' | 'plaid' | 'import';
1476
+ /**
1477
+ * Currency
1478
+ */
1479
+ currency?: string;
1480
+ /**
1481
+ * Qname
1482
+ */
1483
+ qname?: string | null;
1484
+ /**
1485
+ * Namespace
1486
+ */
1487
+ namespace?: string | null;
1488
+ /**
1489
+ * External Id
1490
+ */
1491
+ external_id?: string | null;
1492
+ /**
1493
+ * External Source
1494
+ */
1495
+ external_source?: string | null;
1496
+ };
1378
1497
  /**
1379
1498
  * CreateGraphRequest
1380
1499
  *
@@ -1416,6 +1535,46 @@ export type CreateGraphRequest = {
1416
1535
  */
1417
1536
  tags?: Array<string>;
1418
1537
  };
1538
+ /**
1539
+ * CreateJournalEntryRequest
1540
+ *
1541
+ * Create a new journal entry with balanced line items.
1542
+ *
1543
+ * Defaults to `status='draft'` for ongoing native writes (the normal
1544
+ * workflow: draft → review → post via close-period). Pass
1545
+ * `status='posted'` for historical data import where entries represent
1546
+ * already-happened business events that don't need review.
1547
+ *
1548
+ * Total debit amount must equal total credit amount or the request
1549
+ * is rejected with 422. `line_items` must contain at least two rows
1550
+ * (at least one debit, at least one credit).
1551
+ */
1552
+ export type CreateJournalEntryRequest = {
1553
+ /**
1554
+ * Posting Date
1555
+ */
1556
+ posting_date: string;
1557
+ /**
1558
+ * Memo
1559
+ */
1560
+ memo: string;
1561
+ /**
1562
+ * Line Items
1563
+ */
1564
+ line_items: Array<JournalEntryLineItemInput>;
1565
+ /**
1566
+ * Type
1567
+ */
1568
+ type?: 'standard' | 'adjusting' | 'closing' | 'reversing';
1569
+ /**
1570
+ * Status
1571
+ */
1572
+ status?: 'draft' | 'posted';
1573
+ /**
1574
+ * Transaction Id
1575
+ */
1576
+ transaction_id?: string | null;
1577
+ };
1419
1578
  /**
1420
1579
  * CreateManualClosingEntryRequest
1421
1580
  */
@@ -2162,6 +2321,36 @@ export type DatabaseHealthResponse = {
2162
2321
  * Active alerts or warnings
2163
2322
  */
2164
2323
  alerts?: Array<string>;
2324
+ /**
2325
+ * Is Stale
2326
+ *
2327
+ * Whether the graph has staged changes not yet materialized
2328
+ */
2329
+ is_stale?: boolean;
2330
+ /**
2331
+ * Stale Reason
2332
+ *
2333
+ * Reason the graph was marked stale (e.g. 'file_deleted: data.parquet')
2334
+ */
2335
+ stale_reason?: string | null;
2336
+ /**
2337
+ * Stale Since
2338
+ *
2339
+ * ISO timestamp when the graph became stale
2340
+ */
2341
+ stale_since?: string | null;
2342
+ /**
2343
+ * Last Materialized At
2344
+ *
2345
+ * ISO timestamp of the last successful materialization
2346
+ */
2347
+ last_materialized_at?: string | null;
2348
+ /**
2349
+ * Hours Since Materialization
2350
+ *
2351
+ * Hours elapsed since last materialization
2352
+ */
2353
+ hours_since_materialization?: number | null;
2165
2354
  };
2166
2355
  /**
2167
2356
  * DatabaseInfoResponse
@@ -2279,6 +2468,30 @@ export type DatabaseStorageEntry = {
2279
2468
  */
2280
2469
  size_mb?: number | null;
2281
2470
  };
2471
+ /**
2472
+ * DeleteAssociationRequest
2473
+ *
2474
+ * Hard delete — associations are edges and are cheap to recreate.
2475
+ */
2476
+ export type DeleteAssociationRequest = {
2477
+ /**
2478
+ * Association Id
2479
+ */
2480
+ association_id: string;
2481
+ };
2482
+ /**
2483
+ * DeleteElementRequest
2484
+ *
2485
+ * Soft delete — sets `is_active=false`. Historical line items
2486
+ * referencing this element remain valid; new line items cannot use an
2487
+ * inactive element.
2488
+ */
2489
+ export type DeleteElementRequest = {
2490
+ /**
2491
+ * Element Id
2492
+ */
2493
+ element_id: string;
2494
+ };
2282
2495
  /**
2283
2496
  * DeleteFileResponse
2284
2497
  */
@@ -2326,6 +2539,18 @@ export type DeleteFileResponse = {
2326
2539
  */
2327
2540
  graph_marked_stale?: boolean;
2328
2541
  };
2542
+ /**
2543
+ * DeleteJournalEntryRequest
2544
+ *
2545
+ * Hard delete a draft journal entry. Posted entries cannot be
2546
+ * deleted — reverse them instead.
2547
+ */
2548
+ export type DeleteJournalEntryRequest = {
2549
+ /**
2550
+ * Entry Id
2551
+ */
2552
+ entry_id: string;
2553
+ };
2329
2554
  /**
2330
2555
  * DeleteMappingAssociationOperation
2331
2556
  */
@@ -2375,6 +2600,22 @@ export type DeleteReportOperation = {
2375
2600
  */
2376
2601
  report_id: string;
2377
2602
  };
2603
+ /**
2604
+ * DeleteScheduleRequest
2605
+ *
2606
+ * Delete a schedule — cascades through facts and associations.
2607
+ *
2608
+ * Hard deletes the Structure, all Facts tied to it, and all
2609
+ * Associations tied to it. This is a permanent, irreversible
2610
+ * operation. For ending a schedule early without removing history,
2611
+ * use truncate-schedule instead.
2612
+ */
2613
+ export type DeleteScheduleRequest = {
2614
+ /**
2615
+ * Structure Id
2616
+ */
2617
+ structure_id: string;
2618
+ };
2378
2619
  /**
2379
2620
  * DeleteSecurityOperation
2380
2621
  */
@@ -2385,66 +2626,52 @@ export type DeleteSecurityOperation = {
2385
2626
  security_id: string;
2386
2627
  };
2387
2628
  /**
2388
- * DeleteSubgraphRequest
2629
+ * DeleteStructureRequest
2389
2630
  *
2390
- * Request model for deleting a subgraph.
2631
+ * Soft delete sets `is_active=false`.
2391
2632
  */
2392
- export type DeleteSubgraphRequest = {
2393
- /**
2394
- * Force
2395
- *
2396
- * Force deletion even if subgraph contains data
2397
- */
2398
- force?: boolean;
2399
- /**
2400
- * Backup First
2401
- *
2402
- * Create a backup before deletion
2403
- */
2404
- backup_first?: boolean;
2633
+ export type DeleteStructureRequest = {
2405
2634
  /**
2406
- * Backup Location
2407
- *
2408
- * S3 location for backup (uses default if not specified)
2635
+ * Structure Id
2409
2636
  */
2410
- backup_location?: string | null;
2637
+ structure_id: string;
2411
2638
  };
2412
2639
  /**
2413
- * DeleteSubgraphResponse
2640
+ * DeleteSubgraphOp
2414
2641
  *
2415
- * Response model for subgraph deletion.
2642
+ * Body for the delete-subgraph operation.
2416
2643
  */
2417
- export type DeleteSubgraphResponse = {
2418
- /**
2419
- * Graph Id
2420
- *
2421
- * Deleted subgraph identifier
2422
- */
2423
- graph_id: string;
2644
+ export type DeleteSubgraphOp = {
2424
2645
  /**
2425
- * Status
2646
+ * Subgraph Name
2426
2647
  *
2427
- * Deletion status
2648
+ * Subgraph name to delete (e.g., 'dev', 'staging')
2428
2649
  */
2429
- status: string;
2650
+ subgraph_name: string;
2430
2651
  /**
2431
- * Backup Location
2652
+ * Force
2432
2653
  *
2433
- * Location of backup if created
2654
+ * Delete even if subgraph contains data
2434
2655
  */
2435
- backup_location?: string | null;
2656
+ force?: boolean;
2436
2657
  /**
2437
- * Deleted At
2658
+ * Backup First
2438
2659
  *
2439
- * When deletion occurred
2660
+ * Create a backup before deleting
2440
2661
  */
2441
- deleted_at: string;
2662
+ backup_first?: boolean;
2663
+ };
2664
+ /**
2665
+ * DeleteTaxonomyRequest
2666
+ *
2667
+ * Soft delete — sets `is_active=false`. Historical references remain
2668
+ * valid.
2669
+ */
2670
+ export type DeleteTaxonomyRequest = {
2442
2671
  /**
2443
- * Message
2444
- *
2445
- * Additional information about the deletion
2672
+ * Taxonomy Id
2446
2673
  */
2447
- message?: string | null;
2674
+ taxonomy_id: string;
2448
2675
  };
2449
2676
  /**
2450
2677
  * DetailedTransactionsResponse
@@ -4282,35 +4509,88 @@ export type InvoicesResponse = {
4282
4509
  has_more: boolean;
4283
4510
  };
4284
4511
  /**
4285
- * ListSubgraphsResponse
4512
+ * JournalEntryLineItemInput
4286
4513
  *
4287
- * Response model for listing subgraphs.
4514
+ * One debit/credit line in a journal entry create/update payload.
4515
+ *
4516
+ * Exactly one of `debit_amount` / `credit_amount` must be non-zero; the
4517
+ * other must be zero. Amounts are in minor currency units (cents).
4288
4518
  */
4289
- export type ListSubgraphsResponse = {
4519
+ export type JournalEntryLineItemInput = {
4290
4520
  /**
4291
- * Parent Graph Id
4292
- *
4293
- * Parent graph identifier
4521
+ * Element Id
4294
4522
  */
4295
- parent_graph_id: string;
4523
+ element_id: string;
4296
4524
  /**
4297
- * Parent Graph Name
4298
- *
4299
- * Parent graph name
4525
+ * Debit Amount
4300
4526
  */
4301
- parent_graph_name: string;
4527
+ debit_amount?: number;
4302
4528
  /**
4303
- * Parent Graph Tier
4304
- *
4305
- * Parent graph tier
4529
+ * Credit Amount
4306
4530
  */
4307
- parent_graph_tier: string;
4531
+ credit_amount?: number;
4308
4532
  /**
4309
- * Subgraphs Enabled
4310
- *
4311
- * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge)
4533
+ * Description
4312
4534
  */
4313
- subgraphs_enabled: boolean;
4535
+ description?: string | null;
4536
+ };
4537
+ /**
4538
+ * LinkEntityTaxonomyRequest
4539
+ *
4540
+ * Link an entity to a taxonomy (creates the ENTITY_HAS_TAXONOMY edge).
4541
+ *
4542
+ * This is how a graph declares "this entity reports under this taxonomy."
4543
+ * For chart_of_accounts taxonomies, this tells the platform which CoA the
4544
+ * entity uses. For reporting taxonomies, which standard (us-gaap, ifrs).
4545
+ */
4546
+ export type LinkEntityTaxonomyRequest = {
4547
+ /**
4548
+ * Taxonomy Id
4549
+ */
4550
+ taxonomy_id: string;
4551
+ /**
4552
+ * Basis
4553
+ */
4554
+ basis?: 'reporting' | 'chart_of_accounts' | 'mapping' | 'schedule';
4555
+ /**
4556
+ * Is Primary
4557
+ */
4558
+ is_primary?: boolean;
4559
+ /**
4560
+ * Adoption Context
4561
+ */
4562
+ adoption_context?: string | null;
4563
+ };
4564
+ /**
4565
+ * ListSubgraphsResponse
4566
+ *
4567
+ * Response model for listing subgraphs.
4568
+ */
4569
+ export type ListSubgraphsResponse = {
4570
+ /**
4571
+ * Parent Graph Id
4572
+ *
4573
+ * Parent graph identifier
4574
+ */
4575
+ parent_graph_id: string;
4576
+ /**
4577
+ * Parent Graph Name
4578
+ *
4579
+ * Parent graph name
4580
+ */
4581
+ parent_graph_name: string;
4582
+ /**
4583
+ * Parent Graph Tier
4584
+ *
4585
+ * Parent graph tier
4586
+ */
4587
+ parent_graph_tier: string;
4588
+ /**
4589
+ * Subgraphs Enabled
4590
+ *
4591
+ * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge)
4592
+ */
4593
+ subgraphs_enabled: boolean;
4314
4594
  /**
4315
4595
  * Subgraph Count
4316
4596
  *
@@ -4454,138 +4734,48 @@ export type ManualLineItemRequest = {
4454
4734
  description?: string | null;
4455
4735
  };
4456
4736
  /**
4457
- * MaterializeRequest
4737
+ * MaterializeOp
4738
+ *
4739
+ * Body for the materialize operation.
4458
4740
  */
4459
- export type MaterializeRequest = {
4741
+ export type MaterializeOp = {
4460
4742
  /**
4461
4743
  * Force
4462
4744
  *
4463
- * Force materialization even if graph is not stale
4745
+ * Force materialization even if already up to date
4464
4746
  */
4465
4747
  force?: boolean;
4466
4748
  /**
4467
4749
  * Rebuild
4468
4750
  *
4469
- * Delete and recreate graph database before materialization
4751
+ * Rebuild the graph from scratch, dropping existing data
4470
4752
  */
4471
4753
  rebuild?: boolean;
4472
4754
  /**
4473
4755
  * Ignore Errors
4474
4756
  *
4475
- * Continue ingestion on row errors
4757
+ * Continue past non-fatal row errors
4476
4758
  */
4477
4759
  ignore_errors?: boolean;
4478
4760
  /**
4479
4761
  * Dry Run
4480
4762
  *
4481
- * Validate limits without executing materialization. Returns usage, limits, and warnings.
4763
+ * Validate tables without writing to the graph
4482
4764
  */
4483
4765
  dry_run?: boolean;
4484
4766
  /**
4485
4767
  * Source
4486
4768
  *
4487
- * Data source for materialization. Auto-detected from graph type if not specified. 'staged' materializes from uploaded files (generic graphs). 'extensions' materializes from the extensions OLTP database (entity graphs).
4769
+ * Materialization source: 'extensions' for OLTP, omit for DuckDB staging tables
4488
4770
  */
4489
4771
  source?: string | null;
4490
4772
  /**
4491
4773
  * Materialize Embeddings
4492
4774
  *
4493
- * Include embedding columns in materialization and build HNSW vector indexes in the graph database. When false (default), embedding columns are NULLed out to save space. Set to true for graphs that need vector search.
4775
+ * Generate vector embeddings during materialization
4494
4776
  */
4495
4777
  materialize_embeddings?: boolean;
4496
4778
  };
4497
- /**
4498
- * MaterializeResponse
4499
- *
4500
- * Response for queued materialization operation.
4501
- */
4502
- export type MaterializeResponse = {
4503
- /**
4504
- * Status
4505
- *
4506
- * Operation status
4507
- */
4508
- status?: string;
4509
- /**
4510
- * Graph Id
4511
- *
4512
- * Graph database identifier
4513
- */
4514
- graph_id: string;
4515
- /**
4516
- * Operation Id
4517
- *
4518
- * SSE operation ID for progress tracking
4519
- */
4520
- operation_id: string;
4521
- /**
4522
- * Message
4523
- *
4524
- * Human-readable status message
4525
- */
4526
- message: string;
4527
- /**
4528
- * Limit Check
4529
- *
4530
- * Limit check results (only present for dry_run requests)
4531
- */
4532
- limit_check?: {
4533
- [key: string]: unknown;
4534
- } | null;
4535
- };
4536
- /**
4537
- * MaterializeStatusResponse
4538
- */
4539
- export type MaterializeStatusResponse = {
4540
- /**
4541
- * Graph Id
4542
- *
4543
- * Graph database identifier
4544
- */
4545
- graph_id: string;
4546
- /**
4547
- * Is Stale
4548
- *
4549
- * Whether graph is currently stale
4550
- */
4551
- is_stale: boolean;
4552
- /**
4553
- * Stale Reason
4554
- *
4555
- * Reason for staleness if applicable
4556
- */
4557
- stale_reason?: string | null;
4558
- /**
4559
- * Stale Since
4560
- *
4561
- * When graph became stale (ISO timestamp)
4562
- */
4563
- stale_since?: string | null;
4564
- /**
4565
- * Last Materialized At
4566
- *
4567
- * When graph was last materialized (ISO timestamp)
4568
- */
4569
- last_materialized_at?: string | null;
4570
- /**
4571
- * Materialization Count
4572
- *
4573
- * Total number of materializations performed
4574
- */
4575
- materialization_count?: number;
4576
- /**
4577
- * Hours Since Materialization
4578
- *
4579
- * Hours since last materialization
4580
- */
4581
- hours_since_materialization?: number | null;
4582
- /**
4583
- * Message
4584
- *
4585
- * Human-readable status summary
4586
- */
4587
- message: string;
4588
- };
4589
4779
  /**
4590
4780
  * OAuthCallbackRequest
4591
4781
  *
@@ -4770,28 +4960,33 @@ export type OperationCosts = {
4770
4960
  /**
4771
4961
  * OperationEnvelope
4772
4962
  *
4773
- * Uniform response shape for every extensions operation endpoint.
4963
+ * Uniform response shape for every operation endpoint.
4774
4964
  *
4775
- * Every dispatch through `/extensions/{domain}/{graph_id}/operations/{op}`
4776
- * returns an envelope carrying an `op_<ULID>` operation_id. That id is the
4777
- * bridge to the platform's monitoring surface: pass it to
4778
- * `GET /v1/operations/{operation_id}/stream` (see `routers/operations.py`)
4779
- * to subscribe to SSE progress events. Sync commands complete in the
4780
- * envelope itself; async commands (`status: "pending"`, HTTP 202) hand off
4781
- * to a background worker and stream their tail through the same SSE
4782
- * endpoint until completion. Failed dispatches still mint an `operation_id`
4783
- * so the audit log and any partial SSE events stay correlatable.
4965
+ * Every dispatch through an operation surface returns an envelope carrying
4966
+ * an ``op_<ULID>`` operation_id. That id is the bridge to the platform's
4967
+ * monitoring surface: pass it to
4968
+ * ``GET /v1/operations/{operation_id}/stream`` (see ``routers/operations.py``)
4969
+ * to subscribe to SSE progress events. Sync commands complete in the
4970
+ * envelope itself; async commands (``status: "pending"``, HTTP 202) hand
4971
+ * off to a background worker and stream their tail through the same SSE
4972
+ * endpoint until completion. Failed dispatches still mint an
4973
+ * ``operation_id`` so the audit log and any partial SSE events stay
4974
+ * correlatable.
4784
4975
  *
4785
4976
  * Fields:
4786
- * - `operation`: kebab-case command name (e.g. `close-period`)
4787
- * - `operation_id`: `op_`-prefixed ULID; always present, usable for audit
4788
- * correlation and — for async commands — SSE subscription via
4789
- * `/v1/operations/{operation_id}/stream`
4790
- * - `status`: `"completed"` (sync, HTTP 200), `"pending"` (async, HTTP 202),
4791
- * or `"failed"` (error responses)
4792
- * - `result`: the domain-specific payload (the original Pydantic response)
4793
- * or `None` for async/failed cases
4794
- * - `at`: ISO-8601 UTC timestamp of when the envelope was minted
4977
+ * - ``operation``: kebab-case command name (e.g. ``close-period``)
4978
+ * - ``operation_id``: ``op_``-prefixed ULID; always present, usable for
4979
+ * audit correlation and — for async commands — SSE subscription via
4980
+ * ``/v1/operations/{operation_id}/stream``
4981
+ * - ``status``: ``"completed"`` (sync, HTTP 200), ``"pending"``
4982
+ * (async, HTTP 202), or ``"failed"`` (error responses)
4983
+ * - ``result``: the domain-specific payload (the original Pydantic
4984
+ * response) or ``None`` for async/failed cases
4985
+ * - ``at``: ISO-8601 UTC timestamp of when the envelope was minted
4986
+ * - ``created_by``: user ID of the caller who initiated this operation
4987
+ * - ``idempotent_replay``: ``True`` when the dispatcher returned this
4988
+ * envelope from the idempotency cache (the underlying command did NOT
4989
+ * execute again)
4795
4990
  */
4796
4991
  export type OperationEnvelope = {
4797
4992
  /**
@@ -4826,6 +5021,18 @@ export type OperationEnvelope = {
4826
5021
  * ISO-8601 UTC timestamp
4827
5022
  */
4828
5023
  at: string;
5024
+ /**
5025
+ * Createdby
5026
+ *
5027
+ * User ID that initiated the operation (null for legacy callers)
5028
+ */
5029
+ createdBy?: string | null;
5030
+ /**
5031
+ * Idempotentreplay
5032
+ *
5033
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
5034
+ */
5035
+ idempotentReplay?: boolean;
4829
5036
  };
4830
5037
  /**
4831
5038
  * OrgDetailResponse
@@ -5578,6 +5785,59 @@ export type ResetPasswordValidateResponse = {
5578
5785
  * Response modes for execution.
5579
5786
  */
5580
5787
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
5788
+ /**
5789
+ * RestoreBackupOp
5790
+ *
5791
+ * Body for the restore-backup operation.
5792
+ */
5793
+ export type RestoreBackupOp = {
5794
+ /**
5795
+ * Backup Id
5796
+ *
5797
+ * Backup identifier to restore from
5798
+ */
5799
+ backup_id: string;
5800
+ /**
5801
+ * Create System Backup
5802
+ *
5803
+ * Create a system backup of existing database before restore
5804
+ */
5805
+ create_system_backup?: boolean;
5806
+ /**
5807
+ * Verify After Restore
5808
+ *
5809
+ * Verify database integrity after restore
5810
+ */
5811
+ verify_after_restore?: boolean;
5812
+ };
5813
+ /**
5814
+ * ReverseJournalEntryRequest
5815
+ *
5816
+ * Reverse a posted journal entry.
5817
+ *
5818
+ * Creates a new entry whose line items flip the originals
5819
+ * (debits → credits, credits → debits), sets `reversal_of` on the new
5820
+ * entry to the original's id, marks the original as
5821
+ * `status='reversed'`, and posts the reversing entry immediately.
5822
+ *
5823
+ * This is how accountants correct posted entries — the original stays
5824
+ * in the audit trail, the reversal cancels its effect, and a
5825
+ * corrected entry can be created separately.
5826
+ */
5827
+ export type ReverseJournalEntryRequest = {
5828
+ /**
5829
+ * Entry Id
5830
+ */
5831
+ entry_id: string;
5832
+ /**
5833
+ * Posting Date
5834
+ */
5835
+ posting_date?: string | null;
5836
+ /**
5837
+ * Memo
5838
+ */
5839
+ memo?: string | null;
5840
+ };
5581
5841
  /**
5582
5842
  * SECConnectionConfig
5583
5843
  *
@@ -6748,6 +7008,85 @@ export type UpdateApiKeyRequest = {
6748
7008
  */
6749
7009
  description?: string | null;
6750
7010
  };
7011
+ /**
7012
+ * UpdateAssociationRequest
7013
+ *
7014
+ * Update mutable fields on an association. `from_element_id`,
7015
+ * `to_element_id`, and `association_type` are immutable — delete and
7016
+ * recreate instead.
7017
+ */
7018
+ export type UpdateAssociationRequest = {
7019
+ /**
7020
+ * Association Id
7021
+ */
7022
+ association_id: string;
7023
+ /**
7024
+ * Order Value
7025
+ */
7026
+ order_value?: number | null;
7027
+ /**
7028
+ * Weight
7029
+ */
7030
+ weight?: number | null;
7031
+ /**
7032
+ * Confidence
7033
+ */
7034
+ confidence?: number | null;
7035
+ /**
7036
+ * Approved By
7037
+ */
7038
+ approved_by?: string | null;
7039
+ };
7040
+ /**
7041
+ * UpdateElementRequest
7042
+ *
7043
+ * Update mutable fields on an element. `taxonomy_id` and `source` are
7044
+ * immutable. `parent_id` honors `model_dump(exclude_unset=True)` semantics:
7045
+ * omit the field to leave unchanged, pass `null` to clear the parent
7046
+ * (make root).
7047
+ */
7048
+ export type UpdateElementRequest = {
7049
+ /**
7050
+ * Element Id
7051
+ */
7052
+ element_id: string;
7053
+ /**
7054
+ * Code
7055
+ */
7056
+ code?: string | null;
7057
+ /**
7058
+ * Name
7059
+ */
7060
+ name?: string | null;
7061
+ /**
7062
+ * Description
7063
+ */
7064
+ description?: string | null;
7065
+ /**
7066
+ * Classification
7067
+ */
7068
+ classification?: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense' | null;
7069
+ /**
7070
+ * Sub Classification
7071
+ */
7072
+ sub_classification?: string | null;
7073
+ /**
7074
+ * Balance Type
7075
+ */
7076
+ balance_type?: 'debit' | 'credit' | null;
7077
+ /**
7078
+ * Period Type
7079
+ */
7080
+ period_type?: 'duration' | 'instant' | null;
7081
+ /**
7082
+ * Parent Id
7083
+ */
7084
+ parent_id?: string | null;
7085
+ /**
7086
+ * Currency
7087
+ */
7088
+ currency?: string | null;
7089
+ };
6751
7090
  /**
6752
7091
  * UpdateEntityRequest
6753
7092
  *
@@ -6843,6 +7182,39 @@ export type UpdateEntityRequest = {
6843
7182
  */
6844
7183
  address_country?: string | null;
6845
7184
  };
7185
+ /**
7186
+ * UpdateJournalEntryRequest
7187
+ *
7188
+ * Update a draft journal entry. Posted entries cannot be updated —
7189
+ * create a reversal and a corrected entry instead.
7190
+ *
7191
+ * Omitted fields are left unchanged. If `line_items` is provided, the
7192
+ * existing line items are replaced entirely (atomic delete + insert)
7193
+ * and the new set must still balance. If `line_items` is omitted, the
7194
+ * existing line items are left untouched.
7195
+ */
7196
+ export type UpdateJournalEntryRequest = {
7197
+ /**
7198
+ * Entry Id
7199
+ */
7200
+ entry_id: string;
7201
+ /**
7202
+ * Posting Date
7203
+ */
7204
+ posting_date?: string | null;
7205
+ /**
7206
+ * Memo
7207
+ */
7208
+ memo?: string | null;
7209
+ /**
7210
+ * Type
7211
+ */
7212
+ type?: 'standard' | 'adjusting' | 'closing' | 'reversing' | null;
7213
+ /**
7214
+ * Line Items
7215
+ */
7216
+ line_items?: Array<JournalEntryLineItemInput> | null;
7217
+ };
6846
7218
  /**
6847
7219
  * UpdateMemberRoleRequest
6848
7220
  *
@@ -6983,6 +7355,32 @@ export type UpdatePublishListOperation = {
6983
7355
  */
6984
7356
  list_id: string;
6985
7357
  };
7358
+ /**
7359
+ * UpdateScheduleRequest
7360
+ *
7361
+ * Update mutable fields on a schedule.
7362
+ *
7363
+ * Editable: name, entry_template, schedule_metadata (all live on the
7364
+ * Structure row / its metadata_ JSONB column).
7365
+ *
7366
+ * NOT editable via this op: period_start, period_end, monthly_amount.
7367
+ * Those require fact regeneration — use truncate-schedule (end early)
7368
+ * and create-schedule (start new) instead.
7369
+ *
7370
+ * Omitted fields are left unchanged.
7371
+ */
7372
+ export type UpdateScheduleRequest = {
7373
+ /**
7374
+ * Structure Id
7375
+ */
7376
+ structure_id: string;
7377
+ /**
7378
+ * Name
7379
+ */
7380
+ name?: string | null;
7381
+ entry_template?: EntryTemplateRequest | null;
7382
+ schedule_metadata?: ScheduleMetadataRequest | null;
7383
+ };
6986
7384
  /**
6987
7385
  * UpdateSecurityOperation
6988
7386
  */
@@ -7031,13 +7429,59 @@ export type UpdateSecurityOperation = {
7031
7429
  security_id: string;
7032
7430
  };
7033
7431
  /**
7034
- * UpdateUserRequest
7432
+ * UpdateStructureRequest
7035
7433
  *
7036
- * Request model for updating user profile.
7434
+ * Update mutable fields on a structure. `structure_type` and
7435
+ * `taxonomy_id` are immutable.
7037
7436
  */
7038
- export type UpdateUserRequest = {
7437
+ export type UpdateStructureRequest = {
7039
7438
  /**
7040
- * Name
7439
+ * Structure Id
7440
+ */
7441
+ structure_id: string;
7442
+ /**
7443
+ * Name
7444
+ */
7445
+ name?: string | null;
7446
+ /**
7447
+ * Description
7448
+ */
7449
+ description?: string | null;
7450
+ };
7451
+ /**
7452
+ * UpdateTaxonomyRequest
7453
+ *
7454
+ * Update mutable fields on a taxonomy. `taxonomy_type` is immutable —
7455
+ * changing it is not the same operation as editing a taxonomy; deactivate
7456
+ * and create a new one instead. Only provided (non-null) fields are
7457
+ * applied.
7458
+ */
7459
+ export type UpdateTaxonomyRequest = {
7460
+ /**
7461
+ * Taxonomy Id
7462
+ */
7463
+ taxonomy_id: string;
7464
+ /**
7465
+ * Name
7466
+ */
7467
+ name?: string | null;
7468
+ /**
7469
+ * Description
7470
+ */
7471
+ description?: string | null;
7472
+ /**
7473
+ * Version
7474
+ */
7475
+ version?: string | null;
7476
+ };
7477
+ /**
7478
+ * UpdateUserRequest
7479
+ *
7480
+ * Request model for updating user profile.
7481
+ */
7482
+ export type UpdateUserRequest = {
7483
+ /**
7484
+ * Name
7041
7485
  *
7042
7486
  * User's display name
7043
7487
  */
@@ -7062,6 +7506,19 @@ export type UpgradeSubscriptionRequest = {
7062
7506
  */
7063
7507
  new_plan_name: string;
7064
7508
  };
7509
+ /**
7510
+ * UpgradeTierOp
7511
+ *
7512
+ * Body for the upgrade-tier operation.
7513
+ */
7514
+ export type UpgradeTierOp = {
7515
+ /**
7516
+ * New Tier
7517
+ *
7518
+ * Target infrastructure tier
7519
+ */
7520
+ new_tier: 'ladybug-standard' | 'ladybug-large' | 'ladybug-xlarge';
7521
+ };
7065
7522
  /**
7066
7523
  * UserGraphsResponse
7067
7524
  *
@@ -7237,6 +7694,21 @@ export type ViewConfig = {
7237
7694
  */
7238
7695
  fill_value?: number;
7239
7696
  };
7697
+ /**
7698
+ * Error envelope returned by extensions operation endpoints. Shape aligns with FastAPI's default error detail plus an optional `operation_id` for audit correlation.
7699
+ */
7700
+ export type OperationError = {
7701
+ /**
7702
+ * Human-readable error detail or structured payload
7703
+ */
7704
+ detail?: string | {
7705
+ [key: string]: unknown;
7706
+ };
7707
+ /**
7708
+ * op_-prefixed ULID if the dispatcher minted one before the failure (async ops, idempotency conflicts, etc.)
7709
+ */
7710
+ operation_id?: string;
7711
+ };
7240
7712
  export type RegisterUserData = {
7241
7713
  body: RegisterRequest;
7242
7714
  path?: never;
@@ -8753,46 +9225,6 @@ export type ListBackupsResponses = {
8753
9225
  200: BackupListResponse;
8754
9226
  };
8755
9227
  export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
8756
- export type CreateBackupData = {
8757
- body: BackupCreateRequest;
8758
- path: {
8759
- /**
8760
- * Graph Id
8761
- */
8762
- graph_id: string;
8763
- };
8764
- query?: never;
8765
- url: '/v1/graphs/{graph_id}/backups';
8766
- };
8767
- export type CreateBackupErrors = {
8768
- /**
8769
- * Invalid backup configuration
8770
- */
8771
- 400: ErrorResponse;
8772
- /**
8773
- * Access denied - admin role required
8774
- */
8775
- 403: ErrorResponse;
8776
- /**
8777
- * Graph not found
8778
- */
8779
- 404: ErrorResponse;
8780
- /**
8781
- * Validation Error
8782
- */
8783
- 422: HttpValidationError;
8784
- /**
8785
- * Failed to initiate backup
8786
- */
8787
- 500: ErrorResponse;
8788
- };
8789
- export type CreateBackupError = CreateBackupErrors[keyof CreateBackupErrors];
8790
- export type CreateBackupResponses = {
8791
- /**
8792
- * Backup creation started
8793
- */
8794
- 202: unknown;
8795
- };
8796
9228
  export type GetBackupDownloadUrlData = {
8797
9229
  body?: never;
8798
9230
  path: {
@@ -8843,52 +9275,6 @@ export type GetBackupDownloadUrlResponses = {
8843
9275
  200: BackupDownloadUrlResponse;
8844
9276
  };
8845
9277
  export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
8846
- export type RestoreBackupData = {
8847
- body: BackupRestoreRequest;
8848
- path: {
8849
- /**
8850
- * Backup Id
8851
- *
8852
- * Backup identifier
8853
- */
8854
- backup_id: string;
8855
- /**
8856
- * Graph Id
8857
- */
8858
- graph_id: string;
8859
- };
8860
- query?: never;
8861
- url: '/v1/graphs/{graph_id}/backups/{backup_id}/restore';
8862
- };
8863
- export type RestoreBackupErrors = {
8864
- /**
8865
- * Invalid restore configuration
8866
- */
8867
- 400: ErrorResponse;
8868
- /**
8869
- * Access denied - admin role required
8870
- */
8871
- 403: ErrorResponse;
8872
- /**
8873
- * Backup not found
8874
- */
8875
- 404: ErrorResponse;
8876
- /**
8877
- * Validation Error
8878
- */
8879
- 422: HttpValidationError;
8880
- /**
8881
- * Failed to initiate restore
8882
- */
8883
- 500: ErrorResponse;
8884
- };
8885
- export type RestoreBackupError = RestoreBackupErrors[keyof RestoreBackupErrors];
8886
- export type RestoreBackupResponses = {
8887
- /**
8888
- * Restore started
8889
- */
8890
- 202: unknown;
8891
- };
8892
9278
  export type GetBackupStatsData = {
8893
9279
  body?: never;
8894
9280
  path: {
@@ -9475,85 +9861,6 @@ export type ListSubgraphsResponses = {
9475
9861
  200: ListSubgraphsResponse;
9476
9862
  };
9477
9863
  export type ListSubgraphsResponse2 = ListSubgraphsResponses[keyof ListSubgraphsResponses];
9478
- export type CreateSubgraphData = {
9479
- body: CreateSubgraphRequest;
9480
- path: {
9481
- /**
9482
- * Graph Id
9483
- */
9484
- graph_id: string;
9485
- };
9486
- query?: never;
9487
- url: '/v1/graphs/{graph_id}/subgraphs';
9488
- };
9489
- export type CreateSubgraphErrors = {
9490
- /**
9491
- * Validation Error
9492
- */
9493
- 422: HttpValidationError;
9494
- };
9495
- export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
9496
- export type CreateSubgraphResponses = {
9497
- /**
9498
- * Successful Response
9499
- */
9500
- 200: unknown;
9501
- };
9502
- export type DeleteSubgraphData = {
9503
- body: DeleteSubgraphRequest;
9504
- path: {
9505
- /**
9506
- * Graph Id
9507
- */
9508
- graph_id: string;
9509
- /**
9510
- * Subgraph Name
9511
- *
9512
- * Subgraph name to delete (e.g., 'dev', 'staging')
9513
- */
9514
- subgraph_name: string;
9515
- };
9516
- query?: never;
9517
- url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}';
9518
- };
9519
- export type DeleteSubgraphErrors = {
9520
- /**
9521
- * Invalid subgraph identifier
9522
- */
9523
- 400: unknown;
9524
- /**
9525
- * Not authenticated
9526
- */
9527
- 401: unknown;
9528
- /**
9529
- * Insufficient permissions
9530
- */
9531
- 403: unknown;
9532
- /**
9533
- * Subgraph not found
9534
- */
9535
- 404: unknown;
9536
- /**
9537
- * Subgraph contains data (use force=true)
9538
- */
9539
- 409: unknown;
9540
- /**
9541
- * Validation Error
9542
- */
9543
- 422: HttpValidationError;
9544
- /**
9545
- * Internal server error
9546
- */
9547
- 500: unknown;
9548
- };
9549
- export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
9550
- export type DeleteSubgraphResponses = {
9551
- /**
9552
- * Subgraph deleted successfully
9553
- */
9554
- 200: DeleteSubgraphResponse;
9555
- };
9556
- export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
9557
9864
  export type GetSubgraphInfoData = {
9558
9865
  body?: never;
9559
9866
  path: {
@@ -9569,7 +9876,7 @@ export type GetSubgraphInfoData = {
9569
9876
  subgraph_name: string;
9570
9877
  };
9571
9878
  query?: never;
9572
- url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}/info';
9879
+ url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}';
9573
9880
  };
9574
9881
  export type GetSubgraphInfoErrors = {
9575
9882
  /**
@@ -10061,8 +10368,14 @@ export type UploadDocumentsBulkResponses = {
10061
10368
  200: BulkDocumentUploadResponse;
10062
10369
  };
10063
10370
  export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
10064
- export type GetMaterializationStatusData = {
10065
- body?: never;
10371
+ export type OpCreateSubgraphData = {
10372
+ body: CreateSubgraphRequest;
10373
+ headers?: {
10374
+ /**
10375
+ * Idempotency-Key
10376
+ */
10377
+ 'Idempotency-Key'?: string | null;
10378
+ };
10066
10379
  path: {
10067
10380
  /**
10068
10381
  * Graph Id
@@ -10070,36 +10383,58 @@ export type GetMaterializationStatusData = {
10070
10383
  graph_id: string;
10071
10384
  };
10072
10385
  query?: never;
10073
- url: '/v1/graphs/{graph_id}/materialize';
10386
+ url: '/v1/graphs/{graph_id}/operations/create-subgraph';
10074
10387
  };
10075
- export type GetMaterializationStatusErrors = {
10388
+ export type OpCreateSubgraphErrors = {
10076
10389
  /**
10077
- * Not authenticated
10390
+ * Invalid request payload
10391
+ */
10392
+ 400: OperationError;
10393
+ /**
10394
+ * Unauthorized — missing or invalid credentials
10078
10395
  */
10079
10396
  401: unknown;
10080
10397
  /**
10081
- * Access denied - insufficient permissions
10398
+ * Forbidden caller cannot access this graph
10082
10399
  */
10083
- 403: ErrorResponse;
10400
+ 403: unknown;
10084
10401
  /**
10085
- * Graph not found
10402
+ * Resource not found (graph, ledger, report, etc.)
10086
10403
  */
10087
- 404: ErrorResponse;
10404
+ 404: OperationError;
10405
+ /**
10406
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10407
+ */
10408
+ 409: OperationError;
10088
10409
  /**
10089
10410
  * Validation Error
10090
10411
  */
10091
10412
  422: HttpValidationError;
10413
+ /**
10414
+ * Rate limit exceeded
10415
+ */
10416
+ 429: unknown;
10417
+ /**
10418
+ * Internal error
10419
+ */
10420
+ 500: unknown;
10092
10421
  };
10093
- export type GetMaterializationStatusError = GetMaterializationStatusErrors[keyof GetMaterializationStatusErrors];
10094
- export type GetMaterializationStatusResponses = {
10422
+ export type OpCreateSubgraphError = OpCreateSubgraphErrors[keyof OpCreateSubgraphErrors];
10423
+ export type OpCreateSubgraphResponses = {
10095
10424
  /**
10096
- * Materialization status retrieved successfully
10425
+ * Successful Response
10097
10426
  */
10098
- 200: MaterializeStatusResponse;
10427
+ 200: OperationEnvelope;
10099
10428
  };
10100
- export type GetMaterializationStatusResponse = GetMaterializationStatusResponses[keyof GetMaterializationStatusResponses];
10101
- export type MaterializeGraphData = {
10102
- body: MaterializeRequest;
10429
+ export type OpCreateSubgraphResponse = OpCreateSubgraphResponses[keyof OpCreateSubgraphResponses];
10430
+ export type OpDeleteSubgraphData = {
10431
+ body: DeleteSubgraphOp;
10432
+ headers?: {
10433
+ /**
10434
+ * Idempotency-Key
10435
+ */
10436
+ 'Idempotency-Key'?: string | null;
10437
+ };
10103
10438
  path: {
10104
10439
  /**
10105
10440
  * Graph Id
@@ -10107,63 +10442,299 @@ export type MaterializeGraphData = {
10107
10442
  graph_id: string;
10108
10443
  };
10109
10444
  query?: never;
10110
- url: '/v1/graphs/{graph_id}/materialize';
10445
+ url: '/v1/graphs/{graph_id}/operations/delete-subgraph';
10111
10446
  };
10112
- export type MaterializeGraphErrors = {
10447
+ export type OpDeleteSubgraphErrors = {
10113
10448
  /**
10114
- * Graph not stale and force=false
10449
+ * Invalid request payload
10115
10450
  */
10116
- 400: ErrorResponse;
10451
+ 400: OperationError;
10117
10452
  /**
10118
- * Not authenticated
10453
+ * Unauthorized — missing or invalid credentials
10119
10454
  */
10120
10455
  401: unknown;
10121
10456
  /**
10122
- * Access denied - shared repositories or insufficient permissions
10123
- */
10124
- 403: ErrorResponse;
10125
- /**
10126
- * Graph not found
10457
+ * Forbidden caller cannot access this graph
10127
10458
  */
10128
- 404: ErrorResponse;
10459
+ 403: unknown;
10129
10460
  /**
10130
- * Conflict - another materialization is already in progress for this graph
10461
+ * Resource not found (graph, ledger, report, etc.)
10131
10462
  */
10132
- 409: ErrorResponse;
10463
+ 404: OperationError;
10133
10464
  /**
10134
- * Graph content limit exceeded - data too large for current tier
10465
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10135
10466
  */
10136
- 413: ErrorResponse;
10467
+ 409: OperationError;
10137
10468
  /**
10138
10469
  * Validation Error
10139
10470
  */
10140
10471
  422: HttpValidationError;
10141
10472
  /**
10142
- * Internal server error
10473
+ * Rate limit exceeded
10474
+ */
10475
+ 429: unknown;
10476
+ /**
10477
+ * Internal error
10143
10478
  */
10144
10479
  500: unknown;
10145
10480
  };
10146
- export type MaterializeGraphError = MaterializeGraphErrors[keyof MaterializeGraphErrors];
10147
- export type MaterializeGraphResponses = {
10481
+ export type OpDeleteSubgraphError = OpDeleteSubgraphErrors[keyof OpDeleteSubgraphErrors];
10482
+ export type OpDeleteSubgraphResponses = {
10148
10483
  /**
10149
- * Graph materialized successfully
10484
+ * Successful Response
10150
10485
  */
10151
- 200: MaterializeResponse;
10486
+ 200: OperationEnvelope;
10152
10487
  };
10153
- export type MaterializeGraphResponse = MaterializeGraphResponses[keyof MaterializeGraphResponses];
10154
- export type ListFilesData = {
10155
- body?: never;
10488
+ export type OpDeleteSubgraphResponse = OpDeleteSubgraphResponses[keyof OpDeleteSubgraphResponses];
10489
+ export type OpCreateBackupData = {
10490
+ body: BackupCreateRequest;
10491
+ headers?: {
10492
+ /**
10493
+ * Idempotency-Key
10494
+ */
10495
+ 'Idempotency-Key'?: string | null;
10496
+ };
10156
10497
  path: {
10157
10498
  /**
10158
10499
  * Graph Id
10159
10500
  */
10160
10501
  graph_id: string;
10161
10502
  };
10162
- query?: {
10163
- /**
10164
- * Table Name
10165
- *
10166
- * Filter by table name (optional)
10503
+ query?: never;
10504
+ url: '/v1/graphs/{graph_id}/operations/create-backup';
10505
+ };
10506
+ export type OpCreateBackupErrors = {
10507
+ /**
10508
+ * Invalid request payload
10509
+ */
10510
+ 400: OperationError;
10511
+ /**
10512
+ * Unauthorized — missing or invalid credentials
10513
+ */
10514
+ 401: unknown;
10515
+ /**
10516
+ * Forbidden — caller cannot access this graph
10517
+ */
10518
+ 403: unknown;
10519
+ /**
10520
+ * Resource not found (graph, ledger, report, etc.)
10521
+ */
10522
+ 404: OperationError;
10523
+ /**
10524
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10525
+ */
10526
+ 409: OperationError;
10527
+ /**
10528
+ * Validation Error
10529
+ */
10530
+ 422: HttpValidationError;
10531
+ /**
10532
+ * Rate limit exceeded
10533
+ */
10534
+ 429: unknown;
10535
+ /**
10536
+ * Internal error
10537
+ */
10538
+ 500: unknown;
10539
+ };
10540
+ export type OpCreateBackupError = OpCreateBackupErrors[keyof OpCreateBackupErrors];
10541
+ export type OpCreateBackupResponses = {
10542
+ /**
10543
+ * Successful Response
10544
+ */
10545
+ 202: OperationEnvelope;
10546
+ };
10547
+ export type OpCreateBackupResponse = OpCreateBackupResponses[keyof OpCreateBackupResponses];
10548
+ export type OpRestoreBackupData = {
10549
+ body: RestoreBackupOp;
10550
+ headers?: {
10551
+ /**
10552
+ * Idempotency-Key
10553
+ */
10554
+ 'Idempotency-Key'?: string | null;
10555
+ };
10556
+ path: {
10557
+ /**
10558
+ * Graph Id
10559
+ */
10560
+ graph_id: string;
10561
+ };
10562
+ query?: never;
10563
+ url: '/v1/graphs/{graph_id}/operations/restore-backup';
10564
+ };
10565
+ export type OpRestoreBackupErrors = {
10566
+ /**
10567
+ * Invalid request payload
10568
+ */
10569
+ 400: OperationError;
10570
+ /**
10571
+ * Unauthorized — missing or invalid credentials
10572
+ */
10573
+ 401: unknown;
10574
+ /**
10575
+ * Forbidden — caller cannot access this graph
10576
+ */
10577
+ 403: unknown;
10578
+ /**
10579
+ * Resource not found (graph, ledger, report, etc.)
10580
+ */
10581
+ 404: OperationError;
10582
+ /**
10583
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10584
+ */
10585
+ 409: OperationError;
10586
+ /**
10587
+ * Validation Error
10588
+ */
10589
+ 422: HttpValidationError;
10590
+ /**
10591
+ * Rate limit exceeded
10592
+ */
10593
+ 429: unknown;
10594
+ /**
10595
+ * Internal error
10596
+ */
10597
+ 500: unknown;
10598
+ };
10599
+ export type OpRestoreBackupError = OpRestoreBackupErrors[keyof OpRestoreBackupErrors];
10600
+ export type OpRestoreBackupResponses = {
10601
+ /**
10602
+ * Successful Response
10603
+ */
10604
+ 202: OperationEnvelope;
10605
+ };
10606
+ export type OpRestoreBackupResponse = OpRestoreBackupResponses[keyof OpRestoreBackupResponses];
10607
+ export type OpUpgradeTierData = {
10608
+ body: UpgradeTierOp;
10609
+ headers?: {
10610
+ /**
10611
+ * Idempotency-Key
10612
+ */
10613
+ 'Idempotency-Key'?: string | null;
10614
+ };
10615
+ path: {
10616
+ /**
10617
+ * Graph Id
10618
+ */
10619
+ graph_id: string;
10620
+ };
10621
+ query?: never;
10622
+ url: '/v1/graphs/{graph_id}/operations/upgrade-tier';
10623
+ };
10624
+ export type OpUpgradeTierErrors = {
10625
+ /**
10626
+ * Invalid request payload
10627
+ */
10628
+ 400: OperationError;
10629
+ /**
10630
+ * Unauthorized — missing or invalid credentials
10631
+ */
10632
+ 401: unknown;
10633
+ /**
10634
+ * Forbidden — caller cannot access this graph
10635
+ */
10636
+ 403: unknown;
10637
+ /**
10638
+ * Resource not found (graph, ledger, report, etc.)
10639
+ */
10640
+ 404: OperationError;
10641
+ /**
10642
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10643
+ */
10644
+ 409: OperationError;
10645
+ /**
10646
+ * Validation Error
10647
+ */
10648
+ 422: HttpValidationError;
10649
+ /**
10650
+ * Rate limit exceeded
10651
+ */
10652
+ 429: unknown;
10653
+ /**
10654
+ * Internal error
10655
+ */
10656
+ 500: unknown;
10657
+ };
10658
+ export type OpUpgradeTierError = OpUpgradeTierErrors[keyof OpUpgradeTierErrors];
10659
+ export type OpUpgradeTierResponses = {
10660
+ /**
10661
+ * Successful Response
10662
+ */
10663
+ 202: OperationEnvelope;
10664
+ };
10665
+ export type OpUpgradeTierResponse = OpUpgradeTierResponses[keyof OpUpgradeTierResponses];
10666
+ export type OpMaterializeData = {
10667
+ body: MaterializeOp;
10668
+ headers?: {
10669
+ /**
10670
+ * Idempotency-Key
10671
+ */
10672
+ 'Idempotency-Key'?: string | null;
10673
+ };
10674
+ path: {
10675
+ /**
10676
+ * Graph Id
10677
+ */
10678
+ graph_id: string;
10679
+ };
10680
+ query?: never;
10681
+ url: '/v1/graphs/{graph_id}/operations/materialize';
10682
+ };
10683
+ export type OpMaterializeErrors = {
10684
+ /**
10685
+ * Invalid request payload
10686
+ */
10687
+ 400: OperationError;
10688
+ /**
10689
+ * Unauthorized — missing or invalid credentials
10690
+ */
10691
+ 401: unknown;
10692
+ /**
10693
+ * Forbidden — caller cannot access this graph
10694
+ */
10695
+ 403: unknown;
10696
+ /**
10697
+ * Resource not found (graph, ledger, report, etc.)
10698
+ */
10699
+ 404: OperationError;
10700
+ /**
10701
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10702
+ */
10703
+ 409: OperationError;
10704
+ /**
10705
+ * Validation Error
10706
+ */
10707
+ 422: HttpValidationError;
10708
+ /**
10709
+ * Rate limit exceeded
10710
+ */
10711
+ 429: unknown;
10712
+ /**
10713
+ * Internal error
10714
+ */
10715
+ 500: unknown;
10716
+ };
10717
+ export type OpMaterializeError = OpMaterializeErrors[keyof OpMaterializeErrors];
10718
+ export type OpMaterializeResponses = {
10719
+ /**
10720
+ * Successful Response
10721
+ */
10722
+ 202: OperationEnvelope;
10723
+ };
10724
+ export type OpMaterializeResponse = OpMaterializeResponses[keyof OpMaterializeResponses];
10725
+ export type ListFilesData = {
10726
+ body?: never;
10727
+ path: {
10728
+ /**
10729
+ * Graph Id
10730
+ */
10731
+ graph_id: string;
10732
+ };
10733
+ query?: {
10734
+ /**
10735
+ * Table Name
10736
+ *
10737
+ * Filter by table name (optional)
10167
10738
  */
10168
10739
  table_name?: string | null;
10169
10740
  /**
@@ -10952,6 +11523,14 @@ export type HandleHttpGetExtensionsGraphIdGraphqlGetData = {
10952
11523
  url: '/extensions/{graph_id}/graphql';
10953
11524
  };
10954
11525
  export type HandleHttpGetExtensionsGraphIdGraphqlGetErrors = {
11526
+ /**
11527
+ * Unauthorized — credentials presented but invalid
11528
+ */
11529
+ 401: unknown;
11530
+ /**
11531
+ * Forbidden — caller cannot access this graph
11532
+ */
11533
+ 403: unknown;
10955
11534
  /**
10956
11535
  * Not found if GraphiQL or query via GET are not enabled.
10957
11536
  */
@@ -10960,6 +11539,10 @@ export type HandleHttpGetExtensionsGraphIdGraphqlGetErrors = {
10960
11539
  * Validation Error
10961
11540
  */
10962
11541
  422: HttpValidationError;
11542
+ /**
11543
+ * Rate limit exceeded
11544
+ */
11545
+ 429: unknown;
10963
11546
  };
10964
11547
  export type HandleHttpGetExtensionsGraphIdGraphqlGetError = HandleHttpGetExtensionsGraphIdGraphqlGetErrors[keyof HandleHttpGetExtensionsGraphIdGraphqlGetErrors];
10965
11548
  export type HandleHttpGetExtensionsGraphIdGraphqlGetResponses = {
@@ -10980,10 +11563,22 @@ export type HandleHttpPostExtensionsGraphIdGraphqlPostData = {
10980
11563
  url: '/extensions/{graph_id}/graphql';
10981
11564
  };
10982
11565
  export type HandleHttpPostExtensionsGraphIdGraphqlPostErrors = {
11566
+ /**
11567
+ * Unauthorized — credentials presented but invalid
11568
+ */
11569
+ 401: unknown;
11570
+ /**
11571
+ * Forbidden — caller cannot access this graph
11572
+ */
11573
+ 403: unknown;
10983
11574
  /**
10984
11575
  * Validation Error
10985
11576
  */
10986
11577
  422: HttpValidationError;
11578
+ /**
11579
+ * Rate limit exceeded
11580
+ */
11581
+ 429: unknown;
10987
11582
  };
10988
11583
  export type HandleHttpPostExtensionsGraphIdGraphqlPostError = HandleHttpPostExtensionsGraphIdGraphqlPostErrors[keyof HandleHttpPostExtensionsGraphIdGraphqlPostErrors];
10989
11584
  export type HandleHttpPostExtensionsGraphIdGraphqlPostResponses = {
@@ -11010,10 +11605,38 @@ export type OpUpdateEntityData = {
11010
11605
  url: '/extensions/roboledger/{graph_id}/operations/update-entity';
11011
11606
  };
11012
11607
  export type OpUpdateEntityErrors = {
11608
+ /**
11609
+ * Invalid request payload
11610
+ */
11611
+ 400: OperationError;
11612
+ /**
11613
+ * Unauthorized — missing or invalid credentials
11614
+ */
11615
+ 401: unknown;
11616
+ /**
11617
+ * Forbidden — caller cannot access this graph
11618
+ */
11619
+ 403: unknown;
11620
+ /**
11621
+ * Resource not found (graph, ledger, report, etc.)
11622
+ */
11623
+ 404: OperationError;
11624
+ /**
11625
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11626
+ */
11627
+ 409: OperationError;
11013
11628
  /**
11014
11629
  * Validation Error
11015
11630
  */
11016
11631
  422: HttpValidationError;
11632
+ /**
11633
+ * Rate limit exceeded
11634
+ */
11635
+ 429: unknown;
11636
+ /**
11637
+ * Internal error
11638
+ */
11639
+ 500: unknown;
11017
11640
  };
11018
11641
  export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
11019
11642
  export type OpUpdateEntityResponses = {
@@ -11041,10 +11664,38 @@ export type OpInitializeLedgerData = {
11041
11664
  url: '/extensions/roboledger/{graph_id}/operations/initialize';
11042
11665
  };
11043
11666
  export type OpInitializeLedgerErrors = {
11667
+ /**
11668
+ * Invalid request payload
11669
+ */
11670
+ 400: OperationError;
11671
+ /**
11672
+ * Unauthorized — missing or invalid credentials
11673
+ */
11674
+ 401: unknown;
11675
+ /**
11676
+ * Forbidden — caller cannot access this graph
11677
+ */
11678
+ 403: unknown;
11679
+ /**
11680
+ * Resource not found (graph, ledger, report, etc.)
11681
+ */
11682
+ 404: OperationError;
11683
+ /**
11684
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11685
+ */
11686
+ 409: OperationError;
11044
11687
  /**
11045
11688
  * Validation Error
11046
11689
  */
11047
11690
  422: HttpValidationError;
11691
+ /**
11692
+ * Rate limit exceeded
11693
+ */
11694
+ 429: unknown;
11695
+ /**
11696
+ * Internal error
11697
+ */
11698
+ 500: unknown;
11048
11699
  };
11049
11700
  export type OpInitializeLedgerError = OpInitializeLedgerErrors[keyof OpInitializeLedgerErrors];
11050
11701
  export type OpInitializeLedgerResponses = {
@@ -11072,18 +11723,46 @@ export type OpSetCloseTargetData = {
11072
11723
  url: '/extensions/roboledger/{graph_id}/operations/set-close-target';
11073
11724
  };
11074
11725
  export type OpSetCloseTargetErrors = {
11726
+ /**
11727
+ * Invalid request payload
11728
+ */
11729
+ 400: OperationError;
11730
+ /**
11731
+ * Unauthorized — missing or invalid credentials
11732
+ */
11733
+ 401: unknown;
11734
+ /**
11735
+ * Forbidden — caller cannot access this graph
11736
+ */
11737
+ 403: unknown;
11738
+ /**
11739
+ * Resource not found (graph, ledger, report, etc.)
11740
+ */
11741
+ 404: OperationError;
11742
+ /**
11743
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11744
+ */
11745
+ 409: OperationError;
11075
11746
  /**
11076
11747
  * Validation Error
11077
11748
  */
11078
11749
  422: HttpValidationError;
11079
- };
11080
- export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
11081
- export type OpSetCloseTargetResponses = {
11082
11750
  /**
11083
- * Successful Response
11751
+ * Rate limit exceeded
11084
11752
  */
11085
- 200: OperationEnvelope;
11086
- };
11753
+ 429: unknown;
11754
+ /**
11755
+ * Internal error
11756
+ */
11757
+ 500: unknown;
11758
+ };
11759
+ export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
11760
+ export type OpSetCloseTargetResponses = {
11761
+ /**
11762
+ * Successful Response
11763
+ */
11764
+ 200: OperationEnvelope;
11765
+ };
11087
11766
  export type OpSetCloseTargetResponse = OpSetCloseTargetResponses[keyof OpSetCloseTargetResponses];
11088
11767
  export type OpClosePeriodData = {
11089
11768
  body: ClosePeriodOperation;
@@ -11103,10 +11782,38 @@ export type OpClosePeriodData = {
11103
11782
  url: '/extensions/roboledger/{graph_id}/operations/close-period';
11104
11783
  };
11105
11784
  export type OpClosePeriodErrors = {
11785
+ /**
11786
+ * Invalid request payload
11787
+ */
11788
+ 400: OperationError;
11789
+ /**
11790
+ * Unauthorized — missing or invalid credentials
11791
+ */
11792
+ 401: unknown;
11793
+ /**
11794
+ * Forbidden — caller cannot access this graph
11795
+ */
11796
+ 403: unknown;
11797
+ /**
11798
+ * Resource not found (graph, ledger, report, etc.)
11799
+ */
11800
+ 404: OperationError;
11801
+ /**
11802
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11803
+ */
11804
+ 409: OperationError;
11106
11805
  /**
11107
11806
  * Validation Error
11108
11807
  */
11109
11808
  422: HttpValidationError;
11809
+ /**
11810
+ * Rate limit exceeded
11811
+ */
11812
+ 429: unknown;
11813
+ /**
11814
+ * Internal error
11815
+ */
11816
+ 500: unknown;
11110
11817
  };
11111
11818
  export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
11112
11819
  export type OpClosePeriodResponses = {
@@ -11134,10 +11841,38 @@ export type OpReopenPeriodData = {
11134
11841
  url: '/extensions/roboledger/{graph_id}/operations/reopen-period';
11135
11842
  };
11136
11843
  export type OpReopenPeriodErrors = {
11844
+ /**
11845
+ * Invalid request payload
11846
+ */
11847
+ 400: OperationError;
11848
+ /**
11849
+ * Unauthorized — missing or invalid credentials
11850
+ */
11851
+ 401: unknown;
11852
+ /**
11853
+ * Forbidden — caller cannot access this graph
11854
+ */
11855
+ 403: unknown;
11856
+ /**
11857
+ * Resource not found (graph, ledger, report, etc.)
11858
+ */
11859
+ 404: OperationError;
11860
+ /**
11861
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11862
+ */
11863
+ 409: OperationError;
11137
11864
  /**
11138
11865
  * Validation Error
11139
11866
  */
11140
11867
  422: HttpValidationError;
11868
+ /**
11869
+ * Rate limit exceeded
11870
+ */
11871
+ 429: unknown;
11872
+ /**
11873
+ * Internal error
11874
+ */
11875
+ 500: unknown;
11141
11876
  };
11142
11877
  export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
11143
11878
  export type OpReopenPeriodResponses = {
@@ -11165,10 +11900,38 @@ export type OpCreateScheduleData = {
11165
11900
  url: '/extensions/roboledger/{graph_id}/operations/create-schedule';
11166
11901
  };
11167
11902
  export type OpCreateScheduleErrors = {
11903
+ /**
11904
+ * Invalid request payload
11905
+ */
11906
+ 400: OperationError;
11907
+ /**
11908
+ * Unauthorized — missing or invalid credentials
11909
+ */
11910
+ 401: unknown;
11911
+ /**
11912
+ * Forbidden — caller cannot access this graph
11913
+ */
11914
+ 403: unknown;
11915
+ /**
11916
+ * Resource not found (graph, ledger, report, etc.)
11917
+ */
11918
+ 404: OperationError;
11919
+ /**
11920
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11921
+ */
11922
+ 409: OperationError;
11168
11923
  /**
11169
11924
  * Validation Error
11170
11925
  */
11171
11926
  422: HttpValidationError;
11927
+ /**
11928
+ * Rate limit exceeded
11929
+ */
11930
+ 429: unknown;
11931
+ /**
11932
+ * Internal error
11933
+ */
11934
+ 500: unknown;
11172
11935
  };
11173
11936
  export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
11174
11937
  export type OpCreateScheduleResponses = {
@@ -11196,10 +11959,38 @@ export type OpTruncateScheduleData = {
11196
11959
  url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
11197
11960
  };
11198
11961
  export type OpTruncateScheduleErrors = {
11962
+ /**
11963
+ * Invalid request payload
11964
+ */
11965
+ 400: OperationError;
11966
+ /**
11967
+ * Unauthorized — missing or invalid credentials
11968
+ */
11969
+ 401: unknown;
11970
+ /**
11971
+ * Forbidden — caller cannot access this graph
11972
+ */
11973
+ 403: unknown;
11974
+ /**
11975
+ * Resource not found (graph, ledger, report, etc.)
11976
+ */
11977
+ 404: OperationError;
11978
+ /**
11979
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11980
+ */
11981
+ 409: OperationError;
11199
11982
  /**
11200
11983
  * Validation Error
11201
11984
  */
11202
11985
  422: HttpValidationError;
11986
+ /**
11987
+ * Rate limit exceeded
11988
+ */
11989
+ 429: unknown;
11990
+ /**
11991
+ * Internal error
11992
+ */
11993
+ 500: unknown;
11203
11994
  };
11204
11995
  export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
11205
11996
  export type OpTruncateScheduleResponses = {
@@ -11227,10 +12018,38 @@ export type OpCreateClosingEntryData = {
11227
12018
  url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
11228
12019
  };
11229
12020
  export type OpCreateClosingEntryErrors = {
12021
+ /**
12022
+ * Invalid request payload
12023
+ */
12024
+ 400: OperationError;
12025
+ /**
12026
+ * Unauthorized — missing or invalid credentials
12027
+ */
12028
+ 401: unknown;
12029
+ /**
12030
+ * Forbidden — caller cannot access this graph
12031
+ */
12032
+ 403: unknown;
12033
+ /**
12034
+ * Resource not found (graph, ledger, report, etc.)
12035
+ */
12036
+ 404: OperationError;
12037
+ /**
12038
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12039
+ */
12040
+ 409: OperationError;
11230
12041
  /**
11231
12042
  * Validation Error
11232
12043
  */
11233
12044
  422: HttpValidationError;
12045
+ /**
12046
+ * Rate limit exceeded
12047
+ */
12048
+ 429: unknown;
12049
+ /**
12050
+ * Internal error
12051
+ */
12052
+ 500: unknown;
11234
12053
  };
11235
12054
  export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
11236
12055
  export type OpCreateClosingEntryResponses = {
@@ -11258,10 +12077,38 @@ export type OpCreateManualClosingEntryData = {
11258
12077
  url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
11259
12078
  };
11260
12079
  export type OpCreateManualClosingEntryErrors = {
12080
+ /**
12081
+ * Invalid request payload
12082
+ */
12083
+ 400: OperationError;
12084
+ /**
12085
+ * Unauthorized — missing or invalid credentials
12086
+ */
12087
+ 401: unknown;
12088
+ /**
12089
+ * Forbidden — caller cannot access this graph
12090
+ */
12091
+ 403: unknown;
12092
+ /**
12093
+ * Resource not found (graph, ledger, report, etc.)
12094
+ */
12095
+ 404: OperationError;
12096
+ /**
12097
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12098
+ */
12099
+ 409: OperationError;
11261
12100
  /**
11262
12101
  * Validation Error
11263
12102
  */
11264
12103
  422: HttpValidationError;
12104
+ /**
12105
+ * Rate limit exceeded
12106
+ */
12107
+ 429: unknown;
12108
+ /**
12109
+ * Internal error
12110
+ */
12111
+ 500: unknown;
11265
12112
  };
11266
12113
  export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
11267
12114
  export type OpCreateManualClosingEntryResponses = {
@@ -11289,10 +12136,38 @@ export type OpCreateTaxonomyData = {
11289
12136
  url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy';
11290
12137
  };
11291
12138
  export type OpCreateTaxonomyErrors = {
12139
+ /**
12140
+ * Invalid request payload
12141
+ */
12142
+ 400: OperationError;
12143
+ /**
12144
+ * Unauthorized — missing or invalid credentials
12145
+ */
12146
+ 401: unknown;
12147
+ /**
12148
+ * Forbidden — caller cannot access this graph
12149
+ */
12150
+ 403: unknown;
12151
+ /**
12152
+ * Resource not found (graph, ledger, report, etc.)
12153
+ */
12154
+ 404: OperationError;
12155
+ /**
12156
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12157
+ */
12158
+ 409: OperationError;
11292
12159
  /**
11293
12160
  * Validation Error
11294
12161
  */
11295
12162
  422: HttpValidationError;
12163
+ /**
12164
+ * Rate limit exceeded
12165
+ */
12166
+ 429: unknown;
12167
+ /**
12168
+ * Internal error
12169
+ */
12170
+ 500: unknown;
11296
12171
  };
11297
12172
  export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
11298
12173
  export type OpCreateTaxonomyResponses = {
@@ -11320,10 +12195,38 @@ export type OpCreateStructureData = {
11320
12195
  url: '/extensions/roboledger/{graph_id}/operations/create-structure';
11321
12196
  };
11322
12197
  export type OpCreateStructureErrors = {
12198
+ /**
12199
+ * Invalid request payload
12200
+ */
12201
+ 400: OperationError;
12202
+ /**
12203
+ * Unauthorized — missing or invalid credentials
12204
+ */
12205
+ 401: unknown;
12206
+ /**
12207
+ * Forbidden — caller cannot access this graph
12208
+ */
12209
+ 403: unknown;
12210
+ /**
12211
+ * Resource not found (graph, ledger, report, etc.)
12212
+ */
12213
+ 404: OperationError;
12214
+ /**
12215
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12216
+ */
12217
+ 409: OperationError;
11323
12218
  /**
11324
12219
  * Validation Error
11325
12220
  */
11326
12221
  422: HttpValidationError;
12222
+ /**
12223
+ * Rate limit exceeded
12224
+ */
12225
+ 429: unknown;
12226
+ /**
12227
+ * Internal error
12228
+ */
12229
+ 500: unknown;
11327
12230
  };
11328
12231
  export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
11329
12232
  export type OpCreateStructureResponses = {
@@ -11351,10 +12254,38 @@ export type OpCreateMappingAssociationData = {
11351
12254
  url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
11352
12255
  };
11353
12256
  export type OpCreateMappingAssociationErrors = {
12257
+ /**
12258
+ * Invalid request payload
12259
+ */
12260
+ 400: OperationError;
12261
+ /**
12262
+ * Unauthorized — missing or invalid credentials
12263
+ */
12264
+ 401: unknown;
12265
+ /**
12266
+ * Forbidden — caller cannot access this graph
12267
+ */
12268
+ 403: unknown;
12269
+ /**
12270
+ * Resource not found (graph, ledger, report, etc.)
12271
+ */
12272
+ 404: OperationError;
12273
+ /**
12274
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12275
+ */
12276
+ 409: OperationError;
11354
12277
  /**
11355
12278
  * Validation Error
11356
12279
  */
11357
12280
  422: HttpValidationError;
12281
+ /**
12282
+ * Rate limit exceeded
12283
+ */
12284
+ 429: unknown;
12285
+ /**
12286
+ * Internal error
12287
+ */
12288
+ 500: unknown;
11358
12289
  };
11359
12290
  export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
11360
12291
  export type OpCreateMappingAssociationResponses = {
@@ -11382,10 +12313,38 @@ export type OpDeleteMappingAssociationData = {
11382
12313
  url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association';
11383
12314
  };
11384
12315
  export type OpDeleteMappingAssociationErrors = {
12316
+ /**
12317
+ * Invalid request payload
12318
+ */
12319
+ 400: OperationError;
12320
+ /**
12321
+ * Unauthorized — missing or invalid credentials
12322
+ */
12323
+ 401: unknown;
12324
+ /**
12325
+ * Forbidden — caller cannot access this graph
12326
+ */
12327
+ 403: unknown;
12328
+ /**
12329
+ * Resource not found (graph, ledger, report, etc.)
12330
+ */
12331
+ 404: OperationError;
12332
+ /**
12333
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12334
+ */
12335
+ 409: OperationError;
11385
12336
  /**
11386
12337
  * Validation Error
11387
12338
  */
11388
12339
  422: HttpValidationError;
12340
+ /**
12341
+ * Rate limit exceeded
12342
+ */
12343
+ 429: unknown;
12344
+ /**
12345
+ * Internal error
12346
+ */
12347
+ 500: unknown;
11389
12348
  };
11390
12349
  export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
11391
12350
  export type OpDeleteMappingAssociationResponses = {
@@ -11395,8 +12354,8 @@ export type OpDeleteMappingAssociationResponses = {
11395
12354
  200: OperationEnvelope;
11396
12355
  };
11397
12356
  export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
11398
- export type OpAutoMapElementsData = {
11399
- body: AutoMapElementsOperation;
12357
+ export type OpUpdateTaxonomyData = {
12358
+ body: UpdateTaxonomyRequest;
11400
12359
  headers?: {
11401
12360
  /**
11402
12361
  * Idempotency-Key
@@ -11410,24 +12369,52 @@ export type OpAutoMapElementsData = {
11410
12369
  graph_id: string;
11411
12370
  };
11412
12371
  query?: never;
11413
- url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
12372
+ url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
11414
12373
  };
11415
- export type OpAutoMapElementsErrors = {
12374
+ export type OpUpdateTaxonomyErrors = {
12375
+ /**
12376
+ * Invalid request payload
12377
+ */
12378
+ 400: OperationError;
12379
+ /**
12380
+ * Unauthorized — missing or invalid credentials
12381
+ */
12382
+ 401: unknown;
12383
+ /**
12384
+ * Forbidden — caller cannot access this graph
12385
+ */
12386
+ 403: unknown;
12387
+ /**
12388
+ * Resource not found (graph, ledger, report, etc.)
12389
+ */
12390
+ 404: OperationError;
12391
+ /**
12392
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12393
+ */
12394
+ 409: OperationError;
11416
12395
  /**
11417
12396
  * Validation Error
11418
12397
  */
11419
12398
  422: HttpValidationError;
12399
+ /**
12400
+ * Rate limit exceeded
12401
+ */
12402
+ 429: unknown;
12403
+ /**
12404
+ * Internal error
12405
+ */
12406
+ 500: unknown;
11420
12407
  };
11421
- export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
11422
- export type OpAutoMapElementsResponses = {
12408
+ export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
12409
+ export type OpUpdateTaxonomyResponses = {
11423
12410
  /**
11424
12411
  * Successful Response
11425
12412
  */
11426
- 202: OperationEnvelope;
12413
+ 200: OperationEnvelope;
11427
12414
  };
11428
- export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
11429
- export type OpCreateReportData = {
11430
- body: CreateReportRequest;
12415
+ export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
12416
+ export type OpDeleteTaxonomyData = {
12417
+ body: DeleteTaxonomyRequest;
11431
12418
  headers?: {
11432
12419
  /**
11433
12420
  * Idempotency-Key
@@ -11441,23 +12428,1054 @@ export type OpCreateReportData = {
11441
12428
  graph_id: string;
11442
12429
  };
11443
12430
  query?: never;
11444
- url: '/extensions/roboledger/{graph_id}/operations/create-report';
12431
+ url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
11445
12432
  };
11446
- export type OpCreateReportErrors = {
12433
+ export type OpDeleteTaxonomyErrors = {
11447
12434
  /**
11448
- * Validation Error
12435
+ * Invalid request payload
11449
12436
  */
11450
- 422: HttpValidationError;
11451
- };
11452
- export type OpCreateReportError = OpCreateReportErrors[keyof OpCreateReportErrors];
11453
- export type OpCreateReportResponses = {
12437
+ 400: OperationError;
11454
12438
  /**
11455
- * Successful Response
12439
+ * Unauthorized — missing or invalid credentials
11456
12440
  */
11457
- 200: OperationEnvelope;
11458
- };
11459
- export type OpCreateReportResponse = OpCreateReportResponses[keyof OpCreateReportResponses];
11460
- export type OpRegenerateReportData = {
12441
+ 401: unknown;
12442
+ /**
12443
+ * Forbidden caller cannot access this graph
12444
+ */
12445
+ 403: unknown;
12446
+ /**
12447
+ * Resource not found (graph, ledger, report, etc.)
12448
+ */
12449
+ 404: OperationError;
12450
+ /**
12451
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12452
+ */
12453
+ 409: OperationError;
12454
+ /**
12455
+ * Validation Error
12456
+ */
12457
+ 422: HttpValidationError;
12458
+ /**
12459
+ * Rate limit exceeded
12460
+ */
12461
+ 429: unknown;
12462
+ /**
12463
+ * Internal error
12464
+ */
12465
+ 500: unknown;
12466
+ };
12467
+ export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
12468
+ export type OpDeleteTaxonomyResponses = {
12469
+ /**
12470
+ * Successful Response
12471
+ */
12472
+ 200: OperationEnvelope;
12473
+ };
12474
+ export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
12475
+ export type OpLinkEntityTaxonomyData = {
12476
+ body: LinkEntityTaxonomyRequest;
12477
+ headers?: {
12478
+ /**
12479
+ * Idempotency-Key
12480
+ */
12481
+ 'Idempotency-Key'?: string | null;
12482
+ };
12483
+ path: {
12484
+ /**
12485
+ * Graph Id
12486
+ */
12487
+ graph_id: string;
12488
+ };
12489
+ query?: never;
12490
+ url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
12491
+ };
12492
+ export type OpLinkEntityTaxonomyErrors = {
12493
+ /**
12494
+ * Invalid request payload
12495
+ */
12496
+ 400: OperationError;
12497
+ /**
12498
+ * Unauthorized — missing or invalid credentials
12499
+ */
12500
+ 401: unknown;
12501
+ /**
12502
+ * Forbidden — caller cannot access this graph
12503
+ */
12504
+ 403: unknown;
12505
+ /**
12506
+ * Resource not found (graph, ledger, report, etc.)
12507
+ */
12508
+ 404: OperationError;
12509
+ /**
12510
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12511
+ */
12512
+ 409: OperationError;
12513
+ /**
12514
+ * Validation Error
12515
+ */
12516
+ 422: HttpValidationError;
12517
+ /**
12518
+ * Rate limit exceeded
12519
+ */
12520
+ 429: unknown;
12521
+ /**
12522
+ * Internal error
12523
+ */
12524
+ 500: unknown;
12525
+ };
12526
+ export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
12527
+ export type OpLinkEntityTaxonomyResponses = {
12528
+ /**
12529
+ * Successful Response
12530
+ */
12531
+ 200: OperationEnvelope;
12532
+ };
12533
+ export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
12534
+ export type OpUpdateStructureData = {
12535
+ body: UpdateStructureRequest;
12536
+ headers?: {
12537
+ /**
12538
+ * Idempotency-Key
12539
+ */
12540
+ 'Idempotency-Key'?: string | null;
12541
+ };
12542
+ path: {
12543
+ /**
12544
+ * Graph Id
12545
+ */
12546
+ graph_id: string;
12547
+ };
12548
+ query?: never;
12549
+ url: '/extensions/roboledger/{graph_id}/operations/update-structure';
12550
+ };
12551
+ export type OpUpdateStructureErrors = {
12552
+ /**
12553
+ * Invalid request payload
12554
+ */
12555
+ 400: OperationError;
12556
+ /**
12557
+ * Unauthorized — missing or invalid credentials
12558
+ */
12559
+ 401: unknown;
12560
+ /**
12561
+ * Forbidden — caller cannot access this graph
12562
+ */
12563
+ 403: unknown;
12564
+ /**
12565
+ * Resource not found (graph, ledger, report, etc.)
12566
+ */
12567
+ 404: OperationError;
12568
+ /**
12569
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12570
+ */
12571
+ 409: OperationError;
12572
+ /**
12573
+ * Validation Error
12574
+ */
12575
+ 422: HttpValidationError;
12576
+ /**
12577
+ * Rate limit exceeded
12578
+ */
12579
+ 429: unknown;
12580
+ /**
12581
+ * Internal error
12582
+ */
12583
+ 500: unknown;
12584
+ };
12585
+ export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
12586
+ export type OpUpdateStructureResponses = {
12587
+ /**
12588
+ * Successful Response
12589
+ */
12590
+ 200: OperationEnvelope;
12591
+ };
12592
+ export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
12593
+ export type OpDeleteStructureData = {
12594
+ body: DeleteStructureRequest;
12595
+ headers?: {
12596
+ /**
12597
+ * Idempotency-Key
12598
+ */
12599
+ 'Idempotency-Key'?: string | null;
12600
+ };
12601
+ path: {
12602
+ /**
12603
+ * Graph Id
12604
+ */
12605
+ graph_id: string;
12606
+ };
12607
+ query?: never;
12608
+ url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
12609
+ };
12610
+ export type OpDeleteStructureErrors = {
12611
+ /**
12612
+ * Invalid request payload
12613
+ */
12614
+ 400: OperationError;
12615
+ /**
12616
+ * Unauthorized — missing or invalid credentials
12617
+ */
12618
+ 401: unknown;
12619
+ /**
12620
+ * Forbidden — caller cannot access this graph
12621
+ */
12622
+ 403: unknown;
12623
+ /**
12624
+ * Resource not found (graph, ledger, report, etc.)
12625
+ */
12626
+ 404: OperationError;
12627
+ /**
12628
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12629
+ */
12630
+ 409: OperationError;
12631
+ /**
12632
+ * Validation Error
12633
+ */
12634
+ 422: HttpValidationError;
12635
+ /**
12636
+ * Rate limit exceeded
12637
+ */
12638
+ 429: unknown;
12639
+ /**
12640
+ * Internal error
12641
+ */
12642
+ 500: unknown;
12643
+ };
12644
+ export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
12645
+ export type OpDeleteStructureResponses = {
12646
+ /**
12647
+ * Successful Response
12648
+ */
12649
+ 200: OperationEnvelope;
12650
+ };
12651
+ export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
12652
+ export type OpCreateElementData = {
12653
+ body: CreateElementRequest;
12654
+ headers?: {
12655
+ /**
12656
+ * Idempotency-Key
12657
+ */
12658
+ 'Idempotency-Key'?: string | null;
12659
+ };
12660
+ path: {
12661
+ /**
12662
+ * Graph Id
12663
+ */
12664
+ graph_id: string;
12665
+ };
12666
+ query?: never;
12667
+ url: '/extensions/roboledger/{graph_id}/operations/create-element';
12668
+ };
12669
+ export type OpCreateElementErrors = {
12670
+ /**
12671
+ * Invalid request payload
12672
+ */
12673
+ 400: OperationError;
12674
+ /**
12675
+ * Unauthorized — missing or invalid credentials
12676
+ */
12677
+ 401: unknown;
12678
+ /**
12679
+ * Forbidden — caller cannot access this graph
12680
+ */
12681
+ 403: unknown;
12682
+ /**
12683
+ * Resource not found (graph, ledger, report, etc.)
12684
+ */
12685
+ 404: OperationError;
12686
+ /**
12687
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12688
+ */
12689
+ 409: OperationError;
12690
+ /**
12691
+ * Validation Error
12692
+ */
12693
+ 422: HttpValidationError;
12694
+ /**
12695
+ * Rate limit exceeded
12696
+ */
12697
+ 429: unknown;
12698
+ /**
12699
+ * Internal error
12700
+ */
12701
+ 500: unknown;
12702
+ };
12703
+ export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
12704
+ export type OpCreateElementResponses = {
12705
+ /**
12706
+ * Successful Response
12707
+ */
12708
+ 200: OperationEnvelope;
12709
+ };
12710
+ export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
12711
+ export type OpUpdateElementData = {
12712
+ body: UpdateElementRequest;
12713
+ headers?: {
12714
+ /**
12715
+ * Idempotency-Key
12716
+ */
12717
+ 'Idempotency-Key'?: string | null;
12718
+ };
12719
+ path: {
12720
+ /**
12721
+ * Graph Id
12722
+ */
12723
+ graph_id: string;
12724
+ };
12725
+ query?: never;
12726
+ url: '/extensions/roboledger/{graph_id}/operations/update-element';
12727
+ };
12728
+ export type OpUpdateElementErrors = {
12729
+ /**
12730
+ * Invalid request payload
12731
+ */
12732
+ 400: OperationError;
12733
+ /**
12734
+ * Unauthorized — missing or invalid credentials
12735
+ */
12736
+ 401: unknown;
12737
+ /**
12738
+ * Forbidden — caller cannot access this graph
12739
+ */
12740
+ 403: unknown;
12741
+ /**
12742
+ * Resource not found (graph, ledger, report, etc.)
12743
+ */
12744
+ 404: OperationError;
12745
+ /**
12746
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12747
+ */
12748
+ 409: OperationError;
12749
+ /**
12750
+ * Validation Error
12751
+ */
12752
+ 422: HttpValidationError;
12753
+ /**
12754
+ * Rate limit exceeded
12755
+ */
12756
+ 429: unknown;
12757
+ /**
12758
+ * Internal error
12759
+ */
12760
+ 500: unknown;
12761
+ };
12762
+ export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
12763
+ export type OpUpdateElementResponses = {
12764
+ /**
12765
+ * Successful Response
12766
+ */
12767
+ 200: OperationEnvelope;
12768
+ };
12769
+ export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
12770
+ export type OpDeleteElementData = {
12771
+ body: DeleteElementRequest;
12772
+ headers?: {
12773
+ /**
12774
+ * Idempotency-Key
12775
+ */
12776
+ 'Idempotency-Key'?: string | null;
12777
+ };
12778
+ path: {
12779
+ /**
12780
+ * Graph Id
12781
+ */
12782
+ graph_id: string;
12783
+ };
12784
+ query?: never;
12785
+ url: '/extensions/roboledger/{graph_id}/operations/delete-element';
12786
+ };
12787
+ export type OpDeleteElementErrors = {
12788
+ /**
12789
+ * Invalid request payload
12790
+ */
12791
+ 400: OperationError;
12792
+ /**
12793
+ * Unauthorized — missing or invalid credentials
12794
+ */
12795
+ 401: unknown;
12796
+ /**
12797
+ * Forbidden — caller cannot access this graph
12798
+ */
12799
+ 403: unknown;
12800
+ /**
12801
+ * Resource not found (graph, ledger, report, etc.)
12802
+ */
12803
+ 404: OperationError;
12804
+ /**
12805
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12806
+ */
12807
+ 409: OperationError;
12808
+ /**
12809
+ * Validation Error
12810
+ */
12811
+ 422: HttpValidationError;
12812
+ /**
12813
+ * Rate limit exceeded
12814
+ */
12815
+ 429: unknown;
12816
+ /**
12817
+ * Internal error
12818
+ */
12819
+ 500: unknown;
12820
+ };
12821
+ export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
12822
+ export type OpDeleteElementResponses = {
12823
+ /**
12824
+ * Successful Response
12825
+ */
12826
+ 200: OperationEnvelope;
12827
+ };
12828
+ export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
12829
+ export type OpCreateAssociationsData = {
12830
+ body: BulkCreateAssociationsRequest;
12831
+ headers?: {
12832
+ /**
12833
+ * Idempotency-Key
12834
+ */
12835
+ 'Idempotency-Key'?: string | null;
12836
+ };
12837
+ path: {
12838
+ /**
12839
+ * Graph Id
12840
+ */
12841
+ graph_id: string;
12842
+ };
12843
+ query?: never;
12844
+ url: '/extensions/roboledger/{graph_id}/operations/create-associations';
12845
+ };
12846
+ export type OpCreateAssociationsErrors = {
12847
+ /**
12848
+ * Invalid request payload
12849
+ */
12850
+ 400: OperationError;
12851
+ /**
12852
+ * Unauthorized — missing or invalid credentials
12853
+ */
12854
+ 401: unknown;
12855
+ /**
12856
+ * Forbidden — caller cannot access this graph
12857
+ */
12858
+ 403: unknown;
12859
+ /**
12860
+ * Resource not found (graph, ledger, report, etc.)
12861
+ */
12862
+ 404: OperationError;
12863
+ /**
12864
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12865
+ */
12866
+ 409: OperationError;
12867
+ /**
12868
+ * Validation Error
12869
+ */
12870
+ 422: HttpValidationError;
12871
+ /**
12872
+ * Rate limit exceeded
12873
+ */
12874
+ 429: unknown;
12875
+ /**
12876
+ * Internal error
12877
+ */
12878
+ 500: unknown;
12879
+ };
12880
+ export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
12881
+ export type OpCreateAssociationsResponses = {
12882
+ /**
12883
+ * Successful Response
12884
+ */
12885
+ 200: OperationEnvelope;
12886
+ };
12887
+ export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
12888
+ export type OpUpdateAssociationData = {
12889
+ body: UpdateAssociationRequest;
12890
+ headers?: {
12891
+ /**
12892
+ * Idempotency-Key
12893
+ */
12894
+ 'Idempotency-Key'?: string | null;
12895
+ };
12896
+ path: {
12897
+ /**
12898
+ * Graph Id
12899
+ */
12900
+ graph_id: string;
12901
+ };
12902
+ query?: never;
12903
+ url: '/extensions/roboledger/{graph_id}/operations/update-association';
12904
+ };
12905
+ export type OpUpdateAssociationErrors = {
12906
+ /**
12907
+ * Invalid request payload
12908
+ */
12909
+ 400: OperationError;
12910
+ /**
12911
+ * Unauthorized — missing or invalid credentials
12912
+ */
12913
+ 401: unknown;
12914
+ /**
12915
+ * Forbidden — caller cannot access this graph
12916
+ */
12917
+ 403: unknown;
12918
+ /**
12919
+ * Resource not found (graph, ledger, report, etc.)
12920
+ */
12921
+ 404: OperationError;
12922
+ /**
12923
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12924
+ */
12925
+ 409: OperationError;
12926
+ /**
12927
+ * Validation Error
12928
+ */
12929
+ 422: HttpValidationError;
12930
+ /**
12931
+ * Rate limit exceeded
12932
+ */
12933
+ 429: unknown;
12934
+ /**
12935
+ * Internal error
12936
+ */
12937
+ 500: unknown;
12938
+ };
12939
+ export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
12940
+ export type OpUpdateAssociationResponses = {
12941
+ /**
12942
+ * Successful Response
12943
+ */
12944
+ 200: OperationEnvelope;
12945
+ };
12946
+ export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
12947
+ export type OpDeleteAssociationData = {
12948
+ body: DeleteAssociationRequest;
12949
+ headers?: {
12950
+ /**
12951
+ * Idempotency-Key
12952
+ */
12953
+ 'Idempotency-Key'?: string | null;
12954
+ };
12955
+ path: {
12956
+ /**
12957
+ * Graph Id
12958
+ */
12959
+ graph_id: string;
12960
+ };
12961
+ query?: never;
12962
+ url: '/extensions/roboledger/{graph_id}/operations/delete-association';
12963
+ };
12964
+ export type OpDeleteAssociationErrors = {
12965
+ /**
12966
+ * Invalid request payload
12967
+ */
12968
+ 400: OperationError;
12969
+ /**
12970
+ * Unauthorized — missing or invalid credentials
12971
+ */
12972
+ 401: unknown;
12973
+ /**
12974
+ * Forbidden — caller cannot access this graph
12975
+ */
12976
+ 403: unknown;
12977
+ /**
12978
+ * Resource not found (graph, ledger, report, etc.)
12979
+ */
12980
+ 404: OperationError;
12981
+ /**
12982
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12983
+ */
12984
+ 409: OperationError;
12985
+ /**
12986
+ * Validation Error
12987
+ */
12988
+ 422: HttpValidationError;
12989
+ /**
12990
+ * Rate limit exceeded
12991
+ */
12992
+ 429: unknown;
12993
+ /**
12994
+ * Internal error
12995
+ */
12996
+ 500: unknown;
12997
+ };
12998
+ export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
12999
+ export type OpDeleteAssociationResponses = {
13000
+ /**
13001
+ * Successful Response
13002
+ */
13003
+ 200: OperationEnvelope;
13004
+ };
13005
+ export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
13006
+ export type OpCreateJournalEntryData = {
13007
+ body: CreateJournalEntryRequest;
13008
+ headers?: {
13009
+ /**
13010
+ * Idempotency-Key
13011
+ */
13012
+ 'Idempotency-Key'?: string | null;
13013
+ };
13014
+ path: {
13015
+ /**
13016
+ * Graph Id
13017
+ */
13018
+ graph_id: string;
13019
+ };
13020
+ query?: never;
13021
+ url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
13022
+ };
13023
+ export type OpCreateJournalEntryErrors = {
13024
+ /**
13025
+ * Invalid request payload
13026
+ */
13027
+ 400: OperationError;
13028
+ /**
13029
+ * Unauthorized — missing or invalid credentials
13030
+ */
13031
+ 401: unknown;
13032
+ /**
13033
+ * Forbidden — caller cannot access this graph
13034
+ */
13035
+ 403: unknown;
13036
+ /**
13037
+ * Resource not found (graph, ledger, report, etc.)
13038
+ */
13039
+ 404: OperationError;
13040
+ /**
13041
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13042
+ */
13043
+ 409: OperationError;
13044
+ /**
13045
+ * Validation Error
13046
+ */
13047
+ 422: HttpValidationError;
13048
+ /**
13049
+ * Rate limit exceeded
13050
+ */
13051
+ 429: unknown;
13052
+ /**
13053
+ * Internal error
13054
+ */
13055
+ 500: unknown;
13056
+ };
13057
+ export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
13058
+ export type OpCreateJournalEntryResponses = {
13059
+ /**
13060
+ * Successful Response
13061
+ */
13062
+ 200: OperationEnvelope;
13063
+ };
13064
+ export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
13065
+ export type OpUpdateJournalEntryData = {
13066
+ body: UpdateJournalEntryRequest;
13067
+ headers?: {
13068
+ /**
13069
+ * Idempotency-Key
13070
+ */
13071
+ 'Idempotency-Key'?: string | null;
13072
+ };
13073
+ path: {
13074
+ /**
13075
+ * Graph Id
13076
+ */
13077
+ graph_id: string;
13078
+ };
13079
+ query?: never;
13080
+ url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
13081
+ };
13082
+ export type OpUpdateJournalEntryErrors = {
13083
+ /**
13084
+ * Invalid request payload
13085
+ */
13086
+ 400: OperationError;
13087
+ /**
13088
+ * Unauthorized — missing or invalid credentials
13089
+ */
13090
+ 401: unknown;
13091
+ /**
13092
+ * Forbidden — caller cannot access this graph
13093
+ */
13094
+ 403: unknown;
13095
+ /**
13096
+ * Resource not found (graph, ledger, report, etc.)
13097
+ */
13098
+ 404: OperationError;
13099
+ /**
13100
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13101
+ */
13102
+ 409: OperationError;
13103
+ /**
13104
+ * Validation Error
13105
+ */
13106
+ 422: HttpValidationError;
13107
+ /**
13108
+ * Rate limit exceeded
13109
+ */
13110
+ 429: unknown;
13111
+ /**
13112
+ * Internal error
13113
+ */
13114
+ 500: unknown;
13115
+ };
13116
+ export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
13117
+ export type OpUpdateJournalEntryResponses = {
13118
+ /**
13119
+ * Successful Response
13120
+ */
13121
+ 200: OperationEnvelope;
13122
+ };
13123
+ export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
13124
+ export type OpDeleteJournalEntryData = {
13125
+ body: DeleteJournalEntryRequest;
13126
+ headers?: {
13127
+ /**
13128
+ * Idempotency-Key
13129
+ */
13130
+ 'Idempotency-Key'?: string | null;
13131
+ };
13132
+ path: {
13133
+ /**
13134
+ * Graph Id
13135
+ */
13136
+ graph_id: string;
13137
+ };
13138
+ query?: never;
13139
+ url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
13140
+ };
13141
+ export type OpDeleteJournalEntryErrors = {
13142
+ /**
13143
+ * Invalid request payload
13144
+ */
13145
+ 400: OperationError;
13146
+ /**
13147
+ * Unauthorized — missing or invalid credentials
13148
+ */
13149
+ 401: unknown;
13150
+ /**
13151
+ * Forbidden — caller cannot access this graph
13152
+ */
13153
+ 403: unknown;
13154
+ /**
13155
+ * Resource not found (graph, ledger, report, etc.)
13156
+ */
13157
+ 404: OperationError;
13158
+ /**
13159
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13160
+ */
13161
+ 409: OperationError;
13162
+ /**
13163
+ * Validation Error
13164
+ */
13165
+ 422: HttpValidationError;
13166
+ /**
13167
+ * Rate limit exceeded
13168
+ */
13169
+ 429: unknown;
13170
+ /**
13171
+ * Internal error
13172
+ */
13173
+ 500: unknown;
13174
+ };
13175
+ export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
13176
+ export type OpDeleteJournalEntryResponses = {
13177
+ /**
13178
+ * Successful Response
13179
+ */
13180
+ 200: OperationEnvelope;
13181
+ };
13182
+ export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
13183
+ export type OpReverseJournalEntryData = {
13184
+ body: ReverseJournalEntryRequest;
13185
+ headers?: {
13186
+ /**
13187
+ * Idempotency-Key
13188
+ */
13189
+ 'Idempotency-Key'?: string | null;
13190
+ };
13191
+ path: {
13192
+ /**
13193
+ * Graph Id
13194
+ */
13195
+ graph_id: string;
13196
+ };
13197
+ query?: never;
13198
+ url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
13199
+ };
13200
+ export type OpReverseJournalEntryErrors = {
13201
+ /**
13202
+ * Invalid request payload
13203
+ */
13204
+ 400: OperationError;
13205
+ /**
13206
+ * Unauthorized — missing or invalid credentials
13207
+ */
13208
+ 401: unknown;
13209
+ /**
13210
+ * Forbidden — caller cannot access this graph
13211
+ */
13212
+ 403: unknown;
13213
+ /**
13214
+ * Resource not found (graph, ledger, report, etc.)
13215
+ */
13216
+ 404: OperationError;
13217
+ /**
13218
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13219
+ */
13220
+ 409: OperationError;
13221
+ /**
13222
+ * Validation Error
13223
+ */
13224
+ 422: HttpValidationError;
13225
+ /**
13226
+ * Rate limit exceeded
13227
+ */
13228
+ 429: unknown;
13229
+ /**
13230
+ * Internal error
13231
+ */
13232
+ 500: unknown;
13233
+ };
13234
+ export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
13235
+ export type OpReverseJournalEntryResponses = {
13236
+ /**
13237
+ * Successful Response
13238
+ */
13239
+ 200: OperationEnvelope;
13240
+ };
13241
+ export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
13242
+ export type OpUpdateScheduleData = {
13243
+ body: UpdateScheduleRequest;
13244
+ headers?: {
13245
+ /**
13246
+ * Idempotency-Key
13247
+ */
13248
+ 'Idempotency-Key'?: string | null;
13249
+ };
13250
+ path: {
13251
+ /**
13252
+ * Graph Id
13253
+ */
13254
+ graph_id: string;
13255
+ };
13256
+ query?: never;
13257
+ url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
13258
+ };
13259
+ export type OpUpdateScheduleErrors = {
13260
+ /**
13261
+ * Invalid request payload
13262
+ */
13263
+ 400: OperationError;
13264
+ /**
13265
+ * Unauthorized — missing or invalid credentials
13266
+ */
13267
+ 401: unknown;
13268
+ /**
13269
+ * Forbidden — caller cannot access this graph
13270
+ */
13271
+ 403: unknown;
13272
+ /**
13273
+ * Resource not found (graph, ledger, report, etc.)
13274
+ */
13275
+ 404: OperationError;
13276
+ /**
13277
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13278
+ */
13279
+ 409: OperationError;
13280
+ /**
13281
+ * Validation Error
13282
+ */
13283
+ 422: HttpValidationError;
13284
+ /**
13285
+ * Rate limit exceeded
13286
+ */
13287
+ 429: unknown;
13288
+ /**
13289
+ * Internal error
13290
+ */
13291
+ 500: unknown;
13292
+ };
13293
+ export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
13294
+ export type OpUpdateScheduleResponses = {
13295
+ /**
13296
+ * Successful Response
13297
+ */
13298
+ 200: OperationEnvelope;
13299
+ };
13300
+ export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
13301
+ export type OpDeleteScheduleData = {
13302
+ body: DeleteScheduleRequest;
13303
+ headers?: {
13304
+ /**
13305
+ * Idempotency-Key
13306
+ */
13307
+ 'Idempotency-Key'?: string | null;
13308
+ };
13309
+ path: {
13310
+ /**
13311
+ * Graph Id
13312
+ */
13313
+ graph_id: string;
13314
+ };
13315
+ query?: never;
13316
+ url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
13317
+ };
13318
+ export type OpDeleteScheduleErrors = {
13319
+ /**
13320
+ * Invalid request payload
13321
+ */
13322
+ 400: OperationError;
13323
+ /**
13324
+ * Unauthorized — missing or invalid credentials
13325
+ */
13326
+ 401: unknown;
13327
+ /**
13328
+ * Forbidden — caller cannot access this graph
13329
+ */
13330
+ 403: unknown;
13331
+ /**
13332
+ * Resource not found (graph, ledger, report, etc.)
13333
+ */
13334
+ 404: OperationError;
13335
+ /**
13336
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13337
+ */
13338
+ 409: OperationError;
13339
+ /**
13340
+ * Validation Error
13341
+ */
13342
+ 422: HttpValidationError;
13343
+ /**
13344
+ * Rate limit exceeded
13345
+ */
13346
+ 429: unknown;
13347
+ /**
13348
+ * Internal error
13349
+ */
13350
+ 500: unknown;
13351
+ };
13352
+ export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
13353
+ export type OpDeleteScheduleResponses = {
13354
+ /**
13355
+ * Successful Response
13356
+ */
13357
+ 200: OperationEnvelope;
13358
+ };
13359
+ export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
13360
+ export type OpAutoMapElementsData = {
13361
+ body: AutoMapElementsOperation;
13362
+ headers?: {
13363
+ /**
13364
+ * Idempotency-Key
13365
+ */
13366
+ 'Idempotency-Key'?: string | null;
13367
+ };
13368
+ path: {
13369
+ /**
13370
+ * Graph Id
13371
+ */
13372
+ graph_id: string;
13373
+ };
13374
+ query?: never;
13375
+ url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
13376
+ };
13377
+ export type OpAutoMapElementsErrors = {
13378
+ /**
13379
+ * Invalid request payload
13380
+ */
13381
+ 400: OperationError;
13382
+ /**
13383
+ * Unauthorized — missing or invalid credentials
13384
+ */
13385
+ 401: unknown;
13386
+ /**
13387
+ * Forbidden — caller cannot access this graph
13388
+ */
13389
+ 403: unknown;
13390
+ /**
13391
+ * Resource not found (graph, ledger, report, etc.)
13392
+ */
13393
+ 404: OperationError;
13394
+ /**
13395
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13396
+ */
13397
+ 409: OperationError;
13398
+ /**
13399
+ * Validation Error
13400
+ */
13401
+ 422: HttpValidationError;
13402
+ /**
13403
+ * Rate limit exceeded
13404
+ */
13405
+ 429: unknown;
13406
+ /**
13407
+ * Internal error
13408
+ */
13409
+ 500: unknown;
13410
+ };
13411
+ export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
13412
+ export type OpAutoMapElementsResponses = {
13413
+ /**
13414
+ * Successful Response
13415
+ */
13416
+ 202: OperationEnvelope;
13417
+ };
13418
+ export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
13419
+ export type OpCreateReportData = {
13420
+ body: CreateReportRequest;
13421
+ headers?: {
13422
+ /**
13423
+ * Idempotency-Key
13424
+ */
13425
+ 'Idempotency-Key'?: string | null;
13426
+ };
13427
+ path: {
13428
+ /**
13429
+ * Graph Id
13430
+ */
13431
+ graph_id: string;
13432
+ };
13433
+ query?: never;
13434
+ url: '/extensions/roboledger/{graph_id}/operations/create-report';
13435
+ };
13436
+ export type OpCreateReportErrors = {
13437
+ /**
13438
+ * Invalid request payload
13439
+ */
13440
+ 400: OperationError;
13441
+ /**
13442
+ * Unauthorized — missing or invalid credentials
13443
+ */
13444
+ 401: unknown;
13445
+ /**
13446
+ * Forbidden — caller cannot access this graph
13447
+ */
13448
+ 403: unknown;
13449
+ /**
13450
+ * Resource not found (graph, ledger, report, etc.)
13451
+ */
13452
+ 404: OperationError;
13453
+ /**
13454
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13455
+ */
13456
+ 409: OperationError;
13457
+ /**
13458
+ * Validation Error
13459
+ */
13460
+ 422: HttpValidationError;
13461
+ /**
13462
+ * Rate limit exceeded
13463
+ */
13464
+ 429: unknown;
13465
+ /**
13466
+ * Internal error
13467
+ */
13468
+ 500: unknown;
13469
+ };
13470
+ export type OpCreateReportError = OpCreateReportErrors[keyof OpCreateReportErrors];
13471
+ export type OpCreateReportResponses = {
13472
+ /**
13473
+ * Successful Response
13474
+ */
13475
+ 200: OperationEnvelope;
13476
+ };
13477
+ export type OpCreateReportResponse = OpCreateReportResponses[keyof OpCreateReportResponses];
13478
+ export type OpRegenerateReportData = {
11461
13479
  body: RegenerateReportOperation;
11462
13480
  headers?: {
11463
13481
  /**
@@ -11475,10 +13493,38 @@ export type OpRegenerateReportData = {
11475
13493
  url: '/extensions/roboledger/{graph_id}/operations/regenerate-report';
11476
13494
  };
11477
13495
  export type OpRegenerateReportErrors = {
13496
+ /**
13497
+ * Invalid request payload
13498
+ */
13499
+ 400: OperationError;
13500
+ /**
13501
+ * Unauthorized — missing or invalid credentials
13502
+ */
13503
+ 401: unknown;
13504
+ /**
13505
+ * Forbidden — caller cannot access this graph
13506
+ */
13507
+ 403: unknown;
13508
+ /**
13509
+ * Resource not found (graph, ledger, report, etc.)
13510
+ */
13511
+ 404: OperationError;
13512
+ /**
13513
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13514
+ */
13515
+ 409: OperationError;
11478
13516
  /**
11479
13517
  * Validation Error
11480
13518
  */
11481
13519
  422: HttpValidationError;
13520
+ /**
13521
+ * Rate limit exceeded
13522
+ */
13523
+ 429: unknown;
13524
+ /**
13525
+ * Internal error
13526
+ */
13527
+ 500: unknown;
11482
13528
  };
11483
13529
  export type OpRegenerateReportError = OpRegenerateReportErrors[keyof OpRegenerateReportErrors];
11484
13530
  export type OpRegenerateReportResponses = {
@@ -11506,10 +13552,38 @@ export type OpDeleteReportData = {
11506
13552
  url: '/extensions/roboledger/{graph_id}/operations/delete-report';
11507
13553
  };
11508
13554
  export type OpDeleteReportErrors = {
13555
+ /**
13556
+ * Invalid request payload
13557
+ */
13558
+ 400: OperationError;
13559
+ /**
13560
+ * Unauthorized — missing or invalid credentials
13561
+ */
13562
+ 401: unknown;
13563
+ /**
13564
+ * Forbidden — caller cannot access this graph
13565
+ */
13566
+ 403: unknown;
13567
+ /**
13568
+ * Resource not found (graph, ledger, report, etc.)
13569
+ */
13570
+ 404: OperationError;
13571
+ /**
13572
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13573
+ */
13574
+ 409: OperationError;
11509
13575
  /**
11510
13576
  * Validation Error
11511
13577
  */
11512
13578
  422: HttpValidationError;
13579
+ /**
13580
+ * Rate limit exceeded
13581
+ */
13582
+ 429: unknown;
13583
+ /**
13584
+ * Internal error
13585
+ */
13586
+ 500: unknown;
11513
13587
  };
11514
13588
  export type OpDeleteReportError = OpDeleteReportErrors[keyof OpDeleteReportErrors];
11515
13589
  export type OpDeleteReportResponses = {
@@ -11537,10 +13611,38 @@ export type OpShareReportData = {
11537
13611
  url: '/extensions/roboledger/{graph_id}/operations/share-report';
11538
13612
  };
11539
13613
  export type OpShareReportErrors = {
13614
+ /**
13615
+ * Invalid request payload
13616
+ */
13617
+ 400: OperationError;
13618
+ /**
13619
+ * Unauthorized — missing or invalid credentials
13620
+ */
13621
+ 401: unknown;
13622
+ /**
13623
+ * Forbidden — caller cannot access this graph
13624
+ */
13625
+ 403: unknown;
13626
+ /**
13627
+ * Resource not found (graph, ledger, report, etc.)
13628
+ */
13629
+ 404: OperationError;
13630
+ /**
13631
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13632
+ */
13633
+ 409: OperationError;
11540
13634
  /**
11541
13635
  * Validation Error
11542
13636
  */
11543
13637
  422: HttpValidationError;
13638
+ /**
13639
+ * Rate limit exceeded
13640
+ */
13641
+ 429: unknown;
13642
+ /**
13643
+ * Internal error
13644
+ */
13645
+ 500: unknown;
11544
13646
  };
11545
13647
  export type OpShareReportError = OpShareReportErrors[keyof OpShareReportErrors];
11546
13648
  export type OpShareReportResponses = {
@@ -11568,10 +13670,38 @@ export type OpCreatePublishListData = {
11568
13670
  url: '/extensions/roboledger/{graph_id}/operations/create-publish-list';
11569
13671
  };
11570
13672
  export type OpCreatePublishListErrors = {
13673
+ /**
13674
+ * Invalid request payload
13675
+ */
13676
+ 400: OperationError;
13677
+ /**
13678
+ * Unauthorized — missing or invalid credentials
13679
+ */
13680
+ 401: unknown;
13681
+ /**
13682
+ * Forbidden — caller cannot access this graph
13683
+ */
13684
+ 403: unknown;
13685
+ /**
13686
+ * Resource not found (graph, ledger, report, etc.)
13687
+ */
13688
+ 404: OperationError;
13689
+ /**
13690
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13691
+ */
13692
+ 409: OperationError;
11571
13693
  /**
11572
13694
  * Validation Error
11573
13695
  */
11574
13696
  422: HttpValidationError;
13697
+ /**
13698
+ * Rate limit exceeded
13699
+ */
13700
+ 429: unknown;
13701
+ /**
13702
+ * Internal error
13703
+ */
13704
+ 500: unknown;
11575
13705
  };
11576
13706
  export type OpCreatePublishListError = OpCreatePublishListErrors[keyof OpCreatePublishListErrors];
11577
13707
  export type OpCreatePublishListResponses = {
@@ -11599,10 +13729,38 @@ export type OpUpdatePublishListData = {
11599
13729
  url: '/extensions/roboledger/{graph_id}/operations/update-publish-list';
11600
13730
  };
11601
13731
  export type OpUpdatePublishListErrors = {
13732
+ /**
13733
+ * Invalid request payload
13734
+ */
13735
+ 400: OperationError;
13736
+ /**
13737
+ * Unauthorized — missing or invalid credentials
13738
+ */
13739
+ 401: unknown;
13740
+ /**
13741
+ * Forbidden — caller cannot access this graph
13742
+ */
13743
+ 403: unknown;
13744
+ /**
13745
+ * Resource not found (graph, ledger, report, etc.)
13746
+ */
13747
+ 404: OperationError;
13748
+ /**
13749
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13750
+ */
13751
+ 409: OperationError;
11602
13752
  /**
11603
13753
  * Validation Error
11604
13754
  */
11605
13755
  422: HttpValidationError;
13756
+ /**
13757
+ * Rate limit exceeded
13758
+ */
13759
+ 429: unknown;
13760
+ /**
13761
+ * Internal error
13762
+ */
13763
+ 500: unknown;
11606
13764
  };
11607
13765
  export type OpUpdatePublishListError = OpUpdatePublishListErrors[keyof OpUpdatePublishListErrors];
11608
13766
  export type OpUpdatePublishListResponses = {
@@ -11630,10 +13788,38 @@ export type OpDeletePublishListData = {
11630
13788
  url: '/extensions/roboledger/{graph_id}/operations/delete-publish-list';
11631
13789
  };
11632
13790
  export type OpDeletePublishListErrors = {
13791
+ /**
13792
+ * Invalid request payload
13793
+ */
13794
+ 400: OperationError;
13795
+ /**
13796
+ * Unauthorized — missing or invalid credentials
13797
+ */
13798
+ 401: unknown;
13799
+ /**
13800
+ * Forbidden — caller cannot access this graph
13801
+ */
13802
+ 403: unknown;
13803
+ /**
13804
+ * Resource not found (graph, ledger, report, etc.)
13805
+ */
13806
+ 404: OperationError;
13807
+ /**
13808
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13809
+ */
13810
+ 409: OperationError;
11633
13811
  /**
11634
13812
  * Validation Error
11635
13813
  */
11636
13814
  422: HttpValidationError;
13815
+ /**
13816
+ * Rate limit exceeded
13817
+ */
13818
+ 429: unknown;
13819
+ /**
13820
+ * Internal error
13821
+ */
13822
+ 500: unknown;
11637
13823
  };
11638
13824
  export type OpDeletePublishListError = OpDeletePublishListErrors[keyof OpDeletePublishListErrors];
11639
13825
  export type OpDeletePublishListResponses = {
@@ -11661,10 +13847,38 @@ export type OpAddPublishListMembersData = {
11661
13847
  url: '/extensions/roboledger/{graph_id}/operations/add-publish-list-members';
11662
13848
  };
11663
13849
  export type OpAddPublishListMembersErrors = {
13850
+ /**
13851
+ * Invalid request payload
13852
+ */
13853
+ 400: OperationError;
13854
+ /**
13855
+ * Unauthorized — missing or invalid credentials
13856
+ */
13857
+ 401: unknown;
13858
+ /**
13859
+ * Forbidden — caller cannot access this graph
13860
+ */
13861
+ 403: unknown;
13862
+ /**
13863
+ * Resource not found (graph, ledger, report, etc.)
13864
+ */
13865
+ 404: OperationError;
13866
+ /**
13867
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13868
+ */
13869
+ 409: OperationError;
11664
13870
  /**
11665
13871
  * Validation Error
11666
13872
  */
11667
13873
  422: HttpValidationError;
13874
+ /**
13875
+ * Rate limit exceeded
13876
+ */
13877
+ 429: unknown;
13878
+ /**
13879
+ * Internal error
13880
+ */
13881
+ 500: unknown;
11668
13882
  };
11669
13883
  export type OpAddPublishListMembersError = OpAddPublishListMembersErrors[keyof OpAddPublishListMembersErrors];
11670
13884
  export type OpAddPublishListMembersResponses = {
@@ -11692,10 +13906,38 @@ export type OpRemovePublishListMemberData = {
11692
13906
  url: '/extensions/roboledger/{graph_id}/operations/remove-publish-list-member';
11693
13907
  };
11694
13908
  export type OpRemovePublishListMemberErrors = {
13909
+ /**
13910
+ * Invalid request payload
13911
+ */
13912
+ 400: OperationError;
13913
+ /**
13914
+ * Unauthorized — missing or invalid credentials
13915
+ */
13916
+ 401: unknown;
13917
+ /**
13918
+ * Forbidden — caller cannot access this graph
13919
+ */
13920
+ 403: unknown;
13921
+ /**
13922
+ * Resource not found (graph, ledger, report, etc.)
13923
+ */
13924
+ 404: OperationError;
13925
+ /**
13926
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13927
+ */
13928
+ 409: OperationError;
11695
13929
  /**
11696
13930
  * Validation Error
11697
13931
  */
11698
13932
  422: HttpValidationError;
13933
+ /**
13934
+ * Rate limit exceeded
13935
+ */
13936
+ 429: unknown;
13937
+ /**
13938
+ * Internal error
13939
+ */
13940
+ 500: unknown;
11699
13941
  };
11700
13942
  export type OpRemovePublishListMemberError = OpRemovePublishListMemberErrors[keyof OpRemovePublishListMemberErrors];
11701
13943
  export type OpRemovePublishListMemberResponses = {
@@ -11723,10 +13965,38 @@ export type OpBuildFactGridData = {
11723
13965
  url: '/extensions/roboledger/{graph_id}/operations/build-fact-grid';
11724
13966
  };
11725
13967
  export type OpBuildFactGridErrors = {
13968
+ /**
13969
+ * Invalid request payload
13970
+ */
13971
+ 400: OperationError;
13972
+ /**
13973
+ * Unauthorized — missing or invalid credentials
13974
+ */
13975
+ 401: unknown;
13976
+ /**
13977
+ * Forbidden — caller cannot access this graph
13978
+ */
13979
+ 403: unknown;
13980
+ /**
13981
+ * Resource not found (graph, ledger, report, etc.)
13982
+ */
13983
+ 404: OperationError;
13984
+ /**
13985
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13986
+ */
13987
+ 409: OperationError;
11726
13988
  /**
11727
13989
  * Validation Error
11728
13990
  */
11729
13991
  422: HttpValidationError;
13992
+ /**
13993
+ * Rate limit exceeded
13994
+ */
13995
+ 429: unknown;
13996
+ /**
13997
+ * Internal error
13998
+ */
13999
+ 500: unknown;
11730
14000
  };
11731
14001
  export type OpBuildFactGridError = OpBuildFactGridErrors[keyof OpBuildFactGridErrors];
11732
14002
  export type OpBuildFactGridResponses = {
@@ -11754,10 +14024,38 @@ export type OpCreatePortfolioData = {
11754
14024
  url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
11755
14025
  };
11756
14026
  export type OpCreatePortfolioErrors = {
14027
+ /**
14028
+ * Invalid request payload
14029
+ */
14030
+ 400: OperationError;
14031
+ /**
14032
+ * Unauthorized — missing or invalid credentials
14033
+ */
14034
+ 401: unknown;
14035
+ /**
14036
+ * Forbidden — caller cannot access this graph
14037
+ */
14038
+ 403: unknown;
14039
+ /**
14040
+ * Resource not found (graph, ledger, report, etc.)
14041
+ */
14042
+ 404: OperationError;
14043
+ /**
14044
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14045
+ */
14046
+ 409: OperationError;
11757
14047
  /**
11758
14048
  * Validation Error
11759
14049
  */
11760
14050
  422: HttpValidationError;
14051
+ /**
14052
+ * Rate limit exceeded
14053
+ */
14054
+ 429: unknown;
14055
+ /**
14056
+ * Internal error
14057
+ */
14058
+ 500: unknown;
11761
14059
  };
11762
14060
  export type OpCreatePortfolioError = OpCreatePortfolioErrors[keyof OpCreatePortfolioErrors];
11763
14061
  export type OpCreatePortfolioResponses = {
@@ -11785,10 +14083,38 @@ export type OpUpdatePortfolioData = {
11785
14083
  url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio';
11786
14084
  };
11787
14085
  export type OpUpdatePortfolioErrors = {
14086
+ /**
14087
+ * Invalid request payload
14088
+ */
14089
+ 400: OperationError;
14090
+ /**
14091
+ * Unauthorized — missing or invalid credentials
14092
+ */
14093
+ 401: unknown;
14094
+ /**
14095
+ * Forbidden — caller cannot access this graph
14096
+ */
14097
+ 403: unknown;
14098
+ /**
14099
+ * Resource not found (graph, ledger, report, etc.)
14100
+ */
14101
+ 404: OperationError;
14102
+ /**
14103
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14104
+ */
14105
+ 409: OperationError;
11788
14106
  /**
11789
14107
  * Validation Error
11790
14108
  */
11791
14109
  422: HttpValidationError;
14110
+ /**
14111
+ * Rate limit exceeded
14112
+ */
14113
+ 429: unknown;
14114
+ /**
14115
+ * Internal error
14116
+ */
14117
+ 500: unknown;
11792
14118
  };
11793
14119
  export type OpUpdatePortfolioError = OpUpdatePortfolioErrors[keyof OpUpdatePortfolioErrors];
11794
14120
  export type OpUpdatePortfolioResponses = {
@@ -11816,10 +14142,38 @@ export type OpDeletePortfolioData = {
11816
14142
  url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio';
11817
14143
  };
11818
14144
  export type OpDeletePortfolioErrors = {
14145
+ /**
14146
+ * Invalid request payload
14147
+ */
14148
+ 400: OperationError;
14149
+ /**
14150
+ * Unauthorized — missing or invalid credentials
14151
+ */
14152
+ 401: unknown;
14153
+ /**
14154
+ * Forbidden — caller cannot access this graph
14155
+ */
14156
+ 403: unknown;
14157
+ /**
14158
+ * Resource not found (graph, ledger, report, etc.)
14159
+ */
14160
+ 404: OperationError;
14161
+ /**
14162
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14163
+ */
14164
+ 409: OperationError;
11819
14165
  /**
11820
14166
  * Validation Error
11821
14167
  */
11822
14168
  422: HttpValidationError;
14169
+ /**
14170
+ * Rate limit exceeded
14171
+ */
14172
+ 429: unknown;
14173
+ /**
14174
+ * Internal error
14175
+ */
14176
+ 500: unknown;
11823
14177
  };
11824
14178
  export type OpDeletePortfolioError = OpDeletePortfolioErrors[keyof OpDeletePortfolioErrors];
11825
14179
  export type OpDeletePortfolioResponses = {
@@ -11847,10 +14201,38 @@ export type OpCreateSecurityData = {
11847
14201
  url: '/extensions/roboinvestor/{graph_id}/operations/create-security';
11848
14202
  };
11849
14203
  export type OpCreateSecurityErrors = {
14204
+ /**
14205
+ * Invalid request payload
14206
+ */
14207
+ 400: OperationError;
14208
+ /**
14209
+ * Unauthorized — missing or invalid credentials
14210
+ */
14211
+ 401: unknown;
14212
+ /**
14213
+ * Forbidden — caller cannot access this graph
14214
+ */
14215
+ 403: unknown;
14216
+ /**
14217
+ * Resource not found (graph, ledger, report, etc.)
14218
+ */
14219
+ 404: OperationError;
14220
+ /**
14221
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14222
+ */
14223
+ 409: OperationError;
11850
14224
  /**
11851
14225
  * Validation Error
11852
14226
  */
11853
14227
  422: HttpValidationError;
14228
+ /**
14229
+ * Rate limit exceeded
14230
+ */
14231
+ 429: unknown;
14232
+ /**
14233
+ * Internal error
14234
+ */
14235
+ 500: unknown;
11854
14236
  };
11855
14237
  export type OpCreateSecurityError = OpCreateSecurityErrors[keyof OpCreateSecurityErrors];
11856
14238
  export type OpCreateSecurityResponses = {
@@ -11878,10 +14260,38 @@ export type OpUpdateSecurityData = {
11878
14260
  url: '/extensions/roboinvestor/{graph_id}/operations/update-security';
11879
14261
  };
11880
14262
  export type OpUpdateSecurityErrors = {
14263
+ /**
14264
+ * Invalid request payload
14265
+ */
14266
+ 400: OperationError;
14267
+ /**
14268
+ * Unauthorized — missing or invalid credentials
14269
+ */
14270
+ 401: unknown;
14271
+ /**
14272
+ * Forbidden — caller cannot access this graph
14273
+ */
14274
+ 403: unknown;
14275
+ /**
14276
+ * Resource not found (graph, ledger, report, etc.)
14277
+ */
14278
+ 404: OperationError;
14279
+ /**
14280
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14281
+ */
14282
+ 409: OperationError;
11881
14283
  /**
11882
14284
  * Validation Error
11883
14285
  */
11884
14286
  422: HttpValidationError;
14287
+ /**
14288
+ * Rate limit exceeded
14289
+ */
14290
+ 429: unknown;
14291
+ /**
14292
+ * Internal error
14293
+ */
14294
+ 500: unknown;
11885
14295
  };
11886
14296
  export type OpUpdateSecurityError = OpUpdateSecurityErrors[keyof OpUpdateSecurityErrors];
11887
14297
  export type OpUpdateSecurityResponses = {
@@ -11909,10 +14319,38 @@ export type OpDeleteSecurityData = {
11909
14319
  url: '/extensions/roboinvestor/{graph_id}/operations/delete-security';
11910
14320
  };
11911
14321
  export type OpDeleteSecurityErrors = {
14322
+ /**
14323
+ * Invalid request payload
14324
+ */
14325
+ 400: OperationError;
14326
+ /**
14327
+ * Unauthorized — missing or invalid credentials
14328
+ */
14329
+ 401: unknown;
14330
+ /**
14331
+ * Forbidden — caller cannot access this graph
14332
+ */
14333
+ 403: unknown;
14334
+ /**
14335
+ * Resource not found (graph, ledger, report, etc.)
14336
+ */
14337
+ 404: OperationError;
14338
+ /**
14339
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14340
+ */
14341
+ 409: OperationError;
11912
14342
  /**
11913
14343
  * Validation Error
11914
14344
  */
11915
14345
  422: HttpValidationError;
14346
+ /**
14347
+ * Rate limit exceeded
14348
+ */
14349
+ 429: unknown;
14350
+ /**
14351
+ * Internal error
14352
+ */
14353
+ 500: unknown;
11916
14354
  };
11917
14355
  export type OpDeleteSecurityError = OpDeleteSecurityErrors[keyof OpDeleteSecurityErrors];
11918
14356
  export type OpDeleteSecurityResponses = {
@@ -11940,10 +14378,38 @@ export type OpCreatePositionData = {
11940
14378
  url: '/extensions/roboinvestor/{graph_id}/operations/create-position';
11941
14379
  };
11942
14380
  export type OpCreatePositionErrors = {
14381
+ /**
14382
+ * Invalid request payload
14383
+ */
14384
+ 400: OperationError;
14385
+ /**
14386
+ * Unauthorized — missing or invalid credentials
14387
+ */
14388
+ 401: unknown;
14389
+ /**
14390
+ * Forbidden — caller cannot access this graph
14391
+ */
14392
+ 403: unknown;
14393
+ /**
14394
+ * Resource not found (graph, ledger, report, etc.)
14395
+ */
14396
+ 404: OperationError;
14397
+ /**
14398
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14399
+ */
14400
+ 409: OperationError;
11943
14401
  /**
11944
14402
  * Validation Error
11945
14403
  */
11946
14404
  422: HttpValidationError;
14405
+ /**
14406
+ * Rate limit exceeded
14407
+ */
14408
+ 429: unknown;
14409
+ /**
14410
+ * Internal error
14411
+ */
14412
+ 500: unknown;
11947
14413
  };
11948
14414
  export type OpCreatePositionError = OpCreatePositionErrors[keyof OpCreatePositionErrors];
11949
14415
  export type OpCreatePositionResponses = {
@@ -11971,10 +14437,38 @@ export type OpUpdatePositionData = {
11971
14437
  url: '/extensions/roboinvestor/{graph_id}/operations/update-position';
11972
14438
  };
11973
14439
  export type OpUpdatePositionErrors = {
14440
+ /**
14441
+ * Invalid request payload
14442
+ */
14443
+ 400: OperationError;
14444
+ /**
14445
+ * Unauthorized — missing or invalid credentials
14446
+ */
14447
+ 401: unknown;
14448
+ /**
14449
+ * Forbidden — caller cannot access this graph
14450
+ */
14451
+ 403: unknown;
14452
+ /**
14453
+ * Resource not found (graph, ledger, report, etc.)
14454
+ */
14455
+ 404: OperationError;
14456
+ /**
14457
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14458
+ */
14459
+ 409: OperationError;
11974
14460
  /**
11975
14461
  * Validation Error
11976
14462
  */
11977
14463
  422: HttpValidationError;
14464
+ /**
14465
+ * Rate limit exceeded
14466
+ */
14467
+ 429: unknown;
14468
+ /**
14469
+ * Internal error
14470
+ */
14471
+ 500: unknown;
11978
14472
  };
11979
14473
  export type OpUpdatePositionError = OpUpdatePositionErrors[keyof OpUpdatePositionErrors];
11980
14474
  export type OpUpdatePositionResponses = {
@@ -12002,10 +14496,38 @@ export type OpDeletePositionData = {
12002
14496
  url: '/extensions/roboinvestor/{graph_id}/operations/delete-position';
12003
14497
  };
12004
14498
  export type OpDeletePositionErrors = {
14499
+ /**
14500
+ * Invalid request payload
14501
+ */
14502
+ 400: OperationError;
14503
+ /**
14504
+ * Unauthorized — missing or invalid credentials
14505
+ */
14506
+ 401: unknown;
14507
+ /**
14508
+ * Forbidden — caller cannot access this graph
14509
+ */
14510
+ 403: unknown;
14511
+ /**
14512
+ * Resource not found (graph, ledger, report, etc.)
14513
+ */
14514
+ 404: OperationError;
14515
+ /**
14516
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14517
+ */
14518
+ 409: OperationError;
12005
14519
  /**
12006
14520
  * Validation Error
12007
14521
  */
12008
14522
  422: HttpValidationError;
14523
+ /**
14524
+ * Rate limit exceeded
14525
+ */
14526
+ 429: unknown;
14527
+ /**
14528
+ * Internal error
14529
+ */
14530
+ 500: unknown;
12009
14531
  };
12010
14532
  export type OpDeletePositionError = OpDeletePositionErrors[keyof OpDeletePositionErrors];
12011
14533
  export type OpDeletePositionResponses = {