sandbox0 0.2.6 → 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/README.md +3 -1
- package/dist/apispec/src/apis/ApiKeysApi.d.ts +11 -1
- package/dist/apispec/src/apis/ApiKeysApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/ApiKeysApi.js +32 -1
- 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/apis/UsersApi.d.ts +31 -1
- package/dist/apispec/src/apis/UsersApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/UsersApi.js +97 -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/CreateSSHPublicKeyRequest.d.ts +39 -0
- package/dist/apispec/src/models/CreateSSHPublicKeyRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/CreateSSHPublicKeyRequest.js +47 -0
- package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts +69 -0
- package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/CurrentAPIKeyResponse.js +67 -0
- 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/SSHPublicKey.d.ts +75 -0
- package/dist/apispec/src/models/SSHPublicKey.d.ts.map +1 -0
- package/dist/apispec/src/models/SSHPublicKey.js +69 -0
- package/dist/apispec/src/models/Sandbox.d.ts +7 -0
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +3 -0
- 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/SandboxSSHConnection.d.ts +45 -0
- package/dist/apispec/src/models/SandboxSSHConnection.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxSSHConnection.js +51 -0
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +3 -10
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateSpec.js +3 -6
- package/dist/apispec/src/models/SuccessCurrentAPIKeyResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessCurrentAPIKeyResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessCurrentAPIKeyResponse.js +46 -0
- package/dist/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.js +42 -0
- package/dist/apispec/src/models/SuccessSSHPublicKeyListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSSHPublicKeyListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSSHPublicKeyListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.js +42 -0
- package/dist/apispec/src/models/SuccessSSHPublicKeyResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSSHPublicKeyResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSSHPublicKeyResponse.js +46 -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 +80 -0
- package/dist/apispec/src/models/WarmProcessSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/WarmProcessSpec.js +63 -0
- package/dist/apispec/src/models/index.d.ts +14 -4
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +14 -4
- 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/resources/volumes.js +1 -1
- package/dist/response_normalize.d.ts.map +1 -1
- package/dist/response_normalize.js +1 -2
- package/dist/sandbox.js +1 -1
- package/dist/sandbox_files.js +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/dist/template_helpers.d.ts +7 -19
- package/dist/template_helpers.d.ts.map +1 -1
- package/dist/template_helpers.js +7 -26
- package/dist/ws_client.d.ts +13 -3
- package/dist/ws_client.d.ts.map +1 -1
- package/dist/ws_client.js +145 -28
- package/package.json +1 -1
- package/dist/apispec/src/models/ContainerMountSpec.d.ts +0 -45
- package/dist/apispec/src/models/ContainerMountSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/ContainerMountSpec.js +0 -49
- package/dist/apispec/src/models/SharedVolumeSpec.d.ts +0 -69
- package/dist/apispec/src/models/SharedVolumeSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/SharedVolumeSpec.js +0 -57
- package/dist/apispec/src/models/SidecarContainerSpec.d.ts +0 -85
- package/dist/apispec/src/models/SidecarContainerSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/SidecarContainerSpec.js +0 -67
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SandboxLogs
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxLogs {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxLogs
|
|
22
|
+
*/
|
|
23
|
+
sandboxId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxLogs
|
|
28
|
+
*/
|
|
29
|
+
podName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxLogs
|
|
34
|
+
*/
|
|
35
|
+
container: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SandboxLogs
|
|
40
|
+
*/
|
|
41
|
+
previous: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Log text returned by Kubernetes for the selected container.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SandboxLogs
|
|
46
|
+
*/
|
|
47
|
+
logs: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SandboxLogs interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSandboxLogs(value: object): value is SandboxLogs;
|
|
53
|
+
export declare function SandboxLogsFromJSON(json: any): SandboxLogs;
|
|
54
|
+
export declare function SandboxLogsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxLogs;
|
|
55
|
+
export declare function SandboxLogsToJSON(json: any): SandboxLogs;
|
|
56
|
+
export declare function SandboxLogsToJSONTyped(value?: SandboxLogs | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=SandboxLogs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxLogs.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxLogs.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAOzE;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,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,45 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SandboxSSHConnection
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxSSHConnection {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxSSHConnection
|
|
22
|
+
*/
|
|
23
|
+
host: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SandboxSSHConnection
|
|
28
|
+
*/
|
|
29
|
+
port: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxSSHConnection
|
|
34
|
+
*/
|
|
35
|
+
username: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SandboxSSHConnection interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSandboxSSHConnection(value: object): value is SandboxSSHConnection;
|
|
41
|
+
export declare function SandboxSSHConnectionFromJSON(json: any): SandboxSSHConnection;
|
|
42
|
+
export declare function SandboxSSHConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxSSHConnection;
|
|
43
|
+
export declare function SandboxSSHConnectionToJSON(json: any): SandboxSSHConnection;
|
|
44
|
+
export declare function SandboxSSHConnectionToJSONTyped(value?: SandboxSSHConnection | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=SandboxSSHConnection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxSSHConnection.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxSSHConnection.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAK3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAU/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9H"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 SandboxSSHConnection interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxSSHConnection(value) {
|
|
18
|
+
if (!('host' in value) || value['host'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('port' in value) || value['port'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function SandboxSSHConnectionFromJSON(json) {
|
|
27
|
+
return SandboxSSHConnectionFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function SandboxSSHConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'host': json['host'],
|
|
35
|
+
'port': json['port'],
|
|
36
|
+
'username': json['username'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function SandboxSSHConnectionToJSON(json) {
|
|
40
|
+
return SandboxSSHConnectionToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function SandboxSSHConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'host': value['host'],
|
|
48
|
+
'port': value['port'],
|
|
49
|
+
'username': value['username'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -13,8 +13,7 @@ import type { PoolStrategy } from './PoolStrategy.js';
|
|
|
13
13
|
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
14
14
|
import type { ContainerSpec } from './ContainerSpec.js';
|
|
15
15
|
import type { LifecyclePolicy } from './LifecyclePolicy.js';
|
|
16
|
-
import type {
|
|
17
|
-
import type { SharedVolumeSpec } from './SharedVolumeSpec.js';
|
|
16
|
+
import type { WarmProcessSpec } from './WarmProcessSpec.js';
|
|
18
17
|
import type { PodSpecOverride } from './PodSpecOverride.js';
|
|
19
18
|
/**
|
|
20
19
|
*
|
|
@@ -48,16 +47,10 @@ export interface SandboxTemplateSpec {
|
|
|
48
47
|
mainContainer?: ContainerSpec;
|
|
49
48
|
/**
|
|
50
49
|
*
|
|
51
|
-
* @type {Array<
|
|
50
|
+
* @type {Array<WarmProcessSpec>}
|
|
52
51
|
* @memberof SandboxTemplateSpec
|
|
53
52
|
*/
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<SharedVolumeSpec>}
|
|
58
|
-
* @memberof SandboxTemplateSpec
|
|
59
|
-
*/
|
|
60
|
-
sharedVolumes?: Array<SharedVolumeSpec>;
|
|
53
|
+
warmProcesses?: Array<WarmProcessSpec>;
|
|
61
54
|
/**
|
|
62
55
|
*
|
|
63
56
|
* @type {PodSpecOverride}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IACvC;;;;OAIG;IACH,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;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,CAoB7G;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,CAqB5H"}
|
|
@@ -15,8 +15,7 @@ import { PoolStrategyFromJSON, PoolStrategyToJSON, } from './PoolStrategy.js';
|
|
|
15
15
|
import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
|
|
16
16
|
import { ContainerSpecFromJSON, ContainerSpecToJSON, } from './ContainerSpec.js';
|
|
17
17
|
import { LifecyclePolicyFromJSON, LifecyclePolicyToJSON, } from './LifecyclePolicy.js';
|
|
18
|
-
import {
|
|
19
|
-
import { SharedVolumeSpecFromJSON, SharedVolumeSpecToJSON, } from './SharedVolumeSpec.js';
|
|
18
|
+
import { WarmProcessSpecFromJSON, WarmProcessSpecToJSON, } from './WarmProcessSpec.js';
|
|
20
19
|
import { PodSpecOverrideFromJSON, PodSpecOverrideToJSON, } from './PodSpecOverride.js';
|
|
21
20
|
/**
|
|
22
21
|
* Check if a given object implements the SandboxTemplateSpec interface.
|
|
@@ -36,8 +35,7 @@ export function SandboxTemplateSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
35
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
37
36
|
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
38
37
|
'mainContainer': json['mainContainer'] == null ? undefined : ContainerSpecFromJSON(json['mainContainer']),
|
|
39
|
-
'
|
|
40
|
-
'sharedVolumes': json['sharedVolumes'] == null ? undefined : (json['sharedVolumes'].map(SharedVolumeSpecFromJSON)),
|
|
38
|
+
'warmProcesses': json['warmProcesses'] == null ? undefined : (json['warmProcesses'].map(WarmProcessSpecFromJSON)),
|
|
41
39
|
'pod': json['pod'] == null ? undefined : PodSpecOverrideFromJSON(json['pod']),
|
|
42
40
|
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
43
41
|
'pool': json['pool'] == null ? undefined : PoolStrategyFromJSON(json['pool']),
|
|
@@ -60,8 +58,7 @@ export function SandboxTemplateSpecToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
60
58
|
'displayName': value['displayName'],
|
|
61
59
|
'tags': value['tags'],
|
|
62
60
|
'mainContainer': ContainerSpecToJSON(value['mainContainer']),
|
|
63
|
-
'
|
|
64
|
-
'sharedVolumes': value['sharedVolumes'] == null ? undefined : (value['sharedVolumes'].map(SharedVolumeSpecToJSON)),
|
|
61
|
+
'warmProcesses': value['warmProcesses'] == null ? undefined : (value['warmProcesses'].map(WarmProcessSpecToJSON)),
|
|
65
62
|
'pod': PodSpecOverrideToJSON(value['pod']),
|
|
66
63
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
67
64
|
'pool': PoolStrategyToJSON(value['pool']),
|
|
@@ -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 { SuccessCurrentAPIKeyResponseAllOfData } from './SuccessCurrentAPIKeyResponseAllOfData.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessCurrentAPIKeyResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessCurrentAPIKeyResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessCurrentAPIKeyResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SuccessCurrentAPIKeyResponseAllOfData}
|
|
28
|
+
* @memberof SuccessCurrentAPIKeyResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SuccessCurrentAPIKeyResponseAllOfData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessCurrentAPIKeyResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessCurrentAPIKeyResponse(value: object): value is SuccessCurrentAPIKeyResponse;
|
|
36
|
+
export declare function SuccessCurrentAPIKeyResponseFromJSON(json: any): SuccessCurrentAPIKeyResponse;
|
|
37
|
+
export declare function SuccessCurrentAPIKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessCurrentAPIKeyResponse;
|
|
38
|
+
export declare function SuccessCurrentAPIKeyResponseToJSON(json: any): SuccessCurrentAPIKeyResponse;
|
|
39
|
+
export declare function SuccessCurrentAPIKeyResponseToJSONTyped(value?: SuccessCurrentAPIKeyResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessCurrentAPIKeyResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessCurrentAPIKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessCurrentAPIKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAQrG;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,qCAAqC,CAAC;CAChD;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,CAS/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,CAU9I"}
|
|
@@ -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 { SuccessCurrentAPIKeyResponseAllOfDataFromJSON, SuccessCurrentAPIKeyResponseAllOfDataToJSON, } from './SuccessCurrentAPIKeyResponseAllOfData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessCurrentAPIKeyResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessCurrentAPIKeyResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessCurrentAPIKeyResponseFromJSON(json) {
|
|
24
|
+
return SuccessCurrentAPIKeyResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessCurrentAPIKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SuccessCurrentAPIKeyResponseAllOfDataFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessCurrentAPIKeyResponseToJSON(json) {
|
|
36
|
+
return SuccessCurrentAPIKeyResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessCurrentAPIKeyResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SuccessCurrentAPIKeyResponseAllOfDataToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { CurrentAPIKeyResponse } from './CurrentAPIKeyResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessCurrentAPIKeyResponseAllOfData
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessCurrentAPIKeyResponseAllOfData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CurrentAPIKeyResponse}
|
|
22
|
+
* @memberof SuccessCurrentAPIKeyResponseAllOfData
|
|
23
|
+
*/
|
|
24
|
+
apiKey?: CurrentAPIKeyResponse;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SuccessCurrentAPIKeyResponseAllOfData interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSuccessCurrentAPIKeyResponseAllOfData(value: object): value is SuccessCurrentAPIKeyResponseAllOfData;
|
|
30
|
+
export declare function SuccessCurrentAPIKeyResponseAllOfDataFromJSON(json: any): SuccessCurrentAPIKeyResponseAllOfData;
|
|
31
|
+
export declare function SuccessCurrentAPIKeyResponseAllOfDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessCurrentAPIKeyResponseAllOfData;
|
|
32
|
+
export declare function SuccessCurrentAPIKeyResponseAllOfDataToJSON(json: any): SuccessCurrentAPIKeyResponseAllOfData;
|
|
33
|
+
export declare function SuccessCurrentAPIKeyResponseAllOfDataToJSONTyped(value?: SuccessCurrentAPIKeyResponseAllOfData | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=SuccessCurrentAPIKeyResponseAllOfData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessCurrentAPIKeyResponseAllOfData.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qCAAqC,CAE7H;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE9G;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAQjJ;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE5G;AAED,wBAAgB,gDAAgD,CAAC,KAAK,CAAC,EAAE,qCAAqC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAShK"}
|