@robosystems/client 1.11.0 → 1.12.1

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
@@ -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
  };
@@ -4653,15 +4665,15 @@ export type ElementSummary = {
4653
4665
  /**
4654
4666
  * Total
4655
4667
  *
4656
- * Sum of values across the returned facts
4668
+ * Sum of values across the returned facts. Duration elements only — a balance summed across periods is not a balance, so instants omit it.
4657
4669
  */
4658
- total: number;
4670
+ total?: number | null;
4659
4671
  /**
4660
4672
  * Average
4661
4673
  *
4662
- * Mean value across the returned facts
4674
+ * Mean value across the returned facts. Duration elements only; omitted for instants.
4663
4675
  */
4664
- average: number;
4676
+ average?: number | null;
4665
4677
  /**
4666
4678
  * Min
4667
4679
  *
@@ -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
  */
@@ -8513,7 +8537,7 @@ export type LiveFinancialStatementRequest = {
8513
8537
  /**
8514
8538
  * Statement Type
8515
8539
  *
8516
- * income_statement | balance_sheet | cash_flow_statement | equity_statement
8540
+ * income_statement | balance_sheet | cash_flow_statement | equity_statement. ``equity_statement`` is provisional — equity balances, not a rollforward — and is not offered on the MCP surface until it articulates.
8517
8541
  */
8518
8542
  statement_type: string;
8519
8543
  /**
@@ -8543,7 +8567,7 @@ export type LiveFinancialStatementRequest = {
8543
8567
  /**
8544
8568
  * Limit
8545
8569
  *
8546
- * Max fact rows returned
8570
+ * Max fact rows returned. Defaults to the ceiling so a statement is never cut mid-section — visible rows would stop footing to visible subtotals. Lower it only for a preview.
8547
8571
  */
8548
8572
  limit?: number;
8549
8573
  };
@@ -8564,6 +8588,8 @@ export type LiveFinancialStatementResponse = {
8564
8588
  statement_type: string;
8565
8589
  /**
8566
8590
  * Periods
8591
+ *
8592
+ * Rendered columns, aligned with each row's ``values``. Current and prior for income_statement and balance_sheet; current only for cash_flow_statement — the prior period is pivoted as the indirect-method delta basis and not rendered.
8567
8593
  */
8568
8594
  periods: Array<PeriodSpec>;
8569
8595
  /**
@@ -8574,6 +8600,10 @@ export type LiveFinancialStatementResponse = {
8574
8600
  * Fact Count
8575
8601
  */
8576
8602
  fact_count: number;
8603
+ /**
8604
+ * Guard-rail outcome for the rendered columns — accounting equation, net-income equation, totals footing, operating-plug size. Null only when no structure rendered.
8605
+ */
8606
+ validation?: ValidationCheckResponse | null;
8577
8607
  /**
8578
8608
  * Unmapped Count
8579
8609
  */
@@ -8636,50 +8666,6 @@ export type LoginRequest = {
8636
8666
  password: string;
8637
8667
  };
8638
8668
 
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
8669
  /**
8684
8670
  * MaterializeOp
8685
8671
  *
@@ -9027,6 +9013,88 @@ export type OAuthCallbackResponse = {
9027
9013
  auto_sync_task_id?: string | null;
9028
9014
  };
9029
9015
 
9016
+ /**
9017
+ * OAuthGrantInfo
9018
+ *
9019
+ * A connected app: one OAuth consent for one client on one graph.
9020
+ */
9021
+ export type OAuthGrantInfo = {
9022
+ /**
9023
+ * Id
9024
+ *
9025
+ * Grant ID
9026
+ */
9027
+ id: string;
9028
+ /**
9029
+ * Client Name
9030
+ *
9031
+ * The connected client's display name
9032
+ */
9033
+ client_name: string;
9034
+ /**
9035
+ * Client Uri
9036
+ *
9037
+ * The client's homepage, if declared
9038
+ */
9039
+ client_uri?: string | null;
9040
+ /**
9041
+ * Client Is Trusted
9042
+ *
9043
+ * Whether the client is on the trusted list (pre-registered, or a known metadata-document host). Untrusted clients registered themselves.
9044
+ */
9045
+ client_is_trusted: boolean;
9046
+ /**
9047
+ * Graph Id
9048
+ *
9049
+ * The one graph this consent reaches
9050
+ */
9051
+ graph_id: string;
9052
+ /**
9053
+ * Graph Name
9054
+ *
9055
+ * The graph's display name, when the graph still exists
9056
+ */
9057
+ graph_name?: string | null;
9058
+ /**
9059
+ * Resource
9060
+ *
9061
+ * The MCP URL the grant's tokens are bound to (their audience)
9062
+ */
9063
+ resource: string;
9064
+ /**
9065
+ * Scope
9066
+ *
9067
+ * Granted scopes, space-separated
9068
+ */
9069
+ scope: string;
9070
+ /**
9071
+ * Created At
9072
+ *
9073
+ * When the user consented
9074
+ */
9075
+ created_at: string;
9076
+ /**
9077
+ * Last Used At
9078
+ *
9079
+ * Last token use, if any
9080
+ */
9081
+ last_used_at?: string | null;
9082
+ };
9083
+
9084
+ /**
9085
+ * OAuthGrantsResponse
9086
+ *
9087
+ * Response model for listing connected apps.
9088
+ */
9089
+ export type OAuthGrantsResponse = {
9090
+ /**
9091
+ * Grants
9092
+ *
9093
+ * Active OAuth grants, newest first
9094
+ */
9095
+ grants: Array<OAuthGrantInfo>;
9096
+ };
9097
+
9030
9098
  /**
9031
9099
  * OAuthInitRequest
9032
9100
  *
@@ -10732,6 +10800,52 @@ export type OperationEnvelopePublishListResponse = {
10732
10800
  idempotentReplay?: boolean;
10733
10801
  };
10734
10802
 
10803
+ /**
10804
+ * OperationEnvelope[ReconcilingItemPlan]
10805
+ */
10806
+ export type OperationEnvelopeReconcilingItemPlan = {
10807
+ /**
10808
+ * Operation
10809
+ *
10810
+ * Kebab-case operation name
10811
+ */
10812
+ operation: string;
10813
+ /**
10814
+ * Operationid
10815
+ *
10816
+ * op_-prefixed ULID for audit and SSE correlation
10817
+ */
10818
+ operationId: string;
10819
+ /**
10820
+ * Status
10821
+ *
10822
+ * Operation lifecycle state
10823
+ */
10824
+ status: 'completed' | 'pending' | 'failed';
10825
+ /**
10826
+ * Command-specific result payload
10827
+ */
10828
+ result?: ReconcilingItemPlan | null;
10829
+ /**
10830
+ * At
10831
+ *
10832
+ * ISO-8601 UTC timestamp
10833
+ */
10834
+ at: string;
10835
+ /**
10836
+ * Createdby
10837
+ *
10838
+ * User ID that initiated the operation (null for legacy callers)
10839
+ */
10840
+ createdBy?: string | null;
10841
+ /**
10842
+ * Idempotentreplay
10843
+ *
10844
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
10845
+ */
10846
+ idempotentReplay?: boolean;
10847
+ };
10848
+
10735
10849
  /**
10736
10850
  * OperationEnvelope[ReportResponse]
10737
10851
  */
@@ -10778,6 +10892,52 @@ export type OperationEnvelopeReportResponse = {
10778
10892
  idempotentReplay?: boolean;
10779
10893
  };
10780
10894
 
10895
+ /**
10896
+ * OperationEnvelope[ResolveReconcilingItemResponse]
10897
+ */
10898
+ export type OperationEnvelopeResolveReconcilingItemResponse = {
10899
+ /**
10900
+ * Operation
10901
+ *
10902
+ * Kebab-case operation name
10903
+ */
10904
+ operation: string;
10905
+ /**
10906
+ * Operationid
10907
+ *
10908
+ * op_-prefixed ULID for audit and SSE correlation
10909
+ */
10910
+ operationId: string;
10911
+ /**
10912
+ * Status
10913
+ *
10914
+ * Operation lifecycle state
10915
+ */
10916
+ status: 'completed' | 'pending' | 'failed';
10917
+ /**
10918
+ * Command-specific result payload
10919
+ */
10920
+ result?: ResolveReconcilingItemResponse | null;
10921
+ /**
10922
+ * At
10923
+ *
10924
+ * ISO-8601 UTC timestamp
10925
+ */
10926
+ at: string;
10927
+ /**
10928
+ * Createdby
10929
+ *
10930
+ * User ID that initiated the operation (null for legacy callers)
10931
+ */
10932
+ createdBy?: string | null;
10933
+ /**
10934
+ * Idempotentreplay
10935
+ *
10936
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
10937
+ */
10938
+ idempotentReplay?: boolean;
10939
+ };
10940
+
10781
10941
  /**
10782
10942
  * OperationEnvelope[RevokeReportShareResponse]
10783
10943
  */
@@ -11148,6 +11308,22 @@ export type OperationEnvelopeListPublishListMemberResponse = {
11148
11308
  idempotentReplay?: boolean;
11149
11309
  };
11150
11310
 
11311
+ /**
11312
+ * OperationResumeRequest
11313
+ *
11314
+ * Answer for an operation paused at a checkpoint (`awaiting_input`).
11315
+ */
11316
+ export type OperationResumeRequest = {
11317
+ /**
11318
+ * Input
11319
+ *
11320
+ * The decision the paused run asked for, in whatever shape its prompt described. Delivered to the task as `params['resume']['input']`.
11321
+ */
11322
+ input?: {
11323
+ [key: string]: unknown;
11324
+ };
11325
+ };
11326
+
11151
11327
  /**
11152
11328
  * OperatorListResponse
11153
11329
  *
@@ -11319,6 +11495,12 @@ export type OperatorRequest = {
11319
11495
  * Enable streaming response
11320
11496
  */
11321
11497
  stream?: boolean;
11498
+ /**
11499
+ * Max Credits
11500
+ *
11501
+ * Per-question credit ceiling. Once the run's consumed credits reach this number, no further tool step starts and the operator answers from what it has (the wrap-up itself may carry the total slightly past the ceiling). Omit for the mode's default step-bounded behavior.
11502
+ */
11503
+ max_credits?: number | null;
11322
11504
  };
11323
11505
 
11324
11506
  /**
@@ -12631,6 +12813,20 @@ export type PreviewEventBlockResponse = {
12631
12813
  };
12632
12814
  };
12633
12815
 
12816
+ /**
12817
+ * PreviewReconcilingItemRequest
12818
+ *
12819
+ * Read what changed on a reconciling item, and what resolving it would do.
12820
+ */
12821
+ export type PreviewReconcilingItemRequest = {
12822
+ /**
12823
+ * Event Id
12824
+ *
12825
+ * Event id (evt_ prefixed) to inspect
12826
+ */
12827
+ event_id: string;
12828
+ };
12829
+
12634
12830
  /**
12635
12831
  * PromoteObligationsRequest
12636
12832
  *
@@ -12905,55 +13101,283 @@ export type RebuildScheduleRequest = {
12905
13101
  };
12906
13102
 
12907
13103
  /**
12908
- * RecoveryCodesRequest
13104
+ * ReconcilingItemCatchUp
12909
13105
  *
12910
- * Re-authentication proof for regenerating recovery codes.
13106
+ * The catch-up entry a resolution posted.
12911
13107
  */
12912
- export type RecoveryCodesRequest = {
13108
+ export type ReconcilingItemCatchUp = {
12913
13109
  /**
12914
- * Password
12915
- *
12916
- * Current password (password-holding users)
13110
+ * Event Id
12917
13111
  */
12918
- password?: string | null;
13112
+ event_id: string;
12919
13113
  /**
12920
- * Assertion
12921
- *
12922
- * Fresh WebAuthn assertion from the re-auth ceremony
13114
+ * Entry Id
12923
13115
  */
12924
- assertion?: {
12925
- [key: string]: unknown;
12926
- } | null;
12927
- };
12928
-
12929
- /**
12930
- * RecoveryCodesResponse
12931
- *
12932
- * A fresh recovery-code set — shown exactly once.
12933
- */
12934
- export type RecoveryCodesResponse = {
13116
+ entry_id?: string | null;
12935
13117
  /**
12936
- * Codes
12937
- *
12938
- * Single-use recovery codes
13118
+ * Transaction Id
12939
13119
  */
12940
- codes: Array<string>;
13120
+ transaction_id?: string | null;
13121
+ /**
13122
+ * Posting Date
13123
+ */
13124
+ posting_date: string;
13125
+ /**
13126
+ * Status
13127
+ */
13128
+ status: string;
12941
13129
  };
12942
13130
 
12943
13131
  /**
12944
- * RegenerateReportOperation
13132
+ * ReconcilingItemDeltaLine
12945
13133
  *
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`.
13134
+ * One account's net change between the posted entries and the new payload.
13135
+ *
13136
+ * Amounts are signed minor units in debit-positive convention: a positive
13137
+ * figure is a net debit, a negative one a net credit. ``delta`` is what a
13138
+ * catch-up entry would post to bring the books level.
12949
13139
  */
12950
- export type RegenerateReportOperation = {
13140
+ export type ReconcilingItemDeltaLine = {
12951
13141
  /**
12952
- * Period Start
13142
+ * Element Id
12953
13143
  *
12954
- * New current-period start. Optional — omit to keep the existing window.
13144
+ * CoA element id; null when the account is unmapped
12955
13145
  */
12956
- period_start?: string | null;
13146
+ element_id?: string | null;
13147
+ /**
13148
+ * Element External Id
13149
+ *
13150
+ * Source-system account id, when the line carried one
13151
+ */
13152
+ element_external_id?: string | null;
13153
+ /**
13154
+ * Element Code
13155
+ *
13156
+ * Account code
13157
+ */
13158
+ element_code?: string | null;
13159
+ /**
13160
+ * Element Name
13161
+ *
13162
+ * Account name
13163
+ */
13164
+ element_name?: string | null;
13165
+ /**
13166
+ * Prior Net
13167
+ *
13168
+ * Net of the posted entries, debit-positive
13169
+ */
13170
+ prior_net: number;
13171
+ /**
13172
+ * Accepted Net
13173
+ *
13174
+ * Net of the new payload, debit-positive
13175
+ */
13176
+ accepted_net: number;
13177
+ /**
13178
+ * Delta
13179
+ *
13180
+ * accepted_net - prior_net
13181
+ */
13182
+ delta: number;
13183
+ };
13184
+
13185
+ /**
13186
+ * ReconcilingItemEntrySummary
13187
+ *
13188
+ * One entry on either side of the comparison.
13189
+ */
13190
+ export type ReconcilingItemEntrySummary = {
13191
+ /**
13192
+ * Entry Id
13193
+ *
13194
+ * Entry id; null for the accepted side, which is not posted yet
13195
+ */
13196
+ entry_id?: string | null;
13197
+ /**
13198
+ * External Id
13199
+ */
13200
+ external_id?: string | null;
13201
+ /**
13202
+ * Posting Date
13203
+ */
13204
+ posting_date?: string | null;
13205
+ /**
13206
+ * Memo
13207
+ */
13208
+ memo?: string | null;
13209
+ /**
13210
+ * Status
13211
+ *
13212
+ * Entry status; null on the accepted side
13213
+ */
13214
+ status?: string | null;
13215
+ /**
13216
+ * Total Debit
13217
+ */
13218
+ total_debit?: number;
13219
+ /**
13220
+ * Total Credit
13221
+ */
13222
+ total_credit?: number;
13223
+ };
13224
+
13225
+ /**
13226
+ * ReconcilingItemPlan
13227
+ *
13228
+ * What changed upstream, and what each disposition would do about it.
13229
+ */
13230
+ export type ReconcilingItemPlan = {
13231
+ /**
13232
+ * Event Id
13233
+ */
13234
+ event_id: string;
13235
+ /**
13236
+ * External Id
13237
+ */
13238
+ external_id?: string | null;
13239
+ /**
13240
+ * Source
13241
+ */
13242
+ source: string;
13243
+ /**
13244
+ * Event Type
13245
+ */
13246
+ event_type: string;
13247
+ /**
13248
+ * Event Status
13249
+ */
13250
+ event_status: string;
13251
+ /**
13252
+ * Drift Detected At
13253
+ *
13254
+ * When the sync first saw this difference
13255
+ */
13256
+ drift_detected_at?: string | null;
13257
+ /**
13258
+ * Default Disposition
13259
+ *
13260
+ * What resolve would do with no disposition given: restate while every affected period is open, catch_up once one is closed.
13261
+ */
13262
+ default_disposition: 'restate' | 'catch_up' | 'acknowledge';
13263
+ /**
13264
+ * Default Posting Date
13265
+ *
13266
+ * Where a catch-up entry would land by default
13267
+ */
13268
+ default_posting_date?: string | null;
13269
+ /**
13270
+ * Affected Posting Dates
13271
+ *
13272
+ * Posting dates of the event's entries
13273
+ */
13274
+ affected_posting_dates?: Array<string>;
13275
+ /**
13276
+ * Closed Periods
13277
+ *
13278
+ * Names of closed periods the event's entries sit in
13279
+ */
13280
+ closed_periods?: Array<string>;
13281
+ /**
13282
+ * Prior Entries
13283
+ */
13284
+ prior_entries?: Array<ReconcilingItemEntrySummary>;
13285
+ /**
13286
+ * Accepted Entries
13287
+ */
13288
+ accepted_entries?: Array<ReconcilingItemEntrySummary>;
13289
+ /**
13290
+ * Delta
13291
+ *
13292
+ * Per-account net change; empty when none
13293
+ */
13294
+ delta?: Array<ReconcilingItemDeltaLine>;
13295
+ /**
13296
+ * No Gl Effect
13297
+ *
13298
+ * The change moves no money — a memo or reference edit. catch_up posts nothing; restate still regenerates so the entries carry the new text.
13299
+ */
13300
+ no_gl_effect?: boolean;
13301
+ /**
13302
+ * Restate Blockers
13303
+ *
13304
+ * 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.
13305
+ */
13306
+ restate_blockers?: Array<string>;
13307
+ /**
13308
+ * Unmapped Element External Ids
13309
+ *
13310
+ * Accounts in the new payload with no mapping in this graph. Both dispositions that write need them mapped first.
13311
+ */
13312
+ unmapped_element_external_ids?: Array<string>;
13313
+ };
13314
+
13315
+ /**
13316
+ * ReconcilingItemRegenerated
13317
+ *
13318
+ * The entries a restate rebuilt.
13319
+ */
13320
+ export type ReconcilingItemRegenerated = {
13321
+ /**
13322
+ * Transaction Ids
13323
+ */
13324
+ transaction_ids?: Array<string>;
13325
+ /**
13326
+ * Entry Ids
13327
+ */
13328
+ entry_ids?: Array<string>;
13329
+ };
13330
+
13331
+ /**
13332
+ * RecoveryCodesRequest
13333
+ *
13334
+ * Re-authentication proof for regenerating recovery codes.
13335
+ */
13336
+ export type RecoveryCodesRequest = {
13337
+ /**
13338
+ * Password
13339
+ *
13340
+ * Current password (password-holding users)
13341
+ */
13342
+ password?: string | null;
13343
+ /**
13344
+ * Assertion
13345
+ *
13346
+ * Fresh WebAuthn assertion from the re-auth ceremony
13347
+ */
13348
+ assertion?: {
13349
+ [key: string]: unknown;
13350
+ } | null;
13351
+ };
13352
+
13353
+ /**
13354
+ * RecoveryCodesResponse
13355
+ *
13356
+ * A fresh recovery-code set — shown exactly once.
13357
+ */
13358
+ export type RecoveryCodesResponse = {
13359
+ /**
13360
+ * Codes
13361
+ *
13362
+ * Single-use recovery codes
13363
+ */
13364
+ codes: Array<string>;
13365
+ };
13366
+
13367
+ /**
13368
+ * RegenerateReportOperation
13369
+ *
13370
+ * Regenerate facts for an existing Report. Carries `report_id` from
13371
+ * the path-style RPC body; period overrides are inherited from
13372
+ * :class:`RegenerateReportRequest`.
13373
+ */
13374
+ export type RegenerateReportOperation = {
13375
+ /**
13376
+ * Period Start
13377
+ *
13378
+ * New current-period start. Optional — omit to keep the existing window.
13379
+ */
13380
+ period_start?: string | null;
12957
13381
  /**
12958
13382
  * Period End
12959
13383
  *
@@ -13494,6 +13918,102 @@ export type ResetPasswordValidateResponse = {
13494
13918
  email?: string | null;
13495
13919
  };
13496
13920
 
13921
+ /**
13922
+ * ResolveReconcilingItemRequest
13923
+ *
13924
+ * Dispose of one reconciling item and clear its flag.
13925
+ */
13926
+ export type ResolveReconcilingItemRequest = {
13927
+ /**
13928
+ * Event Id
13929
+ *
13930
+ * Event id (evt_ prefixed) to resolve
13931
+ */
13932
+ event_id: string;
13933
+ /**
13934
+ * Disposition
13935
+ *
13936
+ * 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.
13937
+ */
13938
+ disposition?: 'restate' | 'catch_up' | 'acknowledge' | null;
13939
+ /**
13940
+ * Posting Date
13941
+ *
13942
+ * catch_up only: when to post the catch-up entry. Defaults to the end of the earliest open period.
13943
+ */
13944
+ posting_date?: string | null;
13945
+ /**
13946
+ * Status
13947
+ *
13948
+ * 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.
13949
+ */
13950
+ status?: 'draft' | 'posted';
13951
+ /**
13952
+ * Note
13953
+ *
13954
+ * Why this disposition. Required for acknowledge, where it is the only record of what was done instead.
13955
+ */
13956
+ note?: string | null;
13957
+ /**
13958
+ * Reference Event Id
13959
+ *
13960
+ * acknowledge only: the event that already handled this difference (e.g. an alignment entry authored by hand), recorded on the trail.
13961
+ */
13962
+ reference_event_id?: string | null;
13963
+ };
13964
+
13965
+ /**
13966
+ * ResolveReconcilingItemResponse
13967
+ *
13968
+ * The outcome of resolving one reconciling item.
13969
+ */
13970
+ export type ResolveReconcilingItemResponse = {
13971
+ /**
13972
+ * Event Id
13973
+ */
13974
+ event_id: string;
13975
+ /**
13976
+ * External Id
13977
+ */
13978
+ external_id?: string | null;
13979
+ /**
13980
+ * Disposition
13981
+ */
13982
+ disposition: 'restate' | 'catch_up' | 'acknowledge';
13983
+ /**
13984
+ * Delta
13985
+ */
13986
+ delta?: Array<ReconcilingItemDeltaLine>;
13987
+ /**
13988
+ * No Gl Effect
13989
+ */
13990
+ no_gl_effect?: boolean;
13991
+ /**
13992
+ * Present when the disposition posted a catch-up entry
13993
+ */
13994
+ catch_up?: ReconcilingItemCatchUp | null;
13995
+ /**
13996
+ * Present when the disposition rebuilt the event's entries
13997
+ */
13998
+ regenerated?: ReconcilingItemRegenerated | null;
13999
+ /**
14000
+ * Reference Event Id
14001
+ */
14002
+ reference_event_id?: string | null;
14003
+ /**
14004
+ * Note
14005
+ */
14006
+ note?: string | null;
14007
+ /**
14008
+ * Resolved At
14009
+ */
14010
+ resolved_at: string;
14011
+ /**
14012
+ * Resolved By
14013
+ */
14014
+ resolved_by: string;
14015
+ };
14016
+
13497
14017
  /**
13498
14018
  * ResolvedReportInfo
13499
14019
  *
@@ -17136,6 +17656,48 @@ export type UserResponse = {
17136
17656
  accounts?: Array<AccountInfo>;
17137
17657
  };
17138
17658
 
17659
+ /**
17660
+ * ValidationCheckResponse
17661
+ *
17662
+ * Aggregate result of running reporting rules over a structure.
17663
+ *
17664
+ * Every rule runs once per rendered period column; on a multi-column
17665
+ * statement each failure and warning is prefixed with the column it was
17666
+ * found in (``[Prior] …``).
17667
+ */
17668
+ export type ValidationCheckResponse = {
17669
+ /**
17670
+ * Passed
17671
+ *
17672
+ * True iff at least one rule ran and every rule produced zero failures on every rendered column. False when nothing was checked (`status == 'inconclusive'`).
17673
+ */
17674
+ passed: boolean;
17675
+ /**
17676
+ * Status
17677
+ *
17678
+ * `passed` — every rule ran on every column with zero failures; `failed` — at least one rule failed; `inconclusive` — no validation rules exist for this block type, so nothing was checked.
17679
+ */
17680
+ status: string;
17681
+ /**
17682
+ * Checks
17683
+ *
17684
+ * Names of rules that were evaluated.
17685
+ */
17686
+ checks: Array<string>;
17687
+ /**
17688
+ * Failures
17689
+ *
17690
+ * Human-readable descriptions of rule failures.
17691
+ */
17692
+ failures: Array<string>;
17693
+ /**
17694
+ * Warnings
17695
+ *
17696
+ * Non-blocking advisories from rule evaluation.
17697
+ */
17698
+ warnings: Array<string>;
17699
+ };
17700
+
17139
17701
  /**
17140
17702
  * ValidationError
17141
17703
  */
@@ -17179,6 +17741,10 @@ export type ValidationLite = {
17179
17741
  * Passed
17180
17742
  */
17181
17743
  passed?: boolean;
17744
+ /**
17745
+ * Status
17746
+ */
17747
+ status?: string;
17182
17748
  /**
17183
17749
  * Checks
17184
17750
  */
@@ -17470,7 +18036,7 @@ export type ViewResponse = {
17470
18036
  /**
17471
18037
  * Summary
17472
18038
  *
17473
- * Per-element aggregates, only when include_summary=true. Note that `total` sums across every returned period, which is meaningful for duration facts and not for instants. Overlapping duration windows sharing a period_end (quarter + year-to-date) contribute only the narrowest window, so a quarter is never double-counted inside its own YTD figure.
18039
+ * Per-element aggregates, only when include_summary=true. `total` and `average` span every returned period, so they are present for duration elements only — instants omit both (a balance summed across periods is not a balance). Overlapping duration windows sharing a period_end (quarter + year-to-date) contribute only the narrowest window, so a quarter is never double-counted inside its own YTD figure.
17474
18040
  */
17475
18041
  summary?: {
17476
18042
  [key: string]: ElementSummary;
@@ -19225,6 +19791,101 @@ export type UpdateUserApiKeyResponses = {
19225
19791
 
19226
19792
  export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
19227
19793
 
19794
+ export type ListUserOAuthGrantsData = {
19795
+ body?: never;
19796
+ path?: never;
19797
+ query?: never;
19798
+ url: '/v1/user/oauth/grants';
19799
+ };
19800
+
19801
+ export type ListUserOAuthGrantsErrors = {
19802
+ /**
19803
+ * Invalid request
19804
+ */
19805
+ 400: ErrorResponse;
19806
+ /**
19807
+ * Authentication required
19808
+ */
19809
+ 401: ErrorResponse;
19810
+ /**
19811
+ * Access denied
19812
+ */
19813
+ 403: ErrorResponse;
19814
+ /**
19815
+ * Rate limit exceeded
19816
+ */
19817
+ 429: ErrorResponse;
19818
+ /**
19819
+ * Internal server error
19820
+ */
19821
+ 500: ErrorResponse;
19822
+ };
19823
+
19824
+ export type ListUserOAuthGrantsError = ListUserOAuthGrantsErrors[keyof ListUserOAuthGrantsErrors];
19825
+
19826
+ export type ListUserOAuthGrantsResponses = {
19827
+ /**
19828
+ * Successful Response
19829
+ */
19830
+ 200: OAuthGrantsResponse;
19831
+ };
19832
+
19833
+ export type ListUserOAuthGrantsResponse = ListUserOAuthGrantsResponses[keyof ListUserOAuthGrantsResponses];
19834
+
19835
+ export type RevokeUserOAuthGrantData = {
19836
+ body?: never;
19837
+ path: {
19838
+ /**
19839
+ * Grant Id
19840
+ */
19841
+ grant_id: string;
19842
+ };
19843
+ query?: never;
19844
+ url: '/v1/user/oauth/grants/{grant_id}';
19845
+ };
19846
+
19847
+ export type RevokeUserOAuthGrantErrors = {
19848
+ /**
19849
+ * Invalid request
19850
+ */
19851
+ 400: ErrorResponse;
19852
+ /**
19853
+ * Authentication required
19854
+ */
19855
+ 401: ErrorResponse;
19856
+ /**
19857
+ * Access denied
19858
+ */
19859
+ 403: ErrorResponse;
19860
+ /**
19861
+ * Resource not found
19862
+ */
19863
+ 404: ErrorResponse;
19864
+ /**
19865
+ * Validation Error
19866
+ */
19867
+ 422: HttpValidationError;
19868
+ /**
19869
+ * Rate limit exceeded
19870
+ */
19871
+ 429: ErrorResponse;
19872
+ /**
19873
+ * Internal server error
19874
+ */
19875
+ 500: ErrorResponse;
19876
+ };
19877
+
19878
+ export type RevokeUserOAuthGrantError = RevokeUserOAuthGrantErrors[keyof RevokeUserOAuthGrantErrors];
19879
+
19880
+ export type RevokeUserOAuthGrantResponses = {
19881
+ /**
19882
+ * Successful Response
19883
+ */
19884
+ 200: SuccessResponse;
19885
+ };
19886
+
19887
+ export type RevokeUserOAuthGrantResponse = RevokeUserOAuthGrantResponses[keyof RevokeUserOAuthGrantResponses];
19888
+
19228
19889
  export type ListUserOrgsData = {
19229
19890
  body?: never;
19230
19891
  path?: never;
@@ -20493,162 +21154,33 @@ export type SetConnectionWritePolicyError = SetConnectionWritePolicyErrors[keyof
20493
21154
 
20494
21155
  export type SetConnectionWritePolicyResponses = {
20495
21156
  /**
20496
- * Successful Response
20497
- */
20498
- 200: ConnectionResponse;
20499
- };
20500
-
20501
- export type SetConnectionWritePolicyResponse = SetConnectionWritePolicyResponses[keyof SetConnectionWritePolicyResponses];
20502
-
20503
- export type ListOperatorsData = {
20504
- body?: never;
20505
- path: {
20506
- /**
20507
- * Graph Id
20508
- */
20509
- graph_id: string;
20510
- };
20511
- query?: {
20512
- /**
20513
- * Capability
20514
- *
20515
- * Filter by capability (e.g., 'financial_analysis', 'rag_search')
20516
- */
20517
- capability?: string | null;
20518
- };
20519
- url: '/v1/graphs/{graph_id}/operator';
20520
- };
20521
-
20522
- export type ListOperatorsErrors = {
20523
- /**
20524
- * Invalid request
20525
- */
20526
- 400: ErrorResponse;
20527
- /**
20528
- * Authentication required
20529
- */
20530
- 401: ErrorResponse;
20531
- /**
20532
- * Access denied
20533
- */
20534
- 403: ErrorResponse;
20535
- /**
20536
- * Resource not found
20537
- */
20538
- 404: ErrorResponse;
20539
- /**
20540
- * Validation Error
20541
- */
20542
- 422: HttpValidationError;
20543
- /**
20544
- * Rate limit exceeded
20545
- */
20546
- 429: ErrorResponse;
20547
- /**
20548
- * Internal server error
20549
- */
20550
- 500: ErrorResponse;
20551
- };
20552
-
20553
- export type ListOperatorsError = ListOperatorsErrors[keyof ListOperatorsErrors];
20554
-
20555
- export type ListOperatorsResponses = {
20556
- /**
20557
- * Successful Response
20558
- */
20559
- 200: OperatorListResponse;
20560
- };
20561
-
20562
- export type ListOperatorsResponse = ListOperatorsResponses[keyof ListOperatorsResponses];
20563
-
20564
- export type AutoSelectOperatorData = {
20565
- body: OperatorRequest;
20566
- path: {
20567
- /**
20568
- * Graph Id
20569
- */
20570
- graph_id: string;
20571
- };
20572
- query?: {
20573
- /**
20574
- * Mode
20575
- *
20576
- * Override execution mode: sync, async, stream, or auto
20577
- */
20578
- mode?: ResponseMode | null;
20579
- };
20580
- url: '/v1/graphs/{graph_id}/operator';
20581
- };
20582
-
20583
- export type AutoSelectOperatorErrors = {
20584
- /**
20585
- * Invalid request
20586
- */
20587
- 400: ErrorResponse;
20588
- /**
20589
- * Authentication required
20590
- */
20591
- 401: ErrorResponse;
20592
- /**
20593
- * Insufficient credits
20594
- */
20595
- 402: unknown;
20596
- /**
20597
- * Access denied
20598
- */
20599
- 403: ErrorResponse;
20600
- /**
20601
- * Resource not found
20602
- */
20603
- 404: ErrorResponse;
20604
- /**
20605
- * Validation Error
20606
- */
20607
- 422: HttpValidationError;
20608
- /**
20609
- * Rate limit exceeded
20610
- */
20611
- 429: ErrorResponse;
20612
- /**
20613
- * Internal server error
20614
- */
20615
- 500: ErrorResponse;
20616
- };
20617
-
20618
- export type AutoSelectOperatorError = AutoSelectOperatorErrors[keyof AutoSelectOperatorErrors];
20619
-
20620
- export type AutoSelectOperatorResponses = {
20621
- /**
20622
- * Successful Response
20623
- */
20624
- 200: OperatorResponse;
20625
- /**
20626
- * Query queued for async processing
21157
+ * Successful Response
20627
21158
  */
20628
- 202: unknown;
21159
+ 200: ConnectionResponse;
20629
21160
  };
20630
21161
 
20631
- export type AutoSelectOperatorResponse = AutoSelectOperatorResponses[keyof AutoSelectOperatorResponses];
21162
+ export type SetConnectionWritePolicyResponse = SetConnectionWritePolicyResponses[keyof SetConnectionWritePolicyResponses];
20632
21163
 
20633
- export type GetOperatorMetadataData = {
21164
+ export type ListOperatorsData = {
20634
21165
  body?: never;
20635
21166
  path: {
20636
21167
  /**
20637
21168
  * Graph Id
20638
21169
  */
20639
21170
  graph_id: string;
21171
+ };
21172
+ query?: {
20640
21173
  /**
20641
- * Operator Type
21174
+ * Capability
20642
21175
  *
20643
- * Operator type identifier (e.g., 'financial', 'research', 'rag')
21176
+ * Filter by capability (e.g., 'financial_analysis', 'rag_search')
20644
21177
  */
20645
- operator_type: string;
21178
+ capability?: string | null;
20646
21179
  };
20647
- query?: never;
20648
- url: '/v1/graphs/{graph_id}/operator/{operator_type}';
21180
+ url: '/v1/graphs/{graph_id}/operator';
20649
21181
  };
20650
21182
 
20651
- export type GetOperatorMetadataErrors = {
21183
+ export type ListOperatorsErrors = {
20652
21184
  /**
20653
21185
  * Invalid request
20654
21186
  */
@@ -20679,24 +21211,20 @@ export type GetOperatorMetadataErrors = {
20679
21211
  500: ErrorResponse;
20680
21212
  };
20681
21213
 
20682
- export type GetOperatorMetadataError = GetOperatorMetadataErrors[keyof GetOperatorMetadataErrors];
21214
+ export type ListOperatorsError = ListOperatorsErrors[keyof ListOperatorsErrors];
20683
21215
 
20684
- export type GetOperatorMetadataResponses = {
21216
+ export type ListOperatorsResponses = {
20685
21217
  /**
20686
21218
  * Successful Response
20687
21219
  */
20688
- 200: OperatorMetadataResponse;
21220
+ 200: OperatorListResponse;
20689
21221
  };
20690
21222
 
20691
- export type GetOperatorMetadataResponse = GetOperatorMetadataResponses[keyof GetOperatorMetadataResponses];
21223
+ export type ListOperatorsResponse = ListOperatorsResponses[keyof ListOperatorsResponses];
20692
21224
 
20693
- export type ExecuteSpecificOperatorData = {
21225
+ export type AutoSelectOperatorData = {
20694
21226
  body: OperatorRequest;
20695
21227
  path: {
20696
- /**
20697
- * Operator Type
20698
- */
20699
- operator_type: string;
20700
21228
  /**
20701
21229
  * Graph Id
20702
21230
  */
@@ -20706,14 +21234,14 @@ export type ExecuteSpecificOperatorData = {
20706
21234
  /**
20707
21235
  * Mode
20708
21236
  *
20709
- * Override execution mode: sync, async, stream, or auto
21237
+ * `sync` waits up to 50s for the answer and returns 200 with it (202 with the operation links if the worker is still busy). Anything else — `async`, `stream`, `auto` or unset — queues the run and returns 202; follow `_links.stream` for progress and the result.
20710
21238
  */
20711
21239
  mode?: ResponseMode | null;
20712
21240
  };
20713
- url: '/v1/graphs/{graph_id}/operator/{operator_type}';
21241
+ url: '/v1/graphs/{graph_id}/operator';
20714
21242
  };
20715
21243
 
20716
- export type ExecuteSpecificOperatorErrors = {
21244
+ export type AutoSelectOperatorErrors = {
20717
21245
  /**
20718
21246
  * Invalid request
20719
21247
  */
@@ -20748,34 +21276,40 @@ export type ExecuteSpecificOperatorErrors = {
20748
21276
  500: ErrorResponse;
20749
21277
  };
20750
21278
 
20751
- export type ExecuteSpecificOperatorError = ExecuteSpecificOperatorErrors[keyof ExecuteSpecificOperatorErrors];
21279
+ export type AutoSelectOperatorError = AutoSelectOperatorErrors[keyof AutoSelectOperatorErrors];
20752
21280
 
20753
- export type ExecuteSpecificOperatorResponses = {
21281
+ export type AutoSelectOperatorResponses = {
20754
21282
  /**
20755
21283
  * Successful Response
20756
21284
  */
20757
21285
  200: OperatorResponse;
20758
21286
  /**
20759
- * Query queued for async processing
21287
+ * Run queued on the worker — follow `_links.stream`
20760
21288
  */
20761
21289
  202: unknown;
20762
21290
  };
20763
21291
 
20764
- export type ExecuteSpecificOperatorResponse = ExecuteSpecificOperatorResponses[keyof ExecuteSpecificOperatorResponses];
21292
+ export type AutoSelectOperatorResponse = AutoSelectOperatorResponses[keyof AutoSelectOperatorResponses];
20765
21293
 
20766
- export type ListMcpToolsData = {
21294
+ export type GetOperatorMetadataData = {
20767
21295
  body?: never;
20768
21296
  path: {
20769
21297
  /**
20770
21298
  * Graph Id
20771
21299
  */
20772
21300
  graph_id: string;
21301
+ /**
21302
+ * Operator Type
21303
+ *
21304
+ * Operator type identifier (e.g., 'financial', 'research', 'rag')
21305
+ */
21306
+ operator_type: string;
20773
21307
  };
20774
21308
  query?: never;
20775
- url: '/v1/graphs/{graph_id}/mcp/tools';
21309
+ url: '/v1/graphs/{graph_id}/operator/{operator_type}';
20776
21310
  };
20777
21311
 
20778
- export type ListMcpToolsErrors = {
21312
+ export type GetOperatorMetadataErrors = {
20779
21313
  /**
20780
21314
  * Invalid request
20781
21315
  */
@@ -20806,20 +21340,24 @@ export type ListMcpToolsErrors = {
20806
21340
  500: ErrorResponse;
20807
21341
  };
20808
21342
 
20809
- export type ListMcpToolsError = ListMcpToolsErrors[keyof ListMcpToolsErrors];
21343
+ export type GetOperatorMetadataError = GetOperatorMetadataErrors[keyof GetOperatorMetadataErrors];
20810
21344
 
20811
- export type ListMcpToolsResponses = {
21345
+ export type GetOperatorMetadataResponses = {
20812
21346
  /**
20813
21347
  * Successful Response
20814
21348
  */
20815
- 200: McpToolsResponse;
21349
+ 200: OperatorMetadataResponse;
20816
21350
  };
20817
21351
 
20818
- export type ListMcpToolsResponse = ListMcpToolsResponses[keyof ListMcpToolsResponses];
21352
+ export type GetOperatorMetadataResponse = GetOperatorMetadataResponses[keyof GetOperatorMetadataResponses];
20819
21353
 
20820
- export type CallMcpToolData = {
20821
- body: McpToolCall;
21354
+ export type ExecuteSpecificOperatorData = {
21355
+ body: OperatorRequest;
20822
21356
  path: {
21357
+ /**
21358
+ * Operator Type
21359
+ */
21360
+ operator_type: string;
20823
21361
  /**
20824
21362
  * Graph Id
20825
21363
  */
@@ -20827,22 +21365,16 @@ export type CallMcpToolData = {
20827
21365
  };
20828
21366
  query?: {
20829
21367
  /**
20830
- * Format
20831
- *
20832
- * Response format override (json, sse, ndjson)
20833
- */
20834
- format?: string | null;
20835
- /**
20836
- * Test Mode
21368
+ * Mode
20837
21369
  *
20838
- * Enable test mode for debugging
21370
+ * `sync` waits up to 50s for the answer and returns 200 with it (202 with the operation links if the worker is still busy). Anything else — `async`, `stream`, `auto` or unset — queues the run and returns 202; follow `_links.stream` for progress and the result.
20839
21371
  */
20840
- test_mode?: boolean;
21372
+ mode?: ResponseMode | null;
20841
21373
  };
20842
- url: '/v1/graphs/{graph_id}/mcp/call-tool';
21374
+ url: '/v1/graphs/{graph_id}/operator/{operator_type}';
20843
21375
  };
20844
21376
 
20845
- export type CallMcpToolErrors = {
21377
+ export type ExecuteSpecificOperatorErrors = {
20846
21378
  /**
20847
21379
  * Invalid request
20848
21380
  */
@@ -20851,6 +21383,10 @@ export type CallMcpToolErrors = {
20851
21383
  * Authentication required
20852
21384
  */
20853
21385
  401: ErrorResponse;
21386
+ /**
21387
+ * Insufficient credits
21388
+ */
21389
+ 402: unknown;
20854
21390
  /**
20855
21391
  * Access denied
20856
21392
  */
@@ -20859,10 +21395,6 @@ export type CallMcpToolErrors = {
20859
21395
  * Resource not found
20860
21396
  */
20861
21397
  404: ErrorResponse;
20862
- /**
20863
- * Execution timeout
20864
- */
20865
- 408: unknown;
20866
21398
  /**
20867
21399
  * Validation Error
20868
21400
  */
@@ -20875,25 +21407,23 @@ export type CallMcpToolErrors = {
20875
21407
  * Internal server error
20876
21408
  */
20877
21409
  500: ErrorResponse;
20878
- /**
20879
- * Service unavailable
20880
- */
20881
- 503: unknown;
20882
21410
  };
20883
21411
 
20884
- export type CallMcpToolError = CallMcpToolErrors[keyof CallMcpToolErrors];
21412
+ export type ExecuteSpecificOperatorError = ExecuteSpecificOperatorErrors[keyof ExecuteSpecificOperatorErrors];
20885
21413
 
20886
- export type CallMcpToolResponses = {
21414
+ export type ExecuteSpecificOperatorResponses = {
20887
21415
  /**
20888
21416
  * Successful Response
20889
21417
  */
20890
- 200: unknown;
21418
+ 200: OperatorResponse;
20891
21419
  /**
20892
- * Tool queued for execution
21420
+ * Run queued on the worker — follow `_links.stream`
20893
21421
  */
20894
21422
  202: unknown;
20895
21423
  };
20896
21424
 
21425
+ export type ExecuteSpecificOperatorResponse = ExecuteSpecificOperatorResponses[keyof ExecuteSpecificOperatorResponses];
21426
+
20897
21427
  export type ListBackupsData = {
20898
21428
  body?: never;
20899
21429
  path: {
@@ -24512,6 +25042,70 @@ export type CancelOperationResponses = {
24512
25042
 
24513
25043
  export type CancelOperationResponse = CancelOperationResponses[keyof CancelOperationResponses];
24514
25044
 
25045
+ export type ResumeOperationData = {
25046
+ body: OperationResumeRequest;
25047
+ path: {
25048
+ /**
25049
+ * Operation Id
25050
+ *
25051
+ * Operation identifier
25052
+ */
25053
+ operation_id: string;
25054
+ };
25055
+ query?: never;
25056
+ url: '/v1/operations/{operation_id}/resume';
25057
+ };
25058
+
25059
+ export type ResumeOperationErrors = {
25060
+ /**
25061
+ * Invalid request
25062
+ */
25063
+ 400: ErrorResponse;
25064
+ /**
25065
+ * Authentication required
25066
+ */
25067
+ 401: ErrorResponse;
25068
+ /**
25069
+ * Access denied
25070
+ */
25071
+ 403: ErrorResponse;
25072
+ /**
25073
+ * Resource not found
25074
+ */
25075
+ 404: ErrorResponse;
25076
+ /**
25077
+ * Operation is not waiting for input
25078
+ */
25079
+ 409: unknown;
25080
+ /**
25081
+ * Validation Error
25082
+ */
25083
+ 422: HttpValidationError;
25084
+ /**
25085
+ * Rate limit exceeded
25086
+ */
25087
+ 429: ErrorResponse;
25088
+ /**
25089
+ * Internal server error
25090
+ */
25091
+ 500: ErrorResponse;
25092
+ };
25093
+
25094
+ export type ResumeOperationError = ResumeOperationErrors[keyof ResumeOperationErrors];
25095
+
25096
+ export type ResumeOperationResponses = {
25097
+ /**
25098
+ * Response Resumeoperation
25099
+ *
25100
+ * Successful Response
25101
+ */
25102
+ 202: {
25103
+ [key: string]: unknown;
25104
+ };
25105
+ };
25106
+
25107
+ export type ResumeOperationResponse = ResumeOperationResponses[keyof ResumeOperationResponses];
25108
+
24515
25109
  export type GetOrgBillingCustomerData = {
24516
25110
  body?: never;
24517
25111
  path: {
@@ -26760,6 +27354,134 @@ export type PreviewEventBlockResponses = {
26760
27354
 
26761
27355
  export type PreviewEventBlockResponse2 = PreviewEventBlockResponses[keyof PreviewEventBlockResponses];
26762
27356
 
27357
+ export type PreviewReconcilingItemData = {
27358
+ body: PreviewReconcilingItemRequest;
27359
+ headers?: {
27360
+ /**
27361
+ * Idempotency-Key
27362
+ */
27363
+ 'Idempotency-Key'?: string | null;
27364
+ };
27365
+ path: {
27366
+ /**
27367
+ * Graph Id
27368
+ */
27369
+ graph_id: string;
27370
+ };
27371
+ query?: never;
27372
+ url: '/extensions/roboledger/{graph_id}/operations/preview-reconciling-item';
27373
+ };
27374
+
27375
+ export type PreviewReconcilingItemErrors = {
27376
+ /**
27377
+ * Invalid request
27378
+ */
27379
+ 400: ErrorResponse;
27380
+ /**
27381
+ * Authentication required
27382
+ */
27383
+ 401: ErrorResponse;
27384
+ /**
27385
+ * Access denied
27386
+ */
27387
+ 403: ErrorResponse;
27388
+ /**
27389
+ * Resource not found
27390
+ */
27391
+ 404: ErrorResponse;
27392
+ /**
27393
+ * Idempotency-Key conflict — key reused with different body
27394
+ */
27395
+ 409: ErrorResponse;
27396
+ /**
27397
+ * Validation error
27398
+ */
27399
+ 422: ErrorResponse;
27400
+ /**
27401
+ * Rate limit exceeded
27402
+ */
27403
+ 429: ErrorResponse;
27404
+ /**
27405
+ * Internal server error
27406
+ */
27407
+ 500: ErrorResponse;
27408
+ };
27409
+
27410
+ export type PreviewReconcilingItemError = PreviewReconcilingItemErrors[keyof PreviewReconcilingItemErrors];
27411
+
27412
+ export type PreviewReconcilingItemResponses = {
27413
+ /**
27414
+ * Successful Response
27415
+ */
27416
+ 200: OperationEnvelopeReconcilingItemPlan;
27417
+ };
27418
+
27419
+ export type PreviewReconcilingItemResponse = PreviewReconcilingItemResponses[keyof PreviewReconcilingItemResponses];
27420
+
27421
+ export type ResolveReconcilingItemData = {
27422
+ body: ResolveReconcilingItemRequest;
27423
+ headers?: {
27424
+ /**
27425
+ * Idempotency-Key
27426
+ */
27427
+ 'Idempotency-Key'?: string | null;
27428
+ };
27429
+ path: {
27430
+ /**
27431
+ * Graph Id
27432
+ */
27433
+ graph_id: string;
27434
+ };
27435
+ query?: never;
27436
+ url: '/extensions/roboledger/{graph_id}/operations/resolve-reconciling-item';
27437
+ };
27438
+
27439
+ export type ResolveReconcilingItemErrors = {
27440
+ /**
27441
+ * Invalid request
27442
+ */
27443
+ 400: ErrorResponse;
27444
+ /**
27445
+ * Authentication required
27446
+ */
27447
+ 401: ErrorResponse;
27448
+ /**
27449
+ * Access denied
27450
+ */
27451
+ 403: ErrorResponse;
27452
+ /**
27453
+ * Resource not found
27454
+ */
27455
+ 404: ErrorResponse;
27456
+ /**
27457
+ * Idempotency-Key conflict — key reused with different body
27458
+ */
27459
+ 409: ErrorResponse;
27460
+ /**
27461
+ * Validation error
27462
+ */
27463
+ 422: ErrorResponse;
27464
+ /**
27465
+ * Rate limit exceeded
27466
+ */
27467
+ 429: ErrorResponse;
27468
+ /**
27469
+ * Internal server error
27470
+ */
27471
+ 500: ErrorResponse;
27472
+ };
27473
+
27474
+ export type ResolveReconcilingItemError = ResolveReconcilingItemErrors[keyof ResolveReconcilingItemErrors];
27475
+
27476
+ export type ResolveReconcilingItemResponses = {
27477
+ /**
27478
+ * Successful Response
27479
+ */
27480
+ 200: OperationEnvelopeResolveReconcilingItemResponse;
27481
+ };
27482
+
27483
+ export type ResolveReconcilingItemResponse2 = ResolveReconcilingItemResponses[keyof ResolveReconcilingItemResponses];
27484
+
26763
27485
  export type UpdateJournalEntryData = {
26764
27486
  body: UpdateJournalEntryRequest;
26765
27487
  headers?: {