@daytonaio/api-client 0.125.0-rc1 → 0.127.0-rc.1
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/regions-api.d.ts +8 -192
- package/src/api/regions-api.js +13 -387
- package/src/api/regions-api.js.map +1 -1
- package/src/api/runners-api.d.ts +22 -110
- package/src/api/runners-api.js +25 -200
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +37 -38
- package/src/api/sandbox-api.js +77 -77
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api.d.ts +0 -3
- package/src/api.js +0 -3
- 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/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/index.d.ts +0 -13
- package/src/models/index.js +0 -13
- 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.d.ts +11 -11
- package/src/models/sandbox.d.ts +6 -0
- package/src/models/sandbox.js.map +1 -1
- 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/workspace.d.ts +6 -0
- 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 -150
- package/src/api/jobs-api.js +0 -281
- package/src/api/jobs-api.js.map +0 -1
- package/src/api/runner-service-api.d.ts +0 -74
- package/src/api/runner-service-api.js +0 -130
- package/src/api/runner-service-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 -36
- 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 -36
- 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.d.ts +0 -106
- package/src/models/job.js +0 -26
- package/src/models/job.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 -189
- 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 -78
- 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 -37
- package/src/models/runner-healthcheck.js +0 -16
- package/src/models/runner-healthcheck.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 -11
- package/src/models/update-job-status.js.map +0 -1
package/src/api/runners-api.d.ts
CHANGED
|
@@ -13,9 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { CreateRunner } from '../models';
|
|
16
|
-
import type { CreateRunnerResponse } from '../models';
|
|
17
16
|
import type { Runner } from '../models';
|
|
18
|
-
import type { RunnerFull } from '../models';
|
|
19
17
|
import type { RunnerSnapshotDto } from '../models';
|
|
20
18
|
/**
|
|
21
19
|
* RunnersApi - axios parameter creator
|
|
@@ -26,20 +24,10 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
26
24
|
*
|
|
27
25
|
* @summary Create runner
|
|
28
26
|
* @param {CreateRunner} createRunner
|
|
29
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
30
27
|
* @param {*} [options] Override http request option.
|
|
31
28
|
* @throws {RequiredError}
|
|
32
29
|
*/
|
|
33
|
-
createRunner: (createRunner: CreateRunner,
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @summary Delete runner
|
|
37
|
-
* @param {string} id Runner ID
|
|
38
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
39
|
-
* @param {*} [options] Override http request option.
|
|
40
|
-
* @throws {RequiredError}
|
|
41
|
-
*/
|
|
42
|
-
deleteRunner: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
createRunner: (createRunner: CreateRunner, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
31
|
/**
|
|
44
32
|
*
|
|
45
33
|
* @summary Get info for authenticated runner
|
|
@@ -47,15 +35,6 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
47
35
|
* @throws {RequiredError}
|
|
48
36
|
*/
|
|
49
37
|
getInfoForAuthenticatedRunner: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @summary Get runner by ID
|
|
53
|
-
* @param {string} id Runner ID
|
|
54
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
55
|
-
* @param {*} [options] Override http request option.
|
|
56
|
-
* @throws {RequiredError}
|
|
57
|
-
*/
|
|
58
|
-
getRunnerById: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
38
|
/**
|
|
60
39
|
*
|
|
61
40
|
* @summary Get runner by sandbox ID
|
|
@@ -75,20 +54,18 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
75
54
|
/**
|
|
76
55
|
*
|
|
77
56
|
* @summary List all runners
|
|
78
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
79
57
|
* @param {*} [options] Override http request option.
|
|
80
58
|
* @throws {RequiredError}
|
|
81
59
|
*/
|
|
82
|
-
listRunners: (
|
|
60
|
+
listRunners: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
61
|
/**
|
|
84
62
|
*
|
|
85
63
|
* @summary Update runner scheduling status
|
|
86
|
-
* @param {string} id
|
|
87
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
64
|
+
* @param {string} id
|
|
88
65
|
* @param {*} [options] Override http request option.
|
|
89
66
|
* @throws {RequiredError}
|
|
90
67
|
*/
|
|
91
|
-
updateRunnerScheduling: (id: string,
|
|
68
|
+
updateRunnerScheduling: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
69
|
};
|
|
93
70
|
/**
|
|
94
71
|
* RunnersApi - functional programming interface
|
|
@@ -99,36 +76,17 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
99
76
|
*
|
|
100
77
|
* @summary Create runner
|
|
101
78
|
* @param {CreateRunner} createRunner
|
|
102
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
103
79
|
* @param {*} [options] Override http request option.
|
|
104
80
|
* @throws {RequiredError}
|
|
105
81
|
*/
|
|
106
|
-
createRunner(createRunner: CreateRunner,
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* @summary Delete runner
|
|
110
|
-
* @param {string} id Runner ID
|
|
111
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
112
|
-
* @param {*} [options] Override http request option.
|
|
113
|
-
* @throws {RequiredError}
|
|
114
|
-
*/
|
|
115
|
-
deleteRunner(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
82
|
+
createRunner(createRunner: CreateRunner, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
116
83
|
/**
|
|
117
84
|
*
|
|
118
85
|
* @summary Get info for authenticated runner
|
|
119
86
|
* @param {*} [options] Override http request option.
|
|
120
87
|
* @throws {RequiredError}
|
|
121
88
|
*/
|
|
122
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @summary Get runner by ID
|
|
126
|
-
* @param {string} id Runner ID
|
|
127
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
128
|
-
* @param {*} [options] Override http request option.
|
|
129
|
-
* @throws {RequiredError}
|
|
130
|
-
*/
|
|
131
|
-
getRunnerById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Runner>>;
|
|
89
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Runner>>;
|
|
132
90
|
/**
|
|
133
91
|
*
|
|
134
92
|
* @summary Get runner by sandbox ID
|
|
@@ -136,7 +94,7 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
136
94
|
* @param {*} [options] Override http request option.
|
|
137
95
|
* @throws {RequiredError}
|
|
138
96
|
*/
|
|
139
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
97
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Runner>>;
|
|
140
98
|
/**
|
|
141
99
|
*
|
|
142
100
|
* @summary Get runners by snapshot ref
|
|
@@ -148,20 +106,18 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
148
106
|
/**
|
|
149
107
|
*
|
|
150
108
|
* @summary List all runners
|
|
151
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
152
109
|
* @param {*} [options] Override http request option.
|
|
153
110
|
* @throws {RequiredError}
|
|
154
111
|
*/
|
|
155
|
-
listRunners(
|
|
112
|
+
listRunners(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
156
113
|
/**
|
|
157
114
|
*
|
|
158
115
|
* @summary Update runner scheduling status
|
|
159
|
-
* @param {string} id
|
|
160
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
116
|
+
* @param {string} id
|
|
161
117
|
* @param {*} [options] Override http request option.
|
|
162
118
|
* @throws {RequiredError}
|
|
163
119
|
*/
|
|
164
|
-
updateRunnerScheduling(id: string,
|
|
120
|
+
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
165
121
|
};
|
|
166
122
|
/**
|
|
167
123
|
* RunnersApi - factory interface
|
|
@@ -172,36 +128,17 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
172
128
|
*
|
|
173
129
|
* @summary Create runner
|
|
174
130
|
* @param {CreateRunner} createRunner
|
|
175
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
176
|
-
* @param {*} [options] Override http request option.
|
|
177
|
-
* @throws {RequiredError}
|
|
178
|
-
*/
|
|
179
|
-
createRunner(createRunner: CreateRunner, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<CreateRunnerResponse>;
|
|
180
|
-
/**
|
|
181
|
-
*
|
|
182
|
-
* @summary Delete runner
|
|
183
|
-
* @param {string} id Runner ID
|
|
184
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
185
131
|
* @param {*} [options] Override http request option.
|
|
186
132
|
* @throws {RequiredError}
|
|
187
133
|
*/
|
|
188
|
-
|
|
134
|
+
createRunner(createRunner: CreateRunner, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
189
135
|
/**
|
|
190
136
|
*
|
|
191
137
|
* @summary Get info for authenticated runner
|
|
192
138
|
* @param {*} [options] Override http request option.
|
|
193
139
|
* @throws {RequiredError}
|
|
194
140
|
*/
|
|
195
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
196
|
-
/**
|
|
197
|
-
*
|
|
198
|
-
* @summary Get runner by ID
|
|
199
|
-
* @param {string} id Runner ID
|
|
200
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
201
|
-
* @param {*} [options] Override http request option.
|
|
202
|
-
* @throws {RequiredError}
|
|
203
|
-
*/
|
|
204
|
-
getRunnerById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Runner>;
|
|
141
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): AxiosPromise<Runner>;
|
|
205
142
|
/**
|
|
206
143
|
*
|
|
207
144
|
* @summary Get runner by sandbox ID
|
|
@@ -209,7 +146,7 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
209
146
|
* @param {*} [options] Override http request option.
|
|
210
147
|
* @throws {RequiredError}
|
|
211
148
|
*/
|
|
212
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
149
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<Runner>;
|
|
213
150
|
/**
|
|
214
151
|
*
|
|
215
152
|
* @summary Get runners by snapshot ref
|
|
@@ -221,20 +158,18 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
221
158
|
/**
|
|
222
159
|
*
|
|
223
160
|
* @summary List all runners
|
|
224
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
225
161
|
* @param {*} [options] Override http request option.
|
|
226
162
|
* @throws {RequiredError}
|
|
227
163
|
*/
|
|
228
|
-
listRunners(
|
|
164
|
+
listRunners(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
229
165
|
/**
|
|
230
166
|
*
|
|
231
167
|
* @summary Update runner scheduling status
|
|
232
|
-
* @param {string} id
|
|
233
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
168
|
+
* @param {string} id
|
|
234
169
|
* @param {*} [options] Override http request option.
|
|
235
170
|
* @throws {RequiredError}
|
|
236
171
|
*/
|
|
237
|
-
updateRunnerScheduling(id: string,
|
|
172
|
+
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
238
173
|
};
|
|
239
174
|
/**
|
|
240
175
|
* RunnersApi - object-oriented interface
|
|
@@ -247,22 +182,11 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
247
182
|
*
|
|
248
183
|
* @summary Create runner
|
|
249
184
|
* @param {CreateRunner} createRunner
|
|
250
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
251
185
|
* @param {*} [options] Override http request option.
|
|
252
186
|
* @throws {RequiredError}
|
|
253
187
|
* @memberof RunnersApi
|
|
254
188
|
*/
|
|
255
|
-
createRunner(createRunner: CreateRunner,
|
|
256
|
-
/**
|
|
257
|
-
*
|
|
258
|
-
* @summary Delete runner
|
|
259
|
-
* @param {string} id Runner ID
|
|
260
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
261
|
-
* @param {*} [options] Override http request option.
|
|
262
|
-
* @throws {RequiredError}
|
|
263
|
-
* @memberof RunnersApi
|
|
264
|
-
*/
|
|
265
|
-
deleteRunner(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
189
|
+
createRunner(createRunner: CreateRunner, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
266
190
|
/**
|
|
267
191
|
*
|
|
268
192
|
* @summary Get info for authenticated runner
|
|
@@ -270,17 +194,7 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
270
194
|
* @throws {RequiredError}
|
|
271
195
|
* @memberof RunnersApi
|
|
272
196
|
*/
|
|
273
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
274
|
-
/**
|
|
275
|
-
*
|
|
276
|
-
* @summary Get runner by ID
|
|
277
|
-
* @param {string} id Runner ID
|
|
278
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
279
|
-
* @param {*} [options] Override http request option.
|
|
280
|
-
* @throws {RequiredError}
|
|
281
|
-
* @memberof RunnersApi
|
|
282
|
-
*/
|
|
283
|
-
getRunnerById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner, any>>;
|
|
197
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner, any>>;
|
|
284
198
|
/**
|
|
285
199
|
*
|
|
286
200
|
* @summary Get runner by sandbox ID
|
|
@@ -289,7 +203,7 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
289
203
|
* @throws {RequiredError}
|
|
290
204
|
* @memberof RunnersApi
|
|
291
205
|
*/
|
|
292
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
206
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner, any>>;
|
|
293
207
|
/**
|
|
294
208
|
*
|
|
295
209
|
* @summary Get runners by snapshot ref
|
|
@@ -302,20 +216,18 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
302
216
|
/**
|
|
303
217
|
*
|
|
304
218
|
* @summary List all runners
|
|
305
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
306
219
|
* @param {*} [options] Override http request option.
|
|
307
220
|
* @throws {RequiredError}
|
|
308
221
|
* @memberof RunnersApi
|
|
309
222
|
*/
|
|
310
|
-
listRunners(
|
|
223
|
+
listRunners(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
311
224
|
/**
|
|
312
225
|
*
|
|
313
226
|
* @summary Update runner scheduling status
|
|
314
|
-
* @param {string} id
|
|
315
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
227
|
+
* @param {string} id
|
|
316
228
|
* @param {*} [options] Override http request option.
|
|
317
229
|
* @throws {RequiredError}
|
|
318
230
|
* @memberof RunnersApi
|
|
319
231
|
*/
|
|
320
|
-
updateRunnerScheduling(id: string,
|
|
232
|
+
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
321
233
|
}
|