@vertesia/common 0.76.0 → 0.78.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertesia/common",
3
- "version": "0.76.0",
3
+ "version": "0.78.0",
4
4
  "type": "module",
5
5
  "types": "./lib/types/index.d.ts",
6
6
  "files": [
@@ -60,6 +60,7 @@ export enum AccessControlResourceType {
60
60
  export enum AccessControlPrincipalType {
61
61
  user = "user",
62
62
  group = "group",
63
+ apikey = "apikey",
63
64
  }
64
65
 
65
66
 
@@ -291,6 +291,8 @@ interface AsyncExecutionPayloadBase extends Omit<NamedInteractionExecutionPayloa
291
291
  * An array of endpoint URLs to be notified upon execution
292
292
  */
293
293
  notify_endpoints?: string[];
294
+
295
+ task_queue?: string;
294
296
  }
295
297
 
296
298
  export type ConversationVisibility = 'private' | 'project';
@@ -220,6 +220,11 @@ export interface ContentObjectItem<T = Record<string, any>> extends BaseObject {
220
220
  * and modification attempts should be rejected.
221
221
  */
222
222
  is_locked?: boolean;
223
+
224
+ /**
225
+ * The document score, used for ranking and sorting.
226
+ */
227
+ score?: number;
223
228
  }
224
229
 
225
230
  /**
@@ -378,3 +383,8 @@ export interface GetFileUrlResponse {
378
383
  mime_type: string;
379
384
  path: string;
380
385
  }
386
+
387
+ export enum ContentObjectProcessingPriority {
388
+ normal = "normal",
389
+ low = "low",
390
+ }
@@ -405,3 +405,5 @@ export interface Plan {
405
405
  plan: PlanTask[];
406
406
  comment?: string;
407
407
  }
408
+
409
+ export const LOW_PRIORITY_TASK_QUEUE = "low_priority";