@daytonaio/api-client 0.178.0 → 0.180.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 (45) hide show
  1. package/package.json +1 -1
  2. package/src/api/sandbox-api.d.ts +135 -47
  3. package/src/api/sandbox-api.js +205 -53
  4. package/src/api/sandbox-api.js.map +1 -1
  5. package/src/api/webhooks-api.d.ts +36 -0
  6. package/src/api/webhooks-api.js +74 -0
  7. package/src/api/webhooks-api.js.map +1 -1
  8. package/src/api.d.ts +0 -1
  9. package/src/api.js +0 -1
  10. package/src/api.js.map +1 -1
  11. package/src/models/index.d.ts +5 -5
  12. package/src/models/index.js +5 -5
  13. package/src/models/index.js.map +1 -1
  14. package/src/models/{workspace-port-preview-url.d.ts → list-sandboxes-response.d.ts} +6 -5
  15. package/src/models/{paginated-sandboxes.js → list-sandboxes-response.js} +1 -1
  16. package/src/models/list-sandboxes-response.js.map +1 -0
  17. package/src/models/{paginated-sandboxes.d.ts → paginated-sandboxes-deprecated.d.ts} +1 -1
  18. package/src/models/{workspace-port-preview-url.js → paginated-sandboxes-deprecated.js} +1 -1
  19. package/src/models/paginated-sandboxes-deprecated.js.map +1 -0
  20. package/src/models/region-quota.d.ts +4 -0
  21. package/src/models/region-usage-overview.d.ts +5 -0
  22. package/src/models/{workspace.d.ts → sandbox-list-item.d.ts} +35 -89
  23. package/src/models/{create-workspace.js → sandbox-list-item.js} +9 -7
  24. package/src/models/sandbox-list-item.js.map +1 -0
  25. package/src/models/sandbox-list-sort-direction.d.ts +17 -0
  26. package/src/models/{sandbox-info.js → sandbox-list-sort-direction.js} +7 -1
  27. package/src/models/sandbox-list-sort-direction.js.map +1 -0
  28. package/src/models/sandbox-list-sort-field.d.ts +21 -0
  29. package/src/models/sandbox-list-sort-field.js +26 -0
  30. package/src/models/sandbox-list-sort-field.js.map +1 -0
  31. package/src/models/sandbox-state.d.ts +0 -3
  32. package/src/models/sandbox-state.js +0 -3
  33. package/src/models/sandbox-state.js.map +1 -1
  34. package/src/models/update-organization-region-quota.d.ts +4 -0
  35. package/src/api/workspace-api.d.ts +0 -634
  36. package/src/api/workspace-api.js +0 -1206
  37. package/src/api/workspace-api.js.map +0 -1
  38. package/src/models/create-workspace.d.ts +0 -93
  39. package/src/models/create-workspace.js.map +0 -1
  40. package/src/models/paginated-sandboxes.js.map +0 -1
  41. package/src/models/sandbox-info.d.ts +0 -26
  42. package/src/models/sandbox-info.js.map +0 -1
  43. package/src/models/workspace-port-preview-url.js.map +0 -1
  44. package/src/models/workspace.js +0 -39
  45. package/src/models/workspace.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daytonaio/api-client",
3
- "version": "0.178.0",
3
+ "version": "0.180.0-alpha.1",
4
4
  "description": "OpenAPI client for @daytona/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -15,16 +15,20 @@ import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { CreateSandbox } from '../models';
16
16
  import type { CreateSandboxSnapshot } from '../models';
17
17
  import type { ForkSandbox } from '../models';
18
+ import type { ListSandboxesResponse } from '../models';
18
19
  import type { MetricsResponse } from '../models';
19
20
  import type { Organization } from '../models';
20
21
  import type { PaginatedLogs } from '../models';
21
- import type { PaginatedSandboxes } from '../models';
22
+ import type { PaginatedSandboxesDeprecated } from '../models';
22
23
  import type { PaginatedTraces } from '../models';
23
24
  import type { PortPreviewUrl } from '../models';
24
25
  import type { RegionQuota } from '../models';
25
26
  import type { ResizeSandbox } from '../models';
26
27
  import type { Sandbox } from '../models';
27
28
  import type { SandboxLabels } from '../models';
29
+ import type { SandboxListSortDirection } from '../models';
30
+ import type { SandboxListSortField } from '../models';
31
+ import type { SandboxState } from '../models';
28
32
  import type { SignedPortPreviewUrl } from '../models';
29
33
  import type { SshAccessDto } from '../models';
30
34
  import type { SshAccessValidationDto } from '../models';
@@ -281,19 +285,39 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
281
285
  */
282
286
  getToolboxProxyUrl: (sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
283
287
  /**
284
- *
285
- * @summary List all sandboxes
288
+ * Advanced filtering and ordering. Eventually consistent.
289
+ * @summary List sandboxes
286
290
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
287
- * @param {boolean} [verbose] Include verbose output
291
+ * @param {string} [cursor] Pagination cursor from a previous response
292
+ * @param {number} [limit] Number of results per page
293
+ * @param {string} [id] Filter by ID prefix (case-insensitive)
294
+ * @param {string} [name] Filter by name prefix (case-insensitive)
288
295
  * @param {string} [labels] JSON encoded labels to filter by
289
- * @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
296
+ * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
297
+ * @param {Array<SandboxState>} [states] List of states to filter by.
298
+ * @param {Array<string>} [snapshots] List of snapshot names to filter by
299
+ * @param {Array<string>} [regionIds] List of regions IDs to filter by
300
+ * @param {number} [minCpu] Minimum CPU
301
+ * @param {number} [maxCpu] Maximum CPU
302
+ * @param {number} [minMemoryGiB] Minimum memory in GiB
303
+ * @param {number} [maxMemoryGiB] Maximum memory in GiB
304
+ * @param {number} [minDiskGiB] Minimum disk space in GiB
305
+ * @param {number} [maxDiskGiB] Maximum disk space in GiB
306
+ * @param {boolean} [isPublic] Filter by public status
307
+ * @param {boolean} [isRecoverable] Filter by recoverable status
308
+ * @param {Date} [createdAtAfter] Include items created after this timestamp
309
+ * @param {Date} [createdAtBefore] Include items created before this timestamp
310
+ * @param {Date} [lastEventAfter] Include items with last event after this timestamp
311
+ * @param {Date} [lastEventBefore] Include items with last event before this timestamp
312
+ * @param {SandboxListSortField} [sort] Field to sort by
313
+ * @param {SandboxListSortDirection} [order] Direction to sort by
290
314
  * @param {*} [options] Override http request option.
291
315
  * @throws {RequiredError}
292
316
  */
293
- listSandboxes: (xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
317
+ listSandboxes: (xDaytonaOrganizationID?: string, cursor?: string, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<SandboxState>, snapshots?: Array<string>, regionIds?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, isPublic?: boolean, isRecoverable?: boolean, createdAtAfter?: Date, createdAtBefore?: Date, lastEventAfter?: Date, lastEventBefore?: Date, sort?: SandboxListSortField, order?: SandboxListSortDirection, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
294
318
  /**
295
319
  *
296
- * @summary List all sandboxes paginated
320
+ * @summary [DEPRECATED] List all sandboxes paginated
297
321
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
298
322
  * @param {number} [page] Page number of the results
299
323
  * @param {number} [limit] Number of results per page
@@ -301,7 +325,7 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
301
325
  * @param {string} [name] Filter by partial name match
302
326
  * @param {string} [labels] JSON encoded labels to filter by
303
327
  * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
304
- * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
328
+ * @param {Array<ListSandboxesPaginatedDeprecatedStatesEnum>} [states] List of states to filter by
305
329
  * @param {Array<string>} [snapshots] List of snapshot names to filter by
306
330
  * @param {Array<string>} [regions] List of regions to filter by
307
331
  * @param {number} [minCpu] Minimum CPU
@@ -312,12 +336,13 @@ export declare const SandboxApiAxiosParamCreator: (configuration?: Configuration
312
336
  * @param {number} [maxDiskGiB] Maximum disk space in GiB
313
337
  * @param {Date} [lastEventAfter] Include items with last event after this timestamp
314
338
  * @param {Date} [lastEventBefore] Include items with last event before this timestamp
315
- * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
316
- * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
339
+ * @param {ListSandboxesPaginatedDeprecatedSortEnum} [sort] Field to sort by
340
+ * @param {ListSandboxesPaginatedDeprecatedOrderEnum} [order] Direction to sort by
317
341
  * @param {*} [options] Override http request option.
342
+ * @deprecated
318
343
  * @throws {RequiredError}
319
344
  */
320
- listSandboxesPaginated: (xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
345
+ listSandboxesPaginatedDeprecated: (xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedDeprecatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedDeprecatedSortEnum, order?: ListSandboxesPaginatedDeprecatedOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
321
346
  /**
322
347
  *
323
348
  * @summary Recover sandbox from error state
@@ -704,19 +729,39 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
704
729
  */
705
730
  getToolboxProxyUrl(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ToolboxProxyUrl>>;
706
731
  /**
707
- *
708
- * @summary List all sandboxes
732
+ * Advanced filtering and ordering. Eventually consistent.
733
+ * @summary List sandboxes
709
734
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
710
- * @param {boolean} [verbose] Include verbose output
735
+ * @param {string} [cursor] Pagination cursor from a previous response
736
+ * @param {number} [limit] Number of results per page
737
+ * @param {string} [id] Filter by ID prefix (case-insensitive)
738
+ * @param {string} [name] Filter by name prefix (case-insensitive)
711
739
  * @param {string} [labels] JSON encoded labels to filter by
712
- * @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
740
+ * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
741
+ * @param {Array<SandboxState>} [states] List of states to filter by.
742
+ * @param {Array<string>} [snapshots] List of snapshot names to filter by
743
+ * @param {Array<string>} [regionIds] List of regions IDs to filter by
744
+ * @param {number} [minCpu] Minimum CPU
745
+ * @param {number} [maxCpu] Maximum CPU
746
+ * @param {number} [minMemoryGiB] Minimum memory in GiB
747
+ * @param {number} [maxMemoryGiB] Maximum memory in GiB
748
+ * @param {number} [minDiskGiB] Minimum disk space in GiB
749
+ * @param {number} [maxDiskGiB] Maximum disk space in GiB
750
+ * @param {boolean} [isPublic] Filter by public status
751
+ * @param {boolean} [isRecoverable] Filter by recoverable status
752
+ * @param {Date} [createdAtAfter] Include items created after this timestamp
753
+ * @param {Date} [createdAtBefore] Include items created before this timestamp
754
+ * @param {Date} [lastEventAfter] Include items with last event after this timestamp
755
+ * @param {Date} [lastEventBefore] Include items with last event before this timestamp
756
+ * @param {SandboxListSortField} [sort] Field to sort by
757
+ * @param {SandboxListSortDirection} [order] Direction to sort by
713
758
  * @param {*} [options] Override http request option.
714
759
  * @throws {RequiredError}
715
760
  */
716
- listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Sandbox>>>;
761
+ listSandboxes(xDaytonaOrganizationID?: string, cursor?: string, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<SandboxState>, snapshots?: Array<string>, regionIds?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, isPublic?: boolean, isRecoverable?: boolean, createdAtAfter?: Date, createdAtBefore?: Date, lastEventAfter?: Date, lastEventBefore?: Date, sort?: SandboxListSortField, order?: SandboxListSortDirection, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSandboxesResponse>>;
717
762
  /**
718
763
  *
719
- * @summary List all sandboxes paginated
764
+ * @summary [DEPRECATED] List all sandboxes paginated
720
765
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
721
766
  * @param {number} [page] Page number of the results
722
767
  * @param {number} [limit] Number of results per page
@@ -724,7 +769,7 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
724
769
  * @param {string} [name] Filter by partial name match
725
770
  * @param {string} [labels] JSON encoded labels to filter by
726
771
  * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
727
- * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
772
+ * @param {Array<ListSandboxesPaginatedDeprecatedStatesEnum>} [states] List of states to filter by
728
773
  * @param {Array<string>} [snapshots] List of snapshot names to filter by
729
774
  * @param {Array<string>} [regions] List of regions to filter by
730
775
  * @param {number} [minCpu] Minimum CPU
@@ -735,12 +780,13 @@ export declare const SandboxApiFp: (configuration?: Configuration) => {
735
780
  * @param {number} [maxDiskGiB] Maximum disk space in GiB
736
781
  * @param {Date} [lastEventAfter] Include items with last event after this timestamp
737
782
  * @param {Date} [lastEventBefore] Include items with last event before this timestamp
738
- * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
739
- * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
783
+ * @param {ListSandboxesPaginatedDeprecatedSortEnum} [sort] Field to sort by
784
+ * @param {ListSandboxesPaginatedDeprecatedOrderEnum} [order] Direction to sort by
740
785
  * @param {*} [options] Override http request option.
786
+ * @deprecated
741
787
  * @throws {RequiredError}
742
788
  */
743
- listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedSandboxes>>;
789
+ listSandboxesPaginatedDeprecated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedDeprecatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedDeprecatedSortEnum, order?: ListSandboxesPaginatedDeprecatedOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedSandboxesDeprecated>>;
744
790
  /**
745
791
  *
746
792
  * @summary Recover sandbox from error state
@@ -1127,19 +1173,39 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
1127
1173
  */
1128
1174
  getToolboxProxyUrl(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): AxiosPromise<ToolboxProxyUrl>;
1129
1175
  /**
1130
- *
1131
- * @summary List all sandboxes
1176
+ * Advanced filtering and ordering. Eventually consistent.
1177
+ * @summary List sandboxes
1132
1178
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1133
- * @param {boolean} [verbose] Include verbose output
1179
+ * @param {string} [cursor] Pagination cursor from a previous response
1180
+ * @param {number} [limit] Number of results per page
1181
+ * @param {string} [id] Filter by ID prefix (case-insensitive)
1182
+ * @param {string} [name] Filter by name prefix (case-insensitive)
1134
1183
  * @param {string} [labels] JSON encoded labels to filter by
1135
- * @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
1184
+ * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
1185
+ * @param {Array<SandboxState>} [states] List of states to filter by.
1186
+ * @param {Array<string>} [snapshots] List of snapshot names to filter by
1187
+ * @param {Array<string>} [regionIds] List of regions IDs to filter by
1188
+ * @param {number} [minCpu] Minimum CPU
1189
+ * @param {number} [maxCpu] Maximum CPU
1190
+ * @param {number} [minMemoryGiB] Minimum memory in GiB
1191
+ * @param {number} [maxMemoryGiB] Maximum memory in GiB
1192
+ * @param {number} [minDiskGiB] Minimum disk space in GiB
1193
+ * @param {number} [maxDiskGiB] Maximum disk space in GiB
1194
+ * @param {boolean} [isPublic] Filter by public status
1195
+ * @param {boolean} [isRecoverable] Filter by recoverable status
1196
+ * @param {Date} [createdAtAfter] Include items created after this timestamp
1197
+ * @param {Date} [createdAtBefore] Include items created before this timestamp
1198
+ * @param {Date} [lastEventAfter] Include items with last event after this timestamp
1199
+ * @param {Date} [lastEventBefore] Include items with last event before this timestamp
1200
+ * @param {SandboxListSortField} [sort] Field to sort by
1201
+ * @param {SandboxListSortDirection} [order] Direction to sort by
1136
1202
  * @param {*} [options] Override http request option.
1137
1203
  * @throws {RequiredError}
1138
1204
  */
1139
- listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<Sandbox>>;
1205
+ listSandboxes(xDaytonaOrganizationID?: string, cursor?: string, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<SandboxState>, snapshots?: Array<string>, regionIds?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, isPublic?: boolean, isRecoverable?: boolean, createdAtAfter?: Date, createdAtBefore?: Date, lastEventAfter?: Date, lastEventBefore?: Date, sort?: SandboxListSortField, order?: SandboxListSortDirection, options?: RawAxiosRequestConfig): AxiosPromise<ListSandboxesResponse>;
1140
1206
  /**
1141
1207
  *
1142
- * @summary List all sandboxes paginated
1208
+ * @summary [DEPRECATED] List all sandboxes paginated
1143
1209
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1144
1210
  * @param {number} [page] Page number of the results
1145
1211
  * @param {number} [limit] Number of results per page
@@ -1147,7 +1213,7 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
1147
1213
  * @param {string} [name] Filter by partial name match
1148
1214
  * @param {string} [labels] JSON encoded labels to filter by
1149
1215
  * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
1150
- * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
1216
+ * @param {Array<ListSandboxesPaginatedDeprecatedStatesEnum>} [states] List of states to filter by
1151
1217
  * @param {Array<string>} [snapshots] List of snapshot names to filter by
1152
1218
  * @param {Array<string>} [regions] List of regions to filter by
1153
1219
  * @param {number} [minCpu] Minimum CPU
@@ -1158,12 +1224,13 @@ export declare const SandboxApiFactory: (configuration?: Configuration, basePath
1158
1224
  * @param {number} [maxDiskGiB] Maximum disk space in GiB
1159
1225
  * @param {Date} [lastEventAfter] Include items with last event after this timestamp
1160
1226
  * @param {Date} [lastEventBefore] Include items with last event before this timestamp
1161
- * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
1162
- * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
1227
+ * @param {ListSandboxesPaginatedDeprecatedSortEnum} [sort] Field to sort by
1228
+ * @param {ListSandboxesPaginatedDeprecatedOrderEnum} [order] Direction to sort by
1163
1229
  * @param {*} [options] Override http request option.
1230
+ * @deprecated
1164
1231
  * @throws {RequiredError}
1165
1232
  */
1166
- listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSandboxes>;
1233
+ listSandboxesPaginatedDeprecated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedDeprecatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedDeprecatedSortEnum, order?: ListSandboxesPaginatedDeprecatedOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSandboxesDeprecated>;
1167
1234
  /**
1168
1235
  *
1169
1236
  * @summary Recover sandbox from error state
@@ -1550,19 +1617,39 @@ export declare class SandboxApi extends BaseAPI {
1550
1617
  */
1551
1618
  getToolboxProxyUrl(sandboxId: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ToolboxProxyUrl, any, {}>>;
1552
1619
  /**
1553
- *
1554
- * @summary List all sandboxes
1620
+ * Advanced filtering and ordering. Eventually consistent.
1621
+ * @summary List sandboxes
1555
1622
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1556
- * @param {boolean} [verbose] Include verbose output
1623
+ * @param {string} [cursor] Pagination cursor from a previous response
1624
+ * @param {number} [limit] Number of results per page
1625
+ * @param {string} [id] Filter by ID prefix (case-insensitive)
1626
+ * @param {string} [name] Filter by name prefix (case-insensitive)
1557
1627
  * @param {string} [labels] JSON encoded labels to filter by
1558
- * @param {boolean} [includeErroredDeleted] Include errored and deleted sandboxes
1628
+ * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
1629
+ * @param {Array<SandboxState>} [states] List of states to filter by.
1630
+ * @param {Array<string>} [snapshots] List of snapshot names to filter by
1631
+ * @param {Array<string>} [regionIds] List of regions IDs to filter by
1632
+ * @param {number} [minCpu] Minimum CPU
1633
+ * @param {number} [maxCpu] Maximum CPU
1634
+ * @param {number} [minMemoryGiB] Minimum memory in GiB
1635
+ * @param {number} [maxMemoryGiB] Maximum memory in GiB
1636
+ * @param {number} [minDiskGiB] Minimum disk space in GiB
1637
+ * @param {number} [maxDiskGiB] Maximum disk space in GiB
1638
+ * @param {boolean} [isPublic] Filter by public status
1639
+ * @param {boolean} [isRecoverable] Filter by recoverable status
1640
+ * @param {Date} [createdAtAfter] Include items created after this timestamp
1641
+ * @param {Date} [createdAtBefore] Include items created before this timestamp
1642
+ * @param {Date} [lastEventAfter] Include items with last event after this timestamp
1643
+ * @param {Date} [lastEventBefore] Include items with last event before this timestamp
1644
+ * @param {SandboxListSortField} [sort] Field to sort by
1645
+ * @param {SandboxListSortDirection} [order] Direction to sort by
1559
1646
  * @param {*} [options] Override http request option.
1560
1647
  * @throws {RequiredError}
1561
1648
  */
1562
- listSandboxes(xDaytonaOrganizationID?: string, verbose?: boolean, labels?: string, includeErroredDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Sandbox[], any, {}>>;
1649
+ listSandboxes(xDaytonaOrganizationID?: string, cursor?: string, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<SandboxState>, snapshots?: Array<string>, regionIds?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, isPublic?: boolean, isRecoverable?: boolean, createdAtAfter?: Date, createdAtBefore?: Date, lastEventAfter?: Date, lastEventBefore?: Date, sort?: SandboxListSortField, order?: SandboxListSortDirection, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSandboxesResponse, any, {}>>;
1563
1650
  /**
1564
1651
  *
1565
- * @summary List all sandboxes paginated
1652
+ * @summary [DEPRECATED] List all sandboxes paginated
1566
1653
  * @param {string} [xDaytonaOrganizationID] Use with JWT to specify the organization ID
1567
1654
  * @param {number} [page] Page number of the results
1568
1655
  * @param {number} [limit] Number of results per page
@@ -1570,7 +1657,7 @@ export declare class SandboxApi extends BaseAPI {
1570
1657
  * @param {string} [name] Filter by partial name match
1571
1658
  * @param {string} [labels] JSON encoded labels to filter by
1572
1659
  * @param {boolean} [includeErroredDeleted] Include results with errored state and deleted desired state
1573
- * @param {Array<ListSandboxesPaginatedStatesEnum>} [states] List of states to filter by
1660
+ * @param {Array<ListSandboxesPaginatedDeprecatedStatesEnum>} [states] List of states to filter by
1574
1661
  * @param {Array<string>} [snapshots] List of snapshot names to filter by
1575
1662
  * @param {Array<string>} [regions] List of regions to filter by
1576
1663
  * @param {number} [minCpu] Minimum CPU
@@ -1581,12 +1668,13 @@ export declare class SandboxApi extends BaseAPI {
1581
1668
  * @param {number} [maxDiskGiB] Maximum disk space in GiB
1582
1669
  * @param {Date} [lastEventAfter] Include items with last event after this timestamp
1583
1670
  * @param {Date} [lastEventBefore] Include items with last event before this timestamp
1584
- * @param {ListSandboxesPaginatedSortEnum} [sort] Field to sort by
1585
- * @param {ListSandboxesPaginatedOrderEnum} [order] Direction to sort by
1671
+ * @param {ListSandboxesPaginatedDeprecatedSortEnum} [sort] Field to sort by
1672
+ * @param {ListSandboxesPaginatedDeprecatedOrderEnum} [order] Direction to sort by
1586
1673
  * @param {*} [options] Override http request option.
1674
+ * @deprecated
1587
1675
  * @throws {RequiredError}
1588
1676
  */
1589
- listSandboxesPaginated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedSortEnum, order?: ListSandboxesPaginatedOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSandboxes, any, {}>>;
1677
+ listSandboxesPaginatedDeprecated(xDaytonaOrganizationID?: string, page?: number, limit?: number, id?: string, name?: string, labels?: string, includeErroredDeleted?: boolean, states?: Array<ListSandboxesPaginatedDeprecatedStatesEnum>, snapshots?: Array<string>, regions?: Array<string>, minCpu?: number, maxCpu?: number, minMemoryGiB?: number, maxMemoryGiB?: number, minDiskGiB?: number, maxDiskGiB?: number, lastEventAfter?: Date, lastEventBefore?: Date, sort?: ListSandboxesPaginatedDeprecatedSortEnum, order?: ListSandboxesPaginatedDeprecatedOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSandboxesDeprecated, any, {}>>;
1590
1678
  /**
1591
1679
  *
1592
1680
  * @summary Recover sandbox from error state
@@ -1725,7 +1813,7 @@ export declare class SandboxApi extends BaseAPI {
1725
1813
  */
1726
1814
  validateSshAccess(token: string, xDaytonaOrganizationID?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SshAccessValidationDto, any, {}>>;
1727
1815
  }
1728
- export declare const ListSandboxesPaginatedStatesEnum: {
1816
+ export declare const ListSandboxesPaginatedDeprecatedStatesEnum: {
1729
1817
  readonly CREATING: "creating";
1730
1818
  readonly RESTORING: "restoring";
1731
1819
  readonly DESTROYING: "destroying";
@@ -1746,8 +1834,8 @@ export declare const ListSandboxesPaginatedStatesEnum: {
1746
1834
  readonly FORKING: "forking";
1747
1835
  readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
1748
1836
  };
1749
- export type ListSandboxesPaginatedStatesEnum = typeof ListSandboxesPaginatedStatesEnum[keyof typeof ListSandboxesPaginatedStatesEnum];
1750
- export declare const ListSandboxesPaginatedSortEnum: {
1837
+ export type ListSandboxesPaginatedDeprecatedStatesEnum = typeof ListSandboxesPaginatedDeprecatedStatesEnum[keyof typeof ListSandboxesPaginatedDeprecatedStatesEnum];
1838
+ export declare const ListSandboxesPaginatedDeprecatedSortEnum: {
1751
1839
  readonly ID: "id";
1752
1840
  readonly NAME: "name";
1753
1841
  readonly STATE: "state";
@@ -1758,10 +1846,10 @@ export declare const ListSandboxesPaginatedSortEnum: {
1758
1846
  readonly LAST_ACTIVITY_AT: "lastActivityAt";
1759
1847
  readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
1760
1848
  };
1761
- export type ListSandboxesPaginatedSortEnum = typeof ListSandboxesPaginatedSortEnum[keyof typeof ListSandboxesPaginatedSortEnum];
1762
- export declare const ListSandboxesPaginatedOrderEnum: {
1849
+ export type ListSandboxesPaginatedDeprecatedSortEnum = typeof ListSandboxesPaginatedDeprecatedSortEnum[keyof typeof ListSandboxesPaginatedDeprecatedSortEnum];
1850
+ export declare const ListSandboxesPaginatedDeprecatedOrderEnum: {
1763
1851
  readonly ASC: "asc";
1764
1852
  readonly DESC: "desc";
1765
1853
  readonly UNKNOWN_DEFAULT_OPEN_API: "11184809";
1766
1854
  };
1767
- export type ListSandboxesPaginatedOrderEnum = typeof ListSandboxesPaginatedOrderEnum[keyof typeof ListSandboxesPaginatedOrderEnum];
1855
+ export type ListSandboxesPaginatedDeprecatedOrderEnum = typeof ListSandboxesPaginatedDeprecatedOrderEnum[keyof typeof ListSandboxesPaginatedDeprecatedOrderEnum];