import { IR8WebOrderChannel } from './IR8WebOrderChannel'; /** FireStore Database Channels JSON Format. Converted to/from IR8Channels. */ export interface IR8ChannelsFS { channels: Array; description?: string; configs?: { [key: string]: any; }; } /** * Web Order Channels [Deliverect,IZII,...] * - Singleton Doc, Firestore.docId === 'channels' * * objClass: 2045 * firestore.path: $etab/data/channels */ export interface IR8Channels { channels: { [name: string]: IR8WebOrderChannel; }; description?: string; configs?: { [key: string]: any; }; } export declare function ChannelsInitialValue(): Partial; /** Default Validation Channels * Throw Error if fail */ export declare function CheckChannelsIsValid(Obj: Partial | Partial): void; /** Default Validation Channels * return Error message if failure */ export declare function ChannelsIsValid(Obj: Partial | Partial): string; /** Serialize IR8Channels to Firestore JSON */ export declare function Channels2JSON(Obj: Partial): IR8ChannelsFS; /** Serialize Firestore JSON to IR8Channels. json can be undefined */ export declare function JSON2Channels(json: Partial | undefined, target: IR8Channels): void; /** New Channels from Firestore JSON */ export declare function JSONAsChannels(json?: Partial): IR8Channels;