Built motion from commit (unavailable).|2.5.19
[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 _0x09f1=['request-promise','path','rimraf','../../config/environment','./license.attributes','exports','define','License','license','lodash','util','api','moment','bluebird'];(function(_0x54bac5,_0x8d3a16){var _0xc15971=function(_0x254653){while(--_0x254653){_0x54bac5['push'](_0x54bac5['shift']());}};_0xc15971(++_0x8d3a16);}(_0x09f1,0xbf));var _0x109f=function(_0x7d07d1,_0x1ac1ec){_0x7d07d1=_0x7d07d1-0x0;var _0x2df2a9=_0x09f1[_0x7d07d1];return _0x2df2a9;};'use strict';var _=require(_0x109f('0x0'));var util=require(_0x109f('0x1'));var logger=require('../../config/logger')(_0x109f('0x2'));var moment=require(_0x109f('0x3'));var BPromise=require(_0x109f('0x4'));var rp=require(_0x109f('0x5'));var fs=require('fs');var path=require(_0x109f('0x6'));var rimraf=require(_0x109f('0x7'));var config=require(_0x109f('0x8'));var attributes=require(_0x109f('0x9'));module[_0x109f('0xa')]=function(_0x1f4956,_0x4d7acd){return _0x1f4956[_0x109f('0xb')](_0x109f('0xc'),attributes,{'tableName':_0x109f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};