refactor(api): move app-scoped end users behind application services (#41398)

This commit is contained in:
Byron.wang authored and GitHub committed 2026-09-22 11:20:45 +00:00
1 parent 9badde4d65
commit ce2eaab9f7
41 files changed
+1384 -481

No files matched your search

@@ -1060,11 +1060,7 @@ export const zDocumentStatusListResponse = z.object({
/**
* EndUserDetail
*
* Full EndUser record for API responses.
*
* Note: The SQLAlchemy model defines an `is_anonymous` property for Flask-Login semantics
* (always False). The database column is exposed as `_is_anonymous`, so this DTO maps
* `is_anonymous` from `_is_anonymous` to return the stored value.
* Full end-user detail returned by the Service API.
*/
export const zEndUserDetail = z.object({
app_id: z.uuid().nullish(),