@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.d.ts CHANGED
@@ -94,6 +94,135 @@ export type AccountInfo = {
94
94
  */
95
95
  provider_account_id: string;
96
96
  };
97
+ /**
98
+ * AccountListResponse
99
+ */
100
+ export type AccountListResponse = {
101
+ /**
102
+ * Accounts
103
+ */
104
+ accounts: Array<AccountResponse>;
105
+ pagination: PaginationInfo;
106
+ };
107
+ /**
108
+ * AccountResponse
109
+ */
110
+ export type AccountResponse = {
111
+ /**
112
+ * Id
113
+ */
114
+ id: string;
115
+ /**
116
+ * Code
117
+ */
118
+ code: string;
119
+ /**
120
+ * Name
121
+ */
122
+ name: string;
123
+ /**
124
+ * Description
125
+ */
126
+ description?: string | null;
127
+ /**
128
+ * Classification
129
+ */
130
+ classification: string;
131
+ /**
132
+ * Sub Classification
133
+ */
134
+ sub_classification?: string | null;
135
+ /**
136
+ * Balance Type
137
+ */
138
+ balance_type: string;
139
+ /**
140
+ * Parent Id
141
+ */
142
+ parent_id?: string | null;
143
+ /**
144
+ * Depth
145
+ */
146
+ depth: number;
147
+ /**
148
+ * Currency
149
+ */
150
+ currency: string;
151
+ /**
152
+ * Is Active
153
+ */
154
+ is_active: boolean;
155
+ /**
156
+ * Is Placeholder
157
+ */
158
+ is_placeholder: boolean;
159
+ /**
160
+ * Account Type
161
+ */
162
+ account_type?: string | null;
163
+ /**
164
+ * External Id
165
+ */
166
+ external_id?: string | null;
167
+ /**
168
+ * External Source
169
+ */
170
+ external_source?: string | null;
171
+ };
172
+ /**
173
+ * AccountTreeNode
174
+ */
175
+ export type AccountTreeNode = {
176
+ /**
177
+ * Id
178
+ */
179
+ id: string;
180
+ /**
181
+ * Code
182
+ */
183
+ code: string;
184
+ /**
185
+ * Name
186
+ */
187
+ name: string;
188
+ /**
189
+ * Classification
190
+ */
191
+ classification: string;
192
+ /**
193
+ * Account Type
194
+ */
195
+ account_type?: string | null;
196
+ /**
197
+ * Balance Type
198
+ */
199
+ balance_type: string;
200
+ /**
201
+ * Depth
202
+ */
203
+ depth: number;
204
+ /**
205
+ * Is Active
206
+ */
207
+ is_active: boolean;
208
+ /**
209
+ * Children
210
+ */
211
+ children?: Array<AccountTreeNode>;
212
+ };
213
+ /**
214
+ * AccountTreeResponse
215
+ */
216
+ export type AccountTreeResponse = {
217
+ /**
218
+ * Roots
219
+ */
220
+ roots: Array<AccountTreeNode>;
221
+ /**
222
+ * Total Accounts
223
+ */
224
+ total_accounts: number;
225
+ };
97
226
  /**
98
227
  * AgentListResponse
99
228
  *
@@ -870,6 +999,44 @@ export type BillingCustomer = {
870
999
  */
871
1000
  created_at: string;
872
1001
  };
1002
+ /**
1003
+ * BulkDocumentUploadRequest
1004
+ *
1005
+ * Bulk upload multiple markdown documents.
1006
+ */
1007
+ export type BulkDocumentUploadRequest = {
1008
+ /**
1009
+ * Documents
1010
+ *
1011
+ * Documents to upload (max 50)
1012
+ */
1013
+ documents: Array<DocumentUploadRequest>;
1014
+ };
1015
+ /**
1016
+ * BulkDocumentUploadResponse
1017
+ *
1018
+ * Response from bulk document upload.
1019
+ */
1020
+ export type BulkDocumentUploadResponse = {
1021
+ /**
1022
+ * Total Documents
1023
+ */
1024
+ total_documents: number;
1025
+ /**
1026
+ * Total Sections Indexed
1027
+ */
1028
+ total_sections_indexed: number;
1029
+ /**
1030
+ * Results
1031
+ */
1032
+ results: Array<DocumentUploadResponse>;
1033
+ /**
1034
+ * Errors
1035
+ */
1036
+ errors?: Array<{
1037
+ [key: string]: unknown;
1038
+ }> | null;
1039
+ };
873
1040
  /**
874
1041
  * CheckoutResponse
875
1042
  *
@@ -1958,6 +2125,207 @@ export type DetailedTransactionsResponse = {
1958
2125
  [key: string]: string;
1959
2126
  };
1960
2127
  };
2128
+ /**
2129
+ * DocumentListItem
2130
+ *
2131
+ * A document in the document list.
2132
+ */
2133
+ export type DocumentListItem = {
2134
+ /**
2135
+ * Document Title
2136
+ */
2137
+ document_title: string;
2138
+ /**
2139
+ * Section Count
2140
+ */
2141
+ section_count: number;
2142
+ /**
2143
+ * Source Type
2144
+ */
2145
+ source_type: string;
2146
+ /**
2147
+ * Folder
2148
+ */
2149
+ folder?: string | null;
2150
+ /**
2151
+ * Tags
2152
+ */
2153
+ tags?: Array<string> | null;
2154
+ /**
2155
+ * Last Indexed
2156
+ */
2157
+ last_indexed?: string | null;
2158
+ };
2159
+ /**
2160
+ * DocumentListResponse
2161
+ *
2162
+ * Response from listing indexed documents.
2163
+ */
2164
+ export type DocumentListResponse = {
2165
+ /**
2166
+ * Total
2167
+ */
2168
+ total: number;
2169
+ /**
2170
+ * Documents
2171
+ */
2172
+ documents: Array<DocumentListItem>;
2173
+ /**
2174
+ * Graph Id
2175
+ */
2176
+ graph_id: string;
2177
+ };
2178
+ /**
2179
+ * DocumentSection
2180
+ *
2181
+ * Full document section retrieved by ID.
2182
+ */
2183
+ export type DocumentSection = {
2184
+ /**
2185
+ * Document Id
2186
+ */
2187
+ document_id: string;
2188
+ /**
2189
+ * Graph Id
2190
+ */
2191
+ graph_id: string;
2192
+ /**
2193
+ * Source Type
2194
+ */
2195
+ source_type: string;
2196
+ /**
2197
+ * Entity Ticker
2198
+ */
2199
+ entity_ticker?: string | null;
2200
+ /**
2201
+ * Entity Name
2202
+ */
2203
+ entity_name?: string | null;
2204
+ /**
2205
+ * Entity Cik
2206
+ */
2207
+ entity_cik?: string | null;
2208
+ /**
2209
+ * Section Label
2210
+ */
2211
+ section_label?: string | null;
2212
+ /**
2213
+ * Section Id
2214
+ */
2215
+ section_id?: string | null;
2216
+ /**
2217
+ * Element Qname
2218
+ */
2219
+ element_qname?: string | null;
2220
+ /**
2221
+ * Filing Date
2222
+ */
2223
+ filing_date?: string | null;
2224
+ /**
2225
+ * Fiscal Year
2226
+ */
2227
+ fiscal_year?: number | null;
2228
+ /**
2229
+ * Fiscal Period
2230
+ */
2231
+ fiscal_period?: string | null;
2232
+ /**
2233
+ * Form Type
2234
+ */
2235
+ form_type?: string | null;
2236
+ /**
2237
+ * Accession Number
2238
+ */
2239
+ accession_number?: string | null;
2240
+ /**
2241
+ * Xbrl Elements
2242
+ */
2243
+ xbrl_elements?: Array<string> | null;
2244
+ /**
2245
+ * Content
2246
+ */
2247
+ content: string;
2248
+ /**
2249
+ * Content Url
2250
+ */
2251
+ content_url?: string | null;
2252
+ /**
2253
+ * Content Length
2254
+ */
2255
+ content_length?: number;
2256
+ /**
2257
+ * Document Title
2258
+ */
2259
+ document_title?: string | null;
2260
+ /**
2261
+ * Tags
2262
+ */
2263
+ tags?: Array<string> | null;
2264
+ /**
2265
+ * Folder
2266
+ */
2267
+ folder?: string | null;
2268
+ };
2269
+ /**
2270
+ * DocumentUploadRequest
2271
+ *
2272
+ * Upload a markdown document for text indexing.
2273
+ */
2274
+ export type DocumentUploadRequest = {
2275
+ /**
2276
+ * Title
2277
+ *
2278
+ * Document title
2279
+ */
2280
+ title: string;
2281
+ /**
2282
+ * Content
2283
+ *
2284
+ * Markdown content
2285
+ */
2286
+ content: string;
2287
+ /**
2288
+ * Tags
2289
+ *
2290
+ * Optional tags for filtering
2291
+ */
2292
+ tags?: Array<string> | null;
2293
+ /**
2294
+ * Folder
2295
+ *
2296
+ * Optional folder/category
2297
+ */
2298
+ folder?: string | null;
2299
+ /**
2300
+ * External Id
2301
+ *
2302
+ * Optional external identifier for upsert (e.g., Google Drive file ID)
2303
+ */
2304
+ external_id?: string | null;
2305
+ };
2306
+ /**
2307
+ * DocumentUploadResponse
2308
+ *
2309
+ * Response from document upload.
2310
+ */
2311
+ export type DocumentUploadResponse = {
2312
+ /**
2313
+ * Document Id
2314
+ */
2315
+ document_id: string;
2316
+ /**
2317
+ * Sections Indexed
2318
+ */
2319
+ sections_indexed: number;
2320
+ /**
2321
+ * Total Content Length
2322
+ */
2323
+ total_content_length: number;
2324
+ /**
2325
+ * Section Ids
2326
+ */
2327
+ section_ids: Array<string>;
2328
+ };
1961
2329
  /**
1962
2330
  * DownloadQuota
1963
2331
  *
@@ -3342,39 +3710,421 @@ export type InvoicesResponse = {
3342
3710
  has_more: boolean;
3343
3711
  };
3344
3712
  /**
3345
- * ListSubgraphsResponse
3713
+ * LedgerEntityResponse
3346
3714
  *
3347
- * Response model for listing subgraphs.
3715
+ * Entity details from the extensions OLTP database.
3348
3716
  */
3349
- export type ListSubgraphsResponse = {
3717
+ export type LedgerEntityResponse = {
3350
3718
  /**
3351
- * Parent Graph Id
3352
- *
3353
- * Parent graph identifier
3719
+ * Id
3354
3720
  */
3355
- parent_graph_id: string;
3721
+ id: string;
3356
3722
  /**
3357
- * Parent Graph Name
3358
- *
3359
- * Parent graph name
3723
+ * Name
3360
3724
  */
3361
- parent_graph_name: string;
3725
+ name: string;
3362
3726
  /**
3363
- * Parent Graph Tier
3364
- *
3365
- * Parent graph tier
3727
+ * Legal Name
3366
3728
  */
3367
- parent_graph_tier: string;
3729
+ legal_name?: string | null;
3368
3730
  /**
3369
- * Subgraphs Enabled
3370
- *
3371
- * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge or Neo4j Enterprise XLarge)
3731
+ * Uri
3372
3732
  */
3373
- subgraphs_enabled: boolean;
3733
+ uri?: string | null;
3374
3734
  /**
3375
- * Subgraph Count
3376
- *
3377
- * Total number of subgraphs
3735
+ * Cik
3736
+ */
3737
+ cik?: string | null;
3738
+ /**
3739
+ * Ticker
3740
+ */
3741
+ ticker?: string | null;
3742
+ /**
3743
+ * Exchange
3744
+ */
3745
+ exchange?: string | null;
3746
+ /**
3747
+ * Sic
3748
+ */
3749
+ sic?: string | null;
3750
+ /**
3751
+ * Sic Description
3752
+ */
3753
+ sic_description?: string | null;
3754
+ /**
3755
+ * Category
3756
+ */
3757
+ category?: string | null;
3758
+ /**
3759
+ * State Of Incorporation
3760
+ */
3761
+ state_of_incorporation?: string | null;
3762
+ /**
3763
+ * Fiscal Year End
3764
+ */
3765
+ fiscal_year_end?: string | null;
3766
+ /**
3767
+ * Tax Id
3768
+ */
3769
+ tax_id?: string | null;
3770
+ /**
3771
+ * Lei
3772
+ */
3773
+ lei?: string | null;
3774
+ /**
3775
+ * Industry
3776
+ */
3777
+ industry?: string | null;
3778
+ /**
3779
+ * Entity Type
3780
+ */
3781
+ entity_type?: string | null;
3782
+ /**
3783
+ * Phone
3784
+ */
3785
+ phone?: string | null;
3786
+ /**
3787
+ * Website
3788
+ */
3789
+ website?: string | null;
3790
+ /**
3791
+ * Status
3792
+ */
3793
+ status?: string;
3794
+ /**
3795
+ * Is Parent
3796
+ */
3797
+ is_parent?: boolean;
3798
+ /**
3799
+ * Parent Entity Id
3800
+ */
3801
+ parent_entity_id?: string | null;
3802
+ /**
3803
+ * Source
3804
+ */
3805
+ source?: string;
3806
+ /**
3807
+ * Source Id
3808
+ */
3809
+ source_id?: string | null;
3810
+ /**
3811
+ * Connection Id
3812
+ */
3813
+ connection_id?: string | null;
3814
+ /**
3815
+ * Address Line1
3816
+ */
3817
+ address_line1?: string | null;
3818
+ /**
3819
+ * Address City
3820
+ */
3821
+ address_city?: string | null;
3822
+ /**
3823
+ * Address State
3824
+ */
3825
+ address_state?: string | null;
3826
+ /**
3827
+ * Address Postal Code
3828
+ */
3829
+ address_postal_code?: string | null;
3830
+ /**
3831
+ * Address Country
3832
+ */
3833
+ address_country?: string | null;
3834
+ /**
3835
+ * Created At
3836
+ */
3837
+ created_at?: string | null;
3838
+ /**
3839
+ * Updated At
3840
+ */
3841
+ updated_at?: string | null;
3842
+ };
3843
+ /**
3844
+ * LedgerEntryResponse
3845
+ */
3846
+ export type LedgerEntryResponse = {
3847
+ /**
3848
+ * Id
3849
+ */
3850
+ id: string;
3851
+ /**
3852
+ * Number
3853
+ */
3854
+ number?: string | null;
3855
+ /**
3856
+ * Type
3857
+ */
3858
+ type: string;
3859
+ /**
3860
+ * Posting Date
3861
+ */
3862
+ posting_date: string;
3863
+ /**
3864
+ * Memo
3865
+ */
3866
+ memo?: string | null;
3867
+ /**
3868
+ * Status
3869
+ */
3870
+ status: string;
3871
+ /**
3872
+ * Posted At
3873
+ */
3874
+ posted_at?: string | null;
3875
+ /**
3876
+ * Line Items
3877
+ */
3878
+ line_items: Array<LedgerLineItemResponse>;
3879
+ };
3880
+ /**
3881
+ * LedgerLineItemResponse
3882
+ */
3883
+ export type LedgerLineItemResponse = {
3884
+ /**
3885
+ * Id
3886
+ */
3887
+ id: string;
3888
+ /**
3889
+ * Account Id
3890
+ */
3891
+ account_id: string;
3892
+ /**
3893
+ * Account Name
3894
+ */
3895
+ account_name?: string | null;
3896
+ /**
3897
+ * Account Code
3898
+ */
3899
+ account_code?: string | null;
3900
+ /**
3901
+ * Debit Amount
3902
+ */
3903
+ debit_amount: number;
3904
+ /**
3905
+ * Credit Amount
3906
+ */
3907
+ credit_amount: number;
3908
+ /**
3909
+ * Description
3910
+ */
3911
+ description?: string | null;
3912
+ /**
3913
+ * Line Order
3914
+ */
3915
+ line_order: number;
3916
+ };
3917
+ /**
3918
+ * LedgerSummaryResponse
3919
+ */
3920
+ export type LedgerSummaryResponse = {
3921
+ /**
3922
+ * Graph Id
3923
+ */
3924
+ graph_id: string;
3925
+ /**
3926
+ * Account Count
3927
+ */
3928
+ account_count: number;
3929
+ /**
3930
+ * Transaction Count
3931
+ */
3932
+ transaction_count: number;
3933
+ /**
3934
+ * Entry Count
3935
+ */
3936
+ entry_count: number;
3937
+ /**
3938
+ * Line Item Count
3939
+ */
3940
+ line_item_count: number;
3941
+ /**
3942
+ * Earliest Transaction Date
3943
+ */
3944
+ earliest_transaction_date?: string | null;
3945
+ /**
3946
+ * Latest Transaction Date
3947
+ */
3948
+ latest_transaction_date?: string | null;
3949
+ /**
3950
+ * Connection Count
3951
+ */
3952
+ connection_count?: number;
3953
+ /**
3954
+ * Last Sync At
3955
+ */
3956
+ last_sync_at?: string | null;
3957
+ };
3958
+ /**
3959
+ * LedgerTransactionDetailResponse
3960
+ */
3961
+ export type LedgerTransactionDetailResponse = {
3962
+ /**
3963
+ * Id
3964
+ */
3965
+ id: string;
3966
+ /**
3967
+ * Number
3968
+ */
3969
+ number?: string | null;
3970
+ /**
3971
+ * Type
3972
+ */
3973
+ type: string;
3974
+ /**
3975
+ * Category
3976
+ */
3977
+ category?: string | null;
3978
+ /**
3979
+ * Amount
3980
+ */
3981
+ amount: number;
3982
+ /**
3983
+ * Currency
3984
+ */
3985
+ currency: string;
3986
+ /**
3987
+ * Date
3988
+ */
3989
+ date: string;
3990
+ /**
3991
+ * Due Date
3992
+ */
3993
+ due_date?: string | null;
3994
+ /**
3995
+ * Merchant Name
3996
+ */
3997
+ merchant_name?: string | null;
3998
+ /**
3999
+ * Reference Number
4000
+ */
4001
+ reference_number?: string | null;
4002
+ /**
4003
+ * Description
4004
+ */
4005
+ description?: string | null;
4006
+ /**
4007
+ * Source
4008
+ */
4009
+ source: string;
4010
+ /**
4011
+ * Source Id
4012
+ */
4013
+ source_id?: string | null;
4014
+ /**
4015
+ * Status
4016
+ */
4017
+ status: string;
4018
+ /**
4019
+ * Posted At
4020
+ */
4021
+ posted_at?: string | null;
4022
+ /**
4023
+ * Entries
4024
+ */
4025
+ entries: Array<LedgerEntryResponse>;
4026
+ };
4027
+ /**
4028
+ * LedgerTransactionListResponse
4029
+ */
4030
+ export type LedgerTransactionListResponse = {
4031
+ /**
4032
+ * Transactions
4033
+ */
4034
+ transactions: Array<LedgerTransactionSummaryResponse>;
4035
+ pagination: PaginationInfo;
4036
+ };
4037
+ /**
4038
+ * LedgerTransactionSummaryResponse
4039
+ */
4040
+ export type LedgerTransactionSummaryResponse = {
4041
+ /**
4042
+ * Id
4043
+ */
4044
+ id: string;
4045
+ /**
4046
+ * Number
4047
+ */
4048
+ number?: string | null;
4049
+ /**
4050
+ * Type
4051
+ */
4052
+ type: string;
4053
+ /**
4054
+ * Category
4055
+ */
4056
+ category?: string | null;
4057
+ /**
4058
+ * Amount
4059
+ */
4060
+ amount: number;
4061
+ /**
4062
+ * Currency
4063
+ */
4064
+ currency: string;
4065
+ /**
4066
+ * Date
4067
+ */
4068
+ date: string;
4069
+ /**
4070
+ * Due Date
4071
+ */
4072
+ due_date?: string | null;
4073
+ /**
4074
+ * Merchant Name
4075
+ */
4076
+ merchant_name?: string | null;
4077
+ /**
4078
+ * Reference Number
4079
+ */
4080
+ reference_number?: string | null;
4081
+ /**
4082
+ * Description
4083
+ */
4084
+ description?: string | null;
4085
+ /**
4086
+ * Source
4087
+ */
4088
+ source: string;
4089
+ /**
4090
+ * Status
4091
+ */
4092
+ status: string;
4093
+ };
4094
+ /**
4095
+ * ListSubgraphsResponse
4096
+ *
4097
+ * Response model for listing subgraphs.
4098
+ */
4099
+ export type ListSubgraphsResponse = {
4100
+ /**
4101
+ * Parent Graph Id
4102
+ *
4103
+ * Parent graph identifier
4104
+ */
4105
+ parent_graph_id: string;
4106
+ /**
4107
+ * Parent Graph Name
4108
+ *
4109
+ * Parent graph name
4110
+ */
4111
+ parent_graph_name: string;
4112
+ /**
4113
+ * Parent Graph Tier
4114
+ *
4115
+ * Parent graph tier
4116
+ */
4117
+ parent_graph_tier: string;
4118
+ /**
4119
+ * Subgraphs Enabled
4120
+ *
4121
+ * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge or Neo4j Enterprise XLarge)
4122
+ */
4123
+ subgraphs_enabled: boolean;
4124
+ /**
4125
+ * Subgraph Count
4126
+ *
4127
+ * Total number of subgraphs
3378
4128
  */
3379
4129
  subgraph_count: number;
3380
4130
  /**
@@ -3514,6 +4264,12 @@ export type MaterializeRequest = {
3514
4264
  * Validate limits without executing materialization. Returns usage, limits, and warnings.
3515
4265
  */
3516
4266
  dry_run?: boolean;
4267
+ /**
4268
+ * Source
4269
+ *
4270
+ * 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).
4271
+ */
4272
+ source?: string | null;
3517
4273
  };
3518
4274
  /**
3519
4275
  * MaterializeResponse
@@ -4050,6 +4806,37 @@ export type OrgUsageSummary = {
4050
4806
  */
4051
4807
  storage_limit_gb: number | null;
4052
4808
  };
4809
+ /**
4810
+ * PaginationInfo
4811
+ *
4812
+ * Pagination information for list responses.
4813
+ */
4814
+ export type PaginationInfo = {
4815
+ /**
4816
+ * Total
4817
+ *
4818
+ * Total number of items available
4819
+ */
4820
+ total: number;
4821
+ /**
4822
+ * Limit
4823
+ *
4824
+ * Maximum number of items returned in this response
4825
+ */
4826
+ limit: number;
4827
+ /**
4828
+ * Offset
4829
+ *
4830
+ * Number of items skipped
4831
+ */
4832
+ offset: number;
4833
+ /**
4834
+ * Has More
4835
+ *
4836
+ * Whether more items are available
4837
+ */
4838
+ has_more: boolean;
4839
+ };
4053
4840
  /**
4054
4841
  * PasswordCheckRequest
4055
4842
  *
@@ -4671,33 +5458,208 @@ export type SchemaValidationResponse = {
4671
5458
  */
4672
5459
  message: string;
4673
5460
  /**
4674
- * Errors
5461
+ * Errors
5462
+ *
5463
+ * List of validation errors (only present when valid=false)
5464
+ */
5465
+ errors?: Array<string> | null;
5466
+ /**
5467
+ * Warnings
5468
+ *
5469
+ * List of validation warnings (schema is still valid but has potential issues)
5470
+ */
5471
+ warnings?: Array<string> | null;
5472
+ /**
5473
+ * Stats
5474
+ *
5475
+ * Schema statistics (only present when valid=true)
5476
+ */
5477
+ stats?: {
5478
+ [key: string]: number;
5479
+ } | null;
5480
+ /**
5481
+ * Compatibility
5482
+ *
5483
+ * Compatibility check results (only when check_compatibility specified)
5484
+ */
5485
+ compatibility?: {
5486
+ [key: string]: unknown;
5487
+ } | null;
5488
+ };
5489
+ /**
5490
+ * SearchHit
5491
+ *
5492
+ * A single search result with snippet.
5493
+ */
5494
+ export type SearchHit = {
5495
+ /**
5496
+ * Document Id
5497
+ */
5498
+ document_id: string;
5499
+ /**
5500
+ * Score
5501
+ */
5502
+ score: number;
5503
+ /**
5504
+ * Source Type
5505
+ */
5506
+ source_type: string;
5507
+ /**
5508
+ * Entity Ticker
5509
+ */
5510
+ entity_ticker?: string | null;
5511
+ /**
5512
+ * Entity Name
5513
+ */
5514
+ entity_name?: string | null;
5515
+ /**
5516
+ * Section Label
5517
+ */
5518
+ section_label?: string | null;
5519
+ /**
5520
+ * Section Id
5521
+ */
5522
+ section_id?: string | null;
5523
+ /**
5524
+ * Element Qname
5525
+ */
5526
+ element_qname?: string | null;
5527
+ /**
5528
+ * Filing Date
5529
+ */
5530
+ filing_date?: string | null;
5531
+ /**
5532
+ * Fiscal Year
5533
+ */
5534
+ fiscal_year?: number | null;
5535
+ /**
5536
+ * Form Type
5537
+ */
5538
+ form_type?: string | null;
5539
+ /**
5540
+ * Xbrl Elements
5541
+ */
5542
+ xbrl_elements?: Array<string> | null;
5543
+ /**
5544
+ * Snippet
5545
+ */
5546
+ snippet: string;
5547
+ /**
5548
+ * Content Length
5549
+ */
5550
+ content_length?: number;
5551
+ /**
5552
+ * Content Url
5553
+ */
5554
+ content_url?: string | null;
5555
+ /**
5556
+ * Document Title
5557
+ */
5558
+ document_title?: string | null;
5559
+ /**
5560
+ * Tags
5561
+ */
5562
+ tags?: Array<string> | null;
5563
+ /**
5564
+ * Folder
5565
+ */
5566
+ folder?: string | null;
5567
+ };
5568
+ /**
5569
+ * SearchRequest
5570
+ *
5571
+ * Request model for document search.
5572
+ */
5573
+ export type SearchRequest = {
5574
+ /**
5575
+ * Query
5576
+ *
5577
+ * Search query
5578
+ */
5579
+ query: string;
5580
+ /**
5581
+ * Entity
5582
+ *
5583
+ * Filter by ticker, CIK, or entity name
5584
+ */
5585
+ entity?: string | null;
5586
+ /**
5587
+ * Form Type
5588
+ *
5589
+ * Filter by SEC form type (10-K, 10-Q)
5590
+ */
5591
+ form_type?: string | null;
5592
+ /**
5593
+ * Section
5594
+ *
5595
+ * Filter by section ID (item_1, item_1a, item_7, etc.)
5596
+ */
5597
+ section?: string | null;
5598
+ /**
5599
+ * Element
5600
+ *
5601
+ * Filter by XBRL element qname (e.g., us-gaap:Goodwill)
5602
+ */
5603
+ element?: string | null;
5604
+ /**
5605
+ * Source Type
5606
+ *
5607
+ * Filter by source type (xbrl_textblock, narrative_section, ixbrl_disclosure, uploaded_doc, memory)
5608
+ */
5609
+ source_type?: string | null;
5610
+ /**
5611
+ * Fiscal Year
5612
+ *
5613
+ * Filter by fiscal year
5614
+ */
5615
+ fiscal_year?: number | null;
5616
+ /**
5617
+ * Date From
4675
5618
  *
4676
- * List of validation errors (only present when valid=false)
5619
+ * Filter filings on or after date (YYYY-MM-DD)
4677
5620
  */
4678
- errors?: Array<string> | null;
5621
+ date_from?: string | null;
4679
5622
  /**
4680
- * Warnings
5623
+ * Date To
4681
5624
  *
4682
- * List of validation warnings (schema is still valid but has potential issues)
5625
+ * Filter filings on or before date (YYYY-MM-DD)
4683
5626
  */
4684
- warnings?: Array<string> | null;
5627
+ date_to?: string | null;
4685
5628
  /**
4686
- * Stats
5629
+ * Size
4687
5630
  *
4688
- * Schema statistics (only present when valid=true)
5631
+ * Max results to return
4689
5632
  */
4690
- stats?: {
4691
- [key: string]: number;
4692
- } | null;
5633
+ size?: number;
4693
5634
  /**
4694
- * Compatibility
5635
+ * Offset
4695
5636
  *
4696
- * Compatibility check results (only when check_compatibility specified)
5637
+ * Pagination offset
4697
5638
  */
4698
- compatibility?: {
4699
- [key: string]: unknown;
4700
- } | null;
5639
+ offset?: number;
5640
+ };
5641
+ /**
5642
+ * SearchResponse
5643
+ *
5644
+ * Response model for document search.
5645
+ */
5646
+ export type SearchResponse = {
5647
+ /**
5648
+ * Total
5649
+ */
5650
+ total: number;
5651
+ /**
5652
+ * Hits
5653
+ */
5654
+ hits: Array<SearchHit>;
5655
+ /**
5656
+ * Query
5657
+ */
5658
+ query: string;
5659
+ /**
5660
+ * Graph Id
5661
+ */
5662
+ graph_id: string;
4701
5663
  };
4702
5664
  /**
4703
5665
  * SelectionCriteria
@@ -5337,6 +6299,60 @@ export type TransactionSummaryResponse = {
5337
6299
  */
5338
6300
  last_transaction?: string | null;
5339
6301
  };
6302
+ /**
6303
+ * TrialBalanceResponse
6304
+ */
6305
+ export type TrialBalanceResponse = {
6306
+ /**
6307
+ * Rows
6308
+ */
6309
+ rows: Array<TrialBalanceRow>;
6310
+ /**
6311
+ * Total Debits
6312
+ */
6313
+ total_debits: number;
6314
+ /**
6315
+ * Total Credits
6316
+ */
6317
+ total_credits: number;
6318
+ };
6319
+ /**
6320
+ * TrialBalanceRow
6321
+ */
6322
+ export type TrialBalanceRow = {
6323
+ /**
6324
+ * Account Id
6325
+ */
6326
+ account_id: string;
6327
+ /**
6328
+ * Account Code
6329
+ */
6330
+ account_code: string;
6331
+ /**
6332
+ * Account Name
6333
+ */
6334
+ account_name: string;
6335
+ /**
6336
+ * Classification
6337
+ */
6338
+ classification: string;
6339
+ /**
6340
+ * Account Type
6341
+ */
6342
+ account_type?: string | null;
6343
+ /**
6344
+ * Total Debits
6345
+ */
6346
+ total_debits: number;
6347
+ /**
6348
+ * Total Credits
6349
+ */
6350
+ total_credits: number;
6351
+ /**
6352
+ * Net Balance
6353
+ */
6354
+ net_balance: number;
6355
+ };
5340
6356
  /**
5341
6357
  * UpcomingInvoice
5342
6358
  *
@@ -5399,6 +6415,101 @@ export type UpdateApiKeyRequest = {
5399
6415
  */
5400
6416
  description?: string | null;
5401
6417
  };
6418
+ /**
6419
+ * UpdateEntityRequest
6420
+ *
6421
+ * Request to update entity details. Only provided fields are updated.
6422
+ */
6423
+ export type UpdateEntityRequest = {
6424
+ /**
6425
+ * Name
6426
+ */
6427
+ name?: string | null;
6428
+ /**
6429
+ * Legal Name
6430
+ */
6431
+ legal_name?: string | null;
6432
+ /**
6433
+ * Uri
6434
+ */
6435
+ uri?: string | null;
6436
+ /**
6437
+ * Cik
6438
+ */
6439
+ cik?: string | null;
6440
+ /**
6441
+ * Ticker
6442
+ */
6443
+ ticker?: string | null;
6444
+ /**
6445
+ * Exchange
6446
+ */
6447
+ exchange?: string | null;
6448
+ /**
6449
+ * Sic
6450
+ */
6451
+ sic?: string | null;
6452
+ /**
6453
+ * Sic Description
6454
+ */
6455
+ sic_description?: string | null;
6456
+ /**
6457
+ * Category
6458
+ */
6459
+ category?: string | null;
6460
+ /**
6461
+ * State Of Incorporation
6462
+ */
6463
+ state_of_incorporation?: string | null;
6464
+ /**
6465
+ * Fiscal Year End
6466
+ */
6467
+ fiscal_year_end?: string | null;
6468
+ /**
6469
+ * Tax Id
6470
+ */
6471
+ tax_id?: string | null;
6472
+ /**
6473
+ * Lei
6474
+ */
6475
+ lei?: string | null;
6476
+ /**
6477
+ * Industry
6478
+ */
6479
+ industry?: string | null;
6480
+ /**
6481
+ * Entity Type
6482
+ */
6483
+ entity_type?: string | null;
6484
+ /**
6485
+ * Phone
6486
+ */
6487
+ phone?: string | null;
6488
+ /**
6489
+ * Website
6490
+ */
6491
+ website?: string | null;
6492
+ /**
6493
+ * Address Line1
6494
+ */
6495
+ address_line1?: string | null;
6496
+ /**
6497
+ * Address City
6498
+ */
6499
+ address_city?: string | null;
6500
+ /**
6501
+ * Address State
6502
+ */
6503
+ address_state?: string | null;
6504
+ /**
6505
+ * Address Postal Code
6506
+ */
6507
+ address_postal_code?: string | null;
6508
+ /**
6509
+ * Address Country
6510
+ */
6511
+ address_country?: string | null;
6512
+ };
5402
6513
  /**
5403
6514
  * UpdateMemberRoleRequest
5404
6515
  *
@@ -8339,16 +9450,173 @@ export type ListTablesErrors = {
8339
9450
  export type ListTablesError = ListTablesErrors[keyof ListTablesErrors];
8340
9451
  export type ListTablesResponses = {
8341
9452
  /**
8342
- * Tables retrieved successfully with full metrics
9453
+ * Tables retrieved successfully with full metrics
9454
+ */
9455
+ 200: TableListResponse;
9456
+ };
9457
+ export type ListTablesResponse = ListTablesResponses[keyof ListTablesResponses];
9458
+ export type QueryTablesData = {
9459
+ /**
9460
+ * SQL query request
9461
+ */
9462
+ body: TableQueryRequest;
9463
+ path: {
9464
+ /**
9465
+ * Graph Id
9466
+ */
9467
+ graph_id: string;
9468
+ };
9469
+ query?: never;
9470
+ url: '/v1/graphs/{graph_id}/tables/query';
9471
+ };
9472
+ export type QueryTablesErrors = {
9473
+ /**
9474
+ * Invalid SQL query syntax or execution error
9475
+ */
9476
+ 400: ErrorResponse;
9477
+ /**
9478
+ * Not authenticated
9479
+ */
9480
+ 401: unknown;
9481
+ /**
9482
+ * Access denied - shared repositories or insufficient permissions
9483
+ */
9484
+ 403: ErrorResponse;
9485
+ /**
9486
+ * Graph not found
9487
+ */
9488
+ 404: ErrorResponse;
9489
+ /**
9490
+ * Query timeout exceeded
9491
+ */
9492
+ 408: unknown;
9493
+ /**
9494
+ * Validation Error
9495
+ */
9496
+ 422: HttpValidationError;
9497
+ /**
9498
+ * Internal server error
9499
+ */
9500
+ 500: unknown;
9501
+ };
9502
+ export type QueryTablesError = QueryTablesErrors[keyof QueryTablesErrors];
9503
+ export type QueryTablesResponses = {
9504
+ /**
9505
+ * Query executed successfully
9506
+ */
9507
+ 200: TableQueryResponse;
9508
+ };
9509
+ export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
9510
+ export type CreateViewData = {
9511
+ body: CreateViewRequest;
9512
+ path: {
9513
+ /**
9514
+ * Graph Id
9515
+ */
9516
+ graph_id: string;
9517
+ };
9518
+ query?: never;
9519
+ url: '/v1/graphs/{graph_id}/views';
9520
+ };
9521
+ export type CreateViewErrors = {
9522
+ /**
9523
+ * Validation Error
9524
+ */
9525
+ 422: HttpValidationError;
9526
+ };
9527
+ export type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
9528
+ export type CreateViewResponses = {
9529
+ /**
9530
+ * Successful Response
9531
+ */
9532
+ 200: unknown;
9533
+ };
9534
+ export type SearchDocumentsData = {
9535
+ body: SearchRequest;
9536
+ path: {
9537
+ /**
9538
+ * Graph Id
9539
+ */
9540
+ graph_id: string;
9541
+ };
9542
+ query?: never;
9543
+ url: '/v1/graphs/{graph_id}/search';
9544
+ };
9545
+ export type SearchDocumentsErrors = {
9546
+ /**
9547
+ * Validation Error
9548
+ */
9549
+ 422: HttpValidationError;
9550
+ };
9551
+ export type SearchDocumentsError = SearchDocumentsErrors[keyof SearchDocumentsErrors];
9552
+ export type SearchDocumentsResponses = {
9553
+ /**
9554
+ * Successful Response
9555
+ */
9556
+ 200: SearchResponse;
9557
+ };
9558
+ export type SearchDocumentsResponse = SearchDocumentsResponses[keyof SearchDocumentsResponses];
9559
+ export type GetDocumentSectionData = {
9560
+ body?: never;
9561
+ path: {
9562
+ /**
9563
+ * Graph Id
9564
+ */
9565
+ graph_id: string;
9566
+ /**
9567
+ * Document Id
9568
+ */
9569
+ document_id: string;
9570
+ };
9571
+ query?: never;
9572
+ url: '/v1/graphs/{graph_id}/search/{document_id}';
9573
+ };
9574
+ export type GetDocumentSectionErrors = {
9575
+ /**
9576
+ * Validation Error
9577
+ */
9578
+ 422: HttpValidationError;
9579
+ };
9580
+ export type GetDocumentSectionError = GetDocumentSectionErrors[keyof GetDocumentSectionErrors];
9581
+ export type GetDocumentSectionResponses = {
9582
+ /**
9583
+ * Successful Response
9584
+ */
9585
+ 200: DocumentSection;
9586
+ };
9587
+ export type GetDocumentSectionResponse = GetDocumentSectionResponses[keyof GetDocumentSectionResponses];
9588
+ export type ListDocumentsData = {
9589
+ body?: never;
9590
+ path: {
9591
+ /**
9592
+ * Graph Id
9593
+ */
9594
+ graph_id: string;
9595
+ };
9596
+ query?: {
9597
+ /**
9598
+ * Source Type
9599
+ */
9600
+ source_type?: string | null;
9601
+ };
9602
+ url: '/v1/graphs/{graph_id}/documents';
9603
+ };
9604
+ export type ListDocumentsErrors = {
9605
+ /**
9606
+ * Validation Error
8343
9607
  */
8344
- 200: TableListResponse;
9608
+ 422: HttpValidationError;
8345
9609
  };
8346
- export type ListTablesResponse = ListTablesResponses[keyof ListTablesResponses];
8347
- export type QueryTablesData = {
9610
+ export type ListDocumentsError = ListDocumentsErrors[keyof ListDocumentsErrors];
9611
+ export type ListDocumentsResponses = {
8348
9612
  /**
8349
- * SQL query request
9613
+ * Successful Response
8350
9614
  */
8351
- body: TableQueryRequest;
9615
+ 200: DocumentListResponse;
9616
+ };
9617
+ export type ListDocumentsResponse = ListDocumentsResponses[keyof ListDocumentsResponses];
9618
+ export type UploadDocumentData = {
9619
+ body: DocumentUploadRequest;
8352
9620
  path: {
8353
9621
  /**
8354
9622
  * Graph Id
@@ -8356,70 +9624,76 @@ export type QueryTablesData = {
8356
9624
  graph_id: string;
8357
9625
  };
8358
9626
  query?: never;
8359
- url: '/v1/graphs/{graph_id}/tables/query';
9627
+ url: '/v1/graphs/{graph_id}/documents';
8360
9628
  };
8361
- export type QueryTablesErrors = {
8362
- /**
8363
- * Invalid SQL query syntax or execution error
8364
- */
8365
- 400: ErrorResponse;
8366
- /**
8367
- * Not authenticated
8368
- */
8369
- 401: unknown;
8370
- /**
8371
- * Access denied - shared repositories or insufficient permissions
8372
- */
8373
- 403: ErrorResponse;
9629
+ export type UploadDocumentErrors = {
8374
9630
  /**
8375
- * Graph not found
9631
+ * Validation Error
8376
9632
  */
8377
- 404: ErrorResponse;
9633
+ 422: HttpValidationError;
9634
+ };
9635
+ export type UploadDocumentError = UploadDocumentErrors[keyof UploadDocumentErrors];
9636
+ export type UploadDocumentResponses = {
8378
9637
  /**
8379
- * Query timeout exceeded
9638
+ * Successful Response
8380
9639
  */
8381
- 408: unknown;
9640
+ 200: DocumentUploadResponse;
9641
+ };
9642
+ export type UploadDocumentResponse = UploadDocumentResponses[keyof UploadDocumentResponses];
9643
+ export type UploadDocumentsBulkData = {
9644
+ body: BulkDocumentUploadRequest;
9645
+ path: {
9646
+ /**
9647
+ * Graph Id
9648
+ */
9649
+ graph_id: string;
9650
+ };
9651
+ query?: never;
9652
+ url: '/v1/graphs/{graph_id}/documents/bulk';
9653
+ };
9654
+ export type UploadDocumentsBulkErrors = {
8382
9655
  /**
8383
9656
  * Validation Error
8384
9657
  */
8385
9658
  422: HttpValidationError;
8386
- /**
8387
- * Internal server error
8388
- */
8389
- 500: unknown;
8390
9659
  };
8391
- export type QueryTablesError = QueryTablesErrors[keyof QueryTablesErrors];
8392
- export type QueryTablesResponses = {
9660
+ export type UploadDocumentsBulkError = UploadDocumentsBulkErrors[keyof UploadDocumentsBulkErrors];
9661
+ export type UploadDocumentsBulkResponses = {
8393
9662
  /**
8394
- * Query executed successfully
9663
+ * Successful Response
8395
9664
  */
8396
- 200: TableQueryResponse;
9665
+ 200: BulkDocumentUploadResponse;
8397
9666
  };
8398
- export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
8399
- export type CreateViewData = {
8400
- body: CreateViewRequest;
9667
+ export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
9668
+ export type DeleteDocumentData = {
9669
+ body?: never;
8401
9670
  path: {
8402
9671
  /**
8403
9672
  * Graph Id
8404
9673
  */
8405
9674
  graph_id: string;
9675
+ /**
9676
+ * Document Id
9677
+ */
9678
+ document_id: string;
8406
9679
  };
8407
9680
  query?: never;
8408
- url: '/v1/graphs/{graph_id}/views';
9681
+ url: '/v1/graphs/{graph_id}/documents/{document_id}';
8409
9682
  };
8410
- export type CreateViewErrors = {
9683
+ export type DeleteDocumentErrors = {
8411
9684
  /**
8412
9685
  * Validation Error
8413
9686
  */
8414
9687
  422: HttpValidationError;
8415
9688
  };
8416
- export type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
8417
- export type CreateViewResponses = {
9689
+ export type DeleteDocumentError = DeleteDocumentErrors[keyof DeleteDocumentErrors];
9690
+ export type DeleteDocumentResponses = {
8418
9691
  /**
8419
9692
  * Successful Response
8420
9693
  */
8421
- 200: unknown;
9694
+ 204: void;
8422
9695
  };
9696
+ export type DeleteDocumentResponse = DeleteDocumentResponses[keyof DeleteDocumentResponses];
8423
9697
  export type GetMaterializationStatusData = {
8424
9698
  body?: never;
8425
9699
  path: {
@@ -9299,3 +10573,268 @@ export type GetCheckoutStatusResponses = {
9299
10573
  200: CheckoutStatusResponse;
9300
10574
  };
9301
10575
  export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
10576
+ export type GetLedgerEntityData = {
10577
+ body?: never;
10578
+ path: {
10579
+ /**
10580
+ * Graph Id
10581
+ */
10582
+ graph_id: string;
10583
+ };
10584
+ query?: never;
10585
+ url: '/v1/ledger/{graph_id}/entity';
10586
+ };
10587
+ export type GetLedgerEntityErrors = {
10588
+ /**
10589
+ * Validation Error
10590
+ */
10591
+ 422: HttpValidationError;
10592
+ };
10593
+ export type GetLedgerEntityError = GetLedgerEntityErrors[keyof GetLedgerEntityErrors];
10594
+ export type GetLedgerEntityResponses = {
10595
+ /**
10596
+ * Successful Response
10597
+ */
10598
+ 200: LedgerEntityResponse;
10599
+ };
10600
+ export type GetLedgerEntityResponse = GetLedgerEntityResponses[keyof GetLedgerEntityResponses];
10601
+ export type UpdateLedgerEntityData = {
10602
+ body: UpdateEntityRequest;
10603
+ path: {
10604
+ /**
10605
+ * Graph Id
10606
+ */
10607
+ graph_id: string;
10608
+ };
10609
+ query?: never;
10610
+ url: '/v1/ledger/{graph_id}/entity';
10611
+ };
10612
+ export type UpdateLedgerEntityErrors = {
10613
+ /**
10614
+ * Validation Error
10615
+ */
10616
+ 422: HttpValidationError;
10617
+ };
10618
+ export type UpdateLedgerEntityError = UpdateLedgerEntityErrors[keyof UpdateLedgerEntityErrors];
10619
+ export type UpdateLedgerEntityResponses = {
10620
+ /**
10621
+ * Successful Response
10622
+ */
10623
+ 200: LedgerEntityResponse;
10624
+ };
10625
+ export type UpdateLedgerEntityResponse = UpdateLedgerEntityResponses[keyof UpdateLedgerEntityResponses];
10626
+ export type ListLedgerAccountsData = {
10627
+ body?: never;
10628
+ path: {
10629
+ /**
10630
+ * Graph Id
10631
+ */
10632
+ graph_id: string;
10633
+ };
10634
+ query?: {
10635
+ /**
10636
+ * Classification
10637
+ *
10638
+ * Filter by classification
10639
+ */
10640
+ classification?: string | null;
10641
+ /**
10642
+ * Is Active
10643
+ *
10644
+ * Filter by active status
10645
+ */
10646
+ is_active?: boolean | null;
10647
+ /**
10648
+ * Limit
10649
+ */
10650
+ limit?: number;
10651
+ /**
10652
+ * Offset
10653
+ */
10654
+ offset?: number;
10655
+ };
10656
+ url: '/v1/ledger/{graph_id}/accounts';
10657
+ };
10658
+ export type ListLedgerAccountsErrors = {
10659
+ /**
10660
+ * Validation Error
10661
+ */
10662
+ 422: HttpValidationError;
10663
+ };
10664
+ export type ListLedgerAccountsError = ListLedgerAccountsErrors[keyof ListLedgerAccountsErrors];
10665
+ export type ListLedgerAccountsResponses = {
10666
+ /**
10667
+ * Successful Response
10668
+ */
10669
+ 200: AccountListResponse;
10670
+ };
10671
+ export type ListLedgerAccountsResponse = ListLedgerAccountsResponses[keyof ListLedgerAccountsResponses];
10672
+ export type GetLedgerAccountTreeData = {
10673
+ body?: never;
10674
+ path: {
10675
+ /**
10676
+ * Graph Id
10677
+ */
10678
+ graph_id: string;
10679
+ };
10680
+ query?: never;
10681
+ url: '/v1/ledger/{graph_id}/accounts/tree';
10682
+ };
10683
+ export type GetLedgerAccountTreeErrors = {
10684
+ /**
10685
+ * Validation Error
10686
+ */
10687
+ 422: HttpValidationError;
10688
+ };
10689
+ export type GetLedgerAccountTreeError = GetLedgerAccountTreeErrors[keyof GetLedgerAccountTreeErrors];
10690
+ export type GetLedgerAccountTreeResponses = {
10691
+ /**
10692
+ * Successful Response
10693
+ */
10694
+ 200: AccountTreeResponse;
10695
+ };
10696
+ export type GetLedgerAccountTreeResponse = GetLedgerAccountTreeResponses[keyof GetLedgerAccountTreeResponses];
10697
+ export type ListLedgerTransactionsData = {
10698
+ body?: never;
10699
+ path: {
10700
+ /**
10701
+ * Graph Id
10702
+ */
10703
+ graph_id: string;
10704
+ };
10705
+ query?: {
10706
+ /**
10707
+ * Type
10708
+ *
10709
+ * Filter by transaction type
10710
+ */
10711
+ type?: string | null;
10712
+ /**
10713
+ * Start Date
10714
+ *
10715
+ * Start date (inclusive)
10716
+ */
10717
+ start_date?: string | null;
10718
+ /**
10719
+ * End Date
10720
+ *
10721
+ * End date (inclusive)
10722
+ */
10723
+ end_date?: string | null;
10724
+ /**
10725
+ * Limit
10726
+ */
10727
+ limit?: number;
10728
+ /**
10729
+ * Offset
10730
+ */
10731
+ offset?: number;
10732
+ };
10733
+ url: '/v1/ledger/{graph_id}/transactions';
10734
+ };
10735
+ export type ListLedgerTransactionsErrors = {
10736
+ /**
10737
+ * Validation Error
10738
+ */
10739
+ 422: HttpValidationError;
10740
+ };
10741
+ export type ListLedgerTransactionsError = ListLedgerTransactionsErrors[keyof ListLedgerTransactionsErrors];
10742
+ export type ListLedgerTransactionsResponses = {
10743
+ /**
10744
+ * Successful Response
10745
+ */
10746
+ 200: LedgerTransactionListResponse;
10747
+ };
10748
+ export type ListLedgerTransactionsResponse = ListLedgerTransactionsResponses[keyof ListLedgerTransactionsResponses];
10749
+ export type GetLedgerTransactionData = {
10750
+ body?: never;
10751
+ path: {
10752
+ /**
10753
+ * Graph Id
10754
+ */
10755
+ graph_id: string;
10756
+ /**
10757
+ * Transaction Id
10758
+ */
10759
+ transaction_id: string;
10760
+ };
10761
+ query?: never;
10762
+ url: '/v1/ledger/{graph_id}/transactions/{transaction_id}';
10763
+ };
10764
+ export type GetLedgerTransactionErrors = {
10765
+ /**
10766
+ * Validation Error
10767
+ */
10768
+ 422: HttpValidationError;
10769
+ };
10770
+ export type GetLedgerTransactionError = GetLedgerTransactionErrors[keyof GetLedgerTransactionErrors];
10771
+ export type GetLedgerTransactionResponses = {
10772
+ /**
10773
+ * Successful Response
10774
+ */
10775
+ 200: LedgerTransactionDetailResponse;
10776
+ };
10777
+ export type GetLedgerTransactionResponse = GetLedgerTransactionResponses[keyof GetLedgerTransactionResponses];
10778
+ export type GetLedgerTrialBalanceData = {
10779
+ body?: never;
10780
+ path: {
10781
+ /**
10782
+ * Graph Id
10783
+ */
10784
+ graph_id: string;
10785
+ };
10786
+ query?: {
10787
+ /**
10788
+ * Start Date
10789
+ *
10790
+ * Start date (inclusive)
10791
+ */
10792
+ start_date?: string | null;
10793
+ /**
10794
+ * End Date
10795
+ *
10796
+ * End date (inclusive)
10797
+ */
10798
+ end_date?: string | null;
10799
+ };
10800
+ url: '/v1/ledger/{graph_id}/trial-balance';
10801
+ };
10802
+ export type GetLedgerTrialBalanceErrors = {
10803
+ /**
10804
+ * Validation Error
10805
+ */
10806
+ 422: HttpValidationError;
10807
+ };
10808
+ export type GetLedgerTrialBalanceError = GetLedgerTrialBalanceErrors[keyof GetLedgerTrialBalanceErrors];
10809
+ export type GetLedgerTrialBalanceResponses = {
10810
+ /**
10811
+ * Successful Response
10812
+ */
10813
+ 200: TrialBalanceResponse;
10814
+ };
10815
+ export type GetLedgerTrialBalanceResponse = GetLedgerTrialBalanceResponses[keyof GetLedgerTrialBalanceResponses];
10816
+ export type GetLedgerSummaryData = {
10817
+ body?: never;
10818
+ path: {
10819
+ /**
10820
+ * Graph Id
10821
+ */
10822
+ graph_id: string;
10823
+ };
10824
+ query?: never;
10825
+ url: '/v1/ledger/{graph_id}/summary';
10826
+ };
10827
+ export type GetLedgerSummaryErrors = {
10828
+ /**
10829
+ * Validation Error
10830
+ */
10831
+ 422: HttpValidationError;
10832
+ };
10833
+ export type GetLedgerSummaryError = GetLedgerSummaryErrors[keyof GetLedgerSummaryErrors];
10834
+ export type GetLedgerSummaryResponses = {
10835
+ /**
10836
+ * Successful Response
10837
+ */
10838
+ 200: LedgerSummaryResponse;
10839
+ };
10840
+ export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];