UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
47 lines (46 loc) 1.43 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. */ import type { FilterParams } from './FilterParams'; /** * * @export * @interface AskNewsSource */ export interface AskNewsSource { /** * * @type {string} * @memberof AskNewsSource */ identifier: AskNewsSourceIdentifierEnum; /** * * @type {FilterParams} * @memberof AskNewsSource */ params?: FilterParams | null; } /** * @export */ export declare const AskNewsSourceIdentifierEnum: { readonly Asknews: "asknews"; }; export type AskNewsSourceIdentifierEnum = typeof AskNewsSourceIdentifierEnum[keyof typeof AskNewsSourceIdentifierEnum]; /** * Check if a given object implements the AskNewsSource interface. */ export declare function instanceOfAskNewsSource(value: object): value is AskNewsSource; export declare function AskNewsSourceFromJSON(json: any): AskNewsSource; export declare function AskNewsSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AskNewsSource; export declare function AskNewsSourceToJSON(json: any): AskNewsSource; export declare function AskNewsSourceToJSONTyped(value?: AskNewsSource | null, ignoreDiscriminator?: boolean): any;