Circle V2 API Docs
Preparing search index...
@repo/db
entitiesRepo
Variable entitiesRepo
Const
entitiesRepo
:
DbRepo
<
{
create
:
(
params
:
{
company_name
:
string
}
&
{
archived_at
?:
string
|
null
;
created_at
?:
string
|
null
;
created_by
?:
string
|
null
;
entity_id
?:
EntityId
;
}
,
)
=>
Promise
<
{
archived_at
:
string
|
null
;
company_name
:
string
;
created_at
:
string
|
null
;
created_by
:
string
|
null
;
entity_id
:
EntityId
;
}
,
>
;
getById
:
(
entityId
:
EntityId
,
)
=>
Promise
<
{
archived_at
:
string
|
null
;
company_name
:
string
;
created_at
:
string
|
null
;
created_by
:
string
|
null
;
entity_id
:
EntityId
;
}
,
>
;
list
:
(
params
?:
ListEntitiesParams
,
)
=>
Promise
<
{
items
:
{
archivedAt
:
string
|
null
;
companyName
:
string
;
createdAt
:
string
|
null
;
entityId
:
EntityId
;
memberCount
:
number
;
}
[]
;
total
:
number
;
}
,
>
;
setArchived
:
(
entityId
:
EntityId
,
archived
:
boolean
)
=>
Promise
<
void
>
;
}
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...