@daytonaio/api-client 0.169.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 +3 -55
- package/src/api/sandbox-api.js +42 -58
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-desired-state.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-desired-state.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH
|
|
1
|
+
{"version":3,"file":"sandbox-desired-state.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-desired-state.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;GAEG;AAEU,QAAA,mBAAmB,GAAG;IAC/B,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
|
@@ -9,29 +9,18 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SandboxInfo
|
|
16
|
-
*/
|
|
17
12
|
export interface SandboxInfo {
|
|
18
13
|
/**
|
|
19
14
|
* The creation timestamp of the project
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SandboxInfo
|
|
22
15
|
*/
|
|
23
16
|
'created': string;
|
|
24
17
|
/**
|
|
25
18
|
* Deprecated: The name of the sandbox
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SandboxInfo
|
|
28
19
|
* @deprecated
|
|
29
20
|
*/
|
|
30
21
|
'name': string;
|
|
31
22
|
/**
|
|
32
23
|
* Additional metadata provided by the provider
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof SandboxInfo
|
|
35
24
|
*/
|
|
36
25
|
'providerMetadata'?: string;
|
|
37
26
|
}
|
|
@@ -9,16 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SandboxLabels
|
|
16
|
-
*/
|
|
17
12
|
export interface SandboxLabels {
|
|
18
13
|
/**
|
|
19
14
|
* Key-value pairs of labels
|
|
20
|
-
* @type {{ [key: string]: string; }}
|
|
21
|
-
* @memberof SandboxLabels
|
|
22
15
|
*/
|
|
23
16
|
'labels': {
|
|
24
17
|
[key: string]: string;
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The state of the sandbox
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
14
|
*/
|
|
17
15
|
export declare const SandboxState: {
|
|
18
16
|
readonly CREATING: "creating";
|
|
@@ -34,5 +32,6 @@ export declare const SandboxState: {
|
|
|
34
32
|
readonly RESIZING: "resizing";
|
|
35
33
|
readonly SNAPSHOTTING: "snapshotting";
|
|
36
34
|
readonly FORKING: "forking";
|
|
35
|
+
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
37
36
|
};
|
|
38
37
|
export type SandboxState = typeof SandboxState[keyof typeof SandboxState];
|
|
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.SandboxState = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* The state of the sandbox
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
19
|
*/
|
|
22
20
|
exports.SandboxState = {
|
|
23
21
|
CREATING: 'creating',
|
|
@@ -38,6 +36,7 @@ exports.SandboxState = {
|
|
|
38
36
|
ARCHIVING: 'archiving',
|
|
39
37
|
RESIZING: 'resizing',
|
|
40
38
|
SNAPSHOTTING: 'snapshotting',
|
|
41
|
-
FORKING: 'forking'
|
|
39
|
+
FORKING: 'forking',
|
|
40
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
42
41
|
};
|
|
43
42
|
//# sourceMappingURL=sandbox-state.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-state.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-state.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH
|
|
1
|
+
{"version":3,"file":"sandbox-state.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-state.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;GAEG;AAEU,QAAA,YAAY,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,OAAO,EAAE,SAAS;IAClB,gBAAgB,EAAE,kBAAkB;IACpC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
|
@@ -9,28 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SandboxVolume
|
|
16
|
-
*/
|
|
17
12
|
export interface SandboxVolume {
|
|
18
13
|
/**
|
|
19
14
|
* The ID of the volume
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SandboxVolume
|
|
22
15
|
*/
|
|
23
16
|
'volumeId': string;
|
|
24
17
|
/**
|
|
25
18
|
* The mount path for the volume
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SandboxVolume
|
|
28
19
|
*/
|
|
29
20
|
'mountPath': string;
|
|
30
21
|
/**
|
|
31
22
|
* Optional subpath within the volume to mount. When specified, only this S3 prefix will be accessible. When omitted, the entire volume is mounted.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SandboxVolume
|
|
34
23
|
*/
|
|
35
24
|
'subpath'?: string;
|
|
36
25
|
}
|
package/src/models/sandbox.d.ts
CHANGED
|
@@ -13,213 +13,142 @@ import type { BuildInfo } from './build-info';
|
|
|
13
13
|
import type { SandboxDesiredState } from './sandbox-desired-state';
|
|
14
14
|
import type { SandboxState } from './sandbox-state';
|
|
15
15
|
import type { SandboxVolume } from './sandbox-volume';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface Sandbox
|
|
20
|
-
*/
|
|
21
16
|
export interface Sandbox {
|
|
22
17
|
/**
|
|
23
18
|
* The ID of the sandbox
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Sandbox
|
|
26
19
|
*/
|
|
27
20
|
'id': string;
|
|
28
21
|
/**
|
|
29
22
|
* The organization ID of the sandbox
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Sandbox
|
|
32
23
|
*/
|
|
33
24
|
'organizationId': string;
|
|
34
25
|
/**
|
|
35
26
|
* The name of the sandbox
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Sandbox
|
|
38
27
|
*/
|
|
39
28
|
'name': string;
|
|
40
29
|
/**
|
|
41
30
|
* The snapshot used for the sandbox
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Sandbox
|
|
44
31
|
*/
|
|
45
32
|
'snapshot'?: string;
|
|
46
33
|
/**
|
|
47
34
|
* The user associated with the project
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof Sandbox
|
|
50
35
|
*/
|
|
51
36
|
'user': string;
|
|
52
37
|
/**
|
|
53
38
|
* Environment variables for the sandbox
|
|
54
|
-
* @type {{ [key: string]: string; }}
|
|
55
|
-
* @memberof Sandbox
|
|
56
39
|
*/
|
|
57
40
|
'env': {
|
|
58
41
|
[key: string]: string;
|
|
59
42
|
};
|
|
60
43
|
/**
|
|
61
44
|
* Labels for the sandbox
|
|
62
|
-
* @type {{ [key: string]: string; }}
|
|
63
|
-
* @memberof Sandbox
|
|
64
45
|
*/
|
|
65
46
|
'labels': {
|
|
66
47
|
[key: string]: string;
|
|
67
48
|
};
|
|
68
49
|
/**
|
|
69
50
|
* Whether the sandbox http preview is public
|
|
70
|
-
* @type {boolean}
|
|
71
|
-
* @memberof Sandbox
|
|
72
51
|
*/
|
|
73
52
|
'public': boolean;
|
|
74
53
|
/**
|
|
75
54
|
* Whether to block all network access for the sandbox
|
|
76
|
-
* @type {boolean}
|
|
77
|
-
* @memberof Sandbox
|
|
78
55
|
*/
|
|
79
56
|
'networkBlockAll': boolean;
|
|
80
57
|
/**
|
|
81
58
|
* Comma-separated list of allowed CIDR network addresses for the sandbox
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof Sandbox
|
|
84
59
|
*/
|
|
85
60
|
'networkAllowList'?: string;
|
|
86
61
|
/**
|
|
87
62
|
* The target environment for the sandbox
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @memberof Sandbox
|
|
90
63
|
*/
|
|
91
64
|
'target': string;
|
|
92
65
|
/**
|
|
93
66
|
* The CPU quota for the sandbox
|
|
94
|
-
* @type {number}
|
|
95
|
-
* @memberof Sandbox
|
|
96
67
|
*/
|
|
97
68
|
'cpu': number;
|
|
98
69
|
/**
|
|
99
70
|
* The GPU quota for the sandbox
|
|
100
|
-
* @type {number}
|
|
101
|
-
* @memberof Sandbox
|
|
102
71
|
*/
|
|
103
72
|
'gpu': number;
|
|
104
73
|
/**
|
|
105
74
|
* The memory quota for the sandbox
|
|
106
|
-
* @type {number}
|
|
107
|
-
* @memberof Sandbox
|
|
108
75
|
*/
|
|
109
76
|
'memory': number;
|
|
110
77
|
/**
|
|
111
78
|
* The disk quota for the sandbox
|
|
112
|
-
* @type {number}
|
|
113
|
-
* @memberof Sandbox
|
|
114
79
|
*/
|
|
115
80
|
'disk': number;
|
|
116
81
|
/**
|
|
117
82
|
* The state of the sandbox
|
|
118
|
-
* @type {SandboxState}
|
|
119
|
-
* @memberof Sandbox
|
|
120
83
|
*/
|
|
121
84
|
'state'?: SandboxState;
|
|
122
85
|
/**
|
|
123
86
|
* The desired state of the sandbox
|
|
124
|
-
* @type {SandboxDesiredState}
|
|
125
|
-
* @memberof Sandbox
|
|
126
87
|
*/
|
|
127
88
|
'desiredState'?: SandboxDesiredState;
|
|
128
89
|
/**
|
|
129
90
|
* The error reason of the sandbox
|
|
130
|
-
* @type {string}
|
|
131
|
-
* @memberof Sandbox
|
|
132
91
|
*/
|
|
133
92
|
'errorReason'?: string;
|
|
134
93
|
/**
|
|
135
94
|
* Whether the sandbox error is recoverable.
|
|
136
|
-
* @type {boolean}
|
|
137
|
-
* @memberof Sandbox
|
|
138
95
|
*/
|
|
139
96
|
'recoverable'?: boolean;
|
|
140
97
|
/**
|
|
141
98
|
* The state of the backup
|
|
142
|
-
* @type {string}
|
|
143
|
-
* @memberof Sandbox
|
|
144
99
|
*/
|
|
145
100
|
'backupState'?: SandboxBackupStateEnum;
|
|
146
101
|
/**
|
|
147
102
|
* The creation timestamp of the last backup
|
|
148
|
-
* @type {string}
|
|
149
|
-
* @memberof Sandbox
|
|
150
103
|
*/
|
|
151
104
|
'backupCreatedAt'?: string;
|
|
152
105
|
/**
|
|
153
106
|
* Auto-stop interval in minutes (0 means disabled)
|
|
154
|
-
* @type {number}
|
|
155
|
-
* @memberof Sandbox
|
|
156
107
|
*/
|
|
157
108
|
'autoStopInterval'?: number;
|
|
158
109
|
/**
|
|
159
110
|
* Auto-archive interval in minutes
|
|
160
|
-
* @type {number}
|
|
161
|
-
* @memberof Sandbox
|
|
162
111
|
*/
|
|
163
112
|
'autoArchiveInterval'?: number;
|
|
164
113
|
/**
|
|
165
114
|
* Auto-delete interval in minutes (negative value means disabled, 0 means delete immediately upon stopping)
|
|
166
|
-
* @type {number}
|
|
167
|
-
* @memberof Sandbox
|
|
168
115
|
*/
|
|
169
116
|
'autoDeleteInterval'?: number;
|
|
170
117
|
/**
|
|
171
118
|
* Array of volumes attached to the sandbox
|
|
172
|
-
* @type {Array<SandboxVolume>}
|
|
173
|
-
* @memberof Sandbox
|
|
174
119
|
*/
|
|
175
120
|
'volumes'?: Array<SandboxVolume>;
|
|
176
121
|
/**
|
|
177
122
|
* Build information for the sandbox
|
|
178
|
-
* @type {BuildInfo}
|
|
179
|
-
* @memberof Sandbox
|
|
180
123
|
*/
|
|
181
124
|
'buildInfo'?: BuildInfo;
|
|
182
125
|
/**
|
|
183
126
|
* The creation timestamp of the sandbox
|
|
184
|
-
* @type {string}
|
|
185
|
-
* @memberof Sandbox
|
|
186
127
|
*/
|
|
187
128
|
'createdAt'?: string;
|
|
188
129
|
/**
|
|
189
130
|
* The last update timestamp of the sandbox
|
|
190
|
-
* @type {string}
|
|
191
|
-
* @memberof Sandbox
|
|
192
131
|
*/
|
|
193
132
|
'updatedAt'?: string;
|
|
194
133
|
/**
|
|
195
134
|
* The last activity timestamp of the sandbox
|
|
196
|
-
* @type {string}
|
|
197
|
-
* @memberof Sandbox
|
|
198
135
|
*/
|
|
199
136
|
'lastActivityAt'?: string;
|
|
200
137
|
/**
|
|
201
138
|
* The class of the sandbox
|
|
202
|
-
* @type {string}
|
|
203
|
-
* @memberof Sandbox
|
|
204
139
|
* @deprecated
|
|
205
140
|
*/
|
|
206
141
|
'class'?: SandboxClassEnum;
|
|
207
142
|
/**
|
|
208
143
|
* The version of the daemon running in the sandbox
|
|
209
|
-
* @type {string}
|
|
210
|
-
* @memberof Sandbox
|
|
211
144
|
*/
|
|
212
145
|
'daemonVersion'?: string;
|
|
213
146
|
/**
|
|
214
147
|
* The runner ID of the sandbox
|
|
215
|
-
* @type {string}
|
|
216
|
-
* @memberof Sandbox
|
|
217
148
|
*/
|
|
218
149
|
'runnerId'?: string;
|
|
219
150
|
/**
|
|
220
151
|
* The toolbox proxy URL for the sandbox
|
|
221
|
-
* @type {string}
|
|
222
|
-
* @memberof Sandbox
|
|
223
152
|
*/
|
|
224
153
|
'toolboxProxyUrl': string;
|
|
225
154
|
}
|
|
@@ -229,11 +158,13 @@ export declare const SandboxBackupStateEnum: {
|
|
|
229
158
|
readonly IN_PROGRESS: "InProgress";
|
|
230
159
|
readonly COMPLETED: "Completed";
|
|
231
160
|
readonly ERROR: "Error";
|
|
161
|
+
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
232
162
|
};
|
|
233
163
|
export type SandboxBackupStateEnum = typeof SandboxBackupStateEnum[keyof typeof SandboxBackupStateEnum];
|
|
234
164
|
export declare const SandboxClassEnum: {
|
|
235
165
|
readonly SMALL: "small";
|
|
236
166
|
readonly MEDIUM: "medium";
|
|
237
167
|
readonly LARGE: "large";
|
|
168
|
+
readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
|
|
238
169
|
};
|
|
239
170
|
export type SandboxClassEnum = typeof SandboxClassEnum[keyof typeof SandboxClassEnum];
|
package/src/models/sandbox.js
CHANGED
|
@@ -19,11 +19,13 @@ exports.SandboxBackupStateEnum = {
|
|
|
19
19
|
PENDING: 'Pending',
|
|
20
20
|
IN_PROGRESS: 'InProgress',
|
|
21
21
|
COMPLETED: 'Completed',
|
|
22
|
-
ERROR: 'Error'
|
|
22
|
+
ERROR: 'Error',
|
|
23
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
23
24
|
};
|
|
24
25
|
exports.SandboxClassEnum = {
|
|
25
26
|
SMALL: 'small',
|
|
26
27
|
MEDIUM: 'medium',
|
|
27
|
-
LARGE: 'large'
|
|
28
|
+
LARGE: 'large',
|
|
29
|
+
UNKNOWN_DEFAULT_OPEN_API: '11184809',
|
|
28
30
|
};
|
|
29
31
|
//# sourceMappingURL=sandbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAwJU,QAAA,sBAAsB,GAAG;IAClC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,wBAAwB,EAAE,UAAU;CAC9B,CAAC;AAGE,QAAA,gBAAgB,GAAG;IAC5B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,wBAAwB,EAAE,UAAU;CAC9B,CAAC"}
|
|
@@ -9,28 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ScreenshotResponse
|
|
16
|
-
*/
|
|
17
12
|
export interface ScreenshotResponse {
|
|
18
13
|
/**
|
|
19
14
|
* Base64 encoded screenshot image data
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ScreenshotResponse
|
|
22
15
|
*/
|
|
23
16
|
'screenshot': string;
|
|
24
17
|
/**
|
|
25
18
|
* The current cursor position when the screenshot was taken
|
|
26
|
-
* @type {object}
|
|
27
|
-
* @memberof ScreenshotResponse
|
|
28
19
|
*/
|
|
29
20
|
'cursorPosition'?: object;
|
|
30
21
|
/**
|
|
31
22
|
* The size of the screenshot data in bytes
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ScreenshotResponse
|
|
34
23
|
*/
|
|
35
24
|
'sizeBytes'?: number;
|
|
36
25
|
}
|
|
@@ -9,16 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SearchFilesResponse
|
|
16
|
-
*/
|
|
17
12
|
export interface SearchFilesResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof SearchFilesResponse
|
|
22
|
-
*/
|
|
23
13
|
'files': Array<string>;
|
|
24
14
|
}
|
|
@@ -10,28 +10,17 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { WebhookEvent } from './webhook-event';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SendWebhookDto
|
|
17
|
-
*/
|
|
18
13
|
export interface SendWebhookDto {
|
|
19
14
|
/**
|
|
20
15
|
* The type of event being sent
|
|
21
|
-
* @type {WebhookEvent}
|
|
22
|
-
* @memberof SendWebhookDto
|
|
23
16
|
*/
|
|
24
17
|
'eventType': WebhookEvent;
|
|
25
18
|
/**
|
|
26
19
|
* The payload data to send
|
|
27
|
-
* @type {object}
|
|
28
|
-
* @memberof SendWebhookDto
|
|
29
20
|
*/
|
|
30
21
|
'payload': object;
|
|
31
22
|
/**
|
|
32
23
|
* Optional event ID for idempotency
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof SendWebhookDto
|
|
35
24
|
*/
|
|
36
25
|
'eventId'?: string;
|
|
37
26
|
}
|
|
@@ -9,28 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SessionExecuteRequest
|
|
16
|
-
*/
|
|
17
12
|
export interface SessionExecuteRequest {
|
|
18
13
|
/**
|
|
19
14
|
* The command to execute
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SessionExecuteRequest
|
|
22
15
|
*/
|
|
23
16
|
'command': string;
|
|
24
17
|
/**
|
|
25
18
|
* Whether to execute the command asynchronously
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof SessionExecuteRequest
|
|
28
19
|
*/
|
|
29
20
|
'runAsync'?: boolean;
|
|
30
21
|
/**
|
|
31
22
|
* Deprecated: Use runAsync instead. Whether to execute the command asynchronously
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof SessionExecuteRequest
|
|
34
23
|
* @deprecated
|
|
35
24
|
*/
|
|
36
25
|
'async'?: boolean;
|
|
@@ -9,28 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SessionExecuteResponse
|
|
16
|
-
*/
|
|
17
12
|
export interface SessionExecuteResponse {
|
|
18
13
|
/**
|
|
19
14
|
* The ID of the executed command
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SessionExecuteResponse
|
|
22
15
|
*/
|
|
23
16
|
'cmdId'?: string;
|
|
24
17
|
/**
|
|
25
18
|
* The output of the executed command marked with stdout and stderr prefixes
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SessionExecuteResponse
|
|
28
19
|
*/
|
|
29
20
|
'output'?: string;
|
|
30
21
|
/**
|
|
31
22
|
* The exit code of the executed command
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof SessionExecuteResponse
|
|
34
23
|
*/
|
|
35
24
|
'exitCode'?: number;
|
|
36
25
|
}
|
package/src/models/session.d.ts
CHANGED
|
@@ -10,22 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Command } from './command';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Session
|
|
17
|
-
*/
|
|
18
13
|
export interface Session {
|
|
19
14
|
/**
|
|
20
15
|
* The ID of the session
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Session
|
|
23
16
|
*/
|
|
24
17
|
'sessionId': string;
|
|
25
18
|
/**
|
|
26
19
|
* The list of commands executed in this session
|
|
27
|
-
* @type {Array<Command>}
|
|
28
|
-
* @memberof Session
|
|
29
20
|
*/
|
|
30
21
|
'commands': Array<Command> | null;
|
|
31
22
|
}
|
|
@@ -9,16 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SetSnapshotGeneralStatusDto
|
|
16
|
-
*/
|
|
17
12
|
export interface SetSnapshotGeneralStatusDto {
|
|
18
13
|
/**
|
|
19
14
|
* Whether the snapshot is general
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof SetSnapshotGeneralStatusDto
|
|
22
15
|
*/
|
|
23
16
|
'general': boolean;
|
|
24
17
|
}
|
|
@@ -9,34 +9,21 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SignedPortPreviewUrl
|
|
16
|
-
*/
|
|
17
12
|
export interface SignedPortPreviewUrl {
|
|
18
13
|
/**
|
|
19
14
|
* ID of the sandbox
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SignedPortPreviewUrl
|
|
22
15
|
*/
|
|
23
16
|
'sandboxId': string;
|
|
24
17
|
/**
|
|
25
18
|
* Port number of the signed preview URL
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SignedPortPreviewUrl
|
|
28
19
|
*/
|
|
29
20
|
'port': number;
|
|
30
21
|
/**
|
|
31
22
|
* Token of the signed preview URL
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SignedPortPreviewUrl
|
|
34
23
|
*/
|
|
35
24
|
'token': string;
|
|
36
25
|
/**
|
|
37
26
|
* Signed preview url
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SignedPortPreviewUrl
|
|
40
27
|
*/
|
|
41
28
|
'url': string;
|
|
42
29
|
}
|