sandbox0 0.3.4 → 0.3.6
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/FunctionsApi.d.ts +87 -0
- package/dist/apispec/src/apis/FunctionsApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/FunctionsApi.js +231 -0
- package/dist/apispec/src/apis/SandboxesApi.d.ts +28 -1
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +76 -1
- package/dist/apispec/src/apis/index.d.ts +1 -1
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +1 -1
- package/dist/apispec/src/models/CredentialProjectionType.d.ts +1 -0
- package/dist/apispec/src/models/CredentialProjectionType.d.ts.map +1 -1
- package/dist/apispec/src/models/CredentialProjectionType.js +2 -1
- package/dist/apispec/src/models/CredentialSourceResolverKind.d.ts +1 -0
- package/dist/apispec/src/models/CredentialSourceResolverKind.d.ts.map +1 -1
- package/dist/apispec/src/models/CredentialSourceResolverKind.js +2 -1
- package/dist/apispec/src/models/CredentialSourceWriteSpec.d.ts +7 -0
- package/dist/apispec/src/models/CredentialSourceWriteSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/CredentialSourceWriteSpec.js +3 -0
- package/dist/apispec/src/models/EgressAuthProtocol.d.ts +1 -0
- package/dist/apispec/src/models/EgressAuthProtocol.d.ts.map +1 -1
- package/dist/apispec/src/models/EgressAuthProtocol.js +1 -0
- package/dist/apispec/src/models/EgressCredentialRule.d.ts +7 -0
- package/dist/apispec/src/models/EgressCredentialRule.d.ts.map +1 -1
- package/dist/apispec/src/models/EgressCredentialRule.js +3 -0
- package/dist/apispec/src/models/Function.d.ts +81 -0
- package/dist/apispec/src/models/Function.d.ts.map +1 -0
- package/dist/apispec/src/models/Function.js +71 -0
- package/dist/apispec/src/models/FunctionAlias.d.ts +63 -0
- package/dist/apispec/src/models/FunctionAlias.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionAlias.js +61 -0
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts +33 -0
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.js +43 -0
- package/dist/apispec/src/models/FunctionCreateRequest.d.ts +40 -0
- package/dist/apispec/src/models/FunctionCreateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionCreateRequest.js +46 -0
- package/dist/apispec/src/models/FunctionRecord.d.ts +93 -0
- package/dist/apispec/src/models/FunctionRecord.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionRecord.js +79 -0
- package/dist/apispec/src/models/FunctionRestoreMount.d.ts +39 -0
- package/dist/apispec/src/models/FunctionRestoreMount.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionRestoreMount.js +47 -0
- package/dist/apispec/src/models/FunctionRevision.d.ts +113 -0
- package/dist/apispec/src/models/FunctionRevision.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionRevision.js +87 -0
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts +40 -0
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.js +46 -0
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts +39 -0
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/FunctionSourceRequest.js +47 -0
- package/dist/apispec/src/models/HTTPMatch.d.ts +58 -0
- package/dist/apispec/src/models/HTTPMatch.d.ts.map +1 -0
- package/dist/apispec/src/models/HTTPMatch.js +50 -0
- package/dist/apispec/src/models/HTTPValueMatch.d.ts +45 -0
- package/dist/apispec/src/models/HTTPValueMatch.d.ts.map +1 -0
- package/dist/apispec/src/models/HTTPValueMatch.js +47 -0
- package/dist/apispec/src/models/ProjectionSpec.d.ts +7 -0
- package/dist/apispec/src/models/ProjectionSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/ProjectionSpec.js +3 -0
- package/dist/apispec/src/models/SSHProxyProjection.d.ts +45 -0
- package/dist/apispec/src/models/SSHProxyProjection.d.ts.map +1 -0
- package/dist/apispec/src/models/SSHProxyProjection.js +45 -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 +6 -0
- package/dist/apispec/src/models/SandboxAppService.d.ts +66 -0
- package/dist/apispec/src/models/SandboxAppService.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppService.js +60 -0
- package/dist/apispec/src/models/SandboxAppServiceHealth.d.ts +33 -0
- package/dist/apispec/src/models/SandboxAppServiceHealth.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceHealth.js +41 -0
- package/dist/apispec/src/models/SandboxAppServiceIngress.d.ts +40 -0
- package/dist/apispec/src/models/SandboxAppServiceIngress.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceIngress.js +46 -0
- package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts +84 -0
- package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceRoute.js +64 -0
- package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts +68 -0
- package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceRuntime.js +59 -0
- package/dist/apispec/src/models/SandboxAppServiceView.d.ts +78 -0
- package/dist/apispec/src/models/SandboxAppServiceView.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAppServiceView.js +66 -0
- package/dist/apispec/src/models/SandboxConfig.d.ts +7 -0
- package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxConfig.js +3 -0
- package/dist/apispec/src/models/SandboxServicesUpdateRequest.d.ts +34 -0
- package/dist/apispec/src/models/SandboxServicesUpdateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxServicesUpdateRequest.js +44 -0
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +7 -0
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.js +3 -0
- package/dist/apispec/src/models/StaticSSHPrivateKeySourceSpec.d.ts +39 -0
- package/dist/apispec/src/models/StaticSSHPrivateKeySourceSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/StaticSSHPrivateKeySourceSpec.js +45 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.js +44 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts +48 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.js +54 -0
- package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.js +44 -0
- package/dist/apispec/src/models/SuccessFunctionResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.js +44 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.js +48 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.js +44 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.js +48 -0
- package/dist/apispec/src/models/WarmProcessSpec.d.ts +2 -2
- package/dist/apispec/src/models/WarmProcessSpec.js +2 -2
- package/dist/apispec/src/models/index.d.ts +34 -6
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +34 -6
- package/dist/apispec_compat.d.ts +1535 -1
- package/dist/apispec_compat.d.ts.map +1 -1
- package/dist/apispec_compat.js +10 -1
- package/dist/client.d.ts +3 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -4
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/resources/functions.d.ts +31 -0
- package/dist/resources/functions.d.ts.map +1 -0
- package/dist/resources/functions.js +79 -0
- package/package.json +1 -1
- package/dist/apispec/src/apis/ObservabilityApi.d.ts +0 -53
- package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/ObservabilityApi.js +0 -112
- package/dist/apispec/src/models/ObservabilityLogRecord.d.ts +0 -79
- package/dist/apispec/src/models/ObservabilityLogRecord.d.ts.map +0 -1
- package/dist/apispec/src/models/ObservabilityLogRecord.js +0 -55
- package/dist/apispec/src/models/ObservabilityTraceSpan.d.ts +0 -103
- package/dist/apispec/src/models/ObservabilityTraceSpan.d.ts.map +0 -1
- package/dist/apispec/src/models/ObservabilityTraceSpan.js +0 -63
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.js +0 -42
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.js +0 -42
- package/dist/resources/observability.d.ts +0 -16
- package/dist/resources/observability.d.ts.map +0 -1
- package/dist/resources/observability.js +0 -30
|
@@ -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 HTTPValueMatch
|
|
16
|
+
*/
|
|
17
|
+
export interface HTTPValueMatch {
|
|
18
|
+
/**
|
|
19
|
+
* Header or query parameter name.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HTTPValueMatch
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Accepted values. Empty with present=true requires only presence.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof HTTPValueMatch
|
|
28
|
+
*/
|
|
29
|
+
values?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* When true and values is empty, only parameter/header presence is required.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof HTTPValueMatch
|
|
34
|
+
*/
|
|
35
|
+
present?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the HTTPValueMatch interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfHTTPValueMatch(value: object): value is HTTPValueMatch;
|
|
41
|
+
export declare function HTTPValueMatchFromJSON(json: any): HTTPValueMatch;
|
|
42
|
+
export declare function HTTPValueMatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPValueMatch;
|
|
43
|
+
export declare function HTTPValueMatchToJSON(json: any): HTTPValueMatch;
|
|
44
|
+
export declare function HTTPValueMatchToJSONTyped(value?: HTTPValueMatch | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=HTTPValueMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HTTPValueMatch.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPValueMatch.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAG/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAUnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWlH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 HTTPValueMatch interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfHTTPValueMatch(value) {
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function HTTPValueMatchFromJSON(json) {
|
|
23
|
+
return HTTPValueMatchFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function HTTPValueMatchFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'name': json['name'],
|
|
31
|
+
'values': json['values'] == null ? undefined : json['values'],
|
|
32
|
+
'present': json['present'] == null ? undefined : json['present'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function HTTPValueMatchToJSON(json) {
|
|
36
|
+
return HTTPValueMatchToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function HTTPValueMatchToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'name': value['name'],
|
|
44
|
+
'values': value['values'],
|
|
45
|
+
'present': value['present'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { CredentialProjectionType } from './CredentialProjectionType.js';
|
|
13
13
|
import type { HTTPHeadersProjection } from './HTTPHeadersProjection.js';
|
|
14
|
+
import type { SSHProxyProjection } from './SSHProxyProjection.js';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -41,6 +42,12 @@ export interface ProjectionSpec {
|
|
|
41
42
|
* @memberof ProjectionSpec
|
|
42
43
|
*/
|
|
43
44
|
usernamePassword?: object;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {SSHProxyProjection}
|
|
48
|
+
* @memberof ProjectionSpec
|
|
49
|
+
*/
|
|
50
|
+
sshProxy?: SSHProxyProjection;
|
|
44
51
|
}
|
|
45
52
|
/**
|
|
46
53
|
* Check if a given object implements the ProjectionSpec interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectionSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ProjectionSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProjectionSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ProjectionSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAG/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAYnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAalH"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { CredentialProjectionTypeFromJSON, CredentialProjectionTypeToJSON, } from './CredentialProjectionType.js';
|
|
15
15
|
import { HTTPHeadersProjectionFromJSON, HTTPHeadersProjectionToJSON, } from './HTTPHeadersProjection.js';
|
|
16
|
+
import { SSHProxyProjectionFromJSON, SSHProxyProjectionToJSON, } from './SSHProxyProjection.js';
|
|
16
17
|
/**
|
|
17
18
|
* Check if a given object implements the ProjectionSpec interface.
|
|
18
19
|
*/
|
|
@@ -33,6 +34,7 @@ export function ProjectionSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
'httpHeaders': json['httpHeaders'] == null ? undefined : HTTPHeadersProjectionFromJSON(json['httpHeaders']),
|
|
34
35
|
'tlsClientCertificate': json['tlsClientCertificate'] == null ? undefined : json['tlsClientCertificate'],
|
|
35
36
|
'usernamePassword': json['usernamePassword'] == null ? undefined : json['usernamePassword'],
|
|
37
|
+
'sshProxy': json['sshProxy'] == null ? undefined : SSHProxyProjectionFromJSON(json['sshProxy']),
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
export function ProjectionSpecToJSON(json) {
|
|
@@ -47,5 +49,6 @@ export function ProjectionSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
49
|
'httpHeaders': HTTPHeadersProjectionToJSON(value['httpHeaders']),
|
|
48
50
|
'tlsClientCertificate': value['tlsClientCertificate'],
|
|
49
51
|
'usernamePassword': value['usernamePassword'],
|
|
52
|
+
'sshProxy': SSHProxyProjectionToJSON(value['sshProxy']),
|
|
50
53
|
};
|
|
51
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
|
+
* Transparent SSH proxy projection used for SSH egress re-origination.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SSHProxyProjection
|
|
16
|
+
*/
|
|
17
|
+
export interface SSHProxyProjection {
|
|
18
|
+
/**
|
|
19
|
+
* Fake public keys accepted from sandbox-side SSH clients.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof SSHProxyProjection
|
|
22
|
+
*/
|
|
23
|
+
sandboxPublicKeys?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Username used by netd when authenticating to the upstream SSH server.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SSHProxyProjection
|
|
28
|
+
*/
|
|
29
|
+
upstreamUsername?: string;
|
|
30
|
+
/**
|
|
31
|
+
* OpenSSH known_hosts entries used to verify upstream host keys.
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SSHProxyProjection
|
|
34
|
+
*/
|
|
35
|
+
knownHosts?: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SSHProxyProjection interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSSHProxyProjection(value: object): value is SSHProxyProjection;
|
|
41
|
+
export declare function SSHProxyProjectionFromJSON(json: any): SSHProxyProjection;
|
|
42
|
+
export declare function SSHProxyProjectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SSHProxyProjection;
|
|
43
|
+
export declare function SSHProxyProjectionToJSON(json: any): SSHProxyProjection;
|
|
44
|
+
export declare function SSHProxyProjectionToJSONTyped(value?: SSHProxyProjection | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=SSHProxyProjection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SSHProxyProjection.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SSHProxyProjection.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAEvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAU3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1H"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 SSHProxyProjection interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSSHProxyProjection(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SSHProxyProjectionFromJSON(json) {
|
|
21
|
+
return SSHProxyProjectionFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SSHProxyProjectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'sandboxPublicKeys': json['sandboxPublicKeys'] == null ? undefined : json['sandboxPublicKeys'],
|
|
29
|
+
'upstreamUsername': json['upstreamUsername'] == null ? undefined : json['upstreamUsername'],
|
|
30
|
+
'knownHosts': json['knownHosts'] == null ? undefined : json['knownHosts'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SSHProxyProjectionToJSON(json) {
|
|
34
|
+
return SSHProxyProjectionToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SSHProxyProjectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'sandboxPublicKeys': value['sandboxPublicKeys'],
|
|
42
|
+
'upstreamUsername': value['upstreamUsername'],
|
|
43
|
+
'knownHosts': value['knownHosts'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SandboxAppService } from './SandboxAppService.js';
|
|
13
|
+
import type { ClaimMountRequest } from './ClaimMountRequest.js';
|
|
12
14
|
import type { SandboxSSHConnection } from './SandboxSSHConnection.js';
|
|
13
15
|
import type { PublicGatewayConfig } from './PublicGatewayConfig.js';
|
|
14
16
|
import type { SandboxPowerState } from './SandboxPowerState.js';
|
|
@@ -66,12 +68,24 @@ export interface Sandbox {
|
|
|
66
68
|
* @memberof Sandbox
|
|
67
69
|
*/
|
|
68
70
|
autoResume: boolean;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<SandboxAppService>}
|
|
74
|
+
* @memberof Sandbox
|
|
75
|
+
*/
|
|
76
|
+
services?: Array<SandboxAppService>;
|
|
69
77
|
/**
|
|
70
78
|
*
|
|
71
79
|
* @type {PublicGatewayConfig}
|
|
72
80
|
* @memberof Sandbox
|
|
73
81
|
*/
|
|
74
82
|
publicGateway?: PublicGatewayConfig;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Array<ClaimMountRequest>}
|
|
86
|
+
* @memberof Sandbox
|
|
87
|
+
*/
|
|
88
|
+
mounts?: Array<ClaimMountRequest>;
|
|
75
89
|
/**
|
|
76
90
|
*
|
|
77
91
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sandbox.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Sandbox.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,aAAa,EAAE,IAAI,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAcjE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"Sandbox.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Sandbox.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACpC;;;;OAIG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAClC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,aAAa,EAAE,IAAI,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAcjE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAwBrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAyBpG"}
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
|
|
15
|
+
import { ClaimMountRequestFromJSON, ClaimMountRequestToJSON, } from './ClaimMountRequest.js';
|
|
14
16
|
import { SandboxSSHConnectionFromJSON, SandboxSSHConnectionToJSON, } from './SandboxSSHConnection.js';
|
|
15
17
|
import { PublicGatewayConfigFromJSON, PublicGatewayConfigToJSON, } from './PublicGatewayConfig.js';
|
|
16
18
|
import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
|
|
@@ -60,7 +62,9 @@ export function SandboxFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
'paused': json['paused'],
|
|
61
63
|
'powerState': SandboxPowerStateFromJSON(json['power_state']),
|
|
62
64
|
'autoResume': json['auto_resume'],
|
|
65
|
+
'services': json['services'] == null ? undefined : (json['services'].map(SandboxAppServiceFromJSON)),
|
|
63
66
|
'publicGateway': json['public_gateway'] == null ? undefined : PublicGatewayConfigFromJSON(json['public_gateway']),
|
|
67
|
+
'mounts': json['mounts'] == null ? undefined : (json['mounts'].map(ClaimMountRequestFromJSON)),
|
|
64
68
|
'podName': json['pod_name'],
|
|
65
69
|
'ssh': json['ssh'] == null ? undefined : SandboxSSHConnectionFromJSON(json['ssh']),
|
|
66
70
|
'expiresAt': (new Date(json['expires_at'])),
|
|
@@ -85,7 +89,9 @@ export function SandboxToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
85
89
|
'paused': value['paused'],
|
|
86
90
|
'power_state': SandboxPowerStateToJSON(value['powerState']),
|
|
87
91
|
'auto_resume': value['autoResume'],
|
|
92
|
+
'services': value['services'] == null ? undefined : (value['services'].map(SandboxAppServiceToJSON)),
|
|
88
93
|
'public_gateway': PublicGatewayConfigToJSON(value['publicGateway']),
|
|
94
|
+
'mounts': value['mounts'] == null ? undefined : (value['mounts'].map(ClaimMountRequestToJSON)),
|
|
89
95
|
'pod_name': value['podName'],
|
|
90
96
|
'ssh': SandboxSSHConnectionToJSON(value['ssh']),
|
|
91
97
|
'expires_at': value['expiresAt'].toISOString(),
|
|
@@ -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 { SandboxAppServiceHealth } from './SandboxAppServiceHealth.js';
|
|
13
|
+
import type { SandboxAppServiceIngress } from './SandboxAppServiceIngress.js';
|
|
14
|
+
import type { SandboxAppServiceRuntime } from './SandboxAppServiceRuntime.js';
|
|
15
|
+
/**
|
|
16
|
+
* Canonical service model for sandbox exposure and function publishing.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SandboxAppService
|
|
19
|
+
*/
|
|
20
|
+
export interface SandboxAppService {
|
|
21
|
+
/**
|
|
22
|
+
* Stable service ID. Must be a DNS label.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof SandboxAppService
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof SandboxAppService
|
|
31
|
+
*/
|
|
32
|
+
displayName?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof SandboxAppService
|
|
37
|
+
*/
|
|
38
|
+
port: number;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {SandboxAppServiceRuntime}
|
|
42
|
+
* @memberof SandboxAppService
|
|
43
|
+
*/
|
|
44
|
+
runtime?: SandboxAppServiceRuntime;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {SandboxAppServiceIngress}
|
|
48
|
+
* @memberof SandboxAppService
|
|
49
|
+
*/
|
|
50
|
+
ingress: SandboxAppServiceIngress;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {SandboxAppServiceHealth}
|
|
54
|
+
* @memberof SandboxAppService
|
|
55
|
+
*/
|
|
56
|
+
healthCheck?: SandboxAppServiceHealth;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the SandboxAppService interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfSandboxAppService(value: object): value is SandboxAppService;
|
|
62
|
+
export declare function SandboxAppServiceFromJSON(json: any): SandboxAppService;
|
|
63
|
+
export declare function SandboxAppServiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAppService;
|
|
64
|
+
export declare function SandboxAppServiceToJSON(json: any): SandboxAppService;
|
|
65
|
+
export declare function SandboxAppServiceToJSONTyped(value?: SandboxAppService | null, ignoreDiscriminator?: boolean): any;
|
|
66
|
+
//# sourceMappingURL=SandboxAppService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxAppService.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppService.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC;;;;OAIG;IACH,OAAO,EAAE,wBAAwB,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACzC;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAKrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAazG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAcxH"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { SandboxAppServiceHealthFromJSON, SandboxAppServiceHealthToJSON, } from './SandboxAppServiceHealth.js';
|
|
15
|
+
import { SandboxAppServiceIngressFromJSON, SandboxAppServiceIngressToJSON, } from './SandboxAppServiceIngress.js';
|
|
16
|
+
import { SandboxAppServiceRuntimeFromJSON, SandboxAppServiceRuntimeToJSON, } from './SandboxAppServiceRuntime.js';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SandboxAppService interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSandboxAppService(value) {
|
|
21
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('port' in value) || value['port'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('ingress' in value) || value['ingress'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function SandboxAppServiceFromJSON(json) {
|
|
30
|
+
return SandboxAppServiceFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function SandboxAppServiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
|
39
|
+
'port': json['port'],
|
|
40
|
+
'runtime': json['runtime'] == null ? undefined : SandboxAppServiceRuntimeFromJSON(json['runtime']),
|
|
41
|
+
'ingress': SandboxAppServiceIngressFromJSON(json['ingress']),
|
|
42
|
+
'healthCheck': json['health_check'] == null ? undefined : SandboxAppServiceHealthFromJSON(json['health_check']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function SandboxAppServiceToJSON(json) {
|
|
46
|
+
return SandboxAppServiceToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function SandboxAppServiceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value['id'],
|
|
54
|
+
'display_name': value['displayName'],
|
|
55
|
+
'port': value['port'],
|
|
56
|
+
'runtime': SandboxAppServiceRuntimeToJSON(value['runtime']),
|
|
57
|
+
'ingress': SandboxAppServiceIngressToJSON(value['ingress']),
|
|
58
|
+
'health_check': SandboxAppServiceHealthToJSON(value['healthCheck']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 SandboxAppServiceHealth
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxAppServiceHealth {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxAppServiceHealth
|
|
22
|
+
*/
|
|
23
|
+
path?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SandboxAppServiceHealth interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSandboxAppServiceHealth(value: object): value is SandboxAppServiceHealth;
|
|
29
|
+
export declare function SandboxAppServiceHealthFromJSON(json: any): SandboxAppServiceHealth;
|
|
30
|
+
export declare function SandboxAppServiceHealthFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAppServiceHealth;
|
|
31
|
+
export declare function SandboxAppServiceHealthToJSON(json: any): SandboxAppServiceHealth;
|
|
32
|
+
export declare function SandboxAppServiceHealthToJSONTyped(value?: SandboxAppServiceHealth | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=SandboxAppServiceHealth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxAppServiceHealth.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceHealth.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAEjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAQrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASpI"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 SandboxAppServiceHealth interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxAppServiceHealth(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SandboxAppServiceHealthFromJSON(json) {
|
|
21
|
+
return SandboxAppServiceHealthFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SandboxAppServiceHealthFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'path': json['path'] == null ? undefined : json['path'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function SandboxAppServiceHealthToJSON(json) {
|
|
32
|
+
return SandboxAppServiceHealthToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function SandboxAppServiceHealthToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'path': value['path'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -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 { SandboxAppServiceRoute } from './SandboxAppServiceRoute.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxAppServiceIngress
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxAppServiceIngress {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SandboxAppServiceIngress
|
|
23
|
+
*/
|
|
24
|
+
_public: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<SandboxAppServiceRoute>}
|
|
28
|
+
* @memberof SandboxAppServiceIngress
|
|
29
|
+
*/
|
|
30
|
+
routes?: Array<SandboxAppServiceRoute>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SandboxAppServiceIngress interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSandboxAppServiceIngress(value: object): value is SandboxAppServiceIngress;
|
|
36
|
+
export declare function SandboxAppServiceIngressFromJSON(json: any): SandboxAppServiceIngress;
|
|
37
|
+
export declare function SandboxAppServiceIngressFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAppServiceIngress;
|
|
38
|
+
export declare function SandboxAppServiceIngressToJSON(json: any): SandboxAppServiceIngress;
|
|
39
|
+
export declare function SandboxAppServiceIngressToJSONTyped(value?: SandboxAppServiceIngress | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SandboxAppServiceIngress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxAppServiceIngress.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceIngress.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAGnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CASvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtI"}
|
|
@@ -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 { SandboxAppServiceRouteFromJSON, SandboxAppServiceRouteToJSON, } from './SandboxAppServiceRoute.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxAppServiceIngress interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxAppServiceIngress(value) {
|
|
19
|
+
if (!('_public' in value) || value['_public'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SandboxAppServiceIngressFromJSON(json) {
|
|
24
|
+
return SandboxAppServiceIngressFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SandboxAppServiceIngressFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'_public': json['public'],
|
|
32
|
+
'routes': json['routes'] == null ? undefined : (json['routes'].map(SandboxAppServiceRouteFromJSON)),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SandboxAppServiceIngressToJSON(json) {
|
|
36
|
+
return SandboxAppServiceIngressToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SandboxAppServiceIngressToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'public': value['_public'],
|
|
44
|
+
'routes': value['routes'] == null ? undefined : (value['routes'].map(SandboxAppServiceRouteToJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|