sandbox0 0.9.5 → 0.9.6
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/models/CreateContextRequest.d.ts +1 -1
- package/dist/apispec/src/models/CreateTeamRequest.d.ts +2 -2
- package/dist/apispec/src/models/RefreshResponse.d.ts +4 -4
- package/dist/apispec/src/models/RefreshResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/RefreshResponse.js +4 -8
- package/dist/apispec/src/models/Sandbox.d.ts +4 -4
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +4 -8
- package/dist/apispec/src/models/SandboxConfig.d.ts +5 -2
- package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxStatus.d.ts +4 -4
- package/dist/apispec/src/models/SandboxStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxStatus.js +4 -4
- package/dist/apispec/src/models/SandboxSummary.d.ts +4 -4
- package/dist/apispec/src/models/SandboxSummary.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxSummary.js +4 -8
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +5 -2
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/Team.d.ts +2 -2
- package/dist/apispec/src/models/UpdateTeamRequest.d.ts +2 -2
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ export interface CreateContextRequest {
|
|
|
38
38
|
*/
|
|
39
39
|
cmd?: CreateCMDContextRequest;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Wait for the context process to finish before returning. For long-running commands, prefer an asynchronous context with a bounded ttl_sec and follow it through the context WebSocket and GET APIs. Use a supervised session when reconnectable, replayable, or restartable execution is required.
|
|
42
42
|
* @type {boolean}
|
|
43
43
|
* @memberof CreateContextRequest
|
|
44
44
|
*/
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateTeamRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Display name. Team names are not unique.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateTeamRequest
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Human-readable alias. Team slugs are not unique.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateTeamRequest
|
|
28
28
|
*/
|
|
@@ -22,17 +22,17 @@ export interface RefreshResponse {
|
|
|
22
22
|
*/
|
|
23
23
|
sandboxId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Soft expiration timestamp. Omitted or null means disabled or not set.
|
|
26
26
|
* @type {Date}
|
|
27
27
|
* @memberof RefreshResponse
|
|
28
28
|
*/
|
|
29
|
-
expiresAt
|
|
29
|
+
expiresAt?: Date | null;
|
|
30
30
|
/**
|
|
31
|
-
* Hard expiration timestamp.
|
|
31
|
+
* Hard expiration timestamp. Omitted or null means disabled or not set.
|
|
32
32
|
* @type {Date}
|
|
33
33
|
* @memberof RefreshResponse
|
|
34
34
|
*/
|
|
35
|
-
hardExpiresAt
|
|
35
|
+
hardExpiresAt?: Date | null;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the RefreshResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RefreshResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/RefreshResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"RefreshResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/RefreshResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAGjF;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"}
|
|
@@ -17,10 +17,6 @@
|
|
|
17
17
|
export function instanceOfRefreshResponse(value) {
|
|
18
18
|
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
-
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('hardExpiresAt' in value) || value['hardExpiresAt'] === undefined)
|
|
23
|
-
return false;
|
|
24
20
|
return true;
|
|
25
21
|
}
|
|
26
22
|
export function RefreshResponseFromJSON(json) {
|
|
@@ -32,8 +28,8 @@ export function RefreshResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
28
|
}
|
|
33
29
|
return {
|
|
34
30
|
'sandboxId': json['sandbox_id'],
|
|
35
|
-
'expiresAt': (new Date(json['expires_at'])),
|
|
36
|
-
'hardExpiresAt': (new Date(json['hard_expires_at'])),
|
|
31
|
+
'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
32
|
+
'hardExpiresAt': json['hard_expires_at'] == null ? undefined : (new Date(json['hard_expires_at'])),
|
|
37
33
|
};
|
|
38
34
|
}
|
|
39
35
|
export function RefreshResponseToJSON(json) {
|
|
@@ -45,7 +41,7 @@ export function RefreshResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
41
|
}
|
|
46
42
|
return {
|
|
47
43
|
'sandbox_id': value['sandboxId'],
|
|
48
|
-
'expires_at': value['expiresAt'].toISOString(),
|
|
49
|
-
'hard_expires_at': value['hardExpiresAt'].toISOString(),
|
|
44
|
+
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
45
|
+
'hard_expires_at': value['hardExpiresAt'] == null ? value['hardExpiresAt'] : value['hardExpiresAt'].toISOString(),
|
|
50
46
|
};
|
|
51
47
|
}
|
|
@@ -99,17 +99,17 @@ export interface Sandbox {
|
|
|
99
99
|
*/
|
|
100
100
|
ssh?: SandboxSSHConnection;
|
|
101
101
|
/**
|
|
102
|
-
* Soft expiration timestamp.
|
|
102
|
+
* Soft expiration timestamp. Omitted or null means disabled or not set.
|
|
103
103
|
* @type {Date}
|
|
104
104
|
* @memberof Sandbox
|
|
105
105
|
*/
|
|
106
|
-
expiresAt
|
|
106
|
+
expiresAt?: Date | null;
|
|
107
107
|
/**
|
|
108
|
-
* Hard expiration timestamp.
|
|
108
|
+
* Hard expiration timestamp. Omitted or null means disabled or not set.
|
|
109
109
|
* @type {Date}
|
|
110
110
|
* @memberof Sandbox
|
|
111
111
|
*/
|
|
112
|
-
hardExpiresAt
|
|
112
|
+
hardExpiresAt?: Date | null;
|
|
113
113
|
/**
|
|
114
114
|
*
|
|
115
115
|
* @type {Date}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sandbox.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Sandbox.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH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C,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAajE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAyBrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA0BpG"}
|
|
@@ -36,10 +36,6 @@ export function instanceOfSandbox(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('runtimeGeneration' in value) || value['runtimeGeneration'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('hardExpiresAt' in value) || value['hardExpiresAt'] === undefined)
|
|
42
|
-
return false;
|
|
43
39
|
if (!('claimedAt' in value) || value['claimedAt'] === undefined)
|
|
44
40
|
return false;
|
|
45
41
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
@@ -69,8 +65,8 @@ export function SandboxFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
65
|
'podName': json['pod_name'],
|
|
70
66
|
'runtimeGeneration': json['runtime_generation'],
|
|
71
67
|
'ssh': json['ssh'] == null ? undefined : SandboxSSHConnectionFromJSON(json['ssh']),
|
|
72
|
-
'expiresAt': (new Date(json['expires_at'])),
|
|
73
|
-
'hardExpiresAt': (new Date(json['hard_expires_at'])),
|
|
68
|
+
'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
69
|
+
'hardExpiresAt': json['hard_expires_at'] == null ? undefined : (new Date(json['hard_expires_at'])),
|
|
74
70
|
'claimedAt': (new Date(json['claimed_at'])),
|
|
75
71
|
'createdAt': (new Date(json['created_at'])),
|
|
76
72
|
'updatedAt': (new Date(json['updated_at'])),
|
|
@@ -97,8 +93,8 @@ export function SandboxToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
97
93
|
'pod_name': value['podName'],
|
|
98
94
|
'runtime_generation': value['runtimeGeneration'],
|
|
99
95
|
'ssh': SandboxSSHConnectionToJSON(value['ssh']),
|
|
100
|
-
'expires_at': value['expiresAt'].toISOString(),
|
|
101
|
-
'hard_expires_at': value['hardExpiresAt'].toISOString(),
|
|
96
|
+
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
97
|
+
'hard_expires_at': value['hardExpiresAt'] == null ? value['hardExpiresAt'] : value['hardExpiresAt'].toISOString(),
|
|
102
98
|
'claimed_at': value['claimedAt'].toISOString(),
|
|
103
99
|
'created_at': value['createdAt'].toISOString(),
|
|
104
100
|
'updated_at': value['updatedAt'].toISOString(),
|
|
@@ -58,8 +58,11 @@ export interface SandboxConfig {
|
|
|
58
58
|
*/
|
|
59
59
|
webhook?: WebhookConfig;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
61
|
+
* Controls whether supported inbound API or public exposure requests may automatically
|
|
62
|
+
* make an inactive sandbox available. This setting does not control platform-initiated
|
|
63
|
+
* runtime fault recovery. A supported access request returns `503 unavailable` with
|
|
64
|
+
* `sandbox is waking up` when an accepted resume has not committed yet. It returns
|
|
65
|
+
* `503 sandbox_resume_failed` when that resume attempt has ended unsuccessfully.
|
|
63
66
|
*
|
|
64
67
|
* @type {boolean}
|
|
65
68
|
* @memberof SandboxConfig
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MA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AAoB,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACvC;AAED;;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,CAejG;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,CAgBhH"}
|
|
@@ -60,16 +60,16 @@ export interface SandboxStatus {
|
|
|
60
60
|
claimedAt?: string;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
|
-
* @type {
|
|
63
|
+
* @type {Date}
|
|
64
64
|
* @memberof SandboxStatus
|
|
65
65
|
*/
|
|
66
|
-
expiresAt?:
|
|
66
|
+
expiresAt?: Date | null;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
|
-
* @type {
|
|
69
|
+
* @type {Date}
|
|
70
70
|
* @memberof SandboxStatus
|
|
71
71
|
*/
|
|
72
|
-
hardExpiresAt?:
|
|
72
|
+
hardExpiresAt?: Date | null;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B;;;;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"}
|
|
@@ -33,8 +33,8 @@ export function SandboxStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'podName': json['pod_name'] == null ? undefined : json['pod_name'],
|
|
34
34
|
'status': json['status'] == null ? undefined : SandboxLifecycleStatusFromJSON(json['status']),
|
|
35
35
|
'claimedAt': json['claimed_at'] == null ? undefined : json['claimed_at'],
|
|
36
|
-
'expiresAt': json['expires_at'] == null ? undefined : json['expires_at'],
|
|
37
|
-
'hardExpiresAt': json['hard_expires_at'] == null ? undefined : json['hard_expires_at'],
|
|
36
|
+
'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
37
|
+
'hardExpiresAt': json['hard_expires_at'] == null ? undefined : (new Date(json['hard_expires_at'])),
|
|
38
38
|
'createdAt': json['created_at'] == null ? undefined : json['created_at'],
|
|
39
39
|
};
|
|
40
40
|
}
|
|
@@ -53,8 +53,8 @@ export function SandboxStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
53
53
|
'pod_name': value['podName'],
|
|
54
54
|
'status': SandboxLifecycleStatusToJSON(value['status']),
|
|
55
55
|
'claimed_at': value['claimedAt'],
|
|
56
|
-
'expires_at': value['expiresAt'],
|
|
57
|
-
'hard_expires_at': value['hardExpiresAt'],
|
|
56
|
+
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
57
|
+
'hard_expires_at': value['hardExpiresAt'] == null ? value['hardExpiresAt'] : value['hardExpiresAt'].toISOString(),
|
|
58
58
|
'created_at': value['createdAt'],
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -59,17 +59,17 @@ export interface SandboxSummary {
|
|
|
59
59
|
*/
|
|
60
60
|
createdAt: Date;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Soft expiration timestamp. Omitted or null means disabled or not set.
|
|
63
63
|
* @type {Date}
|
|
64
64
|
* @memberof SandboxSummary
|
|
65
65
|
*/
|
|
66
|
-
expiresAt
|
|
66
|
+
expiresAt?: Date | null;
|
|
67
67
|
/**
|
|
68
|
-
* Hard expiration timestamp.
|
|
68
|
+
* Hard expiration timestamp. Omitted or null means disabled or not set.
|
|
69
69
|
* @type {Date}
|
|
70
70
|
* @memberof SandboxSummary
|
|
71
71
|
*/
|
|
72
|
-
hardExpiresAt
|
|
72
|
+
hardExpiresAt?: Date | null;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {Date}
|
|
@@ -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,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;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,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,I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E,OAAe,GAAG,GAAG,CAkBlH"}
|
|
@@ -28,10 +28,6 @@ export function instanceOfSandboxSummary(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('hardExpiresAt' in value) || value['hardExpiresAt'] === undefined)
|
|
34
|
-
return false;
|
|
35
31
|
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
36
32
|
return false;
|
|
37
33
|
return true;
|
|
@@ -51,8 +47,8 @@ export function SandboxSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
47
|
'runtimeGeneration': json['runtime_generation'],
|
|
52
48
|
'clusterId': json['cluster_id'] == null ? undefined : json['cluster_id'],
|
|
53
49
|
'createdAt': (new Date(json['created_at'])),
|
|
54
|
-
'expiresAt': (new Date(json['expires_at'])),
|
|
55
|
-
'hardExpiresAt': (new Date(json['hard_expires_at'])),
|
|
50
|
+
'expiresAt': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
51
|
+
'hardExpiresAt': json['hard_expires_at'] == null ? undefined : (new Date(json['hard_expires_at'])),
|
|
56
52
|
'updatedAt': (new Date(json['updated_at'])),
|
|
57
53
|
};
|
|
58
54
|
}
|
|
@@ -71,8 +67,8 @@ export function SandboxSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
71
67
|
'runtime_generation': value['runtimeGeneration'],
|
|
72
68
|
'cluster_id': value['clusterId'],
|
|
73
69
|
'created_at': value['createdAt'].toISOString(),
|
|
74
|
-
'expires_at': value['expiresAt'].toISOString(),
|
|
75
|
-
'hard_expires_at': value['hardExpiresAt'].toISOString(),
|
|
70
|
+
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
71
|
+
'hard_expires_at': value['hardExpiresAt'] == null ? value['hardExpiresAt'] : value['hardExpiresAt'].toISOString(),
|
|
76
72
|
'updated_at': value['updatedAt'].toISOString(),
|
|
77
73
|
};
|
|
78
74
|
}
|
|
@@ -56,8 +56,11 @@ export interface SandboxUpdateConfig {
|
|
|
56
56
|
*/
|
|
57
57
|
network?: SandboxNetworkPolicy;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
59
|
+
* Controls whether supported inbound API or public exposure requests may automatically
|
|
60
|
+
* make an inactive sandbox available. This setting does not control platform-initiated
|
|
61
|
+
* runtime fault recovery. A supported access request returns `503 unavailable` with
|
|
62
|
+
* `sandbox is waking up` when an accepted resume has not committed yet. It returns
|
|
63
|
+
* `503 sandbox_resume_failed` when that resume attempt has ended unsuccessfully.
|
|
61
64
|
*
|
|
62
65
|
* @type {boolean}
|
|
63
66
|
* @memberof SandboxUpdateConfig
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxUpdateConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxUpdateConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B
|
|
1
|
+
{"version":3,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 @@ export interface Team {
|
|
|
22
22
|
*/
|
|
23
23
|
id: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Display name. Team names are not unique; use the team ID as the canonical identifier.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Team
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Human-readable alias. Team slugs are not unique; use the team ID as the canonical identifier.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof Team
|
|
34
34
|
*/
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateTeamRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Display name. Team names are not unique.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateTeamRequest
|
|
22
22
|
*/
|
|
23
23
|
name?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Human-readable alias. Team slugs are not unique.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateTeamRequest
|
|
28
28
|
*/
|