@robosystems/client 0.3.8 → 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.
@@ -115,6 +115,12 @@ export type AccountTreeNode = {
115
115
  isActive: Scalars['Boolean']['output'];
116
116
  name: Scalars['String']['output'];
117
117
  };
118
+ export type Artifact = {
119
+ mechanics: Scalars['JSON']['output'];
120
+ parentheticalNote: Maybe<Scalars['String']['output']>;
121
+ template: Maybe<Scalars['JSON']['output']>;
122
+ topic: Maybe<Scalars['String']['output']>;
123
+ };
118
124
  export type Association = {
119
125
  approvedBy: Maybe<Scalars['String']['output']>;
120
126
  associationType: Scalars['String']['output'];
@@ -266,6 +272,130 @@ export type HoldingsList = {
266
272
  totalEntities: Scalars['Int']['output'];
267
273
  totalPositions: Scalars['Int']['output'];
268
274
  };
275
+ export type InformationBlock = {
276
+ artifact: Artifact;
277
+ blockType: Scalars['String']['output'];
278
+ category: Scalars['String']['output'];
279
+ connections: Array<InformationBlockConnection>;
280
+ dimensions: Array<Scalars['JSON']['output']>;
281
+ displayName: Scalars['String']['output'];
282
+ elements: Array<InformationBlockElement>;
283
+ factSet: Maybe<InformationBlockFactSet>;
284
+ facts: Array<InformationBlockFact>;
285
+ id: Scalars['ID']['output'];
286
+ informationModel: InformationModel;
287
+ name: Scalars['String']['output'];
288
+ rules: Array<InformationBlockRule>;
289
+ taxonomyId: Maybe<Scalars['String']['output']>;
290
+ taxonomyName: Maybe<Scalars['String']['output']>;
291
+ verificationResults: Array<InformationBlockVerificationResult>;
292
+ };
293
+ export type InformationBlockClassification = {
294
+ /** 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. */
295
+ category: Scalars['String']['output'];
296
+ /** AI/adapter-supplied confidence (0.0-1.0). Null for deterministic library-seeded rows. */
297
+ confidence: Maybe<Scalars['Float']['output']>;
298
+ /** Classification vocabulary row id. */
299
+ id: Scalars['String']['output'];
300
+ /** Vocabulary identifier within the category — e.g. 'RollUp', 'aggregation', 'AssetsRollUp'. */
301
+ identifier: Scalars['String']['output'];
302
+ /** Whether this is the canonical classification for the (association|element, category) pair. Non-primary rows capture alternates / AI suggestions alongside the chosen primary. */
303
+ isPrimary: Scalars['Boolean']['output'];
304
+ /** Provenance — 'arcrole_analysis', 'disclosure_mechanics', 'us-gaap-metamodel', adapter name, etc. */
305
+ source: Maybe<Scalars['String']['output']>;
306
+ };
307
+ export type InformationBlockConnection = {
308
+ arcrole: Maybe<Scalars['String']['output']>;
309
+ /** presentation | calculation | mapping | equivalence | general-special | essence-alias */
310
+ associationType: Scalars['String']['output'];
311
+ /** 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. */
312
+ classifications: Array<InformationBlockClassification>;
313
+ fromElementId: Scalars['String']['output'];
314
+ id: Scalars['String']['output'];
315
+ orderValue: Maybe<Scalars['Float']['output']>;
316
+ toElementId: Scalars['String']['output'];
317
+ weight: Maybe<Scalars['Float']['output']>;
318
+ };
319
+ export type InformationBlockElement = {
320
+ balanceType: Maybe<Scalars['String']['output']>;
321
+ code: Maybe<Scalars['String']['output']>;
322
+ /** concept | abstract | axis | member | hypercube */
323
+ elementType: Scalars['String']['output'];
324
+ id: Scalars['String']['output'];
325
+ isAbstract: Scalars['Boolean']['output'];
326
+ isMonetary: Scalars['Boolean']['output'];
327
+ name: Scalars['String']['output'];
328
+ periodType: Maybe<Scalars['String']['output']>;
329
+ qname: Maybe<Scalars['String']['output']>;
330
+ };
331
+ export type InformationBlockFact = {
332
+ elementId: Scalars['String']['output'];
333
+ /** historical | in_scope */
334
+ factScope: Scalars['String']['output'];
335
+ factSetId: Maybe<Scalars['String']['output']>;
336
+ id: Scalars['String']['output'];
337
+ periodEnd: Scalars['Date']['output'];
338
+ periodStart: Maybe<Scalars['Date']['output']>;
339
+ periodType: Scalars['String']['output'];
340
+ unit: Scalars['String']['output'];
341
+ value: Scalars['Float']['output'];
342
+ };
343
+ export type InformationBlockFactSet = {
344
+ entityId: Scalars['String']['output'];
345
+ /** 'report' | 'schedule' | 'custom'. Enum closure enforced by the ``public.fact_sets`` CHECK constraint. */
346
+ factsetType: Scalars['String']['output'];
347
+ id: Scalars['String']['output'];
348
+ periodEnd: Scalars['Date']['output'];
349
+ periodStart: Maybe<Scalars['Date']['output']>;
350
+ /** Back-pointer to the ``reports`` table while ``report_id`` still lives on facts. Drops out once the retirement migration lands. */
351
+ reportId: Maybe<Scalars['String']['output']>;
352
+ structureId: Maybe<Scalars['String']['output']>;
353
+ };
354
+ export type InformationBlockRule = {
355
+ id: Scalars['String']['output'];
356
+ /** One of 8 cm:VerificationRule subclasses — AutomatedAccountingAndReportingChecks, FundamentalAccountingConceptRelation, PeerConsistencyRule, PriorPeriodConsistencyRule, ReportLevelModelStructureRule, ReportingSystemSpecificRule, ToDoManualTask, XBRLTechnicalSyntaxRule. */
357
+ ruleCategory: Scalars['String']['output'];
358
+ ruleExpression: Scalars['String']['output'];
359
+ ruleMessage: Maybe<Scalars['String']['output']>;
360
+ /** 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. */
361
+ ruleOrigin: Scalars['String']['output'];
362
+ /** One of 10 cm:BusinessRulePattern mechanisms — Adjustment, CoExists, EqualTo, Exists, GreaterThan, GreaterThanOrEqualToZero, LessThan, RollForward, RollUp, Variance. */
363
+ rulePattern: Scalars['String']['output'];
364
+ /** Failure severity — 'info' | 'warning' | 'error'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
365
+ ruleSeverity: Scalars['String']['output'];
366
+ ruleTarget: Maybe<InformationBlockRuleTarget>;
367
+ ruleVariables: Array<InformationBlockRuleVariable>;
368
+ };
369
+ export type InformationBlockRuleTarget = {
370
+ /** Which atom type the rule targets — 'structure' | 'element' | 'association'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
371
+ targetKind: Scalars['String']['output'];
372
+ /** UUID of the target atom — structure_id, element_id, or association_id depending on ``target_kind``. */
373
+ targetRefId: Scalars['String']['output'];
374
+ };
375
+ export type InformationBlockRuleVariable = {
376
+ /** Local name in the rule expression, e.g. 'Assets'. */
377
+ variableName: Scalars['String']['output'];
378
+ /** Concept qname the variable resolves to, e.g. 'fac:Assets'. */
379
+ variableQname: Scalars['String']['output'];
380
+ };
381
+ export type InformationBlockVerificationResult = {
382
+ evaluatedAt: Maybe<Scalars['DateTime']['output']>;
383
+ factSetId: Maybe<Scalars['String']['output']>;
384
+ id: Scalars['String']['output'];
385
+ message: Maybe<Scalars['String']['output']>;
386
+ periodEnd: Maybe<Scalars['Date']['output']>;
387
+ periodStart: Maybe<Scalars['Date']['output']>;
388
+ ruleId: Scalars['String']['output'];
389
+ /** 'pass' | 'fail' | 'error' | 'skipped'. Enum closure enforced by the ``public.verification_results`` CHECK constraint. */
390
+ status: Scalars['String']['output'];
391
+ structureId: Maybe<Scalars['String']['output']>;
392
+ };
393
+ export type InformationModel = {
394
+ /** roll_up | roll_forward | variance | adjustment | set | arithmetic | textblock. Null for block types where the concept arrangement is implicit in their mechanics. */
395
+ conceptArrangement: Maybe<Scalars['String']['output']>;
396
+ /** aggregation | nonaggregation, or null if non-hypercube. */
397
+ memberArrangement: Maybe<Scalars['String']['output']>;
398
+ };
269
399
  export type LedgerEntity = {
270
400
  addressCity: Maybe<Scalars['String']['output']>;
271
401
  addressCountry: Maybe<Scalars['String']['output']>;
@@ -640,6 +770,8 @@ export type Query = {
640
770
  fiscalCalendar: Maybe<FiscalCalendar>;
641
771
  hello: Scalars['String']['output'];
642
772
  holdings: Maybe<HoldingsList>;
773
+ informationBlock: Maybe<InformationBlock>;
774
+ informationBlocks: Array<InformationBlock>;
643
775
  libraryElement: Maybe<LibraryElement>;
644
776
  libraryElementArcs: Array<LibraryElementArc>;
645
777
  libraryElementClassifications: Array<LibraryElementClassification>;
@@ -667,8 +799,6 @@ export type Query = {
667
799
  report: Maybe<Report>;
668
800
  reportingTaxonomy: Maybe<Taxonomy>;
669
801
  reports: Maybe<ReportList>;
670
- scheduleFacts: Maybe<ScheduleFacts>;
671
- schedules: Maybe<ScheduleList>;
672
802
  searchLibraryElements: Array<LibraryElement>;
673
803
  securities: Maybe<SecurityList>;
674
804
  security: Maybe<Security>;
@@ -706,6 +836,15 @@ export type QueryEntitiesArgs = {
706
836
  export type QueryHoldingsArgs = {
707
837
  portfolioId: Scalars['String']['input'];
708
838
  };
839
+ export type QueryInformationBlockArgs = {
840
+ id: Scalars['ID']['input'];
841
+ };
842
+ export type QueryInformationBlocksArgs = {
843
+ blockType?: InputMaybe<Scalars['String']['input']>;
844
+ category?: InputMaybe<Scalars['String']['input']>;
845
+ limit?: Scalars['Int']['input'];
846
+ offset?: Scalars['Int']['input'];
847
+ };
709
848
  export type QueryLibraryElementArgs = {
710
849
  id?: InputMaybe<Scalars['ID']['input']>;
711
850
  qname?: InputMaybe<Scalars['String']['input']>;
@@ -807,11 +946,6 @@ export type QueryPublishListsArgs = {
807
946
  export type QueryReportArgs = {
808
947
  reportId: Scalars['String']['input'];
809
948
  };
810
- export type QueryScheduleFactsArgs = {
811
- periodEnd?: InputMaybe<Scalars['Date']['input']>;
812
- periodStart?: InputMaybe<Scalars['Date']['input']>;
813
- structureId: Scalars['String']['input'];
814
- };
815
949
  export type QuerySearchLibraryElementsArgs = {
816
950
  limit?: Scalars['Int']['input'];
817
951
  query: Scalars['String']['input'];
@@ -878,29 +1012,6 @@ export type Report = {
878
1012
  export type ReportList = {
879
1013
  reports: Array<Report>;
880
1014
  };
881
- export type ScheduleFact = {
882
- elementId: Scalars['String']['output'];
883
- elementName: Scalars['String']['output'];
884
- periodEnd: Scalars['Date']['output'];
885
- periodStart: Scalars['Date']['output'];
886
- value: Scalars['Float']['output'];
887
- };
888
- export type ScheduleFacts = {
889
- facts: Array<ScheduleFact>;
890
- structureId: Scalars['String']['output'];
891
- };
892
- export type ScheduleList = {
893
- schedules: Array<ScheduleSummary>;
894
- };
895
- export type ScheduleSummary = {
896
- entryTemplate: Maybe<Scalars['JSON']['output']>;
897
- name: Scalars['String']['output'];
898
- periodsWithEntries: Scalars['Int']['output'];
899
- scheduleMetadata: Maybe<Scalars['JSON']['output']>;
900
- structureId: Scalars['ID']['output'];
901
- taxonomyName: Scalars['String']['output'];
902
- totalPeriods: Scalars['Int']['output'];
903
- };
904
1015
  export type Security = {
905
1016
  authorizedShares: Maybe<Scalars['Int']['output']>;
906
1017
  createdAt: Scalars['DateTime']['output'];
@@ -1436,6 +1547,119 @@ export type GetLedgerFiscalCalendarQuery = {
1436
1547
  }>;
1437
1548
  } | null;
1438
1549
  };
1550
+ export type GetInformationBlockQueryVariables = Exact<{
1551
+ id: Scalars['ID']['input'];
1552
+ }>;
1553
+ export type GetInformationBlockQuery = {
1554
+ informationBlock: {
1555
+ id: string;
1556
+ blockType: string;
1557
+ name: string;
1558
+ displayName: string;
1559
+ category: string;
1560
+ taxonomyId: string | null;
1561
+ taxonomyName: string | null;
1562
+ informationModel: {
1563
+ conceptArrangement: string | null;
1564
+ memberArrangement: string | null;
1565
+ };
1566
+ artifact: {
1567
+ topic: string | null;
1568
+ parentheticalNote: string | null;
1569
+ template: any | null;
1570
+ mechanics: any;
1571
+ };
1572
+ elements: Array<{
1573
+ id: string;
1574
+ qname: string | null;
1575
+ name: string;
1576
+ code: string | null;
1577
+ elementType: string;
1578
+ isAbstract: boolean;
1579
+ isMonetary: boolean;
1580
+ balanceType: string | null;
1581
+ periodType: string | null;
1582
+ }>;
1583
+ connections: Array<{
1584
+ id: string;
1585
+ fromElementId: string;
1586
+ toElementId: string;
1587
+ associationType: string;
1588
+ arcrole: string | null;
1589
+ orderValue: number | null;
1590
+ weight: number | null;
1591
+ }>;
1592
+ facts: Array<{
1593
+ id: string;
1594
+ elementId: string;
1595
+ value: number;
1596
+ periodStart: any | null;
1597
+ periodEnd: any;
1598
+ periodType: string;
1599
+ unit: string;
1600
+ factScope: string;
1601
+ factSetId: string | null;
1602
+ }>;
1603
+ } | null;
1604
+ };
1605
+ export type ListInformationBlocksQueryVariables = Exact<{
1606
+ blockType: InputMaybe<Scalars['String']['input']>;
1607
+ category: InputMaybe<Scalars['String']['input']>;
1608
+ limit: InputMaybe<Scalars['Int']['input']>;
1609
+ offset: InputMaybe<Scalars['Int']['input']>;
1610
+ }>;
1611
+ export type ListInformationBlocksQuery = {
1612
+ informationBlocks: Array<{
1613
+ id: string;
1614
+ blockType: string;
1615
+ name: string;
1616
+ displayName: string;
1617
+ category: string;
1618
+ taxonomyId: string | null;
1619
+ taxonomyName: string | null;
1620
+ informationModel: {
1621
+ conceptArrangement: string | null;
1622
+ memberArrangement: string | null;
1623
+ };
1624
+ artifact: {
1625
+ topic: string | null;
1626
+ parentheticalNote: string | null;
1627
+ template: any | null;
1628
+ mechanics: any;
1629
+ };
1630
+ elements: Array<{
1631
+ id: string;
1632
+ qname: string | null;
1633
+ name: string;
1634
+ code: string | null;
1635
+ elementType: string;
1636
+ isAbstract: boolean;
1637
+ isMonetary: boolean;
1638
+ balanceType: string | null;
1639
+ periodType: string | null;
1640
+ }>;
1641
+ connections: Array<{
1642
+ id: string;
1643
+ fromElementId: string;
1644
+ toElementId: string;
1645
+ associationType: string;
1646
+ arcrole: string | null;
1647
+ orderValue: number | null;
1648
+ weight: number | null;
1649
+ }>;
1650
+ facts: Array<{
1651
+ id: string;
1652
+ elementId: string;
1653
+ value: number;
1654
+ periodStart: any | null;
1655
+ periodEnd: any;
1656
+ periodType: string;
1657
+ unit: string;
1658
+ factScope: string;
1659
+ factSetId: string | null;
1660
+ }>;
1661
+ }>;
1662
+ };
1439
1663
  export type GetLedgerMappedTrialBalanceQueryVariables = Exact<{
1440
1664
  mappingId: Scalars['String']['input'];
1441
1665
  startDate: InputMaybe<Scalars['Date']['input']>;
@@ -1703,39 +1927,6 @@ export type ListLedgerReportsQuery = {
1703
1927
  }>;
1704
1928
  } | null;
1705
1929
  };
1706
- export type GetLedgerScheduleFactsQueryVariables = Exact<{
1707
- structureId: Scalars['String']['input'];
1708
- periodStart: InputMaybe<Scalars['Date']['input']>;
1709
- periodEnd: InputMaybe<Scalars['Date']['input']>;
1710
- }>;
1711
- export type GetLedgerScheduleFactsQuery = {
1712
- scheduleFacts: {
1713
- structureId: string;
1714
- facts: Array<{
1715
- elementId: string;
1716
- elementName: string;
1717
- value: number;
1718
- periodStart: any;
1719
- periodEnd: any;
1720
- }>;
1721
- } | null;
1722
- };
1723
- export type ListLedgerSchedulesQueryVariables = Exact<{
1724
- [key: string]: never;
1725
- }>;
1726
- export type ListLedgerSchedulesQuery = {
1727
- schedules: {
1728
- schedules: Array<{
1729
- structureId: string;
1730
- name: string;
1731
- taxonomyName: string;
1732
- entryTemplate: any | null;
1733
- scheduleMetadata: any | null;
1734
- totalPeriods: number;
1735
- periodsWithEntries: number;
1736
- }>;
1737
- } | null;
1738
- };
1739
1930
  export type GetLedgerStatementQueryVariables = Exact<{
1740
1931
  reportId: Scalars['String']['input'];
1741
1932
  structureType: Scalars['String']['input'];
@@ -2170,6 +2361,8 @@ export declare const ListLedgerElementsDocument: DocumentNode<ListLedgerElements
2170
2361
  export declare const ListLedgerEntitiesDocument: DocumentNode<ListLedgerEntitiesQuery, ListLedgerEntitiesQueryVariables>;
2171
2362
  export declare const GetLedgerEntityDocument: DocumentNode<GetLedgerEntityQuery, GetLedgerEntityQueryVariables>;
2172
2363
  export declare const GetLedgerFiscalCalendarDocument: DocumentNode<GetLedgerFiscalCalendarQuery, GetLedgerFiscalCalendarQueryVariables>;
2364
+ export declare const GetInformationBlockDocument: DocumentNode<GetInformationBlockQuery, GetInformationBlockQueryVariables>;
2365
+ export declare const ListInformationBlocksDocument: DocumentNode<ListInformationBlocksQuery, ListInformationBlocksQueryVariables>;
2173
2366
  export declare const GetLedgerMappedTrialBalanceDocument: DocumentNode<GetLedgerMappedTrialBalanceQuery, GetLedgerMappedTrialBalanceQueryVariables>;
2174
2367
  export declare const GetLedgerMappingDocument: DocumentNode<GetLedgerMappingQuery, GetLedgerMappingQueryVariables>;
2175
2368
  export declare const GetLedgerMappingCoverageDocument: DocumentNode<GetLedgerMappingCoverageQuery, GetLedgerMappingCoverageQueryVariables>;
@@ -2181,8 +2374,6 @@ export declare const ListLedgerPublishListsDocument: DocumentNode<ListLedgerPubl
2181
2374
  export declare const GetLedgerReportDocument: DocumentNode<GetLedgerReportQuery, GetLedgerReportQueryVariables>;
2182
2375
  export declare const GetLedgerReportingTaxonomyDocument: DocumentNode<GetLedgerReportingTaxonomyQuery, GetLedgerReportingTaxonomyQueryVariables>;
2183
2376
  export declare const ListLedgerReportsDocument: DocumentNode<ListLedgerReportsQuery, ListLedgerReportsQueryVariables>;
2184
- export declare const GetLedgerScheduleFactsDocument: DocumentNode<GetLedgerScheduleFactsQuery, GetLedgerScheduleFactsQueryVariables>;
2185
- export declare const ListLedgerSchedulesDocument: DocumentNode<ListLedgerSchedulesQuery, ListLedgerSchedulesQueryVariables>;
2186
2377
  export declare const GetLedgerStatementDocument: DocumentNode<GetLedgerStatementQuery, GetLedgerStatementQueryVariables>;
2187
2378
  export declare const ListLedgerStructuresDocument: DocumentNode<ListLedgerStructuresQuery, ListLedgerStructuresQueryVariables>;
2188
2379
  export declare const GetLedgerSummaryDocument: DocumentNode<GetLedgerSummaryQuery, GetLedgerSummaryQueryVariables>;