@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
package/sdk/types.gen.ts CHANGED
@@ -763,26 +763,6 @@ export type BackupResponse = {
763
763
  expires_at: string | null;
764
764
  };
765
765
 
766
- /**
767
- * BackupRestoreRequest
768
- *
769
- * Request model for restoring from a backup.
770
- */
771
- export type BackupRestoreRequest = {
772
- /**
773
- * Create System Backup
774
- *
775
- * Create a system backup of existing database before restore
776
- */
777
- create_system_backup?: boolean;
778
- /**
779
- * Verify After Restore
780
- *
781
- * Verify database integrity after restore
782
- */
783
- verify_after_restore?: boolean;
784
- };
785
-
786
766
  /**
787
767
  * BackupStatsResponse
788
768
  *
@@ -927,6 +907,66 @@ export type BillingCustomer = {
927
907
  created_at: string;
928
908
  };
929
909
 
910
+ /**
911
+ * BulkAssociationItem
912
+ *
913
+ * A single association within a bulk-create payload. The parent
914
+ * `structure_id` is set once on the request envelope, not repeated
915
+ * per item.
916
+ */
917
+ export type BulkAssociationItem = {
918
+ /**
919
+ * From Element Id
920
+ */
921
+ from_element_id: string;
922
+ /**
923
+ * To Element Id
924
+ */
925
+ to_element_id: string;
926
+ /**
927
+ * Association Type
928
+ */
929
+ association_type?: 'presentation' | 'calculation' | 'mapping';
930
+ /**
931
+ * Arcrole
932
+ */
933
+ arcrole?: string | null;
934
+ /**
935
+ * Order Value
936
+ */
937
+ order_value?: number | null;
938
+ /**
939
+ * Weight
940
+ */
941
+ weight?: number | null;
942
+ /**
943
+ * Confidence
944
+ */
945
+ confidence?: number | null;
946
+ /**
947
+ * Suggested By
948
+ */
949
+ suggested_by?: string | null;
950
+ };
951
+
952
+ /**
953
+ * BulkCreateAssociationsRequest
954
+ *
955
+ * Bulk create associations within a single structure. Atomic — any
956
+ * failed row rolls back the whole batch. Handles 50+ presentation arcs,
957
+ * 25+ calculation arcs, or a full table linkbase in one call.
958
+ */
959
+ export type BulkCreateAssociationsRequest = {
960
+ /**
961
+ * Structure Id
962
+ */
963
+ structure_id: string;
964
+ /**
965
+ * Associations
966
+ */
967
+ associations: Array<BulkAssociationItem>;
968
+ };
969
+
930
970
  /**
931
971
  * BulkDocumentUploadRequest
932
972
  *
@@ -1421,6 +1461,87 @@ export type CreateConnectionRequest = {
1421
1461
  quickbooks_config?: QuickBooksConnectionConfig | null;
1422
1462
  };
1423
1463
 
1464
+ /**
1465
+ * CreateElementRequest
1466
+ *
1467
+ * Create a new Element within a taxonomy. For chart-of-accounts
1468
+ * taxonomies this is how native accounts are added.
1469
+ */
1470
+ export type CreateElementRequest = {
1471
+ /**
1472
+ * Taxonomy Id
1473
+ */
1474
+ taxonomy_id: string;
1475
+ /**
1476
+ * Code
1477
+ */
1478
+ code?: string | null;
1479
+ /**
1480
+ * Name
1481
+ */
1482
+ name: string;
1483
+ /**
1484
+ * Description
1485
+ */
1486
+ description?: string | null;
1487
+ /**
1488
+ * Classification
1489
+ */
1490
+ classification: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense';
1491
+ /**
1492
+ * Sub Classification
1493
+ */
1494
+ sub_classification?: string | null;
1495
+ /**
1496
+ * Balance Type
1497
+ */
1498
+ balance_type?: 'debit' | 'credit';
1499
+ /**
1500
+ * Period Type
1501
+ */
1502
+ period_type?: 'duration' | 'instant';
1503
+ /**
1504
+ * Element Type
1505
+ */
1506
+ element_type?: 'concept' | 'abstract' | 'axis' | 'member' | 'hypercube';
1507
+ /**
1508
+ * Is Abstract
1509
+ */
1510
+ is_abstract?: boolean;
1511
+ /**
1512
+ * Is Monetary
1513
+ */
1514
+ is_monetary?: boolean;
1515
+ /**
1516
+ * Parent Id
1517
+ */
1518
+ parent_id?: string | null;
1519
+ /**
1520
+ * Source
1521
+ */
1522
+ source?: 'native' | 'sfac6' | 'us-gaap' | 'ifrs' | 'quickbooks' | 'xero' | 'plaid' | 'import';
1523
+ /**
1524
+ * Currency
1525
+ */
1526
+ currency?: string;
1527
+ /**
1528
+ * Qname
1529
+ */
1530
+ qname?: string | null;
1531
+ /**
1532
+ * Namespace
1533
+ */
1534
+ namespace?: string | null;
1535
+ /**
1536
+ * External Id
1537
+ */
1538
+ external_id?: string | null;
1539
+ /**
1540
+ * External Source
1541
+ */
1542
+ external_source?: string | null;
1543
+ };
1544
+
1424
1545
  /**
1425
1546
  * CreateGraphRequest
1426
1547
  *
@@ -1463,6 +1584,47 @@ export type CreateGraphRequest = {
1463
1584
  tags?: Array<string>;
1464
1585
  };
1465
1586
 
1587
+ /**
1588
+ * CreateJournalEntryRequest
1589
+ *
1590
+ * Create a new journal entry with balanced line items.
1591
+ *
1592
+ * Defaults to `status='draft'` for ongoing native writes (the normal
1593
+ * workflow: draft → review → post via close-period). Pass
1594
+ * `status='posted'` for historical data import where entries represent
1595
+ * already-happened business events that don't need review.
1596
+ *
1597
+ * Total debit amount must equal total credit amount or the request
1598
+ * is rejected with 422. `line_items` must contain at least two rows
1599
+ * (at least one debit, at least one credit).
1600
+ */
1601
+ export type CreateJournalEntryRequest = {
1602
+ /**
1603
+ * Posting Date
1604
+ */
1605
+ posting_date: string;
1606
+ /**
1607
+ * Memo
1608
+ */
1609
+ memo: string;
1610
+ /**
1611
+ * Line Items
1612
+ */
1613
+ line_items: Array<JournalEntryLineItemInput>;
1614
+ /**
1615
+ * Type
1616
+ */
1617
+ type?: 'standard' | 'adjusting' | 'closing' | 'reversing';
1618
+ /**
1619
+ * Status
1620
+ */
1621
+ status?: 'draft' | 'posted';
1622
+ /**
1623
+ * Transaction Id
1624
+ */
1625
+ transaction_id?: string | null;
1626
+ };
1627
+
1466
1628
  /**
1467
1629
  * CreateManualClosingEntryRequest
1468
1630
  */
@@ -2227,6 +2389,36 @@ export type DatabaseHealthResponse = {
2227
2389
  * Active alerts or warnings
2228
2390
  */
2229
2391
  alerts?: Array<string>;
2392
+ /**
2393
+ * Is Stale
2394
+ *
2395
+ * Whether the graph has staged changes not yet materialized
2396
+ */
2397
+ is_stale?: boolean;
2398
+ /**
2399
+ * Stale Reason
2400
+ *
2401
+ * Reason the graph was marked stale (e.g. 'file_deleted: data.parquet')
2402
+ */
2403
+ stale_reason?: string | null;
2404
+ /**
2405
+ * Stale Since
2406
+ *
2407
+ * ISO timestamp when the graph became stale
2408
+ */
2409
+ stale_since?: string | null;
2410
+ /**
2411
+ * Last Materialized At
2412
+ *
2413
+ * ISO timestamp of the last successful materialization
2414
+ */
2415
+ last_materialized_at?: string | null;
2416
+ /**
2417
+ * Hours Since Materialization
2418
+ *
2419
+ * Hours elapsed since last materialization
2420
+ */
2421
+ hours_since_materialization?: number | null;
2230
2422
  };
2231
2423
 
2232
2424
  /**
@@ -2347,6 +2539,32 @@ export type DatabaseStorageEntry = {
2347
2539
  size_mb?: number | null;
2348
2540
  };
2349
2541
 
2542
+ /**
2543
+ * DeleteAssociationRequest
2544
+ *
2545
+ * Hard delete — associations are edges and are cheap to recreate.
2546
+ */
2547
+ export type DeleteAssociationRequest = {
2548
+ /**
2549
+ * Association Id
2550
+ */
2551
+ association_id: string;
2552
+ };
2553
+
2554
+ /**
2555
+ * DeleteElementRequest
2556
+ *
2557
+ * Soft delete — sets `is_active=false`. Historical line items
2558
+ * referencing this element remain valid; new line items cannot use an
2559
+ * inactive element.
2560
+ */
2561
+ export type DeleteElementRequest = {
2562
+ /**
2563
+ * Element Id
2564
+ */
2565
+ element_id: string;
2566
+ };
2567
+
2350
2568
  /**
2351
2569
  * DeleteFileResponse
2352
2570
  */
@@ -2395,6 +2613,19 @@ export type DeleteFileResponse = {
2395
2613
  graph_marked_stale?: boolean;
2396
2614
  };
2397
2615
 
2616
+ /**
2617
+ * DeleteJournalEntryRequest
2618
+ *
2619
+ * Hard delete a draft journal entry. Posted entries cannot be
2620
+ * deleted — reverse them instead.
2621
+ */
2622
+ export type DeleteJournalEntryRequest = {
2623
+ /**
2624
+ * Entry Id
2625
+ */
2626
+ entry_id: string;
2627
+ };
2628
+
2398
2629
  /**
2399
2630
  * DeleteMappingAssociationOperation
2400
2631
  */
@@ -2449,6 +2680,23 @@ export type DeleteReportOperation = {
2449
2680
  report_id: string;
2450
2681
  };
2451
2682
 
2683
+ /**
2684
+ * DeleteScheduleRequest
2685
+ *
2686
+ * Delete a schedule — cascades through facts and associations.
2687
+ *
2688
+ * Hard deletes the Structure, all Facts tied to it, and all
2689
+ * Associations tied to it. This is a permanent, irreversible
2690
+ * operation. For ending a schedule early without removing history,
2691
+ * use truncate-schedule instead.
2692
+ */
2693
+ export type DeleteScheduleRequest = {
2694
+ /**
2695
+ * Structure Id
2696
+ */
2697
+ structure_id: string;
2698
+ };
2699
+
2452
2700
  /**
2453
2701
  * DeleteSecurityOperation
2454
2702
  */
@@ -2460,67 +2708,54 @@ export type DeleteSecurityOperation = {
2460
2708
  };
2461
2709
 
2462
2710
  /**
2463
- * DeleteSubgraphRequest
2711
+ * DeleteStructureRequest
2464
2712
  *
2465
- * Request model for deleting a subgraph.
2713
+ * Soft delete sets `is_active=false`.
2466
2714
  */
2467
- export type DeleteSubgraphRequest = {
2468
- /**
2469
- * Force
2470
- *
2471
- * Force deletion even if subgraph contains data
2472
- */
2473
- force?: boolean;
2715
+ export type DeleteStructureRequest = {
2474
2716
  /**
2475
- * Backup First
2476
- *
2477
- * Create a backup before deletion
2478
- */
2479
- backup_first?: boolean;
2480
- /**
2481
- * Backup Location
2482
- *
2483
- * S3 location for backup (uses default if not specified)
2717
+ * Structure Id
2484
2718
  */
2485
- backup_location?: string | null;
2719
+ structure_id: string;
2486
2720
  };
2487
2721
 
2488
2722
  /**
2489
- * DeleteSubgraphResponse
2723
+ * DeleteSubgraphOp
2490
2724
  *
2491
- * Response model for subgraph deletion.
2725
+ * Body for the delete-subgraph operation.
2492
2726
  */
2493
- export type DeleteSubgraphResponse = {
2727
+ export type DeleteSubgraphOp = {
2494
2728
  /**
2495
- * Graph Id
2496
- *
2497
- * Deleted subgraph identifier
2498
- */
2499
- graph_id: string;
2500
- /**
2501
- * Status
2729
+ * Subgraph Name
2502
2730
  *
2503
- * Deletion status
2731
+ * Subgraph name to delete (e.g., 'dev', 'staging')
2504
2732
  */
2505
- status: string;
2733
+ subgraph_name: string;
2506
2734
  /**
2507
- * Backup Location
2735
+ * Force
2508
2736
  *
2509
- * Location of backup if created
2737
+ * Delete even if subgraph contains data
2510
2738
  */
2511
- backup_location?: string | null;
2739
+ force?: boolean;
2512
2740
  /**
2513
- * Deleted At
2741
+ * Backup First
2514
2742
  *
2515
- * When deletion occurred
2743
+ * Create a backup before deleting
2516
2744
  */
2517
- deleted_at: string;
2745
+ backup_first?: boolean;
2746
+ };
2747
+
2748
+ /**
2749
+ * DeleteTaxonomyRequest
2750
+ *
2751
+ * Soft delete — sets `is_active=false`. Historical references remain
2752
+ * valid.
2753
+ */
2754
+ export type DeleteTaxonomyRequest = {
2518
2755
  /**
2519
- * Message
2520
- *
2521
- * Additional information about the deletion
2756
+ * Taxonomy Id
2522
2757
  */
2523
- message?: string | null;
2758
+ taxonomy_id: string;
2524
2759
  };
2525
2760
 
2526
2761
  /**
@@ -4403,25 +4638,80 @@ export type InvoicesResponse = {
4403
4638
  };
4404
4639
 
4405
4640
  /**
4406
- * ListSubgraphsResponse
4641
+ * JournalEntryLineItemInput
4407
4642
  *
4408
- * Response model for listing subgraphs.
4643
+ * One debit/credit line in a journal entry create/update payload.
4644
+ *
4645
+ * Exactly one of `debit_amount` / `credit_amount` must be non-zero; the
4646
+ * other must be zero. Amounts are in minor currency units (cents).
4409
4647
  */
4410
- export type ListSubgraphsResponse = {
4648
+ export type JournalEntryLineItemInput = {
4411
4649
  /**
4412
- * Parent Graph Id
4413
- *
4414
- * Parent graph identifier
4650
+ * Element Id
4415
4651
  */
4416
- parent_graph_id: string;
4652
+ element_id: string;
4417
4653
  /**
4418
- * Parent Graph Name
4419
- *
4420
- * Parent graph name
4654
+ * Debit Amount
4421
4655
  */
4422
- parent_graph_name: string;
4656
+ debit_amount?: number;
4423
4657
  /**
4424
- * Parent Graph Tier
4658
+ * Credit Amount
4659
+ */
4660
+ credit_amount?: number;
4661
+ /**
4662
+ * Description
4663
+ */
4664
+ description?: string | null;
4665
+ };
4666
+
4667
+ /**
4668
+ * LinkEntityTaxonomyRequest
4669
+ *
4670
+ * Link an entity to a taxonomy (creates the ENTITY_HAS_TAXONOMY edge).
4671
+ *
4672
+ * This is how a graph declares "this entity reports under this taxonomy."
4673
+ * For chart_of_accounts taxonomies, this tells the platform which CoA the
4674
+ * entity uses. For reporting taxonomies, which standard (us-gaap, ifrs).
4675
+ */
4676
+ export type LinkEntityTaxonomyRequest = {
4677
+ /**
4678
+ * Taxonomy Id
4679
+ */
4680
+ taxonomy_id: string;
4681
+ /**
4682
+ * Basis
4683
+ */
4684
+ basis?: 'reporting' | 'chart_of_accounts' | 'mapping' | 'schedule';
4685
+ /**
4686
+ * Is Primary
4687
+ */
4688
+ is_primary?: boolean;
4689
+ /**
4690
+ * Adoption Context
4691
+ */
4692
+ adoption_context?: string | null;
4693
+ };
4694
+
4695
+ /**
4696
+ * ListSubgraphsResponse
4697
+ *
4698
+ * Response model for listing subgraphs.
4699
+ */
4700
+ export type ListSubgraphsResponse = {
4701
+ /**
4702
+ * Parent Graph Id
4703
+ *
4704
+ * Parent graph identifier
4705
+ */
4706
+ parent_graph_id: string;
4707
+ /**
4708
+ * Parent Graph Name
4709
+ *
4710
+ * Parent graph name
4711
+ */
4712
+ parent_graph_name: string;
4713
+ /**
4714
+ * Parent Graph Tier
4425
4715
  *
4426
4716
  * Parent graph tier
4427
4717
  */
@@ -4581,141 +4871,49 @@ export type ManualLineItemRequest = {
4581
4871
  };
4582
4872
 
4583
4873
  /**
4584
- * MaterializeRequest
4874
+ * MaterializeOp
4875
+ *
4876
+ * Body for the materialize operation.
4585
4877
  */
4586
- export type MaterializeRequest = {
4878
+ export type MaterializeOp = {
4587
4879
  /**
4588
4880
  * Force
4589
4881
  *
4590
- * Force materialization even if graph is not stale
4882
+ * Force materialization even if already up to date
4591
4883
  */
4592
4884
  force?: boolean;
4593
4885
  /**
4594
4886
  * Rebuild
4595
4887
  *
4596
- * Delete and recreate graph database before materialization
4888
+ * Rebuild the graph from scratch, dropping existing data
4597
4889
  */
4598
4890
  rebuild?: boolean;
4599
4891
  /**
4600
4892
  * Ignore Errors
4601
4893
  *
4602
- * Continue ingestion on row errors
4894
+ * Continue past non-fatal row errors
4603
4895
  */
4604
4896
  ignore_errors?: boolean;
4605
4897
  /**
4606
4898
  * Dry Run
4607
4899
  *
4608
- * Validate limits without executing materialization. Returns usage, limits, and warnings.
4900
+ * Validate tables without writing to the graph
4609
4901
  */
4610
4902
  dry_run?: boolean;
4611
4903
  /**
4612
4904
  * Source
4613
4905
  *
4614
- * 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).
4906
+ * Materialization source: 'extensions' for OLTP, omit for DuckDB staging tables
4615
4907
  */
4616
4908
  source?: string | null;
4617
4909
  /**
4618
4910
  * Materialize Embeddings
4619
4911
  *
4620
- * 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.
4912
+ * Generate vector embeddings during materialization
4621
4913
  */
4622
4914
  materialize_embeddings?: boolean;
4623
4915
  };
4624
4916
 
4625
- /**
4626
- * MaterializeResponse
4627
- *
4628
- * Response for queued materialization operation.
4629
- */
4630
- export type MaterializeResponse = {
4631
- /**
4632
- * Status
4633
- *
4634
- * Operation status
4635
- */
4636
- status?: string;
4637
- /**
4638
- * Graph Id
4639
- *
4640
- * Graph database identifier
4641
- */
4642
- graph_id: string;
4643
- /**
4644
- * Operation Id
4645
- *
4646
- * SSE operation ID for progress tracking
4647
- */
4648
- operation_id: string;
4649
- /**
4650
- * Message
4651
- *
4652
- * Human-readable status message
4653
- */
4654
- message: string;
4655
- /**
4656
- * Limit Check
4657
- *
4658
- * Limit check results (only present for dry_run requests)
4659
- */
4660
- limit_check?: {
4661
- [key: string]: unknown;
4662
- } | null;
4663
- };
4664
-
4665
- /**
4666
- * MaterializeStatusResponse
4667
- */
4668
- export type MaterializeStatusResponse = {
4669
- /**
4670
- * Graph Id
4671
- *
4672
- * Graph database identifier
4673
- */
4674
- graph_id: string;
4675
- /**
4676
- * Is Stale
4677
- *
4678
- * Whether graph is currently stale
4679
- */
4680
- is_stale: boolean;
4681
- /**
4682
- * Stale Reason
4683
- *
4684
- * Reason for staleness if applicable
4685
- */
4686
- stale_reason?: string | null;
4687
- /**
4688
- * Stale Since
4689
- *
4690
- * When graph became stale (ISO timestamp)
4691
- */
4692
- stale_since?: string | null;
4693
- /**
4694
- * Last Materialized At
4695
- *
4696
- * When graph was last materialized (ISO timestamp)
4697
- */
4698
- last_materialized_at?: string | null;
4699
- /**
4700
- * Materialization Count
4701
- *
4702
- * Total number of materializations performed
4703
- */
4704
- materialization_count?: number;
4705
- /**
4706
- * Hours Since Materialization
4707
- *
4708
- * Hours since last materialization
4709
- */
4710
- hours_since_materialization?: number | null;
4711
- /**
4712
- * Message
4713
- *
4714
- * Human-readable status summary
4715
- */
4716
- message: string;
4717
- };
4718
-
4719
4917
  /**
4720
4918
  * OAuthCallbackRequest
4721
4919
  *
@@ -4905,28 +5103,33 @@ export type OperationCosts = {
4905
5103
  /**
4906
5104
  * OperationEnvelope
4907
5105
  *
4908
- * Uniform response shape for every extensions operation endpoint.
5106
+ * Uniform response shape for every operation endpoint.
4909
5107
  *
4910
- * Every dispatch through `/extensions/{domain}/{graph_id}/operations/{op}`
4911
- * returns an envelope carrying an `op_<ULID>` operation_id. That id is the
4912
- * bridge to the platform's monitoring surface: pass it to
4913
- * `GET /v1/operations/{operation_id}/stream` (see `routers/operations.py`)
4914
- * to subscribe to SSE progress events. Sync commands complete in the
4915
- * envelope itself; async commands (`status: "pending"`, HTTP 202) hand off
4916
- * to a background worker and stream their tail through the same SSE
4917
- * endpoint until completion. Failed dispatches still mint an `operation_id`
4918
- * so the audit log and any partial SSE events stay correlatable.
5108
+ * Every dispatch through an operation surface returns an envelope carrying
5109
+ * an ``op_<ULID>`` operation_id. That id is the bridge to the platform's
5110
+ * monitoring surface: pass it to
5111
+ * ``GET /v1/operations/{operation_id}/stream`` (see ``routers/operations.py``)
5112
+ * to subscribe to SSE progress events. Sync commands complete in the
5113
+ * envelope itself; async commands (``status: "pending"``, HTTP 202) hand
5114
+ * off to a background worker and stream their tail through the same SSE
5115
+ * endpoint until completion. Failed dispatches still mint an
5116
+ * ``operation_id`` so the audit log and any partial SSE events stay
5117
+ * correlatable.
4919
5118
  *
4920
5119
  * Fields:
4921
- * - `operation`: kebab-case command name (e.g. `close-period`)
4922
- * - `operation_id`: `op_`-prefixed ULID; always present, usable for audit
4923
- * correlation and — for async commands — SSE subscription via
4924
- * `/v1/operations/{operation_id}/stream`
4925
- * - `status`: `"completed"` (sync, HTTP 200), `"pending"` (async, HTTP 202),
4926
- * or `"failed"` (error responses)
4927
- * - `result`: the domain-specific payload (the original Pydantic response)
4928
- * or `None` for async/failed cases
4929
- * - `at`: ISO-8601 UTC timestamp of when the envelope was minted
5120
+ * - ``operation``: kebab-case command name (e.g. ``close-period``)
5121
+ * - ``operation_id``: ``op_``-prefixed ULID; always present, usable for
5122
+ * audit correlation and — for async commands — SSE subscription via
5123
+ * ``/v1/operations/{operation_id}/stream``
5124
+ * - ``status``: ``"completed"`` (sync, HTTP 200), ``"pending"``
5125
+ * (async, HTTP 202), or ``"failed"`` (error responses)
5126
+ * - ``result``: the domain-specific payload (the original Pydantic
5127
+ * response) or ``None`` for async/failed cases
5128
+ * - ``at``: ISO-8601 UTC timestamp of when the envelope was minted
5129
+ * - ``created_by``: user ID of the caller who initiated this operation
5130
+ * - ``idempotent_replay``: ``True`` when the dispatcher returned this
5131
+ * envelope from the idempotency cache (the underlying command did NOT
5132
+ * execute again)
4930
5133
  */
4931
5134
  export type OperationEnvelope = {
4932
5135
  /**
@@ -4961,6 +5164,18 @@ export type OperationEnvelope = {
4961
5164
  * ISO-8601 UTC timestamp
4962
5165
  */
4963
5166
  at: string;
5167
+ /**
5168
+ * Createdby
5169
+ *
5170
+ * User ID that initiated the operation (null for legacy callers)
5171
+ */
5172
+ createdBy?: string | null;
5173
+ /**
5174
+ * Idempotentreplay
5175
+ *
5176
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
5177
+ */
5178
+ idempotentReplay?: boolean;
4964
5179
  };
4965
5180
 
4966
5181
  /**
@@ -5743,6 +5958,61 @@ export type ResetPasswordValidateResponse = {
5743
5958
  */
5744
5959
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
5745
5960
 
5961
+ /**
5962
+ * RestoreBackupOp
5963
+ *
5964
+ * Body for the restore-backup operation.
5965
+ */
5966
+ export type RestoreBackupOp = {
5967
+ /**
5968
+ * Backup Id
5969
+ *
5970
+ * Backup identifier to restore from
5971
+ */
5972
+ backup_id: string;
5973
+ /**
5974
+ * Create System Backup
5975
+ *
5976
+ * Create a system backup of existing database before restore
5977
+ */
5978
+ create_system_backup?: boolean;
5979
+ /**
5980
+ * Verify After Restore
5981
+ *
5982
+ * Verify database integrity after restore
5983
+ */
5984
+ verify_after_restore?: boolean;
5985
+ };
5986
+
5987
+ /**
5988
+ * ReverseJournalEntryRequest
5989
+ *
5990
+ * Reverse a posted journal entry.
5991
+ *
5992
+ * Creates a new entry whose line items flip the originals
5993
+ * (debits → credits, credits → debits), sets `reversal_of` on the new
5994
+ * entry to the original's id, marks the original as
5995
+ * `status='reversed'`, and posts the reversing entry immediately.
5996
+ *
5997
+ * This is how accountants correct posted entries — the original stays
5998
+ * in the audit trail, the reversal cancels its effect, and a
5999
+ * corrected entry can be created separately.
6000
+ */
6001
+ export type ReverseJournalEntryRequest = {
6002
+ /**
6003
+ * Entry Id
6004
+ */
6005
+ entry_id: string;
6006
+ /**
6007
+ * Posting Date
6008
+ */
6009
+ posting_date?: string | null;
6010
+ /**
6011
+ * Memo
6012
+ */
6013
+ memo?: string | null;
6014
+ };
6015
+
5746
6016
  /**
5747
6017
  * SECConnectionConfig
5748
6018
  *
@@ -6949,6 +7219,87 @@ export type UpdateApiKeyRequest = {
6949
7219
  description?: string | null;
6950
7220
  };
6951
7221
 
7222
+ /**
7223
+ * UpdateAssociationRequest
7224
+ *
7225
+ * Update mutable fields on an association. `from_element_id`,
7226
+ * `to_element_id`, and `association_type` are immutable — delete and
7227
+ * recreate instead.
7228
+ */
7229
+ export type UpdateAssociationRequest = {
7230
+ /**
7231
+ * Association Id
7232
+ */
7233
+ association_id: string;
7234
+ /**
7235
+ * Order Value
7236
+ */
7237
+ order_value?: number | null;
7238
+ /**
7239
+ * Weight
7240
+ */
7241
+ weight?: number | null;
7242
+ /**
7243
+ * Confidence
7244
+ */
7245
+ confidence?: number | null;
7246
+ /**
7247
+ * Approved By
7248
+ */
7249
+ approved_by?: string | null;
7250
+ };
7251
+
7252
+ /**
7253
+ * UpdateElementRequest
7254
+ *
7255
+ * Update mutable fields on an element. `taxonomy_id` and `source` are
7256
+ * immutable. `parent_id` honors `model_dump(exclude_unset=True)` semantics:
7257
+ * omit the field to leave unchanged, pass `null` to clear the parent
7258
+ * (make root).
7259
+ */
7260
+ export type UpdateElementRequest = {
7261
+ /**
7262
+ * Element Id
7263
+ */
7264
+ element_id: string;
7265
+ /**
7266
+ * Code
7267
+ */
7268
+ code?: string | null;
7269
+ /**
7270
+ * Name
7271
+ */
7272
+ name?: string | null;
7273
+ /**
7274
+ * Description
7275
+ */
7276
+ description?: string | null;
7277
+ /**
7278
+ * Classification
7279
+ */
7280
+ classification?: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense' | null;
7281
+ /**
7282
+ * Sub Classification
7283
+ */
7284
+ sub_classification?: string | null;
7285
+ /**
7286
+ * Balance Type
7287
+ */
7288
+ balance_type?: 'debit' | 'credit' | null;
7289
+ /**
7290
+ * Period Type
7291
+ */
7292
+ period_type?: 'duration' | 'instant' | null;
7293
+ /**
7294
+ * Parent Id
7295
+ */
7296
+ parent_id?: string | null;
7297
+ /**
7298
+ * Currency
7299
+ */
7300
+ currency?: string | null;
7301
+ };
7302
+
6952
7303
  /**
6953
7304
  * UpdateEntityRequest
6954
7305
  *
@@ -7045,6 +7396,40 @@ export type UpdateEntityRequest = {
7045
7396
  address_country?: string | null;
7046
7397
  };
7047
7398
 
7399
+ /**
7400
+ * UpdateJournalEntryRequest
7401
+ *
7402
+ * Update a draft journal entry. Posted entries cannot be updated —
7403
+ * create a reversal and a corrected entry instead.
7404
+ *
7405
+ * Omitted fields are left unchanged. If `line_items` is provided, the
7406
+ * existing line items are replaced entirely (atomic delete + insert)
7407
+ * and the new set must still balance. If `line_items` is omitted, the
7408
+ * existing line items are left untouched.
7409
+ */
7410
+ export type UpdateJournalEntryRequest = {
7411
+ /**
7412
+ * Entry Id
7413
+ */
7414
+ entry_id: string;
7415
+ /**
7416
+ * Posting Date
7417
+ */
7418
+ posting_date?: string | null;
7419
+ /**
7420
+ * Memo
7421
+ */
7422
+ memo?: string | null;
7423
+ /**
7424
+ * Type
7425
+ */
7426
+ type?: 'standard' | 'adjusting' | 'closing' | 'reversing' | null;
7427
+ /**
7428
+ * Line Items
7429
+ */
7430
+ line_items?: Array<JournalEntryLineItemInput> | null;
7431
+ };
7432
+
7048
7433
  /**
7049
7434
  * UpdateMemberRoleRequest
7050
7435
  *
@@ -7192,22 +7577,49 @@ export type UpdatePublishListOperation = {
7192
7577
  };
7193
7578
 
7194
7579
  /**
7195
- * UpdateSecurityOperation
7580
+ * UpdateScheduleRequest
7581
+ *
7582
+ * Update mutable fields on a schedule.
7583
+ *
7584
+ * Editable: name, entry_template, schedule_metadata (all live on the
7585
+ * Structure row / its metadata_ JSONB column).
7586
+ *
7587
+ * NOT editable via this op: period_start, period_end, monthly_amount.
7588
+ * Those require fact regeneration — use truncate-schedule (end early)
7589
+ * and create-schedule (start new) instead.
7590
+ *
7591
+ * Omitted fields are left unchanged.
7196
7592
  */
7197
- export type UpdateSecurityOperation = {
7198
- /**
7199
- * Entity Id
7200
- */
7201
- entity_id?: string | null;
7593
+ export type UpdateScheduleRequest = {
7202
7594
  /**
7203
- * Source Graph Id
7595
+ * Structure Id
7204
7596
  */
7205
- source_graph_id?: string | null;
7597
+ structure_id: string;
7206
7598
  /**
7207
7599
  * Name
7208
7600
  */
7209
7601
  name?: string | null;
7210
- /**
7602
+ entry_template?: EntryTemplateRequest | null;
7603
+ schedule_metadata?: ScheduleMetadataRequest | null;
7604
+ };
7605
+
7606
+ /**
7607
+ * UpdateSecurityOperation
7608
+ */
7609
+ export type UpdateSecurityOperation = {
7610
+ /**
7611
+ * Entity Id
7612
+ */
7613
+ entity_id?: string | null;
7614
+ /**
7615
+ * Source Graph Id
7616
+ */
7617
+ source_graph_id?: string | null;
7618
+ /**
7619
+ * Name
7620
+ */
7621
+ name?: string | null;
7622
+ /**
7211
7623
  * Security Type
7212
7624
  */
7213
7625
  security_type?: string | null;
@@ -7239,6 +7651,54 @@ export type UpdateSecurityOperation = {
7239
7651
  security_id: string;
7240
7652
  };
7241
7653
 
7654
+ /**
7655
+ * UpdateStructureRequest
7656
+ *
7657
+ * Update mutable fields on a structure. `structure_type` and
7658
+ * `taxonomy_id` are immutable.
7659
+ */
7660
+ export type UpdateStructureRequest = {
7661
+ /**
7662
+ * Structure Id
7663
+ */
7664
+ structure_id: string;
7665
+ /**
7666
+ * Name
7667
+ */
7668
+ name?: string | null;
7669
+ /**
7670
+ * Description
7671
+ */
7672
+ description?: string | null;
7673
+ };
7674
+
7675
+ /**
7676
+ * UpdateTaxonomyRequest
7677
+ *
7678
+ * Update mutable fields on a taxonomy. `taxonomy_type` is immutable —
7679
+ * changing it is not the same operation as editing a taxonomy; deactivate
7680
+ * and create a new one instead. Only provided (non-null) fields are
7681
+ * applied.
7682
+ */
7683
+ export type UpdateTaxonomyRequest = {
7684
+ /**
7685
+ * Taxonomy Id
7686
+ */
7687
+ taxonomy_id: string;
7688
+ /**
7689
+ * Name
7690
+ */
7691
+ name?: string | null;
7692
+ /**
7693
+ * Description
7694
+ */
7695
+ description?: string | null;
7696
+ /**
7697
+ * Version
7698
+ */
7699
+ version?: string | null;
7700
+ };
7701
+
7242
7702
  /**
7243
7703
  * UpdateUserRequest
7244
7704
  *
@@ -7273,6 +7733,20 @@ export type UpgradeSubscriptionRequest = {
7273
7733
  new_plan_name: string;
7274
7734
  };
7275
7735
 
7736
+ /**
7737
+ * UpgradeTierOp
7738
+ *
7739
+ * Body for the upgrade-tier operation.
7740
+ */
7741
+ export type UpgradeTierOp = {
7742
+ /**
7743
+ * New Tier
7744
+ *
7745
+ * Target infrastructure tier
7746
+ */
7747
+ new_tier: 'ladybug-standard' | 'ladybug-large' | 'ladybug-xlarge';
7748
+ };
7749
+
7276
7750
  /**
7277
7751
  * UserGraphsResponse
7278
7752
  *
@@ -7453,6 +7927,22 @@ export type ViewConfig = {
7453
7927
  fill_value?: number;
7454
7928
  };
7455
7929
 
7930
+ /**
7931
+ * Error envelope returned by extensions operation endpoints. Shape aligns with FastAPI's default error detail plus an optional `operation_id` for audit correlation.
7932
+ */
7933
+ export type OperationError = {
7934
+ /**
7935
+ * Human-readable error detail or structured payload
7936
+ */
7937
+ detail?: string | {
7938
+ [key: string]: unknown;
7939
+ };
7940
+ /**
7941
+ * op_-prefixed ULID if the dispatcher minted one before the failure (async ops, idempotency conflicts, etc.)
7942
+ */
7943
+ operation_id?: string;
7944
+ };
7945
+
7456
7946
  export type RegisterUserData = {
7457
7947
  body: RegisterRequest;
7458
7948
  path?: never;
@@ -9207,50 +9697,6 @@ export type ListBackupsResponses = {
9207
9697
 
9208
9698
  export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
9209
9699
 
9210
- export type CreateBackupData = {
9211
- body: BackupCreateRequest;
9212
- path: {
9213
- /**
9214
- * Graph Id
9215
- */
9216
- graph_id: string;
9217
- };
9218
- query?: never;
9219
- url: '/v1/graphs/{graph_id}/backups';
9220
- };
9221
-
9222
- export type CreateBackupErrors = {
9223
- /**
9224
- * Invalid backup configuration
9225
- */
9226
- 400: ErrorResponse;
9227
- /**
9228
- * Access denied - admin role required
9229
- */
9230
- 403: ErrorResponse;
9231
- /**
9232
- * Graph not found
9233
- */
9234
- 404: ErrorResponse;
9235
- /**
9236
- * Validation Error
9237
- */
9238
- 422: HttpValidationError;
9239
- /**
9240
- * Failed to initiate backup
9241
- */
9242
- 500: ErrorResponse;
9243
- };
9244
-
9245
- export type CreateBackupError = CreateBackupErrors[keyof CreateBackupErrors];
9246
-
9247
- export type CreateBackupResponses = {
9248
- /**
9249
- * Backup creation started
9250
- */
9251
- 202: unknown;
9252
- };
9253
-
9254
9700
  export type GetBackupDownloadUrlData = {
9255
9701
  body?: never;
9256
9702
  path: {
@@ -9306,56 +9752,6 @@ export type GetBackupDownloadUrlResponses = {
9306
9752
 
9307
9753
  export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
9308
9754
 
9309
- export type RestoreBackupData = {
9310
- body: BackupRestoreRequest;
9311
- path: {
9312
- /**
9313
- * Backup Id
9314
- *
9315
- * Backup identifier
9316
- */
9317
- backup_id: string;
9318
- /**
9319
- * Graph Id
9320
- */
9321
- graph_id: string;
9322
- };
9323
- query?: never;
9324
- url: '/v1/graphs/{graph_id}/backups/{backup_id}/restore';
9325
- };
9326
-
9327
- export type RestoreBackupErrors = {
9328
- /**
9329
- * Invalid restore configuration
9330
- */
9331
- 400: ErrorResponse;
9332
- /**
9333
- * Access denied - admin role required
9334
- */
9335
- 403: ErrorResponse;
9336
- /**
9337
- * Backup not found
9338
- */
9339
- 404: ErrorResponse;
9340
- /**
9341
- * Validation Error
9342
- */
9343
- 422: HttpValidationError;
9344
- /**
9345
- * Failed to initiate restore
9346
- */
9347
- 500: ErrorResponse;
9348
- };
9349
-
9350
- export type RestoreBackupError = RestoreBackupErrors[keyof RestoreBackupErrors];
9351
-
9352
- export type RestoreBackupResponses = {
9353
- /**
9354
- * Restore started
9355
- */
9356
- 202: unknown;
9357
- };
9358
-
9359
9755
  export type GetBackupStatsData = {
9360
9756
  body?: never;
9361
9757
  path: {
@@ -10007,94 +10403,6 @@ export type ListSubgraphsResponses = {
10007
10403
 
10008
10404
  export type ListSubgraphsResponse2 = ListSubgraphsResponses[keyof ListSubgraphsResponses];
10009
10405
 
10010
- export type CreateSubgraphData = {
10011
- body: CreateSubgraphRequest;
10012
- path: {
10013
- /**
10014
- * Graph Id
10015
- */
10016
- graph_id: string;
10017
- };
10018
- query?: never;
10019
- url: '/v1/graphs/{graph_id}/subgraphs';
10020
- };
10021
-
10022
- export type CreateSubgraphErrors = {
10023
- /**
10024
- * Validation Error
10025
- */
10026
- 422: HttpValidationError;
10027
- };
10028
-
10029
- export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
10030
-
10031
- export type CreateSubgraphResponses = {
10032
- /**
10033
- * Successful Response
10034
- */
10035
- 200: unknown;
10036
- };
10037
-
10038
- export type DeleteSubgraphData = {
10039
- body: DeleteSubgraphRequest;
10040
- path: {
10041
- /**
10042
- * Graph Id
10043
- */
10044
- graph_id: string;
10045
- /**
10046
- * Subgraph Name
10047
- *
10048
- * Subgraph name to delete (e.g., 'dev', 'staging')
10049
- */
10050
- subgraph_name: string;
10051
- };
10052
- query?: never;
10053
- url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}';
10054
- };
10055
-
10056
- export type DeleteSubgraphErrors = {
10057
- /**
10058
- * Invalid subgraph identifier
10059
- */
10060
- 400: unknown;
10061
- /**
10062
- * Not authenticated
10063
- */
10064
- 401: unknown;
10065
- /**
10066
- * Insufficient permissions
10067
- */
10068
- 403: unknown;
10069
- /**
10070
- * Subgraph not found
10071
- */
10072
- 404: unknown;
10073
- /**
10074
- * Subgraph contains data (use force=true)
10075
- */
10076
- 409: unknown;
10077
- /**
10078
- * Validation Error
10079
- */
10080
- 422: HttpValidationError;
10081
- /**
10082
- * Internal server error
10083
- */
10084
- 500: unknown;
10085
- };
10086
-
10087
- export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
10088
-
10089
- export type DeleteSubgraphResponses = {
10090
- /**
10091
- * Subgraph deleted successfully
10092
- */
10093
- 200: DeleteSubgraphResponse;
10094
- };
10095
-
10096
- export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
10097
-
10098
10406
  export type GetSubgraphInfoData = {
10099
10407
  body?: never;
10100
10408
  path: {
@@ -10110,7 +10418,7 @@ export type GetSubgraphInfoData = {
10110
10418
  subgraph_name: string;
10111
10419
  };
10112
10420
  query?: never;
10113
- url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}/info';
10421
+ url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}';
10114
10422
  };
10115
10423
 
10116
10424
  export type GetSubgraphInfoErrors = {
@@ -10677,8 +10985,14 @@ export type UploadDocumentsBulkResponses = {
10677
10985
 
10678
10986
  export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
10679
10987
 
10680
- export type GetMaterializationStatusData = {
10681
- body?: never;
10988
+ export type OpCreateSubgraphData = {
10989
+ body: CreateSubgraphRequest;
10990
+ headers?: {
10991
+ /**
10992
+ * Idempotency-Key
10993
+ */
10994
+ 'Idempotency-Key'?: string | null;
10995
+ };
10682
10996
  path: {
10683
10997
  /**
10684
10998
  * Graph Id
@@ -10686,96 +11000,374 @@ export type GetMaterializationStatusData = {
10686
11000
  graph_id: string;
10687
11001
  };
10688
11002
  query?: never;
10689
- url: '/v1/graphs/{graph_id}/materialize';
11003
+ url: '/v1/graphs/{graph_id}/operations/create-subgraph';
10690
11004
  };
10691
11005
 
10692
- export type GetMaterializationStatusErrors = {
11006
+ export type OpCreateSubgraphErrors = {
10693
11007
  /**
10694
- * Not authenticated
11008
+ * Invalid request payload
11009
+ */
11010
+ 400: OperationError;
11011
+ /**
11012
+ * Unauthorized — missing or invalid credentials
10695
11013
  */
10696
11014
  401: unknown;
10697
11015
  /**
10698
- * Access denied - insufficient permissions
11016
+ * Forbidden caller cannot access this graph
10699
11017
  */
10700
- 403: ErrorResponse;
11018
+ 403: unknown;
10701
11019
  /**
10702
- * Graph not found
11020
+ * Resource not found (graph, ledger, report, etc.)
10703
11021
  */
10704
- 404: ErrorResponse;
11022
+ 404: OperationError;
11023
+ /**
11024
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11025
+ */
11026
+ 409: OperationError;
10705
11027
  /**
10706
11028
  * Validation Error
10707
11029
  */
10708
11030
  422: HttpValidationError;
11031
+ /**
11032
+ * Rate limit exceeded
11033
+ */
11034
+ 429: unknown;
11035
+ /**
11036
+ * Internal error
11037
+ */
11038
+ 500: unknown;
10709
11039
  };
10710
11040
 
10711
- export type GetMaterializationStatusError = GetMaterializationStatusErrors[keyof GetMaterializationStatusErrors];
11041
+ export type OpCreateSubgraphError = OpCreateSubgraphErrors[keyof OpCreateSubgraphErrors];
10712
11042
 
10713
- export type GetMaterializationStatusResponses = {
11043
+ export type OpCreateSubgraphResponses = {
10714
11044
  /**
10715
- * Materialization status retrieved successfully
11045
+ * Successful Response
10716
11046
  */
10717
- 200: MaterializeStatusResponse;
11047
+ 200: OperationEnvelope;
10718
11048
  };
10719
11049
 
10720
- export type GetMaterializationStatusResponse = GetMaterializationStatusResponses[keyof GetMaterializationStatusResponses];
11050
+ export type OpCreateSubgraphResponse = OpCreateSubgraphResponses[keyof OpCreateSubgraphResponses];
10721
11051
 
10722
- export type MaterializeGraphData = {
10723
- body: MaterializeRequest;
10724
- path: {
11052
+ export type OpDeleteSubgraphData = {
11053
+ body: DeleteSubgraphOp;
11054
+ headers?: {
11055
+ /**
11056
+ * Idempotency-Key
11057
+ */
11058
+ 'Idempotency-Key'?: string | null;
11059
+ };
11060
+ path: {
10725
11061
  /**
10726
11062
  * Graph Id
10727
11063
  */
10728
11064
  graph_id: string;
10729
11065
  };
10730
11066
  query?: never;
10731
- url: '/v1/graphs/{graph_id}/materialize';
11067
+ url: '/v1/graphs/{graph_id}/operations/delete-subgraph';
10732
11068
  };
10733
11069
 
10734
- export type MaterializeGraphErrors = {
11070
+ export type OpDeleteSubgraphErrors = {
10735
11071
  /**
10736
- * Graph not stale and force=false
11072
+ * Invalid request payload
10737
11073
  */
10738
- 400: ErrorResponse;
11074
+ 400: OperationError;
10739
11075
  /**
10740
- * Not authenticated
11076
+ * Unauthorized — missing or invalid credentials
10741
11077
  */
10742
11078
  401: unknown;
10743
11079
  /**
10744
- * Access denied - shared repositories or insufficient permissions
11080
+ * Forbidden caller cannot access this graph
10745
11081
  */
10746
- 403: ErrorResponse;
11082
+ 403: unknown;
10747
11083
  /**
10748
- * Graph not found
11084
+ * Resource not found (graph, ledger, report, etc.)
10749
11085
  */
10750
- 404: ErrorResponse;
11086
+ 404: OperationError;
10751
11087
  /**
10752
- * Conflict - another materialization is already in progress for this graph
11088
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10753
11089
  */
10754
- 409: ErrorResponse;
11090
+ 409: OperationError;
11091
+ /**
11092
+ * Validation Error
11093
+ */
11094
+ 422: HttpValidationError;
11095
+ /**
11096
+ * Rate limit exceeded
11097
+ */
11098
+ 429: unknown;
11099
+ /**
11100
+ * Internal error
11101
+ */
11102
+ 500: unknown;
11103
+ };
11104
+
11105
+ export type OpDeleteSubgraphError = OpDeleteSubgraphErrors[keyof OpDeleteSubgraphErrors];
11106
+
11107
+ export type OpDeleteSubgraphResponses = {
11108
+ /**
11109
+ * Successful Response
11110
+ */
11111
+ 200: OperationEnvelope;
11112
+ };
11113
+
11114
+ export type OpDeleteSubgraphResponse = OpDeleteSubgraphResponses[keyof OpDeleteSubgraphResponses];
11115
+
11116
+ export type OpCreateBackupData = {
11117
+ body: BackupCreateRequest;
11118
+ headers?: {
11119
+ /**
11120
+ * Idempotency-Key
11121
+ */
11122
+ 'Idempotency-Key'?: string | null;
11123
+ };
11124
+ path: {
11125
+ /**
11126
+ * Graph Id
11127
+ */
11128
+ graph_id: string;
11129
+ };
11130
+ query?: never;
11131
+ url: '/v1/graphs/{graph_id}/operations/create-backup';
11132
+ };
11133
+
11134
+ export type OpCreateBackupErrors = {
11135
+ /**
11136
+ * Invalid request payload
11137
+ */
11138
+ 400: OperationError;
11139
+ /**
11140
+ * Unauthorized — missing or invalid credentials
11141
+ */
11142
+ 401: unknown;
11143
+ /**
11144
+ * Forbidden — caller cannot access this graph
11145
+ */
11146
+ 403: unknown;
11147
+ /**
11148
+ * Resource not found (graph, ledger, report, etc.)
11149
+ */
11150
+ 404: OperationError;
10755
11151
  /**
10756
- * Graph content limit exceeded - data too large for current tier
11152
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10757
11153
  */
10758
- 413: ErrorResponse;
11154
+ 409: OperationError;
10759
11155
  /**
10760
11156
  * Validation Error
10761
11157
  */
10762
11158
  422: HttpValidationError;
10763
11159
  /**
10764
- * Internal server error
11160
+ * Rate limit exceeded
11161
+ */
11162
+ 429: unknown;
11163
+ /**
11164
+ * Internal error
11165
+ */
11166
+ 500: unknown;
11167
+ };
11168
+
11169
+ export type OpCreateBackupError = OpCreateBackupErrors[keyof OpCreateBackupErrors];
11170
+
11171
+ export type OpCreateBackupResponses = {
11172
+ /**
11173
+ * Successful Response
11174
+ */
11175
+ 202: OperationEnvelope;
11176
+ };
11177
+
11178
+ export type OpCreateBackupResponse = OpCreateBackupResponses[keyof OpCreateBackupResponses];
11179
+
11180
+ export type OpRestoreBackupData = {
11181
+ body: RestoreBackupOp;
11182
+ headers?: {
11183
+ /**
11184
+ * Idempotency-Key
11185
+ */
11186
+ 'Idempotency-Key'?: string | null;
11187
+ };
11188
+ path: {
11189
+ /**
11190
+ * Graph Id
11191
+ */
11192
+ graph_id: string;
11193
+ };
11194
+ query?: never;
11195
+ url: '/v1/graphs/{graph_id}/operations/restore-backup';
11196
+ };
11197
+
11198
+ export type OpRestoreBackupErrors = {
11199
+ /**
11200
+ * Invalid request payload
11201
+ */
11202
+ 400: OperationError;
11203
+ /**
11204
+ * Unauthorized — missing or invalid credentials
11205
+ */
11206
+ 401: unknown;
11207
+ /**
11208
+ * Forbidden — caller cannot access this graph
11209
+ */
11210
+ 403: unknown;
11211
+ /**
11212
+ * Resource not found (graph, ledger, report, etc.)
11213
+ */
11214
+ 404: OperationError;
11215
+ /**
11216
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11217
+ */
11218
+ 409: OperationError;
11219
+ /**
11220
+ * Validation Error
11221
+ */
11222
+ 422: HttpValidationError;
11223
+ /**
11224
+ * Rate limit exceeded
11225
+ */
11226
+ 429: unknown;
11227
+ /**
11228
+ * Internal error
11229
+ */
11230
+ 500: unknown;
11231
+ };
11232
+
11233
+ export type OpRestoreBackupError = OpRestoreBackupErrors[keyof OpRestoreBackupErrors];
11234
+
11235
+ export type OpRestoreBackupResponses = {
11236
+ /**
11237
+ * Successful Response
11238
+ */
11239
+ 202: OperationEnvelope;
11240
+ };
11241
+
11242
+ export type OpRestoreBackupResponse = OpRestoreBackupResponses[keyof OpRestoreBackupResponses];
11243
+
11244
+ export type OpUpgradeTierData = {
11245
+ body: UpgradeTierOp;
11246
+ headers?: {
11247
+ /**
11248
+ * Idempotency-Key
11249
+ */
11250
+ 'Idempotency-Key'?: string | null;
11251
+ };
11252
+ path: {
11253
+ /**
11254
+ * Graph Id
11255
+ */
11256
+ graph_id: string;
11257
+ };
11258
+ query?: never;
11259
+ url: '/v1/graphs/{graph_id}/operations/upgrade-tier';
11260
+ };
11261
+
11262
+ export type OpUpgradeTierErrors = {
11263
+ /**
11264
+ * Invalid request payload
11265
+ */
11266
+ 400: OperationError;
11267
+ /**
11268
+ * Unauthorized — missing or invalid credentials
11269
+ */
11270
+ 401: unknown;
11271
+ /**
11272
+ * Forbidden — caller cannot access this graph
11273
+ */
11274
+ 403: unknown;
11275
+ /**
11276
+ * Resource not found (graph, ledger, report, etc.)
11277
+ */
11278
+ 404: OperationError;
11279
+ /**
11280
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11281
+ */
11282
+ 409: OperationError;
11283
+ /**
11284
+ * Validation Error
11285
+ */
11286
+ 422: HttpValidationError;
11287
+ /**
11288
+ * Rate limit exceeded
11289
+ */
11290
+ 429: unknown;
11291
+ /**
11292
+ * Internal error
11293
+ */
11294
+ 500: unknown;
11295
+ };
11296
+
11297
+ export type OpUpgradeTierError = OpUpgradeTierErrors[keyof OpUpgradeTierErrors];
11298
+
11299
+ export type OpUpgradeTierResponses = {
11300
+ /**
11301
+ * Successful Response
11302
+ */
11303
+ 202: OperationEnvelope;
11304
+ };
11305
+
11306
+ export type OpUpgradeTierResponse = OpUpgradeTierResponses[keyof OpUpgradeTierResponses];
11307
+
11308
+ export type OpMaterializeData = {
11309
+ body: MaterializeOp;
11310
+ headers?: {
11311
+ /**
11312
+ * Idempotency-Key
11313
+ */
11314
+ 'Idempotency-Key'?: string | null;
11315
+ };
11316
+ path: {
11317
+ /**
11318
+ * Graph Id
11319
+ */
11320
+ graph_id: string;
11321
+ };
11322
+ query?: never;
11323
+ url: '/v1/graphs/{graph_id}/operations/materialize';
11324
+ };
11325
+
11326
+ export type OpMaterializeErrors = {
11327
+ /**
11328
+ * Invalid request payload
11329
+ */
11330
+ 400: OperationError;
11331
+ /**
11332
+ * Unauthorized — missing or invalid credentials
11333
+ */
11334
+ 401: unknown;
11335
+ /**
11336
+ * Forbidden — caller cannot access this graph
11337
+ */
11338
+ 403: unknown;
11339
+ /**
11340
+ * Resource not found (graph, ledger, report, etc.)
11341
+ */
11342
+ 404: OperationError;
11343
+ /**
11344
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11345
+ */
11346
+ 409: OperationError;
11347
+ /**
11348
+ * Validation Error
11349
+ */
11350
+ 422: HttpValidationError;
11351
+ /**
11352
+ * Rate limit exceeded
11353
+ */
11354
+ 429: unknown;
11355
+ /**
11356
+ * Internal error
10765
11357
  */
10766
11358
  500: unknown;
10767
11359
  };
10768
11360
 
10769
- export type MaterializeGraphError = MaterializeGraphErrors[keyof MaterializeGraphErrors];
11361
+ export type OpMaterializeError = OpMaterializeErrors[keyof OpMaterializeErrors];
10770
11362
 
10771
- export type MaterializeGraphResponses = {
11363
+ export type OpMaterializeResponses = {
10772
11364
  /**
10773
- * Graph materialized successfully
11365
+ * Successful Response
10774
11366
  */
10775
- 200: MaterializeResponse;
11367
+ 202: OperationEnvelope;
10776
11368
  };
10777
11369
 
10778
- export type MaterializeGraphResponse = MaterializeGraphResponses[keyof MaterializeGraphResponses];
11370
+ export type OpMaterializeResponse = OpMaterializeResponses[keyof OpMaterializeResponses];
10779
11371
 
10780
11372
  export type ListFilesData = {
10781
11373
  body?: never;
@@ -11694,6 +12286,14 @@ export type HandleHttpGetExtensionsGraphIdGraphqlGetData = {
11694
12286
  };
11695
12287
 
11696
12288
  export type HandleHttpGetExtensionsGraphIdGraphqlGetErrors = {
12289
+ /**
12290
+ * Unauthorized — credentials presented but invalid
12291
+ */
12292
+ 401: unknown;
12293
+ /**
12294
+ * Forbidden — caller cannot access this graph
12295
+ */
12296
+ 403: unknown;
11697
12297
  /**
11698
12298
  * Not found if GraphiQL or query via GET are not enabled.
11699
12299
  */
@@ -11702,6 +12302,10 @@ export type HandleHttpGetExtensionsGraphIdGraphqlGetErrors = {
11702
12302
  * Validation Error
11703
12303
  */
11704
12304
  422: HttpValidationError;
12305
+ /**
12306
+ * Rate limit exceeded
12307
+ */
12308
+ 429: unknown;
11705
12309
  };
11706
12310
 
11707
12311
  export type HandleHttpGetExtensionsGraphIdGraphqlGetError = HandleHttpGetExtensionsGraphIdGraphqlGetErrors[keyof HandleHttpGetExtensionsGraphIdGraphqlGetErrors];
@@ -11726,10 +12330,22 @@ export type HandleHttpPostExtensionsGraphIdGraphqlPostData = {
11726
12330
  };
11727
12331
 
11728
12332
  export type HandleHttpPostExtensionsGraphIdGraphqlPostErrors = {
12333
+ /**
12334
+ * Unauthorized — credentials presented but invalid
12335
+ */
12336
+ 401: unknown;
12337
+ /**
12338
+ * Forbidden — caller cannot access this graph
12339
+ */
12340
+ 403: unknown;
11729
12341
  /**
11730
12342
  * Validation Error
11731
12343
  */
11732
12344
  422: HttpValidationError;
12345
+ /**
12346
+ * Rate limit exceeded
12347
+ */
12348
+ 429: unknown;
11733
12349
  };
11734
12350
 
11735
12351
  export type HandleHttpPostExtensionsGraphIdGraphqlPostError = HandleHttpPostExtensionsGraphIdGraphqlPostErrors[keyof HandleHttpPostExtensionsGraphIdGraphqlPostErrors];
@@ -11760,17 +12376,45 @@ export type OpUpdateEntityData = {
11760
12376
  };
11761
12377
 
11762
12378
  export type OpUpdateEntityErrors = {
12379
+ /**
12380
+ * Invalid request payload
12381
+ */
12382
+ 400: OperationError;
12383
+ /**
12384
+ * Unauthorized — missing or invalid credentials
12385
+ */
12386
+ 401: unknown;
12387
+ /**
12388
+ * Forbidden — caller cannot access this graph
12389
+ */
12390
+ 403: unknown;
12391
+ /**
12392
+ * Resource not found (graph, ledger, report, etc.)
12393
+ */
12394
+ 404: OperationError;
12395
+ /**
12396
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12397
+ */
12398
+ 409: OperationError;
11763
12399
  /**
11764
12400
  * Validation Error
11765
12401
  */
11766
12402
  422: HttpValidationError;
11767
- };
11768
-
11769
- export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
11770
-
11771
- export type OpUpdateEntityResponses = {
11772
12403
  /**
11773
- * Successful Response
12404
+ * Rate limit exceeded
12405
+ */
12406
+ 429: unknown;
12407
+ /**
12408
+ * Internal error
12409
+ */
12410
+ 500: unknown;
12411
+ };
12412
+
12413
+ export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
12414
+
12415
+ export type OpUpdateEntityResponses = {
12416
+ /**
12417
+ * Successful Response
11774
12418
  */
11775
12419
  200: OperationEnvelope;
11776
12420
  };
@@ -11796,10 +12440,38 @@ export type OpInitializeLedgerData = {
11796
12440
  };
11797
12441
 
11798
12442
  export type OpInitializeLedgerErrors = {
12443
+ /**
12444
+ * Invalid request payload
12445
+ */
12446
+ 400: OperationError;
12447
+ /**
12448
+ * Unauthorized — missing or invalid credentials
12449
+ */
12450
+ 401: unknown;
12451
+ /**
12452
+ * Forbidden — caller cannot access this graph
12453
+ */
12454
+ 403: unknown;
12455
+ /**
12456
+ * Resource not found (graph, ledger, report, etc.)
12457
+ */
12458
+ 404: OperationError;
12459
+ /**
12460
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12461
+ */
12462
+ 409: OperationError;
11799
12463
  /**
11800
12464
  * Validation Error
11801
12465
  */
11802
12466
  422: HttpValidationError;
12467
+ /**
12468
+ * Rate limit exceeded
12469
+ */
12470
+ 429: unknown;
12471
+ /**
12472
+ * Internal error
12473
+ */
12474
+ 500: unknown;
11803
12475
  };
11804
12476
 
11805
12477
  export type OpInitializeLedgerError = OpInitializeLedgerErrors[keyof OpInitializeLedgerErrors];
@@ -11832,10 +12504,38 @@ export type OpSetCloseTargetData = {
11832
12504
  };
11833
12505
 
11834
12506
  export type OpSetCloseTargetErrors = {
12507
+ /**
12508
+ * Invalid request payload
12509
+ */
12510
+ 400: OperationError;
12511
+ /**
12512
+ * Unauthorized — missing or invalid credentials
12513
+ */
12514
+ 401: unknown;
12515
+ /**
12516
+ * Forbidden — caller cannot access this graph
12517
+ */
12518
+ 403: unknown;
12519
+ /**
12520
+ * Resource not found (graph, ledger, report, etc.)
12521
+ */
12522
+ 404: OperationError;
12523
+ /**
12524
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12525
+ */
12526
+ 409: OperationError;
11835
12527
  /**
11836
12528
  * Validation Error
11837
12529
  */
11838
12530
  422: HttpValidationError;
12531
+ /**
12532
+ * Rate limit exceeded
12533
+ */
12534
+ 429: unknown;
12535
+ /**
12536
+ * Internal error
12537
+ */
12538
+ 500: unknown;
11839
12539
  };
11840
12540
 
11841
12541
  export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
@@ -11868,10 +12568,38 @@ export type OpClosePeriodData = {
11868
12568
  };
11869
12569
 
11870
12570
  export type OpClosePeriodErrors = {
12571
+ /**
12572
+ * Invalid request payload
12573
+ */
12574
+ 400: OperationError;
12575
+ /**
12576
+ * Unauthorized — missing or invalid credentials
12577
+ */
12578
+ 401: unknown;
12579
+ /**
12580
+ * Forbidden — caller cannot access this graph
12581
+ */
12582
+ 403: unknown;
12583
+ /**
12584
+ * Resource not found (graph, ledger, report, etc.)
12585
+ */
12586
+ 404: OperationError;
12587
+ /**
12588
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12589
+ */
12590
+ 409: OperationError;
11871
12591
  /**
11872
12592
  * Validation Error
11873
12593
  */
11874
12594
  422: HttpValidationError;
12595
+ /**
12596
+ * Rate limit exceeded
12597
+ */
12598
+ 429: unknown;
12599
+ /**
12600
+ * Internal error
12601
+ */
12602
+ 500: unknown;
11875
12603
  };
11876
12604
 
11877
12605
  export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
@@ -11904,10 +12632,38 @@ export type OpReopenPeriodData = {
11904
12632
  };
11905
12633
 
11906
12634
  export type OpReopenPeriodErrors = {
12635
+ /**
12636
+ * Invalid request payload
12637
+ */
12638
+ 400: OperationError;
12639
+ /**
12640
+ * Unauthorized — missing or invalid credentials
12641
+ */
12642
+ 401: unknown;
12643
+ /**
12644
+ * Forbidden — caller cannot access this graph
12645
+ */
12646
+ 403: unknown;
12647
+ /**
12648
+ * Resource not found (graph, ledger, report, etc.)
12649
+ */
12650
+ 404: OperationError;
12651
+ /**
12652
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12653
+ */
12654
+ 409: OperationError;
11907
12655
  /**
11908
12656
  * Validation Error
11909
12657
  */
11910
12658
  422: HttpValidationError;
12659
+ /**
12660
+ * Rate limit exceeded
12661
+ */
12662
+ 429: unknown;
12663
+ /**
12664
+ * Internal error
12665
+ */
12666
+ 500: unknown;
11911
12667
  };
11912
12668
 
11913
12669
  export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
@@ -11940,10 +12696,38 @@ export type OpCreateScheduleData = {
11940
12696
  };
11941
12697
 
11942
12698
  export type OpCreateScheduleErrors = {
12699
+ /**
12700
+ * Invalid request payload
12701
+ */
12702
+ 400: OperationError;
12703
+ /**
12704
+ * Unauthorized — missing or invalid credentials
12705
+ */
12706
+ 401: unknown;
12707
+ /**
12708
+ * Forbidden — caller cannot access this graph
12709
+ */
12710
+ 403: unknown;
12711
+ /**
12712
+ * Resource not found (graph, ledger, report, etc.)
12713
+ */
12714
+ 404: OperationError;
12715
+ /**
12716
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12717
+ */
12718
+ 409: OperationError;
11943
12719
  /**
11944
12720
  * Validation Error
11945
12721
  */
11946
12722
  422: HttpValidationError;
12723
+ /**
12724
+ * Rate limit exceeded
12725
+ */
12726
+ 429: unknown;
12727
+ /**
12728
+ * Internal error
12729
+ */
12730
+ 500: unknown;
11947
12731
  };
11948
12732
 
11949
12733
  export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
@@ -11976,10 +12760,38 @@ export type OpTruncateScheduleData = {
11976
12760
  };
11977
12761
 
11978
12762
  export type OpTruncateScheduleErrors = {
12763
+ /**
12764
+ * Invalid request payload
12765
+ */
12766
+ 400: OperationError;
12767
+ /**
12768
+ * Unauthorized — missing or invalid credentials
12769
+ */
12770
+ 401: unknown;
12771
+ /**
12772
+ * Forbidden — caller cannot access this graph
12773
+ */
12774
+ 403: unknown;
12775
+ /**
12776
+ * Resource not found (graph, ledger, report, etc.)
12777
+ */
12778
+ 404: OperationError;
12779
+ /**
12780
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12781
+ */
12782
+ 409: OperationError;
11979
12783
  /**
11980
12784
  * Validation Error
11981
12785
  */
11982
12786
  422: HttpValidationError;
12787
+ /**
12788
+ * Rate limit exceeded
12789
+ */
12790
+ 429: unknown;
12791
+ /**
12792
+ * Internal error
12793
+ */
12794
+ 500: unknown;
11983
12795
  };
11984
12796
 
11985
12797
  export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
@@ -12012,10 +12824,38 @@ export type OpCreateClosingEntryData = {
12012
12824
  };
12013
12825
 
12014
12826
  export type OpCreateClosingEntryErrors = {
12827
+ /**
12828
+ * Invalid request payload
12829
+ */
12830
+ 400: OperationError;
12831
+ /**
12832
+ * Unauthorized — missing or invalid credentials
12833
+ */
12834
+ 401: unknown;
12835
+ /**
12836
+ * Forbidden — caller cannot access this graph
12837
+ */
12838
+ 403: unknown;
12839
+ /**
12840
+ * Resource not found (graph, ledger, report, etc.)
12841
+ */
12842
+ 404: OperationError;
12843
+ /**
12844
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12845
+ */
12846
+ 409: OperationError;
12015
12847
  /**
12016
12848
  * Validation Error
12017
12849
  */
12018
12850
  422: HttpValidationError;
12851
+ /**
12852
+ * Rate limit exceeded
12853
+ */
12854
+ 429: unknown;
12855
+ /**
12856
+ * Internal error
12857
+ */
12858
+ 500: unknown;
12019
12859
  };
12020
12860
 
12021
12861
  export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
@@ -12048,10 +12888,38 @@ export type OpCreateManualClosingEntryData = {
12048
12888
  };
12049
12889
 
12050
12890
  export type OpCreateManualClosingEntryErrors = {
12891
+ /**
12892
+ * Invalid request payload
12893
+ */
12894
+ 400: OperationError;
12895
+ /**
12896
+ * Unauthorized — missing or invalid credentials
12897
+ */
12898
+ 401: unknown;
12899
+ /**
12900
+ * Forbidden — caller cannot access this graph
12901
+ */
12902
+ 403: unknown;
12903
+ /**
12904
+ * Resource not found (graph, ledger, report, etc.)
12905
+ */
12906
+ 404: OperationError;
12907
+ /**
12908
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12909
+ */
12910
+ 409: OperationError;
12051
12911
  /**
12052
12912
  * Validation Error
12053
12913
  */
12054
12914
  422: HttpValidationError;
12915
+ /**
12916
+ * Rate limit exceeded
12917
+ */
12918
+ 429: unknown;
12919
+ /**
12920
+ * Internal error
12921
+ */
12922
+ 500: unknown;
12055
12923
  };
12056
12924
 
12057
12925
  export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
@@ -12084,10 +12952,38 @@ export type OpCreateTaxonomyData = {
12084
12952
  };
12085
12953
 
12086
12954
  export type OpCreateTaxonomyErrors = {
12955
+ /**
12956
+ * Invalid request payload
12957
+ */
12958
+ 400: OperationError;
12959
+ /**
12960
+ * Unauthorized — missing or invalid credentials
12961
+ */
12962
+ 401: unknown;
12963
+ /**
12964
+ * Forbidden — caller cannot access this graph
12965
+ */
12966
+ 403: unknown;
12967
+ /**
12968
+ * Resource not found (graph, ledger, report, etc.)
12969
+ */
12970
+ 404: OperationError;
12971
+ /**
12972
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12973
+ */
12974
+ 409: OperationError;
12087
12975
  /**
12088
12976
  * Validation Error
12089
12977
  */
12090
12978
  422: HttpValidationError;
12979
+ /**
12980
+ * Rate limit exceeded
12981
+ */
12982
+ 429: unknown;
12983
+ /**
12984
+ * Internal error
12985
+ */
12986
+ 500: unknown;
12091
12987
  };
12092
12988
 
12093
12989
  export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
@@ -12120,10 +13016,38 @@ export type OpCreateStructureData = {
12120
13016
  };
12121
13017
 
12122
13018
  export type OpCreateStructureErrors = {
13019
+ /**
13020
+ * Invalid request payload
13021
+ */
13022
+ 400: OperationError;
13023
+ /**
13024
+ * Unauthorized — missing or invalid credentials
13025
+ */
13026
+ 401: unknown;
13027
+ /**
13028
+ * Forbidden — caller cannot access this graph
13029
+ */
13030
+ 403: unknown;
13031
+ /**
13032
+ * Resource not found (graph, ledger, report, etc.)
13033
+ */
13034
+ 404: OperationError;
13035
+ /**
13036
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13037
+ */
13038
+ 409: OperationError;
12123
13039
  /**
12124
13040
  * Validation Error
12125
13041
  */
12126
13042
  422: HttpValidationError;
13043
+ /**
13044
+ * Rate limit exceeded
13045
+ */
13046
+ 429: unknown;
13047
+ /**
13048
+ * Internal error
13049
+ */
13050
+ 500: unknown;
12127
13051
  };
12128
13052
 
12129
13053
  export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
@@ -12156,10 +13080,38 @@ export type OpCreateMappingAssociationData = {
12156
13080
  };
12157
13081
 
12158
13082
  export type OpCreateMappingAssociationErrors = {
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;
12159
13103
  /**
12160
13104
  * Validation Error
12161
13105
  */
12162
13106
  422: HttpValidationError;
13107
+ /**
13108
+ * Rate limit exceeded
13109
+ */
13110
+ 429: unknown;
13111
+ /**
13112
+ * Internal error
13113
+ */
13114
+ 500: unknown;
12163
13115
  };
12164
13116
 
12165
13117
  export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
@@ -12192,10 +13144,38 @@ export type OpDeleteMappingAssociationData = {
12192
13144
  };
12193
13145
 
12194
13146
  export type OpDeleteMappingAssociationErrors = {
13147
+ /**
13148
+ * Invalid request payload
13149
+ */
13150
+ 400: OperationError;
13151
+ /**
13152
+ * Unauthorized — missing or invalid credentials
13153
+ */
13154
+ 401: unknown;
13155
+ /**
13156
+ * Forbidden — caller cannot access this graph
13157
+ */
13158
+ 403: unknown;
13159
+ /**
13160
+ * Resource not found (graph, ledger, report, etc.)
13161
+ */
13162
+ 404: OperationError;
13163
+ /**
13164
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13165
+ */
13166
+ 409: OperationError;
12195
13167
  /**
12196
13168
  * Validation Error
12197
13169
  */
12198
13170
  422: HttpValidationError;
13171
+ /**
13172
+ * Rate limit exceeded
13173
+ */
13174
+ 429: unknown;
13175
+ /**
13176
+ * Internal error
13177
+ */
13178
+ 500: unknown;
12199
13179
  };
12200
13180
 
12201
13181
  export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
@@ -12209,8 +13189,1096 @@ export type OpDeleteMappingAssociationResponses = {
12209
13189
 
12210
13190
  export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
12211
13191
 
12212
- export type OpAutoMapElementsData = {
12213
- body: AutoMapElementsOperation;
13192
+ export type OpUpdateTaxonomyData = {
13193
+ body: UpdateTaxonomyRequest;
13194
+ headers?: {
13195
+ /**
13196
+ * Idempotency-Key
13197
+ */
13198
+ 'Idempotency-Key'?: string | null;
13199
+ };
13200
+ path: {
13201
+ /**
13202
+ * Graph Id
13203
+ */
13204
+ graph_id: string;
13205
+ };
13206
+ query?: never;
13207
+ url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
13208
+ };
13209
+
13210
+ export type OpUpdateTaxonomyErrors = {
13211
+ /**
13212
+ * Invalid request payload
13213
+ */
13214
+ 400: OperationError;
13215
+ /**
13216
+ * Unauthorized — missing or invalid credentials
13217
+ */
13218
+ 401: unknown;
13219
+ /**
13220
+ * Forbidden — caller cannot access this graph
13221
+ */
13222
+ 403: unknown;
13223
+ /**
13224
+ * Resource not found (graph, ledger, report, etc.)
13225
+ */
13226
+ 404: OperationError;
13227
+ /**
13228
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13229
+ */
13230
+ 409: OperationError;
13231
+ /**
13232
+ * Validation Error
13233
+ */
13234
+ 422: HttpValidationError;
13235
+ /**
13236
+ * Rate limit exceeded
13237
+ */
13238
+ 429: unknown;
13239
+ /**
13240
+ * Internal error
13241
+ */
13242
+ 500: unknown;
13243
+ };
13244
+
13245
+ export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
13246
+
13247
+ export type OpUpdateTaxonomyResponses = {
13248
+ /**
13249
+ * Successful Response
13250
+ */
13251
+ 200: OperationEnvelope;
13252
+ };
13253
+
13254
+ export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
13255
+
13256
+ export type OpDeleteTaxonomyData = {
13257
+ body: DeleteTaxonomyRequest;
13258
+ headers?: {
13259
+ /**
13260
+ * Idempotency-Key
13261
+ */
13262
+ 'Idempotency-Key'?: string | null;
13263
+ };
13264
+ path: {
13265
+ /**
13266
+ * Graph Id
13267
+ */
13268
+ graph_id: string;
13269
+ };
13270
+ query?: never;
13271
+ url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
13272
+ };
13273
+
13274
+ export type OpDeleteTaxonomyErrors = {
13275
+ /**
13276
+ * Invalid request payload
13277
+ */
13278
+ 400: OperationError;
13279
+ /**
13280
+ * Unauthorized — missing or invalid credentials
13281
+ */
13282
+ 401: unknown;
13283
+ /**
13284
+ * Forbidden — caller cannot access this graph
13285
+ */
13286
+ 403: unknown;
13287
+ /**
13288
+ * Resource not found (graph, ledger, report, etc.)
13289
+ */
13290
+ 404: OperationError;
13291
+ /**
13292
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13293
+ */
13294
+ 409: OperationError;
13295
+ /**
13296
+ * Validation Error
13297
+ */
13298
+ 422: HttpValidationError;
13299
+ /**
13300
+ * Rate limit exceeded
13301
+ */
13302
+ 429: unknown;
13303
+ /**
13304
+ * Internal error
13305
+ */
13306
+ 500: unknown;
13307
+ };
13308
+
13309
+ export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
13310
+
13311
+ export type OpDeleteTaxonomyResponses = {
13312
+ /**
13313
+ * Successful Response
13314
+ */
13315
+ 200: OperationEnvelope;
13316
+ };
13317
+
13318
+ export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
13319
+
13320
+ export type OpLinkEntityTaxonomyData = {
13321
+ body: LinkEntityTaxonomyRequest;
13322
+ headers?: {
13323
+ /**
13324
+ * Idempotency-Key
13325
+ */
13326
+ 'Idempotency-Key'?: string | null;
13327
+ };
13328
+ path: {
13329
+ /**
13330
+ * Graph Id
13331
+ */
13332
+ graph_id: string;
13333
+ };
13334
+ query?: never;
13335
+ url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
13336
+ };
13337
+
13338
+ export type OpLinkEntityTaxonomyErrors = {
13339
+ /**
13340
+ * Invalid request payload
13341
+ */
13342
+ 400: OperationError;
13343
+ /**
13344
+ * Unauthorized — missing or invalid credentials
13345
+ */
13346
+ 401: unknown;
13347
+ /**
13348
+ * Forbidden — caller cannot access this graph
13349
+ */
13350
+ 403: unknown;
13351
+ /**
13352
+ * Resource not found (graph, ledger, report, etc.)
13353
+ */
13354
+ 404: OperationError;
13355
+ /**
13356
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13357
+ */
13358
+ 409: OperationError;
13359
+ /**
13360
+ * Validation Error
13361
+ */
13362
+ 422: HttpValidationError;
13363
+ /**
13364
+ * Rate limit exceeded
13365
+ */
13366
+ 429: unknown;
13367
+ /**
13368
+ * Internal error
13369
+ */
13370
+ 500: unknown;
13371
+ };
13372
+
13373
+ export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
13374
+
13375
+ export type OpLinkEntityTaxonomyResponses = {
13376
+ /**
13377
+ * Successful Response
13378
+ */
13379
+ 200: OperationEnvelope;
13380
+ };
13381
+
13382
+ export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
13383
+
13384
+ export type OpUpdateStructureData = {
13385
+ body: UpdateStructureRequest;
13386
+ headers?: {
13387
+ /**
13388
+ * Idempotency-Key
13389
+ */
13390
+ 'Idempotency-Key'?: string | null;
13391
+ };
13392
+ path: {
13393
+ /**
13394
+ * Graph Id
13395
+ */
13396
+ graph_id: string;
13397
+ };
13398
+ query?: never;
13399
+ url: '/extensions/roboledger/{graph_id}/operations/update-structure';
13400
+ };
13401
+
13402
+ export type OpUpdateStructureErrors = {
13403
+ /**
13404
+ * Invalid request payload
13405
+ */
13406
+ 400: OperationError;
13407
+ /**
13408
+ * Unauthorized — missing or invalid credentials
13409
+ */
13410
+ 401: unknown;
13411
+ /**
13412
+ * Forbidden — caller cannot access this graph
13413
+ */
13414
+ 403: unknown;
13415
+ /**
13416
+ * Resource not found (graph, ledger, report, etc.)
13417
+ */
13418
+ 404: OperationError;
13419
+ /**
13420
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13421
+ */
13422
+ 409: OperationError;
13423
+ /**
13424
+ * Validation Error
13425
+ */
13426
+ 422: HttpValidationError;
13427
+ /**
13428
+ * Rate limit exceeded
13429
+ */
13430
+ 429: unknown;
13431
+ /**
13432
+ * Internal error
13433
+ */
13434
+ 500: unknown;
13435
+ };
13436
+
13437
+ export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
13438
+
13439
+ export type OpUpdateStructureResponses = {
13440
+ /**
13441
+ * Successful Response
13442
+ */
13443
+ 200: OperationEnvelope;
13444
+ };
13445
+
13446
+ export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
13447
+
13448
+ export type OpDeleteStructureData = {
13449
+ body: DeleteStructureRequest;
13450
+ headers?: {
13451
+ /**
13452
+ * Idempotency-Key
13453
+ */
13454
+ 'Idempotency-Key'?: string | null;
13455
+ };
13456
+ path: {
13457
+ /**
13458
+ * Graph Id
13459
+ */
13460
+ graph_id: string;
13461
+ };
13462
+ query?: never;
13463
+ url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
13464
+ };
13465
+
13466
+ export type OpDeleteStructureErrors = {
13467
+ /**
13468
+ * Invalid request payload
13469
+ */
13470
+ 400: OperationError;
13471
+ /**
13472
+ * Unauthorized — missing or invalid credentials
13473
+ */
13474
+ 401: unknown;
13475
+ /**
13476
+ * Forbidden — caller cannot access this graph
13477
+ */
13478
+ 403: unknown;
13479
+ /**
13480
+ * Resource not found (graph, ledger, report, etc.)
13481
+ */
13482
+ 404: OperationError;
13483
+ /**
13484
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13485
+ */
13486
+ 409: OperationError;
13487
+ /**
13488
+ * Validation Error
13489
+ */
13490
+ 422: HttpValidationError;
13491
+ /**
13492
+ * Rate limit exceeded
13493
+ */
13494
+ 429: unknown;
13495
+ /**
13496
+ * Internal error
13497
+ */
13498
+ 500: unknown;
13499
+ };
13500
+
13501
+ export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
13502
+
13503
+ export type OpDeleteStructureResponses = {
13504
+ /**
13505
+ * Successful Response
13506
+ */
13507
+ 200: OperationEnvelope;
13508
+ };
13509
+
13510
+ export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
13511
+
13512
+ export type OpCreateElementData = {
13513
+ body: CreateElementRequest;
13514
+ headers?: {
13515
+ /**
13516
+ * Idempotency-Key
13517
+ */
13518
+ 'Idempotency-Key'?: string | null;
13519
+ };
13520
+ path: {
13521
+ /**
13522
+ * Graph Id
13523
+ */
13524
+ graph_id: string;
13525
+ };
13526
+ query?: never;
13527
+ url: '/extensions/roboledger/{graph_id}/operations/create-element';
13528
+ };
13529
+
13530
+ export type OpCreateElementErrors = {
13531
+ /**
13532
+ * Invalid request payload
13533
+ */
13534
+ 400: OperationError;
13535
+ /**
13536
+ * Unauthorized — missing or invalid credentials
13537
+ */
13538
+ 401: unknown;
13539
+ /**
13540
+ * Forbidden — caller cannot access this graph
13541
+ */
13542
+ 403: unknown;
13543
+ /**
13544
+ * Resource not found (graph, ledger, report, etc.)
13545
+ */
13546
+ 404: OperationError;
13547
+ /**
13548
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13549
+ */
13550
+ 409: OperationError;
13551
+ /**
13552
+ * Validation Error
13553
+ */
13554
+ 422: HttpValidationError;
13555
+ /**
13556
+ * Rate limit exceeded
13557
+ */
13558
+ 429: unknown;
13559
+ /**
13560
+ * Internal error
13561
+ */
13562
+ 500: unknown;
13563
+ };
13564
+
13565
+ export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
13566
+
13567
+ export type OpCreateElementResponses = {
13568
+ /**
13569
+ * Successful Response
13570
+ */
13571
+ 200: OperationEnvelope;
13572
+ };
13573
+
13574
+ export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
13575
+
13576
+ export type OpUpdateElementData = {
13577
+ body: UpdateElementRequest;
13578
+ headers?: {
13579
+ /**
13580
+ * Idempotency-Key
13581
+ */
13582
+ 'Idempotency-Key'?: string | null;
13583
+ };
13584
+ path: {
13585
+ /**
13586
+ * Graph Id
13587
+ */
13588
+ graph_id: string;
13589
+ };
13590
+ query?: never;
13591
+ url: '/extensions/roboledger/{graph_id}/operations/update-element';
13592
+ };
13593
+
13594
+ export type OpUpdateElementErrors = {
13595
+ /**
13596
+ * Invalid request payload
13597
+ */
13598
+ 400: OperationError;
13599
+ /**
13600
+ * Unauthorized — missing or invalid credentials
13601
+ */
13602
+ 401: unknown;
13603
+ /**
13604
+ * Forbidden — caller cannot access this graph
13605
+ */
13606
+ 403: unknown;
13607
+ /**
13608
+ * Resource not found (graph, ledger, report, etc.)
13609
+ */
13610
+ 404: OperationError;
13611
+ /**
13612
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13613
+ */
13614
+ 409: OperationError;
13615
+ /**
13616
+ * Validation Error
13617
+ */
13618
+ 422: HttpValidationError;
13619
+ /**
13620
+ * Rate limit exceeded
13621
+ */
13622
+ 429: unknown;
13623
+ /**
13624
+ * Internal error
13625
+ */
13626
+ 500: unknown;
13627
+ };
13628
+
13629
+ export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
13630
+
13631
+ export type OpUpdateElementResponses = {
13632
+ /**
13633
+ * Successful Response
13634
+ */
13635
+ 200: OperationEnvelope;
13636
+ };
13637
+
13638
+ export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
13639
+
13640
+ export type OpDeleteElementData = {
13641
+ body: DeleteElementRequest;
13642
+ headers?: {
13643
+ /**
13644
+ * Idempotency-Key
13645
+ */
13646
+ 'Idempotency-Key'?: string | null;
13647
+ };
13648
+ path: {
13649
+ /**
13650
+ * Graph Id
13651
+ */
13652
+ graph_id: string;
13653
+ };
13654
+ query?: never;
13655
+ url: '/extensions/roboledger/{graph_id}/operations/delete-element';
13656
+ };
13657
+
13658
+ export type OpDeleteElementErrors = {
13659
+ /**
13660
+ * Invalid request payload
13661
+ */
13662
+ 400: OperationError;
13663
+ /**
13664
+ * Unauthorized — missing or invalid credentials
13665
+ */
13666
+ 401: unknown;
13667
+ /**
13668
+ * Forbidden — caller cannot access this graph
13669
+ */
13670
+ 403: unknown;
13671
+ /**
13672
+ * Resource not found (graph, ledger, report, etc.)
13673
+ */
13674
+ 404: OperationError;
13675
+ /**
13676
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13677
+ */
13678
+ 409: OperationError;
13679
+ /**
13680
+ * Validation Error
13681
+ */
13682
+ 422: HttpValidationError;
13683
+ /**
13684
+ * Rate limit exceeded
13685
+ */
13686
+ 429: unknown;
13687
+ /**
13688
+ * Internal error
13689
+ */
13690
+ 500: unknown;
13691
+ };
13692
+
13693
+ export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
13694
+
13695
+ export type OpDeleteElementResponses = {
13696
+ /**
13697
+ * Successful Response
13698
+ */
13699
+ 200: OperationEnvelope;
13700
+ };
13701
+
13702
+ export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
13703
+
13704
+ export type OpCreateAssociationsData = {
13705
+ body: BulkCreateAssociationsRequest;
13706
+ headers?: {
13707
+ /**
13708
+ * Idempotency-Key
13709
+ */
13710
+ 'Idempotency-Key'?: string | null;
13711
+ };
13712
+ path: {
13713
+ /**
13714
+ * Graph Id
13715
+ */
13716
+ graph_id: string;
13717
+ };
13718
+ query?: never;
13719
+ url: '/extensions/roboledger/{graph_id}/operations/create-associations';
13720
+ };
13721
+
13722
+ export type OpCreateAssociationsErrors = {
13723
+ /**
13724
+ * Invalid request payload
13725
+ */
13726
+ 400: OperationError;
13727
+ /**
13728
+ * Unauthorized — missing or invalid credentials
13729
+ */
13730
+ 401: unknown;
13731
+ /**
13732
+ * Forbidden — caller cannot access this graph
13733
+ */
13734
+ 403: unknown;
13735
+ /**
13736
+ * Resource not found (graph, ledger, report, etc.)
13737
+ */
13738
+ 404: OperationError;
13739
+ /**
13740
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13741
+ */
13742
+ 409: OperationError;
13743
+ /**
13744
+ * Validation Error
13745
+ */
13746
+ 422: HttpValidationError;
13747
+ /**
13748
+ * Rate limit exceeded
13749
+ */
13750
+ 429: unknown;
13751
+ /**
13752
+ * Internal error
13753
+ */
13754
+ 500: unknown;
13755
+ };
13756
+
13757
+ export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
13758
+
13759
+ export type OpCreateAssociationsResponses = {
13760
+ /**
13761
+ * Successful Response
13762
+ */
13763
+ 200: OperationEnvelope;
13764
+ };
13765
+
13766
+ export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
13767
+
13768
+ export type OpUpdateAssociationData = {
13769
+ body: UpdateAssociationRequest;
13770
+ headers?: {
13771
+ /**
13772
+ * Idempotency-Key
13773
+ */
13774
+ 'Idempotency-Key'?: string | null;
13775
+ };
13776
+ path: {
13777
+ /**
13778
+ * Graph Id
13779
+ */
13780
+ graph_id: string;
13781
+ };
13782
+ query?: never;
13783
+ url: '/extensions/roboledger/{graph_id}/operations/update-association';
13784
+ };
13785
+
13786
+ export type OpUpdateAssociationErrors = {
13787
+ /**
13788
+ * Invalid request payload
13789
+ */
13790
+ 400: OperationError;
13791
+ /**
13792
+ * Unauthorized — missing or invalid credentials
13793
+ */
13794
+ 401: unknown;
13795
+ /**
13796
+ * Forbidden — caller cannot access this graph
13797
+ */
13798
+ 403: unknown;
13799
+ /**
13800
+ * Resource not found (graph, ledger, report, etc.)
13801
+ */
13802
+ 404: OperationError;
13803
+ /**
13804
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13805
+ */
13806
+ 409: OperationError;
13807
+ /**
13808
+ * Validation Error
13809
+ */
13810
+ 422: HttpValidationError;
13811
+ /**
13812
+ * Rate limit exceeded
13813
+ */
13814
+ 429: unknown;
13815
+ /**
13816
+ * Internal error
13817
+ */
13818
+ 500: unknown;
13819
+ };
13820
+
13821
+ export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
13822
+
13823
+ export type OpUpdateAssociationResponses = {
13824
+ /**
13825
+ * Successful Response
13826
+ */
13827
+ 200: OperationEnvelope;
13828
+ };
13829
+
13830
+ export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
13831
+
13832
+ export type OpDeleteAssociationData = {
13833
+ body: DeleteAssociationRequest;
13834
+ headers?: {
13835
+ /**
13836
+ * Idempotency-Key
13837
+ */
13838
+ 'Idempotency-Key'?: string | null;
13839
+ };
13840
+ path: {
13841
+ /**
13842
+ * Graph Id
13843
+ */
13844
+ graph_id: string;
13845
+ };
13846
+ query?: never;
13847
+ url: '/extensions/roboledger/{graph_id}/operations/delete-association';
13848
+ };
13849
+
13850
+ export type OpDeleteAssociationErrors = {
13851
+ /**
13852
+ * Invalid request payload
13853
+ */
13854
+ 400: OperationError;
13855
+ /**
13856
+ * Unauthorized — missing or invalid credentials
13857
+ */
13858
+ 401: unknown;
13859
+ /**
13860
+ * Forbidden — caller cannot access this graph
13861
+ */
13862
+ 403: unknown;
13863
+ /**
13864
+ * Resource not found (graph, ledger, report, etc.)
13865
+ */
13866
+ 404: OperationError;
13867
+ /**
13868
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13869
+ */
13870
+ 409: OperationError;
13871
+ /**
13872
+ * Validation Error
13873
+ */
13874
+ 422: HttpValidationError;
13875
+ /**
13876
+ * Rate limit exceeded
13877
+ */
13878
+ 429: unknown;
13879
+ /**
13880
+ * Internal error
13881
+ */
13882
+ 500: unknown;
13883
+ };
13884
+
13885
+ export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
13886
+
13887
+ export type OpDeleteAssociationResponses = {
13888
+ /**
13889
+ * Successful Response
13890
+ */
13891
+ 200: OperationEnvelope;
13892
+ };
13893
+
13894
+ export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
13895
+
13896
+ export type OpCreateJournalEntryData = {
13897
+ body: CreateJournalEntryRequest;
13898
+ headers?: {
13899
+ /**
13900
+ * Idempotency-Key
13901
+ */
13902
+ 'Idempotency-Key'?: string | null;
13903
+ };
13904
+ path: {
13905
+ /**
13906
+ * Graph Id
13907
+ */
13908
+ graph_id: string;
13909
+ };
13910
+ query?: never;
13911
+ url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
13912
+ };
13913
+
13914
+ export type OpCreateJournalEntryErrors = {
13915
+ /**
13916
+ * Invalid request payload
13917
+ */
13918
+ 400: OperationError;
13919
+ /**
13920
+ * Unauthorized — missing or invalid credentials
13921
+ */
13922
+ 401: unknown;
13923
+ /**
13924
+ * Forbidden — caller cannot access this graph
13925
+ */
13926
+ 403: unknown;
13927
+ /**
13928
+ * Resource not found (graph, ledger, report, etc.)
13929
+ */
13930
+ 404: OperationError;
13931
+ /**
13932
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13933
+ */
13934
+ 409: OperationError;
13935
+ /**
13936
+ * Validation Error
13937
+ */
13938
+ 422: HttpValidationError;
13939
+ /**
13940
+ * Rate limit exceeded
13941
+ */
13942
+ 429: unknown;
13943
+ /**
13944
+ * Internal error
13945
+ */
13946
+ 500: unknown;
13947
+ };
13948
+
13949
+ export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
13950
+
13951
+ export type OpCreateJournalEntryResponses = {
13952
+ /**
13953
+ * Successful Response
13954
+ */
13955
+ 200: OperationEnvelope;
13956
+ };
13957
+
13958
+ export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
13959
+
13960
+ export type OpUpdateJournalEntryData = {
13961
+ body: UpdateJournalEntryRequest;
13962
+ headers?: {
13963
+ /**
13964
+ * Idempotency-Key
13965
+ */
13966
+ 'Idempotency-Key'?: string | null;
13967
+ };
13968
+ path: {
13969
+ /**
13970
+ * Graph Id
13971
+ */
13972
+ graph_id: string;
13973
+ };
13974
+ query?: never;
13975
+ url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
13976
+ };
13977
+
13978
+ export type OpUpdateJournalEntryErrors = {
13979
+ /**
13980
+ * Invalid request payload
13981
+ */
13982
+ 400: OperationError;
13983
+ /**
13984
+ * Unauthorized — missing or invalid credentials
13985
+ */
13986
+ 401: unknown;
13987
+ /**
13988
+ * Forbidden — caller cannot access this graph
13989
+ */
13990
+ 403: unknown;
13991
+ /**
13992
+ * Resource not found (graph, ledger, report, etc.)
13993
+ */
13994
+ 404: OperationError;
13995
+ /**
13996
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13997
+ */
13998
+ 409: OperationError;
13999
+ /**
14000
+ * Validation Error
14001
+ */
14002
+ 422: HttpValidationError;
14003
+ /**
14004
+ * Rate limit exceeded
14005
+ */
14006
+ 429: unknown;
14007
+ /**
14008
+ * Internal error
14009
+ */
14010
+ 500: unknown;
14011
+ };
14012
+
14013
+ export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
14014
+
14015
+ export type OpUpdateJournalEntryResponses = {
14016
+ /**
14017
+ * Successful Response
14018
+ */
14019
+ 200: OperationEnvelope;
14020
+ };
14021
+
14022
+ export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
14023
+
14024
+ export type OpDeleteJournalEntryData = {
14025
+ body: DeleteJournalEntryRequest;
14026
+ headers?: {
14027
+ /**
14028
+ * Idempotency-Key
14029
+ */
14030
+ 'Idempotency-Key'?: string | null;
14031
+ };
14032
+ path: {
14033
+ /**
14034
+ * Graph Id
14035
+ */
14036
+ graph_id: string;
14037
+ };
14038
+ query?: never;
14039
+ url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
14040
+ };
14041
+
14042
+ export type OpDeleteJournalEntryErrors = {
14043
+ /**
14044
+ * Invalid request payload
14045
+ */
14046
+ 400: OperationError;
14047
+ /**
14048
+ * Unauthorized — missing or invalid credentials
14049
+ */
14050
+ 401: unknown;
14051
+ /**
14052
+ * Forbidden — caller cannot access this graph
14053
+ */
14054
+ 403: unknown;
14055
+ /**
14056
+ * Resource not found (graph, ledger, report, etc.)
14057
+ */
14058
+ 404: OperationError;
14059
+ /**
14060
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14061
+ */
14062
+ 409: OperationError;
14063
+ /**
14064
+ * Validation Error
14065
+ */
14066
+ 422: HttpValidationError;
14067
+ /**
14068
+ * Rate limit exceeded
14069
+ */
14070
+ 429: unknown;
14071
+ /**
14072
+ * Internal error
14073
+ */
14074
+ 500: unknown;
14075
+ };
14076
+
14077
+ export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
14078
+
14079
+ export type OpDeleteJournalEntryResponses = {
14080
+ /**
14081
+ * Successful Response
14082
+ */
14083
+ 200: OperationEnvelope;
14084
+ };
14085
+
14086
+ export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
14087
+
14088
+ export type OpReverseJournalEntryData = {
14089
+ body: ReverseJournalEntryRequest;
14090
+ headers?: {
14091
+ /**
14092
+ * Idempotency-Key
14093
+ */
14094
+ 'Idempotency-Key'?: string | null;
14095
+ };
14096
+ path: {
14097
+ /**
14098
+ * Graph Id
14099
+ */
14100
+ graph_id: string;
14101
+ };
14102
+ query?: never;
14103
+ url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
14104
+ };
14105
+
14106
+ export type OpReverseJournalEntryErrors = {
14107
+ /**
14108
+ * Invalid request payload
14109
+ */
14110
+ 400: OperationError;
14111
+ /**
14112
+ * Unauthorized — missing or invalid credentials
14113
+ */
14114
+ 401: unknown;
14115
+ /**
14116
+ * Forbidden — caller cannot access this graph
14117
+ */
14118
+ 403: unknown;
14119
+ /**
14120
+ * Resource not found (graph, ledger, report, etc.)
14121
+ */
14122
+ 404: OperationError;
14123
+ /**
14124
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14125
+ */
14126
+ 409: OperationError;
14127
+ /**
14128
+ * Validation Error
14129
+ */
14130
+ 422: HttpValidationError;
14131
+ /**
14132
+ * Rate limit exceeded
14133
+ */
14134
+ 429: unknown;
14135
+ /**
14136
+ * Internal error
14137
+ */
14138
+ 500: unknown;
14139
+ };
14140
+
14141
+ export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
14142
+
14143
+ export type OpReverseJournalEntryResponses = {
14144
+ /**
14145
+ * Successful Response
14146
+ */
14147
+ 200: OperationEnvelope;
14148
+ };
14149
+
14150
+ export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
14151
+
14152
+ export type OpUpdateScheduleData = {
14153
+ body: UpdateScheduleRequest;
14154
+ headers?: {
14155
+ /**
14156
+ * Idempotency-Key
14157
+ */
14158
+ 'Idempotency-Key'?: string | null;
14159
+ };
14160
+ path: {
14161
+ /**
14162
+ * Graph Id
14163
+ */
14164
+ graph_id: string;
14165
+ };
14166
+ query?: never;
14167
+ url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
14168
+ };
14169
+
14170
+ export type OpUpdateScheduleErrors = {
14171
+ /**
14172
+ * Invalid request payload
14173
+ */
14174
+ 400: OperationError;
14175
+ /**
14176
+ * Unauthorized — missing or invalid credentials
14177
+ */
14178
+ 401: unknown;
14179
+ /**
14180
+ * Forbidden — caller cannot access this graph
14181
+ */
14182
+ 403: unknown;
14183
+ /**
14184
+ * Resource not found (graph, ledger, report, etc.)
14185
+ */
14186
+ 404: OperationError;
14187
+ /**
14188
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14189
+ */
14190
+ 409: OperationError;
14191
+ /**
14192
+ * Validation Error
14193
+ */
14194
+ 422: HttpValidationError;
14195
+ /**
14196
+ * Rate limit exceeded
14197
+ */
14198
+ 429: unknown;
14199
+ /**
14200
+ * Internal error
14201
+ */
14202
+ 500: unknown;
14203
+ };
14204
+
14205
+ export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
14206
+
14207
+ export type OpUpdateScheduleResponses = {
14208
+ /**
14209
+ * Successful Response
14210
+ */
14211
+ 200: OperationEnvelope;
14212
+ };
14213
+
14214
+ export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
14215
+
14216
+ export type OpDeleteScheduleData = {
14217
+ body: DeleteScheduleRequest;
14218
+ headers?: {
14219
+ /**
14220
+ * Idempotency-Key
14221
+ */
14222
+ 'Idempotency-Key'?: string | null;
14223
+ };
14224
+ path: {
14225
+ /**
14226
+ * Graph Id
14227
+ */
14228
+ graph_id: string;
14229
+ };
14230
+ query?: never;
14231
+ url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
14232
+ };
14233
+
14234
+ export type OpDeleteScheduleErrors = {
14235
+ /**
14236
+ * Invalid request payload
14237
+ */
14238
+ 400: OperationError;
14239
+ /**
14240
+ * Unauthorized — missing or invalid credentials
14241
+ */
14242
+ 401: unknown;
14243
+ /**
14244
+ * Forbidden — caller cannot access this graph
14245
+ */
14246
+ 403: unknown;
14247
+ /**
14248
+ * Resource not found (graph, ledger, report, etc.)
14249
+ */
14250
+ 404: OperationError;
14251
+ /**
14252
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14253
+ */
14254
+ 409: OperationError;
14255
+ /**
14256
+ * Validation Error
14257
+ */
14258
+ 422: HttpValidationError;
14259
+ /**
14260
+ * Rate limit exceeded
14261
+ */
14262
+ 429: unknown;
14263
+ /**
14264
+ * Internal error
14265
+ */
14266
+ 500: unknown;
14267
+ };
14268
+
14269
+ export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
14270
+
14271
+ export type OpDeleteScheduleResponses = {
14272
+ /**
14273
+ * Successful Response
14274
+ */
14275
+ 200: OperationEnvelope;
14276
+ };
14277
+
14278
+ export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
14279
+
14280
+ export type OpAutoMapElementsData = {
14281
+ body: AutoMapElementsOperation;
12214
14282
  headers?: {
12215
14283
  /**
12216
14284
  * Idempotency-Key
@@ -12228,10 +14296,38 @@ export type OpAutoMapElementsData = {
12228
14296
  };
12229
14297
 
12230
14298
  export type OpAutoMapElementsErrors = {
14299
+ /**
14300
+ * Invalid request payload
14301
+ */
14302
+ 400: OperationError;
14303
+ /**
14304
+ * Unauthorized — missing or invalid credentials
14305
+ */
14306
+ 401: unknown;
14307
+ /**
14308
+ * Forbidden — caller cannot access this graph
14309
+ */
14310
+ 403: unknown;
14311
+ /**
14312
+ * Resource not found (graph, ledger, report, etc.)
14313
+ */
14314
+ 404: OperationError;
14315
+ /**
14316
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14317
+ */
14318
+ 409: OperationError;
12231
14319
  /**
12232
14320
  * Validation Error
12233
14321
  */
12234
14322
  422: HttpValidationError;
14323
+ /**
14324
+ * Rate limit exceeded
14325
+ */
14326
+ 429: unknown;
14327
+ /**
14328
+ * Internal error
14329
+ */
14330
+ 500: unknown;
12235
14331
  };
12236
14332
 
12237
14333
  export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
@@ -12264,10 +14360,38 @@ export type OpCreateReportData = {
12264
14360
  };
12265
14361
 
12266
14362
  export type OpCreateReportErrors = {
14363
+ /**
14364
+ * Invalid request payload
14365
+ */
14366
+ 400: OperationError;
14367
+ /**
14368
+ * Unauthorized — missing or invalid credentials
14369
+ */
14370
+ 401: unknown;
14371
+ /**
14372
+ * Forbidden — caller cannot access this graph
14373
+ */
14374
+ 403: unknown;
14375
+ /**
14376
+ * Resource not found (graph, ledger, report, etc.)
14377
+ */
14378
+ 404: OperationError;
14379
+ /**
14380
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14381
+ */
14382
+ 409: OperationError;
12267
14383
  /**
12268
14384
  * Validation Error
12269
14385
  */
12270
14386
  422: HttpValidationError;
14387
+ /**
14388
+ * Rate limit exceeded
14389
+ */
14390
+ 429: unknown;
14391
+ /**
14392
+ * Internal error
14393
+ */
14394
+ 500: unknown;
12271
14395
  };
12272
14396
 
12273
14397
  export type OpCreateReportError = OpCreateReportErrors[keyof OpCreateReportErrors];
@@ -12300,10 +14424,38 @@ export type OpRegenerateReportData = {
12300
14424
  };
12301
14425
 
12302
14426
  export type OpRegenerateReportErrors = {
14427
+ /**
14428
+ * Invalid request payload
14429
+ */
14430
+ 400: OperationError;
14431
+ /**
14432
+ * Unauthorized — missing or invalid credentials
14433
+ */
14434
+ 401: unknown;
14435
+ /**
14436
+ * Forbidden — caller cannot access this graph
14437
+ */
14438
+ 403: unknown;
14439
+ /**
14440
+ * Resource not found (graph, ledger, report, etc.)
14441
+ */
14442
+ 404: OperationError;
14443
+ /**
14444
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14445
+ */
14446
+ 409: OperationError;
12303
14447
  /**
12304
14448
  * Validation Error
12305
14449
  */
12306
14450
  422: HttpValidationError;
14451
+ /**
14452
+ * Rate limit exceeded
14453
+ */
14454
+ 429: unknown;
14455
+ /**
14456
+ * Internal error
14457
+ */
14458
+ 500: unknown;
12307
14459
  };
12308
14460
 
12309
14461
  export type OpRegenerateReportError = OpRegenerateReportErrors[keyof OpRegenerateReportErrors];
@@ -12336,10 +14488,38 @@ export type OpDeleteReportData = {
12336
14488
  };
12337
14489
 
12338
14490
  export type OpDeleteReportErrors = {
14491
+ /**
14492
+ * Invalid request payload
14493
+ */
14494
+ 400: OperationError;
14495
+ /**
14496
+ * Unauthorized — missing or invalid credentials
14497
+ */
14498
+ 401: unknown;
14499
+ /**
14500
+ * Forbidden — caller cannot access this graph
14501
+ */
14502
+ 403: unknown;
14503
+ /**
14504
+ * Resource not found (graph, ledger, report, etc.)
14505
+ */
14506
+ 404: OperationError;
14507
+ /**
14508
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14509
+ */
14510
+ 409: OperationError;
12339
14511
  /**
12340
14512
  * Validation Error
12341
14513
  */
12342
14514
  422: HttpValidationError;
14515
+ /**
14516
+ * Rate limit exceeded
14517
+ */
14518
+ 429: unknown;
14519
+ /**
14520
+ * Internal error
14521
+ */
14522
+ 500: unknown;
12343
14523
  };
12344
14524
 
12345
14525
  export type OpDeleteReportError = OpDeleteReportErrors[keyof OpDeleteReportErrors];
@@ -12372,10 +14552,38 @@ export type OpShareReportData = {
12372
14552
  };
12373
14553
 
12374
14554
  export type OpShareReportErrors = {
14555
+ /**
14556
+ * Invalid request payload
14557
+ */
14558
+ 400: OperationError;
14559
+ /**
14560
+ * Unauthorized — missing or invalid credentials
14561
+ */
14562
+ 401: unknown;
14563
+ /**
14564
+ * Forbidden — caller cannot access this graph
14565
+ */
14566
+ 403: unknown;
14567
+ /**
14568
+ * Resource not found (graph, ledger, report, etc.)
14569
+ */
14570
+ 404: OperationError;
14571
+ /**
14572
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14573
+ */
14574
+ 409: OperationError;
12375
14575
  /**
12376
14576
  * Validation Error
12377
14577
  */
12378
14578
  422: HttpValidationError;
14579
+ /**
14580
+ * Rate limit exceeded
14581
+ */
14582
+ 429: unknown;
14583
+ /**
14584
+ * Internal error
14585
+ */
14586
+ 500: unknown;
12379
14587
  };
12380
14588
 
12381
14589
  export type OpShareReportError = OpShareReportErrors[keyof OpShareReportErrors];
@@ -12408,10 +14616,38 @@ export type OpCreatePublishListData = {
12408
14616
  };
12409
14617
 
12410
14618
  export type OpCreatePublishListErrors = {
14619
+ /**
14620
+ * Invalid request payload
14621
+ */
14622
+ 400: OperationError;
14623
+ /**
14624
+ * Unauthorized — missing or invalid credentials
14625
+ */
14626
+ 401: unknown;
14627
+ /**
14628
+ * Forbidden — caller cannot access this graph
14629
+ */
14630
+ 403: unknown;
14631
+ /**
14632
+ * Resource not found (graph, ledger, report, etc.)
14633
+ */
14634
+ 404: OperationError;
14635
+ /**
14636
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14637
+ */
14638
+ 409: OperationError;
12411
14639
  /**
12412
14640
  * Validation Error
12413
14641
  */
12414
14642
  422: HttpValidationError;
14643
+ /**
14644
+ * Rate limit exceeded
14645
+ */
14646
+ 429: unknown;
14647
+ /**
14648
+ * Internal error
14649
+ */
14650
+ 500: unknown;
12415
14651
  };
12416
14652
 
12417
14653
  export type OpCreatePublishListError = OpCreatePublishListErrors[keyof OpCreatePublishListErrors];
@@ -12444,10 +14680,38 @@ export type OpUpdatePublishListData = {
12444
14680
  };
12445
14681
 
12446
14682
  export type OpUpdatePublishListErrors = {
14683
+ /**
14684
+ * Invalid request payload
14685
+ */
14686
+ 400: OperationError;
14687
+ /**
14688
+ * Unauthorized — missing or invalid credentials
14689
+ */
14690
+ 401: unknown;
14691
+ /**
14692
+ * Forbidden — caller cannot access this graph
14693
+ */
14694
+ 403: unknown;
14695
+ /**
14696
+ * Resource not found (graph, ledger, report, etc.)
14697
+ */
14698
+ 404: OperationError;
14699
+ /**
14700
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14701
+ */
14702
+ 409: OperationError;
12447
14703
  /**
12448
14704
  * Validation Error
12449
14705
  */
12450
14706
  422: HttpValidationError;
14707
+ /**
14708
+ * Rate limit exceeded
14709
+ */
14710
+ 429: unknown;
14711
+ /**
14712
+ * Internal error
14713
+ */
14714
+ 500: unknown;
12451
14715
  };
12452
14716
 
12453
14717
  export type OpUpdatePublishListError = OpUpdatePublishListErrors[keyof OpUpdatePublishListErrors];
@@ -12480,10 +14744,38 @@ export type OpDeletePublishListData = {
12480
14744
  };
12481
14745
 
12482
14746
  export type OpDeletePublishListErrors = {
14747
+ /**
14748
+ * Invalid request payload
14749
+ */
14750
+ 400: OperationError;
14751
+ /**
14752
+ * Unauthorized — missing or invalid credentials
14753
+ */
14754
+ 401: unknown;
14755
+ /**
14756
+ * Forbidden — caller cannot access this graph
14757
+ */
14758
+ 403: unknown;
14759
+ /**
14760
+ * Resource not found (graph, ledger, report, etc.)
14761
+ */
14762
+ 404: OperationError;
14763
+ /**
14764
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14765
+ */
14766
+ 409: OperationError;
12483
14767
  /**
12484
14768
  * Validation Error
12485
14769
  */
12486
14770
  422: HttpValidationError;
14771
+ /**
14772
+ * Rate limit exceeded
14773
+ */
14774
+ 429: unknown;
14775
+ /**
14776
+ * Internal error
14777
+ */
14778
+ 500: unknown;
12487
14779
  };
12488
14780
 
12489
14781
  export type OpDeletePublishListError = OpDeletePublishListErrors[keyof OpDeletePublishListErrors];
@@ -12516,10 +14808,38 @@ export type OpAddPublishListMembersData = {
12516
14808
  };
12517
14809
 
12518
14810
  export type OpAddPublishListMembersErrors = {
14811
+ /**
14812
+ * Invalid request payload
14813
+ */
14814
+ 400: OperationError;
14815
+ /**
14816
+ * Unauthorized — missing or invalid credentials
14817
+ */
14818
+ 401: unknown;
14819
+ /**
14820
+ * Forbidden — caller cannot access this graph
14821
+ */
14822
+ 403: unknown;
14823
+ /**
14824
+ * Resource not found (graph, ledger, report, etc.)
14825
+ */
14826
+ 404: OperationError;
14827
+ /**
14828
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14829
+ */
14830
+ 409: OperationError;
12519
14831
  /**
12520
14832
  * Validation Error
12521
14833
  */
12522
14834
  422: HttpValidationError;
14835
+ /**
14836
+ * Rate limit exceeded
14837
+ */
14838
+ 429: unknown;
14839
+ /**
14840
+ * Internal error
14841
+ */
14842
+ 500: unknown;
12523
14843
  };
12524
14844
 
12525
14845
  export type OpAddPublishListMembersError = OpAddPublishListMembersErrors[keyof OpAddPublishListMembersErrors];
@@ -12552,10 +14872,38 @@ export type OpRemovePublishListMemberData = {
12552
14872
  };
12553
14873
 
12554
14874
  export type OpRemovePublishListMemberErrors = {
14875
+ /**
14876
+ * Invalid request payload
14877
+ */
14878
+ 400: OperationError;
14879
+ /**
14880
+ * Unauthorized — missing or invalid credentials
14881
+ */
14882
+ 401: unknown;
14883
+ /**
14884
+ * Forbidden — caller cannot access this graph
14885
+ */
14886
+ 403: unknown;
14887
+ /**
14888
+ * Resource not found (graph, ledger, report, etc.)
14889
+ */
14890
+ 404: OperationError;
14891
+ /**
14892
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14893
+ */
14894
+ 409: OperationError;
12555
14895
  /**
12556
14896
  * Validation Error
12557
14897
  */
12558
14898
  422: HttpValidationError;
14899
+ /**
14900
+ * Rate limit exceeded
14901
+ */
14902
+ 429: unknown;
14903
+ /**
14904
+ * Internal error
14905
+ */
14906
+ 500: unknown;
12559
14907
  };
12560
14908
 
12561
14909
  export type OpRemovePublishListMemberError = OpRemovePublishListMemberErrors[keyof OpRemovePublishListMemberErrors];
@@ -12588,10 +14936,38 @@ export type OpBuildFactGridData = {
12588
14936
  };
12589
14937
 
12590
14938
  export type OpBuildFactGridErrors = {
14939
+ /**
14940
+ * Invalid request payload
14941
+ */
14942
+ 400: OperationError;
14943
+ /**
14944
+ * Unauthorized — missing or invalid credentials
14945
+ */
14946
+ 401: unknown;
14947
+ /**
14948
+ * Forbidden — caller cannot access this graph
14949
+ */
14950
+ 403: unknown;
14951
+ /**
14952
+ * Resource not found (graph, ledger, report, etc.)
14953
+ */
14954
+ 404: OperationError;
14955
+ /**
14956
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14957
+ */
14958
+ 409: OperationError;
12591
14959
  /**
12592
14960
  * Validation Error
12593
14961
  */
12594
14962
  422: HttpValidationError;
14963
+ /**
14964
+ * Rate limit exceeded
14965
+ */
14966
+ 429: unknown;
14967
+ /**
14968
+ * Internal error
14969
+ */
14970
+ 500: unknown;
12595
14971
  };
12596
14972
 
12597
14973
  export type OpBuildFactGridError = OpBuildFactGridErrors[keyof OpBuildFactGridErrors];
@@ -12624,10 +15000,38 @@ export type OpCreatePortfolioData = {
12624
15000
  };
12625
15001
 
12626
15002
  export type OpCreatePortfolioErrors = {
15003
+ /**
15004
+ * Invalid request payload
15005
+ */
15006
+ 400: OperationError;
15007
+ /**
15008
+ * Unauthorized — missing or invalid credentials
15009
+ */
15010
+ 401: unknown;
15011
+ /**
15012
+ * Forbidden — caller cannot access this graph
15013
+ */
15014
+ 403: unknown;
15015
+ /**
15016
+ * Resource not found (graph, ledger, report, etc.)
15017
+ */
15018
+ 404: OperationError;
15019
+ /**
15020
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15021
+ */
15022
+ 409: OperationError;
12627
15023
  /**
12628
15024
  * Validation Error
12629
15025
  */
12630
15026
  422: HttpValidationError;
15027
+ /**
15028
+ * Rate limit exceeded
15029
+ */
15030
+ 429: unknown;
15031
+ /**
15032
+ * Internal error
15033
+ */
15034
+ 500: unknown;
12631
15035
  };
12632
15036
 
12633
15037
  export type OpCreatePortfolioError = OpCreatePortfolioErrors[keyof OpCreatePortfolioErrors];
@@ -12660,10 +15064,38 @@ export type OpUpdatePortfolioData = {
12660
15064
  };
12661
15065
 
12662
15066
  export type OpUpdatePortfolioErrors = {
15067
+ /**
15068
+ * Invalid request payload
15069
+ */
15070
+ 400: OperationError;
15071
+ /**
15072
+ * Unauthorized — missing or invalid credentials
15073
+ */
15074
+ 401: unknown;
15075
+ /**
15076
+ * Forbidden — caller cannot access this graph
15077
+ */
15078
+ 403: unknown;
15079
+ /**
15080
+ * Resource not found (graph, ledger, report, etc.)
15081
+ */
15082
+ 404: OperationError;
15083
+ /**
15084
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15085
+ */
15086
+ 409: OperationError;
12663
15087
  /**
12664
15088
  * Validation Error
12665
15089
  */
12666
15090
  422: HttpValidationError;
15091
+ /**
15092
+ * Rate limit exceeded
15093
+ */
15094
+ 429: unknown;
15095
+ /**
15096
+ * Internal error
15097
+ */
15098
+ 500: unknown;
12667
15099
  };
12668
15100
 
12669
15101
  export type OpUpdatePortfolioError = OpUpdatePortfolioErrors[keyof OpUpdatePortfolioErrors];
@@ -12696,10 +15128,38 @@ export type OpDeletePortfolioData = {
12696
15128
  };
12697
15129
 
12698
15130
  export type OpDeletePortfolioErrors = {
15131
+ /**
15132
+ * Invalid request payload
15133
+ */
15134
+ 400: OperationError;
15135
+ /**
15136
+ * Unauthorized — missing or invalid credentials
15137
+ */
15138
+ 401: unknown;
15139
+ /**
15140
+ * Forbidden — caller cannot access this graph
15141
+ */
15142
+ 403: unknown;
15143
+ /**
15144
+ * Resource not found (graph, ledger, report, etc.)
15145
+ */
15146
+ 404: OperationError;
15147
+ /**
15148
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15149
+ */
15150
+ 409: OperationError;
12699
15151
  /**
12700
15152
  * Validation Error
12701
15153
  */
12702
15154
  422: HttpValidationError;
15155
+ /**
15156
+ * Rate limit exceeded
15157
+ */
15158
+ 429: unknown;
15159
+ /**
15160
+ * Internal error
15161
+ */
15162
+ 500: unknown;
12703
15163
  };
12704
15164
 
12705
15165
  export type OpDeletePortfolioError = OpDeletePortfolioErrors[keyof OpDeletePortfolioErrors];
@@ -12732,10 +15192,38 @@ export type OpCreateSecurityData = {
12732
15192
  };
12733
15193
 
12734
15194
  export type OpCreateSecurityErrors = {
15195
+ /**
15196
+ * Invalid request payload
15197
+ */
15198
+ 400: OperationError;
15199
+ /**
15200
+ * Unauthorized — missing or invalid credentials
15201
+ */
15202
+ 401: unknown;
15203
+ /**
15204
+ * Forbidden — caller cannot access this graph
15205
+ */
15206
+ 403: unknown;
15207
+ /**
15208
+ * Resource not found (graph, ledger, report, etc.)
15209
+ */
15210
+ 404: OperationError;
15211
+ /**
15212
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15213
+ */
15214
+ 409: OperationError;
12735
15215
  /**
12736
15216
  * Validation Error
12737
15217
  */
12738
15218
  422: HttpValidationError;
15219
+ /**
15220
+ * Rate limit exceeded
15221
+ */
15222
+ 429: unknown;
15223
+ /**
15224
+ * Internal error
15225
+ */
15226
+ 500: unknown;
12739
15227
  };
12740
15228
 
12741
15229
  export type OpCreateSecurityError = OpCreateSecurityErrors[keyof OpCreateSecurityErrors];
@@ -12768,10 +15256,38 @@ export type OpUpdateSecurityData = {
12768
15256
  };
12769
15257
 
12770
15258
  export type OpUpdateSecurityErrors = {
15259
+ /**
15260
+ * Invalid request payload
15261
+ */
15262
+ 400: OperationError;
15263
+ /**
15264
+ * Unauthorized — missing or invalid credentials
15265
+ */
15266
+ 401: unknown;
15267
+ /**
15268
+ * Forbidden — caller cannot access this graph
15269
+ */
15270
+ 403: unknown;
15271
+ /**
15272
+ * Resource not found (graph, ledger, report, etc.)
15273
+ */
15274
+ 404: OperationError;
15275
+ /**
15276
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15277
+ */
15278
+ 409: OperationError;
12771
15279
  /**
12772
15280
  * Validation Error
12773
15281
  */
12774
15282
  422: HttpValidationError;
15283
+ /**
15284
+ * Rate limit exceeded
15285
+ */
15286
+ 429: unknown;
15287
+ /**
15288
+ * Internal error
15289
+ */
15290
+ 500: unknown;
12775
15291
  };
12776
15292
 
12777
15293
  export type OpUpdateSecurityError = OpUpdateSecurityErrors[keyof OpUpdateSecurityErrors];
@@ -12804,10 +15320,38 @@ export type OpDeleteSecurityData = {
12804
15320
  };
12805
15321
 
12806
15322
  export type OpDeleteSecurityErrors = {
15323
+ /**
15324
+ * Invalid request payload
15325
+ */
15326
+ 400: OperationError;
15327
+ /**
15328
+ * Unauthorized — missing or invalid credentials
15329
+ */
15330
+ 401: unknown;
15331
+ /**
15332
+ * Forbidden — caller cannot access this graph
15333
+ */
15334
+ 403: unknown;
15335
+ /**
15336
+ * Resource not found (graph, ledger, report, etc.)
15337
+ */
15338
+ 404: OperationError;
15339
+ /**
15340
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15341
+ */
15342
+ 409: OperationError;
12807
15343
  /**
12808
15344
  * Validation Error
12809
15345
  */
12810
15346
  422: HttpValidationError;
15347
+ /**
15348
+ * Rate limit exceeded
15349
+ */
15350
+ 429: unknown;
15351
+ /**
15352
+ * Internal error
15353
+ */
15354
+ 500: unknown;
12811
15355
  };
12812
15356
 
12813
15357
  export type OpDeleteSecurityError = OpDeleteSecurityErrors[keyof OpDeleteSecurityErrors];
@@ -12840,10 +15384,38 @@ export type OpCreatePositionData = {
12840
15384
  };
12841
15385
 
12842
15386
  export type OpCreatePositionErrors = {
15387
+ /**
15388
+ * Invalid request payload
15389
+ */
15390
+ 400: OperationError;
15391
+ /**
15392
+ * Unauthorized — missing or invalid credentials
15393
+ */
15394
+ 401: unknown;
15395
+ /**
15396
+ * Forbidden — caller cannot access this graph
15397
+ */
15398
+ 403: unknown;
15399
+ /**
15400
+ * Resource not found (graph, ledger, report, etc.)
15401
+ */
15402
+ 404: OperationError;
15403
+ /**
15404
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15405
+ */
15406
+ 409: OperationError;
12843
15407
  /**
12844
15408
  * Validation Error
12845
15409
  */
12846
15410
  422: HttpValidationError;
15411
+ /**
15412
+ * Rate limit exceeded
15413
+ */
15414
+ 429: unknown;
15415
+ /**
15416
+ * Internal error
15417
+ */
15418
+ 500: unknown;
12847
15419
  };
12848
15420
 
12849
15421
  export type OpCreatePositionError = OpCreatePositionErrors[keyof OpCreatePositionErrors];
@@ -12876,10 +15448,38 @@ export type OpUpdatePositionData = {
12876
15448
  };
12877
15449
 
12878
15450
  export type OpUpdatePositionErrors = {
15451
+ /**
15452
+ * Invalid request payload
15453
+ */
15454
+ 400: OperationError;
15455
+ /**
15456
+ * Unauthorized — missing or invalid credentials
15457
+ */
15458
+ 401: unknown;
15459
+ /**
15460
+ * Forbidden — caller cannot access this graph
15461
+ */
15462
+ 403: unknown;
15463
+ /**
15464
+ * Resource not found (graph, ledger, report, etc.)
15465
+ */
15466
+ 404: OperationError;
15467
+ /**
15468
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15469
+ */
15470
+ 409: OperationError;
12879
15471
  /**
12880
15472
  * Validation Error
12881
15473
  */
12882
15474
  422: HttpValidationError;
15475
+ /**
15476
+ * Rate limit exceeded
15477
+ */
15478
+ 429: unknown;
15479
+ /**
15480
+ * Internal error
15481
+ */
15482
+ 500: unknown;
12883
15483
  };
12884
15484
 
12885
15485
  export type OpUpdatePositionError = OpUpdatePositionErrors[keyof OpUpdatePositionErrors];
@@ -12912,10 +15512,38 @@ export type OpDeletePositionData = {
12912
15512
  };
12913
15513
 
12914
15514
  export type OpDeletePositionErrors = {
15515
+ /**
15516
+ * Invalid request payload
15517
+ */
15518
+ 400: OperationError;
15519
+ /**
15520
+ * Unauthorized — missing or invalid credentials
15521
+ */
15522
+ 401: unknown;
15523
+ /**
15524
+ * Forbidden — caller cannot access this graph
15525
+ */
15526
+ 403: unknown;
15527
+ /**
15528
+ * Resource not found (graph, ledger, report, etc.)
15529
+ */
15530
+ 404: OperationError;
15531
+ /**
15532
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15533
+ */
15534
+ 409: OperationError;
12915
15535
  /**
12916
15536
  * Validation Error
12917
15537
  */
12918
15538
  422: HttpValidationError;
15539
+ /**
15540
+ * Rate limit exceeded
15541
+ */
15542
+ 429: unknown;
15543
+ /**
15544
+ * Internal error
15545
+ */
15546
+ 500: unknown;
12919
15547
  };
12920
15548
 
12921
15549
  export type OpDeletePositionError = OpDeletePositionErrors[keyof OpDeletePositionErrors];