@robosystems/client 0.2.35 → 0.2.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types.gen.ts CHANGED
@@ -100,6 +100,139 @@ export type AccountInfo = {
100
100
  provider_account_id: string;
101
101
  };
102
102
 
103
+ /**
104
+ * AccountListResponse
105
+ */
106
+ export type AccountListResponse = {
107
+ /**
108
+ * Accounts
109
+ */
110
+ accounts: Array<AccountResponse>;
111
+ pagination: PaginationInfo;
112
+ };
113
+
114
+ /**
115
+ * AccountResponse
116
+ */
117
+ export type AccountResponse = {
118
+ /**
119
+ * Id
120
+ */
121
+ id: string;
122
+ /**
123
+ * Code
124
+ */
125
+ code: string;
126
+ /**
127
+ * Name
128
+ */
129
+ name: string;
130
+ /**
131
+ * Description
132
+ */
133
+ description?: string | null;
134
+ /**
135
+ * Classification
136
+ */
137
+ classification: string;
138
+ /**
139
+ * Sub Classification
140
+ */
141
+ sub_classification?: string | null;
142
+ /**
143
+ * Balance Type
144
+ */
145
+ balance_type: string;
146
+ /**
147
+ * Parent Id
148
+ */
149
+ parent_id?: string | null;
150
+ /**
151
+ * Depth
152
+ */
153
+ depth: number;
154
+ /**
155
+ * Currency
156
+ */
157
+ currency: string;
158
+ /**
159
+ * Is Active
160
+ */
161
+ is_active: boolean;
162
+ /**
163
+ * Is Placeholder
164
+ */
165
+ is_placeholder: boolean;
166
+ /**
167
+ * Account Type
168
+ */
169
+ account_type?: string | null;
170
+ /**
171
+ * External Id
172
+ */
173
+ external_id?: string | null;
174
+ /**
175
+ * External Source
176
+ */
177
+ external_source?: string | null;
178
+ };
179
+
180
+ /**
181
+ * AccountTreeNode
182
+ */
183
+ export type AccountTreeNode = {
184
+ /**
185
+ * Id
186
+ */
187
+ id: string;
188
+ /**
189
+ * Code
190
+ */
191
+ code: string;
192
+ /**
193
+ * Name
194
+ */
195
+ name: string;
196
+ /**
197
+ * Classification
198
+ */
199
+ classification: string;
200
+ /**
201
+ * Account Type
202
+ */
203
+ account_type?: string | null;
204
+ /**
205
+ * Balance Type
206
+ */
207
+ balance_type: string;
208
+ /**
209
+ * Depth
210
+ */
211
+ depth: number;
212
+ /**
213
+ * Is Active
214
+ */
215
+ is_active: boolean;
216
+ /**
217
+ * Children
218
+ */
219
+ children?: Array<AccountTreeNode>;
220
+ };
221
+
222
+ /**
223
+ * AccountTreeResponse
224
+ */
225
+ export type AccountTreeResponse = {
226
+ /**
227
+ * Roots
228
+ */
229
+ roots: Array<AccountTreeNode>;
230
+ /**
231
+ * Total Accounts
232
+ */
233
+ total_accounts: number;
234
+ };
235
+
103
236
  /**
104
237
  * AgentListResponse
105
238
  *
@@ -899,6 +1032,46 @@ export type BillingCustomer = {
899
1032
  created_at: string;
900
1033
  };
901
1034
 
1035
+ /**
1036
+ * BulkDocumentUploadRequest
1037
+ *
1038
+ * Bulk upload multiple markdown documents.
1039
+ */
1040
+ export type BulkDocumentUploadRequest = {
1041
+ /**
1042
+ * Documents
1043
+ *
1044
+ * Documents to upload (max 50)
1045
+ */
1046
+ documents: Array<DocumentUploadRequest>;
1047
+ };
1048
+
1049
+ /**
1050
+ * BulkDocumentUploadResponse
1051
+ *
1052
+ * Response from bulk document upload.
1053
+ */
1054
+ export type BulkDocumentUploadResponse = {
1055
+ /**
1056
+ * Total Documents
1057
+ */
1058
+ total_documents: number;
1059
+ /**
1060
+ * Total Sections Indexed
1061
+ */
1062
+ total_sections_indexed: number;
1063
+ /**
1064
+ * Results
1065
+ */
1066
+ results: Array<DocumentUploadResponse>;
1067
+ /**
1068
+ * Errors
1069
+ */
1070
+ errors?: Array<{
1071
+ [key: string]: unknown;
1072
+ }> | null;
1073
+ };
1074
+
902
1075
  /**
903
1076
  * CheckoutResponse
904
1077
  *
@@ -2013,6 +2186,212 @@ export type DetailedTransactionsResponse = {
2013
2186
  };
2014
2187
  };
2015
2188
 
2189
+ /**
2190
+ * DocumentListItem
2191
+ *
2192
+ * A document in the document list.
2193
+ */
2194
+ export type DocumentListItem = {
2195
+ /**
2196
+ * Document Title
2197
+ */
2198
+ document_title: string;
2199
+ /**
2200
+ * Section Count
2201
+ */
2202
+ section_count: number;
2203
+ /**
2204
+ * Source Type
2205
+ */
2206
+ source_type: string;
2207
+ /**
2208
+ * Folder
2209
+ */
2210
+ folder?: string | null;
2211
+ /**
2212
+ * Tags
2213
+ */
2214
+ tags?: Array<string> | null;
2215
+ /**
2216
+ * Last Indexed
2217
+ */
2218
+ last_indexed?: string | null;
2219
+ };
2220
+
2221
+ /**
2222
+ * DocumentListResponse
2223
+ *
2224
+ * Response from listing indexed documents.
2225
+ */
2226
+ export type DocumentListResponse = {
2227
+ /**
2228
+ * Total
2229
+ */
2230
+ total: number;
2231
+ /**
2232
+ * Documents
2233
+ */
2234
+ documents: Array<DocumentListItem>;
2235
+ /**
2236
+ * Graph Id
2237
+ */
2238
+ graph_id: string;
2239
+ };
2240
+
2241
+ /**
2242
+ * DocumentSection
2243
+ *
2244
+ * Full document section retrieved by ID.
2245
+ */
2246
+ export type DocumentSection = {
2247
+ /**
2248
+ * Document Id
2249
+ */
2250
+ document_id: string;
2251
+ /**
2252
+ * Graph Id
2253
+ */
2254
+ graph_id: string;
2255
+ /**
2256
+ * Source Type
2257
+ */
2258
+ source_type: string;
2259
+ /**
2260
+ * Entity Ticker
2261
+ */
2262
+ entity_ticker?: string | null;
2263
+ /**
2264
+ * Entity Name
2265
+ */
2266
+ entity_name?: string | null;
2267
+ /**
2268
+ * Entity Cik
2269
+ */
2270
+ entity_cik?: string | null;
2271
+ /**
2272
+ * Section Label
2273
+ */
2274
+ section_label?: string | null;
2275
+ /**
2276
+ * Section Id
2277
+ */
2278
+ section_id?: string | null;
2279
+ /**
2280
+ * Element Qname
2281
+ */
2282
+ element_qname?: string | null;
2283
+ /**
2284
+ * Filing Date
2285
+ */
2286
+ filing_date?: string | null;
2287
+ /**
2288
+ * Fiscal Year
2289
+ */
2290
+ fiscal_year?: number | null;
2291
+ /**
2292
+ * Fiscal Period
2293
+ */
2294
+ fiscal_period?: string | null;
2295
+ /**
2296
+ * Form Type
2297
+ */
2298
+ form_type?: string | null;
2299
+ /**
2300
+ * Accession Number
2301
+ */
2302
+ accession_number?: string | null;
2303
+ /**
2304
+ * Xbrl Elements
2305
+ */
2306
+ xbrl_elements?: Array<string> | null;
2307
+ /**
2308
+ * Content
2309
+ */
2310
+ content: string;
2311
+ /**
2312
+ * Content Url
2313
+ */
2314
+ content_url?: string | null;
2315
+ /**
2316
+ * Content Length
2317
+ */
2318
+ content_length?: number;
2319
+ /**
2320
+ * Document Title
2321
+ */
2322
+ document_title?: string | null;
2323
+ /**
2324
+ * Tags
2325
+ */
2326
+ tags?: Array<string> | null;
2327
+ /**
2328
+ * Folder
2329
+ */
2330
+ folder?: string | null;
2331
+ };
2332
+
2333
+ /**
2334
+ * DocumentUploadRequest
2335
+ *
2336
+ * Upload a markdown document for text indexing.
2337
+ */
2338
+ export type DocumentUploadRequest = {
2339
+ /**
2340
+ * Title
2341
+ *
2342
+ * Document title
2343
+ */
2344
+ title: string;
2345
+ /**
2346
+ * Content
2347
+ *
2348
+ * Markdown content
2349
+ */
2350
+ content: string;
2351
+ /**
2352
+ * Tags
2353
+ *
2354
+ * Optional tags for filtering
2355
+ */
2356
+ tags?: Array<string> | null;
2357
+ /**
2358
+ * Folder
2359
+ *
2360
+ * Optional folder/category
2361
+ */
2362
+ folder?: string | null;
2363
+ /**
2364
+ * External Id
2365
+ *
2366
+ * Optional external identifier for upsert (e.g., Google Drive file ID)
2367
+ */
2368
+ external_id?: string | null;
2369
+ };
2370
+
2371
+ /**
2372
+ * DocumentUploadResponse
2373
+ *
2374
+ * Response from document upload.
2375
+ */
2376
+ export type DocumentUploadResponse = {
2377
+ /**
2378
+ * Document Id
2379
+ */
2380
+ document_id: string;
2381
+ /**
2382
+ * Sections Indexed
2383
+ */
2384
+ sections_indexed: number;
2385
+ /**
2386
+ * Total Content Length
2387
+ */
2388
+ total_content_length: number;
2389
+ /**
2390
+ * Section Ids
2391
+ */
2392
+ section_ids: Array<string>;
2393
+ };
2394
+
2016
2395
  /**
2017
2396
  * DownloadQuota
2018
2397
  *
@@ -3430,25 +3809,414 @@ export type InvoicesResponse = {
3430
3809
  };
3431
3810
 
3432
3811
  /**
3433
- * ListSubgraphsResponse
3812
+ * LedgerEntityResponse
3434
3813
  *
3435
- * Response model for listing subgraphs.
3814
+ * Entity details from the extensions OLTP database.
3436
3815
  */
3437
- export type ListSubgraphsResponse = {
3816
+ export type LedgerEntityResponse = {
3438
3817
  /**
3439
- * Parent Graph Id
3440
- *
3441
- * Parent graph identifier
3818
+ * Id
3442
3819
  */
3443
- parent_graph_id: string;
3820
+ id: string;
3444
3821
  /**
3445
- * Parent Graph Name
3446
- *
3447
- * Parent graph name
3822
+ * Name
3448
3823
  */
3449
- parent_graph_name: string;
3824
+ name: string;
3450
3825
  /**
3451
- * Parent Graph Tier
3826
+ * Legal Name
3827
+ */
3828
+ legal_name?: string | null;
3829
+ /**
3830
+ * Uri
3831
+ */
3832
+ uri?: string | null;
3833
+ /**
3834
+ * Cik
3835
+ */
3836
+ cik?: string | null;
3837
+ /**
3838
+ * Ticker
3839
+ */
3840
+ ticker?: string | null;
3841
+ /**
3842
+ * Exchange
3843
+ */
3844
+ exchange?: string | null;
3845
+ /**
3846
+ * Sic
3847
+ */
3848
+ sic?: string | null;
3849
+ /**
3850
+ * Sic Description
3851
+ */
3852
+ sic_description?: string | null;
3853
+ /**
3854
+ * Category
3855
+ */
3856
+ category?: string | null;
3857
+ /**
3858
+ * State Of Incorporation
3859
+ */
3860
+ state_of_incorporation?: string | null;
3861
+ /**
3862
+ * Fiscal Year End
3863
+ */
3864
+ fiscal_year_end?: string | null;
3865
+ /**
3866
+ * Tax Id
3867
+ */
3868
+ tax_id?: string | null;
3869
+ /**
3870
+ * Lei
3871
+ */
3872
+ lei?: string | null;
3873
+ /**
3874
+ * Industry
3875
+ */
3876
+ industry?: string | null;
3877
+ /**
3878
+ * Entity Type
3879
+ */
3880
+ entity_type?: string | null;
3881
+ /**
3882
+ * Phone
3883
+ */
3884
+ phone?: string | null;
3885
+ /**
3886
+ * Website
3887
+ */
3888
+ website?: string | null;
3889
+ /**
3890
+ * Status
3891
+ */
3892
+ status?: string;
3893
+ /**
3894
+ * Is Parent
3895
+ */
3896
+ is_parent?: boolean;
3897
+ /**
3898
+ * Parent Entity Id
3899
+ */
3900
+ parent_entity_id?: string | null;
3901
+ /**
3902
+ * Source
3903
+ */
3904
+ source?: string;
3905
+ /**
3906
+ * Source Id
3907
+ */
3908
+ source_id?: string | null;
3909
+ /**
3910
+ * Connection Id
3911
+ */
3912
+ connection_id?: string | null;
3913
+ /**
3914
+ * Address Line1
3915
+ */
3916
+ address_line1?: string | null;
3917
+ /**
3918
+ * Address City
3919
+ */
3920
+ address_city?: string | null;
3921
+ /**
3922
+ * Address State
3923
+ */
3924
+ address_state?: string | null;
3925
+ /**
3926
+ * Address Postal Code
3927
+ */
3928
+ address_postal_code?: string | null;
3929
+ /**
3930
+ * Address Country
3931
+ */
3932
+ address_country?: string | null;
3933
+ /**
3934
+ * Created At
3935
+ */
3936
+ created_at?: string | null;
3937
+ /**
3938
+ * Updated At
3939
+ */
3940
+ updated_at?: string | null;
3941
+ };
3942
+
3943
+ /**
3944
+ * LedgerEntryResponse
3945
+ */
3946
+ export type LedgerEntryResponse = {
3947
+ /**
3948
+ * Id
3949
+ */
3950
+ id: string;
3951
+ /**
3952
+ * Number
3953
+ */
3954
+ number?: string | null;
3955
+ /**
3956
+ * Type
3957
+ */
3958
+ type: string;
3959
+ /**
3960
+ * Posting Date
3961
+ */
3962
+ posting_date: string;
3963
+ /**
3964
+ * Memo
3965
+ */
3966
+ memo?: string | null;
3967
+ /**
3968
+ * Status
3969
+ */
3970
+ status: string;
3971
+ /**
3972
+ * Posted At
3973
+ */
3974
+ posted_at?: string | null;
3975
+ /**
3976
+ * Line Items
3977
+ */
3978
+ line_items: Array<LedgerLineItemResponse>;
3979
+ };
3980
+
3981
+ /**
3982
+ * LedgerLineItemResponse
3983
+ */
3984
+ export type LedgerLineItemResponse = {
3985
+ /**
3986
+ * Id
3987
+ */
3988
+ id: string;
3989
+ /**
3990
+ * Account Id
3991
+ */
3992
+ account_id: string;
3993
+ /**
3994
+ * Account Name
3995
+ */
3996
+ account_name?: string | null;
3997
+ /**
3998
+ * Account Code
3999
+ */
4000
+ account_code?: string | null;
4001
+ /**
4002
+ * Debit Amount
4003
+ */
4004
+ debit_amount: number;
4005
+ /**
4006
+ * Credit Amount
4007
+ */
4008
+ credit_amount: number;
4009
+ /**
4010
+ * Description
4011
+ */
4012
+ description?: string | null;
4013
+ /**
4014
+ * Line Order
4015
+ */
4016
+ line_order: number;
4017
+ };
4018
+
4019
+ /**
4020
+ * LedgerSummaryResponse
4021
+ */
4022
+ export type LedgerSummaryResponse = {
4023
+ /**
4024
+ * Graph Id
4025
+ */
4026
+ graph_id: string;
4027
+ /**
4028
+ * Account Count
4029
+ */
4030
+ account_count: number;
4031
+ /**
4032
+ * Transaction Count
4033
+ */
4034
+ transaction_count: number;
4035
+ /**
4036
+ * Entry Count
4037
+ */
4038
+ entry_count: number;
4039
+ /**
4040
+ * Line Item Count
4041
+ */
4042
+ line_item_count: number;
4043
+ /**
4044
+ * Earliest Transaction Date
4045
+ */
4046
+ earliest_transaction_date?: string | null;
4047
+ /**
4048
+ * Latest Transaction Date
4049
+ */
4050
+ latest_transaction_date?: string | null;
4051
+ /**
4052
+ * Connection Count
4053
+ */
4054
+ connection_count?: number;
4055
+ /**
4056
+ * Last Sync At
4057
+ */
4058
+ last_sync_at?: string | null;
4059
+ };
4060
+
4061
+ /**
4062
+ * LedgerTransactionDetailResponse
4063
+ */
4064
+ export type LedgerTransactionDetailResponse = {
4065
+ /**
4066
+ * Id
4067
+ */
4068
+ id: string;
4069
+ /**
4070
+ * Number
4071
+ */
4072
+ number?: string | null;
4073
+ /**
4074
+ * Type
4075
+ */
4076
+ type: string;
4077
+ /**
4078
+ * Category
4079
+ */
4080
+ category?: string | null;
4081
+ /**
4082
+ * Amount
4083
+ */
4084
+ amount: number;
4085
+ /**
4086
+ * Currency
4087
+ */
4088
+ currency: string;
4089
+ /**
4090
+ * Date
4091
+ */
4092
+ date: string;
4093
+ /**
4094
+ * Due Date
4095
+ */
4096
+ due_date?: string | null;
4097
+ /**
4098
+ * Merchant Name
4099
+ */
4100
+ merchant_name?: string | null;
4101
+ /**
4102
+ * Reference Number
4103
+ */
4104
+ reference_number?: string | null;
4105
+ /**
4106
+ * Description
4107
+ */
4108
+ description?: string | null;
4109
+ /**
4110
+ * Source
4111
+ */
4112
+ source: string;
4113
+ /**
4114
+ * Source Id
4115
+ */
4116
+ source_id?: string | null;
4117
+ /**
4118
+ * Status
4119
+ */
4120
+ status: string;
4121
+ /**
4122
+ * Posted At
4123
+ */
4124
+ posted_at?: string | null;
4125
+ /**
4126
+ * Entries
4127
+ */
4128
+ entries: Array<LedgerEntryResponse>;
4129
+ };
4130
+
4131
+ /**
4132
+ * LedgerTransactionListResponse
4133
+ */
4134
+ export type LedgerTransactionListResponse = {
4135
+ /**
4136
+ * Transactions
4137
+ */
4138
+ transactions: Array<LedgerTransactionSummaryResponse>;
4139
+ pagination: PaginationInfo;
4140
+ };
4141
+
4142
+ /**
4143
+ * LedgerTransactionSummaryResponse
4144
+ */
4145
+ export type LedgerTransactionSummaryResponse = {
4146
+ /**
4147
+ * Id
4148
+ */
4149
+ id: string;
4150
+ /**
4151
+ * Number
4152
+ */
4153
+ number?: string | null;
4154
+ /**
4155
+ * Type
4156
+ */
4157
+ type: string;
4158
+ /**
4159
+ * Category
4160
+ */
4161
+ category?: string | null;
4162
+ /**
4163
+ * Amount
4164
+ */
4165
+ amount: number;
4166
+ /**
4167
+ * Currency
4168
+ */
4169
+ currency: string;
4170
+ /**
4171
+ * Date
4172
+ */
4173
+ date: string;
4174
+ /**
4175
+ * Due Date
4176
+ */
4177
+ due_date?: string | null;
4178
+ /**
4179
+ * Merchant Name
4180
+ */
4181
+ merchant_name?: string | null;
4182
+ /**
4183
+ * Reference Number
4184
+ */
4185
+ reference_number?: string | null;
4186
+ /**
4187
+ * Description
4188
+ */
4189
+ description?: string | null;
4190
+ /**
4191
+ * Source
4192
+ */
4193
+ source: string;
4194
+ /**
4195
+ * Status
4196
+ */
4197
+ status: string;
4198
+ };
4199
+
4200
+ /**
4201
+ * ListSubgraphsResponse
4202
+ *
4203
+ * Response model for listing subgraphs.
4204
+ */
4205
+ export type ListSubgraphsResponse = {
4206
+ /**
4207
+ * Parent Graph Id
4208
+ *
4209
+ * Parent graph identifier
4210
+ */
4211
+ parent_graph_id: string;
4212
+ /**
4213
+ * Parent Graph Name
4214
+ *
4215
+ * Parent graph name
4216
+ */
4217
+ parent_graph_name: string;
4218
+ /**
4219
+ * Parent Graph Tier
3452
4220
  *
3453
4221
  * Parent graph tier
3454
4222
  */
@@ -3607,6 +4375,12 @@ export type MaterializeRequest = {
3607
4375
  * Validate limits without executing materialization. Returns usage, limits, and warnings.
3608
4376
  */
3609
4377
  dry_run?: boolean;
4378
+ /**
4379
+ * Source
4380
+ *
4381
+ * Data source for materialization. Auto-detected from graph type if not specified. 'staged' materializes from uploaded files (generic graphs). 'extensions' materializes from the extensions OLTP database (entity graphs).
4382
+ */
4383
+ source?: string | null;
3610
4384
  };
3611
4385
 
3612
4386
  /**
@@ -4161,6 +4935,38 @@ export type OrgUsageSummary = {
4161
4935
  storage_limit_gb: number | null;
4162
4936
  };
4163
4937
 
4938
+ /**
4939
+ * PaginationInfo
4940
+ *
4941
+ * Pagination information for list responses.
4942
+ */
4943
+ export type PaginationInfo = {
4944
+ /**
4945
+ * Total
4946
+ *
4947
+ * Total number of items available
4948
+ */
4949
+ total: number;
4950
+ /**
4951
+ * Limit
4952
+ *
4953
+ * Maximum number of items returned in this response
4954
+ */
4955
+ limit: number;
4956
+ /**
4957
+ * Offset
4958
+ *
4959
+ * Number of items skipped
4960
+ */
4961
+ offset: number;
4962
+ /**
4963
+ * Has More
4964
+ *
4965
+ * Whether more items are available
4966
+ */
4967
+ has_more: boolean;
4968
+ };
4969
+
4164
4970
  /**
4165
4971
  * PasswordCheckRequest
4166
4972
  *
@@ -4825,13 +5631,191 @@ export type SchemaValidationResponse = {
4825
5631
  [key: string]: number;
4826
5632
  } | null;
4827
5633
  /**
4828
- * Compatibility
4829
- *
4830
- * Compatibility check results (only when check_compatibility specified)
5634
+ * Compatibility
5635
+ *
5636
+ * Compatibility check results (only when check_compatibility specified)
5637
+ */
5638
+ compatibility?: {
5639
+ [key: string]: unknown;
5640
+ } | null;
5641
+ };
5642
+
5643
+ /**
5644
+ * SearchHit
5645
+ *
5646
+ * A single search result with snippet.
5647
+ */
5648
+ export type SearchHit = {
5649
+ /**
5650
+ * Document Id
5651
+ */
5652
+ document_id: string;
5653
+ /**
5654
+ * Score
5655
+ */
5656
+ score: number;
5657
+ /**
5658
+ * Source Type
5659
+ */
5660
+ source_type: string;
5661
+ /**
5662
+ * Entity Ticker
5663
+ */
5664
+ entity_ticker?: string | null;
5665
+ /**
5666
+ * Entity Name
5667
+ */
5668
+ entity_name?: string | null;
5669
+ /**
5670
+ * Section Label
5671
+ */
5672
+ section_label?: string | null;
5673
+ /**
5674
+ * Section Id
5675
+ */
5676
+ section_id?: string | null;
5677
+ /**
5678
+ * Element Qname
5679
+ */
5680
+ element_qname?: string | null;
5681
+ /**
5682
+ * Filing Date
5683
+ */
5684
+ filing_date?: string | null;
5685
+ /**
5686
+ * Fiscal Year
5687
+ */
5688
+ fiscal_year?: number | null;
5689
+ /**
5690
+ * Form Type
5691
+ */
5692
+ form_type?: string | null;
5693
+ /**
5694
+ * Xbrl Elements
5695
+ */
5696
+ xbrl_elements?: Array<string> | null;
5697
+ /**
5698
+ * Snippet
5699
+ */
5700
+ snippet: string;
5701
+ /**
5702
+ * Content Length
5703
+ */
5704
+ content_length?: number;
5705
+ /**
5706
+ * Content Url
5707
+ */
5708
+ content_url?: string | null;
5709
+ /**
5710
+ * Document Title
5711
+ */
5712
+ document_title?: string | null;
5713
+ /**
5714
+ * Tags
5715
+ */
5716
+ tags?: Array<string> | null;
5717
+ /**
5718
+ * Folder
5719
+ */
5720
+ folder?: string | null;
5721
+ };
5722
+
5723
+ /**
5724
+ * SearchRequest
5725
+ *
5726
+ * Request model for document search.
5727
+ */
5728
+ export type SearchRequest = {
5729
+ /**
5730
+ * Query
5731
+ *
5732
+ * Search query
5733
+ */
5734
+ query: string;
5735
+ /**
5736
+ * Entity
5737
+ *
5738
+ * Filter by ticker, CIK, or entity name
5739
+ */
5740
+ entity?: string | null;
5741
+ /**
5742
+ * Form Type
5743
+ *
5744
+ * Filter by SEC form type (10-K, 10-Q)
5745
+ */
5746
+ form_type?: string | null;
5747
+ /**
5748
+ * Section
5749
+ *
5750
+ * Filter by section ID (item_1, item_1a, item_7, etc.)
5751
+ */
5752
+ section?: string | null;
5753
+ /**
5754
+ * Element
5755
+ *
5756
+ * Filter by XBRL element qname (e.g., us-gaap:Goodwill)
5757
+ */
5758
+ element?: string | null;
5759
+ /**
5760
+ * Source Type
5761
+ *
5762
+ * Filter by source type (xbrl_textblock, narrative_section, ixbrl_disclosure, uploaded_doc, memory)
5763
+ */
5764
+ source_type?: string | null;
5765
+ /**
5766
+ * Fiscal Year
5767
+ *
5768
+ * Filter by fiscal year
5769
+ */
5770
+ fiscal_year?: number | null;
5771
+ /**
5772
+ * Date From
5773
+ *
5774
+ * Filter filings on or after date (YYYY-MM-DD)
5775
+ */
5776
+ date_from?: string | null;
5777
+ /**
5778
+ * Date To
5779
+ *
5780
+ * Filter filings on or before date (YYYY-MM-DD)
5781
+ */
5782
+ date_to?: string | null;
5783
+ /**
5784
+ * Size
5785
+ *
5786
+ * Max results to return
5787
+ */
5788
+ size?: number;
5789
+ /**
5790
+ * Offset
5791
+ *
5792
+ * Pagination offset
5793
+ */
5794
+ offset?: number;
5795
+ };
5796
+
5797
+ /**
5798
+ * SearchResponse
5799
+ *
5800
+ * Response model for document search.
5801
+ */
5802
+ export type SearchResponse = {
5803
+ /**
5804
+ * Total
5805
+ */
5806
+ total: number;
5807
+ /**
5808
+ * Hits
5809
+ */
5810
+ hits: Array<SearchHit>;
5811
+ /**
5812
+ * Query
5813
+ */
5814
+ query: string;
5815
+ /**
5816
+ * Graph Id
4831
5817
  */
4832
- compatibility?: {
4833
- [key: string]: unknown;
4834
- } | null;
5818
+ graph_id: string;
4835
5819
  };
4836
5820
 
4837
5821
  /**
@@ -5491,6 +6475,62 @@ export type TransactionSummaryResponse = {
5491
6475
  last_transaction?: string | null;
5492
6476
  };
5493
6477
 
6478
+ /**
6479
+ * TrialBalanceResponse
6480
+ */
6481
+ export type TrialBalanceResponse = {
6482
+ /**
6483
+ * Rows
6484
+ */
6485
+ rows: Array<TrialBalanceRow>;
6486
+ /**
6487
+ * Total Debits
6488
+ */
6489
+ total_debits: number;
6490
+ /**
6491
+ * Total Credits
6492
+ */
6493
+ total_credits: number;
6494
+ };
6495
+
6496
+ /**
6497
+ * TrialBalanceRow
6498
+ */
6499
+ export type TrialBalanceRow = {
6500
+ /**
6501
+ * Account Id
6502
+ */
6503
+ account_id: string;
6504
+ /**
6505
+ * Account Code
6506
+ */
6507
+ account_code: string;
6508
+ /**
6509
+ * Account Name
6510
+ */
6511
+ account_name: string;
6512
+ /**
6513
+ * Classification
6514
+ */
6515
+ classification: string;
6516
+ /**
6517
+ * Account Type
6518
+ */
6519
+ account_type?: string | null;
6520
+ /**
6521
+ * Total Debits
6522
+ */
6523
+ total_debits: number;
6524
+ /**
6525
+ * Total Credits
6526
+ */
6527
+ total_credits: number;
6528
+ /**
6529
+ * Net Balance
6530
+ */
6531
+ net_balance: number;
6532
+ };
6533
+
5494
6534
  /**
5495
6535
  * UpcomingInvoice
5496
6536
  *
@@ -5555,6 +6595,102 @@ export type UpdateApiKeyRequest = {
5555
6595
  description?: string | null;
5556
6596
  };
5557
6597
 
6598
+ /**
6599
+ * UpdateEntityRequest
6600
+ *
6601
+ * Request to update entity details. Only provided fields are updated.
6602
+ */
6603
+ export type UpdateEntityRequest = {
6604
+ /**
6605
+ * Name
6606
+ */
6607
+ name?: string | null;
6608
+ /**
6609
+ * Legal Name
6610
+ */
6611
+ legal_name?: string | null;
6612
+ /**
6613
+ * Uri
6614
+ */
6615
+ uri?: string | null;
6616
+ /**
6617
+ * Cik
6618
+ */
6619
+ cik?: string | null;
6620
+ /**
6621
+ * Ticker
6622
+ */
6623
+ ticker?: string | null;
6624
+ /**
6625
+ * Exchange
6626
+ */
6627
+ exchange?: string | null;
6628
+ /**
6629
+ * Sic
6630
+ */
6631
+ sic?: string | null;
6632
+ /**
6633
+ * Sic Description
6634
+ */
6635
+ sic_description?: string | null;
6636
+ /**
6637
+ * Category
6638
+ */
6639
+ category?: string | null;
6640
+ /**
6641
+ * State Of Incorporation
6642
+ */
6643
+ state_of_incorporation?: string | null;
6644
+ /**
6645
+ * Fiscal Year End
6646
+ */
6647
+ fiscal_year_end?: string | null;
6648
+ /**
6649
+ * Tax Id
6650
+ */
6651
+ tax_id?: string | null;
6652
+ /**
6653
+ * Lei
6654
+ */
6655
+ lei?: string | null;
6656
+ /**
6657
+ * Industry
6658
+ */
6659
+ industry?: string | null;
6660
+ /**
6661
+ * Entity Type
6662
+ */
6663
+ entity_type?: string | null;
6664
+ /**
6665
+ * Phone
6666
+ */
6667
+ phone?: string | null;
6668
+ /**
6669
+ * Website
6670
+ */
6671
+ website?: string | null;
6672
+ /**
6673
+ * Address Line1
6674
+ */
6675
+ address_line1?: string | null;
6676
+ /**
6677
+ * Address City
6678
+ */
6679
+ address_city?: string | null;
6680
+ /**
6681
+ * Address State
6682
+ */
6683
+ address_state?: string | null;
6684
+ /**
6685
+ * Address Postal Code
6686
+ */
6687
+ address_postal_code?: string | null;
6688
+ /**
6689
+ * Address Country
6690
+ */
6691
+ address_country?: string | null;
6692
+ };
6693
+
5558
6694
  /**
5559
6695
  * UpdateMemberRoleRequest
5560
6696
  *
@@ -8921,51 +10057,244 @@ export type QueryTablesErrors = {
8921
10057
  * Validation Error
8922
10058
  */
8923
10059
  422: HttpValidationError;
8924
- /**
8925
- * Internal server error
8926
- */
8927
- 500: unknown;
10060
+ /**
10061
+ * Internal server error
10062
+ */
10063
+ 500: unknown;
10064
+ };
10065
+
10066
+ export type QueryTablesError = QueryTablesErrors[keyof QueryTablesErrors];
10067
+
10068
+ export type QueryTablesResponses = {
10069
+ /**
10070
+ * Query executed successfully
10071
+ */
10072
+ 200: TableQueryResponse;
10073
+ };
10074
+
10075
+ export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
10076
+
10077
+ export type CreateViewData = {
10078
+ body: CreateViewRequest;
10079
+ path: {
10080
+ /**
10081
+ * Graph Id
10082
+ */
10083
+ graph_id: string;
10084
+ };
10085
+ query?: never;
10086
+ url: '/v1/graphs/{graph_id}/views';
10087
+ };
10088
+
10089
+ export type CreateViewErrors = {
10090
+ /**
10091
+ * Validation Error
10092
+ */
10093
+ 422: HttpValidationError;
10094
+ };
10095
+
10096
+ export type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
10097
+
10098
+ export type CreateViewResponses = {
10099
+ /**
10100
+ * Successful Response
10101
+ */
10102
+ 200: unknown;
10103
+ };
10104
+
10105
+ export type SearchDocumentsData = {
10106
+ body: SearchRequest;
10107
+ path: {
10108
+ /**
10109
+ * Graph Id
10110
+ */
10111
+ graph_id: string;
10112
+ };
10113
+ query?: never;
10114
+ url: '/v1/graphs/{graph_id}/search';
10115
+ };
10116
+
10117
+ export type SearchDocumentsErrors = {
10118
+ /**
10119
+ * Validation Error
10120
+ */
10121
+ 422: HttpValidationError;
10122
+ };
10123
+
10124
+ export type SearchDocumentsError = SearchDocumentsErrors[keyof SearchDocumentsErrors];
10125
+
10126
+ export type SearchDocumentsResponses = {
10127
+ /**
10128
+ * Successful Response
10129
+ */
10130
+ 200: SearchResponse;
10131
+ };
10132
+
10133
+ export type SearchDocumentsResponse = SearchDocumentsResponses[keyof SearchDocumentsResponses];
10134
+
10135
+ export type GetDocumentSectionData = {
10136
+ body?: never;
10137
+ path: {
10138
+ /**
10139
+ * Graph Id
10140
+ */
10141
+ graph_id: string;
10142
+ /**
10143
+ * Document Id
10144
+ */
10145
+ document_id: string;
10146
+ };
10147
+ query?: never;
10148
+ url: '/v1/graphs/{graph_id}/search/{document_id}';
10149
+ };
10150
+
10151
+ export type GetDocumentSectionErrors = {
10152
+ /**
10153
+ * Validation Error
10154
+ */
10155
+ 422: HttpValidationError;
10156
+ };
10157
+
10158
+ export type GetDocumentSectionError = GetDocumentSectionErrors[keyof GetDocumentSectionErrors];
10159
+
10160
+ export type GetDocumentSectionResponses = {
10161
+ /**
10162
+ * Successful Response
10163
+ */
10164
+ 200: DocumentSection;
10165
+ };
10166
+
10167
+ export type GetDocumentSectionResponse = GetDocumentSectionResponses[keyof GetDocumentSectionResponses];
10168
+
10169
+ export type ListDocumentsData = {
10170
+ body?: never;
10171
+ path: {
10172
+ /**
10173
+ * Graph Id
10174
+ */
10175
+ graph_id: string;
10176
+ };
10177
+ query?: {
10178
+ /**
10179
+ * Source Type
10180
+ */
10181
+ source_type?: string | null;
10182
+ };
10183
+ url: '/v1/graphs/{graph_id}/documents';
10184
+ };
10185
+
10186
+ export type ListDocumentsErrors = {
10187
+ /**
10188
+ * Validation Error
10189
+ */
10190
+ 422: HttpValidationError;
10191
+ };
10192
+
10193
+ export type ListDocumentsError = ListDocumentsErrors[keyof ListDocumentsErrors];
10194
+
10195
+ export type ListDocumentsResponses = {
10196
+ /**
10197
+ * Successful Response
10198
+ */
10199
+ 200: DocumentListResponse;
10200
+ };
10201
+
10202
+ export type ListDocumentsResponse = ListDocumentsResponses[keyof ListDocumentsResponses];
10203
+
10204
+ export type UploadDocumentData = {
10205
+ body: DocumentUploadRequest;
10206
+ path: {
10207
+ /**
10208
+ * Graph Id
10209
+ */
10210
+ graph_id: string;
10211
+ };
10212
+ query?: never;
10213
+ url: '/v1/graphs/{graph_id}/documents';
10214
+ };
10215
+
10216
+ export type UploadDocumentErrors = {
10217
+ /**
10218
+ * Validation Error
10219
+ */
10220
+ 422: HttpValidationError;
10221
+ };
10222
+
10223
+ export type UploadDocumentError = UploadDocumentErrors[keyof UploadDocumentErrors];
10224
+
10225
+ export type UploadDocumentResponses = {
10226
+ /**
10227
+ * Successful Response
10228
+ */
10229
+ 200: DocumentUploadResponse;
10230
+ };
10231
+
10232
+ export type UploadDocumentResponse = UploadDocumentResponses[keyof UploadDocumentResponses];
10233
+
10234
+ export type UploadDocumentsBulkData = {
10235
+ body: BulkDocumentUploadRequest;
10236
+ path: {
10237
+ /**
10238
+ * Graph Id
10239
+ */
10240
+ graph_id: string;
10241
+ };
10242
+ query?: never;
10243
+ url: '/v1/graphs/{graph_id}/documents/bulk';
10244
+ };
10245
+
10246
+ export type UploadDocumentsBulkErrors = {
10247
+ /**
10248
+ * Validation Error
10249
+ */
10250
+ 422: HttpValidationError;
8928
10251
  };
8929
10252
 
8930
- export type QueryTablesError = QueryTablesErrors[keyof QueryTablesErrors];
10253
+ export type UploadDocumentsBulkError = UploadDocumentsBulkErrors[keyof UploadDocumentsBulkErrors];
8931
10254
 
8932
- export type QueryTablesResponses = {
10255
+ export type UploadDocumentsBulkResponses = {
8933
10256
  /**
8934
- * Query executed successfully
10257
+ * Successful Response
8935
10258
  */
8936
- 200: TableQueryResponse;
10259
+ 200: BulkDocumentUploadResponse;
8937
10260
  };
8938
10261
 
8939
- export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
10262
+ export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
8940
10263
 
8941
- export type CreateViewData = {
8942
- body: CreateViewRequest;
10264
+ export type DeleteDocumentData = {
10265
+ body?: never;
8943
10266
  path: {
8944
10267
  /**
8945
10268
  * Graph Id
8946
10269
  */
8947
10270
  graph_id: string;
10271
+ /**
10272
+ * Document Id
10273
+ */
10274
+ document_id: string;
8948
10275
  };
8949
10276
  query?: never;
8950
- url: '/v1/graphs/{graph_id}/views';
10277
+ url: '/v1/graphs/{graph_id}/documents/{document_id}';
8951
10278
  };
8952
10279
 
8953
- export type CreateViewErrors = {
10280
+ export type DeleteDocumentErrors = {
8954
10281
  /**
8955
10282
  * Validation Error
8956
10283
  */
8957
10284
  422: HttpValidationError;
8958
10285
  };
8959
10286
 
8960
- export type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
10287
+ export type DeleteDocumentError = DeleteDocumentErrors[keyof DeleteDocumentErrors];
8961
10288
 
8962
- export type CreateViewResponses = {
10289
+ export type DeleteDocumentResponses = {
8963
10290
  /**
8964
10291
  * Successful Response
8965
10292
  */
8966
- 200: unknown;
10293
+ 204: void;
8967
10294
  };
8968
10295
 
10296
+ export type DeleteDocumentResponse = DeleteDocumentResponses[keyof DeleteDocumentResponses];
10297
+
8969
10298
  export type GetMaterializationStatusData = {
8970
10299
  body?: never;
8971
10300
  path: {
@@ -9969,3 +11298,308 @@ export type GetCheckoutStatusResponses = {
9969
11298
  };
9970
11299
 
9971
11300
  export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
11301
+
11302
+ export type GetLedgerEntityData = {
11303
+ body?: never;
11304
+ path: {
11305
+ /**
11306
+ * Graph Id
11307
+ */
11308
+ graph_id: string;
11309
+ };
11310
+ query?: never;
11311
+ url: '/v1/ledger/{graph_id}/entity';
11312
+ };
11313
+
11314
+ export type GetLedgerEntityErrors = {
11315
+ /**
11316
+ * Validation Error
11317
+ */
11318
+ 422: HttpValidationError;
11319
+ };
11320
+
11321
+ export type GetLedgerEntityError = GetLedgerEntityErrors[keyof GetLedgerEntityErrors];
11322
+
11323
+ export type GetLedgerEntityResponses = {
11324
+ /**
11325
+ * Successful Response
11326
+ */
11327
+ 200: LedgerEntityResponse;
11328
+ };
11329
+
11330
+ export type GetLedgerEntityResponse = GetLedgerEntityResponses[keyof GetLedgerEntityResponses];
11331
+
11332
+ export type UpdateLedgerEntityData = {
11333
+ body: UpdateEntityRequest;
11334
+ path: {
11335
+ /**
11336
+ * Graph Id
11337
+ */
11338
+ graph_id: string;
11339
+ };
11340
+ query?: never;
11341
+ url: '/v1/ledger/{graph_id}/entity';
11342
+ };
11343
+
11344
+ export type UpdateLedgerEntityErrors = {
11345
+ /**
11346
+ * Validation Error
11347
+ */
11348
+ 422: HttpValidationError;
11349
+ };
11350
+
11351
+ export type UpdateLedgerEntityError = UpdateLedgerEntityErrors[keyof UpdateLedgerEntityErrors];
11352
+
11353
+ export type UpdateLedgerEntityResponses = {
11354
+ /**
11355
+ * Successful Response
11356
+ */
11357
+ 200: LedgerEntityResponse;
11358
+ };
11359
+
11360
+ export type UpdateLedgerEntityResponse = UpdateLedgerEntityResponses[keyof UpdateLedgerEntityResponses];
11361
+
11362
+ export type ListLedgerAccountsData = {
11363
+ body?: never;
11364
+ path: {
11365
+ /**
11366
+ * Graph Id
11367
+ */
11368
+ graph_id: string;
11369
+ };
11370
+ query?: {
11371
+ /**
11372
+ * Classification
11373
+ *
11374
+ * Filter by classification
11375
+ */
11376
+ classification?: string | null;
11377
+ /**
11378
+ * Is Active
11379
+ *
11380
+ * Filter by active status
11381
+ */
11382
+ is_active?: boolean | null;
11383
+ /**
11384
+ * Limit
11385
+ */
11386
+ limit?: number;
11387
+ /**
11388
+ * Offset
11389
+ */
11390
+ offset?: number;
11391
+ };
11392
+ url: '/v1/ledger/{graph_id}/accounts';
11393
+ };
11394
+
11395
+ export type ListLedgerAccountsErrors = {
11396
+ /**
11397
+ * Validation Error
11398
+ */
11399
+ 422: HttpValidationError;
11400
+ };
11401
+
11402
+ export type ListLedgerAccountsError = ListLedgerAccountsErrors[keyof ListLedgerAccountsErrors];
11403
+
11404
+ export type ListLedgerAccountsResponses = {
11405
+ /**
11406
+ * Successful Response
11407
+ */
11408
+ 200: AccountListResponse;
11409
+ };
11410
+
11411
+ export type ListLedgerAccountsResponse = ListLedgerAccountsResponses[keyof ListLedgerAccountsResponses];
11412
+
11413
+ export type GetLedgerAccountTreeData = {
11414
+ body?: never;
11415
+ path: {
11416
+ /**
11417
+ * Graph Id
11418
+ */
11419
+ graph_id: string;
11420
+ };
11421
+ query?: never;
11422
+ url: '/v1/ledger/{graph_id}/accounts/tree';
11423
+ };
11424
+
11425
+ export type GetLedgerAccountTreeErrors = {
11426
+ /**
11427
+ * Validation Error
11428
+ */
11429
+ 422: HttpValidationError;
11430
+ };
11431
+
11432
+ export type GetLedgerAccountTreeError = GetLedgerAccountTreeErrors[keyof GetLedgerAccountTreeErrors];
11433
+
11434
+ export type GetLedgerAccountTreeResponses = {
11435
+ /**
11436
+ * Successful Response
11437
+ */
11438
+ 200: AccountTreeResponse;
11439
+ };
11440
+
11441
+ export type GetLedgerAccountTreeResponse = GetLedgerAccountTreeResponses[keyof GetLedgerAccountTreeResponses];
11442
+
11443
+ export type ListLedgerTransactionsData = {
11444
+ body?: never;
11445
+ path: {
11446
+ /**
11447
+ * Graph Id
11448
+ */
11449
+ graph_id: string;
11450
+ };
11451
+ query?: {
11452
+ /**
11453
+ * Type
11454
+ *
11455
+ * Filter by transaction type
11456
+ */
11457
+ type?: string | null;
11458
+ /**
11459
+ * Start Date
11460
+ *
11461
+ * Start date (inclusive)
11462
+ */
11463
+ start_date?: string | null;
11464
+ /**
11465
+ * End Date
11466
+ *
11467
+ * End date (inclusive)
11468
+ */
11469
+ end_date?: string | null;
11470
+ /**
11471
+ * Limit
11472
+ */
11473
+ limit?: number;
11474
+ /**
11475
+ * Offset
11476
+ */
11477
+ offset?: number;
11478
+ };
11479
+ url: '/v1/ledger/{graph_id}/transactions';
11480
+ };
11481
+
11482
+ export type ListLedgerTransactionsErrors = {
11483
+ /**
11484
+ * Validation Error
11485
+ */
11486
+ 422: HttpValidationError;
11487
+ };
11488
+
11489
+ export type ListLedgerTransactionsError = ListLedgerTransactionsErrors[keyof ListLedgerTransactionsErrors];
11490
+
11491
+ export type ListLedgerTransactionsResponses = {
11492
+ /**
11493
+ * Successful Response
11494
+ */
11495
+ 200: LedgerTransactionListResponse;
11496
+ };
11497
+
11498
+ export type ListLedgerTransactionsResponse = ListLedgerTransactionsResponses[keyof ListLedgerTransactionsResponses];
11499
+
11500
+ export type GetLedgerTransactionData = {
11501
+ body?: never;
11502
+ path: {
11503
+ /**
11504
+ * Graph Id
11505
+ */
11506
+ graph_id: string;
11507
+ /**
11508
+ * Transaction Id
11509
+ */
11510
+ transaction_id: string;
11511
+ };
11512
+ query?: never;
11513
+ url: '/v1/ledger/{graph_id}/transactions/{transaction_id}';
11514
+ };
11515
+
11516
+ export type GetLedgerTransactionErrors = {
11517
+ /**
11518
+ * Validation Error
11519
+ */
11520
+ 422: HttpValidationError;
11521
+ };
11522
+
11523
+ export type GetLedgerTransactionError = GetLedgerTransactionErrors[keyof GetLedgerTransactionErrors];
11524
+
11525
+ export type GetLedgerTransactionResponses = {
11526
+ /**
11527
+ * Successful Response
11528
+ */
11529
+ 200: LedgerTransactionDetailResponse;
11530
+ };
11531
+
11532
+ export type GetLedgerTransactionResponse = GetLedgerTransactionResponses[keyof GetLedgerTransactionResponses];
11533
+
11534
+ export type GetLedgerTrialBalanceData = {
11535
+ body?: never;
11536
+ path: {
11537
+ /**
11538
+ * Graph Id
11539
+ */
11540
+ graph_id: string;
11541
+ };
11542
+ query?: {
11543
+ /**
11544
+ * Start Date
11545
+ *
11546
+ * Start date (inclusive)
11547
+ */
11548
+ start_date?: string | null;
11549
+ /**
11550
+ * End Date
11551
+ *
11552
+ * End date (inclusive)
11553
+ */
11554
+ end_date?: string | null;
11555
+ };
11556
+ url: '/v1/ledger/{graph_id}/trial-balance';
11557
+ };
11558
+
11559
+ export type GetLedgerTrialBalanceErrors = {
11560
+ /**
11561
+ * Validation Error
11562
+ */
11563
+ 422: HttpValidationError;
11564
+ };
11565
+
11566
+ export type GetLedgerTrialBalanceError = GetLedgerTrialBalanceErrors[keyof GetLedgerTrialBalanceErrors];
11567
+
11568
+ export type GetLedgerTrialBalanceResponses = {
11569
+ /**
11570
+ * Successful Response
11571
+ */
11572
+ 200: TrialBalanceResponse;
11573
+ };
11574
+
11575
+ export type GetLedgerTrialBalanceResponse = GetLedgerTrialBalanceResponses[keyof GetLedgerTrialBalanceResponses];
11576
+
11577
+ export type GetLedgerSummaryData = {
11578
+ body?: never;
11579
+ path: {
11580
+ /**
11581
+ * Graph Id
11582
+ */
11583
+ graph_id: string;
11584
+ };
11585
+ query?: never;
11586
+ url: '/v1/ledger/{graph_id}/summary';
11587
+ };
11588
+
11589
+ export type GetLedgerSummaryErrors = {
11590
+ /**
11591
+ * Validation Error
11592
+ */
11593
+ 422: HttpValidationError;
11594
+ };
11595
+
11596
+ export type GetLedgerSummaryError = GetLedgerSummaryErrors[keyof GetLedgerSummaryErrors];
11597
+
11598
+ export type GetLedgerSummaryResponses = {
11599
+ /**
11600
+ * Successful Response
11601
+ */
11602
+ 200: LedgerSummaryResponse;
11603
+ };
11604
+
11605
+ export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];