UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
28 lines (27 loc) 1.08 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.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 type { DeepNewsReportRequest } from './DeepNewsReportRequest'; import type { LegacyReportRequest } from './LegacyReportRequest'; /** * @type Report1AnyOf * * @export */ export type Report1AnyOf = { identifier: 'deepnews'; } & DeepNewsReportRequest | { identifier: 'legacy'; } & LegacyReportRequest; export declare function Report1AnyOfFromJSON(json: any): Report1AnyOf; export declare function Report1AnyOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): Report1AnyOf; export declare function Report1AnyOfToJSON(json: any): any; export declare function Report1AnyOfToJSONTyped(value?: Report1AnyOf | null, ignoreDiscriminator?: boolean): any;