From 71a057ff6946623896b03d501903bc6a508e76ca Mon Sep 17 00:00:00 2001 From: Khaja Nizamuddin Date: Mon, 28 Aug 2017 20:32:46 +0530 Subject: [PATCH] Added new button types to Platform and Simulator --- ANAConversationPlatform/Models/Button.cs | 18 +++++++++++++++++- ANAConversationSimulator/Models/Chat/Button.cs | 18 +++++++++++++++++- ANAConversationSimulator/Package.appxmanifest | 2 +- 3 files changed, 35 insertions(+), 3 deletions(-) diff --git a/ANAConversationPlatform/Models/Button.cs b/ANAConversationPlatform/Models/Button.cs index 2c75938..d73bd28 100644 --- a/ANAConversationPlatform/Models/Button.cs +++ b/ANAConversationPlatform/Models/Button.cs @@ -61,6 +61,22 @@ public enum ButtonTypeEnum GetAgent, ApiCall, ShowConfirmation, - FetchChatFlow + FetchChatFlow, + /// + /// Format: yyyy-MM-dd + /// + GetDate, + /// + /// Format: HH:mm:ss + /// + GetTime, + /// + /// Format: yyyy-MM-ddTHH:mm:ss + /// + GetDateTime, + /// + /// Format: [Latitude],[Longitude] + /// + GetLocation } } \ No newline at end of file diff --git a/ANAConversationSimulator/Models/Chat/Button.cs b/ANAConversationSimulator/Models/Chat/Button.cs index 34cf725..0a419ef 100644 --- a/ANAConversationSimulator/Models/Chat/Button.cs +++ b/ANAConversationSimulator/Models/Chat/Button.cs @@ -125,6 +125,22 @@ public enum ButtonTypeEnum GetAgent, ApiCall, ShowConfirmation, - FetchChatFlow + FetchChatFlow, + /// + /// Format: yyyy-MM-dd + /// + GetDate, + /// + /// Format: HH:mm:ss + /// + GetTime, + /// + /// Format: yyyy-MM-ddTHH:mm:ss + /// + GetDateTime, + /// + /// Format: [Latitude],[Longitude] + /// + GetLocation } } \ No newline at end of file diff --git a/ANAConversationSimulator/Package.appxmanifest b/ANAConversationSimulator/Package.appxmanifest index b3281fd..1d329a4 100644 --- a/ANAConversationSimulator/Package.appxmanifest +++ b/ANAConversationSimulator/Package.appxmanifest @@ -1,6 +1,6 @@  - + ANA Conversation Simulator