@robosystems/client 0.3.9 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types.gen.d.ts CHANGED
@@ -877,64 +877,6 @@ export type BillingCustomer = {
877
877
  */
878
878
  created_at: string;
879
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
- };
938
880
  /**
939
881
  * ChangeTierOp
940
882
  *
@@ -1396,82 +1338,6 @@ export type CreateConnectionRequest = {
1396
1338
  sec_config?: SecConnectionConfig | null;
1397
1339
  quickbooks_config?: QuickBooksConnectionConfig | null;
1398
1340
  };
1399
- /**
1400
- * CreateElementRequest
1401
- *
1402
- * Create a new Element within a taxonomy. For chart-of-accounts
1403
- * taxonomies this is how native accounts are added.
1404
- */
1405
- export type CreateElementRequest = {
1406
- /**
1407
- * Taxonomy Id
1408
- */
1409
- taxonomy_id: string;
1410
- /**
1411
- * Code
1412
- */
1413
- code?: string | null;
1414
- /**
1415
- * Name
1416
- */
1417
- name: string;
1418
- /**
1419
- * Description
1420
- */
1421
- description?: string | null;
1422
- /**
1423
- * Classification
1424
- */
1425
- classification: 'asset' | 'contraAsset' | 'liability' | 'contraLiability' | 'equity' | 'contraEquity' | 'temporaryEquity' | 'revenue' | 'expense' | 'expenseReversal' | 'gain' | 'loss' | 'comprehensiveIncome' | 'investmentByOwners' | 'distributionToOwners';
1426
- /**
1427
- * Balance Type
1428
- */
1429
- balance_type?: 'debit' | 'credit';
1430
- /**
1431
- * Period Type
1432
- */
1433
- period_type?: 'duration' | 'instant';
1434
- /**
1435
- * Element Type
1436
- */
1437
- element_type?: 'concept' | 'abstract' | 'axis' | 'member' | 'hypercube';
1438
- /**
1439
- * Is Abstract
1440
- */
1441
- is_abstract?: boolean;
1442
- /**
1443
- * Is Monetary
1444
- */
1445
- is_monetary?: boolean;
1446
- /**
1447
- * Parent Id
1448
- */
1449
- parent_id?: string | null;
1450
- /**
1451
- * Source
1452
- */
1453
- source?: 'native' | 'fac' | 'rs-gaap' | 'us-gaap' | 'ifrs' | 'quickbooks' | 'xero' | 'plaid' | 'import';
1454
- /**
1455
- * Currency
1456
- */
1457
- currency?: string;
1458
- /**
1459
- * Qname
1460
- */
1461
- qname?: string | null;
1462
- /**
1463
- * Namespace
1464
- */
1465
- namespace?: string | null;
1466
- /**
1467
- * External Id
1468
- */
1469
- external_id?: string | null;
1470
- /**
1471
- * External Source
1472
- */
1473
- external_source?: string | null;
1474
- };
1475
1341
  /**
1476
1342
  * CreateGraphRequest
1477
1343
  *
@@ -1850,27 +1716,6 @@ export type CreateSecurityRequest = {
1850
1716
  */
1851
1717
  outstanding_shares?: number | null;
1852
1718
  };
1853
- /**
1854
- * CreateStructureRequest
1855
- */
1856
- export type CreateStructureRequest = {
1857
- /**
1858
- * Name
1859
- */
1860
- name: string;
1861
- /**
1862
- * Description
1863
- */
1864
- description?: string | null;
1865
- /**
1866
- * Structure Type
1867
- */
1868
- structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'custom';
1869
- /**
1870
- * Taxonomy Id
1871
- */
1872
- taxonomy_id: string;
1873
- };
1874
1719
  /**
1875
1720
  * CreateSubgraphRequest
1876
1721
  *
@@ -1921,33 +1766,76 @@ export type CreateSubgraphRequest = {
1921
1766
  fork_parent?: boolean;
1922
1767
  };
1923
1768
  /**
1924
- * CreateTaxonomyRequest
1769
+ * CreateTaxonomyBlockRequest
1770
+ *
1771
+ * Request body for the ``create-taxonomy-block`` operation.
1772
+ *
1773
+ * One envelope per taxonomy instance. ``taxonomy_type`` discriminates
1774
+ * which block-type handler the command dispatcher routes to.
1775
+ * ``parent_taxonomy_id`` is required for ``reporting_extension`` (which
1776
+ * extends a library taxonomy) and ignored otherwise.
1777
+ *
1778
+ * The library path (seeding ``reporting_standard`` rows) does NOT flow
1779
+ * through this envelope — it uses a dedicated library writer that bypasses
1780
+ * these caps and tenant scoping.
1925
1781
  */
1926
- export type CreateTaxonomyRequest = {
1782
+ export type CreateTaxonomyBlockRequest = {
1927
1783
  /**
1928
1784
  * Name
1785
+ *
1786
+ * Taxonomy display name.
1929
1787
  */
1930
1788
  name: string;
1931
1789
  /**
1932
- * Description
1790
+ * Taxonomy Type
1791
+ *
1792
+ * Block-type discriminator. ``chart_of_accounts`` and ``custom_ontology`` construct from scratch; ``reporting_extension`` extends an existing library ``reporting_standard``.
1933
1793
  */
1934
- description?: string | null;
1794
+ taxonomy_type: 'reporting_standard' | 'reporting_extension' | 'custom_ontology' | 'chart_of_accounts' | 'schedule';
1935
1795
  /**
1936
- * Taxonomy Type
1796
+ * Parent Taxonomy Id
1797
+ *
1798
+ * Required when ``taxonomy_type == 'reporting_extension'`` — the id of the library ``reporting_standard`` being extended.
1937
1799
  */
1938
- taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping' | 'schedule';
1800
+ parent_taxonomy_id?: string | null;
1939
1801
  /**
1940
1802
  * Version
1941
1803
  */
1942
1804
  version?: string | null;
1943
1805
  /**
1944
- * Source Taxonomy Id
1806
+ * Description
1807
+ */
1808
+ description?: string | null;
1809
+ /**
1810
+ * Standard
1811
+ */
1812
+ standard?: string | null;
1813
+ /**
1814
+ * Namespace Uri
1815
+ */
1816
+ namespace_uri?: string | null;
1817
+ /**
1818
+ * Elements
1819
+ */
1820
+ elements?: Array<TaxonomyBlockElementRequest>;
1821
+ /**
1822
+ * Structures
1823
+ */
1824
+ structures?: Array<TaxonomyBlockStructureRequest>;
1825
+ /**
1826
+ * Associations
1827
+ */
1828
+ associations?: Array<TaxonomyBlockAssociationRequest>;
1829
+ /**
1830
+ * Rules
1945
1831
  */
1946
- source_taxonomy_id?: string | null;
1832
+ rules?: Array<TaxonomyBlockRuleRequest>;
1947
1833
  /**
1948
- * Target Taxonomy Id
1834
+ * Metadata
1949
1835
  */
1950
- target_taxonomy_id?: string | null;
1836
+ metadata?: {
1837
+ [key: string]: unknown;
1838
+ };
1951
1839
  };
1952
1840
  /**
1953
1841
  * CreateTransactionRequest
@@ -2491,30 +2379,6 @@ export type DatabaseStorageEntry = {
2491
2379
  */
2492
2380
  size_mb?: number | null;
2493
2381
  };
2494
- /**
2495
- * DeleteAssociationRequest
2496
- *
2497
- * Hard delete — associations are edges and are cheap to recreate.
2498
- */
2499
- export type DeleteAssociationRequest = {
2500
- /**
2501
- * Association Id
2502
- */
2503
- association_id: string;
2504
- };
2505
- /**
2506
- * DeleteElementRequest
2507
- *
2508
- * Soft delete — sets `is_active=false`. Historical line items
2509
- * referencing this element remain valid; new line items cannot use an
2510
- * inactive element.
2511
- */
2512
- export type DeleteElementRequest = {
2513
- /**
2514
- * Element Id
2515
- */
2516
- element_id: string;
2517
- };
2518
2382
  /**
2519
2383
  * DeleteFileResponse
2520
2384
  */
@@ -2668,17 +2532,6 @@ export type DeleteSecurityOperation = {
2668
2532
  */
2669
2533
  security_id: string;
2670
2534
  };
2671
- /**
2672
- * DeleteStructureRequest
2673
- *
2674
- * Soft delete — sets `is_active=false`.
2675
- */
2676
- export type DeleteStructureRequest = {
2677
- /**
2678
- * Structure Id
2679
- */
2680
- structure_id: string;
2681
- };
2682
2535
  /**
2683
2536
  * DeleteSubgraphOp
2684
2537
  *
@@ -2705,16 +2558,30 @@ export type DeleteSubgraphOp = {
2705
2558
  backup_first?: boolean;
2706
2559
  };
2707
2560
  /**
2708
- * DeleteTaxonomyRequest
2561
+ * DeleteTaxonomyBlockRequest
2709
2562
  *
2710
- * Soft delete sets `is_active=false`. Historical references remain
2711
- * valid.
2563
+ * Request body for the ``delete-taxonomy-block`` operation.
2564
+ *
2565
+ * ``cascade_facts=False`` (default) fails the delete if any Fact rows
2566
+ * reference elements in this taxonomy. ``cascade_facts=True`` deletes the
2567
+ * referencing facts alongside the taxonomy; the response reports
2568
+ * ``facts_deleted``.
2712
2569
  */
2713
- export type DeleteTaxonomyRequest = {
2570
+ export type DeleteTaxonomyBlockRequest = {
2714
2571
  /**
2715
2572
  * Taxonomy Id
2716
2573
  */
2717
2574
  taxonomy_id: string;
2575
+ /**
2576
+ * Cascade Facts
2577
+ */
2578
+ cascade_facts?: boolean;
2579
+ /**
2580
+ * Reason
2581
+ *
2582
+ * Human-readable justification (audit log).
2583
+ */
2584
+ reason: string;
2718
2585
  };
2719
2586
  /**
2720
2587
  * DetailedTransactionsResponse
@@ -2747,6 +2614,59 @@ export type DetailedTransactionsResponse = {
2747
2614
  [key: string]: string;
2748
2615
  };
2749
2616
  };
2617
+ /**
2618
+ * DisposeScheduleRequest
2619
+ *
2620
+ * Dispose a schedule early — combines truncation with a disposal closing entry.
2621
+ *
2622
+ * Computes net book value from the schedule's own facts, truncates forward
2623
+ * periods, and creates a balanced disposal entry in one atomic operation.
2624
+ * Use when an asset is sold or abandoned before the schedule runs to completion.
2625
+ */
2626
+ export type DisposeScheduleRequest = {
2627
+ /**
2628
+ * Structure Id
2629
+ *
2630
+ * Target schedule structure ID.
2631
+ */
2632
+ structure_id: string;
2633
+ /**
2634
+ * Disposal Date
2635
+ *
2636
+ * Last day of the final period (month-end). Forward facts past this date are deleted; the disposal entry is posted on this date.
2637
+ */
2638
+ disposal_date: string;
2639
+ /**
2640
+ * Sale Proceeds
2641
+ *
2642
+ * Cash received from the sale in cents. None or 0 for abandonment (no cash received). If provided, `proceeds_element_id` is required.
2643
+ */
2644
+ sale_proceeds?: number | null;
2645
+ /**
2646
+ * Proceeds Element Id
2647
+ *
2648
+ * Element to debit for sale proceeds (e.g., Cash or AR). Required when sale_proceeds > 0.
2649
+ */
2650
+ proceeds_element_id?: string | null;
2651
+ /**
2652
+ * Gain Loss Element Id
2653
+ *
2654
+ * Element for gain or loss on disposal. Required when net book value > 0 after applying sale proceeds. Optional when asset is fully depreciated (NBV = 0, no gain/loss line needed).
2655
+ */
2656
+ gain_loss_element_id?: string | null;
2657
+ /**
2658
+ * Memo
2659
+ *
2660
+ * Memo for the disposal closing entry.
2661
+ */
2662
+ memo: string;
2663
+ /**
2664
+ * Reason
2665
+ *
2666
+ * Reason for disposal (audit trail).
2667
+ */
2668
+ reason: string;
2669
+ };
2750
2670
  /**
2751
2671
  * DocumentDetailResponse
2752
2672
  *
@@ -3074,52 +2994,103 @@ export type DownloadQuota = {
3074
2994
  resets_at: string;
3075
2995
  };
3076
2996
  /**
3077
- * EmailVerificationRequest
2997
+ * ElementUpdatePatch
3078
2998
  *
3079
- * Email verification request model.
2999
+ * Partial-update patch for a single element, keyed by qname.
3080
3000
  */
3081
- export type EmailVerificationRequest = {
3001
+ export type ElementUpdatePatch = {
3082
3002
  /**
3083
- * Token
3003
+ * Qname
3084
3004
  *
3085
- * Email verification token from email link
3005
+ * qname identifier of the element to update.
3086
3006
  */
3087
- token: string;
3088
- };
3089
- /**
3090
- * EnhancedCreditTransactionResponse
3091
- *
3092
- * Enhanced credit transaction response with more details.
3093
- */
3094
- export type EnhancedCreditTransactionResponse = {
3007
+ qname: string;
3095
3008
  /**
3096
- * Id
3009
+ * Name
3097
3010
  */
3098
- id: string;
3011
+ name?: string | null;
3099
3012
  /**
3100
- * Type
3013
+ * Description
3101
3014
  */
3102
- type: string;
3015
+ description?: string | null;
3103
3016
  /**
3104
- * Amount
3017
+ * Classification
3105
3018
  */
3106
- amount: number;
3019
+ classification?: string | null;
3107
3020
  /**
3108
- * Description
3021
+ * Balance Type
3109
3022
  */
3110
- description: string;
3023
+ balance_type?: string | null;
3111
3024
  /**
3112
- * Metadata
3025
+ * Period Type
3113
3026
  */
3114
- metadata: {
3115
- [key: string]: unknown;
3116
- };
3027
+ period_type?: string | null;
3117
3028
  /**
3118
- * Created At
3029
+ * Is Monetary
3119
3030
  */
3120
- created_at: string;
3031
+ is_monetary?: boolean | null;
3121
3032
  /**
3122
- * Operation Id
3033
+ * Code
3034
+ */
3035
+ code?: string | null;
3036
+ /**
3037
+ * Parent Ref
3038
+ */
3039
+ parent_ref?: string | null;
3040
+ /**
3041
+ * Metadata
3042
+ */
3043
+ metadata?: {
3044
+ [key: string]: unknown;
3045
+ } | null;
3046
+ };
3047
+ /**
3048
+ * EmailVerificationRequest
3049
+ *
3050
+ * Email verification request model.
3051
+ */
3052
+ export type EmailVerificationRequest = {
3053
+ /**
3054
+ * Token
3055
+ *
3056
+ * Email verification token from email link
3057
+ */
3058
+ token: string;
3059
+ };
3060
+ /**
3061
+ * EnhancedCreditTransactionResponse
3062
+ *
3063
+ * Enhanced credit transaction response with more details.
3064
+ */
3065
+ export type EnhancedCreditTransactionResponse = {
3066
+ /**
3067
+ * Id
3068
+ */
3069
+ id: string;
3070
+ /**
3071
+ * Type
3072
+ */
3073
+ type: string;
3074
+ /**
3075
+ * Amount
3076
+ */
3077
+ amount: number;
3078
+ /**
3079
+ * Description
3080
+ */
3081
+ description: string;
3082
+ /**
3083
+ * Metadata
3084
+ */
3085
+ metadata: {
3086
+ [key: string]: unknown;
3087
+ };
3088
+ /**
3089
+ * Created At
3090
+ */
3091
+ created_at: string;
3092
+ /**
3093
+ * Operation Id
3123
3094
  */
3124
3095
  operation_id?: string | null;
3125
3096
  /**
@@ -6588,6 +6559,37 @@ export type StorageSummary = {
6588
6559
  */
6589
6560
  measurement_count: number;
6590
6561
  };
6562
+ /**
6563
+ * StructureUpdatePatch
6564
+ *
6565
+ * Partial-update patch for a single structure, keyed by structure_id.
6566
+ */
6567
+ export type StructureUpdatePatch = {
6568
+ /**
6569
+ * Structure Id
6570
+ *
6571
+ * Structure id to update.
6572
+ */
6573
+ structure_id: string;
6574
+ /**
6575
+ * Name
6576
+ */
6577
+ name?: string | null;
6578
+ /**
6579
+ * Description
6580
+ */
6581
+ description?: string | null;
6582
+ /**
6583
+ * Role Uri
6584
+ */
6585
+ role_uri?: string | null;
6586
+ /**
6587
+ * Metadata
6588
+ */
6589
+ metadata?: {
6590
+ [key: string]: unknown;
6591
+ } | null;
6592
+ };
6591
6593
  /**
6592
6594
  * SubgraphQuotaResponse
6593
6595
  *
@@ -6939,6 +6941,250 @@ export type TableQueryResponse = {
6939
6941
  */
6940
6942
  execution_time_ms: number;
6941
6943
  };
6944
+ /**
6945
+ * TaxonomyBlockAssociationRequest
6946
+ *
6947
+ * Association (arc) between two elements, scoped to a structure.
6948
+ */
6949
+ export type TaxonomyBlockAssociationRequest = {
6950
+ /**
6951
+ * Structure Ref
6952
+ *
6953
+ * Envelope-local structure name (references a structure declared in the same envelope).
6954
+ */
6955
+ structure_ref: string;
6956
+ /**
6957
+ * From Ref
6958
+ *
6959
+ * qname of the source element.
6960
+ */
6961
+ from_ref: string;
6962
+ /**
6963
+ * To Ref
6964
+ *
6965
+ * qname of the target element.
6966
+ */
6967
+ to_ref: string;
6968
+ /**
6969
+ * Association Type
6970
+ *
6971
+ * DB ``associations.association_type`` enum. ``presentation`` = parent-child hierarchy; ``calculation`` = summation arc.
6972
+ */
6973
+ association_type: 'presentation' | 'calculation' | 'mapping' | 'equivalence' | 'general-special' | 'essence-alias';
6974
+ /**
6975
+ * Order Value
6976
+ */
6977
+ order_value?: number | null;
6978
+ /**
6979
+ * Arcrole
6980
+ */
6981
+ arcrole?: string | null;
6982
+ /**
6983
+ * Weight
6984
+ *
6985
+ * Calculation-arc coefficient (+1 / -1 for summation, other values for weighted rollups). Null for non-calculation arcs.
6986
+ */
6987
+ weight?: number | null;
6988
+ /**
6989
+ * Metadata
6990
+ */
6991
+ metadata?: {
6992
+ [key: string]: unknown;
6993
+ };
6994
+ };
6995
+ /**
6996
+ * TaxonomyBlockElementRequest
6997
+ *
6998
+ * Element definition inside a Taxonomy Block envelope.
6999
+ *
7000
+ * ``qname`` is the envelope-local identifier — must be unique within the
7001
+ * envelope's ``elements`` list and is used by association / rule / patch
7002
+ * payloads as the reference token. ``parent_ref`` may reference another
7003
+ * envelope-local qname or, for ``reporting_extension`` blocks, a library
7004
+ * element qname.
7005
+ */
7006
+ export type TaxonomyBlockElementRequest = {
7007
+ /**
7008
+ * Qname
7009
+ *
7010
+ * Envelope-local element identifier. Must be unique within the envelope's ``elements`` list. Used as the reference token for associations, rules, and update patches.
7011
+ */
7012
+ qname: string;
7013
+ /**
7014
+ * Name
7015
+ *
7016
+ * Human-readable element name (e.g. 'Total Assets').
7017
+ */
7018
+ name: string;
7019
+ /**
7020
+ * Classification
7021
+ *
7022
+ * FASB metamodel trait for the element. Required for ``chart_of_accounts`` blocks; optional for ``custom_ontology``.
7023
+ */
7024
+ classification?: string | null;
7025
+ /**
7026
+ * Balance Type
7027
+ *
7028
+ * 'debit' | 'credit' | null for non-monetary concepts.
7029
+ */
7030
+ balance_type?: string | null;
7031
+ /**
7032
+ * Element Type
7033
+ *
7034
+ * 'concept' | 'abstract' | 'axis' | 'member' | 'hypercube'.
7035
+ */
7036
+ element_type?: string;
7037
+ /**
7038
+ * Period Type
7039
+ *
7040
+ * 'instant' | 'duration' | null (null = derive from classification during validation).
7041
+ */
7042
+ period_type?: string | null;
7043
+ /**
7044
+ * Is Monetary
7045
+ *
7046
+ * True for dollar-denominated concepts.
7047
+ */
7048
+ is_monetary?: boolean;
7049
+ /**
7050
+ * Description
7051
+ */
7052
+ description?: string | null;
7053
+ /**
7054
+ * Code
7055
+ *
7056
+ * Optional chart-of-accounts code (e.g. '1000', '4100-02'). Only meaningful for ``chart_of_accounts`` blocks.
7057
+ */
7058
+ code?: string | null;
7059
+ /**
7060
+ * Sub Classification
7061
+ */
7062
+ sub_classification?: string | null;
7063
+ /**
7064
+ * Parent Ref
7065
+ *
7066
+ * qname of the parent element — either another envelope-local qname or, for ``reporting_extension`` blocks, a library element qname.
7067
+ */
7068
+ parent_ref?: string | null;
7069
+ /**
7070
+ * Metadata
7071
+ */
7072
+ metadata?: {
7073
+ [key: string]: unknown;
7074
+ };
7075
+ };
7076
+ /**
7077
+ * TaxonomyBlockRuleRequest
7078
+ *
7079
+ * Rule definition inside a Taxonomy Block envelope.
7080
+ *
7081
+ * Exactly one of ``target_structure_ref``, ``target_element_qname``, or
7082
+ * ``target_taxonomy_self`` must be set (or all null for a global rule).
7083
+ * The ``model_validator`` enforces this contract at the Pydantic layer.
7084
+ */
7085
+ export type TaxonomyBlockRuleRequest = {
7086
+ /**
7087
+ * Name
7088
+ *
7089
+ * Rule identifier, unique within envelope.
7090
+ */
7091
+ name: string;
7092
+ /**
7093
+ * Description
7094
+ */
7095
+ description?: string | null;
7096
+ /**
7097
+ * Rule Category
7098
+ *
7099
+ * One of 8 cm:VerificationRule subclasses.
7100
+ */
7101
+ rule_category: 'AutomatedAccountingAndReportingChecks' | 'DisclosureMechanicsRule' | 'FundamentalAccountingConceptRelation' | 'PeerConsistencyRule' | 'PriorPeriodConsistencyRule' | 'ReportLevelModelStructureRule' | 'ReportingSystemSpecificRule' | 'ToDoManualTask' | 'XBRLTechnicalSyntaxRule';
7102
+ /**
7103
+ * Rule Pattern
7104
+ *
7105
+ * One of 11 cm:BusinessRulePattern mechanisms.
7106
+ */
7107
+ rule_pattern: 'Adjustment' | 'CoExists' | 'EqualTo' | 'Exists' | 'GreaterThan' | 'GreaterThanOrEqualToZero' | 'LessThan' | 'RollForward' | 'RollUp' | 'SumEquals' | 'Variance';
7108
+ /**
7109
+ * Expression
7110
+ *
7111
+ * XPath-flavored predicate body (the rule expression).
7112
+ */
7113
+ expression: string;
7114
+ /**
7115
+ * Variables
7116
+ *
7117
+ * ``$Variable`` → qname bindings. Each entry is ``{'variable_name': str, 'variable_qname': str}``.
7118
+ */
7119
+ variables?: Array<{
7120
+ [key: string]: unknown;
7121
+ }>;
7122
+ /**
7123
+ * Severity
7124
+ */
7125
+ severity?: 'info' | 'warning' | 'error';
7126
+ /**
7127
+ * Target Structure Ref
7128
+ *
7129
+ * Envelope-local structure name this rule targets (for structure-scoped rules). Mutually exclusive with the other target_* fields.
7130
+ */
7131
+ target_structure_ref?: string | null;
7132
+ /**
7133
+ * Target Element Qname
7134
+ *
7135
+ * qname of the element this rule targets. Mutually exclusive with the other target_* fields.
7136
+ */
7137
+ target_element_qname?: string | null;
7138
+ /**
7139
+ * Target Taxonomy Self
7140
+ *
7141
+ * True iff the rule targets the envelope's own taxonomy row (``target_kind='taxonomy'``). Mutually exclusive with the other target_* fields.
7142
+ */
7143
+ target_taxonomy_self?: boolean;
7144
+ /**
7145
+ * Message
7146
+ */
7147
+ message?: string | null;
7148
+ /**
7149
+ * Metadata
7150
+ */
7151
+ metadata?: {
7152
+ [key: string]: unknown;
7153
+ };
7154
+ };
7155
+ /**
7156
+ * TaxonomyBlockStructureRequest
7157
+ *
7158
+ * Structure definition inside a Taxonomy Block envelope.
7159
+ */
7160
+ export type TaxonomyBlockStructureRequest = {
7161
+ /**
7162
+ * Name
7163
+ *
7164
+ * Envelope-local structure name (unique within envelope).
7165
+ */
7166
+ name: string;
7167
+ /**
7168
+ * Structure Type
7169
+ *
7170
+ * DB ``structures.structure_type`` enum. CoA blocks use ``chart_of_accounts``; reporting extensions use the statement family or ``custom``; custom ontology uses ``custom``.
7171
+ */
7172
+ structure_type: 'chart_of_accounts' | 'custom' | 'balance_sheet' | 'income_statement' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'rollforward' | 'reconciliation' | 'policy' | 'metric';
7173
+ /**
7174
+ * Description
7175
+ */
7176
+ description?: string | null;
7177
+ /**
7178
+ * Role Uri
7179
+ */
7180
+ role_uri?: string | null;
7181
+ /**
7182
+ * Metadata
7183
+ */
7184
+ metadata?: {
7185
+ [key: string]: unknown;
7186
+ };
7187
+ };
6942
7188
  /**
6943
7189
  * TierCapacity
6944
7190
  *
@@ -7113,97 +7359,15 @@ export type UpdateApiKeyRequest = {
7113
7359
  description?: string | null;
7114
7360
  };
7115
7361
  /**
7116
- * UpdateAssociationRequest
7362
+ * UpdateEntityRequest
7117
7363
  *
7118
- * Update mutable fields on an association. `from_element_id`,
7119
- * `to_element_id`, and `association_type` are immutable — delete and
7120
- * recreate instead.
7364
+ * Request to update entity details. Only provided fields are updated.
7121
7365
  */
7122
- export type UpdateAssociationRequest = {
7366
+ export type UpdateEntityRequest = {
7123
7367
  /**
7124
- * Association Id
7368
+ * Name
7125
7369
  */
7126
- association_id: string;
7127
- /**
7128
- * Order Value
7129
- */
7130
- order_value?: number | null;
7131
- /**
7132
- * Weight
7133
- */
7134
- weight?: number | null;
7135
- /**
7136
- * Confidence
7137
- */
7138
- confidence?: number | null;
7139
- /**
7140
- * Approved By
7141
- */
7142
- approved_by?: string | null;
7143
- };
7144
- /**
7145
- * UpdateElementRequest
7146
- *
7147
- * Update mutable fields on an element. `taxonomy_id` and `source` are
7148
- * immutable. `parent_id` honors `model_dump(exclude_unset=True)` semantics:
7149
- * omit the field to leave unchanged, pass `null` to clear the parent
7150
- * (make root).
7151
- *
7152
- * ``classification`` updates the element's primary FASB
7153
- * elementsOfFinancialStatements assignment (in ``element_classifications``,
7154
- * not a direct column on ``elements``). Omit to leave unchanged. Passing a
7155
- * value replaces the current primary EFS assignment; there is no
7156
- * set-to-null semantics (use the UI/admin path for full classification
7157
- * teardown — here we only support correction of a misclassified account).
7158
- */
7159
- export type UpdateElementRequest = {
7160
- /**
7161
- * Element Id
7162
- */
7163
- element_id: string;
7164
- /**
7165
- * Code
7166
- */
7167
- code?: string | null;
7168
- /**
7169
- * Name
7170
- */
7171
- name?: string | null;
7172
- /**
7173
- * Description
7174
- */
7175
- description?: string | null;
7176
- /**
7177
- * Balance Type
7178
- */
7179
- balance_type?: 'debit' | 'credit' | null;
7180
- /**
7181
- * Period Type
7182
- */
7183
- period_type?: 'duration' | 'instant' | null;
7184
- /**
7185
- * Parent Id
7186
- */
7187
- parent_id?: string | null;
7188
- /**
7189
- * Currency
7190
- */
7191
- currency?: string | null;
7192
- /**
7193
- * Classification
7194
- */
7195
- classification?: 'asset' | 'contraAsset' | 'liability' | 'contraLiability' | 'equity' | 'contraEquity' | 'temporaryEquity' | 'revenue' | 'expense' | 'expenseReversal' | 'gain' | 'loss' | 'comprehensiveIncome' | 'investmentByOwners' | 'distributionToOwners' | null;
7196
- };
7197
- /**
7198
- * UpdateEntityRequest
7199
- *
7200
- * Request to update entity details. Only provided fields are updated.
7201
- */
7202
- export type UpdateEntityRequest = {
7203
- /**
7204
- * Name
7205
- */
7206
- name?: string | null;
7370
+ name?: string | null;
7207
7371
  /**
7208
7372
  * Legal Name
7209
7373
  */
@@ -7551,16 +7715,20 @@ export type UpdateSecurityOperation = {
7551
7715
  security_id: string;
7552
7716
  };
7553
7717
  /**
7554
- * UpdateStructureRequest
7718
+ * UpdateTaxonomyBlockRequest
7719
+ *
7720
+ * Request body for the ``update-taxonomy-block`` operation.
7555
7721
  *
7556
- * Update mutable fields on a structure. `structure_type` and
7557
- * `taxonomy_id` are immutable.
7722
+ * Top-level fields (name / description / version) apply to the taxonomy
7723
+ * row itself. The delta lists mutate atoms incrementally — the validator
7724
+ * (Phase 2.3) re-runs the seven-phase check across the projected post-
7725
+ * update state before anything commits.
7558
7726
  */
7559
- export type UpdateStructureRequest = {
7727
+ export type UpdateTaxonomyBlockRequest = {
7560
7728
  /**
7561
- * Structure Id
7729
+ * Taxonomy Id
7562
7730
  */
7563
- structure_id: string;
7731
+ taxonomy_id: string;
7564
7732
  /**
7565
7733
  * Name
7566
7734
  */
@@ -7569,32 +7737,58 @@ export type UpdateStructureRequest = {
7569
7737
  * Description
7570
7738
  */
7571
7739
  description?: string | null;
7572
- };
7573
- /**
7574
- * UpdateTaxonomyRequest
7575
- *
7576
- * Update mutable fields on a taxonomy. `taxonomy_type` is immutable —
7577
- * changing it is not the same operation as editing a taxonomy; deactivate
7578
- * and create a new one instead. Only provided (non-null) fields are
7579
- * applied.
7580
- */
7581
- export type UpdateTaxonomyRequest = {
7582
7740
  /**
7583
- * Taxonomy Id
7741
+ * Version
7584
7742
  */
7585
- taxonomy_id: string;
7743
+ version?: string | null;
7586
7744
  /**
7587
- * Name
7745
+ * Elements To Add
7588
7746
  */
7589
- name?: string | null;
7747
+ elements_to_add?: Array<TaxonomyBlockElementRequest>;
7590
7748
  /**
7591
- * Description
7749
+ * Elements To Update
7592
7750
  */
7593
- description?: string | null;
7751
+ elements_to_update?: Array<ElementUpdatePatch>;
7594
7752
  /**
7595
- * Version
7753
+ * Elements To Remove
7754
+ *
7755
+ * qnames of elements to remove.
7596
7756
  */
7597
- version?: string | null;
7757
+ elements_to_remove?: Array<string>;
7758
+ /**
7759
+ * Structures To Add
7760
+ */
7761
+ structures_to_add?: Array<TaxonomyBlockStructureRequest>;
7762
+ /**
7763
+ * Structures To Update
7764
+ */
7765
+ structures_to_update?: Array<StructureUpdatePatch>;
7766
+ /**
7767
+ * Structures To Remove
7768
+ *
7769
+ * Structure ids to remove.
7770
+ */
7771
+ structures_to_remove?: Array<string>;
7772
+ /**
7773
+ * Associations To Add
7774
+ */
7775
+ associations_to_add?: Array<TaxonomyBlockAssociationRequest>;
7776
+ /**
7777
+ * Associations To Remove
7778
+ *
7779
+ * Association ids to remove.
7780
+ */
7781
+ associations_to_remove?: Array<string>;
7782
+ /**
7783
+ * Rules To Add
7784
+ */
7785
+ rules_to_add?: Array<TaxonomyBlockRuleRequest>;
7786
+ /**
7787
+ * Rules To Remove
7788
+ *
7789
+ * Rule ids to remove.
7790
+ */
7791
+ rules_to_remove?: Array<string>;
7598
7792
  };
7599
7793
  /**
7600
7794
  * UpdateUserRequest
@@ -13330,8 +13524,8 @@ export type HandleHttpPostExtensionsGraphIdGraphqlPostResponses = {
13330
13524
  */
13331
13525
  200: unknown;
13332
13526
  };
13333
- export type OpUpdateEntityData = {
13334
- body: UpdateEntityRequest;
13527
+ export type OpInitializeLedgerData = {
13528
+ body: InitializeLedgerRequest;
13335
13529
  headers?: {
13336
13530
  /**
13337
13531
  * Idempotency-Key
@@ -13345,9 +13539,9 @@ export type OpUpdateEntityData = {
13345
13539
  graph_id: string;
13346
13540
  };
13347
13541
  query?: never;
13348
- url: '/extensions/roboledger/{graph_id}/operations/update-entity';
13542
+ url: '/extensions/roboledger/{graph_id}/operations/initialize';
13349
13543
  };
13350
- export type OpUpdateEntityErrors = {
13544
+ export type OpInitializeLedgerErrors = {
13351
13545
  /**
13352
13546
  * Invalid request
13353
13547
  */
@@ -13381,16 +13575,16 @@ export type OpUpdateEntityErrors = {
13381
13575
  */
13382
13576
  500: ErrorResponse;
13383
13577
  };
13384
- export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
13385
- export type OpUpdateEntityResponses = {
13578
+ export type OpInitializeLedgerError = OpInitializeLedgerErrors[keyof OpInitializeLedgerErrors];
13579
+ export type OpInitializeLedgerResponses = {
13386
13580
  /**
13387
13581
  * Successful Response
13388
13582
  */
13389
13583
  200: OperationEnvelope;
13390
13584
  };
13391
- export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
13392
- export type OpInitializeLedgerData = {
13393
- body: InitializeLedgerRequest;
13585
+ export type OpInitializeLedgerResponse = OpInitializeLedgerResponses[keyof OpInitializeLedgerResponses];
13586
+ export type OpUpdateEntityData = {
13587
+ body: UpdateEntityRequest;
13394
13588
  headers?: {
13395
13589
  /**
13396
13590
  * Idempotency-Key
@@ -13404,9 +13598,9 @@ export type OpInitializeLedgerData = {
13404
13598
  graph_id: string;
13405
13599
  };
13406
13600
  query?: never;
13407
- url: '/extensions/roboledger/{graph_id}/operations/initialize';
13601
+ url: '/extensions/roboledger/{graph_id}/operations/update-entity';
13408
13602
  };
13409
- export type OpInitializeLedgerErrors = {
13603
+ export type OpUpdateEntityErrors = {
13410
13604
  /**
13411
13605
  * Invalid request
13412
13606
  */
@@ -13440,16 +13634,16 @@ export type OpInitializeLedgerErrors = {
13440
13634
  */
13441
13635
  500: ErrorResponse;
13442
13636
  };
13443
- export type OpInitializeLedgerError = OpInitializeLedgerErrors[keyof OpInitializeLedgerErrors];
13444
- export type OpInitializeLedgerResponses = {
13637
+ export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
13638
+ export type OpUpdateEntityResponses = {
13445
13639
  /**
13446
13640
  * Successful Response
13447
13641
  */
13448
13642
  200: OperationEnvelope;
13449
13643
  };
13450
- export type OpInitializeLedgerResponse = OpInitializeLedgerResponses[keyof OpInitializeLedgerResponses];
13451
- export type OpSetCloseTargetData = {
13452
- body: SetCloseTargetOperation;
13644
+ export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
13645
+ export type OpCreateTaxonomyBlockData = {
13646
+ body: CreateTaxonomyBlockRequest;
13453
13647
  headers?: {
13454
13648
  /**
13455
13649
  * Idempotency-Key
@@ -13463,29 +13657,29 @@ export type OpSetCloseTargetData = {
13463
13657
  graph_id: string;
13464
13658
  };
13465
13659
  query?: never;
13466
- url: '/extensions/roboledger/{graph_id}/operations/set-close-target';
13660
+ url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy-block';
13467
13661
  };
13468
- export type OpSetCloseTargetErrors = {
13662
+ export type OpCreateTaxonomyBlockErrors = {
13469
13663
  /**
13470
- * Invalid request
13664
+ * Invalid request payload
13471
13665
  */
13472
- 400: ErrorResponse;
13666
+ 400: OperationError;
13473
13667
  /**
13474
- * Authentication required
13668
+ * Unauthorized — missing or invalid credentials
13475
13669
  */
13476
- 401: ErrorResponse;
13670
+ 401: unknown;
13477
13671
  /**
13478
- * Access denied
13672
+ * Forbidden — caller cannot access this graph
13479
13673
  */
13480
- 403: ErrorResponse;
13674
+ 403: unknown;
13481
13675
  /**
13482
- * Resource not found
13676
+ * Resource not found (graph, ledger, report, etc.)
13483
13677
  */
13484
- 404: ErrorResponse;
13678
+ 404: OperationError;
13485
13679
  /**
13486
- * Idempotency-Key conflict — key reused with different body
13680
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13487
13681
  */
13488
- 409: ErrorResponse;
13682
+ 409: OperationError;
13489
13683
  /**
13490
13684
  * Validation Error
13491
13685
  */
@@ -13493,22 +13687,22 @@ export type OpSetCloseTargetErrors = {
13493
13687
  /**
13494
13688
  * Rate limit exceeded
13495
13689
  */
13496
- 429: ErrorResponse;
13690
+ 429: unknown;
13497
13691
  /**
13498
- * Internal server error
13692
+ * Internal error
13499
13693
  */
13500
- 500: ErrorResponse;
13694
+ 500: unknown;
13501
13695
  };
13502
- export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
13503
- export type OpSetCloseTargetResponses = {
13696
+ export type OpCreateTaxonomyBlockError = OpCreateTaxonomyBlockErrors[keyof OpCreateTaxonomyBlockErrors];
13697
+ export type OpCreateTaxonomyBlockResponses = {
13504
13698
  /**
13505
13699
  * Successful Response
13506
13700
  */
13507
13701
  200: OperationEnvelope;
13508
13702
  };
13509
- export type OpSetCloseTargetResponse = OpSetCloseTargetResponses[keyof OpSetCloseTargetResponses];
13510
- export type OpClosePeriodData = {
13511
- body: ClosePeriodOperation;
13703
+ export type OpCreateTaxonomyBlockResponse = OpCreateTaxonomyBlockResponses[keyof OpCreateTaxonomyBlockResponses];
13704
+ export type OpUpdateTaxonomyBlockData = {
13705
+ body: UpdateTaxonomyBlockRequest;
13512
13706
  headers?: {
13513
13707
  /**
13514
13708
  * Idempotency-Key
@@ -13522,29 +13716,29 @@ export type OpClosePeriodData = {
13522
13716
  graph_id: string;
13523
13717
  };
13524
13718
  query?: never;
13525
- url: '/extensions/roboledger/{graph_id}/operations/close-period';
13719
+ url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy-block';
13526
13720
  };
13527
- export type OpClosePeriodErrors = {
13721
+ export type OpUpdateTaxonomyBlockErrors = {
13528
13722
  /**
13529
- * Invalid request
13723
+ * Invalid request payload
13530
13724
  */
13531
- 400: ErrorResponse;
13725
+ 400: OperationError;
13532
13726
  /**
13533
- * Authentication required
13727
+ * Unauthorized — missing or invalid credentials
13534
13728
  */
13535
- 401: ErrorResponse;
13729
+ 401: unknown;
13536
13730
  /**
13537
- * Access denied
13731
+ * Forbidden — caller cannot access this graph
13538
13732
  */
13539
- 403: ErrorResponse;
13733
+ 403: unknown;
13540
13734
  /**
13541
- * Resource not found
13735
+ * Resource not found (graph, ledger, report, etc.)
13542
13736
  */
13543
- 404: ErrorResponse;
13737
+ 404: OperationError;
13544
13738
  /**
13545
- * Idempotency-Key conflict — key reused with different body
13739
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13546
13740
  */
13547
- 409: ErrorResponse;
13741
+ 409: OperationError;
13548
13742
  /**
13549
13743
  * Validation Error
13550
13744
  */
@@ -13552,22 +13746,22 @@ export type OpClosePeriodErrors = {
13552
13746
  /**
13553
13747
  * Rate limit exceeded
13554
13748
  */
13555
- 429: ErrorResponse;
13749
+ 429: unknown;
13556
13750
  /**
13557
- * Internal server error
13751
+ * Internal error
13558
13752
  */
13559
- 500: ErrorResponse;
13753
+ 500: unknown;
13560
13754
  };
13561
- export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
13562
- export type OpClosePeriodResponses = {
13755
+ export type OpUpdateTaxonomyBlockError = OpUpdateTaxonomyBlockErrors[keyof OpUpdateTaxonomyBlockErrors];
13756
+ export type OpUpdateTaxonomyBlockResponses = {
13563
13757
  /**
13564
13758
  * Successful Response
13565
13759
  */
13566
13760
  200: OperationEnvelope;
13567
13761
  };
13568
- export type OpClosePeriodResponse = OpClosePeriodResponses[keyof OpClosePeriodResponses];
13569
- export type OpReopenPeriodData = {
13570
- body: ReopenPeriodOperation;
13762
+ export type OpUpdateTaxonomyBlockResponse = OpUpdateTaxonomyBlockResponses[keyof OpUpdateTaxonomyBlockResponses];
13763
+ export type OpDeleteTaxonomyBlockData = {
13764
+ body: DeleteTaxonomyBlockRequest;
13571
13765
  headers?: {
13572
13766
  /**
13573
13767
  * Idempotency-Key
@@ -13581,29 +13775,29 @@ export type OpReopenPeriodData = {
13581
13775
  graph_id: string;
13582
13776
  };
13583
13777
  query?: never;
13584
- url: '/extensions/roboledger/{graph_id}/operations/reopen-period';
13778
+ url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy-block';
13585
13779
  };
13586
- export type OpReopenPeriodErrors = {
13780
+ export type OpDeleteTaxonomyBlockErrors = {
13587
13781
  /**
13588
- * Invalid request
13782
+ * Invalid request payload
13589
13783
  */
13590
- 400: ErrorResponse;
13784
+ 400: OperationError;
13591
13785
  /**
13592
- * Authentication required
13786
+ * Unauthorized — missing or invalid credentials
13593
13787
  */
13594
- 401: ErrorResponse;
13788
+ 401: unknown;
13595
13789
  /**
13596
- * Access denied
13790
+ * Forbidden — caller cannot access this graph
13597
13791
  */
13598
- 403: ErrorResponse;
13792
+ 403: unknown;
13599
13793
  /**
13600
- * Resource not found
13794
+ * Resource not found (graph, ledger, report, etc.)
13601
13795
  */
13602
- 404: ErrorResponse;
13796
+ 404: OperationError;
13603
13797
  /**
13604
- * Idempotency-Key conflict — key reused with different body
13798
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13605
13799
  */
13606
- 409: ErrorResponse;
13800
+ 409: OperationError;
13607
13801
  /**
13608
13802
  * Validation Error
13609
13803
  */
@@ -13611,22 +13805,22 @@ export type OpReopenPeriodErrors = {
13611
13805
  /**
13612
13806
  * Rate limit exceeded
13613
13807
  */
13614
- 429: ErrorResponse;
13808
+ 429: unknown;
13615
13809
  /**
13616
- * Internal server error
13810
+ * Internal error
13617
13811
  */
13618
- 500: ErrorResponse;
13812
+ 500: unknown;
13619
13813
  };
13620
- export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
13621
- export type OpReopenPeriodResponses = {
13814
+ export type OpDeleteTaxonomyBlockError = OpDeleteTaxonomyBlockErrors[keyof OpDeleteTaxonomyBlockErrors];
13815
+ export type OpDeleteTaxonomyBlockResponses = {
13622
13816
  /**
13623
13817
  * Successful Response
13624
13818
  */
13625
13819
  200: OperationEnvelope;
13626
13820
  };
13627
- export type OpReopenPeriodResponse = OpReopenPeriodResponses[keyof OpReopenPeriodResponses];
13628
- export type OpCreateTaxonomyData = {
13629
- body: CreateTaxonomyRequest;
13821
+ export type OpDeleteTaxonomyBlockResponse = OpDeleteTaxonomyBlockResponses[keyof OpDeleteTaxonomyBlockResponses];
13822
+ export type OpLinkEntityTaxonomyData = {
13823
+ body: LinkEntityTaxonomyRequest;
13630
13824
  headers?: {
13631
13825
  /**
13632
13826
  * Idempotency-Key
@@ -13640,29 +13834,29 @@ export type OpCreateTaxonomyData = {
13640
13834
  graph_id: string;
13641
13835
  };
13642
13836
  query?: never;
13643
- url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy';
13837
+ url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
13644
13838
  };
13645
- export type OpCreateTaxonomyErrors = {
13839
+ export type OpLinkEntityTaxonomyErrors = {
13646
13840
  /**
13647
- * Invalid request
13841
+ * Invalid request payload
13648
13842
  */
13649
- 400: ErrorResponse;
13843
+ 400: OperationError;
13650
13844
  /**
13651
- * Authentication required
13845
+ * Unauthorized — missing or invalid credentials
13652
13846
  */
13653
- 401: ErrorResponse;
13847
+ 401: unknown;
13654
13848
  /**
13655
- * Access denied
13849
+ * Forbidden — caller cannot access this graph
13656
13850
  */
13657
- 403: ErrorResponse;
13851
+ 403: unknown;
13658
13852
  /**
13659
- * Resource not found
13853
+ * Resource not found (graph, ledger, report, etc.)
13660
13854
  */
13661
- 404: ErrorResponse;
13855
+ 404: OperationError;
13662
13856
  /**
13663
- * Idempotency-Key conflict — key reused with different body
13857
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13664
13858
  */
13665
- 409: ErrorResponse;
13859
+ 409: OperationError;
13666
13860
  /**
13667
13861
  * Validation Error
13668
13862
  */
@@ -13670,23 +13864,23 @@ export type OpCreateTaxonomyErrors = {
13670
13864
  /**
13671
13865
  * Rate limit exceeded
13672
13866
  */
13673
- 429: ErrorResponse;
13867
+ 429: unknown;
13674
13868
  /**
13675
- * Internal server error
13869
+ * Internal error
13676
13870
  */
13677
- 500: ErrorResponse;
13871
+ 500: unknown;
13678
13872
  };
13679
- export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
13680
- export type OpCreateTaxonomyResponses = {
13873
+ export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
13874
+ export type OpLinkEntityTaxonomyResponses = {
13681
13875
  /**
13682
13876
  * Successful Response
13683
13877
  */
13684
13878
  200: OperationEnvelope;
13685
13879
  };
13686
- export type OpCreateTaxonomyResponse = OpCreateTaxonomyResponses[keyof OpCreateTaxonomyResponses];
13687
- export type OpCreateStructureData = {
13688
- body: CreateStructureRequest;
13689
- headers?: {
13880
+ export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
13881
+ export type OpCreateMappingAssociationData = {
13882
+ body: CreateMappingAssociationOperation;
13883
+ headers?: {
13690
13884
  /**
13691
13885
  * Idempotency-Key
13692
13886
  */
@@ -13699,29 +13893,29 @@ export type OpCreateStructureData = {
13699
13893
  graph_id: string;
13700
13894
  };
13701
13895
  query?: never;
13702
- url: '/extensions/roboledger/{graph_id}/operations/create-structure';
13896
+ url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
13703
13897
  };
13704
- export type OpCreateStructureErrors = {
13898
+ export type OpCreateMappingAssociationErrors = {
13705
13899
  /**
13706
- * Invalid request
13900
+ * Invalid request payload
13707
13901
  */
13708
- 400: ErrorResponse;
13902
+ 400: OperationError;
13709
13903
  /**
13710
- * Authentication required
13904
+ * Unauthorized — missing or invalid credentials
13711
13905
  */
13712
- 401: ErrorResponse;
13906
+ 401: unknown;
13713
13907
  /**
13714
- * Access denied
13908
+ * Forbidden — caller cannot access this graph
13715
13909
  */
13716
- 403: ErrorResponse;
13910
+ 403: unknown;
13717
13911
  /**
13718
- * Resource not found
13912
+ * Resource not found (graph, ledger, report, etc.)
13719
13913
  */
13720
- 404: ErrorResponse;
13914
+ 404: OperationError;
13721
13915
  /**
13722
- * Idempotency-Key conflict — key reused with different body
13916
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
13723
13917
  */
13724
- 409: ErrorResponse;
13918
+ 409: OperationError;
13725
13919
  /**
13726
13920
  * Validation Error
13727
13921
  */
@@ -13729,20 +13923,20 @@ export type OpCreateStructureErrors = {
13729
13923
  /**
13730
13924
  * Rate limit exceeded
13731
13925
  */
13732
- 429: ErrorResponse;
13926
+ 429: unknown;
13733
13927
  /**
13734
- * Internal server error
13928
+ * Internal error
13735
13929
  */
13736
- 500: ErrorResponse;
13930
+ 500: unknown;
13737
13931
  };
13738
- export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
13739
- export type OpCreateStructureResponses = {
13932
+ export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
13933
+ export type OpCreateMappingAssociationResponses = {
13740
13934
  /**
13741
13935
  * Successful Response
13742
13936
  */
13743
13937
  200: OperationEnvelope;
13744
13938
  };
13745
- export type OpCreateStructureResponse = OpCreateStructureResponses[keyof OpCreateStructureResponses];
13939
+ export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
13746
13940
  export type OpDeleteMappingAssociationData = {
13747
13941
  body: DeleteMappingAssociationOperation;
13748
13942
  headers?: {
@@ -13802,8 +13996,8 @@ export type OpDeleteMappingAssociationResponses = {
13802
13996
  200: OperationEnvelope;
13803
13997
  };
13804
13998
  export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
13805
- export type OpUpdateTaxonomyData = {
13806
- body: UpdateTaxonomyRequest;
13999
+ export type OpAutoMapElementsData = {
14000
+ body: AutoMapElementsOperation;
13807
14001
  headers?: {
13808
14002
  /**
13809
14003
  * Idempotency-Key
@@ -13817,29 +14011,29 @@ export type OpUpdateTaxonomyData = {
13817
14011
  graph_id: string;
13818
14012
  };
13819
14013
  query?: never;
13820
- url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
14014
+ url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
13821
14015
  };
13822
- export type OpUpdateTaxonomyErrors = {
14016
+ export type OpAutoMapElementsErrors = {
13823
14017
  /**
13824
- * Invalid request payload
14018
+ * Invalid request
13825
14019
  */
13826
- 400: OperationError;
14020
+ 400: ErrorResponse;
13827
14021
  /**
13828
- * Unauthorized — missing or invalid credentials
14022
+ * Authentication required
13829
14023
  */
13830
- 401: unknown;
14024
+ 401: ErrorResponse;
13831
14025
  /**
13832
- * Forbidden — caller cannot access this graph
14026
+ * Access denied
13833
14027
  */
13834
- 403: unknown;
14028
+ 403: ErrorResponse;
13835
14029
  /**
13836
- * Resource not found (graph, ledger, report, etc.)
14030
+ * Resource not found
13837
14031
  */
13838
- 404: OperationError;
14032
+ 404: ErrorResponse;
13839
14033
  /**
13840
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14034
+ * Idempotency-Key conflict — key reused with different body
13841
14035
  */
13842
- 409: OperationError;
14036
+ 409: ErrorResponse;
13843
14037
  /**
13844
14038
  * Validation Error
13845
14039
  */
@@ -13847,22 +14041,22 @@ export type OpUpdateTaxonomyErrors = {
13847
14041
  /**
13848
14042
  * Rate limit exceeded
13849
14043
  */
13850
- 429: unknown;
14044
+ 429: ErrorResponse;
13851
14045
  /**
13852
- * Internal error
14046
+ * Internal server error
13853
14047
  */
13854
- 500: unknown;
14048
+ 500: ErrorResponse;
13855
14049
  };
13856
- export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
13857
- export type OpUpdateTaxonomyResponses = {
14050
+ export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
14051
+ export type OpAutoMapElementsResponses = {
13858
14052
  /**
13859
14053
  * Successful Response
13860
14054
  */
13861
- 200: OperationEnvelope;
14055
+ 202: OperationEnvelope;
13862
14056
  };
13863
- export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
13864
- export type OpDeleteTaxonomyData = {
13865
- body: DeleteTaxonomyRequest;
14057
+ export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
14058
+ export type OpCreateInformationBlockData = {
14059
+ body: CreateInformationBlockRequest;
13866
14060
  headers?: {
13867
14061
  /**
13868
14062
  * Idempotency-Key
@@ -13876,9 +14070,9 @@ export type OpDeleteTaxonomyData = {
13876
14070
  graph_id: string;
13877
14071
  };
13878
14072
  query?: never;
13879
- url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
14073
+ url: '/extensions/roboledger/{graph_id}/operations/create-information-block';
13880
14074
  };
13881
- export type OpDeleteTaxonomyErrors = {
14075
+ export type OpCreateInformationBlockErrors = {
13882
14076
  /**
13883
14077
  * Invalid request payload
13884
14078
  */
@@ -13912,16 +14106,16 @@ export type OpDeleteTaxonomyErrors = {
13912
14106
  */
13913
14107
  500: unknown;
13914
14108
  };
13915
- export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
13916
- export type OpDeleteTaxonomyResponses = {
14109
+ export type OpCreateInformationBlockError = OpCreateInformationBlockErrors[keyof OpCreateInformationBlockErrors];
14110
+ export type OpCreateInformationBlockResponses = {
13917
14111
  /**
13918
14112
  * Successful Response
13919
14113
  */
13920
14114
  200: OperationEnvelope;
13921
14115
  };
13922
- export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
13923
- export type OpLinkEntityTaxonomyData = {
13924
- body: LinkEntityTaxonomyRequest;
14116
+ export type OpCreateInformationBlockResponse = OpCreateInformationBlockResponses[keyof OpCreateInformationBlockResponses];
14117
+ export type OpUpdateInformationBlockData = {
14118
+ body: UpdateInformationBlockRequest;
13925
14119
  headers?: {
13926
14120
  /**
13927
14121
  * Idempotency-Key
@@ -13935,9 +14129,9 @@ export type OpLinkEntityTaxonomyData = {
13935
14129
  graph_id: string;
13936
14130
  };
13937
14131
  query?: never;
13938
- url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
14132
+ url: '/extensions/roboledger/{graph_id}/operations/update-information-block';
13939
14133
  };
13940
- export type OpLinkEntityTaxonomyErrors = {
14134
+ export type OpUpdateInformationBlockErrors = {
13941
14135
  /**
13942
14136
  * Invalid request payload
13943
14137
  */
@@ -13971,16 +14165,16 @@ export type OpLinkEntityTaxonomyErrors = {
13971
14165
  */
13972
14166
  500: unknown;
13973
14167
  };
13974
- export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
13975
- export type OpLinkEntityTaxonomyResponses = {
14168
+ export type OpUpdateInformationBlockError = OpUpdateInformationBlockErrors[keyof OpUpdateInformationBlockErrors];
14169
+ export type OpUpdateInformationBlockResponses = {
13976
14170
  /**
13977
14171
  * Successful Response
13978
14172
  */
13979
14173
  200: OperationEnvelope;
13980
14174
  };
13981
- export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
13982
- export type OpUpdateStructureData = {
13983
- body: UpdateStructureRequest;
14175
+ export type OpUpdateInformationBlockResponse = OpUpdateInformationBlockResponses[keyof OpUpdateInformationBlockResponses];
14176
+ export type OpDeleteInformationBlockData = {
14177
+ body: DeleteInformationBlockRequest;
13984
14178
  headers?: {
13985
14179
  /**
13986
14180
  * Idempotency-Key
@@ -13994,9 +14188,9 @@ export type OpUpdateStructureData = {
13994
14188
  graph_id: string;
13995
14189
  };
13996
14190
  query?: never;
13997
- url: '/extensions/roboledger/{graph_id}/operations/update-structure';
14191
+ url: '/extensions/roboledger/{graph_id}/operations/delete-information-block';
13998
14192
  };
13999
- export type OpUpdateStructureErrors = {
14193
+ export type OpDeleteInformationBlockErrors = {
14000
14194
  /**
14001
14195
  * Invalid request payload
14002
14196
  */
@@ -14030,16 +14224,16 @@ export type OpUpdateStructureErrors = {
14030
14224
  */
14031
14225
  500: unknown;
14032
14226
  };
14033
- export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
14034
- export type OpUpdateStructureResponses = {
14227
+ export type OpDeleteInformationBlockError = OpDeleteInformationBlockErrors[keyof OpDeleteInformationBlockErrors];
14228
+ export type OpDeleteInformationBlockResponses = {
14035
14229
  /**
14036
14230
  * Successful Response
14037
14231
  */
14038
14232
  200: OperationEnvelope;
14039
14233
  };
14040
- export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
14041
- export type OpDeleteStructureData = {
14042
- body: DeleteStructureRequest;
14234
+ export type OpDeleteInformationBlockResponse = OpDeleteInformationBlockResponses[keyof OpDeleteInformationBlockResponses];
14235
+ export type OpEvaluateRulesData = {
14236
+ body: EvaluateRulesRequest;
14043
14237
  headers?: {
14044
14238
  /**
14045
14239
  * Idempotency-Key
@@ -14053,9 +14247,9 @@ export type OpDeleteStructureData = {
14053
14247
  graph_id: string;
14054
14248
  };
14055
14249
  query?: never;
14056
- url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
14250
+ url: '/extensions/roboledger/{graph_id}/operations/evaluate-rules';
14057
14251
  };
14058
- export type OpDeleteStructureErrors = {
14252
+ export type OpEvaluateRulesErrors = {
14059
14253
  /**
14060
14254
  * Invalid request payload
14061
14255
  */
@@ -14089,16 +14283,16 @@ export type OpDeleteStructureErrors = {
14089
14283
  */
14090
14284
  500: unknown;
14091
14285
  };
14092
- export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
14093
- export type OpDeleteStructureResponses = {
14286
+ export type OpEvaluateRulesError = OpEvaluateRulesErrors[keyof OpEvaluateRulesErrors];
14287
+ export type OpEvaluateRulesResponses = {
14094
14288
  /**
14095
14289
  * Successful Response
14096
14290
  */
14097
14291
  200: OperationEnvelope;
14098
14292
  };
14099
- export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
14100
- export type OpCreateElementData = {
14101
- body: CreateElementRequest;
14293
+ export type OpEvaluateRulesResponse = OpEvaluateRulesResponses[keyof OpEvaluateRulesResponses];
14294
+ export type OpCreateTransactionData = {
14295
+ body: CreateTransactionRequest;
14102
14296
  headers?: {
14103
14297
  /**
14104
14298
  * Idempotency-Key
@@ -14112,9 +14306,9 @@ export type OpCreateElementData = {
14112
14306
  graph_id: string;
14113
14307
  };
14114
14308
  query?: never;
14115
- url: '/extensions/roboledger/{graph_id}/operations/create-element';
14309
+ url: '/extensions/roboledger/{graph_id}/operations/create-transaction';
14116
14310
  };
14117
- export type OpCreateElementErrors = {
14311
+ export type OpCreateTransactionErrors = {
14118
14312
  /**
14119
14313
  * Invalid request payload
14120
14314
  */
@@ -14148,16 +14342,16 @@ export type OpCreateElementErrors = {
14148
14342
  */
14149
14343
  500: unknown;
14150
14344
  };
14151
- export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
14152
- export type OpCreateElementResponses = {
14345
+ export type OpCreateTransactionError = OpCreateTransactionErrors[keyof OpCreateTransactionErrors];
14346
+ export type OpCreateTransactionResponses = {
14153
14347
  /**
14154
14348
  * Successful Response
14155
14349
  */
14156
14350
  200: OperationEnvelope;
14157
14351
  };
14158
- export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
14159
- export type OpUpdateElementData = {
14160
- body: UpdateElementRequest;
14352
+ export type OpCreateTransactionResponse = OpCreateTransactionResponses[keyof OpCreateTransactionResponses];
14353
+ export type OpCreateJournalEntryData = {
14354
+ body: CreateJournalEntryRequest;
14161
14355
  headers?: {
14162
14356
  /**
14163
14357
  * Idempotency-Key
@@ -14171,9 +14365,9 @@ export type OpUpdateElementData = {
14171
14365
  graph_id: string;
14172
14366
  };
14173
14367
  query?: never;
14174
- url: '/extensions/roboledger/{graph_id}/operations/update-element';
14368
+ url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
14175
14369
  };
14176
- export type OpUpdateElementErrors = {
14370
+ export type OpCreateJournalEntryErrors = {
14177
14371
  /**
14178
14372
  * Invalid request payload
14179
14373
  */
@@ -14207,16 +14401,16 @@ export type OpUpdateElementErrors = {
14207
14401
  */
14208
14402
  500: unknown;
14209
14403
  };
14210
- export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
14211
- export type OpUpdateElementResponses = {
14404
+ export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
14405
+ export type OpCreateJournalEntryResponses = {
14212
14406
  /**
14213
14407
  * Successful Response
14214
14408
  */
14215
14409
  200: OperationEnvelope;
14216
14410
  };
14217
- export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
14218
- export type OpDeleteElementData = {
14219
- body: DeleteElementRequest;
14411
+ export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
14412
+ export type OpUpdateJournalEntryData = {
14413
+ body: UpdateJournalEntryRequest;
14220
14414
  headers?: {
14221
14415
  /**
14222
14416
  * Idempotency-Key
@@ -14230,9 +14424,9 @@ export type OpDeleteElementData = {
14230
14424
  graph_id: string;
14231
14425
  };
14232
14426
  query?: never;
14233
- url: '/extensions/roboledger/{graph_id}/operations/delete-element';
14427
+ url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
14234
14428
  };
14235
- export type OpDeleteElementErrors = {
14429
+ export type OpUpdateJournalEntryErrors = {
14236
14430
  /**
14237
14431
  * Invalid request payload
14238
14432
  */
@@ -14266,16 +14460,16 @@ export type OpDeleteElementErrors = {
14266
14460
  */
14267
14461
  500: unknown;
14268
14462
  };
14269
- export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
14270
- export type OpDeleteElementResponses = {
14463
+ export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
14464
+ export type OpUpdateJournalEntryResponses = {
14271
14465
  /**
14272
14466
  * Successful Response
14273
14467
  */
14274
14468
  200: OperationEnvelope;
14275
14469
  };
14276
- export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
14277
- export type OpCreateAssociationsData = {
14278
- body: BulkCreateAssociationsRequest;
14470
+ export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
14471
+ export type OpDeleteJournalEntryData = {
14472
+ body: DeleteJournalEntryRequest;
14279
14473
  headers?: {
14280
14474
  /**
14281
14475
  * Idempotency-Key
@@ -14289,9 +14483,9 @@ export type OpCreateAssociationsData = {
14289
14483
  graph_id: string;
14290
14484
  };
14291
14485
  query?: never;
14292
- url: '/extensions/roboledger/{graph_id}/operations/create-associations';
14486
+ url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
14293
14487
  };
14294
- export type OpCreateAssociationsErrors = {
14488
+ export type OpDeleteJournalEntryErrors = {
14295
14489
  /**
14296
14490
  * Invalid request payload
14297
14491
  */
@@ -14325,16 +14519,16 @@ export type OpCreateAssociationsErrors = {
14325
14519
  */
14326
14520
  500: unknown;
14327
14521
  };
14328
- export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
14329
- export type OpCreateAssociationsResponses = {
14522
+ export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
14523
+ export type OpDeleteJournalEntryResponses = {
14330
14524
  /**
14331
14525
  * Successful Response
14332
14526
  */
14333
14527
  200: OperationEnvelope;
14334
14528
  };
14335
- export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
14336
- export type OpUpdateAssociationData = {
14337
- body: UpdateAssociationRequest;
14529
+ export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
14530
+ export type OpReverseJournalEntryData = {
14531
+ body: ReverseJournalEntryRequest;
14338
14532
  headers?: {
14339
14533
  /**
14340
14534
  * Idempotency-Key
@@ -14348,9 +14542,9 @@ export type OpUpdateAssociationData = {
14348
14542
  graph_id: string;
14349
14543
  };
14350
14544
  query?: never;
14351
- url: '/extensions/roboledger/{graph_id}/operations/update-association';
14545
+ url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
14352
14546
  };
14353
- export type OpUpdateAssociationErrors = {
14547
+ export type OpReverseJournalEntryErrors = {
14354
14548
  /**
14355
14549
  * Invalid request payload
14356
14550
  */
@@ -14384,16 +14578,16 @@ export type OpUpdateAssociationErrors = {
14384
14578
  */
14385
14579
  500: unknown;
14386
14580
  };
14387
- export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
14388
- export type OpUpdateAssociationResponses = {
14581
+ export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
14582
+ export type OpReverseJournalEntryResponses = {
14389
14583
  /**
14390
14584
  * Successful Response
14391
14585
  */
14392
14586
  200: OperationEnvelope;
14393
14587
  };
14394
- export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
14395
- export type OpDeleteAssociationData = {
14396
- body: DeleteAssociationRequest;
14588
+ export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
14589
+ export type OpSetCloseTargetData = {
14590
+ body: SetCloseTargetOperation;
14397
14591
  headers?: {
14398
14592
  /**
14399
14593
  * Idempotency-Key
@@ -14407,29 +14601,29 @@ export type OpDeleteAssociationData = {
14407
14601
  graph_id: string;
14408
14602
  };
14409
14603
  query?: never;
14410
- url: '/extensions/roboledger/{graph_id}/operations/delete-association';
14604
+ url: '/extensions/roboledger/{graph_id}/operations/set-close-target';
14411
14605
  };
14412
- export type OpDeleteAssociationErrors = {
14606
+ export type OpSetCloseTargetErrors = {
14413
14607
  /**
14414
- * Invalid request payload
14608
+ * Invalid request
14415
14609
  */
14416
- 400: OperationError;
14610
+ 400: ErrorResponse;
14417
14611
  /**
14418
- * Unauthorized — missing or invalid credentials
14612
+ * Authentication required
14419
14613
  */
14420
- 401: unknown;
14614
+ 401: ErrorResponse;
14421
14615
  /**
14422
- * Forbidden — caller cannot access this graph
14616
+ * Access denied
14423
14617
  */
14424
- 403: unknown;
14618
+ 403: ErrorResponse;
14425
14619
  /**
14426
- * Resource not found (graph, ledger, report, etc.)
14620
+ * Resource not found
14427
14621
  */
14428
- 404: OperationError;
14622
+ 404: ErrorResponse;
14429
14623
  /**
14430
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14624
+ * Idempotency-Key conflict — key reused with different body
14431
14625
  */
14432
- 409: OperationError;
14626
+ 409: ErrorResponse;
14433
14627
  /**
14434
14628
  * Validation Error
14435
14629
  */
@@ -14437,22 +14631,22 @@ export type OpDeleteAssociationErrors = {
14437
14631
  /**
14438
14632
  * Rate limit exceeded
14439
14633
  */
14440
- 429: unknown;
14634
+ 429: ErrorResponse;
14441
14635
  /**
14442
- * Internal error
14636
+ * Internal server error
14443
14637
  */
14444
- 500: unknown;
14638
+ 500: ErrorResponse;
14445
14639
  };
14446
- export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
14447
- export type OpDeleteAssociationResponses = {
14640
+ export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
14641
+ export type OpSetCloseTargetResponses = {
14448
14642
  /**
14449
14643
  * Successful Response
14450
14644
  */
14451
14645
  200: OperationEnvelope;
14452
14646
  };
14453
- export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
14454
- export type OpCreateTransactionData = {
14455
- body: CreateTransactionRequest;
14647
+ export type OpSetCloseTargetResponse = OpSetCloseTargetResponses[keyof OpSetCloseTargetResponses];
14648
+ export type OpCreateClosingEntryData = {
14649
+ body: CreateClosingEntryOperation;
14456
14650
  headers?: {
14457
14651
  /**
14458
14652
  * Idempotency-Key
@@ -14466,9 +14660,9 @@ export type OpCreateTransactionData = {
14466
14660
  graph_id: string;
14467
14661
  };
14468
14662
  query?: never;
14469
- url: '/extensions/roboledger/{graph_id}/operations/create-transaction';
14663
+ url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
14470
14664
  };
14471
- export type OpCreateTransactionErrors = {
14665
+ export type OpCreateClosingEntryErrors = {
14472
14666
  /**
14473
14667
  * Invalid request payload
14474
14668
  */
@@ -14502,16 +14696,16 @@ export type OpCreateTransactionErrors = {
14502
14696
  */
14503
14697
  500: unknown;
14504
14698
  };
14505
- export type OpCreateTransactionError = OpCreateTransactionErrors[keyof OpCreateTransactionErrors];
14506
- export type OpCreateTransactionResponses = {
14699
+ export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
14700
+ export type OpCreateClosingEntryResponses = {
14507
14701
  /**
14508
14702
  * Successful Response
14509
14703
  */
14510
14704
  200: OperationEnvelope;
14511
14705
  };
14512
- export type OpCreateTransactionResponse = OpCreateTransactionResponses[keyof OpCreateTransactionResponses];
14513
- export type OpCreateJournalEntryData = {
14514
- body: CreateJournalEntryRequest;
14706
+ export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
14707
+ export type OpCreateManualClosingEntryData = {
14708
+ body: CreateManualClosingEntryRequest;
14515
14709
  headers?: {
14516
14710
  /**
14517
14711
  * Idempotency-Key
@@ -14525,9 +14719,9 @@ export type OpCreateJournalEntryData = {
14525
14719
  graph_id: string;
14526
14720
  };
14527
14721
  query?: never;
14528
- url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
14722
+ url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
14529
14723
  };
14530
- export type OpCreateJournalEntryErrors = {
14724
+ export type OpCreateManualClosingEntryErrors = {
14531
14725
  /**
14532
14726
  * Invalid request payload
14533
14727
  */
@@ -14561,16 +14755,16 @@ export type OpCreateJournalEntryErrors = {
14561
14755
  */
14562
14756
  500: unknown;
14563
14757
  };
14564
- export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
14565
- export type OpCreateJournalEntryResponses = {
14758
+ export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
14759
+ export type OpCreateManualClosingEntryResponses = {
14566
14760
  /**
14567
14761
  * Successful Response
14568
14762
  */
14569
14763
  200: OperationEnvelope;
14570
14764
  };
14571
- export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
14572
- export type OpUpdateJournalEntryData = {
14573
- body: UpdateJournalEntryRequest;
14765
+ export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
14766
+ export type OpTruncateScheduleData = {
14767
+ body: TruncateScheduleOperation;
14574
14768
  headers?: {
14575
14769
  /**
14576
14770
  * Idempotency-Key
@@ -14584,9 +14778,9 @@ export type OpUpdateJournalEntryData = {
14584
14778
  graph_id: string;
14585
14779
  };
14586
14780
  query?: never;
14587
- url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
14781
+ url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
14588
14782
  };
14589
- export type OpUpdateJournalEntryErrors = {
14783
+ export type OpTruncateScheduleErrors = {
14590
14784
  /**
14591
14785
  * Invalid request payload
14592
14786
  */
@@ -14620,16 +14814,16 @@ export type OpUpdateJournalEntryErrors = {
14620
14814
  */
14621
14815
  500: unknown;
14622
14816
  };
14623
- export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
14624
- export type OpUpdateJournalEntryResponses = {
14817
+ export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
14818
+ export type OpTruncateScheduleResponses = {
14625
14819
  /**
14626
14820
  * Successful Response
14627
14821
  */
14628
14822
  200: OperationEnvelope;
14629
14823
  };
14630
- export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
14631
- export type OpDeleteJournalEntryData = {
14632
- body: DeleteJournalEntryRequest;
14824
+ export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
14825
+ export type OpDisposeScheduleData = {
14826
+ body: DisposeScheduleRequest;
14633
14827
  headers?: {
14634
14828
  /**
14635
14829
  * Idempotency-Key
@@ -14643,9 +14837,9 @@ export type OpDeleteJournalEntryData = {
14643
14837
  graph_id: string;
14644
14838
  };
14645
14839
  query?: never;
14646
- url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
14840
+ url: '/extensions/roboledger/{graph_id}/operations/dispose-schedule';
14647
14841
  };
14648
- export type OpDeleteJournalEntryErrors = {
14842
+ export type OpDisposeScheduleErrors = {
14649
14843
  /**
14650
14844
  * Invalid request payload
14651
14845
  */
@@ -14679,16 +14873,16 @@ export type OpDeleteJournalEntryErrors = {
14679
14873
  */
14680
14874
  500: unknown;
14681
14875
  };
14682
- export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
14683
- export type OpDeleteJournalEntryResponses = {
14876
+ export type OpDisposeScheduleError = OpDisposeScheduleErrors[keyof OpDisposeScheduleErrors];
14877
+ export type OpDisposeScheduleResponses = {
14684
14878
  /**
14685
14879
  * Successful Response
14686
14880
  */
14687
14881
  200: OperationEnvelope;
14688
14882
  };
14689
- export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
14690
- export type OpReverseJournalEntryData = {
14691
- body: ReverseJournalEntryRequest;
14883
+ export type OpDisposeScheduleResponse = OpDisposeScheduleResponses[keyof OpDisposeScheduleResponses];
14884
+ export type OpClosePeriodData = {
14885
+ body: ClosePeriodOperation;
14692
14886
  headers?: {
14693
14887
  /**
14694
14888
  * Idempotency-Key
@@ -14702,29 +14896,29 @@ export type OpReverseJournalEntryData = {
14702
14896
  graph_id: string;
14703
14897
  };
14704
14898
  query?: never;
14705
- url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
14899
+ url: '/extensions/roboledger/{graph_id}/operations/close-period';
14706
14900
  };
14707
- export type OpReverseJournalEntryErrors = {
14901
+ export type OpClosePeriodErrors = {
14708
14902
  /**
14709
- * Invalid request payload
14903
+ * Invalid request
14710
14904
  */
14711
- 400: OperationError;
14905
+ 400: ErrorResponse;
14712
14906
  /**
14713
- * Unauthorized — missing or invalid credentials
14907
+ * Authentication required
14714
14908
  */
14715
- 401: unknown;
14909
+ 401: ErrorResponse;
14716
14910
  /**
14717
- * Forbidden — caller cannot access this graph
14911
+ * Access denied
14718
14912
  */
14719
- 403: unknown;
14913
+ 403: ErrorResponse;
14720
14914
  /**
14721
- * Resource not found (graph, ledger, report, etc.)
14915
+ * Resource not found
14722
14916
  */
14723
- 404: OperationError;
14917
+ 404: ErrorResponse;
14724
14918
  /**
14725
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14919
+ * Idempotency-Key conflict — key reused with different body
14726
14920
  */
14727
- 409: OperationError;
14921
+ 409: ErrorResponse;
14728
14922
  /**
14729
14923
  * Validation Error
14730
14924
  */
@@ -14732,494 +14926,22 @@ export type OpReverseJournalEntryErrors = {
14732
14926
  /**
14733
14927
  * Rate limit exceeded
14734
14928
  */
14735
- 429: unknown;
14929
+ 429: ErrorResponse;
14736
14930
  /**
14737
- * Internal error
14931
+ * Internal server error
14738
14932
  */
14739
- 500: unknown;
14933
+ 500: ErrorResponse;
14740
14934
  };
14741
- export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
14742
- export type OpReverseJournalEntryResponses = {
14743
- /**
14744
- * Successful Response
14745
- */
14746
- 200: OperationEnvelope;
14747
- };
14748
- export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
14749
- export type OpTruncateScheduleData = {
14750
- body: TruncateScheduleOperation;
14751
- headers?: {
14752
- /**
14753
- * Idempotency-Key
14754
- */
14755
- 'Idempotency-Key'?: string | null;
14756
- };
14757
- path: {
14758
- /**
14759
- * Graph Id
14760
- */
14761
- graph_id: string;
14762
- };
14763
- query?: never;
14764
- url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
14765
- };
14766
- export type OpTruncateScheduleErrors = {
14767
- /**
14768
- * Invalid request payload
14769
- */
14770
- 400: OperationError;
14771
- /**
14772
- * Unauthorized — missing or invalid credentials
14773
- */
14774
- 401: unknown;
14775
- /**
14776
- * Forbidden — caller cannot access this graph
14777
- */
14778
- 403: unknown;
14779
- /**
14780
- * Resource not found (graph, ledger, report, etc.)
14781
- */
14782
- 404: OperationError;
14783
- /**
14784
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14785
- */
14786
- 409: OperationError;
14787
- /**
14788
- * Validation Error
14789
- */
14790
- 422: HttpValidationError;
14791
- /**
14792
- * Rate limit exceeded
14793
- */
14794
- 429: unknown;
14795
- /**
14796
- * Internal error
14797
- */
14798
- 500: unknown;
14799
- };
14800
- export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
14801
- export type OpTruncateScheduleResponses = {
14802
- /**
14803
- * Successful Response
14804
- */
14805
- 200: OperationEnvelope;
14806
- };
14807
- export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
14808
- export type OpCreateClosingEntryData = {
14809
- body: CreateClosingEntryOperation;
14810
- headers?: {
14811
- /**
14812
- * Idempotency-Key
14813
- */
14814
- 'Idempotency-Key'?: string | null;
14815
- };
14816
- path: {
14817
- /**
14818
- * Graph Id
14819
- */
14820
- graph_id: string;
14821
- };
14822
- query?: never;
14823
- url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
14824
- };
14825
- export type OpCreateClosingEntryErrors = {
14826
- /**
14827
- * Invalid request payload
14828
- */
14829
- 400: OperationError;
14830
- /**
14831
- * Unauthorized — missing or invalid credentials
14832
- */
14833
- 401: unknown;
14834
- /**
14835
- * Forbidden — caller cannot access this graph
14836
- */
14837
- 403: unknown;
14838
- /**
14839
- * Resource not found (graph, ledger, report, etc.)
14840
- */
14841
- 404: OperationError;
14842
- /**
14843
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14844
- */
14845
- 409: OperationError;
14846
- /**
14847
- * Validation Error
14848
- */
14849
- 422: HttpValidationError;
14850
- /**
14851
- * Rate limit exceeded
14852
- */
14853
- 429: unknown;
14854
- /**
14855
- * Internal error
14856
- */
14857
- 500: unknown;
14858
- };
14859
- export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
14860
- export type OpCreateClosingEntryResponses = {
14861
- /**
14862
- * Successful Response
14863
- */
14864
- 200: OperationEnvelope;
14865
- };
14866
- export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
14867
- export type OpCreateManualClosingEntryData = {
14868
- body: CreateManualClosingEntryRequest;
14869
- headers?: {
14870
- /**
14871
- * Idempotency-Key
14872
- */
14873
- 'Idempotency-Key'?: string | null;
14874
- };
14875
- path: {
14876
- /**
14877
- * Graph Id
14878
- */
14879
- graph_id: string;
14880
- };
14881
- query?: never;
14882
- url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
14883
- };
14884
- export type OpCreateManualClosingEntryErrors = {
14885
- /**
14886
- * Invalid request payload
14887
- */
14888
- 400: OperationError;
14889
- /**
14890
- * Unauthorized — missing or invalid credentials
14891
- */
14892
- 401: unknown;
14893
- /**
14894
- * Forbidden — caller cannot access this graph
14895
- */
14896
- 403: unknown;
14897
- /**
14898
- * Resource not found (graph, ledger, report, etc.)
14899
- */
14900
- 404: OperationError;
14901
- /**
14902
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14903
- */
14904
- 409: OperationError;
14905
- /**
14906
- * Validation Error
14907
- */
14908
- 422: HttpValidationError;
14909
- /**
14910
- * Rate limit exceeded
14911
- */
14912
- 429: unknown;
14913
- /**
14914
- * Internal error
14915
- */
14916
- 500: unknown;
14917
- };
14918
- export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
14919
- export type OpCreateManualClosingEntryResponses = {
14920
- /**
14921
- * Successful Response
14922
- */
14923
- 200: OperationEnvelope;
14924
- };
14925
- export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
14926
- export type OpCreateInformationBlockData = {
14927
- body: CreateInformationBlockRequest;
14928
- headers?: {
14929
- /**
14930
- * Idempotency-Key
14931
- */
14932
- 'Idempotency-Key'?: string | null;
14933
- };
14934
- path: {
14935
- /**
14936
- * Graph Id
14937
- */
14938
- graph_id: string;
14939
- };
14940
- query?: never;
14941
- url: '/extensions/roboledger/{graph_id}/operations/create-information-block';
14942
- };
14943
- export type OpCreateInformationBlockErrors = {
14944
- /**
14945
- * Invalid request payload
14946
- */
14947
- 400: OperationError;
14948
- /**
14949
- * Unauthorized — missing or invalid credentials
14950
- */
14951
- 401: unknown;
14952
- /**
14953
- * Forbidden — caller cannot access this graph
14954
- */
14955
- 403: unknown;
14956
- /**
14957
- * Resource not found (graph, ledger, report, etc.)
14958
- */
14959
- 404: OperationError;
14960
- /**
14961
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14962
- */
14963
- 409: OperationError;
14964
- /**
14965
- * Validation Error
14966
- */
14967
- 422: HttpValidationError;
14968
- /**
14969
- * Rate limit exceeded
14970
- */
14971
- 429: unknown;
14972
- /**
14973
- * Internal error
14974
- */
14975
- 500: unknown;
14976
- };
14977
- export type OpCreateInformationBlockError = OpCreateInformationBlockErrors[keyof OpCreateInformationBlockErrors];
14978
- export type OpCreateInformationBlockResponses = {
14979
- /**
14980
- * Successful Response
14981
- */
14982
- 200: OperationEnvelope;
14983
- };
14984
- export type OpCreateInformationBlockResponse = OpCreateInformationBlockResponses[keyof OpCreateInformationBlockResponses];
14985
- export type OpUpdateInformationBlockData = {
14986
- body: UpdateInformationBlockRequest;
14987
- headers?: {
14988
- /**
14989
- * Idempotency-Key
14990
- */
14991
- 'Idempotency-Key'?: string | null;
14992
- };
14993
- path: {
14994
- /**
14995
- * Graph Id
14996
- */
14997
- graph_id: string;
14998
- };
14999
- query?: never;
15000
- url: '/extensions/roboledger/{graph_id}/operations/update-information-block';
15001
- };
15002
- export type OpUpdateInformationBlockErrors = {
15003
- /**
15004
- * Invalid request payload
15005
- */
15006
- 400: OperationError;
15007
- /**
15008
- * Unauthorized — missing or invalid credentials
15009
- */
15010
- 401: unknown;
15011
- /**
15012
- * Forbidden — caller cannot access this graph
15013
- */
15014
- 403: unknown;
15015
- /**
15016
- * Resource not found (graph, ledger, report, etc.)
15017
- */
15018
- 404: OperationError;
15019
- /**
15020
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15021
- */
15022
- 409: OperationError;
15023
- /**
15024
- * Validation Error
15025
- */
15026
- 422: HttpValidationError;
15027
- /**
15028
- * Rate limit exceeded
15029
- */
15030
- 429: unknown;
15031
- /**
15032
- * Internal error
15033
- */
15034
- 500: unknown;
15035
- };
15036
- export type OpUpdateInformationBlockError = OpUpdateInformationBlockErrors[keyof OpUpdateInformationBlockErrors];
15037
- export type OpUpdateInformationBlockResponses = {
15038
- /**
15039
- * Successful Response
15040
- */
15041
- 200: OperationEnvelope;
15042
- };
15043
- export type OpUpdateInformationBlockResponse = OpUpdateInformationBlockResponses[keyof OpUpdateInformationBlockResponses];
15044
- export type OpDeleteInformationBlockData = {
15045
- body: DeleteInformationBlockRequest;
15046
- headers?: {
15047
- /**
15048
- * Idempotency-Key
15049
- */
15050
- 'Idempotency-Key'?: string | null;
15051
- };
15052
- path: {
15053
- /**
15054
- * Graph Id
15055
- */
15056
- graph_id: string;
15057
- };
15058
- query?: never;
15059
- url: '/extensions/roboledger/{graph_id}/operations/delete-information-block';
15060
- };
15061
- export type OpDeleteInformationBlockErrors = {
15062
- /**
15063
- * Invalid request payload
15064
- */
15065
- 400: OperationError;
15066
- /**
15067
- * Unauthorized — missing or invalid credentials
15068
- */
15069
- 401: unknown;
15070
- /**
15071
- * Forbidden — caller cannot access this graph
15072
- */
15073
- 403: unknown;
15074
- /**
15075
- * Resource not found (graph, ledger, report, etc.)
15076
- */
15077
- 404: OperationError;
15078
- /**
15079
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15080
- */
15081
- 409: OperationError;
15082
- /**
15083
- * Validation Error
15084
- */
15085
- 422: HttpValidationError;
15086
- /**
15087
- * Rate limit exceeded
15088
- */
15089
- 429: unknown;
15090
- /**
15091
- * Internal error
15092
- */
15093
- 500: unknown;
15094
- };
15095
- export type OpDeleteInformationBlockError = OpDeleteInformationBlockErrors[keyof OpDeleteInformationBlockErrors];
15096
- export type OpDeleteInformationBlockResponses = {
15097
- /**
15098
- * Successful Response
15099
- */
15100
- 200: OperationEnvelope;
15101
- };
15102
- export type OpDeleteInformationBlockResponse = OpDeleteInformationBlockResponses[keyof OpDeleteInformationBlockResponses];
15103
- export type OpEvaluateRulesData = {
15104
- body: EvaluateRulesRequest;
15105
- headers?: {
15106
- /**
15107
- * Idempotency-Key
15108
- */
15109
- 'Idempotency-Key'?: string | null;
15110
- };
15111
- path: {
15112
- /**
15113
- * Graph Id
15114
- */
15115
- graph_id: string;
15116
- };
15117
- query?: never;
15118
- url: '/extensions/roboledger/{graph_id}/operations/evaluate-rules';
15119
- };
15120
- export type OpEvaluateRulesErrors = {
15121
- /**
15122
- * Invalid request payload
15123
- */
15124
- 400: OperationError;
15125
- /**
15126
- * Unauthorized — missing or invalid credentials
15127
- */
15128
- 401: unknown;
15129
- /**
15130
- * Forbidden — caller cannot access this graph
15131
- */
15132
- 403: unknown;
15133
- /**
15134
- * Resource not found (graph, ledger, report, etc.)
15135
- */
15136
- 404: OperationError;
15137
- /**
15138
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15139
- */
15140
- 409: OperationError;
15141
- /**
15142
- * Validation Error
15143
- */
15144
- 422: HttpValidationError;
15145
- /**
15146
- * Rate limit exceeded
15147
- */
15148
- 429: unknown;
15149
- /**
15150
- * Internal error
15151
- */
15152
- 500: unknown;
15153
- };
15154
- export type OpEvaluateRulesError = OpEvaluateRulesErrors[keyof OpEvaluateRulesErrors];
15155
- export type OpEvaluateRulesResponses = {
15156
- /**
15157
- * Successful Response
15158
- */
15159
- 200: OperationEnvelope;
15160
- };
15161
- export type OpEvaluateRulesResponse = OpEvaluateRulesResponses[keyof OpEvaluateRulesResponses];
15162
- export type OpCreateMappingAssociationData = {
15163
- body: CreateMappingAssociationOperation;
15164
- headers?: {
15165
- /**
15166
- * Idempotency-Key
15167
- */
15168
- 'Idempotency-Key'?: string | null;
15169
- };
15170
- path: {
15171
- /**
15172
- * Graph Id
15173
- */
15174
- graph_id: string;
15175
- };
15176
- query?: never;
15177
- url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
15178
- };
15179
- export type OpCreateMappingAssociationErrors = {
15180
- /**
15181
- * Invalid request payload
15182
- */
15183
- 400: OperationError;
15184
- /**
15185
- * Unauthorized — missing or invalid credentials
15186
- */
15187
- 401: unknown;
15188
- /**
15189
- * Forbidden — caller cannot access this graph
15190
- */
15191
- 403: unknown;
15192
- /**
15193
- * Resource not found (graph, ledger, report, etc.)
15194
- */
15195
- 404: OperationError;
15196
- /**
15197
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15198
- */
15199
- 409: OperationError;
15200
- /**
15201
- * Validation Error
15202
- */
15203
- 422: HttpValidationError;
15204
- /**
15205
- * Rate limit exceeded
15206
- */
15207
- 429: unknown;
15208
- /**
15209
- * Internal error
15210
- */
15211
- 500: unknown;
15212
- };
15213
- export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
15214
- export type OpCreateMappingAssociationResponses = {
14935
+ export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
14936
+ export type OpClosePeriodResponses = {
15215
14937
  /**
15216
14938
  * Successful Response
15217
14939
  */
15218
14940
  200: OperationEnvelope;
15219
14941
  };
15220
- export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
15221
- export type OpAutoMapElementsData = {
15222
- body: AutoMapElementsOperation;
14942
+ export type OpClosePeriodResponse = OpClosePeriodResponses[keyof OpClosePeriodResponses];
14943
+ export type OpReopenPeriodData = {
14944
+ body: ReopenPeriodOperation;
15223
14945
  headers?: {
15224
14946
  /**
15225
14947
  * Idempotency-Key
@@ -15233,9 +14955,9 @@ export type OpAutoMapElementsData = {
15233
14955
  graph_id: string;
15234
14956
  };
15235
14957
  query?: never;
15236
- url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
14958
+ url: '/extensions/roboledger/{graph_id}/operations/reopen-period';
15237
14959
  };
15238
- export type OpAutoMapElementsErrors = {
14960
+ export type OpReopenPeriodErrors = {
15239
14961
  /**
15240
14962
  * Invalid request
15241
14963
  */
@@ -15269,14 +14991,14 @@ export type OpAutoMapElementsErrors = {
15269
14991
  */
15270
14992
  500: ErrorResponse;
15271
14993
  };
15272
- export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
15273
- export type OpAutoMapElementsResponses = {
14994
+ export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
14995
+ export type OpReopenPeriodResponses = {
15274
14996
  /**
15275
14997
  * Successful Response
15276
14998
  */
15277
- 202: OperationEnvelope;
14999
+ 200: OperationEnvelope;
15278
15000
  };
15279
- export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
15001
+ export type OpReopenPeriodResponse = OpReopenPeriodResponses[keyof OpReopenPeriodResponses];
15280
15002
  export type OpCreateReportData = {
15281
15003
  body: CreateReportRequest;
15282
15004
  headers?: {