@robosystems/client 2.14.2 → 2.16.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 +18 -1
- package/artifacts/LedgerClient.js +19 -0
- package/artifacts/LedgerClient.ts +40 -0
- package/artifacts/graphql/generated/graphql.d.ts +31 -0
- package/artifacts/graphql/generated/graphql.js +108 -2
- package/artifacts/graphql/generated/graphql.ts +141 -0
- package/artifacts/graphql/queries/ledger/entities.js +4 -0
- package/artifacts/graphql/queries/ledger/entities.ts +4 -0
- package/artifacts/graphql/queries/ledger/entity.js +4 -0
- package/artifacts/graphql/queries/ledger/entity.ts +4 -0
- package/artifacts/graphql/queries/ledger/informationBlock.d.ts +7 -0
- package/artifacts/graphql/queries/ledger/informationBlock.js +37 -1
- package/artifacts/graphql/queries/ledger/informationBlock.ts +37 -0
- package/package.json +1 -1
- package/sdk/sdk.gen.d.ts +4 -4
- package/sdk/sdk.gen.js +4 -4
- package/sdk/sdk.gen.ts +4 -4
- package/sdk/types.gen.d.ts +98 -8
- package/sdk/types.gen.ts +98 -8
- package/sdk.gen.d.ts +4 -4
- package/sdk.gen.js +4 -4
- package/sdk.gen.ts +4 -4
- package/types.gen.d.ts +98 -8
- package/types.gen.ts +98 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AcceptSuggestionsRequest, AcceptSuggestionsResponse, AssociationResponse, AutoMapElementsOperation, BindTextBlockRequest, BindTextBlockResponse, BlockedSourceGraphResponse, BlockSourceGraphResult, ComputeMetricsRequest, ComputeMetricsResponse, CreateAgentRequest, CreateEntityRequest, CreateEventBlockRequest, CreateEventHandlerRequest, CreateInformationBlockRequest, CreateMappingAssociationOperation, CreateTaxonomyBlockRequest, CreateViewRequest, DeleteInformationBlockRequest, DeleteInformationBlockResponse, DeleteMappingAssociationOperation, DeleteResult, DeleteTaxonomyBlockRequest, DeleteTaxonomyBlockResponse, EntityTaxonomyResponse, EvaluateRulesRequest, EvaluateRulesResponse, EventBlockEnvelope, EventHandlerResponse, FinancialStatementAnalysisRequest, FinancialStatementAnalysisResponse, InformationBlockEnvelope, InitializeChartOfAccountsRequest, JournalEntryResponse, LearnClassificationDefaultsResponse, LedgerAgentResponse, LinkBankAccountRequest, LinkBankAccountResponse, LinkEntityTaxonomyRequest, LiveFinancialStatementRequest, LiveFinancialStatementResponse, OperationEnvelope, PreviewEventBlockResponse, PreviewReconciliationsRequest, PromoteObligationsRequest, PromoteObligationsResponse, PublishListMemberResponse, PublishListResponse, ReconcilingItemPlan, ReportResponse, ResolveReconcilingItemRequest, ResolveReconcilingItemResponse, RevokeReportShareResponse, ShareReportResponse, TaxonomyBlockEnvelope, UpdateAgentRequest, UpdateEntityRequest, UpdateEventBlockRequest, UpdateEventHandlerRequest, UpdateInformationBlockRequest, UpdateJournalEntryRequest, UpdateTaxonomyBlockRequest, ViewResponse } from '../types.gen';
|
|
2
2
|
import type { TokenProvider } from './graphql/client';
|
|
3
|
-
import { ListLedgerBankAccountsQuery, type ClassificationStatsQuery, type FlowCandidatesQuery, type GetInformationBlockQuery, type GetLedgerAccountRollupsQuery, type GetLedgerAccountTreeQuery, type GetLedgerAgentQuery, type GetLedgerClosingBookStructuresQuery, type GetLedgerEntityQuery, type GetLedgerEventBlockQuery, type GetLedgerFiscalCalendarQuery, type GetLedgerMappedTrialBalanceQuery, type GetLedgerMappingCoverageQuery, type GetLedgerMappingQuery, type GetLedgerPeriodCloseStatusQuery, type GetLedgerPeriodDraftsQuery, type GetLedgerPublishListQuery, type GetLedgerReportingTaxonomyQuery, type GetLedgerReportPackageQuery, type GetLedgerReportQuery, type GetLedgerStatementQuery, type GetLedgerSummaryQuery, type GetLedgerTransactionQuery, type GetLedgerTrialBalanceQuery, type ListChartTemplatesQuery, type ListInformationBlocksQuery, type ListLedgerAccountsQuery, type ListLedgerAgentsQuery, type ListLedgerBlockedSourceGraphsQuery, type ListLedgerElementsQuery, type ListLedgerEntitiesQuery, type ListLedgerEventBlocksQuery, type ListLedgerJournalEntriesQuery, type ListLedgerMappingsQuery, type ListLedgerPublishListsQuery, type ListLedgerReconciliationsQuery, type ListLedgerReportsQuery, type ListLedgerStructuresQuery, type ListLedgerTaxonomiesQuery, type ListLedgerTransactionsQuery, type ListLedgerUnmappedElementsQuery, type MappingCandidatesQuery, type ReportDownloadFormat, type ReportLifecycle } from './graphql/generated/graphql';
|
|
3
|
+
import { ListLedgerBankAccountsQuery, type ClassificationStatsQuery, type FlowCandidatesQuery, type GetInformationBlockQuery, type GetLedgerAccountRollupsQuery, type GetLedgerAccountTreeQuery, type GetLedgerAgentQuery, type GetLedgerClosingBookStructuresQuery, type GetLedgerEntityQuery, type GetLedgerEventBlockQuery, type GetLedgerFiscalCalendarQuery, type GetLedgerMappedTrialBalanceQuery, type GetLedgerMappingCoverageQuery, type GetLedgerMappingQuery, type GetLedgerPeriodCloseStatusQuery, type GetLedgerPeriodDraftsQuery, type GetLedgerPublishListQuery, type GetLedgerReportingTaxonomyQuery, type GetLedgerReportPackageQuery, type GetLedgerReportQuery, type GetLedgerStatementQuery, type GetLedgerSummaryQuery, type GetLedgerTransactionQuery, type GetLedgerTrialBalanceQuery, type ListChartTemplatesQuery, type ListInformationBlocksQuery, type ListInformationBlockSummariesQuery, type ListLedgerAccountsQuery, type ListLedgerAgentsQuery, type ListLedgerBlockedSourceGraphsQuery, type ListLedgerElementsQuery, type ListLedgerEntitiesQuery, type ListLedgerEventBlocksQuery, type ListLedgerJournalEntriesQuery, type ListLedgerMappingsQuery, type ListLedgerPublishListsQuery, type ListLedgerReconciliationsQuery, type ListLedgerReportsQuery, type ListLedgerStructuresQuery, type ListLedgerTaxonomiesQuery, type ListLedgerTransactionsQuery, type ListLedgerUnmappedElementsQuery, type MappingCandidatesQuery, type ReportDownloadFormat, type ReportLifecycle } from './graphql/generated/graphql';
|
|
4
4
|
export { GraphQLError } from './graphql/client';
|
|
5
5
|
export type { ReportLifecycle };
|
|
6
6
|
export type LedgerEntity = NonNullable<GetLedgerEntityQuery['entity']>;
|
|
@@ -41,6 +41,7 @@ export type LedgerMapping = NonNullable<GetLedgerMappingQuery['mapping']>;
|
|
|
41
41
|
export type LedgerMappingCoverage = NonNullable<GetLedgerMappingCoverageQuery['mappingCoverage']>;
|
|
42
42
|
export type InformationBlock = NonNullable<GetInformationBlockQuery['informationBlock']>;
|
|
43
43
|
export type InformationBlockList = ListInformationBlocksQuery['informationBlocks'];
|
|
44
|
+
export type InformationBlockSummaryList = ListInformationBlockSummariesQuery['informationBlockSummaries'];
|
|
44
45
|
export type InformationBlockElement = InformationBlock['elements'][number];
|
|
45
46
|
export type InformationBlockConnection = InformationBlock['connections'][number];
|
|
46
47
|
export type InformationBlockFact = InformationBlock['facts'][number];
|
|
@@ -713,6 +714,22 @@ export declare class LedgerClient {
|
|
|
713
714
|
scenarioId?: string;
|
|
714
715
|
entityId?: string | null;
|
|
715
716
|
}): Promise<InformationBlockList>;
|
|
717
|
+
/**
|
|
718
|
+
* List Information Blocks as identities and counts, one row per block —
|
|
719
|
+
* the rows, filters, order and page of `listInformationBlocks`, read in
|
|
720
|
+
* one query instead of an envelope build per block. The call that fills
|
|
721
|
+
* a picker: `factCount > 0` marks a block whose envelope carries facts
|
|
722
|
+
* (a library-seeded structure variant carries none); a block's atoms
|
|
723
|
+
* come from `getInformationBlock`.
|
|
724
|
+
*/
|
|
725
|
+
listInformationBlockSummaries(graphId: string, options?: {
|
|
726
|
+
blockType?: string;
|
|
727
|
+
category?: string;
|
|
728
|
+
limit?: number;
|
|
729
|
+
offset?: number;
|
|
730
|
+
scenarioId?: string;
|
|
731
|
+
entityId?: string | null;
|
|
732
|
+
}): Promise<InformationBlockSummaryList>;
|
|
716
733
|
/**
|
|
717
734
|
* Create an Information Block of any registered block_type.
|
|
718
735
|
*
|
|
@@ -427,6 +427,25 @@ class LedgerClient {
|
|
|
427
427
|
}, 'List information blocks', (data) => data.informationBlocks);
|
|
428
428
|
return blocks ?? [];
|
|
429
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* List Information Blocks as identities and counts, one row per block —
|
|
432
|
+
* the rows, filters, order and page of `listInformationBlocks`, read in
|
|
433
|
+
* one query instead of an envelope build per block. The call that fills
|
|
434
|
+
* a picker: `factCount > 0` marks a block whose envelope carries facts
|
|
435
|
+
* (a library-seeded structure variant carries none); a block's atoms
|
|
436
|
+
* come from `getInformationBlock`.
|
|
437
|
+
*/
|
|
438
|
+
async listInformationBlockSummaries(graphId, options) {
|
|
439
|
+
const rows = await this.gqlQuery(graphId, graphql_1.ListInformationBlockSummariesDocument, {
|
|
440
|
+
blockType: options?.blockType ?? null,
|
|
441
|
+
category: options?.category ?? null,
|
|
442
|
+
limit: options?.limit ?? null,
|
|
443
|
+
offset: options?.offset ?? null,
|
|
444
|
+
scenarioId: options?.scenarioId ?? null,
|
|
445
|
+
entityId: options?.entityId ?? null,
|
|
446
|
+
}, 'List information block summaries', (data) => data.informationBlockSummaries);
|
|
447
|
+
return rows ?? [];
|
|
448
|
+
}
|
|
430
449
|
// ── Schedules ──────────────────────────────────────────────────────
|
|
431
450
|
/**
|
|
432
451
|
* Create an Information Block of any registered block_type.
|
|
@@ -209,6 +209,7 @@ import {
|
|
|
209
209
|
GetLedgerTrialBalanceDocument,
|
|
210
210
|
ListChartTemplatesDocument,
|
|
211
211
|
ListInformationBlocksDocument,
|
|
212
|
+
ListInformationBlockSummariesDocument,
|
|
212
213
|
ListLedgerAccountsDocument,
|
|
213
214
|
ListLedgerAgentsDocument,
|
|
214
215
|
ListLedgerBankAccountsDocument,
|
|
@@ -252,6 +253,7 @@ import {
|
|
|
252
253
|
type GetLedgerTrialBalanceQuery,
|
|
253
254
|
type ListChartTemplatesQuery,
|
|
254
255
|
type ListInformationBlocksQuery,
|
|
256
|
+
type ListInformationBlockSummariesQuery,
|
|
255
257
|
type ListLedgerAccountsQuery,
|
|
256
258
|
type ListLedgerAgentsQuery,
|
|
257
259
|
type ListLedgerBlockedSourceGraphsQuery,
|
|
@@ -339,6 +341,8 @@ export type LedgerMappingCoverage = NonNullable<GetLedgerMappingCoverageQuery['m
|
|
|
339
341
|
|
|
340
342
|
export type InformationBlock = NonNullable<GetInformationBlockQuery['informationBlock']>
|
|
341
343
|
export type InformationBlockList = ListInformationBlocksQuery['informationBlocks']
|
|
344
|
+
export type InformationBlockSummaryList =
|
|
345
|
+
ListInformationBlockSummariesQuery['informationBlockSummaries']
|
|
342
346
|
export type InformationBlockElement = InformationBlock['elements'][number]
|
|
343
347
|
export type InformationBlockConnection = InformationBlock['connections'][number]
|
|
344
348
|
export type InformationBlockFact = InformationBlock['facts'][number]
|
|
@@ -1675,6 +1679,42 @@ export class LedgerClient {
|
|
|
1675
1679
|
return blocks ?? []
|
|
1676
1680
|
}
|
|
1677
1681
|
|
|
1682
|
+
/**
|
|
1683
|
+
* List Information Blocks as identities and counts, one row per block —
|
|
1684
|
+
* the rows, filters, order and page of `listInformationBlocks`, read in
|
|
1685
|
+
* one query instead of an envelope build per block. The call that fills
|
|
1686
|
+
* a picker: `factCount > 0` marks a block whose envelope carries facts
|
|
1687
|
+
* (a library-seeded structure variant carries none); a block's atoms
|
|
1688
|
+
* come from `getInformationBlock`.
|
|
1689
|
+
*/
|
|
1690
|
+
async listInformationBlockSummaries(
|
|
1691
|
+
graphId: string,
|
|
1692
|
+
options?: {
|
|
1693
|
+
blockType?: string
|
|
1694
|
+
category?: string
|
|
1695
|
+
limit?: number
|
|
1696
|
+
offset?: number
|
|
1697
|
+
scenarioId?: string
|
|
1698
|
+
entityId?: string | null
|
|
1699
|
+
}
|
|
1700
|
+
): Promise<InformationBlockSummaryList> {
|
|
1701
|
+
const rows = await this.gqlQuery(
|
|
1702
|
+
graphId,
|
|
1703
|
+
ListInformationBlockSummariesDocument,
|
|
1704
|
+
{
|
|
1705
|
+
blockType: options?.blockType ?? null,
|
|
1706
|
+
category: options?.category ?? null,
|
|
1707
|
+
limit: options?.limit ?? null,
|
|
1708
|
+
offset: options?.offset ?? null,
|
|
1709
|
+
scenarioId: options?.scenarioId ?? null,
|
|
1710
|
+
entityId: options?.entityId ?? null,
|
|
1711
|
+
},
|
|
1712
|
+
'List information block summaries',
|
|
1713
|
+
(data) => data.informationBlockSummaries
|
|
1714
|
+
)
|
|
1715
|
+
return rows ?? []
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1678
1718
|
// ── Schedules ──────────────────────────────────────────────────────
|
|
1679
1719
|
|
|
1680
1720
|
/**
|
|
@@ -572,6 +572,10 @@ export type ListLedgerEntitiesQuery = {
|
|
|
572
572
|
isParent: boolean;
|
|
573
573
|
parentEntityId: string | null;
|
|
574
574
|
ownershipPct: number | null;
|
|
575
|
+
consolidationMethod: string;
|
|
576
|
+
entityRole: string;
|
|
577
|
+
joinedOn: string | null;
|
|
578
|
+
leftOn: string | null;
|
|
575
579
|
source: string;
|
|
576
580
|
sourceGraphId: string | null;
|
|
577
581
|
connectionId: string | null;
|
|
@@ -607,6 +611,10 @@ export type GetLedgerEntityQuery = {
|
|
|
607
611
|
isParent: boolean;
|
|
608
612
|
parentEntityId: string | null;
|
|
609
613
|
ownershipPct: number | null;
|
|
614
|
+
consolidationMethod: string;
|
|
615
|
+
entityRole: string;
|
|
616
|
+
joinedOn: string | null;
|
|
617
|
+
leftOn: string | null;
|
|
610
618
|
source: string;
|
|
611
619
|
sourceId: string | null;
|
|
612
620
|
sourceGraphId: string | null;
|
|
@@ -1229,6 +1237,28 @@ export type ListInformationBlocksQuery = {
|
|
|
1229
1237
|
};
|
|
1230
1238
|
}>;
|
|
1231
1239
|
};
|
|
1240
|
+
export type ListInformationBlockSummariesQueryVariables = Exact<{
|
|
1241
|
+
blockType: string | null | undefined;
|
|
1242
|
+
category: string | null | undefined;
|
|
1243
|
+
limit: number | null | undefined;
|
|
1244
|
+
offset: number | null | undefined;
|
|
1245
|
+
scenarioId: string | null | undefined;
|
|
1246
|
+
entityId: string | null | undefined;
|
|
1247
|
+
}>;
|
|
1248
|
+
export type ListInformationBlockSummariesQuery = {
|
|
1249
|
+
informationBlockSummaries: Array<{
|
|
1250
|
+
id: string;
|
|
1251
|
+
blockType: string;
|
|
1252
|
+
name: string;
|
|
1253
|
+
displayName: string;
|
|
1254
|
+
category: string;
|
|
1255
|
+
taxonomyId: string | null;
|
|
1256
|
+
taxonomyName: string | null;
|
|
1257
|
+
entityId: string | null;
|
|
1258
|
+
factCount: number;
|
|
1259
|
+
connectionCount: number;
|
|
1260
|
+
}>;
|
|
1261
|
+
};
|
|
1232
1262
|
export type ListLedgerJournalEntriesQueryVariables = Exact<{
|
|
1233
1263
|
startDate: string | null | undefined;
|
|
1234
1264
|
endDate: string | null | undefined;
|
|
@@ -2346,6 +2376,7 @@ export declare const FlowCandidatesDocument: DocumentNode<FlowCandidatesQuery, F
|
|
|
2346
2376
|
export declare const GetInformationBlockDocument: DocumentNode<GetInformationBlockQuery, GetInformationBlockQueryVariables>;
|
|
2347
2377
|
export declare const GetInformationBlockWindowedDocument: DocumentNode<GetInformationBlockWindowedQuery, GetInformationBlockWindowedQueryVariables>;
|
|
2348
2378
|
export declare const ListInformationBlocksDocument: DocumentNode<ListInformationBlocksQuery, ListInformationBlocksQueryVariables>;
|
|
2379
|
+
export declare const ListInformationBlockSummariesDocument: DocumentNode<ListInformationBlockSummariesQuery, ListInformationBlockSummariesQueryVariables>;
|
|
2349
2380
|
export declare const ListLedgerJournalEntriesDocument: DocumentNode<ListLedgerJournalEntriesQuery, ListLedgerJournalEntriesQueryVariables>;
|
|
2350
2381
|
export declare const GetLedgerMappedTrialBalanceDocument: DocumentNode<GetLedgerMappedTrialBalanceQuery, GetLedgerMappedTrialBalanceQueryVariables>;
|
|
2351
2382
|
export declare const GetLedgerMappingDocument: DocumentNode<GetLedgerMappingQuery, GetLedgerMappingQueryVariables>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GetLibraryTaxonomyDocument = exports.ListLibraryTaxonomiesDocument = exports.GetLibraryStructureDocument = exports.ListLibraryStructuresDocument = exports.GetLibraryElementDocument = exports.SearchLibraryElementsDocument = exports.ListLibraryElementsDocument = exports.GetLibraryElementEquivalentsDocument = exports.GetLibraryElementClassificationsDocument = exports.GetLibraryElementArcsDocument = exports.ListLibraryTaxonomyArcsDocument = exports.ListLedgerUnmappedElementsDocument = void 0;
|
|
3
|
+
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.ListInformationBlockSummariesDocument = exports.ListInformationBlocksDocument = exports.GetInformationBlockWindowedDocument = exports.GetInformationBlockDocument = exports.FlowCandidatesDocument = exports.GetLedgerFiscalCalendarDocument = exports.ListLedgerEventBlocksDocument = exports.GetLedgerEventBlockDocument = exports.GetLedgerEntityDocument = exports.ListLedgerEntitiesDocument = exports.ListLedgerElementsDocument = exports.GetLedgerClosingBookStructuresDocument = exports.ClassificationStatsDocument = 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 = exports.ListLibraryTaxonomyArcsDocument = exports.ListLedgerUnmappedElementsDocument = exports.GetLedgerTrialBalanceDocument = void 0;
|
|
5
5
|
exports.GetInvestorHoldingsDocument = {
|
|
6
6
|
kind: 'Document',
|
|
7
7
|
definitions: [
|
|
@@ -1669,6 +1669,10 @@ exports.ListLedgerEntitiesDocument = {
|
|
|
1669
1669
|
{ kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
|
|
1670
1670
|
{ kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
|
|
1671
1671
|
{ kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
|
|
1672
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'consolidationMethod' } },
|
|
1673
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityRole' } },
|
|
1674
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'joinedOn' } },
|
|
1675
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'leftOn' } },
|
|
1672
1676
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
1673
1677
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
1674
1678
|
{ kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
|
|
@@ -1735,6 +1739,10 @@ exports.GetLedgerEntityDocument = {
|
|
|
1735
1739
|
{ kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
|
|
1736
1740
|
{ kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
|
|
1737
1741
|
{ kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
|
|
1742
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'consolidationMethod' } },
|
|
1743
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityRole' } },
|
|
1744
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'joinedOn' } },
|
|
1745
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'leftOn' } },
|
|
1738
1746
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
1739
1747
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceId' } },
|
|
1740
1748
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
@@ -3253,6 +3261,104 @@ exports.ListInformationBlocksDocument = {
|
|
|
3253
3261
|
},
|
|
3254
3262
|
],
|
|
3255
3263
|
};
|
|
3264
|
+
exports.ListInformationBlockSummariesDocument = {
|
|
3265
|
+
kind: 'Document',
|
|
3266
|
+
definitions: [
|
|
3267
|
+
{
|
|
3268
|
+
kind: 'OperationDefinition',
|
|
3269
|
+
operation: 'query',
|
|
3270
|
+
name: { kind: 'Name', value: 'ListInformationBlockSummaries' },
|
|
3271
|
+
variableDefinitions: [
|
|
3272
|
+
{
|
|
3273
|
+
kind: 'VariableDefinition',
|
|
3274
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
3275
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
kind: 'VariableDefinition',
|
|
3279
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'category' } },
|
|
3280
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
kind: 'VariableDefinition',
|
|
3284
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
3285
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
kind: 'VariableDefinition',
|
|
3289
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
3290
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
3291
|
+
},
|
|
3292
|
+
{
|
|
3293
|
+
kind: 'VariableDefinition',
|
|
3294
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'scenarioId' } },
|
|
3295
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3296
|
+
},
|
|
3297
|
+
{
|
|
3298
|
+
kind: 'VariableDefinition',
|
|
3299
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3300
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3301
|
+
},
|
|
3302
|
+
],
|
|
3303
|
+
selectionSet: {
|
|
3304
|
+
kind: 'SelectionSet',
|
|
3305
|
+
selections: [
|
|
3306
|
+
{
|
|
3307
|
+
kind: 'Field',
|
|
3308
|
+
name: { kind: 'Name', value: 'informationBlockSummaries' },
|
|
3309
|
+
arguments: [
|
|
3310
|
+
{
|
|
3311
|
+
kind: 'Argument',
|
|
3312
|
+
name: { kind: 'Name', value: 'blockType' },
|
|
3313
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
kind: 'Argument',
|
|
3317
|
+
name: { kind: 'Name', value: 'category' },
|
|
3318
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'category' } },
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
kind: 'Argument',
|
|
3322
|
+
name: { kind: 'Name', value: 'limit' },
|
|
3323
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
3324
|
+
},
|
|
3325
|
+
{
|
|
3326
|
+
kind: 'Argument',
|
|
3327
|
+
name: { kind: 'Name', value: 'offset' },
|
|
3328
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
kind: 'Argument',
|
|
3332
|
+
name: { kind: 'Name', value: 'scenarioId' },
|
|
3333
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'scenarioId' } },
|
|
3334
|
+
},
|
|
3335
|
+
{
|
|
3336
|
+
kind: 'Argument',
|
|
3337
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
3338
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3339
|
+
},
|
|
3340
|
+
],
|
|
3341
|
+
selectionSet: {
|
|
3342
|
+
kind: 'SelectionSet',
|
|
3343
|
+
selections: [
|
|
3344
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3345
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
3346
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3347
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'displayName' } },
|
|
3348
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'category' } },
|
|
3349
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
3350
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
|
|
3351
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
3352
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'factCount' } },
|
|
3353
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'connectionCount' } },
|
|
3354
|
+
],
|
|
3355
|
+
},
|
|
3356
|
+
},
|
|
3357
|
+
],
|
|
3358
|
+
},
|
|
3359
|
+
},
|
|
3360
|
+
],
|
|
3361
|
+
};
|
|
3256
3362
|
exports.ListLedgerJournalEntriesDocument = {
|
|
3257
3363
|
kind: 'Document',
|
|
3258
3364
|
definitions: [
|
|
@@ -566,6 +566,10 @@ export type ListLedgerEntitiesQuery = {
|
|
|
566
566
|
isParent: boolean
|
|
567
567
|
parentEntityId: string | null
|
|
568
568
|
ownershipPct: number | null
|
|
569
|
+
consolidationMethod: string
|
|
570
|
+
entityRole: string
|
|
571
|
+
joinedOn: string | null
|
|
572
|
+
leftOn: string | null
|
|
569
573
|
source: string
|
|
570
574
|
sourceGraphId: string | null
|
|
571
575
|
connectionId: string | null
|
|
@@ -603,6 +607,10 @@ export type GetLedgerEntityQuery = {
|
|
|
603
607
|
isParent: boolean
|
|
604
608
|
parentEntityId: string | null
|
|
605
609
|
ownershipPct: number | null
|
|
610
|
+
consolidationMethod: string
|
|
611
|
+
entityRole: string
|
|
612
|
+
joinedOn: string | null
|
|
613
|
+
leftOn: string | null
|
|
606
614
|
source: string
|
|
607
615
|
sourceId: string | null
|
|
608
616
|
sourceGraphId: string | null
|
|
@@ -1196,6 +1204,30 @@ export type ListInformationBlocksQuery = {
|
|
|
1196
1204
|
}>
|
|
1197
1205
|
}
|
|
1198
1206
|
|
|
1207
|
+
export type ListInformationBlockSummariesQueryVariables = Exact<{
|
|
1208
|
+
blockType: string | null | undefined
|
|
1209
|
+
category: string | null | undefined
|
|
1210
|
+
limit: number | null | undefined
|
|
1211
|
+
offset: number | null | undefined
|
|
1212
|
+
scenarioId: string | null | undefined
|
|
1213
|
+
entityId: string | null | undefined
|
|
1214
|
+
}>
|
|
1215
|
+
|
|
1216
|
+
export type ListInformationBlockSummariesQuery = {
|
|
1217
|
+
informationBlockSummaries: Array<{
|
|
1218
|
+
id: string
|
|
1219
|
+
blockType: string
|
|
1220
|
+
name: string
|
|
1221
|
+
displayName: string
|
|
1222
|
+
category: string
|
|
1223
|
+
taxonomyId: string | null
|
|
1224
|
+
taxonomyName: string | null
|
|
1225
|
+
entityId: string | null
|
|
1226
|
+
factCount: number
|
|
1227
|
+
connectionCount: number
|
|
1228
|
+
}>
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1199
1231
|
export type ListLedgerJournalEntriesQueryVariables = Exact<{
|
|
1200
1232
|
startDate: string | null | undefined
|
|
1201
1233
|
endDate: string | null | undefined
|
|
@@ -3941,6 +3973,10 @@ export const ListLedgerEntitiesDocument = {
|
|
|
3941
3973
|
{ kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
|
|
3942
3974
|
{ kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
|
|
3943
3975
|
{ kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
|
|
3976
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'consolidationMethod' } },
|
|
3977
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityRole' } },
|
|
3978
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'joinedOn' } },
|
|
3979
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'leftOn' } },
|
|
3944
3980
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
3945
3981
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
3946
3982
|
{ kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
|
|
@@ -4007,6 +4043,10 @@ export const GetLedgerEntityDocument = {
|
|
|
4007
4043
|
{ kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
|
|
4008
4044
|
{ kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
|
|
4009
4045
|
{ kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
|
|
4046
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'consolidationMethod' } },
|
|
4047
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityRole' } },
|
|
4048
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'joinedOn' } },
|
|
4049
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'leftOn' } },
|
|
4010
4050
|
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
4011
4051
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceId' } },
|
|
4012
4052
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
@@ -5528,6 +5568,107 @@ export const ListInformationBlocksDocument = {
|
|
|
5528
5568
|
},
|
|
5529
5569
|
],
|
|
5530
5570
|
} as unknown as DocumentNode<ListInformationBlocksQuery, ListInformationBlocksQueryVariables>
|
|
5571
|
+
export const ListInformationBlockSummariesDocument = {
|
|
5572
|
+
kind: 'Document',
|
|
5573
|
+
definitions: [
|
|
5574
|
+
{
|
|
5575
|
+
kind: 'OperationDefinition',
|
|
5576
|
+
operation: 'query',
|
|
5577
|
+
name: { kind: 'Name', value: 'ListInformationBlockSummaries' },
|
|
5578
|
+
variableDefinitions: [
|
|
5579
|
+
{
|
|
5580
|
+
kind: 'VariableDefinition',
|
|
5581
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
5582
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5583
|
+
},
|
|
5584
|
+
{
|
|
5585
|
+
kind: 'VariableDefinition',
|
|
5586
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'category' } },
|
|
5587
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5588
|
+
},
|
|
5589
|
+
{
|
|
5590
|
+
kind: 'VariableDefinition',
|
|
5591
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
5592
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
5593
|
+
},
|
|
5594
|
+
{
|
|
5595
|
+
kind: 'VariableDefinition',
|
|
5596
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
5597
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
5598
|
+
},
|
|
5599
|
+
{
|
|
5600
|
+
kind: 'VariableDefinition',
|
|
5601
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'scenarioId' } },
|
|
5602
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5603
|
+
},
|
|
5604
|
+
{
|
|
5605
|
+
kind: 'VariableDefinition',
|
|
5606
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5607
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
5608
|
+
},
|
|
5609
|
+
],
|
|
5610
|
+
selectionSet: {
|
|
5611
|
+
kind: 'SelectionSet',
|
|
5612
|
+
selections: [
|
|
5613
|
+
{
|
|
5614
|
+
kind: 'Field',
|
|
5615
|
+
name: { kind: 'Name', value: 'informationBlockSummaries' },
|
|
5616
|
+
arguments: [
|
|
5617
|
+
{
|
|
5618
|
+
kind: 'Argument',
|
|
5619
|
+
name: { kind: 'Name', value: 'blockType' },
|
|
5620
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
5621
|
+
},
|
|
5622
|
+
{
|
|
5623
|
+
kind: 'Argument',
|
|
5624
|
+
name: { kind: 'Name', value: 'category' },
|
|
5625
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'category' } },
|
|
5626
|
+
},
|
|
5627
|
+
{
|
|
5628
|
+
kind: 'Argument',
|
|
5629
|
+
name: { kind: 'Name', value: 'limit' },
|
|
5630
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
5631
|
+
},
|
|
5632
|
+
{
|
|
5633
|
+
kind: 'Argument',
|
|
5634
|
+
name: { kind: 'Name', value: 'offset' },
|
|
5635
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
5636
|
+
},
|
|
5637
|
+
{
|
|
5638
|
+
kind: 'Argument',
|
|
5639
|
+
name: { kind: 'Name', value: 'scenarioId' },
|
|
5640
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'scenarioId' } },
|
|
5641
|
+
},
|
|
5642
|
+
{
|
|
5643
|
+
kind: 'Argument',
|
|
5644
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
5645
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
5646
|
+
},
|
|
5647
|
+
],
|
|
5648
|
+
selectionSet: {
|
|
5649
|
+
kind: 'SelectionSet',
|
|
5650
|
+
selections: [
|
|
5651
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
5652
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
5653
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
5654
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'displayName' } },
|
|
5655
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'category' } },
|
|
5656
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
5657
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
|
|
5658
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
5659
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'factCount' } },
|
|
5660
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'connectionCount' } },
|
|
5661
|
+
],
|
|
5662
|
+
},
|
|
5663
|
+
},
|
|
5664
|
+
],
|
|
5665
|
+
},
|
|
5666
|
+
},
|
|
5667
|
+
],
|
|
5668
|
+
} as unknown as DocumentNode<
|
|
5669
|
+
ListInformationBlockSummariesQuery,
|
|
5670
|
+
ListInformationBlockSummariesQueryVariables
|
|
5671
|
+
>
|
|
5531
5672
|
export const ListLedgerJournalEntriesDocument = {
|
|
5532
5673
|
kind: 'Document',
|
|
5533
5674
|
definitions: [
|
|
@@ -25,3 +25,10 @@ export declare const GET_INFORMATION_BLOCK_WINDOWED: string;
|
|
|
25
25
|
* blocks.
|
|
26
26
|
*/
|
|
27
27
|
export declare const LIST_INFORMATION_BLOCKS: string;
|
|
28
|
+
/**
|
|
29
|
+
* List Information Blocks as identities and counts, one row per block —
|
|
30
|
+
* the rows, filters, order and page of `ListInformationBlocks`, read in
|
|
31
|
+
* one query instead of an envelope build per block. The document a
|
|
32
|
+
* picker fills from.
|
|
33
|
+
*/
|
|
34
|
+
export declare const LIST_INFORMATION_BLOCK_SUMMARIES: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LIST_INFORMATION_BLOCKS = exports.GET_INFORMATION_BLOCK_WINDOWED = exports.GET_INFORMATION_BLOCK = void 0;
|
|
3
|
+
exports.LIST_INFORMATION_BLOCK_SUMMARIES = exports.LIST_INFORMATION_BLOCKS = exports.GET_INFORMATION_BLOCK_WINDOWED = exports.GET_INFORMATION_BLOCK = void 0;
|
|
4
4
|
const graphql_request_1 = require("graphql-request");
|
|
5
5
|
/**
|
|
6
6
|
* Information Block envelope — the cross-block-type read that replaces
|
|
@@ -521,3 +521,39 @@ exports.LIST_INFORMATION_BLOCKS = (0, graphql_request_1.gql) `
|
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
`;
|
|
524
|
+
/**
|
|
525
|
+
* List Information Blocks as identities and counts, one row per block —
|
|
526
|
+
* the rows, filters, order and page of `ListInformationBlocks`, read in
|
|
527
|
+
* one query instead of an envelope build per block. The document a
|
|
528
|
+
* picker fills from.
|
|
529
|
+
*/
|
|
530
|
+
exports.LIST_INFORMATION_BLOCK_SUMMARIES = (0, graphql_request_1.gql) `
|
|
531
|
+
query ListInformationBlockSummaries(
|
|
532
|
+
$blockType: String
|
|
533
|
+
$category: String
|
|
534
|
+
$limit: Int
|
|
535
|
+
$offset: Int
|
|
536
|
+
$scenarioId: String
|
|
537
|
+
$entityId: String
|
|
538
|
+
) {
|
|
539
|
+
informationBlockSummaries(
|
|
540
|
+
blockType: $blockType
|
|
541
|
+
category: $category
|
|
542
|
+
limit: $limit
|
|
543
|
+
offset: $offset
|
|
544
|
+
scenarioId: $scenarioId
|
|
545
|
+
entityId: $entityId
|
|
546
|
+
) {
|
|
547
|
+
id
|
|
548
|
+
blockType
|
|
549
|
+
name
|
|
550
|
+
displayName
|
|
551
|
+
category
|
|
552
|
+
taxonomyId
|
|
553
|
+
taxonomyName
|
|
554
|
+
entityId
|
|
555
|
+
factCount
|
|
556
|
+
connectionCount
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
`;
|