/*! Copyright (c) 2019, XAPPmedia */ import { Action } from "./Action"; import { ConversationMap } from "./ConversationFulfillment"; import { Manifest } from "./Manifest"; /** * ActionPackage holds the content for the draft of an App as well as each deployed version. This includes directory listing details, conversation configuration and account linking. * * * @see https://developers.google.com/actions/reference/rest/Shared.Types/ActionPackage * * @export * @interface ActionPackage */ export interface ActionPackage { /** * List of actions the App is able to handle. * * @type {Action[]} * @memberof ActionPackage */ actions: Action[]; /** * Map conversations that can be shared across Actions. For example see the conversationName in Fulfillment. * * An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. * * @type {ConversationMap} * @memberof ActionPackage */ conversations: ConversationMap; /** * The details of the App. This is where the directory listing is kept as well as other App identification like displayName. * * This is readonly at the moment and not required. * * @type {Manifest} * @memberof ActionPackage */ manifest?: Manifest; }