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.
- package/dist/apispec/src/apis/ObservabilityApi.d.ts +11 -5
- package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/ObservabilityApi.js +22 -4
- package/dist/apispec/src/apis/SessionsApi.d.ts +202 -0
- package/dist/apispec/src/apis/SessionsApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/SessionsApi.js +563 -0
- package/dist/apispec/src/apis/index.d.ts +1 -0
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +1 -0
- package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.d.ts +33 -0
- package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/CreateExecutionSessionAttemptRequest.js +41 -0
- package/dist/apispec/src/models/ExecutionSession.d.ts +97 -0
- package/dist/apispec/src/models/ExecutionSession.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSession.js +85 -0
- package/dist/apispec/src/models/ExecutionSessionAttempt.d.ts +75 -0
- package/dist/apispec/src/models/ExecutionSessionAttempt.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionAttempt.js +61 -0
- package/dist/apispec/src/models/ExecutionSessionDesiredState.d.ts +26 -0
- package/dist/apispec/src/models/ExecutionSessionDesiredState.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionDesiredState.js +43 -0
- package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.d.ts +34 -0
- package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionDesiredStateRequest.js +44 -0
- package/dist/apispec/src/models/ExecutionSessionEvent.d.ts +96 -0
- package/dist/apispec/src/models/ExecutionSessionEvent.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionEvent.js +77 -0
- package/dist/apispec/src/models/ExecutionSessionEventCursor.d.ts +39 -0
- package/dist/apispec/src/models/ExecutionSessionEventCursor.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionEventCursor.js +47 -0
- package/dist/apispec/src/models/ExecutionSessionEventPage.d.ts +41 -0
- package/dist/apispec/src/models/ExecutionSessionEventPage.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionEventPage.js +49 -0
- package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.d.ts +39 -0
- package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionEventRetentionSpec.js +43 -0
- package/dist/apispec/src/models/ExecutionSessionIOMode.d.ts +26 -0
- package/dist/apispec/src/models/ExecutionSessionIOMode.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionIOMode.js +43 -0
- package/dist/apispec/src/models/ExecutionSessionIOSpec.d.ts +41 -0
- package/dist/apispec/src/models/ExecutionSessionIOSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionIOSpec.js +45 -0
- package/dist/apispec/src/models/ExecutionSessionInputRequest.d.ts +51 -0
- package/dist/apispec/src/models/ExecutionSessionInputRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionInputRequest.js +49 -0
- package/dist/apispec/src/models/ExecutionSessionInputResponse.d.ts +51 -0
- package/dist/apispec/src/models/ExecutionSessionInputResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionInputResponse.js +55 -0
- package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.d.ts +66 -0
- package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionLifecycleSpec.js +54 -0
- package/dist/apispec/src/models/ExecutionSessionPhase.d.ts +34 -0
- package/dist/apispec/src/models/ExecutionSessionPhase.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionPhase.js +51 -0
- package/dist/apispec/src/models/ExecutionSessionReadinessSpec.d.ts +52 -0
- package/dist/apispec/src/models/ExecutionSessionReadinessSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionReadinessSpec.js +48 -0
- package/dist/apispec/src/models/ExecutionSessionReadinessType.d.ts +27 -0
- package/dist/apispec/src/models/ExecutionSessionReadinessType.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionReadinessType.js +44 -0
- package/dist/apispec/src/models/ExecutionSessionRestartPolicy.d.ts +27 -0
- package/dist/apispec/src/models/ExecutionSessionRestartPolicy.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionRestartPolicy.js +44 -0
- package/dist/apispec/src/models/ExecutionSessionRestartSpec.d.ts +58 -0
- package/dist/apispec/src/models/ExecutionSessionRestartSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionRestartSpec.js +50 -0
- package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.d.ts +26 -0
- package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionRuntimeRecoveryPolicy.js +43 -0
- package/dist/apispec/src/models/ExecutionSessionSignalRequest.d.ts +39 -0
- package/dist/apispec/src/models/ExecutionSessionSignalRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionSignalRequest.js +45 -0
- package/dist/apispec/src/models/ExecutionSessionSpec.d.ts +81 -0
- package/dist/apispec/src/models/ExecutionSessionSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionSpec.js +61 -0
- package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.d.ts +45 -0
- package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionTerminalResizeRequest.js +49 -0
- package/dist/apispec/src/models/ExecutionSessionTerminalSpec.d.ts +45 -0
- package/dist/apispec/src/models/ExecutionSessionTerminalSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionTerminalSpec.js +45 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketAck.d.ts +46 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketAck.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketAck.js +51 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketError.d.ts +52 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketError.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketError.js +55 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.d.ts +47 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketEvent.js +54 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketInput.d.ts +70 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketInput.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketInput.js +61 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.d.ts +25 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketRequest.js +58 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketResize.d.ts +64 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketResize.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketResize.js +61 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.d.ts +25 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketResponse.js +58 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.d.ts +58 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecutionSessionWebSocketSignal.js +57 -0
- package/dist/apispec/src/models/ObservabilityEventSource.d.ts +3 -0
- package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -1
- package/dist/apispec/src/models/ObservabilityEventSource.js +4 -1
- package/dist/apispec/src/models/SandboxAuditActor.d.ts +58 -0
- package/dist/apispec/src/models/SandboxAuditActor.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAuditActor.js +52 -0
- package/dist/apispec/src/models/SandboxAuditActorKind.d.ts +31 -0
- package/dist/apispec/src/models/SandboxAuditActorKind.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAuditActorKind.js +48 -0
- package/dist/apispec/src/models/SandboxAuditEventPhase.d.ts +27 -0
- package/dist/apispec/src/models/SandboxAuditEventPhase.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAuditEventPhase.js +44 -0
- package/dist/apispec/src/models/SandboxAuditIntegrity.d.ts +79 -0
- package/dist/apispec/src/models/SandboxAuditIntegrity.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAuditIntegrity.js +75 -0
- package/dist/apispec/src/models/SandboxAuditProducer.d.ts +45 -0
- package/dist/apispec/src/models/SandboxAuditProducer.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAuditProducer.js +47 -0
- package/dist/apispec/src/models/SandboxAuditRequest.d.ts +69 -0
- package/dist/apispec/src/models/SandboxAuditRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAuditRequest.js +53 -0
- package/dist/apispec/src/models/SandboxAuditResource.d.ts +45 -0
- package/dist/apispec/src/models/SandboxAuditResource.d.ts.map +1 -0
- package/dist/apispec/src/models/SandboxAuditResource.js +49 -0
- package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts +70 -3
- package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityEvent.js +53 -7
- package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts +3 -0
- package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityEventType.js +4 -1
- package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts +2 -0
- package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxObservabilityOutcome.js +3 -1
- package/dist/apispec/src/models/SuccessAcceptedResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessAcceptedResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessAcceptedResponse.js +46 -0
- package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.d.ts +33 -0
- package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessAcceptedResponseAllOfData.js +43 -0
- package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessExecutionSessionEventPageResponse.js +46 -0
- package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessExecutionSessionInputResponse.js +46 -0
- package/dist/apispec/src/models/SuccessExecutionSessionListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessExecutionSessionListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessExecutionSessionListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.d.ts +34 -0
- package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessExecutionSessionListResponseAllOfData.js +44 -0
- package/dist/apispec/src/models/SuccessExecutionSessionResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessExecutionSessionResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessExecutionSessionResponse.js +46 -0
- package/dist/apispec/src/models/index.d.ts +46 -0
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +46 -0
- package/dist/client.d.ts +3 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +14 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/models.d.ts +44 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/sandbox_contexts.d.ts +1 -1
- package/dist/sandbox_files.d.ts +1 -1
- package/dist/sandbox_network.d.ts +1 -1
- package/dist/sandbox_observability.d.ts +1 -1
- package/dist/sandbox_services.d.ts +1 -1
- package/dist/sandbox_sessions.d.ts +39 -0
- package/dist/sandbox_sessions.d.ts.map +1 -0
- package/dist/sandbox_sessions.js +275 -0
- package/package.json +1 -1
|
@@ -0,0 +1,77 @@
|
|
|
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 ExecutionSessionEventStreamEnum = {
|
|
18
|
+
Stdout: 'stdout',
|
|
19
|
+
Stderr: 'stderr',
|
|
20
|
+
Pty: 'pty'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ExecutionSessionEvent interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfExecutionSessionEvent(value) {
|
|
26
|
+
if (!('seq' in value) || value['seq'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('runtimeGeneration' in value) || value['runtimeGeneration'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('occurredAt' in value) || value['occurredAt'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
export function ExecutionSessionEventFromJSON(json) {
|
|
39
|
+
return ExecutionSessionEventFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ExecutionSessionEventFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'seq': json['seq'],
|
|
47
|
+
'sessionId': json['session_id'],
|
|
48
|
+
'runtimeGeneration': json['runtime_generation'],
|
|
49
|
+
'attemptId': json['attempt_id'] == null ? undefined : json['attempt_id'],
|
|
50
|
+
'type': json['type'],
|
|
51
|
+
'stream': json['stream'] == null ? undefined : json['stream'],
|
|
52
|
+
'dataBase64': json['data_base64'] == null ? undefined : json['data_base64'],
|
|
53
|
+
'exitCode': json['exit_code'] == null ? undefined : json['exit_code'],
|
|
54
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
55
|
+
'occurredAt': (new Date(json['occurred_at'])),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function ExecutionSessionEventToJSON(json) {
|
|
59
|
+
return ExecutionSessionEventToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
export function ExecutionSessionEventToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'seq': value['seq'],
|
|
67
|
+
'session_id': value['sessionId'],
|
|
68
|
+
'runtime_generation': value['runtimeGeneration'],
|
|
69
|
+
'attempt_id': value['attemptId'],
|
|
70
|
+
'type': value['type'],
|
|
71
|
+
'stream': value['stream'],
|
|
72
|
+
'data_base64': value['dataBase64'],
|
|
73
|
+
'exit_code': value['exitCode'],
|
|
74
|
+
'reason': value['reason'],
|
|
75
|
+
'occurred_at': value['occurredAt'].toISOString(),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -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 ExecutionSessionEventCursor
|
|
16
|
+
*/
|
|
17
|
+
export interface ExecutionSessionEventCursor {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ExecutionSessionEventCursor
|
|
22
|
+
*/
|
|
23
|
+
earliest: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ExecutionSessionEventCursor
|
|
28
|
+
*/
|
|
29
|
+
latest: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ExecutionSessionEventCursor interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfExecutionSessionEventCursor(value: object): value is ExecutionSessionEventCursor;
|
|
35
|
+
export declare function ExecutionSessionEventCursorFromJSON(json: any): ExecutionSessionEventCursor;
|
|
36
|
+
export declare function ExecutionSessionEventCursorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionEventCursor;
|
|
37
|
+
export declare function ExecutionSessionEventCursorToJSON(json: any): ExecutionSessionEventCursor;
|
|
38
|
+
export declare function ExecutionSessionEventCursorToJSONTyped(value?: ExecutionSessionEventCursor | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=ExecutionSessionEventCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionEventCursor.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionEventCursor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAIzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAS7H;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,CAU5I"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 ExecutionSessionEventCursor interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfExecutionSessionEventCursor(value) {
|
|
18
|
+
if (!('earliest' in value) || value['earliest'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('latest' in value) || value['latest'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ExecutionSessionEventCursorFromJSON(json) {
|
|
25
|
+
return ExecutionSessionEventCursorFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ExecutionSessionEventCursorFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'earliest': json['earliest'],
|
|
33
|
+
'latest': json['latest'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ExecutionSessionEventCursorToJSON(json) {
|
|
37
|
+
return ExecutionSessionEventCursorToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ExecutionSessionEventCursorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'earliest': value['earliest'],
|
|
45
|
+
'latest': value['latest'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { ExecutionSessionEventCursor } from './ExecutionSessionEventCursor.js';
|
|
13
|
+
import type { ExecutionSessionEvent } from './ExecutionSessionEvent.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ExecutionSessionEventPage
|
|
18
|
+
*/
|
|
19
|
+
export interface ExecutionSessionEventPage {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ExecutionSessionEvent>}
|
|
23
|
+
* @memberof ExecutionSessionEventPage
|
|
24
|
+
*/
|
|
25
|
+
events: Array<ExecutionSessionEvent>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ExecutionSessionEventCursor}
|
|
29
|
+
* @memberof ExecutionSessionEventPage
|
|
30
|
+
*/
|
|
31
|
+
cursor: ExecutionSessionEventCursor;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ExecutionSessionEventPage interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfExecutionSessionEventPage(value: object): value is ExecutionSessionEventPage;
|
|
37
|
+
export declare function ExecutionSessionEventPageFromJSON(json: any): ExecutionSessionEventPage;
|
|
38
|
+
export declare function ExecutionSessionEventPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionEventPage;
|
|
39
|
+
export declare function ExecutionSessionEventPageToJSON(json: any): ExecutionSessionEventPage;
|
|
40
|
+
export declare function ExecutionSessionEventPageToJSONTyped(value?: ExecutionSessionEventPage | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=ExecutionSessionEventPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionEventPage.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionEventPage.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACrC;;;;OAIG;IACH,MAAM,EAAE,2BAA2B,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAIrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CASzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxI"}
|
|
@@ -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
|
+
import { ExecutionSessionEventCursorFromJSON, ExecutionSessionEventCursorToJSON, } from './ExecutionSessionEventCursor.js';
|
|
15
|
+
import { ExecutionSessionEventFromJSON, ExecutionSessionEventToJSON, } from './ExecutionSessionEvent.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ExecutionSessionEventPage interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfExecutionSessionEventPage(value) {
|
|
20
|
+
if (!('events' in value) || value['events'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('cursor' in value) || value['cursor'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ExecutionSessionEventPageFromJSON(json) {
|
|
27
|
+
return ExecutionSessionEventPageFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ExecutionSessionEventPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'events': (json['events'].map(ExecutionSessionEventFromJSON)),
|
|
35
|
+
'cursor': ExecutionSessionEventCursorFromJSON(json['cursor']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function ExecutionSessionEventPageToJSON(json) {
|
|
39
|
+
return ExecutionSessionEventPageToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ExecutionSessionEventPageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'events': (value['events'].map(ExecutionSessionEventToJSON)),
|
|
47
|
+
'cursor': ExecutionSessionEventCursorToJSON(value['cursor']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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 ExecutionSessionEventRetentionSpec
|
|
16
|
+
*/
|
|
17
|
+
export interface ExecutionSessionEventRetentionSpec {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ExecutionSessionEventRetentionSpec
|
|
22
|
+
*/
|
|
23
|
+
maxBytes?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ExecutionSessionEventRetentionSpec
|
|
28
|
+
*/
|
|
29
|
+
maxAgeSeconds?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ExecutionSessionEventRetentionSpec interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfExecutionSessionEventRetentionSpec(value: object): value is ExecutionSessionEventRetentionSpec;
|
|
35
|
+
export declare function ExecutionSessionEventRetentionSpecFromJSON(json: any): ExecutionSessionEventRetentionSpec;
|
|
36
|
+
export declare function ExecutionSessionEventRetentionSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionEventRetentionSpec;
|
|
37
|
+
export declare function ExecutionSessionEventRetentionSpecToJSON(json: any): ExecutionSessionEventRetentionSpec;
|
|
38
|
+
export declare function ExecutionSessionEventRetentionSpecToJSONTyped(value?: ExecutionSessionEventRetentionSpec | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=ExecutionSessionEventRetentionSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionEventRetentionSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionEventRetentionSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,4CAA4C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kCAAkC,CAEvH;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAExG;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kCAAkC,CAS3I;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAEtG;AAED,wBAAgB,6CAA6C,CAAC,KAAK,CAAC,EAAE,kCAAkC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1J"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ExecutionSessionEventRetentionSpec interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfExecutionSessionEventRetentionSpec(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ExecutionSessionEventRetentionSpecFromJSON(json) {
|
|
21
|
+
return ExecutionSessionEventRetentionSpecFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ExecutionSessionEventRetentionSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'maxBytes': json['max_bytes'] == null ? undefined : json['max_bytes'],
|
|
29
|
+
'maxAgeSeconds': json['max_age_seconds'] == null ? undefined : json['max_age_seconds'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function ExecutionSessionEventRetentionSpecToJSON(json) {
|
|
33
|
+
return ExecutionSessionEventRetentionSpecToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ExecutionSessionEventRetentionSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'max_bytes': value['maxBytes'],
|
|
41
|
+
'max_age_seconds': value['maxAgeSeconds'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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 ExecutionSessionIOMode: {
|
|
17
|
+
readonly ExecutionSessionIOModePipes: "pipes";
|
|
18
|
+
readonly ExecutionSessionIOModePTY: "pty";
|
|
19
|
+
};
|
|
20
|
+
export type ExecutionSessionIOMode = typeof ExecutionSessionIOMode[keyof typeof ExecutionSessionIOMode];
|
|
21
|
+
export declare function instanceOfExecutionSessionIOMode(value: any): boolean;
|
|
22
|
+
export declare function ExecutionSessionIOModeFromJSON(json: any): ExecutionSessionIOMode;
|
|
23
|
+
export declare function ExecutionSessionIOModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionIOMode;
|
|
24
|
+
export declare function ExecutionSessionIOModeToJSON(value?: ExecutionSessionIOMode | null): any;
|
|
25
|
+
export declare function ExecutionSessionIOModeToJSONTyped(value: any, ignoreDiscriminator: boolean): ExecutionSessionIOMode;
|
|
26
|
+
//# sourceMappingURL=ExecutionSessionIOMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionIOMode.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionIOMode.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;CAGzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAGxG,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAEnH;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,GAAG,GAAG,CAEvF;AAED,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAElH"}
|
|
@@ -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 ExecutionSessionIOMode = {
|
|
19
|
+
ExecutionSessionIOModePipes: 'pipes',
|
|
20
|
+
ExecutionSessionIOModePTY: 'pty'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfExecutionSessionIOMode(value) {
|
|
23
|
+
for (const key in ExecutionSessionIOMode) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(ExecutionSessionIOMode, key)) {
|
|
25
|
+
if (ExecutionSessionIOMode[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function ExecutionSessionIOModeFromJSON(json) {
|
|
33
|
+
return ExecutionSessionIOModeFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ExecutionSessionIOModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function ExecutionSessionIOModeToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function ExecutionSessionIOModeToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { ExecutionSessionTerminalSpec } from './ExecutionSessionTerminalSpec.js';
|
|
13
|
+
import type { ExecutionSessionIOMode } from './ExecutionSessionIOMode.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ExecutionSessionIOSpec
|
|
18
|
+
*/
|
|
19
|
+
export interface ExecutionSessionIOSpec {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ExecutionSessionIOMode}
|
|
23
|
+
* @memberof ExecutionSessionIOSpec
|
|
24
|
+
*/
|
|
25
|
+
mode?: ExecutionSessionIOMode;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ExecutionSessionTerminalSpec}
|
|
29
|
+
* @memberof ExecutionSessionIOSpec
|
|
30
|
+
*/
|
|
31
|
+
terminal?: ExecutionSessionTerminalSpec;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ExecutionSessionIOSpec interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfExecutionSessionIOSpec(value: object): value is ExecutionSessionIOSpec;
|
|
37
|
+
export declare function ExecutionSessionIOSpecFromJSON(json: any): ExecutionSessionIOSpec;
|
|
38
|
+
export declare function ExecutionSessionIOSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionIOSpec;
|
|
39
|
+
export declare function ExecutionSessionIOSpecToJSON(json: any): ExecutionSessionIOSpec;
|
|
40
|
+
export declare function ExecutionSessionIOSpecToJSONTyped(value?: ExecutionSessionIOSpec | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=ExecutionSessionIOSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionIOSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionIOSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAOnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,4BAA4B,CAAC;CAC3C;AAID;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAE/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CASnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlI"}
|
|
@@ -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
|
+
import { ExecutionSessionTerminalSpecFromJSON, ExecutionSessionTerminalSpecToJSON, } from './ExecutionSessionTerminalSpec.js';
|
|
15
|
+
import { ExecutionSessionIOModeFromJSON, ExecutionSessionIOModeToJSON, } from './ExecutionSessionIOMode.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ExecutionSessionIOSpec interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfExecutionSessionIOSpec(value) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ExecutionSessionIOSpecFromJSON(json) {
|
|
23
|
+
return ExecutionSessionIOSpecFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ExecutionSessionIOSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'mode': json['mode'] == null ? undefined : ExecutionSessionIOModeFromJSON(json['mode']),
|
|
31
|
+
'terminal': json['terminal'] == null ? undefined : ExecutionSessionTerminalSpecFromJSON(json['terminal']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function ExecutionSessionIOSpecToJSON(json) {
|
|
35
|
+
return ExecutionSessionIOSpecToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ExecutionSessionIOSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'mode': ExecutionSessionIOModeToJSON(value['mode']),
|
|
43
|
+
'terminal': ExecutionSessionTerminalSpecToJSON(value['terminal']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -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 ExecutionSessionInputRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ExecutionSessionInputRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Client-generated operation identifier used to deduplicate recorded retries.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExecutionSessionInputRequest
|
|
22
|
+
*/
|
|
23
|
+
inputId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExecutionSessionInputRequest
|
|
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 ExecutionSessionInputRequest
|
|
34
|
+
*/
|
|
35
|
+
dataBase64?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof ExecutionSessionInputRequest
|
|
40
|
+
*/
|
|
41
|
+
eof?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ExecutionSessionInputRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfExecutionSessionInputRequest(value: object): value is ExecutionSessionInputRequest;
|
|
47
|
+
export declare function ExecutionSessionInputRequestFromJSON(json: any): ExecutionSessionInputRequest;
|
|
48
|
+
export declare function ExecutionSessionInputRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionInputRequest;
|
|
49
|
+
export declare function ExecutionSessionInputRequestToJSON(json: any): ExecutionSessionInputRequest;
|
|
50
|
+
export declare function ExecutionSessionInputRequestToJSONTyped(value?: ExecutionSessionInputRequest | null, ignoreDiscriminator?: boolean): any;
|
|
51
|
+
//# sourceMappingURL=ExecutionSessionInputRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionInputRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionInputRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;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;CACjB;AAED;;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,CAW/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,CAY9I"}
|
|
@@ -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 ExecutionSessionInputRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfExecutionSessionInputRequest(value) {
|
|
18
|
+
if (!('inputId' in value) || value['inputId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ExecutionSessionInputRequestFromJSON(json) {
|
|
23
|
+
return ExecutionSessionInputRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ExecutionSessionInputRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'inputId': json['input_id'],
|
|
31
|
+
'expectedAttemptId': json['expected_attempt_id'] == null ? undefined : json['expected_attempt_id'],
|
|
32
|
+
'dataBase64': json['data_base64'] == null ? undefined : json['data_base64'],
|
|
33
|
+
'eof': json['eof'] == null ? undefined : json['eof'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ExecutionSessionInputRequestToJSON(json) {
|
|
37
|
+
return ExecutionSessionInputRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ExecutionSessionInputRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'input_id': value['inputId'],
|
|
45
|
+
'expected_attempt_id': value['expectedAttemptId'],
|
|
46
|
+
'data_base64': value['dataBase64'],
|
|
47
|
+
'eof': value['eof'],
|
|
48
|
+
};
|
|
49
|
+
}
|