Circle V2 API Docs
Preparing search index...
@repo/trpc
routers/superadmin/automation-runs/index
superadminAutomationRunsRouter
Variable superadminAutomationRunsRouter
Const
superadminAutomationRunsRouter
:
BuiltRouter
<
{
ctx
:
TRPCContext
;
errorShape
:
DefaultErrorShape
;
meta
:
object
;
transformer
:
false
;
}
,
DecorateCreateRouterOptions
<
{
filterOptions
:
QueryProcedure
<
{
input
:
{
type
:
"extend"
|
"rpa"
}
;
meta
:
object
;
output
:
{
sources
:
string
[]
;
syncTypes
:
string
[]
}
;
}
,
>
;
get
:
QueryProcedure
<
{
input
:
{
id
:
string
;
type
:
"rpa"
}
|
{
id
:
string
;
type
:
"extend"
}
;
meta
:
object
;
output
:
|
{
run
:
{
completed_at
:
string
&
{
__brand
:
...
}
|
null
;
created_at
:
DbDate
;
current_step
:
string
|
null
;
document_count
:
number
|
null
;
dry_run
:
boolean
;
entity_id
:
number
&
{
__brand
:
...
}
|
null
;
external_run_id
:
string
|
null
;
facility_id
:
string
&
{
__brand
:
...
}
|
null
;
failure_reason
:
string
|
null
;
id
:
RpaRunId
;
integration_id
:
string
&
{
__brand
:
...
}
|
null
;
last_step_at
:
string
&
{
__brand
:
...
}
|
null
;
live_view_url
:
string
|
null
;
patient_id
:
string
&
{
__brand
:
...
}
|
null
;
raw_payload
:
Record
<
string
,
unknown
>
|
null
;
started_at
:
string
&
{
__brand
:
...
}
|
null
;
status
:
"success"
|
"failed"
|
"pending"
|
"running"
|
"stopped"
;
step_history
:
{
at
:
...
;
step
:
...
}
[]
|
null
;
sync_type
:
string
|
null
;
treatment_episode_id
:
string
&
{
__brand
:
...
}
|
null
;
triggered_by
:
string
&
{
__brand
:
...
}
|
null
;
}
;
type
:
"rpa"
;
}
|
{
run
:
{
completed_at
:
string
&
{
__brand
:
...
}
|
null
;
created_at
:
DbDate
;
entity_id
:
number
&
{
__brand
:
...
}
|
null
;
external_run_id
:
string
|
null
;
facility_id
:
string
&
{
__brand
:
...
}
|
null
;
failure_reason
:
string
|
null
;
file_name
:
string
|
null
;
id
:
ExtendRunId
;
integration_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_chart_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_id
:
string
&
{
__brand
:
...
}
|
null
;
raw_payload
:
Record
<
string
,
unknown
>
|
null
;
rpa_run_id
:
string
&
{
__brand
:
...
}
|
null
;
source
:
string
|
null
;
status
:
|
"processing"
|
"failed"
|
"rejected"
|
"needs_review"
|
"pending"
|
"completed"
;
treatment_episode_id
:
string
&
{
__brand
:
...
}
|
null
;
workflow_id
:
string
|
null
;
}
;
type
:
"extend"
;
}
;
}
,
>
;
getRecording
:
QueryProcedure
<
{
input
:
{
id
:
string
}
;
meta
:
object
;
output
:
{
url
:
string
|
null
}
;
}
,
>
;
list
:
QueryProcedure
<
{
input
:
{
createdAtDateRange
?:
{
from
:
string
;
to
:
string
}
;
cursor
?:
number
;
entityIds
?:
number
[]
;
limit
?:
number
;
offset
?:
number
;
patientIds
?:
string
[]
;
search
?:
string
;
sources
?:
string
[]
;
statuses
?:
string
[]
;
syncTypes
?:
string
[]
;
type
:
"extend"
|
"rpa"
;
}
;
meta
:
object
;
output
:
|
PaginatedResponse
<
{
completed_at
:
string
&
{
__brand
:
...
}
|
null
;
created_at
:
DbDate
;
current_step
:
string
|
null
;
document_count
:
number
|
null
;
dry_run
:
boolean
;
entity_id
:
number
&
{
__brand
:
...
}
|
null
;
external_run_id
:
string
|
null
;
facility_id
:
string
&
{
__brand
:
...
}
|
null
;
failure_reason
:
string
|
null
;
id
:
RpaRunId
;
integration_id
:
string
&
{
__brand
:
...
}
|
null
;
last_step_at
:
string
&
{
__brand
:
...
}
|
null
;
live_view_url
:
string
|
null
;
patient_first_name
:
string
|
null
;
patient_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_last_name
:
string
|
null
;
raw_payload
:
Record
<
string
,
unknown
>
|
null
;
started_at
:
string
&
{
__brand
:
...
}
|
null
;
status
:
"success"
|
"failed"
|
"pending"
|
"running"
|
"stopped"
;
step_history
:
{
at
:
...
;
step
:
...
}
[]
|
null
;
sync_type
:
string
|
null
;
treatment_episode_id
:
string
&
{
__brand
:
...
}
|
null
;
triggered_by
:
string
&
{
__brand
:
...
}
|
null
;
}
,
>
|
PaginatedResponse
<
{
completed_at
:
string
&
{
__brand
:
...
}
|
null
;
created_at
:
DbDate
;
entity_id
:
number
&
{
__brand
:
...
}
|
null
;
external_run_id
:
string
|
null
;
facility_id
:
string
&
{
__brand
:
...
}
|
null
;
failure_reason
:
string
|
null
;
file_name
:
string
|
null
;
id
:
ExtendRunId
;
integration_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_chart_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_first_name
:
string
|
null
;
patient_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_last_name
:
string
|
null
;
raw_payload
:
Record
<
string
,
unknown
>
|
null
;
rpa_run_id
:
string
&
{
__brand
:
...
}
|
null
;
source
:
string
|
null
;
status
:
|
"processing"
|
"failed"
|
"rejected"
|
"needs_review"
|
"pending"
|
"completed"
;
treatment_episode_id
:
string
&
{
__brand
:
...
}
|
null
;
workflow_id
:
string
|
null
;
}
,
>
;
}
,
>
;
listGroupedByPatient
:
QueryProcedure
<
{
input
:
{
createdAtDateRange
?:
{
from
:
string
;
to
:
string
}
;
cursor
?:
number
;
entityIds
?:
number
[]
;
limit
?:
number
;
offset
?:
number
;
patientIds
?:
string
[]
;
search
?:
string
;
sources
?:
string
[]
;
statuses
?:
string
[]
;
syncTypes
?:
string
[]
;
type
:
"extend"
|
"rpa"
;
}
;
meta
:
object
;
output
:
|
PaginatedResponse
<
{
completed_at
:
string
&
{
__brand
:
...
}
|
null
;
created_at
:
DbDate
;
current_step
:
string
|
null
;
document_count
:
number
|
null
;
dry_run
:
boolean
;
entity_id
:
number
&
{
__brand
:
...
}
|
null
;
external_run_id
:
string
|
null
;
facility_id
:
string
&
{
__brand
:
...
}
|
null
;
failure_reason
:
string
|
null
;
id
:
RpaRunId
;
integration_id
:
string
&
{
__brand
:
...
}
|
null
;
last_step_at
:
string
&
{
__brand
:
...
}
|
null
;
live_view_url
:
string
|
null
;
patient_first_name
:
string
|
null
;
patient_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_last_name
:
string
|
null
;
raw_payload
:
Record
<
string
,
unknown
>
|
null
;
started_at
:
string
&
{
__brand
:
...
}
|
null
;
status
:
"success"
|
"failed"
|
"pending"
|
"running"
|
"stopped"
;
step_history
:
{
at
:
...
;
step
:
...
}
[]
|
null
;
sync_type
:
string
|
null
;
treatment_episode_id
:
string
&
{
__brand
:
...
}
|
null
;
triggered_by
:
string
&
{
__brand
:
...
}
|
null
;
}
,
>
|
PaginatedResponse
<
{
completed_at
:
string
&
{
__brand
:
...
}
|
null
;
created_at
:
DbDate
;
entity_id
:
number
&
{
__brand
:
...
}
|
null
;
external_run_id
:
string
|
null
;
facility_id
:
string
&
{
__brand
:
...
}
|
null
;
failure_reason
:
string
|
null
;
file_name
:
string
|
null
;
id
:
ExtendRunId
;
integration_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_chart_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_first_name
:
string
|
null
;
patient_id
:
string
&
{
__brand
:
...
}
|
null
;
patient_last_name
:
string
|
null
;
raw_payload
:
Record
<
string
,
unknown
>
|
null
;
rpa_run_id
:
string
&
{
__brand
:
...
}
|
null
;
source
:
string
|
null
;
status
:
|
"processing"
|
"failed"
|
"rejected"
|
"needs_review"
|
"pending"
|
"completed"
;
treatment_episode_id
:
string
&
{
__brand
:
...
}
|
null
;
workflow_id
:
string
|
null
;
}
,
>
;
}
,
>
;
retry
:
MutationProcedure
<
{
input
:
{
id
:
string
;
type
:
"rpa"
}
|
{
id
:
string
;
type
:
"extend"
}
;
meta
:
object
;
output
:
{
success
:
true
}
;
}
,
>
;
}
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Circle V2 API Docs
Loading...