/* 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. */ /** * * @export * @interface CommissionItemClass */ export interface CommissionItemClass { /** * The unique database identifier of the commission item * @type {number} * @memberof CommissionItemClass */ 'id': number; /** * The unique identifier of the parent commission this item belongs to * @type {number} * @memberof CommissionItemClass */ 'commissionId': number; /** * The name or title of the commission item * @type {string} * @memberof CommissionItemClass */ 'name': string; /** * A detailed description explaining what this commission item represents * @type {string} * @memberof CommissionItemClass */ 'description': string; /** * The monetary amount of the commission item in the smallest currency unit (e.g., cents) * @type {number} * @memberof CommissionItemClass */ 'amount': number; /** * The type of commission item. Valid values: \'sales\', \'maintenance\', \'other\' * @type {string} * @memberof CommissionItemClass */ 'type': CommissionItemClassTypeEnum; /** * Time at which the object was created. * @type {string} * @memberof CommissionItemClass */ 'createdAt': string; /** * Time at which the object was updated. * @type {string} * @memberof CommissionItemClass */ 'updatedAt': string; /** * Identifier of the user who created the record. * @type {string} * @memberof CommissionItemClass */ 'createdBy': string; /** * Identifier of the user who last updated the record. * @type {string} * @memberof CommissionItemClass */ 'updatedBy': string; } export const CommissionItemClassTypeEnum = { Sales: 'sales', Maintenance: 'maintenance', Other: 'other' } as const; export type CommissionItemClassTypeEnum = typeof CommissionItemClassTypeEnum[keyof typeof CommissionItemClassTypeEnum];