@mobilon-dev/amotop - v0.1.47
Preparing search index...
AmoFileClient
Class AmoFileClient
Index
Constructors
constructor
Methods
get
File
By
UUID
get
Files
has
Files
Delete
Scope
has
Files
Scope
restore
File
By
UUID
upload
File
Constructors
constructor
new
AmoFileClient
(
accessToken
:
string
,
options
?:
AmoFileClientOptions
,
)
:
AmoFileClient
Parameters
accessToken
:
string
options
:
AmoFileClientOptions
= {}
Returns
AmoFileClient
Methods
get
File
By
UUID
getFileByUUID
(
uuid
:
string
)
:
Promise
<
any
>
Parameters
uuid
:
string
Returns
Promise
<
any
>
get
Files
getFiles
()
:
Promise
<
any
>
Returns
Promise
<
any
>
has
Files
Delete
Scope
hasFilesDeleteScope
()
:
boolean
Returns
boolean
has
Files
Scope
hasFilesScope
()
:
boolean
Returns
boolean
restore
File
By
UUID
restoreFileByUUID
(
uuid
:
string
)
:
Promise
<
any
>
Parameters
uuid
:
string
Returns
Promise
<
any
>
upload
File
uploadFile
(
fileName
:
string
,
filePath
:
string
,
contentType
:
string
,
)
:
Promise
<
UploadResult
>
Parameters
fileName
:
string
filePath
:
string
contentType
:
string
Returns
Promise
<
UploadResult
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
File
By
UUID
get
Files
has
Files
Delete
Scope
has
Files
Scope
restore
File
By
UUID
upload
File
@mobilon-dev/amotop - v0.1.47
Loading...