UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
52 lines (51 loc) 1.57 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 { DomainQueryArticleItem } from './DomainQueryArticleItem'; /** * * @export * @interface DomainQueryItem */ export interface DomainQueryItem { /** * * @type {string} * @memberof DomainQueryItem */ query: string; /** * * @type {Array<any>} * @memberof DomainQueryItem */ coords: Array<any>; /** * * @type {number} * @memberof DomainQueryItem */ nHits: number; /** * * @type {Array<DomainQueryArticleItem>} * @memberof DomainQueryItem */ articles: Array<DomainQueryArticleItem>; } /** * Check if a given object implements the DomainQueryItem interface. */ export declare function instanceOfDomainQueryItem(value: object): value is DomainQueryItem; export declare function DomainQueryItemFromJSON(json: any): DomainQueryItem; export declare function DomainQueryItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainQueryItem; export declare function DomainQueryItemToJSON(json: any): DomainQueryItem; export declare function DomainQueryItemToJSONTyped(value?: DomainQueryItem | null, ignoreDiscriminator?: boolean): any;