sandbox0 0.7.3 → 0.7.5
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/CredentialSourcesApi.d.ts +2 -0
- package/dist/apispec/src/apis/CredentialSourcesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/CredentialSourcesApi.js +2 -0
- 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/QuotasApi.d.ts +1 -24
- package/dist/apispec/src/apis/QuotasApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/QuotasApi.js +1 -72
- 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/TeamsApi.d.ts.map +1 -1
- 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/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/PauseSandboxResponse.d.ts +1 -1
- package/dist/apispec/src/models/Sandbox.d.ts +8 -1
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +3 -0
- package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts +2 -0
- package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts.map +1 -1
- 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/SandboxFunction.d.ts +6 -0
- package/dist/apispec/src/models/SandboxFunction.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxFunction.js +2 -0
- package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts +0 -2
- package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxLifecycleStatus.js +0 -2
- 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/SandboxResourceConfig.d.ts +33 -0
- package/dist/apispec/src/models/SandboxResourceConfig.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxResourceConfig.js +41 -0
- package/dist/apispec/src/models/SandboxSummary.d.ts +1 -1
- 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/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/TeamDeleteConflictDetails.d.ts +52 -0
- package/dist/apispec/src/models/TeamDeleteConflictDetails.d.ts.map +1 -0
- package/dist/apispec/src/models/TeamDeleteConflictDetails.js +52 -0
- package/dist/apispec/src/models/TeamDeleteConflictResponse.d.ts +40 -0
- package/dist/apispec/src/models/TeamDeleteConflictResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/TeamDeleteConflictResponse.js +48 -0
- package/dist/apispec/src/models/TeamDeleteConflictResponseError.d.ts +46 -0
- package/dist/apispec/src/models/TeamDeleteConflictResponseError.d.ts.map +1 -0
- package/dist/apispec/src/models/TeamDeleteConflictResponseError.js +50 -0
- package/dist/apispec/src/models/TeamDeleteResourceCount.d.ts +39 -0
- package/dist/apispec/src/models/TeamDeleteResourceCount.d.ts.map +1 -0
- package/dist/apispec/src/models/TeamDeleteResourceCount.js +47 -0
- package/dist/apispec/src/models/TeamQuota.d.ts +36 -1
- package/dist/apispec/src/models/TeamQuota.d.ts.map +1 -1
- package/dist/apispec/src/models/TeamQuota.js +29 -1
- package/dist/apispec/src/models/index.d.ts +22 -3
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +22 -3
- 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 +4 -2
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +20 -3
- 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,80 @@
|
|
|
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 { SandboxObservabilityLogStreamFromJSON, SandboxObservabilityLogStreamToJSON, } from './SandboxObservabilityLogStream.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxObservabilityLogEntry interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxObservabilityLogEntry(value) {
|
|
19
|
+
if (!('teamId' in value) || value['teamId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('regionId' in value) || value['regionId'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('clusterId' in value) || value['clusterId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('occurredAt' in value) || value['occurredAt'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('ingestedAt' in value) || value['ingestedAt'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('cursor' in value) || value['cursor'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function SandboxObservabilityLogEntryFromJSON(json) {
|
|
38
|
+
return SandboxObservabilityLogEntryFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SandboxObservabilityLogEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'teamId': json['team_id'],
|
|
46
|
+
'sandboxId': json['sandbox_id'],
|
|
47
|
+
'regionId': json['region_id'],
|
|
48
|
+
'clusterId': json['cluster_id'],
|
|
49
|
+
'contextId': json['context_id'] == null ? undefined : json['context_id'],
|
|
50
|
+
'processId': json['process_id'] == null ? undefined : json['process_id'],
|
|
51
|
+
'occurredAt': (new Date(json['occurred_at'])),
|
|
52
|
+
'ingestedAt': (new Date(json['ingested_at'])),
|
|
53
|
+
'stream': json['stream'] == null ? undefined : SandboxObservabilityLogStreamFromJSON(json['stream']),
|
|
54
|
+
'message': json['message'],
|
|
55
|
+
'cursor': json['cursor'],
|
|
56
|
+
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export function SandboxObservabilityLogEntryToJSON(json) {
|
|
60
|
+
return SandboxObservabilityLogEntryToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
export function SandboxObservabilityLogEntryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'team_id': value['teamId'],
|
|
68
|
+
'sandbox_id': value['sandboxId'],
|
|
69
|
+
'region_id': value['regionId'],
|
|
70
|
+
'cluster_id': value['clusterId'],
|
|
71
|
+
'context_id': value['contextId'],
|
|
72
|
+
'process_id': value['processId'],
|
|
73
|
+
'occurred_at': value['occurredAt'].toISOString(),
|
|
74
|
+
'ingested_at': value['ingestedAt'].toISOString(),
|
|
75
|
+
'stream': SandboxObservabilityLogStreamToJSON(value['stream']),
|
|
76
|
+
'message': value['message'],
|
|
77
|
+
'cursor': value['cursor'],
|
|
78
|
+
'attributes': value['attributes'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const SandboxObservabilityLogStream: {
|
|
17
|
+
readonly Stdout: "stdout";
|
|
18
|
+
readonly Stderr: "stderr";
|
|
19
|
+
readonly Pty: "pty";
|
|
20
|
+
};
|
|
21
|
+
export type SandboxObservabilityLogStream = typeof SandboxObservabilityLogStream[keyof typeof SandboxObservabilityLogStream];
|
|
22
|
+
export declare function instanceOfSandboxObservabilityLogStream(value: any): boolean;
|
|
23
|
+
export declare function SandboxObservabilityLogStreamFromJSON(json: any): SandboxObservabilityLogStream;
|
|
24
|
+
export declare function SandboxObservabilityLogStreamFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityLogStream;
|
|
25
|
+
export declare function SandboxObservabilityLogStreamToJSON(value?: SandboxObservabilityLogStream | null): any;
|
|
26
|
+
export declare function SandboxObservabilityLogStreamToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxObservabilityLogStream;
|
|
27
|
+
//# sourceMappingURL=SandboxObservabilityLogStream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxObservabilityLogStream.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityLogStream.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3E;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEjI;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,GAAG,GAAG,CAErG;AAED,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEhI"}
|
|
@@ -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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxObservabilityLogStream = {
|
|
19
|
+
Stdout: 'stdout',
|
|
20
|
+
Stderr: 'stderr',
|
|
21
|
+
Pty: 'pty'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfSandboxObservabilityLogStream(value) {
|
|
24
|
+
for (const key in SandboxObservabilityLogStream) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(SandboxObservabilityLogStream, key)) {
|
|
26
|
+
if (SandboxObservabilityLogStream[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function SandboxObservabilityLogStreamFromJSON(json) {
|
|
34
|
+
return SandboxObservabilityLogStreamFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SandboxObservabilityLogStreamFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function SandboxObservabilityLogStreamToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function SandboxObservabilityLogStreamToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { SandboxObservabilityLogEntry } from './SandboxObservabilityLogEntry.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxObservabilityLogsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxObservabilityLogsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SandboxObservabilityLogEntry>}
|
|
22
|
+
* @memberof SandboxObservabilityLogsResponse
|
|
23
|
+
*/
|
|
24
|
+
logs: Array<SandboxObservabilityLogEntry>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SandboxObservabilityLogsResponse
|
|
29
|
+
*/
|
|
30
|
+
nextCursor?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SandboxObservabilityLogsResponse
|
|
35
|
+
*/
|
|
36
|
+
watermark?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SandboxObservabilityLogsResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSandboxObservabilityLogsResponse(value: object): value is SandboxObservabilityLogsResponse;
|
|
42
|
+
export declare function SandboxObservabilityLogsResponseFromJSON(json: any): SandboxObservabilityLogsResponse;
|
|
43
|
+
export declare function SandboxObservabilityLogsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityLogsResponse;
|
|
44
|
+
export declare function SandboxObservabilityLogsResponseToJSON(json: any): SandboxObservabilityLogsResponse;
|
|
45
|
+
export declare function SandboxObservabilityLogsResponseToJSONTyped(value?: SandboxObservabilityLogsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=SandboxObservabilityLogsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxObservabilityLogsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityLogsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAQnF;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAC1C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAGnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAUvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWtJ"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { SandboxObservabilityLogEntryFromJSON, SandboxObservabilityLogEntryToJSON, } from './SandboxObservabilityLogEntry.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxObservabilityLogsResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxObservabilityLogsResponse(value) {
|
|
19
|
+
if (!('logs' in value) || value['logs'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SandboxObservabilityLogsResponseFromJSON(json) {
|
|
24
|
+
return SandboxObservabilityLogsResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SandboxObservabilityLogsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'logs': (json['logs'].map(SandboxObservabilityLogEntryFromJSON)),
|
|
32
|
+
'nextCursor': json['next_cursor'] == null ? undefined : json['next_cursor'],
|
|
33
|
+
'watermark': json['watermark'] == null ? undefined : json['watermark'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function SandboxObservabilityLogsResponseToJSON(json) {
|
|
37
|
+
return SandboxObservabilityLogsResponseToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SandboxObservabilityLogsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'logs': (value['logs'].map(SandboxObservabilityLogEntryToJSON)),
|
|
45
|
+
'next_cursor': value['nextCursor'],
|
|
46
|
+
'watermark': value['watermark'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 SandboxObservabilityMetricSample
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxObservabilityMetricSample {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxObservabilityMetricSample
|
|
22
|
+
*/
|
|
23
|
+
teamId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxObservabilityMetricSample
|
|
28
|
+
*/
|
|
29
|
+
sandboxId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxObservabilityMetricSample
|
|
34
|
+
*/
|
|
35
|
+
regionId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SandboxObservabilityMetricSample
|
|
40
|
+
*/
|
|
41
|
+
clusterId: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SandboxObservabilityMetricSample
|
|
46
|
+
*/
|
|
47
|
+
contextId?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof SandboxObservabilityMetricSample
|
|
52
|
+
*/
|
|
53
|
+
occurredAt: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof SandboxObservabilityMetricSample
|
|
58
|
+
*/
|
|
59
|
+
ingestedAt: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SandboxObservabilityMetricSample
|
|
64
|
+
*/
|
|
65
|
+
name: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SandboxObservabilityMetricSample
|
|
70
|
+
*/
|
|
71
|
+
unit?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof SandboxObservabilityMetricSample
|
|
76
|
+
*/
|
|
77
|
+
value: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SandboxObservabilityMetricSample
|
|
82
|
+
*/
|
|
83
|
+
cursor: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {{ [key: string]: any; }}
|
|
87
|
+
* @memberof SandboxObservabilityMetricSample
|
|
88
|
+
*/
|
|
89
|
+
attributes?: {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Check if a given object implements the SandboxObservabilityMetricSample interface.
|
|
95
|
+
*/
|
|
96
|
+
export declare function instanceOfSandboxObservabilityMetricSample(value: object): value is SandboxObservabilityMetricSample;
|
|
97
|
+
export declare function SandboxObservabilityMetricSampleFromJSON(json: any): SandboxObservabilityMetricSample;
|
|
98
|
+
export declare function SandboxObservabilityMetricSampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityMetricSample;
|
|
99
|
+
export declare function SandboxObservabilityMetricSampleToJSON(json: any): SandboxObservabilityMetricSample;
|
|
100
|
+
export declare function SandboxObservabilityMetricSampleToJSONTyped(value?: SandboxObservabilityMetricSample | null, ignoreDiscriminator?: boolean): any;
|
|
101
|
+
//# sourceMappingURL=SandboxObservabilityMetricSample.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxObservabilityMetricSample.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityMetricSample.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAWnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAmBvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoBtJ"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SandboxObservabilityMetricSample interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxObservabilityMetricSample(value) {
|
|
18
|
+
if (!('teamId' in value) || value['teamId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('regionId' in value) || value['regionId'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('clusterId' in value) || value['clusterId'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('occurredAt' in value) || value['occurredAt'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('ingestedAt' in value) || value['ingestedAt'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('cursor' in value) || value['cursor'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
export function SandboxObservabilityMetricSampleFromJSON(json) {
|
|
39
|
+
return SandboxObservabilityMetricSampleFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function SandboxObservabilityMetricSampleFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'teamId': json['team_id'],
|
|
47
|
+
'sandboxId': json['sandbox_id'],
|
|
48
|
+
'regionId': json['region_id'],
|
|
49
|
+
'clusterId': json['cluster_id'],
|
|
50
|
+
'contextId': json['context_id'] == null ? undefined : json['context_id'],
|
|
51
|
+
'occurredAt': (new Date(json['occurred_at'])),
|
|
52
|
+
'ingestedAt': (new Date(json['ingested_at'])),
|
|
53
|
+
'name': json['name'],
|
|
54
|
+
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
55
|
+
'value': json['value'],
|
|
56
|
+
'cursor': json['cursor'],
|
|
57
|
+
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function SandboxObservabilityMetricSampleToJSON(json) {
|
|
61
|
+
return SandboxObservabilityMetricSampleToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function SandboxObservabilityMetricSampleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'team_id': value['teamId'],
|
|
69
|
+
'sandbox_id': value['sandboxId'],
|
|
70
|
+
'region_id': value['regionId'],
|
|
71
|
+
'cluster_id': value['clusterId'],
|
|
72
|
+
'context_id': value['contextId'],
|
|
73
|
+
'occurred_at': value['occurredAt'].toISOString(),
|
|
74
|
+
'ingested_at': value['ingestedAt'].toISOString(),
|
|
75
|
+
'name': value['name'],
|
|
76
|
+
'unit': value['unit'],
|
|
77
|
+
'value': value['value'],
|
|
78
|
+
'cursor': value['cursor'],
|
|
79
|
+
'attributes': value['attributes'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { SandboxObservabilityMetricSample } from './SandboxObservabilityMetricSample.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxObservabilityMetricsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxObservabilityMetricsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SandboxObservabilityMetricSample>}
|
|
22
|
+
* @memberof SandboxObservabilityMetricsResponse
|
|
23
|
+
*/
|
|
24
|
+
samples: Array<SandboxObservabilityMetricSample>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SandboxObservabilityMetricsResponse
|
|
29
|
+
*/
|
|
30
|
+
nextCursor?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SandboxObservabilityMetricsResponse
|
|
35
|
+
*/
|
|
36
|
+
watermark?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SandboxObservabilityMetricsResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSandboxObservabilityMetricsResponse(value: object): value is SandboxObservabilityMetricsResponse;
|
|
42
|
+
export declare function SandboxObservabilityMetricsResponseFromJSON(json: any): SandboxObservabilityMetricsResponse;
|
|
43
|
+
export declare function SandboxObservabilityMetricsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityMetricsResponse;
|
|
44
|
+
export declare function SandboxObservabilityMetricsResponseToJSON(json: any): SandboxObservabilityMetricsResponse;
|
|
45
|
+
export declare function SandboxObservabilityMetricsResponseToJSONTyped(value?: SandboxObservabilityMetricsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=SandboxObservabilityMetricsResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxObservabilityMetricsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityMetricsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACjD;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mCAAmC,CAGzH;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAU7I;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAExG;AAED,wBAAgB,8CAA8C,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5J"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { SandboxObservabilityMetricSampleFromJSON, SandboxObservabilityMetricSampleToJSON, } from './SandboxObservabilityMetricSample.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxObservabilityMetricsResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxObservabilityMetricsResponse(value) {
|
|
19
|
+
if (!('samples' in value) || value['samples'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SandboxObservabilityMetricsResponseFromJSON(json) {
|
|
24
|
+
return SandboxObservabilityMetricsResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SandboxObservabilityMetricsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'samples': (json['samples'].map(SandboxObservabilityMetricSampleFromJSON)),
|
|
32
|
+
'nextCursor': json['next_cursor'] == null ? undefined : json['next_cursor'],
|
|
33
|
+
'watermark': json['watermark'] == null ? undefined : json['watermark'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function SandboxObservabilityMetricsResponseToJSON(json) {
|
|
37
|
+
return SandboxObservabilityMetricsResponseToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SandboxObservabilityMetricsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'samples': (value['samples'].map(SandboxObservabilityMetricSampleToJSON)),
|
|
45
|
+
'next_cursor': value['nextCursor'],
|
|
46
|
+
'watermark': value['watermark'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const SandboxObservabilityOutcome: {
|
|
17
|
+
readonly Completed: "completed";
|
|
18
|
+
readonly Denied: "denied";
|
|
19
|
+
readonly Error: "error";
|
|
20
|
+
readonly Succeeded: "succeeded";
|
|
21
|
+
readonly Failed: "failed";
|
|
22
|
+
};
|
|
23
|
+
export type SandboxObservabilityOutcome = typeof SandboxObservabilityOutcome[keyof typeof SandboxObservabilityOutcome];
|
|
24
|
+
export declare function instanceOfSandboxObservabilityOutcome(value: any): boolean;
|
|
25
|
+
export declare function SandboxObservabilityOutcomeFromJSON(json: any): SandboxObservabilityOutcome;
|
|
26
|
+
export declare function SandboxObservabilityOutcomeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityOutcome;
|
|
27
|
+
export declare function SandboxObservabilityOutcomeToJSON(value?: SandboxObservabilityOutcome | null): any;
|
|
28
|
+
export declare function SandboxObservabilityOutcomeToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxObservabilityOutcome;
|
|
29
|
+
//# sourceMappingURL=SandboxObservabilityOutcome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxObservabilityOutcome.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityOutcome.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;;CAM9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAGvH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASzE;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAE7H;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,GAAG,GAAG,CAEjG;AAED,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAE5H"}
|
|
@@ -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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxObservabilityOutcome = {
|
|
19
|
+
Completed: 'completed',
|
|
20
|
+
Denied: 'denied',
|
|
21
|
+
Error: 'error',
|
|
22
|
+
Succeeded: 'succeeded',
|
|
23
|
+
Failed: 'failed'
|
|
24
|
+
};
|
|
25
|
+
export function instanceOfSandboxObservabilityOutcome(value) {
|
|
26
|
+
for (const key in SandboxObservabilityOutcome) {
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(SandboxObservabilityOutcome, key)) {
|
|
28
|
+
if (SandboxObservabilityOutcome[key] === value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
export function SandboxObservabilityOutcomeFromJSON(json) {
|
|
36
|
+
return SandboxObservabilityOutcomeFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SandboxObservabilityOutcomeFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
export function SandboxObservabilityOutcomeToJSON(value) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
export function SandboxObservabilityOutcomeToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|