@robosystems/client 0.3.1 → 0.3.2

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 +275 -274
  25. package/sdk/sdk.gen.js +469 -314
  26. package/sdk/sdk.gen.ts +465 -311
  27. package/sdk/types.gen.d.ts +2940 -466
  28. package/sdk/types.gen.ts +3053 -474
  29. package/sdk.gen.d.ts +275 -274
  30. package/sdk.gen.js +469 -314
  31. package/sdk.gen.ts +465 -311
  32. package/types.gen.d.ts +2940 -466
  33. package/types.gen.ts +3053 -474
  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/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
  */
@@ -2347,6 +2509,32 @@ export type DatabaseStorageEntry = {
2347
2509
  size_mb?: number | null;
2348
2510
  };
2349
2511
 
2512
+ /**
2513
+ * DeleteAssociationRequest
2514
+ *
2515
+ * Hard delete — associations are edges and are cheap to recreate.
2516
+ */
2517
+ export type DeleteAssociationRequest = {
2518
+ /**
2519
+ * Association Id
2520
+ */
2521
+ association_id: string;
2522
+ };
2523
+
2524
+ /**
2525
+ * DeleteElementRequest
2526
+ *
2527
+ * Soft delete — sets `is_active=false`. Historical line items
2528
+ * referencing this element remain valid; new line items cannot use an
2529
+ * inactive element.
2530
+ */
2531
+ export type DeleteElementRequest = {
2532
+ /**
2533
+ * Element Id
2534
+ */
2535
+ element_id: string;
2536
+ };
2537
+
2350
2538
  /**
2351
2539
  * DeleteFileResponse
2352
2540
  */
@@ -2395,6 +2583,19 @@ export type DeleteFileResponse = {
2395
2583
  graph_marked_stale?: boolean;
2396
2584
  };
2397
2585
 
2586
+ /**
2587
+ * DeleteJournalEntryRequest
2588
+ *
2589
+ * Hard delete a draft journal entry. Posted entries cannot be
2590
+ * deleted — reverse them instead.
2591
+ */
2592
+ export type DeleteJournalEntryRequest = {
2593
+ /**
2594
+ * Entry Id
2595
+ */
2596
+ entry_id: string;
2597
+ };
2598
+
2398
2599
  /**
2399
2600
  * DeleteMappingAssociationOperation
2400
2601
  */
@@ -2449,6 +2650,23 @@ export type DeleteReportOperation = {
2449
2650
  report_id: string;
2450
2651
  };
2451
2652
 
2653
+ /**
2654
+ * DeleteScheduleRequest
2655
+ *
2656
+ * Delete a schedule — cascades through facts and associations.
2657
+ *
2658
+ * Hard deletes the Structure, all Facts tied to it, and all
2659
+ * Associations tied to it. This is a permanent, irreversible
2660
+ * operation. For ending a schedule early without removing history,
2661
+ * use truncate-schedule instead.
2662
+ */
2663
+ export type DeleteScheduleRequest = {
2664
+ /**
2665
+ * Structure Id
2666
+ */
2667
+ structure_id: string;
2668
+ };
2669
+
2452
2670
  /**
2453
2671
  * DeleteSecurityOperation
2454
2672
  */
@@ -2460,67 +2678,54 @@ export type DeleteSecurityOperation = {
2460
2678
  };
2461
2679
 
2462
2680
  /**
2463
- * DeleteSubgraphRequest
2681
+ * DeleteStructureRequest
2464
2682
  *
2465
- * Request model for deleting a subgraph.
2683
+ * Soft delete sets `is_active=false`.
2466
2684
  */
2467
- export type DeleteSubgraphRequest = {
2468
- /**
2469
- * Force
2470
- *
2471
- * Force deletion even if subgraph contains data
2472
- */
2473
- force?: boolean;
2685
+ export type DeleteStructureRequest = {
2474
2686
  /**
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)
2687
+ * Structure Id
2484
2688
  */
2485
- backup_location?: string | null;
2689
+ structure_id: string;
2486
2690
  };
2487
2691
 
2488
2692
  /**
2489
- * DeleteSubgraphResponse
2693
+ * DeleteSubgraphOp
2490
2694
  *
2491
- * Response model for subgraph deletion.
2695
+ * Body for the delete-subgraph operation.
2492
2696
  */
2493
- export type DeleteSubgraphResponse = {
2697
+ export type DeleteSubgraphOp = {
2494
2698
  /**
2495
- * Graph Id
2496
- *
2497
- * Deleted subgraph identifier
2498
- */
2499
- graph_id: string;
2500
- /**
2501
- * Status
2699
+ * Subgraph Name
2502
2700
  *
2503
- * Deletion status
2701
+ * Subgraph name to delete (e.g., 'dev', 'staging')
2504
2702
  */
2505
- status: string;
2703
+ subgraph_name: string;
2506
2704
  /**
2507
- * Backup Location
2705
+ * Force
2508
2706
  *
2509
- * Location of backup if created
2707
+ * Delete even if subgraph contains data
2510
2708
  */
2511
- backup_location?: string | null;
2709
+ force?: boolean;
2512
2710
  /**
2513
- * Deleted At
2711
+ * Backup First
2514
2712
  *
2515
- * When deletion occurred
2713
+ * Create a backup before deleting
2516
2714
  */
2517
- deleted_at: string;
2715
+ backup_first?: boolean;
2716
+ };
2717
+
2718
+ /**
2719
+ * DeleteTaxonomyRequest
2720
+ *
2721
+ * Soft delete — sets `is_active=false`. Historical references remain
2722
+ * valid.
2723
+ */
2724
+ export type DeleteTaxonomyRequest = {
2518
2725
  /**
2519
- * Message
2520
- *
2521
- * Additional information about the deletion
2726
+ * Taxonomy Id
2522
2727
  */
2523
- message?: string | null;
2728
+ taxonomy_id: string;
2524
2729
  };
2525
2730
 
2526
2731
  /**
@@ -4402,6 +4607,61 @@ export type InvoicesResponse = {
4402
4607
  has_more: boolean;
4403
4608
  };
4404
4609
 
4610
+ /**
4611
+ * JournalEntryLineItemInput
4612
+ *
4613
+ * One debit/credit line in a journal entry create/update payload.
4614
+ *
4615
+ * Exactly one of `debit_amount` / `credit_amount` must be non-zero; the
4616
+ * other must be zero. Amounts are in minor currency units (cents).
4617
+ */
4618
+ export type JournalEntryLineItemInput = {
4619
+ /**
4620
+ * Element Id
4621
+ */
4622
+ element_id: string;
4623
+ /**
4624
+ * Debit Amount
4625
+ */
4626
+ debit_amount?: number;
4627
+ /**
4628
+ * Credit Amount
4629
+ */
4630
+ credit_amount?: number;
4631
+ /**
4632
+ * Description
4633
+ */
4634
+ description?: string | null;
4635
+ };
4636
+
4637
+ /**
4638
+ * LinkEntityTaxonomyRequest
4639
+ *
4640
+ * Link an entity to a taxonomy (creates the ENTITY_HAS_TAXONOMY edge).
4641
+ *
4642
+ * This is how a graph declares "this entity reports under this taxonomy."
4643
+ * For chart_of_accounts taxonomies, this tells the platform which CoA the
4644
+ * entity uses. For reporting taxonomies, which standard (us-gaap, ifrs).
4645
+ */
4646
+ export type LinkEntityTaxonomyRequest = {
4647
+ /**
4648
+ * Taxonomy Id
4649
+ */
4650
+ taxonomy_id: string;
4651
+ /**
4652
+ * Basis
4653
+ */
4654
+ basis?: 'reporting' | 'chart_of_accounts' | 'mapping' | 'schedule';
4655
+ /**
4656
+ * Is Primary
4657
+ */
4658
+ is_primary?: boolean;
4659
+ /**
4660
+ * Adoption Context
4661
+ */
4662
+ adoption_context?: string | null;
4663
+ };
4664
+
4405
4665
  /**
4406
4666
  * ListSubgraphsResponse
4407
4667
  *
@@ -4581,145 +4841,9 @@ export type ManualLineItemRequest = {
4581
4841
  };
4582
4842
 
4583
4843
  /**
4584
- * MaterializeRequest
4585
- */
4586
- export type MaterializeRequest = {
4587
- /**
4588
- * Force
4589
- *
4590
- * Force materialization even if graph is not stale
4591
- */
4592
- force?: boolean;
4593
- /**
4594
- * Rebuild
4595
- *
4596
- * Delete and recreate graph database before materialization
4597
- */
4598
- rebuild?: boolean;
4599
- /**
4600
- * Ignore Errors
4601
- *
4602
- * Continue ingestion on row errors
4603
- */
4604
- ignore_errors?: boolean;
4605
- /**
4606
- * Dry Run
4607
- *
4608
- * Validate limits without executing materialization. Returns usage, limits, and warnings.
4609
- */
4610
- dry_run?: boolean;
4611
- /**
4612
- * Source
4613
- *
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).
4615
- */
4616
- source?: string | null;
4617
- /**
4618
- * Materialize Embeddings
4619
- *
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.
4621
- */
4622
- materialize_embeddings?: boolean;
4623
- };
4624
-
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
- /**
4720
- * OAuthCallbackRequest
4721
- *
4722
- * OAuth callback parameters.
4844
+ * OAuthCallbackRequest
4845
+ *
4846
+ * OAuth callback parameters.
4723
4847
  */
4724
4848
  export type OAuthCallbackRequest = {
4725
4849
  /**
@@ -4905,28 +5029,33 @@ export type OperationCosts = {
4905
5029
  /**
4906
5030
  * OperationEnvelope
4907
5031
  *
4908
- * Uniform response shape for every extensions operation endpoint.
5032
+ * Uniform response shape for every operation endpoint.
4909
5033
  *
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.
5034
+ * Every dispatch through an operation surface returns an envelope carrying
5035
+ * an ``op_<ULID>`` operation_id. That id is the bridge to the platform's
5036
+ * monitoring surface: pass it to
5037
+ * ``GET /v1/operations/{operation_id}/stream`` (see ``routers/operations.py``)
5038
+ * to subscribe to SSE progress events. Sync commands complete in the
5039
+ * envelope itself; async commands (``status: "pending"``, HTTP 202) hand
5040
+ * off to a background worker and stream their tail through the same SSE
5041
+ * endpoint until completion. Failed dispatches still mint an
5042
+ * ``operation_id`` so the audit log and any partial SSE events stay
5043
+ * correlatable.
4919
5044
  *
4920
5045
  * 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
5046
+ * - ``operation``: kebab-case command name (e.g. ``close-period``)
5047
+ * - ``operation_id``: ``op_``-prefixed ULID; always present, usable for
5048
+ * audit correlation and — for async commands — SSE subscription via
5049
+ * ``/v1/operations/{operation_id}/stream``
5050
+ * - ``status``: ``"completed"`` (sync, HTTP 200), ``"pending"``
5051
+ * (async, HTTP 202), or ``"failed"`` (error responses)
5052
+ * - ``result``: the domain-specific payload (the original Pydantic
5053
+ * response) or ``None`` for async/failed cases
5054
+ * - ``at``: ISO-8601 UTC timestamp of when the envelope was minted
5055
+ * - ``created_by``: user ID of the caller who initiated this operation
5056
+ * - ``idempotent_replay``: ``True`` when the dispatcher returned this
5057
+ * envelope from the idempotency cache (the underlying command did NOT
5058
+ * execute again)
4930
5059
  */
4931
5060
  export type OperationEnvelope = {
4932
5061
  /**
@@ -4961,6 +5090,18 @@ export type OperationEnvelope = {
4961
5090
  * ISO-8601 UTC timestamp
4962
5091
  */
4963
5092
  at: string;
5093
+ /**
5094
+ * Createdby
5095
+ *
5096
+ * User ID that initiated the operation (null for legacy callers)
5097
+ */
5098
+ createdBy?: string | null;
5099
+ /**
5100
+ * Idempotentreplay
5101
+ *
5102
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
5103
+ */
5104
+ idempotentReplay?: boolean;
4964
5105
  };
4965
5106
 
4966
5107
  /**
@@ -5743,6 +5884,61 @@ export type ResetPasswordValidateResponse = {
5743
5884
  */
5744
5885
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
5745
5886
 
5887
+ /**
5888
+ * RestoreBackupOp
5889
+ *
5890
+ * Body for the restore-backup operation.
5891
+ */
5892
+ export type RestoreBackupOp = {
5893
+ /**
5894
+ * Backup Id
5895
+ *
5896
+ * Backup identifier to restore from
5897
+ */
5898
+ backup_id: string;
5899
+ /**
5900
+ * Create System Backup
5901
+ *
5902
+ * Create a system backup of existing database before restore
5903
+ */
5904
+ create_system_backup?: boolean;
5905
+ /**
5906
+ * Verify After Restore
5907
+ *
5908
+ * Verify database integrity after restore
5909
+ */
5910
+ verify_after_restore?: boolean;
5911
+ };
5912
+
5913
+ /**
5914
+ * ReverseJournalEntryRequest
5915
+ *
5916
+ * Reverse a posted journal entry.
5917
+ *
5918
+ * Creates a new entry whose line items flip the originals
5919
+ * (debits → credits, credits → debits), sets `reversal_of` on the new
5920
+ * entry to the original's id, marks the original as
5921
+ * `status='reversed'`, and posts the reversing entry immediately.
5922
+ *
5923
+ * This is how accountants correct posted entries — the original stays
5924
+ * in the audit trail, the reversal cancels its effect, and a
5925
+ * corrected entry can be created separately.
5926
+ */
5927
+ export type ReverseJournalEntryRequest = {
5928
+ /**
5929
+ * Entry Id
5930
+ */
5931
+ entry_id: string;
5932
+ /**
5933
+ * Posting Date
5934
+ */
5935
+ posting_date?: string | null;
5936
+ /**
5937
+ * Memo
5938
+ */
5939
+ memo?: string | null;
5940
+ };
5941
+
5746
5942
  /**
5747
5943
  * SECConnectionConfig
5748
5944
  *
@@ -6949,6 +7145,87 @@ export type UpdateApiKeyRequest = {
6949
7145
  description?: string | null;
6950
7146
  };
6951
7147
 
7148
+ /**
7149
+ * UpdateAssociationRequest
7150
+ *
7151
+ * Update mutable fields on an association. `from_element_id`,
7152
+ * `to_element_id`, and `association_type` are immutable — delete and
7153
+ * recreate instead.
7154
+ */
7155
+ export type UpdateAssociationRequest = {
7156
+ /**
7157
+ * Association Id
7158
+ */
7159
+ association_id: string;
7160
+ /**
7161
+ * Order Value
7162
+ */
7163
+ order_value?: number | null;
7164
+ /**
7165
+ * Weight
7166
+ */
7167
+ weight?: number | null;
7168
+ /**
7169
+ * Confidence
7170
+ */
7171
+ confidence?: number | null;
7172
+ /**
7173
+ * Approved By
7174
+ */
7175
+ approved_by?: string | null;
7176
+ };
7177
+
7178
+ /**
7179
+ * UpdateElementRequest
7180
+ *
7181
+ * Update mutable fields on an element. `taxonomy_id` and `source` are
7182
+ * immutable. `parent_id` honors `model_dump(exclude_unset=True)` semantics:
7183
+ * omit the field to leave unchanged, pass `null` to clear the parent
7184
+ * (make root).
7185
+ */
7186
+ export type UpdateElementRequest = {
7187
+ /**
7188
+ * Element Id
7189
+ */
7190
+ element_id: string;
7191
+ /**
7192
+ * Code
7193
+ */
7194
+ code?: string | null;
7195
+ /**
7196
+ * Name
7197
+ */
7198
+ name?: string | null;
7199
+ /**
7200
+ * Description
7201
+ */
7202
+ description?: string | null;
7203
+ /**
7204
+ * Classification
7205
+ */
7206
+ classification?: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense' | null;
7207
+ /**
7208
+ * Sub Classification
7209
+ */
7210
+ sub_classification?: string | null;
7211
+ /**
7212
+ * Balance Type
7213
+ */
7214
+ balance_type?: 'debit' | 'credit' | null;
7215
+ /**
7216
+ * Period Type
7217
+ */
7218
+ period_type?: 'duration' | 'instant' | null;
7219
+ /**
7220
+ * Parent Id
7221
+ */
7222
+ parent_id?: string | null;
7223
+ /**
7224
+ * Currency
7225
+ */
7226
+ currency?: string | null;
7227
+ };
7228
+
6952
7229
  /**
6953
7230
  * UpdateEntityRequest
6954
7231
  *
@@ -7045,6 +7322,40 @@ export type UpdateEntityRequest = {
7045
7322
  address_country?: string | null;
7046
7323
  };
7047
7324
 
7325
+ /**
7326
+ * UpdateJournalEntryRequest
7327
+ *
7328
+ * Update a draft journal entry. Posted entries cannot be updated —
7329
+ * create a reversal and a corrected entry instead.
7330
+ *
7331
+ * Omitted fields are left unchanged. If `line_items` is provided, the
7332
+ * existing line items are replaced entirely (atomic delete + insert)
7333
+ * and the new set must still balance. If `line_items` is omitted, the
7334
+ * existing line items are left untouched.
7335
+ */
7336
+ export type UpdateJournalEntryRequest = {
7337
+ /**
7338
+ * Entry Id
7339
+ */
7340
+ entry_id: string;
7341
+ /**
7342
+ * Posting Date
7343
+ */
7344
+ posting_date?: string | null;
7345
+ /**
7346
+ * Memo
7347
+ */
7348
+ memo?: string | null;
7349
+ /**
7350
+ * Type
7351
+ */
7352
+ type?: 'standard' | 'adjusting' | 'closing' | 'reversing' | null;
7353
+ /**
7354
+ * Line Items
7355
+ */
7356
+ line_items?: Array<JournalEntryLineItemInput> | null;
7357
+ };
7358
+
7048
7359
  /**
7049
7360
  * UpdateMemberRoleRequest
7050
7361
  *
@@ -7191,6 +7502,33 @@ export type UpdatePublishListOperation = {
7191
7502
  list_id: string;
7192
7503
  };
7193
7504
 
7505
+ /**
7506
+ * UpdateScheduleRequest
7507
+ *
7508
+ * Update mutable fields on a schedule.
7509
+ *
7510
+ * Editable: name, entry_template, schedule_metadata (all live on the
7511
+ * Structure row / its metadata_ JSONB column).
7512
+ *
7513
+ * NOT editable via this op: period_start, period_end, monthly_amount.
7514
+ * Those require fact regeneration — use truncate-schedule (end early)
7515
+ * and create-schedule (start new) instead.
7516
+ *
7517
+ * Omitted fields are left unchanged.
7518
+ */
7519
+ export type UpdateScheduleRequest = {
7520
+ /**
7521
+ * Structure Id
7522
+ */
7523
+ structure_id: string;
7524
+ /**
7525
+ * Name
7526
+ */
7527
+ name?: string | null;
7528
+ entry_template?: EntryTemplateRequest | null;
7529
+ schedule_metadata?: ScheduleMetadataRequest | null;
7530
+ };
7531
+
7194
7532
  /**
7195
7533
  * UpdateSecurityOperation
7196
7534
  */
@@ -7240,39 +7578,101 @@ export type UpdateSecurityOperation = {
7240
7578
  };
7241
7579
 
7242
7580
  /**
7243
- * UpdateUserRequest
7581
+ * UpdateStructureRequest
7244
7582
  *
7245
- * Request model for updating user profile.
7583
+ * Update mutable fields on a structure. `structure_type` and
7584
+ * `taxonomy_id` are immutable.
7246
7585
  */
7247
- export type UpdateUserRequest = {
7586
+ export type UpdateStructureRequest = {
7587
+ /**
7588
+ * Structure Id
7589
+ */
7590
+ structure_id: string;
7248
7591
  /**
7249
7592
  * Name
7250
- *
7251
- * User's display name
7252
7593
  */
7253
7594
  name?: string | null;
7254
7595
  /**
7255
- * Email
7256
- *
7257
- * User's email address
7596
+ * Description
7258
7597
  */
7259
- email?: string | null;
7598
+ description?: string | null;
7260
7599
  };
7261
7600
 
7262
7601
  /**
7263
- * UpgradeSubscriptionRequest
7602
+ * UpdateTaxonomyRequest
7264
7603
  *
7265
- * Request to upgrade a subscription.
7604
+ * Update mutable fields on a taxonomy. `taxonomy_type` is immutable —
7605
+ * changing it is not the same operation as editing a taxonomy; deactivate
7606
+ * and create a new one instead. Only provided (non-null) fields are
7607
+ * applied.
7266
7608
  */
7267
- export type UpgradeSubscriptionRequest = {
7609
+ export type UpdateTaxonomyRequest = {
7268
7610
  /**
7269
- * New Plan Name
7270
- *
7271
- * New plan name to change to
7611
+ * Taxonomy Id
7272
7612
  */
7273
- new_plan_name: string;
7274
- };
7275
-
7613
+ taxonomy_id: string;
7614
+ /**
7615
+ * Name
7616
+ */
7617
+ name?: string | null;
7618
+ /**
7619
+ * Description
7620
+ */
7621
+ description?: string | null;
7622
+ /**
7623
+ * Version
7624
+ */
7625
+ version?: string | null;
7626
+ };
7627
+
7628
+ /**
7629
+ * UpdateUserRequest
7630
+ *
7631
+ * Request model for updating user profile.
7632
+ */
7633
+ export type UpdateUserRequest = {
7634
+ /**
7635
+ * Name
7636
+ *
7637
+ * User's display name
7638
+ */
7639
+ name?: string | null;
7640
+ /**
7641
+ * Email
7642
+ *
7643
+ * User's email address
7644
+ */
7645
+ email?: string | null;
7646
+ };
7647
+
7648
+ /**
7649
+ * UpgradeSubscriptionRequest
7650
+ *
7651
+ * Request to upgrade a subscription.
7652
+ */
7653
+ export type UpgradeSubscriptionRequest = {
7654
+ /**
7655
+ * New Plan Name
7656
+ *
7657
+ * New plan name to change to
7658
+ */
7659
+ new_plan_name: string;
7660
+ };
7661
+
7662
+ /**
7663
+ * UpgradeTierOp
7664
+ *
7665
+ * Body for the upgrade-tier operation.
7666
+ */
7667
+ export type UpgradeTierOp = {
7668
+ /**
7669
+ * New Tier
7670
+ *
7671
+ * Target tier: ladybug-standard, ladybug-large, ladybug-xlarge
7672
+ */
7673
+ new_tier: string;
7674
+ };
7675
+
7276
7676
  /**
7277
7677
  * UserGraphsResponse
7278
7678
  *
@@ -7453,6 +7853,22 @@ export type ViewConfig = {
7453
7853
  fill_value?: number;
7454
7854
  };
7455
7855
 
7856
+ /**
7857
+ * Error envelope returned by extensions operation endpoints. Shape aligns with FastAPI's default error detail plus an optional `operation_id` for audit correlation.
7858
+ */
7859
+ export type OperationError = {
7860
+ /**
7861
+ * Human-readable error detail or structured payload
7862
+ */
7863
+ detail?: string | {
7864
+ [key: string]: unknown;
7865
+ };
7866
+ /**
7867
+ * op_-prefixed ULID if the dispatcher minted one before the failure (async ops, idempotency conflicts, etc.)
7868
+ */
7869
+ operation_id?: string;
7870
+ };
7871
+
7456
7872
  export type RegisterUserData = {
7457
7873
  body: RegisterRequest;
7458
7874
  path?: never;
@@ -9207,50 +9623,6 @@ export type ListBackupsResponses = {
9207
9623
 
9208
9624
  export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
9209
9625
 
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
9626
  export type GetBackupDownloadUrlData = {
9255
9627
  body?: never;
9256
9628
  path: {
@@ -9306,56 +9678,6 @@ export type GetBackupDownloadUrlResponses = {
9306
9678
 
9307
9679
  export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
9308
9680
 
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
9681
  export type GetBackupStatsData = {
9360
9682
  body?: never;
9361
9683
  path: {
@@ -10007,94 +10329,6 @@ export type ListSubgraphsResponses = {
10007
10329
 
10008
10330
  export type ListSubgraphsResponse2 = ListSubgraphsResponses[keyof ListSubgraphsResponses];
10009
10331
 
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
10332
  export type GetSubgraphInfoData = {
10099
10333
  body?: never;
10100
10334
  path: {
@@ -10110,7 +10344,7 @@ export type GetSubgraphInfoData = {
10110
10344
  subgraph_name: string;
10111
10345
  };
10112
10346
  query?: never;
10113
- url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}/info';
10347
+ url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}';
10114
10348
  };
10115
10349
 
10116
10350
  export type GetSubgraphInfoErrors = {
@@ -10677,8 +10911,14 @@ export type UploadDocumentsBulkResponses = {
10677
10911
 
10678
10912
  export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
10679
10913
 
10680
- export type GetMaterializationStatusData = {
10681
- body?: never;
10914
+ export type OpCreateSubgraphData = {
10915
+ body: CreateSubgraphRequest;
10916
+ headers?: {
10917
+ /**
10918
+ * Idempotency-Key
10919
+ */
10920
+ 'Idempotency-Key'?: string | null;
10921
+ };
10682
10922
  path: {
10683
10923
  /**
10684
10924
  * Graph Id
@@ -10686,41 +10926,63 @@ export type GetMaterializationStatusData = {
10686
10926
  graph_id: string;
10687
10927
  };
10688
10928
  query?: never;
10689
- url: '/v1/graphs/{graph_id}/materialize';
10929
+ url: '/v1/graphs/{graph_id}/operations/create-subgraph';
10690
10930
  };
10691
10931
 
10692
- export type GetMaterializationStatusErrors = {
10932
+ export type OpCreateSubgraphErrors = {
10693
10933
  /**
10694
- * Not authenticated
10934
+ * Invalid request payload
10935
+ */
10936
+ 400: OperationError;
10937
+ /**
10938
+ * Unauthorized — missing or invalid credentials
10695
10939
  */
10696
10940
  401: unknown;
10697
10941
  /**
10698
- * Access denied - insufficient permissions
10942
+ * Forbidden caller cannot access this graph
10699
10943
  */
10700
- 403: ErrorResponse;
10944
+ 403: unknown;
10701
10945
  /**
10702
- * Graph not found
10946
+ * Resource not found (graph, ledger, report, etc.)
10703
10947
  */
10704
- 404: ErrorResponse;
10948
+ 404: OperationError;
10949
+ /**
10950
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10951
+ */
10952
+ 409: OperationError;
10705
10953
  /**
10706
10954
  * Validation Error
10707
10955
  */
10708
10956
  422: HttpValidationError;
10957
+ /**
10958
+ * Rate limit exceeded
10959
+ */
10960
+ 429: unknown;
10961
+ /**
10962
+ * Internal error
10963
+ */
10964
+ 500: unknown;
10709
10965
  };
10710
10966
 
10711
- export type GetMaterializationStatusError = GetMaterializationStatusErrors[keyof GetMaterializationStatusErrors];
10967
+ export type OpCreateSubgraphError = OpCreateSubgraphErrors[keyof OpCreateSubgraphErrors];
10712
10968
 
10713
- export type GetMaterializationStatusResponses = {
10969
+ export type OpCreateSubgraphResponses = {
10714
10970
  /**
10715
- * Materialization status retrieved successfully
10971
+ * Successful Response
10716
10972
  */
10717
- 200: MaterializeStatusResponse;
10973
+ 200: OperationEnvelope;
10718
10974
  };
10719
10975
 
10720
- export type GetMaterializationStatusResponse = GetMaterializationStatusResponses[keyof GetMaterializationStatusResponses];
10976
+ export type OpCreateSubgraphResponse = OpCreateSubgraphResponses[keyof OpCreateSubgraphResponses];
10721
10977
 
10722
- export type MaterializeGraphData = {
10723
- body: MaterializeRequest;
10978
+ export type OpDeleteSubgraphData = {
10979
+ body: DeleteSubgraphOp;
10980
+ headers?: {
10981
+ /**
10982
+ * Idempotency-Key
10983
+ */
10984
+ 'Idempotency-Key'?: string | null;
10985
+ };
10724
10986
  path: {
10725
10987
  /**
10726
10988
  * Graph Id
@@ -10728,54 +10990,335 @@ export type MaterializeGraphData = {
10728
10990
  graph_id: string;
10729
10991
  };
10730
10992
  query?: never;
10731
- url: '/v1/graphs/{graph_id}/materialize';
10993
+ url: '/v1/graphs/{graph_id}/operations/delete-subgraph';
10732
10994
  };
10733
10995
 
10734
- export type MaterializeGraphErrors = {
10996
+ export type OpDeleteSubgraphErrors = {
10735
10997
  /**
10736
- * Graph not stale and force=false
10998
+ * Invalid request payload
10737
10999
  */
10738
- 400: ErrorResponse;
11000
+ 400: OperationError;
10739
11001
  /**
10740
- * Not authenticated
11002
+ * Unauthorized — missing or invalid credentials
10741
11003
  */
10742
11004
  401: unknown;
10743
11005
  /**
10744
- * Access denied - shared repositories or insufficient permissions
11006
+ * Forbidden caller cannot access this graph
10745
11007
  */
10746
- 403: ErrorResponse;
11008
+ 403: unknown;
10747
11009
  /**
10748
- * Graph not found
11010
+ * Resource not found (graph, ledger, report, etc.)
10749
11011
  */
10750
- 404: ErrorResponse;
11012
+ 404: OperationError;
10751
11013
  /**
10752
- * Conflict - another materialization is already in progress for this graph
11014
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10753
11015
  */
10754
- 409: ErrorResponse;
11016
+ 409: OperationError;
11017
+ /**
11018
+ * Validation Error
11019
+ */
11020
+ 422: HttpValidationError;
11021
+ /**
11022
+ * Rate limit exceeded
11023
+ */
11024
+ 429: unknown;
11025
+ /**
11026
+ * Internal error
11027
+ */
11028
+ 500: unknown;
11029
+ };
11030
+
11031
+ export type OpDeleteSubgraphError = OpDeleteSubgraphErrors[keyof OpDeleteSubgraphErrors];
11032
+
11033
+ export type OpDeleteSubgraphResponses = {
11034
+ /**
11035
+ * Successful Response
11036
+ */
11037
+ 200: OperationEnvelope;
11038
+ };
11039
+
11040
+ export type OpDeleteSubgraphResponse = OpDeleteSubgraphResponses[keyof OpDeleteSubgraphResponses];
11041
+
11042
+ export type OpCreateBackupData = {
11043
+ body: BackupCreateRequest;
11044
+ headers?: {
11045
+ /**
11046
+ * Idempotency-Key
11047
+ */
11048
+ 'Idempotency-Key'?: string | null;
11049
+ };
11050
+ path: {
11051
+ /**
11052
+ * Graph Id
11053
+ */
11054
+ graph_id: string;
11055
+ };
11056
+ query?: never;
11057
+ url: '/v1/graphs/{graph_id}/operations/create-backup';
11058
+ };
11059
+
11060
+ export type OpCreateBackupErrors = {
11061
+ /**
11062
+ * Invalid request payload
11063
+ */
11064
+ 400: OperationError;
11065
+ /**
11066
+ * Unauthorized — missing or invalid credentials
11067
+ */
11068
+ 401: unknown;
11069
+ /**
11070
+ * Forbidden — caller cannot access this graph
11071
+ */
11072
+ 403: unknown;
11073
+ /**
11074
+ * Resource not found (graph, ledger, report, etc.)
11075
+ */
11076
+ 404: OperationError;
10755
11077
  /**
10756
- * Graph content limit exceeded - data too large for current tier
11078
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10757
11079
  */
10758
- 413: ErrorResponse;
11080
+ 409: OperationError;
10759
11081
  /**
10760
11082
  * Validation Error
10761
11083
  */
10762
11084
  422: HttpValidationError;
10763
11085
  /**
10764
- * Internal server error
11086
+ * Rate limit exceeded
11087
+ */
11088
+ 429: unknown;
11089
+ /**
11090
+ * Internal error
11091
+ */
11092
+ 500: unknown;
11093
+ };
11094
+
11095
+ export type OpCreateBackupError = OpCreateBackupErrors[keyof OpCreateBackupErrors];
11096
+
11097
+ export type OpCreateBackupResponses = {
11098
+ /**
11099
+ * Successful Response
11100
+ */
11101
+ 202: OperationEnvelope;
11102
+ };
11103
+
11104
+ export type OpCreateBackupResponse = OpCreateBackupResponses[keyof OpCreateBackupResponses];
11105
+
11106
+ export type OpRestoreBackupData = {
11107
+ body: RestoreBackupOp;
11108
+ headers?: {
11109
+ /**
11110
+ * Idempotency-Key
11111
+ */
11112
+ 'Idempotency-Key'?: string | null;
11113
+ };
11114
+ path: {
11115
+ /**
11116
+ * Graph Id
11117
+ */
11118
+ graph_id: string;
11119
+ };
11120
+ query?: never;
11121
+ url: '/v1/graphs/{graph_id}/operations/restore-backup';
11122
+ };
11123
+
11124
+ export type OpRestoreBackupErrors = {
11125
+ /**
11126
+ * Invalid request payload
11127
+ */
11128
+ 400: OperationError;
11129
+ /**
11130
+ * Unauthorized — missing or invalid credentials
11131
+ */
11132
+ 401: unknown;
11133
+ /**
11134
+ * Forbidden — caller cannot access this graph
11135
+ */
11136
+ 403: unknown;
11137
+ /**
11138
+ * Resource not found (graph, ledger, report, etc.)
11139
+ */
11140
+ 404: OperationError;
11141
+ /**
11142
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11143
+ */
11144
+ 409: OperationError;
11145
+ /**
11146
+ * Validation Error
11147
+ */
11148
+ 422: HttpValidationError;
11149
+ /**
11150
+ * Rate limit exceeded
11151
+ */
11152
+ 429: unknown;
11153
+ /**
11154
+ * Internal error
11155
+ */
11156
+ 500: unknown;
11157
+ };
11158
+
11159
+ export type OpRestoreBackupError = OpRestoreBackupErrors[keyof OpRestoreBackupErrors];
11160
+
11161
+ export type OpRestoreBackupResponses = {
11162
+ /**
11163
+ * Successful Response
11164
+ */
11165
+ 202: OperationEnvelope;
11166
+ };
11167
+
11168
+ export type OpRestoreBackupResponse = OpRestoreBackupResponses[keyof OpRestoreBackupResponses];
11169
+
11170
+ export type OpUpgradeTierData = {
11171
+ body: UpgradeTierOp;
11172
+ headers?: {
11173
+ /**
11174
+ * Idempotency-Key
11175
+ */
11176
+ 'Idempotency-Key'?: string | null;
11177
+ };
11178
+ path: {
11179
+ /**
11180
+ * Graph Id
11181
+ */
11182
+ graph_id: string;
11183
+ };
11184
+ query?: never;
11185
+ url: '/v1/graphs/{graph_id}/operations/upgrade-tier';
11186
+ };
11187
+
11188
+ export type OpUpgradeTierErrors = {
11189
+ /**
11190
+ * Invalid request payload
11191
+ */
11192
+ 400: OperationError;
11193
+ /**
11194
+ * Unauthorized — missing or invalid credentials
11195
+ */
11196
+ 401: unknown;
11197
+ /**
11198
+ * Forbidden — caller cannot access this graph
11199
+ */
11200
+ 403: unknown;
11201
+ /**
11202
+ * Resource not found (graph, ledger, report, etc.)
11203
+ */
11204
+ 404: OperationError;
11205
+ /**
11206
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11207
+ */
11208
+ 409: OperationError;
11209
+ /**
11210
+ * Validation Error
11211
+ */
11212
+ 422: HttpValidationError;
11213
+ /**
11214
+ * Rate limit exceeded
11215
+ */
11216
+ 429: unknown;
11217
+ /**
11218
+ * Internal error
11219
+ */
11220
+ 500: unknown;
11221
+ };
11222
+
11223
+ export type OpUpgradeTierError = OpUpgradeTierErrors[keyof OpUpgradeTierErrors];
11224
+
11225
+ export type OpUpgradeTierResponses = {
11226
+ /**
11227
+ * Successful Response
11228
+ */
11229
+ 202: OperationEnvelope;
11230
+ };
11231
+
11232
+ export type OpUpgradeTierResponse = OpUpgradeTierResponses[keyof OpUpgradeTierResponses];
11233
+
11234
+ export type OpMaterializeData = {
11235
+ body?: never;
11236
+ headers?: {
11237
+ /**
11238
+ * Idempotency-Key
11239
+ */
11240
+ 'Idempotency-Key'?: string | null;
11241
+ };
11242
+ path: {
11243
+ /**
11244
+ * Graph Id
11245
+ */
11246
+ graph_id: string;
11247
+ };
11248
+ query?: {
11249
+ /**
11250
+ * Force
11251
+ */
11252
+ force?: boolean;
11253
+ /**
11254
+ * Rebuild
11255
+ */
11256
+ rebuild?: boolean;
11257
+ /**
11258
+ * Ignore Errors
11259
+ */
11260
+ ignore_errors?: boolean;
11261
+ /**
11262
+ * Dry Run
11263
+ */
11264
+ dry_run?: boolean;
11265
+ /**
11266
+ * Source
11267
+ */
11268
+ source?: string | null;
11269
+ /**
11270
+ * Materialize Embeddings
11271
+ */
11272
+ materialize_embeddings?: boolean;
11273
+ };
11274
+ url: '/v1/graphs/{graph_id}/operations/materialize';
11275
+ };
11276
+
11277
+ export type OpMaterializeErrors = {
11278
+ /**
11279
+ * Invalid request payload
11280
+ */
11281
+ 400: OperationError;
11282
+ /**
11283
+ * Unauthorized — missing or invalid credentials
11284
+ */
11285
+ 401: unknown;
11286
+ /**
11287
+ * Forbidden — caller cannot access this graph
11288
+ */
11289
+ 403: unknown;
11290
+ /**
11291
+ * Resource not found (graph, ledger, report, etc.)
11292
+ */
11293
+ 404: OperationError;
11294
+ /**
11295
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11296
+ */
11297
+ 409: OperationError;
11298
+ /**
11299
+ * Validation Error
11300
+ */
11301
+ 422: HttpValidationError;
11302
+ /**
11303
+ * Rate limit exceeded
11304
+ */
11305
+ 429: unknown;
11306
+ /**
11307
+ * Internal error
10765
11308
  */
10766
11309
  500: unknown;
10767
11310
  };
10768
11311
 
10769
- export type MaterializeGraphError = MaterializeGraphErrors[keyof MaterializeGraphErrors];
11312
+ export type OpMaterializeError = OpMaterializeErrors[keyof OpMaterializeErrors];
10770
11313
 
10771
- export type MaterializeGraphResponses = {
11314
+ export type OpMaterializeResponses = {
10772
11315
  /**
10773
- * Graph materialized successfully
11316
+ * Successful Response
10774
11317
  */
10775
- 200: MaterializeResponse;
11318
+ 202: OperationEnvelope;
10776
11319
  };
10777
11320
 
10778
- export type MaterializeGraphResponse = MaterializeGraphResponses[keyof MaterializeGraphResponses];
11321
+ export type OpMaterializeResponse = OpMaterializeResponses[keyof OpMaterializeResponses];
10779
11322
 
10780
11323
  export type ListFilesData = {
10781
11324
  body?: never;
@@ -11694,6 +12237,14 @@ export type HandleHttpGetExtensionsGraphIdGraphqlGetData = {
11694
12237
  };
11695
12238
 
11696
12239
  export type HandleHttpGetExtensionsGraphIdGraphqlGetErrors = {
12240
+ /**
12241
+ * Unauthorized — credentials presented but invalid
12242
+ */
12243
+ 401: unknown;
12244
+ /**
12245
+ * Forbidden — caller cannot access this graph
12246
+ */
12247
+ 403: unknown;
11697
12248
  /**
11698
12249
  * Not found if GraphiQL or query via GET are not enabled.
11699
12250
  */
@@ -11702,6 +12253,10 @@ export type HandleHttpGetExtensionsGraphIdGraphqlGetErrors = {
11702
12253
  * Validation Error
11703
12254
  */
11704
12255
  422: HttpValidationError;
12256
+ /**
12257
+ * Rate limit exceeded
12258
+ */
12259
+ 429: unknown;
11705
12260
  };
11706
12261
 
11707
12262
  export type HandleHttpGetExtensionsGraphIdGraphqlGetError = HandleHttpGetExtensionsGraphIdGraphqlGetErrors[keyof HandleHttpGetExtensionsGraphIdGraphqlGetErrors];
@@ -11726,10 +12281,22 @@ export type HandleHttpPostExtensionsGraphIdGraphqlPostData = {
11726
12281
  };
11727
12282
 
11728
12283
  export type HandleHttpPostExtensionsGraphIdGraphqlPostErrors = {
12284
+ /**
12285
+ * Unauthorized — credentials presented but invalid
12286
+ */
12287
+ 401: unknown;
12288
+ /**
12289
+ * Forbidden — caller cannot access this graph
12290
+ */
12291
+ 403: unknown;
11729
12292
  /**
11730
12293
  * Validation Error
11731
12294
  */
11732
12295
  422: HttpValidationError;
12296
+ /**
12297
+ * Rate limit exceeded
12298
+ */
12299
+ 429: unknown;
11733
12300
  };
11734
12301
 
11735
12302
  export type HandleHttpPostExtensionsGraphIdGraphqlPostError = HandleHttpPostExtensionsGraphIdGraphqlPostErrors[keyof HandleHttpPostExtensionsGraphIdGraphqlPostErrors];
@@ -11761,24 +12328,52 @@ export type OpUpdateEntityData = {
11761
12328
 
11762
12329
  export type OpUpdateEntityErrors = {
11763
12330
  /**
11764
- * Validation Error
12331
+ * Invalid request payload
11765
12332
  */
11766
- 422: HttpValidationError;
11767
- };
11768
-
11769
- export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
11770
-
11771
- export type OpUpdateEntityResponses = {
12333
+ 400: OperationError;
11772
12334
  /**
11773
- * Successful Response
12335
+ * Unauthorized — missing or invalid credentials
11774
12336
  */
11775
- 200: OperationEnvelope;
11776
- };
11777
-
11778
- export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
11779
-
11780
- export type OpInitializeLedgerData = {
11781
- body: InitializeLedgerRequest;
12337
+ 401: unknown;
12338
+ /**
12339
+ * Forbidden — caller cannot access this graph
12340
+ */
12341
+ 403: unknown;
12342
+ /**
12343
+ * Resource not found (graph, ledger, report, etc.)
12344
+ */
12345
+ 404: OperationError;
12346
+ /**
12347
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12348
+ */
12349
+ 409: OperationError;
12350
+ /**
12351
+ * Validation Error
12352
+ */
12353
+ 422: HttpValidationError;
12354
+ /**
12355
+ * Rate limit exceeded
12356
+ */
12357
+ 429: unknown;
12358
+ /**
12359
+ * Internal error
12360
+ */
12361
+ 500: unknown;
12362
+ };
12363
+
12364
+ export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
12365
+
12366
+ export type OpUpdateEntityResponses = {
12367
+ /**
12368
+ * Successful Response
12369
+ */
12370
+ 200: OperationEnvelope;
12371
+ };
12372
+
12373
+ export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
12374
+
12375
+ export type OpInitializeLedgerData = {
12376
+ body: InitializeLedgerRequest;
11782
12377
  headers?: {
11783
12378
  /**
11784
12379
  * Idempotency-Key
@@ -11796,10 +12391,38 @@ export type OpInitializeLedgerData = {
11796
12391
  };
11797
12392
 
11798
12393
  export type OpInitializeLedgerErrors = {
12394
+ /**
12395
+ * Invalid request payload
12396
+ */
12397
+ 400: OperationError;
12398
+ /**
12399
+ * Unauthorized — missing or invalid credentials
12400
+ */
12401
+ 401: unknown;
12402
+ /**
12403
+ * Forbidden — caller cannot access this graph
12404
+ */
12405
+ 403: unknown;
12406
+ /**
12407
+ * Resource not found (graph, ledger, report, etc.)
12408
+ */
12409
+ 404: OperationError;
12410
+ /**
12411
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12412
+ */
12413
+ 409: OperationError;
11799
12414
  /**
11800
12415
  * Validation Error
11801
12416
  */
11802
12417
  422: HttpValidationError;
12418
+ /**
12419
+ * Rate limit exceeded
12420
+ */
12421
+ 429: unknown;
12422
+ /**
12423
+ * Internal error
12424
+ */
12425
+ 500: unknown;
11803
12426
  };
11804
12427
 
11805
12428
  export type OpInitializeLedgerError = OpInitializeLedgerErrors[keyof OpInitializeLedgerErrors];
@@ -11832,10 +12455,38 @@ export type OpSetCloseTargetData = {
11832
12455
  };
11833
12456
 
11834
12457
  export type OpSetCloseTargetErrors = {
12458
+ /**
12459
+ * Invalid request payload
12460
+ */
12461
+ 400: OperationError;
12462
+ /**
12463
+ * Unauthorized — missing or invalid credentials
12464
+ */
12465
+ 401: unknown;
12466
+ /**
12467
+ * Forbidden — caller cannot access this graph
12468
+ */
12469
+ 403: unknown;
12470
+ /**
12471
+ * Resource not found (graph, ledger, report, etc.)
12472
+ */
12473
+ 404: OperationError;
12474
+ /**
12475
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12476
+ */
12477
+ 409: OperationError;
11835
12478
  /**
11836
12479
  * Validation Error
11837
12480
  */
11838
12481
  422: HttpValidationError;
12482
+ /**
12483
+ * Rate limit exceeded
12484
+ */
12485
+ 429: unknown;
12486
+ /**
12487
+ * Internal error
12488
+ */
12489
+ 500: unknown;
11839
12490
  };
11840
12491
 
11841
12492
  export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
@@ -11868,10 +12519,38 @@ export type OpClosePeriodData = {
11868
12519
  };
11869
12520
 
11870
12521
  export type OpClosePeriodErrors = {
12522
+ /**
12523
+ * Invalid request payload
12524
+ */
12525
+ 400: OperationError;
12526
+ /**
12527
+ * Unauthorized — missing or invalid credentials
12528
+ */
12529
+ 401: unknown;
12530
+ /**
12531
+ * Forbidden — caller cannot access this graph
12532
+ */
12533
+ 403: unknown;
12534
+ /**
12535
+ * Resource not found (graph, ledger, report, etc.)
12536
+ */
12537
+ 404: OperationError;
12538
+ /**
12539
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12540
+ */
12541
+ 409: OperationError;
11871
12542
  /**
11872
12543
  * Validation Error
11873
12544
  */
11874
12545
  422: HttpValidationError;
12546
+ /**
12547
+ * Rate limit exceeded
12548
+ */
12549
+ 429: unknown;
12550
+ /**
12551
+ * Internal error
12552
+ */
12553
+ 500: unknown;
11875
12554
  };
11876
12555
 
11877
12556
  export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
@@ -11904,10 +12583,38 @@ export type OpReopenPeriodData = {
11904
12583
  };
11905
12584
 
11906
12585
  export type OpReopenPeriodErrors = {
12586
+ /**
12587
+ * Invalid request payload
12588
+ */
12589
+ 400: OperationError;
12590
+ /**
12591
+ * Unauthorized — missing or invalid credentials
12592
+ */
12593
+ 401: unknown;
12594
+ /**
12595
+ * Forbidden — caller cannot access this graph
12596
+ */
12597
+ 403: unknown;
12598
+ /**
12599
+ * Resource not found (graph, ledger, report, etc.)
12600
+ */
12601
+ 404: OperationError;
12602
+ /**
12603
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12604
+ */
12605
+ 409: OperationError;
11907
12606
  /**
11908
12607
  * Validation Error
11909
12608
  */
11910
12609
  422: HttpValidationError;
12610
+ /**
12611
+ * Rate limit exceeded
12612
+ */
12613
+ 429: unknown;
12614
+ /**
12615
+ * Internal error
12616
+ */
12617
+ 500: unknown;
11911
12618
  };
11912
12619
 
11913
12620
  export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
@@ -11940,10 +12647,38 @@ export type OpCreateScheduleData = {
11940
12647
  };
11941
12648
 
11942
12649
  export type OpCreateScheduleErrors = {
12650
+ /**
12651
+ * Invalid request payload
12652
+ */
12653
+ 400: OperationError;
12654
+ /**
12655
+ * Unauthorized — missing or invalid credentials
12656
+ */
12657
+ 401: unknown;
12658
+ /**
12659
+ * Forbidden — caller cannot access this graph
12660
+ */
12661
+ 403: unknown;
12662
+ /**
12663
+ * Resource not found (graph, ledger, report, etc.)
12664
+ */
12665
+ 404: OperationError;
12666
+ /**
12667
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12668
+ */
12669
+ 409: OperationError;
11943
12670
  /**
11944
12671
  * Validation Error
11945
12672
  */
11946
12673
  422: HttpValidationError;
12674
+ /**
12675
+ * Rate limit exceeded
12676
+ */
12677
+ 429: unknown;
12678
+ /**
12679
+ * Internal error
12680
+ */
12681
+ 500: unknown;
11947
12682
  };
11948
12683
 
11949
12684
  export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
@@ -11976,10 +12711,38 @@ export type OpTruncateScheduleData = {
11976
12711
  };
11977
12712
 
11978
12713
  export type OpTruncateScheduleErrors = {
12714
+ /**
12715
+ * Invalid request payload
12716
+ */
12717
+ 400: OperationError;
12718
+ /**
12719
+ * Unauthorized — missing or invalid credentials
12720
+ */
12721
+ 401: unknown;
12722
+ /**
12723
+ * Forbidden — caller cannot access this graph
12724
+ */
12725
+ 403: unknown;
12726
+ /**
12727
+ * Resource not found (graph, ledger, report, etc.)
12728
+ */
12729
+ 404: OperationError;
12730
+ /**
12731
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12732
+ */
12733
+ 409: OperationError;
11979
12734
  /**
11980
12735
  * Validation Error
11981
12736
  */
11982
12737
  422: HttpValidationError;
12738
+ /**
12739
+ * Rate limit exceeded
12740
+ */
12741
+ 429: unknown;
12742
+ /**
12743
+ * Internal error
12744
+ */
12745
+ 500: unknown;
11983
12746
  };
11984
12747
 
11985
12748
  export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
@@ -12012,10 +12775,38 @@ export type OpCreateClosingEntryData = {
12012
12775
  };
12013
12776
 
12014
12777
  export type OpCreateClosingEntryErrors = {
12778
+ /**
12779
+ * Invalid request payload
12780
+ */
12781
+ 400: OperationError;
12782
+ /**
12783
+ * Unauthorized — missing or invalid credentials
12784
+ */
12785
+ 401: unknown;
12786
+ /**
12787
+ * Forbidden — caller cannot access this graph
12788
+ */
12789
+ 403: unknown;
12790
+ /**
12791
+ * Resource not found (graph, ledger, report, etc.)
12792
+ */
12793
+ 404: OperationError;
12794
+ /**
12795
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12796
+ */
12797
+ 409: OperationError;
12015
12798
  /**
12016
12799
  * Validation Error
12017
12800
  */
12018
12801
  422: HttpValidationError;
12802
+ /**
12803
+ * Rate limit exceeded
12804
+ */
12805
+ 429: unknown;
12806
+ /**
12807
+ * Internal error
12808
+ */
12809
+ 500: unknown;
12019
12810
  };
12020
12811
 
12021
12812
  export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
@@ -12048,10 +12839,38 @@ export type OpCreateManualClosingEntryData = {
12048
12839
  };
12049
12840
 
12050
12841
  export type OpCreateManualClosingEntryErrors = {
12842
+ /**
12843
+ * Invalid request payload
12844
+ */
12845
+ 400: OperationError;
12846
+ /**
12847
+ * Unauthorized — missing or invalid credentials
12848
+ */
12849
+ 401: unknown;
12850
+ /**
12851
+ * Forbidden — caller cannot access this graph
12852
+ */
12853
+ 403: unknown;
12854
+ /**
12855
+ * Resource not found (graph, ledger, report, etc.)
12856
+ */
12857
+ 404: OperationError;
12858
+ /**
12859
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12860
+ */
12861
+ 409: OperationError;
12051
12862
  /**
12052
12863
  * Validation Error
12053
12864
  */
12054
12865
  422: HttpValidationError;
12866
+ /**
12867
+ * Rate limit exceeded
12868
+ */
12869
+ 429: unknown;
12870
+ /**
12871
+ * Internal error
12872
+ */
12873
+ 500: unknown;
12055
12874
  };
12056
12875
 
12057
12876
  export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
@@ -12084,10 +12903,38 @@ export type OpCreateTaxonomyData = {
12084
12903
  };
12085
12904
 
12086
12905
  export type OpCreateTaxonomyErrors = {
12906
+ /**
12907
+ * Invalid request payload
12908
+ */
12909
+ 400: OperationError;
12910
+ /**
12911
+ * Unauthorized — missing or invalid credentials
12912
+ */
12913
+ 401: unknown;
12914
+ /**
12915
+ * Forbidden — caller cannot access this graph
12916
+ */
12917
+ 403: unknown;
12918
+ /**
12919
+ * Resource not found (graph, ledger, report, etc.)
12920
+ */
12921
+ 404: OperationError;
12922
+ /**
12923
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12924
+ */
12925
+ 409: OperationError;
12087
12926
  /**
12088
12927
  * Validation Error
12089
12928
  */
12090
12929
  422: HttpValidationError;
12930
+ /**
12931
+ * Rate limit exceeded
12932
+ */
12933
+ 429: unknown;
12934
+ /**
12935
+ * Internal error
12936
+ */
12937
+ 500: unknown;
12091
12938
  };
12092
12939
 
12093
12940
  export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
@@ -12120,10 +12967,38 @@ export type OpCreateStructureData = {
12120
12967
  };
12121
12968
 
12122
12969
  export type OpCreateStructureErrors = {
12970
+ /**
12971
+ * Invalid request payload
12972
+ */
12973
+ 400: OperationError;
12974
+ /**
12975
+ * Unauthorized — missing or invalid credentials
12976
+ */
12977
+ 401: unknown;
12978
+ /**
12979
+ * Forbidden — caller cannot access this graph
12980
+ */
12981
+ 403: unknown;
12982
+ /**
12983
+ * Resource not found (graph, ledger, report, etc.)
12984
+ */
12985
+ 404: OperationError;
12986
+ /**
12987
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12988
+ */
12989
+ 409: OperationError;
12123
12990
  /**
12124
12991
  * Validation Error
12125
12992
  */
12126
12993
  422: HttpValidationError;
12994
+ /**
12995
+ * Rate limit exceeded
12996
+ */
12997
+ 429: unknown;
12998
+ /**
12999
+ * Internal error
13000
+ */
13001
+ 500: unknown;
12127
13002
  };
12128
13003
 
12129
13004
  export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
@@ -12156,10 +13031,38 @@ export type OpCreateMappingAssociationData = {
12156
13031
  };
12157
13032
 
12158
13033
  export type OpCreateMappingAssociationErrors = {
13034
+ /**
13035
+ * Invalid request payload
13036
+ */
13037
+ 400: OperationError;
13038
+ /**
13039
+ * Unauthorized — missing or invalid credentials
13040
+ */
13041
+ 401: unknown;
13042
+ /**
13043
+ * Forbidden — caller cannot access this graph
13044
+ */
13045
+ 403: unknown;
13046
+ /**
13047
+ * Resource not found (graph, ledger, report, etc.)
13048
+ */
13049
+ 404: OperationError;
13050
+ /**
13051
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13052
+ */
13053
+ 409: OperationError;
12159
13054
  /**
12160
13055
  * Validation Error
12161
13056
  */
12162
13057
  422: HttpValidationError;
13058
+ /**
13059
+ * Rate limit exceeded
13060
+ */
13061
+ 429: unknown;
13062
+ /**
13063
+ * Internal error
13064
+ */
13065
+ 500: unknown;
12163
13066
  };
12164
13067
 
12165
13068
  export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
@@ -12193,21 +13096,1137 @@ export type OpDeleteMappingAssociationData = {
12193
13096
 
12194
13097
  export type OpDeleteMappingAssociationErrors = {
12195
13098
  /**
12196
- * Validation Error
13099
+ * Invalid request payload
13100
+ */
13101
+ 400: OperationError;
13102
+ /**
13103
+ * Unauthorized — missing or invalid credentials
13104
+ */
13105
+ 401: unknown;
13106
+ /**
13107
+ * Forbidden — caller cannot access this graph
13108
+ */
13109
+ 403: unknown;
13110
+ /**
13111
+ * Resource not found (graph, ledger, report, etc.)
13112
+ */
13113
+ 404: OperationError;
13114
+ /**
13115
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13116
+ */
13117
+ 409: OperationError;
13118
+ /**
13119
+ * Validation Error
13120
+ */
13121
+ 422: HttpValidationError;
13122
+ /**
13123
+ * Rate limit exceeded
13124
+ */
13125
+ 429: unknown;
13126
+ /**
13127
+ * Internal error
13128
+ */
13129
+ 500: unknown;
13130
+ };
13131
+
13132
+ export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
13133
+
13134
+ export type OpDeleteMappingAssociationResponses = {
13135
+ /**
13136
+ * Successful Response
13137
+ */
13138
+ 200: OperationEnvelope;
13139
+ };
13140
+
13141
+ export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
13142
+
13143
+ export type OpUpdateTaxonomyData = {
13144
+ body: UpdateTaxonomyRequest;
13145
+ headers?: {
13146
+ /**
13147
+ * Idempotency-Key
13148
+ */
13149
+ 'Idempotency-Key'?: string | null;
13150
+ };
13151
+ path: {
13152
+ /**
13153
+ * Graph Id
13154
+ */
13155
+ graph_id: string;
13156
+ };
13157
+ query?: never;
13158
+ url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
13159
+ };
13160
+
13161
+ export type OpUpdateTaxonomyErrors = {
13162
+ /**
13163
+ * Invalid request payload
13164
+ */
13165
+ 400: OperationError;
13166
+ /**
13167
+ * Unauthorized — missing or invalid credentials
13168
+ */
13169
+ 401: unknown;
13170
+ /**
13171
+ * Forbidden — caller cannot access this graph
13172
+ */
13173
+ 403: unknown;
13174
+ /**
13175
+ * Resource not found (graph, ledger, report, etc.)
13176
+ */
13177
+ 404: OperationError;
13178
+ /**
13179
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13180
+ */
13181
+ 409: OperationError;
13182
+ /**
13183
+ * Validation Error
13184
+ */
13185
+ 422: HttpValidationError;
13186
+ /**
13187
+ * Rate limit exceeded
13188
+ */
13189
+ 429: unknown;
13190
+ /**
13191
+ * Internal error
13192
+ */
13193
+ 500: unknown;
13194
+ };
13195
+
13196
+ export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
13197
+
13198
+ export type OpUpdateTaxonomyResponses = {
13199
+ /**
13200
+ * Successful Response
13201
+ */
13202
+ 200: OperationEnvelope;
13203
+ };
13204
+
13205
+ export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
13206
+
13207
+ export type OpDeleteTaxonomyData = {
13208
+ body: DeleteTaxonomyRequest;
13209
+ headers?: {
13210
+ /**
13211
+ * Idempotency-Key
13212
+ */
13213
+ 'Idempotency-Key'?: string | null;
13214
+ };
13215
+ path: {
13216
+ /**
13217
+ * Graph Id
13218
+ */
13219
+ graph_id: string;
13220
+ };
13221
+ query?: never;
13222
+ url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
13223
+ };
13224
+
13225
+ export type OpDeleteTaxonomyErrors = {
13226
+ /**
13227
+ * Invalid request payload
13228
+ */
13229
+ 400: OperationError;
13230
+ /**
13231
+ * Unauthorized — missing or invalid credentials
13232
+ */
13233
+ 401: unknown;
13234
+ /**
13235
+ * Forbidden — caller cannot access this graph
13236
+ */
13237
+ 403: unknown;
13238
+ /**
13239
+ * Resource not found (graph, ledger, report, etc.)
13240
+ */
13241
+ 404: OperationError;
13242
+ /**
13243
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13244
+ */
13245
+ 409: OperationError;
13246
+ /**
13247
+ * Validation Error
13248
+ */
13249
+ 422: HttpValidationError;
13250
+ /**
13251
+ * Rate limit exceeded
13252
+ */
13253
+ 429: unknown;
13254
+ /**
13255
+ * Internal error
13256
+ */
13257
+ 500: unknown;
13258
+ };
13259
+
13260
+ export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
13261
+
13262
+ export type OpDeleteTaxonomyResponses = {
13263
+ /**
13264
+ * Successful Response
13265
+ */
13266
+ 200: OperationEnvelope;
13267
+ };
13268
+
13269
+ export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
13270
+
13271
+ export type OpLinkEntityTaxonomyData = {
13272
+ body: LinkEntityTaxonomyRequest;
13273
+ headers?: {
13274
+ /**
13275
+ * Idempotency-Key
13276
+ */
13277
+ 'Idempotency-Key'?: string | null;
13278
+ };
13279
+ path: {
13280
+ /**
13281
+ * Graph Id
13282
+ */
13283
+ graph_id: string;
13284
+ };
13285
+ query?: never;
13286
+ url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
13287
+ };
13288
+
13289
+ export type OpLinkEntityTaxonomyErrors = {
13290
+ /**
13291
+ * Invalid request payload
13292
+ */
13293
+ 400: OperationError;
13294
+ /**
13295
+ * Unauthorized — missing or invalid credentials
13296
+ */
13297
+ 401: unknown;
13298
+ /**
13299
+ * Forbidden — caller cannot access this graph
13300
+ */
13301
+ 403: unknown;
13302
+ /**
13303
+ * Resource not found (graph, ledger, report, etc.)
13304
+ */
13305
+ 404: OperationError;
13306
+ /**
13307
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13308
+ */
13309
+ 409: OperationError;
13310
+ /**
13311
+ * Validation Error
13312
+ */
13313
+ 422: HttpValidationError;
13314
+ /**
13315
+ * Rate limit exceeded
13316
+ */
13317
+ 429: unknown;
13318
+ /**
13319
+ * Internal error
13320
+ */
13321
+ 500: unknown;
13322
+ };
13323
+
13324
+ export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
13325
+
13326
+ export type OpLinkEntityTaxonomyResponses = {
13327
+ /**
13328
+ * Successful Response
13329
+ */
13330
+ 200: OperationEnvelope;
13331
+ };
13332
+
13333
+ export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
13334
+
13335
+ export type OpUpdateStructureData = {
13336
+ body: UpdateStructureRequest;
13337
+ headers?: {
13338
+ /**
13339
+ * Idempotency-Key
13340
+ */
13341
+ 'Idempotency-Key'?: string | null;
13342
+ };
13343
+ path: {
13344
+ /**
13345
+ * Graph Id
13346
+ */
13347
+ graph_id: string;
13348
+ };
13349
+ query?: never;
13350
+ url: '/extensions/roboledger/{graph_id}/operations/update-structure';
13351
+ };
13352
+
13353
+ export type OpUpdateStructureErrors = {
13354
+ /**
13355
+ * Invalid request payload
13356
+ */
13357
+ 400: OperationError;
13358
+ /**
13359
+ * Unauthorized — missing or invalid credentials
13360
+ */
13361
+ 401: unknown;
13362
+ /**
13363
+ * Forbidden — caller cannot access this graph
13364
+ */
13365
+ 403: unknown;
13366
+ /**
13367
+ * Resource not found (graph, ledger, report, etc.)
13368
+ */
13369
+ 404: OperationError;
13370
+ /**
13371
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13372
+ */
13373
+ 409: OperationError;
13374
+ /**
13375
+ * Validation Error
13376
+ */
13377
+ 422: HttpValidationError;
13378
+ /**
13379
+ * Rate limit exceeded
13380
+ */
13381
+ 429: unknown;
13382
+ /**
13383
+ * Internal error
13384
+ */
13385
+ 500: unknown;
13386
+ };
13387
+
13388
+ export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
13389
+
13390
+ export type OpUpdateStructureResponses = {
13391
+ /**
13392
+ * Successful Response
13393
+ */
13394
+ 200: OperationEnvelope;
13395
+ };
13396
+
13397
+ export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
13398
+
13399
+ export type OpDeleteStructureData = {
13400
+ body: DeleteStructureRequest;
13401
+ headers?: {
13402
+ /**
13403
+ * Idempotency-Key
13404
+ */
13405
+ 'Idempotency-Key'?: string | null;
13406
+ };
13407
+ path: {
13408
+ /**
13409
+ * Graph Id
13410
+ */
13411
+ graph_id: string;
13412
+ };
13413
+ query?: never;
13414
+ url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
13415
+ };
13416
+
13417
+ export type OpDeleteStructureErrors = {
13418
+ /**
13419
+ * Invalid request payload
13420
+ */
13421
+ 400: OperationError;
13422
+ /**
13423
+ * Unauthorized — missing or invalid credentials
13424
+ */
13425
+ 401: unknown;
13426
+ /**
13427
+ * Forbidden — caller cannot access this graph
13428
+ */
13429
+ 403: unknown;
13430
+ /**
13431
+ * Resource not found (graph, ledger, report, etc.)
13432
+ */
13433
+ 404: OperationError;
13434
+ /**
13435
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13436
+ */
13437
+ 409: OperationError;
13438
+ /**
13439
+ * Validation Error
13440
+ */
13441
+ 422: HttpValidationError;
13442
+ /**
13443
+ * Rate limit exceeded
13444
+ */
13445
+ 429: unknown;
13446
+ /**
13447
+ * Internal error
13448
+ */
13449
+ 500: unknown;
13450
+ };
13451
+
13452
+ export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
13453
+
13454
+ export type OpDeleteStructureResponses = {
13455
+ /**
13456
+ * Successful Response
13457
+ */
13458
+ 200: OperationEnvelope;
13459
+ };
13460
+
13461
+ export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
13462
+
13463
+ export type OpCreateElementData = {
13464
+ body: CreateElementRequest;
13465
+ headers?: {
13466
+ /**
13467
+ * Idempotency-Key
13468
+ */
13469
+ 'Idempotency-Key'?: string | null;
13470
+ };
13471
+ path: {
13472
+ /**
13473
+ * Graph Id
13474
+ */
13475
+ graph_id: string;
13476
+ };
13477
+ query?: never;
13478
+ url: '/extensions/roboledger/{graph_id}/operations/create-element';
13479
+ };
13480
+
13481
+ export type OpCreateElementErrors = {
13482
+ /**
13483
+ * Invalid request payload
13484
+ */
13485
+ 400: OperationError;
13486
+ /**
13487
+ * Unauthorized — missing or invalid credentials
13488
+ */
13489
+ 401: unknown;
13490
+ /**
13491
+ * Forbidden — caller cannot access this graph
13492
+ */
13493
+ 403: unknown;
13494
+ /**
13495
+ * Resource not found (graph, ledger, report, etc.)
13496
+ */
13497
+ 404: OperationError;
13498
+ /**
13499
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13500
+ */
13501
+ 409: OperationError;
13502
+ /**
13503
+ * Validation Error
13504
+ */
13505
+ 422: HttpValidationError;
13506
+ /**
13507
+ * Rate limit exceeded
13508
+ */
13509
+ 429: unknown;
13510
+ /**
13511
+ * Internal error
13512
+ */
13513
+ 500: unknown;
13514
+ };
13515
+
13516
+ export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
13517
+
13518
+ export type OpCreateElementResponses = {
13519
+ /**
13520
+ * Successful Response
13521
+ */
13522
+ 200: OperationEnvelope;
13523
+ };
13524
+
13525
+ export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
13526
+
13527
+ export type OpUpdateElementData = {
13528
+ body: UpdateElementRequest;
13529
+ headers?: {
13530
+ /**
13531
+ * Idempotency-Key
13532
+ */
13533
+ 'Idempotency-Key'?: string | null;
13534
+ };
13535
+ path: {
13536
+ /**
13537
+ * Graph Id
13538
+ */
13539
+ graph_id: string;
13540
+ };
13541
+ query?: never;
13542
+ url: '/extensions/roboledger/{graph_id}/operations/update-element';
13543
+ };
13544
+
13545
+ export type OpUpdateElementErrors = {
13546
+ /**
13547
+ * Invalid request payload
13548
+ */
13549
+ 400: OperationError;
13550
+ /**
13551
+ * Unauthorized — missing or invalid credentials
13552
+ */
13553
+ 401: unknown;
13554
+ /**
13555
+ * Forbidden — caller cannot access this graph
13556
+ */
13557
+ 403: unknown;
13558
+ /**
13559
+ * Resource not found (graph, ledger, report, etc.)
13560
+ */
13561
+ 404: OperationError;
13562
+ /**
13563
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13564
+ */
13565
+ 409: OperationError;
13566
+ /**
13567
+ * Validation Error
13568
+ */
13569
+ 422: HttpValidationError;
13570
+ /**
13571
+ * Rate limit exceeded
13572
+ */
13573
+ 429: unknown;
13574
+ /**
13575
+ * Internal error
13576
+ */
13577
+ 500: unknown;
13578
+ };
13579
+
13580
+ export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
13581
+
13582
+ export type OpUpdateElementResponses = {
13583
+ /**
13584
+ * Successful Response
13585
+ */
13586
+ 200: OperationEnvelope;
13587
+ };
13588
+
13589
+ export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
13590
+
13591
+ export type OpDeleteElementData = {
13592
+ body: DeleteElementRequest;
13593
+ headers?: {
13594
+ /**
13595
+ * Idempotency-Key
13596
+ */
13597
+ 'Idempotency-Key'?: string | null;
13598
+ };
13599
+ path: {
13600
+ /**
13601
+ * Graph Id
13602
+ */
13603
+ graph_id: string;
13604
+ };
13605
+ query?: never;
13606
+ url: '/extensions/roboledger/{graph_id}/operations/delete-element';
13607
+ };
13608
+
13609
+ export type OpDeleteElementErrors = {
13610
+ /**
13611
+ * Invalid request payload
13612
+ */
13613
+ 400: OperationError;
13614
+ /**
13615
+ * Unauthorized — missing or invalid credentials
13616
+ */
13617
+ 401: unknown;
13618
+ /**
13619
+ * Forbidden — caller cannot access this graph
13620
+ */
13621
+ 403: unknown;
13622
+ /**
13623
+ * Resource not found (graph, ledger, report, etc.)
13624
+ */
13625
+ 404: OperationError;
13626
+ /**
13627
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13628
+ */
13629
+ 409: OperationError;
13630
+ /**
13631
+ * Validation Error
13632
+ */
13633
+ 422: HttpValidationError;
13634
+ /**
13635
+ * Rate limit exceeded
13636
+ */
13637
+ 429: unknown;
13638
+ /**
13639
+ * Internal error
13640
+ */
13641
+ 500: unknown;
13642
+ };
13643
+
13644
+ export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
13645
+
13646
+ export type OpDeleteElementResponses = {
13647
+ /**
13648
+ * Successful Response
13649
+ */
13650
+ 200: OperationEnvelope;
13651
+ };
13652
+
13653
+ export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
13654
+
13655
+ export type OpCreateAssociationsData = {
13656
+ body: BulkCreateAssociationsRequest;
13657
+ headers?: {
13658
+ /**
13659
+ * Idempotency-Key
13660
+ */
13661
+ 'Idempotency-Key'?: string | null;
13662
+ };
13663
+ path: {
13664
+ /**
13665
+ * Graph Id
13666
+ */
13667
+ graph_id: string;
13668
+ };
13669
+ query?: never;
13670
+ url: '/extensions/roboledger/{graph_id}/operations/create-associations';
13671
+ };
13672
+
13673
+ export type OpCreateAssociationsErrors = {
13674
+ /**
13675
+ * Invalid request payload
13676
+ */
13677
+ 400: OperationError;
13678
+ /**
13679
+ * Unauthorized — missing or invalid credentials
13680
+ */
13681
+ 401: unknown;
13682
+ /**
13683
+ * Forbidden — caller cannot access this graph
13684
+ */
13685
+ 403: unknown;
13686
+ /**
13687
+ * Resource not found (graph, ledger, report, etc.)
13688
+ */
13689
+ 404: OperationError;
13690
+ /**
13691
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13692
+ */
13693
+ 409: OperationError;
13694
+ /**
13695
+ * Validation Error
13696
+ */
13697
+ 422: HttpValidationError;
13698
+ /**
13699
+ * Rate limit exceeded
13700
+ */
13701
+ 429: unknown;
13702
+ /**
13703
+ * Internal error
13704
+ */
13705
+ 500: unknown;
13706
+ };
13707
+
13708
+ export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
13709
+
13710
+ export type OpCreateAssociationsResponses = {
13711
+ /**
13712
+ * Successful Response
13713
+ */
13714
+ 200: OperationEnvelope;
13715
+ };
13716
+
13717
+ export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
13718
+
13719
+ export type OpUpdateAssociationData = {
13720
+ body: UpdateAssociationRequest;
13721
+ headers?: {
13722
+ /**
13723
+ * Idempotency-Key
13724
+ */
13725
+ 'Idempotency-Key'?: string | null;
13726
+ };
13727
+ path: {
13728
+ /**
13729
+ * Graph Id
13730
+ */
13731
+ graph_id: string;
13732
+ };
13733
+ query?: never;
13734
+ url: '/extensions/roboledger/{graph_id}/operations/update-association';
13735
+ };
13736
+
13737
+ export type OpUpdateAssociationErrors = {
13738
+ /**
13739
+ * Invalid request payload
13740
+ */
13741
+ 400: OperationError;
13742
+ /**
13743
+ * Unauthorized — missing or invalid credentials
13744
+ */
13745
+ 401: unknown;
13746
+ /**
13747
+ * Forbidden — caller cannot access this graph
13748
+ */
13749
+ 403: unknown;
13750
+ /**
13751
+ * Resource not found (graph, ledger, report, etc.)
13752
+ */
13753
+ 404: OperationError;
13754
+ /**
13755
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13756
+ */
13757
+ 409: OperationError;
13758
+ /**
13759
+ * Validation Error
13760
+ */
13761
+ 422: HttpValidationError;
13762
+ /**
13763
+ * Rate limit exceeded
13764
+ */
13765
+ 429: unknown;
13766
+ /**
13767
+ * Internal error
13768
+ */
13769
+ 500: unknown;
13770
+ };
13771
+
13772
+ export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
13773
+
13774
+ export type OpUpdateAssociationResponses = {
13775
+ /**
13776
+ * Successful Response
13777
+ */
13778
+ 200: OperationEnvelope;
13779
+ };
13780
+
13781
+ export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
13782
+
13783
+ export type OpDeleteAssociationData = {
13784
+ body: DeleteAssociationRequest;
13785
+ headers?: {
13786
+ /**
13787
+ * Idempotency-Key
13788
+ */
13789
+ 'Idempotency-Key'?: string | null;
13790
+ };
13791
+ path: {
13792
+ /**
13793
+ * Graph Id
13794
+ */
13795
+ graph_id: string;
13796
+ };
13797
+ query?: never;
13798
+ url: '/extensions/roboledger/{graph_id}/operations/delete-association';
13799
+ };
13800
+
13801
+ export type OpDeleteAssociationErrors = {
13802
+ /**
13803
+ * Invalid request payload
13804
+ */
13805
+ 400: OperationError;
13806
+ /**
13807
+ * Unauthorized — missing or invalid credentials
13808
+ */
13809
+ 401: unknown;
13810
+ /**
13811
+ * Forbidden — caller cannot access this graph
13812
+ */
13813
+ 403: unknown;
13814
+ /**
13815
+ * Resource not found (graph, ledger, report, etc.)
13816
+ */
13817
+ 404: OperationError;
13818
+ /**
13819
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13820
+ */
13821
+ 409: OperationError;
13822
+ /**
13823
+ * Validation Error
13824
+ */
13825
+ 422: HttpValidationError;
13826
+ /**
13827
+ * Rate limit exceeded
13828
+ */
13829
+ 429: unknown;
13830
+ /**
13831
+ * Internal error
13832
+ */
13833
+ 500: unknown;
13834
+ };
13835
+
13836
+ export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
13837
+
13838
+ export type OpDeleteAssociationResponses = {
13839
+ /**
13840
+ * Successful Response
13841
+ */
13842
+ 200: OperationEnvelope;
13843
+ };
13844
+
13845
+ export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
13846
+
13847
+ export type OpCreateJournalEntryData = {
13848
+ body: CreateJournalEntryRequest;
13849
+ headers?: {
13850
+ /**
13851
+ * Idempotency-Key
13852
+ */
13853
+ 'Idempotency-Key'?: string | null;
13854
+ };
13855
+ path: {
13856
+ /**
13857
+ * Graph Id
13858
+ */
13859
+ graph_id: string;
13860
+ };
13861
+ query?: never;
13862
+ url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
13863
+ };
13864
+
13865
+ export type OpCreateJournalEntryErrors = {
13866
+ /**
13867
+ * Invalid request payload
13868
+ */
13869
+ 400: OperationError;
13870
+ /**
13871
+ * Unauthorized — missing or invalid credentials
13872
+ */
13873
+ 401: unknown;
13874
+ /**
13875
+ * Forbidden — caller cannot access this graph
13876
+ */
13877
+ 403: unknown;
13878
+ /**
13879
+ * Resource not found (graph, ledger, report, etc.)
13880
+ */
13881
+ 404: OperationError;
13882
+ /**
13883
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13884
+ */
13885
+ 409: OperationError;
13886
+ /**
13887
+ * Validation Error
13888
+ */
13889
+ 422: HttpValidationError;
13890
+ /**
13891
+ * Rate limit exceeded
13892
+ */
13893
+ 429: unknown;
13894
+ /**
13895
+ * Internal error
13896
+ */
13897
+ 500: unknown;
13898
+ };
13899
+
13900
+ export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
13901
+
13902
+ export type OpCreateJournalEntryResponses = {
13903
+ /**
13904
+ * Successful Response
13905
+ */
13906
+ 200: OperationEnvelope;
13907
+ };
13908
+
13909
+ export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
13910
+
13911
+ export type OpUpdateJournalEntryData = {
13912
+ body: UpdateJournalEntryRequest;
13913
+ headers?: {
13914
+ /**
13915
+ * Idempotency-Key
13916
+ */
13917
+ 'Idempotency-Key'?: string | null;
13918
+ };
13919
+ path: {
13920
+ /**
13921
+ * Graph Id
13922
+ */
13923
+ graph_id: string;
13924
+ };
13925
+ query?: never;
13926
+ url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
13927
+ };
13928
+
13929
+ export type OpUpdateJournalEntryErrors = {
13930
+ /**
13931
+ * Invalid request payload
13932
+ */
13933
+ 400: OperationError;
13934
+ /**
13935
+ * Unauthorized — missing or invalid credentials
13936
+ */
13937
+ 401: unknown;
13938
+ /**
13939
+ * Forbidden — caller cannot access this graph
13940
+ */
13941
+ 403: unknown;
13942
+ /**
13943
+ * Resource not found (graph, ledger, report, etc.)
13944
+ */
13945
+ 404: OperationError;
13946
+ /**
13947
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13948
+ */
13949
+ 409: OperationError;
13950
+ /**
13951
+ * Validation Error
13952
+ */
13953
+ 422: HttpValidationError;
13954
+ /**
13955
+ * Rate limit exceeded
13956
+ */
13957
+ 429: unknown;
13958
+ /**
13959
+ * Internal error
13960
+ */
13961
+ 500: unknown;
13962
+ };
13963
+
13964
+ export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
13965
+
13966
+ export type OpUpdateJournalEntryResponses = {
13967
+ /**
13968
+ * Successful Response
13969
+ */
13970
+ 200: OperationEnvelope;
13971
+ };
13972
+
13973
+ export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
13974
+
13975
+ export type OpDeleteJournalEntryData = {
13976
+ body: DeleteJournalEntryRequest;
13977
+ headers?: {
13978
+ /**
13979
+ * Idempotency-Key
13980
+ */
13981
+ 'Idempotency-Key'?: string | null;
13982
+ };
13983
+ path: {
13984
+ /**
13985
+ * Graph Id
13986
+ */
13987
+ graph_id: string;
13988
+ };
13989
+ query?: never;
13990
+ url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
13991
+ };
13992
+
13993
+ export type OpDeleteJournalEntryErrors = {
13994
+ /**
13995
+ * Invalid request payload
13996
+ */
13997
+ 400: OperationError;
13998
+ /**
13999
+ * Unauthorized — missing or invalid credentials
14000
+ */
14001
+ 401: unknown;
14002
+ /**
14003
+ * Forbidden — caller cannot access this graph
14004
+ */
14005
+ 403: unknown;
14006
+ /**
14007
+ * Resource not found (graph, ledger, report, etc.)
14008
+ */
14009
+ 404: OperationError;
14010
+ /**
14011
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14012
+ */
14013
+ 409: OperationError;
14014
+ /**
14015
+ * Validation Error
14016
+ */
14017
+ 422: HttpValidationError;
14018
+ /**
14019
+ * Rate limit exceeded
14020
+ */
14021
+ 429: unknown;
14022
+ /**
14023
+ * Internal error
14024
+ */
14025
+ 500: unknown;
14026
+ };
14027
+
14028
+ export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
14029
+
14030
+ export type OpDeleteJournalEntryResponses = {
14031
+ /**
14032
+ * Successful Response
14033
+ */
14034
+ 200: OperationEnvelope;
14035
+ };
14036
+
14037
+ export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
14038
+
14039
+ export type OpReverseJournalEntryData = {
14040
+ body: ReverseJournalEntryRequest;
14041
+ headers?: {
14042
+ /**
14043
+ * Idempotency-Key
14044
+ */
14045
+ 'Idempotency-Key'?: string | null;
14046
+ };
14047
+ path: {
14048
+ /**
14049
+ * Graph Id
14050
+ */
14051
+ graph_id: string;
14052
+ };
14053
+ query?: never;
14054
+ url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
14055
+ };
14056
+
14057
+ export type OpReverseJournalEntryErrors = {
14058
+ /**
14059
+ * Invalid request payload
14060
+ */
14061
+ 400: OperationError;
14062
+ /**
14063
+ * Unauthorized — missing or invalid credentials
14064
+ */
14065
+ 401: unknown;
14066
+ /**
14067
+ * Forbidden — caller cannot access this graph
14068
+ */
14069
+ 403: unknown;
14070
+ /**
14071
+ * Resource not found (graph, ledger, report, etc.)
14072
+ */
14073
+ 404: OperationError;
14074
+ /**
14075
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14076
+ */
14077
+ 409: OperationError;
14078
+ /**
14079
+ * Validation Error
12197
14080
  */
12198
14081
  422: HttpValidationError;
14082
+ /**
14083
+ * Rate limit exceeded
14084
+ */
14085
+ 429: unknown;
14086
+ /**
14087
+ * Internal error
14088
+ */
14089
+ 500: unknown;
12199
14090
  };
12200
14091
 
12201
- export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
14092
+ export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
12202
14093
 
12203
- export type OpDeleteMappingAssociationResponses = {
14094
+ export type OpReverseJournalEntryResponses = {
12204
14095
  /**
12205
14096
  * Successful Response
12206
14097
  */
12207
14098
  200: OperationEnvelope;
12208
14099
  };
12209
14100
 
12210
- export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
14101
+ export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
14102
+
14103
+ export type OpUpdateScheduleData = {
14104
+ body: UpdateScheduleRequest;
14105
+ headers?: {
14106
+ /**
14107
+ * Idempotency-Key
14108
+ */
14109
+ 'Idempotency-Key'?: string | null;
14110
+ };
14111
+ path: {
14112
+ /**
14113
+ * Graph Id
14114
+ */
14115
+ graph_id: string;
14116
+ };
14117
+ query?: never;
14118
+ url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
14119
+ };
14120
+
14121
+ export type OpUpdateScheduleErrors = {
14122
+ /**
14123
+ * Invalid request payload
14124
+ */
14125
+ 400: OperationError;
14126
+ /**
14127
+ * Unauthorized — missing or invalid credentials
14128
+ */
14129
+ 401: unknown;
14130
+ /**
14131
+ * Forbidden — caller cannot access this graph
14132
+ */
14133
+ 403: unknown;
14134
+ /**
14135
+ * Resource not found (graph, ledger, report, etc.)
14136
+ */
14137
+ 404: OperationError;
14138
+ /**
14139
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14140
+ */
14141
+ 409: OperationError;
14142
+ /**
14143
+ * Validation Error
14144
+ */
14145
+ 422: HttpValidationError;
14146
+ /**
14147
+ * Rate limit exceeded
14148
+ */
14149
+ 429: unknown;
14150
+ /**
14151
+ * Internal error
14152
+ */
14153
+ 500: unknown;
14154
+ };
14155
+
14156
+ export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
14157
+
14158
+ export type OpUpdateScheduleResponses = {
14159
+ /**
14160
+ * Successful Response
14161
+ */
14162
+ 200: OperationEnvelope;
14163
+ };
14164
+
14165
+ export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
14166
+
14167
+ export type OpDeleteScheduleData = {
14168
+ body: DeleteScheduleRequest;
14169
+ headers?: {
14170
+ /**
14171
+ * Idempotency-Key
14172
+ */
14173
+ 'Idempotency-Key'?: string | null;
14174
+ };
14175
+ path: {
14176
+ /**
14177
+ * Graph Id
14178
+ */
14179
+ graph_id: string;
14180
+ };
14181
+ query?: never;
14182
+ url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
14183
+ };
14184
+
14185
+ export type OpDeleteScheduleErrors = {
14186
+ /**
14187
+ * Invalid request payload
14188
+ */
14189
+ 400: OperationError;
14190
+ /**
14191
+ * Unauthorized — missing or invalid credentials
14192
+ */
14193
+ 401: unknown;
14194
+ /**
14195
+ * Forbidden — caller cannot access this graph
14196
+ */
14197
+ 403: unknown;
14198
+ /**
14199
+ * Resource not found (graph, ledger, report, etc.)
14200
+ */
14201
+ 404: OperationError;
14202
+ /**
14203
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14204
+ */
14205
+ 409: OperationError;
14206
+ /**
14207
+ * Validation Error
14208
+ */
14209
+ 422: HttpValidationError;
14210
+ /**
14211
+ * Rate limit exceeded
14212
+ */
14213
+ 429: unknown;
14214
+ /**
14215
+ * Internal error
14216
+ */
14217
+ 500: unknown;
14218
+ };
14219
+
14220
+ export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
14221
+
14222
+ export type OpDeleteScheduleResponses = {
14223
+ /**
14224
+ * Successful Response
14225
+ */
14226
+ 200: OperationEnvelope;
14227
+ };
14228
+
14229
+ export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
12211
14230
 
12212
14231
  export type OpAutoMapElementsData = {
12213
14232
  body: AutoMapElementsOperation;
@@ -12228,10 +14247,38 @@ export type OpAutoMapElementsData = {
12228
14247
  };
12229
14248
 
12230
14249
  export type OpAutoMapElementsErrors = {
14250
+ /**
14251
+ * Invalid request payload
14252
+ */
14253
+ 400: OperationError;
14254
+ /**
14255
+ * Unauthorized — missing or invalid credentials
14256
+ */
14257
+ 401: unknown;
14258
+ /**
14259
+ * Forbidden — caller cannot access this graph
14260
+ */
14261
+ 403: unknown;
14262
+ /**
14263
+ * Resource not found (graph, ledger, report, etc.)
14264
+ */
14265
+ 404: OperationError;
14266
+ /**
14267
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14268
+ */
14269
+ 409: OperationError;
12231
14270
  /**
12232
14271
  * Validation Error
12233
14272
  */
12234
14273
  422: HttpValidationError;
14274
+ /**
14275
+ * Rate limit exceeded
14276
+ */
14277
+ 429: unknown;
14278
+ /**
14279
+ * Internal error
14280
+ */
14281
+ 500: unknown;
12235
14282
  };
12236
14283
 
12237
14284
  export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
@@ -12264,10 +14311,38 @@ export type OpCreateReportData = {
12264
14311
  };
12265
14312
 
12266
14313
  export type OpCreateReportErrors = {
14314
+ /**
14315
+ * Invalid request payload
14316
+ */
14317
+ 400: OperationError;
14318
+ /**
14319
+ * Unauthorized — missing or invalid credentials
14320
+ */
14321
+ 401: unknown;
14322
+ /**
14323
+ * Forbidden — caller cannot access this graph
14324
+ */
14325
+ 403: unknown;
14326
+ /**
14327
+ * Resource not found (graph, ledger, report, etc.)
14328
+ */
14329
+ 404: OperationError;
14330
+ /**
14331
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14332
+ */
14333
+ 409: OperationError;
12267
14334
  /**
12268
14335
  * Validation Error
12269
14336
  */
12270
14337
  422: HttpValidationError;
14338
+ /**
14339
+ * Rate limit exceeded
14340
+ */
14341
+ 429: unknown;
14342
+ /**
14343
+ * Internal error
14344
+ */
14345
+ 500: unknown;
12271
14346
  };
12272
14347
 
12273
14348
  export type OpCreateReportError = OpCreateReportErrors[keyof OpCreateReportErrors];
@@ -12300,10 +14375,38 @@ export type OpRegenerateReportData = {
12300
14375
  };
12301
14376
 
12302
14377
  export type OpRegenerateReportErrors = {
14378
+ /**
14379
+ * Invalid request payload
14380
+ */
14381
+ 400: OperationError;
14382
+ /**
14383
+ * Unauthorized — missing or invalid credentials
14384
+ */
14385
+ 401: unknown;
14386
+ /**
14387
+ * Forbidden — caller cannot access this graph
14388
+ */
14389
+ 403: unknown;
14390
+ /**
14391
+ * Resource not found (graph, ledger, report, etc.)
14392
+ */
14393
+ 404: OperationError;
14394
+ /**
14395
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14396
+ */
14397
+ 409: OperationError;
12303
14398
  /**
12304
14399
  * Validation Error
12305
14400
  */
12306
14401
  422: HttpValidationError;
14402
+ /**
14403
+ * Rate limit exceeded
14404
+ */
14405
+ 429: unknown;
14406
+ /**
14407
+ * Internal error
14408
+ */
14409
+ 500: unknown;
12307
14410
  };
12308
14411
 
12309
14412
  export type OpRegenerateReportError = OpRegenerateReportErrors[keyof OpRegenerateReportErrors];
@@ -12336,10 +14439,38 @@ export type OpDeleteReportData = {
12336
14439
  };
12337
14440
 
12338
14441
  export type OpDeleteReportErrors = {
14442
+ /**
14443
+ * Invalid request payload
14444
+ */
14445
+ 400: OperationError;
14446
+ /**
14447
+ * Unauthorized — missing or invalid credentials
14448
+ */
14449
+ 401: unknown;
14450
+ /**
14451
+ * Forbidden — caller cannot access this graph
14452
+ */
14453
+ 403: unknown;
14454
+ /**
14455
+ * Resource not found (graph, ledger, report, etc.)
14456
+ */
14457
+ 404: OperationError;
14458
+ /**
14459
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14460
+ */
14461
+ 409: OperationError;
12339
14462
  /**
12340
14463
  * Validation Error
12341
14464
  */
12342
14465
  422: HttpValidationError;
14466
+ /**
14467
+ * Rate limit exceeded
14468
+ */
14469
+ 429: unknown;
14470
+ /**
14471
+ * Internal error
14472
+ */
14473
+ 500: unknown;
12343
14474
  };
12344
14475
 
12345
14476
  export type OpDeleteReportError = OpDeleteReportErrors[keyof OpDeleteReportErrors];
@@ -12372,10 +14503,38 @@ export type OpShareReportData = {
12372
14503
  };
12373
14504
 
12374
14505
  export type OpShareReportErrors = {
14506
+ /**
14507
+ * Invalid request payload
14508
+ */
14509
+ 400: OperationError;
14510
+ /**
14511
+ * Unauthorized — missing or invalid credentials
14512
+ */
14513
+ 401: unknown;
14514
+ /**
14515
+ * Forbidden — caller cannot access this graph
14516
+ */
14517
+ 403: unknown;
14518
+ /**
14519
+ * Resource not found (graph, ledger, report, etc.)
14520
+ */
14521
+ 404: OperationError;
14522
+ /**
14523
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14524
+ */
14525
+ 409: OperationError;
12375
14526
  /**
12376
14527
  * Validation Error
12377
14528
  */
12378
14529
  422: HttpValidationError;
14530
+ /**
14531
+ * Rate limit exceeded
14532
+ */
14533
+ 429: unknown;
14534
+ /**
14535
+ * Internal error
14536
+ */
14537
+ 500: unknown;
12379
14538
  };
12380
14539
 
12381
14540
  export type OpShareReportError = OpShareReportErrors[keyof OpShareReportErrors];
@@ -12408,10 +14567,38 @@ export type OpCreatePublishListData = {
12408
14567
  };
12409
14568
 
12410
14569
  export type OpCreatePublishListErrors = {
14570
+ /**
14571
+ * Invalid request payload
14572
+ */
14573
+ 400: OperationError;
14574
+ /**
14575
+ * Unauthorized — missing or invalid credentials
14576
+ */
14577
+ 401: unknown;
14578
+ /**
14579
+ * Forbidden — caller cannot access this graph
14580
+ */
14581
+ 403: unknown;
14582
+ /**
14583
+ * Resource not found (graph, ledger, report, etc.)
14584
+ */
14585
+ 404: OperationError;
14586
+ /**
14587
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14588
+ */
14589
+ 409: OperationError;
12411
14590
  /**
12412
14591
  * Validation Error
12413
14592
  */
12414
14593
  422: HttpValidationError;
14594
+ /**
14595
+ * Rate limit exceeded
14596
+ */
14597
+ 429: unknown;
14598
+ /**
14599
+ * Internal error
14600
+ */
14601
+ 500: unknown;
12415
14602
  };
12416
14603
 
12417
14604
  export type OpCreatePublishListError = OpCreatePublishListErrors[keyof OpCreatePublishListErrors];
@@ -12444,10 +14631,38 @@ export type OpUpdatePublishListData = {
12444
14631
  };
12445
14632
 
12446
14633
  export type OpUpdatePublishListErrors = {
14634
+ /**
14635
+ * Invalid request payload
14636
+ */
14637
+ 400: OperationError;
14638
+ /**
14639
+ * Unauthorized — missing or invalid credentials
14640
+ */
14641
+ 401: unknown;
14642
+ /**
14643
+ * Forbidden — caller cannot access this graph
14644
+ */
14645
+ 403: unknown;
14646
+ /**
14647
+ * Resource not found (graph, ledger, report, etc.)
14648
+ */
14649
+ 404: OperationError;
14650
+ /**
14651
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14652
+ */
14653
+ 409: OperationError;
12447
14654
  /**
12448
14655
  * Validation Error
12449
14656
  */
12450
14657
  422: HttpValidationError;
14658
+ /**
14659
+ * Rate limit exceeded
14660
+ */
14661
+ 429: unknown;
14662
+ /**
14663
+ * Internal error
14664
+ */
14665
+ 500: unknown;
12451
14666
  };
12452
14667
 
12453
14668
  export type OpUpdatePublishListError = OpUpdatePublishListErrors[keyof OpUpdatePublishListErrors];
@@ -12480,10 +14695,38 @@ export type OpDeletePublishListData = {
12480
14695
  };
12481
14696
 
12482
14697
  export type OpDeletePublishListErrors = {
14698
+ /**
14699
+ * Invalid request payload
14700
+ */
14701
+ 400: OperationError;
14702
+ /**
14703
+ * Unauthorized — missing or invalid credentials
14704
+ */
14705
+ 401: unknown;
14706
+ /**
14707
+ * Forbidden — caller cannot access this graph
14708
+ */
14709
+ 403: unknown;
14710
+ /**
14711
+ * Resource not found (graph, ledger, report, etc.)
14712
+ */
14713
+ 404: OperationError;
14714
+ /**
14715
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14716
+ */
14717
+ 409: OperationError;
12483
14718
  /**
12484
14719
  * Validation Error
12485
14720
  */
12486
14721
  422: HttpValidationError;
14722
+ /**
14723
+ * Rate limit exceeded
14724
+ */
14725
+ 429: unknown;
14726
+ /**
14727
+ * Internal error
14728
+ */
14729
+ 500: unknown;
12487
14730
  };
12488
14731
 
12489
14732
  export type OpDeletePublishListError = OpDeletePublishListErrors[keyof OpDeletePublishListErrors];
@@ -12516,10 +14759,38 @@ export type OpAddPublishListMembersData = {
12516
14759
  };
12517
14760
 
12518
14761
  export type OpAddPublishListMembersErrors = {
14762
+ /**
14763
+ * Invalid request payload
14764
+ */
14765
+ 400: OperationError;
14766
+ /**
14767
+ * Unauthorized — missing or invalid credentials
14768
+ */
14769
+ 401: unknown;
14770
+ /**
14771
+ * Forbidden — caller cannot access this graph
14772
+ */
14773
+ 403: unknown;
14774
+ /**
14775
+ * Resource not found (graph, ledger, report, etc.)
14776
+ */
14777
+ 404: OperationError;
14778
+ /**
14779
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14780
+ */
14781
+ 409: OperationError;
12519
14782
  /**
12520
14783
  * Validation Error
12521
14784
  */
12522
14785
  422: HttpValidationError;
14786
+ /**
14787
+ * Rate limit exceeded
14788
+ */
14789
+ 429: unknown;
14790
+ /**
14791
+ * Internal error
14792
+ */
14793
+ 500: unknown;
12523
14794
  };
12524
14795
 
12525
14796
  export type OpAddPublishListMembersError = OpAddPublishListMembersErrors[keyof OpAddPublishListMembersErrors];
@@ -12552,10 +14823,38 @@ export type OpRemovePublishListMemberData = {
12552
14823
  };
12553
14824
 
12554
14825
  export type OpRemovePublishListMemberErrors = {
14826
+ /**
14827
+ * Invalid request payload
14828
+ */
14829
+ 400: OperationError;
14830
+ /**
14831
+ * Unauthorized — missing or invalid credentials
14832
+ */
14833
+ 401: unknown;
14834
+ /**
14835
+ * Forbidden — caller cannot access this graph
14836
+ */
14837
+ 403: unknown;
14838
+ /**
14839
+ * Resource not found (graph, ledger, report, etc.)
14840
+ */
14841
+ 404: OperationError;
14842
+ /**
14843
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14844
+ */
14845
+ 409: OperationError;
12555
14846
  /**
12556
14847
  * Validation Error
12557
14848
  */
12558
14849
  422: HttpValidationError;
14850
+ /**
14851
+ * Rate limit exceeded
14852
+ */
14853
+ 429: unknown;
14854
+ /**
14855
+ * Internal error
14856
+ */
14857
+ 500: unknown;
12559
14858
  };
12560
14859
 
12561
14860
  export type OpRemovePublishListMemberError = OpRemovePublishListMemberErrors[keyof OpRemovePublishListMemberErrors];
@@ -12588,10 +14887,38 @@ export type OpBuildFactGridData = {
12588
14887
  };
12589
14888
 
12590
14889
  export type OpBuildFactGridErrors = {
14890
+ /**
14891
+ * Invalid request payload
14892
+ */
14893
+ 400: OperationError;
14894
+ /**
14895
+ * Unauthorized — missing or invalid credentials
14896
+ */
14897
+ 401: unknown;
14898
+ /**
14899
+ * Forbidden — caller cannot access this graph
14900
+ */
14901
+ 403: unknown;
14902
+ /**
14903
+ * Resource not found (graph, ledger, report, etc.)
14904
+ */
14905
+ 404: OperationError;
14906
+ /**
14907
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14908
+ */
14909
+ 409: OperationError;
12591
14910
  /**
12592
14911
  * Validation Error
12593
14912
  */
12594
14913
  422: HttpValidationError;
14914
+ /**
14915
+ * Rate limit exceeded
14916
+ */
14917
+ 429: unknown;
14918
+ /**
14919
+ * Internal error
14920
+ */
14921
+ 500: unknown;
12595
14922
  };
12596
14923
 
12597
14924
  export type OpBuildFactGridError = OpBuildFactGridErrors[keyof OpBuildFactGridErrors];
@@ -12624,10 +14951,38 @@ export type OpCreatePortfolioData = {
12624
14951
  };
12625
14952
 
12626
14953
  export type OpCreatePortfolioErrors = {
14954
+ /**
14955
+ * Invalid request payload
14956
+ */
14957
+ 400: OperationError;
14958
+ /**
14959
+ * Unauthorized — missing or invalid credentials
14960
+ */
14961
+ 401: unknown;
14962
+ /**
14963
+ * Forbidden — caller cannot access this graph
14964
+ */
14965
+ 403: unknown;
14966
+ /**
14967
+ * Resource not found (graph, ledger, report, etc.)
14968
+ */
14969
+ 404: OperationError;
14970
+ /**
14971
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14972
+ */
14973
+ 409: OperationError;
12627
14974
  /**
12628
14975
  * Validation Error
12629
14976
  */
12630
14977
  422: HttpValidationError;
14978
+ /**
14979
+ * Rate limit exceeded
14980
+ */
14981
+ 429: unknown;
14982
+ /**
14983
+ * Internal error
14984
+ */
14985
+ 500: unknown;
12631
14986
  };
12632
14987
 
12633
14988
  export type OpCreatePortfolioError = OpCreatePortfolioErrors[keyof OpCreatePortfolioErrors];
@@ -12660,10 +15015,38 @@ export type OpUpdatePortfolioData = {
12660
15015
  };
12661
15016
 
12662
15017
  export type OpUpdatePortfolioErrors = {
15018
+ /**
15019
+ * Invalid request payload
15020
+ */
15021
+ 400: OperationError;
15022
+ /**
15023
+ * Unauthorized — missing or invalid credentials
15024
+ */
15025
+ 401: unknown;
15026
+ /**
15027
+ * Forbidden — caller cannot access this graph
15028
+ */
15029
+ 403: unknown;
15030
+ /**
15031
+ * Resource not found (graph, ledger, report, etc.)
15032
+ */
15033
+ 404: OperationError;
15034
+ /**
15035
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15036
+ */
15037
+ 409: OperationError;
12663
15038
  /**
12664
15039
  * Validation Error
12665
15040
  */
12666
15041
  422: HttpValidationError;
15042
+ /**
15043
+ * Rate limit exceeded
15044
+ */
15045
+ 429: unknown;
15046
+ /**
15047
+ * Internal error
15048
+ */
15049
+ 500: unknown;
12667
15050
  };
12668
15051
 
12669
15052
  export type OpUpdatePortfolioError = OpUpdatePortfolioErrors[keyof OpUpdatePortfolioErrors];
@@ -12696,10 +15079,38 @@ export type OpDeletePortfolioData = {
12696
15079
  };
12697
15080
 
12698
15081
  export type OpDeletePortfolioErrors = {
15082
+ /**
15083
+ * Invalid request payload
15084
+ */
15085
+ 400: OperationError;
15086
+ /**
15087
+ * Unauthorized — missing or invalid credentials
15088
+ */
15089
+ 401: unknown;
15090
+ /**
15091
+ * Forbidden — caller cannot access this graph
15092
+ */
15093
+ 403: unknown;
15094
+ /**
15095
+ * Resource not found (graph, ledger, report, etc.)
15096
+ */
15097
+ 404: OperationError;
15098
+ /**
15099
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15100
+ */
15101
+ 409: OperationError;
12699
15102
  /**
12700
15103
  * Validation Error
12701
15104
  */
12702
15105
  422: HttpValidationError;
15106
+ /**
15107
+ * Rate limit exceeded
15108
+ */
15109
+ 429: unknown;
15110
+ /**
15111
+ * Internal error
15112
+ */
15113
+ 500: unknown;
12703
15114
  };
12704
15115
 
12705
15116
  export type OpDeletePortfolioError = OpDeletePortfolioErrors[keyof OpDeletePortfolioErrors];
@@ -12732,10 +15143,38 @@ export type OpCreateSecurityData = {
12732
15143
  };
12733
15144
 
12734
15145
  export type OpCreateSecurityErrors = {
15146
+ /**
15147
+ * Invalid request payload
15148
+ */
15149
+ 400: OperationError;
15150
+ /**
15151
+ * Unauthorized — missing or invalid credentials
15152
+ */
15153
+ 401: unknown;
15154
+ /**
15155
+ * Forbidden — caller cannot access this graph
15156
+ */
15157
+ 403: unknown;
15158
+ /**
15159
+ * Resource not found (graph, ledger, report, etc.)
15160
+ */
15161
+ 404: OperationError;
15162
+ /**
15163
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15164
+ */
15165
+ 409: OperationError;
12735
15166
  /**
12736
15167
  * Validation Error
12737
15168
  */
12738
15169
  422: HttpValidationError;
15170
+ /**
15171
+ * Rate limit exceeded
15172
+ */
15173
+ 429: unknown;
15174
+ /**
15175
+ * Internal error
15176
+ */
15177
+ 500: unknown;
12739
15178
  };
12740
15179
 
12741
15180
  export type OpCreateSecurityError = OpCreateSecurityErrors[keyof OpCreateSecurityErrors];
@@ -12768,10 +15207,38 @@ export type OpUpdateSecurityData = {
12768
15207
  };
12769
15208
 
12770
15209
  export type OpUpdateSecurityErrors = {
15210
+ /**
15211
+ * Invalid request payload
15212
+ */
15213
+ 400: OperationError;
15214
+ /**
15215
+ * Unauthorized — missing or invalid credentials
15216
+ */
15217
+ 401: unknown;
15218
+ /**
15219
+ * Forbidden — caller cannot access this graph
15220
+ */
15221
+ 403: unknown;
15222
+ /**
15223
+ * Resource not found (graph, ledger, report, etc.)
15224
+ */
15225
+ 404: OperationError;
15226
+ /**
15227
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15228
+ */
15229
+ 409: OperationError;
12771
15230
  /**
12772
15231
  * Validation Error
12773
15232
  */
12774
15233
  422: HttpValidationError;
15234
+ /**
15235
+ * Rate limit exceeded
15236
+ */
15237
+ 429: unknown;
15238
+ /**
15239
+ * Internal error
15240
+ */
15241
+ 500: unknown;
12775
15242
  };
12776
15243
 
12777
15244
  export type OpUpdateSecurityError = OpUpdateSecurityErrors[keyof OpUpdateSecurityErrors];
@@ -12804,10 +15271,38 @@ export type OpDeleteSecurityData = {
12804
15271
  };
12805
15272
 
12806
15273
  export type OpDeleteSecurityErrors = {
15274
+ /**
15275
+ * Invalid request payload
15276
+ */
15277
+ 400: OperationError;
15278
+ /**
15279
+ * Unauthorized — missing or invalid credentials
15280
+ */
15281
+ 401: unknown;
15282
+ /**
15283
+ * Forbidden — caller cannot access this graph
15284
+ */
15285
+ 403: unknown;
15286
+ /**
15287
+ * Resource not found (graph, ledger, report, etc.)
15288
+ */
15289
+ 404: OperationError;
15290
+ /**
15291
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15292
+ */
15293
+ 409: OperationError;
12807
15294
  /**
12808
15295
  * Validation Error
12809
15296
  */
12810
15297
  422: HttpValidationError;
15298
+ /**
15299
+ * Rate limit exceeded
15300
+ */
15301
+ 429: unknown;
15302
+ /**
15303
+ * Internal error
15304
+ */
15305
+ 500: unknown;
12811
15306
  };
12812
15307
 
12813
15308
  export type OpDeleteSecurityError = OpDeleteSecurityErrors[keyof OpDeleteSecurityErrors];
@@ -12840,10 +15335,38 @@ export type OpCreatePositionData = {
12840
15335
  };
12841
15336
 
12842
15337
  export type OpCreatePositionErrors = {
15338
+ /**
15339
+ * Invalid request payload
15340
+ */
15341
+ 400: OperationError;
15342
+ /**
15343
+ * Unauthorized — missing or invalid credentials
15344
+ */
15345
+ 401: unknown;
15346
+ /**
15347
+ * Forbidden — caller cannot access this graph
15348
+ */
15349
+ 403: unknown;
15350
+ /**
15351
+ * Resource not found (graph, ledger, report, etc.)
15352
+ */
15353
+ 404: OperationError;
15354
+ /**
15355
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15356
+ */
15357
+ 409: OperationError;
12843
15358
  /**
12844
15359
  * Validation Error
12845
15360
  */
12846
15361
  422: HttpValidationError;
15362
+ /**
15363
+ * Rate limit exceeded
15364
+ */
15365
+ 429: unknown;
15366
+ /**
15367
+ * Internal error
15368
+ */
15369
+ 500: unknown;
12847
15370
  };
12848
15371
 
12849
15372
  export type OpCreatePositionError = OpCreatePositionErrors[keyof OpCreatePositionErrors];
@@ -12876,10 +15399,38 @@ export type OpUpdatePositionData = {
12876
15399
  };
12877
15400
 
12878
15401
  export type OpUpdatePositionErrors = {
15402
+ /**
15403
+ * Invalid request payload
15404
+ */
15405
+ 400: OperationError;
15406
+ /**
15407
+ * Unauthorized — missing or invalid credentials
15408
+ */
15409
+ 401: unknown;
15410
+ /**
15411
+ * Forbidden — caller cannot access this graph
15412
+ */
15413
+ 403: unknown;
15414
+ /**
15415
+ * Resource not found (graph, ledger, report, etc.)
15416
+ */
15417
+ 404: OperationError;
15418
+ /**
15419
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15420
+ */
15421
+ 409: OperationError;
12879
15422
  /**
12880
15423
  * Validation Error
12881
15424
  */
12882
15425
  422: HttpValidationError;
15426
+ /**
15427
+ * Rate limit exceeded
15428
+ */
15429
+ 429: unknown;
15430
+ /**
15431
+ * Internal error
15432
+ */
15433
+ 500: unknown;
12883
15434
  };
12884
15435
 
12885
15436
  export type OpUpdatePositionError = OpUpdatePositionErrors[keyof OpUpdatePositionErrors];
@@ -12912,10 +15463,38 @@ export type OpDeletePositionData = {
12912
15463
  };
12913
15464
 
12914
15465
  export type OpDeletePositionErrors = {
15466
+ /**
15467
+ * Invalid request payload
15468
+ */
15469
+ 400: OperationError;
15470
+ /**
15471
+ * Unauthorized — missing or invalid credentials
15472
+ */
15473
+ 401: unknown;
15474
+ /**
15475
+ * Forbidden — caller cannot access this graph
15476
+ */
15477
+ 403: unknown;
15478
+ /**
15479
+ * Resource not found (graph, ledger, report, etc.)
15480
+ */
15481
+ 404: OperationError;
15482
+ /**
15483
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
15484
+ */
15485
+ 409: OperationError;
12915
15486
  /**
12916
15487
  * Validation Error
12917
15488
  */
12918
15489
  422: HttpValidationError;
15490
+ /**
15491
+ * Rate limit exceeded
15492
+ */
15493
+ 429: unknown;
15494
+ /**
15495
+ * Internal error
15496
+ */
15497
+ 500: unknown;
12919
15498
  };
12920
15499
 
12921
15500
  export type OpDeletePositionError = OpDeletePositionErrors[keyof OpDeletePositionErrors];