sandbox0 0.7.4 → 0.7.5

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 (93) 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/ForkSandboxConfig.d.ts +39 -0
  20. package/dist/apispec/src/models/ForkSandboxConfig.d.ts.map +1 -0
  21. package/dist/apispec/src/models/ForkSandboxConfig.js +43 -0
  22. package/dist/apispec/src/models/ForkSandboxRequest.d.ts +35 -0
  23. package/dist/apispec/src/models/ForkSandboxRequest.d.ts.map +1 -0
  24. package/dist/apispec/src/models/ForkSandboxRequest.js +42 -0
  25. package/dist/apispec/src/models/ObservabilityEventSource.d.ts +27 -0
  26. package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -0
  27. package/dist/apispec/src/models/ObservabilityEventSource.js +44 -0
  28. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts +104 -0
  29. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts.map +1 -0
  30. package/dist/apispec/src/models/SandboxObservabilityEvent.js +86 -0
  31. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts +27 -0
  32. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts.map +1 -0
  33. package/dist/apispec/src/models/SandboxObservabilityEventType.js +44 -0
  34. package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts +46 -0
  35. package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts.map +1 -0
  36. package/dist/apispec/src/models/SandboxObservabilityEventsResponse.js +48 -0
  37. package/dist/apispec/src/models/SandboxObservabilityLogEntry.d.ts +102 -0
  38. package/dist/apispec/src/models/SandboxObservabilityLogEntry.d.ts.map +1 -0
  39. package/dist/apispec/src/models/SandboxObservabilityLogEntry.js +80 -0
  40. package/dist/apispec/src/models/SandboxObservabilityLogStream.d.ts +27 -0
  41. package/dist/apispec/src/models/SandboxObservabilityLogStream.d.ts.map +1 -0
  42. package/dist/apispec/src/models/SandboxObservabilityLogStream.js +44 -0
  43. package/dist/apispec/src/models/SandboxObservabilityLogsResponse.d.ts +46 -0
  44. package/dist/apispec/src/models/SandboxObservabilityLogsResponse.d.ts.map +1 -0
  45. package/dist/apispec/src/models/SandboxObservabilityLogsResponse.js +48 -0
  46. package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts +101 -0
  47. package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts.map +1 -0
  48. package/dist/apispec/src/models/SandboxObservabilityMetricSample.js +81 -0
  49. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts +46 -0
  50. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts.map +1 -0
  51. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.js +48 -0
  52. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts +29 -0
  53. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts.map +1 -0
  54. package/dist/apispec/src/models/SandboxObservabilityOutcome.js +46 -0
  55. package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts +76 -0
  56. package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts.map +1 -0
  57. package/dist/apispec/src/models/SandboxObservabilityWatchLine.js +65 -0
  58. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts +25 -0
  59. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts.map +1 -0
  60. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.js +58 -0
  61. package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.d.ts +40 -0
  62. package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.d.ts.map +1 -0
  63. package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.js +46 -0
  64. package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.d.ts +40 -0
  65. package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.d.ts.map +1 -0
  66. package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.js +46 -0
  67. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts +40 -0
  68. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts.map +1 -0
  69. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.js +46 -0
  70. package/dist/apispec/src/models/index.d.ts +17 -2
  71. package/dist/apispec/src/models/index.d.ts.map +1 -1
  72. package/dist/apispec/src/models/index.js +17 -2
  73. package/dist/client.d.ts +12 -3
  74. package/dist/client.d.ts.map +1 -1
  75. package/dist/client.js +132 -53
  76. package/dist/index.d.ts +1 -1
  77. package/dist/index.d.ts.map +1 -1
  78. package/dist/index.js +1 -1
  79. package/dist/models.d.ts +38 -19
  80. package/dist/models.d.ts.map +1 -1
  81. package/dist/resources/sandboxes.d.ts +2 -2
  82. package/dist/resources/sandboxes.d.ts.map +1 -1
  83. package/dist/resources/sandboxes.js +1 -1
  84. package/dist/sandbox_contexts.d.ts +1 -2
  85. package/dist/sandbox_contexts.d.ts.map +1 -1
  86. package/dist/sandbox_contexts.js +0 -8
  87. package/dist/sandbox_observability.d.ts +14 -0
  88. package/dist/sandbox_observability.d.ts.map +1 -0
  89. package/dist/sandbox_observability.js +28 -0
  90. package/package.json +1 -1
  91. package/dist/sandbox_logs.d.ts +0 -8
  92. package/dist/sandbox_logs.d.ts.map +0 -1
  93. 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 { SandboxObservabilityEvent } from './SandboxObservabilityEvent.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SandboxObservabilityEventsResponse
17
+ */
18
+ export interface SandboxObservabilityEventsResponse {
19
+ /**
20
+ *
21
+ * @type {Array<SandboxObservabilityEvent>}
22
+ * @memberof SandboxObservabilityEventsResponse
23
+ */
24
+ events: Array<SandboxObservabilityEvent>;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SandboxObservabilityEventsResponse
29
+ */
30
+ nextCursor?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SandboxObservabilityEventsResponse
35
+ */
36
+ watermark?: string;
37
+ }
38
+ /**
39
+ * Check if a given object implements the SandboxObservabilityEventsResponse interface.
40
+ */
41
+ export declare function instanceOfSandboxObservabilityEventsResponse(value: object): value is SandboxObservabilityEventsResponse;
42
+ export declare function SandboxObservabilityEventsResponseFromJSON(json: any): SandboxObservabilityEventsResponse;
43
+ export declare function SandboxObservabilityEventsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityEventsResponse;
44
+ export declare function SandboxObservabilityEventsResponseToJSON(json: any): SandboxObservabilityEventsResponse;
45
+ export declare function SandboxObservabilityEventsResponseToJSONTyped(value?: SandboxObservabilityEventsResponse | null, ignoreDiscriminator?: boolean): any;
46
+ //# sourceMappingURL=SandboxObservabilityEventsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxObservabilityEventsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityEventsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAQ7E;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,4CAA4C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kCAAkC,CAGvH;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAExG;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kCAAkC,CAU3I;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAEtG;AAED,wBAAgB,6CAA6C,CAAC,KAAK,CAAC,EAAE,kCAAkC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1J"}
@@ -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 { SandboxObservabilityEventFromJSON, SandboxObservabilityEventToJSON, } from './SandboxObservabilityEvent.js';
15
+ /**
16
+ * Check if a given object implements the SandboxObservabilityEventsResponse interface.
17
+ */
18
+ export function instanceOfSandboxObservabilityEventsResponse(value) {
19
+ if (!('events' in value) || value['events'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SandboxObservabilityEventsResponseFromJSON(json) {
24
+ return SandboxObservabilityEventsResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SandboxObservabilityEventsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'events': (json['events'].map(SandboxObservabilityEventFromJSON)),
32
+ 'nextCursor': json['next_cursor'] == null ? undefined : json['next_cursor'],
33
+ 'watermark': json['watermark'] == null ? undefined : json['watermark'],
34
+ };
35
+ }
36
+ export function SandboxObservabilityEventsResponseToJSON(json) {
37
+ return SandboxObservabilityEventsResponseToJSONTyped(json, false);
38
+ }
39
+ export function SandboxObservabilityEventsResponseToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'events': (value['events'].map(SandboxObservabilityEventToJSON)),
45
+ 'next_cursor': value['nextCursor'],
46
+ 'watermark': value['watermark'],
47
+ };
48
+ }
@@ -0,0 +1,102 @@
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 { SandboxObservabilityLogStream } from './SandboxObservabilityLogStream.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SandboxObservabilityLogEntry
17
+ */
18
+ export interface SandboxObservabilityLogEntry {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SandboxObservabilityLogEntry
23
+ */
24
+ teamId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SandboxObservabilityLogEntry
29
+ */
30
+ sandboxId: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SandboxObservabilityLogEntry
35
+ */
36
+ regionId: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof SandboxObservabilityLogEntry
41
+ */
42
+ clusterId: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof SandboxObservabilityLogEntry
47
+ */
48
+ contextId?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof SandboxObservabilityLogEntry
53
+ */
54
+ processId?: string;
55
+ /**
56
+ *
57
+ * @type {Date}
58
+ * @memberof SandboxObservabilityLogEntry
59
+ */
60
+ occurredAt: Date;
61
+ /**
62
+ *
63
+ * @type {Date}
64
+ * @memberof SandboxObservabilityLogEntry
65
+ */
66
+ ingestedAt: Date;
67
+ /**
68
+ *
69
+ * @type {SandboxObservabilityLogStream}
70
+ * @memberof SandboxObservabilityLogEntry
71
+ */
72
+ stream?: SandboxObservabilityLogStream;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof SandboxObservabilityLogEntry
77
+ */
78
+ message: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof SandboxObservabilityLogEntry
83
+ */
84
+ cursor: string;
85
+ /**
86
+ *
87
+ * @type {{ [key: string]: any; }}
88
+ * @memberof SandboxObservabilityLogEntry
89
+ */
90
+ attributes?: {
91
+ [key: string]: any;
92
+ };
93
+ }
94
+ /**
95
+ * Check if a given object implements the SandboxObservabilityLogEntry interface.
96
+ */
97
+ export declare function instanceOfSandboxObservabilityLogEntry(value: object): value is SandboxObservabilityLogEntry;
98
+ export declare function SandboxObservabilityLogEntryFromJSON(json: any): SandboxObservabilityLogEntry;
99
+ export declare function SandboxObservabilityLogEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityLogEntry;
100
+ export declare function SandboxObservabilityLogEntryToJSON(json: any): SandboxObservabilityLogEntry;
101
+ export declare function SandboxObservabilityLogEntryToJSONTyped(value?: SandboxObservabilityLogEntry | null, ignoreDiscriminator?: boolean): any;
102
+ //# sourceMappingURL=SandboxObservabilityLogEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxObservabilityLogEntry.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityLogEntry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;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,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,6BAA6B,CAAC;IACvC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC;AAID;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAU3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAmB/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoB9I"}
@@ -0,0 +1,80 @@
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 { SandboxObservabilityLogStreamFromJSON, SandboxObservabilityLogStreamToJSON, } from './SandboxObservabilityLogStream.js';
15
+ /**
16
+ * Check if a given object implements the SandboxObservabilityLogEntry interface.
17
+ */
18
+ export function instanceOfSandboxObservabilityLogEntry(value) {
19
+ if (!('teamId' in value) || value['teamId'] === undefined)
20
+ return false;
21
+ if (!('sandboxId' in value) || value['sandboxId'] === undefined)
22
+ return false;
23
+ if (!('regionId' in value) || value['regionId'] === undefined)
24
+ return false;
25
+ if (!('clusterId' in value) || value['clusterId'] === undefined)
26
+ return false;
27
+ if (!('occurredAt' in value) || value['occurredAt'] === undefined)
28
+ return false;
29
+ if (!('ingestedAt' in value) || value['ingestedAt'] === undefined)
30
+ return false;
31
+ if (!('message' in value) || value['message'] === undefined)
32
+ return false;
33
+ if (!('cursor' in value) || value['cursor'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ export function SandboxObservabilityLogEntryFromJSON(json) {
38
+ return SandboxObservabilityLogEntryFromJSONTyped(json, false);
39
+ }
40
+ export function SandboxObservabilityLogEntryFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'teamId': json['team_id'],
46
+ 'sandboxId': json['sandbox_id'],
47
+ 'regionId': json['region_id'],
48
+ 'clusterId': json['cluster_id'],
49
+ 'contextId': json['context_id'] == null ? undefined : json['context_id'],
50
+ 'processId': json['process_id'] == null ? undefined : json['process_id'],
51
+ 'occurredAt': (new Date(json['occurred_at'])),
52
+ 'ingestedAt': (new Date(json['ingested_at'])),
53
+ 'stream': json['stream'] == null ? undefined : SandboxObservabilityLogStreamFromJSON(json['stream']),
54
+ 'message': json['message'],
55
+ 'cursor': json['cursor'],
56
+ 'attributes': json['attributes'] == null ? undefined : json['attributes'],
57
+ };
58
+ }
59
+ export function SandboxObservabilityLogEntryToJSON(json) {
60
+ return SandboxObservabilityLogEntryToJSONTyped(json, false);
61
+ }
62
+ export function SandboxObservabilityLogEntryToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'team_id': value['teamId'],
68
+ 'sandbox_id': value['sandboxId'],
69
+ 'region_id': value['regionId'],
70
+ 'cluster_id': value['clusterId'],
71
+ 'context_id': value['contextId'],
72
+ 'process_id': value['processId'],
73
+ 'occurred_at': value['occurredAt'].toISOString(),
74
+ 'ingested_at': value['ingestedAt'].toISOString(),
75
+ 'stream': SandboxObservabilityLogStreamToJSON(value['stream']),
76
+ 'message': value['message'],
77
+ 'cursor': value['cursor'],
78
+ 'attributes': value['attributes'],
79
+ };
80
+ }
@@ -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 SandboxObservabilityLogStream: {
17
+ readonly Stdout: "stdout";
18
+ readonly Stderr: "stderr";
19
+ readonly Pty: "pty";
20
+ };
21
+ export type SandboxObservabilityLogStream = typeof SandboxObservabilityLogStream[keyof typeof SandboxObservabilityLogStream];
22
+ export declare function instanceOfSandboxObservabilityLogStream(value: any): boolean;
23
+ export declare function SandboxObservabilityLogStreamFromJSON(json: any): SandboxObservabilityLogStream;
24
+ export declare function SandboxObservabilityLogStreamFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxObservabilityLogStream;
25
+ export declare function SandboxObservabilityLogStreamToJSON(value?: SandboxObservabilityLogStream | null): any;
26
+ export declare function SandboxObservabilityLogStreamToJSONTyped(value: any, ignoreDiscriminator: boolean): SandboxObservabilityLogStream;
27
+ //# sourceMappingURL=SandboxObservabilityLogStream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxObservabilityLogStream.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxObservabilityLogStream.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"}
@@ -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 SandboxObservabilityLogStream = {
19
+ Stdout: 'stdout',
20
+ Stderr: 'stderr',
21
+ Pty: 'pty'
22
+ };
23
+ export function instanceOfSandboxObservabilityLogStream(value) {
24
+ for (const key in SandboxObservabilityLogStream) {
25
+ if (Object.prototype.hasOwnProperty.call(SandboxObservabilityLogStream, key)) {
26
+ if (SandboxObservabilityLogStream[key] === value) {
27
+ return true;
28
+ }
29
+ }
30
+ }
31
+ return false;
32
+ }
33
+ export function SandboxObservabilityLogStreamFromJSON(json) {
34
+ return SandboxObservabilityLogStreamFromJSONTyped(json, false);
35
+ }
36
+ export function SandboxObservabilityLogStreamFromJSONTyped(json, ignoreDiscriminator) {
37
+ return json;
38
+ }
39
+ export function SandboxObservabilityLogStreamToJSON(value) {
40
+ return value;
41
+ }
42
+ export function SandboxObservabilityLogStreamToJSONTyped(value, ignoreDiscriminator) {
43
+ return value;
44
+ }
@@ -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
+ }