@robosystems/client 0.3.8 → 0.3.9

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
@@ -1561,6 +1561,35 @@ export type CreateGraphRequest = {
1561
1561
  tags?: Array<string>;
1562
1562
  };
1563
1563
 
1564
+ /**
1565
+ * CreateInformationBlockRequest
1566
+ *
1567
+ * Generic create request — discriminator + typed-at-dispatch payload.
1568
+ *
1569
+ * ``block_type`` selects the registry entry. ``payload`` is validated
1570
+ * against ``BlockTypeRegistryEntry.create_request_model`` (e.g.
1571
+ * :class:`CreateScheduleRequest` for ``block_type='schedule'``) by the
1572
+ * command dispatcher. Chosen over a Pydantic discriminated union on the
1573
+ * top-level request so adding a block type is one registry line, not a
1574
+ * union-arm edit at the request-model layer.
1575
+ */
1576
+ export type CreateInformationBlockRequest = {
1577
+ /**
1578
+ * Block Type
1579
+ *
1580
+ * Block type discriminator. Must match a registered entry in robosystems.operations.information_block.registry.REGISTRY.
1581
+ */
1582
+ block_type: string;
1583
+ /**
1584
+ * Payload
1585
+ *
1586
+ * 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.
1587
+ */
1588
+ payload?: {
1589
+ [key: string]: unknown;
1590
+ };
1591
+ };
1592
+
1564
1593
  /**
1565
1594
  * CreateJournalEntryRequest
1566
1595
  *
@@ -1839,56 +1868,6 @@ export type CreateRepositorySubscriptionRequest = {
1839
1868
  plan_name: string;
1840
1869
  };
1841
1870
 
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
1871
  /**
1893
1872
  * CreateSecurityRequest
1894
1873
  */
@@ -2657,6 +2636,31 @@ export type DeleteFileResponse = {
2657
2636
  graph_marked_stale?: boolean;
2658
2637
  };
2659
2638
 
2639
+ /**
2640
+ * DeleteInformationBlockRequest
2641
+ *
2642
+ * Generic delete request — mirrors :class:`CreateInformationBlockRequest`.
2643
+ *
2644
+ * Validated against the registry entry's ``delete_request_model``.
2645
+ * Block types that don't support deletion raise ``NotImplementedError``.
2646
+ */
2647
+ export type DeleteInformationBlockRequest = {
2648
+ /**
2649
+ * Block Type
2650
+ *
2651
+ * Block type discriminator. Must match a registered entry.
2652
+ */
2653
+ block_type: string;
2654
+ /**
2655
+ * Payload
2656
+ *
2657
+ * Block-type-specific delete payload. Typically carries just the structure_id. Shape-validated against the registry entry's `delete_request_model` at dispatch time.
2658
+ */
2659
+ payload?: {
2660
+ [key: string]: unknown;
2661
+ };
2662
+ };
2663
+
2660
2664
  /**
2661
2665
  * DeleteJournalEntryRequest
2662
2666
  *
@@ -2732,23 +2736,6 @@ export type DeleteReportOperation = {
2732
2736
  report_id: string;
2733
2737
  };
2734
2738
 
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
2739
  /**
2753
2740
  * DeleteSecurityOperation
2754
2741
  *
@@ -3262,42 +3249,6 @@ export type EnhancedFileStatusLayers = {
3262
3249
  graph: FileLayerStatus;
3263
3250
  };
3264
3251
 
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
3252
  /**
3302
3253
  * ErrorResponse
3303
3254
  *
@@ -3333,6 +3284,45 @@ export type ErrorResponse = {
3333
3284
  timestamp?: string | null;
3334
3285
  };
3335
3286
 
3287
+ /**
3288
+ * EvaluateRulesRequest
3289
+ *
3290
+ * Request body for the ``evaluate-rules`` operation (Phase delta.3).
3291
+ *
3292
+ * Runs every rule scoped to ``structure_id`` (plus element/association-
3293
+ * scoped rules for the structure's atoms), binds ``$Variable`` references
3294
+ * to facts via qname lookup, and writes one
3295
+ * :class:`VerificationResult` row per rule.
3296
+ *
3297
+ * Optional ``period_start`` / ``period_end`` narrow the fact-binding
3298
+ * window; without them the engine uses the most recent ``in_scope`` fact
3299
+ * for each element regardless of period.
3300
+ */
3301
+ export type EvaluateRulesRequest = {
3302
+ /**
3303
+ * Structure Id
3304
+ */
3305
+ structure_id: string;
3306
+ /**
3307
+ * Fact Set Id
3308
+ *
3309
+ * 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).
3310
+ */
3311
+ fact_set_id?: string | null;
3312
+ /**
3313
+ * Period Start
3314
+ *
3315
+ * Lower bound on the fact period window (inclusive).
3316
+ */
3317
+ period_start?: string | null;
3318
+ /**
3319
+ * Period End
3320
+ *
3321
+ * Upper bound on the fact period window (inclusive).
3322
+ */
3323
+ period_end?: string | null;
3324
+ };
3325
+
3336
3326
  /**
3337
3327
  * FileInfo
3338
3328
  */
@@ -6261,42 +6251,6 @@ export type SsoTokenResponse = {
6261
6251
  apps: Array<string>;
6262
6252
  };
6263
6253
 
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
6254
  /**
6301
6255
  * SchemaExportResponse
6302
6256
  *
@@ -7550,6 +7504,33 @@ export type UpdateEntityRequest = {
7550
7504
  address_country?: string | null;
7551
7505
  };
7552
7506
 
7507
+ /**
7508
+ * UpdateInformationBlockRequest
7509
+ *
7510
+ * Generic update request — mirrors :class:`CreateInformationBlockRequest`.
7511
+ *
7512
+ * Validated against the registry entry's ``update_request_model``.
7513
+ * Block types that don't support updates (e.g. the statement family,
7514
+ * whose Structures are library-seeded) surface ``NotImplementedError``
7515
+ * from their dispatch handler, which the registrar maps to HTTP 501.
7516
+ */
7517
+ export type UpdateInformationBlockRequest = {
7518
+ /**
7519
+ * Block Type
7520
+ *
7521
+ * Block type discriminator. Must match a registered entry.
7522
+ */
7523
+ block_type: string;
7524
+ /**
7525
+ * Payload
7526
+ *
7527
+ * 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.
7528
+ */
7529
+ payload?: {
7530
+ [key: string]: unknown;
7531
+ };
7532
+ };
7533
+
7553
7534
  /**
7554
7535
  * UpdateJournalEntryRequest
7555
7536
  *
@@ -7741,33 +7722,6 @@ export type UpdatePublishListOperation = {
7741
7722
  list_id: string;
7742
7723
  };
7743
7724
 
7744
- /**
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.
7755
- *
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
7725
  /**
7772
7726
  * UpdateSecurityOperation
7773
7727
  *
@@ -15692,8 +15646,8 @@ export type OpReverseJournalEntryResponses = {
15692
15646
 
15693
15647
  export type OpReverseJournalEntryResponse = OpReverseJournalEntryResponses[keyof OpReverseJournalEntryResponses];
15694
15648
 
15695
- export type OpCreateScheduleData = {
15696
- body: CreateScheduleRequest;
15649
+ export type OpTruncateScheduleData = {
15650
+ body: TruncateScheduleOperation;
15697
15651
  headers?: {
15698
15652
  /**
15699
15653
  * Idempotency-Key
@@ -15707,10 +15661,10 @@ export type OpCreateScheduleData = {
15707
15661
  graph_id: string;
15708
15662
  };
15709
15663
  query?: never;
15710
- url: '/extensions/roboledger/{graph_id}/operations/create-schedule';
15664
+ url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
15711
15665
  };
15712
15666
 
15713
- export type OpCreateScheduleErrors = {
15667
+ export type OpTruncateScheduleErrors = {
15714
15668
  /**
15715
15669
  * Invalid request payload
15716
15670
  */
@@ -15745,19 +15699,19 @@ export type OpCreateScheduleErrors = {
15745
15699
  500: unknown;
15746
15700
  };
15747
15701
 
15748
- export type OpCreateScheduleError = OpCreateScheduleErrors[keyof OpCreateScheduleErrors];
15702
+ export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
15749
15703
 
15750
- export type OpCreateScheduleResponses = {
15704
+ export type OpTruncateScheduleResponses = {
15751
15705
  /**
15752
15706
  * Successful Response
15753
15707
  */
15754
15708
  200: OperationEnvelope;
15755
15709
  };
15756
15710
 
15757
- export type OpCreateScheduleResponse = OpCreateScheduleResponses[keyof OpCreateScheduleResponses];
15711
+ export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
15758
15712
 
15759
- export type OpTruncateScheduleData = {
15760
- body: TruncateScheduleOperation;
15713
+ export type OpCreateClosingEntryData = {
15714
+ body: CreateClosingEntryOperation;
15761
15715
  headers?: {
15762
15716
  /**
15763
15717
  * Idempotency-Key
@@ -15771,10 +15725,10 @@ export type OpTruncateScheduleData = {
15771
15725
  graph_id: string;
15772
15726
  };
15773
15727
  query?: never;
15774
- url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule';
15728
+ url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
15775
15729
  };
15776
15730
 
15777
- export type OpTruncateScheduleErrors = {
15731
+ export type OpCreateClosingEntryErrors = {
15778
15732
  /**
15779
15733
  * Invalid request payload
15780
15734
  */
@@ -15809,19 +15763,19 @@ export type OpTruncateScheduleErrors = {
15809
15763
  500: unknown;
15810
15764
  };
15811
15765
 
15812
- export type OpTruncateScheduleError = OpTruncateScheduleErrors[keyof OpTruncateScheduleErrors];
15766
+ export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
15813
15767
 
15814
- export type OpTruncateScheduleResponses = {
15768
+ export type OpCreateClosingEntryResponses = {
15815
15769
  /**
15816
15770
  * Successful Response
15817
15771
  */
15818
15772
  200: OperationEnvelope;
15819
15773
  };
15820
15774
 
15821
- export type OpTruncateScheduleResponse = OpTruncateScheduleResponses[keyof OpTruncateScheduleResponses];
15775
+ export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
15822
15776
 
15823
- export type OpCreateClosingEntryData = {
15824
- body: CreateClosingEntryOperation;
15777
+ export type OpCreateManualClosingEntryData = {
15778
+ body: CreateManualClosingEntryRequest;
15825
15779
  headers?: {
15826
15780
  /**
15827
15781
  * Idempotency-Key
@@ -15835,10 +15789,10 @@ export type OpCreateClosingEntryData = {
15835
15789
  graph_id: string;
15836
15790
  };
15837
15791
  query?: never;
15838
- url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry';
15792
+ url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
15839
15793
  };
15840
15794
 
15841
- export type OpCreateClosingEntryErrors = {
15795
+ export type OpCreateManualClosingEntryErrors = {
15842
15796
  /**
15843
15797
  * Invalid request payload
15844
15798
  */
@@ -15873,19 +15827,19 @@ export type OpCreateClosingEntryErrors = {
15873
15827
  500: unknown;
15874
15828
  };
15875
15829
 
15876
- export type OpCreateClosingEntryError = OpCreateClosingEntryErrors[keyof OpCreateClosingEntryErrors];
15830
+ export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
15877
15831
 
15878
- export type OpCreateClosingEntryResponses = {
15832
+ export type OpCreateManualClosingEntryResponses = {
15879
15833
  /**
15880
15834
  * Successful Response
15881
15835
  */
15882
15836
  200: OperationEnvelope;
15883
15837
  };
15884
15838
 
15885
- export type OpCreateClosingEntryResponse = OpCreateClosingEntryResponses[keyof OpCreateClosingEntryResponses];
15839
+ export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
15886
15840
 
15887
- export type OpCreateManualClosingEntryData = {
15888
- body: CreateManualClosingEntryRequest;
15841
+ export type OpCreateInformationBlockData = {
15842
+ body: CreateInformationBlockRequest;
15889
15843
  headers?: {
15890
15844
  /**
15891
15845
  * Idempotency-Key
@@ -15899,10 +15853,10 @@ export type OpCreateManualClosingEntryData = {
15899
15853
  graph_id: string;
15900
15854
  };
15901
15855
  query?: never;
15902
- url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry';
15856
+ url: '/extensions/roboledger/{graph_id}/operations/create-information-block';
15903
15857
  };
15904
15858
 
15905
- export type OpCreateManualClosingEntryErrors = {
15859
+ export type OpCreateInformationBlockErrors = {
15906
15860
  /**
15907
15861
  * Invalid request payload
15908
15862
  */
@@ -15937,19 +15891,83 @@ export type OpCreateManualClosingEntryErrors = {
15937
15891
  500: unknown;
15938
15892
  };
15939
15893
 
15940
- export type OpCreateManualClosingEntryError = OpCreateManualClosingEntryErrors[keyof OpCreateManualClosingEntryErrors];
15894
+ export type OpCreateInformationBlockError = OpCreateInformationBlockErrors[keyof OpCreateInformationBlockErrors];
15941
15895
 
15942
- export type OpCreateManualClosingEntryResponses = {
15896
+ export type OpCreateInformationBlockResponses = {
15943
15897
  /**
15944
15898
  * Successful Response
15945
15899
  */
15946
15900
  200: OperationEnvelope;
15947
15901
  };
15948
15902
 
15949
- export type OpCreateManualClosingEntryResponse = OpCreateManualClosingEntryResponses[keyof OpCreateManualClosingEntryResponses];
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];
15950
15968
 
15951
- export type OpUpdateScheduleData = {
15952
- body: UpdateScheduleRequest;
15969
+ export type OpDeleteInformationBlockData = {
15970
+ body: DeleteInformationBlockRequest;
15953
15971
  headers?: {
15954
15972
  /**
15955
15973
  * Idempotency-Key
@@ -15963,10 +15981,10 @@ export type OpUpdateScheduleData = {
15963
15981
  graph_id: string;
15964
15982
  };
15965
15983
  query?: never;
15966
- url: '/extensions/roboledger/{graph_id}/operations/update-schedule';
15984
+ url: '/extensions/roboledger/{graph_id}/operations/delete-information-block';
15967
15985
  };
15968
15986
 
15969
- export type OpUpdateScheduleErrors = {
15987
+ export type OpDeleteInformationBlockErrors = {
15970
15988
  /**
15971
15989
  * Invalid request payload
15972
15990
  */
@@ -16001,19 +16019,19 @@ export type OpUpdateScheduleErrors = {
16001
16019
  500: unknown;
16002
16020
  };
16003
16021
 
16004
- export type OpUpdateScheduleError = OpUpdateScheduleErrors[keyof OpUpdateScheduleErrors];
16022
+ export type OpDeleteInformationBlockError = OpDeleteInformationBlockErrors[keyof OpDeleteInformationBlockErrors];
16005
16023
 
16006
- export type OpUpdateScheduleResponses = {
16024
+ export type OpDeleteInformationBlockResponses = {
16007
16025
  /**
16008
16026
  * Successful Response
16009
16027
  */
16010
16028
  200: OperationEnvelope;
16011
16029
  };
16012
16030
 
16013
- export type OpUpdateScheduleResponse = OpUpdateScheduleResponses[keyof OpUpdateScheduleResponses];
16031
+ export type OpDeleteInformationBlockResponse = OpDeleteInformationBlockResponses[keyof OpDeleteInformationBlockResponses];
16014
16032
 
16015
- export type OpDeleteScheduleData = {
16016
- body: DeleteScheduleRequest;
16033
+ export type OpEvaluateRulesData = {
16034
+ body: EvaluateRulesRequest;
16017
16035
  headers?: {
16018
16036
  /**
16019
16037
  * Idempotency-Key
@@ -16027,10 +16045,10 @@ export type OpDeleteScheduleData = {
16027
16045
  graph_id: string;
16028
16046
  };
16029
16047
  query?: never;
16030
- url: '/extensions/roboledger/{graph_id}/operations/delete-schedule';
16048
+ url: '/extensions/roboledger/{graph_id}/operations/evaluate-rules';
16031
16049
  };
16032
16050
 
16033
- export type OpDeleteScheduleErrors = {
16051
+ export type OpEvaluateRulesErrors = {
16034
16052
  /**
16035
16053
  * Invalid request payload
16036
16054
  */
@@ -16065,16 +16083,16 @@ export type OpDeleteScheduleErrors = {
16065
16083
  500: unknown;
16066
16084
  };
16067
16085
 
16068
- export type OpDeleteScheduleError = OpDeleteScheduleErrors[keyof OpDeleteScheduleErrors];
16086
+ export type OpEvaluateRulesError = OpEvaluateRulesErrors[keyof OpEvaluateRulesErrors];
16069
16087
 
16070
- export type OpDeleteScheduleResponses = {
16088
+ export type OpEvaluateRulesResponses = {
16071
16089
  /**
16072
16090
  * Successful Response
16073
16091
  */
16074
16092
  200: OperationEnvelope;
16075
16093
  };
16076
16094
 
16077
- export type OpDeleteScheduleResponse = OpDeleteScheduleResponses[keyof OpDeleteScheduleResponses];
16095
+ export type OpEvaluateRulesResponse = OpEvaluateRulesResponses[keyof OpEvaluateRulesResponses];
16078
16096
 
16079
16097
  export type OpCreateMappingAssociationData = {
16080
16098
  body: CreateMappingAssociationOperation;
@@ -1,7 +0,0 @@
1
- /**
2
- * In-scope facts for a schedule. Optional `periodStart` / `periodEnd`
3
- * narrow to a single period window. Historical facts (pre-
4
- * `closed_through` at creation time) are hidden — only in-scope rows
5
- * that drive actual closing entries are returned.
6
- */
7
- export declare const GET_SCHEDULE_FACTS: string;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GET_SCHEDULE_FACTS = void 0;
4
- const graphql_request_1 = require("graphql-request");
5
- /**
6
- * In-scope facts for a schedule. Optional `periodStart` / `periodEnd`
7
- * narrow to a single period window. Historical facts (pre-
8
- * `closed_through` at creation time) are hidden — only in-scope rows
9
- * that drive actual closing entries are returned.
10
- */
11
- exports.GET_SCHEDULE_FACTS = (0, graphql_request_1.gql) `
12
- query GetLedgerScheduleFacts($structureId: String!, $periodStart: Date, $periodEnd: Date) {
13
- scheduleFacts(structureId: $structureId, periodStart: $periodStart, periodEnd: $periodEnd) {
14
- structureId
15
- facts {
16
- elementId
17
- elementName
18
- value
19
- periodStart
20
- periodEnd
21
- }
22
- }
23
- }
24
- `;
@@ -1,22 +0,0 @@
1
- import { gql } from 'graphql-request'
2
-
3
- /**
4
- * In-scope facts for a schedule. Optional `periodStart` / `periodEnd`
5
- * narrow to a single period window. Historical facts (pre-
6
- * `closed_through` at creation time) are hidden — only in-scope rows
7
- * that drive actual closing entries are returned.
8
- */
9
- export const GET_SCHEDULE_FACTS = gql`
10
- query GetLedgerScheduleFacts($structureId: String!, $periodStart: Date, $periodEnd: Date) {
11
- scheduleFacts(structureId: $structureId, periodStart: $periodStart, periodEnd: $periodEnd) {
12
- structureId
13
- facts {
14
- elementId
15
- elementName
16
- value
17
- periodStart
18
- periodEnd
19
- }
20
- }
21
- }
22
- `
@@ -1,6 +0,0 @@
1
- /**
2
- * All active schedule structures (depreciation, amortization, accrual)
3
- * with entry template + metadata. `entryTemplate` and `scheduleMetadata`
4
- * are JSON scalars — consume as untyped dicts in the facade.
5
- */
6
- export declare const LIST_SCHEDULES: string;