sandbox0 0.7.8 → 0.7.10

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/ObservabilityApi.d.ts +11 -5
  2. package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -1
  3. package/dist/apispec/src/apis/ObservabilityApi.js +22 -4
  4. package/dist/apispec/src/apis/SessionsApi.d.ts +202 -0
  5. package/dist/apispec/src/apis/SessionsApi.d.ts.map +1 -0
  6. package/dist/apispec/src/apis/SessionsApi.js +563 -0
  7. package/dist/apispec/src/apis/index.d.ts +1 -0
  8. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  9. package/dist/apispec/src/apis/index.js +1 -0
  10. package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.d.ts +33 -0
  11. package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.d.ts.map +1 -0
  12. package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.js +41 -0
  13. package/dist/apispec/src/models/ExecutionSession.d.ts +97 -0
  14. package/dist/apispec/src/models/ExecutionSession.d.ts.map +1 -0
  15. package/dist/apispec/src/models/ExecutionSession.js +85 -0
  16. package/dist/apispec/src/models/ExecutionSessionAttempt.d.ts +75 -0
  17. package/dist/apispec/src/models/ExecutionSessionAttempt.d.ts.map +1 -0
  18. package/dist/apispec/src/models/ExecutionSessionAttempt.js +61 -0
  19. package/dist/apispec/src/models/ExecutionSessionDesiredState.d.ts +26 -0
  20. package/dist/apispec/src/models/ExecutionSessionDesiredState.d.ts.map +1 -0
  21. package/dist/apispec/src/models/ExecutionSessionDesiredState.js +43 -0
  22. package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.d.ts +34 -0
  23. package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.d.ts.map +1 -0
  24. package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.js +44 -0
  25. package/dist/apispec/src/models/ExecutionSessionEvent.d.ts +96 -0
  26. package/dist/apispec/src/models/ExecutionSessionEvent.d.ts.map +1 -0
  27. package/dist/apispec/src/models/ExecutionSessionEvent.js +77 -0
  28. package/dist/apispec/src/models/ExecutionSessionEventCursor.d.ts +39 -0
  29. package/dist/apispec/src/models/ExecutionSessionEventCursor.d.ts.map +1 -0
  30. package/dist/apispec/src/models/ExecutionSessionEventCursor.js +47 -0
  31. package/dist/apispec/src/models/ExecutionSessionEventPage.d.ts +41 -0
  32. package/dist/apispec/src/models/ExecutionSessionEventPage.d.ts.map +1 -0
  33. package/dist/apispec/src/models/ExecutionSessionEventPage.js +49 -0
  34. package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.d.ts +39 -0
  35. package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.d.ts.map +1 -0
  36. package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.js +43 -0
  37. package/dist/apispec/src/models/ExecutionSessionIOMode.d.ts +26 -0
  38. package/dist/apispec/src/models/ExecutionSessionIOMode.d.ts.map +1 -0
  39. package/dist/apispec/src/models/ExecutionSessionIOMode.js +43 -0
  40. package/dist/apispec/src/models/ExecutionSessionIOSpec.d.ts +41 -0
  41. package/dist/apispec/src/models/ExecutionSessionIOSpec.d.ts.map +1 -0
  42. package/dist/apispec/src/models/ExecutionSessionIOSpec.js +45 -0
  43. package/dist/apispec/src/models/ExecutionSessionInputRequest.d.ts +51 -0
  44. package/dist/apispec/src/models/ExecutionSessionInputRequest.d.ts.map +1 -0
  45. package/dist/apispec/src/models/ExecutionSessionInputRequest.js +49 -0
  46. package/dist/apispec/src/models/ExecutionSessionInputResponse.d.ts +51 -0
  47. package/dist/apispec/src/models/ExecutionSessionInputResponse.d.ts.map +1 -0
  48. package/dist/apispec/src/models/ExecutionSessionInputResponse.js +55 -0
  49. package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.d.ts +66 -0
  50. package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.d.ts.map +1 -0
  51. package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.js +54 -0
  52. package/dist/apispec/src/models/ExecutionSessionPhase.d.ts +34 -0
  53. package/dist/apispec/src/models/ExecutionSessionPhase.d.ts.map +1 -0
  54. package/dist/apispec/src/models/ExecutionSessionPhase.js +51 -0
  55. package/dist/apispec/src/models/ExecutionSessionReadinessSpec.d.ts +52 -0
  56. package/dist/apispec/src/models/ExecutionSessionReadinessSpec.d.ts.map +1 -0
  57. package/dist/apispec/src/models/ExecutionSessionReadinessSpec.js +48 -0
  58. package/dist/apispec/src/models/ExecutionSessionReadinessType.d.ts +27 -0
  59. package/dist/apispec/src/models/ExecutionSessionReadinessType.d.ts.map +1 -0
  60. package/dist/apispec/src/models/ExecutionSessionReadinessType.js +44 -0
  61. package/dist/apispec/src/models/ExecutionSessionRestartPolicy.d.ts +27 -0
  62. package/dist/apispec/src/models/ExecutionSessionRestartPolicy.d.ts.map +1 -0
  63. package/dist/apispec/src/models/ExecutionSessionRestartPolicy.js +44 -0
  64. package/dist/apispec/src/models/ExecutionSessionRestartSpec.d.ts +58 -0
  65. package/dist/apispec/src/models/ExecutionSessionRestartSpec.d.ts.map +1 -0
  66. package/dist/apispec/src/models/ExecutionSessionRestartSpec.js +50 -0
  67. package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.d.ts +26 -0
  68. package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.d.ts.map +1 -0
  69. package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.js +43 -0
  70. package/dist/apispec/src/models/ExecutionSessionSignalRequest.d.ts +39 -0
  71. package/dist/apispec/src/models/ExecutionSessionSignalRequest.d.ts.map +1 -0
  72. package/dist/apispec/src/models/ExecutionSessionSignalRequest.js +45 -0
  73. package/dist/apispec/src/models/ExecutionSessionSpec.d.ts +81 -0
  74. package/dist/apispec/src/models/ExecutionSessionSpec.d.ts.map +1 -0
  75. package/dist/apispec/src/models/ExecutionSessionSpec.js +61 -0
  76. package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.d.ts +45 -0
  77. package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.d.ts.map +1 -0
  78. package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.js +49 -0
  79. package/dist/apispec/src/models/ExecutionSessionTerminalSpec.d.ts +45 -0
  80. package/dist/apispec/src/models/ExecutionSessionTerminalSpec.d.ts.map +1 -0
  81. package/dist/apispec/src/models/ExecutionSessionTerminalSpec.js +45 -0
  82. package/dist/apispec/src/models/ExecutionSessionWebSocketAck.d.ts +46 -0
  83. package/dist/apispec/src/models/ExecutionSessionWebSocketAck.d.ts.map +1 -0
  84. package/dist/apispec/src/models/ExecutionSessionWebSocketAck.js +51 -0
  85. package/dist/apispec/src/models/ExecutionSessionWebSocketError.d.ts +52 -0
  86. package/dist/apispec/src/models/ExecutionSessionWebSocketError.d.ts.map +1 -0
  87. package/dist/apispec/src/models/ExecutionSessionWebSocketError.js +55 -0
  88. package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.d.ts +47 -0
  89. package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.d.ts.map +1 -0
  90. package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.js +54 -0
  91. package/dist/apispec/src/models/ExecutionSessionWebSocketInput.d.ts +70 -0
  92. package/dist/apispec/src/models/ExecutionSessionWebSocketInput.d.ts.map +1 -0
  93. package/dist/apispec/src/models/ExecutionSessionWebSocketInput.js +61 -0
  94. package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.d.ts +25 -0
  95. package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.d.ts.map +1 -0
  96. package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.js +58 -0
  97. package/dist/apispec/src/models/ExecutionSessionWebSocketResize.d.ts +64 -0
  98. package/dist/apispec/src/models/ExecutionSessionWebSocketResize.d.ts.map +1 -0
  99. package/dist/apispec/src/models/ExecutionSessionWebSocketResize.js +61 -0
  100. package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.d.ts +25 -0
  101. package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.d.ts.map +1 -0
  102. package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.js +58 -0
  103. package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.d.ts +58 -0
  104. package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.d.ts.map +1 -0
  105. package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.js +57 -0
  106. package/dist/apispec/src/models/ObservabilityEventSource.d.ts +3 -0
  107. package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -1
  108. package/dist/apispec/src/models/ObservabilityEventSource.js +4 -1
  109. package/dist/apispec/src/models/SandboxAuditActor.d.ts +58 -0
  110. package/dist/apispec/src/models/SandboxAuditActor.d.ts.map +1 -0
  111. package/dist/apispec/src/models/SandboxAuditActor.js +52 -0
  112. package/dist/apispec/src/models/SandboxAuditActorKind.d.ts +31 -0
  113. package/dist/apispec/src/models/SandboxAuditActorKind.d.ts.map +1 -0
  114. package/dist/apispec/src/models/SandboxAuditActorKind.js +48 -0
  115. package/dist/apispec/src/models/SandboxAuditEventPhase.d.ts +27 -0
  116. package/dist/apispec/src/models/SandboxAuditEventPhase.d.ts.map +1 -0
  117. package/dist/apispec/src/models/SandboxAuditEventPhase.js +44 -0
  118. package/dist/apispec/src/models/SandboxAuditIntegrity.d.ts +79 -0
  119. package/dist/apispec/src/models/SandboxAuditIntegrity.d.ts.map +1 -0
  120. package/dist/apispec/src/models/SandboxAuditIntegrity.js +75 -0
  121. package/dist/apispec/src/models/SandboxAuditProducer.d.ts +45 -0
  122. package/dist/apispec/src/models/SandboxAuditProducer.d.ts.map +1 -0
  123. package/dist/apispec/src/models/SandboxAuditProducer.js +47 -0
  124. package/dist/apispec/src/models/SandboxAuditRequest.d.ts +69 -0
  125. package/dist/apispec/src/models/SandboxAuditRequest.d.ts.map +1 -0
  126. package/dist/apispec/src/models/SandboxAuditRequest.js +53 -0
  127. package/dist/apispec/src/models/SandboxAuditResource.d.ts +45 -0
  128. package/dist/apispec/src/models/SandboxAuditResource.d.ts.map +1 -0
  129. package/dist/apispec/src/models/SandboxAuditResource.js +49 -0
  130. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts +70 -3
  131. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts.map +1 -1
  132. package/dist/apispec/src/models/SandboxObservabilityEvent.js +53 -7
  133. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts +3 -0
  134. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts.map +1 -1
  135. package/dist/apispec/src/models/SandboxObservabilityEventType.js +4 -1
  136. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts +2 -0
  137. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts.map +1 -1
  138. package/dist/apispec/src/models/SandboxObservabilityOutcome.js +3 -1
  139. package/dist/apispec/src/models/SuccessAcceptedResponse.d.ts +40 -0
  140. package/dist/apispec/src/models/SuccessAcceptedResponse.d.ts.map +1 -0
  141. package/dist/apispec/src/models/SuccessAcceptedResponse.js +46 -0
  142. package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.d.ts +33 -0
  143. package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.d.ts.map +1 -0
  144. package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.js +43 -0
  145. package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.d.ts +40 -0
  146. package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.d.ts.map +1 -0
  147. package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.js +46 -0
  148. package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.d.ts +40 -0
  149. package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.d.ts.map +1 -0
  150. package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.js +46 -0
  151. package/dist/apispec/src/models/SuccessExecutionSessionListResponse.d.ts +40 -0
  152. package/dist/apispec/src/models/SuccessExecutionSessionListResponse.d.ts.map +1 -0
  153. package/dist/apispec/src/models/SuccessExecutionSessionListResponse.js +46 -0
  154. package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.d.ts +34 -0
  155. package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.d.ts.map +1 -0
  156. package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.js +44 -0
  157. package/dist/apispec/src/models/SuccessExecutionSessionResponse.d.ts +40 -0
  158. package/dist/apispec/src/models/SuccessExecutionSessionResponse.d.ts.map +1 -0
  159. package/dist/apispec/src/models/SuccessExecutionSessionResponse.js +46 -0
  160. package/dist/apispec/src/models/index.d.ts +46 -0
  161. package/dist/apispec/src/models/index.d.ts.map +1 -1
  162. package/dist/apispec/src/models/index.js +46 -0
  163. package/dist/client.d.ts +3 -1
  164. package/dist/client.d.ts.map +1 -1
  165. package/dist/client.js +14 -2
  166. package/dist/index.d.ts +2 -0
  167. package/dist/index.d.ts.map +1 -1
  168. package/dist/index.js +2 -0
  169. package/dist/models.d.ts +44 -1
  170. package/dist/models.d.ts.map +1 -1
  171. package/dist/sandbox_contexts.d.ts +1 -1
  172. package/dist/sandbox_files.d.ts +1 -1
  173. package/dist/sandbox_network.d.ts +1 -1
  174. package/dist/sandbox_observability.d.ts +1 -1
  175. package/dist/sandbox_services.d.ts +1 -1
  176. package/dist/sandbox_sessions.d.ts +39 -0
  177. package/dist/sandbox_sessions.d.ts.map +1 -0
  178. package/dist/sandbox_sessions.js +275 -0
  179. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExecutionSessionInputResponse
16
+ */
17
+ export interface ExecutionSessionInputResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExecutionSessionInputResponse
22
+ */
23
+ inputId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ExecutionSessionInputResponse
28
+ */
29
+ attemptId: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ExecutionSessionInputResponse
34
+ */
35
+ accepted: boolean;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof ExecutionSessionInputResponse
40
+ */
41
+ duplicate: boolean;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ExecutionSessionInputResponse interface.
45
+ */
46
+ export declare function instanceOfExecutionSessionInputResponse(value: object): value is ExecutionSessionInputResponse;
47
+ export declare function ExecutionSessionInputResponseFromJSON(json: any): ExecutionSessionInputResponse;
48
+ export declare function ExecutionSessionInputResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionInputResponse;
49
+ export declare function ExecutionSessionInputResponseToJSON(json: any): ExecutionSessionInputResponse;
50
+ export declare function ExecutionSessionInputResponseToJSONTyped(value?: ExecutionSessionInputResponse | null, ignoreDiscriminator?: boolean): any;
51
+ //# sourceMappingURL=ExecutionSessionInputResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionInputResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionInputResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAM7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAWjI;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,CAYhJ"}
@@ -0,0 +1,55 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ExecutionSessionInputResponse interface.
16
+ */
17
+ export function instanceOfExecutionSessionInputResponse(value) {
18
+ if (!('inputId' in value) || value['inputId'] === undefined)
19
+ return false;
20
+ if (!('attemptId' in value) || value['attemptId'] === undefined)
21
+ return false;
22
+ if (!('accepted' in value) || value['accepted'] === undefined)
23
+ return false;
24
+ if (!('duplicate' in value) || value['duplicate'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function ExecutionSessionInputResponseFromJSON(json) {
29
+ return ExecutionSessionInputResponseFromJSONTyped(json, false);
30
+ }
31
+ export function ExecutionSessionInputResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'inputId': json['input_id'],
37
+ 'attemptId': json['attempt_id'],
38
+ 'accepted': json['accepted'],
39
+ 'duplicate': json['duplicate'],
40
+ };
41
+ }
42
+ export function ExecutionSessionInputResponseToJSON(json) {
43
+ return ExecutionSessionInputResponseToJSONTyped(json, false);
44
+ }
45
+ export function ExecutionSessionInputResponseToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'input_id': value['inputId'],
51
+ 'attempt_id': value['attemptId'],
52
+ 'accepted': value['accepted'],
53
+ 'duplicate': value['duplicate'],
54
+ };
55
+ }
@@ -0,0 +1,66 @@
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 { ExecutionSessionRestartSpec } from './ExecutionSessionRestartSpec.js';
13
+ import type { ExecutionSessionDesiredState } from './ExecutionSessionDesiredState.js';
14
+ import type { ExecutionSessionRuntimeRecoveryPolicy } from './ExecutionSessionRuntimeRecoveryPolicy.js';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ExecutionSessionLifecycleSpec
19
+ */
20
+ export interface ExecutionSessionLifecycleSpec {
21
+ /**
22
+ *
23
+ * @type {ExecutionSessionDesiredState}
24
+ * @memberof ExecutionSessionLifecycleSpec
25
+ */
26
+ desiredState?: ExecutionSessionDesiredState;
27
+ /**
28
+ *
29
+ * @type {ExecutionSessionRestartSpec}
30
+ * @memberof ExecutionSessionLifecycleSpec
31
+ */
32
+ restart?: ExecutionSessionRestartSpec;
33
+ /**
34
+ *
35
+ * @type {ExecutionSessionRuntimeRecoveryPolicy}
36
+ * @memberof ExecutionSessionLifecycleSpec
37
+ */
38
+ runtimeRecovery?: ExecutionSessionRuntimeRecoveryPolicy;
39
+ /**
40
+ *
41
+ * @type {number}
42
+ * @memberof ExecutionSessionLifecycleSpec
43
+ */
44
+ idleTimeoutSeconds?: number;
45
+ /**
46
+ *
47
+ * @type {number}
48
+ * @memberof ExecutionSessionLifecycleSpec
49
+ */
50
+ maxLifetimeSeconds?: number;
51
+ /**
52
+ *
53
+ * @type {number}
54
+ * @memberof ExecutionSessionLifecycleSpec
55
+ */
56
+ stopGracePeriodSeconds?: number;
57
+ }
58
+ /**
59
+ * Check if a given object implements the ExecutionSessionLifecycleSpec interface.
60
+ */
61
+ export declare function instanceOfExecutionSessionLifecycleSpec(value: object): value is ExecutionSessionLifecycleSpec;
62
+ export declare function ExecutionSessionLifecycleSpecFromJSON(json: any): ExecutionSessionLifecycleSpec;
63
+ export declare function ExecutionSessionLifecycleSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionLifecycleSpec;
64
+ export declare function ExecutionSessionLifecycleSpecToJSON(json: any): ExecutionSessionLifecycleSpec;
65
+ export declare function ExecutionSessionLifecycleSpecToJSONTyped(value?: ExecutionSessionLifecycleSpec | null, ignoreDiscriminator?: boolean): any;
66
+ //# sourceMappingURL=ExecutionSessionLifecycleSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionLifecycleSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionLifecycleSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAOnF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAQrG;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,YAAY,CAAC,EAAE,4BAA4B,CAAC;IAC5C;;;;OAIG;IACH,OAAO,CAAC,EAAE,2BAA2B,CAAC;IACtC;;;;OAIG;IACH,eAAe,CAAC,EAAE,qCAAqC,CAAC;IACxD;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC;AAID;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAE7G;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"}
@@ -0,0 +1,54 @@
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 { ExecutionSessionRestartSpecFromJSON, ExecutionSessionRestartSpecToJSON, } from './ExecutionSessionRestartSpec.js';
15
+ import { ExecutionSessionDesiredStateFromJSON, ExecutionSessionDesiredStateToJSON, } from './ExecutionSessionDesiredState.js';
16
+ import { ExecutionSessionRuntimeRecoveryPolicyFromJSON, ExecutionSessionRuntimeRecoveryPolicyToJSON, } from './ExecutionSessionRuntimeRecoveryPolicy.js';
17
+ /**
18
+ * Check if a given object implements the ExecutionSessionLifecycleSpec interface.
19
+ */
20
+ export function instanceOfExecutionSessionLifecycleSpec(value) {
21
+ return true;
22
+ }
23
+ export function ExecutionSessionLifecycleSpecFromJSON(json) {
24
+ return ExecutionSessionLifecycleSpecFromJSONTyped(json, false);
25
+ }
26
+ export function ExecutionSessionLifecycleSpecFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'desiredState': json['desired_state'] == null ? undefined : ExecutionSessionDesiredStateFromJSON(json['desired_state']),
32
+ 'restart': json['restart'] == null ? undefined : ExecutionSessionRestartSpecFromJSON(json['restart']),
33
+ 'runtimeRecovery': json['runtime_recovery'] == null ? undefined : ExecutionSessionRuntimeRecoveryPolicyFromJSON(json['runtime_recovery']),
34
+ 'idleTimeoutSeconds': json['idle_timeout_seconds'] == null ? undefined : json['idle_timeout_seconds'],
35
+ 'maxLifetimeSeconds': json['max_lifetime_seconds'] == null ? undefined : json['max_lifetime_seconds'],
36
+ 'stopGracePeriodSeconds': json['stop_grace_period_seconds'] == null ? undefined : json['stop_grace_period_seconds'],
37
+ };
38
+ }
39
+ export function ExecutionSessionLifecycleSpecToJSON(json) {
40
+ return ExecutionSessionLifecycleSpecToJSONTyped(json, false);
41
+ }
42
+ export function ExecutionSessionLifecycleSpecToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'desired_state': ExecutionSessionDesiredStateToJSON(value['desiredState']),
48
+ 'restart': ExecutionSessionRestartSpecToJSON(value['restart']),
49
+ 'runtime_recovery': ExecutionSessionRuntimeRecoveryPolicyToJSON(value['runtimeRecovery']),
50
+ 'idle_timeout_seconds': value['idleTimeoutSeconds'],
51
+ 'max_lifetime_seconds': value['maxLifetimeSeconds'],
52
+ 'stop_grace_period_seconds': value['stopGracePeriodSeconds'],
53
+ };
54
+ }
@@ -0,0 +1,34 @@
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 ExecutionSessionPhase: {
17
+ readonly ExecutionSessionPhasePending: "pending";
18
+ readonly ExecutionSessionPhaseStarting: "starting";
19
+ readonly ExecutionSessionPhaseRunning: "running";
20
+ readonly ExecutionSessionPhasePaused: "paused";
21
+ readonly ExecutionSessionPhaseStopping: "stopping";
22
+ readonly ExecutionSessionPhaseStopped: "stopped";
23
+ readonly ExecutionSessionPhaseExited: "exited";
24
+ readonly ExecutionSessionPhaseBackoff: "backoff";
25
+ readonly ExecutionSessionPhaseFailed: "failed";
26
+ readonly ExecutionSessionPhaseSuspended: "suspended";
27
+ };
28
+ export type ExecutionSessionPhase = typeof ExecutionSessionPhase[keyof typeof ExecutionSessionPhase];
29
+ export declare function instanceOfExecutionSessionPhase(value: any): boolean;
30
+ export declare function ExecutionSessionPhaseFromJSON(json: any): ExecutionSessionPhase;
31
+ export declare function ExecutionSessionPhaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionPhase;
32
+ export declare function ExecutionSessionPhaseToJSON(value?: ExecutionSessionPhase | null): any;
33
+ export declare function ExecutionSessionPhaseToJSONTyped(value: any, ignoreDiscriminator: boolean): ExecutionSessionPhase;
34
+ //# sourceMappingURL=ExecutionSessionPhase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionPhase.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionPhase.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;CAWxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAGrG,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASnE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAEjH;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,GAAG,GAAG,CAErF;AAED,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAEhH"}
@@ -0,0 +1,51 @@
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 ExecutionSessionPhase = {
19
+ ExecutionSessionPhasePending: 'pending',
20
+ ExecutionSessionPhaseStarting: 'starting',
21
+ ExecutionSessionPhaseRunning: 'running',
22
+ ExecutionSessionPhasePaused: 'paused',
23
+ ExecutionSessionPhaseStopping: 'stopping',
24
+ ExecutionSessionPhaseStopped: 'stopped',
25
+ ExecutionSessionPhaseExited: 'exited',
26
+ ExecutionSessionPhaseBackoff: 'backoff',
27
+ ExecutionSessionPhaseFailed: 'failed',
28
+ ExecutionSessionPhaseSuspended: 'suspended'
29
+ };
30
+ export function instanceOfExecutionSessionPhase(value) {
31
+ for (const key in ExecutionSessionPhase) {
32
+ if (Object.prototype.hasOwnProperty.call(ExecutionSessionPhase, key)) {
33
+ if (ExecutionSessionPhase[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ export function ExecutionSessionPhaseFromJSON(json) {
41
+ return ExecutionSessionPhaseFromJSONTyped(json, false);
42
+ }
43
+ export function ExecutionSessionPhaseFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ export function ExecutionSessionPhaseToJSON(value) {
47
+ return value;
48
+ }
49
+ export function ExecutionSessionPhaseToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -0,0 +1,52 @@
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 { ExecutionSessionReadinessType } from './ExecutionSessionReadinessType.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ExecutionSessionReadinessSpec
17
+ */
18
+ export interface ExecutionSessionReadinessSpec {
19
+ /**
20
+ *
21
+ * @type {ExecutionSessionReadinessType}
22
+ * @memberof ExecutionSessionReadinessSpec
23
+ */
24
+ type?: ExecutionSessionReadinessType;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof ExecutionSessionReadinessSpec
29
+ */
30
+ delayMs?: number;
31
+ /**
32
+ * Byte sequence whose appearance in process output marks the attempt ready when type is output.
33
+ * @type {string}
34
+ * @memberof ExecutionSessionReadinessSpec
35
+ */
36
+ output?: string;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ExecutionSessionReadinessSpec
41
+ */
42
+ timeoutMs?: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ExecutionSessionReadinessSpec interface.
46
+ */
47
+ export declare function instanceOfExecutionSessionReadinessSpec(value: object): value is ExecutionSessionReadinessSpec;
48
+ export declare function ExecutionSessionReadinessSpecFromJSON(json: any): ExecutionSessionReadinessSpec;
49
+ export declare function ExecutionSessionReadinessSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionReadinessSpec;
50
+ export declare function ExecutionSessionReadinessSpecToJSON(json: any): ExecutionSessionReadinessSpec;
51
+ export declare function ExecutionSessionReadinessSpecToJSONTyped(value?: ExecutionSessionReadinessSpec | null, ignoreDiscriminator?: boolean): any;
52
+ //# sourceMappingURL=ExecutionSessionReadinessSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionReadinessSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionReadinessSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,IAAI,CAAC,EAAE,6BAA6B,CAAC;IACrC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAID;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAE7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAWjI;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,CAYhJ"}
@@ -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 { ExecutionSessionReadinessTypeFromJSON, ExecutionSessionReadinessTypeToJSON, } from './ExecutionSessionReadinessType.js';
15
+ /**
16
+ * Check if a given object implements the ExecutionSessionReadinessSpec interface.
17
+ */
18
+ export function instanceOfExecutionSessionReadinessSpec(value) {
19
+ return true;
20
+ }
21
+ export function ExecutionSessionReadinessSpecFromJSON(json) {
22
+ return ExecutionSessionReadinessSpecFromJSONTyped(json, false);
23
+ }
24
+ export function ExecutionSessionReadinessSpecFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'type': json['type'] == null ? undefined : ExecutionSessionReadinessTypeFromJSON(json['type']),
30
+ 'delayMs': json['delay_ms'] == null ? undefined : json['delay_ms'],
31
+ 'output': json['output'] == null ? undefined : json['output'],
32
+ 'timeoutMs': json['timeout_ms'] == null ? undefined : json['timeout_ms'],
33
+ };
34
+ }
35
+ export function ExecutionSessionReadinessSpecToJSON(json) {
36
+ return ExecutionSessionReadinessSpecToJSONTyped(json, false);
37
+ }
38
+ export function ExecutionSessionReadinessSpecToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'type': ExecutionSessionReadinessTypeToJSON(value['type']),
44
+ 'delay_ms': value['delayMs'],
45
+ 'output': value['output'],
46
+ 'timeout_ms': value['timeoutMs'],
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 ExecutionSessionReadinessType: {
17
+ readonly ExecutionSessionReadinessProcess: "process";
18
+ readonly ExecutionSessionReadinessDelay: "delay";
19
+ readonly ExecutionSessionReadinessOutput: "output";
20
+ };
21
+ export type ExecutionSessionReadinessType = typeof ExecutionSessionReadinessType[keyof typeof ExecutionSessionReadinessType];
22
+ export declare function instanceOfExecutionSessionReadinessType(value: any): boolean;
23
+ export declare function ExecutionSessionReadinessTypeFromJSON(json: any): ExecutionSessionReadinessType;
24
+ export declare function ExecutionSessionReadinessTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionReadinessType;
25
+ export declare function ExecutionSessionReadinessTypeToJSON(value?: ExecutionSessionReadinessType | null): any;
26
+ export declare function ExecutionSessionReadinessTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ExecutionSessionReadinessType;
27
+ //# sourceMappingURL=ExecutionSessionReadinessType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionReadinessType.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionReadinessType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3E;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEjI;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,GAAG,GAAG,CAErG;AAED,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEhI"}
@@ -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 ExecutionSessionReadinessType = {
19
+ ExecutionSessionReadinessProcess: 'process',
20
+ ExecutionSessionReadinessDelay: 'delay',
21
+ ExecutionSessionReadinessOutput: 'output'
22
+ };
23
+ export function instanceOfExecutionSessionReadinessType(value) {
24
+ for (const key in ExecutionSessionReadinessType) {
25
+ if (Object.prototype.hasOwnProperty.call(ExecutionSessionReadinessType, key)) {
26
+ if (ExecutionSessionReadinessType[key] === value) {
27
+ return true;
28
+ }
29
+ }
30
+ }
31
+ return false;
32
+ }
33
+ export function ExecutionSessionReadinessTypeFromJSON(json) {
34
+ return ExecutionSessionReadinessTypeFromJSONTyped(json, false);
35
+ }
36
+ export function ExecutionSessionReadinessTypeFromJSONTyped(json, ignoreDiscriminator) {
37
+ return json;
38
+ }
39
+ export function ExecutionSessionReadinessTypeToJSON(value) {
40
+ return value;
41
+ }
42
+ export function ExecutionSessionReadinessTypeToJSONTyped(value, ignoreDiscriminator) {
43
+ return value;
44
+ }
@@ -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 ExecutionSessionRestartPolicy: {
17
+ readonly ExecutionSessionRestartPolicyNever: "never";
18
+ readonly ExecutionSessionRestartPolicyOnFailure: "on_failure";
19
+ readonly ExecutionSessionRestartPolicyAlways: "always";
20
+ };
21
+ export type ExecutionSessionRestartPolicy = typeof ExecutionSessionRestartPolicy[keyof typeof ExecutionSessionRestartPolicy];
22
+ export declare function instanceOfExecutionSessionRestartPolicy(value: any): boolean;
23
+ export declare function ExecutionSessionRestartPolicyFromJSON(json: any): ExecutionSessionRestartPolicy;
24
+ export declare function ExecutionSessionRestartPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionRestartPolicy;
25
+ export declare function ExecutionSessionRestartPolicyToJSON(value?: ExecutionSessionRestartPolicy | null): any;
26
+ export declare function ExecutionSessionRestartPolicyToJSONTyped(value: any, ignoreDiscriminator: boolean): ExecutionSessionRestartPolicy;
27
+ //# sourceMappingURL=ExecutionSessionRestartPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionRestartPolicy.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionRestartPolicy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3E;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEjI;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,GAAG,GAAG,CAErG;AAED,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEhI"}
@@ -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 ExecutionSessionRestartPolicy = {
19
+ ExecutionSessionRestartPolicyNever: 'never',
20
+ ExecutionSessionRestartPolicyOnFailure: 'on_failure',
21
+ ExecutionSessionRestartPolicyAlways: 'always'
22
+ };
23
+ export function instanceOfExecutionSessionRestartPolicy(value) {
24
+ for (const key in ExecutionSessionRestartPolicy) {
25
+ if (Object.prototype.hasOwnProperty.call(ExecutionSessionRestartPolicy, key)) {
26
+ if (ExecutionSessionRestartPolicy[key] === value) {
27
+ return true;
28
+ }
29
+ }
30
+ }
31
+ return false;
32
+ }
33
+ export function ExecutionSessionRestartPolicyFromJSON(json) {
34
+ return ExecutionSessionRestartPolicyFromJSONTyped(json, false);
35
+ }
36
+ export function ExecutionSessionRestartPolicyFromJSONTyped(json, ignoreDiscriminator) {
37
+ return json;
38
+ }
39
+ export function ExecutionSessionRestartPolicyToJSON(value) {
40
+ return value;
41
+ }
42
+ export function ExecutionSessionRestartPolicyToJSONTyped(value, ignoreDiscriminator) {
43
+ return value;
44
+ }
@@ -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
+ import type { ExecutionSessionRestartPolicy } from './ExecutionSessionRestartPolicy.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ExecutionSessionRestartSpec
17
+ */
18
+ export interface ExecutionSessionRestartSpec {
19
+ /**
20
+ *
21
+ * @type {ExecutionSessionRestartPolicy}
22
+ * @memberof ExecutionSessionRestartSpec
23
+ */
24
+ policy?: ExecutionSessionRestartPolicy;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof ExecutionSessionRestartSpec
29
+ */
30
+ maxRestarts?: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ExecutionSessionRestartSpec
35
+ */
36
+ windowSeconds?: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ExecutionSessionRestartSpec
41
+ */
42
+ initialBackoffMs?: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof ExecutionSessionRestartSpec
47
+ */
48
+ maxBackoffMs?: number;
49
+ }
50
+ /**
51
+ * Check if a given object implements the ExecutionSessionRestartSpec interface.
52
+ */
53
+ export declare function instanceOfExecutionSessionRestartSpec(value: object): value is ExecutionSessionRestartSpec;
54
+ export declare function ExecutionSessionRestartSpecFromJSON(json: any): ExecutionSessionRestartSpec;
55
+ export declare function ExecutionSessionRestartSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionRestartSpec;
56
+ export declare function ExecutionSessionRestartSpecToJSON(json: any): ExecutionSessionRestartSpec;
57
+ export declare function ExecutionSessionRestartSpecToJSONTyped(value?: ExecutionSessionRestartSpec | null, ignoreDiscriminator?: boolean): any;
58
+ //# sourceMappingURL=ExecutionSessionRestartSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionRestartSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionRestartSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,MAAM,CAAC,EAAE,6BAA6B,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAID;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAEzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAY7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa5I"}