@robosystems/client 0.3.7 → 0.3.9

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 (45) hide show
  1. package/artifacts/LedgerClient.d.ts +27 -14
  2. package/artifacts/LedgerClient.js +59 -39
  3. package/artifacts/LedgerClient.ts +89 -62
  4. package/artifacts/LibraryClient.d.ts +117 -0
  5. package/artifacts/LibraryClient.js +132 -0
  6. package/artifacts/LibraryClient.ts +358 -0
  7. package/artifacts/graphql/generated/graphql.d.ts +686 -79
  8. package/artifacts/graphql/generated/graphql.js +1121 -135
  9. package/artifacts/graphql/generated/graphql.ts +1887 -281
  10. package/artifacts/graphql/queries/ledger/informationBlock.d.ts +15 -0
  11. package/artifacts/graphql/queries/ledger/informationBlock.js +125 -0
  12. package/artifacts/graphql/queries/ledger/informationBlock.ts +124 -0
  13. package/artifacts/graphql/queries/library/arcs.d.ts +24 -0
  14. package/artifacts/graphql/queries/library/arcs.js +106 -0
  15. package/artifacts/graphql/queries/library/arcs.ts +107 -0
  16. package/artifacts/graphql/queries/library/elements.d.ts +24 -0
  17. package/artifacts/graphql/queries/library/elements.js +134 -0
  18. package/artifacts/graphql/queries/library/elements.ts +134 -0
  19. package/artifacts/graphql/queries/library/taxonomies.d.ts +15 -0
  20. package/artifacts/graphql/queries/library/taxonomies.js +61 -0
  21. package/artifacts/graphql/queries/library/taxonomies.ts +60 -0
  22. package/artifacts/index.d.ts +5 -1
  23. package/artifacts/index.js +17 -1
  24. package/artifacts/index.ts +26 -1
  25. package/index.ts +2 -2
  26. package/package.json +7 -1
  27. package/sdk/index.d.ts +2 -2
  28. package/sdk/index.js +9 -7
  29. package/sdk/index.ts +2 -2
  30. package/sdk/sdk.gen.d.ts +80 -62
  31. package/sdk/sdk.gen.js +158 -122
  32. package/sdk/sdk.gen.ts +154 -118
  33. package/sdk/types.gen.d.ts +801 -623
  34. package/sdk/types.gen.ts +825 -638
  35. package/sdk.gen.d.ts +80 -62
  36. package/sdk.gen.js +158 -122
  37. package/sdk.gen.ts +154 -118
  38. package/types.gen.d.ts +801 -623
  39. package/types.gen.ts +825 -638
  40. package/artifacts/graphql/queries/ledger/scheduleFacts.d.ts +0 -7
  41. package/artifacts/graphql/queries/ledger/scheduleFacts.js +0 -24
  42. package/artifacts/graphql/queries/ledger/scheduleFacts.ts +0 -22
  43. package/artifacts/graphql/queries/ledger/schedules.d.ts +0 -6
  44. package/artifacts/graphql/queries/ledger/schedules.js +0 -24
  45. package/artifacts/graphql/queries/ledger/schedules.ts +0 -22
@@ -25,7 +25,7 @@ export type Scalars = {
25
25
  export type Account = {
26
26
  accountType: Maybe<Scalars['String']['output']>
27
27
  balanceType: Scalars['String']['output']
28
- classification: Scalars['String']['output']
28
+ classification: Maybe<Scalars['String']['output']>
29
29
  code: Maybe<Scalars['String']['output']>
30
30
  currency: Scalars['String']['output']
31
31
  depth: Scalars['Int']['output']
@@ -81,7 +81,7 @@ export type AccountTreeNode = {
81
81
  accountType: Maybe<Scalars['String']['output']>
82
82
  balanceType: Scalars['String']['output']
83
83
  children: Array<AccountTreeNode>
84
- classification: Scalars['String']['output']
84
+ classification: Maybe<Scalars['String']['output']>
85
85
  code: Maybe<Scalars['String']['output']>
86
86
  depth: Scalars['Int']['output']
87
87
  id: Scalars['ID']['output']
@@ -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']
@@ -160,7 +167,7 @@ export type DraftLineItem = {
160
167
 
161
168
  export type Element = {
162
169
  balanceType: Scalars['String']['output']
163
- classification: Scalars['String']['output']
170
+ classification: Maybe<Scalars['String']['output']>
164
171
  code: Maybe<Scalars['String']['output']>
165
172
  depth: Scalars['Int']['output']
166
173
  description: Maybe<Scalars['String']['output']>
@@ -186,7 +193,7 @@ export type ElementList = {
186
193
  }
187
194
 
188
195
  export type FactRow = {
189
- classification: Scalars['String']['output']
196
+ classification: Maybe<Scalars['String']['output']>
190
197
  depth: Scalars['Int']['output']
191
198
  elementId: Scalars['String']['output']
192
199
  elementName: 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'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
367
+ targetKind: Scalars['String']['output']
368
+ /** UUID of the target atom — structure_id, element_id, or association_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']>
@@ -363,6 +505,128 @@ export type LedgerTransactionSummary = {
363
505
  type: Scalars['String']['output']
364
506
  }
365
507
 
508
+ export type LibraryAssociation = {
509
+ arcrole: Maybe<Scalars['String']['output']>
510
+ /** presentation | calculation | mapping | equivalence | general-special | essence-alias */
511
+ associationType: Scalars['String']['output']
512
+ fromElementId: Scalars['String']['output']
513
+ fromElementName: Maybe<Scalars['String']['output']>
514
+ fromElementQname: Maybe<Scalars['String']['output']>
515
+ id: Scalars['String']['output']
516
+ orderValue: Maybe<Scalars['Float']['output']>
517
+ structureId: Scalars['String']['output']
518
+ structureName: Maybe<Scalars['String']['output']>
519
+ toElementId: Scalars['String']['output']
520
+ toElementName: Maybe<Scalars['String']['output']>
521
+ toElementQname: Maybe<Scalars['String']['output']>
522
+ weight: Maybe<Scalars['Float']['output']>
523
+ }
524
+
525
+ export type LibraryElement = {
526
+ /** debit | credit */
527
+ balanceType: Scalars['String']['output']
528
+ /** FASB elementsOfFinancialStatements axis: asset | contraAsset | liability | contraLiability | equity | contraEquity | temporaryEquity | revenue | expense | expenseReversal | gain | loss | comprehensiveIncome | investmentByOwners | distributionToOwners | metric (derived subtotals, not SFAC 6 primary elements). Null for structural rows. */
529
+ classification: Maybe<Scalars['String']['output']>
530
+ /** concept | abstract | axis | member | hypercube */
531
+ elementType: Scalars['String']['output']
532
+ id: Scalars['String']['output']
533
+ isAbstract: Scalars['Boolean']['output']
534
+ isMonetary: Scalars['Boolean']['output']
535
+ labels: Array<LibraryLabel>
536
+ name: Scalars['String']['output']
537
+ namespace: Maybe<Scalars['String']['output']>
538
+ parentId: Maybe<Scalars['String']['output']>
539
+ /** instant | duration */
540
+ periodType: Scalars['String']['output']
541
+ /** Qualified name, e.g. 'sfac6:Assets' */
542
+ qname: Scalars['String']['output']
543
+ references: Array<LibraryReference>
544
+ /** sfac6 | fac | us-gaap | rs-gaap | … */
545
+ source: Scalars['String']['output']
546
+ taxonomyId: Maybe<Scalars['String']['output']>
547
+ }
548
+
549
+ export type LibraryElementArc = {
550
+ arcrole: Maybe<Scalars['String']['output']>
551
+ associationType: Scalars['String']['output']
552
+ /** 'outgoing' (this element is source) | 'incoming' (target) */
553
+ direction: Scalars['String']['output']
554
+ id: Scalars['String']['output']
555
+ peer: LibraryElement
556
+ structureId: Maybe<Scalars['String']['output']>
557
+ structureName: Maybe<Scalars['String']['output']>
558
+ taxonomyId: Maybe<Scalars['String']['output']>
559
+ taxonomyName: Maybe<Scalars['String']['output']>
560
+ taxonomyStandard: Maybe<Scalars['String']['output']>
561
+ }
562
+
563
+ export type LibraryElementClassification = {
564
+ /** Classification axis (e.g. elementsOfFinancialStatements) */
565
+ category: Scalars['String']['output']
566
+ /** Value within the axis (e.g. expense) */
567
+ identifier: Scalars['String']['output']
568
+ /** True for the element's primary EFS classification */
569
+ isPrimary: Scalars['Boolean']['output']
570
+ /** Human-readable name */
571
+ name: Maybe<Scalars['String']['output']>
572
+ }
573
+
574
+ export type LibraryElementTreeNode = {
575
+ children: Array<LibraryElementTreeNode>
576
+ element: LibraryElement
577
+ }
578
+
579
+ export type LibraryEquivalence = {
580
+ element: LibraryElement
581
+ equivalents: Array<LibraryElement>
582
+ }
583
+
584
+ export type LibraryLabel = {
585
+ /** Language code */
586
+ language: Scalars['String']['output']
587
+ /** Label role: standard/documentation/verbose/… */
588
+ role: Scalars['String']['output']
589
+ /** Label text */
590
+ text: Scalars['String']['output']
591
+ }
592
+
593
+ export type LibraryReference = {
594
+ /** Full citation text */
595
+ citation: Scalars['String']['output']
596
+ /** 'ASC' | 'SEC' | 'SFAC' | 'IFRS' | 'Other' */
597
+ refType: Maybe<Scalars['String']['output']>
598
+ /** Dereferenceable URL if available */
599
+ uri: Maybe<Scalars['String']['output']>
600
+ }
601
+
602
+ export type LibraryStructure = {
603
+ id: Scalars['String']['output']
604
+ isActive: Scalars['Boolean']['output']
605
+ name: Scalars['String']['output']
606
+ /** Original XBRL role URI if any */
607
+ roleUri: Maybe<Scalars['String']['output']>
608
+ /** balance_sheet | income_statement | cash_flow_statement | custom | … */
609
+ structureType: Scalars['String']['output']
610
+ taxonomyId: Scalars['String']['output']
611
+ }
612
+
613
+ export type LibraryTaxonomy = {
614
+ description: Maybe<Scalars['String']['output']>
615
+ /** Total elements in this taxonomy (computed on demand) */
616
+ elementCount: Maybe<Scalars['Int']['output']>
617
+ id: Scalars['String']['output']
618
+ isActive: Scalars['Boolean']['output']
619
+ isLocked: Scalars['Boolean']['output']
620
+ isShared: Scalars['Boolean']['output']
621
+ name: Scalars['String']['output']
622
+ namespaceUri: Maybe<Scalars['String']['output']>
623
+ /** sfac6 | fac | us-gaap | rs-gaap | ifrs */
624
+ standard: Maybe<Scalars['String']['output']>
625
+ /** chart_of_accounts | reporting | mapping | schedule */
626
+ taxonomyType: Scalars['String']['output']
627
+ version: Maybe<Scalars['String']['output']>
628
+ }
629
+
366
630
  export type MappedTrialBalance = {
367
631
  mappingId: Scalars['String']['output']
368
632
  rows: Array<MappedTrialBalanceRow>
@@ -540,6 +804,20 @@ export type Query = {
540
804
  fiscalCalendar: Maybe<FiscalCalendar>
541
805
  hello: Scalars['String']['output']
542
806
  holdings: Maybe<HoldingsList>
807
+ informationBlock: Maybe<InformationBlock>
808
+ informationBlocks: Array<InformationBlock>
809
+ libraryElement: Maybe<LibraryElement>
810
+ libraryElementArcs: Array<LibraryElementArc>
811
+ libraryElementClassifications: Array<LibraryElementClassification>
812
+ libraryElementEquivalents: Maybe<LibraryEquivalence>
813
+ libraryElementTree: Maybe<LibraryElementTreeNode>
814
+ libraryElements: Array<LibraryElement>
815
+ libraryStructure: Maybe<LibraryStructure>
816
+ libraryStructures: Array<LibraryStructure>
817
+ libraryTaxonomies: Array<LibraryTaxonomy>
818
+ libraryTaxonomy: Maybe<LibraryTaxonomy>
819
+ libraryTaxonomyArcCount: Scalars['Int']['output']
820
+ libraryTaxonomyArcs: Array<LibraryAssociation>
543
821
  mappedTrialBalance: Maybe<MappedTrialBalance>
544
822
  mapping: Maybe<MappingDetail>
545
823
  mappingCoverage: Maybe<MappingCoverage>
@@ -555,8 +833,7 @@ export type Query = {
555
833
  report: Maybe<Report>
556
834
  reportingTaxonomy: Maybe<Taxonomy>
557
835
  reports: Maybe<ReportList>
558
- scheduleFacts: Maybe<ScheduleFacts>
559
- schedules: Maybe<ScheduleList>
836
+ searchLibraryElements: Array<LibraryElement>
560
837
  securities: Maybe<SecurityList>
561
838
  security: Maybe<Security>
562
839
  statement: Maybe<Statement>
@@ -599,6 +876,85 @@ export type QueryHoldingsArgs = {
599
876
  portfolioId: Scalars['String']['input']
600
877
  }
601
878
 
879
+ export type QueryInformationBlockArgs = {
880
+ id: Scalars['ID']['input']
881
+ }
882
+
883
+ export type QueryInformationBlocksArgs = {
884
+ blockType?: InputMaybe<Scalars['String']['input']>
885
+ category?: InputMaybe<Scalars['String']['input']>
886
+ limit?: Scalars['Int']['input']
887
+ offset?: Scalars['Int']['input']
888
+ }
889
+
890
+ export type QueryLibraryElementArgs = {
891
+ id?: InputMaybe<Scalars['ID']['input']>
892
+ qname?: InputMaybe<Scalars['String']['input']>
893
+ }
894
+
895
+ export type QueryLibraryElementArcsArgs = {
896
+ id: Scalars['ID']['input']
897
+ }
898
+
899
+ export type QueryLibraryElementClassificationsArgs = {
900
+ id: Scalars['ID']['input']
901
+ }
902
+
903
+ export type QueryLibraryElementEquivalentsArgs = {
904
+ id: Scalars['ID']['input']
905
+ }
906
+
907
+ export type QueryLibraryElementTreeArgs = {
908
+ id: Scalars['ID']['input']
909
+ maxDepth?: Scalars['Int']['input']
910
+ structureId?: InputMaybe<Scalars['ID']['input']>
911
+ }
912
+
913
+ export type QueryLibraryElementsArgs = {
914
+ activityType?: InputMaybe<Scalars['String']['input']>
915
+ classification?: InputMaybe<Scalars['String']['input']>
916
+ elementType?: InputMaybe<Scalars['String']['input']>
917
+ includeLabels?: Scalars['Boolean']['input']
918
+ includeReferences?: Scalars['Boolean']['input']
919
+ isAbstract?: InputMaybe<Scalars['Boolean']['input']>
920
+ limit?: Scalars['Int']['input']
921
+ offset?: Scalars['Int']['input']
922
+ source?: InputMaybe<Scalars['String']['input']>
923
+ taxonomyId?: InputMaybe<Scalars['ID']['input']>
924
+ }
925
+
926
+ export type QueryLibraryStructureArgs = {
927
+ id: Scalars['ID']['input']
928
+ }
929
+
930
+ export type QueryLibraryStructuresArgs = {
931
+ structureType?: InputMaybe<Scalars['String']['input']>
932
+ taxonomyId?: InputMaybe<Scalars['ID']['input']>
933
+ }
934
+
935
+ export type QueryLibraryTaxonomiesArgs = {
936
+ includeElementCount?: Scalars['Boolean']['input']
937
+ standard?: InputMaybe<Scalars['String']['input']>
938
+ }
939
+
940
+ export type QueryLibraryTaxonomyArgs = {
941
+ id?: InputMaybe<Scalars['ID']['input']>
942
+ includeElementCount?: Scalars['Boolean']['input']
943
+ standard?: InputMaybe<Scalars['String']['input']>
944
+ version?: InputMaybe<Scalars['String']['input']>
945
+ }
946
+
947
+ export type QueryLibraryTaxonomyArcCountArgs = {
948
+ taxonomyId: Scalars['ID']['input']
949
+ }
950
+
951
+ export type QueryLibraryTaxonomyArcsArgs = {
952
+ associationType?: InputMaybe<Scalars['String']['input']>
953
+ limit?: Scalars['Int']['input']
954
+ offset?: Scalars['Int']['input']
955
+ taxonomyId: Scalars['ID']['input']
956
+ }
957
+
602
958
  export type QueryMappedTrialBalanceArgs = {
603
959
  endDate?: InputMaybe<Scalars['Date']['input']>
604
960
  mappingId: Scalars['String']['input']
@@ -656,10 +1012,10 @@ export type QueryReportArgs = {
656
1012
  reportId: Scalars['String']['input']
657
1013
  }
658
1014
 
659
- export type QueryScheduleFactsArgs = {
660
- periodEnd?: InputMaybe<Scalars['Date']['input']>
661
- periodStart?: InputMaybe<Scalars['Date']['input']>
662
- structureId: Scalars['String']['input']
1015
+ export type QuerySearchLibraryElementsArgs = {
1016
+ limit?: Scalars['Int']['input']
1017
+ query: Scalars['String']['input']
1018
+ source?: InputMaybe<Scalars['String']['input']>
663
1019
  }
664
1020
 
665
1021
  export type QuerySecuritiesArgs = {
@@ -734,33 +1090,6 @@ export type ReportList = {
734
1090
  reports: Array<Report>
735
1091
  }
736
1092
 
737
- export type ScheduleFact = {
738
- elementId: Scalars['String']['output']
739
- elementName: Scalars['String']['output']
740
- periodEnd: Scalars['Date']['output']
741
- periodStart: Scalars['Date']['output']
742
- value: Scalars['Float']['output']
743
- }
744
-
745
- export type ScheduleFacts = {
746
- facts: Array<ScheduleFact>
747
- structureId: Scalars['String']['output']
748
- }
749
-
750
- export type ScheduleList = {
751
- schedules: Array<ScheduleSummary>
752
- }
753
-
754
- export type ScheduleSummary = {
755
- entryTemplate: Maybe<Scalars['JSON']['output']>
756
- name: Scalars['String']['output']
757
- periodsWithEntries: Scalars['Int']['output']
758
- scheduleMetadata: Maybe<Scalars['JSON']['output']>
759
- structureId: Scalars['ID']['output']
760
- taxonomyName: Scalars['String']['output']
761
- totalPeriods: Scalars['Int']['output']
762
- }
763
-
764
1093
  export type Security = {
765
1094
  authorizedShares: Maybe<Scalars['Int']['output']>
766
1095
  createdAt: Scalars['DateTime']['output']
@@ -849,7 +1178,7 @@ export type TrialBalanceRow = {
849
1178
  accountId: Scalars['String']['output']
850
1179
  accountName: Scalars['String']['output']
851
1180
  accountType: Maybe<Scalars['String']['output']>
852
- classification: Scalars['String']['output']
1181
+ classification: Maybe<Scalars['String']['output']>
853
1182
  netBalance: Scalars['Float']['output']
854
1183
  totalCredits: Scalars['Float']['output']
855
1184
  totalDebits: Scalars['Float']['output']
@@ -857,7 +1186,7 @@ export type TrialBalanceRow = {
857
1186
 
858
1187
  export type UnmappedElement = {
859
1188
  balanceType: Scalars['String']['output']
860
- classification: Scalars['String']['output']
1189
+ classification: Maybe<Scalars['String']['output']>
861
1190
  code: Maybe<Scalars['String']['output']>
862
1191
  externalSource: Maybe<Scalars['String']['output']>
863
1192
  id: Scalars['String']['output']
@@ -1094,7 +1423,7 @@ export type GetLedgerAccountTreeQuery = {
1094
1423
  id: string
1095
1424
  code: string | null
1096
1425
  name: string
1097
- classification: string
1426
+ classification: string | null
1098
1427
  accountType: string | null
1099
1428
  balanceType: string
1100
1429
  depth: number
@@ -1103,7 +1432,7 @@ export type GetLedgerAccountTreeQuery = {
1103
1432
  id: string
1104
1433
  code: string | null
1105
1434
  name: string
1106
- classification: string
1435
+ classification: string | null
1107
1436
  accountType: string | null
1108
1437
  balanceType: string
1109
1438
  depth: number
@@ -1112,7 +1441,7 @@ export type GetLedgerAccountTreeQuery = {
1112
1441
  id: string
1113
1442
  code: string | null
1114
1443
  name: string
1115
- classification: string
1444
+ classification: string | null
1116
1445
  accountType: string | null
1117
1446
  balanceType: string
1118
1447
  depth: number
@@ -1121,7 +1450,7 @@ export type GetLedgerAccountTreeQuery = {
1121
1450
  id: string
1122
1451
  code: string | null
1123
1452
  name: string
1124
- classification: string
1453
+ classification: string | null
1125
1454
  accountType: string | null
1126
1455
  balanceType: string
1127
1456
  depth: number
@@ -1147,7 +1476,7 @@ export type ListLedgerAccountsQuery = {
1147
1476
  code: string | null
1148
1477
  name: string
1149
1478
  description: string | null
1150
- classification: string
1479
+ classification: string | null
1151
1480
  subClassification: string | null
1152
1481
  balanceType: string
1153
1482
  parentId: string | null
@@ -1200,7 +1529,7 @@ export type ListLedgerElementsQuery = {
1200
1529
  description: string | null
1201
1530
  qname: string | null
1202
1531
  namespace: string | null
1203
- classification: string
1532
+ classification: string | null
1204
1533
  subClassification: string | null
1205
1534
  balanceType: string
1206
1535
  periodType: string
@@ -1306,6 +1635,117 @@ export type GetLedgerFiscalCalendarQuery = {
1306
1635
  } | null
1307
1636
  }
1308
1637
 
1638
+ export type GetInformationBlockQueryVariables = Exact<{
1639
+ id: Scalars['ID']['input']
1640
+ }>
1641
+
1642
+ export type GetInformationBlockQuery = {
1643
+ informationBlock: {
1644
+ id: string
1645
+ blockType: string
1646
+ name: string
1647
+ displayName: string
1648
+ category: string
1649
+ taxonomyId: string | null
1650
+ taxonomyName: string | null
1651
+ informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
1652
+ artifact: {
1653
+ topic: string | null
1654
+ parentheticalNote: string | null
1655
+ template: any | null
1656
+ mechanics: any
1657
+ }
1658
+ elements: Array<{
1659
+ id: string
1660
+ qname: string | null
1661
+ name: string
1662
+ code: string | null
1663
+ elementType: string
1664
+ isAbstract: boolean
1665
+ isMonetary: boolean
1666
+ balanceType: string | null
1667
+ periodType: string | null
1668
+ }>
1669
+ connections: Array<{
1670
+ id: string
1671
+ fromElementId: string
1672
+ toElementId: string
1673
+ associationType: string
1674
+ arcrole: string | null
1675
+ orderValue: number | null
1676
+ weight: number | null
1677
+ }>
1678
+ facts: Array<{
1679
+ id: string
1680
+ elementId: string
1681
+ value: number
1682
+ periodStart: any | null
1683
+ periodEnd: any
1684
+ periodType: string
1685
+ unit: string
1686
+ factScope: string
1687
+ factSetId: string | null
1688
+ }>
1689
+ } | null
1690
+ }
1691
+
1692
+ export type ListInformationBlocksQueryVariables = Exact<{
1693
+ blockType: InputMaybe<Scalars['String']['input']>
1694
+ category: InputMaybe<Scalars['String']['input']>
1695
+ limit: InputMaybe<Scalars['Int']['input']>
1696
+ offset: InputMaybe<Scalars['Int']['input']>
1697
+ }>
1698
+
1699
+ export type ListInformationBlocksQuery = {
1700
+ informationBlocks: Array<{
1701
+ id: string
1702
+ blockType: string
1703
+ name: string
1704
+ displayName: string
1705
+ category: string
1706
+ taxonomyId: string | null
1707
+ taxonomyName: string | null
1708
+ informationModel: { conceptArrangement: string | null; memberArrangement: string | null }
1709
+ artifact: {
1710
+ topic: string | null
1711
+ parentheticalNote: string | null
1712
+ template: any | null
1713
+ mechanics: any
1714
+ }
1715
+ elements: Array<{
1716
+ id: string
1717
+ qname: string | null
1718
+ name: string
1719
+ code: string | null
1720
+ elementType: string
1721
+ isAbstract: boolean
1722
+ isMonetary: boolean
1723
+ balanceType: string | null
1724
+ periodType: string | null
1725
+ }>
1726
+ connections: Array<{
1727
+ id: string
1728
+ fromElementId: string
1729
+ toElementId: string
1730
+ associationType: string
1731
+ arcrole: string | null
1732
+ orderValue: number | null
1733
+ weight: number | null
1734
+ }>
1735
+ facts: Array<{
1736
+ id: string
1737
+ elementId: string
1738
+ value: number
1739
+ periodStart: any | null
1740
+ periodEnd: any
1741
+ periodType: string
1742
+ unit: string
1743
+ factScope: string
1744
+ factSetId: string | null
1745
+ }>
1746
+ }>
1747
+ }
1748
+
1309
1749
  export type GetLedgerMappedTrialBalanceQueryVariables = Exact<{
1310
1750
  mappingId: Scalars['String']['input']
1311
1751
  startDate: InputMaybe<Scalars['Date']['input']>
@@ -1568,49 +2008,14 @@ export type ListLedgerReportsQuery = {
1568
2008
  } | null
1569
2009
  }
1570
2010
 
1571
- export type GetLedgerScheduleFactsQueryVariables = Exact<{
1572
- structureId: Scalars['String']['input']
1573
- periodStart: InputMaybe<Scalars['Date']['input']>
1574
- periodEnd: InputMaybe<Scalars['Date']['input']>
2011
+ export type GetLedgerStatementQueryVariables = Exact<{
2012
+ reportId: Scalars['String']['input']
2013
+ structureType: Scalars['String']['input']
1575
2014
  }>
1576
2015
 
1577
- export type GetLedgerScheduleFactsQuery = {
1578
- scheduleFacts: {
1579
- structureId: string
1580
- facts: Array<{
1581
- elementId: string
1582
- elementName: string
1583
- value: number
1584
- periodStart: any
1585
- periodEnd: any
1586
- }>
1587
- } | null
1588
- }
1589
-
1590
- export type ListLedgerSchedulesQueryVariables = Exact<{ [key: string]: never }>
1591
-
1592
- export type ListLedgerSchedulesQuery = {
1593
- schedules: {
1594
- schedules: Array<{
1595
- structureId: string
1596
- name: string
1597
- taxonomyName: string
1598
- entryTemplate: any | null
1599
- scheduleMetadata: any | null
1600
- totalPeriods: number
1601
- periodsWithEntries: number
1602
- }>
1603
- } | null
1604
- }
1605
-
1606
- export type GetLedgerStatementQueryVariables = Exact<{
1607
- reportId: Scalars['String']['input']
1608
- structureType: Scalars['String']['input']
1609
- }>
1610
-
1611
- export type GetLedgerStatementQuery = {
1612
- statement: {
1613
- reportId: string
2016
+ export type GetLedgerStatementQuery = {
2017
+ statement: {
2018
+ reportId: string
1614
2019
  structureId: string
1615
2020
  structureName: string
1616
2021
  structureType: string
@@ -1620,7 +2025,7 @@ export type GetLedgerStatementQuery = {
1620
2025
  elementId: string
1621
2026
  elementQname: string
1622
2027
  elementName: string
1623
- classification: string
2028
+ classification: string | null
1624
2029
  values: Array<number | null>
1625
2030
  isSubtotal: boolean
1626
2031
  depth: number
@@ -1776,7 +2181,7 @@ export type GetLedgerTrialBalanceQuery = {
1776
2181
  accountId: string
1777
2182
  accountCode: string
1778
2183
  accountName: string
1779
- classification: string
2184
+ classification: string | null
1780
2185
  accountType: string | null
1781
2186
  totalDebits: number
1782
2187
  totalCredits: number
@@ -1794,7 +2199,7 @@ export type ListLedgerUnmappedElementsQuery = {
1794
2199
  id: string
1795
2200
  code: string | null
1796
2201
  name: string
1797
- classification: string
2202
+ classification: string | null
1798
2203
  balanceType: string
1799
2204
  externalSource: string | null
1800
2205
  suggestedTargets: Array<{
@@ -1806,6 +2211,215 @@ export type ListLedgerUnmappedElementsQuery = {
1806
2211
  }>
1807
2212
  }
1808
2213
 
2214
+ export type ListLibraryTaxonomyArcsQueryVariables = Exact<{
2215
+ taxonomyId: Scalars['ID']['input']
2216
+ associationType: InputMaybe<Scalars['String']['input']>
2217
+ limit?: Scalars['Int']['input']
2218
+ offset?: Scalars['Int']['input']
2219
+ }>
2220
+
2221
+ export type ListLibraryTaxonomyArcsQuery = {
2222
+ libraryTaxonomyArcCount: number
2223
+ libraryTaxonomyArcs: Array<{
2224
+ id: string
2225
+ structureId: string
2226
+ structureName: string | null
2227
+ fromElementId: string
2228
+ fromElementQname: string | null
2229
+ fromElementName: string | null
2230
+ toElementId: string
2231
+ toElementQname: string | null
2232
+ toElementName: string | null
2233
+ associationType: string
2234
+ arcrole: string | null
2235
+ orderValue: number | null
2236
+ weight: number | null
2237
+ }>
2238
+ }
2239
+
2240
+ export type GetLibraryElementArcsQueryVariables = Exact<{
2241
+ id: Scalars['ID']['input']
2242
+ }>
2243
+
2244
+ export type GetLibraryElementArcsQuery = {
2245
+ libraryElementArcs: Array<{
2246
+ id: string
2247
+ direction: string
2248
+ associationType: string
2249
+ arcrole: string | null
2250
+ taxonomyId: string | null
2251
+ taxonomyStandard: string | null
2252
+ taxonomyName: string | null
2253
+ structureId: string | null
2254
+ structureName: string | null
2255
+ peer: { id: string; qname: string; name: string; classification: string | null; source: string }
2256
+ }>
2257
+ }
2258
+
2259
+ export type GetLibraryElementClassificationsQueryVariables = Exact<{
2260
+ id: Scalars['ID']['input']
2261
+ }>
2262
+
2263
+ export type GetLibraryElementClassificationsQuery = {
2264
+ libraryElementClassifications: Array<{
2265
+ category: string
2266
+ identifier: string
2267
+ name: string | null
2268
+ isPrimary: boolean
2269
+ }>
2270
+ }
2271
+
2272
+ export type GetLibraryElementEquivalentsQueryVariables = Exact<{
2273
+ id: Scalars['ID']['input']
2274
+ }>
2275
+
2276
+ export type GetLibraryElementEquivalentsQuery = {
2277
+ libraryElementEquivalents: {
2278
+ element: {
2279
+ id: string
2280
+ qname: string
2281
+ name: string
2282
+ classification: string | null
2283
+ source: string
2284
+ }
2285
+ equivalents: Array<{
2286
+ id: string
2287
+ qname: string
2288
+ name: string
2289
+ classification: string | null
2290
+ source: string
2291
+ }>
2292
+ } | null
2293
+ }
2294
+
2295
+ export type ListLibraryElementsQueryVariables = Exact<{
2296
+ taxonomyId: InputMaybe<Scalars['ID']['input']>
2297
+ source: InputMaybe<Scalars['String']['input']>
2298
+ classification: InputMaybe<Scalars['String']['input']>
2299
+ activityType: InputMaybe<Scalars['String']['input']>
2300
+ elementType: InputMaybe<Scalars['String']['input']>
2301
+ isAbstract: InputMaybe<Scalars['Boolean']['input']>
2302
+ limit?: Scalars['Int']['input']
2303
+ offset?: Scalars['Int']['input']
2304
+ includeLabels?: Scalars['Boolean']['input']
2305
+ includeReferences?: Scalars['Boolean']['input']
2306
+ }>
2307
+
2308
+ export type ListLibraryElementsQuery = {
2309
+ libraryElements: Array<{
2310
+ id: string
2311
+ qname: string
2312
+ namespace: string | null
2313
+ name: string
2314
+ classification: string | null
2315
+ balanceType: string
2316
+ periodType: string
2317
+ isAbstract: boolean
2318
+ isMonetary: boolean
2319
+ elementType: string
2320
+ source: string
2321
+ taxonomyId: string | null
2322
+ parentId: string | null
2323
+ labels?: Array<{ role: string; language: string; text: string }>
2324
+ references?: Array<{ refType: string | null; citation: string; uri: string | null }>
2325
+ }>
2326
+ }
2327
+
2328
+ export type SearchLibraryElementsQueryVariables = Exact<{
2329
+ query: Scalars['String']['input']
2330
+ source: InputMaybe<Scalars['String']['input']>
2331
+ limit?: Scalars['Int']['input']
2332
+ }>
2333
+
2334
+ export type SearchLibraryElementsQuery = {
2335
+ searchLibraryElements: Array<{
2336
+ id: string
2337
+ qname: string
2338
+ namespace: string | null
2339
+ name: string
2340
+ classification: string | null
2341
+ balanceType: string
2342
+ periodType: string
2343
+ isAbstract: boolean
2344
+ isMonetary: boolean
2345
+ elementType: string
2346
+ source: string
2347
+ taxonomyId: string | null
2348
+ parentId: string | null
2349
+ labels: Array<{ role: string; language: string; text: string }>
2350
+ references: Array<{ refType: string | null; citation: string; uri: string | null }>
2351
+ }>
2352
+ }
2353
+
2354
+ export type GetLibraryElementQueryVariables = Exact<{
2355
+ id: InputMaybe<Scalars['ID']['input']>
2356
+ qname: InputMaybe<Scalars['String']['input']>
2357
+ }>
2358
+
2359
+ export type GetLibraryElementQuery = {
2360
+ libraryElement: {
2361
+ id: string
2362
+ qname: string
2363
+ namespace: string | null
2364
+ name: string
2365
+ classification: string | null
2366
+ balanceType: string
2367
+ periodType: string
2368
+ isAbstract: boolean
2369
+ isMonetary: boolean
2370
+ elementType: string
2371
+ source: string
2372
+ taxonomyId: string | null
2373
+ parentId: string | null
2374
+ labels: Array<{ role: string; language: string; text: string }>
2375
+ references: Array<{ refType: string | null; citation: string; uri: string | null }>
2376
+ } | null
2377
+ }
2378
+
2379
+ export type ListLibraryTaxonomiesQueryVariables = Exact<{
2380
+ standard: InputMaybe<Scalars['String']['input']>
2381
+ includeElementCount?: Scalars['Boolean']['input']
2382
+ }>
2383
+
2384
+ export type ListLibraryTaxonomiesQuery = {
2385
+ libraryTaxonomies: Array<{
2386
+ id: string
2387
+ name: string
2388
+ description: string | null
2389
+ standard: string | null
2390
+ version: string | null
2391
+ namespaceUri: string | null
2392
+ taxonomyType: string
2393
+ isShared: boolean
2394
+ isActive: boolean
2395
+ isLocked: boolean
2396
+ elementCount: number | null
2397
+ }>
2398
+ }
2399
+
2400
+ export type GetLibraryTaxonomyQueryVariables = Exact<{
2401
+ id: InputMaybe<Scalars['ID']['input']>
2402
+ standard: InputMaybe<Scalars['String']['input']>
2403
+ version: InputMaybe<Scalars['String']['input']>
2404
+ includeElementCount?: Scalars['Boolean']['input']
2405
+ }>
2406
+
2407
+ export type GetLibraryTaxonomyQuery = {
2408
+ libraryTaxonomy: {
2409
+ id: string
2410
+ name: string
2411
+ description: string | null
2412
+ standard: string | null
2413
+ version: string | null
2414
+ namespaceUri: string | null
2415
+ taxonomyType: string
2416
+ isShared: boolean
2417
+ isActive: boolean
2418
+ isLocked: boolean
2419
+ elementCount: number | null
2420
+ } | null
2421
+ }
2422
+
1809
2423
  export const GetInvestorHoldingsDocument = {
1810
2424
  kind: 'Document',
1811
2425
  definitions: [
@@ -3040,74 +3654,119 @@ export const GetLedgerFiscalCalendarDocument = {
3040
3654
  },
3041
3655
  ],
3042
3656
  } as unknown as DocumentNode<GetLedgerFiscalCalendarQuery, GetLedgerFiscalCalendarQueryVariables>
3043
- export const GetLedgerMappedTrialBalanceDocument = {
3657
+ export const GetInformationBlockDocument = {
3044
3658
  kind: 'Document',
3045
3659
  definitions: [
3046
3660
  {
3047
3661
  kind: 'OperationDefinition',
3048
3662
  operation: 'query',
3049
- name: { kind: 'Name', value: 'GetLedgerMappedTrialBalance' },
3663
+ name: { kind: 'Name', value: 'GetInformationBlock' },
3050
3664
  variableDefinitions: [
3051
3665
  {
3052
3666
  kind: 'VariableDefinition',
3053
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3667
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
3054
3668
  type: {
3055
3669
  kind: 'NonNullType',
3056
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3670
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
3057
3671
  },
3058
3672
  },
3059
- {
3060
- kind: 'VariableDefinition',
3061
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
3062
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3063
- },
3064
- {
3065
- kind: 'VariableDefinition',
3066
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
3067
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3068
- },
3069
3673
  ],
3070
3674
  selectionSet: {
3071
3675
  kind: 'SelectionSet',
3072
3676
  selections: [
3073
3677
  {
3074
3678
  kind: 'Field',
3075
- name: { kind: 'Name', value: 'mappedTrialBalance' },
3679
+ name: { kind: 'Name', value: 'informationBlock' },
3076
3680
  arguments: [
3077
3681
  {
3078
3682
  kind: 'Argument',
3079
- name: { kind: 'Name', value: 'mappingId' },
3080
- value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3081
- },
3082
- {
3083
- kind: 'Argument',
3084
- name: { kind: 'Name', value: 'startDate' },
3085
- value: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
3086
- },
3087
- {
3088
- kind: 'Argument',
3089
- name: { kind: 'Name', value: 'endDate' },
3090
- value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
3683
+ name: { kind: 'Name', value: 'id' },
3684
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
3091
3685
  },
3092
3686
  ],
3093
3687
  selectionSet: {
3094
3688
  kind: 'SelectionSet',
3095
3689
  selections: [
3096
- { kind: 'Field', name: { kind: 'Name', value: 'mappingId' } },
3690
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3691
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
3692
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3693
+ { kind: 'Field', name: { kind: 'Name', value: 'displayName' } },
3694
+ { kind: 'Field', name: { kind: 'Name', value: 'category' } },
3695
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3696
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
3097
3697
  {
3098
3698
  kind: 'Field',
3099
- name: { kind: 'Name', value: 'rows' },
3699
+ name: { kind: 'Name', value: 'informationModel' },
3100
3700
  selectionSet: {
3101
3701
  kind: 'SelectionSet',
3102
3702
  selections: [
3103
- { kind: 'Field', name: { kind: 'Name', value: 'reportingElementId' } },
3703
+ { kind: 'Field', name: { kind: 'Name', value: 'conceptArrangement' } },
3704
+ { kind: 'Field', name: { kind: 'Name', value: 'memberArrangement' } },
3705
+ ],
3706
+ },
3707
+ },
3708
+ {
3709
+ kind: 'Field',
3710
+ name: { kind: 'Name', value: 'artifact' },
3711
+ selectionSet: {
3712
+ kind: 'SelectionSet',
3713
+ selections: [
3714
+ { kind: 'Field', name: { kind: 'Name', value: 'topic' } },
3715
+ { kind: 'Field', name: { kind: 'Name', value: 'parentheticalNote' } },
3716
+ { kind: 'Field', name: { kind: 'Name', value: 'template' } },
3717
+ { kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
3718
+ ],
3719
+ },
3720
+ },
3721
+ {
3722
+ kind: 'Field',
3723
+ name: { kind: 'Name', value: 'elements' },
3724
+ selectionSet: {
3725
+ kind: 'SelectionSet',
3726
+ selections: [
3727
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3104
3728
  { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
3105
- { kind: 'Field', name: { kind: 'Name', value: 'reportingName' } },
3106
- { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
3729
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3730
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
3731
+ { kind: 'Field', name: { kind: 'Name', value: 'elementType' } },
3732
+ { kind: 'Field', name: { kind: 'Name', value: 'isAbstract' } },
3733
+ { kind: 'Field', name: { kind: 'Name', value: 'isMonetary' } },
3107
3734
  { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
3108
- { kind: 'Field', name: { kind: 'Name', value: 'totalDebits' } },
3109
- { kind: 'Field', name: { kind: 'Name', value: 'totalCredits' } },
3110
- { kind: 'Field', name: { kind: 'Name', value: 'netBalance' } },
3735
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
3736
+ ],
3737
+ },
3738
+ },
3739
+ {
3740
+ kind: 'Field',
3741
+ name: { kind: 'Name', value: 'connections' },
3742
+ selectionSet: {
3743
+ kind: 'SelectionSet',
3744
+ selections: [
3745
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3746
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementId' } },
3747
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementId' } },
3748
+ { kind: 'Field', name: { kind: 'Name', value: 'associationType' } },
3749
+ { kind: 'Field', name: { kind: 'Name', value: 'arcrole' } },
3750
+ { kind: 'Field', name: { kind: 'Name', value: 'orderValue' } },
3751
+ { kind: 'Field', name: { kind: 'Name', value: 'weight' } },
3752
+ ],
3753
+ },
3754
+ },
3755
+ {
3756
+ kind: 'Field',
3757
+ name: { kind: 'Name', value: 'facts' },
3758
+ selectionSet: {
3759
+ kind: 'SelectionSet',
3760
+ selections: [
3761
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3762
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3763
+ { kind: 'Field', name: { kind: 'Name', value: 'value' } },
3764
+ { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
3765
+ { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
3766
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
3767
+ { kind: 'Field', name: { kind: 'Name', value: 'unit' } },
3768
+ { kind: 'Field', name: { kind: 'Name', value: 'factScope' } },
3769
+ { kind: 'Field', name: { kind: 'Name', value: 'factSetId' } },
3111
3770
  ],
3112
3771
  },
3113
3772
  },
@@ -3118,25 +3777,34 @@ export const GetLedgerMappedTrialBalanceDocument = {
3118
3777
  },
3119
3778
  },
3120
3779
  ],
3121
- } as unknown as DocumentNode<
3122
- GetLedgerMappedTrialBalanceQuery,
3123
- GetLedgerMappedTrialBalanceQueryVariables
3124
- >
3125
- export const GetLedgerMappingDocument = {
3780
+ } as unknown as DocumentNode<GetInformationBlockQuery, GetInformationBlockQueryVariables>
3781
+ export const ListInformationBlocksDocument = {
3126
3782
  kind: 'Document',
3127
3783
  definitions: [
3128
3784
  {
3129
3785
  kind: 'OperationDefinition',
3130
3786
  operation: 'query',
3131
- name: { kind: 'Name', value: 'GetLedgerMapping' },
3787
+ name: { kind: 'Name', value: 'ListInformationBlocks' },
3132
3788
  variableDefinitions: [
3133
3789
  {
3134
3790
  kind: 'VariableDefinition',
3135
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3136
- type: {
3137
- kind: 'NonNullType',
3138
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3139
- },
3791
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
3792
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3793
+ },
3794
+ {
3795
+ kind: 'VariableDefinition',
3796
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'category' } },
3797
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3798
+ },
3799
+ {
3800
+ kind: 'VariableDefinition',
3801
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
3802
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
3803
+ },
3804
+ {
3805
+ kind: 'VariableDefinition',
3806
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
3807
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
3140
3808
  },
3141
3809
  ],
3142
3810
  selectionSet: {
@@ -3144,19 +3812,240 @@ export const GetLedgerMappingDocument = {
3144
3812
  selections: [
3145
3813
  {
3146
3814
  kind: 'Field',
3147
- name: { kind: 'Name', value: 'mapping' },
3815
+ name: { kind: 'Name', value: 'informationBlocks' },
3148
3816
  arguments: [
3149
3817
  {
3150
3818
  kind: 'Argument',
3151
- name: { kind: 'Name', value: 'mappingId' },
3152
- value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3819
+ name: { kind: 'Name', value: 'blockType' },
3820
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
3153
3821
  },
3154
- ],
3155
- selectionSet: {
3156
- kind: 'SelectionSet',
3157
- selections: [
3158
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3159
- { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3822
+ {
3823
+ kind: 'Argument',
3824
+ name: { kind: 'Name', value: 'category' },
3825
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'category' } },
3826
+ },
3827
+ {
3828
+ kind: 'Argument',
3829
+ name: { kind: 'Name', value: 'limit' },
3830
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
3831
+ },
3832
+ {
3833
+ kind: 'Argument',
3834
+ name: { kind: 'Name', value: 'offset' },
3835
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
3836
+ },
3837
+ ],
3838
+ selectionSet: {
3839
+ kind: 'SelectionSet',
3840
+ selections: [
3841
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3842
+ { kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
3843
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3844
+ { kind: 'Field', name: { kind: 'Name', value: 'displayName' } },
3845
+ { kind: 'Field', name: { kind: 'Name', value: 'category' } },
3846
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3847
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
3848
+ {
3849
+ kind: 'Field',
3850
+ name: { kind: 'Name', value: 'informationModel' },
3851
+ selectionSet: {
3852
+ kind: 'SelectionSet',
3853
+ selections: [
3854
+ { kind: 'Field', name: { kind: 'Name', value: 'conceptArrangement' } },
3855
+ { kind: 'Field', name: { kind: 'Name', value: 'memberArrangement' } },
3856
+ ],
3857
+ },
3858
+ },
3859
+ {
3860
+ kind: 'Field',
3861
+ name: { kind: 'Name', value: 'artifact' },
3862
+ selectionSet: {
3863
+ kind: 'SelectionSet',
3864
+ selections: [
3865
+ { kind: 'Field', name: { kind: 'Name', value: 'topic' } },
3866
+ { kind: 'Field', name: { kind: 'Name', value: 'parentheticalNote' } },
3867
+ { kind: 'Field', name: { kind: 'Name', value: 'template' } },
3868
+ { kind: 'Field', name: { kind: 'Name', value: 'mechanics' } },
3869
+ ],
3870
+ },
3871
+ },
3872
+ {
3873
+ kind: 'Field',
3874
+ name: { kind: 'Name', value: 'elements' },
3875
+ selectionSet: {
3876
+ kind: 'SelectionSet',
3877
+ selections: [
3878
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3879
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
3880
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3881
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
3882
+ { kind: 'Field', name: { kind: 'Name', value: 'elementType' } },
3883
+ { kind: 'Field', name: { kind: 'Name', value: 'isAbstract' } },
3884
+ { kind: 'Field', name: { kind: 'Name', value: 'isMonetary' } },
3885
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
3886
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
3887
+ ],
3888
+ },
3889
+ },
3890
+ {
3891
+ kind: 'Field',
3892
+ name: { kind: 'Name', value: 'connections' },
3893
+ selectionSet: {
3894
+ kind: 'SelectionSet',
3895
+ selections: [
3896
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3897
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementId' } },
3898
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementId' } },
3899
+ { kind: 'Field', name: { kind: 'Name', value: 'associationType' } },
3900
+ { kind: 'Field', name: { kind: 'Name', value: 'arcrole' } },
3901
+ { kind: 'Field', name: { kind: 'Name', value: 'orderValue' } },
3902
+ { kind: 'Field', name: { kind: 'Name', value: 'weight' } },
3903
+ ],
3904
+ },
3905
+ },
3906
+ {
3907
+ kind: 'Field',
3908
+ name: { kind: 'Name', value: 'facts' },
3909
+ selectionSet: {
3910
+ kind: 'SelectionSet',
3911
+ selections: [
3912
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3913
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3914
+ { kind: 'Field', name: { kind: 'Name', value: 'value' } },
3915
+ { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
3916
+ { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
3917
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
3918
+ { kind: 'Field', name: { kind: 'Name', value: 'unit' } },
3919
+ { kind: 'Field', name: { kind: 'Name', value: 'factScope' } },
3920
+ { kind: 'Field', name: { kind: 'Name', value: 'factSetId' } },
3921
+ ],
3922
+ },
3923
+ },
3924
+ ],
3925
+ },
3926
+ },
3927
+ ],
3928
+ },
3929
+ },
3930
+ ],
3931
+ } as unknown as DocumentNode<ListInformationBlocksQuery, ListInformationBlocksQueryVariables>
3932
+ export const GetLedgerMappedTrialBalanceDocument = {
3933
+ kind: 'Document',
3934
+ definitions: [
3935
+ {
3936
+ kind: 'OperationDefinition',
3937
+ operation: 'query',
3938
+ name: { kind: 'Name', value: 'GetLedgerMappedTrialBalance' },
3939
+ variableDefinitions: [
3940
+ {
3941
+ kind: 'VariableDefinition',
3942
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3943
+ type: {
3944
+ kind: 'NonNullType',
3945
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3946
+ },
3947
+ },
3948
+ {
3949
+ kind: 'VariableDefinition',
3950
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
3951
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3952
+ },
3953
+ {
3954
+ kind: 'VariableDefinition',
3955
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
3956
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3957
+ },
3958
+ ],
3959
+ selectionSet: {
3960
+ kind: 'SelectionSet',
3961
+ selections: [
3962
+ {
3963
+ kind: 'Field',
3964
+ name: { kind: 'Name', value: 'mappedTrialBalance' },
3965
+ arguments: [
3966
+ {
3967
+ kind: 'Argument',
3968
+ name: { kind: 'Name', value: 'mappingId' },
3969
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3970
+ },
3971
+ {
3972
+ kind: 'Argument',
3973
+ name: { kind: 'Name', value: 'startDate' },
3974
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
3975
+ },
3976
+ {
3977
+ kind: 'Argument',
3978
+ name: { kind: 'Name', value: 'endDate' },
3979
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
3980
+ },
3981
+ ],
3982
+ selectionSet: {
3983
+ kind: 'SelectionSet',
3984
+ selections: [
3985
+ { kind: 'Field', name: { kind: 'Name', value: 'mappingId' } },
3986
+ {
3987
+ kind: 'Field',
3988
+ name: { kind: 'Name', value: 'rows' },
3989
+ selectionSet: {
3990
+ kind: 'SelectionSet',
3991
+ selections: [
3992
+ { kind: 'Field', name: { kind: 'Name', value: 'reportingElementId' } },
3993
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
3994
+ { kind: 'Field', name: { kind: 'Name', value: 'reportingName' } },
3995
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
3996
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
3997
+ { kind: 'Field', name: { kind: 'Name', value: 'totalDebits' } },
3998
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCredits' } },
3999
+ { kind: 'Field', name: { kind: 'Name', value: 'netBalance' } },
4000
+ ],
4001
+ },
4002
+ },
4003
+ ],
4004
+ },
4005
+ },
4006
+ ],
4007
+ },
4008
+ },
4009
+ ],
4010
+ } as unknown as DocumentNode<
4011
+ GetLedgerMappedTrialBalanceQuery,
4012
+ GetLedgerMappedTrialBalanceQueryVariables
4013
+ >
4014
+ export const GetLedgerMappingDocument = {
4015
+ kind: 'Document',
4016
+ definitions: [
4017
+ {
4018
+ kind: 'OperationDefinition',
4019
+ operation: 'query',
4020
+ name: { kind: 'Name', value: 'GetLedgerMapping' },
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
+ selectionSet: {
4032
+ kind: 'SelectionSet',
4033
+ selections: [
4034
+ {
4035
+ kind: 'Field',
4036
+ name: { kind: 'Name', value: 'mapping' },
4037
+ arguments: [
4038
+ {
4039
+ kind: 'Argument',
4040
+ name: { kind: 'Name', value: 'mappingId' },
4041
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
4042
+ },
4043
+ ],
4044
+ selectionSet: {
4045
+ kind: 'SelectionSet',
4046
+ selections: [
4047
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4048
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3160
4049
  { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
3161
4050
  { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3162
4051
  { kind: 'Field', name: { kind: 'Name', value: 'totalAssociations' } },
@@ -3781,17 +4670,17 @@ export const ListLedgerReportsDocument = {
3781
4670
  },
3782
4671
  ],
3783
4672
  } as unknown as DocumentNode<ListLedgerReportsQuery, ListLedgerReportsQueryVariables>
3784
- export const GetLedgerScheduleFactsDocument = {
4673
+ export const GetLedgerStatementDocument = {
3785
4674
  kind: 'Document',
3786
4675
  definitions: [
3787
4676
  {
3788
4677
  kind: 'OperationDefinition',
3789
4678
  operation: 'query',
3790
- name: { kind: 'Name', value: 'GetLedgerScheduleFacts' },
4679
+ name: { kind: 'Name', value: 'GetLedgerStatement' },
3791
4680
  variableDefinitions: [
3792
4681
  {
3793
4682
  kind: 'VariableDefinition',
3794
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureId' } },
4683
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
3795
4684
  type: {
3796
4685
  kind: 'NonNullType',
3797
4686
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
@@ -3799,13 +4688,11 @@ export const GetLedgerScheduleFactsDocument = {
3799
4688
  },
3800
4689
  {
3801
4690
  kind: 'VariableDefinition',
3802
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'periodStart' } },
3803
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3804
- },
3805
- {
3806
- kind: 'VariableDefinition',
3807
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
3808
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
4691
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
4692
+ type: {
4693
+ kind: 'NonNullType',
4694
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4695
+ },
3809
4696
  },
3810
4697
  ],
3811
4698
  selectionSet: {
@@ -3813,150 +4700,36 @@ export const GetLedgerScheduleFactsDocument = {
3813
4700
  selections: [
3814
4701
  {
3815
4702
  kind: 'Field',
3816
- name: { kind: 'Name', value: 'scheduleFacts' },
4703
+ name: { kind: 'Name', value: 'statement' },
3817
4704
  arguments: [
3818
4705
  {
3819
4706
  kind: 'Argument',
3820
- name: { kind: 'Name', value: 'structureId' },
3821
- value: { kind: 'Variable', name: { kind: 'Name', value: 'structureId' } },
3822
- },
3823
- {
3824
- kind: 'Argument',
3825
- name: { kind: 'Name', value: 'periodStart' },
3826
- value: { kind: 'Variable', name: { kind: 'Name', value: 'periodStart' } },
4707
+ name: { kind: 'Name', value: 'reportId' },
4708
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
3827
4709
  },
3828
4710
  {
3829
4711
  kind: 'Argument',
3830
- name: { kind: 'Name', value: 'periodEnd' },
3831
- value: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
4712
+ name: { kind: 'Name', value: 'structureType' },
4713
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
3832
4714
  },
3833
4715
  ],
3834
4716
  selectionSet: {
3835
4717
  kind: 'SelectionSet',
3836
4718
  selections: [
4719
+ { kind: 'Field', name: { kind: 'Name', value: 'reportId' } },
3837
4720
  { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
4721
+ { kind: 'Field', name: { kind: 'Name', value: 'structureName' } },
4722
+ { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
4723
+ { kind: 'Field', name: { kind: 'Name', value: 'unmappedCount' } },
3838
4724
  {
3839
4725
  kind: 'Field',
3840
- name: { kind: 'Name', value: 'facts' },
4726
+ name: { kind: 'Name', value: 'periods' },
3841
4727
  selectionSet: {
3842
4728
  kind: 'SelectionSet',
3843
4729
  selections: [
3844
- { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3845
- { kind: 'Field', name: { kind: 'Name', value: 'elementName' } },
3846
- { kind: 'Field', name: { kind: 'Name', value: 'value' } },
3847
- { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
3848
- { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
3849
- ],
3850
- },
3851
- },
3852
- ],
3853
- },
3854
- },
3855
- ],
3856
- },
3857
- },
3858
- ],
3859
- } as unknown as DocumentNode<GetLedgerScheduleFactsQuery, GetLedgerScheduleFactsQueryVariables>
3860
- export const ListLedgerSchedulesDocument = {
3861
- kind: 'Document',
3862
- definitions: [
3863
- {
3864
- kind: 'OperationDefinition',
3865
- operation: 'query',
3866
- name: { kind: 'Name', value: 'ListLedgerSchedules' },
3867
- selectionSet: {
3868
- kind: 'SelectionSet',
3869
- selections: [
3870
- {
3871
- kind: 'Field',
3872
- name: { kind: 'Name', value: 'schedules' },
3873
- selectionSet: {
3874
- kind: 'SelectionSet',
3875
- selections: [
3876
- {
3877
- kind: 'Field',
3878
- name: { kind: 'Name', value: 'schedules' },
3879
- selectionSet: {
3880
- kind: 'SelectionSet',
3881
- selections: [
3882
- { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3883
- { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3884
- { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
3885
- { kind: 'Field', name: { kind: 'Name', value: 'entryTemplate' } },
3886
- { kind: 'Field', name: { kind: 'Name', value: 'scheduleMetadata' } },
3887
- { kind: 'Field', name: { kind: 'Name', value: 'totalPeriods' } },
3888
- { kind: 'Field', name: { kind: 'Name', value: 'periodsWithEntries' } },
3889
- ],
3890
- },
3891
- },
3892
- ],
3893
- },
3894
- },
3895
- ],
3896
- },
3897
- },
3898
- ],
3899
- } as unknown as DocumentNode<ListLedgerSchedulesQuery, ListLedgerSchedulesQueryVariables>
3900
- export const GetLedgerStatementDocument = {
3901
- kind: 'Document',
3902
- definitions: [
3903
- {
3904
- kind: 'OperationDefinition',
3905
- operation: 'query',
3906
- name: { kind: 'Name', value: 'GetLedgerStatement' },
3907
- variableDefinitions: [
3908
- {
3909
- kind: 'VariableDefinition',
3910
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
3911
- type: {
3912
- kind: 'NonNullType',
3913
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3914
- },
3915
- },
3916
- {
3917
- kind: 'VariableDefinition',
3918
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
3919
- type: {
3920
- kind: 'NonNullType',
3921
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3922
- },
3923
- },
3924
- ],
3925
- selectionSet: {
3926
- kind: 'SelectionSet',
3927
- selections: [
3928
- {
3929
- kind: 'Field',
3930
- name: { kind: 'Name', value: 'statement' },
3931
- arguments: [
3932
- {
3933
- kind: 'Argument',
3934
- name: { kind: 'Name', value: 'reportId' },
3935
- value: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
3936
- },
3937
- {
3938
- kind: 'Argument',
3939
- name: { kind: 'Name', value: 'structureType' },
3940
- value: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
3941
- },
3942
- ],
3943
- selectionSet: {
3944
- kind: 'SelectionSet',
3945
- selections: [
3946
- { kind: 'Field', name: { kind: 'Name', value: 'reportId' } },
3947
- { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3948
- { kind: 'Field', name: { kind: 'Name', value: 'structureName' } },
3949
- { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
3950
- { kind: 'Field', name: { kind: 'Name', value: 'unmappedCount' } },
3951
- {
3952
- kind: 'Field',
3953
- name: { kind: 'Name', value: 'periods' },
3954
- selectionSet: {
3955
- kind: 'SelectionSet',
3956
- selections: [
3957
- { kind: 'Field', name: { kind: 'Name', value: 'start' } },
3958
- { kind: 'Field', name: { kind: 'Name', value: 'end' } },
3959
- { kind: 'Field', name: { kind: 'Name', value: 'label' } },
4730
+ { kind: 'Field', name: { kind: 'Name', value: 'start' } },
4731
+ { kind: 'Field', name: { kind: 'Name', value: 'end' } },
4732
+ { kind: 'Field', name: { kind: 'Name', value: 'label' } },
3960
4733
  ],
3961
4734
  },
3962
4735
  },
@@ -4489,3 +5262,836 @@ export const ListLedgerUnmappedElementsDocument = {
4489
5262
  ListLedgerUnmappedElementsQuery,
4490
5263
  ListLedgerUnmappedElementsQueryVariables
4491
5264
  >
5265
+ export const ListLibraryTaxonomyArcsDocument = {
5266
+ kind: 'Document',
5267
+ definitions: [
5268
+ {
5269
+ kind: 'OperationDefinition',
5270
+ operation: 'query',
5271
+ name: { kind: 'Name', value: 'ListLibraryTaxonomyArcs' },
5272
+ variableDefinitions: [
5273
+ {
5274
+ kind: 'VariableDefinition',
5275
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
5276
+ type: {
5277
+ kind: 'NonNullType',
5278
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
5279
+ },
5280
+ },
5281
+ {
5282
+ kind: 'VariableDefinition',
5283
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'associationType' } },
5284
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5285
+ },
5286
+ {
5287
+ kind: 'VariableDefinition',
5288
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
5289
+ type: {
5290
+ kind: 'NonNullType',
5291
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
5292
+ },
5293
+ defaultValue: { kind: 'IntValue', value: '200' },
5294
+ },
5295
+ {
5296
+ kind: 'VariableDefinition',
5297
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
5298
+ type: {
5299
+ kind: 'NonNullType',
5300
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
5301
+ },
5302
+ defaultValue: { kind: 'IntValue', value: '0' },
5303
+ },
5304
+ ],
5305
+ selectionSet: {
5306
+ kind: 'SelectionSet',
5307
+ selections: [
5308
+ {
5309
+ kind: 'Field',
5310
+ name: { kind: 'Name', value: 'libraryTaxonomyArcCount' },
5311
+ arguments: [
5312
+ {
5313
+ kind: 'Argument',
5314
+ name: { kind: 'Name', value: 'taxonomyId' },
5315
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
5316
+ },
5317
+ ],
5318
+ },
5319
+ {
5320
+ kind: 'Field',
5321
+ name: { kind: 'Name', value: 'libraryTaxonomyArcs' },
5322
+ arguments: [
5323
+ {
5324
+ kind: 'Argument',
5325
+ name: { kind: 'Name', value: 'taxonomyId' },
5326
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
5327
+ },
5328
+ {
5329
+ kind: 'Argument',
5330
+ name: { kind: 'Name', value: 'associationType' },
5331
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'associationType' } },
5332
+ },
5333
+ {
5334
+ kind: 'Argument',
5335
+ name: { kind: 'Name', value: 'limit' },
5336
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
5337
+ },
5338
+ {
5339
+ kind: 'Argument',
5340
+ name: { kind: 'Name', value: 'offset' },
5341
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
5342
+ },
5343
+ ],
5344
+ selectionSet: {
5345
+ kind: 'SelectionSet',
5346
+ selections: [
5347
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5348
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
5349
+ { kind: 'Field', name: { kind: 'Name', value: 'structureName' } },
5350
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementId' } },
5351
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementQname' } },
5352
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementName' } },
5353
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementId' } },
5354
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementQname' } },
5355
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementName' } },
5356
+ { kind: 'Field', name: { kind: 'Name', value: 'associationType' } },
5357
+ { kind: 'Field', name: { kind: 'Name', value: 'arcrole' } },
5358
+ { kind: 'Field', name: { kind: 'Name', value: 'orderValue' } },
5359
+ { kind: 'Field', name: { kind: 'Name', value: 'weight' } },
5360
+ ],
5361
+ },
5362
+ },
5363
+ ],
5364
+ },
5365
+ },
5366
+ ],
5367
+ } as unknown as DocumentNode<ListLibraryTaxonomyArcsQuery, ListLibraryTaxonomyArcsQueryVariables>
5368
+ export const GetLibraryElementArcsDocument = {
5369
+ kind: 'Document',
5370
+ definitions: [
5371
+ {
5372
+ kind: 'OperationDefinition',
5373
+ operation: 'query',
5374
+ name: { kind: 'Name', value: 'GetLibraryElementArcs' },
5375
+ variableDefinitions: [
5376
+ {
5377
+ kind: 'VariableDefinition',
5378
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
5379
+ type: {
5380
+ kind: 'NonNullType',
5381
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
5382
+ },
5383
+ },
5384
+ ],
5385
+ selectionSet: {
5386
+ kind: 'SelectionSet',
5387
+ selections: [
5388
+ {
5389
+ kind: 'Field',
5390
+ name: { kind: 'Name', value: 'libraryElementArcs' },
5391
+ arguments: [
5392
+ {
5393
+ kind: 'Argument',
5394
+ name: { kind: 'Name', value: 'id' },
5395
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
5396
+ },
5397
+ ],
5398
+ selectionSet: {
5399
+ kind: 'SelectionSet',
5400
+ selections: [
5401
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5402
+ { kind: 'Field', name: { kind: 'Name', value: 'direction' } },
5403
+ { kind: 'Field', name: { kind: 'Name', value: 'associationType' } },
5404
+ { kind: 'Field', name: { kind: 'Name', value: 'arcrole' } },
5405
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
5406
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyStandard' } },
5407
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
5408
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
5409
+ { kind: 'Field', name: { kind: 'Name', value: 'structureName' } },
5410
+ {
5411
+ kind: 'Field',
5412
+ name: { kind: 'Name', value: 'peer' },
5413
+ selectionSet: {
5414
+ kind: 'SelectionSet',
5415
+ selections: [
5416
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5417
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
5418
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5419
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
5420
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
5421
+ ],
5422
+ },
5423
+ },
5424
+ ],
5425
+ },
5426
+ },
5427
+ ],
5428
+ },
5429
+ },
5430
+ ],
5431
+ } as unknown as DocumentNode<GetLibraryElementArcsQuery, GetLibraryElementArcsQueryVariables>
5432
+ export const GetLibraryElementClassificationsDocument = {
5433
+ kind: 'Document',
5434
+ definitions: [
5435
+ {
5436
+ kind: 'OperationDefinition',
5437
+ operation: 'query',
5438
+ name: { kind: 'Name', value: 'GetLibraryElementClassifications' },
5439
+ variableDefinitions: [
5440
+ {
5441
+ kind: 'VariableDefinition',
5442
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
5443
+ type: {
5444
+ kind: 'NonNullType',
5445
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
5446
+ },
5447
+ },
5448
+ ],
5449
+ selectionSet: {
5450
+ kind: 'SelectionSet',
5451
+ selections: [
5452
+ {
5453
+ kind: 'Field',
5454
+ name: { kind: 'Name', value: 'libraryElementClassifications' },
5455
+ arguments: [
5456
+ {
5457
+ kind: 'Argument',
5458
+ name: { kind: 'Name', value: 'id' },
5459
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
5460
+ },
5461
+ ],
5462
+ selectionSet: {
5463
+ kind: 'SelectionSet',
5464
+ selections: [
5465
+ { kind: 'Field', name: { kind: 'Name', value: 'category' } },
5466
+ { kind: 'Field', name: { kind: 'Name', value: 'identifier' } },
5467
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5468
+ { kind: 'Field', name: { kind: 'Name', value: 'isPrimary' } },
5469
+ ],
5470
+ },
5471
+ },
5472
+ ],
5473
+ },
5474
+ },
5475
+ ],
5476
+ } as unknown as DocumentNode<
5477
+ GetLibraryElementClassificationsQuery,
5478
+ GetLibraryElementClassificationsQueryVariables
5479
+ >
5480
+ export const GetLibraryElementEquivalentsDocument = {
5481
+ kind: 'Document',
5482
+ definitions: [
5483
+ {
5484
+ kind: 'OperationDefinition',
5485
+ operation: 'query',
5486
+ name: { kind: 'Name', value: 'GetLibraryElementEquivalents' },
5487
+ variableDefinitions: [
5488
+ {
5489
+ kind: 'VariableDefinition',
5490
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
5491
+ type: {
5492
+ kind: 'NonNullType',
5493
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
5494
+ },
5495
+ },
5496
+ ],
5497
+ selectionSet: {
5498
+ kind: 'SelectionSet',
5499
+ selections: [
5500
+ {
5501
+ kind: 'Field',
5502
+ name: { kind: 'Name', value: 'libraryElementEquivalents' },
5503
+ arguments: [
5504
+ {
5505
+ kind: 'Argument',
5506
+ name: { kind: 'Name', value: 'id' },
5507
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
5508
+ },
5509
+ ],
5510
+ selectionSet: {
5511
+ kind: 'SelectionSet',
5512
+ selections: [
5513
+ {
5514
+ kind: 'Field',
5515
+ name: { kind: 'Name', value: 'element' },
5516
+ selectionSet: {
5517
+ kind: 'SelectionSet',
5518
+ selections: [
5519
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5520
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
5521
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5522
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
5523
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
5524
+ ],
5525
+ },
5526
+ },
5527
+ {
5528
+ kind: 'Field',
5529
+ name: { kind: 'Name', value: 'equivalents' },
5530
+ selectionSet: {
5531
+ kind: 'SelectionSet',
5532
+ selections: [
5533
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5534
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
5535
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5536
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
5537
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
5538
+ ],
5539
+ },
5540
+ },
5541
+ ],
5542
+ },
5543
+ },
5544
+ ],
5545
+ },
5546
+ },
5547
+ ],
5548
+ } as unknown as DocumentNode<
5549
+ GetLibraryElementEquivalentsQuery,
5550
+ GetLibraryElementEquivalentsQueryVariables
5551
+ >
5552
+ export const ListLibraryElementsDocument = {
5553
+ kind: 'Document',
5554
+ definitions: [
5555
+ {
5556
+ kind: 'OperationDefinition',
5557
+ operation: 'query',
5558
+ name: { kind: 'Name', value: 'ListLibraryElements' },
5559
+ variableDefinitions: [
5560
+ {
5561
+ kind: 'VariableDefinition',
5562
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
5563
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
5564
+ },
5565
+ {
5566
+ kind: 'VariableDefinition',
5567
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
5568
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5569
+ },
5570
+ {
5571
+ kind: 'VariableDefinition',
5572
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'classification' } },
5573
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5574
+ },
5575
+ {
5576
+ kind: 'VariableDefinition',
5577
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'activityType' } },
5578
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5579
+ },
5580
+ {
5581
+ kind: 'VariableDefinition',
5582
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'elementType' } },
5583
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5584
+ },
5585
+ {
5586
+ kind: 'VariableDefinition',
5587
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'isAbstract' } },
5588
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
5589
+ },
5590
+ {
5591
+ kind: 'VariableDefinition',
5592
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
5593
+ type: {
5594
+ kind: 'NonNullType',
5595
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
5596
+ },
5597
+ defaultValue: { kind: 'IntValue', value: '50' },
5598
+ },
5599
+ {
5600
+ kind: 'VariableDefinition',
5601
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
5602
+ type: {
5603
+ kind: 'NonNullType',
5604
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
5605
+ },
5606
+ defaultValue: { kind: 'IntValue', value: '0' },
5607
+ },
5608
+ {
5609
+ kind: 'VariableDefinition',
5610
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'includeLabels' } },
5611
+ type: {
5612
+ kind: 'NonNullType',
5613
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
5614
+ },
5615
+ defaultValue: { kind: 'BooleanValue', value: false },
5616
+ },
5617
+ {
5618
+ kind: 'VariableDefinition',
5619
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'includeReferences' } },
5620
+ type: {
5621
+ kind: 'NonNullType',
5622
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
5623
+ },
5624
+ defaultValue: { kind: 'BooleanValue', value: false },
5625
+ },
5626
+ ],
5627
+ selectionSet: {
5628
+ kind: 'SelectionSet',
5629
+ selections: [
5630
+ {
5631
+ kind: 'Field',
5632
+ name: { kind: 'Name', value: 'libraryElements' },
5633
+ arguments: [
5634
+ {
5635
+ kind: 'Argument',
5636
+ name: { kind: 'Name', value: 'taxonomyId' },
5637
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
5638
+ },
5639
+ {
5640
+ kind: 'Argument',
5641
+ name: { kind: 'Name', value: 'source' },
5642
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
5643
+ },
5644
+ {
5645
+ kind: 'Argument',
5646
+ name: { kind: 'Name', value: 'classification' },
5647
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'classification' } },
5648
+ },
5649
+ {
5650
+ kind: 'Argument',
5651
+ name: { kind: 'Name', value: 'activityType' },
5652
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'activityType' } },
5653
+ },
5654
+ {
5655
+ kind: 'Argument',
5656
+ name: { kind: 'Name', value: 'elementType' },
5657
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'elementType' } },
5658
+ },
5659
+ {
5660
+ kind: 'Argument',
5661
+ name: { kind: 'Name', value: 'isAbstract' },
5662
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'isAbstract' } },
5663
+ },
5664
+ {
5665
+ kind: 'Argument',
5666
+ name: { kind: 'Name', value: 'limit' },
5667
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
5668
+ },
5669
+ {
5670
+ kind: 'Argument',
5671
+ name: { kind: 'Name', value: 'offset' },
5672
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
5673
+ },
5674
+ {
5675
+ kind: 'Argument',
5676
+ name: { kind: 'Name', value: 'includeLabels' },
5677
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'includeLabels' } },
5678
+ },
5679
+ {
5680
+ kind: 'Argument',
5681
+ name: { kind: 'Name', value: 'includeReferences' },
5682
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'includeReferences' } },
5683
+ },
5684
+ ],
5685
+ selectionSet: {
5686
+ kind: 'SelectionSet',
5687
+ selections: [
5688
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5689
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
5690
+ { kind: 'Field', name: { kind: 'Name', value: 'namespace' } },
5691
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5692
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
5693
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
5694
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
5695
+ { kind: 'Field', name: { kind: 'Name', value: 'isAbstract' } },
5696
+ { kind: 'Field', name: { kind: 'Name', value: 'isMonetary' } },
5697
+ { kind: 'Field', name: { kind: 'Name', value: 'elementType' } },
5698
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
5699
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
5700
+ { kind: 'Field', name: { kind: 'Name', value: 'parentId' } },
5701
+ {
5702
+ kind: 'Field',
5703
+ name: { kind: 'Name', value: 'labels' },
5704
+ directives: [
5705
+ {
5706
+ kind: 'Directive',
5707
+ name: { kind: 'Name', value: 'include' },
5708
+ arguments: [
5709
+ {
5710
+ kind: 'Argument',
5711
+ name: { kind: 'Name', value: 'if' },
5712
+ value: {
5713
+ kind: 'Variable',
5714
+ name: { kind: 'Name', value: 'includeLabels' },
5715
+ },
5716
+ },
5717
+ ],
5718
+ },
5719
+ ],
5720
+ selectionSet: {
5721
+ kind: 'SelectionSet',
5722
+ selections: [
5723
+ { kind: 'Field', name: { kind: 'Name', value: 'role' } },
5724
+ { kind: 'Field', name: { kind: 'Name', value: 'language' } },
5725
+ { kind: 'Field', name: { kind: 'Name', value: 'text' } },
5726
+ ],
5727
+ },
5728
+ },
5729
+ {
5730
+ kind: 'Field',
5731
+ name: { kind: 'Name', value: 'references' },
5732
+ directives: [
5733
+ {
5734
+ kind: 'Directive',
5735
+ name: { kind: 'Name', value: 'include' },
5736
+ arguments: [
5737
+ {
5738
+ kind: 'Argument',
5739
+ name: { kind: 'Name', value: 'if' },
5740
+ value: {
5741
+ kind: 'Variable',
5742
+ name: { kind: 'Name', value: 'includeReferences' },
5743
+ },
5744
+ },
5745
+ ],
5746
+ },
5747
+ ],
5748
+ selectionSet: {
5749
+ kind: 'SelectionSet',
5750
+ selections: [
5751
+ { kind: 'Field', name: { kind: 'Name', value: 'refType' } },
5752
+ { kind: 'Field', name: { kind: 'Name', value: 'citation' } },
5753
+ { kind: 'Field', name: { kind: 'Name', value: 'uri' } },
5754
+ ],
5755
+ },
5756
+ },
5757
+ ],
5758
+ },
5759
+ },
5760
+ ],
5761
+ },
5762
+ },
5763
+ ],
5764
+ } as unknown as DocumentNode<ListLibraryElementsQuery, ListLibraryElementsQueryVariables>
5765
+ export const SearchLibraryElementsDocument = {
5766
+ kind: 'Document',
5767
+ definitions: [
5768
+ {
5769
+ kind: 'OperationDefinition',
5770
+ operation: 'query',
5771
+ name: { kind: 'Name', value: 'SearchLibraryElements' },
5772
+ variableDefinitions: [
5773
+ {
5774
+ kind: 'VariableDefinition',
5775
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'query' } },
5776
+ type: {
5777
+ kind: 'NonNullType',
5778
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5779
+ },
5780
+ },
5781
+ {
5782
+ kind: 'VariableDefinition',
5783
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
5784
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5785
+ },
5786
+ {
5787
+ kind: 'VariableDefinition',
5788
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
5789
+ type: {
5790
+ kind: 'NonNullType',
5791
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
5792
+ },
5793
+ defaultValue: { kind: 'IntValue', value: '50' },
5794
+ },
5795
+ ],
5796
+ selectionSet: {
5797
+ kind: 'SelectionSet',
5798
+ selections: [
5799
+ {
5800
+ kind: 'Field',
5801
+ name: { kind: 'Name', value: 'searchLibraryElements' },
5802
+ arguments: [
5803
+ {
5804
+ kind: 'Argument',
5805
+ name: { kind: 'Name', value: 'query' },
5806
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'query' } },
5807
+ },
5808
+ {
5809
+ kind: 'Argument',
5810
+ name: { kind: 'Name', value: 'source' },
5811
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
5812
+ },
5813
+ {
5814
+ kind: 'Argument',
5815
+ name: { kind: 'Name', value: 'limit' },
5816
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
5817
+ },
5818
+ ],
5819
+ selectionSet: {
5820
+ kind: 'SelectionSet',
5821
+ selections: [
5822
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5823
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
5824
+ { kind: 'Field', name: { kind: 'Name', value: 'namespace' } },
5825
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5826
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
5827
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
5828
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
5829
+ { kind: 'Field', name: { kind: 'Name', value: 'isAbstract' } },
5830
+ { kind: 'Field', name: { kind: 'Name', value: 'isMonetary' } },
5831
+ { kind: 'Field', name: { kind: 'Name', value: 'elementType' } },
5832
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
5833
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
5834
+ { kind: 'Field', name: { kind: 'Name', value: 'parentId' } },
5835
+ {
5836
+ kind: 'Field',
5837
+ name: { kind: 'Name', value: 'labels' },
5838
+ selectionSet: {
5839
+ kind: 'SelectionSet',
5840
+ selections: [
5841
+ { kind: 'Field', name: { kind: 'Name', value: 'role' } },
5842
+ { kind: 'Field', name: { kind: 'Name', value: 'language' } },
5843
+ { kind: 'Field', name: { kind: 'Name', value: 'text' } },
5844
+ ],
5845
+ },
5846
+ },
5847
+ {
5848
+ kind: 'Field',
5849
+ name: { kind: 'Name', value: 'references' },
5850
+ selectionSet: {
5851
+ kind: 'SelectionSet',
5852
+ selections: [
5853
+ { kind: 'Field', name: { kind: 'Name', value: 'refType' } },
5854
+ { kind: 'Field', name: { kind: 'Name', value: 'citation' } },
5855
+ { kind: 'Field', name: { kind: 'Name', value: 'uri' } },
5856
+ ],
5857
+ },
5858
+ },
5859
+ ],
5860
+ },
5861
+ },
5862
+ ],
5863
+ },
5864
+ },
5865
+ ],
5866
+ } as unknown as DocumentNode<SearchLibraryElementsQuery, SearchLibraryElementsQueryVariables>
5867
+ export const GetLibraryElementDocument = {
5868
+ kind: 'Document',
5869
+ definitions: [
5870
+ {
5871
+ kind: 'OperationDefinition',
5872
+ operation: 'query',
5873
+ name: { kind: 'Name', value: 'GetLibraryElement' },
5874
+ variableDefinitions: [
5875
+ {
5876
+ kind: 'VariableDefinition',
5877
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
5878
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
5879
+ },
5880
+ {
5881
+ kind: 'VariableDefinition',
5882
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'qname' } },
5883
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5884
+ },
5885
+ ],
5886
+ selectionSet: {
5887
+ kind: 'SelectionSet',
5888
+ selections: [
5889
+ {
5890
+ kind: 'Field',
5891
+ name: { kind: 'Name', value: 'libraryElement' },
5892
+ arguments: [
5893
+ {
5894
+ kind: 'Argument',
5895
+ name: { kind: 'Name', value: 'id' },
5896
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
5897
+ },
5898
+ {
5899
+ kind: 'Argument',
5900
+ name: { kind: 'Name', value: 'qname' },
5901
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'qname' } },
5902
+ },
5903
+ ],
5904
+ selectionSet: {
5905
+ kind: 'SelectionSet',
5906
+ selections: [
5907
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5908
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
5909
+ { kind: 'Field', name: { kind: 'Name', value: 'namespace' } },
5910
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5911
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
5912
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
5913
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
5914
+ { kind: 'Field', name: { kind: 'Name', value: 'isAbstract' } },
5915
+ { kind: 'Field', name: { kind: 'Name', value: 'isMonetary' } },
5916
+ { kind: 'Field', name: { kind: 'Name', value: 'elementType' } },
5917
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
5918
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
5919
+ { kind: 'Field', name: { kind: 'Name', value: 'parentId' } },
5920
+ {
5921
+ kind: 'Field',
5922
+ name: { kind: 'Name', value: 'labels' },
5923
+ selectionSet: {
5924
+ kind: 'SelectionSet',
5925
+ selections: [
5926
+ { kind: 'Field', name: { kind: 'Name', value: 'role' } },
5927
+ { kind: 'Field', name: { kind: 'Name', value: 'language' } },
5928
+ { kind: 'Field', name: { kind: 'Name', value: 'text' } },
5929
+ ],
5930
+ },
5931
+ },
5932
+ {
5933
+ kind: 'Field',
5934
+ name: { kind: 'Name', value: 'references' },
5935
+ selectionSet: {
5936
+ kind: 'SelectionSet',
5937
+ selections: [
5938
+ { kind: 'Field', name: { kind: 'Name', value: 'refType' } },
5939
+ { kind: 'Field', name: { kind: 'Name', value: 'citation' } },
5940
+ { kind: 'Field', name: { kind: 'Name', value: 'uri' } },
5941
+ ],
5942
+ },
5943
+ },
5944
+ ],
5945
+ },
5946
+ },
5947
+ ],
5948
+ },
5949
+ },
5950
+ ],
5951
+ } as unknown as DocumentNode<GetLibraryElementQuery, GetLibraryElementQueryVariables>
5952
+ export const ListLibraryTaxonomiesDocument = {
5953
+ kind: 'Document',
5954
+ definitions: [
5955
+ {
5956
+ kind: 'OperationDefinition',
5957
+ operation: 'query',
5958
+ name: { kind: 'Name', value: 'ListLibraryTaxonomies' },
5959
+ variableDefinitions: [
5960
+ {
5961
+ kind: 'VariableDefinition',
5962
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'standard' } },
5963
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
5964
+ },
5965
+ {
5966
+ kind: 'VariableDefinition',
5967
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'includeElementCount' } },
5968
+ type: {
5969
+ kind: 'NonNullType',
5970
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
5971
+ },
5972
+ defaultValue: { kind: 'BooleanValue', value: false },
5973
+ },
5974
+ ],
5975
+ selectionSet: {
5976
+ kind: 'SelectionSet',
5977
+ selections: [
5978
+ {
5979
+ kind: 'Field',
5980
+ name: { kind: 'Name', value: 'libraryTaxonomies' },
5981
+ arguments: [
5982
+ {
5983
+ kind: 'Argument',
5984
+ name: { kind: 'Name', value: 'standard' },
5985
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'standard' } },
5986
+ },
5987
+ {
5988
+ kind: 'Argument',
5989
+ name: { kind: 'Name', value: 'includeElementCount' },
5990
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'includeElementCount' } },
5991
+ },
5992
+ ],
5993
+ selectionSet: {
5994
+ kind: 'SelectionSet',
5995
+ selections: [
5996
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
5997
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
5998
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
5999
+ { kind: 'Field', name: { kind: 'Name', value: 'standard' } },
6000
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
6001
+ { kind: 'Field', name: { kind: 'Name', value: 'namespaceUri' } },
6002
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyType' } },
6003
+ { kind: 'Field', name: { kind: 'Name', value: 'isShared' } },
6004
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
6005
+ { kind: 'Field', name: { kind: 'Name', value: 'isLocked' } },
6006
+ { kind: 'Field', name: { kind: 'Name', value: 'elementCount' } },
6007
+ ],
6008
+ },
6009
+ },
6010
+ ],
6011
+ },
6012
+ },
6013
+ ],
6014
+ } as unknown as DocumentNode<ListLibraryTaxonomiesQuery, ListLibraryTaxonomiesQueryVariables>
6015
+ export const GetLibraryTaxonomyDocument = {
6016
+ kind: 'Document',
6017
+ definitions: [
6018
+ {
6019
+ kind: 'OperationDefinition',
6020
+ operation: 'query',
6021
+ name: { kind: 'Name', value: 'GetLibraryTaxonomy' },
6022
+ variableDefinitions: [
6023
+ {
6024
+ kind: 'VariableDefinition',
6025
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
6026
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
6027
+ },
6028
+ {
6029
+ kind: 'VariableDefinition',
6030
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'standard' } },
6031
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
6032
+ },
6033
+ {
6034
+ kind: 'VariableDefinition',
6035
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'version' } },
6036
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
6037
+ },
6038
+ {
6039
+ kind: 'VariableDefinition',
6040
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'includeElementCount' } },
6041
+ type: {
6042
+ kind: 'NonNullType',
6043
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
6044
+ },
6045
+ defaultValue: { kind: 'BooleanValue', value: false },
6046
+ },
6047
+ ],
6048
+ selectionSet: {
6049
+ kind: 'SelectionSet',
6050
+ selections: [
6051
+ {
6052
+ kind: 'Field',
6053
+ name: { kind: 'Name', value: 'libraryTaxonomy' },
6054
+ arguments: [
6055
+ {
6056
+ kind: 'Argument',
6057
+ name: { kind: 'Name', value: 'id' },
6058
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
6059
+ },
6060
+ {
6061
+ kind: 'Argument',
6062
+ name: { kind: 'Name', value: 'standard' },
6063
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'standard' } },
6064
+ },
6065
+ {
6066
+ kind: 'Argument',
6067
+ name: { kind: 'Name', value: 'version' },
6068
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'version' } },
6069
+ },
6070
+ {
6071
+ kind: 'Argument',
6072
+ name: { kind: 'Name', value: 'includeElementCount' },
6073
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'includeElementCount' } },
6074
+ },
6075
+ ],
6076
+ selectionSet: {
6077
+ kind: 'SelectionSet',
6078
+ selections: [
6079
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
6080
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
6081
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
6082
+ { kind: 'Field', name: { kind: 'Name', value: 'standard' } },
6083
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
6084
+ { kind: 'Field', name: { kind: 'Name', value: 'namespaceUri' } },
6085
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyType' } },
6086
+ { kind: 'Field', name: { kind: 'Name', value: 'isShared' } },
6087
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
6088
+ { kind: 'Field', name: { kind: 'Name', value: 'isLocked' } },
6089
+ { kind: 'Field', name: { kind: 'Name', value: 'elementCount' } },
6090
+ ],
6091
+ },
6092
+ },
6093
+ ],
6094
+ },
6095
+ },
6096
+ ],
6097
+ } as unknown as DocumentNode<GetLibraryTaxonomyQuery, GetLibraryTaxonomyQueryVariables>