@daytonaio/api-client 0.131.0-rc.2 → 0.131.0-rc.3
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/docker-registry-api.d.ts +8 -4
- package/src/api/docker-registry-api.js +14 -7
- package/src/api/docker-registry-api.js.map +1 -1
- 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/preview-api.d.ts +37 -0
- package/src/api/preview-api.js +74 -0
- package/src/api/preview-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 +177 -22
- package/src/api/runners-api.js +338 -25
- package/src/api/runners-api.js.map +1 -1
- package/src/api/sandbox-api.d.ts +171 -0
- package/src/api/sandbox-api.js +342 -0
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +46 -4
- package/src/api/snapshots-api.js +85 -4
- package/src/api/snapshots-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/build-info.d.ts +6 -0
- 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 +48 -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 +42 -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 +18 -0
- package/src/models/index.js +18 -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 +30 -0
- package/src/models/job-type.js +34 -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 +210 -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 +84 -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 +49 -0
- package/src/models/runner-healthcheck.js +16 -0
- package/src/models/runner-healthcheck.js.map +1 -0
- package/src/models/runner-snapshot-dto.d.ts +1 -1
- package/src/models/runner.d.ts +27 -12
- package/src/models/sandbox.d.ts +6 -0
- package/src/models/sandbox.js.map +1 -1
- package/src/models/signed-port-preview-url.d.ts +42 -0
- package/src/models/signed-port-preview-url.js +4 -0
- package/src/models/signed-port-preview-url.js.map +1 -0
- package/src/models/snapshot-dto.d.ts +18 -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/update-sandbox-state-dto.d.ts +6 -0
- package/src/models/update-sandbox-state-dto.js.map +1 -1
- package/src/models/url.d.ts +24 -0
- package/src/models/url.js +4 -0
- package/src/models/url.js.map +1 -0
- package/src/models/workspace.d.ts +6 -0
- package/src/models/workspace.js.map +1 -1
package/src/models/region.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { RegionType } from './region-type';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,12 @@ export interface Region {
|
|
|
33
34
|
* @memberof Region
|
|
34
35
|
*/
|
|
35
36
|
organizationId?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The type of the region
|
|
39
|
+
* @type {RegionType}
|
|
40
|
+
* @memberof Region
|
|
41
|
+
*/
|
|
42
|
+
regionType: RegionType;
|
|
36
43
|
/**
|
|
37
44
|
* Creation timestamp
|
|
38
45
|
* @type {string}
|
|
@@ -45,4 +52,16 @@ export interface Region {
|
|
|
45
52
|
* @memberof Region
|
|
46
53
|
*/
|
|
47
54
|
updatedAt: string;
|
|
55
|
+
/**
|
|
56
|
+
* Proxy URL for the region
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Region
|
|
59
|
+
*/
|
|
60
|
+
proxyUrl?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* SSH Gateway URL for the region
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof Region
|
|
65
|
+
*/
|
|
66
|
+
sshGatewayUrl?: string | null;
|
|
48
67
|
}
|
package/src/models/region.js
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
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
|
+
*/
|
|
3
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
16
|
//# sourceMappingURL=region.js.map
|
package/src/models/region.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"region.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/region.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
1
|
+
{"version":3,"file":"region.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/region.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,210 @@
|
|
|
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
|
+
* Current number of started sandboxes
|
|
125
|
+
* @type {number}
|
|
126
|
+
* @memberof RunnerFull
|
|
127
|
+
*/
|
|
128
|
+
currentStartedSandboxes?: number;
|
|
129
|
+
/**
|
|
130
|
+
* Runner availability score
|
|
131
|
+
* @type {number}
|
|
132
|
+
* @memberof RunnerFull
|
|
133
|
+
*/
|
|
134
|
+
availabilityScore?: number;
|
|
135
|
+
/**
|
|
136
|
+
* The region of the runner
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof RunnerFull
|
|
139
|
+
*/
|
|
140
|
+
region: string;
|
|
141
|
+
/**
|
|
142
|
+
* The name of the runner
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof RunnerFull
|
|
145
|
+
*/
|
|
146
|
+
name: string;
|
|
147
|
+
/**
|
|
148
|
+
* The state of the runner
|
|
149
|
+
* @type {RunnerState}
|
|
150
|
+
* @memberof RunnerFull
|
|
151
|
+
*/
|
|
152
|
+
state: RunnerState;
|
|
153
|
+
/**
|
|
154
|
+
* The last time the runner was checked
|
|
155
|
+
* @type {string}
|
|
156
|
+
* @memberof RunnerFull
|
|
157
|
+
*/
|
|
158
|
+
lastChecked?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Whether the runner is unschedulable
|
|
161
|
+
* @type {boolean}
|
|
162
|
+
* @memberof RunnerFull
|
|
163
|
+
*/
|
|
164
|
+
unschedulable: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* The creation timestamp of the runner
|
|
167
|
+
* @type {string}
|
|
168
|
+
* @memberof RunnerFull
|
|
169
|
+
*/
|
|
170
|
+
createdAt: string;
|
|
171
|
+
/**
|
|
172
|
+
* The last update timestamp of the runner
|
|
173
|
+
* @type {string}
|
|
174
|
+
* @memberof RunnerFull
|
|
175
|
+
*/
|
|
176
|
+
updatedAt: string;
|
|
177
|
+
/**
|
|
178
|
+
* The version of the runner (deprecated in favor of apiVersion)
|
|
179
|
+
* @type {string}
|
|
180
|
+
* @memberof RunnerFull
|
|
181
|
+
* @deprecated
|
|
182
|
+
*/
|
|
183
|
+
version: string;
|
|
184
|
+
/**
|
|
185
|
+
* The api version of the runner
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof RunnerFull
|
|
188
|
+
* @deprecated
|
|
189
|
+
*/
|
|
190
|
+
apiVersion: string;
|
|
191
|
+
/**
|
|
192
|
+
* The app version of the runner
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof RunnerFull
|
|
195
|
+
* @deprecated
|
|
196
|
+
*/
|
|
197
|
+
appVersion?: string;
|
|
198
|
+
/**
|
|
199
|
+
* The API key for the runner
|
|
200
|
+
* @type {string}
|
|
201
|
+
* @memberof RunnerFull
|
|
202
|
+
*/
|
|
203
|
+
apiKey: string;
|
|
204
|
+
/**
|
|
205
|
+
* The region type of the runner
|
|
206
|
+
* @type {RegionType}
|
|
207
|
+
* @memberof RunnerFull
|
|
208
|
+
*/
|
|
209
|
+
regionType?: RegionType;
|
|
210
|
+
}
|
|
@@ -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,84 @@
|
|
|
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
|
+
* Number of started sandboxes
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof RunnerHealthMetrics
|
|
64
|
+
*/
|
|
65
|
+
currentStartedSandboxes: number;
|
|
66
|
+
/**
|
|
67
|
+
* Total CPU cores on the runner
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof RunnerHealthMetrics
|
|
70
|
+
*/
|
|
71
|
+
cpu: number;
|
|
72
|
+
/**
|
|
73
|
+
* Total RAM in GiB on the runner
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof RunnerHealthMetrics
|
|
76
|
+
*/
|
|
77
|
+
memoryGiB: number;
|
|
78
|
+
/**
|
|
79
|
+
* Total disk space in GiB on the runner
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof RunnerHealthMetrics
|
|
82
|
+
*/
|
|
83
|
+
diskGiB: number;
|
|
84
|
+
}
|
|
@@ -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,49 @@
|
|
|
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 API URL
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof RunnerHealthcheck
|
|
41
|
+
*/
|
|
42
|
+
apiUrl?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Runner app version
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RunnerHealthcheck
|
|
47
|
+
*/
|
|
48
|
+
appVersion: string;
|
|
49
|
+
}
|
|
@@ -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}
|
|
@@ -143,6 +137,12 @@ export interface Runner {
|
|
|
143
137
|
* @memberof Runner
|
|
144
138
|
*/
|
|
145
139
|
region: string;
|
|
140
|
+
/**
|
|
141
|
+
* The name of the runner
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof Runner
|
|
144
|
+
*/
|
|
145
|
+
name: string;
|
|
146
146
|
/**
|
|
147
147
|
* The state of the runner
|
|
148
148
|
* @type {RunnerState}
|
|
@@ -174,9 +174,24 @@ export interface Runner {
|
|
|
174
174
|
*/
|
|
175
175
|
updatedAt: string;
|
|
176
176
|
/**
|
|
177
|
-
* The version of the runner
|
|
177
|
+
* The version of the runner (deprecated in favor of apiVersion)
|
|
178
178
|
* @type {string}
|
|
179
179
|
* @memberof Runner
|
|
180
|
+
* @deprecated
|
|
180
181
|
*/
|
|
181
182
|
version: string;
|
|
183
|
+
/**
|
|
184
|
+
* The api version of the runner
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof Runner
|
|
187
|
+
* @deprecated
|
|
188
|
+
*/
|
|
189
|
+
apiVersion: string;
|
|
190
|
+
/**
|
|
191
|
+
* The app version of the runner
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof Runner
|
|
194
|
+
* @deprecated
|
|
195
|
+
*/
|
|
196
|
+
appVersion?: string;
|
|
182
197
|
}
|
package/src/models/sandbox.d.ts
CHANGED
|
@@ -204,6 +204,12 @@ export interface Sandbox {
|
|
|
204
204
|
* @memberof Sandbox
|
|
205
205
|
*/
|
|
206
206
|
daemonVersion?: string;
|
|
207
|
+
/**
|
|
208
|
+
* The runner ID of the sandbox
|
|
209
|
+
* @type {string}
|
|
210
|
+
* @memberof Sandbox
|
|
211
|
+
*/
|
|
212
|
+
runnerId?: string;
|
|
207
213
|
}
|
|
208
214
|
export declare const SandboxBackupStateEnum: {
|
|
209
215
|
readonly NONE: "None";
|
|
@@ -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;;;AAkNU,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"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 SignedPortPreviewUrl
|
|
16
|
+
*/
|
|
17
|
+
export interface SignedPortPreviewUrl {
|
|
18
|
+
/**
|
|
19
|
+
* ID of the sandbox
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignedPortPreviewUrl
|
|
22
|
+
*/
|
|
23
|
+
sandboxId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Port number of the signed preview URL
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SignedPortPreviewUrl
|
|
28
|
+
*/
|
|
29
|
+
port: number;
|
|
30
|
+
/**
|
|
31
|
+
* Token of the signed preview URL
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SignedPortPreviewUrl
|
|
34
|
+
*/
|
|
35
|
+
token: string;
|
|
36
|
+
/**
|
|
37
|
+
* Signed preview url
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SignedPortPreviewUrl
|
|
40
|
+
*/
|
|
41
|
+
url: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signed-port-preview-url.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/signed-port-preview-url.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
|
|
@@ -119,4 +119,22 @@ 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>;
|
|
128
|
+
/**
|
|
129
|
+
* The initial runner ID of the snapshot
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof SnapshotDto
|
|
132
|
+
*/
|
|
133
|
+
initialRunnerId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* The snapshot reference
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof SnapshotDto
|
|
138
|
+
*/
|
|
139
|
+
ref?: string;
|
|
122
140
|
}
|
|
@@ -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"}
|