@robosystems/client 0.2.48 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/extensions/InvestorClient.d.ts +91 -0
  2. package/extensions/InvestorClient.js +223 -0
  3. package/extensions/InvestorClient.ts +501 -0
  4. package/extensions/LedgerClient.d.ts +213 -165
  5. package/extensions/LedgerClient.js +315 -393
  6. package/extensions/LedgerClient.ts +887 -564
  7. package/extensions/ReportClient.d.ts +77 -115
  8. package/extensions/ReportClient.js +124 -211
  9. package/extensions/ReportClient.ts +298 -358
  10. package/extensions/config.js +1 -1
  11. package/extensions/config.ts +1 -1
  12. package/extensions/graphql/client.d.ts +46 -0
  13. package/extensions/graphql/client.js +75 -0
  14. package/extensions/graphql/client.ts +82 -0
  15. package/extensions/graphql/generated/graphql.d.ts +1786 -0
  16. package/extensions/graphql/generated/graphql.js +2671 -0
  17. package/extensions/graphql/generated/graphql.ts +4491 -0
  18. package/extensions/graphql/queries/investor/holdings.d.ts +8 -0
  19. package/extensions/graphql/queries/investor/holdings.js +36 -0
  20. package/extensions/graphql/queries/investor/holdings.ts +34 -0
  21. package/extensions/graphql/queries/investor/portfolio.d.ts +4 -0
  22. package/extensions/graphql/queries/investor/portfolio.js +21 -0
  23. package/extensions/graphql/queries/investor/portfolio.ts +19 -0
  24. package/extensions/graphql/queries/investor/portfolios.d.ts +4 -0
  25. package/extensions/graphql/queries/investor/portfolios.js +29 -0
  26. package/extensions/graphql/queries/investor/portfolios.ts +27 -0
  27. package/extensions/graphql/queries/investor/position.d.ts +4 -0
  28. package/extensions/graphql/queries/investor/position.js +33 -0
  29. package/extensions/graphql/queries/investor/position.ts +31 -0
  30. package/extensions/graphql/queries/investor/positions.d.ts +8 -0
  31. package/extensions/graphql/queries/investor/positions.js +57 -0
  32. package/extensions/graphql/queries/investor/positions.ts +55 -0
  33. package/extensions/graphql/queries/investor/securities.d.ts +8 -0
  34. package/extensions/graphql/queries/investor/securities.js +50 -0
  35. package/extensions/graphql/queries/investor/securities.ts +48 -0
  36. package/extensions/graphql/queries/investor/security.d.ts +4 -0
  37. package/extensions/graphql/queries/investor/security.js +26 -0
  38. package/extensions/graphql/queries/investor/security.ts +24 -0
  39. package/extensions/graphql/queries/ledger/accountRollups.d.ts +7 -0
  40. package/extensions/graphql/queries/ledger/accountRollups.js +36 -0
  41. package/extensions/graphql/queries/ledger/accountRollups.ts +34 -0
  42. package/extensions/graphql/queries/ledger/accountTree.d.ts +11 -0
  43. package/extensions/graphql/queries/ledger/accountTree.js +61 -0
  44. package/extensions/graphql/queries/ledger/accountTree.ts +59 -0
  45. package/extensions/graphql/queries/ledger/accounts.d.ts +8 -0
  46. package/extensions/graphql/queries/ledger/accounts.js +45 -0
  47. package/extensions/graphql/queries/ledger/accounts.ts +43 -0
  48. package/extensions/graphql/queries/ledger/closingBookStructures.d.ts +6 -0
  49. package/extensions/graphql/queries/ledger/closingBookStructures.js +27 -0
  50. package/extensions/graphql/queries/ledger/closingBookStructures.ts +25 -0
  51. package/extensions/graphql/queries/ledger/elements.d.ts +6 -0
  52. package/extensions/graphql/queries/ledger/elements.js +56 -0
  53. package/extensions/graphql/queries/ledger/elements.ts +54 -0
  54. package/extensions/graphql/queries/ledger/entities.d.ts +7 -0
  55. package/extensions/graphql/queries/ledger/entities.js +31 -0
  56. package/extensions/graphql/queries/ledger/entities.ts +29 -0
  57. package/extensions/graphql/queries/ledger/entity.d.ts +14 -0
  58. package/extensions/graphql/queries/ledger/entity.js +55 -0
  59. package/extensions/graphql/queries/ledger/entity.ts +54 -0
  60. package/extensions/graphql/queries/ledger/fiscalCalendar.d.ts +8 -0
  61. package/extensions/graphql/queries/ledger/fiscalCalendar.js +35 -0
  62. package/extensions/graphql/queries/ledger/fiscalCalendar.ts +33 -0
  63. package/extensions/graphql/queries/ledger/mappedTrialBalance.d.ts +9 -0
  64. package/extensions/graphql/queries/ledger/mappedTrialBalance.js +29 -0
  65. package/extensions/graphql/queries/ledger/mappedTrialBalance.ts +27 -0
  66. package/extensions/graphql/queries/ledger/mapping.d.ts +5 -0
  67. package/extensions/graphql/queries/ledger/mapping.js +35 -0
  68. package/extensions/graphql/queries/ledger/mapping.ts +33 -0
  69. package/extensions/graphql/queries/ledger/mappingCoverage.d.ts +5 -0
  70. package/extensions/graphql/queries/ledger/mappingCoverage.js +22 -0
  71. package/extensions/graphql/queries/ledger/mappingCoverage.ts +20 -0
  72. package/extensions/graphql/queries/ledger/mappings.d.ts +6 -0
  73. package/extensions/graphql/queries/ledger/mappings.js +23 -0
  74. package/extensions/graphql/queries/ledger/mappings.ts +21 -0
  75. package/extensions/graphql/queries/ledger/periodCloseStatus.d.ts +6 -0
  76. package/extensions/graphql/queries/ledger/periodCloseStatus.js +29 -0
  77. package/extensions/graphql/queries/ledger/periodCloseStatus.ts +27 -0
  78. package/extensions/graphql/queries/ledger/periodDrafts.d.ts +8 -0
  79. package/extensions/graphql/queries/ledger/periodDrafts.js +45 -0
  80. package/extensions/graphql/queries/ledger/periodDrafts.ts +43 -0
  81. package/extensions/graphql/queries/ledger/publishList.d.ts +5 -0
  82. package/extensions/graphql/queries/ledger/publishList.js +29 -0
  83. package/extensions/graphql/queries/ledger/publishList.ts +27 -0
  84. package/extensions/graphql/queries/ledger/publishLists.d.ts +5 -0
  85. package/extensions/graphql/queries/ledger/publishLists.js +29 -0
  86. package/extensions/graphql/queries/ledger/publishLists.ts +27 -0
  87. package/extensions/graphql/queries/ledger/report.d.ts +5 -0
  88. package/extensions/graphql/queries/ledger/report.js +40 -0
  89. package/extensions/graphql/queries/ledger/report.ts +38 -0
  90. package/extensions/graphql/queries/ledger/reportingTaxonomy.d.ts +6 -0
  91. package/extensions/graphql/queries/ledger/reportingTaxonomy.js +27 -0
  92. package/extensions/graphql/queries/ledger/reportingTaxonomy.ts +25 -0
  93. package/extensions/graphql/queries/ledger/reports.d.ts +8 -0
  94. package/extensions/graphql/queries/ledger/reports.js +45 -0
  95. package/extensions/graphql/queries/ledger/reports.ts +43 -0
  96. package/extensions/graphql/queries/ledger/scheduleFacts.d.ts +7 -0
  97. package/extensions/graphql/queries/ledger/scheduleFacts.js +24 -0
  98. package/extensions/graphql/queries/ledger/scheduleFacts.ts +22 -0
  99. package/extensions/graphql/queries/ledger/schedules.d.ts +6 -0
  100. package/extensions/graphql/queries/ledger/schedules.js +24 -0
  101. package/extensions/graphql/queries/ledger/schedules.ts +22 -0
  102. package/extensions/graphql/queries/ledger/statement.d.ts +9 -0
  103. package/extensions/graphql/queries/ledger/statement.js +43 -0
  104. package/extensions/graphql/queries/ledger/statement.ts +41 -0
  105. package/extensions/graphql/queries/ledger/structures.d.ts +5 -0
  106. package/extensions/graphql/queries/ledger/structures.js +22 -0
  107. package/extensions/graphql/queries/ledger/structures.ts +20 -0
  108. package/extensions/graphql/queries/ledger/summary.d.ts +7 -0
  109. package/extensions/graphql/queries/ledger/summary.js +25 -0
  110. package/extensions/graphql/queries/ledger/summary.ts +23 -0
  111. package/extensions/graphql/queries/ledger/taxonomies.d.ts +5 -0
  112. package/extensions/graphql/queries/ledger/taxonomies.js +28 -0
  113. package/extensions/graphql/queries/ledger/taxonomies.ts +26 -0
  114. package/extensions/graphql/queries/ledger/transaction.d.ts +6 -0
  115. package/extensions/graphql/queries/ledger/transaction.js +49 -0
  116. package/extensions/graphql/queries/ledger/transaction.ts +47 -0
  117. package/extensions/graphql/queries/ledger/transactions.d.ts +7 -0
  118. package/extensions/graphql/queries/ledger/transactions.js +49 -0
  119. package/extensions/graphql/queries/ledger/transactions.ts +47 -0
  120. package/extensions/graphql/queries/ledger/trialBalance.d.ts +7 -0
  121. package/extensions/graphql/queries/ledger/trialBalance.js +28 -0
  122. package/extensions/graphql/queries/ledger/trialBalance.ts +26 -0
  123. package/extensions/graphql/queries/ledger/unmappedElements.d.ts +8 -0
  124. package/extensions/graphql/queries/ledger/unmappedElements.js +29 -0
  125. package/extensions/graphql/queries/ledger/unmappedElements.ts +27 -0
  126. package/extensions/hooks.d.ts +1 -1
  127. package/extensions/index.d.ts +5 -1
  128. package/extensions/index.js +13 -1
  129. package/extensions/index.ts +14 -0
  130. package/index.ts +2 -2
  131. package/package.json +14 -5
  132. package/sdk/index.d.ts +2 -2
  133. package/sdk/index.js +38 -65
  134. package/sdk/index.ts +2 -2
  135. package/sdk/sdk.gen.d.ts +101 -220
  136. package/sdk/sdk.gen.js +251 -445
  137. package/sdk/sdk.gen.ts +216 -409
  138. package/sdk/types.gen.d.ts +4586 -7045
  139. package/sdk/types.gen.ts +4702 -7334
  140. package/sdk.gen.d.ts +101 -220
  141. package/sdk.gen.js +251 -445
  142. package/sdk.gen.ts +216 -409
  143. package/types.gen.d.ts +4586 -7045
  144. package/types.gen.ts +4702 -7334
  145. package/extensions/AgentClient.test.ts +0 -403
  146. package/extensions/LedgerClient.test.ts +0 -1138
  147. package/extensions/OperationClient.test.ts +0 -365
  148. package/extensions/QueryClient.test.ts +0 -432
  149. package/extensions/ReportClient.test.ts +0 -828
  150. package/extensions/SSEClient.test.ts +0 -375
  151. package/extensions/config.test.ts +0 -199
  152. package/extensions/hooks.test.ts +0 -373
  153. package/extensions/index.test.ts +0 -420
  154. package/sdk-extensions/AgentClient.d.ts +0 -82
  155. package/sdk-extensions/AgentClient.js +0 -218
  156. package/sdk-extensions/AgentClient.test.ts +0 -403
  157. package/sdk-extensions/AgentClient.ts +0 -321
  158. package/sdk-extensions/LedgerClient.d.ts +0 -242
  159. package/sdk-extensions/LedgerClient.js +0 -496
  160. package/sdk-extensions/LedgerClient.test.ts +0 -1138
  161. package/sdk-extensions/LedgerClient.ts +0 -800
  162. package/sdk-extensions/OperationClient.d.ts +0 -65
  163. package/sdk-extensions/OperationClient.js +0 -251
  164. package/sdk-extensions/OperationClient.test.ts +0 -365
  165. package/sdk-extensions/OperationClient.ts +0 -324
  166. package/sdk-extensions/QueryClient.d.ts +0 -52
  167. package/sdk-extensions/QueryClient.js +0 -313
  168. package/sdk-extensions/QueryClient.test.ts +0 -432
  169. package/sdk-extensions/QueryClient.ts +0 -420
  170. package/sdk-extensions/README.md +0 -901
  171. package/sdk-extensions/ReportClient.d.ts +0 -151
  172. package/sdk-extensions/ReportClient.js +0 -278
  173. package/sdk-extensions/ReportClient.test.ts +0 -828
  174. package/sdk-extensions/ReportClient.ts +0 -486
  175. package/sdk-extensions/SSEClient.d.ts +0 -62
  176. package/sdk-extensions/SSEClient.js +0 -154
  177. package/sdk-extensions/SSEClient.test.ts +0 -375
  178. package/sdk-extensions/SSEClient.ts +0 -210
  179. package/sdk-extensions/config.d.ts +0 -57
  180. package/sdk-extensions/config.js +0 -152
  181. package/sdk-extensions/config.test.ts +0 -199
  182. package/sdk-extensions/config.ts +0 -175
  183. package/sdk-extensions/hooks.d.ts +0 -110
  184. package/sdk-extensions/hooks.js +0 -384
  185. package/sdk-extensions/hooks.test.ts +0 -373
  186. package/sdk-extensions/hooks.ts +0 -459
  187. package/sdk-extensions/index.d.ts +0 -63
  188. package/sdk-extensions/index.js +0 -164
  189. package/sdk-extensions/index.test.ts +0 -420
  190. package/sdk-extensions/index.ts +0 -203
@@ -0,0 +1,4491 @@
1
+ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'
2
+ export type Maybe<T> = T | null
3
+ export type InputMaybe<T> = Maybe<T>
4
+ export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
5
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }
6
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }
7
+ export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = {
8
+ [_ in K]?: never
9
+ }
10
+ export type Incremental<T> =
11
+ | T
12
+ | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
13
+ /** All built-in and custom scalars, mapped to their actual values */
14
+ export type Scalars = {
15
+ ID: { input: string; output: string }
16
+ String: { input: string; output: string }
17
+ Boolean: { input: boolean; output: boolean }
18
+ Int: { input: number; output: number }
19
+ Float: { input: number; output: number }
20
+ Date: { input: any; output: any }
21
+ DateTime: { input: any; output: any }
22
+ JSON: { input: any; output: any }
23
+ }
24
+
25
+ export type Account = {
26
+ accountType: Maybe<Scalars['String']['output']>
27
+ balanceType: Scalars['String']['output']
28
+ classification: Scalars['String']['output']
29
+ code: Maybe<Scalars['String']['output']>
30
+ currency: Scalars['String']['output']
31
+ depth: Scalars['Int']['output']
32
+ description: Maybe<Scalars['String']['output']>
33
+ externalId: Maybe<Scalars['String']['output']>
34
+ externalSource: Maybe<Scalars['String']['output']>
35
+ id: Scalars['String']['output']
36
+ isActive: Scalars['Boolean']['output']
37
+ isPlaceholder: Scalars['Boolean']['output']
38
+ name: Scalars['String']['output']
39
+ parentId: Maybe<Scalars['String']['output']>
40
+ subClassification: Maybe<Scalars['String']['output']>
41
+ }
42
+
43
+ export type AccountList = {
44
+ accounts: Array<Account>
45
+ pagination: PaginationInfo
46
+ }
47
+
48
+ export type AccountRollupGroup = {
49
+ accounts: Array<AccountRollupRow>
50
+ balanceType: Scalars['String']['output']
51
+ classification: Scalars['String']['output']
52
+ reportingElementId: Scalars['String']['output']
53
+ reportingName: Scalars['String']['output']
54
+ reportingQname: Scalars['String']['output']
55
+ total: Scalars['Float']['output']
56
+ }
57
+
58
+ export type AccountRollupRow = {
59
+ accountCode: Maybe<Scalars['String']['output']>
60
+ accountName: Scalars['String']['output']
61
+ elementId: Scalars['String']['output']
62
+ netBalance: Scalars['Float']['output']
63
+ totalCredits: Scalars['Float']['output']
64
+ totalDebits: Scalars['Float']['output']
65
+ }
66
+
67
+ export type AccountRollups = {
68
+ groups: Array<AccountRollupGroup>
69
+ mappingId: Scalars['String']['output']
70
+ mappingName: Scalars['String']['output']
71
+ totalMapped: Scalars['Int']['output']
72
+ totalUnmapped: Scalars['Int']['output']
73
+ }
74
+
75
+ export type AccountTree = {
76
+ roots: Array<AccountTreeNode>
77
+ totalAccounts: Scalars['Int']['output']
78
+ }
79
+
80
+ export type AccountTreeNode = {
81
+ accountType: Maybe<Scalars['String']['output']>
82
+ balanceType: Scalars['String']['output']
83
+ children: Array<AccountTreeNode>
84
+ classification: Scalars['String']['output']
85
+ code: Maybe<Scalars['String']['output']>
86
+ depth: Scalars['Int']['output']
87
+ id: Scalars['ID']['output']
88
+ isActive: Scalars['Boolean']['output']
89
+ name: Scalars['String']['output']
90
+ }
91
+
92
+ export type Association = {
93
+ approvedBy: Maybe<Scalars['String']['output']>
94
+ associationType: Scalars['String']['output']
95
+ confidence: Maybe<Scalars['Float']['output']>
96
+ fromElementId: Scalars['String']['output']
97
+ fromElementName: Maybe<Scalars['String']['output']>
98
+ fromElementQname: Maybe<Scalars['String']['output']>
99
+ id: Scalars['String']['output']
100
+ orderValue: Maybe<Scalars['Float']['output']>
101
+ structureId: Scalars['String']['output']
102
+ suggestedBy: Maybe<Scalars['String']['output']>
103
+ toElementId: Scalars['String']['output']
104
+ toElementName: Maybe<Scalars['String']['output']>
105
+ toElementQname: Maybe<Scalars['String']['output']>
106
+ weight: Maybe<Scalars['Float']['output']>
107
+ }
108
+
109
+ export type ClosingBookCategory = {
110
+ items: Array<ClosingBookItem>
111
+ label: Scalars['String']['output']
112
+ }
113
+
114
+ export type ClosingBookItem = {
115
+ id: Scalars['String']['output']
116
+ itemType: Scalars['String']['output']
117
+ name: Scalars['String']['output']
118
+ reportId: Maybe<Scalars['String']['output']>
119
+ status: Maybe<Scalars['String']['output']>
120
+ structureType: Maybe<Scalars['String']['output']>
121
+ }
122
+
123
+ export type ClosingBookStructures = {
124
+ categories: Array<ClosingBookCategory>
125
+ hasData: Scalars['Boolean']['output']
126
+ }
127
+
128
+ export type DraftEntry = {
129
+ /** True if total_debit == total_credit */
130
+ balanced: Scalars['Boolean']['output']
131
+ entryId: Scalars['String']['output']
132
+ lineItems: Array<DraftLineItem>
133
+ memo: Maybe<Scalars['String']['output']>
134
+ postingDate: Scalars['Date']['output']
135
+ /** Where the entry came from: 'ai_generated', 'manual_entry', etc. */
136
+ provenance: Maybe<Scalars['String']['output']>
137
+ /** Schedule structure that generated this entry (if any) */
138
+ sourceStructureId: Maybe<Scalars['String']['output']>
139
+ /** Human-readable name of the source schedule */
140
+ sourceStructureName: Maybe<Scalars['String']['output']>
141
+ /** Sum of credit amounts in cents */
142
+ totalCredit: Scalars['Int']['output']
143
+ /** Sum of debit amounts in cents */
144
+ totalDebit: Scalars['Int']['output']
145
+ /** Entry type (e.g., 'closing', 'adjusting') */
146
+ type: Scalars['String']['output']
147
+ }
148
+
149
+ export type DraftLineItem = {
150
+ /** Credit amount in cents */
151
+ creditAmount: Scalars['Int']['output']
152
+ /** Debit amount in cents */
153
+ debitAmount: Scalars['Int']['output']
154
+ description: Maybe<Scalars['String']['output']>
155
+ elementCode: Maybe<Scalars['String']['output']>
156
+ elementId: Scalars['String']['output']
157
+ elementName: Scalars['String']['output']
158
+ lineItemId: Scalars['String']['output']
159
+ }
160
+
161
+ export type Element = {
162
+ balanceType: Scalars['String']['output']
163
+ classification: Scalars['String']['output']
164
+ code: Maybe<Scalars['String']['output']>
165
+ depth: Scalars['Int']['output']
166
+ description: Maybe<Scalars['String']['output']>
167
+ elementType: Scalars['String']['output']
168
+ externalId: Maybe<Scalars['String']['output']>
169
+ externalSource: Maybe<Scalars['String']['output']>
170
+ id: Scalars['String']['output']
171
+ isAbstract: Scalars['Boolean']['output']
172
+ isActive: Scalars['Boolean']['output']
173
+ name: Scalars['String']['output']
174
+ namespace: Maybe<Scalars['String']['output']>
175
+ parentId: Maybe<Scalars['String']['output']>
176
+ periodType: Scalars['String']['output']
177
+ qname: Maybe<Scalars['String']['output']>
178
+ source: Scalars['String']['output']
179
+ subClassification: Maybe<Scalars['String']['output']>
180
+ taxonomyId: Maybe<Scalars['String']['output']>
181
+ }
182
+
183
+ export type ElementList = {
184
+ elements: Array<Element>
185
+ pagination: PaginationInfo
186
+ }
187
+
188
+ export type FactRow = {
189
+ classification: Scalars['String']['output']
190
+ depth: Scalars['Int']['output']
191
+ elementId: Scalars['String']['output']
192
+ elementName: Scalars['String']['output']
193
+ elementQname: Scalars['String']['output']
194
+ isSubtotal: Scalars['Boolean']['output']
195
+ values: Array<Maybe<Scalars['Float']['output']>>
196
+ }
197
+
198
+ export type FiscalCalendar = {
199
+ /** Structured blocker codes when closeable_now is False: 'sequence_violation', 'period_incomplete', 'sync_stale', 'calendar_not_initialized', 'period_already_closed' */
200
+ blockers: Array<Scalars['String']['output']>
201
+ /** Ordered list of periods that a close run would process */
202
+ catchUpSequence: Array<Scalars['String']['output']>
203
+ /** Target period the user wants closed through (YYYY-MM) */
204
+ closeTarget: Maybe<Scalars['String']['output']>
205
+ /** Whether the next period in the catch-up sequence passes all closeable gates */
206
+ closeableNow: Scalars['Boolean']['output']
207
+ /** Latest closed period (YYYY-MM), or null if nothing closed */
208
+ closedThrough: Maybe<Scalars['String']['output']>
209
+ fiscalYearStartMonth: Scalars['Int']['output']
210
+ /** Number of periods between closed_through and close_target (inclusive of close_target). 0 means caught up. */
211
+ gapPeriods: Scalars['Int']['output']
212
+ graphId: Scalars['String']['output']
213
+ initializedAt: Maybe<Scalars['DateTime']['output']>
214
+ lastCloseAt: Maybe<Scalars['DateTime']['output']>
215
+ /** Most recent QB sync timestamp (if connected) */
216
+ lastSyncAt: Maybe<Scalars['DateTime']['output']>
217
+ /** Fiscal period rows for this graph */
218
+ periods: Array<FiscalPeriodSummary>
219
+ }
220
+
221
+ export type FiscalPeriodSummary = {
222
+ closedAt: Maybe<Scalars['DateTime']['output']>
223
+ endDate: Scalars['Date']['output']
224
+ /** Period name (YYYY-MM) */
225
+ name: Scalars['String']['output']
226
+ startDate: Scalars['Date']['output']
227
+ /** 'open' | 'closing' | 'closed' */
228
+ status: Scalars['String']['output']
229
+ }
230
+
231
+ export type Holding = {
232
+ entityId: Scalars['String']['output']
233
+ entityName: Scalars['String']['output']
234
+ positionCount: Scalars['Int']['output']
235
+ securities: Array<HoldingSecuritySummary>
236
+ sourceGraphId: Maybe<Scalars['String']['output']>
237
+ totalCostBasisDollars: Scalars['Float']['output']
238
+ totalCurrentValueDollars: Maybe<Scalars['Float']['output']>
239
+ }
240
+
241
+ export type HoldingSecuritySummary = {
242
+ costBasisDollars: Scalars['Float']['output']
243
+ currentValueDollars: Maybe<Scalars['Float']['output']>
244
+ quantity: Scalars['Float']['output']
245
+ quantityType: Scalars['String']['output']
246
+ securityId: Scalars['String']['output']
247
+ securityName: Scalars['String']['output']
248
+ securityType: Scalars['String']['output']
249
+ }
250
+
251
+ export type HoldingsList = {
252
+ holdings: Array<Holding>
253
+ totalEntities: Scalars['Int']['output']
254
+ totalPositions: Scalars['Int']['output']
255
+ }
256
+
257
+ export type LedgerEntity = {
258
+ addressCity: Maybe<Scalars['String']['output']>
259
+ addressCountry: Maybe<Scalars['String']['output']>
260
+ addressLine1: Maybe<Scalars['String']['output']>
261
+ addressPostalCode: Maybe<Scalars['String']['output']>
262
+ addressState: Maybe<Scalars['String']['output']>
263
+ category: Maybe<Scalars['String']['output']>
264
+ cik: Maybe<Scalars['String']['output']>
265
+ connectionId: Maybe<Scalars['String']['output']>
266
+ createdAt: Maybe<Scalars['String']['output']>
267
+ entityType: Maybe<Scalars['String']['output']>
268
+ exchange: Maybe<Scalars['String']['output']>
269
+ fiscalYearEnd: Maybe<Scalars['String']['output']>
270
+ id: Scalars['String']['output']
271
+ industry: Maybe<Scalars['String']['output']>
272
+ isParent: Scalars['Boolean']['output']
273
+ legalName: Maybe<Scalars['String']['output']>
274
+ lei: Maybe<Scalars['String']['output']>
275
+ name: Scalars['String']['output']
276
+ parentEntityId: Maybe<Scalars['String']['output']>
277
+ phone: Maybe<Scalars['String']['output']>
278
+ sic: Maybe<Scalars['String']['output']>
279
+ sicDescription: Maybe<Scalars['String']['output']>
280
+ source: Scalars['String']['output']
281
+ sourceGraphId: Maybe<Scalars['String']['output']>
282
+ sourceId: Maybe<Scalars['String']['output']>
283
+ stateOfIncorporation: Maybe<Scalars['String']['output']>
284
+ status: Scalars['String']['output']
285
+ taxId: Maybe<Scalars['String']['output']>
286
+ ticker: Maybe<Scalars['String']['output']>
287
+ updatedAt: Maybe<Scalars['String']['output']>
288
+ uri: Maybe<Scalars['String']['output']>
289
+ website: Maybe<Scalars['String']['output']>
290
+ }
291
+
292
+ export type LedgerEntry = {
293
+ id: Scalars['String']['output']
294
+ lineItems: Array<LedgerLineItem>
295
+ memo: Maybe<Scalars['String']['output']>
296
+ number: Maybe<Scalars['String']['output']>
297
+ postedAt: Maybe<Scalars['DateTime']['output']>
298
+ postingDate: Scalars['Date']['output']
299
+ status: Scalars['String']['output']
300
+ type: Scalars['String']['output']
301
+ }
302
+
303
+ export type LedgerLineItem = {
304
+ accountCode: Maybe<Scalars['String']['output']>
305
+ accountId: Scalars['String']['output']
306
+ accountName: Maybe<Scalars['String']['output']>
307
+ creditAmount: Scalars['Float']['output']
308
+ debitAmount: Scalars['Float']['output']
309
+ description: Maybe<Scalars['String']['output']>
310
+ id: Scalars['String']['output']
311
+ lineOrder: Scalars['Int']['output']
312
+ }
313
+
314
+ export type LedgerSummary = {
315
+ accountCount: Scalars['Int']['output']
316
+ connectionCount: Scalars['Int']['output']
317
+ earliestTransactionDate: Maybe<Scalars['Date']['output']>
318
+ entryCount: Scalars['Int']['output']
319
+ graphId: Scalars['String']['output']
320
+ lastSyncAt: Maybe<Scalars['DateTime']['output']>
321
+ latestTransactionDate: Maybe<Scalars['Date']['output']>
322
+ lineItemCount: Scalars['Int']['output']
323
+ transactionCount: Scalars['Int']['output']
324
+ }
325
+
326
+ export type LedgerTransactionDetail = {
327
+ amount: Scalars['Float']['output']
328
+ category: Maybe<Scalars['String']['output']>
329
+ currency: Scalars['String']['output']
330
+ date: Scalars['Date']['output']
331
+ description: Maybe<Scalars['String']['output']>
332
+ dueDate: Maybe<Scalars['Date']['output']>
333
+ entries: Array<LedgerEntry>
334
+ id: Scalars['String']['output']
335
+ merchantName: Maybe<Scalars['String']['output']>
336
+ number: Maybe<Scalars['String']['output']>
337
+ postedAt: Maybe<Scalars['DateTime']['output']>
338
+ referenceNumber: Maybe<Scalars['String']['output']>
339
+ source: Scalars['String']['output']
340
+ sourceId: Maybe<Scalars['String']['output']>
341
+ status: Scalars['String']['output']
342
+ type: Scalars['String']['output']
343
+ }
344
+
345
+ export type LedgerTransactionList = {
346
+ pagination: PaginationInfo
347
+ transactions: Array<LedgerTransactionSummary>
348
+ }
349
+
350
+ export type LedgerTransactionSummary = {
351
+ amount: Scalars['Float']['output']
352
+ category: Maybe<Scalars['String']['output']>
353
+ currency: Scalars['String']['output']
354
+ date: Scalars['Date']['output']
355
+ description: Maybe<Scalars['String']['output']>
356
+ dueDate: Maybe<Scalars['Date']['output']>
357
+ id: Scalars['String']['output']
358
+ merchantName: Maybe<Scalars['String']['output']>
359
+ number: Maybe<Scalars['String']['output']>
360
+ referenceNumber: Maybe<Scalars['String']['output']>
361
+ source: Scalars['String']['output']
362
+ status: Scalars['String']['output']
363
+ type: Scalars['String']['output']
364
+ }
365
+
366
+ export type MappedTrialBalance = {
367
+ mappingId: Scalars['String']['output']
368
+ rows: Array<MappedTrialBalanceRow>
369
+ }
370
+
371
+ export type MappedTrialBalanceRow = {
372
+ balanceType: Maybe<Scalars['String']['output']>
373
+ classification: Maybe<Scalars['String']['output']>
374
+ netBalance: Scalars['Float']['output']
375
+ qname: Scalars['String']['output']
376
+ reportingElementId: Scalars['String']['output']
377
+ reportingName: Scalars['String']['output']
378
+ totalCredits: Scalars['Float']['output']
379
+ totalDebits: Scalars['Float']['output']
380
+ }
381
+
382
+ export type MappingCoverage = {
383
+ coveragePercent: Scalars['Float']['output']
384
+ highConfidence: Scalars['Int']['output']
385
+ lowConfidence: Scalars['Int']['output']
386
+ mappedCount: Scalars['Int']['output']
387
+ mappingId: Scalars['String']['output']
388
+ mediumConfidence: Scalars['Int']['output']
389
+ totalCoaElements: Scalars['Int']['output']
390
+ unmappedCount: Scalars['Int']['output']
391
+ }
392
+
393
+ export type MappingDetail = {
394
+ associations: Array<Association>
395
+ id: Scalars['String']['output']
396
+ name: Scalars['String']['output']
397
+ structureType: Scalars['String']['output']
398
+ taxonomyId: Scalars['String']['output']
399
+ totalAssociations: Scalars['Int']['output']
400
+ }
401
+
402
+ export type PaginationInfo = {
403
+ /** Whether more items are available */
404
+ hasMore: Scalars['Boolean']['output']
405
+ /** Maximum number of items returned in this response */
406
+ limit: Scalars['Int']['output']
407
+ /** Number of items skipped */
408
+ offset: Scalars['Int']['output']
409
+ /** Total number of items available */
410
+ total: Scalars['Int']['output']
411
+ }
412
+
413
+ export type PeriodCloseItem = {
414
+ amount: Scalars['Float']['output']
415
+ entryId: Maybe<Scalars['String']['output']>
416
+ reversalEntryId: Maybe<Scalars['String']['output']>
417
+ reversalStatus: Maybe<Scalars['String']['output']>
418
+ status: Scalars['String']['output']
419
+ structureId: Scalars['String']['output']
420
+ structureName: Scalars['String']['output']
421
+ }
422
+
423
+ export type PeriodCloseStatus = {
424
+ fiscalPeriodEnd: Scalars['Date']['output']
425
+ fiscalPeriodStart: Scalars['Date']['output']
426
+ periodStatus: Scalars['String']['output']
427
+ schedules: Array<PeriodCloseItem>
428
+ totalDraft: Scalars['Int']['output']
429
+ totalPosted: Scalars['Int']['output']
430
+ }
431
+
432
+ export type PeriodDrafts = {
433
+ /** True if every draft entry has debit == credit */
434
+ allBalanced: Scalars['Boolean']['output']
435
+ draftCount: Scalars['Int']['output']
436
+ drafts: Array<DraftEntry>
437
+ /** YYYY-MM period name */
438
+ period: Scalars['String']['output']
439
+ periodEnd: Scalars['Date']['output']
440
+ periodStart: Scalars['Date']['output']
441
+ /** Sum across all drafts, in cents */
442
+ totalCredit: Scalars['Int']['output']
443
+ /** Sum across all drafts, in cents */
444
+ totalDebit: Scalars['Int']['output']
445
+ }
446
+
447
+ export type PeriodSpec = {
448
+ end: Scalars['Date']['output']
449
+ label: Scalars['String']['output']
450
+ start: Scalars['Date']['output']
451
+ }
452
+
453
+ export type Portfolio = {
454
+ baseCurrency: Scalars['String']['output']
455
+ createdAt: Scalars['DateTime']['output']
456
+ description: Maybe<Scalars['String']['output']>
457
+ id: Scalars['String']['output']
458
+ inceptionDate: Maybe<Scalars['Date']['output']>
459
+ name: Scalars['String']['output']
460
+ strategy: Maybe<Scalars['String']['output']>
461
+ updatedAt: Scalars['DateTime']['output']
462
+ }
463
+
464
+ export type PortfolioList = {
465
+ pagination: PaginationInfo
466
+ portfolios: Array<Portfolio>
467
+ }
468
+
469
+ export type Position = {
470
+ acquisitionDate: Maybe<Scalars['Date']['output']>
471
+ costBasis: Scalars['Int']['output']
472
+ costBasisDollars: Scalars['Float']['output']
473
+ createdAt: Scalars['DateTime']['output']
474
+ currency: Scalars['String']['output']
475
+ currentValue: Maybe<Scalars['Int']['output']>
476
+ currentValueDollars: Maybe<Scalars['Float']['output']>
477
+ dispositionDate: Maybe<Scalars['Date']['output']>
478
+ entityName: Maybe<Scalars['String']['output']>
479
+ id: Scalars['String']['output']
480
+ notes: Maybe<Scalars['String']['output']>
481
+ portfolioId: Scalars['String']['output']
482
+ quantity: Scalars['Float']['output']
483
+ quantityType: Scalars['String']['output']
484
+ securityId: Scalars['String']['output']
485
+ securityName: Maybe<Scalars['String']['output']>
486
+ status: Scalars['String']['output']
487
+ updatedAt: Scalars['DateTime']['output']
488
+ valuationDate: Maybe<Scalars['Date']['output']>
489
+ valuationSource: Maybe<Scalars['String']['output']>
490
+ }
491
+
492
+ export type PositionList = {
493
+ pagination: PaginationInfo
494
+ positions: Array<Position>
495
+ }
496
+
497
+ export type PublishList = {
498
+ createdAt: Scalars['DateTime']['output']
499
+ createdBy: Scalars['String']['output']
500
+ description: Maybe<Scalars['String']['output']>
501
+ id: Scalars['String']['output']
502
+ memberCount: Scalars['Int']['output']
503
+ name: Scalars['String']['output']
504
+ updatedAt: Scalars['DateTime']['output']
505
+ }
506
+
507
+ export type PublishListDetail = {
508
+ createdAt: Scalars['DateTime']['output']
509
+ createdBy: Scalars['String']['output']
510
+ description: Maybe<Scalars['String']['output']>
511
+ id: Scalars['String']['output']
512
+ memberCount: Scalars['Int']['output']
513
+ members: Array<PublishListMember>
514
+ name: Scalars['String']['output']
515
+ updatedAt: Scalars['DateTime']['output']
516
+ }
517
+
518
+ export type PublishListList = {
519
+ pagination: PaginationInfo
520
+ publishLists: Array<PublishList>
521
+ }
522
+
523
+ export type PublishListMember = {
524
+ addedAt: Scalars['DateTime']['output']
525
+ addedBy: Scalars['String']['output']
526
+ id: Scalars['String']['output']
527
+ targetGraphId: Scalars['String']['output']
528
+ targetGraphName: Maybe<Scalars['String']['output']>
529
+ targetOrgName: Maybe<Scalars['String']['output']>
530
+ }
531
+
532
+ export type Query = {
533
+ accountRollups: Maybe<AccountRollups>
534
+ accountTree: Maybe<AccountTree>
535
+ accounts: Maybe<AccountList>
536
+ closingBookStructures: Maybe<ClosingBookStructures>
537
+ elements: Maybe<ElementList>
538
+ entities: Array<LedgerEntity>
539
+ entity: Maybe<LedgerEntity>
540
+ fiscalCalendar: Maybe<FiscalCalendar>
541
+ hello: Scalars['String']['output']
542
+ holdings: Maybe<HoldingsList>
543
+ mappedTrialBalance: Maybe<MappedTrialBalance>
544
+ mapping: Maybe<MappingDetail>
545
+ mappingCoverage: Maybe<MappingCoverage>
546
+ mappings: Maybe<StructureList>
547
+ periodCloseStatus: Maybe<PeriodCloseStatus>
548
+ periodDrafts: Maybe<PeriodDrafts>
549
+ portfolio: Maybe<Portfolio>
550
+ portfolios: Maybe<PortfolioList>
551
+ position: Maybe<Position>
552
+ positions: Maybe<PositionList>
553
+ publishList: Maybe<PublishListDetail>
554
+ publishLists: Maybe<PublishListList>
555
+ report: Maybe<Report>
556
+ reportingTaxonomy: Maybe<Taxonomy>
557
+ reports: Maybe<ReportList>
558
+ scheduleFacts: Maybe<ScheduleFacts>
559
+ schedules: Maybe<ScheduleList>
560
+ securities: Maybe<SecurityList>
561
+ security: Maybe<Security>
562
+ statement: Maybe<Statement>
563
+ structures: Maybe<StructureList>
564
+ summary: Maybe<LedgerSummary>
565
+ taxonomies: Maybe<TaxonomyList>
566
+ transaction: Maybe<LedgerTransactionDetail>
567
+ transactions: Maybe<LedgerTransactionList>
568
+ trialBalance: Maybe<TrialBalance>
569
+ unmappedElements: Array<UnmappedElement>
570
+ }
571
+
572
+ export type QueryAccountRollupsArgs = {
573
+ endDate?: InputMaybe<Scalars['Date']['input']>
574
+ mappingId?: InputMaybe<Scalars['String']['input']>
575
+ startDate?: InputMaybe<Scalars['Date']['input']>
576
+ }
577
+
578
+ export type QueryAccountsArgs = {
579
+ classification?: InputMaybe<Scalars['String']['input']>
580
+ isActive?: InputMaybe<Scalars['Boolean']['input']>
581
+ limit?: Scalars['Int']['input']
582
+ offset?: Scalars['Int']['input']
583
+ }
584
+
585
+ export type QueryElementsArgs = {
586
+ classification?: InputMaybe<Scalars['String']['input']>
587
+ isAbstract?: InputMaybe<Scalars['Boolean']['input']>
588
+ limit?: Scalars['Int']['input']
589
+ offset?: Scalars['Int']['input']
590
+ source?: InputMaybe<Scalars['String']['input']>
591
+ taxonomyId?: InputMaybe<Scalars['String']['input']>
592
+ }
593
+
594
+ export type QueryEntitiesArgs = {
595
+ source?: InputMaybe<Scalars['String']['input']>
596
+ }
597
+
598
+ export type QueryHoldingsArgs = {
599
+ portfolioId: Scalars['String']['input']
600
+ }
601
+
602
+ export type QueryMappedTrialBalanceArgs = {
603
+ endDate?: InputMaybe<Scalars['Date']['input']>
604
+ mappingId: Scalars['String']['input']
605
+ startDate?: InputMaybe<Scalars['Date']['input']>
606
+ }
607
+
608
+ export type QueryMappingArgs = {
609
+ mappingId: Scalars['String']['input']
610
+ }
611
+
612
+ export type QueryMappingCoverageArgs = {
613
+ mappingId: Scalars['String']['input']
614
+ }
615
+
616
+ export type QueryPeriodCloseStatusArgs = {
617
+ periodEnd: Scalars['Date']['input']
618
+ periodStart: Scalars['Date']['input']
619
+ }
620
+
621
+ export type QueryPeriodDraftsArgs = {
622
+ period: Scalars['String']['input']
623
+ }
624
+
625
+ export type QueryPortfolioArgs = {
626
+ portfolioId: Scalars['String']['input']
627
+ }
628
+
629
+ export type QueryPortfoliosArgs = {
630
+ limit?: Scalars['Int']['input']
631
+ offset?: Scalars['Int']['input']
632
+ }
633
+
634
+ export type QueryPositionArgs = {
635
+ positionId: Scalars['String']['input']
636
+ }
637
+
638
+ export type QueryPositionsArgs = {
639
+ limit?: Scalars['Int']['input']
640
+ offset?: Scalars['Int']['input']
641
+ portfolioId?: InputMaybe<Scalars['String']['input']>
642
+ securityId?: InputMaybe<Scalars['String']['input']>
643
+ status?: InputMaybe<Scalars['String']['input']>
644
+ }
645
+
646
+ export type QueryPublishListArgs = {
647
+ listId: Scalars['String']['input']
648
+ }
649
+
650
+ export type QueryPublishListsArgs = {
651
+ limit?: Scalars['Int']['input']
652
+ offset?: Scalars['Int']['input']
653
+ }
654
+
655
+ export type QueryReportArgs = {
656
+ reportId: Scalars['String']['input']
657
+ }
658
+
659
+ export type QueryScheduleFactsArgs = {
660
+ periodEnd?: InputMaybe<Scalars['Date']['input']>
661
+ periodStart?: InputMaybe<Scalars['Date']['input']>
662
+ structureId: Scalars['String']['input']
663
+ }
664
+
665
+ export type QuerySecuritiesArgs = {
666
+ entityId?: InputMaybe<Scalars['String']['input']>
667
+ isActive?: InputMaybe<Scalars['Boolean']['input']>
668
+ limit?: Scalars['Int']['input']
669
+ offset?: Scalars['Int']['input']
670
+ securityType?: InputMaybe<Scalars['String']['input']>
671
+ }
672
+
673
+ export type QuerySecurityArgs = {
674
+ securityId: Scalars['String']['input']
675
+ }
676
+
677
+ export type QueryStatementArgs = {
678
+ reportId: Scalars['String']['input']
679
+ structureType: Scalars['String']['input']
680
+ }
681
+
682
+ export type QueryStructuresArgs = {
683
+ structureType?: InputMaybe<Scalars['String']['input']>
684
+ taxonomyId?: InputMaybe<Scalars['String']['input']>
685
+ }
686
+
687
+ export type QueryTaxonomiesArgs = {
688
+ taxonomyType?: InputMaybe<Scalars['String']['input']>
689
+ }
690
+
691
+ export type QueryTransactionArgs = {
692
+ transactionId: Scalars['String']['input']
693
+ }
694
+
695
+ export type QueryTransactionsArgs = {
696
+ endDate?: InputMaybe<Scalars['Date']['input']>
697
+ limit?: Scalars['Int']['input']
698
+ offset?: Scalars['Int']['input']
699
+ startDate?: InputMaybe<Scalars['Date']['input']>
700
+ type?: InputMaybe<Scalars['String']['input']>
701
+ }
702
+
703
+ export type QueryTrialBalanceArgs = {
704
+ endDate?: InputMaybe<Scalars['Date']['input']>
705
+ startDate?: InputMaybe<Scalars['Date']['input']>
706
+ }
707
+
708
+ export type QueryUnmappedElementsArgs = {
709
+ mappingId?: InputMaybe<Scalars['String']['input']>
710
+ }
711
+
712
+ export type Report = {
713
+ aiGenerated: Scalars['Boolean']['output']
714
+ comparative: Scalars['Boolean']['output']
715
+ createdAt: Scalars['DateTime']['output']
716
+ entityName: Maybe<Scalars['String']['output']>
717
+ generationStatus: Scalars['String']['output']
718
+ id: Scalars['String']['output']
719
+ lastGenerated: Maybe<Scalars['DateTime']['output']>
720
+ mappingId: Maybe<Scalars['String']['output']>
721
+ name: Scalars['String']['output']
722
+ periodEnd: Maybe<Scalars['Date']['output']>
723
+ periodStart: Maybe<Scalars['Date']['output']>
724
+ periodType: Scalars['String']['output']
725
+ periods: Maybe<Array<PeriodSpec>>
726
+ sharedAt: Maybe<Scalars['DateTime']['output']>
727
+ sourceGraphId: Maybe<Scalars['String']['output']>
728
+ sourceReportId: Maybe<Scalars['String']['output']>
729
+ structures: Array<StructureSummary>
730
+ taxonomyId: Scalars['String']['output']
731
+ }
732
+
733
+ export type ReportList = {
734
+ reports: Array<Report>
735
+ }
736
+
737
+ export type ScheduleFact = {
738
+ elementId: Scalars['String']['output']
739
+ elementName: Scalars['String']['output']
740
+ periodEnd: Scalars['Date']['output']
741
+ periodStart: Scalars['Date']['output']
742
+ value: Scalars['Float']['output']
743
+ }
744
+
745
+ export type ScheduleFacts = {
746
+ facts: Array<ScheduleFact>
747
+ structureId: Scalars['String']['output']
748
+ }
749
+
750
+ export type ScheduleList = {
751
+ schedules: Array<ScheduleSummary>
752
+ }
753
+
754
+ export type ScheduleSummary = {
755
+ entryTemplate: Maybe<Scalars['JSON']['output']>
756
+ name: Scalars['String']['output']
757
+ periodsWithEntries: Scalars['Int']['output']
758
+ scheduleMetadata: Maybe<Scalars['JSON']['output']>
759
+ structureId: Scalars['ID']['output']
760
+ taxonomyName: Scalars['String']['output']
761
+ totalPeriods: Scalars['Int']['output']
762
+ }
763
+
764
+ export type Security = {
765
+ authorizedShares: Maybe<Scalars['Int']['output']>
766
+ createdAt: Scalars['DateTime']['output']
767
+ entityId: Maybe<Scalars['String']['output']>
768
+ entityName: Maybe<Scalars['String']['output']>
769
+ id: Scalars['ID']['output']
770
+ isActive: Scalars['Boolean']['output']
771
+ name: Scalars['String']['output']
772
+ outstandingShares: Maybe<Scalars['Int']['output']>
773
+ securitySubtype: Maybe<Scalars['String']['output']>
774
+ securityType: Scalars['String']['output']
775
+ sourceGraphId: Maybe<Scalars['String']['output']>
776
+ terms: Scalars['JSON']['output']
777
+ updatedAt: Scalars['DateTime']['output']
778
+ }
779
+
780
+ export type SecurityList = {
781
+ pagination: PaginationInfo
782
+ securities: Array<Security>
783
+ }
784
+
785
+ export type Statement = {
786
+ periods: Array<PeriodSpec>
787
+ reportId: Scalars['String']['output']
788
+ rows: Array<FactRow>
789
+ structureId: Scalars['String']['output']
790
+ structureName: Scalars['String']['output']
791
+ structureType: Scalars['String']['output']
792
+ unmappedCount: Scalars['Int']['output']
793
+ validation: Maybe<ValidationCheck>
794
+ }
795
+
796
+ export type Structure = {
797
+ description: Maybe<Scalars['String']['output']>
798
+ id: Scalars['String']['output']
799
+ isActive: Scalars['Boolean']['output']
800
+ name: Scalars['String']['output']
801
+ structureType: Scalars['String']['output']
802
+ taxonomyId: Scalars['String']['output']
803
+ }
804
+
805
+ export type StructureList = {
806
+ structures: Array<Structure>
807
+ }
808
+
809
+ export type StructureSummary = {
810
+ id: Scalars['String']['output']
811
+ name: Scalars['String']['output']
812
+ structureType: Scalars['String']['output']
813
+ }
814
+
815
+ export type SuggestedTarget = {
816
+ confidence: Maybe<Scalars['Float']['output']>
817
+ elementId: Scalars['String']['output']
818
+ name: Scalars['String']['output']
819
+ qname: Scalars['String']['output']
820
+ }
821
+
822
+ export type Taxonomy = {
823
+ description: Maybe<Scalars['String']['output']>
824
+ id: Scalars['String']['output']
825
+ isActive: Scalars['Boolean']['output']
826
+ isLocked: Scalars['Boolean']['output']
827
+ isShared: Scalars['Boolean']['output']
828
+ name: Scalars['String']['output']
829
+ namespaceUri: Maybe<Scalars['String']['output']>
830
+ sourceTaxonomyId: Maybe<Scalars['String']['output']>
831
+ standard: Maybe<Scalars['String']['output']>
832
+ targetTaxonomyId: Maybe<Scalars['String']['output']>
833
+ taxonomyType: Scalars['String']['output']
834
+ version: Maybe<Scalars['String']['output']>
835
+ }
836
+
837
+ export type TaxonomyList = {
838
+ taxonomies: Array<Taxonomy>
839
+ }
840
+
841
+ export type TrialBalance = {
842
+ rows: Array<TrialBalanceRow>
843
+ totalCredits: Scalars['Float']['output']
844
+ totalDebits: Scalars['Float']['output']
845
+ }
846
+
847
+ export type TrialBalanceRow = {
848
+ accountCode: Scalars['String']['output']
849
+ accountId: Scalars['String']['output']
850
+ accountName: Scalars['String']['output']
851
+ accountType: Maybe<Scalars['String']['output']>
852
+ classification: Scalars['String']['output']
853
+ netBalance: Scalars['Float']['output']
854
+ totalCredits: Scalars['Float']['output']
855
+ totalDebits: Scalars['Float']['output']
856
+ }
857
+
858
+ export type UnmappedElement = {
859
+ balanceType: Scalars['String']['output']
860
+ classification: Scalars['String']['output']
861
+ code: Maybe<Scalars['String']['output']>
862
+ externalSource: Maybe<Scalars['String']['output']>
863
+ id: Scalars['String']['output']
864
+ name: Scalars['String']['output']
865
+ suggestedTargets: Array<SuggestedTarget>
866
+ }
867
+
868
+ export type ValidationCheck = {
869
+ checks: Array<Scalars['String']['output']>
870
+ failures: Array<Scalars['String']['output']>
871
+ passed: Scalars['Boolean']['output']
872
+ warnings: Array<Scalars['String']['output']>
873
+ }
874
+
875
+ export type GetInvestorHoldingsQueryVariables = Exact<{
876
+ portfolioId: Scalars['String']['input']
877
+ }>
878
+
879
+ export type GetInvestorHoldingsQuery = {
880
+ holdings: {
881
+ totalEntities: number
882
+ totalPositions: number
883
+ holdings: Array<{
884
+ entityId: string
885
+ entityName: string
886
+ sourceGraphId: string | null
887
+ totalCostBasisDollars: number
888
+ totalCurrentValueDollars: number | null
889
+ positionCount: number
890
+ securities: Array<{
891
+ securityId: string
892
+ securityName: string
893
+ securityType: string
894
+ quantity: number
895
+ quantityType: string
896
+ costBasisDollars: number
897
+ currentValueDollars: number | null
898
+ }>
899
+ }>
900
+ } | null
901
+ }
902
+
903
+ export type GetInvestorPortfolioQueryVariables = Exact<{
904
+ portfolioId: Scalars['String']['input']
905
+ }>
906
+
907
+ export type GetInvestorPortfolioQuery = {
908
+ portfolio: {
909
+ id: string
910
+ name: string
911
+ description: string | null
912
+ strategy: string | null
913
+ inceptionDate: any | null
914
+ baseCurrency: string
915
+ createdAt: any
916
+ updatedAt: any
917
+ } | null
918
+ }
919
+
920
+ export type ListInvestorPortfoliosQueryVariables = Exact<{
921
+ limit?: Scalars['Int']['input']
922
+ offset?: Scalars['Int']['input']
923
+ }>
924
+
925
+ export type ListInvestorPortfoliosQuery = {
926
+ portfolios: {
927
+ portfolios: Array<{
928
+ id: string
929
+ name: string
930
+ description: string | null
931
+ strategy: string | null
932
+ inceptionDate: any | null
933
+ baseCurrency: string
934
+ createdAt: any
935
+ updatedAt: any
936
+ }>
937
+ pagination: { total: number; limit: number; offset: number; hasMore: boolean }
938
+ } | null
939
+ }
940
+
941
+ export type GetInvestorPositionQueryVariables = Exact<{
942
+ positionId: Scalars['String']['input']
943
+ }>
944
+
945
+ export type GetInvestorPositionQuery = {
946
+ position: {
947
+ id: string
948
+ portfolioId: string
949
+ securityId: string
950
+ securityName: string | null
951
+ entityName: string | null
952
+ quantity: number
953
+ quantityType: string
954
+ costBasis: number
955
+ costBasisDollars: number
956
+ currency: string
957
+ currentValue: number | null
958
+ currentValueDollars: number | null
959
+ valuationDate: any | null
960
+ valuationSource: string | null
961
+ acquisitionDate: any | null
962
+ dispositionDate: any | null
963
+ status: string
964
+ notes: string | null
965
+ createdAt: any
966
+ updatedAt: any
967
+ } | null
968
+ }
969
+
970
+ export type ListInvestorPositionsQueryVariables = Exact<{
971
+ portfolioId: InputMaybe<Scalars['String']['input']>
972
+ securityId: InputMaybe<Scalars['String']['input']>
973
+ status: InputMaybe<Scalars['String']['input']>
974
+ limit?: Scalars['Int']['input']
975
+ offset?: Scalars['Int']['input']
976
+ }>
977
+
978
+ export type ListInvestorPositionsQuery = {
979
+ positions: {
980
+ positions: Array<{
981
+ id: string
982
+ portfolioId: string
983
+ securityId: string
984
+ securityName: string | null
985
+ entityName: string | null
986
+ quantity: number
987
+ quantityType: string
988
+ costBasis: number
989
+ costBasisDollars: number
990
+ currency: string
991
+ currentValue: number | null
992
+ currentValueDollars: number | null
993
+ valuationDate: any | null
994
+ valuationSource: string | null
995
+ acquisitionDate: any | null
996
+ dispositionDate: any | null
997
+ status: string
998
+ notes: string | null
999
+ createdAt: any
1000
+ updatedAt: any
1001
+ }>
1002
+ pagination: { total: number; limit: number; offset: number; hasMore: boolean }
1003
+ } | null
1004
+ }
1005
+
1006
+ export type ListInvestorSecuritiesQueryVariables = Exact<{
1007
+ entityId: InputMaybe<Scalars['String']['input']>
1008
+ securityType: InputMaybe<Scalars['String']['input']>
1009
+ isActive: InputMaybe<Scalars['Boolean']['input']>
1010
+ limit?: Scalars['Int']['input']
1011
+ offset?: Scalars['Int']['input']
1012
+ }>
1013
+
1014
+ export type ListInvestorSecuritiesQuery = {
1015
+ securities: {
1016
+ securities: Array<{
1017
+ id: string
1018
+ entityId: string | null
1019
+ entityName: string | null
1020
+ sourceGraphId: string | null
1021
+ name: string
1022
+ securityType: string
1023
+ securitySubtype: string | null
1024
+ terms: any
1025
+ isActive: boolean
1026
+ authorizedShares: number | null
1027
+ outstandingShares: number | null
1028
+ createdAt: any
1029
+ updatedAt: any
1030
+ }>
1031
+ pagination: { total: number; limit: number; offset: number; hasMore: boolean }
1032
+ } | null
1033
+ }
1034
+
1035
+ export type GetInvestorSecurityQueryVariables = Exact<{
1036
+ securityId: Scalars['String']['input']
1037
+ }>
1038
+
1039
+ export type GetInvestorSecurityQuery = {
1040
+ security: {
1041
+ id: string
1042
+ entityId: string | null
1043
+ entityName: string | null
1044
+ sourceGraphId: string | null
1045
+ name: string
1046
+ securityType: string
1047
+ securitySubtype: string | null
1048
+ terms: any
1049
+ isActive: boolean
1050
+ authorizedShares: number | null
1051
+ outstandingShares: number | null
1052
+ createdAt: any
1053
+ updatedAt: any
1054
+ } | null
1055
+ }
1056
+
1057
+ export type GetLedgerAccountRollupsQueryVariables = Exact<{
1058
+ mappingId: InputMaybe<Scalars['String']['input']>
1059
+ startDate: InputMaybe<Scalars['Date']['input']>
1060
+ endDate: InputMaybe<Scalars['Date']['input']>
1061
+ }>
1062
+
1063
+ export type GetLedgerAccountRollupsQuery = {
1064
+ accountRollups: {
1065
+ mappingId: string
1066
+ mappingName: string
1067
+ totalMapped: number
1068
+ totalUnmapped: number
1069
+ groups: Array<{
1070
+ reportingElementId: string
1071
+ reportingName: string
1072
+ reportingQname: string
1073
+ classification: string
1074
+ balanceType: string
1075
+ total: number
1076
+ accounts: Array<{
1077
+ elementId: string
1078
+ accountName: string
1079
+ accountCode: string | null
1080
+ totalDebits: number
1081
+ totalCredits: number
1082
+ netBalance: number
1083
+ }>
1084
+ }>
1085
+ } | null
1086
+ }
1087
+
1088
+ export type GetLedgerAccountTreeQueryVariables = Exact<{ [key: string]: never }>
1089
+
1090
+ export type GetLedgerAccountTreeQuery = {
1091
+ accountTree: {
1092
+ totalAccounts: number
1093
+ roots: Array<{
1094
+ id: string
1095
+ code: string | null
1096
+ name: string
1097
+ classification: string
1098
+ accountType: string | null
1099
+ balanceType: string
1100
+ depth: number
1101
+ isActive: boolean
1102
+ children: Array<{
1103
+ id: string
1104
+ code: string | null
1105
+ name: string
1106
+ classification: string
1107
+ accountType: string | null
1108
+ balanceType: string
1109
+ depth: number
1110
+ isActive: boolean
1111
+ children: Array<{
1112
+ id: string
1113
+ code: string | null
1114
+ name: string
1115
+ classification: string
1116
+ accountType: string | null
1117
+ balanceType: string
1118
+ depth: number
1119
+ isActive: boolean
1120
+ children: Array<{
1121
+ id: string
1122
+ code: string | null
1123
+ name: string
1124
+ classification: string
1125
+ accountType: string | null
1126
+ balanceType: string
1127
+ depth: number
1128
+ isActive: boolean
1129
+ }>
1130
+ }>
1131
+ }>
1132
+ }>
1133
+ } | null
1134
+ }
1135
+
1136
+ export type ListLedgerAccountsQueryVariables = Exact<{
1137
+ classification: InputMaybe<Scalars['String']['input']>
1138
+ isActive: InputMaybe<Scalars['Boolean']['input']>
1139
+ limit?: Scalars['Int']['input']
1140
+ offset?: Scalars['Int']['input']
1141
+ }>
1142
+
1143
+ export type ListLedgerAccountsQuery = {
1144
+ accounts: {
1145
+ accounts: Array<{
1146
+ id: string
1147
+ code: string | null
1148
+ name: string
1149
+ description: string | null
1150
+ classification: string
1151
+ subClassification: string | null
1152
+ balanceType: string
1153
+ parentId: string | null
1154
+ depth: number
1155
+ currency: string
1156
+ isActive: boolean
1157
+ isPlaceholder: boolean
1158
+ accountType: string | null
1159
+ externalId: string | null
1160
+ externalSource: string | null
1161
+ }>
1162
+ pagination: { total: number; limit: number; offset: number; hasMore: boolean }
1163
+ } | null
1164
+ }
1165
+
1166
+ export type GetLedgerClosingBookStructuresQueryVariables = Exact<{ [key: string]: never }>
1167
+
1168
+ export type GetLedgerClosingBookStructuresQuery = {
1169
+ closingBookStructures: {
1170
+ hasData: boolean
1171
+ categories: Array<{
1172
+ label: string
1173
+ items: Array<{
1174
+ id: string
1175
+ name: string
1176
+ itemType: string
1177
+ structureType: string | null
1178
+ reportId: string | null
1179
+ status: string | null
1180
+ }>
1181
+ }>
1182
+ } | null
1183
+ }
1184
+
1185
+ export type ListLedgerElementsQueryVariables = Exact<{
1186
+ taxonomyId: InputMaybe<Scalars['String']['input']>
1187
+ source: InputMaybe<Scalars['String']['input']>
1188
+ classification: InputMaybe<Scalars['String']['input']>
1189
+ isAbstract: InputMaybe<Scalars['Boolean']['input']>
1190
+ limit?: Scalars['Int']['input']
1191
+ offset?: Scalars['Int']['input']
1192
+ }>
1193
+
1194
+ export type ListLedgerElementsQuery = {
1195
+ elements: {
1196
+ elements: Array<{
1197
+ id: string
1198
+ code: string | null
1199
+ name: string
1200
+ description: string | null
1201
+ qname: string | null
1202
+ namespace: string | null
1203
+ classification: string
1204
+ subClassification: string | null
1205
+ balanceType: string
1206
+ periodType: string
1207
+ isAbstract: boolean
1208
+ elementType: string
1209
+ source: string
1210
+ taxonomyId: string | null
1211
+ parentId: string | null
1212
+ depth: number
1213
+ isActive: boolean
1214
+ externalId: string | null
1215
+ externalSource: string | null
1216
+ }>
1217
+ pagination: { total: number; limit: number; offset: number; hasMore: boolean }
1218
+ } | null
1219
+ }
1220
+
1221
+ export type ListLedgerEntitiesQueryVariables = Exact<{
1222
+ source: InputMaybe<Scalars['String']['input']>
1223
+ }>
1224
+
1225
+ export type ListLedgerEntitiesQuery = {
1226
+ entities: Array<{
1227
+ id: string
1228
+ name: string
1229
+ legalName: string | null
1230
+ ticker: string | null
1231
+ cik: string | null
1232
+ industry: string | null
1233
+ entityType: string | null
1234
+ status: string
1235
+ isParent: boolean
1236
+ parentEntityId: string | null
1237
+ source: string
1238
+ sourceGraphId: string | null
1239
+ connectionId: string | null
1240
+ createdAt: string | null
1241
+ updatedAt: string | null
1242
+ }>
1243
+ }
1244
+
1245
+ export type GetLedgerEntityQueryVariables = Exact<{ [key: string]: never }>
1246
+
1247
+ export type GetLedgerEntityQuery = {
1248
+ entity: {
1249
+ id: string
1250
+ name: string
1251
+ legalName: string | null
1252
+ uri: string | null
1253
+ cik: string | null
1254
+ ticker: string | null
1255
+ exchange: string | null
1256
+ sic: string | null
1257
+ sicDescription: string | null
1258
+ category: string | null
1259
+ stateOfIncorporation: string | null
1260
+ fiscalYearEnd: string | null
1261
+ taxId: string | null
1262
+ lei: string | null
1263
+ industry: string | null
1264
+ entityType: string | null
1265
+ phone: string | null
1266
+ website: string | null
1267
+ status: string
1268
+ isParent: boolean
1269
+ parentEntityId: string | null
1270
+ source: string
1271
+ sourceId: string | null
1272
+ sourceGraphId: string | null
1273
+ connectionId: string | null
1274
+ addressLine1: string | null
1275
+ addressCity: string | null
1276
+ addressState: string | null
1277
+ addressPostalCode: string | null
1278
+ addressCountry: string | null
1279
+ createdAt: string | null
1280
+ updatedAt: string | null
1281
+ } | null
1282
+ }
1283
+
1284
+ export type GetLedgerFiscalCalendarQueryVariables = Exact<{ [key: string]: never }>
1285
+
1286
+ export type GetLedgerFiscalCalendarQuery = {
1287
+ fiscalCalendar: {
1288
+ graphId: string
1289
+ fiscalYearStartMonth: number
1290
+ closedThrough: string | null
1291
+ closeTarget: string | null
1292
+ gapPeriods: number
1293
+ catchUpSequence: Array<string>
1294
+ closeableNow: boolean
1295
+ blockers: Array<string>
1296
+ lastCloseAt: any | null
1297
+ initializedAt: any | null
1298
+ lastSyncAt: any | null
1299
+ periods: Array<{
1300
+ name: string
1301
+ startDate: any
1302
+ endDate: any
1303
+ status: string
1304
+ closedAt: any | null
1305
+ }>
1306
+ } | null
1307
+ }
1308
+
1309
+ export type GetLedgerMappedTrialBalanceQueryVariables = Exact<{
1310
+ mappingId: Scalars['String']['input']
1311
+ startDate: InputMaybe<Scalars['Date']['input']>
1312
+ endDate: InputMaybe<Scalars['Date']['input']>
1313
+ }>
1314
+
1315
+ export type GetLedgerMappedTrialBalanceQuery = {
1316
+ mappedTrialBalance: {
1317
+ mappingId: string
1318
+ rows: Array<{
1319
+ reportingElementId: string
1320
+ qname: string
1321
+ reportingName: string
1322
+ classification: string | null
1323
+ balanceType: string | null
1324
+ totalDebits: number
1325
+ totalCredits: number
1326
+ netBalance: number
1327
+ }>
1328
+ } | null
1329
+ }
1330
+
1331
+ export type GetLedgerMappingQueryVariables = Exact<{
1332
+ mappingId: Scalars['String']['input']
1333
+ }>
1334
+
1335
+ export type GetLedgerMappingQuery = {
1336
+ mapping: {
1337
+ id: string
1338
+ name: string
1339
+ structureType: string
1340
+ taxonomyId: string
1341
+ totalAssociations: number
1342
+ associations: Array<{
1343
+ id: string
1344
+ structureId: string
1345
+ fromElementId: string
1346
+ fromElementName: string | null
1347
+ fromElementQname: string | null
1348
+ toElementId: string
1349
+ toElementName: string | null
1350
+ toElementQname: string | null
1351
+ associationType: string
1352
+ orderValue: number | null
1353
+ weight: number | null
1354
+ confidence: number | null
1355
+ suggestedBy: string | null
1356
+ approvedBy: string | null
1357
+ }>
1358
+ } | null
1359
+ }
1360
+
1361
+ export type GetLedgerMappingCoverageQueryVariables = Exact<{
1362
+ mappingId: Scalars['String']['input']
1363
+ }>
1364
+
1365
+ export type GetLedgerMappingCoverageQuery = {
1366
+ mappingCoverage: {
1367
+ mappingId: string
1368
+ totalCoaElements: number
1369
+ mappedCount: number
1370
+ unmappedCount: number
1371
+ coveragePercent: number
1372
+ highConfidence: number
1373
+ mediumConfidence: number
1374
+ lowConfidence: number
1375
+ } | null
1376
+ }
1377
+
1378
+ export type ListLedgerMappingsQueryVariables = Exact<{ [key: string]: never }>
1379
+
1380
+ export type ListLedgerMappingsQuery = {
1381
+ mappings: {
1382
+ structures: Array<{
1383
+ id: string
1384
+ name: string
1385
+ description: string | null
1386
+ structureType: string
1387
+ taxonomyId: string
1388
+ isActive: boolean
1389
+ }>
1390
+ } | null
1391
+ }
1392
+
1393
+ export type GetLedgerPeriodCloseStatusQueryVariables = Exact<{
1394
+ periodStart: Scalars['Date']['input']
1395
+ periodEnd: Scalars['Date']['input']
1396
+ }>
1397
+
1398
+ export type GetLedgerPeriodCloseStatusQuery = {
1399
+ periodCloseStatus: {
1400
+ fiscalPeriodStart: any
1401
+ fiscalPeriodEnd: any
1402
+ periodStatus: string
1403
+ totalDraft: number
1404
+ totalPosted: number
1405
+ schedules: Array<{
1406
+ structureId: string
1407
+ structureName: string
1408
+ amount: number
1409
+ status: string
1410
+ entryId: string | null
1411
+ reversalEntryId: string | null
1412
+ reversalStatus: string | null
1413
+ }>
1414
+ } | null
1415
+ }
1416
+
1417
+ export type GetLedgerPeriodDraftsQueryVariables = Exact<{
1418
+ period: Scalars['String']['input']
1419
+ }>
1420
+
1421
+ export type GetLedgerPeriodDraftsQuery = {
1422
+ periodDrafts: {
1423
+ period: string
1424
+ periodStart: any
1425
+ periodEnd: any
1426
+ draftCount: number
1427
+ totalDebit: number
1428
+ totalCredit: number
1429
+ allBalanced: boolean
1430
+ drafts: Array<{
1431
+ entryId: string
1432
+ postingDate: any
1433
+ type: string
1434
+ memo: string | null
1435
+ provenance: string | null
1436
+ sourceStructureId: string | null
1437
+ sourceStructureName: string | null
1438
+ totalDebit: number
1439
+ totalCredit: number
1440
+ balanced: boolean
1441
+ lineItems: Array<{
1442
+ lineItemId: string
1443
+ elementId: string
1444
+ elementCode: string | null
1445
+ elementName: string
1446
+ debitAmount: number
1447
+ creditAmount: number
1448
+ description: string | null
1449
+ }>
1450
+ }>
1451
+ } | null
1452
+ }
1453
+
1454
+ export type GetLedgerPublishListQueryVariables = Exact<{
1455
+ listId: Scalars['String']['input']
1456
+ }>
1457
+
1458
+ export type GetLedgerPublishListQuery = {
1459
+ publishList: {
1460
+ id: string
1461
+ name: string
1462
+ description: string | null
1463
+ memberCount: number
1464
+ createdBy: string
1465
+ createdAt: any
1466
+ updatedAt: any
1467
+ members: Array<{
1468
+ id: string
1469
+ targetGraphId: string
1470
+ targetGraphName: string | null
1471
+ targetOrgName: string | null
1472
+ addedBy: string
1473
+ addedAt: any
1474
+ }>
1475
+ } | null
1476
+ }
1477
+
1478
+ export type ListLedgerPublishListsQueryVariables = Exact<{
1479
+ limit?: Scalars['Int']['input']
1480
+ offset?: Scalars['Int']['input']
1481
+ }>
1482
+
1483
+ export type ListLedgerPublishListsQuery = {
1484
+ publishLists: {
1485
+ publishLists: Array<{
1486
+ id: string
1487
+ name: string
1488
+ description: string | null
1489
+ memberCount: number
1490
+ createdBy: string
1491
+ createdAt: any
1492
+ updatedAt: any
1493
+ }>
1494
+ pagination: { total: number; limit: number; offset: number; hasMore: boolean }
1495
+ } | null
1496
+ }
1497
+
1498
+ export type GetLedgerReportQueryVariables = Exact<{
1499
+ reportId: Scalars['String']['input']
1500
+ }>
1501
+
1502
+ export type GetLedgerReportQuery = {
1503
+ report: {
1504
+ id: string
1505
+ name: string
1506
+ taxonomyId: string
1507
+ generationStatus: string
1508
+ periodType: string
1509
+ periodStart: any | null
1510
+ periodEnd: any | null
1511
+ comparative: boolean
1512
+ mappingId: string | null
1513
+ aiGenerated: boolean
1514
+ createdAt: any
1515
+ lastGenerated: any | null
1516
+ entityName: string | null
1517
+ sourceGraphId: string | null
1518
+ sourceReportId: string | null
1519
+ sharedAt: any | null
1520
+ periods: Array<{ start: any; end: any; label: string }> | null
1521
+ structures: Array<{ id: string; name: string; structureType: string }>
1522
+ } | null
1523
+ }
1524
+
1525
+ export type GetLedgerReportingTaxonomyQueryVariables = Exact<{ [key: string]: never }>
1526
+
1527
+ export type GetLedgerReportingTaxonomyQuery = {
1528
+ reportingTaxonomy: {
1529
+ id: string
1530
+ name: string
1531
+ description: string | null
1532
+ taxonomyType: string
1533
+ version: string | null
1534
+ standard: string | null
1535
+ namespaceUri: string | null
1536
+ isShared: boolean
1537
+ isActive: boolean
1538
+ isLocked: boolean
1539
+ sourceTaxonomyId: string | null
1540
+ targetTaxonomyId: string | null
1541
+ } | null
1542
+ }
1543
+
1544
+ export type ListLedgerReportsQueryVariables = Exact<{ [key: string]: never }>
1545
+
1546
+ export type ListLedgerReportsQuery = {
1547
+ reports: {
1548
+ reports: Array<{
1549
+ id: string
1550
+ name: string
1551
+ taxonomyId: string
1552
+ generationStatus: string
1553
+ periodType: string
1554
+ periodStart: any | null
1555
+ periodEnd: any | null
1556
+ comparative: boolean
1557
+ mappingId: string | null
1558
+ aiGenerated: boolean
1559
+ createdAt: any
1560
+ lastGenerated: any | null
1561
+ entityName: string | null
1562
+ sourceGraphId: string | null
1563
+ sourceReportId: string | null
1564
+ sharedAt: any | null
1565
+ periods: Array<{ start: any; end: any; label: string }> | null
1566
+ structures: Array<{ id: string; name: string; structureType: string }>
1567
+ }>
1568
+ } | null
1569
+ }
1570
+
1571
+ export type GetLedgerScheduleFactsQueryVariables = Exact<{
1572
+ structureId: Scalars['String']['input']
1573
+ periodStart: InputMaybe<Scalars['Date']['input']>
1574
+ periodEnd: InputMaybe<Scalars['Date']['input']>
1575
+ }>
1576
+
1577
+ export type GetLedgerScheduleFactsQuery = {
1578
+ scheduleFacts: {
1579
+ structureId: string
1580
+ facts: Array<{
1581
+ elementId: string
1582
+ elementName: string
1583
+ value: number
1584
+ periodStart: any
1585
+ periodEnd: any
1586
+ }>
1587
+ } | null
1588
+ }
1589
+
1590
+ export type ListLedgerSchedulesQueryVariables = Exact<{ [key: string]: never }>
1591
+
1592
+ export type ListLedgerSchedulesQuery = {
1593
+ schedules: {
1594
+ schedules: Array<{
1595
+ structureId: string
1596
+ name: string
1597
+ taxonomyName: string
1598
+ entryTemplate: any | null
1599
+ scheduleMetadata: any | null
1600
+ totalPeriods: number
1601
+ periodsWithEntries: number
1602
+ }>
1603
+ } | null
1604
+ }
1605
+
1606
+ export type GetLedgerStatementQueryVariables = Exact<{
1607
+ reportId: Scalars['String']['input']
1608
+ structureType: Scalars['String']['input']
1609
+ }>
1610
+
1611
+ export type GetLedgerStatementQuery = {
1612
+ statement: {
1613
+ reportId: string
1614
+ structureId: string
1615
+ structureName: string
1616
+ structureType: string
1617
+ unmappedCount: number
1618
+ periods: Array<{ start: any; end: any; label: string }>
1619
+ rows: Array<{
1620
+ elementId: string
1621
+ elementQname: string
1622
+ elementName: string
1623
+ classification: string
1624
+ values: Array<number | null>
1625
+ isSubtotal: boolean
1626
+ depth: number
1627
+ }>
1628
+ validation: {
1629
+ passed: boolean
1630
+ checks: Array<string>
1631
+ failures: Array<string>
1632
+ warnings: Array<string>
1633
+ } | null
1634
+ } | null
1635
+ }
1636
+
1637
+ export type ListLedgerStructuresQueryVariables = Exact<{
1638
+ taxonomyId: InputMaybe<Scalars['String']['input']>
1639
+ structureType: InputMaybe<Scalars['String']['input']>
1640
+ }>
1641
+
1642
+ export type ListLedgerStructuresQuery = {
1643
+ structures: {
1644
+ structures: Array<{
1645
+ id: string
1646
+ name: string
1647
+ description: string | null
1648
+ structureType: string
1649
+ taxonomyId: string
1650
+ isActive: boolean
1651
+ }>
1652
+ } | null
1653
+ }
1654
+
1655
+ export type GetLedgerSummaryQueryVariables = Exact<{ [key: string]: never }>
1656
+
1657
+ export type GetLedgerSummaryQuery = {
1658
+ summary: {
1659
+ graphId: string
1660
+ accountCount: number
1661
+ transactionCount: number
1662
+ entryCount: number
1663
+ lineItemCount: number
1664
+ earliestTransactionDate: any | null
1665
+ latestTransactionDate: any | null
1666
+ connectionCount: number
1667
+ lastSyncAt: any | null
1668
+ } | null
1669
+ }
1670
+
1671
+ export type ListLedgerTaxonomiesQueryVariables = Exact<{
1672
+ taxonomyType: InputMaybe<Scalars['String']['input']>
1673
+ }>
1674
+
1675
+ export type ListLedgerTaxonomiesQuery = {
1676
+ taxonomies: {
1677
+ taxonomies: Array<{
1678
+ id: string
1679
+ name: string
1680
+ description: string | null
1681
+ taxonomyType: string
1682
+ version: string | null
1683
+ standard: string | null
1684
+ namespaceUri: string | null
1685
+ isShared: boolean
1686
+ isActive: boolean
1687
+ isLocked: boolean
1688
+ sourceTaxonomyId: string | null
1689
+ targetTaxonomyId: string | null
1690
+ }>
1691
+ } | null
1692
+ }
1693
+
1694
+ export type GetLedgerTransactionQueryVariables = Exact<{
1695
+ transactionId: Scalars['String']['input']
1696
+ }>
1697
+
1698
+ export type GetLedgerTransactionQuery = {
1699
+ transaction: {
1700
+ id: string
1701
+ number: string | null
1702
+ type: string
1703
+ category: string | null
1704
+ amount: number
1705
+ currency: string
1706
+ date: any
1707
+ dueDate: any | null
1708
+ merchantName: string | null
1709
+ referenceNumber: string | null
1710
+ description: string | null
1711
+ source: string
1712
+ sourceId: string | null
1713
+ status: string
1714
+ postedAt: any | null
1715
+ entries: Array<{
1716
+ id: string
1717
+ number: string | null
1718
+ type: string
1719
+ postingDate: any
1720
+ memo: string | null
1721
+ status: string
1722
+ postedAt: any | null
1723
+ lineItems: Array<{
1724
+ id: string
1725
+ accountId: string
1726
+ accountName: string | null
1727
+ accountCode: string | null
1728
+ debitAmount: number
1729
+ creditAmount: number
1730
+ description: string | null
1731
+ lineOrder: number
1732
+ }>
1733
+ }>
1734
+ } | null
1735
+ }
1736
+
1737
+ export type ListLedgerTransactionsQueryVariables = Exact<{
1738
+ type: InputMaybe<Scalars['String']['input']>
1739
+ startDate: InputMaybe<Scalars['Date']['input']>
1740
+ endDate: InputMaybe<Scalars['Date']['input']>
1741
+ limit?: Scalars['Int']['input']
1742
+ offset?: Scalars['Int']['input']
1743
+ }>
1744
+
1745
+ export type ListLedgerTransactionsQuery = {
1746
+ transactions: {
1747
+ transactions: Array<{
1748
+ id: string
1749
+ number: string | null
1750
+ type: string
1751
+ category: string | null
1752
+ amount: number
1753
+ currency: string
1754
+ date: any
1755
+ dueDate: any | null
1756
+ merchantName: string | null
1757
+ referenceNumber: string | null
1758
+ description: string | null
1759
+ source: string
1760
+ status: string
1761
+ }>
1762
+ pagination: { total: number; limit: number; offset: number; hasMore: boolean }
1763
+ } | null
1764
+ }
1765
+
1766
+ export type GetLedgerTrialBalanceQueryVariables = Exact<{
1767
+ startDate: InputMaybe<Scalars['Date']['input']>
1768
+ endDate: InputMaybe<Scalars['Date']['input']>
1769
+ }>
1770
+
1771
+ export type GetLedgerTrialBalanceQuery = {
1772
+ trialBalance: {
1773
+ totalDebits: number
1774
+ totalCredits: number
1775
+ rows: Array<{
1776
+ accountId: string
1777
+ accountCode: string
1778
+ accountName: string
1779
+ classification: string
1780
+ accountType: string | null
1781
+ totalDebits: number
1782
+ totalCredits: number
1783
+ netBalance: number
1784
+ }>
1785
+ } | null
1786
+ }
1787
+
1788
+ export type ListLedgerUnmappedElementsQueryVariables = Exact<{
1789
+ mappingId: InputMaybe<Scalars['String']['input']>
1790
+ }>
1791
+
1792
+ export type ListLedgerUnmappedElementsQuery = {
1793
+ unmappedElements: Array<{
1794
+ id: string
1795
+ code: string | null
1796
+ name: string
1797
+ classification: string
1798
+ balanceType: string
1799
+ externalSource: string | null
1800
+ suggestedTargets: Array<{
1801
+ elementId: string
1802
+ qname: string
1803
+ name: string
1804
+ confidence: number | null
1805
+ }>
1806
+ }>
1807
+ }
1808
+
1809
+ export const GetInvestorHoldingsDocument = {
1810
+ kind: 'Document',
1811
+ definitions: [
1812
+ {
1813
+ kind: 'OperationDefinition',
1814
+ operation: 'query',
1815
+ name: { kind: 'Name', value: 'GetInvestorHoldings' },
1816
+ variableDefinitions: [
1817
+ {
1818
+ kind: 'VariableDefinition',
1819
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'portfolioId' } },
1820
+ type: {
1821
+ kind: 'NonNullType',
1822
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
1823
+ },
1824
+ },
1825
+ ],
1826
+ selectionSet: {
1827
+ kind: 'SelectionSet',
1828
+ selections: [
1829
+ {
1830
+ kind: 'Field',
1831
+ name: { kind: 'Name', value: 'holdings' },
1832
+ arguments: [
1833
+ {
1834
+ kind: 'Argument',
1835
+ name: { kind: 'Name', value: 'portfolioId' },
1836
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'portfolioId' } },
1837
+ },
1838
+ ],
1839
+ selectionSet: {
1840
+ kind: 'SelectionSet',
1841
+ selections: [
1842
+ { kind: 'Field', name: { kind: 'Name', value: 'totalEntities' } },
1843
+ { kind: 'Field', name: { kind: 'Name', value: 'totalPositions' } },
1844
+ {
1845
+ kind: 'Field',
1846
+ name: { kind: 'Name', value: 'holdings' },
1847
+ selectionSet: {
1848
+ kind: 'SelectionSet',
1849
+ selections: [
1850
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
1851
+ { kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
1852
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
1853
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCostBasisDollars' } },
1854
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCurrentValueDollars' } },
1855
+ { kind: 'Field', name: { kind: 'Name', value: 'positionCount' } },
1856
+ {
1857
+ kind: 'Field',
1858
+ name: { kind: 'Name', value: 'securities' },
1859
+ selectionSet: {
1860
+ kind: 'SelectionSet',
1861
+ selections: [
1862
+ { kind: 'Field', name: { kind: 'Name', value: 'securityId' } },
1863
+ { kind: 'Field', name: { kind: 'Name', value: 'securityName' } },
1864
+ { kind: 'Field', name: { kind: 'Name', value: 'securityType' } },
1865
+ { kind: 'Field', name: { kind: 'Name', value: 'quantity' } },
1866
+ { kind: 'Field', name: { kind: 'Name', value: 'quantityType' } },
1867
+ { kind: 'Field', name: { kind: 'Name', value: 'costBasisDollars' } },
1868
+ { kind: 'Field', name: { kind: 'Name', value: 'currentValueDollars' } },
1869
+ ],
1870
+ },
1871
+ },
1872
+ ],
1873
+ },
1874
+ },
1875
+ ],
1876
+ },
1877
+ },
1878
+ ],
1879
+ },
1880
+ },
1881
+ ],
1882
+ } as unknown as DocumentNode<GetInvestorHoldingsQuery, GetInvestorHoldingsQueryVariables>
1883
+ export const GetInvestorPortfolioDocument = {
1884
+ kind: 'Document',
1885
+ definitions: [
1886
+ {
1887
+ kind: 'OperationDefinition',
1888
+ operation: 'query',
1889
+ name: { kind: 'Name', value: 'GetInvestorPortfolio' },
1890
+ variableDefinitions: [
1891
+ {
1892
+ kind: 'VariableDefinition',
1893
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'portfolioId' } },
1894
+ type: {
1895
+ kind: 'NonNullType',
1896
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
1897
+ },
1898
+ },
1899
+ ],
1900
+ selectionSet: {
1901
+ kind: 'SelectionSet',
1902
+ selections: [
1903
+ {
1904
+ kind: 'Field',
1905
+ name: { kind: 'Name', value: 'portfolio' },
1906
+ arguments: [
1907
+ {
1908
+ kind: 'Argument',
1909
+ name: { kind: 'Name', value: 'portfolioId' },
1910
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'portfolioId' } },
1911
+ },
1912
+ ],
1913
+ selectionSet: {
1914
+ kind: 'SelectionSet',
1915
+ selections: [
1916
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1917
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
1918
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
1919
+ { kind: 'Field', name: { kind: 'Name', value: 'strategy' } },
1920
+ { kind: 'Field', name: { kind: 'Name', value: 'inceptionDate' } },
1921
+ { kind: 'Field', name: { kind: 'Name', value: 'baseCurrency' } },
1922
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
1923
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
1924
+ ],
1925
+ },
1926
+ },
1927
+ ],
1928
+ },
1929
+ },
1930
+ ],
1931
+ } as unknown as DocumentNode<GetInvestorPortfolioQuery, GetInvestorPortfolioQueryVariables>
1932
+ export const ListInvestorPortfoliosDocument = {
1933
+ kind: 'Document',
1934
+ definitions: [
1935
+ {
1936
+ kind: 'OperationDefinition',
1937
+ operation: 'query',
1938
+ name: { kind: 'Name', value: 'ListInvestorPortfolios' },
1939
+ variableDefinitions: [
1940
+ {
1941
+ kind: 'VariableDefinition',
1942
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
1943
+ type: {
1944
+ kind: 'NonNullType',
1945
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
1946
+ },
1947
+ defaultValue: { kind: 'IntValue', value: '100' },
1948
+ },
1949
+ {
1950
+ kind: 'VariableDefinition',
1951
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
1952
+ type: {
1953
+ kind: 'NonNullType',
1954
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
1955
+ },
1956
+ defaultValue: { kind: 'IntValue', value: '0' },
1957
+ },
1958
+ ],
1959
+ selectionSet: {
1960
+ kind: 'SelectionSet',
1961
+ selections: [
1962
+ {
1963
+ kind: 'Field',
1964
+ name: { kind: 'Name', value: 'portfolios' },
1965
+ arguments: [
1966
+ {
1967
+ kind: 'Argument',
1968
+ name: { kind: 'Name', value: 'limit' },
1969
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
1970
+ },
1971
+ {
1972
+ kind: 'Argument',
1973
+ name: { kind: 'Name', value: 'offset' },
1974
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
1975
+ },
1976
+ ],
1977
+ selectionSet: {
1978
+ kind: 'SelectionSet',
1979
+ selections: [
1980
+ {
1981
+ kind: 'Field',
1982
+ name: { kind: 'Name', value: 'portfolios' },
1983
+ selectionSet: {
1984
+ kind: 'SelectionSet',
1985
+ selections: [
1986
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1987
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
1988
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
1989
+ { kind: 'Field', name: { kind: 'Name', value: 'strategy' } },
1990
+ { kind: 'Field', name: { kind: 'Name', value: 'inceptionDate' } },
1991
+ { kind: 'Field', name: { kind: 'Name', value: 'baseCurrency' } },
1992
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
1993
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
1994
+ ],
1995
+ },
1996
+ },
1997
+ {
1998
+ kind: 'Field',
1999
+ name: { kind: 'Name', value: 'pagination' },
2000
+ selectionSet: {
2001
+ kind: 'SelectionSet',
2002
+ selections: [
2003
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
2004
+ { kind: 'Field', name: { kind: 'Name', value: 'limit' } },
2005
+ { kind: 'Field', name: { kind: 'Name', value: 'offset' } },
2006
+ { kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
2007
+ ],
2008
+ },
2009
+ },
2010
+ ],
2011
+ },
2012
+ },
2013
+ ],
2014
+ },
2015
+ },
2016
+ ],
2017
+ } as unknown as DocumentNode<ListInvestorPortfoliosQuery, ListInvestorPortfoliosQueryVariables>
2018
+ export const GetInvestorPositionDocument = {
2019
+ kind: 'Document',
2020
+ definitions: [
2021
+ {
2022
+ kind: 'OperationDefinition',
2023
+ operation: 'query',
2024
+ name: { kind: 'Name', value: 'GetInvestorPosition' },
2025
+ variableDefinitions: [
2026
+ {
2027
+ kind: 'VariableDefinition',
2028
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'positionId' } },
2029
+ type: {
2030
+ kind: 'NonNullType',
2031
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2032
+ },
2033
+ },
2034
+ ],
2035
+ selectionSet: {
2036
+ kind: 'SelectionSet',
2037
+ selections: [
2038
+ {
2039
+ kind: 'Field',
2040
+ name: { kind: 'Name', value: 'position' },
2041
+ arguments: [
2042
+ {
2043
+ kind: 'Argument',
2044
+ name: { kind: 'Name', value: 'positionId' },
2045
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'positionId' } },
2046
+ },
2047
+ ],
2048
+ selectionSet: {
2049
+ kind: 'SelectionSet',
2050
+ selections: [
2051
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2052
+ { kind: 'Field', name: { kind: 'Name', value: 'portfolioId' } },
2053
+ { kind: 'Field', name: { kind: 'Name', value: 'securityId' } },
2054
+ { kind: 'Field', name: { kind: 'Name', value: 'securityName' } },
2055
+ { kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
2056
+ { kind: 'Field', name: { kind: 'Name', value: 'quantity' } },
2057
+ { kind: 'Field', name: { kind: 'Name', value: 'quantityType' } },
2058
+ { kind: 'Field', name: { kind: 'Name', value: 'costBasis' } },
2059
+ { kind: 'Field', name: { kind: 'Name', value: 'costBasisDollars' } },
2060
+ { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
2061
+ { kind: 'Field', name: { kind: 'Name', value: 'currentValue' } },
2062
+ { kind: 'Field', name: { kind: 'Name', value: 'currentValueDollars' } },
2063
+ { kind: 'Field', name: { kind: 'Name', value: 'valuationDate' } },
2064
+ { kind: 'Field', name: { kind: 'Name', value: 'valuationSource' } },
2065
+ { kind: 'Field', name: { kind: 'Name', value: 'acquisitionDate' } },
2066
+ { kind: 'Field', name: { kind: 'Name', value: 'dispositionDate' } },
2067
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
2068
+ { kind: 'Field', name: { kind: 'Name', value: 'notes' } },
2069
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
2070
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
2071
+ ],
2072
+ },
2073
+ },
2074
+ ],
2075
+ },
2076
+ },
2077
+ ],
2078
+ } as unknown as DocumentNode<GetInvestorPositionQuery, GetInvestorPositionQueryVariables>
2079
+ export const ListInvestorPositionsDocument = {
2080
+ kind: 'Document',
2081
+ definitions: [
2082
+ {
2083
+ kind: 'OperationDefinition',
2084
+ operation: 'query',
2085
+ name: { kind: 'Name', value: 'ListInvestorPositions' },
2086
+ variableDefinitions: [
2087
+ {
2088
+ kind: 'VariableDefinition',
2089
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'portfolioId' } },
2090
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2091
+ },
2092
+ {
2093
+ kind: 'VariableDefinition',
2094
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'securityId' } },
2095
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2096
+ },
2097
+ {
2098
+ kind: 'VariableDefinition',
2099
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'status' } },
2100
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2101
+ },
2102
+ {
2103
+ kind: 'VariableDefinition',
2104
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
2105
+ type: {
2106
+ kind: 'NonNullType',
2107
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
2108
+ },
2109
+ defaultValue: { kind: 'IntValue', value: '100' },
2110
+ },
2111
+ {
2112
+ kind: 'VariableDefinition',
2113
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
2114
+ type: {
2115
+ kind: 'NonNullType',
2116
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
2117
+ },
2118
+ defaultValue: { kind: 'IntValue', value: '0' },
2119
+ },
2120
+ ],
2121
+ selectionSet: {
2122
+ kind: 'SelectionSet',
2123
+ selections: [
2124
+ {
2125
+ kind: 'Field',
2126
+ name: { kind: 'Name', value: 'positions' },
2127
+ arguments: [
2128
+ {
2129
+ kind: 'Argument',
2130
+ name: { kind: 'Name', value: 'portfolioId' },
2131
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'portfolioId' } },
2132
+ },
2133
+ {
2134
+ kind: 'Argument',
2135
+ name: { kind: 'Name', value: 'securityId' },
2136
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'securityId' } },
2137
+ },
2138
+ {
2139
+ kind: 'Argument',
2140
+ name: { kind: 'Name', value: 'status' },
2141
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'status' } },
2142
+ },
2143
+ {
2144
+ kind: 'Argument',
2145
+ name: { kind: 'Name', value: 'limit' },
2146
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
2147
+ },
2148
+ {
2149
+ kind: 'Argument',
2150
+ name: { kind: 'Name', value: 'offset' },
2151
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
2152
+ },
2153
+ ],
2154
+ selectionSet: {
2155
+ kind: 'SelectionSet',
2156
+ selections: [
2157
+ {
2158
+ kind: 'Field',
2159
+ name: { kind: 'Name', value: 'positions' },
2160
+ selectionSet: {
2161
+ kind: 'SelectionSet',
2162
+ selections: [
2163
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2164
+ { kind: 'Field', name: { kind: 'Name', value: 'portfolioId' } },
2165
+ { kind: 'Field', name: { kind: 'Name', value: 'securityId' } },
2166
+ { kind: 'Field', name: { kind: 'Name', value: 'securityName' } },
2167
+ { kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
2168
+ { kind: 'Field', name: { kind: 'Name', value: 'quantity' } },
2169
+ { kind: 'Field', name: { kind: 'Name', value: 'quantityType' } },
2170
+ { kind: 'Field', name: { kind: 'Name', value: 'costBasis' } },
2171
+ { kind: 'Field', name: { kind: 'Name', value: 'costBasisDollars' } },
2172
+ { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
2173
+ { kind: 'Field', name: { kind: 'Name', value: 'currentValue' } },
2174
+ { kind: 'Field', name: { kind: 'Name', value: 'currentValueDollars' } },
2175
+ { kind: 'Field', name: { kind: 'Name', value: 'valuationDate' } },
2176
+ { kind: 'Field', name: { kind: 'Name', value: 'valuationSource' } },
2177
+ { kind: 'Field', name: { kind: 'Name', value: 'acquisitionDate' } },
2178
+ { kind: 'Field', name: { kind: 'Name', value: 'dispositionDate' } },
2179
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
2180
+ { kind: 'Field', name: { kind: 'Name', value: 'notes' } },
2181
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
2182
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
2183
+ ],
2184
+ },
2185
+ },
2186
+ {
2187
+ kind: 'Field',
2188
+ name: { kind: 'Name', value: 'pagination' },
2189
+ selectionSet: {
2190
+ kind: 'SelectionSet',
2191
+ selections: [
2192
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
2193
+ { kind: 'Field', name: { kind: 'Name', value: 'limit' } },
2194
+ { kind: 'Field', name: { kind: 'Name', value: 'offset' } },
2195
+ { kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
2196
+ ],
2197
+ },
2198
+ },
2199
+ ],
2200
+ },
2201
+ },
2202
+ ],
2203
+ },
2204
+ },
2205
+ ],
2206
+ } as unknown as DocumentNode<ListInvestorPositionsQuery, ListInvestorPositionsQueryVariables>
2207
+ export const ListInvestorSecuritiesDocument = {
2208
+ kind: 'Document',
2209
+ definitions: [
2210
+ {
2211
+ kind: 'OperationDefinition',
2212
+ operation: 'query',
2213
+ name: { kind: 'Name', value: 'ListInvestorSecurities' },
2214
+ variableDefinitions: [
2215
+ {
2216
+ kind: 'VariableDefinition',
2217
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
2218
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2219
+ },
2220
+ {
2221
+ kind: 'VariableDefinition',
2222
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'securityType' } },
2223
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2224
+ },
2225
+ {
2226
+ kind: 'VariableDefinition',
2227
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
2228
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
2229
+ },
2230
+ {
2231
+ kind: 'VariableDefinition',
2232
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
2233
+ type: {
2234
+ kind: 'NonNullType',
2235
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
2236
+ },
2237
+ defaultValue: { kind: 'IntValue', value: '100' },
2238
+ },
2239
+ {
2240
+ kind: 'VariableDefinition',
2241
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
2242
+ type: {
2243
+ kind: 'NonNullType',
2244
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
2245
+ },
2246
+ defaultValue: { kind: 'IntValue', value: '0' },
2247
+ },
2248
+ ],
2249
+ selectionSet: {
2250
+ kind: 'SelectionSet',
2251
+ selections: [
2252
+ {
2253
+ kind: 'Field',
2254
+ name: { kind: 'Name', value: 'securities' },
2255
+ arguments: [
2256
+ {
2257
+ kind: 'Argument',
2258
+ name: { kind: 'Name', value: 'entityId' },
2259
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
2260
+ },
2261
+ {
2262
+ kind: 'Argument',
2263
+ name: { kind: 'Name', value: 'securityType' },
2264
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'securityType' } },
2265
+ },
2266
+ {
2267
+ kind: 'Argument',
2268
+ name: { kind: 'Name', value: 'isActive' },
2269
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
2270
+ },
2271
+ {
2272
+ kind: 'Argument',
2273
+ name: { kind: 'Name', value: 'limit' },
2274
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
2275
+ },
2276
+ {
2277
+ kind: 'Argument',
2278
+ name: { kind: 'Name', value: 'offset' },
2279
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
2280
+ },
2281
+ ],
2282
+ selectionSet: {
2283
+ kind: 'SelectionSet',
2284
+ selections: [
2285
+ {
2286
+ kind: 'Field',
2287
+ name: { kind: 'Name', value: 'securities' },
2288
+ selectionSet: {
2289
+ kind: 'SelectionSet',
2290
+ selections: [
2291
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2292
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
2293
+ { kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
2294
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
2295
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2296
+ { kind: 'Field', name: { kind: 'Name', value: 'securityType' } },
2297
+ { kind: 'Field', name: { kind: 'Name', value: 'securitySubtype' } },
2298
+ { kind: 'Field', name: { kind: 'Name', value: 'terms' } },
2299
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
2300
+ { kind: 'Field', name: { kind: 'Name', value: 'authorizedShares' } },
2301
+ { kind: 'Field', name: { kind: 'Name', value: 'outstandingShares' } },
2302
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
2303
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
2304
+ ],
2305
+ },
2306
+ },
2307
+ {
2308
+ kind: 'Field',
2309
+ name: { kind: 'Name', value: 'pagination' },
2310
+ selectionSet: {
2311
+ kind: 'SelectionSet',
2312
+ selections: [
2313
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
2314
+ { kind: 'Field', name: { kind: 'Name', value: 'limit' } },
2315
+ { kind: 'Field', name: { kind: 'Name', value: 'offset' } },
2316
+ { kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
2317
+ ],
2318
+ },
2319
+ },
2320
+ ],
2321
+ },
2322
+ },
2323
+ ],
2324
+ },
2325
+ },
2326
+ ],
2327
+ } as unknown as DocumentNode<ListInvestorSecuritiesQuery, ListInvestorSecuritiesQueryVariables>
2328
+ export const GetInvestorSecurityDocument = {
2329
+ kind: 'Document',
2330
+ definitions: [
2331
+ {
2332
+ kind: 'OperationDefinition',
2333
+ operation: 'query',
2334
+ name: { kind: 'Name', value: 'GetInvestorSecurity' },
2335
+ variableDefinitions: [
2336
+ {
2337
+ kind: 'VariableDefinition',
2338
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'securityId' } },
2339
+ type: {
2340
+ kind: 'NonNullType',
2341
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2342
+ },
2343
+ },
2344
+ ],
2345
+ selectionSet: {
2346
+ kind: 'SelectionSet',
2347
+ selections: [
2348
+ {
2349
+ kind: 'Field',
2350
+ name: { kind: 'Name', value: 'security' },
2351
+ arguments: [
2352
+ {
2353
+ kind: 'Argument',
2354
+ name: { kind: 'Name', value: 'securityId' },
2355
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'securityId' } },
2356
+ },
2357
+ ],
2358
+ selectionSet: {
2359
+ kind: 'SelectionSet',
2360
+ selections: [
2361
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2362
+ { kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
2363
+ { kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
2364
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
2365
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2366
+ { kind: 'Field', name: { kind: 'Name', value: 'securityType' } },
2367
+ { kind: 'Field', name: { kind: 'Name', value: 'securitySubtype' } },
2368
+ { kind: 'Field', name: { kind: 'Name', value: 'terms' } },
2369
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
2370
+ { kind: 'Field', name: { kind: 'Name', value: 'authorizedShares' } },
2371
+ { kind: 'Field', name: { kind: 'Name', value: 'outstandingShares' } },
2372
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
2373
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
2374
+ ],
2375
+ },
2376
+ },
2377
+ ],
2378
+ },
2379
+ },
2380
+ ],
2381
+ } as unknown as DocumentNode<GetInvestorSecurityQuery, GetInvestorSecurityQueryVariables>
2382
+ export const GetLedgerAccountRollupsDocument = {
2383
+ kind: 'Document',
2384
+ definitions: [
2385
+ {
2386
+ kind: 'OperationDefinition',
2387
+ operation: 'query',
2388
+ name: { kind: 'Name', value: 'GetLedgerAccountRollups' },
2389
+ variableDefinitions: [
2390
+ {
2391
+ kind: 'VariableDefinition',
2392
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
2393
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2394
+ },
2395
+ {
2396
+ kind: 'VariableDefinition',
2397
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
2398
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
2399
+ },
2400
+ {
2401
+ kind: 'VariableDefinition',
2402
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
2403
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
2404
+ },
2405
+ ],
2406
+ selectionSet: {
2407
+ kind: 'SelectionSet',
2408
+ selections: [
2409
+ {
2410
+ kind: 'Field',
2411
+ name: { kind: 'Name', value: 'accountRollups' },
2412
+ arguments: [
2413
+ {
2414
+ kind: 'Argument',
2415
+ name: { kind: 'Name', value: 'mappingId' },
2416
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
2417
+ },
2418
+ {
2419
+ kind: 'Argument',
2420
+ name: { kind: 'Name', value: 'startDate' },
2421
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
2422
+ },
2423
+ {
2424
+ kind: 'Argument',
2425
+ name: { kind: 'Name', value: 'endDate' },
2426
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
2427
+ },
2428
+ ],
2429
+ selectionSet: {
2430
+ kind: 'SelectionSet',
2431
+ selections: [
2432
+ { kind: 'Field', name: { kind: 'Name', value: 'mappingId' } },
2433
+ { kind: 'Field', name: { kind: 'Name', value: 'mappingName' } },
2434
+ { kind: 'Field', name: { kind: 'Name', value: 'totalMapped' } },
2435
+ { kind: 'Field', name: { kind: 'Name', value: 'totalUnmapped' } },
2436
+ {
2437
+ kind: 'Field',
2438
+ name: { kind: 'Name', value: 'groups' },
2439
+ selectionSet: {
2440
+ kind: 'SelectionSet',
2441
+ selections: [
2442
+ { kind: 'Field', name: { kind: 'Name', value: 'reportingElementId' } },
2443
+ { kind: 'Field', name: { kind: 'Name', value: 'reportingName' } },
2444
+ { kind: 'Field', name: { kind: 'Name', value: 'reportingQname' } },
2445
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
2446
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
2447
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
2448
+ {
2449
+ kind: 'Field',
2450
+ name: { kind: 'Name', value: 'accounts' },
2451
+ selectionSet: {
2452
+ kind: 'SelectionSet',
2453
+ selections: [
2454
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
2455
+ { kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
2456
+ { kind: 'Field', name: { kind: 'Name', value: 'accountCode' } },
2457
+ { kind: 'Field', name: { kind: 'Name', value: 'totalDebits' } },
2458
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCredits' } },
2459
+ { kind: 'Field', name: { kind: 'Name', value: 'netBalance' } },
2460
+ ],
2461
+ },
2462
+ },
2463
+ ],
2464
+ },
2465
+ },
2466
+ ],
2467
+ },
2468
+ },
2469
+ ],
2470
+ },
2471
+ },
2472
+ ],
2473
+ } as unknown as DocumentNode<GetLedgerAccountRollupsQuery, GetLedgerAccountRollupsQueryVariables>
2474
+ export const GetLedgerAccountTreeDocument = {
2475
+ kind: 'Document',
2476
+ definitions: [
2477
+ {
2478
+ kind: 'OperationDefinition',
2479
+ operation: 'query',
2480
+ name: { kind: 'Name', value: 'GetLedgerAccountTree' },
2481
+ selectionSet: {
2482
+ kind: 'SelectionSet',
2483
+ selections: [
2484
+ {
2485
+ kind: 'Field',
2486
+ name: { kind: 'Name', value: 'accountTree' },
2487
+ selectionSet: {
2488
+ kind: 'SelectionSet',
2489
+ selections: [
2490
+ { kind: 'Field', name: { kind: 'Name', value: 'totalAccounts' } },
2491
+ {
2492
+ kind: 'Field',
2493
+ name: { kind: 'Name', value: 'roots' },
2494
+ selectionSet: {
2495
+ kind: 'SelectionSet',
2496
+ selections: [
2497
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2498
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
2499
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2500
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
2501
+ { kind: 'Field', name: { kind: 'Name', value: 'accountType' } },
2502
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
2503
+ { kind: 'Field', name: { kind: 'Name', value: 'depth' } },
2504
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
2505
+ {
2506
+ kind: 'Field',
2507
+ name: { kind: 'Name', value: 'children' },
2508
+ selectionSet: {
2509
+ kind: 'SelectionSet',
2510
+ selections: [
2511
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2512
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
2513
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2514
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
2515
+ { kind: 'Field', name: { kind: 'Name', value: 'accountType' } },
2516
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
2517
+ { kind: 'Field', name: { kind: 'Name', value: 'depth' } },
2518
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
2519
+ {
2520
+ kind: 'Field',
2521
+ name: { kind: 'Name', value: 'children' },
2522
+ selectionSet: {
2523
+ kind: 'SelectionSet',
2524
+ selections: [
2525
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2526
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
2527
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2528
+ {
2529
+ kind: 'Field',
2530
+ name: { kind: 'Name', value: 'classification' },
2531
+ },
2532
+ { kind: 'Field', name: { kind: 'Name', value: 'accountType' } },
2533
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
2534
+ { kind: 'Field', name: { kind: 'Name', value: 'depth' } },
2535
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
2536
+ {
2537
+ kind: 'Field',
2538
+ name: { kind: 'Name', value: 'children' },
2539
+ selectionSet: {
2540
+ kind: 'SelectionSet',
2541
+ selections: [
2542
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2543
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
2544
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2545
+ {
2546
+ kind: 'Field',
2547
+ name: { kind: 'Name', value: 'classification' },
2548
+ },
2549
+ {
2550
+ kind: 'Field',
2551
+ name: { kind: 'Name', value: 'accountType' },
2552
+ },
2553
+ {
2554
+ kind: 'Field',
2555
+ name: { kind: 'Name', value: 'balanceType' },
2556
+ },
2557
+ { kind: 'Field', name: { kind: 'Name', value: 'depth' } },
2558
+ {
2559
+ kind: 'Field',
2560
+ name: { kind: 'Name', value: 'isActive' },
2561
+ },
2562
+ ],
2563
+ },
2564
+ },
2565
+ ],
2566
+ },
2567
+ },
2568
+ ],
2569
+ },
2570
+ },
2571
+ ],
2572
+ },
2573
+ },
2574
+ ],
2575
+ },
2576
+ },
2577
+ ],
2578
+ },
2579
+ },
2580
+ ],
2581
+ } as unknown as DocumentNode<GetLedgerAccountTreeQuery, GetLedgerAccountTreeQueryVariables>
2582
+ export const ListLedgerAccountsDocument = {
2583
+ kind: 'Document',
2584
+ definitions: [
2585
+ {
2586
+ kind: 'OperationDefinition',
2587
+ operation: 'query',
2588
+ name: { kind: 'Name', value: 'ListLedgerAccounts' },
2589
+ variableDefinitions: [
2590
+ {
2591
+ kind: 'VariableDefinition',
2592
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'classification' } },
2593
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2594
+ },
2595
+ {
2596
+ kind: 'VariableDefinition',
2597
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
2598
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
2599
+ },
2600
+ {
2601
+ kind: 'VariableDefinition',
2602
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
2603
+ type: {
2604
+ kind: 'NonNullType',
2605
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
2606
+ },
2607
+ defaultValue: { kind: 'IntValue', value: '100' },
2608
+ },
2609
+ {
2610
+ kind: 'VariableDefinition',
2611
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
2612
+ type: {
2613
+ kind: 'NonNullType',
2614
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
2615
+ },
2616
+ defaultValue: { kind: 'IntValue', value: '0' },
2617
+ },
2618
+ ],
2619
+ selectionSet: {
2620
+ kind: 'SelectionSet',
2621
+ selections: [
2622
+ {
2623
+ kind: 'Field',
2624
+ name: { kind: 'Name', value: 'accounts' },
2625
+ arguments: [
2626
+ {
2627
+ kind: 'Argument',
2628
+ name: { kind: 'Name', value: 'classification' },
2629
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'classification' } },
2630
+ },
2631
+ {
2632
+ kind: 'Argument',
2633
+ name: { kind: 'Name', value: 'isActive' },
2634
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
2635
+ },
2636
+ {
2637
+ kind: 'Argument',
2638
+ name: { kind: 'Name', value: 'limit' },
2639
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
2640
+ },
2641
+ {
2642
+ kind: 'Argument',
2643
+ name: { kind: 'Name', value: 'offset' },
2644
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
2645
+ },
2646
+ ],
2647
+ selectionSet: {
2648
+ kind: 'SelectionSet',
2649
+ selections: [
2650
+ {
2651
+ kind: 'Field',
2652
+ name: { kind: 'Name', value: 'accounts' },
2653
+ selectionSet: {
2654
+ kind: 'SelectionSet',
2655
+ selections: [
2656
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2657
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
2658
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2659
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
2660
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
2661
+ { kind: 'Field', name: { kind: 'Name', value: 'subClassification' } },
2662
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
2663
+ { kind: 'Field', name: { kind: 'Name', value: 'parentId' } },
2664
+ { kind: 'Field', name: { kind: 'Name', value: 'depth' } },
2665
+ { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
2666
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
2667
+ { kind: 'Field', name: { kind: 'Name', value: 'isPlaceholder' } },
2668
+ { kind: 'Field', name: { kind: 'Name', value: 'accountType' } },
2669
+ { kind: 'Field', name: { kind: 'Name', value: 'externalId' } },
2670
+ { kind: 'Field', name: { kind: 'Name', value: 'externalSource' } },
2671
+ ],
2672
+ },
2673
+ },
2674
+ {
2675
+ kind: 'Field',
2676
+ name: { kind: 'Name', value: 'pagination' },
2677
+ selectionSet: {
2678
+ kind: 'SelectionSet',
2679
+ selections: [
2680
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
2681
+ { kind: 'Field', name: { kind: 'Name', value: 'limit' } },
2682
+ { kind: 'Field', name: { kind: 'Name', value: 'offset' } },
2683
+ { kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
2684
+ ],
2685
+ },
2686
+ },
2687
+ ],
2688
+ },
2689
+ },
2690
+ ],
2691
+ },
2692
+ },
2693
+ ],
2694
+ } as unknown as DocumentNode<ListLedgerAccountsQuery, ListLedgerAccountsQueryVariables>
2695
+ export const GetLedgerClosingBookStructuresDocument = {
2696
+ kind: 'Document',
2697
+ definitions: [
2698
+ {
2699
+ kind: 'OperationDefinition',
2700
+ operation: 'query',
2701
+ name: { kind: 'Name', value: 'GetLedgerClosingBookStructures' },
2702
+ selectionSet: {
2703
+ kind: 'SelectionSet',
2704
+ selections: [
2705
+ {
2706
+ kind: 'Field',
2707
+ name: { kind: 'Name', value: 'closingBookStructures' },
2708
+ selectionSet: {
2709
+ kind: 'SelectionSet',
2710
+ selections: [
2711
+ { kind: 'Field', name: { kind: 'Name', value: 'hasData' } },
2712
+ {
2713
+ kind: 'Field',
2714
+ name: { kind: 'Name', value: 'categories' },
2715
+ selectionSet: {
2716
+ kind: 'SelectionSet',
2717
+ selections: [
2718
+ { kind: 'Field', name: { kind: 'Name', value: 'label' } },
2719
+ {
2720
+ kind: 'Field',
2721
+ name: { kind: 'Name', value: 'items' },
2722
+ selectionSet: {
2723
+ kind: 'SelectionSet',
2724
+ selections: [
2725
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2726
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2727
+ { kind: 'Field', name: { kind: 'Name', value: 'itemType' } },
2728
+ { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
2729
+ { kind: 'Field', name: { kind: 'Name', value: 'reportId' } },
2730
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
2731
+ ],
2732
+ },
2733
+ },
2734
+ ],
2735
+ },
2736
+ },
2737
+ ],
2738
+ },
2739
+ },
2740
+ ],
2741
+ },
2742
+ },
2743
+ ],
2744
+ } as unknown as DocumentNode<
2745
+ GetLedgerClosingBookStructuresQuery,
2746
+ GetLedgerClosingBookStructuresQueryVariables
2747
+ >
2748
+ export const ListLedgerElementsDocument = {
2749
+ kind: 'Document',
2750
+ definitions: [
2751
+ {
2752
+ kind: 'OperationDefinition',
2753
+ operation: 'query',
2754
+ name: { kind: 'Name', value: 'ListLedgerElements' },
2755
+ variableDefinitions: [
2756
+ {
2757
+ kind: 'VariableDefinition',
2758
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
2759
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2760
+ },
2761
+ {
2762
+ kind: 'VariableDefinition',
2763
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
2764
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2765
+ },
2766
+ {
2767
+ kind: 'VariableDefinition',
2768
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'classification' } },
2769
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2770
+ },
2771
+ {
2772
+ kind: 'VariableDefinition',
2773
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'isAbstract' } },
2774
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
2775
+ },
2776
+ {
2777
+ kind: 'VariableDefinition',
2778
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
2779
+ type: {
2780
+ kind: 'NonNullType',
2781
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
2782
+ },
2783
+ defaultValue: { kind: 'IntValue', value: '100' },
2784
+ },
2785
+ {
2786
+ kind: 'VariableDefinition',
2787
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
2788
+ type: {
2789
+ kind: 'NonNullType',
2790
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
2791
+ },
2792
+ defaultValue: { kind: 'IntValue', value: '0' },
2793
+ },
2794
+ ],
2795
+ selectionSet: {
2796
+ kind: 'SelectionSet',
2797
+ selections: [
2798
+ {
2799
+ kind: 'Field',
2800
+ name: { kind: 'Name', value: 'elements' },
2801
+ arguments: [
2802
+ {
2803
+ kind: 'Argument',
2804
+ name: { kind: 'Name', value: 'taxonomyId' },
2805
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
2806
+ },
2807
+ {
2808
+ kind: 'Argument',
2809
+ name: { kind: 'Name', value: 'source' },
2810
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
2811
+ },
2812
+ {
2813
+ kind: 'Argument',
2814
+ name: { kind: 'Name', value: 'classification' },
2815
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'classification' } },
2816
+ },
2817
+ {
2818
+ kind: 'Argument',
2819
+ name: { kind: 'Name', value: 'isAbstract' },
2820
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'isAbstract' } },
2821
+ },
2822
+ {
2823
+ kind: 'Argument',
2824
+ name: { kind: 'Name', value: 'limit' },
2825
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
2826
+ },
2827
+ {
2828
+ kind: 'Argument',
2829
+ name: { kind: 'Name', value: 'offset' },
2830
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
2831
+ },
2832
+ ],
2833
+ selectionSet: {
2834
+ kind: 'SelectionSet',
2835
+ selections: [
2836
+ {
2837
+ kind: 'Field',
2838
+ name: { kind: 'Name', value: 'elements' },
2839
+ selectionSet: {
2840
+ kind: 'SelectionSet',
2841
+ selections: [
2842
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2843
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
2844
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2845
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
2846
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
2847
+ { kind: 'Field', name: { kind: 'Name', value: 'namespace' } },
2848
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
2849
+ { kind: 'Field', name: { kind: 'Name', value: 'subClassification' } },
2850
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
2851
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
2852
+ { kind: 'Field', name: { kind: 'Name', value: 'isAbstract' } },
2853
+ { kind: 'Field', name: { kind: 'Name', value: 'elementType' } },
2854
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
2855
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
2856
+ { kind: 'Field', name: { kind: 'Name', value: 'parentId' } },
2857
+ { kind: 'Field', name: { kind: 'Name', value: 'depth' } },
2858
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
2859
+ { kind: 'Field', name: { kind: 'Name', value: 'externalId' } },
2860
+ { kind: 'Field', name: { kind: 'Name', value: 'externalSource' } },
2861
+ ],
2862
+ },
2863
+ },
2864
+ {
2865
+ kind: 'Field',
2866
+ name: { kind: 'Name', value: 'pagination' },
2867
+ selectionSet: {
2868
+ kind: 'SelectionSet',
2869
+ selections: [
2870
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
2871
+ { kind: 'Field', name: { kind: 'Name', value: 'limit' } },
2872
+ { kind: 'Field', name: { kind: 'Name', value: 'offset' } },
2873
+ { kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
2874
+ ],
2875
+ },
2876
+ },
2877
+ ],
2878
+ },
2879
+ },
2880
+ ],
2881
+ },
2882
+ },
2883
+ ],
2884
+ } as unknown as DocumentNode<ListLedgerElementsQuery, ListLedgerElementsQueryVariables>
2885
+ export const ListLedgerEntitiesDocument = {
2886
+ kind: 'Document',
2887
+ definitions: [
2888
+ {
2889
+ kind: 'OperationDefinition',
2890
+ operation: 'query',
2891
+ name: { kind: 'Name', value: 'ListLedgerEntities' },
2892
+ variableDefinitions: [
2893
+ {
2894
+ kind: 'VariableDefinition',
2895
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
2896
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2897
+ },
2898
+ ],
2899
+ selectionSet: {
2900
+ kind: 'SelectionSet',
2901
+ selections: [
2902
+ {
2903
+ kind: 'Field',
2904
+ name: { kind: 'Name', value: 'entities' },
2905
+ arguments: [
2906
+ {
2907
+ kind: 'Argument',
2908
+ name: { kind: 'Name', value: 'source' },
2909
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'source' } },
2910
+ },
2911
+ ],
2912
+ selectionSet: {
2913
+ kind: 'SelectionSet',
2914
+ selections: [
2915
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2916
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2917
+ { kind: 'Field', name: { kind: 'Name', value: 'legalName' } },
2918
+ { kind: 'Field', name: { kind: 'Name', value: 'ticker' } },
2919
+ { kind: 'Field', name: { kind: 'Name', value: 'cik' } },
2920
+ { kind: 'Field', name: { kind: 'Name', value: 'industry' } },
2921
+ { kind: 'Field', name: { kind: 'Name', value: 'entityType' } },
2922
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
2923
+ { kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
2924
+ { kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
2925
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
2926
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
2927
+ { kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
2928
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
2929
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
2930
+ ],
2931
+ },
2932
+ },
2933
+ ],
2934
+ },
2935
+ },
2936
+ ],
2937
+ } as unknown as DocumentNode<ListLedgerEntitiesQuery, ListLedgerEntitiesQueryVariables>
2938
+ export const GetLedgerEntityDocument = {
2939
+ kind: 'Document',
2940
+ definitions: [
2941
+ {
2942
+ kind: 'OperationDefinition',
2943
+ operation: 'query',
2944
+ name: { kind: 'Name', value: 'GetLedgerEntity' },
2945
+ selectionSet: {
2946
+ kind: 'SelectionSet',
2947
+ selections: [
2948
+ {
2949
+ kind: 'Field',
2950
+ name: { kind: 'Name', value: 'entity' },
2951
+ selectionSet: {
2952
+ kind: 'SelectionSet',
2953
+ selections: [
2954
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
2955
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
2956
+ { kind: 'Field', name: { kind: 'Name', value: 'legalName' } },
2957
+ { kind: 'Field', name: { kind: 'Name', value: 'uri' } },
2958
+ { kind: 'Field', name: { kind: 'Name', value: 'cik' } },
2959
+ { kind: 'Field', name: { kind: 'Name', value: 'ticker' } },
2960
+ { kind: 'Field', name: { kind: 'Name', value: 'exchange' } },
2961
+ { kind: 'Field', name: { kind: 'Name', value: 'sic' } },
2962
+ { kind: 'Field', name: { kind: 'Name', value: 'sicDescription' } },
2963
+ { kind: 'Field', name: { kind: 'Name', value: 'category' } },
2964
+ { kind: 'Field', name: { kind: 'Name', value: 'stateOfIncorporation' } },
2965
+ { kind: 'Field', name: { kind: 'Name', value: 'fiscalYearEnd' } },
2966
+ { kind: 'Field', name: { kind: 'Name', value: 'taxId' } },
2967
+ { kind: 'Field', name: { kind: 'Name', value: 'lei' } },
2968
+ { kind: 'Field', name: { kind: 'Name', value: 'industry' } },
2969
+ { kind: 'Field', name: { kind: 'Name', value: 'entityType' } },
2970
+ { kind: 'Field', name: { kind: 'Name', value: 'phone' } },
2971
+ { kind: 'Field', name: { kind: 'Name', value: 'website' } },
2972
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
2973
+ { kind: 'Field', name: { kind: 'Name', value: 'isParent' } },
2974
+ { kind: 'Field', name: { kind: 'Name', value: 'parentEntityId' } },
2975
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
2976
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceId' } },
2977
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
2978
+ { kind: 'Field', name: { kind: 'Name', value: 'connectionId' } },
2979
+ { kind: 'Field', name: { kind: 'Name', value: 'addressLine1' } },
2980
+ { kind: 'Field', name: { kind: 'Name', value: 'addressCity' } },
2981
+ { kind: 'Field', name: { kind: 'Name', value: 'addressState' } },
2982
+ { kind: 'Field', name: { kind: 'Name', value: 'addressPostalCode' } },
2983
+ { kind: 'Field', name: { kind: 'Name', value: 'addressCountry' } },
2984
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
2985
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
2986
+ ],
2987
+ },
2988
+ },
2989
+ ],
2990
+ },
2991
+ },
2992
+ ],
2993
+ } as unknown as DocumentNode<GetLedgerEntityQuery, GetLedgerEntityQueryVariables>
2994
+ export const GetLedgerFiscalCalendarDocument = {
2995
+ kind: 'Document',
2996
+ definitions: [
2997
+ {
2998
+ kind: 'OperationDefinition',
2999
+ operation: 'query',
3000
+ name: { kind: 'Name', value: 'GetLedgerFiscalCalendar' },
3001
+ selectionSet: {
3002
+ kind: 'SelectionSet',
3003
+ selections: [
3004
+ {
3005
+ kind: 'Field',
3006
+ name: { kind: 'Name', value: 'fiscalCalendar' },
3007
+ selectionSet: {
3008
+ kind: 'SelectionSet',
3009
+ selections: [
3010
+ { kind: 'Field', name: { kind: 'Name', value: 'graphId' } },
3011
+ { kind: 'Field', name: { kind: 'Name', value: 'fiscalYearStartMonth' } },
3012
+ { kind: 'Field', name: { kind: 'Name', value: 'closedThrough' } },
3013
+ { kind: 'Field', name: { kind: 'Name', value: 'closeTarget' } },
3014
+ { kind: 'Field', name: { kind: 'Name', value: 'gapPeriods' } },
3015
+ { kind: 'Field', name: { kind: 'Name', value: 'catchUpSequence' } },
3016
+ { kind: 'Field', name: { kind: 'Name', value: 'closeableNow' } },
3017
+ { kind: 'Field', name: { kind: 'Name', value: 'blockers' } },
3018
+ { kind: 'Field', name: { kind: 'Name', value: 'lastCloseAt' } },
3019
+ { kind: 'Field', name: { kind: 'Name', value: 'initializedAt' } },
3020
+ { kind: 'Field', name: { kind: 'Name', value: 'lastSyncAt' } },
3021
+ {
3022
+ kind: 'Field',
3023
+ name: { kind: 'Name', value: 'periods' },
3024
+ selectionSet: {
3025
+ kind: 'SelectionSet',
3026
+ selections: [
3027
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3028
+ { kind: 'Field', name: { kind: 'Name', value: 'startDate' } },
3029
+ { kind: 'Field', name: { kind: 'Name', value: 'endDate' } },
3030
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
3031
+ { kind: 'Field', name: { kind: 'Name', value: 'closedAt' } },
3032
+ ],
3033
+ },
3034
+ },
3035
+ ],
3036
+ },
3037
+ },
3038
+ ],
3039
+ },
3040
+ },
3041
+ ],
3042
+ } as unknown as DocumentNode<GetLedgerFiscalCalendarQuery, GetLedgerFiscalCalendarQueryVariables>
3043
+ export const GetLedgerMappedTrialBalanceDocument = {
3044
+ kind: 'Document',
3045
+ definitions: [
3046
+ {
3047
+ kind: 'OperationDefinition',
3048
+ operation: 'query',
3049
+ name: { kind: 'Name', value: 'GetLedgerMappedTrialBalance' },
3050
+ variableDefinitions: [
3051
+ {
3052
+ kind: 'VariableDefinition',
3053
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3054
+ type: {
3055
+ kind: 'NonNullType',
3056
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3057
+ },
3058
+ },
3059
+ {
3060
+ kind: 'VariableDefinition',
3061
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
3062
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3063
+ },
3064
+ {
3065
+ kind: 'VariableDefinition',
3066
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
3067
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3068
+ },
3069
+ ],
3070
+ selectionSet: {
3071
+ kind: 'SelectionSet',
3072
+ selections: [
3073
+ {
3074
+ kind: 'Field',
3075
+ name: { kind: 'Name', value: 'mappedTrialBalance' },
3076
+ arguments: [
3077
+ {
3078
+ kind: 'Argument',
3079
+ name: { kind: 'Name', value: 'mappingId' },
3080
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3081
+ },
3082
+ {
3083
+ kind: 'Argument',
3084
+ name: { kind: 'Name', value: 'startDate' },
3085
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
3086
+ },
3087
+ {
3088
+ kind: 'Argument',
3089
+ name: { kind: 'Name', value: 'endDate' },
3090
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
3091
+ },
3092
+ ],
3093
+ selectionSet: {
3094
+ kind: 'SelectionSet',
3095
+ selections: [
3096
+ { kind: 'Field', name: { kind: 'Name', value: 'mappingId' } },
3097
+ {
3098
+ kind: 'Field',
3099
+ name: { kind: 'Name', value: 'rows' },
3100
+ selectionSet: {
3101
+ kind: 'SelectionSet',
3102
+ selections: [
3103
+ { kind: 'Field', name: { kind: 'Name', value: 'reportingElementId' } },
3104
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
3105
+ { kind: 'Field', name: { kind: 'Name', value: 'reportingName' } },
3106
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
3107
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
3108
+ { kind: 'Field', name: { kind: 'Name', value: 'totalDebits' } },
3109
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCredits' } },
3110
+ { kind: 'Field', name: { kind: 'Name', value: 'netBalance' } },
3111
+ ],
3112
+ },
3113
+ },
3114
+ ],
3115
+ },
3116
+ },
3117
+ ],
3118
+ },
3119
+ },
3120
+ ],
3121
+ } as unknown as DocumentNode<
3122
+ GetLedgerMappedTrialBalanceQuery,
3123
+ GetLedgerMappedTrialBalanceQueryVariables
3124
+ >
3125
+ export const GetLedgerMappingDocument = {
3126
+ kind: 'Document',
3127
+ definitions: [
3128
+ {
3129
+ kind: 'OperationDefinition',
3130
+ operation: 'query',
3131
+ name: { kind: 'Name', value: 'GetLedgerMapping' },
3132
+ variableDefinitions: [
3133
+ {
3134
+ kind: 'VariableDefinition',
3135
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3136
+ type: {
3137
+ kind: 'NonNullType',
3138
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3139
+ },
3140
+ },
3141
+ ],
3142
+ selectionSet: {
3143
+ kind: 'SelectionSet',
3144
+ selections: [
3145
+ {
3146
+ kind: 'Field',
3147
+ name: { kind: 'Name', value: 'mapping' },
3148
+ arguments: [
3149
+ {
3150
+ kind: 'Argument',
3151
+ name: { kind: 'Name', value: 'mappingId' },
3152
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3153
+ },
3154
+ ],
3155
+ selectionSet: {
3156
+ kind: 'SelectionSet',
3157
+ selections: [
3158
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3159
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3160
+ { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
3161
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3162
+ { kind: 'Field', name: { kind: 'Name', value: 'totalAssociations' } },
3163
+ {
3164
+ kind: 'Field',
3165
+ name: { kind: 'Name', value: 'associations' },
3166
+ selectionSet: {
3167
+ kind: 'SelectionSet',
3168
+ selections: [
3169
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3170
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3171
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementId' } },
3172
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementName' } },
3173
+ { kind: 'Field', name: { kind: 'Name', value: 'fromElementQname' } },
3174
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementId' } },
3175
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementName' } },
3176
+ { kind: 'Field', name: { kind: 'Name', value: 'toElementQname' } },
3177
+ { kind: 'Field', name: { kind: 'Name', value: 'associationType' } },
3178
+ { kind: 'Field', name: { kind: 'Name', value: 'orderValue' } },
3179
+ { kind: 'Field', name: { kind: 'Name', value: 'weight' } },
3180
+ { kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
3181
+ { kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
3182
+ { kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
3183
+ ],
3184
+ },
3185
+ },
3186
+ ],
3187
+ },
3188
+ },
3189
+ ],
3190
+ },
3191
+ },
3192
+ ],
3193
+ } as unknown as DocumentNode<GetLedgerMappingQuery, GetLedgerMappingQueryVariables>
3194
+ export const GetLedgerMappingCoverageDocument = {
3195
+ kind: 'Document',
3196
+ definitions: [
3197
+ {
3198
+ kind: 'OperationDefinition',
3199
+ operation: 'query',
3200
+ name: { kind: 'Name', value: 'GetLedgerMappingCoverage' },
3201
+ variableDefinitions: [
3202
+ {
3203
+ kind: 'VariableDefinition',
3204
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3205
+ type: {
3206
+ kind: 'NonNullType',
3207
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3208
+ },
3209
+ },
3210
+ ],
3211
+ selectionSet: {
3212
+ kind: 'SelectionSet',
3213
+ selections: [
3214
+ {
3215
+ kind: 'Field',
3216
+ name: { kind: 'Name', value: 'mappingCoverage' },
3217
+ arguments: [
3218
+ {
3219
+ kind: 'Argument',
3220
+ name: { kind: 'Name', value: 'mappingId' },
3221
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
3222
+ },
3223
+ ],
3224
+ selectionSet: {
3225
+ kind: 'SelectionSet',
3226
+ selections: [
3227
+ { kind: 'Field', name: { kind: 'Name', value: 'mappingId' } },
3228
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCoaElements' } },
3229
+ { kind: 'Field', name: { kind: 'Name', value: 'mappedCount' } },
3230
+ { kind: 'Field', name: { kind: 'Name', value: 'unmappedCount' } },
3231
+ { kind: 'Field', name: { kind: 'Name', value: 'coveragePercent' } },
3232
+ { kind: 'Field', name: { kind: 'Name', value: 'highConfidence' } },
3233
+ { kind: 'Field', name: { kind: 'Name', value: 'mediumConfidence' } },
3234
+ { kind: 'Field', name: { kind: 'Name', value: 'lowConfidence' } },
3235
+ ],
3236
+ },
3237
+ },
3238
+ ],
3239
+ },
3240
+ },
3241
+ ],
3242
+ } as unknown as DocumentNode<GetLedgerMappingCoverageQuery, GetLedgerMappingCoverageQueryVariables>
3243
+ export const ListLedgerMappingsDocument = {
3244
+ kind: 'Document',
3245
+ definitions: [
3246
+ {
3247
+ kind: 'OperationDefinition',
3248
+ operation: 'query',
3249
+ name: { kind: 'Name', value: 'ListLedgerMappings' },
3250
+ selectionSet: {
3251
+ kind: 'SelectionSet',
3252
+ selections: [
3253
+ {
3254
+ kind: 'Field',
3255
+ name: { kind: 'Name', value: 'mappings' },
3256
+ selectionSet: {
3257
+ kind: 'SelectionSet',
3258
+ selections: [
3259
+ {
3260
+ kind: 'Field',
3261
+ name: { kind: 'Name', value: 'structures' },
3262
+ selectionSet: {
3263
+ kind: 'SelectionSet',
3264
+ selections: [
3265
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3266
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3267
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
3268
+ { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
3269
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3270
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
3271
+ ],
3272
+ },
3273
+ },
3274
+ ],
3275
+ },
3276
+ },
3277
+ ],
3278
+ },
3279
+ },
3280
+ ],
3281
+ } as unknown as DocumentNode<ListLedgerMappingsQuery, ListLedgerMappingsQueryVariables>
3282
+ export const GetLedgerPeriodCloseStatusDocument = {
3283
+ kind: 'Document',
3284
+ definitions: [
3285
+ {
3286
+ kind: 'OperationDefinition',
3287
+ operation: 'query',
3288
+ name: { kind: 'Name', value: 'GetLedgerPeriodCloseStatus' },
3289
+ variableDefinitions: [
3290
+ {
3291
+ kind: 'VariableDefinition',
3292
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'periodStart' } },
3293
+ type: {
3294
+ kind: 'NonNullType',
3295
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3296
+ },
3297
+ },
3298
+ {
3299
+ kind: 'VariableDefinition',
3300
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
3301
+ type: {
3302
+ kind: 'NonNullType',
3303
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3304
+ },
3305
+ },
3306
+ ],
3307
+ selectionSet: {
3308
+ kind: 'SelectionSet',
3309
+ selections: [
3310
+ {
3311
+ kind: 'Field',
3312
+ name: { kind: 'Name', value: 'periodCloseStatus' },
3313
+ arguments: [
3314
+ {
3315
+ kind: 'Argument',
3316
+ name: { kind: 'Name', value: 'periodStart' },
3317
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'periodStart' } },
3318
+ },
3319
+ {
3320
+ kind: 'Argument',
3321
+ name: { kind: 'Name', value: 'periodEnd' },
3322
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
3323
+ },
3324
+ ],
3325
+ selectionSet: {
3326
+ kind: 'SelectionSet',
3327
+ selections: [
3328
+ { kind: 'Field', name: { kind: 'Name', value: 'fiscalPeriodStart' } },
3329
+ { kind: 'Field', name: { kind: 'Name', value: 'fiscalPeriodEnd' } },
3330
+ { kind: 'Field', name: { kind: 'Name', value: 'periodStatus' } },
3331
+ { kind: 'Field', name: { kind: 'Name', value: 'totalDraft' } },
3332
+ { kind: 'Field', name: { kind: 'Name', value: 'totalPosted' } },
3333
+ {
3334
+ kind: 'Field',
3335
+ name: { kind: 'Name', value: 'schedules' },
3336
+ selectionSet: {
3337
+ kind: 'SelectionSet',
3338
+ selections: [
3339
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3340
+ { kind: 'Field', name: { kind: 'Name', value: 'structureName' } },
3341
+ { kind: 'Field', name: { kind: 'Name', value: 'amount' } },
3342
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
3343
+ { kind: 'Field', name: { kind: 'Name', value: 'entryId' } },
3344
+ { kind: 'Field', name: { kind: 'Name', value: 'reversalEntryId' } },
3345
+ { kind: 'Field', name: { kind: 'Name', value: 'reversalStatus' } },
3346
+ ],
3347
+ },
3348
+ },
3349
+ ],
3350
+ },
3351
+ },
3352
+ ],
3353
+ },
3354
+ },
3355
+ ],
3356
+ } as unknown as DocumentNode<
3357
+ GetLedgerPeriodCloseStatusQuery,
3358
+ GetLedgerPeriodCloseStatusQueryVariables
3359
+ >
3360
+ export const GetLedgerPeriodDraftsDocument = {
3361
+ kind: 'Document',
3362
+ definitions: [
3363
+ {
3364
+ kind: 'OperationDefinition',
3365
+ operation: 'query',
3366
+ name: { kind: 'Name', value: 'GetLedgerPeriodDrafts' },
3367
+ variableDefinitions: [
3368
+ {
3369
+ kind: 'VariableDefinition',
3370
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
3371
+ type: {
3372
+ kind: 'NonNullType',
3373
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3374
+ },
3375
+ },
3376
+ ],
3377
+ selectionSet: {
3378
+ kind: 'SelectionSet',
3379
+ selections: [
3380
+ {
3381
+ kind: 'Field',
3382
+ name: { kind: 'Name', value: 'periodDrafts' },
3383
+ arguments: [
3384
+ {
3385
+ kind: 'Argument',
3386
+ name: { kind: 'Name', value: 'period' },
3387
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
3388
+ },
3389
+ ],
3390
+ selectionSet: {
3391
+ kind: 'SelectionSet',
3392
+ selections: [
3393
+ { kind: 'Field', name: { kind: 'Name', value: 'period' } },
3394
+ { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
3395
+ { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
3396
+ { kind: 'Field', name: { kind: 'Name', value: 'draftCount' } },
3397
+ { kind: 'Field', name: { kind: 'Name', value: 'totalDebit' } },
3398
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCredit' } },
3399
+ { kind: 'Field', name: { kind: 'Name', value: 'allBalanced' } },
3400
+ {
3401
+ kind: 'Field',
3402
+ name: { kind: 'Name', value: 'drafts' },
3403
+ selectionSet: {
3404
+ kind: 'SelectionSet',
3405
+ selections: [
3406
+ { kind: 'Field', name: { kind: 'Name', value: 'entryId' } },
3407
+ { kind: 'Field', name: { kind: 'Name', value: 'postingDate' } },
3408
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } },
3409
+ { kind: 'Field', name: { kind: 'Name', value: 'memo' } },
3410
+ { kind: 'Field', name: { kind: 'Name', value: 'provenance' } },
3411
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceStructureId' } },
3412
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceStructureName' } },
3413
+ { kind: 'Field', name: { kind: 'Name', value: 'totalDebit' } },
3414
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCredit' } },
3415
+ { kind: 'Field', name: { kind: 'Name', value: 'balanced' } },
3416
+ {
3417
+ kind: 'Field',
3418
+ name: { kind: 'Name', value: 'lineItems' },
3419
+ selectionSet: {
3420
+ kind: 'SelectionSet',
3421
+ selections: [
3422
+ { kind: 'Field', name: { kind: 'Name', value: 'lineItemId' } },
3423
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3424
+ { kind: 'Field', name: { kind: 'Name', value: 'elementCode' } },
3425
+ { kind: 'Field', name: { kind: 'Name', value: 'elementName' } },
3426
+ { kind: 'Field', name: { kind: 'Name', value: 'debitAmount' } },
3427
+ { kind: 'Field', name: { kind: 'Name', value: 'creditAmount' } },
3428
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
3429
+ ],
3430
+ },
3431
+ },
3432
+ ],
3433
+ },
3434
+ },
3435
+ ],
3436
+ },
3437
+ },
3438
+ ],
3439
+ },
3440
+ },
3441
+ ],
3442
+ } as unknown as DocumentNode<GetLedgerPeriodDraftsQuery, GetLedgerPeriodDraftsQueryVariables>
3443
+ export const GetLedgerPublishListDocument = {
3444
+ kind: 'Document',
3445
+ definitions: [
3446
+ {
3447
+ kind: 'OperationDefinition',
3448
+ operation: 'query',
3449
+ name: { kind: 'Name', value: 'GetLedgerPublishList' },
3450
+ variableDefinitions: [
3451
+ {
3452
+ kind: 'VariableDefinition',
3453
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'listId' } },
3454
+ type: {
3455
+ kind: 'NonNullType',
3456
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3457
+ },
3458
+ },
3459
+ ],
3460
+ selectionSet: {
3461
+ kind: 'SelectionSet',
3462
+ selections: [
3463
+ {
3464
+ kind: 'Field',
3465
+ name: { kind: 'Name', value: 'publishList' },
3466
+ arguments: [
3467
+ {
3468
+ kind: 'Argument',
3469
+ name: { kind: 'Name', value: 'listId' },
3470
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'listId' } },
3471
+ },
3472
+ ],
3473
+ selectionSet: {
3474
+ kind: 'SelectionSet',
3475
+ selections: [
3476
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3477
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3478
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
3479
+ { kind: 'Field', name: { kind: 'Name', value: 'memberCount' } },
3480
+ { kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
3481
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
3482
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
3483
+ {
3484
+ kind: 'Field',
3485
+ name: { kind: 'Name', value: 'members' },
3486
+ selectionSet: {
3487
+ kind: 'SelectionSet',
3488
+ selections: [
3489
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3490
+ { kind: 'Field', name: { kind: 'Name', value: 'targetGraphId' } },
3491
+ { kind: 'Field', name: { kind: 'Name', value: 'targetGraphName' } },
3492
+ { kind: 'Field', name: { kind: 'Name', value: 'targetOrgName' } },
3493
+ { kind: 'Field', name: { kind: 'Name', value: 'addedBy' } },
3494
+ { kind: 'Field', name: { kind: 'Name', value: 'addedAt' } },
3495
+ ],
3496
+ },
3497
+ },
3498
+ ],
3499
+ },
3500
+ },
3501
+ ],
3502
+ },
3503
+ },
3504
+ ],
3505
+ } as unknown as DocumentNode<GetLedgerPublishListQuery, GetLedgerPublishListQueryVariables>
3506
+ export const ListLedgerPublishListsDocument = {
3507
+ kind: 'Document',
3508
+ definitions: [
3509
+ {
3510
+ kind: 'OperationDefinition',
3511
+ operation: 'query',
3512
+ name: { kind: 'Name', value: 'ListLedgerPublishLists' },
3513
+ variableDefinitions: [
3514
+ {
3515
+ kind: 'VariableDefinition',
3516
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
3517
+ type: {
3518
+ kind: 'NonNullType',
3519
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
3520
+ },
3521
+ defaultValue: { kind: 'IntValue', value: '100' },
3522
+ },
3523
+ {
3524
+ kind: 'VariableDefinition',
3525
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
3526
+ type: {
3527
+ kind: 'NonNullType',
3528
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
3529
+ },
3530
+ defaultValue: { kind: 'IntValue', value: '0' },
3531
+ },
3532
+ ],
3533
+ selectionSet: {
3534
+ kind: 'SelectionSet',
3535
+ selections: [
3536
+ {
3537
+ kind: 'Field',
3538
+ name: { kind: 'Name', value: 'publishLists' },
3539
+ arguments: [
3540
+ {
3541
+ kind: 'Argument',
3542
+ name: { kind: 'Name', value: 'limit' },
3543
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
3544
+ },
3545
+ {
3546
+ kind: 'Argument',
3547
+ name: { kind: 'Name', value: 'offset' },
3548
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
3549
+ },
3550
+ ],
3551
+ selectionSet: {
3552
+ kind: 'SelectionSet',
3553
+ selections: [
3554
+ {
3555
+ kind: 'Field',
3556
+ name: { kind: 'Name', value: 'publishLists' },
3557
+ selectionSet: {
3558
+ kind: 'SelectionSet',
3559
+ selections: [
3560
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3561
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3562
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
3563
+ { kind: 'Field', name: { kind: 'Name', value: 'memberCount' } },
3564
+ { kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
3565
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
3566
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
3567
+ ],
3568
+ },
3569
+ },
3570
+ {
3571
+ kind: 'Field',
3572
+ name: { kind: 'Name', value: 'pagination' },
3573
+ selectionSet: {
3574
+ kind: 'SelectionSet',
3575
+ selections: [
3576
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
3577
+ { kind: 'Field', name: { kind: 'Name', value: 'limit' } },
3578
+ { kind: 'Field', name: { kind: 'Name', value: 'offset' } },
3579
+ { kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
3580
+ ],
3581
+ },
3582
+ },
3583
+ ],
3584
+ },
3585
+ },
3586
+ ],
3587
+ },
3588
+ },
3589
+ ],
3590
+ } as unknown as DocumentNode<ListLedgerPublishListsQuery, ListLedgerPublishListsQueryVariables>
3591
+ export const GetLedgerReportDocument = {
3592
+ kind: 'Document',
3593
+ definitions: [
3594
+ {
3595
+ kind: 'OperationDefinition',
3596
+ operation: 'query',
3597
+ name: { kind: 'Name', value: 'GetLedgerReport' },
3598
+ variableDefinitions: [
3599
+ {
3600
+ kind: 'VariableDefinition',
3601
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
3602
+ type: {
3603
+ kind: 'NonNullType',
3604
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3605
+ },
3606
+ },
3607
+ ],
3608
+ selectionSet: {
3609
+ kind: 'SelectionSet',
3610
+ selections: [
3611
+ {
3612
+ kind: 'Field',
3613
+ name: { kind: 'Name', value: 'report' },
3614
+ arguments: [
3615
+ {
3616
+ kind: 'Argument',
3617
+ name: { kind: 'Name', value: 'reportId' },
3618
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
3619
+ },
3620
+ ],
3621
+ selectionSet: {
3622
+ kind: 'SelectionSet',
3623
+ selections: [
3624
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3625
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3626
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3627
+ { kind: 'Field', name: { kind: 'Name', value: 'generationStatus' } },
3628
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
3629
+ { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
3630
+ { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
3631
+ { kind: 'Field', name: { kind: 'Name', value: 'comparative' } },
3632
+ { kind: 'Field', name: { kind: 'Name', value: 'mappingId' } },
3633
+ { kind: 'Field', name: { kind: 'Name', value: 'aiGenerated' } },
3634
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
3635
+ { kind: 'Field', name: { kind: 'Name', value: 'lastGenerated' } },
3636
+ { kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
3637
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
3638
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceReportId' } },
3639
+ { kind: 'Field', name: { kind: 'Name', value: 'sharedAt' } },
3640
+ {
3641
+ kind: 'Field',
3642
+ name: { kind: 'Name', value: 'periods' },
3643
+ selectionSet: {
3644
+ kind: 'SelectionSet',
3645
+ selections: [
3646
+ { kind: 'Field', name: { kind: 'Name', value: 'start' } },
3647
+ { kind: 'Field', name: { kind: 'Name', value: 'end' } },
3648
+ { kind: 'Field', name: { kind: 'Name', value: 'label' } },
3649
+ ],
3650
+ },
3651
+ },
3652
+ {
3653
+ kind: 'Field',
3654
+ name: { kind: 'Name', value: 'structures' },
3655
+ selectionSet: {
3656
+ kind: 'SelectionSet',
3657
+ selections: [
3658
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3659
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3660
+ { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
3661
+ ],
3662
+ },
3663
+ },
3664
+ ],
3665
+ },
3666
+ },
3667
+ ],
3668
+ },
3669
+ },
3670
+ ],
3671
+ } as unknown as DocumentNode<GetLedgerReportQuery, GetLedgerReportQueryVariables>
3672
+ export const GetLedgerReportingTaxonomyDocument = {
3673
+ kind: 'Document',
3674
+ definitions: [
3675
+ {
3676
+ kind: 'OperationDefinition',
3677
+ operation: 'query',
3678
+ name: { kind: 'Name', value: 'GetLedgerReportingTaxonomy' },
3679
+ selectionSet: {
3680
+ kind: 'SelectionSet',
3681
+ selections: [
3682
+ {
3683
+ kind: 'Field',
3684
+ name: { kind: 'Name', value: 'reportingTaxonomy' },
3685
+ selectionSet: {
3686
+ kind: 'SelectionSet',
3687
+ selections: [
3688
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3689
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3690
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
3691
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyType' } },
3692
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
3693
+ { kind: 'Field', name: { kind: 'Name', value: 'standard' } },
3694
+ { kind: 'Field', name: { kind: 'Name', value: 'namespaceUri' } },
3695
+ { kind: 'Field', name: { kind: 'Name', value: 'isShared' } },
3696
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
3697
+ { kind: 'Field', name: { kind: 'Name', value: 'isLocked' } },
3698
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceTaxonomyId' } },
3699
+ { kind: 'Field', name: { kind: 'Name', value: 'targetTaxonomyId' } },
3700
+ ],
3701
+ },
3702
+ },
3703
+ ],
3704
+ },
3705
+ },
3706
+ ],
3707
+ } as unknown as DocumentNode<
3708
+ GetLedgerReportingTaxonomyQuery,
3709
+ GetLedgerReportingTaxonomyQueryVariables
3710
+ >
3711
+ export const ListLedgerReportsDocument = {
3712
+ kind: 'Document',
3713
+ definitions: [
3714
+ {
3715
+ kind: 'OperationDefinition',
3716
+ operation: 'query',
3717
+ name: { kind: 'Name', value: 'ListLedgerReports' },
3718
+ selectionSet: {
3719
+ kind: 'SelectionSet',
3720
+ selections: [
3721
+ {
3722
+ kind: 'Field',
3723
+ name: { kind: 'Name', value: 'reports' },
3724
+ selectionSet: {
3725
+ kind: 'SelectionSet',
3726
+ selections: [
3727
+ {
3728
+ kind: 'Field',
3729
+ name: { kind: 'Name', value: 'reports' },
3730
+ selectionSet: {
3731
+ kind: 'SelectionSet',
3732
+ selections: [
3733
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3734
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3735
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
3736
+ { kind: 'Field', name: { kind: 'Name', value: 'generationStatus' } },
3737
+ { kind: 'Field', name: { kind: 'Name', value: 'periodType' } },
3738
+ { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
3739
+ { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
3740
+ { kind: 'Field', name: { kind: 'Name', value: 'comparative' } },
3741
+ { kind: 'Field', name: { kind: 'Name', value: 'mappingId' } },
3742
+ { kind: 'Field', name: { kind: 'Name', value: 'aiGenerated' } },
3743
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
3744
+ { kind: 'Field', name: { kind: 'Name', value: 'lastGenerated' } },
3745
+ { kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
3746
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
3747
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceReportId' } },
3748
+ { kind: 'Field', name: { kind: 'Name', value: 'sharedAt' } },
3749
+ {
3750
+ kind: 'Field',
3751
+ name: { kind: 'Name', value: 'periods' },
3752
+ selectionSet: {
3753
+ kind: 'SelectionSet',
3754
+ selections: [
3755
+ { kind: 'Field', name: { kind: 'Name', value: 'start' } },
3756
+ { kind: 'Field', name: { kind: 'Name', value: 'end' } },
3757
+ { kind: 'Field', name: { kind: 'Name', value: 'label' } },
3758
+ ],
3759
+ },
3760
+ },
3761
+ {
3762
+ kind: 'Field',
3763
+ name: { kind: 'Name', value: 'structures' },
3764
+ selectionSet: {
3765
+ kind: 'SelectionSet',
3766
+ selections: [
3767
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3768
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3769
+ { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
3770
+ ],
3771
+ },
3772
+ },
3773
+ ],
3774
+ },
3775
+ },
3776
+ ],
3777
+ },
3778
+ },
3779
+ ],
3780
+ },
3781
+ },
3782
+ ],
3783
+ } as unknown as DocumentNode<ListLedgerReportsQuery, ListLedgerReportsQueryVariables>
3784
+ export const GetLedgerScheduleFactsDocument = {
3785
+ kind: 'Document',
3786
+ definitions: [
3787
+ {
3788
+ kind: 'OperationDefinition',
3789
+ operation: 'query',
3790
+ name: { kind: 'Name', value: 'GetLedgerScheduleFacts' },
3791
+ variableDefinitions: [
3792
+ {
3793
+ kind: 'VariableDefinition',
3794
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureId' } },
3795
+ type: {
3796
+ kind: 'NonNullType',
3797
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3798
+ },
3799
+ },
3800
+ {
3801
+ kind: 'VariableDefinition',
3802
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'periodStart' } },
3803
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3804
+ },
3805
+ {
3806
+ kind: 'VariableDefinition',
3807
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
3808
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
3809
+ },
3810
+ ],
3811
+ selectionSet: {
3812
+ kind: 'SelectionSet',
3813
+ selections: [
3814
+ {
3815
+ kind: 'Field',
3816
+ name: { kind: 'Name', value: 'scheduleFacts' },
3817
+ arguments: [
3818
+ {
3819
+ kind: 'Argument',
3820
+ name: { kind: 'Name', value: 'structureId' },
3821
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'structureId' } },
3822
+ },
3823
+ {
3824
+ kind: 'Argument',
3825
+ name: { kind: 'Name', value: 'periodStart' },
3826
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'periodStart' } },
3827
+ },
3828
+ {
3829
+ kind: 'Argument',
3830
+ name: { kind: 'Name', value: 'periodEnd' },
3831
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'periodEnd' } },
3832
+ },
3833
+ ],
3834
+ selectionSet: {
3835
+ kind: 'SelectionSet',
3836
+ selections: [
3837
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3838
+ {
3839
+ kind: 'Field',
3840
+ name: { kind: 'Name', value: 'facts' },
3841
+ selectionSet: {
3842
+ kind: 'SelectionSet',
3843
+ selections: [
3844
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3845
+ { kind: 'Field', name: { kind: 'Name', value: 'elementName' } },
3846
+ { kind: 'Field', name: { kind: 'Name', value: 'value' } },
3847
+ { kind: 'Field', name: { kind: 'Name', value: 'periodStart' } },
3848
+ { kind: 'Field', name: { kind: 'Name', value: 'periodEnd' } },
3849
+ ],
3850
+ },
3851
+ },
3852
+ ],
3853
+ },
3854
+ },
3855
+ ],
3856
+ },
3857
+ },
3858
+ ],
3859
+ } as unknown as DocumentNode<GetLedgerScheduleFactsQuery, GetLedgerScheduleFactsQueryVariables>
3860
+ export const ListLedgerSchedulesDocument = {
3861
+ kind: 'Document',
3862
+ definitions: [
3863
+ {
3864
+ kind: 'OperationDefinition',
3865
+ operation: 'query',
3866
+ name: { kind: 'Name', value: 'ListLedgerSchedules' },
3867
+ selectionSet: {
3868
+ kind: 'SelectionSet',
3869
+ selections: [
3870
+ {
3871
+ kind: 'Field',
3872
+ name: { kind: 'Name', value: 'schedules' },
3873
+ selectionSet: {
3874
+ kind: 'SelectionSet',
3875
+ selections: [
3876
+ {
3877
+ kind: 'Field',
3878
+ name: { kind: 'Name', value: 'schedules' },
3879
+ selectionSet: {
3880
+ kind: 'SelectionSet',
3881
+ selections: [
3882
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3883
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
3884
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyName' } },
3885
+ { kind: 'Field', name: { kind: 'Name', value: 'entryTemplate' } },
3886
+ { kind: 'Field', name: { kind: 'Name', value: 'scheduleMetadata' } },
3887
+ { kind: 'Field', name: { kind: 'Name', value: 'totalPeriods' } },
3888
+ { kind: 'Field', name: { kind: 'Name', value: 'periodsWithEntries' } },
3889
+ ],
3890
+ },
3891
+ },
3892
+ ],
3893
+ },
3894
+ },
3895
+ ],
3896
+ },
3897
+ },
3898
+ ],
3899
+ } as unknown as DocumentNode<ListLedgerSchedulesQuery, ListLedgerSchedulesQueryVariables>
3900
+ export const GetLedgerStatementDocument = {
3901
+ kind: 'Document',
3902
+ definitions: [
3903
+ {
3904
+ kind: 'OperationDefinition',
3905
+ operation: 'query',
3906
+ name: { kind: 'Name', value: 'GetLedgerStatement' },
3907
+ variableDefinitions: [
3908
+ {
3909
+ kind: 'VariableDefinition',
3910
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
3911
+ type: {
3912
+ kind: 'NonNullType',
3913
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3914
+ },
3915
+ },
3916
+ {
3917
+ kind: 'VariableDefinition',
3918
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
3919
+ type: {
3920
+ kind: 'NonNullType',
3921
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3922
+ },
3923
+ },
3924
+ ],
3925
+ selectionSet: {
3926
+ kind: 'SelectionSet',
3927
+ selections: [
3928
+ {
3929
+ kind: 'Field',
3930
+ name: { kind: 'Name', value: 'statement' },
3931
+ arguments: [
3932
+ {
3933
+ kind: 'Argument',
3934
+ name: { kind: 'Name', value: 'reportId' },
3935
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'reportId' } },
3936
+ },
3937
+ {
3938
+ kind: 'Argument',
3939
+ name: { kind: 'Name', value: 'structureType' },
3940
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
3941
+ },
3942
+ ],
3943
+ selectionSet: {
3944
+ kind: 'SelectionSet',
3945
+ selections: [
3946
+ { kind: 'Field', name: { kind: 'Name', value: 'reportId' } },
3947
+ { kind: 'Field', name: { kind: 'Name', value: 'structureId' } },
3948
+ { kind: 'Field', name: { kind: 'Name', value: 'structureName' } },
3949
+ { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
3950
+ { kind: 'Field', name: { kind: 'Name', value: 'unmappedCount' } },
3951
+ {
3952
+ kind: 'Field',
3953
+ name: { kind: 'Name', value: 'periods' },
3954
+ selectionSet: {
3955
+ kind: 'SelectionSet',
3956
+ selections: [
3957
+ { kind: 'Field', name: { kind: 'Name', value: 'start' } },
3958
+ { kind: 'Field', name: { kind: 'Name', value: 'end' } },
3959
+ { kind: 'Field', name: { kind: 'Name', value: 'label' } },
3960
+ ],
3961
+ },
3962
+ },
3963
+ {
3964
+ kind: 'Field',
3965
+ name: { kind: 'Name', value: 'rows' },
3966
+ selectionSet: {
3967
+ kind: 'SelectionSet',
3968
+ selections: [
3969
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
3970
+ { kind: 'Field', name: { kind: 'Name', value: 'elementQname' } },
3971
+ { kind: 'Field', name: { kind: 'Name', value: 'elementName' } },
3972
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
3973
+ { kind: 'Field', name: { kind: 'Name', value: 'values' } },
3974
+ { kind: 'Field', name: { kind: 'Name', value: 'isSubtotal' } },
3975
+ { kind: 'Field', name: { kind: 'Name', value: 'depth' } },
3976
+ ],
3977
+ },
3978
+ },
3979
+ {
3980
+ kind: 'Field',
3981
+ name: { kind: 'Name', value: 'validation' },
3982
+ selectionSet: {
3983
+ kind: 'SelectionSet',
3984
+ selections: [
3985
+ { kind: 'Field', name: { kind: 'Name', value: 'passed' } },
3986
+ { kind: 'Field', name: { kind: 'Name', value: 'checks' } },
3987
+ { kind: 'Field', name: { kind: 'Name', value: 'failures' } },
3988
+ { kind: 'Field', name: { kind: 'Name', value: 'warnings' } },
3989
+ ],
3990
+ },
3991
+ },
3992
+ ],
3993
+ },
3994
+ },
3995
+ ],
3996
+ },
3997
+ },
3998
+ ],
3999
+ } as unknown as DocumentNode<GetLedgerStatementQuery, GetLedgerStatementQueryVariables>
4000
+ export const ListLedgerStructuresDocument = {
4001
+ kind: 'Document',
4002
+ definitions: [
4003
+ {
4004
+ kind: 'OperationDefinition',
4005
+ operation: 'query',
4006
+ name: { kind: 'Name', value: 'ListLedgerStructures' },
4007
+ variableDefinitions: [
4008
+ {
4009
+ kind: 'VariableDefinition',
4010
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
4011
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4012
+ },
4013
+ {
4014
+ kind: 'VariableDefinition',
4015
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
4016
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4017
+ },
4018
+ ],
4019
+ selectionSet: {
4020
+ kind: 'SelectionSet',
4021
+ selections: [
4022
+ {
4023
+ kind: 'Field',
4024
+ name: { kind: 'Name', value: 'structures' },
4025
+ arguments: [
4026
+ {
4027
+ kind: 'Argument',
4028
+ name: { kind: 'Name', value: 'taxonomyId' },
4029
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
4030
+ },
4031
+ {
4032
+ kind: 'Argument',
4033
+ name: { kind: 'Name', value: 'structureType' },
4034
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'structureType' } },
4035
+ },
4036
+ ],
4037
+ selectionSet: {
4038
+ kind: 'SelectionSet',
4039
+ selections: [
4040
+ {
4041
+ kind: 'Field',
4042
+ name: { kind: 'Name', value: 'structures' },
4043
+ selectionSet: {
4044
+ kind: 'SelectionSet',
4045
+ selections: [
4046
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4047
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
4048
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
4049
+ { kind: 'Field', name: { kind: 'Name', value: 'structureType' } },
4050
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
4051
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
4052
+ ],
4053
+ },
4054
+ },
4055
+ ],
4056
+ },
4057
+ },
4058
+ ],
4059
+ },
4060
+ },
4061
+ ],
4062
+ } as unknown as DocumentNode<ListLedgerStructuresQuery, ListLedgerStructuresQueryVariables>
4063
+ export const GetLedgerSummaryDocument = {
4064
+ kind: 'Document',
4065
+ definitions: [
4066
+ {
4067
+ kind: 'OperationDefinition',
4068
+ operation: 'query',
4069
+ name: { kind: 'Name', value: 'GetLedgerSummary' },
4070
+ selectionSet: {
4071
+ kind: 'SelectionSet',
4072
+ selections: [
4073
+ {
4074
+ kind: 'Field',
4075
+ name: { kind: 'Name', value: 'summary' },
4076
+ selectionSet: {
4077
+ kind: 'SelectionSet',
4078
+ selections: [
4079
+ { kind: 'Field', name: { kind: 'Name', value: 'graphId' } },
4080
+ { kind: 'Field', name: { kind: 'Name', value: 'accountCount' } },
4081
+ { kind: 'Field', name: { kind: 'Name', value: 'transactionCount' } },
4082
+ { kind: 'Field', name: { kind: 'Name', value: 'entryCount' } },
4083
+ { kind: 'Field', name: { kind: 'Name', value: 'lineItemCount' } },
4084
+ { kind: 'Field', name: { kind: 'Name', value: 'earliestTransactionDate' } },
4085
+ { kind: 'Field', name: { kind: 'Name', value: 'latestTransactionDate' } },
4086
+ { kind: 'Field', name: { kind: 'Name', value: 'connectionCount' } },
4087
+ { kind: 'Field', name: { kind: 'Name', value: 'lastSyncAt' } },
4088
+ ],
4089
+ },
4090
+ },
4091
+ ],
4092
+ },
4093
+ },
4094
+ ],
4095
+ } as unknown as DocumentNode<GetLedgerSummaryQuery, GetLedgerSummaryQueryVariables>
4096
+ export const ListLedgerTaxonomiesDocument = {
4097
+ kind: 'Document',
4098
+ definitions: [
4099
+ {
4100
+ kind: 'OperationDefinition',
4101
+ operation: 'query',
4102
+ name: { kind: 'Name', value: 'ListLedgerTaxonomies' },
4103
+ variableDefinitions: [
4104
+ {
4105
+ kind: 'VariableDefinition',
4106
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyType' } },
4107
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4108
+ },
4109
+ ],
4110
+ selectionSet: {
4111
+ kind: 'SelectionSet',
4112
+ selections: [
4113
+ {
4114
+ kind: 'Field',
4115
+ name: { kind: 'Name', value: 'taxonomies' },
4116
+ arguments: [
4117
+ {
4118
+ kind: 'Argument',
4119
+ name: { kind: 'Name', value: 'taxonomyType' },
4120
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyType' } },
4121
+ },
4122
+ ],
4123
+ selectionSet: {
4124
+ kind: 'SelectionSet',
4125
+ selections: [
4126
+ {
4127
+ kind: 'Field',
4128
+ name: { kind: 'Name', value: 'taxonomies' },
4129
+ selectionSet: {
4130
+ kind: 'SelectionSet',
4131
+ selections: [
4132
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4133
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
4134
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
4135
+ { kind: 'Field', name: { kind: 'Name', value: 'taxonomyType' } },
4136
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
4137
+ { kind: 'Field', name: { kind: 'Name', value: 'standard' } },
4138
+ { kind: 'Field', name: { kind: 'Name', value: 'namespaceUri' } },
4139
+ { kind: 'Field', name: { kind: 'Name', value: 'isShared' } },
4140
+ { kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
4141
+ { kind: 'Field', name: { kind: 'Name', value: 'isLocked' } },
4142
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceTaxonomyId' } },
4143
+ { kind: 'Field', name: { kind: 'Name', value: 'targetTaxonomyId' } },
4144
+ ],
4145
+ },
4146
+ },
4147
+ ],
4148
+ },
4149
+ },
4150
+ ],
4151
+ },
4152
+ },
4153
+ ],
4154
+ } as unknown as DocumentNode<ListLedgerTaxonomiesQuery, ListLedgerTaxonomiesQueryVariables>
4155
+ export const GetLedgerTransactionDocument = {
4156
+ kind: 'Document',
4157
+ definitions: [
4158
+ {
4159
+ kind: 'OperationDefinition',
4160
+ operation: 'query',
4161
+ name: { kind: 'Name', value: 'GetLedgerTransaction' },
4162
+ variableDefinitions: [
4163
+ {
4164
+ kind: 'VariableDefinition',
4165
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'transactionId' } },
4166
+ type: {
4167
+ kind: 'NonNullType',
4168
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4169
+ },
4170
+ },
4171
+ ],
4172
+ selectionSet: {
4173
+ kind: 'SelectionSet',
4174
+ selections: [
4175
+ {
4176
+ kind: 'Field',
4177
+ name: { kind: 'Name', value: 'transaction' },
4178
+ arguments: [
4179
+ {
4180
+ kind: 'Argument',
4181
+ name: { kind: 'Name', value: 'transactionId' },
4182
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'transactionId' } },
4183
+ },
4184
+ ],
4185
+ selectionSet: {
4186
+ kind: 'SelectionSet',
4187
+ selections: [
4188
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4189
+ { kind: 'Field', name: { kind: 'Name', value: 'number' } },
4190
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } },
4191
+ { kind: 'Field', name: { kind: 'Name', value: 'category' } },
4192
+ { kind: 'Field', name: { kind: 'Name', value: 'amount' } },
4193
+ { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
4194
+ { kind: 'Field', name: { kind: 'Name', value: 'date' } },
4195
+ { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } },
4196
+ { kind: 'Field', name: { kind: 'Name', value: 'merchantName' } },
4197
+ { kind: 'Field', name: { kind: 'Name', value: 'referenceNumber' } },
4198
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
4199
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
4200
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceId' } },
4201
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
4202
+ { kind: 'Field', name: { kind: 'Name', value: 'postedAt' } },
4203
+ {
4204
+ kind: 'Field',
4205
+ name: { kind: 'Name', value: 'entries' },
4206
+ selectionSet: {
4207
+ kind: 'SelectionSet',
4208
+ selections: [
4209
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4210
+ { kind: 'Field', name: { kind: 'Name', value: 'number' } },
4211
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } },
4212
+ { kind: 'Field', name: { kind: 'Name', value: 'postingDate' } },
4213
+ { kind: 'Field', name: { kind: 'Name', value: 'memo' } },
4214
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
4215
+ { kind: 'Field', name: { kind: 'Name', value: 'postedAt' } },
4216
+ {
4217
+ kind: 'Field',
4218
+ name: { kind: 'Name', value: 'lineItems' },
4219
+ selectionSet: {
4220
+ kind: 'SelectionSet',
4221
+ selections: [
4222
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4223
+ { kind: 'Field', name: { kind: 'Name', value: 'accountId' } },
4224
+ { kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
4225
+ { kind: 'Field', name: { kind: 'Name', value: 'accountCode' } },
4226
+ { kind: 'Field', name: { kind: 'Name', value: 'debitAmount' } },
4227
+ { kind: 'Field', name: { kind: 'Name', value: 'creditAmount' } },
4228
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
4229
+ { kind: 'Field', name: { kind: 'Name', value: 'lineOrder' } },
4230
+ ],
4231
+ },
4232
+ },
4233
+ ],
4234
+ },
4235
+ },
4236
+ ],
4237
+ },
4238
+ },
4239
+ ],
4240
+ },
4241
+ },
4242
+ ],
4243
+ } as unknown as DocumentNode<GetLedgerTransactionQuery, GetLedgerTransactionQueryVariables>
4244
+ export const ListLedgerTransactionsDocument = {
4245
+ kind: 'Document',
4246
+ definitions: [
4247
+ {
4248
+ kind: 'OperationDefinition',
4249
+ operation: 'query',
4250
+ name: { kind: 'Name', value: 'ListLedgerTransactions' },
4251
+ variableDefinitions: [
4252
+ {
4253
+ kind: 'VariableDefinition',
4254
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'type' } },
4255
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4256
+ },
4257
+ {
4258
+ kind: 'VariableDefinition',
4259
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
4260
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
4261
+ },
4262
+ {
4263
+ kind: 'VariableDefinition',
4264
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
4265
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
4266
+ },
4267
+ {
4268
+ kind: 'VariableDefinition',
4269
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
4270
+ type: {
4271
+ kind: 'NonNullType',
4272
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
4273
+ },
4274
+ defaultValue: { kind: 'IntValue', value: '100' },
4275
+ },
4276
+ {
4277
+ kind: 'VariableDefinition',
4278
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
4279
+ type: {
4280
+ kind: 'NonNullType',
4281
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
4282
+ },
4283
+ defaultValue: { kind: 'IntValue', value: '0' },
4284
+ },
4285
+ ],
4286
+ selectionSet: {
4287
+ kind: 'SelectionSet',
4288
+ selections: [
4289
+ {
4290
+ kind: 'Field',
4291
+ name: { kind: 'Name', value: 'transactions' },
4292
+ arguments: [
4293
+ {
4294
+ kind: 'Argument',
4295
+ name: { kind: 'Name', value: 'type' },
4296
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'type' } },
4297
+ },
4298
+ {
4299
+ kind: 'Argument',
4300
+ name: { kind: 'Name', value: 'startDate' },
4301
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
4302
+ },
4303
+ {
4304
+ kind: 'Argument',
4305
+ name: { kind: 'Name', value: 'endDate' },
4306
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
4307
+ },
4308
+ {
4309
+ kind: 'Argument',
4310
+ name: { kind: 'Name', value: 'limit' },
4311
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
4312
+ },
4313
+ {
4314
+ kind: 'Argument',
4315
+ name: { kind: 'Name', value: 'offset' },
4316
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
4317
+ },
4318
+ ],
4319
+ selectionSet: {
4320
+ kind: 'SelectionSet',
4321
+ selections: [
4322
+ {
4323
+ kind: 'Field',
4324
+ name: { kind: 'Name', value: 'transactions' },
4325
+ selectionSet: {
4326
+ kind: 'SelectionSet',
4327
+ selections: [
4328
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4329
+ { kind: 'Field', name: { kind: 'Name', value: 'number' } },
4330
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } },
4331
+ { kind: 'Field', name: { kind: 'Name', value: 'category' } },
4332
+ { kind: 'Field', name: { kind: 'Name', value: 'amount' } },
4333
+ { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
4334
+ { kind: 'Field', name: { kind: 'Name', value: 'date' } },
4335
+ { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } },
4336
+ { kind: 'Field', name: { kind: 'Name', value: 'merchantName' } },
4337
+ { kind: 'Field', name: { kind: 'Name', value: 'referenceNumber' } },
4338
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
4339
+ { kind: 'Field', name: { kind: 'Name', value: 'source' } },
4340
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
4341
+ ],
4342
+ },
4343
+ },
4344
+ {
4345
+ kind: 'Field',
4346
+ name: { kind: 'Name', value: 'pagination' },
4347
+ selectionSet: {
4348
+ kind: 'SelectionSet',
4349
+ selections: [
4350
+ { kind: 'Field', name: { kind: 'Name', value: 'total' } },
4351
+ { kind: 'Field', name: { kind: 'Name', value: 'limit' } },
4352
+ { kind: 'Field', name: { kind: 'Name', value: 'offset' } },
4353
+ { kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
4354
+ ],
4355
+ },
4356
+ },
4357
+ ],
4358
+ },
4359
+ },
4360
+ ],
4361
+ },
4362
+ },
4363
+ ],
4364
+ } as unknown as DocumentNode<ListLedgerTransactionsQuery, ListLedgerTransactionsQueryVariables>
4365
+ export const GetLedgerTrialBalanceDocument = {
4366
+ kind: 'Document',
4367
+ definitions: [
4368
+ {
4369
+ kind: 'OperationDefinition',
4370
+ operation: 'query',
4371
+ name: { kind: 'Name', value: 'GetLedgerTrialBalance' },
4372
+ variableDefinitions: [
4373
+ {
4374
+ kind: 'VariableDefinition',
4375
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
4376
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
4377
+ },
4378
+ {
4379
+ kind: 'VariableDefinition',
4380
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
4381
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Date' } },
4382
+ },
4383
+ ],
4384
+ selectionSet: {
4385
+ kind: 'SelectionSet',
4386
+ selections: [
4387
+ {
4388
+ kind: 'Field',
4389
+ name: { kind: 'Name', value: 'trialBalance' },
4390
+ arguments: [
4391
+ {
4392
+ kind: 'Argument',
4393
+ name: { kind: 'Name', value: 'startDate' },
4394
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'startDate' } },
4395
+ },
4396
+ {
4397
+ kind: 'Argument',
4398
+ name: { kind: 'Name', value: 'endDate' },
4399
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'endDate' } },
4400
+ },
4401
+ ],
4402
+ selectionSet: {
4403
+ kind: 'SelectionSet',
4404
+ selections: [
4405
+ { kind: 'Field', name: { kind: 'Name', value: 'totalDebits' } },
4406
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCredits' } },
4407
+ {
4408
+ kind: 'Field',
4409
+ name: { kind: 'Name', value: 'rows' },
4410
+ selectionSet: {
4411
+ kind: 'SelectionSet',
4412
+ selections: [
4413
+ { kind: 'Field', name: { kind: 'Name', value: 'accountId' } },
4414
+ { kind: 'Field', name: { kind: 'Name', value: 'accountCode' } },
4415
+ { kind: 'Field', name: { kind: 'Name', value: 'accountName' } },
4416
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
4417
+ { kind: 'Field', name: { kind: 'Name', value: 'accountType' } },
4418
+ { kind: 'Field', name: { kind: 'Name', value: 'totalDebits' } },
4419
+ { kind: 'Field', name: { kind: 'Name', value: 'totalCredits' } },
4420
+ { kind: 'Field', name: { kind: 'Name', value: 'netBalance' } },
4421
+ ],
4422
+ },
4423
+ },
4424
+ ],
4425
+ },
4426
+ },
4427
+ ],
4428
+ },
4429
+ },
4430
+ ],
4431
+ } as unknown as DocumentNode<GetLedgerTrialBalanceQuery, GetLedgerTrialBalanceQueryVariables>
4432
+ export const ListLedgerUnmappedElementsDocument = {
4433
+ kind: 'Document',
4434
+ definitions: [
4435
+ {
4436
+ kind: 'OperationDefinition',
4437
+ operation: 'query',
4438
+ name: { kind: 'Name', value: 'ListLedgerUnmappedElements' },
4439
+ variableDefinitions: [
4440
+ {
4441
+ kind: 'VariableDefinition',
4442
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
4443
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
4444
+ },
4445
+ ],
4446
+ selectionSet: {
4447
+ kind: 'SelectionSet',
4448
+ selections: [
4449
+ {
4450
+ kind: 'Field',
4451
+ name: { kind: 'Name', value: 'unmappedElements' },
4452
+ arguments: [
4453
+ {
4454
+ kind: 'Argument',
4455
+ name: { kind: 'Name', value: 'mappingId' },
4456
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'mappingId' } },
4457
+ },
4458
+ ],
4459
+ selectionSet: {
4460
+ kind: 'SelectionSet',
4461
+ selections: [
4462
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
4463
+ { kind: 'Field', name: { kind: 'Name', value: 'code' } },
4464
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
4465
+ { kind: 'Field', name: { kind: 'Name', value: 'classification' } },
4466
+ { kind: 'Field', name: { kind: 'Name', value: 'balanceType' } },
4467
+ { kind: 'Field', name: { kind: 'Name', value: 'externalSource' } },
4468
+ {
4469
+ kind: 'Field',
4470
+ name: { kind: 'Name', value: 'suggestedTargets' },
4471
+ selectionSet: {
4472
+ kind: 'SelectionSet',
4473
+ selections: [
4474
+ { kind: 'Field', name: { kind: 'Name', value: 'elementId' } },
4475
+ { kind: 'Field', name: { kind: 'Name', value: 'qname' } },
4476
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
4477
+ { kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
4478
+ ],
4479
+ },
4480
+ },
4481
+ ],
4482
+ },
4483
+ },
4484
+ ],
4485
+ },
4486
+ },
4487
+ ],
4488
+ } as unknown as DocumentNode<
4489
+ ListLedgerUnmappedElementsQuery,
4490
+ ListLedgerUnmappedElementsQueryVariables
4491
+ >