@owlworks/hoot-api
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -20,3 +20,4 @@ import { Activity } from "botframework-schema"; | ||
TELEGRAM = "telegram", | ||
VIBER = "viber" | ||
VIBER = "viber", | ||
WHATSAPP = "whatsapp" | ||
} | ||
@@ -67,3 +68,9 @@ export interface IAccountWebhook { | ||
} | ||
export type Configuration = IDirectlineConfiguration | IFacebookConfiguration | IViberConfiguration | ITelegramConfiguration | IMicrosoftTeamsConfiguration; | ||
export interface IWhatsappConfiguration { | ||
accessToken: string; | ||
appSecret: string; | ||
phoneNumberId: string; | ||
verifyToken: string; | ||
} | ||
export type Configuration = IDirectlineConfiguration | IFacebookConfiguration | IViberConfiguration | ITelegramConfiguration | IMicrosoftTeamsConfiguration | IWhatsappConfiguration; | ||
export interface IChannel { | ||
@@ -70,0 +77,0 @@ additionalConfigurations: Record<string, string>; |
@@ -29,2 +29,3 @@ "use strict"; | ||
ChannelType["VIBER"] = "viber"; | ||
ChannelType["WHATSAPP"] = "whatsapp"; | ||
})(ChannelType = exports.ChannelType || (exports.ChannelType = {})); | ||
@@ -31,0 +32,0 @@ class HootClient { |
@@ -45,3 +45,3 @@ { | ||
"types": "dist/index.d.ts", | ||
"version": "0.0.33" | ||
"version": "0.0.34" | ||
} |
13172
294