UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
69 lines (68 loc) 1.69 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 WebSearchResult1 */ export interface WebSearchResult1 { /** * * @type {string} * @memberof WebSearchResult1 */ title: string; /** * * @type {string} * @memberof WebSearchResult1 */ url: string; /** * * @type {string} * @memberof WebSearchResult1 */ source: string; /** * * @type {string} * @memberof WebSearchResult1 */ published: string; /** * * @type {Array<string | null>} * @memberof WebSearchResult1 */ keyPoints: Array<string | null>; /** * * @type {string} * @memberof WebSearchResult1 */ rawText?: string; /** * * @type {string} * @memberof WebSearchResult1 */ asStringKey?: string | null; } /** * Check if a given object implements the WebSearchResult1 interface. */ export declare function instanceOfWebSearchResult1(value: object): value is WebSearchResult1; export declare function WebSearchResult1FromJSON(json: any): WebSearchResult1; export declare function WebSearchResult1FromJSONTyped(json: any, ignoreDiscriminator: boolean): WebSearchResult1; export declare function WebSearchResult1ToJSON(json: any): WebSearchResult1; export declare function WebSearchResult1ToJSONTyped(value?: WebSearchResult1 | null, ignoreDiscriminator?: boolean): any;