sandbox0 0.7.8 → 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 (143) hide show
  1. package/dist/apispec/src/apis/SessionsApi.d.ts +202 -0
  2. package/dist/apispec/src/apis/SessionsApi.d.ts.map +1 -0
  3. package/dist/apispec/src/apis/SessionsApi.js +563 -0
  4. package/dist/apispec/src/apis/index.d.ts +1 -0
  5. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  6. package/dist/apispec/src/apis/index.js +1 -0
  7. package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.d.ts +33 -0
  8. package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.d.ts.map +1 -0
  9. package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.js +41 -0
  10. package/dist/apispec/src/models/ExecutionSession.d.ts +97 -0
  11. package/dist/apispec/src/models/ExecutionSession.d.ts.map +1 -0
  12. package/dist/apispec/src/models/ExecutionSession.js +85 -0
  13. package/dist/apispec/src/models/ExecutionSessionAttempt.d.ts +75 -0
  14. package/dist/apispec/src/models/ExecutionSessionAttempt.d.ts.map +1 -0
  15. package/dist/apispec/src/models/ExecutionSessionAttempt.js +61 -0
  16. package/dist/apispec/src/models/ExecutionSessionDesiredState.d.ts +26 -0
  17. package/dist/apispec/src/models/ExecutionSessionDesiredState.d.ts.map +1 -0
  18. package/dist/apispec/src/models/ExecutionSessionDesiredState.js +43 -0
  19. package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.d.ts +34 -0
  20. package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.d.ts.map +1 -0
  21. package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.js +44 -0
  22. package/dist/apispec/src/models/ExecutionSessionEvent.d.ts +96 -0
  23. package/dist/apispec/src/models/ExecutionSessionEvent.d.ts.map +1 -0
  24. package/dist/apispec/src/models/ExecutionSessionEvent.js +77 -0
  25. package/dist/apispec/src/models/ExecutionSessionEventCursor.d.ts +39 -0
  26. package/dist/apispec/src/models/ExecutionSessionEventCursor.d.ts.map +1 -0
  27. package/dist/apispec/src/models/ExecutionSessionEventCursor.js +47 -0
  28. package/dist/apispec/src/models/ExecutionSessionEventPage.d.ts +41 -0
  29. package/dist/apispec/src/models/ExecutionSessionEventPage.d.ts.map +1 -0
  30. package/dist/apispec/src/models/ExecutionSessionEventPage.js +49 -0
  31. package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.d.ts +39 -0
  32. package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.d.ts.map +1 -0
  33. package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.js +43 -0
  34. package/dist/apispec/src/models/ExecutionSessionIOMode.d.ts +26 -0
  35. package/dist/apispec/src/models/ExecutionSessionIOMode.d.ts.map +1 -0
  36. package/dist/apispec/src/models/ExecutionSessionIOMode.js +43 -0
  37. package/dist/apispec/src/models/ExecutionSessionIOSpec.d.ts +41 -0
  38. package/dist/apispec/src/models/ExecutionSessionIOSpec.d.ts.map +1 -0
  39. package/dist/apispec/src/models/ExecutionSessionIOSpec.js +45 -0
  40. package/dist/apispec/src/models/ExecutionSessionInputRequest.d.ts +51 -0
  41. package/dist/apispec/src/models/ExecutionSessionInputRequest.d.ts.map +1 -0
  42. package/dist/apispec/src/models/ExecutionSessionInputRequest.js +49 -0
  43. package/dist/apispec/src/models/ExecutionSessionInputResponse.d.ts +51 -0
  44. package/dist/apispec/src/models/ExecutionSessionInputResponse.d.ts.map +1 -0
  45. package/dist/apispec/src/models/ExecutionSessionInputResponse.js +55 -0
  46. package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.d.ts +66 -0
  47. package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.d.ts.map +1 -0
  48. package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.js +54 -0
  49. package/dist/apispec/src/models/ExecutionSessionPhase.d.ts +34 -0
  50. package/dist/apispec/src/models/ExecutionSessionPhase.d.ts.map +1 -0
  51. package/dist/apispec/src/models/ExecutionSessionPhase.js +51 -0
  52. package/dist/apispec/src/models/ExecutionSessionReadinessSpec.d.ts +52 -0
  53. package/dist/apispec/src/models/ExecutionSessionReadinessSpec.d.ts.map +1 -0
  54. package/dist/apispec/src/models/ExecutionSessionReadinessSpec.js +48 -0
  55. package/dist/apispec/src/models/ExecutionSessionReadinessType.d.ts +27 -0
  56. package/dist/apispec/src/models/ExecutionSessionReadinessType.d.ts.map +1 -0
  57. package/dist/apispec/src/models/ExecutionSessionReadinessType.js +44 -0
  58. package/dist/apispec/src/models/ExecutionSessionRestartPolicy.d.ts +27 -0
  59. package/dist/apispec/src/models/ExecutionSessionRestartPolicy.d.ts.map +1 -0
  60. package/dist/apispec/src/models/ExecutionSessionRestartPolicy.js +44 -0
  61. package/dist/apispec/src/models/ExecutionSessionRestartSpec.d.ts +58 -0
  62. package/dist/apispec/src/models/ExecutionSessionRestartSpec.d.ts.map +1 -0
  63. package/dist/apispec/src/models/ExecutionSessionRestartSpec.js +50 -0
  64. package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.d.ts +26 -0
  65. package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.d.ts.map +1 -0
  66. package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.js +43 -0
  67. package/dist/apispec/src/models/ExecutionSessionSignalRequest.d.ts +39 -0
  68. package/dist/apispec/src/models/ExecutionSessionSignalRequest.d.ts.map +1 -0
  69. package/dist/apispec/src/models/ExecutionSessionSignalRequest.js +45 -0
  70. package/dist/apispec/src/models/ExecutionSessionSpec.d.ts +81 -0
  71. package/dist/apispec/src/models/ExecutionSessionSpec.d.ts.map +1 -0
  72. package/dist/apispec/src/models/ExecutionSessionSpec.js +61 -0
  73. package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.d.ts +45 -0
  74. package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.d.ts.map +1 -0
  75. package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.js +49 -0
  76. package/dist/apispec/src/models/ExecutionSessionTerminalSpec.d.ts +45 -0
  77. package/dist/apispec/src/models/ExecutionSessionTerminalSpec.d.ts.map +1 -0
  78. package/dist/apispec/src/models/ExecutionSessionTerminalSpec.js +45 -0
  79. package/dist/apispec/src/models/ExecutionSessionWebSocketAck.d.ts +46 -0
  80. package/dist/apispec/src/models/ExecutionSessionWebSocketAck.d.ts.map +1 -0
  81. package/dist/apispec/src/models/ExecutionSessionWebSocketAck.js +51 -0
  82. package/dist/apispec/src/models/ExecutionSessionWebSocketError.d.ts +52 -0
  83. package/dist/apispec/src/models/ExecutionSessionWebSocketError.d.ts.map +1 -0
  84. package/dist/apispec/src/models/ExecutionSessionWebSocketError.js +55 -0
  85. package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.d.ts +47 -0
  86. package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.d.ts.map +1 -0
  87. package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.js +54 -0
  88. package/dist/apispec/src/models/ExecutionSessionWebSocketInput.d.ts +70 -0
  89. package/dist/apispec/src/models/ExecutionSessionWebSocketInput.d.ts.map +1 -0
  90. package/dist/apispec/src/models/ExecutionSessionWebSocketInput.js +61 -0
  91. package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.d.ts +25 -0
  92. package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.d.ts.map +1 -0
  93. package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.js +58 -0
  94. package/dist/apispec/src/models/ExecutionSessionWebSocketResize.d.ts +64 -0
  95. package/dist/apispec/src/models/ExecutionSessionWebSocketResize.d.ts.map +1 -0
  96. package/dist/apispec/src/models/ExecutionSessionWebSocketResize.js +61 -0
  97. package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.d.ts +25 -0
  98. package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.d.ts.map +1 -0
  99. package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.js +58 -0
  100. package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.d.ts +58 -0
  101. package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.d.ts.map +1 -0
  102. package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.js +57 -0
  103. package/dist/apispec/src/models/SuccessAcceptedResponse.d.ts +40 -0
  104. package/dist/apispec/src/models/SuccessAcceptedResponse.d.ts.map +1 -0
  105. package/dist/apispec/src/models/SuccessAcceptedResponse.js +46 -0
  106. package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.d.ts +33 -0
  107. package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.d.ts.map +1 -0
  108. package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.js +43 -0
  109. package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.d.ts +40 -0
  110. package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.d.ts.map +1 -0
  111. package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.js +46 -0
  112. package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.d.ts +40 -0
  113. package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.d.ts.map +1 -0
  114. package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.js +46 -0
  115. package/dist/apispec/src/models/SuccessExecutionSessionListResponse.d.ts +40 -0
  116. package/dist/apispec/src/models/SuccessExecutionSessionListResponse.d.ts.map +1 -0
  117. package/dist/apispec/src/models/SuccessExecutionSessionListResponse.js +46 -0
  118. package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.d.ts +34 -0
  119. package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.d.ts.map +1 -0
  120. package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.js +44 -0
  121. package/dist/apispec/src/models/SuccessExecutionSessionResponse.d.ts +40 -0
  122. package/dist/apispec/src/models/SuccessExecutionSessionResponse.d.ts.map +1 -0
  123. package/dist/apispec/src/models/SuccessExecutionSessionResponse.js +46 -0
  124. package/dist/apispec/src/models/index.d.ts +39 -0
  125. package/dist/apispec/src/models/index.d.ts.map +1 -1
  126. package/dist/apispec/src/models/index.js +39 -0
  127. package/dist/client.d.ts +3 -1
  128. package/dist/client.d.ts.map +1 -1
  129. package/dist/client.js +9 -2
  130. package/dist/index.d.ts +2 -0
  131. package/dist/index.d.ts.map +1 -1
  132. package/dist/index.js +2 -0
  133. package/dist/models.d.ts +32 -1
  134. package/dist/models.d.ts.map +1 -1
  135. package/dist/sandbox_contexts.d.ts +1 -1
  136. package/dist/sandbox_files.d.ts +1 -1
  137. package/dist/sandbox_network.d.ts +1 -1
  138. package/dist/sandbox_observability.d.ts +1 -1
  139. package/dist/sandbox_services.d.ts +1 -1
  140. package/dist/sandbox_sessions.d.ts +39 -0
  141. package/dist/sandbox_sessions.d.ts.map +1 -0
  142. package/dist/sandbox_sessions.js +275 -0
  143. package/package.json +1 -1
@@ -0,0 +1,50 @@
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 { ExecutionSessionRestartPolicyFromJSON, ExecutionSessionRestartPolicyToJSON, } from './ExecutionSessionRestartPolicy.js';
15
+ /**
16
+ * Check if a given object implements the ExecutionSessionRestartSpec interface.
17
+ */
18
+ export function instanceOfExecutionSessionRestartSpec(value) {
19
+ return true;
20
+ }
21
+ export function ExecutionSessionRestartSpecFromJSON(json) {
22
+ return ExecutionSessionRestartSpecFromJSONTyped(json, false);
23
+ }
24
+ export function ExecutionSessionRestartSpecFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'policy': json['policy'] == null ? undefined : ExecutionSessionRestartPolicyFromJSON(json['policy']),
30
+ 'maxRestarts': json['max_restarts'] == null ? undefined : json['max_restarts'],
31
+ 'windowSeconds': json['window_seconds'] == null ? undefined : json['window_seconds'],
32
+ 'initialBackoffMs': json['initial_backoff_ms'] == null ? undefined : json['initial_backoff_ms'],
33
+ 'maxBackoffMs': json['max_backoff_ms'] == null ? undefined : json['max_backoff_ms'],
34
+ };
35
+ }
36
+ export function ExecutionSessionRestartSpecToJSON(json) {
37
+ return ExecutionSessionRestartSpecToJSONTyped(json, false);
38
+ }
39
+ export function ExecutionSessionRestartSpecToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'policy': ExecutionSessionRestartPolicyToJSON(value['policy']),
45
+ 'max_restarts': value['maxRestarts'],
46
+ 'window_seconds': value['windowSeconds'],
47
+ 'initial_backoff_ms': value['initialBackoffMs'],
48
+ 'max_backoff_ms': value['maxBackoffMs'],
49
+ };
50
+ }
@@ -0,0 +1,26 @@
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 ExecutionSessionRuntimeRecoveryPolicy: {
17
+ readonly ExecutionSessionRuntimeRecoveryRestart: "restart";
18
+ readonly ExecutionSessionRuntimeRecoveryStop: "stop";
19
+ };
20
+ export type ExecutionSessionRuntimeRecoveryPolicy = typeof ExecutionSessionRuntimeRecoveryPolicy[keyof typeof ExecutionSessionRuntimeRecoveryPolicy];
21
+ export declare function instanceOfExecutionSessionRuntimeRecoveryPolicy(value: any): boolean;
22
+ export declare function ExecutionSessionRuntimeRecoveryPolicyFromJSON(json: any): ExecutionSessionRuntimeRecoveryPolicy;
23
+ export declare function ExecutionSessionRuntimeRecoveryPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionRuntimeRecoveryPolicy;
24
+ export declare function ExecutionSessionRuntimeRecoveryPolicyToJSON(value?: ExecutionSessionRuntimeRecoveryPolicy | null): any;
25
+ export declare function ExecutionSessionRuntimeRecoveryPolicyToJSONTyped(value: any, ignoreDiscriminator: boolean): ExecutionSessionRuntimeRecoveryPolicy;
26
+ //# sourceMappingURL=ExecutionSessionRuntimeRecoveryPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionRuntimeRecoveryPolicy.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,qCAAqC;;;CAGxC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,OAAO,qCAAqC,CAAC,MAAM,OAAO,qCAAqC,CAAC,CAAC;AAGrJ,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASnF;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE9G;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAEjJ;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,qCAAqC,GAAG,IAAI,GAAG,GAAG,CAErH;AAED,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAEhJ"}
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ */
18
+ export const ExecutionSessionRuntimeRecoveryPolicy = {
19
+ ExecutionSessionRuntimeRecoveryRestart: 'restart',
20
+ ExecutionSessionRuntimeRecoveryStop: 'stop'
21
+ };
22
+ export function instanceOfExecutionSessionRuntimeRecoveryPolicy(value) {
23
+ for (const key in ExecutionSessionRuntimeRecoveryPolicy) {
24
+ if (Object.prototype.hasOwnProperty.call(ExecutionSessionRuntimeRecoveryPolicy, key)) {
25
+ if (ExecutionSessionRuntimeRecoveryPolicy[key] === value) {
26
+ return true;
27
+ }
28
+ }
29
+ }
30
+ return false;
31
+ }
32
+ export function ExecutionSessionRuntimeRecoveryPolicyFromJSON(json) {
33
+ return ExecutionSessionRuntimeRecoveryPolicyFromJSONTyped(json, false);
34
+ }
35
+ export function ExecutionSessionRuntimeRecoveryPolicyFromJSONTyped(json, ignoreDiscriminator) {
36
+ return json;
37
+ }
38
+ export function ExecutionSessionRuntimeRecoveryPolicyToJSON(value) {
39
+ return value;
40
+ }
41
+ export function ExecutionSessionRuntimeRecoveryPolicyToJSONTyped(value, ignoreDiscriminator) {
42
+ return value;
43
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExecutionSessionSignalRequest
16
+ */
17
+ export interface ExecutionSessionSignalRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExecutionSessionSignalRequest
22
+ */
23
+ signal: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ExecutionSessionSignalRequest
28
+ */
29
+ expectedAttemptId?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ExecutionSessionSignalRequest interface.
33
+ */
34
+ export declare function instanceOfExecutionSessionSignalRequest(value: object): value is ExecutionSessionSignalRequest;
35
+ export declare function ExecutionSessionSignalRequestFromJSON(json: any): ExecutionSessionSignalRequest;
36
+ export declare function ExecutionSessionSignalRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionSignalRequest;
37
+ export declare function ExecutionSessionSignalRequestToJSON(json: any): ExecutionSessionSignalRequest;
38
+ export declare function ExecutionSessionSignalRequestToJSONTyped(value?: ExecutionSessionSignalRequest | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=ExecutionSessionSignalRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionSignalRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionSignalRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;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,CASjI;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,CAUhJ"}
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ExecutionSessionSignalRequest interface.
16
+ */
17
+ export function instanceOfExecutionSessionSignalRequest(value) {
18
+ if (!('signal' in value) || value['signal'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function ExecutionSessionSignalRequestFromJSON(json) {
23
+ return ExecutionSessionSignalRequestFromJSONTyped(json, false);
24
+ }
25
+ export function ExecutionSessionSignalRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'signal': json['signal'],
31
+ 'expectedAttemptId': json['expected_attempt_id'] == null ? undefined : json['expected_attempt_id'],
32
+ };
33
+ }
34
+ export function ExecutionSessionSignalRequestToJSON(json) {
35
+ return ExecutionSessionSignalRequestToJSONTyped(json, false);
36
+ }
37
+ export function ExecutionSessionSignalRequestToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'signal': value['signal'],
43
+ 'expected_attempt_id': value['expectedAttemptId'],
44
+ };
45
+ }
@@ -0,0 +1,81 @@
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 { ExecutionSessionLifecycleSpec } from './ExecutionSessionLifecycleSpec.js';
13
+ import type { ExecutionSessionReadinessSpec } from './ExecutionSessionReadinessSpec.js';
14
+ import type { ExecutionSessionEventRetentionSpec } from './ExecutionSessionEventRetentionSpec.js';
15
+ import type { ExecutionSessionIOSpec } from './ExecutionSessionIOSpec.js';
16
+ /**
17
+ * Generic process-backed session specification. The supervisor does not interpret application protocols.
18
+ * @export
19
+ * @interface ExecutionSessionSpec
20
+ */
21
+ export interface ExecutionSessionSpec {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ExecutionSessionSpec
26
+ */
27
+ name?: string;
28
+ /**
29
+ *
30
+ * @type {Array<string>}
31
+ * @memberof ExecutionSessionSpec
32
+ */
33
+ command: Array<string>;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ExecutionSessionSpec
38
+ */
39
+ cwd?: string;
40
+ /**
41
+ *
42
+ * @type {{ [key: string]: string; }}
43
+ * @memberof ExecutionSessionSpec
44
+ */
45
+ env?: {
46
+ [key: string]: string;
47
+ };
48
+ /**
49
+ *
50
+ * @type {ExecutionSessionIOSpec}
51
+ * @memberof ExecutionSessionSpec
52
+ */
53
+ io?: ExecutionSessionIOSpec;
54
+ /**
55
+ *
56
+ * @type {ExecutionSessionLifecycleSpec}
57
+ * @memberof ExecutionSessionSpec
58
+ */
59
+ lifecycle?: ExecutionSessionLifecycleSpec;
60
+ /**
61
+ *
62
+ * @type {ExecutionSessionReadinessSpec}
63
+ * @memberof ExecutionSessionSpec
64
+ */
65
+ readiness?: ExecutionSessionReadinessSpec;
66
+ /**
67
+ *
68
+ * @type {ExecutionSessionEventRetentionSpec}
69
+ * @memberof ExecutionSessionSpec
70
+ */
71
+ eventRetention?: ExecutionSessionEventRetentionSpec;
72
+ }
73
+ /**
74
+ * Check if a given object implements the ExecutionSessionSpec interface.
75
+ */
76
+ export declare function instanceOfExecutionSessionSpec(value: object): value is ExecutionSessionSpec;
77
+ export declare function ExecutionSessionSpecFromJSON(json: any): ExecutionSessionSpec;
78
+ export declare function ExecutionSessionSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionSpec;
79
+ export declare function ExecutionSessionSpecToJSON(json: any): ExecutionSessionSpec;
80
+ export declare function ExecutionSessionSpecToJSONTyped(value?: ExecutionSessionSpec | null, ignoreDiscriminator?: boolean): any;
81
+ //# sourceMappingURL=ExecutionSessionSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAO/F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACjC;;;;OAIG;IACH,EAAE,CAAC,EAAE,sBAAsB,CAAC;IAC5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,6BAA6B,CAAC;IAC1C;;;;OAIG;IACH,SAAS,CAAC,EAAE,6BAA6B,CAAC;IAC1C;;;;OAIG;IACH,cAAc,CAAC,EAAE,kCAAkC,CAAC;CACvD;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAG3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAe/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB9H"}
@@ -0,0 +1,61 @@
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 { ExecutionSessionLifecycleSpecFromJSON, ExecutionSessionLifecycleSpecToJSON, } from './ExecutionSessionLifecycleSpec.js';
15
+ import { ExecutionSessionReadinessSpecFromJSON, ExecutionSessionReadinessSpecToJSON, } from './ExecutionSessionReadinessSpec.js';
16
+ import { ExecutionSessionEventRetentionSpecFromJSON, ExecutionSessionEventRetentionSpecToJSON, } from './ExecutionSessionEventRetentionSpec.js';
17
+ import { ExecutionSessionIOSpecFromJSON, ExecutionSessionIOSpecToJSON, } from './ExecutionSessionIOSpec.js';
18
+ /**
19
+ * Check if a given object implements the ExecutionSessionSpec interface.
20
+ */
21
+ export function instanceOfExecutionSessionSpec(value) {
22
+ if (!('command' in value) || value['command'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function ExecutionSessionSpecFromJSON(json) {
27
+ return ExecutionSessionSpecFromJSONTyped(json, false);
28
+ }
29
+ export function ExecutionSessionSpecFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'name': json['name'] == null ? undefined : json['name'],
35
+ 'command': json['command'],
36
+ 'cwd': json['cwd'] == null ? undefined : json['cwd'],
37
+ 'env': json['env'] == null ? undefined : json['env'],
38
+ 'io': json['io'] == null ? undefined : ExecutionSessionIOSpecFromJSON(json['io']),
39
+ 'lifecycle': json['lifecycle'] == null ? undefined : ExecutionSessionLifecycleSpecFromJSON(json['lifecycle']),
40
+ 'readiness': json['readiness'] == null ? undefined : ExecutionSessionReadinessSpecFromJSON(json['readiness']),
41
+ 'eventRetention': json['event_retention'] == null ? undefined : ExecutionSessionEventRetentionSpecFromJSON(json['event_retention']),
42
+ };
43
+ }
44
+ export function ExecutionSessionSpecToJSON(json) {
45
+ return ExecutionSessionSpecToJSONTyped(json, false);
46
+ }
47
+ export function ExecutionSessionSpecToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'name': value['name'],
53
+ 'command': value['command'],
54
+ 'cwd': value['cwd'],
55
+ 'env': value['env'],
56
+ 'io': ExecutionSessionIOSpecToJSON(value['io']),
57
+ 'lifecycle': ExecutionSessionLifecycleSpecToJSON(value['lifecycle']),
58
+ 'readiness': ExecutionSessionReadinessSpecToJSON(value['readiness']),
59
+ 'event_retention': ExecutionSessionEventRetentionSpecToJSON(value['eventRetention']),
60
+ };
61
+ }
@@ -0,0 +1,45 @@
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 ExecutionSessionTerminalResizeRequest
16
+ */
17
+ export interface ExecutionSessionTerminalResizeRequest {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ExecutionSessionTerminalResizeRequest
22
+ */
23
+ rows: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ExecutionSessionTerminalResizeRequest
28
+ */
29
+ cols: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ExecutionSessionTerminalResizeRequest
34
+ */
35
+ expectedAttemptId?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ExecutionSessionTerminalResizeRequest interface.
39
+ */
40
+ export declare function instanceOfExecutionSessionTerminalResizeRequest(value: object): value is ExecutionSessionTerminalResizeRequest;
41
+ export declare function ExecutionSessionTerminalResizeRequestFromJSON(json: any): ExecutionSessionTerminalResizeRequest;
42
+ export declare function ExecutionSessionTerminalResizeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionTerminalResizeRequest;
43
+ export declare function ExecutionSessionTerminalResizeRequestToJSON(json: any): ExecutionSessionTerminalResizeRequest;
44
+ export declare function ExecutionSessionTerminalResizeRequestToJSONTyped(value?: ExecutionSessionTerminalResizeRequest | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=ExecutionSessionTerminalResizeRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionTerminalResizeRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionTerminalResizeRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qCAAqC,CAI7H;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE9G;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAUjJ;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE5G;AAED,wBAAgB,gDAAgD,CAAC,KAAK,CAAC,EAAE,qCAAqC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhK"}
@@ -0,0 +1,49 @@
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 ExecutionSessionTerminalResizeRequest interface.
16
+ */
17
+ export function instanceOfExecutionSessionTerminalResizeRequest(value) {
18
+ if (!('rows' in value) || value['rows'] === undefined)
19
+ return false;
20
+ if (!('cols' in value) || value['cols'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function ExecutionSessionTerminalResizeRequestFromJSON(json) {
25
+ return ExecutionSessionTerminalResizeRequestFromJSONTyped(json, false);
26
+ }
27
+ export function ExecutionSessionTerminalResizeRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'rows': json['rows'],
33
+ 'cols': json['cols'],
34
+ 'expectedAttemptId': json['expected_attempt_id'] == null ? undefined : json['expected_attempt_id'],
35
+ };
36
+ }
37
+ export function ExecutionSessionTerminalResizeRequestToJSON(json) {
38
+ return ExecutionSessionTerminalResizeRequestToJSONTyped(json, false);
39
+ }
40
+ export function ExecutionSessionTerminalResizeRequestToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'rows': value['rows'],
46
+ 'cols': value['cols'],
47
+ 'expected_attempt_id': value['expectedAttemptId'],
48
+ };
49
+ }
@@ -0,0 +1,45 @@
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 ExecutionSessionTerminalSpec
16
+ */
17
+ export interface ExecutionSessionTerminalSpec {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ExecutionSessionTerminalSpec
22
+ */
23
+ rows?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ExecutionSessionTerminalSpec
28
+ */
29
+ cols?: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ExecutionSessionTerminalSpec
34
+ */
35
+ term?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ExecutionSessionTerminalSpec interface.
39
+ */
40
+ export declare function instanceOfExecutionSessionTerminalSpec(value: object): value is ExecutionSessionTerminalSpec;
41
+ export declare function ExecutionSessionTerminalSpecFromJSON(json: any): ExecutionSessionTerminalSpec;
42
+ export declare function ExecutionSessionTerminalSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionTerminalSpec;
43
+ export declare function ExecutionSessionTerminalSpecToJSON(json: any): ExecutionSessionTerminalSpec;
44
+ export declare function ExecutionSessionTerminalSpecToJSONTyped(value?: ExecutionSessionTerminalSpec | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=ExecutionSessionTerminalSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionTerminalSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionTerminalSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAE3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAU/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9I"}
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ExecutionSessionTerminalSpec interface.
16
+ */
17
+ export function instanceOfExecutionSessionTerminalSpec(value) {
18
+ return true;
19
+ }
20
+ export function ExecutionSessionTerminalSpecFromJSON(json) {
21
+ return ExecutionSessionTerminalSpecFromJSONTyped(json, false);
22
+ }
23
+ export function ExecutionSessionTerminalSpecFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'rows': json['rows'] == null ? undefined : json['rows'],
29
+ 'cols': json['cols'] == null ? undefined : json['cols'],
30
+ 'term': json['term'] == null ? undefined : json['term'],
31
+ };
32
+ }
33
+ export function ExecutionSessionTerminalSpecToJSON(json) {
34
+ return ExecutionSessionTerminalSpecToJSONTyped(json, false);
35
+ }
36
+ export function ExecutionSessionTerminalSpecToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'rows': value['rows'],
42
+ 'cols': value['cols'],
43
+ 'term': value['term'],
44
+ };
45
+ }
@@ -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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExecutionSessionWebSocketAck
16
+ */
17
+ export interface ExecutionSessionWebSocketAck {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExecutionSessionWebSocketAck
22
+ */
23
+ type: ExecutionSessionWebSocketAckTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ExecutionSessionWebSocketAck
28
+ */
29
+ requestId?: string;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const ExecutionSessionWebSocketAckTypeEnum: {
35
+ readonly Ack: "ack";
36
+ };
37
+ export type ExecutionSessionWebSocketAckTypeEnum = typeof ExecutionSessionWebSocketAckTypeEnum[keyof typeof ExecutionSessionWebSocketAckTypeEnum];
38
+ /**
39
+ * Check if a given object implements the ExecutionSessionWebSocketAck interface.
40
+ */
41
+ export declare function instanceOfExecutionSessionWebSocketAck(value: object): value is ExecutionSessionWebSocketAck;
42
+ export declare function ExecutionSessionWebSocketAckFromJSON(json: any): ExecutionSessionWebSocketAck;
43
+ export declare function ExecutionSessionWebSocketAckFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionWebSocketAck;
44
+ export declare function ExecutionSessionWebSocketAckToJSON(json: any): ExecutionSessionWebSocketAck;
45
+ export declare function ExecutionSessionWebSocketAckToJSONTyped(value?: ExecutionSessionWebSocketAck | null, ignoreDiscriminator?: boolean): any;
46
+ //# sourceMappingURL=ExecutionSessionWebSocketAck.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionWebSocketAck.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionWebSocketAck.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,IAAI,EAAE,oCAAoC,CAAC;IAC3C;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD;;GAEG;AACH,eAAO,MAAM,oCAAoC;;CAEvC,CAAC;AACX,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAC,MAAM,OAAO,oCAAoC,CAAC,CAAC;AAGlJ;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAG3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAS/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9I"}
@@ -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
+ * @export
16
+ */
17
+ export const ExecutionSessionWebSocketAckTypeEnum = {
18
+ Ack: 'ack'
19
+ };
20
+ /**
21
+ * Check if a given object implements the ExecutionSessionWebSocketAck interface.
22
+ */
23
+ export function instanceOfExecutionSessionWebSocketAck(value) {
24
+ if (!('type' in value) || value['type'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function ExecutionSessionWebSocketAckFromJSON(json) {
29
+ return ExecutionSessionWebSocketAckFromJSONTyped(json, false);
30
+ }
31
+ export function ExecutionSessionWebSocketAckFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'type': json['type'],
37
+ 'requestId': json['request_id'] == null ? undefined : json['request_id'],
38
+ };
39
+ }
40
+ export function ExecutionSessionWebSocketAckToJSON(json) {
41
+ return ExecutionSessionWebSocketAckToJSONTyped(json, false);
42
+ }
43
+ export function ExecutionSessionWebSocketAckToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'type': value['type'],
49
+ 'request_id': value['requestId'],
50
+ };
51
+ }