sandbox0 0.6.3 → 0.7.0
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/SandboxRootfsApi.d.ts +88 -0
- package/dist/apispec/src/apis/SandboxRootfsApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/SandboxRootfsApi.js +227 -0
- package/dist/apispec/src/apis/index.d.ts +1 -0
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +1 -0
- package/dist/apispec/src/models/CreateSandboxRootFSSnapshotRequest.d.ts +45 -0
- package/dist/apispec/src/models/CreateSandboxRootFSSnapshotRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/CreateSandboxRootFSSnapshotRequest.js +45 -0
- package/dist/apispec/src/models/ForkSandboxResponse.d.ts +40 -0
- package/dist/apispec/src/models/ForkSandboxResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/ForkSandboxResponse.js +48 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSRequest.d.ts +33 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSRequest.js +43 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSResponse.d.ts +46 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/RestoreSandboxRootFSResponse.js +52 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshot.d.ts +63 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshot.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshot.js +57 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshotList.d.ts +40 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshotList.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxRootFSSnapshotList.js +48 -0
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +12 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.js +2 -0
- package/dist/apispec/src/models/SuccessForkSandboxResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessForkSandboxResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessForkSandboxResponse.js +46 -0
- package/dist/apispec/src/models/SuccessRestoreSandboxRootFSResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessRestoreSandboxRootFSResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessRestoreSandboxRootFSResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessSandboxRootFSSnapshotResponse.js +46 -0
- package/dist/apispec/src/models/index.d.ts +10 -0
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +10 -0
- package/dist/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1 -0
- package/dist/resources/sandboxes.d.ts +7 -1
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +38 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreSandboxRootFSResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/RestoreSandboxRootFSResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,sBAAsB,CAAC;CAClC;AAID;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAK3G;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"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { SandboxLifecycleStatusFromJSON, SandboxLifecycleStatusToJSON, } from './SandboxLifecycleStatus.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the RestoreSandboxRootFSResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfRestoreSandboxRootFSResponse(value) {
|
|
19
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('snapshotId' in value) || value['snapshotId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function RestoreSandboxRootFSResponseFromJSON(json) {
|
|
28
|
+
return RestoreSandboxRootFSResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function RestoreSandboxRootFSResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'sandboxId': json['sandbox_id'],
|
|
36
|
+
'snapshotId': json['snapshot_id'],
|
|
37
|
+
'status': SandboxLifecycleStatusFromJSON(json['status']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function RestoreSandboxRootFSResponseToJSON(json) {
|
|
41
|
+
return RestoreSandboxRootFSResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function RestoreSandboxRootFSResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'sandbox_id': value['sandboxId'],
|
|
49
|
+
'snapshot_id': value['snapshotId'],
|
|
50
|
+
'status': SandboxLifecycleStatusToJSON(value['status']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 SandboxRootFSSnapshot
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxRootFSSnapshot {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxRootFSSnapshot
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxRootFSSnapshot
|
|
28
|
+
*/
|
|
29
|
+
sandboxId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxRootFSSnapshot
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SandboxRootFSSnapshot
|
|
40
|
+
*/
|
|
41
|
+
description?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof SandboxRootFSSnapshot
|
|
46
|
+
*/
|
|
47
|
+
createdAt: Date;
|
|
48
|
+
/**
|
|
49
|
+
* Optional snapshot expiration timestamp. Zero value means not set.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof SandboxRootFSSnapshot
|
|
52
|
+
*/
|
|
53
|
+
expiresAt?: Date;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the SandboxRootFSSnapshot interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfSandboxRootFSSnapshot(value: object): value is SandboxRootFSSnapshot;
|
|
59
|
+
export declare function SandboxRootFSSnapshotFromJSON(json: any): SandboxRootFSSnapshot;
|
|
60
|
+
export declare function SandboxRootFSSnapshotFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRootFSSnapshot;
|
|
61
|
+
export declare function SandboxRootFSSnapshotToJSON(json: any): SandboxRootFSSnapshot;
|
|
62
|
+
export declare function SandboxRootFSSnapshotToJSONTyped(value?: SandboxRootFSSnapshot | null, ignoreDiscriminator?: boolean): any;
|
|
63
|
+
//# sourceMappingURL=SandboxRootFSSnapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRootFSSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRootFSSnapshot.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAK7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAajH;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,CAchI"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 SandboxRootFSSnapshot interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxRootFSSnapshot(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function SandboxRootFSSnapshotFromJSON(json) {
|
|
27
|
+
return SandboxRootFSSnapshotFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function SandboxRootFSSnapshotFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': json['id'],
|
|
35
|
+
'sandboxId': json['sandbox_id'],
|
|
36
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
38
|
+
'createdAt': (new Date(json['created_at'])),
|
|
39
|
+
'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function SandboxRootFSSnapshotToJSON(json) {
|
|
43
|
+
return SandboxRootFSSnapshotToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function SandboxRootFSSnapshotToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'sandbox_id': value['sandboxId'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'description': value['description'],
|
|
54
|
+
'created_at': value['createdAt'].toISOString(),
|
|
55
|
+
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SandboxRootFSSnapshot } from './SandboxRootFSSnapshot.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxRootFSSnapshotList
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxRootFSSnapshotList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SandboxRootFSSnapshot>}
|
|
22
|
+
* @memberof SandboxRootFSSnapshotList
|
|
23
|
+
*/
|
|
24
|
+
snapshots: Array<SandboxRootFSSnapshot>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof SandboxRootFSSnapshotList
|
|
29
|
+
*/
|
|
30
|
+
count: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SandboxRootFSSnapshotList interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSandboxRootFSSnapshotList(value: object): value is SandboxRootFSSnapshotList;
|
|
36
|
+
export declare function SandboxRootFSSnapshotListFromJSON(json: any): SandboxRootFSSnapshotList;
|
|
37
|
+
export declare function SandboxRootFSSnapshotListFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRootFSSnapshotList;
|
|
38
|
+
export declare function SandboxRootFSSnapshotListToJSON(json: any): SandboxRootFSSnapshotList;
|
|
39
|
+
export declare function SandboxRootFSSnapshotListToJSONTyped(value?: SandboxRootFSSnapshotList | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SandboxRootFSSnapshotList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxRootFSSnapshotList.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRootFSSnapshotList.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACxC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAIrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CASzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxI"}
|
|
@@ -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 { SandboxRootFSSnapshotFromJSON, SandboxRootFSSnapshotToJSON, } from './SandboxRootFSSnapshot.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxRootFSSnapshotList interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxRootFSSnapshotList(value) {
|
|
19
|
+
if (!('snapshots' in value) || value['snapshots'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function SandboxRootFSSnapshotListFromJSON(json) {
|
|
26
|
+
return SandboxRootFSSnapshotListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function SandboxRootFSSnapshotListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'snapshots': (json['snapshots'].map(SandboxRootFSSnapshotFromJSON)),
|
|
34
|
+
'count': json['count'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function SandboxRootFSSnapshotListToJSON(json) {
|
|
38
|
+
return SandboxRootFSSnapshotListToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SandboxRootFSSnapshotListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'snapshots': (value['snapshots'].map(SandboxRootFSSnapshotToJSON)),
|
|
46
|
+
'count': value['count'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -13,12 +13,23 @@ import type { SandboxAppService } from './SandboxAppService.js';
|
|
|
13
13
|
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
14
14
|
/**
|
|
15
15
|
* Subset of SandboxConfig fields that can be updated at runtime without restarting the sandbox.
|
|
16
|
-
* Note: env_vars
|
|
16
|
+
* Note: env_vars only affect new processes. webhook is not included as it requires restart.
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
19
|
* @interface SandboxUpdateConfig
|
|
20
20
|
*/
|
|
21
21
|
export interface SandboxUpdateConfig {
|
|
22
|
+
/**
|
|
23
|
+
* Sandbox-level environment variables used as defaults for new procd-managed
|
|
24
|
+
* processes. Omitting this field preserves the existing environment map; passing
|
|
25
|
+
* an empty object clears it.
|
|
26
|
+
*
|
|
27
|
+
* @type {{ [key: string]: string; }}
|
|
28
|
+
* @memberof SandboxUpdateConfig
|
|
29
|
+
*/
|
|
30
|
+
envVars?: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
22
33
|
/**
|
|
23
34
|
* Runtime soft time-to-live in seconds. When it expires, Sandbox0 checkpoints the writable rootfs, pauses the sandbox, and releases runtime compute while preserving durable sandbox state.
|
|
24
35
|
* @type {number}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxUpdateConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxUpdateConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,
|
|
1
|
+
{"version":3,"file":"SandboxUpdateConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxUpdateConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAa7G;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,CAc5H"}
|
|
@@ -27,6 +27,7 @@ export function SandboxUpdateConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
return json;
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
|
+
'envVars': json['env_vars'] == null ? undefined : json['env_vars'],
|
|
30
31
|
'ttl': json['ttl'] == null ? undefined : json['ttl'],
|
|
31
32
|
'hardTtl': json['hard_ttl'] == null ? undefined : json['hard_ttl'],
|
|
32
33
|
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
@@ -42,6 +43,7 @@ export function SandboxUpdateConfigToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
42
43
|
return value;
|
|
43
44
|
}
|
|
44
45
|
return {
|
|
46
|
+
'env_vars': value['envVars'],
|
|
45
47
|
'ttl': value['ttl'],
|
|
46
48
|
'hard_ttl': value['hardTtl'],
|
|
47
49
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ForkSandboxResponse } from './ForkSandboxResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessForkSandboxResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessForkSandboxResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessForkSandboxResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ForkSandboxResponse}
|
|
28
|
+
* @memberof SuccessForkSandboxResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: ForkSandboxResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessForkSandboxResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessForkSandboxResponse(value: object): value is SuccessForkSandboxResponse;
|
|
36
|
+
export declare function SuccessForkSandboxResponseFromJSON(json: any): SuccessForkSandboxResponse;
|
|
37
|
+
export declare function SuccessForkSandboxResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessForkSandboxResponse;
|
|
38
|
+
export declare function SuccessForkSandboxResponseToJSON(json: any): SuccessForkSandboxResponse;
|
|
39
|
+
export declare function SuccessForkSandboxResponseToJSONTyped(value?: SuccessForkSandboxResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessForkSandboxResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessForkSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessForkSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAGvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAS3H;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,CAU1I"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ForkSandboxResponseFromJSON, ForkSandboxResponseToJSON, } from './ForkSandboxResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessForkSandboxResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessForkSandboxResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessForkSandboxResponseFromJSON(json) {
|
|
24
|
+
return SuccessForkSandboxResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessForkSandboxResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : ForkSandboxResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessForkSandboxResponseToJSON(json) {
|
|
36
|
+
return SuccessForkSandboxResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessForkSandboxResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': ForkSandboxResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { RestoreSandboxRootFSResponse } from './RestoreSandboxRootFSResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessRestoreSandboxRootFSResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessRestoreSandboxRootFSResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessRestoreSandboxRootFSResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {RestoreSandboxRootFSResponse}
|
|
28
|
+
* @memberof SuccessRestoreSandboxRootFSResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: RestoreSandboxRootFSResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessRestoreSandboxRootFSResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessRestoreSandboxRootFSResponse(value: object): value is SuccessRestoreSandboxRootFSResponse;
|
|
36
|
+
export declare function SuccessRestoreSandboxRootFSResponseFromJSON(json: any): SuccessRestoreSandboxRootFSResponse;
|
|
37
|
+
export declare function SuccessRestoreSandboxRootFSResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessRestoreSandboxRootFSResponse;
|
|
38
|
+
export declare function SuccessRestoreSandboxRootFSResponseToJSON(json: any): SuccessRestoreSandboxRootFSResponse;
|
|
39
|
+
export declare function SuccessRestoreSandboxRootFSResponseToJSONTyped(value?: SuccessRestoreSandboxRootFSResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessRestoreSandboxRootFSResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessRestoreSandboxRootFSResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessRestoreSandboxRootFSResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAQnF;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,4BAA4B,CAAC;CACvC;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,CAS7I;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,CAU5J"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { RestoreSandboxRootFSResponseFromJSON, RestoreSandboxRootFSResponseToJSON, } from './RestoreSandboxRootFSResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessRestoreSandboxRootFSResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessRestoreSandboxRootFSResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessRestoreSandboxRootFSResponseFromJSON(json) {
|
|
24
|
+
return SuccessRestoreSandboxRootFSResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessRestoreSandboxRootFSResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : RestoreSandboxRootFSResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessRestoreSandboxRootFSResponseToJSON(json) {
|
|
36
|
+
return SuccessRestoreSandboxRootFSResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessRestoreSandboxRootFSResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': RestoreSandboxRootFSResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SandboxRootFSSnapshotList } from './SandboxRootFSSnapshotList.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSandboxRootFSSnapshotListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSandboxRootFSSnapshotListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessSandboxRootFSSnapshotListResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SandboxRootFSSnapshotList}
|
|
28
|
+
* @memberof SuccessSandboxRootFSSnapshotListResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SandboxRootFSSnapshotList;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessSandboxRootFSSnapshotListResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessSandboxRootFSSnapshotListResponse(value: object): value is SuccessSandboxRootFSSnapshotListResponse;
|
|
36
|
+
export declare function SuccessSandboxRootFSSnapshotListResponseFromJSON(json: any): SuccessSandboxRootFSSnapshotListResponse;
|
|
37
|
+
export declare function SuccessSandboxRootFSSnapshotListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxRootFSSnapshotListResponse;
|
|
38
|
+
export declare function SuccessSandboxRootFSSnapshotListResponseToJSON(json: any): SuccessSandboxRootFSSnapshotListResponse;
|
|
39
|
+
export declare function SuccessSandboxRootFSSnapshotListResponseToJSONTyped(value?: SuccessSandboxRootFSSnapshotListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessSandboxRootFSSnapshotListResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSandboxRootFSSnapshotListResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxRootFSSnapshotListResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAQ7E;;;;GAIG;AACH,MAAM,WAAW,wCAAwC;IACrD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,yBAAyB,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,kDAAkD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wCAAwC,CAGnI;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAEpH;AAED,wBAAgB,qDAAqD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wCAAwC,CASvJ;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAElH;AAED,wBAAgB,mDAAmD,CAAC,KAAK,CAAC,EAAE,wCAAwC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtK"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SandboxRootFSSnapshotListFromJSON, SandboxRootFSSnapshotListToJSON, } from './SandboxRootFSSnapshotList.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessSandboxRootFSSnapshotListResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessSandboxRootFSSnapshotListResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessSandboxRootFSSnapshotListResponseFromJSON(json) {
|
|
24
|
+
return SuccessSandboxRootFSSnapshotListResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessSandboxRootFSSnapshotListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SandboxRootFSSnapshotListFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessSandboxRootFSSnapshotListResponseToJSON(json) {
|
|
36
|
+
return SuccessSandboxRootFSSnapshotListResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessSandboxRootFSSnapshotListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SandboxRootFSSnapshotListToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SandboxRootFSSnapshot } from './SandboxRootFSSnapshot.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessSandboxRootFSSnapshotResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessSandboxRootFSSnapshotResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessSandboxRootFSSnapshotResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SandboxRootFSSnapshot}
|
|
28
|
+
* @memberof SuccessSandboxRootFSSnapshotResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SandboxRootFSSnapshot;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessSandboxRootFSSnapshotResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessSandboxRootFSSnapshotResponse(value: object): value is SuccessSandboxRootFSSnapshotResponse;
|
|
36
|
+
export declare function SuccessSandboxRootFSSnapshotResponseFromJSON(json: any): SuccessSandboxRootFSSnapshotResponse;
|
|
37
|
+
export declare function SuccessSandboxRootFSSnapshotResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxRootFSSnapshotResponse;
|
|
38
|
+
export declare function SuccessSandboxRootFSSnapshotResponseToJSON(json: any): SuccessSandboxRootFSSnapshotResponse;
|
|
39
|
+
export declare function SuccessSandboxRootFSSnapshotResponseToJSONTyped(value?: SuccessSandboxRootFSSnapshotResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessSandboxRootFSSnapshotResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessSandboxRootFSSnapshotResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxRootFSSnapshotResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,oCAAoC;IACjD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,8CAA8C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oCAAoC,CAG3H;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,GAAG,oCAAoC,CAE5G;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oCAAoC,CAS/I;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,oCAAoC,CAE1G;AAED,wBAAgB,+CAA+C,CAAC,KAAK,CAAC,EAAE,oCAAoC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9J"}
|