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 _0x28a6=['lodash','util','../../config/logger','api','request-promise','path','rimraf','../../components/integrations/configuration','exports','define','SugarcrmAccount'];(function(_0x33418d,_0x2aaedc){var _0x363ce2=function(_0x1b7ecd){while(--_0x1b7ecd){_0x33418d['push'](_0x33418d['shift']());}};_0x363ce2(++_0x2aaedc);}(_0x28a6,0x8f));var _0x628a=function(_0x1d70db,_0x142b63){_0x1d70db=_0x1d70db-0x0;var _0x3060c6=_0x28a6[_0x1d70db];return _0x3060c6;};'use strict';var _=require(_0x628a('0x0'));var util=require(_0x628a('0x1'));var logger=require(_0x628a('0x2'))(_0x628a('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x628a('0x4'));var fs=require('fs');var path=require(_0x628a('0x5'));var rimraf=require(_0x628a('0x6'));var config=require('../../config/environment');var attributes=require('./intSugarcrmAccount.attributes');var integrations=require(_0x628a('0x7'));module[_0x628a('0x8')]=function(_0x31b69f,_0x1f4e2d){return _0x31b69f[_0x628a('0x9')](_0x628a('0xa'),attributes,{'tableName':'int_sugarcrm_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};