{"code":"__filename=\"/opt/canhelp/node_modules/better-auth/dist/plugins/admin/error-codes.mjs\";(()=>{\nvar __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===\"object\"||typeof from===\"function\"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var error_codes_exports={};__export(error_codes_exports,{ADMIN_ERROR_CODES:()=>ADMIN_ERROR_CODES});module.exports=__toCommonJS(error_codes_exports);var import_error_codes=require(\"@better-auth/core/utils/error-codes\");const ADMIN_ERROR_CODES=(0,import_error_codes.defineErrorCodes)({FAILED_TO_CREATE_USER:\"Failed to create user\",USER_ALREADY_EXISTS:\"User already exists.\",USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL:\"User already exists. Use another email.\",YOU_CANNOT_BAN_YOURSELF:\"You cannot ban yourself\",YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE:\"You are not allowed to change users role\",YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS:\"You are not allowed to create users\",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS:\"You are not allowed to list users\",YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS:\"You are not allowed to list users sessions\",YOU_ARE_NOT_ALLOWED_TO_BAN_USERS:\"You are not allowed to ban users\",YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS:\"You are not allowed to impersonate users\",YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS:\"You are not allowed to revoke users sessions\",YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS:\"You are not allowed to delete users\",YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD:\"You are not allowed to set users password\",BANNED_USER:\"You have been banned from this application\",YOU_ARE_NOT_ALLOWED_TO_GET_USER:\"You are not allowed to get user\",NO_DATA_TO_UPDATE:\"No data to update\",YOU_ARE_NOT_ALLOWED_TO_UPDATE_USERS:\"You are not allowed to update users\",YOU_CANNOT_REMOVE_YOURSELF:\"You cannot remove yourself\",YOU_ARE_NOT_ALLOWED_TO_SET_NON_EXISTENT_VALUE:\"You are not allowed to set a non-existent role value\",YOU_CANNOT_IMPERSONATE_ADMINS:\"You cannot impersonate admins\",INVALID_ROLE_TYPE:\"Invalid role type\"});0&&(module.exports={ADMIN_ERROR_CODES});\n})()\n","warnings":[],"map":{"version":3,"mappings":";wpBAAA,2KAAiC,+CAGjC,MAAM,qBAAoB,qCAAiB,CAC1C,sBAAuB,wBACvB,oBAAqB,uBACrB,sCAAuC,0CACvC,wBAAyB,0BACzB,yCAA0C,2CAC1C,oCAAqC,sCACrC,kCAAmC,oCACnC,2CAA4C,6CAC5C,iCAAkC,mCAClC,yCAA0C,2CAC1C,6CAA8C,+CAC9C,oCAAqC,sCACrC,0CAA2C,4CAC3C,YAAa,6CACb,gCAAiC,kCACjC,kBAAmB,oBACnB,oCAAqC,sCACrC,2BAA4B,6BAC5B,8CAA+C,uDAC/C,8BAA+B,gCAC/B,kBAAmB,mBACpB,CAAC","names":[],"ignoreList":[],"sources":["/opt/canhelp/node_modules/better-auth/dist/plugins/admin/error-codes.mjs"],"sourcesContent":[null]}}