UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
69 lines (68 loc) 1.79 kB
/** * AskNews API * AskNews API [![status](https://status.asknews.app/api/badge/2/status?style=for-the-badge)](https://status.asknews.app/status/prod) * * The version of the OpenAPI document: 0.24.66 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface WebSearchResult2 */ export interface WebSearchResult2 { /** * * @type {string} * @memberof WebSearchResult2 */ title: string; /** * * @type {string} * @memberof WebSearchResult2 */ url: string; /** * * @type {string} * @memberof WebSearchResult2 */ source: string; /** * * @type {string} * @memberof WebSearchResult2 */ published: string; /** * * @type {Array<string>} * @memberof WebSearchResult2 */ keyPoints: Array<string>; /** * * @type {string} * @memberof WebSearchResult2 */ rawText?: string; /** * * @type {string} * @memberof WebSearchResult2 */ asStringKey?: string | null; } /** * Check if a given object implements the WebSearchResult2 interface. */ export declare function instanceOfWebSearchResult2(value: object): value is WebSearchResult2; export declare function WebSearchResult2FromJSON(json: any): WebSearchResult2; export declare function WebSearchResult2FromJSONTyped(json: any, ignoreDiscriminator: boolean): WebSearchResult2; export declare function WebSearchResult2ToJSON(json: any): WebSearchResult2; export declare function WebSearchResult2ToJSONTyped(value?: WebSearchResult2 | null, ignoreDiscriminator?: boolean): any;