Search
Preparing search index...
The search index is not available
@halo-dev/js-sdk
Options
All
Public
Public/Protected
All
Inherited
Menu
@halo-dev/js-sdk
admin-api/src
AdminApiClient
Class AdminApiClient
Hierarchy
AdminApiClient
Index
Constructors
constructor
Properties
_actuator
_attachment
_backup
_category
_comment
_installation
_journal
_journal
Comment
_link
_log
_mail
_menu
_migration
_option
_photo
_post
_post
Comment
_sheet
_sheet
Comment
_static
Storage
_statistic
_tag
_theme
_user
client
Accessors
actuator
attachment
backup
category
comment
installation
journal
journal
Comment
link
log
mail
menu
migration
option
photo
post
post
Comment
sheet
sheet
Comment
static
Storage
statistic
tag
theme
user
Methods
get
Environment
get
Log
File
is
Installed
login
logout
needMFACode
refresh
Token
reset
Password
send
Reset
Password
Code
Constructors
constructor
new
Admin
Api
Client
(
client
:
HaloRestAPIClient
)
:
AdminApiClient
Parameters
client:
HaloRestAPIClient
Returns
AdminApiClient
Properties
Private
Readonly
_actuator
_actuator
:
ActuatorClient
Private
Readonly
_attachment
_attachment
:
AttachmentClient
Private
Readonly
_backup
_backup
:
BackupClient
Private
Readonly
_category
_category
:
CategoryClient
Private
Readonly
_comment
_comment
:
CommentClient
Private
Readonly
_installation
_installation
:
InstallationClient
Private
Readonly
_journal
_journal
:
JournalClient
Private
Readonly
_journal
Comment
_journal
Comment
:
JournalCommentClient
Private
Readonly
_link
_link
:
LinkClient
Private
Readonly
_log
_log
:
LogClient
Private
Readonly
_mail
_mail
:
MailClient
Private
Readonly
_menu
_menu
:
MenuClient
Private
Readonly
_migration
_migration
:
MigrationClient
Private
Readonly
_option
_option
:
OptionClient
Private
Readonly
_photo
_photo
:
PhotoClient
Private
Readonly
_post
_post
:
PostClient
Private
Readonly
_post
Comment
_post
Comment
:
PostCommentClient
Private
Readonly
_sheet
_sheet
:
SheetClient
Private
Readonly
_sheet
Comment
_sheet
Comment
:
SheetCommentClient
Private
Readonly
_static
Storage
_static
Storage
:
StaticStorageClient
Private
Readonly
_statistic
_statistic
:
StatisticClient
Private
Readonly
_tag
_tag
:
TagClient
Private
Readonly
_theme
_theme
:
ThemeClient
Private
Readonly
_user
_user
:
UserClient
Private
Readonly
client
client
:
HttpClient
Accessors
actuator
get
actuator
(
)
:
ActuatorClient
Returns
ActuatorClient
attachment
get
attachment
(
)
:
AttachmentClient
Returns
AttachmentClient
backup
get
backup
(
)
:
BackupClient
Returns
BackupClient
category
get
category
(
)
:
CategoryClient
Returns
CategoryClient
comment
get
comment
(
)
:
CommentClient
Returns
CommentClient
installation
get
installation
(
)
:
InstallationClient
Returns
InstallationClient
journal
get
journal
(
)
:
JournalClient
Returns
JournalClient
journal
Comment
get
journalComment
(
)
:
JournalCommentClient
Returns
JournalCommentClient
link
get
link
(
)
:
LinkClient
Returns
LinkClient
log
get
log
(
)
:
LogClient
Returns
LogClient
mail
get
mail
(
)
:
MailClient
Returns
MailClient
menu
get
menu
(
)
:
MenuClient
Returns
MenuClient
migration
get
migration
(
)
:
MigrationClient
Returns
MigrationClient
option
get
option
(
)
:
OptionClient
Returns
OptionClient
photo
get
photo
(
)
:
PhotoClient
Returns
PhotoClient
post
get
post
(
)
:
PostClient
Returns
PostClient
post
Comment
get
postComment
(
)
:
PostCommentClient
Returns
PostCommentClient
sheet
get
sheet
(
)
:
SheetClient
Returns
SheetClient
sheet
Comment
get
sheetComment
(
)
:
SheetCommentClient
Returns
SheetCommentClient
static
Storage
get
staticStorage
(
)
:
StaticStorageClient
Returns
StaticStorageClient
statistic
get
statistic
(
)
:
StatisticClient
Returns
StatisticClient
tag
get
tag
(
)
:
TagClient
Returns
TagClient
theme
get
theme
(
)
:
ThemeClient
Returns
ThemeClient
user
get
user
(
)
:
UserClient
Returns
UserClient
Methods
get
Environment
get
Environment
(
)
:
Promise
<
Response
<
Environment
>
>
Returns
Promise
<
Response
<
Environment
>
>
get
Log
File
get
Log
File
(
lines
:
number
)
:
Promise
<
Response
<
string
>
>
Parameters
lines:
number
Returns
Promise
<
Response
<
string
>
>
is
Installed
is
Installed
(
)
:
Promise
<
Response
<
boolean
>
>
Returns
Promise
<
Response
<
boolean
>
>
login
login
(
params
:
{
authcode
:
boolean
;
password
:
string
;
username
:
string
}
)
:
Promise
<
Response
<
AccessToken
>
>
Parameters
params:
{
authcode
:
boolean
;
password
:
string
;
username
:
string
}
authcode
:
boolean
password
:
string
username
:
string
Returns
Promise
<
Response
<
AccessToken
>
>
logout
logout
(
)
:
Promise
<
Response
<
any
>
>
Returns
Promise
<
Response
<
any
>
>
needMFACode
needMFACode
(
params
:
{
password
:
string
;
username
:
string
}
)
:
Promise
<
Response
<
LoginPreCheck
>
>
Parameters
params:
{
password
:
string
;
username
:
string
}
password
:
string
username
:
string
Returns
Promise
<
Response
<
LoginPreCheck
>
>
refresh
Token
refresh
Token
(
refreshToken
:
string
)
:
Promise
<
Response
<
AccessToken
>
>
Parameters
refreshToken:
string
Returns
Promise
<
Response
<
AccessToken
>
>
reset
Password
reset
Password
(
params
:
{
code
?:
string
;
email
:
string
;
password
?:
string
;
username
:
string
}
)
:
Promise
<
object
>
Parameters
params:
{
code
?:
string
;
email
:
string
;
password
?:
string
;
username
:
string
}
Optional
code
?:
string
email
:
string
Optional
password
?:
string
username
:
string
Returns
Promise
<
object
>
send
Reset
Password
Code
send
Reset
Password
Code
(
params
:
{
code
?:
string
;
email
:
string
;
password
?:
string
;
username
:
string
}
)
:
Promise
<
object
>
Parameters
params:
{
code
?:
string
;
email
:
string
;
password
?:
string
;
username
:
string
}
Optional
code
?:
string
email
:
string
Optional
password
?:
string
username
:
string
Returns
Promise
<
object
>
Modules
admin-
api/src
<internal>
content-
api/src
logger/src
rest-
api-
client/src
Admin
Api
Client
constructor
_actuator
_attachment
_backup
_category
_comment
_installation
_journal
_journal
Comment
_link
_log
_mail
_menu
_migration
_option
_photo
_post
_post
Comment
_sheet
_sheet
Comment
_static
Storage
_statistic
_tag
_theme
_user
client
actuator
attachment
backup
category
comment
installation
journal
journal
Comment
link
log
mail
menu
migration
option
photo
post
post
Comment
sheet
sheet
Comment
static
Storage
statistic
tag
theme
user
get
Environment
get
Log
File
is
Installed
login
logout
needMFACode
refresh
Token
reset
Password
send
Reset
Password
Code
Generated using
TypeDoc