finesse-toolkit
Version:
useful tools for finesse phone system
9 lines (8 loc) • 385 B
TypeScript
export declare type CoveredLocales = 'en-GB' | 'en-US';
export default class FinesseUtil {
static sanitizePhoneNumber(number: string, locale: CoveredLocales): string;
static unformatPhone(phoneNumber: string): string;
static _formatPhone(phoneNumber: string): string;
static _sanitizeState(state: string): string;
static _promiseErrorHandler(error: Error): void;
}