@daytonaio/api-client 0.168.0 → 0.170.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 +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 +0 -17
- package/src/api/runners-api.js +9 -17
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +44 -54
- package/src/api/sandbox-api.js +123 -57
- 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/index.d.ts +1 -0
- package/src/models/index.js +1 -0
- package/src/models/index.js.map +1 -1
- 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 +21 -0
- package/src/models/update-sandbox-network-settings.js +16 -0
- package/src/models/update-sandbox-network-settings.js.map +1 -0
- 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
|
}
|
|
@@ -1230,6 +1253,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1230
1253
|
// http bearer authentication required
|
|
1231
1254
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1232
1255
|
// authentication oauth2 required
|
|
1256
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1233
1257
|
if (xDaytonaOrganizationID != null) {
|
|
1234
1258
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1235
1259
|
}
|
|
@@ -1271,6 +1295,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1271
1295
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1272
1296
|
// authentication oauth2 required
|
|
1273
1297
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1298
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1274
1299
|
if (xDaytonaOrganizationID != null) {
|
|
1275
1300
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1276
1301
|
}
|
|
@@ -1313,6 +1338,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1313
1338
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1314
1339
|
// authentication oauth2 required
|
|
1315
1340
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1341
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1316
1342
|
if (xDaytonaOrganizationID != null) {
|
|
1317
1343
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1318
1344
|
}
|
|
@@ -1355,6 +1381,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1355
1381
|
if (token !== undefined) {
|
|
1356
1382
|
localVarQueryParameter['token'] = token;
|
|
1357
1383
|
}
|
|
1384
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1358
1385
|
if (xDaytonaOrganizationID != null) {
|
|
1359
1386
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1360
1387
|
}
|
|
@@ -1396,6 +1423,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1396
1423
|
// http bearer authentication required
|
|
1397
1424
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1398
1425
|
// authentication oauth2 required
|
|
1426
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1399
1427
|
if (xDaytonaOrganizationID != null) {
|
|
1400
1428
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1401
1429
|
}
|
|
@@ -1437,6 +1465,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1437
1465
|
// http bearer authentication required
|
|
1438
1466
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1439
1467
|
// authentication oauth2 required
|
|
1468
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1440
1469
|
if (xDaytonaOrganizationID != null) {
|
|
1441
1470
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1442
1471
|
}
|
|
@@ -1478,6 +1507,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1478
1507
|
// http bearer authentication required
|
|
1479
1508
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1480
1509
|
// authentication oauth2 required
|
|
1510
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1481
1511
|
if (xDaytonaOrganizationID != null) {
|
|
1482
1512
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1483
1513
|
}
|
|
@@ -1515,6 +1545,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1515
1545
|
// http bearer authentication required
|
|
1516
1546
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1517
1547
|
// authentication oauth2 required
|
|
1548
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1518
1549
|
if (xDaytonaOrganizationID != null) {
|
|
1519
1550
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1520
1551
|
}
|
|
@@ -1556,6 +1587,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1556
1587
|
if (force !== undefined) {
|
|
1557
1588
|
localVarQueryParameter['force'] = force;
|
|
1558
1589
|
}
|
|
1590
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1559
1591
|
if (xDaytonaOrganizationID != null) {
|
|
1560
1592
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1561
1593
|
}
|
|
@@ -1604,6 +1636,49 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1604
1636
|
options: localVarRequestOptions,
|
|
1605
1637
|
};
|
|
1606
1638
|
},
|
|
1639
|
+
/**
|
|
1640
|
+
* Changes outbound network policy on the runner for a running sandbox (for example block all traffic, restore access, or set a CIDR allow list).
|
|
1641
|
+
* @summary Update sandbox network settings
|
|
1642
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
1643
|
+
* @param {UpdateSandboxNetworkSettings} updateSandboxNetworkSettings
|
|
1644
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
1645
|
+
* @param {*} [options] Override http request option.
|
|
1646
|
+
* @throws {RequiredError}
|
|
1647
|
+
*/
|
|
1648
|
+
updateNetworkSettings: async (sandboxIdOrName, updateSandboxNetworkSettings, xDaytonaOrganizationID, options = {}) => {
|
|
1649
|
+
// verify required parameter 'sandboxIdOrName' is not null or undefined
|
|
1650
|
+
(0, common_1.assertParamExists)('updateNetworkSettings', 'sandboxIdOrName', sandboxIdOrName);
|
|
1651
|
+
// verify required parameter 'updateSandboxNetworkSettings' is not null or undefined
|
|
1652
|
+
(0, common_1.assertParamExists)('updateNetworkSettings', 'updateSandboxNetworkSettings', updateSandboxNetworkSettings);
|
|
1653
|
+
const localVarPath = `/sandbox/{sandboxIdOrName}/network-settings`
|
|
1654
|
+
.replace(`{${"sandboxIdOrName"}}`, encodeURIComponent(String(sandboxIdOrName)));
|
|
1655
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1656
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1657
|
+
let baseOptions;
|
|
1658
|
+
if (configuration) {
|
|
1659
|
+
baseOptions = configuration.baseOptions;
|
|
1660
|
+
}
|
|
1661
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1662
|
+
const localVarHeaderParameter = {};
|
|
1663
|
+
const localVarQueryParameter = {};
|
|
1664
|
+
// authentication bearer required
|
|
1665
|
+
// http bearer authentication required
|
|
1666
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1667
|
+
// authentication oauth2 required
|
|
1668
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1669
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1670
|
+
if (xDaytonaOrganizationID != null) {
|
|
1671
|
+
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1672
|
+
}
|
|
1673
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1674
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1675
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1676
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSandboxNetworkSettings, localVarRequestOptions, configuration);
|
|
1677
|
+
return {
|
|
1678
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1679
|
+
options: localVarRequestOptions,
|
|
1680
|
+
};
|
|
1681
|
+
},
|
|
1607
1682
|
/**
|
|
1608
1683
|
*
|
|
1609
1684
|
* @summary Update public status
|
|
@@ -1634,6 +1709,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1634
1709
|
// http bearer authentication required
|
|
1635
1710
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1636
1711
|
// authentication oauth2 required
|
|
1712
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1637
1713
|
if (xDaytonaOrganizationID != null) {
|
|
1638
1714
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1639
1715
|
}
|
|
@@ -1715,6 +1791,7 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1715
1791
|
if (token !== undefined) {
|
|
1716
1792
|
localVarQueryParameter['token'] = token;
|
|
1717
1793
|
}
|
|
1794
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1718
1795
|
if (xDaytonaOrganizationID != null) {
|
|
1719
1796
|
localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
|
|
1720
1797
|
}
|
|
@@ -1731,7 +1808,6 @@ const SandboxApiAxiosParamCreator = function (configuration) {
|
|
|
1731
1808
|
exports.SandboxApiAxiosParamCreator = SandboxApiAxiosParamCreator;
|
|
1732
1809
|
/**
|
|
1733
1810
|
* SandboxApi - functional programming interface
|
|
1734
|
-
* @export
|
|
1735
1811
|
*/
|
|
1736
1812
|
const SandboxApiFp = function (configuration) {
|
|
1737
1813
|
const localVarAxiosParamCreator = (0, exports.SandboxApiAxiosParamCreator)(configuration);
|
|
@@ -2294,6 +2370,21 @@ const SandboxApiFp = function (configuration) {
|
|
|
2294
2370
|
const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.updateLastActivity']?.[localVarOperationServerIndex]?.url;
|
|
2295
2371
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2296
2372
|
},
|
|
2373
|
+
/**
|
|
2374
|
+
* Changes outbound network policy on the runner for a running sandbox (for example block all traffic, restore access, or set a CIDR allow list).
|
|
2375
|
+
* @summary Update sandbox network settings
|
|
2376
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
2377
|
+
* @param {UpdateSandboxNetworkSettings} updateSandboxNetworkSettings
|
|
2378
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2379
|
+
* @param {*} [options] Override http request option.
|
|
2380
|
+
* @throws {RequiredError}
|
|
2381
|
+
*/
|
|
2382
|
+
async updateNetworkSettings(sandboxIdOrName, updateSandboxNetworkSettings, xDaytonaOrganizationID, options) {
|
|
2383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateNetworkSettings(sandboxIdOrName, updateSandboxNetworkSettings, xDaytonaOrganizationID, options);
|
|
2384
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2385
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.updateNetworkSettings']?.[localVarOperationServerIndex]?.url;
|
|
2386
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2387
|
+
},
|
|
2297
2388
|
/**
|
|
2298
2389
|
*
|
|
2299
2390
|
* @summary Update public status
|
|
@@ -2343,7 +2434,6 @@ const SandboxApiFp = function (configuration) {
|
|
|
2343
2434
|
exports.SandboxApiFp = SandboxApiFp;
|
|
2344
2435
|
/**
|
|
2345
2436
|
* SandboxApi - factory interface
|
|
2346
|
-
* @export
|
|
2347
2437
|
*/
|
|
2348
2438
|
const SandboxApiFactory = function (configuration, basePath, axios) {
|
|
2349
2439
|
const localVarFp = (0, exports.SandboxApiFp)(configuration);
|
|
@@ -2798,6 +2888,18 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2798
2888
|
updateLastActivity(sandboxId, xDaytonaOrganizationID, options) {
|
|
2799
2889
|
return localVarFp.updateLastActivity(sandboxId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2800
2890
|
},
|
|
2891
|
+
/**
|
|
2892
|
+
* Changes outbound network policy on the runner for a running sandbox (for example block all traffic, restore access, or set a CIDR allow list).
|
|
2893
|
+
* @summary Update sandbox network settings
|
|
2894
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
2895
|
+
* @param {UpdateSandboxNetworkSettings} updateSandboxNetworkSettings
|
|
2896
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2897
|
+
* @param {*} [options] Override http request option.
|
|
2898
|
+
* @throws {RequiredError}
|
|
2899
|
+
*/
|
|
2900
|
+
updateNetworkSettings(sandboxIdOrName, updateSandboxNetworkSettings, xDaytonaOrganizationID, options) {
|
|
2901
|
+
return localVarFp.updateNetworkSettings(sandboxIdOrName, updateSandboxNetworkSettings, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
|
|
2902
|
+
},
|
|
2801
2903
|
/**
|
|
2802
2904
|
*
|
|
2803
2905
|
* @summary Update public status
|
|
@@ -2838,9 +2940,6 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
|
|
|
2838
2940
|
exports.SandboxApiFactory = SandboxApiFactory;
|
|
2839
2941
|
/**
|
|
2840
2942
|
* SandboxApi - object-oriented interface
|
|
2841
|
-
* @export
|
|
2842
|
-
* @class SandboxApi
|
|
2843
|
-
* @extends {BaseAPI}
|
|
2844
2943
|
*/
|
|
2845
2944
|
class SandboxApi extends base_1.BaseAPI {
|
|
2846
2945
|
/**
|
|
@@ -2850,7 +2949,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2850
2949
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2851
2950
|
* @param {*} [options] Override http request option.
|
|
2852
2951
|
* @throws {RequiredError}
|
|
2853
|
-
* @memberof SandboxApi
|
|
2854
2952
|
*/
|
|
2855
2953
|
archiveSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
2856
2954
|
return (0, exports.SandboxApiFp)(this.configuration).archiveSandbox(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2862,7 +2960,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2862
2960
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2863
2961
|
* @param {*} [options] Override http request option.
|
|
2864
2962
|
* @throws {RequiredError}
|
|
2865
|
-
* @memberof SandboxApi
|
|
2866
2963
|
*/
|
|
2867
2964
|
createBackup(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
2868
2965
|
return (0, exports.SandboxApiFp)(this.configuration).createBackup(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2874,7 +2971,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2874
2971
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2875
2972
|
* @param {*} [options] Override http request option.
|
|
2876
2973
|
* @throws {RequiredError}
|
|
2877
|
-
* @memberof SandboxApi
|
|
2878
2974
|
*/
|
|
2879
2975
|
createSandbox(createSandbox, xDaytonaOrganizationID, options) {
|
|
2880
2976
|
return (0, exports.SandboxApiFp)(this.configuration).createSandbox(createSandbox, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2887,7 +2983,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2887
2983
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2888
2984
|
* @param {*} [options] Override http request option.
|
|
2889
2985
|
* @throws {RequiredError}
|
|
2890
|
-
* @memberof SandboxApi
|
|
2891
2986
|
*/
|
|
2892
2987
|
createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options) {
|
|
2893
2988
|
return (0, exports.SandboxApiFp)(this.configuration).createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2900,7 +2995,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2900
2995
|
* @param {number} [expiresInMinutes] Expiration time in minutes (default: 60)
|
|
2901
2996
|
* @param {*} [options] Override http request option.
|
|
2902
2997
|
* @throws {RequiredError}
|
|
2903
|
-
* @memberof SandboxApi
|
|
2904
2998
|
*/
|
|
2905
2999
|
createSshAccess(sandboxIdOrName, xDaytonaOrganizationID, expiresInMinutes, options) {
|
|
2906
3000
|
return (0, exports.SandboxApiFp)(this.configuration).createSshAccess(sandboxIdOrName, xDaytonaOrganizationID, expiresInMinutes, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2912,7 +3006,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2912
3006
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2913
3007
|
* @param {*} [options] Override http request option.
|
|
2914
3008
|
* @throws {RequiredError}
|
|
2915
|
-
* @memberof SandboxApi
|
|
2916
3009
|
*/
|
|
2917
3010
|
deleteSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
2918
3011
|
return (0, exports.SandboxApiFp)(this.configuration).deleteSandbox(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2926,7 +3019,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2926
3019
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2927
3020
|
* @param {*} [options] Override http request option.
|
|
2928
3021
|
* @throws {RequiredError}
|
|
2929
|
-
* @memberof SandboxApi
|
|
2930
3022
|
*/
|
|
2931
3023
|
expireSignedPortPreviewUrl(sandboxIdOrName, port, token, xDaytonaOrganizationID, options) {
|
|
2932
3024
|
return (0, exports.SandboxApiFp)(this.configuration).expireSignedPortPreviewUrl(sandboxIdOrName, port, token, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2939,7 +3031,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2939
3031
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2940
3032
|
* @param {*} [options] Override http request option.
|
|
2941
3033
|
* @throws {RequiredError}
|
|
2942
|
-
* @memberof SandboxApi
|
|
2943
3034
|
*/
|
|
2944
3035
|
forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options) {
|
|
2945
3036
|
return (0, exports.SandboxApiFp)(this.configuration).forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2953,7 +3044,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2953
3044
|
* @param {*} [options] Override http request option.
|
|
2954
3045
|
* @deprecated
|
|
2955
3046
|
* @throws {RequiredError}
|
|
2956
|
-
* @memberof SandboxApi
|
|
2957
3047
|
*/
|
|
2958
3048
|
getBuildLogs(sandboxIdOrName, xDaytonaOrganizationID, follow, options) {
|
|
2959
3049
|
return (0, exports.SandboxApiFp)(this.configuration).getBuildLogs(sandboxIdOrName, xDaytonaOrganizationID, follow, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2965,7 +3055,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2965
3055
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2966
3056
|
* @param {*} [options] Override http request option.
|
|
2967
3057
|
* @throws {RequiredError}
|
|
2968
|
-
* @memberof SandboxApi
|
|
2969
3058
|
*/
|
|
2970
3059
|
getBuildLogsUrl(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
2971
3060
|
return (0, exports.SandboxApiFp)(this.configuration).getBuildLogsUrl(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2977,7 +3066,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2977
3066
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2978
3067
|
* @param {*} [options] Override http request option.
|
|
2979
3068
|
* @throws {RequiredError}
|
|
2980
|
-
* @memberof SandboxApi
|
|
2981
3069
|
*/
|
|
2982
3070
|
getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
|
|
2983
3071
|
return (0, exports.SandboxApiFp)(this.configuration).getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2990,7 +3078,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
2990
3078
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
2991
3079
|
* @param {*} [options] Override http request option.
|
|
2992
3080
|
* @throws {RequiredError}
|
|
2993
|
-
* @memberof SandboxApi
|
|
2994
3081
|
*/
|
|
2995
3082
|
getPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, options) {
|
|
2996
3083
|
return (0, exports.SandboxApiFp)(this.configuration).getPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3002,7 +3089,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3002
3089
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3003
3090
|
* @param {*} [options] Override http request option.
|
|
3004
3091
|
* @throws {RequiredError}
|
|
3005
|
-
* @memberof SandboxApi
|
|
3006
3092
|
*/
|
|
3007
3093
|
getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
|
|
3008
3094
|
return (0, exports.SandboxApiFp)(this.configuration).getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3015,7 +3101,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3015
3101
|
* @param {boolean} [verbose] Include verbose output
|
|
3016
3102
|
* @param {*} [options] Override http request option.
|
|
3017
3103
|
* @throws {RequiredError}
|
|
3018
|
-
* @memberof SandboxApi
|
|
3019
3104
|
*/
|
|
3020
3105
|
getSandbox(sandboxIdOrName, xDaytonaOrganizationID, verbose, options) {
|
|
3021
3106
|
return (0, exports.SandboxApiFp)(this.configuration).getSandbox(sandboxIdOrName, xDaytonaOrganizationID, verbose, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3027,7 +3112,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3027
3112
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3028
3113
|
* @param {*} [options] Override http request option.
|
|
3029
3114
|
* @throws {RequiredError}
|
|
3030
|
-
* @memberof SandboxApi
|
|
3031
3115
|
*/
|
|
3032
3116
|
getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
3033
3117
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3040,7 +3124,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3040
3124
|
* @param {boolean} [includeDestroyed]
|
|
3041
3125
|
* @param {*} [options] Override http request option.
|
|
3042
3126
|
* @throws {RequiredError}
|
|
3043
|
-
* @memberof SandboxApi
|
|
3044
3127
|
*/
|
|
3045
3128
|
getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options) {
|
|
3046
3129
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3058,7 +3141,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3058
3141
|
* @param {string} [search] Search in log body
|
|
3059
3142
|
* @param {*} [options] Override http request option.
|
|
3060
3143
|
* @throws {RequiredError}
|
|
3061
|
-
* @memberof SandboxApi
|
|
3062
3144
|
*/
|
|
3063
3145
|
getSandboxLogs(sandboxId, from, to, xDaytonaOrganizationID, page, limit, severities, search, options) {
|
|
3064
3146
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxLogs(sandboxId, from, to, xDaytonaOrganizationID, page, limit, severities, search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3073,7 +3155,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3073
3155
|
* @param {Array<string>} [metricNames] Filter by metric names
|
|
3074
3156
|
* @param {*} [options] Override http request option.
|
|
3075
3157
|
* @throws {RequiredError}
|
|
3076
|
-
* @memberof SandboxApi
|
|
3077
3158
|
*/
|
|
3078
3159
|
getSandboxMetrics(sandboxId, from, to, xDaytonaOrganizationID, metricNames, options) {
|
|
3079
3160
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxMetrics(sandboxId, from, to, xDaytonaOrganizationID, metricNames, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3085,7 +3166,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3085
3166
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3086
3167
|
* @param {*} [options] Override http request option.
|
|
3087
3168
|
* @throws {RequiredError}
|
|
3088
|
-
* @memberof SandboxApi
|
|
3089
3169
|
*/
|
|
3090
3170
|
getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
3091
3171
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3098,7 +3178,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3098
3178
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3099
3179
|
* @param {*} [options] Override http request option.
|
|
3100
3180
|
* @throws {RequiredError}
|
|
3101
|
-
* @memberof SandboxApi
|
|
3102
3181
|
*/
|
|
3103
3182
|
getSandboxTraceSpans(sandboxId, traceId, xDaytonaOrganizationID, options) {
|
|
3104
3183
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxTraceSpans(sandboxId, traceId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3114,7 +3193,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3114
3193
|
* @param {number} [limit] Number of items per page
|
|
3115
3194
|
* @param {*} [options] Override http request option.
|
|
3116
3195
|
* @throws {RequiredError}
|
|
3117
|
-
* @memberof SandboxApi
|
|
3118
3196
|
*/
|
|
3119
3197
|
getSandboxTraces(sandboxId, from, to, xDaytonaOrganizationID, page, limit, options) {
|
|
3120
3198
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxTraces(sandboxId, from, to, xDaytonaOrganizationID, page, limit, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3127,7 +3205,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3127
3205
|
* @param {boolean} [skipReconcilingSandboxes] Skip sandboxes where state differs from desired state
|
|
3128
3206
|
* @param {*} [options] Override http request option.
|
|
3129
3207
|
* @throws {RequiredError}
|
|
3130
|
-
* @memberof SandboxApi
|
|
3131
3208
|
*/
|
|
3132
3209
|
getSandboxesForRunner(xDaytonaOrganizationID, states, skipReconcilingSandboxes, options) {
|
|
3133
3210
|
return (0, exports.SandboxApiFp)(this.configuration).getSandboxesForRunner(xDaytonaOrganizationID, states, skipReconcilingSandboxes, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3141,7 +3218,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3141
3218
|
* @param {number} [expiresInSeconds] Expiration time in seconds (default: 60 seconds)
|
|
3142
3219
|
* @param {*} [options] Override http request option.
|
|
3143
3220
|
* @throws {RequiredError}
|
|
3144
|
-
* @memberof SandboxApi
|
|
3145
3221
|
*/
|
|
3146
3222
|
getSignedPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, expiresInSeconds, options) {
|
|
3147
3223
|
return (0, exports.SandboxApiFp)(this.configuration).getSignedPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, expiresInSeconds, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3153,7 +3229,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3153
3229
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3154
3230
|
* @param {*} [options] Override http request option.
|
|
3155
3231
|
* @throws {RequiredError}
|
|
3156
|
-
* @memberof SandboxApi
|
|
3157
3232
|
*/
|
|
3158
3233
|
getToolboxProxyUrl(sandboxId, xDaytonaOrganizationID, options) {
|
|
3159
3234
|
return (0, exports.SandboxApiFp)(this.configuration).getToolboxProxyUrl(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3167,7 +3242,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3167
3242
|
* @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
|
|
3168
3243
|
* @param {*} [options] Override http request option.
|
|
3169
3244
|
* @throws {RequiredError}
|
|
3170
|
-
* @memberof SandboxApi
|
|
3171
3245
|
*/
|
|
3172
3246
|
listSandboxes(xDaytonaOrganizationID, verbose, labels, includeErroredDeleted, options) {
|
|
3173
3247
|
return (0, exports.SandboxApiFp)(this.configuration).listSandboxes(xDaytonaOrganizationID, verbose, labels, includeErroredDeleted, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3197,7 +3271,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3197
3271
|
* @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
|
|
3198
3272
|
* @param {*} [options] Override http request option.
|
|
3199
3273
|
* @throws {RequiredError}
|
|
3200
|
-
* @memberof SandboxApi
|
|
3201
3274
|
*/
|
|
3202
3275
|
listSandboxesPaginated(xDaytonaOrganizationID, page, limit, id, name, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options) {
|
|
3203
3276
|
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));
|
|
@@ -3209,7 +3282,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3209
3282
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3210
3283
|
* @param {*} [options] Override http request option.
|
|
3211
3284
|
* @throws {RequiredError}
|
|
3212
|
-
* @memberof SandboxApi
|
|
3213
3285
|
*/
|
|
3214
3286
|
recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
3215
3287
|
return (0, exports.SandboxApiFp)(this.configuration).recoverSandbox(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3222,7 +3294,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3222
3294
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3223
3295
|
* @param {*} [options] Override http request option.
|
|
3224
3296
|
* @throws {RequiredError}
|
|
3225
|
-
* @memberof SandboxApi
|
|
3226
3297
|
*/
|
|
3227
3298
|
replaceLabels(sandboxIdOrName, sandboxLabels, xDaytonaOrganizationID, options) {
|
|
3228
3299
|
return (0, exports.SandboxApiFp)(this.configuration).replaceLabels(sandboxIdOrName, sandboxLabels, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3235,7 +3306,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3235
3306
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3236
3307
|
* @param {*} [options] Override http request option.
|
|
3237
3308
|
* @throws {RequiredError}
|
|
3238
|
-
* @memberof SandboxApi
|
|
3239
3309
|
*/
|
|
3240
3310
|
resizeSandbox(sandboxIdOrName, resizeSandbox, xDaytonaOrganizationID, options) {
|
|
3241
3311
|
return (0, exports.SandboxApiFp)(this.configuration).resizeSandbox(sandboxIdOrName, resizeSandbox, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3248,7 +3318,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3248
3318
|
* @param {string} [token] SSH access token to revoke. If not provided, all SSH access for the sandbox will be revoked.
|
|
3249
3319
|
* @param {*} [options] Override http request option.
|
|
3250
3320
|
* @throws {RequiredError}
|
|
3251
|
-
* @memberof SandboxApi
|
|
3252
3321
|
*/
|
|
3253
3322
|
revokeSshAccess(sandboxIdOrName, xDaytonaOrganizationID, token, options) {
|
|
3254
3323
|
return (0, exports.SandboxApiFp)(this.configuration).revokeSshAccess(sandboxIdOrName, xDaytonaOrganizationID, token, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3261,7 +3330,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3261
3330
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3262
3331
|
* @param {*} [options] Override http request option.
|
|
3263
3332
|
* @throws {RequiredError}
|
|
3264
|
-
* @memberof SandboxApi
|
|
3265
3333
|
*/
|
|
3266
3334
|
setAutoArchiveInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options) {
|
|
3267
3335
|
return (0, exports.SandboxApiFp)(this.configuration).setAutoArchiveInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3274,7 +3342,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3274
3342
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3275
3343
|
* @param {*} [options] Override http request option.
|
|
3276
3344
|
* @throws {RequiredError}
|
|
3277
|
-
* @memberof SandboxApi
|
|
3278
3345
|
*/
|
|
3279
3346
|
setAutoDeleteInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options) {
|
|
3280
3347
|
return (0, exports.SandboxApiFp)(this.configuration).setAutoDeleteInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3287,7 +3354,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3287
3354
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3288
3355
|
* @param {*} [options] Override http request option.
|
|
3289
3356
|
* @throws {RequiredError}
|
|
3290
|
-
* @memberof SandboxApi
|
|
3291
3357
|
*/
|
|
3292
3358
|
setAutostopInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options) {
|
|
3293
3359
|
return (0, exports.SandboxApiFp)(this.configuration).setAutostopInterval(sandboxIdOrName, interval, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3299,7 +3365,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3299
3365
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3300
3366
|
* @param {*} [options] Override http request option.
|
|
3301
3367
|
* @throws {RequiredError}
|
|
3302
|
-
* @memberof SandboxApi
|
|
3303
3368
|
*/
|
|
3304
3369
|
startSandbox(sandboxIdOrName, xDaytonaOrganizationID, options) {
|
|
3305
3370
|
return (0, exports.SandboxApiFp)(this.configuration).startSandbox(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3312,7 +3377,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3312
3377
|
* @param {boolean} [force] Force stop the sandbox using SIGKILL instead of SIGTERM
|
|
3313
3378
|
* @param {*} [options] Override http request option.
|
|
3314
3379
|
* @throws {RequiredError}
|
|
3315
|
-
* @memberof SandboxApi
|
|
3316
3380
|
*/
|
|
3317
3381
|
stopSandbox(sandboxIdOrName, xDaytonaOrganizationID, force, options) {
|
|
3318
3382
|
return (0, exports.SandboxApiFp)(this.configuration).stopSandbox(sandboxIdOrName, xDaytonaOrganizationID, force, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3324,11 +3388,22 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3324
3388
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3325
3389
|
* @param {*} [options] Override http request option.
|
|
3326
3390
|
* @throws {RequiredError}
|
|
3327
|
-
* @memberof SandboxApi
|
|
3328
3391
|
*/
|
|
3329
3392
|
updateLastActivity(sandboxId, xDaytonaOrganizationID, options) {
|
|
3330
3393
|
return (0, exports.SandboxApiFp)(this.configuration).updateLastActivity(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3331
3394
|
}
|
|
3395
|
+
/**
|
|
3396
|
+
* Changes outbound network policy on the runner for a running sandbox (for example block all traffic, restore access, or set a CIDR allow list).
|
|
3397
|
+
* @summary Update sandbox network settings
|
|
3398
|
+
* @param {string} sandboxIdOrName ID or name of the sandbox
|
|
3399
|
+
* @param {UpdateSandboxNetworkSettings} updateSandboxNetworkSettings
|
|
3400
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3401
|
+
* @param {*} [options] Override http request option.
|
|
3402
|
+
* @throws {RequiredError}
|
|
3403
|
+
*/
|
|
3404
|
+
updateNetworkSettings(sandboxIdOrName, updateSandboxNetworkSettings, xDaytonaOrganizationID, options) {
|
|
3405
|
+
return (0, exports.SandboxApiFp)(this.configuration).updateNetworkSettings(sandboxIdOrName, updateSandboxNetworkSettings, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3406
|
+
}
|
|
3332
3407
|
/**
|
|
3333
3408
|
*
|
|
3334
3409
|
* @summary Update public status
|
|
@@ -3337,7 +3412,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3337
3412
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3338
3413
|
* @param {*} [options] Override http request option.
|
|
3339
3414
|
* @throws {RequiredError}
|
|
3340
|
-
* @memberof SandboxApi
|
|
3341
3415
|
*/
|
|
3342
3416
|
updatePublicStatus(sandboxIdOrName, isPublic, xDaytonaOrganizationID, options) {
|
|
3343
3417
|
return (0, exports.SandboxApiFp)(this.configuration).updatePublicStatus(sandboxIdOrName, isPublic, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3350,7 +3424,6 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3350
3424
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3351
3425
|
* @param {*} [options] Override http request option.
|
|
3352
3426
|
* @throws {RequiredError}
|
|
3353
|
-
* @memberof SandboxApi
|
|
3354
3427
|
*/
|
|
3355
3428
|
updateSandboxState(sandboxId, updateSandboxStateDto, xDaytonaOrganizationID, options) {
|
|
3356
3429
|
return (0, exports.SandboxApiFp)(this.configuration).updateSandboxState(sandboxId, updateSandboxStateDto, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3362,16 +3435,12 @@ class SandboxApi extends base_1.BaseAPI {
|
|
|
3362
3435
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
3363
3436
|
* @param {*} [options] Override http request option.
|
|
3364
3437
|
* @throws {RequiredError}
|
|
3365
|
-
* @memberof SandboxApi
|
|
3366
3438
|
*/
|
|
3367
3439
|
validateSshAccess(token, xDaytonaOrganizationID, options) {
|
|
3368
3440
|
return (0, exports.SandboxApiFp)(this.configuration).validateSshAccess(token, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
|
|
3369
3441
|
}
|
|
3370
3442
|
}
|
|
3371
3443
|
exports.SandboxApi = SandboxApi;
|
|
3372
|
-
/**
|
|
3373
|
-
* @export
|
|
3374
|
-
*/
|
|
3375
3444
|
exports.ListSandboxesPaginatedStatesEnum = {
|
|
3376
3445
|
CREATING: 'creating',
|
|
3377
3446
|
RESTORING: 'restoring',
|
|
@@ -3390,11 +3459,9 @@ exports.ListSandboxesPaginatedStatesEnum = {
|
|
|
3390
3459
|
ARCHIVING: 'archiving',
|
|
3391
3460
|
RESIZING: 'resizing',
|
|
3392
3461
|
SNAPSHOTTING: 'snapshotting',
|
|
3393
|
-
FORKING: 'forking'
|
|
3462
|
+
FORKING: 'forking',
|
|
3463
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
3394
3464
|
};
|
|
3395
|
-
/**
|
|
3396
|
-
* @export
|
|
3397
|
-
*/
|
|
3398
3465
|
exports.ListSandboxesPaginatedSortEnum = {
|
|
3399
3466
|
ID: 'id',
|
|
3400
3467
|
NAME: 'name',
|
|
@@ -3403,13 +3470,12 @@ exports.ListSandboxesPaginatedSortEnum = {
|
|
|
3403
3470
|
REGION: 'region',
|
|
3404
3471
|
UPDATED_AT: 'updatedAt',
|
|
3405
3472
|
CREATED_AT: 'createdAt',
|
|
3406
|
-
LAST_ACTIVITY_AT: 'lastActivityAt'
|
|
3473
|
+
LAST_ACTIVITY_AT: 'lastActivityAt',
|
|
3474
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
3407
3475
|
};
|
|
3408
|
-
/**
|
|
3409
|
-
* @export
|
|
3410
|
-
*/
|
|
3411
3476
|
exports.ListSandboxesPaginatedOrderEnum = {
|
|
3412
3477
|
ASC: 'asc',
|
|
3413
|
-
DESC: 'desc'
|
|
3478
|
+
DESC: 'desc',
|
|
3479
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
3414
3480
|
};
|
|
3415
3481
|
//# sourceMappingURL=sandbox-api.js.map
|