Documentation
Preparing search index...
utils/BA/baseService
BaseService
Class BaseService
Index
Constructors
constructor
Properties
api
Key
controller
Path
name
Party
path
soap
Action
Methods
create
Request
create
Response
handle
Request
json
Body
send
XML
Request
send
File
To
Nextcloud
Constructors
constructor
new
BaseService
(
controllerPath
:
any
,
__namedParameters
:
{
path
:
any
;
soapAction
:
any
}
,
name
:
any
,
)
:
BaseService
Parameters
controllerPath
:
any
__namedParameters
:
{
path
:
any
;
soapAction
:
any
}
name
:
any
Returns
BaseService
Properties
api
Key
apiKey
:
string
controller
Path
controllerPath
:
any
name
name
:
any
Party
Party
:
{
Participants
:
{
Participant
:
{
AggregatorParticipant
:
{
_attributes
:
{
SequenceNumber
:
string
}
;
AggregatorID
:
string
;
Name
:
string
;
}
;
}
;
}
;
Sender
:
{
TravelAgencySender
:
{
AgencyID
:
any
;
Contacts
:
{
Contact
:
{
AddressContact
:
{
CityName
:
any
;
CountryCode
:
string
;
Street
:
any
}
;
EmailContact
:
{
Address
:
any
}
;
Name
:
{
Given
:
any
;
Surname
:
any
}
;
PhoneContact
:
{
Application
:
string
;
Number
:
any
}
;
}
;
}
;
IATA_Number
:
any
;
Name
:
any
;
}
;
}
;
}
path
path
:
any
soap
Action
soapAction
:
any
Methods
create
Request
createRequest
(
body
:
any
)
:
void
Parameters
body
:
any
Returns
void
create
Response
createResponse
(
json
:
any
)
:
void
Parameters
json
:
any
Returns
void
handle
Request
handleRequest
(
req
:
any
,
res
:
any
,
_next
:
any
)
:
Promise
<
void
>
Parameters
req
:
any
res
:
any
_next
:
any
Returns
Promise
<
void
>
json
Body
jsonBody
(
body
:
any
)
:
void
Parameters
body
:
any
Returns
void
send
XML
Request
sendXMLRequest
(
xml
:
any
)
:
Promise
<
any
>
Parameters
xml
:
any
Returns
Promise
<
any
>
Static
send
File
To
Nextcloud
sendFileToNextcloud
(
Party
:
any
,
data
:
any
,
route
:
any
,
type
:
any
,
request
?:
any
,
)
:
Promise
<
void
>
Parameters
Party
:
any
data
:
any
route
:
any
type
:
any
request
:
any
= data
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
api
Key
controller
Path
name
Party
path
soap
Action
Methods
create
Request
create
Response
handle
Request
json
Body
send
XML
Request
send
File
To
Nextcloud
Documentation
Loading...