UNPKG

@gray-adeyi/korapay-sdk

Version:

A korapay client SDK for the javascript runtime.

38 lines (37 loc) 1.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HTTPMethod = exports.MobileMoneyOperator = exports.Country = exports.PaymentChannel = exports.Currency = void 0; var Currency; (function (Currency) { Currency["NGN"] = "NGN"; Currency["KES"] = "KES"; Currency["GHS"] = "GHS"; Currency["USD"] = "USD"; })(Currency || (exports.Currency = Currency = {})); var PaymentChannel; (function (PaymentChannel) { PaymentChannel["CARD"] = "card"; PaymentChannel["BANK_TRANSFER"] = "bank_transfer"; PaymentChannel["MOBILE_MONEY"] = "mobile_money"; })(PaymentChannel || (exports.PaymentChannel = PaymentChannel = {})); var Country; (function (Country) { Country["NIGERIA"] = "NG"; Country["KENYA"] = "KE"; Country["GHANA"] = "GH"; })(Country || (exports.Country = Country = {})); var MobileMoneyOperator; (function (MobileMoneyOperator) { MobileMoneyOperator["SAFARICOM_KENYA"] = "safaricom-ke"; MobileMoneyOperator["AIRTEL_KENYA"] = "airtel-ke"; MobileMoneyOperator["AIRTEL_GHANA"] = "airtel-gh"; MobileMoneyOperator["MTN_GHANA"] = "mtn-gh"; })(MobileMoneyOperator || (exports.MobileMoneyOperator = MobileMoneyOperator = {})); var HTTPMethod; (function (HTTPMethod) { HTTPMethod[HTTPMethod["GET"] = 0] = "GET"; HTTPMethod[HTTPMethod["POST"] = 1] = "POST"; HTTPMethod[HTTPMethod["PATCH"] = 2] = "PATCH"; HTTPMethod[HTTPMethod["PUT"] = 3] = "PUT"; HTTPMethod[HTTPMethod["DELETE"] = 4] = "DELETE"; })(HTTPMethod || (exports.HTTPMethod = HTTPMethod = {}));