@robosystems/client 2.3.0 → 2.5.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 +140 -6
- package/artifacts/LedgerClient.js +205 -5
- package/artifacts/LedgerClient.ts +410 -5
- package/artifacts/graphql/generated/graphql.d.ts +74 -0
- package/artifacts/graphql/generated/graphql.js +146 -2
- package/artifacts/graphql/generated/graphql.ts +222 -0
- package/artifacts/graphql/queries/ledger/eventBlocks.d.ts +2 -1
- package/artifacts/graphql/queries/ledger/eventBlocks.js +4 -1
- package/artifacts/graphql/queries/ledger/eventBlocks.ts +4 -1
- package/artifacts/graphql/queries/ledger/fiscalCalendar.js +6 -0
- package/artifacts/graphql/queries/ledger/fiscalCalendar.ts +6 -0
- package/artifacts/graphql/queries/ledger/reconciliations.d.ts +10 -0
- package/artifacts/graphql/queries/ledger/reconciliations.js +78 -0
- package/artifacts/graphql/queries/ledger/reconciliations.ts +76 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +8 -3
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +41 -1
- package/sdk/sdk.gen.js +87 -2
- package/sdk/sdk.gen.ts +86 -1
- package/sdk/types.gen.d.ts +1181 -48
- package/sdk/types.gen.ts +1591 -417
- package/sdk.gen.d.ts +41 -1
- package/sdk.gen.js +87 -2
- package/sdk.gen.ts +86 -1
- package/types.gen.d.ts +1181 -48
- package/types.gen.ts +1591 -417
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GetLibraryTaxonomyDocument = exports.ListLibraryTaxonomiesDocument = exports.GetLibraryStructureDocument = exports.ListLibraryStructuresDocument = exports.GetLibraryElementDocument = exports.SearchLibraryElementsDocument = exports.ListLibraryElementsDocument = exports.GetLibraryElementEquivalentsDocument = void 0;
|
|
3
|
+
exports.GetLibraryElementArcsDocument = exports.ListLibraryTaxonomyArcsDocument = exports.ListLedgerUnmappedElementsDocument = exports.GetLedgerTrialBalanceDocument = exports.ListLedgerTransactionsDocument = exports.GetLedgerTransactionDocument = exports.ListLedgerTaxonomiesDocument = exports.GetLedgerSummaryDocument = exports.ListLedgerStructuresDocument = exports.GetLedgerStatementDocument = exports.ListLedgerReportsDocument = exports.GetLedgerReportingTaxonomyDocument = exports.GetLedgerReportPackageDocument = exports.GetLedgerReportDownloadUrlDocument = exports.GetLedgerReportDocument = exports.ListLedgerReconciliationsDocument = exports.ListLedgerPublishListsDocument = exports.GetLedgerPublishListDocument = exports.GetLedgerPeriodDraftsDocument = exports.GetLedgerPeriodCloseStatusDocument = exports.ListLedgerMappingsDocument = exports.GetLedgerMappingCoverageDocument = exports.MappingCandidatesDocument = exports.GetLedgerMappingDocument = exports.GetLedgerMappedTrialBalanceDocument = exports.ListLedgerJournalEntriesDocument = exports.ListInformationBlocksDocument = exports.GetInformationBlockWindowedDocument = exports.GetInformationBlockDocument = exports.GetLedgerFiscalCalendarDocument = exports.ListLedgerEventBlocksDocument = exports.GetLedgerEventBlockDocument = exports.GetLedgerEntityDocument = exports.ListLedgerEntitiesDocument = exports.ListLedgerElementsDocument = exports.GetLedgerClosingBookStructuresDocument = exports.ListChartTemplatesDocument = exports.ListLedgerBlockedSourceGraphsDocument = exports.ListLedgerAgentsDocument = exports.GetLedgerAgentDocument = exports.ListLedgerAccountsDocument = exports.GetLedgerAccountTreeDocument = exports.GetLedgerAccountRollupsDocument = exports.GetInvestorSecurityDocument = exports.ListInvestorSecuritiesDocument = exports.ListInvestorPositionsDocument = exports.GetInvestorPositionDocument = exports.ListInvestorPortfoliosDocument = exports.GetInvestorPortfolioBlockDocument = exports.GetInvestorHoldingsDocument = void 0;
|
|
4
|
+
exports.GetLibraryTaxonomyDocument = exports.ListLibraryTaxonomiesDocument = exports.GetLibraryStructureDocument = exports.ListLibraryStructuresDocument = exports.GetLibraryElementDocument = exports.SearchLibraryElementsDocument = exports.ListLibraryElementsDocument = exports.GetLibraryElementEquivalentsDocument = exports.GetLibraryElementClassificationsDocument = void 0;
|
|
5
5
|
exports.GetInvestorHoldingsDocument = {
|
|
6
6
|
kind: 'Document',
|
|
7
7
|
definitions: [
|
|
@@ -1612,6 +1612,11 @@ exports.ListLedgerEventBlocksDocument = {
|
|
|
1612
1612
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
|
|
1613
1613
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1614
1614
|
},
|
|
1615
|
+
{
|
|
1616
|
+
kind: 'VariableDefinition',
|
|
1617
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'isReconcilingItem' } },
|
|
1618
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
|
|
1619
|
+
},
|
|
1615
1620
|
{
|
|
1616
1621
|
kind: 'VariableDefinition',
|
|
1617
1622
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
@@ -1663,6 +1668,11 @@ exports.ListLedgerEventBlocksDocument = {
|
|
|
1663
1668
|
name: { kind: 'Name', value: 'source' },
|
|
1664
1669
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
|
|
1665
1670
|
},
|
|
1671
|
+
{
|
|
1672
|
+
kind: 'Argument',
|
|
1673
|
+
name: { kind: 'Name', value: 'isReconcilingItem' },
|
|
1674
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'isReconcilingItem' } },
|
|
1675
|
+
},
|
|
1666
1676
|
{
|
|
1667
1677
|
kind: 'Argument',
|
|
1668
1678
|
name: { kind: 'Name', value: 'limit' },
|
|
@@ -1763,6 +1773,12 @@ exports.GetLedgerFiscalCalendarDocument = {
|
|
|
1763
1773
|
},
|
|
1764
1774
|
},
|
|
1765
1775
|
{ kind: 'Field', name: { kind: 'Name', value: 'syncStaleDays' } },
|
|
1776
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reconcilingItemCount' } },
|
|
1777
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reconcilingItemSample' } },
|
|
1778
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unpostedSourceEventCount' } },
|
|
1779
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unpostedSourceEventSample' } },
|
|
1780
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountCount' } },
|
|
1781
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountSample' } },
|
|
1766
1782
|
{ kind: 'Field', name: { kind: 'Name', value: 'lastCloseAt' } },
|
|
1767
1783
|
{ kind: 'Field', name: { kind: 'Name', value: 'initializedAt' } },
|
|
1768
1784
|
{ kind: 'Field', name: { kind: 'Name', value: 'lastSyncAt' } },
|
|
@@ -3659,6 +3675,134 @@ exports.ListLedgerPublishListsDocument = {
|
|
|
3659
3675
|
},
|
|
3660
3676
|
],
|
|
3661
3677
|
};
|
|
3678
|
+
exports.ListLedgerReconciliationsDocument = {
|
|
3679
|
+
kind: 'Document',
|
|
3680
|
+
definitions: [
|
|
3681
|
+
{
|
|
3682
|
+
kind: 'OperationDefinition',
|
|
3683
|
+
operation: 'query',
|
|
3684
|
+
name: { kind: 'Name', value: 'ListLedgerReconciliations' },
|
|
3685
|
+
variableDefinitions: [
|
|
3686
|
+
{
|
|
3687
|
+
kind: 'VariableDefinition',
|
|
3688
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
3689
|
+
type: {
|
|
3690
|
+
kind: 'NonNullType',
|
|
3691
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3692
|
+
},
|
|
3693
|
+
},
|
|
3694
|
+
],
|
|
3695
|
+
selectionSet: {
|
|
3696
|
+
kind: 'SelectionSet',
|
|
3697
|
+
selections: [
|
|
3698
|
+
{
|
|
3699
|
+
kind: 'Field',
|
|
3700
|
+
name: { kind: 'Name', value: 'reconciliations' },
|
|
3701
|
+
arguments: [
|
|
3702
|
+
{
|
|
3703
|
+
kind: 'Argument',
|
|
3704
|
+
name: { kind: 'Name', value: 'period' },
|
|
3705
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
3706
|
+
},
|
|
3707
|
+
],
|
|
3708
|
+
selectionSet: {
|
|
3709
|
+
kind: 'SelectionSet',
|
|
3710
|
+
selections: [
|
|
3711
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
3712
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
|
|
3713
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'notes' } },
|
|
3714
|
+
{
|
|
3715
|
+
kind: 'Field',
|
|
3716
|
+
name: { kind: 'Name', value: 'reconciliations' },
|
|
3717
|
+
selectionSet: {
|
|
3718
|
+
kind: 'SelectionSet',
|
|
3719
|
+
selections: [
|
|
3720
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
|
|
3721
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3722
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'scope' } },
|
|
3723
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'method' } },
|
|
3724
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
|
|
3725
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'requiredForClose' } },
|
|
3726
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'materiality' } },
|
|
3727
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
3728
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
|
|
3729
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
3730
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledDifference' } },
|
|
3731
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountsCompared' } },
|
|
3732
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountsDifferent' } },
|
|
3733
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
|
|
3734
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'independentBalance' } },
|
|
3735
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'balanceAsOf' } },
|
|
3736
|
+
{
|
|
3737
|
+
kind: 'Field',
|
|
3738
|
+
name: { kind: 'Name', value: 'components' },
|
|
3739
|
+
selectionSet: {
|
|
3740
|
+
kind: 'SelectionSet',
|
|
3741
|
+
selections: [
|
|
3742
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3743
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
3744
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
|
|
3745
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
|
|
3746
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
|
|
3747
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'note' } },
|
|
3748
|
+
],
|
|
3749
|
+
},
|
|
3750
|
+
},
|
|
3751
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
3752
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'comparedAt' } },
|
|
3753
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'factSetId' } },
|
|
3754
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'comparedBy' } },
|
|
3755
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'comparedVia' } },
|
|
3756
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reviewRequired' } },
|
|
3757
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'separateReviewer' } },
|
|
3758
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reviewedBy' } },
|
|
3759
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reviewedAt' } },
|
|
3760
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'selfReviewed' } },
|
|
3761
|
+
{
|
|
3762
|
+
kind: 'Field',
|
|
3763
|
+
name: { kind: 'Name', value: 'differences' },
|
|
3764
|
+
selectionSet: {
|
|
3765
|
+
kind: 'SelectionSet',
|
|
3766
|
+
selections: [
|
|
3767
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
|
|
3768
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountCode' } },
|
|
3769
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
|
|
3770
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'sourceAccountId' } },
|
|
3771
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'statement' } },
|
|
3772
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
|
|
3773
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'independentBalance' } },
|
|
3774
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'difference' } },
|
|
3775
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
3776
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
|
|
3777
|
+
{
|
|
3778
|
+
kind: 'Field',
|
|
3779
|
+
name: { kind: 'Name', value: 'components' },
|
|
3780
|
+
selectionSet: {
|
|
3781
|
+
kind: 'SelectionSet',
|
|
3782
|
+
selections: [
|
|
3783
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3784
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
3785
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
|
|
3786
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
|
|
3787
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
|
|
3788
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'note' } },
|
|
3789
|
+
],
|
|
3790
|
+
},
|
|
3791
|
+
},
|
|
3792
|
+
],
|
|
3793
|
+
},
|
|
3794
|
+
},
|
|
3795
|
+
],
|
|
3796
|
+
},
|
|
3797
|
+
},
|
|
3798
|
+
],
|
|
3799
|
+
},
|
|
3800
|
+
},
|
|
3801
|
+
],
|
|
3802
|
+
},
|
|
3803
|
+
},
|
|
3804
|
+
],
|
|
3805
|
+
};
|
|
3662
3806
|
exports.GetLedgerReportDocument = {
|
|
3663
3807
|
kind: 'Document',
|
|
3664
3808
|
definitions: [
|
|
@@ -568,6 +568,7 @@ export type ListLedgerEventBlocksQueryVariables = Exact<{
|
|
|
568
568
|
status: string | null | undefined
|
|
569
569
|
agentId: string | null | undefined
|
|
570
570
|
source: string | null | undefined
|
|
571
|
+
isReconcilingItem: boolean | null | undefined
|
|
571
572
|
limit?: number
|
|
572
573
|
offset?: number
|
|
573
574
|
}>
|
|
@@ -617,6 +618,12 @@ export type GetLedgerFiscalCalendarQuery = {
|
|
|
617
618
|
earliestPendingPeriod: string | null
|
|
618
619
|
strandedObligationCount: number
|
|
619
620
|
syncStaleDays: number | null
|
|
621
|
+
reconcilingItemCount: number
|
|
622
|
+
reconcilingItemSample: Array<string>
|
|
623
|
+
unpostedSourceEventCount: number
|
|
624
|
+
unpostedSourceEventSample: Array<string>
|
|
625
|
+
unreconciledAccountCount: number
|
|
626
|
+
unreconciledAccountSample: Array<string>
|
|
620
627
|
lastCloseAt: string | null
|
|
621
628
|
initializedAt: string | null
|
|
622
629
|
lastSyncAt: string | null
|
|
@@ -1329,6 +1336,74 @@ export type ListLedgerPublishListsQuery = {
|
|
|
1329
1336
|
} | null
|
|
1330
1337
|
}
|
|
1331
1338
|
|
|
1339
|
+
export type ListLedgerReconciliationsQueryVariables = Exact<{
|
|
1340
|
+
period: string
|
|
1341
|
+
}>
|
|
1342
|
+
|
|
1343
|
+
export type ListLedgerReconciliationsQuery = {
|
|
1344
|
+
reconciliations: {
|
|
1345
|
+
period: string
|
|
1346
|
+
asOf: string
|
|
1347
|
+
notes: Array<string>
|
|
1348
|
+
reconciliations: Array<{
|
|
1349
|
+
structureId: string
|
|
1350
|
+
name: string
|
|
1351
|
+
scope: string
|
|
1352
|
+
method: string
|
|
1353
|
+
elementId: string | null
|
|
1354
|
+
requiredForClose: boolean
|
|
1355
|
+
materiality: number
|
|
1356
|
+
period: string
|
|
1357
|
+
asOf: string
|
|
1358
|
+
status: string
|
|
1359
|
+
unreconciledDifference: number | null
|
|
1360
|
+
accountsCompared: number | null
|
|
1361
|
+
accountsDifferent: number | null
|
|
1362
|
+
ledgerBalance: number | null
|
|
1363
|
+
independentBalance: number | null
|
|
1364
|
+
balanceAsOf: string | null
|
|
1365
|
+
source: string | null
|
|
1366
|
+
comparedAt: string | null
|
|
1367
|
+
factSetId: string | null
|
|
1368
|
+
comparedBy: string | null
|
|
1369
|
+
comparedVia: string | null
|
|
1370
|
+
reviewRequired: boolean
|
|
1371
|
+
separateReviewer: boolean
|
|
1372
|
+
reviewedBy: string | null
|
|
1373
|
+
reviewedAt: string | null
|
|
1374
|
+
selfReviewed: boolean | null
|
|
1375
|
+
components: Array<{
|
|
1376
|
+
name: string
|
|
1377
|
+
amount: number
|
|
1378
|
+
structureId: string | null
|
|
1379
|
+
eventId: string | null
|
|
1380
|
+
documentId: string | null
|
|
1381
|
+
note: string | null
|
|
1382
|
+
}>
|
|
1383
|
+
differences: Array<{
|
|
1384
|
+
elementId: string | null
|
|
1385
|
+
accountCode: string | null
|
|
1386
|
+
accountName: string
|
|
1387
|
+
sourceAccountId: string | null
|
|
1388
|
+
statement: string | null
|
|
1389
|
+
ledgerBalance: number
|
|
1390
|
+
independentBalance: number
|
|
1391
|
+
difference: number
|
|
1392
|
+
status: string
|
|
1393
|
+
asOf: string | null
|
|
1394
|
+
components: Array<{
|
|
1395
|
+
name: string
|
|
1396
|
+
amount: number
|
|
1397
|
+
structureId: string | null
|
|
1398
|
+
eventId: string | null
|
|
1399
|
+
documentId: string | null
|
|
1400
|
+
note: string | null
|
|
1401
|
+
}>
|
|
1402
|
+
}>
|
|
1403
|
+
}>
|
|
1404
|
+
} | null
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1332
1407
|
export type GetLedgerReportQueryVariables = Exact<{
|
|
1333
1408
|
reportId: string
|
|
1334
1409
|
}>
|
|
@@ -3654,6 +3729,11 @@ export const ListLedgerEventBlocksDocument = {
|
|
|
3654
3729
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
|
|
3655
3730
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3656
3731
|
},
|
|
3732
|
+
{
|
|
3733
|
+
kind: 'VariableDefinition',
|
|
3734
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'isReconcilingItem' } },
|
|
3735
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
|
|
3736
|
+
},
|
|
3657
3737
|
{
|
|
3658
3738
|
kind: 'VariableDefinition',
|
|
3659
3739
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
@@ -3705,6 +3785,11 @@ export const ListLedgerEventBlocksDocument = {
|
|
|
3705
3785
|
name: { kind: 'Name', value: 'source' },
|
|
3706
3786
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
|
|
3707
3787
|
},
|
|
3788
|
+
{
|
|
3789
|
+
kind: 'Argument',
|
|
3790
|
+
name: { kind: 'Name', value: 'isReconcilingItem' },
|
|
3791
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'isReconcilingItem' } },
|
|
3792
|
+
},
|
|
3708
3793
|
{
|
|
3709
3794
|
kind: 'Argument',
|
|
3710
3795
|
name: { kind: 'Name', value: 'limit' },
|
|
@@ -3805,6 +3890,12 @@ export const GetLedgerFiscalCalendarDocument = {
|
|
|
3805
3890
|
},
|
|
3806
3891
|
},
|
|
3807
3892
|
{ kind: 'Field', name: { kind: 'Name', value: 'syncStaleDays' } },
|
|
3893
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reconcilingItemCount' } },
|
|
3894
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reconcilingItemSample' } },
|
|
3895
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unpostedSourceEventCount' } },
|
|
3896
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unpostedSourceEventSample' } },
|
|
3897
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountCount' } },
|
|
3898
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountSample' } },
|
|
3808
3899
|
{ kind: 'Field', name: { kind: 'Name', value: 'lastCloseAt' } },
|
|
3809
3900
|
{ kind: 'Field', name: { kind: 'Name', value: 'initializedAt' } },
|
|
3810
3901
|
{ kind: 'Field', name: { kind: 'Name', value: 'lastSyncAt' } },
|
|
@@ -5710,6 +5801,137 @@ export const ListLedgerPublishListsDocument = {
|
|
|
5710
5801
|
},
|
|
5711
5802
|
],
|
|
5712
5803
|
} as unknown as DocumentNode<ListLedgerPublishListsQuery, ListLedgerPublishListsQueryVariables>
|
|
5804
|
+
export const ListLedgerReconciliationsDocument = {
|
|
5805
|
+
kind: 'Document',
|
|
5806
|
+
definitions: [
|
|
5807
|
+
{
|
|
5808
|
+
kind: 'OperationDefinition',
|
|
5809
|
+
operation: 'query',
|
|
5810
|
+
name: { kind: 'Name', value: 'ListLedgerReconciliations' },
|
|
5811
|
+
variableDefinitions: [
|
|
5812
|
+
{
|
|
5813
|
+
kind: 'VariableDefinition',
|
|
5814
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
5815
|
+
type: {
|
|
5816
|
+
kind: 'NonNullType',
|
|
5817
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5818
|
+
},
|
|
5819
|
+
},
|
|
5820
|
+
],
|
|
5821
|
+
selectionSet: {
|
|
5822
|
+
kind: 'SelectionSet',
|
|
5823
|
+
selections: [
|
|
5824
|
+
{
|
|
5825
|
+
kind: 'Field',
|
|
5826
|
+
name: { kind: 'Name', value: 'reconciliations' },
|
|
5827
|
+
arguments: [
|
|
5828
|
+
{
|
|
5829
|
+
kind: 'Argument',
|
|
5830
|
+
name: { kind: 'Name', value: 'period' },
|
|
5831
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
5832
|
+
},
|
|
5833
|
+
],
|
|
5834
|
+
selectionSet: {
|
|
5835
|
+
kind: 'SelectionSet',
|
|
5836
|
+
selections: [
|
|
5837
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
5838
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
|
|
5839
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'notes' } },
|
|
5840
|
+
{
|
|
5841
|
+
kind: 'Field',
|
|
5842
|
+
name: { kind: 'Name', value: 'reconciliations' },
|
|
5843
|
+
selectionSet: {
|
|
5844
|
+
kind: 'SelectionSet',
|
|
5845
|
+
selections: [
|
|
5846
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
|
|
5847
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
5848
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'scope' } },
|
|
5849
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'method' } },
|
|
5850
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
|
|
5851
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'requiredForClose' } },
|
|
5852
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'materiality' } },
|
|
5853
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
5854
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
|
|
5855
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
5856
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unreconciledDifference' } },
|
|
5857
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountsCompared' } },
|
|
5858
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountsDifferent' } },
|
|
5859
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
|
|
5860
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'independentBalance' } },
|
|
5861
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'balanceAsOf' } },
|
|
5862
|
+
{
|
|
5863
|
+
kind: 'Field',
|
|
5864
|
+
name: { kind: 'Name', value: 'components' },
|
|
5865
|
+
selectionSet: {
|
|
5866
|
+
kind: 'SelectionSet',
|
|
5867
|
+
selections: [
|
|
5868
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
5869
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
5870
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
|
|
5871
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
|
|
5872
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
|
|
5873
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'note' } },
|
|
5874
|
+
],
|
|
5875
|
+
},
|
|
5876
|
+
},
|
|
5877
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
5878
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'comparedAt' } },
|
|
5879
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'factSetId' } },
|
|
5880
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'comparedBy' } },
|
|
5881
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'comparedVia' } },
|
|
5882
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reviewRequired' } },
|
|
5883
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'separateReviewer' } },
|
|
5884
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reviewedBy' } },
|
|
5885
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reviewedAt' } },
|
|
5886
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'selfReviewed' } },
|
|
5887
|
+
{
|
|
5888
|
+
kind: 'Field',
|
|
5889
|
+
name: { kind: 'Name', value: 'differences' },
|
|
5890
|
+
selectionSet: {
|
|
5891
|
+
kind: 'SelectionSet',
|
|
5892
|
+
selections: [
|
|
5893
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
|
|
5894
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountCode' } },
|
|
5895
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
|
|
5896
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'sourceAccountId' } },
|
|
5897
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'statement' } },
|
|
5898
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
|
|
5899
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'independentBalance' } },
|
|
5900
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'difference' } },
|
|
5901
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
5902
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
|
|
5903
|
+
{
|
|
5904
|
+
kind: 'Field',
|
|
5905
|
+
name: { kind: 'Name', value: 'components' },
|
|
5906
|
+
selectionSet: {
|
|
5907
|
+
kind: 'SelectionSet',
|
|
5908
|
+
selections: [
|
|
5909
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
5910
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
5911
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
|
|
5912
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
|
|
5913
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
|
|
5914
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'note' } },
|
|
5915
|
+
],
|
|
5916
|
+
},
|
|
5917
|
+
},
|
|
5918
|
+
],
|
|
5919
|
+
},
|
|
5920
|
+
},
|
|
5921
|
+
],
|
|
5922
|
+
},
|
|
5923
|
+
},
|
|
5924
|
+
],
|
|
5925
|
+
},
|
|
5926
|
+
},
|
|
5927
|
+
],
|
|
5928
|
+
},
|
|
5929
|
+
},
|
|
5930
|
+
],
|
|
5931
|
+
} as unknown as DocumentNode<
|
|
5932
|
+
ListLedgerReconciliationsQuery,
|
|
5933
|
+
ListLedgerReconciliationsQueryVariables
|
|
5934
|
+
>
|
|
5713
5935
|
export const GetLedgerReportDocument = {
|
|
5714
5936
|
kind: 'Document',
|
|
5715
5937
|
definitions: [
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* `eventType` matches values like `invoice_issued`, `bill_received`,
|
|
7
7
|
* `payment_received`, `bill_paid`, `sales_receipt_recorded`,
|
|
8
8
|
* `journal_entry_recorded`. `eventCategory` groups them: `sales`,
|
|
9
|
-
* `purchase`, `adjustment`.
|
|
9
|
+
* `purchase`, `adjustment`. `isReconcilingItem` narrows to posted events
|
|
10
|
+
* whose source payload changed afterwards and that await a decision.
|
|
10
11
|
*/
|
|
11
12
|
export declare const LIST_EVENT_BLOCKS: string;
|
|
@@ -10,7 +10,8 @@ const graphql_request_1 = require("graphql-request");
|
|
|
10
10
|
* `eventType` matches values like `invoice_issued`, `bill_received`,
|
|
11
11
|
* `payment_received`, `bill_paid`, `sales_receipt_recorded`,
|
|
12
12
|
* `journal_entry_recorded`. `eventCategory` groups them: `sales`,
|
|
13
|
-
* `purchase`, `adjustment`.
|
|
13
|
+
* `purchase`, `adjustment`. `isReconcilingItem` narrows to posted events
|
|
14
|
+
* whose source payload changed afterwards and that await a decision.
|
|
14
15
|
*/
|
|
15
16
|
exports.LIST_EVENT_BLOCKS = (0, graphql_request_1.gql) `
|
|
16
17
|
query ListLedgerEventBlocks(
|
|
@@ -19,6 +20,7 @@ exports.LIST_EVENT_BLOCKS = (0, graphql_request_1.gql) `
|
|
|
19
20
|
$status: String
|
|
20
21
|
$agentId: String
|
|
21
22
|
$source: String
|
|
23
|
+
$isReconcilingItem: Boolean
|
|
22
24
|
$limit: Int! = 50
|
|
23
25
|
$offset: Int! = 0
|
|
24
26
|
) {
|
|
@@ -28,6 +30,7 @@ exports.LIST_EVENT_BLOCKS = (0, graphql_request_1.gql) `
|
|
|
28
30
|
status: $status
|
|
29
31
|
agentId: $agentId
|
|
30
32
|
source: $source
|
|
33
|
+
isReconcilingItem: $isReconcilingItem
|
|
31
34
|
limit: $limit
|
|
32
35
|
offset: $offset
|
|
33
36
|
) {
|
|
@@ -8,7 +8,8 @@ import { gql } from 'graphql-request'
|
|
|
8
8
|
* `eventType` matches values like `invoice_issued`, `bill_received`,
|
|
9
9
|
* `payment_received`, `bill_paid`, `sales_receipt_recorded`,
|
|
10
10
|
* `journal_entry_recorded`. `eventCategory` groups them: `sales`,
|
|
11
|
-
* `purchase`, `adjustment`.
|
|
11
|
+
* `purchase`, `adjustment`. `isReconcilingItem` narrows to posted events
|
|
12
|
+
* whose source payload changed afterwards and that await a decision.
|
|
12
13
|
*/
|
|
13
14
|
export const LIST_EVENT_BLOCKS = gql`
|
|
14
15
|
query ListLedgerEventBlocks(
|
|
@@ -17,6 +18,7 @@ export const LIST_EVENT_BLOCKS = gql`
|
|
|
17
18
|
$status: String
|
|
18
19
|
$agentId: String
|
|
19
20
|
$source: String
|
|
21
|
+
$isReconcilingItem: Boolean
|
|
20
22
|
$limit: Int! = 50
|
|
21
23
|
$offset: Int! = 0
|
|
22
24
|
) {
|
|
@@ -26,6 +28,7 @@ export const LIST_EVENT_BLOCKS = gql`
|
|
|
26
28
|
status: $status
|
|
27
29
|
agentId: $agentId
|
|
28
30
|
source: $source
|
|
31
|
+
isReconcilingItem: $isReconcilingItem
|
|
29
32
|
limit: $limit
|
|
30
33
|
offset: $offset
|
|
31
34
|
) {
|
|
@@ -43,6 +43,12 @@ exports.GET_FISCAL_CALENDAR = (0, graphql_request_1.gql) `
|
|
|
43
43
|
period
|
|
44
44
|
}
|
|
45
45
|
syncStaleDays
|
|
46
|
+
reconcilingItemCount
|
|
47
|
+
reconcilingItemSample
|
|
48
|
+
unpostedSourceEventCount
|
|
49
|
+
unpostedSourceEventSample
|
|
50
|
+
unreconciledAccountCount
|
|
51
|
+
unreconciledAccountSample
|
|
46
52
|
lastCloseAt
|
|
47
53
|
initializedAt
|
|
48
54
|
lastSyncAt
|
|
@@ -41,6 +41,12 @@ export const GET_FISCAL_CALENDAR = gql`
|
|
|
41
41
|
period
|
|
42
42
|
}
|
|
43
43
|
syncStaleDays
|
|
44
|
+
reconcilingItemCount
|
|
45
|
+
reconcilingItemSample
|
|
46
|
+
unpostedSourceEventCount
|
|
47
|
+
unpostedSourceEventSample
|
|
48
|
+
unreconciledAccountCount
|
|
49
|
+
unreconciledAccountSample
|
|
44
50
|
lastCloseAt
|
|
45
51
|
initializedAt
|
|
46
52
|
lastSyncAt
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Every reconciliation block's standing for one period: whether the ledger
|
|
3
|
+
* ties to the balance outside it, what the two sides were, and who compared
|
|
4
|
+
* and reviewed them.
|
|
5
|
+
*
|
|
6
|
+
* A block not yet compared for the period reads `not_started`. Comparisons
|
|
7
|
+
* are recorded by `refreshReconciliations` and `recordStatementBalance`.
|
|
8
|
+
* `notes` is only populated on a refresh; a read returns it empty.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LIST_RECONCILIATIONS: string;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LIST_RECONCILIATIONS = void 0;
|
|
4
|
+
const graphql_request_1 = require("graphql-request");
|
|
5
|
+
/**
|
|
6
|
+
* Every reconciliation block's standing for one period: whether the ledger
|
|
7
|
+
* ties to the balance outside it, what the two sides were, and who compared
|
|
8
|
+
* and reviewed them.
|
|
9
|
+
*
|
|
10
|
+
* A block not yet compared for the period reads `not_started`. Comparisons
|
|
11
|
+
* are recorded by `refreshReconciliations` and `recordStatementBalance`.
|
|
12
|
+
* `notes` is only populated on a refresh; a read returns it empty.
|
|
13
|
+
*/
|
|
14
|
+
exports.LIST_RECONCILIATIONS = (0, graphql_request_1.gql) `
|
|
15
|
+
query ListLedgerReconciliations($period: String!) {
|
|
16
|
+
reconciliations(period: $period) {
|
|
17
|
+
period
|
|
18
|
+
asOf
|
|
19
|
+
notes
|
|
20
|
+
reconciliations {
|
|
21
|
+
structureId
|
|
22
|
+
name
|
|
23
|
+
scope
|
|
24
|
+
method
|
|
25
|
+
elementId
|
|
26
|
+
requiredForClose
|
|
27
|
+
materiality
|
|
28
|
+
period
|
|
29
|
+
asOf
|
|
30
|
+
status
|
|
31
|
+
unreconciledDifference
|
|
32
|
+
accountsCompared
|
|
33
|
+
accountsDifferent
|
|
34
|
+
ledgerBalance
|
|
35
|
+
independentBalance
|
|
36
|
+
balanceAsOf
|
|
37
|
+
components {
|
|
38
|
+
name
|
|
39
|
+
amount
|
|
40
|
+
structureId
|
|
41
|
+
eventId
|
|
42
|
+
documentId
|
|
43
|
+
note
|
|
44
|
+
}
|
|
45
|
+
source
|
|
46
|
+
comparedAt
|
|
47
|
+
factSetId
|
|
48
|
+
comparedBy
|
|
49
|
+
comparedVia
|
|
50
|
+
reviewRequired
|
|
51
|
+
separateReviewer
|
|
52
|
+
reviewedBy
|
|
53
|
+
reviewedAt
|
|
54
|
+
selfReviewed
|
|
55
|
+
differences {
|
|
56
|
+
elementId
|
|
57
|
+
accountCode
|
|
58
|
+
accountName
|
|
59
|
+
sourceAccountId
|
|
60
|
+
statement
|
|
61
|
+
ledgerBalance
|
|
62
|
+
independentBalance
|
|
63
|
+
difference
|
|
64
|
+
status
|
|
65
|
+
asOf
|
|
66
|
+
components {
|
|
67
|
+
name
|
|
68
|
+
amount
|
|
69
|
+
structureId
|
|
70
|
+
eventId
|
|
71
|
+
documentId
|
|
72
|
+
note
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
`;
|