@kwikpik/server-libs
Version:
Kwikpik-Server-Libs ===================================================================================================================================================================================================
54 lines (53 loc) • 3.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Vehicles = exports.SMS = exports.HttpStatusCodes = exports.HttpResponseTypes = void 0;
var HttpResponseTypes;
(function (HttpResponseTypes) {
HttpResponseTypes["SUCCESS"] = "SUCCESS";
HttpResponseTypes["FAILED"] = "FAILED";
})(HttpResponseTypes || (exports.HttpResponseTypes = HttpResponseTypes = {}));
var HttpStatusCodes;
(function (HttpStatusCodes) {
HttpStatusCodes[(HttpStatusCodes["OK"] = 200)] = "OK";
HttpStatusCodes[(HttpStatusCodes["CREATED"] = 201)] = "CREATED";
HttpStatusCodes[(HttpStatusCodes["NOT_FOUND"] = 404)] = "NOT_FOUND";
HttpStatusCodes[(HttpStatusCodes["INTERNAL_SERVER_ERROR"] = 500)] = "INTERNAL_SERVER_ERROR";
HttpStatusCodes[(HttpStatusCodes["UNAUTHORIZED"] = 401)] = "UNAUTHORIZED";
HttpStatusCodes[(HttpStatusCodes["BAD_REQUEST"] = 400)] = "BAD_REQUEST";
HttpStatusCodes[(HttpStatusCodes["FORBIDDEN"] = 403)] = "FORBIDDEN";
})(HttpStatusCodes || (exports.HttpStatusCodes = HttpStatusCodes = {}));
var SMS;
(function (SMS) {
SMS["VERIFICATION"] =
"Dear {user}, \n Thank you for signing up with Kwikpik. To ensure that you now have access to our services, verify your account using the code {otp}";
SMS["WELCOME_USER"] =
"Dear {user}, \n Your account with Kwikpik was successfully verified. Now, you can enjoy all the benefits of being a Kwikpik user.";
SMS["WELCOME_RIDER"] =
"Dear {user}, \n You have successfully registered to become Kwikpik's logistics partner. Ensure your KYC documents are submitted, and verified, so that you can start earning with us.";
SMS["KYC_SUBMITTED"] =
"Dear {user}, \n Your KYC documents were submitted. Please be patient while they're reviewed by the team.";
SMS["KYC_ACCEPTED"] =
"Dear {user}, \n Your KYC documents were accepted. Welcome aboard the Kwikpik's logistic partnership train.";
SMS["KYC_REJECTED"] =
"Dear {user}, \n Your KYC documents were rejected. Please try again with the necessary documents, so that you can begin earning with Kwikpik.";
SMS["WELCOME_MERCHANT"] =
"Dear {user}, \n You have joined Kwikpik as a merchant. You can now participate in a streamlined delivery experience.";
SMS["WELCOME_BUSINESS"] =
"Dear {user}, \n You have joined Kwikpik as a business. You can now leverage our services in perfecting your delivery business.";
SMS["PASSWORD_CHANGE_OTP"] =
"Dear {user}, \n You have requested to change your password, use the OTP - {code} - to change your password.";
SMS["PHONE_NUMBER_CHANGE_OTP"] =
"Dear {user}, \n You have requested to change your phone number, use the OTP - {code} - to change your phone number.";
SMS["PACKAGE_PROTECTION_CODE"] =
"Dear {user}, \n Your package is now in transit. Send the code - {code} - to the recipient, and ask them to verify with the rider.";
SMS["EXTERNAL_VERIFICATION"] = "Dear {user}, \n Please use the code - {code} - to verify the supplied phone number.";
})(SMS || (exports.SMS = SMS = {}));
var Vehicles;
(function (Vehicles) {
Vehicles["CAR"] = "car";
Vehicles["MOTORCYCLE"] = "motorcycle";
Vehicles["BICYCLE"] = "bicycle";
Vehicles["BUS"] = "bus";
Vehicles["MINI_TRUCK"] = "mini_truck";
Vehicles["HEAVY_TRUCK"] = "heavy_truck";
})(Vehicles || (exports.Vehicles = Vehicles = {}));