@robosystems/client 2.12.0 → 2.13.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 +38 -2
- package/artifacts/LedgerClient.js +36 -0
- package/artifacts/LedgerClient.ts +73 -0
- package/artifacts/graphql/generated/graphql.d.ts +39 -0
- package/artifacts/graphql/generated/graphql.js +120 -2
- package/artifacts/graphql/generated/graphql.ts +154 -0
- package/artifacts/graphql/queries/ledger/classificationStats.d.ts +10 -0
- package/artifacts/graphql/queries/ledger/classificationStats.js +37 -0
- package/artifacts/graphql/queries/ledger/classificationStats.ts +35 -0
- package/artifacts/graphql/queries/ledger/flowCandidates.d.ts +12 -0
- package/artifacts/graphql/queries/ledger/flowCandidates.js +25 -0
- package/artifacts/graphql/queries/ledger/flowCandidates.ts +23 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +6 -5
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +12 -4
- package/sdk/sdk.gen.js +22 -5
- package/sdk/sdk.gen.ts +21 -4
- package/sdk/types.gen.d.ts +267 -3
- package/sdk/types.gen.ts +276 -3
- package/sdk.gen.d.ts +12 -4
- package/sdk.gen.js +22 -5
- package/sdk.gen.ts +21 -4
- package/types.gen.d.ts +267 -3
- package/types.gen.ts +276 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { 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';
|
|
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 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 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']>;
|
|
@@ -29,6 +29,9 @@ export type LedgerTaxonomy = LedgerTaxonomyList['taxonomies'][number];
|
|
|
29
29
|
export type LedgerElementList = NonNullable<ListLedgerElementsQuery['elements']>;
|
|
30
30
|
export type LedgerElement = LedgerElementList['elements'][number];
|
|
31
31
|
export type LedgerMappingCandidate = MappingCandidatesQuery['mappingCandidates'][number];
|
|
32
|
+
export type LedgerFlowCandidate = FlowCandidatesQuery['flowCandidates'][number];
|
|
33
|
+
export type LedgerClassificationStats = NonNullable<ClassificationStatsQuery['classificationStats']>;
|
|
34
|
+
export type LedgerClassificationSourceStats = LedgerClassificationStats['bySource'][number];
|
|
32
35
|
export type LedgerUnmappedElement = ListLedgerUnmappedElementsQuery['unmappedElements'][number];
|
|
33
36
|
export type LedgerStructureList = NonNullable<ListLedgerStructuresQuery['structures']>;
|
|
34
37
|
export type LedgerStructure = LedgerStructureList['structures'][number];
|
|
@@ -597,6 +600,19 @@ export declare class LedgerClient {
|
|
|
597
600
|
getMappingCandidates(graphId: string, classification: string, options?: {
|
|
598
601
|
entityId?: string | null;
|
|
599
602
|
}): Promise<LedgerMappingCandidate[]>;
|
|
603
|
+
/**
|
|
604
|
+
* The cash flow rows a line may be tagged with: the leaf investing and
|
|
605
|
+
* financing rows of the entity's cash flow statement under its Reporting
|
|
606
|
+
* Style (`options.entityId`, default the group parent), in statement
|
|
607
|
+
* order. A flow is a second classification beside the account — it
|
|
608
|
+
* overrides the account's default flow on the cash flow and equity
|
|
609
|
+
* statements — and this is the set the write path accepts, so a picker
|
|
610
|
+
* built from it never offers a row the statement cannot present. The
|
|
611
|
+
* `qname` is what a bank line's `classified_flow_qname` takes.
|
|
612
|
+
*/
|
|
613
|
+
getFlowCandidates(graphId: string, options?: {
|
|
614
|
+
entityId?: string | null;
|
|
615
|
+
}): Promise<LedgerFlowCandidate[]>;
|
|
600
616
|
/** CoA elements not yet mapped to a reporting concept. */
|
|
601
617
|
listUnmappedElements(graphId: string, options?: {
|
|
602
618
|
mappingId?: string;
|
|
@@ -951,6 +967,26 @@ export declare class LedgerClient {
|
|
|
951
967
|
learnClassificationDefaults(graphId: string, options?: {
|
|
952
968
|
dryRun?: boolean;
|
|
953
969
|
}): Promise<LearnClassificationDefaultsResponse>;
|
|
970
|
+
/**
|
|
971
|
+
* Take the suggestion on every open bank line the filters select, oldest
|
|
972
|
+
* first, through the same update a single line goes through; `commit`
|
|
973
|
+
* posts them too. A line that cannot be taken comes back `skipped` with
|
|
974
|
+
* its reason, never forced. `dry_run` counts without writing, `limit`
|
|
975
|
+
* bounds a call and `truncated` says more matched; explicit `event_ids`
|
|
976
|
+
* from a multi-select are each answered.
|
|
977
|
+
*/
|
|
978
|
+
acceptSuggestions(graphId: string, body?: AcceptSuggestionsRequest): Promise<AcceptSuggestionsResponse>;
|
|
979
|
+
/**
|
|
980
|
+
* How one month's bank lines were classified, per suggestion source:
|
|
981
|
+
* taken as suggested, overridden, split, or chosen with no suggestion to
|
|
982
|
+
* take, and the share that needed a person's choice. `period` is
|
|
983
|
+
* `YYYY-MM` over the lines' own dates; `options.entityId` defaults to
|
|
984
|
+
* the group parent. Lines posted before outcomes were recorded are
|
|
985
|
+
* `unstamped`, outside the share.
|
|
986
|
+
*/
|
|
987
|
+
getClassificationStats(graphId: string, period: string, options?: {
|
|
988
|
+
entityId?: string | null;
|
|
989
|
+
}): Promise<LedgerClassificationStats | null>;
|
|
954
990
|
/**
|
|
955
991
|
* Register a tenant-configurable event handler — DSL row in the
|
|
956
992
|
* `event_handlers` table that drives `create-event-block` for event
|
|
@@ -290,6 +290,19 @@ class LedgerClient {
|
|
|
290
290
|
async getMappingCandidates(graphId, classification, options) {
|
|
291
291
|
return this.gqlQuery(graphId, graphql_1.MappingCandidatesDocument, { classification, entityId: options?.entityId ?? null }, 'Mapping candidates', (data) => data.mappingCandidates);
|
|
292
292
|
}
|
|
293
|
+
/**
|
|
294
|
+
* The cash flow rows a line may be tagged with: the leaf investing and
|
|
295
|
+
* financing rows of the entity's cash flow statement under its Reporting
|
|
296
|
+
* Style (`options.entityId`, default the group parent), in statement
|
|
297
|
+
* order. A flow is a second classification beside the account — it
|
|
298
|
+
* overrides the account's default flow on the cash flow and equity
|
|
299
|
+
* statements — and this is the set the write path accepts, so a picker
|
|
300
|
+
* built from it never offers a row the statement cannot present. The
|
|
301
|
+
* `qname` is what a bank line's `classified_flow_qname` takes.
|
|
302
|
+
*/
|
|
303
|
+
async getFlowCandidates(graphId, options) {
|
|
304
|
+
return this.gqlQuery(graphId, graphql_1.FlowCandidatesDocument, { entityId: options?.entityId ?? null }, 'Flow candidates', (data) => data.flowCandidates);
|
|
305
|
+
}
|
|
293
306
|
/** CoA elements not yet mapped to a reporting concept. */
|
|
294
307
|
async listUnmappedElements(graphId, options) {
|
|
295
308
|
return this.gqlQuery(graphId, graphql_1.ListLedgerUnmappedElementsDocument, { mappingId: options?.mappingId ?? null }, 'List unmapped elements', (data) => data.unmappedElements);
|
|
@@ -1032,6 +1045,29 @@ class LedgerClient {
|
|
|
1032
1045
|
}));
|
|
1033
1046
|
return this.requireResult('Learn classification defaults', envelope.result);
|
|
1034
1047
|
}
|
|
1048
|
+
/**
|
|
1049
|
+
* Take the suggestion on every open bank line the filters select, oldest
|
|
1050
|
+
* first, through the same update a single line goes through; `commit`
|
|
1051
|
+
* posts them too. A line that cannot be taken comes back `skipped` with
|
|
1052
|
+
* its reason, never forced. `dry_run` counts without writing, `limit`
|
|
1053
|
+
* bounds a call and `truncated` says more matched; explicit `event_ids`
|
|
1054
|
+
* from a multi-select are each answered.
|
|
1055
|
+
*/
|
|
1056
|
+
async acceptSuggestions(graphId, body = {}) {
|
|
1057
|
+
const envelope = await this.callOperation('Accept suggestions', (o) => (0, sdk_gen_1.acceptSuggestions)({ ...o, path: { graph_id: graphId }, body }));
|
|
1058
|
+
return this.requireResult('Accept suggestions', envelope.result);
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* How one month's bank lines were classified, per suggestion source:
|
|
1062
|
+
* taken as suggested, overridden, split, or chosen with no suggestion to
|
|
1063
|
+
* take, and the share that needed a person's choice. `period` is
|
|
1064
|
+
* `YYYY-MM` over the lines' own dates; `options.entityId` defaults to
|
|
1065
|
+
* the group parent. Lines posted before outcomes were recorded are
|
|
1066
|
+
* `unstamped`, outside the share.
|
|
1067
|
+
*/
|
|
1068
|
+
async getClassificationStats(graphId, period, options) {
|
|
1069
|
+
return this.gqlQuery(graphId, graphql_1.ClassificationStatsDocument, { period, entityId: options?.entityId ?? null }, 'Classification stats', (data) => data.classificationStats);
|
|
1070
|
+
}
|
|
1035
1071
|
// ── Event handlers (DSL handler registry) ────────────────────────────
|
|
1036
1072
|
/**
|
|
1037
1073
|
* Register a tenant-configurable event handler — DSL row in the
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
import type { TypedDocumentNode } from '@graphql-typed-document-node/core'
|
|
29
29
|
import { ClientError } from 'graphql-request'
|
|
30
30
|
import {
|
|
31
|
+
acceptSuggestions,
|
|
31
32
|
addPublishListMembers,
|
|
32
33
|
autoMapElements,
|
|
33
34
|
bindTextBlock,
|
|
@@ -88,6 +89,8 @@ import {
|
|
|
88
89
|
updateTaxonomyBlock,
|
|
89
90
|
} from '../sdk.gen'
|
|
90
91
|
import type {
|
|
92
|
+
AcceptSuggestionsRequest,
|
|
93
|
+
AcceptSuggestionsResponse,
|
|
91
94
|
AddPublishListMembersOperation,
|
|
92
95
|
AssociationResponse,
|
|
93
96
|
AutoMapElementsOperation,
|
|
@@ -179,6 +182,8 @@ import type {
|
|
|
179
182
|
import type { TokenProvider } from './graphql/client'
|
|
180
183
|
import { GraphQLClientCache, toGraphQLError } from './graphql/client'
|
|
181
184
|
import {
|
|
185
|
+
ClassificationStatsDocument,
|
|
186
|
+
FlowCandidatesDocument,
|
|
182
187
|
GetInformationBlockDocument,
|
|
183
188
|
GetInformationBlockWindowedDocument,
|
|
184
189
|
GetLedgerAccountRollupsDocument,
|
|
@@ -222,6 +227,8 @@ import {
|
|
|
222
227
|
ListLedgerTransactionsDocument,
|
|
223
228
|
ListLedgerUnmappedElementsDocument,
|
|
224
229
|
MappingCandidatesDocument,
|
|
230
|
+
type ClassificationStatsQuery,
|
|
231
|
+
type FlowCandidatesQuery,
|
|
225
232
|
type GetInformationBlockQuery,
|
|
226
233
|
type GetLedgerAccountRollupsQuery,
|
|
227
234
|
type GetLedgerAccountTreeQuery,
|
|
@@ -317,6 +324,9 @@ export type LedgerTaxonomy = LedgerTaxonomyList['taxonomies'][number]
|
|
|
317
324
|
export type LedgerElementList = NonNullable<ListLedgerElementsQuery['elements']>
|
|
318
325
|
export type LedgerElement = LedgerElementList['elements'][number]
|
|
319
326
|
export type LedgerMappingCandidate = MappingCandidatesQuery['mappingCandidates'][number]
|
|
327
|
+
export type LedgerFlowCandidate = FlowCandidatesQuery['flowCandidates'][number]
|
|
328
|
+
export type LedgerClassificationStats = NonNullable<ClassificationStatsQuery['classificationStats']>
|
|
329
|
+
export type LedgerClassificationSourceStats = LedgerClassificationStats['bySource'][number]
|
|
320
330
|
export type LedgerUnmappedElement = ListLedgerUnmappedElementsQuery['unmappedElements'][number]
|
|
321
331
|
|
|
322
332
|
export type LedgerStructureList = NonNullable<ListLedgerStructuresQuery['structures']>
|
|
@@ -1402,6 +1412,29 @@ export class LedgerClient {
|
|
|
1402
1412
|
)
|
|
1403
1413
|
}
|
|
1404
1414
|
|
|
1415
|
+
/**
|
|
1416
|
+
* The cash flow rows a line may be tagged with: the leaf investing and
|
|
1417
|
+
* financing rows of the entity's cash flow statement under its Reporting
|
|
1418
|
+
* Style (`options.entityId`, default the group parent), in statement
|
|
1419
|
+
* order. A flow is a second classification beside the account — it
|
|
1420
|
+
* overrides the account's default flow on the cash flow and equity
|
|
1421
|
+
* statements — and this is the set the write path accepts, so a picker
|
|
1422
|
+
* built from it never offers a row the statement cannot present. The
|
|
1423
|
+
* `qname` is what a bank line's `classified_flow_qname` takes.
|
|
1424
|
+
*/
|
|
1425
|
+
async getFlowCandidates(
|
|
1426
|
+
graphId: string,
|
|
1427
|
+
options?: { entityId?: string | null }
|
|
1428
|
+
): Promise<LedgerFlowCandidate[]> {
|
|
1429
|
+
return this.gqlQuery(
|
|
1430
|
+
graphId,
|
|
1431
|
+
FlowCandidatesDocument,
|
|
1432
|
+
{ entityId: options?.entityId ?? null },
|
|
1433
|
+
'Flow candidates',
|
|
1434
|
+
(data) => data.flowCandidates
|
|
1435
|
+
)
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1405
1438
|
/** CoA elements not yet mapped to a reporting concept. */
|
|
1406
1439
|
async listUnmappedElements(
|
|
1407
1440
|
graphId: string,
|
|
@@ -2562,6 +2595,46 @@ export class LedgerClient {
|
|
|
2562
2595
|
return this.requireResult('Learn classification defaults', envelope.result)
|
|
2563
2596
|
}
|
|
2564
2597
|
|
|
2598
|
+
/**
|
|
2599
|
+
* Take the suggestion on every open bank line the filters select, oldest
|
|
2600
|
+
* first, through the same update a single line goes through; `commit`
|
|
2601
|
+
* posts them too. A line that cannot be taken comes back `skipped` with
|
|
2602
|
+
* its reason, never forced. `dry_run` counts without writing, `limit`
|
|
2603
|
+
* bounds a call and `truncated` says more matched; explicit `event_ids`
|
|
2604
|
+
* from a multi-select are each answered.
|
|
2605
|
+
*/
|
|
2606
|
+
async acceptSuggestions(
|
|
2607
|
+
graphId: string,
|
|
2608
|
+
body: AcceptSuggestionsRequest = {}
|
|
2609
|
+
): Promise<AcceptSuggestionsResponse> {
|
|
2610
|
+
const envelope = await this.callOperation('Accept suggestions', (o) =>
|
|
2611
|
+
acceptSuggestions({ ...o, path: { graph_id: graphId }, body })
|
|
2612
|
+
)
|
|
2613
|
+
return this.requireResult('Accept suggestions', envelope.result)
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
/**
|
|
2617
|
+
* How one month's bank lines were classified, per suggestion source:
|
|
2618
|
+
* taken as suggested, overridden, split, or chosen with no suggestion to
|
|
2619
|
+
* take, and the share that needed a person's choice. `period` is
|
|
2620
|
+
* `YYYY-MM` over the lines' own dates; `options.entityId` defaults to
|
|
2621
|
+
* the group parent. Lines posted before outcomes were recorded are
|
|
2622
|
+
* `unstamped`, outside the share.
|
|
2623
|
+
*/
|
|
2624
|
+
async getClassificationStats(
|
|
2625
|
+
graphId: string,
|
|
2626
|
+
period: string,
|
|
2627
|
+
options?: { entityId?: string | null }
|
|
2628
|
+
): Promise<LedgerClassificationStats | null> {
|
|
2629
|
+
return this.gqlQuery(
|
|
2630
|
+
graphId,
|
|
2631
|
+
ClassificationStatsDocument,
|
|
2632
|
+
{ period, entityId: options?.entityId ?? null },
|
|
2633
|
+
'Classification stats',
|
|
2634
|
+
(data) => data.classificationStats
|
|
2635
|
+
)
|
|
2636
|
+
}
|
|
2637
|
+
|
|
2565
2638
|
// ── Event handlers (DSL handler registry) ────────────────────────────
|
|
2566
2639
|
|
|
2567
2640
|
/**
|
|
@@ -472,6 +472,32 @@ export type ListChartTemplatesQuery = {
|
|
|
472
472
|
accountCount: number;
|
|
473
473
|
}>;
|
|
474
474
|
};
|
|
475
|
+
export type ClassificationStatsQueryVariables = Exact<{
|
|
476
|
+
period: string;
|
|
477
|
+
entityId: string | null | undefined;
|
|
478
|
+
}>;
|
|
479
|
+
export type ClassificationStatsQuery = {
|
|
480
|
+
classificationStats: {
|
|
481
|
+
period: string;
|
|
482
|
+
entityId: string | null;
|
|
483
|
+
lines: number;
|
|
484
|
+
accepted: number;
|
|
485
|
+
overridden: number;
|
|
486
|
+
unsuggested: number;
|
|
487
|
+
split: number;
|
|
488
|
+
unstamped: number;
|
|
489
|
+
humanChoiceShare: number | null;
|
|
490
|
+
openLines: number;
|
|
491
|
+
bySource: Array<{
|
|
492
|
+
source: string;
|
|
493
|
+
lines: number;
|
|
494
|
+
accepted: number;
|
|
495
|
+
overridden: number;
|
|
496
|
+
unsuggested: number;
|
|
497
|
+
split: number;
|
|
498
|
+
}>;
|
|
499
|
+
} | null;
|
|
500
|
+
};
|
|
475
501
|
export type GetLedgerClosingBookStructuresQueryVariables = Exact<{
|
|
476
502
|
entityId: string | null | undefined;
|
|
477
503
|
}>;
|
|
@@ -714,6 +740,17 @@ export type GetLedgerFiscalCalendarQuery = {
|
|
|
714
740
|
}>;
|
|
715
741
|
} | null;
|
|
716
742
|
};
|
|
743
|
+
export type FlowCandidatesQueryVariables = Exact<{
|
|
744
|
+
entityId: string | null | undefined;
|
|
745
|
+
}>;
|
|
746
|
+
export type FlowCandidatesQuery = {
|
|
747
|
+
flowCandidates: Array<{
|
|
748
|
+
elementId: string;
|
|
749
|
+
qname: string;
|
|
750
|
+
name: string;
|
|
751
|
+
activity: string;
|
|
752
|
+
}>;
|
|
753
|
+
};
|
|
717
754
|
export type GetInformationBlockQueryVariables = Exact<{
|
|
718
755
|
id: string | number;
|
|
719
756
|
scenarioId: string | null | undefined;
|
|
@@ -2296,6 +2333,7 @@ export declare const ListLedgerAgentsDocument: DocumentNode<ListLedgerAgentsQuer
|
|
|
2296
2333
|
export declare const ListLedgerBankAccountsDocument: DocumentNode<ListLedgerBankAccountsQuery, ListLedgerBankAccountsQueryVariables>;
|
|
2297
2334
|
export declare const ListLedgerBlockedSourceGraphsDocument: DocumentNode<ListLedgerBlockedSourceGraphsQuery, ListLedgerBlockedSourceGraphsQueryVariables>;
|
|
2298
2335
|
export declare const ListChartTemplatesDocument: DocumentNode<ListChartTemplatesQuery, ListChartTemplatesQueryVariables>;
|
|
2336
|
+
export declare const ClassificationStatsDocument: DocumentNode<ClassificationStatsQuery, ClassificationStatsQueryVariables>;
|
|
2299
2337
|
export declare const GetLedgerClosingBookStructuresDocument: DocumentNode<GetLedgerClosingBookStructuresQuery, GetLedgerClosingBookStructuresQueryVariables>;
|
|
2300
2338
|
export declare const ListLedgerElementsDocument: DocumentNode<ListLedgerElementsQuery, ListLedgerElementsQueryVariables>;
|
|
2301
2339
|
export declare const ListLedgerEntitiesDocument: DocumentNode<ListLedgerEntitiesQuery, ListLedgerEntitiesQueryVariables>;
|
|
@@ -2303,6 +2341,7 @@ export declare const GetLedgerEntityDocument: DocumentNode<GetLedgerEntityQuery,
|
|
|
2303
2341
|
export declare const GetLedgerEventBlockDocument: DocumentNode<GetLedgerEventBlockQuery, GetLedgerEventBlockQueryVariables>;
|
|
2304
2342
|
export declare const ListLedgerEventBlocksDocument: DocumentNode<ListLedgerEventBlocksQuery, ListLedgerEventBlocksQueryVariables>;
|
|
2305
2343
|
export declare const GetLedgerFiscalCalendarDocument: DocumentNode<GetLedgerFiscalCalendarQuery, GetLedgerFiscalCalendarQueryVariables>;
|
|
2344
|
+
export declare const FlowCandidatesDocument: DocumentNode<FlowCandidatesQuery, FlowCandidatesQueryVariables>;
|
|
2306
2345
|
export declare const GetInformationBlockDocument: DocumentNode<GetInformationBlockQuery, GetInformationBlockQueryVariables>;
|
|
2307
2346
|
export declare const GetInformationBlockWindowedDocument: DocumentNode<GetInformationBlockWindowedQuery, GetInformationBlockWindowedQueryVariables>;
|
|
2308
2347
|
export declare const ListInformationBlocksDocument: DocumentNode<ListInformationBlocksQuery, ListInformationBlocksQueryVariables>;
|
|
@@ -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 = void 0;
|
|
3
|
+
exports.GetLedgerTrialBalanceDocument = exports.ListLedgerTransactionsDocument = exports.GetLedgerTransactionDocument = exports.ListLedgerTaxonomiesDocument = exports.GetLedgerSummaryDocument = exports.ListLedgerStructuresDocument = exports.GetLedgerStatementDocument = exports.ListLedgerReportsDocument = exports.GetLedgerReportingTaxonomyDocument = exports.GetLedgerReportPackageDocument = exports.GetLedgerReportDownloadUrlDocument = exports.GetLedgerReportDocument = exports.ListLedgerReconciliationsDocument = exports.ListLedgerPublishListsDocument = exports.GetLedgerPublishListDocument = exports.GetLedgerPeriodDraftsDocument = exports.GetLedgerPeriodCloseStatusDocument = exports.ListLedgerMappingsDocument = exports.GetLedgerMappingCoverageDocument = exports.MappingCandidatesDocument = exports.GetLedgerMappingDocument = exports.GetLedgerMappedTrialBalanceDocument = exports.ListLedgerJournalEntriesDocument = exports.ListInformationBlocksDocument = exports.GetInformationBlockWindowedDocument = exports.GetInformationBlockDocument = exports.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 = void 0;
|
|
5
5
|
exports.GetInvestorHoldingsDocument = {
|
|
6
6
|
kind: 'Document',
|
|
7
7
|
definitions: [
|
|
@@ -1351,6 +1351,82 @@ exports.ListChartTemplatesDocument = {
|
|
|
1351
1351
|
},
|
|
1352
1352
|
],
|
|
1353
1353
|
};
|
|
1354
|
+
exports.ClassificationStatsDocument = {
|
|
1355
|
+
kind: 'Document',
|
|
1356
|
+
definitions: [
|
|
1357
|
+
{
|
|
1358
|
+
kind: 'OperationDefinition',
|
|
1359
|
+
operation: 'query',
|
|
1360
|
+
name: { kind: 'Name', value: 'ClassificationStats' },
|
|
1361
|
+
variableDefinitions: [
|
|
1362
|
+
{
|
|
1363
|
+
kind: 'VariableDefinition',
|
|
1364
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
1365
|
+
type: {
|
|
1366
|
+
kind: 'NonNullType',
|
|
1367
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1368
|
+
},
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
kind: 'VariableDefinition',
|
|
1372
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
1373
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1374
|
+
},
|
|
1375
|
+
],
|
|
1376
|
+
selectionSet: {
|
|
1377
|
+
kind: 'SelectionSet',
|
|
1378
|
+
selections: [
|
|
1379
|
+
{
|
|
1380
|
+
kind: 'Field',
|
|
1381
|
+
name: { kind: 'Name', value: 'classificationStats' },
|
|
1382
|
+
arguments: [
|
|
1383
|
+
{
|
|
1384
|
+
kind: 'Argument',
|
|
1385
|
+
name: { kind: 'Name', value: 'period' },
|
|
1386
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
kind: 'Argument',
|
|
1390
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
1391
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
1392
|
+
},
|
|
1393
|
+
],
|
|
1394
|
+
selectionSet: {
|
|
1395
|
+
kind: 'SelectionSet',
|
|
1396
|
+
selections: [
|
|
1397
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
1398
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
1399
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'lines' } },
|
|
1400
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accepted' } },
|
|
1401
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'overridden' } },
|
|
1402
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unsuggested' } },
|
|
1403
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'split' } },
|
|
1404
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unstamped' } },
|
|
1405
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'humanChoiceShare' } },
|
|
1406
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'openLines' } },
|
|
1407
|
+
{
|
|
1408
|
+
kind: 'Field',
|
|
1409
|
+
name: { kind: 'Name', value: 'bySource' },
|
|
1410
|
+
selectionSet: {
|
|
1411
|
+
kind: 'SelectionSet',
|
|
1412
|
+
selections: [
|
|
1413
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
1414
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'lines' } },
|
|
1415
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accepted' } },
|
|
1416
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'overridden' } },
|
|
1417
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unsuggested' } },
|
|
1418
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'split' } },
|
|
1419
|
+
],
|
|
1420
|
+
},
|
|
1421
|
+
},
|
|
1422
|
+
],
|
|
1423
|
+
},
|
|
1424
|
+
},
|
|
1425
|
+
],
|
|
1426
|
+
},
|
|
1427
|
+
},
|
|
1428
|
+
],
|
|
1429
|
+
};
|
|
1354
1430
|
exports.GetLedgerClosingBookStructuresDocument = {
|
|
1355
1431
|
kind: 'Document',
|
|
1356
1432
|
definitions: [
|
|
@@ -1995,6 +2071,48 @@ exports.GetLedgerFiscalCalendarDocument = {
|
|
|
1995
2071
|
},
|
|
1996
2072
|
],
|
|
1997
2073
|
};
|
|
2074
|
+
exports.FlowCandidatesDocument = {
|
|
2075
|
+
kind: 'Document',
|
|
2076
|
+
definitions: [
|
|
2077
|
+
{
|
|
2078
|
+
kind: 'OperationDefinition',
|
|
2079
|
+
operation: 'query',
|
|
2080
|
+
name: { kind: 'Name', value: 'FlowCandidates' },
|
|
2081
|
+
variableDefinitions: [
|
|
2082
|
+
{
|
|
2083
|
+
kind: 'VariableDefinition',
|
|
2084
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2085
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2086
|
+
},
|
|
2087
|
+
],
|
|
2088
|
+
selectionSet: {
|
|
2089
|
+
kind: 'SelectionSet',
|
|
2090
|
+
selections: [
|
|
2091
|
+
{
|
|
2092
|
+
kind: 'Field',
|
|
2093
|
+
name: { kind: 'Name', value: 'flowCandidates' },
|
|
2094
|
+
arguments: [
|
|
2095
|
+
{
|
|
2096
|
+
kind: 'Argument',
|
|
2097
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
2098
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2099
|
+
},
|
|
2100
|
+
],
|
|
2101
|
+
selectionSet: {
|
|
2102
|
+
kind: 'SelectionSet',
|
|
2103
|
+
selections: [
|
|
2104
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
|
|
2105
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'qname' } },
|
|
2106
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
2107
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'activity' } },
|
|
2108
|
+
],
|
|
2109
|
+
},
|
|
2110
|
+
},
|
|
2111
|
+
],
|
|
2112
|
+
},
|
|
2113
|
+
},
|
|
2114
|
+
],
|
|
2115
|
+
};
|
|
1998
2116
|
exports.GetInformationBlockDocument = {
|
|
1999
2117
|
kind: 'Document',
|
|
2000
2118
|
definitions: [
|
|
@@ -464,6 +464,34 @@ export type ListChartTemplatesQuery = {
|
|
|
464
464
|
}>
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
+
export type ClassificationStatsQueryVariables = Exact<{
|
|
468
|
+
period: string
|
|
469
|
+
entityId: string | null | undefined
|
|
470
|
+
}>
|
|
471
|
+
|
|
472
|
+
export type ClassificationStatsQuery = {
|
|
473
|
+
classificationStats: {
|
|
474
|
+
period: string
|
|
475
|
+
entityId: string | null
|
|
476
|
+
lines: number
|
|
477
|
+
accepted: number
|
|
478
|
+
overridden: number
|
|
479
|
+
unsuggested: number
|
|
480
|
+
split: number
|
|
481
|
+
unstamped: number
|
|
482
|
+
humanChoiceShare: number | null
|
|
483
|
+
openLines: number
|
|
484
|
+
bySource: Array<{
|
|
485
|
+
source: string
|
|
486
|
+
lines: number
|
|
487
|
+
accepted: number
|
|
488
|
+
overridden: number
|
|
489
|
+
unsuggested: number
|
|
490
|
+
split: number
|
|
491
|
+
}>
|
|
492
|
+
} | null
|
|
493
|
+
}
|
|
494
|
+
|
|
467
495
|
export type GetLedgerClosingBookStructuresQueryVariables = Exact<{
|
|
468
496
|
entityId: string | null | undefined
|
|
469
497
|
}>
|
|
@@ -715,6 +743,14 @@ export type GetLedgerFiscalCalendarQuery = {
|
|
|
715
743
|
} | null
|
|
716
744
|
}
|
|
717
745
|
|
|
746
|
+
export type FlowCandidatesQueryVariables = Exact<{
|
|
747
|
+
entityId: string | null | undefined
|
|
748
|
+
}>
|
|
749
|
+
|
|
750
|
+
export type FlowCandidatesQuery = {
|
|
751
|
+
flowCandidates: Array<{ elementId: string; qname: string; name: string; activity: string }>
|
|
752
|
+
}
|
|
753
|
+
|
|
718
754
|
export type GetInformationBlockQueryVariables = Exact<{
|
|
719
755
|
id: string | number
|
|
720
756
|
scenarioId: string | null | undefined
|
|
@@ -3583,6 +3619,82 @@ export const ListChartTemplatesDocument = {
|
|
|
3583
3619
|
},
|
|
3584
3620
|
],
|
|
3585
3621
|
} as unknown as DocumentNode<ListChartTemplatesQuery, ListChartTemplatesQueryVariables>
|
|
3622
|
+
export const ClassificationStatsDocument = {
|
|
3623
|
+
kind: 'Document',
|
|
3624
|
+
definitions: [
|
|
3625
|
+
{
|
|
3626
|
+
kind: 'OperationDefinition',
|
|
3627
|
+
operation: 'query',
|
|
3628
|
+
name: { kind: 'Name', value: 'ClassificationStats' },
|
|
3629
|
+
variableDefinitions: [
|
|
3630
|
+
{
|
|
3631
|
+
kind: 'VariableDefinition',
|
|
3632
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
3633
|
+
type: {
|
|
3634
|
+
kind: 'NonNullType',
|
|
3635
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3636
|
+
},
|
|
3637
|
+
},
|
|
3638
|
+
{
|
|
3639
|
+
kind: 'VariableDefinition',
|
|
3640
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3641
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3642
|
+
},
|
|
3643
|
+
],
|
|
3644
|
+
selectionSet: {
|
|
3645
|
+
kind: 'SelectionSet',
|
|
3646
|
+
selections: [
|
|
3647
|
+
{
|
|
3648
|
+
kind: 'Field',
|
|
3649
|
+
name: { kind: 'Name', value: 'classificationStats' },
|
|
3650
|
+
arguments: [
|
|
3651
|
+
{
|
|
3652
|
+
kind: 'Argument',
|
|
3653
|
+
name: { kind: 'Name', value: 'period' },
|
|
3654
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
3655
|
+
},
|
|
3656
|
+
{
|
|
3657
|
+
kind: 'Argument',
|
|
3658
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
3659
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
3660
|
+
},
|
|
3661
|
+
],
|
|
3662
|
+
selectionSet: {
|
|
3663
|
+
kind: 'SelectionSet',
|
|
3664
|
+
selections: [
|
|
3665
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
3666
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
3667
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'lines' } },
|
|
3668
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accepted' } },
|
|
3669
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'overridden' } },
|
|
3670
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unsuggested' } },
|
|
3671
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'split' } },
|
|
3672
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unstamped' } },
|
|
3673
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'humanChoiceShare' } },
|
|
3674
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'openLines' } },
|
|
3675
|
+
{
|
|
3676
|
+
kind: 'Field',
|
|
3677
|
+
name: { kind: 'Name', value: 'bySource' },
|
|
3678
|
+
selectionSet: {
|
|
3679
|
+
kind: 'SelectionSet',
|
|
3680
|
+
selections: [
|
|
3681
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'source' } },
|
|
3682
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'lines' } },
|
|
3683
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accepted' } },
|
|
3684
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'overridden' } },
|
|
3685
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'unsuggested' } },
|
|
3686
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'split' } },
|
|
3687
|
+
],
|
|
3688
|
+
},
|
|
3689
|
+
},
|
|
3690
|
+
],
|
|
3691
|
+
},
|
|
3692
|
+
},
|
|
3693
|
+
],
|
|
3694
|
+
},
|
|
3695
|
+
},
|
|
3696
|
+
],
|
|
3697
|
+
} as unknown as DocumentNode<ClassificationStatsQuery, ClassificationStatsQueryVariables>
|
|
3586
3698
|
export const GetLedgerClosingBookStructuresDocument = {
|
|
3587
3699
|
kind: 'Document',
|
|
3588
3700
|
definitions: [
|
|
@@ -4230,6 +4342,48 @@ export const GetLedgerFiscalCalendarDocument = {
|
|
|
4230
4342
|
},
|
|
4231
4343
|
],
|
|
4232
4344
|
} as unknown as DocumentNode<GetLedgerFiscalCalendarQuery, GetLedgerFiscalCalendarQueryVariables>
|
|
4345
|
+
export const FlowCandidatesDocument = {
|
|
4346
|
+
kind: 'Document',
|
|
4347
|
+
definitions: [
|
|
4348
|
+
{
|
|
4349
|
+
kind: 'OperationDefinition',
|
|
4350
|
+
operation: 'query',
|
|
4351
|
+
name: { kind: 'Name', value: 'FlowCandidates' },
|
|
4352
|
+
variableDefinitions: [
|
|
4353
|
+
{
|
|
4354
|
+
kind: 'VariableDefinition',
|
|
4355
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
4356
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
4357
|
+
},
|
|
4358
|
+
],
|
|
4359
|
+
selectionSet: {
|
|
4360
|
+
kind: 'SelectionSet',
|
|
4361
|
+
selections: [
|
|
4362
|
+
{
|
|
4363
|
+
kind: 'Field',
|
|
4364
|
+
name: { kind: 'Name', value: 'flowCandidates' },
|
|
4365
|
+
arguments: [
|
|
4366
|
+
{
|
|
4367
|
+
kind: 'Argument',
|
|
4368
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
4369
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
4370
|
+
},
|
|
4371
|
+
],
|
|
4372
|
+
selectionSet: {
|
|
4373
|
+
kind: 'SelectionSet',
|
|
4374
|
+
selections: [
|
|
4375
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
|
|
4376
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'qname' } },
|
|
4377
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
4378
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'activity' } },
|
|
4379
|
+
],
|
|
4380
|
+
},
|
|
4381
|
+
},
|
|
4382
|
+
],
|
|
4383
|
+
},
|
|
4384
|
+
},
|
|
4385
|
+
],
|
|
4386
|
+
} as unknown as DocumentNode<FlowCandidatesQuery, FlowCandidatesQueryVariables>
|
|
4233
4387
|
export const GetInformationBlockDocument = {
|
|
4234
4388
|
kind: 'Document',
|
|
4235
4389
|
definitions: [
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How one month's bank lines were classified, per suggestion source: taken
|
|
3
|
+
* as suggested, overridden, split, or chosen with no suggestion to take, and
|
|
4
|
+
* the share that needed a person's choice. Counted from the lines committed
|
|
5
|
+
* in the month (`$period`, `YYYY-MM`, over the lines' own dates) for one
|
|
6
|
+
* entity (`$entityId`, default the group parent); lines posted before
|
|
7
|
+
* outcomes were recorded are `unstamped` and outside the share. This is the
|
|
8
|
+
* override rate: never quote a match rate that did not come from here.
|
|
9
|
+
*/
|
|
10
|
+
export declare const CLASSIFICATION_STATS: string;
|