@crestal/nation-sdk 0.7.24 → 0.7.26

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @crestal/nation-sdk@0.7.24
1
+ ## @crestal/nation-sdk@0.7.26
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.24 --save
39
+ npm install @crestal/nation-sdk@0.7.26 --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.24
7
+ * The version of the OpenAPI document: 0.7.26
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1395,9 +1395,11 @@ export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShort
1395
1395
  */
1396
1396
 
1397
1397
  export const AgentSortOption = {
1398
- CreatedAtDesc: 'created_at desc',
1399
- CreatedAtAsc: 'created_at asc',
1400
- UpdatedAtDesc: 'updated_at desc'
1398
+ CreatedAtDesc: 'created_at_desc',
1399
+ CreatedAtAsc: 'created_at_asc',
1400
+ UpdatedAtDesc: 'updated_at_desc',
1401
+ AssetsDesc: 'assets_desc',
1402
+ RevenueDesc: 'revenue_desc'
1401
1403
  } as const;
1402
1404
 
1403
1405
  export type AgentSortOption = typeof AgentSortOption[keyof typeof AgentSortOption];
@@ -3945,16 +3947,17 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
3945
3947
  };
3946
3948
  },
3947
3949
  /**
3948
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3950
+ * 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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3949
3951
  * @summary Get Agents
3950
3952
  * @param {AgentSortOption} [sort] Sort order for agents list
3951
3953
  * @param {string | null} [cursor] Cursor for pagination
3952
3954
  * @param {number} [limit] Maximum number of agents to return
3953
3955
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
3956
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
3954
3957
  * @param {*} [options] Override http request option.
3955
3958
  * @throws {RequiredError}
3956
3959
  */
3957
- getAgents: async (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3960
+ getAgents: async (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3958
3961
  const localVarPath = `/agents`;
3959
3962
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3960
3963
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3983,6 +3986,10 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
3983
3986
  localVarQueryParameter['state'] = state;
3984
3987
  }
3985
3988
 
3989
+ if (tag !== undefined) {
3990
+ localVarQueryParameter['tag'] = tag;
3991
+ }
3992
+
3986
3993
 
3987
3994
 
3988
3995
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4458,17 +4465,18 @@ export const AgentApiFp = function(configuration?: Configuration) {
4458
4465
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4459
4466
  },
4460
4467
  /**
4461
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
4468
+ * 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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
4462
4469
  * @summary Get Agents
4463
4470
  * @param {AgentSortOption} [sort] Sort order for agents list
4464
4471
  * @param {string | null} [cursor] Cursor for pagination
4465
4472
  * @param {number} [limit] Maximum number of agents to return
4466
4473
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
4474
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
4467
4475
  * @param {*} [options] Override http request option.
4468
4476
  * @throws {RequiredError}
4469
4477
  */
4470
- async getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>> {
4471
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAgents(sort, cursor, limit, state, options);
4478
+ async getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>> {
4479
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAgents(sort, cursor, limit, state, tag, options);
4472
4480
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4473
4481
  const localVarOperationServerBasePath = operationServerMap['AgentApi.getAgents']?.[localVarOperationServerIndex]?.url;
4474
4482
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4667,17 +4675,18 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
4667
4675
  return localVarFp.getAgentStatistics(aid, options).then((request) => request(axios, basePath));
4668
4676
  },
4669
4677
  /**
4670
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
4678
+ * 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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
4671
4679
  * @summary Get Agents
4672
4680
  * @param {AgentSortOption} [sort] Sort order for agents list
4673
4681
  * @param {string | null} [cursor] Cursor for pagination
4674
4682
  * @param {number} [limit] Maximum number of agents to return
4675
4683
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
4684
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
4676
4685
  * @param {*} [options] Override http request option.
4677
4686
  * @throws {RequiredError}
4678
4687
  */
4679
- getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse> {
4680
- return localVarFp.getAgents(sort, cursor, limit, state, options).then((request) => request(axios, basePath));
4688
+ getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse> {
4689
+ return localVarFp.getAgents(sort, cursor, limit, state, tag, options).then((request) => request(axios, basePath));
4681
4690
  },
4682
4691
  /**
4683
4692
  * 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
@@ -4858,18 +4867,19 @@ export class AgentApi extends BaseAPI {
4858
4867
  }
4859
4868
 
4860
4869
  /**
4861
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
4870
+ * 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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
4862
4871
  * @summary Get Agents
4863
4872
  * @param {AgentSortOption} [sort] Sort order for agents list
4864
4873
  * @param {string | null} [cursor] Cursor for pagination
4865
4874
  * @param {number} [limit] Maximum number of agents to return
4866
4875
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
4876
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
4867
4877
  * @param {*} [options] Override http request option.
4868
4878
  * @throws {RequiredError}
4869
4879
  * @memberof AgentApi
4870
4880
  */
4871
- public getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, options?: RawAxiosRequestConfig) {
4872
- return AgentApiFp(this.configuration).getAgents(sort, cursor, limit, state, options).then((request) => request(this.axios, this.basePath));
4881
+ public getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig) {
4882
+ return AgentApiFp(this.configuration).getAgents(sort, cursor, limit, state, tag, options).then((request) => request(this.axios, this.basePath));
4873
4883
  }
4874
4884
 
4875
4885
  /**
package/base.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.24
7
+ * The version of the OpenAPI document: 0.7.26
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.24
7
+ * The version of the OpenAPI document: 0.7.26
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.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.24
7
+ * The version of the OpenAPI document: 0.7.26
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.24
5
+ * The version of the OpenAPI document: 0.7.26
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1366,9 +1366,11 @@ export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShort
1366
1366
  * @enum {string}
1367
1367
  */
1368
1368
  export declare const AgentSortOption: {
1369
- readonly CreatedAtDesc: "created_at desc";
1370
- readonly CreatedAtAsc: "created_at asc";
1371
- readonly UpdatedAtDesc: "updated_at desc";
1369
+ readonly CreatedAtDesc: "created_at_desc";
1370
+ readonly CreatedAtAsc: "created_at_asc";
1371
+ readonly UpdatedAtDesc: "updated_at_desc";
1372
+ readonly AssetsDesc: "assets_desc";
1373
+ readonly RevenueDesc: "revenue_desc";
1372
1374
  };
1373
1375
  export type AgentSortOption = typeof AgentSortOption[keyof typeof AgentSortOption];
1374
1376
  /**
@@ -3663,16 +3665,17 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
3663
3665
  */
3664
3666
  getAgentStatistics: (aid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3665
3667
  /**
3666
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3668
+ * 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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3667
3669
  * @summary Get Agents
3668
3670
  * @param {AgentSortOption} [sort] Sort order for agents list
3669
3671
  * @param {string | null} [cursor] Cursor for pagination
3670
3672
  * @param {number} [limit] Maximum number of agents to return
3671
3673
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
3674
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
3672
3675
  * @param {*} [options] Override http request option.
3673
3676
  * @throws {RequiredError}
3674
3677
  */
3675
- getAgents: (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3678
+ getAgents: (sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3676
3679
  /**
3677
3680
  * 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
3678
3681
  * @summary Skill History
@@ -3806,16 +3809,17 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
3806
3809
  */
3807
3810
  getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentStatistics>>;
3808
3811
  /**
3809
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3812
+ * 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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3810
3813
  * @summary Get Agents
3811
3814
  * @param {AgentSortOption} [sort] Sort order for agents list
3812
3815
  * @param {string | null} [cursor] Cursor for pagination
3813
3816
  * @param {number} [limit] Maximum number of agents to return
3814
3817
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
3818
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
3815
3819
  * @param {*} [options] Override http request option.
3816
3820
  * @throws {RequiredError}
3817
3821
  */
3818
- getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
3822
+ getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
3819
3823
  /**
3820
3824
  * 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
3821
3825
  * @summary Skill History
@@ -3949,16 +3953,17 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
3949
3953
  */
3950
3954
  getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentStatistics>;
3951
3955
  /**
3952
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3953
3957
  * @summary Get Agents
3954
3958
  * @param {AgentSortOption} [sort] Sort order for agents list
3955
3959
  * @param {string | null} [cursor] Cursor for pagination
3956
3960
  * @param {number} [limit] Maximum number of agents to return
3957
3961
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
3962
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
3958
3963
  * @param {*} [options] Override http request option.
3959
3964
  * @throws {RequiredError}
3960
3965
  */
3961
- getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
3966
+ getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
3962
3967
  /**
3963
3968
  * 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
3964
3969
  * @summary Skill History
@@ -4100,17 +4105,18 @@ export declare class AgentApi extends BaseAPI {
4100
4105
  */
4101
4106
  getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatistics, any, {}>>;
4102
4107
  /**
4103
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
4108
+ * 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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
4104
4109
  * @summary Get Agents
4105
4110
  * @param {AgentSortOption} [sort] Sort order for agents list
4106
4111
  * @param {string | null} [cursor] Cursor for pagination
4107
4112
  * @param {number} [limit] Maximum number of agents to return
4108
4113
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
4114
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
4109
4115
  * @param {*} [options] Override http request option.
4110
4116
  * @throws {RequiredError}
4111
4117
  * @memberof AgentApi
4112
4118
  */
4113
- getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
4119
+ getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
4114
4120
  /**
4115
4121
  * 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
4116
4122
  * @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.24
8
+ * The version of the OpenAPI document: 0.7.26
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -182,9 +182,11 @@ exports.AgentResponseShortTermMemoryStrategyEnum = {
182
182
  * @enum {string}
183
183
  */
184
184
  exports.AgentSortOption = {
185
- CreatedAtDesc: 'created_at desc',
186
- CreatedAtAsc: 'created_at asc',
187
- UpdatedAtDesc: 'updated_at desc'
185
+ CreatedAtDesc: 'created_at_desc',
186
+ CreatedAtAsc: 'created_at_asc',
187
+ UpdatedAtDesc: 'updated_at_desc',
188
+ AssetsDesc: 'assets_desc',
189
+ RevenueDesc: 'revenue_desc'
188
190
  };
189
191
  /**
190
192
  * Agent state.
@@ -664,21 +666,22 @@ var AgentApiAxiosParamCreator = function (configuration) {
664
666
  });
665
667
  },
666
668
  /**
667
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
668
670
  * @summary Get Agents
669
671
  * @param {AgentSortOption} [sort] Sort order for agents list
670
672
  * @param {string | null} [cursor] Cursor for pagination
671
673
  * @param {number} [limit] Maximum number of agents to return
672
674
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
675
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
673
676
  * @param {*} [options] Override http request option.
674
677
  * @throws {RequiredError}
675
678
  */
676
- getAgents: function (sort_1, cursor_1, limit_1, state_1) {
679
+ getAgents: function (sort_1, cursor_1, limit_1, state_1, tag_1) {
677
680
  var args_1 = [];
678
- for (var _i = 4; _i < arguments.length; _i++) {
679
- args_1[_i - 4] = arguments[_i];
681
+ for (var _i = 5; _i < arguments.length; _i++) {
682
+ args_1[_i - 5] = arguments[_i];
680
683
  }
681
- return __awaiter(_this, __spreadArray([sort_1, cursor_1, limit_1, state_1], args_1, true), void 0, function (sort, cursor, limit, state, options) {
684
+ return __awaiter(_this, __spreadArray([sort_1, cursor_1, limit_1, state_1, tag_1], args_1, true), void 0, function (sort, cursor, limit, state, tag, options) {
682
685
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
683
686
  if (options === void 0) { options = {}; }
684
687
  return __generator(this, function (_a) {
@@ -702,6 +705,9 @@ var AgentApiAxiosParamCreator = function (configuration) {
702
705
  if (state !== undefined) {
703
706
  localVarQueryParameter['state'] = state;
704
707
  }
708
+ if (tag !== undefined) {
709
+ localVarQueryParameter['tag'] = tag;
710
+ }
705
711
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
706
712
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
707
713
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1309,22 +1315,23 @@ var AgentApiFp = function (configuration) {
1309
1315
  });
1310
1316
  },
1311
1317
  /**
1312
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
1313
1319
  * @summary Get Agents
1314
1320
  * @param {AgentSortOption} [sort] Sort order for agents list
1315
1321
  * @param {string | null} [cursor] Cursor for pagination
1316
1322
  * @param {number} [limit] Maximum number of agents to return
1317
1323
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
1324
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
1318
1325
  * @param {*} [options] Override http request option.
1319
1326
  * @throws {RequiredError}
1320
1327
  */
1321
- getAgents: function (sort, cursor, limit, state, options) {
1328
+ getAgents: function (sort, cursor, limit, state, tag, options) {
1322
1329
  return __awaiter(this, void 0, void 0, function () {
1323
1330
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1324
1331
  var _a, _b, _c;
1325
1332
  return __generator(this, function (_d) {
1326
1333
  switch (_d.label) {
1327
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAgents(sort, cursor, limit, state, options)];
1334
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAgents(sort, cursor, limit, state, tag, options)];
1328
1335
  case 1:
1329
1336
  localVarAxiosArgs = _d.sent();
1330
1337
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -1618,17 +1625,18 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1618
1625
  return localVarFp.getAgentStatistics(aid, options).then(function (request) { return request(axios, basePath); });
1619
1626
  },
1620
1627
  /**
1621
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
1622
1629
  * @summary Get Agents
1623
1630
  * @param {AgentSortOption} [sort] Sort order for agents list
1624
1631
  * @param {string | null} [cursor] Cursor for pagination
1625
1632
  * @param {number} [limit] Maximum number of agents to return
1626
1633
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
1634
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
1627
1635
  * @param {*} [options] Override http request option.
1628
1636
  * @throws {RequiredError}
1629
1637
  */
1630
- getAgents: function (sort, cursor, limit, state, options) {
1631
- return localVarFp.getAgents(sort, cursor, limit, state, options).then(function (request) { return request(axios, basePath); });
1638
+ getAgents: function (sort, cursor, limit, state, tag, options) {
1639
+ return localVarFp.getAgents(sort, cursor, limit, state, tag, options).then(function (request) { return request(axios, basePath); });
1632
1640
  },
1633
1641
  /**
1634
1642
  * 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
@@ -1813,19 +1821,20 @@ var AgentApi = /** @class */ (function (_super) {
1813
1821
  return (0, exports.AgentApiFp)(this.configuration).getAgentStatistics(aid, options).then(function (request) { return request(_this.axios, _this.basePath); });
1814
1822
  };
1815
1823
  /**
1816
- * 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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
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 ID in public_extra.tags **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
1817
1825
  * @summary Get Agents
1818
1826
  * @param {AgentSortOption} [sort] Sort order for agents list
1819
1827
  * @param {string | null} [cursor] Cursor for pagination
1820
1828
  * @param {number} [limit] Maximum number of agents to return
1821
1829
  * @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
1830
+ * @param {number | null} [tag] Filter agents by tag ID in public_extra.tags
1822
1831
  * @param {*} [options] Override http request option.
1823
1832
  * @throws {RequiredError}
1824
1833
  * @memberof AgentApi
1825
1834
  */
1826
- AgentApi.prototype.getAgents = function (sort, cursor, limit, state, options) {
1835
+ AgentApi.prototype.getAgents = function (sort, cursor, limit, state, tag, options) {
1827
1836
  var _this = this;
1828
- return (0, exports.AgentApiFp)(this.configuration).getAgents(sort, cursor, limit, state, options).then(function (request) { return request(_this.axios, _this.basePath); });
1837
+ return (0, exports.AgentApiFp)(this.configuration).getAgents(sort, cursor, limit, state, tag, options).then(function (request) { return request(_this.axios, _this.basePath); });
1829
1838
  };
1830
1839
  /**
1831
1840
  * 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
package/dist/base.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.24
5
+ * The version of the OpenAPI document: 0.7.26
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.24
8
+ * The version of the OpenAPI document: 0.7.26
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
@@ -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.24
5
+ * The version of the OpenAPI document: 0.7.26
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.24
8
+ * The version of the OpenAPI document: 0.7.26
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.24
5
+ * The version of the OpenAPI document: 0.7.26
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.24
8
+ * The version of the OpenAPI document: 0.7.26
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
@@ -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.24
5
+ * The version of the OpenAPI document: 0.7.26
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.24
8
+ * The version of the OpenAPI document: 0.7.26
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 **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
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 ID 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,12 +360,14 @@ 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; //Filter agents by tag ID in public_extra.tags (optional) (default to undefined)
363
364
 
364
365
  const { status, data } = await apiInstance.getAgents(
365
366
  sort,
366
367
  cursor,
367
368
  limit,
368
- state
369
+ state,
370
+ tag
369
371
  );
370
372
  ```
371
373
 
@@ -377,6 +379,7 @@ const { status, data } = await apiInstance.getAgents(
377
379
  | **cursor** | [**string**] | Cursor for pagination | (optional) defaults to undefined|
378
380
  | **limit** | [**number**] | Maximum number of agents to return | (optional) defaults to 20|
379
381
  | **state** | **AgentState** | Filter agents by state in upstream_extra JSON field | (optional) defaults to undefined|
382
+ | **tag** | [**number**] | Filter agents by tag ID in public_extra.tags | (optional) defaults to undefined|
380
383
 
381
384
 
382
385
  ### Return type
@@ -4,10 +4,14 @@ Sort options for agents list.
4
4
 
5
5
  ## Enum
6
6
 
7
- * `CreatedAtDesc` (value: `'created_at desc'`)
7
+ * `CreatedAtDesc` (value: `'created_at_desc'`)
8
8
 
9
- * `CreatedAtAsc` (value: `'created_at asc'`)
9
+ * `CreatedAtAsc` (value: `'created_at_asc'`)
10
10
 
11
- * `UpdatedAtDesc` (value: `'updated_at desc'`)
11
+ * `UpdatedAtDesc` (value: `'updated_at_desc'`)
12
+
13
+ * `AssetsDesc` (value: `'assets_desc'`)
14
+
15
+ * `RevenueDesc` (value: `'revenue_desc'`)
12
16
 
13
17
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -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-03T08:42:44.716+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-03T08:42:44.716+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-08T05:48:09.244+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-08T05:48:09.244+00:00]
32
32
  **provider_name** | **string** | | [default to undefined]
33
33
 
34
34
  ## Example
package/index.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.24
7
+ * The version of the OpenAPI document: 0.7.26
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crestal/nation-sdk",
3
- "version": "0.7.24",
3
+ "version": "0.7.26",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {