import { AbstractEntity } from '../../abstractEntity'; /** * Response data fields that can be present in WhoAmI requests and responses. */ export declare enum WhoAmIResponseFields { COLUMN_COMPANY_NAME = "companyName", COLUMN_ADDRESS_LINE_1 = "addressLine1", COLUMN_ADDRESS_LINE_2 = "addressLine2", COLUMN_ZIP = "zip", COLUMN_CITY = "city", COLUMN_COUNTRY_CODE = "countryCode", COLUMN_STATE = "state", COLUMN_RECEPTION_PHONE = "receptionPhone", COLUMN_WEBSITE_URL = "websiteUrl", COLUMN_EMAIL_CONTACT = "emailContact", COLUMN_HEADCOUNT = "headcount", COLUMN_TAX_NUMBER = "taxNumber", COLUMN_REFERENCE = "reference", COLUMN_REF = "ref", COLUMN_BILLING_ID = "billingId", COLUMN_INTERNAL_REFERENCE = "internalReference", COLUMN_PREFERRED_CURRENCY = "preferredCurrency" } /** * Response data type for WhoAmI requests. */ export declare type WhoAmIResponseData = { [field in Exclude]: string; } & { [WhoAmIResponseFields.COLUMN_PREFERRED_CURRENCY]?: string; }; /** * WhoAmI response Entity */ export declare class WhoAmI extends AbstractEntity { #private; constructor(data: WhoAmIResponseData); protected VALIDATION_RULES: { companyName: string; addressLine1: string; addressLine2: string; zip: string; city: string; countryCode: string; state: string; receptionPhone: string; websiteUrl: string; emailContact: string; headcount: string; taxNumber: string; reference: string; ref: string; billingId: string; internalReference: string; }; getCompanyName(): string; getAddressLine1(): string; getAddressLine2(): string; getZip(): string; getCity(): string; getCountryCode(): string; getState(): string; getReceptionPhone(): string; getWebsiteUrl(): string; getEmailContact(): string; getHeadcount(): string; getTaxNumber(): string; getReference(): string; getRef(): string; getBillingId(): string; getInternalReference(): string; getPreferredCurrency(): string | undefined; /** * Returns the raw JSON properties * @returns {@link WhoAmIResponseData} */ toJSON(): WhoAmIResponseData; }