@vivocha/public-entities
Advanced tools
Comparing version 6.1.0 to 6.2.0
@@ -49,9 +49,17 @@ export interface AttachmentMeta { | ||
body: string; | ||
quick_replies_orientation?: 'vertical' | 'horizontal'; | ||
quick_replies?: MessageQuickReply[]; | ||
template?: TemplateType; | ||
template?: GenericTemplateType | ListTemplateType; | ||
} | ||
export interface TemplateType { | ||
type: string; | ||
type: 'generic' | 'list'; | ||
elements?: any[]; | ||
} | ||
export interface GenericTemplateType extends TemplateType { | ||
type: 'generic'; | ||
} | ||
export interface ListTemplateType extends TemplateType { | ||
type: 'list'; | ||
buttons?: any[]; | ||
} | ||
export interface LinkMessage extends GenericMessage { | ||
@@ -58,0 +66,0 @@ type: 'link'; |
{ | ||
"name": "@vivocha/public-entities", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"description": "Vivocha public entities and types", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -55,2 +55,8 @@ { | ||
} | ||
}, | ||
"buttons": { | ||
"type": "array", | ||
"items": { | ||
"type": "object" | ||
} | ||
} | ||
@@ -77,2 +83,8 @@ } | ||
}, | ||
"quick_replies_orientation": { | ||
"enum":[ | ||
"vertical", | ||
"horizontal" | ||
] | ||
}, | ||
"quick_replies": { | ||
@@ -79,0 +91,0 @@ "type": "array", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34646
1154