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
Interfaces
Changed
Trip
Variables
UPDATE_
TIMEOUT
change
Notification
Handler
changed
Trips
Functions
apply
Trip
Template
clone
Trip
create
Trip
delete
Trip
From
Cache
empty
Trips
Trash
get
Trip
Detailed
get
Trip
From
Api
get
Trip
Ids
Waiting
ToSync
get
Trip
Templates
get
Trips
get
Trips
InTrash
handle
Ignored
Conflict
is
Trip
InCache
put
Trip
ToApi
set
Trip
Updated
Notification
Handler
sync
Changed
Trip
ToServer
update
Older
Cached
Trip
update
Trip
Variables
UPDATE_
TIMEOUT
UPDATE_
TIMEOUT
:
number
= 10000
change
Notification
Handler
change
Notification
Handler
:
function
|
null
= null
changed
Trips
changed
Trips
:
Map
<
string
,
ChangedTrip
>
= new Map()
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
Ids
Waiting
ToSync
get
Trip
Ids
Waiting
ToSync
(
)
:
string
[]
Returns
string
[]
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
>
set
Trip
Updated
Notification
Handler
set
Trip
Updated
Notification
Handler
(
handler
:
function
|
null
)
:
void
Parameters
handler:
function
|
null
Returns
void
sync
Changed
Trip
ToServer
sync
Changed
Trip
ToServer
(
tripId
:
string
)
:
Promise
<
void
>
Parameters
tripId:
string
Returns
Promise
<
void
>
update
Older
Cached
Trip
update
Older
Cached
Trip
(
id
:
string
, version
:
number
)
:
Promise
<
boolean
>
Parameters
id:
string
version:
number
Returns
Promise
<
boolean
>
update
Trip
update
Trip
(
tripToBeUpdated
:
Trip
)
:
Promise
<
Trip
>
Parameters
tripToBeUpdated:
Trip
Returns
Promise
<
Trip
>
Globals
"
Trip/
Data
Access"
Changed
Trip
UPDATE_
TIMEOUT
change
Notification
Handler
changed
Trips
apply
Trip
Template
clone
Trip
create
Trip
delete
Trip
From
Cache
empty
Trips
Trash
get
Trip
Detailed
get
Trip
From
Api
get
Trip
Ids
Waiting
ToSync
get
Trip
Templates
get
Trips
get
Trips
InTrash
handle
Ignored
Conflict
is
Trip
InCache
put
Trip
ToApi
set
Trip
Updated
Notification
Handler
sync
Changed
Trip
ToServer
update
Older
Cached
Trip
update
Trip
Generated using
TypeDoc