/** * upload-api * Upload API * * The version of the OpenAPI document: 2.0.0 * Contact: hello@upload.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from "../runtime"; import type { AccountJobType, JobSummary, ListRecentJobsResponse } from "../models"; export interface CancelJobParams { accountId: string; jobId: string; jobType: AccountJobType; } export interface GetJobParams { accountId: string; jobId: string; jobType: AccountJobType; } export interface ListRecentJobsParams { accountId: string; jobType: Array; } /** * */ export declare class JobApi extends runtime.BaseAPI { /** * Cancels an in-progress background job. Requires a `secret_*` API key. */ private cancelJobWithHttpInfo; /** * Cancels an in-progress background job. Requires a `secret_*` API key. */ cancelJob(requestParameters: CancelJobParams, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Gets information on a background job. Requires a `secret_*` API key. */ private getJobWithHttpInfo; /** * Gets information on a background job. Requires a `secret_*` API key. */ getJob(requestParameters: GetJobParams, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Lists the most recently issued background jobs. Requires a `secret_*` API key. */ private listRecentJobsWithHttpInfo; /** * Lists the most recently issued background jobs. Requires a `secret_*` API key. */ listRecentJobs(requestParameters: ListRecentJobsParams, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }