@daytonaio/api-client 0.131.0-rc.1 → 0.131.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/package.json +1 -1
  2. package/src/api/docker-registry-api.d.ts +4 -8
  3. package/src/api/docker-registry-api.js +7 -14
  4. package/src/api/docker-registry-api.js.map +1 -1
  5. package/src/api/organizations-api.d.ts +0 -222
  6. package/src/api/organizations-api.js +0 -454
  7. package/src/api/organizations-api.js.map +1 -1
  8. package/src/api/preview-api.d.ts +0 -37
  9. package/src/api/preview-api.js +0 -74
  10. package/src/api/preview-api.js.map +1 -1
  11. package/src/api/regions-api.d.ts +16 -8
  12. package/src/api/regions-api.js +29 -13
  13. package/src/api/regions-api.js.map +1 -1
  14. package/src/api/runners-api.d.ts +22 -177
  15. package/src/api/runners-api.js +25 -338
  16. package/src/api/runners-api.js.map +1 -1
  17. package/src/api/sandbox-api.d.ts +0 -171
  18. package/src/api/sandbox-api.js +0 -342
  19. package/src/api/sandbox-api.js.map +1 -1
  20. package/src/api/snapshots-api.d.ts +4 -46
  21. package/src/api/snapshots-api.js +4 -85
  22. package/src/api/snapshots-api.js.map +1 -1
  23. package/src/api.d.ts +0 -2
  24. package/src/api.js +0 -2
  25. package/src/api.js.map +1 -1
  26. package/src/models/api-key-list.d.ts +0 -5
  27. package/src/models/api-key-list.js +0 -5
  28. package/src/models/api-key-list.js.map +1 -1
  29. package/src/models/api-key-response.d.ts +0 -5
  30. package/src/models/api-key-response.js +0 -5
  31. package/src/models/api-key-response.js.map +1 -1
  32. package/src/models/build-info.d.ts +0 -6
  33. package/src/models/create-api-key.d.ts +0 -5
  34. package/src/models/create-api-key.js +0 -5
  35. package/src/models/create-api-key.js.map +1 -1
  36. package/src/models/create-organization-role.d.ts +0 -5
  37. package/src/models/create-organization-role.js +0 -5
  38. package/src/models/create-organization-role.js.map +1 -1
  39. package/src/models/create-runner.d.ts +68 -2
  40. package/src/models/create-runner.js +6 -0
  41. package/src/models/create-runner.js.map +1 -1
  42. package/src/models/create-snapshot.d.ts +0 -6
  43. package/src/models/index.d.ts +0 -18
  44. package/src/models/index.js +0 -18
  45. package/src/models/index.js.map +1 -1
  46. package/src/models/organization-role.d.ts +0 -5
  47. package/src/models/organization-role.js +0 -5
  48. package/src/models/organization-role.js.map +1 -1
  49. package/src/models/region.d.ts +0 -19
  50. package/src/models/region.js +0 -12
  51. package/src/models/region.js.map +1 -1
  52. package/src/models/runner-snapshot-dto.d.ts +1 -1
  53. package/src/models/runner.d.ts +12 -27
  54. package/src/models/sandbox.d.ts +0 -6
  55. package/src/models/sandbox.js.map +1 -1
  56. package/src/models/snapshot-dto.d.ts +0 -18
  57. package/src/models/ssh-access-dto.d.ts +0 -6
  58. package/src/models/update-organization-role.d.ts +0 -5
  59. package/src/models/update-organization-role.js +0 -5
  60. package/src/models/update-organization-role.js.map +1 -1
  61. package/src/models/update-sandbox-state-dto.d.ts +0 -6
  62. package/src/models/update-sandbox-state-dto.js.map +1 -1
  63. package/src/models/workspace.d.ts +0 -6
  64. package/src/models/workspace.js.map +1 -1
  65. package/src/api/admin-api.d.ts +0 -208
  66. package/src/api/admin-api.js +0 -404
  67. package/src/api/admin-api.js.map +0 -1
  68. package/src/api/jobs-api.d.ts +0 -197
  69. package/src/api/jobs-api.js +0 -371
  70. package/src/api/jobs-api.js.map +0 -1
  71. package/src/models/admin-create-runner.d.ts +0 -78
  72. package/src/models/admin-create-runner.js +0 -4
  73. package/src/models/admin-create-runner.js.map +0 -1
  74. package/src/models/create-region-response.d.ts +0 -48
  75. package/src/models/create-region-response.js +0 -4
  76. package/src/models/create-region-response.js.map +0 -1
  77. package/src/models/create-region.d.ts +0 -42
  78. package/src/models/create-region.js +0 -4
  79. package/src/models/create-region.js.map +0 -1
  80. package/src/models/create-runner-response.d.ts +0 -30
  81. package/src/models/create-runner-response.js +0 -4
  82. package/src/models/create-runner-response.js.map +0 -1
  83. package/src/models/job-status.d.ts +0 -23
  84. package/src/models/job-status.js +0 -27
  85. package/src/models/job-status.js.map +0 -1
  86. package/src/models/job-type.d.ts +0 -30
  87. package/src/models/job-type.js +0 -34
  88. package/src/models/job-type.js.map +0 -1
  89. package/src/models/job.d.ts +0 -88
  90. package/src/models/job.js +0 -22
  91. package/src/models/job.js.map +0 -1
  92. package/src/models/paginated-jobs.d.ts +0 -43
  93. package/src/models/paginated-jobs.js +0 -16
  94. package/src/models/paginated-jobs.js.map +0 -1
  95. package/src/models/poll-jobs-response.d.ts +0 -25
  96. package/src/models/poll-jobs-response.js +0 -16
  97. package/src/models/poll-jobs-response.js.map +0 -1
  98. package/src/models/regenerate-api-key-response.d.ts +0 -24
  99. package/src/models/regenerate-api-key-response.js +0 -4
  100. package/src/models/regenerate-api-key-response.js.map +0 -1
  101. package/src/models/region-type.d.ts +0 -22
  102. package/src/models/region-type.js +0 -26
  103. package/src/models/region-type.js.map +0 -1
  104. package/src/models/runner-full.d.ts +0 -210
  105. package/src/models/runner-full.js +0 -16
  106. package/src/models/runner-full.js.map +0 -1
  107. package/src/models/runner-health-metrics.d.ts +0 -84
  108. package/src/models/runner-health-metrics.js +0 -4
  109. package/src/models/runner-health-metrics.js.map +0 -1
  110. package/src/models/runner-healthcheck.d.ts +0 -49
  111. package/src/models/runner-healthcheck.js +0 -16
  112. package/src/models/runner-healthcheck.js.map +0 -1
  113. package/src/models/signed-port-preview-url.d.ts +0 -42
  114. package/src/models/signed-port-preview-url.js +0 -4
  115. package/src/models/signed-port-preview-url.js.map +0 -1
  116. package/src/models/toolbox-proxy-url.d.ts +0 -24
  117. package/src/models/toolbox-proxy-url.js +0 -4
  118. package/src/models/toolbox-proxy-url.js.map +0 -1
  119. package/src/models/update-job-status.d.ts +0 -37
  120. package/src/models/update-job-status.js +0 -16
  121. package/src/models/update-job-status.js.map +0 -1
  122. package/src/models/url.d.ts +0 -24
  123. package/src/models/url.js +0 -4
  124. package/src/models/url.js.map +0 -1
@@ -1,27 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.JobStatus = void 0;
5
- /**
6
- * Daytona
7
- * Daytona AI platform API Docs
8
- *
9
- * The version of the OpenAPI document: 1.0
10
- * Contact: support@daytona.com
11
- *
12
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
- * https://openapi-generator.tech
14
- * Do not edit the class manually.
15
- */
16
- /**
17
- *
18
- * @export
19
- * @enum {string}
20
- */
21
- exports.JobStatus = {
22
- PENDING: 'PENDING',
23
- IN_PROGRESS: 'IN_PROGRESS',
24
- COMPLETED: 'COMPLETED',
25
- FAILED: 'FAILED',
26
- };
27
- //# sourceMappingURL=job-status.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"job-status.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/job-status.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEpB;;;;;;;;;;GAUG;AAEH;;;;GAIG;AAEU,QAAA,SAAS,GAAG;IACvB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAA"}
@@ -1,30 +0,0 @@
1
- /**
2
- * Daytona
3
- * Daytona AI platform API Docs
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support@daytona.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The type of the job
14
- * @export
15
- * @enum {string}
16
- */
17
- export declare const JobType: {
18
- readonly CREATE_SANDBOX: "CREATE_SANDBOX";
19
- readonly START_SANDBOX: "START_SANDBOX";
20
- readonly STOP_SANDBOX: "STOP_SANDBOX";
21
- readonly DESTROY_SANDBOX: "DESTROY_SANDBOX";
22
- readonly CREATE_BACKUP: "CREATE_BACKUP";
23
- readonly BUILD_SNAPSHOT: "BUILD_SNAPSHOT";
24
- readonly PULL_SNAPSHOT: "PULL_SNAPSHOT";
25
- readonly RECOVER_SANDBOX: "RECOVER_SANDBOX";
26
- readonly INSPECT_SNAPSHOT_IN_REGISTRY: "INSPECT_SNAPSHOT_IN_REGISTRY";
27
- readonly REMOVE_SNAPSHOT: "REMOVE_SNAPSHOT";
28
- readonly UPDATE_SANDBOX_NETWORK_SETTINGS: "UPDATE_SANDBOX_NETWORK_SETTINGS";
29
- };
30
- export type JobType = (typeof JobType)[keyof typeof JobType];
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.JobType = void 0;
5
- /**
6
- * Daytona
7
- * Daytona AI platform API Docs
8
- *
9
- * The version of the OpenAPI document: 1.0
10
- * Contact: support@daytona.com
11
- *
12
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
- * https://openapi-generator.tech
14
- * Do not edit the class manually.
15
- */
16
- /**
17
- * The type of the job
18
- * @export
19
- * @enum {string}
20
- */
21
- exports.JobType = {
22
- CREATE_SANDBOX: 'CREATE_SANDBOX',
23
- START_SANDBOX: 'START_SANDBOX',
24
- STOP_SANDBOX: 'STOP_SANDBOX',
25
- DESTROY_SANDBOX: 'DESTROY_SANDBOX',
26
- CREATE_BACKUP: 'CREATE_BACKUP',
27
- BUILD_SNAPSHOT: 'BUILD_SNAPSHOT',
28
- PULL_SNAPSHOT: 'PULL_SNAPSHOT',
29
- RECOVER_SANDBOX: 'RECOVER_SANDBOX',
30
- INSPECT_SNAPSHOT_IN_REGISTRY: 'INSPECT_SNAPSHOT_IN_REGISTRY',
31
- REMOVE_SNAPSHOT: 'REMOVE_SNAPSHOT',
32
- UPDATE_SANDBOX_NETWORK_SETTINGS: 'UPDATE_SANDBOX_NETWORK_SETTINGS',
33
- };
34
- //# sourceMappingURL=job-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"job-type.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/job-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEpB;;;;;;;;;;GAUG;AAEH;;;;GAIG;AAEU,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,eAAe,EAAE,iBAAiB;IAClC,4BAA4B,EAAE,8BAA8B;IAC5D,eAAe,EAAE,iBAAiB;IAClC,+BAA+B,EAAE,iCAAiC;CAC1D,CAAA"}
@@ -1,88 +0,0 @@
1
- /**
2
- * Daytona
3
- * Daytona AI platform API Docs
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support@daytona.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { JobStatus } from './job-status';
13
- import type { JobType } from './job-type';
14
- /**
15
- *
16
- * @export
17
- * @interface Job
18
- */
19
- export interface Job {
20
- /**
21
- * The ID of the job
22
- * @type {string}
23
- * @memberof Job
24
- */
25
- id: string;
26
- /**
27
- * The type of the job
28
- * @type {JobType}
29
- * @memberof Job
30
- */
31
- type: JobType;
32
- /**
33
- * The status of the job
34
- * @type {JobStatus}
35
- * @memberof Job
36
- */
37
- status: JobStatus;
38
- /**
39
- * The type of resource this job operates on
40
- * @type {string}
41
- * @memberof Job
42
- */
43
- resourceType: JobResourceTypeEnum;
44
- /**
45
- * The ID of the resource this job operates on (sandboxId, snapshotRef, etc.)
46
- * @type {string}
47
- * @memberof Job
48
- */
49
- resourceId: string;
50
- /**
51
- * Job-specific JSON-encoded payload data (operational metadata)
52
- * @type {string}
53
- * @memberof Job
54
- */
55
- payload?: string;
56
- /**
57
- * OpenTelemetry trace context for distributed tracing (W3C Trace Context format)
58
- * @type {{ [key: string]: any; }}
59
- * @memberof Job
60
- */
61
- traceContext?: {
62
- [key: string]: any;
63
- };
64
- /**
65
- * Error message if the job failed
66
- * @type {string}
67
- * @memberof Job
68
- */
69
- errorMessage?: string;
70
- /**
71
- * The creation timestamp of the job
72
- * @type {string}
73
- * @memberof Job
74
- */
75
- createdAt: string;
76
- /**
77
- * The last update timestamp of the job
78
- * @type {string}
79
- * @memberof Job
80
- */
81
- updatedAt?: string;
82
- }
83
- export declare const JobResourceTypeEnum: {
84
- readonly SANDBOX: "SANDBOX";
85
- readonly SNAPSHOT: "SNAPSHOT";
86
- readonly BACKUP: "BACKUP";
87
- };
88
- export type JobResourceTypeEnum = (typeof JobResourceTypeEnum)[keyof typeof JobResourceTypeEnum];
package/src/models/job.js DELETED
@@ -1,22 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Daytona
6
- * Daytona AI platform API Docs
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: support@daytona.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.JobResourceTypeEnum = void 0;
17
- exports.JobResourceTypeEnum = {
18
- SANDBOX: 'SANDBOX',
19
- SNAPSHOT: 'SNAPSHOT',
20
- BACKUP: 'BACKUP',
21
- };
22
- //# sourceMappingURL=job.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"job.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/job.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA6EU,QAAA,mBAAmB,GAAG;IACjC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACR,CAAA"}
@@ -1,43 +0,0 @@
1
- /**
2
- * Daytona
3
- * Daytona AI platform API Docs
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support@daytona.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Job } from './job';
13
- /**
14
- *
15
- * @export
16
- * @interface PaginatedJobs
17
- */
18
- export interface PaginatedJobs {
19
- /**
20
- *
21
- * @type {Array<Job>}
22
- * @memberof PaginatedJobs
23
- */
24
- items: Array<Job>;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof PaginatedJobs
29
- */
30
- total: number;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof PaginatedJobs
35
- */
36
- page: number;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof PaginatedJobs
41
- */
42
- totalPages: number;
43
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Daytona
6
- * Daytona AI platform API Docs
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: support@daytona.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- //# sourceMappingURL=paginated-jobs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"paginated-jobs.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/paginated-jobs.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1,25 +0,0 @@
1
- /**
2
- * Daytona
3
- * Daytona AI platform API Docs
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support@daytona.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Job } from './job';
13
- /**
14
- *
15
- * @export
16
- * @interface PollJobsResponse
17
- */
18
- export interface PollJobsResponse {
19
- /**
20
- * List of jobs
21
- * @type {Array<Job>}
22
- * @memberof PollJobsResponse
23
- */
24
- jobs: Array<Job>;
25
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Daytona
6
- * Daytona AI platform API Docs
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: support@daytona.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- //# sourceMappingURL=poll-jobs-response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"poll-jobs-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/poll-jobs-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1,24 +0,0 @@
1
- /**
2
- * Daytona
3
- * Daytona AI platform API Docs
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support@daytona.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface RegenerateApiKeyResponse
16
- */
17
- export interface RegenerateApiKeyResponse {
18
- /**
19
- * The newly generated API key
20
- * @type {string}
21
- * @memberof RegenerateApiKeyResponse
22
- */
23
- apiKey: string;
24
- }
@@ -1,4 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- //# sourceMappingURL=regenerate-api-key-response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regenerate-api-key-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/regenerate-api-key-response.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Daytona
3
- * Daytona AI platform API Docs
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support@daytona.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The type of the region
14
- * @export
15
- * @enum {string}
16
- */
17
- export declare const RegionType: {
18
- readonly SHARED: "shared";
19
- readonly DEDICATED: "dedicated";
20
- readonly CUSTOM: "custom";
21
- };
22
- export type RegionType = (typeof RegionType)[keyof typeof RegionType];
@@ -1,26 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.RegionType = void 0;
5
- /**
6
- * Daytona
7
- * Daytona AI platform API Docs
8
- *
9
- * The version of the OpenAPI document: 1.0
10
- * Contact: support@daytona.com
11
- *
12
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
- * https://openapi-generator.tech
14
- * Do not edit the class manually.
15
- */
16
- /**
17
- * The type of the region
18
- * @export
19
- * @enum {string}
20
- */
21
- exports.RegionType = {
22
- SHARED: 'shared',
23
- DEDICATED: 'dedicated',
24
- CUSTOM: 'custom',
25
- };
26
- //# sourceMappingURL=region-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"region-type.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/region-type.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEpB;;;;;;;;;;GAUG;AAEH;;;;GAIG;AAEU,QAAA,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAA"}
@@ -1,210 +0,0 @@
1
- /**
2
- * Daytona
3
- * Daytona AI platform API Docs
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support@daytona.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { RegionType } from './region-type';
13
- import type { RunnerState } from './runner-state';
14
- import type { SandboxClass } from './sandbox-class';
15
- /**
16
- *
17
- * @export
18
- * @interface RunnerFull
19
- */
20
- export interface RunnerFull {
21
- /**
22
- * The ID of the runner
23
- * @type {string}
24
- * @memberof RunnerFull
25
- */
26
- id: string;
27
- /**
28
- * The domain of the runner
29
- * @type {string}
30
- * @memberof RunnerFull
31
- */
32
- domain?: string;
33
- /**
34
- * The API URL of the runner
35
- * @type {string}
36
- * @memberof RunnerFull
37
- */
38
- apiUrl?: string;
39
- /**
40
- * The proxy URL of the runner
41
- * @type {string}
42
- * @memberof RunnerFull
43
- */
44
- proxyUrl?: string;
45
- /**
46
- * The CPU capacity of the runner
47
- * @type {number}
48
- * @memberof RunnerFull
49
- */
50
- cpu: number;
51
- /**
52
- * The memory capacity of the runner in GiB
53
- * @type {number}
54
- * @memberof RunnerFull
55
- */
56
- memory: number;
57
- /**
58
- * The disk capacity of the runner in GiB
59
- * @type {number}
60
- * @memberof RunnerFull
61
- */
62
- disk: number;
63
- /**
64
- * The GPU capacity of the runner
65
- * @type {number}
66
- * @memberof RunnerFull
67
- */
68
- gpu?: number;
69
- /**
70
- * The type of GPU
71
- * @type {string}
72
- * @memberof RunnerFull
73
- */
74
- gpuType?: string;
75
- /**
76
- * The class of the runner
77
- * @type {SandboxClass}
78
- * @memberof RunnerFull
79
- */
80
- class: SandboxClass;
81
- /**
82
- * Current CPU usage percentage
83
- * @type {number}
84
- * @memberof RunnerFull
85
- */
86
- currentCpuUsagePercentage?: number;
87
- /**
88
- * Current RAM usage percentage
89
- * @type {number}
90
- * @memberof RunnerFull
91
- */
92
- currentMemoryUsagePercentage?: number;
93
- /**
94
- * Current disk usage percentage
95
- * @type {number}
96
- * @memberof RunnerFull
97
- */
98
- currentDiskUsagePercentage?: number;
99
- /**
100
- * Current allocated CPU
101
- * @type {number}
102
- * @memberof RunnerFull
103
- */
104
- currentAllocatedCpu?: number;
105
- /**
106
- * Current allocated memory in GiB
107
- * @type {number}
108
- * @memberof RunnerFull
109
- */
110
- currentAllocatedMemoryGiB?: number;
111
- /**
112
- * Current allocated disk in GiB
113
- * @type {number}
114
- * @memberof RunnerFull
115
- */
116
- currentAllocatedDiskGiB?: number;
117
- /**
118
- * Current snapshot count
119
- * @type {number}
120
- * @memberof RunnerFull
121
- */
122
- currentSnapshotCount?: number;
123
- /**
124
- * Current number of started sandboxes
125
- * @type {number}
126
- * @memberof RunnerFull
127
- */
128
- currentStartedSandboxes?: number;
129
- /**
130
- * Runner availability score
131
- * @type {number}
132
- * @memberof RunnerFull
133
- */
134
- availabilityScore?: number;
135
- /**
136
- * The region of the runner
137
- * @type {string}
138
- * @memberof RunnerFull
139
- */
140
- region: string;
141
- /**
142
- * The name of the runner
143
- * @type {string}
144
- * @memberof RunnerFull
145
- */
146
- name: string;
147
- /**
148
- * The state of the runner
149
- * @type {RunnerState}
150
- * @memberof RunnerFull
151
- */
152
- state: RunnerState;
153
- /**
154
- * The last time the runner was checked
155
- * @type {string}
156
- * @memberof RunnerFull
157
- */
158
- lastChecked?: string;
159
- /**
160
- * Whether the runner is unschedulable
161
- * @type {boolean}
162
- * @memberof RunnerFull
163
- */
164
- unschedulable: boolean;
165
- /**
166
- * The creation timestamp of the runner
167
- * @type {string}
168
- * @memberof RunnerFull
169
- */
170
- createdAt: string;
171
- /**
172
- * The last update timestamp of the runner
173
- * @type {string}
174
- * @memberof RunnerFull
175
- */
176
- updatedAt: string;
177
- /**
178
- * The version of the runner (deprecated in favor of apiVersion)
179
- * @type {string}
180
- * @memberof RunnerFull
181
- * @deprecated
182
- */
183
- version: string;
184
- /**
185
- * The api version of the runner
186
- * @type {string}
187
- * @memberof RunnerFull
188
- * @deprecated
189
- */
190
- apiVersion: string;
191
- /**
192
- * The app version of the runner
193
- * @type {string}
194
- * @memberof RunnerFull
195
- * @deprecated
196
- */
197
- appVersion?: string;
198
- /**
199
- * The API key for the runner
200
- * @type {string}
201
- * @memberof RunnerFull
202
- */
203
- apiKey: string;
204
- /**
205
- * The region type of the runner
206
- * @type {RegionType}
207
- * @memberof RunnerFull
208
- */
209
- regionType?: RegionType;
210
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Daytona
6
- * Daytona AI platform API Docs
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: support@daytona.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- //# sourceMappingURL=runner-full.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"runner-full.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/runner-full.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}