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,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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExecutionSessionWebSocketError
16
+ */
17
+ export interface ExecutionSessionWebSocketError {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExecutionSessionWebSocketError
22
+ */
23
+ type: ExecutionSessionWebSocketErrorTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ExecutionSessionWebSocketError
28
+ */
29
+ requestId?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ExecutionSessionWebSocketError
34
+ */
35
+ error: string;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const ExecutionSessionWebSocketErrorTypeEnum: {
41
+ readonly Error: "error";
42
+ };
43
+ export type ExecutionSessionWebSocketErrorTypeEnum = typeof ExecutionSessionWebSocketErrorTypeEnum[keyof typeof ExecutionSessionWebSocketErrorTypeEnum];
44
+ /**
45
+ * Check if a given object implements the ExecutionSessionWebSocketError interface.
46
+ */
47
+ export declare function instanceOfExecutionSessionWebSocketError(value: object): value is ExecutionSessionWebSocketError;
48
+ export declare function ExecutionSessionWebSocketErrorFromJSON(json: any): ExecutionSessionWebSocketError;
49
+ export declare function ExecutionSessionWebSocketErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionWebSocketError;
50
+ export declare function ExecutionSessionWebSocketErrorToJSON(json: any): ExecutionSessionWebSocketError;
51
+ export declare function ExecutionSessionWebSocketErrorToJSONTyped(value?: ExecutionSessionWebSocketError | null, ignoreDiscriminator?: boolean): any;
52
+ //# sourceMappingURL=ExecutionSessionWebSocketError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionWebSocketError.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionWebSocketError.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,IAAI,EAAE,sCAAsC,CAAC;IAC7C;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAGD;;GAEG;AACH,eAAO,MAAM,sCAAsC;;CAEzC,CAAC;AACX,MAAM,MAAM,sCAAsC,GAAG,OAAO,sCAAsC,CAAC,MAAM,OAAO,sCAAsC,CAAC,CAAC;AAGxJ;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAI/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAUnI;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,CAWlJ"}
@@ -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
+ * @export
16
+ */
17
+ export const ExecutionSessionWebSocketErrorTypeEnum = {
18
+ Error: 'error'
19
+ };
20
+ /**
21
+ * Check if a given object implements the ExecutionSessionWebSocketError interface.
22
+ */
23
+ export function instanceOfExecutionSessionWebSocketError(value) {
24
+ if (!('type' in value) || value['type'] === undefined)
25
+ return false;
26
+ if (!('error' in value) || value['error'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function ExecutionSessionWebSocketErrorFromJSON(json) {
31
+ return ExecutionSessionWebSocketErrorFromJSONTyped(json, false);
32
+ }
33
+ export function ExecutionSessionWebSocketErrorFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'type': json['type'],
39
+ 'requestId': json['request_id'] == null ? undefined : json['request_id'],
40
+ 'error': json['error'],
41
+ };
42
+ }
43
+ export function ExecutionSessionWebSocketErrorToJSON(json) {
44
+ return ExecutionSessionWebSocketErrorToJSONTyped(json, false);
45
+ }
46
+ export function ExecutionSessionWebSocketErrorToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'type': value['type'],
52
+ 'request_id': value['requestId'],
53
+ 'error': value['error'],
54
+ };
55
+ }
@@ -0,0 +1,47 @@
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 { ExecutionSessionEvent } from './ExecutionSessionEvent.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ExecutionSessionWebSocketEvent
17
+ */
18
+ export interface ExecutionSessionWebSocketEvent {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ExecutionSessionWebSocketEvent
23
+ */
24
+ type: ExecutionSessionWebSocketEventTypeEnum;
25
+ /**
26
+ *
27
+ * @type {ExecutionSessionEvent}
28
+ * @memberof ExecutionSessionWebSocketEvent
29
+ */
30
+ event: ExecutionSessionEvent;
31
+ }
32
+ /**
33
+ * @export
34
+ */
35
+ export declare const ExecutionSessionWebSocketEventTypeEnum: {
36
+ readonly Event: "event";
37
+ };
38
+ export type ExecutionSessionWebSocketEventTypeEnum = typeof ExecutionSessionWebSocketEventTypeEnum[keyof typeof ExecutionSessionWebSocketEventTypeEnum];
39
+ /**
40
+ * Check if a given object implements the ExecutionSessionWebSocketEvent interface.
41
+ */
42
+ export declare function instanceOfExecutionSessionWebSocketEvent(value: object): value is ExecutionSessionWebSocketEvent;
43
+ export declare function ExecutionSessionWebSocketEventFromJSON(json: any): ExecutionSessionWebSocketEvent;
44
+ export declare function ExecutionSessionWebSocketEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionWebSocketEvent;
45
+ export declare function ExecutionSessionWebSocketEventToJSON(json: any): ExecutionSessionWebSocketEvent;
46
+ export declare function ExecutionSessionWebSocketEventToJSONTyped(value?: ExecutionSessionWebSocketEvent | null, ignoreDiscriminator?: boolean): any;
47
+ //# sourceMappingURL=ExecutionSessionWebSocketEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionWebSocketEvent.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionWebSocketEvent.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,IAAI,EAAE,sCAAsC,CAAC;IAC7C;;;;OAIG;IACH,KAAK,EAAE,qBAAqB,CAAC;CAChC;AAGD;;GAEG;AACH,eAAO,MAAM,sCAAsC;;CAEzC,CAAC;AACX,MAAM,MAAM,sCAAsC,GAAG,OAAO,sCAAsC,CAAC,MAAM,OAAO,sCAAsC,CAAC,CAAC;AAGxJ;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAI/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CASnI;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,CAUlJ"}
@@ -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 { ExecutionSessionEventFromJSON, ExecutionSessionEventToJSON, } from './ExecutionSessionEvent.js';
15
+ /**
16
+ * @export
17
+ */
18
+ export const ExecutionSessionWebSocketEventTypeEnum = {
19
+ Event: 'event'
20
+ };
21
+ /**
22
+ * Check if a given object implements the ExecutionSessionWebSocketEvent interface.
23
+ */
24
+ export function instanceOfExecutionSessionWebSocketEvent(value) {
25
+ if (!('type' in value) || value['type'] === undefined)
26
+ return false;
27
+ if (!('event' in value) || value['event'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ export function ExecutionSessionWebSocketEventFromJSON(json) {
32
+ return ExecutionSessionWebSocketEventFromJSONTyped(json, false);
33
+ }
34
+ export function ExecutionSessionWebSocketEventFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'type': json['type'],
40
+ 'event': ExecutionSessionEventFromJSON(json['event']),
41
+ };
42
+ }
43
+ export function ExecutionSessionWebSocketEventToJSON(json) {
44
+ return ExecutionSessionWebSocketEventToJSONTyped(json, false);
45
+ }
46
+ export function ExecutionSessionWebSocketEventToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'type': value['type'],
52
+ 'event': ExecutionSessionEventToJSON(value['event']),
53
+ };
54
+ }
@@ -0,0 +1,70 @@
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 ExecutionSessionWebSocketInput
16
+ */
17
+ export interface ExecutionSessionWebSocketInput {
18
+ /**
19
+ * Client-generated operation identifier used to deduplicate recorded retries.
20
+ * @type {string}
21
+ * @memberof ExecutionSessionWebSocketInput
22
+ */
23
+ inputId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ExecutionSessionWebSocketInput
28
+ */
29
+ expectedAttemptId?: string;
30
+ /**
31
+ * Base64-encoded input bytes accepted into the current attempt input queue. WebSocket closure never implies EOF.
32
+ * @type {string}
33
+ * @memberof ExecutionSessionWebSocketInput
34
+ */
35
+ dataBase64?: string;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof ExecutionSessionWebSocketInput
40
+ */
41
+ eof?: boolean;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ExecutionSessionWebSocketInput
46
+ */
47
+ type: ExecutionSessionWebSocketInputTypeEnum;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ExecutionSessionWebSocketInput
52
+ */
53
+ requestId?: string;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const ExecutionSessionWebSocketInputTypeEnum: {
59
+ readonly Input: "input";
60
+ };
61
+ export type ExecutionSessionWebSocketInputTypeEnum = typeof ExecutionSessionWebSocketInputTypeEnum[keyof typeof ExecutionSessionWebSocketInputTypeEnum];
62
+ /**
63
+ * Check if a given object implements the ExecutionSessionWebSocketInput interface.
64
+ */
65
+ export declare function instanceOfExecutionSessionWebSocketInput(value: object): value is ExecutionSessionWebSocketInput;
66
+ export declare function ExecutionSessionWebSocketInputFromJSON(json: any): ExecutionSessionWebSocketInput;
67
+ export declare function ExecutionSessionWebSocketInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionWebSocketInput;
68
+ export declare function ExecutionSessionWebSocketInputToJSON(json: any): ExecutionSessionWebSocketInput;
69
+ export declare function ExecutionSessionWebSocketInputToJSONTyped(value?: ExecutionSessionWebSocketInput | null, ignoreDiscriminator?: boolean): any;
70
+ //# sourceMappingURL=ExecutionSessionWebSocketInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionWebSocketInput.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionWebSocketInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,sCAAsC,CAAC;IAC7C;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD;;GAEG;AACH,eAAO,MAAM,sCAAsC;;CAEzC,CAAC;AACX,MAAM,MAAM,sCAAsC,GAAG,OAAO,sCAAsC,CAAC,MAAM,OAAO,sCAAsC,CAAC,CAAC;AAGxJ;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAI/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAanI;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,CAclJ"}
@@ -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
+ /**
15
+ * @export
16
+ */
17
+ export const ExecutionSessionWebSocketInputTypeEnum = {
18
+ Input: 'input'
19
+ };
20
+ /**
21
+ * Check if a given object implements the ExecutionSessionWebSocketInput interface.
22
+ */
23
+ export function instanceOfExecutionSessionWebSocketInput(value) {
24
+ if (!('inputId' in value) || value['inputId'] === undefined)
25
+ return false;
26
+ if (!('type' in value) || value['type'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function ExecutionSessionWebSocketInputFromJSON(json) {
31
+ return ExecutionSessionWebSocketInputFromJSONTyped(json, false);
32
+ }
33
+ export function ExecutionSessionWebSocketInputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'inputId': json['input_id'],
39
+ 'expectedAttemptId': json['expected_attempt_id'] == null ? undefined : json['expected_attempt_id'],
40
+ 'dataBase64': json['data_base64'] == null ? undefined : json['data_base64'],
41
+ 'eof': json['eof'] == null ? undefined : json['eof'],
42
+ 'type': json['type'],
43
+ 'requestId': json['request_id'] == null ? undefined : json['request_id'],
44
+ };
45
+ }
46
+ export function ExecutionSessionWebSocketInputToJSON(json) {
47
+ return ExecutionSessionWebSocketInputToJSONTyped(json, false);
48
+ }
49
+ export function ExecutionSessionWebSocketInputToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'input_id': value['inputId'],
55
+ 'expected_attempt_id': value['expectedAttemptId'],
56
+ 'data_base64': value['dataBase64'],
57
+ 'eof': value['eof'],
58
+ 'type': value['type'],
59
+ 'request_id': value['requestId'],
60
+ };
61
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ExecutionSessionWebSocketInput } from './ExecutionSessionWebSocketInput.js';
13
+ import type { ExecutionSessionWebSocketResize } from './ExecutionSessionWebSocketResize.js';
14
+ import type { ExecutionSessionWebSocketSignal } from './ExecutionSessionWebSocketSignal.js';
15
+ /**
16
+ * @type ExecutionSessionWebSocketRequest
17
+ *
18
+ * @export
19
+ */
20
+ export type ExecutionSessionWebSocketRequest = ExecutionSessionWebSocketInput | ExecutionSessionWebSocketResize | ExecutionSessionWebSocketSignal;
21
+ export declare function ExecutionSessionWebSocketRequestFromJSON(json: any): ExecutionSessionWebSocketRequest;
22
+ export declare function ExecutionSessionWebSocketRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionWebSocketRequest;
23
+ export declare function ExecutionSessionWebSocketRequestToJSON(json: any): any;
24
+ export declare function ExecutionSessionWebSocketRequestToJSONTyped(value?: ExecutionSessionWebSocketRequest | null, ignoreDiscriminator?: boolean): any;
25
+ //# sourceMappingURL=ExecutionSessionWebSocketRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionWebSocketRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionWebSocketRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAOvF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAOzF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAQzF;;;;GAIG;AACH,MAAM,MAAM,gCAAgC,GAAG,8BAA8B,GAAG,+BAA+B,GAAG,+BAA+B,CAAC;AAElJ,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAiBvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAErE;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBtJ"}
@@ -0,0 +1,58 @@
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 { instanceOfExecutionSessionWebSocketInput, ExecutionSessionWebSocketInputFromJSONTyped, ExecutionSessionWebSocketInputToJSON, } from './ExecutionSessionWebSocketInput.js';
15
+ import { instanceOfExecutionSessionWebSocketResize, ExecutionSessionWebSocketResizeFromJSONTyped, ExecutionSessionWebSocketResizeToJSON, } from './ExecutionSessionWebSocketResize.js';
16
+ import { instanceOfExecutionSessionWebSocketSignal, ExecutionSessionWebSocketSignalFromJSONTyped, ExecutionSessionWebSocketSignalToJSON, } from './ExecutionSessionWebSocketSignal.js';
17
+ export function ExecutionSessionWebSocketRequestFromJSON(json) {
18
+ return ExecutionSessionWebSocketRequestFromJSONTyped(json, false);
19
+ }
20
+ export function ExecutionSessionWebSocketRequestFromJSONTyped(json, ignoreDiscriminator) {
21
+ if (json == null) {
22
+ return json;
23
+ }
24
+ if (typeof json !== 'object') {
25
+ return json;
26
+ }
27
+ if (instanceOfExecutionSessionWebSocketInput(json)) {
28
+ return ExecutionSessionWebSocketInputFromJSONTyped(json, true);
29
+ }
30
+ if (instanceOfExecutionSessionWebSocketResize(json)) {
31
+ return ExecutionSessionWebSocketResizeFromJSONTyped(json, true);
32
+ }
33
+ if (instanceOfExecutionSessionWebSocketSignal(json)) {
34
+ return ExecutionSessionWebSocketSignalFromJSONTyped(json, true);
35
+ }
36
+ return {};
37
+ }
38
+ export function ExecutionSessionWebSocketRequestToJSON(json) {
39
+ return ExecutionSessionWebSocketRequestToJSONTyped(json, false);
40
+ }
41
+ export function ExecutionSessionWebSocketRequestToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ if (typeof value !== 'object') {
46
+ return value;
47
+ }
48
+ if (instanceOfExecutionSessionWebSocketInput(value)) {
49
+ return ExecutionSessionWebSocketInputToJSON(value);
50
+ }
51
+ if (instanceOfExecutionSessionWebSocketResize(value)) {
52
+ return ExecutionSessionWebSocketResizeToJSON(value);
53
+ }
54
+ if (instanceOfExecutionSessionWebSocketSignal(value)) {
55
+ return ExecutionSessionWebSocketSignalToJSON(value);
56
+ }
57
+ return {};
58
+ }
@@ -0,0 +1,64 @@
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 ExecutionSessionWebSocketResize
16
+ */
17
+ export interface ExecutionSessionWebSocketResize {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ExecutionSessionWebSocketResize
22
+ */
23
+ rows: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ExecutionSessionWebSocketResize
28
+ */
29
+ cols: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ExecutionSessionWebSocketResize
34
+ */
35
+ expectedAttemptId?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ExecutionSessionWebSocketResize
40
+ */
41
+ type: ExecutionSessionWebSocketResizeTypeEnum;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ExecutionSessionWebSocketResize
46
+ */
47
+ requestId?: string;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const ExecutionSessionWebSocketResizeTypeEnum: {
53
+ readonly Resize: "resize";
54
+ };
55
+ export type ExecutionSessionWebSocketResizeTypeEnum = typeof ExecutionSessionWebSocketResizeTypeEnum[keyof typeof ExecutionSessionWebSocketResizeTypeEnum];
56
+ /**
57
+ * Check if a given object implements the ExecutionSessionWebSocketResize interface.
58
+ */
59
+ export declare function instanceOfExecutionSessionWebSocketResize(value: object): value is ExecutionSessionWebSocketResize;
60
+ export declare function ExecutionSessionWebSocketResizeFromJSON(json: any): ExecutionSessionWebSocketResize;
61
+ export declare function ExecutionSessionWebSocketResizeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionWebSocketResize;
62
+ export declare function ExecutionSessionWebSocketResizeToJSON(json: any): ExecutionSessionWebSocketResize;
63
+ export declare function ExecutionSessionWebSocketResizeToJSONTyped(value?: ExecutionSessionWebSocketResize | null, ignoreDiscriminator?: boolean): any;
64
+ //# sourceMappingURL=ExecutionSessionWebSocketResize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionWebSocketResize.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionWebSocketResize.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;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,CAKjH;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,CAYrI;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,CAapJ"}
@@ -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
+ /**
15
+ * @export
16
+ */
17
+ export const ExecutionSessionWebSocketResizeTypeEnum = {
18
+ Resize: 'resize'
19
+ };
20
+ /**
21
+ * Check if a given object implements the ExecutionSessionWebSocketResize interface.
22
+ */
23
+ export function instanceOfExecutionSessionWebSocketResize(value) {
24
+ if (!('rows' in value) || value['rows'] === undefined)
25
+ return false;
26
+ if (!('cols' in value) || value['cols'] === undefined)
27
+ return false;
28
+ if (!('type' in value) || value['type'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ export function ExecutionSessionWebSocketResizeFromJSON(json) {
33
+ return ExecutionSessionWebSocketResizeFromJSONTyped(json, false);
34
+ }
35
+ export function ExecutionSessionWebSocketResizeFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'rows': json['rows'],
41
+ 'cols': json['cols'],
42
+ 'expectedAttemptId': json['expected_attempt_id'] == null ? undefined : json['expected_attempt_id'],
43
+ 'type': json['type'],
44
+ 'requestId': json['request_id'] == null ? undefined : json['request_id'],
45
+ };
46
+ }
47
+ export function ExecutionSessionWebSocketResizeToJSON(json) {
48
+ return ExecutionSessionWebSocketResizeToJSONTyped(json, false);
49
+ }
50
+ export function ExecutionSessionWebSocketResizeToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'rows': value['rows'],
56
+ 'cols': value['cols'],
57
+ 'expected_attempt_id': value['expectedAttemptId'],
58
+ 'type': value['type'],
59
+ 'request_id': value['requestId'],
60
+ };
61
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ExecutionSessionWebSocketAck } from './ExecutionSessionWebSocketAck.js';
13
+ import type { ExecutionSessionWebSocketError } from './ExecutionSessionWebSocketError.js';
14
+ import type { ExecutionSessionWebSocketEvent } from './ExecutionSessionWebSocketEvent.js';
15
+ /**
16
+ * @type ExecutionSessionWebSocketResponse
17
+ *
18
+ * @export
19
+ */
20
+ export type ExecutionSessionWebSocketResponse = ExecutionSessionWebSocketAck | ExecutionSessionWebSocketError | ExecutionSessionWebSocketEvent;
21
+ export declare function ExecutionSessionWebSocketResponseFromJSON(json: any): ExecutionSessionWebSocketResponse;
22
+ export declare function ExecutionSessionWebSocketResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionWebSocketResponse;
23
+ export declare function ExecutionSessionWebSocketResponseToJSON(json: any): any;
24
+ export declare function ExecutionSessionWebSocketResponseToJSONTyped(value?: ExecutionSessionWebSocketResponse | null, ignoreDiscriminator?: boolean): any;
25
+ //# sourceMappingURL=ExecutionSessionWebSocketResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExecutionSessionWebSocketResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionWebSocketResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAOnF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAOvF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAQvF;;;;GAIG;AACH,MAAM,MAAM,iCAAiC,GAAG,4BAA4B,GAAG,8BAA8B,GAAG,8BAA8B,CAAC;AAE/I,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"}
@@ -0,0 +1,58 @@
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 { instanceOfExecutionSessionWebSocketAck, ExecutionSessionWebSocketAckFromJSONTyped, ExecutionSessionWebSocketAckToJSON, } from './ExecutionSessionWebSocketAck.js';
15
+ import { instanceOfExecutionSessionWebSocketError, ExecutionSessionWebSocketErrorFromJSONTyped, ExecutionSessionWebSocketErrorToJSON, } from './ExecutionSessionWebSocketError.js';
16
+ import { instanceOfExecutionSessionWebSocketEvent, ExecutionSessionWebSocketEventFromJSONTyped, ExecutionSessionWebSocketEventToJSON, } from './ExecutionSessionWebSocketEvent.js';
17
+ export function ExecutionSessionWebSocketResponseFromJSON(json) {
18
+ return ExecutionSessionWebSocketResponseFromJSONTyped(json, false);
19
+ }
20
+ export function ExecutionSessionWebSocketResponseFromJSONTyped(json, ignoreDiscriminator) {
21
+ if (json == null) {
22
+ return json;
23
+ }
24
+ if (typeof json !== 'object') {
25
+ return json;
26
+ }
27
+ if (instanceOfExecutionSessionWebSocketAck(json)) {
28
+ return ExecutionSessionWebSocketAckFromJSONTyped(json, true);
29
+ }
30
+ if (instanceOfExecutionSessionWebSocketError(json)) {
31
+ return ExecutionSessionWebSocketErrorFromJSONTyped(json, true);
32
+ }
33
+ if (instanceOfExecutionSessionWebSocketEvent(json)) {
34
+ return ExecutionSessionWebSocketEventFromJSONTyped(json, true);
35
+ }
36
+ return {};
37
+ }
38
+ export function ExecutionSessionWebSocketResponseToJSON(json) {
39
+ return ExecutionSessionWebSocketResponseToJSONTyped(json, false);
40
+ }
41
+ export function ExecutionSessionWebSocketResponseToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ if (typeof value !== 'object') {
46
+ return value;
47
+ }
48
+ if (instanceOfExecutionSessionWebSocketAck(value)) {
49
+ return ExecutionSessionWebSocketAckToJSON(value);
50
+ }
51
+ if (instanceOfExecutionSessionWebSocketError(value)) {
52
+ return ExecutionSessionWebSocketErrorToJSON(value);
53
+ }
54
+ if (instanceOfExecutionSessionWebSocketEvent(value)) {
55
+ return ExecutionSessionWebSocketEventToJSON(value);
56
+ }
57
+ return {};
58
+ }