UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
153 lines (152 loc) 3.42 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.22 * 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 SeriesConfig */ export interface SeriesConfig { /** * * @type {string} * @memberof SeriesConfig */ name: string; /** * * @type {Date} * @memberof SeriesConfig */ startDatetime: Date; /** * * @type {Date} * @memberof SeriesConfig */ endDatetime: Date; /** * * @type {string} * @memberof SeriesConfig */ sampling?: string | null; /** * * @type {string} * @memberof SeriesConfig */ timeFilter?: string | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ categories?: Array<string> | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ domains?: Array<string> | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ badDomainUrl?: Array<string> | null; /** * * @type {number} * @memberof SeriesConfig */ pageRank?: number | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ stringGuarantee?: Array<string> | null; /** * * @type {string} * @memberof SeriesConfig */ stringGuaranteeOp?: string | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ reverseStringGuarantee?: Array<string> | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ entityGuarantee?: Array<string> | null; /** * * @type {string} * @memberof SeriesConfig */ entityGuaranteeOp?: string | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ countries?: Array<string> | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ countriesBlacklist?: Array<string> | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ continents?: Array<string> | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ languages?: Array<string> | null; /** * * @type {string} * @memberof SeriesConfig */ sentiment?: string | null; /** * * @type {Array<string>} * @memberof SeriesConfig */ reportingVoice?: Array<string> | null; /** * * @type {string} * @memberof SeriesConfig */ provocative?: string | null; } /** * Check if a given object implements the SeriesConfig interface. */ export declare function instanceOfSeriesConfig(value: object): value is SeriesConfig; export declare function SeriesConfigFromJSON(json: any): SeriesConfig; export declare function SeriesConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeriesConfig; export declare function SeriesConfigToJSON(json: any): SeriesConfig; export declare function SeriesConfigToJSONTyped(value?: SeriesConfig | null, ignoreDiscriminator?: boolean): any;