@robosystems/client 2.17.0 → 2.18.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 +12 -1
- package/artifacts/LedgerClient.js +14 -0
- package/artifacts/LedgerClient.ts +22 -0
- 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 +123 -0
- package/sdk/types.gen.ts +130 -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 +123 -0
- package/types.gen.ts +130 -0
package/types.gen.ts
CHANGED
|
@@ -10222,6 +10222,12 @@ export type LiveFinancialStatementResponse = {
|
|
|
10222
10222
|
* Rendered columns, aligned with each row's `values`. Current and prior for income_statement and balance_sheet; current only for cash_flow_statement — the prior period is pivoted as the indirect-method delta basis and not rendered.
|
|
10223
10223
|
*/
|
|
10224
10224
|
periods: Array<PeriodSpec>;
|
|
10225
|
+
/**
|
|
10226
|
+
* Omitted Periods
|
|
10227
|
+
*
|
|
10228
|
+
* Columns left out because they reach back before the books begin: on books that start from an opening balance, a flow statement column that starts before the first day it covers, or a balance sheet dated before it. They would show a partial figure, not the months before the books.
|
|
10229
|
+
*/
|
|
10230
|
+
omitted_periods?: Array<PeriodSpec>;
|
|
10225
10231
|
/**
|
|
10226
10232
|
* Facts
|
|
10227
10233
|
*/
|
|
@@ -11024,6 +11030,34 @@ export type OfferingRepositoryPlan = {
|
|
|
11024
11030
|
} | null;
|
|
11025
11031
|
};
|
|
11026
11032
|
|
|
11033
|
+
/**
|
|
11034
|
+
* OpeningBalanceInput
|
|
11035
|
+
*
|
|
11036
|
+
* One account's balance on the day the books begin, in its normal
|
|
11037
|
+
* direction: an asset as a debit, a liability or equity account as a credit
|
|
11038
|
+
* (a contra account the other way).
|
|
11039
|
+
*/
|
|
11040
|
+
export type OpeningBalanceInput = {
|
|
11041
|
+
/**
|
|
11042
|
+
* Element Id
|
|
11043
|
+
*
|
|
11044
|
+
* The balance-sheet account, by id.
|
|
11045
|
+
*/
|
|
11046
|
+
element_id: string;
|
|
11047
|
+
/**
|
|
11048
|
+
* Debit Amount
|
|
11049
|
+
*
|
|
11050
|
+
* Debit balance in cents.
|
|
11051
|
+
*/
|
|
11052
|
+
debit_amount?: number;
|
|
11053
|
+
/**
|
|
11054
|
+
* Credit Amount
|
|
11055
|
+
*
|
|
11056
|
+
* Credit balance in cents.
|
|
11057
|
+
*/
|
|
11058
|
+
credit_amount?: number;
|
|
11059
|
+
};
|
|
11060
|
+
|
|
11027
11061
|
/**
|
|
11028
11062
|
* OperationCosts
|
|
11029
11063
|
*
|
|
@@ -16593,6 +16627,38 @@ export type ReconcilingItemRegenerated = {
|
|
|
16593
16627
|
entry_ids?: Array<string>;
|
|
16594
16628
|
};
|
|
16595
16629
|
|
|
16630
|
+
/**
|
|
16631
|
+
* RecordOpeningBalanceRequest
|
|
16632
|
+
*
|
|
16633
|
+
* The balance sheet a ledger starts from.
|
|
16634
|
+
*/
|
|
16635
|
+
export type RecordOpeningBalanceRequest = {
|
|
16636
|
+
/**
|
|
16637
|
+
* Entity Id
|
|
16638
|
+
*
|
|
16639
|
+
* The entity whose books start here; omit for the group parent.
|
|
16640
|
+
*/
|
|
16641
|
+
entity_id?: string | null;
|
|
16642
|
+
/**
|
|
16643
|
+
* Balances
|
|
16644
|
+
*
|
|
16645
|
+
* One balance per balance-sheet account (assets, liabilities, equity). An income or expense account is refused: income before the books begin is already in retained earnings.
|
|
16646
|
+
*/
|
|
16647
|
+
balances: Array<OpeningBalanceInput>;
|
|
16648
|
+
/**
|
|
16649
|
+
* Equity Element Id
|
|
16650
|
+
*
|
|
16651
|
+
* The equity account that takes any difference between debits and credits, usually Opening Balance Equity. Required when the balances do not balance; a non-zero balance left there is a review item.
|
|
16652
|
+
*/
|
|
16653
|
+
equity_element_id?: string | null;
|
|
16654
|
+
/**
|
|
16655
|
+
* Memo
|
|
16656
|
+
*
|
|
16657
|
+
* The entry's memo; defaults to 'Opening balances'.
|
|
16658
|
+
*/
|
|
16659
|
+
memo?: string | null;
|
|
16660
|
+
};
|
|
16661
|
+
|
|
16596
16662
|
/**
|
|
16597
16663
|
* RecordStatementBalanceRequest
|
|
16598
16664
|
*
|
|
@@ -32291,6 +32357,70 @@ export type SignOffReconciliationResponses = {
|
|
|
32291
32357
|
|
|
32292
32358
|
export type SignOffReconciliationResponse = SignOffReconciliationResponses[keyof SignOffReconciliationResponses];
|
|
32293
32359
|
|
|
32360
|
+
export type RecordOpeningBalanceData = {
|
|
32361
|
+
body: RecordOpeningBalanceRequest;
|
|
32362
|
+
headers?: {
|
|
32363
|
+
/**
|
|
32364
|
+
* Idempotency-Key
|
|
32365
|
+
*/
|
|
32366
|
+
'Idempotency-Key'?: string | null;
|
|
32367
|
+
};
|
|
32368
|
+
path: {
|
|
32369
|
+
/**
|
|
32370
|
+
* Graph Id
|
|
32371
|
+
*/
|
|
32372
|
+
graph_id: string;
|
|
32373
|
+
};
|
|
32374
|
+
query?: never;
|
|
32375
|
+
url: '/extensions/roboledger/{graph_id}/operations/record-opening-balance';
|
|
32376
|
+
};
|
|
32377
|
+
|
|
32378
|
+
export type RecordOpeningBalanceErrors = {
|
|
32379
|
+
/**
|
|
32380
|
+
* Invalid request
|
|
32381
|
+
*/
|
|
32382
|
+
400: ErrorResponse;
|
|
32383
|
+
/**
|
|
32384
|
+
* Authentication required
|
|
32385
|
+
*/
|
|
32386
|
+
401: ErrorResponse;
|
|
32387
|
+
/**
|
|
32388
|
+
* Access denied
|
|
32389
|
+
*/
|
|
32390
|
+
403: ErrorResponse;
|
|
32391
|
+
/**
|
|
32392
|
+
* Resource not found
|
|
32393
|
+
*/
|
|
32394
|
+
404: ErrorResponse;
|
|
32395
|
+
/**
|
|
32396
|
+
* Idempotency-Key conflict — key reused with different body
|
|
32397
|
+
*/
|
|
32398
|
+
409: ErrorResponse;
|
|
32399
|
+
/**
|
|
32400
|
+
* Validation error
|
|
32401
|
+
*/
|
|
32402
|
+
422: ErrorResponse;
|
|
32403
|
+
/**
|
|
32404
|
+
* Rate limit exceeded
|
|
32405
|
+
*/
|
|
32406
|
+
429: ErrorResponse;
|
|
32407
|
+
/**
|
|
32408
|
+
* Internal server error
|
|
32409
|
+
*/
|
|
32410
|
+
500: ErrorResponse;
|
|
32411
|
+
};
|
|
32412
|
+
|
|
32413
|
+
export type RecordOpeningBalanceError = RecordOpeningBalanceErrors[keyof RecordOpeningBalanceErrors];
|
|
32414
|
+
|
|
32415
|
+
export type RecordOpeningBalanceResponses = {
|
|
32416
|
+
/**
|
|
32417
|
+
* Successful Response
|
|
32418
|
+
*/
|
|
32419
|
+
200: OperationEnvelopeJournalEntryResponse;
|
|
32420
|
+
};
|
|
32421
|
+
|
|
32422
|
+
export type RecordOpeningBalanceResponse = RecordOpeningBalanceResponses[keyof RecordOpeningBalanceResponses];
|
|
32423
|
+
|
|
32294
32424
|
export type UpdateJournalEntryData = {
|
|
32295
32425
|
body: UpdateJournalEntryRequest;
|
|
32296
32426
|
headers?: {
|