@daytonaio/api-client 0.131.0-rc.1 → 0.131.0-rc.2
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/docker-registry-api.d.ts +4 -8
- package/src/api/docker-registry-api.js +7 -14
- package/src/api/docker-registry-api.js.map +1 -1
- package/src/api/organizations-api.d.ts +0 -222
- package/src/api/organizations-api.js +0 -454
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/preview-api.d.ts +0 -37
- package/src/api/preview-api.js +0 -74
- package/src/api/preview-api.js.map +1 -1
- package/src/api/regions-api.d.ts +16 -8
- package/src/api/regions-api.js +29 -13
- package/src/api/regions-api.js.map +1 -1
- package/src/api/runners-api.d.ts +22 -177
- package/src/api/runners-api.js +25 -338
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +0 -171
- package/src/api/sandbox-api.js +0 -342
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +4 -46
- package/src/api/snapshots-api.js +4 -85
- package/src/api/snapshots-api.js.map +1 -1
- package/src/api.d.ts +0 -2
- package/src/api.js +0 -2
- package/src/api.js.map +1 -1
- package/src/models/api-key-list.d.ts +0 -5
- package/src/models/api-key-list.js +0 -5
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +0 -5
- package/src/models/api-key-response.js +0 -5
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/build-info.d.ts +0 -6
- package/src/models/create-api-key.d.ts +0 -5
- package/src/models/create-api-key.js +0 -5
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/create-organization-role.d.ts +0 -5
- package/src/models/create-organization-role.js +0 -5
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/create-runner.d.ts +68 -2
- package/src/models/create-runner.js +6 -0
- package/src/models/create-runner.js.map +1 -1
- package/src/models/create-snapshot.d.ts +0 -6
- package/src/models/index.d.ts +0 -18
- package/src/models/index.js +0 -18
- package/src/models/index.js.map +1 -1
- package/src/models/organization-role.d.ts +0 -5
- package/src/models/organization-role.js +0 -5
- package/src/models/organization-role.js.map +1 -1
- package/src/models/region.d.ts +0 -19
- package/src/models/region.js +0 -12
- package/src/models/region.js.map +1 -1
- package/src/models/runner-snapshot-dto.d.ts +1 -1
- package/src/models/runner.d.ts +12 -27
- package/src/models/sandbox.d.ts +0 -6
- package/src/models/sandbox.js.map +1 -1
- package/src/models/snapshot-dto.d.ts +0 -18
- package/src/models/ssh-access-dto.d.ts +0 -6
- package/src/models/update-organization-role.d.ts +0 -5
- package/src/models/update-organization-role.js +0 -5
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/update-sandbox-state-dto.d.ts +0 -6
- package/src/models/update-sandbox-state-dto.js.map +1 -1
- package/src/models/workspace.d.ts +0 -6
- package/src/models/workspace.js.map +1 -1
- package/src/api/admin-api.d.ts +0 -208
- package/src/api/admin-api.js +0 -404
- package/src/api/admin-api.js.map +0 -1
- package/src/api/jobs-api.d.ts +0 -197
- package/src/api/jobs-api.js +0 -371
- package/src/api/jobs-api.js.map +0 -1
- package/src/models/admin-create-runner.d.ts +0 -78
- package/src/models/admin-create-runner.js +0 -4
- package/src/models/admin-create-runner.js.map +0 -1
- package/src/models/create-region-response.d.ts +0 -48
- package/src/models/create-region-response.js +0 -4
- package/src/models/create-region-response.js.map +0 -1
- package/src/models/create-region.d.ts +0 -42
- package/src/models/create-region.js +0 -4
- package/src/models/create-region.js.map +0 -1
- package/src/models/create-runner-response.d.ts +0 -30
- package/src/models/create-runner-response.js +0 -4
- package/src/models/create-runner-response.js.map +0 -1
- package/src/models/job-status.d.ts +0 -23
- package/src/models/job-status.js +0 -27
- package/src/models/job-status.js.map +0 -1
- package/src/models/job-type.d.ts +0 -30
- package/src/models/job-type.js +0 -34
- package/src/models/job-type.js.map +0 -1
- package/src/models/job.d.ts +0 -88
- package/src/models/job.js +0 -22
- package/src/models/job.js.map +0 -1
- package/src/models/paginated-jobs.d.ts +0 -43
- package/src/models/paginated-jobs.js +0 -16
- package/src/models/paginated-jobs.js.map +0 -1
- package/src/models/poll-jobs-response.d.ts +0 -25
- package/src/models/poll-jobs-response.js +0 -16
- package/src/models/poll-jobs-response.js.map +0 -1
- package/src/models/regenerate-api-key-response.d.ts +0 -24
- package/src/models/regenerate-api-key-response.js +0 -4
- package/src/models/regenerate-api-key-response.js.map +0 -1
- package/src/models/region-type.d.ts +0 -22
- package/src/models/region-type.js +0 -26
- package/src/models/region-type.js.map +0 -1
- package/src/models/runner-full.d.ts +0 -210
- package/src/models/runner-full.js +0 -16
- package/src/models/runner-full.js.map +0 -1
- package/src/models/runner-health-metrics.d.ts +0 -84
- package/src/models/runner-health-metrics.js +0 -4
- package/src/models/runner-health-metrics.js.map +0 -1
- package/src/models/runner-healthcheck.d.ts +0 -49
- package/src/models/runner-healthcheck.js +0 -16
- package/src/models/runner-healthcheck.js.map +0 -1
- package/src/models/signed-port-preview-url.d.ts +0 -42
- package/src/models/signed-port-preview-url.js +0 -4
- package/src/models/signed-port-preview-url.js.map +0 -1
- package/src/models/toolbox-proxy-url.d.ts +0 -24
- package/src/models/toolbox-proxy-url.js +0 -4
- package/src/models/toolbox-proxy-url.js.map +0 -1
- package/src/models/update-job-status.d.ts +0 -37
- package/src/models/update-job-status.js +0 -16
- package/src/models/update-job-status.js.map +0 -1
- package/src/models/url.d.ts +0 -24
- package/src/models/url.js +0 -4
- package/src/models/url.js.map +0 -1
package/src/api/jobs-api.js
DELETED
|
@@ -1,371 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Daytona
|
|
6
|
-
* Daytona AI platform API Docs
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact: support@daytona.com
|
|
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.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = 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
|
-
* JobsApi - axios parameter creator
|
|
25
|
-
* @export
|
|
26
|
-
*/
|
|
27
|
-
const JobsApiAxiosParamCreator = function (configuration) {
|
|
28
|
-
return {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @summary Get job details
|
|
32
|
-
* @param {string} jobId ID of the job
|
|
33
|
-
* @param {*} [options] Override http request option.
|
|
34
|
-
* @throws {RequiredError}
|
|
35
|
-
*/
|
|
36
|
-
getJob: async (jobId, options = {}) => {
|
|
37
|
-
// verify required parameter 'jobId' is not null or undefined
|
|
38
|
-
(0, common_1.assertParamExists)('getJob', 'jobId', jobId);
|
|
39
|
-
const localVarPath = `/jobs/{jobId}`.replace(`{${'jobId'}}`, encodeURIComponent(String(jobId)));
|
|
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: 'GET', ...baseOptions, ...options };
|
|
47
|
-
const localVarHeaderParameter = {};
|
|
48
|
-
const localVarQueryParameter = {};
|
|
49
|
-
// authentication bearer required
|
|
50
|
-
// http bearer authentication required
|
|
51
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
52
|
-
// authentication oauth2 required
|
|
53
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
56
|
-
return {
|
|
57
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
58
|
-
options: localVarRequestOptions,
|
|
59
|
-
};
|
|
60
|
-
},
|
|
61
|
-
/**
|
|
62
|
-
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
63
|
-
* @summary List jobs for the runner
|
|
64
|
-
* @param {number} [page] Page number of the results
|
|
65
|
-
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
66
|
-
* @param {JobStatus} [status] Filter jobs by status
|
|
67
|
-
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
68
|
-
* @param {*} [options] Override http request option.
|
|
69
|
-
* @throws {RequiredError}
|
|
70
|
-
*/
|
|
71
|
-
listJobs: async (page, limit, status, offset, options = {}) => {
|
|
72
|
-
const localVarPath = `/jobs`;
|
|
73
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
75
|
-
let baseOptions;
|
|
76
|
-
if (configuration) {
|
|
77
|
-
baseOptions = configuration.baseOptions;
|
|
78
|
-
}
|
|
79
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
80
|
-
const localVarHeaderParameter = {};
|
|
81
|
-
const localVarQueryParameter = {};
|
|
82
|
-
// authentication bearer required
|
|
83
|
-
// http bearer authentication required
|
|
84
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
85
|
-
// authentication oauth2 required
|
|
86
|
-
if (page !== undefined) {
|
|
87
|
-
localVarQueryParameter['page'] = page;
|
|
88
|
-
}
|
|
89
|
-
if (limit !== undefined) {
|
|
90
|
-
localVarQueryParameter['limit'] = limit;
|
|
91
|
-
}
|
|
92
|
-
if (status !== undefined) {
|
|
93
|
-
localVarQueryParameter['status'] = status;
|
|
94
|
-
}
|
|
95
|
-
if (offset !== undefined) {
|
|
96
|
-
localVarQueryParameter['offset'] = offset;
|
|
97
|
-
}
|
|
98
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
99
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
101
|
-
return {
|
|
102
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
103
|
-
options: localVarRequestOptions,
|
|
104
|
-
};
|
|
105
|
-
},
|
|
106
|
-
/**
|
|
107
|
-
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
108
|
-
* @summary Long poll for jobs
|
|
109
|
-
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
110
|
-
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
111
|
-
* @param {*} [options] Override http request option.
|
|
112
|
-
* @throws {RequiredError}
|
|
113
|
-
*/
|
|
114
|
-
pollJobs: async (timeout, limit, options = {}) => {
|
|
115
|
-
const localVarPath = `/jobs/poll`;
|
|
116
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
-
let baseOptions;
|
|
119
|
-
if (configuration) {
|
|
120
|
-
baseOptions = configuration.baseOptions;
|
|
121
|
-
}
|
|
122
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
123
|
-
const localVarHeaderParameter = {};
|
|
124
|
-
const localVarQueryParameter = {};
|
|
125
|
-
// authentication bearer required
|
|
126
|
-
// http bearer authentication required
|
|
127
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
128
|
-
// authentication oauth2 required
|
|
129
|
-
if (timeout !== undefined) {
|
|
130
|
-
localVarQueryParameter['timeout'] = timeout;
|
|
131
|
-
}
|
|
132
|
-
if (limit !== undefined) {
|
|
133
|
-
localVarQueryParameter['limit'] = limit;
|
|
134
|
-
}
|
|
135
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
136
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
138
|
-
return {
|
|
139
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
140
|
-
options: localVarRequestOptions,
|
|
141
|
-
};
|
|
142
|
-
},
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @summary Update job status
|
|
146
|
-
* @param {string} jobId ID of the job
|
|
147
|
-
* @param {UpdateJobStatus} updateJobStatus
|
|
148
|
-
* @param {*} [options] Override http request option.
|
|
149
|
-
* @throws {RequiredError}
|
|
150
|
-
*/
|
|
151
|
-
updateJobStatus: async (jobId, updateJobStatus, options = {}) => {
|
|
152
|
-
// verify required parameter 'jobId' is not null or undefined
|
|
153
|
-
(0, common_1.assertParamExists)('updateJobStatus', 'jobId', jobId);
|
|
154
|
-
// verify required parameter 'updateJobStatus' is not null or undefined
|
|
155
|
-
(0, common_1.assertParamExists)('updateJobStatus', 'updateJobStatus', updateJobStatus);
|
|
156
|
-
const localVarPath = `/jobs/{jobId}/status`.replace(`{${'jobId'}}`, encodeURIComponent(String(jobId)));
|
|
157
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
159
|
-
let baseOptions;
|
|
160
|
-
if (configuration) {
|
|
161
|
-
baseOptions = configuration.baseOptions;
|
|
162
|
-
}
|
|
163
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
164
|
-
const localVarHeaderParameter = {};
|
|
165
|
-
const localVarQueryParameter = {};
|
|
166
|
-
// authentication bearer required
|
|
167
|
-
// http bearer authentication required
|
|
168
|
-
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
169
|
-
// authentication oauth2 required
|
|
170
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
171
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
172
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
173
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
174
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateJobStatus, localVarRequestOptions, configuration);
|
|
175
|
-
return {
|
|
176
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
177
|
-
options: localVarRequestOptions,
|
|
178
|
-
};
|
|
179
|
-
},
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
exports.JobsApiAxiosParamCreator = JobsApiAxiosParamCreator;
|
|
183
|
-
/**
|
|
184
|
-
* JobsApi - functional programming interface
|
|
185
|
-
* @export
|
|
186
|
-
*/
|
|
187
|
-
const JobsApiFp = function (configuration) {
|
|
188
|
-
const localVarAxiosParamCreator = (0, exports.JobsApiAxiosParamCreator)(configuration);
|
|
189
|
-
return {
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @summary Get job details
|
|
193
|
-
* @param {string} jobId ID of the job
|
|
194
|
-
* @param {*} [options] Override http request option.
|
|
195
|
-
* @throws {RequiredError}
|
|
196
|
-
*/
|
|
197
|
-
async getJob(jobId, options) {
|
|
198
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getJob(jobId, options);
|
|
199
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
200
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['JobsApi.getJob']?.[localVarOperationServerIndex]?.url;
|
|
201
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
202
|
-
},
|
|
203
|
-
/**
|
|
204
|
-
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
205
|
-
* @summary List jobs for the runner
|
|
206
|
-
* @param {number} [page] Page number of the results
|
|
207
|
-
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
208
|
-
* @param {JobStatus} [status] Filter jobs by status
|
|
209
|
-
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
210
|
-
* @param {*} [options] Override http request option.
|
|
211
|
-
* @throws {RequiredError}
|
|
212
|
-
*/
|
|
213
|
-
async listJobs(page, limit, status, offset, options) {
|
|
214
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobs(page, limit, status, offset, options);
|
|
215
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
216
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['JobsApi.listJobs']?.[localVarOperationServerIndex]?.url;
|
|
217
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
218
|
-
},
|
|
219
|
-
/**
|
|
220
|
-
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
221
|
-
* @summary Long poll for jobs
|
|
222
|
-
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
223
|
-
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
224
|
-
* @param {*} [options] Override http request option.
|
|
225
|
-
* @throws {RequiredError}
|
|
226
|
-
*/
|
|
227
|
-
async pollJobs(timeout, limit, options) {
|
|
228
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.pollJobs(timeout, limit, options);
|
|
229
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
230
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['JobsApi.pollJobs']?.[localVarOperationServerIndex]?.url;
|
|
231
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
232
|
-
},
|
|
233
|
-
/**
|
|
234
|
-
*
|
|
235
|
-
* @summary Update job status
|
|
236
|
-
* @param {string} jobId ID of the job
|
|
237
|
-
* @param {UpdateJobStatus} updateJobStatus
|
|
238
|
-
* @param {*} [options] Override http request option.
|
|
239
|
-
* @throws {RequiredError}
|
|
240
|
-
*/
|
|
241
|
-
async updateJobStatus(jobId, updateJobStatus, options) {
|
|
242
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateJobStatus(jobId, updateJobStatus, options);
|
|
243
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
244
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['JobsApi.updateJobStatus']?.[localVarOperationServerIndex]?.url;
|
|
245
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
246
|
-
},
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
exports.JobsApiFp = JobsApiFp;
|
|
250
|
-
/**
|
|
251
|
-
* JobsApi - factory interface
|
|
252
|
-
* @export
|
|
253
|
-
*/
|
|
254
|
-
const JobsApiFactory = function (configuration, basePath, axios) {
|
|
255
|
-
const localVarFp = (0, exports.JobsApiFp)(configuration);
|
|
256
|
-
return {
|
|
257
|
-
/**
|
|
258
|
-
*
|
|
259
|
-
* @summary Get job details
|
|
260
|
-
* @param {string} jobId ID of the job
|
|
261
|
-
* @param {*} [options] Override http request option.
|
|
262
|
-
* @throws {RequiredError}
|
|
263
|
-
*/
|
|
264
|
-
getJob(jobId, options) {
|
|
265
|
-
return localVarFp.getJob(jobId, options).then((request) => request(axios, basePath));
|
|
266
|
-
},
|
|
267
|
-
/**
|
|
268
|
-
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
269
|
-
* @summary List jobs for the runner
|
|
270
|
-
* @param {number} [page] Page number of the results
|
|
271
|
-
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
272
|
-
* @param {JobStatus} [status] Filter jobs by status
|
|
273
|
-
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
274
|
-
* @param {*} [options] Override http request option.
|
|
275
|
-
* @throws {RequiredError}
|
|
276
|
-
*/
|
|
277
|
-
listJobs(page, limit, status, offset, options) {
|
|
278
|
-
return localVarFp.listJobs(page, limit, status, offset, options).then((request) => request(axios, basePath));
|
|
279
|
-
},
|
|
280
|
-
/**
|
|
281
|
-
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
282
|
-
* @summary Long poll for jobs
|
|
283
|
-
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
284
|
-
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
285
|
-
* @param {*} [options] Override http request option.
|
|
286
|
-
* @throws {RequiredError}
|
|
287
|
-
*/
|
|
288
|
-
pollJobs(timeout, limit, options) {
|
|
289
|
-
return localVarFp.pollJobs(timeout, limit, options).then((request) => request(axios, basePath));
|
|
290
|
-
},
|
|
291
|
-
/**
|
|
292
|
-
*
|
|
293
|
-
* @summary Update job status
|
|
294
|
-
* @param {string} jobId ID of the job
|
|
295
|
-
* @param {UpdateJobStatus} updateJobStatus
|
|
296
|
-
* @param {*} [options] Override http request option.
|
|
297
|
-
* @throws {RequiredError}
|
|
298
|
-
*/
|
|
299
|
-
updateJobStatus(jobId, updateJobStatus, options) {
|
|
300
|
-
return localVarFp.updateJobStatus(jobId, updateJobStatus, options).then((request) => request(axios, basePath));
|
|
301
|
-
},
|
|
302
|
-
};
|
|
303
|
-
};
|
|
304
|
-
exports.JobsApiFactory = JobsApiFactory;
|
|
305
|
-
/**
|
|
306
|
-
* JobsApi - object-oriented interface
|
|
307
|
-
* @export
|
|
308
|
-
* @class JobsApi
|
|
309
|
-
* @extends {BaseAPI}
|
|
310
|
-
*/
|
|
311
|
-
class JobsApi extends base_1.BaseAPI {
|
|
312
|
-
/**
|
|
313
|
-
*
|
|
314
|
-
* @summary Get job details
|
|
315
|
-
* @param {string} jobId ID of the job
|
|
316
|
-
* @param {*} [options] Override http request option.
|
|
317
|
-
* @throws {RequiredError}
|
|
318
|
-
* @memberof JobsApi
|
|
319
|
-
*/
|
|
320
|
-
getJob(jobId, options) {
|
|
321
|
-
return (0, exports.JobsApiFp)(this.configuration)
|
|
322
|
-
.getJob(jobId, options)
|
|
323
|
-
.then((request) => request(this.axios, this.basePath));
|
|
324
|
-
}
|
|
325
|
-
/**
|
|
326
|
-
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
327
|
-
* @summary List jobs for the runner
|
|
328
|
-
* @param {number} [page] Page number of the results
|
|
329
|
-
* @param {number} [limit] Maximum number of jobs to return (default: 100, max: 500)
|
|
330
|
-
* @param {JobStatus} [status] Filter jobs by status
|
|
331
|
-
* @param {number} [offset] Number of jobs to skip for pagination (default: 0)
|
|
332
|
-
* @param {*} [options] Override http request option.
|
|
333
|
-
* @throws {RequiredError}
|
|
334
|
-
* @memberof JobsApi
|
|
335
|
-
*/
|
|
336
|
-
listJobs(page, limit, status, offset, options) {
|
|
337
|
-
return (0, exports.JobsApiFp)(this.configuration)
|
|
338
|
-
.listJobs(page, limit, status, offset, options)
|
|
339
|
-
.then((request) => request(this.axios, this.basePath));
|
|
340
|
-
}
|
|
341
|
-
/**
|
|
342
|
-
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
343
|
-
* @summary Long poll for jobs
|
|
344
|
-
* @param {number} [timeout] Timeout in seconds for long polling (default: 30, max: 60)
|
|
345
|
-
* @param {number} [limit] Maximum number of jobs to return (default: 10, max: 100)
|
|
346
|
-
* @param {*} [options] Override http request option.
|
|
347
|
-
* @throws {RequiredError}
|
|
348
|
-
* @memberof JobsApi
|
|
349
|
-
*/
|
|
350
|
-
pollJobs(timeout, limit, options) {
|
|
351
|
-
return (0, exports.JobsApiFp)(this.configuration)
|
|
352
|
-
.pollJobs(timeout, limit, options)
|
|
353
|
-
.then((request) => request(this.axios, this.basePath));
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
*
|
|
357
|
-
* @summary Update job status
|
|
358
|
-
* @param {string} jobId ID of the job
|
|
359
|
-
* @param {UpdateJobStatus} updateJobStatus
|
|
360
|
-
* @param {*} [options] Override http request option.
|
|
361
|
-
* @throws {RequiredError}
|
|
362
|
-
* @memberof JobsApi
|
|
363
|
-
*/
|
|
364
|
-
updateJobStatus(jobId, updateJobStatus, options) {
|
|
365
|
-
return (0, exports.JobsApiFp)(this.configuration)
|
|
366
|
-
.updateJobStatus(jobId, updateJobStatus, options)
|
|
367
|
-
.then((request) => request(this.axios, this.basePath));
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
exports.JobsApi = JobsApi;
|
|
371
|
-
//# sourceMappingURL=jobs-api.js.map
|
package/src/api/jobs-api.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jobs-api.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/api/jobs-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,iCAA+B;AAC/B,yDAAyD;AACzD,aAAa;AACb,sCAWkB;AAClB,aAAa;AACb,kCAAqH;AAWrH;;;GAGG;AACI,MAAM,wBAAwB,GAAG,UAAU,aAA6B;IAC7E,OAAO;QACL;;;;;;WAMG;QACH,MAAM,EAAE,KAAK,EAAE,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AE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;IAED;;;;;;;;OAQG;IACI,eAAe,CAAC,KAAa,EAAE,eAAgC,EAAE,OAA+B;QACrG,OAAO,IAAA,iBAAS,EAAC,IAAI,CAAC,aAAa,CAAC;aACjC,eAAe,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC;aAChD,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;CACF;AA7DD,0BA6DC"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona
|
|
3
|
-
* Daytona AI platform API Docs
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: support@daytona.com
|
|
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 AdminCreateRunner
|
|
16
|
-
*/
|
|
17
|
-
export interface AdminCreateRunner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AdminCreateRunner
|
|
22
|
-
*/
|
|
23
|
-
regionId: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AdminCreateRunner
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AdminCreateRunner
|
|
34
|
-
*/
|
|
35
|
-
apiKey: string;
|
|
36
|
-
/**
|
|
37
|
-
* The api version of the runner to create
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AdminCreateRunner
|
|
40
|
-
*/
|
|
41
|
-
apiVersion: string;
|
|
42
|
-
/**
|
|
43
|
-
* The domain of the runner
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof AdminCreateRunner
|
|
46
|
-
*/
|
|
47
|
-
domain?: string;
|
|
48
|
-
/**
|
|
49
|
-
* The API URL of the runner
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof AdminCreateRunner
|
|
52
|
-
*/
|
|
53
|
-
apiUrl?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The proxy URL of the runner
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof AdminCreateRunner
|
|
58
|
-
*/
|
|
59
|
-
proxyUrl?: string;
|
|
60
|
-
/**
|
|
61
|
-
* The CPU capacity of the runner
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof AdminCreateRunner
|
|
64
|
-
*/
|
|
65
|
-
cpu?: number;
|
|
66
|
-
/**
|
|
67
|
-
* The memory capacity of the runner in GiB
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof AdminCreateRunner
|
|
70
|
-
*/
|
|
71
|
-
memoryGiB?: number;
|
|
72
|
-
/**
|
|
73
|
-
* The disk capacity of the runner in GiB
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof AdminCreateRunner
|
|
76
|
-
*/
|
|
77
|
-
diskGiB?: number;
|
|
78
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"admin-create-runner.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/admin-create-runner.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona
|
|
3
|
-
* Daytona AI platform API Docs
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: support@daytona.com
|
|
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 CreateRegionResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateRegionResponse {
|
|
18
|
-
/**
|
|
19
|
-
* ID of the created region
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateRegionResponse
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
* Proxy API key for the region
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateRegionResponse
|
|
28
|
-
*/
|
|
29
|
-
proxyApiKey?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
* SSH Gateway API key for the region
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateRegionResponse
|
|
34
|
-
*/
|
|
35
|
-
sshGatewayApiKey?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* Snapshot Manager username for the region
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CreateRegionResponse
|
|
40
|
-
*/
|
|
41
|
-
snapshotManagerUsername?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
* Snapshot Manager password for the region
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CreateRegionResponse
|
|
46
|
-
*/
|
|
47
|
-
snapshotManagerPassword?: string | null;
|
|
48
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-region-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-region-response.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona
|
|
3
|
-
* Daytona AI platform API Docs
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: support@daytona.com
|
|
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 CreateRegion
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateRegion {
|
|
18
|
-
/**
|
|
19
|
-
* Region name
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateRegion
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* Proxy URL for the region
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateRegion
|
|
28
|
-
*/
|
|
29
|
-
proxyUrl?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
* SSH Gateway URL for the region
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateRegion
|
|
34
|
-
*/
|
|
35
|
-
sshGatewayUrl?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* Snapshot Manager URL for the region
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CreateRegion
|
|
40
|
-
*/
|
|
41
|
-
snapshotManagerUrl?: string | null;
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-region.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-region.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona
|
|
3
|
-
* Daytona AI platform API Docs
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: support@daytona.com
|
|
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 CreateRunnerResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateRunnerResponse {
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the runner
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateRunnerResponse
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
* The API key for the runner
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateRunnerResponse
|
|
28
|
-
*/
|
|
29
|
-
apiKey: string;
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-runner-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-runner-response.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Daytona
|
|
3
|
-
* Daytona AI platform API Docs
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: support@daytona.com
|
|
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
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare const JobStatus: {
|
|
18
|
-
readonly PENDING: "PENDING";
|
|
19
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
20
|
-
readonly COMPLETED: "COMPLETED";
|
|
21
|
-
readonly FAILED: "FAILED";
|
|
22
|
-
};
|
|
23
|
-
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|