import * as Apollo from '@apollo/client'; export declare type Maybe = T | null; export declare type InputMaybe = Maybe; export declare type Exact = { [K in keyof T]: T[K]; }; export declare type MakeOptional = Omit & { [SubKey in K]?: Maybe; }; export declare type MakeMaybe = Omit & { [SubKey in K]: Maybe; }; /** All built-in and custom scalars, mapped to their actual values */ export declare type Scalars = { ID: string; String: string; Boolean: boolean; Int: number; Float: number; DateTime: any; PaginationAmount: any; /** A string that is trimmed. */ TrimmedString: any; /** The `Upload` scalar type represents a file upload. */ Upload: any; }; export declare enum AuthType { Google = "Google", Local = "Local", Mattermost = "Mattermost", Microsoft = "Microsoft", Monday = "Monday", Slack = "Slack" } export declare type Channel = { __typename?: 'Channel'; id: Scalars['ID']; members?: Maybe>; messages?: Maybe>; name: Scalars['String']; private: Scalars['Boolean']; roles?: Maybe>; screenShareToken?: Maybe; slug: Scalars['String']; space: Space; token?: Maybe; topic?: Maybe; unreadCount: Scalars['Int']; }; export declare type ChannelMembersArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type ChannelMessagesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type ChannelRolesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare enum ChannelOrderByInput { CreatedAtAsc = "createdAt_ASC", CreatedAtDesc = "createdAt_DESC", UpdatedAtAsc = "updatedAt_ASC", UpdatedAtDesc = "updatedAt_DESC" } export declare type ChannelPreviousValues = { __typename?: 'ChannelPreviousValues'; id: Scalars['ID']; name: Scalars['String']; slug: Scalars['String']; topic?: Maybe; }; export declare type ChannelSubscriptionPayload = { __typename?: 'ChannelSubscriptionPayload'; mutation: MutationType; node?: Maybe; previousValues?: Maybe; updatedFields?: Maybe>; }; export declare type ChannelWhereInput = { id?: InputMaybe; }; export declare enum FeatureLevel { Basic = "Basic", Enterprise = "Enterprise", Pro = "Pro" } export declare type Message = { __typename?: 'Message'; channel: Channel; createdAt: Scalars['DateTime']; id: Scalars['ID']; selfRead: Scalars['Boolean']; text: Scalars['String']; updatedAt: Scalars['DateTime']; user: User; }; export declare type MessageConnection = { __typename?: 'MessageConnection'; edges: Array; pageInfo: PageInfo; }; export declare type MessageEdge = { __typename?: 'MessageEdge'; cursor: Scalars['String']; node: Message; }; export declare enum MessageOrderByInput { CreatedAtAsc = "createdAt_ASC", CreatedAtDesc = "createdAt_DESC", UpdatedAtAsc = "updatedAt_ASC", UpdatedAtDesc = "updatedAt_DESC" } export declare type MessagePreviousValues = { __typename?: 'MessagePreviousValues'; createdAt: Scalars['DateTime']; id: Scalars['ID']; text: Scalars['String']; updatedAt: Scalars['DateTime']; }; export declare type MessageSubscriptionPayload = { __typename?: 'MessageSubscriptionPayload'; mutation: MutationType; node?: Maybe; previousValues?: Maybe; updatedFields?: Maybe>; }; export declare type MessageWhereInput = { id?: InputMaybe; }; export declare type Mutation = { __typename?: 'Mutation'; addUsersToChannel?: Maybe; assignRoleToUser: Role; authenticate: User; confirmUser: User; createChannel: Channel; createMessage: Message; createRole: Role; createSpace: Space; deleteChannel: Channel; deleteSpace: Space; invite?: Maybe; joinChannel: Channel; joinChannelByCode: Channel; leaveChannel: Channel; leaveSpace: Space; requestPasswordReset: Scalars['Int']; resendConfirmationMail: Scalars['Int']; resetPassword?: Maybe; setMessageRead: Message; signin: User; signup: User; subscribeToNotifications: User; updateChannel: Channel; updatePassword: User; updateRole: Role; updateSpace: Space; updateUser: User; }; export declare type MutationAddUsersToChannelArgs = { channelSlug: Scalars['TrimmedString']; spaceSlug: Scalars['TrimmedString']; userId: Scalars['ID']; users: Array; }; export declare type MutationAssignRoleToUserArgs = { assignUserId: Scalars['ID']; roleId: Scalars['ID']; userId: Scalars['ID']; }; export declare type MutationAuthenticateArgs = { code: Scalars['TrimmedString']; siteUrl?: InputMaybe; teamId?: InputMaybe; type: AuthType; }; export declare type MutationConfirmUserArgs = { activationCode: Scalars['TrimmedString']; }; export declare type MutationCreateChannelArgs = { isPrivate?: InputMaybe; name: Scalars['TrimmedString']; spaceSlug: Scalars['TrimmedString']; topic?: InputMaybe; userId: Scalars['ID']; users?: InputMaybe>; }; export declare type MutationCreateMessageArgs = { channelId: Scalars['ID']; text: Scalars['TrimmedString']; userId: Scalars['ID']; }; export declare type MutationCreateRoleArgs = { description?: InputMaybe; name: Scalars['TrimmedString']; permissions: Array; referenceId?: InputMaybe; type?: InputMaybe; }; export declare type MutationCreateSpaceArgs = { image?: InputMaybe; name: Scalars['TrimmedString']; userId: Scalars['ID']; }; export declare type MutationDeleteChannelArgs = { channelId: Scalars['ID']; userId: Scalars['ID']; }; export declare type MutationDeleteSpaceArgs = { spaceId: Scalars['ID']; userId: Scalars['ID']; }; export declare type MutationInviteArgs = { channelId?: InputMaybe; emails: Array; spaceId?: InputMaybe; }; export declare type MutationJoinChannelArgs = { channelId: Scalars['ID']; userId: Scalars['ID']; }; export declare type MutationJoinChannelByCodeArgs = { inviteCode: Scalars['TrimmedString']; userId: Scalars['ID']; }; export declare type MutationLeaveChannelArgs = { channelId: Scalars['ID']; leavingUserId: Scalars['ID']; userId: Scalars['ID']; }; export declare type MutationLeaveSpaceArgs = { leavingUserId: Scalars['ID']; spaceId: Scalars['ID']; userId: Scalars['ID']; }; export declare type MutationRequestPasswordResetArgs = { email: Scalars['TrimmedString']; }; export declare type MutationResendConfirmationMailArgs = { email: Scalars['TrimmedString']; }; export declare type MutationResetPasswordArgs = { newPassword: Scalars['String']; resetPasswordCode: Scalars['TrimmedString']; }; export declare type MutationSetMessageReadArgs = { messageId: Scalars['ID']; userId: Scalars['ID']; }; export declare type MutationSigninArgs = { email: Scalars['TrimmedString']; password: Scalars['String']; }; export declare type MutationSignupArgs = { email: Scalars['TrimmedString']; firstName: Scalars['TrimmedString']; inviteCode?: InputMaybe; lastName: Scalars['TrimmedString']; password: Scalars['String']; }; export declare type MutationSubscribeToNotificationsArgs = { token: Scalars['String']; unsubscribe?: InputMaybe; userId: Scalars['ID']; }; export declare type MutationUpdateChannelArgs = { channelId: Scalars['ID']; name?: InputMaybe; topic?: InputMaybe; userId: Scalars['ID']; }; export declare type MutationUpdatePasswordArgs = { newPassword: Scalars['String']; password: Scalars['String']; userId: Scalars['ID']; }; export declare type MutationUpdateRoleArgs = { description?: InputMaybe; name: Scalars['TrimmedString']; permissions: Array; roleId: Scalars['ID']; type?: InputMaybe; }; export declare type MutationUpdateSpaceArgs = { description?: InputMaybe; image?: InputMaybe; name?: InputMaybe; spaceId: Scalars['ID']; userId: Scalars['ID']; }; export declare type MutationUpdateUserArgs = { displayName?: InputMaybe; email?: InputMaybe; firstName?: InputMaybe; image?: InputMaybe; lastName?: InputMaybe; userId: Scalars['ID']; }; export declare enum MutationType { Created = "CREATED", Deleted = "DELETED", Updated = "UPDATED" } export declare type PageInfo = { __typename?: 'PageInfo'; endCursor?: Maybe; hasNextPage: Scalars['Boolean']; hasPreviousPage: Scalars['Boolean']; startCursor?: Maybe; }; export declare type PaymentSubscription = { __typename?: 'PaymentSubscription'; cancelAtPeriodEnd?: Maybe; currentPeriodEnd: Scalars['DateTime']; currentPeriodStart: Scalars['DateTime']; customer: Space; id: Scalars['ID']; price: Price; status: Scalars['String']; stripeId: Scalars['String']; subscriptionItemId: Scalars['String']; }; export declare type PaymentSubscriptionWhereInput = { AND?: InputMaybe>; NOT?: InputMaybe>; OR?: InputMaybe>; cancelAtPeriodEnd?: InputMaybe; cancelAtPeriodEnd_not?: InputMaybe; currentPeriodEnd?: InputMaybe; currentPeriodEnd_gt?: InputMaybe; currentPeriodEnd_gte?: InputMaybe; currentPeriodEnd_in?: InputMaybe>; currentPeriodEnd_lt?: InputMaybe; currentPeriodEnd_lte?: InputMaybe; currentPeriodEnd_not?: InputMaybe; currentPeriodEnd_not_in?: InputMaybe>; currentPeriodStart?: InputMaybe; currentPeriodStart_gt?: InputMaybe; currentPeriodStart_gte?: InputMaybe; currentPeriodStart_in?: InputMaybe>; currentPeriodStart_lt?: InputMaybe; currentPeriodStart_lte?: InputMaybe; currentPeriodStart_not?: InputMaybe; currentPeriodStart_not_in?: InputMaybe>; customer?: InputMaybe; id?: InputMaybe; id_contains?: InputMaybe; id_ends_with?: InputMaybe; id_gt?: InputMaybe; id_gte?: InputMaybe; id_in?: InputMaybe>; id_lt?: InputMaybe; id_lte?: InputMaybe; id_not?: InputMaybe; id_not_contains?: InputMaybe; id_not_ends_with?: InputMaybe; id_not_in?: InputMaybe>; id_not_starts_with?: InputMaybe; id_starts_with?: InputMaybe; price?: InputMaybe; status?: InputMaybe; status_contains?: InputMaybe; status_ends_with?: InputMaybe; status_gt?: InputMaybe; status_gte?: InputMaybe; status_in?: InputMaybe>; status_lt?: InputMaybe; status_lte?: InputMaybe; status_not?: InputMaybe; status_not_contains?: InputMaybe; status_not_ends_with?: InputMaybe; status_not_in?: InputMaybe>; status_not_starts_with?: InputMaybe; status_starts_with?: InputMaybe; stripeId?: InputMaybe; stripeId_contains?: InputMaybe; stripeId_ends_with?: InputMaybe; stripeId_gt?: InputMaybe; stripeId_gte?: InputMaybe; stripeId_in?: InputMaybe>; stripeId_lt?: InputMaybe; stripeId_lte?: InputMaybe; stripeId_not?: InputMaybe; stripeId_not_contains?: InputMaybe; stripeId_not_ends_with?: InputMaybe; stripeId_not_in?: InputMaybe>; stripeId_not_starts_with?: InputMaybe; stripeId_starts_with?: InputMaybe; subscriptionItemId?: InputMaybe; subscriptionItemId_contains?: InputMaybe; subscriptionItemId_ends_with?: InputMaybe; subscriptionItemId_gt?: InputMaybe; subscriptionItemId_gte?: InputMaybe; subscriptionItemId_in?: InputMaybe>; subscriptionItemId_lt?: InputMaybe; subscriptionItemId_lte?: InputMaybe; subscriptionItemId_not?: InputMaybe; subscriptionItemId_not_contains?: InputMaybe; subscriptionItemId_not_ends_with?: InputMaybe; subscriptionItemId_not_in?: InputMaybe>; subscriptionItemId_not_starts_with?: InputMaybe; subscriptionItemId_starts_with?: InputMaybe; }; export declare type Permission = { __typename?: 'Permission'; id: Scalars['ID']; name: Scalars['String']; }; export declare enum PermissionOrderByInput { CreatedAtAsc = "createdAt_ASC", CreatedAtDesc = "createdAt_DESC", UpdatedAtAsc = "updatedAt_ASC", UpdatedAtDesc = "updatedAt_DESC" } export declare type PermissionWhereInput = { id?: InputMaybe; }; export declare type Price = { __typename?: 'Price'; active: Scalars['Boolean']; billingScheme: Scalars['String']; currency: Scalars['String']; id: Scalars['ID']; interval?: Maybe; product: Product; stripeId: Scalars['String']; type: Scalars['String']; unitAmount: Scalars['Int']; }; export declare enum PriceOrderByInput { ActiveAsc = "active_ASC", ActiveDesc = "active_DESC", BillingSchemeAsc = "billingScheme_ASC", BillingSchemeDesc = "billingScheme_DESC", CreatedAtAsc = "createdAt_ASC", CreatedAtDesc = "createdAt_DESC", CurrencyAsc = "currency_ASC", CurrencyDesc = "currency_DESC", IdAsc = "id_ASC", IdDesc = "id_DESC", IntervalAsc = "interval_ASC", IntervalDesc = "interval_DESC", StripeIdAsc = "stripeId_ASC", StripeIdDesc = "stripeId_DESC", TypeAsc = "type_ASC", TypeDesc = "type_DESC", UnitAmountAsc = "unitAmount_ASC", UnitAmountDesc = "unitAmount_DESC", UpdatedAtAsc = "updatedAt_ASC", UpdatedAtDesc = "updatedAt_DESC" } export declare type PriceWhereInput = { AND?: InputMaybe>; NOT?: InputMaybe>; OR?: InputMaybe>; active?: InputMaybe; active_not?: InputMaybe; billingScheme?: InputMaybe; billingScheme_contains?: InputMaybe; billingScheme_ends_with?: InputMaybe; billingScheme_gt?: InputMaybe; billingScheme_gte?: InputMaybe; billingScheme_in?: InputMaybe>; billingScheme_lt?: InputMaybe; billingScheme_lte?: InputMaybe; billingScheme_not?: InputMaybe; billingScheme_not_contains?: InputMaybe; billingScheme_not_ends_with?: InputMaybe; billingScheme_not_in?: InputMaybe>; billingScheme_not_starts_with?: InputMaybe; billingScheme_starts_with?: InputMaybe; currency?: InputMaybe; currency_contains?: InputMaybe; currency_ends_with?: InputMaybe; currency_gt?: InputMaybe; currency_gte?: InputMaybe; currency_in?: InputMaybe>; currency_lt?: InputMaybe; currency_lte?: InputMaybe; currency_not?: InputMaybe; currency_not_contains?: InputMaybe; currency_not_ends_with?: InputMaybe; currency_not_in?: InputMaybe>; currency_not_starts_with?: InputMaybe; currency_starts_with?: InputMaybe; id?: InputMaybe; id_contains?: InputMaybe; id_ends_with?: InputMaybe; id_gt?: InputMaybe; id_gte?: InputMaybe; id_in?: InputMaybe>; id_lt?: InputMaybe; id_lte?: InputMaybe; id_not?: InputMaybe; id_not_contains?: InputMaybe; id_not_ends_with?: InputMaybe; id_not_in?: InputMaybe>; id_not_starts_with?: InputMaybe; id_starts_with?: InputMaybe; interval?: InputMaybe; interval_contains?: InputMaybe; interval_ends_with?: InputMaybe; interval_gt?: InputMaybe; interval_gte?: InputMaybe; interval_in?: InputMaybe>; interval_lt?: InputMaybe; interval_lte?: InputMaybe; interval_not?: InputMaybe; interval_not_contains?: InputMaybe; interval_not_ends_with?: InputMaybe; interval_not_in?: InputMaybe>; interval_not_starts_with?: InputMaybe; interval_starts_with?: InputMaybe; product?: InputMaybe; stripeId?: InputMaybe; stripeId_contains?: InputMaybe; stripeId_ends_with?: InputMaybe; stripeId_gt?: InputMaybe; stripeId_gte?: InputMaybe; stripeId_in?: InputMaybe>; stripeId_lt?: InputMaybe; stripeId_lte?: InputMaybe; stripeId_not?: InputMaybe; stripeId_not_contains?: InputMaybe; stripeId_not_ends_with?: InputMaybe; stripeId_not_in?: InputMaybe>; stripeId_not_starts_with?: InputMaybe; stripeId_starts_with?: InputMaybe; subscriptions_every?: InputMaybe; subscriptions_none?: InputMaybe; subscriptions_some?: InputMaybe; type?: InputMaybe; type_contains?: InputMaybe; type_ends_with?: InputMaybe; type_gt?: InputMaybe; type_gte?: InputMaybe; type_in?: InputMaybe>; type_lt?: InputMaybe; type_lte?: InputMaybe; type_not?: InputMaybe; type_not_contains?: InputMaybe; type_not_ends_with?: InputMaybe; type_not_in?: InputMaybe>; type_not_starts_with?: InputMaybe; type_starts_with?: InputMaybe; unitAmount?: InputMaybe; unitAmount_gt?: InputMaybe; unitAmount_gte?: InputMaybe; unitAmount_in?: InputMaybe>; unitAmount_lt?: InputMaybe; unitAmount_lte?: InputMaybe; unitAmount_not?: InputMaybe; unitAmount_not_in?: InputMaybe>; }; export declare type Product = { __typename?: 'Product'; active: Scalars['Boolean']; description?: Maybe; id: Scalars['ID']; image?: Maybe; name: Scalars['String']; prices?: Maybe>; stripeId: Scalars['String']; }; export declare type ProductPricesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type ProductWhereInput = { AND?: InputMaybe>; NOT?: InputMaybe>; OR?: InputMaybe>; active?: InputMaybe; active_not?: InputMaybe; createdAt?: InputMaybe; createdAt_gt?: InputMaybe; createdAt_gte?: InputMaybe; createdAt_in?: InputMaybe>; createdAt_lt?: InputMaybe; createdAt_lte?: InputMaybe; createdAt_not?: InputMaybe; createdAt_not_in?: InputMaybe>; description?: InputMaybe; description_contains?: InputMaybe; description_ends_with?: InputMaybe; description_gt?: InputMaybe; description_gte?: InputMaybe; description_in?: InputMaybe>; description_lt?: InputMaybe; description_lte?: InputMaybe; description_not?: InputMaybe; description_not_contains?: InputMaybe; description_not_ends_with?: InputMaybe; description_not_in?: InputMaybe>; description_not_starts_with?: InputMaybe; description_starts_with?: InputMaybe; featureLevel?: InputMaybe; featureLevel_in?: InputMaybe>; featureLevel_not?: InputMaybe; featureLevel_not_in?: InputMaybe>; id?: InputMaybe; id_contains?: InputMaybe; id_ends_with?: InputMaybe; id_gt?: InputMaybe; id_gte?: InputMaybe; id_in?: InputMaybe>; id_lt?: InputMaybe; id_lte?: InputMaybe; id_not?: InputMaybe; id_not_contains?: InputMaybe; id_not_ends_with?: InputMaybe; id_not_in?: InputMaybe>; id_not_starts_with?: InputMaybe; id_starts_with?: InputMaybe; image?: InputMaybe; image_contains?: InputMaybe; image_ends_with?: InputMaybe; image_gt?: InputMaybe; image_gte?: InputMaybe; image_in?: InputMaybe>; image_lt?: InputMaybe; image_lte?: InputMaybe; image_not?: InputMaybe; image_not_contains?: InputMaybe; image_not_ends_with?: InputMaybe; image_not_in?: InputMaybe>; image_not_starts_with?: InputMaybe; image_starts_with?: InputMaybe; name?: InputMaybe; name_contains?: InputMaybe; name_ends_with?: InputMaybe; name_gt?: InputMaybe; name_gte?: InputMaybe; name_in?: InputMaybe>; name_lt?: InputMaybe; name_lte?: InputMaybe; name_not?: InputMaybe; name_not_contains?: InputMaybe; name_not_ends_with?: InputMaybe; name_not_in?: InputMaybe>; name_not_starts_with?: InputMaybe; name_starts_with?: InputMaybe; prices_every?: InputMaybe; prices_none?: InputMaybe; prices_some?: InputMaybe; stripeId?: InputMaybe; stripeId_contains?: InputMaybe; stripeId_ends_with?: InputMaybe; stripeId_gt?: InputMaybe; stripeId_gte?: InputMaybe; stripeId_in?: InputMaybe>; stripeId_lt?: InputMaybe; stripeId_lte?: InputMaybe; stripeId_not?: InputMaybe; stripeId_not_contains?: InputMaybe; stripeId_not_ends_with?: InputMaybe; stripeId_not_in?: InputMaybe>; stripeId_not_starts_with?: InputMaybe; stripeId_starts_with?: InputMaybe; stripeUpdatedAt?: InputMaybe; stripeUpdatedAt_gt?: InputMaybe; stripeUpdatedAt_gte?: InputMaybe; stripeUpdatedAt_in?: InputMaybe>; stripeUpdatedAt_lt?: InputMaybe; stripeUpdatedAt_lte?: InputMaybe; stripeUpdatedAt_not?: InputMaybe; stripeUpdatedAt_not_in?: InputMaybe>; updatedAt?: InputMaybe; updatedAt_gt?: InputMaybe; updatedAt_gte?: InputMaybe; updatedAt_in?: InputMaybe>; updatedAt_lt?: InputMaybe; updatedAt_lte?: InputMaybe; updatedAt_not?: InputMaybe; updatedAt_not_in?: InputMaybe>; }; export declare type Query = { __typename?: 'Query'; channel: Channel; channelById: Channel; channels: Array; messagesConnection: MessageConnection; permissions: Array; product: Product; products: Array; roles: Array; space: Space; spaceLookup: SpaceLookupInfo; spaces: Array; stripeBillingPortalSession: StripeBillingPortalSession; stripeCheckoutSession: StripeCheckoutSession; user: User; userCode?: Maybe; userLookup: UserLookupInfo; usersConnection?: Maybe; }; export declare type QueryChannelArgs = { channelSlug: Scalars['TrimmedString']; spaceSlug: Scalars['TrimmedString']; userId: Scalars['ID']; }; export declare type QueryChannelByIdArgs = { channelId: Scalars['ID']; userId: Scalars['ID']; }; export declare type QueryChannelsArgs = { spaceSlug: Scalars['TrimmedString']; userId?: InputMaybe; }; export declare type QueryMessagesConnectionArgs = { after?: InputMaybe; before?: InputMaybe; channelSlug: Scalars['TrimmedString']; first?: InputMaybe; last?: InputMaybe; spaceSlug: Scalars['TrimmedString']; userId: Scalars['ID']; }; export declare type QueryProductArgs = { productId: Scalars['ID']; }; export declare type QueryProductsArgs = { isActive?: InputMaybe; }; export declare type QueryRolesArgs = { referenceId?: InputMaybe; roleMember?: InputMaybe; type?: InputMaybe; }; export declare type QuerySpaceArgs = { spaceSlug: Scalars['TrimmedString']; userId?: InputMaybe; }; export declare type QuerySpaceLookupArgs = { spaceName: Scalars['TrimmedString']; }; export declare type QueryStripeBillingPortalSessionArgs = { spaceId: Scalars['ID']; userId: Scalars['ID']; }; export declare type QueryStripeCheckoutSessionArgs = { priceId: Scalars['TrimmedString']; spaceId: Scalars['ID']; userId: Scalars['ID']; }; export declare type QueryUserArgs = { userId: Scalars['ID']; }; export declare type QueryUserCodeArgs = { activationCode: Scalars['TrimmedString']; }; export declare type QueryUserLookupArgs = { email: Scalars['TrimmedString']; }; export declare type QueryUsersConnectionArgs = { after?: InputMaybe; channelSlug?: InputMaybe; excludeChannelSlug?: InputMaybe; first?: InputMaybe; searchName?: InputMaybe; spaceSlug: Scalars['TrimmedString']; userId: Scalars['ID']; }; export declare type Role = { __typename?: 'Role'; channelReference?: Maybe; description?: Maybe; id: Scalars['ID']; name: Scalars['String']; permissions?: Maybe>; spaceReference?: Maybe; type?: Maybe; users?: Maybe>; }; export declare type RolePermissionsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type RoleUsersArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare enum RoleOrderByInput { CreatedAtAsc = "createdAt_ASC", CreatedAtDesc = "createdAt_DESC", UpdatedAtAsc = "updatedAt_ASC", UpdatedAtDesc = "updatedAt_DESC" } export declare enum RoleType { Channel = "Channel", Space = "Space" } export declare type RoleWhereInput = { id?: InputMaybe; }; export declare type SearchPayload = { __typename?: 'SearchPayload'; channels: Array; spaces: Array; }; export declare type Space = { __typename?: 'Space'; activeSlug: SpaceSlug; channels?: Maybe>; description?: Maybe; externalId?: Maybe; featureLevel: FeatureLevel; id: Scalars['ID']; image?: Maybe; isMember: Scalars['Boolean']; isStripeCustomer: Scalars['Boolean']; members?: Maybe>; name: Scalars['String']; roles?: Maybe>; slugs?: Maybe>; stripeSubscription?: Maybe; token: Scalars['String']; unreadCount: Scalars['Int']; users: Array; }; export declare type SpaceChannelsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type SpaceMembersArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type SpaceRolesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type SpaceSlugsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type SpaceLookupInfo = { __typename?: 'SpaceLookupInfo'; exists: Scalars['Boolean']; }; export declare enum SpaceOrderByInput { CreatedAtAsc = "createdAt_ASC", CreatedAtDesc = "createdAt_DESC", UpdatedAtAsc = "updatedAt_ASC", UpdatedAtDesc = "updatedAt_DESC" } export declare type SpacePreviousValues = { __typename?: 'SpacePreviousValues'; activeSlug: SpaceSlug; description?: Maybe; id: Scalars['ID']; image?: Maybe; isMember: Scalars['Boolean']; name: Scalars['String']; }; export declare type SpaceSlug = { __typename?: 'SpaceSlug'; active: Scalars['Boolean']; id: Scalars['ID']; slug: Scalars['String']; space: Space; }; export declare enum SpaceSlugOrderByInput { CreatedAtAsc = "createdAt_ASC", CreatedAtDesc = "createdAt_DESC", UpdatedAtAsc = "updatedAt_ASC", UpdatedAtDesc = "updatedAt_DESC" } export declare type SpaceSlugWhereInput = { id?: InputMaybe; }; export declare type SpaceSubscriptionPayload = { __typename?: 'SpaceSubscriptionPayload'; mutation: MutationType; node?: Maybe; previousValues?: Maybe; updatedFields?: Maybe>; }; export declare type SpaceWhereInput = { id?: InputMaybe; }; export declare type StripeBillingPortalSession = { __typename?: 'StripeBillingPortalSession'; portalUrl: Scalars['String']; }; export declare type StripeCheckoutSession = { __typename?: 'StripeCheckoutSession'; sessionId: Scalars['String']; }; export declare type Subscription = { __typename?: 'Subscription'; channel: ChannelSubscriptionPayload; message: MessageSubscriptionPayload; space: SpaceSubscriptionPayload; user: UserSubscriptionPayload; users: UserSubscriptionPayload; }; export declare type SubscriptionChannelArgs = { spaceSlug: Scalars['TrimmedString']; }; export declare type SubscriptionMessageArgs = { channelSlug: Scalars['TrimmedString']; spaceSlug: Scalars['TrimmedString']; userId: Scalars['ID']; }; export declare type SubscriptionUserArgs = { userId: Scalars['ID']; }; export declare type SubscriptionUsersArgs = { channelSlug?: InputMaybe; excludeChannelSlug?: InputMaybe; searchName?: InputMaybe; spaceSlug: Scalars['TrimmedString']; userId: Scalars['ID']; }; export declare type User = { __typename?: 'User'; activeVoiceChannel?: Maybe; channels?: Maybe>; displayName: Scalars['String']; email: Scalars['String']; emailConfirmed: Scalars['Boolean']; firstName: Scalars['String']; id: Scalars['ID']; image?: Maybe; lastName: Scalars['String']; roles?: Maybe>; spaces?: Maybe>; token?: Maybe; }; export declare type UserChannelsArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type UserRolesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type UserSpacesArgs = { after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; orderBy?: InputMaybe; skip?: InputMaybe; where?: InputMaybe; }; export declare type UserCode = { __typename?: 'UserCode'; code: Scalars['String']; id: Scalars['ID']; user: User; }; export declare type UserConnection = { __typename?: 'UserConnection'; edges: Array; pageInfo: PageInfo; }; export declare type UserEdge = { __typename?: 'UserEdge'; cursor: Scalars['String']; node: User; }; export declare type UserLookupInfo = { __typename?: 'UserLookupInfo'; exists: Scalars['Boolean']; }; export declare enum UserOrderByInput { CreatedAtAsc = "createdAt_ASC", CreatedAtDesc = "createdAt_DESC", UpdatedAtAsc = "updatedAt_ASC", UpdatedAtDesc = "updatedAt_DESC" } export declare type UserPreviousValues = { __typename?: 'UserPreviousValues'; displayName: Scalars['String']; emailConfirmed: Scalars['Boolean']; firstName: Scalars['String']; id: Scalars['ID']; image?: Maybe; lastName: Scalars['String']; }; export declare type UserSubscriptionPayload = { __typename?: 'UserSubscriptionPayload'; mutation: MutationType; node?: Maybe; previousValues?: Maybe; updatedFields?: Maybe>; }; export declare type UserWhereInput = { id?: InputMaybe; }; export declare type NotificationMutationMutationVariables = Exact<{ userId: Scalars['ID']; token: Scalars['String']; unsubscribe?: InputMaybe; }>; export declare type NotificationMutationMutation = { __typename?: 'Mutation'; subscribeToNotifications: { __typename?: 'User'; id: string; }; }; export declare const NotificationMutationDocument: Apollo.DocumentNode; export declare type NotificationMutationMutationFn = Apollo.MutationFunction; /** * __useNotificationMutationMutation__ * * To run a mutation, you first call `useNotificationMutationMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useNotificationMutationMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [notificationMutationMutation, { data, loading, error }] = useNotificationMutationMutation({ * variables: { * userId: // value for 'userId' * token: // value for 'token' * unsubscribe: // value for 'unsubscribe' * }, * }); */ export declare function useNotificationMutationMutation(baseOptions?: Apollo.MutationHookOptions): Apollo.MutationTuple, Apollo.DefaultContext, Apollo.ApolloCache>; export declare type NotificationMutationMutationHookResult = ReturnType; export declare type NotificationMutationMutationResult = Apollo.MutationResult; export declare type NotificationMutationMutationOptions = Apollo.BaseMutationOptions;