ac03fad268f48e1c8c565d61c5a49e5115e8246e
[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 _0xfe96=['define','License','license','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./license.attributes','exports'];(function(_0x35cfcd,_0x388f3e){var _0x47819a=function(_0x31ef78){while(--_0x31ef78){_0x35cfcd['push'](_0x35cfcd['shift']());}};_0x47819a(++_0x388f3e);}(_0xfe96,0x107));var _0x6fe9=function(_0x9fb3d9,_0x19a3be){_0x9fb3d9=_0x9fb3d9-0x0;var _0xcd3a61=_0xfe96[_0x9fb3d9];return _0xcd3a61;};'use strict';var _=require(_0x6fe9('0x0'));var util=require(_0x6fe9('0x1'));var logger=require(_0x6fe9('0x2'))('api');var moment=require('moment');var BPromise=require(_0x6fe9('0x3'));var rp=require(_0x6fe9('0x4'));var fs=require('fs');var path=require(_0x6fe9('0x5'));var rimraf=require(_0x6fe9('0x6'));var config=require(_0x6fe9('0x7'));var attributes=require(_0x6fe9('0x8'));module[_0x6fe9('0x9')]=function(_0x2a64ba,_0x41aed3){return _0x2a64ba[_0x6fe9('0xa')](_0x6fe9('0xb'),attributes,{'tableName':_0x6fe9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};