diff --git a/libs/shared/cms/src/__generated__/gql.ts b/libs/shared/cms/src/__generated__/gql.ts index 0550035f1ac..48df5e3e5f5 100644 --- a/libs/shared/cms/src/__generated__/gql.ts +++ b/libs/shared/cms/src/__generated__/gql.ts @@ -26,7 +26,7 @@ type Documents = { "\n query pageContentByPriceIds($locale: String!, $stripePlanIds: [String]!) {\n purchases(\n filters: {\n or: [\n { stripePlanChoices: { stripePlanChoice: { in: $stripePlanIds } } }\n {\n offering: {\n stripeLegacyPlans: { stripeLegacyPlan: { in: $stripePlanIds } }\n }\n }\n ]\n }\n pagination: { limit: 50 }\n ) {\n offering {\n stripeLegacyPlans(pagination: { limit: 100 }) {\n stripeLegacyPlan\n }\n commonContent {\n supportUrl\n localizations(filters: { locale: { eq: $locale } }) {\n supportUrl\n }\n }\n apiIdentifier\n }\n purchaseDetails {\n productName\n webIcon\n localizations(filters: { locale: { eq: $locale } }) {\n productName\n webIcon\n }\n }\n stripePlanChoices {\n stripePlanChoice\n }\n }\n }\n": typeof types.PageContentByPriceIdsDocument, "\n query PageContentForOffering($locale: String!, $apiIdentifier: String!) {\n offerings(\n filters: { apiIdentifier: { eq: $apiIdentifier } }\n pagination: { limit: 200 }\n ) {\n apiIdentifier\n countries\n stripeProductId\n defaultPurchase {\n purchaseDetails {\n details\n productName\n subtitle\n webIcon\n localizations(filters: { locale: { eq: $locale } }) {\n details\n productName\n subtitle\n webIcon\n }\n }\n }\n commonContent {\n privacyNoticeUrl\n privacyNoticeDownloadUrl\n termsOfServiceUrl\n termsOfServiceDownloadUrl\n cancellationUrl\n emailIcon\n successActionButtonUrl\n successActionButtonLabel\n newsletterLabelTextCode\n newsletterSlug\n localizations(filters: { locale: { eq: $locale } }) {\n privacyNoticeUrl\n privacyNoticeDownloadUrl\n termsOfServiceUrl\n termsOfServiceDownloadUrl\n cancellationUrl\n emailIcon\n successActionButtonUrl\n successActionButtonLabel\n newsletterLabelTextCode\n newsletterSlug\n }\n }\n }\n }\n": typeof types.PageContentForOfferingDocument, "\n query PurchaseWithDetailsOfferingContent(\n $locale: String!\n $stripePlanIds: [String]!\n ) {\n purchases(\n filters: {\n or: [\n { stripePlanChoices: { stripePlanChoice: { in: $stripePlanIds } } }\n {\n offering: {\n stripeLegacyPlans: { stripeLegacyPlan: { in: $stripePlanIds } }\n }\n }\n ]\n }\n pagination: { limit: 500 }\n ) {\n stripePlanChoices {\n stripePlanChoice\n }\n purchaseDetails {\n details\n productName\n subtitle\n webIcon\n localizations(filters: { locale: { eq: $locale } }) {\n details\n productName\n subtitle\n webIcon\n }\n }\n offering {\n stripeProductId\n stripeLegacyPlans(pagination: { limit: 200 }) {\n stripeLegacyPlan\n }\n commonContent {\n privacyNoticeUrl\n privacyNoticeDownloadUrl\n termsOfServiceUrl\n termsOfServiceDownloadUrl\n cancellationUrl\n emailIcon\n successActionButtonUrl\n successActionButtonLabel\n newsletterLabelTextCode\n newsletterSlug\n localizations(filters: { locale: { eq: $locale } }) {\n privacyNoticeUrl\n privacyNoticeDownloadUrl\n termsOfServiceUrl\n termsOfServiceDownloadUrl\n cancellationUrl\n emailIcon\n successActionButtonUrl\n successActionButtonLabel\n newsletterLabelTextCode\n newsletterSlug\n }\n }\n }\n }\n }\n": typeof types.PurchaseWithDetailsOfferingContentDocument, - "\n query RelyingParties($clientId: String!, $entrypoint: String!) {\n relyingParties(\n filters: { clientId: { eq: $clientId }, entrypoint: { eq: $entrypoint } }\n ) {\n clientId\n entrypoint\n name\n l10nId\n shared {\n buttonColor\n logoUrl\n logoAltText\n emailFromName\n emailLogoUrl\n emailLogoAltText\n emailLogoWidth\n pageTitle\n headerLogoUrl\n headerLogoAltText\n featureFlags {\n syncConfirmedPageHideCTA\n syncHidePromoAfterLogin\n }\n backgrounds {\n defaultLayout\n header\n splitLayout\n splitLayoutAltText\n }\n favicon\n headlineFontSize\n headlineTextColor\n }\n EmailFirstPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupSetPasswordPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmedSyncPage {\n headline\n description\n primaryButtonText\n pageTitle\n primaryImage {\n url\n altText\n }\n splitLayout\n }\n SigninPage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninTokenCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninUnblockCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n NewDeviceLoginEmail {\n subject\n headline\n description\n }\n VerifyLoginCodeEmail {\n subject\n headline\n description\n }\n VerifyShortCodeEmail {\n subject\n headline\n description\n }\n }\n }\n": typeof types.RelyingPartiesDocument, + "\n query RelyingParties($clientId: String!, $entrypoint: String!) {\n relyingParties(\n filters: { clientId: { eq: $clientId }, entrypoint: { eq: $entrypoint } }\n ) {\n clientId\n entrypoint\n name\n l10nId\n shared {\n buttonColor\n logoUrl\n logoAltText\n emailFromName\n emailLogoUrl\n emailLogoAltText\n emailLogoWidth\n pageTitle\n headerLogoUrl\n headerLogoAltText\n featureFlags {\n syncConfirmedPageHideCTA\n syncHidePromoAfterLogin\n }\n backgrounds {\n defaultLayout\n header\n splitLayout\n splitLayoutAltText\n }\n favicon\n headlineFontSize\n headlineTextColor\n additionalAccessibilityInfo\n }\n EmailFirstPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupSetPasswordPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmedSyncPage {\n headline\n description\n primaryButtonText\n pageTitle\n primaryImage {\n url\n altText\n }\n splitLayout\n }\n SigninPage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninTokenCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninUnblockCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n NewDeviceLoginEmail {\n subject\n headline\n description\n }\n VerifyLoginCodeEmail {\n subject\n headline\n description\n }\n VerifyShortCodeEmail {\n subject\n headline\n description\n }\n }\n }\n": typeof types.RelyingPartiesDocument, "\n query ServicesWithCapabilities {\n services(pagination: { limit: 500 }) {\n oauthClientId\n capabilities {\n slug\n }\n }\n }\n": typeof types.ServicesWithCapabilitiesDocument, }; const documents: Documents = { @@ -42,7 +42,7 @@ const documents: Documents = { "\n query pageContentByPriceIds($locale: String!, $stripePlanIds: [String]!) {\n purchases(\n filters: {\n or: [\n { stripePlanChoices: { stripePlanChoice: { in: $stripePlanIds } } }\n {\n offering: {\n stripeLegacyPlans: { stripeLegacyPlan: { in: $stripePlanIds } }\n }\n }\n ]\n }\n pagination: { limit: 50 }\n ) {\n offering {\n stripeLegacyPlans(pagination: { limit: 100 }) {\n stripeLegacyPlan\n }\n commonContent {\n supportUrl\n localizations(filters: { locale: { eq: $locale } }) {\n supportUrl\n }\n }\n apiIdentifier\n }\n purchaseDetails {\n productName\n webIcon\n localizations(filters: { locale: { eq: $locale } }) {\n productName\n webIcon\n }\n }\n stripePlanChoices {\n stripePlanChoice\n }\n }\n }\n": types.PageContentByPriceIdsDocument, "\n query PageContentForOffering($locale: String!, $apiIdentifier: String!) {\n offerings(\n filters: { apiIdentifier: { eq: $apiIdentifier } }\n pagination: { limit: 200 }\n ) {\n apiIdentifier\n countries\n stripeProductId\n defaultPurchase {\n purchaseDetails {\n details\n productName\n subtitle\n webIcon\n localizations(filters: { locale: { eq: $locale } }) {\n details\n productName\n subtitle\n webIcon\n }\n }\n }\n commonContent {\n privacyNoticeUrl\n privacyNoticeDownloadUrl\n termsOfServiceUrl\n termsOfServiceDownloadUrl\n cancellationUrl\n emailIcon\n successActionButtonUrl\n successActionButtonLabel\n newsletterLabelTextCode\n newsletterSlug\n localizations(filters: { locale: { eq: $locale } }) {\n privacyNoticeUrl\n privacyNoticeDownloadUrl\n termsOfServiceUrl\n termsOfServiceDownloadUrl\n cancellationUrl\n emailIcon\n successActionButtonUrl\n successActionButtonLabel\n newsletterLabelTextCode\n newsletterSlug\n }\n }\n }\n }\n": types.PageContentForOfferingDocument, "\n query PurchaseWithDetailsOfferingContent(\n $locale: String!\n $stripePlanIds: [String]!\n ) {\n purchases(\n filters: {\n or: [\n { stripePlanChoices: { stripePlanChoice: { in: $stripePlanIds } } }\n {\n offering: {\n stripeLegacyPlans: { stripeLegacyPlan: { in: $stripePlanIds } }\n }\n }\n ]\n }\n pagination: { limit: 500 }\n ) {\n stripePlanChoices {\n stripePlanChoice\n }\n purchaseDetails {\n details\n productName\n subtitle\n webIcon\n localizations(filters: { locale: { eq: $locale } }) {\n details\n productName\n subtitle\n webIcon\n }\n }\n offering {\n stripeProductId\n stripeLegacyPlans(pagination: { limit: 200 }) {\n stripeLegacyPlan\n }\n commonContent {\n privacyNoticeUrl\n privacyNoticeDownloadUrl\n termsOfServiceUrl\n termsOfServiceDownloadUrl\n cancellationUrl\n emailIcon\n successActionButtonUrl\n successActionButtonLabel\n newsletterLabelTextCode\n newsletterSlug\n localizations(filters: { locale: { eq: $locale } }) {\n privacyNoticeUrl\n privacyNoticeDownloadUrl\n termsOfServiceUrl\n termsOfServiceDownloadUrl\n cancellationUrl\n emailIcon\n successActionButtonUrl\n successActionButtonLabel\n newsletterLabelTextCode\n newsletterSlug\n }\n }\n }\n }\n }\n": types.PurchaseWithDetailsOfferingContentDocument, - "\n query RelyingParties($clientId: String!, $entrypoint: String!) {\n relyingParties(\n filters: { clientId: { eq: $clientId }, entrypoint: { eq: $entrypoint } }\n ) {\n clientId\n entrypoint\n name\n l10nId\n shared {\n buttonColor\n logoUrl\n logoAltText\n emailFromName\n emailLogoUrl\n emailLogoAltText\n emailLogoWidth\n pageTitle\n headerLogoUrl\n headerLogoAltText\n featureFlags {\n syncConfirmedPageHideCTA\n syncHidePromoAfterLogin\n }\n backgrounds {\n defaultLayout\n header\n splitLayout\n splitLayoutAltText\n }\n favicon\n headlineFontSize\n headlineTextColor\n }\n EmailFirstPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupSetPasswordPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmedSyncPage {\n headline\n description\n primaryButtonText\n pageTitle\n primaryImage {\n url\n altText\n }\n splitLayout\n }\n SigninPage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninTokenCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninUnblockCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n NewDeviceLoginEmail {\n subject\n headline\n description\n }\n VerifyLoginCodeEmail {\n subject\n headline\n description\n }\n VerifyShortCodeEmail {\n subject\n headline\n description\n }\n }\n }\n": types.RelyingPartiesDocument, + "\n query RelyingParties($clientId: String!, $entrypoint: String!) {\n relyingParties(\n filters: { clientId: { eq: $clientId }, entrypoint: { eq: $entrypoint } }\n ) {\n clientId\n entrypoint\n name\n l10nId\n shared {\n buttonColor\n logoUrl\n logoAltText\n emailFromName\n emailLogoUrl\n emailLogoAltText\n emailLogoWidth\n pageTitle\n headerLogoUrl\n headerLogoAltText\n featureFlags {\n syncConfirmedPageHideCTA\n syncHidePromoAfterLogin\n }\n backgrounds {\n defaultLayout\n header\n splitLayout\n splitLayoutAltText\n }\n favicon\n headlineFontSize\n headlineTextColor\n additionalAccessibilityInfo\n }\n EmailFirstPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupSetPasswordPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmedSyncPage {\n headline\n description\n primaryButtonText\n pageTitle\n primaryImage {\n url\n altText\n }\n splitLayout\n }\n SigninPage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninTokenCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninUnblockCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n NewDeviceLoginEmail {\n subject\n headline\n description\n }\n VerifyLoginCodeEmail {\n subject\n headline\n description\n }\n VerifyShortCodeEmail {\n subject\n headline\n description\n }\n }\n }\n": types.RelyingPartiesDocument, "\n query ServicesWithCapabilities {\n services(pagination: { limit: 500 }) {\n oauthClientId\n capabilities {\n slug\n }\n }\n }\n": types.ServicesWithCapabilitiesDocument, }; @@ -111,7 +111,7 @@ export function graphql(source: "\n query PurchaseWithDetailsOfferingContent(\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 RelyingParties($clientId: String!, $entrypoint: String!) {\n relyingParties(\n filters: { clientId: { eq: $clientId }, entrypoint: { eq: $entrypoint } }\n ) {\n clientId\n entrypoint\n name\n l10nId\n shared {\n buttonColor\n logoUrl\n logoAltText\n emailFromName\n emailLogoUrl\n emailLogoAltText\n emailLogoWidth\n pageTitle\n headerLogoUrl\n headerLogoAltText\n featureFlags {\n syncConfirmedPageHideCTA\n syncHidePromoAfterLogin\n }\n backgrounds {\n defaultLayout\n header\n splitLayout\n splitLayoutAltText\n }\n favicon\n headlineFontSize\n headlineTextColor\n }\n EmailFirstPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupSetPasswordPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmedSyncPage {\n headline\n description\n primaryButtonText\n pageTitle\n primaryImage {\n url\n altText\n }\n splitLayout\n }\n SigninPage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninTokenCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninUnblockCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n NewDeviceLoginEmail {\n subject\n headline\n description\n }\n VerifyLoginCodeEmail {\n subject\n headline\n description\n }\n VerifyShortCodeEmail {\n subject\n headline\n description\n }\n }\n }\n"): (typeof documents)["\n query RelyingParties($clientId: String!, $entrypoint: String!) {\n relyingParties(\n filters: { clientId: { eq: $clientId }, entrypoint: { eq: $entrypoint } }\n ) {\n clientId\n entrypoint\n name\n l10nId\n shared {\n buttonColor\n logoUrl\n logoAltText\n emailFromName\n emailLogoUrl\n emailLogoAltText\n emailLogoWidth\n pageTitle\n headerLogoUrl\n headerLogoAltText\n featureFlags {\n syncConfirmedPageHideCTA\n syncHidePromoAfterLogin\n }\n backgrounds {\n defaultLayout\n header\n splitLayout\n splitLayoutAltText\n }\n favicon\n headlineFontSize\n headlineTextColor\n }\n EmailFirstPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupSetPasswordPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmedSyncPage {\n headline\n description\n primaryButtonText\n pageTitle\n primaryImage {\n url\n altText\n }\n splitLayout\n }\n SigninPage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninTokenCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninUnblockCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n NewDeviceLoginEmail {\n subject\n headline\n description\n }\n VerifyLoginCodeEmail {\n subject\n headline\n description\n }\n VerifyShortCodeEmail {\n subject\n headline\n description\n }\n }\n }\n"]; +export function graphql(source: "\n query RelyingParties($clientId: String!, $entrypoint: String!) {\n relyingParties(\n filters: { clientId: { eq: $clientId }, entrypoint: { eq: $entrypoint } }\n ) {\n clientId\n entrypoint\n name\n l10nId\n shared {\n buttonColor\n logoUrl\n logoAltText\n emailFromName\n emailLogoUrl\n emailLogoAltText\n emailLogoWidth\n pageTitle\n headerLogoUrl\n headerLogoAltText\n featureFlags {\n syncConfirmedPageHideCTA\n syncHidePromoAfterLogin\n }\n backgrounds {\n defaultLayout\n header\n splitLayout\n splitLayoutAltText\n }\n favicon\n headlineFontSize\n headlineTextColor\n additionalAccessibilityInfo\n }\n EmailFirstPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupSetPasswordPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmedSyncPage {\n headline\n description\n primaryButtonText\n pageTitle\n primaryImage {\n url\n altText\n }\n splitLayout\n }\n SigninPage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninTokenCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninUnblockCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n NewDeviceLoginEmail {\n subject\n headline\n description\n }\n VerifyLoginCodeEmail {\n subject\n headline\n description\n }\n VerifyShortCodeEmail {\n subject\n headline\n description\n }\n }\n }\n"): (typeof documents)["\n query RelyingParties($clientId: String!, $entrypoint: String!) {\n relyingParties(\n filters: { clientId: { eq: $clientId }, entrypoint: { eq: $entrypoint } }\n ) {\n clientId\n entrypoint\n name\n l10nId\n shared {\n buttonColor\n logoUrl\n logoAltText\n emailFromName\n emailLogoUrl\n emailLogoAltText\n emailLogoWidth\n pageTitle\n headerLogoUrl\n headerLogoAltText\n featureFlags {\n syncConfirmedPageHideCTA\n syncHidePromoAfterLogin\n }\n backgrounds {\n defaultLayout\n header\n splitLayout\n splitLayoutAltText\n }\n favicon\n headlineFontSize\n headlineTextColor\n additionalAccessibilityInfo\n }\n EmailFirstPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupSetPasswordPage {\n logoUrl\n logoAltText\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SignupConfirmedSyncPage {\n headline\n description\n primaryButtonText\n pageTitle\n primaryImage {\n url\n altText\n }\n splitLayout\n }\n SigninPage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninTokenCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n SigninUnblockCodePage {\n headline\n description\n primaryButtonText\n pageTitle\n splitLayout\n }\n NewDeviceLoginEmail {\n subject\n headline\n description\n }\n VerifyLoginCodeEmail {\n subject\n headline\n description\n }\n VerifyShortCodeEmail {\n subject\n headline\n description\n }\n }\n }\n"]; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ diff --git a/libs/shared/cms/src/__generated__/graphql.ts b/libs/shared/cms/src/__generated__/graphql.ts index 2c5b7e1da72..a81af3d9a8d 100644 --- a/libs/shared/cms/src/__generated__/graphql.ts +++ b/libs/shared/cms/src/__generated__/graphql.ts @@ -520,6 +520,7 @@ export type ComponentAccountsPageConfigInput = { export type ComponentAccountsShared = { __typename?: 'ComponentAccountsShared'; + additionalAccessibilityInfo: Maybe; backgrounds: Maybe; buttonColor: Maybe; emailFromName: Maybe; @@ -566,6 +567,7 @@ export type ComponentAccountsSharedBackgroundsInput = { }; export type ComponentAccountsSharedFiltersInput = { + additionalAccessibilityInfo: InputMaybe; and: InputMaybe>>; backgrounds: InputMaybe; buttonColor: InputMaybe; @@ -587,6 +589,7 @@ export type ComponentAccountsSharedFiltersInput = { }; export type ComponentAccountsSharedInput = { + additionalAccessibilityInfo: InputMaybe; backgrounds: InputMaybe; buttonColor: InputMaybe; emailFromName: InputMaybe; @@ -2952,7 +2955,7 @@ export type RelyingPartiesQueryVariables = Exact<{ }>; -export type RelyingPartiesQuery = { __typename?: 'Query', relyingParties: Array<{ __typename?: 'RelyingParty', clientId: string | null, entrypoint: string | null, name: string | null, l10nId: string | null, shared: { __typename?: 'ComponentAccountsShared', buttonColor: string | null, logoUrl: string | null, logoAltText: string | null, emailFromName: string | null, emailLogoUrl: string | null, emailLogoAltText: string | null, emailLogoWidth: string | null, pageTitle: string | null, headerLogoUrl: string | null, headerLogoAltText: string | null, favicon: string | null, headlineFontSize: Enum_Componentaccountsshared_Headlinefontsize | null, headlineTextColor: string | null, featureFlags: { __typename?: 'ComponentAccountsFeatureFlags', syncConfirmedPageHideCTA: boolean | null, syncHidePromoAfterLogin: boolean | null } | null, backgrounds: { __typename?: 'ComponentAccountsSharedBackgrounds', defaultLayout: string | null, header: string | null, splitLayout: string | null, splitLayoutAltText: string | null } | null }, EmailFirstPage: { __typename?: 'ComponentAccountsPageConfig', logoUrl: string | null, logoAltText: string | null, headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null }, SignupSetPasswordPage: { __typename?: 'ComponentAccountsPageConfig', logoUrl: string | null, logoAltText: string | null, headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null }, SignupConfirmCodePage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null }, SignupConfirmedSyncPage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null, primaryImage: { __typename?: 'ComponentAccountsImage', url: string, altText: string } | null } | null, SigninPage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null }, SigninTokenCodePage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null } | null, SigninUnblockCodePage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null } | null, NewDeviceLoginEmail: { __typename?: 'ComponentAccountsEmailConfig', subject: string, headline: string, description: string } | null, VerifyLoginCodeEmail: { __typename?: 'ComponentAccountsEmailConfig', subject: string, headline: string, description: string } | null, VerifyShortCodeEmail: { __typename?: 'ComponentAccountsEmailConfig', subject: string, headline: string, description: string } | null } | null> }; +export type RelyingPartiesQuery = { __typename?: 'Query', relyingParties: Array<{ __typename?: 'RelyingParty', clientId: string | null, entrypoint: string | null, name: string | null, l10nId: string | null, shared: { __typename?: 'ComponentAccountsShared', buttonColor: string | null, logoUrl: string | null, logoAltText: string | null, emailFromName: string | null, emailLogoUrl: string | null, emailLogoAltText: string | null, emailLogoWidth: string | null, pageTitle: string | null, headerLogoUrl: string | null, headerLogoAltText: string | null, favicon: string | null, headlineFontSize: Enum_Componentaccountsshared_Headlinefontsize | null, headlineTextColor: string | null, additionalAccessibilityInfo: string | null, featureFlags: { __typename?: 'ComponentAccountsFeatureFlags', syncConfirmedPageHideCTA: boolean | null, syncHidePromoAfterLogin: boolean | null } | null, backgrounds: { __typename?: 'ComponentAccountsSharedBackgrounds', defaultLayout: string | null, header: string | null, splitLayout: string | null, splitLayoutAltText: string | null } | null }, EmailFirstPage: { __typename?: 'ComponentAccountsPageConfig', logoUrl: string | null, logoAltText: string | null, headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null }, SignupSetPasswordPage: { __typename?: 'ComponentAccountsPageConfig', logoUrl: string | null, logoAltText: string | null, headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null }, SignupConfirmCodePage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null }, SignupConfirmedSyncPage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null, primaryImage: { __typename?: 'ComponentAccountsImage', url: string, altText: string } | null } | null, SigninPage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null }, SigninTokenCodePage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null } | null, SigninUnblockCodePage: { __typename?: 'ComponentAccountsPageConfig', headline: string, description: string | null, primaryButtonText: string, pageTitle: string | null, splitLayout: boolean | null } | null, NewDeviceLoginEmail: { __typename?: 'ComponentAccountsEmailConfig', subject: string, headline: string, description: string } | null, VerifyLoginCodeEmail: { __typename?: 'ComponentAccountsEmailConfig', subject: string, headline: string, description: string } | null, VerifyShortCodeEmail: { __typename?: 'ComponentAccountsEmailConfig', subject: string, headline: string, description: string } | null } | null> }; export type ServicesWithCapabilitiesQueryVariables = Exact<{ [key: string]: never; }>; @@ -2972,5 +2975,5 @@ export const OfferingDocument = {"kind":"Document","definitions":[{"kind":"Opera export const PageContentByPriceIdsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"pageContentByPriceIds"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"stripePlanIds"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purchases"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"or"},"value":{"kind":"ListValue","values":[{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"stripePlanChoices"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"stripePlanChoice"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"stripePlanIds"}}}]}}]}}]},{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"offering"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"stripeLegacyPlans"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"stripeLegacyPlan"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"stripePlanIds"}}}]}}]}}]}}]}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"50"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"offering"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stripeLegacyPlans"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"100"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stripeLegacyPlan"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commonContent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"supportUrl"}},{"kind":"Field","name":{"kind":"Name","value":"localizations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"locale"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"supportUrl"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"apiIdentifier"}}]}},{"kind":"Field","name":{"kind":"Name","value":"purchaseDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"kind":"Field","name":{"kind":"Name","value":"webIcon"}},{"kind":"Field","name":{"kind":"Name","value":"localizations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"locale"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"kind":"Field","name":{"kind":"Name","value":"webIcon"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"stripePlanChoices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stripePlanChoice"}}]}}]}}]}}]} as unknown as DocumentNode; export const PageContentForOfferingDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PageContentForOffering"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"apiIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"offerings"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"apiIdentifier"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"apiIdentifier"}}}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"200"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"apiIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"countries"}},{"kind":"Field","name":{"kind":"Name","value":"stripeProductId"}},{"kind":"Field","name":{"kind":"Name","value":"defaultPurchase"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purchaseDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"}},{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"webIcon"}},{"kind":"Field","name":{"kind":"Name","value":"localizations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"locale"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"}},{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"webIcon"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"commonContent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"privacyNoticeUrl"}},{"kind":"Field","name":{"kind":"Name","value":"privacyNoticeDownloadUrl"}},{"kind":"Field","name":{"kind":"Name","value":"termsOfServiceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"termsOfServiceDownloadUrl"}},{"kind":"Field","name":{"kind":"Name","value":"cancellationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailIcon"}},{"kind":"Field","name":{"kind":"Name","value":"successActionButtonUrl"}},{"kind":"Field","name":{"kind":"Name","value":"successActionButtonLabel"}},{"kind":"Field","name":{"kind":"Name","value":"newsletterLabelTextCode"}},{"kind":"Field","name":{"kind":"Name","value":"newsletterSlug"}},{"kind":"Field","name":{"kind":"Name","value":"localizations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"locale"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"privacyNoticeUrl"}},{"kind":"Field","name":{"kind":"Name","value":"privacyNoticeDownloadUrl"}},{"kind":"Field","name":{"kind":"Name","value":"termsOfServiceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"termsOfServiceDownloadUrl"}},{"kind":"Field","name":{"kind":"Name","value":"cancellationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailIcon"}},{"kind":"Field","name":{"kind":"Name","value":"successActionButtonUrl"}},{"kind":"Field","name":{"kind":"Name","value":"successActionButtonLabel"}},{"kind":"Field","name":{"kind":"Name","value":"newsletterLabelTextCode"}},{"kind":"Field","name":{"kind":"Name","value":"newsletterSlug"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const PurchaseWithDetailsOfferingContentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PurchaseWithDetailsOfferingContent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"stripePlanIds"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"purchases"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"or"},"value":{"kind":"ListValue","values":[{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"stripePlanChoices"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"stripePlanChoice"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"stripePlanIds"}}}]}}]}}]},{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"offering"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"stripeLegacyPlans"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"stripeLegacyPlan"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"stripePlanIds"}}}]}}]}}]}}]}]}}]}},{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"500"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stripePlanChoices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stripePlanChoice"}}]}},{"kind":"Field","name":{"kind":"Name","value":"purchaseDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"}},{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"webIcon"}},{"kind":"Field","name":{"kind":"Name","value":"localizations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"locale"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"details"}},{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"kind":"Field","name":{"kind":"Name","value":"subtitle"}},{"kind":"Field","name":{"kind":"Name","value":"webIcon"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"offering"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stripeProductId"}},{"kind":"Field","name":{"kind":"Name","value":"stripeLegacyPlans"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"200"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stripeLegacyPlan"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commonContent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"privacyNoticeUrl"}},{"kind":"Field","name":{"kind":"Name","value":"privacyNoticeDownloadUrl"}},{"kind":"Field","name":{"kind":"Name","value":"termsOfServiceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"termsOfServiceDownloadUrl"}},{"kind":"Field","name":{"kind":"Name","value":"cancellationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailIcon"}},{"kind":"Field","name":{"kind":"Name","value":"successActionButtonUrl"}},{"kind":"Field","name":{"kind":"Name","value":"successActionButtonLabel"}},{"kind":"Field","name":{"kind":"Name","value":"newsletterLabelTextCode"}},{"kind":"Field","name":{"kind":"Name","value":"newsletterSlug"}},{"kind":"Field","name":{"kind":"Name","value":"localizations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"locale"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"privacyNoticeUrl"}},{"kind":"Field","name":{"kind":"Name","value":"privacyNoticeDownloadUrl"}},{"kind":"Field","name":{"kind":"Name","value":"termsOfServiceUrl"}},{"kind":"Field","name":{"kind":"Name","value":"termsOfServiceDownloadUrl"}},{"kind":"Field","name":{"kind":"Name","value":"cancellationUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailIcon"}},{"kind":"Field","name":{"kind":"Name","value":"successActionButtonUrl"}},{"kind":"Field","name":{"kind":"Name","value":"successActionButtonLabel"}},{"kind":"Field","name":{"kind":"Name","value":"newsletterLabelTextCode"}},{"kind":"Field","name":{"kind":"Name","value":"newsletterSlug"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const RelyingPartiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"RelyingParties"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"clientId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"entrypoint"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"relyingParties"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"clientId"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"clientId"}}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"entrypoint"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"entrypoint"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"clientId"}},{"kind":"Field","name":{"kind":"Name","value":"entrypoint"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"l10nId"}},{"kind":"Field","name":{"kind":"Name","value":"shared"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"buttonColor"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"logoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"emailFromName"}},{"kind":"Field","name":{"kind":"Name","value":"emailLogoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailLogoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"emailLogoWidth"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"headerLogoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"headerLogoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"syncConfirmedPageHideCTA"}},{"kind":"Field","name":{"kind":"Name","value":"syncHidePromoAfterLogin"}}]}},{"kind":"Field","name":{"kind":"Name","value":"backgrounds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"defaultLayout"}},{"kind":"Field","name":{"kind":"Name","value":"header"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayoutAltText"}}]}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"headlineFontSize"}},{"kind":"Field","name":{"kind":"Name","value":"headlineTextColor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"EmailFirstPage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"logoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SignupSetPasswordPage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"logoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SignupConfirmCodePage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SignupConfirmedSyncPage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"primaryImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"altText"}}]}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SigninPage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SigninTokenCodePage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SigninUnblockCodePage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"NewDeviceLoginEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"VerifyLoginCodeEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"VerifyShortCodeEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]}}]} as unknown as DocumentNode; +export const RelyingPartiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"RelyingParties"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"clientId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"entrypoint"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"relyingParties"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"clientId"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"clientId"}}}]}},{"kind":"ObjectField","name":{"kind":"Name","value":"entrypoint"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"entrypoint"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"clientId"}},{"kind":"Field","name":{"kind":"Name","value":"entrypoint"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"l10nId"}},{"kind":"Field","name":{"kind":"Name","value":"shared"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"buttonColor"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"logoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"emailFromName"}},{"kind":"Field","name":{"kind":"Name","value":"emailLogoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"emailLogoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"emailLogoWidth"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"headerLogoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"headerLogoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"featureFlags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"syncConfirmedPageHideCTA"}},{"kind":"Field","name":{"kind":"Name","value":"syncHidePromoAfterLogin"}}]}},{"kind":"Field","name":{"kind":"Name","value":"backgrounds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"defaultLayout"}},{"kind":"Field","name":{"kind":"Name","value":"header"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayoutAltText"}}]}},{"kind":"Field","name":{"kind":"Name","value":"favicon"}},{"kind":"Field","name":{"kind":"Name","value":"headlineFontSize"}},{"kind":"Field","name":{"kind":"Name","value":"headlineTextColor"}},{"kind":"Field","name":{"kind":"Name","value":"additionalAccessibilityInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"EmailFirstPage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"logoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SignupSetPasswordPage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}},{"kind":"Field","name":{"kind":"Name","value":"logoAltText"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SignupConfirmCodePage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SignupConfirmedSyncPage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"primaryImage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"altText"}}]}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SigninPage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SigninTokenCodePage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"SigninUnblockCodePage"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"primaryButtonText"}},{"kind":"Field","name":{"kind":"Name","value":"pageTitle"}},{"kind":"Field","name":{"kind":"Name","value":"splitLayout"}}]}},{"kind":"Field","name":{"kind":"Name","value":"NewDeviceLoginEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"VerifyLoginCodeEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"VerifyShortCodeEmail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"headline"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]}}]} as unknown as DocumentNode; export const ServicesWithCapabilitiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ServicesWithCapabilities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"services"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"pagination"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"500"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"oauthClientId"}},{"kind":"Field","name":{"kind":"Name","value":"capabilities"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/libs/shared/cms/src/lib/queries/relying-party/factories.ts b/libs/shared/cms/src/lib/queries/relying-party/factories.ts index 1f883e98711..a374bea29fc 100644 --- a/libs/shared/cms/src/lib/queries/relying-party/factories.ts +++ b/libs/shared/cms/src/lib/queries/relying-party/factories.ts @@ -92,6 +92,7 @@ export const RelyingPartyResultFactory = ( Enum_Componentaccountsshared_Headlinefontsize.Large, ]), headlineTextColor: faker.color.rgb(), + additionalAccessibilityInfo: faker.string.sample(), }, NewDeviceLoginEmail: { logoUrl: faker.internet.url(), diff --git a/libs/shared/cms/src/lib/queries/relying-party/query.ts b/libs/shared/cms/src/lib/queries/relying-party/query.ts index d529cb5e300..6e863e19c0f 100644 --- a/libs/shared/cms/src/lib/queries/relying-party/query.ts +++ b/libs/shared/cms/src/lib/queries/relying-party/query.ts @@ -37,6 +37,7 @@ export const relyingPartyQuery = graphql(` favicon headlineFontSize headlineTextColor + additionalAccessibilityInfo } EmailFirstPage { logoUrl diff --git a/libs/shared/cms/src/lib/queries/relying-party/types.ts b/libs/shared/cms/src/lib/queries/relying-party/types.ts index 82ee2d67067..0e043be0f6f 100644 --- a/libs/shared/cms/src/lib/queries/relying-party/types.ts +++ b/libs/shared/cms/src/lib/queries/relying-party/types.ts @@ -42,6 +42,7 @@ export interface Shared { favicon: string | null; headlineFontSize: Enum_Componentaccountsshared_Headlinefontsize | null; headlineTextColor: string | null; + additionalAccessibilityInfo: string | null; } export interface FeatureFlags { diff --git a/packages/fxa-settings/src/models/integrations/relier-interfaces.ts b/packages/fxa-settings/src/models/integrations/relier-interfaces.ts index eb0c24b07a6..0d95ba06f72 100644 --- a/packages/fxa-settings/src/models/integrations/relier-interfaces.ts +++ b/packages/fxa-settings/src/models/integrations/relier-interfaces.ts @@ -75,6 +75,7 @@ export interface SharedRelierCmsInfo { favicon?: string | undefined; headlineFontSize?: HeadlineFontSize | null; headlineTextColor?: string | null; + additionalAccessibilityInfo?: string | undefined; } export interface FeatureFlagsRelierCmsInfo { diff --git a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/container.tsx b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/container.tsx index 4d6083fcca7..f0f687236a8 100644 --- a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/container.tsx +++ b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/container.tsx @@ -371,8 +371,7 @@ const CompleteResetPasswordContainer = ({ recoveryKeyExists, estimatedSyncDeviceCount, }} - isFirefoxClientServiceRelay={integration.isFirefoxClientServiceRelay()} - integrationIsSync={integration.isSync()} + integration={integration} locationState={location.state as CompleteResetPasswordLocationState} /> ); diff --git a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.stories.tsx b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.stories.tsx index 95eb249ed0b..b70e2496d2e 100644 --- a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.stories.tsx +++ b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.stories.tsx @@ -5,8 +5,9 @@ import React from 'react'; import { Meta } from '@storybook/react'; import { withLocalization } from 'fxa-react/lib/storybooks'; -import { Subject } from './mocks'; +import { createMockWebIntegration, Subject } from './mocks'; import CompleteResetPassword from '.'; +import { MOCK_CMS_INFO } from '../../mocks'; export default { title: 'Pages/ResetPassword/CompleteResetPassword', @@ -18,11 +19,11 @@ export const NoSync = () => ( ); -export const OAuthDesktopServiceRelay = () => ( +export const WithCmsAdditionalAccessibilityInfo = () => ( ); diff --git a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.test.tsx b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.test.tsx index eff2bc1712c..cf16aea0755 100644 --- a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.test.tsx +++ b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.test.tsx @@ -3,10 +3,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { renderWithLocalizationProvider } from 'fxa-react/lib/test-utils/localizationProvider'; -import { Subject } from './mocks'; +import { createMockWebIntegration, Subject } from './mocks'; import { screen, waitFor } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; -import { MOCK_PASSWORD } from '../../mocks'; +import { MOCK_CMS_INFO, MOCK_PASSWORD } from '../../mocks'; import GleanMetrics from '../../../lib/glean'; const mockSubmitNewPassword = jest.fn((newPassword: string) => @@ -23,9 +23,6 @@ jest.mock('../../../lib/glean', () => ({ }, })); -const serviceRelayText = - 'Firefox will try sending you back to use an email mask after you sign in.'; - describe('CompleteResetPassword page', () => { beforeEach(() => { (GleanMetrics.passwordReset.createNewView as jest.Mock).mockClear(); @@ -75,19 +72,20 @@ describe('CompleteResetPassword page', () => { expect( screen.queryByRole('link', { name: 'Use account recovery key' }) ).not.toBeInTheDocument(); - expect(screen.queryByText(serviceRelayText)).not.toBeInTheDocument(); }); - it('renders expected text when service=relay', async () => { + it('renders additional accessibility info from CMS', async () => { renderWithLocalizationProvider( ); await waitFor(() => - expect(screen.getByText(serviceRelayText)).toBeVisible() + expect( + screen.getByText(MOCK_CMS_INFO.shared.additionalAccessibilityInfo) + ).toBeVisible() ); }); diff --git a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.tsx b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.tsx index 238e12c9fdf..e4c727abdb6 100644 --- a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.tsx +++ b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/index.tsx @@ -19,7 +19,6 @@ import ResetPasswordWarning from '../../../components/ResetPasswordWarning'; import { Link, useLocation } from '@reach/router'; import Banner from '../../../components/Banner'; import { HeadingPrimary } from '../../../components/HeadingPrimary'; -import { useFtlMsgResolver } from '../../../models'; const CompleteResetPassword = ({ email, @@ -29,11 +28,12 @@ const CompleteResetPassword = ({ submitNewPassword, estimatedSyncDeviceCount, recoveryKeyExists, - integrationIsSync, - isFirefoxClientServiceRelay, + integration, }: CompleteResetPasswordProps) => { const location = useLocation(); const searchParams = location.search; + const additionalAccessibilityInfo = + integration.getCmsInfo()?.shared.additionalAccessibilityInfo; useEffect(() => { if (hasConfirmedRecoveryKey) { GleanMetrics.passwordReset.recoveryKeyCreatePasswordView(); @@ -43,11 +43,9 @@ const CompleteResetPassword = ({ } }, [hasConfirmedRecoveryKey, recoveryKeyExists]); - const ftlMsgResolver = useFtlMsgResolver(); - const [isSubmitting, setIsSubmitting] = useState(false); const isActiveSyncUser = !!( - integrationIsSync || + integration.isSync() || (estimatedSyncDeviceCount !== undefined && estimatedSyncDeviceCount > 0) ); const defaultClosed = !isActiveSyncUser; @@ -98,15 +96,10 @@ const CompleteResetPassword = ({ */} - {isFirefoxClientServiceRelay && ( + {additionalAccessibilityInfo && ( )} diff --git a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/interfaces.ts b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/interfaces.ts index 8d59d86d9aa..a0013e35bf4 100644 --- a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/interfaces.ts +++ b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/interfaces.ts @@ -28,7 +28,7 @@ export type CompleteResetPasswordOAuthIntegration = Pick< >; type CompleteResetPasswordIntegration = - | Pick + | Pick | CompleteResetPasswordOAuthIntegration; export type CompleteResetPasswordContainerProps = { @@ -43,8 +43,7 @@ export interface CompleteResetPasswordProps { hasConfirmedRecoveryKey?: boolean; estimatedSyncDeviceCount?: number; recoveryKeyExists?: boolean; - integrationIsSync: boolean; - isFirefoxClientServiceRelay: boolean; + integration: Integration; } export type AccountResetData = { diff --git a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/mocks.tsx b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/mocks.tsx index 4bf55a46232..4258a7b3969 100644 --- a/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/mocks.tsx +++ b/packages/fxa-settings/src/pages/ResetPassword/CompleteResetPassword/mocks.tsx @@ -10,17 +10,32 @@ import { CompleteResetPasswordLocationState, CompleteResetPasswordProps, } from './interfaces'; +import { RelierCmsInfo, WebIntegration } from '../../../models'; +import { GenericData } from '../../../lib/model-data'; const mockSubmitNewPassword = (newPassword: string) => Promise.resolve(); +export function createMockWebIntegration({ + cmsInfo, +}: { + cmsInfo?: RelierCmsInfo; +}) { + const integration = new WebIntegration( + new GenericData({ + uid: MOCK_UID, + }) + ); + integration.cmsInfo = cmsInfo; + return integration; +} + export const Subject = ({ submitNewPassword = mockSubmitNewPassword, hasConfirmedRecoveryKey = false, recoveryKeyExists, testErrorMessage = '', estimatedSyncDeviceCount, - integrationIsSync = false, - isFirefoxClientServiceRelay: isDesktopServiceRelay = false, + integration = createMockWebIntegration({}), }: Partial & { testErrorMessage?: string; }) => { @@ -46,8 +61,7 @@ export const Subject = ({ hasConfirmedRecoveryKey, recoveryKeyExists, estimatedSyncDeviceCount, - integrationIsSync, - isFirefoxClientServiceRelay: isDesktopServiceRelay, + integration, }} /> diff --git a/packages/fxa-settings/src/pages/Signin/SigninRecoveryCode/index.stories.tsx b/packages/fxa-settings/src/pages/Signin/SigninRecoveryCode/index.stories.tsx index 578cd3b32bb..b8315379665 100644 --- a/packages/fxa-settings/src/pages/Signin/SigninRecoveryCode/index.stories.tsx +++ b/packages/fxa-settings/src/pages/Signin/SigninRecoveryCode/index.stories.tsx @@ -66,19 +66,6 @@ export const DefaultWithCms = () => ( /> ); -export const WithOAuthDesktopServiceRelay = () => ( - { - action('handleNavigation')(); - return Promise.resolve(); - }} - signinState={mockSigninLocationState} - submitRecoveryCode={mockSubmitSuccess} - /> -); - export const WithCodeErrorOnSubmit = () => ( ({ @@ -42,13 +42,7 @@ jest.mock('../../../lib/glean', () => ({ })); const mockFinishOAuthFlowHandler = jest.fn(); -const mockIntegration = { - ...createMockSigninWebIntegration(), - getCmsInfo: () => undefined, -}; - -const serviceRelayText = - 'Firefox will try sending you back to use an email mask after you sign in.'; +const mockIntegration = createMockSigninWebIntegration({ cmsInfo: undefined }); describe('PageSigninRecoveryCode', () => { beforeEach(() => { @@ -93,7 +87,6 @@ describe('PageSigninRecoveryCode', () => { screen.getByRole('link', { name: /Are you locked out/i, }); - expect(screen.queryByText(serviceRelayText)).not.toBeInTheDocument(); }); it('has expected glean click events', async () => { @@ -138,19 +131,27 @@ describe('PageSigninRecoveryCode', () => { ); }); - it('renders expected text when service=relay', () => { + it('renders additional accessibility info from CMS', () => { + const mockIntegrationWithCms = createMockSigninWebIntegration({ + cmsInfo: MOCK_CMS_INFO, + }); renderWithLocalizationProvider( ); - screen.getByText(serviceRelayText); + + const additionalInfo = screen.getByText( + MOCK_CMS_INFO.shared.additionalAccessibilityInfo + ); + + expect(additionalInfo).toBeInTheDocument(); }); describe('metrics', () => { diff --git a/packages/fxa-settings/src/pages/Signin/SigninRecoveryCode/index.tsx b/packages/fxa-settings/src/pages/Signin/SigninRecoveryCode/index.tsx index 84a84300a1b..25ed5218783 100644 --- a/packages/fxa-settings/src/pages/Signin/SigninRecoveryCode/index.tsx +++ b/packages/fxa-settings/src/pages/Signin/SigninRecoveryCode/index.tsx @@ -218,6 +218,8 @@ const SigninRecoveryCode = ({ }; const cmsInfo = integration.getCmsInfo(); + const additionalAccessibilityInfo = + cmsInfo?.shared.additionalAccessibilityInfo; return ( @@ -260,13 +262,8 @@ const SigninRecoveryCode = ({

- {integration.isFirefoxClientServiceRelay() && ( - -

- Firefox will try sending you back to use an email mask after you - sign in. -

-
+ {additionalAccessibilityInfo && ( +

{additionalAccessibilityInfo}

)} ( })} /> ); - -export const OAuthDesktopServiceRelay = () => ( - -); diff --git a/packages/fxa-settings/src/pages/Signin/SigninTokenCode/index.test.tsx b/packages/fxa-settings/src/pages/Signin/SigninTokenCode/index.test.tsx index 9d2b1dd13a0..394c068a4cb 100644 --- a/packages/fxa-settings/src/pages/Signin/SigninTokenCode/index.test.tsx +++ b/packages/fxa-settings/src/pages/Signin/SigninTokenCode/index.test.tsx @@ -17,7 +17,11 @@ import { Session, AppContext } from '../../../models'; import { SigninTokenCodeProps } from './interfaces'; import { createOAuthNativeIntegration, Subject } from './mocks'; import { MOCK_SIGNUP_CODE } from '../../Signup/ConfirmSignupCode/mocks'; -import { MOCK_EMAIL, MOCK_OAUTH_FLOW_HANDLER_RESPONSE } from '../../mocks'; +import { + MOCK_CMS_INFO, + MOCK_EMAIL, + MOCK_OAUTH_FLOW_HANDLER_RESPONSE, +} from '../../mocks'; import { AuthUiErrors } from '../../../lib/auth-errors/auth-errors'; import { createMockSigninOAuthIntegration, @@ -82,9 +86,6 @@ function mockReactUtilsModule() { jest.spyOn(ReactUtils, 'hardNavigate').mockImplementation(() => {}); } -const serviceRelayText = - 'Firefox will try sending you back to use an email mask after you sign in.'; - describe('SigninTokenCode page', () => { beforeEach(() => { applyDefaultMocks(); @@ -125,12 +126,17 @@ describe('SigninTokenCode page', () => { // initially hidden expect(screen.queryByRole('Code expired?')).not.toBeInTheDocument(); - expect(screen.queryByText(serviceRelayText)).not.toBeInTheDocument(); }); - it('renders expected text when service=relay', () => { - render({ integration: createOAuthNativeIntegration(false) }); - screen.getByText(serviceRelayText); + it('renders additional accessibility info from CMS', () => { + const mockIntegrationWithCms = createOAuthNativeIntegration( + true, + MOCK_CMS_INFO + ); + render({ integration: mockIntegrationWithCms }); + expect( + screen.getByText(MOCK_CMS_INFO.shared.additionalAccessibilityInfo) + ).toBeInTheDocument(); }); it('emits a metrics event on render', () => { @@ -180,7 +186,9 @@ describe('SigninTokenCode page', () => { screen.getByText('Code expired?'); }); - const resendButton = screen.getByRole('button', { name: 'Email new code.' }); + const resendButton = screen.getByRole('button', { + name: 'Email new code.', + }); fireEvent.click(resendButton); await waitFor(() => { @@ -189,7 +197,9 @@ describe('SigninTokenCode page', () => { // Countdown button should appear and be disabled const resendButtonAfter = await waitFor(() => { - const button = screen.getByRole('button', { name: /Email new code in/ }); + const button = screen.getByRole('button', { + name: /Email new code in/, + }); expect(button).toBeDisabled(); return button; }); diff --git a/packages/fxa-settings/src/pages/Signin/SigninTokenCode/index.tsx b/packages/fxa-settings/src/pages/Signin/SigninTokenCode/index.tsx index 4482c100c50..4ba00d19976 100644 --- a/packages/fxa-settings/src/pages/Signin/SigninTokenCode/index.tsx +++ b/packages/fxa-settings/src/pages/Signin/SigninTokenCode/index.tsx @@ -226,6 +226,8 @@ const SigninTokenCode = ({ const cmsInfo = integration?.getCmsInfo(); const title = cmsInfo?.SigninTokenCodePage?.pageTitle; const splitLayout = cmsInfo?.SigninTokenCodePage?.splitLayout; + const additionalAccessibilityInfo = + cmsInfo?.shared.additionalAccessibilityInfo; return ( @@ -270,13 +272,8 @@ const SigninTokenCode = ({

- {integration.isFirefoxClientServiceRelay() && ( - -

- Firefox will try sending you back to use an email mask after you - sign in. -

-
+ {additionalAccessibilityInfo && ( +

{additionalAccessibilityInfo}

)} ({ useLocation: () => mockLocation(), })); -const serviceRelayText = - 'Firefox will try sending you back to use an email mask after you sign in.'; - describe('Sign in with TOTP code page', () => { beforeEach(() => { jest.clearAllMocks(); @@ -102,7 +103,6 @@ describe('Sign in with TOTP code page', () => { expect(screen.getByRole('button', { name: 'Confirm' })).toBeDisabled(); screen.getByRole('link', { name: 'Use a different account' }); screen.getByRole('link', { name: 'Trouble entering code?' }); - expect(screen.queryByText(serviceRelayText)).not.toBeInTheDocument(); }); it('enables submit button when code entered', async () => { @@ -113,11 +113,15 @@ describe('Sign in with TOTP code page', () => { expect(screen.getByRole('button', { name: 'Confirm' })).toBeEnabled(); }); - it('renders expected service=relay text', () => { + it('renders additional accessibility info from CMS', () => { renderWithLocalizationProvider( - + ); - screen.getByText(serviceRelayText); + expect( + screen.getByText(MOCK_CMS_INFO.shared.additionalAccessibilityInfo) + ).toBeInTheDocument(); }); it('shows the relying party in the header when a service name is provided', () => { diff --git a/packages/fxa-settings/src/pages/Signin/SigninTotpCode/index.tsx b/packages/fxa-settings/src/pages/Signin/SigninTotpCode/index.tsx index a70455721a3..83590b101b6 100644 --- a/packages/fxa-settings/src/pages/Signin/SigninTotpCode/index.tsx +++ b/packages/fxa-settings/src/pages/Signin/SigninTotpCode/index.tsx @@ -167,7 +167,8 @@ export const SigninTotpCode = ({ const cmsInfo = integration.getCmsInfo(); const title = cmsInfo?.SigninTotpCodePage?.pageTitle; const splitLayout = cmsInfo?.SigninTotpCodePage?.splitLayout; - + const additionalAccessibilityInfo = + cmsInfo?.shared.additionalAccessibilityInfo; return ( {cmsInfo ? ( @@ -210,13 +211,8 @@ export const SigninTotpCode = ({ - {integration.isFirefoxClientServiceRelay() && ( - -

- Firefox will try sending you back to use an email mask after you - sign in. -

-
+ {additionalAccessibilityInfo && ( +

{additionalAccessibilityInfo}

)} {bannerError && ( diff --git a/packages/fxa-settings/src/pages/Signin/SigninUnblock/index.test.tsx b/packages/fxa-settings/src/pages/Signin/SigninUnblock/index.test.tsx index 443a0ced6ce..52efa8b5faf 100644 --- a/packages/fxa-settings/src/pages/Signin/SigninUnblock/index.test.tsx +++ b/packages/fxa-settings/src/pages/Signin/SigninUnblock/index.test.tsx @@ -11,7 +11,11 @@ import SigninUnblock, { viewName } from '.'; import { usePageViewEvent } from '../../../lib/metrics'; import { REACT_ENTRYPOINT } from '../../../constants'; import { LocationProvider } from '@reach/router'; -import { MOCK_EMAIL, mockFinishOAuthFlowHandler } from '../../mocks'; +import { + MOCK_CMS_INFO, + MOCK_EMAIL, + mockFinishOAuthFlowHandler, +} from '../../mocks'; import { createBeginSigninResponse, createBeginSigninResponseError, @@ -55,9 +59,6 @@ const hasPassword = true; let signinWithUnblockCode = jest.fn(); let resendUnblockCodeHandler = jest.fn(); -const serviceRelayText = - 'Firefox will try sending you back to use an email mask after you sign in.'; - const renderWithSuccess = ( finishOAuthFlowHandler = jest .fn() @@ -130,17 +131,16 @@ describe('SigninUnblock', () => { name: 'Not in inbox or spam folder? Resend', }); screen.getByRole('link', { name: /Why is this happening/ }); - expect(screen.queryByText(serviceRelayText)).not.toBeInTheDocument(); }); it('renders expected text when service=relay', () => { renderWithSuccess( undefined, - createMockSigninOAuthNativeSyncIntegration({ - isSync: false, - }) + createMockSigninOAuthIntegration({ cmsInfo: MOCK_CMS_INFO }) ); - screen.getByText(serviceRelayText); + expect( + screen.getByText(MOCK_CMS_INFO.shared.additionalAccessibilityInfo) + ).toBeInTheDocument(); }); it('emits the expected metrics on render', () => { diff --git a/packages/fxa-settings/src/pages/Signin/SigninUnblock/index.tsx b/packages/fxa-settings/src/pages/Signin/SigninUnblock/index.tsx index f8c03eb0c6a..a76734a0a98 100644 --- a/packages/fxa-settings/src/pages/Signin/SigninUnblock/index.tsx +++ b/packages/fxa-settings/src/pages/Signin/SigninUnblock/index.tsx @@ -211,6 +211,8 @@ export const SigninUnblock = ({ const cmsInfo = integration.getCmsInfo(); const title = cmsInfo?.SigninUnblockCodePage?.pageTitle; const splitLayout = cmsInfo?.SigninUnblockCodePage?.splitLayout; + const additionalAccessibilityInfo = + cmsInfo?.shared.additionalAccessibilityInfo; return ( @@ -240,13 +242,8 @@ export const SigninUnblock = ({

- {integration.isFirefoxClientServiceRelay() && ( - -

- Firefox will try sending you back to use an email mask after you - sign in. -

-
+ {additionalAccessibilityInfo && ( +

{additionalAccessibilityInfo}

)} ({ useNavigate: () => mockNavigate, })); -const serviceRelayText = - 'Firefox will try sending you back to use an email mask after you sign in.'; - // TODO: Once https://mozilla-hub.atlassian.net/browse/FXA-6461 is resolved, we can // add the l10n tests back in. Right now, they can't handle embedded tags. @@ -244,7 +241,6 @@ describe('Signin component', () => { privacyAndTermsRendered(); resetPasswordLinkRendered(); differentAccountLinkRendered(); - expect(screen.queryByText(serviceRelayText)).not.toBeInTheDocument(); }); it('does not render third party auth for sync, emits expected Glean event', async () => { @@ -848,7 +844,6 @@ describe('Signin component', () => { integration, finishOAuthFlowHandler, }); - screen.getByText(serviceRelayText); await enterPasswordAndSubmit(); await waitFor(() => { // Ensure it's not called with keyFetchToken or unwrapBKey, or services: { sync: {} } @@ -1616,5 +1611,15 @@ describe('Signin component', () => { expect(headerLogo).toMatchSnapshot(); }); + + it('renders additional accessibility info from CMS', () => { + render({ integration: createMockSigninWebIntegration(cmsProps) }); + + const additionalInfo = screen.getByText( + cmsProps.cmsInfo.shared.additionalAccessibilityInfo + ); + + expect(additionalInfo).toBeInTheDocument(); + }); }); }); diff --git a/packages/fxa-settings/src/pages/Signin/index.tsx b/packages/fxa-settings/src/pages/Signin/index.tsx index 9618217c664..5002b57053e 100644 --- a/packages/fxa-settings/src/pages/Signin/index.tsx +++ b/packages/fxa-settings/src/pages/Signin/index.tsx @@ -83,7 +83,6 @@ const Signin = ({ const isOAuth = isOAuthIntegration(integration); const isOAuthNative = isOAuthNativeIntegration(integration); - const isFirefoxClientServiceRelay = integration.isFirefoxClientServiceRelay(); const clientId = integration.getClientId(); const hasLinkedAccountAndNoPassword = hasLinkedAccount && !hasPassword; @@ -364,6 +363,8 @@ const Signin = ({ const cmsInfo = integration.getCmsInfo(); const title = cmsInfo?.SigninPage.pageTitle; const splitLayout = cmsInfo?.SigninPage.splitLayout; + const additionalAccessibilityInfo = + cmsInfo?.shared.additionalAccessibilityInfo; return ( @@ -440,13 +441,8 @@ const Signin = ({ - {isFirefoxClientServiceRelay && ( - -

- Firefox will try sending you back to use an email mask after you - sign in. -

-
+ {additionalAccessibilityInfo && ( +

{additionalAccessibilityInfo}

)} {(!hasLinkedAccountAndNoPassword || diff --git a/packages/fxa-settings/src/pages/Signin/mocks.tsx b/packages/fxa-settings/src/pages/Signin/mocks.tsx index 871d06584ae..f3ac9899ed1 100644 --- a/packages/fxa-settings/src/pages/Signin/mocks.tsx +++ b/packages/fxa-settings/src/pages/Signin/mocks.tsx @@ -197,10 +197,12 @@ export function createMockSigninOAuthNativeIntegration({ service = 'sync', isSync = true, isMobile = false, + cmsInfo = undefined, }: { service?: string; isSync?: boolean; isMobile?: boolean; + cmsInfo?: RelierCmsInfo; } = {}): SigninOAuthIntegration { const isRelay = service === OAuthNativeServices.Relay; const isSmartWindow = service === OAuthNativeServices.SmartWindow; @@ -222,7 +224,7 @@ export function createMockSigninOAuthNativeIntegration({ isSmartWindow, }), getClientId: () => MOCK_CLIENT_ID, - getCmsInfo: () => undefined, + getCmsInfo: () => cmsInfo, isFirefoxMobileClient: () => isSync && isMobile, getLegalTerms: () => undefined, }; @@ -542,7 +544,9 @@ export const Subject = ({ finishOAuthFlowHandler = mockFinishOAuthFlowHandler, supportsKeysOptionalLogin = false, ...props // overrides -}: Partial & { supportsKeysOptionalLogin?: boolean } = {}) => { +}: Partial & { + supportsKeysOptionalLogin?: boolean; +} = {}) => { const useFxAStatusResult = mockUseFxAStatus({ supportsKeysOptionalLogin }); return ( diff --git a/packages/fxa-settings/src/pages/Signup/ConfirmSignupCode/index.stories.tsx b/packages/fxa-settings/src/pages/Signup/ConfirmSignupCode/index.stories.tsx index de69b43b73b..9caf6faea22 100644 --- a/packages/fxa-settings/src/pages/Signup/ConfirmSignupCode/index.stories.tsx +++ b/packages/fxa-settings/src/pages/Signup/ConfirmSignupCode/index.stories.tsx @@ -49,12 +49,6 @@ export const WithErrors = () => ( ); -export const OAuthDesktopServiceRelay = () => ( - - - -); - export const WithSuccessCms = () => ( { // TODO: enable l10n tests when they've been updated to handle embedded tags in ftl strings // TODO: in FXA-6461 @@ -249,6 +247,7 @@ describe('ConfirmSignupCode page', () => { screen.getByRole('button', { name: 'Confirm' }); screen.getByRole('button', { name: 'Email new code.' }); screen.getByTestId('cms-logo'); + screen.getByText(MOCK_CMS_INFO.shared.additionalAccessibilityInfo); }); describe('OAuth web integration', () => { @@ -290,7 +289,6 @@ describe('ConfirmSignupCode page', () => { integration, finishOAuthFlowHandler: jest.fn(), }); - expect(screen.queryByText(serviceRelayText)).not.toBeInTheDocument(); }); it('submits when a valid code is pasted', async () => { @@ -384,7 +382,6 @@ describe('ConfirmSignupCode page', () => { integration, finishOAuthFlowHandler: mockFinishOAuthFlowHandler, }); - screen.getByText(serviceRelayText); submit(); await waitFor(() => { @@ -590,7 +587,9 @@ describe('Resending a new code from ConfirmSignupCode page', () => { integration: mockWebIntegration, }); - const resendButton = screen.getByRole('button', { name: 'Email new code.' }); + const resendButton = screen.getByRole('button', { + name: 'Email new code.', + }); fireEvent.click(resendButton); await waitFor(() => { diff --git a/packages/fxa-settings/src/pages/Signup/ConfirmSignupCode/index.tsx b/packages/fxa-settings/src/pages/Signup/ConfirmSignupCode/index.tsx index aae384791ef..bca4f15b541 100644 --- a/packages/fxa-settings/src/pages/Signup/ConfirmSignupCode/index.tsx +++ b/packages/fxa-settings/src/pages/Signup/ConfirmSignupCode/index.tsx @@ -78,7 +78,6 @@ const ConfirmSignupCode = ({ const navigateWithQuery = useNavigateWithQuery(); const webRedirectCheck = useWebRedirect(integration.data.redirectTo); - const isFirefoxClientServiceRelay = integration.isFirefoxClientServiceRelay(); const isSync = integration.isSync(); const submitFormOnPaste = !isSync; @@ -333,6 +332,8 @@ const ConfirmSignupCode = ({ } const cmsInfo = integration.getCmsInfo(); + const additionalAccessibilityInfo = + cmsInfo?.shared.additionalAccessibilityInfo; const title = cmsInfo?.SignupConfirmCodePage?.pageTitle ? cmsInfo?.SignupConfirmCodePage?.pageTitle @@ -393,13 +394,8 @@ const ConfirmSignupCode = ({

- {isFirefoxClientServiceRelay && ( - -

- Firefox will try sending you back to use an email mask after you - sign in. -

-
+ {additionalAccessibilityInfo && ( +

{additionalAccessibilityInfo}

)}