@daytonaio/api-client 0.20.0 → 0.21.0-alpha.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/docker-registry-api.d.ts +4 -4
- package/src/api/docker-registry-api.js +4 -4
- package/src/api/preview-api.d.ts +40 -40
- package/src/api/preview-api.js +65 -65
- package/src/api/preview-api.js.map +1 -1
- package/src/api/runners-api.d.ts +136 -0
- package/src/api/{nodes-api.js → runners-api.js} +70 -70
- package/src/api/runners-api.js.map +1 -0
- package/src/api/sandbox-api.d.ts +598 -0
- package/src/api/sandbox-api.js +1212 -0
- package/src/api/sandbox-api.js.map +1 -0
- package/src/api/snapshots-api.d.ts +320 -0
- package/src/api/{images-api.js → snapshots-api.js} +162 -241
- package/src/api/snapshots-api.js.map +1 -0
- package/src/api/toolbox-api.d.ts +412 -412
- package/src/api/toolbox-api.js +676 -676
- package/src/api/toolbox-api.js.map +1 -1
- package/src/api/users-api.d.ts +67 -0
- package/src/api/users-api.js +138 -0
- package/src/api/users-api.js.map +1 -1
- package/src/api/workspace-api.d.ts +207 -110
- package/src/api/workspace-api.js +322 -180
- package/src/api/workspace-api.js.map +1 -1
- package/src/api.d.ts +3 -2
- package/src/api.js +3 -2
- package/src/api.js.map +1 -1
- package/src/models/api-key-list.d.ts +2 -2
- package/src/models/api-key-list.js +2 -2
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +2 -2
- package/src/models/api-key-response.js +2 -2
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/build-snapshot.d.ts +55 -0
- package/src/models/{workspace-info.js → build-snapshot.js} +1 -1
- package/src/models/build-snapshot.js.map +1 -0
- package/src/models/create-api-key.d.ts +2 -2
- package/src/models/create-api-key.js +2 -2
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/{build-image.d.ts → create-linked-account.d.ts} +9 -10
- package/src/models/{paginated-images-dto.js → create-linked-account.js} +1 -1
- package/src/models/create-linked-account.js.map +1 -0
- package/src/models/create-organization-quota.d.ts +5 -5
- package/src/models/create-organization-role.d.ts +2 -2
- package/src/models/create-organization-role.js +2 -2
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/{create-node.d.ts → create-runner.d.ts} +19 -19
- package/src/models/{create-node.js → create-runner.js} +4 -4
- package/src/models/create-runner.js.map +1 -0
- package/src/models/create-sandbox.d.ts +126 -0
- package/src/models/create-sandbox.js +27 -0
- package/src/models/create-sandbox.js.map +1 -0
- package/src/models/create-snapshot.d.ts +73 -0
- package/src/models/create-snapshot.js +16 -0
- package/src/models/create-snapshot.js.map +1 -0
- package/src/models/create-workspace.d.ts +10 -4
- package/src/models/create-workspace.js.map +1 -1
- package/src/models/index.d.ts +13 -12
- package/src/models/index.js +13 -12
- package/src/models/index.js.map +1 -1
- package/src/models/organization-role.d.ts +2 -2
- package/src/models/organization-role.js +2 -2
- package/src/models/organization-role.js.map +1 -1
- package/src/models/{paginated-images-dto.d.ts → paginated-snapshots-dto.d.ts} +9 -9
- package/src/models/paginated-snapshots-dto.js +16 -0
- package/src/models/paginated-snapshots-dto.js.map +1 -0
- package/src/models/{workspace-info.d.ts → sandbox-info.d.ts} +6 -6
- package/src/models/{image-dto.js → sandbox-info.js} +1 -1
- package/src/models/sandbox-info.js.map +1 -0
- package/src/models/{workspace-labels.d.ts → sandbox-labels.d.ts} +3 -3
- package/src/models/{create-image.js → sandbox-labels.js} +1 -1
- package/src/models/sandbox-labels.js.map +1 -0
- package/src/models/{workspace-state.d.ts → sandbox-state.d.ts} +5 -5
- package/src/models/{workspace-state.js → sandbox-state.js} +6 -6
- package/src/models/sandbox-state.js.map +1 -0
- package/src/models/{workspace-volume.d.ts → sandbox-volume.d.ts} +4 -4
- package/src/models/sandbox-volume.js +16 -0
- package/src/models/sandbox-volume.js.map +1 -0
- package/src/models/sandbox.d.ts +160 -0
- package/src/models/{workspace.js → sandbox.js} +3 -3
- package/src/models/sandbox.js.map +1 -0
- package/src/models/{set-image-general-status.d.ts → set-snapshot-general-status-dto.d.ts} +4 -4
- package/src/models/set-snapshot-general-status-dto.js +16 -0
- package/src/models/set-snapshot-general-status-dto.js.map +1 -0
- package/src/models/{image-dto.d.ts → snapshot-dto.d.ts} +47 -17
- package/src/models/{build-image.js → snapshot-dto.js} +1 -1
- package/src/models/snapshot-dto.js.map +1 -0
- package/src/models/{image-state.d.ts → snapshot-state.d.ts} +3 -3
- package/src/models/{image-state.js → snapshot-state.js} +4 -4
- package/src/models/snapshot-state.js.map +1 -0
- package/src/models/toggle-state.d.ts +1 -1
- package/src/models/update-organization-quota.d.ts +5 -5
- package/src/models/update-organization-role.d.ts +2 -2
- package/src/models/update-organization-role.js +2 -2
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/volume-dto.d.ts +1 -1
- package/src/api/images-api.d.ts +0 -358
- package/src/api/images-api.js.map +0 -1
- package/src/api/nodes-api.d.ts +0 -136
- package/src/api/nodes-api.js.map +0 -1
- package/src/models/build-image.js.map +0 -1
- package/src/models/create-image.d.ts +0 -36
- package/src/models/create-image.js.map +0 -1
- package/src/models/create-node.js.map +0 -1
- package/src/models/image-dto.js.map +0 -1
- package/src/models/image-state.js.map +0 -1
- package/src/models/paginated-images-dto.js.map +0 -1
- package/src/models/set-image-general-status.js +0 -16
- package/src/models/set-image-general-status.js.map +0 -1
- package/src/models/workspace-info.js.map +0 -1
- package/src/models/workspace-labels.js +0 -16
- package/src/models/workspace-labels.js.map +0 -1
- package/src/models/workspace-state.js.map +0 -1
- package/src/models/workspace-volume.js +0 -16
- package/src/models/workspace-volume.js.map +0 -1
- package/src/models/workspace.d.ts +0 -154
- package/src/models/workspace.js.map +0 -1
|
@@ -14,8 +14,8 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { CreateWorkspace } from '../models';
|
|
16
16
|
import type { PortPreviewUrl } from '../models';
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
17
|
+
import type { Sandbox } from '../models';
|
|
18
|
+
import type { SandboxLabels } from '../models';
|
|
19
19
|
/**
|
|
20
20
|
* WorkspaceApi - axios parameter creator
|
|
21
21
|
* @export
|
|
@@ -23,129 +23,153 @@ import type { WorkspaceLabels } from '../models';
|
|
|
23
23
|
export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @summary Archive workspace
|
|
26
|
+
* @summary [DEPRECATED] Archive workspace
|
|
27
27
|
* @param {string} workspaceId
|
|
28
28
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
|
+
* @deprecated
|
|
30
31
|
* @throws {RequiredError}
|
|
31
32
|
*/
|
|
32
|
-
|
|
33
|
+
archiveWorkspaceDeprecated: (workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
34
|
/**
|
|
34
35
|
*
|
|
35
|
-
* @summary Create workspace
|
|
36
|
+
* @summary [DEPRECATED] Create workspace backup
|
|
36
37
|
* @param {string} workspaceId ID of the workspace
|
|
37
38
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
38
39
|
* @param {*} [options] Override http request option.
|
|
40
|
+
* @deprecated
|
|
39
41
|
* @throws {RequiredError}
|
|
40
42
|
*/
|
|
41
|
-
|
|
43
|
+
createBackupWorkspaceDeprecated: (workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
44
|
/**
|
|
43
45
|
*
|
|
44
|
-
* @summary Create a new workspace
|
|
46
|
+
* @summary [DEPRECATED] Create a new workspace
|
|
45
47
|
* @param {CreateWorkspace} createWorkspace
|
|
46
48
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
47
49
|
* @param {*} [options] Override http request option.
|
|
50
|
+
* @deprecated
|
|
48
51
|
* @throws {RequiredError}
|
|
49
52
|
*/
|
|
50
|
-
|
|
53
|
+
createWorkspaceDeprecated: (createWorkspace: CreateWorkspace, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
54
|
/**
|
|
52
55
|
*
|
|
53
|
-
* @summary Delete workspace
|
|
56
|
+
* @summary [DEPRECATED] Delete workspace
|
|
54
57
|
* @param {string} workspaceId ID of the workspace
|
|
55
58
|
* @param {boolean} force
|
|
56
59
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
57
60
|
* @param {*} [options] Override http request option.
|
|
61
|
+
* @deprecated
|
|
58
62
|
* @throws {RequiredError}
|
|
59
63
|
*/
|
|
60
|
-
|
|
64
|
+
deleteWorkspaceDeprecated: (workspaceId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
65
|
/**
|
|
62
66
|
*
|
|
63
|
-
* @summary Get build logs
|
|
67
|
+
* @summary [DEPRECATED] Get build logs
|
|
64
68
|
* @param {string} workspaceId ID of the workspace
|
|
65
69
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
66
70
|
* @param {boolean} [follow] Whether to follow the logs stream
|
|
67
71
|
* @param {*} [options] Override http request option.
|
|
72
|
+
* @deprecated
|
|
68
73
|
* @throws {RequiredError}
|
|
69
74
|
*/
|
|
70
|
-
|
|
75
|
+
getBuildLogsWorkspaceDeprecated: (workspaceId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
76
|
/**
|
|
72
77
|
*
|
|
73
|
-
* @summary Get preview URL for a workspace port
|
|
78
|
+
* @summary [DEPRECATED] Get preview URL for a workspace port
|
|
74
79
|
* @param {string} workspaceId ID of the workspace
|
|
75
80
|
* @param {number} port Port number to get preview URL for
|
|
76
81
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
77
82
|
* @param {*} [options] Override http request option.
|
|
83
|
+
* @deprecated
|
|
78
84
|
* @throws {RequiredError}
|
|
79
85
|
*/
|
|
80
|
-
|
|
86
|
+
getPortPreviewUrlWorkspaceDeprecated: (workspaceId: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
87
|
/**
|
|
82
88
|
*
|
|
83
|
-
* @summary Get workspace details
|
|
89
|
+
* @summary [DEPRECATED] Get workspace details
|
|
84
90
|
* @param {string} workspaceId ID of the workspace
|
|
85
91
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
86
92
|
* @param {boolean} [verbose] Include verbose output
|
|
87
93
|
* @param {*} [options] Override http request option.
|
|
94
|
+
* @deprecated
|
|
88
95
|
* @throws {RequiredError}
|
|
89
96
|
*/
|
|
90
|
-
|
|
97
|
+
getWorkspaceDeprecated: (workspaceId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
98
|
/**
|
|
92
99
|
*
|
|
93
|
-
* @summary List all workspaces
|
|
100
|
+
* @summary [DEPRECATED] List all workspaces
|
|
94
101
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
95
102
|
* @param {boolean} [verbose] Include verbose output
|
|
96
103
|
* @param {string} [labels] JSON encoded labels to filter by
|
|
97
104
|
* @param {*} [options] Override http request option.
|
|
105
|
+
* @deprecated
|
|
98
106
|
* @throws {RequiredError}
|
|
99
107
|
*/
|
|
100
|
-
|
|
108
|
+
listWorkspacesDeprecated: (xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
109
|
/**
|
|
102
110
|
*
|
|
103
|
-
* @summary Replace workspace labels
|
|
111
|
+
* @summary [DEPRECATED] Replace workspace labels
|
|
104
112
|
* @param {string} workspaceId ID of the workspace
|
|
105
|
-
* @param {
|
|
113
|
+
* @param {SandboxLabels} sandboxLabels
|
|
106
114
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
107
115
|
* @param {*} [options] Override http request option.
|
|
116
|
+
* @deprecated
|
|
108
117
|
* @throws {RequiredError}
|
|
109
118
|
*/
|
|
110
|
-
|
|
119
|
+
replaceLabelsWorkspaceDeprecated: (workspaceId: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
120
|
/**
|
|
112
121
|
*
|
|
113
|
-
* @summary Set workspace auto-
|
|
122
|
+
* @summary [DEPRECATED] Set workspace auto-archive interval
|
|
123
|
+
* @param {string} workspaceId ID of the workspace
|
|
124
|
+
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
125
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @deprecated
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
setAutoArchiveIntervalWorkspaceDeprecated: (workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @summary [DEPRECATED] Set workspace auto-stop interval
|
|
114
134
|
* @param {string} workspaceId ID of the workspace
|
|
115
135
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
116
136
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
117
137
|
* @param {*} [options] Override http request option.
|
|
138
|
+
* @deprecated
|
|
118
139
|
* @throws {RequiredError}
|
|
119
140
|
*/
|
|
120
|
-
|
|
141
|
+
setAutostopIntervalWorkspaceDeprecated: (workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
142
|
/**
|
|
122
143
|
*
|
|
123
|
-
* @summary Start workspace
|
|
144
|
+
* @summary [DEPRECATED] Start workspace
|
|
124
145
|
* @param {string} workspaceId ID of the workspace
|
|
125
146
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
126
147
|
* @param {*} [options] Override http request option.
|
|
148
|
+
* @deprecated
|
|
127
149
|
* @throws {RequiredError}
|
|
128
150
|
*/
|
|
129
|
-
|
|
151
|
+
startWorkspaceDeprecated: (workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
130
152
|
/**
|
|
131
153
|
*
|
|
132
|
-
* @summary Stop workspace
|
|
154
|
+
* @summary [DEPRECATED] Stop workspace
|
|
133
155
|
* @param {string} workspaceId ID of the workspace
|
|
134
156
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
135
157
|
* @param {*} [options] Override http request option.
|
|
158
|
+
* @deprecated
|
|
136
159
|
* @throws {RequiredError}
|
|
137
160
|
*/
|
|
138
|
-
|
|
161
|
+
stopWorkspaceDeprecated: (workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
139
162
|
/**
|
|
140
163
|
*
|
|
141
|
-
* @summary Update public status
|
|
164
|
+
* @summary [DEPRECATED] Update public status
|
|
142
165
|
* @param {string} workspaceId ID of the workspace
|
|
143
166
|
* @param {boolean} isPublic Public status to set
|
|
144
167
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
145
168
|
* @param {*} [options] Override http request option.
|
|
169
|
+
* @deprecated
|
|
146
170
|
* @throws {RequiredError}
|
|
147
171
|
*/
|
|
148
|
-
|
|
172
|
+
updatePublicStatusWorkspaceDeprecated: (workspaceId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
149
173
|
};
|
|
150
174
|
/**
|
|
151
175
|
* WorkspaceApi - functional programming interface
|
|
@@ -154,129 +178,153 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
|
|
|
154
178
|
export declare const WorkspaceApiFp: (configuration?: Configuration) => {
|
|
155
179
|
/**
|
|
156
180
|
*
|
|
157
|
-
* @summary Archive workspace
|
|
181
|
+
* @summary [DEPRECATED] Archive workspace
|
|
158
182
|
* @param {string} workspaceId
|
|
159
183
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
160
184
|
* @param {*} [options] Override http request option.
|
|
185
|
+
* @deprecated
|
|
161
186
|
* @throws {RequiredError}
|
|
162
187
|
*/
|
|
163
|
-
|
|
188
|
+
archiveWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
164
189
|
/**
|
|
165
190
|
*
|
|
166
|
-
* @summary Create workspace
|
|
191
|
+
* @summary [DEPRECATED] Create workspace backup
|
|
167
192
|
* @param {string} workspaceId ID of the workspace
|
|
168
193
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
169
194
|
* @param {*} [options] Override http request option.
|
|
195
|
+
* @deprecated
|
|
170
196
|
* @throws {RequiredError}
|
|
171
197
|
*/
|
|
172
|
-
|
|
198
|
+
createBackupWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
173
199
|
/**
|
|
174
200
|
*
|
|
175
|
-
* @summary Create a new workspace
|
|
201
|
+
* @summary [DEPRECATED] Create a new workspace
|
|
176
202
|
* @param {CreateWorkspace} createWorkspace
|
|
177
203
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
178
204
|
* @param {*} [options] Override http request option.
|
|
205
|
+
* @deprecated
|
|
179
206
|
* @throws {RequiredError}
|
|
180
207
|
*/
|
|
181
|
-
|
|
208
|
+
createWorkspaceDeprecated(createWorkspace: CreateWorkspace, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
182
209
|
/**
|
|
183
210
|
*
|
|
184
|
-
* @summary Delete workspace
|
|
211
|
+
* @summary [DEPRECATED] Delete workspace
|
|
185
212
|
* @param {string} workspaceId ID of the workspace
|
|
186
213
|
* @param {boolean} force
|
|
187
214
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
188
215
|
* @param {*} [options] Override http request option.
|
|
216
|
+
* @deprecated
|
|
189
217
|
* @throws {RequiredError}
|
|
190
218
|
*/
|
|
191
|
-
|
|
219
|
+
deleteWorkspaceDeprecated(workspaceId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
192
220
|
/**
|
|
193
221
|
*
|
|
194
|
-
* @summary Get build logs
|
|
222
|
+
* @summary [DEPRECATED] Get build logs
|
|
195
223
|
* @param {string} workspaceId ID of the workspace
|
|
196
224
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
197
225
|
* @param {boolean} [follow] Whether to follow the logs stream
|
|
198
226
|
* @param {*} [options] Override http request option.
|
|
227
|
+
* @deprecated
|
|
199
228
|
* @throws {RequiredError}
|
|
200
229
|
*/
|
|
201
|
-
|
|
230
|
+
getBuildLogsWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
202
231
|
/**
|
|
203
232
|
*
|
|
204
|
-
* @summary Get preview URL for a workspace port
|
|
233
|
+
* @summary [DEPRECATED] Get preview URL for a workspace port
|
|
205
234
|
* @param {string} workspaceId ID of the workspace
|
|
206
235
|
* @param {number} port Port number to get preview URL for
|
|
207
236
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
208
237
|
* @param {*} [options] Override http request option.
|
|
238
|
+
* @deprecated
|
|
209
239
|
* @throws {RequiredError}
|
|
210
240
|
*/
|
|
211
|
-
|
|
241
|
+
getPortPreviewUrlWorkspaceDeprecated(workspaceId: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PortPreviewUrl>>;
|
|
212
242
|
/**
|
|
213
243
|
*
|
|
214
|
-
* @summary Get workspace details
|
|
244
|
+
* @summary [DEPRECATED] Get workspace details
|
|
215
245
|
* @param {string} workspaceId ID of the workspace
|
|
216
246
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
217
247
|
* @param {boolean} [verbose] Include verbose output
|
|
218
248
|
* @param {*} [options] Override http request option.
|
|
249
|
+
* @deprecated
|
|
219
250
|
* @throws {RequiredError}
|
|
220
251
|
*/
|
|
221
|
-
|
|
252
|
+
getWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
|
|
222
253
|
/**
|
|
223
254
|
*
|
|
224
|
-
* @summary List all workspaces
|
|
255
|
+
* @summary [DEPRECATED] List all workspaces
|
|
225
256
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
226
257
|
* @param {boolean} [verbose] Include verbose output
|
|
227
258
|
* @param {string} [labels] JSON encoded labels to filter by
|
|
228
259
|
* @param {*} [options] Override http request option.
|
|
260
|
+
* @deprecated
|
|
229
261
|
* @throws {RequiredError}
|
|
230
262
|
*/
|
|
231
|
-
|
|
263
|
+
listWorkspacesDeprecated(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
|
|
232
264
|
/**
|
|
233
265
|
*
|
|
234
|
-
* @summary Replace workspace labels
|
|
266
|
+
* @summary [DEPRECATED] Replace workspace labels
|
|
235
267
|
* @param {string} workspaceId ID of the workspace
|
|
236
|
-
* @param {
|
|
268
|
+
* @param {SandboxLabels} sandboxLabels
|
|
237
269
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
238
270
|
* @param {*} [options] Override http request option.
|
|
271
|
+
* @deprecated
|
|
239
272
|
* @throws {RequiredError}
|
|
240
273
|
*/
|
|
241
|
-
|
|
274
|
+
replaceLabelsWorkspaceDeprecated(workspaceId: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SandboxLabels>>;
|
|
242
275
|
/**
|
|
243
276
|
*
|
|
244
|
-
* @summary Set workspace auto-
|
|
277
|
+
* @summary [DEPRECATED] Set workspace auto-archive interval
|
|
278
|
+
* @param {string} workspaceId ID of the workspace
|
|
279
|
+
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
280
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @deprecated
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
*/
|
|
285
|
+
setAutoArchiveIntervalWorkspaceDeprecated(workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @summary [DEPRECATED] Set workspace auto-stop interval
|
|
245
289
|
* @param {string} workspaceId ID of the workspace
|
|
246
290
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
247
291
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
248
292
|
* @param {*} [options] Override http request option.
|
|
293
|
+
* @deprecated
|
|
249
294
|
* @throws {RequiredError}
|
|
250
295
|
*/
|
|
251
|
-
|
|
296
|
+
setAutostopIntervalWorkspaceDeprecated(workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
252
297
|
/**
|
|
253
298
|
*
|
|
254
|
-
* @summary Start workspace
|
|
299
|
+
* @summary [DEPRECATED] Start workspace
|
|
255
300
|
* @param {string} workspaceId ID of the workspace
|
|
256
301
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
257
302
|
* @param {*} [options] Override http request option.
|
|
303
|
+
* @deprecated
|
|
258
304
|
* @throws {RequiredError}
|
|
259
305
|
*/
|
|
260
|
-
|
|
306
|
+
startWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
261
307
|
/**
|
|
262
308
|
*
|
|
263
|
-
* @summary Stop workspace
|
|
309
|
+
* @summary [DEPRECATED] Stop workspace
|
|
264
310
|
* @param {string} workspaceId ID of the workspace
|
|
265
311
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
266
312
|
* @param {*} [options] Override http request option.
|
|
313
|
+
* @deprecated
|
|
267
314
|
* @throws {RequiredError}
|
|
268
315
|
*/
|
|
269
|
-
|
|
316
|
+
stopWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
270
317
|
/**
|
|
271
318
|
*
|
|
272
|
-
* @summary Update public status
|
|
319
|
+
* @summary [DEPRECATED] Update public status
|
|
273
320
|
* @param {string} workspaceId ID of the workspace
|
|
274
321
|
* @param {boolean} isPublic Public status to set
|
|
275
322
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
276
323
|
* @param {*} [options] Override http request option.
|
|
324
|
+
* @deprecated
|
|
277
325
|
* @throws {RequiredError}
|
|
278
326
|
*/
|
|
279
|
-
|
|
327
|
+
updatePublicStatusWorkspaceDeprecated(workspaceId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
280
328
|
};
|
|
281
329
|
/**
|
|
282
330
|
* WorkspaceApi - factory interface
|
|
@@ -285,129 +333,153 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
|
|
|
285
333
|
export declare const WorkspaceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
286
334
|
/**
|
|
287
335
|
*
|
|
288
|
-
* @summary Archive workspace
|
|
336
|
+
* @summary [DEPRECATED] Archive workspace
|
|
289
337
|
* @param {string} workspaceId
|
|
290
338
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
291
339
|
* @param {*} [options] Override http request option.
|
|
340
|
+
* @deprecated
|
|
292
341
|
* @throws {RequiredError}
|
|
293
342
|
*/
|
|
294
|
-
|
|
343
|
+
archiveWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
295
344
|
/**
|
|
296
345
|
*
|
|
297
|
-
* @summary Create workspace
|
|
346
|
+
* @summary [DEPRECATED] Create workspace backup
|
|
298
347
|
* @param {string} workspaceId ID of the workspace
|
|
299
348
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
300
349
|
* @param {*} [options] Override http request option.
|
|
350
|
+
* @deprecated
|
|
301
351
|
* @throws {RequiredError}
|
|
302
352
|
*/
|
|
303
|
-
|
|
353
|
+
createBackupWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
304
354
|
/**
|
|
305
355
|
*
|
|
306
|
-
* @summary Create a new workspace
|
|
356
|
+
* @summary [DEPRECATED] Create a new workspace
|
|
307
357
|
* @param {CreateWorkspace} createWorkspace
|
|
308
358
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
309
359
|
* @param {*} [options] Override http request option.
|
|
360
|
+
* @deprecated
|
|
310
361
|
* @throws {RequiredError}
|
|
311
362
|
*/
|
|
312
|
-
|
|
363
|
+
createWorkspaceDeprecated(createWorkspace: CreateWorkspace, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
313
364
|
/**
|
|
314
365
|
*
|
|
315
|
-
* @summary Delete workspace
|
|
366
|
+
* @summary [DEPRECATED] Delete workspace
|
|
316
367
|
* @param {string} workspaceId ID of the workspace
|
|
317
368
|
* @param {boolean} force
|
|
318
369
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
319
370
|
* @param {*} [options] Override http request option.
|
|
371
|
+
* @deprecated
|
|
320
372
|
* @throws {RequiredError}
|
|
321
373
|
*/
|
|
322
|
-
|
|
374
|
+
deleteWorkspaceDeprecated(workspaceId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
323
375
|
/**
|
|
324
376
|
*
|
|
325
|
-
* @summary Get build logs
|
|
377
|
+
* @summary [DEPRECATED] Get build logs
|
|
326
378
|
* @param {string} workspaceId ID of the workspace
|
|
327
379
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
328
380
|
* @param {boolean} [follow] Whether to follow the logs stream
|
|
329
381
|
* @param {*} [options] Override http request option.
|
|
382
|
+
* @deprecated
|
|
330
383
|
* @throws {RequiredError}
|
|
331
384
|
*/
|
|
332
|
-
|
|
385
|
+
getBuildLogsWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
333
386
|
/**
|
|
334
387
|
*
|
|
335
|
-
* @summary Get preview URL for a workspace port
|
|
388
|
+
* @summary [DEPRECATED] Get preview URL for a workspace port
|
|
336
389
|
* @param {string} workspaceId ID of the workspace
|
|
337
390
|
* @param {number} port Port number to get preview URL for
|
|
338
391
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
339
392
|
* @param {*} [options] Override http request option.
|
|
393
|
+
* @deprecated
|
|
340
394
|
* @throws {RequiredError}
|
|
341
395
|
*/
|
|
342
|
-
|
|
396
|
+
getPortPreviewUrlWorkspaceDeprecated(workspaceId: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<PortPreviewUrl>;
|
|
343
397
|
/**
|
|
344
398
|
*
|
|
345
|
-
* @summary Get workspace details
|
|
399
|
+
* @summary [DEPRECATED] Get workspace details
|
|
346
400
|
* @param {string} workspaceId ID of the workspace
|
|
347
401
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
348
402
|
* @param {boolean} [verbose] Include verbose output
|
|
349
403
|
* @param {*} [options] Override http request option.
|
|
404
|
+
* @deprecated
|
|
350
405
|
* @throws {RequiredError}
|
|
351
406
|
*/
|
|
352
|
-
|
|
407
|
+
getWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
|
|
353
408
|
/**
|
|
354
409
|
*
|
|
355
|
-
* @summary List all workspaces
|
|
410
|
+
* @summary [DEPRECATED] List all workspaces
|
|
356
411
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
357
412
|
* @param {boolean} [verbose] Include verbose output
|
|
358
413
|
* @param {string} [labels] JSON encoded labels to filter by
|
|
359
414
|
* @param {*} [options] Override http request option.
|
|
415
|
+
* @deprecated
|
|
360
416
|
* @throws {RequiredError}
|
|
361
417
|
*/
|
|
362
|
-
|
|
418
|
+
listWorkspacesDeprecated(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
|
|
363
419
|
/**
|
|
364
420
|
*
|
|
365
|
-
* @summary Replace workspace labels
|
|
421
|
+
* @summary [DEPRECATED] Replace workspace labels
|
|
366
422
|
* @param {string} workspaceId ID of the workspace
|
|
367
|
-
* @param {
|
|
423
|
+
* @param {SandboxLabels} sandboxLabels
|
|
368
424
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
369
425
|
* @param {*} [options] Override http request option.
|
|
426
|
+
* @deprecated
|
|
370
427
|
* @throws {RequiredError}
|
|
371
428
|
*/
|
|
372
|
-
|
|
429
|
+
replaceLabelsWorkspaceDeprecated(workspaceId: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<SandboxLabels>;
|
|
373
430
|
/**
|
|
374
431
|
*
|
|
375
|
-
* @summary Set workspace auto-
|
|
432
|
+
* @summary [DEPRECATED] Set workspace auto-archive interval
|
|
433
|
+
* @param {string} workspaceId ID of the workspace
|
|
434
|
+
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
435
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @deprecated
|
|
438
|
+
* @throws {RequiredError}
|
|
439
|
+
*/
|
|
440
|
+
setAutoArchiveIntervalWorkspaceDeprecated(workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
441
|
+
/**
|
|
442
|
+
*
|
|
443
|
+
* @summary [DEPRECATED] Set workspace auto-stop interval
|
|
376
444
|
* @param {string} workspaceId ID of the workspace
|
|
377
445
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
378
446
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
379
447
|
* @param {*} [options] Override http request option.
|
|
448
|
+
* @deprecated
|
|
380
449
|
* @throws {RequiredError}
|
|
381
450
|
*/
|
|
382
|
-
|
|
451
|
+
setAutostopIntervalWorkspaceDeprecated(workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
383
452
|
/**
|
|
384
453
|
*
|
|
385
|
-
* @summary Start workspace
|
|
454
|
+
* @summary [DEPRECATED] Start workspace
|
|
386
455
|
* @param {string} workspaceId ID of the workspace
|
|
387
456
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
388
457
|
* @param {*} [options] Override http request option.
|
|
458
|
+
* @deprecated
|
|
389
459
|
* @throws {RequiredError}
|
|
390
460
|
*/
|
|
391
|
-
|
|
461
|
+
startWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
392
462
|
/**
|
|
393
463
|
*
|
|
394
|
-
* @summary Stop workspace
|
|
464
|
+
* @summary [DEPRECATED] Stop workspace
|
|
395
465
|
* @param {string} workspaceId ID of the workspace
|
|
396
466
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
397
467
|
* @param {*} [options] Override http request option.
|
|
468
|
+
* @deprecated
|
|
398
469
|
* @throws {RequiredError}
|
|
399
470
|
*/
|
|
400
|
-
|
|
471
|
+
stopWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
401
472
|
/**
|
|
402
473
|
*
|
|
403
|
-
* @summary Update public status
|
|
474
|
+
* @summary [DEPRECATED] Update public status
|
|
404
475
|
* @param {string} workspaceId ID of the workspace
|
|
405
476
|
* @param {boolean} isPublic Public status to set
|
|
406
477
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
407
478
|
* @param {*} [options] Override http request option.
|
|
479
|
+
* @deprecated
|
|
408
480
|
* @throws {RequiredError}
|
|
409
481
|
*/
|
|
410
|
-
|
|
482
|
+
updatePublicStatusWorkspaceDeprecated(workspaceId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
411
483
|
};
|
|
412
484
|
/**
|
|
413
485
|
* WorkspaceApi - object-oriented interface
|
|
@@ -418,140 +490,165 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
|
|
|
418
490
|
export declare class WorkspaceApi extends BaseAPI {
|
|
419
491
|
/**
|
|
420
492
|
*
|
|
421
|
-
* @summary Archive workspace
|
|
493
|
+
* @summary [DEPRECATED] Archive workspace
|
|
422
494
|
* @param {string} workspaceId
|
|
423
495
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
424
496
|
* @param {*} [options] Override http request option.
|
|
497
|
+
* @deprecated
|
|
425
498
|
* @throws {RequiredError}
|
|
426
499
|
* @memberof WorkspaceApi
|
|
427
500
|
*/
|
|
428
|
-
|
|
501
|
+
archiveWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
429
502
|
/**
|
|
430
503
|
*
|
|
431
|
-
* @summary Create workspace
|
|
504
|
+
* @summary [DEPRECATED] Create workspace backup
|
|
432
505
|
* @param {string} workspaceId ID of the workspace
|
|
433
506
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
434
507
|
* @param {*} [options] Override http request option.
|
|
508
|
+
* @deprecated
|
|
435
509
|
* @throws {RequiredError}
|
|
436
510
|
* @memberof WorkspaceApi
|
|
437
511
|
*/
|
|
438
|
-
|
|
512
|
+
createBackupWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
|
|
439
513
|
/**
|
|
440
514
|
*
|
|
441
|
-
* @summary Create a new workspace
|
|
515
|
+
* @summary [DEPRECATED] Create a new workspace
|
|
442
516
|
* @param {CreateWorkspace} createWorkspace
|
|
443
517
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
444
518
|
* @param {*} [options] Override http request option.
|
|
519
|
+
* @deprecated
|
|
445
520
|
* @throws {RequiredError}
|
|
446
521
|
* @memberof WorkspaceApi
|
|
447
522
|
*/
|
|
448
|
-
|
|
523
|
+
createWorkspaceDeprecated(createWorkspace: CreateWorkspace, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
|
|
449
524
|
/**
|
|
450
525
|
*
|
|
451
|
-
* @summary Delete workspace
|
|
526
|
+
* @summary [DEPRECATED] Delete workspace
|
|
452
527
|
* @param {string} workspaceId ID of the workspace
|
|
453
528
|
* @param {boolean} force
|
|
454
529
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
455
530
|
* @param {*} [options] Override http request option.
|
|
531
|
+
* @deprecated
|
|
456
532
|
* @throws {RequiredError}
|
|
457
533
|
* @memberof WorkspaceApi
|
|
458
534
|
*/
|
|
459
|
-
|
|
535
|
+
deleteWorkspaceDeprecated(workspaceId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
460
536
|
/**
|
|
461
537
|
*
|
|
462
|
-
* @summary Get build logs
|
|
538
|
+
* @summary [DEPRECATED] Get build logs
|
|
463
539
|
* @param {string} workspaceId ID of the workspace
|
|
464
540
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
465
541
|
* @param {boolean} [follow] Whether to follow the logs stream
|
|
466
542
|
* @param {*} [options] Override http request option.
|
|
543
|
+
* @deprecated
|
|
467
544
|
* @throws {RequiredError}
|
|
468
545
|
* @memberof WorkspaceApi
|
|
469
546
|
*/
|
|
470
|
-
|
|
547
|
+
getBuildLogsWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, follow?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
471
548
|
/**
|
|
472
549
|
*
|
|
473
|
-
* @summary Get preview URL for a workspace port
|
|
550
|
+
* @summary [DEPRECATED] Get preview URL for a workspace port
|
|
474
551
|
* @param {string} workspaceId ID of the workspace
|
|
475
552
|
* @param {number} port Port number to get preview URL for
|
|
476
553
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
477
554
|
* @param {*} [options] Override http request option.
|
|
555
|
+
* @deprecated
|
|
478
556
|
* @throws {RequiredError}
|
|
479
557
|
* @memberof WorkspaceApi
|
|
480
558
|
*/
|
|
481
|
-
|
|
559
|
+
getPortPreviewUrlWorkspaceDeprecated(workspaceId: string, port: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PortPreviewUrl, any>>;
|
|
482
560
|
/**
|
|
483
561
|
*
|
|
484
|
-
* @summary Get workspace details
|
|
562
|
+
* @summary [DEPRECATED] Get workspace details
|
|
485
563
|
* @param {string} workspaceId ID of the workspace
|
|
486
564
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
487
565
|
* @param {boolean} [verbose] Include verbose output
|
|
488
566
|
* @param {*} [options] Override http request option.
|
|
567
|
+
* @deprecated
|
|
489
568
|
* @throws {RequiredError}
|
|
490
569
|
* @memberof WorkspaceApi
|
|
491
570
|
*/
|
|
492
|
-
|
|
571
|
+
getWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
|
|
493
572
|
/**
|
|
494
573
|
*
|
|
495
|
-
* @summary List all workspaces
|
|
574
|
+
* @summary [DEPRECATED] List all workspaces
|
|
496
575
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
497
576
|
* @param {boolean} [verbose] Include verbose output
|
|
498
577
|
* @param {string} [labels] JSON encoded labels to filter by
|
|
499
578
|
* @param {*} [options] Override http request option.
|
|
579
|
+
* @deprecated
|
|
580
|
+
* @throws {RequiredError}
|
|
581
|
+
* @memberof WorkspaceApi
|
|
582
|
+
*/
|
|
583
|
+
listWorkspacesDeprecated(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any>>;
|
|
584
|
+
/**
|
|
585
|
+
*
|
|
586
|
+
* @summary [DEPRECATED] Replace workspace labels
|
|
587
|
+
* @param {string} workspaceId ID of the workspace
|
|
588
|
+
* @param {SandboxLabels} sandboxLabels
|
|
589
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
590
|
+
* @param {*} [options] Override http request option.
|
|
591
|
+
* @deprecated
|
|
500
592
|
* @throws {RequiredError}
|
|
501
593
|
* @memberof WorkspaceApi
|
|
502
594
|
*/
|
|
503
|
-
|
|
595
|
+
replaceLabelsWorkspaceDeprecated(workspaceId: string, sandboxLabels: SandboxLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SandboxLabels, any>>;
|
|
504
596
|
/**
|
|
505
597
|
*
|
|
506
|
-
* @summary
|
|
598
|
+
* @summary [DEPRECATED] Set workspace auto-archive interval
|
|
507
599
|
* @param {string} workspaceId ID of the workspace
|
|
508
|
-
* @param {
|
|
600
|
+
* @param {number} interval Auto-archive interval in minutes (0 means the maximum interval will be used)
|
|
509
601
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
510
602
|
* @param {*} [options] Override http request option.
|
|
603
|
+
* @deprecated
|
|
511
604
|
* @throws {RequiredError}
|
|
512
605
|
* @memberof WorkspaceApi
|
|
513
606
|
*/
|
|
514
|
-
|
|
607
|
+
setAutoArchiveIntervalWorkspaceDeprecated(workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
515
608
|
/**
|
|
516
609
|
*
|
|
517
|
-
* @summary Set workspace auto-stop interval
|
|
610
|
+
* @summary [DEPRECATED] Set workspace auto-stop interval
|
|
518
611
|
* @param {string} workspaceId ID of the workspace
|
|
519
612
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
520
613
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
521
614
|
* @param {*} [options] Override http request option.
|
|
615
|
+
* @deprecated
|
|
522
616
|
* @throws {RequiredError}
|
|
523
617
|
* @memberof WorkspaceApi
|
|
524
618
|
*/
|
|
525
|
-
|
|
619
|
+
setAutostopIntervalWorkspaceDeprecated(workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
526
620
|
/**
|
|
527
621
|
*
|
|
528
|
-
* @summary Start workspace
|
|
622
|
+
* @summary [DEPRECATED] Start workspace
|
|
529
623
|
* @param {string} workspaceId ID of the workspace
|
|
530
624
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
531
625
|
* @param {*} [options] Override http request option.
|
|
626
|
+
* @deprecated
|
|
532
627
|
* @throws {RequiredError}
|
|
533
628
|
* @memberof WorkspaceApi
|
|
534
629
|
*/
|
|
535
|
-
|
|
630
|
+
startWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
536
631
|
/**
|
|
537
632
|
*
|
|
538
|
-
* @summary Stop workspace
|
|
633
|
+
* @summary [DEPRECATED] Stop workspace
|
|
539
634
|
* @param {string} workspaceId ID of the workspace
|
|
540
635
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
541
636
|
* @param {*} [options] Override http request option.
|
|
637
|
+
* @deprecated
|
|
542
638
|
* @throws {RequiredError}
|
|
543
639
|
* @memberof WorkspaceApi
|
|
544
640
|
*/
|
|
545
|
-
|
|
641
|
+
stopWorkspaceDeprecated(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
546
642
|
/**
|
|
547
643
|
*
|
|
548
|
-
* @summary Update public status
|
|
644
|
+
* @summary [DEPRECATED] Update public status
|
|
549
645
|
* @param {string} workspaceId ID of the workspace
|
|
550
646
|
* @param {boolean} isPublic Public status to set
|
|
551
647
|
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
552
648
|
* @param {*} [options] Override http request option.
|
|
649
|
+
* @deprecated
|
|
553
650
|
* @throws {RequiredError}
|
|
554
651
|
* @memberof WorkspaceApi
|
|
555
652
|
*/
|
|
556
|
-
|
|
653
|
+
updatePublicStatusWorkspaceDeprecated(workspaceId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
557
654
|
}
|