import { AcceptCodeValidation, AcceptType, ActivationStatus, ChannelType, ContactType, DayOfWeek, ReceiptType, ShiftType, } from "./enums"; export interface AcceptPageRequest { PageId: string | undefined; ContactChannelId?: string | undefined; AcceptType: AcceptType | undefined; Note?: string | undefined; AcceptCode: string | undefined; AcceptCodeValidation?: AcceptCodeValidation | undefined; } export interface AcceptPageResult {} export interface ValidationExceptionField { Name: string | undefined; Message: string | undefined; } export interface ActivateContactChannelRequest { ContactChannelId: string | undefined; ActivationCode: string | undefined; } export interface ActivateContactChannelResult {} export interface ChannelTargetInfo { ContactChannelId: string | undefined; RetryIntervalInMinutes?: number | undefined; } export interface DependentEntity { RelationType: string | undefined; DependentResourceIds: string[] | undefined; } export interface Contact { ContactArn: string | undefined; Alias: string | undefined; DisplayName?: string | undefined; Type: ContactType | undefined; } export interface ContactChannelAddress { SimpleAddress?: string | undefined; } export interface ContactChannel { ContactChannelArn: string | undefined; ContactArn: string | undefined; Name: string | undefined; Type?: ChannelType | undefined; DeliveryAddress: ContactChannelAddress | undefined; ActivationStatus: ActivationStatus | undefined; } export interface ContactTargetInfo { ContactId?: string | undefined; IsEssential: boolean | undefined; } export interface HandOffTime { HourOfDay: number | undefined; MinuteOfHour: number | undefined; } export interface CoverageTime { Start?: HandOffTime | undefined; End?: HandOffTime | undefined; } export interface Target { ChannelTargetInfo?: ChannelTargetInfo | undefined; ContactTargetInfo?: ContactTargetInfo | undefined; } export interface Stage { DurationInMinutes: number | undefined; Targets: Target[] | undefined; } export interface Plan { Stages?: Stage[] | undefined; RotationIds?: string[] | undefined; } export interface Tag { Key?: string | undefined; Value?: string | undefined; } export interface CreateContactRequest { Alias: string | undefined; DisplayName?: string | undefined; Type: ContactType | undefined; Plan: Plan | undefined; Tags?: Tag[] | undefined; IdempotencyToken?: string | undefined; } export interface CreateContactResult { ContactArn: string | undefined; } export interface CreateContactChannelRequest { ContactId: string | undefined; Name: string | undefined; Type: ChannelType | undefined; DeliveryAddress: ContactChannelAddress | undefined; DeferActivation?: boolean | undefined; IdempotencyToken?: string | undefined; } export interface CreateContactChannelResult { ContactChannelArn: string | undefined; } export interface MonthlySetting { DayOfMonth: number | undefined; HandOffTime: HandOffTime | undefined; } export interface WeeklySetting { DayOfWeek: DayOfWeek | undefined; HandOffTime: HandOffTime | undefined; } export interface RecurrenceSettings { MonthlySettings?: MonthlySetting[] | undefined; WeeklySettings?: WeeklySetting[] | undefined; DailySettings?: HandOffTime[] | undefined; NumberOfOnCalls: number | undefined; ShiftCoverages?: Partial> | undefined; RecurrenceMultiplier: number | undefined; } export interface CreateRotationRequest { Name: string | undefined; ContactIds: string[] | undefined; StartTime?: Date | undefined; TimeZoneId: string | undefined; Recurrence: RecurrenceSettings | undefined; Tags?: Tag[] | undefined; IdempotencyToken?: string | undefined; } export interface CreateRotationResult { RotationArn: string | undefined; } export interface CreateRotationOverrideRequest { RotationId: string | undefined; NewContactIds: string[] | undefined; StartTime: Date | undefined; EndTime: Date | undefined; IdempotencyToken?: string | undefined; } export interface CreateRotationOverrideResult { RotationOverrideId: string | undefined; } export interface DeactivateContactChannelRequest { ContactChannelId: string | undefined; } export interface DeactivateContactChannelResult {} export interface DeleteContactRequest { ContactId: string | undefined; } export interface DeleteContactResult {} export interface DeleteContactChannelRequest { ContactChannelId: string | undefined; } export interface DeleteContactChannelResult {} export interface DeleteRotationRequest { RotationId: string | undefined; } export interface DeleteRotationResult {} export interface DeleteRotationOverrideRequest { RotationId: string | undefined; RotationOverrideId: string | undefined; } export interface DeleteRotationOverrideResult {} export interface DescribeEngagementRequest { EngagementId: string | undefined; } export interface DescribeEngagementResult { ContactArn: string | undefined; EngagementArn: string | undefined; Sender: string | undefined; Subject: string | undefined; Content: string | undefined; PublicSubject?: string | undefined; PublicContent?: string | undefined; IncidentId?: string | undefined; StartTime?: Date | undefined; StopTime?: Date | undefined; } export interface DescribePageRequest { PageId: string | undefined; } export interface DescribePageResult { PageArn: string | undefined; EngagementArn: string | undefined; ContactArn: string | undefined; Sender: string | undefined; Subject: string | undefined; Content: string | undefined; PublicSubject?: string | undefined; PublicContent?: string | undefined; IncidentId?: string | undefined; SentTime?: Date | undefined; ReadTime?: Date | undefined; DeliveryTime?: Date | undefined; } export interface Engagement { EngagementArn: string | undefined; ContactArn: string | undefined; Sender: string | undefined; IncidentId?: string | undefined; StartTime?: Date | undefined; StopTime?: Date | undefined; } export interface GetContactRequest { ContactId: string | undefined; } export interface GetContactResult { ContactArn: string | undefined; Alias: string | undefined; DisplayName?: string | undefined; Type: ContactType | undefined; Plan: Plan | undefined; } export interface GetContactChannelRequest { ContactChannelId: string | undefined; } export interface GetContactChannelResult { ContactArn: string | undefined; ContactChannelArn: string | undefined; Name: string | undefined; Type: ChannelType | undefined; DeliveryAddress: ContactChannelAddress | undefined; ActivationStatus?: ActivationStatus | undefined; } export interface GetContactPolicyRequest { ContactArn: string | undefined; } export interface GetContactPolicyResult { ContactArn?: string | undefined; Policy?: string | undefined; } export interface GetRotationRequest { RotationId: string | undefined; } export interface GetRotationResult { RotationArn: string | undefined; Name: string | undefined; ContactIds: string[] | undefined; StartTime: Date | undefined; TimeZoneId: string | undefined; Recurrence: RecurrenceSettings | undefined; } export interface GetRotationOverrideRequest { RotationId: string | undefined; RotationOverrideId: string | undefined; } export interface GetRotationOverrideResult { RotationOverrideId?: string | undefined; RotationArn?: string | undefined; NewContactIds?: string[] | undefined; StartTime?: Date | undefined; EndTime?: Date | undefined; CreateTime?: Date | undefined; } export interface ListContactChannelsRequest { ContactId: string | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface ListContactChannelsResult { NextToken?: string | undefined; ContactChannels: ContactChannel[] | undefined; } export interface ListContactsRequest { NextToken?: string | undefined; MaxResults?: number | undefined; AliasPrefix?: string | undefined; Type?: ContactType | undefined; } export interface ListContactsResult { NextToken?: string | undefined; Contacts?: Contact[] | undefined; } export interface TimeRange { StartTime?: Date | undefined; EndTime?: Date | undefined; } export interface ListEngagementsRequest { NextToken?: string | undefined; MaxResults?: number | undefined; IncidentId?: string | undefined; TimeRangeValue?: TimeRange | undefined; } export interface ListEngagementsResult { NextToken?: string | undefined; Engagements: Engagement[] | undefined; } export interface ListPageReceiptsRequest { PageId: string | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface Receipt { ContactChannelArn?: string | undefined; ReceiptType: ReceiptType | undefined; ReceiptInfo?: string | undefined; ReceiptTime: Date | undefined; } export interface ListPageReceiptsResult { NextToken?: string | undefined; Receipts?: Receipt[] | undefined; } export interface ListPageResolutionsRequest { NextToken?: string | undefined; PageId: string | undefined; } export interface ResolutionContact { ContactArn: string | undefined; Type: ContactType | undefined; StageIndex?: number | undefined; } export interface ListPageResolutionsResult { NextToken?: string | undefined; PageResolutions: ResolutionContact[] | undefined; } export interface ListPagesByContactRequest { ContactId: string | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface Page { PageArn: string | undefined; EngagementArn: string | undefined; ContactArn: string | undefined; Sender: string | undefined; IncidentId?: string | undefined; SentTime?: Date | undefined; DeliveryTime?: Date | undefined; ReadTime?: Date | undefined; } export interface ListPagesByContactResult { NextToken?: string | undefined; Pages: Page[] | undefined; } export interface ListPagesByEngagementRequest { EngagementId: string | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface ListPagesByEngagementResult { NextToken?: string | undefined; Pages: Page[] | undefined; } export interface PreviewOverride { NewMembers?: string[] | undefined; StartTime?: Date | undefined; EndTime?: Date | undefined; } export interface ListPreviewRotationShiftsRequest { RotationStartTime?: Date | undefined; StartTime?: Date | undefined; EndTime: Date | undefined; Members: string[] | undefined; TimeZoneId: string | undefined; Recurrence: RecurrenceSettings | undefined; Overrides?: PreviewOverride[] | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface ShiftDetails { OverriddenContactIds: string[] | undefined; } export interface RotationShift { ContactIds?: string[] | undefined; StartTime: Date | undefined; EndTime: Date | undefined; Type?: ShiftType | undefined; ShiftDetails?: ShiftDetails | undefined; } export interface ListPreviewRotationShiftsResult { RotationShifts?: RotationShift[] | undefined; NextToken?: string | undefined; } export interface ListRotationOverridesRequest { RotationId: string | undefined; StartTime: Date | undefined; EndTime: Date | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface RotationOverride { RotationOverrideId: string | undefined; NewContactIds: string[] | undefined; StartTime: Date | undefined; EndTime: Date | undefined; CreateTime: Date | undefined; } export interface ListRotationOverridesResult { RotationOverrides?: RotationOverride[] | undefined; NextToken?: string | undefined; } export interface ListRotationsRequest { RotationNamePrefix?: string | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface Rotation { RotationArn: string | undefined; Name: string | undefined; ContactIds?: string[] | undefined; StartTime?: Date | undefined; TimeZoneId?: string | undefined; Recurrence?: RecurrenceSettings | undefined; } export interface ListRotationsResult { NextToken?: string | undefined; Rotations: Rotation[] | undefined; } export interface ListRotationShiftsRequest { RotationId: string | undefined; StartTime?: Date | undefined; EndTime: Date | undefined; NextToken?: string | undefined; MaxResults?: number | undefined; } export interface ListRotationShiftsResult { RotationShifts?: RotationShift[] | undefined; NextToken?: string | undefined; } export interface ListTagsForResourceRequest { ResourceARN: string | undefined; } export interface ListTagsForResourceResult { Tags?: Tag[] | undefined; } export interface PutContactPolicyRequest { ContactArn: string | undefined; Policy: string | undefined; } export interface PutContactPolicyResult {} export interface SendActivationCodeRequest { ContactChannelId: string | undefined; } export interface SendActivationCodeResult {} export interface StartEngagementRequest { ContactId: string | undefined; Sender: string | undefined; Subject: string | undefined; Content: string | undefined; PublicSubject?: string | undefined; PublicContent?: string | undefined; IncidentId?: string | undefined; IdempotencyToken?: string | undefined; } export interface StartEngagementResult { EngagementArn: string | undefined; } export interface StopEngagementRequest { EngagementId: string | undefined; Reason?: string | undefined; } export interface StopEngagementResult {} export interface TagResourceRequest { ResourceARN: string | undefined; Tags: Tag[] | undefined; } export interface TagResourceResult {} export interface UntagResourceRequest { ResourceARN: string | undefined; TagKeys: string[] | undefined; } export interface UntagResourceResult {} export interface UpdateContactRequest { ContactId: string | undefined; DisplayName?: string | undefined; Plan?: Plan | undefined; } export interface UpdateContactResult {} export interface UpdateContactChannelRequest { ContactChannelId: string | undefined; Name?: string | undefined; DeliveryAddress?: ContactChannelAddress | undefined; } export interface UpdateContactChannelResult {} export interface UpdateRotationRequest { RotationId: string | undefined; ContactIds?: string[] | undefined; StartTime?: Date | undefined; TimeZoneId?: string | undefined; Recurrence: RecurrenceSettings | undefined; } export interface UpdateRotationResult {}