@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.ts CHANGED
@@ -907,66 +907,6 @@ export type BillingCustomer = {
907
907
  created_at: string;
908
908
  };
909
909
 
910
- /**
911
- * BulkAssociationItem
912
- *
913
- * A single association within a bulk-create payload. The parent
914
- * `structure_id` is set once on the request envelope, not repeated
915
- * per item.
916
- */
917
- export type BulkAssociationItem = {
918
- /**
919
- * From Element Id
920
- */
921
- from_element_id: string;
922
- /**
923
- * To Element Id
924
- */
925
- to_element_id: string;
926
- /**
927
- * Association Type
928
- */
929
- association_type?: 'presentation' | 'calculation' | 'mapping';
930
- /**
931
- * Arcrole
932
- */
933
- arcrole?: string | null;
934
- /**
935
- * Order Value
936
- */
937
- order_value?: number | null;
938
- /**
939
- * Weight
940
- */
941
- weight?: number | null;
942
- /**
943
- * Confidence
944
- */
945
- confidence?: number | null;
946
- /**
947
- * Suggested By
948
- */
949
- suggested_by?: string | null;
950
- };
951
-
952
- /**
953
- * BulkCreateAssociationsRequest
954
- *
955
- * Bulk create associations within a single structure. Atomic — any
956
- * failed row rolls back the whole batch. Handles 50+ presentation arcs,
957
- * 25+ calculation arcs, or a full table linkbase in one call.
958
- */
959
- export type BulkCreateAssociationsRequest = {
960
- /**
961
- * Structure Id
962
- */
963
- structure_id: string;
964
- /**
965
- * Associations
966
- */
967
- associations: Array<BulkAssociationItem>;
968
- };
969
-
970
910
  /**
971
911
  * ChangeTierOp
972
912
  *
@@ -1442,83 +1382,6 @@ export type CreateConnectionRequest = {
1442
1382
  quickbooks_config?: QuickBooksConnectionConfig | null;
1443
1383
  };
1444
1384
 
1445
- /**
1446
- * CreateElementRequest
1447
- *
1448
- * Create a new Element within a taxonomy. For chart-of-accounts
1449
- * taxonomies this is how native accounts are added.
1450
- */
1451
- export type CreateElementRequest = {
1452
- /**
1453
- * Taxonomy Id
1454
- */
1455
- taxonomy_id: string;
1456
- /**
1457
- * Code
1458
- */
1459
- code?: string | null;
1460
- /**
1461
- * Name
1462
- */
1463
- name: string;
1464
- /**
1465
- * Description
1466
- */
1467
- description?: string | null;
1468
- /**
1469
- * Classification
1470
- */
1471
- classification: 'asset' | 'contraAsset' | 'liability' | 'contraLiability' | 'equity' | 'contraEquity' | 'temporaryEquity' | 'revenue' | 'expense' | 'expenseReversal' | 'gain' | 'loss' | 'comprehensiveIncome' | 'investmentByOwners' | 'distributionToOwners';
1472
- /**
1473
- * Balance Type
1474
- */
1475
- balance_type?: 'debit' | 'credit';
1476
- /**
1477
- * Period Type
1478
- */
1479
- period_type?: 'duration' | 'instant';
1480
- /**
1481
- * Element Type
1482
- */
1483
- element_type?: 'concept' | 'abstract' | 'axis' | 'member' | 'hypercube';
1484
- /**
1485
- * Is Abstract
1486
- */
1487
- is_abstract?: boolean;
1488
- /**
1489
- * Is Monetary
1490
- */
1491
- is_monetary?: boolean;
1492
- /**
1493
- * Parent Id
1494
- */
1495
- parent_id?: string | null;
1496
- /**
1497
- * Source
1498
- */
1499
- source?: 'native' | 'fac' | 'rs-gaap' | 'us-gaap' | 'ifrs' | 'quickbooks' | 'xero' | 'plaid' | 'import';
1500
- /**
1501
- * Currency
1502
- */
1503
- currency?: string;
1504
- /**
1505
- * Qname
1506
- */
1507
- qname?: string | null;
1508
- /**
1509
- * Namespace
1510
- */
1511
- namespace?: string | null;
1512
- /**
1513
- * External Id
1514
- */
1515
- external_id?: string | null;
1516
- /**
1517
- * External Source
1518
- */
1519
- external_source?: string | null;
1520
- };
1521
-
1522
1385
  /**
1523
1386
  * CreateGraphRequest
1524
1387
  *
@@ -1908,28 +1771,6 @@ export type CreateSecurityRequest = {
1908
1771
  outstanding_shares?: number | null;
1909
1772
  };
1910
1773
 
1911
- /**
1912
- * CreateStructureRequest
1913
- */
1914
- export type CreateStructureRequest = {
1915
- /**
1916
- * Name
1917
- */
1918
- name: string;
1919
- /**
1920
- * Description
1921
- */
1922
- description?: string | null;
1923
- /**
1924
- * Structure Type
1925
- */
1926
- structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'custom';
1927
- /**
1928
- * Taxonomy Id
1929
- */
1930
- taxonomy_id: string;
1931
- };
1932
-
1933
1774
  /**
1934
1775
  * CreateSubgraphRequest
1935
1776
  *
@@ -1981,33 +1822,76 @@ export type CreateSubgraphRequest = {
1981
1822
  };
1982
1823
 
1983
1824
  /**
1984
- * CreateTaxonomyRequest
1825
+ * CreateTaxonomyBlockRequest
1826
+ *
1827
+ * Request body for the ``create-taxonomy-block`` operation.
1828
+ *
1829
+ * One envelope per taxonomy instance. ``taxonomy_type`` discriminates
1830
+ * which block-type handler the command dispatcher routes to.
1831
+ * ``parent_taxonomy_id`` is required for ``reporting_extension`` (which
1832
+ * extends a library taxonomy) and ignored otherwise.
1833
+ *
1834
+ * The library path (seeding ``reporting_standard`` rows) does NOT flow
1835
+ * through this envelope — it uses a dedicated library writer that bypasses
1836
+ * these caps and tenant scoping.
1985
1837
  */
1986
- export type CreateTaxonomyRequest = {
1838
+ export type CreateTaxonomyBlockRequest = {
1987
1839
  /**
1988
1840
  * Name
1841
+ *
1842
+ * Taxonomy display name.
1989
1843
  */
1990
1844
  name: string;
1991
1845
  /**
1992
- * Description
1846
+ * Taxonomy Type
1847
+ *
1848
+ * Block-type discriminator. ``chart_of_accounts`` and ``custom_ontology`` construct from scratch; ``reporting_extension`` extends an existing library ``reporting_standard``.
1993
1849
  */
1994
- description?: string | null;
1850
+ taxonomy_type: 'reporting_standard' | 'reporting_extension' | 'custom_ontology' | 'chart_of_accounts' | 'schedule';
1995
1851
  /**
1996
- * Taxonomy Type
1852
+ * Parent Taxonomy Id
1853
+ *
1854
+ * Required when ``taxonomy_type == 'reporting_extension'`` — the id of the library ``reporting_standard`` being extended.
1997
1855
  */
1998
- taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping' | 'schedule';
1856
+ parent_taxonomy_id?: string | null;
1999
1857
  /**
2000
1858
  * Version
2001
1859
  */
2002
1860
  version?: string | null;
2003
1861
  /**
2004
- * Source Taxonomy Id
1862
+ * Description
1863
+ */
1864
+ description?: string | null;
1865
+ /**
1866
+ * Standard
1867
+ */
1868
+ standard?: string | null;
1869
+ /**
1870
+ * Namespace Uri
1871
+ */
1872
+ namespace_uri?: string | null;
1873
+ /**
1874
+ * Elements
1875
+ */
1876
+ elements?: Array<TaxonomyBlockElementRequest>;
1877
+ /**
1878
+ * Structures
1879
+ */
1880
+ structures?: Array<TaxonomyBlockStructureRequest>;
1881
+ /**
1882
+ * Associations
1883
+ */
1884
+ associations?: Array<TaxonomyBlockAssociationRequest>;
1885
+ /**
1886
+ * Rules
2005
1887
  */
2006
- source_taxonomy_id?: string | null;
1888
+ rules?: Array<TaxonomyBlockRuleRequest>;
2007
1889
  /**
2008
- * Target Taxonomy Id
1890
+ * Metadata
2009
1891
  */
2010
- target_taxonomy_id?: string | null;
1892
+ metadata?: {
1893
+ [key: string]: unknown;
1894
+ };
2011
1895
  };
2012
1896
 
2013
1897
  /**
@@ -2562,32 +2446,6 @@ export type DatabaseStorageEntry = {
2562
2446
  size_mb?: number | null;
2563
2447
  };
2564
2448
 
2565
- /**
2566
- * DeleteAssociationRequest
2567
- *
2568
- * Hard delete — associations are edges and are cheap to recreate.
2569
- */
2570
- export type DeleteAssociationRequest = {
2571
- /**
2572
- * Association Id
2573
- */
2574
- association_id: string;
2575
- };
2576
-
2577
- /**
2578
- * DeleteElementRequest
2579
- *
2580
- * Soft delete — sets `is_active=false`. Historical line items
2581
- * referencing this element remain valid; new line items cannot use an
2582
- * inactive element.
2583
- */
2584
- export type DeleteElementRequest = {
2585
- /**
2586
- * Element Id
2587
- */
2588
- element_id: string;
2589
- };
2590
-
2591
2449
  /**
2592
2450
  * DeleteFileResponse
2593
2451
  */
@@ -2750,18 +2608,6 @@ export type DeleteSecurityOperation = {
2750
2608
  security_id: string;
2751
2609
  };
2752
2610
 
2753
- /**
2754
- * DeleteStructureRequest
2755
- *
2756
- * Soft delete — sets `is_active=false`.
2757
- */
2758
- export type DeleteStructureRequest = {
2759
- /**
2760
- * Structure Id
2761
- */
2762
- structure_id: string;
2763
- };
2764
-
2765
2611
  /**
2766
2612
  * DeleteSubgraphOp
2767
2613
  *
@@ -2789,16 +2635,30 @@ export type DeleteSubgraphOp = {
2789
2635
  };
2790
2636
 
2791
2637
  /**
2792
- * DeleteTaxonomyRequest
2638
+ * DeleteTaxonomyBlockRequest
2639
+ *
2640
+ * Request body for the ``delete-taxonomy-block`` operation.
2793
2641
  *
2794
- * Soft delete sets `is_active=false`. Historical references remain
2795
- * valid.
2642
+ * ``cascade_facts=False`` (default) fails the delete if any Fact rows
2643
+ * reference elements in this taxonomy. ``cascade_facts=True`` deletes the
2644
+ * referencing facts alongside the taxonomy; the response reports
2645
+ * ``facts_deleted``.
2796
2646
  */
2797
- export type DeleteTaxonomyRequest = {
2647
+ export type DeleteTaxonomyBlockRequest = {
2798
2648
  /**
2799
2649
  * Taxonomy Id
2800
2650
  */
2801
2651
  taxonomy_id: string;
2652
+ /**
2653
+ * Cascade Facts
2654
+ */
2655
+ cascade_facts?: boolean;
2656
+ /**
2657
+ * Reason
2658
+ *
2659
+ * Human-readable justification (audit log).
2660
+ */
2661
+ reason: string;
2802
2662
  };
2803
2663
 
2804
2664
  /**
@@ -2833,6 +2693,60 @@ export type DetailedTransactionsResponse = {
2833
2693
  };
2834
2694
  };
2835
2695
 
2696
+ /**
2697
+ * DisposeScheduleRequest
2698
+ *
2699
+ * Dispose a schedule early — combines truncation with a disposal closing entry.
2700
+ *
2701
+ * Computes net book value from the schedule's own facts, truncates forward
2702
+ * periods, and creates a balanced disposal entry in one atomic operation.
2703
+ * Use when an asset is sold or abandoned before the schedule runs to completion.
2704
+ */
2705
+ export type DisposeScheduleRequest = {
2706
+ /**
2707
+ * Structure Id
2708
+ *
2709
+ * Target schedule structure ID.
2710
+ */
2711
+ structure_id: string;
2712
+ /**
2713
+ * Disposal Date
2714
+ *
2715
+ * Last day of the final period (month-end). Forward facts past this date are deleted; the disposal entry is posted on this date.
2716
+ */
2717
+ disposal_date: string;
2718
+ /**
2719
+ * Sale Proceeds
2720
+ *
2721
+ * Cash received from the sale in cents. None or 0 for abandonment (no cash received). If provided, `proceeds_element_id` is required.
2722
+ */
2723
+ sale_proceeds?: number | null;
2724
+ /**
2725
+ * Proceeds Element Id
2726
+ *
2727
+ * Element to debit for sale proceeds (e.g., Cash or AR). Required when sale_proceeds > 0.
2728
+ */
2729
+ proceeds_element_id?: string | null;
2730
+ /**
2731
+ * Gain Loss Element Id
2732
+ *
2733
+ * 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).
2734
+ */
2735
+ gain_loss_element_id?: string | null;
2736
+ /**
2737
+ * Memo
2738
+ *
2739
+ * Memo for the disposal closing entry.
2740
+ */
2741
+ memo: string;
2742
+ /**
2743
+ * Reason
2744
+ *
2745
+ * Reason for disposal (audit trail).
2746
+ */
2747
+ reason: string;
2748
+ };
2749
+
2836
2750
  /**
2837
2751
  * DocumentDetailResponse
2838
2752
  *
@@ -3168,43 +3082,95 @@ export type DownloadQuota = {
3168
3082
  };
3169
3083
 
3170
3084
  /**
3171
- * EmailVerificationRequest
3085
+ * ElementUpdatePatch
3172
3086
  *
3173
- * Email verification request model.
3087
+ * Partial-update patch for a single element, keyed by qname.
3174
3088
  */
3175
- export type EmailVerificationRequest = {
3089
+ export type ElementUpdatePatch = {
3176
3090
  /**
3177
- * Token
3091
+ * Qname
3178
3092
  *
3179
- * Email verification token from email link
3093
+ * qname identifier of the element to update.
3180
3094
  */
3181
- token: string;
3182
- };
3183
-
3184
- /**
3185
- * EnhancedCreditTransactionResponse
3186
- *
3187
- * Enhanced credit transaction response with more details.
3188
- */
3189
- export type EnhancedCreditTransactionResponse = {
3095
+ qname: string;
3190
3096
  /**
3191
- * Id
3097
+ * Name
3192
3098
  */
3193
- id: string;
3099
+ name?: string | null;
3194
3100
  /**
3195
- * Type
3101
+ * Description
3196
3102
  */
3197
- type: string;
3103
+ description?: string | null;
3198
3104
  /**
3199
- * Amount
3105
+ * Classification
3200
3106
  */
3201
- amount: number;
3107
+ classification?: string | null;
3202
3108
  /**
3203
- * Description
3109
+ * Balance Type
3204
3110
  */
3205
- description: string;
3111
+ balance_type?: string | null;
3206
3112
  /**
3207
- * Metadata
3113
+ * Period Type
3114
+ */
3115
+ period_type?: string | null;
3116
+ /**
3117
+ * Is Monetary
3118
+ */
3119
+ is_monetary?: boolean | null;
3120
+ /**
3121
+ * Code
3122
+ */
3123
+ code?: string | null;
3124
+ /**
3125
+ * Parent Ref
3126
+ */
3127
+ parent_ref?: string | null;
3128
+ /**
3129
+ * Metadata
3130
+ */
3131
+ metadata?: {
3132
+ [key: string]: unknown;
3133
+ } | null;
3134
+ };
3135
+
3136
+ /**
3137
+ * EmailVerificationRequest
3138
+ *
3139
+ * Email verification request model.
3140
+ */
3141
+ export type EmailVerificationRequest = {
3142
+ /**
3143
+ * Token
3144
+ *
3145
+ * Email verification token from email link
3146
+ */
3147
+ token: string;
3148
+ };
3149
+
3150
+ /**
3151
+ * EnhancedCreditTransactionResponse
3152
+ *
3153
+ * Enhanced credit transaction response with more details.
3154
+ */
3155
+ export type EnhancedCreditTransactionResponse = {
3156
+ /**
3157
+ * Id
3158
+ */
3159
+ id: string;
3160
+ /**
3161
+ * Type
3162
+ */
3163
+ type: string;
3164
+ /**
3165
+ * Amount
3166
+ */
3167
+ amount: number;
3168
+ /**
3169
+ * Description
3170
+ */
3171
+ description: string;
3172
+ /**
3173
+ * Metadata
3208
3174
  */
3209
3175
  metadata: {
3210
3176
  [key: string]: unknown;
@@ -6784,6 +6750,38 @@ export type StorageSummary = {
6784
6750
  measurement_count: number;
6785
6751
  };
6786
6752
 
6753
+ /**
6754
+ * StructureUpdatePatch
6755
+ *
6756
+ * Partial-update patch for a single structure, keyed by structure_id.
6757
+ */
6758
+ export type StructureUpdatePatch = {
6759
+ /**
6760
+ * Structure Id
6761
+ *
6762
+ * Structure id to update.
6763
+ */
6764
+ structure_id: string;
6765
+ /**
6766
+ * Name
6767
+ */
6768
+ name?: string | null;
6769
+ /**
6770
+ * Description
6771
+ */
6772
+ description?: string | null;
6773
+ /**
6774
+ * Role Uri
6775
+ */
6776
+ role_uri?: string | null;
6777
+ /**
6778
+ * Metadata
6779
+ */
6780
+ metadata?: {
6781
+ [key: string]: unknown;
6782
+ } | null;
6783
+ };
6784
+
6787
6785
  /**
6788
6786
  * SubgraphQuotaResponse
6789
6787
  *
@@ -7145,6 +7143,254 @@ export type TableQueryResponse = {
7145
7143
  execution_time_ms: number;
7146
7144
  };
7147
7145
 
7146
+ /**
7147
+ * TaxonomyBlockAssociationRequest
7148
+ *
7149
+ * Association (arc) between two elements, scoped to a structure.
7150
+ */
7151
+ export type TaxonomyBlockAssociationRequest = {
7152
+ /**
7153
+ * Structure Ref
7154
+ *
7155
+ * Envelope-local structure name (references a structure declared in the same envelope).
7156
+ */
7157
+ structure_ref: string;
7158
+ /**
7159
+ * From Ref
7160
+ *
7161
+ * qname of the source element.
7162
+ */
7163
+ from_ref: string;
7164
+ /**
7165
+ * To Ref
7166
+ *
7167
+ * qname of the target element.
7168
+ */
7169
+ to_ref: string;
7170
+ /**
7171
+ * Association Type
7172
+ *
7173
+ * DB ``associations.association_type`` enum. ``presentation`` = parent-child hierarchy; ``calculation`` = summation arc.
7174
+ */
7175
+ association_type: 'presentation' | 'calculation' | 'mapping' | 'equivalence' | 'general-special' | 'essence-alias';
7176
+ /**
7177
+ * Order Value
7178
+ */
7179
+ order_value?: number | null;
7180
+ /**
7181
+ * Arcrole
7182
+ */
7183
+ arcrole?: string | null;
7184
+ /**
7185
+ * Weight
7186
+ *
7187
+ * Calculation-arc coefficient (+1 / -1 for summation, other values for weighted rollups). Null for non-calculation arcs.
7188
+ */
7189
+ weight?: number | null;
7190
+ /**
7191
+ * Metadata
7192
+ */
7193
+ metadata?: {
7194
+ [key: string]: unknown;
7195
+ };
7196
+ };
7197
+
7198
+ /**
7199
+ * TaxonomyBlockElementRequest
7200
+ *
7201
+ * Element definition inside a Taxonomy Block envelope.
7202
+ *
7203
+ * ``qname`` is the envelope-local identifier — must be unique within the
7204
+ * envelope's ``elements`` list and is used by association / rule / patch
7205
+ * payloads as the reference token. ``parent_ref`` may reference another
7206
+ * envelope-local qname or, for ``reporting_extension`` blocks, a library
7207
+ * element qname.
7208
+ */
7209
+ export type TaxonomyBlockElementRequest = {
7210
+ /**
7211
+ * Qname
7212
+ *
7213
+ * Envelope-local element identifier. Must be unique within the envelope's ``elements`` list. Used as the reference token for associations, rules, and update patches.
7214
+ */
7215
+ qname: string;
7216
+ /**
7217
+ * Name
7218
+ *
7219
+ * Human-readable element name (e.g. 'Total Assets').
7220
+ */
7221
+ name: string;
7222
+ /**
7223
+ * Classification
7224
+ *
7225
+ * FASB metamodel trait for the element. Required for ``chart_of_accounts`` blocks; optional for ``custom_ontology``.
7226
+ */
7227
+ classification?: string | null;
7228
+ /**
7229
+ * Balance Type
7230
+ *
7231
+ * 'debit' | 'credit' | null for non-monetary concepts.
7232
+ */
7233
+ balance_type?: string | null;
7234
+ /**
7235
+ * Element Type
7236
+ *
7237
+ * 'concept' | 'abstract' | 'axis' | 'member' | 'hypercube'.
7238
+ */
7239
+ element_type?: string;
7240
+ /**
7241
+ * Period Type
7242
+ *
7243
+ * 'instant' | 'duration' | null (null = derive from classification during validation).
7244
+ */
7245
+ period_type?: string | null;
7246
+ /**
7247
+ * Is Monetary
7248
+ *
7249
+ * True for dollar-denominated concepts.
7250
+ */
7251
+ is_monetary?: boolean;
7252
+ /**
7253
+ * Description
7254
+ */
7255
+ description?: string | null;
7256
+ /**
7257
+ * Code
7258
+ *
7259
+ * Optional chart-of-accounts code (e.g. '1000', '4100-02'). Only meaningful for ``chart_of_accounts`` blocks.
7260
+ */
7261
+ code?: string | null;
7262
+ /**
7263
+ * Sub Classification
7264
+ */
7265
+ sub_classification?: string | null;
7266
+ /**
7267
+ * Parent Ref
7268
+ *
7269
+ * qname of the parent element — either another envelope-local qname or, for ``reporting_extension`` blocks, a library element qname.
7270
+ */
7271
+ parent_ref?: string | null;
7272
+ /**
7273
+ * Metadata
7274
+ */
7275
+ metadata?: {
7276
+ [key: string]: unknown;
7277
+ };
7278
+ };
7279
+
7280
+ /**
7281
+ * TaxonomyBlockRuleRequest
7282
+ *
7283
+ * Rule definition inside a Taxonomy Block envelope.
7284
+ *
7285
+ * Exactly one of ``target_structure_ref``, ``target_element_qname``, or
7286
+ * ``target_taxonomy_self`` must be set (or all null for a global rule).
7287
+ * The ``model_validator`` enforces this contract at the Pydantic layer.
7288
+ */
7289
+ export type TaxonomyBlockRuleRequest = {
7290
+ /**
7291
+ * Name
7292
+ *
7293
+ * Rule identifier, unique within envelope.
7294
+ */
7295
+ name: string;
7296
+ /**
7297
+ * Description
7298
+ */
7299
+ description?: string | null;
7300
+ /**
7301
+ * Rule Category
7302
+ *
7303
+ * One of 8 cm:VerificationRule subclasses.
7304
+ */
7305
+ rule_category: 'AutomatedAccountingAndReportingChecks' | 'DisclosureMechanicsRule' | 'FundamentalAccountingConceptRelation' | 'PeerConsistencyRule' | 'PriorPeriodConsistencyRule' | 'ReportLevelModelStructureRule' | 'ReportingSystemSpecificRule' | 'ToDoManualTask' | 'XBRLTechnicalSyntaxRule';
7306
+ /**
7307
+ * Rule Pattern
7308
+ *
7309
+ * One of 11 cm:BusinessRulePattern mechanisms.
7310
+ */
7311
+ rule_pattern: 'Adjustment' | 'CoExists' | 'EqualTo' | 'Exists' | 'GreaterThan' | 'GreaterThanOrEqualToZero' | 'LessThan' | 'RollForward' | 'RollUp' | 'SumEquals' | 'Variance';
7312
+ /**
7313
+ * Expression
7314
+ *
7315
+ * XPath-flavored predicate body (the rule expression).
7316
+ */
7317
+ expression: string;
7318
+ /**
7319
+ * Variables
7320
+ *
7321
+ * ``$Variable`` → qname bindings. Each entry is ``{'variable_name': str, 'variable_qname': str}``.
7322
+ */
7323
+ variables?: Array<{
7324
+ [key: string]: unknown;
7325
+ }>;
7326
+ /**
7327
+ * Severity
7328
+ */
7329
+ severity?: 'info' | 'warning' | 'error';
7330
+ /**
7331
+ * Target Structure Ref
7332
+ *
7333
+ * Envelope-local structure name this rule targets (for structure-scoped rules). Mutually exclusive with the other target_* fields.
7334
+ */
7335
+ target_structure_ref?: string | null;
7336
+ /**
7337
+ * Target Element Qname
7338
+ *
7339
+ * qname of the element this rule targets. Mutually exclusive with the other target_* fields.
7340
+ */
7341
+ target_element_qname?: string | null;
7342
+ /**
7343
+ * Target Taxonomy Self
7344
+ *
7345
+ * True iff the rule targets the envelope's own taxonomy row (``target_kind='taxonomy'``). Mutually exclusive with the other target_* fields.
7346
+ */
7347
+ target_taxonomy_self?: boolean;
7348
+ /**
7349
+ * Message
7350
+ */
7351
+ message?: string | null;
7352
+ /**
7353
+ * Metadata
7354
+ */
7355
+ metadata?: {
7356
+ [key: string]: unknown;
7357
+ };
7358
+ };
7359
+
7360
+ /**
7361
+ * TaxonomyBlockStructureRequest
7362
+ *
7363
+ * Structure definition inside a Taxonomy Block envelope.
7364
+ */
7365
+ export type TaxonomyBlockStructureRequest = {
7366
+ /**
7367
+ * Name
7368
+ *
7369
+ * Envelope-local structure name (unique within envelope).
7370
+ */
7371
+ name: string;
7372
+ /**
7373
+ * Structure Type
7374
+ *
7375
+ * DB ``structures.structure_type`` enum. CoA blocks use ``chart_of_accounts``; reporting extensions use the statement family or ``custom``; custom ontology uses ``custom``.
7376
+ */
7377
+ structure_type: 'chart_of_accounts' | 'custom' | 'balance_sheet' | 'income_statement' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'rollforward' | 'reconciliation' | 'policy' | 'metric';
7378
+ /**
7379
+ * Description
7380
+ */
7381
+ description?: string | null;
7382
+ /**
7383
+ * Role Uri
7384
+ */
7385
+ role_uri?: string | null;
7386
+ /**
7387
+ * Metadata
7388
+ */
7389
+ metadata?: {
7390
+ [key: string]: unknown;
7391
+ };
7392
+ };
7393
+
7148
7394
  /**
7149
7395
  * TierCapacity
7150
7396
  *
@@ -7325,95 +7571,11 @@ export type UpdateApiKeyRequest = {
7325
7571
  };
7326
7572
 
7327
7573
  /**
7328
- * UpdateAssociationRequest
7574
+ * UpdateEntityRequest
7329
7575
  *
7330
- * Update mutable fields on an association. `from_element_id`,
7331
- * `to_element_id`, and `association_type` are immutable — delete and
7332
- * recreate instead.
7576
+ * Request to update entity details. Only provided fields are updated.
7333
7577
  */
7334
- export type UpdateAssociationRequest = {
7335
- /**
7336
- * Association Id
7337
- */
7338
- association_id: string;
7339
- /**
7340
- * Order Value
7341
- */
7342
- order_value?: number | null;
7343
- /**
7344
- * Weight
7345
- */
7346
- weight?: number | null;
7347
- /**
7348
- * Confidence
7349
- */
7350
- confidence?: number | null;
7351
- /**
7352
- * Approved By
7353
- */
7354
- approved_by?: string | null;
7355
- };
7356
-
7357
- /**
7358
- * UpdateElementRequest
7359
- *
7360
- * Update mutable fields on an element. `taxonomy_id` and `source` are
7361
- * immutable. `parent_id` honors `model_dump(exclude_unset=True)` semantics:
7362
- * omit the field to leave unchanged, pass `null` to clear the parent
7363
- * (make root).
7364
- *
7365
- * ``classification`` updates the element's primary FASB
7366
- * elementsOfFinancialStatements assignment (in ``element_classifications``,
7367
- * not a direct column on ``elements``). Omit to leave unchanged. Passing a
7368
- * value replaces the current primary EFS assignment; there is no
7369
- * set-to-null semantics (use the UI/admin path for full classification
7370
- * teardown — here we only support correction of a misclassified account).
7371
- */
7372
- export type UpdateElementRequest = {
7373
- /**
7374
- * Element Id
7375
- */
7376
- element_id: string;
7377
- /**
7378
- * Code
7379
- */
7380
- code?: string | null;
7381
- /**
7382
- * Name
7383
- */
7384
- name?: string | null;
7385
- /**
7386
- * Description
7387
- */
7388
- description?: string | null;
7389
- /**
7390
- * Balance Type
7391
- */
7392
- balance_type?: 'debit' | 'credit' | null;
7393
- /**
7394
- * Period Type
7395
- */
7396
- period_type?: 'duration' | 'instant' | null;
7397
- /**
7398
- * Parent Id
7399
- */
7400
- parent_id?: string | null;
7401
- /**
7402
- * Currency
7403
- */
7404
- currency?: string | null;
7405
- /**
7406
- * Classification
7407
- */
7408
- classification?: 'asset' | 'contraAsset' | 'liability' | 'contraLiability' | 'equity' | 'contraEquity' | 'temporaryEquity' | 'revenue' | 'expense' | 'expenseReversal' | 'gain' | 'loss' | 'comprehensiveIncome' | 'investmentByOwners' | 'distributionToOwners' | null;
7409
- };
7410
-
7411
- /**
7412
- * UpdateEntityRequest
7413
- *
7414
- * Request to update entity details. Only provided fields are updated.
7415
- */
7416
- export type UpdateEntityRequest = {
7578
+ export type UpdateEntityRequest = {
7417
7579
  /**
7418
7580
  * Name
7419
7581
  */
@@ -7775,16 +7937,20 @@ export type UpdateSecurityOperation = {
7775
7937
  };
7776
7938
 
7777
7939
  /**
7778
- * UpdateStructureRequest
7940
+ * UpdateTaxonomyBlockRequest
7941
+ *
7942
+ * Request body for the ``update-taxonomy-block`` operation.
7779
7943
  *
7780
- * Update mutable fields on a structure. `structure_type` and
7781
- * `taxonomy_id` are immutable.
7944
+ * Top-level fields (name / description / version) apply to the taxonomy
7945
+ * row itself. The delta lists mutate atoms incrementally — the validator
7946
+ * (Phase 2.3) re-runs the seven-phase check across the projected post-
7947
+ * update state before anything commits.
7782
7948
  */
7783
- export type UpdateStructureRequest = {
7949
+ export type UpdateTaxonomyBlockRequest = {
7784
7950
  /**
7785
- * Structure Id
7951
+ * Taxonomy Id
7786
7952
  */
7787
- structure_id: string;
7953
+ taxonomy_id: string;
7788
7954
  /**
7789
7955
  * Name
7790
7956
  */
@@ -7793,33 +7959,58 @@ export type UpdateStructureRequest = {
7793
7959
  * Description
7794
7960
  */
7795
7961
  description?: string | null;
7796
- };
7797
-
7798
- /**
7799
- * UpdateTaxonomyRequest
7800
- *
7801
- * Update mutable fields on a taxonomy. `taxonomy_type` is immutable —
7802
- * changing it is not the same operation as editing a taxonomy; deactivate
7803
- * and create a new one instead. Only provided (non-null) fields are
7804
- * applied.
7805
- */
7806
- export type UpdateTaxonomyRequest = {
7807
7962
  /**
7808
- * Taxonomy Id
7963
+ * Version
7809
7964
  */
7810
- taxonomy_id: string;
7965
+ version?: string | null;
7811
7966
  /**
7812
- * Name
7967
+ * Elements To Add
7813
7968
  */
7814
- name?: string | null;
7969
+ elements_to_add?: Array<TaxonomyBlockElementRequest>;
7815
7970
  /**
7816
- * Description
7971
+ * Elements To Update
7817
7972
  */
7818
- description?: string | null;
7973
+ elements_to_update?: Array<ElementUpdatePatch>;
7819
7974
  /**
7820
- * Version
7975
+ * Elements To Remove
7976
+ *
7977
+ * qnames of elements to remove.
7821
7978
  */
7822
- version?: string | null;
7979
+ elements_to_remove?: Array<string>;
7980
+ /**
7981
+ * Structures To Add
7982
+ */
7983
+ structures_to_add?: Array<TaxonomyBlockStructureRequest>;
7984
+ /**
7985
+ * Structures To Update
7986
+ */
7987
+ structures_to_update?: Array<StructureUpdatePatch>;
7988
+ /**
7989
+ * Structures To Remove
7990
+ *
7991
+ * Structure ids to remove.
7992
+ */
7993
+ structures_to_remove?: Array<string>;
7994
+ /**
7995
+ * Associations To Add
7996
+ */
7997
+ associations_to_add?: Array<TaxonomyBlockAssociationRequest>;
7998
+ /**
7999
+ * Associations To Remove
8000
+ *
8001
+ * Association ids to remove.
8002
+ */
8003
+ associations_to_remove?: Array<string>;
8004
+ /**
8005
+ * Rules To Add
8006
+ */
8007
+ rules_to_add?: Array<TaxonomyBlockRuleRequest>;
8008
+ /**
8009
+ * Rules To Remove
8010
+ *
8011
+ * Rule ids to remove.
8012
+ */
8013
+ rules_to_remove?: Array<string>;
7823
8014
  };
7824
8015
 
7825
8016
  /**
@@ -14110,8 +14301,8 @@ export type HandleHttpPostExtensionsGraphIdGraphqlPostResponses = {
14110
14301
  200: unknown;
14111
14302
  };
14112
14303
 
14113
- export type OpUpdateEntityData = {
14114
- body: UpdateEntityRequest;
14304
+ export type OpInitializeLedgerData = {
14305
+ body: InitializeLedgerRequest;
14115
14306
  headers?: {
14116
14307
  /**
14117
14308
  * Idempotency-Key
@@ -14125,10 +14316,10 @@ export type OpUpdateEntityData = {
14125
14316
  graph_id: string;
14126
14317
  };
14127
14318
  query?: never;
14128
- url: '/extensions/roboledger/{graph_id}/operations/update-entity';
14319
+ url: '/extensions/roboledger/{graph_id}/operations/initialize';
14129
14320
  };
14130
14321
 
14131
- export type OpUpdateEntityErrors = {
14322
+ export type OpInitializeLedgerErrors = {
14132
14323
  /**
14133
14324
  * Invalid request
14134
14325
  */
@@ -14163,19 +14354,19 @@ export type OpUpdateEntityErrors = {
14163
14354
  500: ErrorResponse;
14164
14355
  };
14165
14356
 
14166
- export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
14357
+ export type OpInitializeLedgerError = OpInitializeLedgerErrors[keyof OpInitializeLedgerErrors];
14167
14358
 
14168
- export type OpUpdateEntityResponses = {
14359
+ export type OpInitializeLedgerResponses = {
14169
14360
  /**
14170
14361
  * Successful Response
14171
14362
  */
14172
14363
  200: OperationEnvelope;
14173
14364
  };
14174
14365
 
14175
- export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
14366
+ export type OpInitializeLedgerResponse = OpInitializeLedgerResponses[keyof OpInitializeLedgerResponses];
14176
14367
 
14177
- export type OpInitializeLedgerData = {
14178
- body: InitializeLedgerRequest;
14368
+ export type OpUpdateEntityData = {
14369
+ body: UpdateEntityRequest;
14179
14370
  headers?: {
14180
14371
  /**
14181
14372
  * Idempotency-Key
@@ -14189,10 +14380,10 @@ export type OpInitializeLedgerData = {
14189
14380
  graph_id: string;
14190
14381
  };
14191
14382
  query?: never;
14192
- url: '/extensions/roboledger/{graph_id}/operations/initialize';
14383
+ url: '/extensions/roboledger/{graph_id}/operations/update-entity';
14193
14384
  };
14194
14385
 
14195
- export type OpInitializeLedgerErrors = {
14386
+ export type OpUpdateEntityErrors = {
14196
14387
  /**
14197
14388
  * Invalid request
14198
14389
  */
@@ -14227,19 +14418,19 @@ export type OpInitializeLedgerErrors = {
14227
14418
  500: ErrorResponse;
14228
14419
  };
14229
14420
 
14230
- export type OpInitializeLedgerError = OpInitializeLedgerErrors[keyof OpInitializeLedgerErrors];
14421
+ export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
14231
14422
 
14232
- export type OpInitializeLedgerResponses = {
14423
+ export type OpUpdateEntityResponses = {
14233
14424
  /**
14234
14425
  * Successful Response
14235
14426
  */
14236
14427
  200: OperationEnvelope;
14237
14428
  };
14238
14429
 
14239
- export type OpInitializeLedgerResponse = OpInitializeLedgerResponses[keyof OpInitializeLedgerResponses];
14430
+ export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
14240
14431
 
14241
- export type OpSetCloseTargetData = {
14242
- body: SetCloseTargetOperation;
14432
+ export type OpCreateTaxonomyBlockData = {
14433
+ body: CreateTaxonomyBlockRequest;
14243
14434
  headers?: {
14244
14435
  /**
14245
14436
  * Idempotency-Key
@@ -14253,30 +14444,30 @@ export type OpSetCloseTargetData = {
14253
14444
  graph_id: string;
14254
14445
  };
14255
14446
  query?: never;
14256
- url: '/extensions/roboledger/{graph_id}/operations/set-close-target';
14447
+ url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy-block';
14257
14448
  };
14258
14449
 
14259
- export type OpSetCloseTargetErrors = {
14450
+ export type OpCreateTaxonomyBlockErrors = {
14260
14451
  /**
14261
- * Invalid request
14452
+ * Invalid request payload
14262
14453
  */
14263
- 400: ErrorResponse;
14454
+ 400: OperationError;
14264
14455
  /**
14265
- * Authentication required
14456
+ * Unauthorized — missing or invalid credentials
14266
14457
  */
14267
- 401: ErrorResponse;
14458
+ 401: unknown;
14268
14459
  /**
14269
- * Access denied
14460
+ * Forbidden — caller cannot access this graph
14270
14461
  */
14271
- 403: ErrorResponse;
14462
+ 403: unknown;
14272
14463
  /**
14273
- * Resource not found
14464
+ * Resource not found (graph, ledger, report, etc.)
14274
14465
  */
14275
- 404: ErrorResponse;
14466
+ 404: OperationError;
14276
14467
  /**
14277
- * Idempotency-Key conflict — key reused with different body
14468
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14278
14469
  */
14279
- 409: ErrorResponse;
14470
+ 409: OperationError;
14280
14471
  /**
14281
14472
  * Validation Error
14282
14473
  */
@@ -14284,26 +14475,26 @@ export type OpSetCloseTargetErrors = {
14284
14475
  /**
14285
14476
  * Rate limit exceeded
14286
14477
  */
14287
- 429: ErrorResponse;
14478
+ 429: unknown;
14288
14479
  /**
14289
- * Internal server error
14480
+ * Internal error
14290
14481
  */
14291
- 500: ErrorResponse;
14482
+ 500: unknown;
14292
14483
  };
14293
14484
 
14294
- export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
14485
+ export type OpCreateTaxonomyBlockError = OpCreateTaxonomyBlockErrors[keyof OpCreateTaxonomyBlockErrors];
14295
14486
 
14296
- export type OpSetCloseTargetResponses = {
14487
+ export type OpCreateTaxonomyBlockResponses = {
14297
14488
  /**
14298
14489
  * Successful Response
14299
14490
  */
14300
14491
  200: OperationEnvelope;
14301
14492
  };
14302
14493
 
14303
- export type OpSetCloseTargetResponse = OpSetCloseTargetResponses[keyof OpSetCloseTargetResponses];
14494
+ export type OpCreateTaxonomyBlockResponse = OpCreateTaxonomyBlockResponses[keyof OpCreateTaxonomyBlockResponses];
14304
14495
 
14305
- export type OpClosePeriodData = {
14306
- body: ClosePeriodOperation;
14496
+ export type OpUpdateTaxonomyBlockData = {
14497
+ body: UpdateTaxonomyBlockRequest;
14307
14498
  headers?: {
14308
14499
  /**
14309
14500
  * Idempotency-Key
@@ -14317,30 +14508,30 @@ export type OpClosePeriodData = {
14317
14508
  graph_id: string;
14318
14509
  };
14319
14510
  query?: never;
14320
- url: '/extensions/roboledger/{graph_id}/operations/close-period';
14511
+ url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy-block';
14321
14512
  };
14322
14513
 
14323
- export type OpClosePeriodErrors = {
14514
+ export type OpUpdateTaxonomyBlockErrors = {
14324
14515
  /**
14325
- * Invalid request
14516
+ * Invalid request payload
14326
14517
  */
14327
- 400: ErrorResponse;
14518
+ 400: OperationError;
14328
14519
  /**
14329
- * Authentication required
14520
+ * Unauthorized — missing or invalid credentials
14330
14521
  */
14331
- 401: ErrorResponse;
14522
+ 401: unknown;
14332
14523
  /**
14333
- * Access denied
14524
+ * Forbidden — caller cannot access this graph
14334
14525
  */
14335
- 403: ErrorResponse;
14526
+ 403: unknown;
14336
14527
  /**
14337
- * Resource not found
14528
+ * Resource not found (graph, ledger, report, etc.)
14338
14529
  */
14339
- 404: ErrorResponse;
14530
+ 404: OperationError;
14340
14531
  /**
14341
- * Idempotency-Key conflict — key reused with different body
14532
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14342
14533
  */
14343
- 409: ErrorResponse;
14534
+ 409: OperationError;
14344
14535
  /**
14345
14536
  * Validation Error
14346
14537
  */
@@ -14348,26 +14539,26 @@ export type OpClosePeriodErrors = {
14348
14539
  /**
14349
14540
  * Rate limit exceeded
14350
14541
  */
14351
- 429: ErrorResponse;
14542
+ 429: unknown;
14352
14543
  /**
14353
- * Internal server error
14544
+ * Internal error
14354
14545
  */
14355
- 500: ErrorResponse;
14546
+ 500: unknown;
14356
14547
  };
14357
14548
 
14358
- export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
14549
+ export type OpUpdateTaxonomyBlockError = OpUpdateTaxonomyBlockErrors[keyof OpUpdateTaxonomyBlockErrors];
14359
14550
 
14360
- export type OpClosePeriodResponses = {
14551
+ export type OpUpdateTaxonomyBlockResponses = {
14361
14552
  /**
14362
14553
  * Successful Response
14363
14554
  */
14364
14555
  200: OperationEnvelope;
14365
14556
  };
14366
14557
 
14367
- export type OpClosePeriodResponse = OpClosePeriodResponses[keyof OpClosePeriodResponses];
14558
+ export type OpUpdateTaxonomyBlockResponse = OpUpdateTaxonomyBlockResponses[keyof OpUpdateTaxonomyBlockResponses];
14368
14559
 
14369
- export type OpReopenPeriodData = {
14370
- body: ReopenPeriodOperation;
14560
+ export type OpDeleteTaxonomyBlockData = {
14561
+ body: DeleteTaxonomyBlockRequest;
14371
14562
  headers?: {
14372
14563
  /**
14373
14564
  * Idempotency-Key
@@ -14381,30 +14572,30 @@ export type OpReopenPeriodData = {
14381
14572
  graph_id: string;
14382
14573
  };
14383
14574
  query?: never;
14384
- url: '/extensions/roboledger/{graph_id}/operations/reopen-period';
14575
+ url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy-block';
14385
14576
  };
14386
14577
 
14387
- export type OpReopenPeriodErrors = {
14578
+ export type OpDeleteTaxonomyBlockErrors = {
14388
14579
  /**
14389
- * Invalid request
14580
+ * Invalid request payload
14390
14581
  */
14391
- 400: ErrorResponse;
14582
+ 400: OperationError;
14392
14583
  /**
14393
- * Authentication required
14584
+ * Unauthorized — missing or invalid credentials
14394
14585
  */
14395
- 401: ErrorResponse;
14586
+ 401: unknown;
14396
14587
  /**
14397
- * Access denied
14588
+ * Forbidden — caller cannot access this graph
14398
14589
  */
14399
- 403: ErrorResponse;
14590
+ 403: unknown;
14400
14591
  /**
14401
- * Resource not found
14592
+ * Resource not found (graph, ledger, report, etc.)
14402
14593
  */
14403
- 404: ErrorResponse;
14594
+ 404: OperationError;
14404
14595
  /**
14405
- * Idempotency-Key conflict — key reused with different body
14596
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14406
14597
  */
14407
- 409: ErrorResponse;
14598
+ 409: OperationError;
14408
14599
  /**
14409
14600
  * Validation Error
14410
14601
  */
@@ -14412,26 +14603,26 @@ export type OpReopenPeriodErrors = {
14412
14603
  /**
14413
14604
  * Rate limit exceeded
14414
14605
  */
14415
- 429: ErrorResponse;
14606
+ 429: unknown;
14416
14607
  /**
14417
- * Internal server error
14608
+ * Internal error
14418
14609
  */
14419
- 500: ErrorResponse;
14610
+ 500: unknown;
14420
14611
  };
14421
14612
 
14422
- export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
14613
+ export type OpDeleteTaxonomyBlockError = OpDeleteTaxonomyBlockErrors[keyof OpDeleteTaxonomyBlockErrors];
14423
14614
 
14424
- export type OpReopenPeriodResponses = {
14615
+ export type OpDeleteTaxonomyBlockResponses = {
14425
14616
  /**
14426
14617
  * Successful Response
14427
14618
  */
14428
14619
  200: OperationEnvelope;
14429
14620
  };
14430
14621
 
14431
- export type OpReopenPeriodResponse = OpReopenPeriodResponses[keyof OpReopenPeriodResponses];
14622
+ export type OpDeleteTaxonomyBlockResponse = OpDeleteTaxonomyBlockResponses[keyof OpDeleteTaxonomyBlockResponses];
14432
14623
 
14433
- export type OpCreateTaxonomyData = {
14434
- body: CreateTaxonomyRequest;
14624
+ export type OpLinkEntityTaxonomyData = {
14625
+ body: LinkEntityTaxonomyRequest;
14435
14626
  headers?: {
14436
14627
  /**
14437
14628
  * Idempotency-Key
@@ -14445,30 +14636,30 @@ export type OpCreateTaxonomyData = {
14445
14636
  graph_id: string;
14446
14637
  };
14447
14638
  query?: never;
14448
- url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy';
14639
+ url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
14449
14640
  };
14450
14641
 
14451
- export type OpCreateTaxonomyErrors = {
14642
+ export type OpLinkEntityTaxonomyErrors = {
14452
14643
  /**
14453
- * Invalid request
14644
+ * Invalid request payload
14454
14645
  */
14455
- 400: ErrorResponse;
14646
+ 400: OperationError;
14456
14647
  /**
14457
- * Authentication required
14648
+ * Unauthorized — missing or invalid credentials
14458
14649
  */
14459
- 401: ErrorResponse;
14650
+ 401: unknown;
14460
14651
  /**
14461
- * Access denied
14652
+ * Forbidden — caller cannot access this graph
14462
14653
  */
14463
- 403: ErrorResponse;
14654
+ 403: unknown;
14464
14655
  /**
14465
- * Resource not found
14656
+ * Resource not found (graph, ledger, report, etc.)
14466
14657
  */
14467
- 404: ErrorResponse;
14658
+ 404: OperationError;
14468
14659
  /**
14469
- * Idempotency-Key conflict — key reused with different body
14660
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14470
14661
  */
14471
- 409: ErrorResponse;
14662
+ 409: OperationError;
14472
14663
  /**
14473
14664
  * Validation Error
14474
14665
  */
@@ -14476,26 +14667,26 @@ export type OpCreateTaxonomyErrors = {
14476
14667
  /**
14477
14668
  * Rate limit exceeded
14478
14669
  */
14479
- 429: ErrorResponse;
14670
+ 429: unknown;
14480
14671
  /**
14481
- * Internal server error
14672
+ * Internal error
14482
14673
  */
14483
- 500: ErrorResponse;
14674
+ 500: unknown;
14484
14675
  };
14485
14676
 
14486
- export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
14677
+ export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
14487
14678
 
14488
- export type OpCreateTaxonomyResponses = {
14679
+ export type OpLinkEntityTaxonomyResponses = {
14489
14680
  /**
14490
14681
  * Successful Response
14491
14682
  */
14492
14683
  200: OperationEnvelope;
14493
14684
  };
14494
14685
 
14495
- export type OpCreateTaxonomyResponse = OpCreateTaxonomyResponses[keyof OpCreateTaxonomyResponses];
14686
+ export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
14496
14687
 
14497
- export type OpCreateStructureData = {
14498
- body: CreateStructureRequest;
14688
+ export type OpCreateMappingAssociationData = {
14689
+ body: CreateMappingAssociationOperation;
14499
14690
  headers?: {
14500
14691
  /**
14501
14692
  * Idempotency-Key
@@ -14509,30 +14700,30 @@ export type OpCreateStructureData = {
14509
14700
  graph_id: string;
14510
14701
  };
14511
14702
  query?: never;
14512
- url: '/extensions/roboledger/{graph_id}/operations/create-structure';
14703
+ url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
14513
14704
  };
14514
14705
 
14515
- export type OpCreateStructureErrors = {
14706
+ export type OpCreateMappingAssociationErrors = {
14516
14707
  /**
14517
- * Invalid request
14708
+ * Invalid request payload
14518
14709
  */
14519
- 400: ErrorResponse;
14710
+ 400: OperationError;
14520
14711
  /**
14521
- * Authentication required
14712
+ * Unauthorized — missing or invalid credentials
14522
14713
  */
14523
- 401: ErrorResponse;
14714
+ 401: unknown;
14524
14715
  /**
14525
- * Access denied
14716
+ * Forbidden — caller cannot access this graph
14526
14717
  */
14527
- 403: ErrorResponse;
14718
+ 403: unknown;
14528
14719
  /**
14529
- * Resource not found
14720
+ * Resource not found (graph, ledger, report, etc.)
14530
14721
  */
14531
- 404: ErrorResponse;
14722
+ 404: OperationError;
14532
14723
  /**
14533
- * Idempotency-Key conflict — key reused with different body
14724
+ * Idempotency-Key reused with a different request body, or other operation-level conflict
14534
14725
  */
14535
- 409: ErrorResponse;
14726
+ 409: OperationError;
14536
14727
  /**
14537
14728
  * Validation Error
14538
14729
  */
@@ -14540,23 +14731,23 @@ export type OpCreateStructureErrors = {
14540
14731
  /**
14541
14732
  * Rate limit exceeded
14542
14733
  */
14543
- 429: ErrorResponse;
14734
+ 429: unknown;
14544
14735
  /**
14545
- * Internal server error
14736
+ * Internal error
14546
14737
  */
14547
- 500: ErrorResponse;
14738
+ 500: unknown;
14548
14739
  };
14549
14740
 
14550
- export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
14741
+ export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
14551
14742
 
14552
- export type OpCreateStructureResponses = {
14743
+ export type OpCreateMappingAssociationResponses = {
14553
14744
  /**
14554
14745
  * Successful Response
14555
14746
  */
14556
14747
  200: OperationEnvelope;
14557
14748
  };
14558
14749
 
14559
- export type OpCreateStructureResponse = OpCreateStructureResponses[keyof OpCreateStructureResponses];
14750
+ export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
14560
14751
 
14561
14752
  export type OpDeleteMappingAssociationData = {
14562
14753
  body: DeleteMappingAssociationOperation;
@@ -14622,8 +14813,8 @@ export type OpDeleteMappingAssociationResponses = {
14622
14813
 
14623
14814
  export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
14624
14815
 
14625
- export type OpUpdateTaxonomyData = {
14626
- body: UpdateTaxonomyRequest;
14816
+ export type OpAutoMapElementsData = {
14817
+ body: AutoMapElementsOperation;
14627
14818
  headers?: {
14628
14819
  /**
14629
14820
  * Idempotency-Key
@@ -14637,30 +14828,30 @@ export type OpUpdateTaxonomyData = {
14637
14828
  graph_id: string;
14638
14829
  };
14639
14830
  query?: never;
14640
- url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
14831
+ url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
14641
14832
  };
14642
14833
 
14643
- export type OpUpdateTaxonomyErrors = {
14834
+ export type OpAutoMapElementsErrors = {
14644
14835
  /**
14645
- * Invalid request payload
14836
+ * Invalid request
14646
14837
  */
14647
- 400: OperationError;
14838
+ 400: ErrorResponse;
14648
14839
  /**
14649
- * Unauthorized — missing or invalid credentials
14840
+ * Authentication required
14650
14841
  */
14651
- 401: unknown;
14842
+ 401: ErrorResponse;
14652
14843
  /**
14653
- * Forbidden — caller cannot access this graph
14844
+ * Access denied
14654
14845
  */
14655
- 403: unknown;
14846
+ 403: ErrorResponse;
14656
14847
  /**
14657
- * Resource not found (graph, ledger, report, etc.)
14848
+ * Resource not found
14658
14849
  */
14659
- 404: OperationError;
14850
+ 404: ErrorResponse;
14660
14851
  /**
14661
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14852
+ * Idempotency-Key conflict — key reused with different body
14662
14853
  */
14663
- 409: OperationError;
14854
+ 409: ErrorResponse;
14664
14855
  /**
14665
14856
  * Validation Error
14666
14857
  */
@@ -14668,26 +14859,26 @@ export type OpUpdateTaxonomyErrors = {
14668
14859
  /**
14669
14860
  * Rate limit exceeded
14670
14861
  */
14671
- 429: unknown;
14862
+ 429: ErrorResponse;
14672
14863
  /**
14673
- * Internal error
14864
+ * Internal server error
14674
14865
  */
14675
- 500: unknown;
14866
+ 500: ErrorResponse;
14676
14867
  };
14677
14868
 
14678
- export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
14869
+ export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
14679
14870
 
14680
- export type OpUpdateTaxonomyResponses = {
14871
+ export type OpAutoMapElementsResponses = {
14681
14872
  /**
14682
14873
  * Successful Response
14683
14874
  */
14684
- 200: OperationEnvelope;
14875
+ 202: OperationEnvelope;
14685
14876
  };
14686
14877
 
14687
- export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
14878
+ export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
14688
14879
 
14689
- export type OpDeleteTaxonomyData = {
14690
- body: DeleteTaxonomyRequest;
14880
+ export type OpCreateInformationBlockData = {
14881
+ body: CreateInformationBlockRequest;
14691
14882
  headers?: {
14692
14883
  /**
14693
14884
  * Idempotency-Key
@@ -14701,10 +14892,10 @@ export type OpDeleteTaxonomyData = {
14701
14892
  graph_id: string;
14702
14893
  };
14703
14894
  query?: never;
14704
- url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
14895
+ url: '/extensions/roboledger/{graph_id}/operations/create-information-block';
14705
14896
  };
14706
14897
 
14707
- export type OpDeleteTaxonomyErrors = {
14898
+ export type OpCreateInformationBlockErrors = {
14708
14899
  /**
14709
14900
  * Invalid request payload
14710
14901
  */
@@ -14739,19 +14930,19 @@ export type OpDeleteTaxonomyErrors = {
14739
14930
  500: unknown;
14740
14931
  };
14741
14932
 
14742
- export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
14933
+ export type OpCreateInformationBlockError = OpCreateInformationBlockErrors[keyof OpCreateInformationBlockErrors];
14743
14934
 
14744
- export type OpDeleteTaxonomyResponses = {
14935
+ export type OpCreateInformationBlockResponses = {
14745
14936
  /**
14746
14937
  * Successful Response
14747
14938
  */
14748
14939
  200: OperationEnvelope;
14749
14940
  };
14750
14941
 
14751
- export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
14942
+ export type OpCreateInformationBlockResponse = OpCreateInformationBlockResponses[keyof OpCreateInformationBlockResponses];
14752
14943
 
14753
- export type OpLinkEntityTaxonomyData = {
14754
- body: LinkEntityTaxonomyRequest;
14944
+ export type OpUpdateInformationBlockData = {
14945
+ body: UpdateInformationBlockRequest;
14755
14946
  headers?: {
14756
14947
  /**
14757
14948
  * Idempotency-Key
@@ -14765,10 +14956,10 @@ export type OpLinkEntityTaxonomyData = {
14765
14956
  graph_id: string;
14766
14957
  };
14767
14958
  query?: never;
14768
- url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
14959
+ url: '/extensions/roboledger/{graph_id}/operations/update-information-block';
14769
14960
  };
14770
14961
 
14771
- export type OpLinkEntityTaxonomyErrors = {
14962
+ export type OpUpdateInformationBlockErrors = {
14772
14963
  /**
14773
14964
  * Invalid request payload
14774
14965
  */
@@ -14803,19 +14994,19 @@ export type OpLinkEntityTaxonomyErrors = {
14803
14994
  500: unknown;
14804
14995
  };
14805
14996
 
14806
- export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
14997
+ export type OpUpdateInformationBlockError = OpUpdateInformationBlockErrors[keyof OpUpdateInformationBlockErrors];
14807
14998
 
14808
- export type OpLinkEntityTaxonomyResponses = {
14999
+ export type OpUpdateInformationBlockResponses = {
14809
15000
  /**
14810
15001
  * Successful Response
14811
15002
  */
14812
15003
  200: OperationEnvelope;
14813
15004
  };
14814
15005
 
14815
- export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
15006
+ export type OpUpdateInformationBlockResponse = OpUpdateInformationBlockResponses[keyof OpUpdateInformationBlockResponses];
14816
15007
 
14817
- export type OpUpdateStructureData = {
14818
- body: UpdateStructureRequest;
15008
+ export type OpDeleteInformationBlockData = {
15009
+ body: DeleteInformationBlockRequest;
14819
15010
  headers?: {
14820
15011
  /**
14821
15012
  * Idempotency-Key
@@ -14829,10 +15020,10 @@ export type OpUpdateStructureData = {
14829
15020
  graph_id: string;
14830
15021
  };
14831
15022
  query?: never;
14832
- url: '/extensions/roboledger/{graph_id}/operations/update-structure';
15023
+ url: '/extensions/roboledger/{graph_id}/operations/delete-information-block';
14833
15024
  };
14834
15025
 
14835
- export type OpUpdateStructureErrors = {
15026
+ export type OpDeleteInformationBlockErrors = {
14836
15027
  /**
14837
15028
  * Invalid request payload
14838
15029
  */
@@ -14867,19 +15058,19 @@ export type OpUpdateStructureErrors = {
14867
15058
  500: unknown;
14868
15059
  };
14869
15060
 
14870
- export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
15061
+ export type OpDeleteInformationBlockError = OpDeleteInformationBlockErrors[keyof OpDeleteInformationBlockErrors];
14871
15062
 
14872
- export type OpUpdateStructureResponses = {
15063
+ export type OpDeleteInformationBlockResponses = {
14873
15064
  /**
14874
15065
  * Successful Response
14875
15066
  */
14876
15067
  200: OperationEnvelope;
14877
15068
  };
14878
15069
 
14879
- export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
15070
+ export type OpDeleteInformationBlockResponse = OpDeleteInformationBlockResponses[keyof OpDeleteInformationBlockResponses];
14880
15071
 
14881
- export type OpDeleteStructureData = {
14882
- body: DeleteStructureRequest;
15072
+ export type OpEvaluateRulesData = {
15073
+ body: EvaluateRulesRequest;
14883
15074
  headers?: {
14884
15075
  /**
14885
15076
  * Idempotency-Key
@@ -14893,10 +15084,10 @@ export type OpDeleteStructureData = {
14893
15084
  graph_id: string;
14894
15085
  };
14895
15086
  query?: never;
14896
- url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
15087
+ url: '/extensions/roboledger/{graph_id}/operations/evaluate-rules';
14897
15088
  };
14898
15089
 
14899
- export type OpDeleteStructureErrors = {
15090
+ export type OpEvaluateRulesErrors = {
14900
15091
  /**
14901
15092
  * Invalid request payload
14902
15093
  */
@@ -14931,19 +15122,19 @@ export type OpDeleteStructureErrors = {
14931
15122
  500: unknown;
14932
15123
  };
14933
15124
 
14934
- export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
15125
+ export type OpEvaluateRulesError = OpEvaluateRulesErrors[keyof OpEvaluateRulesErrors];
14935
15126
 
14936
- export type OpDeleteStructureResponses = {
15127
+ export type OpEvaluateRulesResponses = {
14937
15128
  /**
14938
15129
  * Successful Response
14939
15130
  */
14940
15131
  200: OperationEnvelope;
14941
15132
  };
14942
15133
 
14943
- export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
15134
+ export type OpEvaluateRulesResponse = OpEvaluateRulesResponses[keyof OpEvaluateRulesResponses];
14944
15135
 
14945
- export type OpCreateElementData = {
14946
- body: CreateElementRequest;
15136
+ export type OpCreateTransactionData = {
15137
+ body: CreateTransactionRequest;
14947
15138
  headers?: {
14948
15139
  /**
14949
15140
  * Idempotency-Key
@@ -14957,10 +15148,10 @@ export type OpCreateElementData = {
14957
15148
  graph_id: string;
14958
15149
  };
14959
15150
  query?: never;
14960
- url: '/extensions/roboledger/{graph_id}/operations/create-element';
15151
+ url: '/extensions/roboledger/{graph_id}/operations/create-transaction';
14961
15152
  };
14962
15153
 
14963
- export type OpCreateElementErrors = {
15154
+ export type OpCreateTransactionErrors = {
14964
15155
  /**
14965
15156
  * Invalid request payload
14966
15157
  */
@@ -14995,19 +15186,19 @@ export type OpCreateElementErrors = {
14995
15186
  500: unknown;
14996
15187
  };
14997
15188
 
14998
- export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
15189
+ export type OpCreateTransactionError = OpCreateTransactionErrors[keyof OpCreateTransactionErrors];
14999
15190
 
15000
- export type OpCreateElementResponses = {
15191
+ export type OpCreateTransactionResponses = {
15001
15192
  /**
15002
15193
  * Successful Response
15003
15194
  */
15004
15195
  200: OperationEnvelope;
15005
15196
  };
15006
15197
 
15007
- export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
15198
+ export type OpCreateTransactionResponse = OpCreateTransactionResponses[keyof OpCreateTransactionResponses];
15008
15199
 
15009
- export type OpUpdateElementData = {
15010
- body: UpdateElementRequest;
15200
+ export type OpCreateJournalEntryData = {
15201
+ body: CreateJournalEntryRequest;
15011
15202
  headers?: {
15012
15203
  /**
15013
15204
  * Idempotency-Key
@@ -15021,10 +15212,10 @@ export type OpUpdateElementData = {
15021
15212
  graph_id: string;
15022
15213
  };
15023
15214
  query?: never;
15024
- url: '/extensions/roboledger/{graph_id}/operations/update-element';
15215
+ url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
15025
15216
  };
15026
15217
 
15027
- export type OpUpdateElementErrors = {
15218
+ export type OpCreateJournalEntryErrors = {
15028
15219
  /**
15029
15220
  * Invalid request payload
15030
15221
  */
@@ -15059,19 +15250,19 @@ export type OpUpdateElementErrors = {
15059
15250
  500: unknown;
15060
15251
  };
15061
15252
 
15062
- export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
15253
+ export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
15063
15254
 
15064
- export type OpUpdateElementResponses = {
15255
+ export type OpCreateJournalEntryResponses = {
15065
15256
  /**
15066
15257
  * Successful Response
15067
15258
  */
15068
15259
  200: OperationEnvelope;
15069
15260
  };
15070
15261
 
15071
- export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
15262
+ export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
15072
15263
 
15073
- export type OpDeleteElementData = {
15074
- body: DeleteElementRequest;
15264
+ export type OpUpdateJournalEntryData = {
15265
+ body: UpdateJournalEntryRequest;
15075
15266
  headers?: {
15076
15267
  /**
15077
15268
  * Idempotency-Key
@@ -15085,10 +15276,10 @@ export type OpDeleteElementData = {
15085
15276
  graph_id: string;
15086
15277
  };
15087
15278
  query?: never;
15088
- url: '/extensions/roboledger/{graph_id}/operations/delete-element';
15279
+ url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
15089
15280
  };
15090
15281
 
15091
- export type OpDeleteElementErrors = {
15282
+ export type OpUpdateJournalEntryErrors = {
15092
15283
  /**
15093
15284
  * Invalid request payload
15094
15285
  */
@@ -15123,19 +15314,19 @@ export type OpDeleteElementErrors = {
15123
15314
  500: unknown;
15124
15315
  };
15125
15316
 
15126
- export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
15317
+ export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
15127
15318
 
15128
- export type OpDeleteElementResponses = {
15319
+ export type OpUpdateJournalEntryResponses = {
15129
15320
  /**
15130
15321
  * Successful Response
15131
15322
  */
15132
15323
  200: OperationEnvelope;
15133
15324
  };
15134
15325
 
15135
- export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
15326
+ export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
15136
15327
 
15137
- export type OpCreateAssociationsData = {
15138
- body: BulkCreateAssociationsRequest;
15328
+ export type OpDeleteJournalEntryData = {
15329
+ body: DeleteJournalEntryRequest;
15139
15330
  headers?: {
15140
15331
  /**
15141
15332
  * Idempotency-Key
@@ -15149,10 +15340,10 @@ export type OpCreateAssociationsData = {
15149
15340
  graph_id: string;
15150
15341
  };
15151
15342
  query?: never;
15152
- url: '/extensions/roboledger/{graph_id}/operations/create-associations';
15343
+ url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
15153
15344
  };
15154
15345
 
15155
- export type OpCreateAssociationsErrors = {
15346
+ export type OpDeleteJournalEntryErrors = {
15156
15347
  /**
15157
15348
  * Invalid request payload
15158
15349
  */
@@ -15187,19 +15378,19 @@ export type OpCreateAssociationsErrors = {
15187
15378
  500: unknown;
15188
15379
  };
15189
15380
 
15190
- export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
15381
+ export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
15191
15382
 
15192
- export type OpCreateAssociationsResponses = {
15383
+ export type OpDeleteJournalEntryResponses = {
15193
15384
  /**
15194
15385
  * Successful Response
15195
15386
  */
15196
15387
  200: OperationEnvelope;
15197
15388
  };
15198
15389
 
15199
- export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
15390
+ export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
15200
15391
 
15201
- export type OpUpdateAssociationData = {
15202
- body: UpdateAssociationRequest;
15392
+ export type OpReverseJournalEntryData = {
15393
+ body: ReverseJournalEntryRequest;
15203
15394
  headers?: {
15204
15395
  /**
15205
15396
  * Idempotency-Key
@@ -15213,10 +15404,10 @@ export type OpUpdateAssociationData = {
15213
15404
  graph_id: string;
15214
15405
  };
15215
15406
  query?: never;
15216
- url: '/extensions/roboledger/{graph_id}/operations/update-association';
15407
+ url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
15217
15408
  };
15218
15409
 
15219
- export type OpUpdateAssociationErrors = {
15410
+ export type OpReverseJournalEntryErrors = {
15220
15411
  /**
15221
15412
  * Invalid request payload
15222
15413
  */
@@ -15251,19 +15442,19 @@ export type OpUpdateAssociationErrors = {
15251
15442
  500: unknown;
15252
15443
  };
15253
15444
 
15254
- export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
15445
+ export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
15255
15446
 
15256
- export type OpUpdateAssociationResponses = {
15447
+ export type OpReverseJournalEntryResponses = {
15257
15448
  /**
15258
15449
  * Successful Response
15259
15450
  */
15260
15451
  200: OperationEnvelope;
15261
15452
  };
15262
15453
 
15263
- export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
15454
+ export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
15264
15455
 
15265
- export type OpDeleteAssociationData = {
15266
- body: DeleteAssociationRequest;
15456
+ export type OpSetCloseTargetData = {
15457
+ body: SetCloseTargetOperation;
15267
15458
  headers?: {
15268
15459
  /**
15269
15460
  * Idempotency-Key
@@ -15277,30 +15468,30 @@ export type OpDeleteAssociationData = {
15277
15468
  graph_id: string;
15278
15469
  };
15279
15470
  query?: never;
15280
- url: '/extensions/roboledger/{graph_id}/operations/delete-association';
15471
+ url: '/extensions/roboledger/{graph_id}/operations/set-close-target';
15281
15472
  };
15282
15473
 
15283
- export type OpDeleteAssociationErrors = {
15474
+ export type OpSetCloseTargetErrors = {
15284
15475
  /**
15285
- * Invalid request payload
15476
+ * Invalid request
15286
15477
  */
15287
- 400: OperationError;
15478
+ 400: ErrorResponse;
15288
15479
  /**
15289
- * Unauthorized — missing or invalid credentials
15480
+ * Authentication required
15290
15481
  */
15291
- 401: unknown;
15482
+ 401: ErrorResponse;
15292
15483
  /**
15293
- * Forbidden — caller cannot access this graph
15484
+ * Access denied
15294
15485
  */
15295
- 403: unknown;
15486
+ 403: ErrorResponse;
15296
15487
  /**
15297
- * Resource not found (graph, ledger, report, etc.)
15488
+ * Resource not found
15298
15489
  */
15299
- 404: OperationError;
15490
+ 404: ErrorResponse;
15300
15491
  /**
15301
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15492
+ * Idempotency-Key conflict — key reused with different body
15302
15493
  */
15303
- 409: OperationError;
15494
+ 409: ErrorResponse;
15304
15495
  /**
15305
15496
  * Validation Error
15306
15497
  */
@@ -15308,26 +15499,26 @@ export type OpDeleteAssociationErrors = {
15308
15499
  /**
15309
15500
  * Rate limit exceeded
15310
15501
  */
15311
- 429: unknown;
15502
+ 429: ErrorResponse;
15312
15503
  /**
15313
- * Internal error
15504
+ * Internal server error
15314
15505
  */
15315
- 500: unknown;
15506
+ 500: ErrorResponse;
15316
15507
  };
15317
15508
 
15318
- export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
15509
+ export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
15319
15510
 
15320
- export type OpDeleteAssociationResponses = {
15511
+ export type OpSetCloseTargetResponses = {
15321
15512
  /**
15322
15513
  * Successful Response
15323
15514
  */
15324
15515
  200: OperationEnvelope;
15325
15516
  };
15326
15517
 
15327
- export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
15518
+ export type OpSetCloseTargetResponse = OpSetCloseTargetResponses[keyof OpSetCloseTargetResponses];
15328
15519
 
15329
- export type OpCreateTransactionData = {
15330
- body: CreateTransactionRequest;
15520
+ export type OpCreateClosingEntryData = {
15521
+ body: CreateClosingEntryOperation;
15331
15522
  headers?: {
15332
15523
  /**
15333
15524
  * Idempotency-Key
@@ -15341,10 +15532,10 @@ export type OpCreateTransactionData = {
15341
15532
  graph_id: string;
15342
15533
  };
15343
15534
  query?: never;
15344
- url: '/extensions/roboledger/{graph_id}/operations/create-transaction';
15535
+ url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
15345
15536
  };
15346
15537
 
15347
- export type OpCreateTransactionErrors = {
15538
+ export type OpCreateClosingEntryErrors = {
15348
15539
  /**
15349
15540
  * Invalid request payload
15350
15541
  */
@@ -15379,19 +15570,19 @@ export type OpCreateTransactionErrors = {
15379
15570
  500: unknown;
15380
15571
  };
15381
15572
 
15382
- export type OpCreateTransactionError = OpCreateTransactionErrors[keyof OpCreateTransactionErrors];
15573
+ export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
15383
15574
 
15384
- export type OpCreateTransactionResponses = {
15575
+ export type OpCreateClosingEntryResponses = {
15385
15576
  /**
15386
15577
  * Successful Response
15387
15578
  */
15388
15579
  200: OperationEnvelope;
15389
15580
  };
15390
15581
 
15391
- export type OpCreateTransactionResponse = OpCreateTransactionResponses[keyof OpCreateTransactionResponses];
15582
+ export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
15392
15583
 
15393
- export type OpCreateJournalEntryData = {
15394
- body: CreateJournalEntryRequest;
15584
+ export type OpCreateManualClosingEntryData = {
15585
+ body: CreateManualClosingEntryRequest;
15395
15586
  headers?: {
15396
15587
  /**
15397
15588
  * Idempotency-Key
@@ -15405,10 +15596,10 @@ export type OpCreateJournalEntryData = {
15405
15596
  graph_id: string;
15406
15597
  };
15407
15598
  query?: never;
15408
- url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry';
15599
+ url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
15409
15600
  };
15410
15601
 
15411
- export type OpCreateJournalEntryErrors = {
15602
+ export type OpCreateManualClosingEntryErrors = {
15412
15603
  /**
15413
15604
  * Invalid request payload
15414
15605
  */
@@ -15443,19 +15634,19 @@ export type OpCreateJournalEntryErrors = {
15443
15634
  500: unknown;
15444
15635
  };
15445
15636
 
15446
- export type OpCreateJournalEntryError = OpCreateJournalEntryErrors[keyof OpCreateJournalEntryErrors];
15637
+ export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
15447
15638
 
15448
- export type OpCreateJournalEntryResponses = {
15639
+ export type OpCreateManualClosingEntryResponses = {
15449
15640
  /**
15450
15641
  * Successful Response
15451
15642
  */
15452
15643
  200: OperationEnvelope;
15453
15644
  };
15454
15645
 
15455
- export type OpCreateJournalEntryResponse = OpCreateJournalEntryResponses[keyof OpCreateJournalEntryResponses];
15646
+ export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
15456
15647
 
15457
- export type OpUpdateJournalEntryData = {
15458
- body: UpdateJournalEntryRequest;
15648
+ export type OpTruncateScheduleData = {
15649
+ body: TruncateScheduleOperation;
15459
15650
  headers?: {
15460
15651
  /**
15461
15652
  * Idempotency-Key
@@ -15469,10 +15660,10 @@ export type OpUpdateJournalEntryData = {
15469
15660
  graph_id: string;
15470
15661
  };
15471
15662
  query?: never;
15472
- url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry';
15663
+ url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
15473
15664
  };
15474
15665
 
15475
- export type OpUpdateJournalEntryErrors = {
15666
+ export type OpTruncateScheduleErrors = {
15476
15667
  /**
15477
15668
  * Invalid request payload
15478
15669
  */
@@ -15507,19 +15698,19 @@ export type OpUpdateJournalEntryErrors = {
15507
15698
  500: unknown;
15508
15699
  };
15509
15700
 
15510
- export type OpUpdateJournalEntryError = OpUpdateJournalEntryErrors[keyof OpUpdateJournalEntryErrors];
15701
+ export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
15511
15702
 
15512
- export type OpUpdateJournalEntryResponses = {
15703
+ export type OpTruncateScheduleResponses = {
15513
15704
  /**
15514
15705
  * Successful Response
15515
15706
  */
15516
15707
  200: OperationEnvelope;
15517
15708
  };
15518
15709
 
15519
- export type OpUpdateJournalEntryResponse = OpUpdateJournalEntryResponses[keyof OpUpdateJournalEntryResponses];
15710
+ export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
15520
15711
 
15521
- export type OpDeleteJournalEntryData = {
15522
- body: DeleteJournalEntryRequest;
15712
+ export type OpDisposeScheduleData = {
15713
+ body: DisposeScheduleRequest;
15523
15714
  headers?: {
15524
15715
  /**
15525
15716
  * Idempotency-Key
@@ -15533,10 +15724,10 @@ export type OpDeleteJournalEntryData = {
15533
15724
  graph_id: string;
15534
15725
  };
15535
15726
  query?: never;
15536
- url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry';
15727
+ url: '/extensions/roboledger/{graph_id}/operations/dispose-schedule';
15537
15728
  };
15538
15729
 
15539
- export type OpDeleteJournalEntryErrors = {
15730
+ export type OpDisposeScheduleErrors = {
15540
15731
  /**
15541
15732
  * Invalid request payload
15542
15733
  */
@@ -15571,19 +15762,19 @@ export type OpDeleteJournalEntryErrors = {
15571
15762
  500: unknown;
15572
15763
  };
15573
15764
 
15574
- export type OpDeleteJournalEntryError = OpDeleteJournalEntryErrors[keyof OpDeleteJournalEntryErrors];
15765
+ export type OpDisposeScheduleError = OpDisposeScheduleErrors[keyof OpDisposeScheduleErrors];
15575
15766
 
15576
- export type OpDeleteJournalEntryResponses = {
15767
+ export type OpDisposeScheduleResponses = {
15577
15768
  /**
15578
15769
  * Successful Response
15579
15770
  */
15580
15771
  200: OperationEnvelope;
15581
15772
  };
15582
15773
 
15583
- export type OpDeleteJournalEntryResponse = OpDeleteJournalEntryResponses[keyof OpDeleteJournalEntryResponses];
15774
+ export type OpDisposeScheduleResponse = OpDisposeScheduleResponses[keyof OpDisposeScheduleResponses];
15584
15775
 
15585
- export type OpReverseJournalEntryData = {
15586
- body: ReverseJournalEntryRequest;
15776
+ export type OpClosePeriodData = {
15777
+ body: ClosePeriodOperation;
15587
15778
  headers?: {
15588
15779
  /**
15589
15780
  * Idempotency-Key
@@ -15597,30 +15788,30 @@ export type OpReverseJournalEntryData = {
15597
15788
  graph_id: string;
15598
15789
  };
15599
15790
  query?: never;
15600
- url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry';
15791
+ url: '/extensions/roboledger/{graph_id}/operations/close-period';
15601
15792
  };
15602
15793
 
15603
- export type OpReverseJournalEntryErrors = {
15794
+ export type OpClosePeriodErrors = {
15604
15795
  /**
15605
- * Invalid request payload
15796
+ * Invalid request
15606
15797
  */
15607
- 400: OperationError;
15798
+ 400: ErrorResponse;
15608
15799
  /**
15609
- * Unauthorized — missing or invalid credentials
15800
+ * Authentication required
15610
15801
  */
15611
- 401: unknown;
15802
+ 401: ErrorResponse;
15612
15803
  /**
15613
- * Forbidden — caller cannot access this graph
15804
+ * Access denied
15614
15805
  */
15615
- 403: unknown;
15806
+ 403: ErrorResponse;
15616
15807
  /**
15617
- * Resource not found (graph, ledger, report, etc.)
15808
+ * Resource not found
15618
15809
  */
15619
- 404: OperationError;
15810
+ 404: ErrorResponse;
15620
15811
  /**
15621
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15812
+ * Idempotency-Key conflict — key reused with different body
15622
15813
  */
15623
- 409: OperationError;
15814
+ 409: ErrorResponse;
15624
15815
  /**
15625
15816
  * Validation Error
15626
15817
  */
@@ -15628,538 +15819,26 @@ export type OpReverseJournalEntryErrors = {
15628
15819
  /**
15629
15820
  * Rate limit exceeded
15630
15821
  */
15631
- 429: unknown;
15822
+ 429: ErrorResponse;
15632
15823
  /**
15633
- * Internal error
15824
+ * Internal server error
15634
15825
  */
15635
- 500: unknown;
15636
- };
15637
-
15638
- export type OpReverseJournalEntryError = OpReverseJournalEntryErrors[keyof OpReverseJournalEntryErrors];
15639
-
15640
- export type OpReverseJournalEntryResponses = {
15641
- /**
15642
- * Successful Response
15643
- */
15644
- 200: OperationEnvelope;
15645
- };
15646
-
15647
- export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
15648
-
15649
- export type OpTruncateScheduleData = {
15650
- body: TruncateScheduleOperation;
15651
- headers?: {
15652
- /**
15653
- * Idempotency-Key
15654
- */
15655
- 'Idempotency-Key'?: string | null;
15656
- };
15657
- path: {
15658
- /**
15659
- * Graph Id
15660
- */
15661
- graph_id: string;
15662
- };
15663
- query?: never;
15664
- url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
15665
- };
15666
-
15667
- export type OpTruncateScheduleErrors = {
15668
- /**
15669
- * Invalid request payload
15670
- */
15671
- 400: OperationError;
15672
- /**
15673
- * Unauthorized — missing or invalid credentials
15674
- */
15675
- 401: unknown;
15676
- /**
15677
- * Forbidden — caller cannot access this graph
15678
- */
15679
- 403: unknown;
15680
- /**
15681
- * Resource not found (graph, ledger, report, etc.)
15682
- */
15683
- 404: OperationError;
15684
- /**
15685
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15686
- */
15687
- 409: OperationError;
15688
- /**
15689
- * Validation Error
15690
- */
15691
- 422: HttpValidationError;
15692
- /**
15693
- * Rate limit exceeded
15694
- */
15695
- 429: unknown;
15696
- /**
15697
- * Internal error
15698
- */
15699
- 500: unknown;
15700
- };
15701
-
15702
- export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
15703
-
15704
- export type OpTruncateScheduleResponses = {
15705
- /**
15706
- * Successful Response
15707
- */
15708
- 200: OperationEnvelope;
15709
- };
15710
-
15711
- export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
15712
-
15713
- export type OpCreateClosingEntryData = {
15714
- body: CreateClosingEntryOperation;
15715
- headers?: {
15716
- /**
15717
- * Idempotency-Key
15718
- */
15719
- 'Idempotency-Key'?: string | null;
15720
- };
15721
- path: {
15722
- /**
15723
- * Graph Id
15724
- */
15725
- graph_id: string;
15726
- };
15727
- query?: never;
15728
- url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
15729
- };
15730
-
15731
- export type OpCreateClosingEntryErrors = {
15732
- /**
15733
- * Invalid request payload
15734
- */
15735
- 400: OperationError;
15736
- /**
15737
- * Unauthorized — missing or invalid credentials
15738
- */
15739
- 401: unknown;
15740
- /**
15741
- * Forbidden — caller cannot access this graph
15742
- */
15743
- 403: unknown;
15744
- /**
15745
- * Resource not found (graph, ledger, report, etc.)
15746
- */
15747
- 404: OperationError;
15748
- /**
15749
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15750
- */
15751
- 409: OperationError;
15752
- /**
15753
- * Validation Error
15754
- */
15755
- 422: HttpValidationError;
15756
- /**
15757
- * Rate limit exceeded
15758
- */
15759
- 429: unknown;
15760
- /**
15761
- * Internal error
15762
- */
15763
- 500: unknown;
15764
- };
15765
-
15766
- export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
15767
-
15768
- export type OpCreateClosingEntryResponses = {
15769
- /**
15770
- * Successful Response
15771
- */
15772
- 200: OperationEnvelope;
15773
- };
15774
-
15775
- export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
15776
-
15777
- export type OpCreateManualClosingEntryData = {
15778
- body: CreateManualClosingEntryRequest;
15779
- headers?: {
15780
- /**
15781
- * Idempotency-Key
15782
- */
15783
- 'Idempotency-Key'?: string | null;
15784
- };
15785
- path: {
15786
- /**
15787
- * Graph Id
15788
- */
15789
- graph_id: string;
15790
- };
15791
- query?: never;
15792
- url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
15793
- };
15794
-
15795
- export type OpCreateManualClosingEntryErrors = {
15796
- /**
15797
- * Invalid request payload
15798
- */
15799
- 400: OperationError;
15800
- /**
15801
- * Unauthorized — missing or invalid credentials
15802
- */
15803
- 401: unknown;
15804
- /**
15805
- * Forbidden — caller cannot access this graph
15806
- */
15807
- 403: unknown;
15808
- /**
15809
- * Resource not found (graph, ledger, report, etc.)
15810
- */
15811
- 404: OperationError;
15812
- /**
15813
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15814
- */
15815
- 409: OperationError;
15816
- /**
15817
- * Validation Error
15818
- */
15819
- 422: HttpValidationError;
15820
- /**
15821
- * Rate limit exceeded
15822
- */
15823
- 429: unknown;
15824
- /**
15825
- * Internal error
15826
- */
15827
- 500: unknown;
15828
- };
15829
-
15830
- export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
15831
-
15832
- export type OpCreateManualClosingEntryResponses = {
15833
- /**
15834
- * Successful Response
15835
- */
15836
- 200: OperationEnvelope;
15837
- };
15838
-
15839
- export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
15840
-
15841
- export type OpCreateInformationBlockData = {
15842
- body: CreateInformationBlockRequest;
15843
- headers?: {
15844
- /**
15845
- * Idempotency-Key
15846
- */
15847
- 'Idempotency-Key'?: string | null;
15848
- };
15849
- path: {
15850
- /**
15851
- * Graph Id
15852
- */
15853
- graph_id: string;
15854
- };
15855
- query?: never;
15856
- url: '/extensions/roboledger/{graph_id}/operations/create-information-block';
15857
- };
15858
-
15859
- export type OpCreateInformationBlockErrors = {
15860
- /**
15861
- * Invalid request payload
15862
- */
15863
- 400: OperationError;
15864
- /**
15865
- * Unauthorized — missing or invalid credentials
15866
- */
15867
- 401: unknown;
15868
- /**
15869
- * Forbidden — caller cannot access this graph
15870
- */
15871
- 403: unknown;
15872
- /**
15873
- * Resource not found (graph, ledger, report, etc.)
15874
- */
15875
- 404: OperationError;
15876
- /**
15877
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15878
- */
15879
- 409: OperationError;
15880
- /**
15881
- * Validation Error
15882
- */
15883
- 422: HttpValidationError;
15884
- /**
15885
- * Rate limit exceeded
15886
- */
15887
- 429: unknown;
15888
- /**
15889
- * Internal error
15890
- */
15891
- 500: unknown;
15892
- };
15893
-
15894
- export type OpCreateInformationBlockError = OpCreateInformationBlockErrors[keyof OpCreateInformationBlockErrors];
15895
-
15896
- export type OpCreateInformationBlockResponses = {
15897
- /**
15898
- * Successful Response
15899
- */
15900
- 200: OperationEnvelope;
15901
- };
15902
-
15903
- export type OpCreateInformationBlockResponse = OpCreateInformationBlockResponses[keyof OpCreateInformationBlockResponses];
15904
-
15905
- export type OpUpdateInformationBlockData = {
15906
- body: UpdateInformationBlockRequest;
15907
- headers?: {
15908
- /**
15909
- * Idempotency-Key
15910
- */
15911
- 'Idempotency-Key'?: string | null;
15912
- };
15913
- path: {
15914
- /**
15915
- * Graph Id
15916
- */
15917
- graph_id: string;
15918
- };
15919
- query?: never;
15920
- url: '/extensions/roboledger/{graph_id}/operations/update-information-block';
15921
- };
15922
-
15923
- export type OpUpdateInformationBlockErrors = {
15924
- /**
15925
- * Invalid request payload
15926
- */
15927
- 400: OperationError;
15928
- /**
15929
- * Unauthorized — missing or invalid credentials
15930
- */
15931
- 401: unknown;
15932
- /**
15933
- * Forbidden — caller cannot access this graph
15934
- */
15935
- 403: unknown;
15936
- /**
15937
- * Resource not found (graph, ledger, report, etc.)
15938
- */
15939
- 404: OperationError;
15940
- /**
15941
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15942
- */
15943
- 409: OperationError;
15944
- /**
15945
- * Validation Error
15946
- */
15947
- 422: HttpValidationError;
15948
- /**
15949
- * Rate limit exceeded
15950
- */
15951
- 429: unknown;
15952
- /**
15953
- * Internal error
15954
- */
15955
- 500: unknown;
15956
- };
15957
-
15958
- export type OpUpdateInformationBlockError = OpUpdateInformationBlockErrors[keyof OpUpdateInformationBlockErrors];
15959
-
15960
- export type OpUpdateInformationBlockResponses = {
15961
- /**
15962
- * Successful Response
15963
- */
15964
- 200: OperationEnvelope;
15965
- };
15966
-
15967
- export type OpUpdateInformationBlockResponse = OpUpdateInformationBlockResponses[keyof OpUpdateInformationBlockResponses];
15968
-
15969
- export type OpDeleteInformationBlockData = {
15970
- body: DeleteInformationBlockRequest;
15971
- headers?: {
15972
- /**
15973
- * Idempotency-Key
15974
- */
15975
- 'Idempotency-Key'?: string | null;
15976
- };
15977
- path: {
15978
- /**
15979
- * Graph Id
15980
- */
15981
- graph_id: string;
15982
- };
15983
- query?: never;
15984
- url: '/extensions/roboledger/{graph_id}/operations/delete-information-block';
15985
- };
15986
-
15987
- export type OpDeleteInformationBlockErrors = {
15988
- /**
15989
- * Invalid request payload
15990
- */
15991
- 400: OperationError;
15992
- /**
15993
- * Unauthorized — missing or invalid credentials
15994
- */
15995
- 401: unknown;
15996
- /**
15997
- * Forbidden — caller cannot access this graph
15998
- */
15999
- 403: unknown;
16000
- /**
16001
- * Resource not found (graph, ledger, report, etc.)
16002
- */
16003
- 404: OperationError;
16004
- /**
16005
- * Idempotency-Key reused with a different request body, or other operation-level conflict
16006
- */
16007
- 409: OperationError;
16008
- /**
16009
- * Validation Error
16010
- */
16011
- 422: HttpValidationError;
16012
- /**
16013
- * Rate limit exceeded
16014
- */
16015
- 429: unknown;
16016
- /**
16017
- * Internal error
16018
- */
16019
- 500: unknown;
16020
- };
16021
-
16022
- export type OpDeleteInformationBlockError = OpDeleteInformationBlockErrors[keyof OpDeleteInformationBlockErrors];
16023
-
16024
- export type OpDeleteInformationBlockResponses = {
16025
- /**
16026
- * Successful Response
16027
- */
16028
- 200: OperationEnvelope;
16029
- };
16030
-
16031
- export type OpDeleteInformationBlockResponse = OpDeleteInformationBlockResponses[keyof OpDeleteInformationBlockResponses];
16032
-
16033
- export type OpEvaluateRulesData = {
16034
- body: EvaluateRulesRequest;
16035
- headers?: {
16036
- /**
16037
- * Idempotency-Key
16038
- */
16039
- 'Idempotency-Key'?: string | null;
16040
- };
16041
- path: {
16042
- /**
16043
- * Graph Id
16044
- */
16045
- graph_id: string;
16046
- };
16047
- query?: never;
16048
- url: '/extensions/roboledger/{graph_id}/operations/evaluate-rules';
16049
- };
16050
-
16051
- export type OpEvaluateRulesErrors = {
16052
- /**
16053
- * Invalid request payload
16054
- */
16055
- 400: OperationError;
16056
- /**
16057
- * Unauthorized — missing or invalid credentials
16058
- */
16059
- 401: unknown;
16060
- /**
16061
- * Forbidden — caller cannot access this graph
16062
- */
16063
- 403: unknown;
16064
- /**
16065
- * Resource not found (graph, ledger, report, etc.)
16066
- */
16067
- 404: OperationError;
16068
- /**
16069
- * Idempotency-Key reused with a different request body, or other operation-level conflict
16070
- */
16071
- 409: OperationError;
16072
- /**
16073
- * Validation Error
16074
- */
16075
- 422: HttpValidationError;
16076
- /**
16077
- * Rate limit exceeded
16078
- */
16079
- 429: unknown;
16080
- /**
16081
- * Internal error
16082
- */
16083
- 500: unknown;
16084
- };
16085
-
16086
- export type OpEvaluateRulesError = OpEvaluateRulesErrors[keyof OpEvaluateRulesErrors];
16087
-
16088
- export type OpEvaluateRulesResponses = {
16089
- /**
16090
- * Successful Response
16091
- */
16092
- 200: OperationEnvelope;
16093
- };
16094
-
16095
- export type OpEvaluateRulesResponse = OpEvaluateRulesResponses[keyof OpEvaluateRulesResponses];
16096
-
16097
- export type OpCreateMappingAssociationData = {
16098
- body: CreateMappingAssociationOperation;
16099
- headers?: {
16100
- /**
16101
- * Idempotency-Key
16102
- */
16103
- 'Idempotency-Key'?: string | null;
16104
- };
16105
- path: {
16106
- /**
16107
- * Graph Id
16108
- */
16109
- graph_id: string;
16110
- };
16111
- query?: never;
16112
- url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
16113
- };
16114
-
16115
- export type OpCreateMappingAssociationErrors = {
16116
- /**
16117
- * Invalid request payload
16118
- */
16119
- 400: OperationError;
16120
- /**
16121
- * Unauthorized — missing or invalid credentials
16122
- */
16123
- 401: unknown;
16124
- /**
16125
- * Forbidden — caller cannot access this graph
16126
- */
16127
- 403: unknown;
16128
- /**
16129
- * Resource not found (graph, ledger, report, etc.)
16130
- */
16131
- 404: OperationError;
16132
- /**
16133
- * Idempotency-Key reused with a different request body, or other operation-level conflict
16134
- */
16135
- 409: OperationError;
16136
- /**
16137
- * Validation Error
16138
- */
16139
- 422: HttpValidationError;
16140
- /**
16141
- * Rate limit exceeded
16142
- */
16143
- 429: unknown;
16144
- /**
16145
- * Internal error
16146
- */
16147
- 500: unknown;
15826
+ 500: ErrorResponse;
16148
15827
  };
16149
15828
 
16150
- export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
15829
+ export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
16151
15830
 
16152
- export type OpCreateMappingAssociationResponses = {
15831
+ export type OpClosePeriodResponses = {
16153
15832
  /**
16154
15833
  * Successful Response
16155
15834
  */
16156
15835
  200: OperationEnvelope;
16157
15836
  };
16158
15837
 
16159
- export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
15838
+ export type OpClosePeriodResponse = OpClosePeriodResponses[keyof OpClosePeriodResponses];
16160
15839
 
16161
- export type OpAutoMapElementsData = {
16162
- body: AutoMapElementsOperation;
15840
+ export type OpReopenPeriodData = {
15841
+ body: ReopenPeriodOperation;
16163
15842
  headers?: {
16164
15843
  /**
16165
15844
  * Idempotency-Key
@@ -16173,10 +15852,10 @@ export type OpAutoMapElementsData = {
16173
15852
  graph_id: string;
16174
15853
  };
16175
15854
  query?: never;
16176
- url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
15855
+ url: '/extensions/roboledger/{graph_id}/operations/reopen-period';
16177
15856
  };
16178
15857
 
16179
- export type OpAutoMapElementsErrors = {
15858
+ export type OpReopenPeriodErrors = {
16180
15859
  /**
16181
15860
  * Invalid request
16182
15861
  */
@@ -16211,16 +15890,16 @@ export type OpAutoMapElementsErrors = {
16211
15890
  500: ErrorResponse;
16212
15891
  };
16213
15892
 
16214
- export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
15893
+ export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
16215
15894
 
16216
- export type OpAutoMapElementsResponses = {
15895
+ export type OpReopenPeriodResponses = {
16217
15896
  /**
16218
15897
  * Successful Response
16219
15898
  */
16220
- 202: OperationEnvelope;
15899
+ 200: OperationEnvelope;
16221
15900
  };
16222
15901
 
16223
- export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
15902
+ export type OpReopenPeriodResponse = OpReopenPeriodResponses[keyof OpReopenPeriodResponses];
16224
15903
 
16225
15904
  export type OpCreateReportData = {
16226
15905
  body: CreateReportRequest;