sandbox0 0.7.4 → 0.7.6

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 (108) hide show
  1. package/dist/apispec/src/apis/AuditApi.d.ts +40 -0
  2. package/dist/apispec/src/apis/AuditApi.d.ts.map +1 -0
  3. package/dist/apispec/src/apis/AuditApi.js +79 -0
  4. package/dist/apispec/src/apis/ContextsApi.d.ts +1 -13
  5. package/dist/apispec/src/apis/ContextsApi.d.ts.map +1 -1
  6. package/dist/apispec/src/apis/ContextsApi.js +1 -38
  7. package/dist/apispec/src/apis/ObservabilityApi.d.ts +81 -0
  8. package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -0
  9. package/dist/apispec/src/apis/ObservabilityApi.js +194 -0
  10. package/dist/apispec/src/apis/SandboxRootfsApi.d.ts +2 -2
  11. package/dist/apispec/src/apis/SandboxRootfsApi.d.ts.map +1 -1
  12. package/dist/apispec/src/apis/SandboxRootfsApi.js +2 -2
  13. package/dist/apispec/src/apis/SandboxesApi.d.ts +0 -20
  14. package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
  15. package/dist/apispec/src/apis/SandboxesApi.js +0 -61
  16. package/dist/apispec/src/apis/index.d.ts +2 -0
  17. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  18. package/dist/apispec/src/apis/index.js +2 -0
  19. package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts +14 -0
  20. package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts.map +1 -1
  21. package/dist/apispec/src/models/CreateSandboxVolumeRequest.js +6 -0
  22. package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts +84 -0
  23. package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts.map +1 -0
  24. package/dist/apispec/src/models/CreateSandboxVolumeS3Config.js +65 -0
  25. package/dist/apispec/src/models/ForkSandboxConfig.d.ts +39 -0
  26. package/dist/apispec/src/models/ForkSandboxConfig.d.ts.map +1 -0
  27. package/dist/apispec/src/models/ForkSandboxConfig.js +43 -0
  28. package/dist/apispec/src/models/ForkSandboxRequest.d.ts +35 -0
  29. package/dist/apispec/src/models/ForkSandboxRequest.d.ts.map +1 -0
  30. package/dist/apispec/src/models/ForkSandboxRequest.js +42 -0
  31. package/dist/apispec/src/models/ObservabilityEventSource.d.ts +27 -0
  32. package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -0
  33. package/dist/apispec/src/models/ObservabilityEventSource.js +44 -0
  34. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts +104 -0
  35. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts.map +1 -0
  36. package/dist/apispec/src/models/SandboxObservabilityEvent.js +86 -0
  37. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts +27 -0
  38. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts.map +1 -0
  39. package/dist/apispec/src/models/SandboxObservabilityEventType.js +44 -0
  40. package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts +46 -0
  41. package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts.map +1 -0
  42. package/dist/apispec/src/models/SandboxObservabilityEventsResponse.js +48 -0
  43. package/dist/apispec/src/models/SandboxObservabilityLogEntry.d.ts +102 -0
  44. package/dist/apispec/src/models/SandboxObservabilityLogEntry.d.ts.map +1 -0
  45. package/dist/apispec/src/models/SandboxObservabilityLogEntry.js +80 -0
  46. package/dist/apispec/src/models/SandboxObservabilityLogStream.d.ts +27 -0
  47. package/dist/apispec/src/models/SandboxObservabilityLogStream.d.ts.map +1 -0
  48. package/dist/apispec/src/models/SandboxObservabilityLogStream.js +44 -0
  49. package/dist/apispec/src/models/SandboxObservabilityLogsResponse.d.ts +46 -0
  50. package/dist/apispec/src/models/SandboxObservabilityLogsResponse.d.ts.map +1 -0
  51. package/dist/apispec/src/models/SandboxObservabilityLogsResponse.js +48 -0
  52. package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts +101 -0
  53. package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts.map +1 -0
  54. package/dist/apispec/src/models/SandboxObservabilityMetricSample.js +81 -0
  55. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts +46 -0
  56. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts.map +1 -0
  57. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.js +48 -0
  58. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts +29 -0
  59. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts.map +1 -0
  60. package/dist/apispec/src/models/SandboxObservabilityOutcome.js +46 -0
  61. package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts +76 -0
  62. package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts.map +1 -0
  63. package/dist/apispec/src/models/SandboxObservabilityWatchLine.js +65 -0
  64. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts +25 -0
  65. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts.map +1 -0
  66. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.js +58 -0
  67. package/dist/apispec/src/models/SandboxVolume.d.ts +14 -0
  68. package/dist/apispec/src/models/SandboxVolume.d.ts.map +1 -1
  69. package/dist/apispec/src/models/SandboxVolume.js +8 -0
  70. package/dist/apispec/src/models/SandboxVolumeS3Config.d.ts +66 -0
  71. package/dist/apispec/src/models/SandboxVolumeS3Config.d.ts.map +1 -0
  72. package/dist/apispec/src/models/SandboxVolumeS3Config.js +61 -0
  73. package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.d.ts +40 -0
  74. package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.d.ts.map +1 -0
  75. package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.js +46 -0
  76. package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.d.ts +40 -0
  77. package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.d.ts.map +1 -0
  78. package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.js +46 -0
  79. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts +40 -0
  80. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts.map +1 -0
  81. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.js +46 -0
  82. package/dist/apispec/src/models/VolumeBackend.d.ts +26 -0
  83. package/dist/apispec/src/models/VolumeBackend.d.ts.map +1 -0
  84. package/dist/apispec/src/models/VolumeBackend.js +43 -0
  85. package/dist/apispec/src/models/index.d.ts +20 -2
  86. package/dist/apispec/src/models/index.d.ts.map +1 -1
  87. package/dist/apispec/src/models/index.js +20 -2
  88. package/dist/client.d.ts +12 -3
  89. package/dist/client.d.ts.map +1 -1
  90. package/dist/client.js +132 -53
  91. package/dist/index.d.ts +1 -1
  92. package/dist/index.d.ts.map +1 -1
  93. package/dist/index.js +1 -1
  94. package/dist/models.d.ts +38 -19
  95. package/dist/models.d.ts.map +1 -1
  96. package/dist/resources/sandboxes.d.ts +2 -2
  97. package/dist/resources/sandboxes.d.ts.map +1 -1
  98. package/dist/resources/sandboxes.js +1 -1
  99. package/dist/sandbox_contexts.d.ts +1 -2
  100. package/dist/sandbox_contexts.d.ts.map +1 -1
  101. package/dist/sandbox_contexts.js +0 -8
  102. package/dist/sandbox_observability.d.ts +14 -0
  103. package/dist/sandbox_observability.d.ts.map +1 -0
  104. package/dist/sandbox_observability.js +28 -0
  105. package/package.json +1 -1
  106. package/dist/sandbox_logs.d.ts +0 -8
  107. package/dist/sandbox_logs.d.ts.map +0 -1
  108. package/dist/sandbox_logs.js +0 -10
@@ -0,0 +1,46 @@
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 { SandboxObservabilityLogEntry } from './SandboxObservabilityLogEntry.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SandboxObservabilityLogsResponse
17
+ */
18
+ export interface SandboxObservabilityLogsResponse {
19
+ /**
20
+ *
21
+ * @type {Array<SandboxObservabilityLogEntry>}
22
+ * @memberof SandboxObservabilityLogsResponse
23
+ */
24
+ logs: Array<SandboxObservabilityLogEntry>;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SandboxObservabilityLogsResponse
29
+ */
30
+ nextCursor?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SandboxObservabilityLogsResponse
35
+ */
36
+ watermark?: string;
37
+ }
38
+ /**
39
+ * Check if a given object implements the SandboxObservabilityLogsResponse interface.
40
+ */
41
+ export declare function instanceOfSandboxObservabilityLogsResponse(value: object): value is SandboxObservabilityLogsResponse;
42
+ export declare function SandboxObservabilityLogsResponseFromJSON(json: any): SandboxObservabilityLogsResponse;
43
+ export declare function SandboxObservabilityLogsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityLogsResponse;
44
+ export declare function SandboxObservabilityLogsResponseToJSON(json: any): SandboxObservabilityLogsResponse;
45
+ export declare function SandboxObservabilityLogsResponseToJSONTyped(value?: SandboxObservabilityLogsResponse | null, ignoreDiscriminator?: boolean): any;
46
+ //# sourceMappingURL=SandboxObservabilityLogsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxObservabilityLogsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityLogsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAQnF;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAC1C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAGnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAUvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWtJ"}
@@ -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
+ import { SandboxObservabilityLogEntryFromJSON, SandboxObservabilityLogEntryToJSON, } from './SandboxObservabilityLogEntry.js';
15
+ /**
16
+ * Check if a given object implements the SandboxObservabilityLogsResponse interface.
17
+ */
18
+ export function instanceOfSandboxObservabilityLogsResponse(value) {
19
+ if (!('logs' in value) || value['logs'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SandboxObservabilityLogsResponseFromJSON(json) {
24
+ return SandboxObservabilityLogsResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SandboxObservabilityLogsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'logs': (json['logs'].map(SandboxObservabilityLogEntryFromJSON)),
32
+ 'nextCursor': json['next_cursor'] == null ? undefined : json['next_cursor'],
33
+ 'watermark': json['watermark'] == null ? undefined : json['watermark'],
34
+ };
35
+ }
36
+ export function SandboxObservabilityLogsResponseToJSON(json) {
37
+ return SandboxObservabilityLogsResponseToJSONTyped(json, false);
38
+ }
39
+ export function SandboxObservabilityLogsResponseToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'logs': (value['logs'].map(SandboxObservabilityLogEntryToJSON)),
45
+ 'next_cursor': value['nextCursor'],
46
+ 'watermark': value['watermark'],
47
+ };
48
+ }
@@ -0,0 +1,101 @@
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 SandboxObservabilityMetricSample
16
+ */
17
+ export interface SandboxObservabilityMetricSample {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SandboxObservabilityMetricSample
22
+ */
23
+ teamId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SandboxObservabilityMetricSample
28
+ */
29
+ sandboxId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SandboxObservabilityMetricSample
34
+ */
35
+ regionId: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SandboxObservabilityMetricSample
40
+ */
41
+ clusterId: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SandboxObservabilityMetricSample
46
+ */
47
+ contextId?: string;
48
+ /**
49
+ *
50
+ * @type {Date}
51
+ * @memberof SandboxObservabilityMetricSample
52
+ */
53
+ occurredAt: Date;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof SandboxObservabilityMetricSample
58
+ */
59
+ ingestedAt: Date;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof SandboxObservabilityMetricSample
64
+ */
65
+ name: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof SandboxObservabilityMetricSample
70
+ */
71
+ unit?: string;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof SandboxObservabilityMetricSample
76
+ */
77
+ value: number;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof SandboxObservabilityMetricSample
82
+ */
83
+ cursor: string;
84
+ /**
85
+ *
86
+ * @type {{ [key: string]: any; }}
87
+ * @memberof SandboxObservabilityMetricSample
88
+ */
89
+ attributes?: {
90
+ [key: string]: any;
91
+ };
92
+ }
93
+ /**
94
+ * Check if a given object implements the SandboxObservabilityMetricSample interface.
95
+ */
96
+ export declare function instanceOfSandboxObservabilityMetricSample(value: object): value is SandboxObservabilityMetricSample;
97
+ export declare function SandboxObservabilityMetricSampleFromJSON(json: any): SandboxObservabilityMetricSample;
98
+ export declare function SandboxObservabilityMetricSampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityMetricSample;
99
+ export declare function SandboxObservabilityMetricSampleToJSON(json: any): SandboxObservabilityMetricSample;
100
+ export declare function SandboxObservabilityMetricSampleToJSONTyped(value?: SandboxObservabilityMetricSample | null, ignoreDiscriminator?: boolean): any;
101
+ //# sourceMappingURL=SandboxObservabilityMetricSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxObservabilityMetricSample.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityMetricSample.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;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,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAWnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAmBvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoBtJ"}
@@ -0,0 +1,81 @@
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 SandboxObservabilityMetricSample interface.
16
+ */
17
+ export function instanceOfSandboxObservabilityMetricSample(value) {
18
+ if (!('teamId' in value) || value['teamId'] === undefined)
19
+ return false;
20
+ if (!('sandboxId' in value) || value['sandboxId'] === undefined)
21
+ return false;
22
+ if (!('regionId' in value) || value['regionId'] === undefined)
23
+ return false;
24
+ if (!('clusterId' in value) || value['clusterId'] === undefined)
25
+ return false;
26
+ if (!('occurredAt' in value) || value['occurredAt'] === undefined)
27
+ return false;
28
+ if (!('ingestedAt' in value) || value['ingestedAt'] === undefined)
29
+ return false;
30
+ if (!('name' in value) || value['name'] === undefined)
31
+ return false;
32
+ if (!('value' in value) || value['value'] === undefined)
33
+ return false;
34
+ if (!('cursor' in value) || value['cursor'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ export function SandboxObservabilityMetricSampleFromJSON(json) {
39
+ return SandboxObservabilityMetricSampleFromJSONTyped(json, false);
40
+ }
41
+ export function SandboxObservabilityMetricSampleFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'teamId': json['team_id'],
47
+ 'sandboxId': json['sandbox_id'],
48
+ 'regionId': json['region_id'],
49
+ 'clusterId': json['cluster_id'],
50
+ 'contextId': json['context_id'] == null ? undefined : json['context_id'],
51
+ 'occurredAt': (new Date(json['occurred_at'])),
52
+ 'ingestedAt': (new Date(json['ingested_at'])),
53
+ 'name': json['name'],
54
+ 'unit': json['unit'] == null ? undefined : json['unit'],
55
+ 'value': json['value'],
56
+ 'cursor': json['cursor'],
57
+ 'attributes': json['attributes'] == null ? undefined : json['attributes'],
58
+ };
59
+ }
60
+ export function SandboxObservabilityMetricSampleToJSON(json) {
61
+ return SandboxObservabilityMetricSampleToJSONTyped(json, false);
62
+ }
63
+ export function SandboxObservabilityMetricSampleToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'team_id': value['teamId'],
69
+ 'sandbox_id': value['sandboxId'],
70
+ 'region_id': value['regionId'],
71
+ 'cluster_id': value['clusterId'],
72
+ 'context_id': value['contextId'],
73
+ 'occurred_at': value['occurredAt'].toISOString(),
74
+ 'ingested_at': value['ingestedAt'].toISOString(),
75
+ 'name': value['name'],
76
+ 'unit': value['unit'],
77
+ 'value': value['value'],
78
+ 'cursor': value['cursor'],
79
+ 'attributes': value['attributes'],
80
+ };
81
+ }
@@ -0,0 +1,46 @@
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 { SandboxObservabilityMetricSample } from './SandboxObservabilityMetricSample.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SandboxObservabilityMetricsResponse
17
+ */
18
+ export interface SandboxObservabilityMetricsResponse {
19
+ /**
20
+ *
21
+ * @type {Array<SandboxObservabilityMetricSample>}
22
+ * @memberof SandboxObservabilityMetricsResponse
23
+ */
24
+ samples: Array<SandboxObservabilityMetricSample>;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SandboxObservabilityMetricsResponse
29
+ */
30
+ nextCursor?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SandboxObservabilityMetricsResponse
35
+ */
36
+ watermark?: string;
37
+ }
38
+ /**
39
+ * Check if a given object implements the SandboxObservabilityMetricsResponse interface.
40
+ */
41
+ export declare function instanceOfSandboxObservabilityMetricsResponse(value: object): value is SandboxObservabilityMetricsResponse;
42
+ export declare function SandboxObservabilityMetricsResponseFromJSON(json: any): SandboxObservabilityMetricsResponse;
43
+ export declare function SandboxObservabilityMetricsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityMetricsResponse;
44
+ export declare function SandboxObservabilityMetricsResponseToJSON(json: any): SandboxObservabilityMetricsResponse;
45
+ export declare function SandboxObservabilityMetricsResponseToJSONTyped(value?: SandboxObservabilityMetricsResponse | null, ignoreDiscriminator?: boolean): any;
46
+ //# sourceMappingURL=SandboxObservabilityMetricsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxObservabilityMetricsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityMetricsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACjD;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mCAAmC,CAGzH;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAU7I;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAExG;AAED,wBAAgB,8CAA8C,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5J"}
@@ -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
+ import { SandboxObservabilityMetricSampleFromJSON, SandboxObservabilityMetricSampleToJSON, } from './SandboxObservabilityMetricSample.js';
15
+ /**
16
+ * Check if a given object implements the SandboxObservabilityMetricsResponse interface.
17
+ */
18
+ export function instanceOfSandboxObservabilityMetricsResponse(value) {
19
+ if (!('samples' in value) || value['samples'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SandboxObservabilityMetricsResponseFromJSON(json) {
24
+ return SandboxObservabilityMetricsResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SandboxObservabilityMetricsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'samples': (json['samples'].map(SandboxObservabilityMetricSampleFromJSON)),
32
+ 'nextCursor': json['next_cursor'] == null ? undefined : json['next_cursor'],
33
+ 'watermark': json['watermark'] == null ? undefined : json['watermark'],
34
+ };
35
+ }
36
+ export function SandboxObservabilityMetricsResponseToJSON(json) {
37
+ return SandboxObservabilityMetricsResponseToJSONTyped(json, false);
38
+ }
39
+ export function SandboxObservabilityMetricsResponseToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'samples': (value['samples'].map(SandboxObservabilityMetricSampleToJSON)),
45
+ 'next_cursor': value['nextCursor'],
46
+ 'watermark': value['watermark'],
47
+ };
48
+ }
@@ -0,0 +1,29 @@
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 SandboxObservabilityOutcome: {
17
+ readonly Completed: "completed";
18
+ readonly Denied: "denied";
19
+ readonly Error: "error";
20
+ readonly Succeeded: "succeeded";
21
+ readonly Failed: "failed";
22
+ };
23
+ export type SandboxObservabilityOutcome = typeof SandboxObservabilityOutcome[keyof typeof SandboxObservabilityOutcome];
24
+ export declare function instanceOfSandboxObservabilityOutcome(value: any): boolean;
25
+ export declare function SandboxObservabilityOutcomeFromJSON(json: any): SandboxObservabilityOutcome;
26
+ export declare function SandboxObservabilityOutcomeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityOutcome;
27
+ export declare function SandboxObservabilityOutcomeToJSON(value?: SandboxObservabilityOutcome | null): any;
28
+ export declare function SandboxObservabilityOutcomeToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxObservabilityOutcome;
29
+ //# sourceMappingURL=SandboxObservabilityOutcome.d.ts.map
@@ -0,0 +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"}
@@ -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
+ /**
15
+ *
16
+ * @export
17
+ */
18
+ export const SandboxObservabilityOutcome = {
19
+ Completed: 'completed',
20
+ Denied: 'denied',
21
+ Error: 'error',
22
+ Succeeded: 'succeeded',
23
+ Failed: 'failed'
24
+ };
25
+ export function instanceOfSandboxObservabilityOutcome(value) {
26
+ for (const key in SandboxObservabilityOutcome) {
27
+ if (Object.prototype.hasOwnProperty.call(SandboxObservabilityOutcome, key)) {
28
+ if (SandboxObservabilityOutcome[key] === value) {
29
+ return true;
30
+ }
31
+ }
32
+ }
33
+ return false;
34
+ }
35
+ export function SandboxObservabilityOutcomeFromJSON(json) {
36
+ return SandboxObservabilityOutcomeFromJSONTyped(json, false);
37
+ }
38
+ export function SandboxObservabilityOutcomeFromJSONTyped(json, ignoreDiscriminator) {
39
+ return json;
40
+ }
41
+ export function SandboxObservabilityOutcomeToJSON(value) {
42
+ return value;
43
+ }
44
+ export function SandboxObservabilityOutcomeToJSONTyped(value, ignoreDiscriminator) {
45
+ return value;
46
+ }
@@ -0,0 +1,76 @@
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 { SandboxObservabilityWatchLineData } from './SandboxObservabilityWatchLineData.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SandboxObservabilityWatchLine
17
+ */
18
+ export interface SandboxObservabilityWatchLine {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SandboxObservabilityWatchLine
23
+ */
24
+ type: SandboxObservabilityWatchLineTypeEnum;
25
+ /**
26
+ *
27
+ * @type {SandboxObservabilityWatchLineData}
28
+ * @memberof SandboxObservabilityWatchLine
29
+ */
30
+ data?: SandboxObservabilityWatchLineData;
31
+ /**
32
+ * Watch resume cursor. Present on watermark lines.
33
+ * @type {string}
34
+ * @memberof SandboxObservabilityWatchLine
35
+ */
36
+ cursor?: string;
37
+ /**
38
+ * Backend watermark for the emitted batch.
39
+ * @type {string}
40
+ * @memberof SandboxObservabilityWatchLine
41
+ */
42
+ watermark?: string;
43
+ /**
44
+ * Heartbeat timestamp.
45
+ * @type {Date}
46
+ * @memberof SandboxObservabilityWatchLine
47
+ */
48
+ time?: Date;
49
+ /**
50
+ * Stream error message.
51
+ * @type {string}
52
+ * @memberof SandboxObservabilityWatchLine
53
+ */
54
+ error?: string;
55
+ }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const SandboxObservabilityWatchLineTypeEnum: {
60
+ readonly Event: "event";
61
+ readonly Log: "log";
62
+ readonly MetricSample: "metric_sample";
63
+ readonly Watermark: "watermark";
64
+ readonly Heartbeat: "heartbeat";
65
+ readonly Error: "error";
66
+ };
67
+ export type SandboxObservabilityWatchLineTypeEnum = typeof SandboxObservabilityWatchLineTypeEnum[keyof typeof SandboxObservabilityWatchLineTypeEnum];
68
+ /**
69
+ * Check if a given object implements the SandboxObservabilityWatchLine interface.
70
+ */
71
+ export declare function instanceOfSandboxObservabilityWatchLine(value: object): value is SandboxObservabilityWatchLine;
72
+ export declare function SandboxObservabilityWatchLineFromJSON(json: any): SandboxObservabilityWatchLine;
73
+ export declare function SandboxObservabilityWatchLineFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityWatchLine;
74
+ export declare function SandboxObservabilityWatchLineToJSON(json: any): SandboxObservabilityWatchLine;
75
+ export declare function SandboxObservabilityWatchLineToJSONTyped(value?: SandboxObservabilityWatchLine | null, ignoreDiscriminator?: boolean): any;
76
+ //# sourceMappingURL=SandboxObservabilityWatchLine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxObservabilityWatchLine.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityWatchLine.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAQ7F;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,IAAI,EAAE,qCAAqC,CAAC;IAC5C;;;;OAIG;IACH,IAAI,CAAC,EAAE,iCAAiC,CAAC;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD;;GAEG;AACH,eAAO,MAAM,qCAAqC;;;;;;;CAOxC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,OAAO,qCAAqC,CAAC,MAAM,OAAO,qCAAqC,CAAC,CAAC;AAGrJ;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAG7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAajI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAchJ"}
@@ -0,0 +1,65 @@
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 { SandboxObservabilityWatchLineDataFromJSON, SandboxObservabilityWatchLineDataToJSON, } from './SandboxObservabilityWatchLineData.js';
15
+ /**
16
+ * @export
17
+ */
18
+ export const SandboxObservabilityWatchLineTypeEnum = {
19
+ Event: 'event',
20
+ Log: 'log',
21
+ MetricSample: 'metric_sample',
22
+ Watermark: 'watermark',
23
+ Heartbeat: 'heartbeat',
24
+ Error: 'error'
25
+ };
26
+ /**
27
+ * Check if a given object implements the SandboxObservabilityWatchLine interface.
28
+ */
29
+ export function instanceOfSandboxObservabilityWatchLine(value) {
30
+ if (!('type' in value) || value['type'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function SandboxObservabilityWatchLineFromJSON(json) {
35
+ return SandboxObservabilityWatchLineFromJSONTyped(json, false);
36
+ }
37
+ export function SandboxObservabilityWatchLineFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'type': json['type'],
43
+ 'data': json['data'] == null ? undefined : SandboxObservabilityWatchLineDataFromJSON(json['data']),
44
+ 'cursor': json['cursor'] == null ? undefined : json['cursor'],
45
+ 'watermark': json['watermark'] == null ? undefined : json['watermark'],
46
+ 'time': json['time'] == null ? undefined : (new Date(json['time'])),
47
+ 'error': json['error'] == null ? undefined : json['error'],
48
+ };
49
+ }
50
+ export function SandboxObservabilityWatchLineToJSON(json) {
51
+ return SandboxObservabilityWatchLineToJSONTyped(json, false);
52
+ }
53
+ export function SandboxObservabilityWatchLineToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'type': value['type'],
59
+ 'data': SandboxObservabilityWatchLineDataToJSON(value['data']),
60
+ 'cursor': value['cursor'],
61
+ 'watermark': value['watermark'],
62
+ 'time': value['time'] == null ? value['time'] : value['time'].toISOString(),
63
+ 'error': value['error'],
64
+ };
65
+ }
@@ -0,0 +1,25 @@
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 { SandboxObservabilityEvent } from './SandboxObservabilityEvent.js';
13
+ import type { SandboxObservabilityLogEntry } from './SandboxObservabilityLogEntry.js';
14
+ import type { SandboxObservabilityMetricSample } from './SandboxObservabilityMetricSample.js';
15
+ /**
16
+ * @type SandboxObservabilityWatchLineData
17
+ *
18
+ * @export
19
+ */
20
+ export type SandboxObservabilityWatchLineData = SandboxObservabilityEvent | SandboxObservabilityLogEntry | SandboxObservabilityMetricSample;
21
+ export declare function SandboxObservabilityWatchLineDataFromJSON(json: any): SandboxObservabilityWatchLineData;
22
+ export declare function SandboxObservabilityWatchLineDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityWatchLineData;
23
+ export declare function SandboxObservabilityWatchLineDataToJSON(json: any): any;
24
+ export declare function SandboxObservabilityWatchLineDataToJSONTyped(value?: SandboxObservabilityWatchLineData | null, ignoreDiscriminator?: boolean): any;
25
+ //# sourceMappingURL=SandboxObservabilityWatchLineData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxObservabilityWatchLineData.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityWatchLineData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAO7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAOnF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,GAAG,4BAA4B,GAAG,gCAAgC,CAAC;AAE5I,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEtG;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CAiBzI;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAEtE;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBxJ"}