@daytonaio/api-client 0.106.0-alpha.2 → 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 -185
- package/src/api/sandbox-api.js +17 -314
- 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/daytona-configuration.d.ts +6 -0
- 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,CAA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BAAwB,CAAC,cAAc,EAAE,KAAK,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,11 +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
70
|
* @param {*} [options] Override http request option.
|
|
72
71
|
* @throws {RequiredError}
|
|
73
72
|
*/
|
|
74
|
-
deleteSandbox: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
|
+
deleteSandbox: (sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
74
|
/**
|
|
76
75
|
*
|
|
77
76
|
* @summary Get build logs
|
|
@@ -102,14 +101,6 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
102
101
|
* @throws {RequiredError}
|
|
103
102
|
*/
|
|
104
103
|
getSandbox: (sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @summary List all regions where sandboxes have been created
|
|
108
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
109
|
-
* @param {*} [options] Override http request option.
|
|
110
|
-
* @throws {RequiredError}
|
|
111
|
-
*/
|
|
112
|
-
getSandboxRegions: (xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
104
|
/**
|
|
114
105
|
*
|
|
115
106
|
* @summary Get sandboxes for the authenticated runner
|
|
@@ -131,32 +122,6 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
|
|
|
131
122
|
* @throws {RequiredError}
|
|
132
123
|
*/
|
|
133
124
|
listSandboxes: (xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @summary List all sandboxes paginated
|
|
137
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
138
|
-
* @param {number} [page] Page number of the results
|
|
139
|
-
* @param {number} [limit] Number of results per page
|
|
140
|
-
* @param {string} [id] Filter by partial ID match
|
|
141
|
-
* @param {string} [labels] JSON encoded labels to filter by
|
|
142
|
-
* @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
|
|
143
|
-
* @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
|
|
144
|
-
* @param {Array<string>} [snapshots] List of snapshot names to filter by
|
|
145
|
-
* @param {Array<string>} [regions] List of regions to filter by
|
|
146
|
-
* @param {number} [minCpu] Minimum CPU
|
|
147
|
-
* @param {number} [maxCpu] Maximum CPU
|
|
148
|
-
* @param {number} [minMemoryGiB] Minimum memory in GiB
|
|
149
|
-
* @param {number} [maxMemoryGiB] Maximum memory in GiB
|
|
150
|
-
* @param {number} [minDiskGiB] Minimum disk space in GiB
|
|
151
|
-
* @param {number} [maxDiskGiB] Maximum disk space in GiB
|
|
152
|
-
* @param {Date} [lastEventAfter] Include items with last event after this timestamp
|
|
153
|
-
* @param {Date} [lastEventBefore] Include items with last event before this timestamp
|
|
154
|
-
* @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
|
|
155
|
-
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
156
|
-
* @param {*} [options] Override http request option.
|
|
157
|
-
* @throws {RequiredError}
|
|
158
|
-
*/
|
|
159
|
-
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>;
|
|
160
125
|
/**
|
|
161
126
|
*
|
|
162
127
|
* @summary Replace sandbox labels
|
|
@@ -301,11 +266,12 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
301
266
|
*
|
|
302
267
|
* @summary Delete sandbox
|
|
303
268
|
* @param {string} sandboxId ID of the sandbox
|
|
269
|
+
* @param {boolean} force
|
|
304
270
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
305
271
|
* @param {*} [options] Override http request option.
|
|
306
272
|
* @throws {RequiredError}
|
|
307
273
|
*/
|
|
308
|
-
deleteSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
274
|
+
deleteSandbox(sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
309
275
|
/**
|
|
310
276
|
*
|
|
311
277
|
* @summary Get build logs
|
|
@@ -336,14 +302,6 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
336
302
|
* @throws {RequiredError}
|
|
337
303
|
*/
|
|
338
304
|
getSandbox(sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
339
|
-
/**
|
|
340
|
-
*
|
|
341
|
-
* @summary List all regions where sandboxes have been created
|
|
342
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
343
|
-
* @param {*} [options] Override http request option.
|
|
344
|
-
* @throws {RequiredError}
|
|
345
|
-
*/
|
|
346
|
-
getSandboxRegions(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Region>>>;
|
|
347
305
|
/**
|
|
348
306
|
*
|
|
349
307
|
* @summary Get sandboxes for the authenticated runner
|
|
@@ -365,32 +323,6 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
|
|
|
365
323
|
* @throws {RequiredError}
|
|
366
324
|
*/
|
|
367
325
|
listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
|
|
368
|
-
/**
|
|
369
|
-
*
|
|
370
|
-
* @summary List all sandboxes paginated
|
|
371
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
372
|
-
* @param {number} [page] Page number of the results
|
|
373
|
-
* @param {number} [limit] Number of results per page
|
|
374
|
-
* @param {string} [id] Filter by partial ID match
|
|
375
|
-
* @param {string} [labels] JSON encoded labels to filter by
|
|
376
|
-
* @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
|
|
377
|
-
* @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
|
|
378
|
-
* @param {Array<string>} [snapshots] List of snapshot names to filter by
|
|
379
|
-
* @param {Array<string>} [regions] List of regions to filter by
|
|
380
|
-
* @param {number} [minCpu] Minimum CPU
|
|
381
|
-
* @param {number} [maxCpu] Maximum CPU
|
|
382
|
-
* @param {number} [minMemoryGiB] Minimum memory in GiB
|
|
383
|
-
* @param {number} [maxMemoryGiB] Maximum memory in GiB
|
|
384
|
-
* @param {number} [minDiskGiB] Minimum disk space in GiB
|
|
385
|
-
* @param {number} [maxDiskGiB] Maximum disk space in GiB
|
|
386
|
-
* @param {Date} [lastEventAfter] Include items with last event after this timestamp
|
|
387
|
-
* @param {Date} [lastEventBefore] Include items with last event before this timestamp
|
|
388
|
-
* @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
|
|
389
|
-
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
390
|
-
* @param {*} [options] Override http request option.
|
|
391
|
-
* @throws {RequiredError}
|
|
392
|
-
*/
|
|
393
|
-
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>>;
|
|
394
326
|
/**
|
|
395
327
|
*
|
|
396
328
|
* @summary Replace sandbox labels
|
|
@@ -535,11 +467,12 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
535
467
|
*
|
|
536
468
|
* @summary Delete sandbox
|
|
537
469
|
* @param {string} sandboxId ID of the sandbox
|
|
470
|
+
* @param {boolean} force
|
|
538
471
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
539
472
|
* @param {*} [options] Override http request option.
|
|
540
473
|
* @throws {RequiredError}
|
|
541
474
|
*/
|
|
542
|
-
deleteSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
475
|
+
deleteSandbox(sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
543
476
|
/**
|
|
544
477
|
*
|
|
545
478
|
* @summary Get build logs
|
|
@@ -570,14 +503,6 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
570
503
|
* @throws {RequiredError}
|
|
571
504
|
*/
|
|
572
505
|
getSandbox(sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
573
|
-
/**
|
|
574
|
-
*
|
|
575
|
-
* @summary List all regions where sandboxes have been created
|
|
576
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
577
|
-
* @param {*} [options] Override http request option.
|
|
578
|
-
* @throws {RequiredError}
|
|
579
|
-
*/
|
|
580
|
-
getSandboxRegions(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Region>>;
|
|
581
506
|
/**
|
|
582
507
|
*
|
|
583
508
|
* @summary Get sandboxes for the authenticated runner
|
|
@@ -599,32 +524,6 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
|
|
|
599
524
|
* @throws {RequiredError}
|
|
600
525
|
*/
|
|
601
526
|
listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
|
|
602
|
-
/**
|
|
603
|
-
*
|
|
604
|
-
* @summary List all sandboxes paginated
|
|
605
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
606
|
-
* @param {number} [page] Page number of the results
|
|
607
|
-
* @param {number} [limit] Number of results per page
|
|
608
|
-
* @param {string} [id] Filter by partial ID match
|
|
609
|
-
* @param {string} [labels] JSON encoded labels to filter by
|
|
610
|
-
* @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
|
|
611
|
-
* @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
|
|
612
|
-
* @param {Array<string>} [snapshots] List of snapshot names to filter by
|
|
613
|
-
* @param {Array<string>} [regions] List of regions to filter by
|
|
614
|
-
* @param {number} [minCpu] Minimum CPU
|
|
615
|
-
* @param {number} [maxCpu] Maximum CPU
|
|
616
|
-
* @param {number} [minMemoryGiB] Minimum memory in GiB
|
|
617
|
-
* @param {number} [maxMemoryGiB] Maximum memory in GiB
|
|
618
|
-
* @param {number} [minDiskGiB] Minimum disk space in GiB
|
|
619
|
-
* @param {number} [maxDiskGiB] Maximum disk space in GiB
|
|
620
|
-
* @param {Date} [lastEventAfter] Include items with last event after this timestamp
|
|
621
|
-
* @param {Date} [lastEventBefore] Include items with last event before this timestamp
|
|
622
|
-
* @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
|
|
623
|
-
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
624
|
-
* @param {*} [options] Override http request option.
|
|
625
|
-
* @throws {RequiredError}
|
|
626
|
-
*/
|
|
627
|
-
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>;
|
|
628
527
|
/**
|
|
629
528
|
*
|
|
630
529
|
* @summary Replace sandbox labels
|
|
@@ -775,12 +674,13 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
775
674
|
*
|
|
776
675
|
* @summary Delete sandbox
|
|
777
676
|
* @param {string} sandboxId ID of the sandbox
|
|
677
|
+
* @param {boolean} force
|
|
778
678
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
779
679
|
* @param {*} [options] Override http request option.
|
|
780
680
|
* @throws {RequiredError}
|
|
781
681
|
* @memberof SandboxApi
|
|
782
682
|
*/
|
|
783
|
-
deleteSandbox(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
683
|
+
deleteSandbox(sandboxId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
784
684
|
/**
|
|
785
685
|
*
|
|
786
686
|
* @summary Get build logs
|
|
@@ -814,15 +714,6 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
814
714
|
* @memberof SandboxApi
|
|
815
715
|
*/
|
|
816
716
|
getSandbox(sandboxId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
817
|
-
/**
|
|
818
|
-
*
|
|
819
|
-
* @summary List all regions where sandboxes have been created
|
|
820
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
821
|
-
* @param {*} [options] Override http request option.
|
|
822
|
-
* @throws {RequiredError}
|
|
823
|
-
* @memberof SandboxApi
|
|
824
|
-
*/
|
|
825
|
-
getSandboxRegions(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Region[], any, {}>>;
|
|
826
717
|
/**
|
|
827
718
|
*
|
|
828
719
|
* @summary Get sandboxes for the authenticated runner
|
|
@@ -846,33 +737,6 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
846
737
|
* @memberof SandboxApi
|
|
847
738
|
*/
|
|
848
739
|
listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any, {}>>;
|
|
849
|
-
/**
|
|
850
|
-
*
|
|
851
|
-
* @summary List all sandboxes paginated
|
|
852
|
-
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
853
|
-
* @param {number} [page] Page number of the results
|
|
854
|
-
* @param {number} [limit] Number of results per page
|
|
855
|
-
* @param {string} [id] Filter by partial ID match
|
|
856
|
-
* @param {string} [labels] JSON encoded labels to filter by
|
|
857
|
-
* @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
|
|
858
|
-
* @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
|
|
859
|
-
* @param {Array<string>} [snapshots] List of snapshot names to filter by
|
|
860
|
-
* @param {Array<string>} [regions] List of regions to filter by
|
|
861
|
-
* @param {number} [minCpu] Minimum CPU
|
|
862
|
-
* @param {number} [maxCpu] Maximum CPU
|
|
863
|
-
* @param {number} [minMemoryGiB] Minimum memory in GiB
|
|
864
|
-
* @param {number} [maxMemoryGiB] Maximum memory in GiB
|
|
865
|
-
* @param {number} [minDiskGiB] Minimum disk space in GiB
|
|
866
|
-
* @param {number} [maxDiskGiB] Maximum disk space in GiB
|
|
867
|
-
* @param {Date} [lastEventAfter] Include items with last event after this timestamp
|
|
868
|
-
* @param {Date} [lastEventBefore] Include items with last event before this timestamp
|
|
869
|
-
* @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
|
|
870
|
-
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
871
|
-
* @param {*} [options] Override http request option.
|
|
872
|
-
* @throws {RequiredError}
|
|
873
|
-
* @memberof SandboxApi
|
|
874
|
-
*/
|
|
875
|
-
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, {}>>;
|
|
876
740
|
/**
|
|
877
741
|
*
|
|
878
742
|
* @summary Replace sandbox labels
|
|
@@ -981,44 +845,3 @@ export declare class SandboxApi extends BaseAPI {
|
|
|
981
845
|
*/
|
|
982
846
|
validateSshAccess(token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessValidationDto, any, {}>>;
|
|
983
847
|
}
|
|
984
|
-
/**
|
|
985
|
-
* @export
|
|
986
|
-
*/
|
|
987
|
-
export declare const ListSandboxesPaginatedStatesEnum: {
|
|
988
|
-
readonly CREATING: "creating";
|
|
989
|
-
readonly RESTORING: "restoring";
|
|
990
|
-
readonly DESTROYING: "destroying";
|
|
991
|
-
readonly STARTED: "started";
|
|
992
|
-
readonly STOPPED: "stopped";
|
|
993
|
-
readonly STARTING: "starting";
|
|
994
|
-
readonly STOPPING: "stopping";
|
|
995
|
-
readonly ERROR: "error";
|
|
996
|
-
readonly BUILD_FAILED: "build_failed";
|
|
997
|
-
readonly PENDING_BUILD: "pending_build";
|
|
998
|
-
readonly BUILDING_SNAPSHOT: "building_snapshot";
|
|
999
|
-
readonly UNKNOWN: "unknown";
|
|
1000
|
-
readonly PULLING_SNAPSHOT: "pulling_snapshot";
|
|
1001
|
-
readonly ARCHIVED: "archived";
|
|
1002
|
-
readonly ARCHIVING: "archiving";
|
|
1003
|
-
};
|
|
1004
|
-
export type ListSandboxesPaginatedStatesEnum = (typeof ListSandboxesPaginatedStatesEnum)[keyof typeof ListSandboxesPaginatedStatesEnum];
|
|
1005
|
-
/**
|
|
1006
|
-
* @export
|
|
1007
|
-
*/
|
|
1008
|
-
export declare const ListSandboxesPaginatedSortEnum: {
|
|
1009
|
-
readonly ID: "id";
|
|
1010
|
-
readonly STATE: "state";
|
|
1011
|
-
readonly SNAPSHOT: "snapshot";
|
|
1012
|
-
readonly REGION: "region";
|
|
1013
|
-
readonly UPDATED_AT: "updatedAt";
|
|
1014
|
-
readonly CREATED_AT: "createdAt";
|
|
1015
|
-
};
|
|
1016
|
-
export type ListSandboxesPaginatedSortEnum = (typeof ListSandboxesPaginatedSortEnum)[keyof typeof ListSandboxesPaginatedSortEnum];
|
|
1017
|
-
/**
|
|
1018
|
-
* @export
|
|
1019
|
-
*/
|
|
1020
|
-
export declare const ListSandboxesPaginatedOrderEnum: {
|
|
1021
|
-
readonly ASC: "asc";
|
|
1022
|
-
readonly DESC: "desc";
|
|
1023
|
-
};
|
|
1024
|
-
export type ListSandboxesPaginatedOrderEnum = (typeof ListSandboxesPaginatedOrderEnum)[keyof typeof ListSandboxesPaginatedOrderEnum];
|