@plastic-ant/lightcast-api
Version:
An unofficial helper package for accessing the Lightcast API endpoints
25 lines (24 loc) • 1.02 kB
TypeScript
import { LightcastAPIClient } from "../..";
import type { Response } from "../common-types";
declare const _default: (client: LightcastAPIClient) => {
/**
* Mapping meta data includes information about source and destination taxonomies.
* @param params
* @returns
* @set API docs {@link https://docs.lightcast.dev/apis/classification#get-list-mappings}
*/
meta: <R = Response>(params?: {
filter?: string;
}) => Promise<import("axios").AxiosResponse<R, any>>;
/**
* If there is no mapping for a concept (mappings may not include all source taxonomy concepts) or if the ID doesn't exist in the source taxonomy an empty set will be returned.
* @param name
* @param body
* @returns
* @see API docs {@link https://docs.lightcast.dev/apis/classification#post-map-concepts}
*/
concepts: <R_1 = Response, B = {
ids: string[];
}>(name: string, body: B) => Promise<import("axios").AxiosResponse<R_1, any>>;
};
export default _default;