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,41 @@
|
|
|
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 CreateExecutionSessionAttemptRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCreateExecutionSessionAttemptRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function CreateExecutionSessionAttemptRequestFromJSON(json) {
|
|
21
|
+
return CreateExecutionSessionAttemptRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CreateExecutionSessionAttemptRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'replaceCurrent': json['replace_current'] == null ? undefined : json['replace_current'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function CreateExecutionSessionAttemptRequestToJSON(json) {
|
|
32
|
+
return CreateExecutionSessionAttemptRequestToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function CreateExecutionSessionAttemptRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'replace_current': value['replaceCurrent'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { ExecutionSessionPhase } from './ExecutionSessionPhase.js';
|
|
14
|
+
import type { ExecutionSessionSpec } from './ExecutionSessionSpec.js';
|
|
15
|
+
import type { ExecutionSessionAttempt } from './ExecutionSessionAttempt.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ExecutionSession
|
|
20
|
+
*/
|
|
21
|
+
export interface ExecutionSession {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ExecutionSession
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ExecutionSessionSpec}
|
|
31
|
+
* @memberof ExecutionSession
|
|
32
|
+
*/
|
|
33
|
+
spec: ExecutionSessionSpec;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ExecutionSession
|
|
38
|
+
*/
|
|
39
|
+
specVersion: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {ExecutionSessionPhase}
|
|
43
|
+
* @memberof ExecutionSession
|
|
44
|
+
*/
|
|
45
|
+
phase: ExecutionSessionPhase;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ExecutionSession
|
|
50
|
+
*/
|
|
51
|
+
runtimeGeneration: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {ExecutionSessionAttempt}
|
|
55
|
+
* @memberof ExecutionSession
|
|
56
|
+
*/
|
|
57
|
+
attempt?: ExecutionSessionAttempt;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof ExecutionSession
|
|
62
|
+
*/
|
|
63
|
+
restartCount: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {ExecutionSessionEventCursor}
|
|
67
|
+
* @memberof ExecutionSession
|
|
68
|
+
*/
|
|
69
|
+
cursor: ExecutionSessionEventCursor;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof ExecutionSession
|
|
74
|
+
*/
|
|
75
|
+
createdAt: Date;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof ExecutionSession
|
|
80
|
+
*/
|
|
81
|
+
updatedAt: Date;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof ExecutionSession
|
|
86
|
+
*/
|
|
87
|
+
lastActivityAt: Date;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Check if a given object implements the ExecutionSession interface.
|
|
91
|
+
*/
|
|
92
|
+
export declare function instanceOfExecutionSession(value: object): value is ExecutionSession;
|
|
93
|
+
export declare function ExecutionSessionFromJSON(json: any): ExecutionSession;
|
|
94
|
+
export declare function ExecutionSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSession;
|
|
95
|
+
export declare function ExecutionSessionToJSON(json: any): ExecutionSession;
|
|
96
|
+
export declare function ExecutionSessionToJSONTyped(value?: ExecutionSession | null, ignoreDiscriminator?: boolean): any;
|
|
97
|
+
//# sourceMappingURL=ExecutionSession.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSession.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSession.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,oBAAoB,CAAC;IAC3B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,qBAAqB,CAAC;IAC7B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,2BAA2B,CAAC;IACpC;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,cAAc,EAAE,IAAI,CAAC;CACxB;AAID;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAYnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAkBvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAmBtH"}
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { ExecutionSessionPhaseFromJSON, ExecutionSessionPhaseToJSON, } from './ExecutionSessionPhase.js';
|
|
16
|
+
import { ExecutionSessionSpecFromJSON, ExecutionSessionSpecToJSON, } from './ExecutionSessionSpec.js';
|
|
17
|
+
import { ExecutionSessionAttemptFromJSON, ExecutionSessionAttemptToJSON, } from './ExecutionSessionAttempt.js';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ExecutionSession interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfExecutionSession(value) {
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('spec' in value) || value['spec'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('specVersion' in value) || value['specVersion'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('phase' in value) || value['phase'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('runtimeGeneration' in value) || value['runtimeGeneration'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('restartCount' in value) || value['restartCount'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('cursor' in value) || value['cursor'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('lastActivityAt' in value) || value['lastActivityAt'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
export function ExecutionSessionFromJSON(json) {
|
|
45
|
+
return ExecutionSessionFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function ExecutionSessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': json['id'],
|
|
53
|
+
'spec': ExecutionSessionSpecFromJSON(json['spec']),
|
|
54
|
+
'specVersion': json['spec_version'],
|
|
55
|
+
'phase': ExecutionSessionPhaseFromJSON(json['phase']),
|
|
56
|
+
'runtimeGeneration': json['runtime_generation'],
|
|
57
|
+
'attempt': json['attempt'] == null ? undefined : ExecutionSessionAttemptFromJSON(json['attempt']),
|
|
58
|
+
'restartCount': json['restart_count'],
|
|
59
|
+
'cursor': ExecutionSessionEventCursorFromJSON(json['cursor']),
|
|
60
|
+
'createdAt': (new Date(json['created_at'])),
|
|
61
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
62
|
+
'lastActivityAt': (new Date(json['last_activity_at'])),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export function ExecutionSessionToJSON(json) {
|
|
66
|
+
return ExecutionSessionToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
export function ExecutionSessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'id': value['id'],
|
|
74
|
+
'spec': ExecutionSessionSpecToJSON(value['spec']),
|
|
75
|
+
'spec_version': value['specVersion'],
|
|
76
|
+
'phase': ExecutionSessionPhaseToJSON(value['phase']),
|
|
77
|
+
'runtime_generation': value['runtimeGeneration'],
|
|
78
|
+
'attempt': ExecutionSessionAttemptToJSON(value['attempt']),
|
|
79
|
+
'restart_count': value['restartCount'],
|
|
80
|
+
'cursor': ExecutionSessionEventCursorToJSON(value['cursor']),
|
|
81
|
+
'created_at': value['createdAt'].toISOString(),
|
|
82
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
83
|
+
'last_activity_at': value['lastActivityAt'].toISOString(),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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 ExecutionSessionAttempt
|
|
16
|
+
*/
|
|
17
|
+
export interface ExecutionSessionAttempt {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExecutionSessionAttempt
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ExecutionSessionAttempt
|
|
28
|
+
*/
|
|
29
|
+
number: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ExecutionSessionAttempt
|
|
34
|
+
*/
|
|
35
|
+
runtimeGeneration: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ExecutionSessionAttempt
|
|
40
|
+
*/
|
|
41
|
+
pid?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof ExecutionSessionAttempt
|
|
46
|
+
*/
|
|
47
|
+
startedAt?: Date;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof ExecutionSessionAttempt
|
|
52
|
+
*/
|
|
53
|
+
finishedAt?: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ExecutionSessionAttempt
|
|
58
|
+
*/
|
|
59
|
+
exitCode?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ExecutionSessionAttempt
|
|
64
|
+
*/
|
|
65
|
+
reason?: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the ExecutionSessionAttempt interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfExecutionSessionAttempt(value: object): value is ExecutionSessionAttempt;
|
|
71
|
+
export declare function ExecutionSessionAttemptFromJSON(json: any): ExecutionSessionAttempt;
|
|
72
|
+
export declare function ExecutionSessionAttemptFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionAttempt;
|
|
73
|
+
export declare function ExecutionSessionAttemptToJSON(json: any): ExecutionSessionAttempt;
|
|
74
|
+
export declare function ExecutionSessionAttemptToJSONTyped(value?: ExecutionSessionAttempt | null, ignoreDiscriminator?: boolean): any;
|
|
75
|
+
//# sourceMappingURL=ExecutionSessionAttempt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionAttempt.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionAttempt.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAKjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAerH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBpI"}
|
|
@@ -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
|
+
* Check if a given object implements the ExecutionSessionAttempt interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfExecutionSessionAttempt(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('number' in value) || value['number'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('runtimeGeneration' in value) || value['runtimeGeneration'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ExecutionSessionAttemptFromJSON(json) {
|
|
27
|
+
return ExecutionSessionAttemptFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ExecutionSessionAttemptFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': json['id'],
|
|
35
|
+
'number': json['number'],
|
|
36
|
+
'runtimeGeneration': json['runtime_generation'],
|
|
37
|
+
'pid': json['pid'] == null ? undefined : json['pid'],
|
|
38
|
+
'startedAt': json['started_at'] == null ? undefined : (new Date(json['started_at'])),
|
|
39
|
+
'finishedAt': json['finished_at'] == null ? undefined : (new Date(json['finished_at'])),
|
|
40
|
+
'exitCode': json['exit_code'] == null ? undefined : json['exit_code'],
|
|
41
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function ExecutionSessionAttemptToJSON(json) {
|
|
45
|
+
return ExecutionSessionAttemptToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function ExecutionSessionAttemptToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'number': value['number'],
|
|
54
|
+
'runtime_generation': value['runtimeGeneration'],
|
|
55
|
+
'pid': value['pid'],
|
|
56
|
+
'started_at': value['startedAt'] == null ? value['startedAt'] : value['startedAt'].toISOString(),
|
|
57
|
+
'finished_at': value['finishedAt'] == null ? value['finishedAt'] : value['finishedAt'].toISOString(),
|
|
58
|
+
'exit_code': value['exitCode'],
|
|
59
|
+
'reason': value['reason'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -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 ExecutionSessionDesiredState: {
|
|
17
|
+
readonly ExecutionSessionDesiredStateRunning: "running";
|
|
18
|
+
readonly ExecutionSessionDesiredStateStopped: "stopped";
|
|
19
|
+
};
|
|
20
|
+
export type ExecutionSessionDesiredState = typeof ExecutionSessionDesiredState[keyof typeof ExecutionSessionDesiredState];
|
|
21
|
+
export declare function instanceOfExecutionSessionDesiredState(value: any): boolean;
|
|
22
|
+
export declare function ExecutionSessionDesiredStateFromJSON(json: any): ExecutionSessionDesiredState;
|
|
23
|
+
export declare function ExecutionSessionDesiredStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionDesiredState;
|
|
24
|
+
export declare function ExecutionSessionDesiredStateToJSON(value?: ExecutionSessionDesiredState | null): any;
|
|
25
|
+
export declare function ExecutionSessionDesiredStateToJSONTyped(value: any, ignoreDiscriminator: boolean): ExecutionSessionDesiredState;
|
|
26
|
+
//# sourceMappingURL=ExecutionSessionDesiredState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionDesiredState.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionDesiredState.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAG1H,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS1E;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAE/H;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,GAAG,GAAG,CAEnG;AAED,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAE9H"}
|
|
@@ -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 ExecutionSessionDesiredState = {
|
|
19
|
+
ExecutionSessionDesiredStateRunning: 'running',
|
|
20
|
+
ExecutionSessionDesiredStateStopped: 'stopped'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfExecutionSessionDesiredState(value) {
|
|
23
|
+
for (const key in ExecutionSessionDesiredState) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(ExecutionSessionDesiredState, key)) {
|
|
25
|
+
if (ExecutionSessionDesiredState[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function ExecutionSessionDesiredStateFromJSON(json) {
|
|
33
|
+
return ExecutionSessionDesiredStateFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ExecutionSessionDesiredStateFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function ExecutionSessionDesiredStateToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function ExecutionSessionDesiredStateToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ExecutionSessionDesiredState } from './ExecutionSessionDesiredState.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ExecutionSessionDesiredStateRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface ExecutionSessionDesiredStateRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ExecutionSessionDesiredState}
|
|
22
|
+
* @memberof ExecutionSessionDesiredStateRequest
|
|
23
|
+
*/
|
|
24
|
+
state: ExecutionSessionDesiredState;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ExecutionSessionDesiredStateRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfExecutionSessionDesiredStateRequest(value: object): value is ExecutionSessionDesiredStateRequest;
|
|
30
|
+
export declare function ExecutionSessionDesiredStateRequestFromJSON(json: any): ExecutionSessionDesiredStateRequest;
|
|
31
|
+
export declare function ExecutionSessionDesiredStateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionDesiredStateRequest;
|
|
32
|
+
export declare function ExecutionSessionDesiredStateRequestToJSON(json: any): ExecutionSessionDesiredStateRequest;
|
|
33
|
+
export declare function ExecutionSessionDesiredStateRequestToJSONTyped(value?: ExecutionSessionDesiredStateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=ExecutionSessionDesiredStateRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionDesiredStateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionDesiredStateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAQnF;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;;OAIG;IACH,KAAK,EAAE,4BAA4B,CAAC;CACvC;AAID;;GAEG;AACH,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mCAAmC,CAGzH;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAQ7I;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAExG;AAED,wBAAgB,8CAA8C,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS5J"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ExecutionSessionDesiredStateFromJSON, ExecutionSessionDesiredStateToJSON, } from './ExecutionSessionDesiredState.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ExecutionSessionDesiredStateRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfExecutionSessionDesiredStateRequest(value) {
|
|
19
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function ExecutionSessionDesiredStateRequestFromJSON(json) {
|
|
24
|
+
return ExecutionSessionDesiredStateRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function ExecutionSessionDesiredStateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'state': ExecutionSessionDesiredStateFromJSON(json['state']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function ExecutionSessionDesiredStateRequestToJSON(json) {
|
|
35
|
+
return ExecutionSessionDesiredStateRequestToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ExecutionSessionDesiredStateRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'state': ExecutionSessionDesiredStateToJSON(value['state']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 ExecutionSessionEvent
|
|
16
|
+
*/
|
|
17
|
+
export interface ExecutionSessionEvent {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ExecutionSessionEvent
|
|
22
|
+
*/
|
|
23
|
+
seq: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExecutionSessionEvent
|
|
28
|
+
*/
|
|
29
|
+
sessionId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ExecutionSessionEvent
|
|
34
|
+
*/
|
|
35
|
+
runtimeGeneration: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ExecutionSessionEvent
|
|
40
|
+
*/
|
|
41
|
+
attemptId?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ExecutionSessionEvent
|
|
46
|
+
*/
|
|
47
|
+
type: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ExecutionSessionEvent
|
|
52
|
+
*/
|
|
53
|
+
stream?: ExecutionSessionEventStreamEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Base64-encoded event bytes.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ExecutionSessionEvent
|
|
58
|
+
*/
|
|
59
|
+
dataBase64?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ExecutionSessionEvent
|
|
64
|
+
*/
|
|
65
|
+
exitCode?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ExecutionSessionEvent
|
|
70
|
+
*/
|
|
71
|
+
reason?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof ExecutionSessionEvent
|
|
76
|
+
*/
|
|
77
|
+
occurredAt: Date;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const ExecutionSessionEventStreamEnum: {
|
|
83
|
+
readonly Stdout: "stdout";
|
|
84
|
+
readonly Stderr: "stderr";
|
|
85
|
+
readonly Pty: "pty";
|
|
86
|
+
};
|
|
87
|
+
export type ExecutionSessionEventStreamEnum = typeof ExecutionSessionEventStreamEnum[keyof typeof ExecutionSessionEventStreamEnum];
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the ExecutionSessionEvent interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfExecutionSessionEvent(value: object): value is ExecutionSessionEvent;
|
|
92
|
+
export declare function ExecutionSessionEventFromJSON(json: any): ExecutionSessionEvent;
|
|
93
|
+
export declare function ExecutionSessionEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionSessionEvent;
|
|
94
|
+
export declare function ExecutionSessionEventToJSON(json: any): ExecutionSessionEvent;
|
|
95
|
+
export declare function ExecutionSessionEventToJSONTyped(value?: ExecutionSessionEvent | null, ignoreDiscriminator?: boolean): any;
|
|
96
|
+
//# sourceMappingURL=ExecutionSessionEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecutionSessionEvent.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ExecutionSessionEvent.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,+BAA+B,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;CACpB;AAGD;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;CAIlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AAGnI;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAO7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAiBjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBhI"}
|