@robosystems/client 2.7.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/LedgerClient.d.ts +56 -17
- package/artifacts/LedgerClient.js +68 -25
- package/artifacts/LedgerClient.ts +113 -29
- package/artifacts/graphql/generated/graphql.d.ts +22 -5
- package/artifacts/graphql/generated/graphql.js +177 -0
- package/artifacts/graphql/generated/graphql.ts +209 -5
- package/artifacts/graphql/queries/ledger/accountRollups.js +12 -2
- package/artifacts/graphql/queries/ledger/accountRollups.ts +12 -2
- package/artifacts/graphql/queries/ledger/accountTree.js +2 -2
- package/artifacts/graphql/queries/ledger/accountTree.ts +2 -2
- package/artifacts/graphql/queries/ledger/accounts.js +8 -1
- package/artifacts/graphql/queries/ledger/accounts.ts +8 -1
- package/artifacts/graphql/queries/ledger/closingBookStructures.js +2 -2
- package/artifacts/graphql/queries/ledger/closingBookStructures.ts +2 -2
- package/artifacts/graphql/queries/ledger/entities.js +1 -0
- package/artifacts/graphql/queries/ledger/entities.ts +1 -0
- package/artifacts/graphql/queries/ledger/entity.js +4 -2
- package/artifacts/graphql/queries/ledger/entity.ts +4 -2
- package/artifacts/graphql/queries/ledger/eventBlocks.js +2 -0
- package/artifacts/graphql/queries/ledger/eventBlocks.ts +2 -0
- package/artifacts/graphql/queries/ledger/fiscalCalendar.js +3 -2
- package/artifacts/graphql/queries/ledger/fiscalCalendar.ts +3 -2
- package/artifacts/graphql/queries/ledger/journalEntries.js +2 -0
- package/artifacts/graphql/queries/ledger/journalEntries.ts +2 -0
- package/artifacts/graphql/queries/ledger/periodCloseStatus.js +2 -2
- package/artifacts/graphql/queries/ledger/periodCloseStatus.ts +2 -2
- package/artifacts/graphql/queries/ledger/periodDrafts.js +2 -2
- package/artifacts/graphql/queries/ledger/periodDrafts.ts +2 -2
- package/artifacts/graphql/queries/ledger/reconciliations.js +2 -2
- package/artifacts/graphql/queries/ledger/reconciliations.ts +2 -2
- package/artifacts/graphql/queries/ledger/report.js +1 -0
- package/artifacts/graphql/queries/ledger/report.ts +1 -0
- package/artifacts/graphql/queries/ledger/reports.js +3 -2
- package/artifacts/graphql/queries/ledger/reports.ts +3 -2
- package/artifacts/graphql/queries/ledger/summary.js +3 -2
- package/artifacts/graphql/queries/ledger/summary.ts +3 -2
- package/artifacts/graphql/queries/ledger/transactions.js +2 -0
- package/artifacts/graphql/queries/ledger/transactions.ts +2 -0
- package/artifacts/graphql/queries/ledger/trialBalance.js +2 -2
- package/artifacts/graphql/queries/ledger/trialBalance.ts +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +5 -5
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +12 -12
- package/sdk/sdk.gen.js +21 -17
- package/sdk/sdk.gen.ts +21 -17
- package/sdk/types.gen.d.ts +311 -59
- package/sdk/types.gen.ts +317 -64
- package/sdk.gen.d.ts +12 -12
- package/sdk.gen.js +21 -17
- package/sdk.gen.ts +21 -17
- package/types.gen.d.ts +311 -59
- package/types.gen.ts +317 -64
|
@@ -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<{
|
|
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 = {
|
|
@@ -411,7 +415,9 @@ export type ListChartTemplatesQuery = {
|
|
|
411
415
|
}>
|
|
412
416
|
}
|
|
413
417
|
|
|
414
|
-
export type GetLedgerClosingBookStructuresQueryVariables = Exact<{
|
|
418
|
+
export type GetLedgerClosingBookStructuresQueryVariables = Exact<{
|
|
419
|
+
entityId: string | null | undefined
|
|
420
|
+
}>
|
|
415
421
|
|
|
416
422
|
export type GetLedgerClosingBookStructuresQuery = {
|
|
417
423
|
closingBookStructures: {
|
|
@@ -482,6 +488,7 @@ export type ListLedgerEntitiesQuery = {
|
|
|
482
488
|
status: string
|
|
483
489
|
isParent: boolean
|
|
484
490
|
parentEntityId: string | null
|
|
491
|
+
ownershipPct: number | null
|
|
485
492
|
source: string
|
|
486
493
|
sourceGraphId: string | null
|
|
487
494
|
connectionId: string | null
|
|
@@ -490,7 +497,9 @@ export type ListLedgerEntitiesQuery = {
|
|
|
490
497
|
}>
|
|
491
498
|
}
|
|
492
499
|
|
|
493
|
-
export type GetLedgerEntityQueryVariables = Exact<{
|
|
500
|
+
export type GetLedgerEntityQueryVariables = Exact<{
|
|
501
|
+
entityId: string | null | undefined
|
|
502
|
+
}>
|
|
494
503
|
|
|
495
504
|
export type GetLedgerEntityQuery = {
|
|
496
505
|
entity: {
|
|
@@ -510,11 +519,13 @@ export type GetLedgerEntityQuery = {
|
|
|
510
519
|
lei: string | null
|
|
511
520
|
industry: string | null
|
|
512
521
|
entityType: string | null
|
|
522
|
+
reportingStyleId: string | null
|
|
513
523
|
phone: string | null
|
|
514
524
|
website: string | null
|
|
515
525
|
status: string
|
|
516
526
|
isParent: boolean
|
|
517
527
|
parentEntityId: string | null
|
|
528
|
+
ownershipPct: number | null
|
|
518
529
|
source: string
|
|
519
530
|
sourceId: string | null
|
|
520
531
|
sourceGraphId: string | null
|
|
@@ -571,6 +582,7 @@ export type ListLedgerEventBlocksQueryVariables = Exact<{
|
|
|
571
582
|
isReconcilingItem: boolean | null | undefined
|
|
572
583
|
limit?: number
|
|
573
584
|
offset?: number
|
|
585
|
+
entityId: string | null | undefined
|
|
574
586
|
}>
|
|
575
587
|
|
|
576
588
|
export type ListLedgerEventBlocksQuery = {
|
|
@@ -602,11 +614,14 @@ export type ListLedgerEventBlocksQuery = {
|
|
|
602
614
|
}>
|
|
603
615
|
}
|
|
604
616
|
|
|
605
|
-
export type GetLedgerFiscalCalendarQueryVariables = Exact<{
|
|
617
|
+
export type GetLedgerFiscalCalendarQueryVariables = Exact<{
|
|
618
|
+
entityId: string | null | undefined
|
|
619
|
+
}>
|
|
606
620
|
|
|
607
621
|
export type GetLedgerFiscalCalendarQuery = {
|
|
608
622
|
fiscalCalendar: {
|
|
609
623
|
graphId: string
|
|
624
|
+
entityId: string | null
|
|
610
625
|
fiscalYearStartMonth: number
|
|
611
626
|
closedThrough: string | null
|
|
612
627
|
closeTarget: string | null
|
|
@@ -1097,6 +1112,7 @@ export type ListLedgerJournalEntriesQueryVariables = Exact<{
|
|
|
1097
1112
|
transactionId: string | null | undefined
|
|
1098
1113
|
limit?: number
|
|
1099
1114
|
offset?: number
|
|
1115
|
+
entityId: string | null | undefined
|
|
1100
1116
|
}>
|
|
1101
1117
|
|
|
1102
1118
|
export type ListLedgerJournalEntriesQuery = {
|
|
@@ -1229,6 +1245,7 @@ export type ListLedgerMappingsQuery = {
|
|
|
1229
1245
|
export type GetLedgerPeriodCloseStatusQueryVariables = Exact<{
|
|
1230
1246
|
periodStart: string
|
|
1231
1247
|
periodEnd: string
|
|
1248
|
+
entityId: string | null | undefined
|
|
1232
1249
|
}>
|
|
1233
1250
|
|
|
1234
1251
|
export type GetLedgerPeriodCloseStatusQuery = {
|
|
@@ -1252,6 +1269,7 @@ export type GetLedgerPeriodCloseStatusQuery = {
|
|
|
1252
1269
|
|
|
1253
1270
|
export type GetLedgerPeriodDraftsQueryVariables = Exact<{
|
|
1254
1271
|
period: string
|
|
1272
|
+
entityId: string | null | undefined
|
|
1255
1273
|
}>
|
|
1256
1274
|
|
|
1257
1275
|
export type GetLedgerPeriodDraftsQuery = {
|
|
@@ -1338,6 +1356,7 @@ export type ListLedgerPublishListsQuery = {
|
|
|
1338
1356
|
|
|
1339
1357
|
export type ListLedgerReconciliationsQueryVariables = Exact<{
|
|
1340
1358
|
period: string
|
|
1359
|
+
entityId: string | null | undefined
|
|
1341
1360
|
}>
|
|
1342
1361
|
|
|
1343
1362
|
export type ListLedgerReconciliationsQuery = {
|
|
@@ -1412,6 +1431,7 @@ export type GetLedgerReportQuery = {
|
|
|
1412
1431
|
report: {
|
|
1413
1432
|
id: string
|
|
1414
1433
|
name: string
|
|
1434
|
+
entityId: string | null
|
|
1415
1435
|
taxonomyId: string
|
|
1416
1436
|
generationStatus: string
|
|
1417
1437
|
periodType: string
|
|
@@ -1639,6 +1659,7 @@ export type GetLedgerReportingTaxonomyQuery = {
|
|
|
1639
1659
|
|
|
1640
1660
|
export type ListLedgerReportsQueryVariables = Exact<{
|
|
1641
1661
|
lifecycle?: ReportLifecycle
|
|
1662
|
+
entityId: string | null | undefined
|
|
1642
1663
|
}>
|
|
1643
1664
|
|
|
1644
1665
|
export type ListLedgerReportsQuery = {
|
|
@@ -1646,6 +1667,7 @@ export type ListLedgerReportsQuery = {
|
|
|
1646
1667
|
reports: Array<{
|
|
1647
1668
|
id: string
|
|
1648
1669
|
name: string
|
|
1670
|
+
entityId: string | null
|
|
1649
1671
|
taxonomyId: string
|
|
1650
1672
|
generationStatus: string
|
|
1651
1673
|
filingStatus: string
|
|
@@ -1717,11 +1739,14 @@ export type ListLedgerStructuresQuery = {
|
|
|
1717
1739
|
} | null
|
|
1718
1740
|
}
|
|
1719
1741
|
|
|
1720
|
-
export type GetLedgerSummaryQueryVariables = Exact<{
|
|
1742
|
+
export type GetLedgerSummaryQueryVariables = Exact<{
|
|
1743
|
+
entityId: string | null | undefined
|
|
1744
|
+
}>
|
|
1721
1745
|
|
|
1722
1746
|
export type GetLedgerSummaryQuery = {
|
|
1723
1747
|
summary: {
|
|
1724
1748
|
graphId: string
|
|
1749
|
+
entityId: string | null
|
|
1725
1750
|
accountCount: number
|
|
1726
1751
|
transactionCount: number
|
|
1727
1752
|
entryCount: number
|
|
@@ -1805,6 +1830,7 @@ export type ListLedgerTransactionsQueryVariables = Exact<{
|
|
|
1805
1830
|
endDate: string | null | undefined
|
|
1806
1831
|
limit?: number
|
|
1807
1832
|
offset?: number
|
|
1833
|
+
entityId: string | null | undefined
|
|
1808
1834
|
}>
|
|
1809
1835
|
|
|
1810
1836
|
export type ListLedgerTransactionsQuery = {
|
|
@@ -1831,6 +1857,7 @@ export type ListLedgerTransactionsQuery = {
|
|
|
1831
1857
|
export type GetLedgerTrialBalanceQueryVariables = Exact<{
|
|
1832
1858
|
startDate: string | null | undefined
|
|
1833
1859
|
endDate: string | null | undefined
|
|
1860
|
+
entityId: string | null | undefined
|
|
1834
1861
|
}>
|
|
1835
1862
|
|
|
1836
1863
|
export type GetLedgerTrialBalanceQuery = {
|
|
@@ -2770,6 +2797,11 @@ export const GetLedgerAccountRollupsDocument = {
|
|
|
2770
2797
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
|
|
2771
2798
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
|
|
2772
2799
|
},
|
|
2800
|
+
{
|
|
2801
|
+
kind: 'VariableDefinition',
|
|
2802
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2803
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2804
|
+
},
|
|
2773
2805
|
],
|
|
2774
2806
|
selectionSet: {
|
|
2775
2807
|
kind: 'SelectionSet',
|
|
@@ -2793,6 +2825,11 @@ export const GetLedgerAccountRollupsDocument = {
|
|
|
2793
2825
|
name: { kind: 'Name', value: 'endDate' },
|
|
2794
2826
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
|
|
2795
2827
|
},
|
|
2828
|
+
{
|
|
2829
|
+
kind: 'Argument',
|
|
2830
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
2831
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2832
|
+
},
|
|
2796
2833
|
],
|
|
2797
2834
|
selectionSet: {
|
|
2798
2835
|
kind: 'SelectionSet',
|
|
@@ -2846,12 +2883,26 @@ export const GetLedgerAccountTreeDocument = {
|
|
|
2846
2883
|
kind: 'OperationDefinition',
|
|
2847
2884
|
operation: 'query',
|
|
2848
2885
|
name: { kind: 'Name', value: 'GetLedgerAccountTree' },
|
|
2886
|
+
variableDefinitions: [
|
|
2887
|
+
{
|
|
2888
|
+
kind: 'VariableDefinition',
|
|
2889
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2890
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2891
|
+
},
|
|
2892
|
+
],
|
|
2849
2893
|
selectionSet: {
|
|
2850
2894
|
kind: 'SelectionSet',
|
|
2851
2895
|
selections: [
|
|
2852
2896
|
{
|
|
2853
2897
|
kind: 'Field',
|
|
2854
2898
|
name: { kind: 'Name', value: 'accountTree' },
|
|
2899
|
+
arguments: [
|
|
2900
|
+
{
|
|
2901
|
+
kind: 'Argument',
|
|
2902
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
2903
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2904
|
+
},
|
|
2905
|
+
],
|
|
2855
2906
|
selectionSet: {
|
|
2856
2907
|
kind: 'SelectionSet',
|
|
2857
2908
|
selections: [
|
|
@@ -2977,6 +3028,11 @@ export const ListLedgerAccountsDocument = {
|
|
|
2977
3028
|
},
|
|
2978
3029
|
defaultValue: { kind: 'IntValue', value: '0' },
|
|
2979
3030
|
},
|
|
3031
|
+
{
|
|
3032
|
+
kind: 'VariableDefinition',
|
|
3033
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3034
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3035
|
+
},
|
|
2980
3036
|
],
|
|
2981
3037
|
selectionSet: {
|
|
2982
3038
|
kind: 'SelectionSet',
|
|
@@ -3005,6 +3061,11 @@ export const ListLedgerAccountsDocument = {
|
|
|
3005
3061
|
name: { kind: 'Name', value: 'offset' },
|
|
3006
3062
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
3007
3063
|
},
|
|
3064
|
+
{
|
|
3065
|
+
kind: 'Argument',
|
|
3066
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
3067
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3068
|
+
},
|
|
3008
3069
|
],
|
|
3009
3070
|
selectionSet: {
|
|
3010
3071
|
kind: 'SelectionSet',
|
|
@@ -3339,12 +3400,26 @@ export const GetLedgerClosingBookStructuresDocument = {
|
|
|
3339
3400
|
kind: 'OperationDefinition',
|
|
3340
3401
|
operation: 'query',
|
|
3341
3402
|
name: { kind: 'Name', value: 'GetLedgerClosingBookStructures' },
|
|
3403
|
+
variableDefinitions: [
|
|
3404
|
+
{
|
|
3405
|
+
kind: 'VariableDefinition',
|
|
3406
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3407
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3408
|
+
},
|
|
3409
|
+
],
|
|
3342
3410
|
selectionSet: {
|
|
3343
3411
|
kind: 'SelectionSet',
|
|
3344
3412
|
selections: [
|
|
3345
3413
|
{
|
|
3346
3414
|
kind: 'Field',
|
|
3347
3415
|
name: { kind: 'Name', value: 'closingBookStructures' },
|
|
3416
|
+
arguments: [
|
|
3417
|
+
{
|
|
3418
|
+
kind: 'Argument',
|
|
3419
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
3420
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3421
|
+
},
|
|
3422
|
+
],
|
|
3348
3423
|
selectionSet: {
|
|
3349
3424
|
kind: 'SelectionSet',
|
|
3350
3425
|
selections: [
|
|
@@ -3562,6 +3637,7 @@ export const ListLedgerEntitiesDocument = {
|
|
|
3562
3637
|
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
3563
3638
|
{ kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
|
|
3564
3639
|
{ kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
|
|
3640
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
|
|
3565
3641
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
3566
3642
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
3567
3643
|
{ kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
|
|
@@ -3582,12 +3658,26 @@ export const GetLedgerEntityDocument = {
|
|
|
3582
3658
|
kind: 'OperationDefinition',
|
|
3583
3659
|
operation: 'query',
|
|
3584
3660
|
name: { kind: 'Name', value: 'GetLedgerEntity' },
|
|
3661
|
+
variableDefinitions: [
|
|
3662
|
+
{
|
|
3663
|
+
kind: 'VariableDefinition',
|
|
3664
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3665
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3666
|
+
},
|
|
3667
|
+
],
|
|
3585
3668
|
selectionSet: {
|
|
3586
3669
|
kind: 'SelectionSet',
|
|
3587
3670
|
selections: [
|
|
3588
3671
|
{
|
|
3589
3672
|
kind: 'Field',
|
|
3590
3673
|
name: { kind: 'Name', value: 'entity' },
|
|
3674
|
+
arguments: [
|
|
3675
|
+
{
|
|
3676
|
+
kind: 'Argument',
|
|
3677
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
3678
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3679
|
+
},
|
|
3680
|
+
],
|
|
3591
3681
|
selectionSet: {
|
|
3592
3682
|
kind: 'SelectionSet',
|
|
3593
3683
|
selections: [
|
|
@@ -3607,11 +3697,13 @@ export const GetLedgerEntityDocument = {
|
|
|
3607
3697
|
{ kind: 'Field', name: { kind: 'Name', value: 'lei' } },
|
|
3608
3698
|
{ kind: 'Field', name: { kind: 'Name', value: 'industry' } },
|
|
3609
3699
|
{ kind: 'Field', name: { kind: 'Name', value: 'entityType' } },
|
|
3700
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reportingStyleId' } },
|
|
3610
3701
|
{ kind: 'Field', name: { kind: 'Name', value: 'phone' } },
|
|
3611
3702
|
{ kind: 'Field', name: { kind: 'Name', value: 'website' } },
|
|
3612
3703
|
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
3613
3704
|
{ kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
|
|
3614
3705
|
{ kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
|
|
3706
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
|
|
3615
3707
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
3616
3708
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceId' } },
|
|
3617
3709
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
@@ -3752,6 +3844,11 @@ export const ListLedgerEventBlocksDocument = {
|
|
|
3752
3844
|
},
|
|
3753
3845
|
defaultValue: { kind: 'IntValue', value: '0' },
|
|
3754
3846
|
},
|
|
3847
|
+
{
|
|
3848
|
+
kind: 'VariableDefinition',
|
|
3849
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3850
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3851
|
+
},
|
|
3755
3852
|
],
|
|
3756
3853
|
selectionSet: {
|
|
3757
3854
|
kind: 'SelectionSet',
|
|
@@ -3800,6 +3897,11 @@ export const ListLedgerEventBlocksDocument = {
|
|
|
3800
3897
|
name: { kind: 'Name', value: 'offset' },
|
|
3801
3898
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
3802
3899
|
},
|
|
3900
|
+
{
|
|
3901
|
+
kind: 'Argument',
|
|
3902
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
3903
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3904
|
+
},
|
|
3803
3905
|
],
|
|
3804
3906
|
selectionSet: {
|
|
3805
3907
|
kind: 'SelectionSet',
|
|
@@ -3843,16 +3945,31 @@ export const GetLedgerFiscalCalendarDocument = {
|
|
|
3843
3945
|
kind: 'OperationDefinition',
|
|
3844
3946
|
operation: 'query',
|
|
3845
3947
|
name: { kind: 'Name', value: 'GetLedgerFiscalCalendar' },
|
|
3948
|
+
variableDefinitions: [
|
|
3949
|
+
{
|
|
3950
|
+
kind: 'VariableDefinition',
|
|
3951
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3952
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3953
|
+
},
|
|
3954
|
+
],
|
|
3846
3955
|
selectionSet: {
|
|
3847
3956
|
kind: 'SelectionSet',
|
|
3848
3957
|
selections: [
|
|
3849
3958
|
{
|
|
3850
3959
|
kind: 'Field',
|
|
3851
3960
|
name: { kind: 'Name', value: 'fiscalCalendar' },
|
|
3961
|
+
arguments: [
|
|
3962
|
+
{
|
|
3963
|
+
kind: 'Argument',
|
|
3964
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
3965
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3966
|
+
},
|
|
3967
|
+
],
|
|
3852
3968
|
selectionSet: {
|
|
3853
3969
|
kind: 'SelectionSet',
|
|
3854
3970
|
selections: [
|
|
3855
3971
|
{ kind: 'Field', name: { kind: 'Name', value: 'graphId' } },
|
|
3972
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
3856
3973
|
{ kind: 'Field', name: { kind: 'Name', value: 'fiscalYearStartMonth' } },
|
|
3857
3974
|
{ kind: 'Field', name: { kind: 'Name', value: 'closedThrough' } },
|
|
3858
3975
|
{ kind: 'Field', name: { kind: 'Name', value: 'closeTarget' } },
|
|
@@ -5087,6 +5204,11 @@ export const ListLedgerJournalEntriesDocument = {
|
|
|
5087
5204
|
},
|
|
5088
5205
|
defaultValue: { kind: 'IntValue', value: '0' },
|
|
5089
5206
|
},
|
|
5207
|
+
{
|
|
5208
|
+
kind: 'VariableDefinition',
|
|
5209
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5210
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5211
|
+
},
|
|
5090
5212
|
],
|
|
5091
5213
|
selectionSet: {
|
|
5092
5214
|
kind: 'SelectionSet',
|
|
@@ -5135,6 +5257,11 @@ export const ListLedgerJournalEntriesDocument = {
|
|
|
5135
5257
|
name: { kind: 'Name', value: 'offset' },
|
|
5136
5258
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
5137
5259
|
},
|
|
5260
|
+
{
|
|
5261
|
+
kind: 'Argument',
|
|
5262
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
5263
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5264
|
+
},
|
|
5138
5265
|
],
|
|
5139
5266
|
selectionSet: {
|
|
5140
5267
|
kind: 'SelectionSet',
|
|
@@ -5511,6 +5638,11 @@ export const GetLedgerPeriodCloseStatusDocument = {
|
|
|
5511
5638
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
|
|
5512
5639
|
},
|
|
5513
5640
|
},
|
|
5641
|
+
{
|
|
5642
|
+
kind: 'VariableDefinition',
|
|
5643
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5644
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5645
|
+
},
|
|
5514
5646
|
],
|
|
5515
5647
|
selectionSet: {
|
|
5516
5648
|
kind: 'SelectionSet',
|
|
@@ -5529,6 +5661,11 @@ export const GetLedgerPeriodCloseStatusDocument = {
|
|
|
5529
5661
|
name: { kind: 'Name', value: 'periodEnd' },
|
|
5530
5662
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
|
|
5531
5663
|
},
|
|
5664
|
+
{
|
|
5665
|
+
kind: 'Argument',
|
|
5666
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
5667
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5668
|
+
},
|
|
5532
5669
|
],
|
|
5533
5670
|
selectionSet: {
|
|
5534
5671
|
kind: 'SelectionSet',
|
|
@@ -5581,6 +5718,11 @@ export const GetLedgerPeriodDraftsDocument = {
|
|
|
5581
5718
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5582
5719
|
},
|
|
5583
5720
|
},
|
|
5721
|
+
{
|
|
5722
|
+
kind: 'VariableDefinition',
|
|
5723
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5724
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5725
|
+
},
|
|
5584
5726
|
],
|
|
5585
5727
|
selectionSet: {
|
|
5586
5728
|
kind: 'SelectionSet',
|
|
@@ -5594,6 +5736,11 @@ export const GetLedgerPeriodDraftsDocument = {
|
|
|
5594
5736
|
name: { kind: 'Name', value: 'period' },
|
|
5595
5737
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
5596
5738
|
},
|
|
5739
|
+
{
|
|
5740
|
+
kind: 'Argument',
|
|
5741
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
5742
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5743
|
+
},
|
|
5597
5744
|
],
|
|
5598
5745
|
selectionSet: {
|
|
5599
5746
|
kind: 'SelectionSet',
|
|
@@ -5817,6 +5964,11 @@ export const ListLedgerReconciliationsDocument = {
|
|
|
5817
5964
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5818
5965
|
},
|
|
5819
5966
|
},
|
|
5967
|
+
{
|
|
5968
|
+
kind: 'VariableDefinition',
|
|
5969
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5970
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5971
|
+
},
|
|
5820
5972
|
],
|
|
5821
5973
|
selectionSet: {
|
|
5822
5974
|
kind: 'SelectionSet',
|
|
@@ -5830,6 +5982,11 @@ export const ListLedgerReconciliationsDocument = {
|
|
|
5830
5982
|
name: { kind: 'Name', value: 'period' },
|
|
5831
5983
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
5832
5984
|
},
|
|
5985
|
+
{
|
|
5986
|
+
kind: 'Argument',
|
|
5987
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
5988
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5989
|
+
},
|
|
5833
5990
|
],
|
|
5834
5991
|
selectionSet: {
|
|
5835
5992
|
kind: 'SelectionSet',
|
|
@@ -5967,6 +6124,7 @@ export const GetLedgerReportDocument = {
|
|
|
5967
6124
|
selections: [
|
|
5968
6125
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
5969
6126
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
6127
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
5970
6128
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
5971
6129
|
{ kind: 'Field', name: { kind: 'Name', value: 'generationStatus' } },
|
|
5972
6130
|
{ kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
|
|
@@ -6612,6 +6770,11 @@ export const ListLedgerReportsDocument = {
|
|
|
6612
6770
|
},
|
|
6613
6771
|
defaultValue: { kind: 'EnumValue', value: 'CURRENT' },
|
|
6614
6772
|
},
|
|
6773
|
+
{
|
|
6774
|
+
kind: 'VariableDefinition',
|
|
6775
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
6776
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
6777
|
+
},
|
|
6615
6778
|
],
|
|
6616
6779
|
selectionSet: {
|
|
6617
6780
|
kind: 'SelectionSet',
|
|
@@ -6625,6 +6788,11 @@ export const ListLedgerReportsDocument = {
|
|
|
6625
6788
|
name: { kind: 'Name', value: 'lifecycle' },
|
|
6626
6789
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'lifecycle' } },
|
|
6627
6790
|
},
|
|
6791
|
+
{
|
|
6792
|
+
kind: 'Argument',
|
|
6793
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
6794
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
6795
|
+
},
|
|
6628
6796
|
],
|
|
6629
6797
|
selectionSet: {
|
|
6630
6798
|
kind: 'SelectionSet',
|
|
@@ -6637,6 +6805,7 @@ export const ListLedgerReportsDocument = {
|
|
|
6637
6805
|
selections: [
|
|
6638
6806
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
6639
6807
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
6808
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
6640
6809
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
6641
6810
|
{ kind: 'Field', name: { kind: 'Name', value: 'generationStatus' } },
|
|
6642
6811
|
{ kind: 'Field', name: { kind: 'Name', value: 'filingStatus' } },
|
|
@@ -6858,16 +7027,31 @@ export const GetLedgerSummaryDocument = {
|
|
|
6858
7027
|
kind: 'OperationDefinition',
|
|
6859
7028
|
operation: 'query',
|
|
6860
7029
|
name: { kind: 'Name', value: 'GetLedgerSummary' },
|
|
7030
|
+
variableDefinitions: [
|
|
7031
|
+
{
|
|
7032
|
+
kind: 'VariableDefinition',
|
|
7033
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
7034
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
7035
|
+
},
|
|
7036
|
+
],
|
|
6861
7037
|
selectionSet: {
|
|
6862
7038
|
kind: 'SelectionSet',
|
|
6863
7039
|
selections: [
|
|
6864
7040
|
{
|
|
6865
7041
|
kind: 'Field',
|
|
6866
7042
|
name: { kind: 'Name', value: 'summary' },
|
|
7043
|
+
arguments: [
|
|
7044
|
+
{
|
|
7045
|
+
kind: 'Argument',
|
|
7046
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
7047
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
7048
|
+
},
|
|
7049
|
+
],
|
|
6867
7050
|
selectionSet: {
|
|
6868
7051
|
kind: 'SelectionSet',
|
|
6869
7052
|
selections: [
|
|
6870
7053
|
{ kind: 'Field', name: { kind: 'Name', value: 'graphId' } },
|
|
7054
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
6871
7055
|
{ kind: 'Field', name: { kind: 'Name', value: 'accountCount' } },
|
|
6872
7056
|
{ kind: 'Field', name: { kind: 'Name', value: 'transactionCount' } },
|
|
6873
7057
|
{ kind: 'Field', name: { kind: 'Name', value: 'entryCount' } },
|
|
@@ -7073,6 +7257,11 @@ export const ListLedgerTransactionsDocument = {
|
|
|
7073
7257
|
},
|
|
7074
7258
|
defaultValue: { kind: 'IntValue', value: '0' },
|
|
7075
7259
|
},
|
|
7260
|
+
{
|
|
7261
|
+
kind: 'VariableDefinition',
|
|
7262
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
7263
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
7264
|
+
},
|
|
7076
7265
|
],
|
|
7077
7266
|
selectionSet: {
|
|
7078
7267
|
kind: 'SelectionSet',
|
|
@@ -7106,6 +7295,11 @@ export const ListLedgerTransactionsDocument = {
|
|
|
7106
7295
|
name: { kind: 'Name', value: 'offset' },
|
|
7107
7296
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
7108
7297
|
},
|
|
7298
|
+
{
|
|
7299
|
+
kind: 'Argument',
|
|
7300
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
7301
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
7302
|
+
},
|
|
7109
7303
|
],
|
|
7110
7304
|
selectionSet: {
|
|
7111
7305
|
kind: 'SelectionSet',
|
|
@@ -7171,6 +7365,11 @@ export const GetLedgerTrialBalanceDocument = {
|
|
|
7171
7365
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
|
|
7172
7366
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
|
|
7173
7367
|
},
|
|
7368
|
+
{
|
|
7369
|
+
kind: 'VariableDefinition',
|
|
7370
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
7371
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
7372
|
+
},
|
|
7174
7373
|
],
|
|
7175
7374
|
selectionSet: {
|
|
7176
7375
|
kind: 'SelectionSet',
|
|
@@ -7189,6 +7388,11 @@ export const GetLedgerTrialBalanceDocument = {
|
|
|
7189
7388
|
name: { kind: 'Name', value: 'endDate' },
|
|
7190
7389
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
|
|
7191
7390
|
},
|
|
7391
|
+
{
|
|
7392
|
+
kind: 'Argument',
|
|
7393
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
7394
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
7395
|
+
},
|
|
7192
7396
|
],
|
|
7193
7397
|
selectionSet: {
|
|
7194
7398
|
kind: 'SelectionSet',
|
|
@@ -9,8 +9,18 @@ const graphql_request_1 = require("graphql-request");
|
|
|
9
9
|
* `startDate` / `endDate` narrow to a specific period (both optional).
|
|
10
10
|
*/
|
|
11
11
|
exports.GET_ACCOUNT_ROLLUPS = (0, graphql_request_1.gql) `
|
|
12
|
-
query GetLedgerAccountRollups(
|
|
13
|
-
|
|
12
|
+
query GetLedgerAccountRollups(
|
|
13
|
+
$mappingId: String
|
|
14
|
+
$startDate: Date
|
|
15
|
+
$endDate: Date
|
|
16
|
+
$entityId: String
|
|
17
|
+
) {
|
|
18
|
+
accountRollups(
|
|
19
|
+
mappingId: $mappingId
|
|
20
|
+
startDate: $startDate
|
|
21
|
+
endDate: $endDate
|
|
22
|
+
entityId: $entityId
|
|
23
|
+
) {
|
|
14
24
|
mappingId
|
|
15
25
|
mappingName
|
|
16
26
|
totalMapped
|
|
@@ -7,8 +7,18 @@ import { gql } from 'graphql-request'
|
|
|
7
7
|
* `startDate` / `endDate` narrow to a specific period (both optional).
|
|
8
8
|
*/
|
|
9
9
|
export const GET_ACCOUNT_ROLLUPS = gql`
|
|
10
|
-
query GetLedgerAccountRollups(
|
|
11
|
-
|
|
10
|
+
query GetLedgerAccountRollups(
|
|
11
|
+
$mappingId: String
|
|
12
|
+
$startDate: Date
|
|
13
|
+
$endDate: Date
|
|
14
|
+
$entityId: String
|
|
15
|
+
) {
|
|
16
|
+
accountRollups(
|
|
17
|
+
mappingId: $mappingId
|
|
18
|
+
startDate: $startDate
|
|
19
|
+
endDate: $endDate
|
|
20
|
+
entityId: $entityId
|
|
21
|
+
) {
|
|
12
22
|
mappingId
|
|
13
23
|
mappingName
|
|
14
24
|
totalMapped
|
|
@@ -13,8 +13,8 @@ const graphql_request_1 = require("graphql-request");
|
|
|
13
13
|
* this, add a 5th level of `children { ... }` selections.
|
|
14
14
|
*/
|
|
15
15
|
exports.GET_ACCOUNT_TREE = (0, graphql_request_1.gql) `
|
|
16
|
-
query GetLedgerAccountTree {
|
|
17
|
-
accountTree {
|
|
16
|
+
query GetLedgerAccountTree($entityId: String) {
|
|
17
|
+
accountTree(entityId: $entityId) {
|
|
18
18
|
totalAccounts
|
|
19
19
|
roots {
|
|
20
20
|
id
|
|
@@ -11,8 +11,8 @@ import { gql } from 'graphql-request'
|
|
|
11
11
|
* this, add a 5th level of `children { ... }` selections.
|
|
12
12
|
*/
|
|
13
13
|
export const GET_ACCOUNT_TREE = gql`
|
|
14
|
-
query GetLedgerAccountTree {
|
|
15
|
-
accountTree {
|
|
14
|
+
query GetLedgerAccountTree($entityId: String) {
|
|
15
|
+
accountTree(entityId: $entityId) {
|
|
16
16
|
totalAccounts
|
|
17
17
|
roots {
|
|
18
18
|
id
|
|
@@ -15,8 +15,15 @@ exports.LIST_ACCOUNTS = (0, graphql_request_1.gql) `
|
|
|
15
15
|
$isActive: Boolean
|
|
16
16
|
$limit: Int! = 100
|
|
17
17
|
$offset: Int! = 0
|
|
18
|
+
$entityId: String
|
|
18
19
|
) {
|
|
19
|
-
accounts(
|
|
20
|
+
accounts(
|
|
21
|
+
classification: $classification
|
|
22
|
+
isActive: $isActive
|
|
23
|
+
limit: $limit
|
|
24
|
+
offset: $offset
|
|
25
|
+
entityId: $entityId
|
|
26
|
+
) {
|
|
20
27
|
accounts {
|
|
21
28
|
id
|
|
22
29
|
code
|