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

@vivocha/public-types

Package Overview
Dependencies
Maintainers
27
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.3.0-gaia.2 to 1.3.0-gaia.3

schemas/multi_attachment_message.json

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

# [1.3.0-gaia.3](https://github.com/vivocha/vivocha/compare/@vivocha/public-types@1.3.0-gaia.2...@vivocha/public-types@1.3.0-gaia.3) (2024-07-25)
### Bug Fixes
* fix schema to allow registering multi attachment schema ([46c9328](https://github.com/vivocha/vivocha/commit/46c93284939168e34a6000aeeb2016599f3b2fd9))
### Features
* **public-types:** add types and register new schemas for multi attach ([3b634f3](https://github.com/vivocha/vivocha/commit/3b634f3307046796db38a54c345a3e30fd9743f8))
# [1.3.0-gaia.2](https://github.com/vivocha/vivocha/compare/@vivocha/public-types@1.3.0-gaia.1...@vivocha/public-types@1.3.0-gaia.2) (2024-07-18)

@@ -8,0 +24,0 @@

4

dist/bot.d.ts

@@ -1,3 +0,3 @@

import { ActionMessage, AttachmentMessage, IsWritingMessage, LocationMessage, PostbackMessage, TextMessage } from './message';
export declare type BotMessageBody = TextMessage | PostbackMessage | AttachmentMessage | ActionMessage | IsWritingMessage | LocationMessage;
import { ActionMessage, AttachmentMessage, IsWritingMessage, LocationMessage, MultiAttachmentMessage, PostbackMessage, TextMessage } from './message';
export declare type BotMessageBody = TextMessage | PostbackMessage | AttachmentMessage | MultiAttachmentMessage | ActionMessage | IsWritingMessage | LocationMessage;
export interface EnvironmentGeoIP {

@@ -4,0 +4,0 @@ country_code?: string;

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

code: 'message';
type: 'text' | 'link' | 'action' | 'iswriting' | 'ack' | 'read' | 'mediachange' | 'attachment' | 'postback' | 'location' | 'timepicker';
type: 'text' | 'link' | 'action' | 'iswriting' | 'ack' | 'read' | 'mediachange' | 'attachment' | 'multi-attachment' | 'postback' | 'location' | 'timepicker';
payload?: string;

@@ -179,2 +179,6 @@ lang?: string;

}
export interface MultiAttachmentMessage extends GenericMessage {
type: 'multi-attachment';
attachments: Attachment[];
}
export interface PostbackMessage extends GenericMessage {

@@ -245,3 +249,3 @@ type: 'postback';

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

@@ -248,0 +252,0 @@ export interface GenericEvent {

{
"name": "@vivocha/public-types",
"version": "1.3.0-gaia.2",
"version": "1.3.0-gaia.3",
"description": "Vivocha public types",

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

},
"gitHead": "cd4e211e76a01bb300b777130730baafe3d20bec"
"gitHead": "e57f7c3da95bd9d11ab6eb333f2683a14606e39a"
}

@@ -45,2 +45,5 @@ {

{
"$ref": "multi_attachment_message"
},
{
"$ref": "action_message"

@@ -47,0 +50,0 @@ },

@@ -30,2 +30,5 @@ {

{
"$ref": "multi_attachment_message"
},
{
"$ref": "action_message"

@@ -32,0 +35,0 @@ },

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