@robosystems/client 2.11.2 → 2.12.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 +24 -2
- package/artifacts/LedgerClient.js +42 -1
- package/artifacts/LedgerClient.ts +65 -1
- package/artifacts/graphql/generated/graphql.d.ts +49 -0
- package/artifacts/graphql/generated/graphql.js +80 -0
- package/artifacts/graphql/generated/graphql.ts +129 -0
- package/artifacts/graphql/queries/ledger/agent.d.ts +3 -1
- package/artifacts/graphql/queries/ledger/agent.js +13 -1
- package/artifacts/graphql/queries/ledger/agent.ts +13 -1
- package/artifacts/graphql/queries/ledger/agents.js +10 -0
- package/artifacts/graphql/queries/ledger/agents.ts +10 -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 +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +4 -3
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +14 -6
- package/sdk/sdk.gen.js +24 -7
- package/sdk/sdk.gen.ts +23 -6
- package/sdk/types.gen.d.ts +346 -9
- package/sdk/types.gen.ts +356 -9
- package/sdk.gen.d.ts +14 -6
- package/sdk.gen.js +24 -7
- package/sdk.gen.ts +23 -6
- package/types.gen.d.ts +346 -9
- package/types.gen.ts +356 -9
|
@@ -351,6 +351,16 @@ export type GetLedgerAgentQuery = {
|
|
|
351
351
|
createdAt: string | null
|
|
352
352
|
updatedAt: string | null
|
|
353
353
|
createdBy: string | null
|
|
354
|
+
classification: {
|
|
355
|
+
elementId: string
|
|
356
|
+
accountName: string | null
|
|
357
|
+
mode: string
|
|
358
|
+
confirmations: number
|
|
359
|
+
overrides: number
|
|
360
|
+
setBy: string | null
|
|
361
|
+
setAt: string | null
|
|
362
|
+
learnedFrom: string | null
|
|
363
|
+
} | null
|
|
354
364
|
} | null
|
|
355
365
|
}
|
|
356
366
|
|
|
@@ -382,6 +392,16 @@ export type ListLedgerAgentsQuery = {
|
|
|
382
392
|
createdAt: string | null
|
|
383
393
|
updatedAt: string | null
|
|
384
394
|
createdBy: string | null
|
|
395
|
+
classification: {
|
|
396
|
+
elementId: string
|
|
397
|
+
accountName: string | null
|
|
398
|
+
mode: string
|
|
399
|
+
confirmations: number
|
|
400
|
+
overrides: number
|
|
401
|
+
setBy: string | null
|
|
402
|
+
setAt: string | null
|
|
403
|
+
learnedFrom: string | null
|
|
404
|
+
} | null
|
|
385
405
|
}>
|
|
386
406
|
}
|
|
387
407
|
|
|
@@ -1413,6 +1433,7 @@ export type ListLedgerReconciliationsQuery = {
|
|
|
1413
1433
|
elementId: string | null
|
|
1414
1434
|
requiredForClose: boolean
|
|
1415
1435
|
materiality: number
|
|
1436
|
+
statementCycle: string | null
|
|
1416
1437
|
period: string
|
|
1417
1438
|
asOf: string
|
|
1418
1439
|
status: string
|
|
@@ -1435,11 +1456,25 @@ export type ListLedgerReconciliationsQuery = {
|
|
|
1435
1456
|
components: Array<{
|
|
1436
1457
|
name: string
|
|
1437
1458
|
amount: number
|
|
1459
|
+
kind: string | null
|
|
1460
|
+
postingDate: string | null
|
|
1461
|
+
entryId: string | null
|
|
1438
1462
|
structureId: string | null
|
|
1439
1463
|
eventId: string | null
|
|
1440
1464
|
documentId: string | null
|
|
1441
1465
|
note: string | null
|
|
1442
1466
|
}>
|
|
1467
|
+
rollForward: {
|
|
1468
|
+
statementAsOf: string
|
|
1469
|
+
through: string
|
|
1470
|
+
bankLines: number
|
|
1471
|
+
bankActivity: number
|
|
1472
|
+
bankBalance: number
|
|
1473
|
+
ledgerBalance: number
|
|
1474
|
+
outstanding: number
|
|
1475
|
+
feedBalance: number | null
|
|
1476
|
+
feedBalanceReadOn: string | null
|
|
1477
|
+
} | null
|
|
1443
1478
|
differences: Array<{
|
|
1444
1479
|
elementId: string | null
|
|
1445
1480
|
accountCode: string | null
|
|
@@ -1454,11 +1489,25 @@ export type ListLedgerReconciliationsQuery = {
|
|
|
1454
1489
|
components: Array<{
|
|
1455
1490
|
name: string
|
|
1456
1491
|
amount: number
|
|
1492
|
+
kind: string | null
|
|
1493
|
+
postingDate: string | null
|
|
1494
|
+
entryId: string | null
|
|
1457
1495
|
structureId: string | null
|
|
1458
1496
|
eventId: string | null
|
|
1459
1497
|
documentId: string | null
|
|
1460
1498
|
note: string | null
|
|
1461
1499
|
}>
|
|
1500
|
+
rollForward: {
|
|
1501
|
+
statementAsOf: string
|
|
1502
|
+
through: string
|
|
1503
|
+
bankLines: number
|
|
1504
|
+
bankActivity: number
|
|
1505
|
+
bankBalance: number
|
|
1506
|
+
ledgerBalance: number
|
|
1507
|
+
outstanding: number
|
|
1508
|
+
feedBalance: number | null
|
|
1509
|
+
feedBalanceReadOn: string | null
|
|
1510
|
+
} | null
|
|
1462
1511
|
}>
|
|
1463
1512
|
}>
|
|
1464
1513
|
} | null
|
|
@@ -3204,6 +3253,23 @@ export const GetLedgerAgentDocument = {
|
|
|
3204
3253
|
{ kind: 'Field', name: { kind: 'Name', value: 'externalId' } },
|
|
3205
3254
|
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
3206
3255
|
{ kind: 'Field', name: { kind: 'Name', value: 'is1099Recipient' } },
|
|
3256
|
+
{
|
|
3257
|
+
kind: 'Field',
|
|
3258
|
+
name: { kind: 'Name', value: 'classification' },
|
|
3259
|
+
selectionSet: {
|
|
3260
|
+
kind: 'SelectionSet',
|
|
3261
|
+
selections: [
|
|
3262
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
|
|
3263
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
|
|
3264
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'mode' } },
|
|
3265
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confirmations' } },
|
|
3266
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'overrides' } },
|
|
3267
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setBy' } },
|
|
3268
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setAt' } },
|
|
3269
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'learnedFrom' } },
|
|
3270
|
+
],
|
|
3271
|
+
},
|
|
3272
|
+
},
|
|
3207
3273
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
3208
3274
|
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
3209
3275
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
@@ -3309,6 +3375,23 @@ export const ListLedgerAgentsDocument = {
|
|
|
3309
3375
|
{ kind: 'Field', name: { kind: 'Name', value: 'externalId' } },
|
|
3310
3376
|
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
3311
3377
|
{ kind: 'Field', name: { kind: 'Name', value: 'is1099Recipient' } },
|
|
3378
|
+
{
|
|
3379
|
+
kind: 'Field',
|
|
3380
|
+
name: { kind: 'Name', value: 'classification' },
|
|
3381
|
+
selectionSet: {
|
|
3382
|
+
kind: 'SelectionSet',
|
|
3383
|
+
selections: [
|
|
3384
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
|
|
3385
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
|
|
3386
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'mode' } },
|
|
3387
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confirmations' } },
|
|
3388
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'overrides' } },
|
|
3389
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setBy' } },
|
|
3390
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setAt' } },
|
|
3391
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'learnedFrom' } },
|
|
3392
|
+
],
|
|
3393
|
+
},
|
|
3394
|
+
},
|
|
3312
3395
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
3313
3396
|
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
3314
3397
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
@@ -6174,6 +6257,7 @@ export const ListLedgerReconciliationsDocument = {
|
|
|
6174
6257
|
{ kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
|
|
6175
6258
|
{ kind: 'Field', name: { kind: 'Name', value: 'requiredForClose' } },
|
|
6176
6259
|
{ kind: 'Field', name: { kind: 'Name', value: 'materiality' } },
|
|
6260
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'statementCycle' } },
|
|
6177
6261
|
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
6178
6262
|
{ kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
|
|
6179
6263
|
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
@@ -6191,6 +6275,9 @@ export const ListLedgerReconciliationsDocument = {
|
|
|
6191
6275
|
selections: [
|
|
6192
6276
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
6193
6277
|
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
6278
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'kind' } },
|
|
6279
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'postingDate' } },
|
|
6280
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entryId' } },
|
|
6194
6281
|
{ kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
|
|
6195
6282
|
{ kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
|
|
6196
6283
|
{ kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
|
|
@@ -6198,6 +6285,24 @@ export const ListLedgerReconciliationsDocument = {
|
|
|
6198
6285
|
],
|
|
6199
6286
|
},
|
|
6200
6287
|
},
|
|
6288
|
+
{
|
|
6289
|
+
kind: 'Field',
|
|
6290
|
+
name: { kind: 'Name', value: 'rollForward' },
|
|
6291
|
+
selectionSet: {
|
|
6292
|
+
kind: 'SelectionSet',
|
|
6293
|
+
selections: [
|
|
6294
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'statementAsOf' } },
|
|
6295
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'through' } },
|
|
6296
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'bankLines' } },
|
|
6297
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'bankActivity' } },
|
|
6298
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'bankBalance' } },
|
|
6299
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
|
|
6300
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'outstanding' } },
|
|
6301
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'feedBalance' } },
|
|
6302
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'feedBalanceReadOn' } },
|
|
6303
|
+
],
|
|
6304
|
+
},
|
|
6305
|
+
},
|
|
6201
6306
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
6202
6307
|
{ kind: 'Field', name: { kind: 'Name', value: 'comparedAt' } },
|
|
6203
6308
|
{ kind: 'Field', name: { kind: 'Name', value: 'factSetId' } },
|
|
@@ -6232,6 +6337,9 @@ export const ListLedgerReconciliationsDocument = {
|
|
|
6232
6337
|
selections: [
|
|
6233
6338
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
6234
6339
|
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
6340
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'kind' } },
|
|
6341
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'postingDate' } },
|
|
6342
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entryId' } },
|
|
6235
6343
|
{ kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
|
|
6236
6344
|
{ kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
|
|
6237
6345
|
{ kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
|
|
@@ -6239,6 +6347,27 @@ export const ListLedgerReconciliationsDocument = {
|
|
|
6239
6347
|
],
|
|
6240
6348
|
},
|
|
6241
6349
|
},
|
|
6350
|
+
{
|
|
6351
|
+
kind: 'Field',
|
|
6352
|
+
name: { kind: 'Name', value: 'rollForward' },
|
|
6353
|
+
selectionSet: {
|
|
6354
|
+
kind: 'SelectionSet',
|
|
6355
|
+
selections: [
|
|
6356
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'statementAsOf' } },
|
|
6357
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'through' } },
|
|
6358
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'bankLines' } },
|
|
6359
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'bankActivity' } },
|
|
6360
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'bankBalance' } },
|
|
6361
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
|
|
6362
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'outstanding' } },
|
|
6363
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'feedBalance' } },
|
|
6364
|
+
{
|
|
6365
|
+
kind: 'Field',
|
|
6366
|
+
name: { kind: 'Name', value: 'feedBalanceReadOn' },
|
|
6367
|
+
},
|
|
6368
|
+
],
|
|
6369
|
+
},
|
|
6370
|
+
},
|
|
6242
6371
|
],
|
|
6243
6372
|
},
|
|
6244
6373
|
},
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Get a single agent by id (the agents detail view).
|
|
3
3
|
*
|
|
4
4
|
* `address` is a JSON dict — typically QB-shaped with `Line1`/`City`/
|
|
5
|
-
* `CountrySubDivisionCode`/`PostalCode` keys.
|
|
5
|
+
* `CountrySubDivisionCode`/`PostalCode` keys. `classification` is the
|
|
6
|
+
* account its bank lines are suggested, learned from committed lines or set
|
|
7
|
+
* with `updateAgent`; null until it has one.
|
|
6
8
|
*/
|
|
7
9
|
export declare const GET_AGENT: string;
|
|
@@ -6,7 +6,9 @@ const graphql_request_1 = require("graphql-request");
|
|
|
6
6
|
* Get a single agent by id (the agents detail view).
|
|
7
7
|
*
|
|
8
8
|
* `address` is a JSON dict — typically QB-shaped with `Line1`/`City`/
|
|
9
|
-
* `CountrySubDivisionCode`/`PostalCode` keys.
|
|
9
|
+
* `CountrySubDivisionCode`/`PostalCode` keys. `classification` is the
|
|
10
|
+
* account its bank lines are suggested, learned from committed lines or set
|
|
11
|
+
* with `updateAgent`; null until it has one.
|
|
10
12
|
*/
|
|
11
13
|
exports.GET_AGENT = (0, graphql_request_1.gql) `
|
|
12
14
|
query GetLedgerAgent($id: String!) {
|
|
@@ -26,6 +28,16 @@ exports.GET_AGENT = (0, graphql_request_1.gql) `
|
|
|
26
28
|
externalId
|
|
27
29
|
isActive
|
|
28
30
|
is1099Recipient
|
|
31
|
+
classification {
|
|
32
|
+
elementId
|
|
33
|
+
accountName
|
|
34
|
+
mode
|
|
35
|
+
confirmations
|
|
36
|
+
overrides
|
|
37
|
+
setBy
|
|
38
|
+
setAt
|
|
39
|
+
learnedFrom
|
|
40
|
+
}
|
|
29
41
|
createdAt
|
|
30
42
|
updatedAt
|
|
31
43
|
createdBy
|
|
@@ -4,7 +4,9 @@ import { gql } from 'graphql-request'
|
|
|
4
4
|
* Get a single agent by id (the agents detail view).
|
|
5
5
|
*
|
|
6
6
|
* `address` is a JSON dict — typically QB-shaped with `Line1`/`City`/
|
|
7
|
-
* `CountrySubDivisionCode`/`PostalCode` keys.
|
|
7
|
+
* `CountrySubDivisionCode`/`PostalCode` keys. `classification` is the
|
|
8
|
+
* account its bank lines are suggested, learned from committed lines or set
|
|
9
|
+
* with `updateAgent`; null until it has one.
|
|
8
10
|
*/
|
|
9
11
|
export const GET_AGENT = gql`
|
|
10
12
|
query GetLedgerAgent($id: String!) {
|
|
@@ -24,6 +26,16 @@ export const GET_AGENT = gql`
|
|
|
24
26
|
externalId
|
|
25
27
|
isActive
|
|
26
28
|
is1099Recipient
|
|
29
|
+
classification {
|
|
30
|
+
elementId
|
|
31
|
+
accountName
|
|
32
|
+
mode
|
|
33
|
+
confirmations
|
|
34
|
+
overrides
|
|
35
|
+
setBy
|
|
36
|
+
setAt
|
|
37
|
+
learnedFrom
|
|
38
|
+
}
|
|
27
39
|
createdAt
|
|
28
40
|
updatedAt
|
|
29
41
|
createdBy
|
|
@@ -40,6 +40,16 @@ exports.LIST_AGENTS = (0, graphql_request_1.gql) `
|
|
|
40
40
|
externalId
|
|
41
41
|
isActive
|
|
42
42
|
is1099Recipient
|
|
43
|
+
classification {
|
|
44
|
+
elementId
|
|
45
|
+
accountName
|
|
46
|
+
mode
|
|
47
|
+
confirmations
|
|
48
|
+
overrides
|
|
49
|
+
setBy
|
|
50
|
+
setAt
|
|
51
|
+
learnedFrom
|
|
52
|
+
}
|
|
43
53
|
createdAt
|
|
44
54
|
updatedAt
|
|
45
55
|
createdBy
|
|
@@ -6,5 +6,9 @@
|
|
|
6
6
|
* A block not yet compared for the period reads `not_started`. Comparisons
|
|
7
7
|
* are recorded by `refreshReconciliations` and `recordStatementBalance`.
|
|
8
8
|
* `notes` is only populated on a refresh; a read returns it empty.
|
|
9
|
+
*
|
|
10
|
+
* On a bank-fed account a statement's `components` list the ledger lines the
|
|
11
|
+
* bank had not cleared (`kind: outstanding`), and a statement ending before
|
|
12
|
+
* the period's last day carries a `rollForward` to it.
|
|
9
13
|
*/
|
|
10
14
|
export declare const LIST_RECONCILIATIONS: string;
|
|
@@ -10,6 +10,10 @@ const graphql_request_1 = require("graphql-request");
|
|
|
10
10
|
* A block not yet compared for the period reads `not_started`. Comparisons
|
|
11
11
|
* are recorded by `refreshReconciliations` and `recordStatementBalance`.
|
|
12
12
|
* `notes` is only populated on a refresh; a read returns it empty.
|
|
13
|
+
*
|
|
14
|
+
* On a bank-fed account a statement's `components` list the ledger lines the
|
|
15
|
+
* bank had not cleared (`kind: outstanding`), and a statement ending before
|
|
16
|
+
* the period's last day carries a `rollForward` to it.
|
|
13
17
|
*/
|
|
14
18
|
exports.LIST_RECONCILIATIONS = (0, graphql_request_1.gql) `
|
|
15
19
|
query ListLedgerReconciliations($period: String!, $entityId: String) {
|
|
@@ -25,6 +29,7 @@ exports.LIST_RECONCILIATIONS = (0, graphql_request_1.gql) `
|
|
|
25
29
|
elementId
|
|
26
30
|
requiredForClose
|
|
27
31
|
materiality
|
|
32
|
+
statementCycle
|
|
28
33
|
period
|
|
29
34
|
asOf
|
|
30
35
|
status
|
|
@@ -37,11 +42,25 @@ exports.LIST_RECONCILIATIONS = (0, graphql_request_1.gql) `
|
|
|
37
42
|
components {
|
|
38
43
|
name
|
|
39
44
|
amount
|
|
45
|
+
kind
|
|
46
|
+
postingDate
|
|
47
|
+
entryId
|
|
40
48
|
structureId
|
|
41
49
|
eventId
|
|
42
50
|
documentId
|
|
43
51
|
note
|
|
44
52
|
}
|
|
53
|
+
rollForward {
|
|
54
|
+
statementAsOf
|
|
55
|
+
through
|
|
56
|
+
bankLines
|
|
57
|
+
bankActivity
|
|
58
|
+
bankBalance
|
|
59
|
+
ledgerBalance
|
|
60
|
+
outstanding
|
|
61
|
+
feedBalance
|
|
62
|
+
feedBalanceReadOn
|
|
63
|
+
}
|
|
45
64
|
source
|
|
46
65
|
comparedAt
|
|
47
66
|
factSetId
|
|
@@ -66,11 +85,25 @@ exports.LIST_RECONCILIATIONS = (0, graphql_request_1.gql) `
|
|
|
66
85
|
components {
|
|
67
86
|
name
|
|
68
87
|
amount
|
|
88
|
+
kind
|
|
89
|
+
postingDate
|
|
90
|
+
entryId
|
|
69
91
|
structureId
|
|
70
92
|
eventId
|
|
71
93
|
documentId
|
|
72
94
|
note
|
|
73
95
|
}
|
|
96
|
+
rollForward {
|
|
97
|
+
statementAsOf
|
|
98
|
+
through
|
|
99
|
+
bankLines
|
|
100
|
+
bankActivity
|
|
101
|
+
bankBalance
|
|
102
|
+
ledgerBalance
|
|
103
|
+
outstanding
|
|
104
|
+
feedBalance
|
|
105
|
+
feedBalanceReadOn
|
|
106
|
+
}
|
|
74
107
|
}
|
|
75
108
|
}
|
|
76
109
|
}
|
|
@@ -8,6 +8,10 @@ import { gql } from 'graphql-request'
|
|
|
8
8
|
* A block not yet compared for the period reads `not_started`. Comparisons
|
|
9
9
|
* are recorded by `refreshReconciliations` and `recordStatementBalance`.
|
|
10
10
|
* `notes` is only populated on a refresh; a read returns it empty.
|
|
11
|
+
*
|
|
12
|
+
* On a bank-fed account a statement's `components` list the ledger lines the
|
|
13
|
+
* bank had not cleared (`kind: outstanding`), and a statement ending before
|
|
14
|
+
* the period's last day carries a `rollForward` to it.
|
|
11
15
|
*/
|
|
12
16
|
export const LIST_RECONCILIATIONS = gql`
|
|
13
17
|
query ListLedgerReconciliations($period: String!, $entityId: String) {
|
|
@@ -23,6 +27,7 @@ export const LIST_RECONCILIATIONS = gql`
|
|
|
23
27
|
elementId
|
|
24
28
|
requiredForClose
|
|
25
29
|
materiality
|
|
30
|
+
statementCycle
|
|
26
31
|
period
|
|
27
32
|
asOf
|
|
28
33
|
status
|
|
@@ -35,11 +40,25 @@ export const LIST_RECONCILIATIONS = gql`
|
|
|
35
40
|
components {
|
|
36
41
|
name
|
|
37
42
|
amount
|
|
43
|
+
kind
|
|
44
|
+
postingDate
|
|
45
|
+
entryId
|
|
38
46
|
structureId
|
|
39
47
|
eventId
|
|
40
48
|
documentId
|
|
41
49
|
note
|
|
42
50
|
}
|
|
51
|
+
rollForward {
|
|
52
|
+
statementAsOf
|
|
53
|
+
through
|
|
54
|
+
bankLines
|
|
55
|
+
bankActivity
|
|
56
|
+
bankBalance
|
|
57
|
+
ledgerBalance
|
|
58
|
+
outstanding
|
|
59
|
+
feedBalance
|
|
60
|
+
feedBalanceReadOn
|
|
61
|
+
}
|
|
43
62
|
source
|
|
44
63
|
comparedAt
|
|
45
64
|
factSetId
|
|
@@ -64,11 +83,25 @@ export const LIST_RECONCILIATIONS = gql`
|
|
|
64
83
|
components {
|
|
65
84
|
name
|
|
66
85
|
amount
|
|
86
|
+
kind
|
|
87
|
+
postingDate
|
|
88
|
+
entryId
|
|
67
89
|
structureId
|
|
68
90
|
eventId
|
|
69
91
|
documentId
|
|
70
92
|
note
|
|
71
93
|
}
|
|
94
|
+
rollForward {
|
|
95
|
+
statementAsOf
|
|
96
|
+
through
|
|
97
|
+
bankLines
|
|
98
|
+
bankActivity
|
|
99
|
+
bankBalance
|
|
100
|
+
ledgerBalance
|
|
101
|
+
outstanding
|
|
102
|
+
feedBalance
|
|
103
|
+
feedBalanceReadOn
|
|
104
|
+
}
|
|
72
105
|
}
|
|
73
106
|
}
|
|
74
107
|
}
|