sandbox0 0.2.7 → 0.2.8
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/apispec/src/apis/ContextsApi.d.ts +6 -4
- package/dist/apispec/src/apis/ContextsApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/ContextsApi.js +6 -4
- package/dist/apispec/src/apis/SandboxesApi.d.ts +21 -1
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +57 -1
- package/dist/apispec/src/models/APIKey.d.ts +0 -6
- package/dist/apispec/src/models/APIKey.d.ts.map +1 -1
- package/dist/apispec/src/models/APIKey.js +0 -4
- package/dist/apispec/src/models/ContextInputRequest.d.ts +1 -1
- package/dist/apispec/src/models/ContextWebSocketInput.d.ts +1 -1
- package/dist/apispec/src/models/CreateAPIKeyRequest.d.ts +0 -14
- package/dist/apispec/src/models/CreateAPIKeyRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/CreateAPIKeyRequest.js +0 -11
- package/dist/apispec/src/models/CreateAPIKeyResponse.d.ts +0 -6
- package/dist/apispec/src/models/CreateAPIKeyResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/CreateAPIKeyResponse.js +0 -4
- package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts +0 -6
- package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/CurrentAPIKeyResponse.js +0 -4
- package/dist/apispec/src/models/HTTPGetAction.d.ts +2 -3
- package/dist/apispec/src/models/HTTPGetAction.d.ts.map +1 -1
- package/dist/apispec/src/models/HTTPGetAction.js +2 -3
- package/dist/apispec/src/models/SandboxLogs.d.ts +57 -0
- package/dist/apispec/src/models/SandboxLogs.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxLogs.js +59 -0
- package/dist/apispec/src/models/SandboxProbeSet.d.ts +46 -0
- package/dist/apispec/src/models/SandboxProbeSet.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxProbeSet.js +46 -0
- package/dist/apispec/src/models/SandboxProbeSpec.d.ts +66 -0
- package/dist/apispec/src/models/SandboxProbeSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxProbeSpec.js +54 -0
- package/dist/apispec/src/models/SuccessSandboxLogsResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxLogsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxLogsResponse.js +46 -0
- package/dist/apispec/src/models/TCPSocketAction.d.ts +2 -3
- package/dist/apispec/src/models/TCPSocketAction.d.ts.map +1 -1
- package/dist/apispec/src/models/TCPSocketAction.js +2 -3
- package/dist/apispec/src/models/WarmProcessSpec.d.ts +13 -0
- package/dist/apispec/src/models/WarmProcessSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/WarmProcessSpec.js +5 -0
- package/dist/apispec/src/models/index.d.ts +4 -1
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +4 -1
- package/dist/client.d.ts +5 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +92 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/models.d.ts +15 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/sandbox_logs.d.ts +9 -0
- package/dist/sandbox_logs.d.ts.map +1 -0
- package/dist/sandbox_logs.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.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 SandboxLogs interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxLogs(value) {
|
|
18
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('podName' in value) || value['podName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('container' in value) || value['container'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('previous' in value) || value['previous'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('logs' in value) || value['logs'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function SandboxLogsFromJSON(json) {
|
|
31
|
+
return SandboxLogsFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function SandboxLogsFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'sandboxId': json['sandbox_id'],
|
|
39
|
+
'podName': json['pod_name'],
|
|
40
|
+
'container': json['container'],
|
|
41
|
+
'previous': json['previous'],
|
|
42
|
+
'logs': json['logs'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function SandboxLogsToJSON(json) {
|
|
46
|
+
return SandboxLogsToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function SandboxLogsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'sandbox_id': value['sandboxId'],
|
|
54
|
+
'pod_name': value['podName'],
|
|
55
|
+
'container': value['container'],
|
|
56
|
+
'previous': value['previous'],
|
|
57
|
+
'logs': value['logs'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.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 type { SandboxProbeSpec } from './SandboxProbeSpec.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxProbeSet
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxProbeSet {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SandboxProbeSpec}
|
|
22
|
+
* @memberof SandboxProbeSet
|
|
23
|
+
*/
|
|
24
|
+
startup?: SandboxProbeSpec;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SandboxProbeSpec}
|
|
28
|
+
* @memberof SandboxProbeSet
|
|
29
|
+
*/
|
|
30
|
+
readiness?: SandboxProbeSpec;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SandboxProbeSpec}
|
|
34
|
+
* @memberof SandboxProbeSet
|
|
35
|
+
*/
|
|
36
|
+
liveness?: SandboxProbeSpec;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SandboxProbeSet interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSandboxProbeSet(value: object): value is SandboxProbeSet;
|
|
42
|
+
export declare function SandboxProbeSetFromJSON(json: any): SandboxProbeSet;
|
|
43
|
+
export declare function SandboxProbeSetFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxProbeSet;
|
|
44
|
+
export declare function SandboxProbeSetToJSON(json: any): SandboxProbeSet;
|
|
45
|
+
export declare function SandboxProbeSetToJSONTyped(value?: SandboxProbeSet | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=SandboxProbeSet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxProbeSet.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxProbeSet.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAEjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAUrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWpH"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.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 { SandboxProbeSpecFromJSON, SandboxProbeSpecToJSON, } from './SandboxProbeSpec.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxProbeSet interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxProbeSet(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SandboxProbeSetFromJSON(json) {
|
|
22
|
+
return SandboxProbeSetFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SandboxProbeSetFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'startup': json['startup'] == null ? undefined : SandboxProbeSpecFromJSON(json['startup']),
|
|
30
|
+
'readiness': json['readiness'] == null ? undefined : SandboxProbeSpecFromJSON(json['readiness']),
|
|
31
|
+
'liveness': json['liveness'] == null ? undefined : SandboxProbeSpecFromJSON(json['liveness']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SandboxProbeSetToJSON(json) {
|
|
35
|
+
return SandboxProbeSetToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SandboxProbeSetToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'startup': SandboxProbeSpecToJSON(value['startup']),
|
|
43
|
+
'readiness': SandboxProbeSpecToJSON(value['readiness']),
|
|
44
|
+
'liveness': SandboxProbeSpecToJSON(value['liveness']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.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 type { ExecAction } from './ExecAction.js';
|
|
13
|
+
import type { TCPSocketAction } from './TCPSocketAction.js';
|
|
14
|
+
import type { HTTPGetAction } from './HTTPGetAction.js';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SandboxProbeSpec
|
|
19
|
+
*/
|
|
20
|
+
export interface SandboxProbeSpec {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {object}
|
|
24
|
+
* @memberof SandboxProbeSpec
|
|
25
|
+
*/
|
|
26
|
+
process?: object;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {ExecAction}
|
|
30
|
+
* @memberof SandboxProbeSpec
|
|
31
|
+
*/
|
|
32
|
+
exec?: ExecAction;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {HTTPGetAction}
|
|
36
|
+
* @memberof SandboxProbeSpec
|
|
37
|
+
*/
|
|
38
|
+
httpGet?: HTTPGetAction;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {TCPSocketAction}
|
|
42
|
+
* @memberof SandboxProbeSpec
|
|
43
|
+
*/
|
|
44
|
+
tcpSocket?: TCPSocketAction;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof SandboxProbeSpec
|
|
49
|
+
*/
|
|
50
|
+
initialDelaySeconds?: number;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof SandboxProbeSpec
|
|
55
|
+
*/
|
|
56
|
+
timeoutSeconds?: number;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the SandboxProbeSpec interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfSandboxProbeSpec(value: object): value is SandboxProbeSpec;
|
|
62
|
+
export declare function SandboxProbeSpecFromJSON(json: any): SandboxProbeSpec;
|
|
63
|
+
export declare function SandboxProbeSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxProbeSpec;
|
|
64
|
+
export declare function SandboxProbeSpecToJSON(json: any): SandboxProbeSpec;
|
|
65
|
+
export declare function SandboxProbeSpecToJSONTyped(value?: SandboxProbeSpec | null, ignoreDiscriminator?: boolean): any;
|
|
66
|
+
//# sourceMappingURL=SandboxProbeSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxProbeSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxProbeSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAavG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CActH"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.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 { ExecActionFromJSON, ExecActionToJSON, } from './ExecAction.js';
|
|
15
|
+
import { TCPSocketActionFromJSON, TCPSocketActionToJSON, } from './TCPSocketAction.js';
|
|
16
|
+
import { HTTPGetActionFromJSON, HTTPGetActionToJSON, } from './HTTPGetAction.js';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SandboxProbeSpec interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSandboxProbeSpec(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SandboxProbeSpecFromJSON(json) {
|
|
24
|
+
return SandboxProbeSpecFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SandboxProbeSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'process': json['process'] == null ? undefined : json['process'],
|
|
32
|
+
'exec': json['exec'] == null ? undefined : ExecActionFromJSON(json['exec']),
|
|
33
|
+
'httpGet': json['httpGet'] == null ? undefined : HTTPGetActionFromJSON(json['httpGet']),
|
|
34
|
+
'tcpSocket': json['tcpSocket'] == null ? undefined : TCPSocketActionFromJSON(json['tcpSocket']),
|
|
35
|
+
'initialDelaySeconds': json['initialDelaySeconds'] == null ? undefined : json['initialDelaySeconds'],
|
|
36
|
+
'timeoutSeconds': json['timeoutSeconds'] == null ? undefined : json['timeoutSeconds'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function SandboxProbeSpecToJSON(json) {
|
|
40
|
+
return SandboxProbeSpecToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function SandboxProbeSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'process': value['process'],
|
|
48
|
+
'exec': ExecActionToJSON(value['exec']),
|
|
49
|
+
'httpGet': HTTPGetActionToJSON(value['httpGet']),
|
|
50
|
+
'tcpSocket': TCPSocketActionToJSON(value['tcpSocket']),
|
|
51
|
+
'initialDelaySeconds': value['initialDelaySeconds'],
|
|
52
|
+
'timeoutSeconds': value['timeoutSeconds'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.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 type { SandboxLogs } from './SandboxLogs.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSandboxLogsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSandboxLogsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessSandboxLogsResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SandboxLogs}
|
|
28
|
+
* @memberof SuccessSandboxLogsResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SandboxLogs;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessSandboxLogsResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessSandboxLogsResponse(value: object): value is SuccessSandboxLogsResponse;
|
|
36
|
+
export declare function SuccessSandboxLogsResponseFromJSON(json: any): SuccessSandboxLogsResponse;
|
|
37
|
+
export declare function SuccessSandboxLogsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxLogsResponse;
|
|
38
|
+
export declare function SuccessSandboxLogsResponseToJSON(json: any): SuccessSandboxLogsResponse;
|
|
39
|
+
export declare function SuccessSandboxLogsResponseToJSONTyped(value?: SuccessSandboxLogsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessSandboxLogsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSandboxLogsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxLogsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAGvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAS3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1I"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.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 { SandboxLogsFromJSON, SandboxLogsToJSON, } from './SandboxLogs.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessSandboxLogsResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessSandboxLogsResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessSandboxLogsResponseFromJSON(json) {
|
|
24
|
+
return SuccessSandboxLogsResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessSandboxLogsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SandboxLogsFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessSandboxLogsResponseToJSON(json) {
|
|
36
|
+
return SuccessSandboxLogsResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessSandboxLogsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SandboxLogsToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ProbePort } from './ProbePort.js';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -18,10 +17,10 @@ import type { ProbePort } from './ProbePort.js';
|
|
|
18
17
|
export interface TCPSocketAction {
|
|
19
18
|
/**
|
|
20
19
|
*
|
|
21
|
-
* @type {
|
|
20
|
+
* @type {number}
|
|
22
21
|
* @memberof TCPSocketAction
|
|
23
22
|
*/
|
|
24
|
-
port:
|
|
23
|
+
port: number;
|
|
25
24
|
/**
|
|
26
25
|
*
|
|
27
26
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TCPSocketAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/TCPSocketAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH
|
|
1
|
+
{"version":3,"file":"TCPSocketAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/TCPSocketAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAGjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CASrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpH"}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { ProbePortFromJSON, ProbePortToJSON, } from './ProbePort.js';
|
|
15
14
|
/**
|
|
16
15
|
* Check if a given object implements the TCPSocketAction interface.
|
|
17
16
|
*/
|
|
@@ -28,7 +27,7 @@ export function TCPSocketActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
27
|
return json;
|
|
29
28
|
}
|
|
30
29
|
return {
|
|
31
|
-
'port':
|
|
30
|
+
'port': json['port'],
|
|
32
31
|
'host': json['host'] == null ? undefined : json['host'],
|
|
33
32
|
};
|
|
34
33
|
}
|
|
@@ -40,7 +39,7 @@ export function TCPSocketActionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
40
39
|
return value;
|
|
41
40
|
}
|
|
42
41
|
return {
|
|
43
|
-
'port':
|
|
42
|
+
'port': value['port'],
|
|
44
43
|
'host': value['host'],
|
|
45
44
|
};
|
|
46
45
|
}
|
|
@@ -9,12 +9,19 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SandboxProbeSet } from './SandboxProbeSet.js';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
16
|
* @interface WarmProcessSpec
|
|
16
17
|
*/
|
|
17
18
|
export interface WarmProcessSpec {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WarmProcessSpec
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
18
25
|
/**
|
|
19
26
|
*
|
|
20
27
|
* @type {string}
|
|
@@ -47,6 +54,12 @@ export interface WarmProcessSpec {
|
|
|
47
54
|
envVars?: {
|
|
48
55
|
[key: string]: string;
|
|
49
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {SandboxProbeSet}
|
|
60
|
+
* @memberof WarmProcessSpec
|
|
61
|
+
*/
|
|
62
|
+
probes?: SandboxProbeSet;
|
|
50
63
|
}
|
|
51
64
|
/**
|
|
52
65
|
* @export
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarmProcessSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/WarmProcessSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,M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G,CAepH"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SandboxProbeSetFromJSON, SandboxProbeSetToJSON, } from './SandboxProbeSet.js';
|
|
14
15
|
/**
|
|
15
16
|
* @export
|
|
16
17
|
*/
|
|
@@ -34,11 +35,13 @@ export function WarmProcessSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
return json;
|
|
35
36
|
}
|
|
36
37
|
return {
|
|
38
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
39
|
'type': json['type'],
|
|
38
40
|
'alias': json['alias'] == null ? undefined : json['alias'],
|
|
39
41
|
'command': json['command'] == null ? undefined : json['command'],
|
|
40
42
|
'cwd': json['cwd'] == null ? undefined : json['cwd'],
|
|
41
43
|
'envVars': json['envVars'] == null ? undefined : json['envVars'],
|
|
44
|
+
'probes': json['probes'] == null ? undefined : SandboxProbeSetFromJSON(json['probes']),
|
|
42
45
|
};
|
|
43
46
|
}
|
|
44
47
|
export function WarmProcessSpecToJSON(json) {
|
|
@@ -49,10 +52,12 @@ export function WarmProcessSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
52
|
return value;
|
|
50
53
|
}
|
|
51
54
|
return {
|
|
55
|
+
'name': value['name'],
|
|
52
56
|
'type': value['type'],
|
|
53
57
|
'alias': value['alias'],
|
|
54
58
|
'command': value['command'],
|
|
55
59
|
'cwd': value['cwd'],
|
|
56
60
|
'envVars': value['envVars'],
|
|
61
|
+
'probes': SandboxProbeSetToJSON(value['probes']),
|
|
57
62
|
};
|
|
58
63
|
}
|
|
@@ -101,7 +101,6 @@ export * from './PortSpec.js';
|
|
|
101
101
|
export * from './PreStopHook.js';
|
|
102
102
|
export * from './PreferredSchedulingTerm.js';
|
|
103
103
|
export * from './Probe.js';
|
|
104
|
-
export * from './ProbePort.js';
|
|
105
104
|
export * from './ProcessType.js';
|
|
106
105
|
export * from './ProjectedHeader.js';
|
|
107
106
|
export * from './ProjectionSpec.js';
|
|
@@ -124,8 +123,11 @@ export * from './ResumeSandboxResponse.js';
|
|
|
124
123
|
export * from './SSHPublicKey.js';
|
|
125
124
|
export * from './Sandbox.js';
|
|
126
125
|
export * from './SandboxConfig.js';
|
|
126
|
+
export * from './SandboxLogs.js';
|
|
127
127
|
export * from './SandboxNetworkPolicy.js';
|
|
128
128
|
export * from './SandboxPowerState.js';
|
|
129
|
+
export * from './SandboxProbeSet.js';
|
|
130
|
+
export * from './SandboxProbeSpec.js';
|
|
129
131
|
export * from './SandboxRefreshRequest.js';
|
|
130
132
|
export * from './SandboxResourceUsage.js';
|
|
131
133
|
export * from './SandboxSSHConnection.js';
|
|
@@ -202,6 +204,7 @@ export * from './SuccessSSHPublicKeyListResponseAllOfData.js';
|
|
|
202
204
|
export * from './SuccessSSHPublicKeyResponse.js';
|
|
203
205
|
export * from './SuccessSandboxListResponse.js';
|
|
204
206
|
export * from './SuccessSandboxListResponseAllOfData.js';
|
|
207
|
+
export * from './SuccessSandboxLogsResponse.js';
|
|
205
208
|
export * from './SuccessSandboxNetworkPolicyResponse.js';
|
|
206
209
|
export * from './SuccessSandboxResponse.js';
|
|
207
210
|
export * from './SuccessSandboxStatusResponse.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc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103
|
export * from './PreStopHook.js';
|
|
104
104
|
export * from './PreferredSchedulingTerm.js';
|
|
105
105
|
export * from './Probe.js';
|
|
106
|
-
export * from './ProbePort.js';
|
|
107
106
|
export * from './ProcessType.js';
|
|
108
107
|
export * from './ProjectedHeader.js';
|
|
109
108
|
export * from './ProjectionSpec.js';
|
|
@@ -126,8 +125,11 @@ export * from './ResumeSandboxResponse.js';
|
|
|
126
125
|
export * from './SSHPublicKey.js';
|
|
127
126
|
export * from './Sandbox.js';
|
|
128
127
|
export * from './SandboxConfig.js';
|
|
128
|
+
export * from './SandboxLogs.js';
|
|
129
129
|
export * from './SandboxNetworkPolicy.js';
|
|
130
130
|
export * from './SandboxPowerState.js';
|
|
131
|
+
export * from './SandboxProbeSet.js';
|
|
132
|
+
export * from './SandboxProbeSpec.js';
|
|
131
133
|
export * from './SandboxRefreshRequest.js';
|
|
132
134
|
export * from './SandboxResourceUsage.js';
|
|
133
135
|
export * from './SandboxSSHConnection.js';
|
|
@@ -204,6 +206,7 @@ export * from './SuccessSSHPublicKeyListResponseAllOfData.js';
|
|
|
204
206
|
export * from './SuccessSSHPublicKeyResponse.js';
|
|
205
207
|
export * from './SuccessSandboxListResponse.js';
|
|
206
208
|
export * from './SuccessSandboxListResponseAllOfData.js';
|
|
209
|
+
export * from './SuccessSandboxLogsResponse.js';
|
|
207
210
|
export * from './SuccessSandboxNetworkPolicyResponse.js';
|
|
208
211
|
export * from './SuccessSandboxResponse.js';
|
|
209
212
|
export * from './SuccessSandboxStatusResponse.js';
|
package/dist/client.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import { Sandboxes } from "./resources/sandboxes.js";
|
|
|
5
5
|
import { Templates } from "./resources/templates.js";
|
|
6
6
|
import { Volumes } from "./resources/volumes.js";
|
|
7
7
|
import { Sandbox } from "./sandbox.js";
|
|
8
|
+
import type { SandboxLogs } from "./apispec/src/models/index.js";
|
|
9
|
+
import type { SandboxLogsOptions, SandboxLogsStream } from "./models.js";
|
|
8
10
|
export declare const DEFAULT_BASE_URL = "https://api.sandbox0.ai";
|
|
9
11
|
export type TokenProvider = string | (() => string | Promise<string>);
|
|
10
12
|
export interface ClientOptions {
|
|
@@ -34,7 +36,10 @@ export declare class Client {
|
|
|
34
36
|
readonly credentialSources: CredentialSources;
|
|
35
37
|
constructor(options: ClientOptions);
|
|
36
38
|
sandbox(id: string): Sandbox;
|
|
39
|
+
getSandboxLogs(sandboxId: string, options?: SandboxLogsOptions): Promise<SandboxLogs>;
|
|
40
|
+
streamSandboxLogs(sandboxId: string, options?: SandboxLogsOptions): Promise<SandboxLogsStream>;
|
|
37
41
|
websocketUrl(path: string): string;
|
|
38
42
|
wsHeaders(): Promise<Record<string, string>>;
|
|
43
|
+
private fetchRaw;
|
|
39
44
|
}
|
|
40
45
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,YAAY,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,KAAK,SAAS,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,YAAY,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,KAAK,SAAS,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAA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