sandbox0 0.3.2 → 0.3.4
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/ObservabilityApi.d.ts +53 -0
- package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/ObservabilityApi.js +112 -0
- package/dist/apispec/src/apis/SandboxesApi.d.ts +26 -49
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +74 -144
- package/dist/apispec/src/apis/index.d.ts +1 -0
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +1 -0
- package/dist/apispec/src/models/ObservabilityLogRecord.d.ts +79 -0
- package/dist/apispec/src/models/ObservabilityLogRecord.d.ts.map +1 -0
- package/dist/apispec/src/models/ObservabilityLogRecord.js +55 -0
- package/dist/apispec/src/models/ObservabilityTraceSpan.d.ts +103 -0
- package/dist/apispec/src/models/ObservabilityTraceSpan.d.ts.map +1 -0
- package/dist/apispec/src/models/ObservabilityTraceSpan.js +63 -0
- package/dist/apispec/src/models/PublicGatewayAuth.d.ts +60 -0
- package/dist/apispec/src/models/PublicGatewayAuth.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayAuth.js +57 -0
- package/dist/apispec/src/models/PublicGatewayCORS.d.ts +63 -0
- package/dist/apispec/src/models/PublicGatewayCORS.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayCORS.js +51 -0
- package/dist/apispec/src/models/PublicGatewayConfig.d.ts +40 -0
- package/dist/apispec/src/models/PublicGatewayConfig.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayConfig.js +46 -0
- package/dist/apispec/src/models/PublicGatewayRateLimit.d.ts +39 -0
- package/dist/apispec/src/models/PublicGatewayRateLimit.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayRateLimit.js +47 -0
- package/dist/apispec/src/models/PublicGatewayRoute.d.ts +92 -0
- package/dist/apispec/src/models/PublicGatewayRoute.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayRoute.js +68 -0
- package/dist/apispec/src/models/Sandbox.d.ts +3 -3
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +3 -3
- package/dist/apispec/src/models/SandboxConfig.d.ts +3 -3
- package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxConfig.js +3 -3
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +3 -3
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.js +3 -3
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.js +42 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessObservabilityTraceSpanListResponseAllOfData.js +42 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponse.js +46 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.d.ts +46 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.js +50 -0
- package/dist/apispec/src/models/index.d.ts +13 -4
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +13 -4
- package/dist/client.d.ts +3 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/models.d.ts +4 -7
- package/dist/models.d.ts.map +1 -1
- package/dist/resources/observability.d.ts +16 -0
- package/dist/resources/observability.d.ts.map +1 -0
- package/dist/resources/observability.js +30 -0
- package/dist/response_normalize.d.ts.map +1 -1
- package/dist/response_normalize.js +0 -1
- package/dist/sandbox_public_gateway.d.ts +10 -0
- package/dist/sandbox_public_gateway.d.ts.map +1 -0
- package/dist/sandbox_public_gateway.js +31 -0
- package/package.json +1 -1
- package/dist/apispec/src/models/ExposedPortConfig.d.ts +0 -50
- package/dist/apispec/src/models/ExposedPortConfig.d.ts.map +0 -1
- package/dist/apispec/src/models/ExposedPortConfig.js +0 -48
- package/dist/apispec/src/models/SuccessExposedPortsResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessExposedPortsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessExposedPortsResponse.js +0 -46
- package/dist/apispec/src/models/SuccessExposedPortsResponseAllOfData.d.ts +0 -48
- package/dist/apispec/src/models/SuccessExposedPortsResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessExposedPortsResponseAllOfData.js +0 -49
- package/dist/apispec/src/models/UpdateExposedPortsRequest.d.ts +0 -34
- package/dist/apispec/src/models/UpdateExposedPortsRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/UpdateExposedPortsRequest.js +0 -44
- package/dist/sandbox_exposed_ports.d.ts +0 -11
- package/dist/sandbox_exposed_ports.d.ts.map +0 -1
- package/dist/sandbox_exposed_ports.js +0 -66
|
@@ -0,0 +1,92 @@
|
|
|
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 PublicGatewayRoute
|
|
19
|
+
*/
|
|
20
|
+
export interface PublicGatewayRoute {
|
|
21
|
+
/**
|
|
22
|
+
* Stable route id. Must be a DNS label and unique within the sandbox policy.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof PublicGatewayRoute
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof PublicGatewayRoute
|
|
31
|
+
*/
|
|
32
|
+
port: number;
|
|
33
|
+
/**
|
|
34
|
+
* Request path prefix matched before proxying to the sandbox port.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof PublicGatewayRoute
|
|
37
|
+
*/
|
|
38
|
+
pathPrefix?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Allowed HTTP methods. Empty allows every method.
|
|
41
|
+
* @type {Array<string>}
|
|
42
|
+
* @memberof PublicGatewayRoute
|
|
43
|
+
*/
|
|
44
|
+
methods?: Array<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Optional replacement prefix applied before proxying.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof PublicGatewayRoute
|
|
49
|
+
*/
|
|
50
|
+
rewritePrefix?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {PublicGatewayAuth}
|
|
54
|
+
* @memberof PublicGatewayRoute
|
|
55
|
+
*/
|
|
56
|
+
auth?: PublicGatewayAuth;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {PublicGatewayCORS}
|
|
60
|
+
* @memberof PublicGatewayRoute
|
|
61
|
+
*/
|
|
62
|
+
cors?: PublicGatewayCORS;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {PublicGatewayRateLimit}
|
|
66
|
+
* @memberof PublicGatewayRoute
|
|
67
|
+
*/
|
|
68
|
+
rateLimit?: PublicGatewayRateLimit;
|
|
69
|
+
/**
|
|
70
|
+
* Per-route upstream timeout in seconds. Zero disables the route override.
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof PublicGatewayRoute
|
|
73
|
+
*/
|
|
74
|
+
timeoutSeconds?: number;
|
|
75
|
+
/**
|
|
76
|
+
* Route-level resume gate for public gateway traffic. Evaluated only when
|
|
77
|
+
* sandbox auto_resume is true.
|
|
78
|
+
*
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof PublicGatewayRoute
|
|
81
|
+
*/
|
|
82
|
+
resume: boolean;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Check if a given object implements the PublicGatewayRoute interface.
|
|
86
|
+
*/
|
|
87
|
+
export declare function instanceOfPublicGatewayRoute(value: object): value is PublicGatewayRoute;
|
|
88
|
+
export declare function PublicGatewayRouteFromJSON(json: any): PublicGatewayRoute;
|
|
89
|
+
export declare function PublicGatewayRouteFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicGatewayRoute;
|
|
90
|
+
export declare function PublicGatewayRouteToJSON(json: any): PublicGatewayRoute;
|
|
91
|
+
export declare function PublicGatewayRouteToJSONTyped(value?: PublicGatewayRoute | null, ignoreDiscriminator?: boolean): any;
|
|
92
|
+
//# sourceMappingURL=PublicGatewayRoute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublicGatewayRoute.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PublicGatewayRoute.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,kBAAkB;IAC/B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;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;;;;;;OAMG;IACH,MAAM,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAKvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAiB3G;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,CAkB1H"}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 PublicGatewayRoute interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfPublicGatewayRoute(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 (!('resume' in value) || value['resume'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function PublicGatewayRouteFromJSON(json) {
|
|
30
|
+
return PublicGatewayRouteFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function PublicGatewayRouteFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'port': json['port'],
|
|
39
|
+
'pathPrefix': json['path_prefix'] == null ? undefined : json['path_prefix'],
|
|
40
|
+
'methods': json['methods'] == null ? undefined : json['methods'],
|
|
41
|
+
'rewritePrefix': json['rewrite_prefix'] == null ? undefined : json['rewrite_prefix'],
|
|
42
|
+
'auth': json['auth'] == null ? undefined : PublicGatewayAuthFromJSON(json['auth']),
|
|
43
|
+
'cors': json['cors'] == null ? undefined : PublicGatewayCORSFromJSON(json['cors']),
|
|
44
|
+
'rateLimit': json['rate_limit'] == null ? undefined : PublicGatewayRateLimitFromJSON(json['rate_limit']),
|
|
45
|
+
'timeoutSeconds': json['timeout_seconds'] == null ? undefined : json['timeout_seconds'],
|
|
46
|
+
'resume': json['resume'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function PublicGatewayRouteToJSON(json) {
|
|
50
|
+
return PublicGatewayRouteToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function PublicGatewayRouteToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'port': value['port'],
|
|
59
|
+
'path_prefix': value['pathPrefix'],
|
|
60
|
+
'methods': value['methods'],
|
|
61
|
+
'rewrite_prefix': value['rewritePrefix'],
|
|
62
|
+
'auth': PublicGatewayAuthToJSON(value['auth']),
|
|
63
|
+
'cors': PublicGatewayCORSToJSON(value['cors']),
|
|
64
|
+
'rate_limit': PublicGatewayRateLimitToJSON(value['rateLimit']),
|
|
65
|
+
'timeout_seconds': value['timeoutSeconds'],
|
|
66
|
+
'resume': value['resume'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SandboxSSHConnection } from './SandboxSSHConnection.js';
|
|
13
|
-
import type {
|
|
13
|
+
import type { PublicGatewayConfig } from './PublicGatewayConfig.js';
|
|
14
14
|
import type { SandboxPowerState } from './SandboxPowerState.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -68,10 +68,10 @@ export interface Sandbox {
|
|
|
68
68
|
autoResume: boolean;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
|
-
* @type {
|
|
71
|
+
* @type {PublicGatewayConfig}
|
|
72
72
|
* @memberof Sandbox
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
publicGateway?: PublicGatewayConfig;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @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,
|
|
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,CAsBrF;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,CAuBpG"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { SandboxSSHConnectionFromJSON, SandboxSSHConnectionToJSON, } from './SandboxSSHConnection.js';
|
|
15
|
-
import {
|
|
15
|
+
import { PublicGatewayConfigFromJSON, PublicGatewayConfigToJSON, } from './PublicGatewayConfig.js';
|
|
16
16
|
import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
|
|
17
17
|
/**
|
|
18
18
|
* Check if a given object implements the Sandbox interface.
|
|
@@ -60,7 +60,7 @@ export function SandboxFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'paused': json['paused'],
|
|
61
61
|
'powerState': SandboxPowerStateFromJSON(json['power_state']),
|
|
62
62
|
'autoResume': json['auto_resume'],
|
|
63
|
-
'
|
|
63
|
+
'publicGateway': json['public_gateway'] == null ? undefined : PublicGatewayConfigFromJSON(json['public_gateway']),
|
|
64
64
|
'podName': json['pod_name'],
|
|
65
65
|
'ssh': json['ssh'] == null ? undefined : SandboxSSHConnectionFromJSON(json['ssh']),
|
|
66
66
|
'expiresAt': (new Date(json['expires_at'])),
|
|
@@ -85,7 +85,7 @@ export function SandboxToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
85
85
|
'paused': value['paused'],
|
|
86
86
|
'power_state': SandboxPowerStateToJSON(value['powerState']),
|
|
87
87
|
'auto_resume': value['autoResume'],
|
|
88
|
-
'
|
|
88
|
+
'public_gateway': PublicGatewayConfigToJSON(value['publicGateway']),
|
|
89
89
|
'pod_name': value['podName'],
|
|
90
90
|
'ssh': SandboxSSHConnectionToJSON(value['ssh']),
|
|
91
91
|
'expires_at': value['expiresAt'].toISOString(),
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
13
13
|
import type { WebhookConfig } from './WebhookConfig.js';
|
|
14
|
-
import type {
|
|
14
|
+
import type { PublicGatewayConfig } from './PublicGatewayConfig.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -60,10 +60,10 @@ export interface SandboxConfig {
|
|
|
60
60
|
autoResume?: boolean;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
|
-
* @type {
|
|
63
|
+
* @type {PublicGatewayConfig}
|
|
64
64
|
* @memberof SandboxConfig
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
publicGateway?: PublicGatewayConfig;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Check if a given object implements the SandboxConfig interface.
|
|
@@ -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,
|
|
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,CAcjG;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,CAehH"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
|
|
15
15
|
import { WebhookConfigFromJSON, WebhookConfigToJSON, } from './WebhookConfig.js';
|
|
16
|
-
import {
|
|
16
|
+
import { PublicGatewayConfigFromJSON, PublicGatewayConfigToJSON, } from './PublicGatewayConfig.js';
|
|
17
17
|
/**
|
|
18
18
|
* Check if a given object implements the SandboxConfig interface.
|
|
19
19
|
*/
|
|
@@ -34,7 +34,7 @@ export function SandboxConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
35
35
|
'webhook': json['webhook'] == null ? undefined : WebhookConfigFromJSON(json['webhook']),
|
|
36
36
|
'autoResume': json['auto_resume'] == null ? undefined : json['auto_resume'],
|
|
37
|
-
'
|
|
37
|
+
'publicGateway': json['public_gateway'] == null ? undefined : PublicGatewayConfigFromJSON(json['public_gateway']),
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
export function SandboxConfigToJSON(json) {
|
|
@@ -51,6 +51,6 @@ export function SandboxConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
51
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
52
52
|
'webhook': WebhookConfigToJSON(value['webhook']),
|
|
53
53
|
'auto_resume': value['autoResume'],
|
|
54
|
-
'
|
|
54
|
+
'public_gateway': PublicGatewayConfigToJSON(value['publicGateway']),
|
|
55
55
|
};
|
|
56
56
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
13
|
-
import type {
|
|
13
|
+
import type { PublicGatewayConfig } from './PublicGatewayConfig.js';
|
|
14
14
|
/**
|
|
15
15
|
* Subset of SandboxConfig fields that can be updated at runtime without restarting the sandbox.
|
|
16
16
|
* Note: env_vars and webhook are not included as they only affect new processes or require restart.
|
|
@@ -47,10 +47,10 @@ export interface SandboxUpdateConfig {
|
|
|
47
47
|
autoResume?: boolean;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {
|
|
50
|
+
* @type {PublicGatewayConfig}
|
|
51
51
|
* @memberof SandboxUpdateConfig
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
publicGateway?: PublicGatewayConfig;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Check if a given object implements the SandboxUpdateConfig interface.
|
|
@@ -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,
|
|
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,CAY7G;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,CAa5H"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
|
|
15
|
-
import {
|
|
15
|
+
import { PublicGatewayConfigFromJSON, PublicGatewayConfigToJSON, } from './PublicGatewayConfig.js';
|
|
16
16
|
/**
|
|
17
17
|
* Check if a given object implements the SandboxUpdateConfig interface.
|
|
18
18
|
*/
|
|
@@ -31,7 +31,7 @@ export function SandboxUpdateConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'hardTtl': json['hard_ttl'] == null ? undefined : json['hard_ttl'],
|
|
32
32
|
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
33
33
|
'autoResume': json['auto_resume'] == null ? undefined : json['auto_resume'],
|
|
34
|
-
'
|
|
34
|
+
'publicGateway': json['public_gateway'] == null ? undefined : PublicGatewayConfigFromJSON(json['public_gateway']),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
export function SandboxUpdateConfigToJSON(json) {
|
|
@@ -46,6 +46,6 @@ export function SandboxUpdateConfigToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
46
46
|
'hard_ttl': value['hardTtl'],
|
|
47
47
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
48
48
|
'auto_resume': value['autoResume'],
|
|
49
|
-
'
|
|
49
|
+
'public_gateway': PublicGatewayConfigToJSON(value['publicGateway']),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -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 { SuccessObservabilityLogRecordListResponseAllOfData } from './SuccessObservabilityLogRecordListResponseAllOfData.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessObservabilityLogRecordListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessObservabilityLogRecordListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessObservabilityLogRecordListResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SuccessObservabilityLogRecordListResponseAllOfData}
|
|
28
|
+
* @memberof SuccessObservabilityLogRecordListResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SuccessObservabilityLogRecordListResponseAllOfData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessObservabilityLogRecordListResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessObservabilityLogRecordListResponse(value: object): value is SuccessObservabilityLogRecordListResponse;
|
|
36
|
+
export declare function SuccessObservabilityLogRecordListResponseFromJSON(json: any): SuccessObservabilityLogRecordListResponse;
|
|
37
|
+
export declare function SuccessObservabilityLogRecordListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessObservabilityLogRecordListResponse;
|
|
38
|
+
export declare function SuccessObservabilityLogRecordListResponseToJSON(json: any): SuccessObservabilityLogRecordListResponse;
|
|
39
|
+
export declare function SuccessObservabilityLogRecordListResponseToJSONTyped(value?: SuccessObservabilityLogRecordListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessObservabilityLogRecordListResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessObservabilityLogRecordListResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessObservabilityLogRecordListResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kDAAkD,EAAE,MAAM,sDAAsD,CAAC;AAQ/H;;;;GAIG;AACH,MAAM,WAAW,yCAAyC;IACtD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,kDAAkD,CAAC;CAC7D;AAED;;GAEG;AACH,wBAAgB,mDAAmD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yCAAyC,CAGrI;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,GAAG,GAAG,yCAAyC,CAEtH;AAED,wBAAgB,sDAAsD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yCAAyC,CASzJ;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,GAAG,yCAAyC,CAEpH;AAED,wBAAgB,oDAAoD,CAAC,KAAK,CAAC,EAAE,yCAAyC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxK"}
|
|
@@ -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 { SuccessObservabilityLogRecordListResponseAllOfDataFromJSON, SuccessObservabilityLogRecordListResponseAllOfDataToJSON, } from './SuccessObservabilityLogRecordListResponseAllOfData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessObservabilityLogRecordListResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessObservabilityLogRecordListResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessObservabilityLogRecordListResponseFromJSON(json) {
|
|
24
|
+
return SuccessObservabilityLogRecordListResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessObservabilityLogRecordListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SuccessObservabilityLogRecordListResponseAllOfDataFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessObservabilityLogRecordListResponseToJSON(json) {
|
|
36
|
+
return SuccessObservabilityLogRecordListResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessObservabilityLogRecordListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SuccessObservabilityLogRecordListResponseAllOfDataToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ObservabilityLogRecord } from './ObservabilityLogRecord.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessObservabilityLogRecordListResponseAllOfData
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessObservabilityLogRecordListResponseAllOfData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ObservabilityLogRecord>}
|
|
22
|
+
* @memberof SuccessObservabilityLogRecordListResponseAllOfData
|
|
23
|
+
*/
|
|
24
|
+
logs?: Array<ObservabilityLogRecord>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SuccessObservabilityLogRecordListResponseAllOfData interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSuccessObservabilityLogRecordListResponseAllOfData(value: object): value is SuccessObservabilityLogRecordListResponseAllOfData;
|
|
30
|
+
export declare function SuccessObservabilityLogRecordListResponseAllOfDataFromJSON(json: any): SuccessObservabilityLogRecordListResponseAllOfData;
|
|
31
|
+
export declare function SuccessObservabilityLogRecordListResponseAllOfDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessObservabilityLogRecordListResponseAllOfData;
|
|
32
|
+
export declare function SuccessObservabilityLogRecordListResponseAllOfDataToJSON(json: any): SuccessObservabilityLogRecordListResponseAllOfData;
|
|
33
|
+
export declare function SuccessObservabilityLogRecordListResponseAllOfDataToJSONTyped(value?: SuccessObservabilityLogRecordListResponseAllOfData | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=SuccessObservabilityLogRecordListResponseAllOfData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessObservabilityLogRecordListResponseAllOfData.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessObservabilityLogRecordListResponseAllOfData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,kDAAkD;IAC/D;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CACxC;AAED;;GAEG;AACH,wBAAgB,4DAA4D,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kDAAkD,CAEvJ;AAED,wBAAgB,0DAA0D,CAAC,IAAI,EAAE,GAAG,GAAG,kDAAkD,CAExI;AAED,wBAAgB,+DAA+D,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kDAAkD,CAQ3K;AAED,wBAAgB,wDAAwD,CAAC,IAAI,EAAE,GAAG,GAAG,kDAAkD,CAEtI;AAED,wBAAgB,6DAA6D,CAAC,KAAK,CAAC,EAAE,kDAAkD,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS1L"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ObservabilityLogRecordFromJSON, ObservabilityLogRecordToJSON, } from './ObservabilityLogRecord.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessObservabilityLogRecordListResponseAllOfData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessObservabilityLogRecordListResponseAllOfData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SuccessObservabilityLogRecordListResponseAllOfDataFromJSON(json) {
|
|
22
|
+
return SuccessObservabilityLogRecordListResponseAllOfDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SuccessObservabilityLogRecordListResponseAllOfDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'logs': json['logs'] == null ? undefined : (json['logs'].map(ObservabilityLogRecordFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function SuccessObservabilityLogRecordListResponseAllOfDataToJSON(json) {
|
|
33
|
+
return SuccessObservabilityLogRecordListResponseAllOfDataToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SuccessObservabilityLogRecordListResponseAllOfDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'logs': value['logs'] == null ? undefined : (value['logs'].map(ObservabilityLogRecordToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SuccessObservabilityTraceSpanListResponseAllOfData } from './SuccessObservabilityTraceSpanListResponseAllOfData.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessObservabilityTraceSpanListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessObservabilityTraceSpanListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessObservabilityTraceSpanListResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SuccessObservabilityTraceSpanListResponseAllOfData}
|
|
28
|
+
* @memberof SuccessObservabilityTraceSpanListResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SuccessObservabilityTraceSpanListResponseAllOfData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessObservabilityTraceSpanListResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessObservabilityTraceSpanListResponse(value: object): value is SuccessObservabilityTraceSpanListResponse;
|
|
36
|
+
export declare function SuccessObservabilityTraceSpanListResponseFromJSON(json: any): SuccessObservabilityTraceSpanListResponse;
|
|
37
|
+
export declare function SuccessObservabilityTraceSpanListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessObservabilityTraceSpanListResponse;
|
|
38
|
+
export declare function SuccessObservabilityTraceSpanListResponseToJSON(json: any): SuccessObservabilityTraceSpanListResponse;
|
|
39
|
+
export declare function SuccessObservabilityTraceSpanListResponseToJSONTyped(value?: SuccessObservabilityTraceSpanListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessObservabilityTraceSpanListResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessObservabilityTraceSpanListResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessObservabilityTraceSpanListResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kDAAkD,EAAE,MAAM,sDAAsD,CAAC;AAQ/H;;;;GAIG;AACH,MAAM,WAAW,yCAAyC;IACtD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,kDAAkD,CAAC;CAC7D;AAED;;GAEG;AACH,wBAAgB,mDAAmD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yCAAyC,CAGrI;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,GAAG,GAAG,yCAAyC,CAEtH;AAED,wBAAgB,sDAAsD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yCAAyC,CASzJ;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,GAAG,yCAAyC,CAEpH;AAED,wBAAgB,oDAAoD,CAAC,KAAK,CAAC,EAAE,yCAAyC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxK"}
|
|
@@ -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 { SuccessObservabilityTraceSpanListResponseAllOfDataFromJSON, SuccessObservabilityTraceSpanListResponseAllOfDataToJSON, } from './SuccessObservabilityTraceSpanListResponseAllOfData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessObservabilityTraceSpanListResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessObservabilityTraceSpanListResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessObservabilityTraceSpanListResponseFromJSON(json) {
|
|
24
|
+
return SuccessObservabilityTraceSpanListResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessObservabilityTraceSpanListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SuccessObservabilityTraceSpanListResponseAllOfDataFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessObservabilityTraceSpanListResponseToJSON(json) {
|
|
36
|
+
return SuccessObservabilityTraceSpanListResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessObservabilityTraceSpanListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SuccessObservabilityTraceSpanListResponseAllOfDataToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ObservabilityTraceSpan } from './ObservabilityTraceSpan.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessObservabilityTraceSpanListResponseAllOfData
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessObservabilityTraceSpanListResponseAllOfData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ObservabilityTraceSpan>}
|
|
22
|
+
* @memberof SuccessObservabilityTraceSpanListResponseAllOfData
|
|
23
|
+
*/
|
|
24
|
+
spans?: Array<ObservabilityTraceSpan>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SuccessObservabilityTraceSpanListResponseAllOfData interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSuccessObservabilityTraceSpanListResponseAllOfData(value: object): value is SuccessObservabilityTraceSpanListResponseAllOfData;
|
|
30
|
+
export declare function SuccessObservabilityTraceSpanListResponseAllOfDataFromJSON(json: any): SuccessObservabilityTraceSpanListResponseAllOfData;
|
|
31
|
+
export declare function SuccessObservabilityTraceSpanListResponseAllOfDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessObservabilityTraceSpanListResponseAllOfData;
|
|
32
|
+
export declare function SuccessObservabilityTraceSpanListResponseAllOfDataToJSON(json: any): SuccessObservabilityTraceSpanListResponseAllOfData;
|
|
33
|
+
export declare function SuccessObservabilityTraceSpanListResponseAllOfDataToJSONTyped(value?: SuccessObservabilityTraceSpanListResponseAllOfData | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=SuccessObservabilityTraceSpanListResponseAllOfData.d.ts.map
|