@spreeloop/mtn_momo
Version:
A mtn momo api integration package
76 lines • 1.69 kB
TypeScript
export declare enum XTargetEnvironmentType {
mtnSandBox = "sandbox",
mtnUganda = "mtnuganda",
mtnGhana = "mtnghana",
mtnIvoryCoast = "mtnivorycoast",
mtnZambia = "mtnzambia",
mtnCameroon = "mtncameroon",
mtnBenin = "mtnbenin",
mtnCongo = "mtncongo",
mtnSwaziland = "mtnswaziland",
mtnGuineaConakry = "mtnguineaconakry",
mtnSouthAfrica = "mtnsouthafrica",
mtnLiberia = "mtnliberia"
}
export declare enum Currency {
/**
* The EUR currency.
*/
eur = "EUR",
/**
* The XAF currency.
*/
xaf = "XAF",
/**
* The XOF currency.
*/
xof = "XOF",
/**
* The Ghanaian cedi
*/
ghs = "GHS",
/**
* The Guinean franc
*/
gnf = "GNF",
/**
* The Liberian dollar
*/
lrd = "LRD",
/**
* The South African rand
*/
zar = "ZAR",
/**
* The Ugandan shilling
*/
ugx = "UGX",
/**
* The Swazi lilangeni
*/
szl = "SZL",
/**
* The Zambian kwacha
*/
zmw = "ZMW"
}
/**
* A mapping between x-target-environment and their currency.
* As said by the doc: we should "Use Currency Code specific to the Country".
*/
export declare const XTargetEnvironmentCurrency: Record<XTargetEnvironmentType, Currency>;
/**
* Contains request fields.
*/
export declare class ConstantRequestField {
static readonly typeJson = "application/json";
static readonly basic = "Basic";
static readonly bearer = "Bearer";
static readonly grantType = "grant_type";
}
export declare enum TargetEnvironment {
sandbox = "dev",
prod = "prod",
fake = "fake"
}
//# sourceMappingURL=constants.d.ts.map