Search
Preparing search index...
The search index is not available
sygic-travel-js-sdk
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"Trip/DataAccess"
External module "Trip/DataAccess"
Index
Variables
UPDATE_
TIMEOUT
trip
Data
ToSend
update
Timeouts
Functions
apply
Trip
Template
clone
Trip
create
Trip
delete
Trip
From
Cache
empty
Trips
Trash
get
Trip
Detailed
get
Trip
From
Api
get
Trip
Templates
get
Trips
get
Trips
InTrash
handle
Ignored
Conflict
is
Trip
InCache
put
Trip
ToApi
should
Notify
OnTrip
Update
update
Trip
Variables
UPDATE_
TIMEOUT
UPDATE_
TIMEOUT
:
number
= 3000
trip
Data
ToSend
trip
Data
ToSend
:
object
Type declaration
update
Timeouts
update
Timeouts
:
object
Type declaration
Functions
apply
Trip
Template
apply
Trip
Template
(
tripId
:
string
, templateId
:
number
, dayIndex
:
number
)
:
Promise
<
Trip
>
Parameters
tripId:
string
templateId:
number
dayIndex:
number
Returns
Promise
<
Trip
>
clone
Trip
clone
Trip
(
id
:
string
)
:
Promise
<
string
>
Parameters
id:
string
Returns
Promise
<
string
>
create
Trip
create
Trip
(
tripRequest
:
TripCreateRequest
)
:
Promise
<
Trip
>
Parameters
tripRequest:
TripCreateRequest
Returns
Promise
<
Trip
>
delete
Trip
From
Cache
delete
Trip
From
Cache
(
id
:
string
)
:
Promise
<
void
>
Parameters
id:
string
Returns
Promise
<
void
>
empty
Trips
Trash
empty
Trips
Trash
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
get
Trip
Detailed
get
Trip
Detailed
(
id
:
string
)
:
Promise
<
Trip
>
Parameters
id:
string
Returns
Promise
<
Trip
>
get
Trip
From
Api
get
Trip
From
Api
(
id
:
string
)
:
Promise
<
any
>
Parameters
id:
string
Returns
Promise
<
any
>
get
Trip
Templates
get
Trip
Templates
(
placeId
:
string
)
:
Promise
<
TripTemplate
[]
>
Parameters
placeId:
string
Returns
Promise
<
TripTemplate
[]
>
get
Trips
get
Trips
(
dateFrom
?:
string
|
null
, dateTo
?:
string
|
null
)
:
Promise
<
Trip
[]
>
Parameters
Optional
dateFrom:
string
|
null
Optional
dateTo:
string
|
null
Returns
Promise
<
Trip
[]
>
get
Trips
InTrash
get
Trips
InTrash
(
)
:
Promise
<
Trip
[]
>
Returns
Promise
<
Trip
[]
>
handle
Ignored
Conflict
handle
Ignored
Conflict
(
conflictInfo
:
TripConflictInfo
, tripToBeUpdated
:
Trip
, tripServerResponse
:
ApiResponse
)
:
Promise
<
void
>
Parameters
conflictInfo:
TripConflictInfo
tripToBeUpdated:
Trip
tripServerResponse:
ApiResponse
Returns
Promise
<
void
>
is
Trip
InCache
is
Trip
InCache
(
id
:
string
)
:
Promise
<
boolean
>
Parameters
id:
string
Returns
Promise
<
boolean
>
put
Trip
ToApi
put
Trip
ToApi
(
requestData
:
any
)
:
Promise
<
ApiResponse
>
Parameters
requestData:
any
Returns
Promise
<
ApiResponse
>
should
Notify
OnTrip
Update
should
Notify
OnTrip
Update
(
id
:
string
, version
:
number
|
null
)
:
Promise
<
boolean
>
Parameters
id:
string
version:
number
|
null
Returns
Promise
<
boolean
>
update
Trip
update
Trip
(
tripToBeUpdated
:
Trip
)
:
Promise
<
Trip
>
Parameters
tripToBeUpdated:
Trip
Returns
Promise
<
Trip
>
Globals
"
Trip/
Data
Access"
UPDATE_
TIMEOUT
trip
Data
ToSend
update
Timeouts
apply
Trip
Template
clone
Trip
create
Trip
delete
Trip
From
Cache
empty
Trips
Trash
get
Trip
Detailed
get
Trip
From
Api
get
Trip
Templates
get
Trips
get
Trips
InTrash
handle
Ignored
Conflict
is
Trip
InCache
put
Trip
ToApi
should
Notify
OnTrip
Update
update
Trip
Generated using
TypeDoc