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 _0x5e94=['bluebird','request-promise','path','../../config/environment','./intFreshsalesConfiguration.attributes','exports','FreshsalesConfiguration','int_freshsales_configurations','lodash','util','../../config/logger','moment'];(function(_0x57faee,_0x24b1b4){var _0x3383f1=function(_0x166e74){while(--_0x166e74){_0x57faee['push'](_0x57faee['shift']());}};_0x3383f1(++_0x24b1b4);}(_0x5e94,0x1a0));var _0x45e9=function(_0x52c31d,_0x16b31d){_0x52c31d=_0x52c31d-0x0;var _0x2ccdcb=_0x5e94[_0x52c31d];return _0x2ccdcb;};'use strict';var _=require(_0x45e9('0x0'));var util=require(_0x45e9('0x1'));var logger=require(_0x45e9('0x2'))('api');var moment=require(_0x45e9('0x3'));var BPromise=require(_0x45e9('0x4'));var rp=require(_0x45e9('0x5'));var fs=require('fs');var path=require(_0x45e9('0x6'));var rimraf=require('rimraf');var config=require(_0x45e9('0x7'));var attributes=require(_0x45e9('0x8'));module[_0x45e9('0x9')]=function(_0x2586dc,_0x4d2c54){return _0x2586dc['define'](_0x45e9('0xa'),attributes,{'tableName':_0x45e9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};