export type GetRequest = { /** * day to get statistics for. * only year-month-day are used. */ day: Date; }; export type GetResponse = { /** total sends by platform */ sends: Record; }; export type GetMessagesStatByApplicationsRequest = { /** * days to get statistics for. * only year-month-day are used. */ dayFrom: Date; dayTo: Date; applicationIds: number[]; }; export type GetMessagesStatByApplicationsResponse_Statistics = { applicationId: number; platform: number; sends: number; opens: number; }; export type GetMessagesStatByApplicationsResponse = { /** total metrics by apps and platforms */ statistics: GetMessagesStatByApplicationsResponse_Statistics[]; }; export type GetAudienceStatByApplicationsRequest = { /** * days to get statistics for. * only year-month-day are used. */ dayFrom: Date; dayTo: Date; applicationIds: number[]; }; export type GetAudienceStatByApplicationsResponse_Statistics = { applicationId: number; platform: number; installs: number; subscriptions: number; }; export type GetAudienceStatByApplicationsResponse = { /** total metrics by apps and platforms */ statistics: GetAudienceStatByApplicationsResponse_Statistics[]; };