@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
46 lines (45 loc) • 1.25 kB
TypeScript
/**
* AskNews API
* AskNews API
*
* The version of the OpenAPI document: 0.16.2
* 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 { ReportParams } from './ReportParams';
/**
*
* @export
* @interface ReportAction
*/
export interface ReportAction {
/**
*
* @type {string}
* @memberof ReportAction
*/
action?: ReportActionActionEnum;
/**
*
* @type {ReportParams}
* @memberof ReportAction
*/
params: ReportParams;
}
/**
* @export
*/
export declare const ReportActionActionEnum: {
readonly Report: "report";
};
export type ReportActionActionEnum = typeof ReportActionActionEnum[keyof typeof ReportActionActionEnum];
/**
* Check if a given object implements the ReportAction interface.
*/
export declare function instanceOfReportAction(value: object): boolean;
export declare function ReportActionFromJSON(json: any): ReportAction;
export declare function ReportActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportAction;
export declare function ReportActionToJSON(value?: ReportAction | null): any;