import { CompositeUserId } from './Participant'; import { ExternalParticipantId } from './ExternalId'; interface IFeedbackItem { participantId: CompositeUserId; /** event timestamps for this participant, chronologically */ times: number[]; } /** * Реакция в звонке */ export interface IFeedbackItemExternal extends Omit { participantId: ExternalParticipantId; } export interface IFeedback { /** feedback ID; key values should be negotiated by clients themselves, like in ParticipantState, and have just the same restrictions; on backend the values of these keys are not bound in any way to those in ParticipantState */ key: string; /** total amount of reactions of this type from the start of this call */ totalCount: number; /** list of items containing initiator & all related data, if any */ items: IFeedbackItem[]; } /** * Реакции в звонке */ export interface IFeedbackExternal extends Omit { items: IFeedbackItemExternal[]; } export {};