@daytonaio/toolbox-api-client 0.119.0 → 0.121.0
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/package.json +1 -1
- package/src/api/interpreter-api.d.ts +173 -0
- package/src/api/interpreter-api.js +307 -0
- package/src/api/interpreter-api.js.map +1 -0
- package/src/api.d.ts +1 -0
- package/src/api.js +1 -0
- package/src/api.js.map +1 -1
- package/src/models/{ptyresize-request.d.ts → create-context-request.d.ts} +8 -8
- package/src/models/{project-dir-response.js → create-context-request.js} +1 -1
- package/src/models/create-context-request.js.map +1 -0
- package/src/models/create-context-response.d.ts +48 -0
- package/src/models/{file-download-request.js → create-context-response.js} +1 -1
- package/src/models/create-context-response.js.map +1 -0
- package/src/models/index.d.ts +3 -0
- package/src/models/index.js +3 -0
- package/src/models/index.js.map +1 -1
- package/src/models/interpreter-context-info.d.ts +48 -0
- package/src/models/{ptycreate-request.js → interpreter-context-info.js} +1 -1
- package/src/models/interpreter-context-info.js.map +1 -0
- package/src/models/interpreter-context.d.ts +48 -0
- package/src/models/{ptysession-info.js → interpreter-context.js} +1 -1
- package/src/models/interpreter-context.js.map +1 -0
- package/src/models/{file-download-request.d.ts → list-contexts-response.d.ts} +6 -5
- package/src/models/{ptylist-response.js → list-contexts-response.js} +1 -1
- package/src/models/list-contexts-response.js.map +1 -0
- package/src/models/file-download-request.js.map +0 -1
- package/src/models/project-dir-response.d.ts +0 -24
- package/src/models/project-dir-response.js.map +0 -1
- package/src/models/ptycreate-request.d.ts +0 -56
- package/src/models/ptycreate-request.js.map +0 -1
- package/src/models/ptycreate-response.d.ts +0 -24
- package/src/models/ptycreate-response.js +0 -4
- package/src/models/ptycreate-response.js.map +0 -1
- package/src/models/ptylist-response.d.ts +0 -25
- package/src/models/ptylist-response.js.map +0 -1
- package/src/models/ptyresize-request.js +0 -4
- package/src/models/ptyresize-request.js.map +0 -1
- package/src/models/ptysession-info.d.ts +0 -68
- package/src/models/ptysession-info.js.map +0 -1
package/package.json
CHANGED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Daemon API
|
|
3
|
+
* Daytona Daemon API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { CreateContextRequest } from '../models';
|
|
16
|
+
import type { InterpreterContext } from '../models';
|
|
17
|
+
import type { ListContextsResponse } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* InterpreterApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const InterpreterApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
* Creates a new isolated interpreter context with optional working directory and language
|
|
25
|
+
* @summary Create a new interpreter context
|
|
26
|
+
* @param {CreateContextRequest} request Context configuration
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
createInterpreterContext: (request: CreateContextRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
* Deletes an interpreter context and shuts down its worker process
|
|
33
|
+
* @summary Delete an interpreter context
|
|
34
|
+
* @param {string} id Context ID
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
deleteInterpreterContext: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
+
/**
|
|
40
|
+
* Executes code in a specified context (or default context if not specified) via WebSocket streaming
|
|
41
|
+
* @summary Execute code in an interpreter context
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
executeInterpreterCode: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
/**
|
|
47
|
+
* Returns information about all user-created interpreter contexts (excludes default context)
|
|
48
|
+
* @summary List all user-created interpreter contexts
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
listInterpreterContexts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* InterpreterApi - functional programming interface
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const InterpreterApiFp: (configuration?: Configuration) => {
|
|
59
|
+
/**
|
|
60
|
+
* Creates a new isolated interpreter context with optional working directory and language
|
|
61
|
+
* @summary Create a new interpreter context
|
|
62
|
+
* @param {CreateContextRequest} request Context configuration
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
createInterpreterContext(request: CreateContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InterpreterContext>>;
|
|
67
|
+
/**
|
|
68
|
+
* Deletes an interpreter context and shuts down its worker process
|
|
69
|
+
* @summary Delete an interpreter context
|
|
70
|
+
* @param {string} id Context ID
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
deleteInterpreterContext(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
}>>;
|
|
77
|
+
/**
|
|
78
|
+
* Executes code in a specified context (or default context if not specified) via WebSocket streaming
|
|
79
|
+
* @summary Execute code in an interpreter context
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
executeInterpreterCode(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
84
|
+
/**
|
|
85
|
+
* Returns information about all user-created interpreter contexts (excludes default context)
|
|
86
|
+
* @summary List all user-created interpreter contexts
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
listInterpreterContexts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListContextsResponse>>;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* InterpreterApi - factory interface
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
export declare const InterpreterApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
97
|
+
/**
|
|
98
|
+
* Creates a new isolated interpreter context with optional working directory and language
|
|
99
|
+
* @summary Create a new interpreter context
|
|
100
|
+
* @param {CreateContextRequest} request Context configuration
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
createInterpreterContext(request: CreateContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<InterpreterContext>;
|
|
105
|
+
/**
|
|
106
|
+
* Deletes an interpreter context and shuts down its worker process
|
|
107
|
+
* @summary Delete an interpreter context
|
|
108
|
+
* @param {string} id Context ID
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
deleteInterpreterContext(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
113
|
+
[key: string]: string;
|
|
114
|
+
}>;
|
|
115
|
+
/**
|
|
116
|
+
* Executes code in a specified context (or default context if not specified) via WebSocket streaming
|
|
117
|
+
* @summary Execute code in an interpreter context
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
executeInterpreterCode(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
122
|
+
/**
|
|
123
|
+
* Returns information about all user-created interpreter contexts (excludes default context)
|
|
124
|
+
* @summary List all user-created interpreter contexts
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
listInterpreterContexts(options?: RawAxiosRequestConfig): AxiosPromise<ListContextsResponse>;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* InterpreterApi - object-oriented interface
|
|
132
|
+
* @export
|
|
133
|
+
* @class InterpreterApi
|
|
134
|
+
* @extends {BaseAPI}
|
|
135
|
+
*/
|
|
136
|
+
export declare class InterpreterApi extends BaseAPI {
|
|
137
|
+
/**
|
|
138
|
+
* Creates a new isolated interpreter context with optional working directory and language
|
|
139
|
+
* @summary Create a new interpreter context
|
|
140
|
+
* @param {CreateContextRequest} request Context configuration
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
* @memberof InterpreterApi
|
|
144
|
+
*/
|
|
145
|
+
createInterpreterContext(request: CreateContextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InterpreterContext, any>>;
|
|
146
|
+
/**
|
|
147
|
+
* Deletes an interpreter context and shuts down its worker process
|
|
148
|
+
* @summary Delete an interpreter context
|
|
149
|
+
* @param {string} id Context ID
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
* @memberof InterpreterApi
|
|
153
|
+
*/
|
|
154
|
+
deleteInterpreterContext(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
155
|
+
[key: string]: string;
|
|
156
|
+
}, any>>;
|
|
157
|
+
/**
|
|
158
|
+
* Executes code in a specified context (or default context if not specified) via WebSocket streaming
|
|
159
|
+
* @summary Execute code in an interpreter context
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
* @memberof InterpreterApi
|
|
163
|
+
*/
|
|
164
|
+
executeInterpreterCode(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
165
|
+
/**
|
|
166
|
+
* Returns information about all user-created interpreter contexts (excludes default context)
|
|
167
|
+
* @summary List all user-created interpreter contexts
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
* @memberof InterpreterApi
|
|
171
|
+
*/
|
|
172
|
+
listInterpreterContexts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListContextsResponse, any>>;
|
|
173
|
+
}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Daemon API
|
|
6
|
+
* Daytona Daemon API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.InterpreterApi = exports.InterpreterApiFactory = exports.InterpreterApiFp = exports.InterpreterApiAxiosParamCreator = void 0;
|
|
17
|
+
const axios_1 = require("axios");
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
const common_1 = require("../common");
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
const base_1 = require("../base");
|
|
23
|
+
/**
|
|
24
|
+
* InterpreterApi - axios parameter creator
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
const InterpreterApiAxiosParamCreator = function (configuration) {
|
|
28
|
+
return {
|
|
29
|
+
/**
|
|
30
|
+
* Creates a new isolated interpreter context with optional working directory and language
|
|
31
|
+
* @summary Create a new interpreter context
|
|
32
|
+
* @param {CreateContextRequest} request Context configuration
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
createInterpreterContext: async (request, options = {}) => {
|
|
37
|
+
// verify required parameter 'request' is not null or undefined
|
|
38
|
+
(0, common_1.assertParamExists)('createInterpreterContext', 'request', request);
|
|
39
|
+
const localVarPath = `/process/interpreter/context`;
|
|
40
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
42
|
+
let baseOptions;
|
|
43
|
+
if (configuration) {
|
|
44
|
+
baseOptions = configuration.baseOptions;
|
|
45
|
+
}
|
|
46
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
47
|
+
const localVarHeaderParameter = {};
|
|
48
|
+
const localVarQueryParameter = {};
|
|
49
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
50
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
51
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
53
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(request, localVarRequestOptions, configuration);
|
|
54
|
+
return {
|
|
55
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
56
|
+
options: localVarRequestOptions,
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
* Deletes an interpreter context and shuts down its worker process
|
|
61
|
+
* @summary Delete an interpreter context
|
|
62
|
+
* @param {string} id Context ID
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
deleteInterpreterContext: async (id, options = {}) => {
|
|
67
|
+
// verify required parameter 'id' is not null or undefined
|
|
68
|
+
(0, common_1.assertParamExists)('deleteInterpreterContext', 'id', id);
|
|
69
|
+
const localVarPath = `/process/interpreter/context/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
70
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
71
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
72
|
+
let baseOptions;
|
|
73
|
+
if (configuration) {
|
|
74
|
+
baseOptions = configuration.baseOptions;
|
|
75
|
+
}
|
|
76
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
77
|
+
const localVarHeaderParameter = {};
|
|
78
|
+
const localVarQueryParameter = {};
|
|
79
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
80
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
82
|
+
return {
|
|
83
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Executes code in a specified context (or default context if not specified) via WebSocket streaming
|
|
89
|
+
* @summary Execute code in an interpreter context
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
executeInterpreterCode: async (options = {}) => {
|
|
94
|
+
const localVarPath = `/process/interpreter/execute`;
|
|
95
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
96
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
97
|
+
let baseOptions;
|
|
98
|
+
if (configuration) {
|
|
99
|
+
baseOptions = configuration.baseOptions;
|
|
100
|
+
}
|
|
101
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
102
|
+
const localVarHeaderParameter = {};
|
|
103
|
+
const localVarQueryParameter = {};
|
|
104
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
107
|
+
return {
|
|
108
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
109
|
+
options: localVarRequestOptions,
|
|
110
|
+
};
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
* Returns information about all user-created interpreter contexts (excludes default context)
|
|
114
|
+
* @summary List all user-created interpreter contexts
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
listInterpreterContexts: async (options = {}) => {
|
|
119
|
+
const localVarPath = `/process/interpreter/context`;
|
|
120
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
121
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
|
+
let baseOptions;
|
|
123
|
+
if (configuration) {
|
|
124
|
+
baseOptions = configuration.baseOptions;
|
|
125
|
+
}
|
|
126
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
127
|
+
const localVarHeaderParameter = {};
|
|
128
|
+
const localVarQueryParameter = {};
|
|
129
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
131
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
132
|
+
return {
|
|
133
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
exports.InterpreterApiAxiosParamCreator = InterpreterApiAxiosParamCreator;
|
|
140
|
+
/**
|
|
141
|
+
* InterpreterApi - functional programming interface
|
|
142
|
+
* @export
|
|
143
|
+
*/
|
|
144
|
+
const InterpreterApiFp = function (configuration) {
|
|
145
|
+
const localVarAxiosParamCreator = (0, exports.InterpreterApiAxiosParamCreator)(configuration);
|
|
146
|
+
return {
|
|
147
|
+
/**
|
|
148
|
+
* Creates a new isolated interpreter context with optional working directory and language
|
|
149
|
+
* @summary Create a new interpreter context
|
|
150
|
+
* @param {CreateContextRequest} request Context configuration
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
async createInterpreterContext(request, options) {
|
|
155
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createInterpreterContext(request, options);
|
|
156
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
157
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InterpreterApi.createInterpreterContext']?.[localVarOperationServerIndex]?.url;
|
|
158
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
* Deletes an interpreter context and shuts down its worker process
|
|
162
|
+
* @summary Delete an interpreter context
|
|
163
|
+
* @param {string} id Context ID
|
|
164
|
+
* @param {*} [options] Override http request option.
|
|
165
|
+
* @throws {RequiredError}
|
|
166
|
+
*/
|
|
167
|
+
async deleteInterpreterContext(id, options) {
|
|
168
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInterpreterContext(id, options);
|
|
169
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
170
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InterpreterApi.deleteInterpreterContext']?.[localVarOperationServerIndex]?.url;
|
|
171
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
172
|
+
},
|
|
173
|
+
/**
|
|
174
|
+
* Executes code in a specified context (or default context if not specified) via WebSocket streaming
|
|
175
|
+
* @summary Execute code in an interpreter context
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
async executeInterpreterCode(options) {
|
|
180
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeInterpreterCode(options);
|
|
181
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
182
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InterpreterApi.executeInterpreterCode']?.[localVarOperationServerIndex]?.url;
|
|
183
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
186
|
+
* Returns information about all user-created interpreter contexts (excludes default context)
|
|
187
|
+
* @summary List all user-created interpreter contexts
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
async listInterpreterContexts(options) {
|
|
192
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listInterpreterContexts(options);
|
|
193
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
194
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['InterpreterApi.listInterpreterContexts']?.[localVarOperationServerIndex]?.url;
|
|
195
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
196
|
+
},
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
exports.InterpreterApiFp = InterpreterApiFp;
|
|
200
|
+
/**
|
|
201
|
+
* InterpreterApi - factory interface
|
|
202
|
+
* @export
|
|
203
|
+
*/
|
|
204
|
+
const InterpreterApiFactory = function (configuration, basePath, axios) {
|
|
205
|
+
const localVarFp = (0, exports.InterpreterApiFp)(configuration);
|
|
206
|
+
return {
|
|
207
|
+
/**
|
|
208
|
+
* Creates a new isolated interpreter context with optional working directory and language
|
|
209
|
+
* @summary Create a new interpreter context
|
|
210
|
+
* @param {CreateContextRequest} request Context configuration
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
createInterpreterContext(request, options) {
|
|
215
|
+
return localVarFp.createInterpreterContext(request, options).then((request) => request(axios, basePath));
|
|
216
|
+
},
|
|
217
|
+
/**
|
|
218
|
+
* Deletes an interpreter context and shuts down its worker process
|
|
219
|
+
* @summary Delete an interpreter context
|
|
220
|
+
* @param {string} id Context ID
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
deleteInterpreterContext(id, options) {
|
|
225
|
+
return localVarFp.deleteInterpreterContext(id, options).then((request) => request(axios, basePath));
|
|
226
|
+
},
|
|
227
|
+
/**
|
|
228
|
+
* Executes code in a specified context (or default context if not specified) via WebSocket streaming
|
|
229
|
+
* @summary Execute code in an interpreter context
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
executeInterpreterCode(options) {
|
|
234
|
+
return localVarFp.executeInterpreterCode(options).then((request) => request(axios, basePath));
|
|
235
|
+
},
|
|
236
|
+
/**
|
|
237
|
+
* Returns information about all user-created interpreter contexts (excludes default context)
|
|
238
|
+
* @summary List all user-created interpreter contexts
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
listInterpreterContexts(options) {
|
|
243
|
+
return localVarFp.listInterpreterContexts(options).then((request) => request(axios, basePath));
|
|
244
|
+
},
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
exports.InterpreterApiFactory = InterpreterApiFactory;
|
|
248
|
+
/**
|
|
249
|
+
* InterpreterApi - object-oriented interface
|
|
250
|
+
* @export
|
|
251
|
+
* @class InterpreterApi
|
|
252
|
+
* @extends {BaseAPI}
|
|
253
|
+
*/
|
|
254
|
+
class InterpreterApi extends base_1.BaseAPI {
|
|
255
|
+
/**
|
|
256
|
+
* Creates a new isolated interpreter context with optional working directory and language
|
|
257
|
+
* @summary Create a new interpreter context
|
|
258
|
+
* @param {CreateContextRequest} request Context configuration
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
* @memberof InterpreterApi
|
|
262
|
+
*/
|
|
263
|
+
createInterpreterContext(request, options) {
|
|
264
|
+
return (0, exports.InterpreterApiFp)(this.configuration)
|
|
265
|
+
.createInterpreterContext(request, options)
|
|
266
|
+
.then((request) => request(this.axios, this.basePath));
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Deletes an interpreter context and shuts down its worker process
|
|
270
|
+
* @summary Delete an interpreter context
|
|
271
|
+
* @param {string} id Context ID
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
* @memberof InterpreterApi
|
|
275
|
+
*/
|
|
276
|
+
deleteInterpreterContext(id, options) {
|
|
277
|
+
return (0, exports.InterpreterApiFp)(this.configuration)
|
|
278
|
+
.deleteInterpreterContext(id, options)
|
|
279
|
+
.then((request) => request(this.axios, this.basePath));
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Executes code in a specified context (or default context if not specified) via WebSocket streaming
|
|
283
|
+
* @summary Execute code in an interpreter context
|
|
284
|
+
* @param {*} [options] Override http request option.
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
* @memberof InterpreterApi
|
|
287
|
+
*/
|
|
288
|
+
executeInterpreterCode(options) {
|
|
289
|
+
return (0, exports.InterpreterApiFp)(this.configuration)
|
|
290
|
+
.executeInterpreterCode(options)
|
|
291
|
+
.then((request) => request(this.axios, this.basePath));
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Returns information about all user-created interpreter contexts (excludes default context)
|
|
295
|
+
* @summary List all user-created interpreter contexts
|
|
296
|
+
* @param {*} [options] Override http request option.
|
|
297
|
+
* @throws {RequiredError}
|
|
298
|
+
* @memberof InterpreterApi
|
|
299
|
+
*/
|
|
300
|
+
listInterpreterContexts(options) {
|
|
301
|
+
return (0, exports.InterpreterApiFp)(this.configuration)
|
|
302
|
+
.listInterpreterContexts(options)
|
|
303
|
+
.then((request) => request(this.axios, this.basePath));
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
exports.InterpreterApi = InterpreterApi;
|
|
307
|
+
//# sourceMappingURL=interpreter-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpreter-api.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/api/interpreter-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,iCAA+B;AAC/B,yDAAyD;AACzD,aAAa;AACb,sCAWkB;AAClB,aAAa;AACb,kCAAqH;AAOrH;;;GAGG;AACI,MAAM,+BAA+B,GAAG,UAAU,aAA6B;IACpF,OAAO;QACL;;;;;;WAMG;QACH,wBAAwB,EAAE,KAAK,EAC7B,OAA6B,EAC7B,UAAiC,EAAE,EACb,EAAE;YACxB,+DAA+D;YAC/D,IAAA,0BAAiB,EAAC,0BAA0B,EAAE,SAAS,EAAE,OAAO,CAAC,CA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AC1C,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;IAED;;;;;;;OAOG;IACI,wBAAwB,CAAC,EAAU,EAAE,OAA+B;QACzE,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,aAAa,CAAC;aACxC,wBAAwB,CAAC,EAAE,EAAE,OAAO,CAAC;aACrC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;IAED;;;;;;OAMG;IACI,sBAAsB,CAAC,OAA+B;QAC3D,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,aAAa,CAAC;aACxC,sBAAsB,CAAC,OAAO,CAAC;aAC/B,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;IAED;;;;;;OAMG;IACI,uBAAuB,CAAC,OAA+B;QAC5D,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,aAAa,CAAC;aACxC,uBAAuB,CAAC,OAAO,CAAC;aAChC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;CACF;AAtDD,wCAsDC"}
|
package/src/api.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './api/computer-use-api';
|
|
|
13
13
|
export * from './api/file-system-api';
|
|
14
14
|
export * from './api/git-api';
|
|
15
15
|
export * from './api/info-api';
|
|
16
|
+
export * from './api/interpreter-api';
|
|
16
17
|
export * from './api/lsp-api';
|
|
17
18
|
export * from './api/port-api';
|
|
18
19
|
export * from './api/process-api';
|
package/src/api.js
CHANGED
|
@@ -30,6 +30,7 @@ __exportStar(require("./api/computer-use-api"), exports);
|
|
|
30
30
|
__exportStar(require("./api/file-system-api"), exports);
|
|
31
31
|
__exportStar(require("./api/git-api"), exports);
|
|
32
32
|
__exportStar(require("./api/info-api"), exports);
|
|
33
|
+
__exportStar(require("./api/interpreter-api"), exports);
|
|
33
34
|
__exportStar(require("./api/lsp-api"), exports);
|
|
34
35
|
__exportStar(require("./api/port-api"), exports);
|
|
35
36
|
__exportStar(require("./api/process-api"), exports);
|
package/src/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../libs/toolbox-api-client/src/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB;;;;;;;;;;GAUG;AAEH,yDAAsC;AACtC,wDAAqC;AACrC,gDAA6B;AAC7B,iDAA8B;AAC9B,gDAA6B;AAC7B,iDAA8B;AAC9B,oDAAiC"}
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../libs/toolbox-api-client/src/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB;;;;;;;;;;GAUG;AAEH,yDAAsC;AACtC,wDAAqC;AACrC,gDAA6B;AAC7B,iDAA8B;AAC9B,wDAAqC;AACrC,gDAA6B;AAC7B,iDAA8B;AAC9B,oDAAiC"}
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface CreateContextRequest
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface CreateContextRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {
|
|
21
|
-
* @memberof
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateContextRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
cwd?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
27
|
-
* @memberof
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateContextRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
language?: string;
|
|
30
30
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-context-request.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/create-context-request.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Daemon API
|
|
3
|
+
* Daytona Daemon API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateContextResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateContextResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof CreateContextResponse
|
|
22
|
+
*/
|
|
23
|
+
active?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateContextResponse
|
|
28
|
+
*/
|
|
29
|
+
createdAt?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateContextResponse
|
|
34
|
+
*/
|
|
35
|
+
cwd?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateContextResponse
|
|
40
|
+
*/
|
|
41
|
+
id?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateContextResponse
|
|
46
|
+
*/
|
|
47
|
+
language?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-context-response.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/create-context-response.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './completion-list';
|
|
|
5
5
|
export * from './computer-use-start-response';
|
|
6
6
|
export * from './computer-use-status-response';
|
|
7
7
|
export * from './computer-use-stop-response';
|
|
8
|
+
export * from './create-context-request';
|
|
8
9
|
export * from './create-session-request';
|
|
9
10
|
export * from './display-info';
|
|
10
11
|
export * from './display-info-response';
|
|
@@ -23,11 +24,13 @@ export * from './git-commit-response';
|
|
|
23
24
|
export * from './git-git-delete-branch-request';
|
|
24
25
|
export * from './git-repo-request';
|
|
25
26
|
export * from './git-status';
|
|
27
|
+
export * from './interpreter-context';
|
|
26
28
|
export * from './is-port-in-use-response';
|
|
27
29
|
export * from './keyboard-hotkey-request';
|
|
28
30
|
export * from './keyboard-press-request';
|
|
29
31
|
export * from './keyboard-type-request';
|
|
30
32
|
export * from './list-branch-response';
|
|
33
|
+
export * from './list-contexts-response';
|
|
31
34
|
export * from './lsp-completion-params';
|
|
32
35
|
export * from './lsp-document-request';
|
|
33
36
|
export * from './lsp-location';
|
package/src/models/index.js
CHANGED
|
@@ -21,6 +21,7 @@ __exportStar(require("./completion-list"), exports);
|
|
|
21
21
|
__exportStar(require("./computer-use-start-response"), exports);
|
|
22
22
|
__exportStar(require("./computer-use-status-response"), exports);
|
|
23
23
|
__exportStar(require("./computer-use-stop-response"), exports);
|
|
24
|
+
__exportStar(require("./create-context-request"), exports);
|
|
24
25
|
__exportStar(require("./create-session-request"), exports);
|
|
25
26
|
__exportStar(require("./display-info"), exports);
|
|
26
27
|
__exportStar(require("./display-info-response"), exports);
|
|
@@ -39,11 +40,13 @@ __exportStar(require("./git-commit-response"), exports);
|
|
|
39
40
|
__exportStar(require("./git-git-delete-branch-request"), exports);
|
|
40
41
|
__exportStar(require("./git-repo-request"), exports);
|
|
41
42
|
__exportStar(require("./git-status"), exports);
|
|
43
|
+
__exportStar(require("./interpreter-context"), exports);
|
|
42
44
|
__exportStar(require("./is-port-in-use-response"), exports);
|
|
43
45
|
__exportStar(require("./keyboard-hotkey-request"), exports);
|
|
44
46
|
__exportStar(require("./keyboard-press-request"), exports);
|
|
45
47
|
__exportStar(require("./keyboard-type-request"), exports);
|
|
46
48
|
__exportStar(require("./list-branch-response"), exports);
|
|
49
|
+
__exportStar(require("./list-contexts-response"), exports);
|
|
47
50
|
__exportStar(require("./lsp-completion-params"), exports);
|
|
48
51
|
__exportStar(require("./lsp-document-request"), exports);
|
|
49
52
|
__exportStar(require("./lsp-location"), exports);
|
package/src/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,uDAAoC;AACpC,oDAAiC;AACjC,oDAAiC;AACjC,gEAA6C;AAC7C,iEAA8C;AAC9C,+DAA4C;AAC5C,2DAAwC;AACxC,iDAA8B;AAC9B,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,8CAA2B;AAC3B,gDAA6B;AAC7B,2DAAwC;AACxC,oDAAiC;AACjC,uDAAoC;AACpC,yDAAsC;AACtC,sDAAmC;AACnC,oDAAiC;AACjC,uDAAoC;AACpC,wDAAqC;AACrC,kEAA+C;AAC/C,qDAAkC;AAClC,+CAA4B;AAC5B,4DAAyC;AACzC,4DAAyC;AACzC,2DAAwC;AACxC,0DAAuC;AACvC,yDAAsC;AACtC,0DAAuC;AACvC,yDAAsC;AACtC,iDAA8B;AAC9B,iDAA8B;AAC9B,8CAA2B;AAC3B,uDAAoC;AACpC,+CAA4B;AAC5B,0CAAuB;AACvB,wDAAqC;AACrC,yDAAsC;AACtC,uDAAoC;AACpC,wDAAqC;AACrC,uDAAoC;AACpC,4DAAyC;AACzC,yDAAsC;AACtC,8CAA2B;AAC3B,6CAA0B;AAC1B,4DAAyC;AACzC,0DAAuC;AACvC,6DAA0C;AAC1C,mDAAgC;AAChC,4DAAyC;AACzC,uDAAoC;AACpC,wDAAqC;AACrC,sDAAmC;AACnC,uDAAoC;AACpC,qDAAkC;AAClC,oDAAiC;AACjC,mDAAgC;AAChC,wDAAqC;AACrC,oDAAiC;AACjC,0DAAuC;AACvC,4CAAyB;AACzB,4DAAyC;AACzC,6DAA0C;AAC1C,2CAAwB;AACxB,2DAAwC;AACxC,gDAA6B;AAC7B,qDAAkC;AAClC,sDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,uDAAoC;AACpC,oDAAiC;AACjC,oDAAiC;AACjC,gEAA6C;AAC7C,iEAA8C;AAC9C,+DAA4C;AAC5C,2DAAwC;AACxC,2DAAwC;AACxC,iDAA8B;AAC9B,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,8CAA2B;AAC3B,gDAA6B;AAC7B,2DAAwC;AACxC,oDAAiC;AACjC,uDAAoC;AACpC,yDAAsC;AACtC,sDAAmC;AACnC,oDAAiC;AACjC,uDAAoC;AACpC,wDAAqC;AACrC,kEAA+C;AAC/C,qDAAkC;AAClC,+CAA4B;AAC5B,wDAAqC;AACrC,4DAAyC;AACzC,4DAAyC;AACzC,2DAAwC;AACxC,0DAAuC;AACvC,yDAAsC;AACtC,2DAAwC;AACxC,0DAAuC;AACvC,yDAAsC;AACtC,iDAA8B;AAC9B,iDAA8B;AAC9B,8CAA2B;AAC3B,uDAAoC;AACpC,+CAA4B;AAC5B,0CAAuB;AACvB,wDAAqC;AACrC,yDAAsC;AACtC,uDAAoC;AACpC,wDAAqC;AACrC,uDAAoC;AACpC,4DAAyC;AACzC,yDAAsC;AACtC,8CAA2B;AAC3B,6CAA0B;AAC1B,4DAAyC;AACzC,0DAAuC;AACvC,6DAA0C;AAC1C,mDAAgC;AAChC,4DAAyC;AACzC,uDAAoC;AACpC,wDAAqC;AACrC,sDAAmC;AACnC,uDAAoC;AACpC,qDAAkC;AAClC,oDAAiC;AACjC,mDAAgC;AAChC,wDAAqC;AACrC,oDAAiC;AACjC,0DAAuC;AACvC,4CAAyB;AACzB,4DAAyC;AACzC,6DAA0C;AAC1C,2CAAwB;AACxB,2DAAwC;AACxC,gDAA6B;AAC7B,qDAAkC;AAClC,sDAAmC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Daemon API
|
|
3
|
+
* Daytona Daemon API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InterpreterContextInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface InterpreterContextInfo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof InterpreterContextInfo
|
|
22
|
+
*/
|
|
23
|
+
active?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InterpreterContextInfo
|
|
28
|
+
*/
|
|
29
|
+
createdAt?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InterpreterContextInfo
|
|
34
|
+
*/
|
|
35
|
+
cwd?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InterpreterContextInfo
|
|
40
|
+
*/
|
|
41
|
+
id?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InterpreterContextInfo
|
|
46
|
+
*/
|
|
47
|
+
language?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpreter-context-info.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/interpreter-context-info.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Daemon API
|
|
3
|
+
* Daytona Daemon API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InterpreterContext
|
|
16
|
+
*/
|
|
17
|
+
export interface InterpreterContext {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof InterpreterContext
|
|
22
|
+
*/
|
|
23
|
+
active: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InterpreterContext
|
|
28
|
+
*/
|
|
29
|
+
createdAt: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InterpreterContext
|
|
34
|
+
*/
|
|
35
|
+
cwd: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InterpreterContext
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InterpreterContext
|
|
46
|
+
*/
|
|
47
|
+
language: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interpreter-context.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/interpreter-context.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -9,16 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { InterpreterContext } from './interpreter-context';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
|
-
* @interface
|
|
16
|
+
* @interface ListContextsResponse
|
|
16
17
|
*/
|
|
17
|
-
export interface
|
|
18
|
+
export interface ListContextsResponse {
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
|
-
* @type {Array<
|
|
21
|
-
* @memberof
|
|
21
|
+
* @type {Array<InterpreterContext>}
|
|
22
|
+
* @memberof ListContextsResponse
|
|
22
23
|
*/
|
|
23
|
-
|
|
24
|
+
contexts: Array<InterpreterContext>;
|
|
24
25
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contexts-response.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/list-contexts-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-download-request.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/file-download-request.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona Daemon API
|
|
3
|
-
* Daytona Daemon API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProjectDirResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface ProjectDirResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ProjectDirResponse
|
|
22
|
-
*/
|
|
23
|
-
dir?: string;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project-dir-response.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/project-dir-response.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona Daemon API
|
|
3
|
-
* Daytona Daemon API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PTYCreateRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface PTYCreateRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PTYCreateRequest
|
|
22
|
-
*/
|
|
23
|
-
cols?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PTYCreateRequest
|
|
28
|
-
*/
|
|
29
|
-
cwd?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {{ [key: string]: string; }}
|
|
33
|
-
* @memberof PTYCreateRequest
|
|
34
|
-
*/
|
|
35
|
-
envs?: {
|
|
36
|
-
[key: string]: string;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof PTYCreateRequest
|
|
42
|
-
*/
|
|
43
|
-
id?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Don\'t start PTY until first client connects
|
|
46
|
-
* @type {boolean}
|
|
47
|
-
* @memberof PTYCreateRequest
|
|
48
|
-
*/
|
|
49
|
-
lazyStart?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof PTYCreateRequest
|
|
54
|
-
*/
|
|
55
|
-
rows?: number;
|
|
56
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ptycreate-request.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/ptycreate-request.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona Daemon API
|
|
3
|
-
* Daytona Daemon API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PTYCreateResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface PTYCreateResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PTYCreateResponse
|
|
22
|
-
*/
|
|
23
|
-
sessionId?: string;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ptycreate-response.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/ptycreate-response.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona Daemon API
|
|
3
|
-
* Daytona Daemon API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { PTYSessionInfo } from './ptysession-info';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PTYListResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface PTYListResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<PTYSessionInfo>}
|
|
22
|
-
* @memberof PTYListResponse
|
|
23
|
-
*/
|
|
24
|
-
sessions?: Array<PTYSessionInfo>;
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ptylist-response.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/ptylist-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ptyresize-request.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/ptyresize-request.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona Daemon API
|
|
3
|
-
* Daytona Daemon API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PTYSessionInfo
|
|
16
|
-
*/
|
|
17
|
-
export interface PTYSessionInfo {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof PTYSessionInfo
|
|
22
|
-
*/
|
|
23
|
-
active?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof PTYSessionInfo
|
|
28
|
-
*/
|
|
29
|
-
cols?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PTYSessionInfo
|
|
34
|
-
*/
|
|
35
|
-
createdAt?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof PTYSessionInfo
|
|
40
|
-
*/
|
|
41
|
-
cwd?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {{ [key: string]: string; }}
|
|
45
|
-
* @memberof PTYSessionInfo
|
|
46
|
-
*/
|
|
47
|
-
envs?: {
|
|
48
|
-
[key: string]: string;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof PTYSessionInfo
|
|
54
|
-
*/
|
|
55
|
-
id?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Whether this session uses lazy start
|
|
58
|
-
* @type {boolean}
|
|
59
|
-
* @memberof PTYSessionInfo
|
|
60
|
-
*/
|
|
61
|
-
lazyStart?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {number}
|
|
65
|
-
* @memberof PTYSessionInfo
|
|
66
|
-
*/
|
|
67
|
-
rows?: number;
|
|
68
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ptysession-info.js","sourceRoot":"","sources":["../../../../../libs/toolbox-api-client/src/models/ptysession-info.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|