GitHub
NPM
Preparing search index...
The search index is not available
UniFi API TypeScript Client - v1.1.0
UniFi API TypeScript Client
UniFiVoucher
Interface UniFiVoucher
interface
UniFiVoucher
{
_id
:
string
;
admin_name
?:
string
;
code
:
string
;
create_time
:
number
;
duration
:
number
;
end_time
?:
number
;
for_hotspot
?:
boolean
;
note
?:
string
;
qos_overwrite
?:
boolean
;
qos_rate_max_down
?:
number
;
qos_rate_max_up
?:
number
;
qos_usage_quota
?:
number
;
quota
?:
number
;
start_time
?:
number
;
status
?:
"VALID_ONE"
|
"VALID_MULTI"
|
"EXPIRED"
|
"USED"
;
status_expires
?:
number
;
used
?:
number
;
site_id
?:
string
;
}
Index
Properties
_id
admin_
name?
code
create_
time
duration
end_
time?
for_
hotspot?
note?
qos_
overwrite?
qos_
rate_
max_
down?
qos_
rate_
max_
up?
qos_
usage_
quota?
quota?
start_
time?
status?
status_
expires?
used?
site_
id?
Properties
_id
_id
:
string
Optional
admin_
name
admin_
name
?:
string
code
code
:
string
create_
time
create_
time
:
number
duration
duration
:
number
Optional
end_
time
end_
time
?:
number
Optional
for_
hotspot
for_
hotspot
?:
boolean
Optional
note
note
?:
string
Optional
qos_
overwrite
qos_
overwrite
?:
boolean
Optional
qos_
rate_
max_
down
qos_
rate_
max_
down
?:
number
Optional
qos_
rate_
max_
up
qos_
rate_
max_
up
?:
number
Optional
qos_
usage_
quota
qos_
usage_
quota
?:
number
Optional
quota
quota
?:
number
Optional
start_
time
start_
time
?:
number
Optional
status
status
?:
"VALID_ONE"
|
"VALID_MULTI"
|
"EXPIRED"
|
"USED"
Optional
status_
expires
status_
expires
?:
number
Optional
used
used
?:
number
Optional
site_
id
site_
id
?:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
_id
admin_
name
code
create_
time
duration
end_
time
for_
hotspot
note
qos_
overwrite
qos_
rate_
max_
down
qos_
rate_
max_
up
qos_
usage_
quota
quota
start_
time
status
status_
expires
used
site_
id
UniFi API TypeScript Client - v1.1.0
Loading...