@daytonaio/api-client 0.130.0 → 0.131.0-alpha.1
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 +80 -37
- package/src/api/sandbox-api.js +162 -77
- package/src/api/sandbox-api.js.map +1 -1
- package/src/api/snapshots-api.d.ts +38 -0
- package/src/api/snapshots-api.js +77 -0
- 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/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-sandbox-snapshot.d.ts +30 -0
- package/src/models/create-sandbox-snapshot.js +4 -0
- package/src/models/create-sandbox-snapshot.js.map +1 -0
- package/src/models/create-snapshot.d.ts +6 -0
- package/src/models/index.d.ts +19 -1
- package/src/models/index.js +19 -1
- 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 +29 -0
- package/src/models/job-type.js +33 -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-class.d.ts +22 -0
- package/src/models/runner-class.js +26 -0
- package/src/models/runner-class.js.map +1 -0
- 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 +30 -21
- package/src/models/sandbox.d.ts +0 -6
- package/src/models/sandbox.js.map +1 -1
- package/src/models/snapshot-dto.d.ts +13 -0
- package/src/models/snapshot-runner-class-dto.d.ts +25 -0
- package/src/models/snapshot-runner-class-dto.js +16 -0
- package/src/models/snapshot-runner-class-dto.js.map +1 -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,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.RunnerClass = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* Daytona
|
|
7
|
+
* Daytona AI platform API Docs
|
|
8
|
+
*
|
|
9
|
+
* The version of the OpenAPI document: 1.0
|
|
10
|
+
* Contact: support@daytona.com
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
+
* https://openapi-generator.tech
|
|
14
|
+
* Do not edit the class manually.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* The class of the runner
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
exports.RunnerClass = {
|
|
22
|
+
LINUX: 'linux',
|
|
23
|
+
LINUX_EXP: 'linux-exp',
|
|
24
|
+
WINDOWS_EXP: 'windows-exp',
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=runner-class.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runner-class.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/runner-class.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEpB;;;;;;;;;;GAUG;AAEH;;;;GAIG;AAEU,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;CAClB,CAAA"}
|
|
@@ -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 { RunnerClass } from './runner-class';
|
|
14
|
+
import type { RunnerState } from './runner-state';
|
|
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 {RunnerClass}
|
|
78
|
+
* @memberof RunnerFull
|
|
79
|
+
*/
|
|
80
|
+
class: RunnerClass;
|
|
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
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { RunnerClass } from './runner-class';
|
|
12
13
|
import type { RunnerState } from './runner-state';
|
|
13
|
-
import type { SandboxClass } from './sandbox-class';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -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,19 +64,19 @@ 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
|
-
* @type {
|
|
76
|
+
* @type {RunnerClass}
|
|
83
77
|
* @memberof Runner
|
|
84
78
|
*/
|
|
85
|
-
class:
|
|
79
|
+
class: RunnerClass;
|
|
86
80
|
/**
|
|
87
81
|
* Current CPU usage percentage
|
|
88
82
|
* @type {number}
|
|
@@ -125,12 +119,6 @@ export interface Runner {
|
|
|
125
119
|
* @memberof Runner
|
|
126
120
|
*/
|
|
127
121
|
currentSnapshotCount?: number;
|
|
128
|
-
/**
|
|
129
|
-
* Current number of started sandboxes
|
|
130
|
-
* @type {number}
|
|
131
|
-
* @memberof Runner
|
|
132
|
-
*/
|
|
133
|
-
currentStartedSandboxes?: number;
|
|
134
122
|
/**
|
|
135
123
|
* Runner availability score
|
|
136
124
|
* @type {number}
|
|
@@ -143,6 +131,12 @@ export interface Runner {
|
|
|
143
131
|
* @memberof Runner
|
|
144
132
|
*/
|
|
145
133
|
region: string;
|
|
134
|
+
/**
|
|
135
|
+
* The name of the runner
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof Runner
|
|
138
|
+
*/
|
|
139
|
+
name: string;
|
|
146
140
|
/**
|
|
147
141
|
* The state of the runner
|
|
148
142
|
* @type {RunnerState}
|
|
@@ -174,9 +168,24 @@ export interface Runner {
|
|
|
174
168
|
*/
|
|
175
169
|
updatedAt: string;
|
|
176
170
|
/**
|
|
177
|
-
* The version of the runner
|
|
171
|
+
* The version of the runner (deprecated in favor of apiVersion)
|
|
178
172
|
* @type {string}
|
|
179
173
|
* @memberof Runner
|
|
174
|
+
* @deprecated
|
|
180
175
|
*/
|
|
181
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;
|
|
182
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"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { BuildInfo } from './build-info';
|
|
13
|
+
import type { RunnerClass } from './runner-class';
|
|
13
14
|
import type { SnapshotState } from './snapshot-state';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -89,6 +90,12 @@ export interface SnapshotDto {
|
|
|
89
90
|
* @memberof SnapshotDto
|
|
90
91
|
*/
|
|
91
92
|
disk: number;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {RunnerClass}
|
|
96
|
+
* @memberof SnapshotDto
|
|
97
|
+
*/
|
|
98
|
+
runnerClass: RunnerClass;
|
|
92
99
|
/**
|
|
93
100
|
*
|
|
94
101
|
* @type {string}
|
|
@@ -119,4 +126,10 @@ export interface SnapshotDto {
|
|
|
119
126
|
* @memberof SnapshotDto
|
|
120
127
|
*/
|
|
121
128
|
buildInfo?: BuildInfo;
|
|
129
|
+
/**
|
|
130
|
+
* IDs of regions where the snapshot is available
|
|
131
|
+
* @type {Array<string>}
|
|
132
|
+
* @memberof SnapshotDto
|
|
133
|
+
*/
|
|
134
|
+
regionIds?: Array<string>;
|
|
122
135
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { RunnerClass } from './runner-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SnapshotRunnerClassDto
|
|
17
|
+
*/
|
|
18
|
+
export interface SnapshotRunnerClassDto {
|
|
19
|
+
/**
|
|
20
|
+
* The runner class of the snapshot
|
|
21
|
+
* @type {RunnerClass}
|
|
22
|
+
* @memberof SnapshotRunnerClassDto
|
|
23
|
+
*/
|
|
24
|
+
runnerClass: RunnerClass;
|
|
25
|
+
}
|
|
@@ -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=snapshot-runner-class-dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot-runner-class-dto.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/snapshot-runner-class-dto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -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"}
|