@daytonaio/api-client 0.106.0-alpha.2 → 0.106.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.
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ListSandboxesPaginatedOrderEnum = exports.ListSandboxesPaginatedSortEnum = exports.ListSandboxesPaginatedStatesEnum = exports.SandboxApi = exports.SandboxApiFactory = exports.SandboxApiFp = exports.SandboxApiAxiosParamCreator = void 0;
16
+ exports.SandboxApi = exports.SandboxApiFactory = exports.SandboxApiFp = exports.SandboxApiAxiosParamCreator = void 0;
17
17
  const axios_1 = require("axios");
18
18
  // Some imports not used depending on template conditions
19
19
  // @ts-ignore
@@ -180,13 +180,16 @@ const SandboxApiAxiosParamCreator = function (configuration) {
180
180
  *
181
181
  * @summary Delete sandbox
182
182
  * @param {string} sandboxId ID of the sandbox
183
+ * @param {boolean} force
183
184
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
184
185
  * @param {*} [options] Override http request option.
185
186
  * @throws {RequiredError}
186
187
  */
187
- deleteSandbox: async (sandboxId, xDaytonaOrganizationID, options = {}) => {
188
+ deleteSandbox: async (sandboxId, force, xDaytonaOrganizationID, options = {}) => {
188
189
  // verify required parameter 'sandboxId' is not null or undefined
189
190
  (0, common_1.assertParamExists)('deleteSandbox', 'sandboxId', sandboxId);
191
+ // verify required parameter 'force' is not null or undefined
192
+ (0, common_1.assertParamExists)('deleteSandbox', 'force', force);
190
193
  const localVarPath = `/sandbox/{sandboxId}`.replace(`{${'sandboxId'}}`, encodeURIComponent(String(sandboxId)));
191
194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
192
195
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -201,6 +204,9 @@ const SandboxApiAxiosParamCreator = function (configuration) {
201
204
  // http bearer authentication required
202
205
  await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
203
206
  // authentication oauth2 required
207
+ if (force !== undefined) {
208
+ localVarQueryParameter['force'] = force;
209
+ }
204
210
  if (xDaytonaOrganizationID != null) {
205
211
  localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
206
212
  }
@@ -333,39 +339,6 @@ const SandboxApiAxiosParamCreator = function (configuration) {
333
339
  options: localVarRequestOptions,
334
340
  };
335
341
  },
336
- /**
337
- *
338
- * @summary List all regions where sandboxes have been created
339
- * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
340
- * @param {*} [options] Override http request option.
341
- * @throws {RequiredError}
342
- */
343
- getSandboxRegions: async (xDaytonaOrganizationID, options = {}) => {
344
- const localVarPath = `/sandbox/regions`;
345
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
346
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
347
- let baseOptions;
348
- if (configuration) {
349
- baseOptions = configuration.baseOptions;
350
- }
351
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
352
- const localVarHeaderParameter = {};
353
- const localVarQueryParameter = {};
354
- // authentication bearer required
355
- // http bearer authentication required
356
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
357
- // authentication oauth2 required
358
- if (xDaytonaOrganizationID != null) {
359
- localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
360
- }
361
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
362
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
363
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
364
- return {
365
- url: (0, common_1.toPathString)(localVarUrlObj),
366
- options: localVarRequestOptions,
367
- };
368
- },
369
342
  /**
370
343
  *
371
344
  * @summary Get sandboxes for the authenticated runner
@@ -452,113 +425,6 @@ const SandboxApiAxiosParamCreator = function (configuration) {
452
425
  options: localVarRequestOptions,
453
426
  };
454
427
  },
455
- /**
456
- *
457
- * @summary List all sandboxes paginated
458
- * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
459
- * @param {number} [page] Page number of the results
460
- * @param {number} [limit] Number of results per page
461
- * @param {string} [id] Filter by partial ID match
462
- * @param {string} [labels] JSON encoded labels to filter by
463
- * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
464
- * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
465
- * @param {Array<string>} [snapshots] List of snapshot names to filter by
466
- * @param {Array<string>} [regions] List of regions to filter by
467
- * @param {number} [minCpu] Minimum CPU
468
- * @param {number} [maxCpu] Maximum CPU
469
- * @param {number} [minMemoryGiB] Minimum memory in GiB
470
- * @param {number} [maxMemoryGiB] Maximum memory in GiB
471
- * @param {number} [minDiskGiB] Minimum disk space in GiB
472
- * @param {number} [maxDiskGiB] Maximum disk space in GiB
473
- * @param {Date} [lastEventAfter] Include items with last event after this timestamp
474
- * @param {Date} [lastEventBefore] Include items with last event before this timestamp
475
- * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
476
- * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
477
- * @param {*} [options] Override http request option.
478
- * @throws {RequiredError}
479
- */
480
- listSandboxesPaginated: async (xDaytonaOrganizationID, page, limit, id, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options = {}) => {
481
- const localVarPath = `/sandbox/paginated`;
482
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
483
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
484
- let baseOptions;
485
- if (configuration) {
486
- baseOptions = configuration.baseOptions;
487
- }
488
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
489
- const localVarHeaderParameter = {};
490
- const localVarQueryParameter = {};
491
- // authentication bearer required
492
- // http bearer authentication required
493
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
494
- // authentication oauth2 required
495
- if (page !== undefined) {
496
- localVarQueryParameter['page'] = page;
497
- }
498
- if (limit !== undefined) {
499
- localVarQueryParameter['limit'] = limit;
500
- }
501
- if (id !== undefined) {
502
- localVarQueryParameter['id'] = id;
503
- }
504
- if (labels !== undefined) {
505
- localVarQueryParameter['labels'] = labels;
506
- }
507
- if (includeErroredDeleted !== undefined) {
508
- localVarQueryParameter['includeErroredDeleted'] = includeErroredDeleted;
509
- }
510
- if (states) {
511
- localVarQueryParameter['states'] = states;
512
- }
513
- if (snapshots) {
514
- localVarQueryParameter['snapshots'] = snapshots;
515
- }
516
- if (regions) {
517
- localVarQueryParameter['regions'] = regions;
518
- }
519
- if (minCpu !== undefined) {
520
- localVarQueryParameter['minCpu'] = minCpu;
521
- }
522
- if (maxCpu !== undefined) {
523
- localVarQueryParameter['maxCpu'] = maxCpu;
524
- }
525
- if (minMemoryGiB !== undefined) {
526
- localVarQueryParameter['minMemoryGiB'] = minMemoryGiB;
527
- }
528
- if (maxMemoryGiB !== undefined) {
529
- localVarQueryParameter['maxMemoryGiB'] = maxMemoryGiB;
530
- }
531
- if (minDiskGiB !== undefined) {
532
- localVarQueryParameter['minDiskGiB'] = minDiskGiB;
533
- }
534
- if (maxDiskGiB !== undefined) {
535
- localVarQueryParameter['maxDiskGiB'] = maxDiskGiB;
536
- }
537
- if (lastEventAfter !== undefined) {
538
- localVarQueryParameter['lastEventAfter'] =
539
- lastEventAfter instanceof Date ? lastEventAfter.toISOString() : lastEventAfter;
540
- }
541
- if (lastEventBefore !== undefined) {
542
- localVarQueryParameter['lastEventBefore'] =
543
- lastEventBefore instanceof Date ? lastEventBefore.toISOString() : lastEventBefore;
544
- }
545
- if (sort !== undefined) {
546
- localVarQueryParameter['sort'] = sort;
547
- }
548
- if (order !== undefined) {
549
- localVarQueryParameter['order'] = order;
550
- }
551
- if (xDaytonaOrganizationID != null) {
552
- localVarHeaderParameter['X-Daytona-Organization-ID'] = String(xDaytonaOrganizationID);
553
- }
554
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
555
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
556
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
557
- return {
558
- url: (0, common_1.toPathString)(localVarUrlObj),
559
- options: localVarRequestOptions,
560
- };
561
- },
562
428
  /**
563
429
  *
564
430
  * @summary Replace sandbox labels
@@ -1027,12 +893,13 @@ const SandboxApiFp = function (configuration) {
1027
893
  *
1028
894
  * @summary Delete sandbox
1029
895
  * @param {string} sandboxId ID of the sandbox
896
+ * @param {boolean} force
1030
897
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1031
898
  * @param {*} [options] Override http request option.
1032
899
  * @throws {RequiredError}
1033
900
  */
1034
- async deleteSandbox(sandboxId, xDaytonaOrganizationID, options) {
1035
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSandbox(sandboxId, xDaytonaOrganizationID, options);
901
+ async deleteSandbox(sandboxId, force, xDaytonaOrganizationID, options) {
902
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSandbox(sandboxId, force, xDaytonaOrganizationID, options);
1036
903
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1037
904
  const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.deleteSandbox']?.[localVarOperationServerIndex]?.url;
1038
905
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1082,19 +949,6 @@ const SandboxApiFp = function (configuration) {
1082
949
  const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getSandbox']?.[localVarOperationServerIndex]?.url;
1083
950
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1084
951
  },
1085
- /**
1086
- *
1087
- * @summary List all regions where sandboxes have been created
1088
- * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1089
- * @param {*} [options] Override http request option.
1090
- * @throws {RequiredError}
1091
- */
1092
- async getSandboxRegions(xDaytonaOrganizationID, options) {
1093
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSandboxRegions(xDaytonaOrganizationID, options);
1094
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1095
- const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.getSandboxRegions']?.[localVarOperationServerIndex]?.url;
1096
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1097
- },
1098
952
  /**
1099
953
  *
1100
954
  * @summary Get sandboxes for the authenticated runner
@@ -1126,37 +980,6 @@ const SandboxApiFp = function (configuration) {
1126
980
  const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.listSandboxes']?.[localVarOperationServerIndex]?.url;
1127
981
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1128
982
  },
1129
- /**
1130
- *
1131
- * @summary List all sandboxes paginated
1132
- * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1133
- * @param {number} [page] Page number of the results
1134
- * @param {number} [limit] Number of results per page
1135
- * @param {string} [id] Filter by partial ID match
1136
- * @param {string} [labels] JSON encoded labels to filter by
1137
- * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
1138
- * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
1139
- * @param {Array<string>} [snapshots] List of snapshot names to filter by
1140
- * @param {Array<string>} [regions] List of regions to filter by
1141
- * @param {number} [minCpu] Minimum CPU
1142
- * @param {number} [maxCpu] Maximum CPU
1143
- * @param {number} [minMemoryGiB] Minimum memory in GiB
1144
- * @param {number} [maxMemoryGiB] Maximum memory in GiB
1145
- * @param {number} [minDiskGiB] Minimum disk space in GiB
1146
- * @param {number} [maxDiskGiB] Maximum disk space in GiB
1147
- * @param {Date} [lastEventAfter] Include items with last event after this timestamp
1148
- * @param {Date} [lastEventBefore] Include items with last event before this timestamp
1149
- * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
1150
- * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
1151
- * @param {*} [options] Override http request option.
1152
- * @throws {RequiredError}
1153
- */
1154
- async listSandboxesPaginated(xDaytonaOrganizationID, page, limit, id, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options) {
1155
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSandboxesPaginated(xDaytonaOrganizationID, page, limit, id, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options);
1156
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1157
- const localVarOperationServerBasePath = base_1.operationServerMap['SandboxApi.listSandboxesPaginated']?.[localVarOperationServerIndex]?.url;
1158
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1159
- },
1160
983
  /**
1161
984
  *
1162
985
  * @summary Replace sandbox labels
@@ -1371,13 +1194,14 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
1371
1194
  *
1372
1195
  * @summary Delete sandbox
1373
1196
  * @param {string} sandboxId ID of the sandbox
1197
+ * @param {boolean} force
1374
1198
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1375
1199
  * @param {*} [options] Override http request option.
1376
1200
  * @throws {RequiredError}
1377
1201
  */
1378
- deleteSandbox(sandboxId, xDaytonaOrganizationID, options) {
1202
+ deleteSandbox(sandboxId, force, xDaytonaOrganizationID, options) {
1379
1203
  return localVarFp
1380
- .deleteSandbox(sandboxId, xDaytonaOrganizationID, options)
1204
+ .deleteSandbox(sandboxId, force, xDaytonaOrganizationID, options)
1381
1205
  .then((request) => request(axios, basePath));
1382
1206
  },
1383
1207
  /**
@@ -1422,16 +1246,6 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
1422
1246
  .getSandbox(sandboxId, xDaytonaOrganizationID, verbose, options)
1423
1247
  .then((request) => request(axios, basePath));
1424
1248
  },
1425
- /**
1426
- *
1427
- * @summary List all regions where sandboxes have been created
1428
- * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1429
- * @param {*} [options] Override http request option.
1430
- * @throws {RequiredError}
1431
- */
1432
- getSandboxRegions(xDaytonaOrganizationID, options) {
1433
- return localVarFp.getSandboxRegions(xDaytonaOrganizationID, options).then((request) => request(axios, basePath));
1434
- },
1435
1249
  /**
1436
1250
  *
1437
1251
  * @summary Get sandboxes for the authenticated runner
@@ -1461,36 +1275,6 @@ const SandboxApiFactory = function (configuration, basePath, axios) {
1461
1275
  .listSandboxes(xDaytonaOrganizationID, verbose, labels, includeErroredDeleted, options)
1462
1276
  .then((request) => request(axios, basePath));
1463
1277
  },
1464
- /**
1465
- *
1466
- * @summary List all sandboxes paginated
1467
- * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1468
- * @param {number} [page] Page number of the results
1469
- * @param {number} [limit] Number of results per page
1470
- * @param {string} [id] Filter by partial ID match
1471
- * @param {string} [labels] JSON encoded labels to filter by
1472
- * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
1473
- * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
1474
- * @param {Array<string>} [snapshots] List of snapshot names to filter by
1475
- * @param {Array<string>} [regions] List of regions to filter by
1476
- * @param {number} [minCpu] Minimum CPU
1477
- * @param {number} [maxCpu] Maximum CPU
1478
- * @param {number} [minMemoryGiB] Minimum memory in GiB
1479
- * @param {number} [maxMemoryGiB] Maximum memory in GiB
1480
- * @param {number} [minDiskGiB] Minimum disk space in GiB
1481
- * @param {number} [maxDiskGiB] Maximum disk space in GiB
1482
- * @param {Date} [lastEventAfter] Include items with last event after this timestamp
1483
- * @param {Date} [lastEventBefore] Include items with last event before this timestamp
1484
- * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
1485
- * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
1486
- * @param {*} [options] Override http request option.
1487
- * @throws {RequiredError}
1488
- */
1489
- listSandboxesPaginated(xDaytonaOrganizationID, page, limit, id, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options) {
1490
- return localVarFp
1491
- .listSandboxesPaginated(xDaytonaOrganizationID, page, limit, id, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options)
1492
- .then((request) => request(axios, basePath));
1493
- },
1494
1278
  /**
1495
1279
  *
1496
1280
  * @summary Replace sandbox labels
@@ -1699,14 +1483,15 @@ class SandboxApi extends base_1.BaseAPI {
1699
1483
  *
1700
1484
  * @summary Delete sandbox
1701
1485
  * @param {string} sandboxId ID of the sandbox
1486
+ * @param {boolean} force
1702
1487
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1703
1488
  * @param {*} [options] Override http request option.
1704
1489
  * @throws {RequiredError}
1705
1490
  * @memberof SandboxApi
1706
1491
  */
1707
- deleteSandbox(sandboxId, xDaytonaOrganizationID, options) {
1492
+ deleteSandbox(sandboxId, force, xDaytonaOrganizationID, options) {
1708
1493
  return (0, exports.SandboxApiFp)(this.configuration)
1709
- .deleteSandbox(sandboxId, xDaytonaOrganizationID, options)
1494
+ .deleteSandbox(sandboxId, force, xDaytonaOrganizationID, options)
1710
1495
  .then((request) => request(this.axios, this.basePath));
1711
1496
  }
1712
1497
  /**
@@ -1754,19 +1539,6 @@ class SandboxApi extends base_1.BaseAPI {
1754
1539
  .getSandbox(sandboxId, xDaytonaOrganizationID, verbose, options)
1755
1540
  .then((request) => request(this.axios, this.basePath));
1756
1541
  }
1757
- /**
1758
- *
1759
- * @summary List all regions where sandboxes have been created
1760
- * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1761
- * @param {*} [options] Override http request option.
1762
- * @throws {RequiredError}
1763
- * @memberof SandboxApi
1764
- */
1765
- getSandboxRegions(xDaytonaOrganizationID, options) {
1766
- return (0, exports.SandboxApiFp)(this.configuration)
1767
- .getSandboxRegions(xDaytonaOrganizationID, options)
1768
- .then((request) => request(this.axios, this.basePath));
1769
- }
1770
1542
  /**
1771
1543
  *
1772
1544
  * @summary Get sandboxes for the authenticated runner
@@ -1798,37 +1570,6 @@ class SandboxApi extends base_1.BaseAPI {
1798
1570
  .listSandboxes(xDaytonaOrganizationID, verbose, labels, includeErroredDeleted, options)
1799
1571
  .then((request) => request(this.axios, this.basePath));
1800
1572
  }
1801
- /**
1802
- *
1803
- * @summary List all sandboxes paginated
1804
- * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1805
- * @param {number} [page] Page number of the results
1806
- * @param {number} [limit] Number of results per page
1807
- * @param {string} [id] Filter by partial ID match
1808
- * @param {string} [labels] JSON encoded labels to filter by
1809
- * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
1810
- * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
1811
- * @param {Array<string>} [snapshots] List of snapshot names to filter by
1812
- * @param {Array<string>} [regions] List of regions to filter by
1813
- * @param {number} [minCpu] Minimum CPU
1814
- * @param {number} [maxCpu] Maximum CPU
1815
- * @param {number} [minMemoryGiB] Minimum memory in GiB
1816
- * @param {number} [maxMemoryGiB] Maximum memory in GiB
1817
- * @param {number} [minDiskGiB] Minimum disk space in GiB
1818
- * @param {number} [maxDiskGiB] Maximum disk space in GiB
1819
- * @param {Date} [lastEventAfter] Include items with last event after this timestamp
1820
- * @param {Date} [lastEventBefore] Include items with last event before this timestamp
1821
- * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
1822
- * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
1823
- * @param {*} [options] Override http request option.
1824
- * @throws {RequiredError}
1825
- * @memberof SandboxApi
1826
- */
1827
- listSandboxesPaginated(xDaytonaOrganizationID, page, limit, id, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options) {
1828
- return (0, exports.SandboxApiFp)(this.configuration)
1829
- .listSandboxesPaginated(xDaytonaOrganizationID, page, limit, id, labels, includeErroredDeleted, states, snapshots, regions, minCpu, maxCpu, minMemoryGiB, maxMemoryGiB, minDiskGiB, maxDiskGiB, lastEventAfter, lastEventBefore, sort, order, options)
1830
- .then((request) => request(this.axios, this.basePath));
1831
- }
1832
1573
  /**
1833
1574
  *
1834
1575
  * @summary Replace sandbox labels
@@ -1978,42 +1719,4 @@ class SandboxApi extends base_1.BaseAPI {
1978
1719
  }
1979
1720
  }
1980
1721
  exports.SandboxApi = SandboxApi;
1981
- /**
1982
- * @export
1983
- */
1984
- exports.ListSandboxesPaginatedStatesEnum = {
1985
- CREATING: 'creating',
1986
- RESTORING: 'restoring',
1987
- DESTROYING: 'destroying',
1988
- STARTED: 'started',
1989
- STOPPED: 'stopped',
1990
- STARTING: 'starting',
1991
- STOPPING: 'stopping',
1992
- ERROR: 'error',
1993
- BUILD_FAILED: 'build_failed',
1994
- PENDING_BUILD: 'pending_build',
1995
- BUILDING_SNAPSHOT: 'building_snapshot',
1996
- UNKNOWN: 'unknown',
1997
- PULLING_SNAPSHOT: 'pulling_snapshot',
1998
- ARCHIVED: 'archived',
1999
- ARCHIVING: 'archiving',
2000
- };
2001
- /**
2002
- * @export
2003
- */
2004
- exports.ListSandboxesPaginatedSortEnum = {
2005
- ID: 'id',
2006
- STATE: 'state',
2007
- SNAPSHOT: 'snapshot',
2008
- REGION: 'region',
2009
- UPDATED_AT: 'updatedAt',
2010
- CREATED_AT: 'createdAt',
2011
- };
2012
- /**
2013
- * @export
2014
- */
2015
- exports.ListSandboxesPaginatedOrderEnum = {
2016
- ASC: 'asc',
2017
- DESC: 'desc',
2018
- };
2019
1722
  //# sourceMappingURL=sandbox-api.js.map