@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
56 lines (55 loc) • 1.62 kB
TypeScript
/**
* AskNews API
* AskNews API [](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.
*/
import type { ScrapeDataItem } from './ScrapeDataItem';
/**
*
* @export
* @interface ScrapedURLItem
*/
export interface ScrapedURLItem {
/**
*
* @type {string}
* @memberof ScrapedURLItem
*/
url: string;
/**
*
* @type {ScrapeDataItem}
* @memberof ScrapedURLItem
*/
data?: ScrapeDataItem | null;
/**
*
* @type {{ [key: string]: any; }}
* @memberof ScrapedURLItem
*/
metadata?: {
[key: string]: any;
} | null;
/**
*
* @type {{ [key: string]: any; }}
* @memberof ScrapedURLItem
*/
enrichments?: {
[key: string]: any;
} | null;
}
/**
* Check if a given object implements the ScrapedURLItem interface.
*/
export declare function instanceOfScrapedURLItem(value: object): value is ScrapedURLItem;
export declare function ScrapedURLItemFromJSON(json: any): ScrapedURLItem;
export declare function ScrapedURLItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScrapedURLItem;
export declare function ScrapedURLItemToJSON(json: any): ScrapedURLItem;
export declare function ScrapedURLItemToJSONTyped(value?: ScrapedURLItem | null, ignoreDiscriminator?: boolean): any;