UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
69 lines (68 loc) 1.65 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.19.10 * 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 WebSearchResult */ export interface WebSearchResult { /** * * @type {string} * @memberof WebSearchResult */ title: string; /** * * @type {string} * @memberof WebSearchResult */ url: string; /** * * @type {string} * @memberof WebSearchResult */ source: string; /** * * @type {string} * @memberof WebSearchResult */ published: string; /** * * @type {Array<string>} * @memberof WebSearchResult */ keyPoints: Array<string>; /** * * @type {string} * @memberof WebSearchResult */ rawText?: string; /** * * @type {string} * @memberof WebSearchResult */ asStringKey?: string | null; } /** * Check if a given object implements the WebSearchResult interface. */ export declare function instanceOfWebSearchResult(value: object): value is WebSearchResult; export declare function WebSearchResultFromJSON(json: any): WebSearchResult; export declare function WebSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebSearchResult; export declare function WebSearchResultToJSON(json: any): WebSearchResult; export declare function WebSearchResultToJSONTyped(value?: WebSearchResult | null, ignoreDiscriminator?: boolean): any;