@onereach/types-hitl-api 1.0.9-rc.0 → 1.0.9-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.
@@ -145,10 +145,8 @@ export interface ISessionSearchGroupedByContactsOptions {
145
145
  export interface ISearchSessionsGroupedByContactsOptions {
146
146
  readonly accountId: string;
147
147
  readonly agentId: string;
148
- readonly claimedBy?: string;
149
- readonly claimedByHistory?: string;
148
+ readonly claimedBy?: string[];
150
149
  readonly tags?: string[] | ITagsQuery;
151
- readonly status?: string[];
152
150
  readonly needsAction?: boolean;
153
151
  readonly type?: string;
154
152
  readonly meta?: Record<string, string | boolean | number | IMetaWithCondition>;
@@ -240,7 +238,7 @@ export type IBulkCloseSessionsQuery = ITargetAccountId & ITargetUserId;
240
238
  export interface IBulkCloseSessionsBody {
241
239
  readonly sessionIds: string[];
242
240
  }
243
- export interface IInitConversationQuery extends ITargetAccountId {
241
+ export interface IInitConversationQuery extends ITargetAccountId, ITargetUserId {
244
242
  readonly triggerId: string;
245
243
  readonly contactId: string;
246
244
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/types-hitl-api",
3
- "version": "1.0.9-rc.0",
3
+ "version": "1.0.9-rc.2",
4
4
  "author": "OneReach.ai",
5
5
  "main": "dist/types/index.types.js",
6
6
  "types": "dist/types/index.types.d.ts",