sandbox0 0.2.7 → 0.3.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/README.md +0 -2
- package/dist/apispec/src/apis/AuthApi.d.ts +15 -1
- package/dist/apispec/src/apis/AuthApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/AuthApi.js +33 -1
- package/dist/apispec/src/apis/ContextsApi.d.ts +6 -4
- package/dist/apispec/src/apis/ContextsApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/ContextsApi.js +6 -4
- package/dist/apispec/src/apis/SandboxVolumesApi.d.ts +1 -36
- package/dist/apispec/src/apis/SandboxVolumesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxVolumesApi.js +1 -110
- package/dist/apispec/src/apis/SandboxesApi.d.ts +20 -0
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +61 -0
- package/dist/apispec/src/models/APIKey.d.ts +2 -2
- package/dist/apispec/src/models/APIKey.d.ts.map +1 -1
- package/dist/apispec/src/models/APIKey.js +3 -3
- package/dist/apispec/src/models/ClaimMountRequest.d.ts +0 -7
- package/dist/apispec/src/models/ClaimMountRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimMountRequest.js +0 -3
- package/dist/apispec/src/models/ClaimRequest.d.ts +0 -17
- package/dist/apispec/src/models/ClaimRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimRequest.js +0 -4
- package/dist/apispec/src/models/ContextInputRequest.d.ts +1 -1
- package/dist/apispec/src/models/ContextWebSocketInput.d.ts +1 -1
- package/dist/apispec/src/models/CreateAPIKeyRequest.d.ts +3 -11
- package/dist/apispec/src/models/CreateAPIKeyRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/CreateAPIKeyRequest.js +2 -11
- package/dist/apispec/src/models/CreateAPIKeyResponse.d.ts +1 -1
- package/dist/apispec/src/models/CreateAPIKeyResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/CreateAPIKeyResponse.js +3 -3
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts +0 -24
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/CreateSandboxVolumeRequest.js +0 -8
- package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts +1 -1
- package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/CurrentAPIKeyResponse.js +3 -3
- package/dist/apispec/src/models/ForkVolumeRequest.d.ts +0 -24
- package/dist/apispec/src/models/ForkVolumeRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/ForkVolumeRequest.js +0 -8
- package/dist/apispec/src/models/HTTPGetAction.d.ts +2 -3
- package/dist/apispec/src/models/HTTPGetAction.d.ts.map +1 -1
- package/dist/apispec/src/models/HTTPGetAction.js +2 -3
- package/dist/apispec/src/models/MountStatus.d.ts +0 -6
- package/dist/apispec/src/models/MountStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/MountStatus.js +0 -2
- package/dist/apispec/src/models/SandboxProbeSet.d.ts +46 -0
- package/dist/apispec/src/models/SandboxProbeSet.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxProbeSet.js +46 -0
- package/dist/apispec/src/models/SandboxProbeSpec.d.ts +66 -0
- package/dist/apispec/src/models/SandboxProbeSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxProbeSpec.js +54 -0
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +7 -0
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateSpec.js +3 -0
- package/dist/apispec/src/models/SandboxVolume.d.ts +0 -24
- package/dist/apispec/src/models/SandboxVolume.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxVolume.js +0 -12
- package/dist/apispec/src/models/TCPSocketAction.d.ts +2 -3
- package/dist/apispec/src/models/TCPSocketAction.d.ts.map +1 -1
- package/dist/apispec/src/models/TCPSocketAction.js +2 -3
- package/dist/apispec/src/models/VolumeMountSpec.d.ts +45 -0
- package/dist/apispec/src/models/VolumeMountSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeMountSpec.js +49 -0
- package/dist/apispec/src/models/WarmProcessSpec.d.ts +13 -0
- package/dist/apispec/src/models/WarmProcessSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/WarmProcessSpec.js +5 -0
- package/dist/apispec/src/models/WebLoginExchangeRequest.d.ts +39 -0
- package/dist/apispec/src/models/WebLoginExchangeRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/WebLoginExchangeRequest.js +47 -0
- package/dist/apispec/src/models/WebhookConfig.d.ts +1 -0
- package/dist/apispec/src/models/WebhookConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/index.d.ts +4 -10
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +4 -10
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +98 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/models.d.ts +22 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/resources/sandboxes.d.ts +0 -2
- package/dist/resources/sandboxes.d.ts.map +1 -1
- package/dist/resources/sandboxes.js +1 -5
- package/dist/sandbox_logs.d.ts +8 -0
- package/dist/sandbox_logs.d.ts.map +1 -0
- package/dist/sandbox_logs.js +10 -0
- package/package.json +1 -1
- package/dist/apispec/src/models/ActiveTeam.d.ts +0 -63
- package/dist/apispec/src/models/ActiveTeam.d.ts.map +0 -1
- package/dist/apispec/src/models/ActiveTeam.js +0 -57
- package/dist/apispec/src/models/MountRequest.d.ts +0 -52
- package/dist/apispec/src/models/MountRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/MountRequest.js +0 -52
- package/dist/apispec/src/models/MountResponse.d.ts +0 -51
- package/dist/apispec/src/models/MountResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/MountResponse.js +0 -55
- package/dist/apispec/src/models/ProbePort.d.ts +0 -22
- package/dist/apispec/src/models/ProbePort.d.ts.map +0 -1
- package/dist/apispec/src/models/ProbePort.js +0 -43
- package/dist/apispec/src/models/SuccessActiveTeamResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessActiveTeamResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessActiveTeamResponse.js +0 -46
- package/dist/apispec/src/models/SuccessMountResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessMountResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessMountResponse.js +0 -46
- package/dist/apispec/src/models/SuccessMountStatusResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessMountStatusResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessMountStatusResponse.js +0 -46
- package/dist/apispec/src/models/SuccessMountStatusResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessMountStatusResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessMountStatusResponseAllOfData.js +0 -42
- package/dist/apispec/src/models/SuccessUnmountedResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessUnmountedResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessUnmountedResponse.js +0 -46
- package/dist/apispec/src/models/SuccessUnmountedResponseAllOfData.d.ts +0 -33
- package/dist/apispec/src/models/SuccessUnmountedResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessUnmountedResponseAllOfData.js +0 -41
- package/dist/apispec/src/models/TplSandboxNetworkPolicy.d.ts +0 -51
- package/dist/apispec/src/models/TplSandboxNetworkPolicy.d.ts.map +0 -1
- package/dist/apispec/src/models/TplSandboxNetworkPolicy.js +0 -53
- package/dist/apispec/src/models/UnmountRequest.d.ts +0 -39
- package/dist/apispec/src/models/UnmountRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/UnmountRequest.js +0 -47
- package/dist/apispec/src/models/VolumeConfig.d.ts +0 -51
- package/dist/apispec/src/models/VolumeConfig.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeConfig.js +0 -47
- package/dist/sandbox_volumes.d.ts +0 -10
- package/dist/sandbox_volumes.d.ts.map +0 -1
- package/dist/sandbox_volumes.js +0 -42
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { VolumeConfig } from './VolumeConfig.js';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -28,12 +27,6 @@ export interface ClaimMountRequest {
|
|
|
28
27
|
* @memberof ClaimMountRequest
|
|
29
28
|
*/
|
|
30
29
|
mountPoint: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {VolumeConfig}
|
|
34
|
-
* @memberof ClaimMountRequest
|
|
35
|
-
*/
|
|
36
|
-
volumeConfig?: VolumeConfig;
|
|
37
30
|
}
|
|
38
31
|
/**
|
|
39
32
|
* Check if a given object implements the ClaimMountRequest interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClaimMountRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ClaimMountRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH
|
|
1
|
+
{"version":3,"file":"ClaimMountRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ClaimMountRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAIrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CASzG;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,CAUxH"}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { VolumeConfigFromJSON, VolumeConfigToJSON, } from './VolumeConfig.js';
|
|
15
14
|
/**
|
|
16
15
|
* Check if a given object implements the ClaimMountRequest interface.
|
|
17
16
|
*/
|
|
@@ -32,7 +31,6 @@ export function ClaimMountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
31
|
return {
|
|
33
32
|
'sandboxvolumeId': json['sandboxvolume_id'],
|
|
34
33
|
'mountPoint': json['mount_point'],
|
|
35
|
-
'volumeConfig': json['volume_config'] == null ? undefined : VolumeConfigFromJSON(json['volume_config']),
|
|
36
34
|
};
|
|
37
35
|
}
|
|
38
36
|
export function ClaimMountRequestToJSON(json) {
|
|
@@ -45,6 +43,5 @@ export function ClaimMountRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
45
43
|
return {
|
|
46
44
|
'sandboxvolume_id': value['sandboxvolumeId'],
|
|
47
45
|
'mount_point': value['mountPoint'],
|
|
48
|
-
'volume_config': VolumeConfigToJSON(value['volumeConfig']),
|
|
49
46
|
};
|
|
50
47
|
}
|
|
@@ -35,23 +35,6 @@ export interface ClaimRequest {
|
|
|
35
35
|
* @memberof ClaimRequest
|
|
36
36
|
*/
|
|
37
37
|
mounts?: Array<ClaimMountRequest>;
|
|
38
|
-
/**
|
|
39
|
-
* When true, claim waits best-effort for requested bootstrap mounts to
|
|
40
|
-
* reach a terminal state before returning. The wait is bounded by
|
|
41
|
-
* `mount_wait_timeout_ms`.
|
|
42
|
-
*
|
|
43
|
-
* @type {boolean}
|
|
44
|
-
* @memberof ClaimRequest
|
|
45
|
-
*/
|
|
46
|
-
waitForMounts?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Optional best-effort wait budget in milliseconds for bootstrap
|
|
49
|
-
* mounts when `wait_for_mounts` is true.
|
|
50
|
-
*
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof ClaimRequest
|
|
53
|
-
*/
|
|
54
|
-
mountWaitTimeoutMs?: number;
|
|
55
38
|
}
|
|
56
39
|
/**
|
|
57
40
|
* Check if a given object implements the ClaimRequest interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClaimRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ClaimRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ClaimRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ClaimRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAE3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAU/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9G"}
|
|
@@ -30,8 +30,6 @@ export function ClaimRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'template': json['template'] == null ? undefined : json['template'],
|
|
31
31
|
'config': json['config'] == null ? undefined : SandboxConfigFromJSON(json['config']),
|
|
32
32
|
'mounts': json['mounts'] == null ? undefined : (json['mounts'].map(ClaimMountRequestFromJSON)),
|
|
33
|
-
'waitForMounts': json['wait_for_mounts'] == null ? undefined : json['wait_for_mounts'],
|
|
34
|
-
'mountWaitTimeoutMs': json['mount_wait_timeout_ms'] == null ? undefined : json['mount_wait_timeout_ms'],
|
|
35
33
|
};
|
|
36
34
|
}
|
|
37
35
|
export function ClaimRequestToJSON(json) {
|
|
@@ -45,7 +43,5 @@ export function ClaimRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
43
|
'template': value['template'],
|
|
46
44
|
'config': SandboxConfigToJSON(value['config']),
|
|
47
45
|
'mounts': value['mounts'] == null ? undefined : (value['mounts'].map(ClaimMountRequestToJSON)),
|
|
48
|
-
'wait_for_mounts': value['waitForMounts'],
|
|
49
|
-
'mount_wait_timeout_ms': value['mountWaitTimeoutMs'],
|
|
50
46
|
};
|
|
51
47
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ContextInputRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Input bytes encoded as a string. The /input endpoint writes this value exactly as provided. The /exec endpoint appends a trailing newline for REPL contexts when missing.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ContextInputRequest
|
|
22
22
|
*/
|
|
@@ -22,7 +22,7 @@ export interface ContextWebSocketInput {
|
|
|
22
22
|
*/
|
|
23
23
|
type: ContextWebSocketInputTypeEnum;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Input bytes encoded as a string. The WebSocket endpoint writes this value exactly as provided and does not append a newline.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ContextWebSocketInput
|
|
28
28
|
*/
|
|
@@ -22,13 +22,13 @@ export interface CreateAPIKeyRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* API key scope: team or platform. Defaults to team. platform keys grant system admin access, require a system admin user session, and do not support roles.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateAPIKeyRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
scope?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Requested API key roles. Supported roles: admin, developer, builder, viewer. The roles must not grant permissions outside the authenticated caller's permissions.
|
|
32
32
|
* @type {Array<string>}
|
|
33
33
|
* @memberof CreateAPIKeyRequest
|
|
34
34
|
*/
|
|
@@ -40,14 +40,6 @@ export interface CreateAPIKeyRequest {
|
|
|
40
40
|
*/
|
|
41
41
|
expiresIn?: string;
|
|
42
42
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const CreateAPIKeyRequestTypeEnum: {
|
|
47
|
-
readonly User: "user";
|
|
48
|
-
readonly Service: "service";
|
|
49
|
-
};
|
|
50
|
-
export type CreateAPIKeyRequestTypeEnum = typeof CreateAPIKeyRequestTypeEnum[keyof typeof CreateAPIKeyRequestTypeEnum];
|
|
51
43
|
/**
|
|
52
44
|
* Check if a given object implements the CreateAPIKeyRequest interface.
|
|
53
45
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateAPIKeyRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateAPIKeyRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"CreateAPIKeyRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateAPIKeyRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAGzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAW7G;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,CAY5H"}
|
|
@@ -11,21 +11,12 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
/**
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const CreateAPIKeyRequestTypeEnum = {
|
|
18
|
-
User: 'user',
|
|
19
|
-
Service: 'service'
|
|
20
|
-
};
|
|
21
14
|
/**
|
|
22
15
|
* Check if a given object implements the CreateAPIKeyRequest interface.
|
|
23
16
|
*/
|
|
24
17
|
export function instanceOfCreateAPIKeyRequest(value) {
|
|
25
18
|
if (!('name' in value) || value['name'] === undefined)
|
|
26
19
|
return false;
|
|
27
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
-
return false;
|
|
29
20
|
return true;
|
|
30
21
|
}
|
|
31
22
|
export function CreateAPIKeyRequestFromJSON(json) {
|
|
@@ -37,7 +28,7 @@ export function CreateAPIKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
28
|
}
|
|
38
29
|
return {
|
|
39
30
|
'name': json['name'],
|
|
40
|
-
'
|
|
31
|
+
'scope': json['scope'] == null ? undefined : json['scope'],
|
|
41
32
|
'roles': json['roles'] == null ? undefined : json['roles'],
|
|
42
33
|
'expiresIn': json['expires_in'] == null ? undefined : json['expires_in'],
|
|
43
34
|
};
|
|
@@ -51,7 +42,7 @@ export function CreateAPIKeyRequestToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
51
42
|
}
|
|
52
43
|
return {
|
|
53
44
|
'name': value['name'],
|
|
54
|
-
'
|
|
45
|
+
'scope': value['scope'],
|
|
55
46
|
'roles': value['roles'],
|
|
56
47
|
'expires_in': value['expiresIn'],
|
|
57
48
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateAPIKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateAPIKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"CreateAPIKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateAPIKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAS3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAe/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB9H"}
|
|
@@ -19,7 +19,7 @@ export function instanceOfCreateAPIKeyResponse(value) {
|
|
|
19
19
|
return false;
|
|
20
20
|
if (!('name' in value) || value['name'] === undefined)
|
|
21
21
|
return false;
|
|
22
|
-
if (!('
|
|
22
|
+
if (!('scope' in value) || value['scope'] === undefined)
|
|
23
23
|
return false;
|
|
24
24
|
if (!('roles' in value) || value['roles'] === undefined)
|
|
25
25
|
return false;
|
|
@@ -41,7 +41,7 @@ export function CreateAPIKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return {
|
|
42
42
|
'id': json['id'],
|
|
43
43
|
'name': json['name'],
|
|
44
|
-
'
|
|
44
|
+
'scope': json['scope'],
|
|
45
45
|
'roles': json['roles'],
|
|
46
46
|
'teamId': json['team_id'],
|
|
47
47
|
'key': json['key'] == null ? undefined : json['key'],
|
|
@@ -59,7 +59,7 @@ export function CreateAPIKeyResponseToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
59
59
|
return {
|
|
60
60
|
'id': value['id'],
|
|
61
61
|
'name': value['name'],
|
|
62
|
-
'
|
|
62
|
+
'scope': value['scope'],
|
|
63
63
|
'roles': value['roles'],
|
|
64
64
|
'team_id': value['teamId'],
|
|
65
65
|
'key': value['key'],
|
|
@@ -28,30 +28,6 @@ export interface CreateSandboxVolumeRequest {
|
|
|
28
28
|
* @memberof CreateSandboxVolumeRequest
|
|
29
29
|
*/
|
|
30
30
|
defaultPosixGid?: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof CreateSandboxVolumeRequest
|
|
35
|
-
*/
|
|
36
|
-
cacheSize?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof CreateSandboxVolumeRequest
|
|
41
|
-
*/
|
|
42
|
-
prefetch?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof CreateSandboxVolumeRequest
|
|
47
|
-
*/
|
|
48
|
-
bufferSize?: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {boolean}
|
|
52
|
-
* @memberof CreateSandboxVolumeRequest
|
|
53
|
-
*/
|
|
54
|
-
writeback?: boolean;
|
|
55
31
|
/**
|
|
56
32
|
*
|
|
57
33
|
* @type {VolumeAccessMode}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSandboxVolumeRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateSandboxVolumeRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"CreateSandboxVolumeRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateSandboxVolumeRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAID;;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,CAU3H;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,CAW1I"}
|
|
@@ -28,10 +28,6 @@ export function CreateSandboxVolumeRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
28
28
|
return {
|
|
29
29
|
'defaultPosixUid': json['default_posix_uid'] == null ? undefined : json['default_posix_uid'],
|
|
30
30
|
'defaultPosixGid': json['default_posix_gid'] == null ? undefined : json['default_posix_gid'],
|
|
31
|
-
'cacheSize': json['cache_size'] == null ? undefined : json['cache_size'],
|
|
32
|
-
'prefetch': json['prefetch'] == null ? undefined : json['prefetch'],
|
|
33
|
-
'bufferSize': json['buffer_size'] == null ? undefined : json['buffer_size'],
|
|
34
|
-
'writeback': json['writeback'] == null ? undefined : json['writeback'],
|
|
35
31
|
'accessMode': json['access_mode'] == null ? undefined : VolumeAccessModeFromJSON(json['access_mode']),
|
|
36
32
|
};
|
|
37
33
|
}
|
|
@@ -45,10 +41,6 @@ export function CreateSandboxVolumeRequestToJSONTyped(value, ignoreDiscriminator
|
|
|
45
41
|
return {
|
|
46
42
|
'default_posix_uid': value['defaultPosixUid'],
|
|
47
43
|
'default_posix_gid': value['defaultPosixGid'],
|
|
48
|
-
'cache_size': value['cacheSize'],
|
|
49
|
-
'prefetch': value['prefetch'],
|
|
50
|
-
'buffer_size': value['bufferSize'],
|
|
51
|
-
'writeback': value['writeback'],
|
|
52
44
|
'access_mode': VolumeAccessModeToJSON(value['accessMode']),
|
|
53
45
|
};
|
|
54
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CurrentAPIKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CurrentAPIKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"CurrentAPIKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CurrentAPIKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAU7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAejH;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,CAgBhI"}
|
|
@@ -21,7 +21,7 @@ export function instanceOfCurrentAPIKeyResponse(value) {
|
|
|
21
21
|
return false;
|
|
22
22
|
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
23
23
|
return false;
|
|
24
|
-
if (!('
|
|
24
|
+
if (!('scope' in value) || value['scope'] === undefined)
|
|
25
25
|
return false;
|
|
26
26
|
if (!('roles' in value) || value['roles'] === undefined)
|
|
27
27
|
return false;
|
|
@@ -44,7 +44,7 @@ export function CurrentAPIKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'id': json['id'],
|
|
45
45
|
'teamId': json['team_id'],
|
|
46
46
|
'createdBy': json['created_by'],
|
|
47
|
-
'
|
|
47
|
+
'scope': json['scope'],
|
|
48
48
|
'roles': json['roles'],
|
|
49
49
|
'permissions': json['permissions'],
|
|
50
50
|
'isActive': json['is_active'],
|
|
@@ -62,7 +62,7 @@ export function CurrentAPIKeyResponseToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
62
62
|
'id': value['id'],
|
|
63
63
|
'team_id': value['teamId'],
|
|
64
64
|
'created_by': value['createdBy'],
|
|
65
|
-
'
|
|
65
|
+
'scope': value['scope'],
|
|
66
66
|
'roles': value['roles'],
|
|
67
67
|
'permissions': value['permissions'],
|
|
68
68
|
'is_active': value['isActive'],
|
|
@@ -28,30 +28,6 @@ export interface ForkVolumeRequest {
|
|
|
28
28
|
* @memberof ForkVolumeRequest
|
|
29
29
|
*/
|
|
30
30
|
defaultPosixGid?: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ForkVolumeRequest
|
|
35
|
-
*/
|
|
36
|
-
cacheSize?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ForkVolumeRequest
|
|
41
|
-
*/
|
|
42
|
-
prefetch?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ForkVolumeRequest
|
|
47
|
-
*/
|
|
48
|
-
bufferSize?: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {boolean}
|
|
52
|
-
* @memberof ForkVolumeRequest
|
|
53
|
-
*/
|
|
54
|
-
writeback?: boolean;
|
|
55
31
|
/**
|
|
56
32
|
*
|
|
57
33
|
* @type {VolumeAccessMode}
|
|
@@ -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,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,
|
|
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,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,CAUzG;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,CAWxH"}
|
|
@@ -28,10 +28,6 @@ export function ForkVolumeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
return {
|
|
29
29
|
'defaultPosixUid': json['default_posix_uid'] == null ? undefined : json['default_posix_uid'],
|
|
30
30
|
'defaultPosixGid': json['default_posix_gid'] == null ? undefined : json['default_posix_gid'],
|
|
31
|
-
'cacheSize': json['cache_size'] == null ? undefined : json['cache_size'],
|
|
32
|
-
'prefetch': json['prefetch'] == null ? undefined : json['prefetch'],
|
|
33
|
-
'bufferSize': json['buffer_size'] == null ? undefined : json['buffer_size'],
|
|
34
|
-
'writeback': json['writeback'] == null ? undefined : json['writeback'],
|
|
35
31
|
'accessMode': json['access_mode'] == null ? undefined : VolumeAccessModeFromJSON(json['access_mode']),
|
|
36
32
|
};
|
|
37
33
|
}
|
|
@@ -45,10 +41,6 @@ export function ForkVolumeRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
45
41
|
return {
|
|
46
42
|
'default_posix_uid': value['defaultPosixUid'],
|
|
47
43
|
'default_posix_gid': value['defaultPosixGid'],
|
|
48
|
-
'cache_size': value['cacheSize'],
|
|
49
|
-
'prefetch': value['prefetch'],
|
|
50
|
-
'buffer_size': value['bufferSize'],
|
|
51
|
-
'writeback': value['writeback'],
|
|
52
44
|
'access_mode': VolumeAccessModeToJSON(value['accessMode']),
|
|
53
45
|
};
|
|
54
46
|
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ProbePort } from './ProbePort.js';
|
|
13
12
|
import type { HTTPHeader } from './HTTPHeader.js';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
@@ -25,10 +24,10 @@ export interface HTTPGetAction {
|
|
|
25
24
|
path?: string;
|
|
26
25
|
/**
|
|
27
26
|
*
|
|
28
|
-
* @type {
|
|
27
|
+
* @type {number}
|
|
29
28
|
* @memberof HTTPGetAction
|
|
30
29
|
*/
|
|
31
|
-
port:
|
|
30
|
+
port: number;
|
|
32
31
|
/**
|
|
33
32
|
*
|
|
34
33
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HTTPGetAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPGetAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"HTTPGetAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPGetAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ/C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAG7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAYjG;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,CAahH"}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { ProbePortFromJSON, ProbePortToJSON, } from './ProbePort.js';
|
|
15
14
|
import { HTTPHeaderFromJSON, HTTPHeaderToJSON, } from './HTTPHeader.js';
|
|
16
15
|
/**
|
|
17
16
|
* Check if a given object implements the HTTPGetAction interface.
|
|
@@ -30,7 +29,7 @@ export function HTTPGetActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
29
|
}
|
|
31
30
|
return {
|
|
32
31
|
'path': json['path'] == null ? undefined : json['path'],
|
|
33
|
-
'port':
|
|
32
|
+
'port': json['port'],
|
|
34
33
|
'host': json['host'] == null ? undefined : json['host'],
|
|
35
34
|
'scheme': json['scheme'] == null ? undefined : json['scheme'],
|
|
36
35
|
'httpHeaders': json['httpHeaders'] == null ? undefined : (json['httpHeaders'].map(HTTPHeaderFromJSON)),
|
|
@@ -45,7 +44,7 @@ export function HTTPGetActionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
44
|
}
|
|
46
45
|
return {
|
|
47
46
|
'path': value['path'],
|
|
48
|
-
'port':
|
|
47
|
+
'port': value['port'],
|
|
49
48
|
'host': value['host'],
|
|
50
49
|
'scheme': value['scheme'],
|
|
51
50
|
'httpHeaders': value['httpHeaders'] == null ? undefined : (value['httpHeaders'].map(HTTPHeaderToJSON)),
|
|
@@ -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,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,
|
|
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,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,CAc7F;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,CAe5G"}
|
|
@@ -45,7 +45,6 @@ export function MountStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'state': json['state'],
|
|
46
46
|
'mountedAt': json['mounted_at'] == null ? undefined : json['mounted_at'],
|
|
47
47
|
'mountedDurationSec': json['mounted_duration_sec'] == null ? undefined : json['mounted_duration_sec'],
|
|
48
|
-
'mountSessionId': json['mount_session_id'] == null ? undefined : json['mount_session_id'],
|
|
49
48
|
'errorCode': json['error_code'] == null ? undefined : json['error_code'],
|
|
50
49
|
'errorMessage': json['error_message'] == null ? undefined : json['error_message'],
|
|
51
50
|
};
|
|
@@ -63,7 +62,6 @@ export function MountStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
63
62
|
'state': value['state'],
|
|
64
63
|
'mounted_at': value['mountedAt'],
|
|
65
64
|
'mounted_duration_sec': value['mountedDurationSec'],
|
|
66
|
-
'mount_session_id': value['mountSessionId'],
|
|
67
65
|
'error_code': value['errorCode'],
|
|
68
66
|
'error_message': value['errorMessage'],
|
|
69
67
|
};
|
|
@@ -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 { SandboxProbeSpec } from './SandboxProbeSpec.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SandboxProbeSet
|
|
17
|
+
*/
|
|
18
|
+
export interface SandboxProbeSet {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SandboxProbeSpec}
|
|
22
|
+
* @memberof SandboxProbeSet
|
|
23
|
+
*/
|
|
24
|
+
startup?: SandboxProbeSpec;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SandboxProbeSpec}
|
|
28
|
+
* @memberof SandboxProbeSet
|
|
29
|
+
*/
|
|
30
|
+
readiness?: SandboxProbeSpec;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SandboxProbeSpec}
|
|
34
|
+
* @memberof SandboxProbeSet
|
|
35
|
+
*/
|
|
36
|
+
liveness?: SandboxProbeSpec;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SandboxProbeSet interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSandboxProbeSet(value: object): value is SandboxProbeSet;
|
|
42
|
+
export declare function SandboxProbeSetFromJSON(json: any): SandboxProbeSet;
|
|
43
|
+
export declare function SandboxProbeSetFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxProbeSet;
|
|
44
|
+
export declare function SandboxProbeSetToJSON(json: any): SandboxProbeSet;
|
|
45
|
+
export declare function SandboxProbeSetToJSONTyped(value?: SandboxProbeSet | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=SandboxProbeSet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxProbeSet.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxProbeSet.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAEjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAUrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWpH"}
|
|
@@ -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 { SandboxProbeSpecFromJSON, SandboxProbeSpecToJSON, } from './SandboxProbeSpec.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SandboxProbeSet interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSandboxProbeSet(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SandboxProbeSetFromJSON(json) {
|
|
22
|
+
return SandboxProbeSetFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SandboxProbeSetFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'startup': json['startup'] == null ? undefined : SandboxProbeSpecFromJSON(json['startup']),
|
|
30
|
+
'readiness': json['readiness'] == null ? undefined : SandboxProbeSpecFromJSON(json['readiness']),
|
|
31
|
+
'liveness': json['liveness'] == null ? undefined : SandboxProbeSpecFromJSON(json['liveness']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SandboxProbeSetToJSON(json) {
|
|
35
|
+
return SandboxProbeSetToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SandboxProbeSetToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'startup': SandboxProbeSpecToJSON(value['startup']),
|
|
43
|
+
'readiness': SandboxProbeSpecToJSON(value['readiness']),
|
|
44
|
+
'liveness': SandboxProbeSpecToJSON(value['liveness']),
|
|
45
|
+
};
|
|
46
|
+
}
|