@robosystems/client 2.11.1 → 2.11.3
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 +8 -0
- package/artifacts/LedgerClient.js +23 -0
- package/artifacts/LedgerClient.ts +36 -0
- package/artifacts/graphql/generated/graphql.d.ts +31 -0
- package/artifacts/graphql/generated/graphql.js +48 -0
- package/artifacts/graphql/generated/graphql.ts +79 -0
- package/artifacts/graphql/queries/ledger/eventBlock.js +1 -0
- package/artifacts/graphql/queries/ledger/eventBlock.ts +1 -0
- package/artifacts/graphql/queries/ledger/eventBlocks.js +1 -0
- package/artifacts/graphql/queries/ledger/eventBlocks.ts +1 -0
- package/artifacts/graphql/queries/ledger/reconciliations.d.ts +4 -0
- package/artifacts/graphql/queries/ledger/reconciliations.js +33 -0
- package/artifacts/graphql/queries/ledger/reconciliations.ts +33 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/sdk/index.d.ts +1 -1
- package/sdk/index.ts +1 -1
- package/sdk/sdk.gen.d.ts +3 -3
- package/sdk/sdk.gen.js +3 -3
- package/sdk/sdk.gen.ts +3 -3
- package/sdk/types.gen.d.ts +121 -8
- package/sdk/types.gen.ts +122 -8
- package/sdk.gen.d.ts +3 -3
- package/sdk.gen.js +3 -3
- package/sdk.gen.ts +3 -3
- package/types.gen.d.ts +121 -8
- package/types.gen.ts +122 -8
package/types.gen.ts
CHANGED
|
@@ -14708,7 +14708,7 @@ export type PreviewReconciliationsRequest = {
|
|
|
14708
14708
|
/**
|
|
14709
14709
|
* Method
|
|
14710
14710
|
*
|
|
14711
|
-
* Which check to preview. `source_ledger` compares every account with the synced accounting system's own trial balance. `schedule_register` compares each asset account a schedule carries a balance on with what its schedules say it holds. `statement` compares each account that has a statement
|
|
14711
|
+
* Which check to preview. `source_ledger` compares every account with the synced accounting system's own trial balance. `schedule_register` compares each asset account a schedule carries a balance on with what its schedules say it holds. `statement` compares each account that has a statement covering the period with that balance, adjusted on a bank-fed account by the lines the bank had not cleared.
|
|
14712
14712
|
*/
|
|
14713
14713
|
method?: 'source_ledger' | 'schedule_register' | 'statement';
|
|
14714
14714
|
/**
|
|
@@ -15123,13 +15123,14 @@ export type RebuildScheduleRequest = {
|
|
|
15123
15123
|
* ReconciliationComponent
|
|
15124
15124
|
*
|
|
15125
15125
|
* One part of an account's independent balance: what a single schedule
|
|
15126
|
-
* says the account carries,
|
|
15126
|
+
* says the account carries, a recorded statement balance, or a ledger line
|
|
15127
|
+
* outstanding at the statement's date.
|
|
15127
15128
|
*/
|
|
15128
15129
|
export type ReconciliationComponent = {
|
|
15129
15130
|
/**
|
|
15130
15131
|
* Name
|
|
15131
15132
|
*
|
|
15132
|
-
* The schedule's name,
|
|
15133
|
+
* The schedule's name, the statement and its date, or the outstanding line's description.
|
|
15133
15134
|
*/
|
|
15134
15135
|
name: string;
|
|
15135
15136
|
/**
|
|
@@ -15138,6 +15139,24 @@ export type ReconciliationComponent = {
|
|
|
15138
15139
|
* What this part says the account holds, debit-positive.
|
|
15139
15140
|
*/
|
|
15140
15141
|
amount: number;
|
|
15142
|
+
/**
|
|
15143
|
+
* Kind
|
|
15144
|
+
*
|
|
15145
|
+
* `schedule`, `statement`, or `outstanding`: a ledger line on a bank-fed account that did not come from the feed, dated on or before the statement, so the bank had not cleared it.
|
|
15146
|
+
*/
|
|
15147
|
+
kind?: string | null;
|
|
15148
|
+
/**
|
|
15149
|
+
* Posting Date
|
|
15150
|
+
*
|
|
15151
|
+
* An `outstanding` line's posting date.
|
|
15152
|
+
*/
|
|
15153
|
+
posting_date?: string | null;
|
|
15154
|
+
/**
|
|
15155
|
+
* Entry Id
|
|
15156
|
+
*
|
|
15157
|
+
* The journal entry an `outstanding` line belongs to.
|
|
15158
|
+
*/
|
|
15159
|
+
entry_id?: string | null;
|
|
15141
15160
|
/**
|
|
15142
15161
|
* Structure Id
|
|
15143
15162
|
*
|
|
@@ -15147,7 +15166,7 @@ export type ReconciliationComponent = {
|
|
|
15147
15166
|
/**
|
|
15148
15167
|
* Event Id
|
|
15149
15168
|
*
|
|
15150
|
-
* The recorded balance, for a `statement` part.
|
|
15169
|
+
* The recorded balance, for a `statement` part; the event behind an `outstanding` line, when it has one.
|
|
15151
15170
|
*/
|
|
15152
15171
|
event_id?: string | null;
|
|
15153
15172
|
/**
|
|
@@ -15253,6 +15272,12 @@ export type ReconciliationMechanics = {
|
|
|
15253
15272
|
* Whether the person who signs off must be someone other than the person who ran the comparison.
|
|
15254
15273
|
*/
|
|
15255
15274
|
separate_reviewer?: boolean;
|
|
15275
|
+
/**
|
|
15276
|
+
* Statement Cycle
|
|
15277
|
+
*
|
|
15278
|
+
* `statement` blocks only: how often the account's statement is issued; unset is monthly. A period is covered by the latest statement ending within the cycle that ends with it.
|
|
15279
|
+
*/
|
|
15280
|
+
statement_cycle?: 'monthly' | 'quarterly' | 'annual' | null;
|
|
15256
15281
|
};
|
|
15257
15282
|
|
|
15258
15283
|
/**
|
|
@@ -15281,6 +15306,12 @@ export type ReconciliationPolicyResponse = {
|
|
|
15281
15306
|
* Separate Reviewer
|
|
15282
15307
|
*/
|
|
15283
15308
|
separate_reviewer: boolean;
|
|
15309
|
+
/**
|
|
15310
|
+
* Statement Cycle
|
|
15311
|
+
*
|
|
15312
|
+
* `statement` blocks only: how often the statement is issued.
|
|
15313
|
+
*/
|
|
15314
|
+
statement_cycle?: 'monthly' | 'quarterly' | 'annual' | null;
|
|
15284
15315
|
};
|
|
15285
15316
|
|
|
15286
15317
|
/**
|
|
@@ -15363,6 +15394,69 @@ export type ReconciliationPreviewResponse = {
|
|
|
15363
15394
|
notes?: Array<string>;
|
|
15364
15395
|
};
|
|
15365
15396
|
|
|
15397
|
+
/**
|
|
15398
|
+
* ReconciliationRollForward
|
|
15399
|
+
*
|
|
15400
|
+
* A statement carried from its ending date to the period's last day on a
|
|
15401
|
+
* bank-fed account, where every line the feed brought is the bank's own.
|
|
15402
|
+
*/
|
|
15403
|
+
export type ReconciliationRollForward = {
|
|
15404
|
+
/**
|
|
15405
|
+
* Statement As Of
|
|
15406
|
+
*
|
|
15407
|
+
* The statement's ending date.
|
|
15408
|
+
*/
|
|
15409
|
+
statement_as_of: string;
|
|
15410
|
+
/**
|
|
15411
|
+
* Through
|
|
15412
|
+
*
|
|
15413
|
+
* The period's last day.
|
|
15414
|
+
*/
|
|
15415
|
+
through: string;
|
|
15416
|
+
/**
|
|
15417
|
+
* Bank Lines
|
|
15418
|
+
*
|
|
15419
|
+
* Booked feed lines dated after the statement, to the period end.
|
|
15420
|
+
*/
|
|
15421
|
+
bank_lines: number;
|
|
15422
|
+
/**
|
|
15423
|
+
* Bank Activity
|
|
15424
|
+
*
|
|
15425
|
+
* Their net effect on the account, debit-positive.
|
|
15426
|
+
*/
|
|
15427
|
+
bank_activity: number;
|
|
15428
|
+
/**
|
|
15429
|
+
* Bank Balance
|
|
15430
|
+
*
|
|
15431
|
+
* The statement balance carried to the period end by those lines: what the bank held then, debit-positive.
|
|
15432
|
+
*/
|
|
15433
|
+
bank_balance: number;
|
|
15434
|
+
/**
|
|
15435
|
+
* Ledger Balance
|
|
15436
|
+
*
|
|
15437
|
+
* The ledger's balance at the period end, as the close will leave it, debit-positive.
|
|
15438
|
+
*/
|
|
15439
|
+
ledger_balance: number;
|
|
15440
|
+
/**
|
|
15441
|
+
* Outstanding
|
|
15442
|
+
*
|
|
15443
|
+
* Ledger lines not from the feed and dated on or before the period end, net: the ledger minus the carried bank balance.
|
|
15444
|
+
*/
|
|
15445
|
+
outstanding: number;
|
|
15446
|
+
/**
|
|
15447
|
+
* Feed Balance
|
|
15448
|
+
*
|
|
15449
|
+
* A cross-check, never the figure reconciled: the bank feed's own balance from the first reading on or after the period end, less the booked feed lines between the period end and that reading. Null when the feed has no reading within ten days.
|
|
15450
|
+
*/
|
|
15451
|
+
feed_balance?: number | null;
|
|
15452
|
+
/**
|
|
15453
|
+
* Feed Balance Read On
|
|
15454
|
+
*
|
|
15455
|
+
* The day of the feed reading `feed_balance` starts from.
|
|
15456
|
+
*/
|
|
15457
|
+
feed_balance_read_on?: string | null;
|
|
15458
|
+
};
|
|
15459
|
+
|
|
15366
15460
|
/**
|
|
15367
15461
|
* ReconciliationRow
|
|
15368
15462
|
*
|
|
@@ -15410,7 +15504,7 @@ export type ReconciliationRow = {
|
|
|
15410
15504
|
/**
|
|
15411
15505
|
* Independent Balance
|
|
15412
15506
|
*
|
|
15413
|
-
* What the independent source says.
|
|
15507
|
+
* What the independent source says. For a `statement` on a bank-fed account, the statement balance adjusted by its outstanding lines.
|
|
15414
15508
|
*/
|
|
15415
15509
|
independent_balance: number;
|
|
15416
15510
|
/**
|
|
@@ -15434,9 +15528,13 @@ export type ReconciliationRow = {
|
|
|
15434
15528
|
/**
|
|
15435
15529
|
* Components
|
|
15436
15530
|
*
|
|
15437
|
-
* Account-scope methods only: what makes up the independent balance. One entry per schedule for `schedule_register`; the recorded statement for `statement
|
|
15531
|
+
* Account-scope methods only: what makes up the independent balance. One entry per schedule for `schedule_register`; the recorded statement for `statement`, then each outstanding line.
|
|
15438
15532
|
*/
|
|
15439
15533
|
components?: Array<ReconciliationComponent>;
|
|
15534
|
+
/**
|
|
15535
|
+
* `statement` on a bank-fed account whose statement ends before the period's last day: the statement carried to it by the feed's lines.
|
|
15536
|
+
*/
|
|
15537
|
+
roll_forward?: ReconciliationRollForward | null;
|
|
15440
15538
|
};
|
|
15441
15539
|
|
|
15442
15540
|
/**
|
|
@@ -15487,6 +15585,12 @@ export type ReconciliationSummary = {
|
|
|
15487
15585
|
* A difference up to this amount still counts as reconciled.
|
|
15488
15586
|
*/
|
|
15489
15587
|
materiality: number;
|
|
15588
|
+
/**
|
|
15589
|
+
* Statement Cycle
|
|
15590
|
+
*
|
|
15591
|
+
* `statement` blocks only: how often the account's statement is issued, `monthly`, `quarterly` or `annual`.
|
|
15592
|
+
*/
|
|
15593
|
+
statement_cycle?: string | null;
|
|
15490
15594
|
/**
|
|
15491
15595
|
* Period
|
|
15492
15596
|
*
|
|
@@ -15538,15 +15642,19 @@ export type ReconciliationSummary = {
|
|
|
15538
15642
|
/**
|
|
15539
15643
|
* Balance As Of
|
|
15540
15644
|
*
|
|
15541
|
-
* Account-scope only: the date the two balances are stated at. The period's last day, unless
|
|
15645
|
+
* Account-scope only: the date the two balances are stated at. The period's last day, unless the statement covering it ended earlier.
|
|
15542
15646
|
*/
|
|
15543
15647
|
balance_as_of?: string | null;
|
|
15544
15648
|
/**
|
|
15545
15649
|
* Components
|
|
15546
15650
|
*
|
|
15547
|
-
* Account-scope only: what makes up the independent balance. One entry per schedule for `schedule_register`; the recorded statement for `statement
|
|
15651
|
+
* Account-scope only: what makes up the independent balance. One entry per schedule for `schedule_register`; the recorded statement for `statement`, then each outstanding line.
|
|
15548
15652
|
*/
|
|
15549
15653
|
components?: Array<ReconciliationComponent>;
|
|
15654
|
+
/**
|
|
15655
|
+
* `statement` on a bank-fed account whose statement ends before the period's last day: the statement carried to it by the feed's lines.
|
|
15656
|
+
*/
|
|
15657
|
+
roll_forward?: ReconciliationRollForward | null;
|
|
15550
15658
|
/**
|
|
15551
15659
|
* Source
|
|
15552
15660
|
*
|
|
@@ -17877,6 +17985,12 @@ export type SetReconciliationPolicyRequest = {
|
|
|
17877
17985
|
* Whether the person who signs off must be someone other than the person who ran the comparison. It can only be turned on when the graph has at least two members who can write. Omit to keep.
|
|
17878
17986
|
*/
|
|
17879
17987
|
separate_reviewer?: boolean | null;
|
|
17988
|
+
/**
|
|
17989
|
+
* Statement Cycle
|
|
17990
|
+
*
|
|
17991
|
+
* `statement` blocks only: how often the account's statement is issued. A period is covered by the latest statement ending within the cycle that ends with it, so a quarterly statement covers the two months before the next one. Omit to keep.
|
|
17992
|
+
*/
|
|
17993
|
+
statement_cycle?: 'monthly' | 'quarterly' | 'annual' | null;
|
|
17880
17994
|
};
|
|
17881
17995
|
|
|
17882
17996
|
/**
|