Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = {
- ACCOUNT_NAME_EMPTY: 'Account name field can not be empty',
- ACCOUNT_NUMBER_ALREADY_EXISTS: 'Oops. Looks like another account is registered with this account number',
- BANK_EMPTY: 'Bank field can not be empty',
- BANK_DETAILS_ALREADY_SAVED: 'You already have bank details saved',
- CAC_NOT_PRESENT: 'CAC number field can not be empty',
- CAC_ALREADY_EXISTS: 'Oops. Looks like a company is already registered with this CAC Registration Number.',
- COMPANY_NAME_ALREADY_EXISTS: 'Oops. Looks like another account is registered with this company name',
- COMPANY_NAME_REQUIRED: 'Company name is required',
- DOB_NOT_PRESENT: 'Date of Birth cannot be absent',
- DRIVERS_LICENCE_ID_REQUIRED: 'Driver licence ID is required',
- DESTINATION_LOCATION: 'Expecting Longitude and Latitude for Destination location',
- EMAIL_ALREADY_EXISTS: 'Oops. Looks like another account is registered with this email',
- EMAIL_NOT_PRESENT: 'Kindly provide email address',
- ERROR_CREATING_USER: 'Error creating user',
- ERROR_CREATING_DRIVER: 'Error creating driver',
- ERROR_OCCURRED: 'An error occurred. Kindly try again in a few.',
- FIRST_NAME_NOT_PRESENT: 'First name is required',
- INCORRECT_DELIVERY_CODE: 'Incorrect delivery code. Kindly try again.',
- INVALID_ACCOUNT_NUMBER: 'Invalid account number',
- INVALID_BANK_ACCOUNT_TYPE: 'Invalid bank account type',
- INVALID_DEST_ADDR: 'Invalid destination address. It should be a string',
- INVALID_DEST_PLACE_ID: 'Invalid destination place ID. It should be a string',
- INVALID_DRIVER_LICENSE_SNAPSHOT: 'Invalid driver license snapshot format. It should be a url',
- INVALID_EMAIL: 'Invalid email address',
- INVALID_EMAIL_OR_PASSWORD: 'Invalid email address or password',
- INVALID_GENDER: 'Gender input is invalid. It can either be M or F',
- INVALID_INVOICE_VALUE: 'Invalid invoice value. This should be generated from your company\'s end.',
- INVALID_PASSWORD: 'Kindly enter a valid password. Password can not be less than 6 characters',
- INVALID_PHONE: 'Invalid phone number',
- INVALID_PICKUP_ADDR: 'Invalid pickup address. It should be a string',
- INVALID_PICKUP_ID: 'Invalid pickup place ID. It should be a string',
- INVALID_PRODUCT_TYPE: 'Invalid product type. Product type should contain the type of product to be transported e.g. Food, Beer, Electronics.',
- INVALID_TRIP_TYPE: 'Invalid trip type',
- INVALID_TRUCK_TYPE: 'Invalid truck type',
- INVALID_WEIGHT: 'Invalid weight parameter',
- LAST_NAME_NOT_PRESENT: 'Last name is required',
- LOCATION_EMPTY: 'Location is empty. It needs to be updated',
- LONGITUDE_AND_LATITUDE_REQUIRED: 'Longitude and latitude are required',
- MAILS_SENT: 'Mails sent successfully',
- NAME_NOT_PRESENT: 'Name field can not be empty',
- NOT_AUTHENTICATED: 'Oops, looks like you do not have access to this resource.',
- PAYMENT_FAILED: 'Payment creation failed',
- PAYMENT_SAVED: 'Payment saved',
- PAYSTACK_CONNECTION_ERROR: 'Error connecting to paystack',
- PHONE_ALREADY_EXISTS: 'Phone number already exists',
- PHONE_NOT_PRESENT: 'Phone number field can not be empty',
- REQUEST_BODY_EMPTY: 'Request body (req.body) is empty',
- TIN_NOT_PRESENT: 'Tax identification number (TIN) is required',
- TIN_ALREADY_EXISTS: 'Oops. Looks like a company is already registered with this Tax Identification Number.',
- TRIP_TYPE_REQUIRED: 'Trip type is required',
- TRUCK_CAPACITY_NOT_PRESENT: 'Truck capacity field can not be empty',
- TRUCK_COLOR_NOT_PRESENT: 'Truck color field can not be empty',
- TRUCK_CREATED_SUCCESSFULLY: 'New truck added',
- TRUCK_ERROR_IN_CREATION: 'A error occurred, please try again',
- TRUCK_MANUFACTURE_YEAR_NOT_PRESENT: 'Truck manufacture year field can not be empty',
- TRUCK_MODEL_NOT_PRESENT: 'Truck model field can not be empty',
- TRUCK_NOT_ADDED_TO_CARRIER: 'Truck could not be added to carrier',
- TRUCK_PICTURE_NOT_PRESENT: 'Truck picture field can not be empty',
- TRUCK_REG_NUMBER_NOT_PRESENT: 'Truck registration number field can not be empty',
- TRUCK_REGISTRATION_NUMBER_ALREADY_EXISTS: 'Oops. Another truck is registered with this registration number',
- TRUCK_REQUIRED: 'A truck must be assigned to the driver',
- TRUCK_TYPE_REQUIRED: 'Truck type is required',
- TRUCKING_LICENCE_ALREADY_EXISTS: 'Oops. Looks like a company is already registered with this Tax Identification Number.',
- WEIGHT_REQUIRED: 'Weight is required',
- USER_ID_NOT_EXIST: 'User ID does not exist',
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement