UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
47 lines (46 loc) 1.36 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 { ChartResponse } from './ChartResponse'; /** * * @export * @interface Source */ export interface Source { /** * * @type {string} * @memberof Source */ kind?: SourceKindEnum; /** * * @type {ChartResponse} * @memberof Source */ data: ChartResponse; } /** * @export */ export declare const SourceKindEnum: { readonly Chart: "chart"; }; export type SourceKindEnum = typeof SourceKindEnum[keyof typeof SourceKindEnum]; /** * Check if a given object implements the Source interface. */ export declare function instanceOfSource(value: object): value is Source; export declare function SourceFromJSON(json: any): Source; export declare function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source; export declare function SourceToJSON(json: any): Source; export declare function SourceToJSONTyped(value?: Source | null, ignoreDiscriminator?: boolean): any;