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 _0x4333=['../../components/integrations/configuration','exports','define','SugarcrmAccount','int_sugarcrm_accounts','util','../../config/logger','moment','path'];(function(_0x287eb8,_0x11e46d){var _0x2216d9=function(_0x29af1b){while(--_0x29af1b){_0x287eb8['push'](_0x287eb8['shift']());}};_0x2216d9(++_0x11e46d);}(_0x4333,0x1eb));var _0x3433=function(_0x5a776b,_0x46f785){_0x5a776b=_0x5a776b-0x0;var _0xbbef59=_0x4333[_0x5a776b];return _0xbbef59;};'use strict';var _=require('lodash');var util=require(_0x3433('0x0'));var logger=require(_0x3433('0x1'))('api');var moment=require(_0x3433('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x3433('0x3'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intSugarcrmAccount.attributes');var integrations=require(_0x3433('0x4'));module[_0x3433('0x5')]=function(_0x583276,_0x193de8){return _0x583276[_0x3433('0x6')](_0x3433('0x7'),attributes,{'tableName':_0x3433('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};