@opengeni/contracts 2.13.0-canary.1 → 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-W4CCAN7Y.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),
@@ -18574,7 +18589,8 @@ var CreateSessionRequest = withVariableSetIdAlias(
18574
18589
  // compatibility fallback by omitting this field.
18575
18590
  policyRole: WorkspaceInstructionPolicyRoleKeyInput.optional(),
18576
18591
  // For an agent-created child, omission inherits the trusted immediate
18577
- // parent's repository/file context. An explicit array, including [], is
18592
+ // parent's repositories only; files require explicit selection. An explicit
18593
+ // array, including [], is
18578
18594
  // authoritative. Top-level omission remains []. Presence is resolved from
18579
18595
  // the raw request because this Zod default erases absent-vs-empty.
18580
18596
  resources: z32.array(ResourceRef).default([]),
@@ -19975,6 +19991,7 @@ var ClientConfig = /* @__PURE__ */ defineModelContractSchema(
19975
19991
  acceptedMimeTypes: [...VOICE_INPUT_ACCEPTED_MIME_TYPES]
19976
19992
  }),
19977
19993
  productAccessMode: ProductAccessMode,
19994
+ billingMode: BillingMode.default("disabled"),
19978
19995
  // Safe rollout discriminator: the browser only mounts the optional
19979
19996
  // @opengeni/sdk/accounts controller when this is dual or broker.
19980
19997
  managedAuthSessionSetMode: z32.enum(["legacy", "dual", "broker"]).default("legacy"),
@@ -21083,6 +21100,8 @@ export {
21083
21100
  ForkSessionRequest,
21084
21101
  ForkSessionResponse,
21085
21102
  ManagedAccount,
21103
+ WorkspacePauseTimer,
21104
+ WorkspacePauseTimerRequest,
21086
21105
  Workspace,
21087
21106
  WorkspaceTranscriptionTarget,
21088
21107
  TranscriptionErrorCode,
@@ -21996,4 +22015,4 @@ export {
21996
22015
  ClientConfig,
21997
22016
  evaluateWorkspaceModelPolicy
21998
22017
  };
21999
- //# sourceMappingURL=chunk-W4CCAN7Y.js.map
22018
+ //# sourceMappingURL=chunk-UBMKQZJE.js.map