@crestal/nation-sdk 0.7.28 → 0.7.29
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 -2
- package/api.ts +14 -14
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +13 -13
- package/dist/api.js +10 -10
- 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 +3 -3
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @crestal/nation-sdk@0.7.
|
|
1
|
+
## @crestal/nation-sdk@0.7.29
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @crestal/nation-sdk@0.7.
|
|
39
|
+
npm install @crestal/nation-sdk@0.7.29 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Nation IntentKit API
|
|
5
5
|
* API for Nation IntentKit services
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.7.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.29
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3953,17 +3953,17 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3953
3953
|
};
|
|
3954
3954
|
},
|
|
3955
3955
|
/**
|
|
3956
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
3956
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
3957
3957
|
* @summary Get Agents
|
|
3958
3958
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
3959
3959
|
* @param {string | null} [cursor] Cursor for pagination
|
|
3960
3960
|
* @param {number} [limit] Maximum number of agents to return
|
|
3961
3961
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
3962
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
3962
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
3963
3963
|
* @param {*} [options] Override http request option.
|
|
3964
3964
|
* @throws {RequiredError}
|
|
3965
3965
|
*/
|
|
3966
|
-
getAgents: async (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3966
|
+
getAgents: async (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3967
3967
|
const localVarPath = `/agents`;
|
|
3968
3968
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3969
3969
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3992,7 +3992,7 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3992
3992
|
localVarQueryParameter['state'] = state;
|
|
3993
3993
|
}
|
|
3994
3994
|
|
|
3995
|
-
if (tag
|
|
3995
|
+
if (tag) {
|
|
3996
3996
|
localVarQueryParameter['tag'] = tag;
|
|
3997
3997
|
}
|
|
3998
3998
|
|
|
@@ -4471,17 +4471,17 @@ export const AgentApiFp = function(configuration?: Configuration) {
|
|
|
4471
4471
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4472
4472
|
},
|
|
4473
4473
|
/**
|
|
4474
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
4474
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
4475
4475
|
* @summary Get Agents
|
|
4476
4476
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
4477
4477
|
* @param {string | null} [cursor] Cursor for pagination
|
|
4478
4478
|
* @param {number} [limit] Maximum number of agents to return
|
|
4479
4479
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
4480
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
4480
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
4481
4481
|
* @param {*} [options] Override http request option.
|
|
4482
4482
|
* @throws {RequiredError}
|
|
4483
4483
|
*/
|
|
4484
|
-
async getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>> {
|
|
4484
|
+
async getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>> {
|
|
4485
4485
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAgents(sort, cursor, limit, state, tag, options);
|
|
4486
4486
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4487
4487
|
const localVarOperationServerBasePath = operationServerMap['AgentApi.getAgents']?.[localVarOperationServerIndex]?.url;
|
|
@@ -4681,17 +4681,17 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
|
|
|
4681
4681
|
return localVarFp.getAgentStatistics(aid, options).then((request) => request(axios, basePath));
|
|
4682
4682
|
},
|
|
4683
4683
|
/**
|
|
4684
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
4684
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
4685
4685
|
* @summary Get Agents
|
|
4686
4686
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
4687
4687
|
* @param {string | null} [cursor] Cursor for pagination
|
|
4688
4688
|
* @param {number} [limit] Maximum number of agents to return
|
|
4689
4689
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
4690
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
4690
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
4691
4691
|
* @param {*} [options] Override http request option.
|
|
4692
4692
|
* @throws {RequiredError}
|
|
4693
4693
|
*/
|
|
4694
|
-
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse> {
|
|
4694
|
+
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse> {
|
|
4695
4695
|
return localVarFp.getAgents(sort, cursor, limit, state, tag, options).then((request) => request(axios, basePath));
|
|
4696
4696
|
},
|
|
4697
4697
|
/**
|
|
@@ -4873,18 +4873,18 @@ export class AgentApi extends BaseAPI {
|
|
|
4873
4873
|
}
|
|
4874
4874
|
|
|
4875
4875
|
/**
|
|
4876
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
4876
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
4877
4877
|
* @summary Get Agents
|
|
4878
4878
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
4879
4879
|
* @param {string | null} [cursor] Cursor for pagination
|
|
4880
4880
|
* @param {number} [limit] Maximum number of agents to return
|
|
4881
4881
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
4882
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
4882
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
4883
4883
|
* @param {*} [options] Override http request option.
|
|
4884
4884
|
* @throws {RequiredError}
|
|
4885
4885
|
* @memberof AgentApi
|
|
4886
4886
|
*/
|
|
4887
|
-
public getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig) {
|
|
4887
|
+
public getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig) {
|
|
4888
4888
|
return AgentApiFp(this.configuration).getAgents(sort, cursor, limit, state, tag, options).then((request) => request(this.axios, this.basePath));
|
|
4889
4889
|
}
|
|
4890
4890
|
|
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.7.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.29
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3671,17 +3671,17 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3671
3671
|
*/
|
|
3672
3672
|
getAgentStatistics: (aid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3673
3673
|
/**
|
|
3674
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
3674
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
3675
3675
|
* @summary Get Agents
|
|
3676
3676
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
3677
3677
|
* @param {string | null} [cursor] Cursor for pagination
|
|
3678
3678
|
* @param {number} [limit] Maximum number of agents to return
|
|
3679
3679
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
3680
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
3680
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
3681
3681
|
* @param {*} [options] Override http request option.
|
|
3682
3682
|
* @throws {RequiredError}
|
|
3683
3683
|
*/
|
|
3684
|
-
getAgents: (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3684
|
+
getAgents: (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3685
3685
|
/**
|
|
3686
3686
|
* Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
|
|
3687
3687
|
* @summary Skill History
|
|
@@ -3815,17 +3815,17 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
3815
3815
|
*/
|
|
3816
3816
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentStatistics>>;
|
|
3817
3817
|
/**
|
|
3818
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
3818
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
3819
3819
|
* @summary Get Agents
|
|
3820
3820
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
3821
3821
|
* @param {string | null} [cursor] Cursor for pagination
|
|
3822
3822
|
* @param {number} [limit] Maximum number of agents to return
|
|
3823
3823
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
3824
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
3824
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
3825
3825
|
* @param {*} [options] Override http request option.
|
|
3826
3826
|
* @throws {RequiredError}
|
|
3827
3827
|
*/
|
|
3828
|
-
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
|
|
3828
|
+
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
|
|
3829
3829
|
/**
|
|
3830
3830
|
* Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
|
|
3831
3831
|
* @summary Skill History
|
|
@@ -3959,17 +3959,17 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3959
3959
|
*/
|
|
3960
3960
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentStatistics>;
|
|
3961
3961
|
/**
|
|
3962
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
3962
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
3963
3963
|
* @summary Get Agents
|
|
3964
3964
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
3965
3965
|
* @param {string | null} [cursor] Cursor for pagination
|
|
3966
3966
|
* @param {number} [limit] Maximum number of agents to return
|
|
3967
3967
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
3968
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
3968
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
3969
3969
|
* @param {*} [options] Override http request option.
|
|
3970
3970
|
* @throws {RequiredError}
|
|
3971
3971
|
*/
|
|
3972
|
-
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
|
|
3972
|
+
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
|
|
3973
3973
|
/**
|
|
3974
3974
|
* Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
|
|
3975
3975
|
* @summary Skill History
|
|
@@ -4111,18 +4111,18 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4111
4111
|
*/
|
|
4112
4112
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatistics, any, {}>>;
|
|
4113
4113
|
/**
|
|
4114
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
4114
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
4115
4115
|
* @summary Get Agents
|
|
4116
4116
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
4117
4117
|
* @param {string | null} [cursor] Cursor for pagination
|
|
4118
4118
|
* @param {number} [limit] Maximum number of agents to return
|
|
4119
4119
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
4120
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
4120
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
4121
4121
|
* @param {*} [options] Override http request option.
|
|
4122
4122
|
* @throws {RequiredError}
|
|
4123
4123
|
* @memberof AgentApi
|
|
4124
4124
|
*/
|
|
4125
|
-
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
|
|
4125
|
+
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
|
|
4126
4126
|
/**
|
|
4127
4127
|
* Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
|
|
4128
4128
|
* @summary Skill History
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -666,13 +666,13 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
666
666
|
});
|
|
667
667
|
},
|
|
668
668
|
/**
|
|
669
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
669
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
670
670
|
* @summary Get Agents
|
|
671
671
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
672
672
|
* @param {string | null} [cursor] Cursor for pagination
|
|
673
673
|
* @param {number} [limit] Maximum number of agents to return
|
|
674
674
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
675
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
675
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
676
676
|
* @param {*} [options] Override http request option.
|
|
677
677
|
* @throws {RequiredError}
|
|
678
678
|
*/
|
|
@@ -705,7 +705,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
705
705
|
if (state !== undefined) {
|
|
706
706
|
localVarQueryParameter['state'] = state;
|
|
707
707
|
}
|
|
708
|
-
if (tag
|
|
708
|
+
if (tag) {
|
|
709
709
|
localVarQueryParameter['tag'] = tag;
|
|
710
710
|
}
|
|
711
711
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1315,13 +1315,13 @@ var AgentApiFp = function (configuration) {
|
|
|
1315
1315
|
});
|
|
1316
1316
|
},
|
|
1317
1317
|
/**
|
|
1318
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
1318
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
1319
1319
|
* @summary Get Agents
|
|
1320
1320
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
1321
1321
|
* @param {string | null} [cursor] Cursor for pagination
|
|
1322
1322
|
* @param {number} [limit] Maximum number of agents to return
|
|
1323
1323
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
1324
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
1324
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
1325
1325
|
* @param {*} [options] Override http request option.
|
|
1326
1326
|
* @throws {RequiredError}
|
|
1327
1327
|
*/
|
|
@@ -1625,13 +1625,13 @@ var AgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1625
1625
|
return localVarFp.getAgentStatistics(aid, options).then(function (request) { return request(axios, basePath); });
|
|
1626
1626
|
},
|
|
1627
1627
|
/**
|
|
1628
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
1628
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
1629
1629
|
* @summary Get Agents
|
|
1630
1630
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
1631
1631
|
* @param {string | null} [cursor] Cursor for pagination
|
|
1632
1632
|
* @param {number} [limit] Maximum number of agents to return
|
|
1633
1633
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
1634
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
1634
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
1635
1635
|
* @param {*} [options] Override http request option.
|
|
1636
1636
|
* @throws {RequiredError}
|
|
1637
1637
|
*/
|
|
@@ -1821,13 +1821,13 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1821
1821
|
return (0, exports.AgentApiFp)(this.configuration).getAgentStatistics(aid, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1822
1822
|
};
|
|
1823
1823
|
/**
|
|
1824
|
-
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
1824
|
+
* 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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
1825
1825
|
* @summary Get Agents
|
|
1826
1826
|
* @param {AgentSortOption} [sort] Sort order for agents list
|
|
1827
1827
|
* @param {string | null} [cursor] Cursor for pagination
|
|
1828
1828
|
* @param {number} [limit] Maximum number of agents to return
|
|
1829
1829
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
1830
|
-
* @param {number | null} [tag] Filter agents by tag
|
|
1830
|
+
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
1831
1831
|
* @param {*} [options] Override http request option.
|
|
1832
1832
|
* @throws {RequiredError}
|
|
1833
1833
|
* @memberof AgentApi
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.7.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/AgentApi.md
CHANGED
|
@@ -343,7 +343,7 @@ No authorization required
|
|
|
343
343
|
# **getAgents**
|
|
344
344
|
> AgentListResponse getAgents()
|
|
345
345
|
|
|
346
|
-
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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag
|
|
346
|
+
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) * `state` - Filter agents by state in upstream_extra JSON field * `tag` - Filter agents by tag IDs in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
|
|
347
347
|
|
|
348
348
|
### Example
|
|
349
349
|
|
|
@@ -360,7 +360,7 @@ let sort: AgentSortOption; //Sort order for agents list (optional) (default to u
|
|
|
360
360
|
let cursor: string; //Cursor for pagination (optional) (default to undefined)
|
|
361
361
|
let limit: number; //Maximum number of agents to return (optional) (default to 20)
|
|
362
362
|
let state: AgentState; //Filter agents by state in upstream_extra JSON field (optional) (default to undefined)
|
|
363
|
-
let tag: number
|
|
363
|
+
let tag: Array<number>; //Filter agents by tag IDs in public_extra.tags (optional) (default to undefined)
|
|
364
364
|
|
|
365
365
|
const { status, data } = await apiInstance.getAgents(
|
|
366
366
|
sort,
|
|
@@ -379,7 +379,7 @@ const { status, data } = await apiInstance.getAgents(
|
|
|
379
379
|
| **cursor** | [**string**] | Cursor for pagination | (optional) defaults to undefined|
|
|
380
380
|
| **limit** | [**number**] | Maximum number of agents to return | (optional) defaults to 20|
|
|
381
381
|
| **state** | **AgentState** | Filter agents by state in upstream_extra JSON field | (optional) defaults to undefined|
|
|
382
|
-
| **tag** |
|
|
382
|
+
| **tag** | **Array<number>** | Filter agents by tag IDs in public_extra.tags | (optional) defaults to undefined|
|
|
383
383
|
|
|
384
384
|
|
|
385
385
|
### Return type
|
|
@@ -27,8 +27,8 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**supports_presence_penalty** | **boolean** | | [optional] [default to true]
|
|
28
28
|
**api_base** | **string** | | [optional] [default to undefined]
|
|
29
29
|
**timeout** | **number** | | [optional] [default to 180]
|
|
30
|
-
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-09T05:39:53.922+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-09T05:39:53.922+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
package/index.ts
CHANGED