botframework-directlinejs
Advanced tools
Comparing version 0.7.1 to 0.8.0
{ | ||
"name": "botframework-directlinejs", | ||
"version": "0.7.1", | ||
"version": "0.8.0", | ||
"description": "client library for the Microsoft Bot Framework Direct Line 3.0 protocol", | ||
@@ -5,0 +5,0 @@ "main": "built/directLine.js", |
@@ -44,3 +44,3 @@ // In order to keep file size down, only import the parts of rxjs that we use | ||
export interface Button { | ||
export interface CardAction { | ||
type: "openUrl" | "imBack" | "postBack" | "playAudio" | "playVideo" | "showImage" | "downloadFile" | "signin" | "call", | ||
@@ -59,4 +59,4 @@ title: string, | ||
images?: { url: string }[], | ||
buttons?: Button[], | ||
tap?: string | ||
buttons?: CardAction[], | ||
tap?: CardAction | ||
} | ||
@@ -72,4 +72,4 @@ } | ||
images?: { url: string }[], | ||
buttons?: Button[], | ||
tap?: string | ||
buttons?: CardAction[], | ||
tap?: CardAction | ||
} | ||
@@ -82,3 +82,3 @@ } | ||
text?: string, | ||
buttons?: Button[] | ||
buttons?: CardAction[] | ||
} | ||
@@ -94,3 +94,3 @@ } | ||
quantity?: string, | ||
tap?: string | ||
tap?: CardAction | ||
} | ||
@@ -104,7 +104,7 @@ | ||
items?: ReceiptItem[], | ||
tap?: string, | ||
tap?: CardAction, | ||
tax?: string, | ||
VAT?: string, | ||
total?: string, | ||
buttons?: Button[] | ||
buttons?: CardAction[] | ||
} | ||
@@ -120,4 +120,4 @@ } | ||
text?: string, | ||
images?: { url: string, tap?: Button }[], | ||
buttons?: Button[], | ||
images?: { url: string, tap?: CardAction }[], | ||
buttons?: CardAction[], | ||
aspect?: string | ||
@@ -134,3 +134,3 @@ } | ||
media?: { url: string, profile?: string }[], | ||
buttons?: Button[], | ||
buttons?: CardAction[], | ||
autoloop?: boolean, | ||
@@ -148,3 +148,3 @@ autostart?: boolean | ||
media?: { url: string, profile?: string }[], | ||
buttons?: Button[], | ||
buttons?: CardAction[], | ||
image?: { url: string, alt?: string }, | ||
@@ -163,3 +163,3 @@ autoloop?: boolean, | ||
media?: { url: string, profile?: string }[], | ||
buttons?: Button[], | ||
buttons?: CardAction[], | ||
image?: { url: string, alt?: string }, | ||
@@ -166,0 +166,0 @@ autoloop?: boolean, |
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
123150