import type { ENV } from 'types'; export interface EthSignature { signature: string; message: string; address: string; } export interface SquadMember { id: string; gatekeeperId: string; hatchedMonsterId: string; createdAt: string; opesId: string; monsterFullSizeUrl: string; monsterThumbnailUrl: string; finalScore: number; longestStreak: number; joinedAt: string; name: string; } export interface Invite { id: string; gatekeeperId: string; gatekeeperName: string; gatekeeperImageUrl: string; eggId: string; eggUrl: string; createdAt: string; expiresAt: string; status: string; } export interface SendInviteArguments { env?: ENV; token: string; gatekeeperId: string; eggs: string[]; ethSignature: EthSignature; } export interface SendInviteResponse { sendInvite: boolean; } export interface GetGatekeeperSquadArguments { env?: ENV; gatekeeperId: string; } export interface GetGatekeeperSquadResponse { getGatekeeperSquad: { squad: SquadMember[]; }; } export interface GetGatekeeperInvitesArguments { env?: ENV; gatekeeperId: string; } export interface GetGatekeeperInvitesResponse { getGatekeeperInvites: { invites: Invite[]; }; } export interface AcceptInviteArguments { env?: ENV; token: string; inviteId: string; eggId: string; speciesId: string; monsterName: string; } export interface DeclineInviteArguments { env?: ENV; token: string; inviteId: string; } export interface ChatInputArguments { env?: ENV; token: string; messages: [string]; } export interface ChatEntries { messages: [string]; } export interface ChatResponse { chatWithBot: ChatEntries; } export interface AcceptInviteResponse { acceptInvite: { inviteId: string; }; } export interface GetMyInvitesArguments { env?: ENV; eggId: string; } export interface GetMyInvitesResponse { getMyInvites: { invites: Invite[]; }; } export interface CheckInArguments { env?: ENV; topics: string[]; token: string; } export interface CheckInResponse { checkInHatching: { addedScore: number; }; }