@onereach/types-hitl-api 0.0.32-rc.1 → 0.0.32-rc.10

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.
@@ -40,6 +40,10 @@ export declare enum APP_ERROR_TYPE {
40
40
  /** These events are received by clients, usually using WebSocket */
41
41
  export declare const BROADCAST_EVENTS: {
42
42
  ADD_EVENTS: string;
43
- CLOSE_HITL_SESSION: string;
44
- UPSERT_HITL_SESSION: string;
43
+ CLOSE_SESSION: string;
44
+ UPSERT_SESSION: string;
45
+ NOTIFY_AGENTS: string;
46
+ MULTI_ACTION: string;
47
+ START_CALL: string;
48
+ UPSERT_CONFERENCE_MEMBER: string;
45
49
  };
@@ -48,7 +48,11 @@ var APP_ERROR_TYPE;
48
48
  /** These events are received by clients, usually using WebSocket */
49
49
  exports.BROADCAST_EVENTS = {
50
50
  ADD_EVENTS: 'ADD_EVENTS',
51
- CLOSE_HITL_SESSION: 'CLOSE_HITL_SESSION',
52
- UPSERT_HITL_SESSION: 'UPSERT_HITL_SESSION',
51
+ CLOSE_SESSION: 'CLOSE_SESSION',
52
+ UPSERT_SESSION: 'UPSERT_SESSION',
53
+ NOTIFY_AGENTS: 'NOTIFY_AGENTS',
54
+ MULTI_ACTION: 'MULTI_ACTION',
55
+ START_CALL: 'START_CALL',
56
+ UPSERT_CONFERENCE_MEMBER: 'UPSERT_CONFERENCE_MEMBER',
53
57
  };
54
58
  //# sourceMappingURL=api.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/constants/api.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,6BAAa,CAAA;IACb,mCAAmB,CAAA;AACrB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;AACnB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,kBAaX;AAbD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,6CAAuB,CAAA;IACvB,yCAAmB,CAAA;IACnB,6CAAuB,CAAA;IACvB,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,mCAAa,CAAA;IACb,qDAA+B,CAAA;IAC/B,mDAA6B,CAAA;IAC7B,yCAAmB,CAAA;AACrB,CAAC,EAbW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAa7B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,6CAAyB,CAAA;AAC3B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,cASX;AATD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,6CAA2B,CAAA;IAC3B,2CAAyB,CAAA;IACzB,uDAAqC,CAAA;IACrC,uDAAqC,CAAA;IACrC,mEAAiD,CAAA;IACjD,6DAA2C,CAAA;AAC7C,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB;AAED,oEAAoE;AACvD,QAAA,gBAAgB,GAAG;IAC9B,UAAU,EAAE,YAAY;IACxB,kBAAkB,EAAE,oBAAoB;IACxC,mBAAmB,EAAE,qBAAqB;CAC3C,CAAC"}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/constants/api.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,6BAAa,CAAA;IACb,mCAAmB,CAAA;AACrB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;AACnB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,kBAaX;AAbD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,6CAAuB,CAAA;IACvB,yCAAmB,CAAA;IACnB,6CAAuB,CAAA;IACvB,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,mCAAa,CAAA;IACb,qDAA+B,CAAA;IAC/B,mDAA6B,CAAA;IAC7B,yCAAmB,CAAA;AACrB,CAAC,EAbW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAa7B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,6CAAyB,CAAA;AAC3B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,cASX;AATD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,6CAA2B,CAAA;IAC3B,2CAAyB,CAAA;IACzB,uDAAqC,CAAA;IACrC,uDAAqC,CAAA;IACrC,mEAAiD,CAAA;IACjD,6DAA2C,CAAA;AAC7C,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB;AAED,oEAAoE;AACvD,QAAA,gBAAgB,GAAG;IAC9B,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,aAAa,EAAE,eAAe;IAC9B,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,wBAAwB,EAAE,0BAA0B;CACrD,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface IApplyCommandQuery {
2
+ readonly command: string;
3
+ readonly sessionId: string;
4
+ }
5
+ export interface IApplyCommandBody {
6
+ readonly data?: object;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../../src/interfaces/api/commands.ts"],"names":[],"mappings":""}
@@ -15,10 +15,26 @@ export interface ITargetAccountId {
15
15
  export interface ITargetUserId {
16
16
  readonly agentId?: string;
17
17
  }
18
+ /** Common names for a property that references session */
19
+ export declare type ITargetSessionId = Partial<ISessionId>;
20
+ export interface ISessionId {
21
+ readonly sessionId: string;
22
+ }
18
23
  export interface IPageOptions {
19
24
  readonly gt?: string;
20
25
  readonly gte?: string;
21
26
  readonly lt?: string;
22
27
  readonly lte?: string;
23
- readonly uniqueId?: string;
28
+ readonly nextId?: string;
29
+ }
30
+ /**
31
+ * Wrap array responses in "data" property,
32
+ * so we can introduce pagination later if needed.
33
+ */
34
+ export interface ICommonArrayResponse<T = object> {
35
+ readonly data: T[];
24
36
  }
37
+ /** Dates are serialized into strings when sent by network */
38
+ export declare type IDateToString<T> = {
39
+ [Property in keyof T]: T[Property] extends Date | undefined ? string : T[Property];
40
+ };
@@ -27,3 +27,15 @@ export interface ICleanUpConferenceQuery extends ITargetAccountId {
27
27
  readonly memberId?: string;
28
28
  readonly hitlSessionId?: string;
29
29
  }
30
+ export interface IControls {
31
+ readonly hold: boolean;
32
+ readonly mute: boolean;
33
+ readonly add: boolean;
34
+ }
35
+ export interface ICallData {
36
+ readonly contactId: string;
37
+ readonly from: string;
38
+ readonly onHold: boolean;
39
+ readonly muted: boolean;
40
+ readonly controls: IControls;
41
+ }
@@ -0,0 +1,21 @@
1
+ export interface IIdentifier {
2
+ readonly val: string;
3
+ readonly type: string[];
4
+ }
5
+ export interface IContact {
6
+ readonly contactId: string;
7
+ readonly name?: string;
8
+ readonly firstName?: string;
9
+ readonly lastName?: string;
10
+ readonly companyName?: string;
11
+ readonly phoneNumbers?: IIdentifier[];
12
+ readonly emails?: IIdentifier[];
13
+ readonly visibilityTags?: string[];
14
+ readonly tags?: string[];
15
+ }
16
+ export interface ICleanUpDuplicatesResponse {
17
+ [key: string]: {
18
+ originalContactId: string;
19
+ delContactIds: string[];
20
+ };
21
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/interfaces/api/helpers.ts"],"names":[],"mappings":""}
@@ -12,3 +12,5 @@ export * as Sessions from './sessions';
12
12
  export * as SessionEvents from './session-events';
13
13
  export * as ReadEvents from './read-events';
14
14
  export * as Meta from './meta';
15
+ export * as Commands from './commands';
16
+ export * as Helpers from './helpers';
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.Meta = exports.ReadEvents = exports.SessionEvents = exports.Sessions = exports.Listeners = exports.CannedMessages = exports.Filters = exports.Conferences = exports.EventTemplates = exports.RuleGroups = exports.Agents = exports.Migrations = exports.Settings = void 0;
29
+ exports.Helpers = exports.Commands = exports.Meta = exports.ReadEvents = exports.SessionEvents = exports.Sessions = exports.Listeners = exports.CannedMessages = exports.Filters = exports.Conferences = exports.EventTemplates = exports.RuleGroups = exports.Agents = exports.Migrations = exports.Settings = void 0;
30
30
  __exportStar(require("./common"), exports);
31
31
  exports.Settings = __importStar(require("./settings"));
32
32
  exports.Migrations = __importStar(require("./migrations"));
@@ -41,4 +41,6 @@ exports.Sessions = __importStar(require("./sessions"));
41
41
  exports.SessionEvents = __importStar(require("./session-events"));
42
42
  exports.ReadEvents = __importStar(require("./read-events"));
43
43
  exports.Meta = __importStar(require("./meta"));
44
+ exports.Commands = __importStar(require("./commands"));
45
+ exports.Helpers = __importStar(require("./helpers"));
44
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interfaces/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,uDAAuC;AACvC,2DAA2C;AAC3C,mDAAmC;AACnC,4DAA4C;AAC5C,oEAAoD;AACpD,6DAA6C;AAC7C,qDAAqC;AACrC,oEAAoD;AACpD,yDAAyC;AACzC,uDAAuC;AACvC,kEAAkD;AAClD,4DAA4C;AAC5C,+CAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interfaces/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,uDAAuC;AACvC,2DAA2C;AAC3C,mDAAmC;AACnC,4DAA4C;AAC5C,oEAAoD;AACpD,6DAA6C;AAC7C,qDAAqC;AACrC,oEAAoD;AACpD,yDAAyC;AACzC,uDAAuC;AACvC,kEAAkD;AAClD,4DAA4C;AAC5C,+CAA+B;AAC/B,uDAAuC;AACvC,qDAAqC"}
@@ -1,5 +1,5 @@
1
1
  import { ChannelType } from '@onereach/orbes/services/channels/channel';
2
- import { ITargetAccountId, ITargetUserId, ITimestamps } from './common';
2
+ import { ITargetAccountId, ITargetUserId, ITimestamps, ICommonArrayResponse } from './common';
3
3
  export interface IListener extends ITimestamps {
4
4
  readonly callbackId: string;
5
5
  readonly callback: IListenerCallback;
@@ -22,19 +22,14 @@ export declare enum CALLBACK_TYPE {
22
22
  EVENT = "event",
23
23
  APPS = "apps"
24
24
  }
25
- export interface IGetListenersQuery extends ITargetAccountId, ITargetUserId {
26
- readonly callbackId?: string;
27
- }
28
- export interface IGetListenersResponse {
29
- readonly data: IListener[];
25
+ export declare type ITargetCallbackId = Partial<ICallbackId>;
26
+ export interface ICallbackId {
27
+ readonly callbackId: string;
30
28
  }
29
+ export declare type IGetListenersQuery = ITargetAccountId & ITargetUserId;
30
+ export declare type IGetListenersResponse = ICommonArrayResponse<IListener>;
31
31
  export declare type ICreateListenerQuery = ITargetAccountId & ITargetUserId;
32
- export declare type ICreateListenerBody = Pick<IListener, 'callback'> & Pick<Partial<IListener>, 'type' | 'version' | 'sessionIds'>;
33
- export declare type IUpdateListenerParams = Pick<IListener, 'callbackId'>;
34
- export declare type IUpdateListenerQuery = ITargetAccountId;
32
+ export declare type ICreateListenerBody = {
33
+ callback: Partial<IListenerCallback>;
34
+ } & Pick<Partial<IListener>, 'type' | 'version' | 'sessionIds'>;
35
35
  export declare type IUpdateListenerBody = Pick<IListener, 'sessionIds'>;
36
- export declare type IUpdateListenerOptions = IUpdateListenerParams & IUpdateListenerBody;
37
- export declare type IDeleteListenerQuery = ITargetAccountId;
38
- export interface IDeleteListenerParams {
39
- readonly callbackId: string;
40
- }
@@ -1 +1 @@
1
- {"version":3,"file":"listeners.js","sourceRoot":"","sources":["../../../../src/interfaces/api/listeners.ts"],"names":[],"mappings":";;;AAsBA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,sCAAqB,CAAA;IACrB,gCAAe,CAAA;IACf,8BAAa,CAAA;AACf,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB"}
1
+ {"version":3,"file":"listeners.js","sourceRoot":"","sources":["../../../../src/interfaces/api/listeners.ts"],"names":[],"mappings":";;;AA2BA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,sCAAqB,CAAA;IACrB,gCAAe,CAAA;IACf,8BAAa,CAAA;AACf,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB"}
@@ -5,11 +5,11 @@ export interface IReadEvent {
5
5
  readonly eventTimestamp: Date;
6
6
  readonly sessionId: string;
7
7
  }
8
- export declare type IGetNewEventsAmountQuery = ITargetAccountId & ITargetUserId;
9
- export interface IGetNewEventsAmountBody {
8
+ export declare type IGetNewEventsCountQuery = ITargetAccountId & ITargetUserId;
9
+ export interface IGetNewEventsCountBody {
10
10
  readonly sessionIds: string[];
11
11
  }
12
- export interface IGetNewEventsAmountResponse {
12
+ export interface IGetNewEventsCountResponse {
13
13
  readonly data: {
14
14
  readonly [sessionId: string]: {
15
15
  nEvents: number;
@@ -20,5 +20,5 @@ export declare type ISaveLastReadEventQuery = ITargetAccountId & ITargetUserId;
20
20
  export interface ISaveLastReadEventBody {
21
21
  readonly sessionId: string;
22
22
  readonly eventId: string;
23
- readonly eventTimestamp: string;
23
+ readonly eventTimestamp: string | number;
24
24
  }
@@ -1,4 +1,4 @@
1
- import { ITargetAccountId, JSONType } from './common';
1
+ import { ITargetAccountId, ISessionId, ICommonArrayResponse, JSONType } from './common';
2
2
  export interface ISessionEvent {
3
3
  readonly eventId: string;
4
4
  readonly accountId?: string;
@@ -16,9 +16,10 @@ export interface ISessionEvent {
16
16
  readonly transactionId?: string;
17
17
  readonly version?: number;
18
18
  }
19
- export interface IGetSessionEventsQuery extends ITargetAccountId {
20
- readonly sessionId: string;
21
- }
22
- export interface IGetSessionEventsResponse {
23
- readonly data: ISessionEvent[];
19
+ export declare type IGetSessionEventsQuery = ITargetAccountId & ISessionId;
20
+ export declare type IGetSessionEventsResponse = ICommonArrayResponse<ISessionEvent>;
21
+ export declare type IAddEventsBySessionIdQuery = ITargetAccountId & ISessionId;
22
+ export interface IAddEventsBySessionIdBody {
23
+ readonly events: Partial<ISessionEvent>[];
24
24
  }
25
+ export declare type IAddEventsBySessionIdResponse = ICommonArrayResponse<ISessionEvent>;
@@ -1,5 +1,5 @@
1
1
  import { ITriggersResponse } from '@onereach/sdk';
2
- import { JSONType, ITimestamps, ITargetAccountId, ITargetUserId, IPageOptions } from './common';
2
+ import { ITimestamps, ITargetAccountId, ITargetUserId, IPageOptions, JSONType } from './common';
3
3
  import { SESSION_STATUS } from '@/constants/api';
4
4
  export interface ISession extends ITimestamps {
5
5
  readonly hitlSessionId: string;
@@ -31,12 +31,13 @@ export interface ICommand {
31
31
  readonly name: string;
32
32
  readonly ruleTags: string[];
33
33
  readonly allowUnclaimed: boolean;
34
+ readonly visibility?: 'default' | 'api';
34
35
  }
35
- interface ICommandParam {
36
+ export interface ICommandParam {
36
37
  readonly properties: ICommandParamProperties;
37
38
  readonly name: string;
38
39
  }
39
- interface ICommandParamProperties {
40
+ export interface ICommandParamProperties {
40
41
  readonly source: string;
41
42
  readonly type: string;
42
43
  readonly options: string[];
@@ -44,7 +45,7 @@ interface ICommandParamProperties {
44
45
  }
45
46
  export interface IGetSessionByIdOptions {
46
47
  readonly accountId: string;
47
- readonly hitlSessionId: string;
48
+ readonly sessionId: string;
48
49
  readonly agentId: string;
49
50
  readonly projection?: string[];
50
51
  }
@@ -59,12 +60,12 @@ export interface IGetSessionsOptions {
59
60
  readonly orderBy?: string;
60
61
  readonly page?: IPageOptions;
61
62
  }
62
- export declare type IGetSessionsQuery = IGetSessionByIdOptions & IGetSessionsOptions & ITargetAccountId & ITargetUserId;
63
+ export declare type IGetSessionsQuery = Partial<IGetSessionsOptions>;
64
+ export declare type IGetSessionByIdQuery = Partial<Omit<IGetSessionByIdOptions, 'sessionId'>>;
63
65
  export interface IGetSessionsResponse {
64
66
  readonly data: ISession[];
65
67
  readonly page?: {
66
68
  readonly value?: string;
67
- readonly uniqueId?: string;
68
69
  readonly nextId?: string;
69
70
  };
70
71
  }
@@ -101,17 +102,17 @@ export interface ISearchSessionsOptions {
101
102
  readonly meta?: Record<string, string>;
102
103
  readonly sessionsSearchOptions?: ISessionSearchOptions;
103
104
  }
104
- export declare type ISearchSessionsQuery = ISearchSessionsOptions & ITargetAccountId & ITargetUserId;
105
+ export declare type ISearchSessionsQuery = ITargetAccountId & ITargetUserId;
106
+ export declare type ISearchSessionsBody = Omit<ISearchSessionsOptions, 'accountId' | 'agentId'>;
105
107
  export interface ISearchSessionsWithContactsResponse {
106
108
  readonly data: ISession[];
107
109
  readonly page?: {
108
110
  readonly value?: string;
109
- readonly uniqueId?: string;
110
111
  readonly nextId?: string;
111
112
  };
112
113
  readonly contacts: {
113
- data: object[];
114
- total: number;
114
+ readonly data: object[];
115
+ readonly total: number;
115
116
  };
116
117
  }
117
118
  export interface IContactSearchParams {
@@ -130,19 +131,18 @@ export interface ISearchSessionsWithContactsOptions {
130
131
  readonly sessionsSearchOptions?: ISessionSearchOptions;
131
132
  readonly contactsSearchOptions?: IContactSearchOptions;
132
133
  }
133
- export declare type ISearchSessionsWithContactsQuery = ISearchSessionsWithContactsOptions & ITargetAccountId & ITargetUserId;
134
+ export declare type ISearchSessionsWithContactsQuery = ITargetAccountId & ITargetUserId;
135
+ export declare type ISearchSessionsWithContactsBody = Omit<ISearchSessionsWithContactsOptions, 'accountId' | 'agentId'>;
134
136
  export interface IGetQueueSessionOptions {
135
137
  readonly accountId: string;
136
138
  readonly agentId: string;
137
139
  readonly ruleTags?: string[];
138
140
  }
141
+ export declare type IGetQueueSessionQuery = Partial<IGetQueueSessionOptions> & ITargetAccountId;
139
142
  export interface IGetQueueSessionResponse {
140
143
  readonly data: ISession | null;
141
144
  }
142
- export declare type IGetQueueSessionQuery = IGetQueueSessionOptions & ITargetAccountId;
143
- export interface ISessionActionParams {
144
- readonly sessionId?: string;
145
- }
145
+ export declare type IGetInitTriggersResponse = ITriggersResponse[];
146
146
  export interface IClaimSessionQuery extends ITargetAccountId {
147
147
  readonly claimBy?: string[];
148
148
  }
@@ -153,5 +153,13 @@ export declare type ITransferToBotQuery = ITargetAccountId & ITargetUserId;
153
153
  export interface ITransferToBotBody {
154
154
  readonly params?: object;
155
155
  }
156
- export declare type IGetInitTriggersResponse = ITriggersResponse[];
157
- export {};
156
+ export interface IUpdateSessionBody {
157
+ readonly tags?: string[];
158
+ }
159
+ export interface IInitConversationQuery extends ITargetAccountId {
160
+ readonly triggerId: string;
161
+ readonly contactId: string;
162
+ }
163
+ export interface IInitConversationBody {
164
+ readonly params?: object;
165
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/types-hitl-api",
3
- "version": "0.0.32-rc.1",
3
+ "version": "0.0.32-rc.10",
4
4
  "author": "OneReach.ai",
5
5
  "main": "dist/types/index.types.js",
6
6
  "types": "dist/types/index.types.d.ts",