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
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
- import type { ObservabilityEventSource, SandboxObservabilityEventType, SandboxObservabilityLogStream, SandboxObservabilityOutcome, SandboxRuntimeMetricStatistic, SuccessSandboxObservabilityEventsResponse, SuccessSandboxObservabilityLogsResponse, SuccessSandboxRuntimeMetricsCatalogResponse, SuccessSandboxRuntimeMetricsResponse } from '../models/index.js';
13
+ import type { ObservabilityEventSource, SandboxAuditActorKind, SandboxObservabilityEventType, SandboxObservabilityLogStream, SandboxObservabilityOutcome, SandboxRuntimeMetricStatistic, SuccessSandboxObservabilityEventsResponse, SuccessSandboxObservabilityLogsResponse, SuccessSandboxRuntimeMetricsCatalogResponse, SuccessSandboxRuntimeMetricsResponse } from '../models/index.js';
14
14
  export interface ApiV1SandboxesIdObservabilityEventsGetRequest {
15
15
  id: string;
16
16
  startTime?: Date;
@@ -21,6 +21,12 @@ export interface ApiV1SandboxesIdObservabilityEventsGetRequest {
21
21
  source?: ObservabilityEventSource;
22
22
  eventType?: SandboxObservabilityEventType;
23
23
  outcome?: SandboxObservabilityOutcome;
24
+ actorKind?: SandboxAuditActorKind;
25
+ actorId?: string;
26
+ action?: string;
27
+ resourceType?: string;
28
+ operationId?: string;
29
+ eventId?: string;
24
30
  }
25
31
  export interface ApiV1SandboxesIdObservabilityLogsGetRequest {
26
32
  id: string;
@@ -49,13 +55,13 @@ export interface GetSandboxRuntimeMetricsCatalogRequest {
49
55
  */
50
56
  export declare class ObservabilityApi extends runtime.BaseAPI {
51
57
  /**
52
- * Queries the asynchronous per-sandbox observability projection for lifecycle, network audit, and runtime stats events. This endpoint does not expose backend SQL and reads tables that are separate from the metering usage ledger.
53
- * Query historical sandbox observability events
58
+ * Queries canonical signed per-sandbox audit facts from ClickHouse. Every returned event includes an inline signature verification status, while event-ID payload conflicts are reported independently. Access requires the enterprise sandbox_audit feature and the sandboxaudit:read permission.
59
+ * Query canonical signed sandbox observability events
54
60
  */
55
61
  apiV1SandboxesIdObservabilityEventsGetRaw(requestParameters: ApiV1SandboxesIdObservabilityEventsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessSandboxObservabilityEventsResponse>>;
56
62
  /**
57
- * Queries the asynchronous per-sandbox observability projection for lifecycle, network audit, and runtime stats events. This endpoint does not expose backend SQL and reads tables that are separate from the metering usage ledger.
58
- * Query historical sandbox observability events
63
+ * Queries canonical signed per-sandbox audit facts from ClickHouse. Every returned event includes an inline signature verification status, while event-ID payload conflicts are reported independently. Access requires the enterprise sandbox_audit feature and the sandboxaudit:read permission.
64
+ * Query canonical signed sandbox observability events
59
65
  */
60
66
  apiV1SandboxesIdObservabilityEventsGet(requestParameters: ApiV1SandboxesIdObservabilityEventsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessSandboxObservabilityEventsResponse>;
61
67
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ObservabilityApi.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/ObservabilityApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,wBAAwB,EACxB,6BAA6B,EAC7B,6BAA6B,EAC7B,2BAA2B,EAE3B,6BAA6B,EAC7B,yCAAyC,EACzC,uCAAuC,EACvC,2CAA2C,EAC3C,oCAAoC,EACrC,MAAM,iBAAiB,CAAC;AA0BzB,MAAM,WAAW,6CAA6C;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,wBAAwB,CAAC;IAClC,SAAS,CAAC,EAAE,6BAA6B,CAAC;IAC1C,OAAO,CAAC,EAAE,2BAA2B,CAAC;CACzC;AAED,MAAM,WAAW,2CAA2C;IACxD,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CA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AE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,yCAAyC,CAAC;IAK9N;;;OAGG;IACG,uCAAuC,CAAC,iBAAiB,EAAE,2CAA2C,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,uCAAuC,CAAC,CAAC;IA8DhP;;;OAGG;IACG,oCAAoC,CAAC,iBAAiB,EAAE,2CAA2C,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,uCAAuC,CAAC;IAKxN;;;OAGG;IACG,2BAA2B,CAAC,iBAAiB,EAAE,+BAA+B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,oCAAoC,CAAC,CAAC;IA0DrN;;;OAGG;IACG,wBAAwB,CAAC,iBAAiB,EAAE,+BAA+B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,oCAAoC,CAAC;IAK7L;;;OAGG;IACG,kCAAkC,CAAC,iBAAiB,EAAE,sCAAsC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,2CAA2C,CAAC,CAAC;IAkC1O;;;OAGG;IACG,+BAA+B,CAAC,iBAAiB,EAAE,sCAAsC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,2CAA2C,CAAC;CAKrN"}
@@ -18,8 +18,8 @@ import { SuccessSandboxObservabilityEventsResponseFromJSON, SuccessSandboxObserv
18
18
  */
19
19
  export class ObservabilityApi extends runtime.BaseAPI {
20
20
  /**
21
- * Queries the asynchronous per-sandbox observability projection for lifecycle, network audit, and runtime stats events. This endpoint does not expose backend SQL and reads tables that are separate from the metering usage ledger.
22
- * Query historical sandbox observability events
21
+ * Queries canonical signed per-sandbox audit facts from ClickHouse. Every returned event includes an inline signature verification status, while event-ID payload conflicts are reported independently. Access requires the enterprise sandbox_audit feature and the sandboxaudit:read permission.
22
+ * Query canonical signed sandbox observability events
23
23
  */
24
24
  async apiV1SandboxesIdObservabilityEventsGetRaw(requestParameters, initOverrides) {
25
25
  if (requestParameters['id'] == null) {
@@ -50,6 +50,24 @@ export class ObservabilityApi extends runtime.BaseAPI {
50
50
  if (requestParameters['outcome'] != null) {
51
51
  queryParameters['outcome'] = requestParameters['outcome'];
52
52
  }
53
+ if (requestParameters['actorKind'] != null) {
54
+ queryParameters['actor_kind'] = requestParameters['actorKind'];
55
+ }
56
+ if (requestParameters['actorId'] != null) {
57
+ queryParameters['actor_id'] = requestParameters['actorId'];
58
+ }
59
+ if (requestParameters['action'] != null) {
60
+ queryParameters['action'] = requestParameters['action'];
61
+ }
62
+ if (requestParameters['resourceType'] != null) {
63
+ queryParameters['resource_type'] = requestParameters['resourceType'];
64
+ }
65
+ if (requestParameters['operationId'] != null) {
66
+ queryParameters['operation_id'] = requestParameters['operationId'];
67
+ }
68
+ if (requestParameters['eventId'] != null) {
69
+ queryParameters['event_id'] = requestParameters['eventId'];
70
+ }
53
71
  const headerParameters = {};
54
72
  if (this.configuration && this.configuration.accessToken) {
55
73
  const token = this.configuration.accessToken;
@@ -69,8 +87,8 @@ export class ObservabilityApi extends runtime.BaseAPI {
69
87
  return new runtime.JSONApiResponse(response, (jsonValue) => SuccessSandboxObservabilityEventsResponseFromJSON(jsonValue));
70
88
  }
71
89
  /**
72
- * Queries the asynchronous per-sandbox observability projection for lifecycle, network audit, and runtime stats events. This endpoint does not expose backend SQL and reads tables that are separate from the metering usage ledger.
73
- * Query historical sandbox observability events
90
+ * Queries canonical signed per-sandbox audit facts from ClickHouse. Every returned event includes an inline signature verification status, while event-ID payload conflicts are reported independently. Access requires the enterprise sandbox_audit feature and the sandboxaudit:read permission.
91
+ * Query canonical signed sandbox observability events
74
92
  */
75
93
  async apiV1SandboxesIdObservabilityEventsGet(requestParameters, initOverrides) {
76
94
  const response = await this.apiV1SandboxesIdObservabilityEventsGetRaw(requestParameters, initOverrides);
@@ -14,9 +14,12 @@
14
14
  * @export
15
15
  */
16
16
  export declare const ObservabilityEventSource: {
17
+ readonly ClusterGateway: "cluster_gateway";
17
18
  readonly Manager: "manager";
18
19
  readonly Netd: "netd";
19
20
  readonly Procd: "procd";
21
+ readonly Ctld: "ctld";
22
+ readonly StorageProxy: "storage_proxy";
20
23
  };
21
24
  export type ObservabilityEventSource = typeof ObservabilityEventSource[keyof typeof ObservabilityEventSource];
22
25
  export declare function instanceOfObservabilityEventSource(value: any): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ObservabilityEventSource.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ObservabilityEventSource.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAE3F;AAED,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEtH"}
1
+ {"version":3,"file":"ObservabilityEventSource.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ObservabilityEventSource.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;CAO3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAE3F;AAED,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEtH"}
@@ -16,9 +16,12 @@
16
16
  * @export
17
17
  */
18
18
  export const ObservabilityEventSource = {
19
+ ClusterGateway: 'cluster_gateway',
19
20
  Manager: 'manager',
20
21
  Netd: 'netd',
21
- Procd: 'procd'
22
+ Procd: 'procd',
23
+ Ctld: 'ctld',
24
+ StorageProxy: 'storage_proxy'
22
25
  };
23
26
  export function instanceOfObservabilityEventSource(value) {
24
27
  for (const key in ObservabilityEventSource) {
@@ -16,17 +16,11 @@
16
16
  */
17
17
  export interface ResourceQuota {
18
18
  /**
19
- *
19
+ * Memory limit used by default when a sandbox claim does not provide a memory override. Sandbox0 derives the internal CPU limit from platform configuration.
20
20
  * @type {string}
21
21
  * @memberof ResourceQuota
22
22
  */
23
- cpu?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ResourceQuota
28
- */
29
- memory?: string;
23
+ memory: string;
30
24
  /**
31
25
  * Ephemeral storage limit for the sandbox writable layer and container logs. Defaults to 8Gi when omitted.
32
26
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"ResourceQuota.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ResourceQuota.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAUjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhH"}
1
+ {"version":3,"file":"ResourceQuota.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ResourceQuota.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAG7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CASjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhH"}
@@ -15,6 +15,8 @@
15
15
  * Check if a given object implements the ResourceQuota interface.
16
16
  */
17
17
  export function instanceOfResourceQuota(value) {
18
+ if (!('memory' in value) || value['memory'] === undefined)
19
+ return false;
18
20
  return true;
19
21
  }
20
22
  export function ResourceQuotaFromJSON(json) {
@@ -25,8 +27,7 @@ export function ResourceQuotaFromJSONTyped(json, ignoreDiscriminator) {
25
27
  return json;
26
28
  }
27
29
  return {
28
- 'cpu': json['cpu'] == null ? undefined : json['cpu'],
29
- 'memory': json['memory'] == null ? undefined : json['memory'],
30
+ 'memory': json['memory'],
30
31
  'ephemeralStorage': json['ephemeralStorage'] == null ? undefined : json['ephemeralStorage'],
31
32
  };
32
33
  }
@@ -38,7 +39,6 @@ export function ResourceQuotaToJSONTyped(value, ignoreDiscriminator = false) {
38
39
  return value;
39
40
  }
40
41
  return {
41
- 'cpu': value['cpu'],
42
42
  'memory': value['memory'],
43
43
  'ephemeralStorage': value['ephemeralStorage'],
44
44
  };
@@ -0,0 +1,58 @@
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 { SandboxAuditActorKind } from './SandboxAuditActorKind.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SandboxAuditActor
17
+ */
18
+ export interface SandboxAuditActor {
19
+ /**
20
+ *
21
+ * @type {SandboxAuditActorKind}
22
+ * @memberof SandboxAuditActor
23
+ */
24
+ kind: SandboxAuditActorKind;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SandboxAuditActor
29
+ */
30
+ id?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SandboxAuditActor
35
+ */
36
+ userId?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof SandboxAuditActor
41
+ */
42
+ apiKeyId?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof SandboxAuditActor
47
+ */
48
+ authMethod?: string;
49
+ }
50
+ /**
51
+ * Check if a given object implements the SandboxAuditActor interface.
52
+ */
53
+ export declare function instanceOfSandboxAuditActor(value: object): value is SandboxAuditActor;
54
+ export declare function SandboxAuditActorFromJSON(json: any): SandboxAuditActor;
55
+ export declare function SandboxAuditActorFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAuditActor;
56
+ export declare function SandboxAuditActorToJSON(json: any): SandboxAuditActor;
57
+ export declare function SandboxAuditActorToJSONTyped(value?: SandboxAuditActor | null, ignoreDiscriminator?: boolean): any;
58
+ //# sourceMappingURL=SandboxAuditActor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxAuditActor.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAuditActor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,EAAE,qBAAqB,CAAC;IAC5B;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAID;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAGrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAYzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAaxH"}
@@ -0,0 +1,52 @@
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 { SandboxAuditActorKindFromJSON, SandboxAuditActorKindToJSON, } from './SandboxAuditActorKind.js';
15
+ /**
16
+ * Check if a given object implements the SandboxAuditActor interface.
17
+ */
18
+ export function instanceOfSandboxAuditActor(value) {
19
+ if (!('kind' in value) || value['kind'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SandboxAuditActorFromJSON(json) {
24
+ return SandboxAuditActorFromJSONTyped(json, false);
25
+ }
26
+ export function SandboxAuditActorFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'kind': SandboxAuditActorKindFromJSON(json['kind']),
32
+ 'id': json['id'] == null ? undefined : json['id'],
33
+ 'userId': json['user_id'] == null ? undefined : json['user_id'],
34
+ 'apiKeyId': json['api_key_id'] == null ? undefined : json['api_key_id'],
35
+ 'authMethod': json['auth_method'] == null ? undefined : json['auth_method'],
36
+ };
37
+ }
38
+ export function SandboxAuditActorToJSON(json) {
39
+ return SandboxAuditActorToJSONTyped(json, false);
40
+ }
41
+ export function SandboxAuditActorToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'kind': SandboxAuditActorKindToJSON(value['kind']),
47
+ 'id': value['id'],
48
+ 'user_id': value['userId'],
49
+ 'api_key_id': value['apiKeyId'],
50
+ 'auth_method': value['authMethod'],
51
+ };
52
+ }
@@ -0,0 +1,31 @@
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 SandboxAuditActorKind: {
17
+ readonly Human: "human";
18
+ readonly ApiKey: "api_key";
19
+ readonly Service: "service";
20
+ readonly SandboxWorkload: "sandbox_workload";
21
+ readonly SshUser: "ssh_user";
22
+ readonly ExposureCredential: "exposure_credential";
23
+ readonly Anonymous: "anonymous";
24
+ };
25
+ export type SandboxAuditActorKind = typeof SandboxAuditActorKind[keyof typeof SandboxAuditActorKind];
26
+ export declare function instanceOfSandboxAuditActorKind(value: any): boolean;
27
+ export declare function SandboxAuditActorKindFromJSON(json: any): SandboxAuditActorKind;
28
+ export declare function SandboxAuditActorKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAuditActorKind;
29
+ export declare function SandboxAuditActorKindToJSON(value?: SandboxAuditActorKind | null): any;
30
+ export declare function SandboxAuditActorKindToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxAuditActorKind;
31
+ //# sourceMappingURL=SandboxAuditActorKind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxAuditActorKind.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAuditActorKind.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;CAQxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAGrG,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASnE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAEjH;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,GAAG,GAAG,CAErF;AAED,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAEhH"}
@@ -0,0 +1,48 @@
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 SandboxAuditActorKind = {
19
+ Human: 'human',
20
+ ApiKey: 'api_key',
21
+ Service: 'service',
22
+ SandboxWorkload: 'sandbox_workload',
23
+ SshUser: 'ssh_user',
24
+ ExposureCredential: 'exposure_credential',
25
+ Anonymous: 'anonymous'
26
+ };
27
+ export function instanceOfSandboxAuditActorKind(value) {
28
+ for (const key in SandboxAuditActorKind) {
29
+ if (Object.prototype.hasOwnProperty.call(SandboxAuditActorKind, key)) {
30
+ if (SandboxAuditActorKind[key] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+ export function SandboxAuditActorKindFromJSON(json) {
38
+ return SandboxAuditActorKindFromJSONTyped(json, false);
39
+ }
40
+ export function SandboxAuditActorKindFromJSONTyped(json, ignoreDiscriminator) {
41
+ return json;
42
+ }
43
+ export function SandboxAuditActorKindToJSON(value) {
44
+ return value;
45
+ }
46
+ export function SandboxAuditActorKindToJSONTyped(value, ignoreDiscriminator) {
47
+ return value;
48
+ }
@@ -0,0 +1,27 @@
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 SandboxAuditEventPhase: {
17
+ readonly Attempt: "attempt";
18
+ readonly Result: "result";
19
+ readonly Effect: "effect";
20
+ };
21
+ export type SandboxAuditEventPhase = typeof SandboxAuditEventPhase[keyof typeof SandboxAuditEventPhase];
22
+ export declare function instanceOfSandboxAuditEventPhase(value: any): boolean;
23
+ export declare function SandboxAuditEventPhaseFromJSON(json: any): SandboxAuditEventPhase;
24
+ export declare function SandboxAuditEventPhaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAuditEventPhase;
25
+ export declare function SandboxAuditEventPhaseToJSON(value?: SandboxAuditEventPhase | null): any;
26
+ export declare function SandboxAuditEventPhaseToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxAuditEventPhase;
27
+ //# sourceMappingURL=SandboxAuditEventPhase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxAuditEventPhase.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAuditEventPhase.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAGxG,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAEnH;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,GAAG,GAAG,CAEvF;AAED,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAElH"}
@@ -0,0 +1,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
+ /**
15
+ *
16
+ * @export
17
+ */
18
+ export const SandboxAuditEventPhase = {
19
+ Attempt: 'attempt',
20
+ Result: 'result',
21
+ Effect: 'effect'
22
+ };
23
+ export function instanceOfSandboxAuditEventPhase(value) {
24
+ for (const key in SandboxAuditEventPhase) {
25
+ if (Object.prototype.hasOwnProperty.call(SandboxAuditEventPhase, key)) {
26
+ if (SandboxAuditEventPhase[key] === value) {
27
+ return true;
28
+ }
29
+ }
30
+ }
31
+ return false;
32
+ }
33
+ export function SandboxAuditEventPhaseFromJSON(json) {
34
+ return SandboxAuditEventPhaseFromJSONTyped(json, false);
35
+ }
36
+ export function SandboxAuditEventPhaseFromJSONTyped(json, ignoreDiscriminator) {
37
+ return json;
38
+ }
39
+ export function SandboxAuditEventPhaseToJSON(value) {
40
+ return value;
41
+ }
42
+ export function SandboxAuditEventPhaseToJSONTyped(value, ignoreDiscriminator) {
43
+ return value;
44
+ }
@@ -0,0 +1,79 @@
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 SandboxAuditIntegrity
16
+ */
17
+ export interface SandboxAuditIntegrity {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SandboxAuditIntegrity
22
+ */
23
+ algorithm: SandboxAuditIntegrityAlgorithmEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SandboxAuditIntegrity
28
+ */
29
+ payloadHash: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SandboxAuditIntegrity
34
+ */
35
+ signature: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SandboxAuditIntegrity
40
+ */
41
+ signingKeyId: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SandboxAuditIntegrity
46
+ */
47
+ signatureStatus: SandboxAuditIntegritySignatureStatusEnum;
48
+ /**
49
+ * True when the query observed the same event ID with a different canonical payload hash.
50
+ * @type {boolean}
51
+ * @memberof SandboxAuditIntegrity
52
+ */
53
+ eventIdConflict?: boolean;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const SandboxAuditIntegrityAlgorithmEnum: {
59
+ readonly Ed25519Sha256V1: "ed25519-sha256-v1";
60
+ };
61
+ export type SandboxAuditIntegrityAlgorithmEnum = typeof SandboxAuditIntegrityAlgorithmEnum[keyof typeof SandboxAuditIntegrityAlgorithmEnum];
62
+ /**
63
+ * @export
64
+ */
65
+ export declare const SandboxAuditIntegritySignatureStatusEnum: {
66
+ readonly Verified: "verified";
67
+ readonly Invalid: "invalid";
68
+ readonly Unavailable: "unavailable";
69
+ };
70
+ export type SandboxAuditIntegritySignatureStatusEnum = typeof SandboxAuditIntegritySignatureStatusEnum[keyof typeof SandboxAuditIntegritySignatureStatusEnum];
71
+ /**
72
+ * Check if a given object implements the SandboxAuditIntegrity interface.
73
+ */
74
+ export declare function instanceOfSandboxAuditIntegrity(value: object): value is SandboxAuditIntegrity;
75
+ export declare function SandboxAuditIntegrityFromJSON(json: any): SandboxAuditIntegrity;
76
+ export declare function SandboxAuditIntegrityFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxAuditIntegrity;
77
+ export declare function SandboxAuditIntegrityToJSON(json: any): SandboxAuditIntegrity;
78
+ export declare function SandboxAuditIntegrityToJSONTyped(value?: SandboxAuditIntegrity | null, ignoreDiscriminator?: boolean): any;
79
+ //# sourceMappingURL=SandboxAuditIntegrity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxAuditIntegrity.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAuditIntegrity.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,EAAE,kCAAkC,CAAC;IAC9C;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,eAAe,EAAE,wCAAwC,CAAC;IAC1D;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAGD;;GAEG;AACH,eAAO,MAAM,kCAAkC;;CAErC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,OAAO,kCAAkC,CAAC,MAAM,OAAO,kCAAkC,CAAC,CAAC;AAE5I;;GAEG;AACH,eAAO,MAAM,wCAAwC;;;;CAI3C,CAAC;AACX,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAC,MAAM,OAAO,wCAAwC,CAAC,CAAC;AAG9J;;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,CAajH;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,CAchI"}
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const SandboxAuditIntegrityAlgorithmEnum = {
18
+ Ed25519Sha256V1: 'ed25519-sha256-v1'
19
+ };
20
+ /**
21
+ * @export
22
+ */
23
+ export const SandboxAuditIntegritySignatureStatusEnum = {
24
+ Verified: 'verified',
25
+ Invalid: 'invalid',
26
+ Unavailable: 'unavailable'
27
+ };
28
+ /**
29
+ * Check if a given object implements the SandboxAuditIntegrity interface.
30
+ */
31
+ export function instanceOfSandboxAuditIntegrity(value) {
32
+ if (!('algorithm' in value) || value['algorithm'] === undefined)
33
+ return false;
34
+ if (!('payloadHash' in value) || value['payloadHash'] === undefined)
35
+ return false;
36
+ if (!('signature' in value) || value['signature'] === undefined)
37
+ return false;
38
+ if (!('signingKeyId' in value) || value['signingKeyId'] === undefined)
39
+ return false;
40
+ if (!('signatureStatus' in value) || value['signatureStatus'] === undefined)
41
+ return false;
42
+ return true;
43
+ }
44
+ export function SandboxAuditIntegrityFromJSON(json) {
45
+ return SandboxAuditIntegrityFromJSONTyped(json, false);
46
+ }
47
+ export function SandboxAuditIntegrityFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'algorithm': json['algorithm'],
53
+ 'payloadHash': json['payload_hash'],
54
+ 'signature': json['signature'],
55
+ 'signingKeyId': json['signing_key_id'],
56
+ 'signatureStatus': json['signature_status'],
57
+ 'eventIdConflict': json['event_id_conflict'] == null ? undefined : json['event_id_conflict'],
58
+ };
59
+ }
60
+ export function SandboxAuditIntegrityToJSON(json) {
61
+ return SandboxAuditIntegrityToJSONTyped(json, false);
62
+ }
63
+ export function SandboxAuditIntegrityToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'algorithm': value['algorithm'],
69
+ 'payload_hash': value['payloadHash'],
70
+ 'signature': value['signature'],
71
+ 'signing_key_id': value['signingKeyId'],
72
+ 'signature_status': value['signatureStatus'],
73
+ 'event_id_conflict': value['eventIdConflict'],
74
+ };
75
+ }