import { DeliveryStatus, JourneyRunStatus, State, TemplateType } from "./enums"; import { AddressConfiguration, ADMChannelRequest, ADMChannelResponse, AndroidPushNotificationTemplate, APNSChannelRequest, APNSChannelResponse, APNSPushNotificationTemplate, APNSSandboxChannelRequest, APNSSandboxChannelResponse, APNSVoipChannelRequest, APNSVoipChannelResponse, APNSVoipSandboxChannelRequest, APNSVoipSandboxChannelResponse, ApplicationSettingsJourneyLimits, ApplicationSettingsResource, AttributesResource, BaiduChannelRequest, BaiduChannelResponse, BaseKpiResult, CampaignHook, CampaignLimits, CampaignResponse, DefaultPushNotificationTemplate, DirectMessageConfiguration, EmailChannelRequest, EmailChannelResponse, EmailTemplateRequest, EndpointBatchRequest, EndpointMessageResult, EndpointRequest, EndpointSendConfiguration, EndpointsResponse, EventsRequest, EventsResponse, EventStream, ExportJobsResponse, GCMChannelRequest, GCMChannelResponse, ImportJobsResponse, InAppTemplateRequest, JourneyResponse, MessageBody, PushNotificationTemplateRequest, QuietTime, RecommenderConfigurationResponse, SegmentResponse, SMSChannelResponse, SMSTemplateRequest, TemplateConfiguration, VoiceChannelResponse, VoiceTemplateRequest, WriteCampaignRequest, WriteJourneyRequest, WriteSegmentRequest, } from "./models_0"; export interface GetJourneyResponse { JourneyResponse: JourneyResponse | undefined; } export interface GetJourneyDateRangeKpiRequest { ApplicationId: string | undefined; EndTime?: Date | undefined; JourneyId: string | undefined; KpiName: string | undefined; NextToken?: string | undefined; PageSize?: string | undefined; StartTime?: Date | undefined; } export interface JourneyDateRangeKpiResponse { ApplicationId: string | undefined; EndTime: Date | undefined; JourneyId: string | undefined; KpiName: string | undefined; KpiResult: BaseKpiResult | undefined; NextToken?: string | undefined; StartTime: Date | undefined; } export interface GetJourneyDateRangeKpiResponse { JourneyDateRangeKpiResponse: JourneyDateRangeKpiResponse | undefined; } export interface GetJourneyExecutionActivityMetricsRequest { ApplicationId: string | undefined; JourneyActivityId: string | undefined; JourneyId: string | undefined; NextToken?: string | undefined; PageSize?: string | undefined; } export interface JourneyExecutionActivityMetricsResponse { ActivityType: string | undefined; ApplicationId: string | undefined; JourneyActivityId: string | undefined; JourneyId: string | undefined; LastEvaluatedTime: string | undefined; Metrics: Record | undefined; } export interface GetJourneyExecutionActivityMetricsResponse { JourneyExecutionActivityMetricsResponse: | JourneyExecutionActivityMetricsResponse | undefined; } export interface GetJourneyExecutionMetricsRequest { ApplicationId: string | undefined; JourneyId: string | undefined; NextToken?: string | undefined; PageSize?: string | undefined; } export interface JourneyExecutionMetricsResponse { ApplicationId: string | undefined; JourneyId: string | undefined; LastEvaluatedTime: string | undefined; Metrics: Record | undefined; } export interface GetJourneyExecutionMetricsResponse { JourneyExecutionMetricsResponse: JourneyExecutionMetricsResponse | undefined; } export interface GetJourneyRunExecutionActivityMetricsRequest { ApplicationId: string | undefined; JourneyActivityId: string | undefined; JourneyId: string | undefined; NextToken?: string | undefined; PageSize?: string | undefined; RunId: string | undefined; } export interface JourneyRunExecutionActivityMetricsResponse { ActivityType: string | undefined; ApplicationId: string | undefined; JourneyActivityId: string | undefined; JourneyId: string | undefined; LastEvaluatedTime: string | undefined; Metrics: Record | undefined; RunId: string | undefined; } export interface GetJourneyRunExecutionActivityMetricsResponse { JourneyRunExecutionActivityMetricsResponse: | JourneyRunExecutionActivityMetricsResponse | undefined; } export interface GetJourneyRunExecutionMetricsRequest { ApplicationId: string | undefined; JourneyId: string | undefined; NextToken?: string | undefined; PageSize?: string | undefined; RunId: string | undefined; } export interface JourneyRunExecutionMetricsResponse { ApplicationId: string | undefined; JourneyId: string | undefined; LastEvaluatedTime: string | undefined; Metrics: Record | undefined; RunId: string | undefined; } export interface GetJourneyRunExecutionMetricsResponse { JourneyRunExecutionMetricsResponse: | JourneyRunExecutionMetricsResponse | undefined; } export interface GetJourneyRunsRequest { ApplicationId: string | undefined; JourneyId: string | undefined; PageSize?: string | undefined; Token?: string | undefined; } export interface JourneyRunResponse { CreationTime: string | undefined; LastUpdateTime: string | undefined; RunId: string | undefined; Status: JourneyRunStatus | undefined; } export interface JourneyRunsResponse { Item: JourneyRunResponse[] | undefined; NextToken?: string | undefined; } export interface GetJourneyRunsResponse { JourneyRunsResponse: JourneyRunsResponse | undefined; } export interface GetPushTemplateRequest { TemplateName: string | undefined; Version?: string | undefined; } export interface PushNotificationTemplateResponse { ADM?: AndroidPushNotificationTemplate | undefined; APNS?: APNSPushNotificationTemplate | undefined; Arn?: string | undefined; Baidu?: AndroidPushNotificationTemplate | undefined; CreationDate: string | undefined; Default?: DefaultPushNotificationTemplate | undefined; DefaultSubstitutions?: string | undefined; GCM?: AndroidPushNotificationTemplate | undefined; LastModifiedDate: string | undefined; RecommenderId?: string | undefined; tags?: Record | undefined; TemplateDescription?: string | undefined; TemplateName: string | undefined; TemplateType: TemplateType | undefined; Version?: string | undefined; } export interface GetPushTemplateResponse { PushNotificationTemplateResponse: | PushNotificationTemplateResponse | undefined; } export interface GetRecommenderConfigurationRequest { RecommenderId: string | undefined; } export interface GetRecommenderConfigurationResponse { RecommenderConfigurationResponse: | RecommenderConfigurationResponse | undefined; } export interface GetRecommenderConfigurationsRequest { PageSize?: string | undefined; Token?: string | undefined; } export interface ListRecommenderConfigurationsResponse { Item: RecommenderConfigurationResponse[] | undefined; NextToken?: string | undefined; } export interface GetRecommenderConfigurationsResponse { ListRecommenderConfigurationsResponse: | ListRecommenderConfigurationsResponse | undefined; } export interface GetSegmentRequest { ApplicationId: string | undefined; SegmentId: string | undefined; } export interface GetSegmentResponse { SegmentResponse: SegmentResponse | undefined; } export interface GetSegmentExportJobsRequest { ApplicationId: string | undefined; PageSize?: string | undefined; SegmentId: string | undefined; Token?: string | undefined; } export interface GetSegmentExportJobsResponse { ExportJobsResponse: ExportJobsResponse | undefined; } export interface GetSegmentImportJobsRequest { ApplicationId: string | undefined; PageSize?: string | undefined; SegmentId: string | undefined; Token?: string | undefined; } export interface GetSegmentImportJobsResponse { ImportJobsResponse: ImportJobsResponse | undefined; } export interface GetSegmentsRequest { ApplicationId: string | undefined; PageSize?: string | undefined; Token?: string | undefined; } export interface SegmentsResponse { Item: SegmentResponse[] | undefined; NextToken?: string | undefined; } export interface GetSegmentsResponse { SegmentsResponse: SegmentsResponse | undefined; } export interface GetSegmentVersionRequest { ApplicationId: string | undefined; SegmentId: string | undefined; Version: string | undefined; } export interface GetSegmentVersionResponse { SegmentResponse: SegmentResponse | undefined; } export interface GetSegmentVersionsRequest { ApplicationId: string | undefined; PageSize?: string | undefined; SegmentId: string | undefined; Token?: string | undefined; } export interface GetSegmentVersionsResponse { SegmentsResponse: SegmentsResponse | undefined; } export interface GetSmsChannelRequest { ApplicationId: string | undefined; } export interface GetSmsChannelResponse { SMSChannelResponse: SMSChannelResponse | undefined; } export interface GetSmsTemplateRequest { TemplateName: string | undefined; Version?: string | undefined; } export interface SMSTemplateResponse { Arn?: string | undefined; Body?: string | undefined; CreationDate: string | undefined; DefaultSubstitutions?: string | undefined; LastModifiedDate: string | undefined; RecommenderId?: string | undefined; tags?: Record | undefined; TemplateDescription?: string | undefined; TemplateName: string | undefined; TemplateType: TemplateType | undefined; Version?: string | undefined; } export interface GetSmsTemplateResponse { SMSTemplateResponse: SMSTemplateResponse | undefined; } export interface GetUserEndpointsRequest { ApplicationId: string | undefined; UserId: string | undefined; } export interface GetUserEndpointsResponse { EndpointsResponse: EndpointsResponse | undefined; } export interface GetVoiceChannelRequest { ApplicationId: string | undefined; } export interface GetVoiceChannelResponse { VoiceChannelResponse: VoiceChannelResponse | undefined; } export interface GetVoiceTemplateRequest { TemplateName: string | undefined; Version?: string | undefined; } export interface VoiceTemplateResponse { Arn?: string | undefined; Body?: string | undefined; CreationDate: string | undefined; DefaultSubstitutions?: string | undefined; LanguageCode?: string | undefined; LastModifiedDate: string | undefined; tags?: Record | undefined; TemplateDescription?: string | undefined; TemplateName: string | undefined; TemplateType: TemplateType | undefined; Version?: string | undefined; VoiceId?: string | undefined; } export interface GetVoiceTemplateResponse { VoiceTemplateResponse: VoiceTemplateResponse | undefined; } export interface JourneysResponse { Item: JourneyResponse[] | undefined; NextToken?: string | undefined; } export interface JourneyStateRequest { State?: State | undefined; } export interface ListJourneysRequest { ApplicationId: string | undefined; PageSize?: string | undefined; Token?: string | undefined; } export interface ListJourneysResponse { JourneysResponse: JourneysResponse | undefined; } export interface TemplateResponse { Arn?: string | undefined; CreationDate: string | undefined; DefaultSubstitutions?: string | undefined; LastModifiedDate: string | undefined; tags?: Record | undefined; TemplateDescription?: string | undefined; TemplateName: string | undefined; TemplateType: TemplateType | undefined; Version?: string | undefined; } export interface TemplateVersionResponse { CreationDate: string | undefined; DefaultSubstitutions?: string | undefined; LastModifiedDate: string | undefined; TemplateDescription?: string | undefined; TemplateName: string | undefined; TemplateType: string | undefined; Version?: string | undefined; } export interface ListTagsForResourceRequest { ResourceArn: string | undefined; } export interface TagsModel { tags: Record | undefined; } export interface ListTagsForResourceResponse { TagsModel: TagsModel | undefined; } export interface ListTemplatesRequest { NextToken?: string | undefined; PageSize?: string | undefined; Prefix?: string | undefined; TemplateType?: string | undefined; } export interface TemplatesResponse { Item: TemplateResponse[] | undefined; NextToken?: string | undefined; } export interface ListTemplatesResponse { TemplatesResponse: TemplatesResponse | undefined; } export interface ListTemplateVersionsRequest { NextToken?: string | undefined; PageSize?: string | undefined; TemplateName: string | undefined; TemplateType: string | undefined; } export interface TemplateVersionsResponse { Item: TemplateVersionResponse[] | undefined; Message?: string | undefined; NextToken?: string | undefined; RequestID?: string | undefined; } export interface ListTemplateVersionsResponse { TemplateVersionsResponse: TemplateVersionsResponse | undefined; } export interface MessageResult { DeliveryStatus: DeliveryStatus | undefined; MessageId?: string | undefined; StatusCode: number | undefined; StatusMessage?: string | undefined; UpdatedToken?: string | undefined; } export interface MessageRequest { Addresses?: Record | undefined; Context?: Record | undefined; Endpoints?: Record | undefined; MessageConfiguration: DirectMessageConfiguration | undefined; TemplateConfiguration?: TemplateConfiguration | undefined; TraceId?: string | undefined; } export interface MessageResponse { ApplicationId: string | undefined; EndpointResult?: Record | undefined; RequestId?: string | undefined; Result?: Record | undefined; } export interface NumberValidateRequest { IsoCountryCode?: string | undefined; PhoneNumber?: string | undefined; } export interface NumberValidateResponse { Carrier?: string | undefined; City?: string | undefined; CleansedPhoneNumberE164?: string | undefined; CleansedPhoneNumberNational?: string | undefined; Country?: string | undefined; CountryCodeIso2?: string | undefined; CountryCodeNumeric?: string | undefined; County?: string | undefined; OriginalCountryCodeIso2?: string | undefined; OriginalPhoneNumber?: string | undefined; PhoneType?: string | undefined; PhoneTypeCode?: number | undefined; Timezone?: string | undefined; ZipCode?: string | undefined; } export interface PhoneNumberValidateRequest { NumberValidateRequest: NumberValidateRequest | undefined; } export interface PhoneNumberValidateResponse { NumberValidateResponse: NumberValidateResponse | undefined; } export interface PutEventsRequest { ApplicationId: string | undefined; EventsRequest: EventsRequest | undefined; } export interface PutEventsResponse { EventsResponse: EventsResponse | undefined; } export interface WriteEventStream { DestinationStreamArn: string | undefined; RoleArn: string | undefined; } export interface PutEventStreamRequest { ApplicationId: string | undefined; WriteEventStream: WriteEventStream | undefined; } export interface PutEventStreamResponse { EventStream: EventStream | undefined; } export interface UpdateAttributesRequest { Blacklist?: string[] | undefined; } export interface RemoveAttributesRequest { ApplicationId: string | undefined; AttributeType: string | undefined; UpdateAttributesRequest: UpdateAttributesRequest | undefined; } export interface RemoveAttributesResponse { AttributesResource: AttributesResource | undefined; } export interface SendMessagesRequest { ApplicationId: string | undefined; MessageRequest: MessageRequest | undefined; } export interface SendMessagesResponse { MessageResponse: MessageResponse | undefined; } export interface SendOTPMessageRequestParameters { AllowedAttempts?: number | undefined; BrandName: string | undefined; Channel: string | undefined; CodeLength?: number | undefined; DestinationIdentity: string | undefined; EntityId?: string | undefined; Language?: string | undefined; OriginationIdentity: string | undefined; ReferenceId: string | undefined; TemplateId?: string | undefined; ValidityPeriod?: number | undefined; } export interface SendOTPMessageRequest { ApplicationId: string | undefined; SendOTPMessageRequestParameters: SendOTPMessageRequestParameters | undefined; } export interface SendOTPMessageResponse { MessageResponse: MessageResponse | undefined; } export interface SendUsersMessageRequest { Context?: Record | undefined; MessageConfiguration: DirectMessageConfiguration | undefined; TemplateConfiguration?: TemplateConfiguration | undefined; TraceId?: string | undefined; Users: Record | undefined; } export interface SendUsersMessagesRequest { ApplicationId: string | undefined; SendUsersMessageRequest: SendUsersMessageRequest | undefined; } export interface SendUsersMessageResponse { ApplicationId: string | undefined; RequestId?: string | undefined; Result?: Record> | undefined; } export interface SendUsersMessagesResponse { SendUsersMessageResponse: SendUsersMessageResponse | undefined; } export interface TagResourceRequest { ResourceArn: string | undefined; TagsModel: TagsModel | undefined; } export interface UntagResourceRequest { ResourceArn: string | undefined; TagKeys: string[] | undefined; } export interface UpdateAdmChannelRequest { ADMChannelRequest: ADMChannelRequest | undefined; ApplicationId: string | undefined; } export interface UpdateAdmChannelResponse { ADMChannelResponse: ADMChannelResponse | undefined; } export interface UpdateApnsChannelRequest { APNSChannelRequest: APNSChannelRequest | undefined; ApplicationId: string | undefined; } export interface UpdateApnsChannelResponse { APNSChannelResponse: APNSChannelResponse | undefined; } export interface UpdateApnsSandboxChannelRequest { APNSSandboxChannelRequest: APNSSandboxChannelRequest | undefined; ApplicationId: string | undefined; } export interface UpdateApnsSandboxChannelResponse { APNSSandboxChannelResponse: APNSSandboxChannelResponse | undefined; } export interface UpdateApnsVoipChannelRequest { APNSVoipChannelRequest: APNSVoipChannelRequest | undefined; ApplicationId: string | undefined; } export interface UpdateApnsVoipChannelResponse { APNSVoipChannelResponse: APNSVoipChannelResponse | undefined; } export interface UpdateApnsVoipSandboxChannelRequest { APNSVoipSandboxChannelRequest: APNSVoipSandboxChannelRequest | undefined; ApplicationId: string | undefined; } export interface UpdateApnsVoipSandboxChannelResponse { APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse | undefined; } export interface WriteApplicationSettingsRequest { CampaignHook?: CampaignHook | undefined; CloudWatchMetricsEnabled?: boolean | undefined; EventTaggingEnabled?: boolean | undefined; Limits?: CampaignLimits | undefined; QuietTime?: QuietTime | undefined; JourneyLimits?: ApplicationSettingsJourneyLimits | undefined; } export interface UpdateApplicationSettingsRequest { ApplicationId: string | undefined; WriteApplicationSettingsRequest: WriteApplicationSettingsRequest | undefined; } export interface UpdateApplicationSettingsResponse { ApplicationSettingsResource: ApplicationSettingsResource | undefined; } export interface UpdateBaiduChannelRequest { ApplicationId: string | undefined; BaiduChannelRequest: BaiduChannelRequest | undefined; } export interface UpdateBaiduChannelResponse { BaiduChannelResponse: BaiduChannelResponse | undefined; } export interface UpdateCampaignRequest { ApplicationId: string | undefined; CampaignId: string | undefined; WriteCampaignRequest: WriteCampaignRequest | undefined; } export interface UpdateCampaignResponse { CampaignResponse: CampaignResponse | undefined; } export interface UpdateEmailChannelRequest { ApplicationId: string | undefined; EmailChannelRequest: EmailChannelRequest | undefined; } export interface UpdateEmailChannelResponse { EmailChannelResponse: EmailChannelResponse | undefined; } export interface UpdateEmailTemplateRequest { CreateNewVersion?: boolean | undefined; EmailTemplateRequest: EmailTemplateRequest | undefined; TemplateName: string | undefined; Version?: string | undefined; } export interface UpdateEmailTemplateResponse { MessageBody: MessageBody | undefined; } export interface UpdateEndpointRequest { ApplicationId: string | undefined; EndpointId: string | undefined; EndpointRequest: EndpointRequest | undefined; } export interface UpdateEndpointResponse { MessageBody: MessageBody | undefined; } export interface UpdateEndpointsBatchRequest { ApplicationId: string | undefined; EndpointBatchRequest: EndpointBatchRequest | undefined; } export interface UpdateEndpointsBatchResponse { MessageBody: MessageBody | undefined; } export interface UpdateGcmChannelRequest { ApplicationId: string | undefined; GCMChannelRequest: GCMChannelRequest | undefined; } export interface UpdateGcmChannelResponse { GCMChannelResponse: GCMChannelResponse | undefined; } export interface UpdateInAppTemplateRequest { CreateNewVersion?: boolean | undefined; InAppTemplateRequest: InAppTemplateRequest | undefined; TemplateName: string | undefined; Version?: string | undefined; } export interface UpdateInAppTemplateResponse { MessageBody: MessageBody | undefined; } export interface UpdateJourneyRequest { ApplicationId: string | undefined; JourneyId: string | undefined; WriteJourneyRequest: WriteJourneyRequest | undefined; } export interface UpdateJourneyResponse { JourneyResponse: JourneyResponse | undefined; } export interface UpdateJourneyStateRequest { ApplicationId: string | undefined; JourneyId: string | undefined; JourneyStateRequest: JourneyStateRequest | undefined; } export interface UpdateJourneyStateResponse { JourneyResponse: JourneyResponse | undefined; } export interface UpdatePushTemplateRequest { CreateNewVersion?: boolean | undefined; PushNotificationTemplateRequest: PushNotificationTemplateRequest | undefined; TemplateName: string | undefined; Version?: string | undefined; } export interface UpdatePushTemplateResponse { MessageBody: MessageBody | undefined; } export interface UpdateRecommenderConfigurationShape { Attributes?: Record | undefined; Description?: string | undefined; Name?: string | undefined; RecommendationProviderIdType?: string | undefined; RecommendationProviderRoleArn: string | undefined; RecommendationProviderUri: string | undefined; RecommendationTransformerUri?: string | undefined; RecommendationsDisplayName?: string | undefined; RecommendationsPerMessage?: number | undefined; } export interface UpdateRecommenderConfigurationRequest { RecommenderId: string | undefined; UpdateRecommenderConfiguration: | UpdateRecommenderConfigurationShape | undefined; } export interface UpdateRecommenderConfigurationResponse { RecommenderConfigurationResponse: | RecommenderConfigurationResponse | undefined; } export interface UpdateSegmentRequest { ApplicationId: string | undefined; SegmentId: string | undefined; WriteSegmentRequest: WriteSegmentRequest | undefined; } export interface UpdateSegmentResponse { SegmentResponse: SegmentResponse | undefined; } export interface SMSChannelRequest { Enabled?: boolean | undefined; SenderId?: string | undefined; ShortCode?: string | undefined; } export interface UpdateSmsChannelRequest { ApplicationId: string | undefined; SMSChannelRequest: SMSChannelRequest | undefined; } export interface UpdateSmsChannelResponse { SMSChannelResponse: SMSChannelResponse | undefined; } export interface UpdateSmsTemplateRequest { CreateNewVersion?: boolean | undefined; SMSTemplateRequest: SMSTemplateRequest | undefined; TemplateName: string | undefined; Version?: string | undefined; } export interface UpdateSmsTemplateResponse { MessageBody: MessageBody | undefined; } export interface TemplateActiveVersionRequest { Version?: string | undefined; } export interface UpdateTemplateActiveVersionRequest { TemplateActiveVersionRequest: TemplateActiveVersionRequest | undefined; TemplateName: string | undefined; TemplateType: string | undefined; } export interface UpdateTemplateActiveVersionResponse { MessageBody: MessageBody | undefined; } export interface VoiceChannelRequest { Enabled?: boolean | undefined; } export interface UpdateVoiceChannelRequest { ApplicationId: string | undefined; VoiceChannelRequest: VoiceChannelRequest | undefined; } export interface UpdateVoiceChannelResponse { VoiceChannelResponse: VoiceChannelResponse | undefined; } export interface UpdateVoiceTemplateRequest { CreateNewVersion?: boolean | undefined; TemplateName: string | undefined; Version?: string | undefined; VoiceTemplateRequest: VoiceTemplateRequest | undefined; } export interface UpdateVoiceTemplateResponse { MessageBody: MessageBody | undefined; } export interface VerifyOTPMessageRequestParameters { DestinationIdentity: string | undefined; Otp: string | undefined; ReferenceId: string | undefined; } export interface VerifyOTPMessageRequest { ApplicationId: string | undefined; VerifyOTPMessageRequestParameters: | VerifyOTPMessageRequestParameters | undefined; } export interface VerificationResponse { Valid?: boolean | undefined; } export interface VerifyOTPMessageResponse { VerificationResponse: VerificationResponse | undefined; }