@robosystems/client 1.10.1 → 1.12.0

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
@@ -166,6 +166,10 @@ export type AnalyticalStatementFactRow = {
166
166
  * Value
167
167
  */
168
168
  value?: number | null;
169
+ /**
170
+ * Start Date
171
+ */
172
+ start_date?: string | null;
169
173
  /**
170
174
  * End Date
171
175
  */
@@ -708,6 +712,12 @@ export type BackfillPlanHistoryOperation = {
708
712
  * Override the stranded-obligation gate on each reclose. Only needed when a matured classified obligation without a drafted entry exists inside the backfill window and you have decided not to draft or void it first.
709
713
  */
710
714
  allow_stranded_obligations?: boolean;
715
+ /**
716
+ * Allow Reconciling Items
717
+ *
718
+ * Override the reconciling-item gate on each reclose. Only needed when an event inside the backfill window is still flagged as changed upstream and you have decided not to resolve it first.
719
+ */
720
+ allow_reconciling_items?: boolean;
711
721
  /**
712
722
  * Restamp
713
723
  *
@@ -924,7 +934,7 @@ export type BackupResponse = {
924
934
  /**
925
935
  * Initiated By
926
936
  *
927
- * Who started this backup. 'user' is one you requested and it counts against the tier's daily backup limit; 'scheduled' is taken nightly on your behalf and does not.
937
+ * Who started this backup. 'user' is one you requested and it counts against the tier's daily backup limit; 'scheduled' is taken nightly on your behalf and does not; 'final' is the copy taken when a graph is deprovisioned, so you can still retrieve your data afterwards.
928
938
  */
929
939
  initiated_by?: string;
930
940
  /**
@@ -1659,6 +1669,12 @@ export type ClosePeriodOperation = {
1659
1669
  * Override the stranded-obligation gate — close even though matured classified obligations have no drafted closing entry, knowingly omitting those adjusting entries from the period. Prefer running promote-obligations with dispatch_handlers=true (which drafts them) or voiding the obligations instead. The override is recorded in the close audit note.
1660
1670
  */
1661
1671
  allow_stranded_obligations?: boolean;
1672
+ /**
1673
+ * Allow Reconciling Items
1674
+ *
1675
+ * Override the reconciling-item gate — close even though posted events in the period are still flagged as changed in the source system, leaving those differences undecided. The next sync will still report them, and the statements stamped by this close may disagree with the source. Prefer resolve-reconciling-item on each first. The override is recorded in the close audit note.
1676
+ */
1677
+ allow_reconciling_items?: boolean;
1662
1678
  /**
1663
1679
  * Period
1664
1680
  *
@@ -1804,9 +1820,15 @@ export type ComputeForecastResponse = {
1804
1820
  /**
1805
1821
  * Base Period
1806
1822
  *
1807
- * Seed month the walk projected from.
1823
+ * Origin month of the block's authored horizon window — where its levers are keyed from. Equal to ``anchor_period`` unless the walk re-anchored at the seam.
1808
1824
  */
1809
1825
  base_period: string;
1826
+ /**
1827
+ * Anchor Period
1828
+ *
1829
+ * Month the walk actually seeded its opening balances from. With ``base_anchor='seam'`` this advances to the newest closed month as periods close, so the first forward month rolls off real balances instead of a stale base; with ``'fixed'`` it always equals ``base_period``.
1830
+ */
1831
+ anchor_period: string;
1810
1832
  /**
1811
1833
  * Months
1812
1834
  *
@@ -2048,7 +2070,7 @@ export type ConnectionProviderInfo = {
2048
2070
  *
2049
2071
  * Provider identifier
2050
2072
  */
2051
- provider: 'sec' | 'quickbooks' | 'external';
2073
+ provider: 'quickbooks' | 'external';
2052
2074
  /**
2053
2075
  * Display Name
2054
2076
  *
@@ -2449,14 +2471,13 @@ export type CreateConnectionRequest = {
2449
2471
  *
2450
2472
  * Connection provider type
2451
2473
  */
2452
- provider: 'sec' | 'quickbooks' | 'external';
2474
+ provider: 'quickbooks' | 'external';
2453
2475
  /**
2454
2476
  * Entity Id
2455
2477
  *
2456
- * Entity identifier. Required for QuickBooks, optional for SEC (SEC creates the entity from filing data).
2478
+ * Entity identifier. Required for QuickBooks.
2457
2479
  */
2458
2480
  entity_id?: string | null;
2459
- sec_config?: SecConnectionConfig | null;
2460
2481
  quickbooks_config?: QuickBooksConnectionConfig | null;
2461
2482
  external_config?: ExternalConnectionConfig | null;
2462
2483
  };
@@ -2723,9 +2744,15 @@ export type CreateForecastRequest = {
2723
2744
  /**
2724
2745
  * Base Period
2725
2746
  *
2726
- * Seed month (``YYYY-MM``) the walk projects forward from. Defaults to the fiscal calendar's closed-through period, else the newest actual report month. Resolved and stored at create time.
2747
+ * Seed month (``YYYY-MM``) the walk projects forward from. Defaults to the fiscal calendar's closed-through period, else the newest actual report month. Resolved and stored at create time, and it never moves afterwards — every lever is keyed to a month inside ``base_period + 1 … + horizon_months``, so moving it would mean restating all of them. ``base_anchor`` decides whether the walk still *seeds* here once months close under it.
2727
2748
  */
2728
2749
  base_period?: string | null;
2750
+ /**
2751
+ * Base Anchor
2752
+ *
2753
+ * Where the walk takes its opening balances as periods close. ``seam`` (default) re-anchors on the newest closed month inside the horizon, so the scenario survives a close untouched and its first forward month rolls off real balances. ``fixed`` pins the walk to ``base_period`` — the deliberate counterfactual, whose balances are meant to diverge from actuals.
2754
+ */
2755
+ base_anchor?: 'seam' | 'fixed';
2729
2756
  /**
2730
2757
  * Levers
2731
2758
  *
@@ -3250,8 +3277,7 @@ export type CreateSubgraphRequest = {
3250
3277
  * extends a library taxonomy) and ignored otherwise.
3251
3278
  *
3252
3279
  * The library path (seeding ``reporting_standard`` rows) does NOT flow
3253
- * through this envelope — it uses a dedicated library writer that bypasses
3254
- * these caps and tenant scoping.
3280
+ * through this envelope; library content is not tenant-writable here.
3255
3281
  */
3256
3282
  export type CreateTaxonomyBlockRequest = {
3257
3283
  /**
@@ -4122,9 +4148,11 @@ export type DeleteRollforwardRequest = {
4122
4148
  *
4123
4149
  * Hard deletes the Structure, all Facts tied to it, and all
4124
4150
  * Associations tied to it. This is a permanent, irreversible
4125
- * operation. For ending a schedule early without removing history,
4126
- * fire `create-event-block(event_type='asset_disposed')` instead — the
4127
- * handler truncates the schedule + posts the disposal entry atomically.
4151
+ * operation. For ending a schedule early without removing history, use
4152
+ * `terminate-schedule` (no entry) or
4153
+ * `create-event-block(event_type='asset_disposed')` (the handler voids
4154
+ * the remaining obligation chain + posts the disposal entry atomically;
4155
+ * recognized facts stay as history).
4128
4156
  */
4129
4157
  export type DeleteScheduleRequest = {
4130
4158
  /**
@@ -4168,7 +4196,7 @@ export type DeleteSubgraphOp = {
4168
4196
  /**
4169
4197
  * Backup First
4170
4198
  *
4171
- * Create a backup before deleting
4199
+ * Take a full backup of the subgraph before deleting it. The backup is registered on the parent graph's backup list, where it can be listed and downloaded after the subgraph is gone. If the backup fails the subgraph is not deleted.
4172
4200
  */
4173
4201
  backup_first?: boolean;
4174
4202
  };
@@ -5847,6 +5875,18 @@ export type FiscalCalendarResponse = {
5847
5875
  * Sample of up to 5 stranded obligations (schedule_id, schedule_name, period, event_id) ordered by occurred_at.
5848
5876
  */
5849
5877
  stranded_obligation_sample?: Array<PendingObligationDetailResponse>;
5878
+ /**
5879
+ * Reconciling Item Count
5880
+ *
5881
+ * Posted events in or before this period whose source payload changed afterwards and that nobody has dispositioned — differences between the books and the source system. Resolve each with resolve-reconciling-item, or close over them knowingly with allow_reconciling_items.
5882
+ */
5883
+ reconciling_item_count?: number;
5884
+ /**
5885
+ * Reconciling Item Sample
5886
+ *
5887
+ * Source identifiers (or event ids) of up to 5 unresolved reconciling items, so the blocker names what is holding the close.
5888
+ */
5889
+ reconciling_item_sample?: Array<string>;
5850
5890
  /**
5851
5891
  * Last Close At
5852
5892
  */
@@ -5903,6 +5943,12 @@ export type FiscalPeriodSummary = {
5903
5943
  * Closed At
5904
5944
  */
5905
5945
  closed_at?: string | null;
5946
+ /**
5947
+ * Has Close Receipt
5948
+ *
5949
+ * Whether this period carries a close receipt. A flag rather than the receipt itself keeps the calendar listing compact; fetch the receipt from `get-period-close-status` for the period. False on open periods and on periods closed before receipts shipped.
5950
+ */
5951
+ has_close_receipt?: boolean;
5906
5952
  };
5907
5953
 
5908
5954
  /**
@@ -5940,9 +5986,15 @@ export type ForecastMechanics = {
5940
5986
  /**
5941
5987
  * Base Period
5942
5988
  *
5943
- * Seed month (``YYYY-MM``) the walk projects forward from — resolved at create time (request → fiscal calendar closed-through → newest actual report month) and stored so recompute is deterministic.
5989
+ * Origin month (``YYYY-MM``) of the authored horizon window — resolved at create time (request → fiscal calendar closed-through → newest actual report month) and stored so recompute is deterministic. Every lever, line assertion and growth rate is keyed to a month in ``base_period + 1 … base_period + horizon_months``, so this never moves on its own; ``base_anchor`` decides whether the *walk* still seeds here.
5944
5990
  */
5945
5991
  base_period: string;
5992
+ /**
5993
+ * Base Anchor
5994
+ *
5995
+ * Where the walk takes its opening balances. ``seam`` (default) re-anchors on the newest closed month at or after ``base_period``, so a scenario survives a period close without being rebuilt and its first forward month rolls off real balances. ``fixed`` pins the walk to ``base_period`` — the deliberate counterfactual (“if we had restarted in July”), whose balances diverge from actuals on purpose.
5996
+ */
5997
+ base_anchor?: 'seam' | 'fixed';
5946
5998
  /**
5947
5999
  * Levers
5948
6000
  *
@@ -8608,50 +8660,6 @@ export type LoginRequest = {
8608
8660
  password: string;
8609
8661
  };
8610
8662
 
8611
- /**
8612
- * MCPToolCall
8613
- *
8614
- * Request model for MCP tool execution.
8615
- */
8616
- export type McpToolCall = {
8617
- /**
8618
- * Name
8619
- *
8620
- * Name of the MCP tool to execute
8621
- */
8622
- name: string;
8623
- /**
8624
- * Arguments
8625
- *
8626
- * Arguments to pass to the tool
8627
- */
8628
- arguments?: {
8629
- [key: string]: unknown;
8630
- };
8631
- };
8632
-
8633
- /**
8634
- * MCPToolsResponse
8635
- *
8636
- * Response model for MCP tools listing.
8637
- */
8638
- export type McpToolsResponse = {
8639
- /**
8640
- * Tools
8641
- *
8642
- * List of available MCP tools with their schemas
8643
- */
8644
- tools: Array<{
8645
- [key: string]: unknown;
8646
- }>;
8647
- /**
8648
- * Instructions
8649
- *
8650
- * Per-graph routing guidance for MCP clients, tailored to the graph's category and live tool set. Clients should pass this to the MCP server's `instructions` handshake field so it is always in the agent's context.
8651
- */
8652
- instructions?: string | null;
8653
- };
8654
-
8655
8663
  /**
8656
8664
  * MaterializeOp
8657
8665
  *
@@ -8999,6 +9007,88 @@ export type OAuthCallbackResponse = {
8999
9007
  auto_sync_task_id?: string | null;
9000
9008
  };
9001
9009
 
9010
+ /**
9011
+ * OAuthGrantInfo
9012
+ *
9013
+ * A connected app: one OAuth consent for one client on one graph.
9014
+ */
9015
+ export type OAuthGrantInfo = {
9016
+ /**
9017
+ * Id
9018
+ *
9019
+ * Grant ID
9020
+ */
9021
+ id: string;
9022
+ /**
9023
+ * Client Name
9024
+ *
9025
+ * The connected client's display name
9026
+ */
9027
+ client_name: string;
9028
+ /**
9029
+ * Client Uri
9030
+ *
9031
+ * The client's homepage, if declared
9032
+ */
9033
+ client_uri?: string | null;
9034
+ /**
9035
+ * Client Is Trusted
9036
+ *
9037
+ * Whether the client is on the trusted list (pre-registered, or a known metadata-document host). Untrusted clients registered themselves.
9038
+ */
9039
+ client_is_trusted: boolean;
9040
+ /**
9041
+ * Graph Id
9042
+ *
9043
+ * The one graph this consent reaches
9044
+ */
9045
+ graph_id: string;
9046
+ /**
9047
+ * Graph Name
9048
+ *
9049
+ * The graph's display name, when the graph still exists
9050
+ */
9051
+ graph_name?: string | null;
9052
+ /**
9053
+ * Resource
9054
+ *
9055
+ * The MCP URL the grant's tokens are bound to (their audience)
9056
+ */
9057
+ resource: string;
9058
+ /**
9059
+ * Scope
9060
+ *
9061
+ * Granted scopes, space-separated
9062
+ */
9063
+ scope: string;
9064
+ /**
9065
+ * Created At
9066
+ *
9067
+ * When the user consented
9068
+ */
9069
+ created_at: string;
9070
+ /**
9071
+ * Last Used At
9072
+ *
9073
+ * Last token use, if any
9074
+ */
9075
+ last_used_at?: string | null;
9076
+ };
9077
+
9078
+ /**
9079
+ * OAuthGrantsResponse
9080
+ *
9081
+ * Response model for listing connected apps.
9082
+ */
9083
+ export type OAuthGrantsResponse = {
9084
+ /**
9085
+ * Grants
9086
+ *
9087
+ * Active OAuth grants, newest first
9088
+ */
9089
+ grants: Array<OAuthGrantInfo>;
9090
+ };
9091
+
9002
9092
  /**
9003
9093
  * OAuthInitRequest
9004
9094
  *
@@ -10704,6 +10794,52 @@ export type OperationEnvelopePublishListResponse = {
10704
10794
  idempotentReplay?: boolean;
10705
10795
  };
10706
10796
 
10797
+ /**
10798
+ * OperationEnvelope[ReconcilingItemPlan]
10799
+ */
10800
+ export type OperationEnvelopeReconcilingItemPlan = {
10801
+ /**
10802
+ * Operation
10803
+ *
10804
+ * Kebab-case operation name
10805
+ */
10806
+ operation: string;
10807
+ /**
10808
+ * Operationid
10809
+ *
10810
+ * op_-prefixed ULID for audit and SSE correlation
10811
+ */
10812
+ operationId: string;
10813
+ /**
10814
+ * Status
10815
+ *
10816
+ * Operation lifecycle state
10817
+ */
10818
+ status: 'completed' | 'pending' | 'failed';
10819
+ /**
10820
+ * Command-specific result payload
10821
+ */
10822
+ result?: ReconcilingItemPlan | null;
10823
+ /**
10824
+ * At
10825
+ *
10826
+ * ISO-8601 UTC timestamp
10827
+ */
10828
+ at: string;
10829
+ /**
10830
+ * Createdby
10831
+ *
10832
+ * User ID that initiated the operation (null for legacy callers)
10833
+ */
10834
+ createdBy?: string | null;
10835
+ /**
10836
+ * Idempotentreplay
10837
+ *
10838
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
10839
+ */
10840
+ idempotentReplay?: boolean;
10841
+ };
10842
+
10707
10843
  /**
10708
10844
  * OperationEnvelope[ReportResponse]
10709
10845
  */
@@ -10750,6 +10886,52 @@ export type OperationEnvelopeReportResponse = {
10750
10886
  idempotentReplay?: boolean;
10751
10887
  };
10752
10888
 
10889
+ /**
10890
+ * OperationEnvelope[ResolveReconcilingItemResponse]
10891
+ */
10892
+ export type OperationEnvelopeResolveReconcilingItemResponse = {
10893
+ /**
10894
+ * Operation
10895
+ *
10896
+ * Kebab-case operation name
10897
+ */
10898
+ operation: string;
10899
+ /**
10900
+ * Operationid
10901
+ *
10902
+ * op_-prefixed ULID for audit and SSE correlation
10903
+ */
10904
+ operationId: string;
10905
+ /**
10906
+ * Status
10907
+ *
10908
+ * Operation lifecycle state
10909
+ */
10910
+ status: 'completed' | 'pending' | 'failed';
10911
+ /**
10912
+ * Command-specific result payload
10913
+ */
10914
+ result?: ResolveReconcilingItemResponse | null;
10915
+ /**
10916
+ * At
10917
+ *
10918
+ * ISO-8601 UTC timestamp
10919
+ */
10920
+ at: string;
10921
+ /**
10922
+ * Createdby
10923
+ *
10924
+ * User ID that initiated the operation (null for legacy callers)
10925
+ */
10926
+ createdBy?: string | null;
10927
+ /**
10928
+ * Idempotentreplay
10929
+ *
10930
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
10931
+ */
10932
+ idempotentReplay?: boolean;
10933
+ };
10934
+
10753
10935
  /**
10754
10936
  * OperationEnvelope[RevokeReportShareResponse]
10755
10937
  */
@@ -10980,6 +11162,52 @@ export type OperationEnvelopeTaxonomyBlockEnvelope = {
10980
11162
  idempotentReplay?: boolean;
10981
11163
  };
10982
11164
 
11165
+ /**
11166
+ * OperationEnvelope[TerminateScheduleResponse]
11167
+ */
11168
+ export type OperationEnvelopeTerminateScheduleResponse = {
11169
+ /**
11170
+ * Operation
11171
+ *
11172
+ * Kebab-case operation name
11173
+ */
11174
+ operation: string;
11175
+ /**
11176
+ * Operationid
11177
+ *
11178
+ * op_-prefixed ULID for audit and SSE correlation
11179
+ */
11180
+ operationId: string;
11181
+ /**
11182
+ * Status
11183
+ *
11184
+ * Operation lifecycle state
11185
+ */
11186
+ status: 'completed' | 'pending' | 'failed';
11187
+ /**
11188
+ * Command-specific result payload
11189
+ */
11190
+ result?: TerminateScheduleResponse | null;
11191
+ /**
11192
+ * At
11193
+ *
11194
+ * ISO-8601 UTC timestamp
11195
+ */
11196
+ at: string;
11197
+ /**
11198
+ * Createdby
11199
+ *
11200
+ * User ID that initiated the operation (null for legacy callers)
11201
+ */
11202
+ createdBy?: string | null;
11203
+ /**
11204
+ * Idempotentreplay
11205
+ *
11206
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
11207
+ */
11208
+ idempotentReplay?: boolean;
11209
+ };
11210
+
10983
11211
  /**
10984
11212
  * OperationEnvelope[ViewResponse]
10985
11213
  */
@@ -11432,6 +11660,12 @@ export type OrgInvitationResponse = {
11432
11660
  * Is Expired
11433
11661
  */
11434
11662
  is_expired: boolean;
11663
+ /**
11664
+ * Token
11665
+ *
11666
+ * Test-support only: the raw invite token. Populated ONLY when AUTH_INVITE_TOKEN_IN_RESPONSE is enabled in a non-production environment; always null in production. Lets automated authorization tests complete the invite -> register flow without email interception.
11667
+ */
11668
+ token?: string | null;
11435
11669
  };
11436
11670
 
11437
11671
  /**
@@ -12551,6 +12785,20 @@ export type PreviewEventBlockResponse = {
12551
12785
  };
12552
12786
  };
12553
12787
 
12788
+ /**
12789
+ * PreviewReconcilingItemRequest
12790
+ *
12791
+ * Read what changed on a reconciling item, and what resolving it would do.
12792
+ */
12793
+ export type PreviewReconcilingItemRequest = {
12794
+ /**
12795
+ * Event Id
12796
+ *
12797
+ * Event id (evt_ prefixed) to inspect
12798
+ */
12799
+ event_id: string;
12800
+ };
12801
+
12554
12802
  /**
12555
12803
  * PromoteObligationsRequest
12556
12804
  *
@@ -12825,13 +13073,241 @@ export type RebuildScheduleRequest = {
12825
13073
  };
12826
13074
 
12827
13075
  /**
12828
- * RecoveryCodesRequest
13076
+ * ReconcilingItemCatchUp
12829
13077
  *
12830
- * Re-authentication proof for regenerating recovery codes.
13078
+ * The catch-up entry a resolution posted.
12831
13079
  */
12832
- export type RecoveryCodesRequest = {
13080
+ export type ReconcilingItemCatchUp = {
12833
13081
  /**
12834
- * Password
13082
+ * Event Id
13083
+ */
13084
+ event_id: string;
13085
+ /**
13086
+ * Entry Id
13087
+ */
13088
+ entry_id?: string | null;
13089
+ /**
13090
+ * Transaction Id
13091
+ */
13092
+ transaction_id?: string | null;
13093
+ /**
13094
+ * Posting Date
13095
+ */
13096
+ posting_date: string;
13097
+ /**
13098
+ * Status
13099
+ */
13100
+ status: string;
13101
+ };
13102
+
13103
+ /**
13104
+ * ReconcilingItemDeltaLine
13105
+ *
13106
+ * One account's net change between the posted entries and the new payload.
13107
+ *
13108
+ * Amounts are signed minor units in debit-positive convention: a positive
13109
+ * figure is a net debit, a negative one a net credit. ``delta`` is what a
13110
+ * catch-up entry would post to bring the books level.
13111
+ */
13112
+ export type ReconcilingItemDeltaLine = {
13113
+ /**
13114
+ * Element Id
13115
+ *
13116
+ * CoA element id; null when the account is unmapped
13117
+ */
13118
+ element_id?: string | null;
13119
+ /**
13120
+ * Element External Id
13121
+ *
13122
+ * Source-system account id, when the line carried one
13123
+ */
13124
+ element_external_id?: string | null;
13125
+ /**
13126
+ * Element Code
13127
+ *
13128
+ * Account code
13129
+ */
13130
+ element_code?: string | null;
13131
+ /**
13132
+ * Element Name
13133
+ *
13134
+ * Account name
13135
+ */
13136
+ element_name?: string | null;
13137
+ /**
13138
+ * Prior Net
13139
+ *
13140
+ * Net of the posted entries, debit-positive
13141
+ */
13142
+ prior_net: number;
13143
+ /**
13144
+ * Accepted Net
13145
+ *
13146
+ * Net of the new payload, debit-positive
13147
+ */
13148
+ accepted_net: number;
13149
+ /**
13150
+ * Delta
13151
+ *
13152
+ * accepted_net - prior_net
13153
+ */
13154
+ delta: number;
13155
+ };
13156
+
13157
+ /**
13158
+ * ReconcilingItemEntrySummary
13159
+ *
13160
+ * One entry on either side of the comparison.
13161
+ */
13162
+ export type ReconcilingItemEntrySummary = {
13163
+ /**
13164
+ * Entry Id
13165
+ *
13166
+ * Entry id; null for the accepted side, which is not posted yet
13167
+ */
13168
+ entry_id?: string | null;
13169
+ /**
13170
+ * External Id
13171
+ */
13172
+ external_id?: string | null;
13173
+ /**
13174
+ * Posting Date
13175
+ */
13176
+ posting_date?: string | null;
13177
+ /**
13178
+ * Memo
13179
+ */
13180
+ memo?: string | null;
13181
+ /**
13182
+ * Status
13183
+ *
13184
+ * Entry status; null on the accepted side
13185
+ */
13186
+ status?: string | null;
13187
+ /**
13188
+ * Total Debit
13189
+ */
13190
+ total_debit?: number;
13191
+ /**
13192
+ * Total Credit
13193
+ */
13194
+ total_credit?: number;
13195
+ };
13196
+
13197
+ /**
13198
+ * ReconcilingItemPlan
13199
+ *
13200
+ * What changed upstream, and what each disposition would do about it.
13201
+ */
13202
+ export type ReconcilingItemPlan = {
13203
+ /**
13204
+ * Event Id
13205
+ */
13206
+ event_id: string;
13207
+ /**
13208
+ * External Id
13209
+ */
13210
+ external_id?: string | null;
13211
+ /**
13212
+ * Source
13213
+ */
13214
+ source: string;
13215
+ /**
13216
+ * Event Type
13217
+ */
13218
+ event_type: string;
13219
+ /**
13220
+ * Event Status
13221
+ */
13222
+ event_status: string;
13223
+ /**
13224
+ * Drift Detected At
13225
+ *
13226
+ * When the sync first saw this difference
13227
+ */
13228
+ drift_detected_at?: string | null;
13229
+ /**
13230
+ * Default Disposition
13231
+ *
13232
+ * What resolve would do with no disposition given: restate while every affected period is open, catch_up once one is closed.
13233
+ */
13234
+ default_disposition: 'restate' | 'catch_up' | 'acknowledge';
13235
+ /**
13236
+ * Default Posting Date
13237
+ *
13238
+ * Where a catch-up entry would land by default
13239
+ */
13240
+ default_posting_date?: string | null;
13241
+ /**
13242
+ * Affected Posting Dates
13243
+ *
13244
+ * Posting dates of the event's entries
13245
+ */
13246
+ affected_posting_dates?: Array<string>;
13247
+ /**
13248
+ * Closed Periods
13249
+ *
13250
+ * Names of closed periods the event's entries sit in
13251
+ */
13252
+ closed_periods?: Array<string>;
13253
+ /**
13254
+ * Prior Entries
13255
+ */
13256
+ prior_entries?: Array<ReconcilingItemEntrySummary>;
13257
+ /**
13258
+ * Accepted Entries
13259
+ */
13260
+ accepted_entries?: Array<ReconcilingItemEntrySummary>;
13261
+ /**
13262
+ * Delta
13263
+ *
13264
+ * Per-account net change; empty when none
13265
+ */
13266
+ delta?: Array<ReconcilingItemDeltaLine>;
13267
+ /**
13268
+ * No Gl Effect
13269
+ *
13270
+ * The change moves no money — a memo or reference edit. catch_up posts nothing; restate still regenerates so the entries carry the new text.
13271
+ */
13272
+ no_gl_effect?: boolean;
13273
+ /**
13274
+ * Restate Blockers
13275
+ *
13276
+ * Why restate is unavailable, if it is: a closed period, an entry that was reversed or is not posted, or entries from elsewhere sharing this event's transaction.
13277
+ */
13278
+ restate_blockers?: Array<string>;
13279
+ /**
13280
+ * Unmapped Element External Ids
13281
+ *
13282
+ * Accounts in the new payload with no mapping in this graph. Both dispositions that write need them mapped first.
13283
+ */
13284
+ unmapped_element_external_ids?: Array<string>;
13285
+ };
13286
+
13287
+ /**
13288
+ * ReconcilingItemRegenerated
13289
+ *
13290
+ * The entries a restate rebuilt.
13291
+ */
13292
+ export type ReconcilingItemRegenerated = {
13293
+ /**
13294
+ * Transaction Ids
13295
+ */
13296
+ transaction_ids?: Array<string>;
13297
+ /**
13298
+ * Entry Ids
13299
+ */
13300
+ entry_ids?: Array<string>;
13301
+ };
13302
+
13303
+ /**
13304
+ * RecoveryCodesRequest
13305
+ *
13306
+ * Re-authentication proof for regenerating recovery codes.
13307
+ */
13308
+ export type RecoveryCodesRequest = {
13309
+ /**
13310
+ * Password
12835
13311
  *
12836
13312
  * Current password (password-holding users)
12837
13313
  */
@@ -13414,6 +13890,102 @@ export type ResetPasswordValidateResponse = {
13414
13890
  email?: string | null;
13415
13891
  };
13416
13892
 
13893
+ /**
13894
+ * ResolveReconcilingItemRequest
13895
+ *
13896
+ * Dispose of one reconciling item and clear its flag.
13897
+ */
13898
+ export type ResolveReconcilingItemRequest = {
13899
+ /**
13900
+ * Event Id
13901
+ *
13902
+ * Event id (evt_ prefixed) to resolve
13903
+ */
13904
+ event_id: string;
13905
+ /**
13906
+ * Disposition
13907
+ *
13908
+ * How to dispose of the difference. Omit to take the default the preview reports: restate when every period the event touches is open, catch_up when any is closed.
13909
+ */
13910
+ disposition?: 'restate' | 'catch_up' | 'acknowledge' | null;
13911
+ /**
13912
+ * Posting Date
13913
+ *
13914
+ * catch_up only: when to post the catch-up entry. Defaults to the end of the earliest open period.
13915
+ */
13916
+ posting_date?: string | null;
13917
+ /**
13918
+ * Status
13919
+ *
13920
+ * catch_up only: whether the catch-up entry is drafted for review at close (default) or posted immediately. A draft appears in list-period-drafts and posts locally when the period closes.
13921
+ */
13922
+ status?: 'draft' | 'posted';
13923
+ /**
13924
+ * Note
13925
+ *
13926
+ * Why this disposition. Required for acknowledge, where it is the only record of what was done instead.
13927
+ */
13928
+ note?: string | null;
13929
+ /**
13930
+ * Reference Event Id
13931
+ *
13932
+ * acknowledge only: the event that already handled this difference (e.g. an alignment entry authored by hand), recorded on the trail.
13933
+ */
13934
+ reference_event_id?: string | null;
13935
+ };
13936
+
13937
+ /**
13938
+ * ResolveReconcilingItemResponse
13939
+ *
13940
+ * The outcome of resolving one reconciling item.
13941
+ */
13942
+ export type ResolveReconcilingItemResponse = {
13943
+ /**
13944
+ * Event Id
13945
+ */
13946
+ event_id: string;
13947
+ /**
13948
+ * External Id
13949
+ */
13950
+ external_id?: string | null;
13951
+ /**
13952
+ * Disposition
13953
+ */
13954
+ disposition: 'restate' | 'catch_up' | 'acknowledge';
13955
+ /**
13956
+ * Delta
13957
+ */
13958
+ delta?: Array<ReconcilingItemDeltaLine>;
13959
+ /**
13960
+ * No Gl Effect
13961
+ */
13962
+ no_gl_effect?: boolean;
13963
+ /**
13964
+ * Present when the disposition posted a catch-up entry
13965
+ */
13966
+ catch_up?: ReconcilingItemCatchUp | null;
13967
+ /**
13968
+ * Present when the disposition rebuilt the event's entries
13969
+ */
13970
+ regenerated?: ReconcilingItemRegenerated | null;
13971
+ /**
13972
+ * Reference Event Id
13973
+ */
13974
+ reference_event_id?: string | null;
13975
+ /**
13976
+ * Note
13977
+ */
13978
+ note?: string | null;
13979
+ /**
13980
+ * Resolved At
13981
+ */
13982
+ resolved_at: string;
13983
+ /**
13984
+ * Resolved By
13985
+ */
13986
+ resolved_by: string;
13987
+ };
13988
+
13417
13989
  /**
13418
13990
  * ResolvedReportInfo
13419
13991
  *
@@ -13668,20 +14240,6 @@ export type RuleVariableLite = {
13668
14240
  variable_element_id?: string | null;
13669
14241
  };
13670
14242
 
13671
- /**
13672
- * SECConnectionConfig
13673
- *
13674
- * SEC-specific connection configuration.
13675
- */
13676
- export type SecConnectionConfig = {
13677
- /**
13678
- * Cik
13679
- *
13680
- * SEC Central Index Key
13681
- */
13682
- cik: string;
13683
- };
13684
-
13685
14243
  /**
13686
14244
  * SSOCompleteRequest
13687
14245
  *
@@ -15734,6 +16292,78 @@ export type TaxonomyBlockStructureRequest = {
15734
16292
  };
15735
16293
  };
15736
16294
 
16295
+ /**
16296
+ * TerminateScheduleRequest
16297
+ *
16298
+ * End a schedule early at a month-end cutoff — no entry is booked.
16299
+ *
16300
+ * The no-entry half of schedule retirement, for terminations whose GL
16301
+ * effect is already booked (an asset transferred via a manual journal
16302
+ * entry, a prepaid refunded in the source system) or where none is
16303
+ * wanted. In one transaction: deletes forward facts past the cutoff,
16304
+ * voids the remaining obligation chain past it (pending and classified
16305
+ * rows), and rewrites the SumEquals rule to prove the truncated curve.
16306
+ * History at or before the cutoff is untouched.
16307
+ *
16308
+ * When the derecognition entry still needs to be booked, use
16309
+ * `create-event-block(event_type='asset_disposed')` instead — the
16310
+ * disposal handler posts it atomically with the same obligation void.
16311
+ */
16312
+ export type TerminateScheduleRequest = {
16313
+ /**
16314
+ * Structure Id
16315
+ *
16316
+ * The schedule structure to terminate.
16317
+ */
16318
+ structure_id: string;
16319
+ /**
16320
+ * New End Date
16321
+ *
16322
+ * Last date the schedule covers — must be the last day of a month (schedule facts are whole-month). Facts and obligations for periods starting after this date are removed/voided.
16323
+ */
16324
+ new_end_date: string;
16325
+ /**
16326
+ * Reason
16327
+ *
16328
+ * Why the schedule is ending early — captured in the audit log.
16329
+ */
16330
+ reason: string;
16331
+ };
16332
+
16333
+ /**
16334
+ * TerminateScheduleResponse
16335
+ */
16336
+ export type TerminateScheduleResponse = {
16337
+ /**
16338
+ * Structure Id
16339
+ */
16340
+ structure_id: string;
16341
+ /**
16342
+ * Name
16343
+ */
16344
+ name: string;
16345
+ /**
16346
+ * New End Date
16347
+ */
16348
+ new_end_date: string;
16349
+ /**
16350
+ * Facts Deleted
16351
+ */
16352
+ facts_deleted: number;
16353
+ /**
16354
+ * Obligations Voided
16355
+ */
16356
+ obligations_voided: number;
16357
+ /**
16358
+ * Rule Updated
16359
+ */
16360
+ rule_updated: boolean;
16361
+ /**
16362
+ * Reason
16363
+ */
16364
+ reason: string;
16365
+ };
16366
+
15737
16367
  /**
15738
16368
  * TierCapacity
15739
16369
  *
@@ -15755,7 +16385,7 @@ export type TierCapacity = {
15755
16385
  /**
15756
16386
  * Status
15757
16387
  *
15758
- * Capacity status: ready, scalable, or at_capacity
16388
+ * Capacity status: ready or at_capacity
15759
16389
  */
15760
16390
  status: string;
15761
16391
  /**
@@ -16377,6 +17007,12 @@ export type UpdateForecastRequest = {
16377
17007
  * Base Period
16378
17008
  */
16379
17009
  base_period?: string | null;
17010
+ /**
17011
+ * Base Anchor
17012
+ *
17013
+ * Switch the walk between seam-anchored (default) and pinned to ``base_period``. Changes nothing about the authored window, so unlike ``base_period`` it needs no levers re-supplied.
17014
+ */
17015
+ base_anchor?: 'seam' | 'fixed' | null;
16380
17016
  /**
16381
17017
  * Levers
16382
17018
  *
@@ -16708,9 +17344,11 @@ export type UpdateRollforwardRequest = {
16708
17344
  * Structure row / its metadata_ JSONB column).
16709
17345
  *
16710
17346
  * NOT editable via this op: period_start, period_end, monthly_amount.
16711
- * Those require fact regeneration — fire an event block that terminates
16712
- * the schedule (e.g., `asset_disposed`) and create a fresh schedule via
16713
- * `create-information-block` (`block_type='schedule'`).
17347
+ * Those require fact regeneration — end the schedule early via
17348
+ * `terminate-schedule` (no entry) or
17349
+ * `create-event-block(event_type='asset_disposed')` (with a disposal
17350
+ * entry), then create a fresh schedule via `create-information-block`
17351
+ * (`block_type='schedule'`).
16714
17352
  *
16715
17353
  * Omitted fields are left unchanged.
16716
17354
  */
@@ -16878,6 +17516,10 @@ export type UpdateTaxonomyBlockRequest = {
16878
17516
  * UpdateUserRequest
16879
17517
  *
16880
17518
  * Request model for updating user profile.
17519
+ *
17520
+ * Changing ``email`` re-authenticates: a fresh proof (password re-entry or a
17521
+ * ``mgmt``-flow passkey assertion) must accompany the request, exactly as
17522
+ * passkey enrollment and removal require. Name-only updates need no proof.
16881
17523
  */
16882
17524
  export type UpdateUserRequest = {
16883
17525
  /**
@@ -16892,6 +17534,20 @@ export type UpdateUserRequest = {
16892
17534
  * User's email address
16893
17535
  */
16894
17536
  email?: string | null;
17537
+ /**
17538
+ * Reauth Password
17539
+ *
17540
+ * Password re-entry, required to change email for a password-holding account
17541
+ */
17542
+ reauth_password?: string | null;
17543
+ /**
17544
+ * Reauth Assertion
17545
+ *
17546
+ * A fresh mgmt-flow passkey assertion, required to change email for a passkey-only account
17547
+ */
17548
+ reauth_assertion?: {
17549
+ [key: string]: unknown;
17550
+ } | null;
16895
17551
  };
16896
17552
 
16897
17553
  /**
@@ -19061,6 +19717,101 @@ export type UpdateUserApiKeyResponses = {
19061
19717
 
19062
19718
  export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
19063
19719
 
19720
+ export type ListUserOAuthGrantsData = {
19721
+ body?: never;
19722
+ path?: never;
19723
+ query?: never;
19724
+ url: '/v1/user/oauth/grants';
19725
+ };
19726
+
19727
+ export type ListUserOAuthGrantsErrors = {
19728
+ /**
19729
+ * Invalid request
19730
+ */
19731
+ 400: ErrorResponse;
19732
+ /**
19733
+ * Authentication required
19734
+ */
19735
+ 401: ErrorResponse;
19736
+ /**
19737
+ * Access denied
19738
+ */
19739
+ 403: ErrorResponse;
19740
+ /**
19741
+ * Rate limit exceeded
19742
+ */
19743
+ 429: ErrorResponse;
19744
+ /**
19745
+ * Internal server error
19746
+ */
19747
+ 500: ErrorResponse;
19748
+ };
19749
+
19750
+ export type ListUserOAuthGrantsError = ListUserOAuthGrantsErrors[keyof ListUserOAuthGrantsErrors];
19751
+
19752
+ export type ListUserOAuthGrantsResponses = {
19753
+ /**
19754
+ * Successful Response
19755
+ */
19756
+ 200: OAuthGrantsResponse;
19757
+ };
19758
+
19759
+ export type ListUserOAuthGrantsResponse = ListUserOAuthGrantsResponses[keyof ListUserOAuthGrantsResponses];
19760
+
19761
+ export type RevokeUserOAuthGrantData = {
19762
+ body?: never;
19763
+ path: {
19764
+ /**
19765
+ * Grant Id
19766
+ */
19767
+ grant_id: string;
19768
+ };
19769
+ query?: never;
19770
+ url: '/v1/user/oauth/grants/{grant_id}';
19771
+ };
19772
+
19773
+ export type RevokeUserOAuthGrantErrors = {
19774
+ /**
19775
+ * Invalid request
19776
+ */
19777
+ 400: ErrorResponse;
19778
+ /**
19779
+ * Authentication required
19780
+ */
19781
+ 401: ErrorResponse;
19782
+ /**
19783
+ * Access denied
19784
+ */
19785
+ 403: ErrorResponse;
19786
+ /**
19787
+ * Resource not found
19788
+ */
19789
+ 404: ErrorResponse;
19790
+ /**
19791
+ * Validation Error
19792
+ */
19793
+ 422: HttpValidationError;
19794
+ /**
19795
+ * Rate limit exceeded
19796
+ */
19797
+ 429: ErrorResponse;
19798
+ /**
19799
+ * Internal server error
19800
+ */
19801
+ 500: ErrorResponse;
19802
+ };
19803
+
19804
+ export type RevokeUserOAuthGrantError = RevokeUserOAuthGrantErrors[keyof RevokeUserOAuthGrantErrors];
19805
+
19806
+ export type RevokeUserOAuthGrantResponses = {
19807
+ /**
19808
+ * Successful Response
19809
+ */
19810
+ 200: SuccessResponse;
19811
+ };
19812
+
19813
+ export type RevokeUserOAuthGrantResponse = RevokeUserOAuthGrantResponses[keyof RevokeUserOAuthGrantResponses];
19814
+
19064
19815
  export type ListUserOrgsData = {
19065
19816
  body?: never;
19066
19817
  path?: never;
@@ -20049,7 +20800,7 @@ export type ListConnectionsData = {
20049
20800
  *
20050
20801
  * Filter by provider type
20051
20802
  */
20052
- provider?: 'sec' | 'quickbooks' | 'external' | null;
20803
+ provider?: 'quickbooks' | 'external' | null;
20053
20804
  };
20054
20805
  url: '/v1/graphs/{graph_id}/connections';
20055
20806
  };
@@ -20336,155 +21087,26 @@ export type SetConnectionWritePolicyResponses = {
20336
21087
 
20337
21088
  export type SetConnectionWritePolicyResponse = SetConnectionWritePolicyResponses[keyof SetConnectionWritePolicyResponses];
20338
21089
 
20339
- export type ListOperatorsData = {
20340
- body?: never;
20341
- path: {
20342
- /**
20343
- * Graph Id
20344
- */
20345
- graph_id: string;
20346
- };
20347
- query?: {
20348
- /**
20349
- * Capability
20350
- *
20351
- * Filter by capability (e.g., 'financial_analysis', 'rag_search')
20352
- */
20353
- capability?: string | null;
20354
- };
20355
- url: '/v1/graphs/{graph_id}/operator';
20356
- };
20357
-
20358
- export type ListOperatorsErrors = {
20359
- /**
20360
- * Invalid request
20361
- */
20362
- 400: ErrorResponse;
20363
- /**
20364
- * Authentication required
20365
- */
20366
- 401: ErrorResponse;
20367
- /**
20368
- * Access denied
20369
- */
20370
- 403: ErrorResponse;
20371
- /**
20372
- * Resource not found
20373
- */
20374
- 404: ErrorResponse;
20375
- /**
20376
- * Validation Error
20377
- */
20378
- 422: HttpValidationError;
20379
- /**
20380
- * Rate limit exceeded
20381
- */
20382
- 429: ErrorResponse;
20383
- /**
20384
- * Internal server error
20385
- */
20386
- 500: ErrorResponse;
20387
- };
20388
-
20389
- export type ListOperatorsError = ListOperatorsErrors[keyof ListOperatorsErrors];
20390
-
20391
- export type ListOperatorsResponses = {
20392
- /**
20393
- * Successful Response
20394
- */
20395
- 200: OperatorListResponse;
20396
- };
20397
-
20398
- export type ListOperatorsResponse = ListOperatorsResponses[keyof ListOperatorsResponses];
20399
-
20400
- export type AutoSelectOperatorData = {
20401
- body: OperatorRequest;
20402
- path: {
20403
- /**
20404
- * Graph Id
20405
- */
20406
- graph_id: string;
20407
- };
20408
- query?: {
20409
- /**
20410
- * Mode
20411
- *
20412
- * Override execution mode: sync, async, stream, or auto
20413
- */
20414
- mode?: ResponseMode | null;
20415
- };
20416
- url: '/v1/graphs/{graph_id}/operator';
20417
- };
20418
-
20419
- export type AutoSelectOperatorErrors = {
20420
- /**
20421
- * Invalid request
20422
- */
20423
- 400: ErrorResponse;
20424
- /**
20425
- * Authentication required
20426
- */
20427
- 401: ErrorResponse;
20428
- /**
20429
- * Insufficient credits
20430
- */
20431
- 402: unknown;
20432
- /**
20433
- * Access denied
20434
- */
20435
- 403: ErrorResponse;
20436
- /**
20437
- * Resource not found
20438
- */
20439
- 404: ErrorResponse;
20440
- /**
20441
- * Validation Error
20442
- */
20443
- 422: HttpValidationError;
20444
- /**
20445
- * Rate limit exceeded
20446
- */
20447
- 429: ErrorResponse;
20448
- /**
20449
- * Internal server error
20450
- */
20451
- 500: ErrorResponse;
20452
- };
20453
-
20454
- export type AutoSelectOperatorError = AutoSelectOperatorErrors[keyof AutoSelectOperatorErrors];
20455
-
20456
- export type AutoSelectOperatorResponses = {
20457
- /**
20458
- * Successful Response
20459
- */
20460
- 200: OperatorResponse;
20461
- /**
20462
- * Query queued for async processing
20463
- */
20464
- 202: unknown;
20465
- };
20466
-
20467
- export type AutoSelectOperatorResponse = AutoSelectOperatorResponses[keyof AutoSelectOperatorResponses];
20468
-
20469
- export type GetOperatorMetadataData = {
21090
+ export type ListOperatorsData = {
20470
21091
  body?: never;
20471
21092
  path: {
20472
21093
  /**
20473
21094
  * Graph Id
20474
21095
  */
20475
21096
  graph_id: string;
21097
+ };
21098
+ query?: {
20476
21099
  /**
20477
- * Operator Type
21100
+ * Capability
20478
21101
  *
20479
- * Operator type identifier (e.g., 'financial', 'research', 'rag')
21102
+ * Filter by capability (e.g., 'financial_analysis', 'rag_search')
20480
21103
  */
20481
- operator_type: string;
21104
+ capability?: string | null;
20482
21105
  };
20483
- query?: never;
20484
- url: '/v1/graphs/{graph_id}/operator/{operator_type}';
21106
+ url: '/v1/graphs/{graph_id}/operator';
20485
21107
  };
20486
21108
 
20487
- export type GetOperatorMetadataErrors = {
21109
+ export type ListOperatorsErrors = {
20488
21110
  /**
20489
21111
  * Invalid request
20490
21112
  */
@@ -20515,24 +21137,20 @@ export type GetOperatorMetadataErrors = {
20515
21137
  500: ErrorResponse;
20516
21138
  };
20517
21139
 
20518
- export type GetOperatorMetadataError = GetOperatorMetadataErrors[keyof GetOperatorMetadataErrors];
21140
+ export type ListOperatorsError = ListOperatorsErrors[keyof ListOperatorsErrors];
20519
21141
 
20520
- export type GetOperatorMetadataResponses = {
21142
+ export type ListOperatorsResponses = {
20521
21143
  /**
20522
21144
  * Successful Response
20523
21145
  */
20524
- 200: OperatorMetadataResponse;
21146
+ 200: OperatorListResponse;
20525
21147
  };
20526
21148
 
20527
- export type GetOperatorMetadataResponse = GetOperatorMetadataResponses[keyof GetOperatorMetadataResponses];
21149
+ export type ListOperatorsResponse = ListOperatorsResponses[keyof ListOperatorsResponses];
20528
21150
 
20529
- export type ExecuteSpecificOperatorData = {
21151
+ export type AutoSelectOperatorData = {
20530
21152
  body: OperatorRequest;
20531
21153
  path: {
20532
- /**
20533
- * Operator Type
20534
- */
20535
- operator_type: string;
20536
21154
  /**
20537
21155
  * Graph Id
20538
21156
  */
@@ -20546,10 +21164,10 @@ export type ExecuteSpecificOperatorData = {
20546
21164
  */
20547
21165
  mode?: ResponseMode | null;
20548
21166
  };
20549
- url: '/v1/graphs/{graph_id}/operator/{operator_type}';
21167
+ url: '/v1/graphs/{graph_id}/operator';
20550
21168
  };
20551
21169
 
20552
- export type ExecuteSpecificOperatorErrors = {
21170
+ export type AutoSelectOperatorErrors = {
20553
21171
  /**
20554
21172
  * Invalid request
20555
21173
  */
@@ -20584,9 +21202,9 @@ export type ExecuteSpecificOperatorErrors = {
20584
21202
  500: ErrorResponse;
20585
21203
  };
20586
21204
 
20587
- export type ExecuteSpecificOperatorError = ExecuteSpecificOperatorErrors[keyof ExecuteSpecificOperatorErrors];
21205
+ export type AutoSelectOperatorError = AutoSelectOperatorErrors[keyof AutoSelectOperatorErrors];
20588
21206
 
20589
- export type ExecuteSpecificOperatorResponses = {
21207
+ export type AutoSelectOperatorResponses = {
20590
21208
  /**
20591
21209
  * Successful Response
20592
21210
  */
@@ -20597,21 +21215,27 @@ export type ExecuteSpecificOperatorResponses = {
20597
21215
  202: unknown;
20598
21216
  };
20599
21217
 
20600
- export type ExecuteSpecificOperatorResponse = ExecuteSpecificOperatorResponses[keyof ExecuteSpecificOperatorResponses];
21218
+ export type AutoSelectOperatorResponse = AutoSelectOperatorResponses[keyof AutoSelectOperatorResponses];
20601
21219
 
20602
- export type ListMcpToolsData = {
21220
+ export type GetOperatorMetadataData = {
20603
21221
  body?: never;
20604
21222
  path: {
20605
21223
  /**
20606
21224
  * Graph Id
20607
21225
  */
20608
21226
  graph_id: string;
21227
+ /**
21228
+ * Operator Type
21229
+ *
21230
+ * Operator type identifier (e.g., 'financial', 'research', 'rag')
21231
+ */
21232
+ operator_type: string;
20609
21233
  };
20610
21234
  query?: never;
20611
- url: '/v1/graphs/{graph_id}/mcp/tools';
21235
+ url: '/v1/graphs/{graph_id}/operator/{operator_type}';
20612
21236
  };
20613
21237
 
20614
- export type ListMcpToolsErrors = {
21238
+ export type GetOperatorMetadataErrors = {
20615
21239
  /**
20616
21240
  * Invalid request
20617
21241
  */
@@ -20642,20 +21266,24 @@ export type ListMcpToolsErrors = {
20642
21266
  500: ErrorResponse;
20643
21267
  };
20644
21268
 
20645
- export type ListMcpToolsError = ListMcpToolsErrors[keyof ListMcpToolsErrors];
21269
+ export type GetOperatorMetadataError = GetOperatorMetadataErrors[keyof GetOperatorMetadataErrors];
20646
21270
 
20647
- export type ListMcpToolsResponses = {
21271
+ export type GetOperatorMetadataResponses = {
20648
21272
  /**
20649
21273
  * Successful Response
20650
21274
  */
20651
- 200: McpToolsResponse;
21275
+ 200: OperatorMetadataResponse;
20652
21276
  };
20653
21277
 
20654
- export type ListMcpToolsResponse = ListMcpToolsResponses[keyof ListMcpToolsResponses];
21278
+ export type GetOperatorMetadataResponse = GetOperatorMetadataResponses[keyof GetOperatorMetadataResponses];
20655
21279
 
20656
- export type CallMcpToolData = {
20657
- body: McpToolCall;
21280
+ export type ExecuteSpecificOperatorData = {
21281
+ body: OperatorRequest;
20658
21282
  path: {
21283
+ /**
21284
+ * Operator Type
21285
+ */
21286
+ operator_type: string;
20659
21287
  /**
20660
21288
  * Graph Id
20661
21289
  */
@@ -20663,22 +21291,16 @@ export type CallMcpToolData = {
20663
21291
  };
20664
21292
  query?: {
20665
21293
  /**
20666
- * Format
20667
- *
20668
- * Response format override (json, sse, ndjson)
20669
- */
20670
- format?: string | null;
20671
- /**
20672
- * Test Mode
21294
+ * Mode
20673
21295
  *
20674
- * Enable test mode for debugging
21296
+ * Override execution mode: sync, async, stream, or auto
20675
21297
  */
20676
- test_mode?: boolean;
21298
+ mode?: ResponseMode | null;
20677
21299
  };
20678
- url: '/v1/graphs/{graph_id}/mcp/call-tool';
21300
+ url: '/v1/graphs/{graph_id}/operator/{operator_type}';
20679
21301
  };
20680
21302
 
20681
- export type CallMcpToolErrors = {
21303
+ export type ExecuteSpecificOperatorErrors = {
20682
21304
  /**
20683
21305
  * Invalid request
20684
21306
  */
@@ -20687,6 +21309,10 @@ export type CallMcpToolErrors = {
20687
21309
  * Authentication required
20688
21310
  */
20689
21311
  401: ErrorResponse;
21312
+ /**
21313
+ * Insufficient credits
21314
+ */
21315
+ 402: unknown;
20690
21316
  /**
20691
21317
  * Access denied
20692
21318
  */
@@ -20695,10 +21321,6 @@ export type CallMcpToolErrors = {
20695
21321
  * Resource not found
20696
21322
  */
20697
21323
  404: ErrorResponse;
20698
- /**
20699
- * Execution timeout
20700
- */
20701
- 408: unknown;
20702
21324
  /**
20703
21325
  * Validation Error
20704
21326
  */
@@ -20711,25 +21333,23 @@ export type CallMcpToolErrors = {
20711
21333
  * Internal server error
20712
21334
  */
20713
21335
  500: ErrorResponse;
20714
- /**
20715
- * Service unavailable
20716
- */
20717
- 503: unknown;
20718
21336
  };
20719
21337
 
20720
- export type CallMcpToolError = CallMcpToolErrors[keyof CallMcpToolErrors];
21338
+ export type ExecuteSpecificOperatorError = ExecuteSpecificOperatorErrors[keyof ExecuteSpecificOperatorErrors];
20721
21339
 
20722
- export type CallMcpToolResponses = {
21340
+ export type ExecuteSpecificOperatorResponses = {
20723
21341
  /**
20724
21342
  * Successful Response
20725
21343
  */
20726
- 200: unknown;
21344
+ 200: OperatorResponse;
20727
21345
  /**
20728
- * Tool queued for execution
21346
+ * Query queued for async processing
20729
21347
  */
20730
21348
  202: unknown;
20731
21349
  };
20732
21350
 
21351
+ export type ExecuteSpecificOperatorResponse = ExecuteSpecificOperatorResponses[keyof ExecuteSpecificOperatorResponses];
21352
+
20733
21353
  export type ListBackupsData = {
20734
21354
  body?: never;
20735
21355
  path: {
@@ -20824,7 +21444,7 @@ export type GetBackupDownloadUrlData = {
20824
21444
 
20825
21445
  export type GetBackupDownloadUrlErrors = {
20826
21446
  /**
20827
- * Access denied
21447
+ * Access denied — admin role on the graph, or an eligible repository subscription, is required
20828
21448
  */
20829
21449
  403: unknown;
20830
21450
  /**
@@ -26596,6 +27216,134 @@ export type PreviewEventBlockResponses = {
26596
27216
 
26597
27217
  export type PreviewEventBlockResponse2 = PreviewEventBlockResponses[keyof PreviewEventBlockResponses];
26598
27218
 
27219
+ export type PreviewReconcilingItemData = {
27220
+ body: PreviewReconcilingItemRequest;
27221
+ headers?: {
27222
+ /**
27223
+ * Idempotency-Key
27224
+ */
27225
+ 'Idempotency-Key'?: string | null;
27226
+ };
27227
+ path: {
27228
+ /**
27229
+ * Graph Id
27230
+ */
27231
+ graph_id: string;
27232
+ };
27233
+ query?: never;
27234
+ url: '/extensions/roboledger/{graph_id}/operations/preview-reconciling-item';
27235
+ };
27236
+
27237
+ export type PreviewReconcilingItemErrors = {
27238
+ /**
27239
+ * Invalid request
27240
+ */
27241
+ 400: ErrorResponse;
27242
+ /**
27243
+ * Authentication required
27244
+ */
27245
+ 401: ErrorResponse;
27246
+ /**
27247
+ * Access denied
27248
+ */
27249
+ 403: ErrorResponse;
27250
+ /**
27251
+ * Resource not found
27252
+ */
27253
+ 404: ErrorResponse;
27254
+ /**
27255
+ * Idempotency-Key conflict — key reused with different body
27256
+ */
27257
+ 409: ErrorResponse;
27258
+ /**
27259
+ * Validation error
27260
+ */
27261
+ 422: ErrorResponse;
27262
+ /**
27263
+ * Rate limit exceeded
27264
+ */
27265
+ 429: ErrorResponse;
27266
+ /**
27267
+ * Internal server error
27268
+ */
27269
+ 500: ErrorResponse;
27270
+ };
27271
+
27272
+ export type PreviewReconcilingItemError = PreviewReconcilingItemErrors[keyof PreviewReconcilingItemErrors];
27273
+
27274
+ export type PreviewReconcilingItemResponses = {
27275
+ /**
27276
+ * Successful Response
27277
+ */
27278
+ 200: OperationEnvelopeReconcilingItemPlan;
27279
+ };
27280
+
27281
+ export type PreviewReconcilingItemResponse = PreviewReconcilingItemResponses[keyof PreviewReconcilingItemResponses];
27282
+
27283
+ export type ResolveReconcilingItemData = {
27284
+ body: ResolveReconcilingItemRequest;
27285
+ headers?: {
27286
+ /**
27287
+ * Idempotency-Key
27288
+ */
27289
+ 'Idempotency-Key'?: string | null;
27290
+ };
27291
+ path: {
27292
+ /**
27293
+ * Graph Id
27294
+ */
27295
+ graph_id: string;
27296
+ };
27297
+ query?: never;
27298
+ url: '/extensions/roboledger/{graph_id}/operations/resolve-reconciling-item';
27299
+ };
27300
+
27301
+ export type ResolveReconcilingItemErrors = {
27302
+ /**
27303
+ * Invalid request
27304
+ */
27305
+ 400: ErrorResponse;
27306
+ /**
27307
+ * Authentication required
27308
+ */
27309
+ 401: ErrorResponse;
27310
+ /**
27311
+ * Access denied
27312
+ */
27313
+ 403: ErrorResponse;
27314
+ /**
27315
+ * Resource not found
27316
+ */
27317
+ 404: ErrorResponse;
27318
+ /**
27319
+ * Idempotency-Key conflict — key reused with different body
27320
+ */
27321
+ 409: ErrorResponse;
27322
+ /**
27323
+ * Validation error
27324
+ */
27325
+ 422: ErrorResponse;
27326
+ /**
27327
+ * Rate limit exceeded
27328
+ */
27329
+ 429: ErrorResponse;
27330
+ /**
27331
+ * Internal server error
27332
+ */
27333
+ 500: ErrorResponse;
27334
+ };
27335
+
27336
+ export type ResolveReconcilingItemError = ResolveReconcilingItemErrors[keyof ResolveReconcilingItemErrors];
27337
+
27338
+ export type ResolveReconcilingItemResponses = {
27339
+ /**
27340
+ * Successful Response
27341
+ */
27342
+ 200: OperationEnvelopeResolveReconcilingItemResponse;
27343
+ };
27344
+
27345
+ export type ResolveReconcilingItemResponse2 = ResolveReconcilingItemResponses[keyof ResolveReconcilingItemResponses];
27346
+
26599
27347
  export type UpdateJournalEntryData = {
26600
27348
  body: UpdateJournalEntryRequest;
26601
27349
  headers?: {
@@ -26852,6 +27600,70 @@ export type RebuildScheduleResponses = {
26852
27600
 
26853
27601
  export type RebuildScheduleResponse = RebuildScheduleResponses[keyof RebuildScheduleResponses];
26854
27602
 
27603
+ export type TerminateScheduleData = {
27604
+ body: TerminateScheduleRequest;
27605
+ headers?: {
27606
+ /**
27607
+ * Idempotency-Key
27608
+ */
27609
+ 'Idempotency-Key'?: string | null;
27610
+ };
27611
+ path: {
27612
+ /**
27613
+ * Graph Id
27614
+ */
27615
+ graph_id: string;
27616
+ };
27617
+ query?: never;
27618
+ url: '/extensions/roboledger/{graph_id}/operations/terminate-schedule';
27619
+ };
27620
+
27621
+ export type TerminateScheduleErrors = {
27622
+ /**
27623
+ * Invalid request
27624
+ */
27625
+ 400: ErrorResponse;
27626
+ /**
27627
+ * Authentication required
27628
+ */
27629
+ 401: ErrorResponse;
27630
+ /**
27631
+ * Access denied
27632
+ */
27633
+ 403: ErrorResponse;
27634
+ /**
27635
+ * Resource not found
27636
+ */
27637
+ 404: ErrorResponse;
27638
+ /**
27639
+ * Idempotency-Key conflict — key reused with different body
27640
+ */
27641
+ 409: ErrorResponse;
27642
+ /**
27643
+ * Validation error
27644
+ */
27645
+ 422: ErrorResponse;
27646
+ /**
27647
+ * Rate limit exceeded
27648
+ */
27649
+ 429: ErrorResponse;
27650
+ /**
27651
+ * Internal server error
27652
+ */
27653
+ 500: ErrorResponse;
27654
+ };
27655
+
27656
+ export type TerminateScheduleError = TerminateScheduleErrors[keyof TerminateScheduleErrors];
27657
+
27658
+ export type TerminateScheduleResponses = {
27659
+ /**
27660
+ * Successful Response
27661
+ */
27662
+ 200: OperationEnvelopeTerminateScheduleResponse;
27663
+ };
27664
+
27665
+ export type TerminateScheduleResponse2 = TerminateScheduleResponses[keyof TerminateScheduleResponses];
27666
+
26855
27667
  export type SetCloseTargetData = {
26856
27668
  body: SetCloseTargetOperation;
26857
27669
  headers?: {