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 _0xf71d=['bluebird','request-promise','path','rimraf','./intFreshsalesConfiguration.attributes','FreshsalesConfiguration','int_freshsales_configurations','util','api','moment'];(function(_0x27e0ec,_0x322aa0){var _0x2afec6=function(_0x4e6df7){while(--_0x4e6df7){_0x27e0ec['push'](_0x27e0ec['shift']());}};_0x2afec6(++_0x322aa0);}(_0xf71d,0xf7));var _0xdf71=function(_0x4b4f24,_0x5654a8){_0x4b4f24=_0x4b4f24-0x0;var _0x1c13d4=_0xf71d[_0x4b4f24];return _0x1c13d4;};'use strict';var _=require('lodash');var util=require(_0xdf71('0x0'));var logger=require('../../config/logger')(_0xdf71('0x1'));var moment=require(_0xdf71('0x2'));var BPromise=require(_0xdf71('0x3'));var rp=require(_0xdf71('0x4'));var fs=require('fs');var path=require(_0xdf71('0x5'));var rimraf=require(_0xdf71('0x6'));var config=require('../../config/environment');var attributes=require(_0xdf71('0x7'));module['exports']=function(_0x4be3e9,_0x370e9e){return _0x4be3e9['define'](_0xdf71('0x8'),attributes,{'tableName':_0xdf71('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};