@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.
- package/artifacts/LedgerClient.d.ts +23 -1
- package/artifacts/LedgerClient.js +31 -0
- package/artifacts/LedgerClient.ts +56 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +5 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +25 -1
- package/sdk/sdk.gen.js +53 -2
- package/sdk/sdk.gen.ts +52 -1
- package/sdk/types.gen.d.ts +751 -15
- package/sdk/types.gen.ts +776 -12
- package/sdk.gen.d.ts +25 -1
- package/sdk.gen.js +53 -2
- package/sdk.gen.ts +52 -1
- package/types.gen.d.ts +751 -15
- package/types.gen.ts +776 -12
package/types.gen.ts
CHANGED
|
@@ -363,6 +363,56 @@ export type AgentClassification = {
|
|
|
363
363
|
learned_from?: string | null;
|
|
364
364
|
};
|
|
365
365
|
|
|
366
|
+
/**
|
|
367
|
+
* AllocationOverrideResponse
|
|
368
|
+
*
|
|
369
|
+
* A member's allocation override for one month.
|
|
370
|
+
*/
|
|
371
|
+
export type AllocationOverrideResponse = {
|
|
372
|
+
/**
|
|
373
|
+
* Entity Id
|
|
374
|
+
*
|
|
375
|
+
* The member.
|
|
376
|
+
*/
|
|
377
|
+
entity_id: string;
|
|
378
|
+
/**
|
|
379
|
+
* Period
|
|
380
|
+
*
|
|
381
|
+
* The month, as YYYY-MM.
|
|
382
|
+
*/
|
|
383
|
+
period: string;
|
|
384
|
+
/**
|
|
385
|
+
* Amount
|
|
386
|
+
*
|
|
387
|
+
* The share, in cents, when set so.
|
|
388
|
+
*/
|
|
389
|
+
amount?: number | null;
|
|
390
|
+
/**
|
|
391
|
+
* Percentage
|
|
392
|
+
*
|
|
393
|
+
* The share as a percentage, when set so.
|
|
394
|
+
*/
|
|
395
|
+
percentage?: number | null;
|
|
396
|
+
/**
|
|
397
|
+
* Basis
|
|
398
|
+
*
|
|
399
|
+
* Why it differs from pro rata.
|
|
400
|
+
*/
|
|
401
|
+
basis?: string | null;
|
|
402
|
+
/**
|
|
403
|
+
* Set By
|
|
404
|
+
*
|
|
405
|
+
* Who set it.
|
|
406
|
+
*/
|
|
407
|
+
set_by?: string | null;
|
|
408
|
+
/**
|
|
409
|
+
* Cleared
|
|
410
|
+
*
|
|
411
|
+
* True when the override was removed.
|
|
412
|
+
*/
|
|
413
|
+
cleared?: boolean;
|
|
414
|
+
};
|
|
415
|
+
|
|
366
416
|
/**
|
|
367
417
|
* AnalyticalStatementFactRow
|
|
368
418
|
*
|
|
@@ -2597,6 +2647,178 @@ export type ConnectionResponse = {
|
|
|
2597
2647
|
};
|
|
2598
2648
|
};
|
|
2599
2649
|
|
|
2650
|
+
/**
|
|
2651
|
+
* ConsolidationProposal
|
|
2652
|
+
*
|
|
2653
|
+
* One consolidating entry the month needs: the difference between the
|
|
2654
|
+
* balance this kind of adjustment should hold for the member at the month
|
|
2655
|
+
* end and what the consolidation entity already holds for it.
|
|
2656
|
+
*/
|
|
2657
|
+
export type ConsolidationProposal = {
|
|
2658
|
+
/**
|
|
2659
|
+
* Adjustment Kind
|
|
2660
|
+
*
|
|
2661
|
+
* What the entry adjusts.
|
|
2662
|
+
*/
|
|
2663
|
+
adjustment_kind: 'elimination_investment' | 'elimination_intercompany' | 'elimination_unrealized_profit' | 'nci_allocation' | 'nci_distribution' | 'equity_method_pickup' | 'equity_method_distribution' | 'acquisition' | 'deconsolidation' | 'translation' | 'manual';
|
|
2664
|
+
/**
|
|
2665
|
+
* Adjusts Entity Id
|
|
2666
|
+
*
|
|
2667
|
+
* The entity whose figures the entry adjusts.
|
|
2668
|
+
*/
|
|
2669
|
+
adjusts_entity_id: string;
|
|
2670
|
+
/**
|
|
2671
|
+
* Adjusts Entity Name
|
|
2672
|
+
*
|
|
2673
|
+
* That entity's name.
|
|
2674
|
+
*/
|
|
2675
|
+
adjusts_entity_name: string;
|
|
2676
|
+
/**
|
|
2677
|
+
* Posting Date
|
|
2678
|
+
*
|
|
2679
|
+
* The month's last day.
|
|
2680
|
+
*/
|
|
2681
|
+
posting_date: string;
|
|
2682
|
+
/**
|
|
2683
|
+
* Memo
|
|
2684
|
+
*
|
|
2685
|
+
* The entry's memo.
|
|
2686
|
+
*/
|
|
2687
|
+
memo: string;
|
|
2688
|
+
/**
|
|
2689
|
+
* Basis
|
|
2690
|
+
*
|
|
2691
|
+
* How the amounts were computed.
|
|
2692
|
+
*/
|
|
2693
|
+
basis: string;
|
|
2694
|
+
/**
|
|
2695
|
+
* Lines
|
|
2696
|
+
*
|
|
2697
|
+
* The entry's lines; they balance.
|
|
2698
|
+
*/
|
|
2699
|
+
lines: Array<ConsolidationProposalLine>;
|
|
2700
|
+
};
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* ConsolidationProposalLine
|
|
2704
|
+
*
|
|
2705
|
+
* One line of a proposed consolidating entry, in the consolidation
|
|
2706
|
+
* entity's chart.
|
|
2707
|
+
*/
|
|
2708
|
+
export type ConsolidationProposalLine = {
|
|
2709
|
+
/**
|
|
2710
|
+
* Element Id
|
|
2711
|
+
*
|
|
2712
|
+
* The consolidation entity's account.
|
|
2713
|
+
*/
|
|
2714
|
+
element_id: string;
|
|
2715
|
+
/**
|
|
2716
|
+
* Account Name
|
|
2717
|
+
*
|
|
2718
|
+
* The account's name.
|
|
2719
|
+
*/
|
|
2720
|
+
account_name: string;
|
|
2721
|
+
/**
|
|
2722
|
+
* Concept
|
|
2723
|
+
*
|
|
2724
|
+
* The rs-gaap concept the account maps to.
|
|
2725
|
+
*/
|
|
2726
|
+
concept: string;
|
|
2727
|
+
/**
|
|
2728
|
+
* Debit Amount
|
|
2729
|
+
*
|
|
2730
|
+
* Debit, in cents.
|
|
2731
|
+
*/
|
|
2732
|
+
debit_amount?: number;
|
|
2733
|
+
/**
|
|
2734
|
+
* Credit Amount
|
|
2735
|
+
*
|
|
2736
|
+
* Credit, in cents.
|
|
2737
|
+
*/
|
|
2738
|
+
credit_amount?: number;
|
|
2739
|
+
/**
|
|
2740
|
+
* Flow Qname
|
|
2741
|
+
*
|
|
2742
|
+
* 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.
|
|
2743
|
+
*/
|
|
2744
|
+
flow_qname?: string | null;
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
/**
|
|
2748
|
+
* ConsolidationReconcilingItem
|
|
2749
|
+
*
|
|
2750
|
+
* Two of the group's entities whose intercompany figures do not agree.
|
|
2751
|
+
* The lower amount is eliminated where one side matches the other; what is
|
|
2752
|
+
* left stays in the consolidated statements until the books agree.
|
|
2753
|
+
*/
|
|
2754
|
+
export type ConsolidationReconcilingItem = {
|
|
2755
|
+
/**
|
|
2756
|
+
* Entity Ids
|
|
2757
|
+
*
|
|
2758
|
+
* The two entities.
|
|
2759
|
+
*/
|
|
2760
|
+
entity_ids: Array<string>;
|
|
2761
|
+
/**
|
|
2762
|
+
* Concept
|
|
2763
|
+
*
|
|
2764
|
+
* The rs-gaap concept left uneliminated.
|
|
2765
|
+
*/
|
|
2766
|
+
concept: string;
|
|
2767
|
+
/**
|
|
2768
|
+
* Entity Id
|
|
2769
|
+
*
|
|
2770
|
+
* The entity whose figure is left.
|
|
2771
|
+
*/
|
|
2772
|
+
entity_id: string;
|
|
2773
|
+
/**
|
|
2774
|
+
* Amount
|
|
2775
|
+
*
|
|
2776
|
+
* Cents left uneliminated, debit-positive.
|
|
2777
|
+
*/
|
|
2778
|
+
amount: number;
|
|
2779
|
+
/**
|
|
2780
|
+
* Description
|
|
2781
|
+
*
|
|
2782
|
+
* What does not agree.
|
|
2783
|
+
*/
|
|
2784
|
+
description: string;
|
|
2785
|
+
};
|
|
2786
|
+
|
|
2787
|
+
/**
|
|
2788
|
+
* ConsolidationResidual
|
|
2789
|
+
*
|
|
2790
|
+
* A difference the engine cannot eliminate on its own: the parent's
|
|
2791
|
+
* investment in a member against the parent's share of that member's
|
|
2792
|
+
* capital. Its entry is withheld until the difference is explained or
|
|
2793
|
+
* posted by hand with a basis; it is never plugged.
|
|
2794
|
+
*/
|
|
2795
|
+
export type ConsolidationResidual = {
|
|
2796
|
+
/**
|
|
2797
|
+
* Entity Id
|
|
2798
|
+
*
|
|
2799
|
+
* The member.
|
|
2800
|
+
*/
|
|
2801
|
+
entity_id: string;
|
|
2802
|
+
/**
|
|
2803
|
+
* Entity Name
|
|
2804
|
+
*
|
|
2805
|
+
* The member's name.
|
|
2806
|
+
*/
|
|
2807
|
+
entity_name: string;
|
|
2808
|
+
/**
|
|
2809
|
+
* Amount
|
|
2810
|
+
*
|
|
2811
|
+
* Cents: the parent's investment balance less its share of the member's capital. Positive when the parent carries more than its share.
|
|
2812
|
+
*/
|
|
2813
|
+
amount: number;
|
|
2814
|
+
/**
|
|
2815
|
+
* Explanation
|
|
2816
|
+
*
|
|
2817
|
+
* What the two figures are.
|
|
2818
|
+
*/
|
|
2819
|
+
explanation: string;
|
|
2820
|
+
};
|
|
2821
|
+
|
|
2600
2822
|
/**
|
|
2601
2823
|
* ConsolidationWorksheetRequest
|
|
2602
2824
|
*
|
|
@@ -9081,7 +9303,7 @@ export type JournalEntryLineItemInput = {
|
|
|
9081
9303
|
/**
|
|
9082
9304
|
* Flow Qname
|
|
9083
9305
|
*
|
|
9084
|
-
* 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.
|
|
9306
|
+
* 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.
|
|
9085
9307
|
*/
|
|
9086
9308
|
flow_qname?: string | null;
|
|
9087
9309
|
/**
|
|
@@ -9186,6 +9408,14 @@ export type JournalEntryResponse = {
|
|
|
9186
9408
|
* Total Credit
|
|
9187
9409
|
*/
|
|
9188
9410
|
total_credit: number;
|
|
9411
|
+
/**
|
|
9412
|
+
* Adjustment Kind
|
|
9413
|
+
*/
|
|
9414
|
+
adjustment_kind?: string | null;
|
|
9415
|
+
/**
|
|
9416
|
+
* Adjusts Entity Id
|
|
9417
|
+
*/
|
|
9418
|
+
adjusts_entity_id?: string | null;
|
|
9189
9419
|
};
|
|
9190
9420
|
|
|
9191
9421
|
/**
|
|
@@ -11211,6 +11441,52 @@ export type OperationEnvelopeAcceptSuggestionsResponse = {
|
|
|
11211
11441
|
idempotentReplay?: boolean;
|
|
11212
11442
|
};
|
|
11213
11443
|
|
|
11444
|
+
/**
|
|
11445
|
+
* OperationEnvelope[AllocationOverrideResponse]
|
|
11446
|
+
*/
|
|
11447
|
+
export type OperationEnvelopeAllocationOverrideResponse = {
|
|
11448
|
+
/**
|
|
11449
|
+
* Operation
|
|
11450
|
+
*
|
|
11451
|
+
* Kebab-case operation name
|
|
11452
|
+
*/
|
|
11453
|
+
operation: string;
|
|
11454
|
+
/**
|
|
11455
|
+
* Operationid
|
|
11456
|
+
*
|
|
11457
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
11458
|
+
*/
|
|
11459
|
+
operationId: string;
|
|
11460
|
+
/**
|
|
11461
|
+
* Status
|
|
11462
|
+
*
|
|
11463
|
+
* Operation lifecycle state
|
|
11464
|
+
*/
|
|
11465
|
+
status: 'completed' | 'pending' | 'failed';
|
|
11466
|
+
/**
|
|
11467
|
+
* Command-specific result payload
|
|
11468
|
+
*/
|
|
11469
|
+
result?: AllocationOverrideResponse | null;
|
|
11470
|
+
/**
|
|
11471
|
+
* At
|
|
11472
|
+
*
|
|
11473
|
+
* ISO-8601 UTC timestamp
|
|
11474
|
+
*/
|
|
11475
|
+
at: string;
|
|
11476
|
+
/**
|
|
11477
|
+
* Createdby
|
|
11478
|
+
*
|
|
11479
|
+
* User ID that initiated the operation
|
|
11480
|
+
*/
|
|
11481
|
+
createdBy?: string | null;
|
|
11482
|
+
/**
|
|
11483
|
+
* Idempotentreplay
|
|
11484
|
+
*
|
|
11485
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
11486
|
+
*/
|
|
11487
|
+
idempotentReplay?: boolean;
|
|
11488
|
+
};
|
|
11489
|
+
|
|
11214
11490
|
/**
|
|
11215
11491
|
* OperationEnvelope[AssertMetricsResponse]
|
|
11216
11492
|
*/
|
|
@@ -12913,6 +13189,52 @@ export type OperationEnvelopePortfolioBlockEnvelope = {
|
|
|
12913
13189
|
idempotentReplay?: boolean;
|
|
12914
13190
|
};
|
|
12915
13191
|
|
|
13192
|
+
/**
|
|
13193
|
+
* OperationEnvelope[PreviewConsolidationEntriesResponse]
|
|
13194
|
+
*/
|
|
13195
|
+
export type OperationEnvelopePreviewConsolidationEntriesResponse = {
|
|
13196
|
+
/**
|
|
13197
|
+
* Operation
|
|
13198
|
+
*
|
|
13199
|
+
* Kebab-case operation name
|
|
13200
|
+
*/
|
|
13201
|
+
operation: string;
|
|
13202
|
+
/**
|
|
13203
|
+
* Operationid
|
|
13204
|
+
*
|
|
13205
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
13206
|
+
*/
|
|
13207
|
+
operationId: string;
|
|
13208
|
+
/**
|
|
13209
|
+
* Status
|
|
13210
|
+
*
|
|
13211
|
+
* Operation lifecycle state
|
|
13212
|
+
*/
|
|
13213
|
+
status: 'completed' | 'pending' | 'failed';
|
|
13214
|
+
/**
|
|
13215
|
+
* Command-specific result payload
|
|
13216
|
+
*/
|
|
13217
|
+
result?: PreviewConsolidationEntriesResponse | null;
|
|
13218
|
+
/**
|
|
13219
|
+
* At
|
|
13220
|
+
*
|
|
13221
|
+
* ISO-8601 UTC timestamp
|
|
13222
|
+
*/
|
|
13223
|
+
at: string;
|
|
13224
|
+
/**
|
|
13225
|
+
* Createdby
|
|
13226
|
+
*
|
|
13227
|
+
* User ID that initiated the operation
|
|
13228
|
+
*/
|
|
13229
|
+
createdBy?: string | null;
|
|
13230
|
+
/**
|
|
13231
|
+
* Idempotentreplay
|
|
13232
|
+
*
|
|
13233
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
13234
|
+
*/
|
|
13235
|
+
idempotentReplay?: boolean;
|
|
13236
|
+
};
|
|
13237
|
+
|
|
12916
13238
|
/**
|
|
12917
13239
|
* OperationEnvelope[PreviewEventBlockResponse]
|
|
12918
13240
|
*/
|
|
@@ -13006,9 +13328,9 @@ export type OperationEnvelopePromoteObligationsResponse = {
|
|
|
13006
13328
|
};
|
|
13007
13329
|
|
|
13008
13330
|
/**
|
|
13009
|
-
* OperationEnvelope[
|
|
13331
|
+
* OperationEnvelope[ProposeConsolidationEntriesResponse]
|
|
13010
13332
|
*/
|
|
13011
|
-
export type
|
|
13333
|
+
export type OperationEnvelopeProposeConsolidationEntriesResponse = {
|
|
13012
13334
|
/**
|
|
13013
13335
|
* Operation
|
|
13014
13336
|
*
|
|
@@ -13030,7 +13352,7 @@ export type OperationEnvelopePublishListResponse = {
|
|
|
13030
13352
|
/**
|
|
13031
13353
|
* Command-specific result payload
|
|
13032
13354
|
*/
|
|
13033
|
-
result?:
|
|
13355
|
+
result?: ProposeConsolidationEntriesResponse | null;
|
|
13034
13356
|
/**
|
|
13035
13357
|
* At
|
|
13036
13358
|
*
|
|
@@ -13052,9 +13374,9 @@ export type OperationEnvelopePublishListResponse = {
|
|
|
13052
13374
|
};
|
|
13053
13375
|
|
|
13054
13376
|
/**
|
|
13055
|
-
* OperationEnvelope[
|
|
13377
|
+
* OperationEnvelope[PublishListResponse]
|
|
13056
13378
|
*/
|
|
13057
|
-
export type
|
|
13379
|
+
export type OperationEnvelopePublishListResponse = {
|
|
13058
13380
|
/**
|
|
13059
13381
|
* Operation
|
|
13060
13382
|
*
|
|
@@ -13076,7 +13398,7 @@ export type OperationEnvelopeReadTextResponse = {
|
|
|
13076
13398
|
/**
|
|
13077
13399
|
* Command-specific result payload
|
|
13078
13400
|
*/
|
|
13079
|
-
result?:
|
|
13401
|
+
result?: PublishListResponse | null;
|
|
13080
13402
|
/**
|
|
13081
13403
|
* At
|
|
13082
13404
|
*
|
|
@@ -13098,9 +13420,9 @@ export type OperationEnvelopeReadTextResponse = {
|
|
|
13098
13420
|
};
|
|
13099
13421
|
|
|
13100
13422
|
/**
|
|
13101
|
-
* OperationEnvelope[
|
|
13423
|
+
* OperationEnvelope[ReadTextResponse]
|
|
13102
13424
|
*/
|
|
13103
|
-
export type
|
|
13425
|
+
export type OperationEnvelopeReadTextResponse = {
|
|
13104
13426
|
/**
|
|
13105
13427
|
* Operation
|
|
13106
13428
|
*
|
|
@@ -13122,7 +13444,7 @@ export type OperationEnvelopeReconciliationListResponse = {
|
|
|
13122
13444
|
/**
|
|
13123
13445
|
* Command-specific result payload
|
|
13124
13446
|
*/
|
|
13125
|
-
result?:
|
|
13447
|
+
result?: ReadTextResponse | null;
|
|
13126
13448
|
/**
|
|
13127
13449
|
* At
|
|
13128
13450
|
*
|
|
@@ -13144,9 +13466,55 @@ export type OperationEnvelopeReconciliationListResponse = {
|
|
|
13144
13466
|
};
|
|
13145
13467
|
|
|
13146
13468
|
/**
|
|
13147
|
-
* OperationEnvelope[
|
|
13469
|
+
* OperationEnvelope[ReconciliationListResponse]
|
|
13148
13470
|
*/
|
|
13149
|
-
export type
|
|
13471
|
+
export type OperationEnvelopeReconciliationListResponse = {
|
|
13472
|
+
/**
|
|
13473
|
+
* Operation
|
|
13474
|
+
*
|
|
13475
|
+
* Kebab-case operation name
|
|
13476
|
+
*/
|
|
13477
|
+
operation: string;
|
|
13478
|
+
/**
|
|
13479
|
+
* Operationid
|
|
13480
|
+
*
|
|
13481
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
13482
|
+
*/
|
|
13483
|
+
operationId: string;
|
|
13484
|
+
/**
|
|
13485
|
+
* Status
|
|
13486
|
+
*
|
|
13487
|
+
* Operation lifecycle state
|
|
13488
|
+
*/
|
|
13489
|
+
status: 'completed' | 'pending' | 'failed';
|
|
13490
|
+
/**
|
|
13491
|
+
* Command-specific result payload
|
|
13492
|
+
*/
|
|
13493
|
+
result?: ReconciliationListResponse | null;
|
|
13494
|
+
/**
|
|
13495
|
+
* At
|
|
13496
|
+
*
|
|
13497
|
+
* ISO-8601 UTC timestamp
|
|
13498
|
+
*/
|
|
13499
|
+
at: string;
|
|
13500
|
+
/**
|
|
13501
|
+
* Createdby
|
|
13502
|
+
*
|
|
13503
|
+
* User ID that initiated the operation
|
|
13504
|
+
*/
|
|
13505
|
+
createdBy?: string | null;
|
|
13506
|
+
/**
|
|
13507
|
+
* Idempotentreplay
|
|
13508
|
+
*
|
|
13509
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
13510
|
+
*/
|
|
13511
|
+
idempotentReplay?: boolean;
|
|
13512
|
+
};
|
|
13513
|
+
|
|
13514
|
+
/**
|
|
13515
|
+
* OperationEnvelope[ReconciliationPolicyResponse]
|
|
13516
|
+
*/
|
|
13517
|
+
export type OperationEnvelopeReconciliationPolicyResponse = {
|
|
13150
13518
|
/**
|
|
13151
13519
|
* Operation
|
|
13152
13520
|
*
|
|
@@ -15339,6 +15707,94 @@ export type PositionBlock = {
|
|
|
15339
15707
|
security: SecurityLite;
|
|
15340
15708
|
};
|
|
15341
15709
|
|
|
15710
|
+
/**
|
|
15711
|
+
* PreviewConsolidationEntriesRequest
|
|
15712
|
+
*
|
|
15713
|
+
* The month to compute the consolidating entries for.
|
|
15714
|
+
*/
|
|
15715
|
+
export type PreviewConsolidationEntriesRequest = {
|
|
15716
|
+
/**
|
|
15717
|
+
* Period
|
|
15718
|
+
*
|
|
15719
|
+
* The month, as YYYY-MM.
|
|
15720
|
+
*/
|
|
15721
|
+
period: string;
|
|
15722
|
+
};
|
|
15723
|
+
|
|
15724
|
+
/**
|
|
15725
|
+
* PreviewConsolidationEntriesResponse
|
|
15726
|
+
*
|
|
15727
|
+
* The consolidating entries a month needs, computed from the books.
|
|
15728
|
+
*/
|
|
15729
|
+
export type PreviewConsolidationEntriesResponse = {
|
|
15730
|
+
/**
|
|
15731
|
+
* Period
|
|
15732
|
+
*
|
|
15733
|
+
* The month, as YYYY-MM.
|
|
15734
|
+
*/
|
|
15735
|
+
period: string;
|
|
15736
|
+
/**
|
|
15737
|
+
* Period Start
|
|
15738
|
+
*
|
|
15739
|
+
* The month's first day.
|
|
15740
|
+
*/
|
|
15741
|
+
period_start: string;
|
|
15742
|
+
/**
|
|
15743
|
+
* Period End
|
|
15744
|
+
*
|
|
15745
|
+
* The month's last day.
|
|
15746
|
+
*/
|
|
15747
|
+
period_end: string;
|
|
15748
|
+
/**
|
|
15749
|
+
* Consolidation Entity Id
|
|
15750
|
+
*
|
|
15751
|
+
* The entity the entries post in.
|
|
15752
|
+
*/
|
|
15753
|
+
consolidation_entity_id: string;
|
|
15754
|
+
/**
|
|
15755
|
+
* Proposals
|
|
15756
|
+
*
|
|
15757
|
+
* The entries to post; empty when the month is up to date.
|
|
15758
|
+
*/
|
|
15759
|
+
proposals?: Array<ConsolidationProposal>;
|
|
15760
|
+
/**
|
|
15761
|
+
* Residuals
|
|
15762
|
+
*
|
|
15763
|
+
* Differences withheld from the proposals until explained.
|
|
15764
|
+
*/
|
|
15765
|
+
residuals?: Array<ConsolidationResidual>;
|
|
15766
|
+
/**
|
|
15767
|
+
* Reconciling Items
|
|
15768
|
+
*
|
|
15769
|
+
* Intercompany figures the two sides do not agree on.
|
|
15770
|
+
*/
|
|
15771
|
+
reconciling_items?: Array<ConsolidationReconcilingItem>;
|
|
15772
|
+
/**
|
|
15773
|
+
* Notes
|
|
15774
|
+
*
|
|
15775
|
+
* Anything the engine left out, and why.
|
|
15776
|
+
*/
|
|
15777
|
+
notes?: Array<string>;
|
|
15778
|
+
/**
|
|
15779
|
+
* Up To Date
|
|
15780
|
+
*
|
|
15781
|
+
* 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.
|
|
15782
|
+
*/
|
|
15783
|
+
up_to_date: boolean;
|
|
15784
|
+
/**
|
|
15785
|
+
* Closed
|
|
15786
|
+
*
|
|
15787
|
+
* True when the consolidation entity has closed the month: its entries are as posted, and nothing is recomputed.
|
|
15788
|
+
*/
|
|
15789
|
+
closed?: boolean;
|
|
15790
|
+
/**
|
|
15791
|
+
* Drafted Entry Ids
|
|
15792
|
+
*
|
|
15793
|
+
* The month's drafts propose-consolidation-entries wrote, waiting for the consolidation entity's close to post them.
|
|
15794
|
+
*/
|
|
15795
|
+
drafted_entry_ids?: Array<string>;
|
|
15796
|
+
};
|
|
15797
|
+
|
|
15342
15798
|
/**
|
|
15343
15799
|
* PreviewEventBlockResponse
|
|
15344
15800
|
*
|
|
@@ -15489,6 +15945,76 @@ export type PromoteObligationsResponse = {
|
|
|
15489
15945
|
}>;
|
|
15490
15946
|
};
|
|
15491
15947
|
|
|
15948
|
+
/**
|
|
15949
|
+
* ProposeConsolidationEntriesRequest
|
|
15950
|
+
*
|
|
15951
|
+
* The month to draft the consolidating entries for.
|
|
15952
|
+
*/
|
|
15953
|
+
export type ProposeConsolidationEntriesRequest = {
|
|
15954
|
+
/**
|
|
15955
|
+
* Period
|
|
15956
|
+
*
|
|
15957
|
+
* The month, as YYYY-MM.
|
|
15958
|
+
*/
|
|
15959
|
+
period: string;
|
|
15960
|
+
};
|
|
15961
|
+
|
|
15962
|
+
/**
|
|
15963
|
+
* ProposeConsolidationEntriesResponse
|
|
15964
|
+
*
|
|
15965
|
+
* The consolidating entries drafted for a month.
|
|
15966
|
+
*/
|
|
15967
|
+
export type ProposeConsolidationEntriesResponse = {
|
|
15968
|
+
/**
|
|
15969
|
+
* Period
|
|
15970
|
+
*
|
|
15971
|
+
* The month, as YYYY-MM.
|
|
15972
|
+
*/
|
|
15973
|
+
period: string;
|
|
15974
|
+
/**
|
|
15975
|
+
* Consolidation Entity Id
|
|
15976
|
+
*
|
|
15977
|
+
* The entity the drafts are in.
|
|
15978
|
+
*/
|
|
15979
|
+
consolidation_entity_id: string;
|
|
15980
|
+
/**
|
|
15981
|
+
* Closed
|
|
15982
|
+
*
|
|
15983
|
+
* True when the month is closed and nothing was drafted.
|
|
15984
|
+
*/
|
|
15985
|
+
closed?: boolean;
|
|
15986
|
+
/**
|
|
15987
|
+
* Entries
|
|
15988
|
+
*
|
|
15989
|
+
* The drafts written; the consolidation entity's close posts them.
|
|
15990
|
+
*/
|
|
15991
|
+
entries?: Array<JournalEntryResponse>;
|
|
15992
|
+
/**
|
|
15993
|
+
* Replaced
|
|
15994
|
+
*
|
|
15995
|
+
* Earlier drafts of this month's entries, replaced by these.
|
|
15996
|
+
*/
|
|
15997
|
+
replaced?: number;
|
|
15998
|
+
/**
|
|
15999
|
+
* Residuals
|
|
16000
|
+
*
|
|
16001
|
+
* Differences withheld from the drafts until explained.
|
|
16002
|
+
*/
|
|
16003
|
+
residuals?: Array<ConsolidationResidual>;
|
|
16004
|
+
/**
|
|
16005
|
+
* Reconciling Items
|
|
16006
|
+
*
|
|
16007
|
+
* Intercompany figures the two sides do not agree on.
|
|
16008
|
+
*/
|
|
16009
|
+
reconciling_items?: Array<ConsolidationReconcilingItem>;
|
|
16010
|
+
/**
|
|
16011
|
+
* Notes
|
|
16012
|
+
*
|
|
16013
|
+
* Anything the engine left out, and why.
|
|
16014
|
+
*/
|
|
16015
|
+
notes?: Array<string>;
|
|
16016
|
+
};
|
|
16017
|
+
|
|
15492
16018
|
/**
|
|
15493
16019
|
* PublishListMemberResponse
|
|
15494
16020
|
*
|
|
@@ -18633,6 +19159,52 @@ export type ServiceOfferingsResponse = {
|
|
|
18633
19159
|
summary: ServiceOfferingSummary;
|
|
18634
19160
|
};
|
|
18635
19161
|
|
|
19162
|
+
/**
|
|
19163
|
+
* SetAllocationOverrideRequest
|
|
19164
|
+
*
|
|
19165
|
+
* The outside owners' share of a member's result for one month, set by a
|
|
19166
|
+
* person in place of the pro-rata share: a preferred return, a waterfall, a
|
|
19167
|
+
* special allocation.
|
|
19168
|
+
*/
|
|
19169
|
+
export type SetAllocationOverrideRequest = {
|
|
19170
|
+
/**
|
|
19171
|
+
* Entity Id
|
|
19172
|
+
*
|
|
19173
|
+
* The member, consolidated in full.
|
|
19174
|
+
*/
|
|
19175
|
+
entity_id: string;
|
|
19176
|
+
/**
|
|
19177
|
+
* Period
|
|
19178
|
+
*
|
|
19179
|
+
* The month, as YYYY-MM.
|
|
19180
|
+
*/
|
|
19181
|
+
period: string;
|
|
19182
|
+
/**
|
|
19183
|
+
* Amount
|
|
19184
|
+
*
|
|
19185
|
+
* The outside owners' share of the month's result, in cents; negative for a share of a loss.
|
|
19186
|
+
*/
|
|
19187
|
+
amount?: number | null;
|
|
19188
|
+
/**
|
|
19189
|
+
* Percentage
|
|
19190
|
+
*
|
|
19191
|
+
* The outside owners' share as a percentage of the month's result.
|
|
19192
|
+
*/
|
|
19193
|
+
percentage?: number | null;
|
|
19194
|
+
/**
|
|
19195
|
+
* Basis
|
|
19196
|
+
*
|
|
19197
|
+
* Why the share differs from the ownership percentage; required to set one.
|
|
19198
|
+
*/
|
|
19199
|
+
basis?: string | null;
|
|
19200
|
+
/**
|
|
19201
|
+
* Clear
|
|
19202
|
+
*
|
|
19203
|
+
* Remove the month's override, back to the pro-rata share.
|
|
19204
|
+
*/
|
|
19205
|
+
clear?: boolean;
|
|
19206
|
+
};
|
|
19207
|
+
|
|
18636
19208
|
/**
|
|
18637
19209
|
* SetCloseTargetOperation
|
|
18638
19210
|
*/
|
|
@@ -32421,6 +32993,134 @@ export type RecordOpeningBalanceResponses = {
|
|
|
32421
32993
|
|
|
32422
32994
|
export type RecordOpeningBalanceResponse = RecordOpeningBalanceResponses[keyof RecordOpeningBalanceResponses];
|
|
32423
32995
|
|
|
32996
|
+
export type ProposeConsolidationEntriesData = {
|
|
32997
|
+
body: ProposeConsolidationEntriesRequest;
|
|
32998
|
+
headers?: {
|
|
32999
|
+
/**
|
|
33000
|
+
* Idempotency-Key
|
|
33001
|
+
*/
|
|
33002
|
+
'Idempotency-Key'?: string | null;
|
|
33003
|
+
};
|
|
33004
|
+
path: {
|
|
33005
|
+
/**
|
|
33006
|
+
* Graph Id
|
|
33007
|
+
*/
|
|
33008
|
+
graph_id: string;
|
|
33009
|
+
};
|
|
33010
|
+
query?: never;
|
|
33011
|
+
url: '/extensions/roboledger/{graph_id}/operations/propose-consolidation-entries';
|
|
33012
|
+
};
|
|
33013
|
+
|
|
33014
|
+
export type ProposeConsolidationEntriesErrors = {
|
|
33015
|
+
/**
|
|
33016
|
+
* Invalid request
|
|
33017
|
+
*/
|
|
33018
|
+
400: ErrorResponse;
|
|
33019
|
+
/**
|
|
33020
|
+
* Authentication required
|
|
33021
|
+
*/
|
|
33022
|
+
401: ErrorResponse;
|
|
33023
|
+
/**
|
|
33024
|
+
* Access denied
|
|
33025
|
+
*/
|
|
33026
|
+
403: ErrorResponse;
|
|
33027
|
+
/**
|
|
33028
|
+
* Resource not found
|
|
33029
|
+
*/
|
|
33030
|
+
404: ErrorResponse;
|
|
33031
|
+
/**
|
|
33032
|
+
* Idempotency-Key conflict — key reused with different body
|
|
33033
|
+
*/
|
|
33034
|
+
409: ErrorResponse;
|
|
33035
|
+
/**
|
|
33036
|
+
* Validation error
|
|
33037
|
+
*/
|
|
33038
|
+
422: ErrorResponse;
|
|
33039
|
+
/**
|
|
33040
|
+
* Rate limit exceeded
|
|
33041
|
+
*/
|
|
33042
|
+
429: ErrorResponse;
|
|
33043
|
+
/**
|
|
33044
|
+
* Internal server error
|
|
33045
|
+
*/
|
|
33046
|
+
500: ErrorResponse;
|
|
33047
|
+
};
|
|
33048
|
+
|
|
33049
|
+
export type ProposeConsolidationEntriesError = ProposeConsolidationEntriesErrors[keyof ProposeConsolidationEntriesErrors];
|
|
33050
|
+
|
|
33051
|
+
export type ProposeConsolidationEntriesResponses = {
|
|
33052
|
+
/**
|
|
33053
|
+
* Successful Response
|
|
33054
|
+
*/
|
|
33055
|
+
200: OperationEnvelopeProposeConsolidationEntriesResponse;
|
|
33056
|
+
};
|
|
33057
|
+
|
|
33058
|
+
export type ProposeConsolidationEntriesResponse2 = ProposeConsolidationEntriesResponses[keyof ProposeConsolidationEntriesResponses];
|
|
33059
|
+
|
|
33060
|
+
export type SetAllocationOverrideData = {
|
|
33061
|
+
body: SetAllocationOverrideRequest;
|
|
33062
|
+
headers?: {
|
|
33063
|
+
/**
|
|
33064
|
+
* Idempotency-Key
|
|
33065
|
+
*/
|
|
33066
|
+
'Idempotency-Key'?: string | null;
|
|
33067
|
+
};
|
|
33068
|
+
path: {
|
|
33069
|
+
/**
|
|
33070
|
+
* Graph Id
|
|
33071
|
+
*/
|
|
33072
|
+
graph_id: string;
|
|
33073
|
+
};
|
|
33074
|
+
query?: never;
|
|
33075
|
+
url: '/extensions/roboledger/{graph_id}/operations/set-allocation-override';
|
|
33076
|
+
};
|
|
33077
|
+
|
|
33078
|
+
export type SetAllocationOverrideErrors = {
|
|
33079
|
+
/**
|
|
33080
|
+
* Invalid request
|
|
33081
|
+
*/
|
|
33082
|
+
400: ErrorResponse;
|
|
33083
|
+
/**
|
|
33084
|
+
* Authentication required
|
|
33085
|
+
*/
|
|
33086
|
+
401: ErrorResponse;
|
|
33087
|
+
/**
|
|
33088
|
+
* Access denied
|
|
33089
|
+
*/
|
|
33090
|
+
403: ErrorResponse;
|
|
33091
|
+
/**
|
|
33092
|
+
* Resource not found
|
|
33093
|
+
*/
|
|
33094
|
+
404: ErrorResponse;
|
|
33095
|
+
/**
|
|
33096
|
+
* Idempotency-Key conflict — key reused with different body
|
|
33097
|
+
*/
|
|
33098
|
+
409: ErrorResponse;
|
|
33099
|
+
/**
|
|
33100
|
+
* Validation error
|
|
33101
|
+
*/
|
|
33102
|
+
422: ErrorResponse;
|
|
33103
|
+
/**
|
|
33104
|
+
* Rate limit exceeded
|
|
33105
|
+
*/
|
|
33106
|
+
429: ErrorResponse;
|
|
33107
|
+
/**
|
|
33108
|
+
* Internal server error
|
|
33109
|
+
*/
|
|
33110
|
+
500: ErrorResponse;
|
|
33111
|
+
};
|
|
33112
|
+
|
|
33113
|
+
export type SetAllocationOverrideError = SetAllocationOverrideErrors[keyof SetAllocationOverrideErrors];
|
|
33114
|
+
|
|
33115
|
+
export type SetAllocationOverrideResponses = {
|
|
33116
|
+
/**
|
|
33117
|
+
* Successful Response
|
|
33118
|
+
*/
|
|
33119
|
+
200: OperationEnvelopeAllocationOverrideResponse;
|
|
33120
|
+
};
|
|
33121
|
+
|
|
33122
|
+
export type SetAllocationOverrideResponse = SetAllocationOverrideResponses[keyof SetAllocationOverrideResponses];
|
|
33123
|
+
|
|
32424
33124
|
export type UpdateJournalEntryData = {
|
|
32425
33125
|
body: UpdateJournalEntryRequest;
|
|
32426
33126
|
headers?: {
|
|
@@ -34469,6 +35169,70 @@ export type ConsolidationWorksheetResponses = {
|
|
|
34469
35169
|
|
|
34470
35170
|
export type ConsolidationWorksheetResponse2 = ConsolidationWorksheetResponses[keyof ConsolidationWorksheetResponses];
|
|
34471
35171
|
|
|
35172
|
+
export type PreviewConsolidationEntriesData = {
|
|
35173
|
+
body: PreviewConsolidationEntriesRequest;
|
|
35174
|
+
headers?: {
|
|
35175
|
+
/**
|
|
35176
|
+
* Idempotency-Key
|
|
35177
|
+
*/
|
|
35178
|
+
'Idempotency-Key'?: string | null;
|
|
35179
|
+
};
|
|
35180
|
+
path: {
|
|
35181
|
+
/**
|
|
35182
|
+
* Graph Id
|
|
35183
|
+
*/
|
|
35184
|
+
graph_id: string;
|
|
35185
|
+
};
|
|
35186
|
+
query?: never;
|
|
35187
|
+
url: '/extensions/roboledger/{graph_id}/operations/preview-consolidation-entries';
|
|
35188
|
+
};
|
|
35189
|
+
|
|
35190
|
+
export type PreviewConsolidationEntriesErrors = {
|
|
35191
|
+
/**
|
|
35192
|
+
* Invalid request
|
|
35193
|
+
*/
|
|
35194
|
+
400: ErrorResponse;
|
|
35195
|
+
/**
|
|
35196
|
+
* Authentication required
|
|
35197
|
+
*/
|
|
35198
|
+
401: ErrorResponse;
|
|
35199
|
+
/**
|
|
35200
|
+
* Access denied
|
|
35201
|
+
*/
|
|
35202
|
+
403: ErrorResponse;
|
|
35203
|
+
/**
|
|
35204
|
+
* Resource not found
|
|
35205
|
+
*/
|
|
35206
|
+
404: ErrorResponse;
|
|
35207
|
+
/**
|
|
35208
|
+
* Idempotency-Key conflict — key reused with different body
|
|
35209
|
+
*/
|
|
35210
|
+
409: ErrorResponse;
|
|
35211
|
+
/**
|
|
35212
|
+
* Validation error
|
|
35213
|
+
*/
|
|
35214
|
+
422: ErrorResponse;
|
|
35215
|
+
/**
|
|
35216
|
+
* Rate limit exceeded
|
|
35217
|
+
*/
|
|
35218
|
+
429: ErrorResponse;
|
|
35219
|
+
/**
|
|
35220
|
+
* Internal server error
|
|
35221
|
+
*/
|
|
35222
|
+
500: ErrorResponse;
|
|
35223
|
+
};
|
|
35224
|
+
|
|
35225
|
+
export type PreviewConsolidationEntriesError = PreviewConsolidationEntriesErrors[keyof PreviewConsolidationEntriesErrors];
|
|
35226
|
+
|
|
35227
|
+
export type PreviewConsolidationEntriesResponses = {
|
|
35228
|
+
/**
|
|
35229
|
+
* Successful Response
|
|
35230
|
+
*/
|
|
35231
|
+
200: OperationEnvelopePreviewConsolidationEntriesResponse;
|
|
35232
|
+
};
|
|
35233
|
+
|
|
35234
|
+
export type PreviewConsolidationEntriesResponse2 = PreviewConsolidationEntriesResponses[keyof PreviewConsolidationEntriesResponses];
|
|
35235
|
+
|
|
34472
35236
|
export type CreatePortfolioBlockData = {
|
|
34473
35237
|
body: CreatePortfolioBlockRequest;
|
|
34474
35238
|
headers?: {
|