@robosystems/client 1.11.0 → 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/types.gen.ts CHANGED
@@ -712,6 +712,12 @@ export type BackfillPlanHistoryOperation = {
712
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.
713
713
  */
714
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;
715
721
  /**
716
722
  * Restamp
717
723
  *
@@ -1663,6 +1669,12 @@ export type ClosePeriodOperation = {
1663
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.
1664
1670
  */
1665
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;
1666
1678
  /**
1667
1679
  * Period
1668
1680
  *
@@ -4184,7 +4196,7 @@ export type DeleteSubgraphOp = {
4184
4196
  /**
4185
4197
  * Backup First
4186
4198
  *
4187
- * 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.
4188
4200
  */
4189
4201
  backup_first?: boolean;
4190
4202
  };
@@ -5863,6 +5875,18 @@ export type FiscalCalendarResponse = {
5863
5875
  * Sample of up to 5 stranded obligations (schedule_id, schedule_name, period, event_id) ordered by occurred_at.
5864
5876
  */
5865
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>;
5866
5890
  /**
5867
5891
  * Last Close At
5868
5892
  */
@@ -8636,50 +8660,6 @@ export type LoginRequest = {
8636
8660
  password: string;
8637
8661
  };
8638
8662
 
8639
- /**
8640
- * MCPToolCall
8641
- *
8642
- * Request model for MCP tool execution.
8643
- */
8644
- export type McpToolCall = {
8645
- /**
8646
- * Name
8647
- *
8648
- * Name of the MCP tool to execute
8649
- */
8650
- name: string;
8651
- /**
8652
- * Arguments
8653
- *
8654
- * Arguments to pass to the tool
8655
- */
8656
- arguments?: {
8657
- [key: string]: unknown;
8658
- };
8659
- };
8660
-
8661
- /**
8662
- * MCPToolsResponse
8663
- *
8664
- * Response model for MCP tools listing.
8665
- */
8666
- export type McpToolsResponse = {
8667
- /**
8668
- * Tools
8669
- *
8670
- * List of available MCP tools with their schemas
8671
- */
8672
- tools: Array<{
8673
- [key: string]: unknown;
8674
- }>;
8675
- /**
8676
- * Instructions
8677
- *
8678
- * 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.
8679
- */
8680
- instructions?: string | null;
8681
- };
8682
-
8683
8663
  /**
8684
8664
  * MaterializeOp
8685
8665
  *
@@ -9027,6 +9007,88 @@ export type OAuthCallbackResponse = {
9027
9007
  auto_sync_task_id?: string | null;
9028
9008
  };
9029
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
+
9030
9092
  /**
9031
9093
  * OAuthInitRequest
9032
9094
  *
@@ -10732,6 +10794,52 @@ export type OperationEnvelopePublishListResponse = {
10732
10794
  idempotentReplay?: boolean;
10733
10795
  };
10734
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
+
10735
10843
  /**
10736
10844
  * OperationEnvelope[ReportResponse]
10737
10845
  */
@@ -10778,6 +10886,52 @@ export type OperationEnvelopeReportResponse = {
10778
10886
  idempotentReplay?: boolean;
10779
10887
  };
10780
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
+
10781
10935
  /**
10782
10936
  * OperationEnvelope[RevokeReportShareResponse]
10783
10937
  */
@@ -12631,6 +12785,20 @@ export type PreviewEventBlockResponse = {
12631
12785
  };
12632
12786
  };
12633
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
+
12634
12802
  /**
12635
12803
  * PromoteObligationsRequest
12636
12804
  *
@@ -12905,73 +13073,301 @@ export type RebuildScheduleRequest = {
12905
13073
  };
12906
13074
 
12907
13075
  /**
12908
- * RecoveryCodesRequest
13076
+ * ReconcilingItemCatchUp
12909
13077
  *
12910
- * Re-authentication proof for regenerating recovery codes.
13078
+ * The catch-up entry a resolution posted.
12911
13079
  */
12912
- export type RecoveryCodesRequest = {
13080
+ export type ReconcilingItemCatchUp = {
12913
13081
  /**
12914
- * Password
12915
- *
12916
- * Current password (password-holding users)
13082
+ * Event Id
12917
13083
  */
12918
- password?: string | null;
13084
+ event_id: string;
12919
13085
  /**
12920
- * Assertion
12921
- *
12922
- * Fresh WebAuthn assertion from the re-auth ceremony
13086
+ * Entry Id
12923
13087
  */
12924
- assertion?: {
12925
- [key: string]: unknown;
12926
- } | null;
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;
12927
13101
  };
12928
13102
 
12929
13103
  /**
12930
- * RecoveryCodesResponse
13104
+ * ReconcilingItemDeltaLine
12931
13105
  *
12932
- * A fresh recovery-code set — shown exactly once.
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.
12933
13111
  */
12934
- export type RecoveryCodesResponse = {
13112
+ export type ReconcilingItemDeltaLine = {
12935
13113
  /**
12936
- * Codes
13114
+ * Element Id
12937
13115
  *
12938
- * Single-use recovery codes
13116
+ * CoA element id; null when the account is unmapped
12939
13117
  */
12940
- codes: Array<string>;
12941
- };
12942
-
12943
- /**
12944
- * RegenerateReportOperation
12945
- *
12946
- * Regenerate facts for an existing Report. Carries `report_id` from
12947
- * the path-style RPC body; period overrides are inherited from
12948
- * :class:`RegenerateReportRequest`.
12949
- */
12950
- export type RegenerateReportOperation = {
13118
+ element_id?: string | null;
12951
13119
  /**
12952
- * Period Start
13120
+ * Element External Id
12953
13121
  *
12954
- * New current-period start. Optional — omit to keep the existing window.
13122
+ * Source-system account id, when the line carried one
12955
13123
  */
12956
- period_start?: string | null;
13124
+ element_external_id?: string | null;
12957
13125
  /**
12958
- * Period End
13126
+ * Element Code
12959
13127
  *
12960
- * New current-period end. Optional — omit to keep the existing window.
13128
+ * Account code
12961
13129
  */
12962
- period_end?: string | null;
13130
+ element_code?: string | null;
12963
13131
  /**
12964
- * Periods
13132
+ * Element Name
12965
13133
  *
12966
- * New explicit period columns. Overrides `period_start`/`period_end` when supplied.
13134
+ * Account name
12967
13135
  */
12968
- periods?: Array<PeriodSpec> | null;
13136
+ element_name?: string | null;
12969
13137
  /**
12970
- * Report Id
13138
+ * Prior Net
12971
13139
  *
12972
- * The Report to regenerate.
13140
+ * Net of the posted entries, debit-positive
12973
13141
  */
12974
- report_id: string;
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
13311
+ *
13312
+ * Current password (password-holding users)
13313
+ */
13314
+ password?: string | null;
13315
+ /**
13316
+ * Assertion
13317
+ *
13318
+ * Fresh WebAuthn assertion from the re-auth ceremony
13319
+ */
13320
+ assertion?: {
13321
+ [key: string]: unknown;
13322
+ } | null;
13323
+ };
13324
+
13325
+ /**
13326
+ * RecoveryCodesResponse
13327
+ *
13328
+ * A fresh recovery-code set — shown exactly once.
13329
+ */
13330
+ export type RecoveryCodesResponse = {
13331
+ /**
13332
+ * Codes
13333
+ *
13334
+ * Single-use recovery codes
13335
+ */
13336
+ codes: Array<string>;
13337
+ };
13338
+
13339
+ /**
13340
+ * RegenerateReportOperation
13341
+ *
13342
+ * Regenerate facts for an existing Report. Carries `report_id` from
13343
+ * the path-style RPC body; period overrides are inherited from
13344
+ * :class:`RegenerateReportRequest`.
13345
+ */
13346
+ export type RegenerateReportOperation = {
13347
+ /**
13348
+ * Period Start
13349
+ *
13350
+ * New current-period start. Optional — omit to keep the existing window.
13351
+ */
13352
+ period_start?: string | null;
13353
+ /**
13354
+ * Period End
13355
+ *
13356
+ * New current-period end. Optional — omit to keep the existing window.
13357
+ */
13358
+ period_end?: string | null;
13359
+ /**
13360
+ * Periods
13361
+ *
13362
+ * New explicit period columns. Overrides `period_start`/`period_end` when supplied.
13363
+ */
13364
+ periods?: Array<PeriodSpec> | null;
13365
+ /**
13366
+ * Report Id
13367
+ *
13368
+ * The Report to regenerate.
13369
+ */
13370
+ report_id: string;
12975
13371
  };
12976
13372
 
12977
13373
  /**
@@ -13494,6 +13890,102 @@ export type ResetPasswordValidateResponse = {
13494
13890
  email?: string | null;
13495
13891
  };
13496
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
+
13497
13989
  /**
13498
13990
  * ResolvedReportInfo
13499
13991
  *
@@ -19126,10 +19618,113 @@ export type RevokeUserApiKeyData = {
19126
19618
  api_key_id: string;
19127
19619
  };
19128
19620
  query?: never;
19129
- url: '/v1/user/api-keys/{api_key_id}';
19621
+ url: '/v1/user/api-keys/{api_key_id}';
19622
+ };
19623
+
19624
+ export type RevokeUserApiKeyErrors = {
19625
+ /**
19626
+ * Invalid request
19627
+ */
19628
+ 400: ErrorResponse;
19629
+ /**
19630
+ * Authentication required
19631
+ */
19632
+ 401: ErrorResponse;
19633
+ /**
19634
+ * Access denied
19635
+ */
19636
+ 403: ErrorResponse;
19637
+ /**
19638
+ * Resource not found
19639
+ */
19640
+ 404: ErrorResponse;
19641
+ /**
19642
+ * Validation Error
19643
+ */
19644
+ 422: HttpValidationError;
19645
+ /**
19646
+ * Rate limit exceeded
19647
+ */
19648
+ 429: ErrorResponse;
19649
+ /**
19650
+ * Internal server error
19651
+ */
19652
+ 500: ErrorResponse;
19653
+ };
19654
+
19655
+ export type RevokeUserApiKeyError = RevokeUserApiKeyErrors[keyof RevokeUserApiKeyErrors];
19656
+
19657
+ export type RevokeUserApiKeyResponses = {
19658
+ /**
19659
+ * Successful Response
19660
+ */
19661
+ 200: SuccessResponse;
19662
+ };
19663
+
19664
+ export type RevokeUserApiKeyResponse = RevokeUserApiKeyResponses[keyof RevokeUserApiKeyResponses];
19665
+
19666
+ export type UpdateUserApiKeyData = {
19667
+ body: UpdateApiKeyRequest;
19668
+ path: {
19669
+ /**
19670
+ * Api Key Id
19671
+ */
19672
+ api_key_id: string;
19673
+ };
19674
+ query?: never;
19675
+ url: '/v1/user/api-keys/{api_key_id}';
19676
+ };
19677
+
19678
+ export type UpdateUserApiKeyErrors = {
19679
+ /**
19680
+ * Invalid request
19681
+ */
19682
+ 400: ErrorResponse;
19683
+ /**
19684
+ * Authentication required
19685
+ */
19686
+ 401: ErrorResponse;
19687
+ /**
19688
+ * Access denied
19689
+ */
19690
+ 403: ErrorResponse;
19691
+ /**
19692
+ * Resource not found
19693
+ */
19694
+ 404: ErrorResponse;
19695
+ /**
19696
+ * Validation Error
19697
+ */
19698
+ 422: HttpValidationError;
19699
+ /**
19700
+ * Rate limit exceeded
19701
+ */
19702
+ 429: ErrorResponse;
19703
+ /**
19704
+ * Internal server error
19705
+ */
19706
+ 500: ErrorResponse;
19707
+ };
19708
+
19709
+ export type UpdateUserApiKeyError = UpdateUserApiKeyErrors[keyof UpdateUserApiKeyErrors];
19710
+
19711
+ export type UpdateUserApiKeyResponses = {
19712
+ /**
19713
+ * Successful Response
19714
+ */
19715
+ 200: ApiKeyInfo;
19716
+ };
19717
+
19718
+ export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
19719
+
19720
+ export type ListUserOAuthGrantsData = {
19721
+ body?: never;
19722
+ path?: never;
19723
+ query?: never;
19724
+ url: '/v1/user/oauth/grants';
19130
19725
  };
19131
19726
 
19132
- export type RevokeUserApiKeyErrors = {
19727
+ export type ListUserOAuthGrantsErrors = {
19133
19728
  /**
19134
19729
  * Invalid request
19135
19730
  */
@@ -19142,14 +19737,6 @@ export type RevokeUserApiKeyErrors = {
19142
19737
  * Access denied
19143
19738
  */
19144
19739
  403: ErrorResponse;
19145
- /**
19146
- * Resource not found
19147
- */
19148
- 404: ErrorResponse;
19149
- /**
19150
- * Validation Error
19151
- */
19152
- 422: HttpValidationError;
19153
19740
  /**
19154
19741
  * Rate limit exceeded
19155
19742
  */
@@ -19160,30 +19747,30 @@ export type RevokeUserApiKeyErrors = {
19160
19747
  500: ErrorResponse;
19161
19748
  };
19162
19749
 
19163
- export type RevokeUserApiKeyError = RevokeUserApiKeyErrors[keyof RevokeUserApiKeyErrors];
19750
+ export type ListUserOAuthGrantsError = ListUserOAuthGrantsErrors[keyof ListUserOAuthGrantsErrors];
19164
19751
 
19165
- export type RevokeUserApiKeyResponses = {
19752
+ export type ListUserOAuthGrantsResponses = {
19166
19753
  /**
19167
19754
  * Successful Response
19168
19755
  */
19169
- 200: SuccessResponse;
19756
+ 200: OAuthGrantsResponse;
19170
19757
  };
19171
19758
 
19172
- export type RevokeUserApiKeyResponse = RevokeUserApiKeyResponses[keyof RevokeUserApiKeyResponses];
19759
+ export type ListUserOAuthGrantsResponse = ListUserOAuthGrantsResponses[keyof ListUserOAuthGrantsResponses];
19173
19760
 
19174
- export type UpdateUserApiKeyData = {
19175
- body: UpdateApiKeyRequest;
19761
+ export type RevokeUserOAuthGrantData = {
19762
+ body?: never;
19176
19763
  path: {
19177
19764
  /**
19178
- * Api Key Id
19765
+ * Grant Id
19179
19766
  */
19180
- api_key_id: string;
19767
+ grant_id: string;
19181
19768
  };
19182
19769
  query?: never;
19183
- url: '/v1/user/api-keys/{api_key_id}';
19770
+ url: '/v1/user/oauth/grants/{grant_id}';
19184
19771
  };
19185
19772
 
19186
- export type UpdateUserApiKeyErrors = {
19773
+ export type RevokeUserOAuthGrantErrors = {
19187
19774
  /**
19188
19775
  * Invalid request
19189
19776
  */
@@ -19214,16 +19801,16 @@ export type UpdateUserApiKeyErrors = {
19214
19801
  500: ErrorResponse;
19215
19802
  };
19216
19803
 
19217
- export type UpdateUserApiKeyError = UpdateUserApiKeyErrors[keyof UpdateUserApiKeyErrors];
19804
+ export type RevokeUserOAuthGrantError = RevokeUserOAuthGrantErrors[keyof RevokeUserOAuthGrantErrors];
19218
19805
 
19219
- export type UpdateUserApiKeyResponses = {
19806
+ export type RevokeUserOAuthGrantResponses = {
19220
19807
  /**
19221
19808
  * Successful Response
19222
19809
  */
19223
- 200: ApiKeyInfo;
19810
+ 200: SuccessResponse;
19224
19811
  };
19225
19812
 
19226
- export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
19813
+ export type RevokeUserOAuthGrantResponse = RevokeUserOAuthGrantResponses[keyof RevokeUserOAuthGrantResponses];
19227
19814
 
19228
19815
  export type ListUserOrgsData = {
19229
19816
  body?: never;
@@ -20763,137 +21350,6 @@ export type ExecuteSpecificOperatorResponses = {
20763
21350
 
20764
21351
  export type ExecuteSpecificOperatorResponse = ExecuteSpecificOperatorResponses[keyof ExecuteSpecificOperatorResponses];
20765
21352
 
20766
- export type ListMcpToolsData = {
20767
- body?: never;
20768
- path: {
20769
- /**
20770
- * Graph Id
20771
- */
20772
- graph_id: string;
20773
- };
20774
- query?: never;
20775
- url: '/v1/graphs/{graph_id}/mcp/tools';
20776
- };
20777
-
20778
- export type ListMcpToolsErrors = {
20779
- /**
20780
- * Invalid request
20781
- */
20782
- 400: ErrorResponse;
20783
- /**
20784
- * Authentication required
20785
- */
20786
- 401: ErrorResponse;
20787
- /**
20788
- * Access denied
20789
- */
20790
- 403: ErrorResponse;
20791
- /**
20792
- * Resource not found
20793
- */
20794
- 404: ErrorResponse;
20795
- /**
20796
- * Validation Error
20797
- */
20798
- 422: HttpValidationError;
20799
- /**
20800
- * Rate limit exceeded
20801
- */
20802
- 429: ErrorResponse;
20803
- /**
20804
- * Internal server error
20805
- */
20806
- 500: ErrorResponse;
20807
- };
20808
-
20809
- export type ListMcpToolsError = ListMcpToolsErrors[keyof ListMcpToolsErrors];
20810
-
20811
- export type ListMcpToolsResponses = {
20812
- /**
20813
- * Successful Response
20814
- */
20815
- 200: McpToolsResponse;
20816
- };
20817
-
20818
- export type ListMcpToolsResponse = ListMcpToolsResponses[keyof ListMcpToolsResponses];
20819
-
20820
- export type CallMcpToolData = {
20821
- body: McpToolCall;
20822
- path: {
20823
- /**
20824
- * Graph Id
20825
- */
20826
- graph_id: string;
20827
- };
20828
- query?: {
20829
- /**
20830
- * Format
20831
- *
20832
- * Response format override (json, sse, ndjson)
20833
- */
20834
- format?: string | null;
20835
- /**
20836
- * Test Mode
20837
- *
20838
- * Enable test mode for debugging
20839
- */
20840
- test_mode?: boolean;
20841
- };
20842
- url: '/v1/graphs/{graph_id}/mcp/call-tool';
20843
- };
20844
-
20845
- export type CallMcpToolErrors = {
20846
- /**
20847
- * Invalid request
20848
- */
20849
- 400: ErrorResponse;
20850
- /**
20851
- * Authentication required
20852
- */
20853
- 401: ErrorResponse;
20854
- /**
20855
- * Access denied
20856
- */
20857
- 403: ErrorResponse;
20858
- /**
20859
- * Resource not found
20860
- */
20861
- 404: ErrorResponse;
20862
- /**
20863
- * Execution timeout
20864
- */
20865
- 408: unknown;
20866
- /**
20867
- * Validation Error
20868
- */
20869
- 422: HttpValidationError;
20870
- /**
20871
- * Rate limit exceeded
20872
- */
20873
- 429: ErrorResponse;
20874
- /**
20875
- * Internal server error
20876
- */
20877
- 500: ErrorResponse;
20878
- /**
20879
- * Service unavailable
20880
- */
20881
- 503: unknown;
20882
- };
20883
-
20884
- export type CallMcpToolError = CallMcpToolErrors[keyof CallMcpToolErrors];
20885
-
20886
- export type CallMcpToolResponses = {
20887
- /**
20888
- * Successful Response
20889
- */
20890
- 200: unknown;
20891
- /**
20892
- * Tool queued for execution
20893
- */
20894
- 202: unknown;
20895
- };
20896
-
20897
21353
  export type ListBackupsData = {
20898
21354
  body?: never;
20899
21355
  path: {
@@ -26760,6 +27216,134 @@ export type PreviewEventBlockResponses = {
26760
27216
 
26761
27217
  export type PreviewEventBlockResponse2 = PreviewEventBlockResponses[keyof PreviewEventBlockResponses];
26762
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
+
26763
27347
  export type UpdateJournalEntryData = {
26764
27348
  body: UpdateJournalEntryRequest;
26765
27349
  headers?: {