@opengeni/contracts 4.4.1 → 4.5.1-canary.39832248373001

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.
@@ -140,6 +140,11 @@ export declare const WorkspaceArtifactEvent: z.ZodObject<{
140
140
  createdAt: z.ZodString;
141
141
  }, z.core.$strip>;
142
142
  export type WorkspaceArtifactEvent = z.infer<typeof WorkspaceArtifactEvent>;
143
+ /** When this person last opened the Site; it orders the Site's sidebar row. */
144
+ export declare const SiteOpenedResponse: z.ZodObject<{
145
+ openedAt: z.ZodString;
146
+ }, z.core.$strip>;
147
+ export type SiteOpenedResponse = z.infer<typeof SiteOpenedResponse>;
143
148
  export declare const WorkspaceArtifactListQuery: z.ZodObject<{
144
149
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
145
150
  cursor: z.ZodOptional<z.ZodString>;
package/dist/atlassian.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  AtlassianSyncCadence,
18
18
  SaveAtlassianSourcesRequest,
19
19
  atlassianScopesAllowRead
20
- } from "./chunk-7TQCV4DO.js";
20
+ } from "./chunk-L7JT3WRK.js";
21
21
  import "./chunk-4JGHSSB7.js";
22
22
  import "./chunk-A25JT3JW.js";
23
23
  import "./chunk-O52OHRH5.js";
@@ -1093,6 +1093,11 @@ var WorkspaceArtifactEvent = /* @__PURE__ */ defineSchema(
1093
1093
  createdAt: z8.string().datetime({ offset: true })
1094
1094
  })
1095
1095
  );
1096
+ var SiteOpenedResponse = /* @__PURE__ */ defineSchema(
1097
+ () => z8.object({
1098
+ openedAt: z8.string().datetime({ offset: true })
1099
+ })
1100
+ );
1096
1101
  var WorkspaceArtifactListQuery = /* @__PURE__ */ defineSchema(
1097
1102
  () => z8.object({
1098
1103
  limit: z8.coerce.number().int().positive().max(WORKSPACE_ARTIFACT_LIST_MAX).default(WORKSPACE_ARTIFACT_LIST_DEFAULT),
@@ -47808,6 +47813,30 @@ var SessionListTotals = /* @__PURE__ */ defineSkillContractSchema(
47808
47813
  )
47809
47814
  })
47810
47815
  );
47816
+ var SiteConversationGroup = /* @__PURE__ */ defineSkillContractSchema(
47817
+ () => z72.object({
47818
+ siteId: z72.string().uuid(),
47819
+ channelId: z72.string().uuid().nullable(),
47820
+ /** The Site's current title when the viewer can read it, else its creation label. */
47821
+ title: z72.string(),
47822
+ /** Root conversations in the group; 0 for a Site with none yet. */
47823
+ conversations: z72.number().int().nonnegative(),
47824
+ /** Latest activity: its conversations, its own changes, or the viewer opening it. */
47825
+ updatedAt: z72.string().datetime(),
47826
+ /** Creation time of the group's newest conversation, else of the Site. */
47827
+ createdAt: z72.string().datetime(),
47828
+ /** The same status counts as a project total, over the group's trees. */
47829
+ total: z72.number().int().nonnegative(),
47830
+ attention: z72.number().int().nonnegative(),
47831
+ attentionSince: z72.string().datetime().nullable(),
47832
+ failed: z72.number().int().nonnegative(),
47833
+ active: z72.number().int().nonnegative(),
47834
+ queued: z72.number().int().nonnegative(),
47835
+ waiting: z72.number().int().nonnegative(),
47836
+ unread: z72.number().int().nonnegative(),
47837
+ activeWork: z72.number().int().nonnegative()
47838
+ })
47839
+ );
47811
47840
  var SessionListResponse = /* @__PURE__ */ defineSkillContractSchema(
47812
47841
  () => z72.object({
47813
47842
  pinned: z72.array(Session),
@@ -47824,6 +47853,16 @@ var SessionListResponse = /* @__PURE__ */ defineSkillContractSchema(
47824
47853
  sortBy: z72.enum(["updatedAt", "createdAt", "name", "archivedAt"]).optional(),
47825
47854
  archiveStatus: z72.enum(["active", "archived", "all"]).optional(),
47826
47855
  originSiteId: z72.string().uuid().optional(),
47856
+ /**
47857
+ * Receipt for `siteConversations`. `include` lists Site conversations as
47858
+ * ordinary rows; `group` keeps them out of the rows and returns
47859
+ * `siteGroups` instead. Absent: they are omitted, as before.
47860
+ */
47861
+ siteConversations: z72.enum(["include", "group"]).optional(),
47862
+ /** Complete Site rows for a `group` root page, newest activity first. */
47863
+ siteGroups: z72.array(SiteConversationGroup).optional(),
47864
+ /** True when Site rows beyond the server bound were omitted. */
47865
+ siteGroupsTruncated: z72.literal(true).optional(),
47827
47866
  /** True when older matching pins were omitted from this bounded page. */
47828
47867
  pinnedTruncated: z72.boolean().optional(),
47829
47868
  sessions: z72.array(Session),
@@ -52039,6 +52078,9 @@ var ClientConfig = /* @__PURE__ */ defineModelContractSchema(
52039
52078
  // Whether people can connect their own computers to this deployment. Absent
52040
52079
  // on older servers: clients then treat it as unknown.
52041
52080
  connectedMachines: z72.boolean().optional(),
52081
+ // The Chrome extension people add to connect their own Chrome, and its
52082
+ // Chrome Web Store page. Absent on older servers: Opengeni Browser.
52083
+ browserExtension: z72.object({ name: z72.string(), installUrl: z72.string().url() }).optional(),
52042
52084
  defaultModel: z72.string(),
52043
52085
  // Legacy parsers require a nonempty list. If models is empty, this contains
52044
52086
  // only the explicitly unavailable legacyModelFallback hint, not admission.
@@ -52325,6 +52367,7 @@ export {
52325
52367
  WorkspaceArtifact,
52326
52368
  WorkspaceArtifactEventType,
52327
52369
  WorkspaceArtifactEvent,
52370
+ SiteOpenedResponse,
52328
52371
  WorkspaceArtifactListQuery,
52329
52372
  WorkspaceArtifactListResponse,
52330
52373
  WorkspaceArtifactDetailResponse,
@@ -54512,6 +54555,7 @@ export {
54512
54555
  Session,
54513
54556
  CreateSessionResponse,
54514
54557
  SessionListTotals,
54558
+ SiteConversationGroup,
54515
54559
  SessionListResponse,
54516
54560
  SessionListEntry,
54517
54561
  SessionListEntryResponse,
@@ -54820,4 +54864,4 @@ export {
54820
54864
  AtlassianDisconnectRequest,
54821
54865
  atlassianScopesAllowRead
54822
54866
  };
54823
- //# sourceMappingURL=chunk-7TQCV4DO.js.map
54867
+ //# sourceMappingURL=chunk-L7JT3WRK.js.map