@robosystems/client 1.13.2 → 1.14.0

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 (51) hide show
  1. package/artifacts/LedgerClient.js +1 -1
  2. package/artifacts/LedgerClient.ts +2 -1
  3. package/artifacts/OperatorClient.js +2 -2
  4. package/artifacts/OperatorClient.ts +3 -2
  5. package/artifacts/QueryClient.js +1 -1
  6. package/artifacts/QueryClient.ts +1 -1
  7. package/artifacts/SSEClient.js +1 -1
  8. package/artifacts/SSEClient.ts +2 -1
  9. package/artifacts/graphql/client.js +1 -1
  10. package/artifacts/graphql/client.ts +2 -1
  11. package/artifacts/graphql/generated/graphql.d.ts +263 -2526
  12. package/artifacts/graphql/generated/graphql.ts +275 -2656
  13. package/client/index.d.ts +2 -0
  14. package/client/index.ts +2 -0
  15. package/client/utils.gen.d.ts +1 -1
  16. package/client/utils.gen.ts +2 -2
  17. package/client.gen.d.ts +2 -2
  18. package/client.gen.ts +2 -2
  19. package/core/auth.gen.d.ts +7 -0
  20. package/core/auth.gen.ts +7 -0
  21. package/core/params.gen.d.ts +2 -2
  22. package/core/params.gen.js +21 -13
  23. package/core/params.gen.ts +21 -12
  24. package/core/pathSerializer.gen.ts +6 -6
  25. package/core/queryKeySerializer.gen.d.ts +1 -1
  26. package/core/queryKeySerializer.gen.ts +1 -1
  27. package/core/types.gen.d.ts +5 -0
  28. package/core/types.gen.ts +6 -0
  29. package/core/utils.gen.ts +4 -4
  30. package/package.json +11 -8
  31. package/sdk/client/index.d.ts +2 -0
  32. package/sdk/client/index.ts +2 -0
  33. package/sdk/client/utils.gen.d.ts +1 -1
  34. package/sdk/client/utils.gen.ts +2 -2
  35. package/sdk/client.gen.d.ts +2 -2
  36. package/sdk/client.gen.ts +2 -2
  37. package/sdk/core/auth.gen.d.ts +7 -0
  38. package/sdk/core/auth.gen.ts +7 -0
  39. package/sdk/core/params.gen.d.ts +2 -2
  40. package/sdk/core/params.gen.js +21 -13
  41. package/sdk/core/params.gen.ts +21 -12
  42. package/sdk/core/pathSerializer.gen.ts +6 -6
  43. package/sdk/core/queryKeySerializer.gen.d.ts +1 -1
  44. package/sdk/core/queryKeySerializer.gen.ts +1 -1
  45. package/sdk/core/types.gen.d.ts +5 -0
  46. package/sdk/core/types.gen.ts +6 -0
  47. package/sdk/core/utils.gen.ts +4 -4
  48. package/sdk/sdk.gen.d.ts +199 -199
  49. package/sdk/sdk.gen.ts +199 -199
  50. package/sdk.gen.d.ts +199 -199
  51. package/sdk.gen.ts +199 -199
@@ -1,2281 +1,17 @@
1
- import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
2
- export type Maybe<T> = T | null;
3
- export type InputMaybe<T> = Maybe<T>;
4
- export type Exact<T extends {
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends {
5
3
  [key: string]: unknown;
6
4
  }> = {
7
5
  [K in keyof T]: T[K];
8
6
  };
9
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
10
- [SubKey in K]?: Maybe<T[SubKey]>;
11
- };
12
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
13
- [SubKey in K]: Maybe<T[SubKey]>;
14
- };
15
- export type MakeEmpty<T extends {
16
- [key: string]: unknown;
17
- }, K extends keyof T> = {
18
- [_ in K]?: never;
19
- };
7
+ /** Internal type. DO NOT USE DIRECTLY. */
20
8
  export type Incremental<T> = T | {
21
9
  [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
22
10
  };
23
- /** All built-in and custom scalars, mapped to their actual values */
24
- export type Scalars = {
25
- ID: {
26
- input: string;
27
- output: string;
28
- };
29
- String: {
30
- input: string;
31
- output: string;
32
- };
33
- Boolean: {
34
- input: boolean;
35
- output: boolean;
36
- };
37
- Int: {
38
- input: number;
39
- output: number;
40
- };
41
- Float: {
42
- input: number;
43
- output: number;
44
- };
45
- Date: {
46
- input: any;
47
- output: any;
48
- };
49
- DateTime: {
50
- input: any;
51
- output: any;
52
- };
53
- JSON: {
54
- input: any;
55
- output: any;
56
- };
57
- };
58
- /**
59
- * One CoA account (Element) — the basic chart-of-accounts row.
60
- *
61
- * ``trait`` carries the FASB classification (asset/liability/equity/
62
- * revenue/expense/etc.); ``balance_type`` is the natural side
63
- * ('debit' or 'credit'). ``account_type`` is a free-form sub-grouping
64
- * (e.g. 'cash', 'inventory') used by some integrations. Hierarchy is
65
- * expressed via ``parent_id`` + ``depth``.
66
- */
67
- export type Account = {
68
- accountType: Maybe<Scalars['String']['output']>;
69
- balanceType: Scalars['String']['output'];
70
- code: Maybe<Scalars['String']['output']>;
71
- currency: Scalars['String']['output'];
72
- depth: Scalars['Int']['output'];
73
- description: Maybe<Scalars['String']['output']>;
74
- externalId: Maybe<Scalars['String']['output']>;
75
- externalSource: Maybe<Scalars['String']['output']>;
76
- id: Scalars['String']['output'];
77
- isActive: Scalars['Boolean']['output'];
78
- isPlaceholder: Scalars['Boolean']['output'];
79
- name: Scalars['String']['output'];
80
- parentId: Maybe<Scalars['String']['output']>;
81
- subClassification: Maybe<Scalars['String']['output']>;
82
- trait: Maybe<Scalars['String']['output']>;
83
- };
84
- /**
85
- * Paginated chart-of-accounts listing — flat (use the tree endpoint
86
- * for parent/child structure).
87
- */
88
- export type AccountList = {
89
- accounts: Array<Account>;
90
- pagination: PaginationInfo;
91
- };
92
- /**
93
- * All CoA accounts that roll up into a single reporting concept,
94
- * with the group total and per-account contributions.
95
- */
96
- export type AccountRollupGroup = {
97
- accounts: Array<AccountRollupRow>;
98
- balanceType: Scalars['String']['output'];
99
- reportingElementId: Scalars['String']['output'];
100
- reportingName: Scalars['String']['output'];
101
- reportingQname: Scalars['String']['output'];
102
- total: Scalars['Float']['output'];
103
- trait: Scalars['String']['output'];
104
- };
105
- /** One CoA account contributing to a reporting concept's rollup. */
106
- export type AccountRollupRow = {
107
- accountCode: Maybe<Scalars['String']['output']>;
108
- accountName: Scalars['String']['output'];
109
- elementId: Scalars['String']['output'];
110
- netBalance: Scalars['Float']['output'];
111
- totalCredits: Scalars['Float']['output'];
112
- totalDebits: Scalars['Float']['output'];
113
- };
114
- /**
115
- * Mapping rendered as account rollups — every reporting concept the
116
- * mapping defines, with the CoA accounts that contribute to it and the
117
- * current balance for each. ``total_unmapped`` tracks gaps for UI.
118
- */
119
- export type AccountRollups = {
120
- groups: Array<AccountRollupGroup>;
121
- mappingId: Scalars['String']['output'];
122
- mappingName: Scalars['String']['output'];
123
- totalMapped: Scalars['Int']['output'];
124
- totalUnmapped: Scalars['Int']['output'];
125
- };
126
- export type AccountTree = {
127
- roots: Array<AccountTreeNode>;
128
- totalAccounts: Scalars['Int']['output'];
129
- };
130
- export type AccountTreeNode = {
131
- accountType: Maybe<Scalars['String']['output']>;
132
- balanceType: Scalars['String']['output'];
133
- children: Array<AccountTreeNode>;
134
- code: Maybe<Scalars['String']['output']>;
135
- depth: Scalars['Int']['output'];
136
- id: Scalars['ID']['output'];
137
- isActive: Scalars['Boolean']['output'];
138
- name: Scalars['String']['output'];
139
- trait: Maybe<Scalars['String']['output']>;
140
- };
141
- export type Agent = {
142
- address: Maybe<Scalars['JSON']['output']>;
143
- agentType: Scalars['String']['output'];
144
- createdAt: Maybe<Scalars['DateTime']['output']>;
145
- createdBy: Maybe<Scalars['String']['output']>;
146
- duns: Maybe<Scalars['String']['output']>;
147
- email: Maybe<Scalars['String']['output']>;
148
- externalId: Maybe<Scalars['String']['output']>;
149
- id: Scalars['String']['output'];
150
- is1099Recipient: Scalars['Boolean']['output'];
151
- isActive: Scalars['Boolean']['output'];
152
- legalName: Maybe<Scalars['String']['output']>;
153
- lei: Maybe<Scalars['String']['output']>;
154
- name: Scalars['String']['output'];
155
- openPayable: Maybe<OpenBalanceByAgent>;
156
- openReceivable: Maybe<OpenBalanceByAgent>;
157
- phone: Maybe<Scalars['String']['output']>;
158
- registrationNumber: Maybe<Scalars['String']['output']>;
159
- source: Scalars['String']['output'];
160
- taxId: Maybe<Scalars['String']['output']>;
161
- updatedAt: Maybe<Scalars['DateTime']['output']>;
162
- };
163
- export type Artifact = {
164
- mechanics: Scalars['JSON']['output'];
165
- rendererNote: Maybe<Scalars['String']['output']>;
166
- template: Maybe<Scalars['JSON']['output']>;
167
- topic: Maybe<Scalars['String']['output']>;
168
- };
169
- /**
170
- * One edge between two elements within a structure (parent/child
171
- * presentation, calculation rollup, mapping, equivalence).
172
- *
173
- * ``association_type`` discriminates the edge semantics. Mapping edges
174
- * are the user-facing path (CoA → reporting concept); presentation /
175
- * calculation edges express structure layout and roll-ups.
176
- * ``confidence`` is set on AI-suggested mappings (≥0.90 auto-approved,
177
- * 0.70-0.89 flagged for review).
178
- */
179
- export type Association = {
180
- approvedBy: Maybe<Scalars['String']['output']>;
181
- associationType: Scalars['String']['output'];
182
- confidence: Maybe<Scalars['Float']['output']>;
183
- fromElementId: Scalars['String']['output'];
184
- fromElementName: Maybe<Scalars['String']['output']>;
185
- fromElementQname: Maybe<Scalars['String']['output']>;
186
- id: Scalars['String']['output'];
187
- orderValue: Maybe<Scalars['Float']['output']>;
188
- structureId: Scalars['String']['output'];
189
- suggestedBy: Maybe<Scalars['String']['output']>;
190
- toElementId: Scalars['String']['output'];
191
- toElementName: Maybe<Scalars['String']['output']>;
192
- toElementQname: Maybe<Scalars['String']['output']>;
193
- weight: Maybe<Scalars['Float']['output']>;
194
- };
195
- /** One blocked source graph. */
196
- export type BlockedSourceGraph = {
197
- /** When the block was created. */
198
- blockedAt: Scalars['DateTime']['output'];
199
- /** User ID that created the block. */
200
- blockedBy: Scalars['String']['output'];
201
- /** Block row identifier (ULID). */
202
- id: Scalars['String']['output'];
203
- /** Recipient's own note, if given. */
204
- reason: Maybe<Scalars['String']['output']>;
205
- /** The blocked sender's graph ID. */
206
- sourceGraphId: Scalars['String']['output'];
207
- /** Display name of the blocked graph (if known). */
208
- sourceGraphName: Maybe<Scalars['String']['output']>;
209
- };
210
- /** Paginated list of blocked source graphs. */
211
- export type BlockedSourceGraphList = {
212
- /** Blocked source graphs. */
213
- blockedSourceGraphs: Array<BlockedSourceGraph>;
214
- /** Pagination metadata. */
215
- pagination: PaginationInfo;
216
- };
217
- /**
218
- * What a close actually did, stamped on the period row that close locked.
219
- *
220
- * The close result used to exist only in the HTTP response, so a close
221
- * that SUCCEEDED but whose transport failed left no record and the
222
- * operator reconstructed it from separate state reads. This is that
223
- * record. Written in the same transaction as the period's `status='closed'`
224
- * flip, so a closed period and its receipt can never disagree.
225
- *
226
- * Typed rather than a free dict because it is a contract: the GraphQL
227
- * schema and both SDKs derive from it, and an opaque blob would push the
228
- * shape onto every reader to rediscover.
229
- */
230
- export type CloseReceipt = {
231
- /** 'user' for REST callers, 'agent' for MCP-driven closes */
232
- actorType: Scalars['String']['output'];
233
- closedAt: Scalars['DateTime']['output'];
234
- /** Actor id that ran the close */
235
- closedBy: Scalars['String']['output'];
236
- /** Total entries the close transitioned to posted, across both post paths — the sum of the two fields below */
237
- entriesPosted: Scalars['Int']['output'];
238
- entriesPostedLocally: Scalars['Int']['output'];
239
- entriesPublishedToQb: Scalars['Int']['output'];
240
- evaluatedStructureIds: Array<Scalars['String']['output']>;
241
- /** Period this receipt is for (YYYY-MM) */
242
- period: Scalars['String']['output'];
243
- /** Schedule rule outcomes: pass/fail/error/skipped counts */
244
- ruleSummary: Maybe<Scalars['JSON']['output']>;
245
- /** structure_id -> minted fact_set_id */
246
- stampedStatementSets: Scalars['JSON']['output'];
247
- statementRuleSummary: Maybe<Scalars['JSON']['output']>;
248
- statementStampNote: Maybe<Scalars['String']['output']>;
249
- statementsStamped: Scalars['Boolean']['output'];
250
- targetAutoAdvanced: Scalars['Boolean']['output'];
251
- /** Receipt schema version; 1 is the first shipped shape */
252
- version: Scalars['Int']['output'];
253
- /** Whether this close re-closed a previously closed period */
254
- wasReclose: Scalars['Boolean']['output'];
255
- };
256
- /**
257
- * A grouping of closing-book items shown as a sidebar section
258
- * (e.g. Statements, Account Rollups, Schedules, Period Close).
259
- */
260
- export type ClosingBookCategory = {
261
- items: Array<ClosingBookItem>;
262
- label: Scalars['String']['output'];
263
- };
264
- /**
265
- * One row in the closing book — a navigable artifact for the
266
- * period (statement, schedule, rollup, etc.).
267
- *
268
- * ``item_type`` discriminates: 'statement', 'schedule',
269
- * 'account_rollups', 'period_close', 'trial_balance'. Statement items
270
- * carry ``report_id`` to fetch the rendered facts; schedule items
271
- * carry ``status`` ('complete' | 'draft' | 'pending').
272
- */
273
- export type ClosingBookItem = {
274
- blockType: Maybe<Scalars['String']['output']>;
275
- id: Scalars['String']['output'];
276
- itemType: Scalars['String']['output'];
277
- name: Scalars['String']['output'];
278
- reportId: Maybe<Scalars['String']['output']>;
279
- status: Maybe<Scalars['String']['output']>;
280
- };
281
- /**
282
- * The closing book navigation tree — categories + items the UI
283
- * uses to render the period-close workspace. ``has_data=False`` when
284
- * the graph has no posted entries yet.
285
- */
286
- export type ClosingBookStructures = {
287
- categories: Array<ClosingBookCategory>;
288
- hasData: Scalars['Boolean']['output'];
289
- };
290
- /** A single draft entry with full line item detail for review. */
291
- export type DraftEntry = {
292
- /** True if total_debit == total_credit */
293
- balanced: Scalars['Boolean']['output'];
294
- entryId: Scalars['String']['output'];
295
- lineItems: Array<DraftLineItem>;
296
- memo: Maybe<Scalars['String']['output']>;
297
- postingDate: Scalars['Date']['output'];
298
- /** Where the entry came from (ENTRY_PROVENANCE_VALUES): source_sync, ai_generated, manual_entry, schedule_derived, system_computed, event_handler */
299
- provenance: Maybe<Scalars['String']['output']>;
300
- /** Schedule structure that generated this entry (if any) */
301
- sourceStructureId: Maybe<Scalars['String']['output']>;
302
- /** Human-readable name of the source schedule */
303
- sourceStructureName: Maybe<Scalars['String']['output']>;
304
- /** Sum of credit amounts in cents */
305
- totalCredit: Scalars['Int']['output'];
306
- /** Sum of debit amounts in cents */
307
- totalDebit: Scalars['Int']['output'];
308
- /** Entry type (e.g., 'closing', 'adjusting') */
309
- type: Scalars['String']['output'];
310
- /** True if closing the period will publish this draft to QuickBooks — i.e. the graph has a qb_authoritative/hybrid QB connection AND this is an RL-originated draft (schedule/manual) not already in QB. False means it posts locally only. */
311
- willPublishToQb: Scalars['Boolean']['output'];
312
- };
313
- /** A single line item within a draft entry. */
314
- export type DraftLineItem = {
315
- /** Credit amount in cents */
316
- creditAmount: Scalars['Int']['output'];
317
- /** Debit amount in cents */
318
- debitAmount: Scalars['Int']['output'];
319
- description: Maybe<Scalars['String']['output']>;
320
- elementCode: Maybe<Scalars['String']['output']>;
321
- elementId: Scalars['String']['output'];
322
- elementName: Scalars['String']['output'];
323
- lineItemId: Scalars['String']['output'];
324
- };
325
- /** Element with taxonomy context — extends AccountResponse. */
326
- export type Element = {
327
- balanceType: Scalars['String']['output'];
328
- code: Maybe<Scalars['String']['output']>;
329
- depth: Scalars['Int']['output'];
330
- description: Maybe<Scalars['String']['output']>;
331
- elementType: Scalars['String']['output'];
332
- externalId: Maybe<Scalars['String']['output']>;
333
- externalSource: Maybe<Scalars['String']['output']>;
334
- id: Scalars['String']['output'];
335
- isAbstract: Scalars['Boolean']['output'];
336
- isActive: Scalars['Boolean']['output'];
337
- name: Scalars['String']['output'];
338
- namespace: Maybe<Scalars['String']['output']>;
339
- parentId: Maybe<Scalars['String']['output']>;
340
- periodType: Scalars['String']['output'];
341
- qname: Maybe<Scalars['String']['output']>;
342
- source: Scalars['String']['output'];
343
- subClassification: Maybe<Scalars['String']['output']>;
344
- taxonomyId: Maybe<Scalars['String']['output']>;
345
- trait: Maybe<Scalars['String']['output']>;
346
- };
347
- /** Paginated element listing with taxonomy context. */
348
- export type ElementList = {
349
- elements: Array<Element>;
350
- pagination: PaginationInfo;
351
- };
352
- /**
353
- * Lightweight entity projection for embedding in portfolio-block /
354
- * position envelopes. Carries identity-only fields; full entity data
355
- * lives behind the Master Data entity APIs.
356
- */
357
- export type EntityLite = {
358
- /** Entity ID (`ent_*` ULID). */
359
- id: Scalars['ID']['output'];
360
- /** Display name of the entity. */
361
- name: Scalars['String']['output'];
362
- /** Tenant graph this entity is anchored to, when known. `null` for entities not yet linked to a graph. */
363
- sourceGraphId: Maybe<Scalars['String']['output']>;
364
- };
365
- export type EventBlock = {
366
- agentId: Maybe<Scalars['String']['output']>;
367
- amount: Maybe<Scalars['Int']['output']>;
368
- createdAt: Scalars['DateTime']['output'];
369
- createdBy: Scalars['String']['output'];
370
- currency: Scalars['String']['output'];
371
- description: Maybe<Scalars['String']['output']>;
372
- dimensionIds: Array<Scalars['String']['output']>;
373
- dischargesEventId: Maybe<Scalars['String']['output']>;
374
- effectiveAt: Maybe<Scalars['DateTime']['output']>;
375
- eventCategory: Scalars['String']['output'];
376
- eventClass: Scalars['String']['output'];
377
- eventType: Scalars['String']['output'];
378
- externalId: Maybe<Scalars['String']['output']>;
379
- externalUrl: Maybe<Scalars['String']['output']>;
380
- id: Scalars['String']['output'];
381
- isReconcilingItem: Scalars['Boolean']['output'];
382
- metadata: Scalars['JSON']['output'];
383
- obligatedByEventId: Maybe<Scalars['String']['output']>;
384
- occurredAt: Scalars['DateTime']['output'];
385
- replacedByEventId: Maybe<Scalars['String']['output']>;
386
- replacesEventId: Maybe<Scalars['String']['output']>;
387
- resourceElementId: Maybe<Scalars['String']['output']>;
388
- resourceType: Maybe<Scalars['String']['output']>;
389
- source: Scalars['String']['output'];
390
- status: Scalars['String']['output'];
391
- };
392
- /**
393
- * A single fact row inside a rendered statement.
394
- *
395
- * One row per concept, with one value per period column. Subtotals and
396
- * hierarchy depth come from the structure being projected.
397
- */
398
- export type FactRow = {
399
- /** Indentation depth in the structure hierarchy (0 = root). */
400
- depth: Scalars['Int']['output'];
401
- /** Internal element identifier. */
402
- elementId: Scalars['String']['output'];
403
- /** Human-readable concept label. */
404
- elementName: Scalars['String']['output'];
405
- /** QName of the reporting concept (e.g. 'us-gaap:Revenues'). */
406
- elementQname: Scalars['String']['output'];
407
- /** True when the row should render as a subtotal line. */
408
- isSubtotal: Scalars['Boolean']['output'];
409
- /** Concept trait flag from the structure (e.g. 'total', 'subtotal', 'header'). Drives presentation. */
410
- trait: Maybe<Scalars['String']['output']>;
411
- /** One value per period column, in the same order as `periods`. Null when the concept had no facts in that window. */
412
- values: Array<Maybe<Scalars['Float']['output']>>;
413
- };
414
- /** Current fiscal calendar state for a graph. */
415
- export type FiscalCalendar = {
416
- /** Structured blocker codes when closeable_now is False: 'sequence_violation', 'period_incomplete', 'sync_stale', 'calendar_not_initialized', 'period_already_closed', 'pending_obligations', 'stranded_obligations' */
417
- blockers: Array<Scalars['String']['output']>;
418
- /** Ordered list of periods that a close run would process */
419
- catchUpSequence: Array<Scalars['String']['output']>;
420
- /** Target period the user wants closed through (YYYY-MM) */
421
- closeTarget: Maybe<Scalars['String']['output']>;
422
- /** Whether the next period in the catch-up sequence passes all closeable gates */
423
- closeableNow: Scalars['Boolean']['output'];
424
- /** Latest closed period (YYYY-MM), or null if nothing closed */
425
- closedThrough: Maybe<Scalars['String']['output']>;
426
- /** Earliest period (YYYY-MM) with a pending obligation blocking close. Null when no pending_obligations blocker is active. */
427
- earliestPendingPeriod: Maybe<Scalars['String']['output']>;
428
- fiscalYearStartMonth: Scalars['Int']['output'];
429
- /** Number of periods between closed_through and close_target (inclusive of close_target). 0 means caught up. */
430
- gapPeriods: Scalars['Int']['output'];
431
- graphId: Scalars['String']['output'];
432
- initializedAt: Maybe<Scalars['DateTime']['output']>;
433
- lastCloseAt: Maybe<Scalars['DateTime']['output']>;
434
- /** Most recent QB sync timestamp (if connected) */
435
- lastSyncAt: Maybe<Scalars['DateTime']['output']>;
436
- /** Number of pending schedule_entry_due events blocking close. Non-zero only when `pending_obligations` is in `blockers`. */
437
- pendingObligationCount: Scalars['Int']['output'];
438
- /** Sample of up to 5 pending obligations (schedule_id, schedule_name, period, event_id) ordered by occurred_at. Use `list-event-blocks` with event_type=schedule_entry_due&status=pending for the full set. */
439
- pendingObligationSample: Array<PendingObligationDetail>;
440
- /** Fiscal period rows for this graph */
441
- periods: Array<FiscalPeriodSummary>;
442
- /** Posted events in or before this period whose source payload changed afterwards and that nobody has dispositioned — differences between the books and the source system. Resolve each with resolve-reconciling-item, or close over them knowingly with allow_reconciling_items. */
443
- reconcilingItemCount: Scalars['Int']['output'];
444
- /** Source identifiers (or event ids) of up to 5 unresolved reconciling items, so the blocker names what is holding the close. */
445
- reconcilingItemSample: Array<Scalars['String']['output']>;
446
- /** Matured schedule_entry_due events already at 'classified' with no drafted closing entry for their (schedule, period) — adjusting entries a close would silently omit. Resolve by running promote-obligations with dispatch_handlers=true (which reaches them) or voiding the obligation. */
447
- strandedObligationCount: Scalars['Int']['output'];
448
- /** Sample of up to 5 stranded obligations (schedule_id, schedule_name, period, event_id) ordered by occurred_at. */
449
- strandedObligationSample: Array<PendingObligationDetail>;
450
- /** Days the most recent sync is stale relative to the period to close. Populated only when `sync_stale` is in `blockers` and last_sync_at exists (null when there's a connection but no sync has ever run). */
451
- syncStaleDays: Maybe<Scalars['Int']['output']>;
452
- };
453
- /**
454
- * One fiscal period row — header view used in calendar listings.
455
- *
456
- * Status lifecycle: ``open`` → ``closing`` → ``closed``. ``closing``
457
- * is the transient state during a close run; ``closed_at`` stamps when
458
- * the lock landed.
459
- */
460
- export type FiscalPeriodSummary = {
461
- closedAt: Maybe<Scalars['DateTime']['output']>;
462
- endDate: Scalars['Date']['output'];
463
- /** Whether this period carries a close receipt. A flag rather than the receipt itself keeps the calendar listing compact; fetch the receipt from `get-period-close-status` for the period. False on open periods and on periods closed before receipts shipped. */
464
- hasCloseReceipt: Scalars['Boolean']['output'];
465
- /** Period name (YYYY-MM) */
466
- name: Scalars['String']['output'];
467
- startDate: Scalars['Date']['output'];
468
- /** 'open' | 'closing' | 'closed' */
469
- status: Scalars['String']['output'];
470
- };
471
- /**
472
- * All securities held in a single entity, rolled up across the
473
- * caller's portfolios.
474
- */
475
- export type Holding = {
476
- /** Issuing entity ID. */
477
- entityId: Scalars['String']['output'];
478
- /** Display name of the entity. */
479
- entityName: Scalars['String']['output'];
480
- /** Number of distinct active positions backing these holdings. */
481
- positionCount: Scalars['Int']['output'];
482
- /** One row per security held in this entity. */
483
- securities: Array<HoldingSecuritySummary>;
484
- /** Pre-association tenant graph, when set on the securities. */
485
- sourceGraphId: Maybe<Scalars['String']['output']>;
486
- /** Sum of cost basis across all securities, in dollars. */
487
- totalCostBasisDollars: Scalars['Float']['output'];
488
- /** Sum of current value across all securities, in dollars. `null` if any security lacks a mark. */
489
- totalCurrentValueDollars: Maybe<Scalars['Float']['output']>;
490
- };
491
- /** One security held by an entity, rolled up across portfolios. */
492
- export type HoldingSecuritySummary = {
493
- /** Aggregate cost basis in dollars, summed across all positions. */
494
- costBasisDollars: Scalars['Float']['output'];
495
- /** Aggregate current value in dollars, or `null` if any underlying position lacks a mark. */
496
- currentValueDollars: Maybe<Scalars['Float']['output']>;
497
- /** Total quantity held in `quantity_type` units. */
498
- quantity: Scalars['Float']['output'];
499
- /** Unit basis (`shares`, `units`, `principal`). */
500
- quantityType: Scalars['String']['output'];
501
- /** Security ID. */
502
- securityId: Scalars['String']['output'];
503
- /** Display name of the security. */
504
- securityName: Scalars['String']['output'];
505
- /** Instrument family (e.g. `common_stock`, `warrant`). */
506
- securityType: Scalars['String']['output'];
507
- };
508
- /** Aggregated holdings across all of the caller's portfolios. */
509
- export type HoldingsList = {
510
- /** One row per issuing entity. */
511
- holdings: Array<Holding>;
512
- /** Count of entities represented. */
513
- totalEntities: Scalars['Int']['output'];
514
- /** Total active positions backing these holdings. */
515
- totalPositions: Scalars['Int']['output'];
516
- };
517
- export type InformationBlock = {
518
- artifact: Artifact;
519
- blockType: Scalars['String']['output'];
520
- category: Scalars['String']['output'];
521
- connections: Array<InformationBlockConnection>;
522
- dimensions: Array<Scalars['JSON']['output']>;
523
- disclosureId: Maybe<Scalars['String']['output']>;
524
- displayName: Scalars['String']['output'];
525
- elements: Array<InformationBlockElement>;
526
- factSet: Maybe<InformationBlockFactSet>;
527
- facts: Array<InformationBlockFact>;
528
- id: Scalars['ID']['output'];
529
- informationModel: InformationModel;
530
- name: Scalars['String']['output'];
531
- rules: Array<InformationBlockRule>;
532
- taxonomyId: Maybe<Scalars['String']['output']>;
533
- taxonomyName: Maybe<Scalars['String']['output']>;
534
- verificationResults: Array<InformationBlockVerificationResult>;
535
- verificationSummary: Maybe<InformationBlockVerificationSummary>;
536
- view: InformationBlockViewProjections;
537
- };
538
- /**
539
- * Server-shaped chart projection — panel/series CONFIG, never values.
540
- *
541
- * The second real server-computed View arm (after ``rendering``). Values
542
- * come from ``rendering.rows`` joined by ``element_id``; the x-axis is
543
- * ``rendering.periods``. Renderers (report-components) turn one panel
544
- * into one chart.
545
- */
546
- export type InformationBlockChart = {
547
- panels: Array<InformationBlockChartPanel>;
548
- };
549
- /**
550
- * One chart panel — series sharing a y-axis format family.
551
- *
552
- * Mixed-unit catalogs are unplottable on one axis, so the server groups
553
- * rows into panels by ``item_type`` family (NULL falls back to
554
- * ``is_monetary``). The x-axis is always ``rendering.periods``.
555
- */
556
- export type InformationBlockChartPanel = {
557
- /** Format family shared by the panel's series (monetary | ratio | percent | multiple | days); None for the untyped fallback panel. */
558
- itemType: Maybe<Scalars['String']['output']>;
559
- /** Per-panel mark — 'line' or 'bar'. */
560
- kind: Scalars['String']['output'];
561
- /** Panel heading — e.g. 'Monetary', 'Ratios'. */
562
- label: Maybe<Scalars['String']['output']>;
563
- series: Array<InformationBlockChartSeries>;
564
- };
565
- /**
566
- * One plottable series in a chart panel.
567
- *
568
- * Carries structure and identity only — the values live in the sibling
569
- * ``rendering.rows`` (join on ``element_id``), so the chart arm never
570
- * duplicates the value matrix. ``key`` is the stable series identity for
571
- * client state (colors, toggles); today it equals ``element_id``, and
572
- * future axes (the forecast scenario) arrive as new fields on this
573
- * model, never a new arm shape.
574
- */
575
- export type InformationBlockChartSeries = {
576
- elementId: Scalars['String']['output'];
577
- /** Stable series id — element_id today. */
578
- key: Scalars['String']['output'];
579
- /** Display name for legends. */
580
- label: Scalars['String']['output'];
581
- };
582
- /**
583
- * Classification projection — one row per `association_classifications`
584
- * junction entry.
585
- *
586
- * Association-side only: concept_arrangement, member_arrangement,
587
- * named_disclosure. Element-side FASB metamodel traits (asset, current,
588
- * operating, …) live in `TraitLite` via `element_traits`.
589
- *
590
- * Carries enough for the envelope caller to render / filter by category +
591
- * identifier without a follow-up lookup. The full `public.classifications`
592
- * vocabulary catalog (name / description / metadata) is available via the
593
- * library GraphQL surface when callers need the details.
594
- */
595
- export type InformationBlockClassification = {
596
- /** One of the 3 association-level categories in the `public.classifications` CHECK constraint: 'concept_arrangement', 'member_arrangement', or 'named_disclosure'. */
597
- category: Scalars['String']['output'];
598
- /** AI/adapter-supplied confidence (0.0-1.0). Null for deterministic library-seeded rows. */
599
- confidence: Maybe<Scalars['Float']['output']>;
600
- /** Classification vocabulary row id. */
601
- id: Scalars['String']['output'];
602
- /** Vocabulary identifier within the category — e.g. 'RollUp', 'whole_part', 'AssetsRollUp'. */
603
- identifier: Scalars['String']['output'];
604
- /** Whether this is the canonical classification for the (association|element, category) pair. Non-primary rows capture alternates / AI suggestions alongside the chosen primary. */
605
- isPrimary: Scalars['Boolean']['output'];
606
- /** Provenance — 'arcrole_analysis', 'disclosure_mechanics', 'fac-traits', adapter name, etc. */
607
- source: Maybe<Scalars['String']['output']>;
608
- };
609
- /**
610
- * Connection (= Association) projection.
611
- *
612
- * "Connection" is the ontology term used on the wire; the storage table is
613
- * ``associations`` (``models/extensions/association.py``).
614
- */
615
- export type InformationBlockConnection = {
616
- arcrole: Maybe<Scalars['String']['output']>;
617
- /** presentation | calculation | mapping | equivalence | general-special | essence-alias */
618
- associationType: Scalars['String']['output'];
619
- /** Association-level classifications — concept_arrangement, member_arrangement, named_disclosure rows from the junction. Empty for library-seeded associations that haven't been classified yet. */
620
- classifications: Array<InformationBlockClassification>;
621
- fromElementId: Scalars['String']['output'];
622
- id: Scalars['String']['output'];
623
- orderValue: Maybe<Scalars['Float']['output']>;
624
- toElementId: Scalars['String']['output'];
625
- weight: Maybe<Scalars['Float']['output']>;
626
- };
627
- /**
628
- * Element projection for bundling inside an Information Block envelope.
629
- *
630
- * Narrower than :class:`LibraryElementResponse` — excludes the heavy fields
631
- * (labels, references, classifications) that library browsing needs but
632
- * block consumers don't. Agents + frontends ask for those on demand via
633
- * the full library GraphQL fields when they need them.
634
- */
635
- export type InformationBlockElement = {
636
- balanceType: Maybe<Scalars['String']['output']>;
637
- code: Maybe<Scalars['String']['output']>;
638
- /** The element's documentation-role label — the catalog's authoritative value semantics (e.g. whether a percent driver is a growth rate or a rate-on-base fraction). None when the element carries no documentation label. */
639
- documentation: Maybe<Scalars['String']['output']>;
640
- /** concept | abstract | axis | member | hypercube */
641
- elementType: Scalars['String']['output'];
642
- id: Scalars['String']['output'];
643
- isAbstract: Scalars['Boolean']['output'];
644
- isMonetary: Scalars['Boolean']['output'];
645
- /** Value-domain vocabulary (monetary | ratio | percent | multiple | days | string | …). None means untyped; fall back to is_monetary. */
646
- itemType: Maybe<Scalars['String']['output']>;
647
- name: Scalars['String']['output'];
648
- periodType: Maybe<Scalars['String']['output']>;
649
- qname: Maybe<Scalars['String']['output']>;
650
- };
651
- /** Fact projection — just the values the envelope caller cares about. */
652
- export type InformationBlockFact = {
653
- /** MIME type of text_value (e.g. 'text/markdown'). */
654
- contentType: Maybe<Scalars['String']['output']>;
655
- elementId: Scalars['String']['output'];
656
- elementName: Maybe<Scalars['String']['output']>;
657
- elementQname: Maybe<Scalars['String']['output']>;
658
- /** historical | in_scope */
659
- factScope: Scalars['String']['output'];
660
- factSetId: Maybe<Scalars['String']['output']>;
661
- /** Numeric | Nonnumeric */
662
- factType: Scalars['String']['output'];
663
- id: Scalars['String']['output'];
664
- periodEnd: Scalars['Date']['output'];
665
- periodStart: Maybe<Scalars['Date']['output']>;
666
- periodType: Scalars['String']['output'];
667
- /** Text payload for Nonnumeric facts; null for numeric. */
668
- textValue: Maybe<Scalars['String']['output']>;
669
- unit: Scalars['String']['output'];
670
- /** Numeric value; null for Nonnumeric (text-block) facts. */
671
- value: Maybe<Scalars['Float']['output']>;
672
- };
673
- /**
674
- * FactSet projection — period-specific instantiation of the Structure.
675
- *
676
- * The envelope carries one ``FactSetLite`` per block when a FactSet row exists
677
- * for the requested period, and leaves ``fact_set`` null when none does.
678
- */
679
- export type InformationBlockFactSet = {
680
- entityId: Scalars['String']['output'];
681
- /** 'report' | 'schedule' | 'custom' | 'disclosure' | 'metric'. Enum closure enforced by the ``public.fact_sets`` CHECK constraint. */
682
- factsetType: Scalars['String']['output'];
683
- id: Scalars['String']['output'];
684
- periodEnd: Scalars['Date']['output'];
685
- periodStart: Maybe<Scalars['Date']['output']>;
686
- /** Typed ``FactProvenance`` descriptor (discriminated on ``origin``: pivot | schedule | derived | asserted | document | forecast | filed) recording how this FactSet's facts were constructed. Surfaced as JSON, mirroring how mechanics is exposed. Null when the FactSet carries no descriptor. */
687
- provenance: Maybe<Scalars['JSON']['output']>;
688
- /** Back-pointer to the parent row in ``reports``. Null when the FactSet does not belong to a report package. */
689
- reportId: Maybe<Scalars['String']['output']>;
690
- /** Scenario axis (the forecast engine). NULL = actuals; non-NULL names the owning forecast block whose parallel universe this set belongs to. */
691
- scenarioId: Maybe<Scalars['String']['output']>;
692
- structureId: Maybe<Scalars['String']['output']>;
693
- };
694
- /**
695
- * Pre-computed rendering projection of an Information Block.
696
- *
697
- * Computed server-side at envelope-build time for blocks where rendering
698
- * is deterministic (the statement family today; future block types add
699
- * their own rendering builders). The frontend's ``BlockView``
700
- * ``Rendering`` projection consumes this directly — no client-side
701
- * rollup, depth computation, or calculation walk needed.
702
- */
703
- export type InformationBlockRendering = {
704
- periods: Array<InformationBlockRenderingPeriod>;
705
- rows: Array<InformationBlockRenderingRow>;
706
- unmappedCount: Scalars['Int']['output'];
707
- validation: Maybe<InformationBlockValidation>;
708
- };
709
- /** One period column in a rendered statement. */
710
- export type InformationBlockRenderingPeriod = {
711
- end: Scalars['Date']['output'];
712
- /** True when this column comes from a forecast scenario's FactSet — the machine-readable seam marker (labels also carry a '(forecast)' suffix, but consumers should key styling off this flag, not label parsing). None/absent = an actuals column. */
713
- forecast: Maybe<Scalars['Boolean']['output']>;
714
- label: Maybe<Scalars['String']['output']>;
715
- start: Scalars['Date']['output'];
716
- };
717
- /**
718
- * One row of a server-side rendered statement.
719
- *
720
- * Mirrors :class:`FactRow` in
721
- * :mod:`robosystems.operations.roboledger.reports.fact_grid`, restated at the
722
- * API boundary so envelope consumers don't depend on that module. ``values``
723
- * holds one entry per period column in :class:`RenderingLite.periods`.
724
- */
725
- export type InformationBlockRenderingRow = {
726
- balanceType: Maybe<Scalars['String']['output']>;
727
- /** 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. */
728
- classification: Maybe<Scalars['String']['output']>;
729
- depth: Scalars['Int']['output'];
730
- elementId: Scalars['String']['output'];
731
- elementName: Scalars['String']['output'];
732
- elementQname: Maybe<Scalars['String']['output']>;
733
- isSubtotal: Scalars['Boolean']['output'];
734
- /** Value-domain format family from the element (monetary | ratio | percent | multiple | days | …). Drives per-row value formatting; None falls back to is_monetary on the element. */
735
- itemType: Maybe<Scalars['String']['output']>;
736
- /** Narrative payload for text-block disclosure rows (markdown); numeric rows carry values instead. */
737
- textValue: Maybe<Scalars['String']['output']>;
738
- values: Array<Maybe<Scalars['Float']['output']>>;
739
- };
740
- /**
741
- * Rule projection for the Information Block envelope.
742
- *
743
- * One row per ``public.rules`` entry scoped to this block. The rule
744
- * engine consumes ``rule_expression`` + ``rule_variables`` to evaluate
745
- * against the in-scope fact set; the envelope surfaces the rules so
746
- * the UI can render them as a checklist alongside any persisted
747
- * verification results.
748
- */
749
- export type InformationBlockRule = {
750
- id: Scalars['String']['output'];
751
- /** One of 8 cm:VerificationRule subclasses — AutomatedAccountingAndReportingChecks, FundamentalAccountingConceptRelation, PeerConsistencyRule, PriorPeriodConsistencyRule, ReportLevelModelStructureRule, ReportingSystemSpecificRule, ToDoManualTask, XBRLTechnicalSyntaxRule. */
752
- ruleCategory: Scalars['String']['output'];
753
- /** Model-structure check kind evaluated over the association graph. One of 6 kinds — LeafHasClassification, LibraryOriginImmutability, NoCycles, NoOrphanArcs, ParentBeforeChild, UniqueQNameInTaxonomy. Null when the rule is an arithmetic pattern (see rule_pattern). Exactly one of rule_pattern / rule_check_kind is non-null per rule. */
754
- ruleCheckKind: Maybe<Scalars['String']['output']>;
755
- ruleExpression: Scalars['String']['output'];
756
- ruleMessage: Maybe<Scalars['String']['output']>;
757
- /** 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. */
758
- ruleOrigin: Scalars['String']['output'];
759
- /** Arithmetic / logical pattern evaluated over fact values. One of 11 cm:BusinessRulePattern mechanisms — Adjustment, CoExists, EqualTo, Exists, GreaterThan, GreaterThanOrEqualToZero, LessThan, RollForward, RollUp, SumEquals, Variance. Null when the rule is a structural check (see rule_check_kind). */
760
- rulePattern: Maybe<Scalars['String']['output']>;
761
- /** Failure severity — 'info' | 'warning' | 'error'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
762
- ruleSeverity: Scalars['String']['output'];
763
- ruleTarget: Maybe<InformationBlockRuleTarget>;
764
- ruleVariables: Array<InformationBlockRuleVariable>;
765
- };
766
- /** Polymorphic rule target — points at the atom the rule is scoped to. */
767
- export type InformationBlockRuleTarget = {
768
- /** Which atom type the rule targets — 'structure' | 'element' | 'association' | 'taxonomy'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
769
- targetKind: Scalars['String']['output'];
770
- /** UUID of the target atom — structure_id, element_id, association_id, or taxonomy_id depending on ``target_kind``. */
771
- targetRefId: Scalars['String']['output'];
772
- };
773
- /** `$Variable` → concept qname binding for a rule expression. */
774
- export type InformationBlockRuleVariable = {
775
- /** Element id the variable binds to directly. Set for schedule SumEquals rules over CoA-debit elements that have no qname; null otherwise. */
776
- variableElementId: Maybe<Scalars['String']['output']>;
777
- /** Local name in the rule expression, e.g. 'Assets'. */
778
- variableName: Scalars['String']['output'];
779
- /** Concept qname the variable resolves to, e.g. 'fac:Assets'. Null for tenant CoA elements (which key on `code`/`element_id`, not qname) — in that case the binding is carried by `variable_element_id`. */
780
- variableQname: Maybe<Scalars['String']['output']>;
781
- };
782
- /**
783
- * Outcome of guard-rail validation on a rendered statement.
784
- *
785
- * Distinct from :class:`VerificationResultLite` (which surfaces the
786
- * rule-engine outcomes from ``public.verification_results``). This lite
787
- * type carries the synchronous guard-rail checks computed at
788
- * envelope-build time — accounting equation, totals foot, etc.
789
- */
790
- export type InformationBlockValidation = {
791
- checks: Array<Scalars['String']['output']>;
792
- failures: Array<Scalars['String']['output']>;
793
- passed: Scalars['Boolean']['output'];
794
- status: Scalars['String']['output'];
795
- warnings: Array<Scalars['String']['output']>;
796
- };
797
- /**
798
- * Pass/fail/skip counts for one ``rule_category`` within a block's
799
- * verification results.
800
- *
801
- * Drives the per-category accordions in the Verification Results panel.
802
- * ``category`` is the rule's ``rule_category``
803
- * (one of the cm:VerificationRule subclasses), resolved by joining each
804
- * result to its Rule.
805
- */
806
- export type InformationBlockVerificationCategorySummary = {
807
- category: Scalars['String']['output'];
808
- errored: Scalars['Int']['output'];
809
- failed: Scalars['Int']['output'];
810
- passed: Scalars['Int']['output'];
811
- skipped: Scalars['Int']['output'];
812
- total: Scalars['Int']['output'];
813
- };
814
- /**
815
- * Persisted outcome of one Rule evaluation.
816
- *
817
- * One row per ``public.verification_results`` entry the rule engine
818
- * writes. The envelope surfaces them so the block viewer's
819
- * "Verification Results" tab and MCP ``list-verification-failures``
820
- * tool can render + aggregate without a second round-trip.
821
- */
822
- export type InformationBlockVerificationResult = {
823
- evaluatedAt: Maybe<Scalars['DateTime']['output']>;
824
- factSetId: Maybe<Scalars['String']['output']>;
825
- id: Scalars['String']['output'];
826
- message: Maybe<Scalars['String']['output']>;
827
- periodEnd: Maybe<Scalars['Date']['output']>;
828
- periodStart: Maybe<Scalars['Date']['output']>;
829
- ruleId: Scalars['String']['output'];
830
- /** 'pass' | 'fail' | 'error' | 'skipped'. Enum closure enforced by the ``public.verification_results`` CHECK constraint. */
831
- status: Scalars['String']['output'];
832
- structureId: Maybe<Scalars['String']['output']>;
833
- };
834
- /**
835
- * Server-computed aggregate of a block's ``verification_results``.
836
- *
837
- * Overall counts plus a per-``rule_category`` breakdown, so the viewer
838
- * renders the grouped Verification Results panel
839
- * without a client-side results→rules join. Status closure is
840
- * ``pass | fail | error | skipped`` (the ``public.verification_results``
841
- * CHECK); ``total`` is their sum.
842
- */
843
- export type InformationBlockVerificationSummary = {
844
- byCategory: Array<InformationBlockVerificationCategorySummary>;
845
- errored: Scalars['Int']['output'];
846
- failed: Scalars['Int']['output'];
847
- passed: Scalars['Int']['output'];
848
- skipped: Scalars['Int']['output'];
849
- total: Scalars['Int']['output'];
850
- };
851
- /**
852
- * Charlie's six ``type-of View`` arms, surfaced at the envelope boundary.
853
- *
854
- * Each projection is computed server-side at envelope-build time when
855
- * its source data is available. The frontend's ``BlockView`` dispatcher
856
- * routes to the projection component matching the user's selected view
857
- * mode; missing projections (those still in backlog) render as empty
858
- * states without breaking the dispatcher.
859
- *
860
- * Today: ``rendering`` is computed for the statement family, and
861
- * ``chart`` (the 7th arm — panel/series config over the rendering's
862
- * rows and periods) for metric blocks.
863
- * Other arms (``fact_table``, ``model_structure``, ``verification_results``,
864
- * ``report_elements``, ``business_rules``) come online as their backend
865
- * support lands; ``fact_table`` is trivially derivable from
866
- * ``InformationBlockEnvelope.facts`` and may stay as a frontend-only
867
- * projection.
868
- */
869
- export type InformationBlockViewProjections = {
870
- chart: Maybe<InformationBlockChart>;
871
- rendering: Maybe<InformationBlockRendering>;
872
- };
873
- /** The block's intrinsic shape — concept + member arrangement patterns. */
874
- export type InformationModel = {
875
- /** roll_up | roll_forward | variance | adjustment | set | arithmetic | textblock. Null for block types where the concept arrangement is implicit in their mechanics. */
876
- conceptArrangement: Maybe<Scalars['String']['output']>;
877
- /** is_a | whole_part | nested_whole_part | two_dimension_aggregation | complex_aggregating_whole_part, or null if non-hypercube. */
878
- memberArrangement: Maybe<Scalars['String']['output']>;
879
- };
880
- /**
881
- * Entity details from the extensions OLTP database.
882
- *
883
- * Returned by entity reads and `update-entity`. Identifiers
884
- * (CIK / ticker / SIC / LEI / tax_id) are present when sourced from
885
- * SEC or registry data; many are null for private companies. The
886
- * address fields are flattened (no nested object) to make them easy
887
- * to project into reporting forms.
888
- */
889
- export type LedgerEntity = {
890
- addressCity: Maybe<Scalars['String']['output']>;
891
- addressCountry: Maybe<Scalars['String']['output']>;
892
- addressLine1: Maybe<Scalars['String']['output']>;
893
- addressPostalCode: Maybe<Scalars['String']['output']>;
894
- addressState: Maybe<Scalars['String']['output']>;
895
- /** Filer category (e.g. 'Large Accelerated Filer'). */
896
- category: Maybe<Scalars['String']['output']>;
897
- /** SEC CIK (Central Index Key). */
898
- cik: Maybe<Scalars['String']['output']>;
899
- /** Source connection that ingested this row. */
900
- connectionId: Maybe<Scalars['String']['output']>;
901
- createdAt: Maybe<Scalars['String']['output']>;
902
- /** Legal form (e.g. 'corporation', 'llc', 'lp'). */
903
- entityType: Maybe<Scalars['String']['output']>;
904
- /** Listing exchange (e.g. 'NASDAQ', 'NYSE'). */
905
- exchange: Maybe<Scalars['String']['output']>;
906
- /** Fiscal year-end as MM-DD (e.g. '12-31', '06-30'). */
907
- fiscalYearEnd: Maybe<Scalars['String']['output']>;
908
- /** Entity identifier (ULID). */
909
- id: Scalars['String']['output'];
910
- /** Free-form industry label. */
911
- industry: Maybe<Scalars['String']['output']>;
912
- /** True for top-level entities; False for subsidiaries. */
913
- isParent: Scalars['Boolean']['output'];
914
- /** Full registered legal name (when different from `name`). */
915
- legalName: Maybe<Scalars['String']['output']>;
916
- /** Legal Entity Identifier (ISO 17442). */
917
- lei: Maybe<Scalars['String']['output']>;
918
- /** Display name shown in UI. */
919
- name: Scalars['String']['output'];
920
- /** Parent entity ID for subsidiaries; null for top-level. */
921
- parentEntityId: Maybe<Scalars['String']['output']>;
922
- phone: Maybe<Scalars['String']['output']>;
923
- /** Active Reporting Style (Structure id) governing this entity's statement layout. Change it via the change-reporting-style operation. */
924
- reportingStyleId: Maybe<Scalars['String']['output']>;
925
- /** SIC industry code. */
926
- sic: Maybe<Scalars['String']['output']>;
927
- /** SIC code description. */
928
- sicDescription: Maybe<Scalars['String']['output']>;
929
- /** Provenance: 'native' | 'sec' | 'quickbooks' | 'xero' | 'plaid'. */
930
- source: Scalars['String']['output'];
931
- /** Origin graph for received entities (cross-graph linking, e.g. RoboInvestor portfolio holdings). */
932
- sourceGraphId: Maybe<Scalars['String']['output']>;
933
- /** Source-system primary key for sync reconciliation. */
934
- sourceId: Maybe<Scalars['String']['output']>;
935
- /** US state or country of incorporation. */
936
- stateOfIncorporation: Maybe<Scalars['String']['output']>;
937
- /** Operational status: 'active' | 'inactive' | 'dissolved'. */
938
- status: Scalars['String']['output'];
939
- /** Tax ID (EIN / SSN). */
940
- taxId: Maybe<Scalars['String']['output']>;
941
- /** Stock ticker symbol. */
942
- ticker: Maybe<Scalars['String']['output']>;
943
- updatedAt: Maybe<Scalars['String']['output']>;
944
- /** Canonical URL / external identifier. */
945
- uri: Maybe<Scalars['String']['output']>;
946
- website: Maybe<Scalars['String']['output']>;
947
- };
948
- /**
949
- * A journal entry — accounting interpretation of a transaction.
950
- *
951
- * Each transaction has 1+ entries; each entry has 2+ line items that
952
- * must balance. ``status`` is the draft/posted/reversed lifecycle;
953
- * ``type`` is the entry classification ('standard' | 'adjusting' |
954
- * 'closing' | 'reversing').
955
- */
956
- export type LedgerEntry = {
957
- id: Scalars['String']['output'];
958
- lineItems: Array<LedgerLineItem>;
959
- memo: Maybe<Scalars['String']['output']>;
960
- number: Maybe<Scalars['String']['output']>;
961
- postedAt: Maybe<Scalars['DateTime']['output']>;
962
- postingDate: Scalars['Date']['output'];
963
- status: Scalars['String']['output'];
964
- type: Scalars['String']['output'];
965
- };
966
- /**
967
- * One debit/credit line within a journal entry. Always exactly one
968
- * side has a non-zero amount.
969
- */
970
- export type LedgerLineItem = {
971
- accountCode: Maybe<Scalars['String']['output']>;
972
- accountId: Scalars['String']['output'];
973
- accountName: Maybe<Scalars['String']['output']>;
974
- creditAmount: Scalars['Float']['output'];
975
- debitAmount: Scalars['Float']['output'];
976
- description: Maybe<Scalars['String']['output']>;
977
- id: Scalars['String']['output'];
978
- lineOrder: Scalars['Int']['output'];
979
- };
980
- /**
981
- * High-level rollup of a graph's ledger state — counts plus the
982
- * date-range bookends and integration sync timestamp.
983
- *
984
- * Used by dashboards and the onboarding wizard to answer "is this
985
- * graph populated yet?" without walking every transaction. ``connection_count``
986
- * reflects active integrations (QuickBooks / Plaid / etc.); a non-null
987
- * ``last_sync_at`` means at least one connection has run.
988
- */
989
- export type LedgerSummary = {
990
- accountCount: Scalars['Int']['output'];
991
- connectionCount: Scalars['Int']['output'];
992
- earliestTransactionDate: Maybe<Scalars['Date']['output']>;
993
- entryCount: Scalars['Int']['output'];
994
- graphId: Scalars['String']['output'];
995
- lastSyncAt: Maybe<Scalars['DateTime']['output']>;
996
- latestTransactionDate: Maybe<Scalars['Date']['output']>;
997
- lineItemCount: Scalars['Int']['output'];
998
- transactionCount: Scalars['Int']['output'];
999
- };
1000
- /**
1001
- * Full transaction detail — header + every journal entry + every
1002
- * line item underneath. Used by the transaction detail page.
1003
- */
1004
- export type LedgerTransactionDetail = {
1005
- amount: Scalars['Float']['output'];
1006
- category: Maybe<Scalars['String']['output']>;
1007
- currency: Scalars['String']['output'];
1008
- date: Scalars['Date']['output'];
1009
- description: Maybe<Scalars['String']['output']>;
1010
- dueDate: Maybe<Scalars['Date']['output']>;
1011
- entries: Array<LedgerEntry>;
1012
- id: Scalars['String']['output'];
1013
- merchantName: Maybe<Scalars['String']['output']>;
1014
- number: Maybe<Scalars['String']['output']>;
1015
- postedAt: Maybe<Scalars['DateTime']['output']>;
1016
- referenceNumber: Maybe<Scalars['String']['output']>;
1017
- source: Scalars['String']['output'];
1018
- sourceId: Maybe<Scalars['String']['output']>;
1019
- status: Scalars['String']['output'];
1020
- type: Scalars['String']['output'];
1021
- };
1022
- /** Paginated transaction listing — header view. */
1023
- export type LedgerTransactionList = {
1024
- pagination: PaginationInfo;
1025
- transactions: Array<LedgerTransactionSummary>;
1026
- };
1027
- /**
1028
- * Transaction header — list/grid view without entries.
1029
- *
1030
- * Transaction is the business-event level (what happened in the real
1031
- * world). Entries (journal entries) live one level down and are loaded
1032
- * in the detail view. ``source`` distinguishes integration-imported
1033
- * rows (quickbooks / xero / plaid) from native-created ones.
1034
- */
1035
- export type LedgerTransactionSummary = {
1036
- amount: Scalars['Float']['output'];
1037
- category: Maybe<Scalars['String']['output']>;
1038
- currency: Scalars['String']['output'];
1039
- date: Scalars['Date']['output'];
1040
- description: Maybe<Scalars['String']['output']>;
1041
- dueDate: Maybe<Scalars['Date']['output']>;
1042
- id: Scalars['String']['output'];
1043
- merchantName: Maybe<Scalars['String']['output']>;
1044
- number: Maybe<Scalars['String']['output']>;
1045
- referenceNumber: Maybe<Scalars['String']['output']>;
1046
- source: Scalars['String']['output'];
1047
- status: Scalars['String']['output'];
1048
- type: Scalars['String']['output'];
1049
- };
1050
- /** An arc between two library elements (parent-child, equivalence, etc). */
1051
- export type LibraryAssociation = {
1052
- arcrole: Maybe<Scalars['String']['output']>;
1053
- /** presentation | calculation | mapping | equivalence | general-special | essence-alias */
1054
- associationType: Scalars['String']['output'];
1055
- fromElementId: Scalars['String']['output'];
1056
- fromElementIsAbstract: Maybe<Scalars['Boolean']['output']>;
1057
- fromElementName: Maybe<Scalars['String']['output']>;
1058
- fromElementQname: Maybe<Scalars['String']['output']>;
1059
- /** Primary elementsOfFinancialStatements trait (for node coloring) */
1060
- fromElementTrait: Maybe<Scalars['String']['output']>;
1061
- id: Scalars['String']['output'];
1062
- orderValue: Maybe<Scalars['Float']['output']>;
1063
- structureId: Scalars['String']['output'];
1064
- structureName: Maybe<Scalars['String']['output']>;
1065
- toElementId: Scalars['String']['output'];
1066
- toElementIsAbstract: Maybe<Scalars['Boolean']['output']>;
1067
- toElementName: Maybe<Scalars['String']['output']>;
1068
- toElementQname: Maybe<Scalars['String']['output']>;
1069
- /** Primary elementsOfFinancialStatements trait (for node coloring) */
1070
- toElementTrait: Maybe<Scalars['String']['output']>;
1071
- weight: Maybe<Scalars['Float']['output']>;
1072
- };
1073
- /** A library element (concept, abstract, axis, member, or hypercube). */
1074
- export type LibraryElement = {
1075
- /** debit | credit */
1076
- balanceType: Scalars['String']['output'];
1077
- /** concept | abstract | axis | member | hypercube */
1078
- elementType: Scalars['String']['output'];
1079
- id: Scalars['String']['output'];
1080
- isAbstract: Scalars['Boolean']['output'];
1081
- isMonetary: Scalars['Boolean']['output'];
1082
- labels: Array<LibraryLabel>;
1083
- name: Scalars['String']['output'];
1084
- namespace: Maybe<Scalars['String']['output']>;
1085
- parentId: Maybe<Scalars['String']['output']>;
1086
- /** instant | duration */
1087
- periodType: Scalars['String']['output'];
1088
- /** Qualified name, e.g. 'fac:Assets' */
1089
- qname: Scalars['String']['output'];
1090
- references: Array<LibraryReference>;
1091
- /** fac | us-gaap | rs-gaap | … */
1092
- source: Scalars['String']['output'];
1093
- taxonomyId: Maybe<Scalars['String']['output']>;
1094
- /** 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. */
1095
- trait: Maybe<Scalars['String']['output']>;
1096
- };
1097
- /**
1098
- * A mapping arc involving a specific element.
1099
- *
1100
- * Flat row view: one arc, oriented from the perspective of the element
1101
- * being inspected. `peer` is the other end; `direction` says whether
1102
- * this element is the source ('outgoing') or the target ('incoming').
1103
- *
1104
- * Scoped to arcs whose structure belongs to a `taxonomy_type='mapping'`
1105
- * taxonomy — the cross-taxonomy bridges (equivalence, general-special,
1106
- * rs-gaap-type-subtype). Hierarchical arcs inside a single reporting taxonomy
1107
- * are out of scope.
1108
- */
1109
- export type LibraryElementArc = {
1110
- arcrole: Maybe<Scalars['String']['output']>;
1111
- associationType: Scalars['String']['output'];
1112
- /** 'outgoing' (this element is source) | 'incoming' (target) */
1113
- direction: Scalars['String']['output'];
1114
- id: Scalars['String']['output'];
1115
- peer: LibraryElement;
1116
- structureId: Maybe<Scalars['String']['output']>;
1117
- structureName: Maybe<Scalars['String']['output']>;
1118
- taxonomyId: Maybe<Scalars['String']['output']>;
1119
- taxonomyName: Maybe<Scalars['String']['output']>;
1120
- taxonomyStandard: Maybe<Scalars['String']['output']>;
1121
- };
1122
- /**
1123
- * One FASB metamodel trait assigned to a library element.
1124
- *
1125
- * A single element can carry multiple traits across multiple categories
1126
- * (e.g. elementsOfFinancialStatements=expense AND
1127
- * operatingNonoperating=operating AND liquidity=current).
1128
- */
1129
- export type LibraryElementClassification = {
1130
- /** Trait axis (e.g. elementsOfFinancialStatements) */
1131
- category: Scalars['String']['output'];
1132
- /** Value within the axis (e.g. expense) */
1133
- identifier: Scalars['String']['output'];
1134
- /** True for the element's primary EFS trait assignment */
1135
- isPrimary: Scalars['Boolean']['output'];
1136
- /** Human-readable name */
1137
- name: Maybe<Scalars['String']['output']>;
1138
- };
1139
- export type LibraryElementTreeNode = {
1140
- children: Array<LibraryElementTreeNode>;
1141
- element: LibraryElement;
1142
- };
1143
- /**
1144
- * An element and its equivalence peers.
1145
- *
1146
- * Answers "what other concepts mean the same thing as this one" — the
1147
- * FAC→us-gaap collapse pattern rendered as an API shape.
1148
- */
1149
- export type LibraryEquivalence = {
1150
- element: LibraryElement;
1151
- equivalents: Array<LibraryElement>;
1152
- };
1153
- /** A label on a library element. */
1154
- export type LibraryLabel = {
1155
- /** Language code */
1156
- language: Scalars['String']['output'];
1157
- /** Label role: standard/documentation/verbose/… */
1158
- role: Scalars['String']['output'];
1159
- /** Label text */
1160
- text: Scalars['String']['output'];
1161
- };
1162
- /** A cross-reference on a library element (FASB ASC, SEC, etc). */
1163
- export type LibraryReference = {
1164
- /** Full citation text */
1165
- citation: Scalars['String']['output'];
1166
- /** 'ASC' | 'SEC' | 'SFAC' | 'IFRS' | 'Other' */
1167
- refType: Maybe<Scalars['String']['output']>;
1168
- /** Dereferenceable URL if available */
1169
- uri: Maybe<Scalars['String']['output']>;
1170
- };
1171
- /** A named structure (extended link role) within a library taxonomy. */
1172
- export type LibraryStructure = {
1173
- /** balance_sheet | income_statement | cash_flow_statement | custom | … */
1174
- blockType: Scalars['String']['output'];
1175
- id: Scalars['String']['output'];
1176
- isActive: Scalars['Boolean']['output'];
1177
- name: Scalars['String']['output'];
1178
- /** Original XBRL role URI if any */
1179
- roleUri: Maybe<Scalars['String']['output']>;
1180
- taxonomyId: Scalars['String']['output'];
1181
- };
1182
- /** A library taxonomy (fac, us-gaap, rs-gaap, …). */
1183
- export type LibraryTaxonomy = {
1184
- description: Maybe<Scalars['String']['output']>;
1185
- /** Total elements in this taxonomy (computed on demand) */
1186
- elementCount: Maybe<Scalars['Int']['output']>;
1187
- id: Scalars['String']['output'];
1188
- isActive: Scalars['Boolean']['output'];
1189
- isLocked: Scalars['Boolean']['output'];
1190
- isShared: Scalars['Boolean']['output'];
1191
- name: Scalars['String']['output'];
1192
- namespaceUri: Maybe<Scalars['String']['output']>;
1193
- /** fac | us-gaap | rs-gaap | ifrs */
1194
- standard: Maybe<Scalars['String']['output']>;
1195
- /** chart_of_accounts | reporting | mapping | schedule */
1196
- taxonomyType: Scalars['String']['output'];
1197
- version: Maybe<Scalars['String']['output']>;
1198
- };
1199
- /** Trial balance rolled up to reporting concepts via mapping associations. */
1200
- export type MappedTrialBalance = {
1201
- mappingId: Scalars['String']['output'];
1202
- rows: Array<MappedTrialBalanceRow>;
1203
- };
1204
- /** One reporting-concept row in the mapped trial balance. */
1205
- export type MappedTrialBalanceRow = {
1206
- balanceType: Maybe<Scalars['String']['output']>;
1207
- netBalance: Scalars['Float']['output'];
1208
- qname: Scalars['String']['output'];
1209
- reportingElementId: Scalars['String']['output'];
1210
- reportingName: Scalars['String']['output'];
1211
- totalCredits: Scalars['Float']['output'];
1212
- totalDebits: Scalars['Float']['output'];
1213
- trait: Maybe<Scalars['String']['output']>;
1214
- };
1215
- /** Coverage stats for a mapping. */
1216
- export type MappingCoverage = {
1217
- coveragePercent: Scalars['Float']['output'];
1218
- highConfidence: Scalars['Int']['output'];
1219
- lowConfidence: Scalars['Int']['output'];
1220
- mappedCount: Scalars['Int']['output'];
1221
- mappingId: Scalars['String']['output'];
1222
- mediumConfidence: Scalars['Int']['output'];
1223
- totalCoaElements: Scalars['Int']['output'];
1224
- unmappedCount: Scalars['Int']['output'];
1225
- unreachable: Array<UnreachableMappingType>;
1226
- unreachableCount: Scalars['Int']['output'];
1227
- };
1228
- /** A mapping structure with all its associations. */
1229
- export type MappingDetail = {
1230
- associations: Array<Association>;
1231
- blockType: Scalars['String']['output'];
1232
- id: Scalars['String']['output'];
1233
- name: Scalars['String']['output'];
1234
- taxonomyId: Scalars['String']['output'];
1235
- totalAssociations: Scalars['Int']['output'];
1236
- };
1237
- /**
1238
- * Graph-wide open AR or open AP aggregate.
1239
- *
1240
- * ``total_open_cents`` is the sum of unsettled originating-event
1241
- * balances; ``counterparty_count`` is the number of distinct agents
1242
- * with at least one open invoice or bill. The currency is uniform
1243
- * per graph today (mixed-currency books would need a per-currency
1244
- * breakdown — out of scope for v1).
1245
- */
1246
- export type OpenBalanceAggregate = {
1247
- /** Distinct agents with at least one open balance. */
1248
- counterpartyCount: Scalars['Int']['output'];
1249
- /** Currency code (uniform per graph). */
1250
- currency: Scalars['String']['output'];
1251
- /** Distinct originating events with a nonzero open balance. */
1252
- openEventCount: Scalars['Int']['output'];
1253
- /** Sum of unsettled balances in minor currency units. */
1254
- totalOpenCents: Scalars['Int']['output'];
1255
- };
1256
- /**
1257
- * Per-agent open balance row.
1258
- *
1259
- * Used for both the aging-by-counterparty list and the per-Agent
1260
- * GraphQL field. ``open_balance_cents`` reflects only the unsettled
1261
- * remainder (sum of originating amounts minus sum of discharges) so
1262
- * partial-payment chains net out correctly.
1263
- */
1264
- export type OpenBalanceByAgent = {
1265
- agentId: Scalars['String']['output'];
1266
- currency: Scalars['String']['output'];
1267
- /** Unsettled originating-event amounts minus discharges, in minor currency units. Positive for normal AR/AP; negative when overpaid. */
1268
- openBalanceCents: Scalars['Int']['output'];
1269
- /** Number of originating events with nonzero balance for this agent. */
1270
- openEventCount: Scalars['Int']['output'];
1271
- };
1272
- /** Pagination information for list responses. */
1273
- export type PaginationInfo = {
1274
- /** Whether more items are available */
1275
- hasMore: Scalars['Boolean']['output'];
1276
- /** Maximum number of items returned in this response */
1277
- limit: Scalars['Int']['output'];
1278
- /** Number of items skipped */
1279
- offset: Scalars['Int']['output'];
1280
- /** Total number of items available */
1281
- total: Scalars['Int']['output'];
1282
- };
1283
- /**
1284
- * One pending schedule-derived obligation blocking close.
1285
- *
1286
- * Surfaced on `FiscalCalendarResponse` when `pending_obligations` is in
1287
- * the blockers list so callers can name which schedules to promote.
1288
- */
1289
- export type PendingObligationDetail = {
1290
- eventId: Scalars['String']['output'];
1291
- /** Period in YYYY-MM format */
1292
- period: Scalars['String']['output'];
1293
- scheduleId: Maybe<Scalars['String']['output']>;
1294
- scheduleName: Maybe<Scalars['String']['output']>;
1295
- };
1296
- /**
1297
- * One schedule's contribution to a period close — drafted closing
1298
- * entry plus its reversal (when ``auto_reverse=True``).
1299
- *
1300
- * ``status`` is the closing entry's draft/posted lifecycle. The
1301
- * reversal mirrors the same shape with ``reversal_*`` fields.
1302
- */
1303
- export type PeriodCloseItem = {
1304
- amount: Scalars['Float']['output'];
1305
- entryId: Maybe<Scalars['String']['output']>;
1306
- reversalEntryId: Maybe<Scalars['String']['output']>;
1307
- reversalStatus: Maybe<Scalars['String']['output']>;
1308
- status: Scalars['String']['output'];
1309
- structureId: Scalars['String']['output'];
1310
- structureName: Scalars['String']['output'];
1311
- };
1312
- /**
1313
- * Period-close dashboard view — every schedule in scope for the
1314
- * period plus drafted/posted entry totals.
1315
- *
1316
- * Use to drive the close-period UI: schedules with ``status='draft'``
1317
- * are pending close; ``period_status`` reflects the calendar's lock
1318
- * state for the period.
1319
- */
1320
- export type PeriodCloseStatus = {
1321
- /** Receipt stamped by the close that locked this period: entries_posted, the entries_published_to_qb / entries_posted_locally split, statement stamping and rule summaries, closed_at/closed_by. Null while the period is open, and null for periods closed before receipts shipped (a closed period without a receipt is not a failed close). This is the authoritative record of what a close did — read it rather than retrying when a close's response was lost in transport. */
1322
- closeReceipt: Maybe<CloseReceipt>;
1323
- fiscalPeriodEnd: Scalars['Date']['output'];
1324
- fiscalPeriodStart: Scalars['Date']['output'];
1325
- periodStatus: Scalars['String']['output'];
1326
- schedules: Array<PeriodCloseItem>;
1327
- totalDraft: Scalars['Int']['output'];
1328
- totalPosted: Scalars['Int']['output'];
1329
- };
1330
- /** All draft entries for a fiscal period, ready for review before close. */
1331
- export type PeriodDrafts = {
1332
- /** True if every draft entry has debit == credit */
1333
- allBalanced: Scalars['Boolean']['output'];
1334
- draftCount: Scalars['Int']['output'];
1335
- drafts: Array<DraftEntry>;
1336
- /** Number of drafts that post locally only (no QB write-back). */
1337
- localOnlyCount: Scalars['Int']['output'];
1338
- /** YYYY-MM period name */
1339
- period: Scalars['String']['output'];
1340
- periodEnd: Scalars['Date']['output'];
1341
- periodStart: Scalars['Date']['output'];
1342
- /** Number of drafts that will publish to QuickBooks on close. */
1343
- qbPublishCount: Scalars['Int']['output'];
1344
- /** write_policy of the publishing QB connection ('qb_authoritative' / 'hybrid'), or null when there is no write-back connection. */
1345
- qbWritePolicy: Maybe<Scalars['String']['output']>;
1346
- /** Id of the QuickBooks connection these drafts publish to on close, or null when the graph has no qb_authoritative/hybrid QB connection (the drafts post locally only). */
1347
- qbWritebackConnectionId: Maybe<Scalars['String']['output']>;
1348
- /** Sum across all drafts, in cents */
1349
- totalCredit: Scalars['Int']['output'];
1350
- /** Sum across all drafts, in cents */
1351
- totalDebit: Scalars['Int']['output'];
1352
- };
1353
- /**
1354
- * A single reporting period column.
1355
- *
1356
- * Reports render facts in N period columns side-by-side. Each
1357
- * ``PeriodSpec`` is one column — its ``start``/``end`` define the
1358
- * window the report's facts roll up into; ``label`` is what the renderer
1359
- * prints in the column header. For year-over-year statements, supply two
1360
- * PeriodSpecs (current + comparative); for YTD by quarter, supply four.
1361
- */
1362
- export type PeriodSpec = {
1363
- /** Period end date (inclusive). Window the column rolls up. */
1364
- end: Scalars['Date']['output'];
1365
- /** Column header label (e.g. 'FY2025 Q3', '2024', 'YTD'). */
1366
- label: Scalars['String']['output'];
1367
- /** Period start date (inclusive). Window the column rolls up. */
1368
- start: Scalars['Date']['output'];
1369
- };
1370
- /**
1371
- * Read projection for a single portfolio — core fields only.
1372
- *
1373
- * Position-level holdings live on the dedicated portfolio-block envelope
1374
- * (`PortfolioBlockEnvelope`) returned by molecular operations.
1375
- */
1376
- export type Portfolio = {
1377
- /** ISO 4217 currency code used for portfolio-level aggregates. */
1378
- baseCurrency: Scalars['String']['output'];
1379
- /** Row creation timestamp (UTC). */
1380
- createdAt: Scalars['DateTime']['output'];
1381
- /** Free-text description. */
1382
- description: Maybe<Scalars['String']['output']>;
1383
- /** Portfolio ID (`port_*` ULID). */
1384
- id: Scalars['String']['output'];
1385
- /** Date the portfolio was established (YYYY-MM-DD). */
1386
- inceptionDate: Maybe<Scalars['Date']['output']>;
1387
- /** Display name. */
1388
- name: Scalars['String']['output'];
1389
- /** Free-text strategy classification (e.g. `value`, `growth`, `income`). Open vocabulary. */
1390
- strategy: Maybe<Scalars['String']['output']>;
1391
- /** Last-modified timestamp (UTC). */
1392
- updatedAt: Scalars['DateTime']['output'];
1393
- };
1394
- /**
1395
- * Molecular response shape for portfolio-block operations.
1396
- *
1397
- * Bundles the portfolio core, its embedded positions, and pre-computed
1398
- * totals into a single payload — the contract for `create-portfolio-block`,
1399
- * `update-portfolio-block`, and the read-side `get-portfolio-block`.
1400
- * Cents-precision values aren't surfaced here; use `PositionResponse`
1401
- * / `PortfolioResponse` for those.
1402
- */
1403
- export type PortfolioBlock = {
1404
- /** Count of positions with `status='active'`. */
1405
- activePositionCount: Scalars['Int']['output'];
1406
- /** ISO 4217 currency code for portfolio aggregates. */
1407
- baseCurrency: Scalars['String']['output'];
1408
- /** Row creation timestamp (UTC). */
1409
- createdAt: Scalars['DateTime']['output'];
1410
- /** Free-text description. */
1411
- description: Maybe<Scalars['String']['output']>;
1412
- /** Portfolio ID (`port_*` ULID). */
1413
- id: Scalars['ID']['output'];
1414
- /** Date the portfolio was established. */
1415
- inceptionDate: Maybe<Scalars['Date']['output']>;
1416
- /** Display name. */
1417
- name: Scalars['String']['output'];
1418
- /** Embedded owning entity, when set. `null` for unattributed portfolios. */
1419
- owner: Maybe<EntityLite>;
1420
- /** All positions in this portfolio, including disposed ones (filter by `status` for active-only display). */
1421
- positions: Array<PositionBlock>;
1422
- /** Free-text strategy classification. */
1423
- strategy: Maybe<Scalars['String']['output']>;
1424
- /** Sum of `cost_basis_dollars` across every position. */
1425
- totalCostBasisDollars: Scalars['Float']['output'];
1426
- /** Sum of `current_value_dollars` across every position. `null` when any active position lacks a mark. */
1427
- totalCurrentValueDollars: Maybe<Scalars['Float']['output']>;
1428
- /** Last-modified timestamp (UTC). */
1429
- updatedAt: Scalars['DateTime']['output'];
1430
- };
1431
- /** Paginated list of portfolios. */
1432
- export type PortfolioList = {
1433
- /** Pagination cursor and totals. */
1434
- pagination: PaginationInfo;
1435
- /** Portfolios on this page. */
1436
- portfolios: Array<Portfolio>;
1437
- };
1438
- /**
1439
- * Read projection for a single position.
1440
- *
1441
- * Pairs cents-precision fields (`cost_basis`, `current_value`) with
1442
- * pre-computed dollar floats (`*_dollars`) to spare clients the
1443
- * conversion. The cents fields are authoritative.
1444
- */
1445
- export type Position = {
1446
- /** Date the position was acquired (YYYY-MM-DD). */
1447
- acquisitionDate: Maybe<Scalars['Date']['output']>;
1448
- /** Cost basis in **cents** of `currency`. Authoritative. */
1449
- costBasis: Scalars['Int']['output'];
1450
- /** Cost basis pre-converted to dollars (`cost_basis / 100`). Convenience for display; `cost_basis` is the source of truth. */
1451
- costBasisDollars: Scalars['Float']['output'];
1452
- /** Row creation timestamp (UTC). */
1453
- createdAt: Scalars['DateTime']['output'];
1454
- /** ISO 4217 currency code for `cost_basis` and `current_value`. */
1455
- currency: Scalars['String']['output'];
1456
- /** Latest mark-to-market value in **cents**, or `null` if unmarked. */
1457
- currentValue: Maybe<Scalars['Int']['output']>;
1458
- /** Current value in dollars (`current_value / 100`). `null` when `current_value` is null. */
1459
- currentValueDollars: Maybe<Scalars['Float']['output']>;
1460
- /** Date the position was disposed, if `status='disposed'`. `null` for active positions. */
1461
- dispositionDate: Maybe<Scalars['Date']['output']>;
1462
- /** Cached display name of the security's issuing entity. */
1463
- entityName: Maybe<Scalars['String']['output']>;
1464
- /** Position ID (`pos_*` ULID). */
1465
- id: Scalars['String']['output'];
1466
- /** Free-text notes attached to the position. */
1467
- notes: Maybe<Scalars['String']['output']>;
1468
- /** Owning portfolio ID. */
1469
- portfolioId: Scalars['String']['output'];
1470
- /** Quantity held in units defined by `quantity_type`. */
1471
- quantity: Scalars['Float']['output'];
1472
- /** Unit basis (`shares`, `units`, `principal`). */
1473
- quantityType: Scalars['String']['output'];
1474
- /** Held security ID. */
1475
- securityId: Scalars['String']['output'];
1476
- /** Cached display name of the held security, denormalized for list rendering. May lag the security row's current name briefly. */
1477
- securityName: Maybe<Scalars['String']['output']>;
1478
- /** Lifecycle state. One of: `active` (currently held), `disposed` (soft-deleted via `update-portfolio-block` dispose), `archived` (historical record only). */
1479
- status: Scalars['String']['output'];
1480
- /** Last-modified timestamp (UTC). */
1481
- updatedAt: Scalars['DateTime']['output'];
1482
- /** Date `current_value` was sourced (YYYY-MM-DD). */
1483
- valuationDate: Maybe<Scalars['Date']['output']>;
1484
- /** Free-text source attribution for the current valuation. */
1485
- valuationSource: Maybe<Scalars['String']['output']>;
1486
- };
1487
- /**
1488
- * Position projection embedded inside a `PortfolioBlockEnvelope`.
1489
- *
1490
- * Pre-converts cents fields to dollars (`cost_basis_dollars`,
1491
- * `current_value_dollars`) for display; the cents-precision fields
1492
- * live on the standalone `PositionResponse`. Embeds a `SecurityLite`
1493
- * so callers can render the security name without a follow-up fetch.
1494
- */
1495
- export type PositionBlock = {
1496
- /** Date the position was acquired. */
1497
- acquisitionDate: Maybe<Scalars['Date']['output']>;
1498
- /** Cost basis in dollars (pre-converted from cents). */
1499
- costBasisDollars: Scalars['Float']['output'];
1500
- /** Latest mark-to-market value in dollars. `null` when the position has not been marked. */
1501
- currentValueDollars: Maybe<Scalars['Float']['output']>;
1502
- /** Position ID (`pos_*` ULID). */
1503
- id: Scalars['ID']['output'];
1504
- /** Free-text notes attached to the position. */
1505
- notes: Maybe<Scalars['String']['output']>;
1506
- /** Quantity held in `quantity_type` units. */
1507
- quantity: Scalars['Float']['output'];
1508
- /** Unit basis (`shares`, `units`, `principal`). */
1509
- quantityType: Scalars['String']['output'];
1510
- /** Embedded security details — name, type, issuer. */
1511
- security: SecurityLite;
1512
- /** Lifecycle state (`active`, `disposed`, `archived`). See `PositionResponse.status` for the full vocabulary. */
1513
- status: Scalars['String']['output'];
1514
- /** Date the current value was sourced. */
1515
- valuationDate: Maybe<Scalars['Date']['output']>;
1516
- /** Free-text source attribution for the valuation. */
1517
- valuationSource: Maybe<Scalars['String']['output']>;
1518
- };
1519
- /** Paginated list of positions. */
1520
- export type PositionList = {
1521
- /** Pagination cursor and totals. */
1522
- pagination: PaginationInfo;
1523
- /** Positions on this page. */
1524
- positions: Array<Position>;
1525
- };
1526
- /** Publish list summary — header metadata, no members. */
1527
- export type PublishList = {
1528
- /** When the list was created. */
1529
- createdAt: Scalars['DateTime']['output'];
1530
- /** User ID that created the list. */
1531
- createdBy: Scalars['String']['output'];
1532
- /** Free-form description. */
1533
- description: Maybe<Scalars['String']['output']>;
1534
- /** List identifier (ULID). */
1535
- id: Scalars['String']['output'];
1536
- /** Number of recipient graphs currently on the list. */
1537
- memberCount: Scalars['Int']['output'];
1538
- /** Human-readable list name. */
1539
- name: Scalars['String']['output'];
1540
- /** Last metadata update (name/description). */
1541
- updatedAt: Scalars['DateTime']['output'];
1542
- };
1543
- /** Full detail including members. */
1544
- export type PublishListDetail = {
1545
- /** When the list was created. */
1546
- createdAt: Scalars['DateTime']['output'];
1547
- /** User ID that created the list. */
1548
- createdBy: Scalars['String']['output'];
1549
- /** Free-form description. */
1550
- description: Maybe<Scalars['String']['output']>;
1551
- /** List identifier (ULID). */
1552
- id: Scalars['String']['output'];
1553
- /** Number of recipient graphs currently on the list. */
1554
- memberCount: Scalars['Int']['output'];
1555
- /** All recipient graphs on the list. */
1556
- members: Array<PublishListMember>;
1557
- /** Human-readable list name. */
1558
- name: Scalars['String']['output'];
1559
- /** Last metadata update (name/description). */
1560
- updatedAt: Scalars['DateTime']['output'];
1561
- };
1562
- /** Paginated list of publish lists owned by the current graph. */
1563
- export type PublishListList = {
1564
- pagination: PaginationInfo;
1565
- /** Publish list summaries, newest first. */
1566
- publishLists: Array<PublishList>;
1567
- };
1568
- /** One recipient graph in a publish list. */
1569
- export type PublishListMember = {
1570
- /** When the member was added. */
1571
- addedAt: Scalars['DateTime']['output'];
1572
- /** User ID that added this member. */
1573
- addedBy: Scalars['String']['output'];
1574
- /** Membership row identifier (ULID). */
1575
- id: Scalars['String']['output'];
1576
- /** Recipient graph ID. */
1577
- targetGraphId: Scalars['String']['output'];
1578
- /** Display name of the recipient graph (if known). */
1579
- targetGraphName: Maybe<Scalars['String']['output']>;
1580
- /** Display name of the org that owns the recipient graph. */
1581
- targetOrgName: Maybe<Scalars['String']['output']>;
1582
- };
1583
- export type Query = {
1584
- accountRollups: Maybe<AccountRollups>;
1585
- accountTree: Maybe<AccountTree>;
1586
- accounts: Maybe<AccountList>;
1587
- agent: Maybe<Agent>;
1588
- agents: Array<Agent>;
1589
- blockedSourceGraphs: Maybe<BlockedSourceGraphList>;
1590
- closingBookStructures: Maybe<ClosingBookStructures>;
1591
- elements: Maybe<ElementList>;
1592
- entities: Array<LedgerEntity>;
1593
- entity: Maybe<LedgerEntity>;
1594
- eventBlock: Maybe<EventBlock>;
1595
- eventBlocks: Array<EventBlock>;
1596
- fiscalCalendar: Maybe<FiscalCalendar>;
1597
- hello: Scalars['String']['output'];
1598
- holdings: Maybe<HoldingsList>;
1599
- informationBlock: Maybe<InformationBlock>;
1600
- informationBlocks: Array<InformationBlock>;
1601
- libraryElement: Maybe<LibraryElement>;
1602
- libraryElementArcs: Array<LibraryElementArc>;
1603
- libraryElementClassifications: Array<LibraryElementClassification>;
1604
- libraryElementEquivalents: Maybe<LibraryEquivalence>;
1605
- libraryElementTree: Maybe<LibraryElementTreeNode>;
1606
- libraryElements: Array<LibraryElement>;
1607
- libraryStructure: Maybe<LibraryStructure>;
1608
- libraryStructures: Array<LibraryStructure>;
1609
- libraryTaxonomies: Array<LibraryTaxonomy>;
1610
- libraryTaxonomy: Maybe<LibraryTaxonomy>;
1611
- libraryTaxonomyArcCount: Scalars['Int']['output'];
1612
- libraryTaxonomyArcs: Array<LibraryAssociation>;
1613
- mappedTrialBalance: Maybe<MappedTrialBalance>;
1614
- mapping: Maybe<MappingDetail>;
1615
- mappingCandidates: Array<Element>;
1616
- mappingCoverage: Maybe<MappingCoverage>;
1617
- mappings: Maybe<StructureList>;
1618
- openPayables: OpenBalanceAggregate;
1619
- openPayablesByAgent: Array<OpenBalanceByAgent>;
1620
- openReceivables: OpenBalanceAggregate;
1621
- openReceivablesByAgent: Array<OpenBalanceByAgent>;
1622
- periodCloseStatus: Maybe<PeriodCloseStatus>;
1623
- periodDrafts: Maybe<PeriodDrafts>;
1624
- portfolioBlock: Maybe<PortfolioBlock>;
1625
- portfolios: Maybe<PortfolioList>;
1626
- position: Maybe<Position>;
1627
- positions: Maybe<PositionList>;
1628
- publishList: Maybe<PublishListDetail>;
1629
- publishLists: Maybe<PublishListList>;
1630
- report: Maybe<Report>;
1631
- reportDownloadUrl: Maybe<ReportBundleDownload>;
1632
- reportPackage: Maybe<ReportPackage>;
1633
- reportingTaxonomy: Maybe<Taxonomy>;
1634
- reports: Maybe<ReportList>;
1635
- searchLibraryElements: Array<LibraryElement>;
1636
- securities: Maybe<SecurityList>;
1637
- security: Maybe<Security>;
1638
- statement: Maybe<Statement>;
1639
- structures: Maybe<StructureList>;
1640
- summary: Maybe<LedgerSummary>;
1641
- taxonomies: Maybe<TaxonomyList>;
1642
- taxonomyBlock: Maybe<TaxonomyBlock>;
1643
- taxonomyBlocks: Array<TaxonomyBlock>;
1644
- transaction: Maybe<LedgerTransactionDetail>;
1645
- transactions: Maybe<LedgerTransactionList>;
1646
- trialBalance: Maybe<TrialBalance>;
1647
- unmappedElements: Array<UnmappedElement>;
1648
- };
1649
- export type QueryAccountRollupsArgs = {
1650
- endDate?: InputMaybe<Scalars['Date']['input']>;
1651
- mappingId?: InputMaybe<Scalars['String']['input']>;
1652
- startDate?: InputMaybe<Scalars['Date']['input']>;
1653
- };
1654
- export type QueryAccountTreeArgs = {
1655
- includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
1656
- };
1657
- export type QueryAccountsArgs = {
1658
- classification?: InputMaybe<Scalars['String']['input']>;
1659
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
1660
- limit?: InputMaybe<Scalars['Int']['input']>;
1661
- offset?: InputMaybe<Scalars['Int']['input']>;
1662
- };
1663
- export type QueryAgentArgs = {
1664
- id: Scalars['String']['input'];
1665
- };
1666
- export type QueryAgentsArgs = {
1667
- agentType?: InputMaybe<Scalars['String']['input']>;
1668
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
1669
- limit?: InputMaybe<Scalars['Int']['input']>;
1670
- offset?: InputMaybe<Scalars['Int']['input']>;
1671
- source?: InputMaybe<Scalars['String']['input']>;
1672
- };
1673
- export type QueryBlockedSourceGraphsArgs = {
1674
- limit?: InputMaybe<Scalars['Int']['input']>;
1675
- offset?: InputMaybe<Scalars['Int']['input']>;
1676
- };
1677
- export type QueryElementsArgs = {
1678
- classification?: InputMaybe<Scalars['String']['input']>;
1679
- isAbstract?: InputMaybe<Scalars['Boolean']['input']>;
1680
- limit?: InputMaybe<Scalars['Int']['input']>;
1681
- offset?: InputMaybe<Scalars['Int']['input']>;
1682
- source?: InputMaybe<Scalars['String']['input']>;
1683
- taxonomyId?: InputMaybe<Scalars['String']['input']>;
1684
- };
1685
- export type QueryEntitiesArgs = {
1686
- source?: InputMaybe<Scalars['String']['input']>;
1687
- };
1688
- export type QueryEventBlockArgs = {
1689
- id: Scalars['String']['input'];
1690
- };
1691
- export type QueryEventBlocksArgs = {
1692
- agentId?: InputMaybe<Scalars['String']['input']>;
1693
- eventCategory?: InputMaybe<Scalars['String']['input']>;
1694
- eventType?: InputMaybe<Scalars['String']['input']>;
1695
- isReconcilingItem?: InputMaybe<Scalars['Boolean']['input']>;
1696
- limit?: InputMaybe<Scalars['Int']['input']>;
1697
- offset?: InputMaybe<Scalars['Int']['input']>;
1698
- source?: InputMaybe<Scalars['String']['input']>;
1699
- status?: InputMaybe<Scalars['String']['input']>;
1700
- };
1701
- export type QueryHoldingsArgs = {
1702
- portfolioId: Scalars['String']['input'];
1703
- };
1704
- export type QueryInformationBlockArgs = {
1705
- id: Scalars['ID']['input'];
1706
- scenarioId?: InputMaybe<Scalars['String']['input']>;
1707
- series?: InputMaybe<Scalars['Boolean']['input']>;
1708
- seriesForecast?: InputMaybe<Scalars['Int']['input']>;
1709
- seriesHistory?: InputMaybe<Scalars['Int']['input']>;
1710
- };
1711
- export type QueryInformationBlocksArgs = {
1712
- blockType?: InputMaybe<Scalars['String']['input']>;
1713
- category?: InputMaybe<Scalars['String']['input']>;
1714
- limit?: InputMaybe<Scalars['Int']['input']>;
1715
- offset?: InputMaybe<Scalars['Int']['input']>;
1716
- scenarioId?: InputMaybe<Scalars['String']['input']>;
1717
- };
1718
- export type QueryLibraryElementArgs = {
1719
- id?: InputMaybe<Scalars['ID']['input']>;
1720
- qname?: InputMaybe<Scalars['String']['input']>;
1721
- };
1722
- export type QueryLibraryElementArcsArgs = {
1723
- id: Scalars['ID']['input'];
1724
- };
1725
- export type QueryLibraryElementClassificationsArgs = {
1726
- id: Scalars['ID']['input'];
1727
- };
1728
- export type QueryLibraryElementEquivalentsArgs = {
1729
- id: Scalars['ID']['input'];
1730
- };
1731
- export type QueryLibraryElementTreeArgs = {
1732
- id: Scalars['ID']['input'];
1733
- maxDepth?: InputMaybe<Scalars['Int']['input']>;
1734
- structureId?: InputMaybe<Scalars['ID']['input']>;
1735
- };
1736
- export type QueryLibraryElementsArgs = {
1737
- activityType?: InputMaybe<Scalars['String']['input']>;
1738
- classification?: InputMaybe<Scalars['String']['input']>;
1739
- elementType?: InputMaybe<Scalars['String']['input']>;
1740
- includeLabels?: InputMaybe<Scalars['Boolean']['input']>;
1741
- includeReferences?: InputMaybe<Scalars['Boolean']['input']>;
1742
- isAbstract?: InputMaybe<Scalars['Boolean']['input']>;
1743
- limit?: InputMaybe<Scalars['Int']['input']>;
1744
- offset?: InputMaybe<Scalars['Int']['input']>;
1745
- source?: InputMaybe<Scalars['String']['input']>;
1746
- taxonomyId?: InputMaybe<Scalars['ID']['input']>;
1747
- };
1748
- export type QueryLibraryStructureArgs = {
1749
- id: Scalars['ID']['input'];
1750
- };
1751
- export type QueryLibraryStructuresArgs = {
1752
- blockType?: InputMaybe<Scalars['String']['input']>;
1753
- taxonomyId?: InputMaybe<Scalars['ID']['input']>;
1754
- };
1755
- export type QueryLibraryTaxonomiesArgs = {
1756
- includeElementCount?: InputMaybe<Scalars['Boolean']['input']>;
1757
- standard?: InputMaybe<Scalars['String']['input']>;
1758
- };
1759
- export type QueryLibraryTaxonomyArgs = {
1760
- id?: InputMaybe<Scalars['ID']['input']>;
1761
- includeElementCount?: InputMaybe<Scalars['Boolean']['input']>;
1762
- standard?: InputMaybe<Scalars['String']['input']>;
1763
- version?: InputMaybe<Scalars['String']['input']>;
1764
- };
1765
- export type QueryLibraryTaxonomyArcCountArgs = {
1766
- associationType?: InputMaybe<Scalars['String']['input']>;
1767
- structureId?: InputMaybe<Scalars['ID']['input']>;
1768
- taxonomyId: Scalars['ID']['input'];
1769
- };
1770
- export type QueryLibraryTaxonomyArcsArgs = {
1771
- associationType?: InputMaybe<Scalars['String']['input']>;
1772
- limit?: InputMaybe<Scalars['Int']['input']>;
1773
- offset?: InputMaybe<Scalars['Int']['input']>;
1774
- structureId?: InputMaybe<Scalars['ID']['input']>;
1775
- taxonomyId: Scalars['ID']['input'];
1776
- };
1777
- export type QueryMappedTrialBalanceArgs = {
1778
- endDate?: InputMaybe<Scalars['Date']['input']>;
1779
- mappingId: Scalars['String']['input'];
1780
- startDate?: InputMaybe<Scalars['Date']['input']>;
1781
- };
1782
- export type QueryMappingArgs = {
1783
- mappingId: Scalars['String']['input'];
1784
- };
1785
- export type QueryMappingCandidatesArgs = {
1786
- classification: Scalars['String']['input'];
1787
- };
1788
- export type QueryMappingCoverageArgs = {
1789
- mappingId: Scalars['String']['input'];
1790
- };
1791
- export type QueryPeriodCloseStatusArgs = {
1792
- periodEnd: Scalars['Date']['input'];
1793
- periodStart: Scalars['Date']['input'];
1794
- };
1795
- export type QueryPeriodDraftsArgs = {
1796
- period: Scalars['String']['input'];
1797
- };
1798
- export type QueryPortfolioBlockArgs = {
1799
- portfolioId: Scalars['String']['input'];
1800
- };
1801
- export type QueryPortfoliosArgs = {
1802
- limit?: InputMaybe<Scalars['Int']['input']>;
1803
- offset?: InputMaybe<Scalars['Int']['input']>;
1804
- };
1805
- export type QueryPositionArgs = {
1806
- positionId: Scalars['String']['input'];
1807
- };
1808
- export type QueryPositionsArgs = {
1809
- limit?: InputMaybe<Scalars['Int']['input']>;
1810
- offset?: InputMaybe<Scalars['Int']['input']>;
1811
- portfolioId?: InputMaybe<Scalars['String']['input']>;
1812
- securityId?: InputMaybe<Scalars['String']['input']>;
1813
- status?: InputMaybe<Scalars['String']['input']>;
1814
- };
1815
- export type QueryPublishListArgs = {
1816
- listId: Scalars['String']['input'];
1817
- };
1818
- export type QueryPublishListsArgs = {
1819
- limit?: InputMaybe<Scalars['Int']['input']>;
1820
- offset?: InputMaybe<Scalars['Int']['input']>;
1821
- };
1822
- export type QueryReportArgs = {
1823
- reportId: Scalars['String']['input'];
1824
- };
1825
- export type QueryReportDownloadUrlArgs = {
1826
- expiresIn?: InputMaybe<Scalars['Int']['input']>;
1827
- format?: InputMaybe<ReportDownloadFormat>;
1828
- reportId: Scalars['String']['input'];
1829
- };
1830
- export type QueryReportPackageArgs = {
1831
- reportId: Scalars['String']['input'];
1832
- };
1833
- export type QuerySearchLibraryElementsArgs = {
1834
- limit?: InputMaybe<Scalars['Int']['input']>;
1835
- query: Scalars['String']['input'];
1836
- source?: InputMaybe<Scalars['String']['input']>;
1837
- };
1838
- export type QuerySecuritiesArgs = {
1839
- entityId?: InputMaybe<Scalars['String']['input']>;
1840
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
1841
- limit?: InputMaybe<Scalars['Int']['input']>;
1842
- offset?: InputMaybe<Scalars['Int']['input']>;
1843
- securityType?: InputMaybe<Scalars['String']['input']>;
1844
- };
1845
- export type QuerySecurityArgs = {
1846
- securityId: Scalars['String']['input'];
1847
- };
1848
- export type QueryStatementArgs = {
1849
- blockType: Scalars['String']['input'];
1850
- reportId: Scalars['String']['input'];
1851
- };
1852
- export type QueryStructuresArgs = {
1853
- blockType?: InputMaybe<Scalars['String']['input']>;
1854
- taxonomyId?: InputMaybe<Scalars['String']['input']>;
1855
- };
1856
- export type QueryTaxonomiesArgs = {
1857
- taxonomyType?: InputMaybe<Scalars['String']['input']>;
1858
- };
1859
- export type QueryTaxonomyBlockArgs = {
1860
- id: Scalars['ID']['input'];
1861
- };
1862
- export type QueryTaxonomyBlocksArgs = {
1863
- category?: InputMaybe<Scalars['String']['input']>;
1864
- limit?: InputMaybe<Scalars['Int']['input']>;
1865
- offset?: InputMaybe<Scalars['Int']['input']>;
1866
- parentTaxonomyId?: InputMaybe<Scalars['ID']['input']>;
1867
- taxonomyType?: InputMaybe<Scalars['String']['input']>;
1868
- };
1869
- export type QueryTransactionArgs = {
1870
- transactionId: Scalars['String']['input'];
1871
- };
1872
- export type QueryTransactionsArgs = {
1873
- endDate?: InputMaybe<Scalars['Date']['input']>;
1874
- limit?: InputMaybe<Scalars['Int']['input']>;
1875
- offset?: InputMaybe<Scalars['Int']['input']>;
1876
- startDate?: InputMaybe<Scalars['Date']['input']>;
1877
- type?: InputMaybe<Scalars['String']['input']>;
1878
- };
1879
- export type QueryTrialBalanceArgs = {
1880
- endDate?: InputMaybe<Scalars['Date']['input']>;
1881
- startDate?: InputMaybe<Scalars['Date']['input']>;
1882
- };
1883
- export type QueryUnmappedElementsArgs = {
1884
- mappingId?: InputMaybe<Scalars['String']['input']>;
1885
- };
1886
- /**
1887
- * Report definition summary — header metadata, no facts.
1888
- *
1889
- * Returned by ``create-report``, ``regenerate-report``,
1890
- * ``file-report``, and ``transition-filing-status``. Use the package
1891
- * read endpoint to retrieve a Report rehydrated with its rendered
1892
- * ``InformationBlockEnvelope`` items.
1893
- */
1894
- export type Report = {
1895
- /** True when the report was created by an AI agent rather than a user. */
1896
- aiGenerated: Scalars['Boolean']['output'];
1897
- /** True when an auto-generated prior-period column is included. */
1898
- comparative: Scalars['Boolean']['output'];
1899
- /** When the report row was created. */
1900
- createdAt: Scalars['DateTime']['output'];
1901
- /** Display name of the primary entity the report is tagged to. */
1902
- entityName: Maybe<Scalars['String']['output']>;
1903
- /** When the report was transitioned to `filed`. */
1904
- filedAt: Maybe<Scalars['DateTime']['output']>;
1905
- /** User ID that transitioned the report to `filed`. */
1906
- filedBy: Maybe<Scalars['String']['output']>;
1907
- /** Filing lifecycle (orthogonal to `generation_status`): `draft`, `under_review`, `filed`, `archived`. */
1908
- filingStatus: Scalars['String']['output'];
1909
- /** Computation lifecycle: `generating`, `published`, `failed`. Orthogonal to `filing_status`. */
1910
- generationStatus: Scalars['String']['output'];
1911
- /** Report identifier (ULID). */
1912
- id: Scalars['String']['output'];
1913
- /** When the facts were last (re)generated. */
1914
- lastGenerated: Maybe<Scalars['DateTime']['output']>;
1915
- /** CoA → taxonomy mapping the facts were rolled up through. */
1916
- mappingId: Maybe<Scalars['String']['output']>;
1917
- /** Human-readable report name. */
1918
- name: Scalars['String']['output'];
1919
- /** Current-period end. */
1920
- periodEnd: Maybe<Scalars['Date']['output']>;
1921
- /** Current-period start. */
1922
- periodStart: Maybe<Scalars['Date']['output']>;
1923
- /** Period cadence: `monthly`, `quarterly`, `annual`. */
1924
- periodType: Scalars['String']['output'];
1925
- /** Explicit period columns when the report was created with a multi-period layout. */
1926
- periods: Maybe<Array<PeriodSpec>>;
1927
- /** Counts by rule outcome (e.g. `{'passed': 12, 'failed': 1}`) from the most recent evaluation. Null until rules run. */
1928
- ruleSummary: Maybe<Scalars['JSON']['output']>;
1929
- /** When the report was shared into this graph (recipient side). */
1930
- sharedAt: Maybe<Scalars['DateTime']['output']>;
1931
- /** Origin graph for received (shared) reports — populated only on the recipient's copy. */
1932
- sourceGraphId: Maybe<Scalars['String']['output']>;
1933
- /** Origin report ID for received (shared) reports — populated only on the recipient's copy. */
1934
- sourceReportId: Maybe<Scalars['String']['output']>;
1935
- /** Structures available for this report's taxonomy — renderable sections (BS / IS / CF / Equity / Schedules). */
1936
- structures: Array<StructureSummary>;
1937
- /** When this report has been restated, the successor's report ID. */
1938
- supersededById: Maybe<Scalars['String']['output']>;
1939
- /** When this report restates an earlier filing, the predecessor's report ID. */
1940
- supersedesId: Maybe<Scalars['String']['output']>;
1941
- /** Taxonomy this report renders against. */
1942
- taxonomyId: Scalars['String']['output'];
1943
- };
1944
- /**
1945
- * Presigned-URL response for a published Report's serialization bundle.
1946
- *
1947
- * Every flavor resolves to a short-lived presigned URL pointing at the
1948
- * bundle in S3 — JSON-LD is stamped at publish time, XBRL is
1949
- * materialized on first download and cached by ``generation_count``.
1950
- * The client follows ``download_url`` to fetch the artifact directly
1951
- * from S3 (the API never streams the bytes). Mirrors the
1952
- * backup-download shape the frontend already consumes.
1953
- */
1954
- export type ReportBundleDownload = {
1955
- /** MIME type of the artifact behind the URL. */
1956
- contentType: Scalars['String']['output'];
1957
- /** Presigned URL that streams the bundle directly from S3. */
1958
- downloadUrl: Scalars['String']['output'];
1959
- /** UTC timestamp at which the presigned URL stops working. */
1960
- expiresAt: Scalars['DateTime']['output'];
1961
- /** Serialization flavor delivered by this URL — one of the ``RdfFlavor`` / ``XbrlFlavor`` values (e.g. ``jsonld``, ``xbrl-2.1``). */
1962
- format: Scalars['String']['output'];
1963
- /** Bundle generation number stamped on the Report. */
1964
- generationCount: Scalars['Int']['output'];
1965
- /** Content the Report carries that this flavor does not. ``disclosure_notes``: the XBRL 2.1 zip ships statements only — tenant-authored disclosure notes render on screen and ride the JSON-LD and holon flavors, but are excluded from this file. */
1966
- omittedContent: Array<Scalars['String']['output']>;
1967
- };
11
+ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
1968
12
  export type ReportDownloadFormat = 'HOLON_JSONLD' | 'JSONLD' | 'XBRL_2_1';
1969
- /** List of report header summaries (used by report list reads). */
1970
- export type ReportList = {
1971
- /** Report definitions, newest first. */
1972
- reports: Array<Report>;
1973
- };
1974
- export type ReportPackage = {
1975
- aiGenerated: Scalars['Boolean']['output'];
1976
- createdAt: Scalars['DateTime']['output'];
1977
- createdBy: Scalars['String']['output'];
1978
- description: Maybe<Scalars['String']['output']>;
1979
- entityName: Maybe<Scalars['String']['output']>;
1980
- filedAt: Maybe<Scalars['DateTime']['output']>;
1981
- filedBy: Maybe<Scalars['String']['output']>;
1982
- filingStatus: Scalars['String']['output'];
1983
- generationStatus: Scalars['String']['output'];
1984
- id: Scalars['ID']['output'];
1985
- items: Array<ReportPackageItem>;
1986
- lastGenerated: Maybe<Scalars['DateTime']['output']>;
1987
- name: Scalars['String']['output'];
1988
- periodEnd: Maybe<Scalars['Date']['output']>;
1989
- periodStart: Maybe<Scalars['Date']['output']>;
1990
- periodType: Scalars['String']['output'];
1991
- sharedAt: Maybe<Scalars['DateTime']['output']>;
1992
- sourceGraphId: Maybe<Scalars['String']['output']>;
1993
- sourceReportId: Maybe<Scalars['String']['output']>;
1994
- supersededById: Maybe<Scalars['String']['output']>;
1995
- supersedesId: Maybe<Scalars['String']['output']>;
1996
- taxonomyId: Scalars['String']['output'];
1997
- };
1998
- export type ReportPackageItem = {
1999
- block: InformationBlock;
2000
- displayOrder: Scalars['Int']['output'];
2001
- factSetId: Scalars['String']['output'];
2002
- structureId: Maybe<Scalars['String']['output']>;
2003
- };
2004
- export type Security = {
2005
- authorizedShares: Maybe<Scalars['Int']['output']>;
2006
- createdAt: Scalars['DateTime']['output'];
2007
- entityId: Maybe<Scalars['String']['output']>;
2008
- entityName: Maybe<Scalars['String']['output']>;
2009
- id: Scalars['ID']['output'];
2010
- isActive: Scalars['Boolean']['output'];
2011
- name: Scalars['String']['output'];
2012
- outstandingShares: Maybe<Scalars['Int']['output']>;
2013
- securitySubtype: Maybe<Scalars['String']['output']>;
2014
- securityType: Scalars['String']['output'];
2015
- sourceGraphId: Maybe<Scalars['String']['output']>;
2016
- terms: Scalars['JSON']['output'];
2017
- updatedAt: Scalars['DateTime']['output'];
2018
- };
2019
- export type SecurityList = {
2020
- pagination: PaginationInfo;
2021
- securities: Array<Security>;
2022
- };
2023
- /**
2024
- * Lightweight security projection for embedding in position
2025
- * envelopes. Skips `terms`, `outstanding_shares`, etc. — fetch the
2026
- * full `SecurityResponse` when those are needed.
2027
- */
2028
- export type SecurityLite = {
2029
- /** Security ID (`sec_*` ULID). */
2030
- id: Scalars['ID']['output'];
2031
- /** `true` when the security is in active status. */
2032
- isActive: Scalars['Boolean']['output'];
2033
- /** Embedded issuer entity, when one is linked. `null` for pre-issuer securities. */
2034
- issuer: Maybe<EntityLite>;
2035
- /** Display name of the security. */
2036
- name: Scalars['String']['output'];
2037
- /** Optional subtype refinement (e.g. `class_a`). */
2038
- securitySubtype: Maybe<Scalars['String']['output']>;
2039
- /** Instrument family (e.g. `common_stock`, `preferred_stock`, `warrant`). */
2040
- securityType: Scalars['String']['output'];
2041
- /** Tenant graph the security is pre-associated to, if any. */
2042
- sourceGraphId: Maybe<Scalars['String']['output']>;
2043
- };
2044
- /**
2045
- * Rendered financial statement — facts viewed through a structure.
2046
- *
2047
- * Returned by report read endpoints when a single statement is
2048
- * requested. The package mode endpoint returns a list of these
2049
- * rehydrated as ``InformationBlockEnvelope`` items instead.
2050
- */
2051
- export type Statement = {
2052
- /** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
2053
- blockType: Scalars['String']['output'];
2054
- /** Period columns rendered in this statement, in display order. */
2055
- periods: Array<PeriodSpec>;
2056
- /** The Report this statement was rendered from. */
2057
- reportId: Scalars['String']['output'];
2058
- /** One row per concept in the structure, in tree order. */
2059
- rows: Array<FactRow>;
2060
- /** Structure projected for this statement. */
2061
- structureId: Scalars['String']['output'];
2062
- /** Human-readable structure name. */
2063
- structureName: Scalars['String']['output'];
2064
- /** Number of GL elements that fell through the mapping with no destination concept. Indicates mapping gaps. */
2065
- unmappedCount: Scalars['Int']['output'];
2066
- /** Outcome of running reporting rules over this structure. Null when the structure has no rules attached. */
2067
- validation: Maybe<ValidationCheck>;
2068
- };
2069
- /**
2070
- * One structure header — a renderable section within a taxonomy
2071
- * (balance sheet, income statement, schedule, etc.).
2072
- *
2073
- * ``block_type`` drives presentation: 'balance_sheet',
2074
- * 'income_statement', 'cash_flow_statement', 'equity_statement',
2075
- * 'schedule', 'chart_of_accounts', 'coa_mapping', 'rollforward', etc.
2076
- */
2077
- export type Structure = {
2078
- blockType: Scalars['String']['output'];
2079
- description: Maybe<Scalars['String']['output']>;
2080
- id: Scalars['String']['output'];
2081
- isActive: Scalars['Boolean']['output'];
2082
- name: Scalars['String']['output'];
2083
- taxonomyId: Scalars['String']['output'];
2084
- };
2085
- /** Flat list of structures within a taxonomy. */
2086
- export type StructureList = {
2087
- structures: Array<Structure>;
2088
- };
2089
- /**
2090
- * A structure available within this report's taxonomy.
2091
- *
2092
- * Each structure is a renderable section (Balance Sheet, Income
2093
- * Statement, Cash Flow Statement, Equity, or a Schedule). The Report
2094
- * row owns the facts; structures are the lenses that project them.
2095
- */
2096
- export type StructureSummary = {
2097
- /** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
2098
- blockType: Scalars['String']['output'];
2099
- /** Structure identifier. */
2100
- id: Scalars['String']['output'];
2101
- /** Human-readable structure name. */
2102
- name: Scalars['String']['output'];
2103
- };
2104
- /** A suggested mapping target from the reporting taxonomy. */
2105
- export type SuggestedTarget = {
2106
- confidence: Maybe<Scalars['Float']['output']>;
2107
- elementId: Scalars['String']['output'];
2108
- name: Scalars['String']['output'];
2109
- qname: Scalars['String']['output'];
2110
- };
2111
- /**
2112
- * One taxonomy header — identity + lifecycle flags. Atoms
2113
- * (elements, structures, associations, rules) are exposed via the
2114
- * Taxonomy Block envelope.
2115
- *
2116
- * ``taxonomy_type`` discriminates: ``chart_of_accounts``,
2117
- * ``reporting_standard``, ``reporting_extension``, ``custom_ontology``,
2118
- * ``mapping``, ``schedule``. ``is_locked=True`` means library-origin
2119
- * (immutable for tenants); ``is_shared=True`` means visible to multiple
2120
- * graphs from a shared registry.
2121
- */
2122
- export type Taxonomy = {
2123
- description: Maybe<Scalars['String']['output']>;
2124
- id: Scalars['String']['output'];
2125
- isActive: Scalars['Boolean']['output'];
2126
- isLocked: Scalars['Boolean']['output'];
2127
- isShared: Scalars['Boolean']['output'];
2128
- name: Scalars['String']['output'];
2129
- namespaceUri: Maybe<Scalars['String']['output']>;
2130
- sourceTaxonomyId: Maybe<Scalars['String']['output']>;
2131
- standard: Maybe<Scalars['String']['output']>;
2132
- targetTaxonomyId: Maybe<Scalars['String']['output']>;
2133
- taxonomyType: Scalars['String']['output'];
2134
- version: Maybe<Scalars['String']['output']>;
2135
- };
2136
- export type TaxonomyBlock = {
2137
- associationCount: Scalars['Int']['output'];
2138
- associations: Array<TaxonomyBlockAssociation>;
2139
- category: Scalars['String']['output'];
2140
- displayName: Scalars['String']['output'];
2141
- elementCount: Scalars['Int']['output'];
2142
- elements: Array<TaxonomyBlockElement>;
2143
- id: Scalars['ID']['output'];
2144
- isLocked: Scalars['Boolean']['output'];
2145
- name: Scalars['String']['output'];
2146
- namespaceUri: Maybe<Scalars['String']['output']>;
2147
- parentTaxonomyId: Maybe<Scalars['String']['output']>;
2148
- parentTaxonomyName: Maybe<Scalars['String']['output']>;
2149
- rules: Array<TaxonomyBlockRule>;
2150
- standard: Maybe<Scalars['String']['output']>;
2151
- structureCount: Scalars['Int']['output'];
2152
- structures: Array<TaxonomyBlockStructure>;
2153
- taxonomyType: Scalars['String']['output'];
2154
- verificationResults: Array<Scalars['JSON']['output']>;
2155
- version: Maybe<Scalars['String']['output']>;
2156
- };
2157
- export type TaxonomyBlockAssociation = {
2158
- arcrole: Maybe<Scalars['String']['output']>;
2159
- associationType: Scalars['String']['output'];
2160
- fromElementQname: Scalars['String']['output'];
2161
- id: Scalars['String']['output'];
2162
- orderValue: Maybe<Scalars['Float']['output']>;
2163
- structureId: Scalars['String']['output'];
2164
- toElementQname: Scalars['String']['output'];
2165
- weight: Maybe<Scalars['Float']['output']>;
2166
- };
2167
- export type TaxonomyBlockElement = {
2168
- balanceType: Maybe<Scalars['String']['output']>;
2169
- depth: Maybe<Scalars['Int']['output']>;
2170
- elementType: Scalars['String']['output'];
2171
- id: Scalars['String']['output'];
2172
- isMonetary: Scalars['Boolean']['output'];
2173
- name: Scalars['String']['output'];
2174
- origin: Scalars['String']['output'];
2175
- parentQname: Maybe<Scalars['String']['output']>;
2176
- periodType: Maybe<Scalars['String']['output']>;
2177
- qname: Maybe<Scalars['String']['output']>;
2178
- trait: Maybe<Scalars['String']['output']>;
2179
- };
2180
- export type TaxonomyBlockRule = {
2181
- id: Scalars['String']['output'];
2182
- name: Scalars['String']['output'];
2183
- origin: Scalars['String']['output'];
2184
- ruleCategory: Scalars['String']['output'];
2185
- ruleExpression: Scalars['String']['output'];
2186
- rulePattern: Scalars['String']['output'];
2187
- severity: Scalars['String']['output'];
2188
- targetKind: Maybe<Scalars['String']['output']>;
2189
- targetRef: Maybe<Scalars['String']['output']>;
2190
- };
2191
- export type TaxonomyBlockStructure = {
2192
- blockType: Scalars['String']['output'];
2193
- description: Maybe<Scalars['String']['output']>;
2194
- id: Scalars['String']['output'];
2195
- name: Scalars['String']['output'];
2196
- roleUri: Maybe<Scalars['String']['output']>;
2197
- };
2198
- /** Flat list of taxonomy headers. Used by the catalog/picker UIs. */
2199
- export type TaxonomyList = {
2200
- taxonomies: Array<Taxonomy>;
2201
- };
2202
- /**
2203
- * Trial balance for posted entries in a date range — every CoA
2204
- * account that had activity, plus aggregate totals.
2205
- *
2206
- * Ledger is balanced when ``total_debits == total_credits``. Used as
2207
- * a sanity check before close-period; failure means an unposted /
2208
- * malformed entry slipped through.
2209
- */
2210
- export type TrialBalance = {
2211
- rows: Array<TrialBalanceRow>;
2212
- totalCredits: Scalars['Float']['output'];
2213
- totalDebits: Scalars['Float']['output'];
2214
- };
2215
- /** One CoA account's debit/credit totals over the trial-balance window. */
2216
- export type TrialBalanceRow = {
2217
- accountCode: Scalars['String']['output'];
2218
- accountId: Scalars['String']['output'];
2219
- accountName: Scalars['String']['output'];
2220
- accountType: Maybe<Scalars['String']['output']>;
2221
- netBalance: Scalars['Float']['output'];
2222
- totalCredits: Scalars['Float']['output'];
2223
- totalDebits: Scalars['Float']['output'];
2224
- trait: Maybe<Scalars['String']['output']>;
2225
- };
2226
- /** An element not yet mapped to the reporting taxonomy. */
2227
- export type UnmappedElement = {
2228
- balanceType: Scalars['String']['output'];
2229
- code: Maybe<Scalars['String']['output']>;
2230
- externalSource: Maybe<Scalars['String']['output']>;
2231
- id: Scalars['String']['output'];
2232
- liquidity: Maybe<Scalars['String']['output']>;
2233
- name: Scalars['String']['output'];
2234
- suggestedTargets: Array<SuggestedTarget>;
2235
- trait: Maybe<Scalars['String']['output']>;
2236
- };
2237
- /**
2238
- * A CoA→rs-gaap mapping whose target doesn't reach a Network root.
2239
- *
2240
- * The reporting layer is closed: every mapping target must trace upward
2241
- * through the rs-gaap calc DAG to one of the canonical roots
2242
- * (rs-gaap:Assets, rs-gaap:LiabilitiesAndStockholdersEquity,
2243
- * rs-gaap:NetIncomeLoss, rs-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease).
2244
- * When it doesn't, the fact will land on a dead branch — visible in the
2245
- * trial balance but invisible to any rendered statement. Surfacing
2246
- * these as defects lets operators fix the mapping before the report is
2247
- * filed.
2248
- */
2249
- export type UnreachableMappingType = {
2250
- coaCode: Maybe<Scalars['String']['output']>;
2251
- coaElementId: Scalars['String']['output'];
2252
- coaName: Maybe<Scalars['String']['output']>;
2253
- coaQname: Maybe<Scalars['String']['output']>;
2254
- targetElementId: Scalars['String']['output'];
2255
- targetName: Maybe<Scalars['String']['output']>;
2256
- targetQname: Maybe<Scalars['String']['output']>;
2257
- };
2258
- /**
2259
- * Aggregate result of running reporting rules over a structure.
2260
- *
2261
- * Every rule runs once per rendered period column; on a multi-column
2262
- * statement each failure and warning is prefixed with the column it was
2263
- * found in (``[Prior] …``).
2264
- */
2265
- export type ValidationCheck = {
2266
- /** Names of rules that were evaluated. */
2267
- checks: Array<Scalars['String']['output']>;
2268
- /** Human-readable descriptions of rule failures. */
2269
- failures: Array<Scalars['String']['output']>;
2270
- /** True iff at least one rule ran and every rule produced zero failures on every rendered column. False when nothing was checked (`status == 'inconclusive'`). */
2271
- passed: Scalars['Boolean']['output'];
2272
- /** `passed` — every rule ran on every column with zero failures; `failed` — at least one rule failed; `inconclusive` — no validation rules exist for this block type, so nothing was checked. */
2273
- status: Scalars['String']['output'];
2274
- /** Non-blocking advisories from rule evaluation. */
2275
- warnings: Array<Scalars['String']['output']>;
2276
- };
2277
13
  export type GetInvestorHoldingsQueryVariables = Exact<{
2278
- portfolioId: Scalars['String']['input'];
14
+ portfolioId: string;
2279
15
  }>;
2280
16
  export type GetInvestorHoldingsQuery = {
2281
17
  holdings: {
@@ -2301,7 +37,7 @@ export type GetInvestorHoldingsQuery = {
2301
37
  } | null;
2302
38
  };
2303
39
  export type GetInvestorPortfolioBlockQueryVariables = Exact<{
2304
- portfolioId: Scalars['String']['input'];
40
+ portfolioId: string;
2305
41
  }>;
2306
42
  export type GetInvestorPortfolioBlockQuery = {
2307
43
  portfolioBlock: {
@@ -2309,13 +45,13 @@ export type GetInvestorPortfolioBlockQuery = {
2309
45
  name: string;
2310
46
  description: string | null;
2311
47
  strategy: string | null;
2312
- inceptionDate: any | null;
48
+ inceptionDate: string | null;
2313
49
  baseCurrency: string;
2314
50
  totalCostBasisDollars: number;
2315
51
  totalCurrentValueDollars: number | null;
2316
52
  activePositionCount: number;
2317
- createdAt: any;
2318
- updatedAt: any;
53
+ createdAt: string;
54
+ updatedAt: string;
2319
55
  owner: {
2320
56
  id: string;
2321
57
  name: string;
@@ -2327,9 +63,9 @@ export type GetInvestorPortfolioBlockQuery = {
2327
63
  quantityType: string;
2328
64
  costBasisDollars: number;
2329
65
  currentValueDollars: number | null;
2330
- valuationDate: any | null;
66
+ valuationDate: string | null;
2331
67
  valuationSource: string | null;
2332
- acquisitionDate: any | null;
68
+ acquisitionDate: string | null;
2333
69
  status: string;
2334
70
  notes: string | null;
2335
71
  security: {
@@ -2349,8 +85,8 @@ export type GetInvestorPortfolioBlockQuery = {
2349
85
  } | null;
2350
86
  };
2351
87
  export type ListInvestorPortfoliosQueryVariables = Exact<{
2352
- limit?: Scalars['Int']['input'];
2353
- offset?: Scalars['Int']['input'];
88
+ limit?: number;
89
+ offset?: number;
2354
90
  }>;
2355
91
  export type ListInvestorPortfoliosQuery = {
2356
92
  portfolios: {
@@ -2359,10 +95,10 @@ export type ListInvestorPortfoliosQuery = {
2359
95
  name: string;
2360
96
  description: string | null;
2361
97
  strategy: string | null;
2362
- inceptionDate: any | null;
98
+ inceptionDate: string | null;
2363
99
  baseCurrency: string;
2364
- createdAt: any;
2365
- updatedAt: any;
100
+ createdAt: string;
101
+ updatedAt: string;
2366
102
  }>;
2367
103
  pagination: {
2368
104
  total: number;
@@ -2373,7 +109,7 @@ export type ListInvestorPortfoliosQuery = {
2373
109
  } | null;
2374
110
  };
2375
111
  export type GetInvestorPositionQueryVariables = Exact<{
2376
- positionId: Scalars['String']['input'];
112
+ positionId: string;
2377
113
  }>;
2378
114
  export type GetInvestorPositionQuery = {
2379
115
  position: {
@@ -2389,22 +125,22 @@ export type GetInvestorPositionQuery = {
2389
125
  currency: string;
2390
126
  currentValue: number | null;
2391
127
  currentValueDollars: number | null;
2392
- valuationDate: any | null;
128
+ valuationDate: string | null;
2393
129
  valuationSource: string | null;
2394
- acquisitionDate: any | null;
2395
- dispositionDate: any | null;
130
+ acquisitionDate: string | null;
131
+ dispositionDate: string | null;
2396
132
  status: string;
2397
133
  notes: string | null;
2398
- createdAt: any;
2399
- updatedAt: any;
134
+ createdAt: string;
135
+ updatedAt: string;
2400
136
  } | null;
2401
137
  };
2402
138
  export type ListInvestorPositionsQueryVariables = Exact<{
2403
- portfolioId: InputMaybe<Scalars['String']['input']>;
2404
- securityId: InputMaybe<Scalars['String']['input']>;
2405
- status: InputMaybe<Scalars['String']['input']>;
2406
- limit?: Scalars['Int']['input'];
2407
- offset?: Scalars['Int']['input'];
139
+ portfolioId: string | null | undefined;
140
+ securityId: string | null | undefined;
141
+ status: string | null | undefined;
142
+ limit?: number;
143
+ offset?: number;
2408
144
  }>;
2409
145
  export type ListInvestorPositionsQuery = {
2410
146
  positions: {
@@ -2421,14 +157,14 @@ export type ListInvestorPositionsQuery = {
2421
157
  currency: string;
2422
158
  currentValue: number | null;
2423
159
  currentValueDollars: number | null;
2424
- valuationDate: any | null;
160
+ valuationDate: string | null;
2425
161
  valuationSource: string | null;
2426
- acquisitionDate: any | null;
2427
- dispositionDate: any | null;
162
+ acquisitionDate: string | null;
163
+ dispositionDate: string | null;
2428
164
  status: string;
2429
165
  notes: string | null;
2430
- createdAt: any;
2431
- updatedAt: any;
166
+ createdAt: string;
167
+ updatedAt: string;
2432
168
  }>;
2433
169
  pagination: {
2434
170
  total: number;
@@ -2439,11 +175,11 @@ export type ListInvestorPositionsQuery = {
2439
175
  } | null;
2440
176
  };
2441
177
  export type ListInvestorSecuritiesQueryVariables = Exact<{
2442
- entityId: InputMaybe<Scalars['String']['input']>;
2443
- securityType: InputMaybe<Scalars['String']['input']>;
2444
- isActive: InputMaybe<Scalars['Boolean']['input']>;
2445
- limit?: Scalars['Int']['input'];
2446
- offset?: Scalars['Int']['input'];
178
+ entityId: string | null | undefined;
179
+ securityType: string | null | undefined;
180
+ isActive: boolean | null | undefined;
181
+ limit?: number;
182
+ offset?: number;
2447
183
  }>;
2448
184
  export type ListInvestorSecuritiesQuery = {
2449
185
  securities: {
@@ -2455,12 +191,12 @@ export type ListInvestorSecuritiesQuery = {
2455
191
  name: string;
2456
192
  securityType: string;
2457
193
  securitySubtype: string | null;
2458
- terms: any;
194
+ terms: unknown;
2459
195
  isActive: boolean;
2460
196
  authorizedShares: number | null;
2461
197
  outstandingShares: number | null;
2462
- createdAt: any;
2463
- updatedAt: any;
198
+ createdAt: string;
199
+ updatedAt: string;
2464
200
  }>;
2465
201
  pagination: {
2466
202
  total: number;
@@ -2471,7 +207,7 @@ export type ListInvestorSecuritiesQuery = {
2471
207
  } | null;
2472
208
  };
2473
209
  export type GetInvestorSecurityQueryVariables = Exact<{
2474
- securityId: Scalars['String']['input'];
210
+ securityId: string;
2475
211
  }>;
2476
212
  export type GetInvestorSecurityQuery = {
2477
213
  security: {
@@ -2482,18 +218,18 @@ export type GetInvestorSecurityQuery = {
2482
218
  name: string;
2483
219
  securityType: string;
2484
220
  securitySubtype: string | null;
2485
- terms: any;
221
+ terms: unknown;
2486
222
  isActive: boolean;
2487
223
  authorizedShares: number | null;
2488
224
  outstandingShares: number | null;
2489
- createdAt: any;
2490
- updatedAt: any;
225
+ createdAt: string;
226
+ updatedAt: string;
2491
227
  } | null;
2492
228
  };
2493
229
  export type GetLedgerAccountRollupsQueryVariables = Exact<{
2494
- mappingId: InputMaybe<Scalars['String']['input']>;
2495
- startDate: InputMaybe<Scalars['Date']['input']>;
2496
- endDate: InputMaybe<Scalars['Date']['input']>;
230
+ mappingId: string | null | undefined;
231
+ startDate: string | null | undefined;
232
+ endDate: string | null | undefined;
2497
233
  }>;
2498
234
  export type GetLedgerAccountRollupsQuery = {
2499
235
  accountRollups: {
@@ -2568,10 +304,10 @@ export type GetLedgerAccountTreeQuery = {
2568
304
  } | null;
2569
305
  };
2570
306
  export type ListLedgerAccountsQueryVariables = Exact<{
2571
- classification: InputMaybe<Scalars['String']['input']>;
2572
- isActive: InputMaybe<Scalars['Boolean']['input']>;
2573
- limit?: Scalars['Int']['input'];
2574
- offset?: Scalars['Int']['input'];
307
+ classification: string | null | undefined;
308
+ isActive: boolean | null | undefined;
309
+ limit?: number;
310
+ offset?: number;
2575
311
  }>;
2576
312
  export type ListLedgerAccountsQuery = {
2577
313
  accounts: {
@@ -2600,7 +336,7 @@ export type ListLedgerAccountsQuery = {
2600
336
  } | null;
2601
337
  };
2602
338
  export type GetLedgerAgentQueryVariables = Exact<{
2603
- id: Scalars['String']['input'];
339
+ id: string;
2604
340
  }>;
2605
341
  export type GetLedgerAgentQuery = {
2606
342
  agent: {
@@ -2614,22 +350,22 @@ export type GetLedgerAgentQuery = {
2614
350
  lei: string | null;
2615
351
  email: string | null;
2616
352
  phone: string | null;
2617
- address: any | null;
353
+ address: unknown;
2618
354
  source: string;
2619
355
  externalId: string | null;
2620
356
  isActive: boolean;
2621
357
  is1099Recipient: boolean;
2622
- createdAt: any | null;
2623
- updatedAt: any | null;
358
+ createdAt: string | null;
359
+ updatedAt: string | null;
2624
360
  createdBy: string | null;
2625
361
  } | null;
2626
362
  };
2627
363
  export type ListLedgerAgentsQueryVariables = Exact<{
2628
- agentType: InputMaybe<Scalars['String']['input']>;
2629
- source: InputMaybe<Scalars['String']['input']>;
2630
- isActive?: InputMaybe<Scalars['Boolean']['input']>;
2631
- limit?: Scalars['Int']['input'];
2632
- offset?: Scalars['Int']['input'];
364
+ agentType: string | null | undefined;
365
+ source: string | null | undefined;
366
+ isActive?: boolean | null | undefined;
367
+ limit?: number;
368
+ offset?: number;
2633
369
  }>;
2634
370
  export type ListLedgerAgentsQuery = {
2635
371
  agents: Array<{
@@ -2643,19 +379,19 @@ export type ListLedgerAgentsQuery = {
2643
379
  lei: string | null;
2644
380
  email: string | null;
2645
381
  phone: string | null;
2646
- address: any | null;
382
+ address: unknown;
2647
383
  source: string;
2648
384
  externalId: string | null;
2649
385
  isActive: boolean;
2650
386
  is1099Recipient: boolean;
2651
- createdAt: any | null;
2652
- updatedAt: any | null;
387
+ createdAt: string | null;
388
+ updatedAt: string | null;
2653
389
  createdBy: string | null;
2654
390
  }>;
2655
391
  };
2656
392
  export type ListLedgerBlockedSourceGraphsQueryVariables = Exact<{
2657
- limit?: Scalars['Int']['input'];
2658
- offset?: Scalars['Int']['input'];
393
+ limit?: number;
394
+ offset?: number;
2659
395
  }>;
2660
396
  export type ListLedgerBlockedSourceGraphsQuery = {
2661
397
  blockedSourceGraphs: {
@@ -2664,7 +400,7 @@ export type ListLedgerBlockedSourceGraphsQuery = {
2664
400
  sourceGraphId: string;
2665
401
  sourceGraphName: string | null;
2666
402
  blockedBy: string;
2667
- blockedAt: any;
403
+ blockedAt: string;
2668
404
  reason: string | null;
2669
405
  }>;
2670
406
  pagination: {
@@ -2695,12 +431,12 @@ export type GetLedgerClosingBookStructuresQuery = {
2695
431
  } | null;
2696
432
  };
2697
433
  export type ListLedgerElementsQueryVariables = Exact<{
2698
- taxonomyId: InputMaybe<Scalars['String']['input']>;
2699
- source: InputMaybe<Scalars['String']['input']>;
2700
- classification: InputMaybe<Scalars['String']['input']>;
2701
- isAbstract: InputMaybe<Scalars['Boolean']['input']>;
2702
- limit?: Scalars['Int']['input'];
2703
- offset?: Scalars['Int']['input'];
434
+ taxonomyId: string | null | undefined;
435
+ source: string | null | undefined;
436
+ classification: string | null | undefined;
437
+ isAbstract: boolean | null | undefined;
438
+ limit?: number;
439
+ offset?: number;
2704
440
  }>;
2705
441
  export type ListLedgerElementsQuery = {
2706
442
  elements: {
@@ -2734,7 +470,7 @@ export type ListLedgerElementsQuery = {
2734
470
  } | null;
2735
471
  };
2736
472
  export type ListLedgerEntitiesQueryVariables = Exact<{
2737
- source: InputMaybe<Scalars['String']['input']>;
473
+ source: string | null | undefined;
2738
474
  }>;
2739
475
  export type ListLedgerEntitiesQuery = {
2740
476
  entities: Array<{
@@ -2795,7 +531,7 @@ export type GetLedgerEntityQuery = {
2795
531
  } | null;
2796
532
  };
2797
533
  export type GetLedgerEventBlockQueryVariables = Exact<{
2798
- id: Scalars['String']['input'];
534
+ id: string;
2799
535
  }>;
2800
536
  export type GetLedgerEventBlockQuery = {
2801
537
  eventBlock: {
@@ -2804,15 +540,15 @@ export type GetLedgerEventBlockQuery = {
2804
540
  eventCategory: string;
2805
541
  eventClass: string;
2806
542
  status: string;
2807
- occurredAt: any;
2808
- effectiveAt: any | null;
543
+ occurredAt: string;
544
+ effectiveAt: string | null;
2809
545
  source: string;
2810
546
  externalId: string | null;
2811
547
  externalUrl: string | null;
2812
548
  amount: number | null;
2813
549
  currency: string;
2814
550
  description: string | null;
2815
- metadata: any;
551
+ metadata: unknown;
2816
552
  dimensionIds: Array<string>;
2817
553
  agentId: string | null;
2818
554
  resourceType: string | null;
@@ -2821,18 +557,18 @@ export type GetLedgerEventBlockQuery = {
2821
557
  replacesEventId: string | null;
2822
558
  obligatedByEventId: string | null;
2823
559
  dischargesEventId: string | null;
2824
- createdAt: any;
560
+ createdAt: string;
2825
561
  createdBy: string;
2826
562
  } | null;
2827
563
  };
2828
564
  export type ListLedgerEventBlocksQueryVariables = Exact<{
2829
- eventType: InputMaybe<Scalars['String']['input']>;
2830
- eventCategory: InputMaybe<Scalars['String']['input']>;
2831
- status: InputMaybe<Scalars['String']['input']>;
2832
- agentId: InputMaybe<Scalars['String']['input']>;
2833
- source: InputMaybe<Scalars['String']['input']>;
2834
- limit?: Scalars['Int']['input'];
2835
- offset?: Scalars['Int']['input'];
565
+ eventType: string | null | undefined;
566
+ eventCategory: string | null | undefined;
567
+ status: string | null | undefined;
568
+ agentId: string | null | undefined;
569
+ source: string | null | undefined;
570
+ limit?: number;
571
+ offset?: number;
2836
572
  }>;
2837
573
  export type ListLedgerEventBlocksQuery = {
2838
574
  eventBlocks: Array<{
@@ -2841,15 +577,15 @@ export type ListLedgerEventBlocksQuery = {
2841
577
  eventCategory: string;
2842
578
  eventClass: string;
2843
579
  status: string;
2844
- occurredAt: any;
2845
- effectiveAt: any | null;
580
+ occurredAt: string;
581
+ effectiveAt: string | null;
2846
582
  source: string;
2847
583
  externalId: string | null;
2848
584
  externalUrl: string | null;
2849
585
  amount: number | null;
2850
586
  currency: string;
2851
587
  description: string | null;
2852
- metadata: any;
588
+ metadata: unknown;
2853
589
  dimensionIds: Array<string>;
2854
590
  agentId: string | null;
2855
591
  resourceType: string | null;
@@ -2858,7 +594,7 @@ export type ListLedgerEventBlocksQuery = {
2858
594
  replacesEventId: string | null;
2859
595
  obligatedByEventId: string | null;
2860
596
  dischargesEventId: string | null;
2861
- createdAt: any;
597
+ createdAt: string;
2862
598
  createdBy: string;
2863
599
  }>;
2864
600
  };
@@ -2879,9 +615,9 @@ export type GetLedgerFiscalCalendarQuery = {
2879
615
  earliestPendingPeriod: string | null;
2880
616
  strandedObligationCount: number;
2881
617
  syncStaleDays: number | null;
2882
- lastCloseAt: any | null;
2883
- initializedAt: any | null;
2884
- lastSyncAt: any | null;
618
+ lastCloseAt: string | null;
619
+ initializedAt: string | null;
620
+ lastSyncAt: string | null;
2885
621
  pendingObligationSample: Array<{
2886
622
  eventId: string;
2887
623
  scheduleId: string | null;
@@ -2896,17 +632,17 @@ export type GetLedgerFiscalCalendarQuery = {
2896
632
  }>;
2897
633
  periods: Array<{
2898
634
  name: string;
2899
- startDate: any;
2900
- endDate: any;
635
+ startDate: string;
636
+ endDate: string;
2901
637
  status: string;
2902
- closedAt: any | null;
638
+ closedAt: string | null;
2903
639
  }>;
2904
640
  } | null;
2905
641
  };
2906
642
  export type GetInformationBlockQueryVariables = Exact<{
2907
- id: Scalars['ID']['input'];
2908
- scenarioId: InputMaybe<Scalars['String']['input']>;
2909
- series?: Scalars['Boolean']['input'];
643
+ id: string | number;
644
+ scenarioId: string | null | undefined;
645
+ series?: boolean;
2910
646
  }>;
2911
647
  export type GetInformationBlockQuery = {
2912
648
  informationBlock: {
@@ -2924,8 +660,8 @@ export type GetInformationBlockQuery = {
2924
660
  artifact: {
2925
661
  topic: string | null;
2926
662
  rendererNote: string | null;
2927
- template: any | null;
2928
- mechanics: any;
663
+ template: unknown;
664
+ mechanics: unknown;
2929
665
  };
2930
666
  elements: Array<{
2931
667
  id: string;
@@ -2954,8 +690,8 @@ export type GetInformationBlockQuery = {
2954
690
  textValue: string | null;
2955
691
  factType: string;
2956
692
  contentType: string | null;
2957
- periodStart: any | null;
2958
- periodEnd: any;
693
+ periodStart: string | null;
694
+ periodEnd: string;
2959
695
  periodType: string;
2960
696
  unit: string;
2961
697
  factScope: string;
@@ -2982,13 +718,13 @@ export type GetInformationBlockQuery = {
2982
718
  factSet: {
2983
719
  id: string;
2984
720
  structureId: string | null;
2985
- periodStart: any | null;
2986
- periodEnd: any;
721
+ periodStart: string | null;
722
+ periodEnd: string;
2987
723
  factsetType: string;
2988
724
  entityId: string;
2989
725
  reportId: string | null;
2990
726
  scenarioId: string | null;
2991
- provenance: any | null;
727
+ provenance: unknown;
2992
728
  } | null;
2993
729
  verificationResults: Array<{
2994
730
  id: string;
@@ -2997,9 +733,9 @@ export type GetInformationBlockQuery = {
2997
733
  factSetId: string | null;
2998
734
  status: string;
2999
735
  message: string | null;
3000
- periodStart: any | null;
3001
- periodEnd: any | null;
3002
- evaluatedAt: any | null;
736
+ periodStart: string | null;
737
+ periodEnd: string | null;
738
+ evaluatedAt: string | null;
3003
739
  }>;
3004
740
  verificationSummary: {
3005
741
  total: number;
@@ -3032,8 +768,8 @@ export type GetInformationBlockQuery = {
3032
768
  depth: number;
3033
769
  }>;
3034
770
  periods: Array<{
3035
- start: any;
3036
- end: any;
771
+ start: string;
772
+ end: string;
3037
773
  label: string | null;
3038
774
  forecast: boolean | null;
3039
775
  }>;
@@ -3060,11 +796,11 @@ export type GetInformationBlockQuery = {
3060
796
  } | null;
3061
797
  };
3062
798
  export type GetInformationBlockWindowedQueryVariables = Exact<{
3063
- id: Scalars['ID']['input'];
3064
- scenarioId: InputMaybe<Scalars['String']['input']>;
3065
- series?: Scalars['Boolean']['input'];
3066
- seriesHistory: InputMaybe<Scalars['Int']['input']>;
3067
- seriesForecast: InputMaybe<Scalars['Int']['input']>;
799
+ id: string | number;
800
+ scenarioId: string | null | undefined;
801
+ series?: boolean;
802
+ seriesHistory: number | null | undefined;
803
+ seriesForecast: number | null | undefined;
3068
804
  }>;
3069
805
  export type GetInformationBlockWindowedQuery = {
3070
806
  informationBlock: {
@@ -3082,8 +818,8 @@ export type GetInformationBlockWindowedQuery = {
3082
818
  artifact: {
3083
819
  topic: string | null;
3084
820
  rendererNote: string | null;
3085
- template: any | null;
3086
- mechanics: any;
821
+ template: unknown;
822
+ mechanics: unknown;
3087
823
  };
3088
824
  elements: Array<{
3089
825
  id: string;
@@ -3112,8 +848,8 @@ export type GetInformationBlockWindowedQuery = {
3112
848
  textValue: string | null;
3113
849
  factType: string;
3114
850
  contentType: string | null;
3115
- periodStart: any | null;
3116
- periodEnd: any;
851
+ periodStart: string | null;
852
+ periodEnd: string;
3117
853
  periodType: string;
3118
854
  unit: string;
3119
855
  factScope: string;
@@ -3140,13 +876,13 @@ export type GetInformationBlockWindowedQuery = {
3140
876
  factSet: {
3141
877
  id: string;
3142
878
  structureId: string | null;
3143
- periodStart: any | null;
3144
- periodEnd: any;
879
+ periodStart: string | null;
880
+ periodEnd: string;
3145
881
  factsetType: string;
3146
882
  entityId: string;
3147
883
  reportId: string | null;
3148
884
  scenarioId: string | null;
3149
- provenance: any | null;
885
+ provenance: unknown;
3150
886
  } | null;
3151
887
  verificationResults: Array<{
3152
888
  id: string;
@@ -3155,9 +891,9 @@ export type GetInformationBlockWindowedQuery = {
3155
891
  factSetId: string | null;
3156
892
  status: string;
3157
893
  message: string | null;
3158
- periodStart: any | null;
3159
- periodEnd: any | null;
3160
- evaluatedAt: any | null;
894
+ periodStart: string | null;
895
+ periodEnd: string | null;
896
+ evaluatedAt: string | null;
3161
897
  }>;
3162
898
  verificationSummary: {
3163
899
  total: number;
@@ -3190,8 +926,8 @@ export type GetInformationBlockWindowedQuery = {
3190
926
  depth: number;
3191
927
  }>;
3192
928
  periods: Array<{
3193
- start: any;
3194
- end: any;
929
+ start: string;
930
+ end: string;
3195
931
  label: string | null;
3196
932
  forecast: boolean | null;
3197
933
  }>;
@@ -3218,11 +954,11 @@ export type GetInformationBlockWindowedQuery = {
3218
954
  } | null;
3219
955
  };
3220
956
  export type ListInformationBlocksQueryVariables = Exact<{
3221
- blockType: InputMaybe<Scalars['String']['input']>;
3222
- category: InputMaybe<Scalars['String']['input']>;
3223
- limit: InputMaybe<Scalars['Int']['input']>;
3224
- offset: InputMaybe<Scalars['Int']['input']>;
3225
- scenarioId: InputMaybe<Scalars['String']['input']>;
957
+ blockType: string | null | undefined;
958
+ category: string | null | undefined;
959
+ limit: number | null | undefined;
960
+ offset: number | null | undefined;
961
+ scenarioId: string | null | undefined;
3226
962
  }>;
3227
963
  export type ListInformationBlocksQuery = {
3228
964
  informationBlocks: Array<{
@@ -3240,8 +976,8 @@ export type ListInformationBlocksQuery = {
3240
976
  artifact: {
3241
977
  topic: string | null;
3242
978
  rendererNote: string | null;
3243
- template: any | null;
3244
- mechanics: any;
979
+ template: unknown;
980
+ mechanics: unknown;
3245
981
  };
3246
982
  elements: Array<{
3247
983
  id: string;
@@ -3270,8 +1006,8 @@ export type ListInformationBlocksQuery = {
3270
1006
  textValue: string | null;
3271
1007
  factType: string;
3272
1008
  contentType: string | null;
3273
- periodStart: any | null;
3274
- periodEnd: any;
1009
+ periodStart: string | null;
1010
+ periodEnd: string;
3275
1011
  periodType: string;
3276
1012
  unit: string;
3277
1013
  factScope: string;
@@ -3298,13 +1034,13 @@ export type ListInformationBlocksQuery = {
3298
1034
  factSet: {
3299
1035
  id: string;
3300
1036
  structureId: string | null;
3301
- periodStart: any | null;
3302
- periodEnd: any;
1037
+ periodStart: string | null;
1038
+ periodEnd: string;
3303
1039
  factsetType: string;
3304
1040
  entityId: string;
3305
1041
  reportId: string | null;
3306
1042
  scenarioId: string | null;
3307
- provenance: any | null;
1043
+ provenance: unknown;
3308
1044
  } | null;
3309
1045
  verificationResults: Array<{
3310
1046
  id: string;
@@ -3313,9 +1049,9 @@ export type ListInformationBlocksQuery = {
3313
1049
  factSetId: string | null;
3314
1050
  status: string;
3315
1051
  message: string | null;
3316
- periodStart: any | null;
3317
- periodEnd: any | null;
3318
- evaluatedAt: any | null;
1052
+ periodStart: string | null;
1053
+ periodEnd: string | null;
1054
+ evaluatedAt: string | null;
3319
1055
  }>;
3320
1056
  verificationSummary: {
3321
1057
  total: number;
@@ -3348,8 +1084,8 @@ export type ListInformationBlocksQuery = {
3348
1084
  depth: number;
3349
1085
  }>;
3350
1086
  periods: Array<{
3351
- start: any;
3352
- end: any;
1087
+ start: string;
1088
+ end: string;
3353
1089
  label: string | null;
3354
1090
  forecast: boolean | null;
3355
1091
  }>;
@@ -3376,9 +1112,9 @@ export type ListInformationBlocksQuery = {
3376
1112
  }>;
3377
1113
  };
3378
1114
  export type GetLedgerMappedTrialBalanceQueryVariables = Exact<{
3379
- mappingId: Scalars['String']['input'];
3380
- startDate: InputMaybe<Scalars['Date']['input']>;
3381
- endDate: InputMaybe<Scalars['Date']['input']>;
1115
+ mappingId: string;
1116
+ startDate: string | null | undefined;
1117
+ endDate: string | null | undefined;
3382
1118
  }>;
3383
1119
  export type GetLedgerMappedTrialBalanceQuery = {
3384
1120
  mappedTrialBalance: {
@@ -3396,7 +1132,7 @@ export type GetLedgerMappedTrialBalanceQuery = {
3396
1132
  } | null;
3397
1133
  };
3398
1134
  export type GetLedgerMappingQueryVariables = Exact<{
3399
- mappingId: Scalars['String']['input'];
1135
+ mappingId: string;
3400
1136
  }>;
3401
1137
  export type GetLedgerMappingQuery = {
3402
1138
  mapping: {
@@ -3424,7 +1160,7 @@ export type GetLedgerMappingQuery = {
3424
1160
  } | null;
3425
1161
  };
3426
1162
  export type MappingCandidatesQueryVariables = Exact<{
3427
- classification: Scalars['String']['input'];
1163
+ classification: string;
3428
1164
  }>;
3429
1165
  export type MappingCandidatesQuery = {
3430
1166
  mappingCandidates: Array<{
@@ -3435,7 +1171,7 @@ export type MappingCandidatesQuery = {
3435
1171
  }>;
3436
1172
  };
3437
1173
  export type GetLedgerMappingCoverageQueryVariables = Exact<{
3438
- mappingId: Scalars['String']['input'];
1174
+ mappingId: string;
3439
1175
  }>;
3440
1176
  export type GetLedgerMappingCoverageQuery = {
3441
1177
  mappingCoverage: {
@@ -3465,13 +1201,13 @@ export type ListLedgerMappingsQuery = {
3465
1201
  } | null;
3466
1202
  };
3467
1203
  export type GetLedgerPeriodCloseStatusQueryVariables = Exact<{
3468
- periodStart: Scalars['Date']['input'];
3469
- periodEnd: Scalars['Date']['input'];
1204
+ periodStart: string;
1205
+ periodEnd: string;
3470
1206
  }>;
3471
1207
  export type GetLedgerPeriodCloseStatusQuery = {
3472
1208
  periodCloseStatus: {
3473
- fiscalPeriodStart: any;
3474
- fiscalPeriodEnd: any;
1209
+ fiscalPeriodStart: string;
1210
+ fiscalPeriodEnd: string;
3475
1211
  periodStatus: string;
3476
1212
  totalDraft: number;
3477
1213
  totalPosted: number;
@@ -3487,13 +1223,13 @@ export type GetLedgerPeriodCloseStatusQuery = {
3487
1223
  } | null;
3488
1224
  };
3489
1225
  export type GetLedgerPeriodDraftsQueryVariables = Exact<{
3490
- period: Scalars['String']['input'];
1226
+ period: string;
3491
1227
  }>;
3492
1228
  export type GetLedgerPeriodDraftsQuery = {
3493
1229
  periodDrafts: {
3494
1230
  period: string;
3495
- periodStart: any;
3496
- periodEnd: any;
1231
+ periodStart: string;
1232
+ periodEnd: string;
3497
1233
  draftCount: number;
3498
1234
  totalDebit: number;
3499
1235
  totalCredit: number;
@@ -3504,7 +1240,7 @@ export type GetLedgerPeriodDraftsQuery = {
3504
1240
  localOnlyCount: number;
3505
1241
  drafts: Array<{
3506
1242
  entryId: string;
3507
- postingDate: any;
1243
+ postingDate: string;
3508
1244
  type: string;
3509
1245
  memo: string | null;
3510
1246
  provenance: string | null;
@@ -3527,7 +1263,7 @@ export type GetLedgerPeriodDraftsQuery = {
3527
1263
  } | null;
3528
1264
  };
3529
1265
  export type GetLedgerPublishListQueryVariables = Exact<{
3530
- listId: Scalars['String']['input'];
1266
+ listId: string;
3531
1267
  }>;
3532
1268
  export type GetLedgerPublishListQuery = {
3533
1269
  publishList: {
@@ -3536,21 +1272,21 @@ export type GetLedgerPublishListQuery = {
3536
1272
  description: string | null;
3537
1273
  memberCount: number;
3538
1274
  createdBy: string;
3539
- createdAt: any;
3540
- updatedAt: any;
1275
+ createdAt: string;
1276
+ updatedAt: string;
3541
1277
  members: Array<{
3542
1278
  id: string;
3543
1279
  targetGraphId: string;
3544
1280
  targetGraphName: string | null;
3545
1281
  targetOrgName: string | null;
3546
1282
  addedBy: string;
3547
- addedAt: any;
1283
+ addedAt: string;
3548
1284
  }>;
3549
1285
  } | null;
3550
1286
  };
3551
1287
  export type ListLedgerPublishListsQueryVariables = Exact<{
3552
- limit?: Scalars['Int']['input'];
3553
- offset?: Scalars['Int']['input'];
1288
+ limit?: number;
1289
+ offset?: number;
3554
1290
  }>;
3555
1291
  export type ListLedgerPublishListsQuery = {
3556
1292
  publishLists: {
@@ -3560,8 +1296,8 @@ export type ListLedgerPublishListsQuery = {
3560
1296
  description: string | null;
3561
1297
  memberCount: number;
3562
1298
  createdBy: string;
3563
- createdAt: any;
3564
- updatedAt: any;
1299
+ createdAt: string;
1300
+ updatedAt: string;
3565
1301
  }>;
3566
1302
  pagination: {
3567
1303
  total: number;
@@ -3572,7 +1308,7 @@ export type ListLedgerPublishListsQuery = {
3572
1308
  } | null;
3573
1309
  };
3574
1310
  export type GetLedgerReportQueryVariables = Exact<{
3575
- reportId: Scalars['String']['input'];
1311
+ reportId: string;
3576
1312
  }>;
3577
1313
  export type GetLedgerReportQuery = {
3578
1314
  report: {
@@ -3581,20 +1317,20 @@ export type GetLedgerReportQuery = {
3581
1317
  taxonomyId: string;
3582
1318
  generationStatus: string;
3583
1319
  periodType: string;
3584
- periodStart: any | null;
3585
- periodEnd: any | null;
1320
+ periodStart: string | null;
1321
+ periodEnd: string | null;
3586
1322
  comparative: boolean;
3587
1323
  mappingId: string | null;
3588
1324
  aiGenerated: boolean;
3589
- createdAt: any;
3590
- lastGenerated: any | null;
1325
+ createdAt: string;
1326
+ lastGenerated: string | null;
3591
1327
  entityName: string | null;
3592
1328
  sourceGraphId: string | null;
3593
1329
  sourceReportId: string | null;
3594
- sharedAt: any | null;
1330
+ sharedAt: string | null;
3595
1331
  periods: Array<{
3596
- start: any;
3597
- end: any;
1332
+ start: string;
1333
+ end: string;
3598
1334
  label: string;
3599
1335
  }> | null;
3600
1336
  structures: Array<{
@@ -3605,21 +1341,21 @@ export type GetLedgerReportQuery = {
3605
1341
  } | null;
3606
1342
  };
3607
1343
  export type GetLedgerReportDownloadUrlQueryVariables = Exact<{
3608
- reportId: Scalars['String']['input'];
3609
- format?: InputMaybe<ReportDownloadFormat>;
3610
- expiresIn?: InputMaybe<Scalars['Int']['input']>;
1344
+ reportId: string;
1345
+ format?: ReportDownloadFormat | null | undefined;
1346
+ expiresIn?: number | null | undefined;
3611
1347
  }>;
3612
1348
  export type GetLedgerReportDownloadUrlQuery = {
3613
1349
  reportDownloadUrl: {
3614
1350
  downloadUrl: string;
3615
- expiresAt: any;
1351
+ expiresAt: string;
3616
1352
  contentType: string;
3617
1353
  format: string;
3618
1354
  generationCount: number;
3619
1355
  } | null;
3620
1356
  };
3621
1357
  export type GetLedgerReportPackageQueryVariables = Exact<{
3622
- reportId: Scalars['String']['input'];
1358
+ reportId: string;
3623
1359
  }>;
3624
1360
  export type GetLedgerReportPackageQuery = {
3625
1361
  reportPackage: {
@@ -3628,21 +1364,21 @@ export type GetLedgerReportPackageQuery = {
3628
1364
  description: string | null;
3629
1365
  taxonomyId: string;
3630
1366
  periodType: string;
3631
- periodStart: any | null;
3632
- periodEnd: any | null;
1367
+ periodStart: string | null;
1368
+ periodEnd: string | null;
3633
1369
  generationStatus: string;
3634
- lastGenerated: any | null;
1370
+ lastGenerated: string | null;
3635
1371
  filingStatus: string;
3636
- filedAt: any | null;
1372
+ filedAt: string | null;
3637
1373
  filedBy: string | null;
3638
1374
  supersedesId: string | null;
3639
1375
  supersededById: string | null;
3640
1376
  sourceGraphId: string | null;
3641
1377
  sourceReportId: string | null;
3642
- sharedAt: any | null;
1378
+ sharedAt: string | null;
3643
1379
  entityName: string | null;
3644
1380
  aiGenerated: boolean;
3645
- createdAt: any;
1381
+ createdAt: string;
3646
1382
  createdBy: string;
3647
1383
  items: Array<{
3648
1384
  factSetId: string;
@@ -3663,8 +1399,8 @@ export type GetLedgerReportPackageQuery = {
3663
1399
  artifact: {
3664
1400
  topic: string | null;
3665
1401
  rendererNote: string | null;
3666
- template: any | null;
3667
- mechanics: any;
1402
+ template: unknown;
1403
+ mechanics: unknown;
3668
1404
  };
3669
1405
  elements: Array<{
3670
1406
  id: string;
@@ -3693,8 +1429,8 @@ export type GetLedgerReportPackageQuery = {
3693
1429
  textValue: string | null;
3694
1430
  factType: string;
3695
1431
  contentType: string | null;
3696
- periodStart: any | null;
3697
- periodEnd: any;
1432
+ periodStart: string | null;
1433
+ periodEnd: string;
3698
1434
  periodType: string;
3699
1435
  unit: string;
3700
1436
  factScope: string;
@@ -3721,13 +1457,13 @@ export type GetLedgerReportPackageQuery = {
3721
1457
  factSet: {
3722
1458
  id: string;
3723
1459
  structureId: string | null;
3724
- periodStart: any | null;
3725
- periodEnd: any;
1460
+ periodStart: string | null;
1461
+ periodEnd: string;
3726
1462
  factsetType: string;
3727
1463
  entityId: string;
3728
1464
  reportId: string | null;
3729
1465
  scenarioId: string | null;
3730
- provenance: any | null;
1466
+ provenance: unknown;
3731
1467
  } | null;
3732
1468
  verificationResults: Array<{
3733
1469
  id: string;
@@ -3736,9 +1472,9 @@ export type GetLedgerReportPackageQuery = {
3736
1472
  factSetId: string | null;
3737
1473
  status: string;
3738
1474
  message: string | null;
3739
- periodStart: any | null;
3740
- periodEnd: any | null;
3741
- evaluatedAt: any | null;
1475
+ periodStart: string | null;
1476
+ periodEnd: string | null;
1477
+ evaluatedAt: string | null;
3742
1478
  }>;
3743
1479
  verificationSummary: {
3744
1480
  total: number;
@@ -3771,8 +1507,8 @@ export type GetLedgerReportPackageQuery = {
3771
1507
  depth: number;
3772
1508
  }>;
3773
1509
  periods: Array<{
3774
- start: any;
3775
- end: any;
1510
+ start: string;
1511
+ end: string;
3776
1512
  label: string | null;
3777
1513
  forecast: boolean | null;
3778
1514
  }>;
@@ -3830,20 +1566,20 @@ export type ListLedgerReportsQuery = {
3830
1566
  taxonomyId: string;
3831
1567
  generationStatus: string;
3832
1568
  periodType: string;
3833
- periodStart: any | null;
3834
- periodEnd: any | null;
1569
+ periodStart: string | null;
1570
+ periodEnd: string | null;
3835
1571
  comparative: boolean;
3836
1572
  mappingId: string | null;
3837
1573
  aiGenerated: boolean;
3838
- createdAt: any;
3839
- lastGenerated: any | null;
1574
+ createdAt: string;
1575
+ lastGenerated: string | null;
3840
1576
  entityName: string | null;
3841
1577
  sourceGraphId: string | null;
3842
1578
  sourceReportId: string | null;
3843
- sharedAt: any | null;
1579
+ sharedAt: string | null;
3844
1580
  periods: Array<{
3845
- start: any;
3846
- end: any;
1581
+ start: string;
1582
+ end: string;
3847
1583
  label: string;
3848
1584
  }> | null;
3849
1585
  structures: Array<{
@@ -3855,8 +1591,8 @@ export type ListLedgerReportsQuery = {
3855
1591
  } | null;
3856
1592
  };
3857
1593
  export type GetLedgerStatementQueryVariables = Exact<{
3858
- reportId: Scalars['String']['input'];
3859
- blockType: Scalars['String']['input'];
1594
+ reportId: string;
1595
+ blockType: string;
3860
1596
  }>;
3861
1597
  export type GetLedgerStatementQuery = {
3862
1598
  statement: {
@@ -3866,8 +1602,8 @@ export type GetLedgerStatementQuery = {
3866
1602
  blockType: string;
3867
1603
  unmappedCount: number;
3868
1604
  periods: Array<{
3869
- start: any;
3870
- end: any;
1605
+ start: string;
1606
+ end: string;
3871
1607
  label: string;
3872
1608
  }>;
3873
1609
  rows: Array<{
@@ -3888,8 +1624,8 @@ export type GetLedgerStatementQuery = {
3888
1624
  } | null;
3889
1625
  };
3890
1626
  export type ListLedgerStructuresQueryVariables = Exact<{
3891
- taxonomyId: InputMaybe<Scalars['String']['input']>;
3892
- blockType: InputMaybe<Scalars['String']['input']>;
1627
+ taxonomyId: string | null | undefined;
1628
+ blockType: string | null | undefined;
3893
1629
  }>;
3894
1630
  export type ListLedgerStructuresQuery = {
3895
1631
  structures: {
@@ -3913,14 +1649,14 @@ export type GetLedgerSummaryQuery = {
3913
1649
  transactionCount: number;
3914
1650
  entryCount: number;
3915
1651
  lineItemCount: number;
3916
- earliestTransactionDate: any | null;
3917
- latestTransactionDate: any | null;
1652
+ earliestTransactionDate: string | null;
1653
+ latestTransactionDate: string | null;
3918
1654
  connectionCount: number;
3919
- lastSyncAt: any | null;
1655
+ lastSyncAt: string | null;
3920
1656
  } | null;
3921
1657
  };
3922
1658
  export type ListLedgerTaxonomiesQueryVariables = Exact<{
3923
- taxonomyType: InputMaybe<Scalars['String']['input']>;
1659
+ taxonomyType: string | null | undefined;
3924
1660
  }>;
3925
1661
  export type ListLedgerTaxonomiesQuery = {
3926
1662
  taxonomies: {
@@ -3941,7 +1677,7 @@ export type ListLedgerTaxonomiesQuery = {
3941
1677
  } | null;
3942
1678
  };
3943
1679
  export type GetLedgerTransactionQueryVariables = Exact<{
3944
- transactionId: Scalars['String']['input'];
1680
+ transactionId: string;
3945
1681
  }>;
3946
1682
  export type GetLedgerTransactionQuery = {
3947
1683
  transaction: {
@@ -3951,23 +1687,23 @@ export type GetLedgerTransactionQuery = {
3951
1687
  category: string | null;
3952
1688
  amount: number;
3953
1689
  currency: string;
3954
- date: any;
3955
- dueDate: any | null;
1690
+ date: string;
1691
+ dueDate: string | null;
3956
1692
  merchantName: string | null;
3957
1693
  referenceNumber: string | null;
3958
1694
  description: string | null;
3959
1695
  source: string;
3960
1696
  sourceId: string | null;
3961
1697
  status: string;
3962
- postedAt: any | null;
1698
+ postedAt: string | null;
3963
1699
  entries: Array<{
3964
1700
  id: string;
3965
1701
  number: string | null;
3966
1702
  type: string;
3967
- postingDate: any;
1703
+ postingDate: string;
3968
1704
  memo: string | null;
3969
1705
  status: string;
3970
- postedAt: any | null;
1706
+ postedAt: string | null;
3971
1707
  lineItems: Array<{
3972
1708
  id: string;
3973
1709
  accountId: string;
@@ -3982,11 +1718,11 @@ export type GetLedgerTransactionQuery = {
3982
1718
  } | null;
3983
1719
  };
3984
1720
  export type ListLedgerTransactionsQueryVariables = Exact<{
3985
- type: InputMaybe<Scalars['String']['input']>;
3986
- startDate: InputMaybe<Scalars['Date']['input']>;
3987
- endDate: InputMaybe<Scalars['Date']['input']>;
3988
- limit?: Scalars['Int']['input'];
3989
- offset?: Scalars['Int']['input'];
1721
+ type: string | null | undefined;
1722
+ startDate: string | null | undefined;
1723
+ endDate: string | null | undefined;
1724
+ limit?: number;
1725
+ offset?: number;
3990
1726
  }>;
3991
1727
  export type ListLedgerTransactionsQuery = {
3992
1728
  transactions: {
@@ -3997,8 +1733,8 @@ export type ListLedgerTransactionsQuery = {
3997
1733
  category: string | null;
3998
1734
  amount: number;
3999
1735
  currency: string;
4000
- date: any;
4001
- dueDate: any | null;
1736
+ date: string;
1737
+ dueDate: string | null;
4002
1738
  merchantName: string | null;
4003
1739
  referenceNumber: string | null;
4004
1740
  description: string | null;
@@ -4014,8 +1750,8 @@ export type ListLedgerTransactionsQuery = {
4014
1750
  } | null;
4015
1751
  };
4016
1752
  export type GetLedgerTrialBalanceQueryVariables = Exact<{
4017
- startDate: InputMaybe<Scalars['Date']['input']>;
4018
- endDate: InputMaybe<Scalars['Date']['input']>;
1753
+ startDate: string | null | undefined;
1754
+ endDate: string | null | undefined;
4019
1755
  }>;
4020
1756
  export type GetLedgerTrialBalanceQuery = {
4021
1757
  trialBalance: {
@@ -4034,7 +1770,7 @@ export type GetLedgerTrialBalanceQuery = {
4034
1770
  } | null;
4035
1771
  };
4036
1772
  export type ListLedgerUnmappedElementsQueryVariables = Exact<{
4037
- mappingId: InputMaybe<Scalars['String']['input']>;
1773
+ mappingId: string | null | undefined;
4038
1774
  }>;
4039
1775
  export type ListLedgerUnmappedElementsQuery = {
4040
1776
  unmappedElements: Array<{
@@ -4053,11 +1789,11 @@ export type ListLedgerUnmappedElementsQuery = {
4053
1789
  }>;
4054
1790
  };
4055
1791
  export type ListLibraryTaxonomyArcsQueryVariables = Exact<{
4056
- taxonomyId: Scalars['ID']['input'];
4057
- associationType: InputMaybe<Scalars['String']['input']>;
4058
- structureId: InputMaybe<Scalars['ID']['input']>;
4059
- limit?: Scalars['Int']['input'];
4060
- offset?: Scalars['Int']['input'];
1792
+ taxonomyId: string | number;
1793
+ associationType: string | null | undefined;
1794
+ structureId: string | number | null | undefined;
1795
+ limit?: number;
1796
+ offset?: number;
4061
1797
  }>;
4062
1798
  export type ListLibraryTaxonomyArcsQuery = {
4063
1799
  libraryTaxonomyArcCount: number;
@@ -4082,7 +1818,7 @@ export type ListLibraryTaxonomyArcsQuery = {
4082
1818
  }>;
4083
1819
  };
4084
1820
  export type GetLibraryElementArcsQueryVariables = Exact<{
4085
- id: Scalars['ID']['input'];
1821
+ id: string | number;
4086
1822
  }>;
4087
1823
  export type GetLibraryElementArcsQuery = {
4088
1824
  libraryElementArcs: Array<{
@@ -4105,7 +1841,7 @@ export type GetLibraryElementArcsQuery = {
4105
1841
  }>;
4106
1842
  };
4107
1843
  export type GetLibraryElementClassificationsQueryVariables = Exact<{
4108
- id: Scalars['ID']['input'];
1844
+ id: string | number;
4109
1845
  }>;
4110
1846
  export type GetLibraryElementClassificationsQuery = {
4111
1847
  libraryElementClassifications: Array<{
@@ -4116,7 +1852,7 @@ export type GetLibraryElementClassificationsQuery = {
4116
1852
  }>;
4117
1853
  };
4118
1854
  export type GetLibraryElementEquivalentsQueryVariables = Exact<{
4119
- id: Scalars['ID']['input'];
1855
+ id: string | number;
4120
1856
  }>;
4121
1857
  export type GetLibraryElementEquivalentsQuery = {
4122
1858
  libraryElementEquivalents: {
@@ -4137,16 +1873,16 @@ export type GetLibraryElementEquivalentsQuery = {
4137
1873
  } | null;
4138
1874
  };
4139
1875
  export type ListLibraryElementsQueryVariables = Exact<{
4140
- taxonomyId: InputMaybe<Scalars['ID']['input']>;
4141
- source: InputMaybe<Scalars['String']['input']>;
4142
- classification: InputMaybe<Scalars['String']['input']>;
4143
- activityType: InputMaybe<Scalars['String']['input']>;
4144
- elementType: InputMaybe<Scalars['String']['input']>;
4145
- isAbstract: InputMaybe<Scalars['Boolean']['input']>;
4146
- limit?: Scalars['Int']['input'];
4147
- offset?: Scalars['Int']['input'];
4148
- includeLabels?: Scalars['Boolean']['input'];
4149
- includeReferences?: Scalars['Boolean']['input'];
1876
+ taxonomyId: string | number | null | undefined;
1877
+ source: string | null | undefined;
1878
+ classification: string | null | undefined;
1879
+ activityType: string | null | undefined;
1880
+ elementType: string | null | undefined;
1881
+ isAbstract: boolean | null | undefined;
1882
+ limit?: number;
1883
+ offset?: number;
1884
+ includeLabels?: boolean;
1885
+ includeReferences?: boolean;
4150
1886
  }>;
4151
1887
  export type ListLibraryElementsQuery = {
4152
1888
  libraryElements: Array<{
@@ -4176,9 +1912,9 @@ export type ListLibraryElementsQuery = {
4176
1912
  }>;
4177
1913
  };
4178
1914
  export type SearchLibraryElementsQueryVariables = Exact<{
4179
- query: Scalars['String']['input'];
4180
- source: InputMaybe<Scalars['String']['input']>;
4181
- limit?: Scalars['Int']['input'];
1915
+ query: string;
1916
+ source: string | null | undefined;
1917
+ limit?: number;
4182
1918
  }>;
4183
1919
  export type SearchLibraryElementsQuery = {
4184
1920
  searchLibraryElements: Array<{
@@ -4208,8 +1944,8 @@ export type SearchLibraryElementsQuery = {
4208
1944
  }>;
4209
1945
  };
4210
1946
  export type GetLibraryElementQueryVariables = Exact<{
4211
- id: InputMaybe<Scalars['ID']['input']>;
4212
- qname: InputMaybe<Scalars['String']['input']>;
1947
+ id: string | number | null | undefined;
1948
+ qname: string | null | undefined;
4213
1949
  }>;
4214
1950
  export type GetLibraryElementQuery = {
4215
1951
  libraryElement: {
@@ -4239,8 +1975,8 @@ export type GetLibraryElementQuery = {
4239
1975
  } | null;
4240
1976
  };
4241
1977
  export type ListLibraryStructuresQueryVariables = Exact<{
4242
- taxonomyId: InputMaybe<Scalars['ID']['input']>;
4243
- blockType: InputMaybe<Scalars['String']['input']>;
1978
+ taxonomyId: string | number | null | undefined;
1979
+ blockType: string | null | undefined;
4244
1980
  }>;
4245
1981
  export type ListLibraryStructuresQuery = {
4246
1982
  libraryStructures: Array<{
@@ -4253,7 +1989,7 @@ export type ListLibraryStructuresQuery = {
4253
1989
  }>;
4254
1990
  };
4255
1991
  export type GetLibraryStructureQueryVariables = Exact<{
4256
- id: Scalars['ID']['input'];
1992
+ id: string | number;
4257
1993
  }>;
4258
1994
  export type GetLibraryStructureQuery = {
4259
1995
  libraryStructure: {
@@ -4266,8 +2002,8 @@ export type GetLibraryStructureQuery = {
4266
2002
  } | null;
4267
2003
  };
4268
2004
  export type ListLibraryTaxonomiesQueryVariables = Exact<{
4269
- standard: InputMaybe<Scalars['String']['input']>;
4270
- includeElementCount?: Scalars['Boolean']['input'];
2005
+ standard: string | null | undefined;
2006
+ includeElementCount?: boolean;
4271
2007
  }>;
4272
2008
  export type ListLibraryTaxonomiesQuery = {
4273
2009
  libraryTaxonomies: Array<{
@@ -4285,10 +2021,10 @@ export type ListLibraryTaxonomiesQuery = {
4285
2021
  }>;
4286
2022
  };
4287
2023
  export type GetLibraryTaxonomyQueryVariables = Exact<{
4288
- id: InputMaybe<Scalars['ID']['input']>;
4289
- standard: InputMaybe<Scalars['String']['input']>;
4290
- version: InputMaybe<Scalars['String']['input']>;
4291
- includeElementCount?: Scalars['Boolean']['input'];
2024
+ id: string | number | null | undefined;
2025
+ standard: string | null | undefined;
2026
+ version: string | null | undefined;
2027
+ includeElementCount?: boolean;
4292
2028
  }>;
4293
2029
  export type GetLibraryTaxonomyQuery = {
4294
2030
  libraryTaxonomy: {
@@ -4361,3 +2097,4 @@ export declare const ListLibraryStructuresDocument: DocumentNode<ListLibraryStru
4361
2097
  export declare const GetLibraryStructureDocument: DocumentNode<GetLibraryStructureQuery, GetLibraryStructureQueryVariables>;
4362
2098
  export declare const ListLibraryTaxonomiesDocument: DocumentNode<ListLibraryTaxonomiesQuery, ListLibraryTaxonomiesQueryVariables>;
4363
2099
  export declare const GetLibraryTaxonomyDocument: DocumentNode<GetLibraryTaxonomyQuery, GetLibraryTaxonomyQueryVariables>;
2100
+ export {};