@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/package.json
CHANGED
package/src/api/regions-api.d.ts
CHANGED
|
@@ -12,186 +12,51 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type { CreateRegion } from '../models';
|
|
16
|
-
import type { CreateRegionResponse } from '../models';
|
|
17
|
-
import type { RegenerateApiKeyResponse } from '../models';
|
|
18
15
|
import type { Region } from '../models';
|
|
19
16
|
/**
|
|
20
17
|
* RegionsApi - axios parameter creator
|
|
21
18
|
* @export
|
|
22
19
|
*/
|
|
23
20
|
export declare const RegionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @summary Create a new region
|
|
27
|
-
* @param {CreateRegion} createRegion
|
|
28
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
29
|
-
* @param {*} [options] Override http request option.
|
|
30
|
-
* @throws {RequiredError}
|
|
31
|
-
*/
|
|
32
|
-
createRegion: (createRegion: CreateRegion, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @summary Delete a region
|
|
36
|
-
* @param {string} id Region ID
|
|
37
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
38
|
-
* @param {*} [options] Override http request option.
|
|
39
|
-
* @throws {RequiredError}
|
|
40
|
-
*/
|
|
41
|
-
deleteRegion: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @summary Get region by ID
|
|
45
|
-
* @param {string} id Region ID
|
|
46
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
47
|
-
* @param {*} [options] Override http request option.
|
|
48
|
-
* @throws {RequiredError}
|
|
49
|
-
*/
|
|
50
|
-
getRegionById: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
21
|
/**
|
|
52
22
|
*
|
|
53
23
|
* @summary List all regions
|
|
54
24
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
25
|
+
* @param {boolean} [includeShared] Include shared regions
|
|
55
26
|
* @param {*} [options] Override http request option.
|
|
56
27
|
* @throws {RequiredError}
|
|
57
28
|
*/
|
|
58
|
-
listRegions: (xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @summary Regenerate proxy API key for a region
|
|
62
|
-
* @param {string} id Region ID
|
|
63
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
64
|
-
* @param {*} [options] Override http request option.
|
|
65
|
-
* @throws {RequiredError}
|
|
66
|
-
*/
|
|
67
|
-
regenerateProxyApiKey: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @summary Regenerate SSH gateway API key for a region
|
|
71
|
-
* @param {string} id Region ID
|
|
72
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
*/
|
|
76
|
-
regenerateSshGatewayApiKey: (id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
listRegions: (xDaytonaOrganizationID?: string, includeShared?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
30
|
};
|
|
78
31
|
/**
|
|
79
32
|
* RegionsApi - functional programming interface
|
|
80
33
|
* @export
|
|
81
34
|
*/
|
|
82
35
|
export declare const RegionsApiFp: (configuration?: Configuration) => {
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @summary Create a new region
|
|
86
|
-
* @param {CreateRegion} createRegion
|
|
87
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
88
|
-
* @param {*} [options] Override http request option.
|
|
89
|
-
* @throws {RequiredError}
|
|
90
|
-
*/
|
|
91
|
-
createRegion(createRegion: CreateRegion, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRegionResponse>>;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @summary Delete a region
|
|
95
|
-
* @param {string} id Region ID
|
|
96
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
97
|
-
* @param {*} [options] Override http request option.
|
|
98
|
-
* @throws {RequiredError}
|
|
99
|
-
*/
|
|
100
|
-
deleteRegion(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @summary Get region by ID
|
|
104
|
-
* @param {string} id Region ID
|
|
105
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
106
|
-
* @param {*} [options] Override http request option.
|
|
107
|
-
* @throws {RequiredError}
|
|
108
|
-
*/
|
|
109
|
-
getRegionById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Region>>;
|
|
110
36
|
/**
|
|
111
37
|
*
|
|
112
38
|
* @summary List all regions
|
|
113
39
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
40
|
+
* @param {boolean} [includeShared] Include shared regions
|
|
114
41
|
* @param {*} [options] Override http request option.
|
|
115
42
|
* @throws {RequiredError}
|
|
116
43
|
*/
|
|
117
|
-
listRegions(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Region>>>;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @summary Regenerate proxy API key for a region
|
|
121
|
-
* @param {string} id Region ID
|
|
122
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
123
|
-
* @param {*} [options] Override http request option.
|
|
124
|
-
* @throws {RequiredError}
|
|
125
|
-
*/
|
|
126
|
-
regenerateProxyApiKey(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegenerateApiKeyResponse>>;
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @summary Regenerate SSH gateway API key for a region
|
|
130
|
-
* @param {string} id Region ID
|
|
131
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
132
|
-
* @param {*} [options] Override http request option.
|
|
133
|
-
* @throws {RequiredError}
|
|
134
|
-
*/
|
|
135
|
-
regenerateSshGatewayApiKey(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegenerateApiKeyResponse>>;
|
|
44
|
+
listRegions(xDaytonaOrganizationID?: string, includeShared?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Region>>>;
|
|
136
45
|
};
|
|
137
46
|
/**
|
|
138
47
|
* RegionsApi - factory interface
|
|
139
48
|
* @export
|
|
140
49
|
*/
|
|
141
50
|
export declare const RegionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @summary Create a new region
|
|
145
|
-
* @param {CreateRegion} createRegion
|
|
146
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
147
|
-
* @param {*} [options] Override http request option.
|
|
148
|
-
* @throws {RequiredError}
|
|
149
|
-
*/
|
|
150
|
-
createRegion(createRegion: CreateRegion, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<CreateRegionResponse>;
|
|
151
|
-
/**
|
|
152
|
-
*
|
|
153
|
-
* @summary Delete a region
|
|
154
|
-
* @param {string} id Region ID
|
|
155
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
156
|
-
* @param {*} [options] Override http request option.
|
|
157
|
-
* @throws {RequiredError}
|
|
158
|
-
*/
|
|
159
|
-
deleteRegion(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @summary Get region by ID
|
|
163
|
-
* @param {string} id Region ID
|
|
164
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
165
|
-
* @param {*} [options] Override http request option.
|
|
166
|
-
* @throws {RequiredError}
|
|
167
|
-
*/
|
|
168
|
-
getRegionById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Region>;
|
|
169
51
|
/**
|
|
170
52
|
*
|
|
171
53
|
* @summary List all regions
|
|
172
54
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
55
|
+
* @param {boolean} [includeShared] Include shared regions
|
|
173
56
|
* @param {*} [options] Override http request option.
|
|
174
57
|
* @throws {RequiredError}
|
|
175
58
|
*/
|
|
176
|
-
listRegions(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Region>>;
|
|
177
|
-
/**
|
|
178
|
-
*
|
|
179
|
-
* @summary Regenerate proxy API key for a region
|
|
180
|
-
* @param {string} id Region ID
|
|
181
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
182
|
-
* @param {*} [options] Override http request option.
|
|
183
|
-
* @throws {RequiredError}
|
|
184
|
-
*/
|
|
185
|
-
regenerateProxyApiKey(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<RegenerateApiKeyResponse>;
|
|
186
|
-
/**
|
|
187
|
-
*
|
|
188
|
-
* @summary Regenerate SSH gateway API key for a region
|
|
189
|
-
* @param {string} id Region ID
|
|
190
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
191
|
-
* @param {*} [options] Override http request option.
|
|
192
|
-
* @throws {RequiredError}
|
|
193
|
-
*/
|
|
194
|
-
regenerateSshGatewayApiKey(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<RegenerateApiKeyResponse>;
|
|
59
|
+
listRegions(xDaytonaOrganizationID?: string, includeShared?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Region>>;
|
|
195
60
|
};
|
|
196
61
|
/**
|
|
197
62
|
* RegionsApi - object-oriented interface
|
|
@@ -200,63 +65,14 @@ export declare const RegionsApiFactory: (configuration?: Configuration, basePath
|
|
|
200
65
|
* @extends {BaseAPI}
|
|
201
66
|
*/
|
|
202
67
|
export declare class RegionsApi extends BaseAPI {
|
|
203
|
-
/**
|
|
204
|
-
*
|
|
205
|
-
* @summary Create a new region
|
|
206
|
-
* @param {CreateRegion} createRegion
|
|
207
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
208
|
-
* @param {*} [options] Override http request option.
|
|
209
|
-
* @throws {RequiredError}
|
|
210
|
-
* @memberof RegionsApi
|
|
211
|
-
*/
|
|
212
|
-
createRegion(createRegion: CreateRegion, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRegionResponse, any>>;
|
|
213
|
-
/**
|
|
214
|
-
*
|
|
215
|
-
* @summary Delete a region
|
|
216
|
-
* @param {string} id Region ID
|
|
217
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
218
|
-
* @param {*} [options] Override http request option.
|
|
219
|
-
* @throws {RequiredError}
|
|
220
|
-
* @memberof RegionsApi
|
|
221
|
-
*/
|
|
222
|
-
deleteRegion(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
223
|
-
/**
|
|
224
|
-
*
|
|
225
|
-
* @summary Get region by ID
|
|
226
|
-
* @param {string} id Region ID
|
|
227
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
228
|
-
* @param {*} [options] Override http request option.
|
|
229
|
-
* @throws {RequiredError}
|
|
230
|
-
* @memberof RegionsApi
|
|
231
|
-
*/
|
|
232
|
-
getRegionById(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Region, any>>;
|
|
233
68
|
/**
|
|
234
69
|
*
|
|
235
70
|
* @summary List all regions
|
|
236
71
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
72
|
+
* @param {boolean} [includeShared] Include shared regions
|
|
237
73
|
* @param {*} [options] Override http request option.
|
|
238
74
|
* @throws {RequiredError}
|
|
239
75
|
* @memberof RegionsApi
|
|
240
76
|
*/
|
|
241
|
-
listRegions(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Region[], any>>;
|
|
242
|
-
/**
|
|
243
|
-
*
|
|
244
|
-
* @summary Regenerate proxy API key for a region
|
|
245
|
-
* @param {string} id Region ID
|
|
246
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
247
|
-
* @param {*} [options] Override http request option.
|
|
248
|
-
* @throws {RequiredError}
|
|
249
|
-
* @memberof RegionsApi
|
|
250
|
-
*/
|
|
251
|
-
regenerateProxyApiKey(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegenerateApiKeyResponse, any>>;
|
|
252
|
-
/**
|
|
253
|
-
*
|
|
254
|
-
* @summary Regenerate SSH gateway API key for a region
|
|
255
|
-
* @param {string} id Region ID
|
|
256
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
257
|
-
* @param {*} [options] Override http request option.
|
|
258
|
-
* @throws {RequiredError}
|
|
259
|
-
* @memberof RegionsApi
|
|
260
|
-
*/
|
|
261
|
-
regenerateSshGatewayApiKey(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegenerateApiKeyResponse, any>>;
|
|
77
|
+
listRegions(xDaytonaOrganizationID?: string, includeShared?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Region[], any>>;
|
|
262
78
|
}
|