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 _0x7e26=['path','rimraf','exports','FreshsalesConfiguration','lodash','util','../../config/logger','bluebird'];(function(_0x39692f,_0xf32aeb){var _0x228923=function(_0x268ff3){while(--_0x268ff3){_0x39692f['push'](_0x39692f['shift']());}};_0x228923(++_0xf32aeb);}(_0x7e26,0x164));var _0x67e2=function(_0x26ddbd,_0x2bee79){_0x26ddbd=_0x26ddbd-0x0;var _0x206719=_0x7e26[_0x26ddbd];return _0x206719;};'use strict';var _=require(_0x67e2('0x0'));var util=require(_0x67e2('0x1'));var logger=require(_0x67e2('0x2'))('api');var moment=require('moment');var BPromise=require(_0x67e2('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x67e2('0x4'));var rimraf=require(_0x67e2('0x5'));var config=require('../../config/environment');var attributes=require('./intFreshsalesConfiguration.attributes');module[_0x67e2('0x6')]=function(_0x37c7c7,_0x243030){return _0x37c7c7['define'](_0x67e2('0x7'),attributes,{'tableName':'int_freshsales_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};