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 _0xce8f=['define','FreshsalesAccount','int_freshsales_accounts','lodash','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration','exports'];(function(_0x29b59d,_0xbf83f){var _0x15f48b=function(_0x8debe8){while(--_0x8debe8){_0x29b59d['push'](_0x29b59d['shift']());}};_0x15f48b(++_0xbf83f);}(_0xce8f,0x17c));var _0xfce8=function(_0x5b2544,_0x10be79){_0x5b2544=_0x5b2544-0x0;var _0x289d42=_0xce8f[_0x5b2544];return _0x289d42;};'use strict';var _=require(_0xfce8('0x0'));var util=require('util');var logger=require(_0xfce8('0x1'))('api');var moment=require(_0xfce8('0x2'));var BPromise=require(_0xfce8('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfce8('0x4'));var rimraf=require(_0xfce8('0x5'));var config=require(_0xfce8('0x6'));var attributes=require(_0xfce8('0x7'));var integrations=require(_0xfce8('0x8'));module[_0xfce8('0x9')]=function(_0x4ff964,_0x557a29){return _0x4ff964[_0xfce8('0xa')](_0xfce8('0xb'),attributes,{'tableName':_0xfce8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};