UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
47 lines (46 loc) 1.52 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. */ import type { WebSearchResult } from './WebSearchResult'; import type { Offset4 } from './Offset4'; /** * * @export * @interface WebSearchResponse */ export interface WebSearchResponse { /** * * @type {string} * @memberof WebSearchResponse */ asString: string; /** * * @type {Array<WebSearchResult>} * @memberof WebSearchResponse */ asDicts: Array<WebSearchResult>; /** * * @type {Offset4} * @memberof WebSearchResponse */ offset?: Offset4 | null; } /** * Check if a given object implements the WebSearchResponse interface. */ export declare function instanceOfWebSearchResponse(value: object): value is WebSearchResponse; export declare function WebSearchResponseFromJSON(json: any): WebSearchResponse; export declare function WebSearchResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebSearchResponse; export declare function WebSearchResponseToJSON(json: any): WebSearchResponse; export declare function WebSearchResponseToJSONTyped(value?: WebSearchResponse | null, ignoreDiscriminator?: boolean): any;