import { AgentAvailabilityTimer, AttachmentScope, AutoEvaluationStatus, Channel, Comparison, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactMetricName, ContactParticipantRole, ContactState, CurrentMetricName, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DirectoryType, EndpointType, EntityType, EvaluationQuestionAnswerAnalysisType, EvaluationStatus, EvaluationSuggestedAnswerStatus, EvaluationTranscriptType, EvaluationType, FileStatusType, FileUseCaseType, FilterV2StringConditionComparisonOperator, FlowAssociationResourceType, Grouping, HistoricalMetricName, InstanceAttributeType, InstanceReplicationStatus, InstanceStatus, InstanceStorageResourceType, IntervalPeriod, LocaleCode, MediaStreamType, MediaType, NextContactType, NotificationPriority, OperationalStatus, OverrideType, ParticipantType, PhoneNumberCountryCode, PhoneNumberType, PhoneNumberWorkflowStatus, QuestionRuleCategoryAutomationCondition, QueueStatus, QuickConnectType, RecordingStatus, RulePublishStatus, SortOrder, Statistic, Status, StorageType, TestCaseStatus, TrafficDistributionGroupStatus, Unit, Visibility, VocabularyLanguageCode, VocabularyState, WorkspaceFontFamily, } from "./enums"; import { AfterContactWorkConfigPerChannel, AgentContactReference, AgentQualityMetrics, AgentsCriteria, AgentStatus, AgentStatusIdentifier, AgentStatusReference, AiAgentInfo, AliasConfiguration, AllowedExtension, AudioQualityMetricsInfo, AutoAcceptConfig, CreatedByInfo, DataTableLockVersion, DeviceInfo, ExternalInvocationConfiguration, FailedBatchAssociationSummary, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, ImagesLogo, InstanceStorageConfig, LexBot, LexV2Bot, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OverrideTimeSlice, ParticipantCapabilities, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttributeValues, PrimaryValue, QueueReference, QuickConnectConfig, RecurrenceConfig, RoutingProfileQueueReference, RuleAction, RuleTriggerEventSource, SecurityProfileItem, SuccessfulBatchAssociationSummary, TestCaseEntryPoint, UserIdentityInfo, UserPhoneConfig, Validation, View, VoiceEnhancementConfig, } from "./models_0"; export interface WorkspaceThemeImages { Logo?: ImagesLogo | undefined; } export interface PaletteCanvas { ContainerBackground?: string | undefined; PageBackground?: string | undefined; ActiveBackground?: string | undefined; } export interface PaletteHeader { Background?: string | undefined; Text?: string | undefined; TextHover?: string | undefined; InvertActionsColors?: boolean | undefined; } export interface PaletteNavigation { Background?: string | undefined; TextBackgroundHover?: string | undefined; TextBackgroundActive?: string | undefined; Text?: string | undefined; TextHover?: string | undefined; TextActive?: string | undefined; InvertActionsColors?: boolean | undefined; } export interface PalettePrimary { Default?: string | undefined; Active?: string | undefined; ContrastText?: string | undefined; } export interface WorkspaceThemePalette { Header?: PaletteHeader | undefined; Navigation?: PaletteNavigation | undefined; Canvas?: PaletteCanvas | undefined; Primary?: PalettePrimary | undefined; } export interface FontFamily { Default?: WorkspaceFontFamily | undefined; } export interface WorkspaceThemeTypography { FontFamily?: FontFamily | undefined; } export interface WorkspaceThemeConfig { Palette?: WorkspaceThemePalette | undefined; Images?: WorkspaceThemeImages | undefined; Typography?: WorkspaceThemeTypography | undefined; } export interface WorkspaceTheme { Light?: WorkspaceThemeConfig | undefined; Dark?: WorkspaceThemeConfig | undefined; } export interface CreateWorkspaceRequest { InstanceId: string | undefined; Name: string | undefined; Description?: string | undefined; Theme?: WorkspaceTheme | undefined; Title?: string | undefined; Tags?: Record | undefined; } export interface CreateWorkspaceResponse { WorkspaceId: string | undefined; WorkspaceArn: string | undefined; } export interface CreateWorkspacePageRequest { InstanceId: string | undefined; WorkspaceId: string | undefined; ResourceArn: string | undefined; Page: string | undefined; Slug?: string | undefined; InputData?: string | undefined; } export interface CreateWorkspacePageResponse {} export interface DeactivateEvaluationFormRequest { InstanceId: string | undefined; EvaluationFormId: string | undefined; EvaluationFormVersion: number | undefined; } export interface DeactivateEvaluationFormResponse { EvaluationFormId: string | undefined; EvaluationFormArn: string | undefined; EvaluationFormVersion: number | undefined; } export interface DeleteAttachedFileRequest { InstanceId: string | undefined; FileId: string | undefined; AssociatedResourceArn: string | undefined; } export interface DeleteAttachedFileResponse {} export interface DeleteContactEvaluationRequest { InstanceId: string | undefined; EvaluationId: string | undefined; } export interface DeleteContactFlowRequest { InstanceId: string | undefined; ContactFlowId: string | undefined; } export interface DeleteContactFlowResponse {} export interface DeleteContactFlowModuleRequest { InstanceId: string | undefined; ContactFlowModuleId: string | undefined; } export interface DeleteContactFlowModuleResponse {} export interface DeleteContactFlowModuleAliasRequest { InstanceId: string | undefined; ContactFlowModuleId: string | undefined; AliasId: string | undefined; } export interface DeleteContactFlowModuleAliasResponse {} export interface DeleteContactFlowModuleVersionRequest { InstanceId: string | undefined; ContactFlowModuleId: string | undefined; ContactFlowModuleVersion: number | undefined; } export interface DeleteContactFlowModuleVersionResponse {} export interface DeleteContactFlowVersionRequest { InstanceId: string | undefined; ContactFlowId: string | undefined; ContactFlowVersion: number | undefined; } export interface DeleteContactFlowVersionResponse {} export interface DeleteDataTableRequest { InstanceId: string | undefined; DataTableId: string | undefined; } export interface DeleteDataTableResponse {} export interface DeleteDataTableAttributeRequest { InstanceId: string | undefined; DataTableId: string | undefined; AttributeName: string | undefined; } export interface DeleteDataTableAttributeResponse { LockVersion: DataTableLockVersion | undefined; } export interface DeleteEmailAddressRequest { InstanceId: string | undefined; EmailAddressId: string | undefined; } export interface DeleteEmailAddressResponse {} export interface DeleteEvaluationFormRequest { InstanceId: string | undefined; EvaluationFormId: string | undefined; EvaluationFormVersion?: number | undefined; } export interface DeleteHoursOfOperationRequest { InstanceId: string | undefined; HoursOfOperationId: string | undefined; } export interface DeleteHoursOfOperationOverrideRequest { InstanceId: string | undefined; HoursOfOperationId: string | undefined; HoursOfOperationOverrideId: string | undefined; } export interface DeleteInstanceRequest { InstanceId: string | undefined; ClientToken?: string | undefined; } export interface DeleteIntegrationAssociationRequest { InstanceId: string | undefined; IntegrationAssociationId: string | undefined; } export interface DeleteNotificationRequest { InstanceId: string | undefined; NotificationId: string | undefined; } export interface DeleteNotificationResponse {} export interface DeletePredefinedAttributeRequest { InstanceId: string | undefined; Name: string | undefined; } export interface DeletePromptRequest { InstanceId: string | undefined; PromptId: string | undefined; } export interface DeletePushNotificationRegistrationRequest { InstanceId: string | undefined; RegistrationId: string | undefined; ContactId: string | undefined; } export interface DeletePushNotificationRegistrationResponse {} export interface DeleteQueueRequest { InstanceId: string | undefined; QueueId: string | undefined; } export interface DeleteQuickConnectRequest { InstanceId: string | undefined; QuickConnectId: string | undefined; } export interface DeleteRoutingProfileRequest { InstanceId: string | undefined; RoutingProfileId: string | undefined; } export interface DeleteRuleRequest { InstanceId: string | undefined; RuleId: string | undefined; } export interface DeleteSecurityProfileRequest { InstanceId: string | undefined; SecurityProfileId: string | undefined; } export interface DeleteTaskTemplateRequest { InstanceId: string | undefined; TaskTemplateId: string | undefined; } export interface DeleteTaskTemplateResponse {} export interface DeleteTestCaseRequest { InstanceId: string | undefined; TestCaseId: string | undefined; } export interface DeleteTestCaseResponse {} export interface DeleteTrafficDistributionGroupRequest { TrafficDistributionGroupId: string | undefined; } export interface DeleteTrafficDistributionGroupResponse {} export interface DeleteUseCaseRequest { InstanceId: string | undefined; IntegrationAssociationId: string | undefined; UseCaseId: string | undefined; } export interface DeleteUserRequest { InstanceId: string | undefined; UserId: string | undefined; } export interface DeleteUserHierarchyGroupRequest { HierarchyGroupId: string | undefined; InstanceId: string | undefined; } export interface DeleteViewRequest { InstanceId: string | undefined; ViewId: string | undefined; } export interface DeleteViewResponse {} export interface DeleteViewVersionRequest { InstanceId: string | undefined; ViewId: string | undefined; ViewVersion: number | undefined; } export interface DeleteViewVersionResponse {} export interface DeleteVocabularyRequest { InstanceId: string | undefined; VocabularyId: string | undefined; } export interface DeleteVocabularyResponse { VocabularyArn: string | undefined; VocabularyId: string | undefined; State: VocabularyState | undefined; } export interface DeleteWorkspaceRequest { InstanceId: string | undefined; WorkspaceId: string | undefined; } export interface DeleteWorkspaceResponse {} export interface DeleteWorkspaceMediaRequest { InstanceId: string | undefined; WorkspaceId: string | undefined; MediaType: MediaType | undefined; } export interface DeleteWorkspaceMediaResponse {} export interface DeleteWorkspacePageRequest { InstanceId: string | undefined; WorkspaceId: string | undefined; Page: string | undefined; } export interface DeleteWorkspacePageResponse {} export interface DescribeAgentStatusRequest { InstanceId: string | undefined; AgentStatusId: string | undefined; } export interface DescribeAgentStatusResponse { AgentStatus?: AgentStatus | undefined; } export interface DescribeAttachedFilesConfigurationRequest { InstanceId: string | undefined; AttachmentScope: AttachmentScope | undefined; } export interface ExtensionConfiguration { AllowedExtensions: AllowedExtension[] | undefined; } export interface AttachedFilesConfiguration { InstanceId: string | undefined; AttachmentScope: AttachmentScope | undefined; MaximumSizeLimitInBytes?: number | undefined; ExtensionConfiguration?: ExtensionConfiguration | undefined; LastModifiedTime?: Date | undefined; } export interface DescribeAttachedFilesConfigurationResponse { AttachedFilesConfiguration: AttachedFilesConfiguration | undefined; } export interface DescribeAuthenticationProfileRequest { AuthenticationProfileId: string | undefined; InstanceId: string | undefined; } export interface AuthenticationProfile { Id?: string | undefined; Arn?: string | undefined; Name?: string | undefined; Description?: string | undefined; AllowedIps?: string[] | undefined; BlockedIps?: string[] | undefined; IsDefault?: boolean | undefined; CreatedTime?: Date | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; PeriodicSessionDuration?: number | undefined; MaxSessionDuration?: number | undefined; SessionInactivityDuration?: number | undefined; SessionInactivityHandlingEnabled?: boolean | undefined; } export interface DescribeAuthenticationProfileResponse { AuthenticationProfile?: AuthenticationProfile | undefined; } export interface DescribeContactRequest { InstanceId: string | undefined; ContactId: string | undefined; } export interface ParticipantMetrics { ParticipantId?: string | undefined; ParticipantType?: ParticipantType | undefined; ConversationAbandon?: boolean | undefined; MessagesSent?: number | undefined; NumResponses?: number | undefined; MessageLengthInChars?: number | undefined; TotalResponseTimeInMillis?: number | undefined; MaxResponseTimeInMillis?: number | undefined; LastMessageTimestamp?: Date | undefined; } export interface ChatContactMetrics { MultiParty?: boolean | undefined; TotalMessages?: number | undefined; TotalBotMessages?: number | undefined; TotalBotMessageLengthInChars?: number | undefined; ConversationCloseTimeInMillis?: number | undefined; ConversationTurnCount?: number | undefined; AgentFirstResponseTimestamp?: Date | undefined; AgentFirstResponseTimeInMillis?: number | undefined; } export interface ChatMetrics { ChatContactMetrics?: ChatContactMetrics | undefined; AgentMetrics?: ParticipantMetrics | undefined; CustomerMetrics?: ParticipantMetrics | undefined; } export interface ContactDetails { Name?: string | undefined; Description?: string | undefined; } export interface ContactEvaluation { FormId?: string | undefined; EvaluationArn?: string | undefined; Status?: Status | undefined; StartTimestamp?: Date | undefined; EndTimestamp?: Date | undefined; DeleteTimestamp?: Date | undefined; ExportLocation?: string | undefined; } export interface Customer { DeviceInfo?: DeviceInfo | undefined; Capabilities?: ParticipantCapabilities | undefined; } export interface EndpointInfo { Type?: EndpointType | undefined; Address?: string | undefined; DisplayName?: string | undefined; } export interface CustomerVoiceActivity { GreetingStartTimestamp?: Date | undefined; GreetingEndTimestamp?: Date | undefined; } export interface DisconnectDetails { PotentialDisconnectIssue?: string | undefined; } export interface GlobalResiliencyMetadata { ActiveRegion?: string | undefined; OriginRegion?: string | undefined; TrafficDistributionGroupId?: string | undefined; } export interface QuickConnectContactData { ContactId?: string | undefined; InitiationTimestamp?: Date | undefined; QuickConnectId?: string | undefined; QuickConnectName?: string | undefined; QuickConnectType?: QuickConnectType | undefined; } export type NextContactMetadata = | NextContactMetadata.QuickConnectContactDataMember | NextContactMetadata.$UnknownMember; export declare namespace NextContactMetadata { interface QuickConnectContactDataMember { QuickConnectContactData: QuickConnectContactData; $unknown?: never; } interface $UnknownMember { QuickConnectContactData?: never; $unknown: [string, any]; } interface Visitor { QuickConnectContactData: (value: QuickConnectContactData) => T; _: (name: string, value: any) => T; } } export interface NextContactEntry { Type?: NextContactType | undefined; NextContactMetadata?: NextContactMetadata | undefined; } export interface CustomerQualityMetrics { Audio?: AudioQualityMetricsInfo | undefined; } export interface QualityMetrics { Agent?: AgentQualityMetrics | undefined; Customer?: CustomerQualityMetrics | undefined; } export interface QueueInfo { Id?: string | undefined; EnqueueTimestamp?: Date | undefined; } export interface RecordingInfo { StorageType?: StorageType | undefined; Location?: string | undefined; MediaStreamType?: MediaStreamType | undefined; ParticipantType?: ParticipantType | undefined; FragmentStartNumber?: string | undefined; FragmentStopNumber?: string | undefined; StartTimestamp?: Date | undefined; StopTimestamp?: Date | undefined; Status?: RecordingStatus | undefined; DeletionReason?: string | undefined; UnprocessedTranscriptLocation?: string | undefined; } export interface Expiry { DurationInSeconds?: number | undefined; ExpiryTimestamp?: Date | undefined; } export interface MatchCriteria { AgentsCriteria?: AgentsCriteria | undefined; } export interface Range { MinProficiencyLevel?: number | undefined; MaxProficiencyLevel?: number | undefined; } export interface AttributeCondition { Name?: string | undefined; Value?: string | undefined; ProficiencyLevel?: number | undefined; Range?: Range | undefined; MatchCriteria?: MatchCriteria | undefined; ComparisonOperator?: string | undefined; } export interface TaskTemplateInfoV2 { Arn?: string | undefined; Name?: string | undefined; } export interface WisdomInfo { SessionArn?: string | undefined; AiAgents?: AiAgentInfo[] | undefined; } export interface DescribeContactEvaluationRequest { InstanceId: string | undefined; EvaluationId: string | undefined; } export interface EvaluationSuggestedAnswerTranscriptMillisecondOffsets { BeginOffsetMillis: number | undefined; } export interface EvaluationTranscriptPointOfInterest { MillisecondOffsets?: | EvaluationSuggestedAnswerTranscriptMillisecondOffsets | undefined; TranscriptSegment?: string | undefined; } export interface EvaluationAutomationRuleCategory { Category: string | undefined; Condition: QuestionRuleCategoryAutomationCondition | undefined; PointsOfInterest?: EvaluationTranscriptPointOfInterest[] | undefined; } export interface EvaluationContactLensAnswerAnalysisDetails { MatchedRuleCategories?: EvaluationAutomationRuleCategory[] | undefined; } export interface EvaluationGenAIAnswerAnalysisDetails { Justification?: string | undefined; PointsOfInterest?: EvaluationTranscriptPointOfInterest[] | undefined; } export type EvaluationQuestionAnswerAnalysisDetails = | EvaluationQuestionAnswerAnalysisDetails.ContactLensMember | EvaluationQuestionAnswerAnalysisDetails.GenAIMember | EvaluationQuestionAnswerAnalysisDetails.$UnknownMember; export declare namespace EvaluationQuestionAnswerAnalysisDetails { interface GenAIMember { GenAI: EvaluationGenAIAnswerAnalysisDetails; ContactLens?: never; $unknown?: never; } interface ContactLensMember { GenAI?: never; ContactLens: EvaluationContactLensAnswerAnalysisDetails; $unknown?: never; } interface $UnknownMember { GenAI?: never; ContactLens?: never; $unknown: [string, any]; } interface Visitor { GenAI: (value: EvaluationGenAIAnswerAnalysisDetails) => T; ContactLens: (value: EvaluationContactLensAnswerAnalysisDetails) => T; _: (name: string, value: any) => T; } } export interface EvaluationQuestionInputDetails { TranscriptType?: EvaluationTranscriptType | undefined; } export type EvaluationAnswerData = | EvaluationAnswerData.DateTimeValueMember | EvaluationAnswerData.NotApplicableMember | EvaluationAnswerData.NumericValueMember | EvaluationAnswerData.StringValueMember | EvaluationAnswerData.StringValuesMember | EvaluationAnswerData.$UnknownMember; export declare namespace EvaluationAnswerData { interface StringValueMember { StringValue: string; NumericValue?: never; StringValues?: never; DateTimeValue?: never; NotApplicable?: never; $unknown?: never; } interface NumericValueMember { StringValue?: never; NumericValue: number; StringValues?: never; DateTimeValue?: never; NotApplicable?: never; $unknown?: never; } interface StringValuesMember { StringValue?: never; NumericValue?: never; StringValues: string[]; DateTimeValue?: never; NotApplicable?: never; $unknown?: never; } interface DateTimeValueMember { StringValue?: never; NumericValue?: never; StringValues?: never; DateTimeValue: string; NotApplicable?: never; $unknown?: never; } interface NotApplicableMember { StringValue?: never; NumericValue?: never; StringValues?: never; DateTimeValue?: never; NotApplicable: boolean; $unknown?: never; } interface $UnknownMember { StringValue?: never; NumericValue?: never; StringValues?: never; DateTimeValue?: never; NotApplicable?: never; $unknown: [string, any]; } interface Visitor { StringValue: (value: string) => T; NumericValue: (value: number) => T; StringValues: (value: string[]) => T; DateTimeValue: (value: string) => T; NotApplicable: (value: boolean) => T; _: (name: string, value: any) => T; } } export interface EvaluationSuggestedAnswer { Value?: EvaluationAnswerData | undefined; Status: EvaluationSuggestedAnswerStatus | undefined; Input?: EvaluationQuestionInputDetails | undefined; AnalysisType: EvaluationQuestionAnswerAnalysisType | undefined; AnalysisDetails?: EvaluationQuestionAnswerAnalysisDetails | undefined; } export interface EvaluationAnswerOutput { Value?: EvaluationAnswerData | undefined; SystemSuggestedValue?: EvaluationAnswerData | undefined; SuggestedAnswers?: EvaluationSuggestedAnswer[] | undefined; } export interface EvaluationAcknowledgement { AcknowledgedTime: Date | undefined; AcknowledgedBy: string | undefined; AcknowledgerComment?: string | undefined; } export interface AutoEvaluationDetails { AutoEvaluationEnabled: boolean | undefined; AutoEvaluationStatus?: AutoEvaluationStatus | undefined; } export interface EvaluationContactParticipant { ContactParticipantRole?: ContactParticipantRole | undefined; ContactParticipantId?: string | undefined; } export interface EvaluationReviewRequestComment { Comment?: string | undefined; CreatedTime?: Date | undefined; CreatedBy?: string | undefined; } export interface EvaluationReviewMetadata { ReviewId?: string | undefined; RequestedTime?: Date | undefined; RequestedBy?: string | undefined; CreatedTime?: Date | undefined; CreatedBy?: string | undefined; ReviewRequestComments: EvaluationReviewRequestComment[] | undefined; } export interface EvaluationScore { Percentage?: number | undefined; NotApplicable?: boolean | undefined; AutomaticFail?: boolean | undefined; AppliedWeight?: number | undefined; } export interface EvaluationMetadata { ContactId: string | undefined; EvaluatorArn: string | undefined; ContactAgentId?: string | undefined; CalibrationSessionId?: string | undefined; Score?: EvaluationScore | undefined; AutoEvaluation?: AutoEvaluationDetails | undefined; Acknowledgement?: EvaluationAcknowledgement | undefined; Review?: EvaluationReviewMetadata | undefined; ContactParticipant?: EvaluationContactParticipant | undefined; SamplingJobId?: string | undefined; } export interface EvaluationNote { Value?: string | undefined; } export interface Evaluation { EvaluationId: string | undefined; EvaluationArn: string | undefined; Metadata: EvaluationMetadata | undefined; Answers: Record | undefined; Notes: Record | undefined; Status: EvaluationStatus | undefined; Scores?: Record | undefined; CreatedTime: Date | undefined; LastModifiedTime: Date | undefined; EvaluationType?: EvaluationType | undefined; Tags?: Record | undefined; } export interface DescribeContactFlowRequest { InstanceId: string | undefined; ContactFlowId: string | undefined; } export interface ContactFlow { Arn?: string | undefined; Id?: string | undefined; Name?: string | undefined; Type?: ContactFlowType | undefined; State?: ContactFlowState | undefined; Status?: ContactFlowStatus | undefined; Description?: string | undefined; Content?: string | undefined; Tags?: Record | undefined; FlowContentSha256?: string | undefined; Version?: number | undefined; VersionDescription?: string | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface DescribeContactFlowResponse { ContactFlow?: ContactFlow | undefined; } export interface DescribeContactFlowModuleRequest { InstanceId: string | undefined; ContactFlowModuleId: string | undefined; } export interface ContactFlowModule { Arn?: string | undefined; Id?: string | undefined; Name?: string | undefined; Content?: string | undefined; Description?: string | undefined; State?: ContactFlowModuleState | undefined; Status?: ContactFlowModuleStatus | undefined; Tags?: Record | undefined; FlowModuleContentSha256?: string | undefined; Version?: number | undefined; VersionDescription?: string | undefined; Settings?: string | undefined; ExternalInvocationConfiguration?: ExternalInvocationConfiguration | undefined; } export interface DescribeContactFlowModuleResponse { ContactFlowModule?: ContactFlowModule | undefined; } export interface DescribeContactFlowModuleAliasRequest { InstanceId: string | undefined; ContactFlowModuleId: string | undefined; AliasId: string | undefined; } export interface ContactFlowModuleAliasInfo { ContactFlowModuleId?: string | undefined; ContactFlowModuleArn?: string | undefined; AliasId?: string | undefined; Version?: number | undefined; Name?: string | undefined; Description?: string | undefined; LastModifiedRegion?: string | undefined; LastModifiedTime?: Date | undefined; } export interface DescribeContactFlowModuleAliasResponse { ContactFlowModuleAlias?: ContactFlowModuleAliasInfo | undefined; } export interface DescribeDataTableRequest { InstanceId: string | undefined; DataTableId: string | undefined; } export interface DataTable { Name: string | undefined; Id: string | undefined; Arn: string | undefined; TimeZone: string | undefined; Description?: string | undefined; ValueLockLevel?: DataTableLockLevel | undefined; LockVersion?: DataTableLockVersion | undefined; Version?: string | undefined; VersionDescription?: string | undefined; Status?: DataTableStatus | undefined; CreatedTime?: Date | undefined; LastModifiedTime: Date | undefined; LastModifiedRegion?: string | undefined; Tags?: Record | undefined; } export interface DescribeDataTableResponse { DataTable: DataTable | undefined; } export interface DescribeDataTableAttributeRequest { InstanceId: string | undefined; DataTableId: string | undefined; AttributeName: string | undefined; } export interface DataTableAttribute { AttributeId?: string | undefined; Name: string | undefined; ValueType: DataTableAttributeValueType | undefined; Description?: string | undefined; DataTableId?: string | undefined; DataTableArn?: string | undefined; Primary?: boolean | undefined; Version?: string | undefined; LockVersion?: DataTableLockVersion | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; Validation?: Validation | undefined; } export interface DescribeDataTableAttributeResponse { Attribute: DataTableAttribute | undefined; } export interface DescribeEmailAddressRequest { InstanceId: string | undefined; EmailAddressId: string | undefined; } export interface DescribeEmailAddressResponse { EmailAddressId?: string | undefined; EmailAddressArn?: string | undefined; EmailAddress?: string | undefined; DisplayName?: string | undefined; Description?: string | undefined; CreateTimestamp?: string | undefined; ModifiedTimestamp?: string | undefined; AliasConfigurations?: AliasConfiguration[] | undefined; Tags?: Record | undefined; } export interface DescribeEvaluationFormRequest { InstanceId: string | undefined; EvaluationFormId: string | undefined; EvaluationFormVersion?: number | undefined; } export interface DescribeHoursOfOperationRequest { InstanceId: string | undefined; HoursOfOperationId: string | undefined; } export interface HoursOfOperationsIdentifier { Name: string | undefined; Id: string | undefined; Arn?: string | undefined; } export interface HoursOfOperation { HoursOfOperationId?: string | undefined; HoursOfOperationArn?: string | undefined; Name?: string | undefined; Description?: string | undefined; TimeZone?: string | undefined; Config?: HoursOfOperationConfig[] | undefined; ParentHoursOfOperations?: HoursOfOperationsIdentifier[] | undefined; Tags?: Record | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface DescribeHoursOfOperationResponse { HoursOfOperation?: HoursOfOperation | undefined; } export interface DescribeHoursOfOperationOverrideRequest { InstanceId: string | undefined; HoursOfOperationId: string | undefined; HoursOfOperationOverrideId: string | undefined; } export interface HoursOfOperationOverride { HoursOfOperationOverrideId?: string | undefined; HoursOfOperationId?: string | undefined; HoursOfOperationArn?: string | undefined; Name?: string | undefined; Description?: string | undefined; Config?: HoursOfOperationOverrideConfig[] | undefined; EffectiveFrom?: string | undefined; EffectiveTill?: string | undefined; RecurrenceConfig?: RecurrenceConfig | undefined; OverrideType?: OverrideType | undefined; } export interface DescribeHoursOfOperationOverrideResponse { HoursOfOperationOverride?: HoursOfOperationOverride | undefined; } export interface DescribeInstanceRequest { InstanceId: string | undefined; } export interface InstanceStatusReason { Message?: string | undefined; } export interface Instance { Id?: string | undefined; Arn?: string | undefined; IdentityManagementType?: DirectoryType | undefined; InstanceAlias?: string | undefined; CreatedTime?: Date | undefined; ServiceRole?: string | undefined; InstanceStatus?: InstanceStatus | undefined; StatusReason?: InstanceStatusReason | undefined; InboundCallsEnabled?: boolean | undefined; OutboundCallsEnabled?: boolean | undefined; InstanceAccessUrl?: string | undefined; Tags?: Record | undefined; } export interface ReplicationStatusSummary { Region?: string | undefined; ReplicationStatus?: InstanceReplicationStatus | undefined; ReplicationStatusReason?: string | undefined; } export interface ReplicationConfiguration { ReplicationStatusSummaryList?: ReplicationStatusSummary[] | undefined; SourceRegion?: string | undefined; GlobalSignInEndpoint?: string | undefined; } export interface DescribeInstanceResponse { Instance?: Instance | undefined; ReplicationConfiguration?: ReplicationConfiguration | undefined; } export interface DescribeInstanceAttributeRequest { InstanceId: string | undefined; AttributeType: InstanceAttributeType | undefined; } export interface Attribute { AttributeType?: InstanceAttributeType | undefined; Value?: string | undefined; } export interface DescribeInstanceAttributeResponse { Attribute?: Attribute | undefined; } export interface DescribeInstanceStorageConfigRequest { InstanceId: string | undefined; AssociationId: string | undefined; ResourceType: InstanceStorageResourceType | undefined; } export interface DescribeInstanceStorageConfigResponse { StorageConfig?: InstanceStorageConfig | undefined; } export interface DescribeNotificationRequest { InstanceId: string | undefined; NotificationId: string | undefined; } export interface Notification { Content?: Partial> | undefined; Id: string | undefined; Arn: string | undefined; Priority?: NotificationPriority | undefined; Recipients?: string[] | undefined; LastModifiedTime: Date | undefined; CreatedAt?: Date | undefined; ExpiresAt?: Date | undefined; LastModifiedRegion?: string | undefined; Tags?: Record | undefined; } export interface DescribeNotificationResponse { Notification: Notification | undefined; } export interface DescribePhoneNumberRequest { PhoneNumberId: string | undefined; } export interface PhoneNumberStatus { Status?: PhoneNumberWorkflowStatus | undefined; Message?: string | undefined; } export interface ClaimedPhoneNumberSummary { PhoneNumberId?: string | undefined; PhoneNumberArn?: string | undefined; PhoneNumber?: string | undefined; PhoneNumberCountryCode?: PhoneNumberCountryCode | undefined; PhoneNumberType?: PhoneNumberType | undefined; PhoneNumberDescription?: string | undefined; TargetArn?: string | undefined; InstanceId?: string | undefined; Tags?: Record | undefined; PhoneNumberStatus?: PhoneNumberStatus | undefined; SourcePhoneNumberArn?: string | undefined; } export interface DescribePhoneNumberResponse { ClaimedPhoneNumberSummary?: ClaimedPhoneNumberSummary | undefined; } export interface DescribePredefinedAttributeRequest { InstanceId: string | undefined; Name: string | undefined; } export interface PredefinedAttributeConfiguration { EnableValueValidationOnAssociation?: boolean | undefined; IsReadOnly?: boolean | undefined; } export interface PredefinedAttribute { Name?: string | undefined; Values?: PredefinedAttributeValues | undefined; Purposes?: string[] | undefined; AttributeConfiguration?: PredefinedAttributeConfiguration | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface DescribePredefinedAttributeResponse { PredefinedAttribute?: PredefinedAttribute | undefined; } export interface DescribePromptRequest { InstanceId: string | undefined; PromptId: string | undefined; } export interface Prompt { PromptARN?: string | undefined; PromptId?: string | undefined; Name?: string | undefined; Description?: string | undefined; Tags?: Record | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface DescribePromptResponse { Prompt?: Prompt | undefined; } export interface DescribeQueueRequest { InstanceId: string | undefined; QueueId: string | undefined; } export interface Queue { Name?: string | undefined; QueueArn?: string | undefined; QueueId?: string | undefined; Description?: string | undefined; OutboundCallerConfig?: OutboundCallerConfig | undefined; OutboundEmailConfig?: OutboundEmailConfig | undefined; HoursOfOperationId?: string | undefined; MaxContacts?: number | undefined; Status?: QueueStatus | undefined; Tags?: Record | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface DescribeQueueResponse { Queue?: Queue | undefined; } export interface DescribeQuickConnectRequest { InstanceId: string | undefined; QuickConnectId: string | undefined; } export interface QuickConnect { QuickConnectARN?: string | undefined; QuickConnectId?: string | undefined; Name?: string | undefined; Description?: string | undefined; QuickConnectConfig?: QuickConnectConfig | undefined; Tags?: Record | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface DescribeQuickConnectResponse { QuickConnect?: QuickConnect | undefined; } export interface DescribeRoutingProfileRequest { InstanceId: string | undefined; RoutingProfileId: string | undefined; } export interface RoutingProfile { InstanceId?: string | undefined; Name?: string | undefined; RoutingProfileArn?: string | undefined; RoutingProfileId?: string | undefined; Description?: string | undefined; MediaConcurrencies?: MediaConcurrency[] | undefined; DefaultOutboundQueueId?: string | undefined; Tags?: Record | undefined; NumberOfAssociatedQueues?: number | undefined; NumberOfAssociatedManualAssignmentQueues?: number | undefined; NumberOfAssociatedUsers?: number | undefined; AgentAvailabilityTimer?: AgentAvailabilityTimer | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; IsDefault?: boolean | undefined; AssociatedQueueIds?: string[] | undefined; AssociatedManualAssignmentQueueIds?: string[] | undefined; } export interface DescribeRoutingProfileResponse { RoutingProfile?: RoutingProfile | undefined; } export interface DescribeRuleRequest { InstanceId: string | undefined; RuleId: string | undefined; } export interface Rule { Name: string | undefined; RuleId: string | undefined; RuleArn: string | undefined; TriggerEventSource: RuleTriggerEventSource | undefined; Function: string | undefined; Actions: RuleAction[] | undefined; PublishStatus: RulePublishStatus | undefined; CreatedTime: Date | undefined; LastUpdatedTime: Date | undefined; LastUpdatedBy: string | undefined; Tags?: Record | undefined; } export interface DescribeRuleResponse { Rule: Rule | undefined; } export interface DescribeSecurityProfileRequest { SecurityProfileId: string | undefined; InstanceId: string | undefined; } export interface SecurityProfile { Id?: string | undefined; OrganizationResourceId?: string | undefined; Arn?: string | undefined; SecurityProfileName?: string | undefined; Description?: string | undefined; Tags?: Record | undefined; AllowedAccessControlTags?: Record | undefined; TagRestrictedResources?: string[] | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; HierarchyRestrictedResources?: string[] | undefined; AllowedAccessControlHierarchyGroupId?: string | undefined; GranularAccessControlConfiguration?: | GranularAccessControlConfiguration | undefined; } export interface DescribeSecurityProfileResponse { SecurityProfile?: SecurityProfile | undefined; } export interface DescribeTestCaseRequest { InstanceId: string | undefined; TestCaseId: string | undefined; Status?: TestCaseStatus | undefined; } export interface TestCase { Arn?: string | undefined; Id?: string | undefined; Name?: string | undefined; Content?: string | undefined; EntryPoint?: TestCaseEntryPoint | undefined; InitializationData?: string | undefined; Description?: string | undefined; Status?: TestCaseStatus | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; Tags?: Record | undefined; TestCaseSha256?: string | undefined; } export interface DescribeTestCaseResponse { TestCase?: TestCase | undefined; } export interface DescribeTrafficDistributionGroupRequest { TrafficDistributionGroupId: string | undefined; } export interface TrafficDistributionGroup { Id?: string | undefined; Arn?: string | undefined; Name?: string | undefined; Description?: string | undefined; InstanceArn?: string | undefined; Status?: TrafficDistributionGroupStatus | undefined; Tags?: Record | undefined; IsDefault?: boolean | undefined; } export interface DescribeTrafficDistributionGroupResponse { TrafficDistributionGroup?: TrafficDistributionGroup | undefined; } export interface DescribeUserRequest { UserId: string | undefined; InstanceId: string | undefined; } export interface User { Id?: string | undefined; Arn?: string | undefined; Username?: string | undefined; IdentityInfo?: UserIdentityInfo | undefined; PhoneConfig?: UserPhoneConfig | undefined; DirectoryUserId?: string | undefined; SecurityProfileIds?: string[] | undefined; RoutingProfileId?: string | undefined; HierarchyGroupId?: string | undefined; Tags?: Record | undefined; AutoAcceptConfigs?: AutoAcceptConfig[] | undefined; AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined; PhoneNumberConfigs?: PhoneNumberConfig[] | undefined; PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined; VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface DescribeUserResponse { User?: User | undefined; } export interface DescribeUserHierarchyGroupRequest { HierarchyGroupId: string | undefined; InstanceId: string | undefined; } export interface HierarchyGroupSummary { Id?: string | undefined; Arn?: string | undefined; Name?: string | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface HierarchyPath { LevelOne?: HierarchyGroupSummary | undefined; LevelTwo?: HierarchyGroupSummary | undefined; LevelThree?: HierarchyGroupSummary | undefined; LevelFour?: HierarchyGroupSummary | undefined; LevelFive?: HierarchyGroupSummary | undefined; } export interface HierarchyGroup { Id?: string | undefined; Arn?: string | undefined; Name?: string | undefined; LevelId?: string | undefined; HierarchyPath?: HierarchyPath | undefined; Tags?: Record | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface DescribeUserHierarchyGroupResponse { HierarchyGroup?: HierarchyGroup | undefined; } export interface DescribeUserHierarchyStructureRequest { InstanceId: string | undefined; } export interface HierarchyLevel { Id?: string | undefined; Arn?: string | undefined; Name?: string | undefined; LastModifiedTime?: Date | undefined; LastModifiedRegion?: string | undefined; } export interface HierarchyStructure { LevelOne?: HierarchyLevel | undefined; LevelTwo?: HierarchyLevel | undefined; LevelThree?: HierarchyLevel | undefined; LevelFour?: HierarchyLevel | undefined; LevelFive?: HierarchyLevel | undefined; } export interface DescribeUserHierarchyStructureResponse { HierarchyStructure?: HierarchyStructure | undefined; } export interface DescribeViewRequest { InstanceId: string | undefined; ViewId: string | undefined; } export interface DescribeViewResponse { View?: View | undefined; } export interface DescribeVocabularyRequest { InstanceId: string | undefined; VocabularyId: string | undefined; } export interface Vocabulary { Name: string | undefined; Id: string | undefined; Arn: string | undefined; LanguageCode: VocabularyLanguageCode | undefined; State: VocabularyState | undefined; LastModifiedTime: Date | undefined; FailureReason?: string | undefined; Content?: string | undefined; Tags?: Record | undefined; } export interface DescribeVocabularyResponse { Vocabulary: Vocabulary | undefined; } export interface DescribeWorkspaceRequest { InstanceId: string | undefined; WorkspaceId: string | undefined; } export interface Workspace { Visibility?: Visibility | undefined; Id: string | undefined; Name: string | undefined; Arn: string | undefined; Description?: string | undefined; Theme?: WorkspaceTheme | undefined; Title?: string | undefined; LastModifiedTime: Date | undefined; LastModifiedRegion?: string | undefined; Tags?: Record | undefined; } export interface DescribeWorkspaceResponse { Workspace: Workspace | undefined; } export interface DisassociateAnalyticsDataSetRequest { InstanceId: string | undefined; DataSetId: string | undefined; TargetAccountId?: string | undefined; } export interface DisassociateApprovedOriginRequest { InstanceId: string | undefined; Origin: string | undefined; ClientToken?: string | undefined; } export interface DisassociateBotRequest { InstanceId: string | undefined; LexBot?: LexBot | undefined; LexV2Bot?: LexV2Bot | undefined; ClientToken?: string | undefined; } export interface DisassociateEmailAddressAliasRequest { EmailAddressId: string | undefined; InstanceId: string | undefined; AliasConfiguration: AliasConfiguration | undefined; ClientToken?: string | undefined; } export interface DisassociateEmailAddressAliasResponse {} export interface DisassociateFlowRequest { InstanceId: string | undefined; ResourceId: string | undefined; ResourceType: FlowAssociationResourceType | undefined; } export interface DisassociateFlowResponse {} export interface DisassociateHoursOfOperationsRequest { InstanceId: string | undefined; HoursOfOperationId: string | undefined; ParentHoursOfOperationIds: string[] | undefined; } export interface DisassociateInstanceStorageConfigRequest { InstanceId: string | undefined; AssociationId: string | undefined; ResourceType: InstanceStorageResourceType | undefined; ClientToken?: string | undefined; } export interface DisassociateLambdaFunctionRequest { InstanceId: string | undefined; FunctionArn: string | undefined; ClientToken?: string | undefined; } export interface DisassociateLexBotRequest { InstanceId: string | undefined; BotName: string | undefined; LexRegion: string | undefined; ClientToken?: string | undefined; } export interface DisassociatePhoneNumberContactFlowRequest { PhoneNumberId: string | undefined; InstanceId: string | undefined; } export interface DisassociateQueueEmailAddressesRequest { InstanceId: string | undefined; QueueId: string | undefined; EmailAddressesId: string[] | undefined; ClientToken?: string | undefined; } export interface DisassociateQueueQuickConnectsRequest { InstanceId: string | undefined; QueueId: string | undefined; QuickConnectIds: string[] | undefined; } export interface DisassociateRoutingProfileQueuesRequest { InstanceId: string | undefined; RoutingProfileId: string | undefined; QueueReferences?: RoutingProfileQueueReference[] | undefined; ManualAssignmentQueueReferences?: RoutingProfileQueueReference[] | undefined; } export interface DisassociateSecurityKeyRequest { InstanceId: string | undefined; AssociationId: string | undefined; ClientToken?: string | undefined; } export interface DisassociateSecurityProfilesRequest { InstanceId: string | undefined; SecurityProfiles: SecurityProfileItem[] | undefined; EntityType: EntityType | undefined; EntityArn: string | undefined; } export interface DisassociateTrafficDistributionGroupUserRequest { TrafficDistributionGroupId: string | undefined; UserId: string | undefined; InstanceId: string | undefined; } export interface DisassociateTrafficDistributionGroupUserResponse {} export interface UserProficiencyDisassociate { AttributeName: string | undefined; AttributeValue: string | undefined; } export interface DisassociateUserProficienciesRequest { InstanceId: string | undefined; UserId: string | undefined; UserProficiencies: UserProficiencyDisassociate[] | undefined; } export interface DisassociateWorkspaceRequest { InstanceId: string | undefined; WorkspaceId: string | undefined; ResourceArns: string[] | undefined; } export interface DisassociateWorkspaceResponse { SuccessfulList?: SuccessfulBatchAssociationSummary[] | undefined; FailedList?: FailedBatchAssociationSummary[] | undefined; } export interface DismissUserContactRequest { UserId: string | undefined; InstanceId: string | undefined; ContactId: string | undefined; } export interface DismissUserContactResponse {} export interface DataTableValueEvaluationSet { PrimaryValues?: PrimaryValue[] | undefined; AttributeNames: string[] | undefined; } export interface EvaluateDataTableValuesRequest { InstanceId: string | undefined; DataTableId: string | undefined; Values: DataTableValueEvaluationSet[] | undefined; TimeZone?: string | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface DataTableEvaluatedValue { RecordId: string | undefined; PrimaryValues: PrimaryValue[] | undefined; AttributeName: string | undefined; ValueType: DataTableAttributeValueType | undefined; Found: boolean | undefined; Error: boolean | undefined; EvaluatedValue: string | undefined; } export interface EvaluateDataTableValuesResponse { Values: DataTableEvaluatedValue[] | undefined; NextToken?: string | undefined; } export interface GetAttachedFileRequest { InstanceId: string | undefined; FileId: string | undefined; UrlExpiryInSeconds?: number | undefined; AssociatedResourceArn: string | undefined; } export interface DownloadUrlMetadata { Url?: string | undefined; UrlExpiry?: string | undefined; } export interface GetAttachedFileResponse { FileArn?: string | undefined; FileId?: string | undefined; CreationTime?: string | undefined; FileStatus?: FileStatusType | undefined; FileName?: string | undefined; FileSizeInBytes: number | undefined; AssociatedResourceArn?: string | undefined; FileUseCaseType?: FileUseCaseType | undefined; CreatedBy?: CreatedByInfo | undefined; DownloadUrlMetadata?: DownloadUrlMetadata | undefined; Tags?: Record | undefined; } export interface GetContactAttributesRequest { InstanceId: string | undefined; InitialContactId: string | undefined; } export interface GetContactAttributesResponse { Attributes?: Record | undefined; } export interface ContactMetricInfo { Name: ContactMetricName | undefined; } export interface GetContactMetricsRequest { InstanceId: string | undefined; ContactId: string | undefined; Metrics: ContactMetricInfo[] | undefined; } export type ContactMetricValue = | ContactMetricValue.NumberMember | ContactMetricValue.$UnknownMember; export declare namespace ContactMetricValue { interface NumberMember { Number: number; $unknown?: never; } interface $UnknownMember { Number?: never; $unknown: [string, any]; } interface Visitor { Number: (value: number) => T; _: (name: string, value: any) => T; } } export interface ContactMetricResult { Name: ContactMetricName | undefined; Value: ContactMetricValue | undefined; } export interface GetContactMetricsResponse { MetricResults?: ContactMetricResult[] | undefined; Id?: string | undefined; Arn?: string | undefined; } export interface CurrentMetric { Name?: CurrentMetricName | undefined; MetricId?: string | undefined; Unit?: Unit | undefined; } export interface Filters { Queues?: string[] | undefined; Channels?: Channel[] | undefined; RoutingProfiles?: string[] | undefined; RoutingStepExpressions?: string[] | undefined; AgentStatuses?: string[] | undefined; Subtypes?: string[] | undefined; ValidationTestTypes?: string[] | undefined; } export interface CurrentMetricSortCriteria { SortByMetric?: CurrentMetricName | undefined; SortOrder?: SortOrder | undefined; } export interface GetCurrentMetricDataRequest { InstanceId: string | undefined; Filters: Filters | undefined; Groupings?: Grouping[] | undefined; CurrentMetrics: CurrentMetric[] | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; SortCriteria?: CurrentMetricSortCriteria[] | undefined; } export interface CurrentMetricData { Metric?: CurrentMetric | undefined; Value?: number | undefined; } export interface RoutingProfileReference { Id?: string | undefined; Arn?: string | undefined; } export interface Dimensions { Queue?: QueueReference | undefined; Channel?: Channel | undefined; RoutingProfile?: RoutingProfileReference | undefined; RoutingStepExpression?: string | undefined; AgentStatus?: AgentStatusIdentifier | undefined; Subtype?: string | undefined; ValidationTestType?: string | undefined; } export interface CurrentMetricResult { Dimensions?: Dimensions | undefined; Collections?: CurrentMetricData[] | undefined; } export interface GetCurrentMetricDataResponse { NextToken?: string | undefined; MetricResults?: CurrentMetricResult[] | undefined; DataSnapshotTime?: Date | undefined; ApproximateTotalCount?: number | undefined; } export interface ContactFilter { ContactStates?: ContactState[] | undefined; } export interface UserDataFilters { Queues?: string[] | undefined; ContactFilter?: ContactFilter | undefined; RoutingProfiles?: string[] | undefined; Agents?: string[] | undefined; UserHierarchyGroups?: string[] | undefined; } export interface GetCurrentUserDataRequest { InstanceId: string | undefined; Filters: UserDataFilters | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface HierarchyGroupSummaryReference { Id?: string | undefined; Arn?: string | undefined; } export interface HierarchyPathReference { LevelOne?: HierarchyGroupSummaryReference | undefined; LevelTwo?: HierarchyGroupSummaryReference | undefined; LevelThree?: HierarchyGroupSummaryReference | undefined; LevelFour?: HierarchyGroupSummaryReference | undefined; LevelFive?: HierarchyGroupSummaryReference | undefined; } export interface UserReference { Id?: string | undefined; Arn?: string | undefined; } export interface UserData { User?: UserReference | undefined; RoutingProfile?: RoutingProfileReference | undefined; HierarchyPath?: HierarchyPathReference | undefined; Status?: AgentStatusReference | undefined; AvailableSlotsByChannel?: Partial> | undefined; MaxSlotsByChannel?: Partial> | undefined; ActiveSlotsByChannel?: Partial> | undefined; Contacts?: AgentContactReference[] | undefined; NextStatus?: string | undefined; } export interface GetCurrentUserDataResponse { NextToken?: string | undefined; UserDataList?: UserData[] | undefined; ApproximateTotalCount?: number | undefined; } export interface GetEffectiveHoursOfOperationsRequest { InstanceId: string | undefined; HoursOfOperationId: string | undefined; FromDate: string | undefined; ToDate: string | undefined; } export interface OperationalHour { Start?: OverrideTimeSlice | undefined; End?: OverrideTimeSlice | undefined; } export interface EffectiveHoursOfOperations { Date?: string | undefined; OperationalHours?: OperationalHour[] | undefined; } export interface OverrideHour { Start?: OverrideTimeSlice | undefined; End?: OverrideTimeSlice | undefined; OverrideName?: string | undefined; OperationalStatus?: OperationalStatus | undefined; } export interface EffectiveOverrideHours { Date?: string | undefined; OverrideHours?: OverrideHour[] | undefined; } export interface GetEffectiveHoursOfOperationsResponse { EffectiveHoursOfOperationList?: EffectiveHoursOfOperations[] | undefined; EffectiveOverrideHoursList?: EffectiveOverrideHours[] | undefined; TimeZone?: string | undefined; } export interface GetFederationTokenRequest { InstanceId: string | undefined; } export interface Credentials { AccessToken?: string | undefined; AccessTokenExpiration?: Date | undefined; RefreshToken?: string | undefined; RefreshTokenExpiration?: Date | undefined; } export interface GetFederationTokenResponse { Credentials?: Credentials | undefined; SignInUrl?: string | undefined; UserArn?: string | undefined; UserId?: string | undefined; } export interface GetFlowAssociationRequest { InstanceId: string | undefined; ResourceId: string | undefined; ResourceType: FlowAssociationResourceType | undefined; } export interface GetFlowAssociationResponse { ResourceId?: string | undefined; FlowId?: string | undefined; ResourceType?: FlowAssociationResourceType | undefined; } export interface Threshold { Comparison?: Comparison | undefined; ThresholdValue?: number | undefined; } export interface HistoricalMetric { Name?: HistoricalMetricName | undefined; Threshold?: Threshold | undefined; Statistic?: Statistic | undefined; Unit?: Unit | undefined; } export interface GetMetricDataRequest { InstanceId: string | undefined; StartTime: Date | undefined; EndTime: Date | undefined; Filters: Filters | undefined; Groupings?: Grouping[] | undefined; HistoricalMetrics: HistoricalMetric[] | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface HistoricalMetricData { Metric?: HistoricalMetric | undefined; Value?: number | undefined; } export interface HistoricalMetricResult { Dimensions?: Dimensions | undefined; Collections?: HistoricalMetricData[] | undefined; } export interface GetMetricDataResponse { NextToken?: string | undefined; MetricResults?: HistoricalMetricResult[] | undefined; } export interface FilterV2StringCondition { Comparison?: FilterV2StringConditionComparisonOperator | undefined; } export interface FilterV2 { FilterKey?: string | undefined; FilterValues?: string[] | undefined; StringCondition?: FilterV2StringCondition | undefined; } export interface IntervalDetails { TimeZone?: string | undefined; IntervalPeriod?: IntervalPeriod | undefined; } export interface MetricFilterV2 { MetricFilterKey?: string | undefined; MetricFilterValues?: string[] | undefined; Negate?: boolean | undefined; } export interface ThresholdV2 { Comparison?: string | undefined; ThresholdValue?: number | undefined; } export interface MetricV2 { Name?: string | undefined; Threshold?: ThresholdV2[] | undefined; MetricId?: string | undefined; MetricFilters?: MetricFilterV2[] | undefined; } export interface GetMetricDataV2Request { ResourceArn: string | undefined; StartTime: Date | undefined; EndTime: Date | undefined; Interval?: IntervalDetails | undefined; Filters: FilterV2[] | undefined; Groupings?: string[] | undefined; Metrics: MetricV2[] | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface MetricDataV2 { Metric?: MetricV2 | undefined; Value?: number | undefined; } export interface MetricInterval { Interval?: IntervalPeriod | undefined; StartTime?: Date | undefined; EndTime?: Date | undefined; } export interface MetricResultV2 { Dimensions?: Record | undefined; MetricInterval?: MetricInterval | undefined; Collections?: MetricDataV2[] | undefined; } export interface GetMetricDataV2Response { NextToken?: string | undefined; MetricResults?: MetricResultV2[] | undefined; }