@robosystems/client 1.13.2 → 1.14.1
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.
- package/artifacts/LedgerClient.d.ts +26 -1
- package/artifacts/LedgerClient.js +27 -1
- package/artifacts/LedgerClient.ts +53 -1
- package/artifacts/OperatorClient.js +2 -2
- package/artifacts/OperatorClient.ts +3 -2
- package/artifacts/QueryClient.js +1 -1
- package/artifacts/QueryClient.ts +1 -1
- package/artifacts/SSEClient.js +1 -1
- package/artifacts/SSEClient.ts +2 -1
- package/artifacts/graphql/client.js +1 -1
- package/artifacts/graphql/client.ts +2 -1
- package/artifacts/graphql/generated/graphql.d.ts +312 -2526
- package/artifacts/graphql/generated/graphql.js +173 -2
- package/artifacts/graphql/generated/graphql.ts +493 -2658
- package/artifacts/graphql/queries/ledger/journalEntries.d.ts +14 -0
- package/artifacts/graphql/queries/ledger/journalEntries.js +75 -0
- package/artifacts/graphql/queries/ledger/journalEntries.ts +73 -0
- package/client/index.d.ts +2 -0
- package/client/index.ts +2 -0
- package/client/utils.gen.d.ts +1 -1
- package/client/utils.gen.ts +2 -2
- package/client.gen.d.ts +2 -2
- package/client.gen.ts +2 -2
- package/core/auth.gen.d.ts +7 -0
- package/core/auth.gen.ts +7 -0
- package/core/params.gen.d.ts +2 -2
- package/core/params.gen.js +21 -13
- package/core/params.gen.ts +21 -12
- package/core/pathSerializer.gen.ts +6 -6
- package/core/queryKeySerializer.gen.d.ts +1 -1
- package/core/queryKeySerializer.gen.ts +1 -1
- package/core/types.gen.d.ts +5 -0
- package/core/types.gen.ts +6 -0
- package/core/utils.gen.ts +4 -4
- package/package.json +11 -8
- package/sdk/client/index.d.ts +2 -0
- package/sdk/client/index.ts +2 -0
- package/sdk/client/utils.gen.d.ts +1 -1
- package/sdk/client/utils.gen.ts +2 -2
- package/sdk/client.gen.d.ts +2 -2
- package/sdk/client.gen.ts +2 -2
- package/sdk/core/auth.gen.d.ts +7 -0
- package/sdk/core/auth.gen.ts +7 -0
- package/sdk/core/params.gen.d.ts +2 -2
- package/sdk/core/params.gen.js +21 -13
- package/sdk/core/params.gen.ts +21 -12
- package/sdk/core/pathSerializer.gen.ts +6 -6
- package/sdk/core/queryKeySerializer.gen.d.ts +1 -1
- package/sdk/core/queryKeySerializer.gen.ts +1 -1
- package/sdk/core/types.gen.d.ts +5 -0
- package/sdk/core/types.gen.ts +6 -0
- package/sdk/core/utils.gen.ts +4 -4
- package/sdk/sdk.gen.d.ts +199 -199
- package/sdk/sdk.gen.ts +199 -199
- package/sdk/types.gen.d.ts +35 -2
- package/sdk/types.gen.ts +35 -2
- package/sdk.gen.d.ts +199 -199
- package/sdk.gen.ts +199 -199
- package/types.gen.d.ts +35 -2
- package/types.gen.ts +35 -2
|
@@ -1,2414 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = {
|
|
8
|
-
[_ in K]?: never
|
|
9
|
-
}
|
|
10
|
-
export type Incremental<T> =
|
|
11
|
-
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
|
-
|
|
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. */
|
|
4
|
+
export type Incremental<T> =
|
|
5
|
+
T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
|
|
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:
|
|
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:
|
|
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:
|
|
47
|
+
inceptionDate: string | null
|
|
2449
48
|
baseCurrency: string
|
|
2450
49
|
totalCostBasisDollars: number
|
|
2451
50
|
totalCurrentValueDollars: number | null
|
|
2452
51
|
activePositionCount: number
|
|
2453
|
-
createdAt:
|
|
2454
|
-
updatedAt:
|
|
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:
|
|
61
|
+
valuationDate: string | null
|
|
2463
62
|
valuationSource: string | null
|
|
2464
|
-
acquisitionDate:
|
|
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?:
|
|
2482
|
-
offset?:
|
|
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:
|
|
91
|
+
inceptionDate: string | null
|
|
2493
92
|
baseCurrency: string
|
|
2494
|
-
createdAt:
|
|
2495
|
-
updatedAt:
|
|
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:
|
|
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:
|
|
118
|
+
valuationDate: string | null
|
|
2520
119
|
valuationSource: string | null
|
|
2521
|
-
acquisitionDate:
|
|
2522
|
-
dispositionDate:
|
|
120
|
+
acquisitionDate: string | null
|
|
121
|
+
dispositionDate: string | null
|
|
2523
122
|
status: string
|
|
2524
123
|
notes: string | null
|
|
2525
|
-
createdAt:
|
|
2526
|
-
updatedAt:
|
|
124
|
+
createdAt: string
|
|
125
|
+
updatedAt: string
|
|
2527
126
|
} | null
|
|
2528
127
|
}
|
|
2529
128
|
|
|
2530
129
|
export type ListInvestorPositionsQueryVariables = Exact<{
|
|
2531
|
-
portfolioId:
|
|
2532
|
-
securityId:
|
|
2533
|
-
status:
|
|
2534
|
-
limit?:
|
|
2535
|
-
offset?:
|
|
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:
|
|
152
|
+
valuationDate: string | null
|
|
2554
153
|
valuationSource: string | null
|
|
2555
|
-
acquisitionDate:
|
|
2556
|
-
dispositionDate:
|
|
154
|
+
acquisitionDate: string | null
|
|
155
|
+
dispositionDate: string | null
|
|
2557
156
|
status: string
|
|
2558
157
|
notes: string | null
|
|
2559
|
-
createdAt:
|
|
2560
|
-
updatedAt:
|
|
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:
|
|
2568
|
-
securityType:
|
|
2569
|
-
isActive:
|
|
2570
|
-
limit?:
|
|
2571
|
-
offset?:
|
|
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:
|
|
183
|
+
terms: unknown
|
|
2585
184
|
isActive: boolean
|
|
2586
185
|
authorizedShares: number | null
|
|
2587
186
|
outstandingShares: number | null
|
|
2588
|
-
createdAt:
|
|
2589
|
-
updatedAt:
|
|
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:
|
|
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:
|
|
207
|
+
terms: unknown
|
|
2609
208
|
isActive: boolean
|
|
2610
209
|
authorizedShares: number | null
|
|
2611
210
|
outstandingShares: number | null
|
|
2612
|
-
createdAt:
|
|
2613
|
-
updatedAt:
|
|
211
|
+
createdAt: string
|
|
212
|
+
updatedAt: string
|
|
2614
213
|
} | null
|
|
2615
214
|
}
|
|
2616
215
|
|
|
2617
216
|
export type GetLedgerAccountRollupsQueryVariables = Exact<{
|
|
2618
|
-
mappingId:
|
|
2619
|
-
startDate:
|
|
2620
|
-
endDate:
|
|
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:
|
|
2698
|
-
isActive:
|
|
2699
|
-
limit?:
|
|
2700
|
-
offset?:
|
|
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:
|
|
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:
|
|
340
|
+
address: unknown
|
|
2742
341
|
source: string
|
|
2743
342
|
externalId: string | null
|
|
2744
343
|
isActive: boolean
|
|
2745
344
|
is1099Recipient: boolean
|
|
2746
|
-
createdAt:
|
|
2747
|
-
updatedAt:
|
|
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:
|
|
2754
|
-
source:
|
|
2755
|
-
isActive?:
|
|
2756
|
-
limit?:
|
|
2757
|
-
offset?:
|
|
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:
|
|
371
|
+
address: unknown
|
|
2773
372
|
source: string
|
|
2774
373
|
externalId: string | null
|
|
2775
374
|
isActive: boolean
|
|
2776
375
|
is1099Recipient: boolean
|
|
2777
|
-
createdAt:
|
|
2778
|
-
updatedAt:
|
|
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?:
|
|
2785
|
-
offset?:
|
|
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:
|
|
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:
|
|
2823
|
-
source:
|
|
2824
|
-
classification:
|
|
2825
|
-
isAbstract:
|
|
2826
|
-
limit?:
|
|
2827
|
-
offset?:
|
|
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:
|
|
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:
|
|
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:
|
|
2932
|
-
effectiveAt:
|
|
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:
|
|
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:
|
|
547
|
+
createdAt: string
|
|
2949
548
|
createdBy: string
|
|
2950
549
|
} | null
|
|
2951
550
|
}
|
|
2952
551
|
|
|
2953
552
|
export type ListLedgerEventBlocksQueryVariables = Exact<{
|
|
2954
|
-
eventType:
|
|
2955
|
-
eventCategory:
|
|
2956
|
-
status:
|
|
2957
|
-
agentId:
|
|
2958
|
-
source:
|
|
2959
|
-
limit?:
|
|
2960
|
-
offset?:
|
|
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:
|
|
2971
|
-
effectiveAt:
|
|
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:
|
|
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:
|
|
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:
|
|
3009
|
-
initializedAt:
|
|
3010
|
-
lastSyncAt:
|
|
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:
|
|
3026
|
-
endDate:
|
|
624
|
+
startDate: string
|
|
625
|
+
endDate: string
|
|
3027
626
|
status: string
|
|
3028
|
-
closedAt:
|
|
627
|
+
closedAt: string | null
|
|
3029
628
|
}>
|
|
3030
629
|
} | null
|
|
3031
630
|
}
|
|
3032
631
|
|
|
3033
632
|
export type GetInformationBlockQueryVariables = Exact<{
|
|
3034
|
-
id:
|
|
3035
|
-
scenarioId:
|
|
3036
|
-
series?:
|
|
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:
|
|
3053
|
-
mechanics:
|
|
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:
|
|
3083
|
-
periodEnd:
|
|
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:
|
|
3105
|
-
periodEnd:
|
|
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:
|
|
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:
|
|
3120
|
-
periodEnd:
|
|
3121
|
-
evaluatedAt:
|
|
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<{
|
|
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:
|
|
3175
|
-
scenarioId:
|
|
3176
|
-
series?:
|
|
3177
|
-
seriesHistory:
|
|
3178
|
-
seriesForecast:
|
|
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:
|
|
3195
|
-
mechanics:
|
|
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:
|
|
3225
|
-
periodEnd:
|
|
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:
|
|
3247
|
-
periodEnd:
|
|
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:
|
|
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:
|
|
3262
|
-
periodEnd:
|
|
3263
|
-
evaluatedAt:
|
|
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<{
|
|
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:
|
|
3317
|
-
category:
|
|
3318
|
-
limit:
|
|
3319
|
-
offset:
|
|
3320
|
-
scenarioId:
|
|
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:
|
|
3337
|
-
mechanics:
|
|
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:
|
|
3367
|
-
periodEnd:
|
|
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:
|
|
3389
|
-
periodEnd:
|
|
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:
|
|
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:
|
|
3404
|
-
periodEnd:
|
|
3405
|
-
evaluatedAt:
|
|
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<{
|
|
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>
|
|
@@ -3454,10 +1068,55 @@ export type ListInformationBlocksQuery = {
|
|
|
3454
1068
|
}>
|
|
3455
1069
|
}
|
|
3456
1070
|
|
|
1071
|
+
export type ListLedgerJournalEntriesQueryVariables = Exact<{
|
|
1072
|
+
startDate: string | null | undefined
|
|
1073
|
+
endDate: string | null | undefined
|
|
1074
|
+
status: string | null | undefined
|
|
1075
|
+
type: string | null | undefined
|
|
1076
|
+
provenance: string | null | undefined
|
|
1077
|
+
transactionId: string | null | undefined
|
|
1078
|
+
limit?: number
|
|
1079
|
+
offset?: number
|
|
1080
|
+
}>
|
|
1081
|
+
|
|
1082
|
+
export type ListLedgerJournalEntriesQuery = {
|
|
1083
|
+
journalEntries: {
|
|
1084
|
+
entries: Array<{
|
|
1085
|
+
id: string
|
|
1086
|
+
number: string | null
|
|
1087
|
+
transactionId: string | null
|
|
1088
|
+
type: string
|
|
1089
|
+
status: string
|
|
1090
|
+
postingDate: string
|
|
1091
|
+
memo: string | null
|
|
1092
|
+
provenance: string | null
|
|
1093
|
+
sourceStructureId: string | null
|
|
1094
|
+
sourceStructureName: string | null
|
|
1095
|
+
triggeredByEventId: string | null
|
|
1096
|
+
reversalOf: string | null
|
|
1097
|
+
postedAt: string | null
|
|
1098
|
+
totalDebit: number
|
|
1099
|
+
totalCredit: number
|
|
1100
|
+
balanced: boolean
|
|
1101
|
+
lineItems: Array<{
|
|
1102
|
+
id: string
|
|
1103
|
+
accountId: string
|
|
1104
|
+
accountName: string | null
|
|
1105
|
+
accountCode: string | null
|
|
1106
|
+
debitAmount: number
|
|
1107
|
+
creditAmount: number
|
|
1108
|
+
description: string | null
|
|
1109
|
+
lineOrder: number
|
|
1110
|
+
}>
|
|
1111
|
+
}>
|
|
1112
|
+
pagination: { total: number; limit: number; offset: number; hasMore: boolean }
|
|
1113
|
+
} | null
|
|
1114
|
+
}
|
|
1115
|
+
|
|
3457
1116
|
export type GetLedgerMappedTrialBalanceQueryVariables = Exact<{
|
|
3458
|
-
mappingId:
|
|
3459
|
-
startDate:
|
|
3460
|
-
endDate:
|
|
1117
|
+
mappingId: string
|
|
1118
|
+
startDate: string | null | undefined
|
|
1119
|
+
endDate: string | null | undefined
|
|
3461
1120
|
}>
|
|
3462
1121
|
|
|
3463
1122
|
export type GetLedgerMappedTrialBalanceQuery = {
|
|
@@ -3477,7 +1136,7 @@ export type GetLedgerMappedTrialBalanceQuery = {
|
|
|
3477
1136
|
}
|
|
3478
1137
|
|
|
3479
1138
|
export type GetLedgerMappingQueryVariables = Exact<{
|
|
3480
|
-
mappingId:
|
|
1139
|
+
mappingId: string
|
|
3481
1140
|
}>
|
|
3482
1141
|
|
|
3483
1142
|
export type GetLedgerMappingQuery = {
|
|
@@ -3507,7 +1166,7 @@ export type GetLedgerMappingQuery = {
|
|
|
3507
1166
|
}
|
|
3508
1167
|
|
|
3509
1168
|
export type MappingCandidatesQueryVariables = Exact<{
|
|
3510
|
-
classification:
|
|
1169
|
+
classification: string
|
|
3511
1170
|
}>
|
|
3512
1171
|
|
|
3513
1172
|
export type MappingCandidatesQuery = {
|
|
@@ -3515,7 +1174,7 @@ export type MappingCandidatesQuery = {
|
|
|
3515
1174
|
}
|
|
3516
1175
|
|
|
3517
1176
|
export type GetLedgerMappingCoverageQueryVariables = Exact<{
|
|
3518
|
-
mappingId:
|
|
1177
|
+
mappingId: string
|
|
3519
1178
|
}>
|
|
3520
1179
|
|
|
3521
1180
|
export type GetLedgerMappingCoverageQuery = {
|
|
@@ -3547,14 +1206,14 @@ export type ListLedgerMappingsQuery = {
|
|
|
3547
1206
|
}
|
|
3548
1207
|
|
|
3549
1208
|
export type GetLedgerPeriodCloseStatusQueryVariables = Exact<{
|
|
3550
|
-
periodStart:
|
|
3551
|
-
periodEnd:
|
|
1209
|
+
periodStart: string
|
|
1210
|
+
periodEnd: string
|
|
3552
1211
|
}>
|
|
3553
1212
|
|
|
3554
1213
|
export type GetLedgerPeriodCloseStatusQuery = {
|
|
3555
1214
|
periodCloseStatus: {
|
|
3556
|
-
fiscalPeriodStart:
|
|
3557
|
-
fiscalPeriodEnd:
|
|
1215
|
+
fiscalPeriodStart: string
|
|
1216
|
+
fiscalPeriodEnd: string
|
|
3558
1217
|
periodStatus: string
|
|
3559
1218
|
totalDraft: number
|
|
3560
1219
|
totalPosted: number
|
|
@@ -3571,14 +1230,14 @@ export type GetLedgerPeriodCloseStatusQuery = {
|
|
|
3571
1230
|
}
|
|
3572
1231
|
|
|
3573
1232
|
export type GetLedgerPeriodDraftsQueryVariables = Exact<{
|
|
3574
|
-
period:
|
|
1233
|
+
period: string
|
|
3575
1234
|
}>
|
|
3576
1235
|
|
|
3577
1236
|
export type GetLedgerPeriodDraftsQuery = {
|
|
3578
1237
|
periodDrafts: {
|
|
3579
1238
|
period: string
|
|
3580
|
-
periodStart:
|
|
3581
|
-
periodEnd:
|
|
1239
|
+
periodStart: string
|
|
1240
|
+
periodEnd: string
|
|
3582
1241
|
draftCount: number
|
|
3583
1242
|
totalDebit: number
|
|
3584
1243
|
totalCredit: number
|
|
@@ -3589,7 +1248,7 @@ export type GetLedgerPeriodDraftsQuery = {
|
|
|
3589
1248
|
localOnlyCount: number
|
|
3590
1249
|
drafts: Array<{
|
|
3591
1250
|
entryId: string
|
|
3592
|
-
postingDate:
|
|
1251
|
+
postingDate: string
|
|
3593
1252
|
type: string
|
|
3594
1253
|
memo: string | null
|
|
3595
1254
|
provenance: string | null
|
|
@@ -3613,7 +1272,7 @@ export type GetLedgerPeriodDraftsQuery = {
|
|
|
3613
1272
|
}
|
|
3614
1273
|
|
|
3615
1274
|
export type GetLedgerPublishListQueryVariables = Exact<{
|
|
3616
|
-
listId:
|
|
1275
|
+
listId: string
|
|
3617
1276
|
}>
|
|
3618
1277
|
|
|
3619
1278
|
export type GetLedgerPublishListQuery = {
|
|
@@ -3623,22 +1282,22 @@ export type GetLedgerPublishListQuery = {
|
|
|
3623
1282
|
description: string | null
|
|
3624
1283
|
memberCount: number
|
|
3625
1284
|
createdBy: string
|
|
3626
|
-
createdAt:
|
|
3627
|
-
updatedAt:
|
|
1285
|
+
createdAt: string
|
|
1286
|
+
updatedAt: string
|
|
3628
1287
|
members: Array<{
|
|
3629
1288
|
id: string
|
|
3630
1289
|
targetGraphId: string
|
|
3631
1290
|
targetGraphName: string | null
|
|
3632
1291
|
targetOrgName: string | null
|
|
3633
1292
|
addedBy: string
|
|
3634
|
-
addedAt:
|
|
1293
|
+
addedAt: string
|
|
3635
1294
|
}>
|
|
3636
1295
|
} | null
|
|
3637
1296
|
}
|
|
3638
1297
|
|
|
3639
1298
|
export type ListLedgerPublishListsQueryVariables = Exact<{
|
|
3640
|
-
limit?:
|
|
3641
|
-
offset?:
|
|
1299
|
+
limit?: number
|
|
1300
|
+
offset?: number
|
|
3642
1301
|
}>
|
|
3643
1302
|
|
|
3644
1303
|
export type ListLedgerPublishListsQuery = {
|
|
@@ -3649,15 +1308,15 @@ export type ListLedgerPublishListsQuery = {
|
|
|
3649
1308
|
description: string | null
|
|
3650
1309
|
memberCount: number
|
|
3651
1310
|
createdBy: string
|
|
3652
|
-
createdAt:
|
|
3653
|
-
updatedAt:
|
|
1311
|
+
createdAt: string
|
|
1312
|
+
updatedAt: string
|
|
3654
1313
|
}>
|
|
3655
1314
|
pagination: { total: number; limit: number; offset: number; hasMore: boolean }
|
|
3656
1315
|
} | null
|
|
3657
1316
|
}
|
|
3658
1317
|
|
|
3659
1318
|
export type GetLedgerReportQueryVariables = Exact<{
|
|
3660
|
-
reportId:
|
|
1319
|
+
reportId: string
|
|
3661
1320
|
}>
|
|
3662
1321
|
|
|
3663
1322
|
export type GetLedgerReportQuery = {
|
|
@@ -3667,32 +1326,32 @@ export type GetLedgerReportQuery = {
|
|
|
3667
1326
|
taxonomyId: string
|
|
3668
1327
|
generationStatus: string
|
|
3669
1328
|
periodType: string
|
|
3670
|
-
periodStart:
|
|
3671
|
-
periodEnd:
|
|
1329
|
+
periodStart: string | null
|
|
1330
|
+
periodEnd: string | null
|
|
3672
1331
|
comparative: boolean
|
|
3673
1332
|
mappingId: string | null
|
|
3674
1333
|
aiGenerated: boolean
|
|
3675
|
-
createdAt:
|
|
3676
|
-
lastGenerated:
|
|
1334
|
+
createdAt: string
|
|
1335
|
+
lastGenerated: string | null
|
|
3677
1336
|
entityName: string | null
|
|
3678
1337
|
sourceGraphId: string | null
|
|
3679
1338
|
sourceReportId: string | null
|
|
3680
|
-
sharedAt:
|
|
3681
|
-
periods: Array<{ start:
|
|
1339
|
+
sharedAt: string | null
|
|
1340
|
+
periods: Array<{ start: string; end: string; label: string }> | null
|
|
3682
1341
|
structures: Array<{ id: string; name: string; blockType: string }>
|
|
3683
1342
|
} | null
|
|
3684
1343
|
}
|
|
3685
1344
|
|
|
3686
1345
|
export type GetLedgerReportDownloadUrlQueryVariables = Exact<{
|
|
3687
|
-
reportId:
|
|
3688
|
-
format?:
|
|
3689
|
-
expiresIn?:
|
|
1346
|
+
reportId: string
|
|
1347
|
+
format?: ReportDownloadFormat | null | undefined
|
|
1348
|
+
expiresIn?: number | null | undefined
|
|
3690
1349
|
}>
|
|
3691
1350
|
|
|
3692
1351
|
export type GetLedgerReportDownloadUrlQuery = {
|
|
3693
1352
|
reportDownloadUrl: {
|
|
3694
1353
|
downloadUrl: string
|
|
3695
|
-
expiresAt:
|
|
1354
|
+
expiresAt: string
|
|
3696
1355
|
contentType: string
|
|
3697
1356
|
format: string
|
|
3698
1357
|
generationCount: number
|
|
@@ -3700,7 +1359,7 @@ export type GetLedgerReportDownloadUrlQuery = {
|
|
|
3700
1359
|
}
|
|
3701
1360
|
|
|
3702
1361
|
export type GetLedgerReportPackageQueryVariables = Exact<{
|
|
3703
|
-
reportId:
|
|
1362
|
+
reportId: string
|
|
3704
1363
|
}>
|
|
3705
1364
|
|
|
3706
1365
|
export type GetLedgerReportPackageQuery = {
|
|
@@ -3710,21 +1369,21 @@ export type GetLedgerReportPackageQuery = {
|
|
|
3710
1369
|
description: string | null
|
|
3711
1370
|
taxonomyId: string
|
|
3712
1371
|
periodType: string
|
|
3713
|
-
periodStart:
|
|
3714
|
-
periodEnd:
|
|
1372
|
+
periodStart: string | null
|
|
1373
|
+
periodEnd: string | null
|
|
3715
1374
|
generationStatus: string
|
|
3716
|
-
lastGenerated:
|
|
1375
|
+
lastGenerated: string | null
|
|
3717
1376
|
filingStatus: string
|
|
3718
|
-
filedAt:
|
|
1377
|
+
filedAt: string | null
|
|
3719
1378
|
filedBy: string | null
|
|
3720
1379
|
supersedesId: string | null
|
|
3721
1380
|
supersededById: string | null
|
|
3722
1381
|
sourceGraphId: string | null
|
|
3723
1382
|
sourceReportId: string | null
|
|
3724
|
-
sharedAt:
|
|
1383
|
+
sharedAt: string | null
|
|
3725
1384
|
entityName: string | null
|
|
3726
1385
|
aiGenerated: boolean
|
|
3727
|
-
createdAt:
|
|
1386
|
+
createdAt: string
|
|
3728
1387
|
createdBy: string
|
|
3729
1388
|
items: Array<{
|
|
3730
1389
|
factSetId: string
|
|
@@ -3742,8 +1401,8 @@ export type GetLedgerReportPackageQuery = {
|
|
|
3742
1401
|
artifact: {
|
|
3743
1402
|
topic: string | null
|
|
3744
1403
|
rendererNote: string | null
|
|
3745
|
-
template:
|
|
3746
|
-
mechanics:
|
|
1404
|
+
template: unknown
|
|
1405
|
+
mechanics: unknown
|
|
3747
1406
|
}
|
|
3748
1407
|
elements: Array<{
|
|
3749
1408
|
id: string
|
|
@@ -3772,8 +1431,8 @@ export type GetLedgerReportPackageQuery = {
|
|
|
3772
1431
|
textValue: string | null
|
|
3773
1432
|
factType: string
|
|
3774
1433
|
contentType: string | null
|
|
3775
|
-
periodStart:
|
|
3776
|
-
periodEnd:
|
|
1434
|
+
periodStart: string | null
|
|
1435
|
+
periodEnd: string
|
|
3777
1436
|
periodType: string
|
|
3778
1437
|
unit: string
|
|
3779
1438
|
factScope: string
|
|
@@ -3794,13 +1453,13 @@ export type GetLedgerReportPackageQuery = {
|
|
|
3794
1453
|
factSet: {
|
|
3795
1454
|
id: string
|
|
3796
1455
|
structureId: string | null
|
|
3797
|
-
periodStart:
|
|
3798
|
-
periodEnd:
|
|
1456
|
+
periodStart: string | null
|
|
1457
|
+
periodEnd: string
|
|
3799
1458
|
factsetType: string
|
|
3800
1459
|
entityId: string
|
|
3801
1460
|
reportId: string | null
|
|
3802
1461
|
scenarioId: string | null
|
|
3803
|
-
provenance:
|
|
1462
|
+
provenance: unknown
|
|
3804
1463
|
} | null
|
|
3805
1464
|
verificationResults: Array<{
|
|
3806
1465
|
id: string
|
|
@@ -3809,9 +1468,9 @@ export type GetLedgerReportPackageQuery = {
|
|
|
3809
1468
|
factSetId: string | null
|
|
3810
1469
|
status: string
|
|
3811
1470
|
message: string | null
|
|
3812
|
-
periodStart:
|
|
3813
|
-
periodEnd:
|
|
3814
|
-
evaluatedAt:
|
|
1471
|
+
periodStart: string | null
|
|
1472
|
+
periodEnd: string | null
|
|
1473
|
+
evaluatedAt: string | null
|
|
3815
1474
|
}>
|
|
3816
1475
|
verificationSummary: {
|
|
3817
1476
|
total: number
|
|
@@ -3843,7 +1502,12 @@ export type GetLedgerReportPackageQuery = {
|
|
|
3843
1502
|
isSubtotal: boolean
|
|
3844
1503
|
depth: number
|
|
3845
1504
|
}>
|
|
3846
|
-
periods: Array<{
|
|
1505
|
+
periods: Array<{
|
|
1506
|
+
start: string
|
|
1507
|
+
end: string
|
|
1508
|
+
label: string | null
|
|
1509
|
+
forecast: boolean | null
|
|
1510
|
+
}>
|
|
3847
1511
|
validation: {
|
|
3848
1512
|
passed: boolean
|
|
3849
1513
|
checks: Array<string>
|
|
@@ -3894,26 +1558,26 @@ export type ListLedgerReportsQuery = {
|
|
|
3894
1558
|
taxonomyId: string
|
|
3895
1559
|
generationStatus: string
|
|
3896
1560
|
periodType: string
|
|
3897
|
-
periodStart:
|
|
3898
|
-
periodEnd:
|
|
1561
|
+
periodStart: string | null
|
|
1562
|
+
periodEnd: string | null
|
|
3899
1563
|
comparative: boolean
|
|
3900
1564
|
mappingId: string | null
|
|
3901
1565
|
aiGenerated: boolean
|
|
3902
|
-
createdAt:
|
|
3903
|
-
lastGenerated:
|
|
1566
|
+
createdAt: string
|
|
1567
|
+
lastGenerated: string | null
|
|
3904
1568
|
entityName: string | null
|
|
3905
1569
|
sourceGraphId: string | null
|
|
3906
1570
|
sourceReportId: string | null
|
|
3907
|
-
sharedAt:
|
|
3908
|
-
periods: Array<{ start:
|
|
1571
|
+
sharedAt: string | null
|
|
1572
|
+
periods: Array<{ start: string; end: string; label: string }> | null
|
|
3909
1573
|
structures: Array<{ id: string; name: string; blockType: string }>
|
|
3910
1574
|
}>
|
|
3911
1575
|
} | null
|
|
3912
1576
|
}
|
|
3913
1577
|
|
|
3914
1578
|
export type GetLedgerStatementQueryVariables = Exact<{
|
|
3915
|
-
reportId:
|
|
3916
|
-
blockType:
|
|
1579
|
+
reportId: string
|
|
1580
|
+
blockType: string
|
|
3917
1581
|
}>
|
|
3918
1582
|
|
|
3919
1583
|
export type GetLedgerStatementQuery = {
|
|
@@ -3923,7 +1587,7 @@ export type GetLedgerStatementQuery = {
|
|
|
3923
1587
|
structureName: string
|
|
3924
1588
|
blockType: string
|
|
3925
1589
|
unmappedCount: number
|
|
3926
|
-
periods: Array<{ start:
|
|
1590
|
+
periods: Array<{ start: string; end: string; label: string }>
|
|
3927
1591
|
rows: Array<{
|
|
3928
1592
|
elementId: string
|
|
3929
1593
|
elementQname: string
|
|
@@ -3943,8 +1607,8 @@ export type GetLedgerStatementQuery = {
|
|
|
3943
1607
|
}
|
|
3944
1608
|
|
|
3945
1609
|
export type ListLedgerStructuresQueryVariables = Exact<{
|
|
3946
|
-
taxonomyId:
|
|
3947
|
-
blockType:
|
|
1610
|
+
taxonomyId: string | null | undefined
|
|
1611
|
+
blockType: string | null | undefined
|
|
3948
1612
|
}>
|
|
3949
1613
|
|
|
3950
1614
|
export type ListLedgerStructuresQuery = {
|
|
@@ -3969,15 +1633,15 @@ export type GetLedgerSummaryQuery = {
|
|
|
3969
1633
|
transactionCount: number
|
|
3970
1634
|
entryCount: number
|
|
3971
1635
|
lineItemCount: number
|
|
3972
|
-
earliestTransactionDate:
|
|
3973
|
-
latestTransactionDate:
|
|
1636
|
+
earliestTransactionDate: string | null
|
|
1637
|
+
latestTransactionDate: string | null
|
|
3974
1638
|
connectionCount: number
|
|
3975
|
-
lastSyncAt:
|
|
1639
|
+
lastSyncAt: string | null
|
|
3976
1640
|
} | null
|
|
3977
1641
|
}
|
|
3978
1642
|
|
|
3979
1643
|
export type ListLedgerTaxonomiesQueryVariables = Exact<{
|
|
3980
|
-
taxonomyType:
|
|
1644
|
+
taxonomyType: string | null | undefined
|
|
3981
1645
|
}>
|
|
3982
1646
|
|
|
3983
1647
|
export type ListLedgerTaxonomiesQuery = {
|
|
@@ -4000,7 +1664,7 @@ export type ListLedgerTaxonomiesQuery = {
|
|
|
4000
1664
|
}
|
|
4001
1665
|
|
|
4002
1666
|
export type GetLedgerTransactionQueryVariables = Exact<{
|
|
4003
|
-
transactionId:
|
|
1667
|
+
transactionId: string
|
|
4004
1668
|
}>
|
|
4005
1669
|
|
|
4006
1670
|
export type GetLedgerTransactionQuery = {
|
|
@@ -4011,23 +1675,23 @@ export type GetLedgerTransactionQuery = {
|
|
|
4011
1675
|
category: string | null
|
|
4012
1676
|
amount: number
|
|
4013
1677
|
currency: string
|
|
4014
|
-
date:
|
|
4015
|
-
dueDate:
|
|
1678
|
+
date: string
|
|
1679
|
+
dueDate: string | null
|
|
4016
1680
|
merchantName: string | null
|
|
4017
1681
|
referenceNumber: string | null
|
|
4018
1682
|
description: string | null
|
|
4019
1683
|
source: string
|
|
4020
1684
|
sourceId: string | null
|
|
4021
1685
|
status: string
|
|
4022
|
-
postedAt:
|
|
1686
|
+
postedAt: string | null
|
|
4023
1687
|
entries: Array<{
|
|
4024
1688
|
id: string
|
|
4025
1689
|
number: string | null
|
|
4026
1690
|
type: string
|
|
4027
|
-
postingDate:
|
|
1691
|
+
postingDate: string
|
|
4028
1692
|
memo: string | null
|
|
4029
1693
|
status: string
|
|
4030
|
-
postedAt:
|
|
1694
|
+
postedAt: string | null
|
|
4031
1695
|
lineItems: Array<{
|
|
4032
1696
|
id: string
|
|
4033
1697
|
accountId: string
|
|
@@ -4043,11 +1707,11 @@ export type GetLedgerTransactionQuery = {
|
|
|
4043
1707
|
}
|
|
4044
1708
|
|
|
4045
1709
|
export type ListLedgerTransactionsQueryVariables = Exact<{
|
|
4046
|
-
type:
|
|
4047
|
-
startDate:
|
|
4048
|
-
endDate:
|
|
4049
|
-
limit?:
|
|
4050
|
-
offset?:
|
|
1710
|
+
type: string | null | undefined
|
|
1711
|
+
startDate: string | null | undefined
|
|
1712
|
+
endDate: string | null | undefined
|
|
1713
|
+
limit?: number
|
|
1714
|
+
offset?: number
|
|
4051
1715
|
}>
|
|
4052
1716
|
|
|
4053
1717
|
export type ListLedgerTransactionsQuery = {
|
|
@@ -4059,8 +1723,8 @@ export type ListLedgerTransactionsQuery = {
|
|
|
4059
1723
|
category: string | null
|
|
4060
1724
|
amount: number
|
|
4061
1725
|
currency: string
|
|
4062
|
-
date:
|
|
4063
|
-
dueDate:
|
|
1726
|
+
date: string
|
|
1727
|
+
dueDate: string | null
|
|
4064
1728
|
merchantName: string | null
|
|
4065
1729
|
referenceNumber: string | null
|
|
4066
1730
|
description: string | null
|
|
@@ -4072,8 +1736,8 @@ export type ListLedgerTransactionsQuery = {
|
|
|
4072
1736
|
}
|
|
4073
1737
|
|
|
4074
1738
|
export type GetLedgerTrialBalanceQueryVariables = Exact<{
|
|
4075
|
-
startDate:
|
|
4076
|
-
endDate:
|
|
1739
|
+
startDate: string | null | undefined
|
|
1740
|
+
endDate: string | null | undefined
|
|
4077
1741
|
}>
|
|
4078
1742
|
|
|
4079
1743
|
export type GetLedgerTrialBalanceQuery = {
|
|
@@ -4094,7 +1758,7 @@ export type GetLedgerTrialBalanceQuery = {
|
|
|
4094
1758
|
}
|
|
4095
1759
|
|
|
4096
1760
|
export type ListLedgerUnmappedElementsQueryVariables = Exact<{
|
|
4097
|
-
mappingId:
|
|
1761
|
+
mappingId: string | null | undefined
|
|
4098
1762
|
}>
|
|
4099
1763
|
|
|
4100
1764
|
export type ListLedgerUnmappedElementsQuery = {
|
|
@@ -4115,11 +1779,11 @@ export type ListLedgerUnmappedElementsQuery = {
|
|
|
4115
1779
|
}
|
|
4116
1780
|
|
|
4117
1781
|
export type ListLibraryTaxonomyArcsQueryVariables = Exact<{
|
|
4118
|
-
taxonomyId:
|
|
4119
|
-
associationType:
|
|
4120
|
-
structureId:
|
|
4121
|
-
limit?:
|
|
4122
|
-
offset?:
|
|
1782
|
+
taxonomyId: string | number
|
|
1783
|
+
associationType: string | null | undefined
|
|
1784
|
+
structureId: string | number | null | undefined
|
|
1785
|
+
limit?: number
|
|
1786
|
+
offset?: number
|
|
4123
1787
|
}>
|
|
4124
1788
|
|
|
4125
1789
|
export type ListLibraryTaxonomyArcsQuery = {
|
|
@@ -4146,7 +1810,7 @@ export type ListLibraryTaxonomyArcsQuery = {
|
|
|
4146
1810
|
}
|
|
4147
1811
|
|
|
4148
1812
|
export type GetLibraryElementArcsQueryVariables = Exact<{
|
|
4149
|
-
id:
|
|
1813
|
+
id: string | number
|
|
4150
1814
|
}>
|
|
4151
1815
|
|
|
4152
1816
|
export type GetLibraryElementArcsQuery = {
|
|
@@ -4165,7 +1829,7 @@ export type GetLibraryElementArcsQuery = {
|
|
|
4165
1829
|
}
|
|
4166
1830
|
|
|
4167
1831
|
export type GetLibraryElementClassificationsQueryVariables = Exact<{
|
|
4168
|
-
id:
|
|
1832
|
+
id: string | number
|
|
4169
1833
|
}>
|
|
4170
1834
|
|
|
4171
1835
|
export type GetLibraryElementClassificationsQuery = {
|
|
@@ -4178,7 +1842,7 @@ export type GetLibraryElementClassificationsQuery = {
|
|
|
4178
1842
|
}
|
|
4179
1843
|
|
|
4180
1844
|
export type GetLibraryElementEquivalentsQueryVariables = Exact<{
|
|
4181
|
-
id:
|
|
1845
|
+
id: string | number
|
|
4182
1846
|
}>
|
|
4183
1847
|
|
|
4184
1848
|
export type GetLibraryElementEquivalentsQuery = {
|
|
@@ -4195,16 +1859,16 @@ export type GetLibraryElementEquivalentsQuery = {
|
|
|
4195
1859
|
}
|
|
4196
1860
|
|
|
4197
1861
|
export type ListLibraryElementsQueryVariables = Exact<{
|
|
4198
|
-
taxonomyId:
|
|
4199
|
-
source:
|
|
4200
|
-
classification:
|
|
4201
|
-
activityType:
|
|
4202
|
-
elementType:
|
|
4203
|
-
isAbstract:
|
|
4204
|
-
limit?:
|
|
4205
|
-
offset?:
|
|
4206
|
-
includeLabels?:
|
|
4207
|
-
includeReferences?:
|
|
1862
|
+
taxonomyId: string | number | null | undefined
|
|
1863
|
+
source: string | null | undefined
|
|
1864
|
+
classification: string | null | undefined
|
|
1865
|
+
activityType: string | null | undefined
|
|
1866
|
+
elementType: string | null | undefined
|
|
1867
|
+
isAbstract: boolean | null | undefined
|
|
1868
|
+
limit?: number
|
|
1869
|
+
offset?: number
|
|
1870
|
+
includeLabels?: boolean
|
|
1871
|
+
includeReferences?: boolean
|
|
4208
1872
|
}>
|
|
4209
1873
|
|
|
4210
1874
|
export type ListLibraryElementsQuery = {
|
|
@@ -4228,9 +1892,9 @@ export type ListLibraryElementsQuery = {
|
|
|
4228
1892
|
}
|
|
4229
1893
|
|
|
4230
1894
|
export type SearchLibraryElementsQueryVariables = Exact<{
|
|
4231
|
-
query:
|
|
4232
|
-
source:
|
|
4233
|
-
limit?:
|
|
1895
|
+
query: string
|
|
1896
|
+
source: string | null | undefined
|
|
1897
|
+
limit?: number
|
|
4234
1898
|
}>
|
|
4235
1899
|
|
|
4236
1900
|
export type SearchLibraryElementsQuery = {
|
|
@@ -4254,8 +1918,8 @@ export type SearchLibraryElementsQuery = {
|
|
|
4254
1918
|
}
|
|
4255
1919
|
|
|
4256
1920
|
export type GetLibraryElementQueryVariables = Exact<{
|
|
4257
|
-
id:
|
|
4258
|
-
qname:
|
|
1921
|
+
id: string | number | null | undefined
|
|
1922
|
+
qname: string | null | undefined
|
|
4259
1923
|
}>
|
|
4260
1924
|
|
|
4261
1925
|
export type GetLibraryElementQuery = {
|
|
@@ -4279,8 +1943,8 @@ export type GetLibraryElementQuery = {
|
|
|
4279
1943
|
}
|
|
4280
1944
|
|
|
4281
1945
|
export type ListLibraryStructuresQueryVariables = Exact<{
|
|
4282
|
-
taxonomyId:
|
|
4283
|
-
blockType:
|
|
1946
|
+
taxonomyId: string | number | null | undefined
|
|
1947
|
+
blockType: string | null | undefined
|
|
4284
1948
|
}>
|
|
4285
1949
|
|
|
4286
1950
|
export type ListLibraryStructuresQuery = {
|
|
@@ -4295,7 +1959,7 @@ export type ListLibraryStructuresQuery = {
|
|
|
4295
1959
|
}
|
|
4296
1960
|
|
|
4297
1961
|
export type GetLibraryStructureQueryVariables = Exact<{
|
|
4298
|
-
id:
|
|
1962
|
+
id: string | number
|
|
4299
1963
|
}>
|
|
4300
1964
|
|
|
4301
1965
|
export type GetLibraryStructureQuery = {
|
|
@@ -4310,8 +1974,8 @@ export type GetLibraryStructureQuery = {
|
|
|
4310
1974
|
}
|
|
4311
1975
|
|
|
4312
1976
|
export type ListLibraryTaxonomiesQueryVariables = Exact<{
|
|
4313
|
-
standard:
|
|
4314
|
-
includeElementCount?:
|
|
1977
|
+
standard: string | null | undefined
|
|
1978
|
+
includeElementCount?: boolean
|
|
4315
1979
|
}>
|
|
4316
1980
|
|
|
4317
1981
|
export type ListLibraryTaxonomiesQuery = {
|
|
@@ -4331,10 +1995,10 @@ export type ListLibraryTaxonomiesQuery = {
|
|
|
4331
1995
|
}
|
|
4332
1996
|
|
|
4333
1997
|
export type GetLibraryTaxonomyQueryVariables = Exact<{
|
|
4334
|
-
id:
|
|
4335
|
-
standard:
|
|
4336
|
-
version:
|
|
4337
|
-
includeElementCount?:
|
|
1998
|
+
id: string | number | null | undefined
|
|
1999
|
+
standard: string | null | undefined
|
|
2000
|
+
version: string | null | undefined
|
|
2001
|
+
includeElementCount?: boolean
|
|
4338
2002
|
}>
|
|
4339
2003
|
|
|
4340
2004
|
export type GetLibraryTaxonomyQuery = {
|
|
@@ -7230,6 +4894,177 @@ export const ListInformationBlocksDocument = {
|
|
|
7230
4894
|
},
|
|
7231
4895
|
],
|
|
7232
4896
|
} as unknown as DocumentNode<ListInformationBlocksQuery, ListInformationBlocksQueryVariables>
|
|
4897
|
+
export const ListLedgerJournalEntriesDocument = {
|
|
4898
|
+
kind: 'Document',
|
|
4899
|
+
definitions: [
|
|
4900
|
+
{
|
|
4901
|
+
kind: 'OperationDefinition',
|
|
4902
|
+
operation: 'query',
|
|
4903
|
+
name: { kind: 'Name', value: 'ListLedgerJournalEntries' },
|
|
4904
|
+
variableDefinitions: [
|
|
4905
|
+
{
|
|
4906
|
+
kind: 'VariableDefinition',
|
|
4907
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
|
|
4908
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
|
|
4909
|
+
},
|
|
4910
|
+
{
|
|
4911
|
+
kind: 'VariableDefinition',
|
|
4912
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
|
|
4913
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
|
|
4914
|
+
},
|
|
4915
|
+
{
|
|
4916
|
+
kind: 'VariableDefinition',
|
|
4917
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'status' } },
|
|
4918
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
4919
|
+
},
|
|
4920
|
+
{
|
|
4921
|
+
kind: 'VariableDefinition',
|
|
4922
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'type' } },
|
|
4923
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
4924
|
+
},
|
|
4925
|
+
{
|
|
4926
|
+
kind: 'VariableDefinition',
|
|
4927
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'provenance' } },
|
|
4928
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
4929
|
+
},
|
|
4930
|
+
{
|
|
4931
|
+
kind: 'VariableDefinition',
|
|
4932
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'transactionId' } },
|
|
4933
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
4934
|
+
},
|
|
4935
|
+
{
|
|
4936
|
+
kind: 'VariableDefinition',
|
|
4937
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
4938
|
+
type: {
|
|
4939
|
+
kind: 'NonNullType',
|
|
4940
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
4941
|
+
},
|
|
4942
|
+
defaultValue: { kind: 'IntValue', value: '100' },
|
|
4943
|
+
},
|
|
4944
|
+
{
|
|
4945
|
+
kind: 'VariableDefinition',
|
|
4946
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
4947
|
+
type: {
|
|
4948
|
+
kind: 'NonNullType',
|
|
4949
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
4950
|
+
},
|
|
4951
|
+
defaultValue: { kind: 'IntValue', value: '0' },
|
|
4952
|
+
},
|
|
4953
|
+
],
|
|
4954
|
+
selectionSet: {
|
|
4955
|
+
kind: 'SelectionSet',
|
|
4956
|
+
selections: [
|
|
4957
|
+
{
|
|
4958
|
+
kind: 'Field',
|
|
4959
|
+
name: { kind: 'Name', value: 'journalEntries' },
|
|
4960
|
+
arguments: [
|
|
4961
|
+
{
|
|
4962
|
+
kind: 'Argument',
|
|
4963
|
+
name: { kind: 'Name', value: 'startDate' },
|
|
4964
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
|
|
4965
|
+
},
|
|
4966
|
+
{
|
|
4967
|
+
kind: 'Argument',
|
|
4968
|
+
name: { kind: 'Name', value: 'endDate' },
|
|
4969
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
|
|
4970
|
+
},
|
|
4971
|
+
{
|
|
4972
|
+
kind: 'Argument',
|
|
4973
|
+
name: { kind: 'Name', value: 'status' },
|
|
4974
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'status' } },
|
|
4975
|
+
},
|
|
4976
|
+
{
|
|
4977
|
+
kind: 'Argument',
|
|
4978
|
+
name: { kind: 'Name', value: 'type' },
|
|
4979
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'type' } },
|
|
4980
|
+
},
|
|
4981
|
+
{
|
|
4982
|
+
kind: 'Argument',
|
|
4983
|
+
name: { kind: 'Name', value: 'provenance' },
|
|
4984
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'provenance' } },
|
|
4985
|
+
},
|
|
4986
|
+
{
|
|
4987
|
+
kind: 'Argument',
|
|
4988
|
+
name: { kind: 'Name', value: 'transactionId' },
|
|
4989
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'transactionId' } },
|
|
4990
|
+
},
|
|
4991
|
+
{
|
|
4992
|
+
kind: 'Argument',
|
|
4993
|
+
name: { kind: 'Name', value: 'limit' },
|
|
4994
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
kind: 'Argument',
|
|
4998
|
+
name: { kind: 'Name', value: 'offset' },
|
|
4999
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
5000
|
+
},
|
|
5001
|
+
],
|
|
5002
|
+
selectionSet: {
|
|
5003
|
+
kind: 'SelectionSet',
|
|
5004
|
+
selections: [
|
|
5005
|
+
{
|
|
5006
|
+
kind: 'Field',
|
|
5007
|
+
name: { kind: 'Name', value: 'entries' },
|
|
5008
|
+
selectionSet: {
|
|
5009
|
+
kind: 'SelectionSet',
|
|
5010
|
+
selections: [
|
|
5011
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
5012
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'number' } },
|
|
5013
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionId' } },
|
|
5014
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'type' } },
|
|
5015
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
5016
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'postingDate' } },
|
|
5017
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'memo' } },
|
|
5018
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'provenance' } },
|
|
5019
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'sourceStructureId' } },
|
|
5020
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'sourceStructureName' } },
|
|
5021
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'triggeredByEventId' } },
|
|
5022
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'reversalOf' } },
|
|
5023
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'postedAt' } },
|
|
5024
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'totalDebit' } },
|
|
5025
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'totalCredit' } },
|
|
5026
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'balanced' } },
|
|
5027
|
+
{
|
|
5028
|
+
kind: 'Field',
|
|
5029
|
+
name: { kind: 'Name', value: 'lineItems' },
|
|
5030
|
+
selectionSet: {
|
|
5031
|
+
kind: 'SelectionSet',
|
|
5032
|
+
selections: [
|
|
5033
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
5034
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountId' } },
|
|
5035
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
|
|
5036
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'accountCode' } },
|
|
5037
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'debitAmount' } },
|
|
5038
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'creditAmount' } },
|
|
5039
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
5040
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'lineOrder' } },
|
|
5041
|
+
],
|
|
5042
|
+
},
|
|
5043
|
+
},
|
|
5044
|
+
],
|
|
5045
|
+
},
|
|
5046
|
+
},
|
|
5047
|
+
{
|
|
5048
|
+
kind: 'Field',
|
|
5049
|
+
name: { kind: 'Name', value: 'pagination' },
|
|
5050
|
+
selectionSet: {
|
|
5051
|
+
kind: 'SelectionSet',
|
|
5052
|
+
selections: [
|
|
5053
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'total' } },
|
|
5054
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'limit' } },
|
|
5055
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'offset' } },
|
|
5056
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
|
|
5057
|
+
],
|
|
5058
|
+
},
|
|
5059
|
+
},
|
|
5060
|
+
],
|
|
5061
|
+
},
|
|
5062
|
+
},
|
|
5063
|
+
],
|
|
5064
|
+
},
|
|
5065
|
+
},
|
|
5066
|
+
],
|
|
5067
|
+
} as unknown as DocumentNode<ListLedgerJournalEntriesQuery, ListLedgerJournalEntriesQueryVariables>
|
|
7233
5068
|
export const GetLedgerMappedTrialBalanceDocument = {
|
|
7234
5069
|
kind: 'Document',
|
|
7235
5070
|
definitions: [
|