/** * @module botframework-config * * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { ServiceTypes } from './schema'; /** * @private * @deprecated See https://aka.ms/bot-file-basics for more information. */ export interface IResource { readonly type: ServiceTypes; id?: string; name: string; } /** * @private * @deprecated See https://aka.ms/bot-file-basics for more information. */ export interface IUrlResource extends IResource { url: string; } /** * @private * @deprecated See https://aka.ms/bot-file-basics for more information. */ export interface IDispatchResource extends IResource { serviceIds: string[]; } /** * @private * @deprecated See https://aka.ms/bot-file-basics for more information. */ export interface IBlobResource extends IResource { container: string; } /** * @private * @deprecated See https://aka.ms/bot-file-basics for more information. */ export interface ICosmosDBResource extends IResource { database: string; collection: string; } /** * @private * @deprecated See https://aka.ms/bot-file-basics for more information. */ export interface IFileResource extends IResource { path: string; } /** * @private * @deprecated See https://aka.ms/bot-file-basics for more information. */ export interface IGenericResource extends IUrlResource { configuration: { [key: string]: string; }; } /** * @private * @deprecated See https://aka.ms/bot-file-basics for more information. * This is class which allows you to manipulate in memory representations of bot configuration * with no nodejs depedencies. */ export declare class BotRecipe { /** * Version of the recipe. */ version: string; /** * */ resources: IResource[]; /** * Creates a new BotRecipe instance. */ constructor(); /** * Creates a new [BotRecipe](xref:botframework-config.BotRecipe) instance from a JSON object. * * @param source JSON object of [BotRecipe](xref:botframework-config.BotRecipe) type. * @returns A new [BotRecipe](xref:botframework-config.BotRecipe) instance. */ static fromJSON(source?: Partial): BotRecipe; /** * Creates a JSON object from `this` class instance. * * @returns A JSON object of [BotRecipe](xref:botframework-config.BotRecipe) type; */ toJSON(): Partial; } //# sourceMappingURL=botRecipe.d.ts.map