@robosystems/client 0.3.25 → 0.3.27

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 +39 -34
  5. package/artifacts/graphql/generated/graphql.js +19 -19
  6. package/artifacts/graphql/generated/graphql.ts +58 -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 +4 -2
  10. package/artifacts/graphql/queries/ledger/informationBlock.ts +4 -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 +3 -2
  20. package/artifacts/graphql/queries/ledger/reportPackage.ts +3 -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 +40 -16
  30. package/sdk/types.gen.ts +40 -16
  31. package/types.gen.d.ts +40 -16
  32. package/types.gen.ts +40 -16
@@ -137,7 +137,7 @@ export type Agent = {
137
137
 
138
138
  export type Artifact = {
139
139
  mechanics: Scalars['JSON']['output']
140
- parentheticalNote: Maybe<Scalars['String']['output']>
140
+ rendererNote: Maybe<Scalars['String']['output']>
141
141
  template: Maybe<Scalars['JSON']['output']>
142
142
  topic: Maybe<Scalars['String']['output']>
143
143
  }
@@ -188,12 +188,12 @@ export type ClosingBookCategory = {
188
188
  * carry ``status`` ('complete' | 'draft' | 'pending').
189
189
  */
190
190
  export type ClosingBookItem = {
191
+ blockType: Maybe<Scalars['String']['output']>
191
192
  id: Scalars['String']['output']
192
193
  itemType: Scalars['String']['output']
193
194
  name: Scalars['String']['output']
194
195
  reportId: Maybe<Scalars['String']['output']>
195
196
  status: Maybe<Scalars['String']['output']>
196
- structureType: Maybe<Scalars['String']['output']>
197
197
  }
198
198
 
199
199
  /**
@@ -473,7 +473,7 @@ export type InformationBlockClassification = {
473
473
  confidence: Maybe<Scalars['Float']['output']>
474
474
  /** Classification vocabulary row id. */
475
475
  id: Scalars['String']['output']
476
- /** Vocabulary identifier within the category — e.g. 'RollUp', 'aggregation', 'AssetsRollUp'. */
476
+ /** Vocabulary identifier within the category — e.g. 'RollUp', 'whole_part', 'AssetsRollUp'. */
477
477
  identifier: Scalars['String']['output']
478
478
  /** Whether this is the canonical classification for the (association|element, category) pair. Non-primary rows capture alternates / AI suggestions alongside the chosen primary. */
479
479
  isPrimary: Scalars['Boolean']['output']
@@ -614,12 +614,14 @@ export type InformationBlockRule = {
614
614
  id: Scalars['String']['output']
615
615
  /** One of 8 cm:VerificationRule subclasses — AutomatedAccountingAndReportingChecks, FundamentalAccountingConceptRelation, PeerConsistencyRule, PriorPeriodConsistencyRule, ReportLevelModelStructureRule, ReportingSystemSpecificRule, ToDoManualTask, XBRLTechnicalSyntaxRule. */
616
616
  ruleCategory: Scalars['String']['output']
617
+ /** 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. */
618
+ ruleCheckKind: Maybe<Scalars['String']['output']>
617
619
  ruleExpression: Scalars['String']['output']
618
620
  ruleMessage: Maybe<Scalars['String']['output']>
619
621
  /** 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. */
620
622
  ruleOrigin: Scalars['String']['output']
621
- /** One of 10 cm:BusinessRulePattern mechanisms — Adjustment, CoExists, EqualTo, Exists, GreaterThan, GreaterThanOrEqualToZero, LessThan, RollForward, RollUp, Variance. */
622
- rulePattern: Scalars['String']['output']
623
+ /** 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). */
624
+ rulePattern: Maybe<Scalars['String']['output']>
623
625
  /** Failure severity — 'info' | 'warning' | 'error'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
624
626
  ruleSeverity: Scalars['String']['output']
625
627
  ruleTarget: Maybe<InformationBlockRuleTarget>
@@ -702,7 +704,7 @@ export type InformationBlockViewProjections = {
702
704
  export type InformationModel = {
703
705
  /** roll_up | roll_forward | variance | adjustment | set | arithmetic | textblock. Null for block types where the concept arrangement is implicit in their mechanics. */
704
706
  conceptArrangement: Maybe<Scalars['String']['output']>
705
- /** aggregation | nonaggregation, or null if non-hypercube. */
707
+ /** is_a | whole_part | nested_whole_part | two_dimension_aggregation | complex_aggregating_whole_part, or null if non-hypercube. */
706
708
  memberArrangement: Maybe<Scalars['String']['output']>
707
709
  }
708
710
 
@@ -1006,13 +1008,13 @@ export type LibraryReference = {
1006
1008
 
1007
1009
  /** A named structure (extended link role) within a library taxonomy. */
1008
1010
  export type LibraryStructure = {
1011
+ /** balance_sheet | income_statement | cash_flow_statement | custom | … */
1012
+ blockType: Scalars['String']['output']
1009
1013
  id: Scalars['String']['output']
1010
1014
  isActive: Scalars['Boolean']['output']
1011
1015
  name: Scalars['String']['output']
1012
1016
  /** Original XBRL role URI if any */
1013
1017
  roleUri: Maybe<Scalars['String']['output']>
1014
- /** balance_sheet | income_statement | cash_flow_statement | custom | … */
1015
- structureType: Scalars['String']['output']
1016
1018
  taxonomyId: Scalars['String']['output']
1017
1019
  }
1018
1020
 
@@ -1069,9 +1071,9 @@ export type MappingCoverage = {
1069
1071
  /** A mapping structure with all its associations. */
1070
1072
  export type MappingDetail = {
1071
1073
  associations: Array<Association>
1074
+ blockType: Scalars['String']['output']
1072
1075
  id: Scalars['String']['output']
1073
1076
  name: Scalars['String']['output']
1074
- structureType: Scalars['String']['output']
1075
1077
  taxonomyId: Scalars['String']['output']
1076
1078
  totalAssociations: Scalars['Int']['output']
1077
1079
  }
@@ -1602,7 +1604,7 @@ export type QueryLibraryStructureArgs = {
1602
1604
  }
1603
1605
 
1604
1606
  export type QueryLibraryStructuresArgs = {
1605
- structureType?: InputMaybe<Scalars['String']['input']>
1607
+ blockType?: InputMaybe<Scalars['String']['input']>
1606
1608
  taxonomyId?: InputMaybe<Scalars['ID']['input']>
1607
1609
  }
1608
1610
 
@@ -1712,12 +1714,12 @@ export type QuerySecurityArgs = {
1712
1714
  }
1713
1715
 
1714
1716
  export type QueryStatementArgs = {
1717
+ blockType: Scalars['String']['input']
1715
1718
  reportId: Scalars['String']['input']
1716
- structureType: Scalars['String']['input']
1717
1719
  }
1718
1720
 
1719
1721
  export type QueryStructuresArgs = {
1720
- structureType?: InputMaybe<Scalars['String']['input']>
1722
+ blockType?: InputMaybe<Scalars['String']['input']>
1721
1723
  taxonomyId?: InputMaybe<Scalars['String']['input']>
1722
1724
  }
1723
1725
 
@@ -1906,6 +1908,8 @@ export type SecurityLite = {
1906
1908
  * rehydrated as ``InformationBlockEnvelope`` items instead.
1907
1909
  */
1908
1910
  export type Statement = {
1911
+ /** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
1912
+ blockType: Scalars['String']['output']
1909
1913
  /** Period columns rendered in this statement, in display order. */
1910
1914
  periods: Array<PeriodSpec>
1911
1915
  /** The Report this statement was rendered from. */
@@ -1916,8 +1920,6 @@ export type Statement = {
1916
1920
  structureId: Scalars['String']['output']
1917
1921
  /** Human-readable structure name. */
1918
1922
  structureName: Scalars['String']['output']
1919
- /** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
1920
- structureType: Scalars['String']['output']
1921
1923
  /** Number of GL elements that fell through the mapping with no destination concept. Indicates mapping gaps. */
1922
1924
  unmappedCount: Scalars['Int']['output']
1923
1925
  /** Outcome of running reporting rules over this structure. Null when the structure has no rules attached. */
@@ -1928,16 +1930,16 @@ export type Statement = {
1928
1930
  * One structure header — a renderable section within a taxonomy
1929
1931
  * (balance sheet, income statement, schedule, etc.).
1930
1932
  *
1931
- * ``structure_type`` drives presentation: 'balance_sheet',
1933
+ * ``block_type`` drives presentation: 'balance_sheet',
1932
1934
  * 'income_statement', 'cash_flow_statement', 'equity_statement',
1933
1935
  * 'schedule', 'chart_of_accounts', 'coa_mapping', 'rollforward', etc.
1934
1936
  */
1935
1937
  export type Structure = {
1938
+ blockType: Scalars['String']['output']
1936
1939
  description: Maybe<Scalars['String']['output']>
1937
1940
  id: Scalars['String']['output']
1938
1941
  isActive: Scalars['Boolean']['output']
1939
1942
  name: Scalars['String']['output']
1940
- structureType: Scalars['String']['output']
1941
1943
  taxonomyId: Scalars['String']['output']
1942
1944
  }
1943
1945
 
@@ -1954,12 +1956,12 @@ export type StructureList = {
1954
1956
  * row owns the facts; structures are the lenses that project them.
1955
1957
  */
1956
1958
  export type StructureSummary = {
1959
+ /** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
1960
+ blockType: Scalars['String']['output']
1957
1961
  /** Structure identifier. */
1958
1962
  id: Scalars['String']['output']
1959
1963
  /** Human-readable structure name. */
1960
1964
  name: Scalars['String']['output']
1961
- /** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
1962
- structureType: Scalars['String']['output']
1963
1965
  }
1964
1966
 
1965
1967
  /** A suggested mapping target from the reporting taxonomy. */
@@ -2056,11 +2058,11 @@ export type TaxonomyBlockRule = {
2056
2058
  }
2057
2059
 
2058
2060
  export type TaxonomyBlockStructure = {
2061
+ blockType: Scalars['String']['output']
2059
2062
  description: Maybe<Scalars['String']['output']>
2060
2063
  id: Scalars['String']['output']
2061
2064
  name: Scalars['String']['output']
2062
2065
  roleUri: Maybe<Scalars['String']['output']>
2063
- structureType: Scalars['String']['output']
2064
2066
  }
2065
2067
 
2066
2068
  /** Flat list of taxonomy headers. Used by the catalog/picker UIs. */
@@ -2523,7 +2525,7 @@ export type GetLedgerClosingBookStructuresQuery = {
2523
2525
  id: string
2524
2526
  name: string
2525
2527
  itemType: string
2526
- structureType: string | null
2528
+ blockType: string | null
2527
2529
  reportId: string | null
2528
2530
  status: string | null
2529
2531
  }>
@@ -2742,7 +2744,7 @@ export type GetInformationBlockQuery = {
2742
2744
  informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
2743
2745
  artifact: {
2744
2746
  topic: string | null
2745
- parentheticalNote: string | null
2747
+ rendererNote: string | null
2746
2748
  template: any | null
2747
2749
  mechanics: any
2748
2750
  }
@@ -2780,7 +2782,8 @@ export type GetInformationBlockQuery = {
2780
2782
  rules: Array<{
2781
2783
  id: string
2782
2784
  ruleCategory: string
2783
- rulePattern: string
2785
+ rulePattern: string | null
2786
+ ruleCheckKind: string | null
2784
2787
  ruleExpression: string
2785
2788
  ruleMessage: string | null
2786
2789
  ruleSeverity: string
@@ -2852,7 +2855,7 @@ export type ListInformationBlocksQuery = {
2852
2855
  informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
2853
2856
  artifact: {
2854
2857
  topic: string | null
2855
- parentheticalNote: string | null
2858
+ rendererNote: string | null
2856
2859
  template: any | null
2857
2860
  mechanics: any
2858
2861
  }
@@ -2890,7 +2893,8 @@ export type ListInformationBlocksQuery = {
2890
2893
  rules: Array<{
2891
2894
  id: string
2892
2895
  ruleCategory: string
2893
- rulePattern: string
2896
+ rulePattern: string | null
2897
+ ruleCheckKind: string | null
2894
2898
  ruleExpression: string
2895
2899
  ruleMessage: string | null
2896
2900
  ruleSeverity: string
@@ -2973,7 +2977,7 @@ export type GetLedgerMappingQuery = {
2973
2977
  mapping: {
2974
2978
  id: string
2975
2979
  name: string
2976
- structureType: string
2980
+ blockType: string
2977
2981
  taxonomyId: string
2978
2982
  totalAssociations: number
2979
2983
  associations: Array<{
@@ -3020,7 +3024,7 @@ export type ListLedgerMappingsQuery = {
3020
3024
  id: string
3021
3025
  name: string
3022
3026
  description: string | null
3023
- structureType: string
3027
+ blockType: string
3024
3028
  taxonomyId: string
3025
3029
  isActive: boolean
3026
3030
  }>
@@ -3155,7 +3159,7 @@ export type GetLedgerReportQuery = {
3155
3159
  sourceReportId: string | null
3156
3160
  sharedAt: any | null
3157
3161
  periods: Array<{ start: any; end: any; label: string }> | null
3158
- structures: Array<{ id: string; name: string; structureType: string }>
3162
+ structures: Array<{ id: string; name: string; blockType: string }>
3159
3163
  } | null
3160
3164
  }
3161
3165
 
@@ -3201,7 +3205,7 @@ export type GetLedgerReportPackageQuery = {
3201
3205
  informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
3202
3206
  artifact: {
3203
3207
  topic: string | null
3204
- parentheticalNote: string | null
3208
+ rendererNote: string | null
3205
3209
  template: any | null
3206
3210
  mechanics: any
3207
3211
  }
@@ -3239,7 +3243,8 @@ export type GetLedgerReportPackageQuery = {
3239
3243
  rules: Array<{
3240
3244
  id: string
3241
3245
  ruleCategory: string
3242
- rulePattern: string
3246
+ rulePattern: string | null
3247
+ ruleCheckKind: string | null
3243
3248
  ruleExpression: string
3244
3249
  ruleMessage: string | null
3245
3250
  ruleSeverity: string
@@ -3335,14 +3340,14 @@ export type ListLedgerReportsQuery = {
3335
3340
  sourceReportId: string | null
3336
3341
  sharedAt: any | null
3337
3342
  periods: Array<{ start: any; end: any; label: string }> | null
3338
- structures: Array<{ id: string; name: string; structureType: string }>
3343
+ structures: Array<{ id: string; name: string; blockType: string }>
3339
3344
  }>
3340
3345
  } | null
3341
3346
  }
3342
3347
 
3343
3348
  export type GetLedgerStatementQueryVariables = Exact<{
3344
3349
  reportId: Scalars['String']['input']
3345
- structureType: Scalars['String']['input']
3350
+ blockType: Scalars['String']['input']
3346
3351
  }>
3347
3352
 
3348
3353
  export type GetLedgerStatementQuery = {
@@ -3350,7 +3355,7 @@ export type GetLedgerStatementQuery = {
3350
3355
  reportId: string
3351
3356
  structureId: string
3352
3357
  structureName: string
3353
- structureType: string
3358
+ blockType: string
3354
3359
  unmappedCount: number
3355
3360
  periods: Array<{ start: any; end: any; label: string }>
3356
3361
  rows: Array<{
@@ -3373,7 +3378,7 @@ export type GetLedgerStatementQuery = {
3373
3378
 
3374
3379
  export type ListLedgerStructuresQueryVariables = Exact<{
3375
3380
  taxonomyId: InputMaybe<Scalars['String']['input']>
3376
- structureType: InputMaybe<Scalars['String']['input']>
3381
+ blockType: InputMaybe<Scalars['String']['input']>
3377
3382
  }>
3378
3383
 
3379
3384
  export type ListLedgerStructuresQuery = {
@@ -3382,7 +3387,7 @@ export type ListLedgerStructuresQuery = {
3382
3387
  id: string
3383
3388
  name: string
3384
3389
  description: string | null
3385
- structureType: string
3390
+ blockType: string
3386
3391
  taxonomyId: string
3387
3392
  isActive: boolean
3388
3393
  }>
@@ -4886,7 +4891,7 @@ export const GetLedgerClosingBookStructuresDocument = {
4886
4891
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4887
4892
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
4888
4893
  { kind: 'Field', name: { kind: 'Name', value: 'itemType' } },
4889
- { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
4894
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
4890
4895
  { kind: 'Field', name: { kind: 'Name', value: 'reportId' } },
4891
4896
  { kind: 'Field', name: { kind: 'Name', value: 'status' } },
4892
4897
  ],
@@ -5453,7 +5458,7 @@ export const GetInformationBlockDocument = {
5453
5458
  kind: 'SelectionSet',
5454
5459
  selections: [
5455
5460
  { kind: 'Field', name: { kind: 'Name', value: 'topic' } },
5456
- { kind: 'Field', name: { kind: 'Name', value: 'parentheticalNote' } },
5461
+ { kind: 'Field', name: { kind: 'Name', value: 'rendererNote' } },
5457
5462
  { kind: 'Field', name: { kind: 'Name', value: 'template' } },
5458
5463
  { kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
5459
5464
  ],
@@ -5520,6 +5525,7 @@ export const GetInformationBlockDocument = {
5520
5525
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5521
5526
  { kind: 'Field', name: { kind: 'Name', value: 'ruleCategory' } },
5522
5527
  { kind: 'Field', name: { kind: 'Name', value: 'rulePattern' } },
5528
+ { kind: 'Field', name: { kind: 'Name', value: 'ruleCheckKind' } },
5523
5529
  { kind: 'Field', name: { kind: 'Name', value: 'ruleExpression' } },
5524
5530
  { kind: 'Field', name: { kind: 'Name', value: 'ruleMessage' } },
5525
5531
  { kind: 'Field', name: { kind: 'Name', value: 'ruleSeverity' } },
@@ -5740,7 +5746,7 @@ export const ListInformationBlocksDocument = {
5740
5746
  kind: 'SelectionSet',
5741
5747
  selections: [
5742
5748
  { kind: 'Field', name: { kind: 'Name', value: 'topic' } },
5743
- { kind: 'Field', name: { kind: 'Name', value: 'parentheticalNote' } },
5749
+ { kind: 'Field', name: { kind: 'Name', value: 'rendererNote' } },
5744
5750
  { kind: 'Field', name: { kind: 'Name', value: 'template' } },
5745
5751
  { kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
5746
5752
  ],
@@ -5807,6 +5813,7 @@ export const ListInformationBlocksDocument = {
5807
5813
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5808
5814
  { kind: 'Field', name: { kind: 'Name', value: 'ruleCategory' } },
5809
5815
  { kind: 'Field', name: { kind: 'Name', value: 'rulePattern' } },
5816
+ { kind: 'Field', name: { kind: 'Name', value: 'ruleCheckKind' } },
5810
5817
  { kind: 'Field', name: { kind: 'Name', value: 'ruleExpression' } },
5811
5818
  { kind: 'Field', name: { kind: 'Name', value: 'ruleMessage' } },
5812
5819
  { kind: 'Field', name: { kind: 'Name', value: 'ruleSeverity' } },
@@ -6059,7 +6066,7 @@ export const GetLedgerMappingDocument = {
6059
6066
  selections: [
6060
6067
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
6061
6068
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
6062
- { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
6069
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
6063
6070
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
6064
6071
  { kind: 'Field', name: { kind: 'Name', value: 'totalAssociations' } },
6065
6072
  {
@@ -6167,7 +6174,7 @@ export const ListLedgerMappingsDocument = {
6167
6174
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
6168
6175
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
6169
6176
  { kind: 'Field', name: { kind: 'Name', value: 'description' } },
6170
- { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
6177
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
6171
6178
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
6172
6179
  { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
6173
6180
  ],
@@ -6559,7 +6566,7 @@ export const GetLedgerReportDocument = {
6559
6566
  selections: [
6560
6567
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
6561
6568
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
6562
- { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
6569
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
6563
6570
  ],
6564
6571
  },
6565
6572
  },
@@ -6671,10 +6678,7 @@ export const GetLedgerReportPackageDocument = {
6671
6678
  kind: 'SelectionSet',
6672
6679
  selections: [
6673
6680
  { kind: 'Field', name: { kind: 'Name', value: 'topic' } },
6674
- {
6675
- kind: 'Field',
6676
- name: { kind: 'Name', value: 'parentheticalNote' },
6677
- },
6681
+ { kind: 'Field', name: { kind: 'Name', value: 'rendererNote' } },
6678
6682
  { kind: 'Field', name: { kind: 'Name', value: 'template' } },
6679
6683
  { kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
6680
6684
  ],
@@ -6744,6 +6748,7 @@ export const GetLedgerReportPackageDocument = {
6744
6748
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
6745
6749
  { kind: 'Field', name: { kind: 'Name', value: 'ruleCategory' } },
6746
6750
  { kind: 'Field', name: { kind: 'Name', value: 'rulePattern' } },
6751
+ { kind: 'Field', name: { kind: 'Name', value: 'ruleCheckKind' } },
6747
6752
  {
6748
6753
  kind: 'Field',
6749
6754
  name: { kind: 'Name', value: 'ruleExpression' },
@@ -7042,7 +7047,7 @@ export const ListLedgerReportsDocument = {
7042
7047
  selections: [
7043
7048
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
7044
7049
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
7045
- { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
7050
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
7046
7051
  ],
7047
7052
  },
7048
7053
  },
@@ -7075,7 +7080,7 @@ export const GetLedgerStatementDocument = {
7075
7080
  },
7076
7081
  {
7077
7082
  kind: 'VariableDefinition',
7078
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
7083
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
7079
7084
  type: {
7080
7085
  kind: 'NonNullType',
7081
7086
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
@@ -7096,8 +7101,8 @@ export const GetLedgerStatementDocument = {
7096
7101
  },
7097
7102
  {
7098
7103
  kind: 'Argument',
7099
- name: { kind: 'Name', value: 'structureType' },
7100
- value: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
7104
+ name: { kind: 'Name', value: 'blockType' },
7105
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
7101
7106
  },
7102
7107
  ],
7103
7108
  selectionSet: {
@@ -7106,7 +7111,7 @@ export const GetLedgerStatementDocument = {
7106
7111
  { kind: 'Field', name: { kind: 'Name', value: 'reportId' } },
7107
7112
  { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
7108
7113
  { kind: 'Field', name: { kind: 'Name', value: 'structureName' } },
7109
- { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
7114
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
7110
7115
  { kind: 'Field', name: { kind: 'Name', value: 'unmappedCount' } },
7111
7116
  {
7112
7117
  kind: 'Field',
@@ -7172,7 +7177,7 @@ export const ListLedgerStructuresDocument = {
7172
7177
  },
7173
7178
  {
7174
7179
  kind: 'VariableDefinition',
7175
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
7180
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
7176
7181
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
7177
7182
  },
7178
7183
  ],
@@ -7190,8 +7195,8 @@ export const ListLedgerStructuresDocument = {
7190
7195
  },
7191
7196
  {
7192
7197
  kind: 'Argument',
7193
- name: { kind: 'Name', value: 'structureType' },
7194
- value: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
7198
+ name: { kind: 'Name', value: 'blockType' },
7199
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
7195
7200
  },
7196
7201
  ],
7197
7202
  selectionSet: {
@@ -7206,7 +7211,7 @@ export const ListLedgerStructuresDocument = {
7206
7211
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
7207
7212
  { kind: 'Field', name: { kind: 'Name', value: 'name' } },
7208
7213
  { kind: 'Field', name: { kind: 'Name', value: 'description' } },
7209
- { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
7214
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
7210
7215
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
7211
7216
  { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
7212
7217
  ],
@@ -17,7 +17,7 @@ exports.GET_CLOSING_BOOK_STRUCTURES = (0, graphql_request_1.gql) `
17
17
  id
18
18
  name
19
19
  itemType
20
- structureType
20
+ blockType
21
21
  reportId
22
22
  status
23
23
  }
@@ -15,7 +15,7 @@ export const GET_CLOSING_BOOK_STRUCTURES = gql`
15
15
  id
16
16
  name
17
17
  itemType
18
- structureType
18
+ blockType
19
19
  reportId
20
20
  status
21
21
  }
@@ -25,7 +25,7 @@ exports.GET_INFORMATION_BLOCK = (0, graphql_request_1.gql) `
25
25
  }
26
26
  artifact {
27
27
  topic
28
- parentheticalNote
28
+ rendererNote
29
29
  template
30
30
  mechanics
31
31
  }
@@ -64,6 +64,7 @@ exports.GET_INFORMATION_BLOCK = (0, graphql_request_1.gql) `
64
64
  id
65
65
  ruleCategory
66
66
  rulePattern
67
+ ruleCheckKind
67
68
  ruleExpression
68
69
  ruleMessage
69
70
  ruleSeverity
@@ -148,7 +149,7 @@ exports.LIST_INFORMATION_BLOCKS = (0, graphql_request_1.gql) `
148
149
  }
149
150
  artifact {
150
151
  topic
151
- parentheticalNote
152
+ rendererNote
152
153
  template
153
154
  mechanics
154
155
  }
@@ -187,6 +188,7 @@ exports.LIST_INFORMATION_BLOCKS = (0, graphql_request_1.gql) `
187
188
  id
188
189
  ruleCategory
189
190
  rulePattern
191
+ ruleCheckKind
190
192
  ruleExpression
191
193
  ruleMessage
192
194
  ruleSeverity
@@ -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,6 +62,7 @@ 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
@@ -147,7 +148,7 @@ export const LIST_INFORMATION_BLOCKS = gql`
147
148
  }
148
149
  artifact {
149
150
  topic
150
- parentheticalNote
151
+ rendererNote
151
152
  template
152
153
  mechanics
153
154
  }
@@ -186,6 +187,7 @@ export const LIST_INFORMATION_BLOCKS = gql`
186
187
  id
187
188
  ruleCategory
188
189
  rulePattern
190
+ ruleCheckKind
189
191
  ruleExpression
190
192
  ruleMessage
191
193
  ruleSeverity
@@ -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