@midia-simples/simetra-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Produto
constructor
call
Api
consulta
process
Response
Hierarchy
Resource
Produto
Index
Constructors
constructor
Methods
call
Api
consulta
process
Response
Constructors
constructor
new
Produto
(
config
:
IConfig
)
:
Produto
Parameters
config:
IConfig
Returns
Produto
Methods
Protected
call
Api
call
Api
(
__namedParameters
:
{
data
:
any
;
method
:
"get"
|
"GET"
|
"delete"
|
"DELETE"
|
"head"
|
"HEAD"
|
"options"
|
"OPTIONS"
|
"post"
|
"POST"
|
"put"
|
"PUT"
|
"patch"
|
"PATCH"
|
"link"
|
"LINK"
|
"unlink"
|
"UNLINK"
;
params
:
any
}
)
:
Promise
<
IApiResponse
>
Parameters
__namedParameters:
{
data
:
any
;
method
:
"get"
|
"GET"
|
"delete"
|
"DELETE"
|
"head"
|
"HEAD"
|
"options"
|
"OPTIONS"
|
"post"
|
"POST"
|
"put"
|
"PUT"
|
"patch"
|
"PATCH"
|
"link"
|
"LINK"
|
"unlink"
|
"UNLINK"
;
params
:
any
}
data
:
any
method
:
"get"
|
"GET"
|
"delete"
|
"DELETE"
|
"head"
|
"HEAD"
|
"options"
|
"OPTIONS"
|
"post"
|
"POST"
|
"put"
|
"PUT"
|
"patch"
|
"PATCH"
|
"link"
|
"LINK"
|
"unlink"
|
"UNLINK"
params
:
any
Returns
Promise
<
IApiResponse
>
consulta
consulta
(
__namedParameters
:
{
TIPO_PRODUTO
:
string
}
)
:
Promise
<
IProdutoConsultaResponse
|
any
>
Parameters
__namedParameters:
{
TIPO_PRODUTO
:
string
}
TIPO_
PRODUTO
:
string
Returns
Promise
<
IProdutoConsultaResponse
|
any
>
Protected
process
Response
process
Response
(
response
:
IApiResponse
)
:
IApiResponse
Parameters
response:
IApiResponse
Returns
IApiResponse
Generated using
TypeDoc