@or-sdk/hitl 0.33.5-beta.1129.0 → 0.33.5-beta.1142.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,23 +2,16 @@ 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;
6
5
  export type Command = Sessions.ICommand;
7
- export type CommandParam = Sessions.ICommandParam;
8
- export type CommandParamProperties = Sessions.ICommandParamProperties;
6
+ export type ICommandParam = Sessions.ICommandParam;
7
+ export type ICommandParamProperties = Sessions.ICommandParamProperties;
9
8
  export type GetSessionsOptions = ApiVersionOptions & NoAccountId<Sessions.IGetSessionsQuery>;
10
- export interface GetSessionsResponse extends Omit<Sessions.IGetSessionsResponse, 'data'> {
11
- data: Session[];
12
- }
9
+ export type GetSessionsResponse = Sessions.IGetSessionsResponse;
13
10
  export type GetSessionByIdOptions = ApiVersionOptions & ISessionId & NoAccountId<Sessions.IGetSessionByIdQuery>;
14
11
  export type SearchSessionsOptions = ApiVersionOptions & NoAccountId<Sessions.ISearchSessionsQuery> & Sessions.ISearchSessionsBody;
15
- export interface SearchSessionsResponse extends Omit<Sessions.IGetSessionsResponse, 'data'> {
16
- data: Session[];
17
- }
12
+ export type SearchSessionsResponse = Sessions.IGetSessionsResponse;
18
13
  export type SearchSessionsWithContactsOptions = ApiVersionOptions & NoAccountId<Sessions.ISearchSessionsWithContactsQuery> & Sessions.ISearchSessionsWithContactsBody;
19
- export interface SearchSessionsWithContactsResponse extends Omit<Sessions.ISearchSessionsWithContactsResponse, 'data'> {
20
- data: Session[];
21
- }
14
+ export type SearchSessionsWithContactsResponse = Sessions.ISearchSessionsWithContactsResponse;
22
15
  export type GetQueueSessionOptions = ApiVersionOptions & NoAccountId<Sessions.IGetQueueSessionQuery>;
23
16
  export type GetQueueSessionResponse = Sessions.IGetQueueSessionResponse;
24
17
  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,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;AAGtE,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAC9C,WAAW,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;AAE5C,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtF,IAAI,EAAE,OAAO,EAAE,CAAC;CACjB;AAED,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,GACjD,UAAU,GACV,WAAW,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;AAE/C,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,GACjD,WAAW,CAAC,QAAQ,CAAC,oBAAoB,CAAC,GAC1C,QAAQ,CAAC,mBAAmB,CAAC;AACjC,MAAM,WAAW,sBAAuB,SAAQ,IAAI,C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U,GACV,WAAW,CAAC,QAAQ,CAAC,kBAAkB,CAAC,GACxC,QAAQ,CAAC,iBAAiB,CAAC;AAE/B,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAChD,UAAU,GACV,WAAW,CAAC,QAAQ,CAAC,mBAAmB,CAAC,GACzC,QAAQ,CAAC,kBAAkB,CAAC;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.1129.0",
3
+ "version": "0.33.5-beta.1142.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.6",
21
- "@or-sdk/base": "^0.28.1",
20
+ "@onereach/types-hitl-api": "0.0.41-rc.5",
21
+ "@or-sdk/base": "^0.28.2-beta.1142.0",
22
22
  "@types/lodash": "^4.14.191",
23
23
  "@types/urijs": "^1.19.18",
24
24
  "urijs": "^1.19.8"
@@ -3,18 +3,14 @@ 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;
7
6
  export type Command = Sessions.ICommand;
8
- export type CommandParam = Sessions.ICommandParam;
9
- export type CommandParamProperties = Sessions.ICommandParamProperties;
7
+ export type ICommandParam = Sessions.ICommandParam;
8
+ export type ICommandParamProperties = Sessions.ICommandParamProperties;
10
9
 
11
10
  /* eslint-disable @typescript-eslint/indent */
12
11
  export type GetSessionsOptions = ApiVersionOptions
13
12
  & NoAccountId<Sessions.IGetSessionsQuery>;
14
-
15
- export interface GetSessionsResponse extends Omit<Sessions.IGetSessionsResponse, 'data'> {
16
- data: Session[];
17
- }
13
+ export type GetSessionsResponse = Sessions.IGetSessionsResponse;
18
14
 
19
15
  export type GetSessionByIdOptions = ApiVersionOptions
20
16
  & ISessionId
@@ -23,16 +19,13 @@ export type GetSessionByIdOptions = ApiVersionOptions
23
19
  export type SearchSessionsOptions = ApiVersionOptions
24
20
  & NoAccountId<Sessions.ISearchSessionsQuery>
25
21
  & Sessions.ISearchSessionsBody;
26
- export interface SearchSessionsResponse extends Omit<Sessions.IGetSessionsResponse, 'data'> {
27
- data: Session[];
28
- }
22
+ export type SearchSessionsResponse = Sessions.IGetSessionsResponse;
29
23
 
30
24
  export type SearchSessionsWithContactsOptions = ApiVersionOptions
31
25
  & NoAccountId<Sessions.ISearchSessionsWithContactsQuery>
32
26
  & Sessions.ISearchSessionsWithContactsBody;
33
- export interface SearchSessionsWithContactsResponse extends Omit<Sessions.ISearchSessionsWithContactsResponse, 'data'> {
34
- data: Session[];
35
- }
27
+ export type SearchSessionsWithContactsResponse
28
+ = Sessions.ISearchSessionsWithContactsResponse;
36
29
 
37
30
  export type GetQueueSessionOptions = ApiVersionOptions
38
31
  & NoAccountId<Sessions.IGetQueueSessionQuery>;