@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
47 lines (46 loc) • 1.38 kB
TypeScript
/**
* AskNews API
* AskNews API [](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 { ChartResponse } from './ChartResponse';
/**
*
* @export
* @interface Source1
*/
export interface Source1 {
/**
*
* @type {string}
* @memberof Source1
*/
kind?: Source1KindEnum;
/**
*
* @type {ChartResponse}
* @memberof Source1
*/
data: ChartResponse;
}
/**
* @export
*/
export declare const Source1KindEnum: {
readonly Chart: "chart";
};
export type Source1KindEnum = typeof Source1KindEnum[keyof typeof Source1KindEnum];
/**
* Check if a given object implements the Source1 interface.
*/
export declare function instanceOfSource1(value: object): value is Source1;
export declare function Source1FromJSON(json: any): Source1;
export declare function Source1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Source1;
export declare function Source1ToJSON(json: any): Source1;
export declare function Source1ToJSONTyped(value?: Source1 | null, ignoreDiscriminator?: boolean): any;