@onereach/types-hitl-api 0.0.48-rc.1 → 0.0.48-rc.2

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.
@@ -9,6 +9,7 @@ export interface IFilter<T = any> extends ITimestamps {
9
9
  }
10
10
  export interface IGetFiltersQuery extends ITargetAccountId, ITargetUserId {
11
11
  readonly id?: string;
12
+ readonly isCommon?: boolean;
12
13
  }
13
14
  export interface IGetFiltersResponse {
14
15
  readonly data: IFilter[];
@@ -21,6 +22,12 @@ export declare type IUpdateFilterQuery = ITargetAccountId;
21
22
  export interface IUpdateFilterBody extends Partial<ICreateFilterBody> {
22
23
  readonly id: string;
23
24
  }
25
+ export interface IBulkUpdateFiltersBody {
26
+ readonly filters: IUpdateFilterBody[];
27
+ }
28
+ export interface IBulkUpdateFiltersResponse {
29
+ readonly data: IFilter[];
30
+ }
24
31
  export interface IDeleteFilterQuery extends ITargetAccountId {
25
32
  readonly id: string;
26
33
  }
@@ -97,6 +97,7 @@ export interface ISearchSessionsOptions {
97
97
  readonly agentId: string;
98
98
  readonly dateRange?: IDateRangeOptions;
99
99
  readonly claimedBy?: string;
100
+ readonly claimedByHistory?: string;
100
101
  readonly tags?: string[];
101
102
  readonly status?: string[];
102
103
  readonly needsAction?: boolean;
@@ -1,4 +1,4 @@
1
- import { ITargetAccountId } from './common';
1
+ import { ITargetAccountId, ITargetUserId } from './common';
2
2
  export interface ISettings<Data = any> {
3
3
  readonly category: string;
4
4
  readonly categoryItemId: string;
@@ -6,7 +6,7 @@ export interface ISettings<Data = any> {
6
6
  readonly ruleTags: string[];
7
7
  readonly data: Data;
8
8
  }
9
- export interface IUpdateSettingsQuery extends ITargetAccountId {
9
+ export interface IUpdateSettingsQuery extends ITargetAccountId, ITargetUserId {
10
10
  readonly isCommon?: boolean;
11
11
  }
12
12
  export interface IGetSettingsQuery extends IUpdateSettingsQuery {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/types-hitl-api",
3
- "version": "0.0.48-rc.1",
3
+ "version": "0.0.48-rc.2",
4
4
  "author": "OneReach.ai",
5
5
  "main": "dist/types/index.types.js",
6
6
  "types": "dist/types/index.types.d.ts",