@daytonaio/api-client 0.164.0 → 0.165.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/package.json +1 -1
- package/src/api/sandbox-api.d.ts +201 -0
- package/src/api/sandbox-api.js +396 -1
- package/src/api/sandbox-api.js.map +1 -1
- package/src/models/create-sandbox-snapshot.d.ts +24 -0
- package/src/models/create-sandbox-snapshot.js +16 -0
- package/src/models/create-sandbox-snapshot.js.map +1 -0
- package/src/models/fork-sandbox.d.ts +24 -0
- package/src/models/fork-sandbox.js +16 -0
- package/src/models/fork-sandbox.js.map +1 -0
- package/src/models/index.d.ts +3 -0
- package/src/models/index.js +3 -0
- package/src/models/index.js.map +1 -1
- package/src/models/job-type.d.ts +2 -0
- package/src/models/job-type.js +3 -1
- package/src/models/job-type.js.map +1 -1
- package/src/models/runner-class.d.ts +21 -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 +7 -0
- package/src/models/runner.d.ts +7 -0
- package/src/models/sandbox-state.d.ts +2 -0
- package/src/models/sandbox-state.js +3 -1
- package/src/models/sandbox-state.js.map +1 -1
- package/src/models/update-sandbox-state-dto.d.ts +2 -0
- package/src/models/update-sandbox-state-dto.js +3 -1
- package/src/models/update-sandbox-state-dto.js.map +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* The class of the runner
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const RunnerClass: {
|
|
18
|
+
readonly CONTAINER: "container";
|
|
19
|
+
readonly VM: "vm";
|
|
20
|
+
};
|
|
21
|
+
export type RunnerClass = typeof RunnerClass[keyof typeof RunnerClass];
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
exports.RunnerClass = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The class of the runner
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.RunnerClass = {
|
|
23
|
+
CONTAINER: 'container',
|
|
24
|
+
VM: 'vm'
|
|
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;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,WAAW,GAAG;IACvB,SAAS,EAAE,WAAW;IACtB,EAAE,EAAE,IAAI;CACF,CAAC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { RegionType } from './region-type';
|
|
13
|
+
import type { RunnerClass } from './runner-class';
|
|
13
14
|
import type { RunnerState } from './runner-state';
|
|
14
15
|
import type { SandboxClass } from './sandbox-class';
|
|
15
16
|
/**
|
|
@@ -188,6 +189,12 @@ export interface RunnerFull {
|
|
|
188
189
|
* @deprecated
|
|
189
190
|
*/
|
|
190
191
|
'apiVersion': string;
|
|
192
|
+
/**
|
|
193
|
+
* The class of the runner
|
|
194
|
+
* @type {RunnerClass}
|
|
195
|
+
* @memberof RunnerFull
|
|
196
|
+
*/
|
|
197
|
+
'runnerClass': RunnerClass;
|
|
191
198
|
/**
|
|
192
199
|
* The app version of the runner
|
|
193
200
|
* @type {string}
|
package/src/models/runner.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 { RunnerClass } from './runner-class';
|
|
12
13
|
import type { RunnerState } from './runner-state';
|
|
13
14
|
import type { SandboxClass } from './sandbox-class';
|
|
14
15
|
/**
|
|
@@ -187,6 +188,12 @@ export interface Runner {
|
|
|
187
188
|
* @deprecated
|
|
188
189
|
*/
|
|
189
190
|
'apiVersion': string;
|
|
191
|
+
/**
|
|
192
|
+
* The class of the runner
|
|
193
|
+
* @type {RunnerClass}
|
|
194
|
+
* @memberof Runner
|
|
195
|
+
*/
|
|
196
|
+
'runnerClass': RunnerClass;
|
|
190
197
|
/**
|
|
191
198
|
* The app version of the runner
|
|
192
199
|
* @type {string}
|
|
@@ -32,5 +32,7 @@ export declare const SandboxState: {
|
|
|
32
32
|
readonly ARCHIVED: "archived";
|
|
33
33
|
readonly ARCHIVING: "archiving";
|
|
34
34
|
readonly RESIZING: "resizing";
|
|
35
|
+
readonly SNAPSHOTTING: "snapshotting";
|
|
36
|
+
readonly FORKING: "forking";
|
|
35
37
|
};
|
|
36
38
|
export type SandboxState = typeof SandboxState[keyof typeof SandboxState];
|
|
@@ -36,6 +36,8 @@ exports.SandboxState = {
|
|
|
36
36
|
PULLING_SNAPSHOT: 'pulling_snapshot',
|
|
37
37
|
ARCHIVED: 'archived',
|
|
38
38
|
ARCHIVING: 'archiving',
|
|
39
|
-
RESIZING: 'resizing'
|
|
39
|
+
RESIZING: 'resizing',
|
|
40
|
+
SNAPSHOTTING: 'snapshotting',
|
|
41
|
+
FORKING: 'forking'
|
|
40
42
|
};
|
|
41
43
|
//# sourceMappingURL=sandbox-state.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-state.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-state.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,OAAO,EAAE,SAAS;IAClB,gBAAgB,EAAE,kBAAkB;IACpC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"sandbox-state.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/sandbox-state.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,OAAO,EAAE,SAAS;IAClB,gBAAgB,EAAE,kBAAkB;IACpC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;CACZ,CAAC"}
|
|
@@ -52,5 +52,7 @@ export declare const UpdateSandboxStateDtoStateEnum: {
|
|
|
52
52
|
readonly ARCHIVED: "archived";
|
|
53
53
|
readonly ARCHIVING: "archiving";
|
|
54
54
|
readonly RESIZING: "resizing";
|
|
55
|
+
readonly SNAPSHOTTING: "snapshotting";
|
|
56
|
+
readonly FORKING: "forking";
|
|
55
57
|
};
|
|
56
58
|
export type UpdateSandboxStateDtoStateEnum = typeof UpdateSandboxStateDtoStateEnum[keyof typeof UpdateSandboxStateDtoStateEnum];
|
|
@@ -31,6 +31,8 @@ exports.UpdateSandboxStateDtoStateEnum = {
|
|
|
31
31
|
PULLING_SNAPSHOT: 'pulling_snapshot',
|
|
32
32
|
ARCHIVED: 'archived',
|
|
33
33
|
ARCHIVING: 'archiving',
|
|
34
|
-
RESIZING: 'resizing'
|
|
34
|
+
RESIZING: 'resizing',
|
|
35
|
+
SNAPSHOTTING: 'snapshotting',
|
|
36
|
+
FORKING: 'forking'
|
|
35
37
|
};
|
|
36
38
|
//# sourceMappingURL=update-sandbox-state-dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sandbox-state-dto.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/update-sandbox-state-dto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA8BU,QAAA,8BAA8B,GAAG;IAC1C,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,OAAO,EAAE,SAAS;IAClB,gBAAgB,EAAE,kBAAkB;IACpC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"update-sandbox-state-dto.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/update-sandbox-state-dto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA8BU,QAAA,8BAA8B,GAAG;IAC1C,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,OAAO,EAAE,SAAS;IAClB,gBAAgB,EAAE,kBAAkB;IACpC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;CACZ,CAAC"}
|