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 _0x26b6=['path','rimraf','./intFreshsalesConfiguration.attributes','exports','lodash','../../config/logger','api','bluebird','request-promise'];(function(_0x3f6a5c,_0x3633ad){var _0x47429e=function(_0x72c052){while(--_0x72c052){_0x3f6a5c['push'](_0x3f6a5c['shift']());}};_0x47429e(++_0x3633ad);}(_0x26b6,0x9d));var _0x626b=function(_0x1dcd51,_0x4b7289){_0x1dcd51=_0x1dcd51-0x0;var _0x251374=_0x26b6[_0x1dcd51];return _0x251374;};'use strict';var _=require(_0x626b('0x0'));var util=require('util');var logger=require(_0x626b('0x1'))(_0x626b('0x2'));var moment=require('moment');var BPromise=require(_0x626b('0x3'));var rp=require(_0x626b('0x4'));var fs=require('fs');var path=require(_0x626b('0x5'));var rimraf=require(_0x626b('0x6'));var config=require('../../config/environment');var attributes=require(_0x626b('0x7'));module[_0x626b('0x8')]=function(_0x30dfd0,_0x1b18be){return _0x30dfd0['define']('FreshsalesConfiguration',attributes,{'tableName':'int_freshsales_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};