sandbox0 0.7.4 → 0.7.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/AuditApi.d.ts +40 -0
- package/dist/apispec/src/apis/AuditApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/AuditApi.js +79 -0
- package/dist/apispec/src/apis/ContextsApi.d.ts +1 -13
- package/dist/apispec/src/apis/ContextsApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/ContextsApi.js +1 -38
- package/dist/apispec/src/apis/ObservabilityApi.d.ts +81 -0
- package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/ObservabilityApi.js +194 -0
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts +2 -2
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxRootfsApi.js +2 -2
- package/dist/apispec/src/apis/SandboxesApi.d.ts +0 -20
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +0 -61
- package/dist/apispec/src/apis/index.d.ts +2 -0
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +2 -0
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts +14 -0
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.js +6 -0
- package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts +84 -0
- package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts.map +1 -0
- package/dist/apispec/src/models/CreateSandboxVolumeS3Config.js +65 -0
- package/dist/apispec/src/models/ForkSandboxConfig.d.ts +39 -0
- package/dist/apispec/src/models/ForkSandboxConfig.d.ts.map +1 -0
- package/dist/apispec/src/models/ForkSandboxConfig.js +43 -0
- package/dist/apispec/src/models/ForkSandboxRequest.d.ts +35 -0
- package/dist/apispec/src/models/ForkSandboxRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ForkSandboxRequest.js +42 -0
- package/dist/apispec/src/models/ObservabilityEventSource.d.ts +27 -0
- package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -0
- package/dist/apispec/src/models/ObservabilityEventSource.js +44 -0
- package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts +104 -0
- package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityEvent.js +86 -0
- package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts +27 -0
- package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityEventType.js +44 -0
- package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts +46 -0
- package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityEventsResponse.js +48 -0
- package/dist/apispec/src/models/SandboxObservabilityLogEntry.d.ts +102 -0
- package/dist/apispec/src/models/SandboxObservabilityLogEntry.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityLogEntry.js +80 -0
- package/dist/apispec/src/models/SandboxObservabilityLogStream.d.ts +27 -0
- package/dist/apispec/src/models/SandboxObservabilityLogStream.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityLogStream.js +44 -0
- package/dist/apispec/src/models/SandboxObservabilityLogsResponse.d.ts +46 -0
- package/dist/apispec/src/models/SandboxObservabilityLogsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityLogsResponse.js +48 -0
- package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts +101 -0
- package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityMetricSample.js +81 -0
- package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts +46 -0
- package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.js +48 -0
- package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts +29 -0
- package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityOutcome.js +46 -0
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts +76 -0
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityWatchLine.js +65 -0
- package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts +25 -0
- package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxObservabilityWatchLineData.js +58 -0
- package/dist/apispec/src/models/SandboxVolume.d.ts +14 -0
- package/dist/apispec/src/models/SandboxVolume.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxVolume.js +8 -0
- package/dist/apispec/src/models/SandboxVolumeS3Config.d.ts +66 -0
- package/dist/apispec/src/models/SandboxVolumeS3Config.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxVolumeS3Config.js +61 -0
- package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.js +46 -0
- package/dist/apispec/src/models/VolumeBackend.d.ts +26 -0
- package/dist/apispec/src/models/VolumeBackend.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeBackend.js +43 -0
- package/dist/apispec/src/models/index.d.ts +20 -2
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +20 -2
- package/dist/client.d.ts +12 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +132 -53
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/models.d.ts +38 -19
- package/dist/models.d.ts.map +1 -1
- package/dist/resources/sandboxes.d.ts +2 -2
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +1 -1
- package/dist/sandbox_contexts.d.ts +1 -2
- package/dist/sandbox_contexts.d.ts.map +1 -1
- package/dist/sandbox_contexts.js +0 -8
- package/dist/sandbox_observability.d.ts +14 -0
- package/dist/sandbox_observability.d.ts.map +1 -0
- package/dist/sandbox_observability.js +28 -0
- package/package.json +1 -1
- package/dist/sandbox_logs.d.ts +0 -8
- package/dist/sandbox_logs.d.ts.map +0 -1
- package/dist/sandbox_logs.js +0 -10
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { instanceOfSandboxObservabilityEvent, SandboxObservabilityEventFromJSONTyped, SandboxObservabilityEventToJSON, } from './SandboxObservabilityEvent.js';
|
|
15
|
+
import { instanceOfSandboxObservabilityLogEntry, SandboxObservabilityLogEntryFromJSONTyped, SandboxObservabilityLogEntryToJSON, } from './SandboxObservabilityLogEntry.js';
|
|
16
|
+
import { instanceOfSandboxObservabilityMetricSample, SandboxObservabilityMetricSampleFromJSONTyped, SandboxObservabilityMetricSampleToJSON, } from './SandboxObservabilityMetricSample.js';
|
|
17
|
+
export function SandboxObservabilityWatchLineDataFromJSON(json) {
|
|
18
|
+
return SandboxObservabilityWatchLineDataFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
export function SandboxObservabilityWatchLineDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
21
|
+
if (json == null) {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
if (typeof json !== 'object') {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
if (instanceOfSandboxObservabilityEvent(json)) {
|
|
28
|
+
return SandboxObservabilityEventFromJSONTyped(json, true);
|
|
29
|
+
}
|
|
30
|
+
if (instanceOfSandboxObservabilityLogEntry(json)) {
|
|
31
|
+
return SandboxObservabilityLogEntryFromJSONTyped(json, true);
|
|
32
|
+
}
|
|
33
|
+
if (instanceOfSandboxObservabilityMetricSample(json)) {
|
|
34
|
+
return SandboxObservabilityMetricSampleFromJSONTyped(json, true);
|
|
35
|
+
}
|
|
36
|
+
return {};
|
|
37
|
+
}
|
|
38
|
+
export function SandboxObservabilityWatchLineDataToJSON(json) {
|
|
39
|
+
return SandboxObservabilityWatchLineDataToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function SandboxObservabilityWatchLineDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
if (typeof value !== 'object') {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
if (instanceOfSandboxObservabilityEvent(value)) {
|
|
49
|
+
return SandboxObservabilityEventToJSON(value);
|
|
50
|
+
}
|
|
51
|
+
if (instanceOfSandboxObservabilityLogEntry(value)) {
|
|
52
|
+
return SandboxObservabilityLogEntryToJSON(value);
|
|
53
|
+
}
|
|
54
|
+
if (instanceOfSandboxObservabilityMetricSample(value)) {
|
|
55
|
+
return SandboxObservabilityMetricSampleToJSON(value);
|
|
56
|
+
}
|
|
57
|
+
return {};
|
|
58
|
+
}
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { VolumeAccessMode } from './VolumeAccessMode.js';
|
|
13
|
+
import type { VolumeBackend } from './VolumeBackend.js';
|
|
14
|
+
import type { SandboxVolumeS3Config } from './SandboxVolumeS3Config.js';
|
|
13
15
|
/**
|
|
14
16
|
*
|
|
15
17
|
* @export
|
|
@@ -58,6 +60,18 @@ export interface SandboxVolume {
|
|
|
58
60
|
* @memberof SandboxVolume
|
|
59
61
|
*/
|
|
60
62
|
accessMode?: VolumeAccessMode;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {VolumeBackend}
|
|
66
|
+
* @memberof SandboxVolume
|
|
67
|
+
*/
|
|
68
|
+
backend: VolumeBackend;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {SandboxVolumeS3Config}
|
|
72
|
+
* @memberof SandboxVolume
|
|
73
|
+
*/
|
|
74
|
+
s3?: SandboxVolumeS3Config;
|
|
61
75
|
/**
|
|
62
76
|
*
|
|
63
77
|
* @type {Date}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxVolume.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxVolume.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"SandboxVolume.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxVolume.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAO3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;;;OAIG;IACH,OAAO,EAAE,aAAa,CAAC;IACvB;;;;OAIG;IACH,EAAE,CAAC,EAAE,qBAAqB,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAID;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAQ7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAkBjG;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,CAmBhH"}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { VolumeAccessModeFromJSON, VolumeAccessModeToJSON, } from './VolumeAccessMode.js';
|
|
15
|
+
import { VolumeBackendFromJSON, VolumeBackendToJSON, } from './VolumeBackend.js';
|
|
16
|
+
import { SandboxVolumeS3ConfigFromJSON, SandboxVolumeS3ConfigToJSON, } from './SandboxVolumeS3Config.js';
|
|
15
17
|
/**
|
|
16
18
|
* Check if a given object implements the SandboxVolume interface.
|
|
17
19
|
*/
|
|
@@ -22,6 +24,8 @@ export function instanceOfSandboxVolume(value) {
|
|
|
22
24
|
return false;
|
|
23
25
|
if (!('userId' in value) || value['userId'] === undefined)
|
|
24
26
|
return false;
|
|
27
|
+
if (!('backend' in value) || value['backend'] === undefined)
|
|
28
|
+
return false;
|
|
25
29
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
26
30
|
return false;
|
|
27
31
|
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
@@ -43,6 +47,8 @@ export function SandboxVolumeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
47
|
'defaultPosixUid': json['default_posix_uid'] == null ? undefined : json['default_posix_uid'],
|
|
44
48
|
'defaultPosixGid': json['default_posix_gid'] == null ? undefined : json['default_posix_gid'],
|
|
45
49
|
'accessMode': json['access_mode'] == null ? undefined : VolumeAccessModeFromJSON(json['access_mode']),
|
|
50
|
+
'backend': VolumeBackendFromJSON(json['backend']),
|
|
51
|
+
's3': json['s3'] == null ? undefined : SandboxVolumeS3ConfigFromJSON(json['s3']),
|
|
46
52
|
'createdAt': (new Date(json['created_at'])),
|
|
47
53
|
'updatedAt': (new Date(json['updated_at'])),
|
|
48
54
|
};
|
|
@@ -62,6 +68,8 @@ export function SandboxVolumeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
68
|
'default_posix_uid': value['defaultPosixUid'],
|
|
63
69
|
'default_posix_gid': value['defaultPosixGid'],
|
|
64
70
|
'access_mode': VolumeAccessModeToJSON(value['accessMode']),
|
|
71
|
+
'backend': VolumeBackendToJSON(value['backend']),
|
|
72
|
+
's3': SandboxVolumeS3ConfigToJSON(value['s3']),
|
|
65
73
|
'created_at': value['createdAt'].toISOString(),
|
|
66
74
|
'updated_at': value['updatedAt'].toISOString(),
|
|
67
75
|
};
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SandboxVolumeS3Config
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxVolumeS3Config {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxVolumeS3Config
|
|
22
|
+
*/
|
|
23
|
+
provider: SandboxVolumeS3ConfigProviderEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxVolumeS3Config
|
|
28
|
+
*/
|
|
29
|
+
bucket: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxVolumeS3Config
|
|
34
|
+
*/
|
|
35
|
+
prefix?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SandboxVolumeS3Config
|
|
40
|
+
*/
|
|
41
|
+
region?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SandboxVolumeS3Config
|
|
46
|
+
*/
|
|
47
|
+
endpointUrl?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const SandboxVolumeS3ConfigProviderEnum: {
|
|
53
|
+
readonly Aws: "aws";
|
|
54
|
+
readonly Ali: "ali";
|
|
55
|
+
readonly R2: "r2";
|
|
56
|
+
};
|
|
57
|
+
export type SandboxVolumeS3ConfigProviderEnum = typeof SandboxVolumeS3ConfigProviderEnum[keyof typeof SandboxVolumeS3ConfigProviderEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the SandboxVolumeS3Config interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfSandboxVolumeS3Config(value: object): value is SandboxVolumeS3Config;
|
|
62
|
+
export declare function SandboxVolumeS3ConfigFromJSON(json: any): SandboxVolumeS3Config;
|
|
63
|
+
export declare function SandboxVolumeS3ConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxVolumeS3Config;
|
|
64
|
+
export declare function SandboxVolumeS3ConfigToJSON(json: any): SandboxVolumeS3Config;
|
|
65
|
+
export declare function SandboxVolumeS3ConfigToJSONTyped(value?: SandboxVolumeS3Config | null, ignoreDiscriminator?: boolean): any;
|
|
66
|
+
//# sourceMappingURL=SandboxVolumeS3Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxVolumeS3Config.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxVolumeS3Config.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,QAAQ,EAAE,iCAAiC,CAAC;IAC5C;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAGD;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAYjH;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,CAahI"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 SandboxVolumeS3ConfigProviderEnum = {
|
|
18
|
+
Aws: 'aws',
|
|
19
|
+
Ali: 'ali',
|
|
20
|
+
R2: 'r2'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SandboxVolumeS3Config interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfSandboxVolumeS3Config(value) {
|
|
26
|
+
if (!('provider' in value) || value['provider'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('bucket' in value) || value['bucket'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function SandboxVolumeS3ConfigFromJSON(json) {
|
|
33
|
+
return SandboxVolumeS3ConfigFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SandboxVolumeS3ConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'provider': json['provider'],
|
|
41
|
+
'bucket': json['bucket'],
|
|
42
|
+
'prefix': json['prefix'] == null ? undefined : json['prefix'],
|
|
43
|
+
'region': json['region'] == null ? undefined : json['region'],
|
|
44
|
+
'endpointUrl': json['endpoint_url'] == null ? undefined : json['endpoint_url'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function SandboxVolumeS3ConfigToJSON(json) {
|
|
48
|
+
return SandboxVolumeS3ConfigToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function SandboxVolumeS3ConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'provider': value['provider'],
|
|
56
|
+
'bucket': value['bucket'],
|
|
57
|
+
'prefix': value['prefix'],
|
|
58
|
+
'region': value['region'],
|
|
59
|
+
'endpoint_url': value['endpointUrl'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -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 { SandboxObservabilityEventsResponse } from './SandboxObservabilityEventsResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSandboxObservabilityEventsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSandboxObservabilityEventsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessSandboxObservabilityEventsResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SandboxObservabilityEventsResponse}
|
|
28
|
+
* @memberof SuccessSandboxObservabilityEventsResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SandboxObservabilityEventsResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessSandboxObservabilityEventsResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessSandboxObservabilityEventsResponse(value: object): value is SuccessSandboxObservabilityEventsResponse;
|
|
36
|
+
export declare function SuccessSandboxObservabilityEventsResponseFromJSON(json: any): SuccessSandboxObservabilityEventsResponse;
|
|
37
|
+
export declare function SuccessSandboxObservabilityEventsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxObservabilityEventsResponse;
|
|
38
|
+
export declare function SuccessSandboxObservabilityEventsResponseToJSON(json: any): SuccessSandboxObservabilityEventsResponse;
|
|
39
|
+
export declare function SuccessSandboxObservabilityEventsResponseToJSONTyped(value?: SuccessSandboxObservabilityEventsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessSandboxObservabilityEventsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSandboxObservabilityEventsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxObservabilityEventsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAQ/F;;;;GAIG;AACH,MAAM,WAAW,yCAAyC;IACtD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,kCAAkC,CAAC;CAC7C;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 { SandboxObservabilityEventsResponseFromJSON, SandboxObservabilityEventsResponseToJSON, } from './SandboxObservabilityEventsResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessSandboxObservabilityEventsResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessSandboxObservabilityEventsResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessSandboxObservabilityEventsResponseFromJSON(json) {
|
|
24
|
+
return SuccessSandboxObservabilityEventsResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessSandboxObservabilityEventsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SandboxObservabilityEventsResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessSandboxObservabilityEventsResponseToJSON(json) {
|
|
36
|
+
return SuccessSandboxObservabilityEventsResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessSandboxObservabilityEventsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SandboxObservabilityEventsResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -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 { SandboxObservabilityLogsResponse } from './SandboxObservabilityLogsResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSandboxObservabilityLogsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSandboxObservabilityLogsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessSandboxObservabilityLogsResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SandboxObservabilityLogsResponse}
|
|
28
|
+
* @memberof SuccessSandboxObservabilityLogsResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SandboxObservabilityLogsResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessSandboxObservabilityLogsResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessSandboxObservabilityLogsResponse(value: object): value is SuccessSandboxObservabilityLogsResponse;
|
|
36
|
+
export declare function SuccessSandboxObservabilityLogsResponseFromJSON(json: any): SuccessSandboxObservabilityLogsResponse;
|
|
37
|
+
export declare function SuccessSandboxObservabilityLogsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxObservabilityLogsResponse;
|
|
38
|
+
export declare function SuccessSandboxObservabilityLogsResponseToJSON(json: any): SuccessSandboxObservabilityLogsResponse;
|
|
39
|
+
export declare function SuccessSandboxObservabilityLogsResponseToJSONTyped(value?: SuccessSandboxObservabilityLogsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessSandboxObservabilityLogsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSandboxObservabilityLogsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxObservabilityLogsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,WAAW,uCAAuC;IACpD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,gCAAgC,CAAC;CAC3C;AAED;;GAEG;AACH,wBAAgB,iDAAiD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uCAAuC,CAGjI;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,GAAG,uCAAuC,CAElH;AAED,wBAAgB,oDAAoD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uCAAuC,CASrJ;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,uCAAuC,CAEhH;AAED,wBAAgB,kDAAkD,CAAC,KAAK,CAAC,EAAE,uCAAuC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpK"}
|
|
@@ -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 { SandboxObservabilityLogsResponseFromJSON, SandboxObservabilityLogsResponseToJSON, } from './SandboxObservabilityLogsResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessSandboxObservabilityLogsResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessSandboxObservabilityLogsResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessSandboxObservabilityLogsResponseFromJSON(json) {
|
|
24
|
+
return SuccessSandboxObservabilityLogsResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessSandboxObservabilityLogsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SandboxObservabilityLogsResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessSandboxObservabilityLogsResponseToJSON(json) {
|
|
36
|
+
return SuccessSandboxObservabilityLogsResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessSandboxObservabilityLogsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SandboxObservabilityLogsResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -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 { SandboxObservabilityMetricsResponse } from './SandboxObservabilityMetricsResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSandboxObservabilityMetricsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSandboxObservabilityMetricsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessSandboxObservabilityMetricsResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SandboxObservabilityMetricsResponse}
|
|
28
|
+
* @memberof SuccessSandboxObservabilityMetricsResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SandboxObservabilityMetricsResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessSandboxObservabilityMetricsResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessSandboxObservabilityMetricsResponse(value: object): value is SuccessSandboxObservabilityMetricsResponse;
|
|
36
|
+
export declare function SuccessSandboxObservabilityMetricsResponseFromJSON(json: any): SuccessSandboxObservabilityMetricsResponse;
|
|
37
|
+
export declare function SuccessSandboxObservabilityMetricsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxObservabilityMetricsResponse;
|
|
38
|
+
export declare function SuccessSandboxObservabilityMetricsResponseToJSON(json: any): SuccessSandboxObservabilityMetricsResponse;
|
|
39
|
+
export declare function SuccessSandboxObservabilityMetricsResponseToJSONTyped(value?: SuccessSandboxObservabilityMetricsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessSandboxObservabilityMetricsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSandboxObservabilityMetricsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAQjG;;;;GAIG;AACH,MAAM,WAAW,0CAA0C;IACvD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,mCAAmC,CAAC;CAC9C;AAED;;GAEG;AACH,wBAAgB,oDAAoD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0CAA0C,CAGvI;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAExH;AAED,wBAAgB,uDAAuD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0CAA0C,CAS3J;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAEtH;AAED,wBAAgB,qDAAqD,CAAC,KAAK,CAAC,EAAE,0CAA0C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1K"}
|
|
@@ -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 { SandboxObservabilityMetricsResponseFromJSON, SandboxObservabilityMetricsResponseToJSON, } from './SandboxObservabilityMetricsResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessSandboxObservabilityMetricsResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessSandboxObservabilityMetricsResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessSandboxObservabilityMetricsResponseFromJSON(json) {
|
|
24
|
+
return SuccessSandboxObservabilityMetricsResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessSandboxObservabilityMetricsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SandboxObservabilityMetricsResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessSandboxObservabilityMetricsResponseToJSON(json) {
|
|
36
|
+
return SuccessSandboxObservabilityMetricsResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessSandboxObservabilityMetricsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SandboxObservabilityMetricsResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* Storage backend for a SandboxVolume. s0fs is the default durable Sandbox0 volume backend. s3 mounts an existing S3-compatible prefix through the volume portal and supports mount-s3-like object projection.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const VolumeBackend: {
|
|
17
|
+
readonly S0fs: "s0fs";
|
|
18
|
+
readonly S3: "s3";
|
|
19
|
+
};
|
|
20
|
+
export type VolumeBackend = typeof VolumeBackend[keyof typeof VolumeBackend];
|
|
21
|
+
export declare function instanceOfVolumeBackend(value: any): boolean;
|
|
22
|
+
export declare function VolumeBackendFromJSON(json: any): VolumeBackend;
|
|
23
|
+
export declare function VolumeBackendFromJSONTyped(json: any, ignoreDiscriminator: boolean): VolumeBackend;
|
|
24
|
+
export declare function VolumeBackendToJSON(value?: VolumeBackend | null): any;
|
|
25
|
+
export declare function VolumeBackendToJSONTyped(value: any, ignoreDiscriminator: boolean): VolumeBackend;
|
|
26
|
+
//# sourceMappingURL=VolumeBackend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VolumeBackend.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/VolumeBackend.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAG7E,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3D;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,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,GAAG,GAAG,CAErE;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAEhG"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Storage backend for a SandboxVolume. s0fs is the default durable Sandbox0 volume backend. s3 mounts an existing S3-compatible prefix through the volume portal and supports mount-s3-like object projection.
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const VolumeBackend = {
|
|
19
|
+
S0fs: 's0fs',
|
|
20
|
+
S3: 's3'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfVolumeBackend(value) {
|
|
23
|
+
for (const key in VolumeBackend) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(VolumeBackend, key)) {
|
|
25
|
+
if (VolumeBackend[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function VolumeBackendFromJSON(json) {
|
|
33
|
+
return VolumeBackendFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function VolumeBackendFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function VolumeBackendToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function VolumeBackendToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|