sandbox0 0.6.3 → 0.7.1
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/ClaimRequest.d.ts +6 -0
- package/dist/apispec/src/models/ClaimRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimRequest.js +2 -0
- package/dist/apispec/src/models/ContextExecResponse.d.ts +12 -0
- package/dist/apispec/src/models/ContextExecResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ContextExecResponse.js +4 -0
- package/dist/apispec/src/models/ContextResponse.d.ts +12 -0
- package/dist/apispec/src/models/ContextResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ContextResponse.js +4 -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/SandboxTemplateSpec.d.ts +0 -19
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateSpec.js +0 -7
- 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 -2
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +10 -2
- 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 +8 -1
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +41 -1
- package/dist/template_helpers.d.ts +1 -4
- package/dist/template_helpers.d.ts.map +1 -1
- package/dist/template_helpers.js +0 -3
- package/package.json +1 -1
|
@@ -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 { SandboxFromJSON, SandboxToJSON, } from './Sandbox.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ForkSandboxResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfForkSandboxResponse(value) {
|
|
19
|
+
if (!('sourceSandboxId' in value) || value['sourceSandboxId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('sandbox' in value) || value['sandbox'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ForkSandboxResponseFromJSON(json) {
|
|
26
|
+
return ForkSandboxResponseFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ForkSandboxResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'sourceSandboxId': json['source_sandbox_id'],
|
|
34
|
+
'sandbox': SandboxFromJSON(json['sandbox']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ForkSandboxResponseToJSON(json) {
|
|
38
|
+
return ForkSandboxResponseToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ForkSandboxResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'source_sandbox_id': value['sourceSandboxId'],
|
|
46
|
+
'sandbox': SandboxToJSON(value['sandbox']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 RestoreSandboxRootFSRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RestoreSandboxRootFSRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RestoreSandboxRootFSRequest
|
|
22
|
+
*/
|
|
23
|
+
snapshotId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RestoreSandboxRootFSRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRestoreSandboxRootFSRequest(value: object): value is RestoreSandboxRootFSRequest;
|
|
29
|
+
export declare function RestoreSandboxRootFSRequestFromJSON(json: any): RestoreSandboxRootFSRequest;
|
|
30
|
+
export declare function RestoreSandboxRootFSRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RestoreSandboxRootFSRequest;
|
|
31
|
+
export declare function RestoreSandboxRootFSRequestToJSON(json: any): RestoreSandboxRootFSRequest;
|
|
32
|
+
export declare function RestoreSandboxRootFSRequestToJSONTyped(value?: RestoreSandboxRootFSRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=RestoreSandboxRootFSRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestoreSandboxRootFSRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/RestoreSandboxRootFSRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAGzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAQ7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS5I"}
|
|
@@ -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 RestoreSandboxRootFSRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRestoreSandboxRootFSRequest(value) {
|
|
18
|
+
if (!('snapshotId' in value) || value['snapshotId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function RestoreSandboxRootFSRequestFromJSON(json) {
|
|
23
|
+
return RestoreSandboxRootFSRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function RestoreSandboxRootFSRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'snapshotId': json['snapshot_id'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function RestoreSandboxRootFSRequestToJSON(json) {
|
|
34
|
+
return RestoreSandboxRootFSRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function RestoreSandboxRootFSRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'snapshot_id': value['snapshotId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SandboxLifecycleStatus } from './SandboxLifecycleStatus.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RestoreSandboxRootFSResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface RestoreSandboxRootFSResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RestoreSandboxRootFSResponse
|
|
23
|
+
*/
|
|
24
|
+
sandboxId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RestoreSandboxRootFSResponse
|
|
29
|
+
*/
|
|
30
|
+
snapshotId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SandboxLifecycleStatus}
|
|
34
|
+
* @memberof RestoreSandboxRootFSResponse
|
|
35
|
+
*/
|
|
36
|
+
status: SandboxLifecycleStatus;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the RestoreSandboxRootFSResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfRestoreSandboxRootFSResponse(value: object): value is RestoreSandboxRootFSResponse;
|
|
42
|
+
export declare function RestoreSandboxRootFSResponseFromJSON(json: any): RestoreSandboxRootFSResponse;
|
|
43
|
+
export declare function RestoreSandboxRootFSResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RestoreSandboxRootFSResponse;
|
|
44
|
+
export declare function RestoreSandboxRootFSResponseToJSON(json: any): RestoreSandboxRootFSResponse;
|
|
45
|
+
export declare function RestoreSandboxRootFSResponseToJSONTyped(value?: RestoreSandboxRootFSResponse | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=RestoreSandboxRootFSResponse.d.ts.map
|
|
@@ -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
|
+
}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
import type { PoolStrategy } from './PoolStrategy.js';
|
|
13
13
|
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
14
14
|
import type { ContainerSpec } from './ContainerSpec.js';
|
|
15
|
-
import type { LifecyclePolicy } from './LifecyclePolicy.js';
|
|
16
15
|
import type { VolumeMountSpec } from './VolumeMountSpec.js';
|
|
17
16
|
import type { PodSpecOverride } from './PodSpecOverride.js';
|
|
18
17
|
/**
|
|
@@ -69,12 +68,6 @@ export interface SandboxTemplateSpec {
|
|
|
69
68
|
* @memberof SandboxTemplateSpec
|
|
70
69
|
*/
|
|
71
70
|
pool?: PoolStrategy;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {LifecyclePolicy}
|
|
75
|
-
* @memberof SandboxTemplateSpec
|
|
76
|
-
*/
|
|
77
|
-
lifecycle?: LifecyclePolicy;
|
|
78
71
|
/**
|
|
79
72
|
*
|
|
80
73
|
* @type {{ [key: string]: string; }}
|
|
@@ -83,18 +76,6 @@ export interface SandboxTemplateSpec {
|
|
|
83
76
|
envVars?: {
|
|
84
77
|
[key: string]: string;
|
|
85
78
|
};
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {boolean}
|
|
89
|
-
* @memberof SandboxTemplateSpec
|
|
90
|
-
*/
|
|
91
|
-
_public?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {Array<string>}
|
|
95
|
-
* @memberof SandboxTemplateSpec
|
|
96
|
-
*/
|
|
97
|
-
allowedTeams?: Array<string>;
|
|
98
79
|
/**
|
|
99
80
|
*
|
|
100
81
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IACtC;;;;OAIG;IACH,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;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,CAiB7G;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,CAkB5H"}
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
import { PoolStrategyFromJSON, PoolStrategyToJSON, } from './PoolStrategy.js';
|
|
15
15
|
import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
|
|
16
16
|
import { ContainerSpecFromJSON, ContainerSpecToJSON, } from './ContainerSpec.js';
|
|
17
|
-
import { LifecyclePolicyFromJSON, LifecyclePolicyToJSON, } from './LifecyclePolicy.js';
|
|
18
17
|
import { VolumeMountSpecFromJSON, VolumeMountSpecToJSON, } from './VolumeMountSpec.js';
|
|
19
18
|
import { PodSpecOverrideFromJSON, PodSpecOverrideToJSON, } from './PodSpecOverride.js';
|
|
20
19
|
/**
|
|
@@ -39,10 +38,7 @@ export function SandboxTemplateSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
38
|
'pod': json['pod'] == null ? undefined : PodSpecOverrideFromJSON(json['pod']),
|
|
40
39
|
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
41
40
|
'pool': json['pool'] == null ? undefined : PoolStrategyFromJSON(json['pool']),
|
|
42
|
-
'lifecycle': json['lifecycle'] == null ? undefined : LifecyclePolicyFromJSON(json['lifecycle']),
|
|
43
41
|
'envVars': json['envVars'] == null ? undefined : json['envVars'],
|
|
44
|
-
'_public': json['public'] == null ? undefined : json['public'],
|
|
45
|
-
'allowedTeams': json['allowedTeams'] == null ? undefined : json['allowedTeams'],
|
|
46
42
|
'clusterId': json['clusterId'] == null ? undefined : json['clusterId'],
|
|
47
43
|
};
|
|
48
44
|
}
|
|
@@ -62,10 +58,7 @@ export function SandboxTemplateSpecToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
62
58
|
'pod': PodSpecOverrideToJSON(value['pod']),
|
|
63
59
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
64
60
|
'pool': PoolStrategyToJSON(value['pool']),
|
|
65
|
-
'lifecycle': LifecyclePolicyToJSON(value['lifecycle']),
|
|
66
61
|
'envVars': value['envVars'],
|
|
67
|
-
'public': value['_public'],
|
|
68
|
-
'allowedTeams': value['allowedTeams'],
|
|
69
62
|
'clusterId': value['clusterId'],
|
|
70
63
|
};
|
|
71
64
|
}
|
|
@@ -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"}
|