@robosystems/client 0.3.8 → 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/sdk/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
  *
@@ -1561,6 +1424,35 @@ export type CreateGraphRequest = {
1561
1424
  tags?: Array<string>;
1562
1425
  };
1563
1426
 
1427
+ /**
1428
+ * CreateInformationBlockRequest
1429
+ *
1430
+ * Generic create request — discriminator + typed-at-dispatch payload.
1431
+ *
1432
+ * ``block_type`` selects the registry entry. ``payload`` is validated
1433
+ * against ``BlockTypeRegistryEntry.create_request_model`` (e.g.
1434
+ * :class:`CreateScheduleRequest` for ``block_type='schedule'``) by the
1435
+ * command dispatcher. Chosen over a Pydantic discriminated union on the
1436
+ * top-level request so adding a block type is one registry line, not a
1437
+ * union-arm edit at the request-model layer.
1438
+ */
1439
+ export type CreateInformationBlockRequest = {
1440
+ /**
1441
+ * Block Type
1442
+ *
1443
+ * Block type discriminator. Must match a registered entry in robosystems.operations.information_block.registry.REGISTRY.
1444
+ */
1445
+ block_type: string;
1446
+ /**
1447
+ * Payload
1448
+ *
1449
+ * Block-type-specific creation payload. Shape-validated against the registry entry's `create_request_model` at dispatch time; the validation error surfaces as a 422 at the API boundary.
1450
+ */
1451
+ payload?: {
1452
+ [key: string]: unknown;
1453
+ };
1454
+ };
1455
+
1564
1456
  /**
1565
1457
  * CreateJournalEntryRequest
1566
1458
  *
@@ -1839,56 +1731,6 @@ export type CreateRepositorySubscriptionRequest = {
1839
1731
  plan_name: string;
1840
1732
  };
1841
1733
 
1842
- /**
1843
- * CreateScheduleRequest
1844
- */
1845
- export type CreateScheduleRequest = {
1846
- /**
1847
- * Name
1848
- *
1849
- * Schedule name
1850
- */
1851
- name: string;
1852
- /**
1853
- * Taxonomy Id
1854
- *
1855
- * Taxonomy ID (auto-creates if omitted)
1856
- */
1857
- taxonomy_id?: string | null;
1858
- /**
1859
- * Element Ids
1860
- *
1861
- * Element IDs to include
1862
- */
1863
- element_ids: Array<string>;
1864
- /**
1865
- * Period Start
1866
- *
1867
- * First period start
1868
- */
1869
- period_start: string;
1870
- /**
1871
- * Period End
1872
- *
1873
- * Last period end
1874
- */
1875
- period_end: string;
1876
- /**
1877
- * Monthly Amount
1878
- *
1879
- * Monthly amount in cents
1880
- */
1881
- monthly_amount: number;
1882
- entry_template: EntryTemplateRequest;
1883
- schedule_metadata?: ScheduleMetadataRequest | null;
1884
- /**
1885
- * Closed Through
1886
- *
1887
- * If provided, facts with period_end ≤ this date are flagged as 'historical' (already reflected in opening balances, ignored by the close workflow). Used during initial ledger setup to create schedules whose early facts have already been captured elsewhere.
1888
- */
1889
- closed_through?: string | null;
1890
- };
1891
-
1892
1734
  /**
1893
1735
  * CreateSecurityRequest
1894
1736
  */
@@ -1929,28 +1771,6 @@ export type CreateSecurityRequest = {
1929
1771
  outstanding_shares?: number | null;
1930
1772
  };
1931
1773
 
1932
- /**
1933
- * CreateStructureRequest
1934
- */
1935
- export type CreateStructureRequest = {
1936
- /**
1937
- * Name
1938
- */
1939
- name: string;
1940
- /**
1941
- * Description
1942
- */
1943
- description?: string | null;
1944
- /**
1945
- * Structure Type
1946
- */
1947
- structure_type: 'chart_of_accounts' | 'income_statement' | 'balance_sheet' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'custom';
1948
- /**
1949
- * Taxonomy Id
1950
- */
1951
- taxonomy_id: string;
1952
- };
1953
-
1954
1774
  /**
1955
1775
  * CreateSubgraphRequest
1956
1776
  *
@@ -2002,33 +1822,76 @@ export type CreateSubgraphRequest = {
2002
1822
  };
2003
1823
 
2004
1824
  /**
2005
- * 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.
2006
1837
  */
2007
- export type CreateTaxonomyRequest = {
1838
+ export type CreateTaxonomyBlockRequest = {
2008
1839
  /**
2009
1840
  * Name
1841
+ *
1842
+ * Taxonomy display name.
2010
1843
  */
2011
1844
  name: string;
2012
1845
  /**
2013
- * 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``.
2014
1849
  */
2015
- description?: string | null;
1850
+ taxonomy_type: 'reporting_standard' | 'reporting_extension' | 'custom_ontology' | 'chart_of_accounts' | 'schedule';
2016
1851
  /**
2017
- * Taxonomy Type
1852
+ * Parent Taxonomy Id
1853
+ *
1854
+ * Required when ``taxonomy_type == 'reporting_extension'`` — the id of the library ``reporting_standard`` being extended.
2018
1855
  */
2019
- taxonomy_type: 'chart_of_accounts' | 'reporting' | 'mapping' | 'schedule';
1856
+ parent_taxonomy_id?: string | null;
2020
1857
  /**
2021
1858
  * Version
2022
1859
  */
2023
1860
  version?: string | null;
2024
1861
  /**
2025
- * 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
2026
1887
  */
2027
- source_taxonomy_id?: string | null;
1888
+ rules?: Array<TaxonomyBlockRuleRequest>;
2028
1889
  /**
2029
- * Target Taxonomy Id
1890
+ * Metadata
2030
1891
  */
2031
- target_taxonomy_id?: string | null;
1892
+ metadata?: {
1893
+ [key: string]: unknown;
1894
+ };
2032
1895
  };
2033
1896
 
2034
1897
  /**
@@ -2583,32 +2446,6 @@ export type DatabaseStorageEntry = {
2583
2446
  size_mb?: number | null;
2584
2447
  };
2585
2448
 
2586
- /**
2587
- * DeleteAssociationRequest
2588
- *
2589
- * Hard delete — associations are edges and are cheap to recreate.
2590
- */
2591
- export type DeleteAssociationRequest = {
2592
- /**
2593
- * Association Id
2594
- */
2595
- association_id: string;
2596
- };
2597
-
2598
- /**
2599
- * DeleteElementRequest
2600
- *
2601
- * Soft delete — sets `is_active=false`. Historical line items
2602
- * referencing this element remain valid; new line items cannot use an
2603
- * inactive element.
2604
- */
2605
- export type DeleteElementRequest = {
2606
- /**
2607
- * Element Id
2608
- */
2609
- element_id: string;
2610
- };
2611
-
2612
2449
  /**
2613
2450
  * DeleteFileResponse
2614
2451
  */
@@ -2657,6 +2494,31 @@ export type DeleteFileResponse = {
2657
2494
  graph_marked_stale?: boolean;
2658
2495
  };
2659
2496
 
2497
+ /**
2498
+ * DeleteInformationBlockRequest
2499
+ *
2500
+ * Generic delete request — mirrors :class:`CreateInformationBlockRequest`.
2501
+ *
2502
+ * Validated against the registry entry's ``delete_request_model``.
2503
+ * Block types that don't support deletion raise ``NotImplementedError``.
2504
+ */
2505
+ export type DeleteInformationBlockRequest = {
2506
+ /**
2507
+ * Block Type
2508
+ *
2509
+ * Block type discriminator. Must match a registered entry.
2510
+ */
2511
+ block_type: string;
2512
+ /**
2513
+ * Payload
2514
+ *
2515
+ * Block-type-specific delete payload. Typically carries just the structure_id. Shape-validated against the registry entry's `delete_request_model` at dispatch time.
2516
+ */
2517
+ payload?: {
2518
+ [key: string]: unknown;
2519
+ };
2520
+ };
2521
+
2660
2522
  /**
2661
2523
  * DeleteJournalEntryRequest
2662
2524
  *
@@ -2732,23 +2594,6 @@ export type DeleteReportOperation = {
2732
2594
  report_id: string;
2733
2595
  };
2734
2596
 
2735
- /**
2736
- * DeleteScheduleRequest
2737
- *
2738
- * Delete a schedule — cascades through facts and associations.
2739
- *
2740
- * Hard deletes the Structure, all Facts tied to it, and all
2741
- * Associations tied to it. This is a permanent, irreversible
2742
- * operation. For ending a schedule early without removing history,
2743
- * use truncate-schedule instead.
2744
- */
2745
- export type DeleteScheduleRequest = {
2746
- /**
2747
- * Structure Id
2748
- */
2749
- structure_id: string;
2750
- };
2751
-
2752
2597
  /**
2753
2598
  * DeleteSecurityOperation
2754
2599
  *
@@ -2763,18 +2608,6 @@ export type DeleteSecurityOperation = {
2763
2608
  security_id: string;
2764
2609
  };
2765
2610
 
2766
- /**
2767
- * DeleteStructureRequest
2768
- *
2769
- * Soft delete — sets `is_active=false`.
2770
- */
2771
- export type DeleteStructureRequest = {
2772
- /**
2773
- * Structure Id
2774
- */
2775
- structure_id: string;
2776
- };
2777
-
2778
2611
  /**
2779
2612
  * DeleteSubgraphOp
2780
2613
  *
@@ -2802,16 +2635,30 @@ export type DeleteSubgraphOp = {
2802
2635
  };
2803
2636
 
2804
2637
  /**
2805
- * DeleteTaxonomyRequest
2638
+ * DeleteTaxonomyBlockRequest
2639
+ *
2640
+ * Request body for the ``delete-taxonomy-block`` operation.
2806
2641
  *
2807
- * Soft delete sets `is_active=false`. Historical references remain
2808
- * 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``.
2809
2646
  */
2810
- export type DeleteTaxonomyRequest = {
2647
+ export type DeleteTaxonomyBlockRequest = {
2811
2648
  /**
2812
2649
  * Taxonomy Id
2813
2650
  */
2814
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;
2815
2662
  };
2816
2663
 
2817
2664
  /**
@@ -2846,6 +2693,60 @@ export type DetailedTransactionsResponse = {
2846
2693
  };
2847
2694
  };
2848
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
+
2849
2750
  /**
2850
2751
  * DocumentDetailResponse
2851
2752
  *
@@ -3180,6 +3081,58 @@ export type DownloadQuota = {
3180
3081
  resets_at: string;
3181
3082
  };
3182
3083
 
3084
+ /**
3085
+ * ElementUpdatePatch
3086
+ *
3087
+ * Partial-update patch for a single element, keyed by qname.
3088
+ */
3089
+ export type ElementUpdatePatch = {
3090
+ /**
3091
+ * Qname
3092
+ *
3093
+ * qname identifier of the element to update.
3094
+ */
3095
+ qname: string;
3096
+ /**
3097
+ * Name
3098
+ */
3099
+ name?: string | null;
3100
+ /**
3101
+ * Description
3102
+ */
3103
+ description?: string | null;
3104
+ /**
3105
+ * Classification
3106
+ */
3107
+ classification?: string | null;
3108
+ /**
3109
+ * Balance Type
3110
+ */
3111
+ balance_type?: string | null;
3112
+ /**
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
+
3183
3136
  /**
3184
3137
  * EmailVerificationRequest
3185
3138
  *
@@ -3262,42 +3215,6 @@ export type EnhancedFileStatusLayers = {
3262
3215
  graph: FileLayerStatus;
3263
3216
  };
3264
3217
 
3265
- /**
3266
- * EntryTemplateRequest
3267
- */
3268
- export type EntryTemplateRequest = {
3269
- /**
3270
- * Debit Element Id
3271
- *
3272
- * Element to debit (e.g., Depreciation Expense)
3273
- */
3274
- debit_element_id: string;
3275
- /**
3276
- * Credit Element Id
3277
- *
3278
- * Element to credit (e.g., Accumulated Depreciation)
3279
- */
3280
- credit_element_id: string;
3281
- /**
3282
- * Entry Type
3283
- *
3284
- * Entry type for generated entries
3285
- */
3286
- entry_type?: 'standard' | 'adjusting' | 'closing' | 'reversing';
3287
- /**
3288
- * Memo Template
3289
- *
3290
- * Memo template ({structure_name} is replaced)
3291
- */
3292
- memo_template?: string;
3293
- /**
3294
- * Auto Reverse
3295
- *
3296
- * Auto-generate a reversing entry on the first day of the next period
3297
- */
3298
- auto_reverse?: boolean;
3299
- };
3300
-
3301
3218
  /**
3302
3219
  * ErrorResponse
3303
3220
  *
@@ -3333,6 +3250,45 @@ export type ErrorResponse = {
3333
3250
  timestamp?: string | null;
3334
3251
  };
3335
3252
 
3253
+ /**
3254
+ * EvaluateRulesRequest
3255
+ *
3256
+ * Request body for the ``evaluate-rules`` operation (Phase delta.3).
3257
+ *
3258
+ * Runs every rule scoped to ``structure_id`` (plus element/association-
3259
+ * scoped rules for the structure's atoms), binds ``$Variable`` references
3260
+ * to facts via qname lookup, and writes one
3261
+ * :class:`VerificationResult` row per rule.
3262
+ *
3263
+ * Optional ``period_start`` / ``period_end`` narrow the fact-binding
3264
+ * window; without them the engine uses the most recent ``in_scope`` fact
3265
+ * for each element regardless of period.
3266
+ */
3267
+ export type EvaluateRulesRequest = {
3268
+ /**
3269
+ * Structure Id
3270
+ */
3271
+ structure_id: string;
3272
+ /**
3273
+ * Fact Set Id
3274
+ *
3275
+ * Optional FactSet id to stamp on each VerificationResult row. Allows results to be scoped to a specific period run when the FactSet table is populated (Phase zeta expand pass).
3276
+ */
3277
+ fact_set_id?: string | null;
3278
+ /**
3279
+ * Period Start
3280
+ *
3281
+ * Lower bound on the fact period window (inclusive).
3282
+ */
3283
+ period_start?: string | null;
3284
+ /**
3285
+ * Period End
3286
+ *
3287
+ * Upper bound on the fact period window (inclusive).
3288
+ */
3289
+ period_end?: string | null;
3290
+ };
3291
+
3336
3292
  /**
3337
3293
  * FileInfo
3338
3294
  */
@@ -6261,42 +6217,6 @@ export type SsoTokenResponse = {
6261
6217
  apps: Array<string>;
6262
6218
  };
6263
6219
 
6264
- /**
6265
- * ScheduleMetadataRequest
6266
- */
6267
- export type ScheduleMetadataRequest = {
6268
- /**
6269
- * Method
6270
- *
6271
- * Calculation method
6272
- */
6273
- method?: string;
6274
- /**
6275
- * Original Amount
6276
- *
6277
- * Cost basis in cents
6278
- */
6279
- original_amount?: number;
6280
- /**
6281
- * Residual Value
6282
- *
6283
- * Salvage value in cents
6284
- */
6285
- residual_value?: number;
6286
- /**
6287
- * Useful Life Months
6288
- *
6289
- * Useful life in months
6290
- */
6291
- useful_life_months?: number;
6292
- /**
6293
- * Asset Element Id
6294
- *
6295
- * BS asset element for net book value
6296
- */
6297
- asset_element_id?: string | null;
6298
- };
6299
-
6300
6220
  /**
6301
6221
  * SchemaExportResponse
6302
6222
  *
@@ -6830,6 +6750,38 @@ export type StorageSummary = {
6830
6750
  measurement_count: number;
6831
6751
  };
6832
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
+
6833
6785
  /**
6834
6786
  * SubgraphQuotaResponse
6835
6787
  *
@@ -7192,89 +7144,337 @@ export type TableQueryResponse = {
7192
7144
  };
7193
7145
 
7194
7146
  /**
7195
- * TierCapacity
7147
+ * TaxonomyBlockAssociationRequest
7196
7148
  *
7197
- * Capacity status for a single tier.
7149
+ * Association (arc) between two elements, scoped to a structure.
7198
7150
  */
7199
- export type TierCapacity = {
7151
+ export type TaxonomyBlockAssociationRequest = {
7200
7152
  /**
7201
- * Tier
7153
+ * Structure Ref
7202
7154
  *
7203
- * Tier identifier (e.g. ladybug-standard)
7155
+ * Envelope-local structure name (references a structure declared in the same envelope).
7204
7156
  */
7205
- tier: string;
7157
+ structure_ref: string;
7206
7158
  /**
7207
- * Display Name
7159
+ * From Ref
7208
7160
  *
7209
- * Human-readable tier name
7161
+ * qname of the source element.
7210
7162
  */
7211
- display_name: string;
7163
+ from_ref: string;
7212
7164
  /**
7213
- * Status
7165
+ * To Ref
7214
7166
  *
7215
- * Capacity status: ready, scalable, or at_capacity
7167
+ * qname of the target element.
7216
7168
  */
7217
- status: string;
7169
+ to_ref: string;
7218
7170
  /**
7219
- * Message
7171
+ * Association Type
7220
7172
  *
7221
- * Human-readable status message for frontend display
7173
+ * DB ``associations.association_type`` enum. ``presentation`` = parent-child hierarchy; ``calculation`` = summation arc.
7222
7174
  */
7223
- message: string;
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
+ };
7224
7196
  };
7225
7197
 
7226
7198
  /**
7227
- * TokenPricing
7199
+ * TaxonomyBlockElementRequest
7228
7200
  *
7229
- * AI token pricing for a specific model.
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.
7230
7208
  */
7231
- export type TokenPricing = {
7209
+ export type TaxonomyBlockElementRequest = {
7232
7210
  /**
7233
- * Input Per 1K Tokens
7211
+ * Qname
7234
7212
  *
7235
- * Credits per 1K input tokens
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.
7236
7214
  */
7237
- input_per_1k_tokens: number;
7215
+ qname: string;
7238
7216
  /**
7239
- * Output Per 1K Tokens
7217
+ * Name
7240
7218
  *
7241
- * Credits per 1K output tokens
7219
+ * Human-readable element name (e.g. 'Total Assets').
7242
7220
  */
7243
- output_per_1k_tokens: number;
7244
- };
7245
-
7246
- /**
7247
- * TransactionSummaryResponse
7248
- *
7249
- * Summary of transactions by operation type.
7250
- */
7251
- export type TransactionSummaryResponse = {
7221
+ name: string;
7252
7222
  /**
7253
- * Operation Type
7223
+ * Classification
7224
+ *
7225
+ * FASB metamodel trait for the element. Required for ``chart_of_accounts`` blocks; optional for ``custom_ontology``.
7254
7226
  */
7255
- operation_type: string;
7227
+ classification?: string | null;
7256
7228
  /**
7257
- * Total Amount
7229
+ * Balance Type
7230
+ *
7231
+ * 'debit' | 'credit' | null for non-monetary concepts.
7258
7232
  */
7259
- total_amount: number;
7233
+ balance_type?: string | null;
7260
7234
  /**
7261
- * Transaction Count
7235
+ * Element Type
7236
+ *
7237
+ * 'concept' | 'abstract' | 'axis' | 'member' | 'hypercube'.
7262
7238
  */
7263
- transaction_count: number;
7239
+ element_type?: string;
7264
7240
  /**
7265
- * Average Amount
7241
+ * Period Type
7242
+ *
7243
+ * 'instant' | 'duration' | null (null = derive from classification during validation).
7266
7244
  */
7267
- average_amount: number;
7245
+ period_type?: string | null;
7268
7246
  /**
7269
- * First Transaction
7247
+ * Is Monetary
7248
+ *
7249
+ * True for dollar-denominated concepts.
7270
7250
  */
7271
- first_transaction?: string | null;
7251
+ is_monetary?: boolean;
7272
7252
  /**
7273
- * Last Transaction
7253
+ * Description
7274
7254
  */
7275
- last_transaction?: string | null;
7276
- };
7277
-
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
+
7394
+ /**
7395
+ * TierCapacity
7396
+ *
7397
+ * Capacity status for a single tier.
7398
+ */
7399
+ export type TierCapacity = {
7400
+ /**
7401
+ * Tier
7402
+ *
7403
+ * Tier identifier (e.g. ladybug-standard)
7404
+ */
7405
+ tier: string;
7406
+ /**
7407
+ * Display Name
7408
+ *
7409
+ * Human-readable tier name
7410
+ */
7411
+ display_name: string;
7412
+ /**
7413
+ * Status
7414
+ *
7415
+ * Capacity status: ready, scalable, or at_capacity
7416
+ */
7417
+ status: string;
7418
+ /**
7419
+ * Message
7420
+ *
7421
+ * Human-readable status message for frontend display
7422
+ */
7423
+ message: string;
7424
+ };
7425
+
7426
+ /**
7427
+ * TokenPricing
7428
+ *
7429
+ * AI token pricing for a specific model.
7430
+ */
7431
+ export type TokenPricing = {
7432
+ /**
7433
+ * Input Per 1K Tokens
7434
+ *
7435
+ * Credits per 1K input tokens
7436
+ */
7437
+ input_per_1k_tokens: number;
7438
+ /**
7439
+ * Output Per 1K Tokens
7440
+ *
7441
+ * Credits per 1K output tokens
7442
+ */
7443
+ output_per_1k_tokens: number;
7444
+ };
7445
+
7446
+ /**
7447
+ * TransactionSummaryResponse
7448
+ *
7449
+ * Summary of transactions by operation type.
7450
+ */
7451
+ export type TransactionSummaryResponse = {
7452
+ /**
7453
+ * Operation Type
7454
+ */
7455
+ operation_type: string;
7456
+ /**
7457
+ * Total Amount
7458
+ */
7459
+ total_amount: number;
7460
+ /**
7461
+ * Transaction Count
7462
+ */
7463
+ transaction_count: number;
7464
+ /**
7465
+ * Average Amount
7466
+ */
7467
+ average_amount: number;
7468
+ /**
7469
+ * First Transaction
7470
+ */
7471
+ first_transaction?: string | null;
7472
+ /**
7473
+ * Last Transaction
7474
+ */
7475
+ last_transaction?: string | null;
7476
+ };
7477
+
7278
7478
  /**
7279
7479
  * TruncateScheduleOperation
7280
7480
  *
@@ -7370,90 +7570,6 @@ export type UpdateApiKeyRequest = {
7370
7570
  description?: string | null;
7371
7571
  };
7372
7572
 
7373
- /**
7374
- * UpdateAssociationRequest
7375
- *
7376
- * Update mutable fields on an association. `from_element_id`,
7377
- * `to_element_id`, and `association_type` are immutable — delete and
7378
- * recreate instead.
7379
- */
7380
- export type UpdateAssociationRequest = {
7381
- /**
7382
- * Association Id
7383
- */
7384
- association_id: string;
7385
- /**
7386
- * Order Value
7387
- */
7388
- order_value?: number | null;
7389
- /**
7390
- * Weight
7391
- */
7392
- weight?: number | null;
7393
- /**
7394
- * Confidence
7395
- */
7396
- confidence?: number | null;
7397
- /**
7398
- * Approved By
7399
- */
7400
- approved_by?: string | null;
7401
- };
7402
-
7403
- /**
7404
- * UpdateElementRequest
7405
- *
7406
- * Update mutable fields on an element. `taxonomy_id` and `source` are
7407
- * immutable. `parent_id` honors `model_dump(exclude_unset=True)` semantics:
7408
- * omit the field to leave unchanged, pass `null` to clear the parent
7409
- * (make root).
7410
- *
7411
- * ``classification`` updates the element's primary FASB
7412
- * elementsOfFinancialStatements assignment (in ``element_classifications``,
7413
- * not a direct column on ``elements``). Omit to leave unchanged. Passing a
7414
- * value replaces the current primary EFS assignment; there is no
7415
- * set-to-null semantics (use the UI/admin path for full classification
7416
- * teardown — here we only support correction of a misclassified account).
7417
- */
7418
- export type UpdateElementRequest = {
7419
- /**
7420
- * Element Id
7421
- */
7422
- element_id: string;
7423
- /**
7424
- * Code
7425
- */
7426
- code?: string | null;
7427
- /**
7428
- * Name
7429
- */
7430
- name?: string | null;
7431
- /**
7432
- * Description
7433
- */
7434
- description?: string | null;
7435
- /**
7436
- * Balance Type
7437
- */
7438
- balance_type?: 'debit' | 'credit' | null;
7439
- /**
7440
- * Period Type
7441
- */
7442
- period_type?: 'duration' | 'instant' | null;
7443
- /**
7444
- * Parent Id
7445
- */
7446
- parent_id?: string | null;
7447
- /**
7448
- * Currency
7449
- */
7450
- currency?: string | null;
7451
- /**
7452
- * Classification
7453
- */
7454
- classification?: 'asset' | 'contraAsset' | 'liability' | 'contraLiability' | 'equity' | 'contraEquity' | 'temporaryEquity' | 'revenue' | 'expense' | 'expenseReversal' | 'gain' | 'loss' | 'comprehensiveIncome' | 'investmentByOwners' | 'distributionToOwners' | null;
7455
- };
7456
-
7457
7573
  /**
7458
7574
  * UpdateEntityRequest
7459
7575
  *
@@ -7550,6 +7666,33 @@ export type UpdateEntityRequest = {
7550
7666
  address_country?: string | null;
7551
7667
  };
7552
7668
 
7669
+ /**
7670
+ * UpdateInformationBlockRequest
7671
+ *
7672
+ * Generic update request — mirrors :class:`CreateInformationBlockRequest`.
7673
+ *
7674
+ * Validated against the registry entry's ``update_request_model``.
7675
+ * Block types that don't support updates (e.g. the statement family,
7676
+ * whose Structures are library-seeded) surface ``NotImplementedError``
7677
+ * from their dispatch handler, which the registrar maps to HTTP 501.
7678
+ */
7679
+ export type UpdateInformationBlockRequest = {
7680
+ /**
7681
+ * Block Type
7682
+ *
7683
+ * Block type discriminator. Must match a registered entry.
7684
+ */
7685
+ block_type: string;
7686
+ /**
7687
+ * Payload
7688
+ *
7689
+ * Block-type-specific update payload. Typically carries the structure_id plus whichever fields are editable for this block type. Shape-validated against the registry entry's `update_request_model` at dispatch time.
7690
+ */
7691
+ payload?: {
7692
+ [key: string]: unknown;
7693
+ };
7694
+ };
7695
+
7553
7696
  /**
7554
7697
  * UpdateJournalEntryRequest
7555
7698
  *
@@ -7742,36 +7885,9 @@ export type UpdatePublishListOperation = {
7742
7885
  };
7743
7886
 
7744
7887
  /**
7745
- * UpdateScheduleRequest
7746
- *
7747
- * Update mutable fields on a schedule.
7748
- *
7749
- * Editable: name, entry_template, schedule_metadata (all live on the
7750
- * Structure row / its metadata_ JSONB column).
7751
- *
7752
- * NOT editable via this op: period_start, period_end, monthly_amount.
7753
- * Those require fact regeneration — use truncate-schedule (end early)
7754
- * and create-schedule (start new) instead.
7888
+ * UpdateSecurityOperation
7755
7889
  *
7756
- * Omitted fields are left unchanged.
7757
- */
7758
- export type UpdateScheduleRequest = {
7759
- /**
7760
- * Structure Id
7761
- */
7762
- structure_id: string;
7763
- /**
7764
- * Name
7765
- */
7766
- name?: string | null;
7767
- entry_template?: EntryTemplateRequest | null;
7768
- schedule_metadata?: ScheduleMetadataRequest | null;
7769
- };
7770
-
7771
- /**
7772
- * UpdateSecurityOperation
7773
- *
7774
- * CQRS body for `POST /operations/update-security`.
7890
+ * CQRS body for `POST /operations/update-security`.
7775
7891
  */
7776
7892
  export type UpdateSecurityOperation = {
7777
7893
  /**
@@ -7821,16 +7937,20 @@ export type UpdateSecurityOperation = {
7821
7937
  };
7822
7938
 
7823
7939
  /**
7824
- * UpdateStructureRequest
7940
+ * UpdateTaxonomyBlockRequest
7941
+ *
7942
+ * Request body for the ``update-taxonomy-block`` operation.
7825
7943
  *
7826
- * Update mutable fields on a structure. `structure_type` and
7827
- * `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.
7828
7948
  */
7829
- export type UpdateStructureRequest = {
7949
+ export type UpdateTaxonomyBlockRequest = {
7830
7950
  /**
7831
- * Structure Id
7951
+ * Taxonomy Id
7832
7952
  */
7833
- structure_id: string;
7953
+ taxonomy_id: string;
7834
7954
  /**
7835
7955
  * Name
7836
7956
  */
@@ -7839,33 +7959,58 @@ export type UpdateStructureRequest = {
7839
7959
  * Description
7840
7960
  */
7841
7961
  description?: string | null;
7842
- };
7843
-
7844
- /**
7845
- * UpdateTaxonomyRequest
7846
- *
7847
- * Update mutable fields on a taxonomy. `taxonomy_type` is immutable —
7848
- * changing it is not the same operation as editing a taxonomy; deactivate
7849
- * and create a new one instead. Only provided (non-null) fields are
7850
- * applied.
7851
- */
7852
- export type UpdateTaxonomyRequest = {
7853
7962
  /**
7854
- * Taxonomy Id
7963
+ * Version
7855
7964
  */
7856
- taxonomy_id: string;
7965
+ version?: string | null;
7857
7966
  /**
7858
- * Name
7967
+ * Elements To Add
7859
7968
  */
7860
- name?: string | null;
7969
+ elements_to_add?: Array<TaxonomyBlockElementRequest>;
7861
7970
  /**
7862
- * Description
7971
+ * Elements To Update
7863
7972
  */
7864
- description?: string | null;
7973
+ elements_to_update?: Array<ElementUpdatePatch>;
7865
7974
  /**
7866
- * Version
7975
+ * Elements To Remove
7976
+ *
7977
+ * qnames of elements to remove.
7867
7978
  */
7868
- 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>;
7869
8014
  };
7870
8015
 
7871
8016
  /**
@@ -14156,70 +14301,6 @@ export type HandleHttpPostExtensionsGraphIdGraphqlPostResponses = {
14156
14301
  200: unknown;
14157
14302
  };
14158
14303
 
14159
- export type OpUpdateEntityData = {
14160
- body: UpdateEntityRequest;
14161
- headers?: {
14162
- /**
14163
- * Idempotency-Key
14164
- */
14165
- 'Idempotency-Key'?: string | null;
14166
- };
14167
- path: {
14168
- /**
14169
- * Graph Id
14170
- */
14171
- graph_id: string;
14172
- };
14173
- query?: never;
14174
- url: '/extensions/roboledger/{graph_id}/operations/update-entity';
14175
- };
14176
-
14177
- export type OpUpdateEntityErrors = {
14178
- /**
14179
- * Invalid request
14180
- */
14181
- 400: ErrorResponse;
14182
- /**
14183
- * Authentication required
14184
- */
14185
- 401: ErrorResponse;
14186
- /**
14187
- * Access denied
14188
- */
14189
- 403: ErrorResponse;
14190
- /**
14191
- * Resource not found
14192
- */
14193
- 404: ErrorResponse;
14194
- /**
14195
- * Idempotency-Key conflict — key reused with different body
14196
- */
14197
- 409: ErrorResponse;
14198
- /**
14199
- * Validation Error
14200
- */
14201
- 422: HttpValidationError;
14202
- /**
14203
- * Rate limit exceeded
14204
- */
14205
- 429: ErrorResponse;
14206
- /**
14207
- * Internal server error
14208
- */
14209
- 500: ErrorResponse;
14210
- };
14211
-
14212
- export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
14213
-
14214
- export type OpUpdateEntityResponses = {
14215
- /**
14216
- * Successful Response
14217
- */
14218
- 200: OperationEnvelope;
14219
- };
14220
-
14221
- export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
14222
-
14223
14304
  export type OpInitializeLedgerData = {
14224
14305
  body: InitializeLedgerRequest;
14225
14306
  headers?: {
@@ -14284,328 +14365,8 @@ export type OpInitializeLedgerResponses = {
14284
14365
 
14285
14366
  export type OpInitializeLedgerResponse = OpInitializeLedgerResponses[keyof OpInitializeLedgerResponses];
14286
14367
 
14287
- export type OpSetCloseTargetData = {
14288
- body: SetCloseTargetOperation;
14289
- headers?: {
14290
- /**
14291
- * Idempotency-Key
14292
- */
14293
- 'Idempotency-Key'?: string | null;
14294
- };
14295
- path: {
14296
- /**
14297
- * Graph Id
14298
- */
14299
- graph_id: string;
14300
- };
14301
- query?: never;
14302
- url: '/extensions/roboledger/{graph_id}/operations/set-close-target';
14303
- };
14304
-
14305
- export type OpSetCloseTargetErrors = {
14306
- /**
14307
- * Invalid request
14308
- */
14309
- 400: ErrorResponse;
14310
- /**
14311
- * Authentication required
14312
- */
14313
- 401: ErrorResponse;
14314
- /**
14315
- * Access denied
14316
- */
14317
- 403: ErrorResponse;
14318
- /**
14319
- * Resource not found
14320
- */
14321
- 404: ErrorResponse;
14322
- /**
14323
- * Idempotency-Key conflict — key reused with different body
14324
- */
14325
- 409: ErrorResponse;
14326
- /**
14327
- * Validation Error
14328
- */
14329
- 422: HttpValidationError;
14330
- /**
14331
- * Rate limit exceeded
14332
- */
14333
- 429: ErrorResponse;
14334
- /**
14335
- * Internal server error
14336
- */
14337
- 500: ErrorResponse;
14338
- };
14339
-
14340
- export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
14341
-
14342
- export type OpSetCloseTargetResponses = {
14343
- /**
14344
- * Successful Response
14345
- */
14346
- 200: OperationEnvelope;
14347
- };
14348
-
14349
- export type OpSetCloseTargetResponse = OpSetCloseTargetResponses[keyof OpSetCloseTargetResponses];
14350
-
14351
- export type OpClosePeriodData = {
14352
- body: ClosePeriodOperation;
14353
- headers?: {
14354
- /**
14355
- * Idempotency-Key
14356
- */
14357
- 'Idempotency-Key'?: string | null;
14358
- };
14359
- path: {
14360
- /**
14361
- * Graph Id
14362
- */
14363
- graph_id: string;
14364
- };
14365
- query?: never;
14366
- url: '/extensions/roboledger/{graph_id}/operations/close-period';
14367
- };
14368
-
14369
- export type OpClosePeriodErrors = {
14370
- /**
14371
- * Invalid request
14372
- */
14373
- 400: ErrorResponse;
14374
- /**
14375
- * Authentication required
14376
- */
14377
- 401: ErrorResponse;
14378
- /**
14379
- * Access denied
14380
- */
14381
- 403: ErrorResponse;
14382
- /**
14383
- * Resource not found
14384
- */
14385
- 404: ErrorResponse;
14386
- /**
14387
- * Idempotency-Key conflict — key reused with different body
14388
- */
14389
- 409: ErrorResponse;
14390
- /**
14391
- * Validation Error
14392
- */
14393
- 422: HttpValidationError;
14394
- /**
14395
- * Rate limit exceeded
14396
- */
14397
- 429: ErrorResponse;
14398
- /**
14399
- * Internal server error
14400
- */
14401
- 500: ErrorResponse;
14402
- };
14403
-
14404
- export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
14405
-
14406
- export type OpClosePeriodResponses = {
14407
- /**
14408
- * Successful Response
14409
- */
14410
- 200: OperationEnvelope;
14411
- };
14412
-
14413
- export type OpClosePeriodResponse = OpClosePeriodResponses[keyof OpClosePeriodResponses];
14414
-
14415
- export type OpReopenPeriodData = {
14416
- body: ReopenPeriodOperation;
14417
- headers?: {
14418
- /**
14419
- * Idempotency-Key
14420
- */
14421
- 'Idempotency-Key'?: string | null;
14422
- };
14423
- path: {
14424
- /**
14425
- * Graph Id
14426
- */
14427
- graph_id: string;
14428
- };
14429
- query?: never;
14430
- url: '/extensions/roboledger/{graph_id}/operations/reopen-period';
14431
- };
14432
-
14433
- export type OpReopenPeriodErrors = {
14434
- /**
14435
- * Invalid request
14436
- */
14437
- 400: ErrorResponse;
14438
- /**
14439
- * Authentication required
14440
- */
14441
- 401: ErrorResponse;
14442
- /**
14443
- * Access denied
14444
- */
14445
- 403: ErrorResponse;
14446
- /**
14447
- * Resource not found
14448
- */
14449
- 404: ErrorResponse;
14450
- /**
14451
- * Idempotency-Key conflict — key reused with different body
14452
- */
14453
- 409: ErrorResponse;
14454
- /**
14455
- * Validation Error
14456
- */
14457
- 422: HttpValidationError;
14458
- /**
14459
- * Rate limit exceeded
14460
- */
14461
- 429: ErrorResponse;
14462
- /**
14463
- * Internal server error
14464
- */
14465
- 500: ErrorResponse;
14466
- };
14467
-
14468
- export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
14469
-
14470
- export type OpReopenPeriodResponses = {
14471
- /**
14472
- * Successful Response
14473
- */
14474
- 200: OperationEnvelope;
14475
- };
14476
-
14477
- export type OpReopenPeriodResponse = OpReopenPeriodResponses[keyof OpReopenPeriodResponses];
14478
-
14479
- export type OpCreateTaxonomyData = {
14480
- body: CreateTaxonomyRequest;
14481
- headers?: {
14482
- /**
14483
- * Idempotency-Key
14484
- */
14485
- 'Idempotency-Key'?: string | null;
14486
- };
14487
- path: {
14488
- /**
14489
- * Graph Id
14490
- */
14491
- graph_id: string;
14492
- };
14493
- query?: never;
14494
- url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy';
14495
- };
14496
-
14497
- export type OpCreateTaxonomyErrors = {
14498
- /**
14499
- * Invalid request
14500
- */
14501
- 400: ErrorResponse;
14502
- /**
14503
- * Authentication required
14504
- */
14505
- 401: ErrorResponse;
14506
- /**
14507
- * Access denied
14508
- */
14509
- 403: ErrorResponse;
14510
- /**
14511
- * Resource not found
14512
- */
14513
- 404: ErrorResponse;
14514
- /**
14515
- * Idempotency-Key conflict — key reused with different body
14516
- */
14517
- 409: ErrorResponse;
14518
- /**
14519
- * Validation Error
14520
- */
14521
- 422: HttpValidationError;
14522
- /**
14523
- * Rate limit exceeded
14524
- */
14525
- 429: ErrorResponse;
14526
- /**
14527
- * Internal server error
14528
- */
14529
- 500: ErrorResponse;
14530
- };
14531
-
14532
- export type OpCreateTaxonomyError = OpCreateTaxonomyErrors[keyof OpCreateTaxonomyErrors];
14533
-
14534
- export type OpCreateTaxonomyResponses = {
14535
- /**
14536
- * Successful Response
14537
- */
14538
- 200: OperationEnvelope;
14539
- };
14540
-
14541
- export type OpCreateTaxonomyResponse = OpCreateTaxonomyResponses[keyof OpCreateTaxonomyResponses];
14542
-
14543
- export type OpCreateStructureData = {
14544
- body: CreateStructureRequest;
14545
- headers?: {
14546
- /**
14547
- * Idempotency-Key
14548
- */
14549
- 'Idempotency-Key'?: string | null;
14550
- };
14551
- path: {
14552
- /**
14553
- * Graph Id
14554
- */
14555
- graph_id: string;
14556
- };
14557
- query?: never;
14558
- url: '/extensions/roboledger/{graph_id}/operations/create-structure';
14559
- };
14560
-
14561
- export type OpCreateStructureErrors = {
14562
- /**
14563
- * Invalid request
14564
- */
14565
- 400: ErrorResponse;
14566
- /**
14567
- * Authentication required
14568
- */
14569
- 401: ErrorResponse;
14570
- /**
14571
- * Access denied
14572
- */
14573
- 403: ErrorResponse;
14574
- /**
14575
- * Resource not found
14576
- */
14577
- 404: ErrorResponse;
14578
- /**
14579
- * Idempotency-Key conflict — key reused with different body
14580
- */
14581
- 409: ErrorResponse;
14582
- /**
14583
- * Validation Error
14584
- */
14585
- 422: HttpValidationError;
14586
- /**
14587
- * Rate limit exceeded
14588
- */
14589
- 429: ErrorResponse;
14590
- /**
14591
- * Internal server error
14592
- */
14593
- 500: ErrorResponse;
14594
- };
14595
-
14596
- export type OpCreateStructureError = OpCreateStructureErrors[keyof OpCreateStructureErrors];
14597
-
14598
- export type OpCreateStructureResponses = {
14599
- /**
14600
- * Successful Response
14601
- */
14602
- 200: OperationEnvelope;
14603
- };
14604
-
14605
- export type OpCreateStructureResponse = OpCreateStructureResponses[keyof OpCreateStructureResponses];
14606
-
14607
- export type OpDeleteMappingAssociationData = {
14608
- body: DeleteMappingAssociationOperation;
14368
+ export type OpUpdateEntityData = {
14369
+ body: UpdateEntityRequest;
14609
14370
  headers?: {
14610
14371
  /**
14611
14372
  * Idempotency-Key
@@ -14619,10 +14380,10 @@ export type OpDeleteMappingAssociationData = {
14619
14380
  graph_id: string;
14620
14381
  };
14621
14382
  query?: never;
14622
- url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association';
14383
+ url: '/extensions/roboledger/{graph_id}/operations/update-entity';
14623
14384
  };
14624
14385
 
14625
- export type OpDeleteMappingAssociationErrors = {
14386
+ export type OpUpdateEntityErrors = {
14626
14387
  /**
14627
14388
  * Invalid request
14628
14389
  */
@@ -14657,19 +14418,19 @@ export type OpDeleteMappingAssociationErrors = {
14657
14418
  500: ErrorResponse;
14658
14419
  };
14659
14420
 
14660
- export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
14421
+ export type OpUpdateEntityError = OpUpdateEntityErrors[keyof OpUpdateEntityErrors];
14661
14422
 
14662
- export type OpDeleteMappingAssociationResponses = {
14423
+ export type OpUpdateEntityResponses = {
14663
14424
  /**
14664
14425
  * Successful Response
14665
14426
  */
14666
14427
  200: OperationEnvelope;
14667
14428
  };
14668
14429
 
14669
- export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
14430
+ export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
14670
14431
 
14671
- export type OpUpdateTaxonomyData = {
14672
- body: UpdateTaxonomyRequest;
14432
+ export type OpCreateTaxonomyBlockData = {
14433
+ body: CreateTaxonomyBlockRequest;
14673
14434
  headers?: {
14674
14435
  /**
14675
14436
  * Idempotency-Key
@@ -14683,10 +14444,10 @@ export type OpUpdateTaxonomyData = {
14683
14444
  graph_id: string;
14684
14445
  };
14685
14446
  query?: never;
14686
- url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy';
14447
+ url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy-block';
14687
14448
  };
14688
14449
 
14689
- export type OpUpdateTaxonomyErrors = {
14450
+ export type OpCreateTaxonomyBlockErrors = {
14690
14451
  /**
14691
14452
  * Invalid request payload
14692
14453
  */
@@ -14721,19 +14482,19 @@ export type OpUpdateTaxonomyErrors = {
14721
14482
  500: unknown;
14722
14483
  };
14723
14484
 
14724
- export type OpUpdateTaxonomyError = OpUpdateTaxonomyErrors[keyof OpUpdateTaxonomyErrors];
14485
+ export type OpCreateTaxonomyBlockError = OpCreateTaxonomyBlockErrors[keyof OpCreateTaxonomyBlockErrors];
14725
14486
 
14726
- export type OpUpdateTaxonomyResponses = {
14487
+ export type OpCreateTaxonomyBlockResponses = {
14727
14488
  /**
14728
14489
  * Successful Response
14729
14490
  */
14730
14491
  200: OperationEnvelope;
14731
14492
  };
14732
14493
 
14733
- export type OpUpdateTaxonomyResponse = OpUpdateTaxonomyResponses[keyof OpUpdateTaxonomyResponses];
14494
+ export type OpCreateTaxonomyBlockResponse = OpCreateTaxonomyBlockResponses[keyof OpCreateTaxonomyBlockResponses];
14734
14495
 
14735
- export type OpDeleteTaxonomyData = {
14736
- body: DeleteTaxonomyRequest;
14496
+ export type OpUpdateTaxonomyBlockData = {
14497
+ body: UpdateTaxonomyBlockRequest;
14737
14498
  headers?: {
14738
14499
  /**
14739
14500
  * Idempotency-Key
@@ -14747,10 +14508,10 @@ export type OpDeleteTaxonomyData = {
14747
14508
  graph_id: string;
14748
14509
  };
14749
14510
  query?: never;
14750
- url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy';
14511
+ url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy-block';
14751
14512
  };
14752
14513
 
14753
- export type OpDeleteTaxonomyErrors = {
14514
+ export type OpUpdateTaxonomyBlockErrors = {
14754
14515
  /**
14755
14516
  * Invalid request payload
14756
14517
  */
@@ -14785,19 +14546,19 @@ export type OpDeleteTaxonomyErrors = {
14785
14546
  500: unknown;
14786
14547
  };
14787
14548
 
14788
- export type OpDeleteTaxonomyError = OpDeleteTaxonomyErrors[keyof OpDeleteTaxonomyErrors];
14549
+ export type OpUpdateTaxonomyBlockError = OpUpdateTaxonomyBlockErrors[keyof OpUpdateTaxonomyBlockErrors];
14789
14550
 
14790
- export type OpDeleteTaxonomyResponses = {
14551
+ export type OpUpdateTaxonomyBlockResponses = {
14791
14552
  /**
14792
14553
  * Successful Response
14793
14554
  */
14794
14555
  200: OperationEnvelope;
14795
14556
  };
14796
14557
 
14797
- export type OpDeleteTaxonomyResponse = OpDeleteTaxonomyResponses[keyof OpDeleteTaxonomyResponses];
14558
+ export type OpUpdateTaxonomyBlockResponse = OpUpdateTaxonomyBlockResponses[keyof OpUpdateTaxonomyBlockResponses];
14798
14559
 
14799
- export type OpLinkEntityTaxonomyData = {
14800
- body: LinkEntityTaxonomyRequest;
14560
+ export type OpDeleteTaxonomyBlockData = {
14561
+ body: DeleteTaxonomyBlockRequest;
14801
14562
  headers?: {
14802
14563
  /**
14803
14564
  * Idempotency-Key
@@ -14811,10 +14572,10 @@ export type OpLinkEntityTaxonomyData = {
14811
14572
  graph_id: string;
14812
14573
  };
14813
14574
  query?: never;
14814
- url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
14575
+ url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy-block';
14815
14576
  };
14816
14577
 
14817
- export type OpLinkEntityTaxonomyErrors = {
14578
+ export type OpDeleteTaxonomyBlockErrors = {
14818
14579
  /**
14819
14580
  * Invalid request payload
14820
14581
  */
@@ -14849,19 +14610,19 @@ export type OpLinkEntityTaxonomyErrors = {
14849
14610
  500: unknown;
14850
14611
  };
14851
14612
 
14852
- export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
14613
+ export type OpDeleteTaxonomyBlockError = OpDeleteTaxonomyBlockErrors[keyof OpDeleteTaxonomyBlockErrors];
14853
14614
 
14854
- export type OpLinkEntityTaxonomyResponses = {
14615
+ export type OpDeleteTaxonomyBlockResponses = {
14855
14616
  /**
14856
14617
  * Successful Response
14857
14618
  */
14858
14619
  200: OperationEnvelope;
14859
14620
  };
14860
14621
 
14861
- export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
14622
+ export type OpDeleteTaxonomyBlockResponse = OpDeleteTaxonomyBlockResponses[keyof OpDeleteTaxonomyBlockResponses];
14862
14623
 
14863
- export type OpUpdateStructureData = {
14864
- body: UpdateStructureRequest;
14624
+ export type OpLinkEntityTaxonomyData = {
14625
+ body: LinkEntityTaxonomyRequest;
14865
14626
  headers?: {
14866
14627
  /**
14867
14628
  * Idempotency-Key
@@ -14875,10 +14636,10 @@ export type OpUpdateStructureData = {
14875
14636
  graph_id: string;
14876
14637
  };
14877
14638
  query?: never;
14878
- url: '/extensions/roboledger/{graph_id}/operations/update-structure';
14639
+ url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy';
14879
14640
  };
14880
14641
 
14881
- export type OpUpdateStructureErrors = {
14642
+ export type OpLinkEntityTaxonomyErrors = {
14882
14643
  /**
14883
14644
  * Invalid request payload
14884
14645
  */
@@ -14913,19 +14674,19 @@ export type OpUpdateStructureErrors = {
14913
14674
  500: unknown;
14914
14675
  };
14915
14676
 
14916
- export type OpUpdateStructureError = OpUpdateStructureErrors[keyof OpUpdateStructureErrors];
14677
+ export type OpLinkEntityTaxonomyError = OpLinkEntityTaxonomyErrors[keyof OpLinkEntityTaxonomyErrors];
14917
14678
 
14918
- export type OpUpdateStructureResponses = {
14679
+ export type OpLinkEntityTaxonomyResponses = {
14919
14680
  /**
14920
14681
  * Successful Response
14921
14682
  */
14922
14683
  200: OperationEnvelope;
14923
14684
  };
14924
14685
 
14925
- export type OpUpdateStructureResponse = OpUpdateStructureResponses[keyof OpUpdateStructureResponses];
14686
+ export type OpLinkEntityTaxonomyResponse = OpLinkEntityTaxonomyResponses[keyof OpLinkEntityTaxonomyResponses];
14926
14687
 
14927
- export type OpDeleteStructureData = {
14928
- body: DeleteStructureRequest;
14688
+ export type OpCreateMappingAssociationData = {
14689
+ body: CreateMappingAssociationOperation;
14929
14690
  headers?: {
14930
14691
  /**
14931
14692
  * Idempotency-Key
@@ -14939,10 +14700,10 @@ export type OpDeleteStructureData = {
14939
14700
  graph_id: string;
14940
14701
  };
14941
14702
  query?: never;
14942
- url: '/extensions/roboledger/{graph_id}/operations/delete-structure';
14703
+ url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
14943
14704
  };
14944
14705
 
14945
- export type OpDeleteStructureErrors = {
14706
+ export type OpCreateMappingAssociationErrors = {
14946
14707
  /**
14947
14708
  * Invalid request payload
14948
14709
  */
@@ -14977,19 +14738,19 @@ export type OpDeleteStructureErrors = {
14977
14738
  500: unknown;
14978
14739
  };
14979
14740
 
14980
- export type OpDeleteStructureError = OpDeleteStructureErrors[keyof OpDeleteStructureErrors];
14741
+ export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
14981
14742
 
14982
- export type OpDeleteStructureResponses = {
14743
+ export type OpCreateMappingAssociationResponses = {
14983
14744
  /**
14984
14745
  * Successful Response
14985
14746
  */
14986
14747
  200: OperationEnvelope;
14987
14748
  };
14988
14749
 
14989
- export type OpDeleteStructureResponse = OpDeleteStructureResponses[keyof OpDeleteStructureResponses];
14750
+ export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
14990
14751
 
14991
- export type OpCreateElementData = {
14992
- body: CreateElementRequest;
14752
+ export type OpDeleteMappingAssociationData = {
14753
+ body: DeleteMappingAssociationOperation;
14993
14754
  headers?: {
14994
14755
  /**
14995
14756
  * Idempotency-Key
@@ -15003,30 +14764,30 @@ export type OpCreateElementData = {
15003
14764
  graph_id: string;
15004
14765
  };
15005
14766
  query?: never;
15006
- url: '/extensions/roboledger/{graph_id}/operations/create-element';
14767
+ url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association';
15007
14768
  };
15008
14769
 
15009
- export type OpCreateElementErrors = {
14770
+ export type OpDeleteMappingAssociationErrors = {
15010
14771
  /**
15011
- * Invalid request payload
14772
+ * Invalid request
15012
14773
  */
15013
- 400: OperationError;
14774
+ 400: ErrorResponse;
15014
14775
  /**
15015
- * Unauthorized — missing or invalid credentials
14776
+ * Authentication required
15016
14777
  */
15017
- 401: unknown;
14778
+ 401: ErrorResponse;
15018
14779
  /**
15019
- * Forbidden — caller cannot access this graph
14780
+ * Access denied
15020
14781
  */
15021
- 403: unknown;
14782
+ 403: ErrorResponse;
15022
14783
  /**
15023
- * Resource not found (graph, ledger, report, etc.)
14784
+ * Resource not found
15024
14785
  */
15025
- 404: OperationError;
14786
+ 404: ErrorResponse;
15026
14787
  /**
15027
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14788
+ * Idempotency-Key conflict — key reused with different body
15028
14789
  */
15029
- 409: OperationError;
14790
+ 409: ErrorResponse;
15030
14791
  /**
15031
14792
  * Validation Error
15032
14793
  */
@@ -15034,26 +14795,26 @@ export type OpCreateElementErrors = {
15034
14795
  /**
15035
14796
  * Rate limit exceeded
15036
14797
  */
15037
- 429: unknown;
14798
+ 429: ErrorResponse;
15038
14799
  /**
15039
- * Internal error
14800
+ * Internal server error
15040
14801
  */
15041
- 500: unknown;
14802
+ 500: ErrorResponse;
15042
14803
  };
15043
14804
 
15044
- export type OpCreateElementError = OpCreateElementErrors[keyof OpCreateElementErrors];
14805
+ export type OpDeleteMappingAssociationError = OpDeleteMappingAssociationErrors[keyof OpDeleteMappingAssociationErrors];
15045
14806
 
15046
- export type OpCreateElementResponses = {
14807
+ export type OpDeleteMappingAssociationResponses = {
15047
14808
  /**
15048
14809
  * Successful Response
15049
14810
  */
15050
14811
  200: OperationEnvelope;
15051
14812
  };
15052
14813
 
15053
- export type OpCreateElementResponse = OpCreateElementResponses[keyof OpCreateElementResponses];
14814
+ export type OpDeleteMappingAssociationResponse = OpDeleteMappingAssociationResponses[keyof OpDeleteMappingAssociationResponses];
15054
14815
 
15055
- export type OpUpdateElementData = {
15056
- body: UpdateElementRequest;
14816
+ export type OpAutoMapElementsData = {
14817
+ body: AutoMapElementsOperation;
15057
14818
  headers?: {
15058
14819
  /**
15059
14820
  * Idempotency-Key
@@ -15067,30 +14828,30 @@ export type OpUpdateElementData = {
15067
14828
  graph_id: string;
15068
14829
  };
15069
14830
  query?: never;
15070
- url: '/extensions/roboledger/{graph_id}/operations/update-element';
14831
+ url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
15071
14832
  };
15072
14833
 
15073
- export type OpUpdateElementErrors = {
14834
+ export type OpAutoMapElementsErrors = {
15074
14835
  /**
15075
- * Invalid request payload
14836
+ * Invalid request
15076
14837
  */
15077
- 400: OperationError;
14838
+ 400: ErrorResponse;
15078
14839
  /**
15079
- * Unauthorized — missing or invalid credentials
14840
+ * Authentication required
15080
14841
  */
15081
- 401: unknown;
14842
+ 401: ErrorResponse;
15082
14843
  /**
15083
- * Forbidden — caller cannot access this graph
14844
+ * Access denied
15084
14845
  */
15085
- 403: unknown;
14846
+ 403: ErrorResponse;
15086
14847
  /**
15087
- * Resource not found (graph, ledger, report, etc.)
14848
+ * Resource not found
15088
14849
  */
15089
- 404: OperationError;
14850
+ 404: ErrorResponse;
15090
14851
  /**
15091
- * Idempotency-Key reused with a different request body, or other operation-level conflict
14852
+ * Idempotency-Key conflict — key reused with different body
15092
14853
  */
15093
- 409: OperationError;
14854
+ 409: ErrorResponse;
15094
14855
  /**
15095
14856
  * Validation Error
15096
14857
  */
@@ -15098,26 +14859,26 @@ export type OpUpdateElementErrors = {
15098
14859
  /**
15099
14860
  * Rate limit exceeded
15100
14861
  */
15101
- 429: unknown;
14862
+ 429: ErrorResponse;
15102
14863
  /**
15103
- * Internal error
14864
+ * Internal server error
15104
14865
  */
15105
- 500: unknown;
14866
+ 500: ErrorResponse;
15106
14867
  };
15107
14868
 
15108
- export type OpUpdateElementError = OpUpdateElementErrors[keyof OpUpdateElementErrors];
14869
+ export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
15109
14870
 
15110
- export type OpUpdateElementResponses = {
14871
+ export type OpAutoMapElementsResponses = {
15111
14872
  /**
15112
14873
  * Successful Response
15113
14874
  */
15114
- 200: OperationEnvelope;
14875
+ 202: OperationEnvelope;
15115
14876
  };
15116
14877
 
15117
- export type OpUpdateElementResponse = OpUpdateElementResponses[keyof OpUpdateElementResponses];
14878
+ export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
15118
14879
 
15119
- export type OpDeleteElementData = {
15120
- body: DeleteElementRequest;
14880
+ export type OpCreateInformationBlockData = {
14881
+ body: CreateInformationBlockRequest;
15121
14882
  headers?: {
15122
14883
  /**
15123
14884
  * Idempotency-Key
@@ -15131,10 +14892,10 @@ export type OpDeleteElementData = {
15131
14892
  graph_id: string;
15132
14893
  };
15133
14894
  query?: never;
15134
- url: '/extensions/roboledger/{graph_id}/operations/delete-element';
14895
+ url: '/extensions/roboledger/{graph_id}/operations/create-information-block';
15135
14896
  };
15136
14897
 
15137
- export type OpDeleteElementErrors = {
14898
+ export type OpCreateInformationBlockErrors = {
15138
14899
  /**
15139
14900
  * Invalid request payload
15140
14901
  */
@@ -15169,19 +14930,19 @@ export type OpDeleteElementErrors = {
15169
14930
  500: unknown;
15170
14931
  };
15171
14932
 
15172
- export type OpDeleteElementError = OpDeleteElementErrors[keyof OpDeleteElementErrors];
14933
+ export type OpCreateInformationBlockError = OpCreateInformationBlockErrors[keyof OpCreateInformationBlockErrors];
15173
14934
 
15174
- export type OpDeleteElementResponses = {
14935
+ export type OpCreateInformationBlockResponses = {
15175
14936
  /**
15176
14937
  * Successful Response
15177
14938
  */
15178
14939
  200: OperationEnvelope;
15179
14940
  };
15180
14941
 
15181
- export type OpDeleteElementResponse = OpDeleteElementResponses[keyof OpDeleteElementResponses];
14942
+ export type OpCreateInformationBlockResponse = OpCreateInformationBlockResponses[keyof OpCreateInformationBlockResponses];
15182
14943
 
15183
- export type OpCreateAssociationsData = {
15184
- body: BulkCreateAssociationsRequest;
14944
+ export type OpUpdateInformationBlockData = {
14945
+ body: UpdateInformationBlockRequest;
15185
14946
  headers?: {
15186
14947
  /**
15187
14948
  * Idempotency-Key
@@ -15195,10 +14956,10 @@ export type OpCreateAssociationsData = {
15195
14956
  graph_id: string;
15196
14957
  };
15197
14958
  query?: never;
15198
- url: '/extensions/roboledger/{graph_id}/operations/create-associations';
14959
+ url: '/extensions/roboledger/{graph_id}/operations/update-information-block';
15199
14960
  };
15200
14961
 
15201
- export type OpCreateAssociationsErrors = {
14962
+ export type OpUpdateInformationBlockErrors = {
15202
14963
  /**
15203
14964
  * Invalid request payload
15204
14965
  */
@@ -15233,19 +14994,19 @@ export type OpCreateAssociationsErrors = {
15233
14994
  500: unknown;
15234
14995
  };
15235
14996
 
15236
- export type OpCreateAssociationsError = OpCreateAssociationsErrors[keyof OpCreateAssociationsErrors];
14997
+ export type OpUpdateInformationBlockError = OpUpdateInformationBlockErrors[keyof OpUpdateInformationBlockErrors];
15237
14998
 
15238
- export type OpCreateAssociationsResponses = {
14999
+ export type OpUpdateInformationBlockResponses = {
15239
15000
  /**
15240
15001
  * Successful Response
15241
15002
  */
15242
15003
  200: OperationEnvelope;
15243
15004
  };
15244
15005
 
15245
- export type OpCreateAssociationsResponse = OpCreateAssociationsResponses[keyof OpCreateAssociationsResponses];
15006
+ export type OpUpdateInformationBlockResponse = OpUpdateInformationBlockResponses[keyof OpUpdateInformationBlockResponses];
15246
15007
 
15247
- export type OpUpdateAssociationData = {
15248
- body: UpdateAssociationRequest;
15008
+ export type OpDeleteInformationBlockData = {
15009
+ body: DeleteInformationBlockRequest;
15249
15010
  headers?: {
15250
15011
  /**
15251
15012
  * Idempotency-Key
@@ -15259,10 +15020,10 @@ export type OpUpdateAssociationData = {
15259
15020
  graph_id: string;
15260
15021
  };
15261
15022
  query?: never;
15262
- url: '/extensions/roboledger/{graph_id}/operations/update-association';
15023
+ url: '/extensions/roboledger/{graph_id}/operations/delete-information-block';
15263
15024
  };
15264
15025
 
15265
- export type OpUpdateAssociationErrors = {
15026
+ export type OpDeleteInformationBlockErrors = {
15266
15027
  /**
15267
15028
  * Invalid request payload
15268
15029
  */
@@ -15297,19 +15058,19 @@ export type OpUpdateAssociationErrors = {
15297
15058
  500: unknown;
15298
15059
  };
15299
15060
 
15300
- export type OpUpdateAssociationError = OpUpdateAssociationErrors[keyof OpUpdateAssociationErrors];
15061
+ export type OpDeleteInformationBlockError = OpDeleteInformationBlockErrors[keyof OpDeleteInformationBlockErrors];
15301
15062
 
15302
- export type OpUpdateAssociationResponses = {
15063
+ export type OpDeleteInformationBlockResponses = {
15303
15064
  /**
15304
15065
  * Successful Response
15305
15066
  */
15306
15067
  200: OperationEnvelope;
15307
15068
  };
15308
15069
 
15309
- export type OpUpdateAssociationResponse = OpUpdateAssociationResponses[keyof OpUpdateAssociationResponses];
15070
+ export type OpDeleteInformationBlockResponse = OpDeleteInformationBlockResponses[keyof OpDeleteInformationBlockResponses];
15310
15071
 
15311
- export type OpDeleteAssociationData = {
15312
- body: DeleteAssociationRequest;
15072
+ export type OpEvaluateRulesData = {
15073
+ body: EvaluateRulesRequest;
15313
15074
  headers?: {
15314
15075
  /**
15315
15076
  * Idempotency-Key
@@ -15323,10 +15084,10 @@ export type OpDeleteAssociationData = {
15323
15084
  graph_id: string;
15324
15085
  };
15325
15086
  query?: never;
15326
- url: '/extensions/roboledger/{graph_id}/operations/delete-association';
15087
+ url: '/extensions/roboledger/{graph_id}/operations/evaluate-rules';
15327
15088
  };
15328
15089
 
15329
- export type OpDeleteAssociationErrors = {
15090
+ export type OpEvaluateRulesErrors = {
15330
15091
  /**
15331
15092
  * Invalid request payload
15332
15093
  */
@@ -15361,16 +15122,16 @@ export type OpDeleteAssociationErrors = {
15361
15122
  500: unknown;
15362
15123
  };
15363
15124
 
15364
- export type OpDeleteAssociationError = OpDeleteAssociationErrors[keyof OpDeleteAssociationErrors];
15125
+ export type OpEvaluateRulesError = OpEvaluateRulesErrors[keyof OpEvaluateRulesErrors];
15365
15126
 
15366
- export type OpDeleteAssociationResponses = {
15127
+ export type OpEvaluateRulesResponses = {
15367
15128
  /**
15368
15129
  * Successful Response
15369
15130
  */
15370
15131
  200: OperationEnvelope;
15371
15132
  };
15372
15133
 
15373
- export type OpDeleteAssociationResponse = OpDeleteAssociationResponses[keyof OpDeleteAssociationResponses];
15134
+ export type OpEvaluateRulesResponse = OpEvaluateRulesResponses[keyof OpEvaluateRulesResponses];
15374
15135
 
15375
15136
  export type OpCreateTransactionData = {
15376
15137
  body: CreateTransactionRequest;
@@ -15692,72 +15453,8 @@ export type OpReverseJournalEntryResponses = {
15692
15453
 
15693
15454
  export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
15694
15455
 
15695
- export type OpCreateScheduleData = {
15696
- body: CreateScheduleRequest;
15697
- headers?: {
15698
- /**
15699
- * Idempotency-Key
15700
- */
15701
- 'Idempotency-Key'?: string | null;
15702
- };
15703
- path: {
15704
- /**
15705
- * Graph Id
15706
- */
15707
- graph_id: string;
15708
- };
15709
- query?: never;
15710
- url: '/extensions/roboledger/{graph_id}/operations/create-schedule';
15711
- };
15712
-
15713
- export type OpCreateScheduleErrors = {
15714
- /**
15715
- * Invalid request payload
15716
- */
15717
- 400: OperationError;
15718
- /**
15719
- * Unauthorized — missing or invalid credentials
15720
- */
15721
- 401: unknown;
15722
- /**
15723
- * Forbidden — caller cannot access this graph
15724
- */
15725
- 403: unknown;
15726
- /**
15727
- * Resource not found (graph, ledger, report, etc.)
15728
- */
15729
- 404: OperationError;
15730
- /**
15731
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15732
- */
15733
- 409: OperationError;
15734
- /**
15735
- * Validation Error
15736
- */
15737
- 422: HttpValidationError;
15738
- /**
15739
- * Rate limit exceeded
15740
- */
15741
- 429: unknown;
15742
- /**
15743
- * Internal error
15744
- */
15745
- 500: unknown;
15746
- };
15747
-
15748
- export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
15749
-
15750
- export type OpCreateScheduleResponses = {
15751
- /**
15752
- * Successful Response
15753
- */
15754
- 200: OperationEnvelope;
15755
- };
15756
-
15757
- export type OpCreateScheduleResponse = OpCreateScheduleResponses[keyof OpCreateScheduleResponses];
15758
-
15759
- export type OpTruncateScheduleData = {
15760
- body: TruncateScheduleOperation;
15456
+ export type OpSetCloseTargetData = {
15457
+ body: SetCloseTargetOperation;
15761
15458
  headers?: {
15762
15459
  /**
15763
15460
  * Idempotency-Key
@@ -15771,30 +15468,30 @@ export type OpTruncateScheduleData = {
15771
15468
  graph_id: string;
15772
15469
  };
15773
15470
  query?: never;
15774
- url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
15471
+ url: '/extensions/roboledger/{graph_id}/operations/set-close-target';
15775
15472
  };
15776
15473
 
15777
- export type OpTruncateScheduleErrors = {
15474
+ export type OpSetCloseTargetErrors = {
15778
15475
  /**
15779
- * Invalid request payload
15476
+ * Invalid request
15780
15477
  */
15781
- 400: OperationError;
15478
+ 400: ErrorResponse;
15782
15479
  /**
15783
- * Unauthorized — missing or invalid credentials
15480
+ * Authentication required
15784
15481
  */
15785
- 401: unknown;
15482
+ 401: ErrorResponse;
15786
15483
  /**
15787
- * Forbidden — caller cannot access this graph
15484
+ * Access denied
15788
15485
  */
15789
- 403: unknown;
15486
+ 403: ErrorResponse;
15790
15487
  /**
15791
- * Resource not found (graph, ledger, report, etc.)
15488
+ * Resource not found
15792
15489
  */
15793
- 404: OperationError;
15490
+ 404: ErrorResponse;
15794
15491
  /**
15795
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15492
+ * Idempotency-Key conflict — key reused with different body
15796
15493
  */
15797
- 409: OperationError;
15494
+ 409: ErrorResponse;
15798
15495
  /**
15799
15496
  * Validation Error
15800
15497
  */
@@ -15802,23 +15499,23 @@ export type OpTruncateScheduleErrors = {
15802
15499
  /**
15803
15500
  * Rate limit exceeded
15804
15501
  */
15805
- 429: unknown;
15502
+ 429: ErrorResponse;
15806
15503
  /**
15807
- * Internal error
15504
+ * Internal server error
15808
15505
  */
15809
- 500: unknown;
15506
+ 500: ErrorResponse;
15810
15507
  };
15811
15508
 
15812
- export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
15509
+ export type OpSetCloseTargetError = OpSetCloseTargetErrors[keyof OpSetCloseTargetErrors];
15813
15510
 
15814
- export type OpTruncateScheduleResponses = {
15511
+ export type OpSetCloseTargetResponses = {
15815
15512
  /**
15816
15513
  * Successful Response
15817
15514
  */
15818
15515
  200: OperationEnvelope;
15819
15516
  };
15820
15517
 
15821
- export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
15518
+ export type OpSetCloseTargetResponse = OpSetCloseTargetResponses[keyof OpSetCloseTargetResponses];
15822
15519
 
15823
15520
  export type OpCreateClosingEntryData = {
15824
15521
  body: CreateClosingEntryOperation;
@@ -15948,8 +15645,8 @@ export type OpCreateManualClosingEntryResponses = {
15948
15645
 
15949
15646
  export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
15950
15647
 
15951
- export type OpUpdateScheduleData = {
15952
- body: UpdateScheduleRequest;
15648
+ export type OpTruncateScheduleData = {
15649
+ body: TruncateScheduleOperation;
15953
15650
  headers?: {
15954
15651
  /**
15955
15652
  * Idempotency-Key
@@ -15963,10 +15660,10 @@ export type OpUpdateScheduleData = {
15963
15660
  graph_id: string;
15964
15661
  };
15965
15662
  query?: never;
15966
- url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
15663
+ url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
15967
15664
  };
15968
15665
 
15969
- export type OpUpdateScheduleErrors = {
15666
+ export type OpTruncateScheduleErrors = {
15970
15667
  /**
15971
15668
  * Invalid request payload
15972
15669
  */
@@ -16001,19 +15698,19 @@ export type OpUpdateScheduleErrors = {
16001
15698
  500: unknown;
16002
15699
  };
16003
15700
 
16004
- export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
15701
+ export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
16005
15702
 
16006
- export type OpUpdateScheduleResponses = {
15703
+ export type OpTruncateScheduleResponses = {
16007
15704
  /**
16008
15705
  * Successful Response
16009
15706
  */
16010
15707
  200: OperationEnvelope;
16011
15708
  };
16012
15709
 
16013
- export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
15710
+ export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
16014
15711
 
16015
- export type OpDeleteScheduleData = {
16016
- body: DeleteScheduleRequest;
15712
+ export type OpDisposeScheduleData = {
15713
+ body: DisposeScheduleRequest;
16017
15714
  headers?: {
16018
15715
  /**
16019
15716
  * Idempotency-Key
@@ -16027,10 +15724,10 @@ export type OpDeleteScheduleData = {
16027
15724
  graph_id: string;
16028
15725
  };
16029
15726
  query?: never;
16030
- url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
15727
+ url: '/extensions/roboledger/{graph_id}/operations/dispose-schedule';
16031
15728
  };
16032
15729
 
16033
- export type OpDeleteScheduleErrors = {
15730
+ export type OpDisposeScheduleErrors = {
16034
15731
  /**
16035
15732
  * Invalid request payload
16036
15733
  */
@@ -16065,19 +15762,19 @@ export type OpDeleteScheduleErrors = {
16065
15762
  500: unknown;
16066
15763
  };
16067
15764
 
16068
- export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
15765
+ export type OpDisposeScheduleError = OpDisposeScheduleErrors[keyof OpDisposeScheduleErrors];
16069
15766
 
16070
- export type OpDeleteScheduleResponses = {
15767
+ export type OpDisposeScheduleResponses = {
16071
15768
  /**
16072
15769
  * Successful Response
16073
15770
  */
16074
15771
  200: OperationEnvelope;
16075
15772
  };
16076
15773
 
16077
- export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
15774
+ export type OpDisposeScheduleResponse = OpDisposeScheduleResponses[keyof OpDisposeScheduleResponses];
16078
15775
 
16079
- export type OpCreateMappingAssociationData = {
16080
- body: CreateMappingAssociationOperation;
15776
+ export type OpClosePeriodData = {
15777
+ body: ClosePeriodOperation;
16081
15778
  headers?: {
16082
15779
  /**
16083
15780
  * Idempotency-Key
@@ -16091,30 +15788,30 @@ export type OpCreateMappingAssociationData = {
16091
15788
  graph_id: string;
16092
15789
  };
16093
15790
  query?: never;
16094
- url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association';
15791
+ url: '/extensions/roboledger/{graph_id}/operations/close-period';
16095
15792
  };
16096
15793
 
16097
- export type OpCreateMappingAssociationErrors = {
15794
+ export type OpClosePeriodErrors = {
16098
15795
  /**
16099
- * Invalid request payload
15796
+ * Invalid request
16100
15797
  */
16101
- 400: OperationError;
15798
+ 400: ErrorResponse;
16102
15799
  /**
16103
- * Unauthorized — missing or invalid credentials
15800
+ * Authentication required
16104
15801
  */
16105
- 401: unknown;
15802
+ 401: ErrorResponse;
16106
15803
  /**
16107
- * Forbidden — caller cannot access this graph
15804
+ * Access denied
16108
15805
  */
16109
- 403: unknown;
15806
+ 403: ErrorResponse;
16110
15807
  /**
16111
- * Resource not found (graph, ledger, report, etc.)
15808
+ * Resource not found
16112
15809
  */
16113
- 404: OperationError;
15810
+ 404: ErrorResponse;
16114
15811
  /**
16115
- * Idempotency-Key reused with a different request body, or other operation-level conflict
15812
+ * Idempotency-Key conflict — key reused with different body
16116
15813
  */
16117
- 409: OperationError;
15814
+ 409: ErrorResponse;
16118
15815
  /**
16119
15816
  * Validation Error
16120
15817
  */
@@ -16122,26 +15819,26 @@ export type OpCreateMappingAssociationErrors = {
16122
15819
  /**
16123
15820
  * Rate limit exceeded
16124
15821
  */
16125
- 429: unknown;
15822
+ 429: ErrorResponse;
16126
15823
  /**
16127
- * Internal error
15824
+ * Internal server error
16128
15825
  */
16129
- 500: unknown;
15826
+ 500: ErrorResponse;
16130
15827
  };
16131
15828
 
16132
- export type OpCreateMappingAssociationError = OpCreateMappingAssociationErrors[keyof OpCreateMappingAssociationErrors];
15829
+ export type OpClosePeriodError = OpClosePeriodErrors[keyof OpClosePeriodErrors];
16133
15830
 
16134
- export type OpCreateMappingAssociationResponses = {
15831
+ export type OpClosePeriodResponses = {
16135
15832
  /**
16136
15833
  * Successful Response
16137
15834
  */
16138
15835
  200: OperationEnvelope;
16139
15836
  };
16140
15837
 
16141
- export type OpCreateMappingAssociationResponse = OpCreateMappingAssociationResponses[keyof OpCreateMappingAssociationResponses];
15838
+ export type OpClosePeriodResponse = OpClosePeriodResponses[keyof OpClosePeriodResponses];
16142
15839
 
16143
- export type OpAutoMapElementsData = {
16144
- body: AutoMapElementsOperation;
15840
+ export type OpReopenPeriodData = {
15841
+ body: ReopenPeriodOperation;
16145
15842
  headers?: {
16146
15843
  /**
16147
15844
  * Idempotency-Key
@@ -16155,10 +15852,10 @@ export type OpAutoMapElementsData = {
16155
15852
  graph_id: string;
16156
15853
  };
16157
15854
  query?: never;
16158
- url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements';
15855
+ url: '/extensions/roboledger/{graph_id}/operations/reopen-period';
16159
15856
  };
16160
15857
 
16161
- export type OpAutoMapElementsErrors = {
15858
+ export type OpReopenPeriodErrors = {
16162
15859
  /**
16163
15860
  * Invalid request
16164
15861
  */
@@ -16193,16 +15890,16 @@ export type OpAutoMapElementsErrors = {
16193
15890
  500: ErrorResponse;
16194
15891
  };
16195
15892
 
16196
- export type OpAutoMapElementsError = OpAutoMapElementsErrors[keyof OpAutoMapElementsErrors];
15893
+ export type OpReopenPeriodError = OpReopenPeriodErrors[keyof OpReopenPeriodErrors];
16197
15894
 
16198
- export type OpAutoMapElementsResponses = {
15895
+ export type OpReopenPeriodResponses = {
16199
15896
  /**
16200
15897
  * Successful Response
16201
15898
  */
16202
- 202: OperationEnvelope;
15899
+ 200: OperationEnvelope;
16203
15900
  };
16204
15901
 
16205
- export type OpAutoMapElementsResponse = OpAutoMapElementsResponses[keyof OpAutoMapElementsResponses];
15902
+ export type OpReopenPeriodResponse = OpReopenPeriodResponses[keyof OpReopenPeriodResponses];
16206
15903
 
16207
15904
  export type OpCreateReportData = {
16208
15905
  body: CreateReportRequest;