@goteborgco/open-api-js-client
Version:
Official JavaScript client for the Göteborg & Co GraphQL API
31 lines (30 loc) • 770 B
TypeScript
export declare class Contact {
readonly email?: string;
readonly phone?: string;
readonly website?: string;
readonly facebook?: string;
readonly instagram?: string;
constructor(data: any);
/**
* Get social media links
* @returns Object containing social media links
*/
getSocialLinks(): {
facebook?: string;
instagram?: string;
};
/**
* Get contact methods
* @returns Object containing contact methods
*/
getContactMethods(): {
email?: string;
phone?: string;
website?: string;
};
/**
* Check if any contact information exists
* @returns boolean indicating if any contact information is available
*/
hasContactInfo(): boolean;
}