@revolugo/booking-api-client
Version:
Javascript Revolugo Booking API Client (browser + server)
114 lines (113 loc) • 3.08 kB
TypeScript
import { ContactPersonOrganizationApi } from './ContactPersonOrganizationApi';
import { CountryIso2Code } from './CountryIso2Code';
import { Locale } from './Locale';
/**
* Contact details that will be used to communicate with the contact person for booking related communication (confirmation, modification, etc)
* @export
* @interface ContactPersonApi
*/
export interface ContactPersonApi {
/**
* Contact person's postal code of residence
* @type {string}
* @memberof ContactPersonApi
*/
address?: string | null;
/**
* Contact person's city of residence
* @type {string}
* @memberof ContactPersonApi
*/
city?: string | null;
/**
*
* @type {CountryIso2Code}
* @memberof ContactPersonApi
*/
country?: CountryIso2Code | null;
/**
* Contact person's email address
* @type {string}
* @memberof ContactPersonApi
*/
email: string;
/**
* Contact person's first name
* @type {string}
* @memberof ContactPersonApi
*/
firstName: string;
/**
*
* @type {Locale}
* @memberof ContactPersonApi
*/
lang?: Locale;
/**
* Contact person's last name
* @type {string}
* @memberof ContactPersonApi
*/
lastName: string;
/**
*
* @type {CountryIso2Code}
* @memberof ContactPersonApi
*/
nationality: CountryIso2Code;
/**
*
* @type {ContactPersonOrganizationApi}
* @memberof ContactPersonApi
*/
organization?: ContactPersonOrganizationApi | null;
/**
* Contact person's phone number
* @type {string}
* @memberof ContactPersonApi
*/
phone: string;
/**
* Contact person's remarks
* @type {string}
* @memberof ContactPersonApi
*/
remarks?: string;
/**
* Title of the contact person
* @type {string}
* @memberof ContactPersonApi
*/
salutation?: ContactPersonApiSalutationEnum;
/**
* Contact person's state of residence
* @type {string}
* @memberof ContactPersonApi
*/
state?: string | null;
/**
* Contact person's postal code of residence
* @type {string}
* @memberof ContactPersonApi
*/
zipCode?: string | null;
}
/**
* @export
*/
export declare const ContactPersonApiSalutationEnum: {
readonly Dr: "dr";
readonly Mr: "mr";
readonly Mrs: "mrs";
readonly Ms: "ms";
readonly NotSpecified: "notSpecified";
readonly Prof: "prof";
};
export type ContactPersonApiSalutationEnum = typeof ContactPersonApiSalutationEnum[keyof typeof ContactPersonApiSalutationEnum];
/**
* Check if a given object implements the ContactPersonApi interface.
*/
export declare function instanceOfContactPersonApi(value: object): boolean;
export declare function ContactPersonApiFromJSON(json: any): ContactPersonApi;
export declare function ContactPersonApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactPersonApi;
export declare function ContactPersonApiToJSON(value?: ContactPersonApi | null): any;