@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.d.ts CHANGED
@@ -737,25 +737,6 @@ export type BackupResponse = {
737
737
  */
738
738
  expires_at: string | null;
739
739
  };
740
- /**
741
- * BackupRestoreRequest
742
- *
743
- * Request model for restoring from a backup.
744
- */
745
- export type BackupRestoreRequest = {
746
- /**
747
- * Create System Backup
748
- *
749
- * Create a system backup of existing database before restore
750
- */
751
- create_system_backup?: boolean;
752
- /**
753
- * Verify After Restore
754
- *
755
- * Verify database integrity after restore
756
- */
757
- verify_after_restore?: boolean;
758
- };
759
740
  /**
760
741
  * BackupStatsResponse
761
742
  *
@@ -896,6 +877,64 @@ export type BillingCustomer = {
896
877
  */
897
878
  created_at: string;
898
879
  };
880
+ /**
881
+ * BulkAssociationItem
882
+ *
883
+ * A single association within a bulk-create payload. The parent
884
+ * `structure_id` is set once on the request envelope, not repeated
885
+ * per item.
886
+ */
887
+ export type BulkAssociationItem = {
888
+ /**
889
+ * From Element Id
890
+ */
891
+ from_element_id: string;
892
+ /**
893
+ * To Element Id
894
+ */
895
+ to_element_id: string;
896
+ /**
897
+ * Association Type
898
+ */
899
+ association_type?: 'presentation' | 'calculation' | 'mapping';
900
+ /**
901
+ * Arcrole
902
+ */
903
+ arcrole?: string | null;
904
+ /**
905
+ * Order Value
906
+ */
907
+ order_value?: number | null;
908
+ /**
909
+ * Weight
910
+ */
911
+ weight?: number | null;
912
+ /**
913
+ * Confidence
914
+ */
915
+ confidence?: number | null;
916
+ /**
917
+ * Suggested By
918
+ */
919
+ suggested_by?: string | null;
920
+ };
921
+ /**
922
+ * BulkCreateAssociationsRequest
923
+ *
924
+ * Bulk create associations within a single structure. Atomic — any
925
+ * failed row rolls back the whole batch. Handles 50+ presentation arcs,
926
+ * 25+ calculation arcs, or a full table linkbase in one call.
927
+ */
928
+ export type BulkCreateAssociationsRequest = {
929
+ /**
930
+ * Structure Id
931
+ */
932
+ structure_id: string;
933
+ /**
934
+ * Associations
935
+ */
936
+ associations: Array<BulkAssociationItem>;
937
+ };
899
938
  /**
900
939
  * BulkDocumentUploadRequest
901
940
  *
@@ -1375,6 +1414,86 @@ export type CreateConnectionRequest = {
1375
1414
  sec_config?: SecConnectionConfig | null;
1376
1415
  quickbooks_config?: QuickBooksConnectionConfig | null;
1377
1416
  };
1417
+ /**
1418
+ * CreateElementRequest
1419
+ *
1420
+ * Create a new Element within a taxonomy. For chart-of-accounts
1421
+ * taxonomies this is how native accounts are added.
1422
+ */
1423
+ export type CreateElementRequest = {
1424
+ /**
1425
+ * Taxonomy Id
1426
+ */
1427
+ taxonomy_id: string;
1428
+ /**
1429
+ * Code
1430
+ */
1431
+ code?: string | null;
1432
+ /**
1433
+ * Name
1434
+ */
1435
+ name: string;
1436
+ /**
1437
+ * Description
1438
+ */
1439
+ description?: string | null;
1440
+ /**
1441
+ * Classification
1442
+ */
1443
+ classification: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense';
1444
+ /**
1445
+ * Sub Classification
1446
+ */
1447
+ sub_classification?: string | null;
1448
+ /**
1449
+ * Balance Type
1450
+ */
1451
+ balance_type?: 'debit' | 'credit';
1452
+ /**
1453
+ * Period Type
1454
+ */
1455
+ period_type?: 'duration' | 'instant';
1456
+ /**
1457
+ * Element Type
1458
+ */
1459
+ element_type?: 'concept' | 'abstract' | 'axis' | 'member' | 'hypercube';
1460
+ /**
1461
+ * Is Abstract
1462
+ */
1463
+ is_abstract?: boolean;
1464
+ /**
1465
+ * Is Monetary
1466
+ */
1467
+ is_monetary?: boolean;
1468
+ /**
1469
+ * Parent Id
1470
+ */
1471
+ parent_id?: string | null;
1472
+ /**
1473
+ * Source
1474
+ */
1475
+ source?: 'native' | 'sfac6' | 'us-gaap' | 'ifrs' | 'quickbooks' | 'xero' | 'plaid' | 'import';
1476
+ /**
1477
+ * Currency
1478
+ */
1479
+ currency?: string;
1480
+ /**
1481
+ * Qname
1482
+ */
1483
+ qname?: string | null;
1484
+ /**
1485
+ * Namespace
1486
+ */
1487
+ namespace?: string | null;
1488
+ /**
1489
+ * External Id
1490
+ */
1491
+ external_id?: string | null;
1492
+ /**
1493
+ * External Source
1494
+ */
1495
+ external_source?: string | null;
1496
+ };
1378
1497
  /**
1379
1498
  * CreateGraphRequest
1380
1499
  *
@@ -1416,6 +1535,46 @@ export type CreateGraphRequest = {
1416
1535
  */
1417
1536
  tags?: Array<string>;
1418
1537
  };
1538
+ /**
1539
+ * CreateJournalEntryRequest
1540
+ *
1541
+ * Create a new journal entry with balanced line items.
1542
+ *
1543
+ * Defaults to `status='draft'` for ongoing native writes (the normal
1544
+ * workflow: draft → review → post via close-period). Pass
1545
+ * `status='posted'` for historical data import where entries represent
1546
+ * already-happened business events that don't need review.
1547
+ *
1548
+ * Total debit amount must equal total credit amount or the request
1549
+ * is rejected with 422. `line_items` must contain at least two rows
1550
+ * (at least one debit, at least one credit).
1551
+ */
1552
+ export type CreateJournalEntryRequest = {
1553
+ /**
1554
+ * Posting Date
1555
+ */
1556
+ posting_date: string;
1557
+ /**
1558
+ * Memo
1559
+ */
1560
+ memo: string;
1561
+ /**
1562
+ * Line Items
1563
+ */
1564
+ line_items: Array<JournalEntryLineItemInput>;
1565
+ /**
1566
+ * Type
1567
+ */
1568
+ type?: 'standard' | 'adjusting' | 'closing' | 'reversing';
1569
+ /**
1570
+ * Status
1571
+ */
1572
+ status?: 'draft' | 'posted';
1573
+ /**
1574
+ * Transaction Id
1575
+ */
1576
+ transaction_id?: string | null;
1577
+ };
1419
1578
  /**
1420
1579
  * CreateManualClosingEntryRequest
1421
1580
  */
@@ -2279,6 +2438,30 @@ export type DatabaseStorageEntry = {
2279
2438
  */
2280
2439
  size_mb?: number | null;
2281
2440
  };
2441
+ /**
2442
+ * DeleteAssociationRequest
2443
+ *
2444
+ * Hard delete — associations are edges and are cheap to recreate.
2445
+ */
2446
+ export type DeleteAssociationRequest = {
2447
+ /**
2448
+ * Association Id
2449
+ */
2450
+ association_id: string;
2451
+ };
2452
+ /**
2453
+ * DeleteElementRequest
2454
+ *
2455
+ * Soft delete — sets `is_active=false`. Historical line items
2456
+ * referencing this element remain valid; new line items cannot use an
2457
+ * inactive element.
2458
+ */
2459
+ export type DeleteElementRequest = {
2460
+ /**
2461
+ * Element Id
2462
+ */
2463
+ element_id: string;
2464
+ };
2282
2465
  /**
2283
2466
  * DeleteFileResponse
2284
2467
  */
@@ -2326,6 +2509,18 @@ export type DeleteFileResponse = {
2326
2509
  */
2327
2510
  graph_marked_stale?: boolean;
2328
2511
  };
2512
+ /**
2513
+ * DeleteJournalEntryRequest
2514
+ *
2515
+ * Hard delete a draft journal entry. Posted entries cannot be
2516
+ * deleted — reverse them instead.
2517
+ */
2518
+ export type DeleteJournalEntryRequest = {
2519
+ /**
2520
+ * Entry Id
2521
+ */
2522
+ entry_id: string;
2523
+ };
2329
2524
  /**
2330
2525
  * DeleteMappingAssociationOperation
2331
2526
  */
@@ -2375,6 +2570,22 @@ export type DeleteReportOperation = {
2375
2570
  */
2376
2571
  report_id: string;
2377
2572
  };
2573
+ /**
2574
+ * DeleteScheduleRequest
2575
+ *
2576
+ * Delete a schedule — cascades through facts and associations.
2577
+ *
2578
+ * Hard deletes the Structure, all Facts tied to it, and all
2579
+ * Associations tied to it. This is a permanent, irreversible
2580
+ * operation. For ending a schedule early without removing history,
2581
+ * use truncate-schedule instead.
2582
+ */
2583
+ export type DeleteScheduleRequest = {
2584
+ /**
2585
+ * Structure Id
2586
+ */
2587
+ structure_id: string;
2588
+ };
2378
2589
  /**
2379
2590
  * DeleteSecurityOperation
2380
2591
  */
@@ -2385,66 +2596,52 @@ export type DeleteSecurityOperation = {
2385
2596
  security_id: string;
2386
2597
  };
2387
2598
  /**
2388
- * DeleteSubgraphRequest
2599
+ * DeleteStructureRequest
2389
2600
  *
2390
- * Request model for deleting a subgraph.
2601
+ * Soft delete sets `is_active=false`.
2391
2602
  */
2392
- export type DeleteSubgraphRequest = {
2393
- /**
2394
- * Force
2395
- *
2396
- * Force deletion even if subgraph contains data
2397
- */
2398
- force?: boolean;
2399
- /**
2400
- * Backup First
2401
- *
2402
- * Create a backup before deletion
2403
- */
2404
- backup_first?: boolean;
2603
+ export type DeleteStructureRequest = {
2405
2604
  /**
2406
- * Backup Location
2407
- *
2408
- * S3 location for backup (uses default if not specified)
2605
+ * Structure Id
2409
2606
  */
2410
- backup_location?: string | null;
2607
+ structure_id: string;
2411
2608
  };
2412
2609
  /**
2413
- * DeleteSubgraphResponse
2610
+ * DeleteSubgraphOp
2414
2611
  *
2415
- * Response model for subgraph deletion.
2612
+ * Body for the delete-subgraph operation.
2416
2613
  */
2417
- export type DeleteSubgraphResponse = {
2418
- /**
2419
- * Graph Id
2420
- *
2421
- * Deleted subgraph identifier
2422
- */
2423
- graph_id: string;
2614
+ export type DeleteSubgraphOp = {
2424
2615
  /**
2425
- * Status
2616
+ * Subgraph Name
2426
2617
  *
2427
- * Deletion status
2618
+ * Subgraph name to delete (e.g., 'dev', 'staging')
2428
2619
  */
2429
- status: string;
2620
+ subgraph_name: string;
2430
2621
  /**
2431
- * Backup Location
2622
+ * Force
2432
2623
  *
2433
- * Location of backup if created
2624
+ * Delete even if subgraph contains data
2434
2625
  */
2435
- backup_location?: string | null;
2626
+ force?: boolean;
2436
2627
  /**
2437
- * Deleted At
2628
+ * Backup First
2438
2629
  *
2439
- * When deletion occurred
2630
+ * Create a backup before deleting
2440
2631
  */
2441
- deleted_at: string;
2632
+ backup_first?: boolean;
2633
+ };
2634
+ /**
2635
+ * DeleteTaxonomyRequest
2636
+ *
2637
+ * Soft delete — sets `is_active=false`. Historical references remain
2638
+ * valid.
2639
+ */
2640
+ export type DeleteTaxonomyRequest = {
2442
2641
  /**
2443
- * Message
2444
- *
2445
- * Additional information about the deletion
2642
+ * Taxonomy Id
2446
2643
  */
2447
- message?: string | null;
2644
+ taxonomy_id: string;
2448
2645
  };
2449
2646
  /**
2450
2647
  * DetailedTransactionsResponse
@@ -4281,6 +4478,59 @@ export type InvoicesResponse = {
4281
4478
  */
4282
4479
  has_more: boolean;
4283
4480
  };
4481
+ /**
4482
+ * JournalEntryLineItemInput
4483
+ *
4484
+ * One debit/credit line in a journal entry create/update payload.
4485
+ *
4486
+ * Exactly one of `debit_amount` / `credit_amount` must be non-zero; the
4487
+ * other must be zero. Amounts are in minor currency units (cents).
4488
+ */
4489
+ export type JournalEntryLineItemInput = {
4490
+ /**
4491
+ * Element Id
4492
+ */
4493
+ element_id: string;
4494
+ /**
4495
+ * Debit Amount
4496
+ */
4497
+ debit_amount?: number;
4498
+ /**
4499
+ * Credit Amount
4500
+ */
4501
+ credit_amount?: number;
4502
+ /**
4503
+ * Description
4504
+ */
4505
+ description?: string | null;
4506
+ };
4507
+ /**
4508
+ * LinkEntityTaxonomyRequest
4509
+ *
4510
+ * Link an entity to a taxonomy (creates the ENTITY_HAS_TAXONOMY edge).
4511
+ *
4512
+ * This is how a graph declares "this entity reports under this taxonomy."
4513
+ * For chart_of_accounts taxonomies, this tells the platform which CoA the
4514
+ * entity uses. For reporting taxonomies, which standard (us-gaap, ifrs).
4515
+ */
4516
+ export type LinkEntityTaxonomyRequest = {
4517
+ /**
4518
+ * Taxonomy Id
4519
+ */
4520
+ taxonomy_id: string;
4521
+ /**
4522
+ * Basis
4523
+ */
4524
+ basis?: 'reporting' | 'chart_of_accounts' | 'mapping' | 'schedule';
4525
+ /**
4526
+ * Is Primary
4527
+ */
4528
+ is_primary?: boolean;
4529
+ /**
4530
+ * Adoption Context
4531
+ */
4532
+ adoption_context?: string | null;
4533
+ };
4284
4534
  /**
4285
4535
  * ListSubgraphsResponse
4286
4536
  *
@@ -4454,162 +4704,29 @@ export type ManualLineItemRequest = {
4454
4704
  description?: string | null;
4455
4705
  };
4456
4706
  /**
4457
- * MaterializeRequest
4707
+ * OAuthCallbackRequest
4708
+ *
4709
+ * OAuth callback parameters.
4458
4710
  */
4459
- export type MaterializeRequest = {
4711
+ export type OAuthCallbackRequest = {
4460
4712
  /**
4461
- * Force
4713
+ * Code
4462
4714
  *
4463
- * Force materialization even if graph is not stale
4715
+ * Authorization code from OAuth provider
4464
4716
  */
4465
- force?: boolean;
4717
+ code: string;
4466
4718
  /**
4467
- * Rebuild
4719
+ * State
4468
4720
  *
4469
- * Delete and recreate graph database before materialization
4721
+ * OAuth state for verification
4470
4722
  */
4471
- rebuild?: boolean;
4723
+ state: string;
4472
4724
  /**
4473
- * Ignore Errors
4725
+ * Realm Id
4474
4726
  *
4475
- * Continue ingestion on row errors
4727
+ * QuickBooks-specific realm ID
4476
4728
  */
4477
- ignore_errors?: boolean;
4478
- /**
4479
- * Dry Run
4480
- *
4481
- * Validate limits without executing materialization. Returns usage, limits, and warnings.
4482
- */
4483
- dry_run?: boolean;
4484
- /**
4485
- * Source
4486
- *
4487
- * Data source for materialization. Auto-detected from graph type if not specified. 'staged' materializes from uploaded files (generic graphs). 'extensions' materializes from the extensions OLTP database (entity graphs).
4488
- */
4489
- source?: string | null;
4490
- /**
4491
- * Materialize Embeddings
4492
- *
4493
- * Include embedding columns in materialization and build HNSW vector indexes in the graph database. When false (default), embedding columns are NULLed out to save space. Set to true for graphs that need vector search.
4494
- */
4495
- materialize_embeddings?: boolean;
4496
- };
4497
- /**
4498
- * MaterializeResponse
4499
- *
4500
- * Response for queued materialization operation.
4501
- */
4502
- export type MaterializeResponse = {
4503
- /**
4504
- * Status
4505
- *
4506
- * Operation status
4507
- */
4508
- status?: string;
4509
- /**
4510
- * Graph Id
4511
- *
4512
- * Graph database identifier
4513
- */
4514
- graph_id: string;
4515
- /**
4516
- * Operation Id
4517
- *
4518
- * SSE operation ID for progress tracking
4519
- */
4520
- operation_id: string;
4521
- /**
4522
- * Message
4523
- *
4524
- * Human-readable status message
4525
- */
4526
- message: string;
4527
- /**
4528
- * Limit Check
4529
- *
4530
- * Limit check results (only present for dry_run requests)
4531
- */
4532
- limit_check?: {
4533
- [key: string]: unknown;
4534
- } | null;
4535
- };
4536
- /**
4537
- * MaterializeStatusResponse
4538
- */
4539
- export type MaterializeStatusResponse = {
4540
- /**
4541
- * Graph Id
4542
- *
4543
- * Graph database identifier
4544
- */
4545
- graph_id: string;
4546
- /**
4547
- * Is Stale
4548
- *
4549
- * Whether graph is currently stale
4550
- */
4551
- is_stale: boolean;
4552
- /**
4553
- * Stale Reason
4554
- *
4555
- * Reason for staleness if applicable
4556
- */
4557
- stale_reason?: string | null;
4558
- /**
4559
- * Stale Since
4560
- *
4561
- * When graph became stale (ISO timestamp)
4562
- */
4563
- stale_since?: string | null;
4564
- /**
4565
- * Last Materialized At
4566
- *
4567
- * When graph was last materialized (ISO timestamp)
4568
- */
4569
- last_materialized_at?: string | null;
4570
- /**
4571
- * Materialization Count
4572
- *
4573
- * Total number of materializations performed
4574
- */
4575
- materialization_count?: number;
4576
- /**
4577
- * Hours Since Materialization
4578
- *
4579
- * Hours since last materialization
4580
- */
4581
- hours_since_materialization?: number | null;
4582
- /**
4583
- * Message
4584
- *
4585
- * Human-readable status summary
4586
- */
4587
- message: string;
4588
- };
4589
- /**
4590
- * OAuthCallbackRequest
4591
- *
4592
- * OAuth callback parameters.
4593
- */
4594
- export type OAuthCallbackRequest = {
4595
- /**
4596
- * Code
4597
- *
4598
- * Authorization code from OAuth provider
4599
- */
4600
- code: string;
4601
- /**
4602
- * State
4603
- *
4604
- * OAuth state for verification
4605
- */
4606
- state: string;
4607
- /**
4608
- * Realm Id
4609
- *
4610
- * QuickBooks-specific realm ID
4611
- */
4612
- realm_id?: string | null;
4729
+ realm_id?: string | null;
4613
4730
  /**
4614
4731
  * Error
4615
4732
  *
@@ -4770,28 +4887,33 @@ export type OperationCosts = {
4770
4887
  /**
4771
4888
  * OperationEnvelope
4772
4889
  *
4773
- * Uniform response shape for every extensions operation endpoint.
4890
+ * Uniform response shape for every operation endpoint.
4774
4891
  *
4775
- * Every dispatch through `/extensions/{domain}/{graph_id}/operations/{op}`
4776
- * returns an envelope carrying an `op_<ULID>` operation_id. That id is the
4777
- * bridge to the platform's monitoring surface: pass it to
4778
- * `GET /v1/operations/{operation_id}/stream` (see `routers/operations.py`)
4779
- * to subscribe to SSE progress events. Sync commands complete in the
4780
- * envelope itself; async commands (`status: "pending"`, HTTP 202) hand off
4781
- * to a background worker and stream their tail through the same SSE
4782
- * endpoint until completion. Failed dispatches still mint an `operation_id`
4783
- * so the audit log and any partial SSE events stay correlatable.
4892
+ * Every dispatch through an operation surface returns an envelope carrying
4893
+ * an ``op_<ULID>`` operation_id. That id is the bridge to the platform's
4894
+ * monitoring surface: pass it to
4895
+ * ``GET /v1/operations/{operation_id}/stream`` (see ``routers/operations.py``)
4896
+ * to subscribe to SSE progress events. Sync commands complete in the
4897
+ * envelope itself; async commands (``status: "pending"``, HTTP 202) hand
4898
+ * off to a background worker and stream their tail through the same SSE
4899
+ * endpoint until completion. Failed dispatches still mint an
4900
+ * ``operation_id`` so the audit log and any partial SSE events stay
4901
+ * correlatable.
4784
4902
  *
4785
4903
  * Fields:
4786
- * - `operation`: kebab-case command name (e.g. `close-period`)
4787
- * - `operation_id`: `op_`-prefixed ULID; always present, usable for audit
4788
- * correlation and — for async commands — SSE subscription via
4789
- * `/v1/operations/{operation_id}/stream`
4790
- * - `status`: `"completed"` (sync, HTTP 200), `"pending"` (async, HTTP 202),
4791
- * or `"failed"` (error responses)
4792
- * - `result`: the domain-specific payload (the original Pydantic response)
4793
- * or `None` for async/failed cases
4794
- * - `at`: ISO-8601 UTC timestamp of when the envelope was minted
4904
+ * - ``operation``: kebab-case command name (e.g. ``close-period``)
4905
+ * - ``operation_id``: ``op_``-prefixed ULID; always present, usable for
4906
+ * audit correlation and — for async commands — SSE subscription via
4907
+ * ``/v1/operations/{operation_id}/stream``
4908
+ * - ``status``: ``"completed"`` (sync, HTTP 200), ``"pending"``
4909
+ * (async, HTTP 202), or ``"failed"`` (error responses)
4910
+ * - ``result``: the domain-specific payload (the original Pydantic
4911
+ * response) or ``None`` for async/failed cases
4912
+ * - ``at``: ISO-8601 UTC timestamp of when the envelope was minted
4913
+ * - ``created_by``: user ID of the caller who initiated this operation
4914
+ * - ``idempotent_replay``: ``True`` when the dispatcher returned this
4915
+ * envelope from the idempotency cache (the underlying command did NOT
4916
+ * execute again)
4795
4917
  */
4796
4918
  export type OperationEnvelope = {
4797
4919
  /**
@@ -4826,6 +4948,18 @@ export type OperationEnvelope = {
4826
4948
  * ISO-8601 UTC timestamp
4827
4949
  */
4828
4950
  at: string;
4951
+ /**
4952
+ * Createdby
4953
+ *
4954
+ * User ID that initiated the operation (null for legacy callers)
4955
+ */
4956
+ createdBy?: string | null;
4957
+ /**
4958
+ * Idempotentreplay
4959
+ *
4960
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
4961
+ */
4962
+ idempotentReplay?: boolean;
4829
4963
  };
4830
4964
  /**
4831
4965
  * OrgDetailResponse
@@ -5578,6 +5712,59 @@ export type ResetPasswordValidateResponse = {
5578
5712
  * Response modes for execution.
5579
5713
  */
5580
5714
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
5715
+ /**
5716
+ * RestoreBackupOp
5717
+ *
5718
+ * Body for the restore-backup operation.
5719
+ */
5720
+ export type RestoreBackupOp = {
5721
+ /**
5722
+ * Backup Id
5723
+ *
5724
+ * Backup identifier to restore from
5725
+ */
5726
+ backup_id: string;
5727
+ /**
5728
+ * Create System Backup
5729
+ *
5730
+ * Create a system backup of existing database before restore
5731
+ */
5732
+ create_system_backup?: boolean;
5733
+ /**
5734
+ * Verify After Restore
5735
+ *
5736
+ * Verify database integrity after restore
5737
+ */
5738
+ verify_after_restore?: boolean;
5739
+ };
5740
+ /**
5741
+ * ReverseJournalEntryRequest
5742
+ *
5743
+ * Reverse a posted journal entry.
5744
+ *
5745
+ * Creates a new entry whose line items flip the originals
5746
+ * (debits → credits, credits → debits), sets `reversal_of` on the new
5747
+ * entry to the original's id, marks the original as
5748
+ * `status='reversed'`, and posts the reversing entry immediately.
5749
+ *
5750
+ * This is how accountants correct posted entries — the original stays
5751
+ * in the audit trail, the reversal cancels its effect, and a
5752
+ * corrected entry can be created separately.
5753
+ */
5754
+ export type ReverseJournalEntryRequest = {
5755
+ /**
5756
+ * Entry Id
5757
+ */
5758
+ entry_id: string;
5759
+ /**
5760
+ * Posting Date
5761
+ */
5762
+ posting_date?: string | null;
5763
+ /**
5764
+ * Memo
5765
+ */
5766
+ memo?: string | null;
5767
+ };
5581
5768
  /**
5582
5769
  * SECConnectionConfig
5583
5770
  *
@@ -6748,6 +6935,85 @@ export type UpdateApiKeyRequest = {
6748
6935
  */
6749
6936
  description?: string | null;
6750
6937
  };
6938
+ /**
6939
+ * UpdateAssociationRequest
6940
+ *
6941
+ * Update mutable fields on an association. `from_element_id`,
6942
+ * `to_element_id`, and `association_type` are immutable — delete and
6943
+ * recreate instead.
6944
+ */
6945
+ export type UpdateAssociationRequest = {
6946
+ /**
6947
+ * Association Id
6948
+ */
6949
+ association_id: string;
6950
+ /**
6951
+ * Order Value
6952
+ */
6953
+ order_value?: number | null;
6954
+ /**
6955
+ * Weight
6956
+ */
6957
+ weight?: number | null;
6958
+ /**
6959
+ * Confidence
6960
+ */
6961
+ confidence?: number | null;
6962
+ /**
6963
+ * Approved By
6964
+ */
6965
+ approved_by?: string | null;
6966
+ };
6967
+ /**
6968
+ * UpdateElementRequest
6969
+ *
6970
+ * Update mutable fields on an element. `taxonomy_id` and `source` are
6971
+ * immutable. `parent_id` honors `model_dump(exclude_unset=True)` semantics:
6972
+ * omit the field to leave unchanged, pass `null` to clear the parent
6973
+ * (make root).
6974
+ */
6975
+ export type UpdateElementRequest = {
6976
+ /**
6977
+ * Element Id
6978
+ */
6979
+ element_id: string;
6980
+ /**
6981
+ * Code
6982
+ */
6983
+ code?: string | null;
6984
+ /**
6985
+ * Name
6986
+ */
6987
+ name?: string | null;
6988
+ /**
6989
+ * Description
6990
+ */
6991
+ description?: string | null;
6992
+ /**
6993
+ * Classification
6994
+ */
6995
+ classification?: 'asset' | 'liability' | 'equity' | 'revenue' | 'expense' | null;
6996
+ /**
6997
+ * Sub Classification
6998
+ */
6999
+ sub_classification?: string | null;
7000
+ /**
7001
+ * Balance Type
7002
+ */
7003
+ balance_type?: 'debit' | 'credit' | null;
7004
+ /**
7005
+ * Period Type
7006
+ */
7007
+ period_type?: 'duration' | 'instant' | null;
7008
+ /**
7009
+ * Parent Id
7010
+ */
7011
+ parent_id?: string | null;
7012
+ /**
7013
+ * Currency
7014
+ */
7015
+ currency?: string | null;
7016
+ };
6751
7017
  /**
6752
7018
  * UpdateEntityRequest
6753
7019
  *
@@ -6843,6 +7109,39 @@ export type UpdateEntityRequest = {
6843
7109
  */
6844
7110
  address_country?: string | null;
6845
7111
  };
7112
+ /**
7113
+ * UpdateJournalEntryRequest
7114
+ *
7115
+ * Update a draft journal entry. Posted entries cannot be updated —
7116
+ * create a reversal and a corrected entry instead.
7117
+ *
7118
+ * Omitted fields are left unchanged. If `line_items` is provided, the
7119
+ * existing line items are replaced entirely (atomic delete + insert)
7120
+ * and the new set must still balance. If `line_items` is omitted, the
7121
+ * existing line items are left untouched.
7122
+ */
7123
+ export type UpdateJournalEntryRequest = {
7124
+ /**
7125
+ * Entry Id
7126
+ */
7127
+ entry_id: string;
7128
+ /**
7129
+ * Posting Date
7130
+ */
7131
+ posting_date?: string | null;
7132
+ /**
7133
+ * Memo
7134
+ */
7135
+ memo?: string | null;
7136
+ /**
7137
+ * Type
7138
+ */
7139
+ type?: 'standard' | 'adjusting' | 'closing' | 'reversing' | null;
7140
+ /**
7141
+ * Line Items
7142
+ */
7143
+ line_items?: Array<JournalEntryLineItemInput> | null;
7144
+ };
6846
7145
  /**
6847
7146
  * UpdateMemberRoleRequest
6848
7147
  *
@@ -6983,6 +7282,32 @@ export type UpdatePublishListOperation = {
6983
7282
  */
6984
7283
  list_id: string;
6985
7284
  };
7285
+ /**
7286
+ * UpdateScheduleRequest
7287
+ *
7288
+ * Update mutable fields on a schedule.
7289
+ *
7290
+ * Editable: name, entry_template, schedule_metadata (all live on the
7291
+ * Structure row / its metadata_ JSONB column).
7292
+ *
7293
+ * NOT editable via this op: period_start, period_end, monthly_amount.
7294
+ * Those require fact regeneration — use truncate-schedule (end early)
7295
+ * and create-schedule (start new) instead.
7296
+ *
7297
+ * Omitted fields are left unchanged.
7298
+ */
7299
+ export type UpdateScheduleRequest = {
7300
+ /**
7301
+ * Structure Id
7302
+ */
7303
+ structure_id: string;
7304
+ /**
7305
+ * Name
7306
+ */
7307
+ name?: string | null;
7308
+ entry_template?: EntryTemplateRequest | null;
7309
+ schedule_metadata?: ScheduleMetadataRequest | null;
7310
+ };
6986
7311
  /**
6987
7312
  * UpdateSecurityOperation
6988
7313
  */
@@ -7031,39 +7356,98 @@ export type UpdateSecurityOperation = {
7031
7356
  security_id: string;
7032
7357
  };
7033
7358
  /**
7034
- * UpdateUserRequest
7359
+ * UpdateStructureRequest
7035
7360
  *
7036
- * Request model for updating user profile.
7361
+ * Update mutable fields on a structure. `structure_type` and
7362
+ * `taxonomy_id` are immutable.
7037
7363
  */
7038
- export type UpdateUserRequest = {
7364
+ export type UpdateStructureRequest = {
7365
+ /**
7366
+ * Structure Id
7367
+ */
7368
+ structure_id: string;
7039
7369
  /**
7040
7370
  * Name
7041
- *
7042
- * User's display name
7043
7371
  */
7044
7372
  name?: string | null;
7045
7373
  /**
7046
- * Email
7047
- *
7048
- * User's email address
7374
+ * Description
7049
7375
  */
7050
- email?: string | null;
7376
+ description?: string | null;
7051
7377
  };
7052
7378
  /**
7053
- * UpgradeSubscriptionRequest
7379
+ * UpdateTaxonomyRequest
7054
7380
  *
7055
- * Request to upgrade a subscription.
7381
+ * Update mutable fields on a taxonomy. `taxonomy_type` is immutable —
7382
+ * changing it is not the same operation as editing a taxonomy; deactivate
7383
+ * and create a new one instead. Only provided (non-null) fields are
7384
+ * applied.
7056
7385
  */
7057
- export type UpgradeSubscriptionRequest = {
7386
+ export type UpdateTaxonomyRequest = {
7058
7387
  /**
7059
- * New Plan Name
7060
- *
7061
- * New plan name to change to
7388
+ * Taxonomy Id
7062
7389
  */
7063
- new_plan_name: string;
7064
- };
7065
- /**
7066
- * UserGraphsResponse
7390
+ taxonomy_id: string;
7391
+ /**
7392
+ * Name
7393
+ */
7394
+ name?: string | null;
7395
+ /**
7396
+ * Description
7397
+ */
7398
+ description?: string | null;
7399
+ /**
7400
+ * Version
7401
+ */
7402
+ version?: string | null;
7403
+ };
7404
+ /**
7405
+ * UpdateUserRequest
7406
+ *
7407
+ * Request model for updating user profile.
7408
+ */
7409
+ export type UpdateUserRequest = {
7410
+ /**
7411
+ * Name
7412
+ *
7413
+ * User's display name
7414
+ */
7415
+ name?: string | null;
7416
+ /**
7417
+ * Email
7418
+ *
7419
+ * User's email address
7420
+ */
7421
+ email?: string | null;
7422
+ };
7423
+ /**
7424
+ * UpgradeSubscriptionRequest
7425
+ *
7426
+ * Request to upgrade a subscription.
7427
+ */
7428
+ export type UpgradeSubscriptionRequest = {
7429
+ /**
7430
+ * New Plan Name
7431
+ *
7432
+ * New plan name to change to
7433
+ */
7434
+ new_plan_name: string;
7435
+ };
7436
+ /**
7437
+ * UpgradeTierOp
7438
+ *
7439
+ * Body for the upgrade-tier operation.
7440
+ */
7441
+ export type UpgradeTierOp = {
7442
+ /**
7443
+ * New Tier
7444
+ *
7445
+ * Target tier: ladybug-standard, ladybug-large, ladybug-xlarge
7446
+ */
7447
+ new_tier: string;
7448
+ };
7449
+ /**
7450
+ * UserGraphsResponse
7067
7451
  *
7068
7452
  * User graphs response model.
7069
7453
  */
@@ -7237,6 +7621,21 @@ export type ViewConfig = {
7237
7621
  */
7238
7622
  fill_value?: number;
7239
7623
  };
7624
+ /**
7625
+ * Error envelope returned by extensions operation endpoints. Shape aligns with FastAPI's default error detail plus an optional `operation_id` for audit correlation.
7626
+ */
7627
+ export type OperationError = {
7628
+ /**
7629
+ * Human-readable error detail or structured payload
7630
+ */
7631
+ detail?: string | {
7632
+ [key: string]: unknown;
7633
+ };
7634
+ /**
7635
+ * op_-prefixed ULID if the dispatcher minted one before the failure (async ops, idempotency conflicts, etc.)
7636
+ */
7637
+ operation_id?: string;
7638
+ };
7240
7639
  export type RegisterUserData = {
7241
7640
  body: RegisterRequest;
7242
7641
  path?: never;
@@ -8753,46 +9152,6 @@ export type ListBackupsResponses = {
8753
9152
  200: BackupListResponse;
8754
9153
  };
8755
9154
  export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
8756
- export type CreateBackupData = {
8757
- body: BackupCreateRequest;
8758
- path: {
8759
- /**
8760
- * Graph Id
8761
- */
8762
- graph_id: string;
8763
- };
8764
- query?: never;
8765
- url: '/v1/graphs/{graph_id}/backups';
8766
- };
8767
- export type CreateBackupErrors = {
8768
- /**
8769
- * Invalid backup configuration
8770
- */
8771
- 400: ErrorResponse;
8772
- /**
8773
- * Access denied - admin role required
8774
- */
8775
- 403: ErrorResponse;
8776
- /**
8777
- * Graph not found
8778
- */
8779
- 404: ErrorResponse;
8780
- /**
8781
- * Validation Error
8782
- */
8783
- 422: HttpValidationError;
8784
- /**
8785
- * Failed to initiate backup
8786
- */
8787
- 500: ErrorResponse;
8788
- };
8789
- export type CreateBackupError = CreateBackupErrors[keyof CreateBackupErrors];
8790
- export type CreateBackupResponses = {
8791
- /**
8792
- * Backup creation started
8793
- */
8794
- 202: unknown;
8795
- };
8796
9155
  export type GetBackupDownloadUrlData = {
8797
9156
  body?: never;
8798
9157
  path: {
@@ -8843,52 +9202,6 @@ export type GetBackupDownloadUrlResponses = {
8843
9202
  200: BackupDownloadUrlResponse;
8844
9203
  };
8845
9204
  export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
8846
- export type RestoreBackupData = {
8847
- body: BackupRestoreRequest;
8848
- path: {
8849
- /**
8850
- * Backup Id
8851
- *
8852
- * Backup identifier
8853
- */
8854
- backup_id: string;
8855
- /**
8856
- * Graph Id
8857
- */
8858
- graph_id: string;
8859
- };
8860
- query?: never;
8861
- url: '/v1/graphs/{graph_id}/backups/{backup_id}/restore';
8862
- };
8863
- export type RestoreBackupErrors = {
8864
- /**
8865
- * Invalid restore configuration
8866
- */
8867
- 400: ErrorResponse;
8868
- /**
8869
- * Access denied - admin role required
8870
- */
8871
- 403: ErrorResponse;
8872
- /**
8873
- * Backup not found
8874
- */
8875
- 404: ErrorResponse;
8876
- /**
8877
- * Validation Error
8878
- */
8879
- 422: HttpValidationError;
8880
- /**
8881
- * Failed to initiate restore
8882
- */
8883
- 500: ErrorResponse;
8884
- };
8885
- export type RestoreBackupError = RestoreBackupErrors[keyof RestoreBackupErrors];
8886
- export type RestoreBackupResponses = {
8887
- /**
8888
- * Restore started
8889
- */
8890
- 202: unknown;
8891
- };
8892
9205
  export type GetBackupStatsData = {
8893
9206
  body?: never;
8894
9207
  path: {
@@ -9475,85 +9788,6 @@ export type ListSubgraphsResponses = {
9475
9788
  200: ListSubgraphsResponse;
9476
9789
  };
9477
9790
  export type ListSubgraphsResponse2 = ListSubgraphsResponses[keyof ListSubgraphsResponses];
9478
- export type CreateSubgraphData = {
9479
- body: CreateSubgraphRequest;
9480
- path: {
9481
- /**
9482
- * Graph Id
9483
- */
9484
- graph_id: string;
9485
- };
9486
- query?: never;
9487
- url: '/v1/graphs/{graph_id}/subgraphs';
9488
- };
9489
- export type CreateSubgraphErrors = {
9490
- /**
9491
- * Validation Error
9492
- */
9493
- 422: HttpValidationError;
9494
- };
9495
- export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
9496
- export type CreateSubgraphResponses = {
9497
- /**
9498
- * Successful Response
9499
- */
9500
- 200: unknown;
9501
- };
9502
- export type DeleteSubgraphData = {
9503
- body: DeleteSubgraphRequest;
9504
- path: {
9505
- /**
9506
- * Graph Id
9507
- */
9508
- graph_id: string;
9509
- /**
9510
- * Subgraph Name
9511
- *
9512
- * Subgraph name to delete (e.g., 'dev', 'staging')
9513
- */
9514
- subgraph_name: string;
9515
- };
9516
- query?: never;
9517
- url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}';
9518
- };
9519
- export type DeleteSubgraphErrors = {
9520
- /**
9521
- * Invalid subgraph identifier
9522
- */
9523
- 400: unknown;
9524
- /**
9525
- * Not authenticated
9526
- */
9527
- 401: unknown;
9528
- /**
9529
- * Insufficient permissions
9530
- */
9531
- 403: unknown;
9532
- /**
9533
- * Subgraph not found
9534
- */
9535
- 404: unknown;
9536
- /**
9537
- * Subgraph contains data (use force=true)
9538
- */
9539
- 409: unknown;
9540
- /**
9541
- * Validation Error
9542
- */
9543
- 422: HttpValidationError;
9544
- /**
9545
- * Internal server error
9546
- */
9547
- 500: unknown;
9548
- };
9549
- export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
9550
- export type DeleteSubgraphResponses = {
9551
- /**
9552
- * Subgraph deleted successfully
9553
- */
9554
- 200: DeleteSubgraphResponse;
9555
- };
9556
- export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
9557
9791
  export type GetSubgraphInfoData = {
9558
9792
  body?: never;
9559
9793
  path: {
@@ -9569,7 +9803,7 @@ export type GetSubgraphInfoData = {
9569
9803
  subgraph_name: string;
9570
9804
  };
9571
9805
  query?: never;
9572
- url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}/info';
9806
+ url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}';
9573
9807
  };
9574
9808
  export type GetSubgraphInfoErrors = {
9575
9809
  /**
@@ -10061,8 +10295,14 @@ export type UploadDocumentsBulkResponses = {
10061
10295
  200: BulkDocumentUploadResponse;
10062
10296
  };
10063
10297
  export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
10064
- export type GetMaterializationStatusData = {
10065
- body?: never;
10298
+ export type OpCreateSubgraphData = {
10299
+ body: CreateSubgraphRequest;
10300
+ headers?: {
10301
+ /**
10302
+ * Idempotency-Key
10303
+ */
10304
+ 'Idempotency-Key'?: string | null;
10305
+ };
10066
10306
  path: {
10067
10307
  /**
10068
10308
  * Graph Id
@@ -10070,36 +10310,58 @@ export type GetMaterializationStatusData = {
10070
10310
  graph_id: string;
10071
10311
  };
10072
10312
  query?: never;
10073
- url: '/v1/graphs/{graph_id}/materialize';
10313
+ url: '/v1/graphs/{graph_id}/operations/create-subgraph';
10074
10314
  };
10075
- export type GetMaterializationStatusErrors = {
10315
+ export type OpCreateSubgraphErrors = {
10076
10316
  /**
10077
- * Not authenticated
10317
+ * Invalid request payload
10318
+ */
10319
+ 400: OperationError;
10320
+ /**
10321
+ * Unauthorized — missing or invalid credentials
10078
10322
  */
10079
10323
  401: unknown;
10080
10324
  /**
10081
- * Access denied - insufficient permissions
10325
+ * Forbidden caller cannot access this graph
10082
10326
  */
10083
- 403: ErrorResponse;
10327
+ 403: unknown;
10084
10328
  /**
10085
- * Graph not found
10329
+ * Resource not found (graph, ledger, report, etc.)
10086
10330
  */
10087
- 404: ErrorResponse;
10331
+ 404: OperationError;
10332
+ /**
10333
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10334
+ */
10335
+ 409: OperationError;
10088
10336
  /**
10089
10337
  * Validation Error
10090
10338
  */
10091
10339
  422: HttpValidationError;
10340
+ /**
10341
+ * Rate limit exceeded
10342
+ */
10343
+ 429: unknown;
10344
+ /**
10345
+ * Internal error
10346
+ */
10347
+ 500: unknown;
10092
10348
  };
10093
- export type GetMaterializationStatusError = GetMaterializationStatusErrors[keyof GetMaterializationStatusErrors];
10094
- export type GetMaterializationStatusResponses = {
10349
+ export type OpCreateSubgraphError = OpCreateSubgraphErrors[keyof OpCreateSubgraphErrors];
10350
+ export type OpCreateSubgraphResponses = {
10095
10351
  /**
10096
- * Materialization status retrieved successfully
10352
+ * Successful Response
10097
10353
  */
10098
- 200: MaterializeStatusResponse;
10354
+ 200: OperationEnvelope;
10099
10355
  };
10100
- export type GetMaterializationStatusResponse = GetMaterializationStatusResponses[keyof GetMaterializationStatusResponses];
10101
- export type MaterializeGraphData = {
10102
- body: MaterializeRequest;
10356
+ export type OpCreateSubgraphResponse = OpCreateSubgraphResponses[keyof OpCreateSubgraphResponses];
10357
+ export type OpDeleteSubgraphData = {
10358
+ body: DeleteSubgraphOp;
10359
+ headers?: {
10360
+ /**
10361
+ * Idempotency-Key
10362
+ */
10363
+ 'Idempotency-Key'?: string | null;
10364
+ };
10103
10365
  path: {
10104
10366
  /**
10105
10367
  * Graph Id
@@ -10107,55 +10369,316 @@ export type MaterializeGraphData = {
10107
10369
  graph_id: string;
10108
10370
  };
10109
10371
  query?: never;
10110
- url: '/v1/graphs/{graph_id}/materialize';
10372
+ url: '/v1/graphs/{graph_id}/operations/delete-subgraph';
10111
10373
  };
10112
- export type MaterializeGraphErrors = {
10374
+ export type OpDeleteSubgraphErrors = {
10113
10375
  /**
10114
- * Graph not stale and force=false
10376
+ * Invalid request payload
10115
10377
  */
10116
- 400: ErrorResponse;
10378
+ 400: OperationError;
10117
10379
  /**
10118
- * Not authenticated
10380
+ * Unauthorized — missing or invalid credentials
10119
10381
  */
10120
10382
  401: unknown;
10121
10383
  /**
10122
- * Access denied - shared repositories or insufficient permissions
10123
- */
10124
- 403: ErrorResponse;
10125
- /**
10126
- * Graph not found
10384
+ * Forbidden caller cannot access this graph
10127
10385
  */
10128
- 404: ErrorResponse;
10386
+ 403: unknown;
10129
10387
  /**
10130
- * Conflict - another materialization is already in progress for this graph
10388
+ * Resource not found (graph, ledger, report, etc.)
10131
10389
  */
10132
- 409: ErrorResponse;
10390
+ 404: OperationError;
10133
10391
  /**
10134
- * Graph content limit exceeded - data too large for current tier
10392
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10135
10393
  */
10136
- 413: ErrorResponse;
10394
+ 409: OperationError;
10137
10395
  /**
10138
10396
  * Validation Error
10139
10397
  */
10140
10398
  422: HttpValidationError;
10141
10399
  /**
10142
- * Internal server error
10400
+ * Rate limit exceeded
10401
+ */
10402
+ 429: unknown;
10403
+ /**
10404
+ * Internal error
10143
10405
  */
10144
10406
  500: unknown;
10145
10407
  };
10146
- export type MaterializeGraphError = MaterializeGraphErrors[keyof MaterializeGraphErrors];
10147
- export type MaterializeGraphResponses = {
10408
+ export type OpDeleteSubgraphError = OpDeleteSubgraphErrors[keyof OpDeleteSubgraphErrors];
10409
+ export type OpDeleteSubgraphResponses = {
10148
10410
  /**
10149
- * Graph materialized successfully
10411
+ * Successful Response
10150
10412
  */
10151
- 200: MaterializeResponse;
10413
+ 200: OperationEnvelope;
10152
10414
  };
10153
- export type MaterializeGraphResponse = MaterializeGraphResponses[keyof MaterializeGraphResponses];
10154
- export type ListFilesData = {
10155
- body?: never;
10156
- path: {
10415
+ export type OpDeleteSubgraphResponse = OpDeleteSubgraphResponses[keyof OpDeleteSubgraphResponses];
10416
+ export type OpCreateBackupData = {
10417
+ body: BackupCreateRequest;
10418
+ headers?: {
10157
10419
  /**
10158
- * Graph Id
10420
+ * Idempotency-Key
10421
+ */
10422
+ 'Idempotency-Key'?: string | null;
10423
+ };
10424
+ path: {
10425
+ /**
10426
+ * Graph Id
10427
+ */
10428
+ graph_id: string;
10429
+ };
10430
+ query?: never;
10431
+ url: '/v1/graphs/{graph_id}/operations/create-backup';
10432
+ };
10433
+ export type OpCreateBackupErrors = {
10434
+ /**
10435
+ * Invalid request payload
10436
+ */
10437
+ 400: OperationError;
10438
+ /**
10439
+ * Unauthorized — missing or invalid credentials
10440
+ */
10441
+ 401: unknown;
10442
+ /**
10443
+ * Forbidden — caller cannot access this graph
10444
+ */
10445
+ 403: unknown;
10446
+ /**
10447
+ * Resource not found (graph, ledger, report, etc.)
10448
+ */
10449
+ 404: OperationError;
10450
+ /**
10451
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10452
+ */
10453
+ 409: OperationError;
10454
+ /**
10455
+ * Validation Error
10456
+ */
10457
+ 422: HttpValidationError;
10458
+ /**
10459
+ * Rate limit exceeded
10460
+ */
10461
+ 429: unknown;
10462
+ /**
10463
+ * Internal error
10464
+ */
10465
+ 500: unknown;
10466
+ };
10467
+ export type OpCreateBackupError = OpCreateBackupErrors[keyof OpCreateBackupErrors];
10468
+ export type OpCreateBackupResponses = {
10469
+ /**
10470
+ * Successful Response
10471
+ */
10472
+ 202: OperationEnvelope;
10473
+ };
10474
+ export type OpCreateBackupResponse = OpCreateBackupResponses[keyof OpCreateBackupResponses];
10475
+ export type OpRestoreBackupData = {
10476
+ body: RestoreBackupOp;
10477
+ headers?: {
10478
+ /**
10479
+ * Idempotency-Key
10480
+ */
10481
+ 'Idempotency-Key'?: string | null;
10482
+ };
10483
+ path: {
10484
+ /**
10485
+ * Graph Id
10486
+ */
10487
+ graph_id: string;
10488
+ };
10489
+ query?: never;
10490
+ url: '/v1/graphs/{graph_id}/operations/restore-backup';
10491
+ };
10492
+ export type OpRestoreBackupErrors = {
10493
+ /**
10494
+ * Invalid request payload
10495
+ */
10496
+ 400: OperationError;
10497
+ /**
10498
+ * Unauthorized — missing or invalid credentials
10499
+ */
10500
+ 401: unknown;
10501
+ /**
10502
+ * Forbidden — caller cannot access this graph
10503
+ */
10504
+ 403: unknown;
10505
+ /**
10506
+ * Resource not found (graph, ledger, report, etc.)
10507
+ */
10508
+ 404: OperationError;
10509
+ /**
10510
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10511
+ */
10512
+ 409: OperationError;
10513
+ /**
10514
+ * Validation Error
10515
+ */
10516
+ 422: HttpValidationError;
10517
+ /**
10518
+ * Rate limit exceeded
10519
+ */
10520
+ 429: unknown;
10521
+ /**
10522
+ * Internal error
10523
+ */
10524
+ 500: unknown;
10525
+ };
10526
+ export type OpRestoreBackupError = OpRestoreBackupErrors[keyof OpRestoreBackupErrors];
10527
+ export type OpRestoreBackupResponses = {
10528
+ /**
10529
+ * Successful Response
10530
+ */
10531
+ 202: OperationEnvelope;
10532
+ };
10533
+ export type OpRestoreBackupResponse = OpRestoreBackupResponses[keyof OpRestoreBackupResponses];
10534
+ export type OpUpgradeTierData = {
10535
+ body: UpgradeTierOp;
10536
+ headers?: {
10537
+ /**
10538
+ * Idempotency-Key
10539
+ */
10540
+ 'Idempotency-Key'?: string | null;
10541
+ };
10542
+ path: {
10543
+ /**
10544
+ * Graph Id
10545
+ */
10546
+ graph_id: string;
10547
+ };
10548
+ query?: never;
10549
+ url: '/v1/graphs/{graph_id}/operations/upgrade-tier';
10550
+ };
10551
+ export type OpUpgradeTierErrors = {
10552
+ /**
10553
+ * Invalid request payload
10554
+ */
10555
+ 400: OperationError;
10556
+ /**
10557
+ * Unauthorized — missing or invalid credentials
10558
+ */
10559
+ 401: unknown;
10560
+ /**
10561
+ * Forbidden — caller cannot access this graph
10562
+ */
10563
+ 403: unknown;
10564
+ /**
10565
+ * Resource not found (graph, ledger, report, etc.)
10566
+ */
10567
+ 404: OperationError;
10568
+ /**
10569
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10570
+ */
10571
+ 409: OperationError;
10572
+ /**
10573
+ * Validation Error
10574
+ */
10575
+ 422: HttpValidationError;
10576
+ /**
10577
+ * Rate limit exceeded
10578
+ */
10579
+ 429: unknown;
10580
+ /**
10581
+ * Internal error
10582
+ */
10583
+ 500: unknown;
10584
+ };
10585
+ export type OpUpgradeTierError = OpUpgradeTierErrors[keyof OpUpgradeTierErrors];
10586
+ export type OpUpgradeTierResponses = {
10587
+ /**
10588
+ * Successful Response
10589
+ */
10590
+ 202: OperationEnvelope;
10591
+ };
10592
+ export type OpUpgradeTierResponse = OpUpgradeTierResponses[keyof OpUpgradeTierResponses];
10593
+ export type OpMaterializeData = {
10594
+ body?: never;
10595
+ headers?: {
10596
+ /**
10597
+ * Idempotency-Key
10598
+ */
10599
+ 'Idempotency-Key'?: string | null;
10600
+ };
10601
+ path: {
10602
+ /**
10603
+ * Graph Id
10604
+ */
10605
+ graph_id: string;
10606
+ };
10607
+ query?: {
10608
+ /**
10609
+ * Force
10610
+ */
10611
+ force?: boolean;
10612
+ /**
10613
+ * Rebuild
10614
+ */
10615
+ rebuild?: boolean;
10616
+ /**
10617
+ * Ignore Errors
10618
+ */
10619
+ ignore_errors?: boolean;
10620
+ /**
10621
+ * Dry Run
10622
+ */
10623
+ dry_run?: boolean;
10624
+ /**
10625
+ * Source
10626
+ */
10627
+ source?: string | null;
10628
+ /**
10629
+ * Materialize Embeddings
10630
+ */
10631
+ materialize_embeddings?: boolean;
10632
+ };
10633
+ url: '/v1/graphs/{graph_id}/operations/materialize';
10634
+ };
10635
+ export type OpMaterializeErrors = {
10636
+ /**
10637
+ * Invalid request payload
10638
+ */
10639
+ 400: OperationError;
10640
+ /**
10641
+ * Unauthorized — missing or invalid credentials
10642
+ */
10643
+ 401: unknown;
10644
+ /**
10645
+ * Forbidden — caller cannot access this graph
10646
+ */
10647
+ 403: unknown;
10648
+ /**
10649
+ * Resource not found (graph, ledger, report, etc.)
10650
+ */
10651
+ 404: OperationError;
10652
+ /**
10653
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
10654
+ */
10655
+ 409: OperationError;
10656
+ /**
10657
+ * Validation Error
10658
+ */
10659
+ 422: HttpValidationError;
10660
+ /**
10661
+ * Rate limit exceeded
10662
+ */
10663
+ 429: unknown;
10664
+ /**
10665
+ * Internal error
10666
+ */
10667
+ 500: unknown;
10668
+ };
10669
+ export type OpMaterializeError = OpMaterializeErrors[keyof OpMaterializeErrors];
10670
+ export type OpMaterializeResponses = {
10671
+ /**
10672
+ * Successful Response
10673
+ */
10674
+ 202: OperationEnvelope;
10675
+ };
10676
+ export type OpMaterializeResponse = OpMaterializeResponses[keyof OpMaterializeResponses];
10677
+ export type ListFilesData = {
10678
+ body?: never;
10679
+ path: {
10680
+ /**
10681
+ * Graph Id
10159
10682
  */
10160
10683
  graph_id: string;
10161
10684
  };
@@ -10952,6 +11475,14 @@ export type HandleHttpGetExtensionsGraphIdGraphqlGetData = {
10952
11475
  url: '/extensions/{graph_id}/graphql';
10953
11476
  };
10954
11477
  export type HandleHttpGetExtensionsGraphIdGraphqlGetErrors = {
11478
+ /**
11479
+ * Unauthorized — credentials presented but invalid
11480
+ */
11481
+ 401: unknown;
11482
+ /**
11483
+ * Forbidden — caller cannot access this graph
11484
+ */
11485
+ 403: unknown;
10955
11486
  /**
10956
11487
  * Not found if GraphiQL or query via GET are not enabled.
10957
11488
  */
@@ -10960,6 +11491,10 @@ export type HandleHttpGetExtensionsGraphIdGraphqlGetErrors = {
10960
11491
  * Validation Error
10961
11492
  */
10962
11493
  422: HttpValidationError;
11494
+ /**
11495
+ * Rate limit exceeded
11496
+ */
11497
+ 429: unknown;
10963
11498
  };
10964
11499
  export type HandleHttpGetExtensionsGraphIdGraphqlGetError = HandleHttpGetExtensionsGraphIdGraphqlGetErrors[keyof HandleHttpGetExtensionsGraphIdGraphqlGetErrors];
10965
11500
  export type HandleHttpGetExtensionsGraphIdGraphqlGetResponses = {
@@ -10980,10 +11515,22 @@ export type HandleHttpPostExtensionsGraphIdGraphqlPostData = {
10980
11515
  url: '/extensions/{graph_id}/graphql';
10981
11516
  };
10982
11517
  export type HandleHttpPostExtensionsGraphIdGraphqlPostErrors = {
11518
+ /**
11519
+ * Unauthorized — credentials presented but invalid
11520
+ */
11521
+ 401: unknown;
11522
+ /**
11523
+ * Forbidden — caller cannot access this graph
11524
+ */
11525
+ 403: unknown;
10983
11526
  /**
10984
11527
  * Validation Error
10985
11528
  */
10986
11529
  422: HttpValidationError;
11530
+ /**
11531
+ * Rate limit exceeded
11532
+ */
11533
+ 429: unknown;
10987
11534
  };
10988
11535
  export type HandleHttpPostExtensionsGraphIdGraphqlPostError = HandleHttpPostExtensionsGraphIdGraphqlPostErrors[keyof HandleHttpPostExtensionsGraphIdGraphqlPostErrors];
10989
11536
  export type HandleHttpPostExtensionsGraphIdGraphqlPostResponses = {
@@ -11010,10 +11557,38 @@ export type OpUpdateEntityData = {
11010
11557
  url: '/extensions/roboledger/{graph_id}/operations/update-entity';
11011
11558
  };
11012
11559
  export type OpUpdateEntityErrors = {
11560
+ /**
11561
+ * Invalid request payload
11562
+ */
11563
+ 400: OperationError;
11564
+ /**
11565
+ * Unauthorized — missing or invalid credentials
11566
+ */
11567
+ 401: unknown;
11568
+ /**
11569
+ * Forbidden — caller cannot access this graph
11570
+ */
11571
+ 403: unknown;
11572
+ /**
11573
+ * Resource not found (graph, ledger, report, etc.)
11574
+ */
11575
+ 404: OperationError;
11576
+ /**
11577
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11578
+ */
11579
+ 409: OperationError;
11013
11580
  /**
11014
11581
  * Validation Error
11015
11582
  */
11016
11583
  422: HttpValidationError;
11584
+ /**
11585
+ * Rate limit exceeded
11586
+ */
11587
+ 429: unknown;
11588
+ /**
11589
+ * Internal error
11590
+ */
11591
+ 500: unknown;
11017
11592
  };
11018
11593
  export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
11019
11594
  export type OpUpdateEntityResponses = {
@@ -11041,10 +11616,38 @@ export type OpInitializeLedgerData = {
11041
11616
  url: '/extensions/roboledger/{graph_id}/operations/initialize';
11042
11617
  };
11043
11618
  export type OpInitializeLedgerErrors = {
11619
+ /**
11620
+ * Invalid request payload
11621
+ */
11622
+ 400: OperationError;
11623
+ /**
11624
+ * Unauthorized — missing or invalid credentials
11625
+ */
11626
+ 401: unknown;
11627
+ /**
11628
+ * Forbidden — caller cannot access this graph
11629
+ */
11630
+ 403: unknown;
11631
+ /**
11632
+ * Resource not found (graph, ledger, report, etc.)
11633
+ */
11634
+ 404: OperationError;
11635
+ /**
11636
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11637
+ */
11638
+ 409: OperationError;
11044
11639
  /**
11045
11640
  * Validation Error
11046
11641
  */
11047
11642
  422: HttpValidationError;
11643
+ /**
11644
+ * Rate limit exceeded
11645
+ */
11646
+ 429: unknown;
11647
+ /**
11648
+ * Internal error
11649
+ */
11650
+ 500: unknown;
11048
11651
  };
11049
11652
  export type OpInitializeLedgerError = OpInitializeLedgerErrors[keyof OpInitializeLedgerErrors];
11050
11653
  export type OpInitializeLedgerResponses = {
@@ -11073,10 +11676,38 @@ export type OpSetCloseTargetData = {
11073
11676
  };
11074
11677
  export type OpSetCloseTargetErrors = {
11075
11678
  /**
11076
- * Validation Error
11679
+ * Invalid request payload
11077
11680
  */
11078
- 422: HttpValidationError;
11079
- };
11681
+ 400: OperationError;
11682
+ /**
11683
+ * Unauthorized — missing or invalid credentials
11684
+ */
11685
+ 401: unknown;
11686
+ /**
11687
+ * Forbidden — caller cannot access this graph
11688
+ */
11689
+ 403: unknown;
11690
+ /**
11691
+ * Resource not found (graph, ledger, report, etc.)
11692
+ */
11693
+ 404: OperationError;
11694
+ /**
11695
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11696
+ */
11697
+ 409: OperationError;
11698
+ /**
11699
+ * Validation Error
11700
+ */
11701
+ 422: HttpValidationError;
11702
+ /**
11703
+ * Rate limit exceeded
11704
+ */
11705
+ 429: unknown;
11706
+ /**
11707
+ * Internal error
11708
+ */
11709
+ 500: unknown;
11710
+ };
11080
11711
  export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
11081
11712
  export type OpSetCloseTargetResponses = {
11082
11713
  /**
@@ -11103,10 +11734,38 @@ export type OpClosePeriodData = {
11103
11734
  url: '/extensions/roboledger/{graph_id}/operations/close-period';
11104
11735
  };
11105
11736
  export type OpClosePeriodErrors = {
11737
+ /**
11738
+ * Invalid request payload
11739
+ */
11740
+ 400: OperationError;
11741
+ /**
11742
+ * Unauthorized — missing or invalid credentials
11743
+ */
11744
+ 401: unknown;
11745
+ /**
11746
+ * Forbidden — caller cannot access this graph
11747
+ */
11748
+ 403: unknown;
11749
+ /**
11750
+ * Resource not found (graph, ledger, report, etc.)
11751
+ */
11752
+ 404: OperationError;
11753
+ /**
11754
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11755
+ */
11756
+ 409: OperationError;
11106
11757
  /**
11107
11758
  * Validation Error
11108
11759
  */
11109
11760
  422: HttpValidationError;
11761
+ /**
11762
+ * Rate limit exceeded
11763
+ */
11764
+ 429: unknown;
11765
+ /**
11766
+ * Internal error
11767
+ */
11768
+ 500: unknown;
11110
11769
  };
11111
11770
  export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
11112
11771
  export type OpClosePeriodResponses = {
@@ -11134,10 +11793,38 @@ export type OpReopenPeriodData = {
11134
11793
  url: '/extensions/roboledger/{graph_id}/operations/reopen-period';
11135
11794
  };
11136
11795
  export type OpReopenPeriodErrors = {
11796
+ /**
11797
+ * Invalid request payload
11798
+ */
11799
+ 400: OperationError;
11800
+ /**
11801
+ * Unauthorized — missing or invalid credentials
11802
+ */
11803
+ 401: unknown;
11804
+ /**
11805
+ * Forbidden — caller cannot access this graph
11806
+ */
11807
+ 403: unknown;
11808
+ /**
11809
+ * Resource not found (graph, ledger, report, etc.)
11810
+ */
11811
+ 404: OperationError;
11812
+ /**
11813
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11814
+ */
11815
+ 409: OperationError;
11137
11816
  /**
11138
11817
  * Validation Error
11139
11818
  */
11140
11819
  422: HttpValidationError;
11820
+ /**
11821
+ * Rate limit exceeded
11822
+ */
11823
+ 429: unknown;
11824
+ /**
11825
+ * Internal error
11826
+ */
11827
+ 500: unknown;
11141
11828
  };
11142
11829
  export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
11143
11830
  export type OpReopenPeriodResponses = {
@@ -11165,10 +11852,38 @@ export type OpCreateScheduleData = {
11165
11852
  url: '/extensions/roboledger/{graph_id}/operations/create-schedule';
11166
11853
  };
11167
11854
  export type OpCreateScheduleErrors = {
11855
+ /**
11856
+ * Invalid request payload
11857
+ */
11858
+ 400: OperationError;
11859
+ /**
11860
+ * Unauthorized — missing or invalid credentials
11861
+ */
11862
+ 401: unknown;
11863
+ /**
11864
+ * Forbidden — caller cannot access this graph
11865
+ */
11866
+ 403: unknown;
11867
+ /**
11868
+ * Resource not found (graph, ledger, report, etc.)
11869
+ */
11870
+ 404: OperationError;
11871
+ /**
11872
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11873
+ */
11874
+ 409: OperationError;
11168
11875
  /**
11169
11876
  * Validation Error
11170
11877
  */
11171
11878
  422: HttpValidationError;
11879
+ /**
11880
+ * Rate limit exceeded
11881
+ */
11882
+ 429: unknown;
11883
+ /**
11884
+ * Internal error
11885
+ */
11886
+ 500: unknown;
11172
11887
  };
11173
11888
  export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
11174
11889
  export type OpCreateScheduleResponses = {
@@ -11196,10 +11911,38 @@ export type OpTruncateScheduleData = {
11196
11911
  url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
11197
11912
  };
11198
11913
  export type OpTruncateScheduleErrors = {
11914
+ /**
11915
+ * Invalid request payload
11916
+ */
11917
+ 400: OperationError;
11918
+ /**
11919
+ * Unauthorized — missing or invalid credentials
11920
+ */
11921
+ 401: unknown;
11922
+ /**
11923
+ * Forbidden — caller cannot access this graph
11924
+ */
11925
+ 403: unknown;
11926
+ /**
11927
+ * Resource not found (graph, ledger, report, etc.)
11928
+ */
11929
+ 404: OperationError;
11930
+ /**
11931
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11932
+ */
11933
+ 409: OperationError;
11199
11934
  /**
11200
11935
  * Validation Error
11201
11936
  */
11202
11937
  422: HttpValidationError;
11938
+ /**
11939
+ * Rate limit exceeded
11940
+ */
11941
+ 429: unknown;
11942
+ /**
11943
+ * Internal error
11944
+ */
11945
+ 500: unknown;
11203
11946
  };
11204
11947
  export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
11205
11948
  export type OpTruncateScheduleResponses = {
@@ -11227,10 +11970,38 @@ export type OpCreateClosingEntryData = {
11227
11970
  url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
11228
11971
  };
11229
11972
  export type OpCreateClosingEntryErrors = {
11973
+ /**
11974
+ * Invalid request payload
11975
+ */
11976
+ 400: OperationError;
11977
+ /**
11978
+ * Unauthorized — missing or invalid credentials
11979
+ */
11980
+ 401: unknown;
11981
+ /**
11982
+ * Forbidden — caller cannot access this graph
11983
+ */
11984
+ 403: unknown;
11985
+ /**
11986
+ * Resource not found (graph, ledger, report, etc.)
11987
+ */
11988
+ 404: OperationError;
11989
+ /**
11990
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
11991
+ */
11992
+ 409: OperationError;
11230
11993
  /**
11231
11994
  * Validation Error
11232
11995
  */
11233
11996
  422: HttpValidationError;
11997
+ /**
11998
+ * Rate limit exceeded
11999
+ */
12000
+ 429: unknown;
12001
+ /**
12002
+ * Internal error
12003
+ */
12004
+ 500: unknown;
11234
12005
  };
11235
12006
  export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
11236
12007
  export type OpCreateClosingEntryResponses = {
@@ -11258,10 +12029,38 @@ export type OpCreateManualClosingEntryData = {
11258
12029
  url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
11259
12030
  };
11260
12031
  export type OpCreateManualClosingEntryErrors = {
12032
+ /**
12033
+ * Invalid request payload
12034
+ */
12035
+ 400: OperationError;
12036
+ /**
12037
+ * Unauthorized — missing or invalid credentials
12038
+ */
12039
+ 401: unknown;
12040
+ /**
12041
+ * Forbidden — caller cannot access this graph
12042
+ */
12043
+ 403: unknown;
12044
+ /**
12045
+ * Resource not found (graph, ledger, report, etc.)
12046
+ */
12047
+ 404: OperationError;
12048
+ /**
12049
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12050
+ */
12051
+ 409: OperationError;
11261
12052
  /**
11262
12053
  * Validation Error
11263
12054
  */
11264
12055
  422: HttpValidationError;
12056
+ /**
12057
+ * Rate limit exceeded
12058
+ */
12059
+ 429: unknown;
12060
+ /**
12061
+ * Internal error
12062
+ */
12063
+ 500: unknown;
11265
12064
  };
11266
12065
  export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
11267
12066
  export type OpCreateManualClosingEntryResponses = {
@@ -11289,10 +12088,38 @@ export type OpCreateTaxonomyData = {
11289
12088
  url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy';
11290
12089
  };
11291
12090
  export type OpCreateTaxonomyErrors = {
12091
+ /**
12092
+ * Invalid request payload
12093
+ */
12094
+ 400: OperationError;
12095
+ /**
12096
+ * Unauthorized — missing or invalid credentials
12097
+ */
12098
+ 401: unknown;
12099
+ /**
12100
+ * Forbidden — caller cannot access this graph
12101
+ */
12102
+ 403: unknown;
12103
+ /**
12104
+ * Resource not found (graph, ledger, report, etc.)
12105
+ */
12106
+ 404: OperationError;
12107
+ /**
12108
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12109
+ */
12110
+ 409: OperationError;
11292
12111
  /**
11293
12112
  * Validation Error
11294
12113
  */
11295
12114
  422: HttpValidationError;
12115
+ /**
12116
+ * Rate limit exceeded
12117
+ */
12118
+ 429: unknown;
12119
+ /**
12120
+ * Internal error
12121
+ */
12122
+ 500: unknown;
11296
12123
  };
11297
12124
  export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
11298
12125
  export type OpCreateTaxonomyResponses = {
@@ -11320,10 +12147,38 @@ export type OpCreateStructureData = {
11320
12147
  url: '/extensions/roboledger/{graph_id}/operations/create-structure';
11321
12148
  };
11322
12149
  export type OpCreateStructureErrors = {
12150
+ /**
12151
+ * Invalid request payload
12152
+ */
12153
+ 400: OperationError;
12154
+ /**
12155
+ * Unauthorized — missing or invalid credentials
12156
+ */
12157
+ 401: unknown;
12158
+ /**
12159
+ * Forbidden — caller cannot access this graph
12160
+ */
12161
+ 403: unknown;
12162
+ /**
12163
+ * Resource not found (graph, ledger, report, etc.)
12164
+ */
12165
+ 404: OperationError;
12166
+ /**
12167
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12168
+ */
12169
+ 409: OperationError;
11323
12170
  /**
11324
12171
  * Validation Error
11325
12172
  */
11326
12173
  422: HttpValidationError;
12174
+ /**
12175
+ * Rate limit exceeded
12176
+ */
12177
+ 429: unknown;
12178
+ /**
12179
+ * Internal error
12180
+ */
12181
+ 500: unknown;
11327
12182
  };
11328
12183
  export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
11329
12184
  export type OpCreateStructureResponses = {
@@ -11351,10 +12206,38 @@ export type OpCreateMappingAssociationData = {
11351
12206
  url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
11352
12207
  };
11353
12208
  export type OpCreateMappingAssociationErrors = {
12209
+ /**
12210
+ * Invalid request payload
12211
+ */
12212
+ 400: OperationError;
12213
+ /**
12214
+ * Unauthorized — missing or invalid credentials
12215
+ */
12216
+ 401: unknown;
12217
+ /**
12218
+ * Forbidden — caller cannot access this graph
12219
+ */
12220
+ 403: unknown;
12221
+ /**
12222
+ * Resource not found (graph, ledger, report, etc.)
12223
+ */
12224
+ 404: OperationError;
12225
+ /**
12226
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12227
+ */
12228
+ 409: OperationError;
11354
12229
  /**
11355
12230
  * Validation Error
11356
12231
  */
11357
12232
  422: HttpValidationError;
12233
+ /**
12234
+ * Rate limit exceeded
12235
+ */
12236
+ 429: unknown;
12237
+ /**
12238
+ * Internal error
12239
+ */
12240
+ 500: unknown;
11358
12241
  };
11359
12242
  export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
11360
12243
  export type OpCreateMappingAssociationResponses = {
@@ -11382,10 +12265,38 @@ export type OpDeleteMappingAssociationData = {
11382
12265
  url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association';
11383
12266
  };
11384
12267
  export type OpDeleteMappingAssociationErrors = {
12268
+ /**
12269
+ * Invalid request payload
12270
+ */
12271
+ 400: OperationError;
12272
+ /**
12273
+ * Unauthorized — missing or invalid credentials
12274
+ */
12275
+ 401: unknown;
12276
+ /**
12277
+ * Forbidden — caller cannot access this graph
12278
+ */
12279
+ 403: unknown;
12280
+ /**
12281
+ * Resource not found (graph, ledger, report, etc.)
12282
+ */
12283
+ 404: OperationError;
12284
+ /**
12285
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12286
+ */
12287
+ 409: OperationError;
11385
12288
  /**
11386
12289
  * Validation Error
11387
12290
  */
11388
12291
  422: HttpValidationError;
12292
+ /**
12293
+ * Rate limit exceeded
12294
+ */
12295
+ 429: unknown;
12296
+ /**
12297
+ * Internal error
12298
+ */
12299
+ 500: unknown;
11389
12300
  };
11390
12301
  export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
11391
12302
  export type OpDeleteMappingAssociationResponses = {
@@ -11395,8 +12306,8 @@ export type OpDeleteMappingAssociationResponses = {
11395
12306
  200: OperationEnvelope;
11396
12307
  };
11397
12308
  export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
11398
- export type OpAutoMapElementsData = {
11399
- body: AutoMapElementsOperation;
12309
+ export type OpUpdateTaxonomyData = {
12310
+ body: UpdateTaxonomyRequest;
11400
12311
  headers?: {
11401
12312
  /**
11402
12313
  * Idempotency-Key
@@ -11410,24 +12321,52 @@ export type OpAutoMapElementsData = {
11410
12321
  graph_id: string;
11411
12322
  };
11412
12323
  query?: never;
11413
- url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
12324
+ url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
11414
12325
  };
11415
- export type OpAutoMapElementsErrors = {
12326
+ export type OpUpdateTaxonomyErrors = {
12327
+ /**
12328
+ * Invalid request payload
12329
+ */
12330
+ 400: OperationError;
12331
+ /**
12332
+ * Unauthorized — missing or invalid credentials
12333
+ */
12334
+ 401: unknown;
12335
+ /**
12336
+ * Forbidden — caller cannot access this graph
12337
+ */
12338
+ 403: unknown;
12339
+ /**
12340
+ * Resource not found (graph, ledger, report, etc.)
12341
+ */
12342
+ 404: OperationError;
12343
+ /**
12344
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12345
+ */
12346
+ 409: OperationError;
11416
12347
  /**
11417
12348
  * Validation Error
11418
12349
  */
11419
12350
  422: HttpValidationError;
12351
+ /**
12352
+ * Rate limit exceeded
12353
+ */
12354
+ 429: unknown;
12355
+ /**
12356
+ * Internal error
12357
+ */
12358
+ 500: unknown;
11420
12359
  };
11421
- export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
11422
- export type OpAutoMapElementsResponses = {
12360
+ export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
12361
+ export type OpUpdateTaxonomyResponses = {
11423
12362
  /**
11424
12363
  * Successful Response
11425
12364
  */
11426
- 202: OperationEnvelope;
12365
+ 200: OperationEnvelope;
11427
12366
  };
11428
- export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
11429
- export type OpCreateReportData = {
11430
- body: CreateReportRequest;
12367
+ export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
12368
+ export type OpDeleteTaxonomyData = {
12369
+ body: DeleteTaxonomyRequest;
11431
12370
  headers?: {
11432
12371
  /**
11433
12372
  * Idempotency-Key
@@ -11441,13 +12380,1044 @@ export type OpCreateReportData = {
11441
12380
  graph_id: string;
11442
12381
  };
11443
12382
  query?: never;
11444
- url: '/extensions/roboledger/{graph_id}/operations/create-report';
12383
+ url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
11445
12384
  };
11446
- export type OpCreateReportErrors = {
12385
+ export type OpDeleteTaxonomyErrors = {
12386
+ /**
12387
+ * Invalid request payload
12388
+ */
12389
+ 400: OperationError;
12390
+ /**
12391
+ * Unauthorized — missing or invalid credentials
12392
+ */
12393
+ 401: unknown;
12394
+ /**
12395
+ * Forbidden — caller cannot access this graph
12396
+ */
12397
+ 403: unknown;
12398
+ /**
12399
+ * Resource not found (graph, ledger, report, etc.)
12400
+ */
12401
+ 404: OperationError;
12402
+ /**
12403
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12404
+ */
12405
+ 409: OperationError;
12406
+ /**
12407
+ * Validation Error
12408
+ */
12409
+ 422: HttpValidationError;
12410
+ /**
12411
+ * Rate limit exceeded
12412
+ */
12413
+ 429: unknown;
12414
+ /**
12415
+ * Internal error
12416
+ */
12417
+ 500: unknown;
12418
+ };
12419
+ export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
12420
+ export type OpDeleteTaxonomyResponses = {
12421
+ /**
12422
+ * Successful Response
12423
+ */
12424
+ 200: OperationEnvelope;
12425
+ };
12426
+ export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
12427
+ export type OpLinkEntityTaxonomyData = {
12428
+ body: LinkEntityTaxonomyRequest;
12429
+ headers?: {
12430
+ /**
12431
+ * Idempotency-Key
12432
+ */
12433
+ 'Idempotency-Key'?: string | null;
12434
+ };
12435
+ path: {
12436
+ /**
12437
+ * Graph Id
12438
+ */
12439
+ graph_id: string;
12440
+ };
12441
+ query?: never;
12442
+ url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
12443
+ };
12444
+ export type OpLinkEntityTaxonomyErrors = {
12445
+ /**
12446
+ * Invalid request payload
12447
+ */
12448
+ 400: OperationError;
12449
+ /**
12450
+ * Unauthorized — missing or invalid credentials
12451
+ */
12452
+ 401: unknown;
12453
+ /**
12454
+ * Forbidden — caller cannot access this graph
12455
+ */
12456
+ 403: unknown;
12457
+ /**
12458
+ * Resource not found (graph, ledger, report, etc.)
12459
+ */
12460
+ 404: OperationError;
12461
+ /**
12462
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12463
+ */
12464
+ 409: OperationError;
12465
+ /**
12466
+ * Validation Error
12467
+ */
12468
+ 422: HttpValidationError;
12469
+ /**
12470
+ * Rate limit exceeded
12471
+ */
12472
+ 429: unknown;
12473
+ /**
12474
+ * Internal error
12475
+ */
12476
+ 500: unknown;
12477
+ };
12478
+ export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
12479
+ export type OpLinkEntityTaxonomyResponses = {
12480
+ /**
12481
+ * Successful Response
12482
+ */
12483
+ 200: OperationEnvelope;
12484
+ };
12485
+ export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
12486
+ export type OpUpdateStructureData = {
12487
+ body: UpdateStructureRequest;
12488
+ headers?: {
12489
+ /**
12490
+ * Idempotency-Key
12491
+ */
12492
+ 'Idempotency-Key'?: string | null;
12493
+ };
12494
+ path: {
12495
+ /**
12496
+ * Graph Id
12497
+ */
12498
+ graph_id: string;
12499
+ };
12500
+ query?: never;
12501
+ url: '/extensions/roboledger/{graph_id}/operations/update-structure';
12502
+ };
12503
+ export type OpUpdateStructureErrors = {
12504
+ /**
12505
+ * Invalid request payload
12506
+ */
12507
+ 400: OperationError;
12508
+ /**
12509
+ * Unauthorized — missing or invalid credentials
12510
+ */
12511
+ 401: unknown;
12512
+ /**
12513
+ * Forbidden — caller cannot access this graph
12514
+ */
12515
+ 403: unknown;
12516
+ /**
12517
+ * Resource not found (graph, ledger, report, etc.)
12518
+ */
12519
+ 404: OperationError;
12520
+ /**
12521
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12522
+ */
12523
+ 409: OperationError;
12524
+ /**
12525
+ * Validation Error
12526
+ */
12527
+ 422: HttpValidationError;
12528
+ /**
12529
+ * Rate limit exceeded
12530
+ */
12531
+ 429: unknown;
12532
+ /**
12533
+ * Internal error
12534
+ */
12535
+ 500: unknown;
12536
+ };
12537
+ export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
12538
+ export type OpUpdateStructureResponses = {
12539
+ /**
12540
+ * Successful Response
12541
+ */
12542
+ 200: OperationEnvelope;
12543
+ };
12544
+ export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
12545
+ export type OpDeleteStructureData = {
12546
+ body: DeleteStructureRequest;
12547
+ headers?: {
12548
+ /**
12549
+ * Idempotency-Key
12550
+ */
12551
+ 'Idempotency-Key'?: string | null;
12552
+ };
12553
+ path: {
12554
+ /**
12555
+ * Graph Id
12556
+ */
12557
+ graph_id: string;
12558
+ };
12559
+ query?: never;
12560
+ url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
12561
+ };
12562
+ export type OpDeleteStructureErrors = {
12563
+ /**
12564
+ * Invalid request payload
12565
+ */
12566
+ 400: OperationError;
12567
+ /**
12568
+ * Unauthorized — missing or invalid credentials
12569
+ */
12570
+ 401: unknown;
12571
+ /**
12572
+ * Forbidden — caller cannot access this graph
12573
+ */
12574
+ 403: unknown;
12575
+ /**
12576
+ * Resource not found (graph, ledger, report, etc.)
12577
+ */
12578
+ 404: OperationError;
12579
+ /**
12580
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12581
+ */
12582
+ 409: OperationError;
12583
+ /**
12584
+ * Validation Error
12585
+ */
12586
+ 422: HttpValidationError;
12587
+ /**
12588
+ * Rate limit exceeded
12589
+ */
12590
+ 429: unknown;
12591
+ /**
12592
+ * Internal error
12593
+ */
12594
+ 500: unknown;
12595
+ };
12596
+ export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
12597
+ export type OpDeleteStructureResponses = {
12598
+ /**
12599
+ * Successful Response
12600
+ */
12601
+ 200: OperationEnvelope;
12602
+ };
12603
+ export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
12604
+ export type OpCreateElementData = {
12605
+ body: CreateElementRequest;
12606
+ headers?: {
12607
+ /**
12608
+ * Idempotency-Key
12609
+ */
12610
+ 'Idempotency-Key'?: string | null;
12611
+ };
12612
+ path: {
12613
+ /**
12614
+ * Graph Id
12615
+ */
12616
+ graph_id: string;
12617
+ };
12618
+ query?: never;
12619
+ url: '/extensions/roboledger/{graph_id}/operations/create-element';
12620
+ };
12621
+ export type OpCreateElementErrors = {
12622
+ /**
12623
+ * Invalid request payload
12624
+ */
12625
+ 400: OperationError;
12626
+ /**
12627
+ * Unauthorized — missing or invalid credentials
12628
+ */
12629
+ 401: unknown;
12630
+ /**
12631
+ * Forbidden — caller cannot access this graph
12632
+ */
12633
+ 403: unknown;
12634
+ /**
12635
+ * Resource not found (graph, ledger, report, etc.)
12636
+ */
12637
+ 404: OperationError;
12638
+ /**
12639
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12640
+ */
12641
+ 409: OperationError;
12642
+ /**
12643
+ * Validation Error
12644
+ */
12645
+ 422: HttpValidationError;
12646
+ /**
12647
+ * Rate limit exceeded
12648
+ */
12649
+ 429: unknown;
12650
+ /**
12651
+ * Internal error
12652
+ */
12653
+ 500: unknown;
12654
+ };
12655
+ export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
12656
+ export type OpCreateElementResponses = {
12657
+ /**
12658
+ * Successful Response
12659
+ */
12660
+ 200: OperationEnvelope;
12661
+ };
12662
+ export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
12663
+ export type OpUpdateElementData = {
12664
+ body: UpdateElementRequest;
12665
+ headers?: {
12666
+ /**
12667
+ * Idempotency-Key
12668
+ */
12669
+ 'Idempotency-Key'?: string | null;
12670
+ };
12671
+ path: {
12672
+ /**
12673
+ * Graph Id
12674
+ */
12675
+ graph_id: string;
12676
+ };
12677
+ query?: never;
12678
+ url: '/extensions/roboledger/{graph_id}/operations/update-element';
12679
+ };
12680
+ export type OpUpdateElementErrors = {
12681
+ /**
12682
+ * Invalid request payload
12683
+ */
12684
+ 400: OperationError;
12685
+ /**
12686
+ * Unauthorized — missing or invalid credentials
12687
+ */
12688
+ 401: unknown;
12689
+ /**
12690
+ * Forbidden — caller cannot access this graph
12691
+ */
12692
+ 403: unknown;
12693
+ /**
12694
+ * Resource not found (graph, ledger, report, etc.)
12695
+ */
12696
+ 404: OperationError;
12697
+ /**
12698
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12699
+ */
12700
+ 409: OperationError;
12701
+ /**
12702
+ * Validation Error
12703
+ */
12704
+ 422: HttpValidationError;
12705
+ /**
12706
+ * Rate limit exceeded
12707
+ */
12708
+ 429: unknown;
12709
+ /**
12710
+ * Internal error
12711
+ */
12712
+ 500: unknown;
12713
+ };
12714
+ export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
12715
+ export type OpUpdateElementResponses = {
12716
+ /**
12717
+ * Successful Response
12718
+ */
12719
+ 200: OperationEnvelope;
12720
+ };
12721
+ export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
12722
+ export type OpDeleteElementData = {
12723
+ body: DeleteElementRequest;
12724
+ headers?: {
12725
+ /**
12726
+ * Idempotency-Key
12727
+ */
12728
+ 'Idempotency-Key'?: string | null;
12729
+ };
12730
+ path: {
12731
+ /**
12732
+ * Graph Id
12733
+ */
12734
+ graph_id: string;
12735
+ };
12736
+ query?: never;
12737
+ url: '/extensions/roboledger/{graph_id}/operations/delete-element';
12738
+ };
12739
+ export type OpDeleteElementErrors = {
12740
+ /**
12741
+ * Invalid request payload
12742
+ */
12743
+ 400: OperationError;
12744
+ /**
12745
+ * Unauthorized — missing or invalid credentials
12746
+ */
12747
+ 401: unknown;
12748
+ /**
12749
+ * Forbidden — caller cannot access this graph
12750
+ */
12751
+ 403: unknown;
12752
+ /**
12753
+ * Resource not found (graph, ledger, report, etc.)
12754
+ */
12755
+ 404: OperationError;
12756
+ /**
12757
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12758
+ */
12759
+ 409: OperationError;
12760
+ /**
12761
+ * Validation Error
12762
+ */
12763
+ 422: HttpValidationError;
12764
+ /**
12765
+ * Rate limit exceeded
12766
+ */
12767
+ 429: unknown;
12768
+ /**
12769
+ * Internal error
12770
+ */
12771
+ 500: unknown;
12772
+ };
12773
+ export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
12774
+ export type OpDeleteElementResponses = {
12775
+ /**
12776
+ * Successful Response
12777
+ */
12778
+ 200: OperationEnvelope;
12779
+ };
12780
+ export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
12781
+ export type OpCreateAssociationsData = {
12782
+ body: BulkCreateAssociationsRequest;
12783
+ headers?: {
12784
+ /**
12785
+ * Idempotency-Key
12786
+ */
12787
+ 'Idempotency-Key'?: string | null;
12788
+ };
12789
+ path: {
12790
+ /**
12791
+ * Graph Id
12792
+ */
12793
+ graph_id: string;
12794
+ };
12795
+ query?: never;
12796
+ url: '/extensions/roboledger/{graph_id}/operations/create-associations';
12797
+ };
12798
+ export type OpCreateAssociationsErrors = {
12799
+ /**
12800
+ * Invalid request payload
12801
+ */
12802
+ 400: OperationError;
12803
+ /**
12804
+ * Unauthorized — missing or invalid credentials
12805
+ */
12806
+ 401: unknown;
12807
+ /**
12808
+ * Forbidden — caller cannot access this graph
12809
+ */
12810
+ 403: unknown;
12811
+ /**
12812
+ * Resource not found (graph, ledger, report, etc.)
12813
+ */
12814
+ 404: OperationError;
12815
+ /**
12816
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12817
+ */
12818
+ 409: OperationError;
12819
+ /**
12820
+ * Validation Error
12821
+ */
12822
+ 422: HttpValidationError;
12823
+ /**
12824
+ * Rate limit exceeded
12825
+ */
12826
+ 429: unknown;
12827
+ /**
12828
+ * Internal error
12829
+ */
12830
+ 500: unknown;
12831
+ };
12832
+ export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
12833
+ export type OpCreateAssociationsResponses = {
12834
+ /**
12835
+ * Successful Response
12836
+ */
12837
+ 200: OperationEnvelope;
12838
+ };
12839
+ export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
12840
+ export type OpUpdateAssociationData = {
12841
+ body: UpdateAssociationRequest;
12842
+ headers?: {
12843
+ /**
12844
+ * Idempotency-Key
12845
+ */
12846
+ 'Idempotency-Key'?: string | null;
12847
+ };
12848
+ path: {
12849
+ /**
12850
+ * Graph Id
12851
+ */
12852
+ graph_id: string;
12853
+ };
12854
+ query?: never;
12855
+ url: '/extensions/roboledger/{graph_id}/operations/update-association';
12856
+ };
12857
+ export type OpUpdateAssociationErrors = {
12858
+ /**
12859
+ * Invalid request payload
12860
+ */
12861
+ 400: OperationError;
12862
+ /**
12863
+ * Unauthorized — missing or invalid credentials
12864
+ */
12865
+ 401: unknown;
12866
+ /**
12867
+ * Forbidden — caller cannot access this graph
12868
+ */
12869
+ 403: unknown;
12870
+ /**
12871
+ * Resource not found (graph, ledger, report, etc.)
12872
+ */
12873
+ 404: OperationError;
12874
+ /**
12875
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12876
+ */
12877
+ 409: OperationError;
12878
+ /**
12879
+ * Validation Error
12880
+ */
12881
+ 422: HttpValidationError;
12882
+ /**
12883
+ * Rate limit exceeded
12884
+ */
12885
+ 429: unknown;
12886
+ /**
12887
+ * Internal error
12888
+ */
12889
+ 500: unknown;
12890
+ };
12891
+ export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
12892
+ export type OpUpdateAssociationResponses = {
12893
+ /**
12894
+ * Successful Response
12895
+ */
12896
+ 200: OperationEnvelope;
12897
+ };
12898
+ export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
12899
+ export type OpDeleteAssociationData = {
12900
+ body: DeleteAssociationRequest;
12901
+ headers?: {
12902
+ /**
12903
+ * Idempotency-Key
12904
+ */
12905
+ 'Idempotency-Key'?: string | null;
12906
+ };
12907
+ path: {
12908
+ /**
12909
+ * Graph Id
12910
+ */
12911
+ graph_id: string;
12912
+ };
12913
+ query?: never;
12914
+ url: '/extensions/roboledger/{graph_id}/operations/delete-association';
12915
+ };
12916
+ export type OpDeleteAssociationErrors = {
12917
+ /**
12918
+ * Invalid request payload
12919
+ */
12920
+ 400: OperationError;
12921
+ /**
12922
+ * Unauthorized — missing or invalid credentials
12923
+ */
12924
+ 401: unknown;
12925
+ /**
12926
+ * Forbidden — caller cannot access this graph
12927
+ */
12928
+ 403: unknown;
12929
+ /**
12930
+ * Resource not found (graph, ledger, report, etc.)
12931
+ */
12932
+ 404: OperationError;
12933
+ /**
12934
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12935
+ */
12936
+ 409: OperationError;
12937
+ /**
12938
+ * Validation Error
12939
+ */
12940
+ 422: HttpValidationError;
12941
+ /**
12942
+ * Rate limit exceeded
12943
+ */
12944
+ 429: unknown;
12945
+ /**
12946
+ * Internal error
12947
+ */
12948
+ 500: unknown;
12949
+ };
12950
+ export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
12951
+ export type OpDeleteAssociationResponses = {
12952
+ /**
12953
+ * Successful Response
12954
+ */
12955
+ 200: OperationEnvelope;
12956
+ };
12957
+ export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
12958
+ export type OpCreateJournalEntryData = {
12959
+ body: CreateJournalEntryRequest;
12960
+ headers?: {
12961
+ /**
12962
+ * Idempotency-Key
12963
+ */
12964
+ 'Idempotency-Key'?: string | null;
12965
+ };
12966
+ path: {
12967
+ /**
12968
+ * Graph Id
12969
+ */
12970
+ graph_id: string;
12971
+ };
12972
+ query?: never;
12973
+ url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
12974
+ };
12975
+ export type OpCreateJournalEntryErrors = {
12976
+ /**
12977
+ * Invalid request payload
12978
+ */
12979
+ 400: OperationError;
12980
+ /**
12981
+ * Unauthorized — missing or invalid credentials
12982
+ */
12983
+ 401: unknown;
12984
+ /**
12985
+ * Forbidden — caller cannot access this graph
12986
+ */
12987
+ 403: unknown;
12988
+ /**
12989
+ * Resource not found (graph, ledger, report, etc.)
12990
+ */
12991
+ 404: OperationError;
12992
+ /**
12993
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
12994
+ */
12995
+ 409: OperationError;
12996
+ /**
12997
+ * Validation Error
12998
+ */
12999
+ 422: HttpValidationError;
13000
+ /**
13001
+ * Rate limit exceeded
13002
+ */
13003
+ 429: unknown;
13004
+ /**
13005
+ * Internal error
13006
+ */
13007
+ 500: unknown;
13008
+ };
13009
+ export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
13010
+ export type OpCreateJournalEntryResponses = {
13011
+ /**
13012
+ * Successful Response
13013
+ */
13014
+ 200: OperationEnvelope;
13015
+ };
13016
+ export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
13017
+ export type OpUpdateJournalEntryData = {
13018
+ body: UpdateJournalEntryRequest;
13019
+ headers?: {
13020
+ /**
13021
+ * Idempotency-Key
13022
+ */
13023
+ 'Idempotency-Key'?: string | null;
13024
+ };
13025
+ path: {
13026
+ /**
13027
+ * Graph Id
13028
+ */
13029
+ graph_id: string;
13030
+ };
13031
+ query?: never;
13032
+ url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
13033
+ };
13034
+ export type OpUpdateJournalEntryErrors = {
13035
+ /**
13036
+ * Invalid request payload
13037
+ */
13038
+ 400: OperationError;
13039
+ /**
13040
+ * Unauthorized — missing or invalid credentials
13041
+ */
13042
+ 401: unknown;
13043
+ /**
13044
+ * Forbidden — caller cannot access this graph
13045
+ */
13046
+ 403: unknown;
13047
+ /**
13048
+ * Resource not found (graph, ledger, report, etc.)
13049
+ */
13050
+ 404: OperationError;
13051
+ /**
13052
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13053
+ */
13054
+ 409: OperationError;
13055
+ /**
13056
+ * Validation Error
13057
+ */
13058
+ 422: HttpValidationError;
13059
+ /**
13060
+ * Rate limit exceeded
13061
+ */
13062
+ 429: unknown;
13063
+ /**
13064
+ * Internal error
13065
+ */
13066
+ 500: unknown;
13067
+ };
13068
+ export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
13069
+ export type OpUpdateJournalEntryResponses = {
13070
+ /**
13071
+ * Successful Response
13072
+ */
13073
+ 200: OperationEnvelope;
13074
+ };
13075
+ export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
13076
+ export type OpDeleteJournalEntryData = {
13077
+ body: DeleteJournalEntryRequest;
13078
+ headers?: {
13079
+ /**
13080
+ * Idempotency-Key
13081
+ */
13082
+ 'Idempotency-Key'?: string | null;
13083
+ };
13084
+ path: {
13085
+ /**
13086
+ * Graph Id
13087
+ */
13088
+ graph_id: string;
13089
+ };
13090
+ query?: never;
13091
+ url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
13092
+ };
13093
+ export type OpDeleteJournalEntryErrors = {
13094
+ /**
13095
+ * Invalid request payload
13096
+ */
13097
+ 400: OperationError;
13098
+ /**
13099
+ * Unauthorized — missing or invalid credentials
13100
+ */
13101
+ 401: unknown;
13102
+ /**
13103
+ * Forbidden — caller cannot access this graph
13104
+ */
13105
+ 403: unknown;
13106
+ /**
13107
+ * Resource not found (graph, ledger, report, etc.)
13108
+ */
13109
+ 404: OperationError;
13110
+ /**
13111
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13112
+ */
13113
+ 409: OperationError;
13114
+ /**
13115
+ * Validation Error
13116
+ */
13117
+ 422: HttpValidationError;
13118
+ /**
13119
+ * Rate limit exceeded
13120
+ */
13121
+ 429: unknown;
13122
+ /**
13123
+ * Internal error
13124
+ */
13125
+ 500: unknown;
13126
+ };
13127
+ export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
13128
+ export type OpDeleteJournalEntryResponses = {
13129
+ /**
13130
+ * Successful Response
13131
+ */
13132
+ 200: OperationEnvelope;
13133
+ };
13134
+ export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
13135
+ export type OpReverseJournalEntryData = {
13136
+ body: ReverseJournalEntryRequest;
13137
+ headers?: {
13138
+ /**
13139
+ * Idempotency-Key
13140
+ */
13141
+ 'Idempotency-Key'?: string | null;
13142
+ };
13143
+ path: {
13144
+ /**
13145
+ * Graph Id
13146
+ */
13147
+ graph_id: string;
13148
+ };
13149
+ query?: never;
13150
+ url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
13151
+ };
13152
+ export type OpReverseJournalEntryErrors = {
13153
+ /**
13154
+ * Invalid request payload
13155
+ */
13156
+ 400: OperationError;
13157
+ /**
13158
+ * Unauthorized — missing or invalid credentials
13159
+ */
13160
+ 401: unknown;
13161
+ /**
13162
+ * Forbidden — caller cannot access this graph
13163
+ */
13164
+ 403: unknown;
13165
+ /**
13166
+ * Resource not found (graph, ledger, report, etc.)
13167
+ */
13168
+ 404: OperationError;
13169
+ /**
13170
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13171
+ */
13172
+ 409: OperationError;
13173
+ /**
13174
+ * Validation Error
13175
+ */
13176
+ 422: HttpValidationError;
13177
+ /**
13178
+ * Rate limit exceeded
13179
+ */
13180
+ 429: unknown;
13181
+ /**
13182
+ * Internal error
13183
+ */
13184
+ 500: unknown;
13185
+ };
13186
+ export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
13187
+ export type OpReverseJournalEntryResponses = {
13188
+ /**
13189
+ * Successful Response
13190
+ */
13191
+ 200: OperationEnvelope;
13192
+ };
13193
+ export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
13194
+ export type OpUpdateScheduleData = {
13195
+ body: UpdateScheduleRequest;
13196
+ headers?: {
13197
+ /**
13198
+ * Idempotency-Key
13199
+ */
13200
+ 'Idempotency-Key'?: string | null;
13201
+ };
13202
+ path: {
13203
+ /**
13204
+ * Graph Id
13205
+ */
13206
+ graph_id: string;
13207
+ };
13208
+ query?: never;
13209
+ url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
13210
+ };
13211
+ export type OpUpdateScheduleErrors = {
13212
+ /**
13213
+ * Invalid request payload
13214
+ */
13215
+ 400: OperationError;
13216
+ /**
13217
+ * Unauthorized — missing or invalid credentials
13218
+ */
13219
+ 401: unknown;
13220
+ /**
13221
+ * Forbidden — caller cannot access this graph
13222
+ */
13223
+ 403: unknown;
13224
+ /**
13225
+ * Resource not found (graph, ledger, report, etc.)
13226
+ */
13227
+ 404: OperationError;
13228
+ /**
13229
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13230
+ */
13231
+ 409: OperationError;
13232
+ /**
13233
+ * Validation Error
13234
+ */
13235
+ 422: HttpValidationError;
13236
+ /**
13237
+ * Rate limit exceeded
13238
+ */
13239
+ 429: unknown;
13240
+ /**
13241
+ * Internal error
13242
+ */
13243
+ 500: unknown;
13244
+ };
13245
+ export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
13246
+ export type OpUpdateScheduleResponses = {
13247
+ /**
13248
+ * Successful Response
13249
+ */
13250
+ 200: OperationEnvelope;
13251
+ };
13252
+ export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
13253
+ export type OpDeleteScheduleData = {
13254
+ body: DeleteScheduleRequest;
13255
+ headers?: {
13256
+ /**
13257
+ * Idempotency-Key
13258
+ */
13259
+ 'Idempotency-Key'?: string | null;
13260
+ };
13261
+ path: {
13262
+ /**
13263
+ * Graph Id
13264
+ */
13265
+ graph_id: string;
13266
+ };
13267
+ query?: never;
13268
+ url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
13269
+ };
13270
+ export type OpDeleteScheduleErrors = {
13271
+ /**
13272
+ * Invalid request payload
13273
+ */
13274
+ 400: OperationError;
13275
+ /**
13276
+ * Unauthorized — missing or invalid credentials
13277
+ */
13278
+ 401: unknown;
13279
+ /**
13280
+ * Forbidden — caller cannot access this graph
13281
+ */
13282
+ 403: unknown;
13283
+ /**
13284
+ * Resource not found (graph, ledger, report, etc.)
13285
+ */
13286
+ 404: OperationError;
13287
+ /**
13288
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13289
+ */
13290
+ 409: OperationError;
13291
+ /**
13292
+ * Validation Error
13293
+ */
13294
+ 422: HttpValidationError;
13295
+ /**
13296
+ * Rate limit exceeded
13297
+ */
13298
+ 429: unknown;
13299
+ /**
13300
+ * Internal error
13301
+ */
13302
+ 500: unknown;
13303
+ };
13304
+ export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
13305
+ export type OpDeleteScheduleResponses = {
13306
+ /**
13307
+ * Successful Response
13308
+ */
13309
+ 200: OperationEnvelope;
13310
+ };
13311
+ export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
13312
+ export type OpAutoMapElementsData = {
13313
+ body: AutoMapElementsOperation;
13314
+ headers?: {
13315
+ /**
13316
+ * Idempotency-Key
13317
+ */
13318
+ 'Idempotency-Key'?: string | null;
13319
+ };
13320
+ path: {
13321
+ /**
13322
+ * Graph Id
13323
+ */
13324
+ graph_id: string;
13325
+ };
13326
+ query?: never;
13327
+ url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
13328
+ };
13329
+ export type OpAutoMapElementsErrors = {
13330
+ /**
13331
+ * Invalid request payload
13332
+ */
13333
+ 400: OperationError;
13334
+ /**
13335
+ * Unauthorized — missing or invalid credentials
13336
+ */
13337
+ 401: unknown;
13338
+ /**
13339
+ * Forbidden — caller cannot access this graph
13340
+ */
13341
+ 403: unknown;
13342
+ /**
13343
+ * Resource not found (graph, ledger, report, etc.)
13344
+ */
13345
+ 404: OperationError;
13346
+ /**
13347
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13348
+ */
13349
+ 409: OperationError;
13350
+ /**
13351
+ * Validation Error
13352
+ */
13353
+ 422: HttpValidationError;
13354
+ /**
13355
+ * Rate limit exceeded
13356
+ */
13357
+ 429: unknown;
13358
+ /**
13359
+ * Internal error
13360
+ */
13361
+ 500: unknown;
13362
+ };
13363
+ export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
13364
+ export type OpAutoMapElementsResponses = {
13365
+ /**
13366
+ * Successful Response
13367
+ */
13368
+ 202: OperationEnvelope;
13369
+ };
13370
+ export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
13371
+ export type OpCreateReportData = {
13372
+ body: CreateReportRequest;
13373
+ headers?: {
13374
+ /**
13375
+ * Idempotency-Key
13376
+ */
13377
+ 'Idempotency-Key'?: string | null;
13378
+ };
13379
+ path: {
13380
+ /**
13381
+ * Graph Id
13382
+ */
13383
+ graph_id: string;
13384
+ };
13385
+ query?: never;
13386
+ url: '/extensions/roboledger/{graph_id}/operations/create-report';
13387
+ };
13388
+ export type OpCreateReportErrors = {
13389
+ /**
13390
+ * Invalid request payload
13391
+ */
13392
+ 400: OperationError;
13393
+ /**
13394
+ * Unauthorized — missing or invalid credentials
13395
+ */
13396
+ 401: unknown;
13397
+ /**
13398
+ * Forbidden — caller cannot access this graph
13399
+ */
13400
+ 403: unknown;
13401
+ /**
13402
+ * Resource not found (graph, ledger, report, etc.)
13403
+ */
13404
+ 404: OperationError;
13405
+ /**
13406
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13407
+ */
13408
+ 409: OperationError;
11447
13409
  /**
11448
13410
  * Validation Error
11449
13411
  */
11450
13412
  422: HttpValidationError;
13413
+ /**
13414
+ * Rate limit exceeded
13415
+ */
13416
+ 429: unknown;
13417
+ /**
13418
+ * Internal error
13419
+ */
13420
+ 500: unknown;
11451
13421
  };
11452
13422
  export type OpCreateReportError = OpCreateReportErrors[keyof OpCreateReportErrors];
11453
13423
  export type OpCreateReportResponses = {
@@ -11475,10 +13445,38 @@ export type OpRegenerateReportData = {
11475
13445
  url: '/extensions/roboledger/{graph_id}/operations/regenerate-report';
11476
13446
  };
11477
13447
  export type OpRegenerateReportErrors = {
13448
+ /**
13449
+ * Invalid request payload
13450
+ */
13451
+ 400: OperationError;
13452
+ /**
13453
+ * Unauthorized — missing or invalid credentials
13454
+ */
13455
+ 401: unknown;
13456
+ /**
13457
+ * Forbidden — caller cannot access this graph
13458
+ */
13459
+ 403: unknown;
13460
+ /**
13461
+ * Resource not found (graph, ledger, report, etc.)
13462
+ */
13463
+ 404: OperationError;
13464
+ /**
13465
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13466
+ */
13467
+ 409: OperationError;
11478
13468
  /**
11479
13469
  * Validation Error
11480
13470
  */
11481
13471
  422: HttpValidationError;
13472
+ /**
13473
+ * Rate limit exceeded
13474
+ */
13475
+ 429: unknown;
13476
+ /**
13477
+ * Internal error
13478
+ */
13479
+ 500: unknown;
11482
13480
  };
11483
13481
  export type OpRegenerateReportError = OpRegenerateReportErrors[keyof OpRegenerateReportErrors];
11484
13482
  export type OpRegenerateReportResponses = {
@@ -11506,10 +13504,38 @@ export type OpDeleteReportData = {
11506
13504
  url: '/extensions/roboledger/{graph_id}/operations/delete-report';
11507
13505
  };
11508
13506
  export type OpDeleteReportErrors = {
13507
+ /**
13508
+ * Invalid request payload
13509
+ */
13510
+ 400: OperationError;
13511
+ /**
13512
+ * Unauthorized — missing or invalid credentials
13513
+ */
13514
+ 401: unknown;
13515
+ /**
13516
+ * Forbidden — caller cannot access this graph
13517
+ */
13518
+ 403: unknown;
13519
+ /**
13520
+ * Resource not found (graph, ledger, report, etc.)
13521
+ */
13522
+ 404: OperationError;
13523
+ /**
13524
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13525
+ */
13526
+ 409: OperationError;
11509
13527
  /**
11510
13528
  * Validation Error
11511
13529
  */
11512
13530
  422: HttpValidationError;
13531
+ /**
13532
+ * Rate limit exceeded
13533
+ */
13534
+ 429: unknown;
13535
+ /**
13536
+ * Internal error
13537
+ */
13538
+ 500: unknown;
11513
13539
  };
11514
13540
  export type OpDeleteReportError = OpDeleteReportErrors[keyof OpDeleteReportErrors];
11515
13541
  export type OpDeleteReportResponses = {
@@ -11537,10 +13563,38 @@ export type OpShareReportData = {
11537
13563
  url: '/extensions/roboledger/{graph_id}/operations/share-report';
11538
13564
  };
11539
13565
  export type OpShareReportErrors = {
13566
+ /**
13567
+ * Invalid request payload
13568
+ */
13569
+ 400: OperationError;
13570
+ /**
13571
+ * Unauthorized — missing or invalid credentials
13572
+ */
13573
+ 401: unknown;
13574
+ /**
13575
+ * Forbidden — caller cannot access this graph
13576
+ */
13577
+ 403: unknown;
13578
+ /**
13579
+ * Resource not found (graph, ledger, report, etc.)
13580
+ */
13581
+ 404: OperationError;
13582
+ /**
13583
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13584
+ */
13585
+ 409: OperationError;
11540
13586
  /**
11541
13587
  * Validation Error
11542
13588
  */
11543
13589
  422: HttpValidationError;
13590
+ /**
13591
+ * Rate limit exceeded
13592
+ */
13593
+ 429: unknown;
13594
+ /**
13595
+ * Internal error
13596
+ */
13597
+ 500: unknown;
11544
13598
  };
11545
13599
  export type OpShareReportError = OpShareReportErrors[keyof OpShareReportErrors];
11546
13600
  export type OpShareReportResponses = {
@@ -11568,10 +13622,38 @@ export type OpCreatePublishListData = {
11568
13622
  url: '/extensions/roboledger/{graph_id}/operations/create-publish-list';
11569
13623
  };
11570
13624
  export type OpCreatePublishListErrors = {
13625
+ /**
13626
+ * Invalid request payload
13627
+ */
13628
+ 400: OperationError;
13629
+ /**
13630
+ * Unauthorized — missing or invalid credentials
13631
+ */
13632
+ 401: unknown;
13633
+ /**
13634
+ * Forbidden — caller cannot access this graph
13635
+ */
13636
+ 403: unknown;
13637
+ /**
13638
+ * Resource not found (graph, ledger, report, etc.)
13639
+ */
13640
+ 404: OperationError;
13641
+ /**
13642
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13643
+ */
13644
+ 409: OperationError;
11571
13645
  /**
11572
13646
  * Validation Error
11573
13647
  */
11574
13648
  422: HttpValidationError;
13649
+ /**
13650
+ * Rate limit exceeded
13651
+ */
13652
+ 429: unknown;
13653
+ /**
13654
+ * Internal error
13655
+ */
13656
+ 500: unknown;
11575
13657
  };
11576
13658
  export type OpCreatePublishListError = OpCreatePublishListErrors[keyof OpCreatePublishListErrors];
11577
13659
  export type OpCreatePublishListResponses = {
@@ -11599,10 +13681,38 @@ export type OpUpdatePublishListData = {
11599
13681
  url: '/extensions/roboledger/{graph_id}/operations/update-publish-list';
11600
13682
  };
11601
13683
  export type OpUpdatePublishListErrors = {
13684
+ /**
13685
+ * Invalid request payload
13686
+ */
13687
+ 400: OperationError;
13688
+ /**
13689
+ * Unauthorized — missing or invalid credentials
13690
+ */
13691
+ 401: unknown;
13692
+ /**
13693
+ * Forbidden — caller cannot access this graph
13694
+ */
13695
+ 403: unknown;
13696
+ /**
13697
+ * Resource not found (graph, ledger, report, etc.)
13698
+ */
13699
+ 404: OperationError;
13700
+ /**
13701
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13702
+ */
13703
+ 409: OperationError;
11602
13704
  /**
11603
13705
  * Validation Error
11604
13706
  */
11605
13707
  422: HttpValidationError;
13708
+ /**
13709
+ * Rate limit exceeded
13710
+ */
13711
+ 429: unknown;
13712
+ /**
13713
+ * Internal error
13714
+ */
13715
+ 500: unknown;
11606
13716
  };
11607
13717
  export type OpUpdatePublishListError = OpUpdatePublishListErrors[keyof OpUpdatePublishListErrors];
11608
13718
  export type OpUpdatePublishListResponses = {
@@ -11630,10 +13740,38 @@ export type OpDeletePublishListData = {
11630
13740
  url: '/extensions/roboledger/{graph_id}/operations/delete-publish-list';
11631
13741
  };
11632
13742
  export type OpDeletePublishListErrors = {
13743
+ /**
13744
+ * Invalid request payload
13745
+ */
13746
+ 400: OperationError;
13747
+ /**
13748
+ * Unauthorized — missing or invalid credentials
13749
+ */
13750
+ 401: unknown;
13751
+ /**
13752
+ * Forbidden — caller cannot access this graph
13753
+ */
13754
+ 403: unknown;
13755
+ /**
13756
+ * Resource not found (graph, ledger, report, etc.)
13757
+ */
13758
+ 404: OperationError;
13759
+ /**
13760
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13761
+ */
13762
+ 409: OperationError;
11633
13763
  /**
11634
13764
  * Validation Error
11635
13765
  */
11636
13766
  422: HttpValidationError;
13767
+ /**
13768
+ * Rate limit exceeded
13769
+ */
13770
+ 429: unknown;
13771
+ /**
13772
+ * Internal error
13773
+ */
13774
+ 500: unknown;
11637
13775
  };
11638
13776
  export type OpDeletePublishListError = OpDeletePublishListErrors[keyof OpDeletePublishListErrors];
11639
13777
  export type OpDeletePublishListResponses = {
@@ -11661,10 +13799,38 @@ export type OpAddPublishListMembersData = {
11661
13799
  url: '/extensions/roboledger/{graph_id}/operations/add-publish-list-members';
11662
13800
  };
11663
13801
  export type OpAddPublishListMembersErrors = {
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;
11664
13822
  /**
11665
13823
  * Validation Error
11666
13824
  */
11667
13825
  422: HttpValidationError;
13826
+ /**
13827
+ * Rate limit exceeded
13828
+ */
13829
+ 429: unknown;
13830
+ /**
13831
+ * Internal error
13832
+ */
13833
+ 500: unknown;
11668
13834
  };
11669
13835
  export type OpAddPublishListMembersError = OpAddPublishListMembersErrors[keyof OpAddPublishListMembersErrors];
11670
13836
  export type OpAddPublishListMembersResponses = {
@@ -11692,10 +13858,38 @@ export type OpRemovePublishListMemberData = {
11692
13858
  url: '/extensions/roboledger/{graph_id}/operations/remove-publish-list-member';
11693
13859
  };
11694
13860
  export type OpRemovePublishListMemberErrors = {
13861
+ /**
13862
+ * Invalid request payload
13863
+ */
13864
+ 400: OperationError;
13865
+ /**
13866
+ * Unauthorized — missing or invalid credentials
13867
+ */
13868
+ 401: unknown;
13869
+ /**
13870
+ * Forbidden — caller cannot access this graph
13871
+ */
13872
+ 403: unknown;
13873
+ /**
13874
+ * Resource not found (graph, ledger, report, etc.)
13875
+ */
13876
+ 404: OperationError;
13877
+ /**
13878
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13879
+ */
13880
+ 409: OperationError;
11695
13881
  /**
11696
13882
  * Validation Error
11697
13883
  */
11698
13884
  422: HttpValidationError;
13885
+ /**
13886
+ * Rate limit exceeded
13887
+ */
13888
+ 429: unknown;
13889
+ /**
13890
+ * Internal error
13891
+ */
13892
+ 500: unknown;
11699
13893
  };
11700
13894
  export type OpRemovePublishListMemberError = OpRemovePublishListMemberErrors[keyof OpRemovePublishListMemberErrors];
11701
13895
  export type OpRemovePublishListMemberResponses = {
@@ -11723,10 +13917,38 @@ export type OpBuildFactGridData = {
11723
13917
  url: '/extensions/roboledger/{graph_id}/operations/build-fact-grid';
11724
13918
  };
11725
13919
  export type OpBuildFactGridErrors = {
13920
+ /**
13921
+ * Invalid request payload
13922
+ */
13923
+ 400: OperationError;
13924
+ /**
13925
+ * Unauthorized — missing or invalid credentials
13926
+ */
13927
+ 401: unknown;
13928
+ /**
13929
+ * Forbidden — caller cannot access this graph
13930
+ */
13931
+ 403: unknown;
13932
+ /**
13933
+ * Resource not found (graph, ledger, report, etc.)
13934
+ */
13935
+ 404: OperationError;
13936
+ /**
13937
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13938
+ */
13939
+ 409: OperationError;
11726
13940
  /**
11727
13941
  * Validation Error
11728
13942
  */
11729
13943
  422: HttpValidationError;
13944
+ /**
13945
+ * Rate limit exceeded
13946
+ */
13947
+ 429: unknown;
13948
+ /**
13949
+ * Internal error
13950
+ */
13951
+ 500: unknown;
11730
13952
  };
11731
13953
  export type OpBuildFactGridError = OpBuildFactGridErrors[keyof OpBuildFactGridErrors];
11732
13954
  export type OpBuildFactGridResponses = {
@@ -11754,10 +13976,38 @@ export type OpCreatePortfolioData = {
11754
13976
  url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio';
11755
13977
  };
11756
13978
  export type OpCreatePortfolioErrors = {
13979
+ /**
13980
+ * Invalid request payload
13981
+ */
13982
+ 400: OperationError;
13983
+ /**
13984
+ * Unauthorized — missing or invalid credentials
13985
+ */
13986
+ 401: unknown;
13987
+ /**
13988
+ * Forbidden — caller cannot access this graph
13989
+ */
13990
+ 403: unknown;
13991
+ /**
13992
+ * Resource not found (graph, ledger, report, etc.)
13993
+ */
13994
+ 404: OperationError;
13995
+ /**
13996
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13997
+ */
13998
+ 409: OperationError;
11757
13999
  /**
11758
14000
  * Validation Error
11759
14001
  */
11760
14002
  422: HttpValidationError;
14003
+ /**
14004
+ * Rate limit exceeded
14005
+ */
14006
+ 429: unknown;
14007
+ /**
14008
+ * Internal error
14009
+ */
14010
+ 500: unknown;
11761
14011
  };
11762
14012
  export type OpCreatePortfolioError = OpCreatePortfolioErrors[keyof OpCreatePortfolioErrors];
11763
14013
  export type OpCreatePortfolioResponses = {
@@ -11785,10 +14035,38 @@ export type OpUpdatePortfolioData = {
11785
14035
  url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio';
11786
14036
  };
11787
14037
  export type OpUpdatePortfolioErrors = {
14038
+ /**
14039
+ * Invalid request payload
14040
+ */
14041
+ 400: OperationError;
14042
+ /**
14043
+ * Unauthorized — missing or invalid credentials
14044
+ */
14045
+ 401: unknown;
14046
+ /**
14047
+ * Forbidden — caller cannot access this graph
14048
+ */
14049
+ 403: unknown;
14050
+ /**
14051
+ * Resource not found (graph, ledger, report, etc.)
14052
+ */
14053
+ 404: OperationError;
14054
+ /**
14055
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14056
+ */
14057
+ 409: OperationError;
11788
14058
  /**
11789
14059
  * Validation Error
11790
14060
  */
11791
14061
  422: HttpValidationError;
14062
+ /**
14063
+ * Rate limit exceeded
14064
+ */
14065
+ 429: unknown;
14066
+ /**
14067
+ * Internal error
14068
+ */
14069
+ 500: unknown;
11792
14070
  };
11793
14071
  export type OpUpdatePortfolioError = OpUpdatePortfolioErrors[keyof OpUpdatePortfolioErrors];
11794
14072
  export type OpUpdatePortfolioResponses = {
@@ -11816,10 +14094,38 @@ export type OpDeletePortfolioData = {
11816
14094
  url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio';
11817
14095
  };
11818
14096
  export type OpDeletePortfolioErrors = {
14097
+ /**
14098
+ * Invalid request payload
14099
+ */
14100
+ 400: OperationError;
14101
+ /**
14102
+ * Unauthorized — missing or invalid credentials
14103
+ */
14104
+ 401: unknown;
14105
+ /**
14106
+ * Forbidden — caller cannot access this graph
14107
+ */
14108
+ 403: unknown;
14109
+ /**
14110
+ * Resource not found (graph, ledger, report, etc.)
14111
+ */
14112
+ 404: OperationError;
14113
+ /**
14114
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14115
+ */
14116
+ 409: OperationError;
11819
14117
  /**
11820
14118
  * Validation Error
11821
14119
  */
11822
14120
  422: HttpValidationError;
14121
+ /**
14122
+ * Rate limit exceeded
14123
+ */
14124
+ 429: unknown;
14125
+ /**
14126
+ * Internal error
14127
+ */
14128
+ 500: unknown;
11823
14129
  };
11824
14130
  export type OpDeletePortfolioError = OpDeletePortfolioErrors[keyof OpDeletePortfolioErrors];
11825
14131
  export type OpDeletePortfolioResponses = {
@@ -11847,10 +14153,38 @@ export type OpCreateSecurityData = {
11847
14153
  url: '/extensions/roboinvestor/{graph_id}/operations/create-security';
11848
14154
  };
11849
14155
  export type OpCreateSecurityErrors = {
14156
+ /**
14157
+ * Invalid request payload
14158
+ */
14159
+ 400: OperationError;
14160
+ /**
14161
+ * Unauthorized — missing or invalid credentials
14162
+ */
14163
+ 401: unknown;
14164
+ /**
14165
+ * Forbidden — caller cannot access this graph
14166
+ */
14167
+ 403: unknown;
14168
+ /**
14169
+ * Resource not found (graph, ledger, report, etc.)
14170
+ */
14171
+ 404: OperationError;
14172
+ /**
14173
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14174
+ */
14175
+ 409: OperationError;
11850
14176
  /**
11851
14177
  * Validation Error
11852
14178
  */
11853
14179
  422: HttpValidationError;
14180
+ /**
14181
+ * Rate limit exceeded
14182
+ */
14183
+ 429: unknown;
14184
+ /**
14185
+ * Internal error
14186
+ */
14187
+ 500: unknown;
11854
14188
  };
11855
14189
  export type OpCreateSecurityError = OpCreateSecurityErrors[keyof OpCreateSecurityErrors];
11856
14190
  export type OpCreateSecurityResponses = {
@@ -11878,10 +14212,38 @@ export type OpUpdateSecurityData = {
11878
14212
  url: '/extensions/roboinvestor/{graph_id}/operations/update-security';
11879
14213
  };
11880
14214
  export type OpUpdateSecurityErrors = {
14215
+ /**
14216
+ * Invalid request payload
14217
+ */
14218
+ 400: OperationError;
14219
+ /**
14220
+ * Unauthorized — missing or invalid credentials
14221
+ */
14222
+ 401: unknown;
14223
+ /**
14224
+ * Forbidden — caller cannot access this graph
14225
+ */
14226
+ 403: unknown;
14227
+ /**
14228
+ * Resource not found (graph, ledger, report, etc.)
14229
+ */
14230
+ 404: OperationError;
14231
+ /**
14232
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14233
+ */
14234
+ 409: OperationError;
11881
14235
  /**
11882
14236
  * Validation Error
11883
14237
  */
11884
14238
  422: HttpValidationError;
14239
+ /**
14240
+ * Rate limit exceeded
14241
+ */
14242
+ 429: unknown;
14243
+ /**
14244
+ * Internal error
14245
+ */
14246
+ 500: unknown;
11885
14247
  };
11886
14248
  export type OpUpdateSecurityError = OpUpdateSecurityErrors[keyof OpUpdateSecurityErrors];
11887
14249
  export type OpUpdateSecurityResponses = {
@@ -11909,10 +14271,38 @@ export type OpDeleteSecurityData = {
11909
14271
  url: '/extensions/roboinvestor/{graph_id}/operations/delete-security';
11910
14272
  };
11911
14273
  export type OpDeleteSecurityErrors = {
14274
+ /**
14275
+ * Invalid request payload
14276
+ */
14277
+ 400: OperationError;
14278
+ /**
14279
+ * Unauthorized — missing or invalid credentials
14280
+ */
14281
+ 401: unknown;
14282
+ /**
14283
+ * Forbidden — caller cannot access this graph
14284
+ */
14285
+ 403: unknown;
14286
+ /**
14287
+ * Resource not found (graph, ledger, report, etc.)
14288
+ */
14289
+ 404: OperationError;
14290
+ /**
14291
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14292
+ */
14293
+ 409: OperationError;
11912
14294
  /**
11913
14295
  * Validation Error
11914
14296
  */
11915
14297
  422: HttpValidationError;
14298
+ /**
14299
+ * Rate limit exceeded
14300
+ */
14301
+ 429: unknown;
14302
+ /**
14303
+ * Internal error
14304
+ */
14305
+ 500: unknown;
11916
14306
  };
11917
14307
  export type OpDeleteSecurityError = OpDeleteSecurityErrors[keyof OpDeleteSecurityErrors];
11918
14308
  export type OpDeleteSecurityResponses = {
@@ -11940,10 +14330,38 @@ export type OpCreatePositionData = {
11940
14330
  url: '/extensions/roboinvestor/{graph_id}/operations/create-position';
11941
14331
  };
11942
14332
  export type OpCreatePositionErrors = {
14333
+ /**
14334
+ * Invalid request payload
14335
+ */
14336
+ 400: OperationError;
14337
+ /**
14338
+ * Unauthorized — missing or invalid credentials
14339
+ */
14340
+ 401: unknown;
14341
+ /**
14342
+ * Forbidden — caller cannot access this graph
14343
+ */
14344
+ 403: unknown;
14345
+ /**
14346
+ * Resource not found (graph, ledger, report, etc.)
14347
+ */
14348
+ 404: OperationError;
14349
+ /**
14350
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14351
+ */
14352
+ 409: OperationError;
11943
14353
  /**
11944
14354
  * Validation Error
11945
14355
  */
11946
14356
  422: HttpValidationError;
14357
+ /**
14358
+ * Rate limit exceeded
14359
+ */
14360
+ 429: unknown;
14361
+ /**
14362
+ * Internal error
14363
+ */
14364
+ 500: unknown;
11947
14365
  };
11948
14366
  export type OpCreatePositionError = OpCreatePositionErrors[keyof OpCreatePositionErrors];
11949
14367
  export type OpCreatePositionResponses = {
@@ -11971,10 +14389,38 @@ export type OpUpdatePositionData = {
11971
14389
  url: '/extensions/roboinvestor/{graph_id}/operations/update-position';
11972
14390
  };
11973
14391
  export type OpUpdatePositionErrors = {
14392
+ /**
14393
+ * Invalid request payload
14394
+ */
14395
+ 400: OperationError;
14396
+ /**
14397
+ * Unauthorized — missing or invalid credentials
14398
+ */
14399
+ 401: unknown;
14400
+ /**
14401
+ * Forbidden — caller cannot access this graph
14402
+ */
14403
+ 403: unknown;
14404
+ /**
14405
+ * Resource not found (graph, ledger, report, etc.)
14406
+ */
14407
+ 404: OperationError;
14408
+ /**
14409
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14410
+ */
14411
+ 409: OperationError;
11974
14412
  /**
11975
14413
  * Validation Error
11976
14414
  */
11977
14415
  422: HttpValidationError;
14416
+ /**
14417
+ * Rate limit exceeded
14418
+ */
14419
+ 429: unknown;
14420
+ /**
14421
+ * Internal error
14422
+ */
14423
+ 500: unknown;
11978
14424
  };
11979
14425
  export type OpUpdatePositionError = OpUpdatePositionErrors[keyof OpUpdatePositionErrors];
11980
14426
  export type OpUpdatePositionResponses = {
@@ -12002,10 +14448,38 @@ export type OpDeletePositionData = {
12002
14448
  url: '/extensions/roboinvestor/{graph_id}/operations/delete-position';
12003
14449
  };
12004
14450
  export type OpDeletePositionErrors = {
14451
+ /**
14452
+ * Invalid request payload
14453
+ */
14454
+ 400: OperationError;
14455
+ /**
14456
+ * Unauthorized — missing or invalid credentials
14457
+ */
14458
+ 401: unknown;
14459
+ /**
14460
+ * Forbidden — caller cannot access this graph
14461
+ */
14462
+ 403: unknown;
14463
+ /**
14464
+ * Resource not found (graph, ledger, report, etc.)
14465
+ */
14466
+ 404: OperationError;
14467
+ /**
14468
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14469
+ */
14470
+ 409: OperationError;
12005
14471
  /**
12006
14472
  * Validation Error
12007
14473
  */
12008
14474
  422: HttpValidationError;
14475
+ /**
14476
+ * Rate limit exceeded
14477
+ */
14478
+ 429: unknown;
14479
+ /**
14480
+ * Internal error
14481
+ */
14482
+ 500: unknown;
12009
14483
  };
12010
14484
  export type OpDeletePositionError = OpDeletePositionErrors[keyof OpDeletePositionErrors];
12011
14485
  export type OpDeletePositionResponses = {