/* tslint:disable */ /* eslint-disable */ /** * 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 { PolicyObjectRequestDto } from './policy-object-request-dto'; import { PremiumOverrideRequestDto } from './premium-override-request-dto'; /** * * @export * @interface CreateEstimatedInvoiceRequestDto */ export interface CreateEstimatedInvoiceRequestDto { /** * Unique identifier referencing the product version. * @type {number} * @memberof CreateEstimatedInvoiceRequestDto */ 'productVersionId'?: number; /** * The policy objects to calculate premium. * @type {Array} * @memberof CreateEstimatedInvoiceRequestDto */ 'policyObjects'?: Array; /** * Customer custom data for premium calculation. Necessary when no policyObjects are provided. * @type {object} * @memberof CreateEstimatedInvoiceRequestDto */ 'data'?: object; /** * Custom provider name. Necessary if data is provided. * @type {string} * @memberof CreateEstimatedInvoiceRequestDto */ 'provider'?: CreateEstimatedInvoiceRequestDtoProviderEnum; /** * Premium Override. * @type {PremiumOverrideRequestDto} * @memberof CreateEstimatedInvoiceRequestDto */ 'premiumOverride'?: PremiumOverrideRequestDto; } export const CreateEstimatedInvoiceRequestDtoProviderEnum = { Squarelife: 'squarelife', Janitos: 'janitos' } as const; export type CreateEstimatedInvoiceRequestDtoProviderEnum = typeof CreateEstimatedInvoiceRequestDtoProviderEnum[keyof typeof CreateEstimatedInvoiceRequestDtoProviderEnum];