Circle V2 API Docs
Preparing search index...
@repo/trpc
routers/superadmin/ai-feedback/index
superadminAiFeedbackRouter
Variable superadminAiFeedbackRouter
Const
superadminAiFeedbackRouter
:
BuiltRouter
<
{
ctx
:
TRPCContext
;
errorShape
:
DefaultErrorShape
;
meta
:
object
;
transformer
:
false
;
}
,
DecorateCreateRouterOptions
<
{
addComment
:
MutationProcedure
<
{
input
:
{
aiFeedbackId
:
string
;
body
:
string
}
;
meta
:
object
;
output
:
AddAiFeedbackCommentOutput
;
}
,
>
;
createLinearIssue
:
MutationProcedure
<
{
input
:
{
ids
:
string
[]
;
note
?:
string
}
;
meta
:
object
;
output
:
CreateAiFeedbackLinearIssueOutput
;
}
,
>
;
deleteComment
:
MutationProcedure
<
{
input
:
{
id
:
string
}
;
meta
:
object
;
output
:
DeleteAiFeedbackCommentOutput
;
}
,
>
;
list
:
QueryProcedure
<
{
input
:
{
cursor
?:
number
;
dateFrom
?:
string
;
dateTo
?:
string
;
entityId
?:
number
;
flow
?:
|
"case_chat"
|
"chart_review"
|
"note_generation"
|
"note_validation"
;
limit
?:
number
;
offset
?:
number
;
rating
?:
"thumbs_up"
|
"thumbs_down"
;
search
?:
string
;
severity
?:
"low"
|
"medium"
|
"high"
|
"critical"
;
statuses
?:
(
|
"open"
|
"acknowledged"
|
"in_progress"
|
"addressed"
|
"reopened"
|
"dismissed"
)
[]
;
}
;
meta
:
object
;
output
:
PaginatedResponse
<
SuperadminAiFeedbackRow
>
;
}
,
>
;
listComments
:
QueryProcedure
<
{
input
:
{
aiFeedbackId
:
string
}
;
meta
:
object
;
output
:
{
comments
:
{
ai_feedback_id
:
string
&
{
__brand
:
"AiFeedbackId"
}
;
author_email
:
string
|
null
;
author_first_name
:
string
|
null
;
author_last_name
:
string
|
null
;
body
:
string
;
created_at
:
DbDate
;
created_by
:
string
&
{
__brand
:
...
}
|
null
;
edited_at
:
string
&
{
__brand
:
...
}
|
null
;
id
:
AiFeedbackCommentId
;
}
[]
;
}
;
}
,
>
;
setSeverity
:
MutationProcedure
<
{
input
:
{
id
:
string
;
severity
:
"low"
|
"medium"
|
"high"
|
"critical"
;
}
;
meta
:
object
;
output
:
SetAiFeedbackSeverityOutput
;
}
,
>
;
setStatus
:
MutationProcedure
<
{
input
:
{
id
:
string
;
resolutionNote
?:
string
;
status
:
|
"open"
|
"acknowledged"
|
"in_progress"
|
"addressed"
|
"reopened"
|
"dismissed"
;
}
;
meta
:
object
;
output
:
SetAiFeedbackStatusOutput
;
}
,
>
;
updateComment
:
MutationProcedure
<
{
input
:
{
body
:
string
;
id
:
string
}
;
meta
:
object
;
output
:
UpdateAiFeedbackCommentOutput
;
}
,
>
;
}
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...