Built motion from commit 9e1399f3.|2.5.37
[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 _0xaeaa=['path','rimraf','../../config/environment','./license.attributes','exports','define','License','util','../../config/logger','api','moment','bluebird'];(function(_0x20ba7c,_0x30c3b8){var _0x32a3f9=function(_0x5539ef){while(--_0x5539ef){_0x20ba7c['push'](_0x20ba7c['shift']());}};_0x32a3f9(++_0x30c3b8);}(_0xaeaa,0xdf));var _0xaaea=function(_0x3c74c7,_0x3517f3){_0x3c74c7=_0x3c74c7-0x0;var _0x17912a=_0xaeaa[_0x3c74c7];return _0x17912a;};'use strict';var _=require('lodash');var util=require(_0xaaea('0x0'));var logger=require(_0xaaea('0x1'))(_0xaaea('0x2'));var moment=require(_0xaaea('0x3'));var BPromise=require(_0xaaea('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xaaea('0x5'));var rimraf=require(_0xaaea('0x6'));var config=require(_0xaaea('0x7'));var attributes=require(_0xaaea('0x8'));module[_0xaaea('0x9')]=function(_0x5a8c1f,_0x53f274){return _0x5a8c1f[_0xaaea('0xa')](_0xaaea('0xb'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};