6de2455917
- Added GLOBAL_MARKETS_TITLE to all translation files - Updated footer with 12 markets (4 active + 8 upcoming) - Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi - Built and deployed to production - CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
30 lines
711 B
TypeScript
30 lines
711 B
TypeScript
import { Client as BaseTwilio, RequestOpts } from "./BaseTwilio";
|
|
/**
|
|
* Base domain object
|
|
*/
|
|
export default class Domain {
|
|
twilio: BaseTwilio;
|
|
baseUrl: string;
|
|
/**
|
|
* Creates a Domain instance
|
|
*
|
|
* @param twilio - A Twilio Client
|
|
* @param baseUrl - Base url for this domain
|
|
*/
|
|
constructor(twilio: BaseTwilio, baseUrl: string);
|
|
/**
|
|
* Turn a uri into an absolute url
|
|
*
|
|
* @param uri - uri to transform
|
|
* @returns absolute url
|
|
*/
|
|
absoluteUrl(uri?: string): string;
|
|
/**
|
|
* Make request to this domain
|
|
*
|
|
* @param opts - request options
|
|
* @returns request promise
|
|
*/
|
|
request(opts: RequestOpts): Promise<any>;
|
|
}
|