@daytonaio/api-client 0.169.0 → 0.171.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/admin-api.d.ts +0 -24
- package/src/api/admin-api.js +11 -24
- package/src/api/admin-api.js.map +1 -1
- package/src/api/api-keys-api.d.ts +0 -12
- package/src/api/api-keys-api.js +4 -12
- package/src/api/api-keys-api.js.map +1 -1
- package/src/api/audit-api.d.ts +0 -7
- package/src/api/audit-api.js +1 -7
- package/src/api/audit-api.js.map +1 -1
- package/src/api/config-api.d.ts +0 -7
- package/src/api/config-api.js +1 -7
- package/src/api/config-api.js.map +1 -1
- package/src/api/docker-registry-api.d.ts +0 -12
- package/src/api/docker-registry-api.js +5 -12
- package/src/api/docker-registry-api.js.map +1 -1
- package/src/api/health-api.d.ts +0 -8
- package/src/api/health-api.js +1 -8
- package/src/api/health-api.js.map +1 -1
- package/src/api/jobs-api.d.ts +0 -10
- package/src/api/jobs-api.js +4 -10
- package/src/api/jobs-api.js.map +1 -1
- package/src/api/object-storage-api.d.ts +0 -7
- package/src/api/object-storage-api.js +1 -7
- package/src/api/object-storage-api.js.map +1 -1
- package/src/api/organizations-api.d.ts +0 -44
- package/src/api/organizations-api.js +23 -44
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/preview-api.d.ts +0 -10
- package/src/api/preview-api.js +4 -10
- package/src/api/preview-api.js.map +1 -1
- package/src/api/regions-api.d.ts +0 -7
- package/src/api/regions-api.js +1 -7
- package/src/api/regions-api.js.map +1 -1
- package/src/api/runners-api.d.ts +8 -21
- package/src/api/runners-api.js +23 -24
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +11 -59
- package/src/api/sandbox-api.js +56 -65
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +2 -20
- package/src/api/snapshots-api.js +9 -22
- package/src/api/snapshots-api.js.map +1 -1
- package/src/api/toolbox-api.d.ts +0 -74
- package/src/api/toolbox-api.js +45 -74
- package/src/api/toolbox-api.js.map +1 -1
- package/src/api/users-api.d.ts +0 -11
- package/src/api/users-api.js +3 -11
- package/src/api/users-api.js.map +1 -1
- package/src/api/volumes-api.d.ts +0 -11
- package/src/api/volumes-api.js +4 -11
- package/src/api/volumes-api.js.map +1 -1
- package/src/api/webhooks-api.d.ts +0 -8
- package/src/api/webhooks-api.js +2 -8
- package/src/api/webhooks-api.js.map +1 -1
- package/src/api/workspace-api.d.ts +0 -20
- package/src/api/workspace-api.js +6 -20
- package/src/api/workspace-api.js.map +1 -1
- package/src/base.d.ts +0 -24
- package/src/base.js +0 -19
- package/src/base.js.map +1 -1
- package/src/common.d.ts +4 -35
- package/src/common.js +16 -38
- package/src/common.js.map +1 -1
- package/src/configuration.d.ts +24 -17
- package/src/configuration.js +12 -18
- package/src/configuration.js.map +1 -1
- package/src/models/account-provider.d.ts +0 -15
- package/src/models/admin-create-runner.d.ts +0 -34
- package/src/models/admin-get-webhook-status200-response.d.ts +0 -10
- package/src/models/announcement.d.ts +0 -9
- package/src/models/api-key-list.d.ts +1 -19
- package/src/models/api-key-list.js +2 -1
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +1 -15
- package/src/models/api-key-response.js +2 -1
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/audit-log.d.ts +0 -85
- package/src/models/build-info.d.ts +0 -15
- package/src/models/command.d.ts +0 -11
- package/src/models/completion-context.d.ts +0 -15
- package/src/models/completion-item.d.ts +0 -40
- package/src/models/completion-list.d.ts +0 -15
- package/src/models/compressed-screenshot-response.d.ts +0 -11
- package/src/models/computer-use-start-response.d.ts +0 -9
- package/src/models/computer-use-status-response.d.ts +1 -7
- package/src/models/computer-use-status-response.js +2 -1
- package/src/models/computer-use-status-response.js.map +1 -1
- package/src/models/computer-use-stop-response.d.ts +0 -9
- package/src/models/create-api-key.d.ts +1 -11
- package/src/models/create-api-key.js +2 -1
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/create-build-info.d.ts +0 -9
- package/src/models/create-docker-registry.d.ts +0 -15
- package/src/models/create-linked-account.d.ts +0 -9
- package/src/models/create-organization-invitation.d.ts +1 -13
- package/src/models/create-organization-invitation.js +2 -1
- package/src/models/create-organization-invitation.js.map +1 -1
- package/src/models/create-organization-quota.d.ts +0 -50
- package/src/models/create-organization-role.d.ts +1 -11
- package/src/models/create-organization-role.js +2 -1
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/create-organization.d.ts +0 -9
- package/src/models/create-region-response.d.ts +0 -15
- package/src/models/create-region.d.ts +0 -13
- package/src/models/create-runner-response.d.ts +0 -9
- package/src/models/create-runner.d.ts +0 -15
- package/src/models/create-sandbox-snapshot.d.ts +0 -7
- package/src/models/create-sandbox.d.ts +1 -43
- package/src/models/create-sandbox.js +2 -1
- package/src/models/create-sandbox.js.map +1 -1
- package/src/models/create-session-request.d.ts +0 -7
- package/src/models/create-snapshot.d.ts +0 -23
- package/src/models/create-user.d.ts +1 -40
- package/src/models/create-user.js +2 -1
- package/src/models/create-user.js.map +1 -1
- package/src/models/create-volume.d.ts +0 -10
- package/src/models/create-workspace.d.ts +2 -35
- package/src/models/create-workspace.js +4 -2
- package/src/models/create-workspace.js.map +1 -1
- package/src/models/daytona-configuration.d.ts +0 -41
- package/src/models/display-info-response.d.ts +0 -7
- package/src/models/docker-registry.d.ts +1 -21
- package/src/models/docker-registry.js +2 -1
- package/src/models/docker-registry.js.map +1 -1
- package/src/models/download-files.d.ts +0 -7
- package/src/models/execute-request.d.ts +0 -14
- package/src/models/execute-response.d.ts +0 -9
- package/src/models/file-info.d.ts +0 -45
- package/src/models/file-status.d.ts +0 -25
- package/src/models/fork-sandbox.d.ts +0 -7
- package/src/models/git-add-request.d.ts +0 -12
- package/src/models/git-branch-request.d.ts +0 -15
- package/src/models/git-checkout-request.d.ts +0 -15
- package/src/models/git-clone-request.d.ts +0 -35
- package/src/models/git-commit-info.d.ts +0 -30
- package/src/models/git-commit-request.d.ts +0 -27
- package/src/models/git-commit-response.d.ts +0 -10
- package/src/models/git-delete-branch-request.d.ts +0 -15
- package/src/models/git-repo-request.d.ts +0 -20
- package/src/models/git-status.d.ts +0 -30
- package/src/models/health-controller-check200-response-info-value.d.ts +0 -10
- package/src/models/health-controller-check200-response.d.ts +0 -25
- package/src/models/health-controller-check503-response.d.ts +0 -25
- package/src/models/job-status.d.ts +1 -5
- package/src/models/job-status.js +2 -6
- package/src/models/job-status.js.map +1 -1
- package/src/models/job-type.d.ts +1 -2
- package/src/models/job-type.js +2 -3
- package/src/models/job-type.js.map +1 -1
- package/src/models/job.d.ts +1 -25
- package/src/models/job.js +2 -1
- package/src/models/job.js.map +1 -1
- package/src/models/keyboard-hotkey-request.d.ts +0 -7
- package/src/models/keyboard-press-request.d.ts +0 -9
- package/src/models/keyboard-type-request.d.ts +0 -9
- package/src/models/list-branch-response.d.ts +0 -10
- package/src/models/log-entry.d.ts +0 -23
- package/src/models/lsp-completion-params.d.ts +0 -21
- package/src/models/lsp-document-request.d.ts +0 -11
- package/src/models/lsp-location.d.ts +0 -15
- package/src/models/lsp-server-request.d.ts +0 -9
- package/src/models/lsp-symbol.d.ts +0 -20
- package/src/models/match.d.ts +0 -20
- package/src/models/metric-data-point.d.ts +0 -9
- package/src/models/metric-series.d.ts +0 -9
- package/src/models/metrics-response.d.ts +0 -7
- package/src/models/mouse-click-request.d.ts +0 -13
- package/src/models/mouse-click-response.d.ts +0 -9
- package/src/models/mouse-drag-request.d.ts +0 -15
- package/src/models/mouse-drag-response.d.ts +0 -9
- package/src/models/mouse-move-request.d.ts +0 -9
- package/src/models/mouse-move-response.d.ts +0 -9
- package/src/models/mouse-position.d.ts +0 -9
- package/src/models/mouse-scroll-request.d.ts +0 -13
- package/src/models/mouse-scroll-response.d.ts +0 -7
- package/src/models/oidc-config.d.ts +0 -11
- package/src/models/organization-invitation.d.ts +2 -27
- package/src/models/organization-invitation.js +4 -2
- package/src/models/organization-invitation.js.map +1 -1
- package/src/models/organization-role.d.ts +1 -19
- package/src/models/organization-role.js +2 -1
- package/src/models/organization-role.js.map +1 -1
- package/src/models/organization-sandbox-default-limited-network-egress.d.ts +0 -7
- package/src/models/organization-suspension.d.ts +0 -11
- package/src/models/organization-usage-overview.d.ts +0 -30
- package/src/models/organization-user.d.ts +1 -21
- package/src/models/organization-user.js +2 -1
- package/src/models/organization-user.js.map +1 -1
- package/src/models/organization.d.ts +0 -53
- package/src/models/otel-config.d.ts +0 -9
- package/src/models/paginated-audit-logs.d.ts +0 -27
- package/src/models/paginated-jobs.d.ts +0 -25
- package/src/models/paginated-logs.d.ts +0 -13
- package/src/models/paginated-sandboxes.d.ts +0 -25
- package/src/models/paginated-snapshots.d.ts +0 -25
- package/src/models/paginated-traces.d.ts +0 -13
- package/src/models/poll-jobs-response.d.ts +0 -7
- package/src/models/port-preview-url.d.ts +0 -11
- package/src/models/position.d.ts +0 -15
- package/src/models/posthog-config.d.ts +0 -9
- package/src/models/process-errors-response.d.ts +0 -9
- package/src/models/process-logs-response.d.ts +0 -9
- package/src/models/process-restart-response.d.ts +0 -9
- package/src/models/process-status-response.d.ts +0 -9
- package/src/models/project-dir-response.d.ts +0 -10
- package/src/models/pty-create-request.d.ts +0 -17
- package/src/models/pty-create-response.d.ts +0 -7
- package/src/models/pty-list-response.d.ts +0 -7
- package/src/models/pty-resize-request.d.ts +0 -9
- package/src/models/pty-session-info.d.ts +0 -21
- package/src/models/range.d.ts +0 -15
- package/src/models/rate-limit-config.d.ts +0 -13
- package/src/models/rate-limit-entry.d.ts +0 -9
- package/src/models/regenerate-api-key-response.d.ts +0 -7
- package/src/models/region-quota.d.ts +0 -50
- package/src/models/region-screenshot-response.d.ts +0 -11
- package/src/models/region-type.d.ts +1 -2
- package/src/models/region-type.js +2 -3
- package/src/models/region-type.js.map +1 -1
- package/src/models/region-usage-overview.d.ts +0 -60
- package/src/models/region.d.ts +0 -23
- package/src/models/registry-push-access-dto.d.ts +0 -17
- package/src/models/replace-request.d.ts +0 -20
- package/src/models/replace-result.d.ts +0 -20
- package/src/models/resize-sandbox.d.ts +0 -11
- package/src/models/runner-class.d.ts +1 -2
- package/src/models/runner-class.js +2 -3
- package/src/models/runner-class.js.map +1 -1
- package/src/models/runner-full.d.ts +0 -69
- package/src/models/runner-health-metrics.d.ts +0 -29
- package/src/models/runner-healthcheck.d.ts +0 -17
- package/src/models/runner-service-health.d.ts +0 -11
- package/src/models/runner-snapshot-dto.d.ts +0 -11
- package/src/models/runner-state.d.ts +1 -2
- package/src/models/runner-state.js +2 -3
- package/src/models/runner-state.js.map +1 -1
- package/src/models/runner.d.ts +0 -65
- package/src/models/sandbox-class.d.ts +1 -2
- package/src/models/sandbox-class.js +2 -3
- package/src/models/sandbox-class.js.map +1 -1
- package/src/models/sandbox-desired-state.d.ts +1 -2
- package/src/models/sandbox-desired-state.js +2 -3
- package/src/models/sandbox-desired-state.js.map +1 -1
- package/src/models/sandbox-info.d.ts +0 -11
- package/src/models/sandbox-labels.d.ts +0 -7
- package/src/models/sandbox-state.d.ts +1 -2
- package/src/models/sandbox-state.js +2 -3
- package/src/models/sandbox-state.js.map +1 -1
- package/src/models/sandbox-volume.d.ts +0 -11
- package/src/models/sandbox.d.ts +2 -71
- package/src/models/sandbox.js +4 -2
- package/src/models/sandbox.js.map +1 -1
- package/src/models/screenshot-response.d.ts +0 -11
- package/src/models/search-files-response.d.ts +0 -10
- package/src/models/send-webhook-dto.d.ts +0 -11
- package/src/models/session-execute-request.d.ts +0 -11
- package/src/models/session-execute-response.d.ts +0 -11
- package/src/models/session.d.ts +0 -9
- package/src/models/set-snapshot-general-status-dto.d.ts +0 -7
- package/src/models/signed-port-preview-url.d.ts +0 -13
- package/src/models/snapshot-dto.d.ts +0 -93
- package/src/models/snapshot-manager-credentials.d.ts +0 -9
- package/src/models/snapshot-state.d.ts +1 -5
- package/src/models/snapshot-state.js +2 -6
- package/src/models/snapshot-state.js.map +1 -1
- package/src/models/ssh-access-dto.d.ts +0 -19
- package/src/models/ssh-access-validation-dto.d.ts +0 -9
- package/src/models/storage-access-dto.d.ts +0 -17
- package/src/models/toolbox-proxy-url.d.ts +0 -7
- package/src/models/trace-span.d.ts +0 -23
- package/src/models/trace-summary.d.ts +0 -19
- package/src/models/update-docker-registry.d.ts +0 -15
- package/src/models/update-job-status.d.ts +0 -11
- package/src/models/update-organization-default-region.d.ts +0 -7
- package/src/models/update-organization-invitation.d.ts +1 -11
- package/src/models/update-organization-invitation.js +2 -1
- package/src/models/update-organization-invitation.js.map +1 -1
- package/src/models/update-organization-member-access.d.ts +1 -9
- package/src/models/update-organization-member-access.js +2 -1
- package/src/models/update-organization-member-access.js.map +1 -1
- package/src/models/update-organization-quota.d.ts +0 -67
- package/src/models/update-organization-region-quota.d.ts +0 -40
- package/src/models/update-organization-role.d.ts +1 -11
- package/src/models/update-organization-role.js +2 -1
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/update-region.d.ts +0 -11
- package/src/models/update-sandbox-network-settings.d.ts +0 -9
- package/src/models/update-sandbox-state-dto.d.ts +1 -11
- package/src/models/update-sandbox-state-dto.js +2 -1
- package/src/models/update-sandbox-state-dto.js.map +1 -1
- package/src/models/url.d.ts +0 -7
- package/src/models/user-home-dir-response.d.ts +0 -10
- package/src/models/user-public-key.d.ts +0 -9
- package/src/models/user.d.ts +0 -15
- package/src/models/volume-dto.d.ts +0 -21
- package/src/models/volume-state.d.ts +1 -2
- package/src/models/volume-state.js +2 -3
- package/src/models/volume-state.js.map +1 -1
- package/src/models/webhook-app-portal-access.d.ts +0 -9
- package/src/models/webhook-event.d.ts +1 -2
- package/src/models/webhook-event.js +2 -3
- package/src/models/webhook-event.js.map +1 -1
- package/src/models/webhook-initialization-status.d.ts +0 -17
- package/src/models/windows-response.d.ts +0 -9
- package/src/models/work-dir-response.d.ts +0 -10
- package/src/models/workspace-port-preview-url.d.ts +0 -9
- package/src/models/workspace.d.ts +3 -79
- package/src/models/workspace.js +6 -3
- package/src/models/workspace.js.map +1 -1
package/src/api/sandbox-api.js
CHANGED
|
@@ -22,7 +22,6 @@ const common_1 = require("../common");
|
|
|
22
22
|
const base_1 = require("../base");
|
|
23
23
|
/**
|
|
24
24
|
* SandboxApi - axios parameter creator
|
|
25
|
-
* @export
|
|
26
25
|
*/
|
|
27
26
|
const SandboxApiAxiosParamCreator = function (configuration) {
|
|
28
27
|
return {
|
|
@@ -52,6 +51,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
52
51
|
// http bearer authentication required
|
|
53
52
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
54
53
|
// authentication oauth2 required
|
|
54
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
55
55
|
if (xDaytonaOrganizationID != null) {
|
|
56
56
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
57
57
|
}
|
|
@@ -89,6 +89,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
89
89
|
// http bearer authentication required
|
|
90
90
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
91
91
|
// authentication oauth2 required
|
|
92
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
92
93
|
if (xDaytonaOrganizationID != null) {
|
|
93
94
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
94
95
|
}
|
|
@@ -126,6 +127,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
126
127
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
128
|
// authentication oauth2 required
|
|
128
129
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
130
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
129
131
|
if (xDaytonaOrganizationID != null) {
|
|
130
132
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
131
133
|
}
|
|
@@ -168,6 +170,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
168
170
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
169
171
|
// authentication oauth2 required
|
|
170
172
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
173
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
171
174
|
if (xDaytonaOrganizationID != null) {
|
|
172
175
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
173
176
|
}
|
|
@@ -210,6 +213,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
210
213
|
if (expiresInMinutes !== undefined) {
|
|
211
214
|
localVarQueryParameter['expiresInMinutes'] = expiresInMinutes;
|
|
212
215
|
}
|
|
216
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
213
217
|
if (xDaytonaOrganizationID != null) {
|
|
214
218
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
215
219
|
}
|
|
@@ -247,6 +251,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
247
251
|
// http bearer authentication required
|
|
248
252
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
249
253
|
// authentication oauth2 required
|
|
254
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
250
255
|
if (xDaytonaOrganizationID != null) {
|
|
251
256
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
252
257
|
}
|
|
@@ -333,6 +338,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
333
338
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
334
339
|
// authentication oauth2 required
|
|
335
340
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
341
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
336
342
|
if (xDaytonaOrganizationID != null) {
|
|
337
343
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
338
344
|
}
|
|
@@ -413,6 +419,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
413
419
|
// http bearer authentication required
|
|
414
420
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
415
421
|
// authentication oauth2 required
|
|
422
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
416
423
|
if (xDaytonaOrganizationID != null) {
|
|
417
424
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
418
425
|
}
|
|
@@ -450,6 +457,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
450
457
|
// http bearer authentication required
|
|
451
458
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
452
459
|
// authentication oauth2 required
|
|
460
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
453
461
|
if (xDaytonaOrganizationID != null) {
|
|
454
462
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
455
463
|
}
|
|
@@ -491,6 +499,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
491
499
|
// http bearer authentication required
|
|
492
500
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
493
501
|
// authentication oauth2 required
|
|
502
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
494
503
|
if (xDaytonaOrganizationID != null) {
|
|
495
504
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
496
505
|
}
|
|
@@ -528,6 +537,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
528
537
|
// http bearer authentication required
|
|
529
538
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
530
539
|
// authentication oauth2 required
|
|
540
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
531
541
|
if (xDaytonaOrganizationID != null) {
|
|
532
542
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
533
543
|
}
|
|
@@ -569,6 +579,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
569
579
|
if (verbose !== undefined) {
|
|
570
580
|
localVarQueryParameter['verbose'] = verbose;
|
|
571
581
|
}
|
|
582
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
572
583
|
if (xDaytonaOrganizationID != null) {
|
|
573
584
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
574
585
|
}
|
|
@@ -606,6 +617,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
606
617
|
// http bearer authentication required
|
|
607
618
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
608
619
|
// authentication oauth2 required
|
|
620
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
609
621
|
if (xDaytonaOrganizationID != null) {
|
|
610
622
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
611
623
|
}
|
|
@@ -647,6 +659,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
647
659
|
if (includeDestroyed !== undefined) {
|
|
648
660
|
localVarQueryParameter['includeDestroyed'] = includeDestroyed;
|
|
649
661
|
}
|
|
662
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
650
663
|
if (xDaytonaOrganizationID != null) {
|
|
651
664
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
652
665
|
}
|
|
@@ -716,6 +729,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
716
729
|
if (search !== undefined) {
|
|
717
730
|
localVarQueryParameter['search'] = search;
|
|
718
731
|
}
|
|
732
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
719
733
|
if (xDaytonaOrganizationID != null) {
|
|
720
734
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
721
735
|
}
|
|
@@ -773,6 +787,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
773
787
|
if (metricNames) {
|
|
774
788
|
localVarQueryParameter['metricNames'] = metricNames;
|
|
775
789
|
}
|
|
790
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
776
791
|
if (xDaytonaOrganizationID != null) {
|
|
777
792
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
778
793
|
}
|
|
@@ -810,6 +825,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
810
825
|
// http bearer authentication required
|
|
811
826
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
812
827
|
// authentication oauth2 required
|
|
828
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
813
829
|
if (xDaytonaOrganizationID != null) {
|
|
814
830
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
815
831
|
}
|
|
@@ -851,6 +867,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
851
867
|
// http bearer authentication required
|
|
852
868
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
853
869
|
// authentication oauth2 required
|
|
870
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
854
871
|
if (xDaytonaOrganizationID != null) {
|
|
855
872
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
856
873
|
}
|
|
@@ -912,6 +929,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
912
929
|
if (limit !== undefined) {
|
|
913
930
|
localVarQueryParameter['limit'] = limit;
|
|
914
931
|
}
|
|
932
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
915
933
|
if (xDaytonaOrganizationID != null) {
|
|
916
934
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
917
935
|
}
|
|
@@ -953,6 +971,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
953
971
|
if (skipReconcilingSandboxes !== undefined) {
|
|
954
972
|
localVarQueryParameter['skipReconcilingSandboxes'] = skipReconcilingSandboxes;
|
|
955
973
|
}
|
|
974
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
956
975
|
if (xDaytonaOrganizationID != null) {
|
|
957
976
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
958
977
|
}
|
|
@@ -998,6 +1017,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
998
1017
|
if (expiresInSeconds !== undefined) {
|
|
999
1018
|
localVarQueryParameter['expiresInSeconds'] = expiresInSeconds;
|
|
1000
1019
|
}
|
|
1020
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1001
1021
|
if (xDaytonaOrganizationID != null) {
|
|
1002
1022
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1003
1023
|
}
|
|
@@ -1035,6 +1055,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1035
1055
|
// http bearer authentication required
|
|
1036
1056
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1037
1057
|
// authentication oauth2 required
|
|
1058
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1038
1059
|
if (xDaytonaOrganizationID != null) {
|
|
1039
1060
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1040
1061
|
}
|
|
@@ -1080,6 +1101,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1080
1101
|
if (includeErroredDeleted !== undefined) {
|
|
1081
1102
|
localVarQueryParameter['includeErroredDeleted'] = includeErroredDeleted;
|
|
1082
1103
|
}
|
|
1104
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1083
1105
|
if (xDaytonaOrganizationID != null) {
|
|
1084
1106
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1085
1107
|
}
|
|
@@ -1193,6 +1215,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1193
1215
|
if (order !== undefined) {
|
|
1194
1216
|
localVarQueryParameter['order'] = order;
|
|
1195
1217
|
}
|
|
1218
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1196
1219
|
if (xDaytonaOrganizationID != null) {
|
|
1197
1220
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1198
1221
|
}
|
|
@@ -1209,10 +1232,11 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1209
1232
|
* @summary Recover sandbox from error state
|
|
1210
1233
|
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
1211
1234
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1235
|
+
* @param {boolean} [skipStart] If true, the sandbox is left in STOPPED after recovery instead of being started.
|
|
1212
1236
|
* @param {*} [options] Override http request option.
|
|
1213
1237
|
* @throws {RequiredError}
|
|
1214
1238
|
*/
|
|
1215
|
-
recoverSandbox: async (sandboxIdOrName, xDaytonaOrganizationID, options = {}) => {
|
|
1239
|
+
recoverSandbox: async (sandboxIdOrName, xDaytonaOrganizationID, skipStart, options = {}) => {
|
|
1216
1240
|
// verify required parameter 'sandboxIdOrName' is not null or undefined
|
|
1217
1241
|
(0, common_1.assertParamExists)('recoverSandbox', 'sandboxIdOrName', sandboxIdOrName);
|
|
1218
1242
|
const localVarPath = `/sandbox/{sandboxIdOrName}/recover`
|
|
@@ -1230,6 +1254,10 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1230
1254
|
// http bearer authentication required
|
|
1231
1255
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1232
1256
|
// authentication oauth2 required
|
|
1257
|
+
if (skipStart !== undefined) {
|
|
1258
|
+
localVarQueryParameter['skipStart'] = skipStart;
|
|
1259
|
+
}
|
|
1260
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1233
1261
|
if (xDaytonaOrganizationID != null) {
|
|
1234
1262
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1235
1263
|
}
|
|
@@ -1271,6 +1299,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1271
1299
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1272
1300
|
// authentication oauth2 required
|
|
1273
1301
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1302
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1274
1303
|
if (xDaytonaOrganizationID != null) {
|
|
1275
1304
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1276
1305
|
}
|
|
@@ -1313,6 +1342,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1313
1342
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1314
1343
|
// authentication oauth2 required
|
|
1315
1344
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1345
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1316
1346
|
if (xDaytonaOrganizationID != null) {
|
|
1317
1347
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1318
1348
|
}
|
|
@@ -1355,6 +1385,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1355
1385
|
if (token !== undefined) {
|
|
1356
1386
|
localVarQueryParameter['token'] = token;
|
|
1357
1387
|
}
|
|
1388
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1358
1389
|
if (xDaytonaOrganizationID != null) {
|
|
1359
1390
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1360
1391
|
}
|
|
@@ -1396,6 +1427,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1396
1427
|
// http bearer authentication required
|
|
1397
1428
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1398
1429
|
// authentication oauth2 required
|
|
1430
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1399
1431
|
if (xDaytonaOrganizationID != null) {
|
|
1400
1432
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1401
1433
|
}
|
|
@@ -1437,6 +1469,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1437
1469
|
// http bearer authentication required
|
|
1438
1470
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1439
1471
|
// authentication oauth2 required
|
|
1472
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1440
1473
|
if (xDaytonaOrganizationID != null) {
|
|
1441
1474
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1442
1475
|
}
|
|
@@ -1478,6 +1511,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1478
1511
|
// http bearer authentication required
|
|
1479
1512
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1480
1513
|
// authentication oauth2 required
|
|
1514
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1481
1515
|
if (xDaytonaOrganizationID != null) {
|
|
1482
1516
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1483
1517
|
}
|
|
@@ -1515,6 +1549,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1515
1549
|
// http bearer authentication required
|
|
1516
1550
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1517
1551
|
// authentication oauth2 required
|
|
1552
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1518
1553
|
if (xDaytonaOrganizationID != null) {
|
|
1519
1554
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1520
1555
|
}
|
|
@@ -1556,6 +1591,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1556
1591
|
if (force !== undefined) {
|
|
1557
1592
|
localVarQueryParameter['force'] = force;
|
|
1558
1593
|
}
|
|
1594
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1559
1595
|
if (xDaytonaOrganizationID != null) {
|
|
1560
1596
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1561
1597
|
}
|
|
@@ -1634,6 +1670,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1634
1670
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1635
1671
|
// authentication oauth2 required
|
|
1636
1672
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1673
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1637
1674
|
if (xDaytonaOrganizationID != null) {
|
|
1638
1675
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1639
1676
|
}
|
|
@@ -1676,6 +1713,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1676
1713
|
// http bearer authentication required
|
|
1677
1714
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1678
1715
|
// authentication oauth2 required
|
|
1716
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1679
1717
|
if (xDaytonaOrganizationID != null) {
|
|
1680
1718
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1681
1719
|
}
|
|
@@ -1757,6 +1795,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1757
1795
|
if (token !== undefined) {
|
|
1758
1796
|
localVarQueryParameter['token'] = token;
|
|
1759
1797
|
}
|
|
1798
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1760
1799
|
if (xDaytonaOrganizationID != null) {
|
|
1761
1800
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1762
1801
|
}
|
|
@@ -1773,7 +1812,6 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1773
1812
|
exports.SandboxApiAxiosParamCreator = SandboxApiAxiosParamCreator;
|
|
1774
1813
|
/**
|
|
1775
1814
|
* SandboxApi - functional programming interface
|
|
1776
|
-
* @export
|
|
1777
1815
|
*/
|
|
1778
1816
|
const SandboxApiFp = function (configuration) {
|
|
1779
1817
|
const localVarAxiosParamCreator = (0, exports.SandboxApiAxiosParamCreator)(configuration);
|
|
@@ -2194,11 +2232,12 @@ const SandboxApiFp = function (configuration) {
|
|
|
2194
2232
|
* @summary Recover sandbox from error state
|
|
2195
2233
|
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
2196
2234
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2235
|
+
* @param {boolean} [skipStart] If true, the sandbox is left in STOPPED after recovery instead of being started.
|
|
2197
2236
|
* @param {*} [options] Override http request option.
|
|
2198
2237
|
* @throws {RequiredError}
|
|
2199
2238
|
*/
|
|
2200
|
-
async recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
2201
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, options);
|
|
2239
|
+
async recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, skipStart, options) {
|
|
2240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, skipStart, options);
|
|
2202
2241
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2203
2242
|
const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.recoverSandbox']?.[localVarOperationServerIndex]?.url;
|
|
2204
2243
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2400,7 +2439,6 @@ const SandboxApiFp = function (configuration) {
|
|
|
2400
2439
|
exports.SandboxApiFp = SandboxApiFp;
|
|
2401
2440
|
/**
|
|
2402
2441
|
* SandboxApi - factory interface
|
|
2403
|
-
* @export
|
|
2404
2442
|
*/
|
|
2405
2443
|
const SandboxApiFactory = function (configuration, basePath, axios) {
|
|
2406
2444
|
const localVarFp = (0, exports.SandboxApiFp)(configuration);
|
|
@@ -2743,11 +2781,12 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2743
2781
|
* @summary Recover sandbox from error state
|
|
2744
2782
|
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
2745
2783
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2784
|
+
* @param {boolean} [skipStart] If true, the sandbox is left in STOPPED after recovery instead of being started.
|
|
2746
2785
|
* @param {*} [options] Override http request option.
|
|
2747
2786
|
* @throws {RequiredError}
|
|
2748
2787
|
*/
|
|
2749
|
-
recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
2750
|
-
return localVarFp.recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2788
|
+
recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, skipStart, options) {
|
|
2789
|
+
return localVarFp.recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, skipStart, options).then((request) => request(axios, basePath));
|
|
2751
2790
|
},
|
|
2752
2791
|
/**
|
|
2753
2792
|
*
|
|
@@ -2907,9 +2946,6 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2907
2946
|
exports.SandboxApiFactory = SandboxApiFactory;
|
|
2908
2947
|
/**
|
|
2909
2948
|
* SandboxApi - object-oriented interface
|
|
2910
|
-
* @export
|
|
2911
|
-
* @class SandboxApi
|
|
2912
|
-
* @extends {BaseAPI}
|
|
2913
2949
|
*/
|
|
2914
2950
|
class SandboxApi extends base_1.BaseAPI {
|
|
2915
2951
|
/**
|
|
@@ -2919,7 +2955,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2919
2955
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2920
2956
|
* @param {*} [options] Override http request option.
|
|
2921
2957
|
* @throws {RequiredError}
|
|
2922
|
-
* @memberof SandboxApi
|
|
2923
2958
|
*/
|
|
2924
2959
|
archiveSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
2925
2960
|
return (0, exports.SandboxApiFp)(this.configuration).archiveSandbox(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2931,7 +2966,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2931
2966
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2932
2967
|
* @param {*} [options] Override http request option.
|
|
2933
2968
|
* @throws {RequiredError}
|
|
2934
|
-
* @memberof SandboxApi
|
|
2935
2969
|
*/
|
|
2936
2970
|
createBackup(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
2937
2971
|
return (0, exports.SandboxApiFp)(this.configuration).createBackup(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2943,7 +2977,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2943
2977
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2944
2978
|
* @param {*} [options] Override http request option.
|
|
2945
2979
|
* @throws {RequiredError}
|
|
2946
|
-
* @memberof SandboxApi
|
|
2947
2980
|
*/
|
|
2948
2981
|
createSandbox(createSandbox, xDaytonaOrganizationID, options) {
|
|
2949
2982
|
return (0, exports.SandboxApiFp)(this.configuration).createSandbox(createSandbox, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2956,7 +2989,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2956
2989
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2957
2990
|
* @param {*} [options] Override http request option.
|
|
2958
2991
|
* @throws {RequiredError}
|
|
2959
|
-
* @memberof SandboxApi
|
|
2960
2992
|
*/
|
|
2961
2993
|
createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options) {
|
|
2962
2994
|
return (0, exports.SandboxApiFp)(this.configuration).createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2969,7 +3001,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2969
3001
|
* @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
|
|
2970
3002
|
* @param {*} [options] Override http request option.
|
|
2971
3003
|
* @throws {RequiredError}
|
|
2972
|
-
* @memberof SandboxApi
|
|
2973
3004
|
*/
|
|
2974
3005
|
createSshAccess(sandboxIdOrName, xDaytonaOrganizationID, expiresInMinutes, options) {
|
|
2975
3006
|
return (0, exports.SandboxApiFp)(this.configuration).createSshAccess(sandboxIdOrName, xDaytonaOrganizationID, expiresInMinutes, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2981,7 +3012,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2981
3012
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2982
3013
|
* @param {*} [options] Override http request option.
|
|
2983
3014
|
* @throws {RequiredError}
|
|
2984
|
-
* @memberof SandboxApi
|
|
2985
3015
|
*/
|
|
2986
3016
|
deleteSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
2987
3017
|
return (0, exports.SandboxApiFp)(this.configuration).deleteSandbox(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2995,7 +3025,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2995
3025
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2996
3026
|
* @param {*} [options] Override http request option.
|
|
2997
3027
|
* @throws {RequiredError}
|
|
2998
|
-
* @memberof SandboxApi
|
|
2999
3028
|
*/
|
|
3000
3029
|
expireSignedPortPreviewUrl(sandboxIdOrName, port, token, xDaytonaOrganizationID, options) {
|
|
3001
3030
|
return (0, exports.SandboxApiFp)(this.configuration).expireSignedPortPreviewUrl(sandboxIdOrName, port, token, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3008,7 +3037,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3008
3037
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3009
3038
|
* @param {*} [options] Override http request option.
|
|
3010
3039
|
* @throws {RequiredError}
|
|
3011
|
-
* @memberof SandboxApi
|
|
3012
3040
|
*/
|
|
3013
3041
|
forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options) {
|
|
3014
3042
|
return (0, exports.SandboxApiFp)(this.configuration).forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3022,7 +3050,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3022
3050
|
* @param {*} [options] Override http request option.
|
|
3023
3051
|
* @deprecated
|
|
3024
3052
|
* @throws {RequiredError}
|
|
3025
|
-
* @memberof SandboxApi
|
|
3026
3053
|
*/
|
|
3027
3054
|
getBuildLogs(sandboxIdOrName, xDaytonaOrganizationID, follow, options) {
|
|
3028
3055
|
return (0, exports.SandboxApiFp)(this.configuration).getBuildLogs(sandboxIdOrName, xDaytonaOrganizationID, follow, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3034,7 +3061,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3034
3061
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3035
3062
|
* @param {*} [options] Override http request option.
|
|
3036
3063
|
* @throws {RequiredError}
|
|
3037
|
-
* @memberof SandboxApi
|
|
3038
3064
|
*/
|
|
3039
3065
|
getBuildLogsUrl(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
3040
3066
|
return (0, exports.SandboxApiFp)(this.configuration).getBuildLogsUrl(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3046,7 +3072,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3046
3072
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3047
3073
|
* @param {*} [options] Override http request option.
|
|
3048
3074
|
* @throws {RequiredError}
|
|
3049
|
-
* @memberof SandboxApi
|
|
3050
3075
|
*/
|
|
3051
3076
|
getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
|
|
3052
3077
|
return (0, exports.SandboxApiFp)(this.configuration).getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3059,7 +3084,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3059
3084
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3060
3085
|
* @param {*} [options] Override http request option.
|
|
3061
3086
|
* @throws {RequiredError}
|
|
3062
|
-
* @memberof SandboxApi
|
|
3063
3087
|
*/
|
|
3064
3088
|
getPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, options) {
|
|
3065
3089
|
return (0, exports.SandboxApiFp)(this.configuration).getPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3071,7 +3095,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3071
3095
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3072
3096
|
* @param {*} [options] Override http request option.
|
|
3073
3097
|
* @throws {RequiredError}
|
|
3074
|
-
* @memberof SandboxApi
|
|
3075
3098
|
*/
|
|
3076
3099
|
getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
|
|
3077
3100
|
return (0, exports.SandboxApiFp)(this.configuration).getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3084,7 +3107,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3084
3107
|
* @param {boolean} [verbose] Include verbose output
|
|
3085
3108
|
* @param {*} [options] Override http request option.
|
|
3086
3109
|
* @throws {RequiredError}
|
|
3087
|
-
* @memberof SandboxApi
|
|
3088
3110
|
*/
|
|
3089
3111
|
getSandbox(sandboxIdOrName, xDaytonaOrganizationID, verbose, options) {
|
|
3090
3112
|
return (0, exports.SandboxApiFp)(this.configuration).getSandbox(sandboxIdOrName, xDaytonaOrganizationID, verbose, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3096,7 +3118,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3096
3118
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3097
3119
|
* @param {*} [options] Override http request option.
|
|
3098
3120
|
* @throws {RequiredError}
|
|
3099
|
-
* @memberof SandboxApi
|
|
3100
3121
|
*/
|
|
3101
3122
|
getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
3102
3123
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3109,7 +3130,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3109
3130
|
* @param {boolean} [includeDestroyed]
|
|
3110
3131
|
* @param {*} [options] Override http request option.
|
|
3111
3132
|
* @throws {RequiredError}
|
|
3112
|
-
* @memberof SandboxApi
|
|
3113
3133
|
*/
|
|
3114
3134
|
getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options) {
|
|
3115
3135
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3127,7 +3147,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3127
3147
|
* @param {string} [search] Search in log body
|
|
3128
3148
|
* @param {*} [options] Override http request option.
|
|
3129
3149
|
* @throws {RequiredError}
|
|
3130
|
-
* @memberof SandboxApi
|
|
3131
3150
|
*/
|
|
3132
3151
|
getSandboxLogs(sandboxId, from, to, xDaytonaOrganizationID, page, limit, severities, search, options) {
|
|
3133
3152
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxLogs(sandboxId, from, to, xDaytonaOrganizationID, page, limit, severities, search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3142,7 +3161,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3142
3161
|
* @param {Array<string>} [metricNames] Filter by metric names
|
|
3143
3162
|
* @param {*} [options] Override http request option.
|
|
3144
3163
|
* @throws {RequiredError}
|
|
3145
|
-
* @memberof SandboxApi
|
|
3146
3164
|
*/
|
|
3147
3165
|
getSandboxMetrics(sandboxId, from, to, xDaytonaOrganizationID, metricNames, options) {
|
|
3148
3166
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxMetrics(sandboxId, from, to, xDaytonaOrganizationID, metricNames, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3154,7 +3172,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3154
3172
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3155
3173
|
* @param {*} [options] Override http request option.
|
|
3156
3174
|
* @throws {RequiredError}
|
|
3157
|
-
* @memberof SandboxApi
|
|
3158
3175
|
*/
|
|
3159
3176
|
getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
3160
3177
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3167,7 +3184,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3167
3184
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3168
3185
|
* @param {*} [options] Override http request option.
|
|
3169
3186
|
* @throws {RequiredError}
|
|
3170
|
-
* @memberof SandboxApi
|
|
3171
3187
|
*/
|
|
3172
3188
|
getSandboxTraceSpans(sandboxId, traceId, xDaytonaOrganizationID, options) {
|
|
3173
3189
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxTraceSpans(sandboxId, traceId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3183,7 +3199,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3183
3199
|
* @param {number} [limit] Number of items per page
|
|
3184
3200
|
* @param {*} [options] Override http request option.
|
|
3185
3201
|
* @throws {RequiredError}
|
|
3186
|
-
* @memberof SandboxApi
|
|
3187
3202
|
*/
|
|
3188
3203
|
getSandboxTraces(sandboxId, from, to, xDaytonaOrganizationID, page, limit, options) {
|
|
3189
3204
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxTraces(sandboxId, from, to, xDaytonaOrganizationID, page, limit, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3196,7 +3211,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3196
3211
|
* @param {boolean} [skipReconcilingSandboxes] Skip sandboxes where state differs from desired state
|
|
3197
3212
|
* @param {*} [options] Override http request option.
|
|
3198
3213
|
* @throws {RequiredError}
|
|
3199
|
-
* @memberof SandboxApi
|
|
3200
3214
|
*/
|
|
3201
3215
|
getSandboxesForRunner(xDaytonaOrganizationID, states, skipReconcilingSandboxes, options) {
|
|
3202
3216
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxesForRunner(xDaytonaOrganizationID, states, skipReconcilingSandboxes, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3210,7 +3224,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3210
3224
|
* @param {number} [expiresInSeconds] Expiration time in seconds (default: 60 seconds)
|
|
3211
3225
|
* @param {*} [options] Override http request option.
|
|
3212
3226
|
* @throws {RequiredError}
|
|
3213
|
-
* @memberof SandboxApi
|
|
3214
3227
|
*/
|
|
3215
3228
|
getSignedPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, expiresInSeconds, options) {
|
|
3216
3229
|
return (0, exports.SandboxApiFp)(this.configuration).getSignedPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, expiresInSeconds, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3222,7 +3235,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3222
3235
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3223
3236
|
* @param {*} [options] Override http request option.
|
|
3224
3237
|
* @throws {RequiredError}
|
|
3225
|
-
* @memberof SandboxApi
|
|
3226
3238
|
*/
|
|
3227
3239
|
getToolboxProxyUrl(sandboxId, xDaytonaOrganizationID, options) {
|
|
3228
3240
|
return (0, exports.SandboxApiFp)(this.configuration).getToolboxProxyUrl(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3236,7 +3248,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3236
3248
|
* @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
|
|
3237
3249
|
* @param {*} [options] Override http request option.
|
|
3238
3250
|
* @throws {RequiredError}
|
|
3239
|
-
* @memberof SandboxApi
|
|
3240
3251
|
*/
|
|
3241
3252
|
listSandboxes(xDaytonaOrganizationID, verbose, labels, includeErroredDeleted, options) {
|
|
3242
3253
|
return (0, exports.SandboxApiFp)(this.configuration).listSandboxes(xDaytonaOrganizationID, verbose, labels, includeErroredDeleted, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3266,7 +3277,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3266
3277
|
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
3267
3278
|
* @param {*} [options] Override http request option.
|
|
3268
3279
|
* @throws {RequiredError}
|
|
3269
|
-
* @memberof SandboxApi
|
|
3270
3280
|
*/
|
|
3271
3281
|
listSandboxesPaginated(xDaytonaOrganizationID, page, limit, id, name, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options) {
|
|
3272
3282
|
return (0, exports.SandboxApiFp)(this.configuration).listSandboxesPaginated(xDaytonaOrganizationID, page, limit, id, name, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3276,12 +3286,12 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3276
3286
|
* @summary Recover sandbox from error state
|
|
3277
3287
|
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
3278
3288
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3289
|
+
* @param {boolean} [skipStart] If true, the sandbox is left in STOPPED after recovery instead of being started.
|
|
3279
3290
|
* @param {*} [options] Override http request option.
|
|
3280
3291
|
* @throws {RequiredError}
|
|
3281
|
-
* @memberof SandboxApi
|
|
3282
3292
|
*/
|
|
3283
|
-
recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
3284
|
-
return (0, exports.SandboxApiFp)(this.configuration).recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3293
|
+
recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, skipStart, options) {
|
|
3294
|
+
return (0, exports.SandboxApiFp)(this.configuration).recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, skipStart, options).then((request) => request(this.axios, this.basePath));
|
|
3285
3295
|
}
|
|
3286
3296
|
/**
|
|
3287
3297
|
*
|
|
@@ -3291,7 +3301,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3291
3301
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3292
3302
|
* @param {*} [options] Override http request option.
|
|
3293
3303
|
* @throws {RequiredError}
|
|
3294
|
-
* @memberof SandboxApi
|
|
3295
3304
|
*/
|
|
3296
3305
|
replaceLabels(sandboxIdOrName, sandboxLabels, xDaytonaOrganizationID, options) {
|
|
3297
3306
|
return (0, exports.SandboxApiFp)(this.configuration).replaceLabels(sandboxIdOrName, sandboxLabels, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3304,7 +3313,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3304
3313
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3305
3314
|
* @param {*} [options] Override http request option.
|
|
3306
3315
|
* @throws {RequiredError}
|
|
3307
|
-
* @memberof SandboxApi
|
|
3308
3316
|
*/
|
|
3309
3317
|
resizeSandbox(sandboxIdOrName, resizeSandbox, xDaytonaOrganizationID, options) {
|
|
3310
3318
|
return (0, exports.SandboxApiFp)(this.configuration).resizeSandbox(sandboxIdOrName, resizeSandbox, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3317,7 +3325,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3317
3325
|
* @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
|
|
3318
3326
|
* @param {*} [options] Override http request option.
|
|
3319
3327
|
* @throws {RequiredError}
|
|
3320
|
-
* @memberof SandboxApi
|
|
3321
3328
|
*/
|
|
3322
3329
|
revokeSshAccess(sandboxIdOrName, xDaytonaOrganizationID, token, options) {
|
|
3323
3330
|
return (0, exports.SandboxApiFp)(this.configuration).revokeSshAccess(sandboxIdOrName, xDaytonaOrganizationID, token, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3330,7 +3337,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3330
3337
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3331
3338
|
* @param {*} [options] Override http request option.
|
|
3332
3339
|
* @throws {RequiredError}
|
|
3333
|
-
* @memberof SandboxApi
|
|
3334
3340
|
*/
|
|
3335
3341
|
setAutoArchiveInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options) {
|
|
3336
3342
|
return (0, exports.SandboxApiFp)(this.configuration).setAutoArchiveInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3343,7 +3349,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3343
3349
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3344
3350
|
* @param {*} [options] Override http request option.
|
|
3345
3351
|
* @throws {RequiredError}
|
|
3346
|
-
* @memberof SandboxApi
|
|
3347
3352
|
*/
|
|
3348
3353
|
setAutoDeleteInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options) {
|
|
3349
3354
|
return (0, exports.SandboxApiFp)(this.configuration).setAutoDeleteInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3356,7 +3361,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3356
3361
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3357
3362
|
* @param {*} [options] Override http request option.
|
|
3358
3363
|
* @throws {RequiredError}
|
|
3359
|
-
* @memberof SandboxApi
|
|
3360
3364
|
*/
|
|
3361
3365
|
setAutostopInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options) {
|
|
3362
3366
|
return (0, exports.SandboxApiFp)(this.configuration).setAutostopInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3368,7 +3372,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3368
3372
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3369
3373
|
* @param {*} [options] Override http request option.
|
|
3370
3374
|
* @throws {RequiredError}
|
|
3371
|
-
* @memberof SandboxApi
|
|
3372
3375
|
*/
|
|
3373
3376
|
startSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
3374
3377
|
return (0, exports.SandboxApiFp)(this.configuration).startSandbox(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3381,7 +3384,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3381
3384
|
* @param {boolean} [force] Force stop the sandbox using SIGKILL instead of SIGTERM
|
|
3382
3385
|
* @param {*} [options] Override http request option.
|
|
3383
3386
|
* @throws {RequiredError}
|
|
3384
|
-
* @memberof SandboxApi
|
|
3385
3387
|
*/
|
|
3386
3388
|
stopSandbox(sandboxIdOrName, xDaytonaOrganizationID, force, options) {
|
|
3387
3389
|
return (0, exports.SandboxApiFp)(this.configuration).stopSandbox(sandboxIdOrName, xDaytonaOrganizationID, force, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3393,7 +3395,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3393
3395
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3394
3396
|
* @param {*} [options] Override http request option.
|
|
3395
3397
|
* @throws {RequiredError}
|
|
3396
|
-
* @memberof SandboxApi
|
|
3397
3398
|
*/
|
|
3398
3399
|
updateLastActivity(sandboxId, xDaytonaOrganizationID, options) {
|
|
3399
3400
|
return (0, exports.SandboxApiFp)(this.configuration).updateLastActivity(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3406,7 +3407,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3406
3407
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3407
3408
|
* @param {*} [options] Override http request option.
|
|
3408
3409
|
* @throws {RequiredError}
|
|
3409
|
-
* @memberof SandboxApi
|
|
3410
3410
|
*/
|
|
3411
3411
|
updateNetworkSettings(sandboxIdOrName, updateSandboxNetworkSettings, xDaytonaOrganizationID, options) {
|
|
3412
3412
|
return (0, exports.SandboxApiFp)(this.configuration).updateNetworkSettings(sandboxIdOrName, updateSandboxNetworkSettings, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3419,7 +3419,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3419
3419
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3420
3420
|
* @param {*} [options] Override http request option.
|
|
3421
3421
|
* @throws {RequiredError}
|
|
3422
|
-
* @memberof SandboxApi
|
|
3423
3422
|
*/
|
|
3424
3423
|
updatePublicStatus(sandboxIdOrName, isPublic, xDaytonaOrganizationID, options) {
|
|
3425
3424
|
return (0, exports.SandboxApiFp)(this.configuration).updatePublicStatus(sandboxIdOrName, isPublic, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3432,7 +3431,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3432
3431
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3433
3432
|
* @param {*} [options] Override http request option.
|
|
3434
3433
|
* @throws {RequiredError}
|
|
3435
|
-
* @memberof SandboxApi
|
|
3436
3434
|
*/
|
|
3437
3435
|
updateSandboxState(sandboxId, updateSandboxStateDto, xDaytonaOrganizationID, options) {
|
|
3438
3436
|
return (0, exports.SandboxApiFp)(this.configuration).updateSandboxState(sandboxId, updateSandboxStateDto, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3444,16 +3442,12 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3444
3442
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3445
3443
|
* @param {*} [options] Override http request option.
|
|
3446
3444
|
* @throws {RequiredError}
|
|
3447
|
-
* @memberof SandboxApi
|
|
3448
3445
|
*/
|
|
3449
3446
|
validateSshAccess(token, xDaytonaOrganizationID, options) {
|
|
3450
3447
|
return (0, exports.SandboxApiFp)(this.configuration).validateSshAccess(token, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3451
3448
|
}
|
|
3452
3449
|
}
|
|
3453
3450
|
exports.SandboxApi = SandboxApi;
|
|
3454
|
-
/**
|
|
3455
|
-
* @export
|
|
3456
|
-
*/
|
|
3457
3451
|
exports.ListSandboxesPaginatedStatesEnum = {
|
|
3458
3452
|
CREATING: 'creating',
|
|
3459
3453
|
RESTORING: 'restoring',
|
|
@@ -3472,11 +3466,9 @@ exports.ListSandboxesPaginatedStatesEnum = {
|
|
|
3472
3466
|
ARCHIVING: 'archiving',
|
|
3473
3467
|
RESIZING: 'resizing',
|
|
3474
3468
|
SNAPSHOTTING: 'snapshotting',
|
|
3475
|
-
FORKING: 'forking'
|
|
3469
|
+
FORKING: 'forking',
|
|
3470
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
3476
3471
|
};
|
|
3477
|
-
/**
|
|
3478
|
-
* @export
|
|
3479
|
-
*/
|
|
3480
3472
|
exports.ListSandboxesPaginatedSortEnum = {
|
|
3481
3473
|
ID: 'id',
|
|
3482
3474
|
NAME: 'name',
|
|
@@ -3485,13 +3477,12 @@ exports.ListSandboxesPaginatedSortEnum = {
|
|
|
3485
3477
|
REGION: 'region',
|
|
3486
3478
|
UPDATED_AT: 'updatedAt',
|
|
3487
3479
|
CREATED_AT: 'createdAt',
|
|
3488
|
-
LAST_ACTIVITY_AT: 'lastActivityAt'
|
|
3480
|
+
LAST_ACTIVITY_AT: 'lastActivityAt',
|
|
3481
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
3489
3482
|
};
|
|
3490
|
-
/**
|
|
3491
|
-
* @export
|
|
3492
|
-
*/
|
|
3493
3483
|
exports.ListSandboxesPaginatedOrderEnum = {
|
|
3494
3484
|
ASC: 'asc',
|
|
3495
|
-
DESC: 'desc'
|
|
3485
|
+
DESC: 'desc',
|
|
3486
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
3496
3487
|
};
|
|
3497
3488
|
//# sourceMappingURL=sandbox-api.js.map
|