@vertesia/common 0.75.0 → 0.77.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.75.0",
3
+ "version": "0.77.0",
4
4
  "type": "module",
5
5
  "types": "./lib/types/index.d.ts",
6
6
  "files": [
@@ -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';
package/src/payload.ts CHANGED
@@ -12,6 +12,13 @@ import {
12
12
 
13
13
  export interface SearchPayload {
14
14
  facets?: FacetSpec[];
15
+ /**
16
+ * If the facets should respect "limit"
17
+ * If true, the facet count be limited to the number of results in the query.
18
+ * If false, the facet count will be calculated over all objects.
19
+ * Default is true.
20
+ */
21
+ limit_facets?: boolean;
15
22
  query?: SimpleSearchQuery;
16
23
  limit?: number;
17
24
  offset?: number;
package/src/query.ts CHANGED
@@ -104,9 +104,9 @@ export interface ComplexSearchQuery extends ObjectSearchQuery {
104
104
  vector?: VectorSearchQuery;
105
105
 
106
106
  /**
107
- * If present, do a full text search.
107
+ * If present, do a full text search (snake_case version).
108
108
  */
109
- fullText?: string;
109
+ full_text?: string;
110
110
 
111
111
  weights?: Record<SearchTypes, number>;
112
112
 
@@ -130,4 +130,4 @@ export interface ComplexSearchQuery extends ObjectSearchQuery {
130
130
 
131
131
  export interface ComplexCollectionSearchQuery extends CollectionSearchPayload {
132
132
  match?: Record<string, any>;
133
- }
133
+ }
@@ -378,3 +378,8 @@ export interface GetFileUrlResponse {
378
378
  mime_type: string;
379
379
  path: string;
380
380
  }
381
+
382
+ export enum ContentObjectProcessingPriority {
383
+ normal = "normal",
384
+ low = "low",
385
+ }
@@ -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";