sandbox0 0.7.7 → 0.7.9

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 (236) hide show
  1. package/README.md +28 -0
  2. package/dist/apispec/src/apis/ObservabilityApi.d.ts +25 -14
  3. package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -1
  4. package/dist/apispec/src/apis/ObservabilityApi.js +52 -23
  5. package/dist/apispec/src/apis/SessionsApi.d.ts +202 -0
  6. package/dist/apispec/src/apis/SessionsApi.d.ts.map +1 -0
  7. package/dist/apispec/src/apis/SessionsApi.js +563 -0
  8. package/dist/apispec/src/apis/index.d.ts +1 -1
  9. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  10. package/dist/apispec/src/apis/index.js +1 -1
  11. package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.d.ts +33 -0
  12. package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.d.ts.map +1 -0
  13. package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.js +41 -0
  14. package/dist/apispec/src/models/ExecutionSession.d.ts +97 -0
  15. package/dist/apispec/src/models/ExecutionSession.d.ts.map +1 -0
  16. package/dist/apispec/src/models/ExecutionSession.js +85 -0
  17. package/dist/apispec/src/models/ExecutionSessionAttempt.d.ts +75 -0
  18. package/dist/apispec/src/models/ExecutionSessionAttempt.d.ts.map +1 -0
  19. package/dist/apispec/src/models/ExecutionSessionAttempt.js +61 -0
  20. package/dist/apispec/src/models/ExecutionSessionDesiredState.d.ts +26 -0
  21. package/dist/apispec/src/models/ExecutionSessionDesiredState.d.ts.map +1 -0
  22. package/dist/apispec/src/models/ExecutionSessionDesiredState.js +43 -0
  23. package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.d.ts +34 -0
  24. package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.d.ts.map +1 -0
  25. package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.js +44 -0
  26. package/dist/apispec/src/models/ExecutionSessionEvent.d.ts +96 -0
  27. package/dist/apispec/src/models/ExecutionSessionEvent.d.ts.map +1 -0
  28. package/dist/apispec/src/models/ExecutionSessionEvent.js +77 -0
  29. package/dist/apispec/src/models/ExecutionSessionEventCursor.d.ts +39 -0
  30. package/dist/apispec/src/models/ExecutionSessionEventCursor.d.ts.map +1 -0
  31. package/dist/apispec/src/models/ExecutionSessionEventCursor.js +47 -0
  32. package/dist/apispec/src/models/ExecutionSessionEventPage.d.ts +41 -0
  33. package/dist/apispec/src/models/ExecutionSessionEventPage.d.ts.map +1 -0
  34. package/dist/apispec/src/models/ExecutionSessionEventPage.js +49 -0
  35. package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.d.ts +39 -0
  36. package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.d.ts.map +1 -0
  37. package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.js +43 -0
  38. package/dist/apispec/src/models/ExecutionSessionIOMode.d.ts +26 -0
  39. package/dist/apispec/src/models/ExecutionSessionIOMode.d.ts.map +1 -0
  40. package/dist/apispec/src/models/ExecutionSessionIOMode.js +43 -0
  41. package/dist/apispec/src/models/ExecutionSessionIOSpec.d.ts +41 -0
  42. package/dist/apispec/src/models/ExecutionSessionIOSpec.d.ts.map +1 -0
  43. package/dist/apispec/src/models/ExecutionSessionIOSpec.js +45 -0
  44. package/dist/apispec/src/models/ExecutionSessionInputRequest.d.ts +51 -0
  45. package/dist/apispec/src/models/ExecutionSessionInputRequest.d.ts.map +1 -0
  46. package/dist/apispec/src/models/ExecutionSessionInputRequest.js +49 -0
  47. package/dist/apispec/src/models/ExecutionSessionInputResponse.d.ts +51 -0
  48. package/dist/apispec/src/models/ExecutionSessionInputResponse.d.ts.map +1 -0
  49. package/dist/apispec/src/models/ExecutionSessionInputResponse.js +55 -0
  50. package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.d.ts +66 -0
  51. package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.d.ts.map +1 -0
  52. package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.js +54 -0
  53. package/dist/apispec/src/models/ExecutionSessionPhase.d.ts +34 -0
  54. package/dist/apispec/src/models/ExecutionSessionPhase.d.ts.map +1 -0
  55. package/dist/apispec/src/models/ExecutionSessionPhase.js +51 -0
  56. package/dist/apispec/src/models/ExecutionSessionReadinessSpec.d.ts +52 -0
  57. package/dist/apispec/src/models/ExecutionSessionReadinessSpec.d.ts.map +1 -0
  58. package/dist/apispec/src/models/ExecutionSessionReadinessSpec.js +48 -0
  59. package/dist/apispec/src/models/ExecutionSessionReadinessType.d.ts +27 -0
  60. package/dist/apispec/src/models/ExecutionSessionReadinessType.d.ts.map +1 -0
  61. package/dist/apispec/src/models/ExecutionSessionReadinessType.js +44 -0
  62. package/dist/apispec/src/models/ExecutionSessionRestartPolicy.d.ts +27 -0
  63. package/dist/apispec/src/models/ExecutionSessionRestartPolicy.d.ts.map +1 -0
  64. package/dist/apispec/src/models/ExecutionSessionRestartPolicy.js +44 -0
  65. package/dist/apispec/src/models/ExecutionSessionRestartSpec.d.ts +58 -0
  66. package/dist/apispec/src/models/ExecutionSessionRestartSpec.d.ts.map +1 -0
  67. package/dist/apispec/src/models/ExecutionSessionRestartSpec.js +50 -0
  68. package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.d.ts +26 -0
  69. package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.d.ts.map +1 -0
  70. package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.js +43 -0
  71. package/dist/apispec/src/models/ExecutionSessionSignalRequest.d.ts +39 -0
  72. package/dist/apispec/src/models/ExecutionSessionSignalRequest.d.ts.map +1 -0
  73. package/dist/apispec/src/models/ExecutionSessionSignalRequest.js +45 -0
  74. package/dist/apispec/src/models/ExecutionSessionSpec.d.ts +81 -0
  75. package/dist/apispec/src/models/ExecutionSessionSpec.d.ts.map +1 -0
  76. package/dist/apispec/src/models/ExecutionSessionSpec.js +61 -0
  77. package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.d.ts +45 -0
  78. package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.d.ts.map +1 -0
  79. package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.js +49 -0
  80. package/dist/apispec/src/models/ExecutionSessionTerminalSpec.d.ts +45 -0
  81. package/dist/apispec/src/models/ExecutionSessionTerminalSpec.d.ts.map +1 -0
  82. package/dist/apispec/src/models/ExecutionSessionTerminalSpec.js +45 -0
  83. package/dist/apispec/src/models/ExecutionSessionWebSocketAck.d.ts +46 -0
  84. package/dist/apispec/src/models/ExecutionSessionWebSocketAck.d.ts.map +1 -0
  85. package/dist/apispec/src/models/ExecutionSessionWebSocketAck.js +51 -0
  86. package/dist/apispec/src/models/ExecutionSessionWebSocketError.d.ts +52 -0
  87. package/dist/apispec/src/models/ExecutionSessionWebSocketError.d.ts.map +1 -0
  88. package/dist/apispec/src/models/ExecutionSessionWebSocketError.js +55 -0
  89. package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.d.ts +47 -0
  90. package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.d.ts.map +1 -0
  91. package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.js +54 -0
  92. package/dist/apispec/src/models/ExecutionSessionWebSocketInput.d.ts +70 -0
  93. package/dist/apispec/src/models/ExecutionSessionWebSocketInput.d.ts.map +1 -0
  94. package/dist/apispec/src/models/ExecutionSessionWebSocketInput.js +61 -0
  95. package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.d.ts +25 -0
  96. package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.d.ts.map +1 -0
  97. package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.js +58 -0
  98. package/dist/apispec/src/models/ExecutionSessionWebSocketResize.d.ts +64 -0
  99. package/dist/apispec/src/models/ExecutionSessionWebSocketResize.d.ts.map +1 -0
  100. package/dist/apispec/src/models/ExecutionSessionWebSocketResize.js +61 -0
  101. package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.d.ts +25 -0
  102. package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.d.ts.map +1 -0
  103. package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.js +58 -0
  104. package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.d.ts +58 -0
  105. package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.d.ts.map +1 -0
  106. package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.js +57 -0
  107. package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts +0 -1
  108. package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts.map +1 -1
  109. package/dist/apispec/src/models/SandboxObservabilityWatchLine.js +0 -1
  110. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts +1 -2
  111. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts.map +1 -1
  112. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.js +0 -7
  113. package/dist/apispec/src/models/SandboxRuntimeMetricDescriptor.d.ts +60 -0
  114. package/dist/apispec/src/models/SandboxRuntimeMetricDescriptor.d.ts.map +1 -0
  115. package/dist/apispec/src/models/SandboxRuntimeMetricDescriptor.js +62 -0
  116. package/dist/apispec/src/models/SandboxRuntimeMetricFreshness.d.ts +46 -0
  117. package/dist/apispec/src/models/SandboxRuntimeMetricFreshness.d.ts.map +1 -0
  118. package/dist/apispec/src/models/SandboxRuntimeMetricFreshness.js +48 -0
  119. package/dist/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.d.ts +27 -0
  120. package/dist/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.d.ts.map +1 -0
  121. package/dist/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.js +44 -0
  122. package/dist/apispec/src/models/SandboxRuntimeMetricGap.d.ts +61 -0
  123. package/dist/apispec/src/models/SandboxRuntimeMetricGap.d.ts.map +1 -0
  124. package/dist/apispec/src/models/SandboxRuntimeMetricGap.js +59 -0
  125. package/dist/apispec/src/models/SandboxRuntimeMetricGapReason.d.ts +29 -0
  126. package/dist/apispec/src/models/SandboxRuntimeMetricGapReason.d.ts.map +1 -0
  127. package/dist/apispec/src/models/SandboxRuntimeMetricGapReason.js +46 -0
  128. package/dist/apispec/src/models/SandboxRuntimeMetricKind.d.ts +26 -0
  129. package/dist/apispec/src/models/SandboxRuntimeMetricKind.d.ts.map +1 -0
  130. package/dist/apispec/src/models/SandboxRuntimeMetricKind.js +43 -0
  131. package/dist/apispec/src/models/SandboxRuntimeMetricName.d.ts +38 -0
  132. package/dist/apispec/src/models/SandboxRuntimeMetricName.d.ts.map +1 -0
  133. package/dist/apispec/src/models/SandboxRuntimeMetricName.js +55 -0
  134. package/dist/apispec/src/models/SandboxRuntimeMetricPoint.d.ts +39 -0
  135. package/dist/apispec/src/models/SandboxRuntimeMetricPoint.d.ts.map +1 -0
  136. package/dist/apispec/src/models/SandboxRuntimeMetricPoint.js +47 -0
  137. package/dist/apispec/src/models/SandboxRuntimeMetricSegment.d.ts +34 -0
  138. package/dist/apispec/src/models/SandboxRuntimeMetricSegment.d.ts.map +1 -0
  139. package/dist/apispec/src/models/SandboxRuntimeMetricSegment.js +44 -0
  140. package/dist/apispec/src/models/SandboxRuntimeMetricSeries.d.ts +70 -0
  141. package/dist/apispec/src/models/SandboxRuntimeMetricSeries.d.ts.map +1 -0
  142. package/dist/apispec/src/models/SandboxRuntimeMetricSeries.js +66 -0
  143. package/dist/apispec/src/models/SandboxRuntimeMetricStatistic.d.ts +30 -0
  144. package/dist/apispec/src/models/SandboxRuntimeMetricStatistic.d.ts.map +1 -0
  145. package/dist/apispec/src/models/SandboxRuntimeMetricStatistic.js +47 -0
  146. package/dist/apispec/src/models/SandboxRuntimeMetricUnit.d.ts +31 -0
  147. package/dist/apispec/src/models/SandboxRuntimeMetricUnit.d.ts.map +1 -0
  148. package/dist/apispec/src/models/SandboxRuntimeMetricUnit.js +48 -0
  149. package/dist/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.d.ts +34 -0
  150. package/dist/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.d.ts.map +1 -0
  151. package/dist/apispec/src/models/SandboxRuntimeMetricsCatalogResponse.js +44 -0
  152. package/dist/apispec/src/models/SandboxRuntimeMetricsResponse.d.ts +72 -0
  153. package/dist/apispec/src/models/SandboxRuntimeMetricsResponse.d.ts.map +1 -0
  154. package/dist/apispec/src/models/SandboxRuntimeMetricsResponse.js +70 -0
  155. package/dist/apispec/src/models/SuccessAcceptedResponse.d.ts +40 -0
  156. package/dist/apispec/src/models/SuccessAcceptedResponse.d.ts.map +1 -0
  157. package/dist/apispec/src/models/SuccessAcceptedResponse.js +46 -0
  158. package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.d.ts +33 -0
  159. package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.d.ts.map +1 -0
  160. package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.js +43 -0
  161. package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.d.ts +40 -0
  162. package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.d.ts.map +1 -0
  163. package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.js +46 -0
  164. package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.d.ts +40 -0
  165. package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.d.ts.map +1 -0
  166. package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.js +46 -0
  167. package/dist/apispec/src/models/SuccessExecutionSessionListResponse.d.ts +40 -0
  168. package/dist/apispec/src/models/SuccessExecutionSessionListResponse.d.ts.map +1 -0
  169. package/dist/apispec/src/models/SuccessExecutionSessionListResponse.js +46 -0
  170. package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.d.ts +34 -0
  171. package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.d.ts.map +1 -0
  172. package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.js +44 -0
  173. package/dist/apispec/src/models/SuccessExecutionSessionResponse.d.ts +40 -0
  174. package/dist/apispec/src/models/SuccessExecutionSessionResponse.d.ts.map +1 -0
  175. package/dist/apispec/src/models/SuccessExecutionSessionResponse.js +46 -0
  176. package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.d.ts +40 -0
  177. package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.d.ts.map +1 -0
  178. package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsCatalogResponse.js +46 -0
  179. package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsResponse.d.ts +40 -0
  180. package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsResponse.d.ts.map +1 -0
  181. package/dist/apispec/src/models/SuccessSandboxRuntimeMetricsResponse.js +46 -0
  182. package/dist/apispec/src/models/index.d.ts +55 -3
  183. package/dist/apispec/src/models/index.d.ts.map +1 -1
  184. package/dist/apispec/src/models/index.js +55 -3
  185. package/dist/client.d.ts +5 -6
  186. package/dist/client.d.ts.map +1 -1
  187. package/dist/client.js +19 -28
  188. package/dist/index.d.ts +26 -0
  189. package/dist/index.d.ts.map +1 -1
  190. package/dist/index.js +5 -0
  191. package/dist/models.d.ts +47 -11
  192. package/dist/models.d.ts.map +1 -1
  193. package/dist/sandbox_contexts.d.ts +1 -1
  194. package/dist/sandbox_files.d.ts +1 -1
  195. package/dist/sandbox_network.d.ts +1 -1
  196. package/dist/sandbox_observability.d.ts +4 -6
  197. package/dist/sandbox_observability.d.ts.map +1 -1
  198. package/dist/sandbox_observability.js +4 -10
  199. package/dist/sandbox_services.d.ts +1 -1
  200. package/dist/sandbox_sessions.d.ts +39 -0
  201. package/dist/sandbox_sessions.d.ts.map +1 -0
  202. package/dist/sandbox_sessions.js +275 -0
  203. package/package.json +1 -1
  204. package/dist/apispec/src/apis/AuditApi.d.ts +0 -40
  205. package/dist/apispec/src/apis/AuditApi.d.ts.map +0 -1
  206. package/dist/apispec/src/apis/AuditApi.js +0 -79
  207. package/dist/apispec/src/models/ContextStatsResponse.d.ts +0 -64
  208. package/dist/apispec/src/models/ContextStatsResponse.d.ts.map +0 -1
  209. package/dist/apispec/src/models/ContextStatsResponse.js +0 -52
  210. package/dist/apispec/src/models/LifecyclePolicy.d.ts +0 -52
  211. package/dist/apispec/src/models/LifecyclePolicy.d.ts.map +0 -1
  212. package/dist/apispec/src/models/LifecyclePolicy.js +0 -48
  213. package/dist/apispec/src/models/PreStopHook.d.ts +0 -39
  214. package/dist/apispec/src/models/PreStopHook.d.ts.map +0 -1
  215. package/dist/apispec/src/models/PreStopHook.js +0 -43
  216. package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts +0 -33
  217. package/dist/apispec/src/models/PutTeamQuotaRequest.d.ts.map +0 -1
  218. package/dist/apispec/src/models/PutTeamQuotaRequest.js +0 -43
  219. package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts +0 -101
  220. package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts.map +0 -1
  221. package/dist/apispec/src/models/SandboxObservabilityMetricSample.js +0 -81
  222. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts +0 -46
  223. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts.map +0 -1
  224. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.js +0 -48
  225. package/dist/apispec/src/models/SandboxProbeSet.d.ts +0 -46
  226. package/dist/apispec/src/models/SandboxProbeSet.d.ts.map +0 -1
  227. package/dist/apispec/src/models/SandboxProbeSet.js +0 -46
  228. package/dist/apispec/src/models/SandboxProbeSpec.d.ts +0 -66
  229. package/dist/apispec/src/models/SandboxProbeSpec.d.ts.map +0 -1
  230. package/dist/apispec/src/models/SandboxProbeSpec.js +0 -54
  231. package/dist/apispec/src/models/SuccessContextStatsResponse.d.ts +0 -40
  232. package/dist/apispec/src/models/SuccessContextStatsResponse.d.ts.map +0 -1
  233. package/dist/apispec/src/models/SuccessContextStatsResponse.js +0 -46
  234. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts +0 -40
  235. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts.map +0 -1
  236. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.js +0 -46
@@ -0,0 +1,58 @@
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 ExecutionSessionWebSocketSignal
16
+ */
17
+ export interface ExecutionSessionWebSocketSignal {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExecutionSessionWebSocketSignal
22
+ */
23
+ signal: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ExecutionSessionWebSocketSignal
28
+ */
29
+ expectedAttemptId?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ExecutionSessionWebSocketSignal
34
+ */
35
+ type: ExecutionSessionWebSocketSignalTypeEnum;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ExecutionSessionWebSocketSignal
40
+ */
41
+ requestId?: string;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const ExecutionSessionWebSocketSignalTypeEnum: {
47
+ readonly Signal: "signal";
48
+ };
49
+ export type ExecutionSessionWebSocketSignalTypeEnum = typeof ExecutionSessionWebSocketSignalTypeEnum[keyof typeof ExecutionSessionWebSocketSignalTypeEnum];
50
+ /**
51
+ * Check if a given object implements the ExecutionSessionWebSocketSignal interface.
52
+ */
53
+ export declare function instanceOfExecutionSessionWebSocketSignal(value: object): value is ExecutionSessionWebSocketSignal;
54
+ export declare function ExecutionSessionWebSocketSignalFromJSON(json: any): ExecutionSessionWebSocketSignal;
55
+ export declare function ExecutionSessionWebSocketSignalFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionWebSocketSignal;
56
+ export declare function ExecutionSessionWebSocketSignalToJSON(json: any): ExecutionSessionWebSocketSignal;
57
+ export declare function ExecutionSessionWebSocketSignalToJSONTyped(value?: ExecutionSessionWebSocketSignal | null, ignoreDiscriminator?: boolean): any;
58
+ //# sourceMappingURL=ExecutionSessionWebSocketSignal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionWebSocketSignal.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionWebSocketSignal.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,IAAI,EAAE,uCAAuC,CAAC;IAC9C;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD;;GAEG;AACH,eAAO,MAAM,uCAAuC;;CAE1C,CAAC;AACX,MAAM,MAAM,uCAAuC,GAAG,OAAO,uCAAuC,CAAC,MAAM,OAAO,uCAAuC,CAAC,CAAC;AAG3J;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+BAA+B,CAIjH;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CAWrI;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAEhG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYpJ"}
@@ -0,0 +1,57 @@
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 ExecutionSessionWebSocketSignalTypeEnum = {
18
+ Signal: 'signal'
19
+ };
20
+ /**
21
+ * Check if a given object implements the ExecutionSessionWebSocketSignal interface.
22
+ */
23
+ export function instanceOfExecutionSessionWebSocketSignal(value) {
24
+ if (!('signal' in value) || value['signal'] === undefined)
25
+ return false;
26
+ if (!('type' in value) || value['type'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function ExecutionSessionWebSocketSignalFromJSON(json) {
31
+ return ExecutionSessionWebSocketSignalFromJSONTyped(json, false);
32
+ }
33
+ export function ExecutionSessionWebSocketSignalFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'signal': json['signal'],
39
+ 'expectedAttemptId': json['expected_attempt_id'] == null ? undefined : json['expected_attempt_id'],
40
+ 'type': json['type'],
41
+ 'requestId': json['request_id'] == null ? undefined : json['request_id'],
42
+ };
43
+ }
44
+ export function ExecutionSessionWebSocketSignalToJSON(json) {
45
+ return ExecutionSessionWebSocketSignalToJSONTyped(json, false);
46
+ }
47
+ export function ExecutionSessionWebSocketSignalToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'signal': value['signal'],
53
+ 'expected_attempt_id': value['expectedAttemptId'],
54
+ 'type': value['type'],
55
+ 'request_id': value['requestId'],
56
+ };
57
+ }
@@ -59,7 +59,6 @@ export interface SandboxObservabilityWatchLine {
59
59
  export declare const SandboxObservabilityWatchLineTypeEnum: {
60
60
  readonly Event: "event";
61
61
  readonly Log: "log";
62
- readonly MetricSample: "metric_sample";
63
62
  readonly Watermark: "watermark";
64
63
  readonly Heartbeat: "heartbeat";
65
64
  readonly Error: "error";
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxObservabilityWatchLine.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityWatchLine.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAQ7F;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,IAAI,EAAE,qCAAqC,CAAC;IAC5C;;;;OAIG;IACH,IAAI,CAAC,EAAE,iCAAiC,CAAC;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD;;GAEG;AACH,eAAO,MAAM,qCAAqC;;;;;;;CAOxC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,OAAO,qCAAqC,CAAC,MAAM,OAAO,qCAAqC,CAAC,CAAC;AAGrJ;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAG7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAajI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAchJ"}
1
+ {"version":3,"file":"SandboxObservabilityWatchLine.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityWatchLine.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAQ7F;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,IAAI,EAAE,qCAAqC,CAAC;IAC5C;;;;OAIG;IACH,IAAI,CAAC,EAAE,iCAAiC,CAAC;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD;;GAEG;AACH,eAAO,MAAM,qCAAqC;;;;;;CAMxC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,OAAO,qCAAqC,CAAC,MAAM,OAAO,qCAAqC,CAAC,CAAC;AAGrJ;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAG7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAajI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAchJ"}
@@ -18,7 +18,6 @@ import { SandboxObservabilityWatchLineDataFromJSON, SandboxObservabilityWatchLin
18
18
  export const SandboxObservabilityWatchLineTypeEnum = {
19
19
  Event: 'event',
20
20
  Log: 'log',
21
- MetricSample: 'metric_sample',
22
21
  Watermark: 'watermark',
23
22
  Heartbeat: 'heartbeat',
24
23
  Error: 'error'
@@ -11,13 +11,12 @@
11
11
  */
12
12
  import type { SandboxObservabilityEvent } from './SandboxObservabilityEvent.js';
13
13
  import type { SandboxObservabilityLogEntry } from './SandboxObservabilityLogEntry.js';
14
- import type { SandboxObservabilityMetricSample } from './SandboxObservabilityMetricSample.js';
15
14
  /**
16
15
  * @type SandboxObservabilityWatchLineData
17
16
  *
18
17
  * @export
19
18
  */
20
- export type SandboxObservabilityWatchLineData = SandboxObservabilityEvent | SandboxObservabilityLogEntry | SandboxObservabilityMetricSample;
19
+ export type SandboxObservabilityWatchLineData = SandboxObservabilityEvent | SandboxObservabilityLogEntry;
21
20
  export declare function SandboxObservabilityWatchLineDataFromJSON(json: any): SandboxObservabilityWatchLineData;
22
21
  export declare function SandboxObservabilityWatchLineDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityWatchLineData;
23
22
  export declare function SandboxObservabilityWatchLineDataToJSON(json: any): any;
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxObservabilityWatchLineData.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityWatchLineData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAO7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAOnF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,GAAG,4BAA4B,GAAG,gCAAgC,CAAC;AAE5I,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEtG;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CAiBzI;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAEtE;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBxJ"}
1
+ {"version":3,"file":"SandboxObservabilityWatchLineData.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityWatchLineData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAO7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAQnF;;;;GAIG;AACH,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,GAAG,4BAA4B,CAAC;AAEzG,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEtG;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CAczI;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAEtE;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAcxJ"}
@@ -13,7 +13,6 @@
13
13
  */
14
14
  import { instanceOfSandboxObservabilityEvent, SandboxObservabilityEventFromJSONTyped, SandboxObservabilityEventToJSON, } from './SandboxObservabilityEvent.js';
15
15
  import { instanceOfSandboxObservabilityLogEntry, SandboxObservabilityLogEntryFromJSONTyped, SandboxObservabilityLogEntryToJSON, } from './SandboxObservabilityLogEntry.js';
16
- import { instanceOfSandboxObservabilityMetricSample, SandboxObservabilityMetricSampleFromJSONTyped, SandboxObservabilityMetricSampleToJSON, } from './SandboxObservabilityMetricSample.js';
17
16
  export function SandboxObservabilityWatchLineDataFromJSON(json) {
18
17
  return SandboxObservabilityWatchLineDataFromJSONTyped(json, false);
19
18
  }
@@ -30,9 +29,6 @@ export function SandboxObservabilityWatchLineDataFromJSONTyped(json, ignoreDiscr
30
29
  if (instanceOfSandboxObservabilityLogEntry(json)) {
31
30
  return SandboxObservabilityLogEntryFromJSONTyped(json, true);
32
31
  }
33
- if (instanceOfSandboxObservabilityMetricSample(json)) {
34
- return SandboxObservabilityMetricSampleFromJSONTyped(json, true);
35
- }
36
32
  return {};
37
33
  }
38
34
  export function SandboxObservabilityWatchLineDataToJSON(json) {
@@ -51,8 +47,5 @@ export function SandboxObservabilityWatchLineDataToJSONTyped(value, ignoreDiscri
51
47
  if (instanceOfSandboxObservabilityLogEntry(value)) {
52
48
  return SandboxObservabilityLogEntryToJSON(value);
53
49
  }
54
- if (instanceOfSandboxObservabilityMetricSample(value)) {
55
- return SandboxObservabilityMetricSampleToJSON(value);
56
- }
57
50
  return {};
58
51
  }
@@ -0,0 +1,60 @@
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 { SandboxRuntimeMetricName } from './SandboxRuntimeMetricName.js';
13
+ import type { SandboxRuntimeMetricUnit } from './SandboxRuntimeMetricUnit.js';
14
+ import type { SandboxRuntimeMetricKind } from './SandboxRuntimeMetricKind.js';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface SandboxRuntimeMetricDescriptor
19
+ */
20
+ export interface SandboxRuntimeMetricDescriptor {
21
+ /**
22
+ *
23
+ * @type {SandboxRuntimeMetricName}
24
+ * @memberof SandboxRuntimeMetricDescriptor
25
+ */
26
+ name: SandboxRuntimeMetricName;
27
+ /**
28
+ *
29
+ * @type {SandboxRuntimeMetricKind}
30
+ * @memberof SandboxRuntimeMetricDescriptor
31
+ */
32
+ kind: SandboxRuntimeMetricKind;
33
+ /**
34
+ *
35
+ * @type {SandboxRuntimeMetricUnit}
36
+ * @memberof SandboxRuntimeMetricDescriptor
37
+ */
38
+ unit: SandboxRuntimeMetricUnit;
39
+ /**
40
+ *
41
+ * @type {Array<string>}
42
+ * @memberof SandboxRuntimeMetricDescriptor
43
+ */
44
+ dimensions: Array<string>;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof SandboxRuntimeMetricDescriptor
49
+ */
50
+ description: string;
51
+ }
52
+ /**
53
+ * Check if a given object implements the SandboxRuntimeMetricDescriptor interface.
54
+ */
55
+ export declare function instanceOfSandboxRuntimeMetricDescriptor(value: object): value is SandboxRuntimeMetricDescriptor;
56
+ export declare function SandboxRuntimeMetricDescriptorFromJSON(json: any): SandboxRuntimeMetricDescriptor;
57
+ export declare function SandboxRuntimeMetricDescriptorFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricDescriptor;
58
+ export declare function SandboxRuntimeMetricDescriptorToJSON(json: any): SandboxRuntimeMetricDescriptor;
59
+ export declare function SandboxRuntimeMetricDescriptorToJSONTyped(value?: SandboxRuntimeMetricDescriptor | null, ignoreDiscriminator?: boolean): any;
60
+ //# sourceMappingURL=SandboxRuntimeMetricDescriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxRuntimeMetricDescriptor.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricDescriptor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAID;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAO/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAYnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAalJ"}
@@ -0,0 +1,62 @@
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 { SandboxRuntimeMetricNameFromJSON, SandboxRuntimeMetricNameToJSON, } from './SandboxRuntimeMetricName.js';
15
+ import { SandboxRuntimeMetricUnitFromJSON, SandboxRuntimeMetricUnitToJSON, } from './SandboxRuntimeMetricUnit.js';
16
+ import { SandboxRuntimeMetricKindFromJSON, SandboxRuntimeMetricKindToJSON, } from './SandboxRuntimeMetricKind.js';
17
+ /**
18
+ * Check if a given object implements the SandboxRuntimeMetricDescriptor interface.
19
+ */
20
+ export function instanceOfSandboxRuntimeMetricDescriptor(value) {
21
+ if (!('name' in value) || value['name'] === undefined)
22
+ return false;
23
+ if (!('kind' in value) || value['kind'] === undefined)
24
+ return false;
25
+ if (!('unit' in value) || value['unit'] === undefined)
26
+ return false;
27
+ if (!('dimensions' in value) || value['dimensions'] === undefined)
28
+ return false;
29
+ if (!('description' in value) || value['description'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ export function SandboxRuntimeMetricDescriptorFromJSON(json) {
34
+ return SandboxRuntimeMetricDescriptorFromJSONTyped(json, false);
35
+ }
36
+ export function SandboxRuntimeMetricDescriptorFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'name': SandboxRuntimeMetricNameFromJSON(json['name']),
42
+ 'kind': SandboxRuntimeMetricKindFromJSON(json['kind']),
43
+ 'unit': SandboxRuntimeMetricUnitFromJSON(json['unit']),
44
+ 'dimensions': json['dimensions'],
45
+ 'description': json['description'],
46
+ };
47
+ }
48
+ export function SandboxRuntimeMetricDescriptorToJSON(json) {
49
+ return SandboxRuntimeMetricDescriptorToJSONTyped(json, false);
50
+ }
51
+ export function SandboxRuntimeMetricDescriptorToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'name': SandboxRuntimeMetricNameToJSON(value['name']),
57
+ 'kind': SandboxRuntimeMetricKindToJSON(value['kind']),
58
+ 'unit': SandboxRuntimeMetricUnitToJSON(value['unit']),
59
+ 'dimensions': value['dimensions'],
60
+ 'description': value['description'],
61
+ };
62
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { SandboxRuntimeMetricFreshnessStatus } from './SandboxRuntimeMetricFreshnessStatus.js';
13
+ /**
14
+ * Freshness is measured relative to the requested end_time, including for historical queries.
15
+ * @export
16
+ * @interface SandboxRuntimeMetricFreshness
17
+ */
18
+ export interface SandboxRuntimeMetricFreshness {
19
+ /**
20
+ *
21
+ * @type {Date}
22
+ * @memberof SandboxRuntimeMetricFreshness
23
+ */
24
+ newestObservedAt?: Date;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof SandboxRuntimeMetricFreshness
29
+ */
30
+ ageSeconds?: number;
31
+ /**
32
+ *
33
+ * @type {SandboxRuntimeMetricFreshnessStatus}
34
+ * @memberof SandboxRuntimeMetricFreshness
35
+ */
36
+ status: SandboxRuntimeMetricFreshnessStatus;
37
+ }
38
+ /**
39
+ * Check if a given object implements the SandboxRuntimeMetricFreshness interface.
40
+ */
41
+ export declare function instanceOfSandboxRuntimeMetricFreshness(value: object): value is SandboxRuntimeMetricFreshness;
42
+ export declare function SandboxRuntimeMetricFreshnessFromJSON(json: any): SandboxRuntimeMetricFreshness;
43
+ export declare function SandboxRuntimeMetricFreshnessFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricFreshness;
44
+ export declare function SandboxRuntimeMetricFreshnessToJSON(json: any): SandboxRuntimeMetricFreshness;
45
+ export declare function SandboxRuntimeMetricFreshnessToJSONTyped(value?: SandboxRuntimeMetricFreshness | null, ignoreDiscriminator?: boolean): any;
46
+ //# sourceMappingURL=SandboxRuntimeMetricFreshness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxRuntimeMetricFreshness.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricFreshness.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAQjG;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,mCAAmC,CAAC;CAC/C;AAID;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAG7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAUjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhJ"}
@@ -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
+ import { SandboxRuntimeMetricFreshnessStatusFromJSON, SandboxRuntimeMetricFreshnessStatusToJSON, } from './SandboxRuntimeMetricFreshnessStatus.js';
15
+ /**
16
+ * Check if a given object implements the SandboxRuntimeMetricFreshness interface.
17
+ */
18
+ export function instanceOfSandboxRuntimeMetricFreshness(value) {
19
+ if (!('status' in value) || value['status'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SandboxRuntimeMetricFreshnessFromJSON(json) {
24
+ return SandboxRuntimeMetricFreshnessFromJSONTyped(json, false);
25
+ }
26
+ export function SandboxRuntimeMetricFreshnessFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'newestObservedAt': json['newest_observed_at'] == null ? undefined : (new Date(json['newest_observed_at'])),
32
+ 'ageSeconds': json['age_seconds'] == null ? undefined : json['age_seconds'],
33
+ 'status': SandboxRuntimeMetricFreshnessStatusFromJSON(json['status']),
34
+ };
35
+ }
36
+ export function SandboxRuntimeMetricFreshnessToJSON(json) {
37
+ return SandboxRuntimeMetricFreshnessToJSONTyped(json, false);
38
+ }
39
+ export function SandboxRuntimeMetricFreshnessToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'newest_observed_at': value['newestObservedAt'] == null ? value['newestObservedAt'] : value['newestObservedAt'].toISOString(),
45
+ 'age_seconds': value['ageSeconds'],
46
+ 'status': SandboxRuntimeMetricFreshnessStatusToJSON(value['status']),
47
+ };
48
+ }
@@ -0,0 +1,27 @@
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 SandboxRuntimeMetricFreshnessStatus: {
17
+ readonly Fresh: "fresh";
18
+ readonly Stale: "stale";
19
+ readonly Missing: "missing";
20
+ };
21
+ export type SandboxRuntimeMetricFreshnessStatus = typeof SandboxRuntimeMetricFreshnessStatus[keyof typeof SandboxRuntimeMetricFreshnessStatus];
22
+ export declare function instanceOfSandboxRuntimeMetricFreshnessStatus(value: any): boolean;
23
+ export declare function SandboxRuntimeMetricFreshnessStatusFromJSON(json: any): SandboxRuntimeMetricFreshnessStatus;
24
+ export declare function SandboxRuntimeMetricFreshnessStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricFreshnessStatus;
25
+ export declare function SandboxRuntimeMetricFreshnessStatusToJSON(value?: SandboxRuntimeMetricFreshnessStatus | null): any;
26
+ export declare function SandboxRuntimeMetricFreshnessStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricFreshnessStatus;
27
+ //# sourceMappingURL=SandboxRuntimeMetricFreshnessStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxRuntimeMetricFreshnessStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricFreshnessStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,mCAAmC;;;;CAItC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAG/I,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASjF;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAE7I;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,GAAG,GAAG,CAEjH;AAED,wBAAgB,8CAA8C,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAE5I"}
@@ -0,0 +1,44 @@
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 SandboxRuntimeMetricFreshnessStatus = {
19
+ Fresh: 'fresh',
20
+ Stale: 'stale',
21
+ Missing: 'missing'
22
+ };
23
+ export function instanceOfSandboxRuntimeMetricFreshnessStatus(value) {
24
+ for (const key in SandboxRuntimeMetricFreshnessStatus) {
25
+ if (Object.prototype.hasOwnProperty.call(SandboxRuntimeMetricFreshnessStatus, key)) {
26
+ if (SandboxRuntimeMetricFreshnessStatus[key] === value) {
27
+ return true;
28
+ }
29
+ }
30
+ }
31
+ return false;
32
+ }
33
+ export function SandboxRuntimeMetricFreshnessStatusFromJSON(json) {
34
+ return SandboxRuntimeMetricFreshnessStatusFromJSONTyped(json, false);
35
+ }
36
+ export function SandboxRuntimeMetricFreshnessStatusFromJSONTyped(json, ignoreDiscriminator) {
37
+ return json;
38
+ }
39
+ export function SandboxRuntimeMetricFreshnessStatusToJSON(value) {
40
+ return value;
41
+ }
42
+ export function SandboxRuntimeMetricFreshnessStatusToJSONTyped(value, ignoreDiscriminator) {
43
+ return value;
44
+ }
@@ -0,0 +1,61 @@
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 { SandboxRuntimeMetricName } from './SandboxRuntimeMetricName.js';
13
+ import type { SandboxRuntimeMetricGapReason } from './SandboxRuntimeMetricGapReason.js';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SandboxRuntimeMetricGap
18
+ */
19
+ export interface SandboxRuntimeMetricGap {
20
+ /**
21
+ *
22
+ * @type {SandboxRuntimeMetricName}
23
+ * @memberof SandboxRuntimeMetricGap
24
+ */
25
+ metric: SandboxRuntimeMetricName;
26
+ /**
27
+ *
28
+ * @type {{ [key: string]: string; }}
29
+ * @memberof SandboxRuntimeMetricGap
30
+ */
31
+ dimensions?: {
32
+ [key: string]: string;
33
+ };
34
+ /**
35
+ *
36
+ * @type {Date}
37
+ * @memberof SandboxRuntimeMetricGap
38
+ */
39
+ startTime: Date;
40
+ /**
41
+ *
42
+ * @type {Date}
43
+ * @memberof SandboxRuntimeMetricGap
44
+ */
45
+ endTime: Date;
46
+ /**
47
+ *
48
+ * @type {SandboxRuntimeMetricGapReason}
49
+ * @memberof SandboxRuntimeMetricGap
50
+ */
51
+ reason: SandboxRuntimeMetricGapReason;
52
+ }
53
+ /**
54
+ * Check if a given object implements the SandboxRuntimeMetricGap interface.
55
+ */
56
+ export declare function instanceOfSandboxRuntimeMetricGap(value: object): value is SandboxRuntimeMetricGap;
57
+ export declare function SandboxRuntimeMetricGapFromJSON(json: any): SandboxRuntimeMetricGap;
58
+ export declare function SandboxRuntimeMetricGapFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricGap;
59
+ export declare function SandboxRuntimeMetricGapToJSON(json: any): SandboxRuntimeMetricGap;
60
+ export declare function SandboxRuntimeMetricGapToJSONTyped(value?: SandboxRuntimeMetricGap | null, ignoreDiscriminator?: boolean): any;
61
+ //# sourceMappingURL=SandboxRuntimeMetricGap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxRuntimeMetricGap.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxRuntimeMetricGap.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxC;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,6BAA6B,CAAC;CACzC;AAID;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAMjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAYrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapI"}
@@ -0,0 +1,59 @@
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 { SandboxRuntimeMetricNameFromJSON, SandboxRuntimeMetricNameToJSON, } from './SandboxRuntimeMetricName.js';
15
+ import { SandboxRuntimeMetricGapReasonFromJSON, SandboxRuntimeMetricGapReasonToJSON, } from './SandboxRuntimeMetricGapReason.js';
16
+ /**
17
+ * Check if a given object implements the SandboxRuntimeMetricGap interface.
18
+ */
19
+ export function instanceOfSandboxRuntimeMetricGap(value) {
20
+ if (!('metric' in value) || value['metric'] === undefined)
21
+ return false;
22
+ if (!('startTime' in value) || value['startTime'] === undefined)
23
+ return false;
24
+ if (!('endTime' in value) || value['endTime'] === undefined)
25
+ return false;
26
+ if (!('reason' in value) || value['reason'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function SandboxRuntimeMetricGapFromJSON(json) {
31
+ return SandboxRuntimeMetricGapFromJSONTyped(json, false);
32
+ }
33
+ export function SandboxRuntimeMetricGapFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'metric': SandboxRuntimeMetricNameFromJSON(json['metric']),
39
+ 'dimensions': json['dimensions'] == null ? undefined : json['dimensions'],
40
+ 'startTime': (new Date(json['start_time'])),
41
+ 'endTime': (new Date(json['end_time'])),
42
+ 'reason': SandboxRuntimeMetricGapReasonFromJSON(json['reason']),
43
+ };
44
+ }
45
+ export function SandboxRuntimeMetricGapToJSON(json) {
46
+ return SandboxRuntimeMetricGapToJSONTyped(json, false);
47
+ }
48
+ export function SandboxRuntimeMetricGapToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'metric': SandboxRuntimeMetricNameToJSON(value['metric']),
54
+ 'dimensions': value['dimensions'],
55
+ 'start_time': value['startTime'].toISOString(),
56
+ 'end_time': value['endTime'].toISOString(),
57
+ 'reason': SandboxRuntimeMetricGapReasonToJSON(value['reason']),
58
+ };
59
+ }
@@ -0,0 +1,29 @@
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 SandboxRuntimeMetricGapReason: {
17
+ readonly Unavailable: "unavailable";
18
+ readonly Unsupported: "unsupported";
19
+ readonly CollectionError: "collection_error";
20
+ readonly NoData: "no_data";
21
+ readonly SeriesReset: "series_reset";
22
+ };
23
+ export type SandboxRuntimeMetricGapReason = typeof SandboxRuntimeMetricGapReason[keyof typeof SandboxRuntimeMetricGapReason];
24
+ export declare function instanceOfSandboxRuntimeMetricGapReason(value: any): boolean;
25
+ export declare function SandboxRuntimeMetricGapReasonFromJSON(json: any): SandboxRuntimeMetricGapReason;
26
+ export declare function SandboxRuntimeMetricGapReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricGapReason;
27
+ export declare function SandboxRuntimeMetricGapReasonToJSON(value?: SandboxRuntimeMetricGapReason | null): any;
28
+ export declare function SandboxRuntimeMetricGapReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxRuntimeMetricGapReason;
29
+ //# sourceMappingURL=SandboxRuntimeMetricGapReason.d.ts.map