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 _0x1bec=['request-promise','path','../../config/environment','./license.attributes','exports','define','License','license','../../config/logger','moment','bluebird'];(function(_0x22226f,_0x54d18c){var _0x37efa8=function(_0x5c2ba1){while(--_0x5c2ba1){_0x22226f['push'](_0x22226f['shift']());}};_0x37efa8(++_0x54d18c);}(_0x1bec,0x168));var _0xc1be=function(_0xffa198,_0x5a8940){_0xffa198=_0xffa198-0x0;var _0x1e4b50=_0x1bec[_0xffa198];return _0x1e4b50;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xc1be('0x0'))('api');var moment=require(_0xc1be('0x1'));var BPromise=require(_0xc1be('0x2'));var rp=require(_0xc1be('0x3'));var fs=require('fs');var path=require(_0xc1be('0x4'));var rimraf=require('rimraf');var config=require(_0xc1be('0x5'));var attributes=require(_0xc1be('0x6'));module[_0xc1be('0x7')]=function(_0x24eb44,_0x2b0158){return _0x24eb44[_0xc1be('0x8')](_0xc1be('0x9'),attributes,{'tableName':_0xc1be('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};