/** * apaleo Booking API - not safe for work * Continuously evolving version - use at your own risk! Resources and methods to manage guest journeys. * * OpenAPI spec version: v0-nsfw * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { PersonAddressModel } from './personAddressModel'; import { PersonCompanyModel } from './personCompanyModel'; import { VehicleRegistrationModel } from './vehicleRegistrationModel'; import { ClassMetaData } from '@apaleo/angular-api-proxy-common'; export interface GuestModel { /** * Title of the guest */ title?: GuestModel.TitleEnum; /** * Gender of the guest Allowed values for this field depend on the country in which the property is located. Use /booking/v0-nsfw/types/Gender/allowed-values to check what values are allowed. */ gender?: GuestModel.GenderEnum; /** * First name of the guest */ firstName?: string; /** * Middle initial of the guest */ middleInitial?: string; /** * Last name of the guest */ lastName: string; /** * Second last name of the guest */ secondLastName?: string; /** * Email address of the guest */ email?: string; /** * Phone number of the guest */ phone?: string; address?: PersonAddressModel; /** * The guest's nationality, in ISO 3166-1 alpha-2 code */ nationalityCountryCode?: string; /** * The guest's identification number for the given identificationType. */ identificationNumber?: string; /** * The guest's additional identification number for the given identificationType. */ identificationAdditionalNumber?: string; /** * The issue date of the guest's identification document. */ identificationIssueDate?: string; /** * The expiry date of the guest's identification document. */ identificationExpiryDate?: string; /** * The issue place of the guest's identification document. */ identificationIssuePlace?: string; /** * The type of the identificationNumber Allowed values for this field depend on the country in which the property is located. Use /booking/v0-nsfw/types/IdentificationType/allowed-values to check what values are allowed. */ identificationType?: GuestModel.IdentificationTypeEnum; /** * The personal tax id of the guest */ personalTaxId?: string; company?: PersonCompanyModel; /** * Two-letter code (ISO Alpha-2) of a language preferred for contact */ preferredLanguage?: string; /** * Guest's birthdate */ birthDate?: string; /** * Guest's place of birth */ birthPlace?: string; /** * Guest's first name right after birth */ birthFirstName?: string; /** * Guest's last name right after birth */ birthLastName?: string; /** * Guest's mother's first name */ motherFirstName?: string; /** * Guest's mother's last name */ motherLastName?: string; /** * The place through which the guest crossed the border */ borderCrossingPlace?: string; /** * Date on which the guest crossed the border */ borderCrossingDate?: string; /** * The relationship of the guest to the primary guest. */ relationshipToPrimaryGuest?: GuestModel.RelationshipToPrimaryGuestEnum; vehicleRegistration?: VehicleRegistrationModel; } export declare namespace GuestModel { type TitleEnum = 'Mr' | 'Ms' | 'Dr' | 'Prof' | 'Mrs' | 'Other'; const TitleEnumValues: readonly TitleEnum[]; type GenderEnum = 'Female' | 'Male' | 'Other' | 'Unknown'; const GenderEnumValues: readonly GenderEnum[]; type IdentificationTypeEnum = 'SocialInsuranceNumber' | 'PassportNumber' | 'IdNumber' | 'DriverLicenseNumber' | 'VisaNumber' | 'ForeignerIdentityNumber' | 'TaxIdentificationNumber' | 'Other'; const IdentificationTypeEnumValues: readonly IdentificationTypeEnum[]; type RelationshipToPrimaryGuestEnum = 'Grandparent' | 'Grandchild' | 'GreatGrandparent' | 'GreatGrandchild' | 'Parent' | 'Child' | 'Sibling' | 'ParentInLaw' | 'ChildInLaw' | 'SiblingInLaw' | 'Spouse' | 'UncleOrAunt' | 'NephewOrNiece' | 'Guardian' | 'Other'; const RelationshipToPrimaryGuestEnumValues: readonly RelationshipToPrimaryGuestEnum[]; } export declare namespace GuestModel { const $metaData: ClassMetaData; }