@robosystems/client 0.3.12 → 0.3.14

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 (46) hide show
  1. package/artifacts/LedgerClient.d.ts +22 -1
  2. package/artifacts/LedgerClient.js +40 -0
  3. package/artifacts/LedgerClient.ts +67 -0
  4. package/artifacts/graphql/generated/graphql.d.ts +350 -32
  5. package/artifacts/graphql/generated/graphql.js +584 -24
  6. package/artifacts/graphql/generated/graphql.ts +927 -61
  7. package/artifacts/graphql/queries/ledger/accountRollups.js +1 -1
  8. package/artifacts/graphql/queries/ledger/accountRollups.ts +1 -1
  9. package/artifacts/graphql/queries/ledger/accountTree.js +4 -4
  10. package/artifacts/graphql/queries/ledger/accountTree.ts +4 -4
  11. package/artifacts/graphql/queries/ledger/accounts.js +0 -1
  12. package/artifacts/graphql/queries/ledger/accounts.ts +0 -1
  13. package/artifacts/graphql/queries/ledger/elements.js +0 -1
  14. package/artifacts/graphql/queries/ledger/elements.ts +0 -1
  15. package/artifacts/graphql/queries/ledger/informationBlock.js +110 -0
  16. package/artifacts/graphql/queries/ledger/informationBlock.ts +110 -0
  17. package/artifacts/graphql/queries/ledger/mappedTrialBalance.js +1 -1
  18. package/artifacts/graphql/queries/ledger/mappedTrialBalance.ts +1 -1
  19. package/artifacts/graphql/queries/ledger/reportPackage.d.ts +11 -0
  20. package/artifacts/graphql/queries/ledger/reportPackage.js +151 -0
  21. package/artifacts/graphql/queries/ledger/reportPackage.ts +149 -0
  22. package/artifacts/graphql/queries/ledger/statement.js +1 -1
  23. package/artifacts/graphql/queries/ledger/statement.ts +1 -1
  24. package/artifacts/graphql/queries/ledger/trialBalance.js +1 -1
  25. package/artifacts/graphql/queries/ledger/trialBalance.ts +1 -1
  26. package/artifacts/graphql/queries/ledger/unmappedElements.js +1 -1
  27. package/artifacts/graphql/queries/ledger/unmappedElements.ts +1 -1
  28. package/artifacts/graphql/queries/library/arcs.js +3 -3
  29. package/artifacts/graphql/queries/library/arcs.ts +3 -3
  30. package/artifacts/graphql/queries/library/elements.js +3 -3
  31. package/artifacts/graphql/queries/library/elements.ts +3 -3
  32. package/index.ts +2 -2
  33. package/package.json +1 -1
  34. package/sdk/index.d.ts +2 -2
  35. package/sdk/index.js +4 -2
  36. package/sdk/index.ts +2 -2
  37. package/sdk/sdk.gen.d.ts +17 -1
  38. package/sdk/sdk.gen.js +36 -2
  39. package/sdk/sdk.gen.ts +35 -1
  40. package/sdk/types.gen.d.ts +199 -11
  41. package/sdk/types.gen.ts +211 -11
  42. package/sdk.gen.d.ts +17 -1
  43. package/sdk.gen.js +36 -2
  44. package/sdk.gen.ts +35 -1
  45. package/types.gen.d.ts +199 -11
  46. package/types.gen.ts +211 -11
@@ -58,7 +58,6 @@ export type Scalars = {
58
58
  export type Account = {
59
59
  accountType: Maybe<Scalars['String']['output']>;
60
60
  balanceType: Scalars['String']['output'];
61
- classification: Maybe<Scalars['String']['output']>;
62
61
  code: Maybe<Scalars['String']['output']>;
63
62
  currency: Scalars['String']['output'];
64
63
  depth: Scalars['Int']['output'];
@@ -71,6 +70,7 @@ export type Account = {
71
70
  name: Scalars['String']['output'];
72
71
  parentId: Maybe<Scalars['String']['output']>;
73
72
  subClassification: Maybe<Scalars['String']['output']>;
73
+ trait: Maybe<Scalars['String']['output']>;
74
74
  };
75
75
  export type AccountList = {
76
76
  accounts: Array<Account>;
@@ -79,11 +79,11 @@ export type AccountList = {
79
79
  export type AccountRollupGroup = {
80
80
  accounts: Array<AccountRollupRow>;
81
81
  balanceType: Scalars['String']['output'];
82
- classification: Scalars['String']['output'];
83
82
  reportingElementId: Scalars['String']['output'];
84
83
  reportingName: Scalars['String']['output'];
85
84
  reportingQname: Scalars['String']['output'];
86
85
  total: Scalars['Float']['output'];
86
+ trait: Scalars['String']['output'];
87
87
  };
88
88
  export type AccountRollupRow = {
89
89
  accountCode: Maybe<Scalars['String']['output']>;
@@ -108,12 +108,12 @@ export type AccountTreeNode = {
108
108
  accountType: Maybe<Scalars['String']['output']>;
109
109
  balanceType: Scalars['String']['output'];
110
110
  children: Array<AccountTreeNode>;
111
- classification: Maybe<Scalars['String']['output']>;
112
111
  code: Maybe<Scalars['String']['output']>;
113
112
  depth: Scalars['Int']['output'];
114
113
  id: Scalars['ID']['output'];
115
114
  isActive: Scalars['Boolean']['output'];
116
115
  name: Scalars['String']['output'];
116
+ trait: Maybe<Scalars['String']['output']>;
117
117
  };
118
118
  export type Agent = {
119
119
  address: Maybe<Scalars['JSON']['output']>;
@@ -206,7 +206,6 @@ export type DraftLineItem = {
206
206
  };
207
207
  export type Element = {
208
208
  balanceType: Scalars['String']['output'];
209
- classification: Maybe<Scalars['String']['output']>;
210
209
  code: Maybe<Scalars['String']['output']>;
211
210
  depth: Scalars['Int']['output'];
212
211
  description: Maybe<Scalars['String']['output']>;
@@ -224,18 +223,19 @@ export type Element = {
224
223
  source: Scalars['String']['output'];
225
224
  subClassification: Maybe<Scalars['String']['output']>;
226
225
  taxonomyId: Maybe<Scalars['String']['output']>;
226
+ trait: Maybe<Scalars['String']['output']>;
227
227
  };
228
228
  export type ElementList = {
229
229
  elements: Array<Element>;
230
230
  pagination: PaginationInfo;
231
231
  };
232
232
  export type FactRow = {
233
- classification: Maybe<Scalars['String']['output']>;
234
233
  depth: Scalars['Int']['output'];
235
234
  elementId: Scalars['String']['output'];
236
235
  elementName: Scalars['String']['output'];
237
236
  elementQname: Scalars['String']['output'];
238
237
  isSubtotal: Scalars['Boolean']['output'];
238
+ trait: Maybe<Scalars['String']['output']>;
239
239
  values: Array<Maybe<Scalars['Float']['output']>>;
240
240
  };
241
241
  export type FiscalCalendar = {
@@ -309,9 +309,10 @@ export type InformationBlock = {
309
309
  taxonomyId: Maybe<Scalars['String']['output']>;
310
310
  taxonomyName: Maybe<Scalars['String']['output']>;
311
311
  verificationResults: Array<InformationBlockVerificationResult>;
312
+ view: InformationBlockViewProjections;
312
313
  };
313
314
  export type InformationBlockClassification = {
314
- /** 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. */
315
+ /** One of the 3 association-level categories in the `public.classifications` CHECK constraint: 'concept_arrangement', 'member_arrangement', or 'named_disclosure'. */
315
316
  category: Scalars['String']['output'];
316
317
  /** AI/adapter-supplied confidence (0.0-1.0). Null for deterministic library-seeded rows. */
317
318
  confidence: Maybe<Scalars['Float']['output']>;
@@ -328,7 +329,7 @@ export type InformationBlockConnection = {
328
329
  arcrole: Maybe<Scalars['String']['output']>;
329
330
  /** presentation | calculation | mapping | equivalence | general-special | essence-alias */
330
331
  associationType: Scalars['String']['output'];
331
- /** 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. */
332
+ /** Association-level classifications — concept_arrangement, member_arrangement, named_disclosure rows from the junction. Empty for library-seeded associations that haven't been classified yet. */
332
333
  classifications: Array<InformationBlockClassification>;
333
334
  fromElementId: Scalars['String']['output'];
334
335
  id: Scalars['String']['output'];
@@ -371,6 +372,28 @@ export type InformationBlockFactSet = {
371
372
  reportId: Maybe<Scalars['String']['output']>;
372
373
  structureId: Maybe<Scalars['String']['output']>;
373
374
  };
375
+ export type InformationBlockRendering = {
376
+ periods: Array<InformationBlockRenderingPeriod>;
377
+ rows: Array<InformationBlockRenderingRow>;
378
+ unmappedCount: Scalars['Int']['output'];
379
+ validation: Maybe<InformationBlockValidation>;
380
+ };
381
+ export type InformationBlockRenderingPeriod = {
382
+ end: Scalars['Date']['output'];
383
+ label: Maybe<Scalars['String']['output']>;
384
+ start: Scalars['Date']['output'];
385
+ };
386
+ export type InformationBlockRenderingRow = {
387
+ balanceType: Maybe<Scalars['String']['output']>;
388
+ /** FASB elementsOfFinancialStatements trait identifier — 'asset', 'liability', 'equity', 'revenue', 'expense'. Surfaced so the viewer can color-code or group rows without a follow-up trait lookup. */
389
+ classification: Maybe<Scalars['String']['output']>;
390
+ depth: Scalars['Int']['output'];
391
+ elementId: Scalars['String']['output'];
392
+ elementName: Scalars['String']['output'];
393
+ elementQname: Maybe<Scalars['String']['output']>;
394
+ isSubtotal: Scalars['Boolean']['output'];
395
+ values: Array<Maybe<Scalars['Float']['output']>>;
396
+ };
374
397
  export type InformationBlockRule = {
375
398
  id: Scalars['String']['output'];
376
399
  /** One of 8 cm:VerificationRule subclasses — AutomatedAccountingAndReportingChecks, FundamentalAccountingConceptRelation, PeerConsistencyRule, PriorPeriodConsistencyRule, ReportLevelModelStructureRule, ReportingSystemSpecificRule, ToDoManualTask, XBRLTechnicalSyntaxRule. */
@@ -398,6 +421,12 @@ export type InformationBlockRuleVariable = {
398
421
  /** Concept qname the variable resolves to, e.g. 'fac:Assets'. */
399
422
  variableQname: Scalars['String']['output'];
400
423
  };
424
+ export type InformationBlockValidation = {
425
+ checks: Array<Scalars['String']['output']>;
426
+ failures: Array<Scalars['String']['output']>;
427
+ passed: Scalars['Boolean']['output'];
428
+ warnings: Array<Scalars['String']['output']>;
429
+ };
401
430
  export type InformationBlockVerificationResult = {
402
431
  evaluatedAt: Maybe<Scalars['DateTime']['output']>;
403
432
  factSetId: Maybe<Scalars['String']['output']>;
@@ -410,6 +439,9 @@ export type InformationBlockVerificationResult = {
410
439
  status: Scalars['String']['output'];
411
440
  structureId: Maybe<Scalars['String']['output']>;
412
441
  };
442
+ export type InformationBlockViewProjections = {
443
+ rendering: Maybe<InformationBlockRendering>;
444
+ };
413
445
  export type InformationModel = {
414
446
  /** roll_up | roll_forward | variance | adjustment | set | arithmetic | textblock. Null for block types where the concept arrangement is implicit in their mechanics. */
415
447
  conceptArrangement: Maybe<Scalars['String']['output']>;
@@ -537,8 +569,6 @@ export type LibraryAssociation = {
537
569
  export type LibraryElement = {
538
570
  /** debit | credit */
539
571
  balanceType: Scalars['String']['output'];
540
- /** 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. */
541
- classification: Maybe<Scalars['String']['output']>;
542
572
  /** concept | abstract | axis | member | hypercube */
543
573
  elementType: Scalars['String']['output'];
544
574
  id: Scalars['String']['output'];
@@ -556,6 +586,8 @@ export type LibraryElement = {
556
586
  /** fac | us-gaap | rs-gaap | … */
557
587
  source: Scalars['String']['output'];
558
588
  taxonomyId: Maybe<Scalars['String']['output']>;
589
+ /** 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. */
590
+ trait: Maybe<Scalars['String']['output']>;
559
591
  };
560
592
  export type LibraryElementArc = {
561
593
  arcrole: Maybe<Scalars['String']['output']>;
@@ -571,11 +603,11 @@ export type LibraryElementArc = {
571
603
  taxonomyStandard: Maybe<Scalars['String']['output']>;
572
604
  };
573
605
  export type LibraryElementClassification = {
574
- /** Classification axis (e.g. elementsOfFinancialStatements) */
606
+ /** Trait axis (e.g. elementsOfFinancialStatements) */
575
607
  category: Scalars['String']['output'];
576
608
  /** Value within the axis (e.g. expense) */
577
609
  identifier: Scalars['String']['output'];
578
- /** True for the element's primary EFS classification */
610
+ /** True for the element's primary EFS trait assignment */
579
611
  isPrimary: Scalars['Boolean']['output'];
580
612
  /** Human-readable name */
581
613
  name: Maybe<Scalars['String']['output']>;
@@ -636,13 +668,13 @@ export type MappedTrialBalance = {
636
668
  };
637
669
  export type MappedTrialBalanceRow = {
638
670
  balanceType: Maybe<Scalars['String']['output']>;
639
- classification: Maybe<Scalars['String']['output']>;
640
671
  netBalance: Scalars['Float']['output'];
641
672
  qname: Scalars['String']['output'];
642
673
  reportingElementId: Scalars['String']['output'];
643
674
  reportingName: Scalars['String']['output'];
644
675
  totalCredits: Scalars['Float']['output'];
645
676
  totalDebits: Scalars['Float']['output'];
677
+ trait: Maybe<Scalars['String']['output']>;
646
678
  };
647
679
  export type MappingCoverage = {
648
680
  coveragePercent: Scalars['Float']['output'];
@@ -819,6 +851,7 @@ export type Query = {
819
851
  publishList: Maybe<PublishListDetail>;
820
852
  publishLists: Maybe<PublishListList>;
821
853
  report: Maybe<Report>;
854
+ reportPackage: Maybe<ReportPackage>;
822
855
  reportingTaxonomy: Maybe<Taxonomy>;
823
856
  reports: Maybe<ReportList>;
824
857
  searchLibraryElements: Array<LibraryElement>;
@@ -980,6 +1013,9 @@ export type QueryPublishListsArgs = {
980
1013
  export type QueryReportArgs = {
981
1014
  reportId: Scalars['String']['input'];
982
1015
  };
1016
+ export type QueryReportPackageArgs = {
1017
+ reportId: Scalars['String']['input'];
1018
+ };
983
1019
  export type QuerySearchLibraryElementsArgs = {
984
1020
  limit?: Scalars['Int']['input'];
985
1021
  query: Scalars['String']['input'];
@@ -1038,6 +1074,9 @@ export type Report = {
1038
1074
  comparative: Scalars['Boolean']['output'];
1039
1075
  createdAt: Scalars['DateTime']['output'];
1040
1076
  entityName: Maybe<Scalars['String']['output']>;
1077
+ filedAt: Maybe<Scalars['DateTime']['output']>;
1078
+ filedBy: Maybe<Scalars['String']['output']>;
1079
+ filingStatus: Scalars['String']['output'];
1041
1080
  generationStatus: Scalars['String']['output'];
1042
1081
  id: Scalars['String']['output'];
1043
1082
  lastGenerated: Maybe<Scalars['DateTime']['output']>;
@@ -1052,11 +1091,43 @@ export type Report = {
1052
1091
  sourceGraphId: Maybe<Scalars['String']['output']>;
1053
1092
  sourceReportId: Maybe<Scalars['String']['output']>;
1054
1093
  structures: Array<StructureSummary>;
1094
+ supersededById: Maybe<Scalars['String']['output']>;
1095
+ supersedesId: Maybe<Scalars['String']['output']>;
1055
1096
  taxonomyId: Scalars['String']['output'];
1056
1097
  };
1057
1098
  export type ReportList = {
1058
1099
  reports: Array<Report>;
1059
1100
  };
1101
+ export type ReportPackage = {
1102
+ aiGenerated: Scalars['Boolean']['output'];
1103
+ createdAt: Scalars['String']['output'];
1104
+ createdBy: Scalars['String']['output'];
1105
+ description: Maybe<Scalars['String']['output']>;
1106
+ entityName: Maybe<Scalars['String']['output']>;
1107
+ filedAt: Maybe<Scalars['String']['output']>;
1108
+ filedBy: Maybe<Scalars['String']['output']>;
1109
+ filingStatus: Scalars['String']['output'];
1110
+ generationStatus: Scalars['String']['output'];
1111
+ id: Scalars['ID']['output'];
1112
+ items: Array<ReportPackageItem>;
1113
+ lastGenerated: Maybe<Scalars['String']['output']>;
1114
+ name: Scalars['String']['output'];
1115
+ periodEnd: Maybe<Scalars['String']['output']>;
1116
+ periodStart: Maybe<Scalars['String']['output']>;
1117
+ periodType: Scalars['String']['output'];
1118
+ sharedAt: Maybe<Scalars['String']['output']>;
1119
+ sourceGraphId: Maybe<Scalars['String']['output']>;
1120
+ sourceReportId: Maybe<Scalars['String']['output']>;
1121
+ supersededById: Maybe<Scalars['String']['output']>;
1122
+ supersedesId: Maybe<Scalars['String']['output']>;
1123
+ taxonomyId: Scalars['String']['output'];
1124
+ };
1125
+ export type ReportPackageItem = {
1126
+ block: InformationBlock;
1127
+ displayOrder: Scalars['Int']['output'];
1128
+ factSetId: Scalars['String']['output'];
1129
+ structureId: Maybe<Scalars['String']['output']>;
1130
+ };
1060
1131
  export type Security = {
1061
1132
  authorizedShares: Maybe<Scalars['Int']['output']>;
1062
1133
  createdAt: Scalars['DateTime']['output'];
@@ -1155,7 +1226,6 @@ export type TaxonomyBlockAssociation = {
1155
1226
  };
1156
1227
  export type TaxonomyBlockElement = {
1157
1228
  balanceType: Maybe<Scalars['String']['output']>;
1158
- classification: Maybe<Scalars['String']['output']>;
1159
1229
  depth: Maybe<Scalars['Int']['output']>;
1160
1230
  elementType: Scalars['String']['output'];
1161
1231
  id: Scalars['String']['output'];
@@ -1165,6 +1235,7 @@ export type TaxonomyBlockElement = {
1165
1235
  parentQname: Maybe<Scalars['String']['output']>;
1166
1236
  periodType: Maybe<Scalars['String']['output']>;
1167
1237
  qname: Maybe<Scalars['String']['output']>;
1238
+ trait: Maybe<Scalars['String']['output']>;
1168
1239
  };
1169
1240
  export type TaxonomyBlockRule = {
1170
1241
  id: Scalars['String']['output'];
@@ -1197,19 +1268,19 @@ export type TrialBalanceRow = {
1197
1268
  accountId: Scalars['String']['output'];
1198
1269
  accountName: Scalars['String']['output'];
1199
1270
  accountType: Maybe<Scalars['String']['output']>;
1200
- classification: Maybe<Scalars['String']['output']>;
1201
1271
  netBalance: Scalars['Float']['output'];
1202
1272
  totalCredits: Scalars['Float']['output'];
1203
1273
  totalDebits: Scalars['Float']['output'];
1274
+ trait: Maybe<Scalars['String']['output']>;
1204
1275
  };
1205
1276
  export type UnmappedElement = {
1206
1277
  balanceType: Scalars['String']['output'];
1207
- classification: Maybe<Scalars['String']['output']>;
1208
1278
  code: Maybe<Scalars['String']['output']>;
1209
1279
  externalSource: Maybe<Scalars['String']['output']>;
1210
1280
  id: Scalars['String']['output'];
1211
1281
  name: Scalars['String']['output'];
1212
1282
  suggestedTargets: Array<SuggestedTarget>;
1283
+ trait: Maybe<Scalars['String']['output']>;
1213
1284
  };
1214
1285
  export type ValidationCheck = {
1215
1286
  checks: Array<Scalars['String']['output']>;
@@ -1415,7 +1486,7 @@ export type GetLedgerAccountRollupsQuery = {
1415
1486
  reportingElementId: string;
1416
1487
  reportingName: string;
1417
1488
  reportingQname: string;
1418
- classification: string;
1489
+ trait: string;
1419
1490
  balanceType: string;
1420
1491
  total: number;
1421
1492
  accounts: Array<{
@@ -1439,7 +1510,7 @@ export type GetLedgerAccountTreeQuery = {
1439
1510
  id: string;
1440
1511
  code: string | null;
1441
1512
  name: string;
1442
- classification: string | null;
1513
+ trait: string | null;
1443
1514
  accountType: string | null;
1444
1515
  balanceType: string;
1445
1516
  depth: number;
@@ -1448,7 +1519,7 @@ export type GetLedgerAccountTreeQuery = {
1448
1519
  id: string;
1449
1520
  code: string | null;
1450
1521
  name: string;
1451
- classification: string | null;
1522
+ trait: string | null;
1452
1523
  accountType: string | null;
1453
1524
  balanceType: string;
1454
1525
  depth: number;
@@ -1457,7 +1528,7 @@ export type GetLedgerAccountTreeQuery = {
1457
1528
  id: string;
1458
1529
  code: string | null;
1459
1530
  name: string;
1460
- classification: string | null;
1531
+ trait: string | null;
1461
1532
  accountType: string | null;
1462
1533
  balanceType: string;
1463
1534
  depth: number;
@@ -1466,7 +1537,7 @@ export type GetLedgerAccountTreeQuery = {
1466
1537
  id: string;
1467
1538
  code: string | null;
1468
1539
  name: string;
1469
- classification: string | null;
1540
+ trait: string | null;
1470
1541
  accountType: string | null;
1471
1542
  balanceType: string;
1472
1543
  depth: number;
@@ -1490,7 +1561,6 @@ export type ListLedgerAccountsQuery = {
1490
1561
  code: string | null;
1491
1562
  name: string;
1492
1563
  description: string | null;
1493
- classification: string | null;
1494
1564
  subClassification: string | null;
1495
1565
  balanceType: string;
1496
1566
  parentId: string | null;
@@ -1546,7 +1616,6 @@ export type ListLedgerElementsQuery = {
1546
1616
  description: string | null;
1547
1617
  qname: string | null;
1548
1618
  namespace: string | null;
1549
- classification: string | null;
1550
1619
  subClassification: string | null;
1551
1620
  balanceType: string;
1552
1621
  periodType: string;
@@ -1707,6 +1776,61 @@ export type GetInformationBlockQuery = {
1707
1776
  factScope: string;
1708
1777
  factSetId: string | null;
1709
1778
  }>;
1779
+ rules: Array<{
1780
+ id: string;
1781
+ ruleCategory: string;
1782
+ rulePattern: string;
1783
+ ruleExpression: string;
1784
+ ruleMessage: string | null;
1785
+ ruleSeverity: string;
1786
+ ruleOrigin: string;
1787
+ }>;
1788
+ factSet: {
1789
+ id: string;
1790
+ structureId: string | null;
1791
+ periodStart: any | null;
1792
+ periodEnd: any;
1793
+ factsetType: string;
1794
+ entityId: string;
1795
+ reportId: string | null;
1796
+ } | null;
1797
+ verificationResults: Array<{
1798
+ id: string;
1799
+ ruleId: string;
1800
+ structureId: string | null;
1801
+ factSetId: string | null;
1802
+ status: string;
1803
+ message: string | null;
1804
+ periodStart: any | null;
1805
+ periodEnd: any | null;
1806
+ evaluatedAt: any | null;
1807
+ }>;
1808
+ view: {
1809
+ rendering: {
1810
+ unmappedCount: number;
1811
+ rows: Array<{
1812
+ elementId: string;
1813
+ elementQname: string | null;
1814
+ elementName: string;
1815
+ classification: string | null;
1816
+ balanceType: string | null;
1817
+ values: Array<number | null>;
1818
+ isSubtotal: boolean;
1819
+ depth: number;
1820
+ }>;
1821
+ periods: Array<{
1822
+ start: any;
1823
+ end: any;
1824
+ label: string | null;
1825
+ }>;
1826
+ validation: {
1827
+ passed: boolean;
1828
+ checks: Array<string>;
1829
+ failures: Array<string>;
1830
+ warnings: Array<string>;
1831
+ } | null;
1832
+ } | null;
1833
+ };
1710
1834
  } | null;
1711
1835
  };
1712
1836
  export type ListInformationBlocksQueryVariables = Exact<{
@@ -1765,6 +1889,61 @@ export type ListInformationBlocksQuery = {
1765
1889
  factScope: string;
1766
1890
  factSetId: string | null;
1767
1891
  }>;
1892
+ rules: Array<{
1893
+ id: string;
1894
+ ruleCategory: string;
1895
+ rulePattern: string;
1896
+ ruleExpression: string;
1897
+ ruleMessage: string | null;
1898
+ ruleSeverity: string;
1899
+ ruleOrigin: string;
1900
+ }>;
1901
+ factSet: {
1902
+ id: string;
1903
+ structureId: string | null;
1904
+ periodStart: any | null;
1905
+ periodEnd: any;
1906
+ factsetType: string;
1907
+ entityId: string;
1908
+ reportId: string | null;
1909
+ } | null;
1910
+ verificationResults: Array<{
1911
+ id: string;
1912
+ ruleId: string;
1913
+ structureId: string | null;
1914
+ factSetId: string | null;
1915
+ status: string;
1916
+ message: string | null;
1917
+ periodStart: any | null;
1918
+ periodEnd: any | null;
1919
+ evaluatedAt: any | null;
1920
+ }>;
1921
+ view: {
1922
+ rendering: {
1923
+ unmappedCount: number;
1924
+ rows: Array<{
1925
+ elementId: string;
1926
+ elementQname: string | null;
1927
+ elementName: string;
1928
+ classification: string | null;
1929
+ balanceType: string | null;
1930
+ values: Array<number | null>;
1931
+ isSubtotal: boolean;
1932
+ depth: number;
1933
+ }>;
1934
+ periods: Array<{
1935
+ start: any;
1936
+ end: any;
1937
+ label: string | null;
1938
+ }>;
1939
+ validation: {
1940
+ passed: boolean;
1941
+ checks: Array<string>;
1942
+ failures: Array<string>;
1943
+ warnings: Array<string>;
1944
+ } | null;
1945
+ } | null;
1946
+ };
1768
1947
  }>;
1769
1948
  };
1770
1949
  export type GetLedgerMappedTrialBalanceQueryVariables = Exact<{
@@ -1779,7 +1958,7 @@ export type GetLedgerMappedTrialBalanceQuery = {
1779
1958
  reportingElementId: string;
1780
1959
  qname: string;
1781
1960
  reportingName: string;
1782
- classification: string | null;
1961
+ trait: string | null;
1783
1962
  balanceType: string | null;
1784
1963
  totalDebits: number;
1785
1964
  totalCredits: number;
@@ -1980,6 +2159,144 @@ export type GetLedgerReportQuery = {
1980
2159
  }>;
1981
2160
  } | null;
1982
2161
  };
2162
+ export type GetLedgerReportPackageQueryVariables = Exact<{
2163
+ reportId: Scalars['String']['input'];
2164
+ }>;
2165
+ export type GetLedgerReportPackageQuery = {
2166
+ reportPackage: {
2167
+ id: string;
2168
+ name: string;
2169
+ description: string | null;
2170
+ taxonomyId: string;
2171
+ periodType: string;
2172
+ periodStart: string | null;
2173
+ periodEnd: string | null;
2174
+ generationStatus: string;
2175
+ lastGenerated: string | null;
2176
+ filingStatus: string;
2177
+ filedAt: string | null;
2178
+ filedBy: string | null;
2179
+ supersedesId: string | null;
2180
+ supersededById: string | null;
2181
+ sourceGraphId: string | null;
2182
+ sourceReportId: string | null;
2183
+ sharedAt: string | null;
2184
+ entityName: string | null;
2185
+ aiGenerated: boolean;
2186
+ createdAt: string;
2187
+ createdBy: string;
2188
+ items: Array<{
2189
+ factSetId: string;
2190
+ structureId: string | null;
2191
+ displayOrder: number;
2192
+ block: {
2193
+ id: string;
2194
+ blockType: string;
2195
+ name: string;
2196
+ displayName: string;
2197
+ category: string;
2198
+ taxonomyId: string | null;
2199
+ taxonomyName: string | null;
2200
+ informationModel: {
2201
+ conceptArrangement: string | null;
2202
+ memberArrangement: string | null;
2203
+ };
2204
+ artifact: {
2205
+ topic: string | null;
2206
+ parentheticalNote: string | null;
2207
+ template: any | null;
2208
+ mechanics: any;
2209
+ };
2210
+ elements: Array<{
2211
+ id: string;
2212
+ qname: string | null;
2213
+ name: string;
2214
+ code: string | null;
2215
+ elementType: string;
2216
+ isAbstract: boolean;
2217
+ isMonetary: boolean;
2218
+ balanceType: string | null;
2219
+ periodType: string | null;
2220
+ }>;
2221
+ connections: Array<{
2222
+ id: string;
2223
+ fromElementId: string;
2224
+ toElementId: string;
2225
+ associationType: string;
2226
+ arcrole: string | null;
2227
+ orderValue: number | null;
2228
+ weight: number | null;
2229
+ }>;
2230
+ facts: Array<{
2231
+ id: string;
2232
+ elementId: string;
2233
+ value: number;
2234
+ periodStart: any | null;
2235
+ periodEnd: any;
2236
+ periodType: string;
2237
+ unit: string;
2238
+ factScope: string;
2239
+ factSetId: string | null;
2240
+ }>;
2241
+ rules: Array<{
2242
+ id: string;
2243
+ ruleCategory: string;
2244
+ rulePattern: string;
2245
+ ruleExpression: string;
2246
+ ruleMessage: string | null;
2247
+ ruleSeverity: string;
2248
+ ruleOrigin: string;
2249
+ }>;
2250
+ factSet: {
2251
+ id: string;
2252
+ structureId: string | null;
2253
+ periodStart: any | null;
2254
+ periodEnd: any;
2255
+ factsetType: string;
2256
+ entityId: string;
2257
+ reportId: string | null;
2258
+ } | null;
2259
+ verificationResults: Array<{
2260
+ id: string;
2261
+ ruleId: string;
2262
+ structureId: string | null;
2263
+ factSetId: string | null;
2264
+ status: string;
2265
+ message: string | null;
2266
+ periodStart: any | null;
2267
+ periodEnd: any | null;
2268
+ evaluatedAt: any | null;
2269
+ }>;
2270
+ view: {
2271
+ rendering: {
2272
+ unmappedCount: number;
2273
+ rows: Array<{
2274
+ elementId: string;
2275
+ elementQname: string | null;
2276
+ elementName: string;
2277
+ classification: string | null;
2278
+ balanceType: string | null;
2279
+ values: Array<number | null>;
2280
+ isSubtotal: boolean;
2281
+ depth: number;
2282
+ }>;
2283
+ periods: Array<{
2284
+ start: any;
2285
+ end: any;
2286
+ label: string | null;
2287
+ }>;
2288
+ validation: {
2289
+ passed: boolean;
2290
+ checks: Array<string>;
2291
+ failures: Array<string>;
2292
+ warnings: Array<string>;
2293
+ } | null;
2294
+ } | null;
2295
+ };
2296
+ };
2297
+ }>;
2298
+ } | null;
2299
+ };
1983
2300
  export type GetLedgerReportingTaxonomyQueryVariables = Exact<{
1984
2301
  [key: string]: never;
1985
2302
  }>;
@@ -2054,7 +2371,7 @@ export type GetLedgerStatementQuery = {
2054
2371
  elementId: string;
2055
2372
  elementQname: string;
2056
2373
  elementName: string;
2057
- classification: string | null;
2374
+ trait: string | null;
2058
2375
  values: Array<number | null>;
2059
2376
  isSubtotal: boolean;
2060
2377
  depth: number;
@@ -2205,7 +2522,7 @@ export type GetLedgerTrialBalanceQuery = {
2205
2522
  accountId: string;
2206
2523
  accountCode: string;
2207
2524
  accountName: string;
2208
- classification: string | null;
2525
+ trait: string | null;
2209
2526
  accountType: string | null;
2210
2527
  totalDebits: number;
2211
2528
  totalCredits: number;
@@ -2221,7 +2538,7 @@ export type ListLedgerUnmappedElementsQuery = {
2221
2538
  id: string;
2222
2539
  code: string | null;
2223
2540
  name: string;
2224
- classification: string | null;
2541
+ trait: string | null;
2225
2542
  balanceType: string;
2226
2543
  externalSource: string | null;
2227
2544
  suggestedTargets: Array<{
@@ -2274,7 +2591,7 @@ export type GetLibraryElementArcsQuery = {
2274
2591
  id: string;
2275
2592
  qname: string;
2276
2593
  name: string;
2277
- classification: string | null;
2594
+ trait: string | null;
2278
2595
  source: string;
2279
2596
  };
2280
2597
  }>;
@@ -2299,14 +2616,14 @@ export type GetLibraryElementEquivalentsQuery = {
2299
2616
  id: string;
2300
2617
  qname: string;
2301
2618
  name: string;
2302
- classification: string | null;
2619
+ trait: string | null;
2303
2620
  source: string;
2304
2621
  };
2305
2622
  equivalents: Array<{
2306
2623
  id: string;
2307
2624
  qname: string;
2308
2625
  name: string;
2309
- classification: string | null;
2626
+ trait: string | null;
2310
2627
  source: string;
2311
2628
  }>;
2312
2629
  } | null;
@@ -2329,7 +2646,7 @@ export type ListLibraryElementsQuery = {
2329
2646
  qname: string;
2330
2647
  namespace: string | null;
2331
2648
  name: string;
2332
- classification: string | null;
2649
+ trait: string | null;
2333
2650
  balanceType: string;
2334
2651
  periodType: string;
2335
2652
  isAbstract: boolean;
@@ -2361,7 +2678,7 @@ export type SearchLibraryElementsQuery = {
2361
2678
  qname: string;
2362
2679
  namespace: string | null;
2363
2680
  name: string;
2364
- classification: string | null;
2681
+ trait: string | null;
2365
2682
  balanceType: string;
2366
2683
  periodType: string;
2367
2684
  isAbstract: boolean;
@@ -2392,7 +2709,7 @@ export type GetLibraryElementQuery = {
2392
2709
  qname: string;
2393
2710
  namespace: string | null;
2394
2711
  name: string;
2395
- classification: string | null;
2712
+ trait: string | null;
2396
2713
  balanceType: string;
2397
2714
  periodType: string;
2398
2715
  isAbstract: boolean;
@@ -2479,6 +2796,7 @@ export declare const GetLedgerPeriodDraftsDocument: DocumentNode<GetLedgerPeriod
2479
2796
  export declare const GetLedgerPublishListDocument: DocumentNode<GetLedgerPublishListQuery, GetLedgerPublishListQueryVariables>;
2480
2797
  export declare const ListLedgerPublishListsDocument: DocumentNode<ListLedgerPublishListsQuery, ListLedgerPublishListsQueryVariables>;
2481
2798
  export declare const GetLedgerReportDocument: DocumentNode<GetLedgerReportQuery, GetLedgerReportQueryVariables>;
2799
+ export declare const GetLedgerReportPackageDocument: DocumentNode<GetLedgerReportPackageQuery, GetLedgerReportPackageQueryVariables>;
2482
2800
  export declare const GetLedgerReportingTaxonomyDocument: DocumentNode<GetLedgerReportingTaxonomyQuery, GetLedgerReportingTaxonomyQueryVariables>;
2483
2801
  export declare const ListLedgerReportsDocument: DocumentNode<ListLedgerReportsQuery, ListLedgerReportsQueryVariables>;
2484
2802
  export declare const GetLedgerStatementDocument: DocumentNode<GetLedgerStatementQuery, GetLedgerStatementQueryVariables>;