sandbox0 0.10.3 → 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/ContainerSpec.d.ts +1 -2
- package/dist/apispec/src/models/ContainerSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/ContainerSpec.js +0 -1
- 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 +6 -1
- package/dist/apispec/src/models/QuotaDimension.d.ts.map +1 -1
- package/dist/apispec/src/models/QuotaDimension.js +6 -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/SandboxUpdateConfig.d.ts +15 -3
- 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/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 +9 -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ManagedFileReadResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ManagedFileReadResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ManagedFileReadResponse
|
|
22
|
+
*/
|
|
23
|
+
runtimeGeneration: number;
|
|
24
|
+
/**
|
|
25
|
+
* Canonical decimal uint64 platform mutation counter. It is not a content hash and does not change on native guest writes.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ManagedFileReadResponse
|
|
28
|
+
*/
|
|
29
|
+
mutationSequence: string;
|
|
30
|
+
/**
|
|
31
|
+
* Capacity of this runtime's node-owned noswap tmpfs; excluded from durable RootFS.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ManagedFileReadResponse
|
|
34
|
+
*/
|
|
35
|
+
sizeBytes: number;
|
|
36
|
+
/**
|
|
37
|
+
* Initial guest bind path. Guest pivot or mount changes do not redirect platform writes.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ManagedFileReadResponse
|
|
40
|
+
*/
|
|
41
|
+
guestPath: ManagedFileReadResponseGuestPathEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Base64-encoded file bytes, at most 4 MiB decoded. Treat as sensitive and do not log.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ManagedFileReadResponse
|
|
46
|
+
*/
|
|
47
|
+
content: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const ManagedFileReadResponseGuestPathEnum: {
|
|
53
|
+
readonly RunSandbox0Credentials: "/run/sandbox0/credentials";
|
|
54
|
+
};
|
|
55
|
+
export type ManagedFileReadResponseGuestPathEnum = typeof ManagedFileReadResponseGuestPathEnum[keyof typeof ManagedFileReadResponseGuestPathEnum];
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ManagedFileReadResponse interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfManagedFileReadResponse(value: object): value is ManagedFileReadResponse;
|
|
60
|
+
export declare function ManagedFileReadResponseFromJSON(json: any): ManagedFileReadResponse;
|
|
61
|
+
export declare function ManagedFileReadResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagedFileReadResponse;
|
|
62
|
+
export declare function ManagedFileReadResponseToJSON(json: any): ManagedFileReadResponse;
|
|
63
|
+
export declare function ManagedFileReadResponseToJSONTyped(value?: ManagedFileReadResponse | null, ignoreDiscriminator?: boolean): any;
|
|
64
|
+
//# sourceMappingURL=ManagedFileReadResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManagedFileReadResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ManagedFileReadResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,oCAAoC,CAAC;IAChD;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAGD;;GAEG;AACH,eAAO,MAAM,oCAAoC;;CAEvC,CAAC;AACX,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAC,MAAM,OAAO,oCAAoC,CAAC,CAAC;AAGlJ;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAOjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAYrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapI"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 ManagedFileReadResponseGuestPathEnum = {
|
|
18
|
+
RunSandbox0Credentials: '/run/sandbox0/credentials'
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ManagedFileReadResponse interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfManagedFileReadResponse(value) {
|
|
24
|
+
if (!('runtimeGeneration' in value) || value['runtimeGeneration'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('mutationSequence' in value) || value['mutationSequence'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('guestPath' in value) || value['guestPath'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function ManagedFileReadResponseFromJSON(json) {
|
|
37
|
+
return ManagedFileReadResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ManagedFileReadResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'runtimeGeneration': json['runtime_generation'],
|
|
45
|
+
'mutationSequence': json['mutation_sequence'],
|
|
46
|
+
'sizeBytes': json['size_bytes'],
|
|
47
|
+
'guestPath': json['guest_path'],
|
|
48
|
+
'content': json['content'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function ManagedFileReadResponseToJSON(json) {
|
|
52
|
+
return ManagedFileReadResponseToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function ManagedFileReadResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'runtime_generation': value['runtimeGeneration'],
|
|
60
|
+
'mutation_sequence': value['mutationSequence'],
|
|
61
|
+
'size_bytes': value['sizeBytes'],
|
|
62
|
+
'guest_path': value['guestPath'],
|
|
63
|
+
'content': value['content'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -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 ManagedFileWriteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ManagedFileWriteRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Canonical decimal uint64 platform mutation counter. It is not a content hash and does not change on native guest writes.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ManagedFileWriteRequest
|
|
22
|
+
*/
|
|
23
|
+
expectedMutationSequence: string;
|
|
24
|
+
/**
|
|
25
|
+
* Base64-encoded file bytes, at most 4 MiB decoded. Empty content is permitted.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ManagedFileWriteRequest
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ManagedFileWriteRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfManagedFileWriteRequest(value: object): value is ManagedFileWriteRequest;
|
|
35
|
+
export declare function ManagedFileWriteRequestFromJSON(json: any): ManagedFileWriteRequest;
|
|
36
|
+
export declare function ManagedFileWriteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagedFileWriteRequest;
|
|
37
|
+
export declare function ManagedFileWriteRequestToJSON(json: any): ManagedFileWriteRequest;
|
|
38
|
+
export declare function ManagedFileWriteRequestToJSONTyped(value?: ManagedFileWriteRequest | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=ManagedFileWriteRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManagedFileWriteRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ManagedFileWriteRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAIjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CASrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpI"}
|
|
@@ -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 ManagedFileWriteRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfManagedFileWriteRequest(value) {
|
|
18
|
+
if (!('expectedMutationSequence' in value) || value['expectedMutationSequence'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ManagedFileWriteRequestFromJSON(json) {
|
|
25
|
+
return ManagedFileWriteRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ManagedFileWriteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'expectedMutationSequence': json['expected_mutation_sequence'],
|
|
33
|
+
'content': json['content'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ManagedFileWriteRequestToJSON(json) {
|
|
37
|
+
return ManagedFileWriteRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ManagedFileWriteRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'expected_mutation_sequence': value['expectedMutationSequence'],
|
|
45
|
+
'content': value['content'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 ManagedFilesState
|
|
16
|
+
*/
|
|
17
|
+
export interface ManagedFilesState {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ManagedFilesState
|
|
22
|
+
*/
|
|
23
|
+
runtimeGeneration: number;
|
|
24
|
+
/**
|
|
25
|
+
* Canonical decimal uint64 platform mutation counter. It is not a content hash and does not change on native guest writes.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ManagedFilesState
|
|
28
|
+
*/
|
|
29
|
+
mutationSequence: string;
|
|
30
|
+
/**
|
|
31
|
+
* Capacity of this runtime's node-owned noswap tmpfs; excluded from durable RootFS.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ManagedFilesState
|
|
34
|
+
*/
|
|
35
|
+
sizeBytes: number;
|
|
36
|
+
/**
|
|
37
|
+
* Initial guest bind path. Guest pivot or mount changes do not redirect platform writes.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ManagedFilesState
|
|
40
|
+
*/
|
|
41
|
+
guestPath: ManagedFilesStateGuestPathEnum;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const ManagedFilesStateGuestPathEnum: {
|
|
47
|
+
readonly RunSandbox0Credentials: "/run/sandbox0/credentials";
|
|
48
|
+
};
|
|
49
|
+
export type ManagedFilesStateGuestPathEnum = typeof ManagedFilesStateGuestPathEnum[keyof typeof ManagedFilesStateGuestPathEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ManagedFilesState interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfManagedFilesState(value: object): value is ManagedFilesState;
|
|
54
|
+
export declare function ManagedFilesStateFromJSON(json: any): ManagedFilesState;
|
|
55
|
+
export declare function ManagedFilesStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagedFilesState;
|
|
56
|
+
export declare function ManagedFilesStateToJSON(json: any): ManagedFilesState;
|
|
57
|
+
export declare function ManagedFilesStateToJSONTyped(value?: ManagedFilesState | null, ignoreDiscriminator?: boolean): any;
|
|
58
|
+
//# sourceMappingURL=ManagedFilesState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManagedFilesState.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ManagedFilesState.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,8BAA8B,CAAC;CAC7C;AAGD;;GAEG;AACH,eAAO,MAAM,8BAA8B;;CAEjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAGhI;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAMrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAWzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYxH"}
|
|
@@ -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 ManagedFilesStateGuestPathEnum = {
|
|
18
|
+
RunSandbox0Credentials: '/run/sandbox0/credentials'
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ManagedFilesState interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfManagedFilesState(value) {
|
|
24
|
+
if (!('runtimeGeneration' in value) || value['runtimeGeneration'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('mutationSequence' in value) || value['mutationSequence'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('guestPath' in value) || value['guestPath'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function ManagedFilesStateFromJSON(json) {
|
|
35
|
+
return ManagedFilesStateFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ManagedFilesStateFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'runtimeGeneration': json['runtime_generation'],
|
|
43
|
+
'mutationSequence': json['mutation_sequence'],
|
|
44
|
+
'sizeBytes': json['size_bytes'],
|
|
45
|
+
'guestPath': json['guest_path'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function ManagedFilesStateToJSON(json) {
|
|
49
|
+
return ManagedFilesStateToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function ManagedFilesStateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'runtime_generation': value['runtimeGeneration'],
|
|
57
|
+
'mutation_sequence': value['mutationSequence'],
|
|
58
|
+
'size_bytes': value['sizeBytes'],
|
|
59
|
+
'guest_path': value['guestPath'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -17,6 +17,18 @@ import type { SandboxResourceUsage } from './SandboxResourceUsage.js';
|
|
|
17
17
|
* @interface PauseSandboxResponse
|
|
18
18
|
*/
|
|
19
19
|
export interface PauseSandboxResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Exact checkpoint operation accepted for a conditional memory pause; stable across retries.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof PauseSandboxResponse
|
|
24
|
+
*/
|
|
25
|
+
operationId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Source runtime generation bound by the conditional memory pause.
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof PauseSandboxResponse
|
|
30
|
+
*/
|
|
31
|
+
runtimeGeneration?: number;
|
|
20
32
|
/**
|
|
21
33
|
*
|
|
22
34
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PauseSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PauseSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC;;;;OAIG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAID;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,
|
|
1
|
+
{"version":3,"file":"PauseSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PauseSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC;;;;OAIG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAID;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAe/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB9H"}
|
|
@@ -31,6 +31,8 @@ export function PauseSandboxResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
|
+
'operationId': json['operation_id'] == null ? undefined : json['operation_id'],
|
|
35
|
+
'runtimeGeneration': json['runtime_generation'] == null ? undefined : json['runtime_generation'],
|
|
34
36
|
'sandboxId': json['sandbox_id'],
|
|
35
37
|
'paused': json['paused'],
|
|
36
38
|
'status': json['status'] == null ? undefined : SandboxLifecycleStatusFromJSON(json['status']),
|
|
@@ -47,6 +49,8 @@ export function PauseSandboxResponseToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
47
49
|
return value;
|
|
48
50
|
}
|
|
49
51
|
return {
|
|
52
|
+
'operation_id': value['operationId'],
|
|
53
|
+
'runtime_generation': value['runtimeGeneration'],
|
|
50
54
|
'sandbox_id': value['sandboxId'],
|
|
51
55
|
'paused': value['paused'],
|
|
52
56
|
'status': SandboxLifecycleStatusToJSON(value['status']),
|
|
@@ -10,11 +10,16 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* snapshots_per_sandbox limits retained public snapshots independently on
|
|
14
|
+
* each sandbox (default 10). Excess snapshots are automatically removed,
|
|
15
|
+
* oldest first. Its capacity current value is the highest snapshot count
|
|
16
|
+
* on any sandbox in the team, rather than the team's total snapshot count.
|
|
14
17
|
* @export
|
|
15
18
|
*/
|
|
16
19
|
export declare const QuotaDimension: {
|
|
17
20
|
readonly ActiveSandboxes: "active_sandboxes";
|
|
21
|
+
readonly PausedSandboxes: "paused_sandboxes";
|
|
22
|
+
readonly SnapshotsPerSandbox: "snapshots_per_sandbox";
|
|
18
23
|
readonly SandboxClaims: "sandbox_claims";
|
|
19
24
|
readonly ApiRequests: "api_requests";
|
|
20
25
|
readonly NetworkEgressBytes: "network_egress_bytes";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuotaDimension.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/QuotaDimension.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH
|
|
1
|
+
{"version":3,"file":"QuotaDimension.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/QuotaDimension.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;CAQjB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAGhF,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS5D;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAEnG;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,GAAG,CAEvE;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAElG"}
|
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* snapshots_per_sandbox limits retained public snapshots independently on
|
|
16
|
+
* each sandbox (default 10). Excess snapshots are automatically removed,
|
|
17
|
+
* oldest first. Its capacity current value is the highest snapshot count
|
|
18
|
+
* on any sandbox in the team, rather than the team's total snapshot count.
|
|
16
19
|
* @export
|
|
17
20
|
*/
|
|
18
21
|
export const QuotaDimension = {
|
|
19
22
|
ActiveSandboxes: 'active_sandboxes',
|
|
23
|
+
PausedSandboxes: 'paused_sandboxes',
|
|
24
|
+
SnapshotsPerSandbox: 'snapshots_per_sandbox',
|
|
20
25
|
SandboxClaims: 'sandbox_claims',
|
|
21
26
|
ApiRequests: 'api_requests',
|
|
22
27
|
NetworkEgressBytes: 'network_egress_bytes',
|
|
@@ -22,7 +22,7 @@ export interface ResourceQuota {
|
|
|
22
22
|
*/
|
|
23
23
|
memory: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Initial RootFS filesystem capacity for image imports. Defaults to 8Gi when omitted; it must be an exact byte quantity between 300Mi and 1Ti and aligned to 4096 bytes. Deployments with automatic growth use a larger sparse device and expand the filesystem online; fixed-size deployments use this value as the device capacity. Existing generations retain their committed geometry.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ResourceQuota
|
|
28
28
|
*/
|
|
@@ -15,6 +15,30 @@
|
|
|
15
15
|
* @interface ResumeSandboxResponse
|
|
16
16
|
*/
|
|
17
17
|
export interface ResumeSandboxResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Authenticated caller request for this conditional memory restore, distinct from the capture operation and internal worker lifecycle.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ResumeSandboxResponse
|
|
22
|
+
*/
|
|
23
|
+
operationId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Exact retained capture restored by this conditional request.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ResumeSandboxResponse
|
|
28
|
+
*/
|
|
29
|
+
checkpointId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Source generation bound by this conditional request.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ResumeSandboxResponse
|
|
34
|
+
*/
|
|
35
|
+
fromRuntimeGeneration?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Committed restored runtime generation, exactly one greater than from_runtime_generation. These conditional result coordinates are not a current process or storage health attestation.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ResumeSandboxResponse
|
|
40
|
+
*/
|
|
41
|
+
runtimeGeneration?: number;
|
|
18
42
|
/**
|
|
19
43
|
*
|
|
20
44
|
* @type {string}
|
|
@@ -22,7 +46,7 @@ export interface ResumeSandboxResponse {
|
|
|
22
46
|
*/
|
|
23
47
|
sandboxId: string;
|
|
24
48
|
/**
|
|
25
|
-
*
|
|
49
|
+
* True after the requested runtime has committed. Memory restoration never implicitly starts filesystem-only replacement processes.
|
|
26
50
|
* @type {boolean}
|
|
27
51
|
* @memberof ResumeSandboxResponse
|
|
28
52
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResumeSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ResumeSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;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,
|
|
1
|
+
{"version":3,"file":"ResumeSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ResumeSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;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,CAcjH;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,CAehI"}
|
|
@@ -29,6 +29,10 @@ export function ResumeSandboxResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
return json;
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
|
+
'operationId': json['operation_id'] == null ? undefined : json['operation_id'],
|
|
33
|
+
'checkpointId': json['checkpoint_id'] == null ? undefined : json['checkpoint_id'],
|
|
34
|
+
'fromRuntimeGeneration': json['from_runtime_generation'] == null ? undefined : json['from_runtime_generation'],
|
|
35
|
+
'runtimeGeneration': json['runtime_generation'] == null ? undefined : json['runtime_generation'],
|
|
32
36
|
'sandboxId': json['sandbox_id'],
|
|
33
37
|
'resumed': json['resumed'],
|
|
34
38
|
'restoredMemory': json['restored_memory'] == null ? undefined : json['restored_memory'],
|
|
@@ -42,6 +46,10 @@ export function ResumeSandboxResponseToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
42
46
|
return value;
|
|
43
47
|
}
|
|
44
48
|
return {
|
|
49
|
+
'operation_id': value['operationId'],
|
|
50
|
+
'checkpoint_id': value['checkpointId'],
|
|
51
|
+
'from_runtime_generation': value['fromRuntimeGeneration'],
|
|
52
|
+
'runtime_generation': value['runtimeGeneration'],
|
|
45
53
|
'sandbox_id': value['sandboxId'],
|
|
46
54
|
'resumed': value['resumed'],
|
|
47
55
|
'restored_memory': value['restoredMemory'],
|
|
@@ -10,17 +10,29 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Resume execution-state selection. Conditional memory resume requires all three body fields together with Idempotency-Key.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface SandboxExecutionStateRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface SandboxExecutionStateRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Require the retained execution image. Missing, incompatible, or failed memory restoration remains an error and never falls back to new processes. Omitted or false explicitly selects filesystem-only behavior.
|
|
20
20
|
* @type {boolean}
|
|
21
21
|
* @memberof SandboxExecutionStateRequest
|
|
22
22
|
*/
|
|
23
23
|
memory?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Exact paused source generation. Zero is valid for a never-run memory fork. Requires memory=true, checkpoint_id and Idempotency-Key.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SandboxExecutionStateRequest
|
|
28
|
+
*/
|
|
29
|
+
expectedRuntimeGeneration?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Exact retained capture operation ID, returned as operation_id by a completed conditional memory pause. Requires memory=true, expected_runtime_generation and Idempotency-Key.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxExecutionStateRequest
|
|
34
|
+
*/
|
|
35
|
+
checkpointId?: string;
|
|
24
36
|
}
|
|
25
37
|
/**
|
|
26
38
|
* Check if a given object implements the SandboxExecutionStateRequest interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxExecutionStateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxExecutionStateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SandboxExecutionStateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxExecutionStateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAE3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAU/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,CAW9I"}
|
|
@@ -26,6 +26,8 @@ export function SandboxExecutionStateRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
28
|
'memory': json['memory'] == null ? undefined : json['memory'],
|
|
29
|
+
'expectedRuntimeGeneration': json['expected_runtime_generation'] == null ? undefined : json['expected_runtime_generation'],
|
|
30
|
+
'checkpointId': json['checkpoint_id'] == null ? undefined : json['checkpoint_id'],
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
export function SandboxExecutionStateRequestToJSON(json) {
|
|
@@ -37,5 +39,7 @@ export function SandboxExecutionStateRequestToJSONTyped(value, ignoreDiscriminat
|
|
|
37
39
|
}
|
|
38
40
|
return {
|
|
39
41
|
'memory': value['memory'],
|
|
42
|
+
'expected_runtime_generation': value['expectedRuntimeGeneration'],
|
|
43
|
+
'checkpoint_id': value['checkpointId'],
|
|
40
44
|
};
|
|
41
45
|
}
|