@crestal/nation-sdk 0.1.20 → 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/README.md +2 -11
- package/api.ts +6 -707
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -322
- package/dist/api.js +92 -942
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgentApi.md +0 -503
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Nation IntentKit API
|
|
3
3
|
* API for Nation IntentKit services
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.
|
|
5
|
+
* The version of the OpenAPI document: 0.1.21
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2213,14 +2213,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2213
2213
|
* @throws {RequiredError}
|
|
2214
2214
|
*/
|
|
2215
2215
|
createAgent: (agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2216
|
-
/**
|
|
2217
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 500: Database error
|
|
2218
|
-
* @summary Create Agent
|
|
2219
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2220
|
-
* @param {*} [options] Override http request option.
|
|
2221
|
-
* @throws {RequiredError}
|
|
2222
|
-
*/
|
|
2223
|
-
createAgent_1: (agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2224
2216
|
/**
|
|
2225
2217
|
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2226
2218
|
* @summary Export Agent
|
|
@@ -2229,14 +2221,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2229
2221
|
* @throws {RequiredError}
|
|
2230
2222
|
*/
|
|
2231
2223
|
exportAgent: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2232
|
-
/**
|
|
2233
|
-
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2234
|
-
* @summary Export Agent
|
|
2235
|
-
* @param {string} agentId ID of the agent to export
|
|
2236
|
-
* @param {*} [options] Override http request option.
|
|
2237
|
-
* @throws {RequiredError}
|
|
2238
|
-
*/
|
|
2239
|
-
exportAgent_2: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2240
2224
|
/**
|
|
2241
2225
|
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2242
2226
|
* @summary Get Agent
|
|
@@ -2253,14 +2237,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2253
2237
|
* @throws {RequiredError}
|
|
2254
2238
|
*/
|
|
2255
2239
|
getAgentStatistics: (aid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2256
|
-
/**
|
|
2257
|
-
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2258
|
-
* @summary Get Agent
|
|
2259
|
-
* @param {string} agentId ID of the agent to retrieve
|
|
2260
|
-
* @param {*} [options] Override http request option.
|
|
2261
|
-
* @throws {RequiredError}
|
|
2262
|
-
*/
|
|
2263
|
-
getAgent_3: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2264
2240
|
/**
|
|
2265
2241
|
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
2266
2242
|
* @summary Get Agents
|
|
@@ -2271,16 +2247,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2271
2247
|
* @throws {RequiredError}
|
|
2272
2248
|
*/
|
|
2273
2249
|
getAgents: (sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2274
|
-
/**
|
|
2275
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
2276
|
-
* @summary Get Agents
|
|
2277
|
-
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
2278
|
-
* @param {string | null} [cursor] Cursor for pagination
|
|
2279
|
-
* @param {number} [limit] Maximum number of agents to return
|
|
2280
|
-
* @param {*} [options] Override http request option.
|
|
2281
|
-
* @throws {RequiredError}
|
|
2282
|
-
*/
|
|
2283
|
-
getAgents_4: (sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2284
2250
|
/**
|
|
2285
2251
|
* Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
|
|
2286
2252
|
* @summary Import Agent
|
|
@@ -2290,15 +2256,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2290
2256
|
* @throws {RequiredError}
|
|
2291
2257
|
*/
|
|
2292
2258
|
importAgent: (agentId: string, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2293
|
-
/**
|
|
2294
|
-
* Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
|
|
2295
|
-
* @summary Import Agent
|
|
2296
|
-
* @param {string} agentId
|
|
2297
|
-
* @param {File} file YAML file containing agent configuration
|
|
2298
|
-
* @param {*} [options] Override http request option.
|
|
2299
|
-
* @throws {RequiredError}
|
|
2300
|
-
*/
|
|
2301
|
-
importAgent_5: (agentId: string, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2302
2259
|
/**
|
|
2303
2260
|
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2304
2261
|
* @summary Override Agent
|
|
@@ -2308,15 +2265,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2308
2265
|
* @throws {RequiredError}
|
|
2309
2266
|
*/
|
|
2310
2267
|
overrideAgent: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2311
|
-
/**
|
|
2312
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2313
|
-
* @summary Override Agent
|
|
2314
|
-
* @param {string} agentId ID of the agent to update
|
|
2315
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2316
|
-
* @param {*} [options] Override http request option.
|
|
2317
|
-
* @throws {RequiredError}
|
|
2318
|
-
*/
|
|
2319
|
-
overrideAgent_6: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2320
2268
|
/**
|
|
2321
2269
|
* Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2322
2270
|
* @summary Update Agent
|
|
@@ -2326,15 +2274,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2326
2274
|
* @throws {RequiredError}
|
|
2327
2275
|
*/
|
|
2328
2276
|
updateAgent: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2329
|
-
/**
|
|
2330
|
-
* Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2331
|
-
* @summary Update Agent
|
|
2332
|
-
* @param {string} agentId ID of the agent to update
|
|
2333
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2334
|
-
* @param {*} [options] Override http request option.
|
|
2335
|
-
* @throws {RequiredError}
|
|
2336
|
-
*/
|
|
2337
|
-
updateAgent_7: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2338
2277
|
/**
|
|
2339
2278
|
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2340
2279
|
* @summary Validate Agent Create
|
|
@@ -2343,14 +2282,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2343
2282
|
* @throws {RequiredError}
|
|
2344
2283
|
*/
|
|
2345
2284
|
validateAgentCreate: (agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2346
|
-
/**
|
|
2347
|
-
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2348
|
-
* @summary Validate Agent Create
|
|
2349
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2350
|
-
* @param {*} [options] Override http request option.
|
|
2351
|
-
* @throws {RequiredError}
|
|
2352
|
-
*/
|
|
2353
|
-
validateAgentCreate_8: (agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2354
2285
|
/**
|
|
2355
2286
|
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2356
2287
|
* @summary Validate Agent Update
|
|
@@ -2360,15 +2291,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2360
2291
|
* @throws {RequiredError}
|
|
2361
2292
|
*/
|
|
2362
2293
|
validateAgentUpdate: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2363
|
-
/**
|
|
2364
|
-
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2365
|
-
* @summary Validate Agent Update
|
|
2366
|
-
* @param {string} agentId Agent ID
|
|
2367
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2368
|
-
* @param {*} [options] Override http request option.
|
|
2369
|
-
* @throws {RequiredError}
|
|
2370
|
-
*/
|
|
2371
|
-
validateAgentUpdate_9: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2372
2294
|
};
|
|
2373
2295
|
/**
|
|
2374
2296
|
* AgentApi - functional programming interface
|
|
@@ -2383,14 +2305,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2383
2305
|
* @throws {RequiredError}
|
|
2384
2306
|
*/
|
|
2385
2307
|
createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
|
|
2386
|
-
/**
|
|
2387
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 500: Database error
|
|
2388
|
-
* @summary Create Agent
|
|
2389
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2390
|
-
* @param {*} [options] Override http request option.
|
|
2391
|
-
* @throws {RequiredError}
|
|
2392
|
-
*/
|
|
2393
|
-
createAgent_1(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
|
|
2394
2308
|
/**
|
|
2395
2309
|
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2396
2310
|
* @summary Export Agent
|
|
@@ -2399,14 +2313,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2399
2313
|
* @throws {RequiredError}
|
|
2400
2314
|
*/
|
|
2401
2315
|
exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2402
|
-
/**
|
|
2403
|
-
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2404
|
-
* @summary Export Agent
|
|
2405
|
-
* @param {string} agentId ID of the agent to export
|
|
2406
|
-
* @param {*} [options] Override http request option.
|
|
2407
|
-
* @throws {RequiredError}
|
|
2408
|
-
*/
|
|
2409
|
-
exportAgent_2(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2410
2316
|
/**
|
|
2411
2317
|
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2412
2318
|
* @summary Get Agent
|
|
@@ -2423,14 +2329,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2423
2329
|
* @throws {RequiredError}
|
|
2424
2330
|
*/
|
|
2425
2331
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentStatisticsResponse>>;
|
|
2426
|
-
/**
|
|
2427
|
-
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2428
|
-
* @summary Get Agent
|
|
2429
|
-
* @param {string} agentId ID of the agent to retrieve
|
|
2430
|
-
* @param {*} [options] Override http request option.
|
|
2431
|
-
* @throws {RequiredError}
|
|
2432
|
-
*/
|
|
2433
|
-
getAgent_3(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2434
2332
|
/**
|
|
2435
2333
|
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
2436
2334
|
* @summary Get Agents
|
|
@@ -2441,16 +2339,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2441
2339
|
* @throws {RequiredError}
|
|
2442
2340
|
*/
|
|
2443
2341
|
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
|
|
2444
|
-
/**
|
|
2445
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
2446
|
-
* @summary Get Agents
|
|
2447
|
-
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
2448
|
-
* @param {string | null} [cursor] Cursor for pagination
|
|
2449
|
-
* @param {number} [limit] Maximum number of agents to return
|
|
2450
|
-
* @param {*} [options] Override http request option.
|
|
2451
|
-
* @throws {RequiredError}
|
|
2452
|
-
*/
|
|
2453
|
-
getAgents_4(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
|
|
2454
2342
|
/**
|
|
2455
2343
|
* Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
|
|
2456
2344
|
* @summary Import Agent
|
|
@@ -2460,15 +2348,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2460
2348
|
* @throws {RequiredError}
|
|
2461
2349
|
*/
|
|
2462
2350
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
2463
|
-
/**
|
|
2464
|
-
* Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
|
|
2465
|
-
* @summary Import Agent
|
|
2466
|
-
* @param {string} agentId
|
|
2467
|
-
* @param {File} file YAML file containing agent configuration
|
|
2468
|
-
* @param {*} [options] Override http request option.
|
|
2469
|
-
* @throws {RequiredError}
|
|
2470
|
-
*/
|
|
2471
|
-
importAgent_5(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
2472
2351
|
/**
|
|
2473
2352
|
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2474
2353
|
* @summary Override Agent
|
|
@@ -2478,15 +2357,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2478
2357
|
* @throws {RequiredError}
|
|
2479
2358
|
*/
|
|
2480
2359
|
overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2481
|
-
/**
|
|
2482
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2483
|
-
* @summary Override Agent
|
|
2484
|
-
* @param {string} agentId ID of the agent to update
|
|
2485
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2486
|
-
* @param {*} [options] Override http request option.
|
|
2487
|
-
* @throws {RequiredError}
|
|
2488
|
-
*/
|
|
2489
|
-
overrideAgent_6(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2490
2360
|
/**
|
|
2491
2361
|
* Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2492
2362
|
* @summary Update Agent
|
|
@@ -2496,15 +2366,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2496
2366
|
* @throws {RequiredError}
|
|
2497
2367
|
*/
|
|
2498
2368
|
updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2499
|
-
/**
|
|
2500
|
-
* Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2501
|
-
* @summary Update Agent
|
|
2502
|
-
* @param {string} agentId ID of the agent to update
|
|
2503
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2504
|
-
* @param {*} [options] Override http request option.
|
|
2505
|
-
* @throws {RequiredError}
|
|
2506
|
-
*/
|
|
2507
|
-
updateAgent_7(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2508
2369
|
/**
|
|
2509
2370
|
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2510
2371
|
* @summary Validate Agent Create
|
|
@@ -2513,14 +2374,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2513
2374
|
* @throws {RequiredError}
|
|
2514
2375
|
*/
|
|
2515
2376
|
validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2516
|
-
/**
|
|
2517
|
-
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2518
|
-
* @summary Validate Agent Create
|
|
2519
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2520
|
-
* @param {*} [options] Override http request option.
|
|
2521
|
-
* @throws {RequiredError}
|
|
2522
|
-
*/
|
|
2523
|
-
validateAgentCreate_8(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2524
2377
|
/**
|
|
2525
2378
|
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2526
2379
|
* @summary Validate Agent Update
|
|
@@ -2530,15 +2383,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2530
2383
|
* @throws {RequiredError}
|
|
2531
2384
|
*/
|
|
2532
2385
|
validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2533
|
-
/**
|
|
2534
|
-
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2535
|
-
* @summary Validate Agent Update
|
|
2536
|
-
* @param {string} agentId Agent ID
|
|
2537
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2538
|
-
* @param {*} [options] Override http request option.
|
|
2539
|
-
* @throws {RequiredError}
|
|
2540
|
-
*/
|
|
2541
|
-
validateAgentUpdate_9(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2542
2386
|
};
|
|
2543
2387
|
/**
|
|
2544
2388
|
* AgentApi - factory interface
|
|
@@ -2553,14 +2397,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2553
2397
|
* @throws {RequiredError}
|
|
2554
2398
|
*/
|
|
2555
2399
|
createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
|
|
2556
|
-
/**
|
|
2557
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 500: Database error
|
|
2558
|
-
* @summary Create Agent
|
|
2559
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2560
|
-
* @param {*} [options] Override http request option.
|
|
2561
|
-
* @throws {RequiredError}
|
|
2562
|
-
*/
|
|
2563
|
-
createAgent_1(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
|
|
2564
2400
|
/**
|
|
2565
2401
|
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2566
2402
|
* @summary Export Agent
|
|
@@ -2569,14 +2405,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2569
2405
|
* @throws {RequiredError}
|
|
2570
2406
|
*/
|
|
2571
2407
|
exportAgent(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2572
|
-
/**
|
|
2573
|
-
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2574
|
-
* @summary Export Agent
|
|
2575
|
-
* @param {string} agentId ID of the agent to export
|
|
2576
|
-
* @param {*} [options] Override http request option.
|
|
2577
|
-
* @throws {RequiredError}
|
|
2578
|
-
*/
|
|
2579
|
-
exportAgent_2(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2580
2408
|
/**
|
|
2581
2409
|
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2582
2410
|
* @summary Get Agent
|
|
@@ -2593,14 +2421,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2593
2421
|
* @throws {RequiredError}
|
|
2594
2422
|
*/
|
|
2595
2423
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentStatisticsResponse>;
|
|
2596
|
-
/**
|
|
2597
|
-
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2598
|
-
* @summary Get Agent
|
|
2599
|
-
* @param {string} agentId ID of the agent to retrieve
|
|
2600
|
-
* @param {*} [options] Override http request option.
|
|
2601
|
-
* @throws {RequiredError}
|
|
2602
|
-
*/
|
|
2603
|
-
getAgent_3(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2604
2424
|
/**
|
|
2605
2425
|
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
2606
2426
|
* @summary Get Agents
|
|
@@ -2611,16 +2431,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2611
2431
|
* @throws {RequiredError}
|
|
2612
2432
|
*/
|
|
2613
2433
|
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
|
|
2614
|
-
/**
|
|
2615
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
2616
|
-
* @summary Get Agents
|
|
2617
|
-
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
2618
|
-
* @param {string | null} [cursor] Cursor for pagination
|
|
2619
|
-
* @param {number} [limit] Maximum number of agents to return
|
|
2620
|
-
* @param {*} [options] Override http request option.
|
|
2621
|
-
* @throws {RequiredError}
|
|
2622
|
-
*/
|
|
2623
|
-
getAgents_4(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
|
|
2624
2434
|
/**
|
|
2625
2435
|
* Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
|
|
2626
2436
|
* @summary Import Agent
|
|
@@ -2630,15 +2440,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2630
2440
|
* @throws {RequiredError}
|
|
2631
2441
|
*/
|
|
2632
2442
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
2633
|
-
/**
|
|
2634
|
-
* Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
|
|
2635
|
-
* @summary Import Agent
|
|
2636
|
-
* @param {string} agentId
|
|
2637
|
-
* @param {File} file YAML file containing agent configuration
|
|
2638
|
-
* @param {*} [options] Override http request option.
|
|
2639
|
-
* @throws {RequiredError}
|
|
2640
|
-
*/
|
|
2641
|
-
importAgent_5(agentId: string, file: File, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
2642
2443
|
/**
|
|
2643
2444
|
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2644
2445
|
* @summary Override Agent
|
|
@@ -2648,15 +2449,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2648
2449
|
* @throws {RequiredError}
|
|
2649
2450
|
*/
|
|
2650
2451
|
overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2651
|
-
/**
|
|
2652
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2653
|
-
* @summary Override Agent
|
|
2654
|
-
* @param {string} agentId ID of the agent to update
|
|
2655
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2656
|
-
* @param {*} [options] Override http request option.
|
|
2657
|
-
* @throws {RequiredError}
|
|
2658
|
-
*/
|
|
2659
|
-
overrideAgent_6(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2660
2452
|
/**
|
|
2661
2453
|
* Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2662
2454
|
* @summary Update Agent
|
|
@@ -2666,15 +2458,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2666
2458
|
* @throws {RequiredError}
|
|
2667
2459
|
*/
|
|
2668
2460
|
updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2669
|
-
/**
|
|
2670
|
-
* Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2671
|
-
* @summary Update Agent
|
|
2672
|
-
* @param {string} agentId ID of the agent to update
|
|
2673
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2674
|
-
* @param {*} [options] Override http request option.
|
|
2675
|
-
* @throws {RequiredError}
|
|
2676
|
-
*/
|
|
2677
|
-
updateAgent_7(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2678
2461
|
/**
|
|
2679
2462
|
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2680
2463
|
* @summary Validate Agent Create
|
|
@@ -2683,14 +2466,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2683
2466
|
* @throws {RequiredError}
|
|
2684
2467
|
*/
|
|
2685
2468
|
validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2686
|
-
/**
|
|
2687
|
-
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2688
|
-
* @summary Validate Agent Create
|
|
2689
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2690
|
-
* @param {*} [options] Override http request option.
|
|
2691
|
-
* @throws {RequiredError}
|
|
2692
|
-
*/
|
|
2693
|
-
validateAgentCreate_8(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2694
2469
|
/**
|
|
2695
2470
|
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2696
2471
|
* @summary Validate Agent Update
|
|
@@ -2700,15 +2475,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2700
2475
|
* @throws {RequiredError}
|
|
2701
2476
|
*/
|
|
2702
2477
|
validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2703
|
-
/**
|
|
2704
|
-
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2705
|
-
* @summary Validate Agent Update
|
|
2706
|
-
* @param {string} agentId Agent ID
|
|
2707
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2708
|
-
* @param {*} [options] Override http request option.
|
|
2709
|
-
* @throws {RequiredError}
|
|
2710
|
-
*/
|
|
2711
|
-
validateAgentUpdate_9(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2712
2478
|
};
|
|
2713
2479
|
/**
|
|
2714
2480
|
* AgentApi - object-oriented interface
|
|
@@ -2726,15 +2492,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2726
2492
|
* @memberof AgentApi
|
|
2727
2493
|
*/
|
|
2728
2494
|
createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any>>;
|
|
2729
|
-
/**
|
|
2730
|
-
* Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 500: Database error
|
|
2731
|
-
* @summary Create Agent
|
|
2732
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2733
|
-
* @param {*} [options] Override http request option.
|
|
2734
|
-
* @throws {RequiredError}
|
|
2735
|
-
* @memberof AgentApi
|
|
2736
|
-
*/
|
|
2737
|
-
createAgent_1(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any>>;
|
|
2738
2495
|
/**
|
|
2739
2496
|
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2740
2497
|
* @summary Export Agent
|
|
@@ -2744,15 +2501,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2744
2501
|
* @memberof AgentApi
|
|
2745
2502
|
*/
|
|
2746
2503
|
exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2747
|
-
/**
|
|
2748
|
-
* Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2749
|
-
* @summary Export Agent
|
|
2750
|
-
* @param {string} agentId ID of the agent to export
|
|
2751
|
-
* @param {*} [options] Override http request option.
|
|
2752
|
-
* @throws {RequiredError}
|
|
2753
|
-
* @memberof AgentApi
|
|
2754
|
-
*/
|
|
2755
|
-
exportAgent_2(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2756
2504
|
/**
|
|
2757
2505
|
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2758
2506
|
* @summary Get Agent
|
|
@@ -2771,15 +2519,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2771
2519
|
* @memberof AgentApi
|
|
2772
2520
|
*/
|
|
2773
2521
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatisticsResponse, any>>;
|
|
2774
|
-
/**
|
|
2775
|
-
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
|
|
2776
|
-
* @summary Get Agent
|
|
2777
|
-
* @param {string} agentId ID of the agent to retrieve
|
|
2778
|
-
* @param {*} [options] Override http request option.
|
|
2779
|
-
* @throws {RequiredError}
|
|
2780
|
-
* @memberof AgentApi
|
|
2781
|
-
*/
|
|
2782
|
-
getAgent_3(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2783
2522
|
/**
|
|
2784
2523
|
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
2785
2524
|
* @summary Get Agents
|
|
@@ -2791,17 +2530,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2791
2530
|
* @memberof AgentApi
|
|
2792
2531
|
*/
|
|
2793
2532
|
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any>>;
|
|
2794
|
-
/**
|
|
2795
|
-
* Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
2796
|
-
* @summary Get Agents
|
|
2797
|
-
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
2798
|
-
* @param {string | null} [cursor] Cursor for pagination
|
|
2799
|
-
* @param {number} [limit] Maximum number of agents to return
|
|
2800
|
-
* @param {*} [options] Override http request option.
|
|
2801
|
-
* @throws {RequiredError}
|
|
2802
|
-
* @memberof AgentApi
|
|
2803
|
-
*/
|
|
2804
|
-
getAgents_4(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any>>;
|
|
2805
2533
|
/**
|
|
2806
2534
|
* Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
|
|
2807
2535
|
* @summary Import Agent
|
|
@@ -2812,16 +2540,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2812
2540
|
* @memberof AgentApi
|
|
2813
2541
|
*/
|
|
2814
2542
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
2815
|
-
/**
|
|
2816
|
-
* Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
|
|
2817
|
-
* @summary Import Agent
|
|
2818
|
-
* @param {string} agentId
|
|
2819
|
-
* @param {File} file YAML file containing agent configuration
|
|
2820
|
-
* @param {*} [options] Override http request option.
|
|
2821
|
-
* @throws {RequiredError}
|
|
2822
|
-
* @memberof AgentApi
|
|
2823
|
-
*/
|
|
2824
|
-
importAgent_5(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
2825
2543
|
/**
|
|
2826
2544
|
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2827
2545
|
* @summary Override Agent
|
|
@@ -2832,16 +2550,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2832
2550
|
* @memberof AgentApi
|
|
2833
2551
|
*/
|
|
2834
2552
|
overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2835
|
-
/**
|
|
2836
|
-
* Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2837
|
-
* @summary Override Agent
|
|
2838
|
-
* @param {string} agentId ID of the agent to update
|
|
2839
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2840
|
-
* @param {*} [options] Override http request option.
|
|
2841
|
-
* @throws {RequiredError}
|
|
2842
|
-
* @memberof AgentApi
|
|
2843
|
-
*/
|
|
2844
|
-
overrideAgent_6(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2845
2553
|
/**
|
|
2846
2554
|
* Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2847
2555
|
* @summary Update Agent
|
|
@@ -2852,16 +2560,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2852
2560
|
* @memberof AgentApi
|
|
2853
2561
|
*/
|
|
2854
2562
|
updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2855
|
-
/**
|
|
2856
|
-
* Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
|
|
2857
|
-
* @summary Update Agent
|
|
2858
|
-
* @param {string} agentId ID of the agent to update
|
|
2859
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2860
|
-
* @param {*} [options] Override http request option.
|
|
2861
|
-
* @throws {RequiredError}
|
|
2862
|
-
* @memberof AgentApi
|
|
2863
|
-
*/
|
|
2864
|
-
updateAgent_7(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2865
2563
|
/**
|
|
2866
2564
|
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2867
2565
|
* @summary Validate Agent Create
|
|
@@ -2871,15 +2569,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2871
2569
|
* @memberof AgentApi
|
|
2872
2570
|
*/
|
|
2873
2571
|
validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2874
|
-
/**
|
|
2875
|
-
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2876
|
-
* @summary Validate Agent Create
|
|
2877
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2878
|
-
* @param {*} [options] Override http request option.
|
|
2879
|
-
* @throws {RequiredError}
|
|
2880
|
-
* @memberof AgentApi
|
|
2881
|
-
*/
|
|
2882
|
-
validateAgentCreate_8(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2883
2572
|
/**
|
|
2884
2573
|
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2885
2574
|
* @summary Validate Agent Update
|
|
@@ -2890,16 +2579,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2890
2579
|
* @memberof AgentApi
|
|
2891
2580
|
*/
|
|
2892
2581
|
validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2893
|
-
/**
|
|
2894
|
-
* Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
|
|
2895
|
-
* @summary Validate Agent Update
|
|
2896
|
-
* @param {string} agentId Agent ID
|
|
2897
|
-
* @param {AgentUpdate} [agentUpdate]
|
|
2898
|
-
* @param {*} [options] Override http request option.
|
|
2899
|
-
* @throws {RequiredError}
|
|
2900
|
-
* @memberof AgentApi
|
|
2901
|
-
*/
|
|
2902
|
-
validateAgentUpdate_9(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2903
2582
|
}
|
|
2904
2583
|
/**
|
|
2905
2584
|
* ChatApi - axios parameter creator
|