@telia-ace/conversational-hub-bot-provider 1.3.30 → 1.3.31-rc.3

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.
@@ -1,2 +1,2 @@
1
- declare const _default: import("@webprovisions/platform").ConfigurationApiDefinition;
1
+ declare const _default: import('@webprovisions/platform').ConfigurationApiDefinition;
2
2
  export default _default;
@@ -1,3 +1,4 @@
1
1
  import { Container } from '@webprovisions/platform';
2
2
  import { MessageGroup, ServerEntry } from './types';
3
+
3
4
  export declare const processEntries: (container: Container, entries: ServerEntry[], prevGroup?: MessageGroup) => Promise<MessageGroup[]>;
package/http-client.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Container, EventManager } from '@webprovisions/platform';
2
- import Store from './store';
2
+ import { default as Store } from './store';
3
3
  import { MessageGroup } from './types';
4
+
4
5
  declare class HttpClient {
5
6
  private endpoint;
6
7
  private events;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/conversational-hub-bot-provider",
3
- "version": "1.3.30",
3
+ "version": "1.3.31-rc.3",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -10,16 +10,16 @@
10
10
  }
11
11
  },
12
12
  "dependencies": {
13
- "@telia-ace/widget-conversation": "^1.3.30",
13
+ "@telia-ace/widget-conversation": "^1.3.31-rc.3",
14
14
  "@webprovisions/platform": "^1.1.4",
15
- "@telia-ace/knowledge-widget-core": "^1.3.30",
16
- "@telia-ace/widget-utilities": "^1.3.30",
17
- "@telia-ace/widget-services": "^1.3.30",
18
- "@telia-ace/widget-core": "^1.3.30",
19
- "@telia-ace/knowledge-data-client": "^1.3.30",
20
- "@telia-ace/knowledge-widget-adapters": "^1.3.30",
21
- "@telia-ace/knowledge-widget-ui": "^1.3.30",
22
- "@telia-ace/widget-forms": "^1.3.30"
15
+ "@telia-ace/knowledge-widget-core": "^1.3.31-rc.3",
16
+ "@telia-ace/widget-utilities": "^1.3.31-rc.3",
17
+ "@telia-ace/widget-services": "^1.3.31-rc.3",
18
+ "@telia-ace/widget-core": "^1.3.31-rc.3",
19
+ "@telia-ace/knowledge-data-client": "^1.3.31-rc.3",
20
+ "@telia-ace/knowledge-widget-adapters": "^1.3.31-rc.3",
21
+ "@telia-ace/knowledge-widget-ui": "^1.3.31-rc.3",
22
+ "@telia-ace/widget-forms": "^1.3.31-rc.3"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@emotion/react": "11.11.1",
package/plugin.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Container } from '@webprovisions/platform';
2
+
2
3
  /**
3
4
  * Plugin for communicating with Webconnector API 1.0 in Conversational Hub.
4
5
  */
package/store.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Container } from '@webprovisions/platform';
2
2
  import { GlobalState, LooseObject, ServerEntry } from './types';
3
+
3
4
  type MetaData = {
4
5
  agent: {
5
6
  name: string;
package/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { ConversationMessageListItemType } from '@telia-ace/widget-conversation';
1
+ import { ConversationMessageListItemType } from '../../../conversation/src/index.ts';
2
+
2
3
  export type AgentResponse = {
3
4
  language: string;
4
5
  type: string;
@@ -1,5 +1,6 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { ActionItem } from '../types';
3
+
3
4
  type Props = {
4
5
  actions: ActionItem[];
5
6
  contactMethodIds?: string[];
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  type Props = {
3
4
  contactMethodId: string;
4
5
  groupId: string;
package/utils.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- import { ContactMethodType } from '@telia-ace/knowledge-widget-adapters';
2
- import { ConversationMessageListItemType } from '@telia-ace/widget-conversation';
1
+ import { ContactMethodType } from '../../../knowledge/adapters/src/index.ts';
2
+ import { ConversationMessageListItemType } from '../../../conversation/src/index.ts';
3
3
  import { Container } from '@webprovisions/platform';
4
- import { ComponentNodeController } from '@telia-ace/widget-core';
4
+ import { ComponentNodeController } from '../../../core/src/index.ts';
5
5
  import { CustomMessageTypes, MessageGroup, MessageGroupItem, ServerEntry } from './types';
6
+
6
7
  export declare const createGroup: ({ isUser, items, meta, }: {
7
8
  isUser: boolean;
8
9
  items?: Partial<MessageGroupItem>[] | undefined;