@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.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
|
/**
|
|
@@ -1254,6 +1501,18 @@ export type DetailedTransactionsResponse = {
|
|
|
1254
1501
|
};
|
|
1255
1502
|
};
|
|
1256
1503
|
|
|
1504
|
+
/**
|
|
1505
|
+
* EmailVerificationRequest
|
|
1506
|
+
* Email verification request model.
|
|
1507
|
+
*/
|
|
1508
|
+
export type EmailVerificationRequest = {
|
|
1509
|
+
/**
|
|
1510
|
+
* Token
|
|
1511
|
+
* Email verification token from email link
|
|
1512
|
+
*/
|
|
1513
|
+
token: string;
|
|
1514
|
+
};
|
|
1515
|
+
|
|
1257
1516
|
/**
|
|
1258
1517
|
* EnhancedCreditTransactionResponse
|
|
1259
1518
|
* Enhanced credit transaction response with more details.
|
|
@@ -1357,6 +1616,18 @@ export type ExchangeTokenRequest = {
|
|
|
1357
1616
|
} | null;
|
|
1358
1617
|
};
|
|
1359
1618
|
|
|
1619
|
+
/**
|
|
1620
|
+
* ForgotPasswordRequest
|
|
1621
|
+
* Forgot password request model.
|
|
1622
|
+
*/
|
|
1623
|
+
export type ForgotPasswordRequest = {
|
|
1624
|
+
/**
|
|
1625
|
+
* Email
|
|
1626
|
+
* Email address to send reset link
|
|
1627
|
+
*/
|
|
1628
|
+
email: string;
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1360
1631
|
/**
|
|
1361
1632
|
* GraphInfo
|
|
1362
1633
|
* Graph information for user.
|
|
@@ -1978,11 +2249,11 @@ export type RepositoryCreditsResponse = {
|
|
|
1978
2249
|
* Message
|
|
1979
2250
|
* Access message
|
|
1980
2251
|
*/
|
|
1981
|
-
message?: string;
|
|
2252
|
+
message?: string | null;
|
|
1982
2253
|
/**
|
|
1983
2254
|
* Credit summary if access available
|
|
1984
2255
|
*/
|
|
1985
|
-
credits?: CreditSummary;
|
|
2256
|
+
credits?: CreditSummary | null;
|
|
1986
2257
|
};
|
|
1987
2258
|
|
|
1988
2259
|
/**
|
|
@@ -1997,6 +2268,40 @@ export type RepositoryPlan = 'starter' | 'advanced' | 'unlimited';
|
|
|
1997
2268
|
*/
|
|
1998
2269
|
export type RepositoryType = 'sec' | 'industry' | 'economic';
|
|
1999
2270
|
|
|
2271
|
+
/**
|
|
2272
|
+
* ResetPasswordRequest
|
|
2273
|
+
* Reset password request model.
|
|
2274
|
+
*/
|
|
2275
|
+
export type ResetPasswordRequest = {
|
|
2276
|
+
/**
|
|
2277
|
+
* Token
|
|
2278
|
+
* Password reset token from email link
|
|
2279
|
+
*/
|
|
2280
|
+
token: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* New Password
|
|
2283
|
+
* New password (must meet security requirements)
|
|
2284
|
+
*/
|
|
2285
|
+
new_password: string;
|
|
2286
|
+
};
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* ResetPasswordValidateResponse
|
|
2290
|
+
* Password reset token validation response model.
|
|
2291
|
+
*/
|
|
2292
|
+
export type ResetPasswordValidateResponse = {
|
|
2293
|
+
/**
|
|
2294
|
+
* Valid
|
|
2295
|
+
* Whether the token is valid
|
|
2296
|
+
*/
|
|
2297
|
+
valid: boolean;
|
|
2298
|
+
/**
|
|
2299
|
+
* Email
|
|
2300
|
+
* Masked email address if token is valid
|
|
2301
|
+
*/
|
|
2302
|
+
email?: string | null;
|
|
2303
|
+
};
|
|
2304
|
+
|
|
2000
2305
|
/**
|
|
2001
2306
|
* ResponseMode
|
|
2002
2307
|
* Response modes for execution.
|
|
@@ -2321,6 +2626,37 @@ export type SchemaValidationResponse = {
|
|
|
2321
2626
|
} | null;
|
|
2322
2627
|
};
|
|
2323
2628
|
|
|
2629
|
+
/**
|
|
2630
|
+
* SelectionCriteria
|
|
2631
|
+
* Criteria for agent selection.
|
|
2632
|
+
*/
|
|
2633
|
+
export type SelectionCriteria = {
|
|
2634
|
+
/**
|
|
2635
|
+
* Min Confidence
|
|
2636
|
+
* Minimum confidence score
|
|
2637
|
+
*/
|
|
2638
|
+
min_confidence?: number;
|
|
2639
|
+
/**
|
|
2640
|
+
* Required Capabilities
|
|
2641
|
+
* Required agent capabilities
|
|
2642
|
+
*/
|
|
2643
|
+
required_capabilities?: Array<string>;
|
|
2644
|
+
/**
|
|
2645
|
+
* Preferred execution mode
|
|
2646
|
+
*/
|
|
2647
|
+
preferred_mode?: AgentMode | null;
|
|
2648
|
+
/**
|
|
2649
|
+
* Max Response Time
|
|
2650
|
+
* Maximum response time in seconds
|
|
2651
|
+
*/
|
|
2652
|
+
max_response_time?: number;
|
|
2653
|
+
/**
|
|
2654
|
+
* Excluded Agents
|
|
2655
|
+
* Agents to exclude from selection
|
|
2656
|
+
*/
|
|
2657
|
+
excluded_agents?: Array<string>;
|
|
2658
|
+
};
|
|
2659
|
+
|
|
2324
2660
|
/**
|
|
2325
2661
|
* StorageLimitResponse
|
|
2326
2662
|
* Storage limit information response.
|
|
@@ -3171,6 +3507,12 @@ export type LoginUserResponse = LoginUserResponses[keyof LoginUserResponses];
|
|
|
3171
3507
|
|
|
3172
3508
|
export type LogoutUserData = {
|
|
3173
3509
|
body?: never;
|
|
3510
|
+
headers?: {
|
|
3511
|
+
/**
|
|
3512
|
+
* Authorization
|
|
3513
|
+
*/
|
|
3514
|
+
authorization?: string | null;
|
|
3515
|
+
};
|
|
3174
3516
|
path?: never;
|
|
3175
3517
|
query?: never;
|
|
3176
3518
|
url: '/v1/auth/logout';
|
|
@@ -3235,14 +3577,20 @@ export type GetCurrentAuthUserResponses = {
|
|
|
3235
3577
|
|
|
3236
3578
|
export type GetCurrentAuthUserResponse = GetCurrentAuthUserResponses[keyof GetCurrentAuthUserResponses];
|
|
3237
3579
|
|
|
3238
|
-
export type
|
|
3580
|
+
export type RefreshAuthSessionData = {
|
|
3239
3581
|
body?: never;
|
|
3582
|
+
headers?: {
|
|
3583
|
+
/**
|
|
3584
|
+
* Authorization
|
|
3585
|
+
*/
|
|
3586
|
+
authorization?: string | null;
|
|
3587
|
+
};
|
|
3240
3588
|
path?: never;
|
|
3241
3589
|
query?: never;
|
|
3242
3590
|
url: '/v1/auth/refresh';
|
|
3243
3591
|
};
|
|
3244
3592
|
|
|
3245
|
-
export type
|
|
3593
|
+
export type RefreshAuthSessionErrors = {
|
|
3246
3594
|
/**
|
|
3247
3595
|
* Not authenticated
|
|
3248
3596
|
*/
|
|
@@ -3253,177 +3601,350 @@ export type RefreshSessionErrors = {
|
|
|
3253
3601
|
422: HttpValidationError;
|
|
3254
3602
|
};
|
|
3255
3603
|
|
|
3256
|
-
export type
|
|
3604
|
+
export type RefreshAuthSessionError = RefreshAuthSessionErrors[keyof RefreshAuthSessionErrors];
|
|
3257
3605
|
|
|
3258
|
-
export type
|
|
3606
|
+
export type RefreshAuthSessionResponses = {
|
|
3259
3607
|
/**
|
|
3260
3608
|
* Successful Response
|
|
3261
3609
|
*/
|
|
3262
3610
|
200: AuthResponse;
|
|
3263
3611
|
};
|
|
3264
3612
|
|
|
3265
|
-
export type
|
|
3613
|
+
export type RefreshAuthSessionResponse = RefreshAuthSessionResponses[keyof RefreshAuthSessionResponses];
|
|
3266
3614
|
|
|
3267
|
-
export type
|
|
3615
|
+
export type ResendVerificationEmailData = {
|
|
3268
3616
|
body?: never;
|
|
3617
|
+
headers?: {
|
|
3618
|
+
/**
|
|
3619
|
+
* Authorization
|
|
3620
|
+
*/
|
|
3621
|
+
authorization?: string | null;
|
|
3622
|
+
};
|
|
3269
3623
|
path?: never;
|
|
3270
3624
|
query?: never;
|
|
3271
|
-
url: '/v1/auth/
|
|
3625
|
+
url: '/v1/auth/email/resend';
|
|
3272
3626
|
};
|
|
3273
3627
|
|
|
3274
|
-
export type
|
|
3628
|
+
export type ResendVerificationEmailErrors = {
|
|
3275
3629
|
/**
|
|
3276
|
-
*
|
|
3630
|
+
* Email already verified
|
|
3277
3631
|
*/
|
|
3278
|
-
|
|
3632
|
+
400: ErrorResponse;
|
|
3279
3633
|
/**
|
|
3280
3634
|
* Validation Error
|
|
3281
3635
|
*/
|
|
3282
3636
|
422: HttpValidationError;
|
|
3637
|
+
/**
|
|
3638
|
+
* Rate limit exceeded
|
|
3639
|
+
*/
|
|
3640
|
+
429: ErrorResponse;
|
|
3641
|
+
/**
|
|
3642
|
+
* Email service unavailable
|
|
3643
|
+
*/
|
|
3644
|
+
503: ErrorResponse;
|
|
3283
3645
|
};
|
|
3284
3646
|
|
|
3285
|
-
export type
|
|
3647
|
+
export type ResendVerificationEmailError = ResendVerificationEmailErrors[keyof ResendVerificationEmailErrors];
|
|
3286
3648
|
|
|
3287
|
-
export type
|
|
3649
|
+
export type ResendVerificationEmailResponses = {
|
|
3288
3650
|
/**
|
|
3651
|
+
* Response Resendverificationemail
|
|
3289
3652
|
* Successful Response
|
|
3290
3653
|
*/
|
|
3291
|
-
200:
|
|
3654
|
+
200: {
|
|
3655
|
+
[key: string]: unknown;
|
|
3656
|
+
};
|
|
3292
3657
|
};
|
|
3293
3658
|
|
|
3294
|
-
export type
|
|
3659
|
+
export type ResendVerificationEmailResponse = ResendVerificationEmailResponses[keyof ResendVerificationEmailResponses];
|
|
3295
3660
|
|
|
3296
|
-
export type
|
|
3297
|
-
body:
|
|
3661
|
+
export type VerifyEmailData = {
|
|
3662
|
+
body: EmailVerificationRequest;
|
|
3298
3663
|
path?: never;
|
|
3299
3664
|
query?: never;
|
|
3300
|
-
url: '/v1/auth/
|
|
3665
|
+
url: '/v1/auth/email/verify';
|
|
3301
3666
|
};
|
|
3302
3667
|
|
|
3303
|
-
export type
|
|
3668
|
+
export type VerifyEmailErrors = {
|
|
3304
3669
|
/**
|
|
3305
|
-
* Invalid
|
|
3670
|
+
* Invalid or expired token
|
|
3306
3671
|
*/
|
|
3307
|
-
|
|
3672
|
+
400: ErrorResponse;
|
|
3308
3673
|
/**
|
|
3309
3674
|
* Validation Error
|
|
3310
3675
|
*/
|
|
3311
3676
|
422: HttpValidationError;
|
|
3312
3677
|
};
|
|
3313
3678
|
|
|
3314
|
-
export type
|
|
3679
|
+
export type VerifyEmailError = VerifyEmailErrors[keyof VerifyEmailErrors];
|
|
3315
3680
|
|
|
3316
|
-
export type
|
|
3681
|
+
export type VerifyEmailResponses = {
|
|
3317
3682
|
/**
|
|
3318
3683
|
* Successful Response
|
|
3319
3684
|
*/
|
|
3320
3685
|
200: AuthResponse;
|
|
3321
3686
|
};
|
|
3322
3687
|
|
|
3323
|
-
export type
|
|
3688
|
+
export type VerifyEmailResponse = VerifyEmailResponses[keyof VerifyEmailResponses];
|
|
3324
3689
|
|
|
3325
|
-
export type
|
|
3326
|
-
body
|
|
3690
|
+
export type GetPasswordPolicyData = {
|
|
3691
|
+
body?: never;
|
|
3327
3692
|
path?: never;
|
|
3328
3693
|
query?: never;
|
|
3329
|
-
url: '/v1/auth/
|
|
3694
|
+
url: '/v1/auth/password/policy';
|
|
3330
3695
|
};
|
|
3331
3696
|
|
|
3332
|
-
export type
|
|
3333
|
-
/**
|
|
3334
|
-
* Invalid request data
|
|
3335
|
-
*/
|
|
3336
|
-
400: ErrorResponse;
|
|
3697
|
+
export type GetPasswordPolicyResponses = {
|
|
3337
3698
|
/**
|
|
3338
|
-
*
|
|
3699
|
+
* Password policy requirements
|
|
3339
3700
|
*/
|
|
3340
|
-
|
|
3341
|
-
|
|
3701
|
+
200: PasswordPolicyResponse;
|
|
3702
|
+
};
|
|
3703
|
+
|
|
3704
|
+
export type GetPasswordPolicyResponse = GetPasswordPolicyResponses[keyof GetPasswordPolicyResponses];
|
|
3705
|
+
|
|
3706
|
+
export type CheckPasswordStrengthData = {
|
|
3707
|
+
body: PasswordCheckRequest;
|
|
3708
|
+
path?: never;
|
|
3709
|
+
query?: never;
|
|
3710
|
+
url: '/v1/auth/password/check';
|
|
3711
|
+
};
|
|
3712
|
+
|
|
3713
|
+
export type CheckPasswordStrengthErrors = {
|
|
3714
|
+
/**
|
|
3342
3715
|
* Validation Error
|
|
3343
3716
|
*/
|
|
3344
3717
|
422: HttpValidationError;
|
|
3345
3718
|
};
|
|
3346
3719
|
|
|
3347
|
-
export type
|
|
3720
|
+
export type CheckPasswordStrengthError = CheckPasswordStrengthErrors[keyof CheckPasswordStrengthErrors];
|
|
3348
3721
|
|
|
3349
|
-
export type
|
|
3722
|
+
export type CheckPasswordStrengthResponses = {
|
|
3723
|
+
/**
|
|
3724
|
+
* Password strength analysis
|
|
3725
|
+
*/
|
|
3726
|
+
200: PasswordCheckResponse;
|
|
3727
|
+
};
|
|
3728
|
+
|
|
3729
|
+
export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
|
|
3730
|
+
|
|
3731
|
+
export type ForgotPasswordData = {
|
|
3732
|
+
body: ForgotPasswordRequest;
|
|
3733
|
+
path?: never;
|
|
3734
|
+
query?: never;
|
|
3735
|
+
url: '/v1/auth/password/forgot';
|
|
3736
|
+
};
|
|
3737
|
+
|
|
3738
|
+
export type ForgotPasswordErrors = {
|
|
3739
|
+
/**
|
|
3740
|
+
* Validation Error
|
|
3741
|
+
*/
|
|
3742
|
+
422: HttpValidationError;
|
|
3743
|
+
/**
|
|
3744
|
+
* Rate limit exceeded
|
|
3745
|
+
*/
|
|
3746
|
+
429: ErrorResponse;
|
|
3747
|
+
};
|
|
3748
|
+
|
|
3749
|
+
export type ForgotPasswordError = ForgotPasswordErrors[keyof ForgotPasswordErrors];
|
|
3750
|
+
|
|
3751
|
+
export type ForgotPasswordResponses = {
|
|
3350
3752
|
/**
|
|
3753
|
+
* Response Forgotpassword
|
|
3351
3754
|
* Successful Response
|
|
3352
3755
|
*/
|
|
3353
|
-
200:
|
|
3756
|
+
200: {
|
|
3757
|
+
[key: string]: unknown;
|
|
3758
|
+
};
|
|
3354
3759
|
};
|
|
3355
3760
|
|
|
3356
|
-
export type
|
|
3761
|
+
export type ForgotPasswordResponse = ForgotPasswordResponses[keyof ForgotPasswordResponses];
|
|
3357
3762
|
|
|
3358
|
-
export type
|
|
3359
|
-
body
|
|
3763
|
+
export type ValidateResetTokenData = {
|
|
3764
|
+
body?: never;
|
|
3765
|
+
path?: never;
|
|
3766
|
+
query: {
|
|
3767
|
+
/**
|
|
3768
|
+
* Token
|
|
3769
|
+
* Password reset token
|
|
3770
|
+
*/
|
|
3771
|
+
token: string;
|
|
3772
|
+
};
|
|
3773
|
+
url: '/v1/auth/password/reset/validate';
|
|
3774
|
+
};
|
|
3775
|
+
|
|
3776
|
+
export type ValidateResetTokenErrors = {
|
|
3777
|
+
/**
|
|
3778
|
+
* Validation Error
|
|
3779
|
+
*/
|
|
3780
|
+
422: HttpValidationError;
|
|
3781
|
+
};
|
|
3782
|
+
|
|
3783
|
+
export type ValidateResetTokenError = ValidateResetTokenErrors[keyof ValidateResetTokenErrors];
|
|
3784
|
+
|
|
3785
|
+
export type ValidateResetTokenResponses = {
|
|
3786
|
+
/**
|
|
3787
|
+
* Successful Response
|
|
3788
|
+
*/
|
|
3789
|
+
200: ResetPasswordValidateResponse;
|
|
3790
|
+
};
|
|
3791
|
+
|
|
3792
|
+
export type ValidateResetTokenResponse = ValidateResetTokenResponses[keyof ValidateResetTokenResponses];
|
|
3793
|
+
|
|
3794
|
+
export type ResetPasswordData = {
|
|
3795
|
+
body: ResetPasswordRequest;
|
|
3360
3796
|
path?: never;
|
|
3361
3797
|
query?: never;
|
|
3362
|
-
url: '/v1/auth/
|
|
3798
|
+
url: '/v1/auth/password/reset';
|
|
3363
3799
|
};
|
|
3364
3800
|
|
|
3365
|
-
export type
|
|
3801
|
+
export type ResetPasswordErrors = {
|
|
3366
3802
|
/**
|
|
3367
|
-
* Invalid
|
|
3803
|
+
* Invalid token or password
|
|
3368
3804
|
*/
|
|
3369
|
-
|
|
3805
|
+
400: ErrorResponse;
|
|
3370
3806
|
/**
|
|
3371
3807
|
* Validation Error
|
|
3372
3808
|
*/
|
|
3373
3809
|
422: HttpValidationError;
|
|
3374
3810
|
};
|
|
3375
3811
|
|
|
3376
|
-
export type
|
|
3812
|
+
export type ResetPasswordError = ResetPasswordErrors[keyof ResetPasswordErrors];
|
|
3377
3813
|
|
|
3378
|
-
export type
|
|
3814
|
+
export type ResetPasswordResponses = {
|
|
3379
3815
|
/**
|
|
3380
3816
|
* Successful Response
|
|
3381
3817
|
*/
|
|
3382
3818
|
200: AuthResponse;
|
|
3383
3819
|
};
|
|
3384
3820
|
|
|
3385
|
-
export type
|
|
3821
|
+
export type ResetPasswordResponse = ResetPasswordResponses[keyof ResetPasswordResponses];
|
|
3386
3822
|
|
|
3387
|
-
export type
|
|
3823
|
+
export type GenerateSsoTokenData = {
|
|
3388
3824
|
body?: never;
|
|
3825
|
+
headers?: {
|
|
3826
|
+
/**
|
|
3827
|
+
* Authorization
|
|
3828
|
+
*/
|
|
3829
|
+
authorization?: string | null;
|
|
3830
|
+
};
|
|
3389
3831
|
path?: never;
|
|
3390
3832
|
query?: never;
|
|
3391
|
-
url: '/v1/auth/
|
|
3833
|
+
url: '/v1/auth/sso-token';
|
|
3392
3834
|
};
|
|
3393
3835
|
|
|
3394
|
-
export type
|
|
3836
|
+
export type GenerateSsoTokenErrors = {
|
|
3395
3837
|
/**
|
|
3396
|
-
*
|
|
3838
|
+
* Not authenticated
|
|
3397
3839
|
*/
|
|
3398
|
-
|
|
3840
|
+
401: ErrorResponse;
|
|
3841
|
+
/**
|
|
3842
|
+
* Validation Error
|
|
3843
|
+
*/
|
|
3844
|
+
422: HttpValidationError;
|
|
3399
3845
|
};
|
|
3400
3846
|
|
|
3401
|
-
export type
|
|
3847
|
+
export type GenerateSsoTokenError = GenerateSsoTokenErrors[keyof GenerateSsoTokenErrors];
|
|
3402
3848
|
|
|
3403
|
-
export type
|
|
3404
|
-
|
|
3849
|
+
export type GenerateSsoTokenResponses = {
|
|
3850
|
+
/**
|
|
3851
|
+
* Successful Response
|
|
3852
|
+
*/
|
|
3853
|
+
200: SsoTokenResponse;
|
|
3854
|
+
};
|
|
3855
|
+
|
|
3856
|
+
export type GenerateSsoTokenResponse = GenerateSsoTokenResponses[keyof GenerateSsoTokenResponses];
|
|
3857
|
+
|
|
3858
|
+
export type SsoLoginData = {
|
|
3859
|
+
body: SsoLoginRequest;
|
|
3405
3860
|
path?: never;
|
|
3406
3861
|
query?: never;
|
|
3407
|
-
url: '/v1/auth/
|
|
3862
|
+
url: '/v1/auth/sso-login';
|
|
3408
3863
|
};
|
|
3409
3864
|
|
|
3410
|
-
export type
|
|
3865
|
+
export type SsoLoginErrors = {
|
|
3866
|
+
/**
|
|
3867
|
+
* Invalid SSO token
|
|
3868
|
+
*/
|
|
3869
|
+
401: ErrorResponse;
|
|
3411
3870
|
/**
|
|
3412
3871
|
* Validation Error
|
|
3413
3872
|
*/
|
|
3414
3873
|
422: HttpValidationError;
|
|
3415
3874
|
};
|
|
3416
3875
|
|
|
3417
|
-
export type
|
|
3876
|
+
export type SsoLoginError = SsoLoginErrors[keyof SsoLoginErrors];
|
|
3418
3877
|
|
|
3419
|
-
export type
|
|
3878
|
+
export type SsoLoginResponses = {
|
|
3420
3879
|
/**
|
|
3421
|
-
*
|
|
3880
|
+
* Successful Response
|
|
3422
3881
|
*/
|
|
3423
|
-
200:
|
|
3882
|
+
200: AuthResponse;
|
|
3424
3883
|
};
|
|
3425
3884
|
|
|
3426
|
-
export type
|
|
3885
|
+
export type SsoLoginResponse = SsoLoginResponses[keyof SsoLoginResponses];
|
|
3886
|
+
|
|
3887
|
+
export type SsoTokenExchangeData = {
|
|
3888
|
+
body: SsoExchangeRequest;
|
|
3889
|
+
path?: never;
|
|
3890
|
+
query?: never;
|
|
3891
|
+
url: '/v1/auth/sso-exchange';
|
|
3892
|
+
};
|
|
3893
|
+
|
|
3894
|
+
export type SsoTokenExchangeErrors = {
|
|
3895
|
+
/**
|
|
3896
|
+
* Invalid request data
|
|
3897
|
+
*/
|
|
3898
|
+
400: ErrorResponse;
|
|
3899
|
+
/**
|
|
3900
|
+
* Invalid SSO token
|
|
3901
|
+
*/
|
|
3902
|
+
401: ErrorResponse;
|
|
3903
|
+
/**
|
|
3904
|
+
* Validation Error
|
|
3905
|
+
*/
|
|
3906
|
+
422: HttpValidationError;
|
|
3907
|
+
};
|
|
3908
|
+
|
|
3909
|
+
export type SsoTokenExchangeError = SsoTokenExchangeErrors[keyof SsoTokenExchangeErrors];
|
|
3910
|
+
|
|
3911
|
+
export type SsoTokenExchangeResponses = {
|
|
3912
|
+
/**
|
|
3913
|
+
* Successful Response
|
|
3914
|
+
*/
|
|
3915
|
+
200: SsoExchangeResponse;
|
|
3916
|
+
};
|
|
3917
|
+
|
|
3918
|
+
export type SsoTokenExchangeResponse = SsoTokenExchangeResponses[keyof SsoTokenExchangeResponses];
|
|
3919
|
+
|
|
3920
|
+
export type CompleteSsoAuthData = {
|
|
3921
|
+
body: SsoCompleteRequest;
|
|
3922
|
+
path?: never;
|
|
3923
|
+
query?: never;
|
|
3924
|
+
url: '/v1/auth/sso-complete';
|
|
3925
|
+
};
|
|
3926
|
+
|
|
3927
|
+
export type CompleteSsoAuthErrors = {
|
|
3928
|
+
/**
|
|
3929
|
+
* Invalid session
|
|
3930
|
+
*/
|
|
3931
|
+
401: ErrorResponse;
|
|
3932
|
+
/**
|
|
3933
|
+
* Validation Error
|
|
3934
|
+
*/
|
|
3935
|
+
422: HttpValidationError;
|
|
3936
|
+
};
|
|
3937
|
+
|
|
3938
|
+
export type CompleteSsoAuthError = CompleteSsoAuthErrors[keyof CompleteSsoAuthErrors];
|
|
3939
|
+
|
|
3940
|
+
export type CompleteSsoAuthResponses = {
|
|
3941
|
+
/**
|
|
3942
|
+
* Successful Response
|
|
3943
|
+
*/
|
|
3944
|
+
200: AuthResponse;
|
|
3945
|
+
};
|
|
3946
|
+
|
|
3947
|
+
export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
|
|
3427
3948
|
|
|
3428
3949
|
export type GetCaptchaConfigData = {
|
|
3429
3950
|
body?: never;
|
|
@@ -4301,7 +4822,7 @@ export type GetRepositoryCreditsResponses = {
|
|
|
4301
4822
|
|
|
4302
4823
|
export type GetRepositoryCreditsResponse = GetRepositoryCreditsResponses[keyof GetRepositoryCreditsResponses];
|
|
4303
4824
|
|
|
4304
|
-
export type
|
|
4825
|
+
export type GetConnectionOptionsData = {
|
|
4305
4826
|
body?: never;
|
|
4306
4827
|
headers?: {
|
|
4307
4828
|
/**
|
|
@@ -4316,22 +4837,11 @@ export type ListConnectionsData = {
|
|
|
4316
4837
|
*/
|
|
4317
4838
|
graph_id: string;
|
|
4318
4839
|
};
|
|
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';
|
|
4840
|
+
query?: never;
|
|
4841
|
+
url: '/v1/{graph_id}/connections/options';
|
|
4332
4842
|
};
|
|
4333
4843
|
|
|
4334
|
-
export type
|
|
4844
|
+
export type GetConnectionOptionsErrors = {
|
|
4335
4845
|
/**
|
|
4336
4846
|
* Access denied to graph
|
|
4337
4847
|
*/
|
|
@@ -4341,25 +4851,24 @@ export type ListConnectionsErrors = {
|
|
|
4341
4851
|
*/
|
|
4342
4852
|
422: HttpValidationError;
|
|
4343
4853
|
/**
|
|
4344
|
-
* Failed to
|
|
4854
|
+
* Failed to retrieve options
|
|
4345
4855
|
*/
|
|
4346
4856
|
500: ErrorResponse;
|
|
4347
4857
|
};
|
|
4348
4858
|
|
|
4349
|
-
export type
|
|
4859
|
+
export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
|
|
4350
4860
|
|
|
4351
|
-
export type
|
|
4861
|
+
export type GetConnectionOptionsResponses = {
|
|
4352
4862
|
/**
|
|
4353
|
-
*
|
|
4354
|
-
* Connections retrieved successfully
|
|
4863
|
+
* Connection options retrieved successfully
|
|
4355
4864
|
*/
|
|
4356
|
-
200:
|
|
4865
|
+
200: ConnectionOptionsResponse;
|
|
4357
4866
|
};
|
|
4358
4867
|
|
|
4359
|
-
export type
|
|
4868
|
+
export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
|
|
4360
4869
|
|
|
4361
|
-
export type
|
|
4362
|
-
body:
|
|
4870
|
+
export type SyncConnectionData = {
|
|
4871
|
+
body: SyncConnectionRequest;
|
|
4363
4872
|
headers?: {
|
|
4364
4873
|
/**
|
|
4365
4874
|
* Authorization
|
|
@@ -4372,47 +4881,51 @@ export type CreateConnectionData = {
|
|
|
4372
4881
|
* Graph database identifier
|
|
4373
4882
|
*/
|
|
4374
4883
|
graph_id: string;
|
|
4884
|
+
/**
|
|
4885
|
+
* Connection Id
|
|
4886
|
+
* Connection identifier
|
|
4887
|
+
*/
|
|
4888
|
+
connection_id: string;
|
|
4375
4889
|
};
|
|
4376
4890
|
query?: never;
|
|
4377
|
-
url: '/v1/{graph_id}/connections';
|
|
4891
|
+
url: '/v1/{graph_id}/connections/{connection_id}/sync';
|
|
4378
4892
|
};
|
|
4379
4893
|
|
|
4380
|
-
export type
|
|
4381
|
-
/**
|
|
4382
|
-
* Invalid connection configuration
|
|
4383
|
-
*/
|
|
4384
|
-
400: ErrorResponse;
|
|
4894
|
+
export type SyncConnectionErrors = {
|
|
4385
4895
|
/**
|
|
4386
4896
|
* Access denied - admin role required
|
|
4387
4897
|
*/
|
|
4388
4898
|
403: ErrorResponse;
|
|
4389
4899
|
/**
|
|
4390
|
-
* Connection
|
|
4900
|
+
* Connection not found
|
|
4391
4901
|
*/
|
|
4392
|
-
|
|
4902
|
+
404: ErrorResponse;
|
|
4393
4903
|
/**
|
|
4394
4904
|
* Validation Error
|
|
4395
4905
|
*/
|
|
4396
4906
|
422: HttpValidationError;
|
|
4397
4907
|
/**
|
|
4398
|
-
* Failed to
|
|
4908
|
+
* Failed to start sync
|
|
4399
4909
|
*/
|
|
4400
4910
|
500: ErrorResponse;
|
|
4401
4911
|
};
|
|
4402
4912
|
|
|
4403
|
-
export type
|
|
4913
|
+
export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
|
|
4404
4914
|
|
|
4405
|
-
export type
|
|
4915
|
+
export type SyncConnectionResponses = {
|
|
4406
4916
|
/**
|
|
4407
|
-
*
|
|
4917
|
+
* Response Syncconnection
|
|
4918
|
+
* Sync started successfully
|
|
4408
4919
|
*/
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4920
|
+
200: {
|
|
4921
|
+
[key: string]: unknown;
|
|
4922
|
+
};
|
|
4923
|
+
};
|
|
4413
4924
|
|
|
4414
|
-
export type
|
|
4415
|
-
|
|
4925
|
+
export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
|
|
4926
|
+
|
|
4927
|
+
export type CreateLinkTokenData = {
|
|
4928
|
+
body: LinkTokenRequest;
|
|
4416
4929
|
headers?: {
|
|
4417
4930
|
/**
|
|
4418
4931
|
* Authorization
|
|
@@ -4425,21 +4938,63 @@ export type DeleteConnectionData = {
|
|
|
4425
4938
|
* Graph database identifier
|
|
4426
4939
|
*/
|
|
4427
4940
|
graph_id: string;
|
|
4941
|
+
};
|
|
4942
|
+
query?: never;
|
|
4943
|
+
url: '/v1/{graph_id}/connections/link/token';
|
|
4944
|
+
};
|
|
4945
|
+
|
|
4946
|
+
export type CreateLinkTokenErrors = {
|
|
4947
|
+
/**
|
|
4948
|
+
* Invalid provider or request
|
|
4949
|
+
*/
|
|
4950
|
+
400: ErrorResponse;
|
|
4951
|
+
/**
|
|
4952
|
+
* Entity not found
|
|
4953
|
+
*/
|
|
4954
|
+
404: ErrorResponse;
|
|
4955
|
+
/**
|
|
4956
|
+
* Validation Error
|
|
4957
|
+
*/
|
|
4958
|
+
422: HttpValidationError;
|
|
4959
|
+
/**
|
|
4960
|
+
* Failed to create link token
|
|
4961
|
+
*/
|
|
4962
|
+
500: ErrorResponse;
|
|
4963
|
+
};
|
|
4964
|
+
|
|
4965
|
+
export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
|
|
4966
|
+
|
|
4967
|
+
export type CreateLinkTokenResponses = {
|
|
4968
|
+
/**
|
|
4969
|
+
* Link token created successfully
|
|
4970
|
+
*/
|
|
4971
|
+
200: unknown;
|
|
4972
|
+
};
|
|
4973
|
+
|
|
4974
|
+
export type ExchangeLinkTokenData = {
|
|
4975
|
+
body: ExchangeTokenRequest;
|
|
4976
|
+
headers?: {
|
|
4428
4977
|
/**
|
|
4429
|
-
*
|
|
4430
|
-
* Connection identifier
|
|
4978
|
+
* Authorization
|
|
4431
4979
|
*/
|
|
4432
|
-
|
|
4980
|
+
authorization?: string | null;
|
|
4981
|
+
};
|
|
4982
|
+
path: {
|
|
4983
|
+
/**
|
|
4984
|
+
* Graph Id
|
|
4985
|
+
* Graph database identifier
|
|
4986
|
+
*/
|
|
4987
|
+
graph_id: string;
|
|
4433
4988
|
};
|
|
4434
4989
|
query?: never;
|
|
4435
|
-
url: '/v1/{graph_id}/connections/
|
|
4990
|
+
url: '/v1/{graph_id}/connections/link/exchange';
|
|
4436
4991
|
};
|
|
4437
4992
|
|
|
4438
|
-
export type
|
|
4993
|
+
export type ExchangeLinkTokenErrors = {
|
|
4439
4994
|
/**
|
|
4440
|
-
*
|
|
4995
|
+
* Invalid token or provider
|
|
4441
4996
|
*/
|
|
4442
|
-
|
|
4997
|
+
400: ErrorResponse;
|
|
4443
4998
|
/**
|
|
4444
4999
|
* Connection not found
|
|
4445
5000
|
*/
|
|
@@ -4449,24 +5004,22 @@ export type DeleteConnectionErrors = {
|
|
|
4449
5004
|
*/
|
|
4450
5005
|
422: HttpValidationError;
|
|
4451
5006
|
/**
|
|
4452
|
-
*
|
|
5007
|
+
* Token exchange failed
|
|
4453
5008
|
*/
|
|
4454
5009
|
500: ErrorResponse;
|
|
4455
5010
|
};
|
|
4456
5011
|
|
|
4457
|
-
export type
|
|
5012
|
+
export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
|
|
4458
5013
|
|
|
4459
|
-
export type
|
|
5014
|
+
export type ExchangeLinkTokenResponses = {
|
|
4460
5015
|
/**
|
|
4461
|
-
*
|
|
5016
|
+
* Token exchanged successfully
|
|
4462
5017
|
*/
|
|
4463
|
-
200:
|
|
5018
|
+
200: unknown;
|
|
4464
5019
|
};
|
|
4465
5020
|
|
|
4466
|
-
export type
|
|
4467
|
-
|
|
4468
|
-
export type GetConnectionData = {
|
|
4469
|
-
body?: never;
|
|
5021
|
+
export type InitOAuthData = {
|
|
5022
|
+
body: OAuthInitRequest;
|
|
4470
5023
|
headers?: {
|
|
4471
5024
|
/**
|
|
4472
5025
|
* Authorization
|
|
@@ -4479,19 +5032,60 @@ export type GetConnectionData = {
|
|
|
4479
5032
|
* Graph database identifier
|
|
4480
5033
|
*/
|
|
4481
5034
|
graph_id: string;
|
|
5035
|
+
};
|
|
5036
|
+
query?: never;
|
|
5037
|
+
url: '/v1/{graph_id}/connections/oauth/init';
|
|
5038
|
+
};
|
|
5039
|
+
|
|
5040
|
+
export type InitOAuthErrors = {
|
|
5041
|
+
/**
|
|
5042
|
+
* Validation Error
|
|
5043
|
+
*/
|
|
5044
|
+
422: HttpValidationError;
|
|
5045
|
+
};
|
|
5046
|
+
|
|
5047
|
+
export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
|
|
5048
|
+
|
|
5049
|
+
export type InitOAuthResponses = {
|
|
5050
|
+
/**
|
|
5051
|
+
* Successful Response
|
|
5052
|
+
*/
|
|
5053
|
+
200: OAuthInitResponse;
|
|
5054
|
+
};
|
|
5055
|
+
|
|
5056
|
+
export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
|
|
5057
|
+
|
|
5058
|
+
export type OauthCallbackData = {
|
|
5059
|
+
body: OAuthCallbackRequest;
|
|
5060
|
+
headers?: {
|
|
4482
5061
|
/**
|
|
4483
|
-
*
|
|
4484
|
-
* Unique connection identifier
|
|
5062
|
+
* Authorization
|
|
4485
5063
|
*/
|
|
4486
|
-
|
|
5064
|
+
authorization?: string | null;
|
|
5065
|
+
};
|
|
5066
|
+
path: {
|
|
5067
|
+
/**
|
|
5068
|
+
* Provider
|
|
5069
|
+
* OAuth provider name
|
|
5070
|
+
*/
|
|
5071
|
+
provider: string;
|
|
5072
|
+
/**
|
|
5073
|
+
* Graph Id
|
|
5074
|
+
* Graph database identifier
|
|
5075
|
+
*/
|
|
5076
|
+
graph_id: string;
|
|
4487
5077
|
};
|
|
4488
5078
|
query?: never;
|
|
4489
|
-
url: '/v1/{graph_id}/connections/{
|
|
5079
|
+
url: '/v1/{graph_id}/connections/oauth/callback/{provider}';
|
|
4490
5080
|
};
|
|
4491
5081
|
|
|
4492
|
-
export type
|
|
5082
|
+
export type OauthCallbackErrors = {
|
|
4493
5083
|
/**
|
|
4494
|
-
*
|
|
5084
|
+
* OAuth error or invalid state
|
|
5085
|
+
*/
|
|
5086
|
+
400: ErrorResponse;
|
|
5087
|
+
/**
|
|
5088
|
+
* State does not match user
|
|
4495
5089
|
*/
|
|
4496
5090
|
403: ErrorResponse;
|
|
4497
5091
|
/**
|
|
@@ -4503,23 +5097,21 @@ export type GetConnectionErrors = {
|
|
|
4503
5097
|
*/
|
|
4504
5098
|
422: HttpValidationError;
|
|
4505
5099
|
/**
|
|
4506
|
-
*
|
|
5100
|
+
* OAuth callback processing failed
|
|
4507
5101
|
*/
|
|
4508
5102
|
500: ErrorResponse;
|
|
4509
5103
|
};
|
|
4510
5104
|
|
|
4511
|
-
export type
|
|
5105
|
+
export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
|
|
4512
5106
|
|
|
4513
|
-
export type
|
|
5107
|
+
export type OauthCallbackResponses = {
|
|
4514
5108
|
/**
|
|
4515
|
-
*
|
|
5109
|
+
* OAuth flow completed successfully
|
|
4516
5110
|
*/
|
|
4517
|
-
200:
|
|
5111
|
+
200: unknown;
|
|
4518
5112
|
};
|
|
4519
5113
|
|
|
4520
|
-
export type
|
|
4521
|
-
|
|
4522
|
-
export type GetConnectionOptionsData = {
|
|
5114
|
+
export type ListConnectionsData = {
|
|
4523
5115
|
body?: never;
|
|
4524
5116
|
headers?: {
|
|
4525
5117
|
/**
|
|
@@ -4534,11 +5126,22 @@ export type GetConnectionOptionsData = {
|
|
|
4534
5126
|
*/
|
|
4535
5127
|
graph_id: string;
|
|
4536
5128
|
};
|
|
4537
|
-
query?:
|
|
4538
|
-
|
|
5129
|
+
query?: {
|
|
5130
|
+
/**
|
|
5131
|
+
* Entity Id
|
|
5132
|
+
* Filter by entity ID
|
|
5133
|
+
*/
|
|
5134
|
+
entity_id?: string | null;
|
|
5135
|
+
/**
|
|
5136
|
+
* Provider
|
|
5137
|
+
* Filter by provider type
|
|
5138
|
+
*/
|
|
5139
|
+
provider?: ('sec' | 'quickbooks' | 'plaid') | null;
|
|
5140
|
+
};
|
|
5141
|
+
url: '/v1/{graph_id}/connections';
|
|
4539
5142
|
};
|
|
4540
5143
|
|
|
4541
|
-
export type
|
|
5144
|
+
export type ListConnectionsErrors = {
|
|
4542
5145
|
/**
|
|
4543
5146
|
* Access denied to graph
|
|
4544
5147
|
*/
|
|
@@ -4548,24 +5151,25 @@ export type GetConnectionOptionsErrors = {
|
|
|
4548
5151
|
*/
|
|
4549
5152
|
422: HttpValidationError;
|
|
4550
5153
|
/**
|
|
4551
|
-
* Failed to
|
|
5154
|
+
* Failed to list connections
|
|
4552
5155
|
*/
|
|
4553
5156
|
500: ErrorResponse;
|
|
4554
5157
|
};
|
|
4555
5158
|
|
|
4556
|
-
export type
|
|
5159
|
+
export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
|
|
4557
5160
|
|
|
4558
|
-
export type
|
|
5161
|
+
export type ListConnectionsResponses = {
|
|
4559
5162
|
/**
|
|
4560
|
-
*
|
|
5163
|
+
* Response Listconnections
|
|
5164
|
+
* Connections retrieved successfully
|
|
4561
5165
|
*/
|
|
4562
|
-
200:
|
|
5166
|
+
200: Array<ConnectionResponse>;
|
|
4563
5167
|
};
|
|
4564
5168
|
|
|
4565
|
-
export type
|
|
5169
|
+
export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
|
|
4566
5170
|
|
|
4567
|
-
export type
|
|
4568
|
-
body
|
|
5171
|
+
export type CreateConnectionData = {
|
|
5172
|
+
body: CreateConnectionRequest;
|
|
4569
5173
|
headers?: {
|
|
4570
5174
|
/**
|
|
4571
5175
|
* Authorization
|
|
@@ -4578,51 +5182,47 @@ export type SyncConnectionData = {
|
|
|
4578
5182
|
* Graph database identifier
|
|
4579
5183
|
*/
|
|
4580
5184
|
graph_id: string;
|
|
4581
|
-
/**
|
|
4582
|
-
* Connection Id
|
|
4583
|
-
* Connection identifier
|
|
4584
|
-
*/
|
|
4585
|
-
connection_id: string;
|
|
4586
5185
|
};
|
|
4587
5186
|
query?: never;
|
|
4588
|
-
url: '/v1/{graph_id}/connections
|
|
5187
|
+
url: '/v1/{graph_id}/connections';
|
|
4589
5188
|
};
|
|
4590
5189
|
|
|
4591
|
-
export type
|
|
5190
|
+
export type CreateConnectionErrors = {
|
|
5191
|
+
/**
|
|
5192
|
+
* Invalid connection configuration
|
|
5193
|
+
*/
|
|
5194
|
+
400: ErrorResponse;
|
|
4592
5195
|
/**
|
|
4593
5196
|
* Access denied - admin role required
|
|
4594
5197
|
*/
|
|
4595
5198
|
403: ErrorResponse;
|
|
4596
5199
|
/**
|
|
4597
|
-
* Connection
|
|
5200
|
+
* Connection already exists
|
|
4598
5201
|
*/
|
|
4599
|
-
|
|
5202
|
+
409: ErrorResponse;
|
|
4600
5203
|
/**
|
|
4601
5204
|
* Validation Error
|
|
4602
5205
|
*/
|
|
4603
5206
|
422: HttpValidationError;
|
|
4604
5207
|
/**
|
|
4605
|
-
* Failed to
|
|
5208
|
+
* Failed to create connection
|
|
4606
5209
|
*/
|
|
4607
5210
|
500: ErrorResponse;
|
|
4608
5211
|
};
|
|
4609
5212
|
|
|
4610
|
-
export type
|
|
5213
|
+
export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
|
|
4611
5214
|
|
|
4612
|
-
export type
|
|
5215
|
+
export type CreateConnectionResponses = {
|
|
4613
5216
|
/**
|
|
4614
|
-
*
|
|
4615
|
-
* Sync started successfully
|
|
5217
|
+
* Connection created successfully
|
|
4616
5218
|
*/
|
|
4617
|
-
|
|
4618
|
-
[key: string]: unknown;
|
|
4619
|
-
};
|
|
5219
|
+
201: ConnectionResponse;
|
|
4620
5220
|
};
|
|
4621
5221
|
|
|
4622
|
-
export type
|
|
5222
|
+
export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
|
|
4623
5223
|
|
|
4624
|
-
export type
|
|
4625
|
-
body
|
|
5224
|
+
export type DeleteConnectionData = {
|
|
5225
|
+
body?: never;
|
|
4626
5226
|
headers?: {
|
|
4627
5227
|
/**
|
|
4628
5228
|
* Authorization
|
|
@@ -4635,18 +5235,23 @@ export type CreateLinkTokenData = {
|
|
|
4635
5235
|
* Graph database identifier
|
|
4636
5236
|
*/
|
|
4637
5237
|
graph_id: string;
|
|
5238
|
+
/**
|
|
5239
|
+
* Connection Id
|
|
5240
|
+
* Connection identifier
|
|
5241
|
+
*/
|
|
5242
|
+
connection_id: string;
|
|
4638
5243
|
};
|
|
4639
5244
|
query?: never;
|
|
4640
|
-
url: '/v1/{graph_id}/connections/
|
|
5245
|
+
url: '/v1/{graph_id}/connections/{connection_id}';
|
|
4641
5246
|
};
|
|
4642
5247
|
|
|
4643
|
-
export type
|
|
5248
|
+
export type DeleteConnectionErrors = {
|
|
4644
5249
|
/**
|
|
4645
|
-
*
|
|
5250
|
+
* Access denied - admin role required
|
|
4646
5251
|
*/
|
|
4647
|
-
|
|
5252
|
+
403: ErrorResponse;
|
|
4648
5253
|
/**
|
|
4649
|
-
*
|
|
5254
|
+
* Connection not found
|
|
4650
5255
|
*/
|
|
4651
5256
|
404: ErrorResponse;
|
|
4652
5257
|
/**
|
|
@@ -4654,22 +5259,24 @@ export type CreateLinkTokenErrors = {
|
|
|
4654
5259
|
*/
|
|
4655
5260
|
422: HttpValidationError;
|
|
4656
5261
|
/**
|
|
4657
|
-
* Failed to
|
|
5262
|
+
* Failed to delete connection
|
|
4658
5263
|
*/
|
|
4659
5264
|
500: ErrorResponse;
|
|
4660
5265
|
};
|
|
4661
5266
|
|
|
4662
|
-
export type
|
|
5267
|
+
export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
|
|
4663
5268
|
|
|
4664
|
-
export type
|
|
5269
|
+
export type DeleteConnectionResponses = {
|
|
4665
5270
|
/**
|
|
4666
|
-
*
|
|
5271
|
+
* Connection deleted successfully
|
|
4667
5272
|
*/
|
|
4668
|
-
200:
|
|
5273
|
+
200: SuccessResponse;
|
|
4669
5274
|
};
|
|
4670
5275
|
|
|
4671
|
-
export type
|
|
4672
|
-
|
|
5276
|
+
export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
|
|
5277
|
+
|
|
5278
|
+
export type GetConnectionData = {
|
|
5279
|
+
body?: never;
|
|
4673
5280
|
headers?: {
|
|
4674
5281
|
/**
|
|
4675
5282
|
* Authorization
|
|
@@ -4682,16 +5289,21 @@ export type ExchangeLinkTokenData = {
|
|
|
4682
5289
|
* Graph database identifier
|
|
4683
5290
|
*/
|
|
4684
5291
|
graph_id: string;
|
|
5292
|
+
/**
|
|
5293
|
+
* Connection Id
|
|
5294
|
+
* Unique connection identifier
|
|
5295
|
+
*/
|
|
5296
|
+
connection_id: string;
|
|
4685
5297
|
};
|
|
4686
5298
|
query?: never;
|
|
4687
|
-
url: '/v1/{graph_id}/connections/
|
|
5299
|
+
url: '/v1/{graph_id}/connections/{connection_id}';
|
|
4688
5300
|
};
|
|
4689
5301
|
|
|
4690
|
-
export type
|
|
5302
|
+
export type GetConnectionErrors = {
|
|
4691
5303
|
/**
|
|
4692
|
-
*
|
|
5304
|
+
* Access denied to connection
|
|
4693
5305
|
*/
|
|
4694
|
-
|
|
5306
|
+
403: ErrorResponse;
|
|
4695
5307
|
/**
|
|
4696
5308
|
* Connection not found
|
|
4697
5309
|
*/
|
|
@@ -4701,22 +5313,24 @@ export type ExchangeLinkTokenErrors = {
|
|
|
4701
5313
|
*/
|
|
4702
5314
|
422: HttpValidationError;
|
|
4703
5315
|
/**
|
|
4704
|
-
*
|
|
5316
|
+
* Failed to retrieve connection
|
|
4705
5317
|
*/
|
|
4706
5318
|
500: ErrorResponse;
|
|
4707
5319
|
};
|
|
4708
5320
|
|
|
4709
|
-
export type
|
|
5321
|
+
export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
|
|
4710
5322
|
|
|
4711
|
-
export type
|
|
5323
|
+
export type GetConnectionResponses = {
|
|
4712
5324
|
/**
|
|
4713
|
-
*
|
|
5325
|
+
* Connection details retrieved successfully
|
|
4714
5326
|
*/
|
|
4715
|
-
200:
|
|
5327
|
+
200: ConnectionResponse;
|
|
4716
5328
|
};
|
|
4717
5329
|
|
|
4718
|
-
export type
|
|
4719
|
-
|
|
5330
|
+
export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
|
|
5331
|
+
|
|
5332
|
+
export type AutoSelectAgentData = {
|
|
5333
|
+
body: AgentRequest;
|
|
4720
5334
|
headers?: {
|
|
4721
5335
|
/**
|
|
4722
5336
|
* Authorization
|
|
@@ -4726,34 +5340,49 @@ export type InitOAuthData = {
|
|
|
4726
5340
|
path: {
|
|
4727
5341
|
/**
|
|
4728
5342
|
* Graph Id
|
|
4729
|
-
* Graph database identifier
|
|
4730
5343
|
*/
|
|
4731
5344
|
graph_id: string;
|
|
4732
5345
|
};
|
|
4733
5346
|
query?: never;
|
|
4734
|
-
url: '/v1/{graph_id}/
|
|
5347
|
+
url: '/v1/{graph_id}/agent';
|
|
4735
5348
|
};
|
|
4736
5349
|
|
|
4737
|
-
export type
|
|
5350
|
+
export type AutoSelectAgentErrors = {
|
|
5351
|
+
/**
|
|
5352
|
+
* Invalid request parameters
|
|
5353
|
+
*/
|
|
5354
|
+
400: unknown;
|
|
5355
|
+
/**
|
|
5356
|
+
* Insufficient credits for selected agent
|
|
5357
|
+
*/
|
|
5358
|
+
402: unknown;
|
|
4738
5359
|
/**
|
|
4739
5360
|
* Validation Error
|
|
4740
5361
|
*/
|
|
4741
5362
|
422: HttpValidationError;
|
|
5363
|
+
/**
|
|
5364
|
+
* Rate limit exceeded
|
|
5365
|
+
*/
|
|
5366
|
+
429: unknown;
|
|
5367
|
+
/**
|
|
5368
|
+
* Internal server error
|
|
5369
|
+
*/
|
|
5370
|
+
500: ErrorResponse;
|
|
4742
5371
|
};
|
|
4743
5372
|
|
|
4744
|
-
export type
|
|
5373
|
+
export type AutoSelectAgentError = AutoSelectAgentErrors[keyof AutoSelectAgentErrors];
|
|
4745
5374
|
|
|
4746
|
-
export type
|
|
5375
|
+
export type AutoSelectAgentResponses = {
|
|
4747
5376
|
/**
|
|
4748
|
-
*
|
|
5377
|
+
* Query successfully processed by selected agent
|
|
4749
5378
|
*/
|
|
4750
|
-
200:
|
|
5379
|
+
200: AgentResponse;
|
|
4751
5380
|
};
|
|
4752
5381
|
|
|
4753
|
-
export type
|
|
5382
|
+
export type AutoSelectAgentResponse = AutoSelectAgentResponses[keyof AutoSelectAgentResponses];
|
|
4754
5383
|
|
|
4755
|
-
export type
|
|
4756
|
-
body:
|
|
5384
|
+
export type ExecuteSpecificAgentData = {
|
|
5385
|
+
body: AgentRequest;
|
|
4757
5386
|
headers?: {
|
|
4758
5387
|
/**
|
|
4759
5388
|
* Authorization
|
|
@@ -4762,54 +5391,58 @@ export type OauthCallbackData = {
|
|
|
4762
5391
|
};
|
|
4763
5392
|
path: {
|
|
4764
5393
|
/**
|
|
4765
|
-
*
|
|
4766
|
-
* OAuth provider name
|
|
5394
|
+
* Agent Type
|
|
4767
5395
|
*/
|
|
4768
|
-
|
|
5396
|
+
agent_type: string;
|
|
4769
5397
|
/**
|
|
4770
5398
|
* Graph Id
|
|
4771
|
-
* Graph database identifier
|
|
4772
5399
|
*/
|
|
4773
5400
|
graph_id: string;
|
|
4774
5401
|
};
|
|
4775
5402
|
query?: never;
|
|
4776
|
-
url: '/v1/{graph_id}/
|
|
5403
|
+
url: '/v1/{graph_id}/agent/{agent_type}';
|
|
4777
5404
|
};
|
|
4778
5405
|
|
|
4779
|
-
export type
|
|
5406
|
+
export type ExecuteSpecificAgentErrors = {
|
|
4780
5407
|
/**
|
|
4781
|
-
*
|
|
5408
|
+
* Invalid agent type or request parameters
|
|
4782
5409
|
*/
|
|
4783
|
-
400:
|
|
5410
|
+
400: unknown;
|
|
4784
5411
|
/**
|
|
4785
|
-
*
|
|
5412
|
+
* Insufficient credits for specified agent
|
|
4786
5413
|
*/
|
|
4787
|
-
|
|
5414
|
+
402: unknown;
|
|
4788
5415
|
/**
|
|
4789
|
-
*
|
|
5416
|
+
* Agent type not found
|
|
4790
5417
|
*/
|
|
4791
|
-
404:
|
|
5418
|
+
404: unknown;
|
|
4792
5419
|
/**
|
|
4793
5420
|
* Validation Error
|
|
4794
5421
|
*/
|
|
4795
5422
|
422: HttpValidationError;
|
|
4796
5423
|
/**
|
|
4797
|
-
*
|
|
5424
|
+
* Rate limit exceeded
|
|
5425
|
+
*/
|
|
5426
|
+
429: unknown;
|
|
5427
|
+
/**
|
|
5428
|
+
* Internal server error
|
|
4798
5429
|
*/
|
|
4799
5430
|
500: ErrorResponse;
|
|
4800
5431
|
};
|
|
4801
5432
|
|
|
4802
|
-
export type
|
|
5433
|
+
export type ExecuteSpecificAgentError = ExecuteSpecificAgentErrors[keyof ExecuteSpecificAgentErrors];
|
|
4803
5434
|
|
|
4804
|
-
export type
|
|
5435
|
+
export type ExecuteSpecificAgentResponses = {
|
|
4805
5436
|
/**
|
|
4806
|
-
*
|
|
5437
|
+
* Query successfully processed by specified agent
|
|
4807
5438
|
*/
|
|
4808
|
-
200:
|
|
5439
|
+
200: AgentResponse;
|
|
4809
5440
|
};
|
|
4810
5441
|
|
|
4811
|
-
export type
|
|
4812
|
-
|
|
5442
|
+
export type ExecuteSpecificAgentResponse = ExecuteSpecificAgentResponses[keyof ExecuteSpecificAgentResponses];
|
|
5443
|
+
|
|
5444
|
+
export type BatchProcessQueriesData = {
|
|
5445
|
+
body: BatchAgentRequest;
|
|
4813
5446
|
headers?: {
|
|
4814
5447
|
/**
|
|
4815
5448
|
* Authorization
|
|
@@ -4823,42 +5456,172 @@ export type QueryFinancialAgentData = {
|
|
|
4823
5456
|
graph_id: string;
|
|
4824
5457
|
};
|
|
4825
5458
|
query?: never;
|
|
4826
|
-
url: '/v1/{graph_id}/agent';
|
|
5459
|
+
url: '/v1/{graph_id}/agent/batch';
|
|
4827
5460
|
};
|
|
4828
5461
|
|
|
4829
|
-
export type
|
|
5462
|
+
export type BatchProcessQueriesErrors = {
|
|
4830
5463
|
/**
|
|
4831
|
-
* Invalid request
|
|
5464
|
+
* Invalid batch request or too many queries
|
|
4832
5465
|
*/
|
|
4833
|
-
400:
|
|
5466
|
+
400: unknown;
|
|
4834
5467
|
/**
|
|
4835
|
-
* Insufficient credits for
|
|
5468
|
+
* Insufficient credits for batch processing
|
|
4836
5469
|
*/
|
|
4837
|
-
402:
|
|
5470
|
+
402: unknown;
|
|
4838
5471
|
/**
|
|
4839
|
-
*
|
|
5472
|
+
* Validation Error
|
|
4840
5473
|
*/
|
|
4841
|
-
|
|
5474
|
+
422: HttpValidationError;
|
|
5475
|
+
/**
|
|
5476
|
+
* Internal server error during batch processing
|
|
5477
|
+
*/
|
|
5478
|
+
500: unknown;
|
|
5479
|
+
};
|
|
5480
|
+
|
|
5481
|
+
export type BatchProcessQueriesError = BatchProcessQueriesErrors[keyof BatchProcessQueriesErrors];
|
|
5482
|
+
|
|
5483
|
+
export type BatchProcessQueriesResponses = {
|
|
5484
|
+
/**
|
|
5485
|
+
* Batch processing completed successfully
|
|
5486
|
+
*/
|
|
5487
|
+
200: BatchAgentResponse;
|
|
5488
|
+
};
|
|
5489
|
+
|
|
5490
|
+
export type BatchProcessQueriesResponse = BatchProcessQueriesResponses[keyof BatchProcessQueriesResponses];
|
|
5491
|
+
|
|
5492
|
+
export type ListAgentsData = {
|
|
5493
|
+
body?: never;
|
|
5494
|
+
headers?: {
|
|
5495
|
+
/**
|
|
5496
|
+
* Authorization
|
|
5497
|
+
*/
|
|
5498
|
+
authorization?: string | null;
|
|
5499
|
+
};
|
|
5500
|
+
path: {
|
|
5501
|
+
/**
|
|
5502
|
+
* Graph Id
|
|
5503
|
+
* Graph database identifier
|
|
5504
|
+
*/
|
|
5505
|
+
graph_id: string;
|
|
5506
|
+
};
|
|
5507
|
+
query?: {
|
|
5508
|
+
/**
|
|
5509
|
+
* Capability
|
|
5510
|
+
* Filter by capability (e.g., 'financial_analysis', 'rag_search')
|
|
5511
|
+
*/
|
|
5512
|
+
capability?: string | null;
|
|
5513
|
+
};
|
|
5514
|
+
url: '/v1/{graph_id}/agent/list';
|
|
5515
|
+
};
|
|
5516
|
+
|
|
5517
|
+
export type ListAgentsErrors = {
|
|
5518
|
+
/**
|
|
5519
|
+
* Unauthorized - Invalid or missing authentication
|
|
5520
|
+
*/
|
|
5521
|
+
401: unknown;
|
|
4842
5522
|
/**
|
|
4843
5523
|
* Validation Error
|
|
4844
5524
|
*/
|
|
4845
5525
|
422: HttpValidationError;
|
|
5526
|
+
};
|
|
5527
|
+
|
|
5528
|
+
export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
|
|
5529
|
+
|
|
5530
|
+
export type ListAgentsResponses = {
|
|
4846
5531
|
/**
|
|
4847
|
-
*
|
|
5532
|
+
* List of agents retrieved successfully
|
|
4848
5533
|
*/
|
|
4849
|
-
|
|
5534
|
+
200: AgentListResponse;
|
|
5535
|
+
};
|
|
5536
|
+
|
|
5537
|
+
export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
|
|
5538
|
+
|
|
5539
|
+
export type GetAgentMetadataData = {
|
|
5540
|
+
body?: never;
|
|
5541
|
+
headers?: {
|
|
5542
|
+
/**
|
|
5543
|
+
* Authorization
|
|
5544
|
+
*/
|
|
5545
|
+
authorization?: string | null;
|
|
5546
|
+
};
|
|
5547
|
+
path: {
|
|
5548
|
+
/**
|
|
5549
|
+
* Graph Id
|
|
5550
|
+
* Graph database identifier
|
|
5551
|
+
*/
|
|
5552
|
+
graph_id: string;
|
|
5553
|
+
/**
|
|
5554
|
+
* Agent Type
|
|
5555
|
+
* Agent type identifier (e.g., 'financial', 'research', 'rag')
|
|
5556
|
+
*/
|
|
5557
|
+
agent_type: string;
|
|
5558
|
+
};
|
|
5559
|
+
query?: never;
|
|
5560
|
+
url: '/v1/{graph_id}/agent/{agent_type}/metadata';
|
|
4850
5561
|
};
|
|
4851
5562
|
|
|
4852
|
-
export type
|
|
5563
|
+
export type GetAgentMetadataErrors = {
|
|
5564
|
+
/**
|
|
5565
|
+
* Agent type not found
|
|
5566
|
+
*/
|
|
5567
|
+
404: unknown;
|
|
5568
|
+
/**
|
|
5569
|
+
* Validation Error
|
|
5570
|
+
*/
|
|
5571
|
+
422: HttpValidationError;
|
|
5572
|
+
};
|
|
5573
|
+
|
|
5574
|
+
export type GetAgentMetadataError = GetAgentMetadataErrors[keyof GetAgentMetadataErrors];
|
|
4853
5575
|
|
|
4854
|
-
export type
|
|
5576
|
+
export type GetAgentMetadataResponses = {
|
|
4855
5577
|
/**
|
|
4856
|
-
*
|
|
5578
|
+
* Agent metadata retrieved successfully
|
|
4857
5579
|
*/
|
|
4858
|
-
200:
|
|
5580
|
+
200: AgentMetadataResponse;
|
|
5581
|
+
};
|
|
5582
|
+
|
|
5583
|
+
export type GetAgentMetadataResponse = GetAgentMetadataResponses[keyof GetAgentMetadataResponses];
|
|
5584
|
+
|
|
5585
|
+
export type RecommendAgentData = {
|
|
5586
|
+
body: AgentRecommendationRequest;
|
|
5587
|
+
headers?: {
|
|
5588
|
+
/**
|
|
5589
|
+
* Authorization
|
|
5590
|
+
*/
|
|
5591
|
+
authorization?: string | null;
|
|
5592
|
+
};
|
|
5593
|
+
path: {
|
|
5594
|
+
/**
|
|
5595
|
+
* Graph Id
|
|
5596
|
+
* Graph database identifier
|
|
5597
|
+
*/
|
|
5598
|
+
graph_id: string;
|
|
5599
|
+
};
|
|
5600
|
+
query?: never;
|
|
5601
|
+
url: '/v1/{graph_id}/agent/recommend';
|
|
5602
|
+
};
|
|
5603
|
+
|
|
5604
|
+
export type RecommendAgentErrors = {
|
|
5605
|
+
/**
|
|
5606
|
+
* Invalid recommendation request
|
|
5607
|
+
*/
|
|
5608
|
+
400: unknown;
|
|
5609
|
+
/**
|
|
5610
|
+
* Validation Error
|
|
5611
|
+
*/
|
|
5612
|
+
422: HttpValidationError;
|
|
5613
|
+
};
|
|
5614
|
+
|
|
5615
|
+
export type RecommendAgentError = RecommendAgentErrors[keyof RecommendAgentErrors];
|
|
5616
|
+
|
|
5617
|
+
export type RecommendAgentResponses = {
|
|
5618
|
+
/**
|
|
5619
|
+
* Recommendations generated successfully
|
|
5620
|
+
*/
|
|
5621
|
+
200: AgentRecommendationResponse;
|
|
4859
5622
|
};
|
|
4860
5623
|
|
|
4861
|
-
export type
|
|
5624
|
+
export type RecommendAgentResponse = RecommendAgentResponses[keyof RecommendAgentResponses];
|
|
4862
5625
|
|
|
4863
5626
|
export type ListMcpToolsData = {
|
|
4864
5627
|
body?: never;
|
|
@@ -6045,7 +6808,7 @@ export type CheckCreditBalanceData = {
|
|
|
6045
6808
|
* Base Cost
|
|
6046
6809
|
* Custom base cost (uses default if not provided)
|
|
6047
6810
|
*/
|
|
6048
|
-
base_cost?: number | null;
|
|
6811
|
+
base_cost?: number | string | null;
|
|
6049
6812
|
};
|
|
6050
6813
|
url: '/v1/{graph_id}/credits/balance/check';
|
|
6051
6814
|
};
|
|
@@ -6411,7 +7174,7 @@ export type CreateSubgraphResponses = {
|
|
|
6411
7174
|
export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
|
|
6412
7175
|
|
|
6413
7176
|
export type DeleteSubgraphData = {
|
|
6414
|
-
body
|
|
7177
|
+
body: DeleteSubgraphRequest;
|
|
6415
7178
|
headers?: {
|
|
6416
7179
|
/**
|
|
6417
7180
|
* Authorization
|