/* tslint:disable */ /* eslint-disable */ /** * 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. */ /** * * @export * @interface CreateAccountRequestDto */ export interface CreateAccountRequestDto { /** * Optional field to enter your own account number. * @type {string} * @memberof CreateAccountRequestDto */ 'accountNumber'?: string; /** * Optional field to enter the honorific title you want to be called. * @type {string} * @memberof CreateAccountRequestDto */ 'title'?: CreateAccountRequestDtoTitleEnum; /** * The account\'s holder first name. * @type {string} * @memberof CreateAccountRequestDto */ 'firstName': string; /** * The account\'s holder last name. * @type {string} * @memberof CreateAccountRequestDto */ 'lastName': string; /** * The account\'s holder email address. It is displayed alongside the account in your dashboard and can be useful for searching and tracking. * @type {string} * @memberof CreateAccountRequestDto */ 'email': string; /** * The account\'s holder gender. * @type {string} * @memberof CreateAccountRequestDto */ 'gender': CreateAccountRequestDtoGenderEnum; /** * The account\'s holder street name. * @type {string} * @memberof CreateAccountRequestDto */ 'street': string; /** * The account\'s holder house number. * @type {string} * @memberof CreateAccountRequestDto */ 'houseNumber': string; /** * The account\'s holder ZIP or postal code. * @type {string} * @memberof CreateAccountRequestDto */ 'zipCode': string; /** * The account\'s holder city, district, suburb, town, or village. * @type {string} * @memberof CreateAccountRequestDto */ 'city': string; /** * The account\'s holder date of birth (Required for account of type person). * @type {string} * @memberof CreateAccountRequestDto */ 'birthDate'?: string; /** * The account\'s holder phone number. * @type {string} * @memberof CreateAccountRequestDto */ 'phone'?: string; /** * Optional field to enter extra information. * @type {object} * @memberof CreateAccountRequestDto */ 'metadata'?: object; /** * Optional field to add predefined custom fields. * @type {object} * @memberof CreateAccountRequestDto */ 'customFields'?: object; /** * Optional field to enter the type of the account holder. * @type {string} * @memberof CreateAccountRequestDto */ 'type'?: CreateAccountRequestDtoTypeEnum; /** * The account\'s holder company name (Required for account of type org). * @type {string} * @memberof CreateAccountRequestDto */ 'companyName'?: string; } export const CreateAccountRequestDtoTitleEnum = { Empty: '', Dr: 'Dr.', DrMed: 'Dr. med.', Prof: 'Prof.' } as const; export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum]; export const CreateAccountRequestDtoGenderEnum = { Male: 'male', Female: 'female', Unspecified: 'unspecified' } as const; export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum]; export const CreateAccountRequestDtoTypeEnum = { Person: 'person', Org: 'org' } as const; export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];