UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
69 lines (68 loc) 1.64 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.18.6 * 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 {object} * @memberof GraphResponse */ fullGraph: object; /** * * @type {Array<object>} * @memberof GraphResponse */ disambiguations: Array<object>; /** * * @type {Array<SearchResponseDictItem>} * @memberof GraphResponse */ articles?: Array<SearchResponseDictItem>; /** * * @type {string} * @memberof GraphResponse */ query?: string; /** * * @type {Array<object>} * @memberof GraphResponse */ docsEnhanced?: Array<object>; /** * * @type {string} * @memberof GraphResponse */ triplesUrl?: string; /** * * @type {string} * @memberof GraphResponse */ visualizeUrl?: string; } /** * Check if a given object implements the GraphResponse interface. */ export declare function instanceOfGraphResponse(value: object): boolean; export declare function GraphResponseFromJSON(json: any): GraphResponse; export declare function GraphResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GraphResponse; export declare function GraphResponseToJSON(value?: GraphResponse | null): any;