@crestal/nation-sdk 0.7.2 → 0.7.4
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 +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -2
- package/api.ts +160 -2118
- package/base.ts +1 -25
- package/common.ts +1 -38
- package/configuration.ts +1 -18
- package/dist/api.d.ts +78 -2120
- package/dist/api.js +181 -130
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -38
- package/dist/common.js +1 -38
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Agent.md +2 -2
- package/docs/AgentResponse.md +2 -2
- package/docs/DraftApi.md +45 -0
- package/docs/FileUploadResponse.md +23 -0
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/docs/UserApi.md +53 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.15.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @crestal/nation-sdk@0.7.
|
|
1
|
+
## @crestal/nation-sdk@0.7.4
|
|
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.
|
|
39
|
+
npm install @crestal/nation-sdk@0.7.4 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -84,6 +84,7 @@ Class | Method | HTTP request | Description
|
|
|
84
84
|
*DraftApi* | [**getAgentDraftById**](docs/DraftApi.md#getagentdraftbyid) | **GET** /agents/{agent_id}/drafts/{draft_id} | Get Agent Draft By Id
|
|
85
85
|
*DraftApi* | [**getAgentDrafts**](docs/DraftApi.md#getagentdrafts) | **GET** /agents/{agent_id}/drafts | Get Agent Drafts
|
|
86
86
|
*DraftApi* | [**getAgentLatestDraft**](docs/DraftApi.md#getagentlatestdraft) | **GET** /agents/{agent_id}/draft/latest | Get Agent Latest Draft
|
|
87
|
+
*DraftApi* | [**getUserUnpublishedDrafts**](docs/DraftApi.md#getuserunpublisheddrafts) | **GET** /agent/drafts | Get User Unpublished Drafts
|
|
87
88
|
*DraftApi* | [**updateAgentDraft**](docs/DraftApi.md#updateagentdraft) | **PUT** /agents/{agent_id}/draft | Update Agent Draft
|
|
88
89
|
*GeneratorApi* | [**generateAgent**](docs/GeneratorApi.md#generateagent) | **POST** /generator/agent/generate | Generate Agent from Natural Language Prompt
|
|
89
90
|
*GeneratorApi* | [**getGenerationHistory**](docs/GeneratorApi.md#getgenerationhistory) | **GET** /generator/agent/generations/{project_id} | Get Generation Detail by Project ID
|
|
@@ -99,6 +100,7 @@ Class | Method | HTTP request | Description
|
|
|
99
100
|
*OAuthApi* | [**unlinkTwitter**](docs/OAuthApi.md#unlinktwitter) | **PUT** /oauth/twitter/unlink | Unlink Twitter Endpoint
|
|
100
101
|
*UserApi* | [**getUserAgentById**](docs/UserApi.md#getuseragentbyid) | **GET** /user/agents/{agent_id} | Get User Agent By Id
|
|
101
102
|
*UserApi* | [**getUserAgents**](docs/UserApi.md#getuseragents) | **GET** /user/agents | Get User Agents
|
|
103
|
+
*UserApi* | [**uploadUserFile**](docs/UserApi.md#uploaduserfile) | **POST** /user/upload | Upload User File
|
|
102
104
|
|
|
103
105
|
|
|
104
106
|
### Documentation For Models
|
|
@@ -139,6 +141,7 @@ Class | Method | HTTP request | Description
|
|
|
139
141
|
- [CreditType](docs/CreditType.md)
|
|
140
142
|
- [Direction](docs/Direction.md)
|
|
141
143
|
- [EventType](docs/EventType.md)
|
|
144
|
+
- [FileUploadResponse](docs/FileUploadResponse.md)
|
|
142
145
|
- [GenerationDetailResponse](docs/GenerationDetailResponse.md)
|
|
143
146
|
- [GenerationsListResponse](docs/GenerationsListResponse.md)
|
|
144
147
|
- [HTTPValidationError](docs/HTTPValidationError.md)
|