sandbox0 0.2.5 → 0.2.7
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/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/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 +75 -0
- package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/CurrentAPIKeyResponse.js +71 -0
- package/dist/apispec/src/models/PauseSandboxResponse.d.ts +7 -0
- package/dist/apispec/src/models/PauseSandboxResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/PauseSandboxResponse.js +5 -0
- package/dist/apispec/src/models/ResumeSandboxResponse.d.ts +7 -0
- package/dist/apispec/src/models/ResumeSandboxResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ResumeSandboxResponse.js +5 -0
- 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 +14 -0
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +8 -0
- package/dist/apispec/src/models/SandboxPowerState.d.ts +82 -0
- package/dist/apispec/src/models/SandboxPowerState.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxPowerState.js +81 -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/SandboxSummary.d.ts +7 -0
- package/dist/apispec/src/models/SandboxSummary.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxSummary.js +5 -0
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +3 -16
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateSpec.js +3 -8
- 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/WarmProcessSpec.d.ts +67 -0
- package/dist/apispec/src/models/WarmProcessSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/WarmProcessSpec.js +58 -0
- package/dist/apispec/src/models/index.d.ts +11 -3
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +11 -3
- 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/template_helpers.d.ts +7 -20
- package/dist/template_helpers.d.ts.map +1 -1
- package/dist/template_helpers.js +7 -27
- 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 -91
- package/dist/apispec/src/models/SidecarContainerSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/SidecarContainerSpec.js +0 -69
|
@@ -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']),
|
|
@@ -45,7 +43,6 @@ export function SandboxTemplateSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
43
|
'envVars': json['envVars'] == null ? undefined : json['envVars'],
|
|
46
44
|
'_public': json['public'] == null ? undefined : json['public'],
|
|
47
45
|
'allowedTeams': json['allowedTeams'] == null ? undefined : json['allowedTeams'],
|
|
48
|
-
'runtimeClassName': json['runtimeClassName'] == null ? undefined : json['runtimeClassName'],
|
|
49
46
|
'clusterId': json['clusterId'] == null ? undefined : json['clusterId'],
|
|
50
47
|
};
|
|
51
48
|
}
|
|
@@ -61,8 +58,7 @@ export function SandboxTemplateSpecToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
61
58
|
'displayName': value['displayName'],
|
|
62
59
|
'tags': value['tags'],
|
|
63
60
|
'mainContainer': ContainerSpecToJSON(value['mainContainer']),
|
|
64
|
-
'
|
|
65
|
-
'sharedVolumes': value['sharedVolumes'] == null ? undefined : (value['sharedVolumes'].map(SharedVolumeSpecToJSON)),
|
|
61
|
+
'warmProcesses': value['warmProcesses'] == null ? undefined : (value['warmProcesses'].map(WarmProcessSpecToJSON)),
|
|
66
62
|
'pod': PodSpecOverrideToJSON(value['pod']),
|
|
67
63
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
68
64
|
'pool': PoolStrategyToJSON(value['pool']),
|
|
@@ -70,7 +66,6 @@ export function SandboxTemplateSpecToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
70
66
|
'envVars': value['envVars'],
|
|
71
67
|
'public': value['_public'],
|
|
72
68
|
'allowedTeams': value['allowedTeams'],
|
|
73
|
-
'runtimeClassName': value['runtimeClassName'],
|
|
74
69
|
'clusterId': value['clusterId'],
|
|
75
70
|
};
|
|
76
71
|
}
|
|
@@ -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"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { CurrentAPIKeyResponseFromJSON, CurrentAPIKeyResponseToJSON, } from './CurrentAPIKeyResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessCurrentAPIKeyResponseAllOfData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessCurrentAPIKeyResponseAllOfData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SuccessCurrentAPIKeyResponseAllOfDataFromJSON(json) {
|
|
22
|
+
return SuccessCurrentAPIKeyResponseAllOfDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SuccessCurrentAPIKeyResponseAllOfDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'apiKey': json['api_key'] == null ? undefined : CurrentAPIKeyResponseFromJSON(json['api_key']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function SuccessCurrentAPIKeyResponseAllOfDataToJSON(json) {
|
|
33
|
+
return SuccessCurrentAPIKeyResponseAllOfDataToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SuccessCurrentAPIKeyResponseAllOfDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'api_key': CurrentAPIKeyResponseToJSON(value['apiKey']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -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 { SuccessSSHPublicKeyListResponseAllOfData } from './SuccessSSHPublicKeyListResponseAllOfData.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSSHPublicKeyListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSSHPublicKeyListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessSSHPublicKeyListResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SuccessSSHPublicKeyListResponseAllOfData}
|
|
28
|
+
* @memberof SuccessSSHPublicKeyListResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SuccessSSHPublicKeyListResponseAllOfData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessSSHPublicKeyListResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessSSHPublicKeyListResponse(value: object): value is SuccessSSHPublicKeyListResponse;
|
|
36
|
+
export declare function SuccessSSHPublicKeyListResponseFromJSON(json: any): SuccessSSHPublicKeyListResponse;
|
|
37
|
+
export declare function SuccessSSHPublicKeyListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSSHPublicKeyListResponse;
|
|
38
|
+
export declare function SuccessSSHPublicKeyListResponseToJSON(json: any): SuccessSSHPublicKeyListResponse;
|
|
39
|
+
export declare function SuccessSSHPublicKeyListResponseToJSONTyped(value?: SuccessSSHPublicKeyListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessSSHPublicKeyListResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSSHPublicKeyListResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSSHPublicKeyListResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC;AAQ3G;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,wCAAwC,CAAC;CACnD;AAED;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+BAA+B,CAGjH;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CASrI;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAEhG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpJ"}
|
|
@@ -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 { SuccessSSHPublicKeyListResponseAllOfDataFromJSON, SuccessSSHPublicKeyListResponseAllOfDataToJSON, } from './SuccessSSHPublicKeyListResponseAllOfData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessSSHPublicKeyListResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessSSHPublicKeyListResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessSSHPublicKeyListResponseFromJSON(json) {
|
|
24
|
+
return SuccessSSHPublicKeyListResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessSSHPublicKeyListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SuccessSSHPublicKeyListResponseAllOfDataFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessSSHPublicKeyListResponseToJSON(json) {
|
|
36
|
+
return SuccessSSHPublicKeyListResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessSSHPublicKeyListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SuccessSSHPublicKeyListResponseAllOfDataToJSON(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 { SSHPublicKey } from './SSHPublicKey.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSSHPublicKeyListResponseAllOfData
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSSHPublicKeyListResponseAllOfData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SSHPublicKey>}
|
|
22
|
+
* @memberof SuccessSSHPublicKeyListResponseAllOfData
|
|
23
|
+
*/
|
|
24
|
+
sshKeys?: Array<SSHPublicKey>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SuccessSSHPublicKeyListResponseAllOfData interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSuccessSSHPublicKeyListResponseAllOfData(value: object): value is SuccessSSHPublicKeyListResponseAllOfData;
|
|
30
|
+
export declare function SuccessSSHPublicKeyListResponseAllOfDataFromJSON(json: any): SuccessSSHPublicKeyListResponseAllOfData;
|
|
31
|
+
export declare function SuccessSSHPublicKeyListResponseAllOfDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSSHPublicKeyListResponseAllOfData;
|
|
32
|
+
export declare function SuccessSSHPublicKeyListResponseAllOfDataToJSON(json: any): SuccessSSHPublicKeyListResponseAllOfData;
|
|
33
|
+
export declare function SuccessSSHPublicKeyListResponseAllOfDataToJSONTyped(value?: SuccessSSHPublicKeyListResponseAllOfData | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=SuccessSSHPublicKeyListResponseAllOfData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSSHPublicKeyListResponseAllOfData.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQnD;;;;GAIG;AACH,MAAM,WAAW,wCAAwC;IACrD;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,kDAAkD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wCAAwC,CAEnI;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAEpH;AAED,wBAAgB,qDAAqD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wCAAwC,CAQvJ;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAElH;AAED,wBAAgB,mDAAmD,CAAC,KAAK,CAAC,EAAE,wCAAwC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStK"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { SSHPublicKeyFromJSON, SSHPublicKeyToJSON, } from './SSHPublicKey.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessSSHPublicKeyListResponseAllOfData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessSSHPublicKeyListResponseAllOfData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SuccessSSHPublicKeyListResponseAllOfDataFromJSON(json) {
|
|
22
|
+
return SuccessSSHPublicKeyListResponseAllOfDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SuccessSSHPublicKeyListResponseAllOfDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'sshKeys': json['ssh_keys'] == null ? undefined : (json['ssh_keys'].map(SSHPublicKeyFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function SuccessSSHPublicKeyListResponseAllOfDataToJSON(json) {
|
|
33
|
+
return SuccessSSHPublicKeyListResponseAllOfDataToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SuccessSSHPublicKeyListResponseAllOfDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'ssh_keys': value['sshKeys'] == null ? undefined : (value['sshKeys'].map(SSHPublicKeyToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -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 { SSHPublicKey } from './SSHPublicKey.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSSHPublicKeyResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSSHPublicKeyResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessSSHPublicKeyResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SSHPublicKey}
|
|
28
|
+
* @memberof SuccessSSHPublicKeyResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SSHPublicKey;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessSSHPublicKeyResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessSSHPublicKeyResponse(value: object): value is SuccessSSHPublicKeyResponse;
|
|
36
|
+
export declare function SuccessSSHPublicKeyResponseFromJSON(json: any): SuccessSSHPublicKeyResponse;
|
|
37
|
+
export declare function SuccessSSHPublicKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSSHPublicKeyResponse;
|
|
38
|
+
export declare function SuccessSSHPublicKeyResponseToJSON(json: any): SuccessSSHPublicKeyResponse;
|
|
39
|
+
export declare function SuccessSSHPublicKeyResponseToJSONTyped(value?: SuccessSSHPublicKeyResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessSSHPublicKeyResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSSHPublicKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSSHPublicKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQnD;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;CACvB;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,CAS7H;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,CAU5I"}
|
|
@@ -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 { SSHPublicKeyFromJSON, SSHPublicKeyToJSON, } from './SSHPublicKey.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessSSHPublicKeyResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessSSHPublicKeyResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessSSHPublicKeyResponseFromJSON(json) {
|
|
24
|
+
return SuccessSSHPublicKeyResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessSSHPublicKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SSHPublicKeyFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessSSHPublicKeyResponseToJSON(json) {
|
|
36
|
+
return SuccessSSHPublicKeyResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessSSHPublicKeyResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SSHPublicKeyToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 WarmProcessSpec
|
|
16
|
+
*/
|
|
17
|
+
export interface WarmProcessSpec {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WarmProcessSpec
|
|
22
|
+
*/
|
|
23
|
+
type: WarmProcessSpecTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WarmProcessSpec
|
|
28
|
+
*/
|
|
29
|
+
alias?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof WarmProcessSpec
|
|
34
|
+
*/
|
|
35
|
+
command?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof WarmProcessSpec
|
|
40
|
+
*/
|
|
41
|
+
cwd?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {{ [key: string]: string; }}
|
|
45
|
+
* @memberof WarmProcessSpec
|
|
46
|
+
*/
|
|
47
|
+
envVars?: {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export declare const WarmProcessSpecTypeEnum: {
|
|
55
|
+
readonly Repl: "repl";
|
|
56
|
+
readonly Cmd: "cmd";
|
|
57
|
+
};
|
|
58
|
+
export type WarmProcessSpecTypeEnum = typeof WarmProcessSpecTypeEnum[keyof typeof WarmProcessSpecTypeEnum];
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the WarmProcessSpec interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfWarmProcessSpec(value: object): value is WarmProcessSpec;
|
|
63
|
+
export declare function WarmProcessSpecFromJSON(json: any): WarmProcessSpec;
|
|
64
|
+
export declare function WarmProcessSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): WarmProcessSpec;
|
|
65
|
+
export declare function WarmProcessSpecToJSON(json: any): WarmProcessSpec;
|
|
66
|
+
export declare function WarmProcessSpecToJSONTyped(value?: WarmProcessSpec | null, ignoreDiscriminator?: boolean): any;
|
|
67
|
+
//# sourceMappingURL=WarmProcessSpec.d.ts.map
|
|
@@ -0,0 +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,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;CACxC;AAGD;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAG3G;;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,CAYrG;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,CAapH"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const WarmProcessSpecTypeEnum = {
|
|
18
|
+
Repl: 'repl',
|
|
19
|
+
Cmd: 'cmd'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WarmProcessSpec interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfWarmProcessSpec(value) {
|
|
25
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function WarmProcessSpecFromJSON(json) {
|
|
30
|
+
return WarmProcessSpecFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function WarmProcessSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'type': json['type'],
|
|
38
|
+
'alias': json['alias'] == null ? undefined : json['alias'],
|
|
39
|
+
'command': json['command'] == null ? undefined : json['command'],
|
|
40
|
+
'cwd': json['cwd'] == null ? undefined : json['cwd'],
|
|
41
|
+
'envVars': json['envVars'] == null ? undefined : json['envVars'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function WarmProcessSpecToJSON(json) {
|
|
45
|
+
return WarmProcessSpecToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function WarmProcessSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'type': value['type'],
|
|
53
|
+
'alias': value['alias'],
|
|
54
|
+
'command': value['command'],
|
|
55
|
+
'cwd': value['cwd'],
|
|
56
|
+
'envVars': value['envVars'],
|
|
57
|
+
};
|
|
58
|
+
}
|