@robosystems/client 0.1.19 → 0.1.21
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/LICENSE +1 -1
- package/README.md +10 -423
- package/bin/create-feature +58 -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 +3 -3
- 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 +192 -129
- package/sdk/sdk.gen.js +413 -216
- package/sdk/sdk.gen.ts +412 -215
- package/sdk/types.gen.d.ts +952 -252
- package/sdk/types.gen.ts +1016 -253
- package/sdk-extensions/README.md +2 -3
- package/sdk.gen.d.ts +192 -129
- package/sdk.gen.js +413 -216
- package/sdk.gen.ts +412 -215
- package/types.gen.d.ts +952 -252
- package/types.gen.ts +1016 -253
package/types.gen.d.ts
CHANGED
|
@@ -117,6 +117,26 @@ export type AddOnCreditInfo = {
|
|
|
117
117
|
*/
|
|
118
118
|
rollover_amount?: number;
|
|
119
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* AgentListResponse
|
|
122
|
+
* Response for listing available agents.
|
|
123
|
+
*/
|
|
124
|
+
export type AgentListResponse = {
|
|
125
|
+
/**
|
|
126
|
+
* Agents
|
|
127
|
+
* Dictionary of available agents with metadata
|
|
128
|
+
*/
|
|
129
|
+
agents: {
|
|
130
|
+
[key: string]: {
|
|
131
|
+
[key: string]: unknown;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Total
|
|
136
|
+
* Total number of agents
|
|
137
|
+
*/
|
|
138
|
+
total: number;
|
|
139
|
+
};
|
|
120
140
|
/**
|
|
121
141
|
* AgentMessage
|
|
122
142
|
* Message in conversation history.
|
|
@@ -132,15 +152,136 @@ export type AgentMessage = {
|
|
|
132
152
|
* Message content
|
|
133
153
|
*/
|
|
134
154
|
content: string;
|
|
155
|
+
/**
|
|
156
|
+
* Timestamp
|
|
157
|
+
* Message timestamp
|
|
158
|
+
*/
|
|
159
|
+
timestamp?: string | null;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* AgentMetadataResponse
|
|
163
|
+
* Response for agent metadata.
|
|
164
|
+
*/
|
|
165
|
+
export type AgentMetadataResponse = {
|
|
166
|
+
/**
|
|
167
|
+
* Name
|
|
168
|
+
* Agent name
|
|
169
|
+
*/
|
|
170
|
+
name: string;
|
|
171
|
+
/**
|
|
172
|
+
* Description
|
|
173
|
+
* Agent description
|
|
174
|
+
*/
|
|
175
|
+
description: string;
|
|
176
|
+
/**
|
|
177
|
+
* Version
|
|
178
|
+
* Agent version
|
|
179
|
+
*/
|
|
180
|
+
version: string;
|
|
181
|
+
/**
|
|
182
|
+
* Capabilities
|
|
183
|
+
* Agent capabilities
|
|
184
|
+
*/
|
|
185
|
+
capabilities: Array<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Supported Modes
|
|
188
|
+
* Supported execution modes
|
|
189
|
+
*/
|
|
190
|
+
supported_modes: Array<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Requires Credits
|
|
193
|
+
* Whether agent requires credits
|
|
194
|
+
*/
|
|
195
|
+
requires_credits: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Author
|
|
198
|
+
* Agent author
|
|
199
|
+
*/
|
|
200
|
+
author?: string | null;
|
|
201
|
+
/**
|
|
202
|
+
* Tags
|
|
203
|
+
* Agent tags
|
|
204
|
+
*/
|
|
205
|
+
tags?: Array<string>;
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* AgentMode
|
|
209
|
+
* Agent execution modes.
|
|
210
|
+
*/
|
|
211
|
+
export type AgentMode = 'quick' | 'standard' | 'extended' | 'streaming';
|
|
212
|
+
/**
|
|
213
|
+
* AgentRecommendation
|
|
214
|
+
* Single agent recommendation.
|
|
215
|
+
*/
|
|
216
|
+
export type AgentRecommendation = {
|
|
217
|
+
/**
|
|
218
|
+
* Agent Type
|
|
219
|
+
* Agent type identifier
|
|
220
|
+
*/
|
|
221
|
+
agent_type: string;
|
|
222
|
+
/**
|
|
223
|
+
* Agent Name
|
|
224
|
+
* Agent display name
|
|
225
|
+
*/
|
|
226
|
+
agent_name: string;
|
|
227
|
+
/**
|
|
228
|
+
* Confidence
|
|
229
|
+
* Confidence score (0-1)
|
|
230
|
+
*/
|
|
231
|
+
confidence: number;
|
|
232
|
+
/**
|
|
233
|
+
* Capabilities
|
|
234
|
+
* Agent capabilities
|
|
235
|
+
*/
|
|
236
|
+
capabilities: Array<string>;
|
|
237
|
+
/**
|
|
238
|
+
* Reason
|
|
239
|
+
* Reason for recommendation
|
|
240
|
+
*/
|
|
241
|
+
reason?: string | null;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* AgentRecommendationRequest
|
|
245
|
+
* Request for agent recommendations.
|
|
246
|
+
*/
|
|
247
|
+
export type AgentRecommendationRequest = {
|
|
248
|
+
/**
|
|
249
|
+
* Query
|
|
250
|
+
* Query to analyze
|
|
251
|
+
*/
|
|
252
|
+
query: string;
|
|
253
|
+
/**
|
|
254
|
+
* Context
|
|
255
|
+
* Additional context
|
|
256
|
+
*/
|
|
257
|
+
context?: {
|
|
258
|
+
[key: string]: unknown;
|
|
259
|
+
} | null;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* AgentRecommendationResponse
|
|
263
|
+
* Response for agent recommendations.
|
|
264
|
+
*/
|
|
265
|
+
export type AgentRecommendationResponse = {
|
|
266
|
+
/**
|
|
267
|
+
* Recommendations
|
|
268
|
+
* List of agent recommendations sorted by confidence
|
|
269
|
+
*/
|
|
270
|
+
recommendations: Array<AgentRecommendation>;
|
|
271
|
+
/**
|
|
272
|
+
* Query
|
|
273
|
+
* The analyzed query
|
|
274
|
+
*/
|
|
275
|
+
query: string;
|
|
135
276
|
};
|
|
136
277
|
/**
|
|
137
278
|
* AgentRequest
|
|
138
|
-
* Request model for
|
|
279
|
+
* Request model for agent interactions.
|
|
139
280
|
*/
|
|
140
281
|
export type AgentRequest = {
|
|
141
282
|
/**
|
|
142
283
|
* Message
|
|
143
|
-
*
|
|
284
|
+
* The query or message to process
|
|
144
285
|
*/
|
|
145
286
|
message: string;
|
|
146
287
|
/**
|
|
@@ -150,44 +291,105 @@ export type AgentRequest = {
|
|
|
150
291
|
history?: Array<AgentMessage>;
|
|
151
292
|
/**
|
|
152
293
|
* Context
|
|
153
|
-
* Additional context for analysis (e.g.,
|
|
294
|
+
* Additional context for analysis (e.g., enable_rag, include_schema)
|
|
154
295
|
*/
|
|
155
296
|
context?: {
|
|
156
297
|
[key: string]: unknown;
|
|
157
298
|
} | null;
|
|
299
|
+
/**
|
|
300
|
+
* Execution mode
|
|
301
|
+
*/
|
|
302
|
+
mode?: AgentMode | null;
|
|
303
|
+
/**
|
|
304
|
+
* Agent Type
|
|
305
|
+
* Specific agent type to use (optional)
|
|
306
|
+
*/
|
|
307
|
+
agent_type?: string | null;
|
|
308
|
+
/**
|
|
309
|
+
* Criteria for agent selection
|
|
310
|
+
*/
|
|
311
|
+
selection_criteria?: SelectionCriteria | null;
|
|
158
312
|
/**
|
|
159
313
|
* Force Extended Analysis
|
|
160
|
-
* Force extended analysis mode with comprehensive research
|
|
314
|
+
* Force extended analysis mode with comprehensive research
|
|
161
315
|
*/
|
|
162
316
|
force_extended_analysis?: boolean;
|
|
317
|
+
/**
|
|
318
|
+
* Enable Rag
|
|
319
|
+
* Enable RAG context enrichment
|
|
320
|
+
*/
|
|
321
|
+
enable_rag?: boolean;
|
|
322
|
+
/**
|
|
323
|
+
* Stream
|
|
324
|
+
* Enable streaming response
|
|
325
|
+
*/
|
|
326
|
+
stream?: boolean;
|
|
163
327
|
};
|
|
164
328
|
/**
|
|
165
329
|
* AgentResponse
|
|
166
|
-
* Response model for
|
|
330
|
+
* Response model for agent interactions.
|
|
167
331
|
*/
|
|
168
332
|
export type AgentResponse = {
|
|
169
333
|
/**
|
|
170
|
-
*
|
|
171
|
-
*
|
|
334
|
+
* Content
|
|
335
|
+
* The agent's response content
|
|
336
|
+
*/
|
|
337
|
+
content: string;
|
|
338
|
+
/**
|
|
339
|
+
* Agent Used
|
|
340
|
+
* The agent type that handled the request
|
|
341
|
+
*/
|
|
342
|
+
agent_used: string;
|
|
343
|
+
/**
|
|
344
|
+
* The execution mode used
|
|
172
345
|
*/
|
|
173
|
-
|
|
346
|
+
mode_used: AgentMode;
|
|
174
347
|
/**
|
|
175
348
|
* Metadata
|
|
176
|
-
*
|
|
349
|
+
* Response metadata including routing info
|
|
177
350
|
*/
|
|
178
351
|
metadata?: {
|
|
179
352
|
[key: string]: unknown;
|
|
180
353
|
} | null;
|
|
354
|
+
/**
|
|
355
|
+
* Tokens Used
|
|
356
|
+
* Token usage statistics
|
|
357
|
+
*/
|
|
358
|
+
tokens_used?: {
|
|
359
|
+
[key: string]: number;
|
|
360
|
+
} | null;
|
|
361
|
+
/**
|
|
362
|
+
* Confidence Score
|
|
363
|
+
* Confidence score of the response
|
|
364
|
+
*/
|
|
365
|
+
confidence_score?: number | null;
|
|
181
366
|
/**
|
|
182
367
|
* Operation Id
|
|
183
|
-
*
|
|
368
|
+
* Operation ID for SSE monitoring
|
|
184
369
|
*/
|
|
185
370
|
operation_id?: string | null;
|
|
186
371
|
/**
|
|
187
372
|
* Is Partial
|
|
188
|
-
* Whether this is a partial response
|
|
373
|
+
* Whether this is a partial response
|
|
189
374
|
*/
|
|
190
375
|
is_partial?: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* Error Details
|
|
378
|
+
* Error details if any
|
|
379
|
+
*/
|
|
380
|
+
error_details?: {
|
|
381
|
+
[key: string]: unknown;
|
|
382
|
+
} | null;
|
|
383
|
+
/**
|
|
384
|
+
* Execution Time
|
|
385
|
+
* Execution time in seconds
|
|
386
|
+
*/
|
|
387
|
+
execution_time?: number | null;
|
|
388
|
+
/**
|
|
389
|
+
* Timestamp
|
|
390
|
+
* Response timestamp
|
|
391
|
+
*/
|
|
392
|
+
timestamp?: string;
|
|
191
393
|
};
|
|
192
394
|
/**
|
|
193
395
|
* AuthResponse
|
|
@@ -208,9 +410,9 @@ export type AuthResponse = {
|
|
|
208
410
|
message: string;
|
|
209
411
|
/**
|
|
210
412
|
* Token
|
|
211
|
-
* JWT authentication token
|
|
413
|
+
* JWT authentication token (optional for cookie-based auth)
|
|
212
414
|
*/
|
|
213
|
-
token
|
|
415
|
+
token?: string | null;
|
|
214
416
|
};
|
|
215
417
|
/**
|
|
216
418
|
* AvailableExtension
|
|
@@ -439,6 +641,43 @@ export type BackupStatsResponse = {
|
|
|
439
641
|
[key: string]: number;
|
|
440
642
|
};
|
|
441
643
|
};
|
|
644
|
+
/**
|
|
645
|
+
* BatchAgentRequest
|
|
646
|
+
* Request for batch processing multiple queries.
|
|
647
|
+
*/
|
|
648
|
+
export type BatchAgentRequest = {
|
|
649
|
+
/**
|
|
650
|
+
* Queries
|
|
651
|
+
* List of queries to process
|
|
652
|
+
*/
|
|
653
|
+
queries: Array<AgentRequest>;
|
|
654
|
+
/**
|
|
655
|
+
* Parallel
|
|
656
|
+
* Process queries in parallel
|
|
657
|
+
*/
|
|
658
|
+
parallel?: boolean;
|
|
659
|
+
};
|
|
660
|
+
/**
|
|
661
|
+
* BatchAgentResponse
|
|
662
|
+
* Response for batch processing.
|
|
663
|
+
*/
|
|
664
|
+
export type BatchAgentResponse = {
|
|
665
|
+
/**
|
|
666
|
+
* Results
|
|
667
|
+
* List of agent responses
|
|
668
|
+
*/
|
|
669
|
+
results: Array<AgentResponse>;
|
|
670
|
+
/**
|
|
671
|
+
* Total Execution Time
|
|
672
|
+
* Total execution time
|
|
673
|
+
*/
|
|
674
|
+
total_execution_time: number;
|
|
675
|
+
/**
|
|
676
|
+
* Parallel Processed
|
|
677
|
+
* Whether queries were processed in parallel
|
|
678
|
+
*/
|
|
679
|
+
parallel_processed: boolean;
|
|
680
|
+
};
|
|
442
681
|
/**
|
|
443
682
|
* CancellationResponse
|
|
444
683
|
* Response for subscription cancellation.
|
|
@@ -807,12 +1046,12 @@ export type CreditSummary = {
|
|
|
807
1046
|
* Last Allocation Date
|
|
808
1047
|
* Last allocation date (ISO format)
|
|
809
1048
|
*/
|
|
810
|
-
last_allocation_date?: string;
|
|
1049
|
+
last_allocation_date?: string | null;
|
|
811
1050
|
/**
|
|
812
1051
|
* Next Allocation Date
|
|
813
1052
|
* Next allocation date (ISO format)
|
|
814
1053
|
*/
|
|
815
|
-
next_allocation_date?: string;
|
|
1054
|
+
next_allocation_date?: string | null;
|
|
816
1055
|
/**
|
|
817
1056
|
* Is Active
|
|
818
1057
|
* Whether credit pool is active
|
|
@@ -879,7 +1118,7 @@ export type CreditsSummaryResponse = {
|
|
|
879
1118
|
*/
|
|
880
1119
|
credits_by_addon?: Array<{
|
|
881
1120
|
[key: string]: unknown;
|
|
882
|
-
}
|
|
1121
|
+
}> | null;
|
|
883
1122
|
/**
|
|
884
1123
|
* Addon Count
|
|
885
1124
|
* Number of active add-ons
|
|
@@ -888,7 +1127,7 @@ export type CreditsSummaryResponse = {
|
|
|
888
1127
|
};
|
|
889
1128
|
/**
|
|
890
1129
|
* CustomSchemaDefinition
|
|
891
|
-
* Custom schema definition for
|
|
1130
|
+
* Custom schema definition for custom graphs.
|
|
892
1131
|
*/
|
|
893
1132
|
export type CustomSchemaDefinition = {
|
|
894
1133
|
/**
|
|
@@ -1216,6 +1455,17 @@ export type DetailedTransactionsResponse = {
|
|
|
1216
1455
|
[key: string]: string;
|
|
1217
1456
|
};
|
|
1218
1457
|
};
|
|
1458
|
+
/**
|
|
1459
|
+
* EmailVerificationRequest
|
|
1460
|
+
* Email verification request model.
|
|
1461
|
+
*/
|
|
1462
|
+
export type EmailVerificationRequest = {
|
|
1463
|
+
/**
|
|
1464
|
+
* Token
|
|
1465
|
+
* Email verification token from email link
|
|
1466
|
+
*/
|
|
1467
|
+
token: string;
|
|
1468
|
+
};
|
|
1219
1469
|
/**
|
|
1220
1470
|
* EnhancedCreditTransactionResponse
|
|
1221
1471
|
* Enhanced credit transaction response with more details.
|
|
@@ -1316,6 +1566,17 @@ export type ExchangeTokenRequest = {
|
|
|
1316
1566
|
[key: string]: unknown;
|
|
1317
1567
|
} | null;
|
|
1318
1568
|
};
|
|
1569
|
+
/**
|
|
1570
|
+
* ForgotPasswordRequest
|
|
1571
|
+
* Forgot password request model.
|
|
1572
|
+
*/
|
|
1573
|
+
export type ForgotPasswordRequest = {
|
|
1574
|
+
/**
|
|
1575
|
+
* Email
|
|
1576
|
+
* Email address to send reset link
|
|
1577
|
+
*/
|
|
1578
|
+
email: string;
|
|
1579
|
+
};
|
|
1319
1580
|
/**
|
|
1320
1581
|
* GraphInfo
|
|
1321
1582
|
* Graph information for user.
|
|
@@ -1916,11 +2177,11 @@ export type RepositoryCreditsResponse = {
|
|
|
1916
2177
|
* Message
|
|
1917
2178
|
* Access message
|
|
1918
2179
|
*/
|
|
1919
|
-
message?: string;
|
|
2180
|
+
message?: string | null;
|
|
1920
2181
|
/**
|
|
1921
2182
|
* Credit summary if access available
|
|
1922
2183
|
*/
|
|
1923
|
-
credits?: CreditSummary;
|
|
2184
|
+
credits?: CreditSummary | null;
|
|
1924
2185
|
};
|
|
1925
2186
|
/**
|
|
1926
2187
|
* RepositoryPlan
|
|
@@ -1932,6 +2193,38 @@ export type RepositoryPlan = 'starter' | 'advanced' | 'unlimited';
|
|
|
1932
2193
|
* Types of shared repositories.
|
|
1933
2194
|
*/
|
|
1934
2195
|
export type RepositoryType = 'sec' | 'industry' | 'economic';
|
|
2196
|
+
/**
|
|
2197
|
+
* ResetPasswordRequest
|
|
2198
|
+
* Reset password request model.
|
|
2199
|
+
*/
|
|
2200
|
+
export type ResetPasswordRequest = {
|
|
2201
|
+
/**
|
|
2202
|
+
* Token
|
|
2203
|
+
* Password reset token from email link
|
|
2204
|
+
*/
|
|
2205
|
+
token: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* New Password
|
|
2208
|
+
* New password (must meet security requirements)
|
|
2209
|
+
*/
|
|
2210
|
+
new_password: string;
|
|
2211
|
+
};
|
|
2212
|
+
/**
|
|
2213
|
+
* ResetPasswordValidateResponse
|
|
2214
|
+
* Password reset token validation response model.
|
|
2215
|
+
*/
|
|
2216
|
+
export type ResetPasswordValidateResponse = {
|
|
2217
|
+
/**
|
|
2218
|
+
* Valid
|
|
2219
|
+
* Whether the token is valid
|
|
2220
|
+
*/
|
|
2221
|
+
valid: boolean;
|
|
2222
|
+
/**
|
|
2223
|
+
* Email
|
|
2224
|
+
* Masked email address if token is valid
|
|
2225
|
+
*/
|
|
2226
|
+
email?: string | null;
|
|
2227
|
+
};
|
|
1935
2228
|
/**
|
|
1936
2229
|
* ResponseMode
|
|
1937
2230
|
* Response modes for execution.
|
|
@@ -2245,6 +2538,36 @@ export type SchemaValidationResponse = {
|
|
|
2245
2538
|
[key: string]: unknown;
|
|
2246
2539
|
} | null;
|
|
2247
2540
|
};
|
|
2541
|
+
/**
|
|
2542
|
+
* SelectionCriteria
|
|
2543
|
+
* Criteria for agent selection.
|
|
2544
|
+
*/
|
|
2545
|
+
export type SelectionCriteria = {
|
|
2546
|
+
/**
|
|
2547
|
+
* Min Confidence
|
|
2548
|
+
* Minimum confidence score
|
|
2549
|
+
*/
|
|
2550
|
+
min_confidence?: number;
|
|
2551
|
+
/**
|
|
2552
|
+
* Required Capabilities
|
|
2553
|
+
* Required agent capabilities
|
|
2554
|
+
*/
|
|
2555
|
+
required_capabilities?: Array<string>;
|
|
2556
|
+
/**
|
|
2557
|
+
* Preferred execution mode
|
|
2558
|
+
*/
|
|
2559
|
+
preferred_mode?: AgentMode | null;
|
|
2560
|
+
/**
|
|
2561
|
+
* Max Response Time
|
|
2562
|
+
* Maximum response time in seconds
|
|
2563
|
+
*/
|
|
2564
|
+
max_response_time?: number;
|
|
2565
|
+
/**
|
|
2566
|
+
* Excluded Agents
|
|
2567
|
+
* Agents to exclude from selection
|
|
2568
|
+
*/
|
|
2569
|
+
excluded_agents?: Array<string>;
|
|
2570
|
+
};
|
|
2248
2571
|
/**
|
|
2249
2572
|
* StorageLimitResponse
|
|
2250
2573
|
* Storage limit information response.
|
|
@@ -3060,6 +3383,12 @@ export type LoginUserResponses = {
|
|
|
3060
3383
|
export type LoginUserResponse = LoginUserResponses[keyof LoginUserResponses];
|
|
3061
3384
|
export type LogoutUserData = {
|
|
3062
3385
|
body?: never;
|
|
3386
|
+
headers?: {
|
|
3387
|
+
/**
|
|
3388
|
+
* Authorization
|
|
3389
|
+
*/
|
|
3390
|
+
authorization?: string | null;
|
|
3391
|
+
};
|
|
3063
3392
|
path?: never;
|
|
3064
3393
|
query?: never;
|
|
3065
3394
|
url: '/v1/auth/logout';
|
|
@@ -3114,13 +3443,19 @@ export type GetCurrentAuthUserResponses = {
|
|
|
3114
3443
|
};
|
|
3115
3444
|
};
|
|
3116
3445
|
export type GetCurrentAuthUserResponse = GetCurrentAuthUserResponses[keyof GetCurrentAuthUserResponses];
|
|
3117
|
-
export type
|
|
3446
|
+
export type RefreshAuthSessionData = {
|
|
3118
3447
|
body?: never;
|
|
3448
|
+
headers?: {
|
|
3449
|
+
/**
|
|
3450
|
+
* Authorization
|
|
3451
|
+
*/
|
|
3452
|
+
authorization?: string | null;
|
|
3453
|
+
};
|
|
3119
3454
|
path?: never;
|
|
3120
3455
|
query?: never;
|
|
3121
3456
|
url: '/v1/auth/refresh';
|
|
3122
3457
|
};
|
|
3123
|
-
export type
|
|
3458
|
+
export type RefreshAuthSessionErrors = {
|
|
3124
3459
|
/**
|
|
3125
3460
|
* Not authenticated
|
|
3126
3461
|
*/
|
|
@@ -3130,147 +3465,295 @@ export type RefreshSessionErrors = {
|
|
|
3130
3465
|
*/
|
|
3131
3466
|
422: HttpValidationError;
|
|
3132
3467
|
};
|
|
3133
|
-
export type
|
|
3134
|
-
export type
|
|
3468
|
+
export type RefreshAuthSessionError = RefreshAuthSessionErrors[keyof RefreshAuthSessionErrors];
|
|
3469
|
+
export type RefreshAuthSessionResponses = {
|
|
3135
3470
|
/**
|
|
3136
3471
|
* Successful Response
|
|
3137
3472
|
*/
|
|
3138
3473
|
200: AuthResponse;
|
|
3139
3474
|
};
|
|
3140
|
-
export type
|
|
3141
|
-
export type
|
|
3475
|
+
export type RefreshAuthSessionResponse = RefreshAuthSessionResponses[keyof RefreshAuthSessionResponses];
|
|
3476
|
+
export type ResendVerificationEmailData = {
|
|
3142
3477
|
body?: never;
|
|
3478
|
+
headers?: {
|
|
3479
|
+
/**
|
|
3480
|
+
* Authorization
|
|
3481
|
+
*/
|
|
3482
|
+
authorization?: string | null;
|
|
3483
|
+
};
|
|
3143
3484
|
path?: never;
|
|
3144
3485
|
query?: never;
|
|
3145
|
-
url: '/v1/auth/
|
|
3486
|
+
url: '/v1/auth/email/resend';
|
|
3146
3487
|
};
|
|
3147
|
-
export type
|
|
3488
|
+
export type ResendVerificationEmailErrors = {
|
|
3148
3489
|
/**
|
|
3149
|
-
*
|
|
3490
|
+
* Email already verified
|
|
3150
3491
|
*/
|
|
3151
|
-
|
|
3492
|
+
400: ErrorResponse;
|
|
3152
3493
|
/**
|
|
3153
3494
|
* Validation Error
|
|
3154
3495
|
*/
|
|
3155
3496
|
422: HttpValidationError;
|
|
3497
|
+
/**
|
|
3498
|
+
* Rate limit exceeded
|
|
3499
|
+
*/
|
|
3500
|
+
429: ErrorResponse;
|
|
3501
|
+
/**
|
|
3502
|
+
* Email service unavailable
|
|
3503
|
+
*/
|
|
3504
|
+
503: ErrorResponse;
|
|
3156
3505
|
};
|
|
3157
|
-
export type
|
|
3158
|
-
export type
|
|
3506
|
+
export type ResendVerificationEmailError = ResendVerificationEmailErrors[keyof ResendVerificationEmailErrors];
|
|
3507
|
+
export type ResendVerificationEmailResponses = {
|
|
3159
3508
|
/**
|
|
3509
|
+
* Response Resendverificationemail
|
|
3160
3510
|
* Successful Response
|
|
3161
3511
|
*/
|
|
3162
|
-
200:
|
|
3512
|
+
200: {
|
|
3513
|
+
[key: string]: unknown;
|
|
3514
|
+
};
|
|
3163
3515
|
};
|
|
3164
|
-
export type
|
|
3165
|
-
export type
|
|
3166
|
-
body:
|
|
3516
|
+
export type ResendVerificationEmailResponse = ResendVerificationEmailResponses[keyof ResendVerificationEmailResponses];
|
|
3517
|
+
export type VerifyEmailData = {
|
|
3518
|
+
body: EmailVerificationRequest;
|
|
3167
3519
|
path?: never;
|
|
3168
3520
|
query?: never;
|
|
3169
|
-
url: '/v1/auth/
|
|
3521
|
+
url: '/v1/auth/email/verify';
|
|
3170
3522
|
};
|
|
3171
|
-
export type
|
|
3523
|
+
export type VerifyEmailErrors = {
|
|
3172
3524
|
/**
|
|
3173
|
-
* Invalid
|
|
3525
|
+
* Invalid or expired token
|
|
3174
3526
|
*/
|
|
3175
|
-
|
|
3527
|
+
400: ErrorResponse;
|
|
3176
3528
|
/**
|
|
3177
3529
|
* Validation Error
|
|
3178
3530
|
*/
|
|
3179
3531
|
422: HttpValidationError;
|
|
3180
3532
|
};
|
|
3181
|
-
export type
|
|
3182
|
-
export type
|
|
3533
|
+
export type VerifyEmailError = VerifyEmailErrors[keyof VerifyEmailErrors];
|
|
3534
|
+
export type VerifyEmailResponses = {
|
|
3183
3535
|
/**
|
|
3184
3536
|
* Successful Response
|
|
3185
3537
|
*/
|
|
3186
3538
|
200: AuthResponse;
|
|
3187
3539
|
};
|
|
3188
|
-
export type
|
|
3189
|
-
export type
|
|
3190
|
-
body
|
|
3540
|
+
export type VerifyEmailResponse = VerifyEmailResponses[keyof VerifyEmailResponses];
|
|
3541
|
+
export type GetPasswordPolicyData = {
|
|
3542
|
+
body?: never;
|
|
3191
3543
|
path?: never;
|
|
3192
3544
|
query?: never;
|
|
3193
|
-
url: '/v1/auth/
|
|
3545
|
+
url: '/v1/auth/password/policy';
|
|
3194
3546
|
};
|
|
3195
|
-
export type
|
|
3196
|
-
/**
|
|
3197
|
-
* Invalid request data
|
|
3198
|
-
*/
|
|
3199
|
-
400: ErrorResponse;
|
|
3547
|
+
export type GetPasswordPolicyResponses = {
|
|
3200
3548
|
/**
|
|
3201
|
-
*
|
|
3549
|
+
* Password policy requirements
|
|
3202
3550
|
*/
|
|
3203
|
-
|
|
3551
|
+
200: PasswordPolicyResponse;
|
|
3552
|
+
};
|
|
3553
|
+
export type GetPasswordPolicyResponse = GetPasswordPolicyResponses[keyof GetPasswordPolicyResponses];
|
|
3554
|
+
export type CheckPasswordStrengthData = {
|
|
3555
|
+
body: PasswordCheckRequest;
|
|
3556
|
+
path?: never;
|
|
3557
|
+
query?: never;
|
|
3558
|
+
url: '/v1/auth/password/check';
|
|
3559
|
+
};
|
|
3560
|
+
export type CheckPasswordStrengthErrors = {
|
|
3204
3561
|
/**
|
|
3205
3562
|
* Validation Error
|
|
3206
3563
|
*/
|
|
3207
3564
|
422: HttpValidationError;
|
|
3208
3565
|
};
|
|
3209
|
-
export type
|
|
3210
|
-
export type
|
|
3566
|
+
export type CheckPasswordStrengthError = CheckPasswordStrengthErrors[keyof CheckPasswordStrengthErrors];
|
|
3567
|
+
export type CheckPasswordStrengthResponses = {
|
|
3211
3568
|
/**
|
|
3569
|
+
* Password strength analysis
|
|
3570
|
+
*/
|
|
3571
|
+
200: PasswordCheckResponse;
|
|
3572
|
+
};
|
|
3573
|
+
export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
|
|
3574
|
+
export type ForgotPasswordData = {
|
|
3575
|
+
body: ForgotPasswordRequest;
|
|
3576
|
+
path?: never;
|
|
3577
|
+
query?: never;
|
|
3578
|
+
url: '/v1/auth/password/forgot';
|
|
3579
|
+
};
|
|
3580
|
+
export type ForgotPasswordErrors = {
|
|
3581
|
+
/**
|
|
3582
|
+
* Validation Error
|
|
3583
|
+
*/
|
|
3584
|
+
422: HttpValidationError;
|
|
3585
|
+
/**
|
|
3586
|
+
* Rate limit exceeded
|
|
3587
|
+
*/
|
|
3588
|
+
429: ErrorResponse;
|
|
3589
|
+
};
|
|
3590
|
+
export type ForgotPasswordError = ForgotPasswordErrors[keyof ForgotPasswordErrors];
|
|
3591
|
+
export type ForgotPasswordResponses = {
|
|
3592
|
+
/**
|
|
3593
|
+
* Response Forgotpassword
|
|
3212
3594
|
* Successful Response
|
|
3213
3595
|
*/
|
|
3214
|
-
200:
|
|
3596
|
+
200: {
|
|
3597
|
+
[key: string]: unknown;
|
|
3598
|
+
};
|
|
3215
3599
|
};
|
|
3216
|
-
export type
|
|
3217
|
-
export type
|
|
3218
|
-
body
|
|
3600
|
+
export type ForgotPasswordResponse = ForgotPasswordResponses[keyof ForgotPasswordResponses];
|
|
3601
|
+
export type ValidateResetTokenData = {
|
|
3602
|
+
body?: never;
|
|
3603
|
+
path?: never;
|
|
3604
|
+
query: {
|
|
3605
|
+
/**
|
|
3606
|
+
* Token
|
|
3607
|
+
* Password reset token
|
|
3608
|
+
*/
|
|
3609
|
+
token: string;
|
|
3610
|
+
};
|
|
3611
|
+
url: '/v1/auth/password/reset/validate';
|
|
3612
|
+
};
|
|
3613
|
+
export type ValidateResetTokenErrors = {
|
|
3614
|
+
/**
|
|
3615
|
+
* Validation Error
|
|
3616
|
+
*/
|
|
3617
|
+
422: HttpValidationError;
|
|
3618
|
+
};
|
|
3619
|
+
export type ValidateResetTokenError = ValidateResetTokenErrors[keyof ValidateResetTokenErrors];
|
|
3620
|
+
export type ValidateResetTokenResponses = {
|
|
3621
|
+
/**
|
|
3622
|
+
* Successful Response
|
|
3623
|
+
*/
|
|
3624
|
+
200: ResetPasswordValidateResponse;
|
|
3625
|
+
};
|
|
3626
|
+
export type ValidateResetTokenResponse = ValidateResetTokenResponses[keyof ValidateResetTokenResponses];
|
|
3627
|
+
export type ResetPasswordData = {
|
|
3628
|
+
body: ResetPasswordRequest;
|
|
3219
3629
|
path?: never;
|
|
3220
3630
|
query?: never;
|
|
3221
|
-
url: '/v1/auth/
|
|
3631
|
+
url: '/v1/auth/password/reset';
|
|
3222
3632
|
};
|
|
3223
|
-
export type
|
|
3633
|
+
export type ResetPasswordErrors = {
|
|
3224
3634
|
/**
|
|
3225
|
-
* Invalid
|
|
3635
|
+
* Invalid token or password
|
|
3226
3636
|
*/
|
|
3227
|
-
|
|
3637
|
+
400: ErrorResponse;
|
|
3228
3638
|
/**
|
|
3229
3639
|
* Validation Error
|
|
3230
3640
|
*/
|
|
3231
3641
|
422: HttpValidationError;
|
|
3232
3642
|
};
|
|
3233
|
-
export type
|
|
3234
|
-
export type
|
|
3643
|
+
export type ResetPasswordError = ResetPasswordErrors[keyof ResetPasswordErrors];
|
|
3644
|
+
export type ResetPasswordResponses = {
|
|
3235
3645
|
/**
|
|
3236
3646
|
* Successful Response
|
|
3237
3647
|
*/
|
|
3238
3648
|
200: AuthResponse;
|
|
3239
3649
|
};
|
|
3240
|
-
export type
|
|
3241
|
-
export type
|
|
3650
|
+
export type ResetPasswordResponse = ResetPasswordResponses[keyof ResetPasswordResponses];
|
|
3651
|
+
export type GenerateSsoTokenData = {
|
|
3242
3652
|
body?: never;
|
|
3653
|
+
headers?: {
|
|
3654
|
+
/**
|
|
3655
|
+
* Authorization
|
|
3656
|
+
*/
|
|
3657
|
+
authorization?: string | null;
|
|
3658
|
+
};
|
|
3243
3659
|
path?: never;
|
|
3244
3660
|
query?: never;
|
|
3245
|
-
url: '/v1/auth/
|
|
3661
|
+
url: '/v1/auth/sso-token';
|
|
3246
3662
|
};
|
|
3247
|
-
export type
|
|
3663
|
+
export type GenerateSsoTokenErrors = {
|
|
3248
3664
|
/**
|
|
3249
|
-
*
|
|
3665
|
+
* Not authenticated
|
|
3250
3666
|
*/
|
|
3251
|
-
|
|
3667
|
+
401: ErrorResponse;
|
|
3668
|
+
/**
|
|
3669
|
+
* Validation Error
|
|
3670
|
+
*/
|
|
3671
|
+
422: HttpValidationError;
|
|
3252
3672
|
};
|
|
3253
|
-
export type
|
|
3254
|
-
export type
|
|
3255
|
-
|
|
3673
|
+
export type GenerateSsoTokenError = GenerateSsoTokenErrors[keyof GenerateSsoTokenErrors];
|
|
3674
|
+
export type GenerateSsoTokenResponses = {
|
|
3675
|
+
/**
|
|
3676
|
+
* Successful Response
|
|
3677
|
+
*/
|
|
3678
|
+
200: SsoTokenResponse;
|
|
3679
|
+
};
|
|
3680
|
+
export type GenerateSsoTokenResponse = GenerateSsoTokenResponses[keyof GenerateSsoTokenResponses];
|
|
3681
|
+
export type SsoLoginData = {
|
|
3682
|
+
body: SsoLoginRequest;
|
|
3256
3683
|
path?: never;
|
|
3257
3684
|
query?: never;
|
|
3258
|
-
url: '/v1/auth/
|
|
3685
|
+
url: '/v1/auth/sso-login';
|
|
3259
3686
|
};
|
|
3260
|
-
export type
|
|
3687
|
+
export type SsoLoginErrors = {
|
|
3688
|
+
/**
|
|
3689
|
+
* Invalid SSO token
|
|
3690
|
+
*/
|
|
3691
|
+
401: ErrorResponse;
|
|
3261
3692
|
/**
|
|
3262
3693
|
* Validation Error
|
|
3263
3694
|
*/
|
|
3264
3695
|
422: HttpValidationError;
|
|
3265
3696
|
};
|
|
3266
|
-
export type
|
|
3267
|
-
export type
|
|
3697
|
+
export type SsoLoginError = SsoLoginErrors[keyof SsoLoginErrors];
|
|
3698
|
+
export type SsoLoginResponses = {
|
|
3268
3699
|
/**
|
|
3269
|
-
*
|
|
3700
|
+
* Successful Response
|
|
3270
3701
|
*/
|
|
3271
|
-
200:
|
|
3702
|
+
200: AuthResponse;
|
|
3272
3703
|
};
|
|
3273
|
-
export type
|
|
3704
|
+
export type SsoLoginResponse = SsoLoginResponses[keyof SsoLoginResponses];
|
|
3705
|
+
export type SsoTokenExchangeData = {
|
|
3706
|
+
body: SsoExchangeRequest;
|
|
3707
|
+
path?: never;
|
|
3708
|
+
query?: never;
|
|
3709
|
+
url: '/v1/auth/sso-exchange';
|
|
3710
|
+
};
|
|
3711
|
+
export type SsoTokenExchangeErrors = {
|
|
3712
|
+
/**
|
|
3713
|
+
* Invalid request data
|
|
3714
|
+
*/
|
|
3715
|
+
400: ErrorResponse;
|
|
3716
|
+
/**
|
|
3717
|
+
* Invalid SSO token
|
|
3718
|
+
*/
|
|
3719
|
+
401: ErrorResponse;
|
|
3720
|
+
/**
|
|
3721
|
+
* Validation Error
|
|
3722
|
+
*/
|
|
3723
|
+
422: HttpValidationError;
|
|
3724
|
+
};
|
|
3725
|
+
export type SsoTokenExchangeError = SsoTokenExchangeErrors[keyof SsoTokenExchangeErrors];
|
|
3726
|
+
export type SsoTokenExchangeResponses = {
|
|
3727
|
+
/**
|
|
3728
|
+
* Successful Response
|
|
3729
|
+
*/
|
|
3730
|
+
200: SsoExchangeResponse;
|
|
3731
|
+
};
|
|
3732
|
+
export type SsoTokenExchangeResponse = SsoTokenExchangeResponses[keyof SsoTokenExchangeResponses];
|
|
3733
|
+
export type CompleteSsoAuthData = {
|
|
3734
|
+
body: SsoCompleteRequest;
|
|
3735
|
+
path?: never;
|
|
3736
|
+
query?: never;
|
|
3737
|
+
url: '/v1/auth/sso-complete';
|
|
3738
|
+
};
|
|
3739
|
+
export type CompleteSsoAuthErrors = {
|
|
3740
|
+
/**
|
|
3741
|
+
* Invalid session
|
|
3742
|
+
*/
|
|
3743
|
+
401: ErrorResponse;
|
|
3744
|
+
/**
|
|
3745
|
+
* Validation Error
|
|
3746
|
+
*/
|
|
3747
|
+
422: HttpValidationError;
|
|
3748
|
+
};
|
|
3749
|
+
export type CompleteSsoAuthError = CompleteSsoAuthErrors[keyof CompleteSsoAuthErrors];
|
|
3750
|
+
export type CompleteSsoAuthResponses = {
|
|
3751
|
+
/**
|
|
3752
|
+
* Successful Response
|
|
3753
|
+
*/
|
|
3754
|
+
200: AuthResponse;
|
|
3755
|
+
};
|
|
3756
|
+
export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
|
|
3274
3757
|
export type GetCaptchaConfigData = {
|
|
3275
3758
|
body?: never;
|
|
3276
3759
|
path?: never;
|
|
@@ -4033,7 +4516,7 @@ export type GetRepositoryCreditsResponses = {
|
|
|
4033
4516
|
200: RepositoryCreditsResponse;
|
|
4034
4517
|
};
|
|
4035
4518
|
export type GetRepositoryCreditsResponse = GetRepositoryCreditsResponses[keyof GetRepositoryCreditsResponses];
|
|
4036
|
-
export type
|
|
4519
|
+
export type GetConnectionOptionsData = {
|
|
4037
4520
|
body?: never;
|
|
4038
4521
|
headers?: {
|
|
4039
4522
|
/**
|
|
@@ -4048,21 +4531,10 @@ export type ListConnectionsData = {
|
|
|
4048
4531
|
*/
|
|
4049
4532
|
graph_id: string;
|
|
4050
4533
|
};
|
|
4051
|
-
query?:
|
|
4052
|
-
|
|
4053
|
-
* Entity Id
|
|
4054
|
-
* Filter by entity ID
|
|
4055
|
-
*/
|
|
4056
|
-
entity_id?: string | null;
|
|
4057
|
-
/**
|
|
4058
|
-
* Provider
|
|
4059
|
-
* Filter by provider type
|
|
4060
|
-
*/
|
|
4061
|
-
provider?: ('sec' | 'quickbooks' | 'plaid') | null;
|
|
4062
|
-
};
|
|
4063
|
-
url: '/v1/{graph_id}/connections';
|
|
4534
|
+
query?: never;
|
|
4535
|
+
url: '/v1/{graph_id}/connections/options';
|
|
4064
4536
|
};
|
|
4065
|
-
export type
|
|
4537
|
+
export type GetConnectionOptionsErrors = {
|
|
4066
4538
|
/**
|
|
4067
4539
|
* Access denied to graph
|
|
4068
4540
|
*/
|
|
@@ -4072,21 +4544,20 @@ export type ListConnectionsErrors = {
|
|
|
4072
4544
|
*/
|
|
4073
4545
|
422: HttpValidationError;
|
|
4074
4546
|
/**
|
|
4075
|
-
* Failed to
|
|
4547
|
+
* Failed to retrieve options
|
|
4076
4548
|
*/
|
|
4077
4549
|
500: ErrorResponse;
|
|
4078
4550
|
};
|
|
4079
|
-
export type
|
|
4080
|
-
export type
|
|
4551
|
+
export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
|
|
4552
|
+
export type GetConnectionOptionsResponses = {
|
|
4081
4553
|
/**
|
|
4082
|
-
*
|
|
4083
|
-
* Connections retrieved successfully
|
|
4554
|
+
* Connection options retrieved successfully
|
|
4084
4555
|
*/
|
|
4085
|
-
200:
|
|
4556
|
+
200: ConnectionOptionsResponse;
|
|
4086
4557
|
};
|
|
4087
|
-
export type
|
|
4088
|
-
export type
|
|
4089
|
-
body:
|
|
4558
|
+
export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
|
|
4559
|
+
export type SyncConnectionData = {
|
|
4560
|
+
body: SyncConnectionRequest;
|
|
4090
4561
|
headers?: {
|
|
4091
4562
|
/**
|
|
4092
4563
|
* Authorization
|
|
@@ -4099,42 +4570,46 @@ export type CreateConnectionData = {
|
|
|
4099
4570
|
* Graph database identifier
|
|
4100
4571
|
*/
|
|
4101
4572
|
graph_id: string;
|
|
4573
|
+
/**
|
|
4574
|
+
* Connection Id
|
|
4575
|
+
* Connection identifier
|
|
4576
|
+
*/
|
|
4577
|
+
connection_id: string;
|
|
4102
4578
|
};
|
|
4103
4579
|
query?: never;
|
|
4104
|
-
url: '/v1/{graph_id}/connections';
|
|
4580
|
+
url: '/v1/{graph_id}/connections/{connection_id}/sync';
|
|
4105
4581
|
};
|
|
4106
|
-
export type
|
|
4107
|
-
/**
|
|
4108
|
-
* Invalid connection configuration
|
|
4109
|
-
*/
|
|
4110
|
-
400: ErrorResponse;
|
|
4582
|
+
export type SyncConnectionErrors = {
|
|
4111
4583
|
/**
|
|
4112
4584
|
* Access denied - admin role required
|
|
4113
4585
|
*/
|
|
4114
4586
|
403: ErrorResponse;
|
|
4115
4587
|
/**
|
|
4116
|
-
* Connection
|
|
4588
|
+
* Connection not found
|
|
4117
4589
|
*/
|
|
4118
|
-
|
|
4590
|
+
404: ErrorResponse;
|
|
4119
4591
|
/**
|
|
4120
4592
|
* Validation Error
|
|
4121
4593
|
*/
|
|
4122
4594
|
422: HttpValidationError;
|
|
4123
4595
|
/**
|
|
4124
|
-
* Failed to
|
|
4596
|
+
* Failed to start sync
|
|
4125
4597
|
*/
|
|
4126
4598
|
500: ErrorResponse;
|
|
4127
4599
|
};
|
|
4128
|
-
export type
|
|
4129
|
-
export type
|
|
4600
|
+
export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
|
|
4601
|
+
export type SyncConnectionResponses = {
|
|
4130
4602
|
/**
|
|
4131
|
-
*
|
|
4603
|
+
* Response Syncconnection
|
|
4604
|
+
* Sync started successfully
|
|
4132
4605
|
*/
|
|
4133
|
-
|
|
4606
|
+
200: {
|
|
4607
|
+
[key: string]: unknown;
|
|
4608
|
+
};
|
|
4134
4609
|
};
|
|
4135
|
-
export type
|
|
4136
|
-
export type
|
|
4137
|
-
body
|
|
4610
|
+
export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
|
|
4611
|
+
export type CreateLinkTokenData = {
|
|
4612
|
+
body: LinkTokenRequest;
|
|
4138
4613
|
headers?: {
|
|
4139
4614
|
/**
|
|
4140
4615
|
* Authorization
|
|
@@ -4147,22 +4622,17 @@ export type DeleteConnectionData = {
|
|
|
4147
4622
|
* Graph database identifier
|
|
4148
4623
|
*/
|
|
4149
4624
|
graph_id: string;
|
|
4150
|
-
/**
|
|
4151
|
-
* Connection Id
|
|
4152
|
-
* Connection identifier
|
|
4153
|
-
*/
|
|
4154
|
-
connection_id: string;
|
|
4155
4625
|
};
|
|
4156
4626
|
query?: never;
|
|
4157
|
-
url: '/v1/{graph_id}/connections/
|
|
4627
|
+
url: '/v1/{graph_id}/connections/link/token';
|
|
4158
4628
|
};
|
|
4159
|
-
export type
|
|
4629
|
+
export type CreateLinkTokenErrors = {
|
|
4160
4630
|
/**
|
|
4161
|
-
*
|
|
4631
|
+
* Invalid provider or request
|
|
4162
4632
|
*/
|
|
4163
|
-
|
|
4633
|
+
400: ErrorResponse;
|
|
4164
4634
|
/**
|
|
4165
|
-
*
|
|
4635
|
+
* Entity not found
|
|
4166
4636
|
*/
|
|
4167
4637
|
404: ErrorResponse;
|
|
4168
4638
|
/**
|
|
@@ -4170,20 +4640,19 @@ export type DeleteConnectionErrors = {
|
|
|
4170
4640
|
*/
|
|
4171
4641
|
422: HttpValidationError;
|
|
4172
4642
|
/**
|
|
4173
|
-
* Failed to
|
|
4643
|
+
* Failed to create link token
|
|
4174
4644
|
*/
|
|
4175
4645
|
500: ErrorResponse;
|
|
4176
4646
|
};
|
|
4177
|
-
export type
|
|
4178
|
-
export type
|
|
4647
|
+
export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
|
|
4648
|
+
export type CreateLinkTokenResponses = {
|
|
4179
4649
|
/**
|
|
4180
|
-
*
|
|
4650
|
+
* Link token created successfully
|
|
4181
4651
|
*/
|
|
4182
|
-
200:
|
|
4652
|
+
200: unknown;
|
|
4183
4653
|
};
|
|
4184
|
-
export type
|
|
4185
|
-
|
|
4186
|
-
body?: never;
|
|
4654
|
+
export type ExchangeLinkTokenData = {
|
|
4655
|
+
body: ExchangeTokenRequest;
|
|
4187
4656
|
headers?: {
|
|
4188
4657
|
/**
|
|
4189
4658
|
* Authorization
|
|
@@ -4196,18 +4665,97 @@ export type GetConnectionData = {
|
|
|
4196
4665
|
* Graph database identifier
|
|
4197
4666
|
*/
|
|
4198
4667
|
graph_id: string;
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4668
|
+
};
|
|
4669
|
+
query?: never;
|
|
4670
|
+
url: '/v1/{graph_id}/connections/link/exchange';
|
|
4671
|
+
};
|
|
4672
|
+
export type ExchangeLinkTokenErrors = {
|
|
4673
|
+
/**
|
|
4674
|
+
* Invalid token or provider
|
|
4675
|
+
*/
|
|
4676
|
+
400: ErrorResponse;
|
|
4677
|
+
/**
|
|
4678
|
+
* Connection not found
|
|
4679
|
+
*/
|
|
4680
|
+
404: ErrorResponse;
|
|
4681
|
+
/**
|
|
4682
|
+
* Validation Error
|
|
4683
|
+
*/
|
|
4684
|
+
422: HttpValidationError;
|
|
4685
|
+
/**
|
|
4686
|
+
* Token exchange failed
|
|
4687
|
+
*/
|
|
4688
|
+
500: ErrorResponse;
|
|
4689
|
+
};
|
|
4690
|
+
export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
|
|
4691
|
+
export type ExchangeLinkTokenResponses = {
|
|
4692
|
+
/**
|
|
4693
|
+
* Token exchanged successfully
|
|
4694
|
+
*/
|
|
4695
|
+
200: unknown;
|
|
4696
|
+
};
|
|
4697
|
+
export type InitOAuthData = {
|
|
4698
|
+
body: OAuthInitRequest;
|
|
4699
|
+
headers?: {
|
|
4700
|
+
/**
|
|
4701
|
+
* Authorization
|
|
4202
4702
|
*/
|
|
4203
|
-
|
|
4703
|
+
authorization?: string | null;
|
|
4704
|
+
};
|
|
4705
|
+
path: {
|
|
4706
|
+
/**
|
|
4707
|
+
* Graph Id
|
|
4708
|
+
* Graph database identifier
|
|
4709
|
+
*/
|
|
4710
|
+
graph_id: string;
|
|
4204
4711
|
};
|
|
4205
4712
|
query?: never;
|
|
4206
|
-
url: '/v1/{graph_id}/connections/
|
|
4713
|
+
url: '/v1/{graph_id}/connections/oauth/init';
|
|
4207
4714
|
};
|
|
4208
|
-
export type
|
|
4715
|
+
export type InitOAuthErrors = {
|
|
4209
4716
|
/**
|
|
4210
|
-
*
|
|
4717
|
+
* Validation Error
|
|
4718
|
+
*/
|
|
4719
|
+
422: HttpValidationError;
|
|
4720
|
+
};
|
|
4721
|
+
export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
|
|
4722
|
+
export type InitOAuthResponses = {
|
|
4723
|
+
/**
|
|
4724
|
+
* Successful Response
|
|
4725
|
+
*/
|
|
4726
|
+
200: OAuthInitResponse;
|
|
4727
|
+
};
|
|
4728
|
+
export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
|
|
4729
|
+
export type OauthCallbackData = {
|
|
4730
|
+
body: OAuthCallbackRequest;
|
|
4731
|
+
headers?: {
|
|
4732
|
+
/**
|
|
4733
|
+
* Authorization
|
|
4734
|
+
*/
|
|
4735
|
+
authorization?: string | null;
|
|
4736
|
+
};
|
|
4737
|
+
path: {
|
|
4738
|
+
/**
|
|
4739
|
+
* Provider
|
|
4740
|
+
* OAuth provider name
|
|
4741
|
+
*/
|
|
4742
|
+
provider: string;
|
|
4743
|
+
/**
|
|
4744
|
+
* Graph Id
|
|
4745
|
+
* Graph database identifier
|
|
4746
|
+
*/
|
|
4747
|
+
graph_id: string;
|
|
4748
|
+
};
|
|
4749
|
+
query?: never;
|
|
4750
|
+
url: '/v1/{graph_id}/connections/oauth/callback/{provider}';
|
|
4751
|
+
};
|
|
4752
|
+
export type OauthCallbackErrors = {
|
|
4753
|
+
/**
|
|
4754
|
+
* OAuth error or invalid state
|
|
4755
|
+
*/
|
|
4756
|
+
400: ErrorResponse;
|
|
4757
|
+
/**
|
|
4758
|
+
* State does not match user
|
|
4211
4759
|
*/
|
|
4212
4760
|
403: ErrorResponse;
|
|
4213
4761
|
/**
|
|
@@ -4219,19 +4767,18 @@ export type GetConnectionErrors = {
|
|
|
4219
4767
|
*/
|
|
4220
4768
|
422: HttpValidationError;
|
|
4221
4769
|
/**
|
|
4222
|
-
*
|
|
4770
|
+
* OAuth callback processing failed
|
|
4223
4771
|
*/
|
|
4224
4772
|
500: ErrorResponse;
|
|
4225
4773
|
};
|
|
4226
|
-
export type
|
|
4227
|
-
export type
|
|
4774
|
+
export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
|
|
4775
|
+
export type OauthCallbackResponses = {
|
|
4228
4776
|
/**
|
|
4229
|
-
*
|
|
4777
|
+
* OAuth flow completed successfully
|
|
4230
4778
|
*/
|
|
4231
|
-
200:
|
|
4779
|
+
200: unknown;
|
|
4232
4780
|
};
|
|
4233
|
-
export type
|
|
4234
|
-
export type GetConnectionOptionsData = {
|
|
4781
|
+
export type ListConnectionsData = {
|
|
4235
4782
|
body?: never;
|
|
4236
4783
|
headers?: {
|
|
4237
4784
|
/**
|
|
@@ -4246,10 +4793,21 @@ export type GetConnectionOptionsData = {
|
|
|
4246
4793
|
*/
|
|
4247
4794
|
graph_id: string;
|
|
4248
4795
|
};
|
|
4249
|
-
query?:
|
|
4250
|
-
|
|
4796
|
+
query?: {
|
|
4797
|
+
/**
|
|
4798
|
+
* Entity Id
|
|
4799
|
+
* Filter by entity ID
|
|
4800
|
+
*/
|
|
4801
|
+
entity_id?: string | null;
|
|
4802
|
+
/**
|
|
4803
|
+
* Provider
|
|
4804
|
+
* Filter by provider type
|
|
4805
|
+
*/
|
|
4806
|
+
provider?: ('sec' | 'quickbooks' | 'plaid') | null;
|
|
4807
|
+
};
|
|
4808
|
+
url: '/v1/{graph_id}/connections';
|
|
4251
4809
|
};
|
|
4252
|
-
export type
|
|
4810
|
+
export type ListConnectionsErrors = {
|
|
4253
4811
|
/**
|
|
4254
4812
|
* Access denied to graph
|
|
4255
4813
|
*/
|
|
@@ -4259,20 +4817,21 @@ export type GetConnectionOptionsErrors = {
|
|
|
4259
4817
|
*/
|
|
4260
4818
|
422: HttpValidationError;
|
|
4261
4819
|
/**
|
|
4262
|
-
* Failed to
|
|
4820
|
+
* Failed to list connections
|
|
4263
4821
|
*/
|
|
4264
4822
|
500: ErrorResponse;
|
|
4265
4823
|
};
|
|
4266
|
-
export type
|
|
4267
|
-
export type
|
|
4824
|
+
export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
|
|
4825
|
+
export type ListConnectionsResponses = {
|
|
4268
4826
|
/**
|
|
4269
|
-
*
|
|
4827
|
+
* Response Listconnections
|
|
4828
|
+
* Connections retrieved successfully
|
|
4270
4829
|
*/
|
|
4271
|
-
200:
|
|
4830
|
+
200: Array<ConnectionResponse>;
|
|
4272
4831
|
};
|
|
4273
|
-
export type
|
|
4274
|
-
export type
|
|
4275
|
-
body
|
|
4832
|
+
export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
|
|
4833
|
+
export type CreateConnectionData = {
|
|
4834
|
+
body: CreateConnectionRequest;
|
|
4276
4835
|
headers?: {
|
|
4277
4836
|
/**
|
|
4278
4837
|
* Authorization
|
|
@@ -4285,46 +4844,42 @@ export type SyncConnectionData = {
|
|
|
4285
4844
|
* Graph database identifier
|
|
4286
4845
|
*/
|
|
4287
4846
|
graph_id: string;
|
|
4288
|
-
/**
|
|
4289
|
-
* Connection Id
|
|
4290
|
-
* Connection identifier
|
|
4291
|
-
*/
|
|
4292
|
-
connection_id: string;
|
|
4293
4847
|
};
|
|
4294
4848
|
query?: never;
|
|
4295
|
-
url: '/v1/{graph_id}/connections
|
|
4849
|
+
url: '/v1/{graph_id}/connections';
|
|
4296
4850
|
};
|
|
4297
|
-
export type
|
|
4851
|
+
export type CreateConnectionErrors = {
|
|
4852
|
+
/**
|
|
4853
|
+
* Invalid connection configuration
|
|
4854
|
+
*/
|
|
4855
|
+
400: ErrorResponse;
|
|
4298
4856
|
/**
|
|
4299
4857
|
* Access denied - admin role required
|
|
4300
4858
|
*/
|
|
4301
4859
|
403: ErrorResponse;
|
|
4302
4860
|
/**
|
|
4303
|
-
* Connection
|
|
4861
|
+
* Connection already exists
|
|
4304
4862
|
*/
|
|
4305
|
-
|
|
4863
|
+
409: ErrorResponse;
|
|
4306
4864
|
/**
|
|
4307
4865
|
* Validation Error
|
|
4308
4866
|
*/
|
|
4309
4867
|
422: HttpValidationError;
|
|
4310
4868
|
/**
|
|
4311
|
-
* Failed to
|
|
4869
|
+
* Failed to create connection
|
|
4312
4870
|
*/
|
|
4313
4871
|
500: ErrorResponse;
|
|
4314
4872
|
};
|
|
4315
|
-
export type
|
|
4316
|
-
export type
|
|
4873
|
+
export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
|
|
4874
|
+
export type CreateConnectionResponses = {
|
|
4317
4875
|
/**
|
|
4318
|
-
*
|
|
4319
|
-
* Sync started successfully
|
|
4876
|
+
* Connection created successfully
|
|
4320
4877
|
*/
|
|
4321
|
-
|
|
4322
|
-
[key: string]: unknown;
|
|
4323
|
-
};
|
|
4878
|
+
201: ConnectionResponse;
|
|
4324
4879
|
};
|
|
4325
|
-
export type
|
|
4326
|
-
export type
|
|
4327
|
-
body
|
|
4880
|
+
export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
|
|
4881
|
+
export type DeleteConnectionData = {
|
|
4882
|
+
body?: never;
|
|
4328
4883
|
headers?: {
|
|
4329
4884
|
/**
|
|
4330
4885
|
* Authorization
|
|
@@ -4337,17 +4892,22 @@ export type CreateLinkTokenData = {
|
|
|
4337
4892
|
* Graph database identifier
|
|
4338
4893
|
*/
|
|
4339
4894
|
graph_id: string;
|
|
4895
|
+
/**
|
|
4896
|
+
* Connection Id
|
|
4897
|
+
* Connection identifier
|
|
4898
|
+
*/
|
|
4899
|
+
connection_id: string;
|
|
4340
4900
|
};
|
|
4341
4901
|
query?: never;
|
|
4342
|
-
url: '/v1/{graph_id}/connections/
|
|
4902
|
+
url: '/v1/{graph_id}/connections/{connection_id}';
|
|
4343
4903
|
};
|
|
4344
|
-
export type
|
|
4904
|
+
export type DeleteConnectionErrors = {
|
|
4345
4905
|
/**
|
|
4346
|
-
*
|
|
4906
|
+
* Access denied - admin role required
|
|
4347
4907
|
*/
|
|
4348
|
-
|
|
4908
|
+
403: ErrorResponse;
|
|
4349
4909
|
/**
|
|
4350
|
-
*
|
|
4910
|
+
* Connection not found
|
|
4351
4911
|
*/
|
|
4352
4912
|
404: ErrorResponse;
|
|
4353
4913
|
/**
|
|
@@ -4355,19 +4915,20 @@ export type CreateLinkTokenErrors = {
|
|
|
4355
4915
|
*/
|
|
4356
4916
|
422: HttpValidationError;
|
|
4357
4917
|
/**
|
|
4358
|
-
* Failed to
|
|
4918
|
+
* Failed to delete connection
|
|
4359
4919
|
*/
|
|
4360
4920
|
500: ErrorResponse;
|
|
4361
4921
|
};
|
|
4362
|
-
export type
|
|
4363
|
-
export type
|
|
4922
|
+
export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
|
|
4923
|
+
export type DeleteConnectionResponses = {
|
|
4364
4924
|
/**
|
|
4365
|
-
*
|
|
4925
|
+
* Connection deleted successfully
|
|
4366
4926
|
*/
|
|
4367
|
-
200:
|
|
4927
|
+
200: SuccessResponse;
|
|
4368
4928
|
};
|
|
4369
|
-
export type
|
|
4370
|
-
|
|
4929
|
+
export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
|
|
4930
|
+
export type GetConnectionData = {
|
|
4931
|
+
body?: never;
|
|
4371
4932
|
headers?: {
|
|
4372
4933
|
/**
|
|
4373
4934
|
* Authorization
|
|
@@ -4380,15 +4941,20 @@ export type ExchangeLinkTokenData = {
|
|
|
4380
4941
|
* Graph database identifier
|
|
4381
4942
|
*/
|
|
4382
4943
|
graph_id: string;
|
|
4944
|
+
/**
|
|
4945
|
+
* Connection Id
|
|
4946
|
+
* Unique connection identifier
|
|
4947
|
+
*/
|
|
4948
|
+
connection_id: string;
|
|
4383
4949
|
};
|
|
4384
4950
|
query?: never;
|
|
4385
|
-
url: '/v1/{graph_id}/connections/
|
|
4951
|
+
url: '/v1/{graph_id}/connections/{connection_id}';
|
|
4386
4952
|
};
|
|
4387
|
-
export type
|
|
4953
|
+
export type GetConnectionErrors = {
|
|
4388
4954
|
/**
|
|
4389
|
-
*
|
|
4955
|
+
* Access denied to connection
|
|
4390
4956
|
*/
|
|
4391
|
-
|
|
4957
|
+
403: ErrorResponse;
|
|
4392
4958
|
/**
|
|
4393
4959
|
* Connection not found
|
|
4394
4960
|
*/
|
|
@@ -4398,19 +4964,20 @@ export type ExchangeLinkTokenErrors = {
|
|
|
4398
4964
|
*/
|
|
4399
4965
|
422: HttpValidationError;
|
|
4400
4966
|
/**
|
|
4401
|
-
*
|
|
4967
|
+
* Failed to retrieve connection
|
|
4402
4968
|
*/
|
|
4403
4969
|
500: ErrorResponse;
|
|
4404
4970
|
};
|
|
4405
|
-
export type
|
|
4406
|
-
export type
|
|
4971
|
+
export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
|
|
4972
|
+
export type GetConnectionResponses = {
|
|
4407
4973
|
/**
|
|
4408
|
-
*
|
|
4974
|
+
* Connection details retrieved successfully
|
|
4409
4975
|
*/
|
|
4410
|
-
200:
|
|
4976
|
+
200: ConnectionResponse;
|
|
4411
4977
|
};
|
|
4412
|
-
export type
|
|
4413
|
-
|
|
4978
|
+
export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
|
|
4979
|
+
export type AutoSelectAgentData = {
|
|
4980
|
+
body: AgentRequest;
|
|
4414
4981
|
headers?: {
|
|
4415
4982
|
/**
|
|
4416
4983
|
* Authorization
|
|
@@ -4420,29 +4987,44 @@ export type InitOAuthData = {
|
|
|
4420
4987
|
path: {
|
|
4421
4988
|
/**
|
|
4422
4989
|
* Graph Id
|
|
4423
|
-
* Graph database identifier
|
|
4424
4990
|
*/
|
|
4425
4991
|
graph_id: string;
|
|
4426
4992
|
};
|
|
4427
4993
|
query?: never;
|
|
4428
|
-
url: '/v1/{graph_id}/
|
|
4994
|
+
url: '/v1/{graph_id}/agent';
|
|
4429
4995
|
};
|
|
4430
|
-
export type
|
|
4996
|
+
export type AutoSelectAgentErrors = {
|
|
4997
|
+
/**
|
|
4998
|
+
* Invalid request parameters
|
|
4999
|
+
*/
|
|
5000
|
+
400: unknown;
|
|
5001
|
+
/**
|
|
5002
|
+
* Insufficient credits for selected agent
|
|
5003
|
+
*/
|
|
5004
|
+
402: unknown;
|
|
4431
5005
|
/**
|
|
4432
5006
|
* Validation Error
|
|
4433
5007
|
*/
|
|
4434
5008
|
422: HttpValidationError;
|
|
5009
|
+
/**
|
|
5010
|
+
* Rate limit exceeded
|
|
5011
|
+
*/
|
|
5012
|
+
429: unknown;
|
|
5013
|
+
/**
|
|
5014
|
+
* Internal server error
|
|
5015
|
+
*/
|
|
5016
|
+
500: ErrorResponse;
|
|
4435
5017
|
};
|
|
4436
|
-
export type
|
|
4437
|
-
export type
|
|
5018
|
+
export type AutoSelectAgentError = AutoSelectAgentErrors[keyof AutoSelectAgentErrors];
|
|
5019
|
+
export type AutoSelectAgentResponses = {
|
|
4438
5020
|
/**
|
|
4439
|
-
*
|
|
5021
|
+
* Query successfully processed by selected agent
|
|
4440
5022
|
*/
|
|
4441
|
-
200:
|
|
5023
|
+
200: AgentResponse;
|
|
4442
5024
|
};
|
|
4443
|
-
export type
|
|
4444
|
-
export type
|
|
4445
|
-
body:
|
|
5025
|
+
export type AutoSelectAgentResponse = AutoSelectAgentResponses[keyof AutoSelectAgentResponses];
|
|
5026
|
+
export type ExecuteSpecificAgentData = {
|
|
5027
|
+
body: AgentRequest;
|
|
4446
5028
|
headers?: {
|
|
4447
5029
|
/**
|
|
4448
5030
|
* Authorization
|
|
@@ -4451,50 +5033,53 @@ export type OauthCallbackData = {
|
|
|
4451
5033
|
};
|
|
4452
5034
|
path: {
|
|
4453
5035
|
/**
|
|
4454
|
-
*
|
|
4455
|
-
* OAuth provider name
|
|
5036
|
+
* Agent Type
|
|
4456
5037
|
*/
|
|
4457
|
-
|
|
5038
|
+
agent_type: string;
|
|
4458
5039
|
/**
|
|
4459
5040
|
* Graph Id
|
|
4460
|
-
* Graph database identifier
|
|
4461
5041
|
*/
|
|
4462
5042
|
graph_id: string;
|
|
4463
5043
|
};
|
|
4464
5044
|
query?: never;
|
|
4465
|
-
url: '/v1/{graph_id}/
|
|
5045
|
+
url: '/v1/{graph_id}/agent/{agent_type}';
|
|
4466
5046
|
};
|
|
4467
|
-
export type
|
|
5047
|
+
export type ExecuteSpecificAgentErrors = {
|
|
4468
5048
|
/**
|
|
4469
|
-
*
|
|
5049
|
+
* Invalid agent type or request parameters
|
|
4470
5050
|
*/
|
|
4471
|
-
400:
|
|
5051
|
+
400: unknown;
|
|
4472
5052
|
/**
|
|
4473
|
-
*
|
|
5053
|
+
* Insufficient credits for specified agent
|
|
4474
5054
|
*/
|
|
4475
|
-
|
|
5055
|
+
402: unknown;
|
|
4476
5056
|
/**
|
|
4477
|
-
*
|
|
5057
|
+
* Agent type not found
|
|
4478
5058
|
*/
|
|
4479
|
-
404:
|
|
5059
|
+
404: unknown;
|
|
4480
5060
|
/**
|
|
4481
5061
|
* Validation Error
|
|
4482
5062
|
*/
|
|
4483
5063
|
422: HttpValidationError;
|
|
4484
5064
|
/**
|
|
4485
|
-
*
|
|
5065
|
+
* Rate limit exceeded
|
|
5066
|
+
*/
|
|
5067
|
+
429: unknown;
|
|
5068
|
+
/**
|
|
5069
|
+
* Internal server error
|
|
4486
5070
|
*/
|
|
4487
5071
|
500: ErrorResponse;
|
|
4488
5072
|
};
|
|
4489
|
-
export type
|
|
4490
|
-
export type
|
|
5073
|
+
export type ExecuteSpecificAgentError = ExecuteSpecificAgentErrors[keyof ExecuteSpecificAgentErrors];
|
|
5074
|
+
export type ExecuteSpecificAgentResponses = {
|
|
4491
5075
|
/**
|
|
4492
|
-
*
|
|
5076
|
+
* Query successfully processed by specified agent
|
|
4493
5077
|
*/
|
|
4494
|
-
200:
|
|
5078
|
+
200: AgentResponse;
|
|
4495
5079
|
};
|
|
4496
|
-
export type
|
|
4497
|
-
|
|
5080
|
+
export type ExecuteSpecificAgentResponse = ExecuteSpecificAgentResponses[keyof ExecuteSpecificAgentResponses];
|
|
5081
|
+
export type BatchProcessQueriesData = {
|
|
5082
|
+
body: BatchAgentRequest;
|
|
4498
5083
|
headers?: {
|
|
4499
5084
|
/**
|
|
4500
5085
|
* Authorization
|
|
@@ -4508,38 +5093,153 @@ export type QueryFinancialAgentData = {
|
|
|
4508
5093
|
graph_id: string;
|
|
4509
5094
|
};
|
|
4510
5095
|
query?: never;
|
|
4511
|
-
url: '/v1/{graph_id}/agent';
|
|
5096
|
+
url: '/v1/{graph_id}/agent/batch';
|
|
4512
5097
|
};
|
|
4513
|
-
export type
|
|
5098
|
+
export type BatchProcessQueriesErrors = {
|
|
4514
5099
|
/**
|
|
4515
|
-
* Invalid request
|
|
5100
|
+
* Invalid batch request or too many queries
|
|
4516
5101
|
*/
|
|
4517
|
-
400:
|
|
5102
|
+
400: unknown;
|
|
4518
5103
|
/**
|
|
4519
|
-
* Insufficient credits for
|
|
5104
|
+
* Insufficient credits for batch processing
|
|
4520
5105
|
*/
|
|
4521
|
-
402:
|
|
5106
|
+
402: unknown;
|
|
4522
5107
|
/**
|
|
4523
|
-
*
|
|
5108
|
+
* Validation Error
|
|
4524
5109
|
*/
|
|
4525
|
-
|
|
5110
|
+
422: HttpValidationError;
|
|
5111
|
+
/**
|
|
5112
|
+
* Internal server error during batch processing
|
|
5113
|
+
*/
|
|
5114
|
+
500: unknown;
|
|
5115
|
+
};
|
|
5116
|
+
export type BatchProcessQueriesError = BatchProcessQueriesErrors[keyof BatchProcessQueriesErrors];
|
|
5117
|
+
export type BatchProcessQueriesResponses = {
|
|
5118
|
+
/**
|
|
5119
|
+
* Batch processing completed successfully
|
|
5120
|
+
*/
|
|
5121
|
+
200: BatchAgentResponse;
|
|
5122
|
+
};
|
|
5123
|
+
export type BatchProcessQueriesResponse = BatchProcessQueriesResponses[keyof BatchProcessQueriesResponses];
|
|
5124
|
+
export type ListAgentsData = {
|
|
5125
|
+
body?: never;
|
|
5126
|
+
headers?: {
|
|
5127
|
+
/**
|
|
5128
|
+
* Authorization
|
|
5129
|
+
*/
|
|
5130
|
+
authorization?: string | null;
|
|
5131
|
+
};
|
|
5132
|
+
path: {
|
|
5133
|
+
/**
|
|
5134
|
+
* Graph Id
|
|
5135
|
+
* Graph database identifier
|
|
5136
|
+
*/
|
|
5137
|
+
graph_id: string;
|
|
5138
|
+
};
|
|
5139
|
+
query?: {
|
|
5140
|
+
/**
|
|
5141
|
+
* Capability
|
|
5142
|
+
* Filter by capability (e.g., 'financial_analysis', 'rag_search')
|
|
5143
|
+
*/
|
|
5144
|
+
capability?: string | null;
|
|
5145
|
+
};
|
|
5146
|
+
url: '/v1/{graph_id}/agent/list';
|
|
5147
|
+
};
|
|
5148
|
+
export type ListAgentsErrors = {
|
|
5149
|
+
/**
|
|
5150
|
+
* Unauthorized - Invalid or missing authentication
|
|
5151
|
+
*/
|
|
5152
|
+
401: unknown;
|
|
4526
5153
|
/**
|
|
4527
5154
|
* Validation Error
|
|
4528
5155
|
*/
|
|
4529
5156
|
422: HttpValidationError;
|
|
5157
|
+
};
|
|
5158
|
+
export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
|
|
5159
|
+
export type ListAgentsResponses = {
|
|
4530
5160
|
/**
|
|
4531
|
-
*
|
|
5161
|
+
* List of agents retrieved successfully
|
|
4532
5162
|
*/
|
|
4533
|
-
|
|
5163
|
+
200: AgentListResponse;
|
|
4534
5164
|
};
|
|
4535
|
-
export type
|
|
4536
|
-
export type
|
|
5165
|
+
export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
|
|
5166
|
+
export type GetAgentMetadataData = {
|
|
5167
|
+
body?: never;
|
|
5168
|
+
headers?: {
|
|
5169
|
+
/**
|
|
5170
|
+
* Authorization
|
|
5171
|
+
*/
|
|
5172
|
+
authorization?: string | null;
|
|
5173
|
+
};
|
|
5174
|
+
path: {
|
|
5175
|
+
/**
|
|
5176
|
+
* Graph Id
|
|
5177
|
+
* Graph database identifier
|
|
5178
|
+
*/
|
|
5179
|
+
graph_id: string;
|
|
5180
|
+
/**
|
|
5181
|
+
* Agent Type
|
|
5182
|
+
* Agent type identifier (e.g., 'financial', 'research', 'rag')
|
|
5183
|
+
*/
|
|
5184
|
+
agent_type: string;
|
|
5185
|
+
};
|
|
5186
|
+
query?: never;
|
|
5187
|
+
url: '/v1/{graph_id}/agent/{agent_type}/metadata';
|
|
5188
|
+
};
|
|
5189
|
+
export type GetAgentMetadataErrors = {
|
|
4537
5190
|
/**
|
|
4538
|
-
*
|
|
5191
|
+
* Agent type not found
|
|
4539
5192
|
*/
|
|
4540
|
-
|
|
5193
|
+
404: unknown;
|
|
5194
|
+
/**
|
|
5195
|
+
* Validation Error
|
|
5196
|
+
*/
|
|
5197
|
+
422: HttpValidationError;
|
|
5198
|
+
};
|
|
5199
|
+
export type GetAgentMetadataError = GetAgentMetadataErrors[keyof GetAgentMetadataErrors];
|
|
5200
|
+
export type GetAgentMetadataResponses = {
|
|
5201
|
+
/**
|
|
5202
|
+
* Agent metadata retrieved successfully
|
|
5203
|
+
*/
|
|
5204
|
+
200: AgentMetadataResponse;
|
|
5205
|
+
};
|
|
5206
|
+
export type GetAgentMetadataResponse = GetAgentMetadataResponses[keyof GetAgentMetadataResponses];
|
|
5207
|
+
export type RecommendAgentData = {
|
|
5208
|
+
body: AgentRecommendationRequest;
|
|
5209
|
+
headers?: {
|
|
5210
|
+
/**
|
|
5211
|
+
* Authorization
|
|
5212
|
+
*/
|
|
5213
|
+
authorization?: string | null;
|
|
5214
|
+
};
|
|
5215
|
+
path: {
|
|
5216
|
+
/**
|
|
5217
|
+
* Graph Id
|
|
5218
|
+
* Graph database identifier
|
|
5219
|
+
*/
|
|
5220
|
+
graph_id: string;
|
|
5221
|
+
};
|
|
5222
|
+
query?: never;
|
|
5223
|
+
url: '/v1/{graph_id}/agent/recommend';
|
|
5224
|
+
};
|
|
5225
|
+
export type RecommendAgentErrors = {
|
|
5226
|
+
/**
|
|
5227
|
+
* Invalid recommendation request
|
|
5228
|
+
*/
|
|
5229
|
+
400: unknown;
|
|
5230
|
+
/**
|
|
5231
|
+
* Validation Error
|
|
5232
|
+
*/
|
|
5233
|
+
422: HttpValidationError;
|
|
5234
|
+
};
|
|
5235
|
+
export type RecommendAgentError = RecommendAgentErrors[keyof RecommendAgentErrors];
|
|
5236
|
+
export type RecommendAgentResponses = {
|
|
5237
|
+
/**
|
|
5238
|
+
* Recommendations generated successfully
|
|
5239
|
+
*/
|
|
5240
|
+
200: AgentRecommendationResponse;
|
|
4541
5241
|
};
|
|
4542
|
-
export type
|
|
5242
|
+
export type RecommendAgentResponse = RecommendAgentResponses[keyof RecommendAgentResponses];
|
|
4543
5243
|
export type ListMcpToolsData = {
|
|
4544
5244
|
body?: never;
|
|
4545
5245
|
headers?: {
|
|
@@ -5625,7 +6325,7 @@ export type CheckCreditBalanceData = {
|
|
|
5625
6325
|
* Base Cost
|
|
5626
6326
|
* Custom base cost (uses default if not provided)
|
|
5627
6327
|
*/
|
|
5628
|
-
base_cost?: number | null;
|
|
6328
|
+
base_cost?: number | string | null;
|
|
5629
6329
|
};
|
|
5630
6330
|
url: '/v1/{graph_id}/credits/balance/check';
|
|
5631
6331
|
};
|
|
@@ -5951,7 +6651,7 @@ export type CreateSubgraphResponses = {
|
|
|
5951
6651
|
};
|
|
5952
6652
|
export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
|
|
5953
6653
|
export type DeleteSubgraphData = {
|
|
5954
|
-
body
|
|
6654
|
+
body: DeleteSubgraphRequest;
|
|
5955
6655
|
headers?: {
|
|
5956
6656
|
/**
|
|
5957
6657
|
* Authorization
|