@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.
Files changed (32) hide show
  1. package/artifacts/LedgerClient.d.ts +3 -3
  2. package/artifacts/LedgerClient.js +4 -4
  3. package/artifacts/LedgerClient.ts +5 -5
  4. package/artifacts/graphql/generated/graphql.d.ts +60 -34
  5. package/artifacts/graphql/generated/graphql.js +94 -19
  6. package/artifacts/graphql/generated/graphql.ts +136 -53
  7. package/artifacts/graphql/queries/ledger/closingBookStructures.js +1 -1
  8. package/artifacts/graphql/queries/ledger/closingBookStructures.ts +1 -1
  9. package/artifacts/graphql/queries/ledger/informationBlock.js +20 -2
  10. package/artifacts/graphql/queries/ledger/informationBlock.ts +20 -2
  11. package/artifacts/graphql/queries/ledger/mapping.js +1 -1
  12. package/artifacts/graphql/queries/ledger/mapping.ts +1 -1
  13. package/artifacts/graphql/queries/ledger/mappings.d.ts +1 -1
  14. package/artifacts/graphql/queries/ledger/mappings.js +2 -2
  15. package/artifacts/graphql/queries/ledger/mappings.ts +2 -2
  16. package/artifacts/graphql/queries/ledger/report.js +1 -1
  17. package/artifacts/graphql/queries/ledger/report.ts +1 -1
  18. package/artifacts/graphql/queries/ledger/reportPackage.d.ts +1 -1
  19. package/artifacts/graphql/queries/ledger/reportPackage.js +10 -2
  20. package/artifacts/graphql/queries/ledger/reportPackage.ts +10 -2
  21. package/artifacts/graphql/queries/ledger/reports.js +1 -1
  22. package/artifacts/graphql/queries/ledger/reports.ts +1 -1
  23. package/artifacts/graphql/queries/ledger/statement.d.ts +1 -1
  24. package/artifacts/graphql/queries/ledger/statement.js +4 -4
  25. package/artifacts/graphql/queries/ledger/statement.ts +4 -4
  26. package/artifacts/graphql/queries/ledger/structures.js +3 -3
  27. package/artifacts/graphql/queries/ledger/structures.ts +3 -3
  28. package/package.json +1 -1
  29. package/sdk/types.gen.d.ts +21 -15
  30. package/sdk/types.gen.ts +21 -15
  31. package/types.gen.d.ts +21 -15
  32. package/types.gen.ts +21 -15
@@ -23,7 +23,7 @@ export const GET_INFORMATION_BLOCK = gql`
23
23
  }
24
24
  artifact {
25
25
  topic
26
- parentheticalNote
26
+ rendererNote
27
27
  template
28
28
  mechanics
29
29
  }
@@ -62,10 +62,19 @@ export const GET_INFORMATION_BLOCK = gql`
62
62
  id
63
63
  ruleCategory
64
64
  rulePattern
65
+ ruleCheckKind
65
66
  ruleExpression
66
67
  ruleMessage
67
68
  ruleSeverity
68
69
  ruleOrigin
70
+ ruleTarget {
71
+ targetKind
72
+ targetRefId
73
+ }
74
+ ruleVariables {
75
+ variableName
76
+ variableQname
77
+ }
69
78
  }
70
79
  factSet {
71
80
  id
@@ -139,7 +148,7 @@ export const LIST_INFORMATION_BLOCKS = gql`
139
148
  }
140
149
  artifact {
141
150
  topic
142
- parentheticalNote
151
+ rendererNote
143
152
  template
144
153
  mechanics
145
154
  }
@@ -178,10 +187,19 @@ export const LIST_INFORMATION_BLOCKS = gql`
178
187
  id
179
188
  ruleCategory
180
189
  rulePattern
190
+ ruleCheckKind
181
191
  ruleExpression
182
192
  ruleMessage
183
193
  ruleSeverity
184
194
  ruleOrigin
195
+ ruleTarget {
196
+ targetKind
197
+ targetRefId
198
+ }
199
+ ruleVariables {
200
+ variableName
201
+ variableQname
202
+ }
185
203
  }
186
204
  factSet {
187
205
  id
@@ -11,7 +11,7 @@ exports.GET_MAPPING = (0, graphql_request_1.gql) `
11
11
  mapping(mappingId: $mappingId) {
12
12
  id
13
13
  name
14
- structureType
14
+ blockType
15
15
  taxonomyId
16
16
  totalAssociations
17
17
  associations {
@@ -9,7 +9,7 @@ export const GET_MAPPING = gql`
9
9
  mapping(mappingId: $mappingId) {
10
10
  id
11
11
  name
12
- structureType
12
+ blockType
13
13
  taxonomyId
14
14
  totalAssociations
15
15
  associations {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * All active coa_mapping structures. Returned as a StructureList (same
3
3
  * wire shape as `structures`, just filtered server-side to
4
- * `structure_type = 'coa_mapping'`).
4
+ * `block_type = 'coa_mapping'`).
5
5
  */
6
6
  export declare const LIST_MAPPINGS: string;
@@ -5,7 +5,7 @@ const graphql_request_1 = require("graphql-request");
5
5
  /**
6
6
  * All active coa_mapping structures. Returned as a StructureList (same
7
7
  * wire shape as `structures`, just filtered server-side to
8
- * `structure_type = 'coa_mapping'`).
8
+ * `block_type = 'coa_mapping'`).
9
9
  */
10
10
  exports.LIST_MAPPINGS = (0, graphql_request_1.gql) `
11
11
  query ListLedgerMappings {
@@ -14,7 +14,7 @@ exports.LIST_MAPPINGS = (0, graphql_request_1.gql) `
14
14
  id
15
15
  name
16
16
  description
17
- structureType
17
+ blockType
18
18
  taxonomyId
19
19
  isActive
20
20
  }
@@ -3,7 +3,7 @@ import { gql } from 'graphql-request'
3
3
  /**
4
4
  * All active coa_mapping structures. Returned as a StructureList (same
5
5
  * wire shape as `structures`, just filtered server-side to
6
- * `structure_type = 'coa_mapping'`).
6
+ * `block_type = 'coa_mapping'`).
7
7
  */
8
8
  export const LIST_MAPPINGS = gql`
9
9
  query ListLedgerMappings {
@@ -12,7 +12,7 @@ export const LIST_MAPPINGS = gql`
12
12
  id
13
13
  name
14
14
  description
15
- structureType
15
+ blockType
16
16
  taxonomyId
17
17
  isActive
18
18
  }
@@ -33,7 +33,7 @@ exports.GET_REPORT = (0, graphql_request_1.gql) `
33
33
  structures {
34
34
  id
35
35
  name
36
- structureType
36
+ blockType
37
37
  }
38
38
  }
39
39
  }
@@ -31,7 +31,7 @@ export const GET_REPORT = gql`
31
31
  structures {
32
32
  id
33
33
  name
34
- structureType
34
+ blockType
35
35
  }
36
36
  }
37
37
  }
@@ -2,7 +2,7 @@
2
2
  * Report rehydrated as a package — Report metadata + N rendered
3
3
  * Information Block envelopes (one per attached FactSet). Drives the
4
4
  * `/reports/[id]` package viewer; replaces the per-statement
5
- * `getStatement(reportId, structureType)` round-trip flow.
5
+ * `getStatement(reportId, blockType)` round-trip flow.
6
6
  *
7
7
  * Each item's `block` is a fully-rehydrated `InformationBlock` envelope
8
8
  * pinned to its specific FactSet snapshot, so the frontend can render
@@ -6,7 +6,7 @@ const graphql_request_1 = require("graphql-request");
6
6
  * Report rehydrated as a package — Report metadata + N rendered
7
7
  * Information Block envelopes (one per attached FactSet). Drives the
8
8
  * `/reports/[id]` package viewer; replaces the per-statement
9
- * `getStatement(reportId, structureType)` round-trip flow.
9
+ * `getStatement(reportId, blockType)` round-trip flow.
10
10
  *
11
11
  * Each item's `block` is a fully-rehydrated `InformationBlock` envelope
12
12
  * pinned to its specific FactSet snapshot, so the frontend can render
@@ -54,7 +54,7 @@ exports.GET_REPORT_PACKAGE = (0, graphql_request_1.gql) `
54
54
  }
55
55
  artifact {
56
56
  topic
57
- parentheticalNote
57
+ rendererNote
58
58
  template
59
59
  mechanics
60
60
  }
@@ -97,6 +97,14 @@ exports.GET_REPORT_PACKAGE = (0, graphql_request_1.gql) `
97
97
  ruleMessage
98
98
  ruleSeverity
99
99
  ruleOrigin
100
+ ruleTarget {
101
+ targetKind
102
+ targetRefId
103
+ }
104
+ ruleVariables {
105
+ variableName
106
+ variableQname
107
+ }
100
108
  }
101
109
  factSet {
102
110
  id
@@ -4,7 +4,7 @@ import { gql } from 'graphql-request'
4
4
  * Report rehydrated as a package — Report metadata + N rendered
5
5
  * Information Block envelopes (one per attached FactSet). Drives the
6
6
  * `/reports/[id]` package viewer; replaces the per-statement
7
- * `getStatement(reportId, structureType)` round-trip flow.
7
+ * `getStatement(reportId, blockType)` round-trip flow.
8
8
  *
9
9
  * Each item's `block` is a fully-rehydrated `InformationBlock` envelope
10
10
  * pinned to its specific FactSet snapshot, so the frontend can render
@@ -52,7 +52,7 @@ export const GET_REPORT_PACKAGE = gql`
52
52
  }
53
53
  artifact {
54
54
  topic
55
- parentheticalNote
55
+ rendererNote
56
56
  template
57
57
  mechanics
58
58
  }
@@ -95,6 +95,14 @@ export const GET_REPORT_PACKAGE = gql`
95
95
  ruleMessage
96
96
  ruleSeverity
97
97
  ruleOrigin
98
+ ruleTarget {
99
+ targetKind
100
+ targetRefId
101
+ }
102
+ ruleVariables {
103
+ variableName
104
+ variableQname
105
+ }
98
106
  }
99
107
  factSet {
100
108
  id
@@ -37,7 +37,7 @@ exports.LIST_REPORTS = (0, graphql_request_1.gql) `
37
37
  structures {
38
38
  id
39
39
  name
40
- structureType
40
+ blockType
41
41
  }
42
42
  }
43
43
  }
@@ -35,7 +35,7 @@ export const LIST_REPORTS = gql`
35
35
  structures {
36
36
  id
37
37
  name
38
- structureType
38
+ blockType
39
39
  }
40
40
  }
41
41
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Render a financial statement for a report + structure_type.
2
+ * Render a financial statement for a report + block_type.
3
3
  *
4
4
  * Structure types: `income_statement`, `balance_sheet`,
5
5
  * `equity_statement`, `custom`. Returns hierarchically-ordered rows
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GET_STATEMENT = void 0;
4
4
  const graphql_request_1 = require("graphql-request");
5
5
  /**
6
- * Render a financial statement for a report + structure_type.
6
+ * Render a financial statement for a report + block_type.
7
7
  *
8
8
  * Structure types: `income_statement`, `balance_sheet`,
9
9
  * `equity_statement`, `custom`. Returns hierarchically-ordered rows
@@ -11,12 +11,12 @@ const graphql_request_1 = require("graphql-request");
11
11
  * The caller usually renders `rows` directly as a nested tree.
12
12
  */
13
13
  exports.GET_STATEMENT = (0, graphql_request_1.gql) `
14
- query GetLedgerStatement($reportId: String!, $structureType: String!) {
15
- statement(reportId: $reportId, structureType: $structureType) {
14
+ query GetLedgerStatement($reportId: String!, $blockType: String!) {
15
+ statement(reportId: $reportId, blockType: $blockType) {
16
16
  reportId
17
17
  structureId
18
18
  structureName
19
- structureType
19
+ blockType
20
20
  unmappedCount
21
21
  periods {
22
22
  start
@@ -1,7 +1,7 @@
1
1
  import { gql } from 'graphql-request'
2
2
 
3
3
  /**
4
- * Render a financial statement for a report + structure_type.
4
+ * Render a financial statement for a report + block_type.
5
5
  *
6
6
  * Structure types: `income_statement`, `balance_sheet`,
7
7
  * `equity_statement`, `custom`. Returns hierarchically-ordered rows
@@ -9,12 +9,12 @@ import { gql } from 'graphql-request'
9
9
  * The caller usually renders `rows` directly as a nested tree.
10
10
  */
11
11
  export const GET_STATEMENT = gql`
12
- query GetLedgerStatement($reportId: String!, $structureType: String!) {
13
- statement(reportId: $reportId, structureType: $structureType) {
12
+ query GetLedgerStatement($reportId: String!, $blockType: String!) {
13
+ statement(reportId: $reportId, blockType: $blockType) {
14
14
  reportId
15
15
  structureId
16
16
  structureName
17
- structureType
17
+ blockType
18
18
  unmappedCount
19
19
  periods {
20
20
  start
@@ -7,13 +7,13 @@ const graphql_request_1 = require("graphql-request");
7
7
  * (e.g. "coa_mapping", "statement_income", "schedule").
8
8
  */
9
9
  exports.LIST_STRUCTURES = (0, graphql_request_1.gql) `
10
- query ListLedgerStructures($taxonomyId: String, $structureType: String) {
11
- structures(taxonomyId: $taxonomyId, structureType: $structureType) {
10
+ query ListLedgerStructures($taxonomyId: String, $blockType: String) {
11
+ structures(taxonomyId: $taxonomyId, blockType: $blockType) {
12
12
  structures {
13
13
  id
14
14
  name
15
15
  description
16
- structureType
16
+ blockType
17
17
  taxonomyId
18
18
  isActive
19
19
  }
@@ -5,13 +5,13 @@ import { gql } from 'graphql-request'
5
5
  * (e.g. "coa_mapping", "statement_income", "schedule").
6
6
  */
7
7
  export const LIST_STRUCTURES = gql`
8
- query ListLedgerStructures($taxonomyId: String, $structureType: String) {
9
- structures(taxonomyId: $taxonomyId, structureType: $structureType) {
8
+ query ListLedgerStructures($taxonomyId: String, $blockType: String) {
9
+ structures(taxonomyId: $taxonomyId, blockType: $blockType) {
10
10
  structures {
11
11
  id
12
12
  name
13
13
  description
14
- structureType
14
+ blockType
15
15
  taxonomyId
16
16
  isActive
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robosystems/client",
3
- "version": "0.3.24",
3
+ "version": "0.3.26",
4
4
  "description": "TypeScript client library for RoboSystems Financial Knowledge Graph API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -448,11 +448,11 @@ export type ArtifactResponse = {
448
448
  */
449
449
  topic?: string | null;
450
450
  /**
451
- * Parenthetical Note
451
+ * Renderer Note
452
452
  *
453
453
  * e.g. 'in thousands', 'except per share'.
454
454
  */
455
- parenthetical_note?: string | null;
455
+ renderer_note?: string | null;
456
456
  /**
457
457
  * Template
458
458
  *
@@ -1028,7 +1028,7 @@ export type CancelSubscriptionRequest = {
1028
1028
  *
1029
1029
  * Switches the graph to a different Reporting Style. The target Style
1030
1030
  * must be a library- or customer-authored Structure with
1031
- * ``structure_type='reporting_style'`` and a complete composition
1031
+ * ``block_type='reporting_style'`` and a complete composition
1032
1032
  * (one Network per required statement type — BS / IS / CF / SE). Filed
1033
1033
  * Reports are unaffected because each ``Report`` already pins its own
1034
1034
  * ``structure_id`` per FactSet at create-time; new reports use the new
@@ -1038,7 +1038,7 @@ export type ChangeReportingStyleOp = {
1038
1038
  /**
1039
1039
  * Reporting Style Id
1040
1040
  *
1041
- * Structure id of the target Reporting Style (e.g., `025f5d48-12ce-5d65-b9eb-4f137a10ef06` for the library-seeded Default Style). Must resolve to a Structure with structure_type='reporting_style' that has a complete composition in the graph's tenant schema.
1041
+ * Structure id of the target Reporting Style (e.g., `025f5d48-12ce-5d65-b9eb-4f137a10ef06` for the library-seeded Default Style). Must resolve to a Structure with block_type='reporting_style' that has a complete composition in the graph's tenant schema.
1042
1042
  */
1043
1043
  reporting_style_id: string;
1044
1044
  };
@@ -1160,7 +1160,7 @@ export type ClassificationLite = {
1160
1160
  /**
1161
1161
  * Identifier
1162
1162
  *
1163
- * Vocabulary identifier within the category — e.g. 'RollUp', 'aggregation', 'AssetsRollUp'.
1163
+ * Vocabulary identifier within the category — e.g. 'RollUp', 'whole_part', 'AssetsRollUp'.
1164
1164
  */
1165
1165
  identifier: string;
1166
1166
  /**
@@ -5654,7 +5654,7 @@ export type InformationModelResponse = {
5654
5654
  /**
5655
5655
  * Member Arrangement
5656
5656
  *
5657
- * aggregation | nonaggregation, or null if non-hypercube.
5657
+ * is_a | whole_part | nested_whole_part | two_dimension_aggregation | complex_aggregating_whole_part, or null if non-hypercube.
5658
5658
  */
5659
5659
  member_arrangement?: string | null;
5660
5660
  };
@@ -9708,9 +9708,15 @@ export type RuleLite = {
9708
9708
  /**
9709
9709
  * Rule Pattern
9710
9710
  *
9711
- * One of 10 cm:BusinessRulePattern mechanisms — Adjustment, CoExists, EqualTo, Exists, GreaterThan, GreaterThanOrEqualToZero, LessThan, RollForward, RollUp, Variance.
9711
+ * 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).
9712
9712
  */
9713
- rule_pattern: string;
9713
+ rule_pattern?: string | null;
9714
+ /**
9715
+ * Rule Check Kind
9716
+ *
9717
+ * 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.
9718
+ */
9719
+ rule_check_kind?: string | null;
9714
9720
  /**
9715
9721
  * Rule Expression
9716
9722
  */
@@ -10717,11 +10723,11 @@ export type StructureSummary = {
10717
10723
  */
10718
10724
  name: string;
10719
10725
  /**
10720
- * Structure Type
10726
+ * Block Type
10721
10727
  *
10722
10728
  * Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`.
10723
10729
  */
10724
- structure_type: string;
10730
+ block_type: string;
10725
10731
  };
10726
10732
  /**
10727
10733
  * StructureUpdatePatch
@@ -11574,9 +11580,9 @@ export type TaxonomyBlockStructure = {
11574
11580
  */
11575
11581
  name: string;
11576
11582
  /**
11577
- * Structure Type
11583
+ * Block Type
11578
11584
  */
11579
- structure_type: string;
11585
+ block_type: string;
11580
11586
  /**
11581
11587
  * Description
11582
11588
  */
@@ -11599,11 +11605,11 @@ export type TaxonomyBlockStructureRequest = {
11599
11605
  */
11600
11606
  name: string;
11601
11607
  /**
11602
- * Structure Type
11608
+ * Block Type
11603
11609
  *
11604
- * DB ``structures.structure_type`` enum. CoA blocks use ``chart_of_accounts``; reporting extensions use the statement family or ``custom``; custom ontology uses ``custom``.
11610
+ * DB ``structures.block_type`` enum. CoA blocks use ``chart_of_accounts``; reporting extensions use the statement family or ``custom``; custom ontology uses ``custom``.
11605
11611
  */
11606
- structure_type: 'chart_of_accounts' | 'custom' | 'balance_sheet' | 'income_statement' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'rollforward' | 'reconciliation' | 'policy' | 'metric';
11612
+ block_type: 'chart_of_accounts' | 'custom' | 'balance_sheet' | 'income_statement' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'rollforward' | 'reconciliation' | 'policy' | 'metric';
11607
11613
  /**
11608
11614
  * Description
11609
11615
  */
package/sdk/types.gen.ts CHANGED
@@ -464,11 +464,11 @@ export type ArtifactResponse = {
464
464
  */
465
465
  topic?: string | null;
466
466
  /**
467
- * Parenthetical Note
467
+ * Renderer Note
468
468
  *
469
469
  * e.g. 'in thousands', 'except per share'.
470
470
  */
471
- parenthetical_note?: string | null;
471
+ renderer_note?: string | null;
472
472
  /**
473
473
  * Template
474
474
  *
@@ -1061,7 +1061,7 @@ export type CancelSubscriptionRequest = {
1061
1061
  *
1062
1062
  * Switches the graph to a different Reporting Style. The target Style
1063
1063
  * must be a library- or customer-authored Structure with
1064
- * ``structure_type='reporting_style'`` and a complete composition
1064
+ * ``block_type='reporting_style'`` and a complete composition
1065
1065
  * (one Network per required statement type — BS / IS / CF / SE). Filed
1066
1066
  * Reports are unaffected because each ``Report`` already pins its own
1067
1067
  * ``structure_id`` per FactSet at create-time; new reports use the new
@@ -1071,7 +1071,7 @@ export type ChangeReportingStyleOp = {
1071
1071
  /**
1072
1072
  * Reporting Style Id
1073
1073
  *
1074
- * Structure id of the target Reporting Style (e.g., `025f5d48-12ce-5d65-b9eb-4f137a10ef06` for the library-seeded Default Style). Must resolve to a Structure with structure_type='reporting_style' that has a complete composition in the graph's tenant schema.
1074
+ * Structure id of the target Reporting Style (e.g., `025f5d48-12ce-5d65-b9eb-4f137a10ef06` for the library-seeded Default Style). Must resolve to a Structure with block_type='reporting_style' that has a complete composition in the graph's tenant schema.
1075
1075
  */
1076
1076
  reporting_style_id: string;
1077
1077
  };
@@ -1197,7 +1197,7 @@ export type ClassificationLite = {
1197
1197
  /**
1198
1198
  * Identifier
1199
1199
  *
1200
- * Vocabulary identifier within the category — e.g. 'RollUp', 'aggregation', 'AssetsRollUp'.
1200
+ * Vocabulary identifier within the category — e.g. 'RollUp', 'whole_part', 'AssetsRollUp'.
1201
1201
  */
1202
1202
  identifier: string;
1203
1203
  /**
@@ -5795,7 +5795,7 @@ export type InformationModelResponse = {
5795
5795
  /**
5796
5796
  * Member Arrangement
5797
5797
  *
5798
- * aggregation | nonaggregation, or null if non-hypercube.
5798
+ * is_a | whole_part | nested_whole_part | two_dimension_aggregation | complex_aggregating_whole_part, or null if non-hypercube.
5799
5799
  */
5800
5800
  member_arrangement?: string | null;
5801
5801
  };
@@ -9948,9 +9948,15 @@ export type RuleLite = {
9948
9948
  /**
9949
9949
  * Rule Pattern
9950
9950
  *
9951
- * One of 10 cm:BusinessRulePattern mechanisms — Adjustment, CoExists, EqualTo, Exists, GreaterThan, GreaterThanOrEqualToZero, LessThan, RollForward, RollUp, Variance.
9951
+ * 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).
9952
9952
  */
9953
- rule_pattern: string;
9953
+ rule_pattern?: string | null;
9954
+ /**
9955
+ * Rule Check Kind
9956
+ *
9957
+ * 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.
9958
+ */
9959
+ rule_check_kind?: string | null;
9954
9960
  /**
9955
9961
  * Rule Expression
9956
9962
  */
@@ -10986,11 +10992,11 @@ export type StructureSummary = {
10986
10992
  */
10987
10993
  name: string;
10988
10994
  /**
10989
- * Structure Type
10995
+ * Block Type
10990
10996
  *
10991
10997
  * Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`.
10992
10998
  */
10993
- structure_type: string;
10999
+ block_type: string;
10994
11000
  };
10995
11001
 
10996
11002
  /**
@@ -11862,9 +11868,9 @@ export type TaxonomyBlockStructure = {
11862
11868
  */
11863
11869
  name: string;
11864
11870
  /**
11865
- * Structure Type
11871
+ * Block Type
11866
11872
  */
11867
- structure_type: string;
11873
+ block_type: string;
11868
11874
  /**
11869
11875
  * Description
11870
11876
  */
@@ -11888,11 +11894,11 @@ export type TaxonomyBlockStructureRequest = {
11888
11894
  */
11889
11895
  name: string;
11890
11896
  /**
11891
- * Structure Type
11897
+ * Block Type
11892
11898
  *
11893
- * DB ``structures.structure_type`` enum. CoA blocks use ``chart_of_accounts``; reporting extensions use the statement family or ``custom``; custom ontology uses ``custom``.
11899
+ * DB ``structures.block_type`` enum. CoA blocks use ``chart_of_accounts``; reporting extensions use the statement family or ``custom``; custom ontology uses ``custom``.
11894
11900
  */
11895
- structure_type: 'chart_of_accounts' | 'custom' | 'balance_sheet' | 'income_statement' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'rollforward' | 'reconciliation' | 'policy' | 'metric';
11901
+ block_type: 'chart_of_accounts' | 'custom' | 'balance_sheet' | 'income_statement' | 'cash_flow_statement' | 'equity_statement' | 'coa_mapping' | 'schedule' | 'rollforward' | 'reconciliation' | 'policy' | 'metric';
11896
11902
  /**
11897
11903
  * Description
11898
11904
  */