import { ENV } from '../../types'; export interface FindAccountsArguments { limit: number; page: number; env?: ENV; } export interface FindAccountsByIDsArguments { ids: string[]; env?: ENV; } export interface FindAccountAvatarArguments { env?: ENV; } export interface GetUsersFilterArguments { env?: ENV; apps: string[]; } export interface GetGeoMapMonstersFilterArguments { env?: ENV; coordinates: MapCoordinates; } export interface GetMapFilterArguments { env?: ENV; apps: string[]; coordinates: MapCoordinates; } export interface GetMapHomebasesFilterArguments { env?: ENV; coordinates: MapCoordinates; } export interface GetMapMonsterBeaconsFilterArguments { env?: ENV; coordinates: MapCoordinates; } export interface MapCoordinates { bottomLeft: Coordinate; upperRight: Coordinate; } export interface Coordinate { longitude: number; latitude: number; } export interface GetMapHomebasesResponse { getMapHomebases: MapHomebaseUsers; } export interface GetMapMonsterBeaconsResponse { getMapMonsterBeacons: MapMonsterBeacons; } export interface MapGeoMonster { type: string; geometry: { type: string; coordinates: number[]; }; properties: { id: string; monsterID: string; city: string; region: string; country: string; }; } export interface GetGeoMapMonstersResponse { getGeoMapMonsters: { type: string; features: MapGeoMonster[]; }; } export interface MapHomebaseUsers { users: MapHomebaseUser[]; } export interface MapMonsterBeacons { users: MapMonsterBeacon[]; } export interface MapMonsterBeacon { id: string; monsterID: string; longitude: string; latitude: string; } export interface MapHomebaseUser { id: string; opesID: string; longitude: string; latitude: string; isMonster: boolean; country: string; region: string; city: string; } export interface GetMapResponse { getMap: MapUsers; } export interface MapUsers { users: MapUser[]; } export interface MapUser { id: string; opesID: string; longitude: string; latitude: string; apps: string[]; isMonster: boolean; } export interface GetUsersResponse { users: UserResponse[]; } export interface UserResponse { id: string; opesId: string; eggID: string; eggURL: string; type: string; long?: string; lat?: string; country?: string; region?: string; city?: string; apps: string[]; isMonster: boolean; } export interface ReadAccountArguments { accountIdToRead?: string; opesId?: string; env?: ENV; } export interface SaveLocationArguments { env?: ENV; token: string; long: string; lat: string; type: string; country: string; region: string; city: string; } export interface SaveDeviceTokenArguments { env?: ENV; token: string; deviceToken: string; } export interface GetLiveLocationsResponse { getLiveLocations: LocationsResponse; } export interface GetHomeLocationsResponse { getHomeLocations: LocationsResponse; } export interface LocationsResponse { locations: LocationEntry[]; } export interface LocationEntry { id: string; opesId: string; type: string; long?: string; lat?: string; country?: string; region?: string; city?: string; } export interface UpdateAccountArguments { accountIdToUpdate: string; accountModel: AccountModel; env?: ENV; token: string; } export interface AccountModel { image?: string; bio?: string; username?: string; opesId?: string; language?: string; details?: any; deviceToken?: string; } export interface AccountAvatarResponse { findAccountAvatar: AvatarResponse; } export interface AvatarResponse { avatars: AvatarModel[]; } export interface AvatarModel { url: string; }