diff --git a/package-lock.json b/package-lock.json index 83eba60..087d686 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10248,7 +10248,7 @@ }, "packages/chat-core": { "name": "@yext/chat-core", - "version": "0.8.2", + "version": "0.9.0", "license": "BSD-3-Clause", "dependencies": { "cross-fetch": "^3.1.5" @@ -10304,6 +10304,15 @@ "@yext/chat-core": "^0.8.2" } }, + "packages/chat-core-aws-connect/node_modules/@yext/chat-core": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/@yext/chat-core/-/chat-core-0.8.2.tgz", + "integrity": "sha512-+ivq2xEHY1sGLOlPQ7d5wnlswsZfdO/Hz1Y8cmgq5UP6cpr4wUBTTQd5yWn1u9JJHq38/jcRleC2TSrh8E2Ozg==", + "dev": true, + "dependencies": { + "cross-fetch": "^3.1.5" + } + }, "packages/chat-core-aws-connect/node_modules/arg": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", diff --git a/packages/chat-core/docs/chat-core.messagesource.md b/packages/chat-core/docs/chat-core.messagesource.md index 9595f6b..f45dcfd 100644 --- a/packages/chat-core/docs/chat-core.messagesource.md +++ b/packages/chat-core/docs/chat-core.messagesource.md @@ -16,6 +16,7 @@ export declare enum MessageSource | Member | Value | Description | | --- | --- | --- | +| AGENT | "AGENT" | From third-party integration. | | BOT | "BOT" | From Chat API server. | | USER | "USER" | From a user. | diff --git a/packages/chat-core/etc/chat-core.api.md b/packages/chat-core/etc/chat-core.api.md index 6011a38..aeba2f7 100644 --- a/packages/chat-core/etc/chat-core.api.md +++ b/packages/chat-core/etc/chat-core.api.md @@ -124,6 +124,7 @@ export interface MessageResponse { // @public export enum MessageSource { + AGENT = "AGENT", BOT = "BOT", USER = "USER" } diff --git a/packages/chat-core/package.json b/packages/chat-core/package.json index 45e6cc5..01c3a71 100644 --- a/packages/chat-core/package.json +++ b/packages/chat-core/package.json @@ -1,6 +1,6 @@ { "name": "@yext/chat-core", - "version": "0.8.2", + "version": "0.9.0", "description": "Typescript Networking Library for the Yext Chat API", "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.mjs", diff --git a/packages/chat-core/src/models/endpoints/Message.ts b/packages/chat-core/src/models/endpoints/Message.ts index ac68dcb..b7d8747 100644 --- a/packages/chat-core/src/models/endpoints/Message.ts +++ b/packages/chat-core/src/models/endpoints/Message.ts @@ -29,4 +29,6 @@ export enum MessageSource { USER = "USER", /** From Chat API server. */ BOT = "BOT", + /** From third-party integration. */ + AGENT = "AGENT", }