sandbox0 0.7.3 → 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 (137) 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/CredentialSourcesApi.d.ts +2 -0
  8. package/dist/apispec/src/apis/CredentialSourcesApi.d.ts.map +1 -1
  9. package/dist/apispec/src/apis/CredentialSourcesApi.js +2 -0
  10. package/dist/apispec/src/apis/ObservabilityApi.d.ts +81 -0
  11. package/dist/apispec/src/apis/ObservabilityApi.d.ts.map +1 -0
  12. package/dist/apispec/src/apis/ObservabilityApi.js +194 -0
  13. package/dist/apispec/src/apis/QuotasApi.d.ts +1 -24
  14. package/dist/apispec/src/apis/QuotasApi.d.ts.map +1 -1
  15. package/dist/apispec/src/apis/QuotasApi.js +1 -72
  16. package/dist/apispec/src/apis/SandboxRootfsApi.d.ts +2 -2
  17. package/dist/apispec/src/apis/SandboxRootfsApi.d.ts.map +1 -1
  18. package/dist/apispec/src/apis/SandboxRootfsApi.js +2 -2
  19. package/dist/apispec/src/apis/SandboxesApi.d.ts +0 -20
  20. package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
  21. package/dist/apispec/src/apis/SandboxesApi.js +0 -61
  22. package/dist/apispec/src/apis/TeamsApi.d.ts.map +1 -1
  23. package/dist/apispec/src/apis/index.d.ts +2 -0
  24. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  25. package/dist/apispec/src/apis/index.js +2 -0
  26. package/dist/apispec/src/models/ForkSandboxConfig.d.ts +39 -0
  27. package/dist/apispec/src/models/ForkSandboxConfig.d.ts.map +1 -0
  28. package/dist/apispec/src/models/ForkSandboxConfig.js +43 -0
  29. package/dist/apispec/src/models/ForkSandboxRequest.d.ts +35 -0
  30. package/dist/apispec/src/models/ForkSandboxRequest.d.ts.map +1 -0
  31. package/dist/apispec/src/models/ForkSandboxRequest.js +42 -0
  32. package/dist/apispec/src/models/ObservabilityEventSource.d.ts +27 -0
  33. package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -0
  34. package/dist/apispec/src/models/ObservabilityEventSource.js +44 -0
  35. package/dist/apispec/src/models/PauseSandboxResponse.d.ts +1 -1
  36. package/dist/apispec/src/models/Sandbox.d.ts +8 -1
  37. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  38. package/dist/apispec/src/models/Sandbox.js +3 -0
  39. package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts +2 -0
  40. package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts.map +1 -1
  41. package/dist/apispec/src/models/SandboxConfig.d.ts +7 -0
  42. package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
  43. package/dist/apispec/src/models/SandboxConfig.js +3 -0
  44. package/dist/apispec/src/models/SandboxFunction.d.ts +6 -0
  45. package/dist/apispec/src/models/SandboxFunction.d.ts.map +1 -1
  46. package/dist/apispec/src/models/SandboxFunction.js +2 -0
  47. package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts +0 -2
  48. package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts.map +1 -1
  49. package/dist/apispec/src/models/SandboxLifecycleStatus.js +0 -2
  50. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts +104 -0
  51. package/dist/apispec/src/models/SandboxObservabilityEvent.d.ts.map +1 -0
  52. package/dist/apispec/src/models/SandboxObservabilityEvent.js +86 -0
  53. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts +27 -0
  54. package/dist/apispec/src/models/SandboxObservabilityEventType.d.ts.map +1 -0
  55. package/dist/apispec/src/models/SandboxObservabilityEventType.js +44 -0
  56. package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts +46 -0
  57. package/dist/apispec/src/models/SandboxObservabilityEventsResponse.d.ts.map +1 -0
  58. package/dist/apispec/src/models/SandboxObservabilityEventsResponse.js +48 -0
  59. package/dist/apispec/src/models/SandboxObservabilityLogEntry.d.ts +102 -0
  60. package/dist/apispec/src/models/SandboxObservabilityLogEntry.d.ts.map +1 -0
  61. package/dist/apispec/src/models/SandboxObservabilityLogEntry.js +80 -0
  62. package/dist/apispec/src/models/SandboxObservabilityLogStream.d.ts +27 -0
  63. package/dist/apispec/src/models/SandboxObservabilityLogStream.d.ts.map +1 -0
  64. package/dist/apispec/src/models/SandboxObservabilityLogStream.js +44 -0
  65. package/dist/apispec/src/models/SandboxObservabilityLogsResponse.d.ts +46 -0
  66. package/dist/apispec/src/models/SandboxObservabilityLogsResponse.d.ts.map +1 -0
  67. package/dist/apispec/src/models/SandboxObservabilityLogsResponse.js +48 -0
  68. package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts +101 -0
  69. package/dist/apispec/src/models/SandboxObservabilityMetricSample.d.ts.map +1 -0
  70. package/dist/apispec/src/models/SandboxObservabilityMetricSample.js +81 -0
  71. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts +46 -0
  72. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.d.ts.map +1 -0
  73. package/dist/apispec/src/models/SandboxObservabilityMetricsResponse.js +48 -0
  74. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts +29 -0
  75. package/dist/apispec/src/models/SandboxObservabilityOutcome.d.ts.map +1 -0
  76. package/dist/apispec/src/models/SandboxObservabilityOutcome.js +46 -0
  77. package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts +76 -0
  78. package/dist/apispec/src/models/SandboxObservabilityWatchLine.d.ts.map +1 -0
  79. package/dist/apispec/src/models/SandboxObservabilityWatchLine.js +65 -0
  80. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts +25 -0
  81. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.d.ts.map +1 -0
  82. package/dist/apispec/src/models/SandboxObservabilityWatchLineData.js +58 -0
  83. package/dist/apispec/src/models/SandboxResourceConfig.d.ts +33 -0
  84. package/dist/apispec/src/models/SandboxResourceConfig.d.ts.map +1 -0
  85. package/dist/apispec/src/models/SandboxResourceConfig.js +41 -0
  86. package/dist/apispec/src/models/SandboxSummary.d.ts +1 -1
  87. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +7 -0
  88. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
  89. package/dist/apispec/src/models/SandboxUpdateConfig.js +3 -0
  90. package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.d.ts +40 -0
  91. package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.d.ts.map +1 -0
  92. package/dist/apispec/src/models/SuccessSandboxObservabilityEventsResponse.js +46 -0
  93. package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.d.ts +40 -0
  94. package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.d.ts.map +1 -0
  95. package/dist/apispec/src/models/SuccessSandboxObservabilityLogsResponse.js +46 -0
  96. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts +40 -0
  97. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.d.ts.map +1 -0
  98. package/dist/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.js +46 -0
  99. package/dist/apispec/src/models/TeamDeleteConflictDetails.d.ts +52 -0
  100. package/dist/apispec/src/models/TeamDeleteConflictDetails.d.ts.map +1 -0
  101. package/dist/apispec/src/models/TeamDeleteConflictDetails.js +52 -0
  102. package/dist/apispec/src/models/TeamDeleteConflictResponse.d.ts +40 -0
  103. package/dist/apispec/src/models/TeamDeleteConflictResponse.d.ts.map +1 -0
  104. package/dist/apispec/src/models/TeamDeleteConflictResponse.js +48 -0
  105. package/dist/apispec/src/models/TeamDeleteConflictResponseError.d.ts +46 -0
  106. package/dist/apispec/src/models/TeamDeleteConflictResponseError.d.ts.map +1 -0
  107. package/dist/apispec/src/models/TeamDeleteConflictResponseError.js +50 -0
  108. package/dist/apispec/src/models/TeamDeleteResourceCount.d.ts +39 -0
  109. package/dist/apispec/src/models/TeamDeleteResourceCount.d.ts.map +1 -0
  110. package/dist/apispec/src/models/TeamDeleteResourceCount.js +47 -0
  111. package/dist/apispec/src/models/TeamQuota.d.ts +36 -1
  112. package/dist/apispec/src/models/TeamQuota.d.ts.map +1 -1
  113. package/dist/apispec/src/models/TeamQuota.js +29 -1
  114. package/dist/apispec/src/models/index.d.ts +22 -3
  115. package/dist/apispec/src/models/index.d.ts.map +1 -1
  116. package/dist/apispec/src/models/index.js +22 -3
  117. package/dist/client.d.ts +12 -3
  118. package/dist/client.d.ts.map +1 -1
  119. package/dist/client.js +132 -53
  120. package/dist/index.d.ts +1 -1
  121. package/dist/index.d.ts.map +1 -1
  122. package/dist/index.js +1 -1
  123. package/dist/models.d.ts +38 -19
  124. package/dist/models.d.ts.map +1 -1
  125. package/dist/resources/sandboxes.d.ts +4 -2
  126. package/dist/resources/sandboxes.d.ts.map +1 -1
  127. package/dist/resources/sandboxes.js +20 -3
  128. package/dist/sandbox_contexts.d.ts +1 -2
  129. package/dist/sandbox_contexts.d.ts.map +1 -1
  130. package/dist/sandbox_contexts.js +0 -8
  131. package/dist/sandbox_observability.d.ts +14 -0
  132. package/dist/sandbox_observability.d.ts.map +1 -0
  133. package/dist/sandbox_observability.js +28 -0
  134. package/package.json +1 -1
  135. package/dist/sandbox_logs.d.ts +0 -8
  136. package/dist/sandbox_logs.d.ts.map +0 -1
  137. package/dist/sandbox_logs.js +0 -10
@@ -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"}
@@ -0,0 +1,58 @@
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 { instanceOfSandboxObservabilityEvent, SandboxObservabilityEventFromJSONTyped, SandboxObservabilityEventToJSON, } from './SandboxObservabilityEvent.js';
15
+ import { instanceOfSandboxObservabilityLogEntry, SandboxObservabilityLogEntryFromJSONTyped, SandboxObservabilityLogEntryToJSON, } from './SandboxObservabilityLogEntry.js';
16
+ import { instanceOfSandboxObservabilityMetricSample, SandboxObservabilityMetricSampleFromJSONTyped, SandboxObservabilityMetricSampleToJSON, } from './SandboxObservabilityMetricSample.js';
17
+ export function SandboxObservabilityWatchLineDataFromJSON(json) {
18
+ return SandboxObservabilityWatchLineDataFromJSONTyped(json, false);
19
+ }
20
+ export function SandboxObservabilityWatchLineDataFromJSONTyped(json, ignoreDiscriminator) {
21
+ if (json == null) {
22
+ return json;
23
+ }
24
+ if (typeof json !== 'object') {
25
+ return json;
26
+ }
27
+ if (instanceOfSandboxObservabilityEvent(json)) {
28
+ return SandboxObservabilityEventFromJSONTyped(json, true);
29
+ }
30
+ if (instanceOfSandboxObservabilityLogEntry(json)) {
31
+ return SandboxObservabilityLogEntryFromJSONTyped(json, true);
32
+ }
33
+ if (instanceOfSandboxObservabilityMetricSample(json)) {
34
+ return SandboxObservabilityMetricSampleFromJSONTyped(json, true);
35
+ }
36
+ return {};
37
+ }
38
+ export function SandboxObservabilityWatchLineDataToJSON(json) {
39
+ return SandboxObservabilityWatchLineDataToJSONTyped(json, false);
40
+ }
41
+ export function SandboxObservabilityWatchLineDataToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ if (typeof value !== 'object') {
46
+ return value;
47
+ }
48
+ if (instanceOfSandboxObservabilityEvent(value)) {
49
+ return SandboxObservabilityEventToJSON(value);
50
+ }
51
+ if (instanceOfSandboxObservabilityLogEntry(value)) {
52
+ return SandboxObservabilityLogEntryToJSON(value);
53
+ }
54
+ if (instanceOfSandboxObservabilityMetricSample(value)) {
55
+ return SandboxObservabilityMetricSampleToJSON(value);
56
+ }
57
+ return {};
58
+ }
@@ -0,0 +1,33 @@
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
+ * Instance-level sandbox resource override. Sandbox0 exposes memory only and derives CPU from the platform memory-per-CPU ratio.
14
+ * @export
15
+ * @interface SandboxResourceConfig
16
+ */
17
+ export interface SandboxResourceConfig {
18
+ /**
19
+ * Sandbox memory limit. Must be at least 128Mi and no more than the platform sandbox maximum, which defaults to 32Gi.
20
+ * @type {string}
21
+ * @memberof SandboxResourceConfig
22
+ */
23
+ memory?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SandboxResourceConfig interface.
27
+ */
28
+ export declare function instanceOfSandboxResourceConfig(value: object): value is SandboxResourceConfig;
29
+ export declare function SandboxResourceConfigFromJSON(json: any): SandboxResourceConfig;
30
+ export declare function SandboxResourceConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxResourceConfig;
31
+ export declare function SandboxResourceConfigToJSON(json: any): SandboxResourceConfig;
32
+ export declare function SandboxResourceConfigToJSONTyped(value?: SandboxResourceConfig | null, ignoreDiscriminator?: boolean): any;
33
+ //# sourceMappingURL=SandboxResourceConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxResourceConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxResourceConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAQjH;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,CAShI"}
@@ -0,0 +1,41 @@
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 SandboxResourceConfig interface.
16
+ */
17
+ export function instanceOfSandboxResourceConfig(value) {
18
+ return true;
19
+ }
20
+ export function SandboxResourceConfigFromJSON(json) {
21
+ return SandboxResourceConfigFromJSONTyped(json, false);
22
+ }
23
+ export function SandboxResourceConfigFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'memory': json['memory'] == null ? undefined : json['memory'],
29
+ };
30
+ }
31
+ export function SandboxResourceConfigToJSON(json) {
32
+ return SandboxResourceConfigToJSONTyped(json, false);
33
+ }
34
+ export function SandboxResourceConfigToJSONTyped(value, ignoreDiscriminator = false) {
35
+ if (value == null) {
36
+ return value;
37
+ }
38
+ return {
39
+ 'memory': value['memory'],
40
+ };
41
+ }
@@ -35,7 +35,7 @@ export interface SandboxSummary {
35
35
  */
36
36
  status: SandboxLifecycleStatus;
37
37
  /**
38
- * True when status is paused and no runtime is attached.
38
+ * True when status is paused.
39
39
  * @type {boolean}
40
40
  * @memberof SandboxSummary
41
41
  */
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { SandboxAppService } from './SandboxAppService.js';
13
+ import type { SandboxResourceConfig } from './SandboxResourceConfig.js';
13
14
  import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
14
15
  /**
15
16
  * Subset of SandboxConfig fields that can be updated at runtime without restarting the sandbox.
@@ -30,6 +31,12 @@ export interface SandboxUpdateConfig {
30
31
  envVars?: {
31
32
  [key: string]: string;
32
33
  };
34
+ /**
35
+ *
36
+ * @type {SandboxResourceConfig}
37
+ * @memberof SandboxUpdateConfig
38
+ */
39
+ resources?: SandboxResourceConfig;
33
40
  /**
34
41
  * Runtime soft time-to-live in seconds. When it expires, Sandbox0 checkpoints the writable rootfs, pauses the sandbox, and releases runtime compute while preserving durable sandbox state.
35
42
  * @type {number}
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxUpdateConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxUpdateConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAa7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc5H"}
1
+ {"version":3,"file":"SandboxUpdateConfig.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxUpdateConfig.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAc7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe5H"}
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { SandboxAppServiceFromJSON, SandboxAppServiceToJSON, } from './SandboxAppService.js';
15
+ import { SandboxResourceConfigFromJSON, SandboxResourceConfigToJSON, } from './SandboxResourceConfig.js';
15
16
  import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
16
17
  /**
17
18
  * Check if a given object implements the SandboxUpdateConfig interface.
@@ -28,6 +29,7 @@ export function SandboxUpdateConfigFromJSONTyped(json, ignoreDiscriminator) {
28
29
  }
29
30
  return {
30
31
  'envVars': json['env_vars'] == null ? undefined : json['env_vars'],
32
+ 'resources': json['resources'] == null ? undefined : SandboxResourceConfigFromJSON(json['resources']),
31
33
  'ttl': json['ttl'] == null ? undefined : json['ttl'],
32
34
  'hardTtl': json['hard_ttl'] == null ? undefined : json['hard_ttl'],
33
35
  'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
@@ -44,6 +46,7 @@ export function SandboxUpdateConfigToJSONTyped(value, ignoreDiscriminator = fals
44
46
  }
45
47
  return {
46
48
  'env_vars': value['envVars'],
49
+ 'resources': SandboxResourceConfigToJSON(value['resources']),
47
50
  'ttl': value['ttl'],
48
51
  'hard_ttl': value['hardTtl'],
49
52
  'network': SandboxNetworkPolicyToJSON(value['network']),
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { SandboxObservabilityEventsResponse } from './SandboxObservabilityEventsResponse.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessSandboxObservabilityEventsResponse
17
+ */
18
+ export interface SuccessSandboxObservabilityEventsResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SuccessSandboxObservabilityEventsResponse
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {SandboxObservabilityEventsResponse}
28
+ * @memberof SuccessSandboxObservabilityEventsResponse
29
+ */
30
+ data?: SandboxObservabilityEventsResponse;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SuccessSandboxObservabilityEventsResponse interface.
34
+ */
35
+ export declare function instanceOfSuccessSandboxObservabilityEventsResponse(value: object): value is SuccessSandboxObservabilityEventsResponse;
36
+ export declare function SuccessSandboxObservabilityEventsResponseFromJSON(json: any): SuccessSandboxObservabilityEventsResponse;
37
+ export declare function SuccessSandboxObservabilityEventsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxObservabilityEventsResponse;
38
+ export declare function SuccessSandboxObservabilityEventsResponseToJSON(json: any): SuccessSandboxObservabilityEventsResponse;
39
+ export declare function SuccessSandboxObservabilityEventsResponseToJSONTyped(value?: SuccessSandboxObservabilityEventsResponse | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=SuccessSandboxObservabilityEventsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessSandboxObservabilityEventsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxObservabilityEventsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAQ/F;;;;GAIG;AACH,MAAM,WAAW,yCAAyC;IACtD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,kCAAkC,CAAC;CAC7C;AAED;;GAEG;AACH,wBAAgB,mDAAmD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yCAAyC,CAGrI;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,GAAG,GAAG,yCAAyC,CAEtH;AAED,wBAAgB,sDAAsD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yCAAyC,CASzJ;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,GAAG,yCAAyC,CAEpH;AAED,wBAAgB,oDAAoD,CAAC,KAAK,CAAC,EAAE,yCAAyC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxK"}
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SandboxObservabilityEventsResponseFromJSON, SandboxObservabilityEventsResponseToJSON, } from './SandboxObservabilityEventsResponse.js';
15
+ /**
16
+ * Check if a given object implements the SuccessSandboxObservabilityEventsResponse interface.
17
+ */
18
+ export function instanceOfSuccessSandboxObservabilityEventsResponse(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SuccessSandboxObservabilityEventsResponseFromJSON(json) {
24
+ return SuccessSandboxObservabilityEventsResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SuccessSandboxObservabilityEventsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'success': json['success'],
32
+ 'data': json['data'] == null ? undefined : SandboxObservabilityEventsResponseFromJSON(json['data']),
33
+ };
34
+ }
35
+ export function SuccessSandboxObservabilityEventsResponseToJSON(json) {
36
+ return SuccessSandboxObservabilityEventsResponseToJSONTyped(json, false);
37
+ }
38
+ export function SuccessSandboxObservabilityEventsResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'success': value['success'],
44
+ 'data': SandboxObservabilityEventsResponseToJSON(value['data']),
45
+ };
46
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { SandboxObservabilityLogsResponse } from './SandboxObservabilityLogsResponse.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessSandboxObservabilityLogsResponse
17
+ */
18
+ export interface SuccessSandboxObservabilityLogsResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SuccessSandboxObservabilityLogsResponse
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {SandboxObservabilityLogsResponse}
28
+ * @memberof SuccessSandboxObservabilityLogsResponse
29
+ */
30
+ data?: SandboxObservabilityLogsResponse;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SuccessSandboxObservabilityLogsResponse interface.
34
+ */
35
+ export declare function instanceOfSuccessSandboxObservabilityLogsResponse(value: object): value is SuccessSandboxObservabilityLogsResponse;
36
+ export declare function SuccessSandboxObservabilityLogsResponseFromJSON(json: any): SuccessSandboxObservabilityLogsResponse;
37
+ export declare function SuccessSandboxObservabilityLogsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxObservabilityLogsResponse;
38
+ export declare function SuccessSandboxObservabilityLogsResponseToJSON(json: any): SuccessSandboxObservabilityLogsResponse;
39
+ export declare function SuccessSandboxObservabilityLogsResponseToJSONTyped(value?: SuccessSandboxObservabilityLogsResponse | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=SuccessSandboxObservabilityLogsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessSandboxObservabilityLogsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxObservabilityLogsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,WAAW,uCAAuC;IACpD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,gCAAgC,CAAC;CAC3C;AAED;;GAEG;AACH,wBAAgB,iDAAiD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uCAAuC,CAGjI;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,GAAG,uCAAuC,CAElH;AAED,wBAAgB,oDAAoD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uCAAuC,CASrJ;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,uCAAuC,CAEhH;AAED,wBAAgB,kDAAkD,CAAC,KAAK,CAAC,EAAE,uCAAuC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpK"}
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SandboxObservabilityLogsResponseFromJSON, SandboxObservabilityLogsResponseToJSON, } from './SandboxObservabilityLogsResponse.js';
15
+ /**
16
+ * Check if a given object implements the SuccessSandboxObservabilityLogsResponse interface.
17
+ */
18
+ export function instanceOfSuccessSandboxObservabilityLogsResponse(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SuccessSandboxObservabilityLogsResponseFromJSON(json) {
24
+ return SuccessSandboxObservabilityLogsResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SuccessSandboxObservabilityLogsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'success': json['success'],
32
+ 'data': json['data'] == null ? undefined : SandboxObservabilityLogsResponseFromJSON(json['data']),
33
+ };
34
+ }
35
+ export function SuccessSandboxObservabilityLogsResponseToJSON(json) {
36
+ return SuccessSandboxObservabilityLogsResponseToJSONTyped(json, false);
37
+ }
38
+ export function SuccessSandboxObservabilityLogsResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'success': value['success'],
44
+ 'data': SandboxObservabilityLogsResponseToJSON(value['data']),
45
+ };
46
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { SandboxObservabilityMetricsResponse } from './SandboxObservabilityMetricsResponse.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessSandboxObservabilityMetricsResponse
17
+ */
18
+ export interface SuccessSandboxObservabilityMetricsResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SuccessSandboxObservabilityMetricsResponse
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {SandboxObservabilityMetricsResponse}
28
+ * @memberof SuccessSandboxObservabilityMetricsResponse
29
+ */
30
+ data?: SandboxObservabilityMetricsResponse;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SuccessSandboxObservabilityMetricsResponse interface.
34
+ */
35
+ export declare function instanceOfSuccessSandboxObservabilityMetricsResponse(value: object): value is SuccessSandboxObservabilityMetricsResponse;
36
+ export declare function SuccessSandboxObservabilityMetricsResponseFromJSON(json: any): SuccessSandboxObservabilityMetricsResponse;
37
+ export declare function SuccessSandboxObservabilityMetricsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxObservabilityMetricsResponse;
38
+ export declare function SuccessSandboxObservabilityMetricsResponseToJSON(json: any): SuccessSandboxObservabilityMetricsResponse;
39
+ export declare function SuccessSandboxObservabilityMetricsResponseToJSONTyped(value?: SuccessSandboxObservabilityMetricsResponse | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=SuccessSandboxObservabilityMetricsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessSandboxObservabilityMetricsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxObservabilityMetricsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAQjG;;;;GAIG;AACH,MAAM,WAAW,0CAA0C;IACvD;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,mCAAmC,CAAC;CAC9C;AAED;;GAEG;AACH,wBAAgB,oDAAoD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0CAA0C,CAGvI;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAExH;AAED,wBAAgB,uDAAuD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0CAA0C,CAS3J;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAEtH;AAED,wBAAgB,qDAAqD,CAAC,KAAK,CAAC,EAAE,0CAA0C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1K"}
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SandboxObservabilityMetricsResponseFromJSON, SandboxObservabilityMetricsResponseToJSON, } from './SandboxObservabilityMetricsResponse.js';
15
+ /**
16
+ * Check if a given object implements the SuccessSandboxObservabilityMetricsResponse interface.
17
+ */
18
+ export function instanceOfSuccessSandboxObservabilityMetricsResponse(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SuccessSandboxObservabilityMetricsResponseFromJSON(json) {
24
+ return SuccessSandboxObservabilityMetricsResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SuccessSandboxObservabilityMetricsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'success': json['success'],
32
+ 'data': json['data'] == null ? undefined : SandboxObservabilityMetricsResponseFromJSON(json['data']),
33
+ };
34
+ }
35
+ export function SuccessSandboxObservabilityMetricsResponseToJSON(json) {
36
+ return SuccessSandboxObservabilityMetricsResponseToJSONTyped(json, false);
37
+ }
38
+ export function SuccessSandboxObservabilityMetricsResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'success': value['success'],
44
+ 'data': SandboxObservabilityMetricsResponseToJSON(value['data']),
45
+ };
46
+ }