@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
47 lines (39 loc) • 1.35 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* AskNews API
* AskNews API [](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';
/**
* Which data sources DeepNews should use. Can be a single source or a list. Available sources are: asknews, google, graph, wiki, x, reddit, charts, email, full_text_discovery
* @export
* @interface Sources1
*/
export interface Sources1 {
}
/**
* Check if a given object implements the Sources1 interface.
*/
export function instanceOfSources1(value: object): value is Sources1 {
return true;
}
export function Sources1FromJSON(json: any): Sources1 {
return Sources1FromJSONTyped(json, false);
}
export function Sources1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Sources1 {
return json;
}
export function Sources1ToJSON(json: any): Sources1 {
return Sources1ToJSONTyped(json, false);
}
export function Sources1ToJSONTyped(value?: Sources1 | null, ignoreDiscriminator: boolean = false): any {
return value;
}