UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
64 lines (53 loc) 2.1 kB
/* tslint:disable */ /* eslint-disable */ /** * 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.66 * 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 { mapValues } from '../runtime'; import type { DeepNewsReportParams } from './DeepNewsReportParams'; import { DeepNewsReportParamsFromJSON, DeepNewsReportParamsFromJSONTyped, DeepNewsReportParamsToJSON, DeepNewsReportParamsToJSONTyped, } from './DeepNewsReportParams'; import type { Report1AnyOf } from './Report1AnyOf'; import { Report1AnyOfFromJSON, Report1AnyOfFromJSONTyped, Report1AnyOfToJSON, Report1AnyOfToJSONTyped, } from './Report1AnyOf'; /** * Configuration for generating a written report when the alert triggers. If report is a list, the individual reports will be concatenated into one report in the order they are defined. If not specified, no report is generated. Use ReportRequest(identifier='deepnews', ...) for DeepNews reports.Use ReportRequest(...) or ReportRequest(identifier='legacy', ...) for legacy reports (DEPRECATED). Requests without identifier default to 'deepnews'. Only DeepNews reports can be used in list. * @export * @interface Report1 */ export interface Report1 { } /** * Check if a given object implements the Report1 interface. */ export function instanceOfReport1(value: object): value is Report1 { return true; } export function Report1FromJSON(json: any): Report1 { return Report1FromJSONTyped(json, false); } export function Report1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Report1 { return json; } export function Report1ToJSON(json: any): Report1 { return Report1ToJSONTyped(json, false); } export function Report1ToJSONTyped(value?: Report1 | null, ignoreDiscriminator: boolean = false): any { return value; }