@daytonaio/api-client 0.106.0-alpha.3 → 0.106.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/audit-api.d.ts +24 -24
- package/src/api/audit-api.js +36 -36
- package/src/api/audit-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +8 -189
- package/src/api/sandbox-api.js +14 -318
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +13 -43
- package/src/api/snapshots-api.js +18 -55
- package/src/api/snapshots-api.js.map +1 -1
- package/src/models/index.d.ts +1 -3
- package/src/models/index.js +1 -3
- package/src/models/index.js.map +1 -1
- package/src/models/paginated-sandboxes.d.ts +0 -43
- package/src/models/paginated-sandboxes.js +0 -16
- package/src/models/paginated-sandboxes.js.map +0 -1
- package/src/models/paginated-snapshots.d.ts +0 -43
- package/src/models/paginated-snapshots.js +0 -16
- package/src/models/paginated-snapshots.js.map +0 -1
- package/src/models/region.d.ts +0 -24
- package/src/models/region.js +0 -4
- package/src/models/region.js.map +0 -1
package/package.json
CHANGED
package/src/api/audit-api.d.ts
CHANGED
|
@@ -31,22 +31,22 @@ export declare const AuditApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @summary Get all audit logs
|
|
34
|
-
* @param {number} [
|
|
35
|
-
* @param {number} [
|
|
34
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
35
|
+
* @param {number} [page] Page number (default: 1)
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
getAllAuditLogs: (
|
|
39
|
+
getAllAuditLogs: (limit?: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @summary Get audit logs for organization
|
|
43
43
|
* @param {string} organizationId Organization ID
|
|
44
|
-
* @param {number} [
|
|
45
|
-
* @param {number} [
|
|
44
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
45
|
+
* @param {number} [page] Page number (default: 1)
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
getOrganizationAuditLogs: (organizationId: string,
|
|
49
|
+
getOrganizationAuditLogs: (organizationId: string, limit?: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
52
|
* AuditApi - functional programming interface
|
|
@@ -64,22 +64,22 @@ export declare const AuditApiFp: (configuration?: Configuration) => {
|
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @summary Get all audit logs
|
|
67
|
-
* @param {number} [
|
|
68
|
-
* @param {number} [
|
|
67
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
68
|
+
* @param {number} [page] Page number (default: 1)
|
|
69
69
|
* @param {*} [options] Override http request option.
|
|
70
70
|
* @throws {RequiredError}
|
|
71
71
|
*/
|
|
72
|
-
getAllAuditLogs(
|
|
72
|
+
getAllAuditLogs(limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedAuditLogs>>;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @summary Get audit logs for organization
|
|
76
76
|
* @param {string} organizationId Organization ID
|
|
77
|
-
* @param {number} [
|
|
78
|
-
* @param {number} [
|
|
77
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
78
|
+
* @param {number} [page] Page number (default: 1)
|
|
79
79
|
* @param {*} [options] Override http request option.
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
*/
|
|
82
|
-
getOrganizationAuditLogs(organizationId: string,
|
|
82
|
+
getOrganizationAuditLogs(organizationId: string, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedAuditLogs>>;
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
85
|
* AuditApi - factory interface
|
|
@@ -97,22 +97,22 @@ export declare const AuditApiFactory: (configuration?: Configuration, basePath?:
|
|
|
97
97
|
/**
|
|
98
98
|
*
|
|
99
99
|
* @summary Get all audit logs
|
|
100
|
-
* @param {number} [
|
|
101
|
-
* @param {number} [
|
|
100
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
101
|
+
* @param {number} [page] Page number (default: 1)
|
|
102
102
|
* @param {*} [options] Override http request option.
|
|
103
103
|
* @throws {RequiredError}
|
|
104
104
|
*/
|
|
105
|
-
getAllAuditLogs(
|
|
105
|
+
getAllAuditLogs(limit?: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedAuditLogs>;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @summary Get audit logs for organization
|
|
109
109
|
* @param {string} organizationId Organization ID
|
|
110
|
-
* @param {number} [
|
|
111
|
-
* @param {number} [
|
|
110
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
111
|
+
* @param {number} [page] Page number (default: 1)
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
114
114
|
*/
|
|
115
|
-
getOrganizationAuditLogs(organizationId: string,
|
|
115
|
+
getOrganizationAuditLogs(organizationId: string, limit?: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedAuditLogs>;
|
|
116
116
|
};
|
|
117
117
|
/**
|
|
118
118
|
* AuditApi - object-oriented interface
|
|
@@ -133,22 +133,22 @@ export declare class AuditApi extends BaseAPI {
|
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
* @summary Get all audit logs
|
|
136
|
-
* @param {number} [
|
|
137
|
-
* @param {number} [
|
|
136
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
137
|
+
* @param {number} [page] Page number (default: 1)
|
|
138
138
|
* @param {*} [options] Override http request option.
|
|
139
139
|
* @throws {RequiredError}
|
|
140
140
|
* @memberof AuditApi
|
|
141
141
|
*/
|
|
142
|
-
getAllAuditLogs(
|
|
142
|
+
getAllAuditLogs(limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedAuditLogs, any, {}>>;
|
|
143
143
|
/**
|
|
144
144
|
*
|
|
145
145
|
* @summary Get audit logs for organization
|
|
146
146
|
* @param {string} organizationId Organization ID
|
|
147
|
-
* @param {number} [
|
|
148
|
-
* @param {number} [
|
|
147
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
148
|
+
* @param {number} [page] Page number (default: 1)
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
* @memberof AuditApi
|
|
152
152
|
*/
|
|
153
|
-
getOrganizationAuditLogs(organizationId: string,
|
|
153
|
+
getOrganizationAuditLogs(organizationId: string, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedAuditLogs, any, {}>>;
|
|
154
154
|
}
|
package/src/api/audit-api.js
CHANGED
|
@@ -63,12 +63,12 @@ const AuditApiAxiosParamCreator = function (configuration) {
|
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @summary Get all audit logs
|
|
66
|
-
* @param {number} [
|
|
67
|
-
* @param {number} [
|
|
66
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
67
|
+
* @param {number} [page] Page number (default: 1)
|
|
68
68
|
* @param {*} [options] Override http request option.
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
*/
|
|
71
|
-
getAllAuditLogs: async (
|
|
71
|
+
getAllAuditLogs: async (limit, page, options = {}) => {
|
|
72
72
|
const localVarPath = `/audit`;
|
|
73
73
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
74
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -83,12 +83,12 @@ const AuditApiAxiosParamCreator = function (configuration) {
|
|
|
83
83
|
// http bearer authentication required
|
|
84
84
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
85
85
|
// authentication oauth2 required
|
|
86
|
-
if (page !== undefined) {
|
|
87
|
-
localVarQueryParameter['page'] = page;
|
|
88
|
-
}
|
|
89
86
|
if (limit !== undefined) {
|
|
90
87
|
localVarQueryParameter['limit'] = limit;
|
|
91
88
|
}
|
|
89
|
+
if (page !== undefined) {
|
|
90
|
+
localVarQueryParameter['page'] = page;
|
|
91
|
+
}
|
|
92
92
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
93
93
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
94
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -101,12 +101,12 @@ const AuditApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
*
|
|
102
102
|
* @summary Get audit logs for organization
|
|
103
103
|
* @param {string} organizationId Organization ID
|
|
104
|
-
* @param {number} [
|
|
105
|
-
* @param {number} [
|
|
104
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
105
|
+
* @param {number} [page] Page number (default: 1)
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
108
108
|
*/
|
|
109
|
-
getOrganizationAuditLogs: async (organizationId,
|
|
109
|
+
getOrganizationAuditLogs: async (organizationId, limit, page, options = {}) => {
|
|
110
110
|
// verify required parameter 'organizationId' is not null or undefined
|
|
111
111
|
(0, common_1.assertParamExists)('getOrganizationAuditLogs', 'organizationId', organizationId);
|
|
112
112
|
const localVarPath = `/audit/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
@@ -123,12 +123,12 @@ const AuditApiAxiosParamCreator = function (configuration) {
|
|
|
123
123
|
// http bearer authentication required
|
|
124
124
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
125
125
|
// authentication oauth2 required
|
|
126
|
-
if (page !== undefined) {
|
|
127
|
-
localVarQueryParameter['page'] = page;
|
|
128
|
-
}
|
|
129
126
|
if (limit !== undefined) {
|
|
130
127
|
localVarQueryParameter['limit'] = limit;
|
|
131
128
|
}
|
|
129
|
+
if (page !== undefined) {
|
|
130
|
+
localVarQueryParameter['page'] = page;
|
|
131
|
+
}
|
|
132
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
133
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
134
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -163,13 +163,13 @@ const AuditApiFp = function (configuration) {
|
|
|
163
163
|
/**
|
|
164
164
|
*
|
|
165
165
|
* @summary Get all audit logs
|
|
166
|
-
* @param {number} [
|
|
167
|
-
* @param {number} [
|
|
166
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
167
|
+
* @param {number} [page] Page number (default: 1)
|
|
168
168
|
* @param {*} [options] Override http request option.
|
|
169
169
|
* @throws {RequiredError}
|
|
170
170
|
*/
|
|
171
|
-
async getAllAuditLogs(
|
|
172
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllAuditLogs(
|
|
171
|
+
async getAllAuditLogs(limit, page, options) {
|
|
172
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllAuditLogs(limit, page, options);
|
|
173
173
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
174
174
|
const localVarOperationServerBasePath = base_1.operationServerMap['AuditApi.getAllAuditLogs']?.[localVarOperationServerIndex]?.url;
|
|
175
175
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -178,13 +178,13 @@ const AuditApiFp = function (configuration) {
|
|
|
178
178
|
*
|
|
179
179
|
* @summary Get audit logs for organization
|
|
180
180
|
* @param {string} organizationId Organization ID
|
|
181
|
-
* @param {number} [
|
|
182
|
-
* @param {number} [
|
|
181
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
182
|
+
* @param {number} [page] Page number (default: 1)
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
186
|
-
async getOrganizationAuditLogs(organizationId,
|
|
187
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationAuditLogs(organizationId,
|
|
186
|
+
async getOrganizationAuditLogs(organizationId, limit, page, options) {
|
|
187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationAuditLogs(organizationId, limit, page, options);
|
|
188
188
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
189
189
|
const localVarOperationServerBasePath = base_1.operationServerMap['AuditApi.getOrganizationAuditLogs']?.[localVarOperationServerIndex]?.url;
|
|
190
190
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -212,26 +212,26 @@ const AuditApiFactory = function (configuration, basePath, axios) {
|
|
|
212
212
|
/**
|
|
213
213
|
*
|
|
214
214
|
* @summary Get all audit logs
|
|
215
|
-
* @param {number} [
|
|
216
|
-
* @param {number} [
|
|
215
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
216
|
+
* @param {number} [page] Page number (default: 1)
|
|
217
217
|
* @param {*} [options] Override http request option.
|
|
218
218
|
* @throws {RequiredError}
|
|
219
219
|
*/
|
|
220
|
-
getAllAuditLogs(
|
|
221
|
-
return localVarFp.getAllAuditLogs(
|
|
220
|
+
getAllAuditLogs(limit, page, options) {
|
|
221
|
+
return localVarFp.getAllAuditLogs(limit, page, options).then((request) => request(axios, basePath));
|
|
222
222
|
},
|
|
223
223
|
/**
|
|
224
224
|
*
|
|
225
225
|
* @summary Get audit logs for organization
|
|
226
226
|
* @param {string} organizationId Organization ID
|
|
227
|
-
* @param {number} [
|
|
228
|
-
* @param {number} [
|
|
227
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
228
|
+
* @param {number} [page] Page number (default: 1)
|
|
229
229
|
* @param {*} [options] Override http request option.
|
|
230
230
|
* @throws {RequiredError}
|
|
231
231
|
*/
|
|
232
|
-
getOrganizationAuditLogs(organizationId,
|
|
232
|
+
getOrganizationAuditLogs(organizationId, limit, page, options) {
|
|
233
233
|
return localVarFp
|
|
234
|
-
.getOrganizationAuditLogs(organizationId,
|
|
234
|
+
.getOrganizationAuditLogs(organizationId, limit, page, options)
|
|
235
235
|
.then((request) => request(axios, basePath));
|
|
236
236
|
},
|
|
237
237
|
};
|
|
@@ -260,30 +260,30 @@ class AuditApi extends base_1.BaseAPI {
|
|
|
260
260
|
/**
|
|
261
261
|
*
|
|
262
262
|
* @summary Get all audit logs
|
|
263
|
-
* @param {number} [
|
|
264
|
-
* @param {number} [
|
|
263
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
264
|
+
* @param {number} [page] Page number (default: 1)
|
|
265
265
|
* @param {*} [options] Override http request option.
|
|
266
266
|
* @throws {RequiredError}
|
|
267
267
|
* @memberof AuditApi
|
|
268
268
|
*/
|
|
269
|
-
getAllAuditLogs(
|
|
269
|
+
getAllAuditLogs(limit, page, options) {
|
|
270
270
|
return (0, exports.AuditApiFp)(this.configuration)
|
|
271
|
-
.getAllAuditLogs(
|
|
271
|
+
.getAllAuditLogs(limit, page, options)
|
|
272
272
|
.then((request) => request(this.axios, this.basePath));
|
|
273
273
|
}
|
|
274
274
|
/**
|
|
275
275
|
*
|
|
276
276
|
* @summary Get audit logs for organization
|
|
277
277
|
* @param {string} organizationId Organization ID
|
|
278
|
-
* @param {number} [
|
|
279
|
-
* @param {number} [
|
|
278
|
+
* @param {number} [limit] Number of items per page (default: 10)
|
|
279
|
+
* @param {number} [page] Page number (default: 1)
|
|
280
280
|
* @param {*} [options] Override http request option.
|
|
281
281
|
* @throws {RequiredError}
|
|
282
282
|
* @memberof AuditApi
|
|
283
283
|
*/
|
|
284
|
-
getOrganizationAuditLogs(organizationId,
|
|
284
|
+
getOrganizationAuditLogs(organizationId, limit, page, options) {
|
|
285
285
|
return (0, exports.AuditApiFp)(this.configuration)
|
|
286
|
-
.getOrganizationAuditLogs(organizationId,
|
|
286
|
+
.getOrganizationAuditLogs(organizationId, limit, page, options)
|
|
287
287
|
.then((request) => request(this.axios, this.basePath));
|
|
288
288
|
}
|
|
289
289
|
}
|
package/src/api/audit-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-api.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/api/audit-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,iCAA+B;AAC/B,yDAAyD;AACzD,aAAa;AACb,sCAWkB;AAClB,aAAa;AACb,kCAAqH;AAOrH;;;GAGG;AACI,MAAM,yBAAyB,GAAG,UAAU,aAA6B;IAC9E,OAAO;QACL;;;;;;WAMG;QACH,cAAc,EAAE,KAAK,EACnB,cAA8B,EAC9B,UAAiC,EAAE,EACb,EAAE;YACxB,sEAAsE;YACtE,IAAA,0BAAiB,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,CAAC,CAAA;YACrE,MAAM,YAAY,GAAG,QAAQ,CAAA;YAC7B,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAA;YAC5D,IAAI,WAAW,CAAA;YACf,IAAI,aAAa,EAAE,CAAC;gBAClB,WAAW,GAAG,aAAa,CAAC,WAAW,CAAA;YACzC,CAAC;YAED,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,GAAG,OAAO,EAAE,CAAA;YAC7E,MAAM,uBAAuB,GAAG,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,EAAE,IAAI,EAAE,OAAO,CAAC;aAC9D,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;CACF;AAlDD,4BAkDC"}
|
package/src/api/sandbox-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 { CreateSandbox } from '../models';
|
|
16
|
-
import type { PaginatedSandboxes } from '../models';
|
|
17
16
|
import type { PortPreviewUrl } from '../models';
|
|
18
|
-
import type { Region } from '../models';
|
|
19
17
|
import type { Sandbox } from '../models';
|
|
20
18
|
import type { SandboxLabels } from '../models';
|
|
21
19
|
import type { SshAccessDto } from '../models';
|
|
@@ -67,12 +65,12 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
67
65
|
*
|
|
68
66
|
* @summary Delete sandbox
|
|
69
67
|
* @param {string} sandboxId ID of the sandbox
|
|
68
|
+
* @param {boolean} force
|
|
70
69
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
71
|
-
* @param {boolean} [force] Force delete sandbox
|
|
72
70
|
* @param {*} [options] Override http request option.
|
|
73
71
|
* @throws {RequiredError}
|
|
74
72
|
*/
|
|
75
|
-
deleteSandbox: (sandboxId: string,
|
|
73
|
+
deleteSandbox: (sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
74
|
/**
|
|
77
75
|
*
|
|
78
76
|
* @summary Get build logs
|
|
@@ -103,14 +101,6 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
103
101
|
* @throws {RequiredError}
|
|
104
102
|
*/
|
|
105
103
|
getSandbox: (sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @summary List all regions where sandboxes have been created
|
|
109
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
110
|
-
* @param {*} [options] Override http request option.
|
|
111
|
-
* @throws {RequiredError}
|
|
112
|
-
*/
|
|
113
|
-
getSandboxRegions: (xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
114
104
|
/**
|
|
115
105
|
*
|
|
116
106
|
* @summary Get sandboxes for the authenticated runner
|
|
@@ -132,32 +122,6 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
132
122
|
* @throws {RequiredError}
|
|
133
123
|
*/
|
|
134
124
|
listSandboxes: (xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
135
|
-
/**
|
|
136
|
-
*
|
|
137
|
-
* @summary List all sandboxes paginated
|
|
138
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
139
|
-
* @param {number} [page] Page number of the results
|
|
140
|
-
* @param {number} [limit] Number of results per page
|
|
141
|
-
* @param {string} [id] Filter by partial ID match
|
|
142
|
-
* @param {string} [labels] JSON encoded labels to filter by
|
|
143
|
-
* @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
|
|
144
|
-
* @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
|
|
145
|
-
* @param {Array<string>} [snapshots] List of snapshot names to filter by
|
|
146
|
-
* @param {Array<string>} [regions] List of regions to filter by
|
|
147
|
-
* @param {number} [minCpu] Minimum CPU
|
|
148
|
-
* @param {number} [maxCpu] Maximum CPU
|
|
149
|
-
* @param {number} [minMemoryGiB] Minimum memory in GiB
|
|
150
|
-
* @param {number} [maxMemoryGiB] Maximum memory in GiB
|
|
151
|
-
* @param {number} [minDiskGiB] Minimum disk space in GiB
|
|
152
|
-
* @param {number} [maxDiskGiB] Maximum disk space in GiB
|
|
153
|
-
* @param {Date} [lastEventAfter] Include items with last event after this timestamp
|
|
154
|
-
* @param {Date} [lastEventBefore] Include items with last event before this timestamp
|
|
155
|
-
* @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
|
|
156
|
-
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
157
|
-
* @param {*} [options] Override http request option.
|
|
158
|
-
* @throws {RequiredError}
|
|
159
|
-
*/
|
|
160
|
-
listSandboxesPaginated: (xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
161
125
|
/**
|
|
162
126
|
*
|
|
163
127
|
* @summary Replace sandbox labels
|
|
@@ -302,12 +266,12 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
302
266
|
*
|
|
303
267
|
* @summary Delete sandbox
|
|
304
268
|
* @param {string} sandboxId ID of the sandbox
|
|
269
|
+
* @param {boolean} force
|
|
305
270
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
306
|
-
* @param {boolean} [force] Force delete sandbox
|
|
307
271
|
* @param {*} [options] Override http request option.
|
|
308
272
|
* @throws {RequiredError}
|
|
309
273
|
*/
|
|
310
|
-
deleteSandbox(sandboxId: string,
|
|
274
|
+
deleteSandbox(sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
311
275
|
/**
|
|
312
276
|
*
|
|
313
277
|
* @summary Get build logs
|
|
@@ -338,14 +302,6 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
338
302
|
* @throws {RequiredError}
|
|
339
303
|
*/
|
|
340
304
|
getSandbox(sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
341
|
-
/**
|
|
342
|
-
*
|
|
343
|
-
* @summary List all regions where sandboxes have been created
|
|
344
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
345
|
-
* @param {*} [options] Override http request option.
|
|
346
|
-
* @throws {RequiredError}
|
|
347
|
-
*/
|
|
348
|
-
getSandboxRegions(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Region>>>;
|
|
349
305
|
/**
|
|
350
306
|
*
|
|
351
307
|
* @summary Get sandboxes for the authenticated runner
|
|
@@ -367,32 +323,6 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
367
323
|
* @throws {RequiredError}
|
|
368
324
|
*/
|
|
369
325
|
listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
|
|
370
|
-
/**
|
|
371
|
-
*
|
|
372
|
-
* @summary List all sandboxes paginated
|
|
373
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
374
|
-
* @param {number} [page] Page number of the results
|
|
375
|
-
* @param {number} [limit] Number of results per page
|
|
376
|
-
* @param {string} [id] Filter by partial ID match
|
|
377
|
-
* @param {string} [labels] JSON encoded labels to filter by
|
|
378
|
-
* @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
|
|
379
|
-
* @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
|
|
380
|
-
* @param {Array<string>} [snapshots] List of snapshot names to filter by
|
|
381
|
-
* @param {Array<string>} [regions] List of regions to filter by
|
|
382
|
-
* @param {number} [minCpu] Minimum CPU
|
|
383
|
-
* @param {number} [maxCpu] Maximum CPU
|
|
384
|
-
* @param {number} [minMemoryGiB] Minimum memory in GiB
|
|
385
|
-
* @param {number} [maxMemoryGiB] Maximum memory in GiB
|
|
386
|
-
* @param {number} [minDiskGiB] Minimum disk space in GiB
|
|
387
|
-
* @param {number} [maxDiskGiB] Maximum disk space in GiB
|
|
388
|
-
* @param {Date} [lastEventAfter] Include items with last event after this timestamp
|
|
389
|
-
* @param {Date} [lastEventBefore] Include items with last event before this timestamp
|
|
390
|
-
* @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
|
|
391
|
-
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
392
|
-
* @param {*} [options] Override http request option.
|
|
393
|
-
* @throws {RequiredError}
|
|
394
|
-
*/
|
|
395
|
-
listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedSandboxes>>;
|
|
396
326
|
/**
|
|
397
327
|
*
|
|
398
328
|
* @summary Replace sandbox labels
|
|
@@ -537,12 +467,12 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
537
467
|
*
|
|
538
468
|
* @summary Delete sandbox
|
|
539
469
|
* @param {string} sandboxId ID of the sandbox
|
|
470
|
+
* @param {boolean} force
|
|
540
471
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
541
|
-
* @param {boolean} [force] Force delete sandbox
|
|
542
472
|
* @param {*} [options] Override http request option.
|
|
543
473
|
* @throws {RequiredError}
|
|
544
474
|
*/
|
|
545
|
-
deleteSandbox(sandboxId: string,
|
|
475
|
+
deleteSandbox(sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
546
476
|
/**
|
|
547
477
|
*
|
|
548
478
|
* @summary Get build logs
|
|
@@ -573,14 +503,6 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
573
503
|
* @throws {RequiredError}
|
|
574
504
|
*/
|
|
575
505
|
getSandbox(sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
576
|
-
/**
|
|
577
|
-
*
|
|
578
|
-
* @summary List all regions where sandboxes have been created
|
|
579
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
580
|
-
* @param {*} [options] Override http request option.
|
|
581
|
-
* @throws {RequiredError}
|
|
582
|
-
*/
|
|
583
|
-
getSandboxRegions(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Region>>;
|
|
584
506
|
/**
|
|
585
507
|
*
|
|
586
508
|
* @summary Get sandboxes for the authenticated runner
|
|
@@ -602,32 +524,6 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
602
524
|
* @throws {RequiredError}
|
|
603
525
|
*/
|
|
604
526
|
listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
|
|
605
|
-
/**
|
|
606
|
-
*
|
|
607
|
-
* @summary List all sandboxes paginated
|
|
608
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
609
|
-
* @param {number} [page] Page number of the results
|
|
610
|
-
* @param {number} [limit] Number of results per page
|
|
611
|
-
* @param {string} [id] Filter by partial ID match
|
|
612
|
-
* @param {string} [labels] JSON encoded labels to filter by
|
|
613
|
-
* @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
|
|
614
|
-
* @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
|
|
615
|
-
* @param {Array<string>} [snapshots] List of snapshot names to filter by
|
|
616
|
-
* @param {Array<string>} [regions] List of regions to filter by
|
|
617
|
-
* @param {number} [minCpu] Minimum CPU
|
|
618
|
-
* @param {number} [maxCpu] Maximum CPU
|
|
619
|
-
* @param {number} [minMemoryGiB] Minimum memory in GiB
|
|
620
|
-
* @param {number} [maxMemoryGiB] Maximum memory in GiB
|
|
621
|
-
* @param {number} [minDiskGiB] Minimum disk space in GiB
|
|
622
|
-
* @param {number} [maxDiskGiB] Maximum disk space in GiB
|
|
623
|
-
* @param {Date} [lastEventAfter] Include items with last event after this timestamp
|
|
624
|
-
* @param {Date} [lastEventBefore] Include items with last event before this timestamp
|
|
625
|
-
* @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
|
|
626
|
-
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
627
|
-
* @param {*} [options] Override http request option.
|
|
628
|
-
* @throws {RequiredError}
|
|
629
|
-
*/
|
|
630
|
-
listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSandboxes>;
|
|
631
527
|
/**
|
|
632
528
|
*
|
|
633
529
|
* @summary Replace sandbox labels
|
|
@@ -778,13 +674,13 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
778
674
|
*
|
|
779
675
|
* @summary Delete sandbox
|
|
780
676
|
* @param {string} sandboxId ID of the sandbox
|
|
677
|
+
* @param {boolean} force
|
|
781
678
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
782
|
-
* @param {boolean} [force] Force delete sandbox
|
|
783
679
|
* @param {*} [options] Override http request option.
|
|
784
680
|
* @throws {RequiredError}
|
|
785
681
|
* @memberof SandboxApi
|
|
786
682
|
*/
|
|
787
|
-
deleteSandbox(sandboxId: string,
|
|
683
|
+
deleteSandbox(sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
788
684
|
/**
|
|
789
685
|
*
|
|
790
686
|
* @summary Get build logs
|
|
@@ -818,15 +714,6 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
818
714
|
* @memberof SandboxApi
|
|
819
715
|
*/
|
|
820
716
|
getSandbox(sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
821
|
-
/**
|
|
822
|
-
*
|
|
823
|
-
* @summary List all regions where sandboxes have been created
|
|
824
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
825
|
-
* @param {*} [options] Override http request option.
|
|
826
|
-
* @throws {RequiredError}
|
|
827
|
-
* @memberof SandboxApi
|
|
828
|
-
*/
|
|
829
|
-
getSandboxRegions(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Region[], any, {}>>;
|
|
830
717
|
/**
|
|
831
718
|
*
|
|
832
719
|
* @summary Get sandboxes for the authenticated runner
|
|
@@ -850,33 +737,6 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
850
737
|
* @memberof SandboxApi
|
|
851
738
|
*/
|
|
852
739
|
listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any, {}>>;
|
|
853
|
-
/**
|
|
854
|
-
*
|
|
855
|
-
* @summary List all sandboxes paginated
|
|
856
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
857
|
-
* @param {number} [page] Page number of the results
|
|
858
|
-
* @param {number} [limit] Number of results per page
|
|
859
|
-
* @param {string} [id] Filter by partial ID match
|
|
860
|
-
* @param {string} [labels] JSON encoded labels to filter by
|
|
861
|
-
* @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
|
|
862
|
-
* @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
|
|
863
|
-
* @param {Array<string>} [snapshots] List of snapshot names to filter by
|
|
864
|
-
* @param {Array<string>} [regions] List of regions to filter by
|
|
865
|
-
* @param {number} [minCpu] Minimum CPU
|
|
866
|
-
* @param {number} [maxCpu] Maximum CPU
|
|
867
|
-
* @param {number} [minMemoryGiB] Minimum memory in GiB
|
|
868
|
-
* @param {number} [maxMemoryGiB] Maximum memory in GiB
|
|
869
|
-
* @param {number} [minDiskGiB] Minimum disk space in GiB
|
|
870
|
-
* @param {number} [maxDiskGiB] Maximum disk space in GiB
|
|
871
|
-
* @param {Date} [lastEventAfter] Include items with last event after this timestamp
|
|
872
|
-
* @param {Date} [lastEventBefore] Include items with last event before this timestamp
|
|
873
|
-
* @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
|
|
874
|
-
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
875
|
-
* @param {*} [options] Override http request option.
|
|
876
|
-
* @throws {RequiredError}
|
|
877
|
-
* @memberof SandboxApi
|
|
878
|
-
*/
|
|
879
|
-
listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSandboxes, any, {}>>;
|
|
880
740
|
/**
|
|
881
741
|
*
|
|
882
742
|
* @summary Replace sandbox labels
|
|
@@ -985,44 +845,3 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
985
845
|
*/
|
|
986
846
|
validateSshAccess(token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessValidationDto, any, {}>>;
|
|
987
847
|
}
|
|
988
|
-
/**
|
|
989
|
-
* @export
|
|
990
|
-
*/
|
|
991
|
-
export declare const ListSandboxesPaginatedStatesEnum: {
|
|
992
|
-
readonly CREATING: "creating";
|
|
993
|
-
readonly RESTORING: "restoring";
|
|
994
|
-
readonly DESTROYING: "destroying";
|
|
995
|
-
readonly STARTED: "started";
|
|
996
|
-
readonly STOPPED: "stopped";
|
|
997
|
-
readonly STARTING: "starting";
|
|
998
|
-
readonly STOPPING: "stopping";
|
|
999
|
-
readonly ERROR: "error";
|
|
1000
|
-
readonly BUILD_FAILED: "build_failed";
|
|
1001
|
-
readonly PENDING_BUILD: "pending_build";
|
|
1002
|
-
readonly BUILDING_SNAPSHOT: "building_snapshot";
|
|
1003
|
-
readonly UNKNOWN: "unknown";
|
|
1004
|
-
readonly PULLING_SNAPSHOT: "pulling_snapshot";
|
|
1005
|
-
readonly ARCHIVED: "archived";
|
|
1006
|
-
readonly ARCHIVING: "archiving";
|
|
1007
|
-
};
|
|
1008
|
-
export type ListSandboxesPaginatedStatesEnum = (typeof ListSandboxesPaginatedStatesEnum)[keyof typeof ListSandboxesPaginatedStatesEnum];
|
|
1009
|
-
/**
|
|
1010
|
-
* @export
|
|
1011
|
-
*/
|
|
1012
|
-
export declare const ListSandboxesPaginatedSortEnum: {
|
|
1013
|
-
readonly ID: "id";
|
|
1014
|
-
readonly STATE: "state";
|
|
1015
|
-
readonly SNAPSHOT: "snapshot";
|
|
1016
|
-
readonly REGION: "region";
|
|
1017
|
-
readonly UPDATED_AT: "updatedAt";
|
|
1018
|
-
readonly CREATED_AT: "createdAt";
|
|
1019
|
-
};
|
|
1020
|
-
export type ListSandboxesPaginatedSortEnum = (typeof ListSandboxesPaginatedSortEnum)[keyof typeof ListSandboxesPaginatedSortEnum];
|
|
1021
|
-
/**
|
|
1022
|
-
* @export
|
|
1023
|
-
*/
|
|
1024
|
-
export declare const ListSandboxesPaginatedOrderEnum: {
|
|
1025
|
-
readonly ASC: "asc";
|
|
1026
|
-
readonly DESC: "desc";
|
|
1027
|
-
};
|
|
1028
|
-
export type ListSandboxesPaginatedOrderEnum = (typeof ListSandboxesPaginatedOrderEnum)[keyof typeof ListSandboxesPaginatedOrderEnum];
|