import { DocGenJobV2025R0 } from '../schemas/v2025R0/docGenJobV2025R0.generated.js'; import { BoxVersionHeaderV2025R0 } from '../parameters/v2025R0/boxVersionHeaderV2025R0.generated.js'; import { DocGenJobsFullV2025R0 } from '../schemas/v2025R0/docGenJobsFullV2025R0.generated.js'; import { DocGenJobsV2025R0 } from '../schemas/v2025R0/docGenJobsV2025R0.generated.js'; import { DocGenBatchBaseV2025R0 } from '../schemas/v2025R0/docGenBatchBaseV2025R0.generated.js'; import { DocGenBatchCreateRequestV2025R0 } from '../schemas/v2025R0/docGenBatchCreateRequestV2025R0.generated.js'; import { Authentication } from '../networking/auth.generated.js'; import { NetworkSession } from '../networking/network.generated.js'; import { CancellationToken } from '../internal/utils.js'; export declare class GetDocgenJobByIdV2025R0Optionals { readonly headers: GetDocgenJobByIdV2025R0Headers; readonly cancellationToken?: CancellationToken; constructor(fields: Omit & Partial>); } export interface GetDocgenJobByIdV2025R0OptionalsInput { readonly headers?: GetDocgenJobByIdV2025R0Headers; readonly cancellationToken?: undefined | CancellationToken; } export declare class GetDocgenBatchJobByIdV2025R0Optionals { readonly queryParams: GetDocgenBatchJobByIdV2025R0QueryParams; readonly headers: GetDocgenBatchJobByIdV2025R0Headers; readonly cancellationToken?: CancellationToken; constructor(fields: Omit & Partial>); } export interface GetDocgenBatchJobByIdV2025R0OptionalsInput { readonly queryParams?: GetDocgenBatchJobByIdV2025R0QueryParams; readonly headers?: GetDocgenBatchJobByIdV2025R0Headers; readonly cancellationToken?: undefined | CancellationToken; } export declare class CreateDocgenBatchV2025R0Optionals { readonly headers: CreateDocgenBatchV2025R0Headers; readonly cancellationToken?: CancellationToken; constructor(fields: Omit & Partial>); } export interface CreateDocgenBatchV2025R0OptionalsInput { readonly headers?: CreateDocgenBatchV2025R0Headers; readonly cancellationToken?: undefined | CancellationToken; } export declare class GetDocgenJobByIdV2025R0Headers { /** * Version header. */ readonly boxVersion: BoxVersionHeaderV2025R0; /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: { readonly [key: string]: undefined | string; }; constructor(fields: Omit & Partial>); } export interface GetDocgenJobByIdV2025R0HeadersInput { /** * Version header. */ readonly boxVersion?: BoxVersionHeaderV2025R0; /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: undefined | { readonly [key: string]: undefined | string; }; } export interface GetDocgenJobsV2025R0QueryParams { /** * Defines the position marker at which to begin returning results. This is * used when paginating using marker-based pagination. * * This requires `usemarker` to be set to `true`. */ readonly marker?: string; /** * The maximum number of items to return per page. */ readonly limit?: number; } export declare class GetDocgenJobsV2025R0Headers { /** * Version header. */ readonly boxVersion: BoxVersionHeaderV2025R0; /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: { readonly [key: string]: undefined | string; }; constructor(fields: Omit & Partial>); } export interface GetDocgenJobsV2025R0HeadersInput { /** * Version header. */ readonly boxVersion?: BoxVersionHeaderV2025R0; /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: undefined | { readonly [key: string]: undefined | string; }; } export interface GetDocgenBatchJobByIdV2025R0QueryParams { /** * Defines the position marker at which to begin returning results. This is * used when paginating using marker-based pagination. * * This requires `usemarker` to be set to `true`. */ readonly marker?: string; /** * The maximum number of items to return per page. */ readonly limit?: number; } export declare class GetDocgenBatchJobByIdV2025R0Headers { /** * Version header. */ readonly boxVersion: BoxVersionHeaderV2025R0; /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: { readonly [key: string]: undefined | string; }; constructor(fields: Omit & Partial>); } export interface GetDocgenBatchJobByIdV2025R0HeadersInput { /** * Version header. */ readonly boxVersion?: BoxVersionHeaderV2025R0; /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: undefined | { readonly [key: string]: undefined | string; }; } export declare class CreateDocgenBatchV2025R0Headers { /** * Version header. */ readonly boxVersion: BoxVersionHeaderV2025R0; /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: { readonly [key: string]: undefined | string; }; constructor(fields: Omit & Partial>); } export interface CreateDocgenBatchV2025R0HeadersInput { /** * Version header. */ readonly boxVersion?: BoxVersionHeaderV2025R0; /** * Extra headers that will be included in the HTTP request. */ readonly extraHeaders?: undefined | { readonly [key: string]: undefined | string; }; } export declare class DocgenManager { readonly auth?: Authentication; readonly networkSession: NetworkSession; constructor(fields: Omit & Partial>); /** * Get details of the Box Doc Gen job. * @param {string} jobId Box Doc Gen job ID. Example: 123 * @param {GetDocgenJobByIdV2025R0OptionalsInput} optionalsInput * @returns {Promise} */ getDocgenJobByIdV2025R0(jobId: string, optionalsInput?: GetDocgenJobByIdV2025R0OptionalsInput): Promise; /** * Lists all Box Doc Gen jobs for a user. * @param {GetDocgenJobsV2025R0QueryParams} queryParams Query parameters of getDocgenJobsV2025R0 method * @param {GetDocgenJobsV2025R0HeadersInput} headersInput Headers of getDocgenJobsV2025R0 method * @param {CancellationToken} cancellationToken Token used for request cancellation. * @returns {Promise} */ getDocgenJobsV2025R0(queryParams?: GetDocgenJobsV2025R0QueryParams, headersInput?: GetDocgenJobsV2025R0HeadersInput, cancellationToken?: CancellationToken): Promise; /** * Lists Box Doc Gen jobs in a batch. * @param {string} batchId Box Doc Gen batch ID. Example: 123 * @param {GetDocgenBatchJobByIdV2025R0OptionalsInput} optionalsInput * @returns {Promise} */ getDocgenBatchJobByIdV2025R0(batchId: string, optionalsInput?: GetDocgenBatchJobByIdV2025R0OptionalsInput): Promise; /** * Generates a document using a Box Doc Gen template. * @param {DocGenBatchCreateRequestV2025R0} requestBody Request body of createDocgenBatchV2025R0 method * @param {CreateDocgenBatchV2025R0OptionalsInput} optionalsInput * @returns {Promise} */ createDocgenBatchV2025R0(requestBody: DocGenBatchCreateRequestV2025R0, optionalsInput?: CreateDocgenBatchV2025R0OptionalsInput): Promise; } export interface DocgenManagerInput { readonly auth?: Authentication; readonly networkSession?: NetworkSession; }