Circle V2 API Docs
Preparing search index...
@repo/trpc
routers/contact-types/index
contactTypesRouter
Variable contactTypesRouter
Const
contactTypesRouter
:
BuiltRouter
<
{
ctx
:
TRPCContext
;
errorShape
:
DefaultErrorShape
;
meta
:
object
;
transformer
:
false
;
}
,
DecorateCreateRouterOptions
<
{
create
:
MutationProcedure
<
{
input
:
{
customFields
?:
string
[]
;
name
:
string
}
;
meta
:
object
;
output
:
{
contact_type_id
:
ContactTypeId
;
created_at
:
DbDate
;
created_by
:
string
;
org_id
:
number
|
null
;
type
:
string
;
}
;
}
,
>
;
delete
:
MutationProcedure
<
{
input
:
{
contactTypeId
:
string
}
;
meta
:
object
;
output
:
void
}
,
>
;
get
:
QueryProcedure
<
{
input
:
{
contactTypeId
:
string
}
;
meta
:
object
;
output
:
{
contact_type_id
:
ContactTypeId
;
created_at
:
DbDate
;
created_by
:
string
;
fields
:
{
contact_type
:
string
;
created_at
:
DbDate
;
field_id
:
ContactTypeFieldId
;
key
:
string
;
}
[]
;
org_id
:
number
|
null
;
type
:
string
;
}
;
}
,
>
;
list
:
QueryProcedure
<
{
input
:
void
;
meta
:
object
;
output
:
{
contact_count
:
number
;
contact_type_id
:
ContactTypeId
;
created_at
:
DbDate
;
created_by
:
string
;
field_count
:
number
;
org_id
:
number
|
null
;
type
:
string
;
}
[]
;
}
,
>
;
update
:
MutationProcedure
<
{
input
:
{
contactTypeId
:
string
;
fieldIdsToRemove
?:
string
[]
;
fieldsToAdd
?:
string
[]
;
name
?:
string
;
}
;
meta
:
object
;
output
:
void
;
}
,
>
;
}
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...