@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
89 lines (88 loc) • 1.84 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 AlertLog
*/
export interface AlertLog {
/**
*
* @type {string}
* @memberof AlertLog
*/
id: string;
/**
*
* @type {Date}
* @memberof AlertLog
*/
createdAt: Date;
/**
*
* @type {string}
* @memberof AlertLog
*/
alertId: string;
/**
*
* @type {string}
* @memberof AlertLog
*/
userId: string;
/**
*
* @type {boolean}
* @memberof AlertLog
*/
alert: boolean;
/**
*
* @type {string}
* @memberof AlertLog
*/
reasoning: string;
/**
*
* @type {string}
* @memberof AlertLog
*/
report?: string | null;
/**
*
* @type {string}
* @memberof AlertLog
*/
reportUrl?: string | null;
/**
*
* @type {Array<string>}
* @memberof AlertLog
*/
articleIds: Array<string>;
/**
*
* @type {{ [key: string]: any; }}
* @memberof AlertLog
*/
webhook?: {
[key: string]: any;
} | null;
}
/**
* Check if a given object implements the AlertLog interface.
*/
export declare function instanceOfAlertLog(value: object): value is AlertLog;
export declare function AlertLogFromJSON(json: any): AlertLog;
export declare function AlertLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertLog;
export declare function AlertLogToJSON(json: any): AlertLog;
export declare function AlertLogToJSONTyped(value?: AlertLog | null, ignoreDiscriminator?: boolean): any;