Built motion from commit d5e4af8c.|2.6.23
[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 _0x800f=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./license.attributes','exports','License','license'];(function(_0x2c770a,_0x39607a){var _0x3424ba=function(_0x2b1f63){while(--_0x2b1f63){_0x2c770a['push'](_0x2c770a['shift']());}};_0x3424ba(++_0x39607a);}(_0x800f,0xdd));var _0xf800=function(_0x3f6aab,_0x500c95){_0x3f6aab=_0x3f6aab-0x0;var _0xf7a8a4=_0x800f[_0x3f6aab];return _0xf7a8a4;};'use strict';var _=require(_0xf800('0x0'));var util=require(_0xf800('0x1'));var logger=require(_0xf800('0x2'))(_0xf800('0x3'));var moment=require(_0xf800('0x4'));var BPromise=require(_0xf800('0x5'));var rp=require(_0xf800('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf800('0x7'));var config=require(_0xf800('0x8'));var attributes=require(_0xf800('0x9'));module[_0xf800('0xa')]=function(_0x4ffbf4,_0x25f2fc){return _0x4ffbf4['define'](_0xf800('0xb'),attributes,{'tableName':_0xf800('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};