@onereach/types-hitl-api 0.0.30-rc.6 → 0.0.30-rc.9

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.
@@ -15,7 +15,7 @@ export interface IListenerCallback {
15
15
  readonly name?: string;
16
16
  readonly v: 0;
17
17
  readonly appId?: string;
18
- readonly deviceId?: number;
18
+ readonly deviceId?: number | string;
19
19
  }
20
20
  export declare enum CALLBACK_TYPE {
21
21
  CALLBACK = "callback",
@@ -127,4 +127,13 @@ export interface ISearchSessionsWithContactsOptions {
127
127
  readonly contactsSearchOptions?: IContactSearchOptions;
128
128
  }
129
129
  export declare type ISearchSessionsWithContactsQuery = ISearchSessionsWithContactsOptions & ITargetAccountId & ITargetUserId;
130
+ export interface IGetQueueSessionOptions {
131
+ readonly accountId: string;
132
+ readonly agentId: string;
133
+ readonly ruleTags?: string[];
134
+ }
135
+ export interface IGetQueueSessionResponse {
136
+ readonly data: ISession | null;
137
+ }
138
+ export declare type IGetQueueSessionQuery = IGetQueueSessionOptions & ITargetAccountId;
130
139
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/types-hitl-api",
3
- "version": "0.0.30-rc.6",
3
+ "version": "0.0.30-rc.9",
4
4
  "author": "OneReach.ai",
5
5
  "main": "dist/types/index.types.js",
6
6
  "types": "dist/types/index.types.d.ts",