@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
60 lines (59 loc) • 1.96 kB
TypeScript
/**
* AskNews API
* AskNews API
*
* The version of the OpenAPI document: 0.21.1
* 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.
*/
/**
*
* @export
* @interface ReportRequest
*/
export interface ReportRequest {
/**
*
* @type {Array<Array<string>>}
* @memberof ReportRequest
*/
prompt?: Array<Array<string>> | null;
/**
*
* @type {string}
* @memberof ReportRequest
*/
model?: ReportRequestModelEnum | null;
/**
*
* @type {string}
* @memberof ReportRequest
*/
logoUrl?: string | null;
}
/**
* @export
*/
export declare const ReportRequestModelEnum: {
readonly Gpt5: "gpt-5";
readonly Gpt4o: "gpt-4o";
readonly Gpt4120250414: "gpt-4.1-2025-04-14";
readonly Gpt41Mini20250414gpt4oMini: "gpt-4.1-mini-2025-04-14gpt-4o-mini";
readonly O3Mini: "o3-mini";
readonly Claude35SonnetLatest: "claude-3-5-sonnet-latest";
readonly ClaudeSonnet420250514: "claude-sonnet-4-20250514";
readonly MetaLlamaMetaLlama31405BInstruct: "meta-llama/Meta-Llama-3.1-405B-Instruct";
readonly MetaLlamaMetaLlama3370BInstruct: "meta-llama/Meta-Llama-3.3-70B-Instruct";
};
export type ReportRequestModelEnum = typeof ReportRequestModelEnum[keyof typeof ReportRequestModelEnum];
/**
* Check if a given object implements the ReportRequest interface.
*/
export declare function instanceOfReportRequest(value: object): value is ReportRequest;
export declare function ReportRequestFromJSON(json: any): ReportRequest;
export declare function ReportRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportRequest;
export declare function ReportRequestToJSON(json: any): ReportRequest;
export declare function ReportRequestToJSONTyped(value?: ReportRequest | null, ignoreDiscriminator?: boolean): any;