UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
86 lines (85 loc) 1.67 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.18.6 * 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; /** * * @type {string} * @memberof AlertLog */ reportUrl?: string; /** * * @type {Array<string>} * @memberof AlertLog */ articleIds: Array<string>; /** * * @type {object} * @memberof AlertLog */ webhook?: object; } /** * Check if a given object implements the AlertLog interface. */ export declare function instanceOfAlertLog(value: object): boolean; export declare function AlertLogFromJSON(json: any): AlertLog; export declare function AlertLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertLog; export declare function AlertLogToJSON(value?: AlertLog | null): any;