@daytonaio/api-client 0.127.0-rc.1 → 0.127.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/admin-api.d.ts +208 -0
- package/src/api/admin-api.js +404 -0
- package/src/api/admin-api.js.map +1 -0
- package/src/api/jobs-api.d.ts +197 -0
- package/src/api/jobs-api.js +371 -0
- package/src/api/jobs-api.js.map +1 -0
- package/src/api/organizations-api.d.ts +222 -0
- package/src/api/organizations-api.js +454 -0
- package/src/api/organizations-api.js.map +1 -1
- package/src/api/regions-api.d.ts +8 -16
- package/src/api/regions-api.js +13 -29
- package/src/api/regions-api.js.map +1 -1
- package/src/api/runners-api.d.ts +144 -22
- package/src/api/runners-api.js +270 -25
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +38 -37
- package/src/api/sandbox-api.js +77 -77
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api.d.ts +2 -0
- package/src/api.js +2 -0
- package/src/api.js.map +1 -1
- package/src/models/admin-create-runner.d.ts +78 -0
- package/src/models/admin-create-runner.js +4 -0
- package/src/models/admin-create-runner.js.map +1 -0
- package/src/models/api-key-list.d.ts +5 -0
- package/src/models/api-key-list.js +5 -0
- package/src/models/api-key-list.js.map +1 -1
- package/src/models/api-key-response.d.ts +5 -0
- package/src/models/api-key-response.js +5 -0
- package/src/models/api-key-response.js.map +1 -1
- package/src/models/create-api-key.d.ts +5 -0
- package/src/models/create-api-key.js +5 -0
- package/src/models/create-api-key.js.map +1 -1
- package/src/models/create-organization-role.d.ts +5 -0
- package/src/models/create-organization-role.js +5 -0
- package/src/models/create-organization-role.js.map +1 -1
- package/src/models/create-region-response.d.ts +36 -0
- package/src/models/create-region-response.js +4 -0
- package/src/models/create-region-response.js.map +1 -0
- package/src/models/create-region.d.ts +36 -0
- package/src/models/create-region.js +4 -0
- package/src/models/create-region.js.map +1 -0
- package/src/models/create-runner-response.d.ts +30 -0
- package/src/models/create-runner-response.js +4 -0
- package/src/models/create-runner-response.js.map +1 -0
- package/src/models/create-runner.d.ts +2 -68
- package/src/models/create-runner.js +0 -6
- package/src/models/create-runner.js.map +1 -1
- package/src/models/create-snapshot.d.ts +6 -0
- package/src/models/index.d.ts +16 -0
- package/src/models/index.js +16 -0
- package/src/models/index.js.map +1 -1
- package/src/models/job-status.d.ts +23 -0
- package/src/models/job-status.js +27 -0
- package/src/models/job-status.js.map +1 -0
- package/src/models/job-type.d.ts +28 -0
- package/src/models/job-type.js +32 -0
- package/src/models/job-type.js.map +1 -0
- package/src/models/job.d.ts +88 -0
- package/src/models/job.js +22 -0
- package/src/models/job.js.map +1 -0
- package/src/models/organization-role.d.ts +5 -0
- package/src/models/organization-role.js +5 -0
- package/src/models/organization-role.js.map +1 -1
- package/src/models/paginated-jobs.d.ts +43 -0
- package/src/models/paginated-jobs.js +16 -0
- package/src/models/paginated-jobs.js.map +1 -0
- package/src/models/poll-jobs-response.d.ts +25 -0
- package/src/models/poll-jobs-response.js +16 -0
- package/src/models/poll-jobs-response.js.map +1 -0
- package/src/models/regenerate-api-key-response.d.ts +24 -0
- package/src/models/regenerate-api-key-response.js +4 -0
- package/src/models/regenerate-api-key-response.js.map +1 -0
- package/src/models/region-type.d.ts +22 -0
- package/src/models/region-type.js +26 -0
- package/src/models/region-type.js.map +1 -0
- package/src/models/region.d.ts +19 -0
- package/src/models/region.js +12 -0
- package/src/models/region.js.map +1 -1
- package/src/models/runner-full.d.ts +204 -0
- package/src/models/runner-full.js +16 -0
- package/src/models/runner-full.js.map +1 -0
- package/src/models/runner-health-metrics.d.ts +78 -0
- package/src/models/runner-health-metrics.js +4 -0
- package/src/models/runner-health-metrics.js.map +1 -0
- package/src/models/runner-healthcheck.d.ts +43 -0
- package/src/models/runner-healthcheck.js +16 -0
- package/src/models/runner-healthcheck.js.map +1 -0
- package/src/models/runner.d.ts +27 -12
- package/src/models/sandbox.d.ts +0 -6
- package/src/models/sandbox.js.map +1 -1
- package/src/models/snapshot-dto.d.ts +6 -0
- package/src/models/ssh-access-dto.d.ts +6 -0
- package/src/models/toolbox-proxy-url.d.ts +24 -0
- package/src/models/toolbox-proxy-url.js +4 -0
- package/src/models/toolbox-proxy-url.js.map +1 -0
- package/src/models/update-job-status.d.ts +37 -0
- package/src/models/update-job-status.js +16 -0
- package/src/models/update-job-status.js.map +1 -0
- package/src/models/update-organization-role.d.ts +5 -0
- package/src/models/update-organization-role.js +5 -0
- package/src/models/update-organization-role.js.map +1 -1
- package/src/models/workspace.d.ts +0 -6
- package/src/models/workspace.js.map +1 -1
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { RegionType } from './region-type';
|
|
13
|
+
import type { RunnerState } from './runner-state';
|
|
14
|
+
import type { SandboxClass } from './sandbox-class';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface RunnerFull
|
|
19
|
+
*/
|
|
20
|
+
export interface RunnerFull {
|
|
21
|
+
/**
|
|
22
|
+
* The ID of the runner
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof RunnerFull
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* The domain of the runner
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof RunnerFull
|
|
31
|
+
*/
|
|
32
|
+
domain?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The API URL of the runner
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof RunnerFull
|
|
37
|
+
*/
|
|
38
|
+
apiUrl?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The proxy URL of the runner
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof RunnerFull
|
|
43
|
+
*/
|
|
44
|
+
proxyUrl?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The CPU capacity of the runner
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof RunnerFull
|
|
49
|
+
*/
|
|
50
|
+
cpu: number;
|
|
51
|
+
/**
|
|
52
|
+
* The memory capacity of the runner in GiB
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof RunnerFull
|
|
55
|
+
*/
|
|
56
|
+
memory: number;
|
|
57
|
+
/**
|
|
58
|
+
* The disk capacity of the runner in GiB
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof RunnerFull
|
|
61
|
+
*/
|
|
62
|
+
disk: number;
|
|
63
|
+
/**
|
|
64
|
+
* The GPU capacity of the runner
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof RunnerFull
|
|
67
|
+
*/
|
|
68
|
+
gpu?: number;
|
|
69
|
+
/**
|
|
70
|
+
* The type of GPU
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof RunnerFull
|
|
73
|
+
*/
|
|
74
|
+
gpuType?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The class of the runner
|
|
77
|
+
* @type {SandboxClass}
|
|
78
|
+
* @memberof RunnerFull
|
|
79
|
+
*/
|
|
80
|
+
class: SandboxClass;
|
|
81
|
+
/**
|
|
82
|
+
* Current CPU usage percentage
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof RunnerFull
|
|
85
|
+
*/
|
|
86
|
+
currentCpuUsagePercentage?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Current RAM usage percentage
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof RunnerFull
|
|
91
|
+
*/
|
|
92
|
+
currentMemoryUsagePercentage?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Current disk usage percentage
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @memberof RunnerFull
|
|
97
|
+
*/
|
|
98
|
+
currentDiskUsagePercentage?: number;
|
|
99
|
+
/**
|
|
100
|
+
* Current allocated CPU
|
|
101
|
+
* @type {number}
|
|
102
|
+
* @memberof RunnerFull
|
|
103
|
+
*/
|
|
104
|
+
currentAllocatedCpu?: number;
|
|
105
|
+
/**
|
|
106
|
+
* Current allocated memory in GiB
|
|
107
|
+
* @type {number}
|
|
108
|
+
* @memberof RunnerFull
|
|
109
|
+
*/
|
|
110
|
+
currentAllocatedMemoryGiB?: number;
|
|
111
|
+
/**
|
|
112
|
+
* Current allocated disk in GiB
|
|
113
|
+
* @type {number}
|
|
114
|
+
* @memberof RunnerFull
|
|
115
|
+
*/
|
|
116
|
+
currentAllocatedDiskGiB?: number;
|
|
117
|
+
/**
|
|
118
|
+
* Current snapshot count
|
|
119
|
+
* @type {number}
|
|
120
|
+
* @memberof RunnerFull
|
|
121
|
+
*/
|
|
122
|
+
currentSnapshotCount?: number;
|
|
123
|
+
/**
|
|
124
|
+
* Runner availability score
|
|
125
|
+
* @type {number}
|
|
126
|
+
* @memberof RunnerFull
|
|
127
|
+
*/
|
|
128
|
+
availabilityScore?: number;
|
|
129
|
+
/**
|
|
130
|
+
* The region of the runner
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof RunnerFull
|
|
133
|
+
*/
|
|
134
|
+
region: string;
|
|
135
|
+
/**
|
|
136
|
+
* The name of the runner
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof RunnerFull
|
|
139
|
+
*/
|
|
140
|
+
name: string;
|
|
141
|
+
/**
|
|
142
|
+
* The state of the runner
|
|
143
|
+
* @type {RunnerState}
|
|
144
|
+
* @memberof RunnerFull
|
|
145
|
+
*/
|
|
146
|
+
state: RunnerState;
|
|
147
|
+
/**
|
|
148
|
+
* The last time the runner was checked
|
|
149
|
+
* @type {string}
|
|
150
|
+
* @memberof RunnerFull
|
|
151
|
+
*/
|
|
152
|
+
lastChecked?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Whether the runner is unschedulable
|
|
155
|
+
* @type {boolean}
|
|
156
|
+
* @memberof RunnerFull
|
|
157
|
+
*/
|
|
158
|
+
unschedulable: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* The creation timestamp of the runner
|
|
161
|
+
* @type {string}
|
|
162
|
+
* @memberof RunnerFull
|
|
163
|
+
*/
|
|
164
|
+
createdAt: string;
|
|
165
|
+
/**
|
|
166
|
+
* The last update timestamp of the runner
|
|
167
|
+
* @type {string}
|
|
168
|
+
* @memberof RunnerFull
|
|
169
|
+
*/
|
|
170
|
+
updatedAt: string;
|
|
171
|
+
/**
|
|
172
|
+
* The version of the runner (deprecated in favor of apiVersion)
|
|
173
|
+
* @type {string}
|
|
174
|
+
* @memberof RunnerFull
|
|
175
|
+
* @deprecated
|
|
176
|
+
*/
|
|
177
|
+
version: string;
|
|
178
|
+
/**
|
|
179
|
+
* The api version of the runner
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof RunnerFull
|
|
182
|
+
* @deprecated
|
|
183
|
+
*/
|
|
184
|
+
apiVersion: string;
|
|
185
|
+
/**
|
|
186
|
+
* The app version of the runner
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof RunnerFull
|
|
189
|
+
* @deprecated
|
|
190
|
+
*/
|
|
191
|
+
appVersion?: string;
|
|
192
|
+
/**
|
|
193
|
+
* The API key for the runner
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof RunnerFull
|
|
196
|
+
*/
|
|
197
|
+
apiKey: string;
|
|
198
|
+
/**
|
|
199
|
+
* The region type of the runner
|
|
200
|
+
* @type {RegionType}
|
|
201
|
+
* @memberof RunnerFull
|
|
202
|
+
*/
|
|
203
|
+
regionType?: RegionType;
|
|
204
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: support@daytona.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=runner-full.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runner-full.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/runner-full.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RunnerHealthMetrics
|
|
16
|
+
*/
|
|
17
|
+
export interface RunnerHealthMetrics {
|
|
18
|
+
/**
|
|
19
|
+
* Current CPU usage percentage
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RunnerHealthMetrics
|
|
22
|
+
*/
|
|
23
|
+
currentCpuUsagePercentage: number;
|
|
24
|
+
/**
|
|
25
|
+
* Current memory usage percentage
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof RunnerHealthMetrics
|
|
28
|
+
*/
|
|
29
|
+
currentMemoryUsagePercentage: number;
|
|
30
|
+
/**
|
|
31
|
+
* Current disk usage percentage
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RunnerHealthMetrics
|
|
34
|
+
*/
|
|
35
|
+
currentDiskUsagePercentage: number;
|
|
36
|
+
/**
|
|
37
|
+
* Currently allocated CPU cores
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof RunnerHealthMetrics
|
|
40
|
+
*/
|
|
41
|
+
currentAllocatedCpu: number;
|
|
42
|
+
/**
|
|
43
|
+
* Currently allocated memory in GiB
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof RunnerHealthMetrics
|
|
46
|
+
*/
|
|
47
|
+
currentAllocatedMemoryGiB: number;
|
|
48
|
+
/**
|
|
49
|
+
* Currently allocated disk in GiB
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof RunnerHealthMetrics
|
|
52
|
+
*/
|
|
53
|
+
currentAllocatedDiskGiB: number;
|
|
54
|
+
/**
|
|
55
|
+
* Number of snapshots currently stored
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof RunnerHealthMetrics
|
|
58
|
+
*/
|
|
59
|
+
currentSnapshotCount: number;
|
|
60
|
+
/**
|
|
61
|
+
* Total CPU cores on the runner
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof RunnerHealthMetrics
|
|
64
|
+
*/
|
|
65
|
+
cpu: number;
|
|
66
|
+
/**
|
|
67
|
+
* Total RAM in GiB on the runner
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof RunnerHealthMetrics
|
|
70
|
+
*/
|
|
71
|
+
memoryGiB: number;
|
|
72
|
+
/**
|
|
73
|
+
* Total disk space in GiB on the runner
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof RunnerHealthMetrics
|
|
76
|
+
*/
|
|
77
|
+
diskGiB: number;
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runner-health-metrics.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/runner-health-metrics.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { RunnerHealthMetrics } from './runner-health-metrics';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RunnerHealthcheck
|
|
17
|
+
*/
|
|
18
|
+
export interface RunnerHealthcheck {
|
|
19
|
+
/**
|
|
20
|
+
* Runner metrics
|
|
21
|
+
* @type {RunnerHealthMetrics}
|
|
22
|
+
* @memberof RunnerHealthcheck
|
|
23
|
+
*/
|
|
24
|
+
metrics?: RunnerHealthMetrics;
|
|
25
|
+
/**
|
|
26
|
+
* Runner domain
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RunnerHealthcheck
|
|
29
|
+
*/
|
|
30
|
+
domain?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Runner proxy URL
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RunnerHealthcheck
|
|
35
|
+
*/
|
|
36
|
+
proxyUrl?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Runner app version
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof RunnerHealthcheck
|
|
41
|
+
*/
|
|
42
|
+
appVersion: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: support@daytona.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=runner-healthcheck.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runner-healthcheck.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/runner-healthcheck.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
package/src/models/runner.d.ts
CHANGED
|
@@ -28,25 +28,19 @@ export interface Runner {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof Runner
|
|
30
30
|
*/
|
|
31
|
-
domain
|
|
31
|
+
domain?: string;
|
|
32
32
|
/**
|
|
33
33
|
* The API URL of the runner
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof Runner
|
|
36
36
|
*/
|
|
37
|
-
apiUrl
|
|
37
|
+
apiUrl?: string;
|
|
38
38
|
/**
|
|
39
39
|
* The proxy URL of the runner
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof Runner
|
|
42
42
|
*/
|
|
43
|
-
proxyUrl
|
|
44
|
-
/**
|
|
45
|
-
* The API key for the runner
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof Runner
|
|
48
|
-
*/
|
|
49
|
-
apiKey: string;
|
|
43
|
+
proxyUrl?: string;
|
|
50
44
|
/**
|
|
51
45
|
* The CPU capacity of the runner
|
|
52
46
|
* @type {number}
|
|
@@ -70,13 +64,13 @@ export interface Runner {
|
|
|
70
64
|
* @type {number}
|
|
71
65
|
* @memberof Runner
|
|
72
66
|
*/
|
|
73
|
-
gpu
|
|
67
|
+
gpu?: number;
|
|
74
68
|
/**
|
|
75
69
|
* The type of GPU
|
|
76
70
|
* @type {string}
|
|
77
71
|
* @memberof Runner
|
|
78
72
|
*/
|
|
79
|
-
gpuType
|
|
73
|
+
gpuType?: string;
|
|
80
74
|
/**
|
|
81
75
|
* The class of the runner
|
|
82
76
|
* @type {SandboxClass}
|
|
@@ -137,6 +131,12 @@ export interface Runner {
|
|
|
137
131
|
* @memberof Runner
|
|
138
132
|
*/
|
|
139
133
|
region: string;
|
|
134
|
+
/**
|
|
135
|
+
* The name of the runner
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof Runner
|
|
138
|
+
*/
|
|
139
|
+
name: string;
|
|
140
140
|
/**
|
|
141
141
|
* The state of the runner
|
|
142
142
|
* @type {RunnerState}
|
|
@@ -168,9 +168,24 @@ export interface Runner {
|
|
|
168
168
|
*/
|
|
169
169
|
updatedAt: string;
|
|
170
170
|
/**
|
|
171
|
-
* The version of the runner
|
|
171
|
+
* The version of the runner (deprecated in favor of apiVersion)
|
|
172
172
|
* @type {string}
|
|
173
173
|
* @memberof Runner
|
|
174
|
+
* @deprecated
|
|
174
175
|
*/
|
|
175
176
|
version: string;
|
|
177
|
+
/**
|
|
178
|
+
* The api version of the runner
|
|
179
|
+
* @type {string}
|
|
180
|
+
* @memberof Runner
|
|
181
|
+
* @deprecated
|
|
182
|
+
*/
|
|
183
|
+
apiVersion: string;
|
|
184
|
+
/**
|
|
185
|
+
* The app version of the runner
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof Runner
|
|
188
|
+
* @deprecated
|
|
189
|
+
*/
|
|
190
|
+
appVersion?: string;
|
|
176
191
|
}
|
package/src/models/sandbox.d.ts
CHANGED
|
@@ -131,12 +131,6 @@ export interface Sandbox {
|
|
|
131
131
|
* @memberof Sandbox
|
|
132
132
|
*/
|
|
133
133
|
errorReason?: string;
|
|
134
|
-
/**
|
|
135
|
-
* Whether the sandbox error is recoverable.
|
|
136
|
-
* @type {boolean}
|
|
137
|
-
* @memberof Sandbox
|
|
138
|
-
*/
|
|
139
|
-
recoverable?: boolean;
|
|
140
134
|
/**
|
|
141
135
|
* The state of the backup
|
|
142
136
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"sandbox.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAsMU,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;CACN,CAAA;AAGG,QAAA,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA"}
|
|
@@ -119,4 +119,10 @@ export interface SnapshotDto {
|
|
|
119
119
|
* @memberof SnapshotDto
|
|
120
120
|
*/
|
|
121
121
|
buildInfo?: BuildInfo;
|
|
122
|
+
/**
|
|
123
|
+
* IDs of regions where the snapshot is available
|
|
124
|
+
* @type {Array<string>}
|
|
125
|
+
* @memberof SnapshotDto
|
|
126
|
+
*/
|
|
127
|
+
regionIds?: Array<string>;
|
|
122
128
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ToolboxProxyUrl
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolboxProxyUrl {
|
|
18
|
+
/**
|
|
19
|
+
* The toolbox proxy URL for the sandbox
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ToolboxProxyUrl
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbox-proxy-url.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/toolbox-proxy-url.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona
|
|
3
|
+
* Daytona AI platform API Docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: support@daytona.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { JobStatus } from './job-status';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateJobStatus
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateJobStatus {
|
|
19
|
+
/**
|
|
20
|
+
* The new status of the job
|
|
21
|
+
* @type {JobStatus}
|
|
22
|
+
* @memberof UpdateJobStatus
|
|
23
|
+
*/
|
|
24
|
+
status: JobStatus;
|
|
25
|
+
/**
|
|
26
|
+
* Error message if the job failed
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpdateJobStatus
|
|
29
|
+
*/
|
|
30
|
+
errorMessage?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Result metadata for the job
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UpdateJobStatus
|
|
35
|
+
*/
|
|
36
|
+
resultMetadata?: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona
|
|
6
|
+
* Daytona AI platform API Docs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: support@daytona.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=update-job-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-job-status.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/update-job-status.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -44,6 +44,11 @@ export declare const UpdateOrganizationRolePermissionsEnum: {
|
|
|
44
44
|
readonly READ_VOLUMES: "read:volumes";
|
|
45
45
|
readonly WRITE_VOLUMES: "write:volumes";
|
|
46
46
|
readonly DELETE_VOLUMES: "delete:volumes";
|
|
47
|
+
readonly WRITE_REGIONS: "write:regions";
|
|
48
|
+
readonly DELETE_REGIONS: "delete:regions";
|
|
49
|
+
readonly READ_RUNNERS: "read:runners";
|
|
50
|
+
readonly WRITE_RUNNERS: "write:runners";
|
|
51
|
+
readonly DELETE_RUNNERS: "delete:runners";
|
|
47
52
|
readonly READ_AUDIT_LOGS: "read:audit_logs";
|
|
48
53
|
};
|
|
49
54
|
export type UpdateOrganizationRolePermissionsEnum = (typeof UpdateOrganizationRolePermissionsEnum)[keyof typeof UpdateOrganizationRolePermissionsEnum];
|
|
@@ -12,6 +12,11 @@ exports.UpdateOrganizationRolePermissionsEnum = {
|
|
|
12
12
|
READ_VOLUMES: 'read:volumes',
|
|
13
13
|
WRITE_VOLUMES: 'write:volumes',
|
|
14
14
|
DELETE_VOLUMES: 'delete:volumes',
|
|
15
|
+
WRITE_REGIONS: 'write:regions',
|
|
16
|
+
DELETE_REGIONS: 'delete:regions',
|
|
17
|
+
READ_RUNNERS: 'read:runners',
|
|
18
|
+
WRITE_RUNNERS: 'write:runners',
|
|
19
|
+
DELETE_RUNNERS: 'delete:runners',
|
|
15
20
|
READ_AUDIT_LOGS: 'read:audit_logs',
|
|
16
21
|
};
|
|
17
22
|
//# sourceMappingURL=update-organization-role.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/update-organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwCP,QAAA,qCAAqC,GAAG;IACnD,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;CAC1B,CAAA"}
|
|
1
|
+
{"version":3,"file":"update-organization-role.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/update-organization-role.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwCP,QAAA,qCAAqC,GAAG;IACnD,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;CAC1B,CAAA"}
|
|
@@ -132,12 +132,6 @@ export interface Workspace {
|
|
|
132
132
|
* @memberof Workspace
|
|
133
133
|
*/
|
|
134
134
|
errorReason?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Whether the sandbox error is recoverable.
|
|
137
|
-
* @type {boolean}
|
|
138
|
-
* @memberof Workspace
|
|
139
|
-
*/
|
|
140
|
-
recoverable?: boolean;
|
|
141
135
|
/**
|
|
142
136
|
* The state of the backup
|
|
143
137
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/workspace.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/workspace.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiOU,QAAA,wBAAwB,GAAG;IACtC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;CACN,CAAA;AAGG,QAAA,kBAAkB,GAAG;IAChC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA;AAGG,QAAA,0BAA0B,GAAG;IACxC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;CACN,CAAA"}
|