@crestal/nation-sdk 0.7.20 → 0.7.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.
@@ -62,6 +62,7 @@ docs/OAuthApi.md
62
62
  docs/OwnerType.md
63
63
  docs/Skill.md
64
64
  docs/SystemMessageType.md
65
+ docs/Tag.md
65
66
  docs/TransactionType.md
66
67
  docs/TwitterAuthResponse.md
67
68
  docs/UpstreamType.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @crestal/nation-sdk@0.7.20
1
+ ## @crestal/nation-sdk@0.7.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.7.20 --save
39
+ npm install @crestal/nation-sdk@0.7.22 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -101,6 +101,7 @@ Class | Method | HTTP request | Description
101
101
  *MetadataApi* | [**getAgentPublicStrictSchema**](docs/MetadataApi.md#getagentpublicstrictschema) | **GET** /metadata/agent/public-strict.json | Get strict public agent schema
102
102
  *MetadataApi* | [**getAgentSchema**](docs/MetadataApi.md#getagentschema) | **GET** /metadata/agent/schema.json | Get agent schema
103
103
  *MetadataApi* | [**getLlms**](docs/MetadataApi.md#getllms) | **GET** /metadata/llms | Get all LLM models
104
+ *MetadataApi* | [**getMetadataTags**](docs/MetadataApi.md#getmetadatatags) | **GET** /metadata/tags | Get metadata tags
104
105
  *MetadataApi* | [**getSkillIcon**](docs/MetadataApi.md#getskillicon) | **GET** /metadata/skills/{skill}/{icon_name}.{ext} | Get skill icon
105
106
  *MetadataApi* | [**getSkillSchema**](docs/MetadataApi.md#getskillschema) | **GET** /metadata/skills/{skill}/schema.json | Get skill schema
106
107
  *MetadataApi* | [**getSkills**](docs/MetadataApi.md#getskills) | **GET** /metadata/skills | Get all skills
@@ -162,6 +163,7 @@ Class | Method | HTTP request | Description
162
163
  - [OwnerType](docs/OwnerType.md)
163
164
  - [Skill](docs/Skill.md)
164
165
  - [SystemMessageType](docs/SystemMessageType.md)
166
+ - [Tag](docs/Tag.md)
165
167
  - [TransactionType](docs/TransactionType.md)
166
168
  - [TwitterAuthResponse](docs/TwitterAuthResponse.md)
167
169
  - [UpstreamType](docs/UpstreamType.md)
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.20
7
+ * The version of the OpenAPI document: 0.7.22
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3555,6 +3555,43 @@ export const SystemMessageType = {
3555
3555
  export type SystemMessageType = typeof SystemMessageType[keyof typeof SystemMessageType];
3556
3556
 
3557
3557
 
3558
+ /**
3559
+ * Metadata tag model.
3560
+ * @export
3561
+ * @interface Tag
3562
+ */
3563
+ export interface Tag {
3564
+ /**
3565
+ * Unique identifier for the tag
3566
+ * @type {number}
3567
+ * @memberof Tag
3568
+ */
3569
+ 'id': number;
3570
+ /**
3571
+ *
3572
+ * @type {string}
3573
+ * @memberof Tag
3574
+ */
3575
+ 'name'?: string | null;
3576
+ /**
3577
+ *
3578
+ * @type {string}
3579
+ * @memberof Tag
3580
+ */
3581
+ 'description'?: string | null;
3582
+ /**
3583
+ *
3584
+ * @type {string}
3585
+ * @memberof Tag
3586
+ */
3587
+ 'created_at'?: string | null;
3588
+ /**
3589
+ *
3590
+ * @type {string}
3591
+ * @memberof Tag
3592
+ */
3593
+ 'category'?: string | null;
3594
+ }
3558
3595
  /**
3559
3596
  * Type of credit transaction.
3560
3597
  * @export
@@ -7650,6 +7687,36 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
7650
7687
 
7651
7688
 
7652
7689
 
7690
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7691
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7692
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7693
+
7694
+ return {
7695
+ url: toPathString(localVarUrlObj),
7696
+ options: localVarRequestOptions,
7697
+ };
7698
+ },
7699
+ /**
7700
+ * Returns a list of all metadata tags configured in the system.
7701
+ * @summary Get metadata tags
7702
+ * @param {*} [options] Override http request option.
7703
+ * @throws {RequiredError}
7704
+ */
7705
+ getMetadataTags: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7706
+ const localVarPath = `/metadata/tags`;
7707
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7708
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7709
+ let baseOptions;
7710
+ if (configuration) {
7711
+ baseOptions = configuration.baseOptions;
7712
+ }
7713
+
7714
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
7715
+ const localVarHeaderParameter = {} as any;
7716
+ const localVarQueryParameter = {} as any;
7717
+
7718
+
7719
+
7653
7720
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7654
7721
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7655
7722
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -7823,6 +7890,18 @@ export const MetadataApiFp = function(configuration?: Configuration) {
7823
7890
  const localVarOperationServerBasePath = operationServerMap['MetadataApi.getLlms']?.[localVarOperationServerIndex]?.url;
7824
7891
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7825
7892
  },
7893
+ /**
7894
+ * Returns a list of all metadata tags configured in the system.
7895
+ * @summary Get metadata tags
7896
+ * @param {*} [options] Override http request option.
7897
+ * @throws {RequiredError}
7898
+ */
7899
+ async getMetadataTags(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Tag>>> {
7900
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMetadataTags(options);
7901
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7902
+ const localVarOperationServerBasePath = operationServerMap['MetadataApi.getMetadataTags']?.[localVarOperationServerIndex]?.url;
7903
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7904
+ },
7826
7905
  /**
7827
7906
  * Get the icon for a specific skill
7828
7907
  * @summary Get skill icon
@@ -7909,6 +7988,15 @@ export const MetadataApiFactory = function (configuration?: Configuration, baseP
7909
7988
  getLlms(options?: RawAxiosRequestConfig): AxiosPromise<Array<LLMModelInfoWithProviderName>> {
7910
7989
  return localVarFp.getLlms(options).then((request) => request(axios, basePath));
7911
7990
  },
7991
+ /**
7992
+ * Returns a list of all metadata tags configured in the system.
7993
+ * @summary Get metadata tags
7994
+ * @param {*} [options] Override http request option.
7995
+ * @throws {RequiredError}
7996
+ */
7997
+ getMetadataTags(options?: RawAxiosRequestConfig): AxiosPromise<Array<Tag>> {
7998
+ return localVarFp.getMetadataTags(options).then((request) => request(axios, basePath));
7999
+ },
7912
8000
  /**
7913
8001
  * Get the icon for a specific skill
7914
8002
  * @summary Get skill icon
@@ -7994,6 +8082,17 @@ export class MetadataApi extends BaseAPI {
7994
8082
  return MetadataApiFp(this.configuration).getLlms(options).then((request) => request(this.axios, this.basePath));
7995
8083
  }
7996
8084
 
8085
+ /**
8086
+ * Returns a list of all metadata tags configured in the system.
8087
+ * @summary Get metadata tags
8088
+ * @param {*} [options] Override http request option.
8089
+ * @throws {RequiredError}
8090
+ * @memberof MetadataApi
8091
+ */
8092
+ public getMetadataTags(options?: RawAxiosRequestConfig) {
8093
+ return MetadataApiFp(this.configuration).getMetadataTags(options).then((request) => request(this.axios, this.basePath));
8094
+ }
8095
+
7997
8096
  /**
7998
8097
  * Get the icon for a specific skill
7999
8098
  * @summary Get skill icon
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.20
7
+ * The version of the OpenAPI document: 0.7.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.7.20
7
+ * The version of the OpenAPI document: 0.7.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.7.20
7
+ * The version of the OpenAPI document: 0.7.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.7.20
5
+ * The version of the OpenAPI document: 0.7.22
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3459,6 +3459,43 @@ export declare const SystemMessageType: {
3459
3459
  readonly SkillInterrupted: "skill_interrupted";
3460
3460
  };
3461
3461
  export type SystemMessageType = typeof SystemMessageType[keyof typeof SystemMessageType];
3462
+ /**
3463
+ * Metadata tag model.
3464
+ * @export
3465
+ * @interface Tag
3466
+ */
3467
+ export interface Tag {
3468
+ /**
3469
+ * Unique identifier for the tag
3470
+ * @type {number}
3471
+ * @memberof Tag
3472
+ */
3473
+ 'id': number;
3474
+ /**
3475
+ *
3476
+ * @type {string}
3477
+ * @memberof Tag
3478
+ */
3479
+ 'name'?: string | null;
3480
+ /**
3481
+ *
3482
+ * @type {string}
3483
+ * @memberof Tag
3484
+ */
3485
+ 'description'?: string | null;
3486
+ /**
3487
+ *
3488
+ * @type {string}
3489
+ * @memberof Tag
3490
+ */
3491
+ 'created_at'?: string | null;
3492
+ /**
3493
+ *
3494
+ * @type {string}
3495
+ * @memberof Tag
3496
+ */
3497
+ 'category'?: string | null;
3498
+ }
3462
3499
  /**
3463
3500
  * Type of credit transaction.
3464
3501
  * @export
@@ -5411,6 +5448,13 @@ export declare const MetadataApiAxiosParamCreator: (configuration?: Configuratio
5411
5448
  * @throws {RequiredError}
5412
5449
  */
5413
5450
  getLlms: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5451
+ /**
5452
+ * Returns a list of all metadata tags configured in the system.
5453
+ * @summary Get metadata tags
5454
+ * @param {*} [options] Override http request option.
5455
+ * @throws {RequiredError}
5456
+ */
5457
+ getMetadataTags: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5414
5458
  /**
5415
5459
  * Get the icon for a specific skill
5416
5460
  * @summary Get skill icon
@@ -5470,6 +5514,13 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
5470
5514
  * @throws {RequiredError}
5471
5515
  */
5472
5516
  getLlms(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LLMModelInfoWithProviderName>>>;
5517
+ /**
5518
+ * Returns a list of all metadata tags configured in the system.
5519
+ * @summary Get metadata tags
5520
+ * @param {*} [options] Override http request option.
5521
+ * @throws {RequiredError}
5522
+ */
5523
+ getMetadataTags(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Tag>>>;
5473
5524
  /**
5474
5525
  * Get the icon for a specific skill
5475
5526
  * @summary Get skill icon
@@ -5529,6 +5580,13 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
5529
5580
  * @throws {RequiredError}
5530
5581
  */
5531
5582
  getLlms(options?: RawAxiosRequestConfig): AxiosPromise<Array<LLMModelInfoWithProviderName>>;
5583
+ /**
5584
+ * Returns a list of all metadata tags configured in the system.
5585
+ * @summary Get metadata tags
5586
+ * @param {*} [options] Override http request option.
5587
+ * @throws {RequiredError}
5588
+ */
5589
+ getMetadataTags(options?: RawAxiosRequestConfig): AxiosPromise<Array<Tag>>;
5532
5590
  /**
5533
5591
  * Get the icon for a specific skill
5534
5592
  * @summary Get skill icon
@@ -5594,6 +5652,14 @@ export declare class MetadataApi extends BaseAPI {
5594
5652
  * @memberof MetadataApi
5595
5653
  */
5596
5654
  getLlms(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMModelInfoWithProviderName[], any, {}>>;
5655
+ /**
5656
+ * Returns a list of all metadata tags configured in the system.
5657
+ * @summary Get metadata tags
5658
+ * @param {*} [options] Override http request option.
5659
+ * @throws {RequiredError}
5660
+ * @memberof MetadataApi
5661
+ */
5662
+ getMetadataTags(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag[], any, {}>>;
5597
5663
  /**
5598
5664
  * Get the icon for a specific skill
5599
5665
  * @summary Get skill icon
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.20
8
+ * The version of the OpenAPI document: 0.7.22
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5228,6 +5228,39 @@ var MetadataApiAxiosParamCreator = function (configuration) {
5228
5228
  });
5229
5229
  });
5230
5230
  },
5231
+ /**
5232
+ * Returns a list of all metadata tags configured in the system.
5233
+ * @summary Get metadata tags
5234
+ * @param {*} [options] Override http request option.
5235
+ * @throws {RequiredError}
5236
+ */
5237
+ getMetadataTags: function () {
5238
+ var args_1 = [];
5239
+ for (var _i = 0; _i < arguments.length; _i++) {
5240
+ args_1[_i] = arguments[_i];
5241
+ }
5242
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
5243
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
5244
+ if (options === void 0) { options = {}; }
5245
+ return __generator(this, function (_a) {
5246
+ localVarPath = "/metadata/tags";
5247
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5248
+ if (configuration) {
5249
+ baseOptions = configuration.baseOptions;
5250
+ }
5251
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
5252
+ localVarHeaderParameter = {};
5253
+ localVarQueryParameter = {};
5254
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5255
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5256
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5257
+ return [2 /*return*/, {
5258
+ url: (0, common_1.toPathString)(localVarUrlObj),
5259
+ options: localVarRequestOptions,
5260
+ }];
5261
+ });
5262
+ });
5263
+ },
5231
5264
  /**
5232
5265
  * Get the icon for a specific skill
5233
5266
  * @summary Get skill icon
@@ -5441,6 +5474,28 @@ var MetadataApiFp = function (configuration) {
5441
5474
  });
5442
5475
  });
5443
5476
  },
5477
+ /**
5478
+ * Returns a list of all metadata tags configured in the system.
5479
+ * @summary Get metadata tags
5480
+ * @param {*} [options] Override http request option.
5481
+ * @throws {RequiredError}
5482
+ */
5483
+ getMetadataTags: function (options) {
5484
+ return __awaiter(this, void 0, void 0, function () {
5485
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
5486
+ var _a, _b, _c;
5487
+ return __generator(this, function (_d) {
5488
+ switch (_d.label) {
5489
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMetadataTags(options)];
5490
+ case 1:
5491
+ localVarAxiosArgs = _d.sent();
5492
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5493
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MetadataApi.getMetadataTags']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5494
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
5495
+ }
5496
+ });
5497
+ });
5498
+ },
5444
5499
  /**
5445
5500
  * Get the icon for a specific skill
5446
5501
  * @summary Get skill icon
@@ -5557,6 +5612,15 @@ var MetadataApiFactory = function (configuration, basePath, axios) {
5557
5612
  getLlms: function (options) {
5558
5613
  return localVarFp.getLlms(options).then(function (request) { return request(axios, basePath); });
5559
5614
  },
5615
+ /**
5616
+ * Returns a list of all metadata tags configured in the system.
5617
+ * @summary Get metadata tags
5618
+ * @param {*} [options] Override http request option.
5619
+ * @throws {RequiredError}
5620
+ */
5621
+ getMetadataTags: function (options) {
5622
+ return localVarFp.getMetadataTags(options).then(function (request) { return request(axios, basePath); });
5623
+ },
5560
5624
  /**
5561
5625
  * Get the icon for a specific skill
5562
5626
  * @summary Get skill icon
@@ -5646,6 +5710,17 @@ var MetadataApi = /** @class */ (function (_super) {
5646
5710
  var _this = this;
5647
5711
  return (0, exports.MetadataApiFp)(this.configuration).getLlms(options).then(function (request) { return request(_this.axios, _this.basePath); });
5648
5712
  };
5713
+ /**
5714
+ * Returns a list of all metadata tags configured in the system.
5715
+ * @summary Get metadata tags
5716
+ * @param {*} [options] Override http request option.
5717
+ * @throws {RequiredError}
5718
+ * @memberof MetadataApi
5719
+ */
5720
+ MetadataApi.prototype.getMetadataTags = function (options) {
5721
+ var _this = this;
5722
+ return (0, exports.MetadataApiFp)(this.configuration).getMetadataTags(options).then(function (request) { return request(_this.axios, _this.basePath); });
5723
+ };
5649
5724
  /**
5650
5725
  * Get the icon for a specific skill
5651
5726
  * @summary Get skill icon
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.20
5
+ * The version of the OpenAPI document: 0.7.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.7.20
8
+ * The version of the OpenAPI document: 0.7.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.7.20
5
+ * The version of the OpenAPI document: 0.7.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.7.20
8
+ * The version of the OpenAPI document: 0.7.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.7.20
5
+ * The version of the OpenAPI document: 0.7.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.7.20
8
+ * The version of the OpenAPI document: 0.7.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.7.20
5
+ * The version of the OpenAPI document: 0.7.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.7.20
8
+ * The version of the OpenAPI document: 0.7.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-09-29T17:42:18.109+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-29T17:42:18.109+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-09-30T08:38:46.170+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-30T08:38:46.170+00:00]
32
32
  **provider_name** | **string** | | [default to undefined]
33
33
 
34
34
  ## Example
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost*
8
8
  |[**getAgentPublicStrictSchema**](#getagentpublicstrictschema) | **GET** /metadata/agent/public-strict.json | Get strict public agent schema|
9
9
  |[**getAgentSchema**](#getagentschema) | **GET** /metadata/agent/schema.json | Get agent schema|
10
10
  |[**getLlms**](#getllms) | **GET** /metadata/llms | Get all LLM models|
11
+ |[**getMetadataTags**](#getmetadatatags) | **GET** /metadata/tags | Get metadata tags|
11
12
  |[**getSkillIcon**](#getskillicon) | **GET** /metadata/skills/{skill}/{icon_name}.{ext} | Get skill icon|
12
13
  |[**getSkillSchema**](#getskillschema) | **GET** /metadata/skills/{skill}/schema.json | Get skill schema|
13
14
  |[**getSkills**](#getskills) | **GET** /metadata/skills | Get all skills|
@@ -181,6 +182,50 @@ No authorization required
181
182
  - **Accept**: application/json
182
183
 
183
184
 
185
+ ### HTTP response details
186
+ | Status code | Description | Response headers |
187
+ |-------------|-------------|------------------|
188
+ |**200** | Successful Response | - |
189
+
190
+ [[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)
191
+
192
+ # **getMetadataTags**
193
+ > Array<Tag> getMetadataTags()
194
+
195
+ Returns a list of all metadata tags configured in the system.
196
+
197
+ ### Example
198
+
199
+ ```typescript
200
+ import {
201
+ MetadataApi,
202
+ Configuration
203
+ } from '@crestal/nation-sdk';
204
+
205
+ const configuration = new Configuration();
206
+ const apiInstance = new MetadataApi(configuration);
207
+
208
+ const { status, data } = await apiInstance.getMetadataTags();
209
+ ```
210
+
211
+ ### Parameters
212
+ This endpoint does not have any parameters.
213
+
214
+
215
+ ### Return type
216
+
217
+ **Array<Tag>**
218
+
219
+ ### Authorization
220
+
221
+ No authorization required
222
+
223
+ ### HTTP request headers
224
+
225
+ - **Content-Type**: Not defined
226
+ - **Accept**: application/json
227
+
228
+
184
229
  ### HTTP response details
185
230
  | Status code | Description | Response headers |
186
231
  |-------------|-------------|------------------|
package/docs/Tag.md ADDED
@@ -0,0 +1,29 @@
1
+ # Tag
2
+
3
+ Metadata tag model.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **number** | Unique identifier for the tag | [default to undefined]
10
+ **name** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **created_at** | **string** | | [optional] [default to undefined]
13
+ **category** | **string** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { Tag } from '@crestal/nation-sdk';
19
+
20
+ const instance: Tag = {
21
+ id,
22
+ name,
23
+ description,
24
+ created_at,
25
+ category,
26
+ };
27
+ ```
28
+
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
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.20
7
+ * The version of the OpenAPI document: 0.7.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.7.20",
3
+ "version": "0.7.22",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {