type Exact = { [K in keyof T]: T[K]; }; export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; }; import type * as Types from './graphql-schema'; export * from './graphql-schema'; export type TPublishableContentFragment = { editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; }; export type TGetBreakingNewsQueryVariables = Exact<{ brandId: string | number; }>; export type TGetBreakingNewsQuery = { brand: { node: { home: { node: { homeBreakingNews: { node: { id: string; with_photo: boolean | null; custom_title: string | null; content: { editorial_model: Types.EditorialContentModelType | null; article: { node: { legacy_id: number | null; title: string | null; url_current: string | null; medias: Array<{ photo: { node: { slug: string | null; id: string; } | null; } | null; } | null> | null; } | null; } | null; live: { node: { legacy_id: number | null; title: string | null; url_current: string | null; medias: Array<{ photo: { node: { slug: string | null; id: string; } | null; } | null; } | null> | null; } | null; } | null; } | null; } | null; } | null; } | null; } | null; } | null; } | null; }; export type TGetHomeLocalNewsQueryVariables = Exact<{ brandId: string | number; slug: string; }>; export type TGetHomeLocalNewsQuery = { brand: { node: { tag: { node: { id: string; label: string | null; url_current: string | null; publishableContents: { totalCount: number | null; edges: Array<{ node: { id: string; editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; tags: { totalCount: number | null; edges: Array<{ cursor: string; node: { id: string; brand_id: string; label: string | null; slug: string | null; } | null; } | null> | null; } | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; } | null; } | null> | null; } | null; } | null; } | null; } | null; } | null; }; export type TGetLatestContentsQueryVariables = Exact<{ brandId: string | number; first: number; after?: string | null | undefined; sourceExcluded?: Array | string | number | null | undefined; }>; export type TGetLatestContentsQuery = { brand: { node: { publishableContents: { totalCount: number | null; pageInfo: { hasNextPage: boolean; endCursor: string | null; }; edges: Array<{ node: { editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; } | null; } | null> | null; } | null; } | null; } | null; }; export type TGetLegalNoticesQueryVariables = Exact<{ after?: string | null | undefined; first?: number | null | undefined; }>; export type TGetLegalNoticesQuery = { legalNotices: { edges: Array<{ cursor: string; node: { id: string; external_id: string | null; title: string | null; publishing_date: string | null; legalNoticeDepartment: { node: { id: string; name: string | null; } | null; } | null; } | null; } | null> | null; pageInfo: { hasNextPage: boolean; endCursor: string | null; }; } | null; }; export type TGetLegalNoticesFromDeptQueryVariables = Exact<{ slug: Types.DepartmentType; after?: string | null | undefined; first?: number | null | undefined; }>; export type TGetLegalNoticesFromDeptQuery = { legalNotices: { edges: Array<{ cursor: string; node: { id: string; external_id: string | null; title: string | null; publishing_date: string | null; department: Types.DepartmentType | null; legalNoticeDepartment: { node: { id: string; slug: Types.DepartmentType | null; name: string | null; } | null; } | null; } | null; } | null> | null; pageInfo: { endCursor: string | null; hasNextPage: boolean; }; } | null; }; export type TGetLiveAndMostReadQueryVariables = Exact<{ brandId: string | number; sourceExcluded?: Array | string | number | null | undefined; liveLimit: number; mostReadLimit: number; }>; export type TGetLiveAndMostReadQuery = { brand: { node: { liveArticles: { edges: Array<{ node: { editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; } | null; } | null> | null; } | null; mostReadArticles: { edges: Array<{ node: { editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; } | null; } | null> | null; } | null; } | null; } | null; }; export type TGetLivePostsQueryVariables = Exact<{ brandId: string | number; liveId: string | number; first: number; after?: string | null | undefined; filter?: Types.TLivePostFilter | null | undefined; }>; export type TGetLivePostsQuery = { brand: { node: { live: { node: { legacy_id: number | null; state: Types.LiveStateType | null; livePosts: { totalCount: number | null; pageInfo: { hasNextPage: boolean; endCursor: string | null; }; edges: Array<{ cursor: string; node: { legacy_id: number | null; printed_hour: string | null; type: Types.LivePostType | null; title: string | null; style: string | null; content_md: { [key: string]: any; } | null; is_important: boolean | null; published_at: string | null; comment: { node: { content: string | null; status: Types.CommentStatus | null; userFront: { node: { username: string | null; } | null; } | null; } | null; } | null; livePostLabel: { node: { slug: string | null; logo: string | null; } | null; } | null; } | null; } | null> | null; } | null; } | null; } | null; } | null; } | null; }; export type TGetMostReadQueryVariables = Exact<{ brandId: string | number; rubricId: string | number; }>; export type TGetMostReadQuery = { brand: { node: { commonArticles: { edges: Array<{ node: { editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; } | null; } | null> | null; } | null; rubricArticles: { edges: Array<{ node: { editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; } | null; } | null> | null; } | null; } | null; } | null; }; export type TGetMostReadContentsQueryVariables = Exact<{ brandId: string | number; excludeModel?: Array | Types.EditorialContentModelType | null | undefined; first: number; after?: string | null | undefined; }>; export type TGetMostReadContentsQuery = { brand: { node: { publishableContents: { edges: Array<{ node: { total_current_visits: number | null; editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; } | null; } | null> | null; pageInfo: { hasNextPage: boolean; endCursor: string | null; }; } | null; } | null; } | null; }; export type TGetMoviesQueryVariables = Exact<{ status: Types.MovieStatus; orderField: Types.MovieOrderField; orderDirection: Types.OrderDirection; cursor?: string | null | undefined; }>; export type TGetMoviesQuery = { movies: { totalCount: number | null; edges: Array<{ node: { title_fr: string | null; release_date: string | null; prod_type: string | null; summary_short: string | null; summary_long: string | null; genres: Array | null; article_url: string | null; movieMedias: { edges: Array<{ node: { type: Types.MovieMedia | null; src: string | null; legend: string | null; copyright: string | null; } | null; } | null> | null; } | null; movieCastings: { edges: Array<{ node: { type: Types.MovieCasting | null; firstname: string | null; lastname: string | null; position: string | null; } | null; } | null> | null; } | null; } | null; } | null> | null; pageInfo: { hasNextPage: boolean; endCursor: string | null; }; } | null; }; export type TGetPdfsByEditionSlugQueryVariables = Exact<{ brandId: string | number; slug: string; first: number; sort: Types.OrderDirection; maxPublicationDate?: string | null | undefined; minPublicationDate?: string | null | undefined; year?: string | null | undefined; month?: string | null | undefined; }>; export type TGetPdfsByEditionSlugQuery = { brand: { node: { edition: { node: { label: string | null; pdfs: { edges: Array<{ node: { id: string; publication_date: string | null; url: string | null; } | null; } | null> | null; } | null; } | null; } | null; } | null; } | null; }; export type TGetTagArticlesWithCursorQueryVariables = Exact<{ brandId: string | number; slug: string; first: number; after?: string | null | undefined; }>; export type TGetTagArticlesWithCursorQuery = { brand: { node: { tag: { node: { id: string; label: string | null; url_current: string | null; block_link_public_id: number | null; publishableContents: { totalCount: number | null; pageInfo: { hasNextPage: boolean; endCursor: string | null; }; edges: Array<{ node: { id: string; editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; } | null; } | null> | null; } | null; } | null; } | null; } | null; } | null; }; export type TGetTvReplaysOrExtractsQueryVariables = Exact<{ brandId: string | number; slug: string; filter: Types.TPublishableContentFilter; first: number; after?: string | null | undefined; }>; export type TGetTvReplaysOrExtractsQuery = { brand: { node: { tag: { node: { publishableContents: { totalCount: number | null; pageInfo: { hasNextPage: boolean; endCursor: string | null; }; edges: Array<{ node: { id: string; url_current: string | null; short_title: string | null; label: string | null; video: { node: { title: string | null; caption: string | null; duration: number | null; src: string | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; photo: { node: { brand_id: string; id: string; slug: string | null; } | null; } | null; } | null> | null; } | null; } | null> | null; } | null; } | null; } | null; } | null; } | null; }; export type TGetUserBackArticlesWithCursorQueryVariables = Exact<{ brandId: string | number; userBackId: string | number; after?: string | null | undefined; first?: number | null | undefined; }>; export type TGetUserBackArticlesWithCursorQuery = { brand: { node: { publishableContents: { totalCount: number | null; pageInfo: { hasNextPage: boolean; endCursor: string | null; }; edges: Array<{ node: { id: string; editorial_model: Types.EditorialContentModelType | null; legacy_id: number | null; title: string | null; short_title: string | null; lead: string | null; label: string | null; public_edited_at: string | null; published_at: string | null; state: Types.LiveStateType | null; comments_count: number | null; enable_comments: boolean | null; facebook_count: number | null; pinterest_count: number | null; picto: Types.Picto | null; url: string | null; reactions_count: { down: number | null; heart: number | null; laughing: number | null; sad: number | null; up: number | null; } | null; rubric: { node: { slug: string | null; label: string | null; theme: string | null; themeColor: { node: { slug: string | null; lightmode_color: string | null; } | null; } | null; } | null; } | null; medias: Array<{ type: Types.MediaSourceType | null; illustration: boolean | null; legend: string | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; video: { src: string | null; title: string | null; duration: number | null; } | null; podcast: { service: Types.PodcastSource | null; src: string | null; title: string | null; url: string | null; thumbnail: string | null; } | null; } | null> | null; photo: { node: { id: string; brand_id: string; title: string | null; caption: string | null; credit: string | null; slug: string | null; } | null; } | null; } | null; } | null> | null; } | null; } | null; } | null; };