@daytonaio/api-client 0.129.0 → 0.131.0-alpha.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/admin-api.d.ts +208 -0
- package/src/api/admin-api.js +404 -0
- package/src/api/admin-api.js.map +1 -0
- package/src/api/jobs-api.d.ts +197 -0
- package/src/api/jobs-api.js +371 -0
- package/src/api/jobs-api.js.map +1 -0
- package/src/api/organizations-api.d.ts +222 -0
- package/src/api/organizations-api.js +454 -0
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/regions-api.d.ts +8 -16
- package/src/api/regions-api.js +13 -29
- package/src/api/regions-api.js.map +1 -1
- package/src/api/runners-api.d.ts +144 -22
- package/src/api/runners-api.js +270 -25
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +80 -37
- package/src/api/sandbox-api.js +162 -77
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +38 -0
- package/src/api/snapshots-api.js +77 -0
- package/src/api/snapshots-api.js.map +1 -1
- package/src/api.d.ts +2 -0
- package/src/api.js +2 -0
- package/src/api.js.map +1 -1
- package/src/models/admin-create-runner.d.ts +78 -0
- package/src/models/admin-create-runner.js +4 -0
- package/src/models/admin-create-runner.js.map +1 -0
- package/src/models/api-key-list.d.ts +5 -0
- package/src/models/api-key-list.js +5 -0
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +5 -0
- package/src/models/api-key-response.js +5 -0
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/create-api-key.d.ts +5 -0
- package/src/models/create-api-key.js +5 -0
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/create-organization-role.d.ts +5 -0
- package/src/models/create-organization-role.js +5 -0
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/create-region-response.d.ts +36 -0
- package/src/models/create-region-response.js +4 -0
- package/src/models/create-region-response.js.map +1 -0
- package/src/models/create-region.d.ts +36 -0
- package/src/models/create-region.js +4 -0
- package/src/models/create-region.js.map +1 -0
- package/src/models/create-runner-response.d.ts +30 -0
- package/src/models/create-runner-response.js +4 -0
- package/src/models/create-runner-response.js.map +1 -0
- package/src/models/create-runner.d.ts +2 -68
- package/src/models/create-runner.js +0 -6
- package/src/models/create-runner.js.map +1 -1
- package/src/models/create-sandbox-snapshot.d.ts +30 -0
- package/src/models/create-sandbox-snapshot.js +4 -0
- package/src/models/create-sandbox-snapshot.js.map +1 -0
- package/src/models/create-snapshot.d.ts +6 -0
- package/src/models/index.d.ts +19 -1
- package/src/models/index.js +19 -1
- package/src/models/index.js.map +1 -1
- package/src/models/job-status.d.ts +23 -0
- package/src/models/job-status.js +27 -0
- package/src/models/job-status.js.map +1 -0
- package/src/models/job-type.d.ts +29 -0
- package/src/models/job-type.js +33 -0
- package/src/models/job-type.js.map +1 -0
- package/src/models/job.d.ts +88 -0
- package/src/models/job.js +22 -0
- package/src/models/job.js.map +1 -0
- package/src/models/organization-role.d.ts +5 -0
- package/src/models/organization-role.js +5 -0
- package/src/models/organization-role.js.map +1 -1
- package/src/models/paginated-jobs.d.ts +43 -0
- package/src/models/paginated-jobs.js +16 -0
- package/src/models/paginated-jobs.js.map +1 -0
- package/src/models/poll-jobs-response.d.ts +25 -0
- package/src/models/poll-jobs-response.js +16 -0
- package/src/models/poll-jobs-response.js.map +1 -0
- package/src/models/regenerate-api-key-response.d.ts +24 -0
- package/src/models/regenerate-api-key-response.js +4 -0
- package/src/models/regenerate-api-key-response.js.map +1 -0
- package/src/models/region-type.d.ts +22 -0
- package/src/models/region-type.js +26 -0
- package/src/models/region-type.js.map +1 -0
- package/src/models/region.d.ts +19 -0
- package/src/models/region.js +12 -0
- package/src/models/region.js.map +1 -1
- package/src/models/runner-class.d.ts +22 -0
- package/src/models/runner-class.js +26 -0
- package/src/models/runner-class.js.map +1 -0
- package/src/models/runner-full.d.ts +204 -0
- package/src/models/runner-full.js +16 -0
- package/src/models/runner-full.js.map +1 -0
- package/src/models/runner-health-metrics.d.ts +78 -0
- package/src/models/runner-health-metrics.js +4 -0
- package/src/models/runner-health-metrics.js.map +1 -0
- package/src/models/runner-healthcheck.d.ts +43 -0
- package/src/models/runner-healthcheck.js +16 -0
- package/src/models/runner-healthcheck.js.map +1 -0
- package/src/models/runner.d.ts +30 -15
- package/src/models/sandbox.d.ts +0 -6
- package/src/models/sandbox.js.map +1 -1
- package/src/models/snapshot-dto.d.ts +13 -0
- package/src/models/snapshot-runner-class-dto.d.ts +25 -0
- package/src/models/snapshot-runner-class-dto.js +16 -0
- package/src/models/snapshot-runner-class-dto.js.map +1 -0
- package/src/models/ssh-access-dto.d.ts +6 -0
- package/src/models/toolbox-proxy-url.d.ts +24 -0
- package/src/models/toolbox-proxy-url.js +4 -0
- package/src/models/toolbox-proxy-url.js.map +1 -0
- package/src/models/update-job-status.d.ts +37 -0
- package/src/models/update-job-status.js +16 -0
- package/src/models/update-job-status.js.map +1 -0
- package/src/models/update-organization-role.d.ts +5 -0
- package/src/models/update-organization-role.js +5 -0
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/workspace.d.ts +0 -6
- package/src/models/workspace.js.map +1 -1
package/src/api/runners-api.d.ts
CHANGED
|
@@ -13,7 +13,10 @@ 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';
|
|
16
17
|
import type { Runner } from '../models';
|
|
18
|
+
import type { RunnerFull } from '../models';
|
|
19
|
+
import type { RunnerHealthcheck } from '../models';
|
|
17
20
|
import type { RunnerSnapshotDto } from '../models';
|
|
18
21
|
/**
|
|
19
22
|
* RunnersApi - axios parameter creator
|
|
@@ -24,10 +27,20 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
27
|
*
|
|
25
28
|
* @summary Create runner
|
|
26
29
|
* @param {CreateRunner} createRunner
|
|
30
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
27
31
|
* @param {*} [options] Override http request option.
|
|
28
32
|
* @throws {RequiredError}
|
|
29
33
|
*/
|
|
30
|
-
createRunner: (createRunner: CreateRunner, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
createRunner: (createRunner: CreateRunner, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Delete runner
|
|
38
|
+
* @param {string} id Runner ID
|
|
39
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteRunner: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
44
|
/**
|
|
32
45
|
*
|
|
33
46
|
* @summary Get info for authenticated runner
|
|
@@ -35,6 +48,15 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35
48
|
* @throws {RequiredError}
|
|
36
49
|
*/
|
|
37
50
|
getInfoForAuthenticatedRunner: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @summary Get runner by ID
|
|
54
|
+
* @param {string} id Runner ID
|
|
55
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
getRunnerById: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
60
|
/**
|
|
39
61
|
*
|
|
40
62
|
* @summary Get runner by sandbox ID
|
|
@@ -54,18 +76,28 @@ export declare const RunnersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
54
76
|
/**
|
|
55
77
|
*
|
|
56
78
|
* @summary List all runners
|
|
79
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
57
80
|
* @param {*} [options] Override http request option.
|
|
58
81
|
* @throws {RequiredError}
|
|
59
82
|
*/
|
|
60
|
-
listRunners: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
|
+
listRunners: (xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
+
/**
|
|
85
|
+
* Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics.
|
|
86
|
+
* @summary Runner healthcheck
|
|
87
|
+
* @param {RunnerHealthcheck} runnerHealthcheck
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
runnerHealthcheck: (runnerHealthcheck: RunnerHealthcheck, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
92
|
/**
|
|
62
93
|
*
|
|
63
94
|
* @summary Update runner scheduling status
|
|
64
|
-
* @param {string} id
|
|
95
|
+
* @param {string} id Runner ID
|
|
96
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
65
97
|
* @param {*} [options] Override http request option.
|
|
66
98
|
* @throws {RequiredError}
|
|
67
99
|
*/
|
|
68
|
-
updateRunnerScheduling: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
|
+
updateRunnerScheduling: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
101
|
};
|
|
70
102
|
/**
|
|
71
103
|
* RunnersApi - functional programming interface
|
|
@@ -76,17 +108,36 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
76
108
|
*
|
|
77
109
|
* @summary Create runner
|
|
78
110
|
* @param {CreateRunner} createRunner
|
|
111
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
createRunner(createRunner: CreateRunner, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRunnerResponse>>;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @summary Delete runner
|
|
119
|
+
* @param {string} id Runner ID
|
|
120
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
79
121
|
* @param {*} [options] Override http request option.
|
|
80
122
|
* @throws {RequiredError}
|
|
81
123
|
*/
|
|
82
|
-
|
|
124
|
+
deleteRunner(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
83
125
|
/**
|
|
84
126
|
*
|
|
85
127
|
* @summary Get info for authenticated runner
|
|
86
128
|
* @param {*} [options] Override http request option.
|
|
87
129
|
* @throws {RequiredError}
|
|
88
130
|
*/
|
|
89
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
131
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunnerFull>>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary Get runner by ID
|
|
135
|
+
* @param {string} id Runner ID
|
|
136
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
getRunnerById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Runner>>;
|
|
90
141
|
/**
|
|
91
142
|
*
|
|
92
143
|
* @summary Get runner by sandbox ID
|
|
@@ -94,7 +145,7 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
94
145
|
* @param {*} [options] Override http request option.
|
|
95
146
|
* @throws {RequiredError}
|
|
96
147
|
*/
|
|
97
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
148
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunnerFull>>;
|
|
98
149
|
/**
|
|
99
150
|
*
|
|
100
151
|
* @summary Get runners by snapshot ref
|
|
@@ -106,18 +157,28 @@ export declare const RunnersApiFp: (configuration?: Configuration) => {
|
|
|
106
157
|
/**
|
|
107
158
|
*
|
|
108
159
|
* @summary List all runners
|
|
160
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
109
161
|
* @param {*} [options] Override http request option.
|
|
110
162
|
* @throws {RequiredError}
|
|
111
163
|
*/
|
|
112
|
-
listRunners(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
164
|
+
listRunners(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Runner>>>;
|
|
165
|
+
/**
|
|
166
|
+
* Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics.
|
|
167
|
+
* @summary Runner healthcheck
|
|
168
|
+
* @param {RunnerHealthcheck} runnerHealthcheck
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
runnerHealthcheck(runnerHealthcheck: RunnerHealthcheck, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
113
173
|
/**
|
|
114
174
|
*
|
|
115
175
|
* @summary Update runner scheduling status
|
|
116
|
-
* @param {string} id
|
|
176
|
+
* @param {string} id Runner ID
|
|
177
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
117
178
|
* @param {*} [options] Override http request option.
|
|
118
179
|
* @throws {RequiredError}
|
|
119
180
|
*/
|
|
120
|
-
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
181
|
+
updateRunnerScheduling(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Runner>>;
|
|
121
182
|
};
|
|
122
183
|
/**
|
|
123
184
|
* RunnersApi - factory interface
|
|
@@ -128,17 +189,36 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
128
189
|
*
|
|
129
190
|
* @summary Create runner
|
|
130
191
|
* @param {CreateRunner} createRunner
|
|
192
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
131
193
|
* @param {*} [options] Override http request option.
|
|
132
194
|
* @throws {RequiredError}
|
|
133
195
|
*/
|
|
134
|
-
createRunner(createRunner: CreateRunner, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
196
|
+
createRunner(createRunner: CreateRunner, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<CreateRunnerResponse>;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @summary Delete runner
|
|
200
|
+
* @param {string} id Runner ID
|
|
201
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
deleteRunner(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
135
206
|
/**
|
|
136
207
|
*
|
|
137
208
|
* @summary Get info for authenticated runner
|
|
138
209
|
* @param {*} [options] Override http request option.
|
|
139
210
|
* @throws {RequiredError}
|
|
140
211
|
*/
|
|
141
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
212
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): AxiosPromise<RunnerFull>;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @summary Get runner by ID
|
|
216
|
+
* @param {string} id Runner ID
|
|
217
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
getRunnerById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Runner>;
|
|
142
222
|
/**
|
|
143
223
|
*
|
|
144
224
|
* @summary Get runner by sandbox ID
|
|
@@ -146,7 +226,7 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
146
226
|
* @param {*} [options] Override http request option.
|
|
147
227
|
* @throws {RequiredError}
|
|
148
228
|
*/
|
|
149
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
229
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<RunnerFull>;
|
|
150
230
|
/**
|
|
151
231
|
*
|
|
152
232
|
* @summary Get runners by snapshot ref
|
|
@@ -158,18 +238,28 @@ export declare const RunnersApiFactory: (configuration?: Configuration, basePath
|
|
|
158
238
|
/**
|
|
159
239
|
*
|
|
160
240
|
* @summary List all runners
|
|
241
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
161
242
|
* @param {*} [options] Override http request option.
|
|
162
243
|
* @throws {RequiredError}
|
|
163
244
|
*/
|
|
164
|
-
listRunners(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
245
|
+
listRunners(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Runner>>;
|
|
246
|
+
/**
|
|
247
|
+
* Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics.
|
|
248
|
+
* @summary Runner healthcheck
|
|
249
|
+
* @param {RunnerHealthcheck} runnerHealthcheck
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
runnerHealthcheck(runnerHealthcheck: RunnerHealthcheck, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
165
254
|
/**
|
|
166
255
|
*
|
|
167
256
|
* @summary Update runner scheduling status
|
|
168
|
-
* @param {string} id
|
|
257
|
+
* @param {string} id Runner ID
|
|
258
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
169
259
|
* @param {*} [options] Override http request option.
|
|
170
260
|
* @throws {RequiredError}
|
|
171
261
|
*/
|
|
172
|
-
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
262
|
+
updateRunnerScheduling(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Runner>;
|
|
173
263
|
};
|
|
174
264
|
/**
|
|
175
265
|
* RunnersApi - object-oriented interface
|
|
@@ -182,11 +272,22 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
182
272
|
*
|
|
183
273
|
* @summary Create runner
|
|
184
274
|
* @param {CreateRunner} createRunner
|
|
275
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
185
276
|
* @param {*} [options] Override http request option.
|
|
186
277
|
* @throws {RequiredError}
|
|
187
278
|
* @memberof RunnersApi
|
|
188
279
|
*/
|
|
189
|
-
createRunner(createRunner: CreateRunner, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
280
|
+
createRunner(createRunner: CreateRunner, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRunnerResponse, any>>;
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @summary Delete runner
|
|
284
|
+
* @param {string} id Runner ID
|
|
285
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
* @memberof RunnersApi
|
|
289
|
+
*/
|
|
290
|
+
deleteRunner(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
190
291
|
/**
|
|
191
292
|
*
|
|
192
293
|
* @summary Get info for authenticated runner
|
|
@@ -194,7 +295,17 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
194
295
|
* @throws {RequiredError}
|
|
195
296
|
* @memberof RunnersApi
|
|
196
297
|
*/
|
|
197
|
-
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
298
|
+
getInfoForAuthenticatedRunner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull, any>>;
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* @summary Get runner by ID
|
|
302
|
+
* @param {string} id Runner ID
|
|
303
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
* @memberof RunnersApi
|
|
307
|
+
*/
|
|
308
|
+
getRunnerById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner, any>>;
|
|
198
309
|
/**
|
|
199
310
|
*
|
|
200
311
|
* @summary Get runner by sandbox ID
|
|
@@ -203,7 +314,7 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
203
314
|
* @throws {RequiredError}
|
|
204
315
|
* @memberof RunnersApi
|
|
205
316
|
*/
|
|
206
|
-
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
317
|
+
getRunnerBySandboxId(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull, any>>;
|
|
207
318
|
/**
|
|
208
319
|
*
|
|
209
320
|
* @summary Get runners by snapshot ref
|
|
@@ -216,18 +327,29 @@ export declare class RunnersApi extends BaseAPI {
|
|
|
216
327
|
/**
|
|
217
328
|
*
|
|
218
329
|
* @summary List all runners
|
|
330
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
331
|
+
* @param {*} [options] Override http request option.
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
* @memberof RunnersApi
|
|
334
|
+
*/
|
|
335
|
+
listRunners(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner[], any>>;
|
|
336
|
+
/**
|
|
337
|
+
* Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics.
|
|
338
|
+
* @summary Runner healthcheck
|
|
339
|
+
* @param {RunnerHealthcheck} runnerHealthcheck
|
|
219
340
|
* @param {*} [options] Override http request option.
|
|
220
341
|
* @throws {RequiredError}
|
|
221
342
|
* @memberof RunnersApi
|
|
222
343
|
*/
|
|
223
|
-
|
|
344
|
+
runnerHealthcheck(runnerHealthcheck: RunnerHealthcheck, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
224
345
|
/**
|
|
225
346
|
*
|
|
226
347
|
* @summary Update runner scheduling status
|
|
227
|
-
* @param {string} id
|
|
348
|
+
* @param {string} id Runner ID
|
|
349
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
228
350
|
* @param {*} [options] Override http request option.
|
|
229
351
|
* @throws {RequiredError}
|
|
230
352
|
* @memberof RunnersApi
|
|
231
353
|
*/
|
|
232
|
-
updateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
354
|
+
updateRunnerScheduling(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Runner, any>>;
|
|
233
355
|
}
|