Built motion from commit 449495f6.|2.6.27
[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 _0xfa4e=['exports','define','License','license','lodash','util','moment','bluebird','request-promise','rimraf','../../config/environment','./license.attributes'];(function(_0x120465,_0x1acee7){var _0x49992f=function(_0x2520c1){while(--_0x2520c1){_0x120465['push'](_0x120465['shift']());}};_0x49992f(++_0x1acee7);}(_0xfa4e,0x1d8));var _0xefa4=function(_0x2d9566,_0x1aa421){_0x2d9566=_0x2d9566-0x0;var _0x5ce511=_0xfa4e[_0x2d9566];return _0x5ce511;};'use strict';var _=require(_0xefa4('0x0'));var util=require(_0xefa4('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xefa4('0x2'));var BPromise=require(_0xefa4('0x3'));var rp=require(_0xefa4('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xefa4('0x5'));var config=require(_0xefa4('0x6'));var attributes=require(_0xefa4('0x7'));module[_0xefa4('0x8')]=function(_0x1f2349,_0xcbb7b1){return _0x1f2349[_0xefa4('0x9')](_0xefa4('0xa'),attributes,{'tableName':_0xefa4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};