sandbox0 0.5.4 → 0.6.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.
Files changed (72) hide show
  1. package/README.md +0 -1
  2. package/dist/apispec/src/models/AppArmorProfile.d.ts +48 -0
  3. package/dist/apispec/src/models/AppArmorProfile.d.ts.map +1 -0
  4. package/dist/apispec/src/models/AppArmorProfile.js +53 -0
  5. package/dist/apispec/src/models/Capabilities.d.ts +6 -0
  6. package/dist/apispec/src/models/Capabilities.d.ts.map +1 -1
  7. package/dist/apispec/src/models/Capabilities.js +2 -0
  8. package/dist/apispec/src/models/EmptyDirMountSpec.d.ts +39 -0
  9. package/dist/apispec/src/models/EmptyDirMountSpec.d.ts.map +1 -0
  10. package/dist/apispec/src/models/EmptyDirMountSpec.js +45 -0
  11. package/dist/apispec/src/models/PauseSandboxResponse.d.ts +0 -7
  12. package/dist/apispec/src/models/PauseSandboxResponse.d.ts.map +1 -1
  13. package/dist/apispec/src/models/PauseSandboxResponse.js +0 -5
  14. package/dist/apispec/src/models/PodSpecOverride.d.ts +7 -0
  15. package/dist/apispec/src/models/PodSpecOverride.d.ts.map +1 -1
  16. package/dist/apispec/src/models/PodSpecOverride.js +3 -0
  17. package/dist/apispec/src/models/ResourceQuota.d.ts +6 -0
  18. package/dist/apispec/src/models/ResourceQuota.d.ts.map +1 -1
  19. package/dist/apispec/src/models/ResourceQuota.js +2 -0
  20. package/dist/apispec/src/models/ResumeSandboxResponse.d.ts +0 -7
  21. package/dist/apispec/src/models/ResumeSandboxResponse.d.ts.map +1 -1
  22. package/dist/apispec/src/models/ResumeSandboxResponse.js +0 -5
  23. package/dist/apispec/src/models/Sandbox.d.ts +13 -8
  24. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  25. package/dist/apispec/src/models/Sandbox.js +8 -5
  26. package/dist/apispec/src/models/SandboxAppService.d.ts +2 -2
  27. package/dist/apispec/src/models/SandboxAppService.d.ts.map +1 -1
  28. package/dist/apispec/src/models/SandboxAppService.js +1 -3
  29. package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts +1 -7
  30. package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts.map +1 -1
  31. package/dist/apispec/src/models/SandboxAppServiceRuntime.js +0 -3
  32. package/dist/apispec/src/models/SandboxAppServiceView.d.ts +2 -2
  33. package/dist/apispec/src/models/SandboxAppServiceView.d.ts.map +1 -1
  34. package/dist/apispec/src/models/SandboxAppServiceView.js +1 -3
  35. package/dist/apispec/src/models/SandboxConfig.d.ts +2 -2
  36. package/dist/apispec/src/models/SandboxFunctionSource.d.ts +0 -6
  37. package/dist/apispec/src/models/SandboxFunctionSource.d.ts.map +1 -1
  38. package/dist/apispec/src/models/SandboxFunctionSource.js +0 -2
  39. package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts +4 -3
  40. package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts.map +1 -1
  41. package/dist/apispec/src/models/SandboxLifecycleStatus.js +4 -3
  42. package/dist/apispec/src/models/SandboxSummary.d.ts +10 -5
  43. package/dist/apispec/src/models/SandboxSummary.d.ts.map +1 -1
  44. package/dist/apispec/src/models/SandboxSummary.js +7 -4
  45. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +0 -7
  46. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
  47. package/dist/apispec/src/models/SandboxTemplateSpec.js +0 -3
  48. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +2 -2
  49. package/dist/apispec/src/models/SeccompProfile.d.ts +48 -0
  50. package/dist/apispec/src/models/SeccompProfile.d.ts.map +1 -0
  51. package/dist/apispec/src/models/SeccompProfile.js +53 -0
  52. package/dist/apispec/src/models/SecurityContext.d.ts +38 -0
  53. package/dist/apispec/src/models/SecurityContext.d.ts.map +1 -1
  54. package/dist/apispec/src/models/SecurityContext.js +14 -0
  55. package/dist/apispec/src/models/index.d.ts +3 -4
  56. package/dist/apispec/src/models/index.d.ts.map +1 -1
  57. package/dist/apispec/src/models/index.js +3 -4
  58. package/dist/apispec_compat.d.ts +1 -1509
  59. package/dist/apispec_compat.d.ts.map +1 -1
  60. package/dist/apispec_compat.js +1 -10
  61. package/dist/response_normalize.d.ts.map +1 -1
  62. package/dist/response_normalize.js +0 -1
  63. package/dist/template_helpers.d.ts +1 -9
  64. package/dist/template_helpers.d.ts.map +1 -1
  65. package/dist/template_helpers.js +0 -10
  66. package/package.json +1 -1
  67. package/dist/apispec/src/models/SandboxPowerState.d.ts +0 -82
  68. package/dist/apispec/src/models/SandboxPowerState.d.ts.map +0 -1
  69. package/dist/apispec/src/models/SandboxPowerState.js +0 -81
  70. package/dist/apispec/src/models/WarmProcessSpec.d.ts +0 -80
  71. package/dist/apispec/src/models/WarmProcessSpec.d.ts.map +0 -1
  72. package/dist/apispec/src/models/WarmProcessSpec.js +0 -63
package/README.md CHANGED
@@ -69,7 +69,6 @@ console.log(`exit=${done.exitCode} state=${done.state}`);
69
69
  ## Documentation
70
70
 
71
71
  - [Sandbox0 docs](https://sandbox0.ai/docs)
72
- - [Template warm processes](https://sandbox0.ai/docs/template/warm-processes)
73
72
  - [Volume mounts](https://sandbox0.ai/docs/volume/mounts)
74
73
 
75
74
  ## Bootstrap Mounts At Claim Time
@@ -0,0 +1,48 @@
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 AppArmorProfile
16
+ */
17
+ export interface AppArmorProfile {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AppArmorProfile
22
+ */
23
+ type: AppArmorProfileTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AppArmorProfile
28
+ */
29
+ localhostProfile?: string;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const AppArmorProfileTypeEnum: {
35
+ readonly Unconfined: "Unconfined";
36
+ readonly RuntimeDefault: "RuntimeDefault";
37
+ readonly Localhost: "Localhost";
38
+ };
39
+ export type AppArmorProfileTypeEnum = typeof AppArmorProfileTypeEnum[keyof typeof AppArmorProfileTypeEnum];
40
+ /**
41
+ * Check if a given object implements the AppArmorProfile interface.
42
+ */
43
+ export declare function instanceOfAppArmorProfile(value: object): value is AppArmorProfile;
44
+ export declare function AppArmorProfileFromJSON(json: any): AppArmorProfile;
45
+ export declare function AppArmorProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppArmorProfile;
46
+ export declare function AppArmorProfileToJSON(json: any): AppArmorProfile;
47
+ export declare function AppArmorProfileToJSONTyped(value?: AppArmorProfile | null, ignoreDiscriminator?: boolean): any;
48
+ //# sourceMappingURL=AppArmorProfile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppArmorProfile.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/AppArmorProfile.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAGD;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAG3G;;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,CASrG;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,CAUpH"}
@@ -0,0 +1,53 @@
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
+ * @export
16
+ */
17
+ export const AppArmorProfileTypeEnum = {
18
+ Unconfined: 'Unconfined',
19
+ RuntimeDefault: 'RuntimeDefault',
20
+ Localhost: 'Localhost'
21
+ };
22
+ /**
23
+ * Check if a given object implements the AppArmorProfile interface.
24
+ */
25
+ export function instanceOfAppArmorProfile(value) {
26
+ if (!('type' in value) || value['type'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function AppArmorProfileFromJSON(json) {
31
+ return AppArmorProfileFromJSONTyped(json, false);
32
+ }
33
+ export function AppArmorProfileFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'type': json['type'],
39
+ 'localhostProfile': json['localhostProfile'] == null ? undefined : json['localhostProfile'],
40
+ };
41
+ }
42
+ export function AppArmorProfileToJSON(json) {
43
+ return AppArmorProfileToJSONTyped(json, false);
44
+ }
45
+ export function AppArmorProfileToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'type': value['type'],
51
+ 'localhostProfile': value['localhostProfile'],
52
+ };
53
+ }
@@ -15,6 +15,12 @@
15
15
  * @interface Capabilities
16
16
  */
17
17
  export interface Capabilities {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof Capabilities
22
+ */
23
+ add?: Array<string>;
18
24
  /**
19
25
  *
20
26
  * @type {Array<string>}
@@ -1 +1 @@
1
- {"version":3,"file":"Capabilities.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Capabilities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;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,CAQ/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,CAS9G"}
1
+ {"version":3,"file":"Capabilities.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Capabilities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;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,CAS/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,CAU9G"}
@@ -25,6 +25,7 @@ export function CapabilitiesFromJSONTyped(json, ignoreDiscriminator) {
25
25
  return json;
26
26
  }
27
27
  return {
28
+ 'add': json['add'] == null ? undefined : json['add'],
28
29
  'drop': json['drop'] == null ? undefined : json['drop'],
29
30
  };
30
31
  }
@@ -36,6 +37,7 @@ export function CapabilitiesToJSONTyped(value, ignoreDiscriminator = false) {
36
37
  return value;
37
38
  }
38
39
  return {
40
+ 'add': value['add'],
39
41
  'drop': value['drop'],
40
42
  };
41
43
  }
@@ -0,0 +1,39 @@
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 EmptyDirMountSpec
16
+ */
17
+ export interface EmptyDirMountSpec {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof EmptyDirMountSpec
22
+ */
23
+ mountPath: string;
24
+ /**
25
+ * Optional size limit for the Kubernetes emptyDir volume.
26
+ * @type {string}
27
+ * @memberof EmptyDirMountSpec
28
+ */
29
+ sizeLimit?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the EmptyDirMountSpec interface.
33
+ */
34
+ export declare function instanceOfEmptyDirMountSpec(value: object): value is EmptyDirMountSpec;
35
+ export declare function EmptyDirMountSpecFromJSON(json: any): EmptyDirMountSpec;
36
+ export declare function EmptyDirMountSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmptyDirMountSpec;
37
+ export declare function EmptyDirMountSpecToJSON(json: any): EmptyDirMountSpec;
38
+ export declare function EmptyDirMountSpecToJSONTyped(value?: EmptyDirMountSpec | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=EmptyDirMountSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyDirMountSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/EmptyDirMountSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAGrF;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"}
@@ -0,0 +1,45 @@
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 EmptyDirMountSpec interface.
16
+ */
17
+ export function instanceOfEmptyDirMountSpec(value) {
18
+ if (!('mountPath' in value) || value['mountPath'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function EmptyDirMountSpecFromJSON(json) {
23
+ return EmptyDirMountSpecFromJSONTyped(json, false);
24
+ }
25
+ export function EmptyDirMountSpecFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'mountPath': json['mountPath'],
31
+ 'sizeLimit': json['sizeLimit'] == null ? undefined : json['sizeLimit'],
32
+ };
33
+ }
34
+ export function EmptyDirMountSpecToJSON(json) {
35
+ return EmptyDirMountSpecToJSONTyped(json, false);
36
+ }
37
+ export function EmptyDirMountSpecToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'mountPath': value['mountPath'],
43
+ 'sizeLimit': value['sizeLimit'],
44
+ };
45
+ }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SandboxPowerState } from './SandboxPowerState.js';
13
12
  import type { SandboxResourceUsage } from './SandboxResourceUsage.js';
14
13
  /**
15
14
  *
@@ -29,12 +28,6 @@ export interface PauseSandboxResponse {
29
28
  * @memberof PauseSandboxResponse
30
29
  */
31
30
  paused: boolean;
32
- /**
33
- *
34
- * @type {SandboxPowerState}
35
- * @memberof PauseSandboxResponse
36
- */
37
- powerState: SandboxPowerState;
38
31
  /**
39
32
  *
40
33
  * @type {SandboxResourceUsage}
@@ -1 +1 @@
1
- {"version":3,"file":"PauseSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PauseSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAK3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAa/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,CAc9H"}
1
+ {"version":3,"file":"PauseSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PauseSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAY/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,CAa9H"}
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
15
14
  import { SandboxResourceUsageFromJSON, SandboxResourceUsageToJSON, } from './SandboxResourceUsage.js';
16
15
  /**
17
16
  * Check if a given object implements the PauseSandboxResponse interface.
@@ -21,8 +20,6 @@ export function instanceOfPauseSandboxResponse(value) {
21
20
  return false;
22
21
  if (!('paused' in value) || value['paused'] === undefined)
23
22
  return false;
24
- if (!('powerState' in value) || value['powerState'] === undefined)
25
- return false;
26
23
  return true;
27
24
  }
28
25
  export function PauseSandboxResponseFromJSON(json) {
@@ -35,7 +32,6 @@ export function PauseSandboxResponseFromJSONTyped(json, ignoreDiscriminator) {
35
32
  return {
36
33
  'sandboxId': json['sandbox_id'],
37
34
  'paused': json['paused'],
38
- 'powerState': SandboxPowerStateFromJSON(json['power_state']),
39
35
  'resourceUsage': json['resource_usage'] == null ? undefined : SandboxResourceUsageFromJSON(json['resource_usage']),
40
36
  'updatedMemory': json['updated_memory'] == null ? undefined : json['updated_memory'],
41
37
  'updatedCpu': json['updated_cpu'] == null ? undefined : json['updated_cpu'],
@@ -51,7 +47,6 @@ export function PauseSandboxResponseToJSONTyped(value, ignoreDiscriminator = fal
51
47
  return {
52
48
  'sandbox_id': value['sandboxId'],
53
49
  'paused': value['paused'],
54
- 'power_state': SandboxPowerStateToJSON(value['powerState']),
55
50
  'resource_usage': SandboxResourceUsageToJSON(value['resourceUsage']),
56
51
  'updated_memory': value['updatedMemory'],
57
52
  'updated_cpu': value['updatedCpu'],
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { EmptyDirMountSpec } from './EmptyDirMountSpec.js';
12
13
  import type { Toleration } from './Toleration.js';
13
14
  import type { Affinity } from './Affinity.js';
14
15
  /**
@@ -43,6 +44,12 @@ export interface PodSpecOverride {
43
44
  * @memberof PodSpecOverride
44
45
  */
45
46
  serviceAccountName?: string;
47
+ /**
48
+ *
49
+ * @type {Array<EmptyDirMountSpec>}
50
+ * @memberof PodSpecOverride
51
+ */
52
+ emptyDirMounts?: Array<EmptyDirMountSpec>;
46
53
  }
47
54
  /**
48
55
  * Check if a given object implements the PodSpecOverride interface.
@@ -1 +1 @@
1
- {"version":3,"file":"PodSpecOverride.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PodSpecOverride.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAChC;;;;OAIG;IACH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jF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAYrG;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,CAapH"}
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { EmptyDirMountSpecFromJSON, EmptyDirMountSpecToJSON, } from './EmptyDirMountSpec.js';
14
15
  import { TolerationFromJSON, TolerationToJSON, } from './Toleration.js';
15
16
  import { AffinityFromJSON, AffinityToJSON, } from './Affinity.js';
16
17
  /**
@@ -31,6 +32,7 @@ export function PodSpecOverrideFromJSONTyped(json, ignoreDiscriminator) {
31
32
  'affinity': json['affinity'] == null ? undefined : AffinityFromJSON(json['affinity']),
32
33
  'tolerations': json['tolerations'] == null ? undefined : (json['tolerations'].map(TolerationFromJSON)),
33
34
  'serviceAccountName': json['serviceAccountName'] == null ? undefined : json['serviceAccountName'],
35
+ 'emptyDirMounts': json['emptyDirMounts'] == null ? undefined : (json['emptyDirMounts'].map(EmptyDirMountSpecFromJSON)),
34
36
  };
35
37
  }
36
38
  export function PodSpecOverrideToJSON(json) {
@@ -45,5 +47,6 @@ export function PodSpecOverrideToJSONTyped(value, ignoreDiscriminator = false) {
45
47
  'affinity': AffinityToJSON(value['affinity']),
46
48
  'tolerations': value['tolerations'] == null ? undefined : (value['tolerations'].map(TolerationToJSON)),
47
49
  'serviceAccountName': value['serviceAccountName'],
50
+ 'emptyDirMounts': value['emptyDirMounts'] == null ? undefined : (value['emptyDirMounts'].map(EmptyDirMountSpecToJSON)),
48
51
  };
49
52
  }
@@ -27,6 +27,12 @@ export interface ResourceQuota {
27
27
  * @memberof ResourceQuota
28
28
  */
29
29
  memory?: string;
30
+ /**
31
+ * Ephemeral storage limit for the sandbox writable layer and container logs. Defaults to 512Mi when omitted.
32
+ * @type {string}
33
+ * @memberof ResourceQuota
34
+ */
35
+ ephemeralStorage?: string;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the ResourceQuota interface.
@@ -1 +1 @@
1
- {"version":3,"file":"ResourceQuota.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ResourceQuota.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;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,CASjG;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,CAUhH"}
1
+ {"version":3,"file":"ResourceQuota.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ResourceQuota.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;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,CAUjG;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,CAWhH"}
@@ -27,6 +27,7 @@ export function ResourceQuotaFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'cpu': json['cpu'] == null ? undefined : json['cpu'],
29
29
  'memory': json['memory'] == null ? undefined : json['memory'],
30
+ 'ephemeralStorage': json['ephemeralStorage'] == null ? undefined : json['ephemeralStorage'],
30
31
  };
31
32
  }
32
33
  export function ResourceQuotaToJSON(json) {
@@ -39,5 +40,6 @@ export function ResourceQuotaToJSONTyped(value, ignoreDiscriminator = false) {
39
40
  return {
40
41
  'cpu': value['cpu'],
41
42
  'memory': value['memory'],
43
+ 'ephemeralStorage': value['ephemeralStorage'],
42
44
  };
43
45
  }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SandboxPowerState } from './SandboxPowerState.js';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -28,12 +27,6 @@ export interface ResumeSandboxResponse {
28
27
  * @memberof ResumeSandboxResponse
29
28
  */
30
29
  resumed: boolean;
31
- /**
32
- *
33
- * @type {SandboxPowerState}
34
- * @memberof ResumeSandboxResponse
35
- */
36
- powerState: SandboxPowerState;
37
30
  /**
38
31
  *
39
32
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"ResumeSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ResumeSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAK7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAWjH;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,CAYhI"}
1
+ {"version":3,"file":"ResumeSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ResumeSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAUjH;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,CAWhI"}
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
15
14
  /**
16
15
  * Check if a given object implements the ResumeSandboxResponse interface.
17
16
  */
@@ -20,8 +19,6 @@ export function instanceOfResumeSandboxResponse(value) {
20
19
  return false;
21
20
  if (!('resumed' in value) || value['resumed'] === undefined)
22
21
  return false;
23
- if (!('powerState' in value) || value['powerState'] === undefined)
24
- return false;
25
22
  return true;
26
23
  }
27
24
  export function ResumeSandboxResponseFromJSON(json) {
@@ -34,7 +31,6 @@ export function ResumeSandboxResponseFromJSONTyped(json, ignoreDiscriminator) {
34
31
  return {
35
32
  'sandboxId': json['sandbox_id'],
36
33
  'resumed': json['resumed'],
37
- 'powerState': SandboxPowerStateFromJSON(json['power_state']),
38
34
  'restoredMemory': json['restored_memory'] == null ? undefined : json['restored_memory'],
39
35
  };
40
36
  }
@@ -48,7 +44,6 @@ export function ResumeSandboxResponseToJSONTyped(value, ignoreDiscriminator = fa
48
44
  return {
49
45
  'sandbox_id': value['sandboxId'],
50
46
  'resumed': value['resumed'],
51
- 'power_state': SandboxPowerStateToJSON(value['powerState']),
52
47
  'restored_memory': value['restoredMemory'],
53
48
  };
54
49
  }
@@ -13,7 +13,6 @@ import type { SandboxAppService } from './SandboxAppService.js';
13
13
  import type { ClaimMountRequest } from './ClaimMountRequest.js';
14
14
  import type { SandboxLifecycleStatus } from './SandboxLifecycleStatus.js';
15
15
  import type { SandboxSSHConnection } from './SandboxSSHConnection.js';
16
- import type { SandboxPowerState } from './SandboxPowerState.js';
17
16
  /**
18
17
  *
19
18
  * @export
@@ -51,17 +50,11 @@ export interface Sandbox {
51
50
  */
52
51
  status: SandboxLifecycleStatus;
53
52
  /**
54
- *
53
+ * True when status is paused and no runtime is attached.
55
54
  * @type {boolean}
56
55
  * @memberof Sandbox
57
56
  */
58
57
  paused: boolean;
59
- /**
60
- *
61
- * @type {SandboxPowerState}
62
- * @memberof Sandbox
63
- */
64
- powerState: SandboxPowerState;
65
58
  /**
66
59
  *
67
60
  * @type {boolean}
@@ -86,6 +79,12 @@ export interface Sandbox {
86
79
  * @memberof Sandbox
87
80
  */
88
81
  podName: string;
82
+ /**
83
+ * Monotonically increasing runtime generation. Resume starts a new generation.
84
+ * @type {number}
85
+ * @memberof Sandbox
86
+ */
87
+ runtimeGeneration: number;
89
88
  /**
90
89
  *
91
90
  * @type {SandboxSSHConnection}
@@ -116,6 +115,12 @@ export interface Sandbox {
116
115
  * @memberof Sandbox
117
116
  */
118
117
  createdAt: Date;
118
+ /**
119
+ *
120
+ * @type {Date}
121
+ * @memberof Sandbox
122
+ */
123
+ updatedAt: Date;
119
124
  }
120
125
  /**
121
126
  * Check if a given object implements the Sandbox interface.
@@ -1 +1 @@
1
- {"version":3,"file":"Sandbox.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Sandbox.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK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,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAID;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAejE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAwBrF;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,CAyBpG"}
@@ -15,7 +15,6 @@ import { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAp
15
15
  import { ClaimMountRequestFromJSON, ClaimMountRequestToJSON, } from './ClaimMountRequest.js';
16
16
  import { SandboxLifecycleStatusFromJSON, SandboxLifecycleStatusToJSON, } from './SandboxLifecycleStatus.js';
17
17
  import { SandboxSSHConnectionFromJSON, SandboxSSHConnectionToJSON, } from './SandboxSSHConnection.js';
18
- import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
19
18
  /**
20
19
  * Check if a given object implements the Sandbox interface.
21
20
  */
@@ -30,12 +29,12 @@ export function instanceOfSandbox(value) {
30
29
  return false;
31
30
  if (!('paused' in value) || value['paused'] === undefined)
32
31
  return false;
33
- if (!('powerState' in value) || value['powerState'] === undefined)
34
- return false;
35
32
  if (!('autoResume' in value) || value['autoResume'] === undefined)
36
33
  return false;
37
34
  if (!('podName' in value) || value['podName'] === undefined)
38
35
  return false;
36
+ if (!('runtimeGeneration' in value) || value['runtimeGeneration'] === undefined)
37
+ return false;
39
38
  if (!('expiresAt' in value) || value['expiresAt'] === undefined)
40
39
  return false;
41
40
  if (!('hardExpiresAt' in value) || value['hardExpiresAt'] === undefined)
@@ -44,6 +43,8 @@ export function instanceOfSandbox(value) {
44
43
  return false;
45
44
  if (!('createdAt' in value) || value['createdAt'] === undefined)
46
45
  return false;
46
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
47
+ return false;
47
48
  return true;
48
49
  }
49
50
  export function SandboxFromJSON(json) {
@@ -60,16 +61,17 @@ export function SandboxFromJSONTyped(json, ignoreDiscriminator) {
60
61
  'userId': json['user_id'] == null ? undefined : json['user_id'],
61
62
  'status': SandboxLifecycleStatusFromJSON(json['status']),
62
63
  'paused': json['paused'],
63
- 'powerState': SandboxPowerStateFromJSON(json['power_state']),
64
64
  'autoResume': json['auto_resume'],
65
65
  'services': json['services'] == null ? undefined : (json['services'].map(SandboxAppServiceFromJSON)),
66
66
  'mounts': json['mounts'] == null ? undefined : (json['mounts'].map(ClaimMountRequestFromJSON)),
67
67
  'podName': json['pod_name'],
68
+ 'runtimeGeneration': json['runtime_generation'],
68
69
  'ssh': json['ssh'] == null ? undefined : SandboxSSHConnectionFromJSON(json['ssh']),
69
70
  'expiresAt': (new Date(json['expires_at'])),
70
71
  'hardExpiresAt': (new Date(json['hard_expires_at'])),
71
72
  'claimedAt': (new Date(json['claimed_at'])),
72
73
  'createdAt': (new Date(json['created_at'])),
74
+ 'updatedAt': (new Date(json['updated_at'])),
73
75
  };
74
76
  }
75
77
  export function SandboxToJSON(json) {
@@ -86,15 +88,16 @@ export function SandboxToJSONTyped(value, ignoreDiscriminator = false) {
86
88
  'user_id': value['userId'],
87
89
  'status': SandboxLifecycleStatusToJSON(value['status']),
88
90
  'paused': value['paused'],
89
- 'power_state': SandboxPowerStateToJSON(value['powerState']),
90
91
  'auto_resume': value['autoResume'],
91
92
  'services': value['services'] == null ? undefined : (value['services'].map(SandboxAppServiceToJSON)),
92
93
  'mounts': value['mounts'] == null ? undefined : (value['mounts'].map(ClaimMountRequestToJSON)),
93
94
  'pod_name': value['podName'],
95
+ 'runtime_generation': value['runtimeGeneration'],
94
96
  'ssh': SandboxSSHConnectionToJSON(value['ssh']),
95
97
  'expires_at': value['expiresAt'].toISOString(),
96
98
  'hard_expires_at': value['hardExpiresAt'].toISOString(),
97
99
  'claimed_at': value['claimedAt'].toISOString(),
98
100
  'created_at': value['createdAt'].toISOString(),
101
+ 'updated_at': value['updatedAt'].toISOString(),
99
102
  };
100
103
  }
@@ -31,11 +31,11 @@ export interface SandboxAppService {
31
31
  */
32
32
  displayName?: string;
33
33
  /**
34
- * Public exposure routing port. Function services normally use the sandbox procd port.
34
+ * Public exposure routing port. Required for manual and cmd services. Omit for function services; Sandbox0 assigns the internal function service port.
35
35
  * @type {number}
36
36
  * @memberof SandboxAppService
37
37
  */
38
- port: number;
38
+ port?: number;
39
39
  /**
40
40
  *
41
41
  * @type {SandboxAppServiceRuntime}
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxAppService.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppService.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC;;;;OAIG;IACH,OAAO,EAAE,wBAAwB,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACzC;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAKrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAazG;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,CAcxH"}
1
+ {"version":3,"file":"SandboxAppService.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppService.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC;;;;OAIG;IACH,OAAO,EAAE,wBAAwB,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACzC;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,CAazG;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,CAcxH"}
@@ -20,8 +20,6 @@ import { SandboxAppServiceRuntimeFromJSON, SandboxAppServiceRuntimeToJSON, } fro
20
20
  export function instanceOfSandboxAppService(value) {
21
21
  if (!('id' in value) || value['id'] === undefined)
22
22
  return false;
23
- if (!('port' in value) || value['port'] === undefined)
24
- return false;
25
23
  if (!('ingress' in value) || value['ingress'] === undefined)
26
24
  return false;
27
25
  return true;
@@ -36,7 +34,7 @@ export function SandboxAppServiceFromJSONTyped(json, ignoreDiscriminator) {
36
34
  return {
37
35
  'id': json['id'],
38
36
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
39
- 'port': json['port'],
37
+ 'port': json['port'] == null ? undefined : json['port'],
40
38
  'runtime': json['runtime'] == null ? undefined : SandboxAppServiceRuntimeFromJSON(json['runtime']),
41
39
  'ingress': SandboxAppServiceIngressFromJSON(json['ingress']),
42
40
  'healthCheck': json['health_check'] == null ? undefined : SandboxAppServiceHealthFromJSON(json['health_check']),