import { GuidValue, Identity } from "@omnia/fx-models"; import { QueryFilter } from "../query"; export interface DistributionChannelRule { id: GuidValue; name: string; distributionChannel: DistributionChannelInfo; matchCriterias: Array; } export interface DistributionChannelInfo { type: DistributionChannelType; propertiesMapping: ChannelDistributePropertyMapping; } export interface EmailDistributionChannelInfo extends DistributionChannelInfo { groups: Identity[]; propertiesMapping: EmailDistributePropertyMapping; } export interface YammerDistributionChannelInfo extends DistributionChannelInfo { networkId: number; groupId: number; propertiesMapping: YammerDistributePropertyMapping; } export interface MsTeamsDistributionChannelInfo extends DistributionChannelInfo { groupId: string; channelId: string; propertiesMapping: MsTeamChannelDistributePropertyMapping; includeChannelMention: boolean; } export interface YammerDistributePropertyMapping extends ChannelDistributePropertyMapping { } export interface MsTeamChannelDistributePropertyMapping extends ChannelDistributePropertyMapping { } export interface EmailDistributePropertyMapping extends ChannelDistributePropertyMapping { } export interface ChannelDistributePropertyMapping { title: string; summary: string; image: string; } export declare enum DistributionChannelType { MicrosoftTeams = 0, Yammer = 1, Email = 2 }