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.
Files changed (179) hide show
  1. package/dist/apispec/src/apis/FilesApi.d.ts +16 -1
  2. package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
  3. package/dist/apispec/src/apis/FilesApi.js +47 -1
  4. package/dist/apispec/src/apis/QuotasApi.d.ts +53 -0
  5. package/dist/apispec/src/apis/QuotasApi.d.ts.map +1 -0
  6. package/dist/apispec/src/apis/QuotasApi.js +124 -0
  7. package/dist/apispec/src/apis/SandboxesApi.d.ts +4 -14
  8. package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
  9. package/dist/apispec/src/apis/SandboxesApi.js +2 -11
  10. package/dist/apispec/src/apis/index.d.ts +1 -1
  11. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  12. package/dist/apispec/src/apis/index.js +1 -1
  13. package/dist/apispec/src/models/ClaimResponse.d.ts +3 -2
  14. package/dist/apispec/src/models/ClaimResponse.d.ts.map +1 -1
  15. package/dist/apispec/src/models/ClaimResponse.js +3 -2
  16. package/dist/apispec/src/models/EgressAuthRolloutMode.d.ts +2 -2
  17. package/dist/apispec/src/models/EgressAuthRolloutMode.js +2 -2
  18. package/dist/apispec/src/models/MCPProtocolRule.d.ts +34 -0
  19. package/dist/apispec/src/models/MCPProtocolRule.d.ts.map +1 -0
  20. package/dist/apispec/src/models/MCPProtocolRule.js +42 -0
  21. package/dist/apispec/src/models/MCPToolPolicy.d.ts +39 -0
  22. package/dist/apispec/src/models/MCPToolPolicy.d.ts.map +1 -0
  23. package/dist/apispec/src/models/MCPToolPolicy.js +43 -0
  24. package/dist/apispec/src/models/NetworkEgressPolicy.d.ts +9 -0
  25. package/dist/apispec/src/models/NetworkEgressPolicy.d.ts.map +1 -1
  26. package/dist/apispec/src/models/NetworkEgressPolicy.js +3 -0
  27. package/dist/apispec/src/models/ProtocolRule.d.ts +74 -0
  28. package/dist/apispec/src/models/ProtocolRule.d.ts.map +1 -0
  29. package/dist/apispec/src/models/ProtocolRule.js +60 -0
  30. package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts +25 -0
  31. package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts.map +1 -0
  32. package/dist/apispec/src/models/ProtocolRuleProtocol.js +42 -0
  33. package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts +33 -0
  34. package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts.map +1 -0
  35. package/dist/apispec/src/models/PutTeamQuotaRequest.js +43 -0
  36. package/dist/apispec/src/models/QuotaDimension.d.ts +31 -0
  37. package/dist/apispec/src/models/QuotaDimension.d.ts.map +1 -0
  38. package/dist/apispec/src/models/QuotaDimension.js +48 -0
  39. package/dist/apispec/src/models/Sandbox.d.ts +3 -2
  40. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  41. package/dist/apispec/src/models/Sandbox.js +3 -2
  42. package/dist/apispec/src/models/SandboxAppService.d.ts +1 -1
  43. package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts +3 -3
  44. package/dist/apispec/src/models/SandboxConfig.d.ts +1 -1
  45. package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts +30 -0
  46. package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts.map +1 -0
  47. package/dist/apispec/src/models/SandboxLifecycleStatus.js +47 -0
  48. package/dist/apispec/src/models/SandboxPowerState.d.ts +2 -2
  49. package/dist/apispec/src/models/SandboxPowerState.js +2 -2
  50. package/dist/apispec/src/models/SandboxStatus.d.ts +3 -2
  51. package/dist/apispec/src/models/SandboxStatus.d.ts.map +1 -1
  52. package/dist/apispec/src/models/SandboxStatus.js +3 -2
  53. package/dist/apispec/src/models/SandboxSummary.d.ts +3 -12
  54. package/dist/apispec/src/models/SandboxSummary.d.ts.map +1 -1
  55. package/dist/apispec/src/models/SandboxSummary.js +3 -11
  56. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +1 -1
  57. package/dist/apispec/src/models/SuccessTeamQuotaResponse.d.ts +40 -0
  58. package/dist/apispec/src/models/SuccessTeamQuotaResponse.d.ts.map +1 -0
  59. package/dist/apispec/src/models/SuccessTeamQuotaResponse.js +46 -0
  60. package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts +40 -0
  61. package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts.map +1 -0
  62. package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.js +46 -0
  63. package/dist/apispec/src/models/TeamQuota.d.ts +46 -0
  64. package/dist/apispec/src/models/TeamQuota.d.ts.map +1 -0
  65. package/dist/apispec/src/models/TeamQuota.js +50 -0
  66. package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts +51 -0
  67. package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts.map +1 -0
  68. package/dist/apispec/src/models/VolumeFileArchiveImportResponse.js +55 -0
  69. package/dist/apispec/src/models/index.d.ts +11 -30
  70. package/dist/apispec/src/models/index.d.ts.map +1 -1
  71. package/dist/apispec/src/models/index.js +11 -30
  72. package/dist/apispec_compat.d.ts +79 -165
  73. package/dist/apispec_compat.d.ts.map +1 -1
  74. package/dist/client.d.ts +0 -3
  75. package/dist/client.d.ts.map +1 -1
  76. package/dist/client.js +0 -4
  77. package/dist/index.d.ts +0 -2
  78. package/dist/index.d.ts.map +1 -1
  79. package/dist/index.js +0 -1
  80. package/dist/resources/volumes.d.ts +2 -1
  81. package/dist/resources/volumes.d.ts.map +1 -1
  82. package/dist/resources/volumes.js +9 -0
  83. package/package.json +1 -1
  84. package/dist/apispec/src/apis/FunctionsApi.d.ts +0 -184
  85. package/dist/apispec/src/apis/FunctionsApi.d.ts.map +0 -1
  86. package/dist/apispec/src/apis/FunctionsApi.js +0 -514
  87. package/dist/apispec/src/models/Function.d.ts +0 -93
  88. package/dist/apispec/src/models/Function.d.ts.map +0 -1
  89. package/dist/apispec/src/models/Function.js +0 -77
  90. package/dist/apispec/src/models/FunctionAlias.d.ts +0 -63
  91. package/dist/apispec/src/models/FunctionAlias.d.ts.map +0 -1
  92. package/dist/apispec/src/models/FunctionAlias.js +0 -61
  93. package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts +0 -33
  94. package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts.map +0 -1
  95. package/dist/apispec/src/models/FunctionAliasUpdateRequest.js +0 -43
  96. package/dist/apispec/src/models/FunctionCreateRequest.d.ts +0 -40
  97. package/dist/apispec/src/models/FunctionCreateRequest.d.ts.map +0 -1
  98. package/dist/apispec/src/models/FunctionCreateRequest.js +0 -46
  99. package/dist/apispec/src/models/FunctionRecord.d.ts +0 -105
  100. package/dist/apispec/src/models/FunctionRecord.d.ts.map +0 -1
  101. package/dist/apispec/src/models/FunctionRecord.js +0 -85
  102. package/dist/apispec/src/models/FunctionRestoreMount.d.ts +0 -51
  103. package/dist/apispec/src/models/FunctionRestoreMount.d.ts.map +0 -1
  104. package/dist/apispec/src/models/FunctionRestoreMount.js +0 -51
  105. package/dist/apispec/src/models/FunctionRevision.d.ts +0 -113
  106. package/dist/apispec/src/models/FunctionRevision.d.ts.map +0 -1
  107. package/dist/apispec/src/models/FunctionRevision.js +0 -87
  108. package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts +0 -40
  109. package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts.map +0 -1
  110. package/dist/apispec/src/models/FunctionRevisionCreateRequest.js +0 -46
  111. package/dist/apispec/src/models/FunctionRuntimeState.d.ts +0 -27
  112. package/dist/apispec/src/models/FunctionRuntimeState.d.ts.map +0 -1
  113. package/dist/apispec/src/models/FunctionRuntimeState.js +0 -44
  114. package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts +0 -70
  115. package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts.map +0 -1
  116. package/dist/apispec/src/models/FunctionRuntimeStatus.js +0 -62
  117. package/dist/apispec/src/models/FunctionSourceRequest.d.ts +0 -39
  118. package/dist/apispec/src/models/FunctionSourceRequest.d.ts.map +0 -1
  119. package/dist/apispec/src/models/FunctionSourceRequest.js +0 -47
  120. package/dist/apispec/src/models/FunctionUpdateRequest.d.ts +0 -39
  121. package/dist/apispec/src/models/FunctionUpdateRequest.d.ts.map +0 -1
  122. package/dist/apispec/src/models/FunctionUpdateRequest.js +0 -43
  123. package/dist/apispec/src/models/SuccessFunctionAliasListResponse.d.ts +0 -40
  124. package/dist/apispec/src/models/SuccessFunctionAliasListResponse.d.ts.map +0 -1
  125. package/dist/apispec/src/models/SuccessFunctionAliasListResponse.js +0 -46
  126. package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.d.ts +0 -34
  127. package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.d.ts.map +0 -1
  128. package/dist/apispec/src/models/SuccessFunctionAliasListResponseAllOfData.js +0 -44
  129. package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts +0 -40
  130. package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts.map +0 -1
  131. package/dist/apispec/src/models/SuccessFunctionAliasResponse.js +0 -46
  132. package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts +0 -34
  133. package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts.map +0 -1
  134. package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.js +0 -44
  135. package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts +0 -40
  136. package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts.map +0 -1
  137. package/dist/apispec/src/models/SuccessFunctionCreateResponse.js +0 -46
  138. package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts +0 -48
  139. package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts.map +0 -1
  140. package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.js +0 -54
  141. package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts +0 -40
  142. package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts.map +0 -1
  143. package/dist/apispec/src/models/SuccessFunctionListResponse.js +0 -46
  144. package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts +0 -34
  145. package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts.map +0 -1
  146. package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.js +0 -44
  147. package/dist/apispec/src/models/SuccessFunctionResponse.d.ts +0 -40
  148. package/dist/apispec/src/models/SuccessFunctionResponse.d.ts.map +0 -1
  149. package/dist/apispec/src/models/SuccessFunctionResponse.js +0 -46
  150. package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts +0 -34
  151. package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts.map +0 -1
  152. package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.js +0 -44
  153. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts +0 -40
  154. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts.map +0 -1
  155. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.js +0 -46
  156. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts +0 -40
  157. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts.map +0 -1
  158. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.js +0 -48
  159. package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts +0 -40
  160. package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts.map +0 -1
  161. package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.js +0 -46
  162. package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts +0 -34
  163. package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts.map +0 -1
  164. package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.js +0 -44
  165. package/dist/apispec/src/models/SuccessFunctionRevisionResponse.d.ts +0 -40
  166. package/dist/apispec/src/models/SuccessFunctionRevisionResponse.d.ts.map +0 -1
  167. package/dist/apispec/src/models/SuccessFunctionRevisionResponse.js +0 -46
  168. package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.d.ts +0 -34
  169. package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.d.ts.map +0 -1
  170. package/dist/apispec/src/models/SuccessFunctionRevisionResponseAllOfData.js +0 -44
  171. package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.d.ts +0 -40
  172. package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.d.ts.map +0 -1
  173. package/dist/apispec/src/models/SuccessFunctionRuntimeResponse.js +0 -46
  174. package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.d.ts +0 -34
  175. package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.d.ts.map +0 -1
  176. package/dist/apispec/src/models/SuccessFunctionRuntimeResponseAllOfData.js +0 -44
  177. package/dist/resources/functions.d.ts +0 -39
  178. package/dist/resources/functions.d.ts.map +0 -1
  179. package/dist/resources/functions.js +0 -128
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MCPToolPolicy.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/MCPToolPolicy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;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"}
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the MCPToolPolicy interface.
16
+ */
17
+ export function instanceOfMCPToolPolicy(value) {
18
+ return true;
19
+ }
20
+ export function MCPToolPolicyFromJSON(json) {
21
+ return MCPToolPolicyFromJSONTyped(json, false);
22
+ }
23
+ export function MCPToolPolicyFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'allowed': json['allowed'] == null ? undefined : json['allowed'],
29
+ 'denied': json['denied'] == null ? undefined : json['denied'],
30
+ };
31
+ }
32
+ export function MCPToolPolicyToJSON(json) {
33
+ return MCPToolPolicyToJSONTyped(json, false);
34
+ }
35
+ export function MCPToolPolicyToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'allowed': value['allowed'],
41
+ 'denied': value['denied'],
42
+ };
43
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ProtocolRule } from './ProtocolRule.js';
12
13
  import type { PortSpec } from './PortSpec.js';
13
14
  import type { EgressProxyPolicy } from './EgressProxyPolicy.js';
14
15
  import type { EgressCredentialRule } from './EgressCredentialRule.js';
@@ -74,6 +75,14 @@ export interface NetworkEgressPolicy {
74
75
  * @memberof NetworkEgressPolicy
75
76
  */
76
77
  trafficRules?: Array<TrafficRule>;
78
+ /**
79
+ * Protocol-aware controls applied after traffic is allowed by
80
+ * `trafficRules` or legacy allow/deny fields.
81
+ *
82
+ * @type {Array<ProtocolRule>}
83
+ * @memberof NetworkEgressPolicy
84
+ */
85
+ protocolRules?: Array<ProtocolRule>;
77
86
  /**
78
87
  * Structured egress auth injection rules resolved by the manager runtime egress auth path.
79
88
  * These rules are orthogonal to allow/deny matching and are intended for
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkEgressPolicy.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/NetworkEgressPolicy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;;;;;;GASG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;;OAKG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC9B;;;;;;OAMG;IACH,YAAY,CAA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H,YAAY,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC9B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAClC;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACpC;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAC9C;;;;OAIG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAiB7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkB5H"}
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { ProtocolRuleFromJSON, ProtocolRuleToJSON, } from './ProtocolRule.js';
14
15
  import { PortSpecFromJSON, PortSpecToJSON, } from './PortSpec.js';
15
16
  import { EgressProxyPolicyFromJSON, EgressProxyPolicyToJSON, } from './EgressProxyPolicy.js';
16
17
  import { EgressCredentialRuleFromJSON, EgressCredentialRuleToJSON, } from './EgressCredentialRule.js';
@@ -36,6 +37,7 @@ export function NetworkEgressPolicyFromJSONTyped(json, ignoreDiscriminator) {
36
37
  'deniedCidrs': json['deniedCidrs'] == null ? undefined : json['deniedCidrs'],
37
38
  'deniedPorts': json['deniedPorts'] == null ? undefined : (json['deniedPorts'].map(PortSpecFromJSON)),
38
39
  'trafficRules': json['trafficRules'] == null ? undefined : (json['trafficRules'].map(TrafficRuleFromJSON)),
40
+ 'protocolRules': json['protocolRules'] == null ? undefined : (json['protocolRules'].map(ProtocolRuleFromJSON)),
39
41
  'credentialRules': json['credentialRules'] == null ? undefined : (json['credentialRules'].map(EgressCredentialRuleFromJSON)),
40
42
  'proxy': json['proxy'] == null ? undefined : EgressProxyPolicyFromJSON(json['proxy']),
41
43
  };
@@ -55,6 +57,7 @@ export function NetworkEgressPolicyToJSONTyped(value, ignoreDiscriminator = fals
55
57
  'deniedCidrs': value['deniedCidrs'],
56
58
  'deniedPorts': value['deniedPorts'] == null ? undefined : (value['deniedPorts'].map(PortSpecToJSON)),
57
59
  'trafficRules': value['trafficRules'] == null ? undefined : (value['trafficRules'].map(TrafficRuleToJSON)),
60
+ 'protocolRules': value['protocolRules'] == null ? undefined : (value['protocolRules'].map(ProtocolRuleToJSON)),
58
61
  'credentialRules': value['credentialRules'] == null ? undefined : (value['credentialRules'].map(EgressCredentialRuleToJSON)),
59
62
  'proxy': EgressProxyPolicyToJSON(value['proxy']),
60
63
  };
@@ -0,0 +1,74 @@
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 { HTTPMatch } from './HTTPMatch.js';
13
+ import type { PortSpec } from './PortSpec.js';
14
+ import type { EgressTLSMode } from './EgressTLSMode.js';
15
+ import type { MCPProtocolRule } from './MCPProtocolRule.js';
16
+ import type { ProtocolRuleProtocol } from './ProtocolRuleProtocol.js';
17
+ /**
18
+ * Protocol-aware egress controls applied after destination traffic is allowed.
19
+ * @export
20
+ * @interface ProtocolRule
21
+ */
22
+ export interface ProtocolRule {
23
+ /**
24
+ * Optional stable identifier used for merge and replacement.
25
+ * @type {string}
26
+ * @memberof ProtocolRule
27
+ */
28
+ name?: string;
29
+ /**
30
+ *
31
+ * @type {ProtocolRuleProtocol}
32
+ * @memberof ProtocolRule
33
+ */
34
+ protocol: ProtocolRuleProtocol;
35
+ /**
36
+ * Domain match list for the rule.
37
+ * @type {Array<string>}
38
+ * @memberof ProtocolRule
39
+ */
40
+ domains?: Array<string>;
41
+ /**
42
+ * Port/protocol constraints for the rule.
43
+ * @type {Array<PortSpec>}
44
+ * @memberof ProtocolRule
45
+ */
46
+ ports?: Array<PortSpec>;
47
+ /**
48
+ *
49
+ * @type {EgressTLSMode}
50
+ * @memberof ProtocolRule
51
+ */
52
+ tlsMode?: EgressTLSMode;
53
+ /**
54
+ *
55
+ * @type {HTTPMatch}
56
+ * @memberof ProtocolRule
57
+ */
58
+ httpMatch?: HTTPMatch;
59
+ /**
60
+ *
61
+ * @type {MCPProtocolRule}
62
+ * @memberof ProtocolRule
63
+ */
64
+ mcp?: MCPProtocolRule;
65
+ }
66
+ /**
67
+ * Check if a given object implements the ProtocolRule interface.
68
+ */
69
+ export declare function instanceOfProtocolRule(value: object): value is ProtocolRule;
70
+ export declare function ProtocolRuleFromJSON(json: any): ProtocolRule;
71
+ export declare function ProtocolRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProtocolRule;
72
+ export declare function ProtocolRuleToJSON(json: any): ProtocolRule;
73
+ export declare function ProtocolRuleToJSONTyped(value?: ProtocolRule | null, ignoreDiscriminator?: boolean): any;
74
+ //# sourceMappingURL=ProtocolRule.d.ts.map
@@ -0,0 +1 @@
1
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e,GAAG,GAAG,CAe9G"}
@@ -0,0 +1,60 @@
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 { HTTPMatchFromJSON, HTTPMatchToJSON, } from './HTTPMatch.js';
15
+ import { PortSpecFromJSON, PortSpecToJSON, } from './PortSpec.js';
16
+ import { EgressTLSModeFromJSON, EgressTLSModeToJSON, } from './EgressTLSMode.js';
17
+ import { MCPProtocolRuleFromJSON, MCPProtocolRuleToJSON, } from './MCPProtocolRule.js';
18
+ import { ProtocolRuleProtocolFromJSON, ProtocolRuleProtocolToJSON, } from './ProtocolRuleProtocol.js';
19
+ /**
20
+ * Check if a given object implements the ProtocolRule interface.
21
+ */
22
+ export function instanceOfProtocolRule(value) {
23
+ if (!('protocol' in value) || value['protocol'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ProtocolRuleFromJSON(json) {
28
+ return ProtocolRuleFromJSONTyped(json, false);
29
+ }
30
+ export function ProtocolRuleFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': json['name'] == null ? undefined : json['name'],
36
+ 'protocol': ProtocolRuleProtocolFromJSON(json['protocol']),
37
+ 'domains': json['domains'] == null ? undefined : json['domains'],
38
+ 'ports': json['ports'] == null ? undefined : (json['ports'].map(PortSpecFromJSON)),
39
+ 'tlsMode': json['tlsMode'] == null ? undefined : EgressTLSModeFromJSON(json['tlsMode']),
40
+ 'httpMatch': json['httpMatch'] == null ? undefined : HTTPMatchFromJSON(json['httpMatch']),
41
+ 'mcp': json['mcp'] == null ? undefined : MCPProtocolRuleFromJSON(json['mcp']),
42
+ };
43
+ }
44
+ export function ProtocolRuleToJSON(json) {
45
+ return ProtocolRuleToJSONTyped(json, false);
46
+ }
47
+ export function ProtocolRuleToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'name': value['name'],
53
+ 'protocol': ProtocolRuleProtocolToJSON(value['protocol']),
54
+ 'domains': value['domains'],
55
+ 'ports': value['ports'] == null ? undefined : (value['ports'].map(PortSpecToJSON)),
56
+ 'tlsMode': EgressTLSModeToJSON(value['tlsMode']),
57
+ 'httpMatch': HTTPMatchToJSON(value['httpMatch']),
58
+ 'mcp': MCPProtocolRuleToJSON(value['mcp']),
59
+ };
60
+ }
@@ -0,0 +1,25 @@
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
+ */
16
+ export declare const ProtocolRuleProtocol: {
17
+ readonly ProtocolRuleProtocolMcp: "mcp";
18
+ };
19
+ export type ProtocolRuleProtocol = typeof ProtocolRuleProtocol[keyof typeof ProtocolRuleProtocol];
20
+ export declare function instanceOfProtocolRuleProtocol(value: any): boolean;
21
+ export declare function ProtocolRuleProtocolFromJSON(json: any): ProtocolRuleProtocol;
22
+ export declare function ProtocolRuleProtocolFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProtocolRuleProtocol;
23
+ export declare function ProtocolRuleProtocolToJSON(value?: ProtocolRuleProtocol | null): any;
24
+ export declare function ProtocolRuleProtocolToJSONTyped(value: any, ignoreDiscriminator: boolean): ProtocolRuleProtocol;
25
+ //# sourceMappingURL=ProtocolRuleProtocol.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProtocolRuleProtocol.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ProtocolRuleProtocol.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAGlG,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASlE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE/G;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,GAAG,CAEnF;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE9G"}
@@ -0,0 +1,42 @@
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 ProtocolRuleProtocol = {
19
+ ProtocolRuleProtocolMcp: 'mcp'
20
+ };
21
+ export function instanceOfProtocolRuleProtocol(value) {
22
+ for (const key in ProtocolRuleProtocol) {
23
+ if (Object.prototype.hasOwnProperty.call(ProtocolRuleProtocol, key)) {
24
+ if (ProtocolRuleProtocol[key] === value) {
25
+ return true;
26
+ }
27
+ }
28
+ }
29
+ return false;
30
+ }
31
+ export function ProtocolRuleProtocolFromJSON(json) {
32
+ return ProtocolRuleProtocolFromJSONTyped(json, false);
33
+ }
34
+ export function ProtocolRuleProtocolFromJSONTyped(json, ignoreDiscriminator) {
35
+ return json;
36
+ }
37
+ export function ProtocolRuleProtocolToJSON(value) {
38
+ return value;
39
+ }
40
+ export function ProtocolRuleProtocolToJSONTyped(value, ignoreDiscriminator) {
41
+ return value;
42
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PutTeamQuotaRequest
16
+ */
17
+ export interface PutTeamQuotaRequest {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof PutTeamQuotaRequest
22
+ */
23
+ limitValue: number;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PutTeamQuotaRequest interface.
27
+ */
28
+ export declare function instanceOfPutTeamQuotaRequest(value: object): value is PutTeamQuotaRequest;
29
+ export declare function PutTeamQuotaRequestFromJSON(json: any): PutTeamQuotaRequest;
30
+ export declare function PutTeamQuotaRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutTeamQuotaRequest;
31
+ export declare function PutTeamQuotaRequestToJSON(json: any): PutTeamQuotaRequest;
32
+ export declare function PutTeamQuotaRequestToJSONTyped(value?: PutTeamQuotaRequest | null, ignoreDiscriminator?: boolean): any;
33
+ //# sourceMappingURL=PutTeamQuotaRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PutTeamQuotaRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PutTeamQuotaRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAGzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAQ7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS5H"}
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PutTeamQuotaRequest interface.
16
+ */
17
+ export function instanceOfPutTeamQuotaRequest(value) {
18
+ if (!('limitValue' in value) || value['limitValue'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function PutTeamQuotaRequestFromJSON(json) {
23
+ return PutTeamQuotaRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PutTeamQuotaRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'limitValue': json['limit_value'],
31
+ };
32
+ }
33
+ export function PutTeamQuotaRequestToJSON(json) {
34
+ return PutTeamQuotaRequestToJSONTyped(json, false);
35
+ }
36
+ export function PutTeamQuotaRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'limit_value': value['limitValue'],
42
+ };
43
+ }
@@ -0,0 +1,31 @@
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
+ */
16
+ export declare const QuotaDimension: {
17
+ readonly ActiveSandboxes: "active_sandboxes";
18
+ readonly CpuMillicpu: "cpu_millicpu";
19
+ readonly MemoryMib: "memory_mib";
20
+ readonly VolumeStorageGb: "volume_storage_gb";
21
+ readonly SnapshotStorageGb: "snapshot_storage_gb";
22
+ readonly Egress: "egress";
23
+ readonly Ingress: "ingress";
24
+ };
25
+ export type QuotaDimension = typeof QuotaDimension[keyof typeof QuotaDimension];
26
+ export declare function instanceOfQuotaDimension(value: any): boolean;
27
+ export declare function QuotaDimensionFromJSON(json: any): QuotaDimension;
28
+ export declare function QuotaDimensionFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotaDimension;
29
+ export declare function QuotaDimensionToJSON(value?: QuotaDimension | null): any;
30
+ export declare function QuotaDimensionToJSONTyped(value: any, ignoreDiscriminator: boolean): QuotaDimension;
31
+ //# sourceMappingURL=QuotaDimension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuotaDimension.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/QuotaDimension.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;CAQjB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAGhF,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS5D;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAEnG;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,GAAG,CAEvE;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAElG"}
@@ -0,0 +1,48 @@
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 QuotaDimension = {
19
+ ActiveSandboxes: 'active_sandboxes',
20
+ CpuMillicpu: 'cpu_millicpu',
21
+ MemoryMib: 'memory_mib',
22
+ VolumeStorageGb: 'volume_storage_gb',
23
+ SnapshotStorageGb: 'snapshot_storage_gb',
24
+ Egress: 'egress',
25
+ Ingress: 'ingress'
26
+ };
27
+ export function instanceOfQuotaDimension(value) {
28
+ for (const key in QuotaDimension) {
29
+ if (Object.prototype.hasOwnProperty.call(QuotaDimension, key)) {
30
+ if (QuotaDimension[key] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+ export function QuotaDimensionFromJSON(json) {
38
+ return QuotaDimensionFromJSONTyped(json, false);
39
+ }
40
+ export function QuotaDimensionFromJSONTyped(json, ignoreDiscriminator) {
41
+ return json;
42
+ }
43
+ export function QuotaDimensionToJSON(value) {
44
+ return value;
45
+ }
46
+ export function QuotaDimensionToJSONTyped(value, ignoreDiscriminator) {
47
+ return value;
48
+ }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { SandboxAppService } from './SandboxAppService.js';
13
13
  import type { ClaimMountRequest } from './ClaimMountRequest.js';
14
+ import type { SandboxLifecycleStatus } from './SandboxLifecycleStatus.js';
14
15
  import type { SandboxSSHConnection } from './SandboxSSHConnection.js';
15
16
  import type { SandboxPowerState } from './SandboxPowerState.js';
16
17
  /**
@@ -45,10 +46,10 @@ export interface Sandbox {
45
46
  userId?: string;
46
47
  /**
47
48
  *
48
- * @type {string}
49
+ * @type {SandboxLifecycleStatus}
49
50
  * @memberof Sandbox
50
51
  */
51
- status: string;
52
+ status: SandboxLifecycleStatus;
52
53
  /**
53
54
  *
54
55
  * @type {boolean}
@@ -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,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,UAAU,EAAE,OAAO,C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AAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAwBpG"}
@@ -13,6 +13,7 @@
13
13
  */
14
14
  import { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
15
15
  import { ClaimMountRequestFromJSON, ClaimMountRequestToJSON, } from './ClaimMountRequest.js';
16
+ import { SandboxLifecycleStatusFromJSON, SandboxLifecycleStatusToJSON, } from './SandboxLifecycleStatus.js';
16
17
  import { SandboxSSHConnectionFromJSON, SandboxSSHConnectionToJSON, } from './SandboxSSHConnection.js';
17
18
  import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
18
19
  /**
@@ -57,7 +58,7 @@ export function SandboxFromJSONTyped(json, ignoreDiscriminator) {
57
58
  'templateId': json['template_id'],
58
59
  'teamId': json['team_id'],
59
60
  'userId': json['user_id'] == null ? undefined : json['user_id'],
60
- 'status': json['status'],
61
+ 'status': SandboxLifecycleStatusFromJSON(json['status']),
61
62
  'paused': json['paused'],
62
63
  'powerState': SandboxPowerStateFromJSON(json['power_state']),
63
64
  'autoResume': json['auto_resume'],
@@ -83,7 +84,7 @@ export function SandboxToJSONTyped(value, ignoreDiscriminator = false) {
83
84
  'template_id': value['templateId'],
84
85
  'team_id': value['teamId'],
85
86
  'user_id': value['userId'],
86
- 'status': value['status'],
87
+ 'status': SandboxLifecycleStatusToJSON(value['status']),
87
88
  'paused': value['paused'],
88
89
  'power_state': SandboxPowerStateToJSON(value['powerState']),
89
90
  'auto_resume': value['autoResume'],
@@ -13,7 +13,7 @@ import type { SandboxAppServiceHealth } from './SandboxAppServiceHealth.js';
13
13
  import type { SandboxAppServiceIngress } from './SandboxAppServiceIngress.js';
14
14
  import type { SandboxAppServiceRuntime } from './SandboxAppServiceRuntime.js';
15
15
  /**
16
- * Canonical service model for sandbox exposure and function publishing.
16
+ * Canonical service model for sandbox exposure.
17
17
  * @export
18
18
  * @interface SandboxAppService
19
19
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface SandboxAppServiceRuntime {
18
18
  /**
19
- *
19
+ * Runtime strategy for restarting a service process.
20
20
  * @type {string}
21
21
  * @memberof SandboxAppServiceRuntime
22
22
  */
23
23
  type: SandboxAppServiceRuntimeTypeEnum;
24
24
  /**
25
- *
25
+ * Process argv used when type is cmd.
26
26
  * @type {Array<string>}
27
27
  * @memberof SandboxAppServiceRuntime
28
28
  */
@@ -42,7 +42,7 @@ export interface SandboxAppServiceRuntime {
42
42
  [key: string]: string;
43
43
  };
44
44
  /**
45
- *
45
+ * Warm process alias or context ID used when type is warm_process.
46
46
  * @type {string}
47
47
  * @memberof SandboxAppServiceRuntime
48
48
  */
@@ -33,7 +33,7 @@ export interface SandboxConfig {
33
33
  */
34
34
  ttl?: number;
35
35
  /**
36
- *
36
+ * 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.
37
37
  * @type {number}
38
38
  * @memberof SandboxConfig
39
39
  */
@@ -0,0 +1,30 @@
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
+ */
16
+ export declare const SandboxLifecycleStatus: {
17
+ readonly SandboxLifecycleStatusStarting: "starting";
18
+ readonly SandboxLifecycleStatusRunning: "running";
19
+ readonly SandboxLifecycleStatusFailed: "failed";
20
+ readonly SandboxLifecycleStatusCompleted: "completed";
21
+ readonly SandboxLifecycleStatusTerminating: "terminating";
22
+ readonly SandboxLifecycleStatusCleaned: "cleaned";
23
+ };
24
+ export type SandboxLifecycleStatus = typeof SandboxLifecycleStatus[keyof typeof SandboxLifecycleStatus];
25
+ export declare function instanceOfSandboxLifecycleStatus(value: any): boolean;
26
+ export declare function SandboxLifecycleStatusFromJSON(json: any): SandboxLifecycleStatus;
27
+ export declare function SandboxLifecycleStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxLifecycleStatus;
28
+ export declare function SandboxLifecycleStatusToJSON(value?: SandboxLifecycleStatus | null): any;
29
+ export declare function SandboxLifecycleStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxLifecycleStatus;
30
+ //# sourceMappingURL=SandboxLifecycleStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxLifecycleStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxLifecycleStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;CAOzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAGxG,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAEnH;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,GAAG,GAAG,CAEvF;AAED,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAElH"}