@daytonaio/api-client 0.140.0 → 0.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/admin-api.d.ts +6 -6
- package/src/api/api-keys-api.d.ts +6 -6
- package/src/api/audit-api.d.ts +2 -2
- package/src/api/config-api.d.ts +1 -1
- package/src/api/docker-registry-api.d.ts +7 -7
- package/src/api/health-api.d.ts +1 -1
- package/src/api/jobs-api.d.ts +4 -4
- package/src/api/object-storage-api.d.ts +1 -1
- package/src/api/organizations-api.d.ts +116 -37
- package/src/api/organizations-api.js +146 -0
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/preview-api.d.ts +4 -4
- package/src/api/regions-api.d.ts +1 -1
- package/src/api/runners-api.d.ts +10 -10
- package/src/api/sandbox-api.d.ts +236 -28
- package/src/api/sandbox-api.js +419 -0
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +10 -10
- package/src/api/toolbox-api.d.ts +68 -68
- package/src/api/users-api.d.ts +9 -9
- package/src/api/volumes-api.d.ts +5 -5
- package/src/api/webhooks-api.d.ts +6 -6
- package/src/api/workspace-api.d.ts +14 -14
- package/src/models/index.d.ts +9 -0
- package/src/models/index.js +9 -0
- package/src/models/index.js.map +1 -1
- package/src/models/log-entry.d.ts +76 -0
- package/src/models/log-entry.js +4 -0
- package/src/models/log-entry.js.map +1 -0
- package/src/models/metric-data-point.d.ts +30 -0
- package/src/models/metric-data-point.js +4 -0
- package/src/models/metric-data-point.js.map +1 -0
- package/src/models/metric-series.d.ts +31 -0
- package/src/models/metric-series.js +16 -0
- package/src/models/metric-series.js.map +1 -0
- package/src/models/metrics-response.d.ts +25 -0
- package/src/models/metrics-response.js +16 -0
- package/src/models/metrics-response.js.map +1 -0
- package/src/models/organization.d.ts +24 -0
- package/src/models/otel-config.d.ts +32 -0
- package/src/models/otel-config.js +4 -0
- package/src/models/otel-config.js.map +1 -0
- package/src/models/paginated-logs.d.ts +43 -0
- package/src/models/paginated-logs.js +16 -0
- package/src/models/paginated-logs.js.map +1 -0
- package/src/models/paginated-traces.d.ts +43 -0
- package/src/models/paginated-traces.js +16 -0
- package/src/models/paginated-traces.js.map +1 -0
- package/src/models/trace-span.d.ts +74 -0
- package/src/models/trace-span.js +4 -0
- package/src/models/trace-span.js.map +1 -0
- package/src/models/trace-summary.d.ts +60 -0
- package/src/models/trace-summary.js +4 -0
- package/src/models/trace-summary.js.map +1 -0
- package/src/models/update-organization-quota.d.ts +18 -0
package/package.json
CHANGED
package/src/api/admin-api.d.ts
CHANGED
|
@@ -193,7 +193,7 @@ export declare class AdminApi extends BaseAPI {
|
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
* @memberof AdminApi
|
|
195
195
|
*/
|
|
196
|
-
adminCreateRunner(adminCreateRunner: AdminCreateRunner, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRunnerResponse, any>>;
|
|
196
|
+
adminCreateRunner(adminCreateRunner: AdminCreateRunner, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRunnerResponse, any, {}>>;
|
|
197
197
|
/**
|
|
198
198
|
*
|
|
199
199
|
* @summary Delete runner
|
|
@@ -202,7 +202,7 @@ export declare class AdminApi extends BaseAPI {
|
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
* @memberof AdminApi
|
|
204
204
|
*/
|
|
205
|
-
adminDeleteRunner(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
205
|
+
adminDeleteRunner(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
206
206
|
/**
|
|
207
207
|
*
|
|
208
208
|
* @summary Get runner by ID
|
|
@@ -211,7 +211,7 @@ export declare class AdminApi extends BaseAPI {
|
|
|
211
211
|
* @throws {RequiredError}
|
|
212
212
|
* @memberof AdminApi
|
|
213
213
|
*/
|
|
214
|
-
adminGetRunnerById(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull, any>>;
|
|
214
|
+
adminGetRunnerById(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull, any, {}>>;
|
|
215
215
|
/**
|
|
216
216
|
*
|
|
217
217
|
* @summary List all runners
|
|
@@ -220,7 +220,7 @@ export declare class AdminApi extends BaseAPI {
|
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
* @memberof AdminApi
|
|
222
222
|
*/
|
|
223
|
-
adminListRunners(regionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull[], any>>;
|
|
223
|
+
adminListRunners(regionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RunnerFull[], any, {}>>;
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
226
226
|
* @summary Recover sandbox from error state as an admin
|
|
@@ -229,7 +229,7 @@ export declare class AdminApi extends BaseAPI {
|
|
|
229
229
|
* @throws {RequiredError}
|
|
230
230
|
* @memberof AdminApi
|
|
231
231
|
*/
|
|
232
|
-
adminRecoverSandbox(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
|
|
232
|
+
adminRecoverSandbox(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any, {}>>;
|
|
233
233
|
/**
|
|
234
234
|
*
|
|
235
235
|
* @summary Update runner scheduling status
|
|
@@ -238,5 +238,5 @@ export declare class AdminApi extends BaseAPI {
|
|
|
238
238
|
* @throws {RequiredError}
|
|
239
239
|
* @memberof AdminApi
|
|
240
240
|
*/
|
|
241
|
-
adminUpdateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
241
|
+
adminUpdateRunnerScheduling(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
242
242
|
}
|
|
@@ -208,7 +208,7 @@ export declare class ApiKeysApi extends BaseAPI {
|
|
|
208
208
|
* @throws {RequiredError}
|
|
209
209
|
* @memberof ApiKeysApi
|
|
210
210
|
*/
|
|
211
|
-
createApiKey(createApiKey: CreateApiKey, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyResponse, any>>;
|
|
211
|
+
createApiKey(createApiKey: CreateApiKey, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyResponse, any, {}>>;
|
|
212
212
|
/**
|
|
213
213
|
*
|
|
214
214
|
* @summary Delete API key
|
|
@@ -218,7 +218,7 @@ export declare class ApiKeysApi extends BaseAPI {
|
|
|
218
218
|
* @throws {RequiredError}
|
|
219
219
|
* @memberof ApiKeysApi
|
|
220
220
|
*/
|
|
221
|
-
deleteApiKey(name: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
221
|
+
deleteApiKey(name: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
222
222
|
/**
|
|
223
223
|
*
|
|
224
224
|
* @summary Delete API key for user
|
|
@@ -229,7 +229,7 @@ export declare class ApiKeysApi extends BaseAPI {
|
|
|
229
229
|
* @throws {RequiredError}
|
|
230
230
|
* @memberof ApiKeysApi
|
|
231
231
|
*/
|
|
232
|
-
deleteApiKeyForUser(userId: string, name: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
232
|
+
deleteApiKeyForUser(userId: string, name: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
233
233
|
/**
|
|
234
234
|
*
|
|
235
235
|
* @summary Get API key
|
|
@@ -239,7 +239,7 @@ export declare class ApiKeysApi extends BaseAPI {
|
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
* @memberof ApiKeysApi
|
|
241
241
|
*/
|
|
242
|
-
getApiKey(name: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyList, any>>;
|
|
242
|
+
getApiKey(name: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyList, any, {}>>;
|
|
243
243
|
/**
|
|
244
244
|
*
|
|
245
245
|
* @summary Get current API key\'s details
|
|
@@ -248,7 +248,7 @@ export declare class ApiKeysApi extends BaseAPI {
|
|
|
248
248
|
* @throws {RequiredError}
|
|
249
249
|
* @memberof ApiKeysApi
|
|
250
250
|
*/
|
|
251
|
-
getCurrentApiKey(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyList, any>>;
|
|
251
|
+
getCurrentApiKey(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyList, any, {}>>;
|
|
252
252
|
/**
|
|
253
253
|
*
|
|
254
254
|
* @summary List API keys
|
|
@@ -257,5 +257,5 @@ export declare class ApiKeysApi extends BaseAPI {
|
|
|
257
257
|
* @throws {RequiredError}
|
|
258
258
|
* @memberof ApiKeysApi
|
|
259
259
|
*/
|
|
260
|
-
listApiKeys(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyList[], any>>;
|
|
260
|
+
listApiKeys(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApiKeyList[], any, {}>>;
|
|
261
261
|
}
|
package/src/api/audit-api.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ export declare class AuditApi extends BaseAPI {
|
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
* @memberof AuditApi
|
|
127
127
|
*/
|
|
128
|
-
getAllAuditLogs(page?: number, limit?: number, from?: Date, to?: Date, nextToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedAuditLogs, any>>;
|
|
128
|
+
getAllAuditLogs(page?: number, limit?: number, from?: Date, to?: Date, nextToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedAuditLogs, any, {}>>;
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
131
|
* @summary Get audit logs for organization
|
|
@@ -139,5 +139,5 @@ export declare class AuditApi extends BaseAPI {
|
|
|
139
139
|
* @throws {RequiredError}
|
|
140
140
|
* @memberof AuditApi
|
|
141
141
|
*/
|
|
142
|
-
getOrganizationAuditLogs(organizationId: string, page?: number, limit?: number, from?: Date, to?: Date, nextToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedAuditLogs, any>>;
|
|
142
|
+
getOrganizationAuditLogs(organizationId: string, page?: number, limit?: number, from?: Date, to?: Date, nextToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedAuditLogs, any, {}>>;
|
|
143
143
|
}
|
package/src/api/config-api.d.ts
CHANGED
|
@@ -66,5 +66,5 @@ export declare class ConfigApi extends BaseAPI {
|
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
* @memberof ConfigApi
|
|
68
68
|
*/
|
|
69
|
-
configControllerGetConfig(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DaytonaConfiguration, any>>;
|
|
69
|
+
configControllerGetConfig(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DaytonaConfiguration, any, {}>>;
|
|
70
70
|
}
|
|
@@ -239,7 +239,7 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
* @memberof DockerRegistryApi
|
|
241
241
|
*/
|
|
242
|
-
createRegistry(createDockerRegistry: CreateDockerRegistry, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry, any>>;
|
|
242
|
+
createRegistry(createDockerRegistry: CreateDockerRegistry, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry, any, {}>>;
|
|
243
243
|
/**
|
|
244
244
|
*
|
|
245
245
|
* @summary Delete registry
|
|
@@ -249,7 +249,7 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
249
249
|
* @throws {RequiredError}
|
|
250
250
|
* @memberof DockerRegistryApi
|
|
251
251
|
*/
|
|
252
|
-
deleteRegistry(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
252
|
+
deleteRegistry(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
253
253
|
/**
|
|
254
254
|
*
|
|
255
255
|
* @summary Get registry
|
|
@@ -259,7 +259,7 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
* @memberof DockerRegistryApi
|
|
261
261
|
*/
|
|
262
|
-
getRegistry(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry, any>>;
|
|
262
|
+
getRegistry(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry, any, {}>>;
|
|
263
263
|
/**
|
|
264
264
|
*
|
|
265
265
|
* @summary Get temporary registry access for pushing snapshots
|
|
@@ -269,7 +269,7 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
269
269
|
* @throws {RequiredError}
|
|
270
270
|
* @memberof DockerRegistryApi
|
|
271
271
|
*/
|
|
272
|
-
getTransientPushAccess(xDaytonaOrganizationID?: string, regionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegistryPushAccessDto, any>>;
|
|
272
|
+
getTransientPushAccess(xDaytonaOrganizationID?: string, regionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RegistryPushAccessDto, any, {}>>;
|
|
273
273
|
/**
|
|
274
274
|
*
|
|
275
275
|
* @summary List registries
|
|
@@ -278,7 +278,7 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
278
278
|
* @throws {RequiredError}
|
|
279
279
|
* @memberof DockerRegistryApi
|
|
280
280
|
*/
|
|
281
|
-
listRegistries(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry[], any>>;
|
|
281
|
+
listRegistries(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry[], any, {}>>;
|
|
282
282
|
/**
|
|
283
283
|
*
|
|
284
284
|
* @summary Set default registry
|
|
@@ -288,7 +288,7 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
288
288
|
* @throws {RequiredError}
|
|
289
289
|
* @memberof DockerRegistryApi
|
|
290
290
|
*/
|
|
291
|
-
setDefaultRegistry(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry, any>>;
|
|
291
|
+
setDefaultRegistry(id: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry, any, {}>>;
|
|
292
292
|
/**
|
|
293
293
|
*
|
|
294
294
|
* @summary Update registry
|
|
@@ -299,5 +299,5 @@ export declare class DockerRegistryApi extends BaseAPI {
|
|
|
299
299
|
* @throws {RequiredError}
|
|
300
300
|
* @memberof DockerRegistryApi
|
|
301
301
|
*/
|
|
302
|
-
updateRegistry(id: string, updateDockerRegistry: UpdateDockerRegistry, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry, any>>;
|
|
302
|
+
updateRegistry(id: string, updateDockerRegistry: UpdateDockerRegistry, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerRegistry, any, {}>>;
|
|
303
303
|
}
|
package/src/api/health-api.d.ts
CHANGED
|
@@ -62,5 +62,5 @@ export declare class HealthApi extends BaseAPI {
|
|
|
62
62
|
* @throws {RequiredError}
|
|
63
63
|
* @memberof HealthApi
|
|
64
64
|
*/
|
|
65
|
-
healthControllerCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthControllerCheck200Response, any>>;
|
|
65
|
+
healthControllerCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthControllerCheck200Response, any, {}>>;
|
|
66
66
|
}
|
package/src/api/jobs-api.d.ts
CHANGED
|
@@ -161,7 +161,7 @@ export declare class JobsApi extends BaseAPI {
|
|
|
161
161
|
* @throws {RequiredError}
|
|
162
162
|
* @memberof JobsApi
|
|
163
163
|
*/
|
|
164
|
-
getJob(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
164
|
+
getJob(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any, {}>>;
|
|
165
165
|
/**
|
|
166
166
|
* Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
167
167
|
* @summary List jobs for the runner
|
|
@@ -173,7 +173,7 @@ export declare class JobsApi extends BaseAPI {
|
|
|
173
173
|
* @throws {RequiredError}
|
|
174
174
|
* @memberof JobsApi
|
|
175
175
|
*/
|
|
176
|
-
listJobs(page?: number, limit?: number, status?: JobStatus, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedJobs, any>>;
|
|
176
|
+
listJobs(page?: number, limit?: number, status?: JobStatus, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedJobs, any, {}>>;
|
|
177
177
|
/**
|
|
178
178
|
* Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
179
179
|
* @summary Long poll for jobs
|
|
@@ -183,7 +183,7 @@ export declare class JobsApi extends BaseAPI {
|
|
|
183
183
|
* @throws {RequiredError}
|
|
184
184
|
* @memberof JobsApi
|
|
185
185
|
*/
|
|
186
|
-
pollJobs(timeout?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PollJobsResponse, any>>;
|
|
186
|
+
pollJobs(timeout?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PollJobsResponse, any, {}>>;
|
|
187
187
|
/**
|
|
188
188
|
*
|
|
189
189
|
* @summary Update job status
|
|
@@ -193,5 +193,5 @@ export declare class JobsApi extends BaseAPI {
|
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
* @memberof JobsApi
|
|
195
195
|
*/
|
|
196
|
-
updateJobStatus(jobId: string, updateJobStatus: UpdateJobStatus, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
196
|
+
updateJobStatus(jobId: string, updateJobStatus: UpdateJobStatus, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any, {}>>;
|
|
197
197
|
}
|
|
@@ -70,5 +70,5 @@ export declare class ObjectStorageApi extends BaseAPI {
|
|
|
70
70
|
* @throws {RequiredError}
|
|
71
71
|
* @memberof ObjectStorageApi
|
|
72
72
|
*/
|
|
73
|
-
getPushAccess(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StorageAccessDto, any>>;
|
|
73
|
+
getPushAccess(xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StorageAccessDto, any, {}>>;
|
|
74
74
|
}
|