mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2026-03-10 20:51:44 +00:00
155 lines
9.2 KiB
JSON
155 lines
9.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_CURRENT_PASSWORD": "The current password you entered is incorrect. Please try again.",
|
|
"PASSWORD_NOT_SET": "A password has not been set for this account. Please set a password to proceed.",
|
|
"PASSWORD_SAME_AS_CURRENT": "The new password cannot be the same as the current password.",
|
|
"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."
|
|
},
|
|
|
|
"QR": {
|
|
"CODE_USED_OR_EXPIRED": "The QR code has already been used or 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.",
|
|
"ALREADY_HAS_CARD": "The customer already has a card.",
|
|
"DOES_NOT_HAVE_CARD": "The customer does not have a card."
|
|
},
|
|
|
|
"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.",
|
|
"CANNOT_UPDATE_REGISTERED_USER": "The junior has already registered. Updating details is not allowed.",
|
|
"CANNOT_DELETE_REGISTERED_USER": "The junior has already registered. Deleting the junior is not allowed."
|
|
},
|
|
|
|
"MONEY_REQUEST": {
|
|
"NOT_FOUND": "The money request was not found.",
|
|
"ALREADY_APPROVED": "The money request has already been approved.",
|
|
"ALREADY_REJECTED": "The money request has already been rejected."
|
|
},
|
|
|
|
"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."
|
|
},
|
|
"CARD": {
|
|
"INSUFFICIENT_BALANCE": "The card does not have sufficient balance to complete this transfer.",
|
|
"DOES_NOT_BELONG_TO_GUARDIAN": "The card does not belong to the guardian.",
|
|
"NOT_FOUND": "The card was not found."
|
|
},
|
|
"NOTIFICATION": {
|
|
"CHILD_TOP_UP_TITLE": "Funds Credited",
|
|
"CHILD_TOP_UP_MESSAGE": "{amount} {currency} has been added to your card. Total balance: {balance} {currency}",
|
|
"CHILD_SPENDING_TITLE": "Purchase Successful",
|
|
"CHILD_SPENDING_MESSAGE": "You spent {amount} {currency} at {merchant}",
|
|
"PARENT_TOP_UP_TITLE": "Transfer Completed",
|
|
"PARENT_TOP_UP_MESSAGE": "{amount} {currency} has been transferred to {childName}'s card. {childName}'s balance is {balance} {currency}",
|
|
"PARENT_SPENDING_TITLE": "Spending Alert",
|
|
"PARENT_SPENDING_MESSAGE": "{childName} spent {amount} {currency} at {merchant}. Remaining balance: {balance} {currency}",
|
|
"YOUR_CHILD": "Your child",
|
|
"MONEY_REQUEST_CREATED_TITLE": "Money Request",
|
|
"MONEY_REQUEST_CREATED_MESSAGE": "{childName} has requested {amount} {currency} for {reason}.",
|
|
"MONEY_REQUEST_APPROVED_TITLE": "Money Request Approved",
|
|
"MONEY_REQUEST_APPROVED_MESSAGE": "Your request for {amount} {currency} has been approved. The money has been added to your account.",
|
|
"MONEY_REQUEST_DECLINED_TITLE": "Money Request Declined",
|
|
"MONEY_REQUEST_DECLINED_MESSAGE": "Your request for {amount} {currency} has been declined. Reason: {reason}",
|
|
"KYC_APPROVED_TITLE": "KYC Verification Approved",
|
|
"KYC_APPROVED_MESSAGE": "Your KYC verification has been approved. You can now use all features of the app.",
|
|
"KYC_REJECTED_TITLE": "KYC Verification Rejected",
|
|
"KYC_REJECTED_MESSAGE": "Your KYC verification has been rejected. Reason: {reason}. Please review your information and try again.",
|
|
"CARD_CREATED_TITLE": "Card Created",
|
|
"CARD_CREATED_MESSAGE": "Your card ending in {lastFourDigits} has been created successfully. You can start using it once it's activated.",
|
|
"CARD_BLOCKED_TITLE": "Card Blocked",
|
|
"CARD_BLOCKED_MESSAGE": "Your card ending in {lastFourDigits} has been blocked. Reason: {reason}. Please contact support for assistance.",
|
|
"PROFILE_UPDATED_TITLE": "Profile Updated",
|
|
"PROFILE_UPDATED_MESSAGE": "Your profile has been updated. Changes: {fields}",
|
|
"PROFILE_EMAIL_UPDATED_TITLE": "Email Updated",
|
|
"PROFILE_EMAIL_UPDATED_MESSAGE": "Your email has been updated to {email}. Please verify your new email address.",
|
|
"PROFILE_PASSWORD_UPDATED_TITLE": "Password Updated",
|
|
"PROFILE_PASSWORD_UPDATED_MESSAGE": "Your password has been successfully updated. If you did not make this change, please contact support immediately.",
|
|
"PROFILE_PICTURE_UPDATED_TITLE": "Profile Picture Updated",
|
|
"PROFILE_PICTURE_UPDATED_MESSAGE": "Your profile picture has been updated successfully.",
|
|
"PROFILE_NAME_UPDATED_TITLE": "Name Updated",
|
|
"PROFILE_NAME_UPDATED_MESSAGE": "Your name has been updated successfully.",
|
|
"MAINTENANCE_ALERT_TITLE": "Scheduled Maintenance",
|
|
"MAINTENANCE_ALERT_MESSAGE": "{message}",
|
|
"TRANSACTION_FAILED_TITLE": "Transaction Failed",
|
|
"TRANSACTION_FAILED_MESSAGE": "Your transaction could not be completed. Reason: {reason}. Please try again or contact support if the issue persists.",
|
|
"SUSPICIOUS_LOGIN_TITLE": "Suspicious Login Detected",
|
|
"SUSPICIOUS_LOGIN_MESSAGE": "We detected a login attempt from {location} ({ipAddress}) using {device}. If this was not you, please change your password immediately and contact support."
|
|
}
|
|
}
|