@robosystems/client 2.28.0 → 2.30.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 +36 -2
- package/artifacts/LedgerClient.js +36 -0
- package/artifacts/LedgerClient.ts +92 -0
- package/artifacts/graphql/generated/graphql.d.ts +50 -0
- package/artifacts/graphql/generated/graphql.js +193 -2
- package/artifacts/graphql/generated/graphql.ts +246 -0
- package/artifacts/graphql/queries/ledger/allocationShare.d.ts +10 -0
- package/artifacts/graphql/queries/ledger/allocationShare.js +51 -0
- package/artifacts/graphql/queries/ledger/allocationShare.ts +51 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +4 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +17 -1
- package/sdk/sdk.gen.js +36 -2
- package/sdk/sdk.gen.ts +35 -1
- package/sdk/types.gen.d.ts +464 -1
- package/sdk/types.gen.ts +481 -1
- package/sdk.gen.d.ts +17 -1
- package/sdk.gen.js +36 -2
- package/sdk.gen.ts +35 -1
- package/types.gen.d.ts +464 -1
- package/types.gen.ts +481 -1
package/types.gen.ts
CHANGED
|
@@ -268,6 +268,100 @@ export type AccountInfo = {
|
|
|
268
268
|
provider_account_id: string;
|
|
269
269
|
};
|
|
270
270
|
|
|
271
|
+
/**
|
|
272
|
+
* AcquisitionAllocation
|
|
273
|
+
*
|
|
274
|
+
* Part of an acquisition's excess assigned to an identifiable asset or
|
|
275
|
+
* liability at fair value instead of goodwill: a step-up.
|
|
276
|
+
*/
|
|
277
|
+
export type AcquisitionAllocation = {
|
|
278
|
+
/**
|
|
279
|
+
* Concept
|
|
280
|
+
*
|
|
281
|
+
* The rs-gaap concept stepped up, e.g. `rs-gaap:PropertyPlantAndEquipmentNet`; the consolidation entity needs an account mapped to it.
|
|
282
|
+
*/
|
|
283
|
+
concept: string;
|
|
284
|
+
/**
|
|
285
|
+
* Amount
|
|
286
|
+
*
|
|
287
|
+
* Cents, debit-positive: fair value less book value at acquisition. Positive raises an asset; negative raises a liability.
|
|
288
|
+
*/
|
|
289
|
+
amount: number;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* AcquisitionResponse
|
|
294
|
+
*
|
|
295
|
+
* A member's acquisition as recorded: the draft in the consolidation
|
|
296
|
+
* entity its close posts.
|
|
297
|
+
*/
|
|
298
|
+
export type AcquisitionResponse = {
|
|
299
|
+
/**
|
|
300
|
+
* Entity Id
|
|
301
|
+
*
|
|
302
|
+
* The member.
|
|
303
|
+
*/
|
|
304
|
+
entity_id: string;
|
|
305
|
+
/**
|
|
306
|
+
* Entity Name
|
|
307
|
+
*
|
|
308
|
+
* The member's name.
|
|
309
|
+
*/
|
|
310
|
+
entity_name: string;
|
|
311
|
+
/**
|
|
312
|
+
* Joined On
|
|
313
|
+
*
|
|
314
|
+
* When it joined the group.
|
|
315
|
+
*/
|
|
316
|
+
joined_on: string;
|
|
317
|
+
/**
|
|
318
|
+
* Equity At Acquisition
|
|
319
|
+
*
|
|
320
|
+
* Cents: the member's equity in its opening balance.
|
|
321
|
+
*/
|
|
322
|
+
equity_at_acquisition: number;
|
|
323
|
+
/**
|
|
324
|
+
* Parent Share
|
|
325
|
+
*
|
|
326
|
+
* Cents: the parent's share of that equity.
|
|
327
|
+
*/
|
|
328
|
+
parent_share: number;
|
|
329
|
+
/**
|
|
330
|
+
* Consideration
|
|
331
|
+
*
|
|
332
|
+
* Cents paid to the sellers.
|
|
333
|
+
*/
|
|
334
|
+
consideration: number;
|
|
335
|
+
/**
|
|
336
|
+
* Excess
|
|
337
|
+
*
|
|
338
|
+
* Cents: consideration less the parent's share of the equity.
|
|
339
|
+
*/
|
|
340
|
+
excess: number;
|
|
341
|
+
/**
|
|
342
|
+
* Goodwill
|
|
343
|
+
*
|
|
344
|
+
* Cents of goodwill; negative for a bargain purchase gain.
|
|
345
|
+
*/
|
|
346
|
+
goodwill: number;
|
|
347
|
+
/**
|
|
348
|
+
* Noncontrolling Interest
|
|
349
|
+
*
|
|
350
|
+
* Cents added to the outside owners' interest beyond their share of the member's book equity.
|
|
351
|
+
*/
|
|
352
|
+
noncontrolling_interest?: number;
|
|
353
|
+
/**
|
|
354
|
+
* The acquisition entry, a draft the close posts.
|
|
355
|
+
*/
|
|
356
|
+
entry: JournalEntryResponse;
|
|
357
|
+
/**
|
|
358
|
+
* Replaced
|
|
359
|
+
*
|
|
360
|
+
* True when it replaced an earlier draft of the acquisition.
|
|
361
|
+
*/
|
|
362
|
+
replaced?: boolean;
|
|
363
|
+
};
|
|
364
|
+
|
|
271
365
|
/**
|
|
272
366
|
* AddGraphMemberRequest
|
|
273
367
|
*
|
|
@@ -2556,7 +2650,7 @@ export type ConsolidationProposal = {
|
|
|
2556
2650
|
*
|
|
2557
2651
|
* What the entry adjusts.
|
|
2558
2652
|
*/
|
|
2559
|
-
adjustment_kind: 'elimination_investment' | 'elimination_intercompany' | 'elimination_unrealized_profit' | 'nci_allocation' | 'nci_distribution' | 'equity_method_pickup' | 'equity_method_distribution' | 'acquisition' | 'deconsolidation' | 'translation' | 'manual';
|
|
2653
|
+
adjustment_kind: 'elimination_investment' | 'elimination_intercompany' | 'elimination_unrealized_profit' | 'nci_allocation' | 'nci_distribution' | 'equity_method_pickup' | 'equity_method_distribution' | 'acquisition' | 'ownership_change' | 'deconsolidation' | 'translation' | 'manual';
|
|
2560
2654
|
/**
|
|
2561
2655
|
* Adjusts Entity Id
|
|
2562
2656
|
*
|
|
@@ -2719,6 +2813,12 @@ export type ConsolidationResidual = {
|
|
|
2719
2813
|
* What the two figures are.
|
|
2720
2814
|
*/
|
|
2721
2815
|
explanation: string;
|
|
2816
|
+
/**
|
|
2817
|
+
* Cause
|
|
2818
|
+
*
|
|
2819
|
+
* `pre_acquisition` when the member joined the group mid-life and its acquisition is not recorded: the parent paid its sellers, not the member, so `record-acquisition` explains the difference — the consideration, with the excess over the parent's share of the member's equity at acquisition as goodwill or fair-value step-ups.
|
|
2820
|
+
*/
|
|
2821
|
+
cause?: 'unexplained' | 'pre_acquisition';
|
|
2722
2822
|
};
|
|
2723
2823
|
|
|
2724
2824
|
/**
|
|
@@ -11501,6 +11601,52 @@ export type OperationEnvelopeAcceptSuggestionsResponse = {
|
|
|
11501
11601
|
idempotentReplay?: boolean;
|
|
11502
11602
|
};
|
|
11503
11603
|
|
|
11604
|
+
/**
|
|
11605
|
+
* OperationEnvelope[AcquisitionResponse]
|
|
11606
|
+
*/
|
|
11607
|
+
export type OperationEnvelopeAcquisitionResponse = {
|
|
11608
|
+
/**
|
|
11609
|
+
* Operation
|
|
11610
|
+
*
|
|
11611
|
+
* Kebab-case operation name
|
|
11612
|
+
*/
|
|
11613
|
+
operation: string;
|
|
11614
|
+
/**
|
|
11615
|
+
* Operationid
|
|
11616
|
+
*
|
|
11617
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
11618
|
+
*/
|
|
11619
|
+
operationId: string;
|
|
11620
|
+
/**
|
|
11621
|
+
* Status
|
|
11622
|
+
*
|
|
11623
|
+
* Operation lifecycle state
|
|
11624
|
+
*/
|
|
11625
|
+
status: 'completed' | 'pending' | 'failed';
|
|
11626
|
+
/**
|
|
11627
|
+
* Command-specific result payload
|
|
11628
|
+
*/
|
|
11629
|
+
result?: AcquisitionResponse | null;
|
|
11630
|
+
/**
|
|
11631
|
+
* At
|
|
11632
|
+
*
|
|
11633
|
+
* ISO-8601 UTC timestamp
|
|
11634
|
+
*/
|
|
11635
|
+
at: string;
|
|
11636
|
+
/**
|
|
11637
|
+
* Createdby
|
|
11638
|
+
*
|
|
11639
|
+
* User ID that initiated the operation
|
|
11640
|
+
*/
|
|
11641
|
+
createdBy?: string | null;
|
|
11642
|
+
/**
|
|
11643
|
+
* Idempotentreplay
|
|
11644
|
+
*
|
|
11645
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
11646
|
+
*/
|
|
11647
|
+
idempotentReplay?: boolean;
|
|
11648
|
+
};
|
|
11649
|
+
|
|
11504
11650
|
/**
|
|
11505
11651
|
* OperationEnvelope[AllocationOverrideResponse]
|
|
11506
11652
|
*/
|
|
@@ -13203,6 +13349,52 @@ export type OperationEnvelopeLiveFinancialStatementResponse = {
|
|
|
13203
13349
|
idempotentReplay?: boolean;
|
|
13204
13350
|
};
|
|
13205
13351
|
|
|
13352
|
+
/**
|
|
13353
|
+
* OperationEnvelope[OwnershipChangeResponse]
|
|
13354
|
+
*/
|
|
13355
|
+
export type OperationEnvelopeOwnershipChangeResponse = {
|
|
13356
|
+
/**
|
|
13357
|
+
* Operation
|
|
13358
|
+
*
|
|
13359
|
+
* Kebab-case operation name
|
|
13360
|
+
*/
|
|
13361
|
+
operation: string;
|
|
13362
|
+
/**
|
|
13363
|
+
* Operationid
|
|
13364
|
+
*
|
|
13365
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
13366
|
+
*/
|
|
13367
|
+
operationId: string;
|
|
13368
|
+
/**
|
|
13369
|
+
* Status
|
|
13370
|
+
*
|
|
13371
|
+
* Operation lifecycle state
|
|
13372
|
+
*/
|
|
13373
|
+
status: 'completed' | 'pending' | 'failed';
|
|
13374
|
+
/**
|
|
13375
|
+
* Command-specific result payload
|
|
13376
|
+
*/
|
|
13377
|
+
result?: OwnershipChangeResponse | null;
|
|
13378
|
+
/**
|
|
13379
|
+
* At
|
|
13380
|
+
*
|
|
13381
|
+
* ISO-8601 UTC timestamp
|
|
13382
|
+
*/
|
|
13383
|
+
at: string;
|
|
13384
|
+
/**
|
|
13385
|
+
* Createdby
|
|
13386
|
+
*
|
|
13387
|
+
* User ID that initiated the operation
|
|
13388
|
+
*/
|
|
13389
|
+
createdBy?: string | null;
|
|
13390
|
+
/**
|
|
13391
|
+
* Idempotentreplay
|
|
13392
|
+
*
|
|
13393
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
13394
|
+
*/
|
|
13395
|
+
idempotentReplay?: boolean;
|
|
13396
|
+
};
|
|
13397
|
+
|
|
13206
13398
|
/**
|
|
13207
13399
|
* OperationEnvelope[PortfolioBlockEnvelope]
|
|
13208
13400
|
*/
|
|
@@ -14863,6 +15055,79 @@ export type OrgUsageSummary = {
|
|
|
14863
15055
|
storage_limit_gb: number | null;
|
|
14864
15056
|
};
|
|
14865
15057
|
|
|
15058
|
+
/**
|
|
15059
|
+
* OwnershipChangeResponse
|
|
15060
|
+
*
|
|
15061
|
+
* A change in the parent's share of a member as recorded: the draft in
|
|
15062
|
+
* the consolidation entity its close posts.
|
|
15063
|
+
*/
|
|
15064
|
+
export type OwnershipChangeResponse = {
|
|
15065
|
+
/**
|
|
15066
|
+
* Entity Id
|
|
15067
|
+
*
|
|
15068
|
+
* The member.
|
|
15069
|
+
*/
|
|
15070
|
+
entity_id: string;
|
|
15071
|
+
/**
|
|
15072
|
+
* Entity Name
|
|
15073
|
+
*
|
|
15074
|
+
* The member's name.
|
|
15075
|
+
*/
|
|
15076
|
+
entity_name: string;
|
|
15077
|
+
/**
|
|
15078
|
+
* Period
|
|
15079
|
+
*
|
|
15080
|
+
* The first month the new share holds.
|
|
15081
|
+
*/
|
|
15082
|
+
period: string;
|
|
15083
|
+
/**
|
|
15084
|
+
* From Pct
|
|
15085
|
+
*
|
|
15086
|
+
* The parent's share the month before.
|
|
15087
|
+
*/
|
|
15088
|
+
from_pct: number;
|
|
15089
|
+
/**
|
|
15090
|
+
* To Pct
|
|
15091
|
+
*
|
|
15092
|
+
* The parent's share from `period`.
|
|
15093
|
+
*/
|
|
15094
|
+
to_pct: number;
|
|
15095
|
+
/**
|
|
15096
|
+
* Consideration
|
|
15097
|
+
*
|
|
15098
|
+
* Cents paid to the outside owners.
|
|
15099
|
+
*/
|
|
15100
|
+
consideration: number;
|
|
15101
|
+
/**
|
|
15102
|
+
* Book Value
|
|
15103
|
+
*
|
|
15104
|
+
* Cents: the share bought of the member's capital, which the investment elimination moves from the outside owners to the parent.
|
|
15105
|
+
*/
|
|
15106
|
+
book_value: number;
|
|
15107
|
+
/**
|
|
15108
|
+
* Earnings Transferred
|
|
15109
|
+
*
|
|
15110
|
+
* Cents: the share bought of the member's results since it joined, moved from the outside owners' interest to the parent.
|
|
15111
|
+
*/
|
|
15112
|
+
earnings_transferred: number;
|
|
15113
|
+
/**
|
|
15114
|
+
* Equity Adjustment
|
|
15115
|
+
*
|
|
15116
|
+
* Cents taken from the parent's equity: the price above the carrying amount of what was bought (negative when it paid less).
|
|
15117
|
+
*/
|
|
15118
|
+
equity_adjustment: number;
|
|
15119
|
+
/**
|
|
15120
|
+
* The ownership change entry, a draft the close posts.
|
|
15121
|
+
*/
|
|
15122
|
+
entry: JournalEntryResponse;
|
|
15123
|
+
/**
|
|
15124
|
+
* Replaced
|
|
15125
|
+
*
|
|
15126
|
+
* True when it replaced an earlier draft for the month.
|
|
15127
|
+
*/
|
|
15128
|
+
replaced?: boolean;
|
|
15129
|
+
};
|
|
15130
|
+
|
|
14866
15131
|
/**
|
|
14867
15132
|
* PasskeyDeleteRequest
|
|
14868
15133
|
*
|
|
@@ -17213,6 +17478,53 @@ export type ReconcilingItemRegenerated = {
|
|
|
17213
17478
|
entry_ids?: Array<string>;
|
|
17214
17479
|
};
|
|
17215
17480
|
|
|
17481
|
+
/**
|
|
17482
|
+
* RecordAcquisitionRequest
|
|
17483
|
+
*
|
|
17484
|
+
* A member bought from its outside owners: what the parent paid them,
|
|
17485
|
+
* and how the excess over its share of the member's equity at acquisition is
|
|
17486
|
+
* allocated. The engine never invents a fair value; each comes from the
|
|
17487
|
+
* person, with the basis.
|
|
17488
|
+
*/
|
|
17489
|
+
export type RecordAcquisitionRequest = {
|
|
17490
|
+
/**
|
|
17491
|
+
* Entity Id
|
|
17492
|
+
*
|
|
17493
|
+
* The member acquired, consolidated in full, with `joined_on` set and its opening balance recorded at acquisition.
|
|
17494
|
+
*/
|
|
17495
|
+
entity_id: string;
|
|
17496
|
+
/**
|
|
17497
|
+
* Consideration
|
|
17498
|
+
*
|
|
17499
|
+
* Cents the parent paid the sellers for its interest. Its investment line names the seller, not the member, which is why it is given here.
|
|
17500
|
+
*/
|
|
17501
|
+
consideration: number;
|
|
17502
|
+
/**
|
|
17503
|
+
* Nci Fair Value
|
|
17504
|
+
*
|
|
17505
|
+
* Cents: the fair value of the outside owners' interest at acquisition, for goodwill on the whole business (ASC 805). Omitted, the outside owners carry their share of the identifiable net assets and goodwill is the parent's alone.
|
|
17506
|
+
*/
|
|
17507
|
+
nci_fair_value?: number | null;
|
|
17508
|
+
/**
|
|
17509
|
+
* Allocations
|
|
17510
|
+
*
|
|
17511
|
+
* Fair-value step-ups; what is left of the excess is goodwill.
|
|
17512
|
+
*/
|
|
17513
|
+
allocations?: Array<AcquisitionAllocation>;
|
|
17514
|
+
/**
|
|
17515
|
+
* Basis
|
|
17516
|
+
*
|
|
17517
|
+
* Where the consideration and fair values come from: the purchase agreement, a valuation.
|
|
17518
|
+
*/
|
|
17519
|
+
basis: string;
|
|
17520
|
+
/**
|
|
17521
|
+
* Confirm Bargain Purchase
|
|
17522
|
+
*
|
|
17523
|
+
* Required when the parent paid less than its share of the fair value of what it acquired. ASC 805 has the acquirer reassess before recognizing the gain; set it only after that review.
|
|
17524
|
+
*/
|
|
17525
|
+
confirm_bargain_purchase?: boolean;
|
|
17526
|
+
};
|
|
17527
|
+
|
|
17216
17528
|
/**
|
|
17217
17529
|
* RecordOpeningBalanceRequest
|
|
17218
17530
|
*
|
|
@@ -17245,6 +17557,46 @@ export type RecordOpeningBalanceRequest = {
|
|
|
17245
17557
|
memo?: string | null;
|
|
17246
17558
|
};
|
|
17247
17559
|
|
|
17560
|
+
/**
|
|
17561
|
+
* RecordOwnershipChangeRequest
|
|
17562
|
+
*
|
|
17563
|
+
* The parent buys more of a member from its outside owners, staying on the
|
|
17564
|
+
* same consolidation method: the share it holds from a month, and what it
|
|
17565
|
+
* paid. ASC 810 makes it an equity transaction, never a gain or loss.
|
|
17566
|
+
*/
|
|
17567
|
+
export type RecordOwnershipChangeRequest = {
|
|
17568
|
+
/**
|
|
17569
|
+
* Entity Id
|
|
17570
|
+
*
|
|
17571
|
+
* The member, consolidated in full.
|
|
17572
|
+
*/
|
|
17573
|
+
entity_id: string;
|
|
17574
|
+
/**
|
|
17575
|
+
* Period
|
|
17576
|
+
*
|
|
17577
|
+
* The month, as YYYY-MM.
|
|
17578
|
+
*/
|
|
17579
|
+
period: string;
|
|
17580
|
+
/**
|
|
17581
|
+
* Ownership Pct
|
|
17582
|
+
*
|
|
17583
|
+
* The parent's share from `period`, as a percentage: above its share the month before, and 50 or more, so the member stays consolidated in full.
|
|
17584
|
+
*/
|
|
17585
|
+
ownership_pct: number;
|
|
17586
|
+
/**
|
|
17587
|
+
* Consideration
|
|
17588
|
+
*
|
|
17589
|
+
* Cents the parent paid the outside owners for the shares. Its line names them, not the member, which is why it is given here.
|
|
17590
|
+
*/
|
|
17591
|
+
consideration: number;
|
|
17592
|
+
/**
|
|
17593
|
+
* Basis
|
|
17594
|
+
*
|
|
17595
|
+
* The purchase agreement, or what sets the price.
|
|
17596
|
+
*/
|
|
17597
|
+
basis: string;
|
|
17598
|
+
};
|
|
17599
|
+
|
|
17248
17600
|
/**
|
|
17249
17601
|
* RecordStatementBalanceRequest
|
|
17250
17602
|
*
|
|
@@ -33319,6 +33671,134 @@ export type SetAllocationOverrideResponses = {
|
|
|
33319
33671
|
|
|
33320
33672
|
export type SetAllocationOverrideResponse = SetAllocationOverrideResponses[keyof SetAllocationOverrideResponses];
|
|
33321
33673
|
|
|
33674
|
+
export type RecordAcquisitionData = {
|
|
33675
|
+
body: RecordAcquisitionRequest;
|
|
33676
|
+
headers?: {
|
|
33677
|
+
/**
|
|
33678
|
+
* Idempotency-Key
|
|
33679
|
+
*/
|
|
33680
|
+
'Idempotency-Key'?: string | null;
|
|
33681
|
+
};
|
|
33682
|
+
path: {
|
|
33683
|
+
/**
|
|
33684
|
+
* Graph Id
|
|
33685
|
+
*/
|
|
33686
|
+
graph_id: string;
|
|
33687
|
+
};
|
|
33688
|
+
query?: never;
|
|
33689
|
+
url: '/extensions/roboledger/{graph_id}/operations/record-acquisition';
|
|
33690
|
+
};
|
|
33691
|
+
|
|
33692
|
+
export type RecordAcquisitionErrors = {
|
|
33693
|
+
/**
|
|
33694
|
+
* Invalid request
|
|
33695
|
+
*/
|
|
33696
|
+
400: ErrorResponse;
|
|
33697
|
+
/**
|
|
33698
|
+
* Authentication required
|
|
33699
|
+
*/
|
|
33700
|
+
401: ErrorResponse;
|
|
33701
|
+
/**
|
|
33702
|
+
* Access denied
|
|
33703
|
+
*/
|
|
33704
|
+
403: ErrorResponse;
|
|
33705
|
+
/**
|
|
33706
|
+
* Resource not found
|
|
33707
|
+
*/
|
|
33708
|
+
404: ErrorResponse;
|
|
33709
|
+
/**
|
|
33710
|
+
* Idempotency-Key conflict — key reused with different body
|
|
33711
|
+
*/
|
|
33712
|
+
409: ErrorResponse;
|
|
33713
|
+
/**
|
|
33714
|
+
* Validation error
|
|
33715
|
+
*/
|
|
33716
|
+
422: ErrorResponse;
|
|
33717
|
+
/**
|
|
33718
|
+
* Rate limit exceeded
|
|
33719
|
+
*/
|
|
33720
|
+
429: ErrorResponse;
|
|
33721
|
+
/**
|
|
33722
|
+
* Internal server error
|
|
33723
|
+
*/
|
|
33724
|
+
500: ErrorResponse;
|
|
33725
|
+
};
|
|
33726
|
+
|
|
33727
|
+
export type RecordAcquisitionError = RecordAcquisitionErrors[keyof RecordAcquisitionErrors];
|
|
33728
|
+
|
|
33729
|
+
export type RecordAcquisitionResponses = {
|
|
33730
|
+
/**
|
|
33731
|
+
* Successful Response
|
|
33732
|
+
*/
|
|
33733
|
+
200: OperationEnvelopeAcquisitionResponse;
|
|
33734
|
+
};
|
|
33735
|
+
|
|
33736
|
+
export type RecordAcquisitionResponse = RecordAcquisitionResponses[keyof RecordAcquisitionResponses];
|
|
33737
|
+
|
|
33738
|
+
export type RecordOwnershipChangeData = {
|
|
33739
|
+
body: RecordOwnershipChangeRequest;
|
|
33740
|
+
headers?: {
|
|
33741
|
+
/**
|
|
33742
|
+
* Idempotency-Key
|
|
33743
|
+
*/
|
|
33744
|
+
'Idempotency-Key'?: string | null;
|
|
33745
|
+
};
|
|
33746
|
+
path: {
|
|
33747
|
+
/**
|
|
33748
|
+
* Graph Id
|
|
33749
|
+
*/
|
|
33750
|
+
graph_id: string;
|
|
33751
|
+
};
|
|
33752
|
+
query?: never;
|
|
33753
|
+
url: '/extensions/roboledger/{graph_id}/operations/record-ownership-change';
|
|
33754
|
+
};
|
|
33755
|
+
|
|
33756
|
+
export type RecordOwnershipChangeErrors = {
|
|
33757
|
+
/**
|
|
33758
|
+
* Invalid request
|
|
33759
|
+
*/
|
|
33760
|
+
400: ErrorResponse;
|
|
33761
|
+
/**
|
|
33762
|
+
* Authentication required
|
|
33763
|
+
*/
|
|
33764
|
+
401: ErrorResponse;
|
|
33765
|
+
/**
|
|
33766
|
+
* Access denied
|
|
33767
|
+
*/
|
|
33768
|
+
403: ErrorResponse;
|
|
33769
|
+
/**
|
|
33770
|
+
* Resource not found
|
|
33771
|
+
*/
|
|
33772
|
+
404: ErrorResponse;
|
|
33773
|
+
/**
|
|
33774
|
+
* Idempotency-Key conflict — key reused with different body
|
|
33775
|
+
*/
|
|
33776
|
+
409: ErrorResponse;
|
|
33777
|
+
/**
|
|
33778
|
+
* Validation error
|
|
33779
|
+
*/
|
|
33780
|
+
422: ErrorResponse;
|
|
33781
|
+
/**
|
|
33782
|
+
* Rate limit exceeded
|
|
33783
|
+
*/
|
|
33784
|
+
429: ErrorResponse;
|
|
33785
|
+
/**
|
|
33786
|
+
* Internal server error
|
|
33787
|
+
*/
|
|
33788
|
+
500: ErrorResponse;
|
|
33789
|
+
};
|
|
33790
|
+
|
|
33791
|
+
export type RecordOwnershipChangeError = RecordOwnershipChangeErrors[keyof RecordOwnershipChangeErrors];
|
|
33792
|
+
|
|
33793
|
+
export type RecordOwnershipChangeResponses = {
|
|
33794
|
+
/**
|
|
33795
|
+
* Successful Response
|
|
33796
|
+
*/
|
|
33797
|
+
200: OperationEnvelopeOwnershipChangeResponse;
|
|
33798
|
+
};
|
|
33799
|
+
|
|
33800
|
+
export type RecordOwnershipChangeResponse = RecordOwnershipChangeResponses[keyof RecordOwnershipChangeResponses];
|
|
33801
|
+
|
|
33322
33802
|
export type UpdateJournalEntryData = {
|
|
33323
33803
|
body: UpdateJournalEntryRequest;
|
|
33324
33804
|
headers?: {
|