@onkernel/sdk 0.72.0 → 0.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/audit-logs.d.mts +54 -1
  10. package/resources/audit-logs.d.mts.map +1 -1
  11. package/resources/audit-logs.d.ts +54 -1
  12. package/resources/audit-logs.d.ts.map +1 -1
  13. package/resources/audit-logs.js +14 -0
  14. package/resources/audit-logs.js.map +1 -1
  15. package/resources/audit-logs.mjs +14 -0
  16. package/resources/audit-logs.mjs.map +1 -1
  17. package/resources/browser-pools.d.mts +32 -32
  18. package/resources/browser-pools.d.ts +32 -32
  19. package/resources/browsers/browsers.d.mts +40 -40
  20. package/resources/browsers/browsers.d.ts +40 -40
  21. package/resources/browsers/telemetry.d.mts +13 -4
  22. package/resources/browsers/telemetry.d.mts.map +1 -1
  23. package/resources/browsers/telemetry.d.ts +13 -4
  24. package/resources/browsers/telemetry.d.ts.map +1 -1
  25. package/resources/browsers/telemetry.js +4 -4
  26. package/resources/browsers/telemetry.mjs +4 -4
  27. package/resources/index.d.mts +1 -1
  28. package/resources/index.d.mts.map +1 -1
  29. package/resources/index.d.ts +1 -1
  30. package/resources/index.d.ts.map +1 -1
  31. package/resources/index.js.map +1 -1
  32. package/resources/index.mjs.map +1 -1
  33. package/resources/invocations.d.mts +8 -8
  34. package/resources/invocations.d.ts +8 -8
  35. package/resources/shared.d.mts +8 -8
  36. package/resources/shared.d.ts +8 -8
  37. package/src/client.ts +2 -0
  38. package/src/resources/audit-logs.ts +74 -0
  39. package/src/resources/browser-pools.ts +32 -32
  40. package/src/resources/browsers/browsers.ts +40 -40
  41. package/src/resources/browsers/telemetry.ts +14 -4
  42. package/src/resources/index.ts +1 -0
  43. package/src/resources/invocations.ts +8 -8
  44. package/src/resources/shared.ts +8 -8
  45. package/src/version.ts +1 -1
  46. package/version.d.mts +1 -1
  47. package/version.d.ts +1 -1
  48. package/version.js +1 -1
  49. package/version.mjs +1 -1
@@ -14,10 +14,10 @@ import { path } from '../../internal/utils/path';
14
14
  */
15
15
  export class Telemetry extends APIResource {
16
16
  /**
17
- * Reads a page of telemetry events for the browser session in ascending sequence
18
- * order. To page through results, pass the X-Next-Offset value from the previous
19
- * response as offset and repeat while X-Has-More is true. Returns an empty list
20
- * when telemetry data is unavailable.
17
+ * Reads a page of telemetry events for the browser session. To page through
18
+ * results, pass the X-Next-Offset value from the previous response as offset and
19
+ * repeat while X-Has-More is true. Returns an empty list when telemetry data is
20
+ * unavailable.
21
21
  *
22
22
  * @example
23
23
  * ```ts
@@ -2076,6 +2076,16 @@ export interface TelemetryEventsParams extends OffsetPaginationParams {
2076
2076
  | 'monitor'
2077
2077
  >;
2078
2078
 
2079
+ /**
2080
+ * Read direction. asc (default) reads oldest first, starting from since or the
2081
+ * offset cursor. desc reads newest first: each request returns one page of up to
2082
+ * limit records ending at the offset cursor (or until, or the newest archived
2083
+ * event); combining desc with since is rejected with a 400. In either direction
2084
+ * the category filter applies within the page, so a filtered page may be empty
2085
+ * while X-Has-More is true.
2086
+ */
2087
+ order?: string;
2088
+
2079
2089
  /**
2080
2090
  * Start of the window: an RFC-3339 timestamp, or a duration like 5m meaning that
2081
2091
  * long ago. Defaults to 5m. Ignored when offset is set.
@@ -22,6 +22,7 @@ export {
22
22
  AuditLogs,
23
23
  type AuditLogEntry,
24
24
  type AuditLogListParams,
25
+ type AuditLogExportChunkParams,
25
26
  type AuditLogEntriesPageTokenPagination,
26
27
  } from './audit-logs';
27
28
  export { Auth } from './auth/auth';
@@ -538,14 +538,14 @@ export namespace InvocationListBrowsersResponse {
538
538
  * image defaults apply (1920x1080@25). For GPU images, the default is
539
539
  * 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
540
540
  * Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
541
- * 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
542
- * presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
543
- * 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
544
- * 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
545
- * Viewports outside this list may exhibit unstable live view or recording
546
- * behavior. If refresh_rate is not provided, it will be automatically determined
547
- * based on the resolution (higher resolutions use lower refresh rates to keep
548
- * bandwidth reasonable).
541
+ * 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
542
+ * GPU images, recommended presets use one of these resolutions with refresh rates
543
+ * 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
544
+ * 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
545
+ * 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
546
+ * or recording behavior. If refresh_rate is not provided, it will be automatically
547
+ * determined based on the resolution (higher resolutions use lower refresh rates
548
+ * to keep bandwidth reasonable).
549
549
  */
550
550
  viewport?: Shared.BrowserViewport;
551
551
  }
@@ -68,14 +68,14 @@ export interface BrowserProfile {
68
68
  * image defaults apply (1920x1080@25). For GPU images, the default is
69
69
  * 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
70
70
  * Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
71
- * 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
72
- * presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
73
- * 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
74
- * 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
75
- * Viewports outside this list may exhibit unstable live view or recording
76
- * behavior. If refresh_rate is not provided, it will be automatically determined
77
- * based on the resolution (higher resolutions use lower refresh rates to keep
78
- * bandwidth reasonable).
71
+ * 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
72
+ * GPU images, recommended presets use one of these resolutions with refresh rates
73
+ * 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
74
+ * 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
75
+ * 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
76
+ * or recording behavior. If refresh_rate is not provided, it will be automatically
77
+ * determined based on the resolution (higher resolutions use lower refresh rates
78
+ * to keep bandwidth reasonable).
79
79
  */
80
80
  export interface BrowserViewport {
81
81
  /**
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.72.0'; // x-release-please-version
1
+ export const VERSION = '0.74.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.72.0";
1
+ export declare const VERSION = "0.74.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.72.0";
1
+ export declare const VERSION = "0.74.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.72.0'; // x-release-please-version
4
+ exports.VERSION = '0.74.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.72.0'; // x-release-please-version
1
+ export const VERSION = '0.74.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map