Built motion from commit 10af8726.|2.6.34
[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 _0x0972=['lodash','util','api','bluebird','request-promise','rimraf','../../config/environment','./license.attributes','exports','License','license'];(function(_0x51ed62,_0x574379){var _0x34aee3=function(_0x2958bc){while(--_0x2958bc){_0x51ed62['push'](_0x51ed62['shift']());}};_0x34aee3(++_0x574379);}(_0x0972,0xb0));var _0x2097=function(_0x11c11e,_0x576461){_0x11c11e=_0x11c11e-0x0;var _0x38e1af=_0x0972[_0x11c11e];return _0x38e1af;};'use strict';var _=require(_0x2097('0x0'));var util=require(_0x2097('0x1'));var logger=require('../../config/logger')(_0x2097('0x2'));var moment=require('moment');var BPromise=require(_0x2097('0x3'));var rp=require(_0x2097('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2097('0x5'));var config=require(_0x2097('0x6'));var attributes=require(_0x2097('0x7'));module[_0x2097('0x8')]=function(_0x4dc6a6,_0x58fb0e){return _0x4dc6a6['define'](_0x2097('0x9'),attributes,{'tableName':_0x2097('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};