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,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 SandboxAuditProducer interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxAuditProducer(value) {
|
|
18
|
+
if (!('service' in value) || value['service'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function SandboxAuditProducerFromJSON(json) {
|
|
23
|
+
return SandboxAuditProducerFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function SandboxAuditProducerFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'service': json['service'],
|
|
31
|
+
'instance': json['instance'] == null ? undefined : json['instance'],
|
|
32
|
+
'sequence': json['sequence'] == null ? undefined : json['sequence'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SandboxAuditProducerToJSON(json) {
|
|
36
|
+
return SandboxAuditProducerToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SandboxAuditProducerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'service': value['service'],
|
|
44
|
+
'instance': value['instance'],
|
|
45
|
+
'sequence': value['sequence'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 SandboxAuditRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxAuditRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxAuditRequest
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxAuditRequest
|
|
28
|
+
*/
|
|
29
|
+
traceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxAuditRequest
|
|
34
|
+
*/
|
|
35
|
+
sourceIp?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SandboxAuditRequest
|
|
40
|
+
*/
|
|
41
|
+
userAgent?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SandboxAuditRequest
|
|
46
|
+
*/
|
|
47
|
+
httpMethod?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SandboxAuditRequest
|
|
52
|
+
*/
|
|
53
|
+
route?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof SandboxAuditRequest
|
|
58
|
+
*/
|
|
59
|
+
statusCode?: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the SandboxAuditRequest interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfSandboxAuditRequest(value: object): value is SandboxAuditRequest;
|
|
65
|
+
export declare function SandboxAuditRequestFromJSON(json: any): SandboxAuditRequest;
|
|
66
|
+
export declare function SandboxAuditRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAuditRequest;
|
|
67
|
+
export declare function SandboxAuditRequestToJSON(json: any): SandboxAuditRequest;
|
|
68
|
+
export declare function SandboxAuditRequestToJSONTyped(value?: SandboxAuditRequest | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
//# sourceMappingURL=SandboxAuditRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxAuditRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAuditRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAc7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe5H"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 SandboxAuditRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxAuditRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SandboxAuditRequestFromJSON(json) {
|
|
21
|
+
return SandboxAuditRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SandboxAuditRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'requestId': json['request_id'] == null ? undefined : json['request_id'],
|
|
29
|
+
'traceId': json['trace_id'] == null ? undefined : json['trace_id'],
|
|
30
|
+
'sourceIp': json['source_ip'] == null ? undefined : json['source_ip'],
|
|
31
|
+
'userAgent': json['user_agent'] == null ? undefined : json['user_agent'],
|
|
32
|
+
'httpMethod': json['http_method'] == null ? undefined : json['http_method'],
|
|
33
|
+
'route': json['route'] == null ? undefined : json['route'],
|
|
34
|
+
'statusCode': json['status_code'] == null ? undefined : json['status_code'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function SandboxAuditRequestToJSON(json) {
|
|
38
|
+
return SandboxAuditRequestToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SandboxAuditRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'request_id': value['requestId'],
|
|
46
|
+
'trace_id': value['traceId'],
|
|
47
|
+
'source_ip': value['sourceIp'],
|
|
48
|
+
'user_agent': value['userAgent'],
|
|
49
|
+
'http_method': value['httpMethod'],
|
|
50
|
+
'route': value['route'],
|
|
51
|
+
'status_code': value['statusCode'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SandboxAuditResource
|
|
16
|
+
*/
|
|
17
|
+
export interface SandboxAuditResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SandboxAuditResource
|
|
22
|
+
*/
|
|
23
|
+
type: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SandboxAuditResource
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SandboxAuditResource
|
|
34
|
+
*/
|
|
35
|
+
subresource?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SandboxAuditResource interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSandboxAuditResource(value: object): value is SandboxAuditResource;
|
|
41
|
+
export declare function SandboxAuditResourceFromJSON(json: any): SandboxAuditResource;
|
|
42
|
+
export declare function SandboxAuditResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAuditResource;
|
|
43
|
+
export declare function SandboxAuditResourceToJSON(json: any): SandboxAuditResource;
|
|
44
|
+
export declare function SandboxAuditResourceToJSONTyped(value?: SandboxAuditResource | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=SandboxAuditResource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SandboxAuditResource.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAuditResource.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAU/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9H"}
|
|
@@ -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 SandboxAuditResource interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSandboxAuditResource(value) {
|
|
18
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function SandboxAuditResourceFromJSON(json) {
|
|
25
|
+
return SandboxAuditResourceFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function SandboxAuditResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'type': json['type'],
|
|
33
|
+
'id': json['id'],
|
|
34
|
+
'subresource': json['subresource'] == null ? undefined : json['subresource'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function SandboxAuditResourceToJSON(json) {
|
|
38
|
+
return SandboxAuditResourceToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SandboxAuditResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'type': value['type'],
|
|
46
|
+
'id': value['id'],
|
|
47
|
+
'subresource': value['subresource'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -9,8 +9,14 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SandboxAuditIntegrity } from './SandboxAuditIntegrity.js';
|
|
12
13
|
import type { ObservabilityEventSource } from './ObservabilityEventSource.js';
|
|
14
|
+
import type { SandboxAuditProducer } from './SandboxAuditProducer.js';
|
|
13
15
|
import type { SandboxObservabilityEventType } from './SandboxObservabilityEventType.js';
|
|
16
|
+
import type { SandboxAuditResource } from './SandboxAuditResource.js';
|
|
17
|
+
import type { SandboxAuditEventPhase } from './SandboxAuditEventPhase.js';
|
|
18
|
+
import type { SandboxAuditRequest } from './SandboxAuditRequest.js';
|
|
19
|
+
import type { SandboxAuditActor } from './SandboxAuditActor.js';
|
|
14
20
|
import type { SandboxObservabilityOutcome } from './SandboxObservabilityOutcome.js';
|
|
15
21
|
/**
|
|
16
22
|
*
|
|
@@ -18,6 +24,18 @@ import type { SandboxObservabilityOutcome } from './SandboxObservabilityOutcome.
|
|
|
18
24
|
* @interface SandboxObservabilityEvent
|
|
19
25
|
*/
|
|
20
26
|
export interface SandboxObservabilityEvent {
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof SandboxObservabilityEvent
|
|
31
|
+
*/
|
|
32
|
+
eventId: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof SandboxObservabilityEvent
|
|
37
|
+
*/
|
|
38
|
+
schemaVersion: SandboxObservabilityEventSchemaVersionEnum;
|
|
21
39
|
/**
|
|
22
40
|
*
|
|
23
41
|
* @type {string}
|
|
@@ -66,24 +84,66 @@ export interface SandboxObservabilityEvent {
|
|
|
66
84
|
* @memberof SandboxObservabilityEvent
|
|
67
85
|
*/
|
|
68
86
|
eventType: SandboxObservabilityEventType;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {SandboxAuditEventPhase}
|
|
90
|
+
* @memberof SandboxObservabilityEvent
|
|
91
|
+
*/
|
|
92
|
+
phase: SandboxAuditEventPhase;
|
|
69
93
|
/**
|
|
70
94
|
*
|
|
71
95
|
* @type {SandboxObservabilityOutcome}
|
|
72
96
|
* @memberof SandboxObservabilityEvent
|
|
73
97
|
*/
|
|
74
|
-
outcome
|
|
98
|
+
outcome: SandboxObservabilityOutcome;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {SandboxAuditActor}
|
|
102
|
+
* @memberof SandboxObservabilityEvent
|
|
103
|
+
*/
|
|
104
|
+
actor: SandboxAuditActor;
|
|
75
105
|
/**
|
|
76
106
|
*
|
|
77
107
|
* @type {string}
|
|
78
108
|
* @memberof SandboxObservabilityEvent
|
|
79
109
|
*/
|
|
80
|
-
|
|
110
|
+
action: string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {SandboxAuditResource}
|
|
114
|
+
* @memberof SandboxObservabilityEvent
|
|
115
|
+
*/
|
|
116
|
+
resource: SandboxAuditResource;
|
|
81
117
|
/**
|
|
82
118
|
*
|
|
83
119
|
* @type {string}
|
|
84
120
|
* @memberof SandboxObservabilityEvent
|
|
85
121
|
*/
|
|
86
|
-
|
|
122
|
+
operationId: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof SandboxObservabilityEvent
|
|
127
|
+
*/
|
|
128
|
+
parentEventId?: string;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {SandboxAuditProducer}
|
|
132
|
+
* @memberof SandboxObservabilityEvent
|
|
133
|
+
*/
|
|
134
|
+
producer: SandboxAuditProducer;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {SandboxAuditRequest}
|
|
138
|
+
* @memberof SandboxObservabilityEvent
|
|
139
|
+
*/
|
|
140
|
+
request?: SandboxAuditRequest;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {SandboxAuditIntegrity}
|
|
144
|
+
* @memberof SandboxObservabilityEvent
|
|
145
|
+
*/
|
|
146
|
+
integrity: SandboxAuditIntegrity;
|
|
87
147
|
/**
|
|
88
148
|
*
|
|
89
149
|
* @type {{ [key: string]: any; }}
|
|
@@ -93,6 +153,13 @@ export interface SandboxObservabilityEvent {
|
|
|
93
153
|
[key: string]: any;
|
|
94
154
|
};
|
|
95
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* @export
|
|
158
|
+
*/
|
|
159
|
+
export declare const SandboxObservabilityEventSchemaVersionEnum: {
|
|
160
|
+
readonly NUMBER_2: 2;
|
|
161
|
+
};
|
|
162
|
+
export type SandboxObservabilityEventSchemaVersionEnum = typeof SandboxObservabilityEventSchemaVersionEnum[keyof typeof SandboxObservabilityEventSchemaVersionEnum];
|
|
96
163
|
/**
|
|
97
164
|
* Check if a given object implements the SandboxObservabilityEvent interface.
|
|
98
165
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxObservabilityEvent.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityEvent.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAQjF;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC;;;;OAIG;IACH,SAAS,EAAE,6BAA6B,CAAC;IACzC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"SandboxObservabilityEvent.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityEvent.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAQjF;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,EAAE,0CAA0C,CAAC;IAC1D;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC;;;;OAIG;IACH,SAAS,EAAE,6BAA6B,CAAC;IACzC;;;;OAIG;IACH,KAAK,EAAE,sBAAsB,CAAC;IAC9B;;;;OAIG;IACH,OAAO,EAAE,2BAA2B,CAAC;IACrC;;;;OAIG;IACH,KAAK,EAAE,iBAAiB,CAAC;IACzB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B;;;;OAIG;IACH,SAAS,EAAE,qBAAqB,CAAC;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC;AAGD;;GAEG;AACH,eAAO,MAAM,0CAA0C;;CAE7C,CAAC;AACX,MAAM,MAAM,0CAA0C,GAAG,OAAO,0CAA0C,CAAC,MAAM,OAAO,0CAA0C,CAAC,CAAC;AAGpK;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAoBrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CA4BzH;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,CA6BxI"}
|
|
@@ -11,13 +11,29 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SandboxAuditIntegrityFromJSON, SandboxAuditIntegrityToJSON, } from './SandboxAuditIntegrity.js';
|
|
14
15
|
import { ObservabilityEventSourceFromJSON, ObservabilityEventSourceToJSON, } from './ObservabilityEventSource.js';
|
|
16
|
+
import { SandboxAuditProducerFromJSON, SandboxAuditProducerToJSON, } from './SandboxAuditProducer.js';
|
|
15
17
|
import { SandboxObservabilityEventTypeFromJSON, SandboxObservabilityEventTypeToJSON, } from './SandboxObservabilityEventType.js';
|
|
18
|
+
import { SandboxAuditResourceFromJSON, SandboxAuditResourceToJSON, } from './SandboxAuditResource.js';
|
|
19
|
+
import { SandboxAuditEventPhaseFromJSON, SandboxAuditEventPhaseToJSON, } from './SandboxAuditEventPhase.js';
|
|
20
|
+
import { SandboxAuditRequestFromJSON, SandboxAuditRequestToJSON, } from './SandboxAuditRequest.js';
|
|
21
|
+
import { SandboxAuditActorFromJSON, SandboxAuditActorToJSON, } from './SandboxAuditActor.js';
|
|
16
22
|
import { SandboxObservabilityOutcomeFromJSON, SandboxObservabilityOutcomeToJSON, } from './SandboxObservabilityOutcome.js';
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export const SandboxObservabilityEventSchemaVersionEnum = {
|
|
27
|
+
NUMBER_2: 2
|
|
28
|
+
};
|
|
17
29
|
/**
|
|
18
30
|
* Check if a given object implements the SandboxObservabilityEvent interface.
|
|
19
31
|
*/
|
|
20
32
|
export function instanceOfSandboxObservabilityEvent(value) {
|
|
33
|
+
if (!('eventId' in value) || value['eventId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('schemaVersion' in value) || value['schemaVersion'] === undefined)
|
|
36
|
+
return false;
|
|
21
37
|
if (!('teamId' in value) || value['teamId'] === undefined)
|
|
22
38
|
return false;
|
|
23
39
|
if (!('sandboxId' in value) || value['sandboxId'] === undefined)
|
|
@@ -34,9 +50,21 @@ export function instanceOfSandboxObservabilityEvent(value) {
|
|
|
34
50
|
return false;
|
|
35
51
|
if (!('eventType' in value) || value['eventType'] === undefined)
|
|
36
52
|
return false;
|
|
37
|
-
if (!('
|
|
53
|
+
if (!('phase' in value) || value['phase'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('outcome' in value) || value['outcome'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('resource' in value) || value['resource'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
if (!('operationId' in value) || value['operationId'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
if (!('producer' in value) || value['producer'] === undefined)
|
|
38
66
|
return false;
|
|
39
|
-
if (!('
|
|
67
|
+
if (!('integrity' in value) || value['integrity'] === undefined)
|
|
40
68
|
return false;
|
|
41
69
|
return true;
|
|
42
70
|
}
|
|
@@ -48,6 +76,8 @@ export function SandboxObservabilityEventFromJSONTyped(json, ignoreDiscriminator
|
|
|
48
76
|
return json;
|
|
49
77
|
}
|
|
50
78
|
return {
|
|
79
|
+
'eventId': json['event_id'],
|
|
80
|
+
'schemaVersion': json['schema_version'],
|
|
51
81
|
'teamId': json['team_id'],
|
|
52
82
|
'sandboxId': json['sandbox_id'],
|
|
53
83
|
'regionId': json['region_id'],
|
|
@@ -56,9 +86,16 @@ export function SandboxObservabilityEventFromJSONTyped(json, ignoreDiscriminator
|
|
|
56
86
|
'ingestedAt': (new Date(json['ingested_at'])),
|
|
57
87
|
'source': ObservabilityEventSourceFromJSON(json['source']),
|
|
58
88
|
'eventType': SandboxObservabilityEventTypeFromJSON(json['event_type']),
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
89
|
+
'phase': SandboxAuditEventPhaseFromJSON(json['phase']),
|
|
90
|
+
'outcome': SandboxObservabilityOutcomeFromJSON(json['outcome']),
|
|
91
|
+
'actor': SandboxAuditActorFromJSON(json['actor']),
|
|
92
|
+
'action': json['action'],
|
|
93
|
+
'resource': SandboxAuditResourceFromJSON(json['resource']),
|
|
94
|
+
'operationId': json['operation_id'],
|
|
95
|
+
'parentEventId': json['parent_event_id'] == null ? undefined : json['parent_event_id'],
|
|
96
|
+
'producer': SandboxAuditProducerFromJSON(json['producer']),
|
|
97
|
+
'request': json['request'] == null ? undefined : SandboxAuditRequestFromJSON(json['request']),
|
|
98
|
+
'integrity': SandboxAuditIntegrityFromJSON(json['integrity']),
|
|
62
99
|
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
63
100
|
};
|
|
64
101
|
}
|
|
@@ -70,6 +107,8 @@ export function SandboxObservabilityEventToJSONTyped(value, ignoreDiscriminator
|
|
|
70
107
|
return value;
|
|
71
108
|
}
|
|
72
109
|
return {
|
|
110
|
+
'event_id': value['eventId'],
|
|
111
|
+
'schema_version': value['schemaVersion'],
|
|
73
112
|
'team_id': value['teamId'],
|
|
74
113
|
'sandbox_id': value['sandboxId'],
|
|
75
114
|
'region_id': value['regionId'],
|
|
@@ -78,9 +117,16 @@ export function SandboxObservabilityEventToJSONTyped(value, ignoreDiscriminator
|
|
|
78
117
|
'ingested_at': value['ingestedAt'].toISOString(),
|
|
79
118
|
'source': ObservabilityEventSourceToJSON(value['source']),
|
|
80
119
|
'event_type': SandboxObservabilityEventTypeToJSON(value['eventType']),
|
|
120
|
+
'phase': SandboxAuditEventPhaseToJSON(value['phase']),
|
|
81
121
|
'outcome': SandboxObservabilityOutcomeToJSON(value['outcome']),
|
|
82
|
-
'
|
|
83
|
-
'
|
|
122
|
+
'actor': SandboxAuditActorToJSON(value['actor']),
|
|
123
|
+
'action': value['action'],
|
|
124
|
+
'resource': SandboxAuditResourceToJSON(value['resource']),
|
|
125
|
+
'operation_id': value['operationId'],
|
|
126
|
+
'parent_event_id': value['parentEventId'],
|
|
127
|
+
'producer': SandboxAuditProducerToJSON(value['producer']),
|
|
128
|
+
'request': SandboxAuditRequestToJSON(value['request']),
|
|
129
|
+
'integrity': SandboxAuditIntegrityToJSON(value['integrity']),
|
|
84
130
|
'attributes': value['attributes'],
|
|
85
131
|
};
|
|
86
132
|
}
|
|
@@ -17,6 +17,9 @@ export declare const SandboxObservabilityEventType: {
|
|
|
17
17
|
readonly Lifecycle: "lifecycle";
|
|
18
18
|
readonly NetworkAudit: "network_audit";
|
|
19
19
|
readonly RuntimeStats: "runtime_stats";
|
|
20
|
+
readonly ApiAccess: "api_access";
|
|
21
|
+
readonly Process: "process";
|
|
22
|
+
readonly File: "file";
|
|
20
23
|
};
|
|
21
24
|
export type SandboxObservabilityEventType = typeof SandboxObservabilityEventType[keyof typeof SandboxObservabilityEventType];
|
|
22
25
|
export declare function instanceOfSandboxObservabilityEventType(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxObservabilityEventType.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityEventType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"SandboxObservabilityEventType.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityEventType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;;;;CAOhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3E;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEjI;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,GAAG,GAAG,CAErG;AAED,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEhI"}
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
export const SandboxObservabilityEventType = {
|
|
19
19
|
Lifecycle: 'lifecycle',
|
|
20
20
|
NetworkAudit: 'network_audit',
|
|
21
|
-
RuntimeStats: 'runtime_stats'
|
|
21
|
+
RuntimeStats: 'runtime_stats',
|
|
22
|
+
ApiAccess: 'api_access',
|
|
23
|
+
Process: 'process',
|
|
24
|
+
File: 'file'
|
|
22
25
|
};
|
|
23
26
|
export function instanceOfSandboxObservabilityEventType(value) {
|
|
24
27
|
for (const key in SandboxObservabilityEventType) {
|
|
@@ -19,6 +19,8 @@ export declare const SandboxObservabilityOutcome: {
|
|
|
19
19
|
readonly Error: "error";
|
|
20
20
|
readonly Succeeded: "succeeded";
|
|
21
21
|
readonly Failed: "failed";
|
|
22
|
+
readonly Accepted: "accepted";
|
|
23
|
+
readonly Unknown: "unknown";
|
|
22
24
|
};
|
|
23
25
|
export type SandboxObservabilityOutcome = typeof SandboxObservabilityOutcome[keyof typeof SandboxObservabilityOutcome];
|
|
24
26
|
export declare function instanceOfSandboxObservabilityOutcome(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxObservabilityOutcome.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityOutcome.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"SandboxObservabilityOutcome.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityOutcome.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;CAQ9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAGvH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASzE;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAE7H;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,GAAG,GAAG,CAEjG;AAED,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAE5H"}
|
|
@@ -20,7 +20,9 @@ export const SandboxObservabilityOutcome = {
|
|
|
20
20
|
Denied: 'denied',
|
|
21
21
|
Error: 'error',
|
|
22
22
|
Succeeded: 'succeeded',
|
|
23
|
-
Failed: 'failed'
|
|
23
|
+
Failed: 'failed',
|
|
24
|
+
Accepted: 'accepted',
|
|
25
|
+
Unknown: 'unknown'
|
|
24
26
|
};
|
|
25
27
|
export function instanceOfSandboxObservabilityOutcome(value) {
|
|
26
28
|
for (const key in SandboxObservabilityOutcome) {
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { SuccessAcceptedResponseAllOfData } from './SuccessAcceptedResponseAllOfData.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessAcceptedResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessAcceptedResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessAcceptedResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SuccessAcceptedResponseAllOfData}
|
|
28
|
+
* @memberof SuccessAcceptedResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: SuccessAcceptedResponseAllOfData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessAcceptedResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessAcceptedResponse(value: object): value is SuccessAcceptedResponse;
|
|
36
|
+
export declare function SuccessAcceptedResponseFromJSON(json: any): SuccessAcceptedResponse;
|
|
37
|
+
export declare function SuccessAcceptedResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessAcceptedResponse;
|
|
38
|
+
export declare function SuccessAcceptedResponseToJSON(json: any): SuccessAcceptedResponse;
|
|
39
|
+
export declare function SuccessAcceptedResponseToJSONTyped(value?: SuccessAcceptedResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessAcceptedResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessAcceptedResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessAcceptedResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,gCAAgC,CAAC;CAC3C;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAGjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CASrH;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,CAUpI"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { SuccessAcceptedResponseAllOfDataFromJSON, SuccessAcceptedResponseAllOfDataToJSON, } from './SuccessAcceptedResponseAllOfData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessAcceptedResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessAcceptedResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessAcceptedResponseFromJSON(json) {
|
|
24
|
+
return SuccessAcceptedResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessAcceptedResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : SuccessAcceptedResponseAllOfDataFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessAcceptedResponseToJSON(json) {
|
|
36
|
+
return SuccessAcceptedResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessAcceptedResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': SuccessAcceptedResponseAllOfDataToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|