/** * 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 { InsuredObjectClass } from '../models'; import { ProductFactorForVersionClass } from '../models'; /** * ProductVersionsApi - axios parameter creator * @export */ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List insured objects * @param {number} productVersionId * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInsuredObjectsPerVersion: (productVersionId: number, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List product factors * @param {number} productVersionId * @param {string} allValues * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProductFactorsPerVersion: (productVersionId: number, allValues: string, authorization?: string, options?: AxiosRequestConfig) => Promise; }; /** * ProductVersionsApi - functional programming interface * @export */ export declare const ProductVersionsApiFp: (configuration?: Configuration) => { /** * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List insured objects * @param {number} productVersionId * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInsuredObjectsPerVersion(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List product factors * @param {number} productVersionId * @param {string} allValues * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProductFactorsPerVersion(productVersionId: number, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; /** * ProductVersionsApi - factory interface * @export */ export declare const ProductVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List insured objects * @param {number} productVersionId * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInsuredObjectsPerVersion(productVersionId: number, authorization?: string, options?: any): AxiosPromise>; /** * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List product factors * @param {number} productVersionId * @param {string} allValues * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProductFactorsPerVersion(productVersionId: number, allValues: string, authorization?: string, options?: any): AxiosPromise>; }; /** * Request parameters for getInsuredObjectsPerVersion operation in ProductVersionsApi. * @export * @interface ProductVersionsApiGetInsuredObjectsPerVersionRequest */ export interface ProductVersionsApiGetInsuredObjectsPerVersionRequest { /** * * @type {number} * @memberof ProductVersionsApiGetInsuredObjectsPerVersion */ readonly productVersionId: number; /** * Bearer Token * @type {string} * @memberof ProductVersionsApiGetInsuredObjectsPerVersion */ readonly authorization?: string; } /** * Request parameters for getProductFactorsPerVersion operation in ProductVersionsApi. * @export * @interface ProductVersionsApiGetProductFactorsPerVersionRequest */ export interface ProductVersionsApiGetProductFactorsPerVersionRequest { /** * * @type {number} * @memberof ProductVersionsApiGetProductFactorsPerVersion */ readonly productVersionId: number; /** * * @type {string} * @memberof ProductVersionsApiGetProductFactorsPerVersion */ readonly allValues: string; /** * Bearer Token * @type {string} * @memberof ProductVersionsApiGetProductFactorsPerVersion */ readonly authorization?: string; } /** * ProductVersionsApi - object-oriented interface * @export * @class ProductVersionsApi * @extends {BaseAPI} */ export declare class ProductVersionsApi extends BaseAPI { /** * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List insured objects * @param {ProductVersionsApiGetInsuredObjectsPerVersionRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductVersionsApi */ getInsuredObjectsPerVersion(requestParameters: ProductVersionsApiGetInsuredObjectsPerVersionRequest, options?: AxiosRequestConfig): Promise>; /** * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List product factors * @param {ProductVersionsApiGetProductFactorsPerVersionRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductVersionsApi */ getProductFactorsPerVersion(requestParameters: ProductVersionsApiGetProductFactorsPerVersionRequest, options?: AxiosRequestConfig): Promise>; }