UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
46 lines (45 loc) 1.17 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.21.1 * 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. */ /** * * @export * @interface Source */ export interface Source { /** * * @type {string} * @memberof Source */ kind?: SourceKindEnum; /** * * @type {string} * @memberof Source */ data: string; } /** * @export */ export declare const SourceKindEnum: { readonly Graph: "graph"; }; export type SourceKindEnum = typeof SourceKindEnum[keyof typeof SourceKindEnum]; /** * Check if a given object implements the Source interface. */ export declare function instanceOfSource(value: object): value is Source; export declare function SourceFromJSON(json: any): Source; export declare function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source; export declare function SourceToJSON(json: any): Source; export declare function SourceToJSONTyped(value?: Source | null, ignoreDiscriminator?: boolean): any;