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