/**
 * Copyright 2016 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * The Actions on Google client library.
 * https://developers.google.com/actions/
 */

'use strict';

const { AssistantApp, State } = require('./assistant-app');
const ActionsSdkApp = require('./actions-sdk-app');
const DialogflowApp = require('./dialogflow-app');
const Transactions = require('./transactions');
const Responses = require('./response-builder');

module.exports = {
  AssistantApp,
  State,
  ActionsSdkApp,
  DialogflowApp,
  Transactions,
  Responses,
  // Backwards compatibility
  Assistant: AssistantApp,
  ActionsSdkAssistant: ActionsSdkApp,
  ApiAiAssistant: DialogflowApp,
  ApiAiApp: DialogflowApp
};

@@ -1116,16 +1116,20 @@
 ility%0A  
+get 
 Assistan
@@ -1133,46 +1133,274 @@
 tant
-: AssistantApp,%0A  ActionsSdkAssistant:
+ () %7B%0A    console.log('Importing the class name Assistant is *DEPRECATED*, use AssistantApp');%0A    return AssistantApp;%0A  %7D,%0A  get ActionsSdkAssistant () %7B%0A    console.log('Importing the class name ActionsSdkAssistant is *DEPRECATED*, use ActionsSdkApp');%0A    return
  Act
@@ -1409,19 +1409,28 @@
 nsSdkApp
-,%0A 
+;%0A  %7D,%0A  get
  ApiAiAs
@@ -1440,36 +1440,259 @@
 tant
-: DialogflowApp,%0A  ApiAiApp:
+ () %7B%0A    console.log('Importing the class name ApiAiAssistant is *DEPRECATED*, use DialogflowApp');%0A    return DialogflowApp;%0A  %7D,%0A  get ApiAiApp () %7B%0A    console.log('Importing the class name ApiAiApp is *DEPRECATED*, use DialogflowApp');%0A    return
  Dia
@@ -1701,12 +1701,17 @@
 gflowApp
+;%0A  %7D
 %0A%7D;%0A

Add deprecation warning if importing deprecated class names