UNPKG

kritsana135-hooray-server

Version:

for server

151 lines (147 loc) 4.05 kB
export const TYPE_LOGIN_NOT_FOUND = { message: { en: 'Login Type not found!', th: 'ไม่พบประเภทข้อมูลการเข้าสู่ระบบ!' }, code: 'TYPE_LOGIN_NOT_FOUND' } export const TYPE_CREATE_NOT_FOUND = { message: { en: 'Type to create not found!', th: 'ไม่พบประเภทข้อมูลการสมัครสมาชิก!' }, code: 'TYPE_CREATE_NOT_FOUND' } export const INVALID_REGISTER_TYPE = { message: { en: 'Invalid Register Type', th: 'ประเภทการสมัครสมาชิกไม่ถูกต้อง' }, code: 'INVALID_LOGIN_TYPE' } export const INVALID_LOGIN_TYPE = { message: { en: 'Invalid Login Type', th: 'ประเภทการเข้าสู่ระบบไม่ถูกต้อง' }, code: 'INVALID_LOGIN_TYPE' } export const INVALID_THIRD_PARTY = { message: { en: 'Invalid Third Party', th: 'ประเภท Third Party ไม่ถูกต้อง' }, code: 'INVALID_THIRD_PARTY' } export const INVALID_EMAIL_ADDRESS = { message: { en: 'Invalid email address', th: 'รูปแบบ email ผิดพลาด' }, code: 'INVALID_EMAIL_ADDRESS' } export const INVALID_USER = { message: { en: 'Invalid User', th: 'ผู้ใช้งานไม่ถูกต้อง' }, code: 'INVALID_USER' } export const INVALID_ID_TOKEN = { message: { en: 'Invalid Id token', th: 'Token ไม่ถูกต้อง' }, code: 'INVALID_ID_TOKEN' } export const EMAIL_ADDRESS_NOT_FOUND = { message: { en: 'Email address not found!', th: 'ไม่พบ email' }, code: 'EMAIL_ADDRESS_NOT_FOUND' } export const USER_NAME_NOT_FOUND = { message: { en: 'username not found!', th: 'ไม่พบ username' }, code: 'USER_NAME_NOT_FOUND' } export const PHONE_NUMBER_NOT_FOUND = { message: { en: 'Phone number not found!', th: 'ไม่พบ phoneNumber' }, code: 'PHONE_NUMBER_NOT_FOUND' } export const PHONE_NUMBER_ALREADY_EXIST = { message: { en: 'This Phone number already exists, please try again', th: 'มีเบอร์มือถือนี้อยู่ในระบบอยู่แล้ว' }, code: 'PHONE_NUMBER_ALREADY_EXIST' } export const REF_NOT_FOUND = { message: { en: 'Ref. not found!', th: 'ไม่พบ Ref.' }, code: 'REF_NOT_FOUND' } export const OTP_NOT_FOUND = { message: { en: 'Otp not found!', th: 'ไม่พบ Otp' }, code: 'OTP_NOT_FOUND' } export const APP_NOT_MATCH = { message: { en: "Application didn't match", th: 'Application ไม่ตรงกัน' }, code: 'APP_NOT_MATCH' } export const USERNAME_ALREADY_EXIST = { message: { en: 'This username already exists, please try again', th: 'มี username น๊้อยู่ในระบบอยู่แล้ว กรุณาลองอีกครั้ง' }, code: 'USERNAME_ALREADY_EXIST' } export const PERMISSION_DENIED = { message: { en: 'Permission denied!!!', th: 'ไม่มีสิทธ์เข้าใช้งาน' }, code: 'PERMISSION_DENIED' } export const CANNOT_DELETE_ACCOUNT = { message: { en: 'Can not delete account!!!', th: 'ไม่สามารถลบ account นี้ได้' }, code: 'ADMIN_IS_NOT_ACTIVE' } export const CANNOT_EDIT_USER = { message: { en: 'Can not edit this user,This may not be your account.', th: 'ไม่สามารถแก้ไข user นี้ได้, user นี้อาจไม่ใช่ของคุณ' }, code: 'CANNOT_EDIT_USER' } export const RESOURCE_OWNER_NOT_FOUND = { message: { en: 'Resource owner not found', th: 'ไม่พบ user นี้' }, code: 'RESOURCE_OWNER_NOT_FOUND' } export const ROLE_NOT_FOUND = { message: { en: 'Role not found.', th: 'ไม่พบ role นี้' }, code: 'ROLE_NOT_FOUND' }