UNPKG

mpesalib

Version:

A robust Node.js library for Safaricom's Daraja API with complete TypeScript support and modern async/await patterns

28 lines 1.36 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CommandID = exports.TransactionType = exports.Environment = void 0; // eslint-disable-next-line no-unused-vars var Environment; (function (Environment) { Environment["SANDBOX"] = "sandbox"; Environment["PRODUCTION"] = "production"; })(Environment || (exports.Environment = Environment = {})); // eslint-disable-next-line no-unused-vars var TransactionType; (function (TransactionType) { TransactionType["CUSTOMER_PAYBILL_ONLINE"] = "CustomerPayBillOnline"; TransactionType["CUSTOMER_BUY_GOODS_ONLINE"] = "CustomerBuyGoodsOnline"; })(TransactionType || (exports.TransactionType = TransactionType = {})); // eslint-disable-next-line no-unused-vars var CommandID; (function (CommandID) { CommandID["SALARY_PAYMENT"] = "SalaryPayment"; CommandID["BUSINESS_PAYMENT"] = "BusinessPayment"; CommandID["PROMOTION_PAYMENT"] = "PromotionPayment"; CommandID["ACCOUNT_BALANCE"] = "AccountBalance"; CommandID["TRANSACTION_REVERSAL"] = "TransactionReversal"; CommandID["TRANSACTION_STATUS_QUERY"] = "TransactionStatusQuery"; CommandID["BUSINESS_PAYBILL"] = "BusinessPayBill"; CommandID["MERCHANT_TO_MERCHANT_TRANSFER"] = "MerchantToMerchantTransfer"; })(CommandID || (exports.CommandID = CommandID = {})); //# sourceMappingURL=index.js.map