Built motion from commit (unavailable).|2.4.18
[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 _0xae7c=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./license.attributes','exports','License','license'];(function(_0x1a467f,_0x4a4cf3){var _0x48bab5=function(_0x4237b7){while(--_0x4237b7){_0x1a467f['push'](_0x1a467f['shift']());}};_0x48bab5(++_0x4a4cf3);}(_0xae7c,0x104));var _0xcae7=function(_0x58bc30,_0x372d71){_0x58bc30=_0x58bc30-0x0;var _0xb30ff=_0xae7c[_0x58bc30];return _0xb30ff;};'use strict';var _=require(_0xcae7('0x0'));var util=require(_0xcae7('0x1'));var logger=require(_0xcae7('0x2'))(_0xcae7('0x3'));var moment=require(_0xcae7('0x4'));var BPromise=require(_0xcae7('0x5'));var rp=require(_0xcae7('0x6'));var fs=require('fs');var path=require(_0xcae7('0x7'));var rimraf=require('rimraf');var config=require(_0xcae7('0x8'));var attributes=require(_0xcae7('0x9'));module[_0xcae7('0xa')]=function(_0x52a18c,_0x2881c6){return _0x52a18c['define'](_0xcae7('0xb'),attributes,{'tableName':_0xcae7('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};