ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/transporters/stats/route
GET
Function GET
GET
()
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
total
:
number
;
active
:
number
;
inactive
:
number
;
transporters
:
number
;
logistics
:
number
;
recent
:
number
;
byType
:
(
PickEnumerable
<
TransporterGroupByOutputType
,
"type"
[]
>
&
{
_count
:
{
id
:
number
}
;
}
)
[]
;
byStatus
:
(
PickEnumerable
<
TransporterGroupByOutputType
,
"isActive"
[]
>
&
{
_count
:
{
id
:
number
}
;
}
)
[]
;
topByDeliveries
:
{
_count
:
{
deliveryNotes
:
number
}
;
code
:
string
;
id
:
string
;
name
:
string
;
type
:
string
;
}
[]
;
evolution
:
unknown
;
}
,
>
,
>
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
total
:
number
;
active
:
number
;
inactive
:
number
;
transporters
:
number
;
logistics
:
number
;
recent
:
number
;
byType
:
(
PickEnumerable
<
TransporterGroupByOutputType
,
"type"
[]
>
&
{
_count
:
{
id
:
number
}
;
}
)
[]
;
byStatus
:
(
PickEnumerable
<
TransporterGroupByOutputType
,
"isActive"
[]
>
&
{
_count
:
{
id
:
number
}
;
}
)
[]
;
topByDeliveries
:
{
_count
:
{
deliveryNotes
:
number
}
;
code
:
string
;
id
:
string
;
name
:
string
;
type
:
string
;
}
[]
;
evolution
:
unknown
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...