@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.
- package/artifacts/LedgerClient.d.ts +77 -18
- package/artifacts/LedgerClient.js +92 -25
- package/artifacts/LedgerClient.ts +161 -29
- package/artifacts/graphql/generated/graphql.d.ts +50 -5
- package/artifacts/graphql/generated/graphql.js +244 -2
- package/artifacts/graphql/generated/graphql.ts +303 -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/bankAccounts.d.ts +6 -0
- package/artifacts/graphql/queries/ledger/bankAccounts.js +35 -0
- package/artifacts/graphql/queries/ledger/bankAccounts.ts +33 -0
- 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 +4 -3
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +9 -1
- package/sdk/sdk.gen.js +20 -3
- package/sdk/sdk.gen.ts +18 -1
- package/sdk/types.gen.d.ts +206 -0
- package/sdk/types.gen.ts +214 -0
- package/sdk.gen.d.ts +9 -1
- package/sdk.gen.js +20 -3
- package/sdk.gen.ts +18 -1
- package/types.gen.d.ts +206 -0
- package/types.gen.ts +214 -0
|
@@ -231,6 +231,7 @@ export type GetLedgerAccountRollupsQueryVariables = Exact<{
|
|
|
231
231
|
mappingId: string | null | undefined;
|
|
232
232
|
startDate: string | null | undefined;
|
|
233
233
|
endDate: string | null | undefined;
|
|
234
|
+
entityId: string | null | undefined;
|
|
234
235
|
}>;
|
|
235
236
|
export type GetLedgerAccountRollupsQuery = {
|
|
236
237
|
accountRollups: {
|
|
@@ -257,7 +258,7 @@ export type GetLedgerAccountRollupsQuery = {
|
|
|
257
258
|
} | null;
|
|
258
259
|
};
|
|
259
260
|
export type GetLedgerAccountTreeQueryVariables = Exact<{
|
|
260
|
-
|
|
261
|
+
entityId: string | null | undefined;
|
|
261
262
|
}>;
|
|
262
263
|
export type GetLedgerAccountTreeQuery = {
|
|
263
264
|
accountTree: {
|
|
@@ -309,6 +310,7 @@ export type ListLedgerAccountsQueryVariables = Exact<{
|
|
|
309
310
|
isActive: boolean | null | undefined;
|
|
310
311
|
limit?: number;
|
|
311
312
|
offset?: number;
|
|
313
|
+
entityId: string | null | undefined;
|
|
312
314
|
}>;
|
|
313
315
|
export type ListLedgerAccountsQuery = {
|
|
314
316
|
accounts: {
|
|
@@ -390,6 +392,33 @@ export type ListLedgerAgentsQuery = {
|
|
|
390
392
|
createdBy: string | null;
|
|
391
393
|
}>;
|
|
392
394
|
};
|
|
395
|
+
export type ListLedgerBankAccountsQueryVariables = Exact<{
|
|
396
|
+
entityId: string | null | undefined;
|
|
397
|
+
}>;
|
|
398
|
+
export type ListLedgerBankAccountsQuery = {
|
|
399
|
+
bankAccounts: {
|
|
400
|
+
total: number;
|
|
401
|
+
accounts: Array<{
|
|
402
|
+
id: string;
|
|
403
|
+
code: string | null;
|
|
404
|
+
name: string;
|
|
405
|
+
kind: string;
|
|
406
|
+
balanceType: string;
|
|
407
|
+
isActive: boolean;
|
|
408
|
+
entityId: string | null;
|
|
409
|
+
entityName: string | null;
|
|
410
|
+
source: string | null;
|
|
411
|
+
connectionId: string | null;
|
|
412
|
+
institution: string | null;
|
|
413
|
+
feedAccountId: string | null;
|
|
414
|
+
feedAccountName: string | null;
|
|
415
|
+
feedAccountKind: string | null;
|
|
416
|
+
connectionStatus: string | null;
|
|
417
|
+
lastSyncAt: string | null;
|
|
418
|
+
lastSyncStatus: string | null;
|
|
419
|
+
}>;
|
|
420
|
+
} | null;
|
|
421
|
+
};
|
|
393
422
|
export type ListLedgerBlockedSourceGraphsQueryVariables = Exact<{
|
|
394
423
|
limit?: number;
|
|
395
424
|
offset?: number;
|
|
@@ -424,7 +453,7 @@ export type ListChartTemplatesQuery = {
|
|
|
424
453
|
}>;
|
|
425
454
|
};
|
|
426
455
|
export type GetLedgerClosingBookStructuresQueryVariables = Exact<{
|
|
427
|
-
|
|
456
|
+
entityId: string | null | undefined;
|
|
428
457
|
}>;
|
|
429
458
|
export type GetLedgerClosingBookStructuresQuery = {
|
|
430
459
|
closingBookStructures: {
|
|
@@ -496,6 +525,7 @@ export type ListLedgerEntitiesQuery = {
|
|
|
496
525
|
status: string;
|
|
497
526
|
isParent: boolean;
|
|
498
527
|
parentEntityId: string | null;
|
|
528
|
+
ownershipPct: number | null;
|
|
499
529
|
source: string;
|
|
500
530
|
sourceGraphId: string | null;
|
|
501
531
|
connectionId: string | null;
|
|
@@ -504,7 +534,7 @@ export type ListLedgerEntitiesQuery = {
|
|
|
504
534
|
}>;
|
|
505
535
|
};
|
|
506
536
|
export type GetLedgerEntityQueryVariables = Exact<{
|
|
507
|
-
|
|
537
|
+
entityId: string | null | undefined;
|
|
508
538
|
}>;
|
|
509
539
|
export type GetLedgerEntityQuery = {
|
|
510
540
|
entity: {
|
|
@@ -524,11 +554,13 @@ export type GetLedgerEntityQuery = {
|
|
|
524
554
|
lei: string | null;
|
|
525
555
|
industry: string | null;
|
|
526
556
|
entityType: string | null;
|
|
557
|
+
reportingStyleId: string | null;
|
|
527
558
|
phone: string | null;
|
|
528
559
|
website: string | null;
|
|
529
560
|
status: string;
|
|
530
561
|
isParent: boolean;
|
|
531
562
|
parentEntityId: string | null;
|
|
563
|
+
ownershipPct: number | null;
|
|
532
564
|
source: string;
|
|
533
565
|
sourceId: string | null;
|
|
534
566
|
sourceGraphId: string | null;
|
|
@@ -582,6 +614,7 @@ export type ListLedgerEventBlocksQueryVariables = Exact<{
|
|
|
582
614
|
isReconcilingItem: boolean | null | undefined;
|
|
583
615
|
limit?: number;
|
|
584
616
|
offset?: number;
|
|
617
|
+
entityId: string | null | undefined;
|
|
585
618
|
}>;
|
|
586
619
|
export type ListLedgerEventBlocksQuery = {
|
|
587
620
|
eventBlocks: Array<{
|
|
@@ -612,11 +645,12 @@ export type ListLedgerEventBlocksQuery = {
|
|
|
612
645
|
}>;
|
|
613
646
|
};
|
|
614
647
|
export type GetLedgerFiscalCalendarQueryVariables = Exact<{
|
|
615
|
-
|
|
648
|
+
entityId: string | null | undefined;
|
|
616
649
|
}>;
|
|
617
650
|
export type GetLedgerFiscalCalendarQuery = {
|
|
618
651
|
fiscalCalendar: {
|
|
619
652
|
graphId: string;
|
|
653
|
+
entityId: string | null;
|
|
620
654
|
fiscalYearStartMonth: number;
|
|
621
655
|
closedThrough: string | null;
|
|
622
656
|
closeTarget: string | null;
|
|
@@ -1139,6 +1173,7 @@ export type ListLedgerJournalEntriesQueryVariables = Exact<{
|
|
|
1139
1173
|
transactionId: string | null | undefined;
|
|
1140
1174
|
limit?: number;
|
|
1141
1175
|
offset?: number;
|
|
1176
|
+
entityId: string | null | undefined;
|
|
1142
1177
|
}>;
|
|
1143
1178
|
export type ListLedgerJournalEntriesQuery = {
|
|
1144
1179
|
journalEntries: {
|
|
@@ -1271,6 +1306,7 @@ export type ListLedgerMappingsQuery = {
|
|
|
1271
1306
|
export type GetLedgerPeriodCloseStatusQueryVariables = Exact<{
|
|
1272
1307
|
periodStart: string;
|
|
1273
1308
|
periodEnd: string;
|
|
1309
|
+
entityId: string | null | undefined;
|
|
1274
1310
|
}>;
|
|
1275
1311
|
export type GetLedgerPeriodCloseStatusQuery = {
|
|
1276
1312
|
periodCloseStatus: {
|
|
@@ -1292,6 +1328,7 @@ export type GetLedgerPeriodCloseStatusQuery = {
|
|
|
1292
1328
|
};
|
|
1293
1329
|
export type GetLedgerPeriodDraftsQueryVariables = Exact<{
|
|
1294
1330
|
period: string;
|
|
1331
|
+
entityId: string | null | undefined;
|
|
1295
1332
|
}>;
|
|
1296
1333
|
export type GetLedgerPeriodDraftsQuery = {
|
|
1297
1334
|
periodDrafts: {
|
|
@@ -1377,6 +1414,7 @@ export type ListLedgerPublishListsQuery = {
|
|
|
1377
1414
|
};
|
|
1378
1415
|
export type ListLedgerReconciliationsQueryVariables = Exact<{
|
|
1379
1416
|
period: string;
|
|
1417
|
+
entityId: string | null | undefined;
|
|
1380
1418
|
}>;
|
|
1381
1419
|
export type ListLedgerReconciliationsQuery = {
|
|
1382
1420
|
reconciliations: {
|
|
@@ -1448,6 +1486,7 @@ export type GetLedgerReportQuery = {
|
|
|
1448
1486
|
report: {
|
|
1449
1487
|
id: string;
|
|
1450
1488
|
name: string;
|
|
1489
|
+
entityId: string | null;
|
|
1451
1490
|
taxonomyId: string;
|
|
1452
1491
|
generationStatus: string;
|
|
1453
1492
|
periodType: string;
|
|
@@ -1691,12 +1730,14 @@ export type GetLedgerReportingTaxonomyQuery = {
|
|
|
1691
1730
|
};
|
|
1692
1731
|
export type ListLedgerReportsQueryVariables = Exact<{
|
|
1693
1732
|
lifecycle?: ReportLifecycle;
|
|
1733
|
+
entityId: string | null | undefined;
|
|
1694
1734
|
}>;
|
|
1695
1735
|
export type ListLedgerReportsQuery = {
|
|
1696
1736
|
reports: {
|
|
1697
1737
|
reports: Array<{
|
|
1698
1738
|
id: string;
|
|
1699
1739
|
name: string;
|
|
1740
|
+
entityId: string | null;
|
|
1700
1741
|
taxonomyId: string;
|
|
1701
1742
|
generationStatus: string;
|
|
1702
1743
|
filingStatus: string;
|
|
@@ -1776,11 +1817,12 @@ export type ListLedgerStructuresQuery = {
|
|
|
1776
1817
|
} | null;
|
|
1777
1818
|
};
|
|
1778
1819
|
export type GetLedgerSummaryQueryVariables = Exact<{
|
|
1779
|
-
|
|
1820
|
+
entityId: string | null | undefined;
|
|
1780
1821
|
}>;
|
|
1781
1822
|
export type GetLedgerSummaryQuery = {
|
|
1782
1823
|
summary: {
|
|
1783
1824
|
graphId: string;
|
|
1825
|
+
entityId: string | null;
|
|
1784
1826
|
accountCount: number;
|
|
1785
1827
|
transactionCount: number;
|
|
1786
1828
|
entryCount: number;
|
|
@@ -1859,6 +1901,7 @@ export type ListLedgerTransactionsQueryVariables = Exact<{
|
|
|
1859
1901
|
endDate: string | null | undefined;
|
|
1860
1902
|
limit?: number;
|
|
1861
1903
|
offset?: number;
|
|
1904
|
+
entityId: string | null | undefined;
|
|
1862
1905
|
}>;
|
|
1863
1906
|
export type ListLedgerTransactionsQuery = {
|
|
1864
1907
|
transactions: {
|
|
@@ -1888,6 +1931,7 @@ export type ListLedgerTransactionsQuery = {
|
|
|
1888
1931
|
export type GetLedgerTrialBalanceQueryVariables = Exact<{
|
|
1889
1932
|
startDate: string | null | undefined;
|
|
1890
1933
|
endDate: string | null | undefined;
|
|
1934
|
+
entityId: string | null | undefined;
|
|
1891
1935
|
}>;
|
|
1892
1936
|
export type GetLedgerTrialBalanceQuery = {
|
|
1893
1937
|
trialBalance: {
|
|
@@ -2189,6 +2233,7 @@ export declare const GetLedgerAccountTreeDocument: DocumentNode<GetLedgerAccount
|
|
|
2189
2233
|
export declare const ListLedgerAccountsDocument: DocumentNode<ListLedgerAccountsQuery, ListLedgerAccountsQueryVariables>;
|
|
2190
2234
|
export declare const GetLedgerAgentDocument: DocumentNode<GetLedgerAgentQuery, GetLedgerAgentQueryVariables>;
|
|
2191
2235
|
export declare const ListLedgerAgentsDocument: DocumentNode<ListLedgerAgentsQuery, ListLedgerAgentsQueryVariables>;
|
|
2236
|
+
export declare const ListLedgerBankAccountsDocument: DocumentNode<ListLedgerBankAccountsQuery, ListLedgerBankAccountsQueryVariables>;
|
|
2192
2237
|
export declare const ListLedgerBlockedSourceGraphsDocument: DocumentNode<ListLedgerBlockedSourceGraphsQuery, ListLedgerBlockedSourceGraphsQueryVariables>;
|
|
2193
2238
|
export declare const ListChartTemplatesDocument: DocumentNode<ListChartTemplatesQuery, ListChartTemplatesQueryVariables>;
|
|
2194
2239
|
export declare const GetLedgerClosingBookStructuresDocument: DocumentNode<GetLedgerClosingBookStructuresQuery, GetLedgerClosingBookStructuresQueryVariables>;
|