@robosystems/client 2.8.0 → 2.9.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.
Files changed (58) hide show
  1. package/artifacts/LedgerClient.d.ts +77 -18
  2. package/artifacts/LedgerClient.js +92 -25
  3. package/artifacts/LedgerClient.ts +161 -29
  4. package/artifacts/graphql/generated/graphql.d.ts +50 -5
  5. package/artifacts/graphql/generated/graphql.js +244 -2
  6. package/artifacts/graphql/generated/graphql.ts +303 -5
  7. package/artifacts/graphql/queries/ledger/accountRollups.js +12 -2
  8. package/artifacts/graphql/queries/ledger/accountRollups.ts +12 -2
  9. package/artifacts/graphql/queries/ledger/accountTree.js +2 -2
  10. package/artifacts/graphql/queries/ledger/accountTree.ts +2 -2
  11. package/artifacts/graphql/queries/ledger/accounts.js +8 -1
  12. package/artifacts/graphql/queries/ledger/accounts.ts +8 -1
  13. package/artifacts/graphql/queries/ledger/bankAccounts.d.ts +6 -0
  14. package/artifacts/graphql/queries/ledger/bankAccounts.js +35 -0
  15. package/artifacts/graphql/queries/ledger/bankAccounts.ts +33 -0
  16. package/artifacts/graphql/queries/ledger/closingBookStructures.js +2 -2
  17. package/artifacts/graphql/queries/ledger/closingBookStructures.ts +2 -2
  18. package/artifacts/graphql/queries/ledger/entities.js +1 -0
  19. package/artifacts/graphql/queries/ledger/entities.ts +1 -0
  20. package/artifacts/graphql/queries/ledger/entity.js +4 -2
  21. package/artifacts/graphql/queries/ledger/entity.ts +4 -2
  22. package/artifacts/graphql/queries/ledger/eventBlocks.js +2 -0
  23. package/artifacts/graphql/queries/ledger/eventBlocks.ts +2 -0
  24. package/artifacts/graphql/queries/ledger/fiscalCalendar.js +3 -2
  25. package/artifacts/graphql/queries/ledger/fiscalCalendar.ts +3 -2
  26. package/artifacts/graphql/queries/ledger/journalEntries.js +2 -0
  27. package/artifacts/graphql/queries/ledger/journalEntries.ts +2 -0
  28. package/artifacts/graphql/queries/ledger/periodCloseStatus.js +2 -2
  29. package/artifacts/graphql/queries/ledger/periodCloseStatus.ts +2 -2
  30. package/artifacts/graphql/queries/ledger/periodDrafts.js +2 -2
  31. package/artifacts/graphql/queries/ledger/periodDrafts.ts +2 -2
  32. package/artifacts/graphql/queries/ledger/reconciliations.js +2 -2
  33. package/artifacts/graphql/queries/ledger/reconciliations.ts +2 -2
  34. package/artifacts/graphql/queries/ledger/report.js +1 -0
  35. package/artifacts/graphql/queries/ledger/report.ts +1 -0
  36. package/artifacts/graphql/queries/ledger/reports.js +3 -2
  37. package/artifacts/graphql/queries/ledger/reports.ts +3 -2
  38. package/artifacts/graphql/queries/ledger/summary.js +3 -2
  39. package/artifacts/graphql/queries/ledger/summary.ts +3 -2
  40. package/artifacts/graphql/queries/ledger/transactions.js +2 -0
  41. package/artifacts/graphql/queries/ledger/transactions.ts +2 -0
  42. package/artifacts/graphql/queries/ledger/trialBalance.js +2 -2
  43. package/artifacts/graphql/queries/ledger/trialBalance.ts +2 -2
  44. package/index.ts +2 -2
  45. package/package.json +1 -1
  46. package/sdk/index.d.ts +2 -2
  47. package/sdk/index.js +4 -3
  48. package/sdk/index.ts +2 -2
  49. package/sdk/sdk.gen.d.ts +9 -1
  50. package/sdk/sdk.gen.js +20 -3
  51. package/sdk/sdk.gen.ts +18 -1
  52. package/sdk/types.gen.d.ts +206 -0
  53. package/sdk/types.gen.ts +214 -0
  54. package/sdk.gen.d.ts +9 -1
  55. package/sdk.gen.js +20 -3
  56. package/sdk.gen.ts +18 -1
  57. package/types.gen.d.ts +206 -0
  58. package/types.gen.ts +214 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ 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.ListLedgerBankAccountsDocument = 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 = exports.GetLibraryElementArcsDocument = void 0;
5
5
  exports.GetInvestorHoldingsDocument = {
6
6
  kind: 'Document',
7
7
  definitions: [
@@ -659,6 +659,11 @@ exports.GetLedgerAccountRollupsDocument = {
659
659
  variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
660
660
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
661
661
  },
662
+ {
663
+ kind: 'VariableDefinition',
664
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
665
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
666
+ },
662
667
  ],
663
668
  selectionSet: {
664
669
  kind: 'SelectionSet',
@@ -682,6 +687,11 @@ exports.GetLedgerAccountRollupsDocument = {
682
687
  name: { kind: 'Name', value: 'endDate' },
683
688
  value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
684
689
  },
690
+ {
691
+ kind: 'Argument',
692
+ name: { kind: 'Name', value: 'entityId' },
693
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
694
+ },
685
695
  ],
686
696
  selectionSet: {
687
697
  kind: 'SelectionSet',
@@ -735,12 +745,26 @@ exports.GetLedgerAccountTreeDocument = {
735
745
  kind: 'OperationDefinition',
736
746
  operation: 'query',
737
747
  name: { kind: 'Name', value: 'GetLedgerAccountTree' },
748
+ variableDefinitions: [
749
+ {
750
+ kind: 'VariableDefinition',
751
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
752
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
753
+ },
754
+ ],
738
755
  selectionSet: {
739
756
  kind: 'SelectionSet',
740
757
  selections: [
741
758
  {
742
759
  kind: 'Field',
743
760
  name: { kind: 'Name', value: 'accountTree' },
761
+ arguments: [
762
+ {
763
+ kind: 'Argument',
764
+ name: { kind: 'Name', value: 'entityId' },
765
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
766
+ },
767
+ ],
744
768
  selectionSet: {
745
769
  kind: 'SelectionSet',
746
770
  selections: [
@@ -866,6 +890,11 @@ exports.ListLedgerAccountsDocument = {
866
890
  },
867
891
  defaultValue: { kind: 'IntValue', value: '0' },
868
892
  },
893
+ {
894
+ kind: 'VariableDefinition',
895
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
896
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
897
+ },
869
898
  ],
870
899
  selectionSet: {
871
900
  kind: 'SelectionSet',
@@ -894,6 +923,11 @@ exports.ListLedgerAccountsDocument = {
894
923
  name: { kind: 'Name', value: 'offset' },
895
924
  value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
896
925
  },
926
+ {
927
+ kind: 'Argument',
928
+ name: { kind: 'Name', value: 'entityId' },
929
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
930
+ },
897
931
  ],
898
932
  selectionSet: {
899
933
  kind: 'SelectionSet',
@@ -1106,6 +1140,71 @@ exports.ListLedgerAgentsDocument = {
1106
1140
  },
1107
1141
  ],
1108
1142
  };
1143
+ exports.ListLedgerBankAccountsDocument = {
1144
+ kind: 'Document',
1145
+ definitions: [
1146
+ {
1147
+ kind: 'OperationDefinition',
1148
+ operation: 'query',
1149
+ name: { kind: 'Name', value: 'ListLedgerBankAccounts' },
1150
+ variableDefinitions: [
1151
+ {
1152
+ kind: 'VariableDefinition',
1153
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1154
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
1155
+ },
1156
+ ],
1157
+ selectionSet: {
1158
+ kind: 'SelectionSet',
1159
+ selections: [
1160
+ {
1161
+ kind: 'Field',
1162
+ name: { kind: 'Name', value: 'bankAccounts' },
1163
+ arguments: [
1164
+ {
1165
+ kind: 'Argument',
1166
+ name: { kind: 'Name', value: 'entityId' },
1167
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1168
+ },
1169
+ ],
1170
+ selectionSet: {
1171
+ kind: 'SelectionSet',
1172
+ selections: [
1173
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
1174
+ {
1175
+ kind: 'Field',
1176
+ name: { kind: 'Name', value: 'accounts' },
1177
+ selectionSet: {
1178
+ kind: 'SelectionSet',
1179
+ selections: [
1180
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1181
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
1182
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
1183
+ { kind: 'Field', name: { kind: 'Name', value: 'kind' } },
1184
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
1185
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
1186
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
1187
+ { kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
1188
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
1189
+ { kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
1190
+ { kind: 'Field', name: { kind: 'Name', value: 'institution' } },
1191
+ { kind: 'Field', name: { kind: 'Name', value: 'feedAccountId' } },
1192
+ { kind: 'Field', name: { kind: 'Name', value: 'feedAccountName' } },
1193
+ { kind: 'Field', name: { kind: 'Name', value: 'feedAccountKind' } },
1194
+ { kind: 'Field', name: { kind: 'Name', value: 'connectionStatus' } },
1195
+ { kind: 'Field', name: { kind: 'Name', value: 'lastSyncAt' } },
1196
+ { kind: 'Field', name: { kind: 'Name', value: 'lastSyncStatus' } },
1197
+ ],
1198
+ },
1199
+ },
1200
+ ],
1201
+ },
1202
+ },
1203
+ ],
1204
+ },
1205
+ },
1206
+ ],
1207
+ };
1109
1208
  exports.ListLedgerBlockedSourceGraphsDocument = {
1110
1209
  kind: 'Document',
1111
1210
  definitions: [
@@ -1225,12 +1324,26 @@ exports.GetLedgerClosingBookStructuresDocument = {
1225
1324
  kind: 'OperationDefinition',
1226
1325
  operation: 'query',
1227
1326
  name: { kind: 'Name', value: 'GetLedgerClosingBookStructures' },
1327
+ variableDefinitions: [
1328
+ {
1329
+ kind: 'VariableDefinition',
1330
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1331
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
1332
+ },
1333
+ ],
1228
1334
  selectionSet: {
1229
1335
  kind: 'SelectionSet',
1230
1336
  selections: [
1231
1337
  {
1232
1338
  kind: 'Field',
1233
1339
  name: { kind: 'Name', value: 'closingBookStructures' },
1340
+ arguments: [
1341
+ {
1342
+ kind: 'Argument',
1343
+ name: { kind: 'Name', value: 'entityId' },
1344
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1345
+ },
1346
+ ],
1234
1347
  selectionSet: {
1235
1348
  kind: 'SelectionSet',
1236
1349
  selections: [
@@ -1445,6 +1558,7 @@ exports.ListLedgerEntitiesDocument = {
1445
1558
  { kind: 'Field', name: { kind: 'Name', value: 'status' } },
1446
1559
  { kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
1447
1560
  { kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
1561
+ { kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
1448
1562
  { kind: 'Field', name: { kind: 'Name', value: 'source' } },
1449
1563
  { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
1450
1564
  { kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
@@ -1465,12 +1579,26 @@ exports.GetLedgerEntityDocument = {
1465
1579
  kind: 'OperationDefinition',
1466
1580
  operation: 'query',
1467
1581
  name: { kind: 'Name', value: 'GetLedgerEntity' },
1582
+ variableDefinitions: [
1583
+ {
1584
+ kind: 'VariableDefinition',
1585
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1586
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
1587
+ },
1588
+ ],
1468
1589
  selectionSet: {
1469
1590
  kind: 'SelectionSet',
1470
1591
  selections: [
1471
1592
  {
1472
1593
  kind: 'Field',
1473
1594
  name: { kind: 'Name', value: 'entity' },
1595
+ arguments: [
1596
+ {
1597
+ kind: 'Argument',
1598
+ name: { kind: 'Name', value: 'entityId' },
1599
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1600
+ },
1601
+ ],
1474
1602
  selectionSet: {
1475
1603
  kind: 'SelectionSet',
1476
1604
  selections: [
@@ -1490,11 +1618,13 @@ exports.GetLedgerEntityDocument = {
1490
1618
  { kind: 'Field', name: { kind: 'Name', value: 'lei' } },
1491
1619
  { kind: 'Field', name: { kind: 'Name', value: 'industry' } },
1492
1620
  { kind: 'Field', name: { kind: 'Name', value: 'entityType' } },
1621
+ { kind: 'Field', name: { kind: 'Name', value: 'reportingStyleId' } },
1493
1622
  { kind: 'Field', name: { kind: 'Name', value: 'phone' } },
1494
1623
  { kind: 'Field', name: { kind: 'Name', value: 'website' } },
1495
1624
  { kind: 'Field', name: { kind: 'Name', value: 'status' } },
1496
1625
  { kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
1497
1626
  { kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
1627
+ { kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
1498
1628
  { kind: 'Field', name: { kind: 'Name', value: 'source' } },
1499
1629
  { kind: 'Field', name: { kind: 'Name', value: 'sourceId' } },
1500
1630
  { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
@@ -1635,6 +1765,11 @@ exports.ListLedgerEventBlocksDocument = {
1635
1765
  },
1636
1766
  defaultValue: { kind: 'IntValue', value: '0' },
1637
1767
  },
1768
+ {
1769
+ kind: 'VariableDefinition',
1770
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1771
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
1772
+ },
1638
1773
  ],
1639
1774
  selectionSet: {
1640
1775
  kind: 'SelectionSet',
@@ -1683,6 +1818,11 @@ exports.ListLedgerEventBlocksDocument = {
1683
1818
  name: { kind: 'Name', value: 'offset' },
1684
1819
  value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
1685
1820
  },
1821
+ {
1822
+ kind: 'Argument',
1823
+ name: { kind: 'Name', value: 'entityId' },
1824
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1825
+ },
1686
1826
  ],
1687
1827
  selectionSet: {
1688
1828
  kind: 'SelectionSet',
@@ -1726,16 +1866,31 @@ exports.GetLedgerFiscalCalendarDocument = {
1726
1866
  kind: 'OperationDefinition',
1727
1867
  operation: 'query',
1728
1868
  name: { kind: 'Name', value: 'GetLedgerFiscalCalendar' },
1869
+ variableDefinitions: [
1870
+ {
1871
+ kind: 'VariableDefinition',
1872
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1873
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
1874
+ },
1875
+ ],
1729
1876
  selectionSet: {
1730
1877
  kind: 'SelectionSet',
1731
1878
  selections: [
1732
1879
  {
1733
1880
  kind: 'Field',
1734
1881
  name: { kind: 'Name', value: 'fiscalCalendar' },
1882
+ arguments: [
1883
+ {
1884
+ kind: 'Argument',
1885
+ name: { kind: 'Name', value: 'entityId' },
1886
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
1887
+ },
1888
+ ],
1735
1889
  selectionSet: {
1736
1890
  kind: 'SelectionSet',
1737
1891
  selections: [
1738
1892
  { kind: 'Field', name: { kind: 'Name', value: 'graphId' } },
1893
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
1739
1894
  { kind: 'Field', name: { kind: 'Name', value: 'fiscalYearStartMonth' } },
1740
1895
  { kind: 'Field', name: { kind: 'Name', value: 'closedThrough' } },
1741
1896
  { kind: 'Field', name: { kind: 'Name', value: 'closeTarget' } },
@@ -2967,6 +3122,11 @@ exports.ListLedgerJournalEntriesDocument = {
2967
3122
  },
2968
3123
  defaultValue: { kind: 'IntValue', value: '0' },
2969
3124
  },
3125
+ {
3126
+ kind: 'VariableDefinition',
3127
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3128
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3129
+ },
2970
3130
  ],
2971
3131
  selectionSet: {
2972
3132
  kind: 'SelectionSet',
@@ -3015,6 +3175,11 @@ exports.ListLedgerJournalEntriesDocument = {
3015
3175
  name: { kind: 'Name', value: 'offset' },
3016
3176
  value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
3017
3177
  },
3178
+ {
3179
+ kind: 'Argument',
3180
+ name: { kind: 'Name', value: 'entityId' },
3181
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3182
+ },
3018
3183
  ],
3019
3184
  selectionSet: {
3020
3185
  kind: 'SelectionSet',
@@ -3388,6 +3553,11 @@ exports.GetLedgerPeriodCloseStatusDocument = {
3388
3553
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3389
3554
  },
3390
3555
  },
3556
+ {
3557
+ kind: 'VariableDefinition',
3558
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3559
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3560
+ },
3391
3561
  ],
3392
3562
  selectionSet: {
3393
3563
  kind: 'SelectionSet',
@@ -3406,6 +3576,11 @@ exports.GetLedgerPeriodCloseStatusDocument = {
3406
3576
  name: { kind: 'Name', value: 'periodEnd' },
3407
3577
  value: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
3408
3578
  },
3579
+ {
3580
+ kind: 'Argument',
3581
+ name: { kind: 'Name', value: 'entityId' },
3582
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3583
+ },
3409
3584
  ],
3410
3585
  selectionSet: {
3411
3586
  kind: 'SelectionSet',
@@ -3455,6 +3630,11 @@ exports.GetLedgerPeriodDraftsDocument = {
3455
3630
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3456
3631
  },
3457
3632
  },
3633
+ {
3634
+ kind: 'VariableDefinition',
3635
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3636
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3637
+ },
3458
3638
  ],
3459
3639
  selectionSet: {
3460
3640
  kind: 'SelectionSet',
@@ -3468,6 +3648,11 @@ exports.GetLedgerPeriodDraftsDocument = {
3468
3648
  name: { kind: 'Name', value: 'period' },
3469
3649
  value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
3470
3650
  },
3651
+ {
3652
+ kind: 'Argument',
3653
+ name: { kind: 'Name', value: 'entityId' },
3654
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3655
+ },
3471
3656
  ],
3472
3657
  selectionSet: {
3473
3658
  kind: 'SelectionSet',
@@ -3691,6 +3876,11 @@ exports.ListLedgerReconciliationsDocument = {
3691
3876
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3692
3877
  },
3693
3878
  },
3879
+ {
3880
+ kind: 'VariableDefinition',
3881
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3882
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3883
+ },
3694
3884
  ],
3695
3885
  selectionSet: {
3696
3886
  kind: 'SelectionSet',
@@ -3704,6 +3894,11 @@ exports.ListLedgerReconciliationsDocument = {
3704
3894
  name: { kind: 'Name', value: 'period' },
3705
3895
  value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
3706
3896
  },
3897
+ {
3898
+ kind: 'Argument',
3899
+ name: { kind: 'Name', value: 'entityId' },
3900
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3901
+ },
3707
3902
  ],
3708
3903
  selectionSet: {
3709
3904
  kind: 'SelectionSet',
@@ -3838,6 +4033,7 @@ exports.GetLedgerReportDocument = {
3838
4033
  selections: [
3839
4034
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3840
4035
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
4036
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
3841
4037
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3842
4038
  { kind: 'Field', name: { kind: 'Name', value: 'generationStatus' } },
3843
4039
  { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
@@ -4477,6 +4673,11 @@ exports.ListLedgerReportsDocument = {
4477
4673
  },
4478
4674
  defaultValue: { kind: 'EnumValue', value: 'CURRENT' },
4479
4675
  },
4676
+ {
4677
+ kind: 'VariableDefinition',
4678
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4679
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4680
+ },
4480
4681
  ],
4481
4682
  selectionSet: {
4482
4683
  kind: 'SelectionSet',
@@ -4490,6 +4691,11 @@ exports.ListLedgerReportsDocument = {
4490
4691
  name: { kind: 'Name', value: 'lifecycle' },
4491
4692
  value: { kind: 'Variable', name: { kind: 'Name', value: 'lifecycle' } },
4492
4693
  },
4694
+ {
4695
+ kind: 'Argument',
4696
+ name: { kind: 'Name', value: 'entityId' },
4697
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4698
+ },
4493
4699
  ],
4494
4700
  selectionSet: {
4495
4701
  kind: 'SelectionSet',
@@ -4502,6 +4708,7 @@ exports.ListLedgerReportsDocument = {
4502
4708
  selections: [
4503
4709
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4504
4710
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
4711
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
4505
4712
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
4506
4713
  { kind: 'Field', name: { kind: 'Name', value: 'generationStatus' } },
4507
4714
  { kind: 'Field', name: { kind: 'Name', value: 'filingStatus' } },
@@ -4723,16 +4930,31 @@ exports.GetLedgerSummaryDocument = {
4723
4930
  kind: 'OperationDefinition',
4724
4931
  operation: 'query',
4725
4932
  name: { kind: 'Name', value: 'GetLedgerSummary' },
4933
+ variableDefinitions: [
4934
+ {
4935
+ kind: 'VariableDefinition',
4936
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4937
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4938
+ },
4939
+ ],
4726
4940
  selectionSet: {
4727
4941
  kind: 'SelectionSet',
4728
4942
  selections: [
4729
4943
  {
4730
4944
  kind: 'Field',
4731
4945
  name: { kind: 'Name', value: 'summary' },
4946
+ arguments: [
4947
+ {
4948
+ kind: 'Argument',
4949
+ name: { kind: 'Name', value: 'entityId' },
4950
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4951
+ },
4952
+ ],
4732
4953
  selectionSet: {
4733
4954
  kind: 'SelectionSet',
4734
4955
  selections: [
4735
4956
  { kind: 'Field', name: { kind: 'Name', value: 'graphId' } },
4957
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
4736
4958
  { kind: 'Field', name: { kind: 'Name', value: 'accountCount' } },
4737
4959
  { kind: 'Field', name: { kind: 'Name', value: 'transactionCount' } },
4738
4960
  { kind: 'Field', name: { kind: 'Name', value: 'entryCount' } },
@@ -4938,6 +5160,11 @@ exports.ListLedgerTransactionsDocument = {
4938
5160
  },
4939
5161
  defaultValue: { kind: 'IntValue', value: '0' },
4940
5162
  },
5163
+ {
5164
+ kind: 'VariableDefinition',
5165
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5166
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5167
+ },
4941
5168
  ],
4942
5169
  selectionSet: {
4943
5170
  kind: 'SelectionSet',
@@ -4971,6 +5198,11 @@ exports.ListLedgerTransactionsDocument = {
4971
5198
  name: { kind: 'Name', value: 'offset' },
4972
5199
  value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
4973
5200
  },
5201
+ {
5202
+ kind: 'Argument',
5203
+ name: { kind: 'Name', value: 'entityId' },
5204
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5205
+ },
4974
5206
  ],
4975
5207
  selectionSet: {
4976
5208
  kind: 'SelectionSet',
@@ -5036,6 +5268,11 @@ exports.GetLedgerTrialBalanceDocument = {
5036
5268
  variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
5037
5269
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
5038
5270
  },
5271
+ {
5272
+ kind: 'VariableDefinition',
5273
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5274
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5275
+ },
5039
5276
  ],
5040
5277
  selectionSet: {
5041
5278
  kind: 'SelectionSet',
@@ -5054,6 +5291,11 @@ exports.GetLedgerTrialBalanceDocument = {
5054
5291
  name: { kind: 'Name', value: 'endDate' },
5055
5292
  value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
5056
5293
  },
5294
+ {
5295
+ kind: 'Argument',
5296
+ name: { kind: 'Name', value: 'entityId' },
5297
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5298
+ },
5057
5299
  ],
5058
5300
  selectionSet: {
5059
5301
  kind: 'SelectionSet',