@daytonaio/api-client 0.131.0-alpha.1 → 0.131.0-alpha.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.
Files changed (47) hide show
  1. package/package.json +1 -1
  2. package/src/api/preview-api.d.ts +34 -0
  3. package/src/api/preview-api.js +64 -0
  4. package/src/api/preview-api.js.map +1 -1
  5. package/src/api/sandbox-api.d.ts +171 -0
  6. package/src/api/sandbox-api.js +341 -0
  7. package/src/api/sandbox-api.js.map +1 -1
  8. package/src/models/clone-sandbox-response.d.ts +64 -0
  9. package/src/models/clone-sandbox-response.js +26 -0
  10. package/src/models/clone-sandbox-response.js.map +1 -0
  11. package/src/models/clone-sandbox.d.ts +24 -0
  12. package/src/models/clone-sandbox.js +4 -0
  13. package/src/models/clone-sandbox.js.map +1 -0
  14. package/src/models/create-sandbox.d.ts +7 -0
  15. package/src/models/create-sandbox.js.map +1 -1
  16. package/src/models/fork-sandbox-response.d.ts +64 -0
  17. package/src/models/fork-sandbox-response.js +26 -0
  18. package/src/models/fork-sandbox-response.js.map +1 -0
  19. package/src/models/fork-sandbox.d.ts +24 -0
  20. package/src/models/fork-sandbox.js +4 -0
  21. package/src/models/fork-sandbox.js.map +1 -0
  22. package/src/models/index.d.ts +6 -0
  23. package/src/models/index.js +6 -0
  24. package/src/models/index.js.map +1 -1
  25. package/src/models/job-type.d.ts +2 -0
  26. package/src/models/job-type.js +2 -0
  27. package/src/models/job-type.js.map +1 -1
  28. package/src/models/runner-class.d.ts +1 -0
  29. package/src/models/runner-class.js +1 -0
  30. package/src/models/runner-class.js.map +1 -1
  31. package/src/models/sandbox-state-info.d.ts +32 -0
  32. package/src/models/sandbox-state-info.js +16 -0
  33. package/src/models/sandbox-state-info.js.map +1 -0
  34. package/src/models/sandbox-state.d.ts +3 -0
  35. package/src/models/sandbox-state.js +3 -0
  36. package/src/models/sandbox-state.js.map +1 -1
  37. package/src/models/sandbox.d.ts +19 -0
  38. package/src/models/sandbox.js.map +1 -1
  39. package/src/models/ssh-access-dto.d.ts +12 -0
  40. package/src/models/update-sandbox-state-dto.d.ts +3 -0
  41. package/src/models/update-sandbox-state-dto.js +3 -0
  42. package/src/models/update-sandbox-state-dto.js.map +1 -1
  43. package/src/models/wake-on-request.d.ts +23 -0
  44. package/src/models/wake-on-request.js +27 -0
  45. package/src/models/wake-on-request.js.map +1 -0
  46. package/src/models/workspace.d.ts +19 -0
  47. package/src/models/workspace.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daytonaio/api-client",
3
- "version": "0.131.0-alpha.1",
3
+ "version": "0.131.0-alpha.2",
4
4
  "description": "OpenAPI client for @daytonaio/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -12,11 +12,20 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { SandboxStateInfo } from '../models';
15
16
  /**
16
17
  * PreviewApi - axios parameter creator
17
18
  * @export
18
19
  */
19
20
  export declare const PreviewApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @summary Get sandbox info for proxy/gateway
24
+ * @param {string} sandboxId ID of the sandbox
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ getSandboxInfo: (sandboxId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20
29
  /**
21
30
  *
22
31
  * @summary Check if user has access to the sandbox
@@ -48,6 +57,14 @@ export declare const PreviewApiAxiosParamCreator: (configuration?: Configuration
48
57
  * @export
49
58
  */
50
59
  export declare const PreviewApiFp: (configuration?: Configuration) => {
60
+ /**
61
+ *
62
+ * @summary Get sandbox info for proxy/gateway
63
+ * @param {string} sandboxId ID of the sandbox
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ getSandboxInfo(sandboxId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SandboxStateInfo>>;
51
68
  /**
52
69
  *
53
70
  * @summary Check if user has access to the sandbox
@@ -79,6 +96,14 @@ export declare const PreviewApiFp: (configuration?: Configuration) => {
79
96
  * @export
80
97
  */
81
98
  export declare const PreviewApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
99
+ /**
100
+ *
101
+ * @summary Get sandbox info for proxy/gateway
102
+ * @param {string} sandboxId ID of the sandbox
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ getSandboxInfo(sandboxId: string, options?: RawAxiosRequestConfig): AxiosPromise<SandboxStateInfo>;
82
107
  /**
83
108
  *
84
109
  * @summary Check if user has access to the sandbox
@@ -112,6 +137,15 @@ export declare const PreviewApiFactory: (configuration?: Configuration, basePath
112
137
  * @extends {BaseAPI}
113
138
  */
114
139
  export declare class PreviewApi extends BaseAPI {
140
+ /**
141
+ *
142
+ * @summary Get sandbox info for proxy/gateway
143
+ * @param {string} sandboxId ID of the sandbox
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ * @memberof PreviewApi
147
+ */
148
+ getSandboxInfo(sandboxId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SandboxStateInfo, any>>;
115
149
  /**
116
150
  *
117
151
  * @summary Check if user has access to the sandbox
@@ -26,6 +26,34 @@ const base_1 = require("../base");
26
26
  */
27
27
  const PreviewApiAxiosParamCreator = function (configuration) {
28
28
  return {
29
+ /**
30
+ *
31
+ * @summary Get sandbox info for proxy/gateway
32
+ * @param {string} sandboxId ID of the sandbox
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ getSandboxInfo: async (sandboxId, options = {}) => {
37
+ // verify required parameter 'sandboxId' is not null or undefined
38
+ (0, common_1.assertParamExists)('getSandboxInfo', 'sandboxId', sandboxId);
39
+ const localVarPath = `/preview/{sandboxId}/info`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
40
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
42
+ let baseOptions;
43
+ if (configuration) {
44
+ baseOptions = configuration.baseOptions;
45
+ }
46
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
47
+ const localVarHeaderParameter = {};
48
+ const localVarQueryParameter = {};
49
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
50
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
52
+ return {
53
+ url: (0, common_1.toPathString)(localVarUrlObj),
54
+ options: localVarRequestOptions,
55
+ };
56
+ },
29
57
  /**
30
58
  *
31
59
  * @summary Check if user has access to the sandbox
@@ -129,6 +157,19 @@ exports.PreviewApiAxiosParamCreator = PreviewApiAxiosParamCreator;
129
157
  const PreviewApiFp = function (configuration) {
130
158
  const localVarAxiosParamCreator = (0, exports.PreviewApiAxiosParamCreator)(configuration);
131
159
  return {
160
+ /**
161
+ *
162
+ * @summary Get sandbox info for proxy/gateway
163
+ * @param {string} sandboxId ID of the sandbox
164
+ * @param {*} [options] Override http request option.
165
+ * @throws {RequiredError}
166
+ */
167
+ async getSandboxInfo(sandboxId, options) {
168
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSandboxInfo(sandboxId, options);
169
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
170
+ const localVarOperationServerBasePath = base_1.operationServerMap['PreviewApi.getSandboxInfo']?.[localVarOperationServerIndex]?.url;
171
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
172
+ },
132
173
  /**
133
174
  *
134
175
  * @summary Check if user has access to the sandbox
@@ -179,6 +220,16 @@ exports.PreviewApiFp = PreviewApiFp;
179
220
  const PreviewApiFactory = function (configuration, basePath, axios) {
180
221
  const localVarFp = (0, exports.PreviewApiFp)(configuration);
181
222
  return {
223
+ /**
224
+ *
225
+ * @summary Get sandbox info for proxy/gateway
226
+ * @param {string} sandboxId ID of the sandbox
227
+ * @param {*} [options] Override http request option.
228
+ * @throws {RequiredError}
229
+ */
230
+ getSandboxInfo(sandboxId, options) {
231
+ return localVarFp.getSandboxInfo(sandboxId, options).then((request) => request(axios, basePath));
232
+ },
182
233
  /**
183
234
  *
184
235
  * @summary Check if user has access to the sandbox
@@ -220,6 +271,19 @@ exports.PreviewApiFactory = PreviewApiFactory;
220
271
  * @extends {BaseAPI}
221
272
  */
222
273
  class PreviewApi extends base_1.BaseAPI {
274
+ /**
275
+ *
276
+ * @summary Get sandbox info for proxy/gateway
277
+ * @param {string} sandboxId ID of the sandbox
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ * @memberof PreviewApi
281
+ */
282
+ getSandboxInfo(sandboxId, options) {
283
+ return (0, exports.PreviewApiFp)(this.configuration)
284
+ .getSandboxInfo(sandboxId, options)
285
+ .then((request) => request(this.axios, this.basePath));
286
+ }
223
287
  /**
224
288
  *
225
289
  * @summary Check if user has access to the sandbox
@@ -1 +1 @@
1
- {"version":3,"file":"preview-api.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/api/preview-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH,iCAA+B;AAC/B,yDAAyD;AACzD,aAAa;AACb,sCAWkB;AAClB,aAAa;AACb,kCAAqH;AACrH;;;GAGG;AACI,MAAM,2BAA2B,GAAG,UAAU,aAA6B;IAChF,OAAO;QACL;;;;;;WAMG;QACH,gBAAgB,EAAE,KAAK,EAAE,SAAiB,EAAE,UAAiC,EAAE,EAAwB,EAAE;YACvG,iEAAiE;YACjE,IAAA,0BAAiB,EAAC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ACpC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;IAED;;;;;;;OAOG;IACI,eAAe,CAAC,SAAiB,EAAE,OAA+B;QACvE,OAAO,IAAA,oBAAY,EAAC,IAAI,CAAC,aAAa,CAAC;aACpC,eAAe,CAAC,SAAS,EAAE,OAAO,CAAC;aACnC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;IAED;;;;;;;;OAQG;IACI,gBAAgB,CAAC,SAAiB,EAAE,SAAiB,EAAE,OAA+B;QAC3F,OAAO,IAAA,oBAAY,EAAC,IAAI,CAAC,aAAa,CAAC;aACpC,gBAAgB,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC;aAC/C,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1D,CAAC;CACF;AAzDD,gCAyDC"}
@@ -12,8 +12,12 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { CloneSandbox } from '../models';
16
+ import type { CloneSandboxResponse } from '../models';
15
17
  import type { CreateSandbox } from '../models';
16
18
  import type { CreateSandboxSnapshot } from '../models';
19
+ import type { ForkSandbox } from '../models';
20
+ import type { ForkSandboxResponse } from '../models';
17
21
  import type { PaginatedSandboxes } from '../models';
18
22
  import type { PortPreviewUrl } from '../models';
19
23
  import type { Sandbox } from '../models';
@@ -36,6 +40,16 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
36
40
  * @throws {RequiredError}
37
41
  */
38
42
  archiveSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * Create an independent copy of a sandbox with a complete flattened filesystem. Unlike fork, the cloned sandbox has no dependency on the source sandbox.
45
+ * @summary Clone a sandbox
46
+ * @param {string} sandboxIdOrName ID or name of the sandbox to clone
47
+ * @param {CloneSandbox} cloneSandbox
48
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ cloneSandbox: (sandboxIdOrName: string, cloneSandbox: CloneSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
53
  /**
40
54
  *
41
55
  * @summary Create sandbox backup
@@ -83,6 +97,16 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
83
97
  * @throws {RequiredError}
84
98
  */
85
99
  deleteSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
100
+ /**
101
+ * Create a clone of a sandbox. The fork includes both the filesystem and memory state. Only available for sandboxes running on LINUX_EXPERIMENTAL (Cloud Hypervisor) runners.
102
+ * @summary Fork a sandbox
103
+ * @param {string} sandboxIdOrName ID or name of the sandbox to fork
104
+ * @param {ForkSandbox} forkSandbox
105
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ forkSandbox: (sandboxIdOrName: string, forkSandbox: ForkSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
110
  /**
87
111
  *
88
112
  * @summary Get build logs
@@ -113,6 +137,26 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
113
137
  * @throws {RequiredError}
114
138
  */
115
139
  getSandbox: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
140
+ /**
141
+ * Get all sandboxes that were directly forked from this sandbox (direct children only).
142
+ * @summary Get fork children
143
+ * @param {string} sandboxIdOrName ID or name of the sandbox
144
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
145
+ * @param {boolean} [includeDestroyed] Include destroyed sandboxes in the result
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ getSandboxForks: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, includeDestroyed?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
150
+ /**
151
+ * Get the parent sandbox that this sandbox was forked from. Optionally get the full ancestor chain up to the root.
152
+ * @summary Get fork parent
153
+ * @param {string} sandboxIdOrName ID or name of the sandbox
154
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
155
+ * @param {boolean} [ancestors] If true, returns the full ancestor chain up to the root. If false, returns only the direct parent.
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ getSandboxParent: (sandboxIdOrName: string, xDaytonaOrganizationID?: string, ancestors?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
116
160
  /**
117
161
  *
118
162
  * @summary Get sandboxes for the authenticated runner
@@ -291,6 +335,16 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
291
335
  * @throws {RequiredError}
292
336
  */
293
337
  archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
338
+ /**
339
+ * Create an independent copy of a sandbox with a complete flattened filesystem. Unlike fork, the cloned sandbox has no dependency on the source sandbox.
340
+ * @summary Clone a sandbox
341
+ * @param {string} sandboxIdOrName ID or name of the sandbox to clone
342
+ * @param {CloneSandbox} cloneSandbox
343
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ */
347
+ cloneSandbox(sandboxIdOrName: string, cloneSandbox: CloneSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneSandboxResponse>>;
294
348
  /**
295
349
  *
296
350
  * @summary Create sandbox backup
@@ -338,6 +392,16 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
338
392
  * @throws {RequiredError}
339
393
  */
340
394
  deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
395
+ /**
396
+ * Create a clone of a sandbox. The fork includes both the filesystem and memory state. Only available for sandboxes running on LINUX_EXPERIMENTAL (Cloud Hypervisor) runners.
397
+ * @summary Fork a sandbox
398
+ * @param {string} sandboxIdOrName ID or name of the sandbox to fork
399
+ * @param {ForkSandbox} forkSandbox
400
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
401
+ * @param {*} [options] Override http request option.
402
+ * @throws {RequiredError}
403
+ */
404
+ forkSandbox(sandboxIdOrName: string, forkSandbox: ForkSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForkSandboxResponse>>;
341
405
  /**
342
406
  *
343
407
  * @summary Get build logs
@@ -368,6 +432,26 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
368
432
  * @throws {RequiredError}
369
433
  */
370
434
  getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
435
+ /**
436
+ * Get all sandboxes that were directly forked from this sandbox (direct children only).
437
+ * @summary Get fork children
438
+ * @param {string} sandboxIdOrName ID or name of the sandbox
439
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
440
+ * @param {boolean} [includeDestroyed] Include destroyed sandboxes in the result
441
+ * @param {*} [options] Override http request option.
442
+ * @throws {RequiredError}
443
+ */
444
+ getSandboxForks(sandboxIdOrName: string, xDaytonaOrganizationID?: string, includeDestroyed?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
445
+ /**
446
+ * Get the parent sandbox that this sandbox was forked from. Optionally get the full ancestor chain up to the root.
447
+ * @summary Get fork parent
448
+ * @param {string} sandboxIdOrName ID or name of the sandbox
449
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
450
+ * @param {boolean} [ancestors] If true, returns the full ancestor chain up to the root. If false, returns only the direct parent.
451
+ * @param {*} [options] Override http request option.
452
+ * @throws {RequiredError}
453
+ */
454
+ getSandboxParent(sandboxIdOrName: string, xDaytonaOrganizationID?: string, ancestors?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Sandbox>>;
371
455
  /**
372
456
  *
373
457
  * @summary Get sandboxes for the authenticated runner
@@ -546,6 +630,16 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
546
630
  * @throws {RequiredError}
547
631
  */
548
632
  archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
633
+ /**
634
+ * Create an independent copy of a sandbox with a complete flattened filesystem. Unlike fork, the cloned sandbox has no dependency on the source sandbox.
635
+ * @summary Clone a sandbox
636
+ * @param {string} sandboxIdOrName ID or name of the sandbox to clone
637
+ * @param {CloneSandbox} cloneSandbox
638
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
639
+ * @param {*} [options] Override http request option.
640
+ * @throws {RequiredError}
641
+ */
642
+ cloneSandbox(sandboxIdOrName: string, cloneSandbox: CloneSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<CloneSandboxResponse>;
549
643
  /**
550
644
  *
551
645
  * @summary Create sandbox backup
@@ -593,6 +687,16 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
593
687
  * @throws {RequiredError}
594
688
  */
595
689
  deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
690
+ /**
691
+ * Create a clone of a sandbox. The fork includes both the filesystem and memory state. Only available for sandboxes running on LINUX_EXPERIMENTAL (Cloud Hypervisor) runners.
692
+ * @summary Fork a sandbox
693
+ * @param {string} sandboxIdOrName ID or name of the sandbox to fork
694
+ * @param {ForkSandbox} forkSandbox
695
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
696
+ * @param {*} [options] Override http request option.
697
+ * @throws {RequiredError}
698
+ */
699
+ forkSandbox(sandboxIdOrName: string, forkSandbox: ForkSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ForkSandboxResponse>;
596
700
  /**
597
701
  *
598
702
  * @summary Get build logs
@@ -623,6 +727,26 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
623
727
  * @throws {RequiredError}
624
728
  */
625
729
  getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
730
+ /**
731
+ * Get all sandboxes that were directly forked from this sandbox (direct children only).
732
+ * @summary Get fork children
733
+ * @param {string} sandboxIdOrName ID or name of the sandbox
734
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
735
+ * @param {boolean} [includeDestroyed] Include destroyed sandboxes in the result
736
+ * @param {*} [options] Override http request option.
737
+ * @throws {RequiredError}
738
+ */
739
+ getSandboxForks(sandboxIdOrName: string, xDaytonaOrganizationID?: string, includeDestroyed?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
740
+ /**
741
+ * Get the parent sandbox that this sandbox was forked from. Optionally get the full ancestor chain up to the root.
742
+ * @summary Get fork parent
743
+ * @param {string} sandboxIdOrName ID or name of the sandbox
744
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
745
+ * @param {boolean} [ancestors] If true, returns the full ancestor chain up to the root. If false, returns only the direct parent.
746
+ * @param {*} [options] Override http request option.
747
+ * @throws {RequiredError}
748
+ */
749
+ getSandboxParent(sandboxIdOrName: string, xDaytonaOrganizationID?: string, ancestors?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Sandbox>;
626
750
  /**
627
751
  *
628
752
  * @summary Get sandboxes for the authenticated runner
@@ -804,6 +928,17 @@ export declare class SandboxApi extends BaseAPI {
804
928
  * @memberof SandboxApi
805
929
  */
806
930
  archiveSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
931
+ /**
932
+ * Create an independent copy of a sandbox with a complete flattened filesystem. Unlike fork, the cloned sandbox has no dependency on the source sandbox.
933
+ * @summary Clone a sandbox
934
+ * @param {string} sandboxIdOrName ID or name of the sandbox to clone
935
+ * @param {CloneSandbox} cloneSandbox
936
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
937
+ * @param {*} [options] Override http request option.
938
+ * @throws {RequiredError}
939
+ * @memberof SandboxApi
940
+ */
941
+ cloneSandbox(sandboxIdOrName: string, cloneSandbox: CloneSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CloneSandboxResponse, any>>;
807
942
  /**
808
943
  *
809
944
  * @summary Create sandbox backup
@@ -856,6 +991,17 @@ export declare class SandboxApi extends BaseAPI {
856
991
  * @memberof SandboxApi
857
992
  */
858
993
  deleteSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
994
+ /**
995
+ * Create a clone of a sandbox. The fork includes both the filesystem and memory state. Only available for sandboxes running on LINUX_EXPERIMENTAL (Cloud Hypervisor) runners.
996
+ * @summary Fork a sandbox
997
+ * @param {string} sandboxIdOrName ID or name of the sandbox to fork
998
+ * @param {ForkSandbox} forkSandbox
999
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1000
+ * @param {*} [options] Override http request option.
1001
+ * @throws {RequiredError}
1002
+ * @memberof SandboxApi
1003
+ */
1004
+ forkSandbox(sandboxIdOrName: string, forkSandbox: ForkSandbox, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ForkSandboxResponse, any>>;
859
1005
  /**
860
1006
  *
861
1007
  * @summary Get build logs
@@ -889,6 +1035,28 @@ export declare class SandboxApi extends BaseAPI {
889
1035
  * @memberof SandboxApi
890
1036
  */
891
1037
  getSandbox(sandboxIdOrName: string, xDaytonaOrganizationID?: string, verbose?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
1038
+ /**
1039
+ * Get all sandboxes that were directly forked from this sandbox (direct children only).
1040
+ * @summary Get fork children
1041
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1042
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1043
+ * @param {boolean} [includeDestroyed] Include destroyed sandboxes in the result
1044
+ * @param {*} [options] Override http request option.
1045
+ * @throws {RequiredError}
1046
+ * @memberof SandboxApi
1047
+ */
1048
+ getSandboxForks(sandboxIdOrName: string, xDaytonaOrganizationID?: string, includeDestroyed?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any>>;
1049
+ /**
1050
+ * Get the parent sandbox that this sandbox was forked from. Optionally get the full ancestor chain up to the root.
1051
+ * @summary Get fork parent
1052
+ * @param {string} sandboxIdOrName ID or name of the sandbox
1053
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1054
+ * @param {boolean} [ancestors] If true, returns the full ancestor chain up to the root. If false, returns only the direct parent.
1055
+ * @param {*} [options] Override http request option.
1056
+ * @throws {RequiredError}
1057
+ * @memberof SandboxApi
1058
+ */
1059
+ getSandboxParent(sandboxIdOrName: string, xDaytonaOrganizationID?: string, ancestors?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox, any>>;
892
1060
  /**
893
1061
  *
894
1062
  * @summary Get sandboxes for the authenticated runner
@@ -1087,6 +1255,9 @@ export declare const ListSandboxesPaginatedStatesEnum: {
1087
1255
  readonly PULLING_SNAPSHOT: "pulling_snapshot";
1088
1256
  readonly ARCHIVED: "archived";
1089
1257
  readonly ARCHIVING: "archiving";
1258
+ readonly SNAPSHOTTING: "snapshotting";
1259
+ readonly FORKING: "forking";
1260
+ readonly CLONING: "cloning";
1090
1261
  };
1091
1262
  export type ListSandboxesPaginatedStatesEnum = (typeof ListSandboxesPaginatedStatesEnum)[keyof typeof ListSandboxesPaginatedStatesEnum];
1092
1263
  /**