@qwanyx/stack 0.2.99 → 0.2.101

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.
@@ -132,6 +132,7 @@ export declare class AuthService {
132
132
  firstName?: string;
133
133
  lastName?: string;
134
134
  phone?: string;
135
+ tenantDomain?: string;
135
136
  }): Promise<RegisterResult>;
136
137
  /**
137
138
  * Verify email with code received by email
@@ -152,7 +153,9 @@ export declare class AuthService {
152
153
  * Uses system coprocessor for authentication
153
154
  * Auto-adds user as member of configured system on first login
154
155
  */
155
- login(email: string, password: string): Promise<LoginResult>;
156
+ login(email: string, password: string, options?: {
157
+ tenantDomain?: string;
158
+ }): Promise<LoginResult>;
156
159
  /**
157
160
  * Resend verification code to email
158
161
  * (Uses same endpoint as password reset)
@@ -204,6 +207,10 @@ export declare class AuthService {
204
207
  * List all systems a user belongs to
205
208
  */
206
209
  listUserSystems(userId: string): Promise<ListUserSystemsResult>;
210
+ /**
211
+ * Update user profile data (firstName, lastName, phone, etc.)
212
+ */
213
+ updateUser(userId: string, updates: Record<string, any>): Promise<UserOperationResult>;
207
214
  /**
208
215
  * Remove a user from the current system
209
216
  */