@robosystems/client 2.18.0 → 2.19.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.
@@ -351,6 +351,55 @@ export type AgentClassification = {
351
351
  */
352
352
  learned_from?: string | null;
353
353
  };
354
+ /**
355
+ * AllocationOverrideResponse
356
+ *
357
+ * A member's allocation override for one month.
358
+ */
359
+ export type AllocationOverrideResponse = {
360
+ /**
361
+ * Entity Id
362
+ *
363
+ * The member.
364
+ */
365
+ entity_id: string;
366
+ /**
367
+ * Period
368
+ *
369
+ * The month, as YYYY-MM.
370
+ */
371
+ period: string;
372
+ /**
373
+ * Amount
374
+ *
375
+ * The share, in cents, when set so.
376
+ */
377
+ amount?: number | null;
378
+ /**
379
+ * Percentage
380
+ *
381
+ * The share as a percentage, when set so.
382
+ */
383
+ percentage?: number | null;
384
+ /**
385
+ * Basis
386
+ *
387
+ * Why it differs from pro rata.
388
+ */
389
+ basis?: string | null;
390
+ /**
391
+ * Set By
392
+ *
393
+ * Who set it.
394
+ */
395
+ set_by?: string | null;
396
+ /**
397
+ * Cleared
398
+ *
399
+ * True when the override was removed.
400
+ */
401
+ cleared?: boolean;
402
+ };
354
403
  /**
355
404
  * AnalyticalStatementFactRow
356
405
  *
@@ -2532,6 +2581,174 @@ export type ConnectionResponse = {
2532
2581
  [key: string]: unknown;
2533
2582
  };
2534
2583
  };
2584
+ /**
2585
+ * ConsolidationProposal
2586
+ *
2587
+ * One consolidating entry the month needs: the difference between the
2588
+ * balance this kind of adjustment should hold for the member at the month
2589
+ * end and what the consolidation entity already holds for it.
2590
+ */
2591
+ export type ConsolidationProposal = {
2592
+ /**
2593
+ * Adjustment Kind
2594
+ *
2595
+ * What the entry adjusts.
2596
+ */
2597
+ adjustment_kind: 'elimination_investment' | 'elimination_intercompany' | 'elimination_unrealized_profit' | 'nci_allocation' | 'nci_distribution' | 'equity_method_pickup' | 'equity_method_distribution' | 'acquisition' | 'deconsolidation' | 'translation' | 'manual';
2598
+ /**
2599
+ * Adjusts Entity Id
2600
+ *
2601
+ * The entity whose figures the entry adjusts.
2602
+ */
2603
+ adjusts_entity_id: string;
2604
+ /**
2605
+ * Adjusts Entity Name
2606
+ *
2607
+ * That entity's name.
2608
+ */
2609
+ adjusts_entity_name: string;
2610
+ /**
2611
+ * Posting Date
2612
+ *
2613
+ * The month's last day.
2614
+ */
2615
+ posting_date: string;
2616
+ /**
2617
+ * Memo
2618
+ *
2619
+ * The entry's memo.
2620
+ */
2621
+ memo: string;
2622
+ /**
2623
+ * Basis
2624
+ *
2625
+ * How the amounts were computed.
2626
+ */
2627
+ basis: string;
2628
+ /**
2629
+ * Lines
2630
+ *
2631
+ * The entry's lines; they balance.
2632
+ */
2633
+ lines: Array<ConsolidationProposalLine>;
2634
+ };
2635
+ /**
2636
+ * ConsolidationProposalLine
2637
+ *
2638
+ * One line of a proposed consolidating entry, in the consolidation
2639
+ * entity's chart.
2640
+ */
2641
+ export type ConsolidationProposalLine = {
2642
+ /**
2643
+ * Element Id
2644
+ *
2645
+ * The consolidation entity's account.
2646
+ */
2647
+ element_id: string;
2648
+ /**
2649
+ * Account Name
2650
+ *
2651
+ * The account's name.
2652
+ */
2653
+ account_name: string;
2654
+ /**
2655
+ * Concept
2656
+ *
2657
+ * The rs-gaap concept the account maps to.
2658
+ */
2659
+ concept: string;
2660
+ /**
2661
+ * Debit Amount
2662
+ *
2663
+ * Debit, in cents.
2664
+ */
2665
+ debit_amount?: number;
2666
+ /**
2667
+ * Credit Amount
2668
+ *
2669
+ * Credit, in cents.
2670
+ */
2671
+ credit_amount?: number;
2672
+ /**
2673
+ * Flow Qname
2674
+ *
2675
+ * The cash flow row the line offsets, when it eliminates one: the row the member's own line produced, so the consolidated cash flow nets it.
2676
+ */
2677
+ flow_qname?: string | null;
2678
+ };
2679
+ /**
2680
+ * ConsolidationReconcilingItem
2681
+ *
2682
+ * Two of the group's entities whose intercompany figures do not agree.
2683
+ * The lower amount is eliminated where one side matches the other; what is
2684
+ * left stays in the consolidated statements until the books agree.
2685
+ */
2686
+ export type ConsolidationReconcilingItem = {
2687
+ /**
2688
+ * Entity Ids
2689
+ *
2690
+ * The two entities.
2691
+ */
2692
+ entity_ids: Array<string>;
2693
+ /**
2694
+ * Concept
2695
+ *
2696
+ * The rs-gaap concept left uneliminated.
2697
+ */
2698
+ concept: string;
2699
+ /**
2700
+ * Entity Id
2701
+ *
2702
+ * The entity whose figure is left.
2703
+ */
2704
+ entity_id: string;
2705
+ /**
2706
+ * Amount
2707
+ *
2708
+ * Cents left uneliminated, debit-positive.
2709
+ */
2710
+ amount: number;
2711
+ /**
2712
+ * Description
2713
+ *
2714
+ * What does not agree.
2715
+ */
2716
+ description: string;
2717
+ };
2718
+ /**
2719
+ * ConsolidationResidual
2720
+ *
2721
+ * A difference the engine cannot eliminate on its own: the parent's
2722
+ * investment in a member against the parent's share of that member's
2723
+ * capital. Its entry is withheld until the difference is explained or
2724
+ * posted by hand with a basis; it is never plugged.
2725
+ */
2726
+ export type ConsolidationResidual = {
2727
+ /**
2728
+ * Entity Id
2729
+ *
2730
+ * The member.
2731
+ */
2732
+ entity_id: string;
2733
+ /**
2734
+ * Entity Name
2735
+ *
2736
+ * The member's name.
2737
+ */
2738
+ entity_name: string;
2739
+ /**
2740
+ * Amount
2741
+ *
2742
+ * Cents: the parent's investment balance less its share of the member's capital. Positive when the parent carries more than its share.
2743
+ */
2744
+ amount: number;
2745
+ /**
2746
+ * Explanation
2747
+ *
2748
+ * What the two figures are.
2749
+ */
2750
+ explanation: string;
2751
+ };
2535
2752
  /**
2536
2753
  * ConsolidationWorksheetRequest
2537
2754
  *
@@ -8874,7 +9091,7 @@ export type JournalEntryLineItemInput = {
8874
9091
  /**
8875
9092
  * Flow Qname
8876
9093
  *
8877
- * The cash flow row this line's cash belongs to, an rs-gaap flow qname (`flowCandidates(entityId)` lists the rows this company's statement offers). Only for a loan drawn or repaid, capital put in or taken out, an asset bought or sold; omitted, the account's default flow applies. A flow set on one side of the entry tags the untagged lines on the other: the cash flow statement reads the cash line and the roll-forwards read the account line. On the group's consolidation entity, which moves no cash, every tagged line counts on its own, cash-effect signed (a credit is an inflow), so an elimination offsets the flow a member's line produced. Refused when it is not a row of the entity's cash flow statement.
9094
+ * The cash flow row this line's cash belongs to, an rs-gaap flow qname (`flowCandidates(entityId)` lists the rows this company's statement offers). Only for a loan drawn or repaid, capital put in or taken out, an asset bought or sold; omitted, the account's default flow applies. A flow set on one side of the entry tags the untagged lines on the other: the cash flow statement reads the cash line and the roll-forwards read the account line. On the group's consolidation entity, which moves no cash, every tagged line counts on its own, cash-effect signed (a credit is an inflow), so an elimination offsets the flow a member's line produced, and a tag does not spread to the other side. Refused when it is not a row of the entity's cash flow statement.
8878
9095
  */
8879
9096
  flow_qname?: string | null;
8880
9097
  /**
@@ -8977,6 +9194,14 @@ export type JournalEntryResponse = {
8977
9194
  * Total Credit
8978
9195
  */
8979
9196
  total_credit: number;
9197
+ /**
9198
+ * Adjustment Kind
9199
+ */
9200
+ adjustment_kind?: string | null;
9201
+ /**
9202
+ * Adjusts Entity Id
9203
+ */
9204
+ adjusts_entity_id?: string | null;
8980
9205
  };
8981
9206
  /**
8982
9207
  * LearnClassificationDefaultsRequest
@@ -10957,6 +11182,51 @@ export type OperationEnvelopeAcceptSuggestionsResponse = {
10957
11182
  */
10958
11183
  idempotentReplay?: boolean;
10959
11184
  };
11185
+ /**
11186
+ * OperationEnvelope[AllocationOverrideResponse]
11187
+ */
11188
+ export type OperationEnvelopeAllocationOverrideResponse = {
11189
+ /**
11190
+ * Operation
11191
+ *
11192
+ * Kebab-case operation name
11193
+ */
11194
+ operation: string;
11195
+ /**
11196
+ * Operationid
11197
+ *
11198
+ * op_-prefixed ULID for audit and SSE correlation
11199
+ */
11200
+ operationId: string;
11201
+ /**
11202
+ * Status
11203
+ *
11204
+ * Operation lifecycle state
11205
+ */
11206
+ status: 'completed' | 'pending' | 'failed';
11207
+ /**
11208
+ * Command-specific result payload
11209
+ */
11210
+ result?: AllocationOverrideResponse | null;
11211
+ /**
11212
+ * At
11213
+ *
11214
+ * ISO-8601 UTC timestamp
11215
+ */
11216
+ at: string;
11217
+ /**
11218
+ * Createdby
11219
+ *
11220
+ * User ID that initiated the operation
11221
+ */
11222
+ createdBy?: string | null;
11223
+ /**
11224
+ * Idempotentreplay
11225
+ *
11226
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
11227
+ */
11228
+ idempotentReplay?: boolean;
11229
+ };
10960
11230
  /**
10961
11231
  * OperationEnvelope[AssertMetricsResponse]
10962
11232
  */
@@ -12622,6 +12892,51 @@ export type OperationEnvelopePortfolioBlockEnvelope = {
12622
12892
  */
12623
12893
  idempotentReplay?: boolean;
12624
12894
  };
12895
+ /**
12896
+ * OperationEnvelope[PreviewConsolidationEntriesResponse]
12897
+ */
12898
+ export type OperationEnvelopePreviewConsolidationEntriesResponse = {
12899
+ /**
12900
+ * Operation
12901
+ *
12902
+ * Kebab-case operation name
12903
+ */
12904
+ operation: string;
12905
+ /**
12906
+ * Operationid
12907
+ *
12908
+ * op_-prefixed ULID for audit and SSE correlation
12909
+ */
12910
+ operationId: string;
12911
+ /**
12912
+ * Status
12913
+ *
12914
+ * Operation lifecycle state
12915
+ */
12916
+ status: 'completed' | 'pending' | 'failed';
12917
+ /**
12918
+ * Command-specific result payload
12919
+ */
12920
+ result?: PreviewConsolidationEntriesResponse | null;
12921
+ /**
12922
+ * At
12923
+ *
12924
+ * ISO-8601 UTC timestamp
12925
+ */
12926
+ at: string;
12927
+ /**
12928
+ * Createdby
12929
+ *
12930
+ * User ID that initiated the operation
12931
+ */
12932
+ createdBy?: string | null;
12933
+ /**
12934
+ * Idempotentreplay
12935
+ *
12936
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
12937
+ */
12938
+ idempotentReplay?: boolean;
12939
+ };
12625
12940
  /**
12626
12941
  * OperationEnvelope[PreviewEventBlockResponse]
12627
12942
  */
@@ -12713,9 +13028,9 @@ export type OperationEnvelopePromoteObligationsResponse = {
12713
13028
  idempotentReplay?: boolean;
12714
13029
  };
12715
13030
  /**
12716
- * OperationEnvelope[PublishListResponse]
13031
+ * OperationEnvelope[ProposeConsolidationEntriesResponse]
12717
13032
  */
12718
- export type OperationEnvelopePublishListResponse = {
13033
+ export type OperationEnvelopeProposeConsolidationEntriesResponse = {
12719
13034
  /**
12720
13035
  * Operation
12721
13036
  *
@@ -12737,7 +13052,7 @@ export type OperationEnvelopePublishListResponse = {
12737
13052
  /**
12738
13053
  * Command-specific result payload
12739
13054
  */
12740
- result?: PublishListResponse | null;
13055
+ result?: ProposeConsolidationEntriesResponse | null;
12741
13056
  /**
12742
13057
  * At
12743
13058
  *
@@ -12758,9 +13073,9 @@ export type OperationEnvelopePublishListResponse = {
12758
13073
  idempotentReplay?: boolean;
12759
13074
  };
12760
13075
  /**
12761
- * OperationEnvelope[ReadTextResponse]
13076
+ * OperationEnvelope[PublishListResponse]
12762
13077
  */
12763
- export type OperationEnvelopeReadTextResponse = {
13078
+ export type OperationEnvelopePublishListResponse = {
12764
13079
  /**
12765
13080
  * Operation
12766
13081
  *
@@ -12782,7 +13097,7 @@ export type OperationEnvelopeReadTextResponse = {
12782
13097
  /**
12783
13098
  * Command-specific result payload
12784
13099
  */
12785
- result?: ReadTextResponse | null;
13100
+ result?: PublishListResponse | null;
12786
13101
  /**
12787
13102
  * At
12788
13103
  *
@@ -12803,9 +13118,9 @@ export type OperationEnvelopeReadTextResponse = {
12803
13118
  idempotentReplay?: boolean;
12804
13119
  };
12805
13120
  /**
12806
- * OperationEnvelope[ReconciliationListResponse]
13121
+ * OperationEnvelope[ReadTextResponse]
12807
13122
  */
12808
- export type OperationEnvelopeReconciliationListResponse = {
13123
+ export type OperationEnvelopeReadTextResponse = {
12809
13124
  /**
12810
13125
  * Operation
12811
13126
  *
@@ -12827,7 +13142,7 @@ export type OperationEnvelopeReconciliationListResponse = {
12827
13142
  /**
12828
13143
  * Command-specific result payload
12829
13144
  */
12830
- result?: ReconciliationListResponse | null;
13145
+ result?: ReadTextResponse | null;
12831
13146
  /**
12832
13147
  * At
12833
13148
  *
@@ -12848,9 +13163,9 @@ export type OperationEnvelopeReconciliationListResponse = {
12848
13163
  idempotentReplay?: boolean;
12849
13164
  };
12850
13165
  /**
12851
- * OperationEnvelope[ReconciliationPolicyResponse]
13166
+ * OperationEnvelope[ReconciliationListResponse]
12852
13167
  */
12853
- export type OperationEnvelopeReconciliationPolicyResponse = {
13168
+ export type OperationEnvelopeReconciliationListResponse = {
12854
13169
  /**
12855
13170
  * Operation
12856
13171
  *
@@ -12872,7 +13187,7 @@ export type OperationEnvelopeReconciliationPolicyResponse = {
12872
13187
  /**
12873
13188
  * Command-specific result payload
12874
13189
  */
12875
- result?: ReconciliationPolicyResponse | null;
13190
+ result?: ReconciliationListResponse | null;
12876
13191
  /**
12877
13192
  * At
12878
13193
  *
@@ -12893,9 +13208,54 @@ export type OperationEnvelopeReconciliationPolicyResponse = {
12893
13208
  idempotentReplay?: boolean;
12894
13209
  };
12895
13210
  /**
12896
- * OperationEnvelope[ReconciliationPreviewResponse]
13211
+ * OperationEnvelope[ReconciliationPolicyResponse]
12897
13212
  */
12898
- export type OperationEnvelopeReconciliationPreviewResponse = {
13213
+ export type OperationEnvelopeReconciliationPolicyResponse = {
13214
+ /**
13215
+ * Operation
13216
+ *
13217
+ * Kebab-case operation name
13218
+ */
13219
+ operation: string;
13220
+ /**
13221
+ * Operationid
13222
+ *
13223
+ * op_-prefixed ULID for audit and SSE correlation
13224
+ */
13225
+ operationId: string;
13226
+ /**
13227
+ * Status
13228
+ *
13229
+ * Operation lifecycle state
13230
+ */
13231
+ status: 'completed' | 'pending' | 'failed';
13232
+ /**
13233
+ * Command-specific result payload
13234
+ */
13235
+ result?: ReconciliationPolicyResponse | null;
13236
+ /**
13237
+ * At
13238
+ *
13239
+ * ISO-8601 UTC timestamp
13240
+ */
13241
+ at: string;
13242
+ /**
13243
+ * Createdby
13244
+ *
13245
+ * User ID that initiated the operation
13246
+ */
13247
+ createdBy?: string | null;
13248
+ /**
13249
+ * Idempotentreplay
13250
+ *
13251
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
13252
+ */
13253
+ idempotentReplay?: boolean;
13254
+ };
13255
+ /**
13256
+ * OperationEnvelope[ReconciliationPreviewResponse]
13257
+ */
13258
+ export type OperationEnvelopeReconciliationPreviewResponse = {
12899
13259
  /**
12900
13260
  * Operation
12901
13261
  *
@@ -14985,6 +15345,92 @@ export type PositionBlock = {
14985
15345
  */
14986
15346
  security: SecurityLite;
14987
15347
  };
15348
+ /**
15349
+ * PreviewConsolidationEntriesRequest
15350
+ *
15351
+ * The month to compute the consolidating entries for.
15352
+ */
15353
+ export type PreviewConsolidationEntriesRequest = {
15354
+ /**
15355
+ * Period
15356
+ *
15357
+ * The month, as YYYY-MM.
15358
+ */
15359
+ period: string;
15360
+ };
15361
+ /**
15362
+ * PreviewConsolidationEntriesResponse
15363
+ *
15364
+ * The consolidating entries a month needs, computed from the books.
15365
+ */
15366
+ export type PreviewConsolidationEntriesResponse = {
15367
+ /**
15368
+ * Period
15369
+ *
15370
+ * The month, as YYYY-MM.
15371
+ */
15372
+ period: string;
15373
+ /**
15374
+ * Period Start
15375
+ *
15376
+ * The month's first day.
15377
+ */
15378
+ period_start: string;
15379
+ /**
15380
+ * Period End
15381
+ *
15382
+ * The month's last day.
15383
+ */
15384
+ period_end: string;
15385
+ /**
15386
+ * Consolidation Entity Id
15387
+ *
15388
+ * The entity the entries post in.
15389
+ */
15390
+ consolidation_entity_id: string;
15391
+ /**
15392
+ * Proposals
15393
+ *
15394
+ * The entries to post; empty when the month is up to date.
15395
+ */
15396
+ proposals?: Array<ConsolidationProposal>;
15397
+ /**
15398
+ * Residuals
15399
+ *
15400
+ * Differences withheld from the proposals until explained.
15401
+ */
15402
+ residuals?: Array<ConsolidationResidual>;
15403
+ /**
15404
+ * Reconciling Items
15405
+ *
15406
+ * Intercompany figures the two sides do not agree on.
15407
+ */
15408
+ reconciling_items?: Array<ConsolidationReconcilingItem>;
15409
+ /**
15410
+ * Notes
15411
+ *
15412
+ * Anything the engine left out, and why.
15413
+ */
15414
+ notes?: Array<string>;
15415
+ /**
15416
+ * Up To Date
15417
+ *
15418
+ * True when nothing is proposed, withheld or left out: the consolidation entity already holds what the month needs. A closed month is up to date as posted; read `closed` first.
15419
+ */
15420
+ up_to_date: boolean;
15421
+ /**
15422
+ * Closed
15423
+ *
15424
+ * True when the consolidation entity has closed the month: its entries are as posted, and nothing is recomputed.
15425
+ */
15426
+ closed?: boolean;
15427
+ /**
15428
+ * Drafted Entry Ids
15429
+ *
15430
+ * The month's drafts propose-consolidation-entries wrote, waiting for the consolidation entity's close to post them.
15431
+ */
15432
+ drafted_entry_ids?: Array<string>;
15433
+ };
14988
15434
  /**
14989
15435
  * PreviewEventBlockResponse
14990
15436
  *
@@ -15130,6 +15576,74 @@ export type PromoteObligationsResponse = {
15130
15576
  [key: string]: string;
15131
15577
  }>;
15132
15578
  };
15579
+ /**
15580
+ * ProposeConsolidationEntriesRequest
15581
+ *
15582
+ * The month to draft the consolidating entries for.
15583
+ */
15584
+ export type ProposeConsolidationEntriesRequest = {
15585
+ /**
15586
+ * Period
15587
+ *
15588
+ * The month, as YYYY-MM.
15589
+ */
15590
+ period: string;
15591
+ };
15592
+ /**
15593
+ * ProposeConsolidationEntriesResponse
15594
+ *
15595
+ * The consolidating entries drafted for a month.
15596
+ */
15597
+ export type ProposeConsolidationEntriesResponse = {
15598
+ /**
15599
+ * Period
15600
+ *
15601
+ * The month, as YYYY-MM.
15602
+ */
15603
+ period: string;
15604
+ /**
15605
+ * Consolidation Entity Id
15606
+ *
15607
+ * The entity the drafts are in.
15608
+ */
15609
+ consolidation_entity_id: string;
15610
+ /**
15611
+ * Closed
15612
+ *
15613
+ * True when the month is closed and nothing was drafted.
15614
+ */
15615
+ closed?: boolean;
15616
+ /**
15617
+ * Entries
15618
+ *
15619
+ * The drafts written; the consolidation entity's close posts them.
15620
+ */
15621
+ entries?: Array<JournalEntryResponse>;
15622
+ /**
15623
+ * Replaced
15624
+ *
15625
+ * Earlier drafts of this month's entries, replaced by these.
15626
+ */
15627
+ replaced?: number;
15628
+ /**
15629
+ * Residuals
15630
+ *
15631
+ * Differences withheld from the drafts until explained.
15632
+ */
15633
+ residuals?: Array<ConsolidationResidual>;
15634
+ /**
15635
+ * Reconciling Items
15636
+ *
15637
+ * Intercompany figures the two sides do not agree on.
15638
+ */
15639
+ reconciling_items?: Array<ConsolidationReconcilingItem>;
15640
+ /**
15641
+ * Notes
15642
+ *
15643
+ * Anything the engine left out, and why.
15644
+ */
15645
+ notes?: Array<string>;
15646
+ };
15133
15647
  /**
15134
15648
  * PublishListMemberResponse
15135
15649
  *
@@ -18204,6 +18718,51 @@ export type ServiceOfferingsResponse = {
18204
18718
  */
18205
18719
  summary: ServiceOfferingSummary;
18206
18720
  };
18721
+ /**
18722
+ * SetAllocationOverrideRequest
18723
+ *
18724
+ * The outside owners' share of a member's result for one month, set by a
18725
+ * person in place of the pro-rata share: a preferred return, a waterfall, a
18726
+ * special allocation.
18727
+ */
18728
+ export type SetAllocationOverrideRequest = {
18729
+ /**
18730
+ * Entity Id
18731
+ *
18732
+ * The member, consolidated in full.
18733
+ */
18734
+ entity_id: string;
18735
+ /**
18736
+ * Period
18737
+ *
18738
+ * The month, as YYYY-MM.
18739
+ */
18740
+ period: string;
18741
+ /**
18742
+ * Amount
18743
+ *
18744
+ * The outside owners' share of the month's result, in cents; negative for a share of a loss.
18745
+ */
18746
+ amount?: number | null;
18747
+ /**
18748
+ * Percentage
18749
+ *
18750
+ * The outside owners' share as a percentage of the month's result.
18751
+ */
18752
+ percentage?: number | null;
18753
+ /**
18754
+ * Basis
18755
+ *
18756
+ * Why the share differs from the ownership percentage; required to set one.
18757
+ */
18758
+ basis?: string | null;
18759
+ /**
18760
+ * Clear
18761
+ *
18762
+ * Remove the month's override, back to the pro-rata share.
18763
+ */
18764
+ clear?: boolean;
18765
+ };
18207
18766
  /**
18208
18767
  * SetCloseTargetOperation
18209
18768
  */
@@ -30996,6 +31555,124 @@ export type RecordOpeningBalanceResponses = {
30996
31555
  200: OperationEnvelopeJournalEntryResponse;
30997
31556
  };
30998
31557
  export type RecordOpeningBalanceResponse = RecordOpeningBalanceResponses[keyof RecordOpeningBalanceResponses];
31558
+ export type ProposeConsolidationEntriesData = {
31559
+ body: ProposeConsolidationEntriesRequest;
31560
+ headers?: {
31561
+ /**
31562
+ * Idempotency-Key
31563
+ */
31564
+ 'Idempotency-Key'?: string | null;
31565
+ };
31566
+ path: {
31567
+ /**
31568
+ * Graph Id
31569
+ */
31570
+ graph_id: string;
31571
+ };
31572
+ query?: never;
31573
+ url: '/extensions/roboledger/{graph_id}/operations/propose-consolidation-entries';
31574
+ };
31575
+ export type ProposeConsolidationEntriesErrors = {
31576
+ /**
31577
+ * Invalid request
31578
+ */
31579
+ 400: ErrorResponse;
31580
+ /**
31581
+ * Authentication required
31582
+ */
31583
+ 401: ErrorResponse;
31584
+ /**
31585
+ * Access denied
31586
+ */
31587
+ 403: ErrorResponse;
31588
+ /**
31589
+ * Resource not found
31590
+ */
31591
+ 404: ErrorResponse;
31592
+ /**
31593
+ * Idempotency-Key conflict — key reused with different body
31594
+ */
31595
+ 409: ErrorResponse;
31596
+ /**
31597
+ * Validation error
31598
+ */
31599
+ 422: ErrorResponse;
31600
+ /**
31601
+ * Rate limit exceeded
31602
+ */
31603
+ 429: ErrorResponse;
31604
+ /**
31605
+ * Internal server error
31606
+ */
31607
+ 500: ErrorResponse;
31608
+ };
31609
+ export type ProposeConsolidationEntriesError = ProposeConsolidationEntriesErrors[keyof ProposeConsolidationEntriesErrors];
31610
+ export type ProposeConsolidationEntriesResponses = {
31611
+ /**
31612
+ * Successful Response
31613
+ */
31614
+ 200: OperationEnvelopeProposeConsolidationEntriesResponse;
31615
+ };
31616
+ export type ProposeConsolidationEntriesResponse2 = ProposeConsolidationEntriesResponses[keyof ProposeConsolidationEntriesResponses];
31617
+ export type SetAllocationOverrideData = {
31618
+ body: SetAllocationOverrideRequest;
31619
+ headers?: {
31620
+ /**
31621
+ * Idempotency-Key
31622
+ */
31623
+ 'Idempotency-Key'?: string | null;
31624
+ };
31625
+ path: {
31626
+ /**
31627
+ * Graph Id
31628
+ */
31629
+ graph_id: string;
31630
+ };
31631
+ query?: never;
31632
+ url: '/extensions/roboledger/{graph_id}/operations/set-allocation-override';
31633
+ };
31634
+ export type SetAllocationOverrideErrors = {
31635
+ /**
31636
+ * Invalid request
31637
+ */
31638
+ 400: ErrorResponse;
31639
+ /**
31640
+ * Authentication required
31641
+ */
31642
+ 401: ErrorResponse;
31643
+ /**
31644
+ * Access denied
31645
+ */
31646
+ 403: ErrorResponse;
31647
+ /**
31648
+ * Resource not found
31649
+ */
31650
+ 404: ErrorResponse;
31651
+ /**
31652
+ * Idempotency-Key conflict — key reused with different body
31653
+ */
31654
+ 409: ErrorResponse;
31655
+ /**
31656
+ * Validation error
31657
+ */
31658
+ 422: ErrorResponse;
31659
+ /**
31660
+ * Rate limit exceeded
31661
+ */
31662
+ 429: ErrorResponse;
31663
+ /**
31664
+ * Internal server error
31665
+ */
31666
+ 500: ErrorResponse;
31667
+ };
31668
+ export type SetAllocationOverrideError = SetAllocationOverrideErrors[keyof SetAllocationOverrideErrors];
31669
+ export type SetAllocationOverrideResponses = {
31670
+ /**
31671
+ * Successful Response
31672
+ */
31673
+ 200: OperationEnvelopeAllocationOverrideResponse;
31674
+ };
31675
+ export type SetAllocationOverrideResponse = SetAllocationOverrideResponses[keyof SetAllocationOverrideResponses];
30999
31676
  export type UpdateJournalEntryData = {
31000
31677
  body: UpdateJournalEntryRequest;
31001
31678
  headers?: {
@@ -32884,6 +33561,65 @@ export type ConsolidationWorksheetResponses = {
32884
33561
  200: OperationEnvelopeConsolidationWorksheetResponse;
32885
33562
  };
32886
33563
  export type ConsolidationWorksheetResponse2 = ConsolidationWorksheetResponses[keyof ConsolidationWorksheetResponses];
33564
+ export type PreviewConsolidationEntriesData = {
33565
+ body: PreviewConsolidationEntriesRequest;
33566
+ headers?: {
33567
+ /**
33568
+ * Idempotency-Key
33569
+ */
33570
+ 'Idempotency-Key'?: string | null;
33571
+ };
33572
+ path: {
33573
+ /**
33574
+ * Graph Id
33575
+ */
33576
+ graph_id: string;
33577
+ };
33578
+ query?: never;
33579
+ url: '/extensions/roboledger/{graph_id}/operations/preview-consolidation-entries';
33580
+ };
33581
+ export type PreviewConsolidationEntriesErrors = {
33582
+ /**
33583
+ * Invalid request
33584
+ */
33585
+ 400: ErrorResponse;
33586
+ /**
33587
+ * Authentication required
33588
+ */
33589
+ 401: ErrorResponse;
33590
+ /**
33591
+ * Access denied
33592
+ */
33593
+ 403: ErrorResponse;
33594
+ /**
33595
+ * Resource not found
33596
+ */
33597
+ 404: ErrorResponse;
33598
+ /**
33599
+ * Idempotency-Key conflict — key reused with different body
33600
+ */
33601
+ 409: ErrorResponse;
33602
+ /**
33603
+ * Validation error
33604
+ */
33605
+ 422: ErrorResponse;
33606
+ /**
33607
+ * Rate limit exceeded
33608
+ */
33609
+ 429: ErrorResponse;
33610
+ /**
33611
+ * Internal server error
33612
+ */
33613
+ 500: ErrorResponse;
33614
+ };
33615
+ export type PreviewConsolidationEntriesError = PreviewConsolidationEntriesErrors[keyof PreviewConsolidationEntriesErrors];
33616
+ export type PreviewConsolidationEntriesResponses = {
33617
+ /**
33618
+ * Successful Response
33619
+ */
33620
+ 200: OperationEnvelopePreviewConsolidationEntriesResponse;
33621
+ };
33622
+ export type PreviewConsolidationEntriesResponse2 = PreviewConsolidationEntriesResponses[keyof PreviewConsolidationEntriesResponses];
32887
33623
  export type CreatePortfolioBlockData = {
32888
33624
  body: CreatePortfolioBlockRequest;
32889
33625
  headers?: {