@opengeni/contracts 2.13.0-canary.2 → 2.13.0-canary.3

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.
package/dist/atlassian.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  AtlassianSyncCadence,
18
18
  SaveAtlassianSourcesRequest,
19
19
  atlassianScopesAllowRead
20
- } from "./chunk-N56VJ7BB.js";
20
+ } from "./chunk-UBMKQZJE.js";
21
21
  import "./chunk-YBW5JSA3.js";
22
22
  import "./chunk-6TCVR53X.js";
23
23
  import "./chunk-CM6BMECR.js";
@@ -9791,6 +9791,19 @@ var ManagedAccount = z32.object({
9791
9791
  createdAt: z32.string(),
9792
9792
  updatedAt: z32.string()
9793
9793
  });
9794
+ var WorkspacePauseTimer = z32.object({
9795
+ id: z32.string().uuid(),
9796
+ action: z32.enum(["pause", "resume"]),
9797
+ dueAt: z32.string().datetime(),
9798
+ pauseForSeconds: z32.number().int().min(60).max(2592e3).nullable()
9799
+ });
9800
+ var WorkspacePauseTimerRequest = z32.object({
9801
+ action: z32.enum(["set", "cancel"]),
9802
+ pauseInSeconds: z32.number().int().min(0).max(2592e3).refine((v) => v === 0 || v >= 60).optional(),
9803
+ pauseForSeconds: z32.number().int().min(60).max(2592e3).nullable().optional(),
9804
+ clientEventId: z32.string().min(1).max(200),
9805
+ expectedRevision: z32.number().int().nonnegative()
9806
+ }).strict();
9794
9807
  var Workspace = z32.object({
9795
9808
  id: z32.string().uuid(),
9796
9809
  accountId: z32.string().uuid(),
@@ -9810,6 +9823,8 @@ var Workspace = z32.object({
9810
9823
  // PATCH merges so newer settings survive an older server.
9811
9824
  settings: z32.record(z32.string(), z32.unknown()),
9812
9825
  inferenceControl: z32.object({
9826
+ timer: WorkspacePauseTimer.nullable().optional(),
9827
+ serverTime: z32.string().optional(),
9813
9828
  state: z32.enum(["active", "paused"]),
9814
9829
  revision: z32.number().int().nonnegative(),
9815
9830
  reason: z32.string().nullable(),
@@ -13387,7 +13402,7 @@ var WorkspaceControlEvent = z32.object({
13387
13402
  type: z32.literal("workspace.control.changed"),
13388
13403
  scope: z32.enum(["workspace", "session"]),
13389
13404
  rootSessionId: z32.string().uuid().nullable(),
13390
- action: z32.enum(["pause", "resume"]),
13405
+ action: z32.enum(["pause", "resume", "timer_set", "timer_cancelled"]),
13391
13406
  automatic: z32.boolean(),
13392
13407
  reason: z32.string().nullable(),
13393
13408
  actor: z32.string().min(1),
@@ -21085,6 +21100,8 @@ export {
21085
21100
  ForkSessionRequest,
21086
21101
  ForkSessionResponse,
21087
21102
  ManagedAccount,
21103
+ WorkspacePauseTimer,
21104
+ WorkspacePauseTimerRequest,
21088
21105
  Workspace,
21089
21106
  WorkspaceTranscriptionTarget,
21090
21107
  TranscriptionErrorCode,
@@ -21998,4 +22015,4 @@ export {
21998
22015
  ClientConfig,
21999
22016
  evaluateWorkspaceModelPolicy
22000
22017
  };
22001
- //# sourceMappingURL=chunk-N56VJ7BB.js.map
22018
+ //# sourceMappingURL=chunk-UBMKQZJE.js.map