UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
116 lines (115 loc) 2.28 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 AlertResponse */ export interface AlertResponse { /** * * @type {string} * @memberof AlertResponse */ id: string; /** * * @type {Date} * @memberof AlertResponse */ createdAt?: Date; /** * * @type {Date} * @memberof AlertResponse */ updatedAt?: Date; /** * * @type {Date} * @memberof AlertResponse */ expiresAt?: Date; /** * * @type {string} * @memberof AlertResponse */ userId: string; /** * * @type {string} * @memberof AlertResponse */ query?: string; /** * * @type {string} * @memberof AlertResponse */ cron: string; /** * * @type {string} * @memberof AlertResponse */ model: string | null; /** * * @type {string} * @memberof AlertResponse */ shareLink?: string; /** * * @type {Array<object>} * @memberof AlertResponse */ sources: Array<object>; /** * * @type {object} * @memberof AlertResponse */ report?: object; /** * * @type {Array<object>} * @memberof AlertResponse */ triggers: Array<object>; /** * * @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): boolean; export declare function AlertResponseFromJSON(json: any): AlertResponse; export declare function AlertResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlertResponse; export declare function AlertResponseToJSON(value?: AlertResponse | null): any;