Call information of addon
This class is used to get information about the call, the user, the book etc. and to operate with Kitsas Server.
Usually you get an instance of this class in the very first line of the route handlers.
Constructor for AddonCall
Request object from express
Private
Get the base URL of the service
Base URL of the service
Organization (book) businessId
businessId of the organization
Get connection to Kitsas Server
Connection to Kitsas Server
Delete notifications
Optional
Category of the notification (optional)
Get session stored custom data
Key of the data
Data or undefined if not found
Get the book object to interact with the book
Book object
Fetch data stored on the server
key of the data
data value
Read the log
Log entries
Is the addon active i.e. does it have rights
True if the addon is active
Get language of the call
Language code
Weite to the log
Status of the action
Log message
Additional data
Log information
List notifications
Notifications
Add a notify
Notification type
Title, in languages
Text, in languages
Category of the notification
Office businessId
Business id of the office
Office Id
Id of the office
Office name
Name of the office
Office type
Type of the office
Organization (book) Id
Id of the organization
Organization (book) name
Name of the organization
Add or replace notification with same type
Rights of this sessios
Rights of this session
Store data to the server
Store custom data to session
Data value
User email
Email of the user
User Id
Id of the user
Username
Name of the user
User rights
Rights of the user
Call information of addon
This class is used to get information about the call, the user, the book etc. and to operate with Kitsas Server.
Usually you get an instance of this class in the very first line of the route handlers.