@midia-simples/simetra-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Titulo
constructor
cadastrar
call
Api
consulta
download
process
Response
quitar
Hierarchy
Resource
Titulo
Index
Constructors
constructor
Methods
cadastrar
call
Api
consulta
download
process
Response
quitar
Constructors
constructor
new
Titulo
(
config
:
IConfig
)
:
Titulo
Parameters
config:
IConfig
Returns
Titulo
Methods
cadastrar
cadastrar
(
__namedParameters
:
{
COD_CNTR
:
string
;
DAT_VENC
:
string
;
FORMA_DE_PAGAMENTO
:
string
;
TIPO_DE_COBRANCA
:
string
;
VLR_TOTAL
:
string
}
)
:
Promise
<
ITituloCadastrarResponse
|
any
>
Parameters
__namedParameters:
{
COD_CNTR
:
string
;
DAT_VENC
:
string
;
FORMA_DE_PAGAMENTO
:
string
;
TIPO_DE_COBRANCA
:
string
;
VLR_TOTAL
:
string
}
COD_
CNTR
:
string
DAT_
VENC
:
string
FORMA_
DE_
PAGAMENTO
:
string
TIPO_
DE_
COBRANCA
:
string
VLR_
TOTAL
:
string
Returns
Promise
<
ITituloCadastrarResponse
|
any
>
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
:
{
COD_CLIE
:
string
;
COD_CNTR
:
string
;
COD_CNTR_TITL
:
string
;
COD_STAT_TITL
:
string
;
DAT_RECEB_FINAL
:
string
;
DAT_RECEB_INICIAL
:
string
;
DAT_VENC_FINAL
:
string
;
DAT_VENC_INICIAL
:
string
}
)
:
Promise
<
ITituloConsultaResponse
|
any
>
Parameters
__namedParameters:
{
COD_CLIE
:
string
;
COD_CNTR
:
string
;
COD_CNTR_TITL
:
string
;
COD_STAT_TITL
:
string
;
DAT_RECEB_FINAL
:
string
;
DAT_RECEB_INICIAL
:
string
;
DAT_VENC_FINAL
:
string
;
DAT_VENC_INICIAL
:
string
}
COD_
CLIE
:
string
COD_
CNTR
:
string
COD_
CNTR_
TITL
:
string
COD_
STAT_
TITL
:
string
DAT_
RECEB_
FINAL
:
string
DAT_
RECEB_
INICIAL
:
string
DAT_
VENC_
FINAL
:
string
DAT_
VENC_
INICIAL
:
string
Returns
Promise
<
ITituloConsultaResponse
|
any
>
download
download
(
__namedParameters
:
{
COD_ARQ_DOC
:
string
;
COD_CNTR_TITL
:
string
}
)
:
Promise
<
ITituloDownloadResponse
|
any
>
Parameters
__namedParameters:
{
COD_ARQ_DOC
:
string
;
COD_CNTR_TITL
:
string
}
COD_
ARQ_
DOC
:
string
COD_
CNTR_
TITL
:
string
Returns
Promise
<
ITituloDownloadResponse
|
any
>
Protected
process
Response
process
Response
(
response
:
IApiResponse
)
:
IApiResponse
Parameters
response:
IApiResponse
Returns
IApiResponse
quitar
quitar
(
__namedParameters
:
{
COD_CNTR
:
string
;
COD_CNTR_TITL
:
string
;
DAT_RECEB
:
string
;
VLR_RECEB
:
string
}
)
:
Promise
<
ITituloQuitarResponse
|
any
>
Parameters
__namedParameters:
{
COD_CNTR
:
string
;
COD_CNTR_TITL
:
string
;
DAT_RECEB
:
string
;
VLR_RECEB
:
string
}
COD_
CNTR
:
string
COD_
CNTR_
TITL
:
string
DAT_
RECEB
:
string
VLR_
RECEB
:
string
Returns
Promise
<
ITituloQuitarResponse
|
any
>
Generated using
TypeDoc