import { z } from 'zod'; /** * The shape of the model inside the application code - what the users use */ export declare const sharedArticle: z.ZodObject<{ url: z.ZodOptional; adxKeywords: z.ZodOptional; subsection: z.ZodOptional; column: z.ZodNullable>; etaId: z.ZodOptional; section: z.ZodOptional; id: z.ZodOptional; assetId: z.ZodOptional; nytdsection: z.ZodOptional; byline: z.ZodOptional; type_: z.ZodOptional; title: z.ZodOptional; abstract: z.ZodOptional; publishedDate: z.ZodOptional; source: z.ZodOptional; updated: z.ZodOptional; desFacet: z.ZodOptional>; orgFacet: z.ZodOptional>; perFacet: z.ZodOptional>; geoFacet: z.ZodOptional>; media: z.ZodOptional; subtype: z.ZodOptional; caption: z.ZodOptional; copyright: z.ZodOptional; approvedForSyndication: z.ZodOptional; mediaMetadata: z.ZodOptional; format: z.ZodOptional; height: z.ZodOptional; width: z.ZodOptional; }, "strip", z.ZodTypeAny, { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }, { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type_?: string | undefined; subtype?: string | undefined; caption?: string | undefined; copyright?: string | undefined; approvedForSyndication?: number | undefined; mediaMetadata?: { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }[] | undefined; }, { type_?: string | undefined; subtype?: string | undefined; caption?: string | undefined; copyright?: string | undefined; approvedForSyndication?: number | undefined; mediaMetadata?: { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }[] | undefined; }>, "many">>; uri: z.ZodOptional; }, "strip", z.ZodTypeAny, { url?: string | undefined; adxKeywords?: string | undefined; subsection?: string | undefined; column?: string | null | undefined; etaId?: number | undefined; section?: string | undefined; id?: number | undefined; assetId?: number | undefined; nytdsection?: string | undefined; byline?: string | undefined; type_?: string | undefined; title?: string | undefined; abstract?: string | undefined; publishedDate?: string | undefined; source?: string | undefined; updated?: string | undefined; desFacet?: string[] | undefined; orgFacet?: string[] | undefined; perFacet?: string[] | undefined; geoFacet?: string[] | undefined; media?: { type_?: string | undefined; subtype?: string | undefined; caption?: string | undefined; copyright?: string | undefined; approvedForSyndication?: number | undefined; mediaMetadata?: { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }[] | undefined; }[] | undefined; uri?: string | undefined; }, { url?: string | undefined; adxKeywords?: string | undefined; subsection?: string | undefined; column?: string | null | undefined; etaId?: number | undefined; section?: string | undefined; id?: number | undefined; assetId?: number | undefined; nytdsection?: string | undefined; byline?: string | undefined; type_?: string | undefined; title?: string | undefined; abstract?: string | undefined; publishedDate?: string | undefined; source?: string | undefined; updated?: string | undefined; desFacet?: string[] | undefined; orgFacet?: string[] | undefined; perFacet?: string[] | undefined; geoFacet?: string[] | undefined; media?: { type_?: string | undefined; subtype?: string | undefined; caption?: string | undefined; copyright?: string | undefined; approvedForSyndication?: number | undefined; mediaMetadata?: { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }[] | undefined; }[] | undefined; uri?: string | undefined; }>; /** * * @typedef {SharedArticle} sharedArticle * @property {string} - Article's URL. * @property {string} - Semicolon separated list of keywords. * @property {string} - Article's subsection (e.g. Politics). Can be empty string. * @property {string} - Deprecated. Set to null. * @property {number} - Deprecated. Set to 0. * @property {string} - Article's section (e.g. Sports). * @property {number} - Asset ID number (e.g. 100000007772696). * @property {number} - Asset ID number (e.g. 100000007772696). * @property {string} - Article's section (e.g. sports). * @property {string} - Article's byline (e.g. By Thomas L. Friedman). * @property {string} - Asset type (e.g. Article, Interactive, ...). * @property {string} - Article's headline (e.g. When the Cellos Play, the Cows Come Home). * @property {string} - Brief summary of the article. * @property {string} - When the article was published on the web (e.g. 2021-04-19). * @property {string} - Publisher (e.g. New York Times). * @property {string} - When the article was last updated (e.g. 2021-05-12 06:32:03). * @property {string[]} - Array of description facets (e.g. Quarantine (Life and Culture)). * @property {string[]} - Array of organization facets (e.g. Sullivan Street Bakery). * @property {string[]} - Array of person facets (e.g. Bittman, Mark). * @property {string[]} - Array of geographic facets (e.g. Canada). * @property {Media[]} - Array of images. * @property {string} - An article's globally unique identifier. */ export type SharedArticle = z.infer; /** * The shape of the model mapping from the api schema into the application shape. * Is equal to application shape if all property names match the api schema */ export declare const sharedArticleResponse: z.ZodEffects; adx_keywords: z.ZodOptional; subsection: z.ZodOptional; column: z.ZodNullable>; eta_id: z.ZodOptional; section: z.ZodOptional; id: z.ZodOptional; asset_id: z.ZodOptional; nytdsection: z.ZodOptional; byline: z.ZodOptional; type: z.ZodOptional; title: z.ZodOptional; abstract: z.ZodOptional; published_date: z.ZodOptional; source: z.ZodOptional; updated: z.ZodOptional; des_facet: z.ZodOptional>; org_facet: z.ZodOptional>; per_facet: z.ZodOptional>; geo_facet: z.ZodOptional>; media: z.ZodOptional; subtype: z.ZodOptional; caption: z.ZodOptional; copyright: z.ZodOptional; approved_for_syndication: z.ZodOptional; 'media-metadata': z.ZodOptional; format: z.ZodOptional; height: z.ZodOptional; width: z.ZodOptional; }, "strip", z.ZodTypeAny, { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }, { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }>, { url: string | undefined; format: string | undefined; height: number | undefined; width: number | undefined; }, { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type?: string | undefined; subtype?: string | undefined; caption?: string | undefined; copyright?: string | undefined; approved_for_syndication?: number | undefined; 'media-metadata'?: { url: string | undefined; format: string | undefined; height: number | undefined; width: number | undefined; }[] | undefined; }, { type?: string | undefined; subtype?: string | undefined; caption?: string | undefined; copyright?: string | undefined; approved_for_syndication?: number | undefined; 'media-metadata'?: { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }[] | undefined; }>, { type_: string | undefined; subtype: string | undefined; caption: string | undefined; copyright: string | undefined; approvedForSyndication: number | undefined; mediaMetadata: { url: string | undefined; format: string | undefined; height: number | undefined; width: number | undefined; }[] | undefined; }, { type?: string | undefined; subtype?: string | undefined; caption?: string | undefined; copyright?: string | undefined; approved_for_syndication?: number | undefined; 'media-metadata'?: { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }[] | undefined; }>, "many">>; uri: z.ZodOptional; }, "strip", z.ZodTypeAny, { url?: string | undefined; adx_keywords?: string | undefined; subsection?: string | undefined; column?: string | null | undefined; eta_id?: number | undefined; section?: string | undefined; id?: number | undefined; asset_id?: number | undefined; nytdsection?: string | undefined; byline?: string | undefined; type?: string | undefined; title?: string | undefined; abstract?: string | undefined; published_date?: string | undefined; source?: string | undefined; updated?: string | undefined; des_facet?: string[] | undefined; org_facet?: string[] | undefined; per_facet?: string[] | undefined; geo_facet?: string[] | undefined; media?: { type_: string | undefined; subtype: string | undefined; caption: string | undefined; copyright: string | undefined; approvedForSyndication: number | undefined; mediaMetadata: { url: string | undefined; format: string | undefined; height: number | undefined; width: number | undefined; }[] | undefined; }[] | undefined; uri?: string | undefined; }, { url?: string | undefined; adx_keywords?: string | undefined; subsection?: string | undefined; column?: string | null | undefined; eta_id?: number | undefined; section?: string | undefined; id?: number | undefined; asset_id?: number | undefined; nytdsection?: string | undefined; byline?: string | undefined; type?: string | undefined; title?: string | undefined; abstract?: string | undefined; published_date?: string | undefined; source?: string | undefined; updated?: string | undefined; des_facet?: string[] | undefined; org_facet?: string[] | undefined; per_facet?: string[] | undefined; geo_facet?: string[] | undefined; media?: { type?: string | undefined; subtype?: string | undefined; caption?: string | undefined; copyright?: string | undefined; approved_for_syndication?: number | undefined; 'media-metadata'?: { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }[] | undefined; }[] | undefined; uri?: string | undefined; }>, { url: string | undefined; adxKeywords: string | undefined; subsection: string | undefined; column: string | null | undefined; etaId: number | undefined; section: string | undefined; id: number | undefined; assetId: number | undefined; nytdsection: string | undefined; byline: string | undefined; type_: string | undefined; title: string | undefined; abstract: string | undefined; publishedDate: string | undefined; source: string | undefined; updated: string | undefined; desFacet: string[] | undefined; orgFacet: string[] | undefined; perFacet: string[] | undefined; geoFacet: string[] | undefined; media: { type_: string | undefined; subtype: string | undefined; caption: string | undefined; copyright: string | undefined; approvedForSyndication: number | undefined; mediaMetadata: { url: string | undefined; format: string | undefined; height: number | undefined; width: number | undefined; }[] | undefined; }[] | undefined; uri: string | undefined; }, { url?: string | undefined; adx_keywords?: string | undefined; subsection?: string | undefined; column?: string | null | undefined; eta_id?: number | undefined; section?: string | undefined; id?: number | undefined; asset_id?: number | undefined; nytdsection?: string | undefined; byline?: string | undefined; type?: string | undefined; title?: string | undefined; abstract?: string | undefined; published_date?: string | undefined; source?: string | undefined; updated?: string | undefined; des_facet?: string[] | undefined; org_facet?: string[] | undefined; per_facet?: string[] | undefined; geo_facet?: string[] | undefined; media?: { type?: string | undefined; subtype?: string | undefined; caption?: string | undefined; copyright?: string | undefined; approved_for_syndication?: number | undefined; 'media-metadata'?: { url?: string | undefined; format?: string | undefined; height?: number | undefined; width?: number | undefined; }[] | undefined; }[] | undefined; uri?: string | undefined; }>; /** * The shape of the model mapping from the application shape into the api schema. * Is equal to application shape if all property names match the api schema */ export declare const sharedArticleRequest: z.ZodEffects>; adxKeywords: z.ZodOptional>; subsection: z.ZodOptional>; column: z.ZodOptional>; etaId: z.ZodOptional>; section: z.ZodOptional>; id: z.ZodOptional>; assetId: z.ZodOptional>; nytdsection: z.ZodOptional>; byline: z.ZodOptional>; type_: z.ZodOptional>; title: z.ZodOptional>; abstract: z.ZodOptional>; publishedDate: z.ZodOptional>; source: z.ZodOptional>; updated: z.ZodOptional>; desFacet: z.ZodOptional>>; orgFacet: z.ZodOptional>>; perFacet: z.ZodOptional>>; geoFacet: z.ZodOptional>>; media: z.ZodOptional>; subtype: z.ZodOptional>; caption: z.ZodOptional>; copyright: z.ZodOptional>; approvedForSyndication: z.ZodOptional>; mediaMetadata: z.ZodOptional>; format: z.ZodOptional>; height: z.ZodOptional>; width: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url?: string | null | undefined; format?: string | null | undefined; height?: number | null | undefined; width?: number | null | undefined; }, { url?: string | null | undefined; format?: string | null | undefined; height?: number | null | undefined; width?: number | null | undefined; }>, { url: string | null | undefined; format: string | null | undefined; height: number | null | undefined; width: number | null | undefined; }, { url?: string | null | undefined; format?: string | null | undefined; height?: number | null | undefined; width?: number | null | undefined; }>, "many">>>; }, "strip", z.ZodTypeAny, { type_?: string | null | undefined; subtype?: string | null | undefined; caption?: string | null | undefined; copyright?: string | null | undefined; approvedForSyndication?: number | null | undefined; mediaMetadata?: { url: string | null | undefined; format: string | null | undefined; height: number | null | undefined; width: number | null | undefined; }[] | null | undefined; }, { type_?: string | null | undefined; subtype?: string | null | undefined; caption?: string | null | undefined; copyright?: string | null | undefined; approvedForSyndication?: number | null | undefined; mediaMetadata?: { url?: string | null | undefined; format?: string | null | undefined; height?: number | null | undefined; width?: number | null | undefined; }[] | null | undefined; }>, { type: string | null | undefined; subtype: string | null | undefined; caption: string | null | undefined; copyright: string | null | undefined; approved_for_syndication: number | null | undefined; 'media-metadata': { url: string | null | undefined; format: string | null | undefined; height: number | null | undefined; width: number | null | undefined; }[] | null | undefined; }, { type_?: string | null | undefined; subtype?: string | null | undefined; caption?: string | null | undefined; copyright?: string | null | undefined; approvedForSyndication?: number | null | undefined; mediaMetadata?: { url?: string | null | undefined; format?: string | null | undefined; height?: number | null | undefined; width?: number | null | undefined; }[] | null | undefined; }>, "many">>>; uri: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url?: string | null | undefined; adxKeywords?: string | null | undefined; subsection?: string | null | undefined; column?: string | null | undefined; etaId?: number | null | undefined; section?: string | null | undefined; id?: number | null | undefined; assetId?: number | null | undefined; nytdsection?: string | null | undefined; byline?: string | null | undefined; type_?: string | null | undefined; title?: string | null | undefined; abstract?: string | null | undefined; publishedDate?: string | null | undefined; source?: string | null | undefined; updated?: string | null | undefined; desFacet?: string[] | null | undefined; orgFacet?: string[] | null | undefined; perFacet?: string[] | null | undefined; geoFacet?: string[] | null | undefined; media?: { type: string | null | undefined; subtype: string | null | undefined; caption: string | null | undefined; copyright: string | null | undefined; approved_for_syndication: number | null | undefined; 'media-metadata': { url: string | null | undefined; format: string | null | undefined; height: number | null | undefined; width: number | null | undefined; }[] | null | undefined; }[] | null | undefined; uri?: string | null | undefined; }, { url?: string | null | undefined; adxKeywords?: string | null | undefined; subsection?: string | null | undefined; column?: string | null | undefined; etaId?: number | null | undefined; section?: string | null | undefined; id?: number | null | undefined; assetId?: number | null | undefined; nytdsection?: string | null | undefined; byline?: string | null | undefined; type_?: string | null | undefined; title?: string | null | undefined; abstract?: string | null | undefined; publishedDate?: string | null | undefined; source?: string | null | undefined; updated?: string | null | undefined; desFacet?: string[] | null | undefined; orgFacet?: string[] | null | undefined; perFacet?: string[] | null | undefined; geoFacet?: string[] | null | undefined; media?: { type_?: string | null | undefined; subtype?: string | null | undefined; caption?: string | null | undefined; copyright?: string | null | undefined; approvedForSyndication?: number | null | undefined; mediaMetadata?: { url?: string | null | undefined; format?: string | null | undefined; height?: number | null | undefined; width?: number | null | undefined; }[] | null | undefined; }[] | null | undefined; uri?: string | null | undefined; }>, { url: string | null | undefined; adx_keywords: string | null | undefined; subsection: string | null | undefined; column: string | null | undefined; eta_id: number | null | undefined; section: string | null | undefined; id: number | null | undefined; asset_id: number | null | undefined; nytdsection: string | null | undefined; byline: string | null | undefined; type: string | null | undefined; title: string | null | undefined; abstract: string | null | undefined; published_date: string | null | undefined; source: string | null | undefined; updated: string | null | undefined; des_facet: string[] | null | undefined; org_facet: string[] | null | undefined; per_facet: string[] | null | undefined; geo_facet: string[] | null | undefined; media: { type: string | null | undefined; subtype: string | null | undefined; caption: string | null | undefined; copyright: string | null | undefined; approved_for_syndication: number | null | undefined; 'media-metadata': { url: string | null | undefined; format: string | null | undefined; height: number | null | undefined; width: number | null | undefined; }[] | null | undefined; }[] | null | undefined; uri: string | null | undefined; }, { url?: string | null | undefined; adxKeywords?: string | null | undefined; subsection?: string | null | undefined; column?: string | null | undefined; etaId?: number | null | undefined; section?: string | null | undefined; id?: number | null | undefined; assetId?: number | null | undefined; nytdsection?: string | null | undefined; byline?: string | null | undefined; type_?: string | null | undefined; title?: string | null | undefined; abstract?: string | null | undefined; publishedDate?: string | null | undefined; source?: string | null | undefined; updated?: string | null | undefined; desFacet?: string[] | null | undefined; orgFacet?: string[] | null | undefined; perFacet?: string[] | null | undefined; geoFacet?: string[] | null | undefined; media?: { type_?: string | null | undefined; subtype?: string | null | undefined; caption?: string | null | undefined; copyright?: string | null | undefined; approvedForSyndication?: number | null | undefined; mediaMetadata?: { url?: string | null | undefined; format?: string | null | undefined; height?: number | null | undefined; width?: number | null | undefined; }[] | null | undefined; }[] | null | undefined; uri?: string | null | undefined; }>; //# sourceMappingURL=shared-article.d.ts.map