@crestal/nation-sdk 0.7.4 → 0.7.5
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/VERSION +1 -1
- package/README.md +3 -2
- package/api.ts +2197 -1
- package/base.ts +25 -1
- package/common.ts +38 -1
- package/configuration.ts +18 -1
- package/dist/api.d.ts +2158 -2
- package/dist/api.js +224 -1
- package/dist/base.d.ts +25 -1
- package/dist/base.js +20 -1
- package/dist/common.d.ts +38 -1
- package/dist/common.js +38 -1
- package/dist/configuration.d.ts +18 -1
- 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 +53 -0
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.5
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,22 +12,42 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
15
19
|
export declare const COLLECTION_FORMATS: {
|
|
16
20
|
csv: string;
|
|
17
21
|
ssv: string;
|
|
18
22
|
tsv: string;
|
|
19
23
|
pipes: string;
|
|
20
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface RequestArgs
|
|
29
|
+
*/
|
|
21
30
|
export interface RequestArgs {
|
|
22
31
|
url: string;
|
|
23
32
|
options: RawAxiosRequestConfig;
|
|
24
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
* @class BaseAPI
|
|
38
|
+
*/
|
|
25
39
|
export declare class BaseAPI {
|
|
26
40
|
protected basePath: string;
|
|
27
41
|
protected axios: AxiosInstance;
|
|
28
42
|
protected configuration: Configuration | undefined;
|
|
29
43
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
30
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class RequiredError
|
|
49
|
+
* @extends {Error}
|
|
50
|
+
*/
|
|
31
51
|
export declare class RequiredError extends Error {
|
|
32
52
|
field: string;
|
|
33
53
|
constructor(field: string, msg?: string);
|
|
@@ -38,5 +58,9 @@ interface ServerMap {
|
|
|
38
58
|
description: string;
|
|
39
59
|
}[];
|
|
40
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
41
65
|
export declare const operationServerMap: ServerMap;
|
|
42
66
|
export {};
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.5
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,12 +31,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
31
31
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
32
32
|
var axios_1 = require("axios");
|
|
33
33
|
exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
34
38
|
exports.COLLECTION_FORMATS = {
|
|
35
39
|
csv: ",",
|
|
36
40
|
ssv: " ",
|
|
37
41
|
tsv: "\t",
|
|
38
42
|
pipes: "|",
|
|
39
43
|
};
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @export
|
|
47
|
+
* @class BaseAPI
|
|
48
|
+
*/
|
|
40
49
|
var BaseAPI = /** @class */ (function () {
|
|
41
50
|
function BaseAPI(configuration, basePath, axios) {
|
|
42
51
|
if (basePath === void 0) { basePath = exports.BASE_PATH; }
|
|
@@ -53,6 +62,12 @@ var BaseAPI = /** @class */ (function () {
|
|
|
53
62
|
}());
|
|
54
63
|
exports.BaseAPI = BaseAPI;
|
|
55
64
|
;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @export
|
|
68
|
+
* @class RequiredError
|
|
69
|
+
* @extends {Error}
|
|
70
|
+
*/
|
|
56
71
|
var RequiredError = /** @class */ (function (_super) {
|
|
57
72
|
__extends(RequiredError, _super);
|
|
58
73
|
function RequiredError(field, msg) {
|
|
@@ -64,4 +79,8 @@ var RequiredError = /** @class */ (function (_super) {
|
|
|
64
79
|
return RequiredError;
|
|
65
80
|
}(Error));
|
|
66
81
|
exports.RequiredError = RequiredError;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
67
86
|
exports.operationServerMap = {};
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.5
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,17 +12,54 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
15
19
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
16
20
|
/**
|
|
17
21
|
*
|
|
18
22
|
* @throws {RequiredError}
|
|
23
|
+
* @export
|
|
19
24
|
*/
|
|
20
25
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
21
30
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
22
35
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
23
40
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
24
45
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
25
50
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
26
55
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
27
60
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
28
65
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
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.
|
|
8
|
+
* The version of the OpenAPI document: 0.7.5
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -62,10 +62,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
62
62
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63
63
|
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
64
64
|
var base_1 = require("./base");
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @export
|
|
68
|
+
*/
|
|
65
69
|
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
66
70
|
/**
|
|
67
71
|
*
|
|
68
72
|
* @throws {RequiredError}
|
|
73
|
+
* @export
|
|
69
74
|
*/
|
|
70
75
|
var assertParamExists = function (functionName, paramName, paramValue) {
|
|
71
76
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -73,6 +78,10 @@ var assertParamExists = function (functionName, paramName, paramValue) {
|
|
|
73
78
|
}
|
|
74
79
|
};
|
|
75
80
|
exports.assertParamExists = assertParamExists;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @export
|
|
84
|
+
*/
|
|
76
85
|
var setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
77
86
|
return __awaiter(this, void 0, void 0, function () {
|
|
78
87
|
var localVarApiKeyValue, _a;
|
|
@@ -99,12 +108,20 @@ var setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
|
99
108
|
});
|
|
100
109
|
};
|
|
101
110
|
exports.setApiKeyToObject = setApiKeyToObject;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
102
115
|
var setBasicAuthToObject = function (object, configuration) {
|
|
103
116
|
if (configuration && (configuration.username || configuration.password)) {
|
|
104
117
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
105
118
|
}
|
|
106
119
|
};
|
|
107
120
|
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @export
|
|
124
|
+
*/
|
|
108
125
|
var setBearerAuthToObject = function (object, configuration) {
|
|
109
126
|
return __awaiter(this, void 0, void 0, function () {
|
|
110
127
|
var accessToken, _a;
|
|
@@ -131,6 +148,10 @@ var setBearerAuthToObject = function (object, configuration) {
|
|
|
131
148
|
});
|
|
132
149
|
};
|
|
133
150
|
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @export
|
|
154
|
+
*/
|
|
134
155
|
var setOAuthToObject = function (object, name, scopes, configuration) {
|
|
135
156
|
return __awaiter(this, void 0, void 0, function () {
|
|
136
157
|
var localVarAccessTokenValue, _a;
|
|
@@ -180,6 +201,10 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key) {
|
|
|
180
201
|
}
|
|
181
202
|
}
|
|
182
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @export
|
|
207
|
+
*/
|
|
183
208
|
var setSearchParams = function (url) {
|
|
184
209
|
var objects = [];
|
|
185
210
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
@@ -190,6 +215,10 @@ var setSearchParams = function (url) {
|
|
|
190
215
|
url.search = searchParams.toString();
|
|
191
216
|
};
|
|
192
217
|
exports.setSearchParams = setSearchParams;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @export
|
|
221
|
+
*/
|
|
193
222
|
var serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
194
223
|
var nonString = typeof value !== 'string';
|
|
195
224
|
var needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
@@ -200,10 +229,18 @@ var serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
|
200
229
|
: (value || "");
|
|
201
230
|
};
|
|
202
231
|
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @export
|
|
235
|
+
*/
|
|
203
236
|
var toPathString = function (url) {
|
|
204
237
|
return url.pathname + url.search + url.hash;
|
|
205
238
|
};
|
|
206
239
|
exports.toPathString = toPathString;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @export
|
|
243
|
+
*/
|
|
207
244
|
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
208
245
|
return function (axios, basePath) {
|
|
209
246
|
var _a;
|
package/dist/configuration.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.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.5
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,32 +23,49 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
+
* @memberof Configuration
|
|
26
27
|
*/
|
|
27
28
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
29
|
/**
|
|
29
30
|
* parameter for basic security
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Configuration
|
|
30
34
|
*/
|
|
31
35
|
username?: string;
|
|
32
36
|
/**
|
|
33
37
|
* parameter for basic security
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Configuration
|
|
34
41
|
*/
|
|
35
42
|
password?: string;
|
|
36
43
|
/**
|
|
37
44
|
* parameter for oauth2 security
|
|
38
45
|
* @param name security name
|
|
39
46
|
* @param scopes oauth2 scope
|
|
47
|
+
* @memberof Configuration
|
|
40
48
|
*/
|
|
41
49
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
42
50
|
/**
|
|
43
51
|
* override base path
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Configuration
|
|
44
55
|
*/
|
|
45
56
|
basePath?: string;
|
|
46
57
|
/**
|
|
47
58
|
* override server index
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof Configuration
|
|
48
62
|
*/
|
|
49
63
|
serverIndex?: number;
|
|
50
64
|
/**
|
|
51
65
|
* base options for axios calls
|
|
66
|
+
*
|
|
67
|
+
* @type {any}
|
|
68
|
+
* @memberof Configuration
|
|
52
69
|
*/
|
|
53
70
|
baseOptions?: any;
|
|
54
71
|
/**
|
package/dist/configuration.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/Agent.md
CHANGED
|
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**description** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**external_website** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**ticker** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**token_address** | **string** | | [optional] [
|
|
13
|
-
**token_pool** | **string** | | [optional] [
|
|
12
|
+
**token_address** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**token_pool** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**fee_percentage** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**example_intro** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**examples** | [**Array<AgentExample>**](AgentExample.md) | | [optional] [default to undefined]
|
package/docs/AgentResponse.md
CHANGED
|
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**description** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**external_website** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**ticker** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**token_address** | **string** | | [optional] [
|
|
13
|
-
**token_pool** | **string** | | [optional] [
|
|
12
|
+
**token_address** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**token_pool** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**fee_percentage** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**example_intro** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**examples** | [**Array<AgentExample>**](AgentExample.md) | | [optional] [default to undefined]
|
package/docs/DraftApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**createAgentDraft**](#createagentdraft) | **POST** /agent/draft | Create Agent Draft|
|
|
8
|
+
|[**deleteAgentDraft**](#deleteagentdraft) | **DELETE** /agent/drafts/{draft_id} | Delete Agent Draft|
|
|
8
9
|
|[**deployAgentFromDraft**](#deployagentfromdraft) | **POST** /agent/deploy | Deploy Agent From Draft|
|
|
9
10
|
|[**getAgentDraftById**](#getagentdraftbyid) | **GET** /agents/{agent_id}/drafts/{draft_id} | Get Agent Draft By Id|
|
|
10
11
|
|[**getAgentDrafts**](#getagentdrafts) | **GET** /agents/{agent_id}/drafts | Get Agent Drafts|
|
|
@@ -65,6 +66,58 @@ const { status, data } = await apiInstance.createAgentDraft(
|
|
|
65
66
|
|
|
66
67
|
[[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)
|
|
67
68
|
|
|
69
|
+
# **deleteAgentDraft**
|
|
70
|
+
> deleteAgentDraft()
|
|
71
|
+
|
|
72
|
+
Delete an unpublished agent draft. Removes the specified draft when it belongs to the current user and has not been deployed yet. Use this to clean up unused drafts before deployment. Possible HTTP errors: - 400: Draft has already been deployed and cannot be deleted - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found for the current user - 500: Internal server error
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
DraftApi,
|
|
79
|
+
Configuration
|
|
80
|
+
} from '@crestal/nation-sdk';
|
|
81
|
+
|
|
82
|
+
const configuration = new Configuration();
|
|
83
|
+
const apiInstance = new DraftApi(configuration);
|
|
84
|
+
|
|
85
|
+
let draftId: string; //Draft ID (default to undefined)
|
|
86
|
+
|
|
87
|
+
const { status, data } = await apiInstance.deleteAgentDraft(
|
|
88
|
+
draftId
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Parameters
|
|
93
|
+
|
|
94
|
+
|Name | Type | Description | Notes|
|
|
95
|
+
|------------- | ------------- | ------------- | -------------|
|
|
96
|
+
| **draftId** | [**string**] | Draft ID | defaults to undefined|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Return type
|
|
100
|
+
|
|
101
|
+
void (empty response body)
|
|
102
|
+
|
|
103
|
+
### Authorization
|
|
104
|
+
|
|
105
|
+
[HTTPBearer](../README.md#HTTPBearer)
|
|
106
|
+
|
|
107
|
+
### HTTP request headers
|
|
108
|
+
|
|
109
|
+
- **Content-Type**: Not defined
|
|
110
|
+
- **Accept**: application/json
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### HTTP response details
|
|
114
|
+
| Status code | Description | Response headers |
|
|
115
|
+
|-------------|-------------|------------------|
|
|
116
|
+
|**204** | Successful Response | - |
|
|
117
|
+
|**422** | Validation Error | - |
|
|
118
|
+
|
|
119
|
+
[[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)
|
|
120
|
+
|
|
68
121
|
# **deployAgentFromDraft**
|
|
69
122
|
> AgentResponse deployAgentFromDraft(agentDeployRequest)
|
|
70
123
|
|
|
@@ -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-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-09-19T15:35:38.733+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-09-19T15:35:38.733+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
package/index.ts
CHANGED