@daytonaio/api-client 0.164.0-alpha.1 → 0.165.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.
Files changed (62) hide show
  1. package/package.json +1 -1
  2. package/src/api/admin-api.d.ts +424 -0
  3. package/src/api/admin-api.js +848 -0
  4. package/src/api/admin-api.js.map +1 -1
  5. package/src/api/audit-api.d.ts +0 -49
  6. package/src/api/audit-api.js +0 -99
  7. package/src/api/audit-api.js.map +1 -1
  8. package/src/api/docker-registry-api.d.ts +0 -37
  9. package/src/api/docker-registry-api.js +0 -74
  10. package/src/api/docker-registry-api.js.map +1 -1
  11. package/src/api/health-api.js +3 -0
  12. package/src/api/health-api.js.map +1 -1
  13. package/src/api/organizations-api.d.ts +0 -67
  14. package/src/api/organizations-api.js +0 -134
  15. package/src/api/organizations-api.js.map +1 -1
  16. package/src/api/preview-api.js +12 -0
  17. package/src/api/preview-api.js.map +1 -1
  18. package/src/api/regions-api.js +0 -4
  19. package/src/api/regions-api.js.map +1 -1
  20. package/src/api/sandbox-api.d.ts +277 -0
  21. package/src/api/sandbox-api.js +544 -1
  22. package/src/api/sandbox-api.js.map +1 -1
  23. package/src/api/snapshots-api.d.ts +0 -79
  24. package/src/api/snapshots-api.js +0 -158
  25. package/src/api/snapshots-api.js.map +1 -1
  26. package/src/api/users-api.d.ts +0 -129
  27. package/src/api/users-api.js +0 -262
  28. package/src/api/users-api.js.map +1 -1
  29. package/src/api/webhooks-api.d.ts +0 -154
  30. package/src/api/webhooks-api.js +2 -300
  31. package/src/api/webhooks-api.js.map +1 -1
  32. package/src/models/{webhook-controller-get-status200-response.d.ts → admin-get-webhook-status200-response.d.ts} +3 -3
  33. package/src/models/{webhook-controller-get-status200-response.js → admin-get-webhook-status200-response.js} +1 -1
  34. package/src/models/admin-get-webhook-status200-response.js.map +1 -0
  35. package/src/models/create-docker-registry.d.ts +0 -19
  36. package/src/models/create-docker-registry.js +0 -7
  37. package/src/models/create-docker-registry.js.map +1 -1
  38. package/src/models/create-sandbox-snapshot.d.ts +24 -0
  39. package/src/models/create-sandbox-snapshot.js +16 -0
  40. package/src/models/create-sandbox-snapshot.js.map +1 -0
  41. package/src/models/create-snapshot.d.ts +0 -6
  42. package/src/models/fork-sandbox.d.ts +24 -0
  43. package/src/models/fork-sandbox.js +16 -0
  44. package/src/models/fork-sandbox.js.map +1 -0
  45. package/src/models/index.d.ts +4 -1
  46. package/src/models/index.js +4 -1
  47. package/src/models/index.js.map +1 -1
  48. package/src/models/job-type.d.ts +2 -0
  49. package/src/models/job-type.js +3 -1
  50. package/src/models/job-type.js.map +1 -1
  51. package/src/models/runner-class.d.ts +21 -0
  52. package/src/models/runner-class.js +26 -0
  53. package/src/models/runner-class.js.map +1 -0
  54. package/src/models/runner-full.d.ts +7 -0
  55. package/src/models/runner.d.ts +7 -0
  56. package/src/models/sandbox-state.d.ts +2 -0
  57. package/src/models/sandbox-state.js +3 -1
  58. package/src/models/sandbox-state.js.map +1 -1
  59. package/src/models/update-sandbox-state-dto.d.ts +2 -0
  60. package/src/models/update-sandbox-state-dto.js +3 -1
  61. package/src/models/update-sandbox-state-dto.js.map +1 -1
  62. package/src/models/webhook-controller-get-status200-response.js.map +0 -1
@@ -138,6 +138,48 @@ const SandboxApiAxiosParamCreator = function (configuration) {
138
138
  options: localVarRequestOptions,
139
139
  };
140
140
  },
141
+ /**
142
+ *
143
+ * @summary Create a snapshot from a sandbox
144
+ * @param {string} sandboxIdOrName
145
+ * @param {CreateSandboxSnapshot} createSandboxSnapshot
146
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ createSandboxSnapshot: async (sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options = {}) => {
151
+ // verify required parameter 'sandboxIdOrName' is not null or undefined
152
+ (0, common_1.assertParamExists)('createSandboxSnapshot', 'sandboxIdOrName', sandboxIdOrName);
153
+ // verify required parameter 'createSandboxSnapshot' is not null or undefined
154
+ (0, common_1.assertParamExists)('createSandboxSnapshot', 'createSandboxSnapshot', createSandboxSnapshot);
155
+ const localVarPath = `/sandbox/{sandboxIdOrName}/snapshot`
156
+ .replace(`{${"sandboxIdOrName"}}`, encodeURIComponent(String(sandboxIdOrName)));
157
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
158
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
159
+ let baseOptions;
160
+ if (configuration) {
161
+ baseOptions = configuration.baseOptions;
162
+ }
163
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
164
+ const localVarHeaderParameter = {};
165
+ const localVarQueryParameter = {};
166
+ // authentication bearer required
167
+ // http bearer authentication required
168
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
169
+ // authentication oauth2 required
170
+ localVarHeaderParameter['Content-Type'] = 'application/json';
171
+ if (xDaytonaOrganizationID != null) {
172
+ localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
173
+ }
174
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
175
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
176
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
177
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSandboxSnapshot, localVarRequestOptions, configuration);
178
+ return {
179
+ url: (0, common_1.toPathString)(localVarUrlObj),
180
+ options: localVarRequestOptions,
181
+ };
182
+ },
141
183
  /**
142
184
  *
143
185
  * @summary Create SSH access for sandbox
@@ -261,6 +303,48 @@ const SandboxApiAxiosParamCreator = function (configuration) {
261
303
  options: localVarRequestOptions,
262
304
  };
263
305
  },
306
+ /**
307
+ *
308
+ * @summary Fork a sandbox
309
+ * @param {string} sandboxIdOrName
310
+ * @param {ForkSandbox} forkSandbox
311
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
312
+ * @param {*} [options] Override http request option.
313
+ * @throws {RequiredError}
314
+ */
315
+ forkSandbox: async (sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options = {}) => {
316
+ // verify required parameter 'sandboxIdOrName' is not null or undefined
317
+ (0, common_1.assertParamExists)('forkSandbox', 'sandboxIdOrName', sandboxIdOrName);
318
+ // verify required parameter 'forkSandbox' is not null or undefined
319
+ (0, common_1.assertParamExists)('forkSandbox', 'forkSandbox', forkSandbox);
320
+ const localVarPath = `/sandbox/{sandboxIdOrName}/fork`
321
+ .replace(`{${"sandboxIdOrName"}}`, encodeURIComponent(String(sandboxIdOrName)));
322
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
323
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
324
+ let baseOptions;
325
+ if (configuration) {
326
+ baseOptions = configuration.baseOptions;
327
+ }
328
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
329
+ const localVarHeaderParameter = {};
330
+ const localVarQueryParameter = {};
331
+ // authentication bearer required
332
+ // http bearer authentication required
333
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
334
+ // authentication oauth2 required
335
+ localVarHeaderParameter['Content-Type'] = 'application/json';
336
+ if (xDaytonaOrganizationID != null) {
337
+ localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
338
+ }
339
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
340
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
341
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
342
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(forkSandbox, localVarRequestOptions, configuration);
343
+ return {
344
+ url: (0, common_1.toPathString)(localVarUrlObj),
345
+ options: localVarRequestOptions,
346
+ };
347
+ },
264
348
  /**
265
349
  * This endpoint is deprecated. Use `getBuildLogsUrl` instead.
266
350
  * @summary Get build logs
@@ -340,6 +424,43 @@ const SandboxApiAxiosParamCreator = function (configuration) {
340
424
  options: localVarRequestOptions,
341
425
  };
342
426
  },
427
+ /**
428
+ *
429
+ * @summary Get organization by sandbox ID
430
+ * @param {string} sandboxId ID of the sandbox
431
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
432
+ * @param {*} [options] Override http request option.
433
+ * @throws {RequiredError}
434
+ */
435
+ getOrganizationBySandboxId: async (sandboxId, xDaytonaOrganizationID, options = {}) => {
436
+ // verify required parameter 'sandboxId' is not null or undefined
437
+ (0, common_1.assertParamExists)('getOrganizationBySandboxId', 'sandboxId', sandboxId);
438
+ const localVarPath = `/sandbox/{sandboxId}/organization`
439
+ .replace(`{${"sandboxId"}}`, encodeURIComponent(String(sandboxId)));
440
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
441
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
442
+ let baseOptions;
443
+ if (configuration) {
444
+ baseOptions = configuration.baseOptions;
445
+ }
446
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
447
+ const localVarHeaderParameter = {};
448
+ const localVarQueryParameter = {};
449
+ // authentication bearer required
450
+ // http bearer authentication required
451
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
452
+ // authentication oauth2 required
453
+ if (xDaytonaOrganizationID != null) {
454
+ localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
455
+ }
456
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
457
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
458
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
459
+ return {
460
+ url: (0, common_1.toPathString)(localVarUrlObj),
461
+ options: localVarRequestOptions,
462
+ };
463
+ },
343
464
  /**
344
465
  *
345
466
  * @summary Get preview URL for a sandbox port
@@ -381,6 +502,43 @@ const SandboxApiAxiosParamCreator = function (configuration) {
381
502
  options: localVarRequestOptions,
382
503
  };
383
504
  },
505
+ /**
506
+ *
507
+ * @summary Get region quota by sandbox ID
508
+ * @param {string} sandboxId ID of the sandbox
509
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
510
+ * @param {*} [options] Override http request option.
511
+ * @throws {RequiredError}
512
+ */
513
+ getRegionQuotaBySandboxId: async (sandboxId, xDaytonaOrganizationID, options = {}) => {
514
+ // verify required parameter 'sandboxId' is not null or undefined
515
+ (0, common_1.assertParamExists)('getRegionQuotaBySandboxId', 'sandboxId', sandboxId);
516
+ const localVarPath = `/sandbox/{sandboxId}/region-quota`
517
+ .replace(`{${"sandboxId"}}`, encodeURIComponent(String(sandboxId)));
518
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
519
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
520
+ let baseOptions;
521
+ if (configuration) {
522
+ baseOptions = configuration.baseOptions;
523
+ }
524
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
525
+ const localVarHeaderParameter = {};
526
+ const localVarQueryParameter = {};
527
+ // authentication bearer required
528
+ // http bearer authentication required
529
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
530
+ // authentication oauth2 required
531
+ if (xDaytonaOrganizationID != null) {
532
+ localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
533
+ }
534
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
535
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
536
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
537
+ return {
538
+ url: (0, common_1.toPathString)(localVarUrlObj),
539
+ options: localVarRequestOptions,
540
+ };
541
+ },
384
542
  /**
385
543
  *
386
544
  * @summary Get sandbox details
@@ -422,6 +580,84 @@ const SandboxApiAxiosParamCreator = function (configuration) {
422
580
  options: localVarRequestOptions,
423
581
  };
424
582
  },
583
+ /**
584
+ *
585
+ * @summary Get sandbox fork ancestor chain
586
+ * @param {string} sandboxIdOrName
587
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
588
+ * @param {*} [options] Override http request option.
589
+ * @throws {RequiredError}
590
+ */
591
+ getSandboxAncestors: async (sandboxIdOrName, xDaytonaOrganizationID, options = {}) => {
592
+ // verify required parameter 'sandboxIdOrName' is not null or undefined
593
+ (0, common_1.assertParamExists)('getSandboxAncestors', 'sandboxIdOrName', sandboxIdOrName);
594
+ const localVarPath = `/sandbox/{sandboxIdOrName}/ancestors`
595
+ .replace(`{${"sandboxIdOrName"}}`, encodeURIComponent(String(sandboxIdOrName)));
596
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
597
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
598
+ let baseOptions;
599
+ if (configuration) {
600
+ baseOptions = configuration.baseOptions;
601
+ }
602
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
603
+ const localVarHeaderParameter = {};
604
+ const localVarQueryParameter = {};
605
+ // authentication bearer required
606
+ // http bearer authentication required
607
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
608
+ // authentication oauth2 required
609
+ if (xDaytonaOrganizationID != null) {
610
+ localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
611
+ }
612
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
613
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
614
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
615
+ return {
616
+ url: (0, common_1.toPathString)(localVarUrlObj),
617
+ options: localVarRequestOptions,
618
+ };
619
+ },
620
+ /**
621
+ *
622
+ * @summary Get sandbox fork children
623
+ * @param {string} sandboxIdOrName
624
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
625
+ * @param {boolean} [includeDestroyed]
626
+ * @param {*} [options] Override http request option.
627
+ * @throws {RequiredError}
628
+ */
629
+ getSandboxForks: async (sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options = {}) => {
630
+ // verify required parameter 'sandboxIdOrName' is not null or undefined
631
+ (0, common_1.assertParamExists)('getSandboxForks', 'sandboxIdOrName', sandboxIdOrName);
632
+ const localVarPath = `/sandbox/{sandboxIdOrName}/forks`
633
+ .replace(`{${"sandboxIdOrName"}}`, encodeURIComponent(String(sandboxIdOrName)));
634
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
635
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
636
+ let baseOptions;
637
+ if (configuration) {
638
+ baseOptions = configuration.baseOptions;
639
+ }
640
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
641
+ const localVarHeaderParameter = {};
642
+ const localVarQueryParameter = {};
643
+ // authentication bearer required
644
+ // http bearer authentication required
645
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
646
+ // authentication oauth2 required
647
+ if (includeDestroyed !== undefined) {
648
+ localVarQueryParameter['includeDestroyed'] = includeDestroyed;
649
+ }
650
+ if (xDaytonaOrganizationID != null) {
651
+ localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
652
+ }
653
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
654
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
655
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
656
+ return {
657
+ url: (0, common_1.toPathString)(localVarUrlObj),
658
+ options: localVarRequestOptions,
659
+ };
660
+ },
425
661
  /**
426
662
  * Retrieve OTEL logs for a sandbox within a time range
427
663
  * @summary Get sandbox logs
@@ -548,6 +784,43 @@ const SandboxApiAxiosParamCreator = function (configuration) {
548
784
  options: localVarRequestOptions,
549
785
  };
550
786
  },
787
+ /**
788
+ *
789
+ * @summary Get sandbox fork parent
790
+ * @param {string} sandboxIdOrName
791
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
792
+ * @param {*} [options] Override http request option.
793
+ * @throws {RequiredError}
794
+ */
795
+ getSandboxParent: async (sandboxIdOrName, xDaytonaOrganizationID, options = {}) => {
796
+ // verify required parameter 'sandboxIdOrName' is not null or undefined
797
+ (0, common_1.assertParamExists)('getSandboxParent', 'sandboxIdOrName', sandboxIdOrName);
798
+ const localVarPath = `/sandbox/{sandboxIdOrName}/parent`
799
+ .replace(`{${"sandboxIdOrName"}}`, encodeURIComponent(String(sandboxIdOrName)));
800
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
801
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
802
+ let baseOptions;
803
+ if (configuration) {
804
+ baseOptions = configuration.baseOptions;
805
+ }
806
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
807
+ const localVarHeaderParameter = {};
808
+ const localVarQueryParameter = {};
809
+ // authentication bearer required
810
+ // http bearer authentication required
811
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
812
+ // authentication oauth2 required
813
+ if (xDaytonaOrganizationID != null) {
814
+ localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
815
+ }
816
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
817
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
818
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
819
+ return {
820
+ url: (0, common_1.toPathString)(localVarUrlObj),
821
+ options: localVarRequestOptions,
822
+ };
823
+ },
551
824
  /**
552
825
  * Retrieve all spans for a specific trace
553
826
  * @summary Get trace spans
@@ -1505,6 +1778,21 @@ const SandboxApiFp = function (configuration) {
1505
1778
  const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.createSandbox']?.[localVarOperationServerIndex]?.url;
1506
1779
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1507
1780
  },
1781
+ /**
1782
+ *
1783
+ * @summary Create a snapshot from a sandbox
1784
+ * @param {string} sandboxIdOrName
1785
+ * @param {CreateSandboxSnapshot} createSandboxSnapshot
1786
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1787
+ * @param {*} [options] Override http request option.
1788
+ * @throws {RequiredError}
1789
+ */
1790
+ async createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options) {
1791
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options);
1792
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1793
+ const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.createSandboxSnapshot']?.[localVarOperationServerIndex]?.url;
1794
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1795
+ },
1508
1796
  /**
1509
1797
  *
1510
1798
  * @summary Create SSH access for sandbox
@@ -1550,6 +1838,21 @@ const SandboxApiFp = function (configuration) {
1550
1838
  const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.expireSignedPortPreviewUrl']?.[localVarOperationServerIndex]?.url;
1551
1839
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1552
1840
  },
1841
+ /**
1842
+ *
1843
+ * @summary Fork a sandbox
1844
+ * @param {string} sandboxIdOrName
1845
+ * @param {ForkSandbox} forkSandbox
1846
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1847
+ * @param {*} [options] Override http request option.
1848
+ * @throws {RequiredError}
1849
+ */
1850
+ async forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options) {
1851
+ const localVarAxiosArgs = await localVarAxiosParamCreator.forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options);
1852
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1853
+ const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.forkSandbox']?.[localVarOperationServerIndex]?.url;
1854
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1855
+ },
1553
1856
  /**
1554
1857
  * This endpoint is deprecated. Use `getBuildLogsUrl` instead.
1555
1858
  * @summary Get build logs
@@ -1580,6 +1883,20 @@ const SandboxApiFp = function (configuration) {
1580
1883
  const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getBuildLogsUrl']?.[localVarOperationServerIndex]?.url;
1581
1884
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1582
1885
  },
1886
+ /**
1887
+ *
1888
+ * @summary Get organization by sandbox ID
1889
+ * @param {string} sandboxId ID of the sandbox
1890
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1891
+ * @param {*} [options] Override http request option.
1892
+ * @throws {RequiredError}
1893
+ */
1894
+ async getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
1895
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options);
1896
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1897
+ const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getOrganizationBySandboxId']?.[localVarOperationServerIndex]?.url;
1898
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1899
+ },
1583
1900
  /**
1584
1901
  *
1585
1902
  * @summary Get preview URL for a sandbox port
@@ -1595,6 +1912,20 @@ const SandboxApiFp = function (configuration) {
1595
1912
  const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getPortPreviewUrl']?.[localVarOperationServerIndex]?.url;
1596
1913
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1597
1914
  },
1915
+ /**
1916
+ *
1917
+ * @summary Get region quota by sandbox ID
1918
+ * @param {string} sandboxId ID of the sandbox
1919
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1920
+ * @param {*} [options] Override http request option.
1921
+ * @throws {RequiredError}
1922
+ */
1923
+ async getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
1924
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options);
1925
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1926
+ const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getRegionQuotaBySandboxId']?.[localVarOperationServerIndex]?.url;
1927
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1928
+ },
1598
1929
  /**
1599
1930
  *
1600
1931
  * @summary Get sandbox details
@@ -1610,6 +1941,35 @@ const SandboxApiFp = function (configuration) {
1610
1941
  const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getSandbox']?.[localVarOperationServerIndex]?.url;
1611
1942
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1612
1943
  },
1944
+ /**
1945
+ *
1946
+ * @summary Get sandbox fork ancestor chain
1947
+ * @param {string} sandboxIdOrName
1948
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1949
+ * @param {*} [options] Override http request option.
1950
+ * @throws {RequiredError}
1951
+ */
1952
+ async getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options) {
1953
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options);
1954
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1955
+ const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getSandboxAncestors']?.[localVarOperationServerIndex]?.url;
1956
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1957
+ },
1958
+ /**
1959
+ *
1960
+ * @summary Get sandbox fork children
1961
+ * @param {string} sandboxIdOrName
1962
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1963
+ * @param {boolean} [includeDestroyed]
1964
+ * @param {*} [options] Override http request option.
1965
+ * @throws {RequiredError}
1966
+ */
1967
+ async getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options) {
1968
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options);
1969
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1970
+ const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getSandboxForks']?.[localVarOperationServerIndex]?.url;
1971
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1972
+ },
1613
1973
  /**
1614
1974
  * Retrieve OTEL logs for a sandbox within a time range
1615
1975
  * @summary Get sandbox logs
@@ -1647,6 +2007,20 @@ const SandboxApiFp = function (configuration) {
1647
2007
  const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getSandboxMetrics']?.[localVarOperationServerIndex]?.url;
1648
2008
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1649
2009
  },
2010
+ /**
2011
+ *
2012
+ * @summary Get sandbox fork parent
2013
+ * @param {string} sandboxIdOrName
2014
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2015
+ * @param {*} [options] Override http request option.
2016
+ * @throws {RequiredError}
2017
+ */
2018
+ async getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options) {
2019
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options);
2020
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2021
+ const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getSandboxParent']?.[localVarOperationServerIndex]?.url;
2022
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2023
+ },
1650
2024
  /**
1651
2025
  * Retrieve all spans for a specific trace
1652
2026
  * @summary Get trace spans
@@ -2007,6 +2381,18 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
2007
2381
  createSandbox(createSandbox, xDaytonaOrganizationID, options) {
2008
2382
  return localVarFp.createSandbox(createSandbox, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2009
2383
  },
2384
+ /**
2385
+ *
2386
+ * @summary Create a snapshot from a sandbox
2387
+ * @param {string} sandboxIdOrName
2388
+ * @param {CreateSandboxSnapshot} createSandboxSnapshot
2389
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2390
+ * @param {*} [options] Override http request option.
2391
+ * @throws {RequiredError}
2392
+ */
2393
+ createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options) {
2394
+ return localVarFp.createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2395
+ },
2010
2396
  /**
2011
2397
  *
2012
2398
  * @summary Create SSH access for sandbox
@@ -2043,6 +2429,18 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
2043
2429
  expireSignedPortPreviewUrl(sandboxIdOrName, port, token, xDaytonaOrganizationID, options) {
2044
2430
  return localVarFp.expireSignedPortPreviewUrl(sandboxIdOrName, port, token, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2045
2431
  },
2432
+ /**
2433
+ *
2434
+ * @summary Fork a sandbox
2435
+ * @param {string} sandboxIdOrName
2436
+ * @param {ForkSandbox} forkSandbox
2437
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2438
+ * @param {*} [options] Override http request option.
2439
+ * @throws {RequiredError}
2440
+ */
2441
+ forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options) {
2442
+ return localVarFp.forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2443
+ },
2046
2444
  /**
2047
2445
  * This endpoint is deprecated. Use `getBuildLogsUrl` instead.
2048
2446
  * @summary Get build logs
@@ -2067,6 +2465,17 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
2067
2465
  getBuildLogsUrl(sandboxIdOrName, xDaytonaOrganizationID, options) {
2068
2466
  return localVarFp.getBuildLogsUrl(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2069
2467
  },
2468
+ /**
2469
+ *
2470
+ * @summary Get organization by sandbox ID
2471
+ * @param {string} sandboxId ID of the sandbox
2472
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2473
+ * @param {*} [options] Override http request option.
2474
+ * @throws {RequiredError}
2475
+ */
2476
+ getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
2477
+ return localVarFp.getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2478
+ },
2070
2479
  /**
2071
2480
  *
2072
2481
  * @summary Get preview URL for a sandbox port
@@ -2079,6 +2488,17 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
2079
2488
  getPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, options) {
2080
2489
  return localVarFp.getPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2081
2490
  },
2491
+ /**
2492
+ *
2493
+ * @summary Get region quota by sandbox ID
2494
+ * @param {string} sandboxId ID of the sandbox
2495
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2496
+ * @param {*} [options] Override http request option.
2497
+ * @throws {RequiredError}
2498
+ */
2499
+ getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
2500
+ return localVarFp.getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2501
+ },
2082
2502
  /**
2083
2503
  *
2084
2504
  * @summary Get sandbox details
@@ -2091,6 +2511,29 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
2091
2511
  getSandbox(sandboxIdOrName, xDaytonaOrganizationID, verbose, options) {
2092
2512
  return localVarFp.getSandbox(sandboxIdOrName, xDaytonaOrganizationID, verbose, options).then((request) => request(axios, basePath));
2093
2513
  },
2514
+ /**
2515
+ *
2516
+ * @summary Get sandbox fork ancestor chain
2517
+ * @param {string} sandboxIdOrName
2518
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2519
+ * @param {*} [options] Override http request option.
2520
+ * @throws {RequiredError}
2521
+ */
2522
+ getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options) {
2523
+ return localVarFp.getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2524
+ },
2525
+ /**
2526
+ *
2527
+ * @summary Get sandbox fork children
2528
+ * @param {string} sandboxIdOrName
2529
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2530
+ * @param {boolean} [includeDestroyed]
2531
+ * @param {*} [options] Override http request option.
2532
+ * @throws {RequiredError}
2533
+ */
2534
+ getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options) {
2535
+ return localVarFp.getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options).then((request) => request(axios, basePath));
2536
+ },
2094
2537
  /**
2095
2538
  * Retrieve OTEL logs for a sandbox within a time range
2096
2539
  * @summary Get sandbox logs
@@ -2122,6 +2565,17 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
2122
2565
  getSandboxMetrics(sandboxId, from, to, xDaytonaOrganizationID, metricNames, options) {
2123
2566
  return localVarFp.getSandboxMetrics(sandboxId, from, to, xDaytonaOrganizationID, metricNames, options).then((request) => request(axios, basePath));
2124
2567
  },
2568
+ /**
2569
+ *
2570
+ * @summary Get sandbox fork parent
2571
+ * @param {string} sandboxIdOrName
2572
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2573
+ * @param {*} [options] Override http request option.
2574
+ * @throws {RequiredError}
2575
+ */
2576
+ getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options) {
2577
+ return localVarFp.getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
2578
+ },
2125
2579
  /**
2126
2580
  * Retrieve all spans for a specific trace
2127
2581
  * @summary Get trace spans
@@ -2425,6 +2879,19 @@ class SandboxApi extends base_1.BaseAPI {
2425
2879
  createSandbox(createSandbox, xDaytonaOrganizationID, options) {
2426
2880
  return (0, exports.SandboxApiFp)(this.configuration).createSandbox(createSandbox, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2427
2881
  }
2882
+ /**
2883
+ *
2884
+ * @summary Create a snapshot from a sandbox
2885
+ * @param {string} sandboxIdOrName
2886
+ * @param {CreateSandboxSnapshot} createSandboxSnapshot
2887
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2888
+ * @param {*} [options] Override http request option.
2889
+ * @throws {RequiredError}
2890
+ * @memberof SandboxApi
2891
+ */
2892
+ createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options) {
2893
+ return (0, exports.SandboxApiFp)(this.configuration).createSandboxSnapshot(sandboxIdOrName, createSandboxSnapshot, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2894
+ }
2428
2895
  /**
2429
2896
  *
2430
2897
  * @summary Create SSH access for sandbox
@@ -2464,6 +2931,19 @@ class SandboxApi extends base_1.BaseAPI {
2464
2931
  expireSignedPortPreviewUrl(sandboxIdOrName, port, token, xDaytonaOrganizationID, options) {
2465
2932
  return (0, exports.SandboxApiFp)(this.configuration).expireSignedPortPreviewUrl(sandboxIdOrName, port, token, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2466
2933
  }
2934
+ /**
2935
+ *
2936
+ * @summary Fork a sandbox
2937
+ * @param {string} sandboxIdOrName
2938
+ * @param {ForkSandbox} forkSandbox
2939
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2940
+ * @param {*} [options] Override http request option.
2941
+ * @throws {RequiredError}
2942
+ * @memberof SandboxApi
2943
+ */
2944
+ forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options) {
2945
+ return (0, exports.SandboxApiFp)(this.configuration).forkSandbox(sandboxIdOrName, forkSandbox, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2946
+ }
2467
2947
  /**
2468
2948
  * This endpoint is deprecated. Use `getBuildLogsUrl` instead.
2469
2949
  * @summary Get build logs
@@ -2490,6 +2970,18 @@ class SandboxApi extends base_1.BaseAPI {
2490
2970
  getBuildLogsUrl(sandboxIdOrName, xDaytonaOrganizationID, options) {
2491
2971
  return (0, exports.SandboxApiFp)(this.configuration).getBuildLogsUrl(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2492
2972
  }
2973
+ /**
2974
+ *
2975
+ * @summary Get organization by sandbox ID
2976
+ * @param {string} sandboxId ID of the sandbox
2977
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
2978
+ * @param {*} [options] Override http request option.
2979
+ * @throws {RequiredError}
2980
+ * @memberof SandboxApi
2981
+ */
2982
+ getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
2983
+ return (0, exports.SandboxApiFp)(this.configuration).getOrganizationBySandboxId(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2984
+ }
2493
2985
  /**
2494
2986
  *
2495
2987
  * @summary Get preview URL for a sandbox port
@@ -2503,6 +2995,18 @@ class SandboxApi extends base_1.BaseAPI {
2503
2995
  getPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, options) {
2504
2996
  return (0, exports.SandboxApiFp)(this.configuration).getPortPreviewUrl(sandboxIdOrName, port, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
2505
2997
  }
2998
+ /**
2999
+ *
3000
+ * @summary Get region quota by sandbox ID
3001
+ * @param {string} sandboxId ID of the sandbox
3002
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
3003
+ * @param {*} [options] Override http request option.
3004
+ * @throws {RequiredError}
3005
+ * @memberof SandboxApi
3006
+ */
3007
+ getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options) {
3008
+ return (0, exports.SandboxApiFp)(this.configuration).getRegionQuotaBySandboxId(sandboxId, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3009
+ }
2506
3010
  /**
2507
3011
  *
2508
3012
  * @summary Get sandbox details
@@ -2516,6 +3020,31 @@ class SandboxApi extends base_1.BaseAPI {
2516
3020
  getSandbox(sandboxIdOrName, xDaytonaOrganizationID, verbose, options) {
2517
3021
  return (0, exports.SandboxApiFp)(this.configuration).getSandbox(sandboxIdOrName, xDaytonaOrganizationID, verbose, options).then((request) => request(this.axios, this.basePath));
2518
3022
  }
3023
+ /**
3024
+ *
3025
+ * @summary Get sandbox fork ancestor chain
3026
+ * @param {string} sandboxIdOrName
3027
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
3028
+ * @param {*} [options] Override http request option.
3029
+ * @throws {RequiredError}
3030
+ * @memberof SandboxApi
3031
+ */
3032
+ getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options) {
3033
+ return (0, exports.SandboxApiFp)(this.configuration).getSandboxAncestors(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3034
+ }
3035
+ /**
3036
+ *
3037
+ * @summary Get sandbox fork children
3038
+ * @param {string} sandboxIdOrName
3039
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
3040
+ * @param {boolean} [includeDestroyed]
3041
+ * @param {*} [options] Override http request option.
3042
+ * @throws {RequiredError}
3043
+ * @memberof SandboxApi
3044
+ */
3045
+ getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options) {
3046
+ return (0, exports.SandboxApiFp)(this.configuration).getSandboxForks(sandboxIdOrName, xDaytonaOrganizationID, includeDestroyed, options).then((request) => request(this.axios, this.basePath));
3047
+ }
2519
3048
  /**
2520
3049
  * Retrieve OTEL logs for a sandbox within a time range
2521
3050
  * @summary Get sandbox logs
@@ -2549,6 +3078,18 @@ class SandboxApi extends base_1.BaseAPI {
2549
3078
  getSandboxMetrics(sandboxId, from, to, xDaytonaOrganizationID, metricNames, options) {
2550
3079
  return (0, exports.SandboxApiFp)(this.configuration).getSandboxMetrics(sandboxId, from, to, xDaytonaOrganizationID, metricNames, options).then((request) => request(this.axios, this.basePath));
2551
3080
  }
3081
+ /**
3082
+ *
3083
+ * @summary Get sandbox fork parent
3084
+ * @param {string} sandboxIdOrName
3085
+ * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
3086
+ * @param {*} [options] Override http request option.
3087
+ * @throws {RequiredError}
3088
+ * @memberof SandboxApi
3089
+ */
3090
+ getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options) {
3091
+ return (0, exports.SandboxApiFp)(this.configuration).getSandboxParent(sandboxIdOrName, xDaytonaOrganizationID, options).then((request) => request(this.axios, this.basePath));
3092
+ }
2552
3093
  /**
2553
3094
  * Retrieve all spans for a specific trace
2554
3095
  * @summary Get trace spans
@@ -2847,7 +3388,9 @@ exports.ListSandboxesPaginatedStatesEnum = {
2847
3388
  PULLING_SNAPSHOT: 'pulling_snapshot',
2848
3389
  ARCHIVED: 'archived',
2849
3390
  ARCHIVING: 'archiving',
2850
- RESIZING: 'resizing'
3391
+ RESIZING: 'resizing',
3392
+ SNAPSHOTTING: 'snapshotting',
3393
+ FORKING: 'forking'
2851
3394
  };
2852
3395
  /**
2853
3396
  * @export