@crestal/nation-sdk 0.1.28 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +7 -0
- package/README.md +12 -2
- package/api.ts +630 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +387 -1
- package/dist/api.js +569 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgentGenerateRequest.md +25 -0
- package/docs/AgentGenerateResponse.md +31 -0
- package/docs/GenerationDetailResponse.md +35 -0
- package/docs/GenerationsListResponse.md +21 -0
- package/docs/GeneratorApi.md +167 -0
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/docs/OAuthApi.md +122 -0
- package/docs/TwitterAuthResponse.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -10,6 +10,8 @@ docs/Agent.md
|
|
|
10
10
|
docs/AgentApi.md
|
|
11
11
|
docs/AgentAutonomous.md
|
|
12
12
|
docs/AgentExample.md
|
|
13
|
+
docs/AgentGenerateRequest.md
|
|
14
|
+
docs/AgentGenerateResponse.md
|
|
13
15
|
docs/AgentListResponse.md
|
|
14
16
|
docs/AgentResponse.md
|
|
15
17
|
docs/AgentSortOption.md
|
|
@@ -37,14 +39,19 @@ docs/CreditType.md
|
|
|
37
39
|
docs/Direction.md
|
|
38
40
|
docs/EventType.md
|
|
39
41
|
docs/FeePercentage.md
|
|
42
|
+
docs/GenerationDetailResponse.md
|
|
43
|
+
docs/GenerationsListResponse.md
|
|
44
|
+
docs/GeneratorApi.md
|
|
40
45
|
docs/HTTPValidationError.md
|
|
41
46
|
docs/HealthApi.md
|
|
42
47
|
docs/LLMModelInfoWithProviderName.md
|
|
43
48
|
docs/LLMProvider.md
|
|
44
49
|
docs/MetadataApi.md
|
|
50
|
+
docs/OAuthApi.md
|
|
45
51
|
docs/OwnerType.md
|
|
46
52
|
docs/Skill.md
|
|
47
53
|
docs/TransactionType.md
|
|
54
|
+
docs/TwitterAuthResponse.md
|
|
48
55
|
docs/UpstreamType.md
|
|
49
56
|
docs/UserApi.md
|
|
50
57
|
docs/ValidationError.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @crestal/nation-sdk@0.1.
|
|
1
|
+
## @crestal/nation-sdk@0.1.30
|
|
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.
|
|
39
|
+
npm install @crestal/nation-sdk@0.1.30 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -75,12 +75,17 @@ Class | Method | HTTP request | Description
|
|
|
75
75
|
*CreditApi* | [**listAgentIncomeEvents**](docs/CreditApi.md#listagentincomeevents) | **GET** /credit/agents/{agent_id}/events | List Agent Income
|
|
76
76
|
*CreditApi* | [**listUserEvents**](docs/CreditApi.md#listuserevents) | **GET** /credit/user/events | List User Events
|
|
77
77
|
*CreditApi* | [**listUserTransactions**](docs/CreditApi.md#listusertransactions) | **GET** /credit/user/transactions | List User Transactions
|
|
78
|
+
*GeneratorApi* | [**generateAgentGeneratorAgentGeneratePost**](docs/GeneratorApi.md#generateagentgeneratoragentgeneratepost) | **POST** /generator/agent/generate | Generate Agent from Natural Language Prompt
|
|
79
|
+
*GeneratorApi* | [**getGenerationDetailGeneratorAgentGenerationsProjectIdGet**](docs/GeneratorApi.md#getgenerationdetailgeneratoragentgenerationsprojectidget) | **GET** /generator/agent/generations/{project_id} | Get Generation Detail by Project ID
|
|
80
|
+
*GeneratorApi* | [**getGenerationsGeneratorAgentGenerationsGet**](docs/GeneratorApi.md#getgenerationsgeneratoragentgenerationsget) | **GET** /generator/agent/generations | Get Generations List by User
|
|
78
81
|
*HealthApi* | [**healthCheckHealthGet**](docs/HealthApi.md#healthcheckhealthget) | **GET** /health | Health check endpoint
|
|
79
82
|
*MetadataApi* | [**getAgentSchema**](docs/MetadataApi.md#getagentschema) | **GET** /metadata/agent/schema.json | Get agent schema
|
|
80
83
|
*MetadataApi* | [**getLlmsMetadataLlmsGet**](docs/MetadataApi.md#getllmsmetadatallmsget) | **GET** /metadata/llms | Get all LLM models
|
|
81
84
|
*MetadataApi* | [**getSkillIcon**](docs/MetadataApi.md#getskillicon) | **GET** /metadata/skills/{skill}/{icon_name}.{ext} | Get skill icon
|
|
82
85
|
*MetadataApi* | [**getSkillSchema**](docs/MetadataApi.md#getskillschema) | **GET** /metadata/skills/{skill}/schema.json | Get skill schema
|
|
83
86
|
*MetadataApi* | [**getSkillsMetadataSkillsGet**](docs/MetadataApi.md#getskillsmetadataskillsget) | **GET** /metadata/skills | Get all skills
|
|
87
|
+
*OAuthApi* | [**getTwitterAuthUrlOauthTwitterGet**](docs/OAuthApi.md#gettwitterauthurloauthtwitterget) | **GET** /oauth/twitter | Get Twitter Auth Url
|
|
88
|
+
*OAuthApi* | [**twitterOauthCallbackOauthTwitterCallbackGet**](docs/OAuthApi.md#twitteroauthcallbackoauthtwittercallbackget) | **GET** /oauth/twitter/callback | Twitter Oauth Callback
|
|
84
89
|
*UserApi* | [**getUserAgentById**](docs/UserApi.md#getuseragentbyid) | **GET** /user/agents/{agent_id} | Get User Agent By Id
|
|
85
90
|
*UserApi* | [**getUserAgents**](docs/UserApi.md#getuseragents) | **GET** /user/agents | Get User Agents
|
|
86
91
|
|
|
@@ -90,6 +95,8 @@ Class | Method | HTTP request | Description
|
|
|
90
95
|
- [Agent](docs/Agent.md)
|
|
91
96
|
- [AgentAutonomous](docs/AgentAutonomous.md)
|
|
92
97
|
- [AgentExample](docs/AgentExample.md)
|
|
98
|
+
- [AgentGenerateRequest](docs/AgentGenerateRequest.md)
|
|
99
|
+
- [AgentGenerateResponse](docs/AgentGenerateResponse.md)
|
|
93
100
|
- [AgentListResponse](docs/AgentListResponse.md)
|
|
94
101
|
- [AgentResponse](docs/AgentResponse.md)
|
|
95
102
|
- [AgentSortOption](docs/AgentSortOption.md)
|
|
@@ -115,12 +122,15 @@ Class | Method | HTTP request | Description
|
|
|
115
122
|
- [Direction](docs/Direction.md)
|
|
116
123
|
- [EventType](docs/EventType.md)
|
|
117
124
|
- [FeePercentage](docs/FeePercentage.md)
|
|
125
|
+
- [GenerationDetailResponse](docs/GenerationDetailResponse.md)
|
|
126
|
+
- [GenerationsListResponse](docs/GenerationsListResponse.md)
|
|
118
127
|
- [HTTPValidationError](docs/HTTPValidationError.md)
|
|
119
128
|
- [LLMModelInfoWithProviderName](docs/LLMModelInfoWithProviderName.md)
|
|
120
129
|
- [LLMProvider](docs/LLMProvider.md)
|
|
121
130
|
- [OwnerType](docs/OwnerType.md)
|
|
122
131
|
- [Skill](docs/Skill.md)
|
|
123
132
|
- [TransactionType](docs/TransactionType.md)
|
|
133
|
+
- [TwitterAuthResponse](docs/TwitterAuthResponse.md)
|
|
124
134
|
- [UpstreamType](docs/UpstreamType.md)
|
|
125
135
|
- [ValidationError](docs/ValidationError.md)
|
|
126
136
|
- [ValidationErrorLocInner](docs/ValidationErrorLocInner.md)
|