@robosystems/client 0.1.19 → 0.1.20
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/bin/create-feature +68 -55
- package/client/utils.gen.js +14 -1
- package/client/utils.gen.ts +23 -2
- package/core/bodySerializer.gen.js +3 -0
- package/core/bodySerializer.gen.ts +2 -0
- package/package.json +2 -2
- package/sdk/client/utils.gen.js +14 -1
- package/sdk/client/utils.gen.ts +23 -2
- package/sdk/core/bodySerializer.gen.js +3 -0
- package/sdk/core/bodySerializer.gen.ts +2 -0
- package/sdk/sdk.gen.d.ts +153 -115
- package/sdk/sdk.gen.js +315 -185
- package/sdk/sdk.gen.ts +314 -184
- package/sdk/types.gen.d.ts +678 -192
- package/sdk/types.gen.ts +713 -193
- package/sdk-extensions/README.md +2 -3
- package/sdk.gen.d.ts +153 -115
- package/sdk.gen.js +315 -185
- package/sdk.gen.ts +314 -184
- package/types.gen.d.ts +678 -192
- package/types.gen.ts +713 -193
package/sdk/types.gen.ts
CHANGED
|
@@ -123,6 +123,27 @@ export type AddOnCreditInfo = {
|
|
|
123
123
|
rollover_amount?: number;
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
+
/**
|
|
127
|
+
* AgentListResponse
|
|
128
|
+
* Response for listing available agents.
|
|
129
|
+
*/
|
|
130
|
+
export type AgentListResponse = {
|
|
131
|
+
/**
|
|
132
|
+
* Agents
|
|
133
|
+
* Dictionary of available agents with metadata
|
|
134
|
+
*/
|
|
135
|
+
agents: {
|
|
136
|
+
[key: string]: {
|
|
137
|
+
[key: string]: unknown;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Total
|
|
142
|
+
* Total number of agents
|
|
143
|
+
*/
|
|
144
|
+
total: number;
|
|
145
|
+
};
|
|
146
|
+
|
|
126
147
|
/**
|
|
127
148
|
* AgentMessage
|
|
128
149
|
* Message in conversation history.
|
|
@@ -138,16 +159,142 @@ export type AgentMessage = {
|
|
|
138
159
|
* Message content
|
|
139
160
|
*/
|
|
140
161
|
content: string;
|
|
162
|
+
/**
|
|
163
|
+
* Timestamp
|
|
164
|
+
* Message timestamp
|
|
165
|
+
*/
|
|
166
|
+
timestamp?: string | null;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* AgentMetadataResponse
|
|
171
|
+
* Response for agent metadata.
|
|
172
|
+
*/
|
|
173
|
+
export type AgentMetadataResponse = {
|
|
174
|
+
/**
|
|
175
|
+
* Name
|
|
176
|
+
* Agent name
|
|
177
|
+
*/
|
|
178
|
+
name: string;
|
|
179
|
+
/**
|
|
180
|
+
* Description
|
|
181
|
+
* Agent description
|
|
182
|
+
*/
|
|
183
|
+
description: string;
|
|
184
|
+
/**
|
|
185
|
+
* Version
|
|
186
|
+
* Agent version
|
|
187
|
+
*/
|
|
188
|
+
version: string;
|
|
189
|
+
/**
|
|
190
|
+
* Capabilities
|
|
191
|
+
* Agent capabilities
|
|
192
|
+
*/
|
|
193
|
+
capabilities: Array<string>;
|
|
194
|
+
/**
|
|
195
|
+
* Supported Modes
|
|
196
|
+
* Supported execution modes
|
|
197
|
+
*/
|
|
198
|
+
supported_modes: Array<string>;
|
|
199
|
+
/**
|
|
200
|
+
* Requires Credits
|
|
201
|
+
* Whether agent requires credits
|
|
202
|
+
*/
|
|
203
|
+
requires_credits: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* Author
|
|
206
|
+
* Agent author
|
|
207
|
+
*/
|
|
208
|
+
author?: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* Tags
|
|
211
|
+
* Agent tags
|
|
212
|
+
*/
|
|
213
|
+
tags?: Array<string>;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* AgentMode
|
|
218
|
+
* Agent execution modes.
|
|
219
|
+
*/
|
|
220
|
+
export type AgentMode = 'quick' | 'standard' | 'extended' | 'streaming';
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* AgentRecommendation
|
|
224
|
+
* Single agent recommendation.
|
|
225
|
+
*/
|
|
226
|
+
export type AgentRecommendation = {
|
|
227
|
+
/**
|
|
228
|
+
* Agent Type
|
|
229
|
+
* Agent type identifier
|
|
230
|
+
*/
|
|
231
|
+
agent_type: string;
|
|
232
|
+
/**
|
|
233
|
+
* Agent Name
|
|
234
|
+
* Agent display name
|
|
235
|
+
*/
|
|
236
|
+
agent_name: string;
|
|
237
|
+
/**
|
|
238
|
+
* Confidence
|
|
239
|
+
* Confidence score (0-1)
|
|
240
|
+
*/
|
|
241
|
+
confidence: number;
|
|
242
|
+
/**
|
|
243
|
+
* Capabilities
|
|
244
|
+
* Agent capabilities
|
|
245
|
+
*/
|
|
246
|
+
capabilities: Array<string>;
|
|
247
|
+
/**
|
|
248
|
+
* Reason
|
|
249
|
+
* Reason for recommendation
|
|
250
|
+
*/
|
|
251
|
+
reason?: string | null;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* AgentRecommendationRequest
|
|
256
|
+
* Request for agent recommendations.
|
|
257
|
+
*/
|
|
258
|
+
export type AgentRecommendationRequest = {
|
|
259
|
+
/**
|
|
260
|
+
* Query
|
|
261
|
+
* Query to analyze
|
|
262
|
+
*/
|
|
263
|
+
query: string;
|
|
264
|
+
/**
|
|
265
|
+
* Context
|
|
266
|
+
* Additional context
|
|
267
|
+
*/
|
|
268
|
+
context?: {
|
|
269
|
+
[key: string]: unknown;
|
|
270
|
+
} | null;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* AgentRecommendationResponse
|
|
275
|
+
* Response for agent recommendations.
|
|
276
|
+
*/
|
|
277
|
+
export type AgentRecommendationResponse = {
|
|
278
|
+
/**
|
|
279
|
+
* Recommendations
|
|
280
|
+
* List of agent recommendations sorted by confidence
|
|
281
|
+
*/
|
|
282
|
+
recommendations: Array<AgentRecommendation>;
|
|
283
|
+
/**
|
|
284
|
+
* Query
|
|
285
|
+
* The analyzed query
|
|
286
|
+
*/
|
|
287
|
+
query: string;
|
|
141
288
|
};
|
|
142
289
|
|
|
143
290
|
/**
|
|
144
291
|
* AgentRequest
|
|
145
|
-
* Request model for
|
|
292
|
+
* Request model for agent interactions.
|
|
146
293
|
*/
|
|
147
294
|
export type AgentRequest = {
|
|
148
295
|
/**
|
|
149
296
|
* Message
|
|
150
|
-
*
|
|
297
|
+
* The query or message to process
|
|
151
298
|
*/
|
|
152
299
|
message: string;
|
|
153
300
|
/**
|
|
@@ -157,45 +304,106 @@ export type AgentRequest = {
|
|
|
157
304
|
history?: Array<AgentMessage>;
|
|
158
305
|
/**
|
|
159
306
|
* Context
|
|
160
|
-
* Additional context for analysis (e.g.,
|
|
307
|
+
* Additional context for analysis (e.g., enable_rag, include_schema)
|
|
161
308
|
*/
|
|
162
309
|
context?: {
|
|
163
310
|
[key: string]: unknown;
|
|
164
311
|
} | null;
|
|
312
|
+
/**
|
|
313
|
+
* Execution mode
|
|
314
|
+
*/
|
|
315
|
+
mode?: AgentMode | null;
|
|
316
|
+
/**
|
|
317
|
+
* Agent Type
|
|
318
|
+
* Specific agent type to use (optional)
|
|
319
|
+
*/
|
|
320
|
+
agent_type?: string | null;
|
|
321
|
+
/**
|
|
322
|
+
* Criteria for agent selection
|
|
323
|
+
*/
|
|
324
|
+
selection_criteria?: SelectionCriteria | null;
|
|
165
325
|
/**
|
|
166
326
|
* Force Extended Analysis
|
|
167
|
-
* Force extended analysis mode with comprehensive research
|
|
327
|
+
* Force extended analysis mode with comprehensive research
|
|
168
328
|
*/
|
|
169
329
|
force_extended_analysis?: boolean;
|
|
330
|
+
/**
|
|
331
|
+
* Enable Rag
|
|
332
|
+
* Enable RAG context enrichment
|
|
333
|
+
*/
|
|
334
|
+
enable_rag?: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* Stream
|
|
337
|
+
* Enable streaming response
|
|
338
|
+
*/
|
|
339
|
+
stream?: boolean;
|
|
170
340
|
};
|
|
171
341
|
|
|
172
342
|
/**
|
|
173
343
|
* AgentResponse
|
|
174
|
-
* Response model for
|
|
344
|
+
* Response model for agent interactions.
|
|
175
345
|
*/
|
|
176
346
|
export type AgentResponse = {
|
|
177
347
|
/**
|
|
178
|
-
*
|
|
179
|
-
*
|
|
348
|
+
* Content
|
|
349
|
+
* The agent's response content
|
|
350
|
+
*/
|
|
351
|
+
content: string;
|
|
352
|
+
/**
|
|
353
|
+
* Agent Used
|
|
354
|
+
* The agent type that handled the request
|
|
180
355
|
*/
|
|
181
|
-
|
|
356
|
+
agent_used: string;
|
|
357
|
+
/**
|
|
358
|
+
* The execution mode used
|
|
359
|
+
*/
|
|
360
|
+
mode_used: AgentMode;
|
|
182
361
|
/**
|
|
183
362
|
* Metadata
|
|
184
|
-
*
|
|
363
|
+
* Response metadata including routing info
|
|
185
364
|
*/
|
|
186
365
|
metadata?: {
|
|
187
366
|
[key: string]: unknown;
|
|
188
367
|
} | null;
|
|
368
|
+
/**
|
|
369
|
+
* Tokens Used
|
|
370
|
+
* Token usage statistics
|
|
371
|
+
*/
|
|
372
|
+
tokens_used?: {
|
|
373
|
+
[key: string]: number;
|
|
374
|
+
} | null;
|
|
375
|
+
/**
|
|
376
|
+
* Confidence Score
|
|
377
|
+
* Confidence score of the response
|
|
378
|
+
*/
|
|
379
|
+
confidence_score?: number | null;
|
|
189
380
|
/**
|
|
190
381
|
* Operation Id
|
|
191
|
-
*
|
|
382
|
+
* Operation ID for SSE monitoring
|
|
192
383
|
*/
|
|
193
384
|
operation_id?: string | null;
|
|
194
385
|
/**
|
|
195
386
|
* Is Partial
|
|
196
|
-
* Whether this is a partial response
|
|
387
|
+
* Whether this is a partial response
|
|
197
388
|
*/
|
|
198
389
|
is_partial?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* Error Details
|
|
392
|
+
* Error details if any
|
|
393
|
+
*/
|
|
394
|
+
error_details?: {
|
|
395
|
+
[key: string]: unknown;
|
|
396
|
+
} | null;
|
|
397
|
+
/**
|
|
398
|
+
* Execution Time
|
|
399
|
+
* Execution time in seconds
|
|
400
|
+
*/
|
|
401
|
+
execution_time?: number | null;
|
|
402
|
+
/**
|
|
403
|
+
* Timestamp
|
|
404
|
+
* Response timestamp
|
|
405
|
+
*/
|
|
406
|
+
timestamp?: string;
|
|
199
407
|
};
|
|
200
408
|
|
|
201
409
|
/**
|
|
@@ -217,9 +425,9 @@ export type AuthResponse = {
|
|
|
217
425
|
message: string;
|
|
218
426
|
/**
|
|
219
427
|
* Token
|
|
220
|
-
* JWT authentication token
|
|
428
|
+
* JWT authentication token (optional for cookie-based auth)
|
|
221
429
|
*/
|
|
222
|
-
token
|
|
430
|
+
token?: string | null;
|
|
223
431
|
};
|
|
224
432
|
|
|
225
433
|
/**
|
|
@@ -456,6 +664,45 @@ export type BackupStatsResponse = {
|
|
|
456
664
|
};
|
|
457
665
|
};
|
|
458
666
|
|
|
667
|
+
/**
|
|
668
|
+
* BatchAgentRequest
|
|
669
|
+
* Request for batch processing multiple queries.
|
|
670
|
+
*/
|
|
671
|
+
export type BatchAgentRequest = {
|
|
672
|
+
/**
|
|
673
|
+
* Queries
|
|
674
|
+
* List of queries to process
|
|
675
|
+
*/
|
|
676
|
+
queries: Array<AgentRequest>;
|
|
677
|
+
/**
|
|
678
|
+
* Parallel
|
|
679
|
+
* Process queries in parallel
|
|
680
|
+
*/
|
|
681
|
+
parallel?: boolean;
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* BatchAgentResponse
|
|
686
|
+
* Response for batch processing.
|
|
687
|
+
*/
|
|
688
|
+
export type BatchAgentResponse = {
|
|
689
|
+
/**
|
|
690
|
+
* Results
|
|
691
|
+
* List of agent responses
|
|
692
|
+
*/
|
|
693
|
+
results: Array<AgentResponse>;
|
|
694
|
+
/**
|
|
695
|
+
* Total Execution Time
|
|
696
|
+
* Total execution time
|
|
697
|
+
*/
|
|
698
|
+
total_execution_time: number;
|
|
699
|
+
/**
|
|
700
|
+
* Parallel Processed
|
|
701
|
+
* Whether queries were processed in parallel
|
|
702
|
+
*/
|
|
703
|
+
parallel_processed: boolean;
|
|
704
|
+
};
|
|
705
|
+
|
|
459
706
|
/**
|
|
460
707
|
* CancellationResponse
|
|
461
708
|
* Response for subscription cancellation.
|
|
@@ -834,12 +1081,12 @@ export type CreditSummary = {
|
|
|
834
1081
|
* Last Allocation Date
|
|
835
1082
|
* Last allocation date (ISO format)
|
|
836
1083
|
*/
|
|
837
|
-
last_allocation_date?: string;
|
|
1084
|
+
last_allocation_date?: string | null;
|
|
838
1085
|
/**
|
|
839
1086
|
* Next Allocation Date
|
|
840
1087
|
* Next allocation date (ISO format)
|
|
841
1088
|
*/
|
|
842
|
-
next_allocation_date?: string;
|
|
1089
|
+
next_allocation_date?: string | null;
|
|
843
1090
|
/**
|
|
844
1091
|
* Is Active
|
|
845
1092
|
* Whether credit pool is active
|
|
@@ -908,7 +1155,7 @@ export type CreditsSummaryResponse = {
|
|
|
908
1155
|
*/
|
|
909
1156
|
credits_by_addon?: Array<{
|
|
910
1157
|
[key: string]: unknown;
|
|
911
|
-
}
|
|
1158
|
+
}> | null;
|
|
912
1159
|
/**
|
|
913
1160
|
* Addon Count
|
|
914
1161
|
* Number of active add-ons
|
|
@@ -918,7 +1165,7 @@ export type CreditsSummaryResponse = {
|
|
|
918
1165
|
|
|
919
1166
|
/**
|
|
920
1167
|
* CustomSchemaDefinition
|
|
921
|
-
* Custom schema definition for
|
|
1168
|
+
* Custom schema definition for custom graphs.
|
|
922
1169
|
*/
|
|
923
1170
|
export type CustomSchemaDefinition = {
|
|
924
1171
|
/**
|
|
@@ -1978,11 +2225,11 @@ export type RepositoryCreditsResponse = {
|
|
|
1978
2225
|
* Message
|
|
1979
2226
|
* Access message
|
|
1980
2227
|
*/
|
|
1981
|
-
message?: string;
|
|
2228
|
+
message?: string | null;
|
|
1982
2229
|
/**
|
|
1983
2230
|
* Credit summary if access available
|
|
1984
2231
|
*/
|
|
1985
|
-
credits?: CreditSummary;
|
|
2232
|
+
credits?: CreditSummary | null;
|
|
1986
2233
|
};
|
|
1987
2234
|
|
|
1988
2235
|
/**
|
|
@@ -2321,6 +2568,37 @@ export type SchemaValidationResponse = {
|
|
|
2321
2568
|
} | null;
|
|
2322
2569
|
};
|
|
2323
2570
|
|
|
2571
|
+
/**
|
|
2572
|
+
* SelectionCriteria
|
|
2573
|
+
* Criteria for agent selection.
|
|
2574
|
+
*/
|
|
2575
|
+
export type SelectionCriteria = {
|
|
2576
|
+
/**
|
|
2577
|
+
* Min Confidence
|
|
2578
|
+
* Minimum confidence score
|
|
2579
|
+
*/
|
|
2580
|
+
min_confidence?: number;
|
|
2581
|
+
/**
|
|
2582
|
+
* Required Capabilities
|
|
2583
|
+
* Required agent capabilities
|
|
2584
|
+
*/
|
|
2585
|
+
required_capabilities?: Array<string>;
|
|
2586
|
+
/**
|
|
2587
|
+
* Preferred execution mode
|
|
2588
|
+
*/
|
|
2589
|
+
preferred_mode?: AgentMode | null;
|
|
2590
|
+
/**
|
|
2591
|
+
* Max Response Time
|
|
2592
|
+
* Maximum response time in seconds
|
|
2593
|
+
*/
|
|
2594
|
+
max_response_time?: number;
|
|
2595
|
+
/**
|
|
2596
|
+
* Excluded Agents
|
|
2597
|
+
* Agents to exclude from selection
|
|
2598
|
+
*/
|
|
2599
|
+
excluded_agents?: Array<string>;
|
|
2600
|
+
};
|
|
2601
|
+
|
|
2324
2602
|
/**
|
|
2325
2603
|
* StorageLimitResponse
|
|
2326
2604
|
* Storage limit information response.
|
|
@@ -4301,7 +4579,7 @@ export type GetRepositoryCreditsResponses = {
|
|
|
4301
4579
|
|
|
4302
4580
|
export type GetRepositoryCreditsResponse = GetRepositoryCreditsResponses[keyof GetRepositoryCreditsResponses];
|
|
4303
4581
|
|
|
4304
|
-
export type
|
|
4582
|
+
export type GetConnectionOptionsData = {
|
|
4305
4583
|
body?: never;
|
|
4306
4584
|
headers?: {
|
|
4307
4585
|
/**
|
|
@@ -4316,22 +4594,11 @@ export type ListConnectionsData = {
|
|
|
4316
4594
|
*/
|
|
4317
4595
|
graph_id: string;
|
|
4318
4596
|
};
|
|
4319
|
-
query?:
|
|
4320
|
-
|
|
4321
|
-
* Entity Id
|
|
4322
|
-
* Filter by entity ID
|
|
4323
|
-
*/
|
|
4324
|
-
entity_id?: string | null;
|
|
4325
|
-
/**
|
|
4326
|
-
* Provider
|
|
4327
|
-
* Filter by provider type
|
|
4328
|
-
*/
|
|
4329
|
-
provider?: ('sec' | 'quickbooks' | 'plaid') | null;
|
|
4330
|
-
};
|
|
4331
|
-
url: '/v1/{graph_id}/connections';
|
|
4597
|
+
query?: never;
|
|
4598
|
+
url: '/v1/{graph_id}/connections/options';
|
|
4332
4599
|
};
|
|
4333
4600
|
|
|
4334
|
-
export type
|
|
4601
|
+
export type GetConnectionOptionsErrors = {
|
|
4335
4602
|
/**
|
|
4336
4603
|
* Access denied to graph
|
|
4337
4604
|
*/
|
|
@@ -4341,25 +4608,24 @@ export type ListConnectionsErrors = {
|
|
|
4341
4608
|
*/
|
|
4342
4609
|
422: HttpValidationError;
|
|
4343
4610
|
/**
|
|
4344
|
-
* Failed to
|
|
4611
|
+
* Failed to retrieve options
|
|
4345
4612
|
*/
|
|
4346
4613
|
500: ErrorResponse;
|
|
4347
4614
|
};
|
|
4348
4615
|
|
|
4349
|
-
export type
|
|
4616
|
+
export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
|
|
4350
4617
|
|
|
4351
|
-
export type
|
|
4618
|
+
export type GetConnectionOptionsResponses = {
|
|
4352
4619
|
/**
|
|
4353
|
-
*
|
|
4354
|
-
* Connections retrieved successfully
|
|
4620
|
+
* Connection options retrieved successfully
|
|
4355
4621
|
*/
|
|
4356
|
-
200:
|
|
4622
|
+
200: ConnectionOptionsResponse;
|
|
4357
4623
|
};
|
|
4358
4624
|
|
|
4359
|
-
export type
|
|
4625
|
+
export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
|
|
4360
4626
|
|
|
4361
|
-
export type
|
|
4362
|
-
body:
|
|
4627
|
+
export type SyncConnectionData = {
|
|
4628
|
+
body: SyncConnectionRequest;
|
|
4363
4629
|
headers?: {
|
|
4364
4630
|
/**
|
|
4365
4631
|
* Authorization
|
|
@@ -4372,47 +4638,51 @@ export type CreateConnectionData = {
|
|
|
4372
4638
|
* Graph database identifier
|
|
4373
4639
|
*/
|
|
4374
4640
|
graph_id: string;
|
|
4641
|
+
/**
|
|
4642
|
+
* Connection Id
|
|
4643
|
+
* Connection identifier
|
|
4644
|
+
*/
|
|
4645
|
+
connection_id: string;
|
|
4375
4646
|
};
|
|
4376
4647
|
query?: never;
|
|
4377
|
-
url: '/v1/{graph_id}/connections';
|
|
4648
|
+
url: '/v1/{graph_id}/connections/{connection_id}/sync';
|
|
4378
4649
|
};
|
|
4379
4650
|
|
|
4380
|
-
export type
|
|
4381
|
-
/**
|
|
4382
|
-
* Invalid connection configuration
|
|
4383
|
-
*/
|
|
4384
|
-
400: ErrorResponse;
|
|
4651
|
+
export type SyncConnectionErrors = {
|
|
4385
4652
|
/**
|
|
4386
4653
|
* Access denied - admin role required
|
|
4387
4654
|
*/
|
|
4388
4655
|
403: ErrorResponse;
|
|
4389
4656
|
/**
|
|
4390
|
-
* Connection
|
|
4657
|
+
* Connection not found
|
|
4391
4658
|
*/
|
|
4392
|
-
|
|
4659
|
+
404: ErrorResponse;
|
|
4393
4660
|
/**
|
|
4394
4661
|
* Validation Error
|
|
4395
4662
|
*/
|
|
4396
4663
|
422: HttpValidationError;
|
|
4397
4664
|
/**
|
|
4398
|
-
* Failed to
|
|
4665
|
+
* Failed to start sync
|
|
4399
4666
|
*/
|
|
4400
4667
|
500: ErrorResponse;
|
|
4401
4668
|
};
|
|
4402
4669
|
|
|
4403
|
-
export type
|
|
4670
|
+
export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
|
|
4404
4671
|
|
|
4405
|
-
export type
|
|
4672
|
+
export type SyncConnectionResponses = {
|
|
4406
4673
|
/**
|
|
4407
|
-
*
|
|
4674
|
+
* Response Syncconnection
|
|
4675
|
+
* Sync started successfully
|
|
4408
4676
|
*/
|
|
4409
|
-
|
|
4677
|
+
200: {
|
|
4678
|
+
[key: string]: unknown;
|
|
4679
|
+
};
|
|
4410
4680
|
};
|
|
4411
4681
|
|
|
4412
|
-
export type
|
|
4682
|
+
export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
|
|
4413
4683
|
|
|
4414
|
-
export type
|
|
4415
|
-
body
|
|
4684
|
+
export type CreateLinkTokenData = {
|
|
4685
|
+
body: LinkTokenRequest;
|
|
4416
4686
|
headers?: {
|
|
4417
4687
|
/**
|
|
4418
4688
|
* Authorization
|
|
@@ -4425,23 +4695,18 @@ export type DeleteConnectionData = {
|
|
|
4425
4695
|
* Graph database identifier
|
|
4426
4696
|
*/
|
|
4427
4697
|
graph_id: string;
|
|
4428
|
-
/**
|
|
4429
|
-
* Connection Id
|
|
4430
|
-
* Connection identifier
|
|
4431
|
-
*/
|
|
4432
|
-
connection_id: string;
|
|
4433
4698
|
};
|
|
4434
4699
|
query?: never;
|
|
4435
|
-
url: '/v1/{graph_id}/connections/
|
|
4700
|
+
url: '/v1/{graph_id}/connections/link/token';
|
|
4436
4701
|
};
|
|
4437
4702
|
|
|
4438
|
-
export type
|
|
4703
|
+
export type CreateLinkTokenErrors = {
|
|
4439
4704
|
/**
|
|
4440
|
-
*
|
|
4705
|
+
* Invalid provider or request
|
|
4441
4706
|
*/
|
|
4442
|
-
|
|
4707
|
+
400: ErrorResponse;
|
|
4443
4708
|
/**
|
|
4444
|
-
*
|
|
4709
|
+
* Entity not found
|
|
4445
4710
|
*/
|
|
4446
4711
|
404: ErrorResponse;
|
|
4447
4712
|
/**
|
|
@@ -4449,24 +4714,22 @@ export type DeleteConnectionErrors = {
|
|
|
4449
4714
|
*/
|
|
4450
4715
|
422: HttpValidationError;
|
|
4451
4716
|
/**
|
|
4452
|
-
* Failed to
|
|
4717
|
+
* Failed to create link token
|
|
4453
4718
|
*/
|
|
4454
4719
|
500: ErrorResponse;
|
|
4455
4720
|
};
|
|
4456
4721
|
|
|
4457
|
-
export type
|
|
4722
|
+
export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
|
|
4458
4723
|
|
|
4459
|
-
export type
|
|
4724
|
+
export type CreateLinkTokenResponses = {
|
|
4460
4725
|
/**
|
|
4461
|
-
*
|
|
4726
|
+
* Link token created successfully
|
|
4462
4727
|
*/
|
|
4463
|
-
200:
|
|
4728
|
+
200: unknown;
|
|
4464
4729
|
};
|
|
4465
4730
|
|
|
4466
|
-
export type
|
|
4467
|
-
|
|
4468
|
-
export type GetConnectionData = {
|
|
4469
|
-
body?: never;
|
|
4731
|
+
export type ExchangeLinkTokenData = {
|
|
4732
|
+
body: ExchangeTokenRequest;
|
|
4470
4733
|
headers?: {
|
|
4471
4734
|
/**
|
|
4472
4735
|
* Authorization
|
|
@@ -4479,19 +4742,107 @@ export type GetConnectionData = {
|
|
|
4479
4742
|
* Graph database identifier
|
|
4480
4743
|
*/
|
|
4481
4744
|
graph_id: string;
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4745
|
+
};
|
|
4746
|
+
query?: never;
|
|
4747
|
+
url: '/v1/{graph_id}/connections/link/exchange';
|
|
4748
|
+
};
|
|
4749
|
+
|
|
4750
|
+
export type ExchangeLinkTokenErrors = {
|
|
4751
|
+
/**
|
|
4752
|
+
* Invalid token or provider
|
|
4753
|
+
*/
|
|
4754
|
+
400: ErrorResponse;
|
|
4755
|
+
/**
|
|
4756
|
+
* Connection not found
|
|
4757
|
+
*/
|
|
4758
|
+
404: ErrorResponse;
|
|
4759
|
+
/**
|
|
4760
|
+
* Validation Error
|
|
4761
|
+
*/
|
|
4762
|
+
422: HttpValidationError;
|
|
4763
|
+
/**
|
|
4764
|
+
* Token exchange failed
|
|
4765
|
+
*/
|
|
4766
|
+
500: ErrorResponse;
|
|
4767
|
+
};
|
|
4768
|
+
|
|
4769
|
+
export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
|
|
4770
|
+
|
|
4771
|
+
export type ExchangeLinkTokenResponses = {
|
|
4772
|
+
/**
|
|
4773
|
+
* Token exchanged successfully
|
|
4774
|
+
*/
|
|
4775
|
+
200: unknown;
|
|
4776
|
+
};
|
|
4777
|
+
|
|
4778
|
+
export type InitOAuthData = {
|
|
4779
|
+
body: OAuthInitRequest;
|
|
4780
|
+
headers?: {
|
|
4781
|
+
/**
|
|
4782
|
+
* Authorization
|
|
4485
4783
|
*/
|
|
4486
|
-
|
|
4784
|
+
authorization?: string | null;
|
|
4785
|
+
};
|
|
4786
|
+
path: {
|
|
4787
|
+
/**
|
|
4788
|
+
* Graph Id
|
|
4789
|
+
* Graph database identifier
|
|
4790
|
+
*/
|
|
4791
|
+
graph_id: string;
|
|
4487
4792
|
};
|
|
4488
4793
|
query?: never;
|
|
4489
|
-
url: '/v1/{graph_id}/connections/
|
|
4794
|
+
url: '/v1/{graph_id}/connections/oauth/init';
|
|
4490
4795
|
};
|
|
4491
4796
|
|
|
4492
|
-
export type
|
|
4797
|
+
export type InitOAuthErrors = {
|
|
4493
4798
|
/**
|
|
4494
|
-
*
|
|
4799
|
+
* Validation Error
|
|
4800
|
+
*/
|
|
4801
|
+
422: HttpValidationError;
|
|
4802
|
+
};
|
|
4803
|
+
|
|
4804
|
+
export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
|
|
4805
|
+
|
|
4806
|
+
export type InitOAuthResponses = {
|
|
4807
|
+
/**
|
|
4808
|
+
* Successful Response
|
|
4809
|
+
*/
|
|
4810
|
+
200: OAuthInitResponse;
|
|
4811
|
+
};
|
|
4812
|
+
|
|
4813
|
+
export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
|
|
4814
|
+
|
|
4815
|
+
export type OauthCallbackData = {
|
|
4816
|
+
body: OAuthCallbackRequest;
|
|
4817
|
+
headers?: {
|
|
4818
|
+
/**
|
|
4819
|
+
* Authorization
|
|
4820
|
+
*/
|
|
4821
|
+
authorization?: string | null;
|
|
4822
|
+
};
|
|
4823
|
+
path: {
|
|
4824
|
+
/**
|
|
4825
|
+
* Provider
|
|
4826
|
+
* OAuth provider name
|
|
4827
|
+
*/
|
|
4828
|
+
provider: string;
|
|
4829
|
+
/**
|
|
4830
|
+
* Graph Id
|
|
4831
|
+
* Graph database identifier
|
|
4832
|
+
*/
|
|
4833
|
+
graph_id: string;
|
|
4834
|
+
};
|
|
4835
|
+
query?: never;
|
|
4836
|
+
url: '/v1/{graph_id}/connections/oauth/callback/{provider}';
|
|
4837
|
+
};
|
|
4838
|
+
|
|
4839
|
+
export type OauthCallbackErrors = {
|
|
4840
|
+
/**
|
|
4841
|
+
* OAuth error or invalid state
|
|
4842
|
+
*/
|
|
4843
|
+
400: ErrorResponse;
|
|
4844
|
+
/**
|
|
4845
|
+
* State does not match user
|
|
4495
4846
|
*/
|
|
4496
4847
|
403: ErrorResponse;
|
|
4497
4848
|
/**
|
|
@@ -4503,23 +4854,21 @@ export type GetConnectionErrors = {
|
|
|
4503
4854
|
*/
|
|
4504
4855
|
422: HttpValidationError;
|
|
4505
4856
|
/**
|
|
4506
|
-
*
|
|
4857
|
+
* OAuth callback processing failed
|
|
4507
4858
|
*/
|
|
4508
4859
|
500: ErrorResponse;
|
|
4509
4860
|
};
|
|
4510
4861
|
|
|
4511
|
-
export type
|
|
4862
|
+
export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
|
|
4512
4863
|
|
|
4513
|
-
export type
|
|
4864
|
+
export type OauthCallbackResponses = {
|
|
4514
4865
|
/**
|
|
4515
|
-
*
|
|
4866
|
+
* OAuth flow completed successfully
|
|
4516
4867
|
*/
|
|
4517
|
-
200:
|
|
4868
|
+
200: unknown;
|
|
4518
4869
|
};
|
|
4519
4870
|
|
|
4520
|
-
export type
|
|
4521
|
-
|
|
4522
|
-
export type GetConnectionOptionsData = {
|
|
4871
|
+
export type ListConnectionsData = {
|
|
4523
4872
|
body?: never;
|
|
4524
4873
|
headers?: {
|
|
4525
4874
|
/**
|
|
@@ -4534,11 +4883,22 @@ export type GetConnectionOptionsData = {
|
|
|
4534
4883
|
*/
|
|
4535
4884
|
graph_id: string;
|
|
4536
4885
|
};
|
|
4537
|
-
query?:
|
|
4538
|
-
|
|
4886
|
+
query?: {
|
|
4887
|
+
/**
|
|
4888
|
+
* Entity Id
|
|
4889
|
+
* Filter by entity ID
|
|
4890
|
+
*/
|
|
4891
|
+
entity_id?: string | null;
|
|
4892
|
+
/**
|
|
4893
|
+
* Provider
|
|
4894
|
+
* Filter by provider type
|
|
4895
|
+
*/
|
|
4896
|
+
provider?: ('sec' | 'quickbooks' | 'plaid') | null;
|
|
4897
|
+
};
|
|
4898
|
+
url: '/v1/{graph_id}/connections';
|
|
4539
4899
|
};
|
|
4540
4900
|
|
|
4541
|
-
export type
|
|
4901
|
+
export type ListConnectionsErrors = {
|
|
4542
4902
|
/**
|
|
4543
4903
|
* Access denied to graph
|
|
4544
4904
|
*/
|
|
@@ -4548,24 +4908,25 @@ export type GetConnectionOptionsErrors = {
|
|
|
4548
4908
|
*/
|
|
4549
4909
|
422: HttpValidationError;
|
|
4550
4910
|
/**
|
|
4551
|
-
* Failed to
|
|
4911
|
+
* Failed to list connections
|
|
4552
4912
|
*/
|
|
4553
4913
|
500: ErrorResponse;
|
|
4554
4914
|
};
|
|
4555
4915
|
|
|
4556
|
-
export type
|
|
4916
|
+
export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
|
|
4557
4917
|
|
|
4558
|
-
export type
|
|
4918
|
+
export type ListConnectionsResponses = {
|
|
4559
4919
|
/**
|
|
4560
|
-
*
|
|
4920
|
+
* Response Listconnections
|
|
4921
|
+
* Connections retrieved successfully
|
|
4561
4922
|
*/
|
|
4562
|
-
200:
|
|
4923
|
+
200: Array<ConnectionResponse>;
|
|
4563
4924
|
};
|
|
4564
4925
|
|
|
4565
|
-
export type
|
|
4926
|
+
export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
|
|
4566
4927
|
|
|
4567
|
-
export type
|
|
4568
|
-
body
|
|
4928
|
+
export type CreateConnectionData = {
|
|
4929
|
+
body: CreateConnectionRequest;
|
|
4569
4930
|
headers?: {
|
|
4570
4931
|
/**
|
|
4571
4932
|
* Authorization
|
|
@@ -4578,51 +4939,47 @@ export type SyncConnectionData = {
|
|
|
4578
4939
|
* Graph database identifier
|
|
4579
4940
|
*/
|
|
4580
4941
|
graph_id: string;
|
|
4581
|
-
/**
|
|
4582
|
-
* Connection Id
|
|
4583
|
-
* Connection identifier
|
|
4584
|
-
*/
|
|
4585
|
-
connection_id: string;
|
|
4586
4942
|
};
|
|
4587
4943
|
query?: never;
|
|
4588
|
-
url: '/v1/{graph_id}/connections
|
|
4944
|
+
url: '/v1/{graph_id}/connections';
|
|
4589
4945
|
};
|
|
4590
4946
|
|
|
4591
|
-
export type
|
|
4947
|
+
export type CreateConnectionErrors = {
|
|
4948
|
+
/**
|
|
4949
|
+
* Invalid connection configuration
|
|
4950
|
+
*/
|
|
4951
|
+
400: ErrorResponse;
|
|
4592
4952
|
/**
|
|
4593
4953
|
* Access denied - admin role required
|
|
4594
4954
|
*/
|
|
4595
4955
|
403: ErrorResponse;
|
|
4596
4956
|
/**
|
|
4597
|
-
* Connection
|
|
4957
|
+
* Connection already exists
|
|
4598
4958
|
*/
|
|
4599
|
-
|
|
4959
|
+
409: ErrorResponse;
|
|
4600
4960
|
/**
|
|
4601
4961
|
* Validation Error
|
|
4602
4962
|
*/
|
|
4603
4963
|
422: HttpValidationError;
|
|
4604
4964
|
/**
|
|
4605
|
-
* Failed to
|
|
4965
|
+
* Failed to create connection
|
|
4606
4966
|
*/
|
|
4607
4967
|
500: ErrorResponse;
|
|
4608
4968
|
};
|
|
4609
4969
|
|
|
4610
|
-
export type
|
|
4970
|
+
export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
|
|
4611
4971
|
|
|
4612
|
-
export type
|
|
4972
|
+
export type CreateConnectionResponses = {
|
|
4613
4973
|
/**
|
|
4614
|
-
*
|
|
4615
|
-
* Sync started successfully
|
|
4974
|
+
* Connection created successfully
|
|
4616
4975
|
*/
|
|
4617
|
-
|
|
4618
|
-
[key: string]: unknown;
|
|
4619
|
-
};
|
|
4976
|
+
201: ConnectionResponse;
|
|
4620
4977
|
};
|
|
4621
4978
|
|
|
4622
|
-
export type
|
|
4979
|
+
export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
|
|
4623
4980
|
|
|
4624
|
-
export type
|
|
4625
|
-
body
|
|
4981
|
+
export type DeleteConnectionData = {
|
|
4982
|
+
body?: never;
|
|
4626
4983
|
headers?: {
|
|
4627
4984
|
/**
|
|
4628
4985
|
* Authorization
|
|
@@ -4635,18 +4992,23 @@ export type CreateLinkTokenData = {
|
|
|
4635
4992
|
* Graph database identifier
|
|
4636
4993
|
*/
|
|
4637
4994
|
graph_id: string;
|
|
4995
|
+
/**
|
|
4996
|
+
* Connection Id
|
|
4997
|
+
* Connection identifier
|
|
4998
|
+
*/
|
|
4999
|
+
connection_id: string;
|
|
4638
5000
|
};
|
|
4639
5001
|
query?: never;
|
|
4640
|
-
url: '/v1/{graph_id}/connections/
|
|
5002
|
+
url: '/v1/{graph_id}/connections/{connection_id}';
|
|
4641
5003
|
};
|
|
4642
5004
|
|
|
4643
|
-
export type
|
|
5005
|
+
export type DeleteConnectionErrors = {
|
|
4644
5006
|
/**
|
|
4645
|
-
*
|
|
5007
|
+
* Access denied - admin role required
|
|
4646
5008
|
*/
|
|
4647
|
-
|
|
5009
|
+
403: ErrorResponse;
|
|
4648
5010
|
/**
|
|
4649
|
-
*
|
|
5011
|
+
* Connection not found
|
|
4650
5012
|
*/
|
|
4651
5013
|
404: ErrorResponse;
|
|
4652
5014
|
/**
|
|
@@ -4654,22 +5016,24 @@ export type CreateLinkTokenErrors = {
|
|
|
4654
5016
|
*/
|
|
4655
5017
|
422: HttpValidationError;
|
|
4656
5018
|
/**
|
|
4657
|
-
* Failed to
|
|
5019
|
+
* Failed to delete connection
|
|
4658
5020
|
*/
|
|
4659
5021
|
500: ErrorResponse;
|
|
4660
5022
|
};
|
|
4661
5023
|
|
|
4662
|
-
export type
|
|
5024
|
+
export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
|
|
4663
5025
|
|
|
4664
|
-
export type
|
|
5026
|
+
export type DeleteConnectionResponses = {
|
|
4665
5027
|
/**
|
|
4666
|
-
*
|
|
5028
|
+
* Connection deleted successfully
|
|
4667
5029
|
*/
|
|
4668
|
-
200:
|
|
5030
|
+
200: SuccessResponse;
|
|
4669
5031
|
};
|
|
4670
5032
|
|
|
4671
|
-
export type
|
|
4672
|
-
|
|
5033
|
+
export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
|
|
5034
|
+
|
|
5035
|
+
export type GetConnectionData = {
|
|
5036
|
+
body?: never;
|
|
4673
5037
|
headers?: {
|
|
4674
5038
|
/**
|
|
4675
5039
|
* Authorization
|
|
@@ -4682,16 +5046,21 @@ export type ExchangeLinkTokenData = {
|
|
|
4682
5046
|
* Graph database identifier
|
|
4683
5047
|
*/
|
|
4684
5048
|
graph_id: string;
|
|
5049
|
+
/**
|
|
5050
|
+
* Connection Id
|
|
5051
|
+
* Unique connection identifier
|
|
5052
|
+
*/
|
|
5053
|
+
connection_id: string;
|
|
4685
5054
|
};
|
|
4686
5055
|
query?: never;
|
|
4687
|
-
url: '/v1/{graph_id}/connections/
|
|
5056
|
+
url: '/v1/{graph_id}/connections/{connection_id}';
|
|
4688
5057
|
};
|
|
4689
5058
|
|
|
4690
|
-
export type
|
|
5059
|
+
export type GetConnectionErrors = {
|
|
4691
5060
|
/**
|
|
4692
|
-
*
|
|
5061
|
+
* Access denied to connection
|
|
4693
5062
|
*/
|
|
4694
|
-
|
|
5063
|
+
403: ErrorResponse;
|
|
4695
5064
|
/**
|
|
4696
5065
|
* Connection not found
|
|
4697
5066
|
*/
|
|
@@ -4701,22 +5070,24 @@ export type ExchangeLinkTokenErrors = {
|
|
|
4701
5070
|
*/
|
|
4702
5071
|
422: HttpValidationError;
|
|
4703
5072
|
/**
|
|
4704
|
-
*
|
|
5073
|
+
* Failed to retrieve connection
|
|
4705
5074
|
*/
|
|
4706
5075
|
500: ErrorResponse;
|
|
4707
5076
|
};
|
|
4708
5077
|
|
|
4709
|
-
export type
|
|
5078
|
+
export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
|
|
4710
5079
|
|
|
4711
|
-
export type
|
|
5080
|
+
export type GetConnectionResponses = {
|
|
4712
5081
|
/**
|
|
4713
|
-
*
|
|
5082
|
+
* Connection details retrieved successfully
|
|
4714
5083
|
*/
|
|
4715
|
-
200:
|
|
5084
|
+
200: ConnectionResponse;
|
|
4716
5085
|
};
|
|
4717
5086
|
|
|
4718
|
-
export type
|
|
4719
|
-
|
|
5087
|
+
export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
|
|
5088
|
+
|
|
5089
|
+
export type AutoSelectAgentData = {
|
|
5090
|
+
body: AgentRequest;
|
|
4720
5091
|
headers?: {
|
|
4721
5092
|
/**
|
|
4722
5093
|
* Authorization
|
|
@@ -4726,34 +5097,49 @@ export type InitOAuthData = {
|
|
|
4726
5097
|
path: {
|
|
4727
5098
|
/**
|
|
4728
5099
|
* Graph Id
|
|
4729
|
-
* Graph database identifier
|
|
4730
5100
|
*/
|
|
4731
5101
|
graph_id: string;
|
|
4732
5102
|
};
|
|
4733
5103
|
query?: never;
|
|
4734
|
-
url: '/v1/{graph_id}/
|
|
5104
|
+
url: '/v1/{graph_id}/agent';
|
|
4735
5105
|
};
|
|
4736
5106
|
|
|
4737
|
-
export type
|
|
5107
|
+
export type AutoSelectAgentErrors = {
|
|
5108
|
+
/**
|
|
5109
|
+
* Invalid request parameters
|
|
5110
|
+
*/
|
|
5111
|
+
400: unknown;
|
|
5112
|
+
/**
|
|
5113
|
+
* Insufficient credits for selected agent
|
|
5114
|
+
*/
|
|
5115
|
+
402: unknown;
|
|
4738
5116
|
/**
|
|
4739
5117
|
* Validation Error
|
|
4740
5118
|
*/
|
|
4741
5119
|
422: HttpValidationError;
|
|
5120
|
+
/**
|
|
5121
|
+
* Rate limit exceeded
|
|
5122
|
+
*/
|
|
5123
|
+
429: unknown;
|
|
5124
|
+
/**
|
|
5125
|
+
* Internal server error
|
|
5126
|
+
*/
|
|
5127
|
+
500: ErrorResponse;
|
|
4742
5128
|
};
|
|
4743
5129
|
|
|
4744
|
-
export type
|
|
5130
|
+
export type AutoSelectAgentError = AutoSelectAgentErrors[keyof AutoSelectAgentErrors];
|
|
4745
5131
|
|
|
4746
|
-
export type
|
|
5132
|
+
export type AutoSelectAgentResponses = {
|
|
4747
5133
|
/**
|
|
4748
|
-
*
|
|
5134
|
+
* Query successfully processed by selected agent
|
|
4749
5135
|
*/
|
|
4750
|
-
200:
|
|
5136
|
+
200: AgentResponse;
|
|
4751
5137
|
};
|
|
4752
5138
|
|
|
4753
|
-
export type
|
|
5139
|
+
export type AutoSelectAgentResponse = AutoSelectAgentResponses[keyof AutoSelectAgentResponses];
|
|
4754
5140
|
|
|
4755
|
-
export type
|
|
4756
|
-
body:
|
|
5141
|
+
export type ExecuteSpecificAgentData = {
|
|
5142
|
+
body: AgentRequest;
|
|
4757
5143
|
headers?: {
|
|
4758
5144
|
/**
|
|
4759
5145
|
* Authorization
|
|
@@ -4762,54 +5148,58 @@ export type OauthCallbackData = {
|
|
|
4762
5148
|
};
|
|
4763
5149
|
path: {
|
|
4764
5150
|
/**
|
|
4765
|
-
*
|
|
4766
|
-
* OAuth provider name
|
|
5151
|
+
* Agent Type
|
|
4767
5152
|
*/
|
|
4768
|
-
|
|
5153
|
+
agent_type: string;
|
|
4769
5154
|
/**
|
|
4770
5155
|
* Graph Id
|
|
4771
|
-
* Graph database identifier
|
|
4772
5156
|
*/
|
|
4773
5157
|
graph_id: string;
|
|
4774
5158
|
};
|
|
4775
5159
|
query?: never;
|
|
4776
|
-
url: '/v1/{graph_id}/
|
|
5160
|
+
url: '/v1/{graph_id}/agent/{agent_type}';
|
|
4777
5161
|
};
|
|
4778
5162
|
|
|
4779
|
-
export type
|
|
5163
|
+
export type ExecuteSpecificAgentErrors = {
|
|
4780
5164
|
/**
|
|
4781
|
-
*
|
|
5165
|
+
* Invalid agent type or request parameters
|
|
4782
5166
|
*/
|
|
4783
|
-
400:
|
|
5167
|
+
400: unknown;
|
|
4784
5168
|
/**
|
|
4785
|
-
*
|
|
5169
|
+
* Insufficient credits for specified agent
|
|
4786
5170
|
*/
|
|
4787
|
-
|
|
5171
|
+
402: unknown;
|
|
4788
5172
|
/**
|
|
4789
|
-
*
|
|
5173
|
+
* Agent type not found
|
|
4790
5174
|
*/
|
|
4791
|
-
404:
|
|
5175
|
+
404: unknown;
|
|
4792
5176
|
/**
|
|
4793
5177
|
* Validation Error
|
|
4794
5178
|
*/
|
|
4795
5179
|
422: HttpValidationError;
|
|
4796
5180
|
/**
|
|
4797
|
-
*
|
|
5181
|
+
* Rate limit exceeded
|
|
5182
|
+
*/
|
|
5183
|
+
429: unknown;
|
|
5184
|
+
/**
|
|
5185
|
+
* Internal server error
|
|
4798
5186
|
*/
|
|
4799
5187
|
500: ErrorResponse;
|
|
4800
5188
|
};
|
|
4801
5189
|
|
|
4802
|
-
export type
|
|
5190
|
+
export type ExecuteSpecificAgentError = ExecuteSpecificAgentErrors[keyof ExecuteSpecificAgentErrors];
|
|
4803
5191
|
|
|
4804
|
-
export type
|
|
5192
|
+
export type ExecuteSpecificAgentResponses = {
|
|
4805
5193
|
/**
|
|
4806
|
-
*
|
|
5194
|
+
* Query successfully processed by specified agent
|
|
4807
5195
|
*/
|
|
4808
|
-
200:
|
|
5196
|
+
200: AgentResponse;
|
|
4809
5197
|
};
|
|
4810
5198
|
|
|
4811
|
-
export type
|
|
4812
|
-
|
|
5199
|
+
export type ExecuteSpecificAgentResponse = ExecuteSpecificAgentResponses[keyof ExecuteSpecificAgentResponses];
|
|
5200
|
+
|
|
5201
|
+
export type BatchProcessQueriesData = {
|
|
5202
|
+
body: BatchAgentRequest;
|
|
4813
5203
|
headers?: {
|
|
4814
5204
|
/**
|
|
4815
5205
|
* Authorization
|
|
@@ -4823,42 +5213,172 @@ export type QueryFinancialAgentData = {
|
|
|
4823
5213
|
graph_id: string;
|
|
4824
5214
|
};
|
|
4825
5215
|
query?: never;
|
|
4826
|
-
url: '/v1/{graph_id}/agent';
|
|
5216
|
+
url: '/v1/{graph_id}/agent/batch';
|
|
4827
5217
|
};
|
|
4828
5218
|
|
|
4829
|
-
export type
|
|
5219
|
+
export type BatchProcessQueriesErrors = {
|
|
4830
5220
|
/**
|
|
4831
|
-
* Invalid request
|
|
5221
|
+
* Invalid batch request or too many queries
|
|
4832
5222
|
*/
|
|
4833
|
-
400:
|
|
5223
|
+
400: unknown;
|
|
4834
5224
|
/**
|
|
4835
|
-
* Insufficient credits for
|
|
5225
|
+
* Insufficient credits for batch processing
|
|
4836
5226
|
*/
|
|
4837
|
-
402:
|
|
5227
|
+
402: unknown;
|
|
4838
5228
|
/**
|
|
4839
|
-
*
|
|
5229
|
+
* Validation Error
|
|
4840
5230
|
*/
|
|
4841
|
-
|
|
5231
|
+
422: HttpValidationError;
|
|
5232
|
+
/**
|
|
5233
|
+
* Internal server error during batch processing
|
|
5234
|
+
*/
|
|
5235
|
+
500: unknown;
|
|
5236
|
+
};
|
|
5237
|
+
|
|
5238
|
+
export type BatchProcessQueriesError = BatchProcessQueriesErrors[keyof BatchProcessQueriesErrors];
|
|
5239
|
+
|
|
5240
|
+
export type BatchProcessQueriesResponses = {
|
|
5241
|
+
/**
|
|
5242
|
+
* Batch processing completed successfully
|
|
5243
|
+
*/
|
|
5244
|
+
200: BatchAgentResponse;
|
|
5245
|
+
};
|
|
5246
|
+
|
|
5247
|
+
export type BatchProcessQueriesResponse = BatchProcessQueriesResponses[keyof BatchProcessQueriesResponses];
|
|
5248
|
+
|
|
5249
|
+
export type ListAgentsData = {
|
|
5250
|
+
body?: never;
|
|
5251
|
+
headers?: {
|
|
5252
|
+
/**
|
|
5253
|
+
* Authorization
|
|
5254
|
+
*/
|
|
5255
|
+
authorization?: string | null;
|
|
5256
|
+
};
|
|
5257
|
+
path: {
|
|
5258
|
+
/**
|
|
5259
|
+
* Graph Id
|
|
5260
|
+
* Graph database identifier
|
|
5261
|
+
*/
|
|
5262
|
+
graph_id: string;
|
|
5263
|
+
};
|
|
5264
|
+
query?: {
|
|
5265
|
+
/**
|
|
5266
|
+
* Capability
|
|
5267
|
+
* Filter by capability (e.g., 'financial_analysis', 'rag_search')
|
|
5268
|
+
*/
|
|
5269
|
+
capability?: string | null;
|
|
5270
|
+
};
|
|
5271
|
+
url: '/v1/{graph_id}/agent/list';
|
|
5272
|
+
};
|
|
5273
|
+
|
|
5274
|
+
export type ListAgentsErrors = {
|
|
5275
|
+
/**
|
|
5276
|
+
* Unauthorized - Invalid or missing authentication
|
|
5277
|
+
*/
|
|
5278
|
+
401: unknown;
|
|
4842
5279
|
/**
|
|
4843
5280
|
* Validation Error
|
|
4844
5281
|
*/
|
|
4845
5282
|
422: HttpValidationError;
|
|
5283
|
+
};
|
|
5284
|
+
|
|
5285
|
+
export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
|
|
5286
|
+
|
|
5287
|
+
export type ListAgentsResponses = {
|
|
4846
5288
|
/**
|
|
4847
|
-
*
|
|
5289
|
+
* List of agents retrieved successfully
|
|
4848
5290
|
*/
|
|
4849
|
-
|
|
5291
|
+
200: AgentListResponse;
|
|
4850
5292
|
};
|
|
4851
5293
|
|
|
4852
|
-
export type
|
|
5294
|
+
export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
|
|
4853
5295
|
|
|
4854
|
-
export type
|
|
5296
|
+
export type GetAgentMetadataData = {
|
|
5297
|
+
body?: never;
|
|
5298
|
+
headers?: {
|
|
5299
|
+
/**
|
|
5300
|
+
* Authorization
|
|
5301
|
+
*/
|
|
5302
|
+
authorization?: string | null;
|
|
5303
|
+
};
|
|
5304
|
+
path: {
|
|
5305
|
+
/**
|
|
5306
|
+
* Graph Id
|
|
5307
|
+
* Graph database identifier
|
|
5308
|
+
*/
|
|
5309
|
+
graph_id: string;
|
|
5310
|
+
/**
|
|
5311
|
+
* Agent Type
|
|
5312
|
+
* Agent type identifier (e.g., 'financial', 'research', 'rag')
|
|
5313
|
+
*/
|
|
5314
|
+
agent_type: string;
|
|
5315
|
+
};
|
|
5316
|
+
query?: never;
|
|
5317
|
+
url: '/v1/{graph_id}/agent/{agent_type}/metadata';
|
|
5318
|
+
};
|
|
5319
|
+
|
|
5320
|
+
export type GetAgentMetadataErrors = {
|
|
4855
5321
|
/**
|
|
4856
|
-
*
|
|
5322
|
+
* Agent type not found
|
|
4857
5323
|
*/
|
|
4858
|
-
|
|
5324
|
+
404: unknown;
|
|
5325
|
+
/**
|
|
5326
|
+
* Validation Error
|
|
5327
|
+
*/
|
|
5328
|
+
422: HttpValidationError;
|
|
5329
|
+
};
|
|
5330
|
+
|
|
5331
|
+
export type GetAgentMetadataError = GetAgentMetadataErrors[keyof GetAgentMetadataErrors];
|
|
5332
|
+
|
|
5333
|
+
export type GetAgentMetadataResponses = {
|
|
5334
|
+
/**
|
|
5335
|
+
* Agent metadata retrieved successfully
|
|
5336
|
+
*/
|
|
5337
|
+
200: AgentMetadataResponse;
|
|
5338
|
+
};
|
|
5339
|
+
|
|
5340
|
+
export type GetAgentMetadataResponse = GetAgentMetadataResponses[keyof GetAgentMetadataResponses];
|
|
5341
|
+
|
|
5342
|
+
export type RecommendAgentData = {
|
|
5343
|
+
body: AgentRecommendationRequest;
|
|
5344
|
+
headers?: {
|
|
5345
|
+
/**
|
|
5346
|
+
* Authorization
|
|
5347
|
+
*/
|
|
5348
|
+
authorization?: string | null;
|
|
5349
|
+
};
|
|
5350
|
+
path: {
|
|
5351
|
+
/**
|
|
5352
|
+
* Graph Id
|
|
5353
|
+
* Graph database identifier
|
|
5354
|
+
*/
|
|
5355
|
+
graph_id: string;
|
|
5356
|
+
};
|
|
5357
|
+
query?: never;
|
|
5358
|
+
url: '/v1/{graph_id}/agent/recommend';
|
|
5359
|
+
};
|
|
5360
|
+
|
|
5361
|
+
export type RecommendAgentErrors = {
|
|
5362
|
+
/**
|
|
5363
|
+
* Invalid recommendation request
|
|
5364
|
+
*/
|
|
5365
|
+
400: unknown;
|
|
5366
|
+
/**
|
|
5367
|
+
* Validation Error
|
|
5368
|
+
*/
|
|
5369
|
+
422: HttpValidationError;
|
|
5370
|
+
};
|
|
5371
|
+
|
|
5372
|
+
export type RecommendAgentError = RecommendAgentErrors[keyof RecommendAgentErrors];
|
|
5373
|
+
|
|
5374
|
+
export type RecommendAgentResponses = {
|
|
5375
|
+
/**
|
|
5376
|
+
* Recommendations generated successfully
|
|
5377
|
+
*/
|
|
5378
|
+
200: AgentRecommendationResponse;
|
|
4859
5379
|
};
|
|
4860
5380
|
|
|
4861
|
-
export type
|
|
5381
|
+
export type RecommendAgentResponse = RecommendAgentResponses[keyof RecommendAgentResponses];
|
|
4862
5382
|
|
|
4863
5383
|
export type ListMcpToolsData = {
|
|
4864
5384
|
body?: never;
|
|
@@ -6045,7 +6565,7 @@ export type CheckCreditBalanceData = {
|
|
|
6045
6565
|
* Base Cost
|
|
6046
6566
|
* Custom base cost (uses default if not provided)
|
|
6047
6567
|
*/
|
|
6048
|
-
base_cost?: number | null;
|
|
6568
|
+
base_cost?: number | string | null;
|
|
6049
6569
|
};
|
|
6050
6570
|
url: '/v1/{graph_id}/credits/balance/check';
|
|
6051
6571
|
};
|
|
@@ -6411,7 +6931,7 @@ export type CreateSubgraphResponses = {
|
|
|
6411
6931
|
export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
|
|
6412
6932
|
|
|
6413
6933
|
export type DeleteSubgraphData = {
|
|
6414
|
-
body
|
|
6934
|
+
body: DeleteSubgraphRequest;
|
|
6415
6935
|
headers?: {
|
|
6416
6936
|
/**
|
|
6417
6937
|
* Authorization
|