sandbox0 0.2.1 → 0.2.3
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 +16 -0
- package/dist/apispec/src/apis/AuthApi.d.ts +24 -1
- package/dist/apispec/src/apis/AuthApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/AuthApi.js +58 -1
- package/dist/apispec/src/apis/RegistryApi.d.ts +6 -3
- package/dist/apispec/src/apis/RegistryApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/RegistryApi.js +6 -4
- package/dist/apispec/src/apis/index.d.ts +0 -1
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +0 -1
- package/dist/apispec/src/models/AuthProvider.d.ts +12 -0
- package/dist/apispec/src/models/AuthProvider.d.ts.map +1 -1
- package/dist/apispec/src/models/AuthProvider.js +8 -0
- package/dist/apispec/src/models/ClaimMountRequest.d.ts +46 -0
- package/dist/apispec/src/models/ClaimMountRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ClaimMountRequest.js +50 -0
- package/dist/apispec/src/models/ClaimRequest.d.ts +24 -0
- package/dist/apispec/src/models/ClaimRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimRequest.js +7 -0
- package/dist/apispec/src/models/ClaimResponse.d.ts +7 -0
- package/dist/apispec/src/models/ClaimResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimResponse.js +3 -0
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts +12 -0
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.js +4 -0
- package/dist/apispec/src/models/DeviceLoginPollRequest.d.ts +33 -0
- package/dist/apispec/src/models/DeviceLoginPollRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/DeviceLoginPollRequest.js +43 -0
- package/dist/apispec/src/models/DeviceLoginPollResponse.d.ts +61 -0
- package/dist/apispec/src/models/DeviceLoginPollResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/DeviceLoginPollResponse.js +58 -0
- package/dist/apispec/src/models/DeviceLoginStartResponse.d.ts +63 -0
- package/dist/apispec/src/models/DeviceLoginStartResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/DeviceLoginStartResponse.js +61 -0
- package/dist/apispec/src/models/ForkVolumeRequest.d.ts +12 -0
- package/dist/apispec/src/models/ForkVolumeRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/ForkVolumeRequest.js +4 -0
- package/dist/apispec/src/models/LoginResponse.d.ts +0 -7
- package/dist/apispec/src/models/LoginResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/LoginResponse.js +0 -3
- package/dist/apispec/src/models/MountStatus.d.ts +30 -2
- package/dist/apispec/src/models/MountStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/MountStatus.js +23 -2
- package/dist/apispec/src/models/RegisterRequest.d.ts +1 -1
- package/dist/apispec/src/models/RegistryCredentialsRequest.d.ts +33 -0
- package/dist/apispec/src/models/RegistryCredentialsRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/RegistryCredentialsRequest.js +41 -0
- package/dist/apispec/src/models/SandboxVolume.d.ts +12 -0
- package/dist/apispec/src/models/SandboxVolume.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxVolume.js +4 -0
- package/dist/apispec/src/models/SuccessDeviceLoginPollResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessDeviceLoginPollResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessDeviceLoginPollResponse.js +46 -0
- package/dist/apispec/src/models/SuccessDeviceLoginStartResponse.d.ts +40 -0
- package/dist/apispec/src/models/{SuccessIssueRegionTokenResponse.d.ts.map → SuccessDeviceLoginStartResponse.d.ts.map} +1 -1
- package/dist/apispec/src/models/SuccessDeviceLoginStartResponse.js +46 -0
- package/dist/apispec/src/models/UpdateUserRequest.d.ts +0 -6
- package/dist/apispec/src/models/UpdateUserRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/UpdateUserRequest.js +0 -2
- package/dist/apispec/src/models/User.d.ts +0 -13
- package/dist/apispec/src/models/User.d.ts.map +1 -1
- package/dist/apispec/src/models/User.js +0 -5
- package/dist/apispec/src/models/index.d.ts +7 -6
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +7 -6
- package/dist/resources/sandboxes.d.ts +9 -3
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +26 -4
- package/dist/sandbox.d.ts +3 -0
- package/dist/sandbox.d.ts.map +1 -1
- package/dist/sandbox.js +2 -0
- package/package.json +4 -2
- package/dist/apispec/src/apis/TenantApi.d.ts +0 -41
- package/dist/apispec/src/apis/TenantApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/TenantApi.js +0 -83
- package/dist/apispec/src/models/IssueRegionTokenRequest.d.ts +0 -33
- package/dist/apispec/src/models/IssueRegionTokenRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/IssueRegionTokenRequest.js +0 -41
- package/dist/apispec/src/models/IssueRegionTokenResponse.d.ts +0 -51
- package/dist/apispec/src/models/IssueRegionTokenResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/IssueRegionTokenResponse.js +0 -53
- package/dist/apispec/src/models/RegionalSession.d.ts +0 -51
- package/dist/apispec/src/models/RegionalSession.d.ts.map +0 -1
- package/dist/apispec/src/models/RegionalSession.js +0 -53
- package/dist/apispec/src/models/SuccessIssueRegionTokenResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessIssueRegionTokenResponse.js +0 -46
|
@@ -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 DeviceLoginPollRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDeviceLoginPollRequest(value) {
|
|
18
|
+
if (!('deviceLoginId' in value) || value['deviceLoginId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function DeviceLoginPollRequestFromJSON(json) {
|
|
23
|
+
return DeviceLoginPollRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function DeviceLoginPollRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'deviceLoginId': json['device_login_id'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function DeviceLoginPollRequestToJSON(json) {
|
|
34
|
+
return DeviceLoginPollRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function DeviceLoginPollRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'device_login_id': value['deviceLoginId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { LoginResponse } from './LoginResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DeviceLoginPollResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface DeviceLoginPollResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof DeviceLoginPollResponse
|
|
23
|
+
*/
|
|
24
|
+
status: DeviceLoginPollResponseStatusEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof DeviceLoginPollResponse
|
|
29
|
+
*/
|
|
30
|
+
intervalSeconds?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof DeviceLoginPollResponse
|
|
35
|
+
*/
|
|
36
|
+
expiresAt?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {LoginResponse}
|
|
40
|
+
* @memberof DeviceLoginPollResponse
|
|
41
|
+
*/
|
|
42
|
+
login?: LoginResponse;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const DeviceLoginPollResponseStatusEnum: {
|
|
48
|
+
readonly Pending: "pending";
|
|
49
|
+
readonly SlowDown: "slow_down";
|
|
50
|
+
readonly Completed: "completed";
|
|
51
|
+
};
|
|
52
|
+
export type DeviceLoginPollResponseStatusEnum = typeof DeviceLoginPollResponseStatusEnum[keyof typeof DeviceLoginPollResponseStatusEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the DeviceLoginPollResponse interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfDeviceLoginPollResponse(value: object): value is DeviceLoginPollResponse;
|
|
57
|
+
export declare function DeviceLoginPollResponseFromJSON(json: any): DeviceLoginPollResponse;
|
|
58
|
+
export declare function DeviceLoginPollResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceLoginPollResponse;
|
|
59
|
+
export declare function DeviceLoginPollResponseToJSON(json: any): DeviceLoginPollResponse;
|
|
60
|
+
export declare function DeviceLoginPollResponseToJSONTyped(value?: DeviceLoginPollResponse | null, ignoreDiscriminator?: boolean): any;
|
|
61
|
+
//# sourceMappingURL=DeviceLoginPollResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviceLoginPollResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/DeviceLoginPollResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,MAAM,EAAE,iCAAiC,CAAC;IAC1C;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB;AAGD;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAGjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAWrH;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,CAYpI"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { LoginResponseFromJSON, LoginResponseToJSON, } from './LoginResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const DeviceLoginPollResponseStatusEnum = {
|
|
19
|
+
Pending: 'pending',
|
|
20
|
+
SlowDown: 'slow_down',
|
|
21
|
+
Completed: 'completed'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the DeviceLoginPollResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfDeviceLoginPollResponse(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function DeviceLoginPollResponseFromJSON(json) {
|
|
32
|
+
return DeviceLoginPollResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function DeviceLoginPollResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'status': json['status'],
|
|
40
|
+
'intervalSeconds': json['interval_seconds'] == null ? undefined : json['interval_seconds'],
|
|
41
|
+
'expiresAt': json['expires_at'] == null ? undefined : json['expires_at'],
|
|
42
|
+
'login': json['login'] == null ? undefined : LoginResponseFromJSON(json['login']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function DeviceLoginPollResponseToJSON(json) {
|
|
46
|
+
return DeviceLoginPollResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function DeviceLoginPollResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'status': value['status'],
|
|
54
|
+
'interval_seconds': value['intervalSeconds'],
|
|
55
|
+
'expires_at': value['expiresAt'],
|
|
56
|
+
'login': LoginResponseToJSON(value['login']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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 DeviceLoginStartResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface DeviceLoginStartResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DeviceLoginStartResponse
|
|
22
|
+
*/
|
|
23
|
+
deviceLoginId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DeviceLoginStartResponse
|
|
28
|
+
*/
|
|
29
|
+
userCode: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DeviceLoginStartResponse
|
|
34
|
+
*/
|
|
35
|
+
verificationUri: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DeviceLoginStartResponse
|
|
40
|
+
*/
|
|
41
|
+
verificationUriComplete?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof DeviceLoginStartResponse
|
|
46
|
+
*/
|
|
47
|
+
expiresAt: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof DeviceLoginStartResponse
|
|
52
|
+
*/
|
|
53
|
+
intervalSeconds: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the DeviceLoginStartResponse interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfDeviceLoginStartResponse(value: object): value is DeviceLoginStartResponse;
|
|
59
|
+
export declare function DeviceLoginStartResponseFromJSON(json: any): DeviceLoginStartResponse;
|
|
60
|
+
export declare function DeviceLoginStartResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceLoginStartResponse;
|
|
61
|
+
export declare function DeviceLoginStartResponseToJSON(json: any): DeviceLoginStartResponse;
|
|
62
|
+
export declare function DeviceLoginStartResponseToJSONTyped(value?: DeviceLoginStartResponse | null, ignoreDiscriminator?: boolean): any;
|
|
63
|
+
//# sourceMappingURL=DeviceLoginStartResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviceLoginStartResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/DeviceLoginStartResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAOnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAavH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CActI"}
|
|
@@ -0,0 +1,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
|
+
* Check if a given object implements the DeviceLoginStartResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDeviceLoginStartResponse(value) {
|
|
18
|
+
if (!('deviceLoginId' in value) || value['deviceLoginId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('userCode' in value) || value['userCode'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('verificationUri' in value) || value['verificationUri'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('intervalSeconds' in value) || value['intervalSeconds'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function DeviceLoginStartResponseFromJSON(json) {
|
|
31
|
+
return DeviceLoginStartResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function DeviceLoginStartResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'deviceLoginId': json['device_login_id'],
|
|
39
|
+
'userCode': json['user_code'],
|
|
40
|
+
'verificationUri': json['verification_uri'],
|
|
41
|
+
'verificationUriComplete': json['verification_uri_complete'] == null ? undefined : json['verification_uri_complete'],
|
|
42
|
+
'expiresAt': json['expires_at'],
|
|
43
|
+
'intervalSeconds': json['interval_seconds'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function DeviceLoginStartResponseToJSON(json) {
|
|
47
|
+
return DeviceLoginStartResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function DeviceLoginStartResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'device_login_id': value['deviceLoginId'],
|
|
55
|
+
'user_code': value['userCode'],
|
|
56
|
+
'verification_uri': value['verificationUri'],
|
|
57
|
+
'verification_uri_complete': value['verificationUriComplete'],
|
|
58
|
+
'expires_at': value['expiresAt'],
|
|
59
|
+
'interval_seconds': value['intervalSeconds'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -16,6 +16,18 @@ import type { VolumeAccessMode } from './VolumeAccessMode.js';
|
|
|
16
16
|
* @interface ForkVolumeRequest
|
|
17
17
|
*/
|
|
18
18
|
export interface ForkVolumeRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Override the default POSIX UID for external volume access paths. Inherits from the source volume when omitted.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ForkVolumeRequest
|
|
23
|
+
*/
|
|
24
|
+
defaultPosixUid?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Override the default POSIX GID for external volume access paths. Inherits from the source volume when omitted.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ForkVolumeRequest
|
|
29
|
+
*/
|
|
30
|
+
defaultPosixGid?: number;
|
|
19
31
|
/**
|
|
20
32
|
*
|
|
21
33
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ForkVolumeRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ForkVolumeRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAErF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ForkVolumeRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ForkVolumeRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAErF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAczG;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,CAexH"}
|
|
@@ -26,6 +26,8 @@ export function ForkVolumeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
return json;
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
|
+
'defaultPosixUid': json['default_posix_uid'] == null ? undefined : json['default_posix_uid'],
|
|
30
|
+
'defaultPosixGid': json['default_posix_gid'] == null ? undefined : json['default_posix_gid'],
|
|
29
31
|
'cacheSize': json['cache_size'] == null ? undefined : json['cache_size'],
|
|
30
32
|
'prefetch': json['prefetch'] == null ? undefined : json['prefetch'],
|
|
31
33
|
'bufferSize': json['buffer_size'] == null ? undefined : json['buffer_size'],
|
|
@@ -41,6 +43,8 @@ export function ForkVolumeRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
41
43
|
return value;
|
|
42
44
|
}
|
|
43
45
|
return {
|
|
46
|
+
'default_posix_uid': value['defaultPosixUid'],
|
|
47
|
+
'default_posix_gid': value['defaultPosixGid'],
|
|
44
48
|
'cache_size': value['cacheSize'],
|
|
45
49
|
'prefetch': value['prefetch'],
|
|
46
50
|
'buffer_size': value['bufferSize'],
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { User } from './User.js';
|
|
13
|
-
import type { RegionalSession } from './RegionalSession.js';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
@@ -41,12 +40,6 @@ export interface LoginResponse {
|
|
|
41
40
|
* @memberof LoginResponse
|
|
42
41
|
*/
|
|
43
42
|
user: User;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {RegionalSession}
|
|
47
|
-
* @memberof LoginResponse
|
|
48
|
-
*/
|
|
49
|
-
regionalSession?: RegionalSession;
|
|
50
43
|
}
|
|
51
44
|
/**
|
|
52
45
|
* Check if a given object implements the LoginResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoginResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/LoginResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"LoginResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/LoginResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAQnC;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,IAAI,CAAC;CACd;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAM7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAWjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYhH"}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { UserFromJSON, UserToJSON, } from './User.js';
|
|
15
|
-
import { RegionalSessionFromJSON, RegionalSessionToJSON, } from './RegionalSession.js';
|
|
16
15
|
/**
|
|
17
16
|
* Check if a given object implements the LoginResponse interface.
|
|
18
17
|
*/
|
|
@@ -39,7 +38,6 @@ export function LoginResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
38
|
'refreshToken': json['refresh_token'],
|
|
40
39
|
'expiresAt': json['expires_at'],
|
|
41
40
|
'user': UserFromJSON(json['user']),
|
|
42
|
-
'regionalSession': json['regional_session'] == null ? undefined : RegionalSessionFromJSON(json['regional_session']),
|
|
43
41
|
};
|
|
44
42
|
}
|
|
45
43
|
export function LoginResponseToJSON(json) {
|
|
@@ -54,6 +52,5 @@ export function LoginResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
52
|
'refresh_token': value['refreshToken'],
|
|
55
53
|
'expires_at': value['expiresAt'],
|
|
56
54
|
'user': UserToJSON(value['user']),
|
|
57
|
-
'regional_session': RegionalSessionToJSON(value['regionalSession']),
|
|
58
55
|
};
|
|
59
56
|
}
|
|
@@ -20,13 +20,19 @@ export interface MountStatus {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof MountStatus
|
|
22
22
|
*/
|
|
23
|
-
sandboxvolumeId
|
|
23
|
+
sandboxvolumeId: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof MountStatus
|
|
28
28
|
*/
|
|
29
|
-
mountPoint
|
|
29
|
+
mountPoint: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MountStatus
|
|
34
|
+
*/
|
|
35
|
+
state: MountStatusStateEnum;
|
|
30
36
|
/**
|
|
31
37
|
*
|
|
32
38
|
* @type {string}
|
|
@@ -45,7 +51,29 @@ export interface MountStatus {
|
|
|
45
51
|
* @memberof MountStatus
|
|
46
52
|
*/
|
|
47
53
|
mountSessionId?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof MountStatus
|
|
58
|
+
*/
|
|
59
|
+
errorCode?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof MountStatus
|
|
64
|
+
*/
|
|
65
|
+
errorMessage?: string;
|
|
48
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const MountStatusStateEnum: {
|
|
71
|
+
readonly Pending: "pending";
|
|
72
|
+
readonly Mounting: "mounting";
|
|
73
|
+
readonly Mounted: "mounted";
|
|
74
|
+
readonly Failed: "failed";
|
|
75
|
+
};
|
|
76
|
+
export type MountStatusStateEnum = typeof MountStatusStateEnum[keyof typeof MountStatusStateEnum];
|
|
49
77
|
/**
|
|
50
78
|
* Check if a given object implements the MountStatus interface.
|
|
51
79
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MountStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/MountStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,eAAe,
|
|
1
|
+
{"version":3,"file":"MountStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/MountStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAGD;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAGlG;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAKzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAe7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB5G"}
|
|
@@ -11,10 +11,25 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const MountStatusStateEnum = {
|
|
18
|
+
Pending: 'pending',
|
|
19
|
+
Mounting: 'mounting',
|
|
20
|
+
Mounted: 'mounted',
|
|
21
|
+
Failed: 'failed'
|
|
22
|
+
};
|
|
14
23
|
/**
|
|
15
24
|
* Check if a given object implements the MountStatus interface.
|
|
16
25
|
*/
|
|
17
26
|
export function instanceOfMountStatus(value) {
|
|
27
|
+
if (!('sandboxvolumeId' in value) || value['sandboxvolumeId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('mountPoint' in value) || value['mountPoint'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
32
|
+
return false;
|
|
18
33
|
return true;
|
|
19
34
|
}
|
|
20
35
|
export function MountStatusFromJSON(json) {
|
|
@@ -25,11 +40,14 @@ export function MountStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
40
|
return json;
|
|
26
41
|
}
|
|
27
42
|
return {
|
|
28
|
-
'sandboxvolumeId': json['sandboxvolume_id']
|
|
29
|
-
'mountPoint': json['mount_point']
|
|
43
|
+
'sandboxvolumeId': json['sandboxvolume_id'],
|
|
44
|
+
'mountPoint': json['mount_point'],
|
|
45
|
+
'state': json['state'],
|
|
30
46
|
'mountedAt': json['mounted_at'] == null ? undefined : json['mounted_at'],
|
|
31
47
|
'mountedDurationSec': json['mounted_duration_sec'] == null ? undefined : json['mounted_duration_sec'],
|
|
32
48
|
'mountSessionId': json['mount_session_id'] == null ? undefined : json['mount_session_id'],
|
|
49
|
+
'errorCode': json['error_code'] == null ? undefined : json['error_code'],
|
|
50
|
+
'errorMessage': json['error_message'] == null ? undefined : json['error_message'],
|
|
33
51
|
};
|
|
34
52
|
}
|
|
35
53
|
export function MountStatusToJSON(json) {
|
|
@@ -42,8 +60,11 @@ export function MountStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
42
60
|
return {
|
|
43
61
|
'sandboxvolume_id': value['sandboxvolumeId'],
|
|
44
62
|
'mount_point': value['mountPoint'],
|
|
63
|
+
'state': value['state'],
|
|
45
64
|
'mounted_at': value['mountedAt'],
|
|
46
65
|
'mounted_duration_sec': value['mountedDurationSec'],
|
|
47
66
|
'mount_session_id': value['mountSessionId'],
|
|
67
|
+
'error_code': value['errorCode'],
|
|
68
|
+
'error_message': value['errorMessage'],
|
|
48
69
|
};
|
|
49
70
|
}
|
|
@@ -34,7 +34,7 @@ export interface RegisterRequest {
|
|
|
34
34
|
*/
|
|
35
35
|
name: string;
|
|
36
36
|
/**
|
|
37
|
-
* Required in global-gateway mode because registration creates the user's
|
|
37
|
+
* Required in global-gateway mode because registration creates the user's initial team.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof RegisterRequest
|
|
40
40
|
*/
|
|
@@ -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 RegistryCredentialsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RegistryCredentialsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Target image name and tag requested for push, without credentials.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegistryCredentialsRequest
|
|
22
|
+
*/
|
|
23
|
+
targetImage?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RegistryCredentialsRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRegistryCredentialsRequest(value: object): value is RegistryCredentialsRequest;
|
|
29
|
+
export declare function RegistryCredentialsRequestFromJSON(json: any): RegistryCredentialsRequest;
|
|
30
|
+
export declare function RegistryCredentialsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegistryCredentialsRequest;
|
|
31
|
+
export declare function RegistryCredentialsRequestToJSON(json: any): RegistryCredentialsRequest;
|
|
32
|
+
export declare function RegistryCredentialsRequestToJSONTyped(value?: RegistryCredentialsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=RegistryCredentialsRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegistryCredentialsRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/RegistryCredentialsRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAEvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAQ3H;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,CAS1I"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 RegistryCredentialsRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRegistryCredentialsRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function RegistryCredentialsRequestFromJSON(json) {
|
|
21
|
+
return RegistryCredentialsRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function RegistryCredentialsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'targetImage': json['targetImage'] == null ? undefined : json['targetImage'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function RegistryCredentialsRequestToJSON(json) {
|
|
32
|
+
return RegistryCredentialsRequestToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function RegistryCredentialsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'targetImage': value['targetImage'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -40,6 +40,18 @@ export interface SandboxVolume {
|
|
|
40
40
|
* @memberof SandboxVolume
|
|
41
41
|
*/
|
|
42
42
|
sourceVolumeId?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof SandboxVolume
|
|
47
|
+
*/
|
|
48
|
+
defaultPosixUid?: number | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof SandboxVolume
|
|
53
|
+
*/
|
|
54
|
+
defaultPosixGid?: number | null;
|
|
43
55
|
/**
|
|
44
56
|
*
|
|
45
57
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxVolume.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxVolume.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAID;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAS7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,
|
|
1
|
+
{"version":3,"file":"SandboxVolume.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxVolume.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAID;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAS7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAoBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqBhH"}
|
|
@@ -44,6 +44,8 @@ export function SandboxVolumeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'teamId': json['team_id'],
|
|
45
45
|
'userId': json['user_id'],
|
|
46
46
|
'sourceVolumeId': json['source_volume_id'] == null ? undefined : json['source_volume_id'],
|
|
47
|
+
'defaultPosixUid': json['default_posix_uid'] == null ? undefined : json['default_posix_uid'],
|
|
48
|
+
'defaultPosixGid': json['default_posix_gid'] == null ? undefined : json['default_posix_gid'],
|
|
47
49
|
'cacheSize': json['cache_size'],
|
|
48
50
|
'prefetch': json['prefetch'] == null ? undefined : json['prefetch'],
|
|
49
51
|
'bufferSize': json['buffer_size'],
|
|
@@ -65,6 +67,8 @@ export function SandboxVolumeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
65
67
|
'team_id': value['teamId'],
|
|
66
68
|
'user_id': value['userId'],
|
|
67
69
|
'source_volume_id': value['sourceVolumeId'],
|
|
70
|
+
'default_posix_uid': value['defaultPosixUid'],
|
|
71
|
+
'default_posix_gid': value['defaultPosixGid'],
|
|
68
72
|
'cache_size': value['cacheSize'],
|
|
69
73
|
'prefetch': value['prefetch'],
|
|
70
74
|
'buffer_size': value['bufferSize'],
|