UNPKG

@datocms/cma-client

Version:
25 lines (24 loc) 830 B
import BaseResource from '../../BaseResource'; import type * as ApiTypes from '../ApiTypes'; import type * as RawApiTypes from '../RawApiTypes'; export default class JobResult extends BaseResource { static readonly TYPE: "job_result"; /** * Retrieve a job result * * Read more: https://www.datocms.com/docs/content-management-api/resources/job-result/self * * @throws {ApiError} * @throws {TimeoutError} */ find(jobResultId: string | ApiTypes.JobResultData): Promise<ApiTypes.JobResult>; /** * Retrieve a job result * * Read more: https://www.datocms.com/docs/content-management-api/resources/job-result/self * * @throws {ApiError} * @throws {TimeoutError} */ rawFind(jobResultId: string): Promise<RawApiTypes.JobResultSelfTargetSchema>; }