sandbox0 0.7.9 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/apispec/src/apis/ObservabilityApi.d.ts +11 -5
  2. package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -1
  3. package/dist/apispec/src/apis/ObservabilityApi.js +22 -4
  4. package/dist/apispec/src/models/ObservabilityEventSource.d.ts +3 -0
  5. package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -1
  6. package/dist/apispec/src/models/ObservabilityEventSource.js +4 -1
  7. package/dist/apispec/src/models/ResourceQuota.d.ts +2 -8
  8. package/dist/apispec/src/models/ResourceQuota.d.ts.map +1 -1
  9. package/dist/apispec/src/models/ResourceQuota.js +3 -3
  10. package/dist/apispec/src/models/SandboxAuditActor.d.ts +58 -0
  11. package/dist/apispec/src/models/SandboxAuditActor.d.ts.map +1 -0
  12. package/dist/apispec/src/models/SandboxAuditActor.js +52 -0
  13. package/dist/apispec/src/models/SandboxAuditActorKind.d.ts +31 -0
  14. package/dist/apispec/src/models/SandboxAuditActorKind.d.ts.map +1 -0
  15. package/dist/apispec/src/models/SandboxAuditActorKind.js +48 -0
  16. package/dist/apispec/src/models/SandboxAuditEventPhase.d.ts +27 -0
  17. package/dist/apispec/src/models/SandboxAuditEventPhase.d.ts.map +1 -0
  18. package/dist/apispec/src/models/SandboxAuditEventPhase.js +44 -0
  19. package/dist/apispec/src/models/SandboxAuditIntegrity.d.ts +79 -0
  20. package/dist/apispec/src/models/SandboxAuditIntegrity.d.ts.map +1 -0
  21. package/dist/apispec/src/models/SandboxAuditIntegrity.js +75 -0
  22. package/dist/apispec/src/models/SandboxAuditProducer.d.ts +45 -0
  23. package/dist/apispec/src/models/SandboxAuditProducer.d.ts.map +1 -0
  24. package/dist/apispec/src/models/SandboxAuditProducer.js +47 -0
  25. package/dist/apispec/src/models/SandboxAuditRequest.d.ts +69 -0
  26. package/dist/apispec/src/models/SandboxAuditRequest.d.ts.map +1 -0
  27. package/dist/apispec/src/models/SandboxAuditRequest.js +53 -0
  28. package/dist/apispec/src/models/SandboxAuditResource.d.ts +45 -0
  29. package/dist/apispec/src/models/SandboxAuditResource.d.ts.map +1 -0
  30. package/dist/apispec/src/models/SandboxAuditResource.js +49 -0
  31. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts +70 -3
  32. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts.map +1 -1
  33. package/dist/apispec/src/models/SandboxObservabilityEvent.js +53 -7
  34. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts +3 -0
  35. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts.map +1 -1
  36. package/dist/apispec/src/models/SandboxObservabilityEventType.js +4 -1
  37. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts +2 -0
  38. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts.map +1 -1
  39. package/dist/apispec/src/models/SandboxObservabilityOutcome.js +3 -1
  40. package/dist/apispec/src/models/SandboxResourceConfig.d.ts +1 -1
  41. package/dist/apispec/src/models/index.d.ts +7 -0
  42. package/dist/apispec/src/models/index.d.ts.map +1 -1
  43. package/dist/apispec/src/models/index.js +7 -0
  44. package/dist/client.js +5 -0
  45. package/dist/models.d.ts +13 -1
  46. package/dist/models.d.ts.map +1 -1
  47. package/dist/template_helpers.d.ts +1 -1
  48. package/dist/template_helpers.d.ts.map +1 -1
  49. package/dist/template_helpers.js +2 -2
  50. package/package.json +1 -1
@@ -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 SandboxAuditProducer
16
+ */
17
+ export interface SandboxAuditProducer {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SandboxAuditProducer
22
+ */
23
+ service: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SandboxAuditProducer
28
+ */
29
+ instance?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SandboxAuditProducer
34
+ */
35
+ sequence?: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SandboxAuditProducer interface.
39
+ */
40
+ export declare function instanceOfSandboxAuditProducer(value: object): value is SandboxAuditProducer;
41
+ export declare function SandboxAuditProducerFromJSON(json: any): SandboxAuditProducer;
42
+ export declare function SandboxAuditProducerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAuditProducer;
43
+ export declare function SandboxAuditProducerToJSON(json: any): SandboxAuditProducer;
44
+ export declare function SandboxAuditProducerToJSONTyped(value?: SandboxAuditProducer | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=SandboxAuditProducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxAuditProducer.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAuditProducer.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAG3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,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,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?: SandboxObservabilityOutcome;
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
- cursor: string;
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
- watermark: string;
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,OAAO,CAAC,EAAE,2BAA2B,CAAC;IACtC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC;AAID;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAYrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CAmBzH;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,CAoBxI"}
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 (!('cursor' in value) || value['cursor'] === undefined)
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 (!('watermark' in value) || value['watermark'] === undefined)
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
- 'outcome': json['outcome'] == null ? undefined : SandboxObservabilityOutcomeFromJSON(json['outcome']),
60
- 'cursor': json['cursor'],
61
- 'watermark': json['watermark'],
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
- 'cursor': value['cursor'],
83
- 'watermark': value['watermark'],
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;;;;CAIhC,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"}
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;;;;;;CAM9B,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"}
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) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Instance-level sandbox resource override. Sandbox0 exposes memory only and derives CPU from the platform memory-per-CPU ratio.
13
+ * Instance-level sandbox resource override. Sandbox0 exposes memory only and derives CPU from the platform memory-per-CPU ratio, with a minimum CPU limit of 150m.
14
14
  * @export
15
15
  * @interface SandboxResourceConfig
16
16
  */
@@ -176,6 +176,13 @@ export * from './SandboxAppServiceRouteCORS.js';
176
176
  export * from './SandboxAppServiceRouteRateLimit.js';
177
177
  export * from './SandboxAppServiceRuntime.js';
178
178
  export * from './SandboxAppServiceView.js';
179
+ export * from './SandboxAuditActor.js';
180
+ export * from './SandboxAuditActorKind.js';
181
+ export * from './SandboxAuditEventPhase.js';
182
+ export * from './SandboxAuditIntegrity.js';
183
+ export * from './SandboxAuditProducer.js';
184
+ export * from './SandboxAuditRequest.js';
185
+ export * from './SandboxAuditResource.js';
179
186
  export * from './SandboxConfig.js';
180
187
  export * from './SandboxFunction.js';
181
188
  export * from './SandboxFunctionSource.js';