/** * EMIL AccountService * The EMIL AccountService 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 { PolicyClass } from './policy-class'; /** * * @export * @interface AccountClass */ export interface AccountClass { /** * Internal unique identifier for the object. You should not have to use this, use code instead. * @type {number} * @memberof AccountClass */ 'id': number; /** * Unique identifier for the object. * @type {string} * @memberof AccountClass */ 'code': string; /** * Optional field in order to use a specific account number. * @type {string} * @memberof AccountClass */ 'accountNumber': string; /** * The account\'s title. * @type {string} * @memberof AccountClass */ 'title'?: AccountClassTitleEnum; /** * The account\'s first name. * @type {string} * @memberof AccountClass */ 'firstName': string; /** * The account\'s last name. * @type {string} * @memberof AccountClass */ 'lastName': string; /** * The account\'s email address, It is displayed alongside the account in your dashboard and can be useful for searching and tracking. * @type {string} * @memberof AccountClass */ 'email': string; /** * The account\'s gender. * @type {string} * @memberof AccountClass */ 'gender': string; /** * The account\'s street name. * @type {string} * @memberof AccountClass */ 'street': string; /** * The account\'s house number. * @type {string} * @memberof AccountClass */ 'houseNumber': string; /** * The account\'s ZIP or postal code * @type {string} * @memberof AccountClass */ 'zipCode': string; /** * The account\'s city, district, suburb, town, or village. * @type {string} * @memberof AccountClass */ 'city': string; /** * The account\'s date of birth. required for account type person * @type {string} * @memberof AccountClass */ 'birthDate'?: string; /** * The account\'s phone number. * @type {string} * @memberof AccountClass */ 'phone'?: string; /** * The type of account, default to person * @type {string} * @memberof AccountClass */ 'type': string; /** * The company name of account, required for account type org * @type {string} * @memberof AccountClass */ 'companyName'?: string; /** * The account\'s version. * @type {number} * @memberof AccountClass */ 'version': number; /** * Time at which the object was created. * @type {string} * @memberof AccountClass */ 'createdAt': string; /** * Time at which the object was updated. * @type {string} * @memberof AccountClass */ 'updatedAt': string; /** * Policies linked to the account. * @type {Array} * @memberof AccountClass */ 'policies': Array; /** * Optional field contain extra information. * @type {object} * @memberof AccountClass */ 'metadata'?: object; /** * Optional field contain custom fields. * @type {object} * @memberof AccountClass */ 'customFields'?: object; /** * The code of the connected partner entity - only availalbe if the account is also represented as a partner in EIS System * @type {string} * @memberof AccountClass */ 'partnerCode'?: string; /** * Emil Resources Names (ERN) identifies the most specific owner of a resource. * @type {string} * @memberof AccountClass */ 'ern': string; /** * Identifier of the user who created the record. * @type {string} * @memberof AccountClass */ 'createdBy': string; /** * Identifier of the user who last updated the record. * @type {string} * @memberof AccountClass */ 'updatedBy': string; } export declare const AccountClassTitleEnum: { readonly Empty: ""; readonly Dr: "Dr."; readonly DrMed: "Dr. med."; readonly Prof: "Prof."; }; export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];