@robosystems/client 2.2.5 → 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' } },
@@ -3336,6 +3338,7 @@ exports.ListLedgerMappingsDocument = {
3336
3338
  { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
3337
3339
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3338
3340
  { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
3341
+ { kind: 'Field', name: { kind: 'Name', value: 'framework' } },
3339
3342
  ],
3340
3343
  },
3341
3344
  },
@@ -3658,6 +3661,134 @@ exports.ListLedgerPublishListsDocument = {
3658
3661
  },
3659
3662
  ],
3660
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
+ };
3661
3792
  exports.GetLedgerReportDocument = {
3662
3793
  kind: 'Document',
3663
3794
  definitions: [
@@ -4559,6 +4690,7 @@ exports.ListLedgerStructuresDocument = {
4559
4690
  { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
4560
4691
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
4561
4692
  { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
4693
+ { kind: 'Field', name: { kind: 'Name', value: 'framework' } },
4562
4694
  ],
4563
4695
  },
4564
4696
  },
@@ -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
@@ -1214,6 +1216,7 @@ export type ListLedgerMappingsQuery = {
1214
1216
  blockType: string
1215
1217
  taxonomyId: string
1216
1218
  isActive: boolean
1219
+ framework: string | null
1217
1220
  }>
1218
1221
  } | null
1219
1222
  }
@@ -1328,6 +1331,74 @@ export type ListLedgerPublishListsQuery = {
1328
1331
  } | null
1329
1332
  }
1330
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
+
1331
1402
  export type GetLedgerReportQueryVariables = Exact<{
1332
1403
  reportId: string
1333
1404
  }>
@@ -1636,6 +1707,7 @@ export type ListLedgerStructuresQuery = {
1636
1707
  blockType: string
1637
1708
  taxonomyId: string
1638
1709
  isActive: boolean
1710
+ framework: string | null
1639
1711
  }>
1640
1712
  } | null
1641
1713
  }
@@ -3803,6 +3875,8 @@ export const GetLedgerFiscalCalendarDocument = {
3803
3875
  },
3804
3876
  },
3805
3877
  { kind: 'Field', name: { kind: 'Name', value: 'syncStaleDays' } },
3878
+ { kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountCount' } },
3879
+ { kind: 'Field', name: { kind: 'Name', value: 'unreconciledAccountSample' } },
3806
3880
  { kind: 'Field', name: { kind: 'Name', value: 'lastCloseAt' } },
3807
3881
  { kind: 'Field', name: { kind: 'Name', value: 'initializedAt' } },
3808
3882
  { kind: 'Field', name: { kind: 'Name', value: 'lastSyncAt' } },
@@ -5382,6 +5456,7 @@ export const ListLedgerMappingsDocument = {
5382
5456
  { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
5383
5457
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
5384
5458
  { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
5459
+ { kind: 'Field', name: { kind: 'Name', value: 'framework' } },
5385
5460
  ],
5386
5461
  },
5387
5462
  },
@@ -5707,6 +5782,137 @@ export const ListLedgerPublishListsDocument = {
5707
5782
  },
5708
5783
  ],
5709
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
+ >
5710
5916
  export const GetLedgerReportDocument = {
5711
5917
  kind: 'Document',
5712
5918
  definitions: [
@@ -6614,6 +6820,7 @@ export const ListLedgerStructuresDocument = {
6614
6820
  { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
6615
6821
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
6616
6822
  { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
6823
+ { kind: 'Field', name: { kind: 'Name', value: 'framework' } },
6617
6824
  ],
6618
6825
  },
6619
6826
  },
@@ -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
@@ -1,6 +1,7 @@
1
1
  /**
2
- * All active coa_mapping structures. Returned as a StructureList (same
3
- * wire shape as `structures`, just filtered server-side to
4
- * `block_type = 'coa_mapping'`).
2
+ * All active coa_mapping structures, the book mapping first. Returned as a
3
+ * StructureList (same wire shape as `structures`, just filtered server-side
4
+ * to `block_type = 'coa_mapping'`). `framework` is the reporting framework
5
+ * each maps the chart into; a chart holds one mapping per framework.
5
6
  */
6
7
  export declare const LIST_MAPPINGS: string;
@@ -3,9 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LIST_MAPPINGS = void 0;
4
4
  const graphql_request_1 = require("graphql-request");
5
5
  /**
6
- * All active coa_mapping structures. Returned as a StructureList (same
7
- * wire shape as `structures`, just filtered server-side to
8
- * `block_type = 'coa_mapping'`).
6
+ * All active coa_mapping structures, the book mapping first. Returned as a
7
+ * StructureList (same wire shape as `structures`, just filtered server-side
8
+ * to `block_type = 'coa_mapping'`). `framework` is the reporting framework
9
+ * each maps the chart into; a chart holds one mapping per framework.
9
10
  */
10
11
  exports.LIST_MAPPINGS = (0, graphql_request_1.gql) `
11
12
  query ListLedgerMappings {
@@ -17,6 +18,7 @@ exports.LIST_MAPPINGS = (0, graphql_request_1.gql) `
17
18
  blockType
18
19
  taxonomyId
19
20
  isActive
21
+ framework
20
22
  }
21
23
  }
22
24
  }
@@ -1,9 +1,10 @@
1
1
  import { gql } from 'graphql-request'
2
2
 
3
3
  /**
4
- * All active coa_mapping structures. Returned as a StructureList (same
5
- * wire shape as `structures`, just filtered server-side to
6
- * `block_type = 'coa_mapping'`).
4
+ * All active coa_mapping structures, the book mapping first. Returned as a
5
+ * StructureList (same wire shape as `structures`, just filtered server-side
6
+ * to `block_type = 'coa_mapping'`). `framework` is the reporting framework
7
+ * each maps the chart into; a chart holds one mapping per framework.
7
8
  */
8
9
  export const LIST_MAPPINGS = gql`
9
10
  query ListLedgerMappings {
@@ -15,6 +16,7 @@ export const LIST_MAPPINGS = gql`
15
16
  blockType
16
17
  taxonomyId
17
18
  isActive
19
+ framework
18
20
  }
19
21
  }
20
22
  }
@@ -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
+ `;