sandbox0 0.10.4 → 0.10.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/README.md +134 -0
- package/dist/apispec/src/apis/FilesApi.d.ts +14 -10
- package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/FilesApi.js +14 -10
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts +96 -5
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxRootfsApi.js +291 -5
- package/dist/apispec/src/apis/SandboxesApi.d.ts +345 -6
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +1017 -7
- package/dist/apispec/src/apis/SessionsApi.d.ts +51 -1
- package/dist/apispec/src/apis/SessionsApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SessionsApi.js +159 -1
- package/dist/apispec/src/models/CaptureSandboxRootFSSnapshotRequest.d.ts +51 -0
- package/dist/apispec/src/models/CaptureSandboxRootFSSnapshotRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/CaptureSandboxRootFSSnapshotRequest.js +49 -0
- package/dist/apispec/src/models/ConditionalExecutionSessionRequest.d.ts +46 -0
- package/dist/apispec/src/models/ConditionalExecutionSessionRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ConditionalExecutionSessionRequest.js +52 -0
- package/dist/apispec/src/models/ForkSandboxConfig.d.ts +6 -0
- package/dist/apispec/src/models/ForkSandboxConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/ForkSandboxConfig.js +2 -0
- package/dist/apispec/src/models/ForkSandboxRequest.d.ts +6 -0
- package/dist/apispec/src/models/ForkSandboxRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/ForkSandboxRequest.js +2 -0
- package/dist/apispec/src/models/ManagedFileReadResponse.d.ts +64 -0
- package/dist/apispec/src/models/ManagedFileReadResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/ManagedFileReadResponse.js +65 -0
- package/dist/apispec/src/models/ManagedFileWriteRequest.d.ts +39 -0
- package/dist/apispec/src/models/ManagedFileWriteRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ManagedFileWriteRequest.js +47 -0
- package/dist/apispec/src/models/ManagedFilesState.d.ts +58 -0
- package/dist/apispec/src/models/ManagedFilesState.d.ts.map +1 -0
- package/dist/apispec/src/models/ManagedFilesState.js +61 -0
- package/dist/apispec/src/models/PauseSandboxResponse.d.ts +12 -0
- package/dist/apispec/src/models/PauseSandboxResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/PauseSandboxResponse.js +4 -0
- package/dist/apispec/src/models/QuotaDimension.d.ts +5 -1
- package/dist/apispec/src/models/QuotaDimension.d.ts.map +1 -1
- package/dist/apispec/src/models/QuotaDimension.js +5 -1
- package/dist/apispec/src/models/ResourceQuota.d.ts +1 -1
- package/dist/apispec/src/models/ResumeSandboxResponse.d.ts +25 -1
- package/dist/apispec/src/models/ResumeSandboxResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ResumeSandboxResponse.js +8 -0
- package/dist/apispec/src/models/SandboxExecutionStateRequest.d.ts +14 -2
- package/dist/apispec/src/models/SandboxExecutionStateRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxExecutionStateRequest.js +4 -0
- package/dist/apispec/src/models/SandboxHealth.d.ts +99 -0
- package/dist/apispec/src/models/SandboxHealth.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxHealth.js +90 -0
- package/dist/apispec/src/models/SandboxHealthObservation.d.ts +109 -0
- package/dist/apispec/src/models/SandboxHealthObservation.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxHealthObservation.js +110 -0
- package/dist/apispec/src/models/SandboxMemoryOperation.d.ts +115 -0
- package/dist/apispec/src/models/SandboxMemoryOperation.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxMemoryOperation.js +100 -0
- package/dist/apispec/src/models/SandboxMemoryRestoration.d.ts +64 -0
- package/dist/apispec/src/models/SandboxMemoryRestoration.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxMemoryRestoration.js +64 -0
- package/dist/apispec/src/models/SandboxMemoryRestorationStep.d.ts +63 -0
- package/dist/apispec/src/models/SandboxMemoryRestorationStep.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxMemoryRestorationStep.js +63 -0
- package/dist/apispec/src/models/SandboxPauseRequest.d.ts +39 -0
- package/dist/apispec/src/models/SandboxPauseRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxPauseRequest.js +43 -0
- package/dist/apispec/src/models/SandboxRestartFinalCapture.d.ts +79 -0
- package/dist/apispec/src/models/SandboxRestartFinalCapture.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRestartFinalCapture.js +70 -0
- package/dist/apispec/src/models/SandboxRestartFinalCaptureAcknowledgement.d.ts +39 -0
- package/dist/apispec/src/models/SandboxRestartFinalCaptureAcknowledgement.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRestartFinalCaptureAcknowledgement.js +47 -0
- package/dist/apispec/src/models/SandboxRestartFinalCaptureFile.d.ts +69 -0
- package/dist/apispec/src/models/SandboxRestartFinalCaptureFile.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRestartFinalCaptureFile.js +67 -0
- package/dist/apispec/src/models/SandboxRestartOperation.d.ts +115 -0
- package/dist/apispec/src/models/SandboxRestartOperation.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRestartOperation.js +95 -0
- package/dist/apispec/src/models/SandboxRestartRequest.d.ts +33 -0
- package/dist/apispec/src/models/SandboxRestartRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRestartRequest.js +43 -0
- package/dist/apispec/src/models/SandboxRestartRetryObservation.d.ts +83 -0
- package/dist/apispec/src/models/SandboxRestartRetryObservation.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRestartRetryObservation.js +75 -0
- package/dist/apispec/src/models/SandboxRootFSForkLaunch.d.ts +123 -0
- package/dist/apispec/src/models/SandboxRootFSForkLaunch.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRootFSForkLaunch.js +104 -0
- package/dist/apispec/src/models/SandboxRootFSForkLaunchRequest.d.ts +51 -0
- package/dist/apispec/src/models/SandboxRootFSForkLaunchRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRootFSForkLaunchRequest.js +55 -0
- package/dist/apispec/src/models/SandboxRootFSForkObservation.d.ts +129 -0
- package/dist/apispec/src/models/SandboxRootFSForkObservation.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRootFSForkObservation.js +107 -0
- package/dist/apispec/src/models/SandboxRootFSIdentity.d.ts +138 -0
- package/dist/apispec/src/models/SandboxRootFSIdentity.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRootFSIdentity.js +111 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshot.d.ts +6 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshot.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxRootFSSnapshot.js +2 -0
- package/dist/apispec/src/models/SandboxRuntimeHealth.d.ts +40 -0
- package/dist/apispec/src/models/SandboxRuntimeHealth.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRuntimeHealth.js +48 -0
- package/dist/apispec/src/models/SandboxSnapshotRestoreOperation.d.ts +139 -0
- package/dist/apispec/src/models/SandboxSnapshotRestoreOperation.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxSnapshotRestoreOperation.js +109 -0
- package/dist/apispec/src/models/SandboxSnapshotRestoreRequest.d.ts +51 -0
- package/dist/apispec/src/models/SandboxSnapshotRestoreRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxSnapshotRestoreRequest.js +55 -0
- package/dist/apispec/src/models/SandboxStorageHealth.d.ts +46 -0
- package/dist/apispec/src/models/SandboxStorageHealth.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxStorageHealth.js +52 -0
- package/dist/apispec/src/models/SuccessManagedFileReadResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessManagedFileReadResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessManagedFileReadResponse.js +48 -0
- package/dist/apispec/src/models/SuccessManagedFilesStateResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessManagedFilesStateResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessManagedFilesStateResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxHealthResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxHealthResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxHealthResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxMemoryOperationResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxMemoryOperationResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxMemoryOperationResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxMemoryRestorationResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxMemoryRestorationResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxMemoryRestorationResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxRestartFinalCaptureFileResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRestartFinalCaptureFileResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRestartFinalCaptureFileResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxRestartFinalCaptureResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRestartFinalCaptureResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRestartFinalCaptureResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxRestartOperationResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRestartOperationResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRestartOperationResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSForkLaunchResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSForkLaunchResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSForkLaunchResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSForkObservationResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSForkObservationResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSForkObservationResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSIdentityResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSIdentityResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSIdentityResponse.js +48 -0
- package/dist/apispec/src/models/SuccessSandboxSnapshotRestoreOperationResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxSnapshotRestoreOperationResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxSnapshotRestoreOperationResponse.js +48 -0
- package/dist/apispec/src/models/index.d.ts +37 -0
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +37 -0
- package/dist/fork_launch.d.ts +15 -0
- package/dist/fork_launch.d.ts.map +1 -0
- package/dist/fork_launch.js +38 -0
- package/dist/health.d.ts +4 -0
- package/dist/health.d.ts.map +1 -0
- package/dist/health.js +46 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/memory_operation.d.ts +12 -0
- package/dist/memory_operation.d.ts.map +1 -0
- package/dist/memory_operation.js +44 -0
- package/dist/memory_restoration.d.ts +5 -0
- package/dist/memory_restoration.d.ts.map +1 -0
- package/dist/memory_restoration.js +29 -0
- package/dist/models.d.ts +2 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/resources/sandboxes.d.ts +73 -1
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +336 -3
- package/dist/restart_final_capture.d.ts +10 -0
- package/dist/restart_final_capture.d.ts.map +1 -0
- package/dist/restart_final_capture.js +52 -0
- package/dist/sandbox_managed_files.d.ts +34 -0
- package/dist/sandbox_managed_files.d.ts.map +1 -0
- package/dist/sandbox_managed_files.js +96 -0
- package/dist/sandbox_sessions.d.ts +5 -0
- package/dist/sandbox_sessions.d.ts.map +1 -1
- package/dist/sandbox_sessions.js +103 -1
- package/dist/ws_client.d.ts +8 -0
- package/dist/ws_client.d.ts.map +1 -1
- package/dist/ws_client.js +20 -2
- package/package.json +2 -2
|
@@ -0,0 +1,64 @@
|
|
|
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 { SandboxMemoryRestorationStep } from './SandboxMemoryRestorationStep.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxMemoryRestoration
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxMemoryRestoration {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SandboxMemoryRestoration
|
|
23
|
+
*/
|
|
24
|
+
sandboxId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof SandboxMemoryRestoration
|
|
29
|
+
*/
|
|
30
|
+
runtimeGeneration: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SandboxMemoryRestoration
|
|
35
|
+
*/
|
|
36
|
+
runtimeCompatibilityDigest: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SandboxMemoryRestoration
|
|
41
|
+
*/
|
|
42
|
+
filesystemId: string;
|
|
43
|
+
/**
|
|
44
|
+
* Oldest to newest contiguous memory restorations. Capture generation can precede failed restore attempts; do not infer from generation + 1. Bind the first capture generation to owned publication/session history.
|
|
45
|
+
* @type {Array<SandboxMemoryRestorationStep>}
|
|
46
|
+
* @memberof SandboxMemoryRestoration
|
|
47
|
+
*/
|
|
48
|
+
steps: Array<SandboxMemoryRestorationStep>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof SandboxMemoryRestoration
|
|
53
|
+
*/
|
|
54
|
+
observedAt: Date;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the SandboxMemoryRestoration interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfSandboxMemoryRestoration(value: object): value is SandboxMemoryRestoration;
|
|
60
|
+
export declare function SandboxMemoryRestorationFromJSON(json: any): SandboxMemoryRestoration;
|
|
61
|
+
export declare function SandboxMemoryRestorationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxMemoryRestoration;
|
|
62
|
+
export declare function SandboxMemoryRestorationToJSON(json: any): SandboxMemoryRestoration;
|
|
63
|
+
export declare function SandboxMemoryRestorationToJSONTyped(value?: SandboxMemoryRestoration | null, ignoreDiscriminator?: boolean): any;
|
|
64
|
+
//# sourceMappingURL=SandboxMemoryRestoration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxMemoryRestoration.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxMemoryRestoration.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAQnF;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAC3C;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAQnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAavH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CActI"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SandboxMemoryRestorationStepFromJSON, SandboxMemoryRestorationStepToJSON, } from './SandboxMemoryRestorationStep.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxMemoryRestoration interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxMemoryRestoration(value) {
|
|
19
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('runtimeGeneration' in value) || value['runtimeGeneration'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('runtimeCompatibilityDigest' in value) || value['runtimeCompatibilityDigest'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('filesystemId' in value) || value['filesystemId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('steps' in value) || value['steps'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('observedAt' in value) || value['observedAt'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function SandboxMemoryRestorationFromJSON(json) {
|
|
34
|
+
return SandboxMemoryRestorationFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SandboxMemoryRestorationFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'sandboxId': json['sandbox_id'],
|
|
42
|
+
'runtimeGeneration': json['runtime_generation'],
|
|
43
|
+
'runtimeCompatibilityDigest': json['runtime_compatibility_digest'],
|
|
44
|
+
'filesystemId': json['filesystem_id'],
|
|
45
|
+
'steps': (json['steps'].map(SandboxMemoryRestorationStepFromJSON)),
|
|
46
|
+
'observedAt': (new Date(json['observed_at'])),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function SandboxMemoryRestorationToJSON(json) {
|
|
50
|
+
return SandboxMemoryRestorationToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function SandboxMemoryRestorationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'sandbox_id': value['sandboxId'],
|
|
58
|
+
'runtime_generation': value['runtimeGeneration'],
|
|
59
|
+
'runtime_compatibility_digest': value['runtimeCompatibilityDigest'],
|
|
60
|
+
'filesystem_id': value['filesystemId'],
|
|
61
|
+
'steps': (value['steps'].map(SandboxMemoryRestorationStepToJSON)),
|
|
62
|
+
'observed_at': value['observedAt'].toISOString(),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 SandboxMemoryRestorationStep
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxMemoryRestorationStep {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxMemoryRestorationStep
|
|
22
|
+
*/
|
|
23
|
+
operationId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxMemoryRestorationStep
|
|
28
|
+
*/
|
|
29
|
+
captureOperationId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SandboxMemoryRestorationStep
|
|
34
|
+
*/
|
|
35
|
+
fromRuntimeGeneration: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SandboxMemoryRestorationStep
|
|
40
|
+
*/
|
|
41
|
+
toRuntimeGeneration: number;
|
|
42
|
+
/**
|
|
43
|
+
* Opaque committed restore identity, never an execution grant.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SandboxMemoryRestorationStep
|
|
46
|
+
*/
|
|
47
|
+
restoreId: string;
|
|
48
|
+
/**
|
|
49
|
+
* Zero for a legacy image without managed-file projection. Nonzero means the exact projected backing was required by the restored assignment.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof SandboxMemoryRestorationStep
|
|
52
|
+
*/
|
|
53
|
+
managedFilesSizeBytes: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the SandboxMemoryRestorationStep interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfSandboxMemoryRestorationStep(value: object): value is SandboxMemoryRestorationStep;
|
|
59
|
+
export declare function SandboxMemoryRestorationStepFromJSON(json: any): SandboxMemoryRestorationStep;
|
|
60
|
+
export declare function SandboxMemoryRestorationStepFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxMemoryRestorationStep;
|
|
61
|
+
export declare function SandboxMemoryRestorationStepToJSON(json: any): SandboxMemoryRestorationStep;
|
|
62
|
+
export declare function SandboxMemoryRestorationStepToJSONTyped(value?: SandboxMemoryRestorationStep | null, ignoreDiscriminator?: boolean): any;
|
|
63
|
+
//# sourceMappingURL=SandboxMemoryRestorationStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxMemoryRestorationStep.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxMemoryRestorationStep.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAQ3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAa/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc9I"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 SandboxMemoryRestorationStep interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxMemoryRestorationStep(value) {
|
|
18
|
+
if (!('operationId' in value) || value['operationId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('captureOperationId' in value) || value['captureOperationId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('fromRuntimeGeneration' in value) || value['fromRuntimeGeneration'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('toRuntimeGeneration' in value) || value['toRuntimeGeneration'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('restoreId' in value) || value['restoreId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('managedFilesSizeBytes' in value) || value['managedFilesSizeBytes'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function SandboxMemoryRestorationStepFromJSON(json) {
|
|
33
|
+
return SandboxMemoryRestorationStepFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SandboxMemoryRestorationStepFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'operationId': json['operation_id'],
|
|
41
|
+
'captureOperationId': json['capture_operation_id'],
|
|
42
|
+
'fromRuntimeGeneration': json['from_runtime_generation'],
|
|
43
|
+
'toRuntimeGeneration': json['to_runtime_generation'],
|
|
44
|
+
'restoreId': json['restore_id'],
|
|
45
|
+
'managedFilesSizeBytes': json['managed_files_size_bytes'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function SandboxMemoryRestorationStepToJSON(json) {
|
|
49
|
+
return SandboxMemoryRestorationStepToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function SandboxMemoryRestorationStepToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'operation_id': value['operationId'],
|
|
57
|
+
'capture_operation_id': value['captureOperationId'],
|
|
58
|
+
'from_runtime_generation': value['fromRuntimeGeneration'],
|
|
59
|
+
'to_runtime_generation': value['toRuntimeGeneration'],
|
|
60
|
+
'restore_id': value['restoreId'],
|
|
61
|
+
'managed_files_size_bytes': value['managedFilesSizeBytes'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 SandboxPauseRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxPauseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Require retained process memory and execution state. Capture failure never falls back to filesystem-only pause.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SandboxPauseRequest
|
|
22
|
+
*/
|
|
23
|
+
memory?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Pause only this source runtime generation. Requires memory=true and Idempotency-Key; stale requests never pause a successor.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SandboxPauseRequest
|
|
28
|
+
*/
|
|
29
|
+
expectedRuntimeGeneration?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SandboxPauseRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSandboxPauseRequest(value: object): value is SandboxPauseRequest;
|
|
35
|
+
export declare function SandboxPauseRequestFromJSON(json: any): SandboxPauseRequest;
|
|
36
|
+
export declare function SandboxPauseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxPauseRequest;
|
|
37
|
+
export declare function SandboxPauseRequestToJSON(json: any): SandboxPauseRequest;
|
|
38
|
+
export declare function SandboxPauseRequestToJSONTyped(value?: SandboxPauseRequest | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=SandboxPauseRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxPauseRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxPauseRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC;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,CAS7G;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,CAU5H"}
|
|
@@ -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
|
+
* Check if a given object implements the SandboxPauseRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxPauseRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SandboxPauseRequestFromJSON(json) {
|
|
21
|
+
return SandboxPauseRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SandboxPauseRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'memory': json['memory'] == null ? undefined : json['memory'],
|
|
29
|
+
'expectedRuntimeGeneration': json['expected_runtime_generation'] == null ? undefined : json['expected_runtime_generation'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function SandboxPauseRequestToJSON(json) {
|
|
33
|
+
return SandboxPauseRequestToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SandboxPauseRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'memory': value['memory'],
|
|
41
|
+
'expected_runtime_generation': value['expectedRuntimeGeneration'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 SandboxRestartFinalCapture
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxRestartFinalCapture {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxRestartFinalCapture
|
|
22
|
+
*/
|
|
23
|
+
operationId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxRestartFinalCapture
|
|
28
|
+
*/
|
|
29
|
+
sandboxId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SandboxRestartFinalCapture
|
|
34
|
+
*/
|
|
35
|
+
fromRuntimeGeneration: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SandboxRestartFinalCapture
|
|
40
|
+
*/
|
|
41
|
+
state: SandboxRestartFinalCaptureStateEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Opaque immutable stopped-source identity, absent only while pending. No credential-content digest.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SandboxRestartFinalCapture
|
|
46
|
+
*/
|
|
47
|
+
captureId?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof SandboxRestartFinalCapture
|
|
52
|
+
*/
|
|
53
|
+
stoppedAt?: Date;
|
|
54
|
+
/**
|
|
55
|
+
* Committed owner receipt, present only after acknowledgement.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SandboxRestartFinalCapture
|
|
58
|
+
*/
|
|
59
|
+
receiptId?: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const SandboxRestartFinalCaptureStateEnum: {
|
|
65
|
+
readonly RestartCapturePending: "pending";
|
|
66
|
+
readonly RestartCaptureStopped: "stopped";
|
|
67
|
+
readonly RestartCaptureAcknowledged: "acknowledged";
|
|
68
|
+
readonly RestartCaptureReleased: "released";
|
|
69
|
+
};
|
|
70
|
+
export type SandboxRestartFinalCaptureStateEnum = typeof SandboxRestartFinalCaptureStateEnum[keyof typeof SandboxRestartFinalCaptureStateEnum];
|
|
71
|
+
/**
|
|
72
|
+
* Check if a given object implements the SandboxRestartFinalCapture interface.
|
|
73
|
+
*/
|
|
74
|
+
export declare function instanceOfSandboxRestartFinalCapture(value: object): value is SandboxRestartFinalCapture;
|
|
75
|
+
export declare function SandboxRestartFinalCaptureFromJSON(json: any): SandboxRestartFinalCapture;
|
|
76
|
+
export declare function SandboxRestartFinalCaptureFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRestartFinalCapture;
|
|
77
|
+
export declare function SandboxRestartFinalCaptureToJSON(json: any): SandboxRestartFinalCapture;
|
|
78
|
+
export declare function SandboxRestartFinalCaptureToJSONTyped(value?: SandboxRestartFinalCapture | null, ignoreDiscriminator?: boolean): any;
|
|
79
|
+
//# sourceMappingURL=SandboxRestartFinalCapture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRestartFinalCapture.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRestartFinalCapture.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,KAAK,EAAE,mCAAmC,CAAC;IAC3C;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;CAKtC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAG/I;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAMvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAc3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe1I"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 SandboxRestartFinalCaptureStateEnum = {
|
|
18
|
+
RestartCapturePending: 'pending',
|
|
19
|
+
RestartCaptureStopped: 'stopped',
|
|
20
|
+
RestartCaptureAcknowledged: 'acknowledged',
|
|
21
|
+
RestartCaptureReleased: 'released'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the SandboxRestartFinalCapture interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfSandboxRestartFinalCapture(value) {
|
|
27
|
+
if (!('operationId' in value) || value['operationId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('fromRuntimeGeneration' in value) || value['fromRuntimeGeneration'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function SandboxRestartFinalCaptureFromJSON(json) {
|
|
38
|
+
return SandboxRestartFinalCaptureFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SandboxRestartFinalCaptureFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'operationId': json['operation_id'],
|
|
46
|
+
'sandboxId': json['sandbox_id'],
|
|
47
|
+
'fromRuntimeGeneration': json['from_runtime_generation'],
|
|
48
|
+
'state': json['state'],
|
|
49
|
+
'captureId': json['capture_id'] == null ? undefined : json['capture_id'],
|
|
50
|
+
'stoppedAt': json['stopped_at'] == null ? undefined : (new Date(json['stopped_at'])),
|
|
51
|
+
'receiptId': json['receipt_id'] == null ? undefined : json['receipt_id'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function SandboxRestartFinalCaptureToJSON(json) {
|
|
55
|
+
return SandboxRestartFinalCaptureToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function SandboxRestartFinalCaptureToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'operation_id': value['operationId'],
|
|
63
|
+
'sandbox_id': value['sandboxId'],
|
|
64
|
+
'from_runtime_generation': value['fromRuntimeGeneration'],
|
|
65
|
+
'state': value['state'],
|
|
66
|
+
'capture_id': value['captureId'],
|
|
67
|
+
'stopped_at': value['stoppedAt'] == null ? value['stoppedAt'] : value['stoppedAt'].toISOString(),
|
|
68
|
+
'receipt_id': value['receiptId'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 SandboxRestartFinalCaptureAcknowledgement
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxRestartFinalCaptureAcknowledgement {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxRestartFinalCaptureAcknowledgement
|
|
22
|
+
*/
|
|
23
|
+
captureId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxRestartFinalCaptureAcknowledgement
|
|
28
|
+
*/
|
|
29
|
+
receiptId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SandboxRestartFinalCaptureAcknowledgement interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSandboxRestartFinalCaptureAcknowledgement(value: object): value is SandboxRestartFinalCaptureAcknowledgement;
|
|
35
|
+
export declare function SandboxRestartFinalCaptureAcknowledgementFromJSON(json: any): SandboxRestartFinalCaptureAcknowledgement;
|
|
36
|
+
export declare function SandboxRestartFinalCaptureAcknowledgementFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRestartFinalCaptureAcknowledgement;
|
|
37
|
+
export declare function SandboxRestartFinalCaptureAcknowledgementToJSON(json: any): SandboxRestartFinalCaptureAcknowledgement;
|
|
38
|
+
export declare function SandboxRestartFinalCaptureAcknowledgementToJSONTyped(value?: SandboxRestartFinalCaptureAcknowledgement | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=SandboxRestartFinalCaptureAcknowledgement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRestartFinalCaptureAcknowledgement.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRestartFinalCaptureAcknowledgement.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,yCAAyC;IACtD;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,mDAAmD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yCAAyC,CAIrI;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,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SandboxRestartFinalCaptureAcknowledgement interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxRestartFinalCaptureAcknowledgement(value) {
|
|
18
|
+
if (!('captureId' in value) || value['captureId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('receiptId' in value) || value['receiptId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function SandboxRestartFinalCaptureAcknowledgementFromJSON(json) {
|
|
25
|
+
return SandboxRestartFinalCaptureAcknowledgementFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function SandboxRestartFinalCaptureAcknowledgementFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'captureId': json['capture_id'],
|
|
33
|
+
'receiptId': json['receipt_id'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function SandboxRestartFinalCaptureAcknowledgementToJSON(json) {
|
|
37
|
+
return SandboxRestartFinalCaptureAcknowledgementToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SandboxRestartFinalCaptureAcknowledgementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'capture_id': value['captureId'],
|
|
45
|
+
'receipt_id': value['receiptId'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 SandboxRestartFinalCaptureFile
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxRestartFinalCaptureFile {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxRestartFinalCaptureFile
|
|
22
|
+
*/
|
|
23
|
+
operationId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxRestartFinalCaptureFile
|
|
28
|
+
*/
|
|
29
|
+
captureId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SandboxRestartFinalCaptureFile
|
|
34
|
+
*/
|
|
35
|
+
runtimeGeneration: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SandboxRestartFinalCaptureFile
|
|
40
|
+
*/
|
|
41
|
+
mutationSequence: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SandboxRestartFinalCaptureFile
|
|
46
|
+
*/
|
|
47
|
+
sizeBytes: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof SandboxRestartFinalCaptureFile
|
|
52
|
+
*/
|
|
53
|
+
found: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Base64 content, at most 4 MiB decoded. Empty when found=false; found=true also permits an empty file. Never log or persist this response without owner encryption.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SandboxRestartFinalCaptureFile
|
|
58
|
+
*/
|
|
59
|
+
content: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the SandboxRestartFinalCaptureFile interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfSandboxRestartFinalCaptureFile(value: object): value is SandboxRestartFinalCaptureFile;
|
|
65
|
+
export declare function SandboxRestartFinalCaptureFileFromJSON(json: any): SandboxRestartFinalCaptureFile;
|
|
66
|
+
export declare function SandboxRestartFinalCaptureFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRestartFinalCaptureFile;
|
|
67
|
+
export declare function SandboxRestartFinalCaptureFileToJSON(json: any): SandboxRestartFinalCaptureFile;
|
|
68
|
+
export declare function SandboxRestartFinalCaptureFileToJSONTyped(value?: SandboxRestartFinalCaptureFile | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
//# sourceMappingURL=SandboxRestartFinalCaptureFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRestartFinalCaptureFile.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRestartFinalCaptureFile.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAS/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAcnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAelJ"}
|