@robosystems/client 2.3.0 → 2.4.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetLibraryElementClassificationsDocument = 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.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 = 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: [
@@ -1763,6 +1763,8 @@ exports.GetLedgerFiscalCalendarDocument = {
1763
1763
  },
1764
1764
  },
1765
1765
  { kind: 'Field', name: { kind: 'Name', value: 'syncStaleDays' } },
1766
+ { kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountCount' } },
1767
+ { kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountSample' } },
1766
1768
  { kind: 'Field', name: { kind: 'Name', value: 'lastCloseAt' } },
1767
1769
  { kind: 'Field', name: { kind: 'Name', value: 'initializedAt' } },
1768
1770
  { kind: 'Field', name: { kind: 'Name', value: 'lastSyncAt' } },
@@ -3659,6 +3661,134 @@ exports.ListLedgerPublishListsDocument = {
3659
3661
  },
3660
3662
  ],
3661
3663
  };
3664
+ exports.ListLedgerReconciliationsDocument = {
3665
+ kind: 'Document',
3666
+ definitions: [
3667
+ {
3668
+ kind: 'OperationDefinition',
3669
+ operation: 'query',
3670
+ name: { kind: 'Name', value: 'ListLedgerReconciliations' },
3671
+ variableDefinitions: [
3672
+ {
3673
+ kind: 'VariableDefinition',
3674
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
3675
+ type: {
3676
+ kind: 'NonNullType',
3677
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3678
+ },
3679
+ },
3680
+ ],
3681
+ selectionSet: {
3682
+ kind: 'SelectionSet',
3683
+ selections: [
3684
+ {
3685
+ kind: 'Field',
3686
+ name: { kind: 'Name', value: 'reconciliations' },
3687
+ arguments: [
3688
+ {
3689
+ kind: 'Argument',
3690
+ name: { kind: 'Name', value: 'period' },
3691
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
3692
+ },
3693
+ ],
3694
+ selectionSet: {
3695
+ kind: 'SelectionSet',
3696
+ selections: [
3697
+ { kind: 'Field', name: { kind: 'Name', value: 'period' } },
3698
+ { kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
3699
+ { kind: 'Field', name: { kind: 'Name', value: 'notes' } },
3700
+ {
3701
+ kind: 'Field',
3702
+ name: { kind: 'Name', value: 'reconciliations' },
3703
+ selectionSet: {
3704
+ kind: 'SelectionSet',
3705
+ selections: [
3706
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3707
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3708
+ { kind: 'Field', name: { kind: 'Name', value: 'scope' } },
3709
+ { kind: 'Field', name: { kind: 'Name', value: 'method' } },
3710
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3711
+ { kind: 'Field', name: { kind: 'Name', value: 'requiredForClose' } },
3712
+ { kind: 'Field', name: { kind: 'Name', value: 'materiality' } },
3713
+ { kind: 'Field', name: { kind: 'Name', value: 'period' } },
3714
+ { kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
3715
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
3716
+ { kind: 'Field', name: { kind: 'Name', value: 'unreconciledDifference' } },
3717
+ { kind: 'Field', name: { kind: 'Name', value: 'accountsCompared' } },
3718
+ { kind: 'Field', name: { kind: 'Name', value: 'accountsDifferent' } },
3719
+ { kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
3720
+ { kind: 'Field', name: { kind: 'Name', value: 'independentBalance' } },
3721
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceAsOf' } },
3722
+ {
3723
+ kind: 'Field',
3724
+ name: { kind: 'Name', value: 'components' },
3725
+ selectionSet: {
3726
+ kind: 'SelectionSet',
3727
+ selections: [
3728
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3729
+ { kind: 'Field', name: { kind: 'Name', value: 'amount' } },
3730
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3731
+ { kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
3732
+ { kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
3733
+ { kind: 'Field', name: { kind: 'Name', value: 'note' } },
3734
+ ],
3735
+ },
3736
+ },
3737
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
3738
+ { kind: 'Field', name: { kind: 'Name', value: 'comparedAt' } },
3739
+ { kind: 'Field', name: { kind: 'Name', value: 'factSetId' } },
3740
+ { kind: 'Field', name: { kind: 'Name', value: 'comparedBy' } },
3741
+ { kind: 'Field', name: { kind: 'Name', value: 'comparedVia' } },
3742
+ { kind: 'Field', name: { kind: 'Name', value: 'reviewRequired' } },
3743
+ { kind: 'Field', name: { kind: 'Name', value: 'separateReviewer' } },
3744
+ { kind: 'Field', name: { kind: 'Name', value: 'reviewedBy' } },
3745
+ { kind: 'Field', name: { kind: 'Name', value: 'reviewedAt' } },
3746
+ { kind: 'Field', name: { kind: 'Name', value: 'selfReviewed' } },
3747
+ {
3748
+ kind: 'Field',
3749
+ name: { kind: 'Name', value: 'differences' },
3750
+ selectionSet: {
3751
+ kind: 'SelectionSet',
3752
+ selections: [
3753
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3754
+ { kind: 'Field', name: { kind: 'Name', value: 'accountCode' } },
3755
+ { kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
3756
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceAccountId' } },
3757
+ { kind: 'Field', name: { kind: 'Name', value: 'statement' } },
3758
+ { kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
3759
+ { kind: 'Field', name: { kind: 'Name', value: 'independentBalance' } },
3760
+ { kind: 'Field', name: { kind: 'Name', value: 'difference' } },
3761
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
3762
+ { kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
3763
+ {
3764
+ kind: 'Field',
3765
+ name: { kind: 'Name', value: 'components' },
3766
+ selectionSet: {
3767
+ kind: 'SelectionSet',
3768
+ selections: [
3769
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3770
+ { kind: 'Field', name: { kind: 'Name', value: 'amount' } },
3771
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3772
+ { kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
3773
+ { kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
3774
+ { kind: 'Field', name: { kind: 'Name', value: 'note' } },
3775
+ ],
3776
+ },
3777
+ },
3778
+ ],
3779
+ },
3780
+ },
3781
+ ],
3782
+ },
3783
+ },
3784
+ ],
3785
+ },
3786
+ },
3787
+ ],
3788
+ },
3789
+ },
3790
+ ],
3791
+ };
3662
3792
  exports.GetLedgerReportDocument = {
3663
3793
  kind: 'Document',
3664
3794
  definitions: [
@@ -617,6 +617,8 @@ export type GetLedgerFiscalCalendarQuery = {
617
617
  earliestPendingPeriod: string | null
618
618
  strandedObligationCount: number
619
619
  syncStaleDays: number | null
620
+ unreconciledAccountCount: number
621
+ unreconciledAccountSample: Array<string>
620
622
  lastCloseAt: string | null
621
623
  initializedAt: string | null
622
624
  lastSyncAt: string | null
@@ -1329,6 +1331,74 @@ export type ListLedgerPublishListsQuery = {
1329
1331
  } | null
1330
1332
  }
1331
1333
 
1334
+ export type ListLedgerReconciliationsQueryVariables = Exact<{
1335
+ period: string
1336
+ }>
1337
+
1338
+ export type ListLedgerReconciliationsQuery = {
1339
+ reconciliations: {
1340
+ period: string
1341
+ asOf: string
1342
+ notes: Array<string>
1343
+ reconciliations: Array<{
1344
+ structureId: string
1345
+ name: string
1346
+ scope: string
1347
+ method: string
1348
+ elementId: string | null
1349
+ requiredForClose: boolean
1350
+ materiality: number
1351
+ period: string
1352
+ asOf: string
1353
+ status: string
1354
+ unreconciledDifference: number | null
1355
+ accountsCompared: number | null
1356
+ accountsDifferent: number | null
1357
+ ledgerBalance: number | null
1358
+ independentBalance: number | null
1359
+ balanceAsOf: string | null
1360
+ source: string | null
1361
+ comparedAt: string | null
1362
+ factSetId: string | null
1363
+ comparedBy: string | null
1364
+ comparedVia: string | null
1365
+ reviewRequired: boolean
1366
+ separateReviewer: boolean
1367
+ reviewedBy: string | null
1368
+ reviewedAt: string | null
1369
+ selfReviewed: boolean | null
1370
+ components: Array<{
1371
+ name: string
1372
+ amount: number
1373
+ structureId: string | null
1374
+ eventId: string | null
1375
+ documentId: string | null
1376
+ note: string | null
1377
+ }>
1378
+ differences: Array<{
1379
+ elementId: string | null
1380
+ accountCode: string | null
1381
+ accountName: string
1382
+ sourceAccountId: string | null
1383
+ statement: string | null
1384
+ ledgerBalance: number
1385
+ independentBalance: number
1386
+ difference: number
1387
+ status: string
1388
+ asOf: string | null
1389
+ components: Array<{
1390
+ name: string
1391
+ amount: number
1392
+ structureId: string | null
1393
+ eventId: string | null
1394
+ documentId: string | null
1395
+ note: string | null
1396
+ }>
1397
+ }>
1398
+ }>
1399
+ } | null
1400
+ }
1401
+
1332
1402
  export type GetLedgerReportQueryVariables = Exact<{
1333
1403
  reportId: string
1334
1404
  }>
@@ -3805,6 +3875,8 @@ export const GetLedgerFiscalCalendarDocument = {
3805
3875
  },
3806
3876
  },
3807
3877
  { kind: 'Field', name: { kind: 'Name', value: 'syncStaleDays' } },
3878
+ { kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountCount' } },
3879
+ { kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountSample' } },
3808
3880
  { kind: 'Field', name: { kind: 'Name', value: 'lastCloseAt' } },
3809
3881
  { kind: 'Field', name: { kind: 'Name', value: 'initializedAt' } },
3810
3882
  { kind: 'Field', name: { kind: 'Name', value: 'lastSyncAt' } },
@@ -5710,6 +5782,137 @@ export const ListLedgerPublishListsDocument = {
5710
5782
  },
5711
5783
  ],
5712
5784
  } as unknown as DocumentNode<ListLedgerPublishListsQuery, ListLedgerPublishListsQueryVariables>
5785
+ export const ListLedgerReconciliationsDocument = {
5786
+ kind: 'Document',
5787
+ definitions: [
5788
+ {
5789
+ kind: 'OperationDefinition',
5790
+ operation: 'query',
5791
+ name: { kind: 'Name', value: 'ListLedgerReconciliations' },
5792
+ variableDefinitions: [
5793
+ {
5794
+ kind: 'VariableDefinition',
5795
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
5796
+ type: {
5797
+ kind: 'NonNullType',
5798
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5799
+ },
5800
+ },
5801
+ ],
5802
+ selectionSet: {
5803
+ kind: 'SelectionSet',
5804
+ selections: [
5805
+ {
5806
+ kind: 'Field',
5807
+ name: { kind: 'Name', value: 'reconciliations' },
5808
+ arguments: [
5809
+ {
5810
+ kind: 'Argument',
5811
+ name: { kind: 'Name', value: 'period' },
5812
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
5813
+ },
5814
+ ],
5815
+ selectionSet: {
5816
+ kind: 'SelectionSet',
5817
+ selections: [
5818
+ { kind: 'Field', name: { kind: 'Name', value: 'period' } },
5819
+ { kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
5820
+ { kind: 'Field', name: { kind: 'Name', value: 'notes' } },
5821
+ {
5822
+ kind: 'Field',
5823
+ name: { kind: 'Name', value: 'reconciliations' },
5824
+ selectionSet: {
5825
+ kind: 'SelectionSet',
5826
+ selections: [
5827
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
5828
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5829
+ { kind: 'Field', name: { kind: 'Name', value: 'scope' } },
5830
+ { kind: 'Field', name: { kind: 'Name', value: 'method' } },
5831
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
5832
+ { kind: 'Field', name: { kind: 'Name', value: 'requiredForClose' } },
5833
+ { kind: 'Field', name: { kind: 'Name', value: 'materiality' } },
5834
+ { kind: 'Field', name: { kind: 'Name', value: 'period' } },
5835
+ { kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
5836
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
5837
+ { kind: 'Field', name: { kind: 'Name', value: 'unreconciledDifference' } },
5838
+ { kind: 'Field', name: { kind: 'Name', value: 'accountsCompared' } },
5839
+ { kind: 'Field', name: { kind: 'Name', value: 'accountsDifferent' } },
5840
+ { kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
5841
+ { kind: 'Field', name: { kind: 'Name', value: 'independentBalance' } },
5842
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceAsOf' } },
5843
+ {
5844
+ kind: 'Field',
5845
+ name: { kind: 'Name', value: 'components' },
5846
+ selectionSet: {
5847
+ kind: 'SelectionSet',
5848
+ selections: [
5849
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5850
+ { kind: 'Field', name: { kind: 'Name', value: 'amount' } },
5851
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
5852
+ { kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
5853
+ { kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
5854
+ { kind: 'Field', name: { kind: 'Name', value: 'note' } },
5855
+ ],
5856
+ },
5857
+ },
5858
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
5859
+ { kind: 'Field', name: { kind: 'Name', value: 'comparedAt' } },
5860
+ { kind: 'Field', name: { kind: 'Name', value: 'factSetId' } },
5861
+ { kind: 'Field', name: { kind: 'Name', value: 'comparedBy' } },
5862
+ { kind: 'Field', name: { kind: 'Name', value: 'comparedVia' } },
5863
+ { kind: 'Field', name: { kind: 'Name', value: 'reviewRequired' } },
5864
+ { kind: 'Field', name: { kind: 'Name', value: 'separateReviewer' } },
5865
+ { kind: 'Field', name: { kind: 'Name', value: 'reviewedBy' } },
5866
+ { kind: 'Field', name: { kind: 'Name', value: 'reviewedAt' } },
5867
+ { kind: 'Field', name: { kind: 'Name', value: 'selfReviewed' } },
5868
+ {
5869
+ kind: 'Field',
5870
+ name: { kind: 'Name', value: 'differences' },
5871
+ selectionSet: {
5872
+ kind: 'SelectionSet',
5873
+ selections: [
5874
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
5875
+ { kind: 'Field', name: { kind: 'Name', value: 'accountCode' } },
5876
+ { kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
5877
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceAccountId' } },
5878
+ { kind: 'Field', name: { kind: 'Name', value: 'statement' } },
5879
+ { kind: 'Field', name: { kind: 'Name', value: 'ledgerBalance' } },
5880
+ { kind: 'Field', name: { kind: 'Name', value: 'independentBalance' } },
5881
+ { kind: 'Field', name: { kind: 'Name', value: 'difference' } },
5882
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
5883
+ { kind: 'Field', name: { kind: 'Name', value: 'asOf' } },
5884
+ {
5885
+ kind: 'Field',
5886
+ name: { kind: 'Name', value: 'components' },
5887
+ selectionSet: {
5888
+ kind: 'SelectionSet',
5889
+ selections: [
5890
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5891
+ { kind: 'Field', name: { kind: 'Name', value: 'amount' } },
5892
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
5893
+ { kind: 'Field', name: { kind: 'Name', value: 'eventId' } },
5894
+ { kind: 'Field', name: { kind: 'Name', value: 'documentId' } },
5895
+ { kind: 'Field', name: { kind: 'Name', value: 'note' } },
5896
+ ],
5897
+ },
5898
+ },
5899
+ ],
5900
+ },
5901
+ },
5902
+ ],
5903
+ },
5904
+ },
5905
+ ],
5906
+ },
5907
+ },
5908
+ ],
5909
+ },
5910
+ },
5911
+ ],
5912
+ } as unknown as DocumentNode<
5913
+ ListLedgerReconciliationsQuery,
5914
+ ListLedgerReconciliationsQueryVariables
5915
+ >
5713
5916
  export const GetLedgerReportDocument = {
5714
5917
  kind: 'Document',
5715
5918
  definitions: [
@@ -43,6 +43,8 @@ exports.GET_FISCAL_CALENDAR = (0, graphql_request_1.gql) `
43
43
  period
44
44
  }
45
45
  syncStaleDays
46
+ unreconciledAccountCount
47
+ unreconciledAccountSample
46
48
  lastCloseAt
47
49
  initializedAt
48
50
  lastSyncAt
@@ -41,6 +41,8 @@ export const GET_FISCAL_CALENDAR = gql`
41
41
  period
42
42
  }
43
43
  syncStaleDays
44
+ unreconciledAccountCount
45
+ unreconciledAccountSample
44
46
  lastCloseAt
45
47
  initializedAt
46
48
  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
+ `;
@@ -0,0 +1,76 @@
1
+ import { gql } from 'graphql-request'
2
+
3
+ /**
4
+ * Every reconciliation block's standing for one period: whether the ledger
5
+ * ties to the balance outside it, what the two sides were, and who compared
6
+ * and reviewed them.
7
+ *
8
+ * A block not yet compared for the period reads `not_started`. Comparisons
9
+ * are recorded by `refreshReconciliations` and `recordStatementBalance`.
10
+ * `notes` is only populated on a refresh; a read returns it empty.
11
+ */
12
+ export const LIST_RECONCILIATIONS = gql`
13
+ query ListLedgerReconciliations($period: String!) {
14
+ reconciliations(period: $period) {
15
+ period
16
+ asOf
17
+ notes
18
+ reconciliations {
19
+ structureId
20
+ name
21
+ scope
22
+ method
23
+ elementId
24
+ requiredForClose
25
+ materiality
26
+ period
27
+ asOf
28
+ status
29
+ unreconciledDifference
30
+ accountsCompared
31
+ accountsDifferent
32
+ ledgerBalance
33
+ independentBalance
34
+ balanceAsOf
35
+ components {
36
+ name
37
+ amount
38
+ structureId
39
+ eventId
40
+ documentId
41
+ note
42
+ }
43
+ source
44
+ comparedAt
45
+ factSetId
46
+ comparedBy
47
+ comparedVia
48
+ reviewRequired
49
+ separateReviewer
50
+ reviewedBy
51
+ reviewedAt
52
+ selfReviewed
53
+ differences {
54
+ elementId
55
+ accountCode
56
+ accountName
57
+ sourceAccountId
58
+ statement
59
+ ledgerBalance
60
+ independentBalance
61
+ difference
62
+ status
63
+ asOf
64
+ components {
65
+ name
66
+ amount
67
+ structureId
68
+ eventId
69
+ documentId
70
+ note
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ `