@voidrun/sdk 0.0.17 → 0.0.18
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/dist/CodeInterpreter.d.ts +26 -46
- package/dist/CodeInterpreter.d.ts.map +1 -1
- package/dist/CodeInterpreter.js +181 -273
- package/dist/CodeInterpreter.js.map +1 -1
- package/dist/Commands.d.ts +62 -0
- package/dist/Commands.d.ts.map +1 -0
- package/dist/Commands.js +179 -0
- package/dist/Commands.js.map +1 -0
- package/dist/PtySession.d.ts +1 -1
- package/dist/PtySession.d.ts.map +1 -1
- package/dist/PtySession.js +2 -41
- package/dist/PtySession.js.map +1 -1
- package/dist/Sandbox.d.ts +8 -3
- package/dist/Sandbox.d.ts.map +1 -1
- package/dist/Sandbox.js +93 -2
- package/dist/Sandbox.js.map +1 -1
- package/dist/api-client/apis/ExecutionApi.d.ts +84 -1
- package/dist/api-client/apis/ExecutionApi.d.ts.map +1 -1
- package/dist/api-client/apis/ExecutionApi.js +222 -1
- package/dist/api-client/apis/ExecutionApi.js.map +1 -1
- package/dist/api-client/models/CommandKillResponse.d.ts +39 -0
- package/dist/api-client/models/CommandKillResponse.d.ts.map +1 -0
- package/dist/api-client/models/CommandKillResponse.js +44 -0
- package/dist/api-client/models/CommandKillResponse.js.map +1 -0
- package/dist/api-client/models/CommandListResponse.d.ts +40 -0
- package/dist/api-client/models/CommandListResponse.d.ts.map +1 -0
- package/dist/api-client/models/CommandListResponse.js +45 -0
- package/dist/api-client/models/CommandListResponse.js.map +1 -0
- package/dist/api-client/models/CommandRunResponse.d.ts +45 -0
- package/dist/api-client/models/CommandRunResponse.d.ts.map +1 -0
- package/dist/api-client/models/CommandRunResponse.js +46 -0
- package/dist/api-client/models/CommandRunResponse.js.map +1 -0
- package/dist/api-client/models/CommandWaitResponse.d.ts +45 -0
- package/dist/api-client/models/CommandWaitResponse.d.ts.map +1 -0
- package/dist/api-client/models/CommandWaitResponse.js +46 -0
- package/dist/api-client/models/CommandWaitResponse.js.map +1 -0
- package/dist/api-client/models/ExecRequest.d.ts +7 -1
- package/dist/api-client/models/ExecRequest.d.ts.map +1 -1
- package/dist/api-client/models/ExecRequest.js +2 -0
- package/dist/api-client/models/ExecRequest.js.map +1 -1
- package/dist/api-client/models/KillBackgroundProcessRequest.d.ts +33 -0
- package/dist/api-client/models/KillBackgroundProcessRequest.d.ts.map +1 -0
- package/dist/api-client/models/KillBackgroundProcessRequest.js +44 -0
- package/dist/api-client/models/KillBackgroundProcessRequest.js.map +1 -0
- package/dist/api-client/models/ProcessInfo.d.ts +57 -0
- package/dist/api-client/models/ProcessInfo.d.ts.map +1 -0
- package/dist/api-client/models/ProcessInfo.js +50 -0
- package/dist/api-client/models/ProcessInfo.js.map +1 -0
- package/dist/api-client/models/RunBackgroundCommandRequest.d.ts +53 -0
- package/dist/api-client/models/RunBackgroundCommandRequest.d.ts.map +1 -0
- package/dist/api-client/models/RunBackgroundCommandRequest.js +50 -0
- package/dist/api-client/models/RunBackgroundCommandRequest.js.map +1 -0
- package/dist/api-client/models/index.d.ts +7 -0
- package/dist/api-client/models/index.d.ts.map +1 -1
- package/dist/api-client/models/index.js +7 -0
- package/dist/api-client/models/index.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,45 @@
|
|
|
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 { ProcessInfoFromJSON, ProcessInfoToJSON, } from './ProcessInfo';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CommandListResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCommandListResponse(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function CommandListResponseFromJSON(json) {
|
|
22
|
+
return CommandListResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function CommandListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
30
|
+
'processes': json['processes'] == null ? undefined : (json['processes'].map(ProcessInfoFromJSON)),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function CommandListResponseToJSON(json) {
|
|
34
|
+
return CommandListResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function CommandListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'processes': value['processes'] == null ? undefined : (value['processes'].map(ProcessInfoToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=CommandListResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandListResponse.js","sourceRoot":"","sources":["../../../src/api-client/models/CommandListResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,mBAAmB,EAEnB,iBAAiB,GAEpB,MAAM,eAAe,CAAC;AAs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ensive 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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CommandRunResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CommandRunResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof CommandRunResponse
|
|
22
|
+
*/
|
|
23
|
+
success?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CommandRunResponse
|
|
28
|
+
*/
|
|
29
|
+
pid?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CommandRunResponse
|
|
34
|
+
*/
|
|
35
|
+
command?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CommandRunResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCommandRunResponse(value: object): value is CommandRunResponse;
|
|
41
|
+
export declare function CommandRunResponseFromJSON(json: any): CommandRunResponse;
|
|
42
|
+
export declare function CommandRunResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommandRunResponse;
|
|
43
|
+
export declare function CommandRunResponseToJSON(json: any): CommandRunResponse;
|
|
44
|
+
export declare function CommandRunResponseToJSONTyped(value?: CommandRunResponse | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=CommandRunResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandRunResponse.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/CommandRunResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAEvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAU3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1H"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the CommandRunResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCommandRunResponse(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function CommandRunResponseFromJSON(json) {
|
|
21
|
+
return CommandRunResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CommandRunResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
29
|
+
'pid': json['pid'] == null ? undefined : json['pid'],
|
|
30
|
+
'command': json['command'] == null ? undefined : json['command'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function CommandRunResponseToJSON(json) {
|
|
34
|
+
return CommandRunResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function CommandRunResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'pid': value['pid'],
|
|
43
|
+
'command': value['command'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=CommandRunResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandRunResponse.js","sourceRoot":"","sources":["../../../src/api-client/models/CommandRunResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA6BH;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAAC,KAAa;IACtD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;QACpD,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;KACnE,CAAC;AACN,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,KAAiC,EAAE,sBAA+B,KAAK;IACjH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CommandWaitResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CommandWaitResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof CommandWaitResponse
|
|
22
|
+
*/
|
|
23
|
+
success?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CommandWaitResponse
|
|
28
|
+
*/
|
|
29
|
+
exitCode?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CommandWaitResponse
|
|
34
|
+
*/
|
|
35
|
+
error?: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CommandWaitResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCommandWaitResponse(value: object): value is CommandWaitResponse;
|
|
41
|
+
export declare function CommandWaitResponseFromJSON(json: any): CommandWaitResponse;
|
|
42
|
+
export declare function CommandWaitResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommandWaitResponse;
|
|
43
|
+
export declare function CommandWaitResponseToJSON(json: any): CommandWaitResponse;
|
|
44
|
+
export declare function CommandWaitResponseToJSONTyped(value?: CommandWaitResponse | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=CommandWaitResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandWaitResponse.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/CommandWaitResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAU7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5H"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the CommandWaitResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCommandWaitResponse(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function CommandWaitResponseFromJSON(json) {
|
|
21
|
+
return CommandWaitResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CommandWaitResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
29
|
+
'exitCode': json['exitCode'] == null ? undefined : json['exitCode'],
|
|
30
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function CommandWaitResponseToJSON(json) {
|
|
34
|
+
return CommandWaitResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function CommandWaitResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'exitCode': value['exitCode'],
|
|
43
|
+
'error': value['error'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=CommandWaitResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandWaitResponse.js","sourceRoot":"","sources":["../../../src/api-client/models/CommandWaitResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA6BH;;GAEG;AACH,MAAM,UAAU,6BAA6B,CAAC,KAAa;IACvD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,IAAS,EAAE,mBAA4B;IACpF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,KAAkC,EAAE,sBAA+B,KAAK;IACnH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
|
|
@@ -28,7 +28,7 @@ export interface ExecRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
args?: Array<string>;
|
|
30
30
|
/**
|
|
31
|
-
* Timeout in seconds
|
|
31
|
+
* Timeout in seconds (ignored if background=true)
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof ExecRequest
|
|
34
34
|
*/
|
|
@@ -47,6 +47,12 @@ export interface ExecRequest {
|
|
|
47
47
|
* @memberof ExecRequest
|
|
48
48
|
*/
|
|
49
49
|
cwd?: string;
|
|
50
|
+
/**
|
|
51
|
+
* If true, starts process in background and returns PID immediately
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof ExecRequest
|
|
54
|
+
*/
|
|
55
|
+
background?: boolean;
|
|
50
56
|
}
|
|
51
57
|
/**
|
|
52
58
|
* Check if a given object implements the ExecRequest interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecRequest.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/ExecRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,GAAG,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACjC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ExecRequest.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/ExecRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,GAAG,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACjC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAGzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAa7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc5G"}
|
|
@@ -32,6 +32,7 @@ export function ExecRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'timeout': json['timeout'] == null ? undefined : json['timeout'],
|
|
33
33
|
'env': json['env'] == null ? undefined : json['env'],
|
|
34
34
|
'cwd': json['cwd'] == null ? undefined : json['cwd'],
|
|
35
|
+
'background': json['background'] == null ? undefined : json['background'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
export function ExecRequestToJSON(json) {
|
|
@@ -47,6 +48,7 @@ export function ExecRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
48
|
'timeout': value['timeout'],
|
|
48
49
|
'env': value['env'],
|
|
49
50
|
'cwd': value['cwd'],
|
|
51
|
+
'background': value['background'],
|
|
50
52
|
};
|
|
51
53
|
}
|
|
52
54
|
//# sourceMappingURL=ExecRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecRequest.js","sourceRoot":"","sources":["../../../src/api-client/models/ExecRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"ExecRequest.js","sourceRoot":"","sources":["../../../src/api-client/models/ExecRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA+CH;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAa;IAC/C,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAA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CAAC,KAAK,CAAC;QACnB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface KillBackgroundProcessRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface KillBackgroundProcessRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof KillBackgroundProcessRequest
|
|
22
|
+
*/
|
|
23
|
+
pid: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the KillBackgroundProcessRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfKillBackgroundProcessRequest(value: object): value is KillBackgroundProcessRequest;
|
|
29
|
+
export declare function KillBackgroundProcessRequestFromJSON(json: any): KillBackgroundProcessRequest;
|
|
30
|
+
export declare function KillBackgroundProcessRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): KillBackgroundProcessRequest;
|
|
31
|
+
export declare function KillBackgroundProcessRequestToJSON(json: any): KillBackgroundProcessRequest;
|
|
32
|
+
export declare function KillBackgroundProcessRequestToJSONTyped(value?: KillBackgroundProcessRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=KillBackgroundProcessRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KillBackgroundProcessRequest.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/KillBackgroundProcessRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAG3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAQ/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS9I"}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the KillBackgroundProcessRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfKillBackgroundProcessRequest(value) {
|
|
18
|
+
if (!('pid' in value) || value['pid'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function KillBackgroundProcessRequestFromJSON(json) {
|
|
23
|
+
return KillBackgroundProcessRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function KillBackgroundProcessRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'pid': json['pid'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function KillBackgroundProcessRequestToJSON(json) {
|
|
34
|
+
return KillBackgroundProcessRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function KillBackgroundProcessRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'pid': value['pid'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=KillBackgroundProcessRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KillBackgroundProcessRequest.js","sourceRoot":"","sources":["../../../src/api-client/models/KillBackgroundProcessRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAiBH;;GAEG;AACH,MAAM,UAAU,sCAAsC,CAAC,KAAa;IAChE,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,yCAAyC,CAAC,IAAS,EAAE,mBAA4B;IAC7F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;KACrB,CAAC;AACN,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,uCAAuC,CAAC,KAA2C,EAAE,sBAA+B,KAAK;IACrI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;KACtB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProcessInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface ProcessInfo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProcessInfo
|
|
22
|
+
*/
|
|
23
|
+
pid?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProcessInfo
|
|
28
|
+
*/
|
|
29
|
+
command?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof ProcessInfo
|
|
34
|
+
*/
|
|
35
|
+
startTime?: Date;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the process is currently running
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof ProcessInfo
|
|
40
|
+
*/
|
|
41
|
+
running?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Exit code if process has finished (null if still running)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ProcessInfo
|
|
46
|
+
*/
|
|
47
|
+
exitCode?: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ProcessInfo interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfProcessInfo(value: object): value is ProcessInfo;
|
|
53
|
+
export declare function ProcessInfoFromJSON(json: any): ProcessInfo;
|
|
54
|
+
export declare function ProcessInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessInfo;
|
|
55
|
+
export declare function ProcessInfoToJSON(json: any): ProcessInfo;
|
|
56
|
+
export declare function ProcessInfoToJSONTyped(value?: ProcessInfo | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=ProcessInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProcessInfo.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/ProcessInfo.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAEzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAY7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa5G"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the ProcessInfo interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfProcessInfo(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ProcessInfoFromJSON(json) {
|
|
21
|
+
return ProcessInfoFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ProcessInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'pid': json['pid'] == null ? undefined : json['pid'],
|
|
29
|
+
'command': json['command'] == null ? undefined : json['command'],
|
|
30
|
+
'startTime': json['startTime'] == null ? undefined : (new Date(json['startTime'])),
|
|
31
|
+
'running': json['running'] == null ? undefined : json['running'],
|
|
32
|
+
'exitCode': json['exitCode'] == null ? undefined : json['exitCode'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function ProcessInfoToJSON(json) {
|
|
36
|
+
return ProcessInfoToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ProcessInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'pid': value['pid'],
|
|
44
|
+
'command': value['command'],
|
|
45
|
+
'startTime': value['startTime'] == null ? value['startTime'] : value['startTime'].toISOString(),
|
|
46
|
+
'running': value['running'],
|
|
47
|
+
'exitCode': value['exitCode'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=ProcessInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProcessInfo.js","sourceRoot":"","sources":["../../../src/api-client/models/ProcessInfo.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAyCH;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAa;IAC/C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,IAAS,EAAE,mBAA4B;IAC5E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IA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 +1,53 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RunBackgroundCommandRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RunBackgroundCommandRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RunBackgroundCommandRequest
|
|
22
|
+
*/
|
|
23
|
+
command: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof RunBackgroundCommandRequest
|
|
28
|
+
*/
|
|
29
|
+
env?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof RunBackgroundCommandRequest
|
|
36
|
+
*/
|
|
37
|
+
cwd?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Command timeout in seconds (0 = no timeout, max 900)
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof RunBackgroundCommandRequest
|
|
42
|
+
*/
|
|
43
|
+
timeout?: number;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the RunBackgroundCommandRequest interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfRunBackgroundCommandRequest(value: object): value is RunBackgroundCommandRequest;
|
|
49
|
+
export declare function RunBackgroundCommandRequestFromJSON(json: any): RunBackgroundCommandRequest;
|
|
50
|
+
export declare function RunBackgroundCommandRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunBackgroundCommandRequest;
|
|
51
|
+
export declare function RunBackgroundCommandRequestToJSON(json: any): RunBackgroundCommandRequest;
|
|
52
|
+
export declare function RunBackgroundCommandRequestToJSONTyped(value?: RunBackgroundCommandRequest | null, ignoreDiscriminator?: boolean): any;
|
|
53
|
+
//# sourceMappingURL=RunBackgroundCommandRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunBackgroundCommandRequest.d.ts","sourceRoot":"","sources":["../../../src/api-client/models/RunBackgroundCommandRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,GAAG,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACjC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAGzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAW7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY5I"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the RunBackgroundCommandRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRunBackgroundCommandRequest(value) {
|
|
18
|
+
if (!('command' in value) || value['command'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function RunBackgroundCommandRequestFromJSON(json) {
|
|
23
|
+
return RunBackgroundCommandRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function RunBackgroundCommandRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'command': json['command'],
|
|
31
|
+
'env': json['env'] == null ? undefined : json['env'],
|
|
32
|
+
'cwd': json['cwd'] == null ? undefined : json['cwd'],
|
|
33
|
+
'timeout': json['timeout'] == null ? undefined : json['timeout'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function RunBackgroundCommandRequestToJSON(json) {
|
|
37
|
+
return RunBackgroundCommandRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function RunBackgroundCommandRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'command': value['command'],
|
|
45
|
+
'env': value['env'],
|
|
46
|
+
'cwd': value['cwd'],
|
|
47
|
+
'timeout': value['timeout'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=RunBackgroundCommandRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunBackgroundCommandRequest.js","sourceRoot":"","sources":["../../../src/api-client/models/RunBackgroundCommandRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAmCH;;GAEG;AACH,MAAM,UAAU,qCAAqC,CAAC,KAAa;IAC/D,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;QAC1B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;QACpD,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;QACpD,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAA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