Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vivocha/public-types

Package Overview
Dependencies
Maintainers
25
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vivocha/public-types - npm Package Compare versions

Comparing version 1.1.1-gaia.3 to 1.1.1-gaia.4

29

dist/message.d.ts

@@ -31,3 +31,3 @@ import { Encryptable } from './encryptable';

id?: string;
code: 'message' | 'join' | 'leave' | 'transfer' | 'data' | 'ping' | 'event';
code: 'message' | 'join' | 'leave' | 'transfer' | 'data' | 'ping' | 'event' | 'ai';
ts?: string | Date;

@@ -47,2 +47,27 @@ api?: boolean;

}
export declare namespace Ai {
interface Base extends VvcRawMessage {
code: 'ai';
lang?: string;
payload?: string;
}
namespace Request {
interface Start extends Base {
type: 'start';
config: any;
}
interface End extends Base {
type: 'end';
}
interface Message extends Base {
type: 'message';
payload: string;
}
}
type Request = Ai.Request.Start | Ai.Request.End | Ai.Request.Message;
interface Response extends Base {
type: /*'usage' |*/ 'kpi' | 'insight' | 'summary' | 'customerInfo' | 'cannedAnswer' | string;
payload: any;
}
}
export interface GenericMessage extends VvcRawMessage {

@@ -173,3 +198,3 @@ code: 'message';

}
export declare type Message = TextMessage | LinkMessage | ActionMessage | IsWritingMessage | AckMessage | MediaChangeMessage | AttachmentMessage | PostbackMessage | LocationMessage | TimePickerMessage;
export declare type Message = TextMessage | LinkMessage | ActionMessage | IsWritingMessage | AckMessage | MediaChangeMessage | AttachmentMessage | PostbackMessage | LocationMessage | TimePickerMessage | Ai.Request | Ai.Response;
export declare type MessageExt = Message | JoinRawMessage | LeaveRawMessage | TransferRawMessage | DataRawMessage | PingRawMessage | EventRawMessage;

@@ -176,0 +201,0 @@ export interface GenericEvent {

4

package.json
{
"name": "@vivocha/public-types",
"version": "1.1.1-gaia.3",
"version": "1.1.1-gaia.4",
"description": "Vivocha public types",

@@ -25,3 +25,3 @@ "main": "dist/index.js",

},
"gitHead": "1cdd68eac61363a2942e1ae8e14bb862af2e181c"
"gitHead": "f3e3bb85bd1be13921f1091b1d2d64983dcd957e"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc