import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "./command/icommand"; import { ACTION } from "./command/action"; import { MediaFile, MediaOffer, MessageParams } from "./message"; import { ComaSeparatedValues } from "./sessionstate"; import { baseParamsType } from "./command/baseparams"; import { EnumBooleanStringified } from "../@types"; export declare type templateCategoryType = { categoryId: string; categoryName: string; categoryDeleted?: EnumBooleanStringified; }; export declare class CMDC_TPLCATEGORY implements ICOMMAND { action: ACTION; params: templateCategoryType; } export declare class CMDP_SGETTPLCATEGORIES implements ICOMMAND { action: ACTION; params: baseParamsType; } export declare class CMDP_SGETTPLCATEGORIES_RESPONSE extends CMDP_SGETTPLCATEGORIES implements IRESPONSE { result: RESULT; commands: CMDC_TPLCATEGORY[]; values: IKeyMaybeValue; } export declare class CMDP_SUPSERTTPLCATEGORY implements ICOMMAND { action: ACTION; params: baseParamsType & templateCategoryType; } export declare class CMDP_SUPSERTTPLCATEGORY_RESPONSE extends CMDP_SUPSERTTPLCATEGORY implements IRESPONSE { result: RESULT; commands: CMDC_TPLCATEGORY[]; values: IKeyMaybeValue; } export declare class CMDP_SDELETETPLCATEGORY implements ICOMMAND { action: ACTION; params: baseParamsType & { categoryId: string; }; } export declare class CMDP_SDELETETPLCATEGORY_RESPONSE extends CMDP_SDELETETPLCATEGORY implements IRESPONSE { result: RESULT; commands: CMDC_TPLCATEGORY[]; values: IKeyMaybeValue; } export declare type messageTemplateType = MessageParams & MediaFile & MediaOffer & { templateId: string; templateName?: string; categoryId?: string; templateTags?: ComaSeparatedValues; templateText?: string; templateCreated: string; templateChanged?: string; templateDeleted?: EnumBooleanStringified; templateSent?: string; templateBought?: string; favorite?: EnumBooleanStringified; }; export declare class CMDC_MSGTEMPLATE implements ICOMMAND { action: ACTION; params: messageTemplateType; } export declare class CMDP_SGETMSGTEMPLATES implements ICOMMAND { action: ACTION; params: baseParamsType & { categoryId?: string; }; } export declare class CMDP_SGETMSGTEMPLATES_RESPONSE extends CMDP_SGETMSGTEMPLATES implements IRESPONSE { result: RESULT; commands: CMDC_MSGTEMPLATE[]; values: IKeyMaybeValue; } export declare class CMDP_SUPSERTMSGTEMPLATE implements ICOMMAND { action: ACTION; params: baseParamsType & messageTemplateType; } export declare class CMDP_SUPSERTMSGTEMPLATE_RESPONSE extends CMDP_SUPSERTMSGTEMPLATE implements IRESPONSE { result: RESULT; commands: CMDC_MSGTEMPLATE[]; values: IKeyMaybeValue; } export declare class CMDP_SDELETEMSGTEMPLATE implements ICOMMAND { action: ACTION; params: baseParamsType & { msgTplId: string; }; } export declare class CMDP_SDELETEMSGTEMPLATE_RESPONSE extends CMDP_SDELETEMSGTEMPLATE implements IRESPONSE { result: RESULT; commands: CMDC_MSGTEMPLATE[]; values: IKeyMaybeValue; }