@pelatform/starter 0.2.23 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/extends.d.ts +6 -0
  2. package/dist/extends.js +7 -0
  3. package/dist/hooks.d.ts +3 -0
  4. package/dist/hooks.js +9 -0
  5. package/dist/i18n/ar/common.json +192 -0
  6. package/dist/i18n/ar/email.json +99 -0
  7. package/dist/i18n/ar/errors.json +276 -0
  8. package/dist/i18n/ar/form.json +431 -0
  9. package/dist/i18n/ar/starter.json +138 -0
  10. package/dist/i18n/ar/ui.json +138 -0
  11. package/dist/i18n/de/common.json +192 -0
  12. package/dist/i18n/de/email.json +99 -0
  13. package/dist/i18n/de/errors.json +276 -0
  14. package/dist/i18n/de/form.json +431 -0
  15. package/dist/i18n/de/starter.json +138 -0
  16. package/dist/i18n/de/ui.json +138 -0
  17. package/dist/i18n/en/common.json +192 -0
  18. package/dist/i18n/en/email.json +99 -0
  19. package/dist/i18n/en/errors.json +276 -0
  20. package/dist/i18n/en/form.json +431 -0
  21. package/dist/i18n/en/starter.json +138 -0
  22. package/dist/i18n/en/ui.json +138 -0
  23. package/dist/i18n/id/common.json +192 -0
  24. package/dist/i18n/id/email.json +99 -0
  25. package/dist/i18n/id/errors.json +276 -0
  26. package/dist/i18n/id/form.json +431 -0
  27. package/dist/i18n/id/starter.json +138 -0
  28. package/dist/i18n/id/ui.json +138 -0
  29. package/dist/i18n/zh/common.json +192 -0
  30. package/dist/i18n/zh/email.json +99 -0
  31. package/dist/i18n/zh/errors.json +276 -0
  32. package/dist/i18n/zh/form.json +431 -0
  33. package/dist/i18n/zh/starter.json +138 -0
  34. package/dist/i18n/zh/ui.json +138 -0
  35. package/dist/index.d.ts +4 -7
  36. package/dist/index.js +3 -7
  37. package/dist/server.d.ts +2 -2
  38. package/dist/server.js +1 -1
  39. package/dist/style.css +219 -6
  40. package/dist/ui.d.ts +1 -0
  41. package/dist/ui.js +4 -0
  42. package/package.json +68 -27
  43. package/dist/extend.d.ts +0 -9
  44. package/dist/extend.js +0 -3
@@ -0,0 +1,276 @@
1
+ {
2
+ "REQUEST_FAILED": "Request failed",
3
+ "BASE_ERROR": "-- BASE ---",
4
+ "USER_NOT_FOUND": "User not found",
5
+ "FAILED_TO_CREATE_USER": "Failed to create user",
6
+ "FAILED_TO_CREATE_SESSION": "Failed to create session",
7
+ "FAILED_TO_UPDATE_USER": "Failed to update user",
8
+ "FAILED_TO_GET_SESSION": "Failed to get session",
9
+ "INVALID_PASSWORD": "Invalid password",
10
+ "INVALID_EMAIL": "Invalid email",
11
+ "INVALID_EMAIL_OR_PASSWORD": "Invalid email or password",
12
+ "INVALID_USER": "Invalid user",
13
+ "SOCIAL_ACCOUNT_ALREADY_LINKED": "Social account already linked",
14
+ "PROVIDER_NOT_FOUND": "Provider not found",
15
+ "INVALID_TOKEN": "Invalid token",
16
+ "TOKEN_EXPIRED": "Token expired",
17
+ "ID_TOKEN_NOT_SUPPORTED": "id_token not supported",
18
+ "FAILED_TO_GET_USER_INFO": "Failed to get user info",
19
+ "USER_EMAIL_NOT_FOUND": "User email not found",
20
+ "EMAIL_NOT_VERIFIED": "Email not verified",
21
+ "PASSWORD_TOO_SHORT": "Password too short",
22
+ "PASSWORD_TOO_LONG": "Password too long",
23
+ "USER_ALREADY_EXISTS": "User already exists.",
24
+ "USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL": "User already exists. Use another email.",
25
+ "EMAIL_CAN_NOT_BE_UPDATED": "Email can not be updated",
26
+ "CREDENTIAL_ACCOUNT_NOT_FOUND": "Credential account not found",
27
+ "SESSION_EXPIRED": "Session expired. Re-authenticate to perform this action.",
28
+ "FAILED_TO_UNLINK_LAST_ACCOUNT": "You can't unlink your last account",
29
+ "ACCOUNT_NOT_FOUND": "Account not found",
30
+ "USER_ALREADY_HAS_PASSWORD": "User already has a password. Provide that to delete the account.",
31
+ "CROSS_SITE_NAVIGATION_LOGIN_BLOCKED": "Cross-site navigation login blocked. This request appears to be a CSRF attack.",
32
+ "VERIFICATION_EMAIL_NOT_ENABLED": "Verification email isn't enabled",
33
+ "EMAIL_ALREADY_VERIFIED": "Email is already verified",
34
+ "EMAIL_MISMATCH": "Email mismatch",
35
+ "SESSION_NOT_FRESH": "Session is not fresh",
36
+ "LINKED_ACCOUNT_ALREADY_EXISTS": "Linked account already exists",
37
+ "INVALID_ORIGIN": "Invalid origin",
38
+ "INVALID_CALLBACK_URL": "Invalid callbackURL",
39
+ "INVALID_REDIRECT_URL": "Invalid redirectURL",
40
+ "INVALID_ERROR_CALLBACK_URL": "Invalid errorCallbackURL",
41
+ "INVALID_NEW_USER_CALLBACK_URL": "Invalid newUserCallbackURL",
42
+ "MISSING_OR_NULL_ORIGIN": "Missing or null Origin",
43
+ "CALLBACK_URL_REQUIRED": "callbackURL is required",
44
+ "FAILED_TO_CREATE_VERIFICATION": "Unable to create verification",
45
+ "FIELD_NOT_ALLOWED": "Field not allowed to be set",
46
+ "ASYNC_VALIDATION_NOT_SUPPORTED": "Async validation is not supported",
47
+ "VALIDATION_ERROR": "Validation Error",
48
+ "MISSING_FIELD": "Field is required",
49
+ "METHOD_NOT_ALLOWED_DEFER_SESSION_REQUIRED": "POST method requires deferSessionRefresh to be enabled in session config",
50
+ "BODY_MUST_BE_AN_OBJECT": "Body must be an object",
51
+ "PASSWORD_ALREADY_SET": "User already has a password set",
52
+ "ADMIN_ERROR": "-- ADMIN --- DELETED (FAILED_TO_CREATE_USER, USER_ALREADY_EXISTS, USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL)",
53
+ "YOU_CANNOT_BAN_YOURSELF": "You cannot ban yourself",
54
+ "YOU_ARE_NOT_ALLOWED_TO_CHANGE_USERS_ROLE": "You are not allowed to change users role",
55
+ "YOU_ARE_NOT_ALLOWED_TO_CREATE_USERS": "You are not allowed to create users",
56
+ "YOU_ARE_NOT_ALLOWED_TO_LIST_USERS": "You are not allowed to list users",
57
+ "YOU_ARE_NOT_ALLOWED_TO_LIST_USERS_SESSIONS": "You are not allowed to list users sessions",
58
+ "YOU_ARE_NOT_ALLOWED_TO_BAN_USERS": "You are not allowed to ban users",
59
+ "YOU_ARE_NOT_ALLOWED_TO_IMPERSONATE_USERS": "You are not allowed to impersonate users",
60
+ "YOU_ARE_NOT_ALLOWED_TO_REVOKE_USERS_SESSIONS": "You are not allowed to revoke users sessions",
61
+ "YOU_ARE_NOT_ALLOWED_TO_DELETE_USERS": "You are not allowed to delete users",
62
+ "YOU_ARE_NOT_ALLOWED_TO_SET_USERS_PASSWORD": "You are not allowed to set users password",
63
+ "BANNED_USER": "You have been banned from this application",
64
+ "YOU_ARE_NOT_ALLOWED_TO_GET_USER": "You are not allowed to get user",
65
+ "NO_DATA_TO_UPDATE": "No data to update",
66
+ "YOU_ARE_NOT_ALLOWED_TO_UPDATE_USERS": "You are not allowed to update users",
67
+ "YOU_CANNOT_REMOVE_YOURSELF": "You cannot remove yourself",
68
+ "YOU_ARE_NOT_ALLOWED_TO_SET_NON_EXISTENT_VALUE": "You are not allowed to set a non-existent role value",
69
+ "YOU_CANNOT_IMPERSONATE_ADMINS": "You cannot impersonate admins",
70
+ "INVALID_ROLE_TYPE": "Invalid role type",
71
+ "ANONYMOUS_ERROR": "-- ANONYMOUS --- DELETED (FAILED_TO_CREATE_USER)",
72
+ "INVALID_EMAIL_FORMAT": "Email was not generated in a valid format",
73
+ "COULD_NOT_CREATE_SESSION": "Could not create session",
74
+ "ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY": "Anonymous users cannot sign in again anonymously",
75
+ "FAILED_TO_DELETE_ANONYMOUS_USER": "Failed to delete anonymous user",
76
+ "USER_IS_NOT_ANONYMOUS": "User is not anonymous",
77
+ "DELETE_ANONYMOUS_USER_DISABLED": "Deleting anonymous users is disabled",
78
+ "API_KEY_ERROR": "-- API KEY ---",
79
+ "INVALID_METADATA_TYPE": "metadata must be an object or undefined",
80
+ "REFILL_AMOUNT_AND_INTERVAL_REQUIRED": "refillAmount is required when refillInterval is provided",
81
+ "REFILL_INTERVAL_AND_AMOUNT_REQUIRED": "refillInterval is required when refillAmount is provided",
82
+ "USER_BANNED": "User is banned",
83
+ "UNAUTHORIZED_SESSION": "Unauthorized or invalid session",
84
+ "KEY_NOT_FOUND": "API Key not found",
85
+ "KEY_DISABLED": "API Key is disabled",
86
+ "KEY_EXPIRED": "API Key has expired",
87
+ "USAGE_EXCEEDED": "API Key has reached its usage limit",
88
+ "KEY_NOT_RECOVERABLE": "API Key is not recoverable",
89
+ "EXPIRES_IN_IS_TOO_SMALL": "The expiresIn is smaller than the predefined minimum value.",
90
+ "EXPIRES_IN_IS_TOO_LARGE": "The expiresIn is larger than the predefined maximum value.",
91
+ "INVALID_REMAINING": "The remaining count is either too large or too small.",
92
+ "INVALID_PREFIX_LENGTH": "The prefix length is either too large or too small.",
93
+ "INVALID_NAME_LENGTH": "The name length is either too large or too small.",
94
+ "METADATA_DISABLED": "Metadata is disabled.",
95
+ "RATE_LIMIT_EXCEEDED": "Rate limit exceeded.",
96
+ "NO_VALUES_TO_UPDATE": "No values to update.",
97
+ "KEY_DISABLED_EXPIRATION": "Custom key expiration values are disabled.",
98
+ "INVALID_API_KEY": "Invalid API key.",
99
+ "INVALID_USER_ID_FROM_API_KEY": "The user id from the API key is invalid.",
100
+ "INVALID_REFERENCE_ID_FROM_API_KEY": "The reference id from the API key is invalid.",
101
+ "INVALID_API_KEY_GETTER_RETURN_TYPE": "API Key getter returned an invalid key type. Expected string.",
102
+ "SERVER_ONLY_PROPERTY": "The property you're trying to set can only be set from the server auth instance only.",
103
+ "FAILED_TO_UPDATE_API_KEY": "Failed to update API key",
104
+ "NAME_REQUIRED": "API Key name is required.",
105
+ "ORGANIZATION_ID_REQUIRED": "Workspace ID is required for workspace-owned API keys.",
106
+ "USER_NOT_MEMBER_OF_ORGANIZATION": "You are not a member of the workspace that owns this API key.",
107
+ "INSUFFICIENT_API_KEY_PERMISSIONS": "You do not have permission to perform this action on workspace API keys.",
108
+ "NO_DEFAULT_API_KEY_CONFIGURATION_FOUND": "No default api-key configuration found.",
109
+ "ORGANIZATION_PLUGIN_REQUIRED": "Workspace plugin is required for workspace-owned API keys. Please install and configure the workspace plugin.",
110
+ "CAPTCHA_ERROR": "-- CAPTCHA ---",
111
+ "VERIFICATION_FAILED": "Captcha verification failed",
112
+ "MISSING_RESPONSE": "Missing CAPTCHA response",
113
+ "UNKNOWN_ERROR": "Something went wrong",
114
+ "MISSING_SECRET_KEY": "Missing secret key",
115
+ "SERVICE_UNAVAILABLE": "CAPTCHA service unavailable",
116
+ "DEVICE_AUTHORIZATION_ERROR": "-- DEVICE AUTHORIZATION --- DELETED (USER_NOT_FOUND, FAILED_TO_CREATE_SESSION)",
117
+ "INVALID_DEVICE_CODE": "Invalid device code",
118
+ "EXPIRED_DEVICE_CODE": "Device code has expired",
119
+ "EXPIRED_USER_CODE": "User code has expired",
120
+ "AUTHORIZATION_PENDING": "Authorization pending",
121
+ "ACCESS_DENIED": "Access denied",
122
+ "INVALID_USER_CODE": "Invalid user code",
123
+ "DEVICE_CODE_ALREADY_PROCESSED": "Device code already processed",
124
+ "POLLING_TOO_FREQUENTLY": "Polling too frequently",
125
+ "INVALID_DEVICE_CODE_STATUS": "Invalid device code status",
126
+ "AUTHENTICATION_REQUIRED": "Authentication required",
127
+ "EMAIL_OTP_ERROR": "-- EMAIL OTP ---",
128
+ "OTP_EXPIRED": "OTP expired",
129
+ "INVALID_OTP": "Invalid OTP",
130
+ "TOO_MANY_ATTEMPTS": "Too many attempts",
131
+ "GENERIC_OAUTH_ERROR": "-- GENERIC OAUTH ---",
132
+ "INVALID_OAUTH_CONFIGURATION": "Invalid OAuth configuration",
133
+ "TOKEN_URL_NOT_FOUND": "Invalid OAuth configuration. Token URL not found.",
134
+ "PROVIDER_CONFIG_NOT_FOUND": "No config found for provider",
135
+ "PROVIDER_ID_REQUIRED": "Provider ID is required",
136
+ "INVALID_OAUTH_CONFIG": "Invalid OAuth configuration.",
137
+ "SESSION_REQUIRED": "Session is required",
138
+ "ISSUER_MISMATCH": "OAuth issuer mismatch. The authorization server issuer does not match the expected value (RFC 9207).",
139
+ "ISSUER_MISSING": "OAuth issuer parameter missing. The authorization server did not include the required iss parameter (RFC 9207).",
140
+ "HAVE_PWD_ERROR": "-- HAVE PWD ---",
141
+ "PASSWORD_COMPROMISED": "The password you entered has been compromised. Please choose a different password.",
142
+ "MULTI_SESSION_ERROR": "-- MULTI SESSION ---",
143
+ "INVALID_SESSION_TOKEN": "Invalid session token",
144
+ "ORGANIZATION_ERROR": "-- ORGANIZATION ---",
145
+ "YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION": "You are not allowed to create a new workspace",
146
+ "YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS": "You have reached the maximum number of workspaces",
147
+ "ORGANIZATION_ALREADY_EXISTS": "Workspace already exists",
148
+ "ORGANIZATION_SLUG_ALREADY_TAKEN": "Workspace slug already taken",
149
+ "ORGANIZATION_NOT_FOUND": "Workspace not found",
150
+ "USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION": "User is not a member of the workspace",
151
+ "YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_ORGANIZATION": "You are not allowed to update this workspace",
152
+ "YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_ORGANIZATION": "You are not allowed to delete this workspace",
153
+ "NO_ACTIVE_ORGANIZATION": "No active workspace",
154
+ "USER_IS_ALREADY_A_MEMBER_OF_THIS_ORGANIZATION": "User is already a member of this workspace",
155
+ "MEMBER_NOT_FOUND": "Member not found",
156
+ "ROLE_NOT_FOUND": "Role not found",
157
+ "YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM": "You are not allowed to create a new team",
158
+ "TEAM_ALREADY_EXISTS": "Team already exists",
159
+ "TEAM_NOT_FOUND": "Team not found",
160
+ "YOU_CANNOT_LEAVE_THE_ORGANIZATION_AS_THE_ONLY_OWNER": "You cannot leave the workspace as the only owner",
161
+ "YOU_CANNOT_LEAVE_THE_ORGANIZATION_WITHOUT_AN_OWNER": "You cannot leave the workspace without an owner",
162
+ "YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_MEMBER": "You are not allowed to delete this member",
163
+ "YOU_ARE_NOT_ALLOWED_TO_INVITE_USERS_TO_THIS_ORGANIZATION": "You are not allowed to invite users to this workspace",
164
+ "USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION": "User is already invited to this workspace",
165
+ "INVITATION_NOT_FOUND": "Invitation not found",
166
+ "YOU_ARE_NOT_THE_RECIPIENT_OF_THE_INVITATION": "You are not the recipient of the invitation",
167
+ "EMAIL_VERIFICATION_REQUIRED_BEFORE_ACCEPTING_OR_REJECTING_INVITATION": "Email verification required before accepting or rejecting invitation",
168
+ "YOU_ARE_NOT_ALLOWED_TO_CANCEL_THIS_INVITATION": "You are not allowed to cancel this invitation",
169
+ "INVITER_IS_NO_LONGER_A_MEMBER_OF_THE_ORGANIZATION": "Inviter is no longer a member of the workspace",
170
+ "YOU_ARE_NOT_ALLOWED_TO_INVITE_USER_WITH_THIS_ROLE": "You are not allowed to invite a user with this role",
171
+ "FAILED_TO_RETRIEVE_INVITATION": "Failed to retrieve invitation",
172
+ "YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_TEAMS": "You have reached the maximum number of teams",
173
+ "UNABLE_TO_REMOVE_LAST_TEAM": "Unable to remove last team",
174
+ "YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_MEMBER": "You are not allowed to update this member",
175
+ "ORGANIZATION_MEMBERSHIP_LIMIT_REACHED": "Workspace membership limit reached",
176
+ "YOU_ARE_NOT_ALLOWED_TO_CREATE_TEAMS_IN_THIS_ORGANIZATION": "You are not allowed to create teams in this workspace",
177
+ "YOU_ARE_NOT_ALLOWED_TO_DELETE_TEAMS_IN_THIS_ORGANIZATION": "You are not allowed to delete teams in this workspace",
178
+ "YOU_ARE_NOT_ALLOWED_TO_UPDATE_THIS_TEAM": "You are not allowed to update this team",
179
+ "YOU_ARE_NOT_ALLOWED_TO_DELETE_THIS_TEAM": "You are not allowed to delete this team",
180
+ "INVITATION_LIMIT_REACHED": "Invitation limit reached",
181
+ "TEAM_MEMBER_LIMIT_REACHED": "Team member limit reached",
182
+ "USER_IS_NOT_A_MEMBER_OF_THE_TEAM": "User is not a member of the team",
183
+ "YOU_CAN_NOT_ACCESS_THE_MEMBERS_OF_THIS_TEAM": "You are not allowed to list the members of this team",
184
+ "YOU_DO_NOT_HAVE_AN_ACTIVE_TEAM": "You do not have an active team",
185
+ "YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_TEAM_MEMBER": "You are not allowed to create a new member",
186
+ "YOU_ARE_NOT_ALLOWED_TO_REMOVE_A_TEAM_MEMBER": "You are not allowed to remove a team member",
187
+ "YOU_ARE_NOT_ALLOWED_TO_ACCESS_THIS_ORGANIZATION": "You are not allowed to access this workspace as an owner",
188
+ "YOU_ARE_NOT_A_MEMBER_OF_THIS_ORGANIZATION": "You are not a member of this workspace",
189
+ "MISSING_AC_INSTANCE": "Dynamic Access Control requires a pre-defined ac instance on the server auth plugin. Read server logs for more information",
190
+ "YOU_MUST_BE_IN_AN_ORGANIZATION_TO_CREATE_A_ROLE": "You must be in a workspace to create a role",
191
+ "YOU_ARE_NOT_ALLOWED_TO_CREATE_A_ROLE": "You are not allowed to create a role",
192
+ "YOU_ARE_NOT_ALLOWED_TO_UPDATE_A_ROLE": "You are not allowed to update a role",
193
+ "YOU_ARE_NOT_ALLOWED_TO_DELETE_A_ROLE": "You are not allowed to delete a role",
194
+ "YOU_ARE_NOT_ALLOWED_TO_READ_A_ROLE": "You are not allowed to read a role",
195
+ "YOU_ARE_NOT_ALLOWED_TO_LIST_A_ROLE": "You are not allowed to list a role",
196
+ "YOU_ARE_NOT_ALLOWED_TO_GET_A_ROLE": "You are not allowed to get a role",
197
+ "TOO_MANY_ROLES": "This workspace has too many roles",
198
+ "INVALID_RESOURCE": "The provided permission includes an invalid resource",
199
+ "ROLE_NAME_IS_ALREADY_TAKEN": "That role name is already taken",
200
+ "CANNOT_DELETE_A_PRE_DEFINED_ROLE": "Cannot delete a pre-defined role",
201
+ "ROLE_IS_ASSIGNED_TO_MEMBERS": "Cannot delete a role that is assigned to members. Please reassign the members to a different role first",
202
+ "PHONE_NUMBER_ERROR": "-- PHONE NUMBER --- DELETED (OTP_EXPIRED, INVALID_OTP, TOO_MANY_ATTEMPTS)",
203
+ "INVALID_PHONE_NUMBER": "Invalid phone number",
204
+ "PHONE_NUMBER_EXIST": "Phone number already exists",
205
+ "PHONE_NUMBER_NOT_EXIST": "phone number isn't registered",
206
+ "INVALID_PHONE_NUMBER_OR_PASSWORD": "Invalid phone number or password",
207
+ "UNEXPECTED_ERROR": "Unexpected error",
208
+ "OTP_NOT_FOUND": "OTP not found",
209
+ "PHONE_NUMBER_NOT_VERIFIED": "Phone number not verified",
210
+ "PHONE_NUMBER_CANNOT_BE_UPDATED": "Phone number cannot be updated",
211
+ "SEND_OTP_NOT_IMPLEMENTED": "sendOTP not implemented",
212
+ "TWO_FACTOR_ERROR": "-- TWO FACTOR ---",
213
+ "OTP_NOT_ENABLED": "OTP not enabled",
214
+ "OTP_HAS_EXPIRED": "OTP has expired",
215
+ "TOTP_NOT_ENABLED": "TOTP not enabled",
216
+ "TWO_FACTOR_NOT_ENABLED": "Two factor isn't enabled",
217
+ "BACKUP_CODES_NOT_ENABLED": "Backup codes aren't enabled",
218
+ "INVALID_BACKUP_CODE": "Invalid backup code",
219
+ "INVALID_CODE": "Invalid code",
220
+ "TOO_MANY_ATTEMPTS_REQUEST_NEW_CODE": "Too many attempts. Please request a new code.",
221
+ "INVALID_TWO_FACTOR_COOKIE": "Invalid two factor cookie",
222
+ "USERNAME_ERROR": "-- USERNAME --- DELETED (EMAIL_NOT_VERIFIED, UNEXPECTED_ERROR)",
223
+ "INVALID_USERNAME_OR_PASSWORD": "Invalid username or password",
224
+ "USERNAME_IS_ALREADY_TAKEN": "Username is already taken. Please try another.",
225
+ "USERNAME_TOO_SHORT": "Username is too short",
226
+ "USERNAME_TOO_LONG": "Username is too long",
227
+ "INVALID_USERNAME": "Username is invalid",
228
+ "INVALID_DISPLAY_USERNAME": "Display username is invalid",
229
+ "ELECTRON_ERROR": "-- ELECTRON ---",
230
+ "INVALID_CLIENT_ID": "Invalid client ID",
231
+ "STATE_MISMATCH": "state mismatch",
232
+ "MISSING_CODE_CHALLENGE": "missing code challenge",
233
+ "INVALID_CODE_VERIFIER": "Invalid code verifier",
234
+ "MISSING_STATE": "state is required",
235
+ "MISSING_PKCE": "pkce is required",
236
+ "PASSKEY_ERROR": "-- PASSKEY ---",
237
+ "CHALLENGE_NOT_FOUND": "Challenge not found",
238
+ "YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY": "You are not allowed to register this passkey",
239
+ "FAILED_TO_VERIFY_REGISTRATION": "Failed to verify registration",
240
+ "PASSKEY_NOT_FOUND": "Passkey not found",
241
+ "AUTHENTICATION_FAILED": "Authentication failed",
242
+ "UNABLE_TO_CREATE_SESSION": "Unable to create session",
243
+ "FAILED_TO_UPDATE_PASSKEY": "Failed to update passkey",
244
+ "PREVIOUSLY_REGISTERED": "Previously registered",
245
+ "REGISTRATION_CANCELLED": "Registration cancelled",
246
+ "AUTH_CANCELLED": "Auth cancelled",
247
+ "SSO_ERROR": "-- SSO ---",
248
+ "SINGLE_LOGOUT_NOT_ENABLED": "Single Logout is not enabled",
249
+ "INVALID_LOGOUT_RESPONSE": "Invalid LogoutResponse",
250
+ "INVALID_LOGOUT_REQUEST": "Invalid LogoutRequest",
251
+ "LOGOUT_FAILED_AT_IDP": "Logout failed at IdP",
252
+ "IDP_SLO_NOT_SUPPORTED": "IdP does not support Single Logout Service",
253
+ "SAML_PROVIDER_NOT_FOUND": "SAML provider not found",
254
+ "STRIPE_ERROR": "-- STRIPE ---",
255
+ "UNAUTHORIZED": "Unauthorized access",
256
+ "INVALID_REQUEST_BODY": "Invalid request body",
257
+ "SUBSCRIPTION_NOT_FOUND": "Subscription not found",
258
+ "SUBSCRIPTION_PLAN_NOT_FOUND": "Subscription plan not found",
259
+ "ALREADY_SUBSCRIBED_PLAN": "You're already subscribed to this plan",
260
+ "REFERENCE_ID_NOT_ALLOWED": "Reference id is not allowed",
261
+ "CUSTOMER_NOT_FOUND": "Stripe customer not found for this user",
262
+ "UNABLE_TO_CREATE_CUSTOMER": "Unable to create customer",
263
+ "UNABLE_TO_CREATE_BILLING_PORTAL": "Unable to create billing portal session",
264
+ "STRIPE_SIGNATURE_NOT_FOUND": "Stripe signature not found",
265
+ "STRIPE_WEBHOOK_SECRET_NOT_FOUND": "Stripe webhook secret not found",
266
+ "STRIPE_WEBHOOK_ERROR": "Stripe webhook error",
267
+ "FAILED_TO_CONSTRUCT_STRIPE_EVENT": "Failed to construct Stripe event",
268
+ "FAILED_TO_FETCH_PLANS": "Failed to fetch plans",
269
+ "EMAIL_VERIFICATION_REQUIRED": "Email verification is required before you can subscribe to a plan",
270
+ "SUBSCRIPTION_NOT_ACTIVE": "Subscription is not active",
271
+ "SUBSCRIPTION_NOT_PENDING_CHANGE": "Subscription has no pending cancellation or scheduled plan change",
272
+ "ORGANIZATION_SUBSCRIPTION_NOT_ENABLED": "Workspace subscription is not enabled",
273
+ "AUTHORIZE_REFERENCE_REQUIRED": "Workspace subscriptions require authorizeReference callback to be configured",
274
+ "ORGANIZATION_HAS_ACTIVE_SUBSCRIPTION": "Cannot delete workspace with active subscription",
275
+ "ORGANIZATION_REFERENCE_ID_REQUIRED": "Reference ID is required. Provide referenceId or set activeOrganizationId in session"
276
+ }