@onereach/types-hitl-api 0.0.48 → 0.0.49-rc.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.
@@ -92,13 +92,17 @@ export interface IDateRangeOptions {
92
92
  readonly from: string;
93
93
  readonly to: string;
94
94
  }
95
+ export interface ITagsQuery {
96
+ readonly OR?: (string | ITagsQuery)[];
97
+ readonly AND?: (string | ITagsQuery)[];
98
+ }
95
99
  export interface ISearchSessionsOptions {
96
100
  readonly accountId: string;
97
101
  readonly agentId: string;
98
102
  readonly dateRange?: IDateRangeOptions;
99
103
  readonly claimedBy?: string;
100
104
  readonly claimedByHistory?: string;
101
- readonly tags?: string[];
105
+ readonly tags?: string[] | ITagsQuery;
102
106
  readonly status?: string[];
103
107
  readonly needsAction?: boolean;
104
108
  readonly searchPhrase?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/types-hitl-api",
3
- "version": "0.0.48",
3
+ "version": "0.0.49-rc.0",
4
4
  "author": "OneReach.ai",
5
5
  "main": "dist/types/index.types.js",
6
6
  "types": "dist/types/index.types.d.ts",