@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,2414 +1,13 @@
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 { [key: string]: unknown }> = { [K in keyof T]: T[K] }
5
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }
6
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }
7
- export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = {
8
- [_ in K]?: never
9
- }
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
3
+ /** Internal type. DO NOT USE DIRECTLY. */
10
4
  export type Incremental<T> =
11
5
  T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
12
- /** All built-in and custom scalars, mapped to their actual values */
13
- export type Scalars = {
14
- ID: { input: string; output: string }
15
- String: { input: string; output: string }
16
- Boolean: { input: boolean; output: boolean }
17
- Int: { input: number; output: number }
18
- Float: { input: number; output: number }
19
- Date: { input: any; output: any }
20
- DateTime: { input: any; output: any }
21
- JSON: { input: any; output: any }
22
- }
23
-
24
- /**
25
- * One CoA account (Element) — the basic chart-of-accounts row.
26
- *
27
- * ``trait`` carries the FASB classification (asset/liability/equity/
28
- * revenue/expense/etc.); ``balance_type`` is the natural side
29
- * ('debit' or 'credit'). ``account_type`` is a free-form sub-grouping
30
- * (e.g. 'cash', 'inventory') used by some integrations. Hierarchy is
31
- * expressed via ``parent_id`` + ``depth``.
32
- */
33
- export type Account = {
34
- accountType: Maybe<Scalars['String']['output']>
35
- balanceType: Scalars['String']['output']
36
- code: Maybe<Scalars['String']['output']>
37
- currency: Scalars['String']['output']
38
- depth: Scalars['Int']['output']
39
- description: Maybe<Scalars['String']['output']>
40
- externalId: Maybe<Scalars['String']['output']>
41
- externalSource: Maybe<Scalars['String']['output']>
42
- id: Scalars['String']['output']
43
- isActive: Scalars['Boolean']['output']
44
- isPlaceholder: Scalars['Boolean']['output']
45
- name: Scalars['String']['output']
46
- parentId: Maybe<Scalars['String']['output']>
47
- subClassification: Maybe<Scalars['String']['output']>
48
- trait: Maybe<Scalars['String']['output']>
49
- }
50
-
51
- /**
52
- * Paginated chart-of-accounts listing — flat (use the tree endpoint
53
- * for parent/child structure).
54
- */
55
- export type AccountList = {
56
- accounts: Array<Account>
57
- pagination: PaginationInfo
58
- }
59
-
60
- /**
61
- * All CoA accounts that roll up into a single reporting concept,
62
- * with the group total and per-account contributions.
63
- */
64
- export type AccountRollupGroup = {
65
- accounts: Array<AccountRollupRow>
66
- balanceType: Scalars['String']['output']
67
- reportingElementId: Scalars['String']['output']
68
- reportingName: Scalars['String']['output']
69
- reportingQname: Scalars['String']['output']
70
- total: Scalars['Float']['output']
71
- trait: Scalars['String']['output']
72
- }
73
-
74
- /** One CoA account contributing to a reporting concept's rollup. */
75
- export type AccountRollupRow = {
76
- accountCode: Maybe<Scalars['String']['output']>
77
- accountName: Scalars['String']['output']
78
- elementId: Scalars['String']['output']
79
- netBalance: Scalars['Float']['output']
80
- totalCredits: Scalars['Float']['output']
81
- totalDebits: Scalars['Float']['output']
82
- }
83
-
84
- /**
85
- * Mapping rendered as account rollups — every reporting concept the
86
- * mapping defines, with the CoA accounts that contribute to it and the
87
- * current balance for each. ``total_unmapped`` tracks gaps for UI.
88
- */
89
- export type AccountRollups = {
90
- groups: Array<AccountRollupGroup>
91
- mappingId: Scalars['String']['output']
92
- mappingName: Scalars['String']['output']
93
- totalMapped: Scalars['Int']['output']
94
- totalUnmapped: Scalars['Int']['output']
95
- }
96
-
97
- export type AccountTree = {
98
- roots: Array<AccountTreeNode>
99
- totalAccounts: Scalars['Int']['output']
100
- }
101
-
102
- export type AccountTreeNode = {
103
- accountType: Maybe<Scalars['String']['output']>
104
- balanceType: Scalars['String']['output']
105
- children: Array<AccountTreeNode>
106
- code: Maybe<Scalars['String']['output']>
107
- depth: Scalars['Int']['output']
108
- id: Scalars['ID']['output']
109
- isActive: Scalars['Boolean']['output']
110
- name: Scalars['String']['output']
111
- trait: Maybe<Scalars['String']['output']>
112
- }
113
-
114
- export type Agent = {
115
- address: Maybe<Scalars['JSON']['output']>
116
- agentType: Scalars['String']['output']
117
- createdAt: Maybe<Scalars['DateTime']['output']>
118
- createdBy: Maybe<Scalars['String']['output']>
119
- duns: Maybe<Scalars['String']['output']>
120
- email: Maybe<Scalars['String']['output']>
121
- externalId: Maybe<Scalars['String']['output']>
122
- id: Scalars['String']['output']
123
- is1099Recipient: Scalars['Boolean']['output']
124
- isActive: Scalars['Boolean']['output']
125
- legalName: Maybe<Scalars['String']['output']>
126
- lei: Maybe<Scalars['String']['output']>
127
- name: Scalars['String']['output']
128
- openPayable: Maybe<OpenBalanceByAgent>
129
- openReceivable: Maybe<OpenBalanceByAgent>
130
- phone: Maybe<Scalars['String']['output']>
131
- registrationNumber: Maybe<Scalars['String']['output']>
132
- source: Scalars['String']['output']
133
- taxId: Maybe<Scalars['String']['output']>
134
- updatedAt: Maybe<Scalars['DateTime']['output']>
135
- }
136
-
137
- export type Artifact = {
138
- mechanics: Scalars['JSON']['output']
139
- rendererNote: Maybe<Scalars['String']['output']>
140
- template: Maybe<Scalars['JSON']['output']>
141
- topic: Maybe<Scalars['String']['output']>
142
- }
143
-
144
- /**
145
- * One edge between two elements within a structure (parent/child
146
- * presentation, calculation rollup, mapping, equivalence).
147
- *
148
- * ``association_type`` discriminates the edge semantics. Mapping edges
149
- * are the user-facing path (CoA → reporting concept); presentation /
150
- * calculation edges express structure layout and roll-ups.
151
- * ``confidence`` is set on AI-suggested mappings (≥0.90 auto-approved,
152
- * 0.70-0.89 flagged for review).
153
- */
154
- export type Association = {
155
- approvedBy: Maybe<Scalars['String']['output']>
156
- associationType: Scalars['String']['output']
157
- confidence: Maybe<Scalars['Float']['output']>
158
- fromElementId: Scalars['String']['output']
159
- fromElementName: Maybe<Scalars['String']['output']>
160
- fromElementQname: Maybe<Scalars['String']['output']>
161
- id: Scalars['String']['output']
162
- orderValue: Maybe<Scalars['Float']['output']>
163
- structureId: Scalars['String']['output']
164
- suggestedBy: Maybe<Scalars['String']['output']>
165
- toElementId: Scalars['String']['output']
166
- toElementName: Maybe<Scalars['String']['output']>
167
- toElementQname: Maybe<Scalars['String']['output']>
168
- weight: Maybe<Scalars['Float']['output']>
169
- }
170
-
171
- /** One blocked source graph. */
172
- export type BlockedSourceGraph = {
173
- /** When the block was created. */
174
- blockedAt: Scalars['DateTime']['output']
175
- /** User ID that created the block. */
176
- blockedBy: Scalars['String']['output']
177
- /** Block row identifier (ULID). */
178
- id: Scalars['String']['output']
179
- /** Recipient's own note, if given. */
180
- reason: Maybe<Scalars['String']['output']>
181
- /** The blocked sender's graph ID. */
182
- sourceGraphId: Scalars['String']['output']
183
- /** Display name of the blocked graph (if known). */
184
- sourceGraphName: Maybe<Scalars['String']['output']>
185
- }
186
-
187
- /** Paginated list of blocked source graphs. */
188
- export type BlockedSourceGraphList = {
189
- /** Blocked source graphs. */
190
- blockedSourceGraphs: Array<BlockedSourceGraph>
191
- /** Pagination metadata. */
192
- pagination: PaginationInfo
193
- }
194
-
195
- /**
196
- * What a close actually did, stamped on the period row that close locked.
197
- *
198
- * The close result used to exist only in the HTTP response, so a close
199
- * that SUCCEEDED but whose transport failed left no record and the
200
- * operator reconstructed it from separate state reads. This is that
201
- * record. Written in the same transaction as the period's `status='closed'`
202
- * flip, so a closed period and its receipt can never disagree.
203
- *
204
- * Typed rather than a free dict because it is a contract: the GraphQL
205
- * schema and both SDKs derive from it, and an opaque blob would push the
206
- * shape onto every reader to rediscover.
207
- */
208
- export type CloseReceipt = {
209
- /** 'user' for REST callers, 'agent' for MCP-driven closes */
210
- actorType: Scalars['String']['output']
211
- closedAt: Scalars['DateTime']['output']
212
- /** Actor id that ran the close */
213
- closedBy: Scalars['String']['output']
214
- /** Total entries the close transitioned to posted, across both post paths — the sum of the two fields below */
215
- entriesPosted: Scalars['Int']['output']
216
- entriesPostedLocally: Scalars['Int']['output']
217
- entriesPublishedToQb: Scalars['Int']['output']
218
- evaluatedStructureIds: Array<Scalars['String']['output']>
219
- /** Period this receipt is for (YYYY-MM) */
220
- period: Scalars['String']['output']
221
- /** Schedule rule outcomes: pass/fail/error/skipped counts */
222
- ruleSummary: Maybe<Scalars['JSON']['output']>
223
- /** structure_id -> minted fact_set_id */
224
- stampedStatementSets: Scalars['JSON']['output']
225
- statementRuleSummary: Maybe<Scalars['JSON']['output']>
226
- statementStampNote: Maybe<Scalars['String']['output']>
227
- statementsStamped: Scalars['Boolean']['output']
228
- targetAutoAdvanced: Scalars['Boolean']['output']
229
- /** Receipt schema version; 1 is the first shipped shape */
230
- version: Scalars['Int']['output']
231
- /** Whether this close re-closed a previously closed period */
232
- wasReclose: Scalars['Boolean']['output']
233
- }
234
-
235
- /**
236
- * A grouping of closing-book items shown as a sidebar section
237
- * (e.g. Statements, Account Rollups, Schedules, Period Close).
238
- */
239
- export type ClosingBookCategory = {
240
- items: Array<ClosingBookItem>
241
- label: Scalars['String']['output']
242
- }
243
-
244
- /**
245
- * One row in the closing book — a navigable artifact for the
246
- * period (statement, schedule, rollup, etc.).
247
- *
248
- * ``item_type`` discriminates: 'statement', 'schedule',
249
- * 'account_rollups', 'period_close', 'trial_balance'. Statement items
250
- * carry ``report_id`` to fetch the rendered facts; schedule items
251
- * carry ``status`` ('complete' | 'draft' | 'pending').
252
- */
253
- export type ClosingBookItem = {
254
- blockType: Maybe<Scalars['String']['output']>
255
- id: Scalars['String']['output']
256
- itemType: Scalars['String']['output']
257
- name: Scalars['String']['output']
258
- reportId: Maybe<Scalars['String']['output']>
259
- status: Maybe<Scalars['String']['output']>
260
- }
261
-
262
- /**
263
- * The closing book navigation tree — categories + items the UI
264
- * uses to render the period-close workspace. ``has_data=False`` when
265
- * the graph has no posted entries yet.
266
- */
267
- export type ClosingBookStructures = {
268
- categories: Array<ClosingBookCategory>
269
- hasData: Scalars['Boolean']['output']
270
- }
271
-
272
- /** A single draft entry with full line item detail for review. */
273
- export type DraftEntry = {
274
- /** True if total_debit == total_credit */
275
- balanced: Scalars['Boolean']['output']
276
- entryId: Scalars['String']['output']
277
- lineItems: Array<DraftLineItem>
278
- memo: Maybe<Scalars['String']['output']>
279
- postingDate: Scalars['Date']['output']
280
- /** Where the entry came from (ENTRY_PROVENANCE_VALUES): source_sync, ai_generated, manual_entry, schedule_derived, system_computed, event_handler */
281
- provenance: Maybe<Scalars['String']['output']>
282
- /** Schedule structure that generated this entry (if any) */
283
- sourceStructureId: Maybe<Scalars['String']['output']>
284
- /** Human-readable name of the source schedule */
285
- sourceStructureName: Maybe<Scalars['String']['output']>
286
- /** Sum of credit amounts in cents */
287
- totalCredit: Scalars['Int']['output']
288
- /** Sum of debit amounts in cents */
289
- totalDebit: Scalars['Int']['output']
290
- /** Entry type (e.g., 'closing', 'adjusting') */
291
- type: Scalars['String']['output']
292
- /** 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. */
293
- willPublishToQb: Scalars['Boolean']['output']
294
- }
295
-
296
- /** A single line item within a draft entry. */
297
- export type DraftLineItem = {
298
- /** Credit amount in cents */
299
- creditAmount: Scalars['Int']['output']
300
- /** Debit amount in cents */
301
- debitAmount: Scalars['Int']['output']
302
- description: Maybe<Scalars['String']['output']>
303
- elementCode: Maybe<Scalars['String']['output']>
304
- elementId: Scalars['String']['output']
305
- elementName: Scalars['String']['output']
306
- lineItemId: Scalars['String']['output']
307
- }
308
-
309
- /** Element with taxonomy context — extends AccountResponse. */
310
- export type Element = {
311
- balanceType: Scalars['String']['output']
312
- code: Maybe<Scalars['String']['output']>
313
- depth: Scalars['Int']['output']
314
- description: Maybe<Scalars['String']['output']>
315
- elementType: Scalars['String']['output']
316
- externalId: Maybe<Scalars['String']['output']>
317
- externalSource: Maybe<Scalars['String']['output']>
318
- id: Scalars['String']['output']
319
- isAbstract: Scalars['Boolean']['output']
320
- isActive: Scalars['Boolean']['output']
321
- name: Scalars['String']['output']
322
- namespace: Maybe<Scalars['String']['output']>
323
- parentId: Maybe<Scalars['String']['output']>
324
- periodType: Scalars['String']['output']
325
- qname: Maybe<Scalars['String']['output']>
326
- source: Scalars['String']['output']
327
- subClassification: Maybe<Scalars['String']['output']>
328
- taxonomyId: Maybe<Scalars['String']['output']>
329
- trait: Maybe<Scalars['String']['output']>
330
- }
331
-
332
- /** Paginated element listing with taxonomy context. */
333
- export type ElementList = {
334
- elements: Array<Element>
335
- pagination: PaginationInfo
336
- }
337
-
338
- /**
339
- * Lightweight entity projection for embedding in portfolio-block /
340
- * position envelopes. Carries identity-only fields; full entity data
341
- * lives behind the Master Data entity APIs.
342
- */
343
- export type EntityLite = {
344
- /** Entity ID (`ent_*` ULID). */
345
- id: Scalars['ID']['output']
346
- /** Display name of the entity. */
347
- name: Scalars['String']['output']
348
- /** Tenant graph this entity is anchored to, when known. `null` for entities not yet linked to a graph. */
349
- sourceGraphId: Maybe<Scalars['String']['output']>
350
- }
351
-
352
- export type EventBlock = {
353
- agentId: Maybe<Scalars['String']['output']>
354
- amount: Maybe<Scalars['Int']['output']>
355
- createdAt: Scalars['DateTime']['output']
356
- createdBy: Scalars['String']['output']
357
- currency: Scalars['String']['output']
358
- description: Maybe<Scalars['String']['output']>
359
- dimensionIds: Array<Scalars['String']['output']>
360
- dischargesEventId: Maybe<Scalars['String']['output']>
361
- effectiveAt: Maybe<Scalars['DateTime']['output']>
362
- eventCategory: Scalars['String']['output']
363
- eventClass: Scalars['String']['output']
364
- eventType: Scalars['String']['output']
365
- externalId: Maybe<Scalars['String']['output']>
366
- externalUrl: Maybe<Scalars['String']['output']>
367
- id: Scalars['String']['output']
368
- isReconcilingItem: Scalars['Boolean']['output']
369
- metadata: Scalars['JSON']['output']
370
- obligatedByEventId: Maybe<Scalars['String']['output']>
371
- occurredAt: Scalars['DateTime']['output']
372
- replacedByEventId: Maybe<Scalars['String']['output']>
373
- replacesEventId: Maybe<Scalars['String']['output']>
374
- resourceElementId: Maybe<Scalars['String']['output']>
375
- resourceType: Maybe<Scalars['String']['output']>
376
- source: Scalars['String']['output']
377
- status: Scalars['String']['output']
378
- }
379
-
380
- /**
381
- * A single fact row inside a rendered statement.
382
- *
383
- * One row per concept, with one value per period column. Subtotals and
384
- * hierarchy depth come from the structure being projected.
385
- */
386
- export type FactRow = {
387
- /** Indentation depth in the structure hierarchy (0 = root). */
388
- depth: Scalars['Int']['output']
389
- /** Internal element identifier. */
390
- elementId: Scalars['String']['output']
391
- /** Human-readable concept label. */
392
- elementName: Scalars['String']['output']
393
- /** QName of the reporting concept (e.g. 'us-gaap:Revenues'). */
394
- elementQname: Scalars['String']['output']
395
- /** True when the row should render as a subtotal line. */
396
- isSubtotal: Scalars['Boolean']['output']
397
- /** Concept trait flag from the structure (e.g. 'total', 'subtotal', 'header'). Drives presentation. */
398
- trait: Maybe<Scalars['String']['output']>
399
- /** One value per period column, in the same order as `periods`. Null when the concept had no facts in that window. */
400
- values: Array<Maybe<Scalars['Float']['output']>>
401
- }
402
-
403
- /** Current fiscal calendar state for a graph. */
404
- export type FiscalCalendar = {
405
- /** Structured blocker codes when closeable_now is False: 'sequence_violation', 'period_incomplete', 'sync_stale', 'calendar_not_initialized', 'period_already_closed', 'pending_obligations', 'stranded_obligations' */
406
- blockers: Array<Scalars['String']['output']>
407
- /** Ordered list of periods that a close run would process */
408
- catchUpSequence: Array<Scalars['String']['output']>
409
- /** Target period the user wants closed through (YYYY-MM) */
410
- closeTarget: Maybe<Scalars['String']['output']>
411
- /** Whether the next period in the catch-up sequence passes all closeable gates */
412
- closeableNow: Scalars['Boolean']['output']
413
- /** Latest closed period (YYYY-MM), or null if nothing closed */
414
- closedThrough: Maybe<Scalars['String']['output']>
415
- /** Earliest period (YYYY-MM) with a pending obligation blocking close. Null when no pending_obligations blocker is active. */
416
- earliestPendingPeriod: Maybe<Scalars['String']['output']>
417
- fiscalYearStartMonth: Scalars['Int']['output']
418
- /** Number of periods between closed_through and close_target (inclusive of close_target). 0 means caught up. */
419
- gapPeriods: Scalars['Int']['output']
420
- graphId: Scalars['String']['output']
421
- initializedAt: Maybe<Scalars['DateTime']['output']>
422
- lastCloseAt: Maybe<Scalars['DateTime']['output']>
423
- /** Most recent QB sync timestamp (if connected) */
424
- lastSyncAt: Maybe<Scalars['DateTime']['output']>
425
- /** Number of pending schedule_entry_due events blocking close. Non-zero only when `pending_obligations` is in `blockers`. */
426
- pendingObligationCount: Scalars['Int']['output']
427
- /** 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. */
428
- pendingObligationSample: Array<PendingObligationDetail>
429
- /** Fiscal period rows for this graph */
430
- periods: Array<FiscalPeriodSummary>
431
- /** 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. */
432
- reconcilingItemCount: Scalars['Int']['output']
433
- /** Source identifiers (or event ids) of up to 5 unresolved reconciling items, so the blocker names what is holding the close. */
434
- reconcilingItemSample: Array<Scalars['String']['output']>
435
- /** 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. */
436
- strandedObligationCount: Scalars['Int']['output']
437
- /** Sample of up to 5 stranded obligations (schedule_id, schedule_name, period, event_id) ordered by occurred_at. */
438
- strandedObligationSample: Array<PendingObligationDetail>
439
- /** 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). */
440
- syncStaleDays: Maybe<Scalars['Int']['output']>
441
- }
442
-
443
- /**
444
- * One fiscal period row — header view used in calendar listings.
445
- *
446
- * Status lifecycle: ``open`` → ``closing`` → ``closed``. ``closing``
447
- * is the transient state during a close run; ``closed_at`` stamps when
448
- * the lock landed.
449
- */
450
- export type FiscalPeriodSummary = {
451
- closedAt: Maybe<Scalars['DateTime']['output']>
452
- endDate: Scalars['Date']['output']
453
- /** 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. */
454
- hasCloseReceipt: Scalars['Boolean']['output']
455
- /** Period name (YYYY-MM) */
456
- name: Scalars['String']['output']
457
- startDate: Scalars['Date']['output']
458
- /** 'open' | 'closing' | 'closed' */
459
- status: Scalars['String']['output']
460
- }
461
-
462
- /**
463
- * All securities held in a single entity, rolled up across the
464
- * caller's portfolios.
465
- */
466
- export type Holding = {
467
- /** Issuing entity ID. */
468
- entityId: Scalars['String']['output']
469
- /** Display name of the entity. */
470
- entityName: Scalars['String']['output']
471
- /** Number of distinct active positions backing these holdings. */
472
- positionCount: Scalars['Int']['output']
473
- /** One row per security held in this entity. */
474
- securities: Array<HoldingSecuritySummary>
475
- /** Pre-association tenant graph, when set on the securities. */
476
- sourceGraphId: Maybe<Scalars['String']['output']>
477
- /** Sum of cost basis across all securities, in dollars. */
478
- totalCostBasisDollars: Scalars['Float']['output']
479
- /** Sum of current value across all securities, in dollars. `null` if any security lacks a mark. */
480
- totalCurrentValueDollars: Maybe<Scalars['Float']['output']>
481
- }
482
-
483
- /** One security held by an entity, rolled up across portfolios. */
484
- export type HoldingSecuritySummary = {
485
- /** Aggregate cost basis in dollars, summed across all positions. */
486
- costBasisDollars: Scalars['Float']['output']
487
- /** Aggregate current value in dollars, or `null` if any underlying position lacks a mark. */
488
- currentValueDollars: Maybe<Scalars['Float']['output']>
489
- /** Total quantity held in `quantity_type` units. */
490
- quantity: Scalars['Float']['output']
491
- /** Unit basis (`shares`, `units`, `principal`). */
492
- quantityType: Scalars['String']['output']
493
- /** Security ID. */
494
- securityId: Scalars['String']['output']
495
- /** Display name of the security. */
496
- securityName: Scalars['String']['output']
497
- /** Instrument family (e.g. `common_stock`, `warrant`). */
498
- securityType: Scalars['String']['output']
499
- }
500
-
501
- /** Aggregated holdings across all of the caller's portfolios. */
502
- export type HoldingsList = {
503
- /** One row per issuing entity. */
504
- holdings: Array<Holding>
505
- /** Count of entities represented. */
506
- totalEntities: Scalars['Int']['output']
507
- /** Total active positions backing these holdings. */
508
- totalPositions: Scalars['Int']['output']
509
- }
510
-
511
- export type InformationBlock = {
512
- artifact: Artifact
513
- blockType: Scalars['String']['output']
514
- category: Scalars['String']['output']
515
- connections: Array<InformationBlockConnection>
516
- dimensions: Array<Scalars['JSON']['output']>
517
- disclosureId: Maybe<Scalars['String']['output']>
518
- displayName: Scalars['String']['output']
519
- elements: Array<InformationBlockElement>
520
- factSet: Maybe<InformationBlockFactSet>
521
- facts: Array<InformationBlockFact>
522
- id: Scalars['ID']['output']
523
- informationModel: InformationModel
524
- name: Scalars['String']['output']
525
- rules: Array<InformationBlockRule>
526
- taxonomyId: Maybe<Scalars['String']['output']>
527
- taxonomyName: Maybe<Scalars['String']['output']>
528
- verificationResults: Array<InformationBlockVerificationResult>
529
- verificationSummary: Maybe<InformationBlockVerificationSummary>
530
- view: InformationBlockViewProjections
531
- }
532
-
533
- /**
534
- * Server-shaped chart projection — panel/series CONFIG, never values.
535
- *
536
- * The second real server-computed View arm (after ``rendering``). Values
537
- * come from ``rendering.rows`` joined by ``element_id``; the x-axis is
538
- * ``rendering.periods``. Renderers (report-components) turn one panel
539
- * into one chart.
540
- */
541
- export type InformationBlockChart = {
542
- panels: Array<InformationBlockChartPanel>
543
- }
544
-
545
- /**
546
- * One chart panel — series sharing a y-axis format family.
547
- *
548
- * Mixed-unit catalogs are unplottable on one axis, so the server groups
549
- * rows into panels by ``item_type`` family (NULL falls back to
550
- * ``is_monetary``). The x-axis is always ``rendering.periods``.
551
- */
552
- export type InformationBlockChartPanel = {
553
- /** Format family shared by the panel's series (monetary | ratio | percent | multiple | days); None for the untyped fallback panel. */
554
- itemType: Maybe<Scalars['String']['output']>
555
- /** Per-panel mark — 'line' or 'bar'. */
556
- kind: Scalars['String']['output']
557
- /** Panel heading — e.g. 'Monetary', 'Ratios'. */
558
- label: Maybe<Scalars['String']['output']>
559
- series: Array<InformationBlockChartSeries>
560
- }
561
-
562
- /**
563
- * One plottable series in a chart panel.
564
- *
565
- * Carries structure and identity only — the values live in the sibling
566
- * ``rendering.rows`` (join on ``element_id``), so the chart arm never
567
- * duplicates the value matrix. ``key`` is the stable series identity for
568
- * client state (colors, toggles); today it equals ``element_id``, and
569
- * future axes (the forecast scenario) arrive as new fields on this
570
- * model, never a new arm shape.
571
- */
572
- export type InformationBlockChartSeries = {
573
- elementId: Scalars['String']['output']
574
- /** Stable series id — element_id today. */
575
- key: Scalars['String']['output']
576
- /** Display name for legends. */
577
- label: Scalars['String']['output']
578
- }
579
-
580
- /**
581
- * Classification projection — one row per `association_classifications`
582
- * junction entry.
583
- *
584
- * Association-side only: concept_arrangement, member_arrangement,
585
- * named_disclosure. Element-side FASB metamodel traits (asset, current,
586
- * operating, …) live in `TraitLite` via `element_traits`.
587
- *
588
- * Carries enough for the envelope caller to render / filter by category +
589
- * identifier without a follow-up lookup. The full `public.classifications`
590
- * vocabulary catalog (name / description / metadata) is available via the
591
- * library GraphQL surface when callers need the details.
592
- */
593
- export type InformationBlockClassification = {
594
- /** One of the 3 association-level categories in the `public.classifications` CHECK constraint: 'concept_arrangement', 'member_arrangement', or 'named_disclosure'. */
595
- category: Scalars['String']['output']
596
- /** AI/adapter-supplied confidence (0.0-1.0). Null for deterministic library-seeded rows. */
597
- confidence: Maybe<Scalars['Float']['output']>
598
- /** Classification vocabulary row id. */
599
- id: Scalars['String']['output']
600
- /** Vocabulary identifier within the category — e.g. 'RollUp', 'whole_part', 'AssetsRollUp'. */
601
- identifier: Scalars['String']['output']
602
- /** Whether this is the canonical classification for the (association|element, category) pair. Non-primary rows capture alternates / AI suggestions alongside the chosen primary. */
603
- isPrimary: Scalars['Boolean']['output']
604
- /** Provenance — 'arcrole_analysis', 'disclosure_mechanics', 'fac-traits', adapter name, etc. */
605
- source: Maybe<Scalars['String']['output']>
606
- }
607
-
608
- /**
609
- * Connection (= Association) projection.
610
- *
611
- * "Connection" is the ontology term used on the wire; the storage table is
612
- * ``associations`` (``models/extensions/association.py``).
613
- */
614
- export type InformationBlockConnection = {
615
- arcrole: Maybe<Scalars['String']['output']>
616
- /** presentation | calculation | mapping | equivalence | general-special | essence-alias */
617
- associationType: Scalars['String']['output']
618
- /** Association-level classifications — concept_arrangement, member_arrangement, named_disclosure rows from the junction. Empty for library-seeded associations that haven't been classified yet. */
619
- classifications: Array<InformationBlockClassification>
620
- fromElementId: Scalars['String']['output']
621
- id: Scalars['String']['output']
622
- orderValue: Maybe<Scalars['Float']['output']>
623
- toElementId: Scalars['String']['output']
624
- weight: Maybe<Scalars['Float']['output']>
625
- }
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
-
652
- /** Fact projection — just the values the envelope caller cares about. */
653
- export type InformationBlockFact = {
654
- /** MIME type of text_value (e.g. 'text/markdown'). */
655
- contentType: Maybe<Scalars['String']['output']>
656
- elementId: Scalars['String']['output']
657
- elementName: Maybe<Scalars['String']['output']>
658
- elementQname: Maybe<Scalars['String']['output']>
659
- /** historical | in_scope */
660
- factScope: Scalars['String']['output']
661
- factSetId: Maybe<Scalars['String']['output']>
662
- /** Numeric | Nonnumeric */
663
- factType: Scalars['String']['output']
664
- id: Scalars['String']['output']
665
- periodEnd: Scalars['Date']['output']
666
- periodStart: Maybe<Scalars['Date']['output']>
667
- periodType: Scalars['String']['output']
668
- /** Text payload for Nonnumeric facts; null for numeric. */
669
- textValue: Maybe<Scalars['String']['output']>
670
- unit: Scalars['String']['output']
671
- /** Numeric value; null for Nonnumeric (text-block) facts. */
672
- value: Maybe<Scalars['Float']['output']>
673
- }
674
-
675
- /**
676
- * FactSet projection — period-specific instantiation of the Structure.
677
- *
678
- * The envelope carries one ``FactSetLite`` per block when a FactSet row exists
679
- * for the requested period, and leaves ``fact_set`` null when none does.
680
- */
681
- export type InformationBlockFactSet = {
682
- entityId: Scalars['String']['output']
683
- /** 'report' | 'schedule' | 'custom' | 'disclosure' | 'metric'. Enum closure enforced by the ``public.fact_sets`` CHECK constraint. */
684
- factsetType: Scalars['String']['output']
685
- id: Scalars['String']['output']
686
- periodEnd: Scalars['Date']['output']
687
- periodStart: Maybe<Scalars['Date']['output']>
688
- /** 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. */
689
- provenance: Maybe<Scalars['JSON']['output']>
690
- /** Back-pointer to the parent row in ``reports``. Null when the FactSet does not belong to a report package. */
691
- reportId: Maybe<Scalars['String']['output']>
692
- /** Scenario axis (the forecast engine). NULL = actuals; non-NULL names the owning forecast block whose parallel universe this set belongs to. */
693
- scenarioId: Maybe<Scalars['String']['output']>
694
- structureId: Maybe<Scalars['String']['output']>
695
- }
696
-
697
- /**
698
- * Pre-computed rendering projection of an Information Block.
699
- *
700
- * Computed server-side at envelope-build time for blocks where rendering
701
- * is deterministic (the statement family today; future block types add
702
- * their own rendering builders). The frontend's ``BlockView``
703
- * ``Rendering`` projection consumes this directly — no client-side
704
- * rollup, depth computation, or calculation walk needed.
705
- */
706
- export type InformationBlockRendering = {
707
- periods: Array<InformationBlockRenderingPeriod>
708
- rows: Array<InformationBlockRenderingRow>
709
- unmappedCount: Scalars['Int']['output']
710
- validation: Maybe<InformationBlockValidation>
711
- }
712
-
713
- /** One period column in a rendered statement. */
714
- export type InformationBlockRenderingPeriod = {
715
- end: Scalars['Date']['output']
716
- /** 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. */
717
- forecast: Maybe<Scalars['Boolean']['output']>
718
- label: Maybe<Scalars['String']['output']>
719
- start: Scalars['Date']['output']
720
- }
721
-
722
- /**
723
- * One row of a server-side rendered statement.
724
- *
725
- * Mirrors :class:`FactRow` in
726
- * :mod:`robosystems.operations.roboledger.reports.fact_grid`, restated at the
727
- * API boundary so envelope consumers don't depend on that module. ``values``
728
- * holds one entry per period column in :class:`RenderingLite.periods`.
729
- */
730
- export type InformationBlockRenderingRow = {
731
- balanceType: Maybe<Scalars['String']['output']>
732
- /** 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. */
733
- classification: Maybe<Scalars['String']['output']>
734
- depth: Scalars['Int']['output']
735
- elementId: Scalars['String']['output']
736
- elementName: Scalars['String']['output']
737
- elementQname: Maybe<Scalars['String']['output']>
738
- isSubtotal: Scalars['Boolean']['output']
739
- /** 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. */
740
- itemType: Maybe<Scalars['String']['output']>
741
- /** Narrative payload for text-block disclosure rows (markdown); numeric rows carry values instead. */
742
- textValue: Maybe<Scalars['String']['output']>
743
- values: Array<Maybe<Scalars['Float']['output']>>
744
- }
745
-
746
- /**
747
- * Rule projection for the Information Block envelope.
748
- *
749
- * One row per ``public.rules`` entry scoped to this block. The rule
750
- * engine consumes ``rule_expression`` + ``rule_variables`` to evaluate
751
- * against the in-scope fact set; the envelope surfaces the rules so
752
- * the UI can render them as a checklist alongside any persisted
753
- * verification results.
754
- */
755
- export type InformationBlockRule = {
756
- id: Scalars['String']['output']
757
- /** One of 8 cm:VerificationRule subclasses — AutomatedAccountingAndReportingChecks, FundamentalAccountingConceptRelation, PeerConsistencyRule, PriorPeriodConsistencyRule, ReportLevelModelStructureRule, ReportingSystemSpecificRule, ToDoManualTask, XBRLTechnicalSyntaxRule. */
758
- ruleCategory: Scalars['String']['output']
759
- /** 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. */
760
- ruleCheckKind: Maybe<Scalars['String']['output']>
761
- ruleExpression: Scalars['String']['output']
762
- ruleMessage: Maybe<Scalars['String']['output']>
763
- /** 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. */
764
- ruleOrigin: Scalars['String']['output']
765
- /** 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). */
766
- rulePattern: Maybe<Scalars['String']['output']>
767
- /** Failure severity — 'info' | 'warning' | 'error'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
768
- ruleSeverity: Scalars['String']['output']
769
- ruleTarget: Maybe<InformationBlockRuleTarget>
770
- ruleVariables: Array<InformationBlockRuleVariable>
771
- }
772
-
773
- /** Polymorphic rule target — points at the atom the rule is scoped to. */
774
- export type InformationBlockRuleTarget = {
775
- /** Which atom type the rule targets — 'structure' | 'element' | 'association' | 'taxonomy'. Enum closure enforced by the ``public.rules`` CHECK constraint. */
776
- targetKind: Scalars['String']['output']
777
- /** UUID of the target atom — structure_id, element_id, association_id, or taxonomy_id depending on ``target_kind``. */
778
- targetRefId: Scalars['String']['output']
779
- }
780
-
781
- /** `$Variable` → concept qname binding for a rule expression. */
782
- export type InformationBlockRuleVariable = {
783
- /** Element id the variable binds to directly. Set for schedule SumEquals rules over CoA-debit elements that have no qname; null otherwise. */
784
- variableElementId: Maybe<Scalars['String']['output']>
785
- /** Local name in the rule expression, e.g. 'Assets'. */
786
- variableName: Scalars['String']['output']
787
- /** 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`. */
788
- variableQname: Maybe<Scalars['String']['output']>
789
- }
790
-
791
- /**
792
- * Outcome of guard-rail validation on a rendered statement.
793
- *
794
- * Distinct from :class:`VerificationResultLite` (which surfaces the
795
- * rule-engine outcomes from ``public.verification_results``). This lite
796
- * type carries the synchronous guard-rail checks computed at
797
- * envelope-build time — accounting equation, totals foot, etc.
798
- */
799
- export type InformationBlockValidation = {
800
- checks: Array<Scalars['String']['output']>
801
- failures: Array<Scalars['String']['output']>
802
- passed: Scalars['Boolean']['output']
803
- status: Scalars['String']['output']
804
- warnings: Array<Scalars['String']['output']>
805
- }
806
-
807
- /**
808
- * Pass/fail/skip counts for one ``rule_category`` within a block's
809
- * verification results.
810
- *
811
- * Drives the per-category accordions in the Verification Results panel.
812
- * ``category`` is the rule's ``rule_category``
813
- * (one of the cm:VerificationRule subclasses), resolved by joining each
814
- * result to its Rule.
815
- */
816
- export type InformationBlockVerificationCategorySummary = {
817
- category: Scalars['String']['output']
818
- errored: Scalars['Int']['output']
819
- failed: Scalars['Int']['output']
820
- passed: Scalars['Int']['output']
821
- skipped: Scalars['Int']['output']
822
- total: Scalars['Int']['output']
823
- }
824
-
825
- /**
826
- * Persisted outcome of one Rule evaluation.
827
- *
828
- * One row per ``public.verification_results`` entry the rule engine
829
- * writes. The envelope surfaces them so the block viewer's
830
- * "Verification Results" tab and MCP ``list-verification-failures``
831
- * tool can render + aggregate without a second round-trip.
832
- */
833
- export type InformationBlockVerificationResult = {
834
- evaluatedAt: Maybe<Scalars['DateTime']['output']>
835
- factSetId: Maybe<Scalars['String']['output']>
836
- id: Scalars['String']['output']
837
- message: Maybe<Scalars['String']['output']>
838
- periodEnd: Maybe<Scalars['Date']['output']>
839
- periodStart: Maybe<Scalars['Date']['output']>
840
- ruleId: Scalars['String']['output']
841
- /** 'pass' | 'fail' | 'error' | 'skipped'. Enum closure enforced by the ``public.verification_results`` CHECK constraint. */
842
- status: Scalars['String']['output']
843
- structureId: Maybe<Scalars['String']['output']>
844
- }
845
-
846
- /**
847
- * Server-computed aggregate of a block's ``verification_results``.
848
- *
849
- * Overall counts plus a per-``rule_category`` breakdown, so the viewer
850
- * renders the grouped Verification Results panel
851
- * without a client-side results→rules join. Status closure is
852
- * ``pass | fail | error | skipped`` (the ``public.verification_results``
853
- * CHECK); ``total`` is their sum.
854
- */
855
- export type InformationBlockVerificationSummary = {
856
- byCategory: Array<InformationBlockVerificationCategorySummary>
857
- errored: Scalars['Int']['output']
858
- failed: Scalars['Int']['output']
859
- passed: Scalars['Int']['output']
860
- skipped: Scalars['Int']['output']
861
- total: Scalars['Int']['output']
862
- }
863
-
864
- /**
865
- * Charlie's six ``type-of View`` arms, surfaced at the envelope boundary.
866
- *
867
- * Each projection is computed server-side at envelope-build time when
868
- * its source data is available. The frontend's ``BlockView`` dispatcher
869
- * routes to the projection component matching the user's selected view
870
- * mode; missing projections (those still in backlog) render as empty
871
- * states without breaking the dispatcher.
872
- *
873
- * Today: ``rendering`` is computed for the statement family, and
874
- * ``chart`` (the 7th arm — panel/series config over the rendering's
875
- * rows and periods) for metric blocks.
876
- * Other arms (``fact_table``, ``model_structure``, ``verification_results``,
877
- * ``report_elements``, ``business_rules``) come online as their backend
878
- * support lands; ``fact_table`` is trivially derivable from
879
- * ``InformationBlockEnvelope.facts`` and may stay as a frontend-only
880
- * projection.
881
- */
882
- export type InformationBlockViewProjections = {
883
- chart: Maybe<InformationBlockChart>
884
- rendering: Maybe<InformationBlockRendering>
885
- }
886
-
887
- /** The block's intrinsic shape — concept + member arrangement patterns. */
888
- export type InformationModel = {
889
- /** roll_up | roll_forward | variance | adjustment | set | arithmetic | textblock. Null for block types where the concept arrangement is implicit in their mechanics. */
890
- conceptArrangement: Maybe<Scalars['String']['output']>
891
- /** is_a | whole_part | nested_whole_part | two_dimension_aggregation | complex_aggregating_whole_part, or null if non-hypercube. */
892
- memberArrangement: Maybe<Scalars['String']['output']>
893
- }
894
-
895
- /**
896
- * Entity details from the extensions OLTP database.
897
- *
898
- * Returned by entity reads and `update-entity`. Identifiers
899
- * (CIK / ticker / SIC / LEI / tax_id) are present when sourced from
900
- * SEC or registry data; many are null for private companies. The
901
- * address fields are flattened (no nested object) to make them easy
902
- * to project into reporting forms.
903
- */
904
- export type LedgerEntity = {
905
- addressCity: Maybe<Scalars['String']['output']>
906
- addressCountry: Maybe<Scalars['String']['output']>
907
- addressLine1: Maybe<Scalars['String']['output']>
908
- addressPostalCode: Maybe<Scalars['String']['output']>
909
- addressState: Maybe<Scalars['String']['output']>
910
- /** Filer category (e.g. 'Large Accelerated Filer'). */
911
- category: Maybe<Scalars['String']['output']>
912
- /** SEC CIK (Central Index Key). */
913
- cik: Maybe<Scalars['String']['output']>
914
- /** Source connection that ingested this row. */
915
- connectionId: Maybe<Scalars['String']['output']>
916
- createdAt: Maybe<Scalars['String']['output']>
917
- /** Legal form (e.g. 'corporation', 'llc', 'lp'). */
918
- entityType: Maybe<Scalars['String']['output']>
919
- /** Listing exchange (e.g. 'NASDAQ', 'NYSE'). */
920
- exchange: Maybe<Scalars['String']['output']>
921
- /** Fiscal year-end as MM-DD (e.g. '12-31', '06-30'). */
922
- fiscalYearEnd: Maybe<Scalars['String']['output']>
923
- /** Entity identifier (ULID). */
924
- id: Scalars['String']['output']
925
- /** Free-form industry label. */
926
- industry: Maybe<Scalars['String']['output']>
927
- /** True for top-level entities; False for subsidiaries. */
928
- isParent: Scalars['Boolean']['output']
929
- /** Full registered legal name (when different from `name`). */
930
- legalName: Maybe<Scalars['String']['output']>
931
- /** Legal Entity Identifier (ISO 17442). */
932
- lei: Maybe<Scalars['String']['output']>
933
- /** Display name shown in UI. */
934
- name: Scalars['String']['output']
935
- /** Parent entity ID for subsidiaries; null for top-level. */
936
- parentEntityId: Maybe<Scalars['String']['output']>
937
- phone: Maybe<Scalars['String']['output']>
938
- /** Active Reporting Style (Structure id) governing this entity's statement layout. Change it via the change-reporting-style operation. */
939
- reportingStyleId: Maybe<Scalars['String']['output']>
940
- /** SIC industry code. */
941
- sic: Maybe<Scalars['String']['output']>
942
- /** SIC code description. */
943
- sicDescription: Maybe<Scalars['String']['output']>
944
- /** Provenance: 'native' | 'sec' | 'quickbooks' | 'xero' | 'plaid'. */
945
- source: Scalars['String']['output']
946
- /** Origin graph for received entities (cross-graph linking, e.g. RoboInvestor portfolio holdings). */
947
- sourceGraphId: Maybe<Scalars['String']['output']>
948
- /** Source-system primary key for sync reconciliation. */
949
- sourceId: Maybe<Scalars['String']['output']>
950
- /** US state or country of incorporation. */
951
- stateOfIncorporation: Maybe<Scalars['String']['output']>
952
- /** Operational status: 'active' | 'inactive' | 'dissolved'. */
953
- status: Scalars['String']['output']
954
- /** Tax ID (EIN / SSN). */
955
- taxId: Maybe<Scalars['String']['output']>
956
- /** Stock ticker symbol. */
957
- ticker: Maybe<Scalars['String']['output']>
958
- updatedAt: Maybe<Scalars['String']['output']>
959
- /** Canonical URL / external identifier. */
960
- uri: Maybe<Scalars['String']['output']>
961
- website: Maybe<Scalars['String']['output']>
962
- }
963
-
964
- /**
965
- * A journal entry — accounting interpretation of a transaction.
966
- *
967
- * Each transaction has 1+ entries; each entry has 2+ line items that
968
- * must balance. ``status`` is the draft/posted/reversed lifecycle;
969
- * ``type`` is the entry classification ('standard' | 'adjusting' |
970
- * 'closing' | 'reversing').
971
- */
972
- export type LedgerEntry = {
973
- id: Scalars['String']['output']
974
- lineItems: Array<LedgerLineItem>
975
- memo: Maybe<Scalars['String']['output']>
976
- number: Maybe<Scalars['String']['output']>
977
- postedAt: Maybe<Scalars['DateTime']['output']>
978
- postingDate: Scalars['Date']['output']
979
- status: Scalars['String']['output']
980
- type: Scalars['String']['output']
981
- }
982
-
983
- /**
984
- * One debit/credit line within a journal entry. Always exactly one
985
- * side has a non-zero amount.
986
- */
987
- export type LedgerLineItem = {
988
- accountCode: Maybe<Scalars['String']['output']>
989
- accountId: Scalars['String']['output']
990
- accountName: Maybe<Scalars['String']['output']>
991
- creditAmount: Scalars['Float']['output']
992
- debitAmount: Scalars['Float']['output']
993
- description: Maybe<Scalars['String']['output']>
994
- id: Scalars['String']['output']
995
- lineOrder: Scalars['Int']['output']
996
- }
997
-
998
- /**
999
- * High-level rollup of a graph's ledger state — counts plus the
1000
- * date-range bookends and integration sync timestamp.
1001
- *
1002
- * Used by dashboards and the onboarding wizard to answer "is this
1003
- * graph populated yet?" without walking every transaction. ``connection_count``
1004
- * reflects active integrations (QuickBooks / Plaid / etc.); a non-null
1005
- * ``last_sync_at`` means at least one connection has run.
1006
- */
1007
- export type LedgerSummary = {
1008
- accountCount: Scalars['Int']['output']
1009
- connectionCount: Scalars['Int']['output']
1010
- earliestTransactionDate: Maybe<Scalars['Date']['output']>
1011
- entryCount: Scalars['Int']['output']
1012
- graphId: Scalars['String']['output']
1013
- lastSyncAt: Maybe<Scalars['DateTime']['output']>
1014
- latestTransactionDate: Maybe<Scalars['Date']['output']>
1015
- lineItemCount: Scalars['Int']['output']
1016
- transactionCount: Scalars['Int']['output']
1017
- }
1018
-
1019
- /**
1020
- * Full transaction detail — header + every journal entry + every
1021
- * line item underneath. Used by the transaction detail page.
1022
- */
1023
- export type LedgerTransactionDetail = {
1024
- amount: Scalars['Float']['output']
1025
- category: Maybe<Scalars['String']['output']>
1026
- currency: Scalars['String']['output']
1027
- date: Scalars['Date']['output']
1028
- description: Maybe<Scalars['String']['output']>
1029
- dueDate: Maybe<Scalars['Date']['output']>
1030
- entries: Array<LedgerEntry>
1031
- id: Scalars['String']['output']
1032
- merchantName: Maybe<Scalars['String']['output']>
1033
- number: Maybe<Scalars['String']['output']>
1034
- postedAt: Maybe<Scalars['DateTime']['output']>
1035
- referenceNumber: Maybe<Scalars['String']['output']>
1036
- source: Scalars['String']['output']
1037
- sourceId: Maybe<Scalars['String']['output']>
1038
- status: Scalars['String']['output']
1039
- type: Scalars['String']['output']
1040
- }
1041
-
1042
- /** Paginated transaction listing — header view. */
1043
- export type LedgerTransactionList = {
1044
- pagination: PaginationInfo
1045
- transactions: Array<LedgerTransactionSummary>
1046
- }
1047
-
1048
- /**
1049
- * Transaction header — list/grid view without entries.
1050
- *
1051
- * Transaction is the business-event level (what happened in the real
1052
- * world). Entries (journal entries) live one level down and are loaded
1053
- * in the detail view. ``source`` distinguishes integration-imported
1054
- * rows (quickbooks / xero / plaid) from native-created ones.
1055
- */
1056
- export type LedgerTransactionSummary = {
1057
- amount: Scalars['Float']['output']
1058
- category: Maybe<Scalars['String']['output']>
1059
- currency: Scalars['String']['output']
1060
- date: Scalars['Date']['output']
1061
- description: Maybe<Scalars['String']['output']>
1062
- dueDate: Maybe<Scalars['Date']['output']>
1063
- id: Scalars['String']['output']
1064
- merchantName: Maybe<Scalars['String']['output']>
1065
- number: Maybe<Scalars['String']['output']>
1066
- referenceNumber: Maybe<Scalars['String']['output']>
1067
- source: Scalars['String']['output']
1068
- status: Scalars['String']['output']
1069
- type: Scalars['String']['output']
1070
- }
1071
-
1072
- /** An arc between two library elements (parent-child, equivalence, etc). */
1073
- export type LibraryAssociation = {
1074
- arcrole: Maybe<Scalars['String']['output']>
1075
- /** presentation | calculation | mapping | equivalence | general-special | essence-alias */
1076
- associationType: Scalars['String']['output']
1077
- fromElementId: Scalars['String']['output']
1078
- fromElementIsAbstract: Maybe<Scalars['Boolean']['output']>
1079
- fromElementName: Maybe<Scalars['String']['output']>
1080
- fromElementQname: Maybe<Scalars['String']['output']>
1081
- /** Primary elementsOfFinancialStatements trait (for node coloring) */
1082
- fromElementTrait: Maybe<Scalars['String']['output']>
1083
- id: Scalars['String']['output']
1084
- orderValue: Maybe<Scalars['Float']['output']>
1085
- structureId: Scalars['String']['output']
1086
- structureName: Maybe<Scalars['String']['output']>
1087
- toElementId: Scalars['String']['output']
1088
- toElementIsAbstract: Maybe<Scalars['Boolean']['output']>
1089
- toElementName: Maybe<Scalars['String']['output']>
1090
- toElementQname: Maybe<Scalars['String']['output']>
1091
- /** Primary elementsOfFinancialStatements trait (for node coloring) */
1092
- toElementTrait: Maybe<Scalars['String']['output']>
1093
- weight: Maybe<Scalars['Float']['output']>
1094
- }
1095
-
1096
- /** A library element (concept, abstract, axis, member, or hypercube). */
1097
- export type LibraryElement = {
1098
- /** debit | credit */
1099
- balanceType: Scalars['String']['output']
1100
- /** concept | abstract | axis | member | hypercube */
1101
- elementType: Scalars['String']['output']
1102
- id: Scalars['String']['output']
1103
- isAbstract: Scalars['Boolean']['output']
1104
- isMonetary: Scalars['Boolean']['output']
1105
- labels: Array<LibraryLabel>
1106
- name: Scalars['String']['output']
1107
- namespace: Maybe<Scalars['String']['output']>
1108
- parentId: Maybe<Scalars['String']['output']>
1109
- /** instant | duration */
1110
- periodType: Scalars['String']['output']
1111
- /** Qualified name, e.g. 'fac:Assets' */
1112
- qname: Scalars['String']['output']
1113
- references: Array<LibraryReference>
1114
- /** fac | us-gaap | rs-gaap | … */
1115
- source: Scalars['String']['output']
1116
- taxonomyId: Maybe<Scalars['String']['output']>
1117
- /** 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. */
1118
- trait: Maybe<Scalars['String']['output']>
1119
- }
1120
-
1121
- /**
1122
- * A mapping arc involving a specific element.
1123
- *
1124
- * Flat row view: one arc, oriented from the perspective of the element
1125
- * being inspected. `peer` is the other end; `direction` says whether
1126
- * this element is the source ('outgoing') or the target ('incoming').
1127
- *
1128
- * Scoped to arcs whose structure belongs to a `taxonomy_type='mapping'`
1129
- * taxonomy — the cross-taxonomy bridges (equivalence, general-special,
1130
- * rs-gaap-type-subtype). Hierarchical arcs inside a single reporting taxonomy
1131
- * are out of scope.
1132
- */
1133
- export type LibraryElementArc = {
1134
- arcrole: Maybe<Scalars['String']['output']>
1135
- associationType: Scalars['String']['output']
1136
- /** 'outgoing' (this element is source) | 'incoming' (target) */
1137
- direction: Scalars['String']['output']
1138
- id: Scalars['String']['output']
1139
- peer: LibraryElement
1140
- structureId: Maybe<Scalars['String']['output']>
1141
- structureName: Maybe<Scalars['String']['output']>
1142
- taxonomyId: Maybe<Scalars['String']['output']>
1143
- taxonomyName: Maybe<Scalars['String']['output']>
1144
- taxonomyStandard: Maybe<Scalars['String']['output']>
1145
- }
1146
-
1147
- /**
1148
- * One FASB metamodel trait assigned to a library element.
1149
- *
1150
- * A single element can carry multiple traits across multiple categories
1151
- * (e.g. elementsOfFinancialStatements=expense AND
1152
- * operatingNonoperating=operating AND liquidity=current).
1153
- */
1154
- export type LibraryElementClassification = {
1155
- /** Trait axis (e.g. elementsOfFinancialStatements) */
1156
- category: Scalars['String']['output']
1157
- /** Value within the axis (e.g. expense) */
1158
- identifier: Scalars['String']['output']
1159
- /** True for the element's primary EFS trait assignment */
1160
- isPrimary: Scalars['Boolean']['output']
1161
- /** Human-readable name */
1162
- name: Maybe<Scalars['String']['output']>
1163
- }
1164
-
1165
- export type LibraryElementTreeNode = {
1166
- children: Array<LibraryElementTreeNode>
1167
- element: LibraryElement
1168
- }
1169
-
1170
- /**
1171
- * An element and its equivalence peers.
1172
- *
1173
- * Answers "what other concepts mean the same thing as this one" — the
1174
- * FAC→us-gaap collapse pattern rendered as an API shape.
1175
- */
1176
- export type LibraryEquivalence = {
1177
- element: LibraryElement
1178
- equivalents: Array<LibraryElement>
1179
- }
1180
-
1181
- /** A label on a library element. */
1182
- export type LibraryLabel = {
1183
- /** Language code */
1184
- language: Scalars['String']['output']
1185
- /** Label role: standard/documentation/verbose/… */
1186
- role: Scalars['String']['output']
1187
- /** Label text */
1188
- text: Scalars['String']['output']
1189
- }
1190
-
1191
- /** A cross-reference on a library element (FASB ASC, SEC, etc). */
1192
- export type LibraryReference = {
1193
- /** Full citation text */
1194
- citation: Scalars['String']['output']
1195
- /** 'ASC' | 'SEC' | 'SFAC' | 'IFRS' | 'Other' */
1196
- refType: Maybe<Scalars['String']['output']>
1197
- /** Dereferenceable URL if available */
1198
- uri: Maybe<Scalars['String']['output']>
1199
- }
1200
-
1201
- /** A named structure (extended link role) within a library taxonomy. */
1202
- export type LibraryStructure = {
1203
- /** balance_sheet | income_statement | cash_flow_statement | custom | … */
1204
- blockType: Scalars['String']['output']
1205
- id: Scalars['String']['output']
1206
- isActive: Scalars['Boolean']['output']
1207
- name: Scalars['String']['output']
1208
- /** Original XBRL role URI if any */
1209
- roleUri: Maybe<Scalars['String']['output']>
1210
- taxonomyId: Scalars['String']['output']
1211
- }
1212
-
1213
- /** A library taxonomy (fac, us-gaap, rs-gaap, …). */
1214
- export type LibraryTaxonomy = {
1215
- description: Maybe<Scalars['String']['output']>
1216
- /** Total elements in this taxonomy (computed on demand) */
1217
- elementCount: Maybe<Scalars['Int']['output']>
1218
- id: Scalars['String']['output']
1219
- isActive: Scalars['Boolean']['output']
1220
- isLocked: Scalars['Boolean']['output']
1221
- isShared: Scalars['Boolean']['output']
1222
- name: Scalars['String']['output']
1223
- namespaceUri: Maybe<Scalars['String']['output']>
1224
- /** fac | us-gaap | rs-gaap | ifrs */
1225
- standard: Maybe<Scalars['String']['output']>
1226
- /** chart_of_accounts | reporting | mapping | schedule */
1227
- taxonomyType: Scalars['String']['output']
1228
- version: Maybe<Scalars['String']['output']>
1229
- }
1230
-
1231
- /** Trial balance rolled up to reporting concepts via mapping associations. */
1232
- export type MappedTrialBalance = {
1233
- mappingId: Scalars['String']['output']
1234
- rows: Array<MappedTrialBalanceRow>
1235
- }
1236
-
1237
- /** One reporting-concept row in the mapped trial balance. */
1238
- export type MappedTrialBalanceRow = {
1239
- balanceType: Maybe<Scalars['String']['output']>
1240
- netBalance: Scalars['Float']['output']
1241
- qname: Scalars['String']['output']
1242
- reportingElementId: Scalars['String']['output']
1243
- reportingName: Scalars['String']['output']
1244
- totalCredits: Scalars['Float']['output']
1245
- totalDebits: Scalars['Float']['output']
1246
- trait: Maybe<Scalars['String']['output']>
1247
- }
1248
-
1249
- /** Coverage stats for a mapping. */
1250
- export type MappingCoverage = {
1251
- coveragePercent: Scalars['Float']['output']
1252
- highConfidence: Scalars['Int']['output']
1253
- lowConfidence: Scalars['Int']['output']
1254
- mappedCount: Scalars['Int']['output']
1255
- mappingId: Scalars['String']['output']
1256
- mediumConfidence: Scalars['Int']['output']
1257
- totalCoaElements: Scalars['Int']['output']
1258
- unmappedCount: Scalars['Int']['output']
1259
- unreachable: Array<UnreachableMappingType>
1260
- unreachableCount: Scalars['Int']['output']
1261
- }
1262
-
1263
- /** A mapping structure with all its associations. */
1264
- export type MappingDetail = {
1265
- associations: Array<Association>
1266
- blockType: Scalars['String']['output']
1267
- id: Scalars['String']['output']
1268
- name: Scalars['String']['output']
1269
- taxonomyId: Scalars['String']['output']
1270
- totalAssociations: Scalars['Int']['output']
1271
- }
1272
-
1273
- /**
1274
- * Graph-wide open AR or open AP aggregate.
1275
- *
1276
- * ``total_open_cents`` is the sum of unsettled originating-event
1277
- * balances; ``counterparty_count`` is the number of distinct agents
1278
- * with at least one open invoice or bill. The currency is uniform
1279
- * per graph today (mixed-currency books would need a per-currency
1280
- * breakdown — out of scope for v1).
1281
- */
1282
- export type OpenBalanceAggregate = {
1283
- /** Distinct agents with at least one open balance. */
1284
- counterpartyCount: Scalars['Int']['output']
1285
- /** Currency code (uniform per graph). */
1286
- currency: Scalars['String']['output']
1287
- /** Distinct originating events with a nonzero open balance. */
1288
- openEventCount: Scalars['Int']['output']
1289
- /** Sum of unsettled balances in minor currency units. */
1290
- totalOpenCents: Scalars['Int']['output']
1291
- }
1292
-
1293
- /**
1294
- * Per-agent open balance row.
1295
- *
1296
- * Used for both the aging-by-counterparty list and the per-Agent
1297
- * GraphQL field. ``open_balance_cents`` reflects only the unsettled
1298
- * remainder (sum of originating amounts minus sum of discharges) so
1299
- * partial-payment chains net out correctly.
1300
- */
1301
- export type OpenBalanceByAgent = {
1302
- agentId: Scalars['String']['output']
1303
- currency: Scalars['String']['output']
1304
- /** Unsettled originating-event amounts minus discharges, in minor currency units. Positive for normal AR/AP; negative when overpaid. */
1305
- openBalanceCents: Scalars['Int']['output']
1306
- /** Number of originating events with nonzero balance for this agent. */
1307
- openEventCount: Scalars['Int']['output']
1308
- }
1309
-
1310
- /** Pagination information for list responses. */
1311
- export type PaginationInfo = {
1312
- /** Whether more items are available */
1313
- hasMore: Scalars['Boolean']['output']
1314
- /** Maximum number of items returned in this response */
1315
- limit: Scalars['Int']['output']
1316
- /** Number of items skipped */
1317
- offset: Scalars['Int']['output']
1318
- /** Total number of items available */
1319
- total: Scalars['Int']['output']
1320
- }
1321
-
1322
- /**
1323
- * One pending schedule-derived obligation blocking close.
1324
- *
1325
- * Surfaced on `FiscalCalendarResponse` when `pending_obligations` is in
1326
- * the blockers list so callers can name which schedules to promote.
1327
- */
1328
- export type PendingObligationDetail = {
1329
- eventId: Scalars['String']['output']
1330
- /** Period in YYYY-MM format */
1331
- period: Scalars['String']['output']
1332
- scheduleId: Maybe<Scalars['String']['output']>
1333
- scheduleName: Maybe<Scalars['String']['output']>
1334
- }
1335
-
1336
- /**
1337
- * One schedule's contribution to a period close — drafted closing
1338
- * entry plus its reversal (when ``auto_reverse=True``).
1339
- *
1340
- * ``status`` is the closing entry's draft/posted lifecycle. The
1341
- * reversal mirrors the same shape with ``reversal_*`` fields.
1342
- */
1343
- export type PeriodCloseItem = {
1344
- amount: Scalars['Float']['output']
1345
- entryId: Maybe<Scalars['String']['output']>
1346
- reversalEntryId: Maybe<Scalars['String']['output']>
1347
- reversalStatus: Maybe<Scalars['String']['output']>
1348
- status: Scalars['String']['output']
1349
- structureId: Scalars['String']['output']
1350
- structureName: Scalars['String']['output']
1351
- }
1352
-
1353
- /**
1354
- * Period-close dashboard view — every schedule in scope for the
1355
- * period plus drafted/posted entry totals.
1356
- *
1357
- * Use to drive the close-period UI: schedules with ``status='draft'``
1358
- * are pending close; ``period_status`` reflects the calendar's lock
1359
- * state for the period.
1360
- */
1361
- export type PeriodCloseStatus = {
1362
- /** 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. */
1363
- closeReceipt: Maybe<CloseReceipt>
1364
- fiscalPeriodEnd: Scalars['Date']['output']
1365
- fiscalPeriodStart: Scalars['Date']['output']
1366
- periodStatus: Scalars['String']['output']
1367
- schedules: Array<PeriodCloseItem>
1368
- totalDraft: Scalars['Int']['output']
1369
- totalPosted: Scalars['Int']['output']
1370
- }
1371
-
1372
- /** All draft entries for a fiscal period, ready for review before close. */
1373
- export type PeriodDrafts = {
1374
- /** True if every draft entry has debit == credit */
1375
- allBalanced: Scalars['Boolean']['output']
1376
- draftCount: Scalars['Int']['output']
1377
- drafts: Array<DraftEntry>
1378
- /** Number of drafts that post locally only (no QB write-back). */
1379
- localOnlyCount: Scalars['Int']['output']
1380
- /** YYYY-MM period name */
1381
- period: Scalars['String']['output']
1382
- periodEnd: Scalars['Date']['output']
1383
- periodStart: Scalars['Date']['output']
1384
- /** Number of drafts that will publish to QuickBooks on close. */
1385
- qbPublishCount: Scalars['Int']['output']
1386
- /** write_policy of the publishing QB connection ('qb_authoritative' / 'hybrid'), or null when there is no write-back connection. */
1387
- qbWritePolicy: Maybe<Scalars['String']['output']>
1388
- /** 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). */
1389
- qbWritebackConnectionId: Maybe<Scalars['String']['output']>
1390
- /** Sum across all drafts, in cents */
1391
- totalCredit: Scalars['Int']['output']
1392
- /** Sum across all drafts, in cents */
1393
- totalDebit: Scalars['Int']['output']
1394
- }
1395
-
1396
- /**
1397
- * A single reporting period column.
1398
- *
1399
- * Reports render facts in N period columns side-by-side. Each
1400
- * ``PeriodSpec`` is one column — its ``start``/``end`` define the
1401
- * window the report's facts roll up into; ``label`` is what the renderer
1402
- * prints in the column header. For year-over-year statements, supply two
1403
- * PeriodSpecs (current + comparative); for YTD by quarter, supply four.
1404
- */
1405
- export type PeriodSpec = {
1406
- /** Period end date (inclusive). Window the column rolls up. */
1407
- end: Scalars['Date']['output']
1408
- /** Column header label (e.g. 'FY2025 Q3', '2024', 'YTD'). */
1409
- label: Scalars['String']['output']
1410
- /** Period start date (inclusive). Window the column rolls up. */
1411
- start: Scalars['Date']['output']
1412
- }
1413
-
1414
- /**
1415
- * Read projection for a single portfolio — core fields only.
1416
- *
1417
- * Position-level holdings live on the dedicated portfolio-block envelope
1418
- * (`PortfolioBlockEnvelope`) returned by molecular operations.
1419
- */
1420
- export type Portfolio = {
1421
- /** ISO 4217 currency code used for portfolio-level aggregates. */
1422
- baseCurrency: Scalars['String']['output']
1423
- /** Row creation timestamp (UTC). */
1424
- createdAt: Scalars['DateTime']['output']
1425
- /** Free-text description. */
1426
- description: Maybe<Scalars['String']['output']>
1427
- /** Portfolio ID (`port_*` ULID). */
1428
- id: Scalars['String']['output']
1429
- /** Date the portfolio was established (YYYY-MM-DD). */
1430
- inceptionDate: Maybe<Scalars['Date']['output']>
1431
- /** Display name. */
1432
- name: Scalars['String']['output']
1433
- /** Free-text strategy classification (e.g. `value`, `growth`, `income`). Open vocabulary. */
1434
- strategy: Maybe<Scalars['String']['output']>
1435
- /** Last-modified timestamp (UTC). */
1436
- updatedAt: Scalars['DateTime']['output']
1437
- }
1438
-
1439
- /**
1440
- * Molecular response shape for portfolio-block operations.
1441
- *
1442
- * Bundles the portfolio core, its embedded positions, and pre-computed
1443
- * totals into a single payload — the contract for `create-portfolio-block`,
1444
- * `update-portfolio-block`, and the read-side `get-portfolio-block`.
1445
- * Cents-precision values aren't surfaced here; use `PositionResponse`
1446
- * / `PortfolioResponse` for those.
1447
- */
1448
- export type PortfolioBlock = {
1449
- /** Count of positions with `status='active'`. */
1450
- activePositionCount: Scalars['Int']['output']
1451
- /** ISO 4217 currency code for portfolio aggregates. */
1452
- baseCurrency: Scalars['String']['output']
1453
- /** Row creation timestamp (UTC). */
1454
- createdAt: Scalars['DateTime']['output']
1455
- /** Free-text description. */
1456
- description: Maybe<Scalars['String']['output']>
1457
- /** Portfolio ID (`port_*` ULID). */
1458
- id: Scalars['ID']['output']
1459
- /** Date the portfolio was established. */
1460
- inceptionDate: Maybe<Scalars['Date']['output']>
1461
- /** Display name. */
1462
- name: Scalars['String']['output']
1463
- /** Embedded owning entity, when set. `null` for unattributed portfolios. */
1464
- owner: Maybe<EntityLite>
1465
- /** All positions in this portfolio, including disposed ones (filter by `status` for active-only display). */
1466
- positions: Array<PositionBlock>
1467
- /** Free-text strategy classification. */
1468
- strategy: Maybe<Scalars['String']['output']>
1469
- /** Sum of `cost_basis_dollars` across every position. */
1470
- totalCostBasisDollars: Scalars['Float']['output']
1471
- /** Sum of `current_value_dollars` across every position. `null` when any active position lacks a mark. */
1472
- totalCurrentValueDollars: Maybe<Scalars['Float']['output']>
1473
- /** Last-modified timestamp (UTC). */
1474
- updatedAt: Scalars['DateTime']['output']
1475
- }
1476
-
1477
- /** Paginated list of portfolios. */
1478
- export type PortfolioList = {
1479
- /** Pagination cursor and totals. */
1480
- pagination: PaginationInfo
1481
- /** Portfolios on this page. */
1482
- portfolios: Array<Portfolio>
1483
- }
1484
-
1485
- /**
1486
- * Read projection for a single position.
1487
- *
1488
- * Pairs cents-precision fields (`cost_basis`, `current_value`) with
1489
- * pre-computed dollar floats (`*_dollars`) to spare clients the
1490
- * conversion. The cents fields are authoritative.
1491
- */
1492
- export type Position = {
1493
- /** Date the position was acquired (YYYY-MM-DD). */
1494
- acquisitionDate: Maybe<Scalars['Date']['output']>
1495
- /** Cost basis in **cents** of `currency`. Authoritative. */
1496
- costBasis: Scalars['Int']['output']
1497
- /** Cost basis pre-converted to dollars (`cost_basis / 100`). Convenience for display; `cost_basis` is the source of truth. */
1498
- costBasisDollars: Scalars['Float']['output']
1499
- /** Row creation timestamp (UTC). */
1500
- createdAt: Scalars['DateTime']['output']
1501
- /** ISO 4217 currency code for `cost_basis` and `current_value`. */
1502
- currency: Scalars['String']['output']
1503
- /** Latest mark-to-market value in **cents**, or `null` if unmarked. */
1504
- currentValue: Maybe<Scalars['Int']['output']>
1505
- /** Current value in dollars (`current_value / 100`). `null` when `current_value` is null. */
1506
- currentValueDollars: Maybe<Scalars['Float']['output']>
1507
- /** Date the position was disposed, if `status='disposed'`. `null` for active positions. */
1508
- dispositionDate: Maybe<Scalars['Date']['output']>
1509
- /** Cached display name of the security's issuing entity. */
1510
- entityName: Maybe<Scalars['String']['output']>
1511
- /** Position ID (`pos_*` ULID). */
1512
- id: Scalars['String']['output']
1513
- /** Free-text notes attached to the position. */
1514
- notes: Maybe<Scalars['String']['output']>
1515
- /** Owning portfolio ID. */
1516
- portfolioId: Scalars['String']['output']
1517
- /** Quantity held in units defined by `quantity_type`. */
1518
- quantity: Scalars['Float']['output']
1519
- /** Unit basis (`shares`, `units`, `principal`). */
1520
- quantityType: Scalars['String']['output']
1521
- /** Held security ID. */
1522
- securityId: Scalars['String']['output']
1523
- /** Cached display name of the held security, denormalized for list rendering. May lag the security row's current name briefly. */
1524
- securityName: Maybe<Scalars['String']['output']>
1525
- /** Lifecycle state. One of: `active` (currently held), `disposed` (soft-deleted via `update-portfolio-block` dispose), `archived` (historical record only). */
1526
- status: Scalars['String']['output']
1527
- /** Last-modified timestamp (UTC). */
1528
- updatedAt: Scalars['DateTime']['output']
1529
- /** Date `current_value` was sourced (YYYY-MM-DD). */
1530
- valuationDate: Maybe<Scalars['Date']['output']>
1531
- /** Free-text source attribution for the current valuation. */
1532
- valuationSource: Maybe<Scalars['String']['output']>
1533
- }
1534
-
1535
- /**
1536
- * Position projection embedded inside a `PortfolioBlockEnvelope`.
1537
- *
1538
- * Pre-converts cents fields to dollars (`cost_basis_dollars`,
1539
- * `current_value_dollars`) for display; the cents-precision fields
1540
- * live on the standalone `PositionResponse`. Embeds a `SecurityLite`
1541
- * so callers can render the security name without a follow-up fetch.
1542
- */
1543
- export type PositionBlock = {
1544
- /** Date the position was acquired. */
1545
- acquisitionDate: Maybe<Scalars['Date']['output']>
1546
- /** Cost basis in dollars (pre-converted from cents). */
1547
- costBasisDollars: Scalars['Float']['output']
1548
- /** Latest mark-to-market value in dollars. `null` when the position has not been marked. */
1549
- currentValueDollars: Maybe<Scalars['Float']['output']>
1550
- /** Position ID (`pos_*` ULID). */
1551
- id: Scalars['ID']['output']
1552
- /** Free-text notes attached to the position. */
1553
- notes: Maybe<Scalars['String']['output']>
1554
- /** Quantity held in `quantity_type` units. */
1555
- quantity: Scalars['Float']['output']
1556
- /** Unit basis (`shares`, `units`, `principal`). */
1557
- quantityType: Scalars['String']['output']
1558
- /** Embedded security details — name, type, issuer. */
1559
- security: SecurityLite
1560
- /** Lifecycle state (`active`, `disposed`, `archived`). See `PositionResponse.status` for the full vocabulary. */
1561
- status: Scalars['String']['output']
1562
- /** Date the current value was sourced. */
1563
- valuationDate: Maybe<Scalars['Date']['output']>
1564
- /** Free-text source attribution for the valuation. */
1565
- valuationSource: Maybe<Scalars['String']['output']>
1566
- }
1567
-
1568
- /** Paginated list of positions. */
1569
- export type PositionList = {
1570
- /** Pagination cursor and totals. */
1571
- pagination: PaginationInfo
1572
- /** Positions on this page. */
1573
- positions: Array<Position>
1574
- }
1575
-
1576
- /** Publish list summary — header metadata, no members. */
1577
- export type PublishList = {
1578
- /** When the list was created. */
1579
- createdAt: Scalars['DateTime']['output']
1580
- /** User ID that created the list. */
1581
- createdBy: Scalars['String']['output']
1582
- /** Free-form description. */
1583
- description: Maybe<Scalars['String']['output']>
1584
- /** List identifier (ULID). */
1585
- id: Scalars['String']['output']
1586
- /** Number of recipient graphs currently on the list. */
1587
- memberCount: Scalars['Int']['output']
1588
- /** Human-readable list name. */
1589
- name: Scalars['String']['output']
1590
- /** Last metadata update (name/description). */
1591
- updatedAt: Scalars['DateTime']['output']
1592
- }
1593
-
1594
- /** Full detail including members. */
1595
- export type PublishListDetail = {
1596
- /** When the list was created. */
1597
- createdAt: Scalars['DateTime']['output']
1598
- /** User ID that created the list. */
1599
- createdBy: Scalars['String']['output']
1600
- /** Free-form description. */
1601
- description: Maybe<Scalars['String']['output']>
1602
- /** List identifier (ULID). */
1603
- id: Scalars['String']['output']
1604
- /** Number of recipient graphs currently on the list. */
1605
- memberCount: Scalars['Int']['output']
1606
- /** All recipient graphs on the list. */
1607
- members: Array<PublishListMember>
1608
- /** Human-readable list name. */
1609
- name: Scalars['String']['output']
1610
- /** Last metadata update (name/description). */
1611
- updatedAt: Scalars['DateTime']['output']
1612
- }
1613
-
1614
- /** Paginated list of publish lists owned by the current graph. */
1615
- export type PublishListList = {
1616
- pagination: PaginationInfo
1617
- /** Publish list summaries, newest first. */
1618
- publishLists: Array<PublishList>
1619
- }
1620
-
1621
- /** One recipient graph in a publish list. */
1622
- export type PublishListMember = {
1623
- /** When the member was added. */
1624
- addedAt: Scalars['DateTime']['output']
1625
- /** User ID that added this member. */
1626
- addedBy: Scalars['String']['output']
1627
- /** Membership row identifier (ULID). */
1628
- id: Scalars['String']['output']
1629
- /** Recipient graph ID. */
1630
- targetGraphId: Scalars['String']['output']
1631
- /** Display name of the recipient graph (if known). */
1632
- targetGraphName: Maybe<Scalars['String']['output']>
1633
- /** Display name of the org that owns the recipient graph. */
1634
- targetOrgName: Maybe<Scalars['String']['output']>
1635
- }
1636
-
1637
- export type Query = {
1638
- accountRollups: Maybe<AccountRollups>
1639
- accountTree: Maybe<AccountTree>
1640
- accounts: Maybe<AccountList>
1641
- agent: Maybe<Agent>
1642
- agents: Array<Agent>
1643
- blockedSourceGraphs: Maybe<BlockedSourceGraphList>
1644
- closingBookStructures: Maybe<ClosingBookStructures>
1645
- elements: Maybe<ElementList>
1646
- entities: Array<LedgerEntity>
1647
- entity: Maybe<LedgerEntity>
1648
- eventBlock: Maybe<EventBlock>
1649
- eventBlocks: Array<EventBlock>
1650
- fiscalCalendar: Maybe<FiscalCalendar>
1651
- hello: Scalars['String']['output']
1652
- holdings: Maybe<HoldingsList>
1653
- informationBlock: Maybe<InformationBlock>
1654
- informationBlocks: Array<InformationBlock>
1655
- libraryElement: Maybe<LibraryElement>
1656
- libraryElementArcs: Array<LibraryElementArc>
1657
- libraryElementClassifications: Array<LibraryElementClassification>
1658
- libraryElementEquivalents: Maybe<LibraryEquivalence>
1659
- libraryElementTree: Maybe<LibraryElementTreeNode>
1660
- libraryElements: Array<LibraryElement>
1661
- libraryStructure: Maybe<LibraryStructure>
1662
- libraryStructures: Array<LibraryStructure>
1663
- libraryTaxonomies: Array<LibraryTaxonomy>
1664
- libraryTaxonomy: Maybe<LibraryTaxonomy>
1665
- libraryTaxonomyArcCount: Scalars['Int']['output']
1666
- libraryTaxonomyArcs: Array<LibraryAssociation>
1667
- mappedTrialBalance: Maybe<MappedTrialBalance>
1668
- mapping: Maybe<MappingDetail>
1669
- mappingCandidates: Array<Element>
1670
- mappingCoverage: Maybe<MappingCoverage>
1671
- mappings: Maybe<StructureList>
1672
- openPayables: OpenBalanceAggregate
1673
- openPayablesByAgent: Array<OpenBalanceByAgent>
1674
- openReceivables: OpenBalanceAggregate
1675
- openReceivablesByAgent: Array<OpenBalanceByAgent>
1676
- periodCloseStatus: Maybe<PeriodCloseStatus>
1677
- periodDrafts: Maybe<PeriodDrafts>
1678
- portfolioBlock: Maybe<PortfolioBlock>
1679
- portfolios: Maybe<PortfolioList>
1680
- position: Maybe<Position>
1681
- positions: Maybe<PositionList>
1682
- publishList: Maybe<PublishListDetail>
1683
- publishLists: Maybe<PublishListList>
1684
- report: Maybe<Report>
1685
- reportDownloadUrl: Maybe<ReportBundleDownload>
1686
- reportPackage: Maybe<ReportPackage>
1687
- reportingTaxonomy: Maybe<Taxonomy>
1688
- reports: Maybe<ReportList>
1689
- searchLibraryElements: Array<LibraryElement>
1690
- securities: Maybe<SecurityList>
1691
- security: Maybe<Security>
1692
- statement: Maybe<Statement>
1693
- structures: Maybe<StructureList>
1694
- summary: Maybe<LedgerSummary>
1695
- taxonomies: Maybe<TaxonomyList>
1696
- taxonomyBlock: Maybe<TaxonomyBlock>
1697
- taxonomyBlocks: Array<TaxonomyBlock>
1698
- transaction: Maybe<LedgerTransactionDetail>
1699
- transactions: Maybe<LedgerTransactionList>
1700
- trialBalance: Maybe<TrialBalance>
1701
- unmappedElements: Array<UnmappedElement>
1702
- }
1703
-
1704
- export type QueryAccountRollupsArgs = {
1705
- endDate?: InputMaybe<Scalars['Date']['input']>
1706
- mappingId?: InputMaybe<Scalars['String']['input']>
1707
- startDate?: InputMaybe<Scalars['Date']['input']>
1708
- }
1709
-
1710
- export type QueryAccountTreeArgs = {
1711
- includeInactive?: InputMaybe<Scalars['Boolean']['input']>
1712
- }
1713
-
1714
- export type QueryAccountsArgs = {
1715
- classification?: InputMaybe<Scalars['String']['input']>
1716
- isActive?: InputMaybe<Scalars['Boolean']['input']>
1717
- limit?: InputMaybe<Scalars['Int']['input']>
1718
- offset?: InputMaybe<Scalars['Int']['input']>
1719
- }
1720
-
1721
- export type QueryAgentArgs = {
1722
- id: Scalars['String']['input']
1723
- }
1724
-
1725
- export type QueryAgentsArgs = {
1726
- agentType?: InputMaybe<Scalars['String']['input']>
1727
- isActive?: InputMaybe<Scalars['Boolean']['input']>
1728
- limit?: InputMaybe<Scalars['Int']['input']>
1729
- offset?: InputMaybe<Scalars['Int']['input']>
1730
- source?: InputMaybe<Scalars['String']['input']>
1731
- }
1732
-
1733
- export type QueryBlockedSourceGraphsArgs = {
1734
- limit?: InputMaybe<Scalars['Int']['input']>
1735
- offset?: InputMaybe<Scalars['Int']['input']>
1736
- }
1737
-
1738
- export type QueryElementsArgs = {
1739
- classification?: InputMaybe<Scalars['String']['input']>
1740
- isAbstract?: InputMaybe<Scalars['Boolean']['input']>
1741
- limit?: InputMaybe<Scalars['Int']['input']>
1742
- offset?: InputMaybe<Scalars['Int']['input']>
1743
- source?: InputMaybe<Scalars['String']['input']>
1744
- taxonomyId?: InputMaybe<Scalars['String']['input']>
1745
- }
1746
-
1747
- export type QueryEntitiesArgs = {
1748
- source?: InputMaybe<Scalars['String']['input']>
1749
- }
1750
-
1751
- export type QueryEventBlockArgs = {
1752
- id: Scalars['String']['input']
1753
- }
1754
-
1755
- export type QueryEventBlocksArgs = {
1756
- agentId?: InputMaybe<Scalars['String']['input']>
1757
- eventCategory?: InputMaybe<Scalars['String']['input']>
1758
- eventType?: InputMaybe<Scalars['String']['input']>
1759
- isReconcilingItem?: InputMaybe<Scalars['Boolean']['input']>
1760
- limit?: InputMaybe<Scalars['Int']['input']>
1761
- offset?: InputMaybe<Scalars['Int']['input']>
1762
- source?: InputMaybe<Scalars['String']['input']>
1763
- status?: InputMaybe<Scalars['String']['input']>
1764
- }
1765
-
1766
- export type QueryHoldingsArgs = {
1767
- portfolioId: Scalars['String']['input']
1768
- }
1769
-
1770
- export type QueryInformationBlockArgs = {
1771
- id: Scalars['ID']['input']
1772
- scenarioId?: InputMaybe<Scalars['String']['input']>
1773
- series?: InputMaybe<Scalars['Boolean']['input']>
1774
- seriesForecast?: InputMaybe<Scalars['Int']['input']>
1775
- seriesHistory?: InputMaybe<Scalars['Int']['input']>
1776
- }
1777
-
1778
- export type QueryInformationBlocksArgs = {
1779
- blockType?: InputMaybe<Scalars['String']['input']>
1780
- category?: InputMaybe<Scalars['String']['input']>
1781
- limit?: InputMaybe<Scalars['Int']['input']>
1782
- offset?: InputMaybe<Scalars['Int']['input']>
1783
- scenarioId?: InputMaybe<Scalars['String']['input']>
1784
- }
1785
-
1786
- export type QueryLibraryElementArgs = {
1787
- id?: InputMaybe<Scalars['ID']['input']>
1788
- qname?: InputMaybe<Scalars['String']['input']>
1789
- }
1790
-
1791
- export type QueryLibraryElementArcsArgs = {
1792
- id: Scalars['ID']['input']
1793
- }
1794
-
1795
- export type QueryLibraryElementClassificationsArgs = {
1796
- id: Scalars['ID']['input']
1797
- }
1798
-
1799
- export type QueryLibraryElementEquivalentsArgs = {
1800
- id: Scalars['ID']['input']
1801
- }
1802
-
1803
- export type QueryLibraryElementTreeArgs = {
1804
- id: Scalars['ID']['input']
1805
- maxDepth?: InputMaybe<Scalars['Int']['input']>
1806
- structureId?: InputMaybe<Scalars['ID']['input']>
1807
- }
1808
-
1809
- export type QueryLibraryElementsArgs = {
1810
- activityType?: InputMaybe<Scalars['String']['input']>
1811
- classification?: InputMaybe<Scalars['String']['input']>
1812
- elementType?: InputMaybe<Scalars['String']['input']>
1813
- includeLabels?: InputMaybe<Scalars['Boolean']['input']>
1814
- includeReferences?: InputMaybe<Scalars['Boolean']['input']>
1815
- isAbstract?: InputMaybe<Scalars['Boolean']['input']>
1816
- limit?: InputMaybe<Scalars['Int']['input']>
1817
- offset?: InputMaybe<Scalars['Int']['input']>
1818
- source?: InputMaybe<Scalars['String']['input']>
1819
- taxonomyId?: InputMaybe<Scalars['ID']['input']>
1820
- }
1821
-
1822
- export type QueryLibraryStructureArgs = {
1823
- id: Scalars['ID']['input']
1824
- }
1825
-
1826
- export type QueryLibraryStructuresArgs = {
1827
- blockType?: InputMaybe<Scalars['String']['input']>
1828
- taxonomyId?: InputMaybe<Scalars['ID']['input']>
1829
- }
1830
-
1831
- export type QueryLibraryTaxonomiesArgs = {
1832
- includeElementCount?: InputMaybe<Scalars['Boolean']['input']>
1833
- standard?: InputMaybe<Scalars['String']['input']>
1834
- }
1835
-
1836
- export type QueryLibraryTaxonomyArgs = {
1837
- id?: InputMaybe<Scalars['ID']['input']>
1838
- includeElementCount?: InputMaybe<Scalars['Boolean']['input']>
1839
- standard?: InputMaybe<Scalars['String']['input']>
1840
- version?: InputMaybe<Scalars['String']['input']>
1841
- }
1842
-
1843
- export type QueryLibraryTaxonomyArcCountArgs = {
1844
- associationType?: InputMaybe<Scalars['String']['input']>
1845
- structureId?: InputMaybe<Scalars['ID']['input']>
1846
- taxonomyId: Scalars['ID']['input']
1847
- }
1848
-
1849
- export type QueryLibraryTaxonomyArcsArgs = {
1850
- associationType?: InputMaybe<Scalars['String']['input']>
1851
- limit?: InputMaybe<Scalars['Int']['input']>
1852
- offset?: InputMaybe<Scalars['Int']['input']>
1853
- structureId?: InputMaybe<Scalars['ID']['input']>
1854
- taxonomyId: Scalars['ID']['input']
1855
- }
1856
-
1857
- export type QueryMappedTrialBalanceArgs = {
1858
- endDate?: InputMaybe<Scalars['Date']['input']>
1859
- mappingId: Scalars['String']['input']
1860
- startDate?: InputMaybe<Scalars['Date']['input']>
1861
- }
1862
-
1863
- export type QueryMappingArgs = {
1864
- mappingId: Scalars['String']['input']
1865
- }
1866
-
1867
- export type QueryMappingCandidatesArgs = {
1868
- classification: Scalars['String']['input']
1869
- }
1870
-
1871
- export type QueryMappingCoverageArgs = {
1872
- mappingId: Scalars['String']['input']
1873
- }
1874
-
1875
- export type QueryPeriodCloseStatusArgs = {
1876
- periodEnd: Scalars['Date']['input']
1877
- periodStart: Scalars['Date']['input']
1878
- }
1879
-
1880
- export type QueryPeriodDraftsArgs = {
1881
- period: Scalars['String']['input']
1882
- }
1883
-
1884
- export type QueryPortfolioBlockArgs = {
1885
- portfolioId: Scalars['String']['input']
1886
- }
1887
-
1888
- export type QueryPortfoliosArgs = {
1889
- limit?: InputMaybe<Scalars['Int']['input']>
1890
- offset?: InputMaybe<Scalars['Int']['input']>
1891
- }
1892
-
1893
- export type QueryPositionArgs = {
1894
- positionId: Scalars['String']['input']
1895
- }
1896
-
1897
- export type QueryPositionsArgs = {
1898
- limit?: InputMaybe<Scalars['Int']['input']>
1899
- offset?: InputMaybe<Scalars['Int']['input']>
1900
- portfolioId?: InputMaybe<Scalars['String']['input']>
1901
- securityId?: InputMaybe<Scalars['String']['input']>
1902
- status?: InputMaybe<Scalars['String']['input']>
1903
- }
1904
-
1905
- export type QueryPublishListArgs = {
1906
- listId: Scalars['String']['input']
1907
- }
1908
-
1909
- export type QueryPublishListsArgs = {
1910
- limit?: InputMaybe<Scalars['Int']['input']>
1911
- offset?: InputMaybe<Scalars['Int']['input']>
1912
- }
1913
-
1914
- export type QueryReportArgs = {
1915
- reportId: Scalars['String']['input']
1916
- }
1917
-
1918
- export type QueryReportDownloadUrlArgs = {
1919
- expiresIn?: InputMaybe<Scalars['Int']['input']>
1920
- format?: InputMaybe<ReportDownloadFormat>
1921
- reportId: Scalars['String']['input']
1922
- }
1923
-
1924
- export type QueryReportPackageArgs = {
1925
- reportId: Scalars['String']['input']
1926
- }
1927
-
1928
- export type QuerySearchLibraryElementsArgs = {
1929
- limit?: InputMaybe<Scalars['Int']['input']>
1930
- query: Scalars['String']['input']
1931
- source?: InputMaybe<Scalars['String']['input']>
1932
- }
1933
-
1934
- export type QuerySecuritiesArgs = {
1935
- entityId?: InputMaybe<Scalars['String']['input']>
1936
- isActive?: InputMaybe<Scalars['Boolean']['input']>
1937
- limit?: InputMaybe<Scalars['Int']['input']>
1938
- offset?: InputMaybe<Scalars['Int']['input']>
1939
- securityType?: InputMaybe<Scalars['String']['input']>
1940
- }
1941
-
1942
- export type QuerySecurityArgs = {
1943
- securityId: Scalars['String']['input']
1944
- }
1945
-
1946
- export type QueryStatementArgs = {
1947
- blockType: Scalars['String']['input']
1948
- reportId: Scalars['String']['input']
1949
- }
1950
-
1951
- export type QueryStructuresArgs = {
1952
- blockType?: InputMaybe<Scalars['String']['input']>
1953
- taxonomyId?: InputMaybe<Scalars['String']['input']>
1954
- }
1955
-
1956
- export type QueryTaxonomiesArgs = {
1957
- taxonomyType?: InputMaybe<Scalars['String']['input']>
1958
- }
1959
-
1960
- export type QueryTaxonomyBlockArgs = {
1961
- id: Scalars['ID']['input']
1962
- }
1963
-
1964
- export type QueryTaxonomyBlocksArgs = {
1965
- category?: InputMaybe<Scalars['String']['input']>
1966
- limit?: InputMaybe<Scalars['Int']['input']>
1967
- offset?: InputMaybe<Scalars['Int']['input']>
1968
- parentTaxonomyId?: InputMaybe<Scalars['ID']['input']>
1969
- taxonomyType?: InputMaybe<Scalars['String']['input']>
1970
- }
1971
-
1972
- export type QueryTransactionArgs = {
1973
- transactionId: Scalars['String']['input']
1974
- }
1975
-
1976
- export type QueryTransactionsArgs = {
1977
- endDate?: InputMaybe<Scalars['Date']['input']>
1978
- limit?: InputMaybe<Scalars['Int']['input']>
1979
- offset?: InputMaybe<Scalars['Int']['input']>
1980
- startDate?: InputMaybe<Scalars['Date']['input']>
1981
- type?: InputMaybe<Scalars['String']['input']>
1982
- }
1983
-
1984
- export type QueryTrialBalanceArgs = {
1985
- endDate?: InputMaybe<Scalars['Date']['input']>
1986
- startDate?: InputMaybe<Scalars['Date']['input']>
1987
- }
1988
-
1989
- export type QueryUnmappedElementsArgs = {
1990
- mappingId?: InputMaybe<Scalars['String']['input']>
1991
- }
1992
-
1993
- /**
1994
- * Report definition summary — header metadata, no facts.
1995
- *
1996
- * Returned by ``create-report``, ``regenerate-report``,
1997
- * ``file-report``, and ``transition-filing-status``. Use the package
1998
- * read endpoint to retrieve a Report rehydrated with its rendered
1999
- * ``InformationBlockEnvelope`` items.
2000
- */
2001
- export type Report = {
2002
- /** True when the report was created by an AI agent rather than a user. */
2003
- aiGenerated: Scalars['Boolean']['output']
2004
- /** True when an auto-generated prior-period column is included. */
2005
- comparative: Scalars['Boolean']['output']
2006
- /** When the report row was created. */
2007
- createdAt: Scalars['DateTime']['output']
2008
- /** Display name of the primary entity the report is tagged to. */
2009
- entityName: Maybe<Scalars['String']['output']>
2010
- /** When the report was transitioned to `filed`. */
2011
- filedAt: Maybe<Scalars['DateTime']['output']>
2012
- /** User ID that transitioned the report to `filed`. */
2013
- filedBy: Maybe<Scalars['String']['output']>
2014
- /** Filing lifecycle (orthogonal to `generation_status`): `draft`, `under_review`, `filed`, `archived`. */
2015
- filingStatus: Scalars['String']['output']
2016
- /** Computation lifecycle: `generating`, `published`, `failed`. Orthogonal to `filing_status`. */
2017
- generationStatus: Scalars['String']['output']
2018
- /** Report identifier (ULID). */
2019
- id: Scalars['String']['output']
2020
- /** When the facts were last (re)generated. */
2021
- lastGenerated: Maybe<Scalars['DateTime']['output']>
2022
- /** CoA → taxonomy mapping the facts were rolled up through. */
2023
- mappingId: Maybe<Scalars['String']['output']>
2024
- /** Human-readable report name. */
2025
- name: Scalars['String']['output']
2026
- /** Current-period end. */
2027
- periodEnd: Maybe<Scalars['Date']['output']>
2028
- /** Current-period start. */
2029
- periodStart: Maybe<Scalars['Date']['output']>
2030
- /** Period cadence: `monthly`, `quarterly`, `annual`. */
2031
- periodType: Scalars['String']['output']
2032
- /** Explicit period columns when the report was created with a multi-period layout. */
2033
- periods: Maybe<Array<PeriodSpec>>
2034
- /** Counts by rule outcome (e.g. `{'passed': 12, 'failed': 1}`) from the most recent evaluation. Null until rules run. */
2035
- ruleSummary: Maybe<Scalars['JSON']['output']>
2036
- /** When the report was shared into this graph (recipient side). */
2037
- sharedAt: Maybe<Scalars['DateTime']['output']>
2038
- /** Origin graph for received (shared) reports — populated only on the recipient's copy. */
2039
- sourceGraphId: Maybe<Scalars['String']['output']>
2040
- /** Origin report ID for received (shared) reports — populated only on the recipient's copy. */
2041
- sourceReportId: Maybe<Scalars['String']['output']>
2042
- /** Structures available for this report's taxonomy — renderable sections (BS / IS / CF / Equity / Schedules). */
2043
- structures: Array<StructureSummary>
2044
- /** When this report has been restated, the successor's report ID. */
2045
- supersededById: Maybe<Scalars['String']['output']>
2046
- /** When this report restates an earlier filing, the predecessor's report ID. */
2047
- supersedesId: Maybe<Scalars['String']['output']>
2048
- /** Taxonomy this report renders against. */
2049
- taxonomyId: Scalars['String']['output']
2050
- }
2051
-
2052
- /**
2053
- * Presigned-URL response for a published Report's serialization bundle.
2054
- *
2055
- * Every flavor resolves to a short-lived presigned URL pointing at the
2056
- * bundle in S3 — JSON-LD is stamped at publish time, XBRL is
2057
- * materialized on first download and cached by ``generation_count``.
2058
- * The client follows ``download_url`` to fetch the artifact directly
2059
- * from S3 (the API never streams the bytes). Mirrors the
2060
- * backup-download shape the frontend already consumes.
2061
- */
2062
- export type ReportBundleDownload = {
2063
- /** MIME type of the artifact behind the URL. */
2064
- contentType: Scalars['String']['output']
2065
- /** Presigned URL that streams the bundle directly from S3. */
2066
- downloadUrl: Scalars['String']['output']
2067
- /** UTC timestamp at which the presigned URL stops working. */
2068
- expiresAt: Scalars['DateTime']['output']
2069
- /** Serialization flavor delivered by this URL — one of the ``RdfFlavor`` / ``XbrlFlavor`` values (e.g. ``jsonld``, ``xbrl-2.1``). */
2070
- format: Scalars['String']['output']
2071
- /** Bundle generation number stamped on the Report. */
2072
- generationCount: Scalars['Int']['output']
2073
- /** 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. */
2074
- omittedContent: Array<Scalars['String']['output']>
2075
- }
2076
-
6
+ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'
2077
7
  export type ReportDownloadFormat = 'HOLON_JSONLD' | 'JSONLD' | 'XBRL_2_1'
2078
8
 
2079
- /** List of report header summaries (used by report list reads). */
2080
- export type ReportList = {
2081
- /** Report definitions, newest first. */
2082
- reports: Array<Report>
2083
- }
2084
-
2085
- export type ReportPackage = {
2086
- aiGenerated: Scalars['Boolean']['output']
2087
- createdAt: Scalars['DateTime']['output']
2088
- createdBy: Scalars['String']['output']
2089
- description: Maybe<Scalars['String']['output']>
2090
- entityName: Maybe<Scalars['String']['output']>
2091
- filedAt: Maybe<Scalars['DateTime']['output']>
2092
- filedBy: Maybe<Scalars['String']['output']>
2093
- filingStatus: Scalars['String']['output']
2094
- generationStatus: Scalars['String']['output']
2095
- id: Scalars['ID']['output']
2096
- items: Array<ReportPackageItem>
2097
- lastGenerated: Maybe<Scalars['DateTime']['output']>
2098
- name: Scalars['String']['output']
2099
- periodEnd: Maybe<Scalars['Date']['output']>
2100
- periodStart: Maybe<Scalars['Date']['output']>
2101
- periodType: Scalars['String']['output']
2102
- sharedAt: Maybe<Scalars['DateTime']['output']>
2103
- sourceGraphId: Maybe<Scalars['String']['output']>
2104
- sourceReportId: Maybe<Scalars['String']['output']>
2105
- supersededById: Maybe<Scalars['String']['output']>
2106
- supersedesId: Maybe<Scalars['String']['output']>
2107
- taxonomyId: Scalars['String']['output']
2108
- }
2109
-
2110
- export type ReportPackageItem = {
2111
- block: InformationBlock
2112
- displayOrder: Scalars['Int']['output']
2113
- factSetId: Scalars['String']['output']
2114
- structureId: Maybe<Scalars['String']['output']>
2115
- }
2116
-
2117
- export type Security = {
2118
- authorizedShares: Maybe<Scalars['Int']['output']>
2119
- createdAt: Scalars['DateTime']['output']
2120
- entityId: Maybe<Scalars['String']['output']>
2121
- entityName: Maybe<Scalars['String']['output']>
2122
- id: Scalars['ID']['output']
2123
- isActive: Scalars['Boolean']['output']
2124
- name: Scalars['String']['output']
2125
- outstandingShares: Maybe<Scalars['Int']['output']>
2126
- securitySubtype: Maybe<Scalars['String']['output']>
2127
- securityType: Scalars['String']['output']
2128
- sourceGraphId: Maybe<Scalars['String']['output']>
2129
- terms: Scalars['JSON']['output']
2130
- updatedAt: Scalars['DateTime']['output']
2131
- }
2132
-
2133
- export type SecurityList = {
2134
- pagination: PaginationInfo
2135
- securities: Array<Security>
2136
- }
2137
-
2138
- /**
2139
- * Lightweight security projection for embedding in position
2140
- * envelopes. Skips `terms`, `outstanding_shares`, etc. — fetch the
2141
- * full `SecurityResponse` when those are needed.
2142
- */
2143
- export type SecurityLite = {
2144
- /** Security ID (`sec_*` ULID). */
2145
- id: Scalars['ID']['output']
2146
- /** `true` when the security is in active status. */
2147
- isActive: Scalars['Boolean']['output']
2148
- /** Embedded issuer entity, when one is linked. `null` for pre-issuer securities. */
2149
- issuer: Maybe<EntityLite>
2150
- /** Display name of the security. */
2151
- name: Scalars['String']['output']
2152
- /** Optional subtype refinement (e.g. `class_a`). */
2153
- securitySubtype: Maybe<Scalars['String']['output']>
2154
- /** Instrument family (e.g. `common_stock`, `preferred_stock`, `warrant`). */
2155
- securityType: Scalars['String']['output']
2156
- /** Tenant graph the security is pre-associated to, if any. */
2157
- sourceGraphId: Maybe<Scalars['String']['output']>
2158
- }
2159
-
2160
- /**
2161
- * Rendered financial statement — facts viewed through a structure.
2162
- *
2163
- * Returned by report read endpoints when a single statement is
2164
- * requested. The package mode endpoint returns a list of these
2165
- * rehydrated as ``InformationBlockEnvelope`` items instead.
2166
- */
2167
- export type Statement = {
2168
- /** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
2169
- blockType: Scalars['String']['output']
2170
- /** Period columns rendered in this statement, in display order. */
2171
- periods: Array<PeriodSpec>
2172
- /** The Report this statement was rendered from. */
2173
- reportId: Scalars['String']['output']
2174
- /** One row per concept in the structure, in tree order. */
2175
- rows: Array<FactRow>
2176
- /** Structure projected for this statement. */
2177
- structureId: Scalars['String']['output']
2178
- /** Human-readable structure name. */
2179
- structureName: Scalars['String']['output']
2180
- /** Number of GL elements that fell through the mapping with no destination concept. Indicates mapping gaps. */
2181
- unmappedCount: Scalars['Int']['output']
2182
- /** Outcome of running reporting rules over this structure. Null when the structure has no rules attached. */
2183
- validation: Maybe<ValidationCheck>
2184
- }
2185
-
2186
- /**
2187
- * One structure header — a renderable section within a taxonomy
2188
- * (balance sheet, income statement, schedule, etc.).
2189
- *
2190
- * ``block_type`` drives presentation: 'balance_sheet',
2191
- * 'income_statement', 'cash_flow_statement', 'equity_statement',
2192
- * 'schedule', 'chart_of_accounts', 'coa_mapping', 'rollforward', etc.
2193
- */
2194
- export type Structure = {
2195
- blockType: Scalars['String']['output']
2196
- description: Maybe<Scalars['String']['output']>
2197
- id: Scalars['String']['output']
2198
- isActive: Scalars['Boolean']['output']
2199
- name: Scalars['String']['output']
2200
- taxonomyId: Scalars['String']['output']
2201
- }
2202
-
2203
- /** Flat list of structures within a taxonomy. */
2204
- export type StructureList = {
2205
- structures: Array<Structure>
2206
- }
2207
-
2208
- /**
2209
- * A structure available within this report's taxonomy.
2210
- *
2211
- * Each structure is a renderable section (Balance Sheet, Income
2212
- * Statement, Cash Flow Statement, Equity, or a Schedule). The Report
2213
- * row owns the facts; structures are the lenses that project them.
2214
- */
2215
- export type StructureSummary = {
2216
- /** Structure category: `balance_sheet`, `income_statement`, `cash_flow_statement`, `equity_statement`, `schedule`. */
2217
- blockType: Scalars['String']['output']
2218
- /** Structure identifier. */
2219
- id: Scalars['String']['output']
2220
- /** Human-readable structure name. */
2221
- name: Scalars['String']['output']
2222
- }
2223
-
2224
- /** A suggested mapping target from the reporting taxonomy. */
2225
- export type SuggestedTarget = {
2226
- confidence: Maybe<Scalars['Float']['output']>
2227
- elementId: Scalars['String']['output']
2228
- name: Scalars['String']['output']
2229
- qname: Scalars['String']['output']
2230
- }
2231
-
2232
- /**
2233
- * One taxonomy header — identity + lifecycle flags. Atoms
2234
- * (elements, structures, associations, rules) are exposed via the
2235
- * Taxonomy Block envelope.
2236
- *
2237
- * ``taxonomy_type`` discriminates: ``chart_of_accounts``,
2238
- * ``reporting_standard``, ``reporting_extension``, ``custom_ontology``,
2239
- * ``mapping``, ``schedule``. ``is_locked=True`` means library-origin
2240
- * (immutable for tenants); ``is_shared=True`` means visible to multiple
2241
- * graphs from a shared registry.
2242
- */
2243
- export type Taxonomy = {
2244
- description: Maybe<Scalars['String']['output']>
2245
- id: Scalars['String']['output']
2246
- isActive: Scalars['Boolean']['output']
2247
- isLocked: Scalars['Boolean']['output']
2248
- isShared: Scalars['Boolean']['output']
2249
- name: Scalars['String']['output']
2250
- namespaceUri: Maybe<Scalars['String']['output']>
2251
- sourceTaxonomyId: Maybe<Scalars['String']['output']>
2252
- standard: Maybe<Scalars['String']['output']>
2253
- targetTaxonomyId: Maybe<Scalars['String']['output']>
2254
- taxonomyType: Scalars['String']['output']
2255
- version: Maybe<Scalars['String']['output']>
2256
- }
2257
-
2258
- export type TaxonomyBlock = {
2259
- associationCount: Scalars['Int']['output']
2260
- associations: Array<TaxonomyBlockAssociation>
2261
- category: Scalars['String']['output']
2262
- displayName: Scalars['String']['output']
2263
- elementCount: Scalars['Int']['output']
2264
- elements: Array<TaxonomyBlockElement>
2265
- id: Scalars['ID']['output']
2266
- isLocked: Scalars['Boolean']['output']
2267
- name: Scalars['String']['output']
2268
- namespaceUri: Maybe<Scalars['String']['output']>
2269
- parentTaxonomyId: Maybe<Scalars['String']['output']>
2270
- parentTaxonomyName: Maybe<Scalars['String']['output']>
2271
- rules: Array<TaxonomyBlockRule>
2272
- standard: Maybe<Scalars['String']['output']>
2273
- structureCount: Scalars['Int']['output']
2274
- structures: Array<TaxonomyBlockStructure>
2275
- taxonomyType: Scalars['String']['output']
2276
- verificationResults: Array<Scalars['JSON']['output']>
2277
- version: Maybe<Scalars['String']['output']>
2278
- }
2279
-
2280
- export type TaxonomyBlockAssociation = {
2281
- arcrole: Maybe<Scalars['String']['output']>
2282
- associationType: Scalars['String']['output']
2283
- fromElementQname: Scalars['String']['output']
2284
- id: Scalars['String']['output']
2285
- orderValue: Maybe<Scalars['Float']['output']>
2286
- structureId: Scalars['String']['output']
2287
- toElementQname: Scalars['String']['output']
2288
- weight: Maybe<Scalars['Float']['output']>
2289
- }
2290
-
2291
- export type TaxonomyBlockElement = {
2292
- balanceType: Maybe<Scalars['String']['output']>
2293
- depth: Maybe<Scalars['Int']['output']>
2294
- elementType: Scalars['String']['output']
2295
- id: Scalars['String']['output']
2296
- isMonetary: Scalars['Boolean']['output']
2297
- name: Scalars['String']['output']
2298
- origin: Scalars['String']['output']
2299
- parentQname: Maybe<Scalars['String']['output']>
2300
- periodType: Maybe<Scalars['String']['output']>
2301
- qname: Maybe<Scalars['String']['output']>
2302
- trait: Maybe<Scalars['String']['output']>
2303
- }
2304
-
2305
- export type TaxonomyBlockRule = {
2306
- id: Scalars['String']['output']
2307
- name: Scalars['String']['output']
2308
- origin: Scalars['String']['output']
2309
- ruleCategory: Scalars['String']['output']
2310
- ruleExpression: Scalars['String']['output']
2311
- rulePattern: Scalars['String']['output']
2312
- severity: Scalars['String']['output']
2313
- targetKind: Maybe<Scalars['String']['output']>
2314
- targetRef: Maybe<Scalars['String']['output']>
2315
- }
2316
-
2317
- export type TaxonomyBlockStructure = {
2318
- blockType: Scalars['String']['output']
2319
- description: Maybe<Scalars['String']['output']>
2320
- id: Scalars['String']['output']
2321
- name: Scalars['String']['output']
2322
- roleUri: Maybe<Scalars['String']['output']>
2323
- }
2324
-
2325
- /** Flat list of taxonomy headers. Used by the catalog/picker UIs. */
2326
- export type TaxonomyList = {
2327
- taxonomies: Array<Taxonomy>
2328
- }
2329
-
2330
- /**
2331
- * Trial balance for posted entries in a date range — every CoA
2332
- * account that had activity, plus aggregate totals.
2333
- *
2334
- * Ledger is balanced when ``total_debits == total_credits``. Used as
2335
- * a sanity check before close-period; failure means an unposted /
2336
- * malformed entry slipped through.
2337
- */
2338
- export type TrialBalance = {
2339
- rows: Array<TrialBalanceRow>
2340
- totalCredits: Scalars['Float']['output']
2341
- totalDebits: Scalars['Float']['output']
2342
- }
2343
-
2344
- /** One CoA account's debit/credit totals over the trial-balance window. */
2345
- export type TrialBalanceRow = {
2346
- accountCode: Scalars['String']['output']
2347
- accountId: Scalars['String']['output']
2348
- accountName: Scalars['String']['output']
2349
- accountType: Maybe<Scalars['String']['output']>
2350
- netBalance: Scalars['Float']['output']
2351
- totalCredits: Scalars['Float']['output']
2352
- totalDebits: Scalars['Float']['output']
2353
- trait: Maybe<Scalars['String']['output']>
2354
- }
2355
-
2356
- /** An element not yet mapped to the reporting taxonomy. */
2357
- export type UnmappedElement = {
2358
- balanceType: Scalars['String']['output']
2359
- code: Maybe<Scalars['String']['output']>
2360
- externalSource: Maybe<Scalars['String']['output']>
2361
- id: Scalars['String']['output']
2362
- liquidity: Maybe<Scalars['String']['output']>
2363
- name: Scalars['String']['output']
2364
- suggestedTargets: Array<SuggestedTarget>
2365
- trait: Maybe<Scalars['String']['output']>
2366
- }
2367
-
2368
- /**
2369
- * A CoA→rs-gaap mapping whose target doesn't reach a Network root.
2370
- *
2371
- * The reporting layer is closed: every mapping target must trace upward
2372
- * through the rs-gaap calc DAG to one of the canonical roots
2373
- * (rs-gaap:Assets, rs-gaap:LiabilitiesAndStockholdersEquity,
2374
- * rs-gaap:NetIncomeLoss, rs-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease).
2375
- * When it doesn't, the fact will land on a dead branch — visible in the
2376
- * trial balance but invisible to any rendered statement. Surfacing
2377
- * these as defects lets operators fix the mapping before the report is
2378
- * filed.
2379
- */
2380
- export type UnreachableMappingType = {
2381
- coaCode: Maybe<Scalars['String']['output']>
2382
- coaElementId: Scalars['String']['output']
2383
- coaName: Maybe<Scalars['String']['output']>
2384
- coaQname: Maybe<Scalars['String']['output']>
2385
- targetElementId: Scalars['String']['output']
2386
- targetName: Maybe<Scalars['String']['output']>
2387
- targetQname: Maybe<Scalars['String']['output']>
2388
- }
2389
-
2390
- /**
2391
- * Aggregate result of running reporting rules over a structure.
2392
- *
2393
- * Every rule runs once per rendered period column; on a multi-column
2394
- * statement each failure and warning is prefixed with the column it was
2395
- * found in (``[Prior] …``).
2396
- */
2397
- export type ValidationCheck = {
2398
- /** Names of rules that were evaluated. */
2399
- checks: Array<Scalars['String']['output']>
2400
- /** Human-readable descriptions of rule failures. */
2401
- failures: Array<Scalars['String']['output']>
2402
- /** True iff at least one rule ran and every rule produced zero failures on every rendered column. False when nothing was checked (`status == 'inconclusive'`). */
2403
- passed: Scalars['Boolean']['output']
2404
- /** `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. */
2405
- status: Scalars['String']['output']
2406
- /** Non-blocking advisories from rule evaluation. */
2407
- warnings: Array<Scalars['String']['output']>
2408
- }
2409
-
2410
9
  export type GetInvestorHoldingsQueryVariables = Exact<{
2411
- portfolioId: Scalars['String']['input']
10
+ portfolioId: string
2412
11
  }>
2413
12
 
2414
13
  export type GetInvestorHoldingsQuery = {
@@ -2436,7 +35,7 @@ export type GetInvestorHoldingsQuery = {
2436
35
  }
2437
36
 
2438
37
  export type GetInvestorPortfolioBlockQueryVariables = Exact<{
2439
- portfolioId: Scalars['String']['input']
38
+ portfolioId: string
2440
39
  }>
2441
40
 
2442
41
  export type GetInvestorPortfolioBlockQuery = {
@@ -2445,13 +44,13 @@ export type GetInvestorPortfolioBlockQuery = {
2445
44
  name: string
2446
45
  description: string | null
2447
46
  strategy: string | null
2448
- inceptionDate: any | null
47
+ inceptionDate: string | null
2449
48
  baseCurrency: string
2450
49
  totalCostBasisDollars: number
2451
50
  totalCurrentValueDollars: number | null
2452
51
  activePositionCount: number
2453
- createdAt: any
2454
- updatedAt: any
52
+ createdAt: string
53
+ updatedAt: string
2455
54
  owner: { id: string; name: string; sourceGraphId: string | null } | null
2456
55
  positions: Array<{
2457
56
  id: string
@@ -2459,9 +58,9 @@ export type GetInvestorPortfolioBlockQuery = {
2459
58
  quantityType: string
2460
59
  costBasisDollars: number
2461
60
  currentValueDollars: number | null
2462
- valuationDate: any | null
61
+ valuationDate: string | null
2463
62
  valuationSource: string | null
2464
- acquisitionDate: any | null
63
+ acquisitionDate: string | null
2465
64
  status: string
2466
65
  notes: string | null
2467
66
  security: {
@@ -2478,8 +77,8 @@ export type GetInvestorPortfolioBlockQuery = {
2478
77
  }
2479
78
 
2480
79
  export type ListInvestorPortfoliosQueryVariables = Exact<{
2481
- limit?: Scalars['Int']['input']
2482
- offset?: Scalars['Int']['input']
80
+ limit?: number
81
+ offset?: number
2483
82
  }>
2484
83
 
2485
84
  export type ListInvestorPortfoliosQuery = {
@@ -2489,17 +88,17 @@ export type ListInvestorPortfoliosQuery = {
2489
88
  name: string
2490
89
  description: string | null
2491
90
  strategy: string | null
2492
- inceptionDate: any | null
91
+ inceptionDate: string | null
2493
92
  baseCurrency: string
2494
- createdAt: any
2495
- updatedAt: any
93
+ createdAt: string
94
+ updatedAt: string
2496
95
  }>
2497
96
  pagination: { total: number; limit: number; offset: number; hasMore: boolean }
2498
97
  } | null
2499
98
  }
2500
99
 
2501
100
  export type GetInvestorPositionQueryVariables = Exact<{
2502
- positionId: Scalars['String']['input']
101
+ positionId: string
2503
102
  }>
2504
103
 
2505
104
  export type GetInvestorPositionQuery = {
@@ -2516,23 +115,23 @@ export type GetInvestorPositionQuery = {
2516
115
  currency: string
2517
116
  currentValue: number | null
2518
117
  currentValueDollars: number | null
2519
- valuationDate: any | null
118
+ valuationDate: string | null
2520
119
  valuationSource: string | null
2521
- acquisitionDate: any | null
2522
- dispositionDate: any | null
120
+ acquisitionDate: string | null
121
+ dispositionDate: string | null
2523
122
  status: string
2524
123
  notes: string | null
2525
- createdAt: any
2526
- updatedAt: any
124
+ createdAt: string
125
+ updatedAt: string
2527
126
  } | null
2528
127
  }
2529
128
 
2530
129
  export type ListInvestorPositionsQueryVariables = Exact<{
2531
- portfolioId: InputMaybe<Scalars['String']['input']>
2532
- securityId: InputMaybe<Scalars['String']['input']>
2533
- status: InputMaybe<Scalars['String']['input']>
2534
- limit?: Scalars['Int']['input']
2535
- offset?: Scalars['Int']['input']
130
+ portfolioId: string | null | undefined
131
+ securityId: string | null | undefined
132
+ status: string | null | undefined
133
+ limit?: number
134
+ offset?: number
2536
135
  }>
2537
136
 
2538
137
  export type ListInvestorPositionsQuery = {
@@ -2550,25 +149,25 @@ export type ListInvestorPositionsQuery = {
2550
149
  currency: string
2551
150
  currentValue: number | null
2552
151
  currentValueDollars: number | null
2553
- valuationDate: any | null
152
+ valuationDate: string | null
2554
153
  valuationSource: string | null
2555
- acquisitionDate: any | null
2556
- dispositionDate: any | null
154
+ acquisitionDate: string | null
155
+ dispositionDate: string | null
2557
156
  status: string
2558
157
  notes: string | null
2559
- createdAt: any
2560
- updatedAt: any
158
+ createdAt: string
159
+ updatedAt: string
2561
160
  }>
2562
161
  pagination: { total: number; limit: number; offset: number; hasMore: boolean }
2563
162
  } | null
2564
163
  }
2565
164
 
2566
165
  export type ListInvestorSecuritiesQueryVariables = Exact<{
2567
- entityId: InputMaybe<Scalars['String']['input']>
2568
- securityType: InputMaybe<Scalars['String']['input']>
2569
- isActive: InputMaybe<Scalars['Boolean']['input']>
2570
- limit?: Scalars['Int']['input']
2571
- offset?: Scalars['Int']['input']
166
+ entityId: string | null | undefined
167
+ securityType: string | null | undefined
168
+ isActive: boolean | null | undefined
169
+ limit?: number
170
+ offset?: number
2572
171
  }>
2573
172
 
2574
173
  export type ListInvestorSecuritiesQuery = {
@@ -2581,19 +180,19 @@ export type ListInvestorSecuritiesQuery = {
2581
180
  name: string
2582
181
  securityType: string
2583
182
  securitySubtype: string | null
2584
- terms: any
183
+ terms: unknown
2585
184
  isActive: boolean
2586
185
  authorizedShares: number | null
2587
186
  outstandingShares: number | null
2588
- createdAt: any
2589
- updatedAt: any
187
+ createdAt: string
188
+ updatedAt: string
2590
189
  }>
2591
190
  pagination: { total: number; limit: number; offset: number; hasMore: boolean }
2592
191
  } | null
2593
192
  }
2594
193
 
2595
194
  export type GetInvestorSecurityQueryVariables = Exact<{
2596
- securityId: Scalars['String']['input']
195
+ securityId: string
2597
196
  }>
2598
197
 
2599
198
  export type GetInvestorSecurityQuery = {
@@ -2605,19 +204,19 @@ export type GetInvestorSecurityQuery = {
2605
204
  name: string
2606
205
  securityType: string
2607
206
  securitySubtype: string | null
2608
- terms: any
207
+ terms: unknown
2609
208
  isActive: boolean
2610
209
  authorizedShares: number | null
2611
210
  outstandingShares: number | null
2612
- createdAt: any
2613
- updatedAt: any
211
+ createdAt: string
212
+ updatedAt: string
2614
213
  } | null
2615
214
  }
2616
215
 
2617
216
  export type GetLedgerAccountRollupsQueryVariables = Exact<{
2618
- mappingId: InputMaybe<Scalars['String']['input']>
2619
- startDate: InputMaybe<Scalars['Date']['input']>
2620
- endDate: InputMaybe<Scalars['Date']['input']>
217
+ mappingId: string | null | undefined
218
+ startDate: string | null | undefined
219
+ endDate: string | null | undefined
2621
220
  }>
2622
221
 
2623
222
  export type GetLedgerAccountRollupsQuery = {
@@ -2694,10 +293,10 @@ export type GetLedgerAccountTreeQuery = {
2694
293
  }
2695
294
 
2696
295
  export type ListLedgerAccountsQueryVariables = Exact<{
2697
- classification: InputMaybe<Scalars['String']['input']>
2698
- isActive: InputMaybe<Scalars['Boolean']['input']>
2699
- limit?: Scalars['Int']['input']
2700
- offset?: Scalars['Int']['input']
296
+ classification: string | null | undefined
297
+ isActive: boolean | null | undefined
298
+ limit?: number
299
+ offset?: number
2701
300
  }>
2702
301
 
2703
302
  export type ListLedgerAccountsQuery = {
@@ -2723,7 +322,7 @@ export type ListLedgerAccountsQuery = {
2723
322
  }
2724
323
 
2725
324
  export type GetLedgerAgentQueryVariables = Exact<{
2726
- id: Scalars['String']['input']
325
+ id: string
2727
326
  }>
2728
327
 
2729
328
  export type GetLedgerAgentQuery = {
@@ -2738,23 +337,23 @@ export type GetLedgerAgentQuery = {
2738
337
  lei: string | null
2739
338
  email: string | null
2740
339
  phone: string | null
2741
- address: any | null
340
+ address: unknown
2742
341
  source: string
2743
342
  externalId: string | null
2744
343
  isActive: boolean
2745
344
  is1099Recipient: boolean
2746
- createdAt: any | null
2747
- updatedAt: any | null
345
+ createdAt: string | null
346
+ updatedAt: string | null
2748
347
  createdBy: string | null
2749
348
  } | null
2750
349
  }
2751
350
 
2752
351
  export type ListLedgerAgentsQueryVariables = Exact<{
2753
- agentType: InputMaybe<Scalars['String']['input']>
2754
- source: InputMaybe<Scalars['String']['input']>
2755
- isActive?: InputMaybe<Scalars['Boolean']['input']>
2756
- limit?: Scalars['Int']['input']
2757
- offset?: Scalars['Int']['input']
352
+ agentType: string | null | undefined
353
+ source: string | null | undefined
354
+ isActive?: boolean | null | undefined
355
+ limit?: number
356
+ offset?: number
2758
357
  }>
2759
358
 
2760
359
  export type ListLedgerAgentsQuery = {
@@ -2769,20 +368,20 @@ export type ListLedgerAgentsQuery = {
2769
368
  lei: string | null
2770
369
  email: string | null
2771
370
  phone: string | null
2772
- address: any | null
371
+ address: unknown
2773
372
  source: string
2774
373
  externalId: string | null
2775
374
  isActive: boolean
2776
375
  is1099Recipient: boolean
2777
- createdAt: any | null
2778
- updatedAt: any | null
376
+ createdAt: string | null
377
+ updatedAt: string | null
2779
378
  createdBy: string | null
2780
379
  }>
2781
380
  }
2782
381
 
2783
382
  export type ListLedgerBlockedSourceGraphsQueryVariables = Exact<{
2784
- limit?: Scalars['Int']['input']
2785
- offset?: Scalars['Int']['input']
383
+ limit?: number
384
+ offset?: number
2786
385
  }>
2787
386
 
2788
387
  export type ListLedgerBlockedSourceGraphsQuery = {
@@ -2792,7 +391,7 @@ export type ListLedgerBlockedSourceGraphsQuery = {
2792
391
  sourceGraphId: string
2793
392
  sourceGraphName: string | null
2794
393
  blockedBy: string
2795
- blockedAt: any
394
+ blockedAt: string
2796
395
  reason: string | null
2797
396
  }>
2798
397
  pagination: { total: number; limit: number; offset: number; hasMore: boolean }
@@ -2819,12 +418,12 @@ export type GetLedgerClosingBookStructuresQuery = {
2819
418
  }
2820
419
 
2821
420
  export type ListLedgerElementsQueryVariables = Exact<{
2822
- taxonomyId: InputMaybe<Scalars['String']['input']>
2823
- source: InputMaybe<Scalars['String']['input']>
2824
- classification: InputMaybe<Scalars['String']['input']>
2825
- isAbstract: InputMaybe<Scalars['Boolean']['input']>
2826
- limit?: Scalars['Int']['input']
2827
- offset?: Scalars['Int']['input']
421
+ taxonomyId: string | null | undefined
422
+ source: string | null | undefined
423
+ classification: string | null | undefined
424
+ isAbstract: boolean | null | undefined
425
+ limit?: number
426
+ offset?: number
2828
427
  }>
2829
428
 
2830
429
  export type ListLedgerElementsQuery = {
@@ -2855,7 +454,7 @@ export type ListLedgerElementsQuery = {
2855
454
  }
2856
455
 
2857
456
  export type ListLedgerEntitiesQueryVariables = Exact<{
2858
- source: InputMaybe<Scalars['String']['input']>
457
+ source: string | null | undefined
2859
458
  }>
2860
459
 
2861
460
  export type ListLedgerEntitiesQuery = {
@@ -2918,7 +517,7 @@ export type GetLedgerEntityQuery = {
2918
517
  }
2919
518
 
2920
519
  export type GetLedgerEventBlockQueryVariables = Exact<{
2921
- id: Scalars['String']['input']
520
+ id: string
2922
521
  }>
2923
522
 
2924
523
  export type GetLedgerEventBlockQuery = {
@@ -2928,15 +527,15 @@ export type GetLedgerEventBlockQuery = {
2928
527
  eventCategory: string
2929
528
  eventClass: string
2930
529
  status: string
2931
- occurredAt: any
2932
- effectiveAt: any | null
530
+ occurredAt: string
531
+ effectiveAt: string | null
2933
532
  source: string
2934
533
  externalId: string | null
2935
534
  externalUrl: string | null
2936
535
  amount: number | null
2937
536
  currency: string
2938
537
  description: string | null
2939
- metadata: any
538
+ metadata: unknown
2940
539
  dimensionIds: Array<string>
2941
540
  agentId: string | null
2942
541
  resourceType: string | null
@@ -2945,19 +544,19 @@ export type GetLedgerEventBlockQuery = {
2945
544
  replacesEventId: string | null
2946
545
  obligatedByEventId: string | null
2947
546
  dischargesEventId: string | null
2948
- createdAt: any
547
+ createdAt: string
2949
548
  createdBy: string
2950
549
  } | null
2951
550
  }
2952
551
 
2953
552
  export type ListLedgerEventBlocksQueryVariables = Exact<{
2954
- eventType: InputMaybe<Scalars['String']['input']>
2955
- eventCategory: InputMaybe<Scalars['String']['input']>
2956
- status: InputMaybe<Scalars['String']['input']>
2957
- agentId: InputMaybe<Scalars['String']['input']>
2958
- source: InputMaybe<Scalars['String']['input']>
2959
- limit?: Scalars['Int']['input']
2960
- offset?: Scalars['Int']['input']
553
+ eventType: string | null | undefined
554
+ eventCategory: string | null | undefined
555
+ status: string | null | undefined
556
+ agentId: string | null | undefined
557
+ source: string | null | undefined
558
+ limit?: number
559
+ offset?: number
2961
560
  }>
2962
561
 
2963
562
  export type ListLedgerEventBlocksQuery = {
@@ -2967,15 +566,15 @@ export type ListLedgerEventBlocksQuery = {
2967
566
  eventCategory: string
2968
567
  eventClass: string
2969
568
  status: string
2970
- occurredAt: any
2971
- effectiveAt: any | null
569
+ occurredAt: string
570
+ effectiveAt: string | null
2972
571
  source: string
2973
572
  externalId: string | null
2974
573
  externalUrl: string | null
2975
574
  amount: number | null
2976
575
  currency: string
2977
576
  description: string | null
2978
- metadata: any
577
+ metadata: unknown
2979
578
  dimensionIds: Array<string>
2980
579
  agentId: string | null
2981
580
  resourceType: string | null
@@ -2984,7 +583,7 @@ export type ListLedgerEventBlocksQuery = {
2984
583
  replacesEventId: string | null
2985
584
  obligatedByEventId: string | null
2986
585
  dischargesEventId: string | null
2987
- createdAt: any
586
+ createdAt: string
2988
587
  createdBy: string
2989
588
  }>
2990
589
  }
@@ -3005,9 +604,9 @@ export type GetLedgerFiscalCalendarQuery = {
3005
604
  earliestPendingPeriod: string | null
3006
605
  strandedObligationCount: number
3007
606
  syncStaleDays: number | null
3008
- lastCloseAt: any | null
3009
- initializedAt: any | null
3010
- lastSyncAt: any | null
607
+ lastCloseAt: string | null
608
+ initializedAt: string | null
609
+ lastSyncAt: string | null
3011
610
  pendingObligationSample: Array<{
3012
611
  eventId: string
3013
612
  scheduleId: string | null
@@ -3022,18 +621,18 @@ export type GetLedgerFiscalCalendarQuery = {
3022
621
  }>
3023
622
  periods: Array<{
3024
623
  name: string
3025
- startDate: any
3026
- endDate: any
624
+ startDate: string
625
+ endDate: string
3027
626
  status: string
3028
- closedAt: any | null
627
+ closedAt: string | null
3029
628
  }>
3030
629
  } | null
3031
630
  }
3032
631
 
3033
632
  export type GetInformationBlockQueryVariables = Exact<{
3034
- id: Scalars['ID']['input']
3035
- scenarioId: InputMaybe<Scalars['String']['input']>
3036
- series?: Scalars['Boolean']['input']
633
+ id: string | number
634
+ scenarioId: string | null | undefined
635
+ series?: boolean
3037
636
  }>
3038
637
 
3039
638
  export type GetInformationBlockQuery = {
@@ -3049,8 +648,8 @@ export type GetInformationBlockQuery = {
3049
648
  artifact: {
3050
649
  topic: string | null
3051
650
  rendererNote: string | null
3052
- template: any | null
3053
- mechanics: any
651
+ template: unknown
652
+ mechanics: unknown
3054
653
  }
3055
654
  elements: Array<{
3056
655
  id: string
@@ -3079,8 +678,8 @@ export type GetInformationBlockQuery = {
3079
678
  textValue: string | null
3080
679
  factType: string
3081
680
  contentType: string | null
3082
- periodStart: any | null
3083
- periodEnd: any
681
+ periodStart: string | null
682
+ periodEnd: string
3084
683
  periodType: string
3085
684
  unit: string
3086
685
  factScope: string
@@ -3101,13 +700,13 @@ export type GetInformationBlockQuery = {
3101
700
  factSet: {
3102
701
  id: string
3103
702
  structureId: string | null
3104
- periodStart: any | null
3105
- periodEnd: any
703
+ periodStart: string | null
704
+ periodEnd: string
3106
705
  factsetType: string
3107
706
  entityId: string
3108
707
  reportId: string | null
3109
708
  scenarioId: string | null
3110
- provenance: any | null
709
+ provenance: unknown
3111
710
  } | null
3112
711
  verificationResults: Array<{
3113
712
  id: string
@@ -3116,9 +715,9 @@ export type GetInformationBlockQuery = {
3116
715
  factSetId: string | null
3117
716
  status: string
3118
717
  message: string | null
3119
- periodStart: any | null
3120
- periodEnd: any | null
3121
- evaluatedAt: any | null
718
+ periodStart: string | null
719
+ periodEnd: string | null
720
+ evaluatedAt: string | null
3122
721
  }>
3123
722
  verificationSummary: {
3124
723
  total: number
@@ -3150,7 +749,12 @@ export type GetInformationBlockQuery = {
3150
749
  isSubtotal: boolean
3151
750
  depth: number
3152
751
  }>
3153
- periods: Array<{ start: any; end: any; label: string | null; forecast: boolean | null }>
752
+ periods: Array<{
753
+ start: string
754
+ end: string
755
+ label: string | null
756
+ forecast: boolean | null
757
+ }>
3154
758
  validation: {
3155
759
  passed: boolean
3156
760
  checks: Array<string>
@@ -3171,11 +775,11 @@ export type GetInformationBlockQuery = {
3171
775
  }
3172
776
 
3173
777
  export type GetInformationBlockWindowedQueryVariables = Exact<{
3174
- id: Scalars['ID']['input']
3175
- scenarioId: InputMaybe<Scalars['String']['input']>
3176
- series?: Scalars['Boolean']['input']
3177
- seriesHistory: InputMaybe<Scalars['Int']['input']>
3178
- seriesForecast: InputMaybe<Scalars['Int']['input']>
778
+ id: string | number
779
+ scenarioId: string | null | undefined
780
+ series?: boolean
781
+ seriesHistory: number | null | undefined
782
+ seriesForecast: number | null | undefined
3179
783
  }>
3180
784
 
3181
785
  export type GetInformationBlockWindowedQuery = {
@@ -3191,8 +795,8 @@ export type GetInformationBlockWindowedQuery = {
3191
795
  artifact: {
3192
796
  topic: string | null
3193
797
  rendererNote: string | null
3194
- template: any | null
3195
- mechanics: any
798
+ template: unknown
799
+ mechanics: unknown
3196
800
  }
3197
801
  elements: Array<{
3198
802
  id: string
@@ -3221,8 +825,8 @@ export type GetInformationBlockWindowedQuery = {
3221
825
  textValue: string | null
3222
826
  factType: string
3223
827
  contentType: string | null
3224
- periodStart: any | null
3225
- periodEnd: any
828
+ periodStart: string | null
829
+ periodEnd: string
3226
830
  periodType: string
3227
831
  unit: string
3228
832
  factScope: string
@@ -3243,13 +847,13 @@ export type GetInformationBlockWindowedQuery = {
3243
847
  factSet: {
3244
848
  id: string
3245
849
  structureId: string | null
3246
- periodStart: any | null
3247
- periodEnd: any
850
+ periodStart: string | null
851
+ periodEnd: string
3248
852
  factsetType: string
3249
853
  entityId: string
3250
854
  reportId: string | null
3251
855
  scenarioId: string | null
3252
- provenance: any | null
856
+ provenance: unknown
3253
857
  } | null
3254
858
  verificationResults: Array<{
3255
859
  id: string
@@ -3258,9 +862,9 @@ export type GetInformationBlockWindowedQuery = {
3258
862
  factSetId: string | null
3259
863
  status: string
3260
864
  message: string | null
3261
- periodStart: any | null
3262
- periodEnd: any | null
3263
- evaluatedAt: any | null
865
+ periodStart: string | null
866
+ periodEnd: string | null
867
+ evaluatedAt: string | null
3264
868
  }>
3265
869
  verificationSummary: {
3266
870
  total: number
@@ -3292,7 +896,12 @@ export type GetInformationBlockWindowedQuery = {
3292
896
  isSubtotal: boolean
3293
897
  depth: number
3294
898
  }>
3295
- periods: Array<{ start: any; end: any; label: string | null; forecast: boolean | null }>
899
+ periods: Array<{
900
+ start: string
901
+ end: string
902
+ label: string | null
903
+ forecast: boolean | null
904
+ }>
3296
905
  validation: {
3297
906
  passed: boolean
3298
907
  checks: Array<string>
@@ -3313,11 +922,11 @@ export type GetInformationBlockWindowedQuery = {
3313
922
  }
3314
923
 
3315
924
  export type ListInformationBlocksQueryVariables = Exact<{
3316
- blockType: InputMaybe<Scalars['String']['input']>
3317
- category: InputMaybe<Scalars['String']['input']>
3318
- limit: InputMaybe<Scalars['Int']['input']>
3319
- offset: InputMaybe<Scalars['Int']['input']>
3320
- scenarioId: InputMaybe<Scalars['String']['input']>
925
+ blockType: string | null | undefined
926
+ category: string | null | undefined
927
+ limit: number | null | undefined
928
+ offset: number | null | undefined
929
+ scenarioId: string | null | undefined
3321
930
  }>
3322
931
 
3323
932
  export type ListInformationBlocksQuery = {
@@ -3333,8 +942,8 @@ export type ListInformationBlocksQuery = {
3333
942
  artifact: {
3334
943
  topic: string | null
3335
944
  rendererNote: string | null
3336
- template: any | null
3337
- mechanics: any
945
+ template: unknown
946
+ mechanics: unknown
3338
947
  }
3339
948
  elements: Array<{
3340
949
  id: string
@@ -3363,8 +972,8 @@ export type ListInformationBlocksQuery = {
3363
972
  textValue: string | null
3364
973
  factType: string
3365
974
  contentType: string | null
3366
- periodStart: any | null
3367
- periodEnd: any
975
+ periodStart: string | null
976
+ periodEnd: string
3368
977
  periodType: string
3369
978
  unit: string
3370
979
  factScope: string
@@ -3385,13 +994,13 @@ export type ListInformationBlocksQuery = {
3385
994
  factSet: {
3386
995
  id: string
3387
996
  structureId: string | null
3388
- periodStart: any | null
3389
- periodEnd: any
997
+ periodStart: string | null
998
+ periodEnd: string
3390
999
  factsetType: string
3391
1000
  entityId: string
3392
1001
  reportId: string | null
3393
1002
  scenarioId: string | null
3394
- provenance: any | null
1003
+ provenance: unknown
3395
1004
  } | null
3396
1005
  verificationResults: Array<{
3397
1006
  id: string
@@ -3400,9 +1009,9 @@ export type ListInformationBlocksQuery = {
3400
1009
  factSetId: string | null
3401
1010
  status: string
3402
1011
  message: string | null
3403
- periodStart: any | null
3404
- periodEnd: any | null
3405
- evaluatedAt: any | null
1012
+ periodStart: string | null
1013
+ periodEnd: string | null
1014
+ evaluatedAt: string | null
3406
1015
  }>
3407
1016
  verificationSummary: {
3408
1017
  total: number
@@ -3434,7 +1043,12 @@ export type ListInformationBlocksQuery = {
3434
1043
  isSubtotal: boolean
3435
1044
  depth: number
3436
1045
  }>
3437
- periods: Array<{ start: any; end: any; label: string | null; forecast: boolean | null }>
1046
+ periods: Array<{
1047
+ start: string
1048
+ end: string
1049
+ label: string | null
1050
+ forecast: boolean | null
1051
+ }>
3438
1052
  validation: {
3439
1053
  passed: boolean
3440
1054
  checks: Array<string>
@@ -3455,9 +1069,9 @@ export type ListInformationBlocksQuery = {
3455
1069
  }
3456
1070
 
3457
1071
  export type GetLedgerMappedTrialBalanceQueryVariables = Exact<{
3458
- mappingId: Scalars['String']['input']
3459
- startDate: InputMaybe<Scalars['Date']['input']>
3460
- endDate: InputMaybe<Scalars['Date']['input']>
1072
+ mappingId: string
1073
+ startDate: string | null | undefined
1074
+ endDate: string | null | undefined
3461
1075
  }>
3462
1076
 
3463
1077
  export type GetLedgerMappedTrialBalanceQuery = {
@@ -3477,7 +1091,7 @@ export type GetLedgerMappedTrialBalanceQuery = {
3477
1091
  }
3478
1092
 
3479
1093
  export type GetLedgerMappingQueryVariables = Exact<{
3480
- mappingId: Scalars['String']['input']
1094
+ mappingId: string
3481
1095
  }>
3482
1096
 
3483
1097
  export type GetLedgerMappingQuery = {
@@ -3507,7 +1121,7 @@ export type GetLedgerMappingQuery = {
3507
1121
  }
3508
1122
 
3509
1123
  export type MappingCandidatesQueryVariables = Exact<{
3510
- classification: Scalars['String']['input']
1124
+ classification: string
3511
1125
  }>
3512
1126
 
3513
1127
  export type MappingCandidatesQuery = {
@@ -3515,7 +1129,7 @@ export type MappingCandidatesQuery = {
3515
1129
  }
3516
1130
 
3517
1131
  export type GetLedgerMappingCoverageQueryVariables = Exact<{
3518
- mappingId: Scalars['String']['input']
1132
+ mappingId: string
3519
1133
  }>
3520
1134
 
3521
1135
  export type GetLedgerMappingCoverageQuery = {
@@ -3547,14 +1161,14 @@ export type ListLedgerMappingsQuery = {
3547
1161
  }
3548
1162
 
3549
1163
  export type GetLedgerPeriodCloseStatusQueryVariables = Exact<{
3550
- periodStart: Scalars['Date']['input']
3551
- periodEnd: Scalars['Date']['input']
1164
+ periodStart: string
1165
+ periodEnd: string
3552
1166
  }>
3553
1167
 
3554
1168
  export type GetLedgerPeriodCloseStatusQuery = {
3555
1169
  periodCloseStatus: {
3556
- fiscalPeriodStart: any
3557
- fiscalPeriodEnd: any
1170
+ fiscalPeriodStart: string
1171
+ fiscalPeriodEnd: string
3558
1172
  periodStatus: string
3559
1173
  totalDraft: number
3560
1174
  totalPosted: number
@@ -3571,14 +1185,14 @@ export type GetLedgerPeriodCloseStatusQuery = {
3571
1185
  }
3572
1186
 
3573
1187
  export type GetLedgerPeriodDraftsQueryVariables = Exact<{
3574
- period: Scalars['String']['input']
1188
+ period: string
3575
1189
  }>
3576
1190
 
3577
1191
  export type GetLedgerPeriodDraftsQuery = {
3578
1192
  periodDrafts: {
3579
1193
  period: string
3580
- periodStart: any
3581
- periodEnd: any
1194
+ periodStart: string
1195
+ periodEnd: string
3582
1196
  draftCount: number
3583
1197
  totalDebit: number
3584
1198
  totalCredit: number
@@ -3589,7 +1203,7 @@ export type GetLedgerPeriodDraftsQuery = {
3589
1203
  localOnlyCount: number
3590
1204
  drafts: Array<{
3591
1205
  entryId: string
3592
- postingDate: any
1206
+ postingDate: string
3593
1207
  type: string
3594
1208
  memo: string | null
3595
1209
  provenance: string | null
@@ -3613,7 +1227,7 @@ export type GetLedgerPeriodDraftsQuery = {
3613
1227
  }
3614
1228
 
3615
1229
  export type GetLedgerPublishListQueryVariables = Exact<{
3616
- listId: Scalars['String']['input']
1230
+ listId: string
3617
1231
  }>
3618
1232
 
3619
1233
  export type GetLedgerPublishListQuery = {
@@ -3623,22 +1237,22 @@ export type GetLedgerPublishListQuery = {
3623
1237
  description: string | null
3624
1238
  memberCount: number
3625
1239
  createdBy: string
3626
- createdAt: any
3627
- updatedAt: any
1240
+ createdAt: string
1241
+ updatedAt: string
3628
1242
  members: Array<{
3629
1243
  id: string
3630
1244
  targetGraphId: string
3631
1245
  targetGraphName: string | null
3632
1246
  targetOrgName: string | null
3633
1247
  addedBy: string
3634
- addedAt: any
1248
+ addedAt: string
3635
1249
  }>
3636
1250
  } | null
3637
1251
  }
3638
1252
 
3639
1253
  export type ListLedgerPublishListsQueryVariables = Exact<{
3640
- limit?: Scalars['Int']['input']
3641
- offset?: Scalars['Int']['input']
1254
+ limit?: number
1255
+ offset?: number
3642
1256
  }>
3643
1257
 
3644
1258
  export type ListLedgerPublishListsQuery = {
@@ -3649,15 +1263,15 @@ export type ListLedgerPublishListsQuery = {
3649
1263
  description: string | null
3650
1264
  memberCount: number
3651
1265
  createdBy: string
3652
- createdAt: any
3653
- updatedAt: any
1266
+ createdAt: string
1267
+ updatedAt: string
3654
1268
  }>
3655
1269
  pagination: { total: number; limit: number; offset: number; hasMore: boolean }
3656
1270
  } | null
3657
1271
  }
3658
1272
 
3659
1273
  export type GetLedgerReportQueryVariables = Exact<{
3660
- reportId: Scalars['String']['input']
1274
+ reportId: string
3661
1275
  }>
3662
1276
 
3663
1277
  export type GetLedgerReportQuery = {
@@ -3667,32 +1281,32 @@ export type GetLedgerReportQuery = {
3667
1281
  taxonomyId: string
3668
1282
  generationStatus: string
3669
1283
  periodType: string
3670
- periodStart: any | null
3671
- periodEnd: any | null
1284
+ periodStart: string | null
1285
+ periodEnd: string | null
3672
1286
  comparative: boolean
3673
1287
  mappingId: string | null
3674
1288
  aiGenerated: boolean
3675
- createdAt: any
3676
- lastGenerated: any | null
1289
+ createdAt: string
1290
+ lastGenerated: string | null
3677
1291
  entityName: string | null
3678
1292
  sourceGraphId: string | null
3679
1293
  sourceReportId: string | null
3680
- sharedAt: any | null
3681
- periods: Array<{ start: any; end: any; label: string }> | null
1294
+ sharedAt: string | null
1295
+ periods: Array<{ start: string; end: string; label: string }> | null
3682
1296
  structures: Array<{ id: string; name: string; blockType: string }>
3683
1297
  } | null
3684
1298
  }
3685
1299
 
3686
1300
  export type GetLedgerReportDownloadUrlQueryVariables = Exact<{
3687
- reportId: Scalars['String']['input']
3688
- format?: InputMaybe<ReportDownloadFormat>
3689
- expiresIn?: InputMaybe<Scalars['Int']['input']>
1301
+ reportId: string
1302
+ format?: ReportDownloadFormat | null | undefined
1303
+ expiresIn?: number | null | undefined
3690
1304
  }>
3691
1305
 
3692
1306
  export type GetLedgerReportDownloadUrlQuery = {
3693
1307
  reportDownloadUrl: {
3694
1308
  downloadUrl: string
3695
- expiresAt: any
1309
+ expiresAt: string
3696
1310
  contentType: string
3697
1311
  format: string
3698
1312
  generationCount: number
@@ -3700,7 +1314,7 @@ export type GetLedgerReportDownloadUrlQuery = {
3700
1314
  }
3701
1315
 
3702
1316
  export type GetLedgerReportPackageQueryVariables = Exact<{
3703
- reportId: Scalars['String']['input']
1317
+ reportId: string
3704
1318
  }>
3705
1319
 
3706
1320
  export type GetLedgerReportPackageQuery = {
@@ -3710,21 +1324,21 @@ export type GetLedgerReportPackageQuery = {
3710
1324
  description: string | null
3711
1325
  taxonomyId: string
3712
1326
  periodType: string
3713
- periodStart: any | null
3714
- periodEnd: any | null
1327
+ periodStart: string | null
1328
+ periodEnd: string | null
3715
1329
  generationStatus: string
3716
- lastGenerated: any | null
1330
+ lastGenerated: string | null
3717
1331
  filingStatus: string
3718
- filedAt: any | null
1332
+ filedAt: string | null
3719
1333
  filedBy: string | null
3720
1334
  supersedesId: string | null
3721
1335
  supersededById: string | null
3722
1336
  sourceGraphId: string | null
3723
1337
  sourceReportId: string | null
3724
- sharedAt: any | null
1338
+ sharedAt: string | null
3725
1339
  entityName: string | null
3726
1340
  aiGenerated: boolean
3727
- createdAt: any
1341
+ createdAt: string
3728
1342
  createdBy: string
3729
1343
  items: Array<{
3730
1344
  factSetId: string
@@ -3742,8 +1356,8 @@ export type GetLedgerReportPackageQuery = {
3742
1356
  artifact: {
3743
1357
  topic: string | null
3744
1358
  rendererNote: string | null
3745
- template: any | null
3746
- mechanics: any
1359
+ template: unknown
1360
+ mechanics: unknown
3747
1361
  }
3748
1362
  elements: Array<{
3749
1363
  id: string
@@ -3772,8 +1386,8 @@ export type GetLedgerReportPackageQuery = {
3772
1386
  textValue: string | null
3773
1387
  factType: string
3774
1388
  contentType: string | null
3775
- periodStart: any | null
3776
- periodEnd: any
1389
+ periodStart: string | null
1390
+ periodEnd: string
3777
1391
  periodType: string
3778
1392
  unit: string
3779
1393
  factScope: string
@@ -3794,13 +1408,13 @@ export type GetLedgerReportPackageQuery = {
3794
1408
  factSet: {
3795
1409
  id: string
3796
1410
  structureId: string | null
3797
- periodStart: any | null
3798
- periodEnd: any
1411
+ periodStart: string | null
1412
+ periodEnd: string
3799
1413
  factsetType: string
3800
1414
  entityId: string
3801
1415
  reportId: string | null
3802
1416
  scenarioId: string | null
3803
- provenance: any | null
1417
+ provenance: unknown
3804
1418
  } | null
3805
1419
  verificationResults: Array<{
3806
1420
  id: string
@@ -3809,9 +1423,9 @@ export type GetLedgerReportPackageQuery = {
3809
1423
  factSetId: string | null
3810
1424
  status: string
3811
1425
  message: string | null
3812
- periodStart: any | null
3813
- periodEnd: any | null
3814
- evaluatedAt: any | null
1426
+ periodStart: string | null
1427
+ periodEnd: string | null
1428
+ evaluatedAt: string | null
3815
1429
  }>
3816
1430
  verificationSummary: {
3817
1431
  total: number
@@ -3843,7 +1457,12 @@ export type GetLedgerReportPackageQuery = {
3843
1457
  isSubtotal: boolean
3844
1458
  depth: number
3845
1459
  }>
3846
- periods: Array<{ start: any; end: any; label: string | null; forecast: boolean | null }>
1460
+ periods: Array<{
1461
+ start: string
1462
+ end: string
1463
+ label: string | null
1464
+ forecast: boolean | null
1465
+ }>
3847
1466
  validation: {
3848
1467
  passed: boolean
3849
1468
  checks: Array<string>
@@ -3894,26 +1513,26 @@ export type ListLedgerReportsQuery = {
3894
1513
  taxonomyId: string
3895
1514
  generationStatus: string
3896
1515
  periodType: string
3897
- periodStart: any | null
3898
- periodEnd: any | null
1516
+ periodStart: string | null
1517
+ periodEnd: string | null
3899
1518
  comparative: boolean
3900
1519
  mappingId: string | null
3901
1520
  aiGenerated: boolean
3902
- createdAt: any
3903
- lastGenerated: any | null
1521
+ createdAt: string
1522
+ lastGenerated: string | null
3904
1523
  entityName: string | null
3905
1524
  sourceGraphId: string | null
3906
1525
  sourceReportId: string | null
3907
- sharedAt: any | null
3908
- periods: Array<{ start: any; end: any; label: string }> | null
1526
+ sharedAt: string | null
1527
+ periods: Array<{ start: string; end: string; label: string }> | null
3909
1528
  structures: Array<{ id: string; name: string; blockType: string }>
3910
1529
  }>
3911
1530
  } | null
3912
1531
  }
3913
1532
 
3914
1533
  export type GetLedgerStatementQueryVariables = Exact<{
3915
- reportId: Scalars['String']['input']
3916
- blockType: Scalars['String']['input']
1534
+ reportId: string
1535
+ blockType: string
3917
1536
  }>
3918
1537
 
3919
1538
  export type GetLedgerStatementQuery = {
@@ -3923,7 +1542,7 @@ export type GetLedgerStatementQuery = {
3923
1542
  structureName: string
3924
1543
  blockType: string
3925
1544
  unmappedCount: number
3926
- periods: Array<{ start: any; end: any; label: string }>
1545
+ periods: Array<{ start: string; end: string; label: string }>
3927
1546
  rows: Array<{
3928
1547
  elementId: string
3929
1548
  elementQname: string
@@ -3943,8 +1562,8 @@ export type GetLedgerStatementQuery = {
3943
1562
  }
3944
1563
 
3945
1564
  export type ListLedgerStructuresQueryVariables = Exact<{
3946
- taxonomyId: InputMaybe<Scalars['String']['input']>
3947
- blockType: InputMaybe<Scalars['String']['input']>
1565
+ taxonomyId: string | null | undefined
1566
+ blockType: string | null | undefined
3948
1567
  }>
3949
1568
 
3950
1569
  export type ListLedgerStructuresQuery = {
@@ -3969,15 +1588,15 @@ export type GetLedgerSummaryQuery = {
3969
1588
  transactionCount: number
3970
1589
  entryCount: number
3971
1590
  lineItemCount: number
3972
- earliestTransactionDate: any | null
3973
- latestTransactionDate: any | null
1591
+ earliestTransactionDate: string | null
1592
+ latestTransactionDate: string | null
3974
1593
  connectionCount: number
3975
- lastSyncAt: any | null
1594
+ lastSyncAt: string | null
3976
1595
  } | null
3977
1596
  }
3978
1597
 
3979
1598
  export type ListLedgerTaxonomiesQueryVariables = Exact<{
3980
- taxonomyType: InputMaybe<Scalars['String']['input']>
1599
+ taxonomyType: string | null | undefined
3981
1600
  }>
3982
1601
 
3983
1602
  export type ListLedgerTaxonomiesQuery = {
@@ -4000,7 +1619,7 @@ export type ListLedgerTaxonomiesQuery = {
4000
1619
  }
4001
1620
 
4002
1621
  export type GetLedgerTransactionQueryVariables = Exact<{
4003
- transactionId: Scalars['String']['input']
1622
+ transactionId: string
4004
1623
  }>
4005
1624
 
4006
1625
  export type GetLedgerTransactionQuery = {
@@ -4011,23 +1630,23 @@ export type GetLedgerTransactionQuery = {
4011
1630
  category: string | null
4012
1631
  amount: number
4013
1632
  currency: string
4014
- date: any
4015
- dueDate: any | null
1633
+ date: string
1634
+ dueDate: string | null
4016
1635
  merchantName: string | null
4017
1636
  referenceNumber: string | null
4018
1637
  description: string | null
4019
1638
  source: string
4020
1639
  sourceId: string | null
4021
1640
  status: string
4022
- postedAt: any | null
1641
+ postedAt: string | null
4023
1642
  entries: Array<{
4024
1643
  id: string
4025
1644
  number: string | null
4026
1645
  type: string
4027
- postingDate: any
1646
+ postingDate: string
4028
1647
  memo: string | null
4029
1648
  status: string
4030
- postedAt: any | null
1649
+ postedAt: string | null
4031
1650
  lineItems: Array<{
4032
1651
  id: string
4033
1652
  accountId: string
@@ -4043,11 +1662,11 @@ export type GetLedgerTransactionQuery = {
4043
1662
  }
4044
1663
 
4045
1664
  export type ListLedgerTransactionsQueryVariables = Exact<{
4046
- type: InputMaybe<Scalars['String']['input']>
4047
- startDate: InputMaybe<Scalars['Date']['input']>
4048
- endDate: InputMaybe<Scalars['Date']['input']>
4049
- limit?: Scalars['Int']['input']
4050
- offset?: Scalars['Int']['input']
1665
+ type: string | null | undefined
1666
+ startDate: string | null | undefined
1667
+ endDate: string | null | undefined
1668
+ limit?: number
1669
+ offset?: number
4051
1670
  }>
4052
1671
 
4053
1672
  export type ListLedgerTransactionsQuery = {
@@ -4059,8 +1678,8 @@ export type ListLedgerTransactionsQuery = {
4059
1678
  category: string | null
4060
1679
  amount: number
4061
1680
  currency: string
4062
- date: any
4063
- dueDate: any | null
1681
+ date: string
1682
+ dueDate: string | null
4064
1683
  merchantName: string | null
4065
1684
  referenceNumber: string | null
4066
1685
  description: string | null
@@ -4072,8 +1691,8 @@ export type ListLedgerTransactionsQuery = {
4072
1691
  }
4073
1692
 
4074
1693
  export type GetLedgerTrialBalanceQueryVariables = Exact<{
4075
- startDate: InputMaybe<Scalars['Date']['input']>
4076
- endDate: InputMaybe<Scalars['Date']['input']>
1694
+ startDate: string | null | undefined
1695
+ endDate: string | null | undefined
4077
1696
  }>
4078
1697
 
4079
1698
  export type GetLedgerTrialBalanceQuery = {
@@ -4094,7 +1713,7 @@ export type GetLedgerTrialBalanceQuery = {
4094
1713
  }
4095
1714
 
4096
1715
  export type ListLedgerUnmappedElementsQueryVariables = Exact<{
4097
- mappingId: InputMaybe<Scalars['String']['input']>
1716
+ mappingId: string | null | undefined
4098
1717
  }>
4099
1718
 
4100
1719
  export type ListLedgerUnmappedElementsQuery = {
@@ -4115,11 +1734,11 @@ export type ListLedgerUnmappedElementsQuery = {
4115
1734
  }
4116
1735
 
4117
1736
  export type ListLibraryTaxonomyArcsQueryVariables = Exact<{
4118
- taxonomyId: Scalars['ID']['input']
4119
- associationType: InputMaybe<Scalars['String']['input']>
4120
- structureId: InputMaybe<Scalars['ID']['input']>
4121
- limit?: Scalars['Int']['input']
4122
- offset?: Scalars['Int']['input']
1737
+ taxonomyId: string | number
1738
+ associationType: string | null | undefined
1739
+ structureId: string | number | null | undefined
1740
+ limit?: number
1741
+ offset?: number
4123
1742
  }>
4124
1743
 
4125
1744
  export type ListLibraryTaxonomyArcsQuery = {
@@ -4146,7 +1765,7 @@ export type ListLibraryTaxonomyArcsQuery = {
4146
1765
  }
4147
1766
 
4148
1767
  export type GetLibraryElementArcsQueryVariables = Exact<{
4149
- id: Scalars['ID']['input']
1768
+ id: string | number
4150
1769
  }>
4151
1770
 
4152
1771
  export type GetLibraryElementArcsQuery = {
@@ -4165,7 +1784,7 @@ export type GetLibraryElementArcsQuery = {
4165
1784
  }
4166
1785
 
4167
1786
  export type GetLibraryElementClassificationsQueryVariables = Exact<{
4168
- id: Scalars['ID']['input']
1787
+ id: string | number
4169
1788
  }>
4170
1789
 
4171
1790
  export type GetLibraryElementClassificationsQuery = {
@@ -4178,7 +1797,7 @@ export type GetLibraryElementClassificationsQuery = {
4178
1797
  }
4179
1798
 
4180
1799
  export type GetLibraryElementEquivalentsQueryVariables = Exact<{
4181
- id: Scalars['ID']['input']
1800
+ id: string | number
4182
1801
  }>
4183
1802
 
4184
1803
  export type GetLibraryElementEquivalentsQuery = {
@@ -4195,16 +1814,16 @@ export type GetLibraryElementEquivalentsQuery = {
4195
1814
  }
4196
1815
 
4197
1816
  export type ListLibraryElementsQueryVariables = Exact<{
4198
- taxonomyId: InputMaybe<Scalars['ID']['input']>
4199
- source: InputMaybe<Scalars['String']['input']>
4200
- classification: InputMaybe<Scalars['String']['input']>
4201
- activityType: InputMaybe<Scalars['String']['input']>
4202
- elementType: InputMaybe<Scalars['String']['input']>
4203
- isAbstract: InputMaybe<Scalars['Boolean']['input']>
4204
- limit?: Scalars['Int']['input']
4205
- offset?: Scalars['Int']['input']
4206
- includeLabels?: Scalars['Boolean']['input']
4207
- includeReferences?: Scalars['Boolean']['input']
1817
+ taxonomyId: string | number | null | undefined
1818
+ source: string | null | undefined
1819
+ classification: string | null | undefined
1820
+ activityType: string | null | undefined
1821
+ elementType: string | null | undefined
1822
+ isAbstract: boolean | null | undefined
1823
+ limit?: number
1824
+ offset?: number
1825
+ includeLabels?: boolean
1826
+ includeReferences?: boolean
4208
1827
  }>
4209
1828
 
4210
1829
  export type ListLibraryElementsQuery = {
@@ -4228,9 +1847,9 @@ export type ListLibraryElementsQuery = {
4228
1847
  }
4229
1848
 
4230
1849
  export type SearchLibraryElementsQueryVariables = Exact<{
4231
- query: Scalars['String']['input']
4232
- source: InputMaybe<Scalars['String']['input']>
4233
- limit?: Scalars['Int']['input']
1850
+ query: string
1851
+ source: string | null | undefined
1852
+ limit?: number
4234
1853
  }>
4235
1854
 
4236
1855
  export type SearchLibraryElementsQuery = {
@@ -4254,8 +1873,8 @@ export type SearchLibraryElementsQuery = {
4254
1873
  }
4255
1874
 
4256
1875
  export type GetLibraryElementQueryVariables = Exact<{
4257
- id: InputMaybe<Scalars['ID']['input']>
4258
- qname: InputMaybe<Scalars['String']['input']>
1876
+ id: string | number | null | undefined
1877
+ qname: string | null | undefined
4259
1878
  }>
4260
1879
 
4261
1880
  export type GetLibraryElementQuery = {
@@ -4279,8 +1898,8 @@ export type GetLibraryElementQuery = {
4279
1898
  }
4280
1899
 
4281
1900
  export type ListLibraryStructuresQueryVariables = Exact<{
4282
- taxonomyId: InputMaybe<Scalars['ID']['input']>
4283
- blockType: InputMaybe<Scalars['String']['input']>
1901
+ taxonomyId: string | number | null | undefined
1902
+ blockType: string | null | undefined
4284
1903
  }>
4285
1904
 
4286
1905
  export type ListLibraryStructuresQuery = {
@@ -4295,7 +1914,7 @@ export type ListLibraryStructuresQuery = {
4295
1914
  }
4296
1915
 
4297
1916
  export type GetLibraryStructureQueryVariables = Exact<{
4298
- id: Scalars['ID']['input']
1917
+ id: string | number
4299
1918
  }>
4300
1919
 
4301
1920
  export type GetLibraryStructureQuery = {
@@ -4310,8 +1929,8 @@ export type GetLibraryStructureQuery = {
4310
1929
  }
4311
1930
 
4312
1931
  export type ListLibraryTaxonomiesQueryVariables = Exact<{
4313
- standard: InputMaybe<Scalars['String']['input']>
4314
- includeElementCount?: Scalars['Boolean']['input']
1932
+ standard: string | null | undefined
1933
+ includeElementCount?: boolean
4315
1934
  }>
4316
1935
 
4317
1936
  export type ListLibraryTaxonomiesQuery = {
@@ -4331,10 +1950,10 @@ export type ListLibraryTaxonomiesQuery = {
4331
1950
  }
4332
1951
 
4333
1952
  export type GetLibraryTaxonomyQueryVariables = Exact<{
4334
- id: InputMaybe<Scalars['ID']['input']>
4335
- standard: InputMaybe<Scalars['String']['input']>
4336
- version: InputMaybe<Scalars['String']['input']>
4337
- includeElementCount?: Scalars['Boolean']['input']
1953
+ id: string | number | null | undefined
1954
+ standard: string | null | undefined
1955
+ version: string | null | undefined
1956
+ includeElementCount?: boolean
4338
1957
  }>
4339
1958
 
4340
1959
  export type GetLibraryTaxonomyQuery = {