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,84 @@
|
|
|
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 { PublicGatewayRateLimit } from './PublicGatewayRateLimit.js';
|
|
13
|
+
import type { PublicGatewayCORS } from './PublicGatewayCORS.js';
|
|
14
|
+
import type { PublicGatewayAuth } from './PublicGatewayAuth.js';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SandboxAppServiceRoute
|
|
19
|
+
*/
|
|
20
|
+
export interface SandboxAppServiceRoute {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof SandboxAppServiceRoute
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof SandboxAppServiceRoute
|
|
31
|
+
*/
|
|
32
|
+
pathPrefix?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Array<string>}
|
|
36
|
+
* @memberof SandboxAppServiceRoute
|
|
37
|
+
*/
|
|
38
|
+
methods?: Array<string>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof SandboxAppServiceRoute
|
|
43
|
+
*/
|
|
44
|
+
rewritePrefix?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {PublicGatewayAuth}
|
|
48
|
+
* @memberof SandboxAppServiceRoute
|
|
49
|
+
*/
|
|
50
|
+
auth?: PublicGatewayAuth;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {PublicGatewayCORS}
|
|
54
|
+
* @memberof SandboxAppServiceRoute
|
|
55
|
+
*/
|
|
56
|
+
cors?: PublicGatewayCORS;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {PublicGatewayRateLimit}
|
|
60
|
+
* @memberof SandboxAppServiceRoute
|
|
61
|
+
*/
|
|
62
|
+
rateLimit?: PublicGatewayRateLimit;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof SandboxAppServiceRoute
|
|
67
|
+
*/
|
|
68
|
+
timeoutSeconds?: number;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {boolean}
|
|
72
|
+
* @memberof SandboxAppServiceRoute
|
|
73
|
+
*/
|
|
74
|
+
resume: boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the SandboxAppServiceRoute interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfSandboxAppServiceRoute(value: object): value is SandboxAppServiceRoute;
|
|
80
|
+
export declare function SandboxAppServiceRouteFromJSON(json: any): SandboxAppServiceRoute;
|
|
81
|
+
export declare function SandboxAppServiceRouteFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAppServiceRoute;
|
|
82
|
+
export declare function SandboxAppServiceRouteToJSON(json: any): SandboxAppServiceRoute;
|
|
83
|
+
export declare function SandboxAppServiceRouteToJSONTyped(value?: SandboxAppServiceRoute | null, ignoreDiscriminator?: boolean): any;
|
|
84
|
+
//# sourceMappingURL=SandboxAppServiceRoute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxAppServiceRoute.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceRoute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAI/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAgBnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBlI"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 { PublicGatewayRateLimitFromJSON, PublicGatewayRateLimitToJSON, } from './PublicGatewayRateLimit.js';
|
|
15
|
+
import { PublicGatewayCORSFromJSON, PublicGatewayCORSToJSON, } from './PublicGatewayCORS.js';
|
|
16
|
+
import { PublicGatewayAuthFromJSON, PublicGatewayAuthToJSON, } from './PublicGatewayAuth.js';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SandboxAppServiceRoute interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSandboxAppServiceRoute(value) {
|
|
21
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('resume' in value) || value['resume'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function SandboxAppServiceRouteFromJSON(json) {
|
|
28
|
+
return SandboxAppServiceRouteFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function SandboxAppServiceRouteFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'],
|
|
36
|
+
'pathPrefix': json['path_prefix'] == null ? undefined : json['path_prefix'],
|
|
37
|
+
'methods': json['methods'] == null ? undefined : json['methods'],
|
|
38
|
+
'rewritePrefix': json['rewrite_prefix'] == null ? undefined : json['rewrite_prefix'],
|
|
39
|
+
'auth': json['auth'] == null ? undefined : PublicGatewayAuthFromJSON(json['auth']),
|
|
40
|
+
'cors': json['cors'] == null ? undefined : PublicGatewayCORSFromJSON(json['cors']),
|
|
41
|
+
'rateLimit': json['rate_limit'] == null ? undefined : PublicGatewayRateLimitFromJSON(json['rate_limit']),
|
|
42
|
+
'timeoutSeconds': json['timeout_seconds'] == null ? undefined : json['timeout_seconds'],
|
|
43
|
+
'resume': json['resume'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function SandboxAppServiceRouteToJSON(json) {
|
|
47
|
+
return SandboxAppServiceRouteToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function SandboxAppServiceRouteToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'path_prefix': value['pathPrefix'],
|
|
56
|
+
'methods': value['methods'],
|
|
57
|
+
'rewrite_prefix': value['rewritePrefix'],
|
|
58
|
+
'auth': PublicGatewayAuthToJSON(value['auth']),
|
|
59
|
+
'cors': PublicGatewayCORSToJSON(value['cors']),
|
|
60
|
+
'rate_limit': PublicGatewayRateLimitToJSON(value['rateLimit']),
|
|
61
|
+
'timeout_seconds': value['timeoutSeconds'],
|
|
62
|
+
'resume': value['resume'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 SandboxAppServiceRuntime
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxAppServiceRuntime {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxAppServiceRuntime
|
|
22
|
+
*/
|
|
23
|
+
type: SandboxAppServiceRuntimeTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SandboxAppServiceRuntime
|
|
28
|
+
*/
|
|
29
|
+
command?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxAppServiceRuntime
|
|
34
|
+
*/
|
|
35
|
+
cwd?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {{ [key: string]: string; }}
|
|
39
|
+
* @memberof SandboxAppServiceRuntime
|
|
40
|
+
*/
|
|
41
|
+
envVars?: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof SandboxAppServiceRuntime
|
|
48
|
+
*/
|
|
49
|
+
warmProcessName?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export declare const SandboxAppServiceRuntimeTypeEnum: {
|
|
55
|
+
readonly WarmProcess: "warm_process";
|
|
56
|
+
readonly Cmd: "cmd";
|
|
57
|
+
readonly Manual: "manual";
|
|
58
|
+
};
|
|
59
|
+
export type SandboxAppServiceRuntimeTypeEnum = typeof SandboxAppServiceRuntimeTypeEnum[keyof typeof SandboxAppServiceRuntimeTypeEnum];
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the SandboxAppServiceRuntime interface.
|
|
62
|
+
*/
|
|
63
|
+
export declare function instanceOfSandboxAppServiceRuntime(value: object): value is SandboxAppServiceRuntime;
|
|
64
|
+
export declare function SandboxAppServiceRuntimeFromJSON(json: any): SandboxAppServiceRuntime;
|
|
65
|
+
export declare function SandboxAppServiceRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAppServiceRuntime;
|
|
66
|
+
export declare function SandboxAppServiceRuntimeToJSON(json: any): SandboxAppServiceRuntime;
|
|
67
|
+
export declare function SandboxAppServiceRuntimeToJSONTyped(value?: SandboxAppServiceRuntime | null, ignoreDiscriminator?: boolean): any;
|
|
68
|
+
//# sourceMappingURL=SandboxAppServiceRuntime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxAppServiceRuntime.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceRuntime.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,EAAE,gCAAgC,CAAC;IACvC;;;;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;IACrC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAGD;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;CAInC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAGtI;;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,CAYvH;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,CAatI"}
|
|
@@ -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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const SandboxAppServiceRuntimeTypeEnum = {
|
|
18
|
+
WarmProcess: 'warm_process',
|
|
19
|
+
Cmd: 'cmd',
|
|
20
|
+
Manual: 'manual'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SandboxAppServiceRuntime interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfSandboxAppServiceRuntime(value) {
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function SandboxAppServiceRuntimeFromJSON(json) {
|
|
31
|
+
return SandboxAppServiceRuntimeFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function SandboxAppServiceRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'type': json['type'],
|
|
39
|
+
'command': json['command'] == null ? undefined : json['command'],
|
|
40
|
+
'cwd': json['cwd'] == null ? undefined : json['cwd'],
|
|
41
|
+
'envVars': json['env_vars'] == null ? undefined : json['env_vars'],
|
|
42
|
+
'warmProcessName': json['warm_process_name'] == null ? undefined : json['warm_process_name'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function SandboxAppServiceRuntimeToJSON(json) {
|
|
46
|
+
return SandboxAppServiceRuntimeToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function SandboxAppServiceRuntimeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'type': value['type'],
|
|
54
|
+
'command': value['command'],
|
|
55
|
+
'cwd': value['cwd'],
|
|
56
|
+
'env_vars': value['envVars'],
|
|
57
|
+
'warm_process_name': value['warmProcessName'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SandboxAppServiceView
|
|
19
|
+
*/
|
|
20
|
+
export interface SandboxAppServiceView {
|
|
21
|
+
/**
|
|
22
|
+
* Stable service ID. Must be a DNS label.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof SandboxAppServiceView
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof SandboxAppServiceView
|
|
31
|
+
*/
|
|
32
|
+
displayName?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof SandboxAppServiceView
|
|
37
|
+
*/
|
|
38
|
+
port: number;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {SandboxAppServiceRuntime}
|
|
42
|
+
* @memberof SandboxAppServiceView
|
|
43
|
+
*/
|
|
44
|
+
runtime?: SandboxAppServiceRuntime;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {SandboxAppServiceIngress}
|
|
48
|
+
* @memberof SandboxAppServiceView
|
|
49
|
+
*/
|
|
50
|
+
ingress: SandboxAppServiceIngress;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {SandboxAppServiceHealth}
|
|
54
|
+
* @memberof SandboxAppServiceView
|
|
55
|
+
*/
|
|
56
|
+
healthCheck?: SandboxAppServiceHealth;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof SandboxAppServiceView
|
|
61
|
+
*/
|
|
62
|
+
publishable: boolean;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {Array<string>}
|
|
66
|
+
* @memberof SandboxAppServiceView
|
|
67
|
+
*/
|
|
68
|
+
publishBlockers?: Array<string>;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the SandboxAppServiceView interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfSandboxAppServiceView(value: object): value is SandboxAppServiceView;
|
|
74
|
+
export declare function SandboxAppServiceViewFromJSON(json: any): SandboxAppServiceView;
|
|
75
|
+
export declare function SandboxAppServiceViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAppServiceView;
|
|
76
|
+
export declare function SandboxAppServiceViewToJSON(json: any): SandboxAppServiceView;
|
|
77
|
+
export declare function SandboxAppServiceViewToJSONTyped(value?: SandboxAppServiceView | null, ignoreDiscriminator?: boolean): any;
|
|
78
|
+
//# sourceMappingURL=SandboxAppServiceView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxAppServiceView.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceView.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,qBAAqB;IAClC;;;;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;IACtC;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAM7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAejH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBhI"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 SandboxAppServiceView interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSandboxAppServiceView(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
|
+
if (!('publishable' in value) || value['publishable'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function SandboxAppServiceViewFromJSON(json) {
|
|
32
|
+
return SandboxAppServiceViewFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function SandboxAppServiceViewFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
|
41
|
+
'port': json['port'],
|
|
42
|
+
'runtime': json['runtime'] == null ? undefined : SandboxAppServiceRuntimeFromJSON(json['runtime']),
|
|
43
|
+
'ingress': SandboxAppServiceIngressFromJSON(json['ingress']),
|
|
44
|
+
'healthCheck': json['health_check'] == null ? undefined : SandboxAppServiceHealthFromJSON(json['health_check']),
|
|
45
|
+
'publishable': json['publishable'],
|
|
46
|
+
'publishBlockers': json['publish_blockers'] == null ? undefined : json['publish_blockers'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function SandboxAppServiceViewToJSON(json) {
|
|
50
|
+
return SandboxAppServiceViewToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function SandboxAppServiceViewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'display_name': value['displayName'],
|
|
59
|
+
'port': value['port'],
|
|
60
|
+
'runtime': SandboxAppServiceRuntimeToJSON(value['runtime']),
|
|
61
|
+
'ingress': SandboxAppServiceIngressToJSON(value['ingress']),
|
|
62
|
+
'health_check': SandboxAppServiceHealthToJSON(value['healthCheck']),
|
|
63
|
+
'publishable': value['publishable'],
|
|
64
|
+
'publish_blockers': value['publishBlockers'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SandboxAppService } from './SandboxAppService.js';
|
|
12
13
|
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
13
14
|
import type { WebhookConfig } from './WebhookConfig.js';
|
|
14
15
|
import type { PublicGatewayConfig } from './PublicGatewayConfig.js';
|
|
@@ -58,6 +59,12 @@ export interface SandboxConfig {
|
|
|
58
59
|
* @memberof SandboxConfig
|
|
59
60
|
*/
|
|
60
61
|
autoResume?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<SandboxAppService>}
|
|
65
|
+
* @memberof SandboxConfig
|
|
66
|
+
*/
|
|
67
|
+
services?: Array<SandboxAppService>;
|
|
61
68
|
/**
|
|
62
69
|
*
|
|
63
70
|
* @type {PublicGatewayConfig}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,
|
|
1
|
+
{"version":3,"file":"SandboxConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACpC;;;;OAIG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAejG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBhH"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
|
|
14
15
|
import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
|
|
15
16
|
import { WebhookConfigFromJSON, WebhookConfigToJSON, } from './WebhookConfig.js';
|
|
16
17
|
import { PublicGatewayConfigFromJSON, PublicGatewayConfigToJSON, } from './PublicGatewayConfig.js';
|
|
@@ -34,6 +35,7 @@ export function SandboxConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
35
36
|
'webhook': json['webhook'] == null ? undefined : WebhookConfigFromJSON(json['webhook']),
|
|
36
37
|
'autoResume': json['auto_resume'] == null ? undefined : json['auto_resume'],
|
|
38
|
+
'services': json['services'] == null ? undefined : (json['services'].map(SandboxAppServiceFromJSON)),
|
|
37
39
|
'publicGateway': json['public_gateway'] == null ? undefined : PublicGatewayConfigFromJSON(json['public_gateway']),
|
|
38
40
|
};
|
|
39
41
|
}
|
|
@@ -51,6 +53,7 @@ export function SandboxConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
53
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
52
54
|
'webhook': WebhookConfigToJSON(value['webhook']),
|
|
53
55
|
'auto_resume': value['autoResume'],
|
|
56
|
+
'services': value['services'] == null ? undefined : (value['services'].map(SandboxAppServiceToJSON)),
|
|
54
57
|
'public_gateway': PublicGatewayConfigToJSON(value['publicGateway']),
|
|
55
58
|
};
|
|
56
59
|
}
|
|
@@ -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 { SandboxAppService } from './SandboxAppService.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxServicesUpdateRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxServicesUpdateRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SandboxAppService>}
|
|
22
|
+
* @memberof SandboxServicesUpdateRequest
|
|
23
|
+
*/
|
|
24
|
+
services: Array<SandboxAppService>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SandboxServicesUpdateRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSandboxServicesUpdateRequest(value: object): value is SandboxServicesUpdateRequest;
|
|
30
|
+
export declare function SandboxServicesUpdateRequestFromJSON(json: any): SandboxServicesUpdateRequest;
|
|
31
|
+
export declare function SandboxServicesUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxServicesUpdateRequest;
|
|
32
|
+
export declare function SandboxServicesUpdateRequestToJSON(json: any): SandboxServicesUpdateRequest;
|
|
33
|
+
export declare function SandboxServicesUpdateRequestToJSONTyped(value?: SandboxServicesUpdateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=SandboxServicesUpdateRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxServicesUpdateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxServicesUpdateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAG3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAQ/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS9I"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* 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 { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxServicesUpdateRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxServicesUpdateRequest(value) {
|
|
19
|
+
if (!('services' in value) || value['services'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SandboxServicesUpdateRequestFromJSON(json) {
|
|
24
|
+
return SandboxServicesUpdateRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SandboxServicesUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'services': (json['services'].map(SandboxAppServiceFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SandboxServicesUpdateRequestToJSON(json) {
|
|
35
|
+
return SandboxServicesUpdateRequestToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SandboxServicesUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'services': (value['services'].map(SandboxAppServiceToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SandboxAppService } from './SandboxAppService.js';
|
|
12
13
|
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
13
14
|
import type { PublicGatewayConfig } from './PublicGatewayConfig.js';
|
|
14
15
|
/**
|
|
@@ -45,6 +46,12 @@ export interface SandboxUpdateConfig {
|
|
|
45
46
|
* @memberof SandboxUpdateConfig
|
|
46
47
|
*/
|
|
47
48
|
autoResume?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<SandboxAppService>}
|
|
52
|
+
* @memberof SandboxUpdateConfig
|
|
53
|
+
*/
|
|
54
|
+
services?: Array<SandboxAppService>;
|
|
48
55
|
/**
|
|
49
56
|
*
|
|
50
57
|
* @type {PublicGatewayConfig}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxUpdateConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxUpdateConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACvC;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,
|
|
1
|
+
{"version":3,"file":"SandboxUpdateConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxUpdateConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,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;AAQjE;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACpC;;;;OAIG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACvC;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,CAa7G;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,CAc5H"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
|
|
14
15
|
import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
|
|
15
16
|
import { PublicGatewayConfigFromJSON, PublicGatewayConfigToJSON, } from './PublicGatewayConfig.js';
|
|
16
17
|
/**
|
|
@@ -31,6 +32,7 @@ export function SandboxUpdateConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
32
|
'hardTtl': json['hard_ttl'] == null ? undefined : json['hard_ttl'],
|
|
32
33
|
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
33
34
|
'autoResume': json['auto_resume'] == null ? undefined : json['auto_resume'],
|
|
35
|
+
'services': json['services'] == null ? undefined : (json['services'].map(SandboxAppServiceFromJSON)),
|
|
34
36
|
'publicGateway': json['public_gateway'] == null ? undefined : PublicGatewayConfigFromJSON(json['public_gateway']),
|
|
35
37
|
};
|
|
36
38
|
}
|
|
@@ -46,6 +48,7 @@ export function SandboxUpdateConfigToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
46
48
|
'hard_ttl': value['hardTtl'],
|
|
47
49
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
48
50
|
'auto_resume': value['autoResume'],
|
|
51
|
+
'services': value['services'] == null ? undefined : (value['services'].map(SandboxAppServiceToJSON)),
|
|
49
52
|
'public_gateway': PublicGatewayConfigToJSON(value['publicGateway']),
|
|
50
53
|
};
|
|
51
54
|
}
|