@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.d.ts CHANGED
@@ -690,6 +690,12 @@ export type BackfillPlanHistoryOperation = {
690
690
  * 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.
691
691
  */
692
692
  allow_stranded_obligations?: boolean;
693
+ /**
694
+ * Allow Reconciling Items
695
+ *
696
+ * 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.
697
+ */
698
+ allow_reconciling_items?: boolean;
693
699
  /**
694
700
  * Restamp
695
701
  *
@@ -1616,6 +1622,12 @@ export type ClosePeriodOperation = {
1616
1622
  * 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.
1617
1623
  */
1618
1624
  allow_stranded_obligations?: boolean;
1625
+ /**
1626
+ * Allow Reconciling Items
1627
+ *
1628
+ * 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.
1629
+ */
1630
+ allow_reconciling_items?: boolean;
1619
1631
  /**
1620
1632
  * Period
1621
1633
  *
@@ -4078,7 +4090,7 @@ export type DeleteSubgraphOp = {
4078
4090
  /**
4079
4091
  * Backup First
4080
4092
  *
4081
- * Create a backup before deleting
4093
+ * 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.
4082
4094
  */
4083
4095
  backup_first?: boolean;
4084
4096
  };
@@ -5719,6 +5731,18 @@ export type FiscalCalendarResponse = {
5719
5731
  * Sample of up to 5 stranded obligations (schedule_id, schedule_name, period, event_id) ordered by occurred_at.
5720
5732
  */
5721
5733
  stranded_obligation_sample?: Array<PendingObligationDetailResponse>;
5734
+ /**
5735
+ * Reconciling Item Count
5736
+ *
5737
+ * 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.
5738
+ */
5739
+ reconciling_item_count?: number;
5740
+ /**
5741
+ * Reconciling Item Sample
5742
+ *
5743
+ * Source identifiers (or event ids) of up to 5 unresolved reconciling items, so the blocker names what is holding the close.
5744
+ */
5745
+ reconciling_item_sample?: Array<string>;
5722
5746
  /**
5723
5747
  * Last Close At
5724
5748
  */
@@ -8434,48 +8458,6 @@ export type LoginRequest = {
8434
8458
  */
8435
8459
  password: string;
8436
8460
  };
8437
- /**
8438
- * MCPToolCall
8439
- *
8440
- * Request model for MCP tool execution.
8441
- */
8442
- export type McpToolCall = {
8443
- /**
8444
- * Name
8445
- *
8446
- * Name of the MCP tool to execute
8447
- */
8448
- name: string;
8449
- /**
8450
- * Arguments
8451
- *
8452
- * Arguments to pass to the tool
8453
- */
8454
- arguments?: {
8455
- [key: string]: unknown;
8456
- };
8457
- };
8458
- /**
8459
- * MCPToolsResponse
8460
- *
8461
- * Response model for MCP tools listing.
8462
- */
8463
- export type McpToolsResponse = {
8464
- /**
8465
- * Tools
8466
- *
8467
- * List of available MCP tools with their schemas
8468
- */
8469
- tools: Array<{
8470
- [key: string]: unknown;
8471
- }>;
8472
- /**
8473
- * Instructions
8474
- *
8475
- * 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.
8476
- */
8477
- instructions?: string | null;
8478
- };
8479
8461
  /**
8480
8462
  * MaterializeOp
8481
8463
  *
@@ -8812,6 +8794,86 @@ export type OAuthCallbackResponse = {
8812
8794
  */
8813
8795
  auto_sync_task_id?: string | null;
8814
8796
  };
8797
+ /**
8798
+ * OAuthGrantInfo
8799
+ *
8800
+ * A connected app: one OAuth consent for one client on one graph.
8801
+ */
8802
+ export type OAuthGrantInfo = {
8803
+ /**
8804
+ * Id
8805
+ *
8806
+ * Grant ID
8807
+ */
8808
+ id: string;
8809
+ /**
8810
+ * Client Name
8811
+ *
8812
+ * The connected client's display name
8813
+ */
8814
+ client_name: string;
8815
+ /**
8816
+ * Client Uri
8817
+ *
8818
+ * The client's homepage, if declared
8819
+ */
8820
+ client_uri?: string | null;
8821
+ /**
8822
+ * Client Is Trusted
8823
+ *
8824
+ * Whether the client is on the trusted list (pre-registered, or a known metadata-document host). Untrusted clients registered themselves.
8825
+ */
8826
+ client_is_trusted: boolean;
8827
+ /**
8828
+ * Graph Id
8829
+ *
8830
+ * The one graph this consent reaches
8831
+ */
8832
+ graph_id: string;
8833
+ /**
8834
+ * Graph Name
8835
+ *
8836
+ * The graph's display name, when the graph still exists
8837
+ */
8838
+ graph_name?: string | null;
8839
+ /**
8840
+ * Resource
8841
+ *
8842
+ * The MCP URL the grant's tokens are bound to (their audience)
8843
+ */
8844
+ resource: string;
8845
+ /**
8846
+ * Scope
8847
+ *
8848
+ * Granted scopes, space-separated
8849
+ */
8850
+ scope: string;
8851
+ /**
8852
+ * Created At
8853
+ *
8854
+ * When the user consented
8855
+ */
8856
+ created_at: string;
8857
+ /**
8858
+ * Last Used At
8859
+ *
8860
+ * Last token use, if any
8861
+ */
8862
+ last_used_at?: string | null;
8863
+ };
8864
+ /**
8865
+ * OAuthGrantsResponse
8866
+ *
8867
+ * Response model for listing connected apps.
8868
+ */
8869
+ export type OAuthGrantsResponse = {
8870
+ /**
8871
+ * Grants
8872
+ *
8873
+ * Active OAuth grants, newest first
8874
+ */
8875
+ grants: Array<OAuthGrantInfo>;
8876
+ };
8815
8877
  /**
8816
8878
  * OAuthInitRequest
8817
8879
  *
@@ -10479,6 +10541,51 @@ export type OperationEnvelopePublishListResponse = {
10479
10541
  */
10480
10542
  idempotentReplay?: boolean;
10481
10543
  };
10544
+ /**
10545
+ * OperationEnvelope[ReconcilingItemPlan]
10546
+ */
10547
+ export type OperationEnvelopeReconcilingItemPlan = {
10548
+ /**
10549
+ * Operation
10550
+ *
10551
+ * Kebab-case operation name
10552
+ */
10553
+ operation: string;
10554
+ /**
10555
+ * Operationid
10556
+ *
10557
+ * op_-prefixed ULID for audit and SSE correlation
10558
+ */
10559
+ operationId: string;
10560
+ /**
10561
+ * Status
10562
+ *
10563
+ * Operation lifecycle state
10564
+ */
10565
+ status: 'completed' | 'pending' | 'failed';
10566
+ /**
10567
+ * Command-specific result payload
10568
+ */
10569
+ result?: ReconcilingItemPlan | null;
10570
+ /**
10571
+ * At
10572
+ *
10573
+ * ISO-8601 UTC timestamp
10574
+ */
10575
+ at: string;
10576
+ /**
10577
+ * Createdby
10578
+ *
10579
+ * User ID that initiated the operation (null for legacy callers)
10580
+ */
10581
+ createdBy?: string | null;
10582
+ /**
10583
+ * Idempotentreplay
10584
+ *
10585
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
10586
+ */
10587
+ idempotentReplay?: boolean;
10588
+ };
10482
10589
  /**
10483
10590
  * OperationEnvelope[ReportResponse]
10484
10591
  */
@@ -10524,6 +10631,51 @@ export type OperationEnvelopeReportResponse = {
10524
10631
  */
10525
10632
  idempotentReplay?: boolean;
10526
10633
  };
10634
+ /**
10635
+ * OperationEnvelope[ResolveReconcilingItemResponse]
10636
+ */
10637
+ export type OperationEnvelopeResolveReconcilingItemResponse = {
10638
+ /**
10639
+ * Operation
10640
+ *
10641
+ * Kebab-case operation name
10642
+ */
10643
+ operation: string;
10644
+ /**
10645
+ * Operationid
10646
+ *
10647
+ * op_-prefixed ULID for audit and SSE correlation
10648
+ */
10649
+ operationId: string;
10650
+ /**
10651
+ * Status
10652
+ *
10653
+ * Operation lifecycle state
10654
+ */
10655
+ status: 'completed' | 'pending' | 'failed';
10656
+ /**
10657
+ * Command-specific result payload
10658
+ */
10659
+ result?: ResolveReconcilingItemResponse | null;
10660
+ /**
10661
+ * At
10662
+ *
10663
+ * ISO-8601 UTC timestamp
10664
+ */
10665
+ at: string;
10666
+ /**
10667
+ * Createdby
10668
+ *
10669
+ * User ID that initiated the operation (null for legacy callers)
10670
+ */
10671
+ createdBy?: string | null;
10672
+ /**
10673
+ * Idempotentreplay
10674
+ *
10675
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
10676
+ */
10677
+ idempotentReplay?: boolean;
10678
+ };
10527
10679
  /**
10528
10680
  * OperationEnvelope[RevokeReportShareResponse]
10529
10681
  */
@@ -12327,6 +12479,19 @@ export type PreviewEventBlockResponse = {
12327
12479
  [key: string]: unknown;
12328
12480
  };
12329
12481
  };
12482
+ /**
12483
+ * PreviewReconcilingItemRequest
12484
+ *
12485
+ * Read what changed on a reconciling item, and what resolving it would do.
12486
+ */
12487
+ export type PreviewReconcilingItemRequest = {
12488
+ /**
12489
+ * Event Id
12490
+ *
12491
+ * Event id (evt_ prefixed) to inspect
12492
+ */
12493
+ event_id: string;
12494
+ };
12330
12495
  /**
12331
12496
  * PromoteObligationsRequest
12332
12497
  *
@@ -12593,94 +12758,317 @@ export type RebuildScheduleRequest = {
12593
12758
  structure_id: string;
12594
12759
  };
12595
12760
  /**
12596
- * RecoveryCodesRequest
12761
+ * ReconcilingItemCatchUp
12597
12762
  *
12598
- * Re-authentication proof for regenerating recovery codes.
12763
+ * The catch-up entry a resolution posted.
12599
12764
  */
12600
- export type RecoveryCodesRequest = {
12765
+ export type ReconcilingItemCatchUp = {
12601
12766
  /**
12602
- * Password
12603
- *
12604
- * Current password (password-holding users)
12767
+ * Event Id
12605
12768
  */
12606
- password?: string | null;
12769
+ event_id: string;
12607
12770
  /**
12608
- * Assertion
12609
- *
12610
- * Fresh WebAuthn assertion from the re-auth ceremony
12771
+ * Entry Id
12611
12772
  */
12612
- assertion?: {
12613
- [key: string]: unknown;
12614
- } | null;
12615
- };
12616
- /**
12617
- * RecoveryCodesResponse
12618
- *
12619
- * A fresh recovery-code set — shown exactly once.
12620
- */
12621
- export type RecoveryCodesResponse = {
12773
+ entry_id?: string | null;
12622
12774
  /**
12623
- * Codes
12624
- *
12625
- * Single-use recovery codes
12775
+ * Transaction Id
12626
12776
  */
12627
- codes: Array<string>;
12777
+ transaction_id?: string | null;
12778
+ /**
12779
+ * Posting Date
12780
+ */
12781
+ posting_date: string;
12782
+ /**
12783
+ * Status
12784
+ */
12785
+ status: string;
12628
12786
  };
12629
12787
  /**
12630
- * RegenerateReportOperation
12788
+ * ReconcilingItemDeltaLine
12631
12789
  *
12632
- * Regenerate facts for an existing Report. Carries `report_id` from
12633
- * the path-style RPC body; period overrides are inherited from
12634
- * :class:`RegenerateReportRequest`.
12790
+ * One account's net change between the posted entries and the new payload.
12791
+ *
12792
+ * Amounts are signed minor units in debit-positive convention: a positive
12793
+ * figure is a net debit, a negative one a net credit. ``delta`` is what a
12794
+ * catch-up entry would post to bring the books level.
12635
12795
  */
12636
- export type RegenerateReportOperation = {
12796
+ export type ReconcilingItemDeltaLine = {
12637
12797
  /**
12638
- * Period Start
12798
+ * Element Id
12639
12799
  *
12640
- * New current-period start. Optional — omit to keep the existing window.
12800
+ * CoA element id; null when the account is unmapped
12641
12801
  */
12642
- period_start?: string | null;
12802
+ element_id?: string | null;
12643
12803
  /**
12644
- * Period End
12804
+ * Element External Id
12645
12805
  *
12646
- * New current-period end. Optional — omit to keep the existing window.
12806
+ * Source-system account id, when the line carried one
12647
12807
  */
12648
- period_end?: string | null;
12808
+ element_external_id?: string | null;
12649
12809
  /**
12650
- * Periods
12810
+ * Element Code
12651
12811
  *
12652
- * New explicit period columns. Overrides `period_start`/`period_end` when supplied.
12812
+ * Account code
12653
12813
  */
12654
- periods?: Array<PeriodSpec> | null;
12814
+ element_code?: string | null;
12655
12815
  /**
12656
- * Report Id
12816
+ * Element Name
12657
12817
  *
12658
- * The Report to regenerate.
12818
+ * Account name
12659
12819
  */
12660
- report_id: string;
12661
- };
12662
- /**
12663
- * RegisterRequest
12664
- *
12665
- * Registration request model.
12666
- */
12667
- export type RegisterRequest = {
12820
+ element_name?: string | null;
12668
12821
  /**
12669
- * Name
12822
+ * Prior Net
12670
12823
  *
12671
- * User's display name
12824
+ * Net of the posted entries, debit-positive
12672
12825
  */
12673
- name: string;
12826
+ prior_net: number;
12674
12827
  /**
12675
- * Email
12828
+ * Accepted Net
12676
12829
  *
12677
- * User's email address
12830
+ * Net of the new payload, debit-positive
12678
12831
  */
12679
- email: string;
12832
+ accepted_net: number;
12680
12833
  /**
12681
- * Password
12834
+ * Delta
12682
12835
  *
12683
- * User's password (must meet security requirements)
12836
+ * accepted_net - prior_net
12837
+ */
12838
+ delta: number;
12839
+ };
12840
+ /**
12841
+ * ReconcilingItemEntrySummary
12842
+ *
12843
+ * One entry on either side of the comparison.
12844
+ */
12845
+ export type ReconcilingItemEntrySummary = {
12846
+ /**
12847
+ * Entry Id
12848
+ *
12849
+ * Entry id; null for the accepted side, which is not posted yet
12850
+ */
12851
+ entry_id?: string | null;
12852
+ /**
12853
+ * External Id
12854
+ */
12855
+ external_id?: string | null;
12856
+ /**
12857
+ * Posting Date
12858
+ */
12859
+ posting_date?: string | null;
12860
+ /**
12861
+ * Memo
12862
+ */
12863
+ memo?: string | null;
12864
+ /**
12865
+ * Status
12866
+ *
12867
+ * Entry status; null on the accepted side
12868
+ */
12869
+ status?: string | null;
12870
+ /**
12871
+ * Total Debit
12872
+ */
12873
+ total_debit?: number;
12874
+ /**
12875
+ * Total Credit
12876
+ */
12877
+ total_credit?: number;
12878
+ };
12879
+ /**
12880
+ * ReconcilingItemPlan
12881
+ *
12882
+ * What changed upstream, and what each disposition would do about it.
12883
+ */
12884
+ export type ReconcilingItemPlan = {
12885
+ /**
12886
+ * Event Id
12887
+ */
12888
+ event_id: string;
12889
+ /**
12890
+ * External Id
12891
+ */
12892
+ external_id?: string | null;
12893
+ /**
12894
+ * Source
12895
+ */
12896
+ source: string;
12897
+ /**
12898
+ * Event Type
12899
+ */
12900
+ event_type: string;
12901
+ /**
12902
+ * Event Status
12903
+ */
12904
+ event_status: string;
12905
+ /**
12906
+ * Drift Detected At
12907
+ *
12908
+ * When the sync first saw this difference
12909
+ */
12910
+ drift_detected_at?: string | null;
12911
+ /**
12912
+ * Default Disposition
12913
+ *
12914
+ * What resolve would do with no disposition given: restate while every affected period is open, catch_up once one is closed.
12915
+ */
12916
+ default_disposition: 'restate' | 'catch_up' | 'acknowledge';
12917
+ /**
12918
+ * Default Posting Date
12919
+ *
12920
+ * Where a catch-up entry would land by default
12921
+ */
12922
+ default_posting_date?: string | null;
12923
+ /**
12924
+ * Affected Posting Dates
12925
+ *
12926
+ * Posting dates of the event's entries
12927
+ */
12928
+ affected_posting_dates?: Array<string>;
12929
+ /**
12930
+ * Closed Periods
12931
+ *
12932
+ * Names of closed periods the event's entries sit in
12933
+ */
12934
+ closed_periods?: Array<string>;
12935
+ /**
12936
+ * Prior Entries
12937
+ */
12938
+ prior_entries?: Array<ReconcilingItemEntrySummary>;
12939
+ /**
12940
+ * Accepted Entries
12941
+ */
12942
+ accepted_entries?: Array<ReconcilingItemEntrySummary>;
12943
+ /**
12944
+ * Delta
12945
+ *
12946
+ * Per-account net change; empty when none
12947
+ */
12948
+ delta?: Array<ReconcilingItemDeltaLine>;
12949
+ /**
12950
+ * No Gl Effect
12951
+ *
12952
+ * The change moves no money — a memo or reference edit. catch_up posts nothing; restate still regenerates so the entries carry the new text.
12953
+ */
12954
+ no_gl_effect?: boolean;
12955
+ /**
12956
+ * Restate Blockers
12957
+ *
12958
+ * 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.
12959
+ */
12960
+ restate_blockers?: Array<string>;
12961
+ /**
12962
+ * Unmapped Element External Ids
12963
+ *
12964
+ * Accounts in the new payload with no mapping in this graph. Both dispositions that write need them mapped first.
12965
+ */
12966
+ unmapped_element_external_ids?: Array<string>;
12967
+ };
12968
+ /**
12969
+ * ReconcilingItemRegenerated
12970
+ *
12971
+ * The entries a restate rebuilt.
12972
+ */
12973
+ export type ReconcilingItemRegenerated = {
12974
+ /**
12975
+ * Transaction Ids
12976
+ */
12977
+ transaction_ids?: Array<string>;
12978
+ /**
12979
+ * Entry Ids
12980
+ */
12981
+ entry_ids?: Array<string>;
12982
+ };
12983
+ /**
12984
+ * RecoveryCodesRequest
12985
+ *
12986
+ * Re-authentication proof for regenerating recovery codes.
12987
+ */
12988
+ export type RecoveryCodesRequest = {
12989
+ /**
12990
+ * Password
12991
+ *
12992
+ * Current password (password-holding users)
12993
+ */
12994
+ password?: string | null;
12995
+ /**
12996
+ * Assertion
12997
+ *
12998
+ * Fresh WebAuthn assertion from the re-auth ceremony
12999
+ */
13000
+ assertion?: {
13001
+ [key: string]: unknown;
13002
+ } | null;
13003
+ };
13004
+ /**
13005
+ * RecoveryCodesResponse
13006
+ *
13007
+ * A fresh recovery-code set — shown exactly once.
13008
+ */
13009
+ export type RecoveryCodesResponse = {
13010
+ /**
13011
+ * Codes
13012
+ *
13013
+ * Single-use recovery codes
13014
+ */
13015
+ codes: Array<string>;
13016
+ };
13017
+ /**
13018
+ * RegenerateReportOperation
13019
+ *
13020
+ * Regenerate facts for an existing Report. Carries `report_id` from
13021
+ * the path-style RPC body; period overrides are inherited from
13022
+ * :class:`RegenerateReportRequest`.
13023
+ */
13024
+ export type RegenerateReportOperation = {
13025
+ /**
13026
+ * Period Start
13027
+ *
13028
+ * New current-period start. Optional — omit to keep the existing window.
13029
+ */
13030
+ period_start?: string | null;
13031
+ /**
13032
+ * Period End
13033
+ *
13034
+ * New current-period end. Optional — omit to keep the existing window.
13035
+ */
13036
+ period_end?: string | null;
13037
+ /**
13038
+ * Periods
13039
+ *
13040
+ * New explicit period columns. Overrides `period_start`/`period_end` when supplied.
13041
+ */
13042
+ periods?: Array<PeriodSpec> | null;
13043
+ /**
13044
+ * Report Id
13045
+ *
13046
+ * The Report to regenerate.
13047
+ */
13048
+ report_id: string;
13049
+ };
13050
+ /**
13051
+ * RegisterRequest
13052
+ *
13053
+ * Registration request model.
13054
+ */
13055
+ export type RegisterRequest = {
13056
+ /**
13057
+ * Name
13058
+ *
13059
+ * User's display name
13060
+ */
13061
+ name: string;
13062
+ /**
13063
+ * Email
13064
+ *
13065
+ * User's email address
13066
+ */
13067
+ email: string;
13068
+ /**
13069
+ * Password
13070
+ *
13071
+ * User's password (must meet security requirements)
12684
13072
  */
12685
13073
  password: string;
12686
13074
  /**
@@ -13167,6 +13555,100 @@ export type ResetPasswordValidateResponse = {
13167
13555
  */
13168
13556
  email?: string | null;
13169
13557
  };
13558
+ /**
13559
+ * ResolveReconcilingItemRequest
13560
+ *
13561
+ * Dispose of one reconciling item and clear its flag.
13562
+ */
13563
+ export type ResolveReconcilingItemRequest = {
13564
+ /**
13565
+ * Event Id
13566
+ *
13567
+ * Event id (evt_ prefixed) to resolve
13568
+ */
13569
+ event_id: string;
13570
+ /**
13571
+ * Disposition
13572
+ *
13573
+ * 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.
13574
+ */
13575
+ disposition?: 'restate' | 'catch_up' | 'acknowledge' | null;
13576
+ /**
13577
+ * Posting Date
13578
+ *
13579
+ * catch_up only: when to post the catch-up entry. Defaults to the end of the earliest open period.
13580
+ */
13581
+ posting_date?: string | null;
13582
+ /**
13583
+ * Status
13584
+ *
13585
+ * 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.
13586
+ */
13587
+ status?: 'draft' | 'posted';
13588
+ /**
13589
+ * Note
13590
+ *
13591
+ * Why this disposition. Required for acknowledge, where it is the only record of what was done instead.
13592
+ */
13593
+ note?: string | null;
13594
+ /**
13595
+ * Reference Event Id
13596
+ *
13597
+ * acknowledge only: the event that already handled this difference (e.g. an alignment entry authored by hand), recorded on the trail.
13598
+ */
13599
+ reference_event_id?: string | null;
13600
+ };
13601
+ /**
13602
+ * ResolveReconcilingItemResponse
13603
+ *
13604
+ * The outcome of resolving one reconciling item.
13605
+ */
13606
+ export type ResolveReconcilingItemResponse = {
13607
+ /**
13608
+ * Event Id
13609
+ */
13610
+ event_id: string;
13611
+ /**
13612
+ * External Id
13613
+ */
13614
+ external_id?: string | null;
13615
+ /**
13616
+ * Disposition
13617
+ */
13618
+ disposition: 'restate' | 'catch_up' | 'acknowledge';
13619
+ /**
13620
+ * Delta
13621
+ */
13622
+ delta?: Array<ReconcilingItemDeltaLine>;
13623
+ /**
13624
+ * No Gl Effect
13625
+ */
13626
+ no_gl_effect?: boolean;
13627
+ /**
13628
+ * Present when the disposition posted a catch-up entry
13629
+ */
13630
+ catch_up?: ReconcilingItemCatchUp | null;
13631
+ /**
13632
+ * Present when the disposition rebuilt the event's entries
13633
+ */
13634
+ regenerated?: ReconcilingItemRegenerated | null;
13635
+ /**
13636
+ * Reference Event Id
13637
+ */
13638
+ reference_event_id?: string | null;
13639
+ /**
13640
+ * Note
13641
+ */
13642
+ note?: string | null;
13643
+ /**
13644
+ * Resolved At
13645
+ */
13646
+ resolved_at: string;
13647
+ /**
13648
+ * Resolved By
13649
+ */
13650
+ resolved_by: string;
13651
+ };
13170
13652
  /**
13171
13653
  * ResolvedReportInfo
13172
13654
  *
@@ -18463,9 +18945,103 @@ export type CreateUserApiKeyData = {
18463
18945
  body: CreateApiKeyRequest;
18464
18946
  path?: never;
18465
18947
  query?: never;
18466
- url: '/v1/user/api-keys';
18948
+ url: '/v1/user/api-keys';
18949
+ };
18950
+ export type CreateUserApiKeyErrors = {
18951
+ /**
18952
+ * Invalid request
18953
+ */
18954
+ 400: ErrorResponse;
18955
+ /**
18956
+ * Authentication required
18957
+ */
18958
+ 401: ErrorResponse;
18959
+ /**
18960
+ * Access denied
18961
+ */
18962
+ 403: ErrorResponse;
18963
+ /**
18964
+ * Validation Error
18965
+ */
18966
+ 422: HttpValidationError;
18967
+ /**
18968
+ * Rate limit exceeded
18969
+ */
18970
+ 429: ErrorResponse;
18971
+ /**
18972
+ * Internal server error
18973
+ */
18974
+ 500: ErrorResponse;
18975
+ };
18976
+ export type CreateUserApiKeyError = CreateUserApiKeyErrors[keyof CreateUserApiKeyErrors];
18977
+ export type CreateUserApiKeyResponses = {
18978
+ /**
18979
+ * Successful Response
18980
+ */
18981
+ 201: CreateApiKeyResponse;
18982
+ };
18983
+ export type CreateUserApiKeyResponse = CreateUserApiKeyResponses[keyof CreateUserApiKeyResponses];
18984
+ export type RevokeUserApiKeyData = {
18985
+ body?: never;
18986
+ path: {
18987
+ /**
18988
+ * Api Key Id
18989
+ */
18990
+ api_key_id: string;
18991
+ };
18992
+ query?: never;
18993
+ url: '/v1/user/api-keys/{api_key_id}';
18994
+ };
18995
+ export type RevokeUserApiKeyErrors = {
18996
+ /**
18997
+ * Invalid request
18998
+ */
18999
+ 400: ErrorResponse;
19000
+ /**
19001
+ * Authentication required
19002
+ */
19003
+ 401: ErrorResponse;
19004
+ /**
19005
+ * Access denied
19006
+ */
19007
+ 403: ErrorResponse;
19008
+ /**
19009
+ * Resource not found
19010
+ */
19011
+ 404: ErrorResponse;
19012
+ /**
19013
+ * Validation Error
19014
+ */
19015
+ 422: HttpValidationError;
19016
+ /**
19017
+ * Rate limit exceeded
19018
+ */
19019
+ 429: ErrorResponse;
19020
+ /**
19021
+ * Internal server error
19022
+ */
19023
+ 500: ErrorResponse;
19024
+ };
19025
+ export type RevokeUserApiKeyError = RevokeUserApiKeyErrors[keyof RevokeUserApiKeyErrors];
19026
+ export type RevokeUserApiKeyResponses = {
19027
+ /**
19028
+ * Successful Response
19029
+ */
19030
+ 200: SuccessResponse;
19031
+ };
19032
+ export type RevokeUserApiKeyResponse = RevokeUserApiKeyResponses[keyof RevokeUserApiKeyResponses];
19033
+ export type UpdateUserApiKeyData = {
19034
+ body: UpdateApiKeyRequest;
19035
+ path: {
19036
+ /**
19037
+ * Api Key Id
19038
+ */
19039
+ api_key_id: string;
19040
+ };
19041
+ query?: never;
19042
+ url: '/v1/user/api-keys/{api_key_id}';
18467
19043
  };
18468
- export type CreateUserApiKeyErrors = {
19044
+ export type UpdateUserApiKeyErrors = {
18469
19045
  /**
18470
19046
  * Invalid request
18471
19047
  */
@@ -18478,6 +19054,10 @@ export type CreateUserApiKeyErrors = {
18478
19054
  * Access denied
18479
19055
  */
18480
19056
  403: ErrorResponse;
19057
+ /**
19058
+ * Resource not found
19059
+ */
19060
+ 404: ErrorResponse;
18481
19061
  /**
18482
19062
  * Validation Error
18483
19063
  */
@@ -18491,26 +19071,21 @@ export type CreateUserApiKeyErrors = {
18491
19071
  */
18492
19072
  500: ErrorResponse;
18493
19073
  };
18494
- export type CreateUserApiKeyError = CreateUserApiKeyErrors[keyof CreateUserApiKeyErrors];
18495
- export type CreateUserApiKeyResponses = {
19074
+ export type UpdateUserApiKeyError = UpdateUserApiKeyErrors[keyof UpdateUserApiKeyErrors];
19075
+ export type UpdateUserApiKeyResponses = {
18496
19076
  /**
18497
19077
  * Successful Response
18498
19078
  */
18499
- 201: CreateApiKeyResponse;
19079
+ 200: ApiKeyInfo;
18500
19080
  };
18501
- export type CreateUserApiKeyResponse = CreateUserApiKeyResponses[keyof CreateUserApiKeyResponses];
18502
- export type RevokeUserApiKeyData = {
19081
+ export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
19082
+ export type ListUserOAuthGrantsData = {
18503
19083
  body?: never;
18504
- path: {
18505
- /**
18506
- * Api Key Id
18507
- */
18508
- api_key_id: string;
18509
- };
19084
+ path?: never;
18510
19085
  query?: never;
18511
- url: '/v1/user/api-keys/{api_key_id}';
19086
+ url: '/v1/user/oauth/grants';
18512
19087
  };
18513
- export type RevokeUserApiKeyErrors = {
19088
+ export type ListUserOAuthGrantsErrors = {
18514
19089
  /**
18515
19090
  * Invalid request
18516
19091
  */
@@ -18523,14 +19098,6 @@ export type RevokeUserApiKeyErrors = {
18523
19098
  * Access denied
18524
19099
  */
18525
19100
  403: ErrorResponse;
18526
- /**
18527
- * Resource not found
18528
- */
18529
- 404: ErrorResponse;
18530
- /**
18531
- * Validation Error
18532
- */
18533
- 422: HttpValidationError;
18534
19101
  /**
18535
19102
  * Rate limit exceeded
18536
19103
  */
@@ -18540,26 +19107,26 @@ export type RevokeUserApiKeyErrors = {
18540
19107
  */
18541
19108
  500: ErrorResponse;
18542
19109
  };
18543
- export type RevokeUserApiKeyError = RevokeUserApiKeyErrors[keyof RevokeUserApiKeyErrors];
18544
- export type RevokeUserApiKeyResponses = {
19110
+ export type ListUserOAuthGrantsError = ListUserOAuthGrantsErrors[keyof ListUserOAuthGrantsErrors];
19111
+ export type ListUserOAuthGrantsResponses = {
18545
19112
  /**
18546
19113
  * Successful Response
18547
19114
  */
18548
- 200: SuccessResponse;
19115
+ 200: OAuthGrantsResponse;
18549
19116
  };
18550
- export type RevokeUserApiKeyResponse = RevokeUserApiKeyResponses[keyof RevokeUserApiKeyResponses];
18551
- export type UpdateUserApiKeyData = {
18552
- body: UpdateApiKeyRequest;
19117
+ export type ListUserOAuthGrantsResponse = ListUserOAuthGrantsResponses[keyof ListUserOAuthGrantsResponses];
19118
+ export type RevokeUserOAuthGrantData = {
19119
+ body?: never;
18553
19120
  path: {
18554
19121
  /**
18555
- * Api Key Id
19122
+ * Grant Id
18556
19123
  */
18557
- api_key_id: string;
19124
+ grant_id: string;
18558
19125
  };
18559
19126
  query?: never;
18560
- url: '/v1/user/api-keys/{api_key_id}';
19127
+ url: '/v1/user/oauth/grants/{grant_id}';
18561
19128
  };
18562
- export type UpdateUserApiKeyErrors = {
19129
+ export type RevokeUserOAuthGrantErrors = {
18563
19130
  /**
18564
19131
  * Invalid request
18565
19132
  */
@@ -18589,14 +19156,14 @@ export type UpdateUserApiKeyErrors = {
18589
19156
  */
18590
19157
  500: ErrorResponse;
18591
19158
  };
18592
- export type UpdateUserApiKeyError = UpdateUserApiKeyErrors[keyof UpdateUserApiKeyErrors];
18593
- export type UpdateUserApiKeyResponses = {
19159
+ export type RevokeUserOAuthGrantError = RevokeUserOAuthGrantErrors[keyof RevokeUserOAuthGrantErrors];
19160
+ export type RevokeUserOAuthGrantResponses = {
18594
19161
  /**
18595
19162
  * Successful Response
18596
19163
  */
18597
- 200: ApiKeyInfo;
19164
+ 200: SuccessResponse;
18598
19165
  };
18599
- export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
19166
+ export type RevokeUserOAuthGrantResponse = RevokeUserOAuthGrantResponses[keyof RevokeUserOAuthGrantResponses];
18600
19167
  export type ListUserOrgsData = {
18601
19168
  body?: never;
18602
19169
  path?: never;
@@ -20005,128 +20572,6 @@ export type ExecuteSpecificOperatorResponses = {
20005
20572
  202: unknown;
20006
20573
  };
20007
20574
  export type ExecuteSpecificOperatorResponse = ExecuteSpecificOperatorResponses[keyof ExecuteSpecificOperatorResponses];
20008
- export type ListMcpToolsData = {
20009
- body?: never;
20010
- path: {
20011
- /**
20012
- * Graph Id
20013
- */
20014
- graph_id: string;
20015
- };
20016
- query?: never;
20017
- url: '/v1/graphs/{graph_id}/mcp/tools';
20018
- };
20019
- export type ListMcpToolsErrors = {
20020
- /**
20021
- * Invalid request
20022
- */
20023
- 400: ErrorResponse;
20024
- /**
20025
- * Authentication required
20026
- */
20027
- 401: ErrorResponse;
20028
- /**
20029
- * Access denied
20030
- */
20031
- 403: ErrorResponse;
20032
- /**
20033
- * Resource not found
20034
- */
20035
- 404: ErrorResponse;
20036
- /**
20037
- * Validation Error
20038
- */
20039
- 422: HttpValidationError;
20040
- /**
20041
- * Rate limit exceeded
20042
- */
20043
- 429: ErrorResponse;
20044
- /**
20045
- * Internal server error
20046
- */
20047
- 500: ErrorResponse;
20048
- };
20049
- export type ListMcpToolsError = ListMcpToolsErrors[keyof ListMcpToolsErrors];
20050
- export type ListMcpToolsResponses = {
20051
- /**
20052
- * Successful Response
20053
- */
20054
- 200: McpToolsResponse;
20055
- };
20056
- export type ListMcpToolsResponse = ListMcpToolsResponses[keyof ListMcpToolsResponses];
20057
- export type CallMcpToolData = {
20058
- body: McpToolCall;
20059
- path: {
20060
- /**
20061
- * Graph Id
20062
- */
20063
- graph_id: string;
20064
- };
20065
- query?: {
20066
- /**
20067
- * Format
20068
- *
20069
- * Response format override (json, sse, ndjson)
20070
- */
20071
- format?: string | null;
20072
- /**
20073
- * Test Mode
20074
- *
20075
- * Enable test mode for debugging
20076
- */
20077
- test_mode?: boolean;
20078
- };
20079
- url: '/v1/graphs/{graph_id}/mcp/call-tool';
20080
- };
20081
- export type CallMcpToolErrors = {
20082
- /**
20083
- * Invalid request
20084
- */
20085
- 400: ErrorResponse;
20086
- /**
20087
- * Authentication required
20088
- */
20089
- 401: ErrorResponse;
20090
- /**
20091
- * Access denied
20092
- */
20093
- 403: ErrorResponse;
20094
- /**
20095
- * Resource not found
20096
- */
20097
- 404: ErrorResponse;
20098
- /**
20099
- * Execution timeout
20100
- */
20101
- 408: unknown;
20102
- /**
20103
- * Validation Error
20104
- */
20105
- 422: HttpValidationError;
20106
- /**
20107
- * Rate limit exceeded
20108
- */
20109
- 429: ErrorResponse;
20110
- /**
20111
- * Internal server error
20112
- */
20113
- 500: ErrorResponse;
20114
- /**
20115
- * Service unavailable
20116
- */
20117
- 503: unknown;
20118
- };
20119
- export type CallMcpToolError = CallMcpToolErrors[keyof CallMcpToolErrors];
20120
- export type CallMcpToolResponses = {
20121
- /**
20122
- * Successful Response
20123
- */
20124
- 200: unknown;
20125
- /**
20126
- * Tool queued for execution
20127
- */
20128
- 202: unknown;
20129
- };
20130
20575
  export type ListBackupsData = {
20131
20576
  body?: never;
20132
20577
  path: {
@@ -25512,6 +25957,124 @@ export type PreviewEventBlockResponses = {
25512
25957
  200: OperationEnvelopePreviewEventBlockResponse;
25513
25958
  };
25514
25959
  export type PreviewEventBlockResponse2 = PreviewEventBlockResponses[keyof PreviewEventBlockResponses];
25960
+ export type PreviewReconcilingItemData = {
25961
+ body: PreviewReconcilingItemRequest;
25962
+ headers?: {
25963
+ /**
25964
+ * Idempotency-Key
25965
+ */
25966
+ 'Idempotency-Key'?: string | null;
25967
+ };
25968
+ path: {
25969
+ /**
25970
+ * Graph Id
25971
+ */
25972
+ graph_id: string;
25973
+ };
25974
+ query?: never;
25975
+ url: '/extensions/roboledger/{graph_id}/operations/preview-reconciling-item';
25976
+ };
25977
+ export type PreviewReconcilingItemErrors = {
25978
+ /**
25979
+ * Invalid request
25980
+ */
25981
+ 400: ErrorResponse;
25982
+ /**
25983
+ * Authentication required
25984
+ */
25985
+ 401: ErrorResponse;
25986
+ /**
25987
+ * Access denied
25988
+ */
25989
+ 403: ErrorResponse;
25990
+ /**
25991
+ * Resource not found
25992
+ */
25993
+ 404: ErrorResponse;
25994
+ /**
25995
+ * Idempotency-Key conflict — key reused with different body
25996
+ */
25997
+ 409: ErrorResponse;
25998
+ /**
25999
+ * Validation error
26000
+ */
26001
+ 422: ErrorResponse;
26002
+ /**
26003
+ * Rate limit exceeded
26004
+ */
26005
+ 429: ErrorResponse;
26006
+ /**
26007
+ * Internal server error
26008
+ */
26009
+ 500: ErrorResponse;
26010
+ };
26011
+ export type PreviewReconcilingItemError = PreviewReconcilingItemErrors[keyof PreviewReconcilingItemErrors];
26012
+ export type PreviewReconcilingItemResponses = {
26013
+ /**
26014
+ * Successful Response
26015
+ */
26016
+ 200: OperationEnvelopeReconcilingItemPlan;
26017
+ };
26018
+ export type PreviewReconcilingItemResponse = PreviewReconcilingItemResponses[keyof PreviewReconcilingItemResponses];
26019
+ export type ResolveReconcilingItemData = {
26020
+ body: ResolveReconcilingItemRequest;
26021
+ headers?: {
26022
+ /**
26023
+ * Idempotency-Key
26024
+ */
26025
+ 'Idempotency-Key'?: string | null;
26026
+ };
26027
+ path: {
26028
+ /**
26029
+ * Graph Id
26030
+ */
26031
+ graph_id: string;
26032
+ };
26033
+ query?: never;
26034
+ url: '/extensions/roboledger/{graph_id}/operations/resolve-reconciling-item';
26035
+ };
26036
+ export type ResolveReconcilingItemErrors = {
26037
+ /**
26038
+ * Invalid request
26039
+ */
26040
+ 400: ErrorResponse;
26041
+ /**
26042
+ * Authentication required
26043
+ */
26044
+ 401: ErrorResponse;
26045
+ /**
26046
+ * Access denied
26047
+ */
26048
+ 403: ErrorResponse;
26049
+ /**
26050
+ * Resource not found
26051
+ */
26052
+ 404: ErrorResponse;
26053
+ /**
26054
+ * Idempotency-Key conflict — key reused with different body
26055
+ */
26056
+ 409: ErrorResponse;
26057
+ /**
26058
+ * Validation error
26059
+ */
26060
+ 422: ErrorResponse;
26061
+ /**
26062
+ * Rate limit exceeded
26063
+ */
26064
+ 429: ErrorResponse;
26065
+ /**
26066
+ * Internal server error
26067
+ */
26068
+ 500: ErrorResponse;
26069
+ };
26070
+ export type ResolveReconcilingItemError = ResolveReconcilingItemErrors[keyof ResolveReconcilingItemErrors];
26071
+ export type ResolveReconcilingItemResponses = {
26072
+ /**
26073
+ * Successful Response
26074
+ */
26075
+ 200: OperationEnvelopeResolveReconcilingItemResponse;
26076
+ };
26077
+ export type ResolveReconcilingItemResponse2 = ResolveReconcilingItemResponses[keyof ResolveReconcilingItemResponses];
25515
26078
  export type UpdateJournalEntryData = {
25516
26079
  body: UpdateJournalEntryRequest;
25517
26080
  headers?: {