1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xb955=['rimraf','exports','define','license','api','request-promise','path'];(function(_0x37ae76,_0x38dd76){var _0xb5a920=function(_0x5a550b){while(--_0x5a550b){_0x37ae76['push'](_0x37ae76['shift']());}};_0xb5a920(++_0x38dd76);}(_0xb955,0x131));var _0x5b95=function(_0x589128,_0x1442e9){_0x589128=_0x589128-0x0;var _0xe0b932=_0xb955[_0x589128];return _0xe0b932;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x5b95('0x0'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5b95('0x1'));var fs=require('fs');var path=require(_0x5b95('0x2'));var rimraf=require(_0x5b95('0x3'));var config=require('../../config/environment');var attributes=require('./license.attributes');module[_0x5b95('0x4')]=function(_0x24f478,_0x2a3d4b){return _0x24f478[_0x5b95('0x5')]('License',attributes,{'tableName':_0x5b95('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};