@daytonaio/api-client 0.24.4-alpha.8 → 0.24.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daytonaio/api-client",
3
- "version": "0.24.4-alpha.8",
3
+ "version": "0.24.4",
4
4
  "description": "OpenAPI client for @daytonaio/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -21,5 +21,8 @@
21
21
  "axios": "^1.6.1"
22
22
  },
23
23
  "packageManager": "yarn@4.6.0",
24
+ "resolutions": {
25
+ "stylus": "github:stylus/stylus#0.64.0"
26
+ },
24
27
  "type": "commonjs"
25
28
  }
@@ -58,30 +58,32 @@ export declare const CreateAuditLogActionEnum: {
58
58
  readonly UPDATE: "update";
59
59
  readonly DELETE: "delete";
60
60
  readonly LOGIN: "login";
61
- readonly DOCKER_REGISTRY_SET_DEFAULT: "docker_registry_set_default";
62
- readonly ORGANIZATION_USER_UPDATE_ROLE: "organization_user_update_role";
63
- readonly ORGANIZATION_USER_UPDATE_ASSIGNED_ROLES: "organization_user_update_assigned_roles";
64
- readonly ORGANIZATION_UPDATE_QUOTA: "organization_update_quota";
65
- readonly ORGANIZATION_SUSPEND: "organization_suspend";
66
- readonly ORGANIZATION_UNSUSPEND: "organization_unsuspend";
67
- readonly ORGANIZATION_INVITATION_ACCEPT: "organization_invitation_accept";
68
- readonly ORGANIZATION_INVITATION_DECLINE: "organization_invitation_decline";
69
- readonly USER_LINK_ACCOUNT: "user_link_account";
70
- readonly USER_UNLINK_ACCOUNT: "user_unlink_account";
71
- readonly USER_LEAVE_ORGANIZATION: "user_leave_organization";
72
- readonly USER_REGENERATE_KEY_PAIR: "user_regenerate_key_pair";
73
- readonly RUNNER_UPDATE_SCHEDULING: "runner_update_scheduling";
74
- readonly SANDBOX_START: "sandbox_start";
75
- readonly SANDBOX_STOP: "sandbox_stop";
76
- readonly SANDBOX_REPLACE_LABELS: "sandbox_replace_labels";
77
- readonly SANDBOX_CREATE_BACKUP: "sandbox_create_backup";
78
- readonly SANDBOX_UPDATE_PUBLIC_STATUS: "sandbox_update_public_status";
79
- readonly SANDBOX_SET_AUTO_STOP_INTERVAL: "sandbox_set_auto_stop_interval";
80
- readonly SANDBOX_SET_AUTO_ARCHIVE_INTERVAL: "sandbox_set_auto_archive_interval";
81
- readonly SANDBOX_ARCHIVE: "sandbox_archive";
82
- readonly SANDBOX_GET_PORT_PREVIEW_URL: "sandbox_get_port_preview_url";
83
- readonly SNAPSHOT_TOGGLE_STATE: "snapshot_toggle_state";
84
- readonly SNAPSHOT_SET_GENERAL_STATUS: "snapshot_set_general_status";
61
+ readonly SET_DEFAULT: "set_default";
62
+ readonly UPDATE_ROLE: "update_role";
63
+ readonly UPDATE_ASSIGNED_ROLES: "update_assigned_roles";
64
+ readonly UPDATE_QUOTA: "update_quota";
65
+ readonly SUSPEND: "suspend";
66
+ readonly UNSUSPEND: "unsuspend";
67
+ readonly ACCEPT: "accept";
68
+ readonly DECLINE: "decline";
69
+ readonly LINK_ACCOUNT: "link_account";
70
+ readonly UNLINK_ACCOUNT: "unlink_account";
71
+ readonly LEAVE_ORGANIZATION: "leave_organization";
72
+ readonly REGENERATE_KEY_PAIR: "regenerate_key_pair";
73
+ readonly UPDATE_SCHEDULING: "update_scheduling";
74
+ readonly START: "start";
75
+ readonly STOP: "stop";
76
+ readonly REPLACE_LABELS: "replace_labels";
77
+ readonly CREATE_BACKUP: "create_backup";
78
+ readonly UPDATE_PUBLIC_STATUS: "update_public_status";
79
+ readonly SET_AUTO_STOP_INTERVAL: "set_auto_stop_interval";
80
+ readonly SET_AUTO_ARCHIVE_INTERVAL: "set_auto_archive_interval";
81
+ readonly SET_AUTO_DELETE_INTERVAL: "set_auto_delete_interval";
82
+ readonly ARCHIVE: "archive";
83
+ readonly GET_PORT_PREVIEW_URL: "get_port_preview_url";
84
+ readonly TOGGLE_STATE: "toggle_state";
85
+ readonly SET_GENERAL_STATUS: "set_general_status";
86
+ readonly ACTIVATE: "activate";
85
87
  readonly TOOLBOX_DELETE_FILE: "toolbox_delete_file";
86
88
  readonly TOOLBOX_DOWNLOAD_FILE: "toolbox_download_file";
87
89
  readonly TOOLBOX_CREATE_FOLDER: "toolbox_create_folder";
@@ -102,6 +104,9 @@ export declare const CreateAuditLogActionEnum: {
102
104
  readonly TOOLBOX_CREATE_SESSION: "toolbox_create_session";
103
105
  readonly TOOLBOX_SESSION_EXECUTE_COMMAND: "toolbox_session_execute_command";
104
106
  readonly TOOLBOX_DELETE_SESSION: "toolbox_delete_session";
107
+ readonly TOOLBOX_COMPUTER_USE_START: "toolbox_computer_use_start";
108
+ readonly TOOLBOX_COMPUTER_USE_STOP: "toolbox_computer_use_stop";
109
+ readonly TOOLBOX_COMPUTER_USE_RESTART_PROCESS: "toolbox_computer_use_restart_process";
105
110
  };
106
111
  export type CreateAuditLogActionEnum = (typeof CreateAuditLogActionEnum)[keyof typeof CreateAuditLogActionEnum];
107
112
  export declare const CreateAuditLogTargetTypeEnum: {
@@ -8,30 +8,32 @@ exports.CreateAuditLogActionEnum = {
8
8
  UPDATE: 'update',
9
9
  DELETE: 'delete',
10
10
  LOGIN: 'login',
11
- DOCKER_REGISTRY_SET_DEFAULT: 'docker_registry_set_default',
12
- ORGANIZATION_USER_UPDATE_ROLE: 'organization_user_update_role',
13
- ORGANIZATION_USER_UPDATE_ASSIGNED_ROLES: 'organization_user_update_assigned_roles',
14
- ORGANIZATION_UPDATE_QUOTA: 'organization_update_quota',
15
- ORGANIZATION_SUSPEND: 'organization_suspend',
16
- ORGANIZATION_UNSUSPEND: 'organization_unsuspend',
17
- ORGANIZATION_INVITATION_ACCEPT: 'organization_invitation_accept',
18
- ORGANIZATION_INVITATION_DECLINE: 'organization_invitation_decline',
19
- USER_LINK_ACCOUNT: 'user_link_account',
20
- USER_UNLINK_ACCOUNT: 'user_unlink_account',
21
- USER_LEAVE_ORGANIZATION: 'user_leave_organization',
22
- USER_REGENERATE_KEY_PAIR: 'user_regenerate_key_pair',
23
- RUNNER_UPDATE_SCHEDULING: 'runner_update_scheduling',
24
- SANDBOX_START: 'sandbox_start',
25
- SANDBOX_STOP: 'sandbox_stop',
26
- SANDBOX_REPLACE_LABELS: 'sandbox_replace_labels',
27
- SANDBOX_CREATE_BACKUP: 'sandbox_create_backup',
28
- SANDBOX_UPDATE_PUBLIC_STATUS: 'sandbox_update_public_status',
29
- SANDBOX_SET_AUTO_STOP_INTERVAL: 'sandbox_set_auto_stop_interval',
30
- SANDBOX_SET_AUTO_ARCHIVE_INTERVAL: 'sandbox_set_auto_archive_interval',
31
- SANDBOX_ARCHIVE: 'sandbox_archive',
32
- SANDBOX_GET_PORT_PREVIEW_URL: 'sandbox_get_port_preview_url',
33
- SNAPSHOT_TOGGLE_STATE: 'snapshot_toggle_state',
34
- SNAPSHOT_SET_GENERAL_STATUS: 'snapshot_set_general_status',
11
+ SET_DEFAULT: 'set_default',
12
+ UPDATE_ROLE: 'update_role',
13
+ UPDATE_ASSIGNED_ROLES: 'update_assigned_roles',
14
+ UPDATE_QUOTA: 'update_quota',
15
+ SUSPEND: 'suspend',
16
+ UNSUSPEND: 'unsuspend',
17
+ ACCEPT: 'accept',
18
+ DECLINE: 'decline',
19
+ LINK_ACCOUNT: 'link_account',
20
+ UNLINK_ACCOUNT: 'unlink_account',
21
+ LEAVE_ORGANIZATION: 'leave_organization',
22
+ REGENERATE_KEY_PAIR: 'regenerate_key_pair',
23
+ UPDATE_SCHEDULING: 'update_scheduling',
24
+ START: 'start',
25
+ STOP: 'stop',
26
+ REPLACE_LABELS: 'replace_labels',
27
+ CREATE_BACKUP: 'create_backup',
28
+ UPDATE_PUBLIC_STATUS: 'update_public_status',
29
+ SET_AUTO_STOP_INTERVAL: 'set_auto_stop_interval',
30
+ SET_AUTO_ARCHIVE_INTERVAL: 'set_auto_archive_interval',
31
+ SET_AUTO_DELETE_INTERVAL: 'set_auto_delete_interval',
32
+ ARCHIVE: 'archive',
33
+ GET_PORT_PREVIEW_URL: 'get_port_preview_url',
34
+ TOGGLE_STATE: 'toggle_state',
35
+ SET_GENERAL_STATUS: 'set_general_status',
36
+ ACTIVATE: 'activate',
35
37
  TOOLBOX_DELETE_FILE: 'toolbox_delete_file',
36
38
  TOOLBOX_DOWNLOAD_FILE: 'toolbox_download_file',
37
39
  TOOLBOX_CREATE_FOLDER: 'toolbox_create_folder',
@@ -52,6 +54,9 @@ exports.CreateAuditLogActionEnum = {
52
54
  TOOLBOX_CREATE_SESSION: 'toolbox_create_session',
53
55
  TOOLBOX_SESSION_EXECUTE_COMMAND: 'toolbox_session_execute_command',
54
56
  TOOLBOX_DELETE_SESSION: 'toolbox_delete_session',
57
+ TOOLBOX_COMPUTER_USE_START: 'toolbox_computer_use_start',
58
+ TOOLBOX_COMPUTER_USE_STOP: 'toolbox_computer_use_stop',
59
+ TOOLBOX_COMPUTER_USE_RESTART_PROCESS: 'toolbox_computer_use_restart_process',
55
60
  };
56
61
  exports.CreateAuditLogTargetTypeEnum = {
57
62
  API_KEY: 'api_key',
@@ -1 +1 @@
1
- {"version":3,"file":"create-audit-log.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-audit-log.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AA0DP,QAAA,wBAAwB,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,2BAA2B,EAAE,6BAA6B;IAC1D,6BAA6B,EAAE,+BAA+B;IAC9D,uCAAuC,EAAE,yCAAyC;IAClF,yBAAyB,EAAE,2BAA2B;IACtD,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAChD,8BAA8B,EAAE,gCAAgC;IAChE,+BAA+B,EAAE,iCAAiC;IAClE,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,E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ChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAA"}
1
+ {"version":3,"file":"create-audit-log.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-audit-log.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AA0DP,QAAA,wBAAwB,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,qBAAqB,EAAE,uBAAuB;IAC9C,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,gBAAgB;IAChC,kBAAkB,EAAE,oBAAoB;IACxC,mBAAmB,EAAE,qBAAqB;IAC1C,iBAAiB,EAAE,mBAAmB;IACtC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAChD,yBAAyB,EAAE,2BAA2B;IACtD,wBAAwB,EAAE,0BAA0B;IACpD,OAAO,EAAE,SAAS;IAClB,oBAAoB,EAAE,sBAAsB;IAC5C,YAAY,EAAE,cAAc;IAC5B,kBAAkB,EAAE,oBAAoB;IACxC,QAAQ,EAAE,UAAU;IACpB,mBAAmB,EAAE,qBAAqB;IAC1C,qBAAqB,EAAE,uBAAuB;IAC9C,qBAAqB,EAAE,uBAAuB;IAC9C,iBAAiB,EAAE,mBAAmB;IACtC,4BAA4B,EAAE,8BAA8B;IAC5D,wBAAwB,EAAE,0BAA0B;IACpD,mBAAmB,EAAE,qBAAqB;IAC1C,yBAAyB,EAAE,2BAA2B;IACtD,qBAAqB,EAAE,uBAAuB;IAC9C,yBAAyB,EAAE,2BAA2B;IACtD,yBAAyB,EAAE,2BAA2B;IACtD,4BAA4B,EAAE,8BAA8B;IAC5D,0BAA0B,EAAE,4BAA4B;IACxD,wBAAwB,EAAE,0BAA0B;IACpD,wBAAwB,EAAE,0BAA0B;IACpD,2BAA2B,EAAE,6BAA6B;IAC1D,uBAAuB,EAAE,yBAAyB;IAClD,sBAAsB,EAAE,wBAAwB;IAChD,+BAA+B,EAAE,iCAAiC;IAClE,sBAAsB,EAAE,wBAAwB;IAChD,0BAA0B,EAAE,4BAA4B;IACxD,yBAAyB,EAAE,2BAA2B;IACtD,oCAAoC,EAAE,sCAAsC;CACpE,CAAA;AAGG,QAAA,4BAA4B,GAAG;IAC1C,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,cAAc;IAC5B,uBAAuB,EAAE,yBAAyB;IAClD,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAA"}
@@ -27,6 +27,12 @@ export interface CreateRunner {
27
27
  * @memberof CreateRunner
28
28
  */
29
29
  apiUrl: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateRunner
34
+ */
35
+ proxyUrl: string;
30
36
  /**
31
37
  *
32
38
  * @type {string}
@@ -44,13 +50,13 @@ export interface CreateRunner {
44
50
  * @type {number}
45
51
  * @memberof CreateRunner
46
52
  */
47
- memory: number;
53
+ memoryGiB: number;
48
54
  /**
49
55
  *
50
56
  * @type {number}
51
57
  * @memberof CreateRunner
52
58
  */
53
- disk: number;
59
+ diskGiB: number;
54
60
  /**
55
61
  *
56
62
  * @type {number}
@@ -81,6 +87,12 @@ export interface CreateRunner {
81
87
  * @memberof CreateRunner
82
88
  */
83
89
  region: string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof CreateRunner
94
+ */
95
+ version: string;
84
96
  }
85
97
  export declare const CreateRunnerClassEnum: {
86
98
  readonly SMALL: "small";
@@ -1 +1 @@
1
- {"version":3,"file":"create-runner.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-runner.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwFP,QAAA,qBAAqB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA"}
1
+ {"version":3,"file":"create-runner.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/create-runner.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAoGP,QAAA,qBAAqB,GAAG;IACnC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAA"}
@@ -35,6 +35,12 @@ export interface Runner {
35
35
  * @memberof Runner
36
36
  */
37
37
  apiUrl: string;
38
+ /**
39
+ * The proxy URL of the runner
40
+ * @type {string}
41
+ * @memberof Runner
42
+ */
43
+ proxyUrl: string;
38
44
  /**
39
45
  * The API key for the runner
40
46
  * @type {string}
@@ -48,13 +54,13 @@ export interface Runner {
48
54
  */
49
55
  cpu: number;
50
56
  /**
51
- * The memory capacity of the runner in GB
57
+ * The memory capacity of the runner in GiB
52
58
  * @type {number}
53
59
  * @memberof Runner
54
60
  */
55
61
  memory: number;
56
62
  /**
57
- * The disk capacity of the runner in GB
63
+ * The disk capacity of the runner in GiB
58
64
  * @type {number}
59
65
  * @memberof Runner
60
66
  */
@@ -89,6 +95,54 @@ export interface Runner {
89
95
  * @memberof Runner
90
96
  */
91
97
  capacity: number;
98
+ /**
99
+ * Current CPU usage percentage
100
+ * @type {number}
101
+ * @memberof Runner
102
+ */
103
+ currentCpuUsagePercentage?: number;
104
+ /**
105
+ * Current RAM usage percentage
106
+ * @type {number}
107
+ * @memberof Runner
108
+ */
109
+ currentMemoryUsagePercentage?: number;
110
+ /**
111
+ * Current disk usage percentage
112
+ * @type {number}
113
+ * @memberof Runner
114
+ */
115
+ currentDiskUsagePercentage?: number;
116
+ /**
117
+ * Current allocated CPU
118
+ * @type {number}
119
+ * @memberof Runner
120
+ */
121
+ currentAllocatedCpu?: number;
122
+ /**
123
+ * Current allocated memory in GiB
124
+ * @type {number}
125
+ * @memberof Runner
126
+ */
127
+ currentAllocatedMemoryGiB?: number;
128
+ /**
129
+ * Current allocated disk in GiB
130
+ * @type {number}
131
+ * @memberof Runner
132
+ */
133
+ currentAllocatedDiskGiB?: number;
134
+ /**
135
+ * Current snapshot count
136
+ * @type {number}
137
+ * @memberof Runner
138
+ */
139
+ currentSnapshotCount?: number;
140
+ /**
141
+ * Runner availability score
142
+ * @type {number}
143
+ * @memberof Runner
144
+ */
145
+ availabilityScore?: number;
92
146
  /**
93
147
  * The region of the runner
94
148
  * @type {string}
@@ -125,4 +179,10 @@ export interface Runner {
125
179
  * @memberof Runner
126
180
  */
127
181
  updatedAt: string;
182
+ /**
183
+ * The version of the runner
184
+ * @type {string}
185
+ * @memberof Runner
186
+ */
187
+ version: string;
128
188
  }