mozambique-utils
Version:
Easy to use parsers and validators for mozambican (🇲🇿) data-type formatted strings.
32 lines (31 loc) • 1.1 kB
TypeScript
/**
* Network Operator
* of all in mozambique
*/
export declare type NetworkOperator = "vodacom" | "movitel" | "tmcel";
export declare type NetworkOperatorSpec = {
name: string;
shortName: string;
};
/**
* Network Destination Code
* of all mobile network operators in mozambique.
*/
export declare type MobileNDC = "82" | "83" | "84" | "85" | "86" | "87";
/**
* Network Destination Code
* for landlines in all areas of mozambique.
*/
export declare type LandlineNDC = "251" | "252" | "258" | "271" | "272" | "281" | "282" | "293" | "21" | "23" | "24" | "26";
/**
* Network Destination Code
* for both line types, Mobile and Landline
*/
export declare type NDC = MobileNDC | LandlineNDC;
export declare type Region = "manica" | "tete" | "vilanculos" | "lichinga" | "pemba" | "chokwe" | "xaixai" | "inhambane" | "maputo" | "beira" | "quelimane" | "nampula";
/**
* Line Type
* The line types available in Mozambique.
*/
export declare type LineType = "mobile" | "landline";
export declare type CountryCodeOption = "optional" | "required" | "off";