@plastic-ant/lightcast-api
Version:
An unofficial helper package for accessing the Lightcast API endpoints
24 lines (23 loc) • 941 B
TypeScript
import { LightcastAPIClient } from "../..";
import type { QueryParameters } from "./common-types";
import type { Response } from "../common-types";
declare const _default: (client: LightcastAPIClient) => {
/**
* Get a single posting by its id.
* @param id
* @param params
* @returns
* @see API docs {@link https://docs.lightcast.dev/apis/canada-job-postings#get-postings-postingid}
*/
byId: <R = Response>(id: string, params?: QueryParameters) => Promise<import("axios").AxiosResponse<R, any>>;
/**
*
* Get data for individual postings that match your requested filters
* @param body
* @param params
* @returns
* @see API docs {@link https://docs.lightcast.dev/apis/canada-job-postings#post-postings}
*/
filtered: <R_1 = Response, B = unknown>(body: B, params?: QueryParameters) => Promise<import("axios").AxiosResponse<R_1, any>>;
};
export default _default;