22import type { DocumentTypeDecoration } from '@graphql-typed-document-node/core' ;
33import { graphql , type GraphQLResponseResolver , type RequestHandlerOptions } from 'msw'
44export type Maybe < T > = T | null ;
5- export type InputMaybe < T > = Maybe < T > ;
5+ export type InputMaybe < T > = T | null | undefined ;
66export type Exact < T extends { [ key : string ] : unknown } > = { [ K in keyof T ] : T [ K ] } ;
77export type MakeOptional < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] ?: Maybe < T [ SubKey ] > } ;
88export type MakeMaybe < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] : Maybe < T [ SubKey ] > } ;
@@ -1838,10 +1838,13 @@ export type UserEmailListQueryVariables = Exact<{
18381838} > ;
18391839
18401840
1841- export type UserEmailListQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' } | { __typename : 'User' , emails : { __typename ?: 'UserEmailConnection' , totalCount : number , edges : Array < { __typename ?: 'UserEmailEdge' , cursor : string , node : (
1842- { __typename ?: 'UserEmail' }
1843- & { ' $fragmentRefs' ?: { 'UserEmail_EmailFragment' : UserEmail_EmailFragment } }
1844- ) } > , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , hasPreviousPage : boolean , startCursor ?: string | null , endCursor ?: string | null } } } } ;
1841+ export type UserEmailListQuery = { __typename ?: 'Query' , viewer :
1842+ | { __typename : 'Anonymous' }
1843+ | { __typename : 'User' , emails : { __typename ?: 'UserEmailConnection' , totalCount : number , edges : Array < { __typename ?: 'UserEmailEdge' , cursor : string , node : (
1844+ { __typename ?: 'UserEmail' }
1845+ & { ' $fragmentRefs' ?: { 'UserEmail_EmailFragment' : UserEmail_EmailFragment } }
1846+ ) } > , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , hasPreviousPage : boolean , startCursor ?: string | null , endCursor ?: string | null } } }
1847+ } ;
18451848
18461849export type UserEmailList_UserFragment = { __typename ?: 'User' , hasPassword : boolean } & { ' $fragmentName' ?: 'UserEmailList_UserFragment' } ;
18471850
@@ -1852,10 +1855,14 @@ export type BrowserSessionsOverview_UserFragment = { __typename?: 'User', id: st
18521855export type UserProfileQueryVariables = Exact < { [ key : string ] : never ; } > ;
18531856
18541857
1855- export type UserProfileQuery = { __typename ?: 'Query' , viewerSession : { __typename : 'Anonymous' } | { __typename : 'BrowserSession' , id : string , user : (
1856- { __typename ?: 'User' , hasPassword : boolean , emails : { __typename ?: 'UserEmailConnection' , totalCount : number } }
1857- & { ' $fragmentRefs' ?: { 'AddEmailForm_UserFragment' : AddEmailForm_UserFragment ; 'UserEmailList_UserFragment' : UserEmailList_UserFragment ; 'AccountDeleteButton_UserFragment' : AccountDeleteButton_UserFragment } }
1858- ) } | { __typename : 'Oauth2Session' } , siteConfig : (
1858+ export type UserProfileQuery = { __typename ?: 'Query' , viewerSession :
1859+ | { __typename : 'Anonymous' }
1860+ | { __typename : 'BrowserSession' , id : string , user : (
1861+ { __typename ?: 'User' , hasPassword : boolean , emails : { __typename ?: 'UserEmailConnection' , totalCount : number } }
1862+ & { ' $fragmentRefs' ?: { 'AddEmailForm_UserFragment' : AddEmailForm_UserFragment ; 'UserEmailList_UserFragment' : UserEmailList_UserFragment ; 'AccountDeleteButton_UserFragment' : AccountDeleteButton_UserFragment } }
1863+ ) }
1864+ | { __typename : 'Oauth2Session' }
1865+ , siteConfig : (
18591866 { __typename ?: 'SiteConfig' , emailChangeAllowed : boolean , passwordLoginEnabled : boolean , accountDeactivationAllowed : boolean }
18601867 & { ' $fragmentRefs' ?: { 'AddEmailForm_SiteConfigFragment' : AddEmailForm_SiteConfigFragment ; 'UserEmailList_SiteConfigFragment' : UserEmailList_SiteConfigFragment ; 'PasswordChange_SiteConfigFragment' : PasswordChange_SiteConfigFragment ; 'AccountDeleteButton_SiteConfigFragment' : AccountDeleteButton_SiteConfigFragment } }
18611868 ) } ;
@@ -1874,18 +1881,25 @@ export type BrowserSessionListQueryVariables = Exact<{
18741881} > ;
18751882
18761883
1877- 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 : (
1878- { __typename ?: 'BrowserSession' , id : string }
1879- & { ' $fragmentRefs' ?: { 'BrowserSession_SessionFragment' : BrowserSession_SessionFragment } }
1880- ) } > , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , hasPreviousPage : boolean , startCursor ?: string | null , endCursor ?: string | null } } } } | { __typename : 'Oauth2Session' } } ;
1884+ export type BrowserSessionListQuery = { __typename ?: 'Query' , viewerSession :
1885+ | { __typename : 'Anonymous' }
1886+ | { __typename : 'BrowserSession' , id : string , user : { __typename ?: 'User' , id : string , browserSessions : { __typename ?: 'BrowserSessionConnection' , totalCount : number , edges : Array < { __typename ?: 'BrowserSessionEdge' , cursor : string , node : (
1887+ { __typename ?: 'BrowserSession' , id : string }
1888+ & { ' $fragmentRefs' ?: { 'BrowserSession_SessionFragment' : BrowserSession_SessionFragment } }
1889+ ) } > , pageInfo : { __typename ?: 'PageInfo' , hasNextPage : boolean , hasPreviousPage : boolean , startCursor ?: string | null , endCursor ?: string | null } } } }
1890+ | { __typename : 'Oauth2Session' }
1891+ } ;
18811892
18821893export type SessionsOverviewQueryVariables = Exact < { [ key : string ] : never ; } > ;
18831894
18841895
1885- export type SessionsOverviewQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' } | (
1886- { __typename : 'User' , id : string }
1887- & { ' $fragmentRefs' ?: { 'BrowserSessionsOverview_UserFragment' : BrowserSessionsOverview_UserFragment } }
1888- ) } ;
1896+ export type SessionsOverviewQuery = { __typename ?: 'Query' , viewer :
1897+ | { __typename : 'Anonymous' }
1898+ | (
1899+ { __typename : 'User' , id : string }
1900+ & { ' $fragmentRefs' ?: { 'BrowserSessionsOverview_UserFragment' : BrowserSessionsOverview_UserFragment } }
1901+ )
1902+ } ;
18891903
18901904export type AppSessionsListQueryVariables = Exact < {
18911905 before ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
@@ -1896,21 +1910,30 @@ export type AppSessionsListQueryVariables = Exact<{
18961910} > ;
18971911
18981912
1899- export type AppSessionsListQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' } | { __typename : 'User' , id : string , appSessions : { __typename ?: 'AppSessionConnection' , totalCount : number , edges : Array < { __typename ?: 'AppSessionEdge' , cursor : string , node : (
1900- { __typename : 'CompatSession' }
1901- & { ' $fragmentRefs' ?: { 'CompatSession_SessionFragment' : CompatSession_SessionFragment } }
1902- ) | (
1903- { __typename : 'Oauth2Session' }
1904- & { ' $fragmentRefs' ?: { 'OAuth2Session_SessionFragment' : OAuth2Session_SessionFragment } }
1905- ) } > , pageInfo : { __typename ?: 'PageInfo' , startCursor ?: string | null , endCursor ?: string | null , hasNextPage : boolean , hasPreviousPage : boolean } } } } ;
1913+ export type AppSessionsListQuery = { __typename ?: 'Query' , viewer :
1914+ | { __typename : 'Anonymous' }
1915+ | { __typename : 'User' , id : string , appSessions : { __typename ?: 'AppSessionConnection' , totalCount : number , edges : Array < { __typename ?: 'AppSessionEdge' , cursor : string , node :
1916+ | (
1917+ { __typename : 'CompatSession' }
1918+ & { ' $fragmentRefs' ?: { 'CompatSession_SessionFragment' : CompatSession_SessionFragment } }
1919+ )
1920+ | (
1921+ { __typename : 'Oauth2Session' }
1922+ & { ' $fragmentRefs' ?: { 'OAuth2Session_SessionFragment' : OAuth2Session_SessionFragment } }
1923+ )
1924+ } > , pageInfo : { __typename ?: 'PageInfo' , startCursor ?: string | null , endCursor ?: string | null , hasNextPage : boolean , hasPreviousPage : boolean } } }
1925+ } ;
19061926
19071927export type CurrentUserGreetingQueryVariables = Exact < { [ key : string ] : never ; } > ;
19081928
19091929
1910- export type CurrentUserGreetingQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' } | (
1911- { __typename : 'User' }
1912- & { ' $fragmentRefs' ?: { 'UserGreeting_UserFragment' : UserGreeting_UserFragment } }
1913- ) , siteConfig : (
1930+ export type CurrentUserGreetingQuery = { __typename ?: 'Query' , viewer :
1931+ | { __typename : 'Anonymous' }
1932+ | (
1933+ { __typename : 'User' }
1934+ & { ' $fragmentRefs' ?: { 'UserGreeting_UserFragment' : UserGreeting_UserFragment } }
1935+ )
1936+ , siteConfig : (
19141937 { __typename ?: 'SiteConfig' , planManagementIframeUri ?: string | null }
19151938 & { ' $fragmentRefs' ?: { 'UserGreeting_SiteConfigFragment' : UserGreeting_SiteConfigFragment } }
19161939 ) } ;
@@ -1928,15 +1951,21 @@ export type OAuth2ClientQuery = { __typename?: 'Query', oauth2Client?: (
19281951export type CurrentViewerQueryVariables = Exact < { [ key : string ] : never ; } > ;
19291952
19301953
1931- export type CurrentViewerQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' , id : string } | { __typename : 'User' , id : string } } ;
1954+ export type CurrentViewerQuery = { __typename ?: 'Query' , viewer :
1955+ | { __typename : 'Anonymous' , id : string }
1956+ | { __typename : 'User' , id : string }
1957+ } ;
19321958
19331959export type DeviceRedirectQueryVariables = Exact < {
19341960 deviceId : Scalars [ 'String' ] [ 'input' ] ;
19351961 userId : Scalars [ 'ID' ] [ 'input' ] ;
19361962} > ;
19371963
19381964
1939- export type DeviceRedirectQuery = { __typename ?: 'Query' , session ?: { __typename : 'CompatSession' , id : string } | { __typename : 'Oauth2Session' , id : string } | null } ;
1965+ export type DeviceRedirectQuery = { __typename ?: 'Query' , session ?:
1966+ | { __typename : 'CompatSession' , id : string }
1967+ | { __typename : 'Oauth2Session' , id : string }
1968+ | null } ;
19401969
19411970export type VerifyEmailQueryVariables = Exact < {
19421971 id : Scalars [ 'ID' ] [ 'input' ] ;
@@ -1973,7 +2002,10 @@ export type ChangePasswordMutation = { __typename?: 'Mutation', setPassword: { _
19732002export type PasswordChangeQueryVariables = Exact < { [ key : string ] : never ; } > ;
19742003
19752004
1976- export type PasswordChangeQuery = { __typename ?: 'Query' , viewer : { __typename : 'Anonymous' , id : string } | { __typename : 'User' , id : string } , siteConfig : (
2005+ export type PasswordChangeQuery = { __typename ?: 'Query' , viewer :
2006+ | { __typename : 'Anonymous' , id : string }
2007+ | { __typename : 'User' , id : string }
2008+ , siteConfig : (
19772009 { __typename ?: 'SiteConfig' }
19782010 & { ' $fragmentRefs' ?: { 'PasswordCreationDoubleInput_SiteConfigFragment' : PasswordCreationDoubleInput_SiteConfigFragment } }
19792011 ) } ;
@@ -2025,16 +2057,35 @@ export type SessionDetailQueryVariables = Exact<{
20252057} > ;
20262058
20272059
2028- export type SessionDetailQuery = { __typename ?: 'Query' , viewerSession : { __typename ?: 'Anonymous' , id : string } | { __typename ?: 'BrowserSession' , id : string } | { __typename ?: 'Oauth2Session' , id : string } , node ?: { __typename : 'Anonymous' , id : string } | { __typename : 'Authentication' , id : string } | (
2029- { __typename : 'BrowserSession' , id : string }
2030- & { ' $fragmentRefs' ?: { 'BrowserSession_DetailFragment' : BrowserSession_DetailFragment } }
2031- ) | (
2032- { __typename : 'CompatSession' , id : string }
2033- & { ' $fragmentRefs' ?: { 'CompatSession_DetailFragment' : CompatSession_DetailFragment } }
2034- ) | { __typename : 'CompatSsoLogin' , id : string } | { __typename : 'Oauth2Client' , id : string } | (
2035- { __typename : 'Oauth2Session' , id : string }
2036- & { ' $fragmentRefs' ?: { 'OAuth2Session_DetailFragment' : OAuth2Session_DetailFragment } }
2037- ) | { __typename : 'SiteConfig' , id : string } | { __typename : 'UpstreamOAuth2Link' , id : string } | { __typename : 'UpstreamOAuth2Provider' , id : string } | { __typename : 'User' , id : string } | { __typename : 'UserEmail' , id : string } | { __typename : 'UserEmailAuthentication' , id : string } | { __typename : 'UserRecoveryTicket' , id : string } | null } ;
2060+ export type SessionDetailQuery = { __typename ?: 'Query' , viewerSession :
2061+ | { __typename ?: 'Anonymous' , id : string }
2062+ | { __typename ?: 'BrowserSession' , id : string }
2063+ | { __typename ?: 'Oauth2Session' , id : string }
2064+ , node ?:
2065+ | { __typename : 'Anonymous' , id : string }
2066+ | { __typename : 'Authentication' , id : string }
2067+ | (
2068+ { __typename : 'BrowserSession' , id : string }
2069+ & { ' $fragmentRefs' ?: { 'BrowserSession_DetailFragment' : BrowserSession_DetailFragment } }
2070+ )
2071+ | (
2072+ { __typename : 'CompatSession' , id : string }
2073+ & { ' $fragmentRefs' ?: { 'CompatSession_DetailFragment' : CompatSession_DetailFragment } }
2074+ )
2075+ | { __typename : 'CompatSsoLogin' , id : string }
2076+ | { __typename : 'Oauth2Client' , id : string }
2077+ | (
2078+ { __typename : 'Oauth2Session' , id : string }
2079+ & { ' $fragmentRefs' ?: { 'OAuth2Session_DetailFragment' : OAuth2Session_DetailFragment } }
2080+ )
2081+ | { __typename : 'SiteConfig' , id : string }
2082+ | { __typename : 'UpstreamOAuth2Link' , id : string }
2083+ | { __typename : 'UpstreamOAuth2Provider' , id : string }
2084+ | { __typename : 'User' , id : string }
2085+ | { __typename : 'UserEmail' , id : string }
2086+ | { __typename : 'UserEmailAuthentication' , id : string }
2087+ | { __typename : 'UserRecoveryTicket' , id : string }
2088+ | null } ;
20382089
20392090export class TypedDocumentString < TResult , TVariables >
20402091 extends String
0 commit comments