@crestal/nation-sdk 0.7.19 → 0.7.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.19
1
+ ## @crestal/nation-sdk@0.7.21
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.19 --save
39
+ npm install @crestal/nation-sdk@0.7.21 --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.19
7
+ * The version of the OpenAPI document: 0.7.21
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -302,12 +302,12 @@ export const AgentWalletProviderEnum = {
302
302
 
303
303
  export type AgentWalletProviderEnum = typeof AgentWalletProviderEnum[keyof typeof AgentWalletProviderEnum];
304
304
  export const AgentNetworkIdEnum = {
305
+ BaseMainnet: 'base-mainnet',
306
+ BaseSepolia: 'base-sepolia',
305
307
  EthereumMainnet: 'ethereum-mainnet',
306
308
  EthereumSepolia: 'ethereum-sepolia',
307
309
  PolygonMainnet: 'polygon-mainnet',
308
310
  PolygonMumbai: 'polygon-mumbai',
309
- BaseMainnet: 'base-mainnet',
310
- BaseSepolia: 'base-sepolia',
311
311
  ArbitrumMainnet: 'arbitrum-mainnet',
312
312
  ArbitrumSepolia: 'arbitrum-sepolia',
313
313
  OptimismMainnet: 'optimism-mainnet',
@@ -635,12 +635,12 @@ export const AgentCreateWalletProviderEnum = {
635
635
 
636
636
  export type AgentCreateWalletProviderEnum = typeof AgentCreateWalletProviderEnum[keyof typeof AgentCreateWalletProviderEnum];
637
637
  export const AgentCreateNetworkIdEnum = {
638
+ BaseMainnet: 'base-mainnet',
639
+ BaseSepolia: 'base-sepolia',
638
640
  EthereumMainnet: 'ethereum-mainnet',
639
641
  EthereumSepolia: 'ethereum-sepolia',
640
642
  PolygonMainnet: 'polygon-mainnet',
641
643
  PolygonMumbai: 'polygon-mumbai',
642
- BaseMainnet: 'base-mainnet',
643
- BaseSepolia: 'base-sepolia',
644
644
  ArbitrumMainnet: 'arbitrum-mainnet',
645
645
  ArbitrumSepolia: 'arbitrum-sepolia',
646
646
  OptimismMainnet: 'optimism-mainnet',
@@ -870,12 +870,12 @@ export const AgentDraftWalletProviderEnum = {
870
870
 
871
871
  export type AgentDraftWalletProviderEnum = typeof AgentDraftWalletProviderEnum[keyof typeof AgentDraftWalletProviderEnum];
872
872
  export const AgentDraftNetworkIdEnum = {
873
+ BaseMainnet: 'base-mainnet',
874
+ BaseSepolia: 'base-sepolia',
873
875
  EthereumMainnet: 'ethereum-mainnet',
874
876
  EthereumSepolia: 'ethereum-sepolia',
875
877
  PolygonMainnet: 'polygon-mainnet',
876
878
  PolygonMumbai: 'polygon-mumbai',
877
- BaseMainnet: 'base-mainnet',
878
- BaseSepolia: 'base-sepolia',
879
879
  ArbitrumMainnet: 'arbitrum-mainnet',
880
880
  ArbitrumSepolia: 'arbitrum-sepolia',
881
881
  OptimismMainnet: 'optimism-mainnet',
@@ -1367,12 +1367,12 @@ export const AgentResponseWalletProviderEnum = {
1367
1367
 
1368
1368
  export type AgentResponseWalletProviderEnum = typeof AgentResponseWalletProviderEnum[keyof typeof AgentResponseWalletProviderEnum];
1369
1369
  export const AgentResponseNetworkIdEnum = {
1370
+ BaseMainnet: 'base-mainnet',
1371
+ BaseSepolia: 'base-sepolia',
1370
1372
  EthereumMainnet: 'ethereum-mainnet',
1371
1373
  EthereumSepolia: 'ethereum-sepolia',
1372
1374
  PolygonMainnet: 'polygon-mainnet',
1373
1375
  PolygonMumbai: 'polygon-mumbai',
1374
- BaseMainnet: 'base-mainnet',
1375
- BaseSepolia: 'base-sepolia',
1376
1376
  ArbitrumMainnet: 'arbitrum-mainnet',
1377
1377
  ArbitrumSepolia: 'arbitrum-sepolia',
1378
1378
  OptimismMainnet: 'optimism-mainnet',
@@ -1668,12 +1668,12 @@ export const AgentUpdateWalletProviderEnum = {
1668
1668
 
1669
1669
  export type AgentUpdateWalletProviderEnum = typeof AgentUpdateWalletProviderEnum[keyof typeof AgentUpdateWalletProviderEnum];
1670
1670
  export const AgentUpdateNetworkIdEnum = {
1671
+ BaseMainnet: 'base-mainnet',
1672
+ BaseSepolia: 'base-sepolia',
1671
1673
  EthereumMainnet: 'ethereum-mainnet',
1672
1674
  EthereumSepolia: 'ethereum-sepolia',
1673
1675
  PolygonMainnet: 'polygon-mainnet',
1674
1676
  PolygonMumbai: 'polygon-mumbai',
1675
- BaseMainnet: 'base-mainnet',
1676
- BaseSepolia: 'base-sepolia',
1677
1677
  ArbitrumMainnet: 'arbitrum-mainnet',
1678
1678
  ArbitrumSepolia: 'arbitrum-sepolia',
1679
1679
  OptimismMainnet: 'optimism-mainnet',
@@ -1830,12 +1830,12 @@ export const AgentUserInputWalletProviderEnum = {
1830
1830
 
1831
1831
  export type AgentUserInputWalletProviderEnum = typeof AgentUserInputWalletProviderEnum[keyof typeof AgentUserInputWalletProviderEnum];
1832
1832
  export const AgentUserInputNetworkIdEnum = {
1833
+ BaseMainnet: 'base-mainnet',
1834
+ BaseSepolia: 'base-sepolia',
1833
1835
  EthereumMainnet: 'ethereum-mainnet',
1834
1836
  EthereumSepolia: 'ethereum-sepolia',
1835
1837
  PolygonMainnet: 'polygon-mainnet',
1836
1838
  PolygonMumbai: 'polygon-mumbai',
1837
- BaseMainnet: 'base-mainnet',
1838
- BaseSepolia: 'base-sepolia',
1839
1839
  ArbitrumMainnet: 'arbitrum-mainnet',
1840
1840
  ArbitrumSepolia: 'arbitrum-sepolia',
1841
1841
  OptimismMainnet: 'optimism-mainnet',
@@ -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.19
7
+ * The version of the OpenAPI document: 0.7.21
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.19
7
+ * The version of the OpenAPI document: 0.7.21
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.19
7
+ * The version of the OpenAPI document: 0.7.21
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.19
5
+ * The version of the OpenAPI document: 0.7.21
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -290,12 +290,12 @@ export declare const AgentWalletProviderEnum: {
290
290
  };
291
291
  export type AgentWalletProviderEnum = typeof AgentWalletProviderEnum[keyof typeof AgentWalletProviderEnum];
292
292
  export declare const AgentNetworkIdEnum: {
293
+ readonly BaseMainnet: "base-mainnet";
294
+ readonly BaseSepolia: "base-sepolia";
293
295
  readonly EthereumMainnet: "ethereum-mainnet";
294
296
  readonly EthereumSepolia: "ethereum-sepolia";
295
297
  readonly PolygonMainnet: "polygon-mainnet";
296
298
  readonly PolygonMumbai: "polygon-mumbai";
297
- readonly BaseMainnet: "base-mainnet";
298
- readonly BaseSepolia: "base-sepolia";
299
299
  readonly ArbitrumMainnet: "arbitrum-mainnet";
300
300
  readonly ArbitrumSepolia: "arbitrum-sepolia";
301
301
  readonly OptimismMainnet: "optimism-mainnet";
@@ -618,12 +618,12 @@ export declare const AgentCreateWalletProviderEnum: {
618
618
  };
619
619
  export type AgentCreateWalletProviderEnum = typeof AgentCreateWalletProviderEnum[keyof typeof AgentCreateWalletProviderEnum];
620
620
  export declare const AgentCreateNetworkIdEnum: {
621
+ readonly BaseMainnet: "base-mainnet";
622
+ readonly BaseSepolia: "base-sepolia";
621
623
  readonly EthereumMainnet: "ethereum-mainnet";
622
624
  readonly EthereumSepolia: "ethereum-sepolia";
623
625
  readonly PolygonMainnet: "polygon-mainnet";
624
626
  readonly PolygonMumbai: "polygon-mumbai";
625
- readonly BaseMainnet: "base-mainnet";
626
- readonly BaseSepolia: "base-sepolia";
627
627
  readonly ArbitrumMainnet: "arbitrum-mainnet";
628
628
  readonly ArbitrumSepolia: "arbitrum-sepolia";
629
629
  readonly OptimismMainnet: "optimism-mainnet";
@@ -848,12 +848,12 @@ export declare const AgentDraftWalletProviderEnum: {
848
848
  };
849
849
  export type AgentDraftWalletProviderEnum = typeof AgentDraftWalletProviderEnum[keyof typeof AgentDraftWalletProviderEnum];
850
850
  export declare const AgentDraftNetworkIdEnum: {
851
+ readonly BaseMainnet: "base-mainnet";
852
+ readonly BaseSepolia: "base-sepolia";
851
853
  readonly EthereumMainnet: "ethereum-mainnet";
852
854
  readonly EthereumSepolia: "ethereum-sepolia";
853
855
  readonly PolygonMainnet: "polygon-mainnet";
854
856
  readonly PolygonMumbai: "polygon-mumbai";
855
- readonly BaseMainnet: "base-mainnet";
856
- readonly BaseSepolia: "base-sepolia";
857
857
  readonly ArbitrumMainnet: "arbitrum-mainnet";
858
858
  readonly ArbitrumSepolia: "arbitrum-sepolia";
859
859
  readonly OptimismMainnet: "optimism-mainnet";
@@ -1342,12 +1342,12 @@ export declare const AgentResponseWalletProviderEnum: {
1342
1342
  };
1343
1343
  export type AgentResponseWalletProviderEnum = typeof AgentResponseWalletProviderEnum[keyof typeof AgentResponseWalletProviderEnum];
1344
1344
  export declare const AgentResponseNetworkIdEnum: {
1345
+ readonly BaseMainnet: "base-mainnet";
1346
+ readonly BaseSepolia: "base-sepolia";
1345
1347
  readonly EthereumMainnet: "ethereum-mainnet";
1346
1348
  readonly EthereumSepolia: "ethereum-sepolia";
1347
1349
  readonly PolygonMainnet: "polygon-mainnet";
1348
1350
  readonly PolygonMumbai: "polygon-mumbai";
1349
- readonly BaseMainnet: "base-mainnet";
1350
- readonly BaseSepolia: "base-sepolia";
1351
1351
  readonly ArbitrumMainnet: "arbitrum-mainnet";
1352
1352
  readonly ArbitrumSepolia: "arbitrum-sepolia";
1353
1353
  readonly OptimismMainnet: "optimism-mainnet";
@@ -1630,12 +1630,12 @@ export declare const AgentUpdateWalletProviderEnum: {
1630
1630
  };
1631
1631
  export type AgentUpdateWalletProviderEnum = typeof AgentUpdateWalletProviderEnum[keyof typeof AgentUpdateWalletProviderEnum];
1632
1632
  export declare const AgentUpdateNetworkIdEnum: {
1633
+ readonly BaseMainnet: "base-mainnet";
1634
+ readonly BaseSepolia: "base-sepolia";
1633
1635
  readonly EthereumMainnet: "ethereum-mainnet";
1634
1636
  readonly EthereumSepolia: "ethereum-sepolia";
1635
1637
  readonly PolygonMainnet: "polygon-mainnet";
1636
1638
  readonly PolygonMumbai: "polygon-mumbai";
1637
- readonly BaseMainnet: "base-mainnet";
1638
- readonly BaseSepolia: "base-sepolia";
1639
1639
  readonly ArbitrumMainnet: "arbitrum-mainnet";
1640
1640
  readonly ArbitrumSepolia: "arbitrum-sepolia";
1641
1641
  readonly OptimismMainnet: "optimism-mainnet";
@@ -1787,12 +1787,12 @@ export declare const AgentUserInputWalletProviderEnum: {
1787
1787
  };
1788
1788
  export type AgentUserInputWalletProviderEnum = typeof AgentUserInputWalletProviderEnum[keyof typeof AgentUserInputWalletProviderEnum];
1789
1789
  export declare const AgentUserInputNetworkIdEnum: {
1790
+ readonly BaseMainnet: "base-mainnet";
1791
+ readonly BaseSepolia: "base-sepolia";
1790
1792
  readonly EthereumMainnet: "ethereum-mainnet";
1791
1793
  readonly EthereumSepolia: "ethereum-sepolia";
1792
1794
  readonly PolygonMainnet: "polygon-mainnet";
1793
1795
  readonly PolygonMumbai: "polygon-mumbai";
1794
- readonly BaseMainnet: "base-mainnet";
1795
- readonly BaseSepolia: "base-sepolia";
1796
1796
  readonly ArbitrumMainnet: "arbitrum-mainnet";
1797
1797
  readonly ArbitrumSepolia: "arbitrum-sepolia";
1798
1798
  readonly OptimismMainnet: "optimism-mainnet";
@@ -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.19
8
+ * The version of the OpenAPI document: 0.7.21
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -97,12 +97,12 @@ exports.AgentWalletProviderEnum = {
97
97
  Readonly: 'readonly'
98
98
  };
99
99
  exports.AgentNetworkIdEnum = {
100
+ BaseMainnet: 'base-mainnet',
101
+ BaseSepolia: 'base-sepolia',
100
102
  EthereumMainnet: 'ethereum-mainnet',
101
103
  EthereumSepolia: 'ethereum-sepolia',
102
104
  PolygonMainnet: 'polygon-mainnet',
103
105
  PolygonMumbai: 'polygon-mumbai',
104
- BaseMainnet: 'base-mainnet',
105
- BaseSepolia: 'base-sepolia',
106
106
  ArbitrumMainnet: 'arbitrum-mainnet',
107
107
  ArbitrumSepolia: 'arbitrum-sepolia',
108
108
  OptimismMainnet: 'optimism-mainnet',
@@ -118,12 +118,12 @@ exports.AgentCreateWalletProviderEnum = {
118
118
  Readonly: 'readonly'
119
119
  };
120
120
  exports.AgentCreateNetworkIdEnum = {
121
+ BaseMainnet: 'base-mainnet',
122
+ BaseSepolia: 'base-sepolia',
121
123
  EthereumMainnet: 'ethereum-mainnet',
122
124
  EthereumSepolia: 'ethereum-sepolia',
123
125
  PolygonMainnet: 'polygon-mainnet',
124
126
  PolygonMumbai: 'polygon-mumbai',
125
- BaseMainnet: 'base-mainnet',
126
- BaseSepolia: 'base-sepolia',
127
127
  ArbitrumMainnet: 'arbitrum-mainnet',
128
128
  ArbitrumSepolia: 'arbitrum-sepolia',
129
129
  OptimismMainnet: 'optimism-mainnet',
@@ -139,12 +139,12 @@ exports.AgentDraftWalletProviderEnum = {
139
139
  Readonly: 'readonly'
140
140
  };
141
141
  exports.AgentDraftNetworkIdEnum = {
142
+ BaseMainnet: 'base-mainnet',
143
+ BaseSepolia: 'base-sepolia',
142
144
  EthereumMainnet: 'ethereum-mainnet',
143
145
  EthereumSepolia: 'ethereum-sepolia',
144
146
  PolygonMainnet: 'polygon-mainnet',
145
147
  PolygonMumbai: 'polygon-mumbai',
146
- BaseMainnet: 'base-mainnet',
147
- BaseSepolia: 'base-sepolia',
148
148
  ArbitrumMainnet: 'arbitrum-mainnet',
149
149
  ArbitrumSepolia: 'arbitrum-sepolia',
150
150
  OptimismMainnet: 'optimism-mainnet',
@@ -160,12 +160,12 @@ exports.AgentResponseWalletProviderEnum = {
160
160
  Readonly: 'readonly'
161
161
  };
162
162
  exports.AgentResponseNetworkIdEnum = {
163
+ BaseMainnet: 'base-mainnet',
164
+ BaseSepolia: 'base-sepolia',
163
165
  EthereumMainnet: 'ethereum-mainnet',
164
166
  EthereumSepolia: 'ethereum-sepolia',
165
167
  PolygonMainnet: 'polygon-mainnet',
166
168
  PolygonMumbai: 'polygon-mumbai',
167
- BaseMainnet: 'base-mainnet',
168
- BaseSepolia: 'base-sepolia',
169
169
  ArbitrumMainnet: 'arbitrum-mainnet',
170
170
  ArbitrumSepolia: 'arbitrum-sepolia',
171
171
  OptimismMainnet: 'optimism-mainnet',
@@ -201,12 +201,12 @@ exports.AgentUpdateWalletProviderEnum = {
201
201
  Readonly: 'readonly'
202
202
  };
203
203
  exports.AgentUpdateNetworkIdEnum = {
204
+ BaseMainnet: 'base-mainnet',
205
+ BaseSepolia: 'base-sepolia',
204
206
  EthereumMainnet: 'ethereum-mainnet',
205
207
  EthereumSepolia: 'ethereum-sepolia',
206
208
  PolygonMainnet: 'polygon-mainnet',
207
209
  PolygonMumbai: 'polygon-mumbai',
208
- BaseMainnet: 'base-mainnet',
209
- BaseSepolia: 'base-sepolia',
210
210
  ArbitrumMainnet: 'arbitrum-mainnet',
211
211
  ArbitrumSepolia: 'arbitrum-sepolia',
212
212
  OptimismMainnet: 'optimism-mainnet',
@@ -222,12 +222,12 @@ exports.AgentUserInputWalletProviderEnum = {
222
222
  Readonly: 'readonly'
223
223
  };
224
224
  exports.AgentUserInputNetworkIdEnum = {
225
+ BaseMainnet: 'base-mainnet',
226
+ BaseSepolia: 'base-sepolia',
225
227
  EthereumMainnet: 'ethereum-mainnet',
226
228
  EthereumSepolia: 'ethereum-sepolia',
227
229
  PolygonMainnet: 'polygon-mainnet',
228
230
  PolygonMumbai: 'polygon-mumbai',
229
- BaseMainnet: 'base-mainnet',
230
- BaseSepolia: 'base-sepolia',
231
231
  ArbitrumMainnet: 'arbitrum-mainnet',
232
232
  ArbitrumSepolia: 'arbitrum-sepolia',
233
233
  OptimismMainnet: 'optimism-mainnet',
@@ -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.19
5
+ * The version of the OpenAPI document: 0.7.21
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.19
8
+ * The version of the OpenAPI document: 0.7.21
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.19
5
+ * The version of the OpenAPI document: 0.7.21
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.19
8
+ * The version of the OpenAPI document: 0.7.21
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.19
5
+ * The version of the OpenAPI document: 0.7.21
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.19
8
+ * The version of the OpenAPI document: 0.7.21
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.19
5
+ * The version of the OpenAPI document: 0.7.21
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.19
8
+ * The version of the OpenAPI document: 0.7.21
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-28T16:12:41.906+00:00]
31
- **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-28T16:12:41.906+00:00]
30
+ **created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-09-30T06:48:31.418+00:00]
31
+ **updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-30T06:48:31.418+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.19
7
+ * The version of the OpenAPI document: 0.7.21
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.19",
3
+ "version": "0.7.21",
4
4
  "description": "OpenAPI client for @crestal/nation-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {