@robosystems/client 0.3.24 → 0.3.26
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 +3 -3
- package/artifacts/LedgerClient.js +4 -4
- package/artifacts/LedgerClient.ts +5 -5
- package/artifacts/graphql/generated/graphql.d.ts +60 -34
- package/artifacts/graphql/generated/graphql.js +94 -19
- package/artifacts/graphql/generated/graphql.ts +136 -53
- package/artifacts/graphql/queries/ledger/closingBookStructures.js +1 -1
- package/artifacts/graphql/queries/ledger/closingBookStructures.ts +1 -1
- package/artifacts/graphql/queries/ledger/informationBlock.js +20 -2
- package/artifacts/graphql/queries/ledger/informationBlock.ts +20 -2
- package/artifacts/graphql/queries/ledger/mapping.js +1 -1
- package/artifacts/graphql/queries/ledger/mapping.ts +1 -1
- package/artifacts/graphql/queries/ledger/mappings.d.ts +1 -1
- package/artifacts/graphql/queries/ledger/mappings.js +2 -2
- package/artifacts/graphql/queries/ledger/mappings.ts +2 -2
- package/artifacts/graphql/queries/ledger/report.js +1 -1
- package/artifacts/graphql/queries/ledger/report.ts +1 -1
- package/artifacts/graphql/queries/ledger/reportPackage.d.ts +1 -1
- package/artifacts/graphql/queries/ledger/reportPackage.js +10 -2
- package/artifacts/graphql/queries/ledger/reportPackage.ts +10 -2
- package/artifacts/graphql/queries/ledger/reports.js +1 -1
- package/artifacts/graphql/queries/ledger/reports.ts +1 -1
- package/artifacts/graphql/queries/ledger/statement.d.ts +1 -1
- package/artifacts/graphql/queries/ledger/statement.js +4 -4
- package/artifacts/graphql/queries/ledger/statement.ts +4 -4
- package/artifacts/graphql/queries/ledger/structures.js +3 -3
- package/artifacts/graphql/queries/ledger/structures.ts +3 -3
- package/package.json +1 -1
- package/sdk/types.gen.d.ts +21 -15
- package/sdk/types.gen.ts +21 -15
- package/types.gen.d.ts +21 -15
- package/types.gen.ts +21 -15
|
@@ -306,7 +306,7 @@ export declare class LedgerClient {
|
|
|
306
306
|
/** List reporting structures (IS, BS, CF, schedules) with optional filters. */
|
|
307
307
|
listStructures(graphId: string, options?: {
|
|
308
308
|
taxonomyId?: string;
|
|
309
|
-
|
|
309
|
+
blockType?: string;
|
|
310
310
|
}): Promise<LedgerStructure[]>;
|
|
311
311
|
/** List active CoA→reporting mapping structures. */
|
|
312
312
|
listMappings(graphId: string): Promise<LedgerMappingInfo[]>;
|
|
@@ -519,9 +519,9 @@ export declare class LedgerClient {
|
|
|
519
519
|
/**
|
|
520
520
|
* Render a financial statement — facts viewed through a structure.
|
|
521
521
|
*
|
|
522
|
-
* @param
|
|
522
|
+
* @param blockType - income_statement, balance_sheet, cash_flow_statement
|
|
523
523
|
*/
|
|
524
|
-
getStatement(graphId: string, reportId: string,
|
|
524
|
+
getStatement(graphId: string, reportId: string, blockType: string): Promise<StatementData | null>;
|
|
525
525
|
/**
|
|
526
526
|
* Regenerate an existing report (async). Returns an operation id;
|
|
527
527
|
* subscribe via SSE for progress.
|
|
@@ -191,7 +191,7 @@ class LedgerClient {
|
|
|
191
191
|
async listStructures(graphId, options) {
|
|
192
192
|
const list = await this.gqlQuery(graphId, graphql_1.ListLedgerStructuresDocument, {
|
|
193
193
|
taxonomyId: options?.taxonomyId ?? null,
|
|
194
|
-
|
|
194
|
+
blockType: options?.blockType ?? null,
|
|
195
195
|
}, 'List structures', (data) => data.structures);
|
|
196
196
|
return list?.structures ?? [];
|
|
197
197
|
}
|
|
@@ -685,10 +685,10 @@ class LedgerClient {
|
|
|
685
685
|
/**
|
|
686
686
|
* Render a financial statement — facts viewed through a structure.
|
|
687
687
|
*
|
|
688
|
-
* @param
|
|
688
|
+
* @param blockType - income_statement, balance_sheet, cash_flow_statement
|
|
689
689
|
*/
|
|
690
|
-
async getStatement(graphId, reportId,
|
|
691
|
-
return this.gqlQuery(graphId, graphql_1.GetLedgerStatementDocument, { reportId,
|
|
690
|
+
async getStatement(graphId, reportId, blockType) {
|
|
691
|
+
return this.gqlQuery(graphId, graphql_1.GetLedgerStatementDocument, { reportId, blockType }, 'Get statement', (data) => data.statement);
|
|
692
692
|
}
|
|
693
693
|
/**
|
|
694
694
|
* Regenerate an existing report (async). Returns an operation id;
|
|
@@ -906,14 +906,14 @@ export class LedgerClient {
|
|
|
906
906
|
/** List reporting structures (IS, BS, CF, schedules) with optional filters. */
|
|
907
907
|
async listStructures(
|
|
908
908
|
graphId: string,
|
|
909
|
-
options?: { taxonomyId?: string;
|
|
909
|
+
options?: { taxonomyId?: string; blockType?: string }
|
|
910
910
|
): Promise<LedgerStructure[]> {
|
|
911
911
|
const list = await this.gqlQuery(
|
|
912
912
|
graphId,
|
|
913
913
|
ListLedgerStructuresDocument,
|
|
914
914
|
{
|
|
915
915
|
taxonomyId: options?.taxonomyId ?? null,
|
|
916
|
-
|
|
916
|
+
blockType: options?.blockType ?? null,
|
|
917
917
|
},
|
|
918
918
|
'List structures',
|
|
919
919
|
(data) => data.structures
|
|
@@ -1731,17 +1731,17 @@ export class LedgerClient {
|
|
|
1731
1731
|
/**
|
|
1732
1732
|
* Render a financial statement — facts viewed through a structure.
|
|
1733
1733
|
*
|
|
1734
|
-
* @param
|
|
1734
|
+
* @param blockType - income_statement, balance_sheet, cash_flow_statement
|
|
1735
1735
|
*/
|
|
1736
1736
|
async getStatement(
|
|
1737
1737
|
graphId: string,
|
|
1738
1738
|
reportId: string,
|
|
1739
|
-
|
|
1739
|
+
blockType: string
|
|
1740
1740
|
): Promise<StatementData | null> {
|
|
1741
1741
|
return this.gqlQuery(
|
|
1742
1742
|
graphId,
|
|
1743
1743
|
GetLedgerStatementDocument,
|
|
1744
|
-
{ reportId,
|
|
1744
|
+
{ reportId, blockType },
|
|
1745
1745
|
'Get statement',
|
|
1746
1746
|
(data) => data.statement
|
|
1747
1747
|
)
|
|
@@ -162,7 +162,7 @@ export type Agent = {
|
|
|
162
162
|
};
|
|
163
163
|
export type Artifact = {
|
|
164
164
|
mechanics: Scalars['JSON']['output'];
|
|
165
|
-
|
|
165
|
+
rendererNote: Maybe<Scalars['String']['output']>;
|
|
166
166
|
template: Maybe<Scalars['JSON']['output']>;
|
|
167
167
|
topic: Maybe<Scalars['String']['output']>;
|
|
168
168
|
};
|
|
@@ -210,12 +210,12 @@ export type ClosingBookCategory = {
|
|
|
210
210
|
* carry ``status`` ('complete' | 'draft' | 'pending').
|
|
211
211
|
*/
|
|
212
212
|
export type ClosingBookItem = {
|
|
213
|
+
blockType: Maybe<Scalars['String']['output']>;
|
|
213
214
|
id: Scalars['String']['output'];
|
|
214
215
|
itemType: Scalars['String']['output'];
|
|
215
216
|
name: Scalars['String']['output'];
|
|
216
217
|
reportId: Maybe<Scalars['String']['output']>;
|
|
217
218
|
status: Maybe<Scalars['String']['output']>;
|
|
218
|
-
structureType: Maybe<Scalars['String']['output']>;
|
|
219
219
|
};
|
|
220
220
|
/**
|
|
221
221
|
* The closing book navigation tree — categories + items the UI
|
|
@@ -480,7 +480,7 @@ export type InformationBlockClassification = {
|
|
|
480
480
|
confidence: Maybe<Scalars['Float']['output']>;
|
|
481
481
|
/** Classification vocabulary row id. */
|
|
482
482
|
id: Scalars['String']['output'];
|
|
483
|
-
/** Vocabulary identifier within the category — e.g. 'RollUp', '
|
|
483
|
+
/** Vocabulary identifier within the category — e.g. 'RollUp', 'whole_part', 'AssetsRollUp'. */
|
|
484
484
|
identifier: Scalars['String']['output'];
|
|
485
485
|
/** Whether this is the canonical classification for the (association|element, category) pair. Non-primary rows capture alternates / AI suggestions alongside the chosen primary. */
|
|
486
486
|
isPrimary: Scalars['Boolean']['output'];
|
|
@@ -613,12 +613,14 @@ export type InformationBlockRule = {
|
|
|
613
613
|
id: Scalars['String']['output'];
|
|
614
614
|
/** One of 8 cm:VerificationRule subclasses — AutomatedAccountingAndReportingChecks, FundamentalAccountingConceptRelation, PeerConsistencyRule, PriorPeriodConsistencyRule, ReportLevelModelStructureRule, ReportingSystemSpecificRule, ToDoManualTask, XBRLTechnicalSyntaxRule. */
|
|
615
615
|
ruleCategory: Scalars['String']['output'];
|
|
616
|
+
/** Model-structure check kind evaluated over the association graph. One of 6 kinds — LeafHasClassification, LibraryOriginImmutability, NoCycles, NoOrphanArcs, ParentBeforeChild, UniqueQNameInTaxonomy. Null when the rule is an arithmetic pattern (see rule_pattern). Exactly one of rule_pattern / rule_check_kind is non-null per rule. */
|
|
617
|
+
ruleCheckKind: Maybe<Scalars['String']['output']>;
|
|
616
618
|
ruleExpression: Scalars['String']['output'];
|
|
617
619
|
ruleMessage: Maybe<Scalars['String']['output']>;
|
|
618
620
|
/** Provenance — 'forked' (from an upstream artifact, e.g. Seattle Method) or 'native' (authored in this seed or by a tenant). Enum closure enforced by the ``public.rules`` CHECK constraint. */
|
|
619
621
|
ruleOrigin: Scalars['String']['output'];
|
|
620
|
-
/** One of
|
|
621
|
-
rulePattern: Scalars['String']['output']
|
|
622
|
+
/** Arithmetic / logical pattern evaluated over fact values. One of 11 cm:BusinessRulePattern mechanisms — Adjustment, CoExists, EqualTo, Exists, GreaterThan, GreaterThanOrEqualToZero, LessThan, RollForward, RollUp, SumEquals, Variance. Null when the rule is a structural check (see rule_check_kind). */
|
|
623
|
+
rulePattern: Maybe<Scalars['String']['output']>;
|
|
622
624
|
/** Failure severity — 'info' | 'warning' | 'error'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
|
|
623
625
|
ruleSeverity: Scalars['String']['output'];
|
|
624
626
|
ruleTarget: Maybe<InformationBlockRuleTarget>;
|
|
@@ -695,7 +697,7 @@ export type InformationBlockViewProjections = {
|
|
|
695
697
|
export type InformationModel = {
|
|
696
698
|
/** roll_up | roll_forward | variance | adjustment | set | arithmetic | textblock. Null for block types where the concept arrangement is implicit in their mechanics. */
|
|
697
699
|
conceptArrangement: Maybe<Scalars['String']['output']>;
|
|
698
|
-
/**
|
|
700
|
+
/** is_a | whole_part | nested_whole_part | two_dimension_aggregation | complex_aggregating_whole_part, or null if non-hypercube. */
|
|
699
701
|
memberArrangement: Maybe<Scalars['String']['output']>;
|
|
700
702
|
};
|
|
701
703
|
/**
|
|
@@ -983,13 +985,13 @@ export type LibraryReference = {
|
|
|
983
985
|
};
|
|
984
986
|
/** A named structure (extended link role) within a library taxonomy. */
|
|
985
987
|
export type LibraryStructure = {
|
|
988
|
+
/** balance_sheet | income_statement | cash_flow_statement | custom | … */
|
|
989
|
+
blockType: Scalars['String']['output'];
|
|
986
990
|
id: Scalars['String']['output'];
|
|
987
991
|
isActive: Scalars['Boolean']['output'];
|
|
988
992
|
name: Scalars['String']['output'];
|
|
989
993
|
/** Original XBRL role URI if any */
|
|
990
994
|
roleUri: Maybe<Scalars['String']['output']>;
|
|
991
|
-
/** balance_sheet | income_statement | cash_flow_statement | custom | … */
|
|
992
|
-
structureType: Scalars['String']['output'];
|
|
993
995
|
taxonomyId: Scalars['String']['output'];
|
|
994
996
|
};
|
|
995
997
|
/** A library taxonomy (fac, us-gaap, rs-gaap, …). */
|
|
@@ -1041,9 +1043,9 @@ export type MappingCoverage = {
|
|
|
1041
1043
|
/** A mapping structure with all its associations. */
|
|
1042
1044
|
export type MappingDetail = {
|
|
1043
1045
|
associations: Array<Association>;
|
|
1046
|
+
blockType: Scalars['String']['output'];
|
|
1044
1047
|
id: Scalars['String']['output'];
|
|
1045
1048
|
name: Scalars['String']['output'];
|
|
1046
|
-
structureType: Scalars['String']['output'];
|
|
1047
1049
|
taxonomyId: Scalars['String']['output'];
|
|
1048
1050
|
totalAssociations: Scalars['Int']['output'];
|
|
1049
1051
|
};
|
|
@@ -1536,7 +1538,7 @@ export type QueryLibraryStructureArgs = {
|
|
|
1536
1538
|
id: Scalars['ID']['input'];
|
|
1537
1539
|
};
|
|
1538
1540
|
export type QueryLibraryStructuresArgs = {
|
|
1539
|
-
|
|
1541
|
+
blockType?: InputMaybe<Scalars['String']['input']>;
|
|
1540
1542
|
taxonomyId?: InputMaybe<Scalars['ID']['input']>;
|
|
1541
1543
|
};
|
|
1542
1544
|
export type QueryLibraryTaxonomiesArgs = {
|
|
@@ -1625,11 +1627,11 @@ export type QuerySecurityArgs = {
|
|
|
1625
1627
|
securityId: Scalars['String']['input'];
|
|
1626
1628
|
};
|
|
1627
1629
|
export type QueryStatementArgs = {
|
|
1630
|
+
blockType: Scalars['String']['input'];
|
|
1628
1631
|
reportId: Scalars['String']['input'];
|
|
1629
|
-
structureType: Scalars['String']['input'];
|
|
1630
1632
|
};
|
|
1631
1633
|
export type QueryStructuresArgs = {
|
|
1632
|
-
|
|
1634
|
+
blockType?: InputMaybe<Scalars['String']['input']>;
|
|
1633
1635
|
taxonomyId?: InputMaybe<Scalars['String']['input']>;
|
|
1634
1636
|
};
|
|
1635
1637
|
export type QueryTaxonomiesArgs = {
|
|
@@ -1803,6 +1805,8 @@ export type SecurityLite = {
|
|
|
1803
1805
|
* rehydrated as ``InformationBlockEnvelope`` items instead.
|
|
1804
1806
|
*/
|
|
1805
1807
|
export type Statement = {
|
|
1808
|
+
/** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
|
|
1809
|
+
blockType: Scalars['String']['output'];
|
|
1806
1810
|
/** Period columns rendered in this statement, in display order. */
|
|
1807
1811
|
periods: Array<PeriodSpec>;
|
|
1808
1812
|
/** The Report this statement was rendered from. */
|
|
@@ -1813,8 +1817,6 @@ export type Statement = {
|
|
|
1813
1817
|
structureId: Scalars['String']['output'];
|
|
1814
1818
|
/** Human-readable structure name. */
|
|
1815
1819
|
structureName: Scalars['String']['output'];
|
|
1816
|
-
/** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
|
|
1817
|
-
structureType: Scalars['String']['output'];
|
|
1818
1820
|
/** Number of GL elements that fell through the mapping with no destination concept. Indicates mapping gaps. */
|
|
1819
1821
|
unmappedCount: Scalars['Int']['output'];
|
|
1820
1822
|
/** Outcome of running reporting rules over this structure. Null when the structure has no rules attached. */
|
|
@@ -1824,16 +1826,16 @@ export type Statement = {
|
|
|
1824
1826
|
* One structure header — a renderable section within a taxonomy
|
|
1825
1827
|
* (balance sheet, income statement, schedule, etc.).
|
|
1826
1828
|
*
|
|
1827
|
-
* ``
|
|
1829
|
+
* ``block_type`` drives presentation: 'balance_sheet',
|
|
1828
1830
|
* 'income_statement', 'cash_flow_statement', 'equity_statement',
|
|
1829
1831
|
* 'schedule', 'chart_of_accounts', 'coa_mapping', 'rollforward', etc.
|
|
1830
1832
|
*/
|
|
1831
1833
|
export type Structure = {
|
|
1834
|
+
blockType: Scalars['String']['output'];
|
|
1832
1835
|
description: Maybe<Scalars['String']['output']>;
|
|
1833
1836
|
id: Scalars['String']['output'];
|
|
1834
1837
|
isActive: Scalars['Boolean']['output'];
|
|
1835
1838
|
name: Scalars['String']['output'];
|
|
1836
|
-
structureType: Scalars['String']['output'];
|
|
1837
1839
|
taxonomyId: Scalars['String']['output'];
|
|
1838
1840
|
};
|
|
1839
1841
|
/** Flat list of structures within a taxonomy. */
|
|
@@ -1848,12 +1850,12 @@ export type StructureList = {
|
|
|
1848
1850
|
* row owns the facts; structures are the lenses that project them.
|
|
1849
1851
|
*/
|
|
1850
1852
|
export type StructureSummary = {
|
|
1853
|
+
/** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
|
|
1854
|
+
blockType: Scalars['String']['output'];
|
|
1851
1855
|
/** Structure identifier. */
|
|
1852
1856
|
id: Scalars['String']['output'];
|
|
1853
1857
|
/** Human-readable structure name. */
|
|
1854
1858
|
name: Scalars['String']['output'];
|
|
1855
|
-
/** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
|
|
1856
|
-
structureType: Scalars['String']['output'];
|
|
1857
1859
|
};
|
|
1858
1860
|
/** A suggested mapping target from the reporting taxonomy. */
|
|
1859
1861
|
export type SuggestedTarget = {
|
|
@@ -1943,11 +1945,11 @@ export type TaxonomyBlockRule = {
|
|
|
1943
1945
|
targetRef: Maybe<Scalars['String']['output']>;
|
|
1944
1946
|
};
|
|
1945
1947
|
export type TaxonomyBlockStructure = {
|
|
1948
|
+
blockType: Scalars['String']['output'];
|
|
1946
1949
|
description: Maybe<Scalars['String']['output']>;
|
|
1947
1950
|
id: Scalars['String']['output'];
|
|
1948
1951
|
name: Scalars['String']['output'];
|
|
1949
1952
|
roleUri: Maybe<Scalars['String']['output']>;
|
|
1950
|
-
structureType: Scalars['String']['output'];
|
|
1951
1953
|
};
|
|
1952
1954
|
/** Flat list of taxonomy headers. Used by the catalog/picker UIs. */
|
|
1953
1955
|
export type TaxonomyList = {
|
|
@@ -2410,7 +2412,7 @@ export type GetLedgerClosingBookStructuresQuery = {
|
|
|
2410
2412
|
id: string;
|
|
2411
2413
|
name: string;
|
|
2412
2414
|
itemType: string;
|
|
2413
|
-
|
|
2415
|
+
blockType: string | null;
|
|
2414
2416
|
reportId: string | null;
|
|
2415
2417
|
status: string | null;
|
|
2416
2418
|
}>;
|
|
@@ -2627,7 +2629,7 @@ export type GetInformationBlockQuery = {
|
|
|
2627
2629
|
};
|
|
2628
2630
|
artifact: {
|
|
2629
2631
|
topic: string | null;
|
|
2630
|
-
|
|
2632
|
+
rendererNote: string | null;
|
|
2631
2633
|
template: any | null;
|
|
2632
2634
|
mechanics: any;
|
|
2633
2635
|
};
|
|
@@ -2665,11 +2667,19 @@ export type GetInformationBlockQuery = {
|
|
|
2665
2667
|
rules: Array<{
|
|
2666
2668
|
id: string;
|
|
2667
2669
|
ruleCategory: string;
|
|
2668
|
-
rulePattern: string;
|
|
2670
|
+
rulePattern: string | null;
|
|
2669
2671
|
ruleExpression: string;
|
|
2670
2672
|
ruleMessage: string | null;
|
|
2671
2673
|
ruleSeverity: string;
|
|
2672
2674
|
ruleOrigin: string;
|
|
2675
|
+
ruleTarget: {
|
|
2676
|
+
targetKind: string;
|
|
2677
|
+
targetRefId: string;
|
|
2678
|
+
} | null;
|
|
2679
|
+
ruleVariables: Array<{
|
|
2680
|
+
variableName: string;
|
|
2681
|
+
variableQname: string;
|
|
2682
|
+
}>;
|
|
2673
2683
|
}>;
|
|
2674
2684
|
factSet: {
|
|
2675
2685
|
id: string;
|
|
@@ -2740,7 +2750,7 @@ export type ListInformationBlocksQuery = {
|
|
|
2740
2750
|
};
|
|
2741
2751
|
artifact: {
|
|
2742
2752
|
topic: string | null;
|
|
2743
|
-
|
|
2753
|
+
rendererNote: string | null;
|
|
2744
2754
|
template: any | null;
|
|
2745
2755
|
mechanics: any;
|
|
2746
2756
|
};
|
|
@@ -2778,11 +2788,19 @@ export type ListInformationBlocksQuery = {
|
|
|
2778
2788
|
rules: Array<{
|
|
2779
2789
|
id: string;
|
|
2780
2790
|
ruleCategory: string;
|
|
2781
|
-
rulePattern: string;
|
|
2791
|
+
rulePattern: string | null;
|
|
2782
2792
|
ruleExpression: string;
|
|
2783
2793
|
ruleMessage: string | null;
|
|
2784
2794
|
ruleSeverity: string;
|
|
2785
2795
|
ruleOrigin: string;
|
|
2796
|
+
ruleTarget: {
|
|
2797
|
+
targetKind: string;
|
|
2798
|
+
targetRefId: string;
|
|
2799
|
+
} | null;
|
|
2800
|
+
ruleVariables: Array<{
|
|
2801
|
+
variableName: string;
|
|
2802
|
+
variableQname: string;
|
|
2803
|
+
}>;
|
|
2786
2804
|
}>;
|
|
2787
2805
|
factSet: {
|
|
2788
2806
|
id: string;
|
|
@@ -2859,7 +2877,7 @@ export type GetLedgerMappingQuery = {
|
|
|
2859
2877
|
mapping: {
|
|
2860
2878
|
id: string;
|
|
2861
2879
|
name: string;
|
|
2862
|
-
|
|
2880
|
+
blockType: string;
|
|
2863
2881
|
taxonomyId: string;
|
|
2864
2882
|
totalAssociations: number;
|
|
2865
2883
|
associations: Array<{
|
|
@@ -2904,7 +2922,7 @@ export type ListLedgerMappingsQuery = {
|
|
|
2904
2922
|
id: string;
|
|
2905
2923
|
name: string;
|
|
2906
2924
|
description: string | null;
|
|
2907
|
-
|
|
2925
|
+
blockType: string;
|
|
2908
2926
|
taxonomyId: string;
|
|
2909
2927
|
isActive: boolean;
|
|
2910
2928
|
}>;
|
|
@@ -3041,7 +3059,7 @@ export type GetLedgerReportQuery = {
|
|
|
3041
3059
|
structures: Array<{
|
|
3042
3060
|
id: string;
|
|
3043
3061
|
name: string;
|
|
3044
|
-
|
|
3062
|
+
blockType: string;
|
|
3045
3063
|
}>;
|
|
3046
3064
|
} | null;
|
|
3047
3065
|
};
|
|
@@ -3089,7 +3107,7 @@ export type GetLedgerReportPackageQuery = {
|
|
|
3089
3107
|
};
|
|
3090
3108
|
artifact: {
|
|
3091
3109
|
topic: string | null;
|
|
3092
|
-
|
|
3110
|
+
rendererNote: string | null;
|
|
3093
3111
|
template: any | null;
|
|
3094
3112
|
mechanics: any;
|
|
3095
3113
|
};
|
|
@@ -3127,11 +3145,19 @@ export type GetLedgerReportPackageQuery = {
|
|
|
3127
3145
|
rules: Array<{
|
|
3128
3146
|
id: string;
|
|
3129
3147
|
ruleCategory: string;
|
|
3130
|
-
rulePattern: string;
|
|
3148
|
+
rulePattern: string | null;
|
|
3131
3149
|
ruleExpression: string;
|
|
3132
3150
|
ruleMessage: string | null;
|
|
3133
3151
|
ruleSeverity: string;
|
|
3134
3152
|
ruleOrigin: string;
|
|
3153
|
+
ruleTarget: {
|
|
3154
|
+
targetKind: string;
|
|
3155
|
+
targetRefId: string;
|
|
3156
|
+
} | null;
|
|
3157
|
+
ruleVariables: Array<{
|
|
3158
|
+
variableName: string;
|
|
3159
|
+
variableQname: string;
|
|
3160
|
+
}>;
|
|
3135
3161
|
}>;
|
|
3136
3162
|
factSet: {
|
|
3137
3163
|
id: string;
|
|
@@ -3232,21 +3258,21 @@ export type ListLedgerReportsQuery = {
|
|
|
3232
3258
|
structures: Array<{
|
|
3233
3259
|
id: string;
|
|
3234
3260
|
name: string;
|
|
3235
|
-
|
|
3261
|
+
blockType: string;
|
|
3236
3262
|
}>;
|
|
3237
3263
|
}>;
|
|
3238
3264
|
} | null;
|
|
3239
3265
|
};
|
|
3240
3266
|
export type GetLedgerStatementQueryVariables = Exact<{
|
|
3241
3267
|
reportId: Scalars['String']['input'];
|
|
3242
|
-
|
|
3268
|
+
blockType: Scalars['String']['input'];
|
|
3243
3269
|
}>;
|
|
3244
3270
|
export type GetLedgerStatementQuery = {
|
|
3245
3271
|
statement: {
|
|
3246
3272
|
reportId: string;
|
|
3247
3273
|
structureId: string;
|
|
3248
3274
|
structureName: string;
|
|
3249
|
-
|
|
3275
|
+
blockType: string;
|
|
3250
3276
|
unmappedCount: number;
|
|
3251
3277
|
periods: Array<{
|
|
3252
3278
|
start: any;
|
|
@@ -3272,7 +3298,7 @@ export type GetLedgerStatementQuery = {
|
|
|
3272
3298
|
};
|
|
3273
3299
|
export type ListLedgerStructuresQueryVariables = Exact<{
|
|
3274
3300
|
taxonomyId: InputMaybe<Scalars['String']['input']>;
|
|
3275
|
-
|
|
3301
|
+
blockType: InputMaybe<Scalars['String']['input']>;
|
|
3276
3302
|
}>;
|
|
3277
3303
|
export type ListLedgerStructuresQuery = {
|
|
3278
3304
|
structures: {
|
|
@@ -3280,7 +3306,7 @@ export type ListLedgerStructuresQuery = {
|
|
|
3280
3306
|
id: string;
|
|
3281
3307
|
name: string;
|
|
3282
3308
|
description: string | null;
|
|
3283
|
-
|
|
3309
|
+
blockType: string;
|
|
3284
3310
|
taxonomyId: string;
|
|
3285
3311
|
isActive: boolean;
|
|
3286
3312
|
}>;
|
|
@@ -1138,7 +1138,7 @@ exports.GetLedgerClosingBookStructuresDocument = {
|
|
|
1138
1138
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
1139
1139
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
1140
1140
|
{ kind: 'Field', name: { kind: 'Name', value: 'itemType' } },
|
|
1141
|
-
{ kind: 'Field', name: { kind: 'Name', value: '
|
|
1141
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
1142
1142
|
{ kind: 'Field', name: { kind: 'Name', value: 'reportId' } },
|
|
1143
1143
|
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
1144
1144
|
],
|
|
@@ -1702,7 +1702,7 @@ exports.GetInformationBlockDocument = {
|
|
|
1702
1702
|
kind: 'SelectionSet',
|
|
1703
1703
|
selections: [
|
|
1704
1704
|
{ kind: 'Field', name: { kind: 'Name', value: 'topic' } },
|
|
1705
|
-
{ kind: 'Field', name: { kind: 'Name', value: '
|
|
1705
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'rendererNote' } },
|
|
1706
1706
|
{ kind: 'Field', name: { kind: 'Name', value: 'template' } },
|
|
1707
1707
|
{ kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
|
|
1708
1708
|
],
|
|
@@ -1773,6 +1773,28 @@ exports.GetInformationBlockDocument = {
|
|
|
1773
1773
|
{ kind: 'Field', name: { kind: 'Name', value: 'ruleMessage' } },
|
|
1774
1774
|
{ kind: 'Field', name: { kind: 'Name', value: 'ruleSeverity' } },
|
|
1775
1775
|
{ kind: 'Field', name: { kind: 'Name', value: 'ruleOrigin' } },
|
|
1776
|
+
{
|
|
1777
|
+
kind: 'Field',
|
|
1778
|
+
name: { kind: 'Name', value: 'ruleTarget' },
|
|
1779
|
+
selectionSet: {
|
|
1780
|
+
kind: 'SelectionSet',
|
|
1781
|
+
selections: [
|
|
1782
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'targetKind' } },
|
|
1783
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'targetRefId' } },
|
|
1784
|
+
],
|
|
1785
|
+
},
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
kind: 'Field',
|
|
1789
|
+
name: { kind: 'Name', value: 'ruleVariables' },
|
|
1790
|
+
selectionSet: {
|
|
1791
|
+
kind: 'SelectionSet',
|
|
1792
|
+
selections: [
|
|
1793
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'variableName' } },
|
|
1794
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'variableQname' } },
|
|
1795
|
+
],
|
|
1796
|
+
},
|
|
1797
|
+
},
|
|
1776
1798
|
],
|
|
1777
1799
|
},
|
|
1778
1800
|
},
|
|
@@ -1967,7 +1989,7 @@ exports.ListInformationBlocksDocument = {
|
|
|
1967
1989
|
kind: 'SelectionSet',
|
|
1968
1990
|
selections: [
|
|
1969
1991
|
{ kind: 'Field', name: { kind: 'Name', value: 'topic' } },
|
|
1970
|
-
{ kind: 'Field', name: { kind: 'Name', value: '
|
|
1992
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'rendererNote' } },
|
|
1971
1993
|
{ kind: 'Field', name: { kind: 'Name', value: 'template' } },
|
|
1972
1994
|
{ kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
|
|
1973
1995
|
],
|
|
@@ -2038,6 +2060,28 @@ exports.ListInformationBlocksDocument = {
|
|
|
2038
2060
|
{ kind: 'Field', name: { kind: 'Name', value: 'ruleMessage' } },
|
|
2039
2061
|
{ kind: 'Field', name: { kind: 'Name', value: 'ruleSeverity' } },
|
|
2040
2062
|
{ kind: 'Field', name: { kind: 'Name', value: 'ruleOrigin' } },
|
|
2063
|
+
{
|
|
2064
|
+
kind: 'Field',
|
|
2065
|
+
name: { kind: 'Name', value: 'ruleTarget' },
|
|
2066
|
+
selectionSet: {
|
|
2067
|
+
kind: 'SelectionSet',
|
|
2068
|
+
selections: [
|
|
2069
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'targetKind' } },
|
|
2070
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'targetRefId' } },
|
|
2071
|
+
],
|
|
2072
|
+
},
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
kind: 'Field',
|
|
2076
|
+
name: { kind: 'Name', value: 'ruleVariables' },
|
|
2077
|
+
selectionSet: {
|
|
2078
|
+
kind: 'SelectionSet',
|
|
2079
|
+
selections: [
|
|
2080
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'variableName' } },
|
|
2081
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'variableQname' } },
|
|
2082
|
+
],
|
|
2083
|
+
},
|
|
2084
|
+
},
|
|
2041
2085
|
],
|
|
2042
2086
|
},
|
|
2043
2087
|
},
|
|
@@ -2261,7 +2305,7 @@ exports.GetLedgerMappingDocument = {
|
|
|
2261
2305
|
selections: [
|
|
2262
2306
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
2263
2307
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
2264
|
-
{ kind: 'Field', name: { kind: 'Name', value: '
|
|
2308
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
2265
2309
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
2266
2310
|
{ kind: 'Field', name: { kind: 'Name', value: 'totalAssociations' } },
|
|
2267
2311
|
{
|
|
@@ -2369,7 +2413,7 @@ exports.ListLedgerMappingsDocument = {
|
|
|
2369
2413
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
2370
2414
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
2371
2415
|
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
2372
|
-
{ kind: 'Field', name: { kind: 'Name', value: '
|
|
2416
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
2373
2417
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
2374
2418
|
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
2375
2419
|
],
|
|
@@ -2758,7 +2802,7 @@ exports.GetLedgerReportDocument = {
|
|
|
2758
2802
|
selections: [
|
|
2759
2803
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
2760
2804
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
2761
|
-
{ kind: 'Field', name: { kind: 'Name', value: '
|
|
2805
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
2762
2806
|
],
|
|
2763
2807
|
},
|
|
2764
2808
|
},
|
|
@@ -2870,10 +2914,7 @@ exports.GetLedgerReportPackageDocument = {
|
|
|
2870
2914
|
kind: 'SelectionSet',
|
|
2871
2915
|
selections: [
|
|
2872
2916
|
{ kind: 'Field', name: { kind: 'Name', value: 'topic' } },
|
|
2873
|
-
{
|
|
2874
|
-
kind: 'Field',
|
|
2875
|
-
name: { kind: 'Name', value: 'parentheticalNote' },
|
|
2876
|
-
},
|
|
2917
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'rendererNote' } },
|
|
2877
2918
|
{ kind: 'Field', name: { kind: 'Name', value: 'template' } },
|
|
2878
2919
|
{ kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
|
|
2879
2920
|
],
|
|
@@ -2950,6 +2991,40 @@ exports.GetLedgerReportPackageDocument = {
|
|
|
2950
2991
|
{ kind: 'Field', name: { kind: 'Name', value: 'ruleMessage' } },
|
|
2951
2992
|
{ kind: 'Field', name: { kind: 'Name', value: 'ruleSeverity' } },
|
|
2952
2993
|
{ kind: 'Field', name: { kind: 'Name', value: 'ruleOrigin' } },
|
|
2994
|
+
{
|
|
2995
|
+
kind: 'Field',
|
|
2996
|
+
name: { kind: 'Name', value: 'ruleTarget' },
|
|
2997
|
+
selectionSet: {
|
|
2998
|
+
kind: 'SelectionSet',
|
|
2999
|
+
selections: [
|
|
3000
|
+
{
|
|
3001
|
+
kind: 'Field',
|
|
3002
|
+
name: { kind: 'Name', value: 'targetKind' },
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
kind: 'Field',
|
|
3006
|
+
name: { kind: 'Name', value: 'targetRefId' },
|
|
3007
|
+
},
|
|
3008
|
+
],
|
|
3009
|
+
},
|
|
3010
|
+
},
|
|
3011
|
+
{
|
|
3012
|
+
kind: 'Field',
|
|
3013
|
+
name: { kind: 'Name', value: 'ruleVariables' },
|
|
3014
|
+
selectionSet: {
|
|
3015
|
+
kind: 'SelectionSet',
|
|
3016
|
+
selections: [
|
|
3017
|
+
{
|
|
3018
|
+
kind: 'Field',
|
|
3019
|
+
name: { kind: 'Name', value: 'variableName' },
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
kind: 'Field',
|
|
3023
|
+
name: { kind: 'Name', value: 'variableQname' },
|
|
3024
|
+
},
|
|
3025
|
+
],
|
|
3026
|
+
},
|
|
3027
|
+
},
|
|
2953
3028
|
],
|
|
2954
3029
|
},
|
|
2955
3030
|
},
|
|
@@ -3204,7 +3279,7 @@ exports.ListLedgerReportsDocument = {
|
|
|
3204
3279
|
selections: [
|
|
3205
3280
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3206
3281
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3207
|
-
{ kind: 'Field', name: { kind: 'Name', value: '
|
|
3282
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
3208
3283
|
],
|
|
3209
3284
|
},
|
|
3210
3285
|
},
|
|
@@ -3237,7 +3312,7 @@ exports.GetLedgerStatementDocument = {
|
|
|
3237
3312
|
},
|
|
3238
3313
|
{
|
|
3239
3314
|
kind: 'VariableDefinition',
|
|
3240
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: '
|
|
3315
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
3241
3316
|
type: {
|
|
3242
3317
|
kind: 'NonNullType',
|
|
3243
3318
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
@@ -3258,8 +3333,8 @@ exports.GetLedgerStatementDocument = {
|
|
|
3258
3333
|
},
|
|
3259
3334
|
{
|
|
3260
3335
|
kind: 'Argument',
|
|
3261
|
-
name: { kind: 'Name', value: '
|
|
3262
|
-
value: { kind: 'Variable', name: { kind: 'Name', value: '
|
|
3336
|
+
name: { kind: 'Name', value: 'blockType' },
|
|
3337
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
3263
3338
|
},
|
|
3264
3339
|
],
|
|
3265
3340
|
selectionSet: {
|
|
@@ -3268,7 +3343,7 @@ exports.GetLedgerStatementDocument = {
|
|
|
3268
3343
|
{ kind: 'Field', name: { kind: 'Name', value: 'reportId' } },
|
|
3269
3344
|
{ kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
|
|
3270
3345
|
{ kind: 'Field', name: { kind: 'Name', value: 'structureName' } },
|
|
3271
|
-
{ kind: 'Field', name: { kind: 'Name', value: '
|
|
3346
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
3272
3347
|
{ kind: 'Field', name: { kind: 'Name', value: 'unmappedCount' } },
|
|
3273
3348
|
{
|
|
3274
3349
|
kind: 'Field',
|
|
@@ -3334,7 +3409,7 @@ exports.ListLedgerStructuresDocument = {
|
|
|
3334
3409
|
},
|
|
3335
3410
|
{
|
|
3336
3411
|
kind: 'VariableDefinition',
|
|
3337
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: '
|
|
3412
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
3338
3413
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3339
3414
|
},
|
|
3340
3415
|
],
|
|
@@ -3352,8 +3427,8 @@ exports.ListLedgerStructuresDocument = {
|
|
|
3352
3427
|
},
|
|
3353
3428
|
{
|
|
3354
3429
|
kind: 'Argument',
|
|
3355
|
-
name: { kind: 'Name', value: '
|
|
3356
|
-
value: { kind: 'Variable', name: { kind: 'Name', value: '
|
|
3430
|
+
name: { kind: 'Name', value: 'blockType' },
|
|
3431
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
3357
3432
|
},
|
|
3358
3433
|
],
|
|
3359
3434
|
selectionSet: {
|
|
@@ -3368,7 +3443,7 @@ exports.ListLedgerStructuresDocument = {
|
|
|
3368
3443
|
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3369
3444
|
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3370
3445
|
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
3371
|
-
{ kind: 'Field', name: { kind: 'Name', value: '
|
|
3446
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
3372
3447
|
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
3373
3448
|
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
3374
3449
|
],
|