@harishreddym/baqend
Version:
Baqend JavaScript SDK
1,018 lines (801 loc) • 36 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>Baqend JavaScript SDK 2.14.1 - Source: lib/connector/Message.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/bootstrap-baqend.min.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
<link type="text/css" rel="stylesheet" href="styles/font-awesome-4.7.0.css">
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="navbar-inner container">
<!-- Collapsed navigation -->
<div class="navbar-header">
<!-- Expander button -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- Main title -->
<a class="navbar-brand" href="/"><img src="img/logo.png"></a>
</div>
<!-- Expanded navigation -->
<div id="nav" class="navbar-collapse collapse">
<!-- Search -->
<form class="navbar-right form-inline search-form">
<div class="form-group search-form-group">
<input type="search" class="form-control search-input" id="search-query" placeholder="Search Guide" name="q" autocomplete="off">
<div id="search-results" class="search-results">
<p class="search-no-results">Please enter a search query ...</p>
</div>
<i class="search-icon fa fa-search"></i>
</div>
</form>
<!-- Main navigation -->
<ul class="nav navbar-nav">
<li>
<a href="https://dashboard.baqend.com/">Dashboard</a>
</li>
<!-- Guide Navigation -->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Guide <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="https://www.baqend.com/guide/">Home</a></li>
<li><a href="https://www.baqend.com/guide/#speed-kit">Speed Kit</a></li>
<li><a href="https://www.baqend.com/guide/#platform">Platform</a></li>
<li><a href="https://www.baqend.com/guide/roadmap/">Roadmap</a></li>
<li><a href="https://www.baqend.com/guide/topics/faq/">FAQ</a></li>
</ul>
</li>
<!-- Starter Kits -->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Starter Kits <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="https://www.baqend.com/guide/starter-kits/">Starter Kits Overview</a></li>
<li><a href="https://www.baqend.com/guide/starter-kits/angular2/">Angular 2 Starter Kit</a></li>
<li><a href="https://www.baqend.com/guide/starter-kits/react/">React and Redux Starter Kit</a></li>
<li><a href="https://www.baqend.com/guide/starter-kits/bootstrap/">Bootstrap Starter Kit</a></li>
<li><a href="https://www.baqend.com/guide/starter-kits/ionic2/">Ionic 2 Starter Kit</a></li>
<li><a href="https://www.baqend.com/guide/starter-kits/ionic/">Ionic Starter Kit</a></li>
</ul>
</li>
<li class="active">
<a href="baqend.html">JS API</a>
</li>
<li>
<a href="https://www.baqend.com/tutorial.html">Tutorial</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="box gray pt-32 pb-32">
<div class="container">
<div class="row">
<!-- <div class="col-md-3"></div> -->
<div class="bs-sidebar hidden-print fixed affix" role="complementary">
<input class="filter form-control input-sm" type="text" placeholder="FILTER"/>
<ul class="nav bs-sidenav">
<li class=""><a href="Acl.html" class="nav-name">Acl</a></li>
<li class=""><a href="EntityManager.html" class="nav-name">EntityManager</a></li>
<li class=""><a href="EntityManagerFactory.html" class="nav-name">EntityManagerFactory</a></li>
<li class=""><a href="GeoPoint.html" class="nav-name">GeoPoint</a></li>
<li class=""><a href="RealtimeEvent.html" class="nav-name">RealtimeEvent</a></li>
<li class=""><a href="baqend.html" class="nav-name">baqend</a></li>
<li class="">
<a href="binding.html" class="nav-name">binding</a>
<ul class="nav">
<li class=""><a href="binding.Accessor.html" class="nav-name">Accessor</a></li>
<li class=""><a href="binding.DeviceFactory.html" class="nav-name">DeviceFactory</a></li>
<li class=""><a href="binding.Enhancer.html" class="nav-name">Enhancer</a></li>
<li class=""><a href="binding.Entity.html" class="nav-name">Entity</a></li>
<li class=""><a href="binding.EntityFactory.html" class="nav-name">EntityFactory</a></li>
<li class=""><a href="binding.Factory.html" class="nav-name">Factory</a></li>
<li class=""><a href="binding.File.html" class="nav-name">File</a></li>
<li class=""><a href="binding.FileFactory.html" class="nav-name">FileFactory</a></li>
<li class=""><a href="binding.Managed.html" class="nav-name">Managed</a></li>
<li class=""><a href="binding.ManagedFactory.html" class="nav-name">ManagedFactory</a></li>
<li class=""><a href="binding.Role.html" class="nav-name">Role</a></li>
<li class=""><a href="binding.User.html" class="nav-name">User</a></li>
<li class=""><a href="binding.UserFactory.html" class="nav-name">UserFactory</a></li>
</ul>
</li>
<li class="">
<a href="caching.html" class="nav-name">caching</a>
<ul class="nav">
<li class=""><a href="caching.BloomFilter.html" class="nav-name">BloomFilter</a></li>
</ul>
</li>
<li class="">
<a href="connector.html" class="nav-name">connector</a>
<ul class="nav">
<li class=""><a href="connector.Connector.html" class="nav-name">Connector</a></li>
<li class=""><a href="connector.FetchConnector.html" class="nav-name">FetchConnector</a></li>
<li class=""><a href="connector.IFrameConnector.html" class="nav-name">IFrameConnector</a></li>
<li class=""><a href="connector.Message.html" class="nav-name">Message</a></li>
<li class=""><a href="connector.NodeConnector.html" class="nav-name">NodeConnector</a></li>
<li class=""><a href="connector.ObservableStream.html" class="nav-name">ObservableStream</a></li>
<li class=""><a href="connector.WebSocketConnector.html" class="nav-name">WebSocketConnector</a></li>
<li class=""><a href="connector.XMLHttpConnector.html" class="nav-name">XMLHttpConnector</a></li>
<li class=""><a href="connector.ChannelMessage.html" class="nav-name">ChannelMessage</a></li>
</ul>
</li>
<li class="">
<a href="error.html" class="nav-name">error</a>
<ul class="nav">
<li class=""><a href="error.CommunicationError.html" class="nav-name">CommunicationError</a></li>
<li class=""><a href="error.EntityExistsError.html" class="nav-name">EntityExistsError</a></li>
<li class=""><a href="error.IllegalEntityError.html" class="nav-name">IllegalEntityError</a></li>
<li class=""><a href="error.PersistentError.html" class="nav-name">PersistentError</a></li>
<li class=""><a href="error.RollbackError.html" class="nav-name">RollbackError</a></li>
</ul>
</li>
<li class="">
<a href="metamodel.html" class="nav-name">metamodel</a>
<ul class="nav">
<li class=""><a href="metamodel.Attribute.html" class="nav-name">Attribute</a></li>
<li class=""><a href="metamodel.BasicType.html" class="nav-name">BasicType</a></li>
<li class=""><a href="metamodel.CollectionAttribute.html" class="nav-name">CollectionAttribute</a></li>
<li class=""><a href="metamodel.DbIndex.html" class="nav-name">DbIndex</a></li>
<li class=""><a href="metamodel.EmbeddableType.html" class="nav-name">EmbeddableType</a></li>
<li class=""><a href="metamodel.EntityType.html" class="nav-name">EntityType</a></li>
<li class=""><a href="metamodel.ListAttribute.html" class="nav-name">ListAttribute</a></li>
<li class=""><a href="metamodel.ManagedType.html" class="nav-name">ManagedType</a></li>
<li class=""><a href="metamodel.MapAttribute.html" class="nav-name">MapAttribute</a></li>
<li class=""><a href="metamodel.Metamodel.html" class="nav-name">Metamodel</a></li>
<li class=""><a href="metamodel.ModelBuilder.html" class="nav-name">ModelBuilder</a></li>
<li class=""><a href="metamodel.PluralAttribute.html" class="nav-name">PluralAttribute</a></li>
<li class=""><a href="metamodel.SetAttribute.html" class="nav-name">SetAttribute</a></li>
<li class=""><a href="metamodel.SingularAttribute.html" class="nav-name">SingularAttribute</a></li>
<li class=""><a href="metamodel.Type.html" class="nav-name">Type</a></li>
</ul>
</li>
<li class="">
<a href="model.html" class="nav-name">model</a>
<ul class="nav">
<li class=""><a href="model.Device.html" class="nav-name">Device</a></li>
<li class=""><a href="model.Role.html" class="nav-name">Role</a></li>
<li class=""><a href="model.User.html" class="nav-name">User</a></li>
</ul>
</li>
<li class="">
<a href="partialupdate.html" class="nav-name">partialupdate</a>
<ul class="nav">
<li class=""><a href="partialupdate.EntityPartialUpdateBuilder.html" class="nav-name">EntityPartialUpdateBuilder</a></li>
<li class=""><a href="partialupdate.PartialUpdateBuilder.html" class="nav-name">PartialUpdateBuilder</a></li>
<li class=""><a href="partialupdate.UpdateOperation.html" class="nav-name">UpdateOperation</a></li>
</ul>
</li>
<li class="">
<a href="query.html" class="nav-name">query</a>
<ul class="nav">
<li class=""><a href="query.Builder.html" class="nav-name">Builder</a></li>
<li class=""><a href="query.Filter.html" class="nav-name">Filter</a></li>
<li class=""><a href="query.Node.html" class="nav-name">Node</a></li>
<li class=""><a href="query.Operator.html" class="nav-name">Operator</a></li>
<li class=""><a href="query.Query.html" class="nav-name">Query</a></li>
<li class=""><a href="query.Stream.html" class="nav-name">Stream</a></li>
<li class=""><a href="query.Condition.html" class="nav-name">Condition</a></li>
</ul>
</li>
<li class="">
<a href="util.html" class="nav-name">util</a>
<ul class="nav">
<li class=""><a href="util.Code.html" class="nav-name">Code</a></li>
<li class=""><a href="util.Lockable.html" class="nav-name">Lockable</a></li>
<li class=""><a href="util.Logger.html" class="nav-name">Logger</a></li>
<li class=""><a href="util.Metadata.html" class="nav-name">Metadata</a></li>
<li class=""><a href="util.Modules.html" class="nav-name">Modules</a></li>
<li class=""><a href="util.Permission.html" class="nav-name">Permission</a></li>
<li class=""><a href="util.PushMessage.html" class="nav-name">PushMessage</a></li>
<li class=""><a href="util.TokenStorage.html" class="nav-name">TokenStorage</a></li>
<li class=""><a href="util.ValidationResult.html" class="nav-name">ValidationResult</a></li>
<li class=""><a href="util.Validator.html" class="nav-name">Validator</a></li>
<li class=""><a href="util.TokenStorageFactory.html" class="nav-name">TokenStorageFactory</a></li>
</ul>
</li>
</ul>
</div>
<div class="col-md-12" id="main">
<div class="content">
<h1 class="page-title">Source: lib/connector/Message.js</h1>
<section>
<article>
<pre class="prettyprint source linenums"><code>'use strict';
const CommunicationError = require('../error/CommunicationError');
/**
* Checks whether the user uses a browser which does support revalidation.
*/
const REVALIDATION_SUPPORTED = typeof navigator === 'undefined' || (typeof chrome !== 'undefined' && /google/i.test(navigator.vendor)) || (/cros i686/i.test(navigator.platform));
/**
* @typedef {'json'|'text'|'blob'|'buffer'|'arraybuffer'|'data-url'|'form'} EntityType
*/
const RESPONSE_TYPE = Symbol('ResponseType');
/**
* @alias connector.Message
*/
class Message {
/**
* Creates a new message class with the given message specification
* @param {Object} specification
* @return {Class<Message>}
*/
static create(specification) {
const parts = specification.path.split('?');
const path = parts[0].split(/[:*]\w*/);
const query = [];
if (parts[1]) {
parts[1].split('&').forEach((arg) => {
const part = arg.split('=');
query.push(part[0]);
});
}
specification.dynamic = specification.path.indexOf('*') !== -1;
specification.path = path;
specification.query = query;
return class extends Message {
get spec() {
return specification;
}
};
}
/**
* Creates a new message class with the given message specification and a full path
* @param {Object} specification
* @param {Object} members additional members applied to the created message
* @return {Class<Message>}
*/
static createExternal(specification, members) {
specification.path = [specification.path];
/**
* @ignore
*/
const cls = class extends Message {
get spec() {
return specification;
}
};
Object.assign(cls.prototype, members);
return cls;
}
get isBinary() {
return this.request.type in Message.BINARY || this[RESPONSE_TYPE] in Message.BINARY;
}
/**
* @param {string} arguments... The path arguments
*/
constructor() {
/** @type boolean */
this.withCredentials = false;
/** @type util.TokenStorage */
this.tokenStorage = null;
/** @type connector.Message~progressCallback */
this.progressCallback = null;
const args = arguments;
let index = 0;
let path = this.spec.path;
if (Object(path) instanceof Array) {
path = this.spec.path[0];
const len = this.spec.path.length;
for (let i = 1; i < len; i += 1) {
if (this.spec.dynamic && len - 1 === i) {
path += args[index].split('/').map(encodeURIComponent).join('/');
} else {
path += encodeURIComponent(args[index]) + this.spec.path[i];
}
index += 1;
}
}
let query = '';
for (let i = 0; i < this.spec.query.length; i += 1) {
const arg = args[index];
index += 1;
if (arg !== undefined && arg !== null) {
query += (query || path.indexOf('?') !== -1) ? '&' : '?';
query += this.spec.query[i] + '=' + encodeURIComponent(arg);
}
}
this.request = {
method: this.spec.method,
path: path + query,
entity: null,
headers: {},
};
if (args[index]) {
this.entity(args[index], 'json');
}
this.responseType('json');
}
/**
* Gets the value of a the specified request header
* @param {string} name The header name
* @return {string} The header value
* @name header
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the value of a the specified request header
* @param {string} name The header name
* @param {string} value The header value if omitted the value will be returned
* @return {this} This message object
*/
header(name, value) {
if (value !== undefined) {
this.request.headers[name] = value;
return this;
}
return this.request.headers[name];
}
/**
* Sets the entity type
* @param {*} data The data to send
* @param {EntityType} [type="json"] the type of the data one of 'json'|'text'|'blob'|'arraybuffer' defaults to 'json'
* @return {this} This message object
*/
entity(data, type) {
let requestType = type;
if (!requestType) {
if (typeof data === 'string') {
if (/^data:(.+?)(;base64)?,.*$/.test(data)) {
requestType = 'data-url';
} else {
requestType = 'text';
}
} else if (typeof Blob !== 'undefined' && data instanceof Blob) {
requestType = 'blob';
} else if (typeof Buffer !== 'undefined' && data instanceof Buffer) {
requestType = 'buffer';
} else if (typeof ArrayBuffer !== 'undefined' && data instanceof ArrayBuffer) {
requestType = 'arraybuffer';
} else if (typeof FormData !== 'undefined' && data instanceof FormData) {
requestType = 'form';
} else {
requestType = 'json';
}
}
this.request.type = requestType;
this.request.entity = data;
return this;
}
/**
* Get the mimeType
* @return {string} This message object
* @name mimeType
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the mimeType
* @param {string} mimeType the mimeType of the data
* @return {this} This message object
*/
mimeType(mimeType) {
return this.header('content-type', mimeType);
}
/**
* Gets the contentLength
* @return {number}
* @name contentLength
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the contentLength
* @param {number} contentLength the content length of the data
* @return {this} This message object
*/
contentLength(contentLength) {
return this.header('content-length', contentLength);
}
/**
* Gets the request conditional If-Match header
* @return {string} This message object
* @name ifMatch
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the request conditional If-Match header
* @param {string} eTag the If-Match ETag value
* @return {this} This message object
*/
ifMatch(eTag) {
return this.header('If-Match', this.formatETag(eTag));
}
/**
* Gets the request a ETag based conditional header
* @return {string}
* @name ifNoneMatch
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the request a ETag based conditional header
* @param {string} eTag The ETag value
* @return {this} This message object
*/
ifNoneMatch(eTag) {
return this.header('If-None-Match', this.formatETag(eTag));
}
/**
* Gets the request date based conditional header
* @return {string} This message object
* @name ifUnmodifiedSince
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the request date based conditional header
* @param {Date} date The date value
* @return {this} This message object
*/
ifUnmodifiedSince(date) {
// IE 10 returns UTC strings and not an RFC-1123 GMT date string
return this.header('if-unmodified-since', date && date.toUTCString().replace('UTC', 'GMT'));
}
/**
* Indicates that the request should not be served by a local cache
* @return {this}
*/
noCache() {
if (!REVALIDATION_SUPPORTED) {
this.ifMatch('') // is needed for firefox or safari (but forbidden for chrome)
.ifNoneMatch('-'); // is needed for edge and ie (but forbidden for chrome)
}
return this.cacheControl('max-age=0, no-cache');
}
/**
* Gets the cache control header
* @return {string}
* @name cacheControl
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the cache control header
* @param {string} value The cache control flags
* @return {this} This message object
*/
cacheControl(value) {
return this.header('cache-control', value);
}
/**
* Gets the ACL of a file into the Baqend-Acl header
* @return {string} This message object
* @name acl
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets and encodes the ACL of a file into the Baqend-Acl header
* @param {Acl} acl the file ACLs
* @return {this} This message object
*/
acl(acl) {
return this.header('baqend-acl', acl && JSON.stringify(acl));
}
/**
* Gets and encodes the custom headers of a file into the Baqend-Custom-Headers header
* @return {string} This message object
* @name customHeaders
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets and encodes the custom headers of a file into the Baqend-Custom-Headers header
* @param {*} customHeaders the file custom headers
* @return {this} This message object
*/
customHeaders(customHeaders) {
return this.header('baqend-custom-headers', customHeaders && JSON.stringify(customHeaders));
}
/**
* Gets the request accept header
* @return {string} This message object
* @name accept
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the request accept header
* @param {string} accept the accept header value
* @return {this} This message object
*/
accept(accept) {
return this.header('accept', accept);
}
/**
* Gets the response type which should be returned
* @return {string} This message object
* @name responseType
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the response type which should be returned
* @param {string} type The response type one of 'json'|'text'|'blob'|'arraybuffer' defaults to 'json'
* @return {this} This message object
*/
responseType(type) {
if (type !== undefined) {
this[RESPONSE_TYPE] = type;
return this;
}
return this[RESPONSE_TYPE];
}
/**
* Gets the progress callback
* @return {connector.Message~progressCallback} The callback set
* @name progress
* @memberOf connector.Message.prototype
* @method
*/
/**
* Sets the progress callback
* @param {connector.Message~progressCallback} callback
* @return {this} This message object
*/
progress(callback) {
if (callback !== undefined) {
this.progressCallback = callback;
return this;
}
return this.progressCallback;
}
/**
* Adds the given string to the request path
*
* If the parameter is an object, it will be serialized as a query string.
*
* @param {string|Object<string,string>} query which will added to the request path
* @return {this}
*/
addQueryString(query) {
if (Object(query) instanceof String) {
this.request.path += query;
return this;
}
if (query) {
let sep = this.request.path.indexOf('?') >= 0 ? '&' : '?';
Object.keys(query).forEach((key) => {
this.request.path += sep + key + '=' + encodeURIComponent(query[key]);
sep = '&';
});
}
return this;
}
formatETag(eTag) {
let tag = eTag;
if (tag && tag !== '*') {
tag = '' + tag;
if (tag.indexOf('"') === -1) {
tag = '"' + tag + '"';
}
}
return tag;
}
/**
* Handle the receive
* @param {Object} response The received response headers and data
* @return {void}
*/
doReceive(response) {
if (this.spec.status.indexOf(response.status) === -1) {
throw new CommunicationError(this, response);
}
}
}
/**
* The message specification
* @name spec
* @memberOf connector.Message.prototype
* @type {Object}
*/
Object.assign(Message, {
/**
* @alias connector.Message.StatusCode
* @enum {number}
*/
StatusCode: {
NOT_MODIFIED: 304,
BAD_CREDENTIALS: 460,
BUCKET_NOT_FOUND: 461,
INVALID_PERMISSION_MODIFICATION: 462,
INVALID_TYPE_VALUE: 463,
OBJECT_NOT_FOUND: 404,
OBJECT_OUT_OF_DATE: 412,
PERMISSION_DENIED: 466,
QUERY_DISPOSED: 467,
QUERY_NOT_SUPPORTED: 468,
SCHEMA_NOT_COMPATIBLE: 469,
SCHEMA_STILL_EXISTS: 470,
SYNTAX_ERROR: 471,
TRANSACTION_INACTIVE: 472,
TYPE_ALREADY_EXISTS: 473,
TYPE_STILL_REFERENCED: 474,
SCRIPT_ABORTION: 475,
},
BINARY: {
blob: true,
buffer: true,
stream: true,
arraybuffer: true,
'data-url': true,
base64: true,
},
GoogleOAuth: Message.createExternal({
method: 'OAUTH',
path: 'https://accounts.google.com/o/oauth2/auth?response_type=code&access_type=online',
query: ['client_id', 'scope', 'state'],
status: [200],
}, {
addRedirectOrigin(baseUri) {
this.addQueryString({
redirect_uri: baseUri + '/db/User/OAuth/google',
});
},
}),
FacebookOAuth: Message.createExternal({
method: 'OAUTH',
path: 'https://www.facebook.com/dialog/oauth?response_type=code',
query: ['client_id', 'scope', 'state'],
status: [200],
}, {
addRedirectOrigin(baseUri) {
this.addQueryString({
redirect_uri: baseUri + '/db/User/OAuth/facebook',
});
},
}),
GitHubOAuth: Message.createExternal({
method: 'OAUTH',
path: 'https://github.com/login/oauth/authorize?response_type=code&access_type=online',
query: ['client_id', 'scope', 'state'],
status: [200],
}, {
addRedirectOrigin(baseUri) {
this.addQueryString({
redirect_uri: baseUri + '/db/User/OAuth/github',
});
},
}),
LinkedInOAuth: Message.createExternal({
method: 'OAUTH',
path: 'https://www.linkedin.com/uas/oauth2/authorization?response_type=code&access_type=online',
query: ['client_id', 'scope', 'state'],
status: [200],
}, {
addRedirectOrigin(baseUri) {
this.addQueryString({
redirect_uri: baseUri + '/db/User/OAuth/linkedin',
});
},
}),
TwitterOAuth: Message.createExternal({
method: 'OAUTH',
path: '',
query: [],
status: [200],
}, {
addRedirectOrigin(baseUri) {
this.request.path = baseUri + '/db/User/OAuth1/twitter';
},
}),
});
module.exports = Message;
/**
* The progress callback is called, when you send a message to the server and a progress is noticed
* @callback connector.Message~progressCallback
* @param {ProgressEvent} event The Progress Event
* @return {*} unused
*/
</code></pre>
</article>
</section>
<!-- <footer>
<strong>Baqend JavaScript SDK 2.14.1</strong><br>
© 2019 Baqend GmbH<br>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun, 06 Jan 2019 05:00:21 GMT
</footer> -->
</div>
</div>
</div>
</div>
</div>
<div id="footer" style="position:relative; z-index:1;">
<div class="container">
<div class="row">
<div class="col-xs-6 col-sm-3 sitemap">
<h4>Product</h4>
<a href="https://www.baqend.com/platform.html">Platform</a>
<a href="https://www.baqend.com/speedkit.html">Speed Kit</a>
<a href="https://www.baqend.com/features.html">Features</a>
<a href="https://www.baqend.com/pricing.html">Platform Pricing</a>
<a href="https://www.baqend.com/pricing_speedkit.html">Speed Kit Pricing</a>
<a href="https://www.baqend.com/agencies.html">Agencies</a>
<a href="https://www.baqend.com/enterprise.html">Enterprise</a>
<a href="https://www.baqend.com/features.html#download">Community Edition</a>
<a href="https://www.baqend.com/support.html">Support</a>
</div>
<div class="col-xs-6 col-sm-3 sitemap">
<h4>Company</h4>
<a href="https://www.baqend.com/about.html">About us</a>
<a href="https://medium.baqend.com">Baqend Blog</a>
<a href="https://www.baqend.com/hiring.html">Jobs</a>
<a href="https://www.baqend.com/press.html">Press</a>
<a href="https://thesis.app.baqend.com/">Bachelor/Master theses</a>
<a href="https://www.weblabs.hamburg/">WebLabs.Hamburg</a>
</div>
<div class="col-xs-6 col-sm-3 sitemap">
<h4>Developer</h4>
<a href="https://dashboard.baqend.com/login">Login</a>
<a href="https://dashboard.baqend.com/register">Sign Up</a>
<a href="https://www.baqend.com/guide">Developer Docs</a>
<a href="https://www.baqend.com/guide/roadmap/">Roadmap</a>
<a href="https://www.baqend.com/guide/starter-kits">Starter Kits</a>
<a href="https://www.baqend.com/js-sdk/latest/baqend.html">JS SDK</a>
<a href="https://stackoverflow.com/questions/tagged/baqend/">Stackoverflow</a>
</div>
<div class="col-xs-6 col-sm-3 contact">
<h4>Contact</h4>
<p class="contact-information">
<span>
Baqend GmbH<br />
Stresemannstr. 23<br />
22769 Hamburg<br />
Germany
</span>
</p>
<p class="contact-information">
Email: <a style="display: inline-block" href="mailto:support@baqend.com">support@baqend.com</a>
</p>
<p class="contact-information">
Tel: <a style="display: inline-block" href="tel:+494060940539">+49 40 60940539</a>
</p>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center social">
<a href="https://twitter.com/baqendcom"><i class="fa fa-twitter fa-fw"></i></a>
<a href="https://github.com/Baqend"><i class="fa fa-github fa-fw"></i></a>
<a href="https://medium.baqend.com/"><i class="fa fa-medium fa-fw"></i></a>
<a href="https://www.facebook.com/baqend"><i class="fa fa-facebook fa-fw"></i></a>
<a href="https://www.youtube.com/channel/UCsImg6Ts8UEp6-7LE9CP2-Q"><i class="fa fa-youtube fa-fw"></i></a>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="legal text-center">
<div>
<strong>Baqend JavaScript SDK 2.14.1</strong><br>
© 2019 Baqend GmbH<br>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun, 06 Jan 2019 05:00:21 GMT
</div>
<a href="mailto:info@baqend.com">Contact</a> -
<a href="https://dashboard.baqend.com/privacy">Privacy Policy</a> -
<a href="https://dashboard.baqend.com/terms">Terms of Service</a> -
<a href="https://dashboard.baqend.com/imprint">Imprint</a>
</div>
</div>
</footer>
</div>
<script> prettyPrint(); </script>
<script src="https://code.jquery.com/jquery-1.12.1.min.js"></script>
<script src="scripts/bootstrap.min.js"> </script>
<script src="scripts/linenumber.js"> </script>
<script src="scripts/filter.js"> </script>
<script data-main="scripts/search.js" src="scripts/require.js"></script>
</body>
</html>