From 4ea9f3770c458c4f665b78c1338a167205e7d48b Mon Sep 17 00:00:00 2001 From: MagnusHafstad <114174209+MagnusHafstad@users.noreply.github.com> Date: Sat, 27 Jul 2024 13:00:43 +0200 Subject: [PATCH] Style: linitng --- .../components/pages/organization/OrgShop.tsx | 4 +- .../pages/profile/UserForm/index.tsx | 5 +- frontend/src/generated/graphql.tsx | 10392 ++++++++++++++-- frontend/src/gql/index.ts | 2 +- 4 files changed, 9321 insertions(+), 1082 deletions(-) diff --git a/frontend/src/components/pages/organization/OrgShop.tsx b/frontend/src/components/pages/organization/OrgShop.tsx index c2782c6ad..bc624ec7b 100644 --- a/frontend/src/components/pages/organization/OrgShop.tsx +++ b/frontend/src/components/pages/organization/OrgShop.tsx @@ -1,10 +1,10 @@ import { useQuery } from "@apollo/client"; import { Box, Grid, Stack, Typography } from "@mui/material"; -import { ShopSale } from "../orgs/ShopSale"; - import { AdminOrganizationFragment, AllShopOrdersDocument } from "@/generated/graphql"; +import { ShopSale } from "../orgs/ShopSale"; + type Props = { organization: AdminOrganizationFragment; }; diff --git a/frontend/src/components/pages/profile/UserForm/index.tsx b/frontend/src/components/pages/profile/UserForm/index.tsx index 1a5e27ae5..9c50df198 100644 --- a/frontend/src/components/pages/profile/UserForm/index.tsx +++ b/frontend/src/components/pages/profile/UserForm/index.tsx @@ -197,10 +197,7 @@ export const UserForm: React.FC = ({ kind, title, onCompleted, "data-test {data?.user?.canUpdateYear && Kan bare endres én gang i året.} {!data?.user?.canUpdateYear && ( - Kan ikke endres før:{" "} - {dayjs(data?.user?.yearUpdatedAt) - .add(1, "year") - .format("L")} + Kan ikke endres før: {dayjs(data?.user?.yearUpdatedAt).add(1, "year").format("L")} )} diff --git a/frontend/src/generated/graphql.tsx b/frontend/src/generated/graphql.tsx index cd07b3415..09d3a0a86 100644 --- a/frontend/src/generated/graphql.tsx +++ b/frontend/src/generated/graphql.tsx @@ -1,45 +1,45 @@ -import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; +import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +export type Incremental = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - Date: { input: string; output: string; } - DateTime: { input: string; output: string; } - Decimal: { input: number; output: number; } - UUID: { input: string; output: string; } + ID: { input: string; output: string }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + Date: { input: string; output: string }; + DateTime: { input: string; output: string }; + Decimal: { input: number; output: number }; + UUID: { input: string; output: string }; }; /** Booking type for admin users */ export type AdminBookingType = { - __typename?: 'AdminBookingType'; + __typename?: "AdminBookingType"; cabins: Array; - checkIn: Scalars['Date']['output']; - checkOut: Scalars['Date']['output']; - declineReason: Scalars['String']['output']; - externalParticipants: Scalars['Int']['output']; - extraInfo: Scalars['String']['output']; - firstName: Scalars['String']['output']; - id: Scalars['ID']['output']; - internalParticipants: Scalars['Int']['output']; - isDeclined: Scalars['Boolean']['output']; - isInternalPrice?: Maybe; - isTentative: Scalars['Boolean']['output']; - lastName: Scalars['String']['output']; - numberOfNights?: Maybe; - phone: Scalars['String']['output']; - price?: Maybe; - receiverEmail: Scalars['String']['output']; - timestamp: Scalars['DateTime']['output']; + checkIn: Scalars["Date"]["output"]; + checkOut: Scalars["Date"]["output"]; + declineReason: Scalars["String"]["output"]; + externalParticipants: Scalars["Int"]["output"]; + extraInfo: Scalars["String"]["output"]; + firstName: Scalars["String"]["output"]; + id: Scalars["ID"]["output"]; + internalParticipants: Scalars["Int"]["output"]; + isDeclined: Scalars["Boolean"]["output"]; + isInternalPrice?: Maybe; + isTentative: Scalars["Boolean"]["output"]; + lastName: Scalars["String"]["output"]; + numberOfNights?: Maybe; + phone: Scalars["String"]["output"]; + price?: Maybe; + receiverEmail: Scalars["String"]["output"]; + timestamp: Scalars["DateTime"]["output"]; }; /** @@ -49,398 +49,398 @@ export type AdminBookingType = { * when a user signs off an event */ export type AdminEventSignOff = { - __typename?: 'AdminEventSignOff'; + __typename?: "AdminEventSignOff"; event?: Maybe; }; /** Booking type for fields available for not logged in users */ export type AllBookingsType = { - __typename?: 'AllBookingsType'; + __typename?: "AllBookingsType"; cabins: Array; - checkIn: Scalars['Date']['output']; - checkOut: Scalars['Date']['output']; - id: Scalars['ID']['output']; + checkIn: Scalars["Date"]["output"]; + checkOut: Scalars["Date"]["output"]; + id: Scalars["ID"]["output"]; }; export type AnswerInput = { - answer: Scalars['String']['input']; - questionId: Scalars['ID']['input']; + answer: Scalars["String"]["input"]; + questionId: Scalars["ID"]["input"]; }; /** A user's answer to a question. */ export type AnswerType = { - __typename?: 'AnswerType'; - answer: Scalars['String']['output']; - id?: Maybe; + __typename?: "AnswerType"; + answer: Scalars["String"]["output"]; + id?: Maybe; question: QuestionType; - uuid: Scalars['UUID']['output']; + uuid: Scalars["UUID"]["output"]; }; export type ArchiveDocumentType = { - __typename?: 'ArchiveDocumentType'; - featured: Scalars['Boolean']['output']; - fileLocation: Scalars['String']['output']; - id: Scalars['ID']['output']; - thumbnail?: Maybe; - title: Scalars['String']['output']; + __typename?: "ArchiveDocumentType"; + featured: Scalars["Boolean"]["output"]; + fileLocation: Scalars["String"]["output"]; + id: Scalars["ID"]["output"]; + thumbnail?: Maybe; + title: Scalars["String"]["output"]; typeDoc: ArchiveDocumentTypeDoc; - webLink?: Maybe; - year?: Maybe; + webLink?: Maybe; + year?: Maybe; }; /** An enumeration. */ export enum ArchiveDocumentTypeDoc { /** Annet */ - Annet = 'ANNET', + Annet = "ANNET", /** Årbøker */ - Arboker = 'ARBOKER', + Arboker = "ARBOKER", /** Budsjett og Regnskap */ - BudsjettOgRegnskap = 'BUDSJETT_OG_REGNSKAP', + BudsjettOgRegnskap = "BUDSJETT_OG_REGNSKAP", /** Foreningens lover */ - ForeningensLover = 'FORENINGENS_LOVER', + ForeningensLover = "FORENINGENS_LOVER", /** Generalforsamling */ - Generalforsamling = 'GENERALFORSAMLING', + Generalforsamling = "GENERALFORSAMLING", /** Januscript */ - Januscript = 'JANUSCRIPT', + Januscript = "JANUSCRIPT", /** Støtte fra HS */ - StotteFraHs = 'STOTTE_FRA_HS', + StotteFraHs = "STOTTE_FRA_HS", /** Utveksling */ - Utveksling = 'UTVEKSLING' + Utveksling = "UTVEKSLING", } export type AssignMembership = { - __typename?: 'AssignMembership'; + __typename?: "AssignMembership"; membership?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type AttemptCapturePayment = { - __typename?: 'AttemptCapturePayment'; + __typename?: "AttemptCapturePayment"; order?: Maybe; status?: Maybe; }; export type AuthUser = { - __typename?: 'AuthUser'; + __typename?: "AuthUser"; user: UserType; }; export type BaseFormInput = { - description?: InputMaybe; - name?: InputMaybe; - organizationId?: InputMaybe; + description?: InputMaybe; + name?: InputMaybe; + organizationId?: InputMaybe; }; export type BaseListingInput = { - application?: InputMaybe; - applicationUrl?: InputMaybe; - case?: InputMaybe; - deadline?: InputMaybe; - description?: InputMaybe; - endDatetime?: InputMaybe; - formId?: InputMaybe; - interview?: InputMaybe; - readMoreUrl?: InputMaybe; - startDatetime?: InputMaybe; - title?: InputMaybe; + application?: InputMaybe; + applicationUrl?: InputMaybe; + case?: InputMaybe; + deadline?: InputMaybe; + description?: InputMaybe; + endDatetime?: InputMaybe; + formId?: InputMaybe; + interview?: InputMaybe; + readMoreUrl?: InputMaybe; + startDatetime?: InputMaybe; + title?: InputMaybe; }; export type BaseQuestionInput = { - description?: InputMaybe; - mandatory?: InputMaybe; - question?: InputMaybe; + description?: InputMaybe; + mandatory?: InputMaybe; + question?: InputMaybe; questionType?: InputMaybe; }; export type BlogPostType = { - __typename?: 'BlogPostType'; + __typename?: "BlogPostType"; author?: Maybe; blog?: Maybe; - id: Scalars['ID']['output']; - publishDate: Scalars['DateTime']['output']; - text: Scalars['String']['output']; - title: Scalars['String']['output']; + id: Scalars["ID"]["output"]; + publishDate: Scalars["DateTime"]["output"]; + text: Scalars["String"]["output"]; + title: Scalars["String"]["output"]; }; export type BlogType = { - __typename?: 'BlogType'; + __typename?: "BlogType"; blogPosts: Array; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; + description: Scalars["String"]["output"]; + id: Scalars["ID"]["output"]; + name: Scalars["String"]["output"]; organization?: Maybe; }; /** Basic booking object type used as a base for other types and as a standalone */ export type BookingInput = { - cabins?: InputMaybe>; - checkIn?: InputMaybe; - checkOut?: InputMaybe; - externalParticipants?: InputMaybe; - extraInfo?: InputMaybe; - firstName?: InputMaybe; - internalParticipants?: InputMaybe; - lastName?: InputMaybe; - phone?: InputMaybe; - receiverEmail?: InputMaybe; + cabins?: InputMaybe>; + checkIn?: InputMaybe; + checkOut?: InputMaybe; + externalParticipants?: InputMaybe; + extraInfo?: InputMaybe; + firstName?: InputMaybe; + internalParticipants?: InputMaybe; + lastName?: InputMaybe; + phone?: InputMaybe; + receiverEmail?: InputMaybe; }; export type BookingResponsibleType = { - __typename?: 'BookingResponsibleType'; - active?: Maybe; - email?: Maybe; - firstName?: Maybe; - id: Scalars['ID']['output']; - lastName?: Maybe; - phone?: Maybe; + __typename?: "BookingResponsibleType"; + active?: Maybe; + email?: Maybe; + firstName?: Maybe; + id: Scalars["ID"]["output"]; + lastName?: Maybe; + phone?: Maybe; }; export type CabinType = { - __typename?: 'CabinType'; - externalPrice: Scalars['Int']['output']; - externalPriceWeekend: Scalars['Int']['output']; - id: Scalars['ID']['output']; - internalPrice: Scalars['Int']['output']; - internalPriceWeekend: Scalars['Int']['output']; - maxGuests: Scalars['Int']['output']; - name: Scalars['String']['output']; + __typename?: "CabinType"; + externalPrice: Scalars["Int"]["output"]; + externalPriceWeekend: Scalars["Int"]["output"]; + id: Scalars["ID"]["output"]; + internalPrice: Scalars["Int"]["output"]; + internalPriceWeekend: Scalars["Int"]["output"]; + maxGuests: Scalars["Int"]["output"]; + name: Scalars["String"]["output"]; }; export type CategoryInput = { - name?: InputMaybe; + name?: InputMaybe; }; export type CategoryType = { - __typename?: 'CategoryType'; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; + __typename?: "CategoryType"; + id: Scalars["ID"]["output"]; + name: Scalars["String"]["output"]; }; export type CreateArchiveDocument = { - __typename?: 'CreateArchiveDocument'; + __typename?: "CreateArchiveDocument"; arhiveDocument?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type CreateBlog = { - __typename?: 'CreateBlog'; + __typename?: "CreateBlog"; blog?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type CreateBlogPost = { - __typename?: 'CreateBlogPost'; + __typename?: "CreateBlogPost"; blogPost?: Maybe; - ok?: Maybe; + ok?: Maybe; }; /** Add a new booking to the database */ export type CreateBooking = { - __typename?: 'CreateBooking'; + __typename?: "CreateBooking"; booking?: Maybe; - ok?: Maybe; + ok?: Maybe; }; /** Create a new event category */ export type CreateCategory = { - __typename?: 'CreateCategory'; + __typename?: "CreateCategory"; category?: Maybe; - ok?: Maybe; + ok?: Maybe; }; /** Create a new event */ export type CreateEvent = { - __typename?: 'CreateEvent'; + __typename?: "CreateEvent"; event?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type CreateEventInput = { - allowedGradeYears?: InputMaybe>; - availableSlots?: InputMaybe; - bindingSignup?: InputMaybe; - categoryId?: InputMaybe; - contactEmail?: InputMaybe; - deadline?: InputMaybe; - description: Scalars['String']['input']; - endTime?: InputMaybe; - hasExtraInformation?: InputMaybe; - image?: InputMaybe; - isAttendable: Scalars['Boolean']['input']; - location?: InputMaybe; - organizationId: Scalars['ID']['input']; - price?: InputMaybe; - shortDescription?: InputMaybe; - signupOpenDate?: InputMaybe; - startTime: Scalars['DateTime']['input']; - title: Scalars['String']['input']; + allowedGradeYears?: InputMaybe>; + availableSlots?: InputMaybe; + bindingSignup?: InputMaybe; + categoryId?: InputMaybe; + contactEmail?: InputMaybe; + deadline?: InputMaybe; + description: Scalars["String"]["input"]; + endTime?: InputMaybe; + hasExtraInformation?: InputMaybe; + image?: InputMaybe; + isAttendable: Scalars["Boolean"]["input"]; + location?: InputMaybe; + organizationId: Scalars["ID"]["input"]; + price?: InputMaybe; + shortDescription?: InputMaybe; + signupOpenDate?: InputMaybe; + startTime: Scalars["DateTime"]["input"]; + title: Scalars["String"]["input"]; }; export type CreateForm = { - __typename?: 'CreateForm'; + __typename?: "CreateForm"; form?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type CreateFormInput = { - description?: InputMaybe; - name: Scalars['String']['input']; - organizationId: Scalars['ID']['input']; + description?: InputMaybe; + name: Scalars["String"]["input"]; + organizationId: Scalars["ID"]["input"]; }; /** Creates a new listing */ export type CreateListing = { - __typename?: 'CreateListing'; + __typename?: "CreateListing"; listing?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type CreateListingInput = { - application?: InputMaybe; - applicationUrl?: InputMaybe; - case?: InputMaybe; - deadline: Scalars['DateTime']['input']; - description?: InputMaybe; - endDatetime?: InputMaybe; - formId?: InputMaybe; - interview?: InputMaybe; - organizationId: Scalars['ID']['input']; - readMoreUrl?: InputMaybe; - startDatetime?: InputMaybe; - title: Scalars['String']['input']; + application?: InputMaybe; + applicationUrl?: InputMaybe; + case?: InputMaybe; + deadline: Scalars["DateTime"]["input"]; + description?: InputMaybe; + endDatetime?: InputMaybe; + formId?: InputMaybe; + interview?: InputMaybe; + organizationId: Scalars["ID"]["input"]; + readMoreUrl?: InputMaybe; + startDatetime?: InputMaybe; + title: Scalars["String"]["input"]; }; export type CreateOrganization = { - __typename?: 'CreateOrganization'; - ok?: Maybe; + __typename?: "CreateOrganization"; + ok?: Maybe; organization?: Maybe; }; export type CreateProduct = { - __typename?: 'CreateProduct'; - ok?: Maybe; + __typename?: "CreateProduct"; + ok?: Maybe; product?: Maybe; }; export type CreateProductInput = { - description: Scalars['String']['input']; - maxBuyableQuantity: Scalars['Int']['input']; - name: Scalars['String']['input']; - organizationId: Scalars['ID']['input']; - price: Scalars['Decimal']['input']; - totalQuantity: Scalars['Int']['input']; + description: Scalars["String"]["input"]; + maxBuyableQuantity: Scalars["Int"]["input"]; + name: Scalars["String"]["input"]; + organizationId: Scalars["ID"]["input"]; + price: Scalars["Decimal"]["input"]; + totalQuantity: Scalars["Int"]["input"]; }; export type CreateQuestion = { - __typename?: 'CreateQuestion'; - ok?: Maybe; + __typename?: "CreateQuestion"; + ok?: Maybe; question?: Maybe; }; export type CreateQuestionInput = { - description?: InputMaybe; - mandatory?: InputMaybe; - question: Scalars['String']['input']; + description?: InputMaybe; + mandatory?: InputMaybe; + question: Scalars["String"]["input"]; questionType?: InputMaybe; }; export type CreateUpdateAndDeleteOptions = { - __typename?: 'CreateUpdateAndDeleteOptions'; - ok?: Maybe; + __typename?: "CreateUpdateAndDeleteOptions"; + ok?: Maybe; options?: Maybe>; }; export type DeleteAnswer = { - __typename?: 'DeleteAnswer'; - deletedUuid?: Maybe; - ok?: Maybe; + __typename?: "DeleteAnswer"; + deletedUuid?: Maybe; + ok?: Maybe; }; export type DeleteAnswersToForm = { - __typename?: 'DeleteAnswersToForm'; - ok?: Maybe; + __typename?: "DeleteAnswersToForm"; + ok?: Maybe; }; export type DeleteArchiveDocument = { - __typename?: 'DeleteArchiveDocument'; + __typename?: "DeleteArchiveDocument"; archiveDocument?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type DeleteBlog = { - __typename?: 'DeleteBlog'; - ok?: Maybe; + __typename?: "DeleteBlog"; + ok?: Maybe; }; export type DeleteBlogPost = { - __typename?: 'DeleteBlogPost'; - ok?: Maybe; + __typename?: "DeleteBlogPost"; + ok?: Maybe; }; /** Deletes the booking with the given ID */ export type DeleteBooking = { - __typename?: 'DeleteBooking'; - bookingId?: Maybe; - ok?: Maybe; + __typename?: "DeleteBooking"; + bookingId?: Maybe; + ok?: Maybe; }; /** Deletes the category with a given ID */ export type DeleteCategory = { - __typename?: 'DeleteCategory'; + __typename?: "DeleteCategory"; category?: Maybe; - ok?: Maybe; + ok?: Maybe; }; /** Deletes the event with the given ID */ export type DeleteEvent = { - __typename?: 'DeleteEvent'; + __typename?: "DeleteEvent"; event?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type DeleteForm = { - __typename?: 'DeleteForm'; - deletedId?: Maybe; - ok?: Maybe; + __typename?: "DeleteForm"; + deletedId?: Maybe; + ok?: Maybe; }; /** Deletes the listing with the given ID */ export type DeleteListing = { - __typename?: 'DeleteListing'; - listingId?: Maybe; - ok?: Maybe; + __typename?: "DeleteListing"; + listingId?: Maybe; + ok?: Maybe; }; export type DeleteOrganization = { - __typename?: 'DeleteOrganization'; - ok?: Maybe; + __typename?: "DeleteOrganization"; + ok?: Maybe; organization?: Maybe; }; export type DeleteQuestion = { - __typename?: 'DeleteQuestion'; - deletedId?: Maybe; - ok?: Maybe; + __typename?: "DeleteQuestion"; + deletedId?: Maybe; + ok?: Maybe; }; export type DeliveredProduct = { - __typename?: 'DeliveredProduct'; - ok?: Maybe; + __typename?: "DeliveredProduct"; + ok?: Maybe; order?: Maybe; }; export type EmailInput = { - cabins?: InputMaybe>; - checkIn?: InputMaybe; - checkOut?: InputMaybe; - emailType?: InputMaybe; - externalParticipants?: InputMaybe; - extraInfo?: InputMaybe; - firstName?: InputMaybe; - internalParticipants?: InputMaybe; - lastName?: InputMaybe; - phone?: InputMaybe; - receiverEmail?: InputMaybe; + cabins?: InputMaybe>; + checkIn?: InputMaybe; + checkOut?: InputMaybe; + emailType?: InputMaybe; + externalParticipants?: InputMaybe; + extraInfo?: InputMaybe; + firstName?: InputMaybe; + internalParticipants?: InputMaybe; + lastName?: InputMaybe; + phone?: InputMaybe; + receiverEmail?: InputMaybe; }; /** @@ -450,9 +450,9 @@ export type EmailInput = { * when a user signs off an event */ export type EventSignOff = { - __typename?: 'EventSignOff'; + __typename?: "EventSignOff"; event?: Maybe; - isFull?: Maybe; + isFull?: Maybe; }; /** @@ -460,39 +460,39 @@ export type EventSignOff = { * with the given ID */ export type EventSignUp = { - __typename?: 'EventSignUp'; + __typename?: "EventSignUp"; event?: Maybe; - isFull?: Maybe; + isFull?: Maybe; }; export type EventSignUpInput = { - extraInformation?: InputMaybe; + extraInformation?: InputMaybe; }; export type EventType = { - __typename?: 'EventType'; - allowedGradeYears?: Maybe>; - availableSlots?: Maybe; - bindingSignup: Scalars['Boolean']['output']; + __typename?: "EventType"; + allowedGradeYears?: Maybe>; + availableSlots?: Maybe; + bindingSignup: Scalars["Boolean"]["output"]; category?: Maybe; - contactEmail: Scalars['String']['output']; - deadline?: Maybe; - description: Scalars['String']['output']; - endTime?: Maybe; - hasExtraInformation: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - image?: Maybe; - isAttendable: Scalars['Boolean']['output']; - isFull?: Maybe; - location?: Maybe; + contactEmail: Scalars["String"]["output"]; + deadline?: Maybe; + description: Scalars["String"]["output"]; + endTime?: Maybe; + hasExtraInformation: Scalars["Boolean"]["output"]; + id: Scalars["ID"]["output"]; + image?: Maybe; + isAttendable: Scalars["Boolean"]["output"]; + isFull?: Maybe; + location?: Maybe; organization: OrganizationType; - price?: Maybe; + price?: Maybe; product?: Maybe; publisher?: Maybe; - shortDescription?: Maybe; - signupOpenDate?: Maybe; - startTime: Scalars['DateTime']['output']; - title: Scalars['String']['output']; + shortDescription?: Maybe; + signupOpenDate?: Maybe; + startTime: Scalars["DateTime"]["output"]; + title: Scalars["String"]["output"]; userAttendance?: Maybe; usersAttending?: Maybe>; usersOnWaitingList?: Maybe>; @@ -500,10 +500,10 @@ export type EventType = { /** A form containing questions, optionally linked to a listing. */ export type FormType = { - __typename?: 'FormType'; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; + __typename?: "FormType"; + description: Scalars["String"]["output"]; + id: Scalars["ID"]["output"]; + name: Scalars["String"]["output"]; organization?: Maybe; questions: Array; responder?: Maybe; @@ -512,69 +512,66 @@ export type FormType = { responses?: Maybe>; }; - /** A form containing questions, optionally linked to a listing. */ export type FormTypeResponderArgs = { - userId: Scalars['ID']['input']; + userId: Scalars["ID"]["input"]; }; - /** A form containing questions, optionally linked to a listing. */ export type FormTypeRespondersArgs = { - userId?: InputMaybe; + userId?: InputMaybe; }; - /** A form containing questions, optionally linked to a listing. */ export type FormTypeResponseArgs = { - responsePk?: InputMaybe; + responsePk?: InputMaybe; }; export type InitiateOrder = { - __typename?: 'InitiateOrder'; - orderId?: Maybe; - redirect?: Maybe; + __typename?: "InitiateOrder"; + orderId?: Maybe; + redirect?: Maybe; }; export type ListingType = { - __typename?: 'ListingType'; - applicationUrl?: Maybe; - chips: Array; - deadline: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - endDatetime: Scalars['DateTime']['output']; + __typename?: "ListingType"; + applicationUrl?: Maybe; + chips: Array; + deadline: Scalars["DateTime"]["output"]; + description: Scalars["String"]["output"]; + endDatetime: Scalars["DateTime"]["output"]; form?: Maybe; - heroImageUrl?: Maybe; - id: Scalars['ID']['output']; + heroImageUrl?: Maybe; + id: Scalars["ID"]["output"]; organization: OrganizationType; - readMoreUrl?: Maybe; - slug: Scalars['String']['output']; - startDatetime: Scalars['DateTime']['output']; - title: Scalars['String']['output']; - viewCount: Scalars['Int']['output']; + readMoreUrl?: Maybe; + slug: Scalars["String"]["output"]; + startDatetime: Scalars["DateTime"]["output"]; + title: Scalars["String"]["output"]; + viewCount: Scalars["Int"]["output"]; }; export type Logout = { - __typename?: 'Logout'; - idToken?: Maybe; + __typename?: "Logout"; + idToken?: Maybe; }; export type MembershipInput = { - groupId?: InputMaybe; - organizationId?: InputMaybe; - userId?: InputMaybe; + groupId?: InputMaybe; + organizationId?: InputMaybe; + userId?: InputMaybe; }; export type MembershipType = { - __typename?: 'MembershipType'; + __typename?: "MembershipType"; group?: Maybe; - id: Scalars['ID']['output']; + id: Scalars["ID"]["output"]; organization: OrganizationType; user: UserType; }; export type Mutations = { - __typename?: 'Mutations'; + __typename?: "Mutations"; /** * Sets the field is_attending to False in the Sign Up for the user with the * given ID, for the event with the given ID @@ -657,355 +654,307 @@ export type Mutations = { updateUser?: Maybe; }; - export type MutationsAdminEventSignOffArgs = { - eventId: Scalars['ID']['input']; - userId: Scalars['ID']['input']; + eventId: Scalars["ID"]["input"]; + userId: Scalars["ID"]["input"]; }; - export type MutationsAssignMembershipArgs = { membershipData: MembershipInput; }; - export type MutationsAttemptCapturePaymentArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars["ID"]["input"]; }; - export type MutationsAuthUserArgs = { - code: Scalars['String']['input']; + code: Scalars["String"]["input"]; }; - export type MutationsCreateArchivedocumentArgs = { - date?: InputMaybe; - fileLocation?: InputMaybe; - title?: InputMaybe; - typeDoc?: InputMaybe; - webLink?: InputMaybe; + date?: InputMaybe; + fileLocation?: InputMaybe; + title?: InputMaybe; + typeDoc?: InputMaybe; + webLink?: InputMaybe; }; - export type MutationsCreateBlogArgs = { - description?: InputMaybe; - name?: InputMaybe; - organizationId?: InputMaybe; + description?: InputMaybe; + name?: InputMaybe; + organizationId?: InputMaybe; }; - export type MutationsCreateBlogPostArgs = { - authorId?: InputMaybe; - blogId?: InputMaybe; - text?: InputMaybe; - title?: InputMaybe; + authorId?: InputMaybe; + blogId?: InputMaybe; + text?: InputMaybe; + title?: InputMaybe; }; - export type MutationsCreateBookingArgs = { bookingData?: InputMaybe; }; - export type MutationsCreateCategoryArgs = { categoryData: CategoryInput; }; - export type MutationsCreateEventArgs = { eventData: CreateEventInput; }; - export type MutationsCreateFormArgs = { formData: CreateFormInput; - listingId?: InputMaybe; + listingId?: InputMaybe; }; - export type MutationsCreateListingArgs = { listingData: CreateListingInput; }; - export type MutationsCreateOrganizationArgs = { organizationData: OrganizationInput; }; - export type MutationsCreateProductArgs = { productData: CreateProductInput; }; - export type MutationsCreateQuestionArgs = { - formId?: InputMaybe; + formId?: InputMaybe; questionData: CreateQuestionInput; }; - export type MutationsCreateUpdateAndDeleteOptionsArgs = { optionData?: InputMaybe>; - questionId: Scalars['ID']['input']; + questionId: Scalars["ID"]["input"]; }; - export type MutationsDeleteAnswerArgs = { - uuid: Scalars['ID']['input']; + uuid: Scalars["ID"]["input"]; }; - export type MutationsDeleteAnswersArgs = { - formId?: InputMaybe; + formId?: InputMaybe; }; - export type MutationsDeleteArchivedocumentArgs = { - id?: InputMaybe; + id?: InputMaybe; }; - export type MutationsDeleteBlogArgs = { - blogId?: InputMaybe; + blogId?: InputMaybe; }; - export type MutationsDeleteBlogPostArgs = { - blogPostId?: InputMaybe; + blogPostId?: InputMaybe; }; - export type MutationsDeleteBookingArgs = { - id?: InputMaybe; + id?: InputMaybe; }; - export type MutationsDeleteCategoryArgs = { - id?: InputMaybe; + id?: InputMaybe; }; - export type MutationsDeleteEventArgs = { - id?: InputMaybe; + id?: InputMaybe; }; - export type MutationsDeleteFormArgs = { - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }; - export type MutationsDeleteListingArgs = { - id?: InputMaybe; + id?: InputMaybe; }; - export type MutationsDeleteOrganizationArgs = { - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }; - export type MutationsDeleteQuestionArgs = { - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }; - export type MutationsDeliveredProductArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars["ID"]["input"]; }; - export type MutationsEventSignOffArgs = { - eventId: Scalars['ID']['input']; + eventId: Scalars["ID"]["input"]; }; - export type MutationsEventSignUpArgs = { data?: InputMaybe; - eventId: Scalars['ID']['input']; + eventId: Scalars["ID"]["input"]; }; - export type MutationsInitiateOrderArgs = { - fallbackRedirect?: InputMaybe; - productId: Scalars['ID']['input']; - quantity?: InputMaybe; + fallbackRedirect?: InputMaybe; + productId: Scalars["ID"]["input"]; + quantity?: InputMaybe; }; - export type MutationsSendEmailArgs = { emailInput?: InputMaybe; }; - export type MutationsSendEventMailsArgs = { - content?: InputMaybe; - eventId: Scalars['ID']['input']; - receiverEmails?: InputMaybe>; - subject: Scalars['String']['input']; + content?: InputMaybe; + eventId: Scalars["ID"]["input"]; + receiverEmails?: InputMaybe>; + subject: Scalars["String"]["input"]; }; - export type MutationsSubmitAnswersArgs = { answersData?: InputMaybe>; - formId: Scalars['ID']['input']; + formId: Scalars["ID"]["input"]; }; - export type MutationsUpdateArchivedocumentArgs = { - date?: InputMaybe; - fileLocation?: InputMaybe; - id?: InputMaybe; - title?: InputMaybe; - typeDoc?: InputMaybe; - webLink?: InputMaybe; + date?: InputMaybe; + fileLocation?: InputMaybe; + id?: InputMaybe; + title?: InputMaybe; + typeDoc?: InputMaybe; + webLink?: InputMaybe; }; - export type MutationsUpdateBlogArgs = { blogData?: InputMaybe; }; - export type MutationsUpdateBlogPostArgs = { blogPostData?: InputMaybe; }; - export type MutationsUpdateBookingArgs = { bookingData?: InputMaybe; }; - export type MutationsUpdateBookingSemesterArgs = { semesterData?: InputMaybe; }; - export type MutationsUpdateCabinArgs = { cabinData?: InputMaybe; }; - export type MutationsUpdateCategoryArgs = { categoryData?: InputMaybe; - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }; - export type MutationsUpdateEventArgs = { eventData?: InputMaybe; - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }; - export type MutationsUpdateFormArgs = { formData: BaseFormInput; - id?: InputMaybe; + id?: InputMaybe; }; - export type MutationsUpdateListingArgs = { - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; listingData?: InputMaybe; }; - export type MutationsUpdateOrganizationArgs = { - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; organizationData?: InputMaybe; }; - export type MutationsUpdateQuestionArgs = { - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; questionData: BaseQuestionInput; }; - export type MutationsUpdateUserArgs = { userData?: InputMaybe; }; export type OptionInput = { - answer: Scalars['String']['input']; - id?: InputMaybe; + answer: Scalars["String"]["input"]; + id?: InputMaybe; }; /** Option for multiple choice questions */ export type OptionType = { - __typename?: 'OptionType'; - answer: Scalars['String']['output']; - id: Scalars['ID']['output']; + __typename?: "OptionType"; + answer: Scalars["String"]["output"]; + id: Scalars["ID"]["output"]; question: QuestionType; }; export type OrderType = { - __typename?: 'OrderType'; - deliveredProduct: Scalars['Boolean']['output']; - id: Scalars['UUID']['output']; + __typename?: "OrderType"; + deliveredProduct: Scalars["Boolean"]["output"]; + id: Scalars["UUID"]["output"]; paymentStatus: PaymentStatus; product: ProductType; - quantity: Scalars['Int']['output']; - timestamp: Scalars['DateTime']['output']; - totalPrice: Scalars['Decimal']['output']; + quantity: Scalars["Int"]["output"]; + timestamp: Scalars["DateTime"]["output"]; + totalPrice: Scalars["Decimal"]["output"]; user: UserType; }; export type OrdersByStatusType = { - __typename?: 'OrdersByStatusType'; - length?: Maybe; + __typename?: "OrdersByStatusType"; + length?: Maybe; orders?: Maybe>; }; export type OrganizationInput = { - description?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; + description?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; }; export type OrganizationType = { - __typename?: 'OrganizationType'; - absoluteSlug?: Maybe; + __typename?: "OrganizationType"; + absoluteSlug?: Maybe; children: Array; - color?: Maybe; - description: Scalars['String']['output']; + color?: Maybe; + description: Scalars["String"]["output"]; events: Array; hrGroup?: Maybe; - id: Scalars['ID']['output']; + id: Scalars["ID"]["output"]; listings?: Maybe>; - logoUrl?: Maybe; - name: Scalars['String']['output']; + logoUrl?: Maybe; + name: Scalars["String"]["output"]; parent?: Maybe; primaryGroup?: Maybe; - slug: Scalars['String']['output']; + slug: Scalars["String"]["output"]; users: Array; }; /** An enumeration. */ export enum PaymentStatus { - Cancelled = 'CANCELLED', - Captured = 'CAPTURED', - Failed = 'FAILED', - Initiated = 'INITIATED', - Refunded = 'REFUNDED', - Rejected = 'REJECTED', - Reserved = 'RESERVED' + Cancelled = "CANCELLED", + Captured = "CAPTURED", + Failed = "FAILED", + Initiated = "INITIATED", + Refunded = "REFUNDED", + Rejected = "REJECTED", + Reserved = "RESERVED", } export type ProductType = { - __typename?: 'ProductType'; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - maxBuyableQuantity: Scalars['Int']['output']; - name: Scalars['String']['output']; - price: Scalars['Decimal']['output']; - shopItem: Scalars['Boolean']['output']; + __typename?: "ProductType"; + description: Scalars["String"]["output"]; + id: Scalars["ID"]["output"]; + maxBuyableQuantity: Scalars["Int"]["output"]; + name: Scalars["String"]["output"]; + price: Scalars["Decimal"]["output"]; + shopItem: Scalars["Boolean"]["output"]; }; export type Queries = { - __typename?: 'Queries'; + __typename?: "Queries"; activeBookingResponsible?: Maybe; adminAllBookings?: Maybe>; allBlogPosts?: Maybe>; @@ -1018,10 +967,10 @@ export type Queries = { allUserOrders?: Maybe>; allUsers?: Maybe>; archiveByTypes: Array; - attendeeReport?: Maybe; - attendeeReportOrg?: Maybe; - attendeeReports?: Maybe; - availableYears: Array; + attendeeReport?: Maybe; + attendeeReportOrg?: Maybe; + attendeeReports?: Maybe; + availableYears: Array; blog?: Maybe; blogPost?: Maybe; bookingSemester?: Maybe; @@ -1033,10 +982,10 @@ export type Queries = { featuredArchive: Array; form?: Maybe; forms?: Maybe>; - hasPermission?: Maybe; + hasPermission?: Maybe; listing?: Maybe; listings?: Maybe>; - logout: Scalars['String']['output']; + logout: Scalars["String"]["output"]; memberships?: Maybe>; order?: Maybe; ordersByStatus?: Maybe; @@ -1045,1062 +994,9355 @@ export type Queries = { products?: Maybe>; response?: Maybe; responses?: Maybe>; - serverTime?: Maybe; + serverTime?: Maybe; signUps?: Maybe; user?: Maybe; userOrders?: Maybe>; }; - export type QueriesAdminAllBookingsArgs = { - after?: InputMaybe; - before?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; }; - export type QueriesAllEventsArgs = { - category?: InputMaybe; - endTime?: InputMaybe; - organization?: InputMaybe; - startTime?: InputMaybe; + category?: InputMaybe; + endTime?: InputMaybe; + organization?: InputMaybe; + startTime?: InputMaybe; }; - export type QueriesAllOrganizationsArgs = { - search?: InputMaybe; + search?: InputMaybe; }; - export type QueriesArchiveByTypesArgs = { - names?: InputMaybe; - typeDoc: Array>; - year?: InputMaybe; + names?: InputMaybe; + typeDoc: Array>; + year?: InputMaybe; }; - export type QueriesAttendeeReportArgs = { - eventId: Scalars['ID']['input']; - fields?: InputMaybe>; - filetype?: InputMaybe; + eventId: Scalars["ID"]["input"]; + fields?: InputMaybe>; + filetype?: InputMaybe; }; - export type QueriesAttendeeReportOrgArgs = { - fields?: InputMaybe>; - filetype?: InputMaybe; - orgId: Scalars['ID']['input']; + fields?: InputMaybe>; + filetype?: InputMaybe; + orgId: Scalars["ID"]["input"]; }; - export type QueriesAttendeeReportsArgs = { - eventIds: Array; - fields?: InputMaybe>; - filetype?: InputMaybe; + eventIds: Array; + fields?: InputMaybe>; + filetype?: InputMaybe; }; - export type QueriesBlogArgs = { - blogId: Scalars['ID']['input']; + blogId: Scalars["ID"]["input"]; }; - export type QueriesBlogPostArgs = { - blogPostId: Scalars['ID']['input']; + blogPostId: Scalars["ID"]["input"]; }; - export type QueriesCategoryArgs = { - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }; - export type QueriesEventArgs = { - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }; - export type QueriesFormArgs = { - formId?: InputMaybe; + formId?: InputMaybe; }; - export type QueriesHasPermissionArgs = { - permission: Scalars['String']['input']; + permission: Scalars["String"]["input"]; }; - export type QueriesListingArgs = { - id?: InputMaybe; + id?: InputMaybe; }; - export type QueriesListingsArgs = { - search?: InputMaybe; + search?: InputMaybe; }; - export type QueriesMembershipsArgs = { - organizationId?: InputMaybe; + organizationId?: InputMaybe; }; - export type QueriesOrderArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars["ID"]["input"]; }; - export type QueriesOrdersByStatusArgs = { - productId: Scalars['ID']['input']; - status: Scalars['String']['input']; + productId: Scalars["ID"]["input"]; + status: Scalars["String"]["input"]; }; - export type QueriesOrganizationArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueriesProductArgs = { - productId: Scalars['ID']['input']; + productId: Scalars["ID"]["input"]; }; - export type QueriesResponseArgs = { - formId: Scalars['ID']['input']; - responseId?: InputMaybe; + formId: Scalars["ID"]["input"]; + responseId?: InputMaybe; }; - export type QueriesResponsesArgs = { - formId: Scalars['ID']['input']; + formId: Scalars["ID"]["input"]; }; - export type QueriesSignUpsArgs = { - eventId: Scalars['ID']['input']; + eventId: Scalars["ID"]["input"]; }; /** A question on a form. */ export type QuestionType = { - __typename?: 'QuestionType'; + __typename?: "QuestionType"; answer?: Maybe; answers?: Maybe>; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - mandatory: Scalars['Boolean']['output']; + description: Scalars["String"]["output"]; + id: Scalars["ID"]["output"]; + mandatory: Scalars["Boolean"]["output"]; options?: Maybe>; - question: Scalars['String']['output']; + question: Scalars["String"]["output"]; questionType?: Maybe; }; - /** A question on a form. */ export type QuestionTypeAnswersArgs = { - userId?: InputMaybe; + userId?: InputMaybe; }; export enum QuestionTypeEnum { - Checkboxes = 'CHECKBOXES', - Dropdown = 'DROPDOWN', - FileUpload = 'FILE_UPLOAD', - MultipleChoice = 'MULTIPLE_CHOICE', - Paragraph = 'PARAGRAPH', - ShortAnswer = 'SHORT_ANSWER', - Slider = 'SLIDER' + Checkboxes = "CHECKBOXES", + Dropdown = "DROPDOWN", + FileUpload = "FILE_UPLOAD", + MultipleChoice = "MULTIPLE_CHOICE", + Paragraph = "PARAGRAPH", + ShortAnswer = "SHORT_ANSWER", + Slider = "SLIDER", } /** An enumeration. */ export enum ResponseStatus { /** Red */ - A_0 = 'A_0', + A_0 = "A_0", /** Yellow */ - A_1 = 'A_1', + A_1 = "A_1", /** Green */ - A_2 = 'A_2', + A_2 = "A_2", /** Unknown */ - None = 'NONE' + None = "NONE", } /** A response instance that contains information about a user's response to a form. */ export type ResponseType = { - __typename?: 'ResponseType'; + __typename?: "ResponseType"; answers: Array; form: FormType; - id?: Maybe; + id?: Maybe; questions?: Maybe>; respondent: UserType; status?: Maybe; - uuid: Scalars['UUID']['output']; + uuid: Scalars["UUID"]["output"]; }; export type ResponsibleGroupType = { - __typename?: 'ResponsibleGroupType'; - description?: Maybe; - groupType: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; + __typename?: "ResponsibleGroupType"; + description?: Maybe; + groupType: Scalars["String"]["output"]; + id: Scalars["ID"]["output"]; + name: Scalars["String"]["output"]; organization: OrganizationType; - uuid: Scalars['UUID']['output']; + uuid: Scalars["UUID"]["output"]; }; /** Sends email to the user or an admin (or both) */ export type SendEmail = { - __typename?: 'SendEmail'; - ok?: Maybe; + __typename?: "SendEmail"; + ok?: Maybe; }; /** Send an email to all users signed up to an event */ export type SendEventEmails = { - __typename?: 'SendEventEmails'; - ok?: Maybe; + __typename?: "SendEventEmails"; + ok?: Maybe; }; export type SignUpType = { - __typename?: 'SignUpType'; + __typename?: "SignUpType"; event: EventType; - extraInformation: Scalars['String']['output']; - hasBoughtTicket?: Maybe; - id: Scalars['ID']['output']; - isAttending: Scalars['Boolean']['output']; - timestamp: Scalars['DateTime']['output']; + extraInformation: Scalars["String"]["output"]; + hasBoughtTicket?: Maybe; + id: Scalars["ID"]["output"]; + isAttending: Scalars["Boolean"]["output"]; + timestamp: Scalars["DateTime"]["output"]; user: UserType; - userAllergies?: Maybe; - userEmail: Scalars['String']['output']; - userGradeYear: Scalars['Int']['output']; - userPhoneNumber: Scalars['String']['output']; + userAllergies?: Maybe; + userEmail: Scalars["String"]["output"]; + userGradeYear: Scalars["Int"]["output"]; + userPhoneNumber: Scalars["String"]["output"]; }; export type SubmitOrUpdateAnswers = { - __typename?: 'SubmitOrUpdateAnswers'; - message?: Maybe; - ok?: Maybe; + __typename?: "SubmitOrUpdateAnswers"; + message?: Maybe; + ok?: Maybe; }; export type UpdateArchiveDocument = { - __typename?: 'UpdateArchiveDocument'; + __typename?: "UpdateArchiveDocument"; event?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type UpdateBlog = { - __typename?: 'UpdateBlog'; + __typename?: "UpdateBlog"; blog?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type UpdateBlogInput = { - description?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - organizationId?: InputMaybe; + description?: InputMaybe; + id: Scalars["ID"]["input"]; + name?: InputMaybe; + organizationId?: InputMaybe; }; export type UpdateBlogPost = { - __typename?: 'UpdateBlogPost'; + __typename?: "UpdateBlogPost"; blogPost?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type UpdateBlogPostInput = { - blogId?: InputMaybe; - id: Scalars['ID']['input']; - text?: InputMaybe; - title?: InputMaybe; + blogId?: InputMaybe; + id: Scalars["ID"]["input"]; + text?: InputMaybe; + title?: InputMaybe; }; /** Change the given booking */ export type UpdateBooking = { - __typename?: 'UpdateBooking'; + __typename?: "UpdateBooking"; booking?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type UpdateBookingInput = { - cabins?: InputMaybe>; - checkIn?: InputMaybe; - checkOut?: InputMaybe; - declineReason?: InputMaybe; - externalParticipants?: InputMaybe; - extraInfo?: InputMaybe; - firstName?: InputMaybe; - id: Scalars['ID']['input']; - internalParticipants?: InputMaybe; - isDeclined?: InputMaybe; - isTentative?: InputMaybe; - lastName?: InputMaybe; - phone?: InputMaybe; - receiverEmail?: InputMaybe; + cabins?: InputMaybe>; + checkIn?: InputMaybe; + checkOut?: InputMaybe; + declineReason?: InputMaybe; + externalParticipants?: InputMaybe; + extraInfo?: InputMaybe; + firstName?: InputMaybe; + id: Scalars["ID"]["input"]; + internalParticipants?: InputMaybe; + isDeclined?: InputMaybe; + isTentative?: InputMaybe; + lastName?: InputMaybe; + phone?: InputMaybe; + receiverEmail?: InputMaybe; }; /** Update the booking semester */ export type UpdateBookingSemester = { - __typename?: 'UpdateBookingSemester'; + __typename?: "UpdateBookingSemester"; bookingSemester?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type UpdateBookingSemesterInput = { - fallEndDate?: InputMaybe; - fallSemesterActive?: InputMaybe; - fallStartDate?: InputMaybe; - springEndDate?: InputMaybe; - springSemesterActive?: InputMaybe; - springStartDate?: InputMaybe; + fallEndDate?: InputMaybe; + fallSemesterActive?: InputMaybe; + fallStartDate?: InputMaybe; + springEndDate?: InputMaybe; + springSemesterActive?: InputMaybe; + springStartDate?: InputMaybe; }; export type UpdateBookingSemesterType = { - __typename?: 'UpdateBookingSemesterType'; - fallEndDate: Scalars['Date']['output']; - fallSemesterActive: Scalars['Boolean']['output']; - fallStartDate: Scalars['Date']['output']; - id: Scalars['ID']['output']; - springEndDate: Scalars['Date']['output']; - springSemesterActive: Scalars['Boolean']['output']; - springStartDate: Scalars['Date']['output']; + __typename?: "UpdateBookingSemesterType"; + fallEndDate: Scalars["Date"]["output"]; + fallSemesterActive: Scalars["Boolean"]["output"]; + fallStartDate: Scalars["Date"]["output"]; + id: Scalars["ID"]["output"]; + springEndDate: Scalars["Date"]["output"]; + springSemesterActive: Scalars["Boolean"]["output"]; + springStartDate: Scalars["Date"]["output"]; }; /** Change the given cabin */ export type UpdateCabin = { - __typename?: 'UpdateCabin'; + __typename?: "UpdateCabin"; cabin?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type UpdateCabinInput = { - externalPrice?: InputMaybe; - externalPriceWeekend?: InputMaybe; - id?: InputMaybe; - internalPrice?: InputMaybe; - internalPriceWeekend?: InputMaybe; - maxGuests?: InputMaybe; - name?: InputMaybe; + externalPrice?: InputMaybe; + externalPriceWeekend?: InputMaybe; + id?: InputMaybe; + internalPrice?: InputMaybe; + internalPriceWeekend?: InputMaybe; + maxGuests?: InputMaybe; + name?: InputMaybe; }; /** Updates the category with a given ID with the data in category_data */ export type UpdateCategory = { - __typename?: 'UpdateCategory'; + __typename?: "UpdateCategory"; category?: Maybe; - ok?: Maybe; + ok?: Maybe; }; /** Updates the event with a given ID with the data in event_data */ export type UpdateEvent = { - __typename?: 'UpdateEvent'; + __typename?: "UpdateEvent"; event?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type UpdateEventInput = { - allowedGradeYears?: InputMaybe>; - availableSlots?: InputMaybe; - bindingSignup?: InputMaybe; - categoryId?: InputMaybe; - contactEmail?: InputMaybe; - deadline?: InputMaybe; - description?: InputMaybe; - endTime?: InputMaybe; - hasExtraInformation?: InputMaybe; - image?: InputMaybe; - isAttendable?: InputMaybe; - location?: InputMaybe; - organizationId?: InputMaybe; - price?: InputMaybe; - shortDescription?: InputMaybe; - signupOpenDate?: InputMaybe; - startTime?: InputMaybe; - title?: InputMaybe; + allowedGradeYears?: InputMaybe>; + availableSlots?: InputMaybe; + bindingSignup?: InputMaybe; + categoryId?: InputMaybe; + contactEmail?: InputMaybe; + deadline?: InputMaybe; + description?: InputMaybe; + endTime?: InputMaybe; + hasExtraInformation?: InputMaybe; + image?: InputMaybe; + isAttendable?: InputMaybe; + location?: InputMaybe; + organizationId?: InputMaybe; + price?: InputMaybe; + shortDescription?: InputMaybe; + signupOpenDate?: InputMaybe; + startTime?: InputMaybe; + title?: InputMaybe; }; export type UpdateForm = { - __typename?: 'UpdateForm'; + __typename?: "UpdateForm"; form?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type UpdateListing = { - __typename?: 'UpdateListing'; + __typename?: "UpdateListing"; listing?: Maybe; - ok?: Maybe; + ok?: Maybe; }; export type UpdateOrganization = { - __typename?: 'UpdateOrganization'; - ok?: Maybe; + __typename?: "UpdateOrganization"; + ok?: Maybe; organization?: Maybe; }; export type UpdateQuestion = { - __typename?: 'UpdateQuestion'; - ok?: Maybe; + __typename?: "UpdateQuestion"; + ok?: Maybe; question?: Maybe; }; export type UpdateUser = { - __typename?: 'UpdateUser'; + __typename?: "UpdateUser"; user?: Maybe; }; export type UserAttendingType = { - __typename?: 'UserAttendingType'; - hasBoughtTicket?: Maybe; - isOnWaitingList?: Maybe; - isSignedUp?: Maybe; - positionOnWaitingList?: Maybe; + __typename?: "UserAttendingType"; + hasBoughtTicket?: Maybe; + isOnWaitingList?: Maybe; + isSignedUp?: Maybe; + positionOnWaitingList?: Maybe; }; export type UserInput = { - allergies?: InputMaybe; - email?: InputMaybe; - firstName?: InputMaybe; - graduationYear?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; + allergies?: InputMaybe; + email?: InputMaybe; + firstName?: InputMaybe; + graduationYear?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; }; export type UserType = { - __typename?: 'UserType'; - allergies?: Maybe; - canUpdateYear?: Maybe; - dateJoined: Scalars['DateTime']['output']; - email: Scalars['String']['output']; + __typename?: "UserType"; + allergies?: Maybe; + canUpdateYear?: Maybe; + dateJoined: Scalars["DateTime"]["output"]; + email: Scalars["String"]["output"]; events?: Maybe>; - feideEmail: Scalars['String']['output']; - feideUserid: Scalars['String']['output']; - firstLogin: Scalars['Boolean']['output']; - firstName: Scalars['String']['output']; - gradeYear?: Maybe; - graduationYear?: Maybe; - id: Scalars['ID']['output']; - idToken: Scalars['String']['output']; - lastLogin?: Maybe; - lastName: Scalars['String']['output']; + feideEmail: Scalars["String"]["output"]; + feideUserid: Scalars["String"]["output"]; + firstLogin: Scalars["Boolean"]["output"]; + firstName: Scalars["String"]["output"]; + gradeYear?: Maybe; + graduationYear?: Maybe; + id: Scalars["ID"]["output"]; + idToken: Scalars["String"]["output"]; + lastLogin?: Maybe; + lastName: Scalars["String"]["output"]; memberships: Array; organizations: Array; - phoneNumber: Scalars['String']['output']; + phoneNumber: Scalars["String"]["output"]; responses: Array; /** Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. */ - username: Scalars['String']['output']; - yearUpdatedAt?: Maybe; + username: Scalars["String"]["output"]; + yearUpdatedAt?: Maybe; }; export type ArchiveByTypesQueryVariables = Exact<{ - documentTypes: Array> | InputMaybe; - year?: InputMaybe; - names?: InputMaybe; + documentTypes: Array> | InputMaybe; + year?: InputMaybe; + names?: InputMaybe; }>; - -export type ArchiveByTypesQuery = { __typename?: 'Queries', archiveByTypes: Array<{ __typename?: 'ArchiveDocumentType', id: string, title: string, thumbnail?: string | null, typeDoc: ArchiveDocumentTypeDoc, year?: number | null, webLink?: string | null }> }; - -export type FeaturedArchiveQueryVariables = Exact<{ [key: string]: never; }>; - - -export type FeaturedArchiveQuery = { __typename?: 'Queries', featuredArchive: Array<{ __typename?: 'ArchiveDocumentType', id: string, title: string, thumbnail?: string | null, typeDoc: ArchiveDocumentTypeDoc, year?: number | null, webLink?: string | null }> }; - -export type AvailableYearsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type AvailableYearsQuery = { __typename?: 'Queries', availableYears: Array }; - -export type DocumentFragment = { __typename?: 'ArchiveDocumentType', id: string, title: string, thumbnail?: string | null, typeDoc: ArchiveDocumentTypeDoc, year?: number | null, webLink?: string | null }; +export type ArchiveByTypesQuery = { + __typename?: "Queries"; + archiveByTypes: Array<{ + __typename?: "ArchiveDocumentType"; + id: string; + title: string; + thumbnail?: string | null; + typeDoc: ArchiveDocumentTypeDoc; + year?: number | null; + webLink?: string | null; + }>; +}; + +export type FeaturedArchiveQueryVariables = Exact<{ [key: string]: never }>; + +export type FeaturedArchiveQuery = { + __typename?: "Queries"; + featuredArchive: Array<{ + __typename?: "ArchiveDocumentType"; + id: string; + title: string; + thumbnail?: string | null; + typeDoc: ArchiveDocumentTypeDoc; + year?: number | null; + webLink?: string | null; + }>; +}; + +export type AvailableYearsQueryVariables = Exact<{ [key: string]: never }>; + +export type AvailableYearsQuery = { __typename?: "Queries"; availableYears: Array }; + +export type DocumentFragment = { + __typename?: "ArchiveDocumentType"; + id: string; + title: string; + thumbnail?: string | null; + typeDoc: ArchiveDocumentTypeDoc; + year?: number | null; + webLink?: string | null; +}; export type DocumentsQueryVariables = Exact<{ - documentTypes: Array | Scalars['String']['input']; - year?: InputMaybe; - names?: InputMaybe; + documentTypes: Array | Scalars["String"]["input"]; + year?: InputMaybe; + names?: InputMaybe; }>; - -export type DocumentsQuery = { __typename?: 'Queries', availableYears: Array, hasPermission?: boolean | null, archiveByTypes: Array<{ __typename?: 'ArchiveDocumentType', id: string, title: string, thumbnail?: string | null, typeDoc: ArchiveDocumentTypeDoc, year?: number | null, webLink?: string | null }>, featuredArchive: Array<{ __typename?: 'ArchiveDocumentType', id: string, title: string, thumbnail?: string | null, typeDoc: ArchiveDocumentTypeDoc, year?: number | null, webLink?: string | null }> }; - -export type CabinFragment = { __typename?: 'CabinType', id: string, name: string, maxGuests: number, internalPrice: number, externalPrice: number, internalPriceWeekend: number, externalPriceWeekend: number }; - -export type BookingFragment = { __typename?: 'AllBookingsType', id: string, checkIn: string, checkOut: string, cabins: Array<{ __typename?: 'CabinType', id: string, name: string }> }; - -export type AdminBookingFragment = { __typename?: 'AdminBookingType', id: string, checkIn: string, checkOut: string, firstName: string, lastName: string, phone: string, receiverEmail: string, externalParticipants: number, internalParticipants: number, price?: number | null, isTentative: boolean, isDeclined: boolean, timestamp: string, extraInfo: string, declineReason: string, cabins: Array<{ __typename?: 'CabinType', id: string, name: string }> }; - -export type BookingResponsibleFragment = { __typename?: 'BookingResponsibleType', id: string, active?: boolean | null, firstName?: string | null, lastName?: string | null, email?: string | null, phone?: number | null }; - -export type BookingSemesterFragment = { __typename?: 'UpdateBookingSemesterType', fallStartDate: string, fallEndDate: string, springStartDate: string, springEndDate: string, fallSemesterActive: boolean, springSemesterActive: boolean }; +export type DocumentsQuery = { + __typename?: "Queries"; + availableYears: Array; + hasPermission?: boolean | null; + archiveByTypes: Array<{ + __typename?: "ArchiveDocumentType"; + id: string; + title: string; + thumbnail?: string | null; + typeDoc: ArchiveDocumentTypeDoc; + year?: number | null; + webLink?: string | null; + }>; + featuredArchive: Array<{ + __typename?: "ArchiveDocumentType"; + id: string; + title: string; + thumbnail?: string | null; + typeDoc: ArchiveDocumentTypeDoc; + year?: number | null; + webLink?: string | null; + }>; +}; + +export type CabinFragment = { + __typename?: "CabinType"; + id: string; + name: string; + maxGuests: number; + internalPrice: number; + externalPrice: number; + internalPriceWeekend: number; + externalPriceWeekend: number; +}; + +export type BookingFragment = { + __typename?: "AllBookingsType"; + id: string; + checkIn: string; + checkOut: string; + cabins: Array<{ __typename?: "CabinType"; id: string; name: string }>; +}; + +export type AdminBookingFragment = { + __typename?: "AdminBookingType"; + id: string; + checkIn: string; + checkOut: string; + firstName: string; + lastName: string; + phone: string; + receiverEmail: string; + externalParticipants: number; + internalParticipants: number; + price?: number | null; + isTentative: boolean; + isDeclined: boolean; + timestamp: string; + extraInfo: string; + declineReason: string; + cabins: Array<{ __typename?: "CabinType"; id: string; name: string }>; +}; + +export type BookingResponsibleFragment = { + __typename?: "BookingResponsibleType"; + id: string; + active?: boolean | null; + firstName?: string | null; + lastName?: string | null; + email?: string | null; + phone?: number | null; +}; + +export type BookingSemesterFragment = { + __typename?: "UpdateBookingSemesterType"; + fallStartDate: string; + fallEndDate: string; + springStartDate: string; + springEndDate: string; + fallSemesterActive: boolean; + springSemesterActive: boolean; +}; export type CreateBookingMutationVariables = Exact<{ bookingData: BookingInput; }>; - -export type CreateBookingMutation = { __typename?: 'Mutations', createBooking?: { __typename?: 'CreateBooking', ok?: boolean | null } | null }; +export type CreateBookingMutation = { + __typename?: "Mutations"; + createBooking?: { __typename?: "CreateBooking"; ok?: boolean | null } | null; +}; export type ConfirmBookingMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }>; - -export type ConfirmBookingMutation = { __typename?: 'Mutations', updateBooking?: { __typename?: 'UpdateBooking', ok?: boolean | null } | null }; +export type ConfirmBookingMutation = { + __typename?: "Mutations"; + updateBooking?: { __typename?: "UpdateBooking"; ok?: boolean | null } | null; +}; export type DeclineBookingMutationVariables = Exact<{ - id: Scalars['ID']['input']; - declineReason?: InputMaybe; + id: Scalars["ID"]["input"]; + declineReason?: InputMaybe; }>; - -export type DeclineBookingMutation = { __typename?: 'Mutations', updateBooking?: { __typename?: 'UpdateBooking', ok?: boolean | null } | null }; +export type DeclineBookingMutation = { + __typename?: "Mutations"; + updateBooking?: { __typename?: "UpdateBooking"; ok?: boolean | null } | null; +}; export type SendEmailMutationVariables = Exact<{ emailInput: EmailInput; }>; - -export type SendEmailMutation = { __typename?: 'Mutations', sendEmail?: { __typename?: 'SendEmail', ok?: boolean | null } | null }; +export type SendEmailMutation = { + __typename?: "Mutations"; + sendEmail?: { __typename?: "SendEmail"; ok?: boolean | null } | null; +}; export type UpdateCabinMutationVariables = Exact<{ cabinData: UpdateCabinInput; }>; - -export type UpdateCabinMutation = { __typename?: 'Mutations', updateCabin?: { __typename?: 'UpdateCabin', cabin?: { __typename?: 'CabinType', id: string, name: string, maxGuests: number, internalPrice: number, externalPrice: number, internalPriceWeekend: number, externalPriceWeekend: number } | null } | null }; +export type UpdateCabinMutation = { + __typename?: "Mutations"; + updateCabin?: { + __typename?: "UpdateCabin"; + cabin?: { + __typename?: "CabinType"; + id: string; + name: string; + maxGuests: number; + internalPrice: number; + externalPrice: number; + internalPriceWeekend: number; + externalPriceWeekend: number; + } | null; + } | null; +}; export type UpdateBookingSemesterMutationVariables = Exact<{ semesterData: UpdateBookingSemesterInput; }>; - -export type UpdateBookingSemesterMutation = { __typename?: 'Mutations', updateBookingSemester?: { __typename?: 'UpdateBookingSemester', bookingSemester?: { __typename?: 'UpdateBookingSemesterType', fallStartDate: string, fallEndDate: string, springStartDate: string, springEndDate: string, fallSemesterActive: boolean, springSemesterActive: boolean } | null } | null }; - -export type CabinsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type CabinsQuery = { __typename?: 'Queries', cabins?: Array<{ __typename?: 'CabinType', id: string, name: string, maxGuests: number, internalPrice: number, externalPrice: number, internalPriceWeekend: number, externalPriceWeekend: number }> | null }; - -export type AllBookingsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type AllBookingsQuery = { __typename?: 'Queries', allBookings?: Array<{ __typename?: 'AllBookingsType', id: string, checkIn: string, checkOut: string, cabins: Array<{ __typename?: 'CabinType', id: string, name: string }> }> | null }; +export type UpdateBookingSemesterMutation = { + __typename?: "Mutations"; + updateBookingSemester?: { + __typename?: "UpdateBookingSemester"; + bookingSemester?: { + __typename?: "UpdateBookingSemesterType"; + fallStartDate: string; + fallEndDate: string; + springStartDate: string; + springEndDate: string; + fallSemesterActive: boolean; + springSemesterActive: boolean; + } | null; + } | null; +}; + +export type CabinsQueryVariables = Exact<{ [key: string]: never }>; + +export type CabinsQuery = { + __typename?: "Queries"; + cabins?: Array<{ + __typename?: "CabinType"; + id: string; + name: string; + maxGuests: number; + internalPrice: number; + externalPrice: number; + internalPriceWeekend: number; + externalPriceWeekend: number; + }> | null; +}; + +export type AllBookingsQueryVariables = Exact<{ [key: string]: never }>; + +export type AllBookingsQuery = { + __typename?: "Queries"; + allBookings?: Array<{ + __typename?: "AllBookingsType"; + id: string; + checkIn: string; + checkOut: string; + cabins: Array<{ __typename?: "CabinType"; id: string; name: string }>; + }> | null; +}; export type AdminAllBookingsQueryVariables = Exact<{ - after?: InputMaybe; + after?: InputMaybe; }>; - -export type AdminAllBookingsQuery = { __typename?: 'Queries', adminAllBookings?: Array<{ __typename?: 'AdminBookingType', id: string, checkIn: string, checkOut: string, firstName: string, lastName: string, phone: string, receiverEmail: string, externalParticipants: number, internalParticipants: number, price?: number | null, isTentative: boolean, isDeclined: boolean, timestamp: string, extraInfo: string, declineReason: string, cabins: Array<{ __typename?: 'CabinType', id: string, name: string }> }> | null }; - -export type ActiveBookingResponsibleQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ActiveBookingResponsibleQuery = { __typename?: 'Queries', activeBookingResponsible?: { __typename?: 'BookingResponsibleType', id: string, active?: boolean | null, firstName?: string | null, lastName?: string | null, email?: string | null, phone?: number | null } | null }; - -export type CabinsAndResponsiblesQueryVariables = Exact<{ [key: string]: never; }>; - - -export type CabinsAndResponsiblesQuery = { __typename?: 'Queries', cabins?: Array<{ __typename?: 'CabinType', id: string, name: string, maxGuests: number, internalPrice: number, externalPrice: number, internalPriceWeekend: number, externalPriceWeekend: number }> | null, activeBookingResponsible?: { __typename?: 'BookingResponsibleType', id: string, email?: string | null } | null }; - -export type BookingSemesterQueryVariables = Exact<{ [key: string]: never; }>; - - -export type BookingSemesterQuery = { __typename?: 'Queries', bookingSemester?: { __typename?: 'UpdateBookingSemesterType', fallStartDate: string, fallEndDate: string, springStartDate: string, springEndDate: string, fallSemesterActive: boolean, springSemesterActive: boolean } | null }; - -export type ProductFragment = { __typename?: 'ProductType', id: string, name: string, description: string, price: number, maxBuyableQuantity: number, shopItem: boolean }; - -export type OrderFragment = { __typename?: 'OrderType', id: string, quantity: number, totalPrice: number, paymentStatus: PaymentStatus, timestamp: string, deliveredProduct: boolean, product: { __typename?: 'ProductType', id: string, name: string, description: string, price: number, maxBuyableQuantity: number, shopItem: boolean }, user: { __typename?: 'UserType', id: string, username: string, firstName: string, lastName: string } }; +export type AdminAllBookingsQuery = { + __typename?: "Queries"; + adminAllBookings?: Array<{ + __typename?: "AdminBookingType"; + id: string; + checkIn: string; + checkOut: string; + firstName: string; + lastName: string; + phone: string; + receiverEmail: string; + externalParticipants: number; + internalParticipants: number; + price?: number | null; + isTentative: boolean; + isDeclined: boolean; + timestamp: string; + extraInfo: string; + declineReason: string; + cabins: Array<{ __typename?: "CabinType"; id: string; name: string }>; + }> | null; +}; + +export type ActiveBookingResponsibleQueryVariables = Exact<{ [key: string]: never }>; + +export type ActiveBookingResponsibleQuery = { + __typename?: "Queries"; + activeBookingResponsible?: { + __typename?: "BookingResponsibleType"; + id: string; + active?: boolean | null; + firstName?: string | null; + lastName?: string | null; + email?: string | null; + phone?: number | null; + } | null; +}; + +export type CabinsAndResponsiblesQueryVariables = Exact<{ [key: string]: never }>; + +export type CabinsAndResponsiblesQuery = { + __typename?: "Queries"; + cabins?: Array<{ + __typename?: "CabinType"; + id: string; + name: string; + maxGuests: number; + internalPrice: number; + externalPrice: number; + internalPriceWeekend: number; + externalPriceWeekend: number; + }> | null; + activeBookingResponsible?: { __typename?: "BookingResponsibleType"; id: string; email?: string | null } | null; +}; + +export type BookingSemesterQueryVariables = Exact<{ [key: string]: never }>; + +export type BookingSemesterQuery = { + __typename?: "Queries"; + bookingSemester?: { + __typename?: "UpdateBookingSemesterType"; + fallStartDate: string; + fallEndDate: string; + springStartDate: string; + springEndDate: string; + fallSemesterActive: boolean; + springSemesterActive: boolean; + } | null; +}; + +export type ProductFragment = { + __typename?: "ProductType"; + id: string; + name: string; + description: string; + price: number; + maxBuyableQuantity: number; + shopItem: boolean; +}; + +export type OrderFragment = { + __typename?: "OrderType"; + id: string; + quantity: number; + totalPrice: number; + paymentStatus: PaymentStatus; + timestamp: string; + deliveredProduct: boolean; + product: { + __typename?: "ProductType"; + id: string; + name: string; + description: string; + price: number; + maxBuyableQuantity: number; + shopItem: boolean; + }; + user: { __typename?: "UserType"; id: string; username: string; firstName: string; lastName: string }; +}; export type InitiateOrderMutationVariables = Exact<{ - productId: Scalars['ID']['input']; - quantity?: InputMaybe; - fallbackRedirect?: InputMaybe; + productId: Scalars["ID"]["input"]; + quantity?: InputMaybe; + fallbackRedirect?: InputMaybe; }>; - -export type InitiateOrderMutation = { __typename?: 'Mutations', initiateOrder?: { __typename?: 'InitiateOrder', redirect?: string | null, orderId?: string | null } | null }; +export type InitiateOrderMutation = { + __typename?: "Mutations"; + initiateOrder?: { __typename?: "InitiateOrder"; redirect?: string | null; orderId?: string | null } | null; +}; export type AttemptCapturePaymentMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; + orderId: Scalars["ID"]["input"]; }>; - -export type AttemptCapturePaymentMutation = { __typename?: 'Mutations', attemptCapturePayment?: { __typename?: 'AttemptCapturePayment', status?: PaymentStatus | null, order?: { __typename?: 'OrderType', id: string, quantity: number, totalPrice: number, paymentStatus: PaymentStatus, timestamp: string, deliveredProduct: boolean, product: { __typename?: 'ProductType', id: string, name: string, description: string, price: number, maxBuyableQuantity: number, shopItem: boolean }, user: { __typename?: 'UserType', id: string, username: string, firstName: string, lastName: string } } | null } | null }; +export type AttemptCapturePaymentMutation = { + __typename?: "Mutations"; + attemptCapturePayment?: { + __typename?: "AttemptCapturePayment"; + status?: PaymentStatus | null; + order?: { + __typename?: "OrderType"; + id: string; + quantity: number; + totalPrice: number; + paymentStatus: PaymentStatus; + timestamp: string; + deliveredProduct: boolean; + product: { + __typename?: "ProductType"; + id: string; + name: string; + description: string; + price: number; + maxBuyableQuantity: number; + shopItem: boolean; + }; + user: { __typename?: "UserType"; id: string; username: string; firstName: string; lastName: string }; + } | null; + } | null; +}; export type DeliveredProductMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; + orderId: Scalars["ID"]["input"]; }>; - -export type DeliveredProductMutation = { __typename?: 'Mutations', deliveredProduct?: { __typename?: 'DeliveredProduct', order?: { __typename?: 'OrderType', id: string, quantity: number, totalPrice: number, paymentStatus: PaymentStatus, timestamp: string, deliveredProduct: boolean, product: { __typename?: 'ProductType', id: string, name: string, description: string, price: number, maxBuyableQuantity: number, shopItem: boolean }, user: { __typename?: 'UserType', id: string, username: string, firstName: string, lastName: string } } | null } | null }; +export type DeliveredProductMutation = { + __typename?: "Mutations"; + deliveredProduct?: { + __typename?: "DeliveredProduct"; + order?: { + __typename?: "OrderType"; + id: string; + quantity: number; + totalPrice: number; + paymentStatus: PaymentStatus; + timestamp: string; + deliveredProduct: boolean; + product: { + __typename?: "ProductType"; + id: string; + name: string; + description: string; + price: number; + maxBuyableQuantity: number; + shopItem: boolean; + }; + user: { __typename?: "UserType"; id: string; username: string; firstName: string; lastName: string }; + } | null; + } | null; +}; export type ProductQueryVariables = Exact<{ - productId: Scalars['ID']['input']; + productId: Scalars["ID"]["input"]; }>; - -export type ProductQuery = { __typename?: 'Queries', product?: { __typename?: 'ProductType', id: string, name: string, description: string, price: number, maxBuyableQuantity: number, shopItem: boolean } | null }; - -export type ProductsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ProductsQuery = { __typename?: 'Queries', products?: Array<{ __typename?: 'ProductType', id: string, name: string, price: number, description: string, maxBuyableQuantity: number, shopItem: boolean }> | null }; - -export type UserOrdersQueryVariables = Exact<{ [key: string]: never; }>; - - -export type UserOrdersQuery = { __typename?: 'Queries', userOrders?: Array<{ __typename?: 'OrderType', id: string, quantity: number, totalPrice: number, paymentStatus: PaymentStatus, timestamp: string, deliveredProduct: boolean, product: { __typename?: 'ProductType', id: string, name: string, description: string, price: number, maxBuyableQuantity: number, shopItem: boolean }, user: { __typename?: 'UserType', id: string, username: string, firstName: string, lastName: string } }> | null }; - -export type AllUserOrdersQueryVariables = Exact<{ [key: string]: never; }>; - - -export type AllUserOrdersQuery = { __typename?: 'Queries', allUserOrders?: Array<{ __typename?: 'OrderType', id: string, quantity: number, totalPrice: number, paymentStatus: PaymentStatus, timestamp: string, deliveredProduct: boolean, product: { __typename?: 'ProductType', id: string, name: string, description: string, price: number, maxBuyableQuantity: number, shopItem: boolean }, user: { __typename?: 'UserType', id: string, username: string, firstName: string, lastName: string } }> | null }; - -export type AllShopOrdersQueryVariables = Exact<{ [key: string]: never; }>; - - -export type AllShopOrdersQuery = { __typename?: 'Queries', allShopOrders?: Array<{ __typename?: 'OrderType', id: string, quantity: number, totalPrice: number, paymentStatus: PaymentStatus, timestamp: string, deliveredProduct: boolean, product: { __typename?: 'ProductType', id: string, name: string, description: string, price: number, maxBuyableQuantity: number, shopItem: boolean }, user: { __typename?: 'UserType', id: string, username: string, firstName: string, lastName: string } }> | null }; - -export type EventFieldsFragment = { __typename?: 'EventType', id: string, title: string, startTime: string, shortDescription?: string | null, allowedGradeYears?: Array | null, isFull?: boolean | null, isAttendable: boolean, signupOpenDate?: string | null, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null } | null, organization: { __typename?: 'OrganizationType', id: string, color?: string | null } }; - -export type EventDetailFieldsFragment = { __typename?: 'EventType', id: string, title: string, description: string, shortDescription?: string | null, startTime: string, endTime?: string | null, location?: string | null, contactEmail: string, allowedGradeYears?: Array | null, hasExtraInformation: boolean, isFull?: boolean | null, signupOpenDate?: string | null, deadline?: string | null, isAttendable: boolean, bindingSignup: boolean, price?: number | null, product?: { __typename?: 'ProductType', id: string } | null, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null, positionOnWaitingList?: number | null, hasBoughtTicket?: boolean | null } | null, category?: { __typename?: 'CategoryType', id: string, name: string } | null, organization: { __typename?: 'OrganizationType', id: string, name: string, logoUrl?: string | null } }; - -export type AdminEventFragment = { __typename?: 'EventType', id: string, title: string, startTime: string, endTime?: string | null, location?: string | null, description: string, image?: string | null, isAttendable: boolean, deadline?: string | null, availableSlots?: number | null, price?: number | null, shortDescription?: string | null, signupOpenDate?: string | null, isFull?: boolean | null, hasExtraInformation: boolean, bindingSignup: boolean, contactEmail: string, allowedGradeYears?: Array | null, organization: { __typename?: 'OrganizationType', id: string, name: string }, category?: { __typename?: 'CategoryType', id: string, name: string } | null, publisher?: { __typename?: 'UserType', id: string, username: string, email: string, firstName: string, lastName: string, dateJoined: string } | null, usersAttending?: Array<{ __typename?: 'SignUpType', userEmail: string, userGradeYear: number, userAllergies?: string | null, userPhoneNumber: string, extraInformation: string, hasBoughtTicket?: boolean | null, user: { __typename?: 'UserType', id: string, firstName: string, lastName: string } }> | null, usersOnWaitingList?: Array<{ __typename?: 'SignUpType', userEmail: string, userGradeYear: number, userAllergies?: string | null, userPhoneNumber: string, extraInformation: string, user: { __typename?: 'UserType', id: string, firstName: string, lastName: string } }> | null, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null } | null, product?: { __typename?: 'ProductType', id: string } | null }; - -export type SignUpFragment = { __typename?: 'SignUpType', userEmail: string, userGradeYear: number, userAllergies?: string | null, userPhoneNumber: string, extraInformation: string, user: { __typename?: 'UserType', id: string, firstName: string, lastName: string } }; - -export type SignUpWithTicketFragment = { __typename?: 'SignUpType', userEmail: string, userGradeYear: number, userAllergies?: string | null, userPhoneNumber: string, extraInformation: string, hasBoughtTicket?: boolean | null, user: { __typename?: 'UserType', id: string, firstName: string, lastName: string } }; +export type ProductQuery = { + __typename?: "Queries"; + product?: { + __typename?: "ProductType"; + id: string; + name: string; + description: string; + price: number; + maxBuyableQuantity: number; + shopItem: boolean; + } | null; +}; + +export type ProductsQueryVariables = Exact<{ [key: string]: never }>; + +export type ProductsQuery = { + __typename?: "Queries"; + products?: Array<{ + __typename?: "ProductType"; + id: string; + name: string; + price: number; + description: string; + maxBuyableQuantity: number; + shopItem: boolean; + }> | null; +}; + +export type UserOrdersQueryVariables = Exact<{ [key: string]: never }>; + +export type UserOrdersQuery = { + __typename?: "Queries"; + userOrders?: Array<{ + __typename?: "OrderType"; + id: string; + quantity: number; + totalPrice: number; + paymentStatus: PaymentStatus; + timestamp: string; + deliveredProduct: boolean; + product: { + __typename?: "ProductType"; + id: string; + name: string; + description: string; + price: number; + maxBuyableQuantity: number; + shopItem: boolean; + }; + user: { __typename?: "UserType"; id: string; username: string; firstName: string; lastName: string }; + }> | null; +}; + +export type AllUserOrdersQueryVariables = Exact<{ [key: string]: never }>; + +export type AllUserOrdersQuery = { + __typename?: "Queries"; + allUserOrders?: Array<{ + __typename?: "OrderType"; + id: string; + quantity: number; + totalPrice: number; + paymentStatus: PaymentStatus; + timestamp: string; + deliveredProduct: boolean; + product: { + __typename?: "ProductType"; + id: string; + name: string; + description: string; + price: number; + maxBuyableQuantity: number; + shopItem: boolean; + }; + user: { __typename?: "UserType"; id: string; username: string; firstName: string; lastName: string }; + }> | null; +}; + +export type AllShopOrdersQueryVariables = Exact<{ [key: string]: never }>; + +export type AllShopOrdersQuery = { + __typename?: "Queries"; + allShopOrders?: Array<{ + __typename?: "OrderType"; + id: string; + quantity: number; + totalPrice: number; + paymentStatus: PaymentStatus; + timestamp: string; + deliveredProduct: boolean; + product: { + __typename?: "ProductType"; + id: string; + name: string; + description: string; + price: number; + maxBuyableQuantity: number; + shopItem: boolean; + }; + user: { __typename?: "UserType"; id: string; username: string; firstName: string; lastName: string }; + }> | null; +}; + +export type EventFieldsFragment = { + __typename?: "EventType"; + id: string; + title: string; + startTime: string; + shortDescription?: string | null; + allowedGradeYears?: Array | null; + isFull?: boolean | null; + isAttendable: boolean; + signupOpenDate?: string | null; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + } | null; + organization: { __typename?: "OrganizationType"; id: string; color?: string | null }; +}; + +export type EventDetailFieldsFragment = { + __typename?: "EventType"; + id: string; + title: string; + description: string; + shortDescription?: string | null; + startTime: string; + endTime?: string | null; + location?: string | null; + contactEmail: string; + allowedGradeYears?: Array | null; + hasExtraInformation: boolean; + isFull?: boolean | null; + signupOpenDate?: string | null; + deadline?: string | null; + isAttendable: boolean; + bindingSignup: boolean; + price?: number | null; + product?: { __typename?: "ProductType"; id: string } | null; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + positionOnWaitingList?: number | null; + hasBoughtTicket?: boolean | null; + } | null; + category?: { __typename?: "CategoryType"; id: string; name: string } | null; + organization: { __typename?: "OrganizationType"; id: string; name: string; logoUrl?: string | null }; +}; + +export type AdminEventFragment = { + __typename?: "EventType"; + id: string; + title: string; + startTime: string; + endTime?: string | null; + location?: string | null; + description: string; + image?: string | null; + isAttendable: boolean; + deadline?: string | null; + availableSlots?: number | null; + price?: number | null; + shortDescription?: string | null; + signupOpenDate?: string | null; + isFull?: boolean | null; + hasExtraInformation: boolean; + bindingSignup: boolean; + contactEmail: string; + allowedGradeYears?: Array | null; + organization: { __typename?: "OrganizationType"; id: string; name: string }; + category?: { __typename?: "CategoryType"; id: string; name: string } | null; + publisher?: { + __typename?: "UserType"; + id: string; + username: string; + email: string; + firstName: string; + lastName: string; + dateJoined: string; + } | null; + usersAttending?: Array<{ + __typename?: "SignUpType"; + userEmail: string; + userGradeYear: number; + userAllergies?: string | null; + userPhoneNumber: string; + extraInformation: string; + hasBoughtTicket?: boolean | null; + user: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + }> | null; + usersOnWaitingList?: Array<{ + __typename?: "SignUpType"; + userEmail: string; + userGradeYear: number; + userAllergies?: string | null; + userPhoneNumber: string; + extraInformation: string; + user: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + }> | null; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + } | null; + product?: { __typename?: "ProductType"; id: string } | null; +}; + +export type SignUpFragment = { + __typename?: "SignUpType"; + userEmail: string; + userGradeYear: number; + userAllergies?: string | null; + userPhoneNumber: string; + extraInformation: string; + user: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; +}; + +export type SignUpWithTicketFragment = { + __typename?: "SignUpType"; + userEmail: string; + userGradeYear: number; + userAllergies?: string | null; + userPhoneNumber: string; + extraInformation: string; + hasBoughtTicket?: boolean | null; + user: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; +}; export type CreateEventMutationVariables = Exact<{ eventData: CreateEventInput; }>; - -export type CreateEventMutation = { __typename?: 'Mutations', createEvent?: { __typename?: 'CreateEvent', ok?: boolean | null, event?: { __typename?: 'EventType', id: string, title: string, startTime: string, shortDescription?: string | null, allowedGradeYears?: Array | null, isFull?: boolean | null, isAttendable: boolean, signupOpenDate?: string | null, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null } | null, organization: { __typename?: 'OrganizationType', id: string, color?: string | null } } | null } | null }; +export type CreateEventMutation = { + __typename?: "Mutations"; + createEvent?: { + __typename?: "CreateEvent"; + ok?: boolean | null; + event?: { + __typename?: "EventType"; + id: string; + title: string; + startTime: string; + shortDescription?: string | null; + allowedGradeYears?: Array | null; + isFull?: boolean | null; + isAttendable: boolean; + signupOpenDate?: string | null; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + } | null; + organization: { __typename?: "OrganizationType"; id: string; color?: string | null }; + } | null; + } | null; +}; export type UpdateEventMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; eventData: UpdateEventInput; }>; - -export type UpdateEventMutation = { __typename?: 'Mutations', updateEvent?: { __typename?: 'UpdateEvent', ok?: boolean | null, event?: { __typename?: 'EventType', id: string, title: string, description: string, shortDescription?: string | null, startTime: string, endTime?: string | null, location?: string | null, contactEmail: string, allowedGradeYears?: Array | null, hasExtraInformation: boolean, isFull?: boolean | null, signupOpenDate?: string | null, deadline?: string | null, isAttendable: boolean, bindingSignup: boolean, price?: number | null, product?: { __typename?: 'ProductType', id: string } | null, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null, positionOnWaitingList?: number | null, hasBoughtTicket?: boolean | null } | null, category?: { __typename?: 'CategoryType', id: string, name: string } | null, organization: { __typename?: 'OrganizationType', id: string, name: string, logoUrl?: string | null } } | null } | null }; +export type UpdateEventMutation = { + __typename?: "Mutations"; + updateEvent?: { + __typename?: "UpdateEvent"; + ok?: boolean | null; + event?: { + __typename?: "EventType"; + id: string; + title: string; + description: string; + shortDescription?: string | null; + startTime: string; + endTime?: string | null; + location?: string | null; + contactEmail: string; + allowedGradeYears?: Array | null; + hasExtraInformation: boolean; + isFull?: boolean | null; + signupOpenDate?: string | null; + deadline?: string | null; + isAttendable: boolean; + bindingSignup: boolean; + price?: number | null; + product?: { __typename?: "ProductType"; id: string } | null; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + positionOnWaitingList?: number | null; + hasBoughtTicket?: boolean | null; + } | null; + category?: { __typename?: "CategoryType"; id: string; name: string } | null; + organization: { __typename?: "OrganizationType"; id: string; name: string; logoUrl?: string | null }; + } | null; + } | null; +}; export type EventSignUpMutationVariables = Exact<{ - eventId: Scalars['ID']['input']; - extraInformation?: InputMaybe; + eventId: Scalars["ID"]["input"]; + extraInformation?: InputMaybe; }>; - -export type EventSignUpMutation = { __typename?: 'Mutations', eventSignUp?: { __typename?: 'EventSignUp', isFull?: boolean | null, event?: { __typename?: 'EventType', id: string, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null, positionOnWaitingList?: number | null } | null } | null } | null }; +export type EventSignUpMutation = { + __typename?: "Mutations"; + eventSignUp?: { + __typename?: "EventSignUp"; + isFull?: boolean | null; + event?: { + __typename?: "EventType"; + id: string; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + positionOnWaitingList?: number | null; + } | null; + } | null; + } | null; +}; export type EventSignOffMutationVariables = Exact<{ - eventId: Scalars['ID']['input']; + eventId: Scalars["ID"]["input"]; }>; - -export type EventSignOffMutation = { __typename?: 'Mutations', eventSignOff?: { __typename?: 'EventSignOff', isFull?: boolean | null, event?: { __typename?: 'EventType', id: string, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null, positionOnWaitingList?: number | null } | null } | null } | null }; +export type EventSignOffMutation = { + __typename?: "Mutations"; + eventSignOff?: { + __typename?: "EventSignOff"; + isFull?: boolean | null; + event?: { + __typename?: "EventType"; + id: string; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + positionOnWaitingList?: number | null; + } | null; + } | null; + } | null; +}; export type AdminEventSignOffMutationVariables = Exact<{ - eventId: Scalars['ID']['input']; - userId: Scalars['ID']['input']; + eventId: Scalars["ID"]["input"]; + userId: Scalars["ID"]["input"]; }>; - -export type AdminEventSignOffMutation = { __typename?: 'Mutations', adminEventSignOff?: { __typename?: 'AdminEventSignOff', event?: { __typename?: 'EventType', id: string } | null } | null }; +export type AdminEventSignOffMutation = { + __typename?: "Mutations"; + adminEventSignOff?: { + __typename?: "AdminEventSignOff"; + event?: { __typename?: "EventType"; id: string } | null; + } | null; +}; export type SendEventMailsMutationVariables = Exact<{ - eventId: Scalars['ID']['input']; - receiverEmails?: InputMaybe | Scalars['String']['input']>; - content?: InputMaybe; - subject: Scalars['String']['input']; + eventId: Scalars["ID"]["input"]; + receiverEmails?: InputMaybe | Scalars["String"]["input"]>; + content?: InputMaybe; + subject: Scalars["String"]["input"]; }>; - -export type SendEventMailsMutation = { __typename?: 'Mutations', sendEventMails?: { __typename?: 'SendEventEmails', ok?: boolean | null } | null }; +export type SendEventMailsMutation = { + __typename?: "Mutations"; + sendEventMails?: { __typename?: "SendEventEmails"; ok?: boolean | null } | null; +}; export type EventsQueryVariables = Exact<{ - organization?: InputMaybe; - category?: InputMaybe; - startTime?: InputMaybe; - endTime?: InputMaybe; + organization?: InputMaybe; + category?: InputMaybe; + startTime?: InputMaybe; + endTime?: InputMaybe; }>; - -export type EventsQuery = { __typename?: 'Queries', hasPermission?: boolean | null, allEvents?: Array<{ __typename?: 'EventType', id: string, title: string, startTime: string, shortDescription?: string | null, allowedGradeYears?: Array | null, isFull?: boolean | null, isAttendable: boolean, signupOpenDate?: string | null, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null } | null, organization: { __typename?: 'OrganizationType', id: string, color?: string | null } }> | null, defaultEvents?: Array<{ __typename?: 'EventType', id: string, title: string, startTime: string, shortDescription?: string | null, allowedGradeYears?: Array | null, isFull?: boolean | null, isAttendable: boolean, signupOpenDate?: string | null, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null } | null, organization: { __typename?: 'OrganizationType', id: string, color?: string | null } }> | null, user?: { __typename?: 'UserType', id: string, gradeYear?: number | null } | null }; +export type EventsQuery = { + __typename?: "Queries"; + hasPermission?: boolean | null; + allEvents?: Array<{ + __typename?: "EventType"; + id: string; + title: string; + startTime: string; + shortDescription?: string | null; + allowedGradeYears?: Array | null; + isFull?: boolean | null; + isAttendable: boolean; + signupOpenDate?: string | null; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + } | null; + organization: { __typename?: "OrganizationType"; id: string; color?: string | null }; + }> | null; + defaultEvents?: Array<{ + __typename?: "EventType"; + id: string; + title: string; + startTime: string; + shortDescription?: string | null; + allowedGradeYears?: Array | null; + isFull?: boolean | null; + isAttendable: boolean; + signupOpenDate?: string | null; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + } | null; + organization: { __typename?: "OrganizationType"; id: string; color?: string | null }; + }> | null; + user?: { __typename?: "UserType"; id: string; gradeYear?: number | null } | null; +}; export type EventDetailsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }>; - -export type EventDetailsQuery = { __typename?: 'Queries', event?: { __typename?: 'EventType', id: string, title: string, description: string, shortDescription?: string | null, startTime: string, endTime?: string | null, location?: string | null, contactEmail: string, allowedGradeYears?: Array | null, hasExtraInformation: boolean, isFull?: boolean | null, signupOpenDate?: string | null, deadline?: string | null, isAttendable: boolean, bindingSignup: boolean, price?: number | null, product?: { __typename?: 'ProductType', id: string } | null, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null, positionOnWaitingList?: number | null, hasBoughtTicket?: boolean | null } | null, category?: { __typename?: 'CategoryType', id: string, name: string } | null, organization: { __typename?: 'OrganizationType', id: string, name: string, logoUrl?: string | null } } | null, user?: { __typename?: 'UserType', id: string, organizations: Array<{ __typename?: 'OrganizationType', id: string }> } | null }; - -export type AllCategoriesQueryVariables = Exact<{ [key: string]: never; }>; - - -export type AllCategoriesQuery = { __typename?: 'Queries', allCategories?: Array<{ __typename?: 'CategoryType', id: string, name: string }> | null }; - -export type EventFilteredOrganizationsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type EventFilteredOrganizationsQuery = { __typename?: 'Queries', eventFilteredOrganizations?: Array<{ __typename?: 'OrganizationType', id: string, name: string, color?: string | null, children: Array<{ __typename?: 'OrganizationType', id: string, name: string }> }> | null }; +export type EventDetailsQuery = { + __typename?: "Queries"; + event?: { + __typename?: "EventType"; + id: string; + title: string; + description: string; + shortDescription?: string | null; + startTime: string; + endTime?: string | null; + location?: string | null; + contactEmail: string; + allowedGradeYears?: Array | null; + hasExtraInformation: boolean; + isFull?: boolean | null; + signupOpenDate?: string | null; + deadline?: string | null; + isAttendable: boolean; + bindingSignup: boolean; + price?: number | null; + product?: { __typename?: "ProductType"; id: string } | null; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + positionOnWaitingList?: number | null; + hasBoughtTicket?: boolean | null; + } | null; + category?: { __typename?: "CategoryType"; id: string; name: string } | null; + organization: { __typename?: "OrganizationType"; id: string; name: string; logoUrl?: string | null }; + } | null; + user?: { + __typename?: "UserType"; + id: string; + organizations: Array<{ __typename?: "OrganizationType"; id: string }>; + } | null; +}; + +export type AllCategoriesQueryVariables = Exact<{ [key: string]: never }>; + +export type AllCategoriesQuery = { + __typename?: "Queries"; + allCategories?: Array<{ __typename?: "CategoryType"; id: string; name: string }> | null; +}; + +export type EventFilteredOrganizationsQueryVariables = Exact<{ [key: string]: never }>; + +export type EventFilteredOrganizationsQuery = { + __typename?: "Queries"; + eventFilteredOrganizations?: Array<{ + __typename?: "OrganizationType"; + id: string; + name: string; + color?: string | null; + children: Array<{ __typename?: "OrganizationType"; id: string; name: string }>; + }> | null; +}; export type AdminEventQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }>; - -export type AdminEventQuery = { __typename?: 'Queries', event?: { __typename?: 'EventType', id: string, title: string, startTime: string, endTime?: string | null, location?: string | null, description: string, image?: string | null, isAttendable: boolean, deadline?: string | null, availableSlots?: number | null, price?: number | null, shortDescription?: string | null, signupOpenDate?: string | null, isFull?: boolean | null, hasExtraInformation: boolean, bindingSignup: boolean, contactEmail: string, allowedGradeYears?: Array | null, organization: { __typename?: 'OrganizationType', id: string, name: string }, category?: { __typename?: 'CategoryType', id: string, name: string } | null, publisher?: { __typename?: 'UserType', id: string, username: string, email: string, firstName: string, lastName: string, dateJoined: string } | null, usersAttending?: Array<{ __typename?: 'SignUpType', userEmail: string, userGradeYear: number, userAllergies?: string | null, userPhoneNumber: string, extraInformation: string, hasBoughtTicket?: boolean | null, user: { __typename?: 'UserType', id: string, firstName: string, lastName: string } }> | null, usersOnWaitingList?: Array<{ __typename?: 'SignUpType', userEmail: string, userGradeYear: number, userAllergies?: string | null, userPhoneNumber: string, extraInformation: string, user: { __typename?: 'UserType', id: string, firstName: string, lastName: string } }> | null, userAttendance?: { __typename?: 'UserAttendingType', isSignedUp?: boolean | null, isOnWaitingList?: boolean | null } | null, product?: { __typename?: 'ProductType', id: string } | null } | null }; +export type AdminEventQuery = { + __typename?: "Queries"; + event?: { + __typename?: "EventType"; + id: string; + title: string; + startTime: string; + endTime?: string | null; + location?: string | null; + description: string; + image?: string | null; + isAttendable: boolean; + deadline?: string | null; + availableSlots?: number | null; + price?: number | null; + shortDescription?: string | null; + signupOpenDate?: string | null; + isFull?: boolean | null; + hasExtraInformation: boolean; + bindingSignup: boolean; + contactEmail: string; + allowedGradeYears?: Array | null; + organization: { __typename?: "OrganizationType"; id: string; name: string }; + category?: { __typename?: "CategoryType"; id: string; name: string } | null; + publisher?: { + __typename?: "UserType"; + id: string; + username: string; + email: string; + firstName: string; + lastName: string; + dateJoined: string; + } | null; + usersAttending?: Array<{ + __typename?: "SignUpType"; + userEmail: string; + userGradeYear: number; + userAllergies?: string | null; + userPhoneNumber: string; + extraInformation: string; + hasBoughtTicket?: boolean | null; + user: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + }> | null; + usersOnWaitingList?: Array<{ + __typename?: "SignUpType"; + userEmail: string; + userGradeYear: number; + userAllergies?: string | null; + userPhoneNumber: string; + extraInformation: string; + user: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + }> | null; + userAttendance?: { + __typename?: "UserAttendingType"; + isSignedUp?: boolean | null; + isOnWaitingList?: boolean | null; + } | null; + product?: { __typename?: "ProductType"; id: string } | null; + } | null; +}; export type EventSignUpsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }>; - -export type EventSignUpsQuery = { __typename?: 'Queries', event?: { __typename?: 'EventType', isAttendable: boolean, usersAttending?: Array<{ __typename?: 'SignUpType', userEmail: string }> | null } | null }; +export type EventSignUpsQuery = { + __typename?: "Queries"; + event?: { + __typename?: "EventType"; + isAttendable: boolean; + usersAttending?: Array<{ __typename?: "SignUpType"; userEmail: string }> | null; + } | null; +}; export type AttendeeReportQueryVariables = Exact<{ - eventId: Scalars['ID']['input']; - fields?: InputMaybe | Scalars['String']['input']>; - filetype?: InputMaybe; + eventId: Scalars["ID"]["input"]; + fields?: InputMaybe | Scalars["String"]["input"]>; + filetype?: InputMaybe; }>; - -export type AttendeeReportQuery = { __typename?: 'Queries', attendeeReport?: string | null }; +export type AttendeeReportQuery = { __typename?: "Queries"; attendeeReport?: string | null }; export type AttendeeReportOrgQueryVariables = Exact<{ - orgId: Scalars['ID']['input']; - fields?: InputMaybe | Scalars['String']['input']>; - filetype?: InputMaybe; + orgId: Scalars["ID"]["input"]; + fields?: InputMaybe | Scalars["String"]["input"]>; + filetype?: InputMaybe; }>; - -export type AttendeeReportOrgQuery = { __typename?: 'Queries', attendeeReportOrg?: string | null }; +export type AttendeeReportOrgQuery = { __typename?: "Queries"; attendeeReportOrg?: string | null }; export type AttendeeReportsQueryVariables = Exact<{ - eventIds: Array | Scalars['ID']['input']; - fields?: InputMaybe | Scalars['String']['input']>; - filetype?: InputMaybe; + eventIds: Array | Scalars["ID"]["input"]; + fields?: InputMaybe | Scalars["String"]["input"]>; + filetype?: InputMaybe; }>; - -export type AttendeeReportsQuery = { __typename?: 'Queries', attendeeReports?: string | null }; - -export type EventUserOrganizationsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type EventUserOrganizationsQuery = { __typename?: 'Queries', user?: { __typename?: 'UserType', id: string, organizations: Array<{ __typename?: 'OrganizationType', id: string }> } | null }; - -export type FormFragment = { __typename?: 'FormType', id: string, name: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }> }; - -export type FormWithAnswersFragment = { __typename?: 'FormType', id: string, name: string, description: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answer?: { __typename?: 'AnswerType', id?: string | null, answer: string } | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }> }; - -export type FormWithAllResponsesFragment = { __typename?: 'FormType', id: string, name: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answers?: Array<{ __typename?: 'AnswerType', id?: string | null }> | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }>, responses?: Array<{ __typename?: 'ResponseType', id?: string | null, respondent: { __typename?: 'UserType', id: string, firstName: string, lastName: string }, answers: Array<{ __typename?: 'AnswerType', id?: string | null, answer: string, question: { __typename?: 'QuestionType', id: string } }> }> | null }; - -export type ResponseFragment = { __typename?: 'ResponseType', id?: string | null, respondent: { __typename?: 'UserType', id: string, firstName: string, lastName: string }, answers: Array<{ __typename?: 'AnswerType', id?: string | null, answer: string, question: { __typename?: 'QuestionType', id: string } }> }; - -export type QuestionFragment = { __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }; - -export type QuestionWithAnswerFragment = { __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answer?: { __typename?: 'AnswerType', id?: string | null, answer: string } | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }; - -export type QuestionWithAnswerIdsFragment = { __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answers?: Array<{ __typename?: 'AnswerType', id?: string | null }> | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }; - -export type OptionFragment = { __typename?: 'OptionType', id: string, answer: string }; - -export type AnswerFragment = { __typename?: 'AnswerType', id?: string | null, answer: string }; - -export type AnswerWithQuestionIdFragment = { __typename?: 'AnswerType', id?: string | null, answer: string, question: { __typename?: 'QuestionType', id: string } }; +export type AttendeeReportsQuery = { __typename?: "Queries"; attendeeReports?: string | null }; + +export type EventUserOrganizationsQueryVariables = Exact<{ [key: string]: never }>; + +export type EventUserOrganizationsQuery = { + __typename?: "Queries"; + user?: { + __typename?: "UserType"; + id: string; + organizations: Array<{ __typename?: "OrganizationType"; id: string }>; + } | null; +}; + +export type FormFragment = { + __typename?: "FormType"; + id: string; + name: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; +}; + +export type FormWithAnswersFragment = { + __typename?: "FormType"; + id: string; + name: string; + description: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answer?: { __typename?: "AnswerType"; id?: string | null; answer: string } | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; +}; + +export type FormWithAllResponsesFragment = { + __typename?: "FormType"; + id: string; + name: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answers?: Array<{ __typename?: "AnswerType"; id?: string | null }> | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; + responses?: Array<{ + __typename?: "ResponseType"; + id?: string | null; + respondent: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + answers: Array<{ + __typename?: "AnswerType"; + id?: string | null; + answer: string; + question: { __typename?: "QuestionType"; id: string }; + }>; + }> | null; +}; + +export type ResponseFragment = { + __typename?: "ResponseType"; + id?: string | null; + respondent: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + answers: Array<{ + __typename?: "AnswerType"; + id?: string | null; + answer: string; + question: { __typename?: "QuestionType"; id: string }; + }>; +}; + +export type QuestionFragment = { + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; +}; + +export type QuestionWithAnswerFragment = { + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answer?: { __typename?: "AnswerType"; id?: string | null; answer: string } | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; +}; + +export type QuestionWithAnswerIdsFragment = { + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answers?: Array<{ __typename?: "AnswerType"; id?: string | null }> | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; +}; + +export type OptionFragment = { __typename?: "OptionType"; id: string; answer: string }; + +export type AnswerFragment = { __typename?: "AnswerType"; id?: string | null; answer: string }; + +export type AnswerWithQuestionIdFragment = { + __typename?: "AnswerType"; + id?: string | null; + answer: string; + question: { __typename?: "QuestionType"; id: string }; +}; export type CreateFormMutationVariables = Exact<{ formData: CreateFormInput; - listingId?: InputMaybe; + listingId?: InputMaybe; }>; - -export type CreateFormMutation = { __typename?: 'Mutations', createForm?: { __typename?: 'CreateForm', ok?: boolean | null, form?: { __typename?: 'FormType', id: string, name: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answers?: Array<{ __typename?: 'AnswerType', id?: string | null }> | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }>, responses?: Array<{ __typename?: 'ResponseType', id?: string | null, respondent: { __typename?: 'UserType', id: string, firstName: string, lastName: string }, answers: Array<{ __typename?: 'AnswerType', id?: string | null, answer: string, question: { __typename?: 'QuestionType', id: string } }> }> | null } | null } | null }; +export type CreateFormMutation = { + __typename?: "Mutations"; + createForm?: { + __typename?: "CreateForm"; + ok?: boolean | null; + form?: { + __typename?: "FormType"; + id: string; + name: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answers?: Array<{ __typename?: "AnswerType"; id?: string | null }> | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; + responses?: Array<{ + __typename?: "ResponseType"; + id?: string | null; + respondent: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + answers: Array<{ + __typename?: "AnswerType"; + id?: string | null; + answer: string; + question: { __typename?: "QuestionType"; id: string }; + }>; + }> | null; + } | null; + } | null; +}; export type UpdateFormMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; formData: BaseFormInput; }>; - -export type UpdateFormMutation = { __typename?: 'Mutations', updateForm?: { __typename?: 'UpdateForm', ok?: boolean | null, form?: { __typename?: 'FormType', id: string, name: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answers?: Array<{ __typename?: 'AnswerType', id?: string | null }> | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }>, responses?: Array<{ __typename?: 'ResponseType', id?: string | null, respondent: { __typename?: 'UserType', id: string, firstName: string, lastName: string }, answers: Array<{ __typename?: 'AnswerType', id?: string | null, answer: string, question: { __typename?: 'QuestionType', id: string } }> }> | null } | null } | null }; +export type UpdateFormMutation = { + __typename?: "Mutations"; + updateForm?: { + __typename?: "UpdateForm"; + ok?: boolean | null; + form?: { + __typename?: "FormType"; + id: string; + name: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answers?: Array<{ __typename?: "AnswerType"; id?: string | null }> | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; + responses?: Array<{ + __typename?: "ResponseType"; + id?: string | null; + respondent: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + answers: Array<{ + __typename?: "AnswerType"; + id?: string | null; + answer: string; + question: { __typename?: "QuestionType"; id: string }; + }>; + }> | null; + } | null; + } | null; +}; export type CreateQuestionMutationVariables = Exact<{ - formId: Scalars['ID']['input']; + formId: Scalars["ID"]["input"]; questionData: CreateQuestionInput; }>; - -export type CreateQuestionMutation = { __typename?: 'Mutations', createQuestion?: { __typename?: 'CreateQuestion', ok?: boolean | null, question?: { __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answers?: Array<{ __typename?: 'AnswerType', id?: string | null }> | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null } | null } | null }; +export type CreateQuestionMutation = { + __typename?: "Mutations"; + createQuestion?: { + __typename?: "CreateQuestion"; + ok?: boolean | null; + question?: { + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answers?: Array<{ __typename?: "AnswerType"; id?: string | null }> | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + } | null; + } | null; +}; export type UpdateQuestionMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; questionData: BaseQuestionInput; optionData?: InputMaybe | OptionInput>; }>; - -export type UpdateQuestionMutation = { __typename?: 'Mutations', createUpdateAndDeleteOptions?: { __typename?: 'CreateUpdateAndDeleteOptions', ok?: boolean | null } | null, updateQuestion?: { __typename?: 'UpdateQuestion', ok?: boolean | null, question?: { __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answers?: Array<{ __typename?: 'AnswerType', id?: string | null }> | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null } | null } | null }; +export type UpdateQuestionMutation = { + __typename?: "Mutations"; + createUpdateAndDeleteOptions?: { __typename?: "CreateUpdateAndDeleteOptions"; ok?: boolean | null } | null; + updateQuestion?: { + __typename?: "UpdateQuestion"; + ok?: boolean | null; + question?: { + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answers?: Array<{ __typename?: "AnswerType"; id?: string | null }> | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + } | null; + } | null; +}; export type DeleteQuestionMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }>; - -export type DeleteQuestionMutation = { __typename?: 'Mutations', deleteQuestion?: { __typename?: 'DeleteQuestion', deletedId?: string | null, ok?: boolean | null } | null }; +export type DeleteQuestionMutation = { + __typename?: "Mutations"; + deleteQuestion?: { __typename?: "DeleteQuestion"; deletedId?: string | null; ok?: boolean | null } | null; +}; export type SubmitAnswersMutationVariables = Exact<{ - formId: Scalars['ID']['input']; + formId: Scalars["ID"]["input"]; answersData?: InputMaybe | AnswerInput>; }>; - -export type SubmitAnswersMutation = { __typename?: 'Mutations', submitAnswers?: { __typename?: 'SubmitOrUpdateAnswers', ok?: boolean | null, message?: string | null } | null }; +export type SubmitAnswersMutation = { + __typename?: "Mutations"; + submitAnswers?: { __typename?: "SubmitOrUpdateAnswers"; ok?: boolean | null; message?: string | null } | null; +}; export type FormWithAllResponsesQueryVariables = Exact<{ - formId: Scalars['ID']['input']; + formId: Scalars["ID"]["input"]; }>; - -export type FormWithAllResponsesQuery = { __typename?: 'Queries', form?: { __typename?: 'FormType', id: string, name: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answers?: Array<{ __typename?: 'AnswerType', id?: string | null }> | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }>, responses?: Array<{ __typename?: 'ResponseType', id?: string | null, respondent: { __typename?: 'UserType', id: string, firstName: string, lastName: string }, answers: Array<{ __typename?: 'AnswerType', id?: string | null, answer: string, question: { __typename?: 'QuestionType', id: string } }> }> | null } | null }; +export type FormWithAllResponsesQuery = { + __typename?: "Queries"; + form?: { + __typename?: "FormType"; + id: string; + name: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answers?: Array<{ __typename?: "AnswerType"; id?: string | null }> | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; + responses?: Array<{ + __typename?: "ResponseType"; + id?: string | null; + respondent: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + answers: Array<{ + __typename?: "AnswerType"; + id?: string | null; + answer: string; + question: { __typename?: "QuestionType"; id: string }; + }>; + }> | null; + } | null; +}; export type FormWithAnswersQueryVariables = Exact<{ - formId: Scalars['ID']['input']; + formId: Scalars["ID"]["input"]; }>; - -export type FormWithAnswersQuery = { __typename?: 'Queries', form?: { __typename?: 'FormType', id: string, name: string, description: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answer?: { __typename?: 'AnswerType', id?: string | null, answer: string } | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }> } | null }; - -export type ListingFragment = { __typename?: 'ListingType', id: string, title: string, slug: string, description: string, startDatetime: string, deadline: string, endDatetime: string, applicationUrl?: string | null, chips: Array, readMoreUrl?: string | null, heroImageUrl?: string | null, organization: { __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string } }; - -export type ListingOrganizationFragment = { __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string }; - -export type ListingWithFormIdFragment = { __typename?: 'ListingType', id: string, title: string, slug: string, description: string, startDatetime: string, deadline: string, endDatetime: string, applicationUrl?: string | null, chips: Array, readMoreUrl?: string | null, heroImageUrl?: string | null, form?: { __typename?: 'FormType', id: string } | null, organization: { __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string } }; - -export type ListingWithFormFragment = { __typename?: 'ListingType', id: string, title: string, slug: string, description: string, startDatetime: string, deadline: string, endDatetime: string, applicationUrl?: string | null, chips: Array, readMoreUrl?: string | null, heroImageUrl?: string | null, form?: { __typename?: 'FormType', id: string, name: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }> } | null, organization: { __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string } }; - -export type ListingWithResponsesFragment = { __typename?: 'ListingType', id: string, title: string, slug: string, description: string, startDatetime: string, deadline: string, endDatetime: string, applicationUrl?: string | null, chips: Array, readMoreUrl?: string | null, heroImageUrl?: string | null, form?: { __typename?: 'FormType', id: string, name: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answers?: Array<{ __typename?: 'AnswerType', id?: string | null }> | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }>, responses?: Array<{ __typename?: 'ResponseType', id?: string | null, respondent: { __typename?: 'UserType', id: string, firstName: string, lastName: string }, answers: Array<{ __typename?: 'AnswerType', id?: string | null, answer: string, question: { __typename?: 'QuestionType', id: string } }> }> | null } | null, organization: { __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string } }; +export type FormWithAnswersQuery = { + __typename?: "Queries"; + form?: { + __typename?: "FormType"; + id: string; + name: string; + description: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answer?: { __typename?: "AnswerType"; id?: string | null; answer: string } | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; + } | null; +}; + +export type ListingFragment = { + __typename?: "ListingType"; + id: string; + title: string; + slug: string; + description: string; + startDatetime: string; + deadline: string; + endDatetime: string; + applicationUrl?: string | null; + chips: Array; + readMoreUrl?: string | null; + heroImageUrl?: string | null; + organization: { + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; + }; +}; + +export type ListingOrganizationFragment = { + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; +}; + +export type ListingWithFormIdFragment = { + __typename?: "ListingType"; + id: string; + title: string; + slug: string; + description: string; + startDatetime: string; + deadline: string; + endDatetime: string; + applicationUrl?: string | null; + chips: Array; + readMoreUrl?: string | null; + heroImageUrl?: string | null; + form?: { __typename?: "FormType"; id: string } | null; + organization: { + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; + }; +}; + +export type ListingWithFormFragment = { + __typename?: "ListingType"; + id: string; + title: string; + slug: string; + description: string; + startDatetime: string; + deadline: string; + endDatetime: string; + applicationUrl?: string | null; + chips: Array; + readMoreUrl?: string | null; + heroImageUrl?: string | null; + form?: { + __typename?: "FormType"; + id: string; + name: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; + } | null; + organization: { + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; + }; +}; + +export type ListingWithResponsesFragment = { + __typename?: "ListingType"; + id: string; + title: string; + slug: string; + description: string; + startDatetime: string; + deadline: string; + endDatetime: string; + applicationUrl?: string | null; + chips: Array; + readMoreUrl?: string | null; + heroImageUrl?: string | null; + form?: { + __typename?: "FormType"; + id: string; + name: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answers?: Array<{ __typename?: "AnswerType"; id?: string | null }> | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; + responses?: Array<{ + __typename?: "ResponseType"; + id?: string | null; + respondent: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + answers: Array<{ + __typename?: "AnswerType"; + id?: string | null; + answer: string; + question: { __typename?: "QuestionType"; id: string }; + }>; + }> | null; + } | null; + organization: { + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; + }; +}; export type CreateListingMutationVariables = Exact<{ input: CreateListingInput; }>; - -export type CreateListingMutation = { __typename?: 'Mutations', createListing?: { __typename?: 'CreateListing', ok?: boolean | null, listing?: { __typename?: 'ListingType', id: string, slug: string } | null } | null }; +export type CreateListingMutation = { + __typename?: "Mutations"; + createListing?: { + __typename?: "CreateListing"; + ok?: boolean | null; + listing?: { __typename?: "ListingType"; id: string; slug: string } | null; + } | null; +}; export type UpdateListingMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; input?: InputMaybe; }>; - -export type UpdateListingMutation = { __typename?: 'Mutations', updateListing?: { __typename?: 'UpdateListing', ok?: boolean | null, listing?: { __typename?: 'ListingType', id: string, slug: string } | null } | null }; +export type UpdateListingMutation = { + __typename?: "Mutations"; + updateListing?: { + __typename?: "UpdateListing"; + ok?: boolean | null; + listing?: { __typename?: "ListingType"; id: string; slug: string } | null; + } | null; +}; export type DeleteListingMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }>; - -export type DeleteListingMutation = { __typename?: 'Mutations', deleteListing?: { __typename?: 'DeleteListing', listingId?: string | null, ok?: boolean | null } | null }; +export type DeleteListingMutation = { + __typename?: "Mutations"; + deleteListing?: { __typename?: "DeleteListing"; listingId?: string | null; ok?: boolean | null } | null; +}; export type ListingQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }>; - -export type ListingQuery = { __typename?: 'Queries', listing?: { __typename?: 'ListingType', id: string, title: string, slug: string, description: string, startDatetime: string, deadline: string, endDatetime: string, applicationUrl?: string | null, chips: Array, readMoreUrl?: string | null, heroImageUrl?: string | null, form?: { __typename?: 'FormType', id: string } | null, organization: { __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string } } | null }; - -export type ListingsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ListingsQuery = { __typename?: 'Queries', listings?: Array<{ __typename?: 'ListingType', id: string, title: string, slug: string, description: string, startDatetime: string, deadline: string, endDatetime: string, applicationUrl?: string | null, chips: Array, readMoreUrl?: string | null, heroImageUrl?: string | null, organization: { __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string } }> | null }; +export type ListingQuery = { + __typename?: "Queries"; + listing?: { + __typename?: "ListingType"; + id: string; + title: string; + slug: string; + description: string; + startDatetime: string; + deadline: string; + endDatetime: string; + applicationUrl?: string | null; + chips: Array; + readMoreUrl?: string | null; + heroImageUrl?: string | null; + form?: { __typename?: "FormType"; id: string } | null; + organization: { + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; + }; + } | null; +}; + +export type ListingsQueryVariables = Exact<{ [key: string]: never }>; + +export type ListingsQuery = { + __typename?: "Queries"; + listings?: Array<{ + __typename?: "ListingType"; + id: string; + title: string; + slug: string; + description: string; + startDatetime: string; + deadline: string; + endDatetime: string; + applicationUrl?: string | null; + chips: Array; + readMoreUrl?: string | null; + heroImageUrl?: string | null; + organization: { + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; + }; + }> | null; +}; export type ListingWithFormQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }>; - -export type ListingWithFormQuery = { __typename?: 'Queries', listing?: { __typename?: 'ListingType', id: string, title: string, slug: string, description: string, startDatetime: string, deadline: string, endDatetime: string, applicationUrl?: string | null, chips: Array, readMoreUrl?: string | null, heroImageUrl?: string | null, form?: { __typename?: 'FormType', id: string, name: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }> } | null, organization: { __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string } } | null }; +export type ListingWithFormQuery = { + __typename?: "Queries"; + listing?: { + __typename?: "ListingType"; + id: string; + title: string; + slug: string; + description: string; + startDatetime: string; + deadline: string; + endDatetime: string; + applicationUrl?: string | null; + chips: Array; + readMoreUrl?: string | null; + heroImageUrl?: string | null; + form?: { + __typename?: "FormType"; + id: string; + name: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; + } | null; + organization: { + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; + }; + } | null; +}; export type ListingWithResponsesQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars["ID"]["input"]; }>; - -export type ListingWithResponsesQuery = { __typename?: 'Queries', listing?: { __typename?: 'ListingType', id: string, title: string, slug: string, description: string, startDatetime: string, deadline: string, endDatetime: string, applicationUrl?: string | null, chips: Array, readMoreUrl?: string | null, heroImageUrl?: string | null, form?: { __typename?: 'FormType', id: string, name: string, questions: Array<{ __typename?: 'QuestionType', id: string, question: string, description: string, questionType?: QuestionTypeEnum | null, mandatory: boolean, answers?: Array<{ __typename?: 'AnswerType', id?: string | null }> | null, options?: Array<{ __typename?: 'OptionType', id: string, answer: string }> | null }>, responses?: Array<{ __typename?: 'ResponseType', id?: string | null, respondent: { __typename?: 'UserType', id: string, firstName: string, lastName: string }, answers: Array<{ __typename?: 'AnswerType', id?: string | null, answer: string, question: { __typename?: 'QuestionType', id: string } }> }> | null } | null, organization: { __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string } } | null }; - -export type UserOrganizationsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type UserOrganizationsQuery = { __typename?: 'Queries', user?: { __typename?: 'UserType', organizations: Array<{ __typename?: 'OrganizationType', id: string, name: string, slug: string, logoUrl?: string | null, color?: string | null, description: string }> } | null }; - -export type AdminOrganizationFragment = { __typename?: 'OrganizationType', id: string, name: string, hrGroup?: { __typename?: 'ResponsibleGroupType', uuid: string } | null, primaryGroup?: { __typename?: 'ResponsibleGroupType', uuid: string } | null, events: Array<{ __typename?: 'EventType', id: string, title: string, startTime: string, shortDescription?: string | null, availableSlots?: number | null, isFull?: boolean | null, usersAttending?: Array<{ __typename?: 'SignUpType', id: string }> | null }>, listings?: Array<{ __typename?: 'ListingType', id: string, title: string, deadline: string }> | null }; - -export type OrgAdminEventFragment = { __typename?: 'EventType', id: string, title: string, startTime: string, shortDescription?: string | null, availableSlots?: number | null, isFull?: boolean | null, usersAttending?: Array<{ __typename?: 'SignUpType', id: string }> | null }; - -export type OrgAdminListingFragment = { __typename?: 'ListingType', id: string, title: string, deadline: string }; - -export type MembershipFragment = { __typename?: 'MembershipType', id: string, user: { __typename?: 'UserType', firstName: string, lastName: string }, group?: { __typename?: 'ResponsibleGroupType', uuid: string } | null }; +export type ListingWithResponsesQuery = { + __typename?: "Queries"; + listing?: { + __typename?: "ListingType"; + id: string; + title: string; + slug: string; + description: string; + startDatetime: string; + deadline: string; + endDatetime: string; + applicationUrl?: string | null; + chips: Array; + readMoreUrl?: string | null; + heroImageUrl?: string | null; + form?: { + __typename?: "FormType"; + id: string; + name: string; + questions: Array<{ + __typename?: "QuestionType"; + id: string; + question: string; + description: string; + questionType?: QuestionTypeEnum | null; + mandatory: boolean; + answers?: Array<{ __typename?: "AnswerType"; id?: string | null }> | null; + options?: Array<{ __typename?: "OptionType"; id: string; answer: string }> | null; + }>; + responses?: Array<{ + __typename?: "ResponseType"; + id?: string | null; + respondent: { __typename?: "UserType"; id: string; firstName: string; lastName: string }; + answers: Array<{ + __typename?: "AnswerType"; + id?: string | null; + answer: string; + question: { __typename?: "QuestionType"; id: string }; + }>; + }> | null; + } | null; + organization: { + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; + }; + } | null; +}; + +export type UserOrganizationsQueryVariables = Exact<{ [key: string]: never }>; + +export type UserOrganizationsQuery = { + __typename?: "Queries"; + user?: { + __typename?: "UserType"; + organizations: Array<{ + __typename?: "OrganizationType"; + id: string; + name: string; + slug: string; + logoUrl?: string | null; + color?: string | null; + description: string; + }>; + } | null; +}; + +export type AdminOrganizationFragment = { + __typename?: "OrganizationType"; + id: string; + name: string; + hrGroup?: { __typename?: "ResponsibleGroupType"; uuid: string } | null; + primaryGroup?: { __typename?: "ResponsibleGroupType"; uuid: string } | null; + events: Array<{ + __typename?: "EventType"; + id: string; + title: string; + startTime: string; + shortDescription?: string | null; + availableSlots?: number | null; + isFull?: boolean | null; + usersAttending?: Array<{ __typename?: "SignUpType"; id: string }> | null; + }>; + listings?: Array<{ __typename?: "ListingType"; id: string; title: string; deadline: string }> | null; +}; + +export type OrgAdminEventFragment = { + __typename?: "EventType"; + id: string; + title: string; + startTime: string; + shortDescription?: string | null; + availableSlots?: number | null; + isFull?: boolean | null; + usersAttending?: Array<{ __typename?: "SignUpType"; id: string }> | null; +}; + +export type OrgAdminListingFragment = { __typename?: "ListingType"; id: string; title: string; deadline: string }; + +export type MembershipFragment = { + __typename?: "MembershipType"; + id: string; + user: { __typename?: "UserType"; firstName: string; lastName: string }; + group?: { __typename?: "ResponsibleGroupType"; uuid: string } | null; +}; export type AdminOrganizationQueryVariables = Exact<{ - orgId: Scalars['ID']['input']; + orgId: Scalars["ID"]["input"]; }>; - -export type AdminOrganizationQuery = { __typename?: 'Queries', organization?: { __typename?: 'OrganizationType', id: string, name: string, hrGroup?: { __typename?: 'ResponsibleGroupType', uuid: string } | null, primaryGroup?: { __typename?: 'ResponsibleGroupType', uuid: string } | null, events: Array<{ __typename?: 'EventType', id: string, title: string, startTime: string, shortDescription?: string | null, availableSlots?: number | null, isFull?: boolean | null, usersAttending?: Array<{ __typename?: 'SignUpType', id: string }> | null }>, listings?: Array<{ __typename?: 'ListingType', id: string, title: string, deadline: string }> | null } | null }; +export type AdminOrganizationQuery = { + __typename?: "Queries"; + organization?: { + __typename?: "OrganizationType"; + id: string; + name: string; + hrGroup?: { __typename?: "ResponsibleGroupType"; uuid: string } | null; + primaryGroup?: { __typename?: "ResponsibleGroupType"; uuid: string } | null; + events: Array<{ + __typename?: "EventType"; + id: string; + title: string; + startTime: string; + shortDescription?: string | null; + availableSlots?: number | null; + isFull?: boolean | null; + usersAttending?: Array<{ __typename?: "SignUpType"; id: string }> | null; + }>; + listings?: Array<{ __typename?: "ListingType"; id: string; title: string; deadline: string }> | null; + } | null; +}; export type MembershipsQueryVariables = Exact<{ - organizationId: Scalars['ID']['input']; + organizationId: Scalars["ID"]["input"]; }>; - -export type MembershipsQuery = { __typename?: 'Queries', memberships?: Array<{ __typename?: 'MembershipType', id: string, user: { __typename?: 'UserType', firstName: string, lastName: string }, group?: { __typename?: 'ResponsibleGroupType', uuid: string } | null }> | null }; +export type MembershipsQuery = { + __typename?: "Queries"; + memberships?: Array<{ + __typename?: "MembershipType"; + id: string; + user: { __typename?: "UserType"; firstName: string; lastName: string }; + group?: { __typename?: "ResponsibleGroupType"; uuid: string } | null; + }> | null; +}; export type HasPermissionQueryVariables = Exact<{ - permission: Scalars['String']['input']; + permission: Scalars["String"]["input"]; }>; - -export type HasPermissionQuery = { __typename?: 'Queries', hasPermission?: boolean | null }; - -export type UserFragment = { __typename?: 'UserType', id: string, feideEmail: string, email: string, username: string, firstName: string, lastName: string, dateJoined: string, graduationYear?: number | null, gradeYear?: number | null, allergies?: string | null, phoneNumber: string, firstLogin: boolean }; - -export type UserWithEventsAndOrgsFragment = { __typename?: 'UserType', id: string, feideEmail: string, email: string, username: string, firstName: string, lastName: string, dateJoined: string, graduationYear?: number | null, gradeYear?: number | null, allergies?: string | null, phoneNumber: string, firstLogin: boolean, events?: Array<{ __typename?: 'EventType', id: string }> | null, organizations: Array<{ __typename?: 'OrganizationType', id: string, name: string }> }; - -export type UserToEditFragment = { __typename?: 'UserType', id: string, username: string, firstName: string, lastName: string, phoneNumber: string, allergies?: string | null, email: string, graduationYear?: number | null, firstLogin: boolean, feideEmail: string, canUpdateYear?: boolean | null, yearUpdatedAt?: string | null }; - -export type LogoutMutationVariables = Exact<{ [key: string]: never; }>; - - -export type LogoutMutation = { __typename?: 'Mutations', logout?: { __typename?: 'Logout', idToken?: string | null } | null }; +export type HasPermissionQuery = { __typename?: "Queries"; hasPermission?: boolean | null }; + +export type UserFragment = { + __typename?: "UserType"; + id: string; + feideEmail: string; + email: string; + username: string; + firstName: string; + lastName: string; + dateJoined: string; + graduationYear?: number | null; + gradeYear?: number | null; + allergies?: string | null; + phoneNumber: string; + firstLogin: boolean; +}; + +export type UserWithEventsAndOrgsFragment = { + __typename?: "UserType"; + id: string; + feideEmail: string; + email: string; + username: string; + firstName: string; + lastName: string; + dateJoined: string; + graduationYear?: number | null; + gradeYear?: number | null; + allergies?: string | null; + phoneNumber: string; + firstLogin: boolean; + events?: Array<{ __typename?: "EventType"; id: string }> | null; + organizations: Array<{ __typename?: "OrganizationType"; id: string; name: string }>; +}; + +export type UserToEditFragment = { + __typename?: "UserType"; + id: string; + username: string; + firstName: string; + lastName: string; + phoneNumber: string; + allergies?: string | null; + email: string; + graduationYear?: number | null; + firstLogin: boolean; + feideEmail: string; + canUpdateYear?: boolean | null; + yearUpdatedAt?: string | null; +}; + +export type LogoutMutationVariables = Exact<{ [key: string]: never }>; + +export type LogoutMutation = { + __typename?: "Mutations"; + logout?: { __typename?: "Logout"; idToken?: string | null } | null; +}; export type AuthUserMutationVariables = Exact<{ - code: Scalars['String']['input']; + code: Scalars["String"]["input"]; }>; - -export type AuthUserMutation = { __typename?: 'Mutations', authUser: { __typename?: 'AuthUser', user: { __typename?: 'UserType', id: string, feideEmail: string, email: string, username: string, firstName: string, lastName: string, dateJoined: string, graduationYear?: number | null, gradeYear?: number | null, allergies?: string | null, phoneNumber: string, firstLogin: boolean } } }; +export type AuthUserMutation = { + __typename?: "Mutations"; + authUser: { + __typename?: "AuthUser"; + user: { + __typename?: "UserType"; + id: string; + feideEmail: string; + email: string; + username: string; + firstName: string; + lastName: string; + dateJoined: string; + graduationYear?: number | null; + gradeYear?: number | null; + allergies?: string | null; + phoneNumber: string; + firstLogin: boolean; + }; + }; +}; export type UpdateUserMutationVariables = Exact<{ userData?: InputMaybe; }>; - -export type UpdateUserMutation = { __typename?: 'Mutations', updateUser?: { __typename?: 'UpdateUser', user?: { __typename?: 'UserType', id: string, feideEmail: string, email: string, username: string, firstName: string, lastName: string, dateJoined: string, graduationYear?: number | null, gradeYear?: number | null, allergies?: string | null, phoneNumber: string, firstLogin: boolean } | null } | null }; - -export type UserQueryVariables = Exact<{ [key: string]: never; }>; - - -export type UserQuery = { __typename?: 'Queries', user?: { __typename?: 'UserType', id: string, feideEmail: string, email: string, username: string, firstName: string, lastName: string, dateJoined: string, graduationYear?: number | null, gradeYear?: number | null, allergies?: string | null, phoneNumber: string, firstLogin: boolean } | null }; - -export type UserWithEventsAndOrgsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type UserWithEventsAndOrgsQuery = { __typename?: 'Queries', user?: { __typename?: 'UserType', id: string, feideEmail: string, email: string, username: string, firstName: string, lastName: string, dateJoined: string, graduationYear?: number | null, gradeYear?: number | null, allergies?: string | null, phoneNumber: string, firstLogin: boolean, events?: Array<{ __typename?: 'EventType', id: string }> | null, organizations: Array<{ __typename?: 'OrganizationType', id: string, name: string }> } | null }; - -export type UserToEditQueryVariables = Exact<{ [key: string]: never; }>; - - -export type UserToEditQuery = { __typename?: 'Queries', user?: { __typename?: 'UserType', id: string, username: string, firstName: string, lastName: string, phoneNumber: string, allergies?: string | null, email: string, graduationYear?: number | null, firstLogin: boolean, feideEmail: string, canUpdateYear?: boolean | null, yearUpdatedAt?: string | null } | null }; - -export type ServerTimeQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ServerTimeQuery = { __typename?: 'Queries', serverTime?: string | null }; - -export const DocumentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Document"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ArchiveDocumentType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"thumbnail"}},{"kind":"Field","name":{"kind":"Name","value":"typeDoc"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"webLink"}}]}}]} as unknown as DocumentNode; -export const CabinFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Cabin"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CabinType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"maxGuests"}},{"kind":"Field","name":{"kind":"Name","value":"internalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"externalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"internalPriceWeekend"}},{"kind":"Field","name":{"kind":"Name","value":"externalPriceWeekend"}}]}}]} as unknown as DocumentNode; -export const BookingFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Booking"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AllBookingsType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"checkIn"}},{"kind":"Field","name":{"kind":"Name","value":"checkOut"}},{"kind":"Field","name":{"kind":"Name","value":"cabins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const AdminBookingFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AdminBooking"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AdminBookingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"checkIn"}},{"kind":"Field","name":{"kind":"Name","value":"checkOut"}},{"kind":"Field","name":{"kind":"Name","value":"cabins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"receiverEmail"}},{"kind":"Field","name":{"kind":"Name","value":"externalParticipants"}},{"kind":"Field","name":{"kind":"Name","value":"internalParticipants"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"isTentative"}},{"kind":"Field","name":{"kind":"Name","value":"isDeclined"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"extraInfo"}},{"kind":"Field","name":{"kind":"Name","value":"declineReason"}}]}}]} as unknown as DocumentNode; -export const BookingResponsibleFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BookingResponsible"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BookingResponsibleType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}}]}}]} as unknown as DocumentNode; -export const BookingSemesterFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BookingSemester"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBookingSemesterType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fallStartDate"}},{"kind":"Field","name":{"kind":"Name","value":"fallEndDate"}},{"kind":"Field","name":{"kind":"Name","value":"springStartDate"}},{"kind":"Field","name":{"kind":"Name","value":"springEndDate"}},{"kind":"Field","name":{"kind":"Name","value":"fallSemesterActive"}},{"kind":"Field","name":{"kind":"Name","value":"springSemesterActive"}}]}}]} as unknown as DocumentNode; -export const ProductFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Product"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"maxBuyableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"shopItem"}}]}}]} as unknown as DocumentNode; -export const OrderFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"totalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"paymentStatus"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"deliveredProduct"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Product"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Product"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"maxBuyableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"shopItem"}}]}}]} as unknown as DocumentNode; -export const EventFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EventFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"allowedGradeYears"}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"isAttendable"}},{"kind":"Field","name":{"kind":"Name","value":"signupOpenDate"}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"color"}}]}}]}}]} as unknown as DocumentNode; -export const EventDetailFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EventDetailFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"endTime"}},{"kind":"Field","name":{"kind":"Name","value":"location"}},{"kind":"Field","name":{"kind":"Name","value":"contactEmail"}},{"kind":"Field","name":{"kind":"Name","value":"allowedGradeYears"}},{"kind":"Field","name":{"kind":"Name","value":"hasExtraInformation"}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"signupOpenDate"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"isAttendable"}},{"kind":"Field","name":{"kind":"Name","value":"bindingSignup"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}},{"kind":"Field","name":{"kind":"Name","value":"positionOnWaitingList"}},{"kind":"Field","name":{"kind":"Name","value":"hasBoughtTicket"}}]}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}}]}}]} as unknown as DocumentNode; -export const SignUpWithTicketFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SignUpWithTicket"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SignUpType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userGradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"userAllergies"}},{"kind":"Field","name":{"kind":"Name","value":"userPhoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"extraInformation"}},{"kind":"Field","name":{"kind":"Name","value":"hasBoughtTicket"}}]}}]} as unknown as DocumentNode; -export const SignUpFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SignUp"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SignUpType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userGradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"userAllergies"}},{"kind":"Field","name":{"kind":"Name","value":"userPhoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"extraInformation"}}]}}]} as unknown as DocumentNode; -export const AdminEventFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AdminEvent"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"endTime"}},{"kind":"Field","name":{"kind":"Name","value":"location"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"isAttendable"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"publisher"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"dateJoined"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableSlots"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"signupOpenDate"}},{"kind":"Field","name":{"kind":"Name","value":"usersAttending"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SignUpWithTicket"}}]}},{"kind":"Field","name":{"kind":"Name","value":"usersOnWaitingList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SignUp"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"hasExtraInformation"}},{"kind":"Field","name":{"kind":"Name","value":"bindingSignup"}},{"kind":"Field","name":{"kind":"Name","value":"contactEmail"}},{"kind":"Field","name":{"kind":"Name","value":"allowedGradeYears"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SignUpWithTicket"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SignUpType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userGradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"userAllergies"}},{"kind":"Field","name":{"kind":"Name","value":"userPhoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"extraInformation"}},{"kind":"Field","name":{"kind":"Name","value":"hasBoughtTicket"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SignUp"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SignUpType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userGradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"userAllergies"}},{"kind":"Field","name":{"kind":"Name","value":"userPhoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"extraInformation"}}]}}]} as unknown as DocumentNode; -export const OptionFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}}]} as unknown as DocumentNode; -export const QuestionFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}}]} as unknown as DocumentNode; -export const AnswerFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}}]} as unknown as DocumentNode; -export const QuestionWithAnswerFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}}]} as unknown as DocumentNode; -export const FormWithAnswersFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FormWithAnswers"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswer"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}}]}}]}}]} as unknown as DocumentNode; -export const ListingOrganizationFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const ListingFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Listing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"startDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"endDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"applicationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"chips"}},{"kind":"Field","name":{"kind":"Name","value":"readMoreUrl"}},{"kind":"Field","name":{"kind":"Name","value":"heroImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingOrganization"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const ListingWithFormIdFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingWithFormId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Listing"}},{"kind":"Field","name":{"kind":"Name","value":"form"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Listing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"startDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"endDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"applicationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"chips"}},{"kind":"Field","name":{"kind":"Name","value":"readMoreUrl"}},{"kind":"Field","name":{"kind":"Name","value":"heroImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingOrganization"}}]}}]}}]} as unknown as DocumentNode; -export const FormFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Form"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}}]} as unknown as DocumentNode; -export const ListingWithFormFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingWithForm"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Listing"}},{"kind":"Field","name":{"kind":"Name","value":"form"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Form"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Listing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"startDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"endDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"applicationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"chips"}},{"kind":"Field","name":{"kind":"Name","value":"readMoreUrl"}},{"kind":"Field","name":{"kind":"Name","value":"heroImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingOrganization"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Form"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}}]}}]}}]} as unknown as DocumentNode; -export const QuestionWithAnswerIdsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswerIds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}}]} as unknown as DocumentNode; -export const AnswerWithQuestionIdFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnswerWithQuestionId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}},{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}}]} as unknown as DocumentNode; -export const ResponseFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Response"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ResponseType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"respondent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnswerWithQuestionId"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnswerWithQuestionId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}},{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const FormWithAllResponsesFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FormWithAllResponses"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswerIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"responses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Response"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnswerWithQuestionId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}},{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswerIds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Response"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ResponseType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"respondent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnswerWithQuestionId"}}]}}]}}]} as unknown as DocumentNode; -export const ListingWithResponsesFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingWithResponses"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Listing"}},{"kind":"Field","name":{"kind":"Name","value":"form"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FormWithAllResponses"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswerIds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnswerWithQuestionId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}},{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Response"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ResponseType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"respondent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnswerWithQuestionId"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Listing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"startDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"endDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"applicationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"chips"}},{"kind":"Field","name":{"kind":"Name","value":"readMoreUrl"}},{"kind":"Field","name":{"kind":"Name","value":"heroImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingOrganization"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FormWithAllResponses"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswerIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"responses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Response"}}]}}]}}]} as unknown as DocumentNode; -export const OrgAdminEventFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrgAdminEvent"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"availableSlots"}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"usersAttending"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const OrgAdminListingFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrgAdminListing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}}]}}]} as unknown as DocumentNode; -export const AdminOrganizationFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AdminOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"hrGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}}]}},{"kind":"Field","name":{"kind":"Name","value":"primaryGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}}]}},{"kind":"Field","name":{"kind":"Name","value":"events"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrgAdminEvent"}}]}},{"kind":"Field","name":{"kind":"Name","value":"listings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrgAdminListing"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrgAdminEvent"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"availableSlots"}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"usersAttending"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrgAdminListing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}}]}}]} as unknown as DocumentNode; -export const MembershipFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Membership"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MembershipType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"group"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}}]}}]}}]} as unknown as DocumentNode; -export const UserFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"User"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"feideEmail"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"dateJoined"}},{"kind":"Field","name":{"kind":"Name","value":"graduationYear"}},{"kind":"Field","name":{"kind":"Name","value":"gradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"allergies"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"firstLogin"}}]}}]} as unknown as DocumentNode; -export const UserWithEventsAndOrgsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserWithEventsAndOrgs"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"User"}},{"kind":"Field","name":{"kind":"Name","value":"events"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organizations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"User"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"feideEmail"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"dateJoined"}},{"kind":"Field","name":{"kind":"Name","value":"graduationYear"}},{"kind":"Field","name":{"kind":"Name","value":"gradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"allergies"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"firstLogin"}}]}}]} as unknown as DocumentNode; -export const UserToEditFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserToEdit"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"allergies"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"graduationYear"}},{"kind":"Field","name":{"kind":"Name","value":"firstLogin"}},{"kind":"Field","name":{"kind":"Name","value":"feideEmail"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateYear"}},{"kind":"Field","name":{"kind":"Name","value":"yearUpdatedAt"}}]}}]} as unknown as DocumentNode; -export const ArchiveByTypesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"archiveByTypes"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"documentTypes"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"year"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"names"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archiveByTypes"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"typeDoc"},"value":{"kind":"Variable","name":{"kind":"Name","value":"documentTypes"}}},{"kind":"Argument","name":{"kind":"Name","value":"year"},"value":{"kind":"Variable","name":{"kind":"Name","value":"year"}}},{"kind":"Argument","name":{"kind":"Name","value":"names"},"value":{"kind":"Variable","name":{"kind":"Name","value":"names"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Document"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Document"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ArchiveDocumentType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"thumbnail"}},{"kind":"Field","name":{"kind":"Name","value":"typeDoc"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"webLink"}}]}}]} as unknown as DocumentNode; -export const FeaturedArchiveDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"featuredArchive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"featuredArchive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Document"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Document"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ArchiveDocumentType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"thumbnail"}},{"kind":"Field","name":{"kind":"Name","value":"typeDoc"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"webLink"}}]}}]} as unknown as DocumentNode; -export const AvailableYearsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"availableYears"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableYears"}}]}}]} as unknown as DocumentNode; -export const DocumentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"documents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"documentTypes"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"year"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"names"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archiveByTypes"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"typeDoc"},"value":{"kind":"Variable","name":{"kind":"Name","value":"documentTypes"}}},{"kind":"Argument","name":{"kind":"Name","value":"year"},"value":{"kind":"Variable","name":{"kind":"Name","value":"year"}}},{"kind":"Argument","name":{"kind":"Name","value":"names"},"value":{"kind":"Variable","name":{"kind":"Name","value":"names"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Document"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredArchive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Document"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableYears"}},{"kind":"Field","name":{"kind":"Name","value":"hasPermission"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"permission"},"value":{"kind":"StringValue","value":"archive.view_archivedocument","block":false}}]}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Document"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ArchiveDocumentType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"thumbnail"}},{"kind":"Field","name":{"kind":"Name","value":"typeDoc"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"webLink"}}]}}]} as unknown as DocumentNode; -export const CreateBookingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"createBooking"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"bookingData"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BookingInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createBooking"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"bookingData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"bookingData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode; -export const ConfirmBookingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"confirmBooking"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBooking"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"bookingData"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"isTentative"},"value":{"kind":"BooleanValue","value":false}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode; -export const DeclineBookingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"declineBooking"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"declineReason"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBooking"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"bookingData"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"isTentative"},"value":{"kind":"BooleanValue","value":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"isDeclined"},"value":{"kind":"BooleanValue","value":true}},{"kind":"ObjectField","name":{"kind":"Name","value":"declineReason"},"value":{"kind":"Variable","name":{"kind":"Name","value":"declineReason"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode; -export const SendEmailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"sendEmail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"emailInput"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"EmailInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sendEmail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"emailInput"},"value":{"kind":"Variable","name":{"kind":"Name","value":"emailInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateCabinDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateCabin"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cabinData"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCabinInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCabin"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cabinData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cabinData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cabin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Cabin"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Cabin"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CabinType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"maxGuests"}},{"kind":"Field","name":{"kind":"Name","value":"internalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"externalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"internalPriceWeekend"}},{"kind":"Field","name":{"kind":"Name","value":"externalPriceWeekend"}}]}}]} as unknown as DocumentNode; -export const UpdateBookingSemesterDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateBookingSemester"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"semesterData"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBookingSemesterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateBookingSemester"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"semesterData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"semesterData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bookingSemester"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BookingSemester"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BookingSemester"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBookingSemesterType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fallStartDate"}},{"kind":"Field","name":{"kind":"Name","value":"fallEndDate"}},{"kind":"Field","name":{"kind":"Name","value":"springStartDate"}},{"kind":"Field","name":{"kind":"Name","value":"springEndDate"}},{"kind":"Field","name":{"kind":"Name","value":"fallSemesterActive"}},{"kind":"Field","name":{"kind":"Name","value":"springSemesterActive"}}]}}]} as unknown as DocumentNode; -export const CabinsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"cabins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cabins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Cabin"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Cabin"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CabinType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"maxGuests"}},{"kind":"Field","name":{"kind":"Name","value":"internalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"externalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"internalPriceWeekend"}},{"kind":"Field","name":{"kind":"Name","value":"externalPriceWeekend"}}]}}]} as unknown as DocumentNode; -export const AllBookingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"allBookings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allBookings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Booking"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Booking"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AllBookingsType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"checkIn"}},{"kind":"Field","name":{"kind":"Name","value":"checkOut"}},{"kind":"Field","name":{"kind":"Name","value":"cabins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const AdminAllBookingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"adminAllBookings"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adminAllBookings"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AdminBooking"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AdminBooking"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AdminBookingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"checkIn"}},{"kind":"Field","name":{"kind":"Name","value":"checkOut"}},{"kind":"Field","name":{"kind":"Name","value":"cabins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}},{"kind":"Field","name":{"kind":"Name","value":"receiverEmail"}},{"kind":"Field","name":{"kind":"Name","value":"externalParticipants"}},{"kind":"Field","name":{"kind":"Name","value":"internalParticipants"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"isTentative"}},{"kind":"Field","name":{"kind":"Name","value":"isDeclined"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"extraInfo"}},{"kind":"Field","name":{"kind":"Name","value":"declineReason"}}]}}]} as unknown as DocumentNode; -export const ActiveBookingResponsibleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"activeBookingResponsible"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeBookingResponsible"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BookingResponsible"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BookingResponsible"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BookingResponsibleType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"phone"}}]}}]} as unknown as DocumentNode; -export const CabinsAndResponsiblesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"cabinsAndResponsibles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cabins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Cabin"}}]}},{"kind":"Field","name":{"kind":"Name","value":"activeBookingResponsible"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Cabin"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CabinType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"maxGuests"}},{"kind":"Field","name":{"kind":"Name","value":"internalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"externalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"internalPriceWeekend"}},{"kind":"Field","name":{"kind":"Name","value":"externalPriceWeekend"}}]}}]} as unknown as DocumentNode; -export const BookingSemesterDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"bookingSemester"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bookingSemester"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BookingSemester"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BookingSemester"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateBookingSemesterType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fallStartDate"}},{"kind":"Field","name":{"kind":"Name","value":"fallEndDate"}},{"kind":"Field","name":{"kind":"Name","value":"springStartDate"}},{"kind":"Field","name":{"kind":"Name","value":"springEndDate"}},{"kind":"Field","name":{"kind":"Name","value":"fallSemesterActive"}},{"kind":"Field","name":{"kind":"Name","value":"springSemesterActive"}}]}}]} as unknown as DocumentNode; -export const InitiateOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"initiateOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"quantity"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fallbackRedirect"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"initiateOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"productId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productId"}}},{"kind":"Argument","name":{"kind":"Name","value":"quantity"},"value":{"kind":"Variable","name":{"kind":"Name","value":"quantity"}}},{"kind":"Argument","name":{"kind":"Name","value":"fallbackRedirect"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fallbackRedirect"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"redirect"}},{"kind":"Field","name":{"kind":"Name","value":"orderId"}}]}}]}}]} as unknown as DocumentNode; -export const AttemptCapturePaymentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"attemptCapturePayment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attemptCapturePayment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"order"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Order"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Product"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"maxBuyableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"shopItem"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"totalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"paymentStatus"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"deliveredProduct"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Product"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}}]}}]} as unknown as DocumentNode; -export const DeliveredProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deliveredProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deliveredProduct"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Order"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Product"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"maxBuyableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"shopItem"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"totalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"paymentStatus"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"deliveredProduct"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Product"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}}]}}]} as unknown as DocumentNode; -export const ProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"product"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"productId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Product"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Product"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"maxBuyableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"shopItem"}}]}}]} as unknown as DocumentNode; -export const ProductsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"products"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"products"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"maxBuyableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"shopItem"}}]}}]}}]} as unknown as DocumentNode; -export const UserOrdersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"userOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Order"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Product"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"maxBuyableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"shopItem"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"totalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"paymentStatus"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"deliveredProduct"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Product"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}}]}}]} as unknown as DocumentNode; -export const AllUserOrdersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"allUserOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allUserOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Order"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Product"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"maxBuyableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"shopItem"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"totalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"paymentStatus"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"deliveredProduct"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Product"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}}]}}]} as unknown as DocumentNode; -export const AllShopOrdersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"allShopOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allShopOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Order"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Product"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"maxBuyableQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"shopItem"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"totalPrice"}},{"kind":"Field","name":{"kind":"Name","value":"paymentStatus"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"deliveredProduct"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Product"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}}]}}]} as unknown as DocumentNode; -export const CreateEventDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"createEvent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventData"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateEventInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createEvent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"eventData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"event"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"EventFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EventFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"allowedGradeYears"}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"isAttendable"}},{"kind":"Field","name":{"kind":"Name","value":"signupOpenDate"}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"color"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateEventDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateEvent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventData"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateEventInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateEvent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"eventData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"event"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"EventDetailFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EventDetailFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"endTime"}},{"kind":"Field","name":{"kind":"Name","value":"location"}},{"kind":"Field","name":{"kind":"Name","value":"contactEmail"}},{"kind":"Field","name":{"kind":"Name","value":"allowedGradeYears"}},{"kind":"Field","name":{"kind":"Name","value":"hasExtraInformation"}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"signupOpenDate"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"isAttendable"}},{"kind":"Field","name":{"kind":"Name","value":"bindingSignup"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}},{"kind":"Field","name":{"kind":"Name","value":"positionOnWaitingList"}},{"kind":"Field","name":{"kind":"Name","value":"hasBoughtTicket"}}]}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}}]}}]} as unknown as DocumentNode; -export const EventSignUpDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"eventSignUp"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"extraInformation"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eventSignUp"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"eventId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}}},{"kind":"Argument","name":{"kind":"Name","value":"data"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"extraInformation"},"value":{"kind":"Variable","name":{"kind":"Name","value":"extraInformation"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"event"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}},{"kind":"Field","name":{"kind":"Name","value":"positionOnWaitingList"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const EventSignOffDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"eventSignOff"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eventSignOff"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"eventId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"event"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}},{"kind":"Field","name":{"kind":"Name","value":"positionOnWaitingList"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AdminEventSignOffDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"adminEventSignOff"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adminEventSignOff"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"eventId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}}},{"kind":"Argument","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"event"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const SendEventMailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"sendEventMails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"receiverEmails"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"content"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"subject"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sendEventMails"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"eventId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}}},{"kind":"Argument","name":{"kind":"Name","value":"receiverEmails"},"value":{"kind":"Variable","name":{"kind":"Name","value":"receiverEmails"}}},{"kind":"Argument","name":{"kind":"Name","value":"content"},"value":{"kind":"Variable","name":{"kind":"Name","value":"content"}}},{"kind":"Argument","name":{"kind":"Name","value":"subject"},"value":{"kind":"Variable","name":{"kind":"Name","value":"subject"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode; -export const EventsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"events"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organization"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"category"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"startTime"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"endTime"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allEvents"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organization"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organization"}}},{"kind":"Argument","name":{"kind":"Name","value":"category"},"value":{"kind":"Variable","name":{"kind":"Name","value":"category"}}},{"kind":"Argument","name":{"kind":"Name","value":"startTime"},"value":{"kind":"Variable","name":{"kind":"Name","value":"startTime"}}},{"kind":"Argument","name":{"kind":"Name","value":"endTime"},"value":{"kind":"Variable","name":{"kind":"Name","value":"endTime"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"EventFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"defaultEvents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"EventFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"gradeYear"}}]}},{"kind":"Field","name":{"kind":"Name","value":"hasPermission"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"permission"},"value":{"kind":"StringValue","value":"events.add_event","block":false}}]}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EventFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"allowedGradeYears"}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"isAttendable"}},{"kind":"Field","name":{"kind":"Name","value":"signupOpenDate"}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"color"}}]}}]}}]} as unknown as DocumentNode; -export const EventDetailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"eventDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"event"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"EventDetailFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"organizations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"EventDetailFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"endTime"}},{"kind":"Field","name":{"kind":"Name","value":"location"}},{"kind":"Field","name":{"kind":"Name","value":"contactEmail"}},{"kind":"Field","name":{"kind":"Name","value":"allowedGradeYears"}},{"kind":"Field","name":{"kind":"Name","value":"hasExtraInformation"}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"signupOpenDate"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"isAttendable"}},{"kind":"Field","name":{"kind":"Name","value":"bindingSignup"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}},{"kind":"Field","name":{"kind":"Name","value":"positionOnWaitingList"}},{"kind":"Field","name":{"kind":"Name","value":"hasBoughtTicket"}}]}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}}]}}]} as unknown as DocumentNode; -export const AllCategoriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"allCategories"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"allCategories"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const EventFilteredOrganizationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"eventFilteredOrganizations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eventFilteredOrganizations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const AdminEventDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"adminEvent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"event"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AdminEvent"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SignUpWithTicket"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SignUpType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userGradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"userAllergies"}},{"kind":"Field","name":{"kind":"Name","value":"userPhoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"extraInformation"}},{"kind":"Field","name":{"kind":"Name","value":"hasBoughtTicket"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SignUp"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SignUpType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userEmail"}},{"kind":"Field","name":{"kind":"Name","value":"userGradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"userAllergies"}},{"kind":"Field","name":{"kind":"Name","value":"userPhoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"extraInformation"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AdminEvent"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"endTime"}},{"kind":"Field","name":{"kind":"Name","value":"location"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"image"}},{"kind":"Field","name":{"kind":"Name","value":"isAttendable"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"publisher"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"dateJoined"}}]}},{"kind":"Field","name":{"kind":"Name","value":"availableSlots"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"signupOpenDate"}},{"kind":"Field","name":{"kind":"Name","value":"usersAttending"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SignUpWithTicket"}}]}},{"kind":"Field","name":{"kind":"Name","value":"usersOnWaitingList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SignUp"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userAttendance"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isSignedUp"}},{"kind":"Field","name":{"kind":"Name","value":"isOnWaitingList"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"hasExtraInformation"}},{"kind":"Field","name":{"kind":"Name","value":"bindingSignup"}},{"kind":"Field","name":{"kind":"Name","value":"contactEmail"}},{"kind":"Field","name":{"kind":"Name","value":"allowedGradeYears"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const EventSignUpsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"eventSignUps"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"event"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"isAttendable"}},{"kind":"Field","name":{"kind":"Name","value":"usersAttending"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userEmail"}}]}}]}}]}}]} as unknown as DocumentNode; -export const AttendeeReportDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"attendeeReport"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filetype"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attendeeReport"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"eventId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventId"}}},{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}},{"kind":"Argument","name":{"kind":"Name","value":"filetype"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filetype"}}}]}]}}]} as unknown as DocumentNode; -export const AttendeeReportOrgDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"attendeeReportOrg"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orgId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filetype"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attendeeReportOrg"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orgId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orgId"}}},{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}},{"kind":"Argument","name":{"kind":"Name","value":"filetype"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filetype"}}}]}]}}]} as unknown as DocumentNode; -export const AttendeeReportsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"attendeeReports"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"eventIds"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"fields"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filetype"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attendeeReports"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"eventIds"},"value":{"kind":"Variable","name":{"kind":"Name","value":"eventIds"}}},{"kind":"Argument","name":{"kind":"Name","value":"fields"},"value":{"kind":"Variable","name":{"kind":"Name","value":"fields"}}},{"kind":"Argument","name":{"kind":"Name","value":"filetype"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filetype"}}}]}]}}]} as unknown as DocumentNode; -export const EventUserOrganizationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"eventUserOrganizations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"organizations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const CreateFormDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"createForm"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"formData"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateFormInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"listingId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createForm"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"formData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"formData"}}},{"kind":"Argument","name":{"kind":"Name","value":"listingId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"listingId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"form"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FormWithAllResponses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswerIds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnswerWithQuestionId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}},{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Response"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ResponseType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"respondent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnswerWithQuestionId"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FormWithAllResponses"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswerIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"responses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Response"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateFormDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateForm"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"formData"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BaseFormInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateForm"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"formData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"formData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"form"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FormWithAllResponses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswerIds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnswerWithQuestionId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}},{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Response"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ResponseType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"respondent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnswerWithQuestionId"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FormWithAllResponses"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswerIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"responses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Response"}}]}}]}}]} as unknown as DocumentNode; -export const CreateQuestionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"createQuestion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"formId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"questionData"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateQuestionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createQuestion"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"formId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"formId"}}},{"kind":"Argument","name":{"kind":"Name","value":"questionData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"questionData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswerIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswerIds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateQuestionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateQuestion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"questionData"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BaseQuestionInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"optionData"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"OptionInput"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createUpdateAndDeleteOptions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"questionId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"optionData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"optionData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}},{"kind":"Field","name":{"kind":"Name","value":"updateQuestion"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"questionData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"questionData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswerIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswerIds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteQuestionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteQuestion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteQuestion"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deletedId"}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode; -export const SubmitAnswersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"submitAnswers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"formId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"answersData"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerInput"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"submitAnswers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"formId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"formId"}}},{"kind":"Argument","name":{"kind":"Name","value":"answersData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"answersData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ok"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const FormWithAllResponsesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"formWithAllResponses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"formId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"form"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"formId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"formId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FormWithAllResponses"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswerIds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnswerWithQuestionId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}},{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Response"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ResponseType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"respondent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnswerWithQuestionId"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FormWithAllResponses"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswerIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"responses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Response"}}]}}]}}]} as unknown as DocumentNode; -export const FormWithAnswersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"formWithAnswers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"formId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"form"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"formId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"formId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FormWithAnswers"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FormWithAnswers"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswer"}}]}}]}}]} as unknown as DocumentNode; -export const CreateListingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"createListing"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateListingInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createListing"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"listingData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"listing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateListingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateListing"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"BaseListingInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateListing"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"listingData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"listing"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteListingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"deleteListing"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteListing"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"listingId"}},{"kind":"Field","name":{"kind":"Name","value":"ok"}}]}}]}}]} as unknown as DocumentNode; -export const ListingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listing"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"listing"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingWithFormId"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Listing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"startDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"endDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"applicationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"chips"}},{"kind":"Field","name":{"kind":"Name","value":"readMoreUrl"}},{"kind":"Field","name":{"kind":"Name","value":"heroImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingOrganization"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingWithFormId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Listing"}},{"kind":"Field","name":{"kind":"Name","value":"form"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const ListingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"listings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Listing"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Listing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"startDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"endDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"applicationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"chips"}},{"kind":"Field","name":{"kind":"Name","value":"readMoreUrl"}},{"kind":"Field","name":{"kind":"Name","value":"heroImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingOrganization"}}]}}]}}]} as unknown as DocumentNode; -export const ListingWithFormDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listingWithForm"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"listing"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingWithForm"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Listing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"startDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"endDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"applicationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"chips"}},{"kind":"Field","name":{"kind":"Name","value":"readMoreUrl"}},{"kind":"Field","name":{"kind":"Name","value":"heroImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingOrganization"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Form"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingWithForm"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Listing"}},{"kind":"Field","name":{"kind":"Name","value":"form"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Form"}}]}}]}}]} as unknown as DocumentNode; -export const ListingWithResponsesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"listingWithResponses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"listing"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingWithResponses"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Listing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"startDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}},{"kind":"Field","name":{"kind":"Name","value":"endDatetime"}},{"kind":"Field","name":{"kind":"Name","value":"applicationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"chips"}},{"kind":"Field","name":{"kind":"Name","value":"readMoreUrl"}},{"kind":"Field","name":{"kind":"Name","value":"heroImageUrl"}},{"kind":"Field","name":{"kind":"Name","value":"organization"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingOrganization"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Option"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OptionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Question"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"question"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"questionType"}},{"kind":"Field","name":{"kind":"Name","value":"mandatory"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Option"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"QuestionWithAnswerIds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"QuestionType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Question"}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Answer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"answer"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AnswerWithQuestionId"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AnswerType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Answer"}},{"kind":"Field","name":{"kind":"Name","value":"question"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Response"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ResponseType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"respondent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"answers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AnswerWithQuestionId"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FormWithAllResponses"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FormType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"questions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"QuestionWithAnswerIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"responses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Response"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingWithResponses"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Listing"}},{"kind":"Field","name":{"kind":"Name","value":"form"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FormWithAllResponses"}}]}}]}}]} as unknown as DocumentNode; -export const UserOrganizationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"userOrganizations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organizations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ListingOrganization"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ListingOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const AdminOrganizationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"adminOrganization"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orgId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"organization"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orgId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AdminOrganization"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrgAdminEvent"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"EventType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"startTime"}},{"kind":"Field","name":{"kind":"Name","value":"shortDescription"}},{"kind":"Field","name":{"kind":"Name","value":"availableSlots"}},{"kind":"Field","name":{"kind":"Name","value":"isFull"}},{"kind":"Field","name":{"kind":"Name","value":"usersAttending"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrgAdminListing"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ListingType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"deadline"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AdminOrganization"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrganizationType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"hrGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}}]}},{"kind":"Field","name":{"kind":"Name","value":"primaryGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}}]}},{"kind":"Field","name":{"kind":"Name","value":"events"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrgAdminEvent"}}]}},{"kind":"Field","name":{"kind":"Name","value":"listings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrgAdminListing"}}]}}]}}]} as unknown as DocumentNode; -export const MembershipsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"memberships"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"memberships"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"organizationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"organizationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"group"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uuid"}}]}}]}}]}}]} as unknown as DocumentNode; -export const HasPermissionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"hasPermission"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"permission"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasPermission"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"permission"},"value":{"kind":"Variable","name":{"kind":"Name","value":"permission"}}}]}]}}]} as unknown as DocumentNode; -export const LogoutDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"logout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"idToken"}}]}}]}}]} as unknown as DocumentNode; -export const AuthUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"authUser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"code"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"authUser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"code"},"value":{"kind":"Variable","name":{"kind":"Name","value":"code"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"User"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"User"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"feideEmail"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"dateJoined"}},{"kind":"Field","name":{"kind":"Name","value":"graduationYear"}},{"kind":"Field","name":{"kind":"Name","value":"gradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"allergies"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"firstLogin"}}]}}]} as unknown as DocumentNode; -export const UpdateUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"updateUser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userData"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UserInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateUser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"userData"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userData"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"User"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"User"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"feideEmail"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"dateJoined"}},{"kind":"Field","name":{"kind":"Name","value":"graduationYear"}},{"kind":"Field","name":{"kind":"Name","value":"gradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"allergies"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"firstLogin"}}]}}]} as unknown as DocumentNode; -export const UserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"User"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"User"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"feideEmail"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"dateJoined"}},{"kind":"Field","name":{"kind":"Name","value":"graduationYear"}},{"kind":"Field","name":{"kind":"Name","value":"gradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"allergies"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"firstLogin"}}]}}]} as unknown as DocumentNode; -export const UserWithEventsAndOrgsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"userWithEventsAndOrgs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserWithEventsAndOrgs"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"User"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"feideEmail"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"dateJoined"}},{"kind":"Field","name":{"kind":"Name","value":"graduationYear"}},{"kind":"Field","name":{"kind":"Name","value":"gradeYear"}},{"kind":"Field","name":{"kind":"Name","value":"allergies"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"firstLogin"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserWithEventsAndOrgs"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"User"}},{"kind":"Field","name":{"kind":"Name","value":"events"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"organizations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const UserToEditDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"userToEdit"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserToEdit"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserToEdit"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserType"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"allergies"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"graduationYear"}},{"kind":"Field","name":{"kind":"Name","value":"firstLogin"}},{"kind":"Field","name":{"kind":"Name","value":"feideEmail"}},{"kind":"Field","name":{"kind":"Name","value":"canUpdateYear"}},{"kind":"Field","name":{"kind":"Name","value":"yearUpdatedAt"}}]}}]} as unknown as DocumentNode; -export const ServerTimeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"serverTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"serverTime"}}]}}]} as unknown as DocumentNode; \ No newline at end of file +export type UpdateUserMutation = { + __typename?: "Mutations"; + updateUser?: { + __typename?: "UpdateUser"; + user?: { + __typename?: "UserType"; + id: string; + feideEmail: string; + email: string; + username: string; + firstName: string; + lastName: string; + dateJoined: string; + graduationYear?: number | null; + gradeYear?: number | null; + allergies?: string | null; + phoneNumber: string; + firstLogin: boolean; + } | null; + } | null; +}; + +export type UserQueryVariables = Exact<{ [key: string]: never }>; + +export type UserQuery = { + __typename?: "Queries"; + user?: { + __typename?: "UserType"; + id: string; + feideEmail: string; + email: string; + username: string; + firstName: string; + lastName: string; + dateJoined: string; + graduationYear?: number | null; + gradeYear?: number | null; + allergies?: string | null; + phoneNumber: string; + firstLogin: boolean; + } | null; +}; + +export type UserWithEventsAndOrgsQueryVariables = Exact<{ [key: string]: never }>; + +export type UserWithEventsAndOrgsQuery = { + __typename?: "Queries"; + user?: { + __typename?: "UserType"; + id: string; + feideEmail: string; + email: string; + username: string; + firstName: string; + lastName: string; + dateJoined: string; + graduationYear?: number | null; + gradeYear?: number | null; + allergies?: string | null; + phoneNumber: string; + firstLogin: boolean; + events?: Array<{ __typename?: "EventType"; id: string }> | null; + organizations: Array<{ __typename?: "OrganizationType"; id: string; name: string }>; + } | null; +}; + +export type UserToEditQueryVariables = Exact<{ [key: string]: never }>; + +export type UserToEditQuery = { + __typename?: "Queries"; + user?: { + __typename?: "UserType"; + id: string; + username: string; + firstName: string; + lastName: string; + phoneNumber: string; + allergies?: string | null; + email: string; + graduationYear?: number | null; + firstLogin: boolean; + feideEmail: string; + canUpdateYear?: boolean | null; + yearUpdatedAt?: string | null; + } | null; +}; + +export type ServerTimeQueryVariables = Exact<{ [key: string]: never }>; + +export type ServerTimeQuery = { __typename?: "Queries"; serverTime?: string | null }; + +export const DocumentFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Document" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ArchiveDocumentType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "thumbnail" } }, + { kind: "Field", name: { kind: "Name", value: "typeDoc" } }, + { kind: "Field", name: { kind: "Name", value: "year" } }, + { kind: "Field", name: { kind: "Name", value: "webLink" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CabinFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Cabin" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CabinType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "maxGuests" } }, + { kind: "Field", name: { kind: "Name", value: "internalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "externalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "internalPriceWeekend" } }, + { kind: "Field", name: { kind: "Name", value: "externalPriceWeekend" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const BookingFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Booking" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AllBookingsType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "checkIn" } }, + { kind: "Field", name: { kind: "Name", value: "checkOut" } }, + { + kind: "Field", + name: { kind: "Name", value: "cabins" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdminBookingFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AdminBooking" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AdminBookingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "checkIn" } }, + { kind: "Field", name: { kind: "Name", value: "checkOut" } }, + { + kind: "Field", + name: { kind: "Name", value: "cabins" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "phone" } }, + { kind: "Field", name: { kind: "Name", value: "receiverEmail" } }, + { kind: "Field", name: { kind: "Name", value: "externalParticipants" } }, + { kind: "Field", name: { kind: "Name", value: "internalParticipants" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "isTentative" } }, + { kind: "Field", name: { kind: "Name", value: "isDeclined" } }, + { kind: "Field", name: { kind: "Name", value: "timestamp" } }, + { kind: "Field", name: { kind: "Name", value: "extraInfo" } }, + { kind: "Field", name: { kind: "Name", value: "declineReason" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const BookingResponsibleFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "BookingResponsible" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BookingResponsibleType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "active" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "phone" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const BookingSemesterFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "BookingSemester" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UpdateBookingSemesterType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "fallStartDate" } }, + { kind: "Field", name: { kind: "Name", value: "fallEndDate" } }, + { kind: "Field", name: { kind: "Name", value: "springStartDate" } }, + { kind: "Field", name: { kind: "Name", value: "springEndDate" } }, + { kind: "Field", name: { kind: "Name", value: "fallSemesterActive" } }, + { kind: "Field", name: { kind: "Name", value: "springSemesterActive" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Product" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ProductType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "maxBuyableQuantity" } }, + { kind: "Field", name: { kind: "Name", value: "shopItem" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const OrderFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Order" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrderType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "totalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "paymentStatus" } }, + { kind: "Field", name: { kind: "Name", value: "timestamp" } }, + { kind: "Field", name: { kind: "Name", value: "deliveredProduct" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Product" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Product" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ProductType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "maxBuyableQuantity" } }, + { kind: "Field", name: { kind: "Name", value: "shopItem" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventFieldsFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "EventFields" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "allowedGradeYears" } }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { kind: "Field", name: { kind: "Name", value: "isAttendable" } }, + { kind: "Field", name: { kind: "Name", value: "signupOpenDate" } }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventDetailFieldsFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "EventDetailFields" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "endTime" } }, + { kind: "Field", name: { kind: "Name", value: "location" } }, + { kind: "Field", name: { kind: "Name", value: "contactEmail" } }, + { kind: "Field", name: { kind: "Name", value: "allowedGradeYears" } }, + { kind: "Field", name: { kind: "Name", value: "hasExtraInformation" } }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { kind: "Field", name: { kind: "Name", value: "signupOpenDate" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "isAttendable" } }, + { kind: "Field", name: { kind: "Name", value: "bindingSignup" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + { kind: "Field", name: { kind: "Name", value: "positionOnWaitingList" } }, + { kind: "Field", name: { kind: "Name", value: "hasBoughtTicket" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SignUpWithTicketFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "SignUpWithTicket" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SignUpType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "userEmail" } }, + { kind: "Field", name: { kind: "Name", value: "userGradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "userAllergies" } }, + { kind: "Field", name: { kind: "Name", value: "userPhoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "extraInformation" } }, + { kind: "Field", name: { kind: "Name", value: "hasBoughtTicket" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SignUpFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "SignUp" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SignUpType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "userEmail" } }, + { kind: "Field", name: { kind: "Name", value: "userGradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "userAllergies" } }, + { kind: "Field", name: { kind: "Name", value: "userPhoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "extraInformation" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdminEventFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AdminEvent" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "endTime" } }, + { kind: "Field", name: { kind: "Name", value: "location" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "isAttendable" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { + kind: "Field", + name: { kind: "Name", value: "publisher" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "dateJoined" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "availableSlots" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "signupOpenDate" } }, + { + kind: "Field", + name: { kind: "Name", value: "usersAttending" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SignUpWithTicket" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "usersOnWaitingList" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SignUp" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { kind: "Field", name: { kind: "Name", value: "hasExtraInformation" } }, + { kind: "Field", name: { kind: "Name", value: "bindingSignup" } }, + { kind: "Field", name: { kind: "Name", value: "contactEmail" } }, + { kind: "Field", name: { kind: "Name", value: "allowedGradeYears" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "SignUpWithTicket" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SignUpType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "userEmail" } }, + { kind: "Field", name: { kind: "Name", value: "userGradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "userAllergies" } }, + { kind: "Field", name: { kind: "Name", value: "userPhoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "extraInformation" } }, + { kind: "Field", name: { kind: "Name", value: "hasBoughtTicket" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "SignUp" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SignUpType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "userEmail" } }, + { kind: "Field", name: { kind: "Name", value: "userGradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "userAllergies" } }, + { kind: "Field", name: { kind: "Name", value: "userPhoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "extraInformation" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const OptionFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const QuestionFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AnswerFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const QuestionWithAnswerFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answer" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FormWithAnswersFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "FormWithAnswers" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswer" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answer" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ListingOrganizationFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ListingFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Listing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "startDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "endDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "applicationUrl" } }, + { kind: "Field", name: { kind: "Name", value: "chips" } }, + { kind: "Field", name: { kind: "Name", value: "readMoreUrl" } }, + { kind: "Field", name: { kind: "Name", value: "heroImageUrl" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingOrganization" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ListingWithFormIdFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingWithFormId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Listing" } }, + { + kind: "Field", + name: { kind: "Name", value: "form" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Listing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "startDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "endDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "applicationUrl" } }, + { kind: "Field", name: { kind: "Name", value: "chips" } }, + { kind: "Field", name: { kind: "Name", value: "readMoreUrl" } }, + { kind: "Field", name: { kind: "Name", value: "heroImageUrl" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingOrganization" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FormFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Form" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ListingWithFormFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingWithForm" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Listing" } }, + { + kind: "Field", + name: { kind: "Name", value: "form" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Form" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Listing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "startDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "endDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "applicationUrl" } }, + { kind: "Field", name: { kind: "Name", value: "chips" } }, + { kind: "Field", name: { kind: "Name", value: "readMoreUrl" } }, + { kind: "Field", name: { kind: "Name", value: "heroImageUrl" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingOrganization" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Form" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const QuestionWithAnswerIdsFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswerIds" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AnswerWithQuestionIdFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AnswerWithQuestionId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }, + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ResponseFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Response" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ResponseType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "respondent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AnswerWithQuestionId" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AnswerWithQuestionId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }, + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FormWithAllResponsesFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "FormWithAllResponses" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswerIds" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "responses" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Response" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AnswerWithQuestionId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }, + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswerIds" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Response" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ResponseType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "respondent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AnswerWithQuestionId" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ListingWithResponsesFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingWithResponses" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Listing" } }, + { + kind: "Field", + name: { kind: "Name", value: "form" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FormWithAllResponses" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswerIds" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AnswerWithQuestionId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }, + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Response" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ResponseType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "respondent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AnswerWithQuestionId" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Listing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "startDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "endDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "applicationUrl" } }, + { kind: "Field", name: { kind: "Name", value: "chips" } }, + { kind: "Field", name: { kind: "Name", value: "readMoreUrl" } }, + { kind: "Field", name: { kind: "Name", value: "heroImageUrl" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingOrganization" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "FormWithAllResponses" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswerIds" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "responses" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Response" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const OrgAdminEventFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "OrgAdminEvent" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "availableSlots" } }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { + kind: "Field", + name: { kind: "Name", value: "usersAttending" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const OrgAdminListingFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "OrgAdminListing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdminOrganizationFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AdminOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "hrGroup" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "uuid" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "primaryGroup" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "uuid" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "events" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OrgAdminEvent" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "listings" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OrgAdminListing" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "OrgAdminEvent" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "availableSlots" } }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { + kind: "Field", + name: { kind: "Name", value: "usersAttending" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "OrgAdminListing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const MembershipFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Membership" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "MembershipType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "group" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "uuid" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UserFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "User" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "feideEmail" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "dateJoined" } }, + { kind: "Field", name: { kind: "Name", value: "graduationYear" } }, + { kind: "Field", name: { kind: "Name", value: "gradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "allergies" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "firstLogin" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UserWithEventsAndOrgsFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "UserWithEventsAndOrgs" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "User" } }, + { + kind: "Field", + name: { kind: "Name", value: "events" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "organizations" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "User" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "feideEmail" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "dateJoined" } }, + { kind: "Field", name: { kind: "Name", value: "graduationYear" } }, + { kind: "Field", name: { kind: "Name", value: "gradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "allergies" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "firstLogin" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UserToEditFragmentDoc = { + kind: "Document", + definitions: [ + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "UserToEdit" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "allergies" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "graduationYear" } }, + { kind: "Field", name: { kind: "Name", value: "firstLogin" } }, + { kind: "Field", name: { kind: "Name", value: "feideEmail" } }, + { kind: "Field", name: { kind: "Name", value: "canUpdateYear" } }, + { kind: "Field", name: { kind: "Name", value: "yearUpdatedAt" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ArchiveByTypesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "archiveByTypes" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "documentTypes" } }, + type: { + kind: "NonNullType", + type: { kind: "ListType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "year" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "names" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "archiveByTypes" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "typeDoc" }, + value: { kind: "Variable", name: { kind: "Name", value: "documentTypes" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "year" }, + value: { kind: "Variable", name: { kind: "Name", value: "year" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "names" }, + value: { kind: "Variable", name: { kind: "Name", value: "names" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Document" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Document" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ArchiveDocumentType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "thumbnail" } }, + { kind: "Field", name: { kind: "Name", value: "typeDoc" } }, + { kind: "Field", name: { kind: "Name", value: "year" } }, + { kind: "Field", name: { kind: "Name", value: "webLink" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FeaturedArchiveDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "featuredArchive" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "featuredArchive" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Document" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Document" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ArchiveDocumentType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "thumbnail" } }, + { kind: "Field", name: { kind: "Name", value: "typeDoc" } }, + { kind: "Field", name: { kind: "Name", value: "year" } }, + { kind: "Field", name: { kind: "Name", value: "webLink" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AvailableYearsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "availableYears" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "availableYears" } }], + }, + }, + ], +} as unknown as DocumentNode; +export const DocumentsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "documents" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "documentTypes" } }, + type: { + kind: "NonNullType", + type: { + kind: "ListType", + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "year" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "names" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "archiveByTypes" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "typeDoc" }, + value: { kind: "Variable", name: { kind: "Name", value: "documentTypes" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "year" }, + value: { kind: "Variable", name: { kind: "Name", value: "year" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "names" }, + value: { kind: "Variable", name: { kind: "Name", value: "names" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Document" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "featuredArchive" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Document" } }], + }, + }, + { kind: "Field", name: { kind: "Name", value: "availableYears" } }, + { + kind: "Field", + name: { kind: "Name", value: "hasPermission" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "permission" }, + value: { kind: "StringValue", value: "archive.view_archivedocument", block: false }, + }, + ], + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Document" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ArchiveDocumentType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "thumbnail" } }, + { kind: "Field", name: { kind: "Name", value: "typeDoc" } }, + { kind: "Field", name: { kind: "Name", value: "year" } }, + { kind: "Field", name: { kind: "Name", value: "webLink" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateBookingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "createBooking" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "bookingData" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BookingInput" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "createBooking" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "bookingData" }, + value: { kind: "Variable", name: { kind: "Name", value: "bookingData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "ok" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ConfirmBookingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "confirmBooking" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "updateBooking" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "bookingData" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "isTentative" }, + value: { kind: "BooleanValue", value: false }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "ok" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeclineBookingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "declineBooking" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "declineReason" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "updateBooking" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "bookingData" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "isTentative" }, + value: { kind: "BooleanValue", value: false }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "isDeclined" }, + value: { kind: "BooleanValue", value: true }, + }, + { + kind: "ObjectField", + name: { kind: "Name", value: "declineReason" }, + value: { kind: "Variable", name: { kind: "Name", value: "declineReason" } }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "ok" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SendEmailDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "sendEmail" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "emailInput" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "EmailInput" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "sendEmail" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "emailInput" }, + value: { kind: "Variable", name: { kind: "Name", value: "emailInput" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "ok" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateCabinDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateCabin" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "cabinData" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "UpdateCabinInput" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "updateCabin" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "cabinData" }, + value: { kind: "Variable", name: { kind: "Name", value: "cabinData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "cabin" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Cabin" } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Cabin" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CabinType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "maxGuests" } }, + { kind: "Field", name: { kind: "Name", value: "internalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "externalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "internalPriceWeekend" } }, + { kind: "Field", name: { kind: "Name", value: "externalPriceWeekend" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateBookingSemesterDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateBookingSemester" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "semesterData" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "UpdateBookingSemesterInput" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "updateBookingSemester" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "semesterData" }, + value: { kind: "Variable", name: { kind: "Name", value: "semesterData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "bookingSemester" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "BookingSemester" } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "BookingSemester" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UpdateBookingSemesterType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "fallStartDate" } }, + { kind: "Field", name: { kind: "Name", value: "fallEndDate" } }, + { kind: "Field", name: { kind: "Name", value: "springStartDate" } }, + { kind: "Field", name: { kind: "Name", value: "springEndDate" } }, + { kind: "Field", name: { kind: "Name", value: "fallSemesterActive" } }, + { kind: "Field", name: { kind: "Name", value: "springSemesterActive" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CabinsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "cabins" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "cabins" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Cabin" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Cabin" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CabinType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "maxGuests" } }, + { kind: "Field", name: { kind: "Name", value: "internalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "externalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "internalPriceWeekend" } }, + { kind: "Field", name: { kind: "Name", value: "externalPriceWeekend" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AllBookingsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "allBookings" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "allBookings" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Booking" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Booking" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AllBookingsType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "checkIn" } }, + { kind: "Field", name: { kind: "Name", value: "checkOut" } }, + { + kind: "Field", + name: { kind: "Name", value: "cabins" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdminAllBookingsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "adminAllBookings" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "after" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "adminAllBookings" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "after" }, + value: { kind: "Variable", name: { kind: "Name", value: "after" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AdminBooking" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AdminBooking" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AdminBookingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "checkIn" } }, + { kind: "Field", name: { kind: "Name", value: "checkOut" } }, + { + kind: "Field", + name: { kind: "Name", value: "cabins" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "phone" } }, + { kind: "Field", name: { kind: "Name", value: "receiverEmail" } }, + { kind: "Field", name: { kind: "Name", value: "externalParticipants" } }, + { kind: "Field", name: { kind: "Name", value: "internalParticipants" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "isTentative" } }, + { kind: "Field", name: { kind: "Name", value: "isDeclined" } }, + { kind: "Field", name: { kind: "Name", value: "timestamp" } }, + { kind: "Field", name: { kind: "Name", value: "extraInfo" } }, + { kind: "Field", name: { kind: "Name", value: "declineReason" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ActiveBookingResponsibleDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "activeBookingResponsible" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "activeBookingResponsible" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "BookingResponsible" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "BookingResponsible" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BookingResponsibleType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "active" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "phone" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CabinsAndResponsiblesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "cabinsAndResponsibles" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "cabins" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Cabin" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "activeBookingResponsible" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Cabin" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CabinType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "maxGuests" } }, + { kind: "Field", name: { kind: "Name", value: "internalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "externalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "internalPriceWeekend" } }, + { kind: "Field", name: { kind: "Name", value: "externalPriceWeekend" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const BookingSemesterDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "bookingSemester" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "bookingSemester" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "BookingSemester" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "BookingSemester" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UpdateBookingSemesterType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "fallStartDate" } }, + { kind: "Field", name: { kind: "Name", value: "fallEndDate" } }, + { kind: "Field", name: { kind: "Name", value: "springStartDate" } }, + { kind: "Field", name: { kind: "Name", value: "springEndDate" } }, + { kind: "Field", name: { kind: "Name", value: "fallSemesterActive" } }, + { kind: "Field", name: { kind: "Name", value: "springSemesterActive" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const InitiateOrderDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "initiateOrder" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "productId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "quantity" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "fallbackRedirect" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "initiateOrder" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "productId" }, + value: { kind: "Variable", name: { kind: "Name", value: "productId" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "quantity" }, + value: { kind: "Variable", name: { kind: "Name", value: "quantity" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "fallbackRedirect" }, + value: { kind: "Variable", name: { kind: "Name", value: "fallbackRedirect" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "redirect" } }, + { kind: "Field", name: { kind: "Name", value: "orderId" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AttemptCapturePaymentDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "attemptCapturePayment" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "orderId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "attemptCapturePayment" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orderId" }, + value: { kind: "Variable", name: { kind: "Name", value: "orderId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "status" } }, + { + kind: "Field", + name: { kind: "Name", value: "order" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Order" } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Product" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ProductType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "maxBuyableQuantity" } }, + { kind: "Field", name: { kind: "Name", value: "shopItem" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Order" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrderType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "totalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "paymentStatus" } }, + { kind: "Field", name: { kind: "Name", value: "timestamp" } }, + { kind: "Field", name: { kind: "Name", value: "deliveredProduct" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Product" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeliveredProductDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "deliveredProduct" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "orderId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "deliveredProduct" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orderId" }, + value: { kind: "Variable", name: { kind: "Name", value: "orderId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "order" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Order" } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Product" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ProductType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "maxBuyableQuantity" } }, + { kind: "Field", name: { kind: "Name", value: "shopItem" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Order" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrderType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "totalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "paymentStatus" } }, + { kind: "Field", name: { kind: "Name", value: "timestamp" } }, + { kind: "Field", name: { kind: "Name", value: "deliveredProduct" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Product" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "product" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "productId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "product" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "productId" }, + value: { kind: "Variable", name: { kind: "Name", value: "productId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Product" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Product" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ProductType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "maxBuyableQuantity" } }, + { kind: "Field", name: { kind: "Name", value: "shopItem" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "products" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "products" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "maxBuyableQuantity" } }, + { kind: "Field", name: { kind: "Name", value: "shopItem" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UserOrdersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "userOrders" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "userOrders" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Order" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Product" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ProductType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "maxBuyableQuantity" } }, + { kind: "Field", name: { kind: "Name", value: "shopItem" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Order" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrderType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "totalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "paymentStatus" } }, + { kind: "Field", name: { kind: "Name", value: "timestamp" } }, + { kind: "Field", name: { kind: "Name", value: "deliveredProduct" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Product" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AllUserOrdersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "allUserOrders" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "allUserOrders" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Order" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Product" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ProductType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "maxBuyableQuantity" } }, + { kind: "Field", name: { kind: "Name", value: "shopItem" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Order" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrderType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "totalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "paymentStatus" } }, + { kind: "Field", name: { kind: "Name", value: "timestamp" } }, + { kind: "Field", name: { kind: "Name", value: "deliveredProduct" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Product" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AllShopOrdersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "allShopOrders" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "allShopOrders" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Order" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Product" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ProductType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "maxBuyableQuantity" } }, + { kind: "Field", name: { kind: "Name", value: "shopItem" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Order" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrderType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "quantity" } }, + { kind: "Field", name: { kind: "Name", value: "totalPrice" } }, + { kind: "Field", name: { kind: "Name", value: "paymentStatus" } }, + { kind: "Field", name: { kind: "Name", value: "timestamp" } }, + { kind: "Field", name: { kind: "Name", value: "deliveredProduct" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Product" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateEventDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "createEvent" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "eventData" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateEventInput" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "createEvent" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "eventData" }, + value: { kind: "Variable", name: { kind: "Name", value: "eventData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "event" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "EventFields" } }], + }, + }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "EventFields" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "allowedGradeYears" } }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { kind: "Field", name: { kind: "Name", value: "isAttendable" } }, + { kind: "Field", name: { kind: "Name", value: "signupOpenDate" } }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateEventDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateEvent" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "eventData" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "UpdateEventInput" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "updateEvent" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "eventData" }, + value: { kind: "Variable", name: { kind: "Name", value: "eventData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "event" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "EventDetailFields" } }], + }, + }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "EventDetailFields" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "endTime" } }, + { kind: "Field", name: { kind: "Name", value: "location" } }, + { kind: "Field", name: { kind: "Name", value: "contactEmail" } }, + { kind: "Field", name: { kind: "Name", value: "allowedGradeYears" } }, + { kind: "Field", name: { kind: "Name", value: "hasExtraInformation" } }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { kind: "Field", name: { kind: "Name", value: "signupOpenDate" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "isAttendable" } }, + { kind: "Field", name: { kind: "Name", value: "bindingSignup" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + { kind: "Field", name: { kind: "Name", value: "positionOnWaitingList" } }, + { kind: "Field", name: { kind: "Name", value: "hasBoughtTicket" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventSignUpDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "eventSignUp" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "extraInformation" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "eventSignUp" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "eventId" }, + value: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "data" }, + value: { + kind: "ObjectValue", + fields: [ + { + kind: "ObjectField", + name: { kind: "Name", value: "extraInformation" }, + value: { kind: "Variable", name: { kind: "Name", value: "extraInformation" } }, + }, + ], + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { + kind: "Field", + name: { kind: "Name", value: "event" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + { kind: "Field", name: { kind: "Name", value: "positionOnWaitingList" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventSignOffDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "eventSignOff" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "eventSignOff" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "eventId" }, + value: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { + kind: "Field", + name: { kind: "Name", value: "event" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + { kind: "Field", name: { kind: "Name", value: "positionOnWaitingList" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdminEventSignOffDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "adminEventSignOff" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "userId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "adminEventSignOff" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "eventId" }, + value: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "userId" }, + value: { kind: "Variable", name: { kind: "Name", value: "userId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "event" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SendEventMailsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "sendEventMails" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "receiverEmails" } }, + type: { + kind: "ListType", + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "content" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "subject" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "sendEventMails" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "eventId" }, + value: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "receiverEmails" }, + value: { kind: "Variable", name: { kind: "Name", value: "receiverEmails" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "content" }, + value: { kind: "Variable", name: { kind: "Name", value: "content" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "subject" }, + value: { kind: "Variable", name: { kind: "Name", value: "subject" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "ok" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "events" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "organization" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "category" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "startTime" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "DateTime" } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "endTime" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "DateTime" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "allEvents" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "organization" }, + value: { kind: "Variable", name: { kind: "Name", value: "organization" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "category" }, + value: { kind: "Variable", name: { kind: "Name", value: "category" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "startTime" }, + value: { kind: "Variable", name: { kind: "Name", value: "startTime" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "endTime" }, + value: { kind: "Variable", name: { kind: "Name", value: "endTime" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "EventFields" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "defaultEvents" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "EventFields" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "gradeYear" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "hasPermission" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "permission" }, + value: { kind: "StringValue", value: "events.add_event", block: false }, + }, + ], + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "EventFields" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "allowedGradeYears" } }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { kind: "Field", name: { kind: "Name", value: "isAttendable" } }, + { kind: "Field", name: { kind: "Name", value: "signupOpenDate" } }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventDetailsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "eventDetails" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "event" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "EventDetailFields" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "organizations" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "EventDetailFields" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "endTime" } }, + { kind: "Field", name: { kind: "Name", value: "location" } }, + { kind: "Field", name: { kind: "Name", value: "contactEmail" } }, + { kind: "Field", name: { kind: "Name", value: "allowedGradeYears" } }, + { kind: "Field", name: { kind: "Name", value: "hasExtraInformation" } }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { kind: "Field", name: { kind: "Name", value: "signupOpenDate" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "isAttendable" } }, + { kind: "Field", name: { kind: "Name", value: "bindingSignup" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + { kind: "Field", name: { kind: "Name", value: "positionOnWaitingList" } }, + { kind: "Field", name: { kind: "Name", value: "hasBoughtTicket" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AllCategoriesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "allCategories" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "allCategories" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventFilteredOrganizationsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "eventFilteredOrganizations" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "eventFilteredOrganizations" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { + kind: "Field", + name: { kind: "Name", value: "children" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdminEventDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "adminEvent" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "event" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AdminEvent" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "SignUpWithTicket" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SignUpType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "userEmail" } }, + { kind: "Field", name: { kind: "Name", value: "userGradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "userAllergies" } }, + { kind: "Field", name: { kind: "Name", value: "userPhoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "extraInformation" } }, + { kind: "Field", name: { kind: "Name", value: "hasBoughtTicket" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "SignUp" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SignUpType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "userEmail" } }, + { kind: "Field", name: { kind: "Name", value: "userGradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "userAllergies" } }, + { kind: "Field", name: { kind: "Name", value: "userPhoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "extraInformation" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AdminEvent" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "endTime" } }, + { kind: "Field", name: { kind: "Name", value: "location" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "category" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "image" } }, + { kind: "Field", name: { kind: "Name", value: "isAttendable" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { + kind: "Field", + name: { kind: "Name", value: "publisher" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "dateJoined" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "availableSlots" } }, + { kind: "Field", name: { kind: "Name", value: "price" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "signupOpenDate" } }, + { + kind: "Field", + name: { kind: "Name", value: "usersAttending" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SignUpWithTicket" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "usersOnWaitingList" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "SignUp" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "userAttendance" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isSignedUp" } }, + { kind: "Field", name: { kind: "Name", value: "isOnWaitingList" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { kind: "Field", name: { kind: "Name", value: "hasExtraInformation" } }, + { kind: "Field", name: { kind: "Name", value: "bindingSignup" } }, + { kind: "Field", name: { kind: "Name", value: "contactEmail" } }, + { kind: "Field", name: { kind: "Name", value: "allowedGradeYears" } }, + { + kind: "Field", + name: { kind: "Name", value: "product" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventSignUpsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "eventSignUps" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "event" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "isAttendable" } }, + { + kind: "Field", + name: { kind: "Name", value: "usersAttending" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "userEmail" } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AttendeeReportDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "attendeeReport" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "fields" } }, + type: { + kind: "ListType", + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "filetype" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "attendeeReport" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "eventId" }, + value: { kind: "Variable", name: { kind: "Name", value: "eventId" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "fields" }, + value: { kind: "Variable", name: { kind: "Name", value: "fields" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "filetype" }, + value: { kind: "Variable", name: { kind: "Name", value: "filetype" } }, + }, + ], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AttendeeReportOrgDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "attendeeReportOrg" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "orgId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "fields" } }, + type: { + kind: "ListType", + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "filetype" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "attendeeReportOrg" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "orgId" }, + value: { kind: "Variable", name: { kind: "Name", value: "orgId" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "fields" }, + value: { kind: "Variable", name: { kind: "Name", value: "fields" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "filetype" }, + value: { kind: "Variable", name: { kind: "Name", value: "filetype" } }, + }, + ], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AttendeeReportsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "attendeeReports" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "eventIds" } }, + type: { + kind: "NonNullType", + type: { + kind: "ListType", + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "fields" } }, + type: { + kind: "ListType", + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "filetype" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "attendeeReports" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "eventIds" }, + value: { kind: "Variable", name: { kind: "Name", value: "eventIds" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "fields" }, + value: { kind: "Variable", name: { kind: "Name", value: "fields" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "filetype" }, + value: { kind: "Variable", name: { kind: "Name", value: "filetype" } }, + }, + ], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const EventUserOrganizationsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "eventUserOrganizations" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "organizations" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateFormDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "createForm" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "formData" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateFormInput" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "listingId" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "ID" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "createForm" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "formData" }, + value: { kind: "Variable", name: { kind: "Name", value: "formData" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "listingId" }, + value: { kind: "Variable", name: { kind: "Name", value: "listingId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "form" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FormWithAllResponses" } }], + }, + }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswerIds" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AnswerWithQuestionId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }, + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Response" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ResponseType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "respondent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AnswerWithQuestionId" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "FormWithAllResponses" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswerIds" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "responses" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Response" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateFormDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateForm" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "formData" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BaseFormInput" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "updateForm" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "formData" }, + value: { kind: "Variable", name: { kind: "Name", value: "formData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "form" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FormWithAllResponses" } }], + }, + }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswerIds" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AnswerWithQuestionId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }, + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Response" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ResponseType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "respondent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AnswerWithQuestionId" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "FormWithAllResponses" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswerIds" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "responses" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Response" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateQuestionDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "createQuestion" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "formId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "questionData" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "CreateQuestionInput" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "createQuestion" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "formId" }, + value: { kind: "Variable", name: { kind: "Name", value: "formId" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "questionData" }, + value: { kind: "Variable", name: { kind: "Name", value: "questionData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswerIds" } }], + }, + }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswerIds" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateQuestionDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateQuestion" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "questionData" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "BaseQuestionInput" } }, + }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "optionData" } }, + type: { + kind: "ListType", + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "OptionInput" } } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "createUpdateAndDeleteOptions" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "questionId" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "optionData" }, + value: { kind: "Variable", name: { kind: "Name", value: "optionData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "ok" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "updateQuestion" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "questionData" }, + value: { kind: "Variable", name: { kind: "Name", value: "questionData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswerIds" } }], + }, + }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswerIds" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteQuestionDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "deleteQuestion" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "deleteQuestion" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "deletedId" } }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SubmitAnswersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "submitAnswers" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "formId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "answersData" } }, + type: { + kind: "ListType", + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "AnswerInput" } } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "submitAnswers" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "formId" }, + value: { kind: "Variable", name: { kind: "Name", value: "formId" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "answersData" }, + value: { kind: "Variable", name: { kind: "Name", value: "answersData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "ok" } }, + { kind: "Field", name: { kind: "Name", value: "message" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FormWithAllResponsesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "formWithAllResponses" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "formId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "form" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "formId" }, + value: { kind: "Variable", name: { kind: "Name", value: "formId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FormWithAllResponses" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswerIds" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AnswerWithQuestionId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }, + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Response" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ResponseType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "respondent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AnswerWithQuestionId" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "FormWithAllResponses" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswerIds" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "responses" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Response" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FormWithAnswersDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "formWithAnswers" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "formId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "form" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "formId" }, + value: { kind: "Variable", name: { kind: "Name", value: "formId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FormWithAnswers" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answer" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "FormWithAnswers" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswer" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateListingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "createListing" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "input" } }, + type: { + kind: "NonNullType", + type: { kind: "NamedType", name: { kind: "Name", value: "CreateListingInput" } }, + }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "createListing" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "listingData" }, + value: { kind: "Variable", name: { kind: "Name", value: "input" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "listing" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateListingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateListing" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "input" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "BaseListingInput" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "updateListing" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + { + kind: "Argument", + name: { kind: "Name", value: "listingData" }, + value: { kind: "Variable", name: { kind: "Name", value: "input" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "listing" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + ], + }, + }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteListingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "deleteListing" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "deleteListing" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "listingId" } }, + { kind: "Field", name: { kind: "Name", value: "ok" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ListingDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "listing" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "listing" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingWithFormId" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Listing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "startDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "endDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "applicationUrl" } }, + { kind: "Field", name: { kind: "Name", value: "chips" } }, + { kind: "Field", name: { kind: "Name", value: "readMoreUrl" } }, + { kind: "Field", name: { kind: "Name", value: "heroImageUrl" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingOrganization" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingWithFormId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Listing" } }, + { + kind: "Field", + name: { kind: "Name", value: "form" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ListingsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "listings" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "listings" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Listing" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Listing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "startDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "endDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "applicationUrl" } }, + { kind: "Field", name: { kind: "Name", value: "chips" } }, + { kind: "Field", name: { kind: "Name", value: "readMoreUrl" } }, + { kind: "Field", name: { kind: "Name", value: "heroImageUrl" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingOrganization" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ListingWithFormDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "listingWithForm" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "listing" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingWithForm" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Listing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "startDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "endDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "applicationUrl" } }, + { kind: "Field", name: { kind: "Name", value: "chips" } }, + { kind: "Field", name: { kind: "Name", value: "readMoreUrl" } }, + { kind: "Field", name: { kind: "Name", value: "heroImageUrl" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingOrganization" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Form" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingWithForm" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Listing" } }, + { + kind: "Field", + name: { kind: "Name", value: "form" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Form" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ListingWithResponsesDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "listingWithResponses" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "id" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "listing" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "id" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingWithResponses" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Listing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "startDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + { kind: "Field", name: { kind: "Name", value: "endDatetime" } }, + { kind: "Field", name: { kind: "Name", value: "applicationUrl" } }, + { kind: "Field", name: { kind: "Name", value: "chips" } }, + { kind: "Field", name: { kind: "Name", value: "readMoreUrl" } }, + { kind: "Field", name: { kind: "Name", value: "heroImageUrl" } }, + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingOrganization" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Option" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OptionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Question" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "question" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + { kind: "Field", name: { kind: "Name", value: "questionType" } }, + { kind: "Field", name: { kind: "Name", value: "mandatory" } }, + { + kind: "Field", + name: { kind: "Name", value: "options" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Option" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "QuestionWithAnswerIds" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "QuestionType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Question" } }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Answer" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "answer" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AnswerWithQuestionId" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AnswerType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Answer" } }, + { + kind: "Field", + name: { kind: "Name", value: "question" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "Response" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ResponseType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "respondent" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "answers" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AnswerWithQuestionId" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "FormWithAllResponses" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "FormType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "questions" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "QuestionWithAnswerIds" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "responses" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "Response" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingWithResponses" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "Listing" } }, + { + kind: "Field", + name: { kind: "Name", value: "form" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "FormWithAllResponses" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UserOrganizationsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "userOrganizations" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "organizations" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "ListingOrganization" } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "ListingOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { kind: "Field", name: { kind: "Name", value: "slug" } }, + { kind: "Field", name: { kind: "Name", value: "logoUrl" } }, + { kind: "Field", name: { kind: "Name", value: "color" } }, + { kind: "Field", name: { kind: "Name", value: "description" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdminOrganizationDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "adminOrganization" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "orgId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "organization" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "id" }, + value: { kind: "Variable", name: { kind: "Name", value: "orgId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AdminOrganization" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "OrgAdminEvent" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "startTime" } }, + { kind: "Field", name: { kind: "Name", value: "shortDescription" } }, + { kind: "Field", name: { kind: "Name", value: "availableSlots" } }, + { kind: "Field", name: { kind: "Name", value: "isFull" } }, + { + kind: "Field", + name: { kind: "Name", value: "usersAttending" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "OrgAdminListing" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ListingType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "title" } }, + { kind: "Field", name: { kind: "Name", value: "deadline" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "AdminOrganization" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + { + kind: "Field", + name: { kind: "Name", value: "hrGroup" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "uuid" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "primaryGroup" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "uuid" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "events" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OrgAdminEvent" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "listings" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OrgAdminListing" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const MembershipsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "memberships" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "organizationId" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "memberships" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "organizationId" }, + value: { kind: "Variable", name: { kind: "Name", value: "organizationId" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + ], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "group" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "uuid" } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const HasPermissionDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "hasPermission" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "permission" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "hasPermission" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "permission" }, + value: { kind: "Variable", name: { kind: "Name", value: "permission" } }, + }, + ], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const LogoutDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "logout" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "logout" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "idToken" } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AuthUserDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "authUser" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "code" } }, + type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "authUser" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "code" }, + value: { kind: "Variable", name: { kind: "Name", value: "code" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "User" } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "User" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "feideEmail" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "dateJoined" } }, + { kind: "Field", name: { kind: "Name", value: "graduationYear" } }, + { kind: "Field", name: { kind: "Name", value: "gradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "allergies" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "firstLogin" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateUserDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "mutation", + name: { kind: "Name", value: "updateUser" }, + variableDefinitions: [ + { + kind: "VariableDefinition", + variable: { kind: "Variable", name: { kind: "Name", value: "userData" } }, + type: { kind: "NamedType", name: { kind: "Name", value: "UserInput" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "updateUser" }, + arguments: [ + { + kind: "Argument", + name: { kind: "Name", value: "userData" }, + value: { kind: "Variable", name: { kind: "Name", value: "userData" } }, + }, + ], + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "User" } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "User" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "feideEmail" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "dateJoined" } }, + { kind: "Field", name: { kind: "Name", value: "graduationYear" } }, + { kind: "Field", name: { kind: "Name", value: "gradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "allergies" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "firstLogin" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UserDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "User" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "User" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "feideEmail" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "dateJoined" } }, + { kind: "Field", name: { kind: "Name", value: "graduationYear" } }, + { kind: "Field", name: { kind: "Name", value: "gradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "allergies" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "firstLogin" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UserWithEventsAndOrgsDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "userWithEventsAndOrgs" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "UserWithEventsAndOrgs" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "User" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "feideEmail" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "dateJoined" } }, + { kind: "Field", name: { kind: "Name", value: "graduationYear" } }, + { kind: "Field", name: { kind: "Name", value: "gradeYear" } }, + { kind: "Field", name: { kind: "Name", value: "allergies" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "firstLogin" } }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "UserWithEventsAndOrgs" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "FragmentSpread", name: { kind: "Name", value: "User" } }, + { + kind: "Field", + name: { kind: "Name", value: "events" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }], + }, + }, + { + kind: "Field", + name: { kind: "Name", value: "organizations" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "name" } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UserToEditDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "userToEdit" }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { + kind: "Field", + name: { kind: "Name", value: "user" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "UserToEdit" } }], + }, + }, + ], + }, + }, + { + kind: "FragmentDefinition", + name: { kind: "Name", value: "UserToEdit" }, + typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserType" } }, + selectionSet: { + kind: "SelectionSet", + selections: [ + { kind: "Field", name: { kind: "Name", value: "id" } }, + { kind: "Field", name: { kind: "Name", value: "username" } }, + { kind: "Field", name: { kind: "Name", value: "firstName" } }, + { kind: "Field", name: { kind: "Name", value: "lastName" } }, + { kind: "Field", name: { kind: "Name", value: "phoneNumber" } }, + { kind: "Field", name: { kind: "Name", value: "allergies" } }, + { kind: "Field", name: { kind: "Name", value: "email" } }, + { kind: "Field", name: { kind: "Name", value: "graduationYear" } }, + { kind: "Field", name: { kind: "Name", value: "firstLogin" } }, + { kind: "Field", name: { kind: "Name", value: "feideEmail" } }, + { kind: "Field", name: { kind: "Name", value: "canUpdateYear" } }, + { kind: "Field", name: { kind: "Name", value: "yearUpdatedAt" } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ServerTimeDocument = { + kind: "Document", + definitions: [ + { + kind: "OperationDefinition", + operation: "query", + name: { kind: "Name", value: "serverTime" }, + selectionSet: { + kind: "SelectionSet", + selections: [{ kind: "Field", name: { kind: "Name", value: "serverTime" } }], + }, + }, + ], +} as unknown as DocumentNode; diff --git a/frontend/src/gql/index.ts b/frontend/src/gql/index.ts index af7839936..8c65c5891 100644 --- a/frontend/src/gql/index.ts +++ b/frontend/src/gql/index.ts @@ -1 +1 @@ -export * from "./gql"; \ No newline at end of file +export * from "./gql";