import type { ENV } from 'types'; export interface ListEventItem { id: string; title: string; description: string; time: string; link: string; bannerUrl: string; hasCheckIn: boolean; eventLogo: string; xpReward: number; labels: string; channel: string; nonStamp: boolean; userResponse: string; countYesResponses: number; countNoResponses: number; countMaybeResponses: number; expiresAt: string; type: string; host: string; hostLink: string; locationAddress: string; locationAddressLink: string; } export interface Coordinate { longitude: number; latitude: number; } export interface GetMapFilterArguments { env?: ENV; events: string[]; coordinates: MapCoordinates; } export interface MapCoordinates { bottomLeft: Coordinate; upperRight: Coordinate; } export interface CheckInArguments { env?: ENV; eventId: string; coordinates: Coordinate; authToken: string; } export interface RespondToEventArguments { env?: ENV; eventId: string; response: string; authToken: string; } export interface FilterGetCheckinsLeaderboard { env?: ENV; appId: string; sortBy: string; smartIds?: string[]; } declare type FeedEventType = 'today' | 'live' | 'upcoming' | 'past'; declare type FeedStatusType = 'event_live' | 'event_online'; export interface GetFeedEventsArguments { env?: ENV; authToken: string; limit?: number; page?: number; type?: FeedEventType; eventType?: FeedStatusType; appIds?: string[]; } export interface GetFeedEventsResponse { getFeedEvents: { events: ListEventItem[]; total: number; }; } export {};