Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / license / license.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xdec1=['moment','request-promise','path','rimraf','./license.attributes','exports','define','license','lodash','../../config/logger','api'];(function(_0x20beae,_0x5eac6d){var _0xf5725=function(_0x926a3b){while(--_0x926a3b){_0x20beae['push'](_0x20beae['shift']());}};_0xf5725(++_0x5eac6d);}(_0xdec1,0x105));var _0x1dec=function(_0x25fd84,_0x5d88cd){_0x25fd84=_0x25fd84-0x0;var _0xa4f9cc=_0xdec1[_0x25fd84];return _0xa4f9cc;};'use strict';var _=require(_0x1dec('0x0'));var util=require('util');var logger=require(_0x1dec('0x1'))(_0x1dec('0x2'));var moment=require(_0x1dec('0x3'));var BPromise=require('bluebird');var rp=require(_0x1dec('0x4'));var fs=require('fs');var path=require(_0x1dec('0x5'));var rimraf=require(_0x1dec('0x6'));var config=require('../../config/environment');var attributes=require(_0x1dec('0x7'));module[_0x1dec('0x8')]=function(_0x5b842b,_0x345cab){return _0x5b842b[_0x1dec('0x9')]('License',attributes,{'tableName':_0x1dec('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};