@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
@@ -219,6 +219,7 @@ export type GetLedgerAccountRollupsQueryVariables = Exact<{
219
219
  mappingId: string | null | undefined
220
220
  startDate: string | null | undefined
221
221
  endDate: string | null | undefined
222
+ entityId: string | null | undefined
222
223
  }>
223
224
 
224
225
  export type GetLedgerAccountRollupsQuery = {
@@ -246,7 +247,9 @@ export type GetLedgerAccountRollupsQuery = {
246
247
  } | null
247
248
  }
248
249
 
249
- export type GetLedgerAccountTreeQueryVariables = Exact<{ [key: string]: never }>
250
+ export type GetLedgerAccountTreeQueryVariables = Exact<{
251
+ entityId: string | null | undefined
252
+ }>
250
253
 
251
254
  export type GetLedgerAccountTreeQuery = {
252
255
  accountTree: {
@@ -299,6 +302,7 @@ export type ListLedgerAccountsQueryVariables = Exact<{
299
302
  isActive: boolean | null | undefined
300
303
  limit?: number
301
304
  offset?: number
305
+ entityId: string | null | undefined
302
306
  }>
303
307
 
304
308
  export type ListLedgerAccountsQuery = {
@@ -381,6 +385,35 @@ export type ListLedgerAgentsQuery = {
381
385
  }>
382
386
  }
383
387
 
388
+ export type ListLedgerBankAccountsQueryVariables = Exact<{
389
+ entityId: string | null | undefined
390
+ }>
391
+
392
+ export type ListLedgerBankAccountsQuery = {
393
+ bankAccounts: {
394
+ total: number
395
+ accounts: Array<{
396
+ id: string
397
+ code: string | null
398
+ name: string
399
+ kind: string
400
+ balanceType: string
401
+ isActive: boolean
402
+ entityId: string | null
403
+ entityName: string | null
404
+ source: string | null
405
+ connectionId: string | null
406
+ institution: string | null
407
+ feedAccountId: string | null
408
+ feedAccountName: string | null
409
+ feedAccountKind: string | null
410
+ connectionStatus: string | null
411
+ lastSyncAt: string | null
412
+ lastSyncStatus: string | null
413
+ }>
414
+ } | null
415
+ }
416
+
384
417
  export type ListLedgerBlockedSourceGraphsQueryVariables = Exact<{
385
418
  limit?: number
386
419
  offset?: number
@@ -411,7 +444,9 @@ export type ListChartTemplatesQuery = {
411
444
  }>
412
445
  }
413
446
 
414
- export type GetLedgerClosingBookStructuresQueryVariables = Exact<{ [key: string]: never }>
447
+ export type GetLedgerClosingBookStructuresQueryVariables = Exact<{
448
+ entityId: string | null | undefined
449
+ }>
415
450
 
416
451
  export type GetLedgerClosingBookStructuresQuery = {
417
452
  closingBookStructures: {
@@ -482,6 +517,7 @@ export type ListLedgerEntitiesQuery = {
482
517
  status: string
483
518
  isParent: boolean
484
519
  parentEntityId: string | null
520
+ ownershipPct: number | null
485
521
  source: string
486
522
  sourceGraphId: string | null
487
523
  connectionId: string | null
@@ -490,7 +526,9 @@ export type ListLedgerEntitiesQuery = {
490
526
  }>
491
527
  }
492
528
 
493
- export type GetLedgerEntityQueryVariables = Exact<{ [key: string]: never }>
529
+ export type GetLedgerEntityQueryVariables = Exact<{
530
+ entityId: string | null | undefined
531
+ }>
494
532
 
495
533
  export type GetLedgerEntityQuery = {
496
534
  entity: {
@@ -510,11 +548,13 @@ export type GetLedgerEntityQuery = {
510
548
  lei: string | null
511
549
  industry: string | null
512
550
  entityType: string | null
551
+ reportingStyleId: string | null
513
552
  phone: string | null
514
553
  website: string | null
515
554
  status: string
516
555
  isParent: boolean
517
556
  parentEntityId: string | null
557
+ ownershipPct: number | null
518
558
  source: string
519
559
  sourceId: string | null
520
560
  sourceGraphId: string | null
@@ -571,6 +611,7 @@ export type ListLedgerEventBlocksQueryVariables = Exact<{
571
611
  isReconcilingItem: boolean | null | undefined
572
612
  limit?: number
573
613
  offset?: number
614
+ entityId: string | null | undefined
574
615
  }>
575
616
 
576
617
  export type ListLedgerEventBlocksQuery = {
@@ -602,11 +643,14 @@ export type ListLedgerEventBlocksQuery = {
602
643
  }>
603
644
  }
604
645
 
605
- export type GetLedgerFiscalCalendarQueryVariables = Exact<{ [key: string]: never }>
646
+ export type GetLedgerFiscalCalendarQueryVariables = Exact<{
647
+ entityId: string | null | undefined
648
+ }>
606
649
 
607
650
  export type GetLedgerFiscalCalendarQuery = {
608
651
  fiscalCalendar: {
609
652
  graphId: string
653
+ entityId: string | null
610
654
  fiscalYearStartMonth: number
611
655
  closedThrough: string | null
612
656
  closeTarget: string | null
@@ -1097,6 +1141,7 @@ export type ListLedgerJournalEntriesQueryVariables = Exact<{
1097
1141
  transactionId: string | null | undefined
1098
1142
  limit?: number
1099
1143
  offset?: number
1144
+ entityId: string | null | undefined
1100
1145
  }>
1101
1146
 
1102
1147
  export type ListLedgerJournalEntriesQuery = {
@@ -1229,6 +1274,7 @@ export type ListLedgerMappingsQuery = {
1229
1274
  export type GetLedgerPeriodCloseStatusQueryVariables = Exact<{
1230
1275
  periodStart: string
1231
1276
  periodEnd: string
1277
+ entityId: string | null | undefined
1232
1278
  }>
1233
1279
 
1234
1280
  export type GetLedgerPeriodCloseStatusQuery = {
@@ -1252,6 +1298,7 @@ export type GetLedgerPeriodCloseStatusQuery = {
1252
1298
 
1253
1299
  export type GetLedgerPeriodDraftsQueryVariables = Exact<{
1254
1300
  period: string
1301
+ entityId: string | null | undefined
1255
1302
  }>
1256
1303
 
1257
1304
  export type GetLedgerPeriodDraftsQuery = {
@@ -1338,6 +1385,7 @@ export type ListLedgerPublishListsQuery = {
1338
1385
 
1339
1386
  export type ListLedgerReconciliationsQueryVariables = Exact<{
1340
1387
  period: string
1388
+ entityId: string | null | undefined
1341
1389
  }>
1342
1390
 
1343
1391
  export type ListLedgerReconciliationsQuery = {
@@ -1412,6 +1460,7 @@ export type GetLedgerReportQuery = {
1412
1460
  report: {
1413
1461
  id: string
1414
1462
  name: string
1463
+ entityId: string | null
1415
1464
  taxonomyId: string
1416
1465
  generationStatus: string
1417
1466
  periodType: string
@@ -1639,6 +1688,7 @@ export type GetLedgerReportingTaxonomyQuery = {
1639
1688
 
1640
1689
  export type ListLedgerReportsQueryVariables = Exact<{
1641
1690
  lifecycle?: ReportLifecycle
1691
+ entityId: string | null | undefined
1642
1692
  }>
1643
1693
 
1644
1694
  export type ListLedgerReportsQuery = {
@@ -1646,6 +1696,7 @@ export type ListLedgerReportsQuery = {
1646
1696
  reports: Array<{
1647
1697
  id: string
1648
1698
  name: string
1699
+ entityId: string | null
1649
1700
  taxonomyId: string
1650
1701
  generationStatus: string
1651
1702
  filingStatus: string
@@ -1717,11 +1768,14 @@ export type ListLedgerStructuresQuery = {
1717
1768
  } | null
1718
1769
  }
1719
1770
 
1720
- export type GetLedgerSummaryQueryVariables = Exact<{ [key: string]: never }>
1771
+ export type GetLedgerSummaryQueryVariables = Exact<{
1772
+ entityId: string | null | undefined
1773
+ }>
1721
1774
 
1722
1775
  export type GetLedgerSummaryQuery = {
1723
1776
  summary: {
1724
1777
  graphId: string
1778
+ entityId: string | null
1725
1779
  accountCount: number
1726
1780
  transactionCount: number
1727
1781
  entryCount: number
@@ -1805,6 +1859,7 @@ export type ListLedgerTransactionsQueryVariables = Exact<{
1805
1859
  endDate: string | null | undefined
1806
1860
  limit?: number
1807
1861
  offset?: number
1862
+ entityId: string | null | undefined
1808
1863
  }>
1809
1864
 
1810
1865
  export type ListLedgerTransactionsQuery = {
@@ -1831,6 +1886,7 @@ export type ListLedgerTransactionsQuery = {
1831
1886
  export type GetLedgerTrialBalanceQueryVariables = Exact<{
1832
1887
  startDate: string | null | undefined
1833
1888
  endDate: string | null | undefined
1889
+ entityId: string | null | undefined
1834
1890
  }>
1835
1891
 
1836
1892
  export type GetLedgerTrialBalanceQuery = {
@@ -2770,6 +2826,11 @@ export const GetLedgerAccountRollupsDocument = {
2770
2826
  variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
2771
2827
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
2772
2828
  },
2829
+ {
2830
+ kind: 'VariableDefinition',
2831
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
2832
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2833
+ },
2773
2834
  ],
2774
2835
  selectionSet: {
2775
2836
  kind: 'SelectionSet',
@@ -2793,6 +2854,11 @@ export const GetLedgerAccountRollupsDocument = {
2793
2854
  name: { kind: 'Name', value: 'endDate' },
2794
2855
  value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
2795
2856
  },
2857
+ {
2858
+ kind: 'Argument',
2859
+ name: { kind: 'Name', value: 'entityId' },
2860
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
2861
+ },
2796
2862
  ],
2797
2863
  selectionSet: {
2798
2864
  kind: 'SelectionSet',
@@ -2846,12 +2912,26 @@ export const GetLedgerAccountTreeDocument = {
2846
2912
  kind: 'OperationDefinition',
2847
2913
  operation: 'query',
2848
2914
  name: { kind: 'Name', value: 'GetLedgerAccountTree' },
2915
+ variableDefinitions: [
2916
+ {
2917
+ kind: 'VariableDefinition',
2918
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
2919
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2920
+ },
2921
+ ],
2849
2922
  selectionSet: {
2850
2923
  kind: 'SelectionSet',
2851
2924
  selections: [
2852
2925
  {
2853
2926
  kind: 'Field',
2854
2927
  name: { kind: 'Name', value: 'accountTree' },
2928
+ arguments: [
2929
+ {
2930
+ kind: 'Argument',
2931
+ name: { kind: 'Name', value: 'entityId' },
2932
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
2933
+ },
2934
+ ],
2855
2935
  selectionSet: {
2856
2936
  kind: 'SelectionSet',
2857
2937
  selections: [
@@ -2977,6 +3057,11 @@ export const ListLedgerAccountsDocument = {
2977
3057
  },
2978
3058
  defaultValue: { kind: 'IntValue', value: '0' },
2979
3059
  },
3060
+ {
3061
+ kind: 'VariableDefinition',
3062
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3063
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3064
+ },
2980
3065
  ],
2981
3066
  selectionSet: {
2982
3067
  kind: 'SelectionSet',
@@ -3005,6 +3090,11 @@ export const ListLedgerAccountsDocument = {
3005
3090
  name: { kind: 'Name', value: 'offset' },
3006
3091
  value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
3007
3092
  },
3093
+ {
3094
+ kind: 'Argument',
3095
+ name: { kind: 'Name', value: 'entityId' },
3096
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3097
+ },
3008
3098
  ],
3009
3099
  selectionSet: {
3010
3100
  kind: 'SelectionSet',
@@ -3217,6 +3307,71 @@ export const ListLedgerAgentsDocument = {
3217
3307
  },
3218
3308
  ],
3219
3309
  } as unknown as DocumentNode<ListLedgerAgentsQuery, ListLedgerAgentsQueryVariables>
3310
+ export const ListLedgerBankAccountsDocument = {
3311
+ kind: 'Document',
3312
+ definitions: [
3313
+ {
3314
+ kind: 'OperationDefinition',
3315
+ operation: 'query',
3316
+ name: { kind: 'Name', value: 'ListLedgerBankAccounts' },
3317
+ variableDefinitions: [
3318
+ {
3319
+ kind: 'VariableDefinition',
3320
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3321
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3322
+ },
3323
+ ],
3324
+ selectionSet: {
3325
+ kind: 'SelectionSet',
3326
+ selections: [
3327
+ {
3328
+ kind: 'Field',
3329
+ name: { kind: 'Name', value: 'bankAccounts' },
3330
+ arguments: [
3331
+ {
3332
+ kind: 'Argument',
3333
+ name: { kind: 'Name', value: 'entityId' },
3334
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3335
+ },
3336
+ ],
3337
+ selectionSet: {
3338
+ kind: 'SelectionSet',
3339
+ selections: [
3340
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
3341
+ {
3342
+ kind: 'Field',
3343
+ name: { kind: 'Name', value: 'accounts' },
3344
+ selectionSet: {
3345
+ kind: 'SelectionSet',
3346
+ selections: [
3347
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3348
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
3349
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3350
+ { kind: 'Field', name: { kind: 'Name', value: 'kind' } },
3351
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
3352
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
3353
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
3354
+ { kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
3355
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
3356
+ { kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
3357
+ { kind: 'Field', name: { kind: 'Name', value: 'institution' } },
3358
+ { kind: 'Field', name: { kind: 'Name', value: 'feedAccountId' } },
3359
+ { kind: 'Field', name: { kind: 'Name', value: 'feedAccountName' } },
3360
+ { kind: 'Field', name: { kind: 'Name', value: 'feedAccountKind' } },
3361
+ { kind: 'Field', name: { kind: 'Name', value: 'connectionStatus' } },
3362
+ { kind: 'Field', name: { kind: 'Name', value: 'lastSyncAt' } },
3363
+ { kind: 'Field', name: { kind: 'Name', value: 'lastSyncStatus' } },
3364
+ ],
3365
+ },
3366
+ },
3367
+ ],
3368
+ },
3369
+ },
3370
+ ],
3371
+ },
3372
+ },
3373
+ ],
3374
+ } as unknown as DocumentNode<ListLedgerBankAccountsQuery, ListLedgerBankAccountsQueryVariables>
3220
3375
  export const ListLedgerBlockedSourceGraphsDocument = {
3221
3376
  kind: 'Document',
3222
3377
  definitions: [
@@ -3339,12 +3494,26 @@ export const GetLedgerClosingBookStructuresDocument = {
3339
3494
  kind: 'OperationDefinition',
3340
3495
  operation: 'query',
3341
3496
  name: { kind: 'Name', value: 'GetLedgerClosingBookStructures' },
3497
+ variableDefinitions: [
3498
+ {
3499
+ kind: 'VariableDefinition',
3500
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3501
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3502
+ },
3503
+ ],
3342
3504
  selectionSet: {
3343
3505
  kind: 'SelectionSet',
3344
3506
  selections: [
3345
3507
  {
3346
3508
  kind: 'Field',
3347
3509
  name: { kind: 'Name', value: 'closingBookStructures' },
3510
+ arguments: [
3511
+ {
3512
+ kind: 'Argument',
3513
+ name: { kind: 'Name', value: 'entityId' },
3514
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3515
+ },
3516
+ ],
3348
3517
  selectionSet: {
3349
3518
  kind: 'SelectionSet',
3350
3519
  selections: [
@@ -3562,6 +3731,7 @@ export const ListLedgerEntitiesDocument = {
3562
3731
  { kind: 'Field', name: { kind: 'Name', value: 'status' } },
3563
3732
  { kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
3564
3733
  { kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
3734
+ { kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
3565
3735
  { kind: 'Field', name: { kind: 'Name', value: 'source' } },
3566
3736
  { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
3567
3737
  { kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
@@ -3582,12 +3752,26 @@ export const GetLedgerEntityDocument = {
3582
3752
  kind: 'OperationDefinition',
3583
3753
  operation: 'query',
3584
3754
  name: { kind: 'Name', value: 'GetLedgerEntity' },
3755
+ variableDefinitions: [
3756
+ {
3757
+ kind: 'VariableDefinition',
3758
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3759
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3760
+ },
3761
+ ],
3585
3762
  selectionSet: {
3586
3763
  kind: 'SelectionSet',
3587
3764
  selections: [
3588
3765
  {
3589
3766
  kind: 'Field',
3590
3767
  name: { kind: 'Name', value: 'entity' },
3768
+ arguments: [
3769
+ {
3770
+ kind: 'Argument',
3771
+ name: { kind: 'Name', value: 'entityId' },
3772
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3773
+ },
3774
+ ],
3591
3775
  selectionSet: {
3592
3776
  kind: 'SelectionSet',
3593
3777
  selections: [
@@ -3607,11 +3791,13 @@ export const GetLedgerEntityDocument = {
3607
3791
  { kind: 'Field', name: { kind: 'Name', value: 'lei' } },
3608
3792
  { kind: 'Field', name: { kind: 'Name', value: 'industry' } },
3609
3793
  { kind: 'Field', name: { kind: 'Name', value: 'entityType' } },
3794
+ { kind: 'Field', name: { kind: 'Name', value: 'reportingStyleId' } },
3610
3795
  { kind: 'Field', name: { kind: 'Name', value: 'phone' } },
3611
3796
  { kind: 'Field', name: { kind: 'Name', value: 'website' } },
3612
3797
  { kind: 'Field', name: { kind: 'Name', value: 'status' } },
3613
3798
  { kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
3614
3799
  { kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
3800
+ { kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
3615
3801
  { kind: 'Field', name: { kind: 'Name', value: 'source' } },
3616
3802
  { kind: 'Field', name: { kind: 'Name', value: 'sourceId' } },
3617
3803
  { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
@@ -3752,6 +3938,11 @@ export const ListLedgerEventBlocksDocument = {
3752
3938
  },
3753
3939
  defaultValue: { kind: 'IntValue', value: '0' },
3754
3940
  },
3941
+ {
3942
+ kind: 'VariableDefinition',
3943
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3944
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3945
+ },
3755
3946
  ],
3756
3947
  selectionSet: {
3757
3948
  kind: 'SelectionSet',
@@ -3800,6 +3991,11 @@ export const ListLedgerEventBlocksDocument = {
3800
3991
  name: { kind: 'Name', value: 'offset' },
3801
3992
  value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
3802
3993
  },
3994
+ {
3995
+ kind: 'Argument',
3996
+ name: { kind: 'Name', value: 'entityId' },
3997
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
3998
+ },
3803
3999
  ],
3804
4000
  selectionSet: {
3805
4001
  kind: 'SelectionSet',
@@ -3843,16 +4039,31 @@ export const GetLedgerFiscalCalendarDocument = {
3843
4039
  kind: 'OperationDefinition',
3844
4040
  operation: 'query',
3845
4041
  name: { kind: 'Name', value: 'GetLedgerFiscalCalendar' },
4042
+ variableDefinitions: [
4043
+ {
4044
+ kind: 'VariableDefinition',
4045
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4046
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4047
+ },
4048
+ ],
3846
4049
  selectionSet: {
3847
4050
  kind: 'SelectionSet',
3848
4051
  selections: [
3849
4052
  {
3850
4053
  kind: 'Field',
3851
4054
  name: { kind: 'Name', value: 'fiscalCalendar' },
4055
+ arguments: [
4056
+ {
4057
+ kind: 'Argument',
4058
+ name: { kind: 'Name', value: 'entityId' },
4059
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
4060
+ },
4061
+ ],
3852
4062
  selectionSet: {
3853
4063
  kind: 'SelectionSet',
3854
4064
  selections: [
3855
4065
  { kind: 'Field', name: { kind: 'Name', value: 'graphId' } },
4066
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
3856
4067
  { kind: 'Field', name: { kind: 'Name', value: 'fiscalYearStartMonth' } },
3857
4068
  { kind: 'Field', name: { kind: 'Name', value: 'closedThrough' } },
3858
4069
  { kind: 'Field', name: { kind: 'Name', value: 'closeTarget' } },
@@ -5087,6 +5298,11 @@ export const ListLedgerJournalEntriesDocument = {
5087
5298
  },
5088
5299
  defaultValue: { kind: 'IntValue', value: '0' },
5089
5300
  },
5301
+ {
5302
+ kind: 'VariableDefinition',
5303
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5304
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5305
+ },
5090
5306
  ],
5091
5307
  selectionSet: {
5092
5308
  kind: 'SelectionSet',
@@ -5135,6 +5351,11 @@ export const ListLedgerJournalEntriesDocument = {
5135
5351
  name: { kind: 'Name', value: 'offset' },
5136
5352
  value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
5137
5353
  },
5354
+ {
5355
+ kind: 'Argument',
5356
+ name: { kind: 'Name', value: 'entityId' },
5357
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5358
+ },
5138
5359
  ],
5139
5360
  selectionSet: {
5140
5361
  kind: 'SelectionSet',
@@ -5511,6 +5732,11 @@ export const GetLedgerPeriodCloseStatusDocument = {
5511
5732
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
5512
5733
  },
5513
5734
  },
5735
+ {
5736
+ kind: 'VariableDefinition',
5737
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5738
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5739
+ },
5514
5740
  ],
5515
5741
  selectionSet: {
5516
5742
  kind: 'SelectionSet',
@@ -5529,6 +5755,11 @@ export const GetLedgerPeriodCloseStatusDocument = {
5529
5755
  name: { kind: 'Name', value: 'periodEnd' },
5530
5756
  value: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
5531
5757
  },
5758
+ {
5759
+ kind: 'Argument',
5760
+ name: { kind: 'Name', value: 'entityId' },
5761
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5762
+ },
5532
5763
  ],
5533
5764
  selectionSet: {
5534
5765
  kind: 'SelectionSet',
@@ -5581,6 +5812,11 @@ export const GetLedgerPeriodDraftsDocument = {
5581
5812
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5582
5813
  },
5583
5814
  },
5815
+ {
5816
+ kind: 'VariableDefinition',
5817
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5818
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5819
+ },
5584
5820
  ],
5585
5821
  selectionSet: {
5586
5822
  kind: 'SelectionSet',
@@ -5594,6 +5830,11 @@ export const GetLedgerPeriodDraftsDocument = {
5594
5830
  name: { kind: 'Name', value: 'period' },
5595
5831
  value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
5596
5832
  },
5833
+ {
5834
+ kind: 'Argument',
5835
+ name: { kind: 'Name', value: 'entityId' },
5836
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
5837
+ },
5597
5838
  ],
5598
5839
  selectionSet: {
5599
5840
  kind: 'SelectionSet',
@@ -5817,6 +6058,11 @@ export const ListLedgerReconciliationsDocument = {
5817
6058
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5818
6059
  },
5819
6060
  },
6061
+ {
6062
+ kind: 'VariableDefinition',
6063
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
6064
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
6065
+ },
5820
6066
  ],
5821
6067
  selectionSet: {
5822
6068
  kind: 'SelectionSet',
@@ -5830,6 +6076,11 @@ export const ListLedgerReconciliationsDocument = {
5830
6076
  name: { kind: 'Name', value: 'period' },
5831
6077
  value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
5832
6078
  },
6079
+ {
6080
+ kind: 'Argument',
6081
+ name: { kind: 'Name', value: 'entityId' },
6082
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
6083
+ },
5833
6084
  ],
5834
6085
  selectionSet: {
5835
6086
  kind: 'SelectionSet',
@@ -5967,6 +6218,7 @@ export const GetLedgerReportDocument = {
5967
6218
  selections: [
5968
6219
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5969
6220
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
6221
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
5970
6222
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
5971
6223
  { kind: 'Field', name: { kind: 'Name', value: 'generationStatus' } },
5972
6224
  { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
@@ -6612,6 +6864,11 @@ export const ListLedgerReportsDocument = {
6612
6864
  },
6613
6865
  defaultValue: { kind: 'EnumValue', value: 'CURRENT' },
6614
6866
  },
6867
+ {
6868
+ kind: 'VariableDefinition',
6869
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
6870
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
6871
+ },
6615
6872
  ],
6616
6873
  selectionSet: {
6617
6874
  kind: 'SelectionSet',
@@ -6625,6 +6882,11 @@ export const ListLedgerReportsDocument = {
6625
6882
  name: { kind: 'Name', value: 'lifecycle' },
6626
6883
  value: { kind: 'Variable', name: { kind: 'Name', value: 'lifecycle' } },
6627
6884
  },
6885
+ {
6886
+ kind: 'Argument',
6887
+ name: { kind: 'Name', value: 'entityId' },
6888
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
6889
+ },
6628
6890
  ],
6629
6891
  selectionSet: {
6630
6892
  kind: 'SelectionSet',
@@ -6637,6 +6899,7 @@ export const ListLedgerReportsDocument = {
6637
6899
  selections: [
6638
6900
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
6639
6901
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
6902
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
6640
6903
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
6641
6904
  { kind: 'Field', name: { kind: 'Name', value: 'generationStatus' } },
6642
6905
  { kind: 'Field', name: { kind: 'Name', value: 'filingStatus' } },
@@ -6858,16 +7121,31 @@ export const GetLedgerSummaryDocument = {
6858
7121
  kind: 'OperationDefinition',
6859
7122
  operation: 'query',
6860
7123
  name: { kind: 'Name', value: 'GetLedgerSummary' },
7124
+ variableDefinitions: [
7125
+ {
7126
+ kind: 'VariableDefinition',
7127
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
7128
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
7129
+ },
7130
+ ],
6861
7131
  selectionSet: {
6862
7132
  kind: 'SelectionSet',
6863
7133
  selections: [
6864
7134
  {
6865
7135
  kind: 'Field',
6866
7136
  name: { kind: 'Name', value: 'summary' },
7137
+ arguments: [
7138
+ {
7139
+ kind: 'Argument',
7140
+ name: { kind: 'Name', value: 'entityId' },
7141
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
7142
+ },
7143
+ ],
6867
7144
  selectionSet: {
6868
7145
  kind: 'SelectionSet',
6869
7146
  selections: [
6870
7147
  { kind: 'Field', name: { kind: 'Name', value: 'graphId' } },
7148
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
6871
7149
  { kind: 'Field', name: { kind: 'Name', value: 'accountCount' } },
6872
7150
  { kind: 'Field', name: { kind: 'Name', value: 'transactionCount' } },
6873
7151
  { kind: 'Field', name: { kind: 'Name', value: 'entryCount' } },
@@ -7073,6 +7351,11 @@ export const ListLedgerTransactionsDocument = {
7073
7351
  },
7074
7352
  defaultValue: { kind: 'IntValue', value: '0' },
7075
7353
  },
7354
+ {
7355
+ kind: 'VariableDefinition',
7356
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
7357
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
7358
+ },
7076
7359
  ],
7077
7360
  selectionSet: {
7078
7361
  kind: 'SelectionSet',
@@ -7106,6 +7389,11 @@ export const ListLedgerTransactionsDocument = {
7106
7389
  name: { kind: 'Name', value: 'offset' },
7107
7390
  value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
7108
7391
  },
7392
+ {
7393
+ kind: 'Argument',
7394
+ name: { kind: 'Name', value: 'entityId' },
7395
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
7396
+ },
7109
7397
  ],
7110
7398
  selectionSet: {
7111
7399
  kind: 'SelectionSet',
@@ -7171,6 +7459,11 @@ export const GetLedgerTrialBalanceDocument = {
7171
7459
  variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
7172
7460
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
7173
7461
  },
7462
+ {
7463
+ kind: 'VariableDefinition',
7464
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
7465
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
7466
+ },
7174
7467
  ],
7175
7468
  selectionSet: {
7176
7469
  kind: 'SelectionSet',
@@ -7189,6 +7482,11 @@ export const GetLedgerTrialBalanceDocument = {
7189
7482
  name: { kind: 'Name', value: 'endDate' },
7190
7483
  value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
7191
7484
  },
7485
+ {
7486
+ kind: 'Argument',
7487
+ name: { kind: 'Name', value: 'entityId' },
7488
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
7489
+ },
7192
7490
  ],
7193
7491
  selectionSet: {
7194
7492
  kind: 'SelectionSet',