Circle V2 API Docs
Preparing search index...
@repo/trpc
routers/superadmin/org-users/index
superadminOrgUsersRouter
Variable superadminOrgUsersRouter
Const
superadminOrgUsersRouter
:
BuiltRouter
<
{
ctx
:
TRPCContext
;
errorShape
:
DefaultErrorShape
;
meta
:
object
;
transformer
:
false
;
}
,
DecorateCreateRouterOptions
<
{
list
:
QueryProcedure
<
{
input
:
{
cursor
?:
number
;
entityId
:
number
;
limit
?:
number
;
offset
?:
number
;
search
?:
string
;
sortBy
?:
"name"
|
"email"
;
sortOrder
?:
"asc"
|
"desc"
;
}
;
meta
:
object
;
output
:
PaginatedResponse
<
{
email
:
string
|
null
;
first_name
:
string
|
null
;
id
:
ProfileId
;
is_superadmin
:
boolean
;
last_name
:
string
|
null
;
role
:
UserRole
;
role_id
:
number
&
{
__brand
:
"RoleId"
}
;
role_name
:
string
;
teams
:
string
[]
;
title
:
string
|
null
;
user_id
:
string
&
{
__brand
:
"UserId"
}
|
null
;
}
,
>
;
}
,
>
;
listRoles
:
QueryProcedure
<
{
input
:
DefaultValue
<
TInputIn
,
void
>
;
meta
:
object
;
output
:
{
role_id
:
RoleId
;
role_name
:
string
}
[]
;
}
,
>
;
updateRole
:
MutationProcedure
<
{
input
:
{
entityId
:
number
;
profileId
:
string
;
roleId
:
number
}
;
meta
:
object
;
output
:
{
success
:
boolean
}
;
}
,
>
;
}
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...