@vivocha/public-types
Advanced tools
Comparing version 1.2.0 to 1.2.1-multi-attachment.0
@@ -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 @@ }, |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
67604
42
2313
2