Circle V2 API Docs
Preparing search index...
@repo/db
superadminSessionsRepo
Variable superadminSessionsRepo
Const
superadminSessionsRepo
:
DbRepo
<
{
endActive
:
(
superadminProfileId
:
ProfileId
,
)
=>
Promise
<
|
{
created_at
:
DbDate
;
ended_at
:
string
&
{
__brand
:
"DbDate"
}
|
null
;
expires_at
:
string
&
{
__brand
:
"DbDate"
}
;
id
:
SuperadminSessionId
;
impersonated_entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
impersonated_profile_id
:
string
&
{
__brand
:
"ProfileId"
}
|
null
;
superadmin_profile_id
:
string
&
{
__brand
:
"ProfileId"
}
;
}
|
undefined
,
>
;
getActiveBySuperadminProfileId
:
(
profileId
:
ProfileId
,
)
=>
Promise
<
|
{
created_at
:
DbDate
;
ended_at
:
string
&
{
__brand
:
"DbDate"
}
|
null
;
expires_at
:
string
&
{
__brand
:
"DbDate"
}
;
id
:
SuperadminSessionId
;
impersonated_entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
impersonated_profile_id
:
string
&
{
__brand
:
"ProfileId"
}
|
null
;
superadmin_profile_id
:
string
&
{
__brand
:
"ProfileId"
}
;
}
|
undefined
,
>
;
getById
:
(
id
:
SuperadminSessionId
,
)
=>
Promise
<
|
{
created_at
:
DbDate
;
ended_at
:
string
&
{
__brand
:
"DbDate"
}
|
null
;
expires_at
:
string
&
{
__brand
:
"DbDate"
}
;
id
:
SuperadminSessionId
;
impersonated_entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
impersonated_profile_id
:
string
&
{
__brand
:
"ProfileId"
}
|
null
;
superadmin_profile_id
:
string
&
{
__brand
:
"ProfileId"
}
;
}
|
undefined
,
>
;
start
:
(
params
:
StartSuperadminSessionParams
,
)
=>
Promise
<
{
created_at
:
DbDate
;
ended_at
:
string
&
{
__brand
:
"DbDate"
}
|
null
;
expires_at
:
string
&
{
__brand
:
"DbDate"
}
;
id
:
SuperadminSessionId
;
impersonated_entity_id
:
number
&
{
__brand
:
"EntityId"
}
;
impersonated_profile_id
:
string
&
{
__brand
:
"ProfileId"
}
|
null
;
superadmin_profile_id
:
string
&
{
__brand
:
"ProfileId"
}
;
}
,
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...