Preparing search index...
The search index is not available
app-hablla
app-hablla
api/SectorsApi
SectorsApi
Class SectorsApi
Hierarchy (
View Summary
)
HabllaAPIBuilderApi
SectorsApi
Index
Constructors
constructor
Properties
endpoint
error
workspace
Id
Methods
get
All
get
Sector
User
make
Request
make
Request
With
Data
params
To
String
set
Bearer
Token
validate
Workspace
Id
Constructors
constructor
new
SectorsApi
(
workspaceId
:
string
,
validateWorkspace
?:
boolean
)
:
SectorsApi
Parameters
workspaceId
:
string
Optional
validateWorkspace
:
boolean
Returns
SectorsApi
Properties
endpoint
endpoint
:
string
= ""
error
error
:
{
[
key
:
string
]:
Error
}
workspace
Id
workspaceId
:
string
Methods
get
All
getAll
(
params
?:
{
[
key
:
string
]:
string
}
,
)
:
Promise
<
IPaginatedData
<
WorkspaceSector
>
>
Parameters
Optional
params
:
{
[
key
:
string
]:
string
}
Returns
Promise
<
IPaginatedData
<
WorkspaceSector
>
>
get
Sector
User
getSectorUser
(
params
:
{
sector
:
string
}
)
:
Promise
<
UserSector
<
ISector
>
>
Parameters
params
:
{
sector
:
string
}
Returns
Promise
<
UserSector
<
ISector
>
>
getSectorUser
()
:
Promise
<
UserSector
<
string
>
>
Returns
Promise
<
UserSector
<
string
>
>
make
Request
makeRequest
<
ResponseData
=
any
>
(
method
:
"delete"
|
"get"
,
endpoint
:
string
,
config
?:
AxiosRequestConfig
,
)
:
Promise
<
AxiosResponse
<
ResponseData
>
>
Type Parameters
ResponseData
=
any
Parameters
method
:
"delete"
|
"get"
endpoint
:
string
Optional
config
:
AxiosRequestConfig
Returns
Promise
<
AxiosResponse
<
ResponseData
>
>
make
Request
With
Data
makeRequestWithData
<
ResponseData
=
any
,
CreateData
=
any
>
(
method
:
"post"
|
"put"
|
"patch"
,
endpoint
:
string
,
data
:
CreateData
,
config
?:
AxiosRequestConfig
,
)
:
Promise
<
AxiosResponse
<
ResponseData
>
>
Type Parameters
ResponseData
=
any
CreateData
=
any
Parameters
method
:
"post"
|
"put"
|
"patch"
endpoint
:
string
data
:
CreateData
Optional
config
:
AxiosRequestConfig
Returns
Promise
<
AxiosResponse
<
ResponseData
>
>
params
To
String
paramsToString
(
params
?:
{
[
key
:
string
]:
string
}
)
:
string
Parameters
Optional
params
:
{
[
key
:
string
]:
string
}
Returns
string
set
Bearer
Token
setBearerToken
(
token
:
string
)
:
void
Parameters
token
:
string
Returns
void
validate
Workspace
Id
validateWorkspaceId
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
endpoint
error
workspace
Id
Methods
get
All
get
Sector
User
make
Request
make
Request
With
Data
params
To
String
set
Bearer
Token
validate
Workspace
Id
app-hablla
Loading...