@robosystems/client 0.2.34 → 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.
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,23 +3809,280 @@ export type InvoicesResponse = {
3430
3809
  };
3431
3810
 
3432
3811
  /**
3433
- * ListSubgraphsResponse
3434
- *
3435
- * Response model for listing subgraphs.
3812
+ * LedgerEntryResponse
3436
3813
  */
3437
- export type ListSubgraphsResponse = {
3814
+ export type LedgerEntryResponse = {
3438
3815
  /**
3439
- * Parent Graph Id
3440
- *
3441
- * Parent graph identifier
3816
+ * Id
3442
3817
  */
3443
- parent_graph_id: string;
3818
+ id: string;
3444
3819
  /**
3445
- * Parent Graph Name
3446
- *
3447
- * Parent graph name
3820
+ * Number
3448
3821
  */
3449
- parent_graph_name: string;
3822
+ number?: string | null;
3823
+ /**
3824
+ * Type
3825
+ */
3826
+ type: string;
3827
+ /**
3828
+ * Posting Date
3829
+ */
3830
+ posting_date: string;
3831
+ /**
3832
+ * Memo
3833
+ */
3834
+ memo?: string | null;
3835
+ /**
3836
+ * Status
3837
+ */
3838
+ status: string;
3839
+ /**
3840
+ * Posted At
3841
+ */
3842
+ posted_at?: string | null;
3843
+ /**
3844
+ * Line Items
3845
+ */
3846
+ line_items: Array<LedgerLineItemResponse>;
3847
+ };
3848
+
3849
+ /**
3850
+ * LedgerLineItemResponse
3851
+ */
3852
+ export type LedgerLineItemResponse = {
3853
+ /**
3854
+ * Id
3855
+ */
3856
+ id: string;
3857
+ /**
3858
+ * Account Id
3859
+ */
3860
+ account_id: string;
3861
+ /**
3862
+ * Account Name
3863
+ */
3864
+ account_name?: string | null;
3865
+ /**
3866
+ * Account Code
3867
+ */
3868
+ account_code?: string | null;
3869
+ /**
3870
+ * Debit Amount
3871
+ */
3872
+ debit_amount: number;
3873
+ /**
3874
+ * Credit Amount
3875
+ */
3876
+ credit_amount: number;
3877
+ /**
3878
+ * Description
3879
+ */
3880
+ description?: string | null;
3881
+ /**
3882
+ * Line Order
3883
+ */
3884
+ line_order: number;
3885
+ };
3886
+
3887
+ /**
3888
+ * LedgerSummaryResponse
3889
+ */
3890
+ export type LedgerSummaryResponse = {
3891
+ /**
3892
+ * Graph Id
3893
+ */
3894
+ graph_id: string;
3895
+ /**
3896
+ * Account Count
3897
+ */
3898
+ account_count: number;
3899
+ /**
3900
+ * Transaction Count
3901
+ */
3902
+ transaction_count: number;
3903
+ /**
3904
+ * Entry Count
3905
+ */
3906
+ entry_count: number;
3907
+ /**
3908
+ * Line Item Count
3909
+ */
3910
+ line_item_count: number;
3911
+ /**
3912
+ * Earliest Transaction Date
3913
+ */
3914
+ earliest_transaction_date?: string | null;
3915
+ /**
3916
+ * Latest Transaction Date
3917
+ */
3918
+ latest_transaction_date?: string | null;
3919
+ /**
3920
+ * Connection Count
3921
+ */
3922
+ connection_count?: number;
3923
+ /**
3924
+ * Last Sync At
3925
+ */
3926
+ last_sync_at?: string | null;
3927
+ };
3928
+
3929
+ /**
3930
+ * LedgerTransactionDetailResponse
3931
+ */
3932
+ export type LedgerTransactionDetailResponse = {
3933
+ /**
3934
+ * Id
3935
+ */
3936
+ id: string;
3937
+ /**
3938
+ * Number
3939
+ */
3940
+ number?: string | null;
3941
+ /**
3942
+ * Type
3943
+ */
3944
+ type: string;
3945
+ /**
3946
+ * Category
3947
+ */
3948
+ category?: string | null;
3949
+ /**
3950
+ * Amount
3951
+ */
3952
+ amount: number;
3953
+ /**
3954
+ * Currency
3955
+ */
3956
+ currency: string;
3957
+ /**
3958
+ * Date
3959
+ */
3960
+ date: string;
3961
+ /**
3962
+ * Due Date
3963
+ */
3964
+ due_date?: string | null;
3965
+ /**
3966
+ * Merchant Name
3967
+ */
3968
+ merchant_name?: string | null;
3969
+ /**
3970
+ * Reference Number
3971
+ */
3972
+ reference_number?: string | null;
3973
+ /**
3974
+ * Description
3975
+ */
3976
+ description?: string | null;
3977
+ /**
3978
+ * Source
3979
+ */
3980
+ source: string;
3981
+ /**
3982
+ * Source Id
3983
+ */
3984
+ source_id?: string | null;
3985
+ /**
3986
+ * Status
3987
+ */
3988
+ status: string;
3989
+ /**
3990
+ * Posted At
3991
+ */
3992
+ posted_at?: string | null;
3993
+ /**
3994
+ * Entries
3995
+ */
3996
+ entries: Array<LedgerEntryResponse>;
3997
+ };
3998
+
3999
+ /**
4000
+ * LedgerTransactionListResponse
4001
+ */
4002
+ export type LedgerTransactionListResponse = {
4003
+ /**
4004
+ * Transactions
4005
+ */
4006
+ transactions: Array<LedgerTransactionSummaryResponse>;
4007
+ pagination: PaginationInfo;
4008
+ };
4009
+
4010
+ /**
4011
+ * LedgerTransactionSummaryResponse
4012
+ */
4013
+ export type LedgerTransactionSummaryResponse = {
4014
+ /**
4015
+ * Id
4016
+ */
4017
+ id: string;
4018
+ /**
4019
+ * Number
4020
+ */
4021
+ number?: string | null;
4022
+ /**
4023
+ * Type
4024
+ */
4025
+ type: string;
4026
+ /**
4027
+ * Category
4028
+ */
4029
+ category?: string | null;
4030
+ /**
4031
+ * Amount
4032
+ */
4033
+ amount: number;
4034
+ /**
4035
+ * Currency
4036
+ */
4037
+ currency: string;
4038
+ /**
4039
+ * Date
4040
+ */
4041
+ date: string;
4042
+ /**
4043
+ * Due Date
4044
+ */
4045
+ due_date?: string | null;
4046
+ /**
4047
+ * Merchant Name
4048
+ */
4049
+ merchant_name?: string | null;
4050
+ /**
4051
+ * Reference Number
4052
+ */
4053
+ reference_number?: string | null;
4054
+ /**
4055
+ * Description
4056
+ */
4057
+ description?: string | null;
4058
+ /**
4059
+ * Source
4060
+ */
4061
+ source: string;
4062
+ /**
4063
+ * Status
4064
+ */
4065
+ status: string;
4066
+ };
4067
+
4068
+ /**
4069
+ * ListSubgraphsResponse
4070
+ *
4071
+ * Response model for listing subgraphs.
4072
+ */
4073
+ export type ListSubgraphsResponse = {
4074
+ /**
4075
+ * Parent Graph Id
4076
+ *
4077
+ * Parent graph identifier
4078
+ */
4079
+ parent_graph_id: string;
4080
+ /**
4081
+ * Parent Graph Name
4082
+ *
4083
+ * Parent graph name
4084
+ */
4085
+ parent_graph_name: string;
3450
4086
  /**
3451
4087
  * Parent Graph Tier
3452
4088
  *
@@ -4161,6 +4797,38 @@ export type OrgUsageSummary = {
4161
4797
  storage_limit_gb: number | null;
4162
4798
  };
4163
4799
 
4800
+ /**
4801
+ * PaginationInfo
4802
+ *
4803
+ * Pagination information for list responses.
4804
+ */
4805
+ export type PaginationInfo = {
4806
+ /**
4807
+ * Total
4808
+ *
4809
+ * Total number of items available
4810
+ */
4811
+ total: number;
4812
+ /**
4813
+ * Limit
4814
+ *
4815
+ * Maximum number of items returned in this response
4816
+ */
4817
+ limit: number;
4818
+ /**
4819
+ * Offset
4820
+ *
4821
+ * Number of items skipped
4822
+ */
4823
+ offset: number;
4824
+ /**
4825
+ * Has More
4826
+ *
4827
+ * Whether more items are available
4828
+ */
4829
+ has_more: boolean;
4830
+ };
4831
+
4164
4832
  /**
4165
4833
  * PasswordCheckRequest
4166
4834
  *
@@ -4835,59 +5503,237 @@ export type SchemaValidationResponse = {
4835
5503
  };
4836
5504
 
4837
5505
  /**
4838
- * SelectionCriteria
5506
+ * SearchHit
4839
5507
  *
4840
- * Criteria for agent selection.
5508
+ * A single search result with snippet.
4841
5509
  */
4842
- export type SelectionCriteria = {
5510
+ export type SearchHit = {
4843
5511
  /**
4844
- * Min Confidence
4845
- *
4846
- * Minimum confidence score
5512
+ * Document Id
4847
5513
  */
4848
- min_confidence?: number;
5514
+ document_id: string;
4849
5515
  /**
4850
- * Required Capabilities
4851
- *
4852
- * Required agent capabilities
5516
+ * Score
4853
5517
  */
4854
- required_capabilities?: Array<string>;
5518
+ score: number;
4855
5519
  /**
4856
- * Preferred execution mode
5520
+ * Source Type
4857
5521
  */
4858
- preferred_mode?: AgentMode | null;
5522
+ source_type: string;
4859
5523
  /**
4860
- * Max Response Time
4861
- *
4862
- * Maximum response time in seconds
5524
+ * Entity Ticker
4863
5525
  */
4864
- max_response_time?: number;
5526
+ entity_ticker?: string | null;
4865
5527
  /**
4866
- * Excluded Agents
4867
- *
4868
- * Agents to exclude from selection
5528
+ * Entity Name
4869
5529
  */
4870
- excluded_agents?: Array<string>;
4871
- };
4872
-
4873
- /**
4874
- * ServiceOfferingSummary
4875
- *
4876
- * Summary of service offerings.
4877
- */
4878
- export type ServiceOfferingSummary = {
5530
+ entity_name?: string | null;
4879
5531
  /**
4880
- * Total Graph Tiers
4881
- *
4882
- * Total number of graph tiers
5532
+ * Section Label
4883
5533
  */
4884
- total_graph_tiers: number;
5534
+ section_label?: string | null;
4885
5535
  /**
4886
- * Total Repositories
4887
- *
4888
- * Total number of repositories
5536
+ * Section Id
4889
5537
  */
4890
- total_repositories: number;
5538
+ section_id?: string | null;
5539
+ /**
5540
+ * Element Qname
5541
+ */
5542
+ element_qname?: string | null;
5543
+ /**
5544
+ * Filing Date
5545
+ */
5546
+ filing_date?: string | null;
5547
+ /**
5548
+ * Fiscal Year
5549
+ */
5550
+ fiscal_year?: number | null;
5551
+ /**
5552
+ * Form Type
5553
+ */
5554
+ form_type?: string | null;
5555
+ /**
5556
+ * Xbrl Elements
5557
+ */
5558
+ xbrl_elements?: Array<string> | null;
5559
+ /**
5560
+ * Snippet
5561
+ */
5562
+ snippet: string;
5563
+ /**
5564
+ * Content Length
5565
+ */
5566
+ content_length?: number;
5567
+ /**
5568
+ * Content Url
5569
+ */
5570
+ content_url?: string | null;
5571
+ /**
5572
+ * Document Title
5573
+ */
5574
+ document_title?: string | null;
5575
+ /**
5576
+ * Tags
5577
+ */
5578
+ tags?: Array<string> | null;
5579
+ /**
5580
+ * Folder
5581
+ */
5582
+ folder?: string | null;
5583
+ };
5584
+
5585
+ /**
5586
+ * SearchRequest
5587
+ *
5588
+ * Request model for document search.
5589
+ */
5590
+ export type SearchRequest = {
5591
+ /**
5592
+ * Query
5593
+ *
5594
+ * Search query
5595
+ */
5596
+ query: string;
5597
+ /**
5598
+ * Entity
5599
+ *
5600
+ * Filter by ticker, CIK, or entity name
5601
+ */
5602
+ entity?: string | null;
5603
+ /**
5604
+ * Form Type
5605
+ *
5606
+ * Filter by SEC form type (10-K, 10-Q)
5607
+ */
5608
+ form_type?: string | null;
5609
+ /**
5610
+ * Section
5611
+ *
5612
+ * Filter by section ID (item_1, item_1a, item_7, etc.)
5613
+ */
5614
+ section?: string | null;
5615
+ /**
5616
+ * Element
5617
+ *
5618
+ * Filter by XBRL element qname (e.g., us-gaap:Goodwill)
5619
+ */
5620
+ element?: string | null;
5621
+ /**
5622
+ * Source Type
5623
+ *
5624
+ * Filter by source type (xbrl_textblock, narrative_section, ixbrl_disclosure, uploaded_doc, memory)
5625
+ */
5626
+ source_type?: string | null;
5627
+ /**
5628
+ * Fiscal Year
5629
+ *
5630
+ * Filter by fiscal year
5631
+ */
5632
+ fiscal_year?: number | null;
5633
+ /**
5634
+ * Date From
5635
+ *
5636
+ * Filter filings on or after date (YYYY-MM-DD)
5637
+ */
5638
+ date_from?: string | null;
5639
+ /**
5640
+ * Date To
5641
+ *
5642
+ * Filter filings on or before date (YYYY-MM-DD)
5643
+ */
5644
+ date_to?: string | null;
5645
+ /**
5646
+ * Size
5647
+ *
5648
+ * Max results to return
5649
+ */
5650
+ size?: number;
5651
+ /**
5652
+ * Offset
5653
+ *
5654
+ * Pagination offset
5655
+ */
5656
+ offset?: number;
5657
+ };
5658
+
5659
+ /**
5660
+ * SearchResponse
5661
+ *
5662
+ * Response model for document search.
5663
+ */
5664
+ export type SearchResponse = {
5665
+ /**
5666
+ * Total
5667
+ */
5668
+ total: number;
5669
+ /**
5670
+ * Hits
5671
+ */
5672
+ hits: Array<SearchHit>;
5673
+ /**
5674
+ * Query
5675
+ */
5676
+ query: string;
5677
+ /**
5678
+ * Graph Id
5679
+ */
5680
+ graph_id: string;
5681
+ };
5682
+
5683
+ /**
5684
+ * SelectionCriteria
5685
+ *
5686
+ * Criteria for agent selection.
5687
+ */
5688
+ export type SelectionCriteria = {
5689
+ /**
5690
+ * Min Confidence
5691
+ *
5692
+ * Minimum confidence score
5693
+ */
5694
+ min_confidence?: number;
5695
+ /**
5696
+ * Required Capabilities
5697
+ *
5698
+ * Required agent capabilities
5699
+ */
5700
+ required_capabilities?: Array<string>;
5701
+ /**
5702
+ * Preferred execution mode
5703
+ */
5704
+ preferred_mode?: AgentMode | null;
5705
+ /**
5706
+ * Max Response Time
5707
+ *
5708
+ * Maximum response time in seconds
5709
+ */
5710
+ max_response_time?: number;
5711
+ /**
5712
+ * Excluded Agents
5713
+ *
5714
+ * Agents to exclude from selection
5715
+ */
5716
+ excluded_agents?: Array<string>;
5717
+ };
5718
+
5719
+ /**
5720
+ * ServiceOfferingSummary
5721
+ *
5722
+ * Summary of service offerings.
5723
+ */
5724
+ export type ServiceOfferingSummary = {
5725
+ /**
5726
+ * Total Graph Tiers
5727
+ *
5728
+ * Total number of graph tiers
5729
+ */
5730
+ total_graph_tiers: number;
5731
+ /**
5732
+ * Total Repositories
5733
+ *
5734
+ * Total number of repositories
5735
+ */
5736
+ total_repositories: number;
4891
5737
  /**
4892
5738
  * Enabled Repositories
4893
5739
  *
@@ -5491,6 +6337,62 @@ export type TransactionSummaryResponse = {
5491
6337
  last_transaction?: string | null;
5492
6338
  };
5493
6339
 
6340
+ /**
6341
+ * TrialBalanceResponse
6342
+ */
6343
+ export type TrialBalanceResponse = {
6344
+ /**
6345
+ * Rows
6346
+ */
6347
+ rows: Array<TrialBalanceRow>;
6348
+ /**
6349
+ * Total Debits
6350
+ */
6351
+ total_debits: number;
6352
+ /**
6353
+ * Total Credits
6354
+ */
6355
+ total_credits: number;
6356
+ };
6357
+
6358
+ /**
6359
+ * TrialBalanceRow
6360
+ */
6361
+ export type TrialBalanceRow = {
6362
+ /**
6363
+ * Account Id
6364
+ */
6365
+ account_id: string;
6366
+ /**
6367
+ * Account Code
6368
+ */
6369
+ account_code: string;
6370
+ /**
6371
+ * Account Name
6372
+ */
6373
+ account_name: string;
6374
+ /**
6375
+ * Classification
6376
+ */
6377
+ classification: string;
6378
+ /**
6379
+ * Account Type
6380
+ */
6381
+ account_type?: string | null;
6382
+ /**
6383
+ * Total Debits
6384
+ */
6385
+ total_debits: number;
6386
+ /**
6387
+ * Total Credits
6388
+ */
6389
+ total_credits: number;
6390
+ /**
6391
+ * Net Balance
6392
+ */
6393
+ net_balance: number;
6394
+ };
6395
+
5494
6396
  /**
5495
6397
  * UpcomingInvoice
5496
6398
  *
@@ -5681,6 +6583,12 @@ export type UserResponse = {
5681
6583
  * User's email address
5682
6584
  */
5683
6585
  email?: string | null;
6586
+ /**
6587
+ * Email Verified
6588
+ *
6589
+ * Whether user's email is verified
6590
+ */
6591
+ email_verified?: boolean;
5684
6592
  /**
5685
6593
  * Accounts
5686
6594
  *
@@ -8960,6 +9868,199 @@ export type CreateViewResponses = {
8960
9868
  200: unknown;
8961
9869
  };
8962
9870
 
9871
+ export type SearchDocumentsData = {
9872
+ body: SearchRequest;
9873
+ path: {
9874
+ /**
9875
+ * Graph Id
9876
+ */
9877
+ graph_id: string;
9878
+ };
9879
+ query?: never;
9880
+ url: '/v1/graphs/{graph_id}/search';
9881
+ };
9882
+
9883
+ export type SearchDocumentsErrors = {
9884
+ /**
9885
+ * Validation Error
9886
+ */
9887
+ 422: HttpValidationError;
9888
+ };
9889
+
9890
+ export type SearchDocumentsError = SearchDocumentsErrors[keyof SearchDocumentsErrors];
9891
+
9892
+ export type SearchDocumentsResponses = {
9893
+ /**
9894
+ * Successful Response
9895
+ */
9896
+ 200: SearchResponse;
9897
+ };
9898
+
9899
+ export type SearchDocumentsResponse = SearchDocumentsResponses[keyof SearchDocumentsResponses];
9900
+
9901
+ export type GetDocumentSectionData = {
9902
+ body?: never;
9903
+ path: {
9904
+ /**
9905
+ * Graph Id
9906
+ */
9907
+ graph_id: string;
9908
+ /**
9909
+ * Document Id
9910
+ */
9911
+ document_id: string;
9912
+ };
9913
+ query?: never;
9914
+ url: '/v1/graphs/{graph_id}/search/{document_id}';
9915
+ };
9916
+
9917
+ export type GetDocumentSectionErrors = {
9918
+ /**
9919
+ * Validation Error
9920
+ */
9921
+ 422: HttpValidationError;
9922
+ };
9923
+
9924
+ export type GetDocumentSectionError = GetDocumentSectionErrors[keyof GetDocumentSectionErrors];
9925
+
9926
+ export type GetDocumentSectionResponses = {
9927
+ /**
9928
+ * Successful Response
9929
+ */
9930
+ 200: DocumentSection;
9931
+ };
9932
+
9933
+ export type GetDocumentSectionResponse = GetDocumentSectionResponses[keyof GetDocumentSectionResponses];
9934
+
9935
+ export type ListDocumentsData = {
9936
+ body?: never;
9937
+ path: {
9938
+ /**
9939
+ * Graph Id
9940
+ */
9941
+ graph_id: string;
9942
+ };
9943
+ query?: {
9944
+ /**
9945
+ * Source Type
9946
+ */
9947
+ source_type?: string | null;
9948
+ };
9949
+ url: '/v1/graphs/{graph_id}/documents';
9950
+ };
9951
+
9952
+ export type ListDocumentsErrors = {
9953
+ /**
9954
+ * Validation Error
9955
+ */
9956
+ 422: HttpValidationError;
9957
+ };
9958
+
9959
+ export type ListDocumentsError = ListDocumentsErrors[keyof ListDocumentsErrors];
9960
+
9961
+ export type ListDocumentsResponses = {
9962
+ /**
9963
+ * Successful Response
9964
+ */
9965
+ 200: DocumentListResponse;
9966
+ };
9967
+
9968
+ export type ListDocumentsResponse = ListDocumentsResponses[keyof ListDocumentsResponses];
9969
+
9970
+ export type UploadDocumentData = {
9971
+ body: DocumentUploadRequest;
9972
+ path: {
9973
+ /**
9974
+ * Graph Id
9975
+ */
9976
+ graph_id: string;
9977
+ };
9978
+ query?: never;
9979
+ url: '/v1/graphs/{graph_id}/documents';
9980
+ };
9981
+
9982
+ export type UploadDocumentErrors = {
9983
+ /**
9984
+ * Validation Error
9985
+ */
9986
+ 422: HttpValidationError;
9987
+ };
9988
+
9989
+ export type UploadDocumentError = UploadDocumentErrors[keyof UploadDocumentErrors];
9990
+
9991
+ export type UploadDocumentResponses = {
9992
+ /**
9993
+ * Successful Response
9994
+ */
9995
+ 200: DocumentUploadResponse;
9996
+ };
9997
+
9998
+ export type UploadDocumentResponse = UploadDocumentResponses[keyof UploadDocumentResponses];
9999
+
10000
+ export type UploadDocumentsBulkData = {
10001
+ body: BulkDocumentUploadRequest;
10002
+ path: {
10003
+ /**
10004
+ * Graph Id
10005
+ */
10006
+ graph_id: string;
10007
+ };
10008
+ query?: never;
10009
+ url: '/v1/graphs/{graph_id}/documents/bulk';
10010
+ };
10011
+
10012
+ export type UploadDocumentsBulkErrors = {
10013
+ /**
10014
+ * Validation Error
10015
+ */
10016
+ 422: HttpValidationError;
10017
+ };
10018
+
10019
+ export type UploadDocumentsBulkError = UploadDocumentsBulkErrors[keyof UploadDocumentsBulkErrors];
10020
+
10021
+ export type UploadDocumentsBulkResponses = {
10022
+ /**
10023
+ * Successful Response
10024
+ */
10025
+ 200: BulkDocumentUploadResponse;
10026
+ };
10027
+
10028
+ export type UploadDocumentsBulkResponse = UploadDocumentsBulkResponses[keyof UploadDocumentsBulkResponses];
10029
+
10030
+ export type DeleteDocumentData = {
10031
+ body?: never;
10032
+ path: {
10033
+ /**
10034
+ * Graph Id
10035
+ */
10036
+ graph_id: string;
10037
+ /**
10038
+ * Document Id
10039
+ */
10040
+ document_id: string;
10041
+ };
10042
+ query?: never;
10043
+ url: '/v1/graphs/{graph_id}/documents/{document_id}';
10044
+ };
10045
+
10046
+ export type DeleteDocumentErrors = {
10047
+ /**
10048
+ * Validation Error
10049
+ */
10050
+ 422: HttpValidationError;
10051
+ };
10052
+
10053
+ export type DeleteDocumentError = DeleteDocumentErrors[keyof DeleteDocumentErrors];
10054
+
10055
+ export type DeleteDocumentResponses = {
10056
+ /**
10057
+ * Successful Response
10058
+ */
10059
+ 204: void;
10060
+ };
10061
+
10062
+ export type DeleteDocumentResponse = DeleteDocumentResponses[keyof DeleteDocumentResponses];
10063
+
8963
10064
  export type GetMaterializationStatusData = {
8964
10065
  body?: never;
8965
10066
  path: {
@@ -9963,3 +11064,248 @@ export type GetCheckoutStatusResponses = {
9963
11064
  };
9964
11065
 
9965
11066
  export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
11067
+
11068
+ export type ListLedgerAccountsData = {
11069
+ body?: never;
11070
+ path: {
11071
+ /**
11072
+ * Graph Id
11073
+ */
11074
+ graph_id: string;
11075
+ };
11076
+ query?: {
11077
+ /**
11078
+ * Classification
11079
+ *
11080
+ * Filter by classification
11081
+ */
11082
+ classification?: string | null;
11083
+ /**
11084
+ * Is Active
11085
+ *
11086
+ * Filter by active status
11087
+ */
11088
+ is_active?: boolean | null;
11089
+ /**
11090
+ * Limit
11091
+ */
11092
+ limit?: number;
11093
+ /**
11094
+ * Offset
11095
+ */
11096
+ offset?: number;
11097
+ };
11098
+ url: '/v1/ledger/{graph_id}/accounts';
11099
+ };
11100
+
11101
+ export type ListLedgerAccountsErrors = {
11102
+ /**
11103
+ * Validation Error
11104
+ */
11105
+ 422: HttpValidationError;
11106
+ };
11107
+
11108
+ export type ListLedgerAccountsError = ListLedgerAccountsErrors[keyof ListLedgerAccountsErrors];
11109
+
11110
+ export type ListLedgerAccountsResponses = {
11111
+ /**
11112
+ * Successful Response
11113
+ */
11114
+ 200: AccountListResponse;
11115
+ };
11116
+
11117
+ export type ListLedgerAccountsResponse = ListLedgerAccountsResponses[keyof ListLedgerAccountsResponses];
11118
+
11119
+ export type GetLedgerAccountTreeData = {
11120
+ body?: never;
11121
+ path: {
11122
+ /**
11123
+ * Graph Id
11124
+ */
11125
+ graph_id: string;
11126
+ };
11127
+ query?: never;
11128
+ url: '/v1/ledger/{graph_id}/accounts/tree';
11129
+ };
11130
+
11131
+ export type GetLedgerAccountTreeErrors = {
11132
+ /**
11133
+ * Validation Error
11134
+ */
11135
+ 422: HttpValidationError;
11136
+ };
11137
+
11138
+ export type GetLedgerAccountTreeError = GetLedgerAccountTreeErrors[keyof GetLedgerAccountTreeErrors];
11139
+
11140
+ export type GetLedgerAccountTreeResponses = {
11141
+ /**
11142
+ * Successful Response
11143
+ */
11144
+ 200: AccountTreeResponse;
11145
+ };
11146
+
11147
+ export type GetLedgerAccountTreeResponse = GetLedgerAccountTreeResponses[keyof GetLedgerAccountTreeResponses];
11148
+
11149
+ export type ListLedgerTransactionsData = {
11150
+ body?: never;
11151
+ path: {
11152
+ /**
11153
+ * Graph Id
11154
+ */
11155
+ graph_id: string;
11156
+ };
11157
+ query?: {
11158
+ /**
11159
+ * Type
11160
+ *
11161
+ * Filter by transaction type
11162
+ */
11163
+ type?: string | null;
11164
+ /**
11165
+ * Start Date
11166
+ *
11167
+ * Start date (inclusive)
11168
+ */
11169
+ start_date?: string | null;
11170
+ /**
11171
+ * End Date
11172
+ *
11173
+ * End date (inclusive)
11174
+ */
11175
+ end_date?: string | null;
11176
+ /**
11177
+ * Limit
11178
+ */
11179
+ limit?: number;
11180
+ /**
11181
+ * Offset
11182
+ */
11183
+ offset?: number;
11184
+ };
11185
+ url: '/v1/ledger/{graph_id}/transactions';
11186
+ };
11187
+
11188
+ export type ListLedgerTransactionsErrors = {
11189
+ /**
11190
+ * Validation Error
11191
+ */
11192
+ 422: HttpValidationError;
11193
+ };
11194
+
11195
+ export type ListLedgerTransactionsError = ListLedgerTransactionsErrors[keyof ListLedgerTransactionsErrors];
11196
+
11197
+ export type ListLedgerTransactionsResponses = {
11198
+ /**
11199
+ * Successful Response
11200
+ */
11201
+ 200: LedgerTransactionListResponse;
11202
+ };
11203
+
11204
+ export type ListLedgerTransactionsResponse = ListLedgerTransactionsResponses[keyof ListLedgerTransactionsResponses];
11205
+
11206
+ export type GetLedgerTransactionData = {
11207
+ body?: never;
11208
+ path: {
11209
+ /**
11210
+ * Graph Id
11211
+ */
11212
+ graph_id: string;
11213
+ /**
11214
+ * Transaction Id
11215
+ */
11216
+ transaction_id: string;
11217
+ };
11218
+ query?: never;
11219
+ url: '/v1/ledger/{graph_id}/transactions/{transaction_id}';
11220
+ };
11221
+
11222
+ export type GetLedgerTransactionErrors = {
11223
+ /**
11224
+ * Validation Error
11225
+ */
11226
+ 422: HttpValidationError;
11227
+ };
11228
+
11229
+ export type GetLedgerTransactionError = GetLedgerTransactionErrors[keyof GetLedgerTransactionErrors];
11230
+
11231
+ export type GetLedgerTransactionResponses = {
11232
+ /**
11233
+ * Successful Response
11234
+ */
11235
+ 200: LedgerTransactionDetailResponse;
11236
+ };
11237
+
11238
+ export type GetLedgerTransactionResponse = GetLedgerTransactionResponses[keyof GetLedgerTransactionResponses];
11239
+
11240
+ export type GetLedgerTrialBalanceData = {
11241
+ body?: never;
11242
+ path: {
11243
+ /**
11244
+ * Graph Id
11245
+ */
11246
+ graph_id: string;
11247
+ };
11248
+ query?: {
11249
+ /**
11250
+ * Start Date
11251
+ *
11252
+ * Start date (inclusive)
11253
+ */
11254
+ start_date?: string | null;
11255
+ /**
11256
+ * End Date
11257
+ *
11258
+ * End date (inclusive)
11259
+ */
11260
+ end_date?: string | null;
11261
+ };
11262
+ url: '/v1/ledger/{graph_id}/trial-balance';
11263
+ };
11264
+
11265
+ export type GetLedgerTrialBalanceErrors = {
11266
+ /**
11267
+ * Validation Error
11268
+ */
11269
+ 422: HttpValidationError;
11270
+ };
11271
+
11272
+ export type GetLedgerTrialBalanceError = GetLedgerTrialBalanceErrors[keyof GetLedgerTrialBalanceErrors];
11273
+
11274
+ export type GetLedgerTrialBalanceResponses = {
11275
+ /**
11276
+ * Successful Response
11277
+ */
11278
+ 200: TrialBalanceResponse;
11279
+ };
11280
+
11281
+ export type GetLedgerTrialBalanceResponse = GetLedgerTrialBalanceResponses[keyof GetLedgerTrialBalanceResponses];
11282
+
11283
+ export type GetLedgerSummaryData = {
11284
+ body?: never;
11285
+ path: {
11286
+ /**
11287
+ * Graph Id
11288
+ */
11289
+ graph_id: string;
11290
+ };
11291
+ query?: never;
11292
+ url: '/v1/ledger/{graph_id}/summary';
11293
+ };
11294
+
11295
+ export type GetLedgerSummaryErrors = {
11296
+ /**
11297
+ * Validation Error
11298
+ */
11299
+ 422: HttpValidationError;
11300
+ };
11301
+
11302
+ export type GetLedgerSummaryError = GetLedgerSummaryErrors[keyof GetLedgerSummaryErrors];
11303
+
11304
+ export type GetLedgerSummaryResponses = {
11305
+ /**
11306
+ * Successful Response
11307
+ */
11308
+ 200: LedgerSummaryResponse;
11309
+ };
11310
+
11311
+ export type GetLedgerSummaryResponse = GetLedgerSummaryResponses[keyof GetLedgerSummaryResponses];