diff --git a/frontend/codegen.ts b/frontend/codegen.ts index b8372119..cfa27da3 100644 --- a/frontend/codegen.ts +++ b/frontend/codegen.ts @@ -14,6 +14,13 @@ import { CodegenConfig } from "@graphql-codegen/cli"; +// Adds a comment to the top of generated files to ignore linting and formatting +const lintIgnore = { + add: { + content: "/* prettier-ignore */\n/* eslint-disable */", + }, +} as const; + const config: CodegenConfig = { schema: "./schema.graphql", documents: ["src/**/*.{tsx,ts}", "!src/gql/**/*"], @@ -29,14 +36,12 @@ const config: CodegenConfig = { Url: "string", }, }, + plugins: [lintIgnore], }, "./src/gql/schema.ts": { - plugins: ["urql-introspection"], + plugins: ["urql-introspection", lintIgnore], }, }, - hooks: { - afterOneFileWrite: ["prettier --write"], - }, }; export default config; diff --git a/frontend/package-lock.json b/frontend/package-lock.json index f4a78632..abbb1158 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -36,6 +36,7 @@ "@browser-logos/chrome": "^2.0.0", "@browser-logos/firefox": "^3.0.10", "@browser-logos/safari": "^2.1.0", + "@graphql-codegen/add": "^5.0.2", "@graphql-codegen/cli": "^5.0.2", "@graphql-codegen/client-preset": "^4.2.5", "@graphql-codegen/urql-introspection": "^3.0.0", diff --git a/frontend/package.json b/frontend/package.json index 63ae2bff..7a7c5512 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -44,6 +44,7 @@ "@browser-logos/chrome": "^2.0.0", "@browser-logos/firefox": "^3.0.10", "@browser-logos/safari": "^2.1.0", + "@graphql-codegen/add": "^5.0.2", "@graphql-codegen/cli": "^5.0.2", "@graphql-codegen/client-preset": "^4.2.5", "@graphql-codegen/urql-introspection": "^3.0.0", diff --git a/frontend/src/gql/fragment-masking.ts b/frontend/src/gql/fragment-masking.ts index 4066026c..fbedede1 100644 --- a/frontend/src/gql/fragment-masking.ts +++ b/frontend/src/gql/fragment-masking.ts @@ -1,87 +1,67 @@ /* eslint-disable */ -import { - ResultOf, - DocumentTypeDecoration, - TypedDocumentNode, -} from "@graphql-typed-document-node/core"; -import { FragmentDefinitionNode } from "graphql"; -import { Incremental } from "./graphql"; +import { ResultOf, DocumentTypeDecoration, TypedDocumentNode } from '@graphql-typed-document-node/core'; +import { FragmentDefinitionNode } from 'graphql'; +import { Incremental } from './graphql'; -export type FragmentType< - TDocumentType extends DocumentTypeDecoration, -> = - TDocumentType extends DocumentTypeDecoration - ? [TType] extends [{ " $fragmentName"?: infer TKey }] - ? TKey extends string - ? { " $fragmentRefs"?: { [key in TKey]: TType } } - : never + +export type FragmentType> = TDocumentType extends DocumentTypeDecoration< + infer TType, + any +> + ? [TType] extends [{ ' $fragmentName'?: infer TKey }] + ? TKey extends string + ? { ' $fragmentRefs'?: { [key in TKey]: TType } } : never - : never; + : never + : never; // return non-nullable if `fragmentType` is non-nullable export function useFragment( _documentNode: DocumentTypeDecoration, - fragmentType: FragmentType>, + fragmentType: FragmentType> ): TType; // return nullable if `fragmentType` is nullable export function useFragment( _documentNode: DocumentTypeDecoration, - fragmentType: - | FragmentType> - | null - | undefined, + fragmentType: FragmentType> | null | undefined ): TType | null | undefined; // return array of non-nullable if `fragmentType` is array of non-nullable export function useFragment( _documentNode: DocumentTypeDecoration, - fragmentType: ReadonlyArray>>, + fragmentType: ReadonlyArray>> ): ReadonlyArray; // return array of nullable if `fragmentType` is array of nullable export function useFragment( _documentNode: DocumentTypeDecoration, - fragmentType: - | ReadonlyArray>> - | null - | undefined, + fragmentType: ReadonlyArray>> | null | undefined ): ReadonlyArray | null | undefined; export function useFragment( _documentNode: DocumentTypeDecoration, - fragmentType: - | FragmentType> - | ReadonlyArray>> - | null - | undefined, + fragmentType: FragmentType> | ReadonlyArray>> | null | undefined ): TType | ReadonlyArray | null | undefined { return fragmentType as any; } + export function makeFragmentData< F extends DocumentTypeDecoration, - FT extends ResultOf, + FT extends ResultOf >(data: FT, _fragment: F): FragmentType { return data as FragmentType; } export function isFragmentReady( queryNode: DocumentTypeDecoration, fragmentNode: TypedDocumentNode, - data: - | FragmentType, any>> - | null - | undefined, + data: FragmentType, any>> | null | undefined ): data is FragmentType { - const deferredFields = ( - queryNode as { - __meta__?: { deferredFields: Record }; - } - ).__meta__?.deferredFields; + const deferredFields = (queryNode as { __meta__?: { deferredFields: Record } }).__meta__ + ?.deferredFields; if (!deferredFields) return true; - const fragDef = fragmentNode.definitions[0] as - | FragmentDefinitionNode - | undefined; + const fragDef = fragmentNode.definitions[0] as FragmentDefinitionNode | undefined; const fragName = fragDef?.name?.value; const fields = (fragName && deferredFields[fragName]) || []; - return fields.length > 0 && fields.every((field) => data && field in data); + return fields.length > 0 && fields.every(field => data && field in data); } diff --git a/frontend/src/gql/gql.ts b/frontend/src/gql/gql.ts index 7bb66f7b..1ffec824 100644 --- a/frontend/src/gql/gql.ts +++ b/frontend/src/gql/gql.ts @@ -1,6 +1,6 @@ /* eslint-disable */ -import * as types from "./graphql"; -import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; +import * as types from './graphql'; +import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; /** * Map of all GraphQL operations in the project. @@ -13,74 +13,40 @@ import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/ * Therefore it is highly recommended to use the babel or swc plugin for production. */ const documents = { - "\n fragment BrowserSession_session on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n raw\n name\n os\n model\n deviceType\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n }\n": - types.BrowserSession_SessionFragmentDoc, - "\n mutation EndBrowserSession($id: ID!) {\n endBrowserSession(input: { browserSessionId: $id }) {\n status\n browserSession {\n id\n ...BrowserSession_session\n }\n }\n }\n": - types.EndBrowserSessionDocument, - "\n fragment OAuth2Client_detail on Oauth2Client {\n id\n clientId\n clientName\n clientUri\n logoUri\n tosUri\n policyUri\n redirectUris\n }\n": - types.OAuth2Client_DetailFragmentDoc, - "\n fragment CompatSession_session on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n deviceType\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n": - types.CompatSession_SessionFragmentDoc, - "\n mutation EndCompatSession($id: ID!) {\n endCompatSession(input: { compatSessionId: $id }) {\n status\n compatSession {\n id\n finishedAt\n }\n }\n }\n": - types.EndCompatSessionDocument, - "\n fragment OAuth2Session_session on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n\n userAgent {\n name\n model\n os\n deviceType\n }\n\n client {\n id\n clientId\n clientName\n applicationType\n logoUri\n }\n }\n": - types.OAuth2Session_SessionFragmentDoc, - "\n mutation EndOAuth2Session($id: ID!) {\n endOauth2Session(input: { oauth2SessionId: $id }) {\n status\n oauth2Session {\n id\n ...OAuth2Session_session\n }\n }\n }\n": - types.EndOAuth2SessionDocument, - "\n fragment BrowserSession_detail on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n name\n model\n os\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n user {\n id\n username\n }\n }\n": - types.BrowserSession_DetailFragmentDoc, - "\n fragment CompatSession_detail on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n": - types.CompatSession_DetailFragmentDoc, - "\n fragment OAuth2Session_detail on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n client {\n id\n clientId\n clientName\n clientUri\n logoUri\n }\n }\n": - types.OAuth2Session_DetailFragmentDoc, - "\n fragment UnverifiedEmailAlert_user on User {\n id\n unverifiedEmails: emails(first: 0, state: PENDING) {\n totalCount\n }\n }\n": - types.UnverifiedEmailAlert_UserFragmentDoc, - "\n fragment UserEmail_email on UserEmail {\n id\n email\n confirmedAt\n }\n": - types.UserEmail_EmailFragmentDoc, - "\n mutation RemoveEmail($id: ID!) {\n removeEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n }\n }\n }\n": - types.RemoveEmailDocument, - "\n mutation SetPrimaryEmail($id: ID!) {\n setPrimaryEmail(input: { userEmailId: $id }) {\n status\n user {\n id\n primaryEmail {\n id\n }\n }\n }\n }\n": - types.SetPrimaryEmailDocument, - "\n fragment UserGreeting_user on User {\n id\n matrix {\n mxid\n displayName\n }\n }\n": - types.UserGreeting_UserFragmentDoc, - "\n mutation SetDisplayName($userId: ID!, $displayName: String) {\n setDisplayName(input: { userId: $userId, displayName: $displayName }) {\n status\n user {\n id\n matrix {\n displayName\n }\n }\n }\n }\n": - types.SetDisplayNameDocument, - "\n mutation AddEmail($userId: ID!, $email: String!) {\n addEmail(input: { userId: $userId, email: $email }) {\n status\n violations\n email {\n id\n ...UserEmail_email\n }\n }\n }\n": - types.AddEmailDocument, - "\n query UserEmailListQuery(\n $userId: ID!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n user(id: $userId) {\n id\n\n emails(first: $first, after: $after, last: $last, before: $before) {\n edges {\n cursor\n node {\n id\n ...UserEmail_email\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n": - types.UserEmailListQueryDocument, - "\n fragment UserEmailList_user on User {\n id\n primaryEmail {\n id\n }\n }\n": - types.UserEmailList_UserFragmentDoc, - "\n fragment BrowserSessionsOverview_user on User {\n id\n\n browserSessions(first: 0, state: ACTIVE) {\n totalCount\n }\n }\n": - types.BrowserSessionsOverview_UserFragmentDoc, - "\n fragment UserEmail_verifyEmail on UserEmail {\n id\n email\n }\n": - types.UserEmail_VerifyEmailFragmentDoc, - "\n mutation VerifyEmail($id: ID!, $code: String!) {\n verifyEmail(input: { userEmailId: $id, code: $code }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n": - types.VerifyEmailDocument, - "\n mutation ResendVerificationEmail($id: ID!) {\n sendVerificationEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n": - types.ResendVerificationEmailDocument, - "\n query UserProfileQuery {\n viewer {\n __typename\n ... on User {\n id\n ...UserEmailList_user\n }\n }\n }\n": - types.UserProfileQueryDocument, - "\n query SessionDetailQuery($id: ID!) {\n viewerSession {\n ... on Node {\n id\n }\n }\n\n node(id: $id) {\n __typename\n id\n ...CompatSession_detail\n ...OAuth2Session_detail\n ...BrowserSession_detail\n }\n }\n": - types.SessionDetailQueryDocument, - "\n query BrowserSessionList(\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n viewerSession {\n __typename\n ... on BrowserSession {\n id\n\n user {\n id\n\n browserSessions(\n first: $first\n after: $after\n last: $last\n before: $before\n state: ACTIVE\n ) {\n totalCount\n\n edges {\n cursor\n node {\n id\n ...BrowserSession_session\n }\n }\n\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n }\n }\n": - types.BrowserSessionListDocument, - "\n query SessionsOverviewQuery {\n viewer {\n __typename\n\n ... on User {\n id\n ...BrowserSessionsOverview_user\n }\n }\n }\n": - types.SessionsOverviewQueryDocument, - "\n query AppSessionsListQuery(\n $before: String\n $after: String\n $first: Int\n $last: Int\n ) {\n viewer {\n __typename\n\n ... on User {\n id\n appSessions(\n before: $before\n after: $after\n first: $first\n last: $last\n state: ACTIVE\n ) {\n edges {\n cursor\n node {\n __typename\n ...CompatSession_session\n ...OAuth2Session_session\n }\n }\n\n totalCount\n pageInfo {\n startCursor\n endCursor\n hasNextPage\n hasPreviousPage\n }\n }\n }\n }\n }\n": - types.AppSessionsListQueryDocument, - "\n query CurrentUserGreeting {\n viewerSession {\n __typename\n\n ... on BrowserSession {\n id\n\n user {\n id\n ...UnverifiedEmailAlert_user\n ...UserGreeting_user\n }\n }\n }\n }\n": - types.CurrentUserGreetingDocument, - "\n query OAuth2ClientQuery($id: ID!) {\n oauth2Client(id: $id) {\n ...OAuth2Client_detail\n }\n }\n": - types.OAuth2ClientQueryDocument, - "\n query CurrentViewerQuery {\n viewer {\n __typename\n ... on Node {\n id\n }\n }\n }\n": - types.CurrentViewerQueryDocument, - "\n query DeviceRedirectQuery($deviceId: String!, $userId: ID!) {\n session(deviceId: $deviceId, userId: $userId) {\n __typename\n ... on Node {\n id\n }\n }\n }\n": - types.DeviceRedirectQueryDocument, - "\n query VerifyEmailQuery($id: ID!) {\n userEmail(id: $id) {\n ...UserEmail_verifyEmail\n }\n }\n": - types.VerifyEmailQueryDocument, - "\n mutation AllowCrossSigningReset($userId: ID!) {\n allowUserCrossSigningReset(input: { userId: $userId }) {\n user {\n id\n }\n }\n }\n": - types.AllowCrossSigningResetDocument, + "\n fragment BrowserSession_session on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n raw\n name\n os\n model\n deviceType\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n }\n": types.BrowserSession_SessionFragmentDoc, + "\n mutation EndBrowserSession($id: ID!) {\n endBrowserSession(input: { browserSessionId: $id }) {\n status\n browserSession {\n id\n ...BrowserSession_session\n }\n }\n }\n": types.EndBrowserSessionDocument, + "\n fragment OAuth2Client_detail on Oauth2Client {\n id\n clientId\n clientName\n clientUri\n logoUri\n tosUri\n policyUri\n redirectUris\n }\n": types.OAuth2Client_DetailFragmentDoc, + "\n fragment CompatSession_session on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n deviceType\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n": types.CompatSession_SessionFragmentDoc, + "\n mutation EndCompatSession($id: ID!) {\n endCompatSession(input: { compatSessionId: $id }) {\n status\n compatSession {\n id\n finishedAt\n }\n }\n }\n": types.EndCompatSessionDocument, + "\n fragment OAuth2Session_session on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n\n userAgent {\n name\n model\n os\n deviceType\n }\n\n client {\n id\n clientId\n clientName\n applicationType\n logoUri\n }\n }\n": types.OAuth2Session_SessionFragmentDoc, + "\n mutation EndOAuth2Session($id: ID!) {\n endOauth2Session(input: { oauth2SessionId: $id }) {\n status\n oauth2Session {\n id\n ...OAuth2Session_session\n }\n }\n }\n": types.EndOAuth2SessionDocument, + "\n fragment BrowserSession_detail on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n name\n model\n os\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n user {\n id\n username\n }\n }\n": types.BrowserSession_DetailFragmentDoc, + "\n fragment CompatSession_detail on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n": types.CompatSession_DetailFragmentDoc, + "\n fragment OAuth2Session_detail on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n client {\n id\n clientId\n clientName\n clientUri\n logoUri\n }\n }\n": types.OAuth2Session_DetailFragmentDoc, + "\n fragment UnverifiedEmailAlert_user on User {\n id\n unverifiedEmails: emails(first: 0, state: PENDING) {\n totalCount\n }\n }\n": types.UnverifiedEmailAlert_UserFragmentDoc, + "\n fragment UserEmail_email on UserEmail {\n id\n email\n confirmedAt\n }\n": types.UserEmail_EmailFragmentDoc, + "\n mutation RemoveEmail($id: ID!) {\n removeEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n }\n }\n }\n": types.RemoveEmailDocument, + "\n mutation SetPrimaryEmail($id: ID!) {\n setPrimaryEmail(input: { userEmailId: $id }) {\n status\n user {\n id\n primaryEmail {\n id\n }\n }\n }\n }\n": types.SetPrimaryEmailDocument, + "\n fragment UserGreeting_user on User {\n id\n matrix {\n mxid\n displayName\n }\n }\n": types.UserGreeting_UserFragmentDoc, + "\n mutation SetDisplayName($userId: ID!, $displayName: String) {\n setDisplayName(input: { userId: $userId, displayName: $displayName }) {\n status\n user {\n id\n matrix {\n displayName\n }\n }\n }\n }\n": types.SetDisplayNameDocument, + "\n mutation AddEmail($userId: ID!, $email: String!) {\n addEmail(input: { userId: $userId, email: $email }) {\n status\n violations\n email {\n id\n ...UserEmail_email\n }\n }\n }\n": types.AddEmailDocument, + "\n query UserEmailListQuery(\n $userId: ID!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n user(id: $userId) {\n id\n\n emails(first: $first, after: $after, last: $last, before: $before) {\n edges {\n cursor\n node {\n id\n ...UserEmail_email\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n": types.UserEmailListQueryDocument, + "\n fragment UserEmailList_user on User {\n id\n primaryEmail {\n id\n }\n }\n": types.UserEmailList_UserFragmentDoc, + "\n fragment BrowserSessionsOverview_user on User {\n id\n\n browserSessions(first: 0, state: ACTIVE) {\n totalCount\n }\n }\n": types.BrowserSessionsOverview_UserFragmentDoc, + "\n fragment UserEmail_verifyEmail on UserEmail {\n id\n email\n }\n": types.UserEmail_VerifyEmailFragmentDoc, + "\n mutation VerifyEmail($id: ID!, $code: String!) {\n verifyEmail(input: { userEmailId: $id, code: $code }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n": types.VerifyEmailDocument, + "\n mutation ResendVerificationEmail($id: ID!) {\n sendVerificationEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n": types.ResendVerificationEmailDocument, + "\n query UserProfileQuery {\n viewer {\n __typename\n ... on User {\n id\n ...UserEmailList_user\n }\n }\n }\n": types.UserProfileQueryDocument, + "\n query SessionDetailQuery($id: ID!) {\n viewerSession {\n ... on Node {\n id\n }\n }\n\n node(id: $id) {\n __typename\n id\n ...CompatSession_detail\n ...OAuth2Session_detail\n ...BrowserSession_detail\n }\n }\n": types.SessionDetailQueryDocument, + "\n query BrowserSessionList(\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n viewerSession {\n __typename\n ... on BrowserSession {\n id\n\n user {\n id\n\n browserSessions(\n first: $first\n after: $after\n last: $last\n before: $before\n state: ACTIVE\n ) {\n totalCount\n\n edges {\n cursor\n node {\n id\n ...BrowserSession_session\n }\n }\n\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n }\n }\n": types.BrowserSessionListDocument, + "\n query SessionsOverviewQuery {\n viewer {\n __typename\n\n ... on User {\n id\n ...BrowserSessionsOverview_user\n }\n }\n }\n": types.SessionsOverviewQueryDocument, + "\n query AppSessionsListQuery(\n $before: String\n $after: String\n $first: Int\n $last: Int\n ) {\n viewer {\n __typename\n\n ... on User {\n id\n appSessions(\n before: $before\n after: $after\n first: $first\n last: $last\n state: ACTIVE\n ) {\n edges {\n cursor\n node {\n __typename\n ...CompatSession_session\n ...OAuth2Session_session\n }\n }\n\n totalCount\n pageInfo {\n startCursor\n endCursor\n hasNextPage\n hasPreviousPage\n }\n }\n }\n }\n }\n": types.AppSessionsListQueryDocument, + "\n query CurrentUserGreeting {\n viewerSession {\n __typename\n\n ... on BrowserSession {\n id\n\n user {\n id\n ...UnverifiedEmailAlert_user\n ...UserGreeting_user\n }\n }\n }\n }\n": types.CurrentUserGreetingDocument, + "\n query OAuth2ClientQuery($id: ID!) {\n oauth2Client(id: $id) {\n ...OAuth2Client_detail\n }\n }\n": types.OAuth2ClientQueryDocument, + "\n query CurrentViewerQuery {\n viewer {\n __typename\n ... on Node {\n id\n }\n }\n }\n": types.CurrentViewerQueryDocument, + "\n query DeviceRedirectQuery($deviceId: String!, $userId: ID!) {\n session(deviceId: $deviceId, userId: $userId) {\n __typename\n ... on Node {\n id\n }\n }\n }\n": types.DeviceRedirectQueryDocument, + "\n query VerifyEmailQuery($id: ID!) {\n userEmail(id: $id) {\n ...UserEmail_verifyEmail\n }\n }\n": types.VerifyEmailQueryDocument, + "\n mutation AllowCrossSigningReset($userId: ID!) {\n allowUserCrossSigningReset(input: { userId: $userId }) {\n user {\n id\n }\n }\n }\n": types.AllowCrossSigningResetDocument, }; /** @@ -100,211 +66,142 @@ export function graphql(source: string): unknown; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment BrowserSession_session on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n raw\n name\n os\n model\n deviceType\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n }\n", -): (typeof documents)["\n fragment BrowserSession_session on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n raw\n name\n os\n model\n deviceType\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n }\n"]; +export function graphql(source: "\n fragment BrowserSession_session on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n raw\n name\n os\n model\n deviceType\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n }\n"): (typeof documents)["\n fragment BrowserSession_session on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n raw\n name\n os\n model\n deviceType\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation EndBrowserSession($id: ID!) {\n endBrowserSession(input: { browserSessionId: $id }) {\n status\n browserSession {\n id\n ...BrowserSession_session\n }\n }\n }\n", -): (typeof documents)["\n mutation EndBrowserSession($id: ID!) {\n endBrowserSession(input: { browserSessionId: $id }) {\n status\n browserSession {\n id\n ...BrowserSession_session\n }\n }\n }\n"]; +export function graphql(source: "\n mutation EndBrowserSession($id: ID!) {\n endBrowserSession(input: { browserSessionId: $id }) {\n status\n browserSession {\n id\n ...BrowserSession_session\n }\n }\n }\n"): (typeof documents)["\n mutation EndBrowserSession($id: ID!) {\n endBrowserSession(input: { browserSessionId: $id }) {\n status\n browserSession {\n id\n ...BrowserSession_session\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment OAuth2Client_detail on Oauth2Client {\n id\n clientId\n clientName\n clientUri\n logoUri\n tosUri\n policyUri\n redirectUris\n }\n", -): (typeof documents)["\n fragment OAuth2Client_detail on Oauth2Client {\n id\n clientId\n clientName\n clientUri\n logoUri\n tosUri\n policyUri\n redirectUris\n }\n"]; +export function graphql(source: "\n fragment OAuth2Client_detail on Oauth2Client {\n id\n clientId\n clientName\n clientUri\n logoUri\n tosUri\n policyUri\n redirectUris\n }\n"): (typeof documents)["\n fragment OAuth2Client_detail on Oauth2Client {\n id\n clientId\n clientName\n clientUri\n logoUri\n tosUri\n policyUri\n redirectUris\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment CompatSession_session on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n deviceType\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n", -): (typeof documents)["\n fragment CompatSession_session on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n deviceType\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n"]; +export function graphql(source: "\n fragment CompatSession_session on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n deviceType\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n"): (typeof documents)["\n fragment CompatSession_session on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n deviceType\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation EndCompatSession($id: ID!) {\n endCompatSession(input: { compatSessionId: $id }) {\n status\n compatSession {\n id\n finishedAt\n }\n }\n }\n", -): (typeof documents)["\n mutation EndCompatSession($id: ID!) {\n endCompatSession(input: { compatSessionId: $id }) {\n status\n compatSession {\n id\n finishedAt\n }\n }\n }\n"]; +export function graphql(source: "\n mutation EndCompatSession($id: ID!) {\n endCompatSession(input: { compatSessionId: $id }) {\n status\n compatSession {\n id\n finishedAt\n }\n }\n }\n"): (typeof documents)["\n mutation EndCompatSession($id: ID!) {\n endCompatSession(input: { compatSessionId: $id }) {\n status\n compatSession {\n id\n finishedAt\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment OAuth2Session_session on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n\n userAgent {\n name\n model\n os\n deviceType\n }\n\n client {\n id\n clientId\n clientName\n applicationType\n logoUri\n }\n }\n", -): (typeof documents)["\n fragment OAuth2Session_session on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n\n userAgent {\n name\n model\n os\n deviceType\n }\n\n client {\n id\n clientId\n clientName\n applicationType\n logoUri\n }\n }\n"]; +export function graphql(source: "\n fragment OAuth2Session_session on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n\n userAgent {\n name\n model\n os\n deviceType\n }\n\n client {\n id\n clientId\n clientName\n applicationType\n logoUri\n }\n }\n"): (typeof documents)["\n fragment OAuth2Session_session on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n\n userAgent {\n name\n model\n os\n deviceType\n }\n\n client {\n id\n clientId\n clientName\n applicationType\n logoUri\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation EndOAuth2Session($id: ID!) {\n endOauth2Session(input: { oauth2SessionId: $id }) {\n status\n oauth2Session {\n id\n ...OAuth2Session_session\n }\n }\n }\n", -): (typeof documents)["\n mutation EndOAuth2Session($id: ID!) {\n endOauth2Session(input: { oauth2SessionId: $id }) {\n status\n oauth2Session {\n id\n ...OAuth2Session_session\n }\n }\n }\n"]; +export function graphql(source: "\n mutation EndOAuth2Session($id: ID!) {\n endOauth2Session(input: { oauth2SessionId: $id }) {\n status\n oauth2Session {\n id\n ...OAuth2Session_session\n }\n }\n }\n"): (typeof documents)["\n mutation EndOAuth2Session($id: ID!) {\n endOauth2Session(input: { oauth2SessionId: $id }) {\n status\n oauth2Session {\n id\n ...OAuth2Session_session\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment BrowserSession_detail on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n name\n model\n os\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n user {\n id\n username\n }\n }\n", -): (typeof documents)["\n fragment BrowserSession_detail on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n name\n model\n os\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n user {\n id\n username\n }\n }\n"]; +export function graphql(source: "\n fragment BrowserSession_detail on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n name\n model\n os\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n user {\n id\n username\n }\n }\n"): (typeof documents)["\n fragment BrowserSession_detail on BrowserSession {\n id\n createdAt\n finishedAt\n userAgent {\n name\n model\n os\n }\n lastActiveIp\n lastActiveAt\n lastAuthentication {\n id\n createdAt\n }\n user {\n id\n username\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment CompatSession_detail on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n", -): (typeof documents)["\n fragment CompatSession_detail on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n"]; +export function graphql(source: "\n fragment CompatSession_detail on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n"): (typeof documents)["\n fragment CompatSession_detail on CompatSession {\n id\n createdAt\n deviceId\n finishedAt\n lastActiveIp\n lastActiveAt\n userAgent {\n name\n os\n model\n }\n ssoLogin {\n id\n redirectUri\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment OAuth2Session_detail on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n client {\n id\n clientId\n clientName\n clientUri\n logoUri\n }\n }\n", -): (typeof documents)["\n fragment OAuth2Session_detail on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n client {\n id\n clientId\n clientName\n clientUri\n logoUri\n }\n }\n"]; +export function graphql(source: "\n fragment OAuth2Session_detail on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n client {\n id\n clientId\n clientName\n clientUri\n logoUri\n }\n }\n"): (typeof documents)["\n fragment OAuth2Session_detail on Oauth2Session {\n id\n scope\n createdAt\n finishedAt\n lastActiveIp\n lastActiveAt\n client {\n id\n clientId\n clientName\n clientUri\n logoUri\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment UnverifiedEmailAlert_user on User {\n id\n unverifiedEmails: emails(first: 0, state: PENDING) {\n totalCount\n }\n }\n", -): (typeof documents)["\n fragment UnverifiedEmailAlert_user on User {\n id\n unverifiedEmails: emails(first: 0, state: PENDING) {\n totalCount\n }\n }\n"]; +export function graphql(source: "\n fragment UnverifiedEmailAlert_user on User {\n id\n unverifiedEmails: emails(first: 0, state: PENDING) {\n totalCount\n }\n }\n"): (typeof documents)["\n fragment UnverifiedEmailAlert_user on User {\n id\n unverifiedEmails: emails(first: 0, state: PENDING) {\n totalCount\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment UserEmail_email on UserEmail {\n id\n email\n confirmedAt\n }\n", -): (typeof documents)["\n fragment UserEmail_email on UserEmail {\n id\n email\n confirmedAt\n }\n"]; +export function graphql(source: "\n fragment UserEmail_email on UserEmail {\n id\n email\n confirmedAt\n }\n"): (typeof documents)["\n fragment UserEmail_email on UserEmail {\n id\n email\n confirmedAt\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation RemoveEmail($id: ID!) {\n removeEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n }\n }\n }\n", -): (typeof documents)["\n mutation RemoveEmail($id: ID!) {\n removeEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n }\n }\n }\n"]; +export function graphql(source: "\n mutation RemoveEmail($id: ID!) {\n removeEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n }\n }\n }\n"): (typeof documents)["\n mutation RemoveEmail($id: ID!) {\n removeEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation SetPrimaryEmail($id: ID!) {\n setPrimaryEmail(input: { userEmailId: $id }) {\n status\n user {\n id\n primaryEmail {\n id\n }\n }\n }\n }\n", -): (typeof documents)["\n mutation SetPrimaryEmail($id: ID!) {\n setPrimaryEmail(input: { userEmailId: $id }) {\n status\n user {\n id\n primaryEmail {\n id\n }\n }\n }\n }\n"]; +export function graphql(source: "\n mutation SetPrimaryEmail($id: ID!) {\n setPrimaryEmail(input: { userEmailId: $id }) {\n status\n user {\n id\n primaryEmail {\n id\n }\n }\n }\n }\n"): (typeof documents)["\n mutation SetPrimaryEmail($id: ID!) {\n setPrimaryEmail(input: { userEmailId: $id }) {\n status\n user {\n id\n primaryEmail {\n id\n }\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment UserGreeting_user on User {\n id\n matrix {\n mxid\n displayName\n }\n }\n", -): (typeof documents)["\n fragment UserGreeting_user on User {\n id\n matrix {\n mxid\n displayName\n }\n }\n"]; +export function graphql(source: "\n fragment UserGreeting_user on User {\n id\n matrix {\n mxid\n displayName\n }\n }\n"): (typeof documents)["\n fragment UserGreeting_user on User {\n id\n matrix {\n mxid\n displayName\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation SetDisplayName($userId: ID!, $displayName: String) {\n setDisplayName(input: { userId: $userId, displayName: $displayName }) {\n status\n user {\n id\n matrix {\n displayName\n }\n }\n }\n }\n", -): (typeof documents)["\n mutation SetDisplayName($userId: ID!, $displayName: String) {\n setDisplayName(input: { userId: $userId, displayName: $displayName }) {\n status\n user {\n id\n matrix {\n displayName\n }\n }\n }\n }\n"]; +export function graphql(source: "\n mutation SetDisplayName($userId: ID!, $displayName: String) {\n setDisplayName(input: { userId: $userId, displayName: $displayName }) {\n status\n user {\n id\n matrix {\n displayName\n }\n }\n }\n }\n"): (typeof documents)["\n mutation SetDisplayName($userId: ID!, $displayName: String) {\n setDisplayName(input: { userId: $userId, displayName: $displayName }) {\n status\n user {\n id\n matrix {\n displayName\n }\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation AddEmail($userId: ID!, $email: String!) {\n addEmail(input: { userId: $userId, email: $email }) {\n status\n violations\n email {\n id\n ...UserEmail_email\n }\n }\n }\n", -): (typeof documents)["\n mutation AddEmail($userId: ID!, $email: String!) {\n addEmail(input: { userId: $userId, email: $email }) {\n status\n violations\n email {\n id\n ...UserEmail_email\n }\n }\n }\n"]; +export function graphql(source: "\n mutation AddEmail($userId: ID!, $email: String!) {\n addEmail(input: { userId: $userId, email: $email }) {\n status\n violations\n email {\n id\n ...UserEmail_email\n }\n }\n }\n"): (typeof documents)["\n mutation AddEmail($userId: ID!, $email: String!) {\n addEmail(input: { userId: $userId, email: $email }) {\n status\n violations\n email {\n id\n ...UserEmail_email\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query UserEmailListQuery(\n $userId: ID!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n user(id: $userId) {\n id\n\n emails(first: $first, after: $after, last: $last, before: $before) {\n edges {\n cursor\n node {\n id\n ...UserEmail_email\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n", -): (typeof documents)["\n query UserEmailListQuery(\n $userId: ID!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n user(id: $userId) {\n id\n\n emails(first: $first, after: $after, last: $last, before: $before) {\n edges {\n cursor\n node {\n id\n ...UserEmail_email\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n"]; +export function graphql(source: "\n query UserEmailListQuery(\n $userId: ID!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n user(id: $userId) {\n id\n\n emails(first: $first, after: $after, last: $last, before: $before) {\n edges {\n cursor\n node {\n id\n ...UserEmail_email\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n"): (typeof documents)["\n query UserEmailListQuery(\n $userId: ID!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n user(id: $userId) {\n id\n\n emails(first: $first, after: $after, last: $last, before: $before) {\n edges {\n cursor\n node {\n id\n ...UserEmail_email\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment UserEmailList_user on User {\n id\n primaryEmail {\n id\n }\n }\n", -): (typeof documents)["\n fragment UserEmailList_user on User {\n id\n primaryEmail {\n id\n }\n }\n"]; +export function graphql(source: "\n fragment UserEmailList_user on User {\n id\n primaryEmail {\n id\n }\n }\n"): (typeof documents)["\n fragment UserEmailList_user on User {\n id\n primaryEmail {\n id\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment BrowserSessionsOverview_user on User {\n id\n\n browserSessions(first: 0, state: ACTIVE) {\n totalCount\n }\n }\n", -): (typeof documents)["\n fragment BrowserSessionsOverview_user on User {\n id\n\n browserSessions(first: 0, state: ACTIVE) {\n totalCount\n }\n }\n"]; +export function graphql(source: "\n fragment BrowserSessionsOverview_user on User {\n id\n\n browserSessions(first: 0, state: ACTIVE) {\n totalCount\n }\n }\n"): (typeof documents)["\n fragment BrowserSessionsOverview_user on User {\n id\n\n browserSessions(first: 0, state: ACTIVE) {\n totalCount\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n fragment UserEmail_verifyEmail on UserEmail {\n id\n email\n }\n", -): (typeof documents)["\n fragment UserEmail_verifyEmail on UserEmail {\n id\n email\n }\n"]; +export function graphql(source: "\n fragment UserEmail_verifyEmail on UserEmail {\n id\n email\n }\n"): (typeof documents)["\n fragment UserEmail_verifyEmail on UserEmail {\n id\n email\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation VerifyEmail($id: ID!, $code: String!) {\n verifyEmail(input: { userEmailId: $id, code: $code }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n", -): (typeof documents)["\n mutation VerifyEmail($id: ID!, $code: String!) {\n verifyEmail(input: { userEmailId: $id, code: $code }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n"]; +export function graphql(source: "\n mutation VerifyEmail($id: ID!, $code: String!) {\n verifyEmail(input: { userEmailId: $id, code: $code }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n"): (typeof documents)["\n mutation VerifyEmail($id: ID!, $code: String!) {\n verifyEmail(input: { userEmailId: $id, code: $code }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation ResendVerificationEmail($id: ID!) {\n sendVerificationEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n", -): (typeof documents)["\n mutation ResendVerificationEmail($id: ID!) {\n sendVerificationEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n"]; +export function graphql(source: "\n mutation ResendVerificationEmail($id: ID!) {\n sendVerificationEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n"): (typeof documents)["\n mutation ResendVerificationEmail($id: ID!) {\n sendVerificationEmail(input: { userEmailId: $id }) {\n status\n\n user {\n id\n primaryEmail {\n id\n }\n }\n\n email {\n id\n ...UserEmail_email\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query UserProfileQuery {\n viewer {\n __typename\n ... on User {\n id\n ...UserEmailList_user\n }\n }\n }\n", -): (typeof documents)["\n query UserProfileQuery {\n viewer {\n __typename\n ... on User {\n id\n ...UserEmailList_user\n }\n }\n }\n"]; +export function graphql(source: "\n query UserProfileQuery {\n viewer {\n __typename\n ... on User {\n id\n ...UserEmailList_user\n }\n }\n }\n"): (typeof documents)["\n query UserProfileQuery {\n viewer {\n __typename\n ... on User {\n id\n ...UserEmailList_user\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query SessionDetailQuery($id: ID!) {\n viewerSession {\n ... on Node {\n id\n }\n }\n\n node(id: $id) {\n __typename\n id\n ...CompatSession_detail\n ...OAuth2Session_detail\n ...BrowserSession_detail\n }\n }\n", -): (typeof documents)["\n query SessionDetailQuery($id: ID!) {\n viewerSession {\n ... on Node {\n id\n }\n }\n\n node(id: $id) {\n __typename\n id\n ...CompatSession_detail\n ...OAuth2Session_detail\n ...BrowserSession_detail\n }\n }\n"]; +export function graphql(source: "\n query SessionDetailQuery($id: ID!) {\n viewerSession {\n ... on Node {\n id\n }\n }\n\n node(id: $id) {\n __typename\n id\n ...CompatSession_detail\n ...OAuth2Session_detail\n ...BrowserSession_detail\n }\n }\n"): (typeof documents)["\n query SessionDetailQuery($id: ID!) {\n viewerSession {\n ... on Node {\n id\n }\n }\n\n node(id: $id) {\n __typename\n id\n ...CompatSession_detail\n ...OAuth2Session_detail\n ...BrowserSession_detail\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query BrowserSessionList(\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n viewerSession {\n __typename\n ... on BrowserSession {\n id\n\n user {\n id\n\n browserSessions(\n first: $first\n after: $after\n last: $last\n before: $before\n state: ACTIVE\n ) {\n totalCount\n\n edges {\n cursor\n node {\n id\n ...BrowserSession_session\n }\n }\n\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n }\n }\n", -): (typeof documents)["\n query BrowserSessionList(\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n viewerSession {\n __typename\n ... on BrowserSession {\n id\n\n user {\n id\n\n browserSessions(\n first: $first\n after: $after\n last: $last\n before: $before\n state: ACTIVE\n ) {\n totalCount\n\n edges {\n cursor\n node {\n id\n ...BrowserSession_session\n }\n }\n\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n }\n }\n"]; +export function graphql(source: "\n query BrowserSessionList(\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n viewerSession {\n __typename\n ... on BrowserSession {\n id\n\n user {\n id\n\n browserSessions(\n first: $first\n after: $after\n last: $last\n before: $before\n state: ACTIVE\n ) {\n totalCount\n\n edges {\n cursor\n node {\n id\n ...BrowserSession_session\n }\n }\n\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n }\n }\n"): (typeof documents)["\n query BrowserSessionList(\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n viewerSession {\n __typename\n ... on BrowserSession {\n id\n\n user {\n id\n\n browserSessions(\n first: $first\n after: $after\n last: $last\n before: $before\n state: ACTIVE\n ) {\n totalCount\n\n edges {\n cursor\n node {\n id\n ...BrowserSession_session\n }\n }\n\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query SessionsOverviewQuery {\n viewer {\n __typename\n\n ... on User {\n id\n ...BrowserSessionsOverview_user\n }\n }\n }\n", -): (typeof documents)["\n query SessionsOverviewQuery {\n viewer {\n __typename\n\n ... on User {\n id\n ...BrowserSessionsOverview_user\n }\n }\n }\n"]; +export function graphql(source: "\n query SessionsOverviewQuery {\n viewer {\n __typename\n\n ... on User {\n id\n ...BrowserSessionsOverview_user\n }\n }\n }\n"): (typeof documents)["\n query SessionsOverviewQuery {\n viewer {\n __typename\n\n ... on User {\n id\n ...BrowserSessionsOverview_user\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query AppSessionsListQuery(\n $before: String\n $after: String\n $first: Int\n $last: Int\n ) {\n viewer {\n __typename\n\n ... on User {\n id\n appSessions(\n before: $before\n after: $after\n first: $first\n last: $last\n state: ACTIVE\n ) {\n edges {\n cursor\n node {\n __typename\n ...CompatSession_session\n ...OAuth2Session_session\n }\n }\n\n totalCount\n pageInfo {\n startCursor\n endCursor\n hasNextPage\n hasPreviousPage\n }\n }\n }\n }\n }\n", -): (typeof documents)["\n query AppSessionsListQuery(\n $before: String\n $after: String\n $first: Int\n $last: Int\n ) {\n viewer {\n __typename\n\n ... on User {\n id\n appSessions(\n before: $before\n after: $after\n first: $first\n last: $last\n state: ACTIVE\n ) {\n edges {\n cursor\n node {\n __typename\n ...CompatSession_session\n ...OAuth2Session_session\n }\n }\n\n totalCount\n pageInfo {\n startCursor\n endCursor\n hasNextPage\n hasPreviousPage\n }\n }\n }\n }\n }\n"]; +export function graphql(source: "\n query AppSessionsListQuery(\n $before: String\n $after: String\n $first: Int\n $last: Int\n ) {\n viewer {\n __typename\n\n ... on User {\n id\n appSessions(\n before: $before\n after: $after\n first: $first\n last: $last\n state: ACTIVE\n ) {\n edges {\n cursor\n node {\n __typename\n ...CompatSession_session\n ...OAuth2Session_session\n }\n }\n\n totalCount\n pageInfo {\n startCursor\n endCursor\n hasNextPage\n hasPreviousPage\n }\n }\n }\n }\n }\n"): (typeof documents)["\n query AppSessionsListQuery(\n $before: String\n $after: String\n $first: Int\n $last: Int\n ) {\n viewer {\n __typename\n\n ... on User {\n id\n appSessions(\n before: $before\n after: $after\n first: $first\n last: $last\n state: ACTIVE\n ) {\n edges {\n cursor\n node {\n __typename\n ...CompatSession_session\n ...OAuth2Session_session\n }\n }\n\n totalCount\n pageInfo {\n startCursor\n endCursor\n hasNextPage\n hasPreviousPage\n }\n }\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query CurrentUserGreeting {\n viewerSession {\n __typename\n\n ... on BrowserSession {\n id\n\n user {\n id\n ...UnverifiedEmailAlert_user\n ...UserGreeting_user\n }\n }\n }\n }\n", -): (typeof documents)["\n query CurrentUserGreeting {\n viewerSession {\n __typename\n\n ... on BrowserSession {\n id\n\n user {\n id\n ...UnverifiedEmailAlert_user\n ...UserGreeting_user\n }\n }\n }\n }\n"]; +export function graphql(source: "\n query CurrentUserGreeting {\n viewerSession {\n __typename\n\n ... on BrowserSession {\n id\n\n user {\n id\n ...UnverifiedEmailAlert_user\n ...UserGreeting_user\n }\n }\n }\n }\n"): (typeof documents)["\n query CurrentUserGreeting {\n viewerSession {\n __typename\n\n ... on BrowserSession {\n id\n\n user {\n id\n ...UnverifiedEmailAlert_user\n ...UserGreeting_user\n }\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query OAuth2ClientQuery($id: ID!) {\n oauth2Client(id: $id) {\n ...OAuth2Client_detail\n }\n }\n", -): (typeof documents)["\n query OAuth2ClientQuery($id: ID!) {\n oauth2Client(id: $id) {\n ...OAuth2Client_detail\n }\n }\n"]; +export function graphql(source: "\n query OAuth2ClientQuery($id: ID!) {\n oauth2Client(id: $id) {\n ...OAuth2Client_detail\n }\n }\n"): (typeof documents)["\n query OAuth2ClientQuery($id: ID!) {\n oauth2Client(id: $id) {\n ...OAuth2Client_detail\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query CurrentViewerQuery {\n viewer {\n __typename\n ... on Node {\n id\n }\n }\n }\n", -): (typeof documents)["\n query CurrentViewerQuery {\n viewer {\n __typename\n ... on Node {\n id\n }\n }\n }\n"]; +export function graphql(source: "\n query CurrentViewerQuery {\n viewer {\n __typename\n ... on Node {\n id\n }\n }\n }\n"): (typeof documents)["\n query CurrentViewerQuery {\n viewer {\n __typename\n ... on Node {\n id\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query DeviceRedirectQuery($deviceId: String!, $userId: ID!) {\n session(deviceId: $deviceId, userId: $userId) {\n __typename\n ... on Node {\n id\n }\n }\n }\n", -): (typeof documents)["\n query DeviceRedirectQuery($deviceId: String!, $userId: ID!) {\n session(deviceId: $deviceId, userId: $userId) {\n __typename\n ... on Node {\n id\n }\n }\n }\n"]; +export function graphql(source: "\n query DeviceRedirectQuery($deviceId: String!, $userId: ID!) {\n session(deviceId: $deviceId, userId: $userId) {\n __typename\n ... on Node {\n id\n }\n }\n }\n"): (typeof documents)["\n query DeviceRedirectQuery($deviceId: String!, $userId: ID!) {\n session(deviceId: $deviceId, userId: $userId) {\n __typename\n ... on Node {\n id\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n query VerifyEmailQuery($id: ID!) {\n userEmail(id: $id) {\n ...UserEmail_verifyEmail\n }\n }\n", -): (typeof documents)["\n query VerifyEmailQuery($id: ID!) {\n userEmail(id: $id) {\n ...UserEmail_verifyEmail\n }\n }\n"]; +export function graphql(source: "\n query VerifyEmailQuery($id: ID!) {\n userEmail(id: $id) {\n ...UserEmail_verifyEmail\n }\n }\n"): (typeof documents)["\n query VerifyEmailQuery($id: ID!) {\n userEmail(id: $id) {\n ...UserEmail_verifyEmail\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function graphql( - source: "\n mutation AllowCrossSigningReset($userId: ID!) {\n allowUserCrossSigningReset(input: { userId: $userId }) {\n user {\n id\n }\n }\n }\n", -): (typeof documents)["\n mutation AllowCrossSigningReset($userId: ID!) {\n allowUserCrossSigningReset(input: { userId: $userId }) {\n user {\n id\n }\n }\n }\n"]; +export function graphql(source: "\n mutation AllowCrossSigningReset($userId: ID!) {\n allowUserCrossSigningReset(input: { userId: $userId }) {\n user {\n id\n }\n }\n }\n"): (typeof documents)["\n mutation AllowCrossSigningReset($userId: ID!) {\n allowUserCrossSigningReset(input: { userId: $userId }) {\n user {\n id\n }\n }\n }\n"]; export function graphql(source: string) { return (documents as any)[source] ?? {}; } -export type DocumentType> = - TDocumentNode extends DocumentNode ? TType : never; +export type DocumentType> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never; \ No newline at end of file diff --git a/frontend/src/gql/graphql.ts b/frontend/src/gql/graphql.ts index f9a1421a..5fba507c 100644 --- a/frontend/src/gql/graphql.ts +++ b/frontend/src/gql/graphql.ts @@ -1,57 +1,46 @@ /* eslint-disable */ -import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core"; +/* prettier-ignore */ +/* eslint-disable */ +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< - T extends { [key: string]: unknown }, - K extends keyof T, -> = { [_ in K]?: never }; -export type Incremental = - | T - | { - [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never; - }; +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 }; /** 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 }; + 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; } /** * Implement the DateTime scalar * * The input/output is a string in RFC3339 format. */ - DateTime: { input: string; output: string }; + DateTime: { input: string; output: string; } /** URL is a String implementing the [URL Standard](http://url.spec.whatwg.org/) */ - Url: { input: string; output: string }; + Url: { input: string; output: string; } }; /** The input for the `addEmail` mutation */ export type AddEmailInput = { /** The email address to add */ - email: Scalars["String"]["input"]; + email: Scalars['String']['input']; /** Skip the email address policy check. Only allowed for admins. */ - skipPolicyCheck?: InputMaybe; + skipPolicyCheck?: InputMaybe; /** Skip the email address verification. Only allowed for admins. */ - skipVerification?: InputMaybe; + skipVerification?: InputMaybe; /** The ID of the user to add the email address to */ - userId: Scalars["ID"]["input"]; + userId: Scalars['ID']['input']; }; /** The payload of the `addEmail` mutation */ export type AddEmailPayload = { - __typename?: "AddEmailPayload"; + __typename?: 'AddEmailPayload'; /** The email address that was added */ email?: Maybe; /** Status of the operation */ @@ -59,19 +48,19 @@ export type AddEmailPayload = { /** The user to whom the email address was added */ user?: Maybe; /** The list of policy violations if the email address was denied */ - violations?: Maybe>; + violations?: Maybe>; }; /** The status of the `addEmail` mutation */ export enum AddEmailStatus { /** The email address was added */ - Added = "ADDED", + Added = 'ADDED', /** The email address is not allowed by the policy */ - Denied = "DENIED", + Denied = 'DENIED', /** The email address already exists */ - Exists = "EXISTS", + Exists = 'EXISTS', /** The email address is invalid */ - Invalid = "INVALID", + Invalid = 'INVALID' } /** The input for the `addUser` mutation. */ @@ -83,14 +72,14 @@ export type AddUserInput = { * by an application service needs to exist in MAS to craft special * tokens (like with admin access) for them */ - skipHomeserverCheck?: InputMaybe; + skipHomeserverCheck?: InputMaybe; /** The username of the user to add. */ - username: Scalars["String"]["input"]; + username: Scalars['String']['input']; }; /** The payload for the `addUser` mutation. */ export type AddUserPayload = { - __typename?: "AddUserPayload"; + __typename?: 'AddUserPayload'; /** Status of the operation */ status: AddUserStatus; /** The user that was added. */ @@ -100,38 +89,38 @@ export type AddUserPayload = { /** The status of the `addUser` mutation. */ export enum AddUserStatus { /** The user was added. */ - Added = "ADDED", + Added = 'ADDED', /** The user already exists. */ - Exists = "EXISTS", + Exists = 'EXISTS', /** The username is invalid. */ - Invalid = "INVALID", + Invalid = 'INVALID', /** The username is reserved. */ - Reserved = "RESERVED", + Reserved = 'RESERVED' } /** The input for the `allowUserCrossSigningReset` mutation. */ export type AllowUserCrossSigningResetInput = { /** The ID of the user to update. */ - userId: Scalars["ID"]["input"]; + userId: Scalars['ID']['input']; }; /** The payload for the `allowUserCrossSigningReset` mutation. */ export type AllowUserCrossSigningResetPayload = { - __typename?: "AllowUserCrossSigningResetPayload"; + __typename?: 'AllowUserCrossSigningResetPayload'; /** The user that was updated. */ user?: Maybe; }; export type Anonymous = Node & { - __typename?: "Anonymous"; - id: Scalars["ID"]["output"]; + __typename?: 'Anonymous'; + id: Scalars['ID']['output']; }; /** A session in an application, either a compatibility or an OAuth 2.0 one */ export type AppSession = CompatSession | Oauth2Session; export type AppSessionConnection = { - __typename?: "AppSessionConnection"; + __typename?: 'AppSessionConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ @@ -139,14 +128,14 @@ export type AppSessionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars["Int"]["output"]; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type AppSessionEdge = { - __typename?: "AppSessionEdge"; + __typename?: 'AppSessionEdge'; /** A cursor for use in pagination */ - cursor: Scalars["String"]["output"]; + cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: AppSession; }; @@ -155,56 +144,55 @@ export type AppSessionEdge = { * An authentication records when a user enter their credential in a browser * session. */ -export type Authentication = CreationEvent & - Node & { - __typename?: "Authentication"; - /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; - /** ID of the object. */ - id: Scalars["ID"]["output"]; - }; +export type Authentication = CreationEvent & Node & { + __typename?: 'Authentication'; + /** When the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** ID of the object. */ + id: Scalars['ID']['output']; +}; /** A browser session represents a logged in user in a browser. */ -export type BrowserSession = CreationEvent & - Node & { - __typename?: "BrowserSession"; - /** - * Get the list of both compat and OAuth 2.0 sessions started by this - * browser session, chronologically sorted - */ - appSessions: AppSessionConnection; - /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; - /** When the session was finished. */ - finishedAt?: Maybe; - /** ID of the object. */ - id: Scalars["ID"]["output"]; - /** The last time the session was active. */ - lastActiveAt?: Maybe; - /** The last IP address used by the session. */ - lastActiveIp?: Maybe; - /** The most recent authentication of this session. */ - lastAuthentication?: Maybe; - /** The state of the session. */ - state: SessionState; - /** The user logged in this session. */ - user: User; - /** The user-agent with which the session was created. */ - userAgent?: Maybe; - }; +export type BrowserSession = CreationEvent & Node & { + __typename?: 'BrowserSession'; + /** + * Get the list of both compat and OAuth 2.0 sessions started by this + * browser session, chronologically sorted + */ + appSessions: AppSessionConnection; + /** When the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** When the session was finished. */ + finishedAt?: Maybe; + /** ID of the object. */ + id: Scalars['ID']['output']; + /** The last time the session was active. */ + lastActiveAt?: Maybe; + /** The last IP address used by the session. */ + lastActiveIp?: Maybe; + /** The most recent authentication of this session. */ + lastAuthentication?: Maybe; + /** The state of the session. */ + state: SessionState; + /** The user logged in this session. */ + user: User; + /** The user-agent with which the session was created. */ + userAgent?: Maybe; +}; + /** A browser session represents a logged in user in a browser. */ export type BrowserSessionAppSessionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - device?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + device?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; state?: InputMaybe; }; export type BrowserSessionConnection = { - __typename?: "BrowserSessionConnection"; + __typename?: 'BrowserSessionConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ @@ -212,14 +200,14 @@ export type BrowserSessionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars["Int"]["output"]; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type BrowserSessionEdge = { - __typename?: "BrowserSessionEdge"; + __typename?: 'BrowserSessionEdge'; /** A cursor for use in pagination */ - cursor: Scalars["String"]["output"]; + cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: BrowserSession; }; @@ -228,35 +216,34 @@ export type BrowserSessionEdge = { * A compat session represents a client session which used the legacy Matrix * login API. */ -export type CompatSession = CreationEvent & - Node & { - __typename?: "CompatSession"; - /** The browser session which started this session, if any. */ - browserSession?: Maybe; - /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; - /** The Matrix Device ID of this session. */ - deviceId: Scalars["String"]["output"]; - /** When the session ended. */ - finishedAt?: Maybe; - /** ID of the object. */ - id: Scalars["ID"]["output"]; - /** The last time the session was active. */ - lastActiveAt?: Maybe; - /** The last IP address used by the session. */ - lastActiveIp?: Maybe; - /** The associated SSO login, if any. */ - ssoLogin?: Maybe; - /** The state of the session. */ - state: SessionState; - /** The user authorized for this session. */ - user: User; - /** The user-agent with which the session was created. */ - userAgent?: Maybe; - }; +export type CompatSession = CreationEvent & Node & { + __typename?: 'CompatSession'; + /** The browser session which started this session, if any. */ + browserSession?: Maybe; + /** When the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** The Matrix Device ID of this session. */ + deviceId: Scalars['String']['output']; + /** When the session ended. */ + finishedAt?: Maybe; + /** ID of the object. */ + id: Scalars['ID']['output']; + /** The last time the session was active. */ + lastActiveAt?: Maybe; + /** The last IP address used by the session. */ + lastActiveIp?: Maybe; + /** The associated SSO login, if any. */ + ssoLogin?: Maybe; + /** The state of the session. */ + state: SessionState; + /** The user authorized for this session. */ + user: User; + /** The user-agent with which the session was created. */ + userAgent?: Maybe; +}; export type CompatSessionConnection = { - __typename?: "CompatSessionConnection"; + __typename?: 'CompatSessionConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ @@ -264,14 +251,14 @@ export type CompatSessionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars["Int"]["output"]; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CompatSessionEdge = { - __typename?: "CompatSessionEdge"; + __typename?: 'CompatSessionEdge'; /** A cursor for use in pagination */ - cursor: Scalars["String"]["output"]; + cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: CompatSession; }; @@ -279,9 +266,9 @@ export type CompatSessionEdge = { /** The type of a compatibility session. */ export enum CompatSessionType { /** The session was created by a SSO login. */ - SsoLogin = "SSO_LOGIN", + SsoLogin = 'SSO_LOGIN', /** The session was created by an unknown method. */ - Unknown = "UNKNOWN", + Unknown = 'UNKNOWN' } /** @@ -289,26 +276,26 @@ export enum CompatSessionType { * API, via the `m.login.sso` login method. */ export type CompatSsoLogin = Node & { - __typename?: "CompatSsoLogin"; + __typename?: 'CompatSsoLogin'; /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; + createdAt: Scalars['DateTime']['output']; /** When the client exchanged the login token sent during the redirection. */ - exchangedAt?: Maybe; + exchangedAt?: Maybe; /** * When the login was fulfilled, and the user was redirected back to the * client. */ - fulfilledAt?: Maybe; + fulfilledAt?: Maybe; /** ID of the object. */ - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; /** The redirect URI used during the login. */ - redirectUri: Scalars["Url"]["output"]; + redirectUri: Scalars['Url']['output']; /** The compat session which was started by this login. */ session?: Maybe; }; export type CompatSsoLoginConnection = { - __typename?: "CompatSsoLoginConnection"; + __typename?: 'CompatSsoLoginConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ @@ -316,14 +303,14 @@ export type CompatSsoLoginConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars["Int"]["output"]; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type CompatSsoLoginEdge = { - __typename?: "CompatSsoLoginEdge"; + __typename?: 'CompatSsoLoginEdge'; /** A cursor for use in pagination */ - cursor: Scalars["String"]["output"]; + cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: CompatSsoLogin; }; @@ -331,50 +318,50 @@ export type CompatSsoLoginEdge = { /** The input of the `createOauth2Session` mutation. */ export type CreateOAuth2SessionInput = { /** Whether the session should issue a never-expiring access token */ - permanent?: InputMaybe; + permanent?: InputMaybe; /** The scope of the session */ - scope: Scalars["String"]["input"]; + scope: Scalars['String']['input']; /** The ID of the user for which to create the session */ - userId: Scalars["ID"]["input"]; + userId: Scalars['ID']['input']; }; /** The payload of the `createOauth2Session` mutation. */ export type CreateOAuth2SessionPayload = { - __typename?: "CreateOAuth2SessionPayload"; + __typename?: 'CreateOAuth2SessionPayload'; /** Access token for this session */ - accessToken: Scalars["String"]["output"]; + accessToken: Scalars['String']['output']; /** The OAuth 2.0 session which was just created */ oauth2Session: Oauth2Session; /** Refresh token for this session, if it is not a permanent session */ - refreshToken?: Maybe; + refreshToken?: Maybe; }; /** An object with a creation date. */ export type CreationEvent = { /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; + createdAt: Scalars['DateTime']['output']; }; /** The type of a user agent */ export enum DeviceType { /** A mobile phone. Can also sometimes be a tablet. */ - Mobile = "MOBILE", + Mobile = 'MOBILE', /** A personal computer, laptop or desktop */ - Pc = "PC", + Pc = 'PC', /** A tablet */ - Tablet = "TABLET", + Tablet = 'TABLET', /** Unknown device type */ - Unknown = "UNKNOWN", + Unknown = 'UNKNOWN' } /** The input of the `endBrowserSession` mutation. */ export type EndBrowserSessionInput = { /** The ID of the session to end. */ - browserSessionId: Scalars["ID"]["input"]; + browserSessionId: Scalars['ID']['input']; }; export type EndBrowserSessionPayload = { - __typename?: "EndBrowserSessionPayload"; + __typename?: 'EndBrowserSessionPayload'; /** Returns the ended session. */ browserSession?: Maybe; /** The status of the mutation. */ @@ -384,19 +371,19 @@ export type EndBrowserSessionPayload = { /** The status of the `endBrowserSession` mutation. */ export enum EndBrowserSessionStatus { /** The session was ended. */ - Ended = "ENDED", + Ended = 'ENDED', /** The session was not found. */ - NotFound = "NOT_FOUND", + NotFound = 'NOT_FOUND' } /** The input of the `endCompatSession` mutation. */ export type EndCompatSessionInput = { /** The ID of the session to end. */ - compatSessionId: Scalars["ID"]["input"]; + compatSessionId: Scalars['ID']['input']; }; export type EndCompatSessionPayload = { - __typename?: "EndCompatSessionPayload"; + __typename?: 'EndCompatSessionPayload'; /** Returns the ended session. */ compatSession?: Maybe; /** The status of the mutation. */ @@ -406,19 +393,19 @@ export type EndCompatSessionPayload = { /** The status of the `endCompatSession` mutation. */ export enum EndCompatSessionStatus { /** The session was ended. */ - Ended = "ENDED", + Ended = 'ENDED', /** The session was not found. */ - NotFound = "NOT_FOUND", + NotFound = 'NOT_FOUND' } /** The input of the `endOauth2Session` mutation. */ export type EndOAuth2SessionInput = { /** The ID of the session to end. */ - oauth2SessionId: Scalars["ID"]["input"]; + oauth2SessionId: Scalars['ID']['input']; }; export type EndOAuth2SessionPayload = { - __typename?: "EndOAuth2SessionPayload"; + __typename?: 'EndOAuth2SessionPayload'; /** Returns the ended session. */ oauth2Session?: Maybe; /** The status of the mutation. */ @@ -428,22 +415,22 @@ export type EndOAuth2SessionPayload = { /** The status of the `endOauth2Session` mutation. */ export enum EndOAuth2SessionStatus { /** The session was ended. */ - Ended = "ENDED", + Ended = 'ENDED', /** The session was not found. */ - NotFound = "NOT_FOUND", + NotFound = 'NOT_FOUND' } /** The input for the `lockUser` mutation. */ export type LockUserInput = { /** Permanently lock the user. */ - deactivate?: InputMaybe; + deactivate?: InputMaybe; /** The ID of the user to lock. */ - userId: Scalars["ID"]["input"]; + userId: Scalars['ID']['input']; }; /** The payload for the `lockUser` mutation. */ export type LockUserPayload = { - __typename?: "LockUserPayload"; + __typename?: 'LockUserPayload'; /** Status of the operation */ status: LockUserStatus; /** The user that was locked. */ @@ -453,24 +440,24 @@ export type LockUserPayload = { /** The status of the `lockUser` mutation. */ export enum LockUserStatus { /** The user was locked. */ - Locked = "LOCKED", + Locked = 'LOCKED', /** The user was not found. */ - NotFound = "NOT_FOUND", + NotFound = 'NOT_FOUND' } export type MatrixUser = { - __typename?: "MatrixUser"; + __typename?: 'MatrixUser'; /** The avatar URL of the user, if any. */ - avatarUrl?: Maybe; + avatarUrl?: Maybe; /** The display name of the user, if any. */ - displayName?: Maybe; + displayName?: Maybe; /** The Matrix ID of the user. */ - mxid: Scalars["String"]["output"]; + mxid: Scalars['String']['output']; }; /** The mutations root of the GraphQL interface. */ export type Mutation = { - __typename?: "Mutation"; + __typename?: 'Mutation'; /** Add an email address to the specified user */ addEmail: AddEmailPayload; /** Add a user. This is only available to administrators. */ @@ -505,71 +492,85 @@ export type Mutation = { verifyEmail: VerifyEmailPayload; }; + /** The mutations root of the GraphQL interface. */ export type MutationAddEmailArgs = { input: AddEmailInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationAddUserArgs = { input: AddUserInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationAllowUserCrossSigningResetArgs = { input: AllowUserCrossSigningResetInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationCreateOauth2SessionArgs = { input: CreateOAuth2SessionInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationEndBrowserSessionArgs = { input: EndBrowserSessionInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationEndCompatSessionArgs = { input: EndCompatSessionInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationEndOauth2SessionArgs = { input: EndOAuth2SessionInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationLockUserArgs = { input: LockUserInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationRemoveEmailArgs = { input: RemoveEmailInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationSendVerificationEmailArgs = { input: SendVerificationEmailInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationSetCanRequestAdminArgs = { input: SetCanRequestAdminInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationSetDisplayNameArgs = { input: SetDisplayNameInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationSetPrimaryEmailArgs = { input: SetPrimaryEmailInput; }; + /** The mutations root of the GraphQL interface. */ export type MutationVerifyEmailArgs = { input: VerifyEmailInput; @@ -578,75 +579,74 @@ export type MutationVerifyEmailArgs = { /** An object with an ID. */ export type Node = { /** ID of the object. */ - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; }; /** The application type advertised by the client. */ export enum Oauth2ApplicationType { /** Client is a native application. */ - Native = "NATIVE", + Native = 'NATIVE', /** Client is a web application. */ - Web = "WEB", + Web = 'WEB' } /** An OAuth 2.0 client */ export type Oauth2Client = Node & { - __typename?: "Oauth2Client"; + __typename?: 'Oauth2Client'; /** The application type advertised by the client. */ applicationType?: Maybe; /** OAuth 2.0 client ID */ - clientId: Scalars["String"]["output"]; + clientId: Scalars['String']['output']; /** Client name advertised by the client. */ - clientName?: Maybe; + clientName?: Maybe; /** Client URI advertised by the client. */ - clientUri?: Maybe; + clientUri?: Maybe; /** List of contacts advertised by the client. */ - contacts: Array; + contacts: Array; /** ID of the object. */ - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; /** Logo URI advertised by the client. */ - logoUri?: Maybe; + logoUri?: Maybe; /** Privacy policy URI advertised by the client. */ - policyUri?: Maybe; + policyUri?: Maybe; /** List of redirect URIs used for authorization grants by the client. */ - redirectUris: Array; + redirectUris: Array; /** Terms of services URI advertised by the client. */ - tosUri?: Maybe; + tosUri?: Maybe; }; /** * An OAuth 2.0 session represents a client session which used the OAuth APIs * to login. */ -export type Oauth2Session = CreationEvent & - Node & { - __typename?: "Oauth2Session"; - /** The browser session which started this OAuth 2.0 session. */ - browserSession?: Maybe; - /** OAuth 2.0 client used by this session. */ - client: Oauth2Client; - /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; - /** When the session ended. */ - finishedAt?: Maybe; - /** ID of the object. */ - id: Scalars["ID"]["output"]; - /** The last time the session was active. */ - lastActiveAt?: Maybe; - /** The last IP address used by the session. */ - lastActiveIp?: Maybe; - /** Scope granted for this session. */ - scope: Scalars["String"]["output"]; - /** The state of the session. */ - state: SessionState; - /** User authorized for this session. */ - user?: Maybe; - /** The user-agent with which the session was created. */ - userAgent?: Maybe; - }; +export type Oauth2Session = CreationEvent & Node & { + __typename?: 'Oauth2Session'; + /** The browser session which started this OAuth 2.0 session. */ + browserSession?: Maybe; + /** OAuth 2.0 client used by this session. */ + client: Oauth2Client; + /** When the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** When the session ended. */ + finishedAt?: Maybe; + /** ID of the object. */ + id: Scalars['ID']['output']; + /** The last time the session was active. */ + lastActiveAt?: Maybe; + /** The last IP address used by the session. */ + lastActiveIp?: Maybe; + /** Scope granted for this session. */ + scope: Scalars['String']['output']; + /** The state of the session. */ + state: SessionState; + /** User authorized for this session. */ + user?: Maybe; + /** The user-agent with which the session was created. */ + userAgent?: Maybe; +}; export type Oauth2SessionConnection = { - __typename?: "Oauth2SessionConnection"; + __typename?: 'Oauth2SessionConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ @@ -654,34 +654,34 @@ export type Oauth2SessionConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars["Int"]["output"]; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type Oauth2SessionEdge = { - __typename?: "Oauth2SessionEdge"; + __typename?: 'Oauth2SessionEdge'; /** A cursor for use in pagination */ - cursor: Scalars["String"]["output"]; + cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: Oauth2Session; }; /** Information about pagination in a connection */ export type PageInfo = { - __typename?: "PageInfo"; + __typename?: 'PageInfo'; /** When paginating forwards, the cursor to continue. */ - endCursor?: Maybe; + endCursor?: Maybe; /** When paginating forwards, are there more items? */ - hasNextPage: Scalars["Boolean"]["output"]; + hasNextPage: Scalars['Boolean']['output']; /** When paginating backwards, are there more items? */ - hasPreviousPage: Scalars["Boolean"]["output"]; + hasPreviousPage: Scalars['Boolean']['output']; /** When paginating backwards, the cursor to continue. */ - startCursor?: Maybe; + startCursor?: Maybe; }; /** The query root of the GraphQL interface. */ export type Query = { - __typename?: "Query"; + __typename?: 'Query'; /** Fetch a browser session by its ID. */ browserSession?: Maybe; /** Fetch a compatible session by its ID. */ @@ -722,79 +722,91 @@ export type Query = { viewerSession: ViewerSession; }; + /** The query root of the GraphQL interface. */ export type QueryBrowserSessionArgs = { - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }; + /** The query root of the GraphQL interface. */ export type QueryCompatSessionArgs = { - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }; + /** The query root of the GraphQL interface. */ export type QueryNodeArgs = { - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }; + /** The query root of the GraphQL interface. */ export type QueryOauth2ClientArgs = { - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }; + /** The query root of the GraphQL interface. */ export type QueryOauth2SessionArgs = { - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }; + /** The query root of the GraphQL interface. */ export type QuerySessionArgs = { - deviceId: Scalars["String"]["input"]; - userId: Scalars["ID"]["input"]; + deviceId: Scalars['String']['input']; + userId: Scalars['ID']['input']; }; + /** The query root of the GraphQL interface. */ export type QueryUpstreamOauth2LinkArgs = { - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }; + /** The query root of the GraphQL interface. */ export type QueryUpstreamOauth2ProviderArgs = { - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }; + /** The query root of the GraphQL interface. */ export type QueryUpstreamOauth2ProvidersArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; + /** The query root of the GraphQL interface. */ export type QueryUserArgs = { - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }; + /** The query root of the GraphQL interface. */ export type QueryUserByUsernameArgs = { - username: Scalars["String"]["input"]; + username: Scalars['String']['input']; }; + /** The query root of the GraphQL interface. */ export type QueryUserEmailArgs = { - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }; /** The input for the `removeEmail` mutation */ export type RemoveEmailInput = { /** The ID of the email address to remove */ - userEmailId: Scalars["ID"]["input"]; + userEmailId: Scalars['ID']['input']; }; /** The payload of the `removeEmail` mutation */ export type RemoveEmailPayload = { - __typename?: "RemoveEmailPayload"; + __typename?: 'RemoveEmailPayload'; /** The email address that was removed */ email?: Maybe; /** Status of the operation */ @@ -806,22 +818,22 @@ export type RemoveEmailPayload = { /** The status of the `removeEmail` mutation */ export enum RemoveEmailStatus { /** The email address was not found */ - NotFound = "NOT_FOUND", + NotFound = 'NOT_FOUND', /** Can't remove the primary email address */ - Primary = "PRIMARY", + Primary = 'PRIMARY', /** The email address was removed */ - Removed = "REMOVED", + Removed = 'REMOVED' } /** The input for the `sendVerificationEmail` mutation */ export type SendVerificationEmailInput = { /** The ID of the email address to verify */ - userEmailId: Scalars["ID"]["input"]; + userEmailId: Scalars['ID']['input']; }; /** The payload of the `sendVerificationEmail` mutation */ export type SendVerificationEmailPayload = { - __typename?: "SendVerificationEmailPayload"; + __typename?: 'SendVerificationEmailPayload'; /** The email address to which the verification email was sent */ email: UserEmail; /** Status of the operation */ @@ -833,9 +845,9 @@ export type SendVerificationEmailPayload = { /** The status of the `sendVerificationEmail` mutation */ export enum SendVerificationEmailStatus { /** The email address is already verified */ - AlreadyVerified = "ALREADY_VERIFIED", + AlreadyVerified = 'ALREADY_VERIFIED', /** The verification email was sent */ - Sent = "SENT", + Sent = 'SENT' } /** A client session, either compat or OAuth 2.0 */ @@ -844,22 +856,22 @@ export type Session = CompatSession | Oauth2Session; /** The state of a session */ export enum SessionState { /** The session is active. */ - Active = "ACTIVE", + Active = 'ACTIVE', /** The session is no longer active. */ - Finished = "FINISHED", + Finished = 'FINISHED' } /** The input for the `setCanRequestAdmin` mutation. */ export type SetCanRequestAdminInput = { /** Whether the user can request admin. */ - canRequestAdmin: Scalars["Boolean"]["input"]; + canRequestAdmin: Scalars['Boolean']['input']; /** The ID of the user to update. */ - userId: Scalars["ID"]["input"]; + userId: Scalars['ID']['input']; }; /** The payload for the `setCanRequestAdmin` mutation. */ export type SetCanRequestAdminPayload = { - __typename?: "SetCanRequestAdminPayload"; + __typename?: 'SetCanRequestAdminPayload'; /** The user that was updated. */ user?: Maybe; }; @@ -867,14 +879,14 @@ export type SetCanRequestAdminPayload = { /** The input for the `addEmail` mutation */ export type SetDisplayNameInput = { /** The display name to set. If `None`, the display name will be removed. */ - displayName?: InputMaybe; + displayName?: InputMaybe; /** The ID of the user to add the email address to */ - userId: Scalars["ID"]["input"]; + userId: Scalars['ID']['input']; }; /** The payload of the `setDisplayName` mutation */ export type SetDisplayNamePayload = { - __typename?: "SetDisplayNamePayload"; + __typename?: 'SetDisplayNamePayload'; /** Status of the operation */ status: SetDisplayNameStatus; /** The user that was updated */ @@ -884,20 +896,20 @@ export type SetDisplayNamePayload = { /** The status of the `setDisplayName` mutation */ export enum SetDisplayNameStatus { /** The display name is invalid */ - Invalid = "INVALID", + Invalid = 'INVALID', /** The display name was set */ - Set = "SET", + Set = 'SET' } /** The input for the `setPrimaryEmail` mutation */ export type SetPrimaryEmailInput = { /** The ID of the email address to set as primary */ - userEmailId: Scalars["ID"]["input"]; + userEmailId: Scalars['ID']['input']; }; /** The payload of the `setPrimaryEmail` mutation */ export type SetPrimaryEmailPayload = { - __typename?: "SetPrimaryEmailPayload"; + __typename?: 'SetPrimaryEmailPayload'; status: SetPrimaryEmailStatus; /** The user to whom the email address belongs */ user?: Maybe; @@ -906,30 +918,29 @@ export type SetPrimaryEmailPayload = { /** The status of the `setPrimaryEmail` mutation */ export enum SetPrimaryEmailStatus { /** The email address was not found */ - NotFound = "NOT_FOUND", + NotFound = 'NOT_FOUND', /** The email address was set as primary */ - Set = "SET", + Set = 'SET', /** Can't make an unverified email address primary */ - Unverified = "UNVERIFIED", + Unverified = 'UNVERIFIED' } -export type UpstreamOAuth2Link = CreationEvent & - Node & { - __typename?: "UpstreamOAuth2Link"; - /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; - /** ID of the object. */ - id: Scalars["ID"]["output"]; - /** The provider for which this link is. */ - provider: UpstreamOAuth2Provider; - /** Subject used for linking */ - subject: Scalars["String"]["output"]; - /** The user to which this link is associated. */ - user?: Maybe; - }; +export type UpstreamOAuth2Link = CreationEvent & Node & { + __typename?: 'UpstreamOAuth2Link'; + /** When the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** ID of the object. */ + id: Scalars['ID']['output']; + /** The provider for which this link is. */ + provider: UpstreamOAuth2Provider; + /** Subject used for linking */ + subject: Scalars['String']['output']; + /** The user to which this link is associated. */ + user?: Maybe; +}; export type UpstreamOAuth2LinkConnection = { - __typename?: "UpstreamOAuth2LinkConnection"; + __typename?: 'UpstreamOAuth2LinkConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ @@ -937,33 +948,32 @@ export type UpstreamOAuth2LinkConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars["Int"]["output"]; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type UpstreamOAuth2LinkEdge = { - __typename?: "UpstreamOAuth2LinkEdge"; + __typename?: 'UpstreamOAuth2LinkEdge'; /** A cursor for use in pagination */ - cursor: Scalars["String"]["output"]; + cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: UpstreamOAuth2Link; }; -export type UpstreamOAuth2Provider = CreationEvent & - Node & { - __typename?: "UpstreamOAuth2Provider"; - /** Client ID used for this provider. */ - clientId: Scalars["String"]["output"]; - /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; - /** ID of the object. */ - id: Scalars["ID"]["output"]; - /** OpenID Connect issuer URL. */ - issuer: Scalars["String"]["output"]; - }; +export type UpstreamOAuth2Provider = CreationEvent & Node & { + __typename?: 'UpstreamOAuth2Provider'; + /** Client ID used for this provider. */ + clientId: Scalars['String']['output']; + /** When the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** ID of the object. */ + id: Scalars['ID']['output']; + /** OpenID Connect issuer URL. */ + issuer: Scalars['String']['output']; +}; export type UpstreamOAuth2ProviderConnection = { - __typename?: "UpstreamOAuth2ProviderConnection"; + __typename?: 'UpstreamOAuth2ProviderConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ @@ -971,21 +981,21 @@ export type UpstreamOAuth2ProviderConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars["Int"]["output"]; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type UpstreamOAuth2ProviderEdge = { - __typename?: "UpstreamOAuth2ProviderEdge"; + __typename?: 'UpstreamOAuth2ProviderEdge'; /** A cursor for use in pagination */ - cursor: Scalars["String"]["output"]; + cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: UpstreamOAuth2Provider; }; /** A user is an individual's account. */ export type User = Node & { - __typename?: "User"; + __typename?: 'User'; /** * Get the list of both compat and OAuth 2.0 sessions, chronologically * sorted @@ -994,19 +1004,19 @@ export type User = Node & { /** Get the list of active browser sessions, chronologically sorted */ browserSessions: BrowserSessionConnection; /** Whether the user can request admin privileges. */ - canRequestAdmin: Scalars["Boolean"]["output"]; + canRequestAdmin: Scalars['Boolean']['output']; /** Get the list of compatibility sessions, chronologically sorted */ compatSessions: CompatSessionConnection; /** Get the list of compatibility SSO logins, chronologically sorted */ compatSsoLogins: CompatSsoLoginConnection; /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; + createdAt: Scalars['DateTime']['output']; /** Get the list of emails, chronologically sorted */ emails: UserEmailConnection; /** ID of the object. */ - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; /** When the user was locked out. */ - lockedAt?: Maybe; + lockedAt?: Maybe; /** Access to the user's Matrix account information. */ matrix: MatrixUser; /** Get the list of OAuth 2.0 sessions, chronologically sorted */ @@ -1016,112 +1026,118 @@ export type User = Node & { /** Get the list of upstream OAuth 2.0 links */ upstreamOauth2Links: UpstreamOAuth2LinkConnection; /** Username chosen by the user. */ - username: Scalars["String"]["output"]; + username: Scalars['String']['output']; }; + /** A user is an individual's account. */ export type UserAppSessionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - browserSession?: InputMaybe; - device?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + browserSession?: InputMaybe; + device?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; state?: InputMaybe; }; + /** A user is an individual's account. */ export type UserBrowserSessionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; state?: InputMaybe; }; + /** A user is an individual's account. */ export type UserCompatSessionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; state?: InputMaybe; type?: InputMaybe; }; + /** A user is an individual's account. */ export type UserCompatSsoLoginsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; + /** A user is an individual's account. */ export type UserEmailsArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; state?: InputMaybe; }; + /** A user is an individual's account. */ export type UserOauth2SessionsArgs = { - after?: InputMaybe; - before?: InputMaybe; - client?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + client?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; state?: InputMaybe; }; + /** A user is an individual's account. */ export type UserUpstreamOauth2LinksArgs = { - after?: InputMaybe; - before?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A parsed user agent string */ export type UserAgent = { - __typename?: "UserAgent"; + __typename?: 'UserAgent'; /** The device type */ deviceType: DeviceType; /** The device model */ - model?: Maybe; + model?: Maybe; /** The name of the browser */ - name?: Maybe; + name?: Maybe; /** The operating system name */ - os?: Maybe; + os?: Maybe; /** The operating system version */ - osVersion?: Maybe; + osVersion?: Maybe; /** The user agent string */ - raw: Scalars["String"]["output"]; + raw: Scalars['String']['output']; /** The version of the browser */ - version?: Maybe; + version?: Maybe; }; /** A user email address */ -export type UserEmail = CreationEvent & - Node & { - __typename?: "UserEmail"; - /** - * When the email address was confirmed. Is `null` if the email was never - * verified by the user. - */ - confirmedAt?: Maybe; - /** When the object was created. */ - createdAt: Scalars["DateTime"]["output"]; - /** Email address */ - email: Scalars["String"]["output"]; - /** ID of the object. */ - id: Scalars["ID"]["output"]; - }; +export type UserEmail = CreationEvent & Node & { + __typename?: 'UserEmail'; + /** + * When the email address was confirmed. Is `null` if the email was never + * verified by the user. + */ + confirmedAt?: Maybe; + /** When the object was created. */ + createdAt: Scalars['DateTime']['output']; + /** Email address */ + email: Scalars['String']['output']; + /** ID of the object. */ + id: Scalars['ID']['output']; +}; export type UserEmailConnection = { - __typename?: "UserEmailConnection"; + __typename?: 'UserEmailConnection'; /** A list of edges. */ edges: Array; /** A list of nodes. */ @@ -1129,14 +1145,14 @@ export type UserEmailConnection = { /** Information to aid in pagination. */ pageInfo: PageInfo; /** Identifies the total count of items in the connection. */ - totalCount: Scalars["Int"]["output"]; + totalCount: Scalars['Int']['output']; }; /** An edge in a connection. */ export type UserEmailEdge = { - __typename?: "UserEmailEdge"; + __typename?: 'UserEmailEdge'; /** A cursor for use in pagination */ - cursor: Scalars["String"]["output"]; + cursor: Scalars['String']['output']; /** The item at the end of the edge */ node: UserEmail; }; @@ -1144,22 +1160,22 @@ export type UserEmailEdge = { /** The state of a compatibility session. */ export enum UserEmailState { /** The email address has been confirmed. */ - Confirmed = "CONFIRMED", + Confirmed = 'CONFIRMED', /** The email address is pending confirmation. */ - Pending = "PENDING", + Pending = 'PENDING' } /** The input for the `verifyEmail` mutation */ export type VerifyEmailInput = { /** The verification code */ - code: Scalars["String"]["input"]; + code: Scalars['String']['input']; /** The ID of the email address to verify */ - userEmailId: Scalars["ID"]["input"]; + userEmailId: Scalars['ID']['input']; }; /** The payload of the `verifyEmail` mutation */ export type VerifyEmailPayload = { - __typename?: "VerifyEmailPayload"; + __typename?: 'VerifyEmailPayload'; /** The email address that was verified */ email?: Maybe; /** Status of the operation */ @@ -1171,11 +1187,11 @@ export type VerifyEmailPayload = { /** The status of the `verifyEmail` mutation */ export enum VerifyEmailStatus { /** The email address was already verified before */ - AlreadyVerified = "ALREADY_VERIFIED", + AlreadyVerified = 'ALREADY_VERIFIED', /** The verification code is invalid */ - InvalidCode = "INVALID_CODE", + InvalidCode = 'INVALID_CODE', /** The email address was just verified */ - Verified = "VERIFIED", + Verified = 'VERIFIED' } /** Represents the current viewer */ @@ -1184,3599 +1200,267 @@ export type Viewer = Anonymous | User; /** Represents the current viewer's session */ export type ViewerSession = Anonymous | BrowserSession | Oauth2Session; -export type BrowserSession_SessionFragment = { - __typename?: "BrowserSession"; - id: string; - createdAt: string; - finishedAt?: string | null; - lastActiveIp?: string | null; - lastActiveAt?: string | null; - userAgent?: { - __typename?: "UserAgent"; - raw: string; - name?: string | null; - os?: string | null; - model?: string | null; - deviceType: DeviceType; - } | null; - lastAuthentication?: { - __typename?: "Authentication"; - id: string; - createdAt: string; - } | null; -} & { " $fragmentName"?: "BrowserSession_SessionFragment" }; +export type BrowserSession_SessionFragment = { __typename?: 'BrowserSession', id: string, createdAt: string, finishedAt?: string | null, lastActiveIp?: string | null, lastActiveAt?: string | null, userAgent?: { __typename?: 'UserAgent', raw: string, name?: string | null, os?: string | null, model?: string | null, deviceType: DeviceType } | null, lastAuthentication?: { __typename?: 'Authentication', id: string, createdAt: string } | null } & { ' $fragmentName'?: 'BrowserSession_SessionFragment' }; export type EndBrowserSessionMutationVariables = Exact<{ - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }>; -export type EndBrowserSessionMutation = { - __typename?: "Mutation"; - endBrowserSession: { - __typename?: "EndBrowserSessionPayload"; - status: EndBrowserSessionStatus; - browserSession?: - | ({ __typename?: "BrowserSession"; id: string } & { - " $fragmentRefs"?: { - BrowserSession_SessionFragment: BrowserSession_SessionFragment; - }; - }) - | null; - }; -}; -export type OAuth2Client_DetailFragment = { - __typename?: "Oauth2Client"; - id: string; - clientId: string; - clientName?: string | null; - clientUri?: string | null; - logoUri?: string | null; - tosUri?: string | null; - policyUri?: string | null; - redirectUris: Array; -} & { " $fragmentName"?: "OAuth2Client_DetailFragment" }; +export type EndBrowserSessionMutation = { __typename?: 'Mutation', endBrowserSession: { __typename?: 'EndBrowserSessionPayload', status: EndBrowserSessionStatus, browserSession?: ( + { __typename?: 'BrowserSession', id: string } + & { ' $fragmentRefs'?: { 'BrowserSession_SessionFragment': BrowserSession_SessionFragment } } + ) | null } }; -export type CompatSession_SessionFragment = { - __typename?: "CompatSession"; - id: string; - createdAt: string; - deviceId: string; - finishedAt?: string | null; - lastActiveIp?: string | null; - lastActiveAt?: string | null; - userAgent?: { - __typename?: "UserAgent"; - name?: string | null; - os?: string | null; - model?: string | null; - deviceType: DeviceType; - } | null; - ssoLogin?: { - __typename?: "CompatSsoLogin"; - id: string; - redirectUri: string; - } | null; -} & { " $fragmentName"?: "CompatSession_SessionFragment" }; +export type OAuth2Client_DetailFragment = { __typename?: 'Oauth2Client', id: string, clientId: string, clientName?: string | null, clientUri?: string | null, logoUri?: string | null, tosUri?: string | null, policyUri?: string | null, redirectUris: Array } & { ' $fragmentName'?: 'OAuth2Client_DetailFragment' }; + +export type CompatSession_SessionFragment = { __typename?: 'CompatSession', id: string, createdAt: string, deviceId: string, finishedAt?: string | null, lastActiveIp?: string | null, lastActiveAt?: string | null, userAgent?: { __typename?: 'UserAgent', name?: string | null, os?: string | null, model?: string | null, deviceType: DeviceType } | null, ssoLogin?: { __typename?: 'CompatSsoLogin', id: string, redirectUri: string } | null } & { ' $fragmentName'?: 'CompatSession_SessionFragment' }; export type EndCompatSessionMutationVariables = Exact<{ - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }>; -export type EndCompatSessionMutation = { - __typename?: "Mutation"; - endCompatSession: { - __typename?: "EndCompatSessionPayload"; - status: EndCompatSessionStatus; - compatSession?: { - __typename?: "CompatSession"; - id: string; - finishedAt?: string | null; - } | null; - }; -}; -export type OAuth2Session_SessionFragment = { - __typename?: "Oauth2Session"; - id: string; - scope: string; - createdAt: string; - finishedAt?: string | null; - lastActiveIp?: string | null; - lastActiveAt?: string | null; - userAgent?: { - __typename?: "UserAgent"; - name?: string | null; - model?: string | null; - os?: string | null; - deviceType: DeviceType; - } | null; - client: { - __typename?: "Oauth2Client"; - id: string; - clientId: string; - clientName?: string | null; - applicationType?: Oauth2ApplicationType | null; - logoUri?: string | null; - }; -} & { " $fragmentName"?: "OAuth2Session_SessionFragment" }; +export type EndCompatSessionMutation = { __typename?: 'Mutation', endCompatSession: { __typename?: 'EndCompatSessionPayload', status: EndCompatSessionStatus, compatSession?: { __typename?: 'CompatSession', id: string, finishedAt?: string | null } | null } }; + +export type OAuth2Session_SessionFragment = { __typename?: 'Oauth2Session', id: string, scope: string, createdAt: string, finishedAt?: string | null, lastActiveIp?: string | null, lastActiveAt?: string | null, userAgent?: { __typename?: 'UserAgent', name?: string | null, model?: string | null, os?: string | null, deviceType: DeviceType } | null, client: { __typename?: 'Oauth2Client', id: string, clientId: string, clientName?: string | null, applicationType?: Oauth2ApplicationType | null, logoUri?: string | null } } & { ' $fragmentName'?: 'OAuth2Session_SessionFragment' }; export type EndOAuth2SessionMutationVariables = Exact<{ - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }>; -export type EndOAuth2SessionMutation = { - __typename?: "Mutation"; - endOauth2Session: { - __typename?: "EndOAuth2SessionPayload"; - status: EndOAuth2SessionStatus; - oauth2Session?: - | ({ __typename?: "Oauth2Session"; id: string } & { - " $fragmentRefs"?: { - OAuth2Session_SessionFragment: OAuth2Session_SessionFragment; - }; - }) - | null; - }; -}; -export type BrowserSession_DetailFragment = { - __typename?: "BrowserSession"; - id: string; - createdAt: string; - finishedAt?: string | null; - lastActiveIp?: string | null; - lastActiveAt?: string | null; - userAgent?: { - __typename?: "UserAgent"; - name?: string | null; - model?: string | null; - os?: string | null; - } | null; - lastAuthentication?: { - __typename?: "Authentication"; - id: string; - createdAt: string; - } | null; - user: { __typename?: "User"; id: string; username: string }; -} & { " $fragmentName"?: "BrowserSession_DetailFragment" }; +export type EndOAuth2SessionMutation = { __typename?: 'Mutation', endOauth2Session: { __typename?: 'EndOAuth2SessionPayload', status: EndOAuth2SessionStatus, oauth2Session?: ( + { __typename?: 'Oauth2Session', id: string } + & { ' $fragmentRefs'?: { 'OAuth2Session_SessionFragment': OAuth2Session_SessionFragment } } + ) | null } }; -export type CompatSession_DetailFragment = { - __typename?: "CompatSession"; - id: string; - createdAt: string; - deviceId: string; - finishedAt?: string | null; - lastActiveIp?: string | null; - lastActiveAt?: string | null; - userAgent?: { - __typename?: "UserAgent"; - name?: string | null; - os?: string | null; - model?: string | null; - } | null; - ssoLogin?: { - __typename?: "CompatSsoLogin"; - id: string; - redirectUri: string; - } | null; -} & { " $fragmentName"?: "CompatSession_DetailFragment" }; +export type BrowserSession_DetailFragment = { __typename?: 'BrowserSession', id: string, createdAt: string, finishedAt?: string | null, lastActiveIp?: string | null, lastActiveAt?: string | null, userAgent?: { __typename?: 'UserAgent', name?: string | null, model?: string | null, os?: string | null } | null, lastAuthentication?: { __typename?: 'Authentication', id: string, createdAt: string } | null, user: { __typename?: 'User', id: string, username: string } } & { ' $fragmentName'?: 'BrowserSession_DetailFragment' }; -export type OAuth2Session_DetailFragment = { - __typename?: "Oauth2Session"; - id: string; - scope: string; - createdAt: string; - finishedAt?: string | null; - lastActiveIp?: string | null; - lastActiveAt?: string | null; - client: { - __typename?: "Oauth2Client"; - id: string; - clientId: string; - clientName?: string | null; - clientUri?: string | null; - logoUri?: string | null; - }; -} & { " $fragmentName"?: "OAuth2Session_DetailFragment" }; +export type CompatSession_DetailFragment = { __typename?: 'CompatSession', id: string, createdAt: string, deviceId: string, finishedAt?: string | null, lastActiveIp?: string | null, lastActiveAt?: string | null, userAgent?: { __typename?: 'UserAgent', name?: string | null, os?: string | null, model?: string | null } | null, ssoLogin?: { __typename?: 'CompatSsoLogin', id: string, redirectUri: string } | null } & { ' $fragmentName'?: 'CompatSession_DetailFragment' }; -export type UnverifiedEmailAlert_UserFragment = { - __typename?: "User"; - id: string; - unverifiedEmails: { __typename?: "UserEmailConnection"; totalCount: number }; -} & { " $fragmentName"?: "UnverifiedEmailAlert_UserFragment" }; +export type OAuth2Session_DetailFragment = { __typename?: 'Oauth2Session', id: string, scope: string, createdAt: string, finishedAt?: string | null, lastActiveIp?: string | null, lastActiveAt?: string | null, client: { __typename?: 'Oauth2Client', id: string, clientId: string, clientName?: string | null, clientUri?: string | null, logoUri?: string | null } } & { ' $fragmentName'?: 'OAuth2Session_DetailFragment' }; -export type UserEmail_EmailFragment = { - __typename?: "UserEmail"; - id: string; - email: string; - confirmedAt?: string | null; -} & { " $fragmentName"?: "UserEmail_EmailFragment" }; +export type UnverifiedEmailAlert_UserFragment = { __typename?: 'User', id: string, unverifiedEmails: { __typename?: 'UserEmailConnection', totalCount: number } } & { ' $fragmentName'?: 'UnverifiedEmailAlert_UserFragment' }; + +export type UserEmail_EmailFragment = { __typename?: 'UserEmail', id: string, email: string, confirmedAt?: string | null } & { ' $fragmentName'?: 'UserEmail_EmailFragment' }; export type RemoveEmailMutationVariables = Exact<{ - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }>; -export type RemoveEmailMutation = { - __typename?: "Mutation"; - removeEmail: { - __typename?: "RemoveEmailPayload"; - status: RemoveEmailStatus; - user?: { __typename?: "User"; id: string } | null; - }; -}; + +export type RemoveEmailMutation = { __typename?: 'Mutation', removeEmail: { __typename?: 'RemoveEmailPayload', status: RemoveEmailStatus, user?: { __typename?: 'User', id: string } | null } }; export type SetPrimaryEmailMutationVariables = Exact<{ - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }>; -export type SetPrimaryEmailMutation = { - __typename?: "Mutation"; - setPrimaryEmail: { - __typename?: "SetPrimaryEmailPayload"; - status: SetPrimaryEmailStatus; - user?: { - __typename?: "User"; - id: string; - primaryEmail?: { __typename?: "UserEmail"; id: string } | null; - } | null; - }; -}; -export type UserGreeting_UserFragment = { - __typename?: "User"; - id: string; - matrix: { - __typename?: "MatrixUser"; - mxid: string; - displayName?: string | null; - }; -} & { " $fragmentName"?: "UserGreeting_UserFragment" }; +export type SetPrimaryEmailMutation = { __typename?: 'Mutation', setPrimaryEmail: { __typename?: 'SetPrimaryEmailPayload', status: SetPrimaryEmailStatus, user?: { __typename?: 'User', id: string, primaryEmail?: { __typename?: 'UserEmail', id: string } | null } | null } }; + +export type UserGreeting_UserFragment = { __typename?: 'User', id: string, matrix: { __typename?: 'MatrixUser', mxid: string, displayName?: string | null } } & { ' $fragmentName'?: 'UserGreeting_UserFragment' }; export type SetDisplayNameMutationVariables = Exact<{ - userId: Scalars["ID"]["input"]; - displayName?: InputMaybe; + userId: Scalars['ID']['input']; + displayName?: InputMaybe; }>; -export type SetDisplayNameMutation = { - __typename?: "Mutation"; - setDisplayName: { - __typename?: "SetDisplayNamePayload"; - status: SetDisplayNameStatus; - user?: { - __typename?: "User"; - id: string; - matrix: { __typename?: "MatrixUser"; displayName?: string | null }; - } | null; - }; -}; + +export type SetDisplayNameMutation = { __typename?: 'Mutation', setDisplayName: { __typename?: 'SetDisplayNamePayload', status: SetDisplayNameStatus, user?: { __typename?: 'User', id: string, matrix: { __typename?: 'MatrixUser', displayName?: string | null } } | null } }; export type AddEmailMutationVariables = Exact<{ - userId: Scalars["ID"]["input"]; - email: Scalars["String"]["input"]; + userId: Scalars['ID']['input']; + email: Scalars['String']['input']; }>; -export type AddEmailMutation = { - __typename?: "Mutation"; - addEmail: { - __typename?: "AddEmailPayload"; - status: AddEmailStatus; - violations?: Array | null; - email?: - | ({ __typename?: "UserEmail"; id: string } & { - " $fragmentRefs"?: { - UserEmail_EmailFragment: UserEmail_EmailFragment; - }; - }) - | null; - }; -}; + +export type AddEmailMutation = { __typename?: 'Mutation', addEmail: { __typename?: 'AddEmailPayload', status: AddEmailStatus, violations?: Array | null, email?: ( + { __typename?: 'UserEmail', id: string } + & { ' $fragmentRefs'?: { 'UserEmail_EmailFragment': UserEmail_EmailFragment } } + ) | null } }; export type UserEmailListQueryQueryVariables = Exact<{ - userId: Scalars["ID"]["input"]; - first?: InputMaybe; - after?: InputMaybe; - last?: InputMaybe; - before?: InputMaybe; + userId: Scalars['ID']['input']; + first?: InputMaybe; + after?: InputMaybe; + last?: InputMaybe; + before?: InputMaybe; }>; -export type UserEmailListQueryQuery = { - __typename?: "Query"; - user?: { - __typename?: "User"; - id: string; - emails: { - __typename?: "UserEmailConnection"; - totalCount: number; - edges: Array<{ - __typename?: "UserEmailEdge"; - cursor: string; - node: { __typename?: "UserEmail"; id: string } & { - " $fragmentRefs"?: { - UserEmail_EmailFragment: UserEmail_EmailFragment; - }; - }; - }>; - pageInfo: { - __typename?: "PageInfo"; - hasNextPage: boolean; - hasPreviousPage: boolean; - startCursor?: string | null; - endCursor?: string | null; - }; - }; - } | null; -}; -export type UserEmailList_UserFragment = { - __typename?: "User"; - id: string; - primaryEmail?: { __typename?: "UserEmail"; id: string } | null; -} & { " $fragmentName"?: "UserEmailList_UserFragment" }; +export type UserEmailListQueryQuery = { __typename?: 'Query', user?: { __typename?: 'User', id: string, emails: { __typename?: 'UserEmailConnection', totalCount: number, edges: Array<{ __typename?: 'UserEmailEdge', cursor: string, node: ( + { __typename?: 'UserEmail', id: string } + & { ' $fragmentRefs'?: { 'UserEmail_EmailFragment': UserEmail_EmailFragment } } + ) }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null, endCursor?: string | null } } } | null }; -export type BrowserSessionsOverview_UserFragment = { - __typename?: "User"; - id: string; - browserSessions: { - __typename?: "BrowserSessionConnection"; - totalCount: number; - }; -} & { " $fragmentName"?: "BrowserSessionsOverview_UserFragment" }; +export type UserEmailList_UserFragment = { __typename?: 'User', id: string, primaryEmail?: { __typename?: 'UserEmail', id: string } | null } & { ' $fragmentName'?: 'UserEmailList_UserFragment' }; -export type UserEmail_VerifyEmailFragment = { - __typename?: "UserEmail"; - id: string; - email: string; -} & { " $fragmentName"?: "UserEmail_VerifyEmailFragment" }; +export type BrowserSessionsOverview_UserFragment = { __typename?: 'User', id: string, browserSessions: { __typename?: 'BrowserSessionConnection', totalCount: number } } & { ' $fragmentName'?: 'BrowserSessionsOverview_UserFragment' }; + +export type UserEmail_VerifyEmailFragment = { __typename?: 'UserEmail', id: string, email: string } & { ' $fragmentName'?: 'UserEmail_VerifyEmailFragment' }; export type VerifyEmailMutationVariables = Exact<{ - id: Scalars["ID"]["input"]; - code: Scalars["String"]["input"]; + id: Scalars['ID']['input']; + code: Scalars['String']['input']; }>; -export type VerifyEmailMutation = { - __typename?: "Mutation"; - verifyEmail: { - __typename?: "VerifyEmailPayload"; - status: VerifyEmailStatus; - user?: { - __typename?: "User"; - id: string; - primaryEmail?: { __typename?: "UserEmail"; id: string } | null; - } | null; - email?: - | ({ __typename?: "UserEmail"; id: string } & { - " $fragmentRefs"?: { - UserEmail_EmailFragment: UserEmail_EmailFragment; - }; - }) - | null; - }; -}; + +export type VerifyEmailMutation = { __typename?: 'Mutation', verifyEmail: { __typename?: 'VerifyEmailPayload', status: VerifyEmailStatus, user?: { __typename?: 'User', id: string, primaryEmail?: { __typename?: 'UserEmail', id: string } | null } | null, email?: ( + { __typename?: 'UserEmail', id: string } + & { ' $fragmentRefs'?: { 'UserEmail_EmailFragment': UserEmail_EmailFragment } } + ) | null } }; export type ResendVerificationEmailMutationVariables = Exact<{ - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }>; -export type ResendVerificationEmailMutation = { - __typename?: "Mutation"; - sendVerificationEmail: { - __typename?: "SendVerificationEmailPayload"; - status: SendVerificationEmailStatus; - user: { - __typename?: "User"; - id: string; - primaryEmail?: { __typename?: "UserEmail"; id: string } | null; - }; - email: { __typename?: "UserEmail"; id: string } & { - " $fragmentRefs"?: { UserEmail_EmailFragment: UserEmail_EmailFragment }; - }; - }; -}; -export type UserProfileQueryQueryVariables = Exact<{ [key: string]: never }>; +export type ResendVerificationEmailMutation = { __typename?: 'Mutation', sendVerificationEmail: { __typename?: 'SendVerificationEmailPayload', status: SendVerificationEmailStatus, user: { __typename?: 'User', id: string, primaryEmail?: { __typename?: 'UserEmail', id: string } | null }, email: ( + { __typename?: 'UserEmail', id: string } + & { ' $fragmentRefs'?: { 'UserEmail_EmailFragment': UserEmail_EmailFragment } } + ) } }; -export type UserProfileQueryQuery = { - __typename?: "Query"; - viewer: - | { __typename: "Anonymous" } - | ({ __typename: "User"; id: string } & { - " $fragmentRefs"?: { - UserEmailList_UserFragment: UserEmailList_UserFragment; - }; - }); -}; +export type UserProfileQueryQueryVariables = Exact<{ [key: string]: never; }>; + + +export type UserProfileQueryQuery = { __typename?: 'Query', viewer: { __typename: 'Anonymous' } | ( + { __typename: 'User', id: string } + & { ' $fragmentRefs'?: { 'UserEmailList_UserFragment': UserEmailList_UserFragment } } + ) }; export type SessionDetailQueryQueryVariables = Exact<{ - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }>; -export type SessionDetailQueryQuery = { - __typename?: "Query"; - viewerSession: - | { __typename?: "Anonymous"; id: string } - | { __typename?: "BrowserSession"; id: string } - | { __typename?: "Oauth2Session"; id: string }; - node?: - | { __typename: "Anonymous"; id: string } - | { __typename: "Authentication"; id: string } - | ({ __typename: "BrowserSession"; id: string } & { - " $fragmentRefs"?: { - BrowserSession_DetailFragment: BrowserSession_DetailFragment; - }; - }) - | ({ __typename: "CompatSession"; id: string } & { - " $fragmentRefs"?: { - CompatSession_DetailFragment: CompatSession_DetailFragment; - }; - }) - | { __typename: "CompatSsoLogin"; id: string } - | { __typename: "Oauth2Client"; id: string } - | ({ __typename: "Oauth2Session"; id: string } & { - " $fragmentRefs"?: { - OAuth2Session_DetailFragment: OAuth2Session_DetailFragment; - }; - }) - | { __typename: "UpstreamOAuth2Link"; id: string } - | { __typename: "UpstreamOAuth2Provider"; id: string } - | { __typename: "User"; id: string } - | { __typename: "UserEmail"; id: string } - | null; -}; + +export type SessionDetailQueryQuery = { __typename?: 'Query', viewerSession: { __typename?: 'Anonymous', id: string } | { __typename?: 'BrowserSession', id: string } | { __typename?: 'Oauth2Session', id: string }, node?: { __typename: 'Anonymous', id: string } | { __typename: 'Authentication', id: string } | ( + { __typename: 'BrowserSession', id: string } + & { ' $fragmentRefs'?: { 'BrowserSession_DetailFragment': BrowserSession_DetailFragment } } + ) | ( + { __typename: 'CompatSession', id: string } + & { ' $fragmentRefs'?: { 'CompatSession_DetailFragment': CompatSession_DetailFragment } } + ) | { __typename: 'CompatSsoLogin', id: string } | { __typename: 'Oauth2Client', id: string } | ( + { __typename: 'Oauth2Session', id: string } + & { ' $fragmentRefs'?: { 'OAuth2Session_DetailFragment': OAuth2Session_DetailFragment } } + ) | { __typename: 'UpstreamOAuth2Link', id: string } | { __typename: 'UpstreamOAuth2Provider', id: string } | { __typename: 'User', id: string } | { __typename: 'UserEmail', id: string } | null }; export type BrowserSessionListQueryVariables = Exact<{ - first?: InputMaybe; - after?: InputMaybe; - last?: InputMaybe; - before?: InputMaybe; + first?: InputMaybe; + after?: InputMaybe; + last?: InputMaybe; + before?: InputMaybe; }>; -export type BrowserSessionListQuery = { - __typename?: "Query"; - viewerSession: - | { __typename: "Anonymous" } - | { - __typename: "BrowserSession"; - id: string; - user: { - __typename?: "User"; - id: string; - browserSessions: { - __typename?: "BrowserSessionConnection"; - totalCount: number; - edges: Array<{ - __typename?: "BrowserSessionEdge"; - cursor: string; - node: { __typename?: "BrowserSession"; id: string } & { - " $fragmentRefs"?: { - BrowserSession_SessionFragment: BrowserSession_SessionFragment; - }; - }; - }>; - pageInfo: { - __typename?: "PageInfo"; - hasNextPage: boolean; - hasPreviousPage: boolean; - startCursor?: string | null; - endCursor?: string | null; - }; - }; - }; - } - | { __typename: "Oauth2Session" }; -}; -export type SessionsOverviewQueryQueryVariables = Exact<{ - [key: string]: never; -}>; +export type BrowserSessionListQuery = { __typename?: 'Query', viewerSession: { __typename: 'Anonymous' } | { __typename: 'BrowserSession', id: string, user: { __typename?: 'User', id: string, browserSessions: { __typename?: 'BrowserSessionConnection', totalCount: number, edges: Array<{ __typename?: 'BrowserSessionEdge', cursor: string, node: ( + { __typename?: 'BrowserSession', id: string } + & { ' $fragmentRefs'?: { 'BrowserSession_SessionFragment': BrowserSession_SessionFragment } } + ) }>, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | null, endCursor?: string | null } } } } | { __typename: 'Oauth2Session' } }; -export type SessionsOverviewQueryQuery = { - __typename?: "Query"; - viewer: - | { __typename: "Anonymous" } - | ({ __typename: "User"; id: string } & { - " $fragmentRefs"?: { - BrowserSessionsOverview_UserFragment: BrowserSessionsOverview_UserFragment; - }; - }); -}; +export type SessionsOverviewQueryQueryVariables = Exact<{ [key: string]: never; }>; + + +export type SessionsOverviewQueryQuery = { __typename?: 'Query', viewer: { __typename: 'Anonymous' } | ( + { __typename: 'User', id: string } + & { ' $fragmentRefs'?: { 'BrowserSessionsOverview_UserFragment': BrowserSessionsOverview_UserFragment } } + ) }; export type AppSessionsListQueryQueryVariables = Exact<{ - before?: InputMaybe; - after?: InputMaybe; - first?: InputMaybe; - last?: InputMaybe; + before?: InputMaybe; + after?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }>; -export type AppSessionsListQueryQuery = { - __typename?: "Query"; - viewer: - | { __typename: "Anonymous" } - | { - __typename: "User"; - id: string; - appSessions: { - __typename?: "AppSessionConnection"; - totalCount: number; - edges: Array<{ - __typename?: "AppSessionEdge"; - cursor: string; - node: - | ({ __typename: "CompatSession" } & { - " $fragmentRefs"?: { - CompatSession_SessionFragment: CompatSession_SessionFragment; - }; - }) - | ({ __typename: "Oauth2Session" } & { - " $fragmentRefs"?: { - OAuth2Session_SessionFragment: OAuth2Session_SessionFragment; - }; - }); - }>; - pageInfo: { - __typename?: "PageInfo"; - startCursor?: string | null; - endCursor?: string | null; - hasNextPage: boolean; - hasPreviousPage: boolean; - }; - }; - }; -}; -export type CurrentUserGreetingQueryVariables = Exact<{ [key: string]: never }>; +export type AppSessionsListQueryQuery = { __typename?: 'Query', viewer: { __typename: 'Anonymous' } | { __typename: 'User', id: string, appSessions: { __typename?: 'AppSessionConnection', totalCount: number, edges: Array<{ __typename?: 'AppSessionEdge', cursor: string, node: ( + { __typename: 'CompatSession' } + & { ' $fragmentRefs'?: { 'CompatSession_SessionFragment': CompatSession_SessionFragment } } + ) | ( + { __typename: 'Oauth2Session' } + & { ' $fragmentRefs'?: { 'OAuth2Session_SessionFragment': OAuth2Session_SessionFragment } } + ) }>, pageInfo: { __typename?: 'PageInfo', startCursor?: string | null, endCursor?: string | null, hasNextPage: boolean, hasPreviousPage: boolean } } } }; -export type CurrentUserGreetingQuery = { - __typename?: "Query"; - viewerSession: - | { __typename: "Anonymous" } - | { - __typename: "BrowserSession"; - id: string; - user: { __typename?: "User"; id: string } & { - " $fragmentRefs"?: { - UnverifiedEmailAlert_UserFragment: UnverifiedEmailAlert_UserFragment; - UserGreeting_UserFragment: UserGreeting_UserFragment; - }; - }; - } - | { __typename: "Oauth2Session" }; -}; +export type CurrentUserGreetingQueryVariables = Exact<{ [key: string]: never; }>; + + +export type CurrentUserGreetingQuery = { __typename?: 'Query', viewerSession: { __typename: 'Anonymous' } | { __typename: 'BrowserSession', id: string, user: ( + { __typename?: 'User', id: string } + & { ' $fragmentRefs'?: { 'UnverifiedEmailAlert_UserFragment': UnverifiedEmailAlert_UserFragment;'UserGreeting_UserFragment': UserGreeting_UserFragment } } + ) } | { __typename: 'Oauth2Session' } }; export type OAuth2ClientQueryQueryVariables = Exact<{ - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }>; -export type OAuth2ClientQueryQuery = { - __typename?: "Query"; - oauth2Client?: - | ({ __typename?: "Oauth2Client" } & { - " $fragmentRefs"?: { - OAuth2Client_DetailFragment: OAuth2Client_DetailFragment; - }; - }) - | null; -}; -export type CurrentViewerQueryQueryVariables = Exact<{ [key: string]: never }>; +export type OAuth2ClientQueryQuery = { __typename?: 'Query', oauth2Client?: ( + { __typename?: 'Oauth2Client' } + & { ' $fragmentRefs'?: { 'OAuth2Client_DetailFragment': OAuth2Client_DetailFragment } } + ) | null }; -export type CurrentViewerQueryQuery = { - __typename?: "Query"; - viewer: - | { __typename: "Anonymous"; id: string } - | { __typename: "User"; id: string }; -}; +export type CurrentViewerQueryQueryVariables = Exact<{ [key: string]: never; }>; + + +export type CurrentViewerQueryQuery = { __typename?: 'Query', viewer: { __typename: 'Anonymous', id: string } | { __typename: 'User', id: string } }; export type DeviceRedirectQueryQueryVariables = Exact<{ - deviceId: Scalars["String"]["input"]; - userId: Scalars["ID"]["input"]; + deviceId: Scalars['String']['input']; + userId: Scalars['ID']['input']; }>; -export type DeviceRedirectQueryQuery = { - __typename?: "Query"; - session?: - | { __typename: "CompatSession"; id: string } - | { __typename: "Oauth2Session"; id: string } - | null; -}; + +export type DeviceRedirectQueryQuery = { __typename?: 'Query', session?: { __typename: 'CompatSession', id: string } | { __typename: 'Oauth2Session', id: string } | null }; export type VerifyEmailQueryQueryVariables = Exact<{ - id: Scalars["ID"]["input"]; + id: Scalars['ID']['input']; }>; -export type VerifyEmailQueryQuery = { - __typename?: "Query"; - userEmail?: - | ({ __typename?: "UserEmail" } & { - " $fragmentRefs"?: { - UserEmail_VerifyEmailFragment: UserEmail_VerifyEmailFragment; - }; - }) - | null; -}; + +export type VerifyEmailQueryQuery = { __typename?: 'Query', userEmail?: ( + { __typename?: 'UserEmail' } + & { ' $fragmentRefs'?: { 'UserEmail_VerifyEmailFragment': UserEmail_VerifyEmailFragment } } + ) | null }; export type AllowCrossSigningResetMutationVariables = Exact<{ - userId: Scalars["ID"]["input"]; + userId: Scalars['ID']['input']; }>; -export type AllowCrossSigningResetMutation = { - __typename?: "Mutation"; - allowUserCrossSigningReset: { - __typename?: "AllowUserCrossSigningResetPayload"; - user?: { __typename?: "User"; id: string } | null; - }; -}; -export const BrowserSession_SessionFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "BrowserSession_session" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "BrowserSession" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "raw" } }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "deviceType" } }, - ], - }, - }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "lastAuthentication" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const OAuth2Client_DetailFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "OAuth2Client_detail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Oauth2Client" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "clientId" } }, - { kind: "Field", name: { kind: "Name", value: "clientName" } }, - { kind: "Field", name: { kind: "Name", value: "clientUri" } }, - { kind: "Field", name: { kind: "Name", value: "logoUri" } }, - { kind: "Field", name: { kind: "Name", value: "tosUri" } }, - { kind: "Field", name: { kind: "Name", value: "policyUri" } }, - { kind: "Field", name: { kind: "Name", value: "redirectUris" } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CompatSession_SessionFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "CompatSession_session" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "CompatSession" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "deviceId" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "deviceType" } }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "ssoLogin" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "redirectUri" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const OAuth2Session_SessionFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "OAuth2Session_session" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Oauth2Session" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "scope" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "deviceType" } }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "client" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "clientId" } }, - { kind: "Field", name: { kind: "Name", value: "clientName" } }, - { - kind: "Field", - name: { kind: "Name", value: "applicationType" }, - }, - { kind: "Field", name: { kind: "Name", value: "logoUri" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const BrowserSession_DetailFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "BrowserSession_detail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "BrowserSession" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - ], - }, - }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "lastAuthentication" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - ], - }, - }, - { - 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" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CompatSession_DetailFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "CompatSession_detail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "CompatSession" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "deviceId" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "ssoLogin" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "redirectUri" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const OAuth2Session_DetailFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "OAuth2Session_detail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Oauth2Session" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "scope" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "client" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "clientId" } }, - { kind: "Field", name: { kind: "Name", value: "clientName" } }, - { kind: "Field", name: { kind: "Name", value: "clientUri" } }, - { kind: "Field", name: { kind: "Name", value: "logoUri" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UnverifiedEmailAlert_UserFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UnverifiedEmailAlert_user" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - alias: { kind: "Name", value: "unverifiedEmails" }, - name: { kind: "Name", value: "emails" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { kind: "IntValue", value: "0" }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "state" }, - value: { kind: "EnumValue", value: "PENDING" }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "totalCount" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UserEmail_EmailFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserEmail_email" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "UserEmail" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "email" } }, - { kind: "Field", name: { kind: "Name", value: "confirmedAt" } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UserGreeting_UserFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserGreeting_user" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "matrix" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "mxid" } }, - { kind: "Field", name: { kind: "Name", value: "displayName" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UserEmailList_UserFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserEmailList_user" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "primaryEmail" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const BrowserSessionsOverview_UserFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "BrowserSessionsOverview_user" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "browserSessions" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { kind: "IntValue", value: "0" }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "state" }, - value: { kind: "EnumValue", value: "ACTIVE" }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "totalCount" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UserEmail_VerifyEmailFragmentDoc = { - kind: "Document", - definitions: [ - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserEmail_verifyEmail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "UserEmail" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "email" } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const EndBrowserSessionDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "EndBrowserSession" }, - 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: "endBrowserSession" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "browserSessionId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "id" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "Field", - name: { kind: "Name", value: "browserSession" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "FragmentSpread", - name: { kind: "Name", value: "BrowserSession_session" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "BrowserSession_session" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "BrowserSession" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "raw" } }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "deviceType" } }, - ], - }, - }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "lastAuthentication" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - EndBrowserSessionMutation, - EndBrowserSessionMutationVariables ->; -export const EndCompatSessionDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "EndCompatSession" }, - 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: "endCompatSession" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "compatSessionId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "id" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "Field", - name: { kind: "Name", value: "compatSession" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "finishedAt" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - EndCompatSessionMutation, - EndCompatSessionMutationVariables ->; -export const EndOAuth2SessionDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "EndOAuth2Session" }, - 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: "endOauth2Session" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "oauth2SessionId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "id" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "Field", - name: { kind: "Name", value: "oauth2Session" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "FragmentSpread", - name: { kind: "Name", value: "OAuth2Session_session" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "OAuth2Session_session" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Oauth2Session" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "scope" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "deviceType" } }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "client" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "clientId" } }, - { kind: "Field", name: { kind: "Name", value: "clientName" } }, - { - kind: "Field", - name: { kind: "Name", value: "applicationType" }, - }, - { kind: "Field", name: { kind: "Name", value: "logoUri" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - EndOAuth2SessionMutation, - EndOAuth2SessionMutationVariables ->; -export const RemoveEmailDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "RemoveEmail" }, - 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: "removeEmail" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "userEmailId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "id" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "Field", - name: { kind: "Name", value: "user" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SetPrimaryEmailDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "SetPrimaryEmail" }, - 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: "setPrimaryEmail" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "userEmailId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "id" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "Field", - name: { kind: "Name", value: "user" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "primaryEmail" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SetPrimaryEmailMutation, - SetPrimaryEmailMutationVariables ->; -export const SetDisplayNameDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "SetDisplayName" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "userId" }, - }, - type: { - kind: "NonNullType", - type: { kind: "NamedType", name: { kind: "Name", value: "ID" } }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "displayName" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "setDisplayName" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "userId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "userId" }, - }, - }, - { - kind: "ObjectField", - name: { kind: "Name", value: "displayName" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "displayName" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "Field", - name: { kind: "Name", value: "user" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "matrix" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "displayName" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SetDisplayNameMutation, - SetDisplayNameMutationVariables ->; -export const AddEmailDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "AddEmail" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "userId" }, - }, - type: { - kind: "NonNullType", - type: { kind: "NamedType", name: { kind: "Name", value: "ID" } }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "email" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "String" }, - }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "addEmail" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "userId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "userId" }, - }, - }, - { - kind: "ObjectField", - name: { kind: "Name", value: "email" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "email" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { kind: "Field", name: { kind: "Name", value: "violations" } }, - { - kind: "Field", - name: { kind: "Name", value: "email" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "FragmentSpread", - name: { kind: "Name", value: "UserEmail_email" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserEmail_email" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "UserEmail" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "email" } }, - { kind: "Field", name: { kind: "Name", value: "confirmedAt" } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UserEmailListQueryDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "UserEmailListQuery" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "userId" }, - }, - type: { - kind: "NonNullType", - type: { kind: "NamedType", name: { kind: "Name", value: "ID" } }, - }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "first" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "after" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, - }, - { - kind: "VariableDefinition", - variable: { kind: "Variable", name: { kind: "Name", value: "last" } }, - type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "before" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "user" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "id" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "userId" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "emails" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "first" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "after" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "after" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "last" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "last" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "before" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "before" }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "edges" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "cursor" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "node" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "UserEmail_email", - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "totalCount" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "pageInfo" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "hasNextPage" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "hasPreviousPage" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "startCursor" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "endCursor" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserEmail_email" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "UserEmail" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "email" } }, - { kind: "Field", name: { kind: "Name", value: "confirmedAt" } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UserEmailListQueryQuery, - UserEmailListQueryQueryVariables ->; -export const VerifyEmailDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "VerifyEmail" }, - 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: "code" } }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "String" }, - }, - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "verifyEmail" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "userEmailId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "id" }, - }, - }, - { - kind: "ObjectField", - name: { kind: "Name", value: "code" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "code" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "Field", - name: { kind: "Name", value: "user" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "primaryEmail" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "email" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "FragmentSpread", - name: { kind: "Name", value: "UserEmail_email" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserEmail_email" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "UserEmail" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "email" } }, - { kind: "Field", name: { kind: "Name", value: "confirmedAt" } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ResendVerificationEmailDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "ResendVerificationEmail" }, - 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: "sendVerificationEmail" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "userEmailId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "id" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "status" } }, - { - kind: "Field", - name: { kind: "Name", value: "user" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "primaryEmail" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "id" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "email" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "FragmentSpread", - name: { kind: "Name", value: "UserEmail_email" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserEmail_email" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "UserEmail" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "email" } }, - { kind: "Field", name: { kind: "Name", value: "confirmedAt" } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - ResendVerificationEmailMutation, - ResendVerificationEmailMutationVariables ->; -export const UserProfileQueryDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "UserProfileQuery" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "viewer" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "FragmentSpread", - name: { kind: "Name", value: "UserEmailList_user" }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserEmailList_user" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "primaryEmail" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UserProfileQueryQuery, - UserProfileQueryQueryVariables ->; -export const SessionDetailQueryDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "SessionDetailQuery" }, - 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: "viewerSession" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Node" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "node" }, - 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: "__typename" } }, - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "FragmentSpread", - name: { kind: "Name", value: "CompatSession_detail" }, - }, - { - kind: "FragmentSpread", - name: { kind: "Name", value: "OAuth2Session_detail" }, - }, - { - kind: "FragmentSpread", - name: { kind: "Name", value: "BrowserSession_detail" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "CompatSession_detail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "CompatSession" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "deviceId" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "ssoLogin" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "redirectUri" } }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "OAuth2Session_detail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Oauth2Session" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "scope" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "client" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "clientId" } }, - { kind: "Field", name: { kind: "Name", value: "clientName" } }, - { kind: "Field", name: { kind: "Name", value: "clientUri" } }, - { kind: "Field", name: { kind: "Name", value: "logoUri" } }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "BrowserSession_detail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "BrowserSession" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - ], - }, - }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "lastAuthentication" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - ], - }, - }, - { - 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" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SessionDetailQueryQuery, - SessionDetailQueryQueryVariables ->; -export const BrowserSessionListDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "BrowserSessionList" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "first" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "after" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, - }, - { - kind: "VariableDefinition", - variable: { kind: "Variable", name: { kind: "Name", value: "last" } }, - type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "before" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "viewerSession" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "BrowserSession" }, - }, - 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: "id" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "browserSessions" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "first" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "after" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "after" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "last" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "last" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "before" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "before" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "state" }, - value: { kind: "EnumValue", value: "ACTIVE" }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "totalCount" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "edges" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "cursor", - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "node" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "id", - }, - }, - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: - "BrowserSession_session", - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "pageInfo" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "hasNextPage", - }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "hasPreviousPage", - }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "startCursor", - }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "endCursor", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "BrowserSession_session" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "BrowserSession" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "raw" } }, - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "deviceType" } }, - ], - }, - }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "lastAuthentication" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - BrowserSessionListQuery, - BrowserSessionListQueryVariables ->; -export const SessionsOverviewQueryDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "SessionsOverviewQuery" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "viewer" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "BrowserSessionsOverview_user", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "BrowserSessionsOverview_user" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "browserSessions" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { kind: "IntValue", value: "0" }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "state" }, - value: { kind: "EnumValue", value: "ACTIVE" }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "totalCount" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SessionsOverviewQueryQuery, - SessionsOverviewQueryQueryVariables ->; -export const AppSessionsListQueryDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "AppSessionsListQuery" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "before" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "after" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, - }, - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "first" }, - }, - type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, - }, - { - kind: "VariableDefinition", - variable: { kind: "Variable", name: { kind: "Name", value: "last" } }, - type: { kind: "NamedType", name: { kind: "Name", value: "Int" } }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "viewer" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "appSessions" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "before" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "before" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "after" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "after" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "first" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "last" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "last" }, - }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "state" }, - value: { kind: "EnumValue", value: "ACTIVE" }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "edges" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "cursor" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "node" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "__typename", - }, - }, - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "CompatSession_session", - }, - }, - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "OAuth2Session_session", - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "totalCount" }, - }, - { - kind: "Field", - name: { kind: "Name", value: "pageInfo" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { - kind: "Name", - value: "startCursor", - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "endCursor" }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "hasNextPage", - }, - }, - { - kind: "Field", - name: { - kind: "Name", - value: "hasPreviousPage", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "CompatSession_session" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "CompatSession" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "deviceId" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "deviceType" } }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "ssoLogin" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "redirectUri" } }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "OAuth2Session_session" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Oauth2Session" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "scope" } }, - { kind: "Field", name: { kind: "Name", value: "createdAt" } }, - { kind: "Field", name: { kind: "Name", value: "finishedAt" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveIp" } }, - { kind: "Field", name: { kind: "Name", value: "lastActiveAt" } }, - { - kind: "Field", - name: { kind: "Name", value: "userAgent" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "name" } }, - { kind: "Field", name: { kind: "Name", value: "model" } }, - { kind: "Field", name: { kind: "Name", value: "os" } }, - { kind: "Field", name: { kind: "Name", value: "deviceType" } }, - ], - }, - }, - { - kind: "Field", - name: { kind: "Name", value: "client" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "clientId" } }, - { kind: "Field", name: { kind: "Name", value: "clientName" } }, - { - kind: "Field", - name: { kind: "Name", value: "applicationType" }, - }, - { kind: "Field", name: { kind: "Name", value: "logoUri" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - AppSessionsListQueryQuery, - AppSessionsListQueryQueryVariables ->; -export const CurrentUserGreetingDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "CurrentUserGreeting" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "viewerSession" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "BrowserSession" }, - }, - 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: "id" }, - }, - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "UnverifiedEmailAlert_user", - }, - }, - { - kind: "FragmentSpread", - name: { - kind: "Name", - value: "UserGreeting_user", - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UnverifiedEmailAlert_user" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - alias: { kind: "Name", value: "unverifiedEmails" }, - name: { kind: "Name", value: "emails" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "first" }, - value: { kind: "IntValue", value: "0" }, - }, - { - kind: "Argument", - name: { kind: "Name", value: "state" }, - value: { kind: "EnumValue", value: "PENDING" }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "totalCount" } }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserGreeting_user" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "User" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { - kind: "Field", - name: { kind: "Name", value: "matrix" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "mxid" } }, - { kind: "Field", name: { kind: "Name", value: "displayName" } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - CurrentUserGreetingQuery, - CurrentUserGreetingQueryVariables ->; -export const OAuth2ClientQueryDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "OAuth2ClientQuery" }, - 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: "oauth2Client" }, - 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: "OAuth2Client_detail" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "OAuth2Client_detail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Oauth2Client" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "clientId" } }, - { kind: "Field", name: { kind: "Name", value: "clientName" } }, - { kind: "Field", name: { kind: "Name", value: "clientUri" } }, - { kind: "Field", name: { kind: "Name", value: "logoUri" } }, - { kind: "Field", name: { kind: "Name", value: "tosUri" } }, - { kind: "Field", name: { kind: "Name", value: "policyUri" } }, - { kind: "Field", name: { kind: "Name", value: "redirectUris" } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - OAuth2ClientQueryQuery, - OAuth2ClientQueryQueryVariables ->; -export const CurrentViewerQueryDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "CurrentViewerQuery" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "viewer" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "__typename" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Node" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - CurrentViewerQueryQuery, - CurrentViewerQueryQueryVariables ->; -export const DeviceRedirectQueryDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "DeviceRedirectQuery" }, - variableDefinitions: [ - { - kind: "VariableDefinition", - variable: { - kind: "Variable", - name: { kind: "Name", value: "deviceId" }, - }, - type: { - kind: "NonNullType", - type: { - kind: "NamedType", - name: { kind: "Name", value: "String" }, - }, - }, - }, - { - 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: "session" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "deviceId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "deviceId" }, - }, - }, - { - 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: "__typename" } }, - { - kind: "InlineFragment", - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "Node" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - DeviceRedirectQueryQuery, - DeviceRedirectQueryQueryVariables ->; -export const VerifyEmailQueryDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "query", - name: { kind: "Name", value: "VerifyEmailQuery" }, - 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: "userEmail" }, - 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: "UserEmail_verifyEmail" }, - }, - ], - }, - }, - ], - }, - }, - { - kind: "FragmentDefinition", - name: { kind: "Name", value: "UserEmail_verifyEmail" }, - typeCondition: { - kind: "NamedType", - name: { kind: "Name", value: "UserEmail" }, - }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - { kind: "Field", name: { kind: "Name", value: "email" } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - VerifyEmailQueryQuery, - VerifyEmailQueryQueryVariables ->; -export const AllowCrossSigningResetDocument = { - kind: "Document", - definitions: [ - { - kind: "OperationDefinition", - operation: "mutation", - name: { kind: "Name", value: "AllowCrossSigningReset" }, - variableDefinitions: [ - { - 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: "allowUserCrossSigningReset" }, - arguments: [ - { - kind: "Argument", - name: { kind: "Name", value: "input" }, - value: { - kind: "ObjectValue", - fields: [ - { - kind: "ObjectField", - name: { kind: "Name", value: "userId" }, - value: { - kind: "Variable", - name: { kind: "Name", value: "userId" }, - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: "SelectionSet", - selections: [ - { - kind: "Field", - name: { kind: "Name", value: "user" }, - selectionSet: { - kind: "SelectionSet", - selections: [ - { kind: "Field", name: { kind: "Name", value: "id" } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - AllowCrossSigningResetMutation, - AllowCrossSigningResetMutationVariables ->; +export type AllowCrossSigningResetMutation = { __typename?: 'Mutation', allowUserCrossSigningReset: { __typename?: 'AllowUserCrossSigningResetPayload', user?: { __typename?: 'User', id: string } | null } }; + +export const BrowserSession_SessionFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BrowserSession_session"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BrowserSession"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"deviceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastAuthentication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]} as unknown as DocumentNode; +export const OAuth2Client_DetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OAuth2Client_detail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Oauth2Client"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"clientId"}},{"kind":"Field","name":{"kind":"Name","value":"clientName"}},{"kind":"Field","name":{"kind":"Name","value":"clientUri"}},{"kind":"Field","name":{"kind":"Name","value":"logoUri"}},{"kind":"Field","name":{"kind":"Name","value":"tosUri"}},{"kind":"Field","name":{"kind":"Name","value":"policyUri"}},{"kind":"Field","name":{"kind":"Name","value":"redirectUris"}}]}}]} as unknown as DocumentNode; +export const CompatSession_SessionFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CompatSession_session"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompatSession"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"deviceId"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"deviceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ssoLogin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"redirectUri"}}]}}]}}]} as unknown as DocumentNode; +export const OAuth2Session_SessionFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OAuth2Session_session"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Oauth2Session"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"deviceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"client"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"clientId"}},{"kind":"Field","name":{"kind":"Name","value":"clientName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUri"}}]}}]}}]} as unknown as DocumentNode; +export const BrowserSession_DetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BrowserSession_detail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BrowserSession"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"os"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastAuthentication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"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"}}]}}]}}]} as unknown as DocumentNode; +export const CompatSession_DetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CompatSession_detail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompatSession"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"deviceId"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"model"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ssoLogin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"redirectUri"}}]}}]}}]} as unknown as DocumentNode; +export const OAuth2Session_DetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OAuth2Session_detail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Oauth2Session"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"client"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"clientId"}},{"kind":"Field","name":{"kind":"Name","value":"clientName"}},{"kind":"Field","name":{"kind":"Name","value":"clientUri"}},{"kind":"Field","name":{"kind":"Name","value":"logoUri"}}]}}]}}]} as unknown as DocumentNode; +export const UnverifiedEmailAlert_UserFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UnverifiedEmailAlert_user"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"unverifiedEmails"},"name":{"kind":"Name","value":"emails"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"EnumValue","value":"PENDING"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode; +export const UserEmail_EmailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserEmail_email"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserEmail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"confirmedAt"}}]}}]} as unknown as DocumentNode; +export const UserGreeting_UserFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserGreeting_user"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"matrix"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mxid"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}}]}}]}}]} as unknown as DocumentNode; +export const UserEmailList_UserFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserEmailList_user"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"primaryEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const BrowserSessionsOverview_UserFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BrowserSessionsOverview_user"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"browserSessions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"EnumValue","value":"ACTIVE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode; +export const UserEmail_VerifyEmailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserEmail_verifyEmail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserEmail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode; +export const EndBrowserSessionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EndBrowserSession"},"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":"endBrowserSession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"browserSessionId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"browserSession"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BrowserSession_session"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BrowserSession_session"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BrowserSession"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"deviceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastAuthentication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]} as unknown as DocumentNode; +export const EndCompatSessionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EndCompatSession"},"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":"endCompatSession"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"compatSessionId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"compatSession"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}}]}}]}}]}}]} as unknown as DocumentNode; +export const EndOAuth2SessionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EndOAuth2Session"},"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":"endOauth2Session"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"oauth2SessionId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"oauth2Session"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"OAuth2Session_session"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OAuth2Session_session"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Oauth2Session"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"deviceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"client"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"clientId"}},{"kind":"Field","name":{"kind":"Name","value":"clientName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUri"}}]}}]}}]} as unknown as DocumentNode; +export const RemoveEmailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveEmail"},"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":"removeEmail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"userEmailId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const SetPrimaryEmailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetPrimaryEmail"},"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":"setPrimaryEmail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"userEmailId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"primaryEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const SetDisplayNameDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetDisplayName"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"displayName"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setDisplayName"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"displayName"},"value":{"kind":"Variable","name":{"kind":"Name","value":"displayName"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"matrix"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"displayName"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const AddEmailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddEmail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"email"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addEmail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"email"},"value":{"kind":"Variable","name":{"kind":"Name","value":"email"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"violations"}},{"kind":"Field","name":{"kind":"Name","value":"email"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserEmail_email"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserEmail_email"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserEmail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"confirmedAt"}}]}}]} as unknown as DocumentNode; +export const UserEmailListQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UserEmailListQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"last"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"before"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"emails"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}},{"kind":"Argument","name":{"kind":"Name","value":"last"},"value":{"kind":"Variable","name":{"kind":"Name","value":"last"}}},{"kind":"Argument","name":{"kind":"Name","value":"before"},"value":{"kind":"Variable","name":{"kind":"Name","value":"before"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserEmail_email"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"hasPreviousPage"}},{"kind":"Field","name":{"kind":"Name","value":"startCursor"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserEmail_email"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserEmail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"confirmedAt"}}]}}]} as unknown as DocumentNode; +export const VerifyEmailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"VerifyEmail"},"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":"code"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"verifyEmail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"userEmailId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"code"},"value":{"kind":"Variable","name":{"kind":"Name","value":"code"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"primaryEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"email"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserEmail_email"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserEmail_email"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserEmail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"confirmedAt"}}]}}]} as unknown as DocumentNode; +export const ResendVerificationEmailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ResendVerificationEmail"},"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":"sendVerificationEmail"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"userEmailId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"primaryEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"email"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserEmail_email"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserEmail_email"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserEmail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"confirmedAt"}}]}}]} as unknown as DocumentNode; +export const UserProfileQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UserProfileQuery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"viewer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserEmailList_user"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserEmailList_user"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"primaryEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const SessionDetailQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SessionDetailQuery"},"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":"viewerSession"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Node"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"node"},"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":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CompatSession_detail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"OAuth2Session_detail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BrowserSession_detail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CompatSession_detail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompatSession"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"deviceId"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"model"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ssoLogin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"redirectUri"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OAuth2Session_detail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Oauth2Session"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"client"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"clientId"}},{"kind":"Field","name":{"kind":"Name","value":"clientName"}},{"kind":"Field","name":{"kind":"Name","value":"clientUri"}},{"kind":"Field","name":{"kind":"Name","value":"logoUri"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BrowserSession_detail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BrowserSession"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"os"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastAuthentication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}},{"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"}}]}}]}}]} as unknown as DocumentNode; +export const BrowserSessionListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"BrowserSessionList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"last"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"before"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"viewerSession"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BrowserSession"}},"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":"id"}},{"kind":"Field","name":{"kind":"Name","value":"browserSessions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}},{"kind":"Argument","name":{"kind":"Name","value":"last"},"value":{"kind":"Variable","name":{"kind":"Name","value":"last"}}},{"kind":"Argument","name":{"kind":"Name","value":"before"},"value":{"kind":"Variable","name":{"kind":"Name","value":"before"}}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"EnumValue","value":"ACTIVE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BrowserSession_session"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"hasPreviousPage"}},{"kind":"Field","name":{"kind":"Name","value":"startCursor"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BrowserSession_session"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BrowserSession"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"raw"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"deviceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastAuthentication"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]}}]} as unknown as DocumentNode; +export const SessionsOverviewQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SessionsOverviewQuery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"viewer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"BrowserSessionsOverview_user"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BrowserSessionsOverview_user"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"browserSessions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"EnumValue","value":"ACTIVE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode; +export const AppSessionsListQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AppSessionsListQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"before"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"last"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"viewer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"appSessions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"before"},"value":{"kind":"Variable","name":{"kind":"Name","value":"before"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}},{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"last"},"value":{"kind":"Variable","name":{"kind":"Name","value":"last"}}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"EnumValue","value":"ACTIVE"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"CompatSession_session"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"OAuth2Session_session"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"startCursor"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"hasPreviousPage"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CompatSession_session"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CompatSession"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"deviceId"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"deviceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ssoLogin"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"redirectUri"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OAuth2Session_session"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Oauth2Session"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishedAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveIp"}},{"kind":"Field","name":{"kind":"Name","value":"lastActiveAt"}},{"kind":"Field","name":{"kind":"Name","value":"userAgent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"model"}},{"kind":"Field","name":{"kind":"Name","value":"os"}},{"kind":"Field","name":{"kind":"Name","value":"deviceType"}}]}},{"kind":"Field","name":{"kind":"Name","value":"client"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"clientId"}},{"kind":"Field","name":{"kind":"Name","value":"clientName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUri"}}]}}]}}]} as unknown as DocumentNode; +export const CurrentUserGreetingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CurrentUserGreeting"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"viewerSession"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BrowserSession"}},"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":"id"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"UnverifiedEmailAlert_user"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserGreeting_user"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UnverifiedEmailAlert_user"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","alias":{"kind":"Name","value":"unverifiedEmails"},"name":{"kind":"Name","value":"emails"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"0"}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"EnumValue","value":"PENDING"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserGreeting_user"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"User"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"matrix"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"mxid"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}}]}}]}}]} as unknown as DocumentNode; +export const OAuth2ClientQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"OAuth2ClientQuery"},"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":"oauth2Client"},"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":"OAuth2Client_detail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OAuth2Client_detail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Oauth2Client"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"clientId"}},{"kind":"Field","name":{"kind":"Name","value":"clientName"}},{"kind":"Field","name":{"kind":"Name","value":"clientUri"}},{"kind":"Field","name":{"kind":"Name","value":"logoUri"}},{"kind":"Field","name":{"kind":"Name","value":"tosUri"}},{"kind":"Field","name":{"kind":"Name","value":"policyUri"}},{"kind":"Field","name":{"kind":"Name","value":"redirectUris"}}]}}]} as unknown as DocumentNode; +export const CurrentViewerQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CurrentViewerQuery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"viewer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Node"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const DeviceRedirectQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"DeviceRedirectQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"deviceId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"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":"session"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"deviceId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"deviceId"}}},{"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":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Node"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const VerifyEmailQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"VerifyEmailQuery"},"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":"userEmail"},"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":"UserEmail_verifyEmail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserEmail_verifyEmail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserEmail"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]} as unknown as DocumentNode; +export const AllowCrossSigningResetDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AllowCrossSigningReset"},"variableDefinitions":[{"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":"allowUserCrossSigningReset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/frontend/src/gql/index.ts b/frontend/src/gql/index.ts index 0ea4a91c..f5159916 100644 --- a/frontend/src/gql/index.ts +++ b/frontend/src/gql/index.ts @@ -1,2 +1,2 @@ export * from "./fragment-masking"; -export * from "./gql"; +export * from "./gql"; \ No newline at end of file diff --git a/frontend/src/gql/schema.ts b/frontend/src/gql/schema.ts index 630befcf..ce75f0a2 100644 --- a/frontend/src/gql/schema.ts +++ b/frontend/src/gql/schema.ts @@ -1,3452 +1,3454 @@ -import { IntrospectionQuery } from "graphql"; +/* prettier-ignore */ +/* eslint-disable */ +import { IntrospectionQuery } from 'graphql'; export default { - __schema: { - queryType: { - name: "Query", + "__schema": { + "queryType": { + "name": "Query" }, - mutationType: { - name: "Mutation", + "mutationType": { + "name": "Mutation" }, - subscriptionType: null, - types: [ + "subscriptionType": null, + "types": [ { - kind: "OBJECT", - name: "AddEmailPayload", - fields: [ + "kind": "OBJECT", + "name": "AddEmailPayload", + "fields": [ { - name: "email", - type: { - kind: "OBJECT", - name: "UserEmail", - ofType: null, + "name": "email", + "type": { + "kind": "OBJECT", + "name": "UserEmail", + "ofType": null }, - args: [], + "args": [] }, { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], + "args": [] }, { - name: "violations", - type: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, + "name": "violations", + "type": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "AddUserPayload", - fields: [ + "kind": "OBJECT", + "name": "AddUserPayload", + "fields": [ { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "AllowUserCrossSigningResetPayload", - fields: [ + "kind": "OBJECT", + "name": "AllowUserCrossSigningResetPayload", + "fields": [ { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "Anonymous", - fields: [ + "kind": "OBJECT", + "name": "Anonymous", + "fields": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "UNION", - name: "AppSession", - possibleTypes: [ + "kind": "UNION", + "name": "AppSession", + "possibleTypes": [ { - kind: "OBJECT", - name: "CompatSession", + "kind": "OBJECT", + "name": "CompatSession" }, { - kind: "OBJECT", - name: "Oauth2Session", - }, - ], + "kind": "OBJECT", + "name": "Oauth2Session" + } + ] }, { - kind: "OBJECT", - name: "AppSessionConnection", - fields: [ + "kind": "OBJECT", + "name": "AppSessionConnection", + "fields": [ { - name: "edges", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "AppSessionEdge", - ofType: null, - }, - }, - }, + "name": "edges", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "AppSessionEdge", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "nodes", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "UNION", - name: "AppSession", - ofType: null, - }, - }, - }, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "UNION", + "name": "AppSession", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "pageInfo", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "PageInfo", - ofType: null, - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "totalCount", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "totalCount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "AppSessionEdge", - fields: [ + "kind": "OBJECT", + "name": "AppSessionEdge", + "fields": [ { - name: "cursor", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "node", - type: { - kind: "NON_NULL", - ofType: { - kind: "UNION", - name: "AppSession", - ofType: null, - }, + "name": "node", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "UNION", + "name": "AppSession", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "Authentication", - fields: [ + "kind": "OBJECT", + "name": "Authentication", + "fields": [ { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "CreationEvent", + "kind": "INTERFACE", + "name": "CreationEvent" }, { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "BrowserSession", - fields: [ + "kind": "OBJECT", + "name": "BrowserSession", + "fields": [ { - name: "appSessions", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "AppSessionConnection", - ofType: null, - }, + "name": "appSessions", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "AppSessionConnection", + "ofType": null + } }, - args: [ + "args": [ { - name: "after", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "before", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "device", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "device", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "first", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "last", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "state", - type: { - kind: "SCALAR", - name: "Any", - }, - }, - ], + "name": "state", + "type": { + "kind": "SCALAR", + "name": "Any" + } + } + ] }, { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "finishedAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "finishedAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "lastActiveAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "lastActiveAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "lastActiveIp", - type: { - kind: "SCALAR", - name: "Any", + "name": "lastActiveIp", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "lastAuthentication", - type: { - kind: "OBJECT", - name: "Authentication", - ofType: null, + "name": "lastAuthentication", + "type": { + "kind": "OBJECT", + "name": "Authentication", + "ofType": null }, - args: [], + "args": [] }, { - name: "state", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "state", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "User", - ofType: null, - }, + "name": "user", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "userAgent", - type: { - kind: "OBJECT", - name: "UserAgent", - ofType: null, + "name": "userAgent", + "type": { + "kind": "OBJECT", + "name": "UserAgent", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "CreationEvent", + "kind": "INTERFACE", + "name": "CreationEvent" }, { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "BrowserSessionConnection", - fields: [ + "kind": "OBJECT", + "name": "BrowserSessionConnection", + "fields": [ { - name: "edges", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "BrowserSessionEdge", - ofType: null, - }, - }, - }, + "name": "edges", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "BrowserSessionEdge", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "nodes", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "BrowserSession", - ofType: null, - }, - }, - }, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "BrowserSession", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "pageInfo", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "PageInfo", - ofType: null, - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "totalCount", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "totalCount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "BrowserSessionEdge", - fields: [ + "kind": "OBJECT", + "name": "BrowserSessionEdge", + "fields": [ { - name: "cursor", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "node", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "BrowserSession", - ofType: null, - }, + "name": "node", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "BrowserSession", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "CompatSession", - fields: [ + "kind": "OBJECT", + "name": "CompatSession", + "fields": [ { - name: "browserSession", - type: { - kind: "OBJECT", - name: "BrowserSession", - ofType: null, + "name": "browserSession", + "type": { + "kind": "OBJECT", + "name": "BrowserSession", + "ofType": null }, - args: [], + "args": [] }, { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "deviceId", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "deviceId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "finishedAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "finishedAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "lastActiveAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "lastActiveAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "lastActiveIp", - type: { - kind: "SCALAR", - name: "Any", + "name": "lastActiveIp", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "ssoLogin", - type: { - kind: "OBJECT", - name: "CompatSsoLogin", - ofType: null, + "name": "ssoLogin", + "type": { + "kind": "OBJECT", + "name": "CompatSsoLogin", + "ofType": null }, - args: [], + "args": [] }, { - name: "state", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "state", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "User", - ofType: null, - }, + "name": "user", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "userAgent", - type: { - kind: "OBJECT", - name: "UserAgent", - ofType: null, + "name": "userAgent", + "type": { + "kind": "OBJECT", + "name": "UserAgent", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "CreationEvent", + "kind": "INTERFACE", + "name": "CreationEvent" }, { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "CompatSessionConnection", - fields: [ + "kind": "OBJECT", + "name": "CompatSessionConnection", + "fields": [ { - name: "edges", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "CompatSessionEdge", - ofType: null, - }, - }, - }, + "name": "edges", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CompatSessionEdge", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "nodes", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "CompatSession", - ofType: null, - }, - }, - }, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CompatSession", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "pageInfo", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "PageInfo", - ofType: null, - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "totalCount", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "totalCount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "CompatSessionEdge", - fields: [ + "kind": "OBJECT", + "name": "CompatSessionEdge", + "fields": [ { - name: "cursor", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "node", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "CompatSession", - ofType: null, - }, + "name": "node", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CompatSession", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "CompatSsoLogin", - fields: [ + "kind": "OBJECT", + "name": "CompatSsoLogin", + "fields": [ { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "exchangedAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "exchangedAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "fulfilledAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "fulfilledAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "redirectUri", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "redirectUri", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "session", - type: { - kind: "OBJECT", - name: "CompatSession", - ofType: null, + "name": "session", + "type": { + "kind": "OBJECT", + "name": "CompatSession", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "CompatSsoLoginConnection", - fields: [ + "kind": "OBJECT", + "name": "CompatSsoLoginConnection", + "fields": [ { - name: "edges", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "CompatSsoLoginEdge", - ofType: null, - }, - }, - }, + "name": "edges", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CompatSsoLoginEdge", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "nodes", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "CompatSsoLogin", - ofType: null, - }, - }, - }, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CompatSsoLogin", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "pageInfo", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "PageInfo", - ofType: null, - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "totalCount", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "totalCount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "CompatSsoLoginEdge", - fields: [ + "kind": "OBJECT", + "name": "CompatSsoLoginEdge", + "fields": [ { - name: "cursor", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "node", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "CompatSsoLogin", - ofType: null, - }, + "name": "node", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CompatSsoLogin", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "CreateOAuth2SessionPayload", - fields: [ + "kind": "OBJECT", + "name": "CreateOAuth2SessionPayload", + "fields": [ { - name: "accessToken", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "accessToken", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "oauth2Session", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "Oauth2Session", - ofType: null, - }, + "name": "oauth2Session", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Oauth2Session", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "refreshToken", - type: { - kind: "SCALAR", - name: "Any", + "name": "refreshToken", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "INTERFACE", - name: "CreationEvent", - fields: [ + "kind": "INTERFACE", + "name": "CreationEvent", + "fields": [ { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], - possibleTypes: [ + "interfaces": [], + "possibleTypes": [ { - kind: "OBJECT", - name: "Authentication", + "kind": "OBJECT", + "name": "Authentication" }, { - kind: "OBJECT", - name: "BrowserSession", + "kind": "OBJECT", + "name": "BrowserSession" }, { - kind: "OBJECT", - name: "CompatSession", + "kind": "OBJECT", + "name": "CompatSession" }, { - kind: "OBJECT", - name: "Oauth2Session", + "kind": "OBJECT", + "name": "Oauth2Session" }, { - kind: "OBJECT", - name: "UpstreamOAuth2Link", + "kind": "OBJECT", + "name": "UpstreamOAuth2Link" }, { - kind: "OBJECT", - name: "UpstreamOAuth2Provider", + "kind": "OBJECT", + "name": "UpstreamOAuth2Provider" }, { - kind: "OBJECT", - name: "UserEmail", - }, - ], + "kind": "OBJECT", + "name": "UserEmail" + } + ] }, { - kind: "OBJECT", - name: "EndBrowserSessionPayload", - fields: [ + "kind": "OBJECT", + "name": "EndBrowserSessionPayload", + "fields": [ { - name: "browserSession", - type: { - kind: "OBJECT", - name: "BrowserSession", - ofType: null, + "name": "browserSession", + "type": { + "kind": "OBJECT", + "name": "BrowserSession", + "ofType": null }, - args: [], + "args": [] }, { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "EndCompatSessionPayload", - fields: [ + "kind": "OBJECT", + "name": "EndCompatSessionPayload", + "fields": [ { - name: "compatSession", - type: { - kind: "OBJECT", - name: "CompatSession", - ofType: null, + "name": "compatSession", + "type": { + "kind": "OBJECT", + "name": "CompatSession", + "ofType": null }, - args: [], + "args": [] }, { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "EndOAuth2SessionPayload", - fields: [ + "kind": "OBJECT", + "name": "EndOAuth2SessionPayload", + "fields": [ { - name: "oauth2Session", - type: { - kind: "OBJECT", - name: "Oauth2Session", - ofType: null, + "name": "oauth2Session", + "type": { + "kind": "OBJECT", + "name": "Oauth2Session", + "ofType": null }, - args: [], + "args": [] }, { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "LockUserPayload", - fields: [ + "kind": "OBJECT", + "name": "LockUserPayload", + "fields": [ { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "MatrixUser", - fields: [ + "kind": "OBJECT", + "name": "MatrixUser", + "fields": [ { - name: "avatarUrl", - type: { - kind: "SCALAR", - name: "Any", + "name": "avatarUrl", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "displayName", - type: { - kind: "SCALAR", - name: "Any", + "name": "displayName", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "mxid", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "mxid", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "Mutation", - fields: [ + "kind": "OBJECT", + "name": "Mutation", + "fields": [ { - name: "addEmail", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "AddEmailPayload", - ofType: null, - }, + "name": "addEmail", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "AddEmailPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "addUser", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "AddUserPayload", - ofType: null, - }, + "name": "addUser", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "AddUserPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "allowUserCrossSigningReset", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "AllowUserCrossSigningResetPayload", - ofType: null, - }, + "name": "allowUserCrossSigningReset", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "AllowUserCrossSigningResetPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "createOauth2Session", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "CreateOAuth2SessionPayload", - ofType: null, - }, + "name": "createOauth2Session", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CreateOAuth2SessionPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "endBrowserSession", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "EndBrowserSessionPayload", - ofType: null, - }, + "name": "endBrowserSession", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "EndBrowserSessionPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "endCompatSession", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "EndCompatSessionPayload", - ofType: null, - }, + "name": "endCompatSession", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "EndCompatSessionPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "endOauth2Session", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "EndOAuth2SessionPayload", - ofType: null, - }, + "name": "endOauth2Session", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "EndOAuth2SessionPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "lockUser", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "LockUserPayload", - ofType: null, - }, + "name": "lockUser", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "LockUserPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "removeEmail", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "RemoveEmailPayload", - ofType: null, - }, + "name": "removeEmail", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "RemoveEmailPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "sendVerificationEmail", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "SendVerificationEmailPayload", - ofType: null, - }, + "name": "sendVerificationEmail", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SendVerificationEmailPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "setCanRequestAdmin", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "SetCanRequestAdminPayload", - ofType: null, - }, + "name": "setCanRequestAdmin", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SetCanRequestAdminPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "setDisplayName", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "SetDisplayNamePayload", - ofType: null, - }, + "name": "setDisplayName", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SetDisplayNamePayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "setPrimaryEmail", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "SetPrimaryEmailPayload", - ofType: null, - }, + "name": "setPrimaryEmail", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "SetPrimaryEmailPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "verifyEmail", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "VerifyEmailPayload", - ofType: null, - }, + "name": "verifyEmail", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "VerifyEmailPayload", + "ofType": null + } }, - args: [ + "args": [ { - name: "input", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], - }, + "name": "input", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "INTERFACE", - name: "Node", - fields: [ + "kind": "INTERFACE", + "name": "Node", + "fields": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], - possibleTypes: [ + "interfaces": [], + "possibleTypes": [ { - kind: "OBJECT", - name: "Anonymous", + "kind": "OBJECT", + "name": "Anonymous" }, { - kind: "OBJECT", - name: "Authentication", + "kind": "OBJECT", + "name": "Authentication" }, { - kind: "OBJECT", - name: "BrowserSession", + "kind": "OBJECT", + "name": "BrowserSession" }, { - kind: "OBJECT", - name: "CompatSession", + "kind": "OBJECT", + "name": "CompatSession" }, { - kind: "OBJECT", - name: "CompatSsoLogin", + "kind": "OBJECT", + "name": "CompatSsoLogin" }, { - kind: "OBJECT", - name: "Oauth2Client", + "kind": "OBJECT", + "name": "Oauth2Client" }, { - kind: "OBJECT", - name: "Oauth2Session", + "kind": "OBJECT", + "name": "Oauth2Session" }, { - kind: "OBJECT", - name: "UpstreamOAuth2Link", + "kind": "OBJECT", + "name": "UpstreamOAuth2Link" }, { - kind: "OBJECT", - name: "UpstreamOAuth2Provider", + "kind": "OBJECT", + "name": "UpstreamOAuth2Provider" }, { - kind: "OBJECT", - name: "User", + "kind": "OBJECT", + "name": "User" }, { - kind: "OBJECT", - name: "UserEmail", - }, - ], + "kind": "OBJECT", + "name": "UserEmail" + } + ] }, { - kind: "OBJECT", - name: "Oauth2Client", - fields: [ + "kind": "OBJECT", + "name": "Oauth2Client", + "fields": [ { - name: "applicationType", - type: { - kind: "SCALAR", - name: "Any", + "name": "applicationType", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "clientId", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "clientId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "clientName", - type: { - kind: "SCALAR", - name: "Any", + "name": "clientName", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "clientUri", - type: { - kind: "SCALAR", - name: "Any", + "name": "clientUri", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "contacts", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, + "name": "contacts", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } }, - args: [], + "args": [] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "logoUri", - type: { - kind: "SCALAR", - name: "Any", + "name": "logoUri", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "policyUri", - type: { - kind: "SCALAR", - name: "Any", + "name": "policyUri", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "redirectUris", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, + "name": "redirectUris", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } }, - args: [], + "args": [] }, { - name: "tosUri", - type: { - kind: "SCALAR", - name: "Any", + "name": "tosUri", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "Oauth2Session", - fields: [ + "kind": "OBJECT", + "name": "Oauth2Session", + "fields": [ { - name: "browserSession", - type: { - kind: "OBJECT", - name: "BrowserSession", - ofType: null, + "name": "browserSession", + "type": { + "kind": "OBJECT", + "name": "BrowserSession", + "ofType": null }, - args: [], + "args": [] }, { - name: "client", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "Oauth2Client", - ofType: null, - }, + "name": "client", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Oauth2Client", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "finishedAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "finishedAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "lastActiveAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "lastActiveAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "lastActiveIp", - type: { - kind: "SCALAR", - name: "Any", + "name": "lastActiveIp", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "scope", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "scope", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "state", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "state", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], + "args": [] }, { - name: "userAgent", - type: { - kind: "OBJECT", - name: "UserAgent", - ofType: null, + "name": "userAgent", + "type": { + "kind": "OBJECT", + "name": "UserAgent", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "CreationEvent", + "kind": "INTERFACE", + "name": "CreationEvent" }, { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "Oauth2SessionConnection", - fields: [ + "kind": "OBJECT", + "name": "Oauth2SessionConnection", + "fields": [ { - name: "edges", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "Oauth2SessionEdge", - ofType: null, - }, - }, - }, + "name": "edges", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Oauth2SessionEdge", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "nodes", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "Oauth2Session", - ofType: null, - }, - }, - }, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Oauth2Session", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "pageInfo", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "PageInfo", - ofType: null, - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "totalCount", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "totalCount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "Oauth2SessionEdge", - fields: [ + "kind": "OBJECT", + "name": "Oauth2SessionEdge", + "fields": [ { - name: "cursor", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "node", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "Oauth2Session", - ofType: null, - }, + "name": "node", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Oauth2Session", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "PageInfo", - fields: [ + "kind": "OBJECT", + "name": "PageInfo", + "fields": [ { - name: "endCursor", - type: { - kind: "SCALAR", - name: "Any", + "name": "endCursor", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "hasNextPage", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "hasNextPage", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "hasPreviousPage", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "hasPreviousPage", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "startCursor", - type: { - kind: "SCALAR", - name: "Any", + "name": "startCursor", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "Query", - fields: [ + "kind": "OBJECT", + "name": "Query", + "fields": [ { - name: "browserSession", - type: { - kind: "OBJECT", - name: "BrowserSession", - ofType: null, + "name": "browserSession", + "type": { + "kind": "OBJECT", + "name": "BrowserSession", + "ofType": null }, - args: [ + "args": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "compatSession", - type: { - kind: "OBJECT", - name: "CompatSession", - ofType: null, + "name": "compatSession", + "type": { + "kind": "OBJECT", + "name": "CompatSession", + "ofType": null }, - args: [ + "args": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "currentBrowserSession", - type: { - kind: "OBJECT", - name: "BrowserSession", - ofType: null, + "name": "currentBrowserSession", + "type": { + "kind": "OBJECT", + "name": "BrowserSession", + "ofType": null }, - args: [], + "args": [] }, { - name: "currentUser", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "currentUser", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], + "args": [] }, { - name: "node", - type: { - kind: "INTERFACE", - name: "Node", - ofType: null, + "name": "node", + "type": { + "kind": "INTERFACE", + "name": "Node", + "ofType": null }, - args: [ + "args": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "oauth2Client", - type: { - kind: "OBJECT", - name: "Oauth2Client", - ofType: null, + "name": "oauth2Client", + "type": { + "kind": "OBJECT", + "name": "Oauth2Client", + "ofType": null }, - args: [ + "args": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "oauth2Session", - type: { - kind: "OBJECT", - name: "Oauth2Session", - ofType: null, + "name": "oauth2Session", + "type": { + "kind": "OBJECT", + "name": "Oauth2Session", + "ofType": null }, - args: [ + "args": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "session", - type: { - kind: "UNION", - name: "Session", - ofType: null, + "name": "session", + "type": { + "kind": "UNION", + "name": "Session", + "ofType": null }, - args: [ + "args": [ { - name: "deviceId", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, + "name": "deviceId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } }, { - name: "userId", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "userId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "upstreamOauth2Link", - type: { - kind: "OBJECT", - name: "UpstreamOAuth2Link", - ofType: null, + "name": "upstreamOauth2Link", + "type": { + "kind": "OBJECT", + "name": "UpstreamOAuth2Link", + "ofType": null }, - args: [ + "args": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "upstreamOauth2Provider", - type: { - kind: "OBJECT", - name: "UpstreamOAuth2Provider", - ofType: null, + "name": "upstreamOauth2Provider", + "type": { + "kind": "OBJECT", + "name": "UpstreamOAuth2Provider", + "ofType": null }, - args: [ + "args": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "upstreamOauth2Providers", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UpstreamOAuth2ProviderConnection", - ofType: null, - }, + "name": "upstreamOauth2Providers", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UpstreamOAuth2ProviderConnection", + "ofType": null + } }, - args: [ + "args": [ { - name: "after", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "before", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "first", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "last", - type: { - kind: "SCALAR", - name: "Any", - }, - }, - ], + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Any" + } + } + ] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [ + "args": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "userByUsername", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "userByUsername", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [ + "args": [ { - name: "username", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "username", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "userEmail", - type: { - kind: "OBJECT", - name: "UserEmail", - ofType: null, + "name": "userEmail", + "type": { + "kind": "OBJECT", + "name": "UserEmail", + "ofType": null }, - args: [ + "args": [ { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, - }, - }, - ], + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } + } + } + ] }, { - name: "viewer", - type: { - kind: "NON_NULL", - ofType: { - kind: "UNION", - name: "Viewer", - ofType: null, - }, + "name": "viewer", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "UNION", + "name": "Viewer", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "viewerSession", - type: { - kind: "NON_NULL", - ofType: { - kind: "UNION", - name: "ViewerSession", - ofType: null, - }, + "name": "viewerSession", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "UNION", + "name": "ViewerSession", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "RemoveEmailPayload", - fields: [ + "kind": "OBJECT", + "name": "RemoveEmailPayload", + "fields": [ { - name: "email", - type: { - kind: "OBJECT", - name: "UserEmail", - ofType: null, + "name": "email", + "type": { + "kind": "OBJECT", + "name": "UserEmail", + "ofType": null }, - args: [], + "args": [] }, { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "SendVerificationEmailPayload", - fields: [ + "kind": "OBJECT", + "name": "SendVerificationEmailPayload", + "fields": [ { - name: "email", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UserEmail", - ofType: null, - }, + "name": "email", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UserEmail", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "User", - ofType: null, - }, + "name": "user", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "UNION", - name: "Session", - possibleTypes: [ + "kind": "UNION", + "name": "Session", + "possibleTypes": [ { - kind: "OBJECT", - name: "CompatSession", + "kind": "OBJECT", + "name": "CompatSession" }, { - kind: "OBJECT", - name: "Oauth2Session", - }, - ], + "kind": "OBJECT", + "name": "Oauth2Session" + } + ] }, { - kind: "OBJECT", - name: "SetCanRequestAdminPayload", - fields: [ + "kind": "OBJECT", + "name": "SetCanRequestAdminPayload", + "fields": [ { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "SetDisplayNamePayload", - fields: [ + "kind": "OBJECT", + "name": "SetDisplayNamePayload", + "fields": [ { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "SetPrimaryEmailPayload", - fields: [ + "kind": "OBJECT", + "name": "SetPrimaryEmailPayload", + "fields": [ { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "UpstreamOAuth2Link", - fields: [ + "kind": "OBJECT", + "name": "UpstreamOAuth2Link", + "fields": [ { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "provider", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UpstreamOAuth2Provider", - ofType: null, - }, + "name": "provider", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UpstreamOAuth2Provider", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "subject", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "subject", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "CreationEvent", + "kind": "INTERFACE", + "name": "CreationEvent" }, { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "UpstreamOAuth2LinkConnection", - fields: [ + "kind": "OBJECT", + "name": "UpstreamOAuth2LinkConnection", + "fields": [ { - name: "edges", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UpstreamOAuth2LinkEdge", - ofType: null, - }, - }, - }, + "name": "edges", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UpstreamOAuth2LinkEdge", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "nodes", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UpstreamOAuth2Link", - ofType: null, - }, - }, - }, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UpstreamOAuth2Link", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "pageInfo", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "PageInfo", - ofType: null, - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "totalCount", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "totalCount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "UpstreamOAuth2LinkEdge", - fields: [ + "kind": "OBJECT", + "name": "UpstreamOAuth2LinkEdge", + "fields": [ { - name: "cursor", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "node", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UpstreamOAuth2Link", - ofType: null, - }, + "name": "node", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UpstreamOAuth2Link", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "UpstreamOAuth2Provider", - fields: [ + "kind": "OBJECT", + "name": "UpstreamOAuth2Provider", + "fields": [ { - name: "clientId", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "clientId", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "issuer", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "issuer", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "CreationEvent", + "kind": "INTERFACE", + "name": "CreationEvent" }, { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "UpstreamOAuth2ProviderConnection", - fields: [ + "kind": "OBJECT", + "name": "UpstreamOAuth2ProviderConnection", + "fields": [ { - name: "edges", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UpstreamOAuth2ProviderEdge", - ofType: null, - }, - }, - }, + "name": "edges", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UpstreamOAuth2ProviderEdge", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "nodes", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UpstreamOAuth2Provider", - ofType: null, - }, - }, - }, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UpstreamOAuth2Provider", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "pageInfo", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "PageInfo", - ofType: null, - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "totalCount", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "totalCount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "UpstreamOAuth2ProviderEdge", - fields: [ + "kind": "OBJECT", + "name": "UpstreamOAuth2ProviderEdge", + "fields": [ { - name: "cursor", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "node", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UpstreamOAuth2Provider", - ofType: null, - }, + "name": "node", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UpstreamOAuth2Provider", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "User", - fields: [ + "kind": "OBJECT", + "name": "User", + "fields": [ { - name: "appSessions", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "AppSessionConnection", - ofType: null, - }, + "name": "appSessions", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "AppSessionConnection", + "ofType": null + } }, - args: [ + "args": [ { - name: "after", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "before", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "browserSession", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "browserSession", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "device", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "device", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "first", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "last", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "state", - type: { - kind: "SCALAR", - name: "Any", - }, - }, - ], + "name": "state", + "type": { + "kind": "SCALAR", + "name": "Any" + } + } + ] }, { - name: "browserSessions", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "BrowserSessionConnection", - ofType: null, - }, + "name": "browserSessions", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "BrowserSessionConnection", + "ofType": null + } }, - args: [ + "args": [ { - name: "after", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "before", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "first", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "last", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "state", - type: { - kind: "SCALAR", - name: "Any", - }, - }, - ], + "name": "state", + "type": { + "kind": "SCALAR", + "name": "Any" + } + } + ] }, { - name: "canRequestAdmin", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "canRequestAdmin", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "compatSessions", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "CompatSessionConnection", - ofType: null, - }, + "name": "compatSessions", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CompatSessionConnection", + "ofType": null + } }, - args: [ + "args": [ { - name: "after", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "before", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "first", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "last", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "state", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "state", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "type", - type: { - kind: "SCALAR", - name: "Any", - }, - }, - ], + "name": "type", + "type": { + "kind": "SCALAR", + "name": "Any" + } + } + ] }, { - name: "compatSsoLogins", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "CompatSsoLoginConnection", - ofType: null, - }, + "name": "compatSsoLogins", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "CompatSsoLoginConnection", + "ofType": null + } }, - args: [ + "args": [ { - name: "after", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "before", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "first", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "last", - type: { - kind: "SCALAR", - name: "Any", - }, - }, - ], + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Any" + } + } + ] }, { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "emails", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UserEmailConnection", - ofType: null, - }, + "name": "emails", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UserEmailConnection", + "ofType": null + } }, - args: [ + "args": [ { - name: "after", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "before", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "first", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "last", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "state", - type: { - kind: "SCALAR", - name: "Any", - }, - }, - ], + "name": "state", + "type": { + "kind": "SCALAR", + "name": "Any" + } + } + ] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "lockedAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "lockedAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "matrix", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "MatrixUser", - ofType: null, - }, + "name": "matrix", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "MatrixUser", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "oauth2Sessions", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "Oauth2SessionConnection", - ofType: null, - }, + "name": "oauth2Sessions", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "Oauth2SessionConnection", + "ofType": null + } }, - args: [ + "args": [ { - name: "after", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "before", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "client", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "client", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "first", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "last", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "state", - type: { - kind: "SCALAR", - name: "Any", - }, - }, - ], + "name": "state", + "type": { + "kind": "SCALAR", + "name": "Any" + } + } + ] }, { - name: "primaryEmail", - type: { - kind: "OBJECT", - name: "UserEmail", - ofType: null, + "name": "primaryEmail", + "type": { + "kind": "OBJECT", + "name": "UserEmail", + "ofType": null }, - args: [], + "args": [] }, { - name: "upstreamOauth2Links", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UpstreamOAuth2LinkConnection", - ofType: null, - }, + "name": "upstreamOauth2Links", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UpstreamOAuth2LinkConnection", + "ofType": null + } }, - args: [ + "args": [ { - name: "after", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "after", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "before", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "before", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "first", - type: { - kind: "SCALAR", - name: "Any", - }, + "name": "first", + "type": { + "kind": "SCALAR", + "name": "Any" + } }, { - name: "last", - type: { - kind: "SCALAR", - name: "Any", - }, - }, - ], + "name": "last", + "type": { + "kind": "SCALAR", + "name": "Any" + } + } + ] }, { - name: "username", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "username", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "UserAgent", - fields: [ + "kind": "OBJECT", + "name": "UserAgent", + "fields": [ { - name: "deviceType", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "deviceType", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "model", - type: { - kind: "SCALAR", - name: "Any", + "name": "model", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "name", - type: { - kind: "SCALAR", - name: "Any", + "name": "name", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "os", - type: { - kind: "SCALAR", - name: "Any", + "name": "os", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "osVersion", - type: { - kind: "SCALAR", - name: "Any", + "name": "osVersion", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "raw", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "raw", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "version", - type: { - kind: "SCALAR", - name: "Any", + "name": "version", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "UserEmail", - fields: [ + "kind": "OBJECT", + "name": "UserEmail", + "fields": [ { - name: "confirmedAt", - type: { - kind: "SCALAR", - name: "Any", + "name": "confirmedAt", + "type": { + "kind": "SCALAR", + "name": "Any" }, - args: [], + "args": [] }, { - name: "createdAt", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "createdAt", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "email", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "email", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "id", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "id", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [ + "interfaces": [ { - kind: "INTERFACE", - name: "CreationEvent", + "kind": "INTERFACE", + "name": "CreationEvent" }, { - kind: "INTERFACE", - name: "Node", - }, - ], + "kind": "INTERFACE", + "name": "Node" + } + ] }, { - kind: "OBJECT", - name: "UserEmailConnection", - fields: [ + "kind": "OBJECT", + "name": "UserEmailConnection", + "fields": [ { - name: "edges", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UserEmailEdge", - ofType: null, - }, - }, - }, + "name": "edges", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UserEmailEdge", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "nodes", - type: { - kind: "NON_NULL", - ofType: { - kind: "LIST", - ofType: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UserEmail", - ofType: null, - }, - }, - }, + "name": "nodes", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "LIST", + "ofType": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UserEmail", + "ofType": null + } + } + } }, - args: [], + "args": [] }, { - name: "pageInfo", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "PageInfo", - ofType: null, - }, + "name": "pageInfo", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } }, - args: [], + "args": [] }, { - name: "totalCount", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "totalCount", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "UserEmailEdge", - fields: [ + "kind": "OBJECT", + "name": "UserEmailEdge", + "fields": [ { - name: "cursor", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "cursor", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "node", - type: { - kind: "NON_NULL", - ofType: { - kind: "OBJECT", - name: "UserEmail", - ofType: null, - }, + "name": "node", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "OBJECT", + "name": "UserEmail", + "ofType": null + } }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "OBJECT", - name: "VerifyEmailPayload", - fields: [ + "kind": "OBJECT", + "name": "VerifyEmailPayload", + "fields": [ { - name: "email", - type: { - kind: "OBJECT", - name: "UserEmail", - ofType: null, + "name": "email", + "type": { + "kind": "OBJECT", + "name": "UserEmail", + "ofType": null }, - args: [], + "args": [] }, { - name: "status", - type: { - kind: "NON_NULL", - ofType: { - kind: "SCALAR", - name: "Any", - }, + "name": "status", + "type": { + "kind": "NON_NULL", + "ofType": { + "kind": "SCALAR", + "name": "Any" + } }, - args: [], + "args": [] }, { - name: "user", - type: { - kind: "OBJECT", - name: "User", - ofType: null, + "name": "user", + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null }, - args: [], - }, + "args": [] + } ], - interfaces: [], + "interfaces": [] }, { - kind: "UNION", - name: "Viewer", - possibleTypes: [ + "kind": "UNION", + "name": "Viewer", + "possibleTypes": [ { - kind: "OBJECT", - name: "Anonymous", + "kind": "OBJECT", + "name": "Anonymous" }, { - kind: "OBJECT", - name: "User", - }, - ], + "kind": "OBJECT", + "name": "User" + } + ] }, { - kind: "UNION", - name: "ViewerSession", - possibleTypes: [ + "kind": "UNION", + "name": "ViewerSession", + "possibleTypes": [ { - kind: "OBJECT", - name: "Anonymous", + "kind": "OBJECT", + "name": "Anonymous" }, { - kind: "OBJECT", - name: "BrowserSession", + "kind": "OBJECT", + "name": "BrowserSession" }, { - kind: "OBJECT", - name: "Oauth2Session", - }, - ], + "kind": "OBJECT", + "name": "Oauth2Session" + } + ] }, { - kind: "SCALAR", - name: "Any", - }, + "kind": "SCALAR", + "name": "Any" + } ], - directives: [], - }, -} as unknown as IntrospectionQuery; + "directives": [] + } +} as unknown as IntrospectionQuery; \ No newline at end of file