/** * 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 { CalculateProductFieldsRequestDto } from '../models'; import { CalculateProductFieldsResponseClass } from '../models'; import { CreateCustomApplicationRequestDto } from '../models'; import { CreateCustomApplicationResponseClass } from '../models'; import { CreateEstimatedInvoiceRequestDto } from '../models'; import { CreateEstimatedInvoiceResponseClass } from '../models'; import { GetCustomCssResponseClass } from '../models'; import { InsuredObjectClass } from '../models'; import { InsuredObjectTypeClass } from '../models'; import { ListProductsResponseClass } from '../models'; import { ProductFactorForVersionClass } from '../models'; /** * ProductsApi - axios parameter creator * @export */ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => { /** * This will calculate product fields. * @summary Create the product fields * @param {string} productCode * @param {CalculateProductFieldsRequestDto} calculateProductFieldsRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ calculateProductFields: (productCode: string, calculateProductFieldsRequestDto: CalculateProductFieldsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * This will create an invoice product. * @summary Create the invoice product * @param {string} productCode * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createEstimatedInvoice: (productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * This will create a custom application for a specific provider. * @summary Create the custom application * @param {string} productCode * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ customApplication: (productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List insured object types * @param {string} productCode * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInsuredObjectTypes: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * 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 {string} productCode * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInsuredObjects: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * This will generate a custom css for booking funnel, based on product. * @summary Generate a custom CSS * @param {string} productCode * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProductCustomCss: (productCode: string, 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 {string} productCode * @param {string} allValues * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProductFactors: (productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List products * @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] You can expand product versions and insured object types list in this endpoint. * @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} */ listProducts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise; }; /** * ProductsApi - functional programming interface * @export */ export declare const ProductsApiFp: (configuration?: Configuration) => { /** * This will calculate product fields. * @summary Create the product fields * @param {string} productCode * @param {CalculateProductFieldsRequestDto} calculateProductFieldsRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ calculateProductFields(productCode: string, calculateProductFieldsRequestDto: CalculateProductFieldsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This will create an invoice product. * @summary Create the invoice product * @param {string} productCode * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This will create a custom application for a specific provider. * @summary Create the custom application * @param {string} productCode * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List insured object types * @param {string} productCode * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInsuredObjectTypes(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * 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 {string} productCode * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * This will generate a custom css for booking funnel, based on product. * @summary Generate a custom CSS * @param {string} productCode * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProductCustomCss(productCode: string, 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 {string} productCode * @param {string} allValues * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List products * @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] You can expand product versions and insured object types list in this endpoint. * @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} */ listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ProductsApi - factory interface * @export */ export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * This will calculate product fields. * @summary Create the product fields * @param {string} productCode * @param {CalculateProductFieldsRequestDto} calculateProductFieldsRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ calculateProductFields(productCode: string, calculateProductFieldsRequestDto: CalculateProductFieldsRequestDto, authorization?: string, options?: any): AxiosPromise; /** * This will create an invoice product. * @summary Create the invoice product * @param {string} productCode * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise; /** * This will create a custom application for a specific provider. * @summary Create the custom application * @param {string} productCode * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise; /** * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List insured object types * @param {string} productCode * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInsuredObjectTypes(productCode: string, authorization?: string, options?: any): AxiosPromise>; /** * 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 {string} productCode * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise>; /** * This will generate a custom css for booking funnel, based on product. * @summary Generate a custom CSS * @param {string} productCode * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProductCustomCss(productCode: string, 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 {string} productCode * @param {string} allValues * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise>; /** * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List products * @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] You can expand product versions and insured object types list in this endpoint. * @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} */ listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise; }; /** * Request parameters for calculateProductFields operation in ProductsApi. * @export * @interface ProductsApiCalculateProductFieldsRequest */ export interface ProductsApiCalculateProductFieldsRequest { /** * * @type {string} * @memberof ProductsApiCalculateProductFields */ readonly productCode: string; /** * * @type {CalculateProductFieldsRequestDto} * @memberof ProductsApiCalculateProductFields */ readonly calculateProductFieldsRequestDto: CalculateProductFieldsRequestDto; /** * Bearer Token * @type {string} * @memberof ProductsApiCalculateProductFields */ readonly authorization?: string; } /** * Request parameters for createEstimatedInvoice operation in ProductsApi. * @export * @interface ProductsApiCreateEstimatedInvoiceRequest */ export interface ProductsApiCreateEstimatedInvoiceRequest { /** * * @type {string} * @memberof ProductsApiCreateEstimatedInvoice */ readonly productCode: string; /** * * @type {CreateEstimatedInvoiceRequestDto} * @memberof ProductsApiCreateEstimatedInvoice */ readonly createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto; /** * Bearer Token * @type {string} * @memberof ProductsApiCreateEstimatedInvoice */ readonly authorization?: string; } /** * Request parameters for customApplication operation in ProductsApi. * @export * @interface ProductsApiCustomApplicationRequest */ export interface ProductsApiCustomApplicationRequest { /** * * @type {string} * @memberof ProductsApiCustomApplication */ readonly productCode: string; /** * * @type {CreateCustomApplicationRequestDto} * @memberof ProductsApiCustomApplication */ readonly createCustomApplicationRequestDto: CreateCustomApplicationRequestDto; /** * Bearer Token * @type {string} * @memberof ProductsApiCustomApplication */ readonly authorization?: string; } /** * Request parameters for getInsuredObjectTypes operation in ProductsApi. * @export * @interface ProductsApiGetInsuredObjectTypesRequest */ export interface ProductsApiGetInsuredObjectTypesRequest { /** * * @type {string} * @memberof ProductsApiGetInsuredObjectTypes */ readonly productCode: string; /** * Bearer Token * @type {string} * @memberof ProductsApiGetInsuredObjectTypes */ readonly authorization?: string; } /** * Request parameters for getInsuredObjects operation in ProductsApi. * @export * @interface ProductsApiGetInsuredObjectsRequest */ export interface ProductsApiGetInsuredObjectsRequest { /** * * @type {string} * @memberof ProductsApiGetInsuredObjects */ readonly productCode: string; /** * Bearer Token * @type {string} * @memberof ProductsApiGetInsuredObjects */ readonly authorization?: string; } /** * Request parameters for getProductCustomCss operation in ProductsApi. * @export * @interface ProductsApiGetProductCustomCssRequest */ export interface ProductsApiGetProductCustomCssRequest { /** * * @type {string} * @memberof ProductsApiGetProductCustomCss */ readonly productCode: string; /** * Bearer Token * @type {string} * @memberof ProductsApiGetProductCustomCss */ readonly authorization?: string; } /** * Request parameters for getProductFactors operation in ProductsApi. * @export * @interface ProductsApiGetProductFactorsRequest */ export interface ProductsApiGetProductFactorsRequest { /** * * @type {string} * @memberof ProductsApiGetProductFactors */ readonly productCode: string; /** * * @type {string} * @memberof ProductsApiGetProductFactors */ readonly allValues: string; /** * Bearer Token * @type {string} * @memberof ProductsApiGetProductFactors */ readonly authorization?: string; } /** * Request parameters for listProducts operation in ProductsApi. * @export * @interface ProductsApiListProductsRequest */ export interface ProductsApiListProductsRequest { /** * Bearer Token * @type {string} * @memberof ProductsApiListProducts */ readonly authorization?: string; /** * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @type {number} * @memberof ProductsApiListProducts */ 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 ProductsApiListProducts */ 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 ProductsApiListProducts */ readonly filter?: string; /** * To search the list by any field, pass search=xxx to fetch the result. * @type {string} * @memberof ProductsApiListProducts */ 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 ProductsApiListProducts */ readonly order?: string; /** * You can expand product versions and insured object types list in this endpoint. * @type {string} * @memberof ProductsApiListProducts */ 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 ProductsApiListProducts */ readonly filters?: string; } /** * ProductsApi - object-oriented interface * @export * @class ProductsApi * @extends {BaseAPI} */ export declare class ProductsApi extends BaseAPI { /** * This will calculate product fields. * @summary Create the product fields * @param {ProductsApiCalculateProductFieldsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductsApi */ calculateProductFields(requestParameters: ProductsApiCalculateProductFieldsRequest, options?: AxiosRequestConfig): Promise>; /** * This will create an invoice product. * @summary Create the invoice product * @param {ProductsApiCreateEstimatedInvoiceRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductsApi */ createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise>; /** * This will create a custom application for a specific provider. * @summary Create the custom application * @param {ProductsApiCustomApplicationRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductsApi */ customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise>; /** * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List insured object types * @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductsApi */ getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise>; /** * 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 {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductsApi */ getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise>; /** * This will generate a custom css for booking funnel, based on product. * @summary Generate a custom CSS * @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductsApi */ getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, 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 {ProductsApiGetProductFactorsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductsApi */ getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise>; /** * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. * @summary List products * @param {ProductsApiListProductsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProductsApi */ listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise>; }