/* tslint:disable */ /* eslint-disable */ /** * EMIL CommissionService * The EMIL CommissionService 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 { CommissionClass } from './commission-class'; /** * * @export * @interface CommissionSettlementClass */ export interface CommissionSettlementClass { /** * The unique database identifier of the commission settlement * @type {number} * @memberof CommissionSettlementClass */ 'id': number; /** * Unique identifier for the object. * @type {string} * @memberof CommissionSettlementClass */ 'code': string; /** * The settlement number for this commission settlement * @type {string} * @memberof CommissionSettlementClass */ 'settlementNumber': string; /** * The unique code of the partner associated with this settlement * @type {string} * @memberof CommissionSettlementClass */ 'partnerCode': string; /** * The partner number associated with this settlement * @type {string} * @memberof CommissionSettlementClass */ 'partnerNumber': string; /** * The currency code for this settlement * @type {string} * @memberof CommissionSettlementClass */ 'currency': CommissionSettlementClassCurrencyEnum; /** * The total amount of the settlement in the smallest currency unit (e.g., cents) * @type {number} * @memberof CommissionSettlementClass */ 'amount': number; /** * The status of the commission settlement. Valid values: draft, processing, published, closed * @type {string} * @memberof CommissionSettlementClass */ 'status': CommissionSettlementClassStatusEnum; /** * Array of commissions included in this settlement * @type {Array} * @memberof CommissionSettlementClass */ 'commissions': Array; /** * The number of policies included in this settlement * @type {number} * @memberof CommissionSettlementClass */ 'policyCount': number; /** * Time at which the object was created. * @type {string} * @memberof CommissionSettlementClass */ 'createdAt': string; /** * Time at which the object was updated. * @type {string} * @memberof CommissionSettlementClass */ 'updatedAt': string; /** * Identifier of the user who created the record. * @type {string} * @memberof CommissionSettlementClass */ 'createdBy': string; /** * Identifier of the user who last updated the record. * @type {string} * @memberof CommissionSettlementClass */ 'updatedBy': string; } export const CommissionSettlementClassCurrencyEnum = { Eur: 'EUR', Usd: 'USD', Gbp: 'GBP', Chf: 'CHF', Pln: 'PLN', Aud: 'AUD', Cad: 'CAD', Ddk: 'DDK', Huf: 'HUF', Nok: 'NOK', Sek: 'SEK' } as const; export type CommissionSettlementClassCurrencyEnum = typeof CommissionSettlementClassCurrencyEnum[keyof typeof CommissionSettlementClassCurrencyEnum]; export const CommissionSettlementClassStatusEnum = { Draft: 'draft', Processing: 'processing', Published: 'published', Closed: 'closed' } as const; export type CommissionSettlementClassStatusEnum = typeof CommissionSettlementClassStatusEnum[keyof typeof CommissionSettlementClassStatusEnum];