import { EnumBooleanStringified, JSONString } from "../../@types"; import { channelIdType, CMDC_CHANNEL, EnumChannelFilterValues } from "../channel"; import { ACTION } from "../command/action"; import { baseParamsType } from "../command/baseparams"; import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "../command/icommand"; export declare type groupIdType = { /** id */ groupId: string; }; export declare enum EnumSignificance { ZERO = 0, ONE = 1, TWO = 2, THREE = 3, FOUR = 4, FIVE = 5 } export declare type groupDataType = { key?: "ticketShow" | "mVIPSubscriptions" | string; auto_generated?: boolean; product_summary?: Map; significance?: EnumSignificance; }; export declare type groupType = groupIdType & { /** display name */ groupName: string; /** create datetime */ groupCreated: string; /** channel counter */ groupChannels: string; /** status */ groupActive?: "0" | "1" | string; /** JSON encoded GroupDataType*/ groupData?: JSONString; }; export declare class CMDC_GROUP implements ICOMMAND { action: ACTION; params: groupType; } export declare class CMDC_CHANNELGROUP implements ICOMMAND { action: ACTION; params: groupIdType & channelIdType & { /** inform deleted channel from group */ isDeleted?: EnumBooleanStringified; }; } export declare class CMDP_SGETGROUPS implements ICOMMAND { action: ACTION; params: baseParamsType & { filterActive?: EnumChannelFilterValues | string; }; } export declare class CMDP_SGETGROUPS_RESPONSE extends CMDP_SGETGROUPS implements IRESPONSE { result: RESULT; commands: CMDC_GROUP[]; values: IKeyMaybeValue; } export declare class CMDP_SADDGROUP implements ICOMMAND { action: ACTION; params: baseParamsType & { groupName: string; }; } export declare class CMDP_SADDGROUP_RESPONSE extends CMDP_SADDGROUP implements IRESPONSE { result: RESULT; commands: CMDC_GROUP[]; values: IKeyMaybeValue; } export declare class CMDP_SUPDATEGROUP implements ICOMMAND { action: ACTION; params: baseParamsType & groupIdType & { /** set for change the display name */ groupName?: string; /**set 0 to deactivate group, 1 to activate */ groupActive?: "0" | "1" | string; }; } export declare class CMDP_SUPDATEGROUP_RESPONSE extends CMDP_SUPDATEGROUP implements IRESPONSE { result: RESULT; commands: ICOMMAND[]; values: IKeyMaybeValue; } export declare class CMDP_SGETGROUPCHANNELS implements ICOMMAND { action: ACTION; params: baseParamsType & groupIdType; } export declare class CMDP_SGETGROUPCHANNELS_RESPONSE extends CMDP_SGETGROUPCHANNELS implements IRESPONSE { result: RESULT; commands: CMDC_CHANNEL[]; values: IKeyMaybeValue; } export declare class CMDP_SGETCHANNELGROUPS implements ICOMMAND { action: ACTION; params: baseParamsType & (channelIdType | groupIdType); } export declare class CMDP_SGETCHANNELGROUPS_RESPONSE extends CMDP_SGETCHANNELGROUPS implements IRESPONSE { result: RESULT; commands: CMDC_CHANNELGROUP[]; values: IKeyMaybeValue; } export declare class CMDP_SADDCHANNELTOGROUP implements ICOMMAND { action: ACTION; params: baseParamsType & channelIdType & groupIdType; } export declare class CMDP_SADDCHANNELTOGROUP_RESPONSE extends CMDP_SADDCHANNELTOGROUP implements IRESPONSE { result: RESULT; commands: ICOMMAND[]; values: IKeyMaybeValue; } export declare class CMDP_SDELCHANNELFROMGROUP implements ICOMMAND { action: ACTION; params: baseParamsType & channelIdType & groupIdType; } export declare class CMDP_SDELCHANNELFROMGROUP_RESPONSE extends CMDP_SDELCHANNELFROMGROUP implements IRESPONSE { result: RESULT; commands: ICOMMAND[]; values: IKeyMaybeValue; }