@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
104 lines (103 loc) • 2.57 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 { ChartParameters1 } from './ChartParameters1';
/**
*
* @export
* @interface ChartResponse1
*/
export interface ChartResponse1 {
/**
*
* @type {boolean}
* @memberof ChartResponse1
*/
success: boolean;
/**
* The plotly fig.to_json() JSON representation of the chart
* @type {{ [key: string]: any; }}
* @memberof ChartResponse1
*/
chartJson: {
[key: string]: any;
};
/**
*
* @type {string}
* @memberof ChartResponse1
*/
query?: string | null;
/**
*
* @type {string}
* @memberof ChartResponse1
*/
reasoning?: string | null;
/**
*
* @type {ChartParameters1}
* @memberof ChartResponse1
*/
parameters?: ChartParameters1 | null;
/**
*
* @type {{ [key: string]: any; }}
* @memberof ChartResponse1
*/
context?: {
[key: string]: any;
} | null;
/**
*
* @type {number}
* @memberof ChartResponse1
*/
iterationsUsed?: number | null;
/**
*
* @type {string}
* @memberof ChartResponse1
*/
lastReasoning?: string | null;
/**
*
* @type {ChartParameters1}
* @memberof ChartResponse1
*/
lastParameters?: ChartParameters1 | null;
/**
*
* @type {string}
* @memberof ChartResponse1
*/
pngData?: string | null;
/**
*
* @type {string}
* @memberof ChartResponse1
*/
pngUrl?: string | null;
/**
*
* @type {string}
* @memberof ChartResponse1
*/
chartUrl?: string | null;
}
/**
* Check if a given object implements the ChartResponse1 interface.
*/
export declare function instanceOfChartResponse1(value: object): value is ChartResponse1;
export declare function ChartResponse1FromJSON(json: any): ChartResponse1;
export declare function ChartResponse1FromJSONTyped(json: any, ignoreDiscriminator: boolean): ChartResponse1;
export declare function ChartResponse1ToJSON(json: any): ChartResponse1;
export declare function ChartResponse1ToJSONTyped(value?: ChartResponse1 | null, ignoreDiscriminator?: boolean): any;