import { ArtifactStatus, ChatItemType, ConnectionType, MeetingFeatureStatus, MessageProcessingStatus, ParticipantRole, ScanDirection, SortKey, } from "./enums"; export interface CancelParticipantAuthenticationRequest { SessionId: string | undefined; ConnectionToken: string | undefined; } export interface CancelParticipantAuthenticationResponse {} export interface CompleteAttachmentUploadRequest { AttachmentIds: string[] | undefined; ClientToken?: string | undefined; ConnectionToken: string | undefined; } export interface CompleteAttachmentUploadResponse {} export interface CreateParticipantConnectionRequest { Type?: ConnectionType[] | undefined; ParticipantToken: string | undefined; ConnectParticipant?: boolean | undefined; } export interface ConnectionCredentials { ConnectionToken?: string | undefined; Expiry?: string | undefined; } export interface Attendee { AttendeeId?: string | undefined; JoinToken?: string | undefined; } export interface WebRTCMediaPlacement { AudioHostUrl?: string | undefined; AudioFallbackUrl?: string | undefined; SignalingUrl?: string | undefined; EventIngestionUrl?: string | undefined; } export interface AudioFeatures { EchoReduction?: MeetingFeatureStatus | undefined; } export interface MeetingFeaturesConfiguration { Audio?: AudioFeatures | undefined; } export interface WebRTCMeeting { MediaPlacement?: WebRTCMediaPlacement | undefined; MeetingFeatures?: MeetingFeaturesConfiguration | undefined; MeetingId?: string | undefined; } export interface WebRTCConnection { Attendee?: Attendee | undefined; Meeting?: WebRTCMeeting | undefined; } export interface Websocket { Url?: string | undefined; ConnectionExpiry?: string | undefined; } export interface CreateParticipantConnectionResponse { Websocket?: Websocket | undefined; ConnectionCredentials?: ConnectionCredentials | undefined; WebRTCConnection?: WebRTCConnection | undefined; } export interface DescribeViewRequest { ViewToken: string | undefined; ConnectionToken: string | undefined; } export interface ViewContent { InputSchema?: string | undefined; Template?: string | undefined; Actions?: string[] | undefined; } export interface View { Id?: string | undefined; Arn?: string | undefined; Name?: string | undefined; Version?: number | undefined; Content?: ViewContent | undefined; } export interface DescribeViewResponse { View?: View | undefined; } export interface DisconnectParticipantRequest { ClientToken?: string | undefined; ConnectionToken: string | undefined; } export interface DisconnectParticipantResponse {} export interface GetAttachmentRequest { AttachmentId: string | undefined; ConnectionToken: string | undefined; UrlExpiryInSeconds?: number | undefined; } export interface GetAttachmentResponse { Url?: string | undefined; UrlExpiry?: string | undefined; AttachmentSizeInBytes: number | undefined; } export interface GetAuthenticationUrlRequest { SessionId: string | undefined; RedirectUri: string | undefined; ConnectionToken: string | undefined; } export interface GetAuthenticationUrlResponse { AuthenticationUrl?: string | undefined; } export interface StartPosition { Id?: string | undefined; AbsoluteTime?: string | undefined; MostRecent?: number | undefined; } export interface GetTranscriptRequest { ContactId?: string | undefined; MaxResults?: number | undefined; NextToken?: string | undefined; ScanDirection?: ScanDirection | undefined; SortOrder?: SortKey | undefined; StartPosition?: StartPosition | undefined; ConnectionToken: string | undefined; } export interface AttachmentItem { ContentType?: string | undefined; AttachmentId?: string | undefined; AttachmentName?: string | undefined; Status?: ArtifactStatus | undefined; } export interface Receipt { DeliveredTimestamp?: string | undefined; ReadTimestamp?: string | undefined; RecipientParticipantId?: string | undefined; } export interface MessageMetadata { MessageId?: string | undefined; Receipts?: Receipt[] | undefined; MessageProcessingStatus?: MessageProcessingStatus | undefined; } export interface Item { AbsoluteTime?: string | undefined; Content?: string | undefined; ContentType?: string | undefined; Id?: string | undefined; Type?: ChatItemType | undefined; ParticipantId?: string | undefined; DisplayName?: string | undefined; ParticipantRole?: ParticipantRole | undefined; Attachments?: AttachmentItem[] | undefined; MessageMetadata?: MessageMetadata | undefined; RelatedContactId?: string | undefined; ContactId?: string | undefined; } export interface GetTranscriptResponse { InitialContactId?: string | undefined; Transcript?: Item[] | undefined; NextToken?: string | undefined; } export interface SendEventRequest { ContentType: string | undefined; Content?: string | undefined; ClientToken?: string | undefined; ConnectionToken: string | undefined; } export interface SendEventResponse { Id?: string | undefined; AbsoluteTime?: string | undefined; } export interface SendMessageRequest { ContentType: string | undefined; Content: string | undefined; ClientToken?: string | undefined; ConnectionToken: string | undefined; } export interface MessageProcessingMetadata { MessageProcessingStatus?: MessageProcessingStatus | undefined; } export interface SendMessageResponse { Id?: string | undefined; AbsoluteTime?: string | undefined; MessageMetadata?: MessageProcessingMetadata | undefined; } export interface StartAttachmentUploadRequest { ContentType: string | undefined; AttachmentSizeInBytes: number | undefined; AttachmentName: string | undefined; ClientToken?: string | undefined; ConnectionToken: string | undefined; } export interface UploadMetadata { Url?: string | undefined; UrlExpiry?: string | undefined; HeadersToInclude?: Record | undefined; } export interface StartAttachmentUploadResponse { AttachmentId?: string | undefined; UploadMetadata?: UploadMetadata | undefined; }