From 15e54686926c5601c1421be0574117a9940a3aa5 Mon Sep 17 00:00:00 2001 From: Jerod Fritz Date: Wed, 4 Mar 2026 18:09:28 -0500 Subject: [PATCH] Adds user migration error and new local user group from IPS Introduces a new `USER_MIGRATED` global error code. Adds `USE_LOCAL` to user groups for defining users in a local context. @eschultz you may need to update the group id here I guessed on what it will be --- eshtek/errors.ts | 1 + eshtek/user.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/eshtek/errors.ts b/eshtek/errors.ts index d6bdaa1..1d2e4b7 100644 --- a/eshtek/errors.ts +++ b/eshtek/errors.ts @@ -1,4 +1,5 @@ export enum GlobalErrorCode { + USER_MIGRATED = 'USER_MIGRATED', AUTH_INVALID_2FA = 'AUTH_INVALID_2FA', AUTH_INVALID_CREDENTIALS = 'AUTH_INVALID_CREDENTIALS', AUTH_MISSING_2FA = 'AUTH_MISSING_2FA', diff --git a/eshtek/user.ts b/eshtek/user.ts index 051f2ac..4117390 100644 --- a/eshtek/user.ts +++ b/eshtek/user.ts @@ -24,6 +24,7 @@ export enum UserGroups { BETA_UNLIMITED = '7', CUSTOMERS = '8', BETA_CUSTOMERS = '9', + USE_LOCAL = '11', } export enum UserPreferenceTheme {