@robosystems/client 0.2.35 → 0.2.36

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.
@@ -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,37 +3710,288 @@ export type InvoicesResponse = {
3342
3710
  has_more: boolean;
3343
3711
  };
3344
3712
  /**
3345
- * ListSubgraphsResponse
3346
- *
3347
- * Response model for listing subgraphs.
3713
+ * LedgerEntryResponse
3348
3714
  */
3349
- export type ListSubgraphsResponse = {
3715
+ export type LedgerEntryResponse = {
3350
3716
  /**
3351
- * Parent Graph Id
3352
- *
3353
- * Parent graph identifier
3717
+ * Id
3354
3718
  */
3355
- parent_graph_id: string;
3719
+ id: string;
3356
3720
  /**
3357
- * Parent Graph Name
3358
- *
3359
- * Parent graph name
3721
+ * Number
3360
3722
  */
3361
- parent_graph_name: string;
3723
+ number?: string | null;
3362
3724
  /**
3363
- * Parent Graph Tier
3364
- *
3365
- * Parent graph tier
3725
+ * Type
3366
3726
  */
3367
- parent_graph_tier: string;
3727
+ type: string;
3368
3728
  /**
3369
- * Subgraphs Enabled
3370
- *
3371
- * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge or Neo4j Enterprise XLarge)
3729
+ * Posting Date
3372
3730
  */
3373
- subgraphs_enabled: boolean;
3731
+ posting_date: string;
3374
3732
  /**
3375
- * Subgraph Count
3733
+ * Memo
3734
+ */
3735
+ memo?: string | null;
3736
+ /**
3737
+ * Status
3738
+ */
3739
+ status: string;
3740
+ /**
3741
+ * Posted At
3742
+ */
3743
+ posted_at?: string | null;
3744
+ /**
3745
+ * Line Items
3746
+ */
3747
+ line_items: Array<LedgerLineItemResponse>;
3748
+ };
3749
+ /**
3750
+ * LedgerLineItemResponse
3751
+ */
3752
+ export type LedgerLineItemResponse = {
3753
+ /**
3754
+ * Id
3755
+ */
3756
+ id: string;
3757
+ /**
3758
+ * Account Id
3759
+ */
3760
+ account_id: string;
3761
+ /**
3762
+ * Account Name
3763
+ */
3764
+ account_name?: string | null;
3765
+ /**
3766
+ * Account Code
3767
+ */
3768
+ account_code?: string | null;
3769
+ /**
3770
+ * Debit Amount
3771
+ */
3772
+ debit_amount: number;
3773
+ /**
3774
+ * Credit Amount
3775
+ */
3776
+ credit_amount: number;
3777
+ /**
3778
+ * Description
3779
+ */
3780
+ description?: string | null;
3781
+ /**
3782
+ * Line Order
3783
+ */
3784
+ line_order: number;
3785
+ };
3786
+ /**
3787
+ * LedgerSummaryResponse
3788
+ */
3789
+ export type LedgerSummaryResponse = {
3790
+ /**
3791
+ * Graph Id
3792
+ */
3793
+ graph_id: string;
3794
+ /**
3795
+ * Account Count
3796
+ */
3797
+ account_count: number;
3798
+ /**
3799
+ * Transaction Count
3800
+ */
3801
+ transaction_count: number;
3802
+ /**
3803
+ * Entry Count
3804
+ */
3805
+ entry_count: number;
3806
+ /**
3807
+ * Line Item Count
3808
+ */
3809
+ line_item_count: number;
3810
+ /**
3811
+ * Earliest Transaction Date
3812
+ */
3813
+ earliest_transaction_date?: string | null;
3814
+ /**
3815
+ * Latest Transaction Date
3816
+ */
3817
+ latest_transaction_date?: string | null;
3818
+ /**
3819
+ * Connection Count
3820
+ */
3821
+ connection_count?: number;
3822
+ /**
3823
+ * Last Sync At
3824
+ */
3825
+ last_sync_at?: string | null;
3826
+ };
3827
+ /**
3828
+ * LedgerTransactionDetailResponse
3829
+ */
3830
+ export type LedgerTransactionDetailResponse = {
3831
+ /**
3832
+ * Id
3833
+ */
3834
+ id: string;
3835
+ /**
3836
+ * Number
3837
+ */
3838
+ number?: string | null;
3839
+ /**
3840
+ * Type
3841
+ */
3842
+ type: string;
3843
+ /**
3844
+ * Category
3845
+ */
3846
+ category?: string | null;
3847
+ /**
3848
+ * Amount
3849
+ */
3850
+ amount: number;
3851
+ /**
3852
+ * Currency
3853
+ */
3854
+ currency: string;
3855
+ /**
3856
+ * Date
3857
+ */
3858
+ date: string;
3859
+ /**
3860
+ * Due Date
3861
+ */
3862
+ due_date?: string | null;
3863
+ /**
3864
+ * Merchant Name
3865
+ */
3866
+ merchant_name?: string | null;
3867
+ /**
3868
+ * Reference Number
3869
+ */
3870
+ reference_number?: string | null;
3871
+ /**
3872
+ * Description
3873
+ */
3874
+ description?: string | null;
3875
+ /**
3876
+ * Source
3877
+ */
3878
+ source: string;
3879
+ /**
3880
+ * Source Id
3881
+ */
3882
+ source_id?: string | null;
3883
+ /**
3884
+ * Status
3885
+ */
3886
+ status: string;
3887
+ /**
3888
+ * Posted At
3889
+ */
3890
+ posted_at?: string | null;
3891
+ /**
3892
+ * Entries
3893
+ */
3894
+ entries: Array<LedgerEntryResponse>;
3895
+ };
3896
+ /**
3897
+ * LedgerTransactionListResponse
3898
+ */
3899
+ export type LedgerTransactionListResponse = {
3900
+ /**
3901
+ * Transactions
3902
+ */
3903
+ transactions: Array<LedgerTransactionSummaryResponse>;
3904
+ pagination: PaginationInfo;
3905
+ };
3906
+ /**
3907
+ * LedgerTransactionSummaryResponse
3908
+ */
3909
+ export type LedgerTransactionSummaryResponse = {
3910
+ /**
3911
+ * Id
3912
+ */
3913
+ id: string;
3914
+ /**
3915
+ * Number
3916
+ */
3917
+ number?: string | null;
3918
+ /**
3919
+ * Type
3920
+ */
3921
+ type: string;
3922
+ /**
3923
+ * Category
3924
+ */
3925
+ category?: string | null;
3926
+ /**
3927
+ * Amount
3928
+ */
3929
+ amount: number;
3930
+ /**
3931
+ * Currency
3932
+ */
3933
+ currency: string;
3934
+ /**
3935
+ * Date
3936
+ */
3937
+ date: string;
3938
+ /**
3939
+ * Due Date
3940
+ */
3941
+ due_date?: string | null;
3942
+ /**
3943
+ * Merchant Name
3944
+ */
3945
+ merchant_name?: string | null;
3946
+ /**
3947
+ * Reference Number
3948
+ */
3949
+ reference_number?: string | null;
3950
+ /**
3951
+ * Description
3952
+ */
3953
+ description?: string | null;
3954
+ /**
3955
+ * Source
3956
+ */
3957
+ source: string;
3958
+ /**
3959
+ * Status
3960
+ */
3961
+ status: string;
3962
+ };
3963
+ /**
3964
+ * ListSubgraphsResponse
3965
+ *
3966
+ * Response model for listing subgraphs.
3967
+ */
3968
+ export type ListSubgraphsResponse = {
3969
+ /**
3970
+ * Parent Graph Id
3971
+ *
3972
+ * Parent graph identifier
3973
+ */
3974
+ parent_graph_id: string;
3975
+ /**
3976
+ * Parent Graph Name
3977
+ *
3978
+ * Parent graph name
3979
+ */
3980
+ parent_graph_name: string;
3981
+ /**
3982
+ * Parent Graph Tier
3983
+ *
3984
+ * Parent graph tier
3985
+ */
3986
+ parent_graph_tier: string;
3987
+ /**
3988
+ * Subgraphs Enabled
3989
+ *
3990
+ * Whether subgraphs are enabled for this tier (requires LadybugDB Large/XLarge or Neo4j Enterprise XLarge)
3991
+ */
3992
+ subgraphs_enabled: boolean;
3993
+ /**
3994
+ * Subgraph Count
3376
3995
  *
3377
3996
  * Total number of subgraphs
3378
3997
  */
@@ -4050,6 +4669,37 @@ export type OrgUsageSummary = {
4050
4669
  */
4051
4670
  storage_limit_gb: number | null;
4052
4671
  };
4672
+ /**
4673
+ * PaginationInfo
4674
+ *
4675
+ * Pagination information for list responses.
4676
+ */
4677
+ export type PaginationInfo = {
4678
+ /**
4679
+ * Total
4680
+ *
4681
+ * Total number of items available
4682
+ */
4683
+ total: number;
4684
+ /**
4685
+ * Limit
4686
+ *
4687
+ * Maximum number of items returned in this response
4688
+ */
4689
+ limit: number;
4690
+ /**
4691
+ * Offset
4692
+ *
4693
+ * Number of items skipped
4694
+ */
4695
+ offset: number;
4696
+ /**
4697
+ * Has More
4698
+ *
4699
+ * Whether more items are available
4700
+ */
4701
+ has_more: boolean;
4702
+ };
4053
4703
  /**
4054
4704
  * PasswordCheckRequest
4055
4705
  *
@@ -4700,60 +5350,235 @@ export type SchemaValidationResponse = {
4700
5350
  } | null;
4701
5351
  };
4702
5352
  /**
4703
- * SelectionCriteria
5353
+ * SearchHit
4704
5354
  *
4705
- * Criteria for agent selection.
5355
+ * A single search result with snippet.
4706
5356
  */
4707
- export type SelectionCriteria = {
5357
+ export type SearchHit = {
4708
5358
  /**
4709
- * Min Confidence
4710
- *
4711
- * Minimum confidence score
5359
+ * Document Id
4712
5360
  */
4713
- min_confidence?: number;
5361
+ document_id: string;
4714
5362
  /**
4715
- * Required Capabilities
4716
- *
4717
- * Required agent capabilities
5363
+ * Score
4718
5364
  */
4719
- required_capabilities?: Array<string>;
5365
+ score: number;
4720
5366
  /**
4721
- * Preferred execution mode
5367
+ * Source Type
4722
5368
  */
4723
- preferred_mode?: AgentMode | null;
5369
+ source_type: string;
4724
5370
  /**
4725
- * Max Response Time
4726
- *
4727
- * Maximum response time in seconds
5371
+ * Entity Ticker
4728
5372
  */
4729
- max_response_time?: number;
5373
+ entity_ticker?: string | null;
4730
5374
  /**
4731
- * Excluded Agents
4732
- *
4733
- * Agents to exclude from selection
5375
+ * Entity Name
4734
5376
  */
4735
- excluded_agents?: Array<string>;
4736
- };
4737
- /**
4738
- * ServiceOfferingSummary
4739
- *
4740
- * Summary of service offerings.
4741
- */
4742
- export type ServiceOfferingSummary = {
5377
+ entity_name?: string | null;
4743
5378
  /**
4744
- * Total Graph Tiers
4745
- *
4746
- * Total number of graph tiers
5379
+ * Section Label
4747
5380
  */
4748
- total_graph_tiers: number;
5381
+ section_label?: string | null;
4749
5382
  /**
4750
- * Total Repositories
4751
- *
4752
- * Total number of repositories
5383
+ * Section Id
4753
5384
  */
4754
- total_repositories: number;
5385
+ section_id?: string | null;
4755
5386
  /**
4756
- * Enabled Repositories
5387
+ * Element Qname
5388
+ */
5389
+ element_qname?: string | null;
5390
+ /**
5391
+ * Filing Date
5392
+ */
5393
+ filing_date?: string | null;
5394
+ /**
5395
+ * Fiscal Year
5396
+ */
5397
+ fiscal_year?: number | null;
5398
+ /**
5399
+ * Form Type
5400
+ */
5401
+ form_type?: string | null;
5402
+ /**
5403
+ * Xbrl Elements
5404
+ */
5405
+ xbrl_elements?: Array<string> | null;
5406
+ /**
5407
+ * Snippet
5408
+ */
5409
+ snippet: string;
5410
+ /**
5411
+ * Content Length
5412
+ */
5413
+ content_length?: number;
5414
+ /**
5415
+ * Content Url
5416
+ */
5417
+ content_url?: string | null;
5418
+ /**
5419
+ * Document Title
5420
+ */
5421
+ document_title?: string | null;
5422
+ /**
5423
+ * Tags
5424
+ */
5425
+ tags?: Array<string> | null;
5426
+ /**
5427
+ * Folder
5428
+ */
5429
+ folder?: string | null;
5430
+ };
5431
+ /**
5432
+ * SearchRequest
5433
+ *
5434
+ * Request model for document search.
5435
+ */
5436
+ export type SearchRequest = {
5437
+ /**
5438
+ * Query
5439
+ *
5440
+ * Search query
5441
+ */
5442
+ query: string;
5443
+ /**
5444
+ * Entity
5445
+ *
5446
+ * Filter by ticker, CIK, or entity name
5447
+ */
5448
+ entity?: string | null;
5449
+ /**
5450
+ * Form Type
5451
+ *
5452
+ * Filter by SEC form type (10-K, 10-Q)
5453
+ */
5454
+ form_type?: string | null;
5455
+ /**
5456
+ * Section
5457
+ *
5458
+ * Filter by section ID (item_1, item_1a, item_7, etc.)
5459
+ */
5460
+ section?: string | null;
5461
+ /**
5462
+ * Element
5463
+ *
5464
+ * Filter by XBRL element qname (e.g., us-gaap:Goodwill)
5465
+ */
5466
+ element?: string | null;
5467
+ /**
5468
+ * Source Type
5469
+ *
5470
+ * Filter by source type (xbrl_textblock, narrative_section, ixbrl_disclosure, uploaded_doc, memory)
5471
+ */
5472
+ source_type?: string | null;
5473
+ /**
5474
+ * Fiscal Year
5475
+ *
5476
+ * Filter by fiscal year
5477
+ */
5478
+ fiscal_year?: number | null;
5479
+ /**
5480
+ * Date From
5481
+ *
5482
+ * Filter filings on or after date (YYYY-MM-DD)
5483
+ */
5484
+ date_from?: string | null;
5485
+ /**
5486
+ * Date To
5487
+ *
5488
+ * Filter filings on or before date (YYYY-MM-DD)
5489
+ */
5490
+ date_to?: string | null;
5491
+ /**
5492
+ * Size
5493
+ *
5494
+ * Max results to return
5495
+ */
5496
+ size?: number;
5497
+ /**
5498
+ * Offset
5499
+ *
5500
+ * Pagination offset
5501
+ */
5502
+ offset?: number;
5503
+ };
5504
+ /**
5505
+ * SearchResponse
5506
+ *
5507
+ * Response model for document search.
5508
+ */
5509
+ export type SearchResponse = {
5510
+ /**
5511
+ * Total
5512
+ */
5513
+ total: number;
5514
+ /**
5515
+ * Hits
5516
+ */
5517
+ hits: Array<SearchHit>;
5518
+ /**
5519
+ * Query
5520
+ */
5521
+ query: string;
5522
+ /**
5523
+ * Graph Id
5524
+ */
5525
+ graph_id: string;
5526
+ };
5527
+ /**
5528
+ * SelectionCriteria
5529
+ *
5530
+ * Criteria for agent selection.
5531
+ */
5532
+ export type SelectionCriteria = {
5533
+ /**
5534
+ * Min Confidence
5535
+ *
5536
+ * Minimum confidence score
5537
+ */
5538
+ min_confidence?: number;
5539
+ /**
5540
+ * Required Capabilities
5541
+ *
5542
+ * Required agent capabilities
5543
+ */
5544
+ required_capabilities?: Array<string>;
5545
+ /**
5546
+ * Preferred execution mode
5547
+ */
5548
+ preferred_mode?: AgentMode | null;
5549
+ /**
5550
+ * Max Response Time
5551
+ *
5552
+ * Maximum response time in seconds
5553
+ */
5554
+ max_response_time?: number;
5555
+ /**
5556
+ * Excluded Agents
5557
+ *
5558
+ * Agents to exclude from selection
5559
+ */
5560
+ excluded_agents?: Array<string>;
5561
+ };
5562
+ /**
5563
+ * ServiceOfferingSummary
5564
+ *
5565
+ * Summary of service offerings.
5566
+ */
5567
+ export type ServiceOfferingSummary = {
5568
+ /**
5569
+ * Total Graph Tiers
5570
+ *
5571
+ * Total number of graph tiers
5572
+ */
5573
+ total_graph_tiers: number;
5574
+ /**
5575
+ * Total Repositories
5576
+ *
5577
+ * Total number of repositories
5578
+ */
5579
+ total_repositories: number;
5580
+ /**
5581
+ * Enabled Repositories
4757
5582
  *
4758
5583
  * Number of enabled repositories
4759
5584
  */
@@ -5337,6 +6162,60 @@ export type TransactionSummaryResponse = {
5337
6162
  */
5338
6163
  last_transaction?: string | null;
5339
6164
  };
6165
+ /**
6166
+ * TrialBalanceResponse
6167
+ */
6168
+ export type TrialBalanceResponse = {
6169
+ /**
6170
+ * Rows
6171
+ */
6172
+ rows: Array<TrialBalanceRow>;
6173
+ /**
6174
+ * Total Debits
6175
+ */
6176
+ total_debits: number;
6177
+ /**
6178
+ * Total Credits
6179
+ */
6180
+ total_credits: number;
6181
+ };
6182
+ /**
6183
+ * TrialBalanceRow
6184
+ */
6185
+ export type TrialBalanceRow = {
6186
+ /**
6187
+ * Account Id
6188
+ */
6189
+ account_id: string;
6190
+ /**
6191
+ * Account Code
6192
+ */
6193
+ account_code: string;
6194
+ /**
6195
+ * Account Name
6196
+ */
6197
+ account_name: string;
6198
+ /**
6199
+ * Classification
6200
+ */
6201
+ classification: string;
6202
+ /**
6203
+ * Account Type
6204
+ */
6205
+ account_type?: string | null;
6206
+ /**
6207
+ * Total Debits
6208
+ */
6209
+ total_debits: number;
6210
+ /**
6211
+ * Total Credits
6212
+ */
6213
+ total_credits: number;
6214
+ /**
6215
+ * Net Balance
6216
+ */
6217
+ net_balance: number;
6218
+ };
5340
6219
  /**
5341
6220
  * UpcomingInvoice
5342
6221
  *
@@ -8420,6 +9299,169 @@ export type CreateViewResponses = {
8420
9299
  */
8421
9300
  200: unknown;
8422
9301
  };
9302
+ export type SearchDocumentsData = {
9303
+ body: SearchRequest;
9304
+ path: {
9305
+ /**
9306
+ * Graph Id
9307
+ */
9308
+ graph_id: string;
9309
+ };
9310
+ query?: never;
9311
+ url: '/v1/graphs/{graph_id}/search';
9312
+ };
9313
+ export type SearchDocumentsErrors = {
9314
+ /**
9315
+ * Validation Error
9316
+ */
9317
+ 422: HttpValidationError;
9318
+ };
9319
+ export type SearchDocumentsError = SearchDocumentsErrors[keyof SearchDocumentsErrors];
9320
+ export type SearchDocumentsResponses = {
9321
+ /**
9322
+ * Successful Response
9323
+ */
9324
+ 200: SearchResponse;
9325
+ };
9326
+ export type SearchDocumentsResponse = SearchDocumentsResponses[keyof SearchDocumentsResponses];
9327
+ export type GetDocumentSectionData = {
9328
+ body?: never;
9329
+ path: {
9330
+ /**
9331
+ * Graph Id
9332
+ */
9333
+ graph_id: string;
9334
+ /**
9335
+ * Document Id
9336
+ */
9337
+ document_id: string;
9338
+ };
9339
+ query?: never;
9340
+ url: '/v1/graphs/{graph_id}/search/{document_id}';
9341
+ };
9342
+ export type GetDocumentSectionErrors = {
9343
+ /**
9344
+ * Validation Error
9345
+ */
9346
+ 422: HttpValidationError;
9347
+ };
9348
+ export type GetDocumentSectionError = GetDocumentSectionErrors[keyof GetDocumentSectionErrors];
9349
+ export type GetDocumentSectionResponses = {
9350
+ /**
9351
+ * Successful Response
9352
+ */
9353
+ 200: DocumentSection;
9354
+ };
9355
+ export type GetDocumentSectionResponse = GetDocumentSectionResponses[keyof GetDocumentSectionResponses];
9356
+ export type ListDocumentsData = {
9357
+ body?: never;
9358
+ path: {
9359
+ /**
9360
+ * Graph Id
9361
+ */
9362
+ graph_id: string;
9363
+ };
9364
+ query?: {
9365
+ /**
9366
+ * Source Type
9367
+ */
9368
+ source_type?: string | null;
9369
+ };
9370
+ url: '/v1/graphs/{graph_id}/documents';
9371
+ };
9372
+ export type ListDocumentsErrors = {
9373
+ /**
9374
+ * Validation Error
9375
+ */
9376
+ 422: HttpValidationError;
9377
+ };
9378
+ export type ListDocumentsError = ListDocumentsErrors[keyof ListDocumentsErrors];
9379
+ export type ListDocumentsResponses = {
9380
+ /**
9381
+ * Successful Response
9382
+ */
9383
+ 200: DocumentListResponse;
9384
+ };
9385
+ export type ListDocumentsResponse = ListDocumentsResponses[keyof ListDocumentsResponses];
9386
+ export type UploadDocumentData = {
9387
+ body: DocumentUploadRequest;
9388
+ path: {
9389
+ /**
9390
+ * Graph Id
9391
+ */
9392
+ graph_id: string;
9393
+ };
9394
+ query?: never;
9395
+ url: '/v1/graphs/{graph_id}/documents';
9396
+ };
9397
+ export type UploadDocumentErrors = {
9398
+ /**
9399
+ * Validation Error
9400
+ */
9401
+ 422: HttpValidationError;
9402
+ };
9403
+ export type UploadDocumentError = UploadDocumentErrors[keyof UploadDocumentErrors];
9404
+ export type UploadDocumentResponses = {
9405
+ /**
9406
+ * Successful Response
9407
+ */
9408
+ 200: DocumentUploadResponse;
9409
+ };
9410
+ export type UploadDocumentResponse = UploadDocumentResponses[keyof UploadDocumentResponses];
9411
+ export type UploadDocumentsBulkData = {
9412
+ body: BulkDocumentUploadRequest;
9413
+ path: {
9414
+ /**
9415
+ * Graph Id
9416
+ */
9417
+ graph_id: string;
9418
+ };
9419
+ query?: never;
9420
+ url: '/v1/graphs/{graph_id}/documents/bulk';
9421
+ };
9422
+ export type UploadDocumentsBulkErrors = {
9423
+ /**
9424
+ * Validation Error
9425
+ */
9426
+ 422: HttpValidationError;
9427
+ };
9428
+ export type UploadDocumentsBulkError = UploadDocumentsBulkErrors[keyof UploadDocumentsBulkErrors];
9429
+ export type UploadDocumentsBulkResponses = {
9430
+ /**
9431
+ * Successful Response
9432
+ */
9433
+ 200: BulkDocumentUploadResponse;
9434
+ };
9435
+ export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
9436
+ export type DeleteDocumentData = {
9437
+ body?: never;
9438
+ path: {
9439
+ /**
9440
+ * Graph Id
9441
+ */
9442
+ graph_id: string;
9443
+ /**
9444
+ * Document Id
9445
+ */
9446
+ document_id: string;
9447
+ };
9448
+ query?: never;
9449
+ url: '/v1/graphs/{graph_id}/documents/{document_id}';
9450
+ };
9451
+ export type DeleteDocumentErrors = {
9452
+ /**
9453
+ * Validation Error
9454
+ */
9455
+ 422: HttpValidationError;
9456
+ };
9457
+ export type DeleteDocumentError = DeleteDocumentErrors[keyof DeleteDocumentErrors];
9458
+ export type DeleteDocumentResponses = {
9459
+ /**
9460
+ * Successful Response
9461
+ */
9462
+ 204: void;
9463
+ };
9464
+ export type DeleteDocumentResponse = DeleteDocumentResponses[keyof DeleteDocumentResponses];
8423
9465
  export type GetMaterializationStatusData = {
8424
9466
  body?: never;
8425
9467
  path: {
@@ -9299,3 +10341,218 @@ export type GetCheckoutStatusResponses = {
9299
10341
  200: CheckoutStatusResponse;
9300
10342
  };
9301
10343
  export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
10344
+ export type ListLedgerAccountsData = {
10345
+ body?: never;
10346
+ path: {
10347
+ /**
10348
+ * Graph Id
10349
+ */
10350
+ graph_id: string;
10351
+ };
10352
+ query?: {
10353
+ /**
10354
+ * Classification
10355
+ *
10356
+ * Filter by classification
10357
+ */
10358
+ classification?: string | null;
10359
+ /**
10360
+ * Is Active
10361
+ *
10362
+ * Filter by active status
10363
+ */
10364
+ is_active?: boolean | null;
10365
+ /**
10366
+ * Limit
10367
+ */
10368
+ limit?: number;
10369
+ /**
10370
+ * Offset
10371
+ */
10372
+ offset?: number;
10373
+ };
10374
+ url: '/v1/ledger/{graph_id}/accounts';
10375
+ };
10376
+ export type ListLedgerAccountsErrors = {
10377
+ /**
10378
+ * Validation Error
10379
+ */
10380
+ 422: HttpValidationError;
10381
+ };
10382
+ export type ListLedgerAccountsError = ListLedgerAccountsErrors[keyof ListLedgerAccountsErrors];
10383
+ export type ListLedgerAccountsResponses = {
10384
+ /**
10385
+ * Successful Response
10386
+ */
10387
+ 200: AccountListResponse;
10388
+ };
10389
+ export type ListLedgerAccountsResponse = ListLedgerAccountsResponses[keyof ListLedgerAccountsResponses];
10390
+ export type GetLedgerAccountTreeData = {
10391
+ body?: never;
10392
+ path: {
10393
+ /**
10394
+ * Graph Id
10395
+ */
10396
+ graph_id: string;
10397
+ };
10398
+ query?: never;
10399
+ url: '/v1/ledger/{graph_id}/accounts/tree';
10400
+ };
10401
+ export type GetLedgerAccountTreeErrors = {
10402
+ /**
10403
+ * Validation Error
10404
+ */
10405
+ 422: HttpValidationError;
10406
+ };
10407
+ export type GetLedgerAccountTreeError = GetLedgerAccountTreeErrors[keyof GetLedgerAccountTreeErrors];
10408
+ export type GetLedgerAccountTreeResponses = {
10409
+ /**
10410
+ * Successful Response
10411
+ */
10412
+ 200: AccountTreeResponse;
10413
+ };
10414
+ export type GetLedgerAccountTreeResponse = GetLedgerAccountTreeResponses[keyof GetLedgerAccountTreeResponses];
10415
+ export type ListLedgerTransactionsData = {
10416
+ body?: never;
10417
+ path: {
10418
+ /**
10419
+ * Graph Id
10420
+ */
10421
+ graph_id: string;
10422
+ };
10423
+ query?: {
10424
+ /**
10425
+ * Type
10426
+ *
10427
+ * Filter by transaction type
10428
+ */
10429
+ type?: string | null;
10430
+ /**
10431
+ * Start Date
10432
+ *
10433
+ * Start date (inclusive)
10434
+ */
10435
+ start_date?: string | null;
10436
+ /**
10437
+ * End Date
10438
+ *
10439
+ * End date (inclusive)
10440
+ */
10441
+ end_date?: string | null;
10442
+ /**
10443
+ * Limit
10444
+ */
10445
+ limit?: number;
10446
+ /**
10447
+ * Offset
10448
+ */
10449
+ offset?: number;
10450
+ };
10451
+ url: '/v1/ledger/{graph_id}/transactions';
10452
+ };
10453
+ export type ListLedgerTransactionsErrors = {
10454
+ /**
10455
+ * Validation Error
10456
+ */
10457
+ 422: HttpValidationError;
10458
+ };
10459
+ export type ListLedgerTransactionsError = ListLedgerTransactionsErrors[keyof ListLedgerTransactionsErrors];
10460
+ export type ListLedgerTransactionsResponses = {
10461
+ /**
10462
+ * Successful Response
10463
+ */
10464
+ 200: LedgerTransactionListResponse;
10465
+ };
10466
+ export type ListLedgerTransactionsResponse = ListLedgerTransactionsResponses[keyof ListLedgerTransactionsResponses];
10467
+ export type GetLedgerTransactionData = {
10468
+ body?: never;
10469
+ path: {
10470
+ /**
10471
+ * Graph Id
10472
+ */
10473
+ graph_id: string;
10474
+ /**
10475
+ * Transaction Id
10476
+ */
10477
+ transaction_id: string;
10478
+ };
10479
+ query?: never;
10480
+ url: '/v1/ledger/{graph_id}/transactions/{transaction_id}';
10481
+ };
10482
+ export type GetLedgerTransactionErrors = {
10483
+ /**
10484
+ * Validation Error
10485
+ */
10486
+ 422: HttpValidationError;
10487
+ };
10488
+ export type GetLedgerTransactionError = GetLedgerTransactionErrors[keyof GetLedgerTransactionErrors];
10489
+ export type GetLedgerTransactionResponses = {
10490
+ /**
10491
+ * Successful Response
10492
+ */
10493
+ 200: LedgerTransactionDetailResponse;
10494
+ };
10495
+ export type GetLedgerTransactionResponse = GetLedgerTransactionResponses[keyof GetLedgerTransactionResponses];
10496
+ export type GetLedgerTrialBalanceData = {
10497
+ body?: never;
10498
+ path: {
10499
+ /**
10500
+ * Graph Id
10501
+ */
10502
+ graph_id: string;
10503
+ };
10504
+ query?: {
10505
+ /**
10506
+ * Start Date
10507
+ *
10508
+ * Start date (inclusive)
10509
+ */
10510
+ start_date?: string | null;
10511
+ /**
10512
+ * End Date
10513
+ *
10514
+ * End date (inclusive)
10515
+ */
10516
+ end_date?: string | null;
10517
+ };
10518
+ url: '/v1/ledger/{graph_id}/trial-balance';
10519
+ };
10520
+ export type GetLedgerTrialBalanceErrors = {
10521
+ /**
10522
+ * Validation Error
10523
+ */
10524
+ 422: HttpValidationError;
10525
+ };
10526
+ export type GetLedgerTrialBalanceError = GetLedgerTrialBalanceErrors[keyof GetLedgerTrialBalanceErrors];
10527
+ export type GetLedgerTrialBalanceResponses = {
10528
+ /**
10529
+ * Successful Response
10530
+ */
10531
+ 200: TrialBalanceResponse;
10532
+ };
10533
+ export type GetLedgerTrialBalanceResponse = GetLedgerTrialBalanceResponses[keyof GetLedgerTrialBalanceResponses];
10534
+ export type GetLedgerSummaryData = {
10535
+ body?: never;
10536
+ path: {
10537
+ /**
10538
+ * Graph Id
10539
+ */
10540
+ graph_id: string;
10541
+ };
10542
+ query?: never;
10543
+ url: '/v1/ledger/{graph_id}/summary';
10544
+ };
10545
+ export type GetLedgerSummaryErrors = {
10546
+ /**
10547
+ * Validation Error
10548
+ */
10549
+ 422: HttpValidationError;
10550
+ };
10551
+ export type GetLedgerSummaryError = GetLedgerSummaryErrors[keyof GetLedgerSummaryErrors];
10552
+ export type GetLedgerSummaryResponses = {
10553
+ /**
10554
+ * Successful Response
10555
+ */
10556
+ 200: LedgerSummaryResponse;
10557
+ };
10558
+ export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];