UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
76 lines (75 loc) 2.07 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.22 * 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 { SearchResponseDictItem } from './SearchResponseDictItem'; /** * * @export * @interface GraphResponse */ export interface GraphResponse { /** * * @type {{ [key: string]: any; }} * @memberof GraphResponse */ fullGraph: { [key: string]: any; }; /** * * @type {Array<{ [key: string]: any; } | null>} * @memberof GraphResponse */ disambiguations: Array<{ [key: string]: any; } | null>; /** * * @type {Array<SearchResponseDictItem>} * @memberof GraphResponse */ articles?: Array<SearchResponseDictItem> | null; /** * * @type {string} * @memberof GraphResponse */ query?: string | null; /** * * @type {Array<{ [key: string]: any; }>} * @memberof GraphResponse */ docsEnhanced?: Array<{ [key: string]: any; }> | null; /** * * @type {string} * @memberof GraphResponse */ triplesUrl?: string | null; /** * * @type {string} * @memberof GraphResponse */ visualizeUrl?: string | null; } /** * Check if a given object implements the GraphResponse interface. */ export declare function instanceOfGraphResponse(value: object): value is GraphResponse; export declare function GraphResponseFromJSON(json: any): GraphResponse; export declare function GraphResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GraphResponse; export declare function GraphResponseToJSON(json: any): GraphResponse; export declare function GraphResponseToJSONTyped(value?: GraphResponse | null, ignoreDiscriminator?: boolean): any;