@or-sdk/hitl 0.33.5-beta.1101.0 → 0.33.5-beta.1128.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.
|
@@ -2,16 +2,23 @@ import { ISessionId, Sessions, IDateToString } from '@onereach/types-hitl-api';
|
|
|
2
2
|
import { ApiVersionOptions, NoAccountId } from './common';
|
|
3
3
|
export type Session = IDateToString<Sessions.ISession>;
|
|
4
4
|
export type TransferToBot = Sessions.ITransferToBot;
|
|
5
|
+
export type TriggersResponse = Sessions.ITriggersResponse;
|
|
5
6
|
export type Command = Sessions.ICommand;
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
7
|
+
export type CommandParam = Sessions.ICommandParam;
|
|
8
|
+
export type CommandParamProperties = Sessions.ICommandParamProperties;
|
|
8
9
|
export type GetSessionsOptions = ApiVersionOptions & NoAccountId<Sessions.IGetSessionsQuery>;
|
|
9
|
-
export
|
|
10
|
+
export interface GetSessionsResponse extends Omit<Sessions.IGetSessionsResponse, 'data'> {
|
|
11
|
+
data: Session[];
|
|
12
|
+
}
|
|
10
13
|
export type GetSessionByIdOptions = ApiVersionOptions & ISessionId & NoAccountId<Sessions.IGetSessionByIdQuery>;
|
|
11
14
|
export type SearchSessionsOptions = ApiVersionOptions & NoAccountId<Sessions.ISearchSessionsQuery> & Sessions.ISearchSessionsBody;
|
|
12
|
-
export
|
|
15
|
+
export interface SearchSessionsResponse extends Omit<Sessions.IGetSessionsResponse, 'data'> {
|
|
16
|
+
data: Session[];
|
|
17
|
+
}
|
|
13
18
|
export type SearchSessionsWithContactsOptions = ApiVersionOptions & NoAccountId<Sessions.ISearchSessionsWithContactsQuery> & Sessions.ISearchSessionsWithContactsBody;
|
|
14
|
-
export
|
|
19
|
+
export interface SearchSessionsWithContactsResponse extends Omit<Sessions.ISearchSessionsWithContactsResponse, 'data'> {
|
|
20
|
+
data: Session[];
|
|
21
|
+
}
|
|
15
22
|
export type GetQueueSessionOptions = ApiVersionOptions & NoAccountId<Sessions.IGetQueueSessionQuery>;
|
|
16
23
|
export type GetQueueSessionResponse = Sessions.IGetQueueSessionResponse;
|
|
17
24
|
export type ClaimSessionByAgentOptions = ApiVersionOptions & ISessionId & NoAccountId<Sessions.IClaimSessionQuery> & Sessions.IClaimSessionBody;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../../../src/types/sessions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE1D,MAAM,MAAM,OAAO,GAAG,aAAa,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AACvD,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,cAAc,CAAC;AACpD,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC,QAAQ,CAAC;AACxC,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../../../src/types/sessions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE1D,MAAM,MAAM,OAAO,GAAG,aAAa,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AACvD,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,cAAc,CAAC;AACpD,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,iBAAiB,CAAC;AAC1D,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC,QAAQ,CAAC;AACxC,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC;AAClD,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,uBAAuB,CAAC;AAG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AAC;AAEhC,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,GACpD,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,qBAAqB,CAAC;AAEnC,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAChD,UAAU,GACV,QAAQ,CAAC,kBAAkB,CAAC;AAEhC,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG,UAAU,CAAC;AAEjE,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;AACvD,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,wBAAwB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/hitl",
|
|
3
|
-
"version": "0.33.5-beta.
|
|
3
|
+
"version": "0.33.5-beta.1128.0",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"dev": "pnpm build:watch:esm"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@onereach/types-hitl-api": "0.0.41-rc.
|
|
21
|
-
"@or-sdk/base": "^0.28.
|
|
20
|
+
"@onereach/types-hitl-api": "0.0.41-rc.6",
|
|
21
|
+
"@or-sdk/base": "^0.28.1",
|
|
22
22
|
"@types/lodash": "^4.14.191",
|
|
23
23
|
"@types/urijs": "^1.19.18",
|
|
24
24
|
"urijs": "^1.19.8"
|
package/src/types/sessions.ts
CHANGED
|
@@ -3,14 +3,18 @@ import { ApiVersionOptions, NoAccountId } from './common';
|
|
|
3
3
|
|
|
4
4
|
export type Session = IDateToString<Sessions.ISession>;
|
|
5
5
|
export type TransferToBot = Sessions.ITransferToBot;
|
|
6
|
+
export type TriggersResponse = Sessions.ITriggersResponse;
|
|
6
7
|
export type Command = Sessions.ICommand;
|
|
7
|
-
export type
|
|
8
|
-
export type
|
|
8
|
+
export type CommandParam = Sessions.ICommandParam;
|
|
9
|
+
export type CommandParamProperties = Sessions.ICommandParamProperties;
|
|
9
10
|
|
|
10
11
|
/* eslint-disable @typescript-eslint/indent */
|
|
11
12
|
export type GetSessionsOptions = ApiVersionOptions
|
|
12
13
|
& NoAccountId<Sessions.IGetSessionsQuery>;
|
|
13
|
-
|
|
14
|
+
|
|
15
|
+
export interface GetSessionsResponse extends Omit<Sessions.IGetSessionsResponse, 'data'> {
|
|
16
|
+
data: Session[];
|
|
17
|
+
}
|
|
14
18
|
|
|
15
19
|
export type GetSessionByIdOptions = ApiVersionOptions
|
|
16
20
|
& ISessionId
|
|
@@ -19,13 +23,16 @@ export type GetSessionByIdOptions = ApiVersionOptions
|
|
|
19
23
|
export type SearchSessionsOptions = ApiVersionOptions
|
|
20
24
|
& NoAccountId<Sessions.ISearchSessionsQuery>
|
|
21
25
|
& Sessions.ISearchSessionsBody;
|
|
22
|
-
export
|
|
26
|
+
export interface SearchSessionsResponse extends Omit<Sessions.IGetSessionsResponse, 'data'> {
|
|
27
|
+
data: Session[];
|
|
28
|
+
}
|
|
23
29
|
|
|
24
30
|
export type SearchSessionsWithContactsOptions = ApiVersionOptions
|
|
25
31
|
& NoAccountId<Sessions.ISearchSessionsWithContactsQuery>
|
|
26
32
|
& Sessions.ISearchSessionsWithContactsBody;
|
|
27
|
-
export
|
|
28
|
-
|
|
33
|
+
export interface SearchSessionsWithContactsResponse extends Omit<Sessions.ISearchSessionsWithContactsResponse, 'data'> {
|
|
34
|
+
data: Session[];
|
|
35
|
+
}
|
|
29
36
|
|
|
30
37
|
export type GetQueueSessionOptions = ApiVersionOptions
|
|
31
38
|
& NoAccountId<Sessions.IGetQueueSessionQuery>;
|