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 _0x1bca=['FreshsalesConfiguration','int_freshsales_configurations','util','moment','request-promise','path','rimraf','./intFreshsalesConfiguration.attributes','exports'];(function(_0x4c5cf3,_0x2d608e){var _0x1eee77=function(_0x1577ff){while(--_0x1577ff){_0x4c5cf3['push'](_0x4c5cf3['shift']());}};_0x1eee77(++_0x2d608e);}(_0x1bca,0xb6));var _0xa1bc=function(_0x582a25,_0x20f53e){_0x582a25=_0x582a25-0x0;var _0x13cfa2=_0x1bca[_0x582a25];return _0x13cfa2;};'use strict';var _=require('lodash');var util=require(_0xa1bc('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xa1bc('0x1'));var BPromise=require('bluebird');var rp=require(_0xa1bc('0x2'));var fs=require('fs');var path=require(_0xa1bc('0x3'));var rimraf=require(_0xa1bc('0x4'));var config=require('../../config/environment');var attributes=require(_0xa1bc('0x5'));module[_0xa1bc('0x6')]=function(_0x168b44,_0x268ced){return _0x168b44['define'](_0xa1bc('0x7'),attributes,{'tableName':_0xa1bc('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};