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