import { PostContactSummaryFailureCode, PostContactSummaryStatus, SentimentValue, } from "./enums"; export interface ListRealtimeContactAnalysisSegmentsRequest { InstanceId: string | undefined; ContactId: string | undefined; MaxResults?: number | undefined; NextToken?: string | undefined; } export interface PointOfInterest { BeginOffsetMillis: number | undefined; EndOffsetMillis: number | undefined; } export interface CategoryDetails { PointsOfInterest: PointOfInterest[] | undefined; } export interface Categories { MatchedCategories: string[] | undefined; MatchedDetails: Record | undefined; } export interface PostContactSummary { Content?: string | undefined; Status: PostContactSummaryStatus | undefined; FailureCode?: PostContactSummaryFailureCode | undefined; } export interface CharacterOffsets { BeginOffsetChar: number | undefined; EndOffsetChar: number | undefined; } export interface IssueDetected { CharacterOffsets: CharacterOffsets | undefined; } export interface Transcript { Id: string | undefined; ParticipantId: string | undefined; ParticipantRole: string | undefined; Content: string | undefined; BeginOffsetMillis: number | undefined; EndOffsetMillis: number | undefined; Sentiment?: SentimentValue | undefined; IssuesDetected?: IssueDetected[] | undefined; } export interface RealtimeContactAnalysisSegment { Transcript?: Transcript | undefined; Categories?: Categories | undefined; PostContactSummary?: PostContactSummary | undefined; } export interface ListRealtimeContactAnalysisSegmentsResponse { Segments: RealtimeContactAnalysisSegment[] | undefined; NextToken?: string | undefined; }