Preparing search index...
The search index is not available
@64bitlabs/frappe-javascript-sdk
@64bitlabs/frappe-javascript-sdk
<internal>
AxiosInstance
Interface AxiosInstance
interface
AxiosInstance
{
defaults
:
Omit
<
AxiosDefaults
<
any
>
,
"headers"
>
&
{
headers
:
HeadersDefaults
&
{
[
key
:
string
]
:
AxiosHeaderValue
;
}
;
}
;
interceptors
:
{
request
:
AxiosInterceptorManager
<
InternalAxiosRequestConfig
<
any
>
>
;
response
:
AxiosInterceptorManager
<
AxiosResponse
<
any
,
any
>
>
;
}
;
delete
<
T
,
R
,
D
>
(
url
:
string
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
get
<
T
,
R
,
D
>
(
url
:
string
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
getUri
(
config
?:
AxiosRequestConfig
<
any
>
)
:
string
;
head
<
T
,
R
,
D
>
(
url
:
string
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
options
<
T
,
R
,
D
>
(
url
:
string
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
patch
<
T
,
R
,
D
>
(
url
:
string
,
data
?:
D
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
patchForm
<
T
,
R
,
D
>
(
url
:
string
,
data
?:
D
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
post
<
T
,
R
,
D
>
(
url
:
string
,
data
?:
D
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
postForm
<
T
,
R
,
D
>
(
url
:
string
,
data
?:
D
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
put
<
T
,
R
,
D
>
(
url
:
string
,
data
?:
D
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
putForm
<
T
,
R
,
D
>
(
url
:
string
,
data
?:
D
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
request
<
T
,
R
,
D
>
(
config
:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
<
T
,
R
,
D
>
(
config
:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
<
T
,
R
,
D
>
(
url
:
string
,
config
?:
AxiosRequestConfig
<
D
>
)
:
Promise
<
R
>
;
}
Hierarchy (
view full
)
Axios
AxiosInstance
Axios
Instance
<
T
,
R
,
D
>
(
config
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
Axios
Instance
<
T
,
R
,
D
>
(
url
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
Index
Properties
defaults
interceptors
Methods
delete
get
get
Uri
head
options
patch
patch
Form
post
post
Form
put
put
Form
request
Properties
defaults
defaults
:
Omit
<
AxiosDefaults
<
any
>
,
"headers"
>
&
{
headers
:
HeadersDefaults
&
{
[
key
:
string
]
:
AxiosHeaderValue
;
}
;
}
interceptors
interceptors
:
{
request
:
AxiosInterceptorManager
<
InternalAxiosRequestConfig
<
any
>
>
;
response
:
AxiosInterceptorManager
<
AxiosResponse
<
any
,
any
>
>
;
}
Methods
delete
delete
<
T
,
R
,
D
>
(
url
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
get
get
<
T
,
R
,
D
>
(
url
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
get
Uri
get
Uri
(
config
?
)
:
string
Parameters
Optional
config
:
AxiosRequestConfig
<
any
>
Returns
string
head
head
<
T
,
R
,
D
>
(
url
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
options
options
<
T
,
R
,
D
>
(
url
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
patch
patch
<
T
,
R
,
D
>
(
url
,
data
?
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
data
:
D
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
patch
Form
patch
Form
<
T
,
R
,
D
>
(
url
,
data
?
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
data
:
D
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
post
post
<
T
,
R
,
D
>
(
url
,
data
?
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
data
:
D
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
post
Form
post
Form
<
T
,
R
,
D
>
(
url
,
data
?
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
data
:
D
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
put
put
<
T
,
R
,
D
>
(
url
,
data
?
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
data
:
D
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
put
Form
put
Form
<
T
,
R
,
D
>
(
url
,
data
?
,
config
?
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
url
:
string
Optional
data
:
D
Optional
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
request
request
<
T
,
R
,
D
>
(
config
)
:
Promise
<
R
>
Type Parameters
T
=
any
R
=
AxiosResponse
<
T
,
any
>
D
=
any
Parameters
config
:
AxiosRequestConfig
<
D
>
Returns
Promise
<
R
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
defaults
interceptors
Methods
delete
get
get
Uri
head
options
patch
patch
Form
post
post
Form
put
put
Form
request
@64bitlabs/frappe-javascript-sdk
Loading...