@robosystems/client 2.31.0 → 2.32.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 +206 -23
- package/artifacts/LedgerClient.js +122 -26
- package/artifacts/LedgerClient.ts +330 -47
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +3 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +9 -1
- package/sdk/sdk.gen.js +19 -2
- package/sdk/sdk.gen.ts +18 -1
- package/sdk/types.gen.d.ts +231 -0
- package/sdk/types.gen.ts +240 -0
- package/sdk.gen.d.ts +9 -1
- package/sdk.gen.js +19 -2
- package/sdk.gen.ts +18 -1
- package/types.gen.d.ts +231 -0
- package/types.gen.ts +240 -0
package/types.gen.ts
CHANGED
|
@@ -4759,6 +4759,74 @@ export type DatabaseStorageEntry = {
|
|
|
4759
4759
|
size_mb?: number | null;
|
|
4760
4760
|
};
|
|
4761
4761
|
|
|
4762
|
+
/**
|
|
4763
|
+
* DeconsolidationResponse
|
|
4764
|
+
*
|
|
4765
|
+
* A member's leaving as recorded: the draft in the consolidation entity
|
|
4766
|
+
* its close posts, dated the first day of the month after the member's
|
|
4767
|
+
* last.
|
|
4768
|
+
*/
|
|
4769
|
+
export type DeconsolidationResponse = {
|
|
4770
|
+
/**
|
|
4771
|
+
* Entity Id
|
|
4772
|
+
*
|
|
4773
|
+
* The member that left.
|
|
4774
|
+
*/
|
|
4775
|
+
entity_id: string;
|
|
4776
|
+
/**
|
|
4777
|
+
* Entity Name
|
|
4778
|
+
*
|
|
4779
|
+
* The member's name.
|
|
4780
|
+
*/
|
|
4781
|
+
entity_name: string;
|
|
4782
|
+
/**
|
|
4783
|
+
* Left On
|
|
4784
|
+
*
|
|
4785
|
+
* The day it left, as the entity records.
|
|
4786
|
+
*/
|
|
4787
|
+
left_on: string;
|
|
4788
|
+
/**
|
|
4789
|
+
* Period
|
|
4790
|
+
*
|
|
4791
|
+
* The month the entry is dated in, as YYYY-MM: the first the group reads without the member.
|
|
4792
|
+
*/
|
|
4793
|
+
period: string;
|
|
4794
|
+
/**
|
|
4795
|
+
* Consideration
|
|
4796
|
+
*
|
|
4797
|
+
* Cents the parent received.
|
|
4798
|
+
*/
|
|
4799
|
+
consideration: number;
|
|
4800
|
+
/**
|
|
4801
|
+
* Derecognized
|
|
4802
|
+
*
|
|
4803
|
+
* What the consolidation entity held for the member beyond the eliminations its leaving reverses on their own, each taken off.
|
|
4804
|
+
*/
|
|
4805
|
+
derecognized?: Array<DerecognizedBalance>;
|
|
4806
|
+
/**
|
|
4807
|
+
* Earnings Restored
|
|
4808
|
+
*
|
|
4809
|
+
* Cents: the member's results since it joined, credited to the group's equity as they leave with its books; they were the group's income. Zero for an equity-method member, whose books were never summed.
|
|
4810
|
+
*/
|
|
4811
|
+
earnings_restored?: number;
|
|
4812
|
+
/**
|
|
4813
|
+
* Gain Loss
|
|
4814
|
+
*
|
|
4815
|
+
* Cents, a gain positive: the group's adjustment to the parent's own gain or loss on the sale, so the consolidated gain is the consideration less the carrying amount of what left (ASC 810).
|
|
4816
|
+
*/
|
|
4817
|
+
gain_loss: number;
|
|
4818
|
+
/**
|
|
4819
|
+
* The deconsolidation entry, a draft the close posts.
|
|
4820
|
+
*/
|
|
4821
|
+
entry: JournalEntryResponse;
|
|
4822
|
+
/**
|
|
4823
|
+
* Replaced
|
|
4824
|
+
*
|
|
4825
|
+
* True when it replaced an earlier draft of the deconsolidation.
|
|
4826
|
+
*/
|
|
4827
|
+
replaced?: boolean;
|
|
4828
|
+
};
|
|
4829
|
+
|
|
4762
4830
|
/**
|
|
4763
4831
|
* DeleteDocumentOp
|
|
4764
4832
|
*
|
|
@@ -5144,6 +5212,27 @@ export type DeleteTaxonomyBlockResponse = {
|
|
|
5144
5212
|
cascade_applied?: boolean;
|
|
5145
5213
|
};
|
|
5146
5214
|
|
|
5215
|
+
/**
|
|
5216
|
+
* DerecognizedBalance
|
|
5217
|
+
*
|
|
5218
|
+
* A balance the consolidation entity held for a member that left, taken
|
|
5219
|
+
* off by the deconsolidation.
|
|
5220
|
+
*/
|
|
5221
|
+
export type DerecognizedBalance = {
|
|
5222
|
+
/**
|
|
5223
|
+
* Concept
|
|
5224
|
+
*
|
|
5225
|
+
* The rs-gaap concept.
|
|
5226
|
+
*/
|
|
5227
|
+
concept: string;
|
|
5228
|
+
/**
|
|
5229
|
+
* Amount
|
|
5230
|
+
*
|
|
5231
|
+
* Cents as held: positive a debit (goodwill, a step-up), negative a credit (the outside owners' interest, the price above book of the parent's investment).
|
|
5232
|
+
*/
|
|
5233
|
+
amount: number;
|
|
5234
|
+
};
|
|
5235
|
+
|
|
5147
5236
|
/**
|
|
5148
5237
|
* DescribeFilingRequest
|
|
5149
5238
|
*
|
|
@@ -9896,6 +9985,12 @@ export type LedgerEntityResponse = {
|
|
|
9896
9985
|
* The month this entity left the group, as any date in it; null is a member still. The consolidated statements include it through that month and leave it out after. Membership is by month: a period column wider than a month that overlaps the interval is summed whole, so a member's books in this graph should hold only the months it belonged.
|
|
9897
9986
|
*/
|
|
9898
9987
|
left_on?: string | null;
|
|
9988
|
+
/**
|
|
9989
|
+
* Is Former
|
|
9990
|
+
*
|
|
9991
|
+
* True once the month this entity left the group is over: its months in the group are history, readable under it, and it is no longer current. False for a member still in, and through the month it leaves.
|
|
9992
|
+
*/
|
|
9993
|
+
is_former?: boolean;
|
|
9899
9994
|
/**
|
|
9900
9995
|
* Source
|
|
9901
9996
|
*
|
|
@@ -12285,6 +12380,52 @@ export type OperationEnvelopeConsolidationWorksheetResponse = {
|
|
|
12285
12380
|
idempotentReplay?: boolean;
|
|
12286
12381
|
};
|
|
12287
12382
|
|
|
12383
|
+
/**
|
|
12384
|
+
* OperationEnvelope[DeconsolidationResponse]
|
|
12385
|
+
*/
|
|
12386
|
+
export type OperationEnvelopeDeconsolidationResponse = {
|
|
12387
|
+
/**
|
|
12388
|
+
* Operation
|
|
12389
|
+
*
|
|
12390
|
+
* Kebab-case operation name
|
|
12391
|
+
*/
|
|
12392
|
+
operation: string;
|
|
12393
|
+
/**
|
|
12394
|
+
* Operationid
|
|
12395
|
+
*
|
|
12396
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
12397
|
+
*/
|
|
12398
|
+
operationId: string;
|
|
12399
|
+
/**
|
|
12400
|
+
* Status
|
|
12401
|
+
*
|
|
12402
|
+
* Operation lifecycle state
|
|
12403
|
+
*/
|
|
12404
|
+
status: 'completed' | 'pending' | 'failed';
|
|
12405
|
+
/**
|
|
12406
|
+
* Command-specific result payload
|
|
12407
|
+
*/
|
|
12408
|
+
result?: DeconsolidationResponse | null;
|
|
12409
|
+
/**
|
|
12410
|
+
* At
|
|
12411
|
+
*
|
|
12412
|
+
* ISO-8601 UTC timestamp
|
|
12413
|
+
*/
|
|
12414
|
+
at: string;
|
|
12415
|
+
/**
|
|
12416
|
+
* Createdby
|
|
12417
|
+
*
|
|
12418
|
+
* User ID that initiated the operation
|
|
12419
|
+
*/
|
|
12420
|
+
createdBy?: string | null;
|
|
12421
|
+
/**
|
|
12422
|
+
* Idempotentreplay
|
|
12423
|
+
*
|
|
12424
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
12425
|
+
*/
|
|
12426
|
+
idempotentReplay?: boolean;
|
|
12427
|
+
};
|
|
12428
|
+
|
|
12288
12429
|
/**
|
|
12289
12430
|
* OperationEnvelope[DeleteInformationBlockResponse]
|
|
12290
12431
|
*/
|
|
@@ -15242,6 +15383,12 @@ export type OwnershipChangeResponse = {
|
|
|
15242
15383
|
* Cents: the share bought of the member's results since it joined, moved from the outside owners' interest to the parent.
|
|
15243
15384
|
*/
|
|
15244
15385
|
earnings_transferred: number;
|
|
15386
|
+
/**
|
|
15387
|
+
* Premium Transferred
|
|
15388
|
+
*
|
|
15389
|
+
* Cents: the share bought of the outside owners' interest beyond their share of book value (from the acquisition at fair value, or its step-ups), moved to the parent.
|
|
15390
|
+
*/
|
|
15391
|
+
premium_transferred?: number;
|
|
15245
15392
|
/**
|
|
15246
15393
|
* Equity Adjustment
|
|
15247
15394
|
*
|
|
@@ -17785,6 +17932,35 @@ export type RecordAcquisitionRequest = {
|
|
|
17785
17932
|
confirm_bargain_purchase?: boolean;
|
|
17786
17933
|
};
|
|
17787
17934
|
|
|
17935
|
+
/**
|
|
17936
|
+
* RecordDeconsolidationRequest
|
|
17937
|
+
*
|
|
17938
|
+
* A member has left the group (`left_on` set): what the parent received
|
|
17939
|
+
* for its shares, and the basis. The entry derecognizes what the
|
|
17940
|
+
* consolidation entity still holds for the member and takes the gain or
|
|
17941
|
+
* loss on its leaving; the parent's own sale entry stays on its books.
|
|
17942
|
+
*/
|
|
17943
|
+
export type RecordDeconsolidationRequest = {
|
|
17944
|
+
/**
|
|
17945
|
+
* Entity Id
|
|
17946
|
+
*
|
|
17947
|
+
* The member that left: its `left_on` is set.
|
|
17948
|
+
*/
|
|
17949
|
+
entity_id: string;
|
|
17950
|
+
/**
|
|
17951
|
+
* Consideration
|
|
17952
|
+
*
|
|
17953
|
+
* Cents the parent received for its shares; 0 for a dissolution or an abandonment. Recorded with the entry for the record: the parent's own books hold the sale, cash against its investment and its own gain or loss, which this entry adjusts to the group's.
|
|
17954
|
+
*/
|
|
17955
|
+
consideration: number;
|
|
17956
|
+
/**
|
|
17957
|
+
* Basis
|
|
17958
|
+
*
|
|
17959
|
+
* The sale agreement, the dissolution, or what sets the price.
|
|
17960
|
+
*/
|
|
17961
|
+
basis: string;
|
|
17962
|
+
};
|
|
17963
|
+
|
|
17788
17964
|
/**
|
|
17789
17965
|
* RecordOpeningBalanceRequest
|
|
17790
17966
|
*
|
|
@@ -34234,6 +34410,70 @@ export type RecordOwnershipChangeResponses = {
|
|
|
34234
34410
|
|
|
34235
34411
|
export type RecordOwnershipChangeResponse = RecordOwnershipChangeResponses[keyof RecordOwnershipChangeResponses];
|
|
34236
34412
|
|
|
34413
|
+
export type RecordDeconsolidationData = {
|
|
34414
|
+
body: RecordDeconsolidationRequest;
|
|
34415
|
+
headers?: {
|
|
34416
|
+
/**
|
|
34417
|
+
* Idempotency-Key
|
|
34418
|
+
*/
|
|
34419
|
+
'Idempotency-Key'?: string | null;
|
|
34420
|
+
};
|
|
34421
|
+
path: {
|
|
34422
|
+
/**
|
|
34423
|
+
* Graph Id
|
|
34424
|
+
*/
|
|
34425
|
+
graph_id: string;
|
|
34426
|
+
};
|
|
34427
|
+
query?: never;
|
|
34428
|
+
url: '/extensions/roboledger/{graph_id}/operations/record-deconsolidation';
|
|
34429
|
+
};
|
|
34430
|
+
|
|
34431
|
+
export type RecordDeconsolidationErrors = {
|
|
34432
|
+
/**
|
|
34433
|
+
* Invalid request
|
|
34434
|
+
*/
|
|
34435
|
+
400: ErrorResponse;
|
|
34436
|
+
/**
|
|
34437
|
+
* Authentication required
|
|
34438
|
+
*/
|
|
34439
|
+
401: ErrorResponse;
|
|
34440
|
+
/**
|
|
34441
|
+
* Access denied
|
|
34442
|
+
*/
|
|
34443
|
+
403: ErrorResponse;
|
|
34444
|
+
/**
|
|
34445
|
+
* Resource not found
|
|
34446
|
+
*/
|
|
34447
|
+
404: ErrorResponse;
|
|
34448
|
+
/**
|
|
34449
|
+
* Idempotency-Key conflict — key reused with different body
|
|
34450
|
+
*/
|
|
34451
|
+
409: ErrorResponse;
|
|
34452
|
+
/**
|
|
34453
|
+
* Validation error
|
|
34454
|
+
*/
|
|
34455
|
+
422: ErrorResponse;
|
|
34456
|
+
/**
|
|
34457
|
+
* Rate limit exceeded
|
|
34458
|
+
*/
|
|
34459
|
+
429: ErrorResponse;
|
|
34460
|
+
/**
|
|
34461
|
+
* Internal server error
|
|
34462
|
+
*/
|
|
34463
|
+
500: ErrorResponse;
|
|
34464
|
+
};
|
|
34465
|
+
|
|
34466
|
+
export type RecordDeconsolidationError = RecordDeconsolidationErrors[keyof RecordDeconsolidationErrors];
|
|
34467
|
+
|
|
34468
|
+
export type RecordDeconsolidationResponses = {
|
|
34469
|
+
/**
|
|
34470
|
+
* Successful Response
|
|
34471
|
+
*/
|
|
34472
|
+
200: OperationEnvelopeDeconsolidationResponse;
|
|
34473
|
+
};
|
|
34474
|
+
|
|
34475
|
+
export type RecordDeconsolidationResponse = RecordDeconsolidationResponses[keyof RecordDeconsolidationResponses];
|
|
34476
|
+
|
|
34237
34477
|
export type UpdateJournalEntryData = {
|
|
34238
34478
|
body: UpdateJournalEntryRequest;
|
|
34239
34479
|
headers?: {
|