UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
123 lines (122 loc) 2.61 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.19.10 * 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 AlertResponse */ export interface AlertResponse { /** * * @type {string} * @memberof AlertResponse */ id: string; /** * * @type {Date} * @memberof AlertResponse */ createdAt?: Date | null; /** * * @type {Date} * @memberof AlertResponse */ updatedAt?: Date | null; /** * * @type {Date} * @memberof AlertResponse */ expiresAt?: Date | null; /** * * @type {string} * @memberof AlertResponse */ userId: string; /** * * @type {string} * @memberof AlertResponse */ query?: string | null; /** * * @type {string} * @memberof AlertResponse */ cron: string; /** * * @type {string} * @memberof AlertResponse */ model: string | null; /** * * @type {string} * @memberof AlertResponse */ shareLink?: string | null; /** * * @type {Array<{ [key: string]: any; } | null>} * @memberof AlertResponse */ sources: Array<{ [key: string]: any; } | null>; /** * * @type {{ [key: string]: any; }} * @memberof AlertResponse */ report?: { [key: string]: any; } | null; /** * * @type {Array<{ [key: string]: any; } | null>} * @memberof AlertResponse */ triggers: Array<{ [key: string]: any; } | null>; /** * * @type {boolean} * @memberof AlertResponse */ alwaysTrigger?: boolean; /** * * @type {boolean} * @memberof AlertResponse */ repeat?: boolean; /** * * @type {boolean} * @memberof AlertResponse */ active?: boolean; } /** * Check if a given object implements the AlertResponse interface. */ export declare function instanceOfAlertResponse(value: object): value is AlertResponse; export declare function AlertResponseFromJSON(json: any): AlertResponse; export declare function AlertResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertResponse; export declare function AlertResponseToJSON(json: any): AlertResponse; export declare function AlertResponseToJSONTyped(value?: AlertResponse | null, ignoreDiscriminator?: boolean): any;