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 _0x3ed4=['api','path','rimraf','../../config/environment','define','SugarcrmAccount','int_sugarcrm_accounts','lodash','../../config/logger'];(function(_0x50aa2e,_0xfbd6f0){var _0x5e07f0=function(_0x3ed540){while(--_0x3ed540){_0x50aa2e['push'](_0x50aa2e['shift']());}};_0x5e07f0(++_0xfbd6f0);}(_0x3ed4,0xdf));var _0x43ed=function(_0x1cab2b,_0x2f05fa){_0x1cab2b=_0x1cab2b-0x0;var _0x59a640=_0x3ed4[_0x1cab2b];return _0x59a640;};'use strict';var _=require(_0x43ed('0x0'));var util=require('util');var logger=require(_0x43ed('0x1'))(_0x43ed('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x43ed('0x3'));var rimraf=require(_0x43ed('0x4'));var config=require(_0x43ed('0x5'));var attributes=require('./intSugarcrmAccount.attributes');var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x407a0e,_0xb3c745){return _0x407a0e[_0x43ed('0x6')](_0x43ed('0x7'),attributes,{'tableName':_0x43ed('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};