@telia-ace/knowledge-widget-bot-provider 1.3.31-rc.0 → 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,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/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- import ConversationPlugin from './plugin';
1
+ import { default as ConversationPlugin } from './plugin';
2
+
2
3
  export { ConversationPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/knowledge-widget-bot-provider",
3
- "version": "1.3.31-rc.0",
3
+ "version": "1.3.31-rc.3",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -10,15 +10,15 @@
10
10
  }
11
11
  },
12
12
  "dependencies": {
13
- "@telia-ace/knowledge-data-client": "^1.3.31-rc.0",
14
- "@telia-ace/knowledge-widget-adapters": "^1.3.31-rc.0",
15
- "@telia-ace/knowledge-widget-ui": "^1.3.31-rc.0",
16
- "@telia-ace/widget-conversation": "^1.3.31-rc.0",
17
- "@telia-ace/widget-forms": "^1.3.31-rc.0",
18
- "@telia-ace/widget-services": "^1.3.31-rc.0",
19
- "@telia-ace/widget-utilities": "^1.3.31-rc.0",
13
+ "@telia-ace/knowledge-data-client": "^1.3.31-rc.3",
14
+ "@telia-ace/knowledge-widget-adapters": "^1.3.31-rc.3",
15
+ "@telia-ace/knowledge-widget-ui": "^1.3.31-rc.3",
16
+ "@telia-ace/widget-conversation": "^1.3.31-rc.3",
17
+ "@telia-ace/widget-forms": "^1.3.31-rc.3",
18
+ "@telia-ace/widget-services": "^1.3.31-rc.3",
19
+ "@telia-ace/widget-utilities": "^1.3.31-rc.3",
20
20
  "@webprovisions/platform": "^1.1.4",
21
- "@telia-ace/knowledge-widget-core": "^1.3.31-rc.0"
21
+ "@telia-ace/knowledge-widget-core": "^1.3.31-rc.3"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@emotion/react": "11.11.1",
package/plugin.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  import { Container } from '@webprovisions/platform';
2
+
2
3
  declare const KnowledgeBotProviderPlugin: (container: Container) => Promise<void>;
3
4
  export default KnowledgeBotProviderPlugin;
package/provider.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { ComponentNodeController } from '@telia-ace/knowledge-widget-core';
1
+ import { ComponentNodeController } from '../../core/src/index.ts';
2
2
  import { Container } from '@webprovisions/platform';
3
3
  import { MessageGroup } from './types';
4
+
4
5
  declare class KnowledgeBotProvider {
5
6
  private container;
6
7
  private conversation;
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 declare enum CustomMessageTypes {
3
4
  ContactMethod = "ace-knowledge-bot-contact-method",
4
5
  ContactList = "ace-knowledge-bot-contact-list",
@@ -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;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  type Props = {
3
4
  title: string;
4
5
  messageId: string;
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  type Props = {
3
4
  body: string;
4
5
  };
@@ -1,5 +1,6 @@
1
- import { Symbol } from '@telia-ace/knowledge-widget-ui';
2
- import React from 'react';
1
+ import { Symbol } from '../../../ui/src/index.ts';
2
+ import { default as React } from 'react';
3
+
3
4
  type Props = {
4
5
  id: string;
5
6
  header: string;
package/ui/styles.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Theme } from '@emotion/react';
2
+
2
3
  export declare const messageContentPadding: (p: {
3
4
  theme: Theme;
4
- }) => import("@emotion/react").SerializedStyles;
5
+ }) => import('@emotion/react').SerializedStyles;
package/utils.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- import { ContactMethodType } from '@telia-ace/knowledge-widget-adapters';
2
- import { ConversationMessageListItemType } from '@telia-ace/widget-conversation';
1
+ import { ContactMethodType } from '../../adapters/src/index.ts';
2
+ import { ConversationMessageListItemType } from '../../../conversation/src/index.ts';
3
3
  import { Container } from '@webprovisions/platform';
4
4
  import { CustomMessageTypes, MessageGroup, MessageGroupItem, ServerEntry } from './types';
5
+
5
6
  export declare const createGroup: ({ isUser, items, meta, }: {
6
7
  isUser: boolean;
7
8
  items?: Partial<MessageGroupItem>[] | undefined;