UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
118 lines (117 loc) 3.36 kB
/** * AskNews API * AskNews API [![status](https://status.asknews.app/api/badge/2/status?style=for-the-badge)](https://status.asknews.app/status/prod) * * The version of the OpenAPI document: 0.24.22 * 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 { TriggersInner } from './TriggersInner'; import type { SourcesInner } from './SourcesInner'; import type { ReportRequest } from './ReportRequest'; /** * * @export * @interface UpdateAlertRequest */ export interface UpdateAlertRequest { /** * * @type {string} * @memberof UpdateAlertRequest */ query?: string | null; /** * * @type {string} * @memberof UpdateAlertRequest */ cron?: string | null; /** * * @type {string} * @memberof UpdateAlertRequest */ model?: UpdateAlertRequestModelEnum | null; /** * * @type {string} * @memberof UpdateAlertRequest */ shareLink?: string | null; /** * * @type {Array<SourcesInner>} * @memberof UpdateAlertRequest */ sources?: Array<SourcesInner>; /** * * @type {ReportRequest} * @memberof UpdateAlertRequest */ report?: ReportRequest | null; /** * * @type {Array<TriggersInner>} * @memberof UpdateAlertRequest */ triggers?: Array<TriggersInner>; /** * * @type {boolean} * @memberof UpdateAlertRequest */ alwaysTrigger?: boolean | null; /** * * @type {boolean} * @memberof UpdateAlertRequest */ repeat?: boolean | null; /** * * @type {boolean} * @memberof UpdateAlertRequest */ active?: boolean | null; /** * * @type {Date} * @memberof UpdateAlertRequest */ expiresAt?: Date | null; /** * * @type {string} * @memberof UpdateAlertRequest */ title?: string | null; } /** * @export */ export declare const UpdateAlertRequestModelEnum: { readonly MetaLlamaMetaLlama318BInstruct: "meta-llama/Meta-Llama-3.1-8B-Instruct"; readonly Gpt4oMini: "gpt-4o-mini"; readonly Gpt5Mini: "gpt-5-mini"; readonly Gpt5Nano: "gpt-5-nano"; readonly Gpt4o: "gpt-4o"; readonly O3Mini: "o3-mini"; readonly MetaLlamaMetaLlama3370BInstruct: "meta-llama/Meta-Llama-3.3-70B-Instruct"; readonly Gpt4120250414: "gpt-4.1-2025-04-14"; readonly Gpt41Nano20250414: "gpt-4.1-nano-2025-04-14"; readonly Gpt41Mini20250414: "gpt-4.1-mini-2025-04-14"; }; export type UpdateAlertRequestModelEnum = typeof UpdateAlertRequestModelEnum[keyof typeof UpdateAlertRequestModelEnum]; /** * Check if a given object implements the UpdateAlertRequest interface. */ export declare function instanceOfUpdateAlertRequest(value: object): value is UpdateAlertRequest; export declare function UpdateAlertRequestFromJSON(json: any): UpdateAlertRequest; export declare function UpdateAlertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAlertRequest; export declare function UpdateAlertRequestToJSON(json: any): UpdateAlertRequest; export declare function UpdateAlertRequestToJSONTyped(value?: UpdateAlertRequest | null, ignoreDiscriminator?: boolean): any;