@crestal/nation-sdk 0.1.21 → 0.1.22

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.
@@ -45,6 +45,7 @@ docs/OwnerType.md
45
45
  docs/Skill.md
46
46
  docs/TransactionType.md
47
47
  docs/UpstreamType.md
48
+ docs/UserApi.md
48
49
  docs/ValidationError.md
49
50
  docs/ValidationErrorLocInner.md
50
51
  git_push.sh
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @crestal/nation-sdk@0.1.21
1
+ ## @crestal/nation-sdk@0.1.22
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.1.21 --save
39
+ npm install @crestal/nation-sdk@0.1.22 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -81,6 +81,7 @@ Class | Method | HTTP request | Description
81
81
  *MetadataApi* | [**getSkillIcon**](docs/MetadataApi.md#getskillicon) | **GET** /metadata/skills/{skill}/{icon_name}.{ext} | Get skill icon
82
82
  *MetadataApi* | [**getSkillSchema**](docs/MetadataApi.md#getskillschema) | **GET** /metadata/skills/{skill}/schema.json | Get skill schema
83
83
  *MetadataApi* | [**getSkillsMetadataSkillsGet**](docs/MetadataApi.md#getskillsmetadataskillsget) | **GET** /metadata/skills | Get all skills
84
+ *UserApi* | [**getUserAgents**](docs/UserApi.md#getuseragents) | **GET** /user/agents | Get User Agents
84
85
 
85
86
 
86
87
  ### Documentation For Models
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.1.21
7
+ * The version of the OpenAPI document: 0.1.22
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4802,3 +4802,124 @@ export class MetadataApi extends BaseAPI {
4802
4802
 
4803
4803
 
4804
4804
 
4805
+ /**
4806
+ * UserApi - axios parameter creator
4807
+ * @export
4808
+ */
4809
+ export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
4810
+ return {
4811
+ /**
4812
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
4813
+ * @summary Get User Agents
4814
+ * @param {string | null} [cursor] Cursor for pagination
4815
+ * @param {number} [limit] Maximum number of agents to return
4816
+ * @param {*} [options] Override http request option.
4817
+ * @throws {RequiredError}
4818
+ */
4819
+ getUserAgents: async (cursor?: string | null, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4820
+ const localVarPath = `/user/agents`;
4821
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4822
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4823
+ let baseOptions;
4824
+ if (configuration) {
4825
+ baseOptions = configuration.baseOptions;
4826
+ }
4827
+
4828
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4829
+ const localVarHeaderParameter = {} as any;
4830
+ const localVarQueryParameter = {} as any;
4831
+
4832
+ // authentication HTTPBearer required
4833
+ // http bearer authentication required
4834
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4835
+
4836
+ if (cursor !== undefined) {
4837
+ localVarQueryParameter['cursor'] = cursor;
4838
+ }
4839
+
4840
+ if (limit !== undefined) {
4841
+ localVarQueryParameter['limit'] = limit;
4842
+ }
4843
+
4844
+
4845
+
4846
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4847
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4848
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4849
+
4850
+ return {
4851
+ url: toPathString(localVarUrlObj),
4852
+ options: localVarRequestOptions,
4853
+ };
4854
+ },
4855
+ }
4856
+ };
4857
+
4858
+ /**
4859
+ * UserApi - functional programming interface
4860
+ * @export
4861
+ */
4862
+ export const UserApiFp = function(configuration?: Configuration) {
4863
+ const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
4864
+ return {
4865
+ /**
4866
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
4867
+ * @summary Get User Agents
4868
+ * @param {string | null} [cursor] Cursor for pagination
4869
+ * @param {number} [limit] Maximum number of agents to return
4870
+ * @param {*} [options] Override http request option.
4871
+ * @throws {RequiredError}
4872
+ */
4873
+ async getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>> {
4874
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserAgents(cursor, limit, options);
4875
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4876
+ const localVarOperationServerBasePath = operationServerMap['UserApi.getUserAgents']?.[localVarOperationServerIndex]?.url;
4877
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4878
+ },
4879
+ }
4880
+ };
4881
+
4882
+ /**
4883
+ * UserApi - factory interface
4884
+ * @export
4885
+ */
4886
+ export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4887
+ const localVarFp = UserApiFp(configuration)
4888
+ return {
4889
+ /**
4890
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
4891
+ * @summary Get User Agents
4892
+ * @param {string | null} [cursor] Cursor for pagination
4893
+ * @param {number} [limit] Maximum number of agents to return
4894
+ * @param {*} [options] Override http request option.
4895
+ * @throws {RequiredError}
4896
+ */
4897
+ getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse> {
4898
+ return localVarFp.getUserAgents(cursor, limit, options).then((request) => request(axios, basePath));
4899
+ },
4900
+ };
4901
+ };
4902
+
4903
+ /**
4904
+ * UserApi - object-oriented interface
4905
+ * @export
4906
+ * @class UserApi
4907
+ * @extends {BaseAPI}
4908
+ */
4909
+ export class UserApi extends BaseAPI {
4910
+ /**
4911
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
4912
+ * @summary Get User Agents
4913
+ * @param {string | null} [cursor] Cursor for pagination
4914
+ * @param {number} [limit] Maximum number of agents to return
4915
+ * @param {*} [options] Override http request option.
4916
+ * @throws {RequiredError}
4917
+ * @memberof UserApi
4918
+ */
4919
+ public getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
4920
+ return UserApiFp(this.configuration).getUserAgents(cursor, limit, options).then((request) => request(this.axios, this.basePath));
4921
+ }
4922
+ }
4923
+
4924
+
4925
+
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.1.21
7
+ * The version of the OpenAPI document: 0.1.22
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.1.21
7
+ * The version of the OpenAPI document: 0.1.22
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.1.21
7
+ * The version of the OpenAPI document: 0.1.22
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.1.21
5
+ * The version of the OpenAPI document: 0.1.22
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3404,3 +3404,66 @@ export declare class MetadataApi extends BaseAPI {
3404
3404
  */
3405
3405
  getSkillsMetadataSkillsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Skill[], any>>;
3406
3406
  }
3407
+ /**
3408
+ * UserApi - axios parameter creator
3409
+ * @export
3410
+ */
3411
+ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
3412
+ /**
3413
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
3414
+ * @summary Get User Agents
3415
+ * @param {string | null} [cursor] Cursor for pagination
3416
+ * @param {number} [limit] Maximum number of agents to return
3417
+ * @param {*} [options] Override http request option.
3418
+ * @throws {RequiredError}
3419
+ */
3420
+ getUserAgents: (cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3421
+ };
3422
+ /**
3423
+ * UserApi - functional programming interface
3424
+ * @export
3425
+ */
3426
+ export declare const UserApiFp: (configuration?: Configuration) => {
3427
+ /**
3428
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
3429
+ * @summary Get User Agents
3430
+ * @param {string | null} [cursor] Cursor for pagination
3431
+ * @param {number} [limit] Maximum number of agents to return
3432
+ * @param {*} [options] Override http request option.
3433
+ * @throws {RequiredError}
3434
+ */
3435
+ getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
3436
+ };
3437
+ /**
3438
+ * UserApi - factory interface
3439
+ * @export
3440
+ */
3441
+ export declare const UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3442
+ /**
3443
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
3444
+ * @summary Get User Agents
3445
+ * @param {string | null} [cursor] Cursor for pagination
3446
+ * @param {number} [limit] Maximum number of agents to return
3447
+ * @param {*} [options] Override http request option.
3448
+ * @throws {RequiredError}
3449
+ */
3450
+ getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
3451
+ };
3452
+ /**
3453
+ * UserApi - object-oriented interface
3454
+ * @export
3455
+ * @class UserApi
3456
+ * @extends {BaseAPI}
3457
+ */
3458
+ export declare class UserApi extends BaseAPI {
3459
+ /**
3460
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
3461
+ * @summary Get User Agents
3462
+ * @param {string | null} [cursor] Cursor for pagination
3463
+ * @param {number} [limit] Maximum number of agents to return
3464
+ * @param {*} [options] Override http request option.
3465
+ * @throws {RequiredError}
3466
+ * @memberof UserApi
3467
+ */
3468
+ getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any>>;
3469
+ }
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.1.21
8
+ * The version of the OpenAPI document: 0.1.22
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -84,7 +84,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
84
84
  return to.concat(ar || Array.prototype.slice.call(from));
85
85
  };
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
- exports.MetadataApi = exports.MetadataApiFactory = exports.MetadataApiFp = exports.MetadataApiAxiosParamCreator = exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = exports.CreditApi = exports.CreditApiFactory = exports.CreditApiFp = exports.CreditApiAxiosParamCreator = exports.ChatApi = exports.ChatApiFactory = exports.ChatApiFp = exports.ChatApiAxiosParamCreator = exports.AgentApi = exports.AgentApiFactory = exports.AgentApiFp = exports.AgentApiAxiosParamCreator = exports.UpstreamType = exports.TransactionType = exports.OwnerType = exports.LLMProvider = exports.EventType = exports.Direction = exports.CreditType = exports.CreditDebit = exports.ChatMessageAttachmentType = exports.AuthorType = exports.AgentUpdateCdpNetworkIdEnum = exports.AgentUpdateNetworkIdEnum = exports.AgentUpdateWalletProviderEnum = exports.AgentUpdateShortTermMemoryStrategyEnum = exports.AgentUpdateModeEnum = exports.AgentSortOption = exports.AgentResponseWalletProviderEnum = exports.AgentResponseModeEnum = void 0;
87
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.MetadataApi = exports.MetadataApiFactory = exports.MetadataApiFp = exports.MetadataApiAxiosParamCreator = exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = exports.CreditApi = exports.CreditApiFactory = exports.CreditApiFp = exports.CreditApiAxiosParamCreator = exports.ChatApi = exports.ChatApiFactory = exports.ChatApiFp = exports.ChatApiAxiosParamCreator = exports.AgentApi = exports.AgentApiFactory = exports.AgentApiFp = exports.AgentApiAxiosParamCreator = exports.UpstreamType = exports.TransactionType = exports.OwnerType = exports.LLMProvider = exports.EventType = exports.Direction = exports.CreditType = exports.CreditDebit = exports.ChatMessageAttachmentType = exports.AuthorType = exports.AgentUpdateCdpNetworkIdEnum = exports.AgentUpdateNetworkIdEnum = exports.AgentUpdateWalletProviderEnum = exports.AgentUpdateShortTermMemoryStrategyEnum = exports.AgentUpdateModeEnum = exports.AgentSortOption = exports.AgentResponseWalletProviderEnum = exports.AgentResponseModeEnum = void 0;
88
88
  var axios_1 = require("axios");
89
89
  // Some imports not used depending on template conditions
90
90
  // @ts-ignore
@@ -3312,3 +3312,146 @@ var MetadataApi = /** @class */ (function (_super) {
3312
3312
  return MetadataApi;
3313
3313
  }(base_1.BaseAPI));
3314
3314
  exports.MetadataApi = MetadataApi;
3315
+ /**
3316
+ * UserApi - axios parameter creator
3317
+ * @export
3318
+ */
3319
+ var UserApiAxiosParamCreator = function (configuration) {
3320
+ var _this = this;
3321
+ return {
3322
+ /**
3323
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
3324
+ * @summary Get User Agents
3325
+ * @param {string | null} [cursor] Cursor for pagination
3326
+ * @param {number} [limit] Maximum number of agents to return
3327
+ * @param {*} [options] Override http request option.
3328
+ * @throws {RequiredError}
3329
+ */
3330
+ getUserAgents: function (cursor_1, limit_1) {
3331
+ var args_1 = [];
3332
+ for (var _i = 2; _i < arguments.length; _i++) {
3333
+ args_1[_i - 2] = arguments[_i];
3334
+ }
3335
+ return __awaiter(_this, __spreadArray([cursor_1, limit_1], args_1, true), void 0, function (cursor, limit, options) {
3336
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3337
+ if (options === void 0) { options = {}; }
3338
+ return __generator(this, function (_a) {
3339
+ switch (_a.label) {
3340
+ case 0:
3341
+ localVarPath = "/user/agents";
3342
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3343
+ if (configuration) {
3344
+ baseOptions = configuration.baseOptions;
3345
+ }
3346
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3347
+ localVarHeaderParameter = {};
3348
+ localVarQueryParameter = {};
3349
+ // authentication HTTPBearer required
3350
+ // http bearer authentication required
3351
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
3352
+ case 1:
3353
+ // authentication HTTPBearer required
3354
+ // http bearer authentication required
3355
+ _a.sent();
3356
+ if (cursor !== undefined) {
3357
+ localVarQueryParameter['cursor'] = cursor;
3358
+ }
3359
+ if (limit !== undefined) {
3360
+ localVarQueryParameter['limit'] = limit;
3361
+ }
3362
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3363
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3364
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3365
+ return [2 /*return*/, {
3366
+ url: (0, common_1.toPathString)(localVarUrlObj),
3367
+ options: localVarRequestOptions,
3368
+ }];
3369
+ }
3370
+ });
3371
+ });
3372
+ },
3373
+ };
3374
+ };
3375
+ exports.UserApiAxiosParamCreator = UserApiAxiosParamCreator;
3376
+ /**
3377
+ * UserApi - functional programming interface
3378
+ * @export
3379
+ */
3380
+ var UserApiFp = function (configuration) {
3381
+ var localVarAxiosParamCreator = (0, exports.UserApiAxiosParamCreator)(configuration);
3382
+ return {
3383
+ /**
3384
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
3385
+ * @summary Get User Agents
3386
+ * @param {string | null} [cursor] Cursor for pagination
3387
+ * @param {number} [limit] Maximum number of agents to return
3388
+ * @param {*} [options] Override http request option.
3389
+ * @throws {RequiredError}
3390
+ */
3391
+ getUserAgents: function (cursor, limit, options) {
3392
+ return __awaiter(this, void 0, void 0, function () {
3393
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3394
+ var _a, _b, _c;
3395
+ return __generator(this, function (_d) {
3396
+ switch (_d.label) {
3397
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserAgents(cursor, limit, options)];
3398
+ case 1:
3399
+ localVarAxiosArgs = _d.sent();
3400
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3401
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserApi.getUserAgents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3402
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
3403
+ }
3404
+ });
3405
+ });
3406
+ },
3407
+ };
3408
+ };
3409
+ exports.UserApiFp = UserApiFp;
3410
+ /**
3411
+ * UserApi - factory interface
3412
+ * @export
3413
+ */
3414
+ var UserApiFactory = function (configuration, basePath, axios) {
3415
+ var localVarFp = (0, exports.UserApiFp)(configuration);
3416
+ return {
3417
+ /**
3418
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
3419
+ * @summary Get User Agents
3420
+ * @param {string | null} [cursor] Cursor for pagination
3421
+ * @param {number} [limit] Maximum number of agents to return
3422
+ * @param {*} [options] Override http request option.
3423
+ * @throws {RequiredError}
3424
+ */
3425
+ getUserAgents: function (cursor, limit, options) {
3426
+ return localVarFp.getUserAgents(cursor, limit, options).then(function (request) { return request(axios, basePath); });
3427
+ },
3428
+ };
3429
+ };
3430
+ exports.UserApiFactory = UserApiFactory;
3431
+ /**
3432
+ * UserApi - object-oriented interface
3433
+ * @export
3434
+ * @class UserApi
3435
+ * @extends {BaseAPI}
3436
+ */
3437
+ var UserApi = /** @class */ (function (_super) {
3438
+ __extends(UserApi, _super);
3439
+ function UserApi() {
3440
+ return _super !== null && _super.apply(this, arguments) || this;
3441
+ }
3442
+ /**
3443
+ * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
3444
+ * @summary Get User Agents
3445
+ * @param {string | null} [cursor] Cursor for pagination
3446
+ * @param {number} [limit] Maximum number of agents to return
3447
+ * @param {*} [options] Override http request option.
3448
+ * @throws {RequiredError}
3449
+ * @memberof UserApi
3450
+ */
3451
+ UserApi.prototype.getUserAgents = function (cursor, limit, options) {
3452
+ var _this = this;
3453
+ return (0, exports.UserApiFp)(this.configuration).getUserAgents(cursor, limit, options).then(function (request) { return request(_this.axios, _this.basePath); });
3454
+ };
3455
+ return UserApi;
3456
+ }(base_1.BaseAPI));
3457
+ exports.UserApi = UserApi;
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.1.21
5
+ * The version of the OpenAPI document: 0.1.22
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.1.21
8
+ * The version of the OpenAPI document: 0.1.22
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.1.21
5
+ * The version of the OpenAPI document: 0.1.22
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.1.21
8
+ * The version of the OpenAPI document: 0.1.22
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.1.21
5
+ * The version of the OpenAPI document: 0.1.22
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.1.21
8
+ * The version of the OpenAPI document: 0.1.22
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.1.21
5
+ * The version of the OpenAPI document: 0.1.22
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.1.21
8
+ * The version of the OpenAPI document: 0.1.22
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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-07-17T08:51:32.738+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-07-17T08:51:32.738+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-07-17T10:28:57.561+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-07-17T10:28:57.561+00:00]
32
32
  **provider_name** | **string** | | [default to undefined]
33
33
 
34
34
  ## Example
@@ -0,0 +1,63 @@
1
+ # UserApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getUserAgents**](#getuseragents) | **GET** /user/agents | Get User Agents|
8
+
9
+ # **getUserAgents**
10
+ > AgentListResponse getUserAgents()
11
+
12
+ Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ UserApi,
19
+ Configuration
20
+ } from '@crestal/nation-sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new UserApi(configuration);
24
+
25
+ let cursor: string; //Cursor for pagination (optional) (default to undefined)
26
+ let limit: number; //Maximum number of agents to return (optional) (default to 20)
27
+
28
+ const { status, data } = await apiInstance.getUserAgents(
29
+ cursor,
30
+ limit
31
+ );
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ |Name | Type | Description | Notes|
37
+ |------------- | ------------- | ------------- | -------------|
38
+ | **cursor** | [**string**] | Cursor for pagination | (optional) defaults to undefined|
39
+ | **limit** | [**number**] | Maximum number of agents to return | (optional) defaults to 20|
40
+
41
+
42
+ ### Return type
43
+
44
+ **AgentListResponse**
45
+
46
+ ### Authorization
47
+
48
+ [HTTPBearer](../README.md#HTTPBearer)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | Successful Response | - |
60
+ |**422** | Validation Error | - |
61
+
62
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
63
+
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.1.21
7
+ * The version of the OpenAPI document: 0.1.22
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.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {