/** * Emil PublicAPI * The Emil Public API description * * The version of the OpenAPI document: 1.0 * Contact: kontakt@emil.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { CreateDocumentRequestDto } from '../models'; import { CreatePresignedPostRequestDto } from '../models'; import { CreatePresignedPostResponseClass } from '../models'; import { GetProductDocumentDownloadUrlResponseClass } from '../models'; import { ListDocumentsResponseClass } from '../models'; import { ListProductDocumentsResponseClass } from '../models'; /** * DocumentsApi - axios parameter creator * @export */ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configuration) => { /** * This will create a temporary document. * @summary Create the temporary document * @param {CreateDocumentRequestDto} createDocumentRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTemporaryDocument: (createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * This will delete a document for a lead by lead code and document code.Documents which were created within last 24 hours can be deleted. * @summary Delete a document * @param {string} leadCode * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDocuments: (leadCode: string, code: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Retrieves the details of the specific document that was previously created. Supply the unique document code that was returned when you created it and Emil Api will return the corresponding document file to download. * @summary Download a document * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ downloadDocument: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * * @summary Get pre-signed url for downloading product document * @param {string} productCode * @param {string} code * @param {string} [authorization] Bearer Token * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type. * @param {*} [options] Override http request option. * @throws {RequiredError} */ downloadProductDocumentUrl: (productCode: string, code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig) => Promise; /** * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List documents * @param {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [authorization] Bearer Token * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDocuments: (filter: string, authorization?: string, pageSize?: number, pageToken?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise; /** * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List product documents * @param {string} productCode * @param {string} [authorization] Bearer Token * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listProductDocuments: (productCode: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise; /** * This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days. * @summary Upload documents using pre-signed URL * @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ preSignedPost: (createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; }; /** * DocumentsApi - functional programming interface * @export */ export declare const DocumentsApiFp: (configuration?: Configuration) => { /** * This will create a temporary document. * @summary Create the temporary document * @param {CreateDocumentRequestDto} createDocumentRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTemporaryDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This will delete a document for a lead by lead code and document code.Documents which were created within last 24 hours can be deleted. * @summary Delete a document * @param {string} leadCode * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDocuments(leadCode: string, code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Retrieves the details of the specific document that was previously created. Supply the unique document code that was returned when you created it and Emil Api will return the corresponding document file to download. * @summary Download a document * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ downloadDocument(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Get pre-signed url for downloading product document * @param {string} productCode * @param {string} code * @param {string} [authorization] Bearer Token * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type. * @param {*} [options] Override http request option. * @throws {RequiredError} */ downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List documents * @param {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [authorization] Bearer Token * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDocuments(filter: string, authorization?: string, pageSize?: number, pageToken?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List product documents * @param {string} productCode * @param {string} [authorization] Bearer Token * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listProductDocuments(productCode: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days. * @summary Upload documents using pre-signed URL * @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ preSignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DocumentsApi - factory interface * @export */ export declare const DocumentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * This will create a temporary document. * @summary Create the temporary document * @param {CreateDocumentRequestDto} createDocumentRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTemporaryDocument(createDocumentRequestDto: CreateDocumentRequestDto, authorization?: string, options?: any): AxiosPromise; /** * This will delete a document for a lead by lead code and document code.Documents which were created within last 24 hours can be deleted. * @summary Delete a document * @param {string} leadCode * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDocuments(leadCode: string, code: string, authorization?: string, options?: any): AxiosPromise; /** * Retrieves the details of the specific document that was previously created. Supply the unique document code that was returned when you created it and Emil Api will return the corresponding document file to download. * @summary Download a document * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ downloadDocument(code: string, authorization?: string, options?: any): AxiosPromise; /** * * @summary Get pre-signed url for downloading product document * @param {string} productCode * @param {string} code * @param {string} [authorization] Bearer Token * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type. * @param {*} [options] Override http request option. * @throws {RequiredError} */ downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, contentDisposition?: 'attachment' | 'inline', options?: any): AxiosPromise; /** * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List documents * @param {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [authorization] Bearer Token * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDocuments(filter: string, authorization?: string, pageSize?: number, pageToken?: string, order?: string, expand?: string, options?: any): AxiosPromise; /** * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List product documents * @param {string} productCode * @param {string} [authorization] Bearer Token * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listProductDocuments(productCode: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise; /** * This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days. * @summary Upload documents using pre-signed URL * @param {CreatePresignedPostRequestDto} createPresignedPostRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ preSignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: any): AxiosPromise; }; /** * Request parameters for createTemporaryDocument operation in DocumentsApi. * @export * @interface DocumentsApiCreateTemporaryDocumentRequest */ export interface DocumentsApiCreateTemporaryDocumentRequest { /** * * @type {CreateDocumentRequestDto} * @memberof DocumentsApiCreateTemporaryDocument */ readonly createDocumentRequestDto: CreateDocumentRequestDto; /** * Bearer Token * @type {string} * @memberof DocumentsApiCreateTemporaryDocument */ readonly authorization?: string; } /** * Request parameters for deleteDocuments operation in DocumentsApi. * @export * @interface DocumentsApiDeleteDocumentsRequest */ export interface DocumentsApiDeleteDocumentsRequest { /** * * @type {string} * @memberof DocumentsApiDeleteDocuments */ readonly leadCode: string; /** * * @type {string} * @memberof DocumentsApiDeleteDocuments */ readonly code: string; /** * Bearer Token * @type {string} * @memberof DocumentsApiDeleteDocuments */ readonly authorization?: string; } /** * Request parameters for downloadDocument operation in DocumentsApi. * @export * @interface DocumentsApiDownloadDocumentRequest */ export interface DocumentsApiDownloadDocumentRequest { /** * * @type {string} * @memberof DocumentsApiDownloadDocument */ readonly code: string; /** * Bearer Token * @type {string} * @memberof DocumentsApiDownloadDocument */ readonly authorization?: string; } /** * Request parameters for downloadProductDocumentUrl operation in DocumentsApi. * @export * @interface DocumentsApiDownloadProductDocumentUrlRequest */ export interface DocumentsApiDownloadProductDocumentUrlRequest { /** * * @type {string} * @memberof DocumentsApiDownloadProductDocumentUrl */ readonly productCode: string; /** * * @type {string} * @memberof DocumentsApiDownloadProductDocumentUrl */ readonly code: string; /** * Bearer Token * @type {string} * @memberof DocumentsApiDownloadProductDocumentUrl */ readonly authorization?: string; /** * Content disposition override. Default will be depending on the document type. * @type {'attachment' | 'inline'} * @memberof DocumentsApiDownloadProductDocumentUrl */ readonly contentDisposition?: 'attachment' | 'inline'; } /** * Request parameters for listDocuments operation in DocumentsApi. * @export * @interface DocumentsApiListDocumentsRequest */ export interface DocumentsApiListDocumentsRequest { /** * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @type {string} * @memberof DocumentsApiListDocuments */ readonly filter: string; /** * Bearer Token * @type {string} * @memberof DocumentsApiListDocuments */ readonly authorization?: string; /** * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10. * @type {number} * @memberof DocumentsApiListDocuments */ readonly pageSize?: number; /** * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @type {string} * @memberof DocumentsApiListDocuments */ readonly pageToken?: string; /** * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @type {string} * @memberof DocumentsApiListDocuments */ readonly order?: string; /** * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @type {string} * @memberof DocumentsApiListDocuments */ readonly expand?: string; } /** * Request parameters for listProductDocuments operation in DocumentsApi. * @export * @interface DocumentsApiListProductDocumentsRequest */ export interface DocumentsApiListProductDocumentsRequest { /** * * @type {string} * @memberof DocumentsApiListProductDocuments */ readonly productCode: string; /** * Bearer Token * @type {string} * @memberof DocumentsApiListProductDocuments */ readonly authorization?: string; /** * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @type {number} * @memberof DocumentsApiListProductDocuments */ readonly pageSize?: number; /** * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @type {string} * @memberof DocumentsApiListProductDocuments */ readonly pageToken?: string; /** * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @type {string} * @memberof DocumentsApiListProductDocuments */ readonly filter?: string; /** * To search the list by any field, pass search=xxx to fetch the result. * @type {string} * @memberof DocumentsApiListProductDocuments */ readonly search?: string; /** * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @type {string} * @memberof DocumentsApiListProductDocuments */ readonly order?: string; /** * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @type {string} * @memberof DocumentsApiListProductDocuments */ readonly expand?: string; /** * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time. * @type {string} * @memberof DocumentsApiListProductDocuments */ readonly filters?: string; } /** * Request parameters for preSignedPost operation in DocumentsApi. * @export * @interface DocumentsApiPreSignedPostRequest */ export interface DocumentsApiPreSignedPostRequest { /** * * @type {CreatePresignedPostRequestDto} * @memberof DocumentsApiPreSignedPost */ readonly createPresignedPostRequestDto: CreatePresignedPostRequestDto; /** * Bearer Token * @type {string} * @memberof DocumentsApiPreSignedPost */ readonly authorization?: string; } /** * DocumentsApi - object-oriented interface * @export * @class DocumentsApi * @extends {BaseAPI} */ export declare class DocumentsApi extends BaseAPI { /** * This will create a temporary document. * @summary Create the temporary document * @param {DocumentsApiCreateTemporaryDocumentRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DocumentsApi */ createTemporaryDocument(requestParameters: DocumentsApiCreateTemporaryDocumentRequest, options?: AxiosRequestConfig): Promise>; /** * This will delete a document for a lead by lead code and document code.Documents which were created within last 24 hours can be deleted. * @summary Delete a document * @param {DocumentsApiDeleteDocumentsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DocumentsApi */ deleteDocuments(requestParameters: DocumentsApiDeleteDocumentsRequest, options?: AxiosRequestConfig): Promise>; /** * Retrieves the details of the specific document that was previously created. Supply the unique document code that was returned when you created it and Emil Api will return the corresponding document file to download. * @summary Download a document * @param {DocumentsApiDownloadDocumentRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DocumentsApi */ downloadDocument(requestParameters: DocumentsApiDownloadDocumentRequest, options?: AxiosRequestConfig): Promise>; /** * * @summary Get pre-signed url for downloading product document * @param {DocumentsApiDownloadProductDocumentUrlRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DocumentsApi */ downloadProductDocumentUrl(requestParameters: DocumentsApiDownloadProductDocumentUrlRequest, options?: AxiosRequestConfig): Promise>; /** * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List documents * @param {DocumentsApiListDocumentsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DocumentsApi */ listDocuments(requestParameters: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise>; /** * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List product documents * @param {DocumentsApiListProductDocumentsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DocumentsApi */ listProductDocuments(requestParameters: DocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise>; /** * This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days. * @summary Upload documents using pre-signed URL * @param {DocumentsApiPreSignedPostRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DocumentsApi */ preSignedPost(requestParameters: DocumentsApiPreSignedPostRequest, options?: AxiosRequestConfig): Promise>; }