@voidrun/sdk 0.0.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 (209) hide show
  1. package/dist/FS.d.ts +193 -0
  2. package/dist/FS.d.ts.map +1 -0
  3. package/dist/FS.js +488 -0
  4. package/dist/FS.js.map +1 -0
  5. package/dist/Sandbox.d.ts +23 -0
  6. package/dist/Sandbox.d.ts.map +1 -0
  7. package/dist/Sandbox.js +72 -0
  8. package/dist/Sandbox.js.map +1 -0
  9. package/dist/api-client/apis/AuthenticationApi.d.ts +32 -0
  10. package/dist/api-client/apis/AuthenticationApi.d.ts.map +1 -0
  11. package/dist/api-client/apis/AuthenticationApi.js +50 -0
  12. package/dist/api-client/apis/AuthenticationApi.js.map +1 -0
  13. package/dist/api-client/apis/ExecutionApi.d.ts +132 -0
  14. package/dist/api-client/apis/ExecutionApi.d.ts.map +1 -0
  15. package/dist/api-client/apis/ExecutionApi.js +305 -0
  16. package/dist/api-client/apis/ExecutionApi.js.map +1 -0
  17. package/dist/api-client/apis/FileSystemApi.d.ts +250 -0
  18. package/dist/api-client/apis/FileSystemApi.d.ts.map +1 -0
  19. package/dist/api-client/apis/FileSystemApi.js +634 -0
  20. package/dist/api-client/apis/FileSystemApi.js.map +1 -0
  21. package/dist/api-client/apis/ImagesApi.d.ts +81 -0
  22. package/dist/api-client/apis/ImagesApi.d.ts.map +1 -0
  23. package/dist/api-client/apis/ImagesApi.js +173 -0
  24. package/dist/api-client/apis/ImagesApi.js.map +1 -0
  25. package/dist/api-client/apis/OrganizationsApi.d.ts +70 -0
  26. package/dist/api-client/apis/OrganizationsApi.d.ts.map +1 -0
  27. package/dist/api-client/apis/OrganizationsApi.js +150 -0
  28. package/dist/api-client/apis/OrganizationsApi.js.map +1 -0
  29. package/dist/api-client/apis/SandboxesApi.d.ts +150 -0
  30. package/dist/api-client/apis/SandboxesApi.d.ts.map +1 -0
  31. package/dist/api-client/apis/SandboxesApi.js +335 -0
  32. package/dist/api-client/apis/SandboxesApi.js.map +1 -0
  33. package/dist/api-client/apis/index.d.ts +7 -0
  34. package/dist/api-client/apis/index.d.ts.map +1 -0
  35. package/dist/api-client/apis/index.js +9 -0
  36. package/dist/api-client/apis/index.js.map +1 -0
  37. package/dist/api-client/index.d.ts +4 -0
  38. package/dist/api-client/index.d.ts.map +1 -0
  39. package/dist/api-client/index.js +6 -0
  40. package/dist/api-client/index.js.map +1 -0
  41. package/dist/api-client/models/APIKeyResponse.d.ts +75 -0
  42. package/dist/api-client/models/APIKeyResponse.d.ts.map +1 -0
  43. package/dist/api-client/models/APIKeyResponse.js +56 -0
  44. package/dist/api-client/models/APIKeyResponse.js.map +1 -0
  45. package/dist/api-client/models/ApiResponseSandbox.d.ts +46 -0
  46. package/dist/api-client/models/ApiResponseSandbox.d.ts.map +1 -0
  47. package/dist/api-client/models/ApiResponseSandbox.js +47 -0
  48. package/dist/api-client/models/ApiResponseSandbox.js.map +1 -0
  49. package/dist/api-client/models/ApiResponseSandboxesList.d.ts +53 -0
  50. package/dist/api-client/models/ApiResponseSandboxesList.d.ts.map +1 -0
  51. package/dist/api-client/models/ApiResponseSandboxesList.js +50 -0
  52. package/dist/api-client/models/ApiResponseSandboxesList.js.map +1 -0
  53. package/dist/api-client/models/ApiResponseSandboxesListMeta.d.ts +51 -0
  54. package/dist/api-client/models/ApiResponseSandboxesListMeta.d.ts.map +1 -0
  55. package/dist/api-client/models/ApiResponseSandboxesListMeta.js +48 -0
  56. package/dist/api-client/models/ApiResponseSandboxesListMeta.js.map +1 -0
  57. package/dist/api-client/models/CompressRequest.d.ts +49 -0
  58. package/dist/api-client/models/CompressRequest.d.ts.map +1 -0
  59. package/dist/api-client/models/CompressRequest.js +55 -0
  60. package/dist/api-client/models/CompressRequest.js.map +1 -0
  61. package/dist/api-client/models/CreateFileRequest.d.ts +33 -0
  62. package/dist/api-client/models/CreateFileRequest.d.ts.map +1 -0
  63. package/dist/api-client/models/CreateFileRequest.js +42 -0
  64. package/dist/api-client/models/CreateFileRequest.js.map +1 -0
  65. package/dist/api-client/models/CreateImageRequest.d.ts +45 -0
  66. package/dist/api-client/models/CreateImageRequest.d.ts.map +1 -0
  67. package/dist/api-client/models/CreateImageRequest.js +48 -0
  68. package/dist/api-client/models/CreateImageRequest.js.map +1 -0
  69. package/dist/api-client/models/CreatePTYSessionRequest.d.ts +39 -0
  70. package/dist/api-client/models/CreatePTYSessionRequest.d.ts.map +1 -0
  71. package/dist/api-client/models/CreatePTYSessionRequest.js +44 -0
  72. package/dist/api-client/models/CreatePTYSessionRequest.js.map +1 -0
  73. package/dist/api-client/models/CreateSandbox201Response.d.ts +46 -0
  74. package/dist/api-client/models/CreateSandbox201Response.d.ts.map +1 -0
  75. package/dist/api-client/models/CreateSandbox201Response.js +47 -0
  76. package/dist/api-client/models/CreateSandbox201Response.js.map +1 -0
  77. package/dist/api-client/models/CreateSandboxRequest.d.ts +63 -0
  78. package/dist/api-client/models/CreateSandboxRequest.d.ts.map +1 -0
  79. package/dist/api-client/models/CreateSandboxRequest.js +54 -0
  80. package/dist/api-client/models/CreateSandboxRequest.js.map +1 -0
  81. package/dist/api-client/models/DiskUsage.d.ts +45 -0
  82. package/dist/api-client/models/DiskUsage.d.ts.map +1 -0
  83. package/dist/api-client/models/DiskUsage.js +46 -0
  84. package/dist/api-client/models/DiskUsage.js.map +1 -0
  85. package/dist/api-client/models/ErrorResponse.d.ts +39 -0
  86. package/dist/api-client/models/ErrorResponse.d.ts.map +1 -0
  87. package/dist/api-client/models/ErrorResponse.js +44 -0
  88. package/dist/api-client/models/ErrorResponse.js.map +1 -0
  89. package/dist/api-client/models/ExecRequest.d.ts +59 -0
  90. package/dist/api-client/models/ExecRequest.d.ts.map +1 -0
  91. package/dist/api-client/models/ExecRequest.js +52 -0
  92. package/dist/api-client/models/ExecRequest.js.map +1 -0
  93. package/dist/api-client/models/ExecResponse.d.ts +46 -0
  94. package/dist/api-client/models/ExecResponse.d.ts.map +1 -0
  95. package/dist/api-client/models/ExecResponse.js +47 -0
  96. package/dist/api-client/models/ExecResponse.js.map +1 -0
  97. package/dist/api-client/models/ExecResponseData.d.ts +45 -0
  98. package/dist/api-client/models/ExecResponseData.d.ts.map +1 -0
  99. package/dist/api-client/models/ExecResponseData.js +46 -0
  100. package/dist/api-client/models/ExecResponseData.js.map +1 -0
  101. package/dist/api-client/models/ExecuteInSessionRequest.d.ts +33 -0
  102. package/dist/api-client/models/ExecuteInSessionRequest.d.ts.map +1 -0
  103. package/dist/api-client/models/ExecuteInSessionRequest.js +44 -0
  104. package/dist/api-client/models/ExecuteInSessionRequest.js.map +1 -0
  105. package/dist/api-client/models/ExtractRequest.d.ts +39 -0
  106. package/dist/api-client/models/ExtractRequest.d.ts.map +1 -0
  107. package/dist/api-client/models/ExtractRequest.js +48 -0
  108. package/dist/api-client/models/ExtractRequest.js.map +1 -0
  109. package/dist/api-client/models/FileInfo.d.ts +63 -0
  110. package/dist/api-client/models/FileInfo.d.ts.map +1 -0
  111. package/dist/api-client/models/FileInfo.js +52 -0
  112. package/dist/api-client/models/FileInfo.js.map +1 -0
  113. package/dist/api-client/models/FileStats.d.ts +75 -0
  114. package/dist/api-client/models/FileStats.d.ts.map +1 -0
  115. package/dist/api-client/models/FileStats.js +56 -0
  116. package/dist/api-client/models/FileStats.js.map +1 -0
  117. package/dist/api-client/models/GenerateAPIKeyRequest.d.ts +39 -0
  118. package/dist/api-client/models/GenerateAPIKeyRequest.d.ts.map +1 -0
  119. package/dist/api-client/models/GenerateAPIKeyRequest.js +48 -0
  120. package/dist/api-client/models/GenerateAPIKeyRequest.js.map +1 -0
  121. package/dist/api-client/models/GeneratedAPIKeyResponse.d.ts +63 -0
  122. package/dist/api-client/models/GeneratedAPIKeyResponse.d.ts.map +1 -0
  123. package/dist/api-client/models/GeneratedAPIKeyResponse.js +52 -0
  124. package/dist/api-client/models/GeneratedAPIKeyResponse.js.map +1 -0
  125. package/dist/api-client/models/GetPTYBuffer200Response.d.ts +33 -0
  126. package/dist/api-client/models/GetPTYBuffer200Response.d.ts.map +1 -0
  127. package/dist/api-client/models/GetPTYBuffer200Response.js +42 -0
  128. package/dist/api-client/models/GetPTYBuffer200Response.js.map +1 -0
  129. package/dist/api-client/models/Image.d.ts +69 -0
  130. package/dist/api-client/models/Image.d.ts.map +1 -0
  131. package/dist/api-client/models/Image.js +54 -0
  132. package/dist/api-client/models/Image.js.map +1 -0
  133. package/dist/api-client/models/ListFiles200Response.d.ts +46 -0
  134. package/dist/api-client/models/ListFiles200Response.d.ts.map +1 -0
  135. package/dist/api-client/models/ListFiles200Response.js +47 -0
  136. package/dist/api-client/models/ListFiles200Response.js.map +1 -0
  137. package/dist/api-client/models/ListFiles200ResponseData.d.ts +40 -0
  138. package/dist/api-client/models/ListFiles200ResponseData.d.ts.map +1 -0
  139. package/dist/api-client/models/ListFiles200ResponseData.js +45 -0
  140. package/dist/api-client/models/ListFiles200ResponseData.js.map +1 -0
  141. package/dist/api-client/models/Organization.d.ts +81 -0
  142. package/dist/api-client/models/Organization.d.ts.map +1 -0
  143. package/dist/api-client/models/Organization.js +58 -0
  144. package/dist/api-client/models/Organization.js.map +1 -0
  145. package/dist/api-client/models/PTYSessionResponse.d.ts +51 -0
  146. package/dist/api-client/models/PTYSessionResponse.d.ts.map +1 -0
  147. package/dist/api-client/models/PTYSessionResponse.js +48 -0
  148. package/dist/api-client/models/PTYSessionResponse.js.map +1 -0
  149. package/dist/api-client/models/RegisterRequest.d.ts +39 -0
  150. package/dist/api-client/models/RegisterRequest.d.ts.map +1 -0
  151. package/dist/api-client/models/RegisterRequest.js +48 -0
  152. package/dist/api-client/models/RegisterRequest.js.map +1 -0
  153. package/dist/api-client/models/RegisterResponse.d.ts +40 -0
  154. package/dist/api-client/models/RegisterResponse.d.ts.map +1 -0
  155. package/dist/api-client/models/RegisterResponse.js +45 -0
  156. package/dist/api-client/models/RegisterResponse.js.map +1 -0
  157. package/dist/api-client/models/RegisterResponseData.d.ts +39 -0
  158. package/dist/api-client/models/RegisterResponseData.d.ts.map +1 -0
  159. package/dist/api-client/models/RegisterResponseData.js +44 -0
  160. package/dist/api-client/models/RegisterResponseData.js.map +1 -0
  161. package/dist/api-client/models/ResizeTerminalRequest.d.ts +39 -0
  162. package/dist/api-client/models/ResizeTerminalRequest.d.ts.map +1 -0
  163. package/dist/api-client/models/ResizeTerminalRequest.js +48 -0
  164. package/dist/api-client/models/ResizeTerminalRequest.js.map +1 -0
  165. package/dist/api-client/models/RestoreSandboxRequest.d.ts +75 -0
  166. package/dist/api-client/models/RestoreSandboxRequest.d.ts.map +1 -0
  167. package/dist/api-client/models/RestoreSandboxRequest.js +62 -0
  168. package/dist/api-client/models/RestoreSandboxRequest.js.map +1 -0
  169. package/dist/api-client/models/Sandbox.d.ts +97 -0
  170. package/dist/api-client/models/Sandbox.d.ts.map +1 -0
  171. package/dist/api-client/models/Sandbox.js +69 -0
  172. package/dist/api-client/models/Sandbox.js.map +1 -0
  173. package/dist/api-client/models/SessionExecResponse.d.ts +57 -0
  174. package/dist/api-client/models/SessionExecResponse.d.ts.map +1 -0
  175. package/dist/api-client/models/SessionExecResponse.js +50 -0
  176. package/dist/api-client/models/SessionExecResponse.js.map +1 -0
  177. package/dist/api-client/models/Snapshot.d.ts +45 -0
  178. package/dist/api-client/models/Snapshot.d.ts.map +1 -0
  179. package/dist/api-client/models/Snapshot.js +46 -0
  180. package/dist/api-client/models/Snapshot.js.map +1 -0
  181. package/dist/api-client/models/SuccessResponse.d.ts +45 -0
  182. package/dist/api-client/models/SuccessResponse.d.ts.map +1 -0
  183. package/dist/api-client/models/SuccessResponse.js +46 -0
  184. package/dist/api-client/models/SuccessResponse.js.map +1 -0
  185. package/dist/api-client/models/index.d.ts +37 -0
  186. package/dist/api-client/models/index.d.ts.map +1 -0
  187. package/dist/api-client/models/index.js +39 -0
  188. package/dist/api-client/models/index.js.map +1 -0
  189. package/dist/api-client/runtime.d.ts +185 -0
  190. package/dist/api-client/runtime.d.ts.map +1 -0
  191. package/dist/api-client/runtime.js +334 -0
  192. package/dist/api-client/runtime.js.map +1 -0
  193. package/dist/constants.d.ts +8 -0
  194. package/dist/constants.d.ts.map +1 -0
  195. package/dist/constants.js +9 -0
  196. package/dist/constants.js.map +1 -0
  197. package/dist/index.d.ts +19 -0
  198. package/dist/index.d.ts.map +1 -0
  199. package/dist/index.js +62 -0
  200. package/dist/index.js.map +1 -0
  201. package/dist/types.d.ts +47 -0
  202. package/dist/types.d.ts.map +1 -0
  203. package/dist/types.js +2 -0
  204. package/dist/types.js.map +1 -0
  205. package/dist/utils/runtime.d.ts +2 -0
  206. package/dist/utils/runtime.d.ts.map +1 -0
  207. package/dist/utils/runtime.js +23 -0
  208. package/dist/utils/runtime.js.map +1 -0
  209. package/package.json +23 -0
@@ -0,0 +1,305 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Hyper Fleet Native API
5
+ * Hyper Fleet Native API provides comprehensive management of virtual machines (sandboxes), file system operations, execution environments, and organizational resources. All endpoints except `/api/register` require the `X-API-Key` header for authentication.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import * as runtime from '../runtime';
15
+ import { CreatePTYSessionRequestToJSON, ExecRequestToJSON, ExecResponseFromJSON, ExecuteInSessionRequestToJSON, GetPTYBuffer200ResponseFromJSON, PTYSessionResponseFromJSON, ResizeTerminalRequestToJSON, SessionExecResponseFromJSON, SuccessResponseFromJSON, } from '../models/index';
16
+ /**
17
+ *
18
+ */
19
+ export class ExecutionApi extends runtime.BaseAPI {
20
+ /**
21
+ * Establish a WebSocket connection to a PTY session for interactive terminal access. The WebSocket URL format is: `ws://host/api/sandboxes/{id}/pty/sessions/{sessionId}`
22
+ * Connect to PTY session (WebSocket)
23
+ */
24
+ async connectPTYSessionRaw(requestParameters, initOverrides) {
25
+ if (requestParameters['id'] == null) {
26
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling connectPTYSession().');
27
+ }
28
+ if (requestParameters['sessionId'] == null) {
29
+ throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling connectPTYSession().');
30
+ }
31
+ const queryParameters = {};
32
+ const headerParameters = {};
33
+ if (this.configuration && this.configuration.apiKey) {
34
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
35
+ }
36
+ let urlPath = `/sandboxes/{id}/pty/sessions/{sessionId}`;
37
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
38
+ urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
39
+ const response = await this.request({
40
+ path: urlPath,
41
+ method: 'GET',
42
+ headers: headerParameters,
43
+ query: queryParameters,
44
+ }, initOverrides);
45
+ return new runtime.VoidApiResponse(response);
46
+ }
47
+ /**
48
+ * Establish a WebSocket connection to a PTY session for interactive terminal access. The WebSocket URL format is: `ws://host/api/sandboxes/{id}/pty/sessions/{sessionId}`
49
+ * Connect to PTY session (WebSocket)
50
+ */
51
+ async connectPTYSession(requestParameters, initOverrides) {
52
+ await this.connectPTYSessionRaw(requestParameters, initOverrides);
53
+ }
54
+ /**
55
+ * Create a new PTY (pseudo-terminal) session for interactive commands
56
+ * Create PTY session
57
+ */
58
+ async createPTYSessionRaw(requestParameters, initOverrides) {
59
+ if (requestParameters['id'] == null) {
60
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling createPTYSession().');
61
+ }
62
+ const queryParameters = {};
63
+ const headerParameters = {};
64
+ headerParameters['Content-Type'] = 'application/json';
65
+ if (this.configuration && this.configuration.apiKey) {
66
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
67
+ }
68
+ let urlPath = `/sandboxes/{id}/pty/sessions`;
69
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
70
+ const response = await this.request({
71
+ path: urlPath,
72
+ method: 'POST',
73
+ headers: headerParameters,
74
+ query: queryParameters,
75
+ body: CreatePTYSessionRequestToJSON(requestParameters['createPTYSessionRequest']),
76
+ }, initOverrides);
77
+ return new runtime.JSONApiResponse(response, (jsonValue) => PTYSessionResponseFromJSON(jsonValue));
78
+ }
79
+ /**
80
+ * Create a new PTY (pseudo-terminal) session for interactive commands
81
+ * Create PTY session
82
+ */
83
+ async createPTYSession(requestParameters, initOverrides) {
84
+ const response = await this.createPTYSessionRaw(requestParameters, initOverrides);
85
+ return await response.value();
86
+ }
87
+ /**
88
+ * Close and delete a PTY session
89
+ * Delete PTY session
90
+ */
91
+ async deletePTYSessionRaw(requestParameters, initOverrides) {
92
+ if (requestParameters['id'] == null) {
93
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deletePTYSession().');
94
+ }
95
+ if (requestParameters['sessionId'] == null) {
96
+ throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling deletePTYSession().');
97
+ }
98
+ const queryParameters = {};
99
+ const headerParameters = {};
100
+ if (this.configuration && this.configuration.apiKey) {
101
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
102
+ }
103
+ let urlPath = `/sandboxes/{id}/pty/sessions/{sessionId}`;
104
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
105
+ urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
106
+ const response = await this.request({
107
+ path: urlPath,
108
+ method: 'DELETE',
109
+ headers: headerParameters,
110
+ query: queryParameters,
111
+ }, initOverrides);
112
+ return new runtime.JSONApiResponse(response, (jsonValue) => SuccessResponseFromJSON(jsonValue));
113
+ }
114
+ /**
115
+ * Close and delete a PTY session
116
+ * Delete PTY session
117
+ */
118
+ async deletePTYSession(requestParameters, initOverrides) {
119
+ const response = await this.deletePTYSessionRaw(requestParameters, initOverrides);
120
+ return await response.value();
121
+ }
122
+ /**
123
+ * Execute a command in the sandbox and wait for the result
124
+ * Execute command (synchronous)
125
+ */
126
+ async execCommandRaw(requestParameters, initOverrides) {
127
+ if (requestParameters['id'] == null) {
128
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling execCommand().');
129
+ }
130
+ if (requestParameters['execRequest'] == null) {
131
+ throw new runtime.RequiredError('execRequest', 'Required parameter "execRequest" was null or undefined when calling execCommand().');
132
+ }
133
+ const queryParameters = {};
134
+ const headerParameters = {};
135
+ headerParameters['Content-Type'] = 'application/json';
136
+ if (this.configuration && this.configuration.apiKey) {
137
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
138
+ }
139
+ let urlPath = `/sandboxes/{id}/exec`;
140
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
141
+ const response = await this.request({
142
+ path: urlPath,
143
+ method: 'POST',
144
+ headers: headerParameters,
145
+ query: queryParameters,
146
+ body: ExecRequestToJSON(requestParameters['execRequest']),
147
+ }, initOverrides);
148
+ return new runtime.JSONApiResponse(response, (jsonValue) => ExecResponseFromJSON(jsonValue));
149
+ }
150
+ /**
151
+ * Execute a command in the sandbox and wait for the result
152
+ * Execute command (synchronous)
153
+ */
154
+ async execCommand(requestParameters, initOverrides) {
155
+ const response = await this.execCommandRaw(requestParameters, initOverrides);
156
+ return await response.value();
157
+ }
158
+ /**
159
+ * Execute a command asynchronously in an existing PTY session
160
+ * Execute command in PTY session
161
+ */
162
+ async executeInPTYSessionRaw(requestParameters, initOverrides) {
163
+ if (requestParameters['id'] == null) {
164
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling executeInPTYSession().');
165
+ }
166
+ if (requestParameters['sessionId'] == null) {
167
+ throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling executeInPTYSession().');
168
+ }
169
+ if (requestParameters['executeInSessionRequest'] == null) {
170
+ throw new runtime.RequiredError('executeInSessionRequest', 'Required parameter "executeInSessionRequest" was null or undefined when calling executeInPTYSession().');
171
+ }
172
+ const queryParameters = {};
173
+ const headerParameters = {};
174
+ headerParameters['Content-Type'] = 'application/json';
175
+ if (this.configuration && this.configuration.apiKey) {
176
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
177
+ }
178
+ let urlPath = `/sandboxes/{id}/pty/sessions/{sessionId}/execute`;
179
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
180
+ urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
181
+ const response = await this.request({
182
+ path: urlPath,
183
+ method: 'POST',
184
+ headers: headerParameters,
185
+ query: queryParameters,
186
+ body: ExecuteInSessionRequestToJSON(requestParameters['executeInSessionRequest']),
187
+ }, initOverrides);
188
+ return new runtime.JSONApiResponse(response, (jsonValue) => SessionExecResponseFromJSON(jsonValue));
189
+ }
190
+ /**
191
+ * Execute a command asynchronously in an existing PTY session
192
+ * Execute command in PTY session
193
+ */
194
+ async executeInPTYSession(requestParameters, initOverrides) {
195
+ const response = await this.executeInPTYSessionRaw(requestParameters, initOverrides);
196
+ return await response.value();
197
+ }
198
+ /**
199
+ * Get the current output buffer from a PTY session
200
+ * Get output buffer
201
+ */
202
+ async getPTYBufferRaw(requestParameters, initOverrides) {
203
+ if (requestParameters['id'] == null) {
204
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getPTYBuffer().');
205
+ }
206
+ if (requestParameters['sessionId'] == null) {
207
+ throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling getPTYBuffer().');
208
+ }
209
+ const queryParameters = {};
210
+ const headerParameters = {};
211
+ if (this.configuration && this.configuration.apiKey) {
212
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
213
+ }
214
+ let urlPath = `/sandboxes/{id}/pty/sessions/{sessionId}/buffer`;
215
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
216
+ urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
217
+ const response = await this.request({
218
+ path: urlPath,
219
+ method: 'GET',
220
+ headers: headerParameters,
221
+ query: queryParameters,
222
+ }, initOverrides);
223
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetPTYBuffer200ResponseFromJSON(jsonValue));
224
+ }
225
+ /**
226
+ * Get the current output buffer from a PTY session
227
+ * Get output buffer
228
+ */
229
+ async getPTYBuffer(requestParameters, initOverrides) {
230
+ const response = await this.getPTYBufferRaw(requestParameters, initOverrides);
231
+ return await response.value();
232
+ }
233
+ /**
234
+ * Get all active PTY sessions for a sandbox
235
+ * List PTY sessions
236
+ */
237
+ async listPTYSessionsRaw(requestParameters, initOverrides) {
238
+ if (requestParameters['id'] == null) {
239
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling listPTYSessions().');
240
+ }
241
+ const queryParameters = {};
242
+ const headerParameters = {};
243
+ if (this.configuration && this.configuration.apiKey) {
244
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
245
+ }
246
+ let urlPath = `/sandboxes/{id}/pty/sessions`;
247
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
248
+ const response = await this.request({
249
+ path: urlPath,
250
+ method: 'GET',
251
+ headers: headerParameters,
252
+ query: queryParameters,
253
+ }, initOverrides);
254
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(PTYSessionResponseFromJSON));
255
+ }
256
+ /**
257
+ * Get all active PTY sessions for a sandbox
258
+ * List PTY sessions
259
+ */
260
+ async listPTYSessions(requestParameters, initOverrides) {
261
+ const response = await this.listPTYSessionsRaw(requestParameters, initOverrides);
262
+ return await response.value();
263
+ }
264
+ /**
265
+ * Resize the terminal dimensions for a PTY session
266
+ * Resize terminal
267
+ */
268
+ async resizeTerminalRaw(requestParameters, initOverrides) {
269
+ if (requestParameters['id'] == null) {
270
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling resizeTerminal().');
271
+ }
272
+ if (requestParameters['sessionId'] == null) {
273
+ throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling resizeTerminal().');
274
+ }
275
+ if (requestParameters['resizeTerminalRequest'] == null) {
276
+ throw new runtime.RequiredError('resizeTerminalRequest', 'Required parameter "resizeTerminalRequest" was null or undefined when calling resizeTerminal().');
277
+ }
278
+ const queryParameters = {};
279
+ const headerParameters = {};
280
+ headerParameters['Content-Type'] = 'application/json';
281
+ if (this.configuration && this.configuration.apiKey) {
282
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
283
+ }
284
+ let urlPath = `/sandboxes/{id}/pty/sessions/{sessionId}/resize`;
285
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
286
+ urlPath = urlPath.replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId'])));
287
+ const response = await this.request({
288
+ path: urlPath,
289
+ method: 'POST',
290
+ headers: headerParameters,
291
+ query: queryParameters,
292
+ body: ResizeTerminalRequestToJSON(requestParameters['resizeTerminalRequest']),
293
+ }, initOverrides);
294
+ return new runtime.JSONApiResponse(response, (jsonValue) => SuccessResponseFromJSON(jsonValue));
295
+ }
296
+ /**
297
+ * Resize the terminal dimensions for a PTY session
298
+ * Resize terminal
299
+ */
300
+ async resizeTerminal(requestParameters, initOverrides) {
301
+ const response = await this.resizeTerminalRaw(requestParameters, initOverrides);
302
+ return await response.value();
303
+ }
304
+ }
305
+ //# sourceMappingURL=ExecutionApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionApi.js","sourceRoot":"","sources":["../../../src/api-client/apis/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F,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ"}
@@ -0,0 +1,250 @@
1
+ /**
2
+ * Hyper Fleet Native API
3
+ * Hyper Fleet Native API provides comprehensive management of virtual machines (sandboxes), file system operations, execution environments, and organizational resources. All endpoints except `/api/register` require the `X-API-Key` header for authentication.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 * as runtime from '../runtime';
13
+ import type { CreateFileRequest, ExecResponse, ListFiles200Response, SuccessResponse } from '../models/index';
14
+ export interface ChangePermissionsRequest {
15
+ id: string;
16
+ path: string;
17
+ mode: string;
18
+ }
19
+ export interface CompressFileRequest {
20
+ id: string;
21
+ path: string;
22
+ format?: CompressFileFormatEnum;
23
+ }
24
+ export interface CopyFileRequest {
25
+ id: string;
26
+ from: string;
27
+ to: string;
28
+ }
29
+ export interface CreateDirectoryRequest {
30
+ id: string;
31
+ path: string;
32
+ }
33
+ export interface CreateFileOperationRequest {
34
+ id: string;
35
+ path: string;
36
+ content?: string;
37
+ createFileRequest?: CreateFileRequest;
38
+ }
39
+ export interface DeleteFileRequest {
40
+ id: string;
41
+ path: string;
42
+ }
43
+ export interface DiskUsageRequest {
44
+ id: string;
45
+ path: string;
46
+ }
47
+ export interface DownloadFileRequest {
48
+ id: string;
49
+ path: string;
50
+ }
51
+ export interface ExtractArchiveRequest {
52
+ id: string;
53
+ archive: string;
54
+ dest: string;
55
+ }
56
+ export interface HeadTailRequest {
57
+ id: string;
58
+ path: string;
59
+ lines?: number;
60
+ head?: boolean;
61
+ }
62
+ export interface ListFilesRequest {
63
+ id: string;
64
+ path: string;
65
+ }
66
+ export interface MoveFileRequest {
67
+ id: string;
68
+ from: string;
69
+ to: string;
70
+ }
71
+ export interface SearchFilesRequest {
72
+ id: string;
73
+ path: string;
74
+ pattern: string;
75
+ }
76
+ export interface StatFileRequest {
77
+ id: string;
78
+ path: string;
79
+ }
80
+ export interface UploadFileRequest {
81
+ id: string;
82
+ path: string;
83
+ body: Blob;
84
+ }
85
+ /**
86
+ *
87
+ */
88
+ export declare class FileSystemApi extends runtime.BaseAPI {
89
+ /**
90
+ * Change the permissions (mode) of a file or directory
91
+ * Change file permissions
92
+ */
93
+ changePermissionsRaw(requestParameters: ChangePermissionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
94
+ /**
95
+ * Change the permissions (mode) of a file or directory
96
+ * Change file permissions
97
+ */
98
+ changePermissions(requestParameters: ChangePermissionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
99
+ /**
100
+ * Create an archive from a file or directory
101
+ * Compress file or directory
102
+ */
103
+ compressFileRaw(requestParameters: CompressFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
104
+ /**
105
+ * Create an archive from a file or directory
106
+ * Compress file or directory
107
+ */
108
+ compressFile(requestParameters: CompressFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
109
+ /**
110
+ * Copy a file or directory to a new location
111
+ * Copy file or directory
112
+ */
113
+ copyFileRaw(requestParameters: CopyFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
114
+ /**
115
+ * Copy a file or directory to a new location
116
+ * Copy file or directory
117
+ */
118
+ copyFile(requestParameters: CopyFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
119
+ /**
120
+ * Create a new directory
121
+ * Create directory
122
+ */
123
+ createDirectoryRaw(requestParameters: CreateDirectoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
124
+ /**
125
+ * Create a new directory
126
+ * Create directory
127
+ */
128
+ createDirectory(requestParameters: CreateDirectoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
129
+ /**
130
+ * Create a new file with optional content
131
+ * Create file
132
+ */
133
+ createFileRaw(requestParameters: CreateFileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
134
+ /**
135
+ * Create a new file with optional content
136
+ * Create file
137
+ */
138
+ createFile(requestParameters: CreateFileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
139
+ /**
140
+ * Delete a file or directory
141
+ * Delete file or directory
142
+ */
143
+ deleteFileRaw(requestParameters: DeleteFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
144
+ /**
145
+ * Delete a file or directory
146
+ * Delete file or directory
147
+ */
148
+ deleteFile(requestParameters: DeleteFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
149
+ /**
150
+ * Get disk usage for a path
151
+ * Disk usage
152
+ */
153
+ diskUsageRaw(requestParameters: DiskUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
154
+ /**
155
+ * Get disk usage for a path
156
+ * Disk usage
157
+ */
158
+ diskUsage(requestParameters: DiskUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
159
+ /**
160
+ * Download a file from the sandbox
161
+ * Download file
162
+ */
163
+ downloadFileRaw(requestParameters: DownloadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
164
+ /**
165
+ * Download a file from the sandbox
166
+ * Download file
167
+ */
168
+ downloadFile(requestParameters: DownloadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
169
+ /**
170
+ * Extract an archive to a destination directory
171
+ * Extract archive
172
+ */
173
+ extractArchiveRaw(requestParameters: ExtractArchiveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
174
+ /**
175
+ * Extract an archive to a destination directory
176
+ * Extract archive
177
+ */
178
+ extractArchive(requestParameters: ExtractArchiveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
179
+ /**
180
+ * Get the first or last N lines of a file
181
+ * Read file head or tail
182
+ */
183
+ headTailRaw(requestParameters: HeadTailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
184
+ /**
185
+ * Get the first or last N lines of a file
186
+ * Read file head or tail
187
+ */
188
+ headTail(requestParameters: HeadTailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
189
+ /**
190
+ * List files and directories in a path
191
+ * List files
192
+ */
193
+ listFilesRaw(requestParameters: ListFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListFiles200Response>>;
194
+ /**
195
+ * List files and directories in a path
196
+ * List files
197
+ */
198
+ listFiles(requestParameters: ListFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListFiles200Response>;
199
+ /**
200
+ * Move or rename a file or directory
201
+ * Move file or directory
202
+ */
203
+ moveFileRaw(requestParameters: MoveFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
204
+ /**
205
+ * Move or rename a file or directory
206
+ * Move file or directory
207
+ */
208
+ moveFile(requestParameters: MoveFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
209
+ /**
210
+ * Search for files matching a pattern
211
+ * Search files
212
+ */
213
+ searchFilesRaw(requestParameters: SearchFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
214
+ /**
215
+ * Search for files matching a pattern
216
+ * Search files
217
+ */
218
+ searchFiles(requestParameters: SearchFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
219
+ /**
220
+ * Get detailed information about a file or directory
221
+ * Get file stats
222
+ */
223
+ statFileRaw(requestParameters: StatFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExecResponse>>;
224
+ /**
225
+ * Get detailed information about a file or directory
226
+ * Get file stats
227
+ */
228
+ statFile(requestParameters: StatFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExecResponse>;
229
+ /**
230
+ * Upload a file to the sandbox
231
+ * Upload file
232
+ */
233
+ uploadFileRaw(requestParameters: UploadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessResponse>>;
234
+ /**
235
+ * Upload a file to the sandbox
236
+ * Upload file
237
+ */
238
+ uploadFile(requestParameters: UploadFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessResponse>;
239
+ }
240
+ /**
241
+ * @export
242
+ */
243
+ export declare const CompressFileFormatEnum: {
244
+ readonly Tar: "tar";
245
+ readonly TarGz: "tar.gz";
246
+ readonly TarBz2: "tar.bz2";
247
+ readonly Zip: "zip";
248
+ };
249
+ export type CompressFileFormatEnum = typeof CompressFileFormatEnum[keyof typeof CompressFileFormatEnum];
250
+ //# sourceMappingURL=FileSystemApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileSystemApi.d.ts","sourceRoot":"","sources":["../../../src/api-client/apis/FileSystemApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,iBAAiB,EAEjB,YAAY,EACZ,oBAAoB,EACpB,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAczB,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MA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