@robosystems/client 0.3.8 → 0.3.10

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.
@@ -89,6 +89,13 @@ export type AccountTreeNode = {
89
89
  name: Scalars['String']['output']
90
90
  }
91
91
 
92
+ export type Artifact = {
93
+ mechanics: Scalars['JSON']['output']
94
+ parentheticalNote: Maybe<Scalars['String']['output']>
95
+ template: Maybe<Scalars['JSON']['output']>
96
+ topic: Maybe<Scalars['String']['output']>
97
+ }
98
+
92
99
  export type Association = {
93
100
  approvedBy: Maybe<Scalars['String']['output']>
94
101
  associationType: Scalars['String']['output']
@@ -254,6 +261,141 @@ export type HoldingsList = {
254
261
  totalPositions: Scalars['Int']['output']
255
262
  }
256
263
 
264
+ export type InformationBlock = {
265
+ artifact: Artifact
266
+ blockType: Scalars['String']['output']
267
+ category: Scalars['String']['output']
268
+ connections: Array<InformationBlockConnection>
269
+ dimensions: Array<Scalars['JSON']['output']>
270
+ displayName: Scalars['String']['output']
271
+ elements: Array<InformationBlockElement>
272
+ factSet: Maybe<InformationBlockFactSet>
273
+ facts: Array<InformationBlockFact>
274
+ id: Scalars['ID']['output']
275
+ informationModel: InformationModel
276
+ name: Scalars['String']['output']
277
+ rules: Array<InformationBlockRule>
278
+ taxonomyId: Maybe<Scalars['String']['output']>
279
+ taxonomyName: Maybe<Scalars['String']['output']>
280
+ verificationResults: Array<InformationBlockVerificationResult>
281
+ }
282
+
283
+ export type InformationBlockClassification = {
284
+ /** One of the categories in the `public.classifications` CHECK constraint — e.g. 'concept_arrangement', 'member_arrangement', 'named_disclosure' for association-level; 'liquidity', 'activityType', etc. for element-level. */
285
+ category: Scalars['String']['output']
286
+ /** AI/adapter-supplied confidence (0.0-1.0). Null for deterministic library-seeded rows. */
287
+ confidence: Maybe<Scalars['Float']['output']>
288
+ /** Classification vocabulary row id. */
289
+ id: Scalars['String']['output']
290
+ /** Vocabulary identifier within the category — e.g. 'RollUp', 'aggregation', 'AssetsRollUp'. */
291
+ identifier: Scalars['String']['output']
292
+ /** Whether this is the canonical classification for the (association|element, category) pair. Non-primary rows capture alternates / AI suggestions alongside the chosen primary. */
293
+ isPrimary: Scalars['Boolean']['output']
294
+ /** Provenance — 'arcrole_analysis', 'disclosure_mechanics', 'us-gaap-metamodel', adapter name, etc. */
295
+ source: Maybe<Scalars['String']['output']>
296
+ }
297
+
298
+ export type InformationBlockConnection = {
299
+ arcrole: Maybe<Scalars['String']['output']>
300
+ /** presentation | calculation | mapping | equivalence | general-special | essence-alias */
301
+ associationType: Scalars['String']['output']
302
+ /** Association-level classifications (Phase epsilon) — concept_arrangement, member_arrangement, named_disclosure rows from the junction. Empty for library-seeded associations that haven't been classified yet. */
303
+ classifications: Array<InformationBlockClassification>
304
+ fromElementId: Scalars['String']['output']
305
+ id: Scalars['String']['output']
306
+ orderValue: Maybe<Scalars['Float']['output']>
307
+ toElementId: Scalars['String']['output']
308
+ weight: Maybe<Scalars['Float']['output']>
309
+ }
310
+
311
+ export type InformationBlockElement = {
312
+ balanceType: Maybe<Scalars['String']['output']>
313
+ code: Maybe<Scalars['String']['output']>
314
+ /** concept | abstract | axis | member | hypercube */
315
+ elementType: Scalars['String']['output']
316
+ id: Scalars['String']['output']
317
+ isAbstract: Scalars['Boolean']['output']
318
+ isMonetary: Scalars['Boolean']['output']
319
+ name: Scalars['String']['output']
320
+ periodType: Maybe<Scalars['String']['output']>
321
+ qname: Maybe<Scalars['String']['output']>
322
+ }
323
+
324
+ export type InformationBlockFact = {
325
+ elementId: Scalars['String']['output']
326
+ /** historical | in_scope */
327
+ factScope: Scalars['String']['output']
328
+ factSetId: Maybe<Scalars['String']['output']>
329
+ id: Scalars['String']['output']
330
+ periodEnd: Scalars['Date']['output']
331
+ periodStart: Maybe<Scalars['Date']['output']>
332
+ periodType: Scalars['String']['output']
333
+ unit: Scalars['String']['output']
334
+ value: Scalars['Float']['output']
335
+ }
336
+
337
+ export type InformationBlockFactSet = {
338
+ entityId: Scalars['String']['output']
339
+ /** 'report' | 'schedule' | 'custom'. Enum closure enforced by the ``public.fact_sets`` CHECK constraint. */
340
+ factsetType: Scalars['String']['output']
341
+ id: Scalars['String']['output']
342
+ periodEnd: Scalars['Date']['output']
343
+ periodStart: Maybe<Scalars['Date']['output']>
344
+ /** Back-pointer to the ``reports`` table while ``report_id`` still lives on facts. Drops out once the retirement migration lands. */
345
+ reportId: Maybe<Scalars['String']['output']>
346
+ structureId: Maybe<Scalars['String']['output']>
347
+ }
348
+
349
+ export type InformationBlockRule = {
350
+ id: Scalars['String']['output']
351
+ /** One of 8 cm:VerificationRule subclasses — AutomatedAccountingAndReportingChecks, FundamentalAccountingConceptRelation, PeerConsistencyRule, PriorPeriodConsistencyRule, ReportLevelModelStructureRule, ReportingSystemSpecificRule, ToDoManualTask, XBRLTechnicalSyntaxRule. */
352
+ ruleCategory: Scalars['String']['output']
353
+ ruleExpression: Scalars['String']['output']
354
+ ruleMessage: Maybe<Scalars['String']['output']>
355
+ /** 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. */
356
+ ruleOrigin: Scalars['String']['output']
357
+ /** One of 10 cm:BusinessRulePattern mechanisms — Adjustment, CoExists, EqualTo, Exists, GreaterThan, GreaterThanOrEqualToZero, LessThan, RollForward, RollUp, Variance. */
358
+ rulePattern: Scalars['String']['output']
359
+ /** Failure severity — 'info' | 'warning' | 'error'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
360
+ ruleSeverity: Scalars['String']['output']
361
+ ruleTarget: Maybe<InformationBlockRuleTarget>
362
+ ruleVariables: Array<InformationBlockRuleVariable>
363
+ }
364
+
365
+ export type InformationBlockRuleTarget = {
366
+ /** Which atom type the rule targets — 'structure' | 'element' | 'association' | 'taxonomy'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
367
+ targetKind: Scalars['String']['output']
368
+ /** UUID of the target atom — structure_id, element_id, association_id, or taxonomy_id depending on ``target_kind``. */
369
+ targetRefId: Scalars['String']['output']
370
+ }
371
+
372
+ export type InformationBlockRuleVariable = {
373
+ /** Local name in the rule expression, e.g. 'Assets'. */
374
+ variableName: Scalars['String']['output']
375
+ /** Concept qname the variable resolves to, e.g. 'fac:Assets'. */
376
+ variableQname: Scalars['String']['output']
377
+ }
378
+
379
+ export type InformationBlockVerificationResult = {
380
+ evaluatedAt: Maybe<Scalars['DateTime']['output']>
381
+ factSetId: Maybe<Scalars['String']['output']>
382
+ id: Scalars['String']['output']
383
+ message: Maybe<Scalars['String']['output']>
384
+ periodEnd: Maybe<Scalars['Date']['output']>
385
+ periodStart: Maybe<Scalars['Date']['output']>
386
+ ruleId: Scalars['String']['output']
387
+ /** 'pass' | 'fail' | 'error' | 'skipped'. Enum closure enforced by the ``public.verification_results`` CHECK constraint. */
388
+ status: Scalars['String']['output']
389
+ structureId: Maybe<Scalars['String']['output']>
390
+ }
391
+
392
+ export type InformationModel = {
393
+ /** roll_up | roll_forward | variance | adjustment | set | arithmetic | textblock. Null for block types where the concept arrangement is implicit in their mechanics. */
394
+ conceptArrangement: Maybe<Scalars['String']['output']>
395
+ /** aggregation | nonaggregation, or null if non-hypercube. */
396
+ memberArrangement: Maybe<Scalars['String']['output']>
397
+ }
398
+
257
399
  export type LedgerEntity = {
258
400
  addressCity: Maybe<Scalars['String']['output']>
259
401
  addressCountry: Maybe<Scalars['String']['output']>
@@ -396,10 +538,10 @@ export type LibraryElement = {
396
538
  parentId: Maybe<Scalars['String']['output']>
397
539
  /** instant | duration */
398
540
  periodType: Scalars['String']['output']
399
- /** Qualified name, e.g. 'sfac6:Assets' */
541
+ /** Qualified name, e.g. 'fac:Assets' */
400
542
  qname: Scalars['String']['output']
401
543
  references: Array<LibraryReference>
402
- /** sfac6 | fac | us-gaap | rs-gaap | … */
544
+ /** fac | us-gaap | rs-gaap | … */
403
545
  source: Scalars['String']['output']
404
546
  taxonomyId: Maybe<Scalars['String']['output']>
405
547
  }
@@ -478,7 +620,7 @@ export type LibraryTaxonomy = {
478
620
  isShared: Scalars['Boolean']['output']
479
621
  name: Scalars['String']['output']
480
622
  namespaceUri: Maybe<Scalars['String']['output']>
481
- /** sfac6 | fac | us-gaap | rs-gaap | ifrs */
623
+ /** fac | us-gaap | rs-gaap | ifrs */
482
624
  standard: Maybe<Scalars['String']['output']>
483
625
  /** chart_of_accounts | reporting | mapping | schedule */
484
626
  taxonomyType: Scalars['String']['output']
@@ -662,6 +804,8 @@ export type Query = {
662
804
  fiscalCalendar: Maybe<FiscalCalendar>
663
805
  hello: Scalars['String']['output']
664
806
  holdings: Maybe<HoldingsList>
807
+ informationBlock: Maybe<InformationBlock>
808
+ informationBlocks: Array<InformationBlock>
665
809
  libraryElement: Maybe<LibraryElement>
666
810
  libraryElementArcs: Array<LibraryElementArc>
667
811
  libraryElementClassifications: Array<LibraryElementClassification>
@@ -689,8 +833,6 @@ export type Query = {
689
833
  report: Maybe<Report>
690
834
  reportingTaxonomy: Maybe<Taxonomy>
691
835
  reports: Maybe<ReportList>
692
- scheduleFacts: Maybe<ScheduleFacts>
693
- schedules: Maybe<ScheduleList>
694
836
  searchLibraryElements: Array<LibraryElement>
695
837
  securities: Maybe<SecurityList>
696
838
  security: Maybe<Security>
@@ -698,6 +840,8 @@ export type Query = {
698
840
  structures: Maybe<StructureList>
699
841
  summary: Maybe<LedgerSummary>
700
842
  taxonomies: Maybe<TaxonomyList>
843
+ taxonomyBlock: Maybe<TaxonomyBlock>
844
+ taxonomyBlocks: Array<TaxonomyBlock>
701
845
  transaction: Maybe<LedgerTransactionDetail>
702
846
  transactions: Maybe<LedgerTransactionList>
703
847
  trialBalance: Maybe<TrialBalance>
@@ -734,6 +878,17 @@ export type QueryHoldingsArgs = {
734
878
  portfolioId: Scalars['String']['input']
735
879
  }
736
880
 
881
+ export type QueryInformationBlockArgs = {
882
+ id: Scalars['ID']['input']
883
+ }
884
+
885
+ export type QueryInformationBlocksArgs = {
886
+ blockType?: InputMaybe<Scalars['String']['input']>
887
+ category?: InputMaybe<Scalars['String']['input']>
888
+ limit?: Scalars['Int']['input']
889
+ offset?: Scalars['Int']['input']
890
+ }
891
+
737
892
  export type QueryLibraryElementArgs = {
738
893
  id?: InputMaybe<Scalars['ID']['input']>
739
894
  qname?: InputMaybe<Scalars['String']['input']>
@@ -859,12 +1014,6 @@ export type QueryReportArgs = {
859
1014
  reportId: Scalars['String']['input']
860
1015
  }
861
1016
 
862
- export type QueryScheduleFactsArgs = {
863
- periodEnd?: InputMaybe<Scalars['Date']['input']>
864
- periodStart?: InputMaybe<Scalars['Date']['input']>
865
- structureId: Scalars['String']['input']
866
- }
867
-
868
1017
  export type QuerySearchLibraryElementsArgs = {
869
1018
  limit?: Scalars['Int']['input']
870
1019
  query: Scalars['String']['input']
@@ -897,6 +1046,18 @@ export type QueryTaxonomiesArgs = {
897
1046
  taxonomyType?: InputMaybe<Scalars['String']['input']>
898
1047
  }
899
1048
 
1049
+ export type QueryTaxonomyBlockArgs = {
1050
+ id: Scalars['ID']['input']
1051
+ }
1052
+
1053
+ export type QueryTaxonomyBlocksArgs = {
1054
+ category?: InputMaybe<Scalars['String']['input']>
1055
+ limit?: Scalars['Int']['input']
1056
+ offset?: Scalars['Int']['input']
1057
+ parentTaxonomyId?: InputMaybe<Scalars['ID']['input']>
1058
+ taxonomyType?: InputMaybe<Scalars['String']['input']>
1059
+ }
1060
+
900
1061
  export type QueryTransactionArgs = {
901
1062
  transactionId: Scalars['String']['input']
902
1063
  }
@@ -932,6 +1093,7 @@ export type Report = {
932
1093
  periodStart: Maybe<Scalars['Date']['output']>
933
1094
  periodType: Scalars['String']['output']
934
1095
  periods: Maybe<Array<PeriodSpec>>
1096
+ ruleSummary: Maybe<Scalars['JSON']['output']>
935
1097
  sharedAt: Maybe<Scalars['DateTime']['output']>
936
1098
  sourceGraphId: Maybe<Scalars['String']['output']>
937
1099
  sourceReportId: Maybe<Scalars['String']['output']>
@@ -943,33 +1105,6 @@ export type ReportList = {
943
1105
  reports: Array<Report>
944
1106
  }
945
1107
 
946
- export type ScheduleFact = {
947
- elementId: Scalars['String']['output']
948
- elementName: Scalars['String']['output']
949
- periodEnd: Scalars['Date']['output']
950
- periodStart: Scalars['Date']['output']
951
- value: Scalars['Float']['output']
952
- }
953
-
954
- export type ScheduleFacts = {
955
- facts: Array<ScheduleFact>
956
- structureId: Scalars['String']['output']
957
- }
958
-
959
- export type ScheduleList = {
960
- schedules: Array<ScheduleSummary>
961
- }
962
-
963
- export type ScheduleSummary = {
964
- entryTemplate: Maybe<Scalars['JSON']['output']>
965
- name: Scalars['String']['output']
966
- periodsWithEntries: Scalars['Int']['output']
967
- scheduleMetadata: Maybe<Scalars['JSON']['output']>
968
- structureId: Scalars['ID']['output']
969
- taxonomyName: Scalars['String']['output']
970
- totalPeriods: Scalars['Int']['output']
971
- }
972
-
973
1108
  export type Security = {
974
1109
  authorizedShares: Maybe<Scalars['Int']['output']>
975
1110
  createdAt: Scalars['DateTime']['output']
@@ -1043,6 +1178,73 @@ export type Taxonomy = {
1043
1178
  version: Maybe<Scalars['String']['output']>
1044
1179
  }
1045
1180
 
1181
+ export type TaxonomyBlock = {
1182
+ associationCount: Scalars['Int']['output']
1183
+ associations: Array<TaxonomyBlockAssociation>
1184
+ category: Scalars['String']['output']
1185
+ displayName: Scalars['String']['output']
1186
+ elementCount: Scalars['Int']['output']
1187
+ elements: Array<TaxonomyBlockElement>
1188
+ id: Scalars['ID']['output']
1189
+ isLocked: Scalars['Boolean']['output']
1190
+ name: Scalars['String']['output']
1191
+ namespaceUri: Maybe<Scalars['String']['output']>
1192
+ parentTaxonomyId: Maybe<Scalars['String']['output']>
1193
+ parentTaxonomyName: Maybe<Scalars['String']['output']>
1194
+ rules: Array<TaxonomyBlockRule>
1195
+ standard: Maybe<Scalars['String']['output']>
1196
+ structureCount: Scalars['Int']['output']
1197
+ structures: Array<TaxonomyBlockStructure>
1198
+ taxonomyType: Scalars['String']['output']
1199
+ verificationResults: Array<Scalars['JSON']['output']>
1200
+ version: Maybe<Scalars['String']['output']>
1201
+ }
1202
+
1203
+ export type TaxonomyBlockAssociation = {
1204
+ arcrole: Maybe<Scalars['String']['output']>
1205
+ associationType: Scalars['String']['output']
1206
+ fromElementQname: Scalars['String']['output']
1207
+ id: Scalars['String']['output']
1208
+ orderValue: Maybe<Scalars['Float']['output']>
1209
+ structureId: Scalars['String']['output']
1210
+ toElementQname: Scalars['String']['output']
1211
+ weight: Maybe<Scalars['Float']['output']>
1212
+ }
1213
+
1214
+ export type TaxonomyBlockElement = {
1215
+ balanceType: Maybe<Scalars['String']['output']>
1216
+ classification: Maybe<Scalars['String']['output']>
1217
+ depth: Maybe<Scalars['Int']['output']>
1218
+ elementType: Scalars['String']['output']
1219
+ id: Scalars['String']['output']
1220
+ isMonetary: Scalars['Boolean']['output']
1221
+ name: Scalars['String']['output']
1222
+ origin: Scalars['String']['output']
1223
+ parentQname: Maybe<Scalars['String']['output']>
1224
+ periodType: Maybe<Scalars['String']['output']>
1225
+ qname: Maybe<Scalars['String']['output']>
1226
+ }
1227
+
1228
+ export type TaxonomyBlockRule = {
1229
+ id: Scalars['String']['output']
1230
+ name: Scalars['String']['output']
1231
+ origin: Scalars['String']['output']
1232
+ ruleCategory: Scalars['String']['output']
1233
+ ruleExpression: Scalars['String']['output']
1234
+ rulePattern: Scalars['String']['output']
1235
+ severity: Scalars['String']['output']
1236
+ targetKind: Maybe<Scalars['String']['output']>
1237
+ targetRef: Maybe<Scalars['String']['output']>
1238
+ }
1239
+
1240
+ export type TaxonomyBlockStructure = {
1241
+ description: Maybe<Scalars['String']['output']>
1242
+ id: Scalars['String']['output']
1243
+ name: Scalars['String']['output']
1244
+ roleUri: Maybe<Scalars['String']['output']>
1245
+ structureType: Scalars['String']['output']
1246
+ }
1247
+
1046
1248
  export type TaxonomyList = {
1047
1249
  taxonomies: Array<Taxonomy>
1048
1250
  }
@@ -1515,6 +1717,117 @@ export type GetLedgerFiscalCalendarQuery = {
1515
1717
  } | null
1516
1718
  }
1517
1719
 
1720
+ export type GetInformationBlockQueryVariables = Exact<{
1721
+ id: Scalars['ID']['input']
1722
+ }>
1723
+
1724
+ export type GetInformationBlockQuery = {
1725
+ informationBlock: {
1726
+ id: string
1727
+ blockType: string
1728
+ name: string
1729
+ displayName: string
1730
+ category: string
1731
+ taxonomyId: string | null
1732
+ taxonomyName: string | null
1733
+ informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
1734
+ artifact: {
1735
+ topic: string | null
1736
+ parentheticalNote: string | null
1737
+ template: any | null
1738
+ mechanics: any
1739
+ }
1740
+ elements: Array<{
1741
+ id: string
1742
+ qname: string | null
1743
+ name: string
1744
+ code: string | null
1745
+ elementType: string
1746
+ isAbstract: boolean
1747
+ isMonetary: boolean
1748
+ balanceType: string | null
1749
+ periodType: string | null
1750
+ }>
1751
+ connections: Array<{
1752
+ id: string
1753
+ fromElementId: string
1754
+ toElementId: string
1755
+ associationType: string
1756
+ arcrole: string | null
1757
+ orderValue: number | null
1758
+ weight: number | null
1759
+ }>
1760
+ facts: Array<{
1761
+ id: string
1762
+ elementId: string
1763
+ value: number
1764
+ periodStart: any | null
1765
+ periodEnd: any
1766
+ periodType: string
1767
+ unit: string
1768
+ factScope: string
1769
+ factSetId: string | null
1770
+ }>
1771
+ } | null
1772
+ }
1773
+
1774
+ export type ListInformationBlocksQueryVariables = Exact<{
1775
+ blockType: InputMaybe<Scalars['String']['input']>
1776
+ category: InputMaybe<Scalars['String']['input']>
1777
+ limit: InputMaybe<Scalars['Int']['input']>
1778
+ offset: InputMaybe<Scalars['Int']['input']>
1779
+ }>
1780
+
1781
+ export type ListInformationBlocksQuery = {
1782
+ informationBlocks: Array<{
1783
+ id: string
1784
+ blockType: string
1785
+ name: string
1786
+ displayName: string
1787
+ category: string
1788
+ taxonomyId: string | null
1789
+ taxonomyName: string | null
1790
+ informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
1791
+ artifact: {
1792
+ topic: string | null
1793
+ parentheticalNote: string | null
1794
+ template: any | null
1795
+ mechanics: any
1796
+ }
1797
+ elements: Array<{
1798
+ id: string
1799
+ qname: string | null
1800
+ name: string
1801
+ code: string | null
1802
+ elementType: string
1803
+ isAbstract: boolean
1804
+ isMonetary: boolean
1805
+ balanceType: string | null
1806
+ periodType: string | null
1807
+ }>
1808
+ connections: Array<{
1809
+ id: string
1810
+ fromElementId: string
1811
+ toElementId: string
1812
+ associationType: string
1813
+ arcrole: string | null
1814
+ orderValue: number | null
1815
+ weight: number | null
1816
+ }>
1817
+ facts: Array<{
1818
+ id: string
1819
+ elementId: string
1820
+ value: number
1821
+ periodStart: any | null
1822
+ periodEnd: any
1823
+ periodType: string
1824
+ unit: string
1825
+ factScope: string
1826
+ factSetId: string | null
1827
+ }>
1828
+ }>
1829
+ }
1830
+
1518
1831
  export type GetLedgerMappedTrialBalanceQueryVariables = Exact<{
1519
1832
  mappingId: Scalars['String']['input']
1520
1833
  startDate: InputMaybe<Scalars['Date']['input']>
@@ -1777,41 +2090,6 @@ export type ListLedgerReportsQuery = {
1777
2090
  } | null
1778
2091
  }
1779
2092
 
1780
- export type GetLedgerScheduleFactsQueryVariables = Exact<{
1781
- structureId: Scalars['String']['input']
1782
- periodStart: InputMaybe<Scalars['Date']['input']>
1783
- periodEnd: InputMaybe<Scalars['Date']['input']>
1784
- }>
1785
-
1786
- export type GetLedgerScheduleFactsQuery = {
1787
- scheduleFacts: {
1788
- structureId: string
1789
- facts: Array<{
1790
- elementId: string
1791
- elementName: string
1792
- value: number
1793
- periodStart: any
1794
- periodEnd: any
1795
- }>
1796
- } | null
1797
- }
1798
-
1799
- export type ListLedgerSchedulesQueryVariables = Exact<{ [key: string]: never }>
1800
-
1801
- export type ListLedgerSchedulesQuery = {
1802
- schedules: {
1803
- schedules: Array<{
1804
- structureId: string
1805
- name: string
1806
- taxonomyName: string
1807
- entryTemplate: any | null
1808
- scheduleMetadata: any | null
1809
- totalPeriods: number
1810
- periodsWithEntries: number
1811
- }>
1812
- } | null
1813
- }
1814
-
1815
2093
  export type GetLedgerStatementQueryVariables = Exact<{
1816
2094
  reportId: Scalars['String']['input']
1817
2095
  structureType: Scalars['String']['input']
@@ -3458,60 +3736,335 @@ export const GetLedgerFiscalCalendarDocument = {
3458
3736
  },
3459
3737
  ],
3460
3738
  } as unknown as DocumentNode<GetLedgerFiscalCalendarQuery, GetLedgerFiscalCalendarQueryVariables>
3461
- export const GetLedgerMappedTrialBalanceDocument = {
3739
+ export const GetInformationBlockDocument = {
3462
3740
  kind: 'Document',
3463
3741
  definitions: [
3464
3742
  {
3465
3743
  kind: 'OperationDefinition',
3466
3744
  operation: 'query',
3467
- name: { kind: 'Name', value: 'GetLedgerMappedTrialBalance' },
3745
+ name: { kind: 'Name', value: 'GetInformationBlock' },
3468
3746
  variableDefinitions: [
3469
3747
  {
3470
3748
  kind: 'VariableDefinition',
3471
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3749
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
3472
3750
  type: {
3473
3751
  kind: 'NonNullType',
3474
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3752
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
3475
3753
  },
3476
3754
  },
3477
- {
3478
- kind: 'VariableDefinition',
3479
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
3480
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3481
- },
3482
- {
3483
- kind: 'VariableDefinition',
3484
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
3485
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3486
- },
3487
3755
  ],
3488
3756
  selectionSet: {
3489
3757
  kind: 'SelectionSet',
3490
3758
  selections: [
3491
3759
  {
3492
3760
  kind: 'Field',
3493
- name: { kind: 'Name', value: 'mappedTrialBalance' },
3761
+ name: { kind: 'Name', value: 'informationBlock' },
3494
3762
  arguments: [
3495
3763
  {
3496
3764
  kind: 'Argument',
3497
- name: { kind: 'Name', value: 'mappingId' },
3498
- value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3499
- },
3500
- {
3501
- kind: 'Argument',
3502
- name: { kind: 'Name', value: 'startDate' },
3503
- value: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
3504
- },
3505
- {
3506
- kind: 'Argument',
3507
- name: { kind: 'Name', value: 'endDate' },
3508
- value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
3765
+ name: { kind: 'Name', value: 'id' },
3766
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
3509
3767
  },
3510
3768
  ],
3511
3769
  selectionSet: {
3512
3770
  kind: 'SelectionSet',
3513
3771
  selections: [
3514
- { kind: 'Field', name: { kind: 'Name', value: 'mappingId' } },
3772
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3773
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
3774
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3775
+ { kind: 'Field', name: { kind: 'Name', value: 'displayName' } },
3776
+ { kind: 'Field', name: { kind: 'Name', value: 'category' } },
3777
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3778
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
3779
+ {
3780
+ kind: 'Field',
3781
+ name: { kind: 'Name', value: 'informationModel' },
3782
+ selectionSet: {
3783
+ kind: 'SelectionSet',
3784
+ selections: [
3785
+ { kind: 'Field', name: { kind: 'Name', value: 'conceptArrangement' } },
3786
+ { kind: 'Field', name: { kind: 'Name', value: 'memberArrangement' } },
3787
+ ],
3788
+ },
3789
+ },
3790
+ {
3791
+ kind: 'Field',
3792
+ name: { kind: 'Name', value: 'artifact' },
3793
+ selectionSet: {
3794
+ kind: 'SelectionSet',
3795
+ selections: [
3796
+ { kind: 'Field', name: { kind: 'Name', value: 'topic' } },
3797
+ { kind: 'Field', name: { kind: 'Name', value: 'parentheticalNote' } },
3798
+ { kind: 'Field', name: { kind: 'Name', value: 'template' } },
3799
+ { kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
3800
+ ],
3801
+ },
3802
+ },
3803
+ {
3804
+ kind: 'Field',
3805
+ name: { kind: 'Name', value: 'elements' },
3806
+ selectionSet: {
3807
+ kind: 'SelectionSet',
3808
+ selections: [
3809
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3810
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
3811
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3812
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
3813
+ { kind: 'Field', name: { kind: 'Name', value: 'elementType' } },
3814
+ { kind: 'Field', name: { kind: 'Name', value: 'isAbstract' } },
3815
+ { kind: 'Field', name: { kind: 'Name', value: 'isMonetary' } },
3816
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
3817
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
3818
+ ],
3819
+ },
3820
+ },
3821
+ {
3822
+ kind: 'Field',
3823
+ name: { kind: 'Name', value: 'connections' },
3824
+ selectionSet: {
3825
+ kind: 'SelectionSet',
3826
+ selections: [
3827
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3828
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementId' } },
3829
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementId' } },
3830
+ { kind: 'Field', name: { kind: 'Name', value: 'associationType' } },
3831
+ { kind: 'Field', name: { kind: 'Name', value: 'arcrole' } },
3832
+ { kind: 'Field', name: { kind: 'Name', value: 'orderValue' } },
3833
+ { kind: 'Field', name: { kind: 'Name', value: 'weight' } },
3834
+ ],
3835
+ },
3836
+ },
3837
+ {
3838
+ kind: 'Field',
3839
+ name: { kind: 'Name', value: 'facts' },
3840
+ selectionSet: {
3841
+ kind: 'SelectionSet',
3842
+ selections: [
3843
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3844
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3845
+ { kind: 'Field', name: { kind: 'Name', value: 'value' } },
3846
+ { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
3847
+ { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
3848
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
3849
+ { kind: 'Field', name: { kind: 'Name', value: 'unit' } },
3850
+ { kind: 'Field', name: { kind: 'Name', value: 'factScope' } },
3851
+ { kind: 'Field', name: { kind: 'Name', value: 'factSetId' } },
3852
+ ],
3853
+ },
3854
+ },
3855
+ ],
3856
+ },
3857
+ },
3858
+ ],
3859
+ },
3860
+ },
3861
+ ],
3862
+ } as unknown as DocumentNode<GetInformationBlockQuery, GetInformationBlockQueryVariables>
3863
+ export const ListInformationBlocksDocument = {
3864
+ kind: 'Document',
3865
+ definitions: [
3866
+ {
3867
+ kind: 'OperationDefinition',
3868
+ operation: 'query',
3869
+ name: { kind: 'Name', value: 'ListInformationBlocks' },
3870
+ variableDefinitions: [
3871
+ {
3872
+ kind: 'VariableDefinition',
3873
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
3874
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3875
+ },
3876
+ {
3877
+ kind: 'VariableDefinition',
3878
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'category' } },
3879
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3880
+ },
3881
+ {
3882
+ kind: 'VariableDefinition',
3883
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
3884
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
3885
+ },
3886
+ {
3887
+ kind: 'VariableDefinition',
3888
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
3889
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
3890
+ },
3891
+ ],
3892
+ selectionSet: {
3893
+ kind: 'SelectionSet',
3894
+ selections: [
3895
+ {
3896
+ kind: 'Field',
3897
+ name: { kind: 'Name', value: 'informationBlocks' },
3898
+ arguments: [
3899
+ {
3900
+ kind: 'Argument',
3901
+ name: { kind: 'Name', value: 'blockType' },
3902
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
3903
+ },
3904
+ {
3905
+ kind: 'Argument',
3906
+ name: { kind: 'Name', value: 'category' },
3907
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'category' } },
3908
+ },
3909
+ {
3910
+ kind: 'Argument',
3911
+ name: { kind: 'Name', value: 'limit' },
3912
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
3913
+ },
3914
+ {
3915
+ kind: 'Argument',
3916
+ name: { kind: 'Name', value: 'offset' },
3917
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
3918
+ },
3919
+ ],
3920
+ selectionSet: {
3921
+ kind: 'SelectionSet',
3922
+ selections: [
3923
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3924
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
3925
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3926
+ { kind: 'Field', name: { kind: 'Name', value: 'displayName' } },
3927
+ { kind: 'Field', name: { kind: 'Name', value: 'category' } },
3928
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3929
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
3930
+ {
3931
+ kind: 'Field',
3932
+ name: { kind: 'Name', value: 'informationModel' },
3933
+ selectionSet: {
3934
+ kind: 'SelectionSet',
3935
+ selections: [
3936
+ { kind: 'Field', name: { kind: 'Name', value: 'conceptArrangement' } },
3937
+ { kind: 'Field', name: { kind: 'Name', value: 'memberArrangement' } },
3938
+ ],
3939
+ },
3940
+ },
3941
+ {
3942
+ kind: 'Field',
3943
+ name: { kind: 'Name', value: 'artifact' },
3944
+ selectionSet: {
3945
+ kind: 'SelectionSet',
3946
+ selections: [
3947
+ { kind: 'Field', name: { kind: 'Name', value: 'topic' } },
3948
+ { kind: 'Field', name: { kind: 'Name', value: 'parentheticalNote' } },
3949
+ { kind: 'Field', name: { kind: 'Name', value: 'template' } },
3950
+ { kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
3951
+ ],
3952
+ },
3953
+ },
3954
+ {
3955
+ kind: 'Field',
3956
+ name: { kind: 'Name', value: 'elements' },
3957
+ selectionSet: {
3958
+ kind: 'SelectionSet',
3959
+ selections: [
3960
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3961
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
3962
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3963
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
3964
+ { kind: 'Field', name: { kind: 'Name', value: 'elementType' } },
3965
+ { kind: 'Field', name: { kind: 'Name', value: 'isAbstract' } },
3966
+ { kind: 'Field', name: { kind: 'Name', value: 'isMonetary' } },
3967
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
3968
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
3969
+ ],
3970
+ },
3971
+ },
3972
+ {
3973
+ kind: 'Field',
3974
+ name: { kind: 'Name', value: 'connections' },
3975
+ selectionSet: {
3976
+ kind: 'SelectionSet',
3977
+ selections: [
3978
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3979
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementId' } },
3980
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementId' } },
3981
+ { kind: 'Field', name: { kind: 'Name', value: 'associationType' } },
3982
+ { kind: 'Field', name: { kind: 'Name', value: 'arcrole' } },
3983
+ { kind: 'Field', name: { kind: 'Name', value: 'orderValue' } },
3984
+ { kind: 'Field', name: { kind: 'Name', value: 'weight' } },
3985
+ ],
3986
+ },
3987
+ },
3988
+ {
3989
+ kind: 'Field',
3990
+ name: { kind: 'Name', value: 'facts' },
3991
+ selectionSet: {
3992
+ kind: 'SelectionSet',
3993
+ selections: [
3994
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3995
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3996
+ { kind: 'Field', name: { kind: 'Name', value: 'value' } },
3997
+ { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
3998
+ { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
3999
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
4000
+ { kind: 'Field', name: { kind: 'Name', value: 'unit' } },
4001
+ { kind: 'Field', name: { kind: 'Name', value: 'factScope' } },
4002
+ { kind: 'Field', name: { kind: 'Name', value: 'factSetId' } },
4003
+ ],
4004
+ },
4005
+ },
4006
+ ],
4007
+ },
4008
+ },
4009
+ ],
4010
+ },
4011
+ },
4012
+ ],
4013
+ } as unknown as DocumentNode<ListInformationBlocksQuery, ListInformationBlocksQueryVariables>
4014
+ export const GetLedgerMappedTrialBalanceDocument = {
4015
+ kind: 'Document',
4016
+ definitions: [
4017
+ {
4018
+ kind: 'OperationDefinition',
4019
+ operation: 'query',
4020
+ name: { kind: 'Name', value: 'GetLedgerMappedTrialBalance' },
4021
+ variableDefinitions: [
4022
+ {
4023
+ kind: 'VariableDefinition',
4024
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
4025
+ type: {
4026
+ kind: 'NonNullType',
4027
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4028
+ },
4029
+ },
4030
+ {
4031
+ kind: 'VariableDefinition',
4032
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
4033
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
4034
+ },
4035
+ {
4036
+ kind: 'VariableDefinition',
4037
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
4038
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
4039
+ },
4040
+ ],
4041
+ selectionSet: {
4042
+ kind: 'SelectionSet',
4043
+ selections: [
4044
+ {
4045
+ kind: 'Field',
4046
+ name: { kind: 'Name', value: 'mappedTrialBalance' },
4047
+ arguments: [
4048
+ {
4049
+ kind: 'Argument',
4050
+ name: { kind: 'Name', value: 'mappingId' },
4051
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
4052
+ },
4053
+ {
4054
+ kind: 'Argument',
4055
+ name: { kind: 'Name', value: 'startDate' },
4056
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
4057
+ },
4058
+ {
4059
+ kind: 'Argument',
4060
+ name: { kind: 'Name', value: 'endDate' },
4061
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
4062
+ },
4063
+ ],
4064
+ selectionSet: {
4065
+ kind: 'SelectionSet',
4066
+ selections: [
4067
+ { kind: 'Field', name: { kind: 'Name', value: 'mappingId' } },
3515
4068
  {
3516
4069
  kind: 'Field',
3517
4070
  name: { kind: 'Name', value: 'rows' },
@@ -4199,122 +4752,6 @@ export const ListLedgerReportsDocument = {
4199
4752
  },
4200
4753
  ],
4201
4754
  } as unknown as DocumentNode<ListLedgerReportsQuery, ListLedgerReportsQueryVariables>
4202
- export const GetLedgerScheduleFactsDocument = {
4203
- kind: 'Document',
4204
- definitions: [
4205
- {
4206
- kind: 'OperationDefinition',
4207
- operation: 'query',
4208
- name: { kind: 'Name', value: 'GetLedgerScheduleFacts' },
4209
- variableDefinitions: [
4210
- {
4211
- kind: 'VariableDefinition',
4212
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureId' } },
4213
- type: {
4214
- kind: 'NonNullType',
4215
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4216
- },
4217
- },
4218
- {
4219
- kind: 'VariableDefinition',
4220
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'periodStart' } },
4221
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
4222
- },
4223
- {
4224
- kind: 'VariableDefinition',
4225
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
4226
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
4227
- },
4228
- ],
4229
- selectionSet: {
4230
- kind: 'SelectionSet',
4231
- selections: [
4232
- {
4233
- kind: 'Field',
4234
- name: { kind: 'Name', value: 'scheduleFacts' },
4235
- arguments: [
4236
- {
4237
- kind: 'Argument',
4238
- name: { kind: 'Name', value: 'structureId' },
4239
- value: { kind: 'Variable', name: { kind: 'Name', value: 'structureId' } },
4240
- },
4241
- {
4242
- kind: 'Argument',
4243
- name: { kind: 'Name', value: 'periodStart' },
4244
- value: { kind: 'Variable', name: { kind: 'Name', value: 'periodStart' } },
4245
- },
4246
- {
4247
- kind: 'Argument',
4248
- name: { kind: 'Name', value: 'periodEnd' },
4249
- value: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
4250
- },
4251
- ],
4252
- selectionSet: {
4253
- kind: 'SelectionSet',
4254
- selections: [
4255
- { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
4256
- {
4257
- kind: 'Field',
4258
- name: { kind: 'Name', value: 'facts' },
4259
- selectionSet: {
4260
- kind: 'SelectionSet',
4261
- selections: [
4262
- { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
4263
- { kind: 'Field', name: { kind: 'Name', value: 'elementName' } },
4264
- { kind: 'Field', name: { kind: 'Name', value: 'value' } },
4265
- { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
4266
- { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
4267
- ],
4268
- },
4269
- },
4270
- ],
4271
- },
4272
- },
4273
- ],
4274
- },
4275
- },
4276
- ],
4277
- } as unknown as DocumentNode<GetLedgerScheduleFactsQuery, GetLedgerScheduleFactsQueryVariables>
4278
- export const ListLedgerSchedulesDocument = {
4279
- kind: 'Document',
4280
- definitions: [
4281
- {
4282
- kind: 'OperationDefinition',
4283
- operation: 'query',
4284
- name: { kind: 'Name', value: 'ListLedgerSchedules' },
4285
- selectionSet: {
4286
- kind: 'SelectionSet',
4287
- selections: [
4288
- {
4289
- kind: 'Field',
4290
- name: { kind: 'Name', value: 'schedules' },
4291
- selectionSet: {
4292
- kind: 'SelectionSet',
4293
- selections: [
4294
- {
4295
- kind: 'Field',
4296
- name: { kind: 'Name', value: 'schedules' },
4297
- selectionSet: {
4298
- kind: 'SelectionSet',
4299
- selections: [
4300
- { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
4301
- { kind: 'Field', name: { kind: 'Name', value: 'name' } },
4302
- { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
4303
- { kind: 'Field', name: { kind: 'Name', value: 'entryTemplate' } },
4304
- { kind: 'Field', name: { kind: 'Name', value: 'scheduleMetadata' } },
4305
- { kind: 'Field', name: { kind: 'Name', value: 'totalPeriods' } },
4306
- { kind: 'Field', name: { kind: 'Name', value: 'periodsWithEntries' } },
4307
- ],
4308
- },
4309
- },
4310
- ],
4311
- },
4312
- },
4313
- ],
4314
- },
4315
- },
4316
- ],
4317
- } as unknown as DocumentNode<ListLedgerSchedulesQuery, ListLedgerSchedulesQueryVariables>
4318
4755
  export const GetLedgerStatementDocument = {
4319
4756
  kind: 'Document',
4320
4757
  definitions: [