@opengeni/sdk 0.41.0 → 0.44.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.
@@ -22,6 +22,12 @@ export type WorkspaceStateSourceKindCounts = {
22
22
  other: number;
23
23
  };
24
24
 
25
+ export type WorkspaceStateDocumentAuthorityKindCounts = {
26
+ organization: number;
27
+ workspace: number;
28
+ personal: number;
29
+ };
30
+
25
31
  export type WorkspaceStateMemoryStatusCounts = {
26
32
  proposed: number;
27
33
  approved: number;
@@ -167,6 +173,13 @@ export type WorkspaceStateResponse = {
167
173
  };
168
174
  runtimeComposition: { status: "not_implemented" };
169
175
  };
176
+ preferences: {
177
+ authority: "preference_registry_preferences";
178
+ activeDescriptorCount: number;
179
+ activeDescriptorHash: string;
180
+ scopeCounts: { organization: number; workspace: number; user: number };
181
+ truncated: boolean;
182
+ };
170
183
  knowledge:
171
184
  | {
172
185
  availability: "unavailable";
@@ -188,6 +201,7 @@ export type WorkspaceStateResponse = {
188
201
  inspectedVisibleDocumentCount: number;
189
202
  documentStatusCounts: WorkspaceStateDocumentStatusCounts;
190
203
  sourceKindCounts: WorkspaceStateSourceKindCounts;
204
+ authorityKindCounts: WorkspaceStateDocumentAuthorityKindCounts;
191
205
  topics: Array<{ name: string; documentCount: number }>;
192
206
  topicsTruncated: boolean;
193
207
  latestDocumentUpdatedAt: string | null;
@@ -210,3 +224,21 @@ export type WorkspaceStateResponse = {
210
224
  }>;
211
225
  };
212
226
  };
227
+
228
+ export type WorkspaceStateExportOmission =
229
+ | "hidden_platform_prompts"
230
+ | "policy_bodies"
231
+ | "preference_content"
232
+ | "document_content_and_private_metadata"
233
+ | "memory_content_and_provenance"
234
+ | "secret_values_and_credentials"
235
+ | "session_messages_and_tool_outputs";
236
+
237
+ export type WorkspaceStateExportResponse = {
238
+ kind: "opengeni.workspace_state.sanitized_export";
239
+ schemaVersion: 1;
240
+ generatedAt: string;
241
+ stateSha256: string;
242
+ omissions: WorkspaceStateExportOmission[];
243
+ state: WorkspaceStateResponse;
244
+ };