sandbox0 0.4.1 → 0.5.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/FilesApi.d.ts +16 -1
- package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/FilesApi.js +47 -1
- package/dist/apispec/src/apis/QuotasApi.d.ts +53 -0
- package/dist/apispec/src/apis/QuotasApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/QuotasApi.js +124 -0
- package/dist/apispec/src/apis/SandboxesApi.d.ts +4 -14
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +2 -11
- package/dist/apispec/src/apis/index.d.ts +1 -1
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +1 -1
- package/dist/apispec/src/models/ClaimResponse.d.ts +3 -2
- package/dist/apispec/src/models/ClaimResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ClaimResponse.js +3 -2
- package/dist/apispec/src/models/EgressAuthRolloutMode.d.ts +2 -2
- package/dist/apispec/src/models/EgressAuthRolloutMode.js +2 -2
- package/dist/apispec/src/models/MCPProtocolRule.d.ts +34 -0
- package/dist/apispec/src/models/MCPProtocolRule.d.ts.map +1 -0
- package/dist/apispec/src/models/MCPProtocolRule.js +42 -0
- package/dist/apispec/src/models/MCPToolPolicy.d.ts +39 -0
- package/dist/apispec/src/models/MCPToolPolicy.d.ts.map +1 -0
- package/dist/apispec/src/models/MCPToolPolicy.js +43 -0
- package/dist/apispec/src/models/NetworkEgressPolicy.d.ts +9 -0
- package/dist/apispec/src/models/NetworkEgressPolicy.d.ts.map +1 -1
- package/dist/apispec/src/models/NetworkEgressPolicy.js +3 -0
- package/dist/apispec/src/models/ProtocolRule.d.ts +74 -0
- package/dist/apispec/src/models/ProtocolRule.d.ts.map +1 -0
- package/dist/apispec/src/models/ProtocolRule.js +60 -0
- package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts +25 -0
- package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts.map +1 -0
- package/dist/apispec/src/models/ProtocolRuleProtocol.js +42 -0
- package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts +33 -0
- package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/PutTeamQuotaRequest.js +43 -0
- package/dist/apispec/src/models/QuotaDimension.d.ts +31 -0
- package/dist/apispec/src/models/QuotaDimension.d.ts.map +1 -0
- package/dist/apispec/src/models/QuotaDimension.js +48 -0
- package/dist/apispec/src/models/Sandbox.d.ts +3 -2
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +3 -2
- package/dist/apispec/src/models/SandboxAppService.d.ts +1 -1
- package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts +3 -3
- package/dist/apispec/src/models/SandboxConfig.d.ts +1 -1
- package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts +30 -0
- package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxLifecycleStatus.js +47 -0
- package/dist/apispec/src/models/SandboxPowerState.d.ts +2 -2
- package/dist/apispec/src/models/SandboxPowerState.js +2 -2
- package/dist/apispec/src/models/SandboxStatus.d.ts +3 -2
- package/dist/apispec/src/models/SandboxStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxStatus.js +3 -2
- package/dist/apispec/src/models/SandboxSummary.d.ts +3 -12
- package/dist/apispec/src/models/SandboxSummary.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxSummary.js +3 -11
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +1 -1
- package/dist/apispec/src/models/SuccessTeamQuotaResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessTeamQuotaResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessTeamQuotaResponse.js +46 -0
- package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.js +46 -0
- package/dist/apispec/src/models/TeamQuota.d.ts +46 -0
- package/dist/apispec/src/models/TeamQuota.d.ts.map +1 -0
- package/dist/apispec/src/models/TeamQuota.js +50 -0
- package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts +51 -0
- package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeFileArchiveImportResponse.js +55 -0
- package/dist/apispec/src/models/index.d.ts +11 -30
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +11 -30
- package/dist/apispec_compat.d.ts +79 -165
- package/dist/apispec_compat.d.ts.map +1 -1
- package/dist/client.d.ts +0 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +0 -4
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/resources/volumes.d.ts +2 -1
- package/dist/resources/volumes.d.ts.map +1 -1
- package/dist/resources/volumes.js +9 -0
- package/package.json +1 -1
- package/dist/apispec/src/apis/FunctionsApi.d.ts +0 -184
- package/dist/apispec/src/apis/FunctionsApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/FunctionsApi.js +0 -514
- package/dist/apispec/src/models/Function.d.ts +0 -93
- package/dist/apispec/src/models/Function.d.ts.map +0 -1
- package/dist/apispec/src/models/Function.js +0 -77
- package/dist/apispec/src/models/FunctionAlias.d.ts +0 -63
- package/dist/apispec/src/models/FunctionAlias.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionAlias.js +0 -61
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts +0 -33
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionAliasUpdateRequest.js +0 -43
- package/dist/apispec/src/models/FunctionCreateRequest.d.ts +0 -40
- package/dist/apispec/src/models/FunctionCreateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionCreateRequest.js +0 -46
- package/dist/apispec/src/models/FunctionRecord.d.ts +0 -105
- package/dist/apispec/src/models/FunctionRecord.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRecord.js +0 -85
- package/dist/apispec/src/models/FunctionRestoreMount.d.ts +0 -51
- package/dist/apispec/src/models/FunctionRestoreMount.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRestoreMount.js +0 -51
- package/dist/apispec/src/models/FunctionRevision.d.ts +0 -113
- package/dist/apispec/src/models/FunctionRevision.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevision.js +0 -87
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts +0 -40
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRevisionCreateRequest.js +0 -46
- package/dist/apispec/src/models/FunctionRuntimeState.d.ts +0 -27
- package/dist/apispec/src/models/FunctionRuntimeState.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimeState.js +0 -44
- package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts +0 -70
- package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionRuntimeStatus.js +0 -62
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts +0 -39
- package/dist/apispec/src/models/FunctionSourceRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionSourceRequest.js +0 -47
- package/dist/apispec/src/models/FunctionUpdateRequest.d.ts +0 -39
- package/dist/apispec/src/models/FunctionUpdateRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/FunctionUpdateRequest.js +0 -43
- package/dist/apispec/src/models/SuccessFunctionAliasListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionAliasListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionAliasListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionAliasResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionCreateResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts +0 -48
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.js +0 -54
- package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.js +0 -48
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionRevisionResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRevisionResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.js +0 -44
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.js +0 -46
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.js +0 -44
- package/dist/resources/functions.d.ts +0 -39
- package/dist/resources/functions.d.ts.map +0 -1
- package/dist/resources/functions.js +0 -128
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SandboxLifecycleStatus = {
|
|
19
|
+
SandboxLifecycleStatusStarting: 'starting',
|
|
20
|
+
SandboxLifecycleStatusRunning: 'running',
|
|
21
|
+
SandboxLifecycleStatusFailed: 'failed',
|
|
22
|
+
SandboxLifecycleStatusCompleted: 'completed',
|
|
23
|
+
SandboxLifecycleStatusTerminating: 'terminating',
|
|
24
|
+
SandboxLifecycleStatusCleaned: 'cleaned'
|
|
25
|
+
};
|
|
26
|
+
export function instanceOfSandboxLifecycleStatus(value) {
|
|
27
|
+
for (const key in SandboxLifecycleStatus) {
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(SandboxLifecycleStatus, key)) {
|
|
29
|
+
if (SandboxLifecycleStatus[key] === value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
export function SandboxLifecycleStatusFromJSON(json) {
|
|
37
|
+
return SandboxLifecycleStatusFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SandboxLifecycleStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
export function SandboxLifecycleStatusToJSON(value) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
export function SandboxLifecycleStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
@@ -58,8 +58,8 @@ export type SandboxPowerStateDesiredEnum = typeof SandboxPowerStateDesiredEnum[k
|
|
|
58
58
|
* @export
|
|
59
59
|
*/
|
|
60
60
|
export declare const SandboxPowerStateObservedEnum: {
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
61
|
+
readonly SandboxPowerStateObservedActive: "active";
|
|
62
|
+
readonly SandboxPowerStateObservedPaused: "paused";
|
|
63
63
|
};
|
|
64
64
|
export type SandboxPowerStateObservedEnum = typeof SandboxPowerStateObservedEnum[keyof typeof SandboxPowerStateObservedEnum];
|
|
65
65
|
/**
|
|
@@ -22,8 +22,8 @@ export const SandboxPowerStateDesiredEnum = {
|
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
24
|
export const SandboxPowerStateObservedEnum = {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
SandboxPowerStateObservedActive: 'active',
|
|
26
|
+
SandboxPowerStateObservedPaused: 'paused'
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* @export
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SandboxLifecycleStatus } from './SandboxLifecycleStatus.js';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -47,10 +48,10 @@ export interface SandboxStatus {
|
|
|
47
48
|
podName?: string;
|
|
48
49
|
/**
|
|
49
50
|
*
|
|
50
|
-
* @type {
|
|
51
|
+
* @type {SandboxLifecycleStatus}
|
|
51
52
|
* @memberof SandboxStatus
|
|
52
53
|
*/
|
|
53
|
-
status?:
|
|
54
|
+
status?: SandboxLifecycleStatus;
|
|
54
55
|
/**
|
|
55
56
|
*
|
|
56
57
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"SandboxStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAID;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAiBjG;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,CAkBhH"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SandboxLifecycleStatusFromJSON, SandboxLifecycleStatusToJSON, } from './SandboxLifecycleStatus.js';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the SandboxStatus interface.
|
|
16
17
|
*/
|
|
@@ -30,7 +31,7 @@ export function SandboxStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
31
|
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
31
32
|
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
|
32
33
|
'podName': json['pod_name'] == null ? undefined : json['pod_name'],
|
|
33
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
34
|
+
'status': json['status'] == null ? undefined : SandboxLifecycleStatusFromJSON(json['status']),
|
|
34
35
|
'claimedAt': json['claimed_at'] == null ? undefined : json['claimed_at'],
|
|
35
36
|
'expiresAt': json['expires_at'] == null ? undefined : json['expires_at'],
|
|
36
37
|
'hardExpiresAt': json['hard_expires_at'] == null ? undefined : json['hard_expires_at'],
|
|
@@ -50,7 +51,7 @@ export function SandboxStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
51
|
'team_id': value['teamId'],
|
|
51
52
|
'user_id': value['userId'],
|
|
52
53
|
'pod_name': value['podName'],
|
|
53
|
-
'status': value['status'],
|
|
54
|
+
'status': SandboxLifecycleStatusToJSON(value['status']),
|
|
54
55
|
'claimed_at': value['claimedAt'],
|
|
55
56
|
'expires_at': value['expiresAt'],
|
|
56
57
|
'hard_expires_at': value['hardExpiresAt'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SandboxLifecycleStatus } from './SandboxLifecycleStatus.js';
|
|
12
13
|
import type { SandboxPowerState } from './SandboxPowerState.js';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -30,10 +31,10 @@ export interface SandboxSummary {
|
|
|
30
31
|
templateId: string;
|
|
31
32
|
/**
|
|
32
33
|
*
|
|
33
|
-
* @type {
|
|
34
|
+
* @type {SandboxLifecycleStatus}
|
|
34
35
|
* @memberof SandboxSummary
|
|
35
36
|
*/
|
|
36
|
-
status:
|
|
37
|
+
status: SandboxLifecycleStatus;
|
|
37
38
|
/**
|
|
38
39
|
*
|
|
39
40
|
* @type {boolean}
|
|
@@ -71,16 +72,6 @@ export interface SandboxSummary {
|
|
|
71
72
|
*/
|
|
72
73
|
hardExpiresAt: Date;
|
|
73
74
|
}
|
|
74
|
-
/**
|
|
75
|
-
* @export
|
|
76
|
-
*/
|
|
77
|
-
export declare const SandboxSummaryStatusEnum: {
|
|
78
|
-
readonly Starting: "starting";
|
|
79
|
-
readonly Running: "running";
|
|
80
|
-
readonly Failed: "failed";
|
|
81
|
-
readonly Completed: "completed";
|
|
82
|
-
};
|
|
83
|
-
export type SandboxSummaryStatusEnum = typeof SandboxSummaryStatusEnum[keyof typeof SandboxSummaryStatusEnum];
|
|
84
75
|
/**
|
|
85
76
|
* Check if a given object implements the SandboxSummary interface.
|
|
86
77
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxSummary.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxSummary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"SandboxSummary.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxSummary.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,sBAAsB,CAAC;IAC/B;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,aAAa,EAAE,IAAI,CAAC;CACvB;AAID;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAU/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAgBnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBlH"}
|
|
@@ -11,16 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SandboxLifecycleStatusFromJSON, SandboxLifecycleStatusToJSON, } from './SandboxLifecycleStatus.js';
|
|
14
15
|
import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const SandboxSummaryStatusEnum = {
|
|
19
|
-
Starting: 'starting',
|
|
20
|
-
Running: 'running',
|
|
21
|
-
Failed: 'failed',
|
|
22
|
-
Completed: 'completed'
|
|
23
|
-
};
|
|
24
16
|
/**
|
|
25
17
|
* Check if a given object implements the SandboxSummary interface.
|
|
26
18
|
*/
|
|
@@ -53,7 +45,7 @@ export function SandboxSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
45
|
return {
|
|
54
46
|
'id': json['id'],
|
|
55
47
|
'templateId': json['template_id'],
|
|
56
|
-
'status': json['status'],
|
|
48
|
+
'status': SandboxLifecycleStatusFromJSON(json['status']),
|
|
57
49
|
'paused': json['paused'],
|
|
58
50
|
'powerState': SandboxPowerStateFromJSON(json['power_state']),
|
|
59
51
|
'clusterId': json['cluster_id'] == null ? undefined : json['cluster_id'],
|
|
@@ -72,7 +64,7 @@ export function SandboxSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
72
64
|
return {
|
|
73
65
|
'id': value['id'],
|
|
74
66
|
'template_id': value['templateId'],
|
|
75
|
-
'status': value['status'],
|
|
67
|
+
'status': SandboxLifecycleStatusToJSON(value['status']),
|
|
76
68
|
'paused': value['paused'],
|
|
77
69
|
'power_state': SandboxPowerStateToJSON(value['powerState']),
|
|
78
70
|
'cluster_id': value['clusterId'],
|
|
@@ -26,7 +26,7 @@ export interface SandboxUpdateConfig {
|
|
|
26
26
|
*/
|
|
27
27
|
ttl?: number;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Hard time-to-live in seconds. When it expires, Sandbox0 cleans the runtime pod and preserves the sandbox identity, services, and public URLs until the sandbox is explicitly deleted.
|
|
30
30
|
* @type {number}
|
|
31
31
|
* @memberof SandboxUpdateConfig
|
|
32
32
|
*/
|
|
@@ -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 { TeamQuota } from './TeamQuota.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessTeamQuotaResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessTeamQuotaResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessTeamQuotaResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {TeamQuota}
|
|
28
|
+
* @memberof SuccessTeamQuotaResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: TeamQuota;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessTeamQuotaResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessTeamQuotaResponse(value: object): value is SuccessTeamQuotaResponse;
|
|
36
|
+
export declare function SuccessTeamQuotaResponseFromJSON(json: any): SuccessTeamQuotaResponse;
|
|
37
|
+
export declare function SuccessTeamQuotaResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessTeamQuotaResponse;
|
|
38
|
+
export declare function SuccessTeamQuotaResponseToJSON(json: any): SuccessTeamQuotaResponse;
|
|
39
|
+
export declare function SuccessTeamQuotaResponseToJSONTyped(value?: SuccessTeamQuotaResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessTeamQuotaResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessTeamQuotaResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessTeamQuotaResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAGnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CASvH;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,CAUtI"}
|
|
@@ -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 { TeamQuotaFromJSON, TeamQuotaToJSON, } from './TeamQuota.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessTeamQuotaResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessTeamQuotaResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessTeamQuotaResponseFromJSON(json) {
|
|
24
|
+
return SuccessTeamQuotaResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessTeamQuotaResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : TeamQuotaFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessTeamQuotaResponseToJSON(json) {
|
|
36
|
+
return SuccessTeamQuotaResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessTeamQuotaResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': TeamQuotaToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { VolumeFileArchiveImportResponse } from './VolumeFileArchiveImportResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessVolumeFileArchiveImportResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessVolumeFileArchiveImportResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessVolumeFileArchiveImportResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {VolumeFileArchiveImportResponse}
|
|
28
|
+
* @memberof SuccessVolumeFileArchiveImportResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: VolumeFileArchiveImportResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessVolumeFileArchiveImportResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessVolumeFileArchiveImportResponse(value: object): value is SuccessVolumeFileArchiveImportResponse;
|
|
36
|
+
export declare function SuccessVolumeFileArchiveImportResponseFromJSON(json: any): SuccessVolumeFileArchiveImportResponse;
|
|
37
|
+
export declare function SuccessVolumeFileArchiveImportResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessVolumeFileArchiveImportResponse;
|
|
38
|
+
export declare function SuccessVolumeFileArchiveImportResponseToJSON(json: any): SuccessVolumeFileArchiveImportResponse;
|
|
39
|
+
export declare function SuccessVolumeFileArchiveImportResponseToJSONTyped(value?: SuccessVolumeFileArchiveImportResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessVolumeFileArchiveImportResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessVolumeFileArchiveImportResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessVolumeFileArchiveImportResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAQzF;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,+BAA+B,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sCAAsC,CAG/H;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAEhH;AAED,wBAAgB,mDAAmD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CASnJ;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAE9G;AAED,wBAAgB,iDAAiD,CAAC,KAAK,CAAC,EAAE,sCAAsC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlK"}
|
|
@@ -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 { VolumeFileArchiveImportResponseFromJSON, VolumeFileArchiveImportResponseToJSON, } from './VolumeFileArchiveImportResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessVolumeFileArchiveImportResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessVolumeFileArchiveImportResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessVolumeFileArchiveImportResponseFromJSON(json) {
|
|
24
|
+
return SuccessVolumeFileArchiveImportResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessVolumeFileArchiveImportResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : VolumeFileArchiveImportResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessVolumeFileArchiveImportResponseToJSON(json) {
|
|
36
|
+
return SuccessVolumeFileArchiveImportResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessVolumeFileArchiveImportResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': VolumeFileArchiveImportResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -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 { QuotaDimension } from './QuotaDimension.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TeamQuota
|
|
17
|
+
*/
|
|
18
|
+
export interface TeamQuota {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof TeamQuota
|
|
23
|
+
*/
|
|
24
|
+
teamId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {QuotaDimension}
|
|
28
|
+
* @memberof TeamQuota
|
|
29
|
+
*/
|
|
30
|
+
dimension: QuotaDimension;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof TeamQuota
|
|
35
|
+
*/
|
|
36
|
+
limitValue?: number | null;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the TeamQuota interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfTeamQuota(value: object): value is TeamQuota;
|
|
42
|
+
export declare function TeamQuotaFromJSON(json: any): TeamQuota;
|
|
43
|
+
export declare function TeamQuotaFromJSONTyped(json: any, ignoreDiscriminator: boolean): TeamQuota;
|
|
44
|
+
export declare function TeamQuotaToJSON(json: any): TeamQuota;
|
|
45
|
+
export declare function TeamQuotaToJSONTyped(value?: TeamQuota | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=TeamQuota.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TeamQuota.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/TeamQuota.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQvD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,cAAc,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAID;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAIrE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAUzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxG"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { QuotaDimensionFromJSON, QuotaDimensionToJSON, } from './QuotaDimension.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the TeamQuota interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfTeamQuota(value) {
|
|
19
|
+
if (!('teamId' in value) || value['teamId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('dimension' in value) || value['dimension'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function TeamQuotaFromJSON(json) {
|
|
26
|
+
return TeamQuotaFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function TeamQuotaFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'teamId': json['team_id'],
|
|
34
|
+
'dimension': QuotaDimensionFromJSON(json['dimension']),
|
|
35
|
+
'limitValue': json['limit_value'] == null ? undefined : json['limit_value'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function TeamQuotaToJSON(json) {
|
|
39
|
+
return TeamQuotaToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function TeamQuotaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'team_id': value['teamId'],
|
|
47
|
+
'dimension': QuotaDimensionToJSON(value['dimension']),
|
|
48
|
+
'limit_value': value['limitValue'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 VolumeFileArchiveImportResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface VolumeFileArchiveImportResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof VolumeFileArchiveImportResponse
|
|
22
|
+
*/
|
|
23
|
+
files: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof VolumeFileArchiveImportResponse
|
|
28
|
+
*/
|
|
29
|
+
directories: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof VolumeFileArchiveImportResponse
|
|
34
|
+
*/
|
|
35
|
+
symlinks: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof VolumeFileArchiveImportResponse
|
|
40
|
+
*/
|
|
41
|
+
bytes: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the VolumeFileArchiveImportResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfVolumeFileArchiveImportResponse(value: object): value is VolumeFileArchiveImportResponse;
|
|
47
|
+
export declare function VolumeFileArchiveImportResponseFromJSON(json: any): VolumeFileArchiveImportResponse;
|
|
48
|
+
export declare function VolumeFileArchiveImportResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VolumeFileArchiveImportResponse;
|
|
49
|
+
export declare function VolumeFileArchiveImportResponseToJSON(json: any): VolumeFileArchiveImportResponse;
|
|
50
|
+
export declare function VolumeFileArchiveImportResponseToJSONTyped(value?: VolumeFileArchiveImportResponse | null, ignoreDiscriminator?: boolean): any;
|
|
51
|
+
//# sourceMappingURL=VolumeFileArchiveImportResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VolumeFileArchiveImportResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/VolumeFileArchiveImportResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+BAA+B,CAMjH;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CAWrI;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAEhG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYpJ"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 VolumeFileArchiveImportResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVolumeFileArchiveImportResponse(value) {
|
|
18
|
+
if (!('files' in value) || value['files'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('directories' in value) || value['directories'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('symlinks' in value) || value['symlinks'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('bytes' in value) || value['bytes'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function VolumeFileArchiveImportResponseFromJSON(json) {
|
|
29
|
+
return VolumeFileArchiveImportResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function VolumeFileArchiveImportResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'files': json['files'],
|
|
37
|
+
'directories': json['directories'],
|
|
38
|
+
'symlinks': json['symlinks'],
|
|
39
|
+
'bytes': json['bytes'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function VolumeFileArchiveImportResponseToJSON(json) {
|
|
43
|
+
return VolumeFileArchiveImportResponseToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function VolumeFileArchiveImportResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'files': value['files'],
|
|
51
|
+
'directories': value['directories'],
|
|
52
|
+
'symlinks': value['symlinks'],
|
|
53
|
+
'bytes': value['bytes'],
|
|
54
|
+
};
|
|
55
|
+
}
|