@robosystems/client 0.3.13 → 0.3.14
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 +22 -1
- package/artifacts/LedgerClient.js +40 -0
- package/artifacts/LedgerClient.ts +67 -0
- package/artifacts/graphql/generated/graphql.d.ts +320 -0
- package/artifacts/graphql/generated/graphql.js +569 -1
- package/artifacts/graphql/generated/graphql.ts +882 -0
- package/artifacts/graphql/queries/ledger/informationBlock.js +110 -0
- package/artifacts/graphql/queries/ledger/informationBlock.ts +110 -0
- package/artifacts/graphql/queries/ledger/reportPackage.d.ts +11 -0
- package/artifacts/graphql/queries/ledger/reportPackage.js +151 -0
- package/artifacts/graphql/queries/ledger/reportPackage.ts +149 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +4 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +17 -1
- package/sdk/sdk.gen.js +36 -2
- package/sdk/sdk.gen.ts +35 -1
- package/sdk/types.gen.d.ts +158 -0
- package/sdk/types.gen.ts +170 -0
- package/sdk.gen.d.ts +17 -1
- package/sdk.gen.js +36 -2
- package/sdk.gen.ts +35 -1
- package/types.gen.d.ts +158 -0
- package/types.gen.ts +170 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AutoMapElementsOperation, CreateAgentRequest, CreateEventBlockRequest, CreateEventHandlerRequest, CreateMappingAssociationOperation, CreateTaxonomyBlockRequest, CreateViewRequest, DeleteMappingAssociationOperation, DeleteTaxonomyBlockRequest, EvaluateRulesRequest, FinancialStatementAnalysisRequest, LinkEntityTaxonomyRequest, LiveFinancialStatementRequest, OperationEnvelope, UpdateAgentRequest, UpdateEntityRequest, UpdateEventBlockRequest, UpdateEventHandlerRequest, UpdateJournalEntryRequest, UpdateTaxonomyBlockRequest } from '../types.gen';
|
|
2
2
|
import type { TokenProvider } from './graphql/client';
|
|
3
|
-
import { type GetInformationBlockQuery, type GetLedgerAccountRollupsQuery, type GetLedgerAccountTreeQuery, type GetLedgerClosingBookStructuresQuery, type GetLedgerEntityQuery, type GetLedgerFiscalCalendarQuery, type GetLedgerMappedTrialBalanceQuery, type GetLedgerMappingCoverageQuery, type GetLedgerMappingQuery, type GetLedgerPeriodCloseStatusQuery, type GetLedgerPeriodDraftsQuery, type GetLedgerPublishListQuery, type GetLedgerReportingTaxonomyQuery, type GetLedgerReportQuery, type GetLedgerStatementQuery, type GetLedgerSummaryQuery, type GetLedgerTransactionQuery, type GetLedgerTrialBalanceQuery, type ListInformationBlocksQuery, type ListLedgerAccountsQuery, type ListLedgerElementsQuery, type ListLedgerEntitiesQuery, type ListLedgerMappingsQuery, type ListLedgerPublishListsQuery, type ListLedgerReportsQuery, type ListLedgerStructuresQuery, type ListLedgerTaxonomiesQuery, type ListLedgerTransactionsQuery, type ListLedgerUnmappedElementsQuery } from './graphql/generated/graphql';
|
|
3
|
+
import { type GetInformationBlockQuery, type GetLedgerAccountRollupsQuery, type GetLedgerAccountTreeQuery, type GetLedgerClosingBookStructuresQuery, type GetLedgerEntityQuery, 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 ListInformationBlocksQuery, type ListLedgerAccountsQuery, type ListLedgerElementsQuery, type ListLedgerEntitiesQuery, type ListLedgerMappingsQuery, type ListLedgerPublishListsQuery, type ListLedgerReportsQuery, type ListLedgerStructuresQuery, type ListLedgerTaxonomiesQuery, type ListLedgerTransactionsQuery, type ListLedgerUnmappedElementsQuery } from './graphql/generated/graphql';
|
|
4
4
|
export type LedgerEntity = NonNullable<GetLedgerEntityQuery['entity']>;
|
|
5
5
|
export type LedgerEntitySummary = ListLedgerEntitiesQuery['entities'][number];
|
|
6
6
|
export type LedgerSummary = NonNullable<GetLedgerSummaryQuery['summary']>;
|
|
@@ -39,6 +39,8 @@ export type LedgerClosingBookStructures = NonNullable<GetLedgerClosingBookStruct
|
|
|
39
39
|
export type LedgerFiscalCalendar = NonNullable<GetLedgerFiscalCalendarQuery['fiscalCalendar']>;
|
|
40
40
|
export type LedgerFiscalPeriod = LedgerFiscalCalendar['periods'][number];
|
|
41
41
|
export type Report = NonNullable<GetLedgerReportQuery['report']>;
|
|
42
|
+
export type ReportPackage = NonNullable<GetLedgerReportPackageQuery['reportPackage']>;
|
|
43
|
+
export type ReportPackageItem = ReportPackage['items'][number];
|
|
42
44
|
export type ReportListItem = NonNullable<ListLedgerReportsQuery['reports']>['reports'][number];
|
|
43
45
|
export type StatementData = NonNullable<GetLedgerStatementQuery['statement']>;
|
|
44
46
|
export type StatementPeriod = StatementData['periods'][number];
|
|
@@ -446,6 +448,13 @@ export declare class LedgerClient {
|
|
|
446
448
|
listReports(graphId: string): Promise<ReportListItem[]>;
|
|
447
449
|
/** Get a single report with its period list + available structures. */
|
|
448
450
|
getReport(graphId: string, reportId: string): Promise<Report | null>;
|
|
451
|
+
/**
|
|
452
|
+
* Rehydrate a Report as a package — Report metadata + N
|
|
453
|
+
* `InformationBlock` envelopes (one per attached FactSet). Drives the
|
|
454
|
+
* package viewer; returns everything needed to render BS + IS (and any
|
|
455
|
+
* other statements the Report generated) without per-section fetches.
|
|
456
|
+
*/
|
|
457
|
+
getReportPackage(graphId: string, reportId: string): Promise<ReportPackage | null>;
|
|
449
458
|
/**
|
|
450
459
|
* Render a financial statement — facts viewed through a structure.
|
|
451
460
|
*
|
|
@@ -464,6 +473,18 @@ export declare class LedgerClient {
|
|
|
464
473
|
* Each target graph receives a snapshot copy of the report's facts.
|
|
465
474
|
*/
|
|
466
475
|
shareReport(graphId: string, reportId: string, publishListId: string): Promise<ReportOperationAck>;
|
|
476
|
+
/**
|
|
477
|
+
* Transition a Report's filing_status to 'filed' — locks the package.
|
|
478
|
+
* Allowed from 'draft' or 'under_review'. Stamps filed_at + filed_by
|
|
479
|
+
* from the auth context + server clock.
|
|
480
|
+
*/
|
|
481
|
+
fileReport(graphId: string, reportId: string): Promise<ReportOperationAck>;
|
|
482
|
+
/**
|
|
483
|
+
* Move a Report along the non-file legs of the filing lifecycle
|
|
484
|
+
* (draft ↔ under_review, filed → archived). Use ``fileReport`` to
|
|
485
|
+
* reach 'filed' so the audit fields land cleanly.
|
|
486
|
+
*/
|
|
487
|
+
transitionFilingStatus(graphId: string, reportId: string, targetStatus: string): Promise<ReportOperationAck>;
|
|
467
488
|
/** Check if a report was received via sharing (vs locally created). */
|
|
468
489
|
isSharedReport(report: Report): boolean;
|
|
469
490
|
/** List publish lists with pagination. */
|
|
@@ -624,6 +624,15 @@ class LedgerClient {
|
|
|
624
624
|
async getReport(graphId, reportId) {
|
|
625
625
|
return this.gqlQuery(graphId, graphql_1.GetLedgerReportDocument, { reportId }, 'Get report', (data) => data.report);
|
|
626
626
|
}
|
|
627
|
+
/**
|
|
628
|
+
* Rehydrate a Report as a package — Report metadata + N
|
|
629
|
+
* `InformationBlock` envelopes (one per attached FactSet). Drives the
|
|
630
|
+
* package viewer; returns everything needed to render BS + IS (and any
|
|
631
|
+
* other statements the Report generated) without per-section fetches.
|
|
632
|
+
*/
|
|
633
|
+
async getReportPackage(graphId, reportId) {
|
|
634
|
+
return this.gqlQuery(graphId, graphql_1.GetLedgerReportPackageDocument, { reportId }, 'Get report package', (data) => data.reportPackage);
|
|
635
|
+
}
|
|
627
636
|
/**
|
|
628
637
|
* Render a financial statement — facts viewed through a structure.
|
|
629
638
|
*
|
|
@@ -676,6 +685,37 @@ class LedgerClient {
|
|
|
676
685
|
result: envelope.result ?? null,
|
|
677
686
|
};
|
|
678
687
|
}
|
|
688
|
+
/**
|
|
689
|
+
* Transition a Report's filing_status to 'filed' — locks the package.
|
|
690
|
+
* Allowed from 'draft' or 'under_review'. Stamps filed_at + filed_by
|
|
691
|
+
* from the auth context + server clock.
|
|
692
|
+
*/
|
|
693
|
+
async fileReport(graphId, reportId) {
|
|
694
|
+
const body = { report_id: reportId };
|
|
695
|
+
const envelope = await this.callOperation('File report', (0, sdk_gen_1.opFileReport)({ path: { graph_id: graphId }, body }));
|
|
696
|
+
return {
|
|
697
|
+
operationId: envelope.operationId,
|
|
698
|
+
status: envelope.status,
|
|
699
|
+
result: envelope.result ?? null,
|
|
700
|
+
};
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* Move a Report along the non-file legs of the filing lifecycle
|
|
704
|
+
* (draft ↔ under_review, filed → archived). Use ``fileReport`` to
|
|
705
|
+
* reach 'filed' so the audit fields land cleanly.
|
|
706
|
+
*/
|
|
707
|
+
async transitionFilingStatus(graphId, reportId, targetStatus) {
|
|
708
|
+
const body = {
|
|
709
|
+
report_id: reportId,
|
|
710
|
+
target_status: targetStatus,
|
|
711
|
+
};
|
|
712
|
+
const envelope = await this.callOperation('Transition filing status', (0, sdk_gen_1.opTransitionFilingStatus)({ path: { graph_id: graphId }, body }));
|
|
713
|
+
return {
|
|
714
|
+
operationId: envelope.operationId,
|
|
715
|
+
status: envelope.status,
|
|
716
|
+
result: envelope.result ?? null,
|
|
717
|
+
};
|
|
718
|
+
}
|
|
679
719
|
/** Check if a report was received via sharing (vs locally created). */
|
|
680
720
|
isSharedReport(report) {
|
|
681
721
|
return report.sourceGraphId !== null;
|
|
@@ -44,6 +44,7 @@ import {
|
|
|
44
44
|
opDeleteReport,
|
|
45
45
|
opDeleteTaxonomyBlock,
|
|
46
46
|
opEvaluateRules,
|
|
47
|
+
opFileReport,
|
|
47
48
|
opFinancialStatementAnalysis,
|
|
48
49
|
opInitializeLedger,
|
|
49
50
|
opLinkEntityTaxonomy,
|
|
@@ -54,6 +55,7 @@ import {
|
|
|
54
55
|
opReopenPeriod,
|
|
55
56
|
opSetCloseTarget,
|
|
56
57
|
opShareReport,
|
|
58
|
+
opTransitionFilingStatus,
|
|
57
59
|
opUpdateAgent,
|
|
58
60
|
opUpdateEntity,
|
|
59
61
|
opUpdateEventBlock,
|
|
@@ -81,6 +83,7 @@ import type {
|
|
|
81
83
|
DeleteMappingAssociationOperation,
|
|
82
84
|
DeleteTaxonomyBlockRequest,
|
|
83
85
|
EvaluateRulesRequest,
|
|
86
|
+
FileReportRequest,
|
|
84
87
|
FinancialStatementAnalysisRequest,
|
|
85
88
|
InitializeLedgerRequest,
|
|
86
89
|
LinkEntityTaxonomyRequest,
|
|
@@ -88,6 +91,7 @@ import type {
|
|
|
88
91
|
OperationEnvelope,
|
|
89
92
|
ReopenPeriodOperation,
|
|
90
93
|
SetCloseTargetOperation,
|
|
94
|
+
TransitionFilingStatusRequest,
|
|
91
95
|
UpdateAgentRequest,
|
|
92
96
|
UpdateEntityRequest,
|
|
93
97
|
UpdateEventBlockRequest,
|
|
@@ -114,6 +118,7 @@ import {
|
|
|
114
118
|
GetLedgerPublishListDocument,
|
|
115
119
|
GetLedgerReportDocument,
|
|
116
120
|
GetLedgerReportingTaxonomyDocument,
|
|
121
|
+
GetLedgerReportPackageDocument,
|
|
117
122
|
GetLedgerStatementDocument,
|
|
118
123
|
GetLedgerSummaryDocument,
|
|
119
124
|
GetLedgerTransactionDocument,
|
|
@@ -142,6 +147,7 @@ import {
|
|
|
142
147
|
type GetLedgerPeriodDraftsQuery,
|
|
143
148
|
type GetLedgerPublishListQuery,
|
|
144
149
|
type GetLedgerReportingTaxonomyQuery,
|
|
150
|
+
type GetLedgerReportPackageQuery,
|
|
145
151
|
type GetLedgerReportQuery,
|
|
146
152
|
type GetLedgerStatementQuery,
|
|
147
153
|
type GetLedgerSummaryQuery,
|
|
@@ -227,6 +233,8 @@ export type LedgerFiscalPeriod = LedgerFiscalCalendar['periods'][number]
|
|
|
227
233
|
|
|
228
234
|
// Reports + publish lists + statements
|
|
229
235
|
export type Report = NonNullable<GetLedgerReportQuery['report']>
|
|
236
|
+
export type ReportPackage = NonNullable<GetLedgerReportPackageQuery['reportPackage']>
|
|
237
|
+
export type ReportPackageItem = ReportPackage['items'][number]
|
|
230
238
|
export type ReportListItem = NonNullable<ListLedgerReportsQuery['reports']>['reports'][number]
|
|
231
239
|
export type StatementData = NonNullable<GetLedgerStatementQuery['statement']>
|
|
232
240
|
export type StatementPeriod = StatementData['periods'][number]
|
|
@@ -1532,6 +1540,22 @@ export class LedgerClient {
|
|
|
1532
1540
|
)
|
|
1533
1541
|
}
|
|
1534
1542
|
|
|
1543
|
+
/**
|
|
1544
|
+
* Rehydrate a Report as a package — Report metadata + N
|
|
1545
|
+
* `InformationBlock` envelopes (one per attached FactSet). Drives the
|
|
1546
|
+
* package viewer; returns everything needed to render BS + IS (and any
|
|
1547
|
+
* other statements the Report generated) without per-section fetches.
|
|
1548
|
+
*/
|
|
1549
|
+
async getReportPackage(graphId: string, reportId: string): Promise<ReportPackage | null> {
|
|
1550
|
+
return this.gqlQuery(
|
|
1551
|
+
graphId,
|
|
1552
|
+
GetLedgerReportPackageDocument,
|
|
1553
|
+
{ reportId },
|
|
1554
|
+
'Get report package',
|
|
1555
|
+
(data) => data.reportPackage
|
|
1556
|
+
)
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1535
1559
|
/**
|
|
1536
1560
|
* Render a financial statement — facts viewed through a structure.
|
|
1537
1561
|
*
|
|
@@ -1616,6 +1640,49 @@ export class LedgerClient {
|
|
|
1616
1640
|
}
|
|
1617
1641
|
}
|
|
1618
1642
|
|
|
1643
|
+
/**
|
|
1644
|
+
* Transition a Report's filing_status to 'filed' — locks the package.
|
|
1645
|
+
* Allowed from 'draft' or 'under_review'. Stamps filed_at + filed_by
|
|
1646
|
+
* from the auth context + server clock.
|
|
1647
|
+
*/
|
|
1648
|
+
async fileReport(graphId: string, reportId: string): Promise<ReportOperationAck> {
|
|
1649
|
+
const body: FileReportRequest = { report_id: reportId }
|
|
1650
|
+
const envelope = await this.callOperation(
|
|
1651
|
+
'File report',
|
|
1652
|
+
opFileReport({ path: { graph_id: graphId }, body })
|
|
1653
|
+
)
|
|
1654
|
+
return {
|
|
1655
|
+
operationId: envelope.operationId,
|
|
1656
|
+
status: envelope.status,
|
|
1657
|
+
result: (envelope.result as Record<string, unknown> | null) ?? null,
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* Move a Report along the non-file legs of the filing lifecycle
|
|
1663
|
+
* (draft ↔ under_review, filed → archived). Use ``fileReport`` to
|
|
1664
|
+
* reach 'filed' so the audit fields land cleanly.
|
|
1665
|
+
*/
|
|
1666
|
+
async transitionFilingStatus(
|
|
1667
|
+
graphId: string,
|
|
1668
|
+
reportId: string,
|
|
1669
|
+
targetStatus: string
|
|
1670
|
+
): Promise<ReportOperationAck> {
|
|
1671
|
+
const body: TransitionFilingStatusRequest = {
|
|
1672
|
+
report_id: reportId,
|
|
1673
|
+
target_status: targetStatus,
|
|
1674
|
+
}
|
|
1675
|
+
const envelope = await this.callOperation(
|
|
1676
|
+
'Transition filing status',
|
|
1677
|
+
opTransitionFilingStatus({ path: { graph_id: graphId }, body })
|
|
1678
|
+
)
|
|
1679
|
+
return {
|
|
1680
|
+
operationId: envelope.operationId,
|
|
1681
|
+
status: envelope.status,
|
|
1682
|
+
result: (envelope.result as Record<string, unknown> | null) ?? null,
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1619
1686
|
/** Check if a report was received via sharing (vs locally created). */
|
|
1620
1687
|
isSharedReport(report: Report): boolean {
|
|
1621
1688
|
return report.sourceGraphId !== null
|
|
@@ -309,6 +309,7 @@ export type InformationBlock = {
|
|
|
309
309
|
taxonomyId: Maybe<Scalars['String']['output']>;
|
|
310
310
|
taxonomyName: Maybe<Scalars['String']['output']>;
|
|
311
311
|
verificationResults: Array<InformationBlockVerificationResult>;
|
|
312
|
+
view: InformationBlockViewProjections;
|
|
312
313
|
};
|
|
313
314
|
export type InformationBlockClassification = {
|
|
314
315
|
/** One of the 3 association-level categories in the `public.classifications` CHECK constraint: 'concept_arrangement', 'member_arrangement', or 'named_disclosure'. */
|
|
@@ -371,6 +372,28 @@ export type InformationBlockFactSet = {
|
|
|
371
372
|
reportId: Maybe<Scalars['String']['output']>;
|
|
372
373
|
structureId: Maybe<Scalars['String']['output']>;
|
|
373
374
|
};
|
|
375
|
+
export type InformationBlockRendering = {
|
|
376
|
+
periods: Array<InformationBlockRenderingPeriod>;
|
|
377
|
+
rows: Array<InformationBlockRenderingRow>;
|
|
378
|
+
unmappedCount: Scalars['Int']['output'];
|
|
379
|
+
validation: Maybe<InformationBlockValidation>;
|
|
380
|
+
};
|
|
381
|
+
export type InformationBlockRenderingPeriod = {
|
|
382
|
+
end: Scalars['Date']['output'];
|
|
383
|
+
label: Maybe<Scalars['String']['output']>;
|
|
384
|
+
start: Scalars['Date']['output'];
|
|
385
|
+
};
|
|
386
|
+
export type InformationBlockRenderingRow = {
|
|
387
|
+
balanceType: Maybe<Scalars['String']['output']>;
|
|
388
|
+
/** FASB elementsOfFinancialStatements trait identifier — 'asset', 'liability', 'equity', 'revenue', 'expense'. Surfaced so the viewer can color-code or group rows without a follow-up trait lookup. */
|
|
389
|
+
classification: Maybe<Scalars['String']['output']>;
|
|
390
|
+
depth: Scalars['Int']['output'];
|
|
391
|
+
elementId: Scalars['String']['output'];
|
|
392
|
+
elementName: Scalars['String']['output'];
|
|
393
|
+
elementQname: Maybe<Scalars['String']['output']>;
|
|
394
|
+
isSubtotal: Scalars['Boolean']['output'];
|
|
395
|
+
values: Array<Maybe<Scalars['Float']['output']>>;
|
|
396
|
+
};
|
|
374
397
|
export type InformationBlockRule = {
|
|
375
398
|
id: Scalars['String']['output'];
|
|
376
399
|
/** One of 8 cm:VerificationRule subclasses — AutomatedAccountingAndReportingChecks, FundamentalAccountingConceptRelation, PeerConsistencyRule, PriorPeriodConsistencyRule, ReportLevelModelStructureRule, ReportingSystemSpecificRule, ToDoManualTask, XBRLTechnicalSyntaxRule. */
|
|
@@ -398,6 +421,12 @@ export type InformationBlockRuleVariable = {
|
|
|
398
421
|
/** Concept qname the variable resolves to, e.g. 'fac:Assets'. */
|
|
399
422
|
variableQname: Scalars['String']['output'];
|
|
400
423
|
};
|
|
424
|
+
export type InformationBlockValidation = {
|
|
425
|
+
checks: Array<Scalars['String']['output']>;
|
|
426
|
+
failures: Array<Scalars['String']['output']>;
|
|
427
|
+
passed: Scalars['Boolean']['output'];
|
|
428
|
+
warnings: Array<Scalars['String']['output']>;
|
|
429
|
+
};
|
|
401
430
|
export type InformationBlockVerificationResult = {
|
|
402
431
|
evaluatedAt: Maybe<Scalars['DateTime']['output']>;
|
|
403
432
|
factSetId: Maybe<Scalars['String']['output']>;
|
|
@@ -410,6 +439,9 @@ export type InformationBlockVerificationResult = {
|
|
|
410
439
|
status: Scalars['String']['output'];
|
|
411
440
|
structureId: Maybe<Scalars['String']['output']>;
|
|
412
441
|
};
|
|
442
|
+
export type InformationBlockViewProjections = {
|
|
443
|
+
rendering: Maybe<InformationBlockRendering>;
|
|
444
|
+
};
|
|
413
445
|
export type InformationModel = {
|
|
414
446
|
/** roll_up | roll_forward | variance | adjustment | set | arithmetic | textblock. Null for block types where the concept arrangement is implicit in their mechanics. */
|
|
415
447
|
conceptArrangement: Maybe<Scalars['String']['output']>;
|
|
@@ -819,6 +851,7 @@ export type Query = {
|
|
|
819
851
|
publishList: Maybe<PublishListDetail>;
|
|
820
852
|
publishLists: Maybe<PublishListList>;
|
|
821
853
|
report: Maybe<Report>;
|
|
854
|
+
reportPackage: Maybe<ReportPackage>;
|
|
822
855
|
reportingTaxonomy: Maybe<Taxonomy>;
|
|
823
856
|
reports: Maybe<ReportList>;
|
|
824
857
|
searchLibraryElements: Array<LibraryElement>;
|
|
@@ -980,6 +1013,9 @@ export type QueryPublishListsArgs = {
|
|
|
980
1013
|
export type QueryReportArgs = {
|
|
981
1014
|
reportId: Scalars['String']['input'];
|
|
982
1015
|
};
|
|
1016
|
+
export type QueryReportPackageArgs = {
|
|
1017
|
+
reportId: Scalars['String']['input'];
|
|
1018
|
+
};
|
|
983
1019
|
export type QuerySearchLibraryElementsArgs = {
|
|
984
1020
|
limit?: Scalars['Int']['input'];
|
|
985
1021
|
query: Scalars['String']['input'];
|
|
@@ -1038,6 +1074,9 @@ export type Report = {
|
|
|
1038
1074
|
comparative: Scalars['Boolean']['output'];
|
|
1039
1075
|
createdAt: Scalars['DateTime']['output'];
|
|
1040
1076
|
entityName: Maybe<Scalars['String']['output']>;
|
|
1077
|
+
filedAt: Maybe<Scalars['DateTime']['output']>;
|
|
1078
|
+
filedBy: Maybe<Scalars['String']['output']>;
|
|
1079
|
+
filingStatus: Scalars['String']['output'];
|
|
1041
1080
|
generationStatus: Scalars['String']['output'];
|
|
1042
1081
|
id: Scalars['String']['output'];
|
|
1043
1082
|
lastGenerated: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -1052,11 +1091,43 @@ export type Report = {
|
|
|
1052
1091
|
sourceGraphId: Maybe<Scalars['String']['output']>;
|
|
1053
1092
|
sourceReportId: Maybe<Scalars['String']['output']>;
|
|
1054
1093
|
structures: Array<StructureSummary>;
|
|
1094
|
+
supersededById: Maybe<Scalars['String']['output']>;
|
|
1095
|
+
supersedesId: Maybe<Scalars['String']['output']>;
|
|
1055
1096
|
taxonomyId: Scalars['String']['output'];
|
|
1056
1097
|
};
|
|
1057
1098
|
export type ReportList = {
|
|
1058
1099
|
reports: Array<Report>;
|
|
1059
1100
|
};
|
|
1101
|
+
export type ReportPackage = {
|
|
1102
|
+
aiGenerated: Scalars['Boolean']['output'];
|
|
1103
|
+
createdAt: Scalars['String']['output'];
|
|
1104
|
+
createdBy: Scalars['String']['output'];
|
|
1105
|
+
description: Maybe<Scalars['String']['output']>;
|
|
1106
|
+
entityName: Maybe<Scalars['String']['output']>;
|
|
1107
|
+
filedAt: Maybe<Scalars['String']['output']>;
|
|
1108
|
+
filedBy: Maybe<Scalars['String']['output']>;
|
|
1109
|
+
filingStatus: Scalars['String']['output'];
|
|
1110
|
+
generationStatus: Scalars['String']['output'];
|
|
1111
|
+
id: Scalars['ID']['output'];
|
|
1112
|
+
items: Array<ReportPackageItem>;
|
|
1113
|
+
lastGenerated: Maybe<Scalars['String']['output']>;
|
|
1114
|
+
name: Scalars['String']['output'];
|
|
1115
|
+
periodEnd: Maybe<Scalars['String']['output']>;
|
|
1116
|
+
periodStart: Maybe<Scalars['String']['output']>;
|
|
1117
|
+
periodType: Scalars['String']['output'];
|
|
1118
|
+
sharedAt: Maybe<Scalars['String']['output']>;
|
|
1119
|
+
sourceGraphId: Maybe<Scalars['String']['output']>;
|
|
1120
|
+
sourceReportId: Maybe<Scalars['String']['output']>;
|
|
1121
|
+
supersededById: Maybe<Scalars['String']['output']>;
|
|
1122
|
+
supersedesId: Maybe<Scalars['String']['output']>;
|
|
1123
|
+
taxonomyId: Scalars['String']['output'];
|
|
1124
|
+
};
|
|
1125
|
+
export type ReportPackageItem = {
|
|
1126
|
+
block: InformationBlock;
|
|
1127
|
+
displayOrder: Scalars['Int']['output'];
|
|
1128
|
+
factSetId: Scalars['String']['output'];
|
|
1129
|
+
structureId: Maybe<Scalars['String']['output']>;
|
|
1130
|
+
};
|
|
1060
1131
|
export type Security = {
|
|
1061
1132
|
authorizedShares: Maybe<Scalars['Int']['output']>;
|
|
1062
1133
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -1705,6 +1776,61 @@ export type GetInformationBlockQuery = {
|
|
|
1705
1776
|
factScope: string;
|
|
1706
1777
|
factSetId: string | null;
|
|
1707
1778
|
}>;
|
|
1779
|
+
rules: Array<{
|
|
1780
|
+
id: string;
|
|
1781
|
+
ruleCategory: string;
|
|
1782
|
+
rulePattern: string;
|
|
1783
|
+
ruleExpression: string;
|
|
1784
|
+
ruleMessage: string | null;
|
|
1785
|
+
ruleSeverity: string;
|
|
1786
|
+
ruleOrigin: string;
|
|
1787
|
+
}>;
|
|
1788
|
+
factSet: {
|
|
1789
|
+
id: string;
|
|
1790
|
+
structureId: string | null;
|
|
1791
|
+
periodStart: any | null;
|
|
1792
|
+
periodEnd: any;
|
|
1793
|
+
factsetType: string;
|
|
1794
|
+
entityId: string;
|
|
1795
|
+
reportId: string | null;
|
|
1796
|
+
} | null;
|
|
1797
|
+
verificationResults: Array<{
|
|
1798
|
+
id: string;
|
|
1799
|
+
ruleId: string;
|
|
1800
|
+
structureId: string | null;
|
|
1801
|
+
factSetId: string | null;
|
|
1802
|
+
status: string;
|
|
1803
|
+
message: string | null;
|
|
1804
|
+
periodStart: any | null;
|
|
1805
|
+
periodEnd: any | null;
|
|
1806
|
+
evaluatedAt: any | null;
|
|
1807
|
+
}>;
|
|
1808
|
+
view: {
|
|
1809
|
+
rendering: {
|
|
1810
|
+
unmappedCount: number;
|
|
1811
|
+
rows: Array<{
|
|
1812
|
+
elementId: string;
|
|
1813
|
+
elementQname: string | null;
|
|
1814
|
+
elementName: string;
|
|
1815
|
+
classification: string | null;
|
|
1816
|
+
balanceType: string | null;
|
|
1817
|
+
values: Array<number | null>;
|
|
1818
|
+
isSubtotal: boolean;
|
|
1819
|
+
depth: number;
|
|
1820
|
+
}>;
|
|
1821
|
+
periods: Array<{
|
|
1822
|
+
start: any;
|
|
1823
|
+
end: any;
|
|
1824
|
+
label: string | null;
|
|
1825
|
+
}>;
|
|
1826
|
+
validation: {
|
|
1827
|
+
passed: boolean;
|
|
1828
|
+
checks: Array<string>;
|
|
1829
|
+
failures: Array<string>;
|
|
1830
|
+
warnings: Array<string>;
|
|
1831
|
+
} | null;
|
|
1832
|
+
} | null;
|
|
1833
|
+
};
|
|
1708
1834
|
} | null;
|
|
1709
1835
|
};
|
|
1710
1836
|
export type ListInformationBlocksQueryVariables = Exact<{
|
|
@@ -1763,6 +1889,61 @@ export type ListInformationBlocksQuery = {
|
|
|
1763
1889
|
factScope: string;
|
|
1764
1890
|
factSetId: string | null;
|
|
1765
1891
|
}>;
|
|
1892
|
+
rules: Array<{
|
|
1893
|
+
id: string;
|
|
1894
|
+
ruleCategory: string;
|
|
1895
|
+
rulePattern: string;
|
|
1896
|
+
ruleExpression: string;
|
|
1897
|
+
ruleMessage: string | null;
|
|
1898
|
+
ruleSeverity: string;
|
|
1899
|
+
ruleOrigin: string;
|
|
1900
|
+
}>;
|
|
1901
|
+
factSet: {
|
|
1902
|
+
id: string;
|
|
1903
|
+
structureId: string | null;
|
|
1904
|
+
periodStart: any | null;
|
|
1905
|
+
periodEnd: any;
|
|
1906
|
+
factsetType: string;
|
|
1907
|
+
entityId: string;
|
|
1908
|
+
reportId: string | null;
|
|
1909
|
+
} | null;
|
|
1910
|
+
verificationResults: Array<{
|
|
1911
|
+
id: string;
|
|
1912
|
+
ruleId: string;
|
|
1913
|
+
structureId: string | null;
|
|
1914
|
+
factSetId: string | null;
|
|
1915
|
+
status: string;
|
|
1916
|
+
message: string | null;
|
|
1917
|
+
periodStart: any | null;
|
|
1918
|
+
periodEnd: any | null;
|
|
1919
|
+
evaluatedAt: any | null;
|
|
1920
|
+
}>;
|
|
1921
|
+
view: {
|
|
1922
|
+
rendering: {
|
|
1923
|
+
unmappedCount: number;
|
|
1924
|
+
rows: Array<{
|
|
1925
|
+
elementId: string;
|
|
1926
|
+
elementQname: string | null;
|
|
1927
|
+
elementName: string;
|
|
1928
|
+
classification: string | null;
|
|
1929
|
+
balanceType: string | null;
|
|
1930
|
+
values: Array<number | null>;
|
|
1931
|
+
isSubtotal: boolean;
|
|
1932
|
+
depth: number;
|
|
1933
|
+
}>;
|
|
1934
|
+
periods: Array<{
|
|
1935
|
+
start: any;
|
|
1936
|
+
end: any;
|
|
1937
|
+
label: string | null;
|
|
1938
|
+
}>;
|
|
1939
|
+
validation: {
|
|
1940
|
+
passed: boolean;
|
|
1941
|
+
checks: Array<string>;
|
|
1942
|
+
failures: Array<string>;
|
|
1943
|
+
warnings: Array<string>;
|
|
1944
|
+
} | null;
|
|
1945
|
+
} | null;
|
|
1946
|
+
};
|
|
1766
1947
|
}>;
|
|
1767
1948
|
};
|
|
1768
1949
|
export type GetLedgerMappedTrialBalanceQueryVariables = Exact<{
|
|
@@ -1978,6 +2159,144 @@ export type GetLedgerReportQuery = {
|
|
|
1978
2159
|
}>;
|
|
1979
2160
|
} | null;
|
|
1980
2161
|
};
|
|
2162
|
+
export type GetLedgerReportPackageQueryVariables = Exact<{
|
|
2163
|
+
reportId: Scalars['String']['input'];
|
|
2164
|
+
}>;
|
|
2165
|
+
export type GetLedgerReportPackageQuery = {
|
|
2166
|
+
reportPackage: {
|
|
2167
|
+
id: string;
|
|
2168
|
+
name: string;
|
|
2169
|
+
description: string | null;
|
|
2170
|
+
taxonomyId: string;
|
|
2171
|
+
periodType: string;
|
|
2172
|
+
periodStart: string | null;
|
|
2173
|
+
periodEnd: string | null;
|
|
2174
|
+
generationStatus: string;
|
|
2175
|
+
lastGenerated: string | null;
|
|
2176
|
+
filingStatus: string;
|
|
2177
|
+
filedAt: string | null;
|
|
2178
|
+
filedBy: string | null;
|
|
2179
|
+
supersedesId: string | null;
|
|
2180
|
+
supersededById: string | null;
|
|
2181
|
+
sourceGraphId: string | null;
|
|
2182
|
+
sourceReportId: string | null;
|
|
2183
|
+
sharedAt: string | null;
|
|
2184
|
+
entityName: string | null;
|
|
2185
|
+
aiGenerated: boolean;
|
|
2186
|
+
createdAt: string;
|
|
2187
|
+
createdBy: string;
|
|
2188
|
+
items: Array<{
|
|
2189
|
+
factSetId: string;
|
|
2190
|
+
structureId: string | null;
|
|
2191
|
+
displayOrder: number;
|
|
2192
|
+
block: {
|
|
2193
|
+
id: string;
|
|
2194
|
+
blockType: string;
|
|
2195
|
+
name: string;
|
|
2196
|
+
displayName: string;
|
|
2197
|
+
category: string;
|
|
2198
|
+
taxonomyId: string | null;
|
|
2199
|
+
taxonomyName: string | null;
|
|
2200
|
+
informationModel: {
|
|
2201
|
+
conceptArrangement: string | null;
|
|
2202
|
+
memberArrangement: string | null;
|
|
2203
|
+
};
|
|
2204
|
+
artifact: {
|
|
2205
|
+
topic: string | null;
|
|
2206
|
+
parentheticalNote: string | null;
|
|
2207
|
+
template: any | null;
|
|
2208
|
+
mechanics: any;
|
|
2209
|
+
};
|
|
2210
|
+
elements: Array<{
|
|
2211
|
+
id: string;
|
|
2212
|
+
qname: string | null;
|
|
2213
|
+
name: string;
|
|
2214
|
+
code: string | null;
|
|
2215
|
+
elementType: string;
|
|
2216
|
+
isAbstract: boolean;
|
|
2217
|
+
isMonetary: boolean;
|
|
2218
|
+
balanceType: string | null;
|
|
2219
|
+
periodType: string | null;
|
|
2220
|
+
}>;
|
|
2221
|
+
connections: Array<{
|
|
2222
|
+
id: string;
|
|
2223
|
+
fromElementId: string;
|
|
2224
|
+
toElementId: string;
|
|
2225
|
+
associationType: string;
|
|
2226
|
+
arcrole: string | null;
|
|
2227
|
+
orderValue: number | null;
|
|
2228
|
+
weight: number | null;
|
|
2229
|
+
}>;
|
|
2230
|
+
facts: Array<{
|
|
2231
|
+
id: string;
|
|
2232
|
+
elementId: string;
|
|
2233
|
+
value: number;
|
|
2234
|
+
periodStart: any | null;
|
|
2235
|
+
periodEnd: any;
|
|
2236
|
+
periodType: string;
|
|
2237
|
+
unit: string;
|
|
2238
|
+
factScope: string;
|
|
2239
|
+
factSetId: string | null;
|
|
2240
|
+
}>;
|
|
2241
|
+
rules: Array<{
|
|
2242
|
+
id: string;
|
|
2243
|
+
ruleCategory: string;
|
|
2244
|
+
rulePattern: string;
|
|
2245
|
+
ruleExpression: string;
|
|
2246
|
+
ruleMessage: string | null;
|
|
2247
|
+
ruleSeverity: string;
|
|
2248
|
+
ruleOrigin: string;
|
|
2249
|
+
}>;
|
|
2250
|
+
factSet: {
|
|
2251
|
+
id: string;
|
|
2252
|
+
structureId: string | null;
|
|
2253
|
+
periodStart: any | null;
|
|
2254
|
+
periodEnd: any;
|
|
2255
|
+
factsetType: string;
|
|
2256
|
+
entityId: string;
|
|
2257
|
+
reportId: string | null;
|
|
2258
|
+
} | null;
|
|
2259
|
+
verificationResults: Array<{
|
|
2260
|
+
id: string;
|
|
2261
|
+
ruleId: string;
|
|
2262
|
+
structureId: string | null;
|
|
2263
|
+
factSetId: string | null;
|
|
2264
|
+
status: string;
|
|
2265
|
+
message: string | null;
|
|
2266
|
+
periodStart: any | null;
|
|
2267
|
+
periodEnd: any | null;
|
|
2268
|
+
evaluatedAt: any | null;
|
|
2269
|
+
}>;
|
|
2270
|
+
view: {
|
|
2271
|
+
rendering: {
|
|
2272
|
+
unmappedCount: number;
|
|
2273
|
+
rows: Array<{
|
|
2274
|
+
elementId: string;
|
|
2275
|
+
elementQname: string | null;
|
|
2276
|
+
elementName: string;
|
|
2277
|
+
classification: string | null;
|
|
2278
|
+
balanceType: string | null;
|
|
2279
|
+
values: Array<number | null>;
|
|
2280
|
+
isSubtotal: boolean;
|
|
2281
|
+
depth: number;
|
|
2282
|
+
}>;
|
|
2283
|
+
periods: Array<{
|
|
2284
|
+
start: any;
|
|
2285
|
+
end: any;
|
|
2286
|
+
label: string | null;
|
|
2287
|
+
}>;
|
|
2288
|
+
validation: {
|
|
2289
|
+
passed: boolean;
|
|
2290
|
+
checks: Array<string>;
|
|
2291
|
+
failures: Array<string>;
|
|
2292
|
+
warnings: Array<string>;
|
|
2293
|
+
} | null;
|
|
2294
|
+
} | null;
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
}>;
|
|
2298
|
+
} | null;
|
|
2299
|
+
};
|
|
1981
2300
|
export type GetLedgerReportingTaxonomyQueryVariables = Exact<{
|
|
1982
2301
|
[key: string]: never;
|
|
1983
2302
|
}>;
|
|
@@ -2477,6 +2796,7 @@ export declare const GetLedgerPeriodDraftsDocument: DocumentNode<GetLedgerPeriod
|
|
|
2477
2796
|
export declare const GetLedgerPublishListDocument: DocumentNode<GetLedgerPublishListQuery, GetLedgerPublishListQueryVariables>;
|
|
2478
2797
|
export declare const ListLedgerPublishListsDocument: DocumentNode<ListLedgerPublishListsQuery, ListLedgerPublishListsQueryVariables>;
|
|
2479
2798
|
export declare const GetLedgerReportDocument: DocumentNode<GetLedgerReportQuery, GetLedgerReportQueryVariables>;
|
|
2799
|
+
export declare const GetLedgerReportPackageDocument: DocumentNode<GetLedgerReportPackageQuery, GetLedgerReportPackageQueryVariables>;
|
|
2480
2800
|
export declare const GetLedgerReportingTaxonomyDocument: DocumentNode<GetLedgerReportingTaxonomyQuery, GetLedgerReportingTaxonomyQueryVariables>;
|
|
2481
2801
|
export declare const ListLedgerReportsDocument: DocumentNode<ListLedgerReportsQuery, ListLedgerReportsQueryVariables>;
|
|
2482
2802
|
export declare const GetLedgerStatementDocument: DocumentNode<GetLedgerStatementQuery, GetLedgerStatementQueryVariables>;
|