@daytonaio/api-client 0.13.0 → 0.15.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/.openapi-generator/FILES +19 -0
- package/README.md +2 -2
- package/api/api-keys-api.ts +60 -28
- package/api/docker-registry-api.ts +182 -58
- package/api/images-api.ts +60 -28
- package/api/organizations-api.ts +1858 -0
- package/api/toolbox-api.ts +548 -252
- package/api/users-api.ts +14 -14
- package/api/workspace-api.ts +334 -161
- package/api.ts +1 -0
- package/dist/api/api-keys-api.d.ts +32 -16
- package/dist/api/api-keys-api.js +56 -28
- package/dist/api/docker-registry-api.d.ts +98 -40
- package/dist/api/docker-registry-api.js +169 -58
- package/dist/api/images-api.d.ts +32 -16
- package/dist/api/images-api.js +56 -28
- package/dist/api/organizations-api.d.ts +856 -0
- package/dist/api/organizations-api.js +1741 -0
- package/dist/api/toolbox-api.d.ts +292 -144
- package/dist/api/toolbox-api.js +511 -252
- package/dist/api/users-api.d.ts +9 -9
- package/dist/api/users-api.js +13 -13
- package/dist/api/workspace-api.d.ts +182 -97
- package/dist/api/workspace-api.js +319 -162
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/api-keys-api.d.ts +32 -16
- package/dist/esm/api/api-keys-api.js +56 -28
- package/dist/esm/api/docker-registry-api.d.ts +98 -40
- package/dist/esm/api/docker-registry-api.js +169 -58
- package/dist/esm/api/images-api.d.ts +32 -16
- package/dist/esm/api/images-api.js +56 -28
- package/dist/esm/api/organizations-api.d.ts +856 -0
- package/dist/esm/api/organizations-api.js +1734 -0
- package/dist/esm/api/toolbox-api.d.ts +292 -144
- package/dist/esm/api/toolbox-api.js +511 -252
- package/dist/esm/api/users-api.d.ts +9 -9
- package/dist/esm/api/users-api.js +13 -13
- package/dist/esm/api/workspace-api.d.ts +182 -97
- package/dist/esm/api/workspace-api.js +319 -162
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/api-key-list.d.ts +15 -0
- package/dist/esm/models/api-key-list.js +8 -1
- package/dist/esm/models/api-key-response.d.ts +15 -0
- package/dist/esm/models/api-key-response.js +8 -1
- package/dist/esm/models/create-api-key.d.ts +15 -0
- package/dist/esm/models/create-api-key.js +8 -1
- package/dist/esm/models/create-docker-registry.d.ts +19 -0
- package/dist/esm/models/create-docker-registry.js +6 -1
- package/dist/esm/models/create-node.d.ts +72 -0
- package/dist/esm/models/create-node.js +10 -1
- package/dist/esm/models/create-organization-invitation.d.ts +47 -0
- package/dist/esm/models/create-organization-invitation.js +17 -0
- package/dist/esm/models/create-organization-quota.d.ts +84 -0
- package/dist/esm/models/create-organization-quota.js +14 -0
- package/dist/esm/models/create-organization-role.d.ts +45 -0
- package/dist/esm/models/create-organization-role.js +21 -0
- package/dist/esm/models/create-organization.d.ts +90 -0
- package/dist/esm/models/create-organization.js +14 -0
- package/dist/esm/models/create-user.d.ts +13 -0
- package/dist/esm/models/create-workspace.d.ts +6 -6
- package/dist/esm/models/create-workspace.js +6 -6
- package/dist/esm/models/docker-registry.d.ts +13 -0
- package/dist/esm/models/docker-registry.js +6 -1
- package/dist/esm/models/image-dto.d.ts +4 -12
- package/dist/esm/models/image-dto.js +1 -8
- package/dist/esm/models/image-state.d.ts +26 -0
- package/dist/esm/models/image-state.js +27 -0
- package/dist/esm/models/index.d.ts +18 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/organization-invitation.d.ts +91 -0
- package/dist/esm/models/organization-invitation.js +23 -0
- package/dist/esm/models/organization-role.d.ts +69 -0
- package/dist/esm/models/organization-role.js +21 -0
- package/dist/esm/models/organization-user.d.ts +72 -0
- package/dist/esm/models/organization-user.js +17 -0
- package/dist/esm/models/organization.d.ts +54 -0
- package/dist/esm/models/organization.js +14 -0
- package/dist/esm/models/registry-push-access-dto.d.ts +54 -0
- package/dist/esm/models/registry-push-access-dto.js +14 -0
- package/dist/esm/models/update-assigned-organization-roles.d.ts +24 -0
- package/dist/esm/models/update-assigned-organization-roles.js +14 -0
- package/dist/esm/models/update-organization-invitation.d.ts +41 -0
- package/dist/esm/models/update-organization-invitation.js +17 -0
- package/dist/esm/models/update-organization-member-role.d.ts +29 -0
- package/dist/esm/models/update-organization-member-role.js +17 -0
- package/dist/esm/models/update-organization-quota.d.ts +84 -0
- package/dist/esm/models/update-organization-quota.js +14 -0
- package/dist/esm/models/update-organization-role.d.ts +45 -0
- package/dist/esm/models/update-organization-role.js +21 -0
- package/dist/esm/models/user-public-key.d.ts +30 -0
- package/dist/esm/models/user-public-key.js +14 -0
- package/dist/esm/models/user.d.ts +43 -0
- package/dist/esm/models/user.js +14 -0
- package/dist/esm/models/workspace-state.d.ts +33 -0
- package/dist/esm/models/workspace-state.js +34 -0
- package/dist/esm/models/workspace.d.ts +12 -3
- package/dist/esm/models/workspace.js +7 -1
- package/dist/models/api-key-list.d.ts +15 -0
- package/dist/models/api-key-list.js +9 -0
- package/dist/models/api-key-response.d.ts +15 -0
- package/dist/models/api-key-response.js +9 -0
- package/dist/models/create-api-key.d.ts +15 -0
- package/dist/models/create-api-key.js +9 -0
- package/dist/models/create-docker-registry.d.ts +19 -0
- package/dist/models/create-docker-registry.js +7 -0
- package/dist/models/create-node.d.ts +72 -0
- package/dist/models/create-node.js +11 -0
- package/dist/models/create-organization-invitation.d.ts +47 -0
- package/dist/models/create-organization-invitation.js +20 -0
- package/dist/models/create-organization-quota.d.ts +84 -0
- package/dist/models/create-organization-quota.js +15 -0
- package/dist/models/create-organization-role.d.ts +45 -0
- package/dist/models/create-organization-role.js +24 -0
- package/dist/models/create-organization.d.ts +90 -0
- package/dist/models/create-organization.js +15 -0
- package/dist/models/create-user.d.ts +13 -0
- package/dist/models/create-workspace.d.ts +6 -6
- package/dist/models/create-workspace.js +6 -6
- package/dist/models/docker-registry.d.ts +13 -0
- package/dist/models/docker-registry.js +7 -0
- package/dist/models/image-dto.d.ts +4 -12
- package/dist/models/image-dto.js +0 -9
- package/dist/models/image-state.d.ts +26 -0
- package/dist/models/image-state.js +30 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/models/organization-invitation.d.ts +91 -0
- package/dist/models/organization-invitation.js +26 -0
- package/dist/models/organization-role.d.ts +69 -0
- package/dist/models/organization-role.js +24 -0
- package/dist/models/organization-user.d.ts +72 -0
- package/dist/models/organization-user.js +20 -0
- package/dist/models/organization.d.ts +54 -0
- package/dist/models/organization.js +15 -0
- package/dist/models/registry-push-access-dto.d.ts +54 -0
- package/dist/models/registry-push-access-dto.js +15 -0
- package/dist/models/update-assigned-organization-roles.d.ts +24 -0
- package/dist/models/update-assigned-organization-roles.js +15 -0
- package/dist/models/update-organization-invitation.d.ts +41 -0
- package/dist/models/update-organization-invitation.js +20 -0
- package/dist/models/update-organization-member-role.d.ts +29 -0
- package/dist/models/update-organization-member-role.js +20 -0
- package/dist/models/update-organization-quota.d.ts +84 -0
- package/dist/models/update-organization-quota.js +15 -0
- package/dist/models/update-organization-role.d.ts +45 -0
- package/dist/models/update-organization-role.js +24 -0
- package/dist/models/user-public-key.d.ts +30 -0
- package/dist/models/user-public-key.js +15 -0
- package/dist/models/user.d.ts +43 -0
- package/dist/models/user.js +15 -0
- package/dist/models/workspace-state.d.ts +33 -0
- package/dist/models/workspace-state.js +37 -0
- package/dist/models/workspace.d.ts +12 -3
- package/dist/models/workspace.js +8 -0
- package/models/api-key-list.ts +18 -0
- package/models/api-key-response.ts +18 -0
- package/models/create-api-key.ts +18 -0
- package/models/create-docker-registry.ts +22 -0
- package/models/create-node.ts +76 -0
- package/models/create-organization-invitation.ts +56 -0
- package/models/create-organization-quota.ts +90 -0
- package/models/create-organization-role.ts +54 -0
- package/models/create-organization.ts +96 -0
- package/models/create-user.ts +15 -0
- package/models/create-workspace.ts +6 -6
- package/models/docker-registry.ts +16 -0
- package/models/image-dto.ts +6 -13
- package/models/image-state.ts +36 -0
- package/models/index.ts +18 -0
- package/models/organization-invitation.ts +103 -0
- package/models/organization-role.ts +78 -0
- package/models/organization-user.ts +83 -0
- package/models/organization.ts +60 -0
- package/models/registry-push-access-dto.ts +60 -0
- package/models/update-assigned-organization-roles.ts +30 -0
- package/models/update-organization-invitation.ts +50 -0
- package/models/update-organization-member-role.ts +38 -0
- package/models/update-organization-quota.ts +90 -0
- package/models/update-organization-role.ts +54 -0
- package/models/user-public-key.ts +36 -0
- package/models/user.ts +51 -0
- package/models/workspace-state.ts +43 -0
- package/models/workspace.ts +17 -3
- package/package.json +1 -1
|
@@ -22,97 +22,118 @@ import type { WorkspaceLabels } from '../models';
|
|
|
22
22
|
export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
|
-
* @summary
|
|
25
|
+
* @summary Archive workspace
|
|
26
26
|
* @param {string} workspaceId
|
|
27
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
27
28
|
* @param {*} [options] Override http request option.
|
|
28
29
|
* @throws {RequiredError}
|
|
29
30
|
*/
|
|
30
|
-
|
|
31
|
+
archiveWorkspace: (workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Create workspace snapshot
|
|
35
|
+
* @param {string} workspaceId ID of the workspace
|
|
36
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
createSnapshot: (workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
41
|
/**
|
|
32
42
|
*
|
|
33
43
|
* @summary Create a new workspace
|
|
34
44
|
* @param {CreateWorkspace} createWorkspace
|
|
45
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
35
46
|
* @param {*} [options] Override http request option.
|
|
36
47
|
* @throws {RequiredError}
|
|
37
48
|
*/
|
|
38
|
-
createWorkspace: (createWorkspace: CreateWorkspace, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
createWorkspace: (createWorkspace: CreateWorkspace, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
50
|
/**
|
|
40
51
|
*
|
|
41
52
|
* @summary Delete workspace
|
|
42
|
-
* @param {string} workspaceId
|
|
53
|
+
* @param {string} workspaceId ID of the workspace
|
|
43
54
|
* @param {boolean} force
|
|
55
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
44
56
|
* @param {*} [options] Override http request option.
|
|
45
57
|
* @throws {RequiredError}
|
|
46
58
|
*/
|
|
47
|
-
deleteWorkspace: (workspaceId: string, force: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
+
deleteWorkspace: (workspaceId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
60
|
/**
|
|
49
61
|
*
|
|
50
62
|
* @summary Get workspace details
|
|
51
|
-
* @param {string} workspaceId
|
|
63
|
+
* @param {string} workspaceId ID of the workspace
|
|
64
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
52
65
|
* @param {boolean} [verbose] Include verbose output
|
|
53
66
|
* @param {*} [options] Override http request option.
|
|
54
67
|
* @throws {RequiredError}
|
|
55
68
|
*/
|
|
56
|
-
getWorkspace: (workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
getWorkspace: (workspaceId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
70
|
/**
|
|
58
71
|
*
|
|
59
72
|
* @summary List all workspaces
|
|
73
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
60
74
|
* @param {boolean} [verbose] Include verbose output
|
|
61
75
|
* @param {*} [options] Override http request option.
|
|
62
76
|
* @throws {RequiredError}
|
|
63
77
|
*/
|
|
64
|
-
listWorkspaces: (verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
listWorkspaces: (xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
79
|
/**
|
|
66
80
|
*
|
|
67
81
|
* @summary Replace workspace labels
|
|
68
|
-
* @param {string} workspaceId
|
|
82
|
+
* @param {string} workspaceId ID of the workspace
|
|
69
83
|
* @param {WorkspaceLabels} workspaceLabels
|
|
84
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
70
85
|
* @param {*} [options] Override http request option.
|
|
71
86
|
* @throws {RequiredError}
|
|
72
87
|
*/
|
|
73
|
-
replaceLabels: (workspaceId: string, workspaceLabels: WorkspaceLabels, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
+
replaceLabels: (workspaceId: string, workspaceLabels: WorkspaceLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @summary Resize workspace
|
|
92
|
+
* @param {string} workspaceId ID of the workspace
|
|
93
|
+
* @param {object} body
|
|
94
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
resizeWorkspace: (workspaceId: string, body: object, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
99
|
/**
|
|
75
100
|
*
|
|
76
101
|
* @summary Set workspace auto-stop interval
|
|
77
102
|
* @param {string} workspaceId ID of the workspace
|
|
78
103
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
104
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
79
105
|
* @param {*} [options] Override http request option.
|
|
80
106
|
* @throws {RequiredError}
|
|
81
107
|
*/
|
|
82
|
-
setAutostopInterval: (workspaceId: string, interval: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
|
+
setAutostopInterval: (workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
109
|
/**
|
|
84
110
|
*
|
|
85
111
|
* @summary Start workspace
|
|
86
|
-
* @param {string} workspaceId
|
|
112
|
+
* @param {string} workspaceId ID of the workspace
|
|
113
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
87
114
|
* @param {*} [options] Override http request option.
|
|
88
115
|
* @throws {RequiredError}
|
|
89
116
|
*/
|
|
90
|
-
startWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
117
|
+
startWorkspace: (workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
118
|
/**
|
|
92
119
|
*
|
|
93
120
|
* @summary Stop workspace
|
|
94
|
-
* @param {string} workspaceId
|
|
121
|
+
* @param {string} workspaceId ID of the workspace
|
|
122
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
95
123
|
* @param {*} [options] Override http request option.
|
|
96
124
|
* @throws {RequiredError}
|
|
97
125
|
*/
|
|
98
|
-
stopWorkspace: (workspaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
126
|
+
stopWorkspace: (workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
99
127
|
/**
|
|
100
128
|
*
|
|
101
129
|
* @summary Update public status
|
|
102
130
|
* @param {string} workspaceId ID of the workspace
|
|
103
131
|
* @param {boolean} isPublic Public status to set
|
|
132
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
104
133
|
* @param {*} [options] Override http request option.
|
|
105
134
|
* @throws {RequiredError}
|
|
106
135
|
*/
|
|
107
|
-
updatePublicStatus: (workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @param {string} workspaceId
|
|
111
|
-
* @param {object} body
|
|
112
|
-
* @param {*} [options] Override http request option.
|
|
113
|
-
* @throws {RequiredError}
|
|
114
|
-
*/
|
|
115
|
-
workspaceControllerResizeWorkspace: (workspaceId: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
136
|
+
updatePublicStatus: (workspaceId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
116
137
|
};
|
|
117
138
|
/**
|
|
118
139
|
* WorkspaceApi - functional programming interface
|
|
@@ -121,97 +142,118 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
|
|
|
121
142
|
export declare const WorkspaceApiFp: (configuration?: Configuration) => {
|
|
122
143
|
/**
|
|
123
144
|
*
|
|
124
|
-
* @summary
|
|
145
|
+
* @summary Archive workspace
|
|
125
146
|
* @param {string} workspaceId
|
|
147
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
126
148
|
* @param {*} [options] Override http request option.
|
|
127
149
|
* @throws {RequiredError}
|
|
128
150
|
*/
|
|
129
|
-
|
|
151
|
+
archiveWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @summary Create workspace snapshot
|
|
155
|
+
* @param {string} workspaceId ID of the workspace
|
|
156
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
createSnapshot(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
130
161
|
/**
|
|
131
162
|
*
|
|
132
163
|
* @summary Create a new workspace
|
|
133
164
|
* @param {CreateWorkspace} createWorkspace
|
|
165
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
134
166
|
* @param {*} [options] Override http request option.
|
|
135
167
|
* @throws {RequiredError}
|
|
136
168
|
*/
|
|
137
|
-
createWorkspace(createWorkspace: CreateWorkspace, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
169
|
+
createWorkspace(createWorkspace: CreateWorkspace, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
138
170
|
/**
|
|
139
171
|
*
|
|
140
172
|
* @summary Delete workspace
|
|
141
|
-
* @param {string} workspaceId
|
|
173
|
+
* @param {string} workspaceId ID of the workspace
|
|
142
174
|
* @param {boolean} force
|
|
175
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
143
176
|
* @param {*} [options] Override http request option.
|
|
144
177
|
* @throws {RequiredError}
|
|
145
178
|
*/
|
|
146
|
-
deleteWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
179
|
+
deleteWorkspace(workspaceId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
147
180
|
/**
|
|
148
181
|
*
|
|
149
182
|
* @summary Get workspace details
|
|
150
|
-
* @param {string} workspaceId
|
|
183
|
+
* @param {string} workspaceId ID of the workspace
|
|
184
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
151
185
|
* @param {boolean} [verbose] Include verbose output
|
|
152
186
|
* @param {*} [options] Override http request option.
|
|
153
187
|
* @throws {RequiredError}
|
|
154
188
|
*/
|
|
155
|
-
getWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
189
|
+
getWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
|
|
156
190
|
/**
|
|
157
191
|
*
|
|
158
192
|
* @summary List all workspaces
|
|
193
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
159
194
|
* @param {boolean} [verbose] Include verbose output
|
|
160
195
|
* @param {*} [options] Override http request option.
|
|
161
196
|
* @throws {RequiredError}
|
|
162
197
|
*/
|
|
163
|
-
listWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Workspace>>>;
|
|
198
|
+
listWorkspaces(xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Workspace>>>;
|
|
164
199
|
/**
|
|
165
200
|
*
|
|
166
201
|
* @summary Replace workspace labels
|
|
167
|
-
* @param {string} workspaceId
|
|
202
|
+
* @param {string} workspaceId ID of the workspace
|
|
168
203
|
* @param {WorkspaceLabels} workspaceLabels
|
|
204
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
169
205
|
* @param {*} [options] Override http request option.
|
|
170
206
|
* @throws {RequiredError}
|
|
171
207
|
*/
|
|
172
|
-
replaceLabels(workspaceId: string, workspaceLabels: WorkspaceLabels, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceLabels>>;
|
|
208
|
+
replaceLabels(workspaceId: string, workspaceLabels: WorkspaceLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceLabels>>;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @summary Resize workspace
|
|
212
|
+
* @param {string} workspaceId ID of the workspace
|
|
213
|
+
* @param {object} body
|
|
214
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
resizeWorkspace(workspaceId: string, body: object, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
173
219
|
/**
|
|
174
220
|
*
|
|
175
221
|
* @summary Set workspace auto-stop interval
|
|
176
222
|
* @param {string} workspaceId ID of the workspace
|
|
177
223
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
224
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
178
225
|
* @param {*} [options] Override http request option.
|
|
179
226
|
* @throws {RequiredError}
|
|
180
227
|
*/
|
|
181
|
-
setAutostopInterval(workspaceId: string, interval: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
228
|
+
setAutostopInterval(workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
182
229
|
/**
|
|
183
230
|
*
|
|
184
231
|
* @summary Start workspace
|
|
185
|
-
* @param {string} workspaceId
|
|
232
|
+
* @param {string} workspaceId ID of the workspace
|
|
233
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
186
234
|
* @param {*} [options] Override http request option.
|
|
187
235
|
* @throws {RequiredError}
|
|
188
236
|
*/
|
|
189
|
-
startWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
237
|
+
startWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
190
238
|
/**
|
|
191
239
|
*
|
|
192
240
|
* @summary Stop workspace
|
|
193
|
-
* @param {string} workspaceId
|
|
241
|
+
* @param {string} workspaceId ID of the workspace
|
|
242
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
194
243
|
* @param {*} [options] Override http request option.
|
|
195
244
|
* @throws {RequiredError}
|
|
196
245
|
*/
|
|
197
|
-
stopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
246
|
+
stopWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
198
247
|
/**
|
|
199
248
|
*
|
|
200
249
|
* @summary Update public status
|
|
201
250
|
* @param {string} workspaceId ID of the workspace
|
|
202
251
|
* @param {boolean} isPublic Public status to set
|
|
252
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
203
253
|
* @param {*} [options] Override http request option.
|
|
204
254
|
* @throws {RequiredError}
|
|
205
255
|
*/
|
|
206
|
-
updatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
207
|
-
/**
|
|
208
|
-
*
|
|
209
|
-
* @param {string} workspaceId
|
|
210
|
-
* @param {object} body
|
|
211
|
-
* @param {*} [options] Override http request option.
|
|
212
|
-
* @throws {RequiredError}
|
|
213
|
-
*/
|
|
214
|
-
workspaceControllerResizeWorkspace(workspaceId: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
256
|
+
updatePublicStatus(workspaceId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
215
257
|
};
|
|
216
258
|
/**
|
|
217
259
|
* WorkspaceApi - factory interface
|
|
@@ -220,97 +262,118 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
|
|
|
220
262
|
export declare const WorkspaceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
221
263
|
/**
|
|
222
264
|
*
|
|
223
|
-
* @summary
|
|
265
|
+
* @summary Archive workspace
|
|
224
266
|
* @param {string} workspaceId
|
|
267
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
225
268
|
* @param {*} [options] Override http request option.
|
|
226
269
|
* @throws {RequiredError}
|
|
227
270
|
*/
|
|
228
|
-
|
|
271
|
+
archiveWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @summary Create workspace snapshot
|
|
275
|
+
* @param {string} workspaceId ID of the workspace
|
|
276
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
createSnapshot(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
229
281
|
/**
|
|
230
282
|
*
|
|
231
283
|
* @summary Create a new workspace
|
|
232
284
|
* @param {CreateWorkspace} createWorkspace
|
|
285
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
233
286
|
* @param {*} [options] Override http request option.
|
|
234
287
|
* @throws {RequiredError}
|
|
235
288
|
*/
|
|
236
|
-
createWorkspace(createWorkspace: CreateWorkspace, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
289
|
+
createWorkspace(createWorkspace: CreateWorkspace, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
237
290
|
/**
|
|
238
291
|
*
|
|
239
292
|
* @summary Delete workspace
|
|
240
|
-
* @param {string} workspaceId
|
|
293
|
+
* @param {string} workspaceId ID of the workspace
|
|
241
294
|
* @param {boolean} force
|
|
295
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
242
296
|
* @param {*} [options] Override http request option.
|
|
243
297
|
* @throws {RequiredError}
|
|
244
298
|
*/
|
|
245
|
-
deleteWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
299
|
+
deleteWorkspace(workspaceId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
246
300
|
/**
|
|
247
301
|
*
|
|
248
302
|
* @summary Get workspace details
|
|
249
|
-
* @param {string} workspaceId
|
|
303
|
+
* @param {string} workspaceId ID of the workspace
|
|
304
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
250
305
|
* @param {boolean} [verbose] Include verbose output
|
|
251
306
|
* @param {*} [options] Override http request option.
|
|
252
307
|
* @throws {RequiredError}
|
|
253
308
|
*/
|
|
254
|
-
getWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
309
|
+
getWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Workspace>;
|
|
255
310
|
/**
|
|
256
311
|
*
|
|
257
312
|
* @summary List all workspaces
|
|
313
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
258
314
|
* @param {boolean} [verbose] Include verbose output
|
|
259
315
|
* @param {*} [options] Override http request option.
|
|
260
316
|
* @throws {RequiredError}
|
|
261
317
|
*/
|
|
262
|
-
listWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Workspace>>;
|
|
318
|
+
listWorkspaces(xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Workspace>>;
|
|
263
319
|
/**
|
|
264
320
|
*
|
|
265
321
|
* @summary Replace workspace labels
|
|
266
|
-
* @param {string} workspaceId
|
|
322
|
+
* @param {string} workspaceId ID of the workspace
|
|
267
323
|
* @param {WorkspaceLabels} workspaceLabels
|
|
324
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
268
325
|
* @param {*} [options] Override http request option.
|
|
269
326
|
* @throws {RequiredError}
|
|
270
327
|
*/
|
|
271
|
-
replaceLabels(workspaceId: string, workspaceLabels: WorkspaceLabels, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceLabels>;
|
|
328
|
+
replaceLabels(workspaceId: string, workspaceLabels: WorkspaceLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceLabels>;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @summary Resize workspace
|
|
332
|
+
* @param {string} workspaceId ID of the workspace
|
|
333
|
+
* @param {object} body
|
|
334
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
335
|
+
* @param {*} [options] Override http request option.
|
|
336
|
+
* @throws {RequiredError}
|
|
337
|
+
*/
|
|
338
|
+
resizeWorkspace(workspaceId: string, body: object, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
272
339
|
/**
|
|
273
340
|
*
|
|
274
341
|
* @summary Set workspace auto-stop interval
|
|
275
342
|
* @param {string} workspaceId ID of the workspace
|
|
276
343
|
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
344
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
277
345
|
* @param {*} [options] Override http request option.
|
|
278
346
|
* @throws {RequiredError}
|
|
279
347
|
*/
|
|
280
|
-
setAutostopInterval(workspaceId: string, interval: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
348
|
+
setAutostopInterval(workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
281
349
|
/**
|
|
282
350
|
*
|
|
283
351
|
* @summary Start workspace
|
|
284
|
-
* @param {string} workspaceId
|
|
352
|
+
* @param {string} workspaceId ID of the workspace
|
|
353
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
285
354
|
* @param {*} [options] Override http request option.
|
|
286
355
|
* @throws {RequiredError}
|
|
287
356
|
*/
|
|
288
|
-
startWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
357
|
+
startWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
289
358
|
/**
|
|
290
359
|
*
|
|
291
360
|
* @summary Stop workspace
|
|
292
|
-
* @param {string} workspaceId
|
|
361
|
+
* @param {string} workspaceId ID of the workspace
|
|
362
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
293
363
|
* @param {*} [options] Override http request option.
|
|
294
364
|
* @throws {RequiredError}
|
|
295
365
|
*/
|
|
296
|
-
stopWorkspace(workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
366
|
+
stopWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
297
367
|
/**
|
|
298
368
|
*
|
|
299
369
|
* @summary Update public status
|
|
300
370
|
* @param {string} workspaceId ID of the workspace
|
|
301
371
|
* @param {boolean} isPublic Public status to set
|
|
372
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
302
373
|
* @param {*} [options] Override http request option.
|
|
303
374
|
* @throws {RequiredError}
|
|
304
375
|
*/
|
|
305
|
-
updatePublicStatus(workspaceId: string, isPublic: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
306
|
-
/**
|
|
307
|
-
*
|
|
308
|
-
* @param {string} workspaceId
|
|
309
|
-
* @param {object} body
|
|
310
|
-
* @param {*} [options] Override http request option.
|
|
311
|
-
* @throws {RequiredError}
|
|
312
|
-
*/
|
|
313
|
-
workspaceControllerResizeWorkspace(workspaceId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
376
|
+
updatePublicStatus(workspaceId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
314
377
|
};
|
|
315
378
|
/**
|
|
316
379
|
* WorkspaceApi - object-oriented interface
|
|
@@ -321,106 +384,128 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
|
|
|
321
384
|
export declare class WorkspaceApi extends BaseAPI {
|
|
322
385
|
/**
|
|
323
386
|
*
|
|
324
|
-
* @summary
|
|
387
|
+
* @summary Archive workspace
|
|
325
388
|
* @param {string} workspaceId
|
|
389
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
326
390
|
* @param {*} [options] Override http request option.
|
|
327
391
|
* @throws {RequiredError}
|
|
328
392
|
* @memberof WorkspaceApi
|
|
329
393
|
*/
|
|
330
|
-
|
|
394
|
+
archiveWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @summary Create workspace snapshot
|
|
398
|
+
* @param {string} workspaceId ID of the workspace
|
|
399
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
* @memberof WorkspaceApi
|
|
403
|
+
*/
|
|
404
|
+
createSnapshot(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any>>;
|
|
331
405
|
/**
|
|
332
406
|
*
|
|
333
407
|
* @summary Create a new workspace
|
|
334
408
|
* @param {CreateWorkspace} createWorkspace
|
|
409
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
335
410
|
* @param {*} [options] Override http request option.
|
|
336
411
|
* @throws {RequiredError}
|
|
337
412
|
* @memberof WorkspaceApi
|
|
338
413
|
*/
|
|
339
|
-
createWorkspace(createWorkspace: CreateWorkspace, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any>>;
|
|
414
|
+
createWorkspace(createWorkspace: CreateWorkspace, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any>>;
|
|
340
415
|
/**
|
|
341
416
|
*
|
|
342
417
|
* @summary Delete workspace
|
|
343
|
-
* @param {string} workspaceId
|
|
418
|
+
* @param {string} workspaceId ID of the workspace
|
|
344
419
|
* @param {boolean} force
|
|
420
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
345
421
|
* @param {*} [options] Override http request option.
|
|
346
422
|
* @throws {RequiredError}
|
|
347
423
|
* @memberof WorkspaceApi
|
|
348
424
|
*/
|
|
349
|
-
deleteWorkspace(workspaceId: string, force: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
425
|
+
deleteWorkspace(workspaceId: string, force: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
350
426
|
/**
|
|
351
427
|
*
|
|
352
428
|
* @summary Get workspace details
|
|
353
|
-
* @param {string} workspaceId
|
|
429
|
+
* @param {string} workspaceId ID of the workspace
|
|
430
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
354
431
|
* @param {boolean} [verbose] Include verbose output
|
|
355
432
|
* @param {*} [options] Override http request option.
|
|
356
433
|
* @throws {RequiredError}
|
|
357
434
|
* @memberof WorkspaceApi
|
|
358
435
|
*/
|
|
359
|
-
getWorkspace(workspaceId: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any>>;
|
|
436
|
+
getWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace, any>>;
|
|
360
437
|
/**
|
|
361
438
|
*
|
|
362
439
|
* @summary List all workspaces
|
|
440
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
363
441
|
* @param {boolean} [verbose] Include verbose output
|
|
364
442
|
* @param {*} [options] Override http request option.
|
|
365
443
|
* @throws {RequiredError}
|
|
366
444
|
* @memberof WorkspaceApi
|
|
367
445
|
*/
|
|
368
|
-
listWorkspaces(verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace[], any>>;
|
|
446
|
+
listWorkspaces(xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace[], any>>;
|
|
369
447
|
/**
|
|
370
448
|
*
|
|
371
449
|
* @summary Replace workspace labels
|
|
372
|
-
* @param {string} workspaceId
|
|
450
|
+
* @param {string} workspaceId ID of the workspace
|
|
373
451
|
* @param {WorkspaceLabels} workspaceLabels
|
|
452
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
374
453
|
* @param {*} [options] Override http request option.
|
|
375
454
|
* @throws {RequiredError}
|
|
376
455
|
* @memberof WorkspaceApi
|
|
377
456
|
*/
|
|
378
|
-
replaceLabels(workspaceId: string, workspaceLabels: WorkspaceLabels, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceLabels, any>>;
|
|
457
|
+
replaceLabels(workspaceId: string, workspaceLabels: WorkspaceLabels, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceLabels, any>>;
|
|
379
458
|
/**
|
|
380
459
|
*
|
|
381
|
-
* @summary
|
|
460
|
+
* @summary Resize workspace
|
|
382
461
|
* @param {string} workspaceId ID of the workspace
|
|
383
|
-
* @param {
|
|
462
|
+
* @param {object} body
|
|
463
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
384
464
|
* @param {*} [options] Override http request option.
|
|
385
465
|
* @throws {RequiredError}
|
|
386
466
|
* @memberof WorkspaceApi
|
|
387
467
|
*/
|
|
388
|
-
|
|
468
|
+
resizeWorkspace(workspaceId: string, body: object, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
389
469
|
/**
|
|
390
470
|
*
|
|
391
|
-
* @summary
|
|
392
|
-
* @param {string} workspaceId
|
|
471
|
+
* @summary Set workspace auto-stop interval
|
|
472
|
+
* @param {string} workspaceId ID of the workspace
|
|
473
|
+
* @param {number} interval Auto-stop interval in minutes (0 to disable)
|
|
474
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
393
475
|
* @param {*} [options] Override http request option.
|
|
394
476
|
* @throws {RequiredError}
|
|
395
477
|
* @memberof WorkspaceApi
|
|
396
478
|
*/
|
|
397
|
-
|
|
479
|
+
setAutostopInterval(workspaceId: string, interval: number, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
398
480
|
/**
|
|
399
481
|
*
|
|
400
|
-
* @summary
|
|
401
|
-
* @param {string} workspaceId
|
|
482
|
+
* @summary Start workspace
|
|
483
|
+
* @param {string} workspaceId ID of the workspace
|
|
484
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
402
485
|
* @param {*} [options] Override http request option.
|
|
403
486
|
* @throws {RequiredError}
|
|
404
487
|
* @memberof WorkspaceApi
|
|
405
488
|
*/
|
|
406
|
-
|
|
489
|
+
startWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
407
490
|
/**
|
|
408
491
|
*
|
|
409
|
-
* @summary
|
|
492
|
+
* @summary Stop workspace
|
|
410
493
|
* @param {string} workspaceId ID of the workspace
|
|
411
|
-
* @param {
|
|
494
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
412
495
|
* @param {*} [options] Override http request option.
|
|
413
496
|
* @throws {RequiredError}
|
|
414
497
|
* @memberof WorkspaceApi
|
|
415
498
|
*/
|
|
416
|
-
|
|
499
|
+
stopWorkspace(workspaceId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
417
500
|
/**
|
|
418
501
|
*
|
|
419
|
-
* @
|
|
420
|
-
* @param {
|
|
502
|
+
* @summary Update public status
|
|
503
|
+
* @param {string} workspaceId ID of the workspace
|
|
504
|
+
* @param {boolean} isPublic Public status to set
|
|
505
|
+
* @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
|
|
421
506
|
* @param {*} [options] Override http request option.
|
|
422
507
|
* @throws {RequiredError}
|
|
423
508
|
* @memberof WorkspaceApi
|
|
424
509
|
*/
|
|
425
|
-
|
|
510
|
+
updatePublicStatus(workspaceId: string, isPublic: boolean, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
426
511
|
}
|