mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-25 05:42:27 +00:00
101 lines
5.2 KiB
JSON
101 lines
5.2 KiB
JSON
{
|
|
"AUTH": {
|
|
"BIOMETRIC_ALREADY_ENABLED": "Biometric authentication is already active on your account.",
|
|
"DEVICE_NOT_FOUND": "The specified device is not found, please try again.",
|
|
"BIOMETRIC_ALREADY_DISABLED": "Biometric authentication is already disabled for your account.",
|
|
"APPLE_LOGIN_NOT_IMPLEMENTED": "Apple login integration is currently unavailable. Please try an alternative login method.",
|
|
"INVALID_REFRESH_TOKEN": "The refresh token provided is invalid. Please log in again.",
|
|
"INVALID_CREDENTIALS": "The username or password you entered is incorrect. Please try again.",
|
|
"BIOMETRIC_NOT_ENABLED": "Biometric authentication has not been activated for your account. Please enable it to proceed.",
|
|
"INVALID_BIOMETRIC": "The biometric data provided is invalid. Please try again or reconfigure your biometric settings.",
|
|
"PASSWORD_MISMATCH": "The passwords you entered do not match. Please re-enter the passwords.",
|
|
"INVALID_PASSCODE": "The passcode you entered is incorrect. Please try again.",
|
|
"PASSCODE_ALREADY_SET": "The pass code has already been set.",
|
|
"APPLE_RE-CONSENT_REQUIRED": "Apple re-consent is required. Please revoke the app from your Apple ID settings and try again.",
|
|
"TOKEN_INVALID": "The user token is invalid.",
|
|
"TOKEN_EXPIRED": "The user token has expired."
|
|
},
|
|
|
|
"USER": {
|
|
"PHONE_ALREADY_VERIFIED": "The phone number has already been verified.",
|
|
"EMAIL_ALREADY_VERIFIED": "The email address has already been verified.",
|
|
"EMAIL_ALREADY_SET": "The email address has already been set.",
|
|
"EMAIL_ALREADY_TAKEN": "The email address is already in use. Please try another email address.",
|
|
"PHONE_NUMBER_ALREADY_SET": "The phone number has already been set.",
|
|
"PHONE NUMBER ALREADY TAKEN": "The phone number is already in use. Please try another phone number.",
|
|
"PROFILE_NOT_COMPLETED": "Your profile is not yet complete. Please complete your profile to proceed.",
|
|
"ALREADY_EXISTS": "The user already exists.",
|
|
"NOT_FOUND": "The user was not found.",
|
|
"PHONE_NUMBER_ALREADY_EXISTS": "The phone number already exists.",
|
|
"JUNIOR_UPGRADE_NOT_SUPPORTED_YET": "Upgrading account from junior to guardian is not yet supported.",
|
|
"PHONE_NUMBER_ALREADY_TAKEN": "The phone number you entered is already in use. Please use a different phone number."
|
|
},
|
|
"ALLOWANCE": {
|
|
"START_DATE_BEFORE_TODAY": "The start date cannot be before today.",
|
|
"START_DATE_AFTER_END_DATE": "The start date cannot be after the end date.",
|
|
"NOT_FOUND": "The allowance was not found.",
|
|
"DOES_NOT_BELONG_TO_JUNIOR": "The allowance does not belong to the junior."
|
|
},
|
|
"ALLOWANCE_CHANGE_REQUEST": {
|
|
"SAME_AMOUNT": "The new amount is the same as the current amount.",
|
|
"SAME_AMOUNT_PENDING": "There is already a pending request with the same amount.",
|
|
"NOT_FOUND": "The allowance change request was not found.",
|
|
"ALREADY_APPROVED": "The allowance change request has already been approved.",
|
|
"ALREADY_REJECTED": "The allowance change request has already been rejected."
|
|
},
|
|
"CUSTOMER": {
|
|
"NOT_FOUND": "The customer was not found.",
|
|
"ALREADY_EXISTS": "The customer already exists.",
|
|
"KYC_NOT_APPROVED": "The customer's KYC has not been approved yet."
|
|
},
|
|
|
|
"GIFT": {
|
|
"NOT_FOUND": "The gift was not found.",
|
|
"ALREADY_REDEEMED": "The gift has already been redeemed.",
|
|
"NOT_REDEEMED": "The gift has not been redeemed yet.",
|
|
"ALREADY_REPLIED": "The gift has already been replied to."
|
|
},
|
|
|
|
"JUNIOR": {
|
|
"DOES_NOT_BELONG_TO_GUARDIAN": "The junior does not belong to the guardian.",
|
|
"NOT_FOUND": "The junior was not found.",
|
|
"CIVIL_ID_REQUIRED": "Civil ID is required.",
|
|
"CIVIL_ID_NOT_CREATED_BY_GUARDIAN": "The civil ID document was not uploaded by the guardian.",
|
|
"CIVIL_ID_ALREADY_EXISTS": "The civil ID is already used by another junior."
|
|
},
|
|
|
|
"MONEY_REQUEST": {
|
|
"START_DATE_IN_THE_PAST": "The start date cannot be in the past.",
|
|
"END_DATE_IN_THE_PAST": "The end date cannot be in the past.",
|
|
"END_DATE_BEFORE_START_DATE": "The end date cannot be before the start date.",
|
|
"NOT_FOUND": "The money request was not found.",
|
|
"ENDED": "The money request has ended.",
|
|
"ALREADY_REVIEWED": "The money request has already been reviewed."
|
|
},
|
|
|
|
"GOAL": {
|
|
"DUE_DATE_MUST_BE_IN_THE_FUTURE": "The due date must be in the future.",
|
|
"NOT_FOUND": "The goal was not found.",
|
|
"FUND_EXCEEDS_TOTAL_AMOUNT": "The fund amount exceeds the total amount of the goal."
|
|
},
|
|
|
|
"TASK": {
|
|
"DUE_DATE_BEFORE_START_DATE": "The due date cannot be before the start date.",
|
|
"DUE_DATE_IN_PAST": "The due date cannot be in the past.",
|
|
"NOT_FOUND": "The task was not found.",
|
|
"ALREADY_COMPLETED": "The task has already been completed.",
|
|
"PROOF_REQUIRED": "Proof is required for this task.",
|
|
"NO_SUBMISSION": "No submission found for this task.",
|
|
"SUBMISSION_ALREADY_REVIEWED": "The submission has already been reviewed."
|
|
},
|
|
|
|
"DOCUMENT": {
|
|
"NOT_FOUND": "The document was not found.",
|
|
"TYPE_NOT_SUPPORTED": "Document type is not supported.",
|
|
"NOT_CREATED_BY_USER": "The document was not created by the user."
|
|
},
|
|
"OTP": {
|
|
"INVALID_OTP": "The OTP you entered is invalid. Please try again."
|
|
}
|
|
}
|