/*! Copyright (c) 2019, XAPPmedia */ /** * Map of ConversationFulfillments * * @export * @interface ConversationMap */ export interface ConversationMap { [key: string]: ConversationFulfillment; } /** * Defines conversation fulfillment implementation. * * @see https://developers.google.com/actions/reference/rest/Shared.Types/ConversationFulfillment * * @export * @interface ConversationFulfillment */ export interface ConversationFulfillment { /** * Unique name for this conversation * * @type {string} * @memberof ConversationFulfillment */ name: string; /** * Endpoint for the conversation, must be HTTPS * * @type {string} * @memberof ConversationFulfillment */ url: string; /** * Map of HTTP header parameters to be included in the POST request * * @type {{ [header: string]: string; }} * @memberof ConversationFulfillment */ httpHeaders?: { [header: string]: string; }; /** * API version used when communicating with the fulfillment endpoint. * * @type {number} * @memberof ConversationFulfillment */ fulfillmentApiVersion: number; }