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

@vivocha/public-types

Package Overview
Dependencies
Maintainers
0
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.2.0 to 1.2.1-multi-attachment.0

schemas/multi_attachment_message.json

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;

@@ -47,3 +47,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;

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

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

@@ -162,3 +166,3 @@ type: 'postback';

}
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 | MultiAttachmentMessage | PostbackMessage | LocationMessage | TimePickerMessage;
export declare type MessageExt = Message | JoinRawMessage | LeaveRawMessage | TransferRawMessage | DataRawMessage | PingRawMessage | EventRawMessage;

@@ -165,0 +169,0 @@ export interface GenericEvent {

{
"name": "@vivocha/public-types",
"version": "1.2.0",
"version": "1.2.1-multi-attachment.0",
"description": "Vivocha public types",

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

},
"gitHead": "b489e1b953eaaa0740e04ae946ef6b3debee1a3e"
"gitHead": "19880a590f6235670cc503052a155bb91b5492ee"
}

@@ -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